porffor 0.57.15 → 0.57.17
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/README.md +2 -2
- package/compiler/assemble.js +1 -1
- package/compiler/builtins/_internal_object.ts +10 -113
- package/compiler/builtins_precompiled.js +21 -21
- package/compiler/codegen.js +1 -1
- package/compiler/disassemble.js +3 -2
- package/compiler/pgo.js +2 -2
- package/compiler/precompile.js +8 -2
- package/foo.js +1 -0
- package/package.json +1 -1
- package/runtime/index.js +6 -14
- package/runtime/profile.js +248 -0
- package/runtime/flamegraph.js +0 -203
- package/runtime/hotlines.js +0 -71
package/README.md
CHANGED
@@ -40,9 +40,9 @@ Expect nothing to work! Only very limited JS is currently supported. See files i
|
|
40
40
|
|
41
41
|
### Profiling a JS file
|
42
42
|
> [!WARNING]
|
43
|
-
>
|
43
|
+
> Experimental WIP feature!
|
44
44
|
|
45
|
-
**`porf
|
45
|
+
**`porf profile path/to/script.js`**
|
46
46
|
|
47
47
|
### Debugging a JS file
|
48
48
|
> [!WARNING]
|
package/compiler/assemble.js
CHANGED
@@ -66,7 +66,7 @@ export default (funcs, globals, tags, pages, data, noTreeshake = false) => {
|
|
66
66
|
|
67
67
|
let importFuncs = [], importDelta = 0;
|
68
68
|
if (!Prefs.treeshakeWasmImports || noTreeshake) {
|
69
|
-
importFuncs = importedFuncs;
|
69
|
+
importFuncs = Array.from(importedFuncs);
|
70
70
|
} else {
|
71
71
|
let imports = new Map();
|
72
72
|
|
@@ -28,16 +28,17 @@ export const __Porffor_object_hash = (key: any): i32 => {
|
|
28
28
|
// bytestring or string, fnv-1a hash (custom variant)
|
29
29
|
// todo/opt: custom wasm simd variant?
|
30
30
|
// todo/opt: pgo for if no hash collisions?
|
31
|
+
// todo: bytestring/string symmetric hashing
|
31
32
|
|
32
33
|
let ptr: i32 = Porffor.wasm`local.get ${key}`;
|
33
34
|
const len: i32 = Porffor.wasm.i32.load(key, 0, 0);
|
34
35
|
|
35
36
|
let hash: i32 = (2166136261 ^ len) * 16777619;
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
37
|
+
|
38
|
+
// chunks of 8 bytes via i64.load
|
39
|
+
const endPtr: i32 = ptr + len - 8;
|
40
|
+
for (; ptr <= endPtr; ptr += 8) {
|
41
|
+
Porffor.wasm`
|
41
42
|
local x i64
|
42
43
|
local.get ${ptr}
|
43
44
|
i64.load 0 4
|
@@ -59,10 +60,10 @@ i32.const 16777619
|
|
59
60
|
i32.mul
|
60
61
|
|
61
62
|
local.set ${hash}`;
|
62
|
-
|
63
|
+
}
|
63
64
|
|
64
|
-
|
65
|
-
|
65
|
+
// remaining 0-7 bytes via i64.load and bitwise
|
66
|
+
Porffor.wasm`
|
66
67
|
local.get ${ptr}
|
67
68
|
i64.load 0 4
|
68
69
|
|
@@ -94,111 +95,7 @@ i32.wrap_i64
|
|
94
95
|
i32.xor
|
95
96
|
i32.const 16777619
|
96
97
|
i32.mul
|
97
|
-
|
98
|
-
local.set ${hash}`;
|
99
|
-
} else {
|
100
|
-
// slow path: string, process like bytestring
|
101
|
-
// skips 1 byte per char but we want collisions (false positives) instead of lack there of
|
102
|
-
// 4x 16 chars (u64): 0x0012003400560078
|
103
|
-
// 4x 8 chars (u32): 0x12345678
|
104
|
-
// todo: this doesn't work?
|
105
|
-
|
106
|
-
const endPtr: i32 = ptr + len * 2 - 8;
|
107
|
-
for (; ptr <= endPtr; ptr += 8) {
|
108
|
-
Porffor.wasm`
|
109
|
-
local.get ${ptr}
|
110
|
-
i64.load 0 4
|
111
|
-
local.set x
|
112
|
-
|
113
|
-
local.get ${hash}
|
114
|
-
local.get x
|
115
|
-
i64.const 48
|
116
|
-
i64.shr_u
|
117
|
-
i64.const 255
|
118
|
-
i64.and
|
119
|
-
i64.const 24
|
120
|
-
i64.shl
|
121
|
-
local.get x
|
122
|
-
i64.const 32
|
123
|
-
i64.shr_u
|
124
|
-
i64.const 255
|
125
|
-
i64.and
|
126
|
-
i64.const 16
|
127
|
-
i64.shl
|
128
|
-
i64.or
|
129
|
-
local.get x
|
130
|
-
i64.const 16
|
131
|
-
i64.shr_u
|
132
|
-
i64.const 255
|
133
|
-
i64.and
|
134
|
-
i64.const 8
|
135
|
-
i64.shl
|
136
|
-
i64.or
|
137
|
-
local.get x
|
138
|
-
i64.const 255
|
139
|
-
i64.and
|
140
|
-
i64.or
|
141
|
-
i32.wrap_i64
|
142
|
-
i32.xor
|
143
|
-
i32.const 16777619
|
144
|
-
i32.mul
|
145
|
-
local.set ${hash}`;
|
146
|
-
}
|
147
|
-
|
148
|
-
// remaining 0-7 bytes via i64.load and bitwise
|
149
|
-
Porffor.wasm`
|
150
|
-
local.get ${ptr}
|
151
|
-
i64.load 0 4
|
152
|
-
|
153
|
-
local.get ${ptr}
|
154
|
-
local.get ${endPtr}
|
155
|
-
i32.sub
|
156
|
-
i32.const 8
|
157
|
-
i32.mul
|
158
|
-
i64.extend_i32_u
|
159
|
-
local.tee shift
|
160
|
-
|
161
|
-
i64.shl
|
162
|
-
local.get shift
|
163
|
-
i64.shr_u
|
164
|
-
local.set x
|
165
|
-
|
166
|
-
local.get ${hash}
|
167
|
-
local.get x
|
168
|
-
i64.const 48
|
169
|
-
i64.shr_u
|
170
|
-
i64.const 255
|
171
|
-
i64.and
|
172
|
-
i64.const 24
|
173
|
-
i64.shl
|
174
|
-
local.get x
|
175
|
-
i64.const 32
|
176
|
-
i64.shr_u
|
177
|
-
i64.const 255
|
178
|
-
i64.and
|
179
|
-
i64.const 16
|
180
|
-
i64.shl
|
181
|
-
i64.or
|
182
|
-
local.get x
|
183
|
-
i64.const 16
|
184
|
-
i64.shr_u
|
185
|
-
i64.const 255
|
186
|
-
i64.and
|
187
|
-
i64.const 8
|
188
|
-
i64.shl
|
189
|
-
i64.or
|
190
|
-
local.get x
|
191
|
-
i64.const 255
|
192
|
-
i64.and
|
193
|
-
i64.or
|
194
|
-
i32.wrap_i64
|
195
|
-
i32.xor
|
196
|
-
i32.const 16777619
|
197
|
-
i32.mul
|
198
|
-
local.set ${hash}`;
|
199
|
-
}
|
200
|
-
|
201
|
-
return hash;
|
98
|
+
return`;
|
202
99
|
};
|
203
100
|
|
204
101
|
export const __Porffor_object_writeKey = (ptr: i32, key: any, hash: i32): void => {
|
@@ -868,50 +868,50 @@ params:[124,127],typedParams:1,returns:[124,127],
|
|
868
868
|
locals:[],localNames:["_this","_this#type"],
|
869
869
|
}
|
870
870
|
this.__Porffor_printString = {
|
871
|
-
wasm:()=>[[32,0],[33,2],[32,1],[184],[68,195],[97],[4,64],[32,2],[32,0],[252,3],[40,1,0],[184],[160],[33,3],[3,64],[32,2],[32,3],[99],[4,64],[32,2],[32,2],[68,1],[160],[33,2],[252,2],[45,0,4],[183],[16,
|
871
|
+
wasm:(_,{builtin})=>[[32,0],[33,2],[32,1],[184],[68,195],[97],[4,64],[32,2],[32,0],[252,3],[40,1,0],[184],[160],[33,3],[3,64],[32,2],[32,3],[99],[4,64],[32,2],[32,2],[68,1],[160],[33,2],[252,2],[45,0,4],[183],[16,builtin('printChar')],[12,1],[11],[11],[5],[32,2],[32,0],[252,3],[40,1,0],[184],[68,2],[162],[160],[33,3],[3,64],[32,2],[32,3],[99],[4,64],[32,2],[252,2],[47,0,4],[183],[16,builtin('printChar')],[32,2],[68,2],[160],[33,2],[12,1],[11],[11],[11],[68,0],[65,128,1],[15]],
|
872
872
|
params:[124,127],typedParams:1,returns:[124,127],
|
873
873
|
locals:[124,124],localNames:["arg","arg#type","ptr","end"],
|
874
874
|
usesImports:1,
|
875
875
|
}
|
876
876
|
this.__Porffor_printHexDigit = {
|
877
|
-
wasm:()=>[[32,0],[33,2],[65,1],[33,3],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,2],[68,15],[97],[13,0],[32,2],[68,14],[97],[13,1],[32,2],[68,13],[97],[13,2],[32,2],[68,12],[97],[13,3],[32,2],[68,11],[97],[13,4],[32,2],[68,10],[97],[13,5],[12,6],[11],[68,102],[16,
|
877
|
+
wasm:(_,{builtin})=>[[32,0],[33,2],[65,1],[33,3],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[2,64],[32,2],[68,15],[97],[13,0],[32,2],[68,14],[97],[13,1],[32,2],[68,13],[97],[13,2],[32,2],[68,12],[97],[13,3],[32,2],[68,11],[97],[13,4],[32,2],[68,10],[97],[13,5],[12,6],[11],[68,102],[16,builtin('printChar')],[68,0],[65,128,1],[15],[26],[11],[68,101],[16,builtin('printChar')],[68,0],[65,128,1],[15],[26],[11],[68,100],[16,builtin('printChar')],[68,0],[65,128,1],[15],[26],[11],[68,99],[16,builtin('printChar')],[68,0],[65,128,1],[15],[26],[11],[68,98],[16,builtin('printChar')],[68,0],[65,128,1],[15],[26],[11],[68,97],[16,builtin('printChar')],[68,0],[65,128,1],[15],[26],[11],[32,0],[16,builtin('print')],[11],[68,0],[65,128,1],[15]],
|
878
878
|
params:[124,127],typedParams:1,returns:[124,127],
|
879
879
|
locals:[124,127],localNames:["arg","arg#type","#switch_95","#switch_95#type"],
|
880
880
|
usesImports:1,
|
881
881
|
}
|
882
882
|
this.__Porffor_numberLog = {
|
883
|
-
wasm:()=>[[32,0],[16,
|
883
|
+
wasm:(_,{builtin})=>[[32,0],[16,builtin('print')],[68,10],[16,builtin('printChar')],[68,0],[65,128,1],[15]],
|
884
884
|
params:[124,127],typedParams:1,returns:[124,127],
|
885
885
|
locals:[],localNames:["arg","arg#type"],
|
886
886
|
usesImports:1,
|
887
887
|
}
|
888
888
|
this.__Porffor_miniLog = {
|
889
|
-
wasm:(_,{t,builtin,internalThrow})=>[[32,1],[33,2],[2,64],...t([1],()=>[[32,2],[65,1],[70],[4,64],[32,0],[16,
|
889
|
+
wasm:(_,{t,builtin,internalThrow})=>[[32,1],[33,2],[2,64],...t([1],()=>[[32,2],[65,1],[70],[4,64],[32,0],[16,builtin('print')],[12,1],[11]]),...t([2],()=>[[32,2],[65,2],[70],[4,64],[32,0],[33,3],[32,1],[33,4],[2,127],...t([67,195],()=>[[32,4],[65,195,0],[70],[32,4],[65,195,1],[70],[114],[4,64],[32,3],[252,3],[40,1,0],[12,1],[11]]),[32,3],[252,3],[11],[4,64],[68,116],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,117],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[5],[68,102],[16,builtin('printChar')],[68,97],[16,builtin('printChar')],[68,108],[16,builtin('printChar')],[68,115],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[11],[12,1],[11]]),...t([195,67],()=>[[32,2],[65,195,1],[70],[32,2],[65,195,0],[70],[114],[4,64],[68,39],[16,builtin('printChar')],[32,0],[32,1],[16,builtin('__Porffor_printString')],[33,5],[26],[68,39],[16,builtin('printChar')],[12,1],[11]]),...t([72],()=>[[32,2],[65,200,0],[70],[4,64],[32,0],[252,3],[40,1,0],[184],[68,1],[161],[34,6],[68,-1],[97],[4,64],[68,91],[16,builtin('printChar')],[68,93],[16,builtin('printChar')],[5],[68,91],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,0],[33,7],[3,64],[32,7],[32,6],[101],[4,64],[2,64],[32,7],[33,9],[32,0],[33,8],[32,1],[33,4],[2,124],...t([67],()=>[[32,4],[65,195,0],[70],[4,64],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,10],[65,1],[54,0,0],[32,10],[32,9],[252,3],[65,2],[108],[32,8],[252,3],[106],[47,0,4],[59,0,4],[32,10],[184],[65,195,0],[33,5],[12,1],[11]]),...t([72],()=>[[32,4],[65,200,0],[70],[4,64],[32,9],[252,3],[65,9],[108],[32,8],[252,3],[106],[34,11],[43,0,4],[32,11],[45,0,12],[33,5],[12,1],[11]]),...t([80],()=>[[32,4],[65,208,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[106],[45,0,4],[184],[65,1],[33,5],[12,1],[11]]),...t([81],()=>[[32,4],[65,209,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[106],[45,0,4],[184],[65,1],[33,5],[12,1],[11]]),...t([82],()=>[[32,4],[65,210,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[106],[44,0,4],[183],[65,1],[33,5],[12,1],[11]]),...t([83],()=>[[32,4],[65,211,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,2],[108],[106],[47,0,4],[184],[65,1],[33,5],[12,1],[11]]),...t([84],()=>[[32,4],[65,212,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,2],[108],[106],[46,0,4],[183],[65,1],[33,5],[12,1],[11]]),...t([85],()=>[[32,4],[65,213,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,4],[108],[106],[40,0,4],[184],[65,1],[33,5],[12,1],[11]]),...t([86],()=>[[32,4],[65,214,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,4],[108],[106],[40,0,4],[183],[65,1],[33,5],[12,1],[11]]),...t([87],()=>[[32,4],[65,215,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,8],[108],[106],[41,0,4],[16,builtin('__Porffor_bigint_fromU64')],[65,4],[33,5],[12,1],[11]]),...t([88],()=>[[32,4],[65,216,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,8],[108],[106],[41,0,4],[16,builtin('__Porffor_bigint_fromS64')],[65,4],[33,5],[12,1],[11]]),...t([89],()=>[[32,4],[65,217,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,4],[108],[106],[42,0,4],[187],[65,1],[33,5],[12,1],[11]]),...t([90],()=>[[32,4],[65,218,0],[70],[4,64],[32,8],[252,3],[40,0,4],[32,9],[252,3],[65,8],[108],[106],[43,0,4],[65,1],[33,5],[12,1],[11]]),...t([128],()=>[[32,4],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot read property of undefined`),[68,0],[12,1],[11]]),...t([195],()=>[[32,4],[65,195,1],[70],[4,64],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,10],[65,1],[54,0,0],[32,10],[32,9],[252,3],[32,8],[252,3],[106],[45,0,4],[58,0,4],[32,10],[184],[65,195,1],[33,5],[12,1],[11]]),[32,8],[252,2],[32,1],[32,9],[65,1],[16,builtin('__ecma262_ToPropertyKey')],[33,12],[252,2],[32,12],[16,builtin('__Porffor_object_get')],[33,5],[11],[32,5],[16,builtin('__Porffor_miniLog')],[33,5],[26],[32,7],[32,6],[98],[4,64],[68,44],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[11],[11],[32,7],[68,1],[160],[33,7],[12,1],[11],[11],[68,32],[16,builtin('printChar')],[68,93],[16,builtin('printChar')],[11],[12,1],[11]]),...t([0,128],()=>[[32,2],[65,0],[70],[32,2],[65,128,1],[70],[114],[4,64],[68,117],[16,builtin('printChar')],[68,110],[16,builtin('printChar')],[68,100],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,102],[16,builtin('printChar')],[68,105],[16,builtin('printChar')],[68,110],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,100],[16,builtin('printChar')],[12,1],[11]]),...t([7],()=>[[32,2],[65,7],[70],[4,64],[32,0],[33,3],[32,1],[33,4],[2,127],...t([67,195],()=>[[32,4],[65,195,0],[70],[32,4],[65,195,1],[70],[114],[4,64],[32,3],[252,3],[40,1,0],[12,1],[11]]),[32,3],[252,3],[11],[4,64],[68,91],[16,builtin('printChar')],[68,79],[16,builtin('printChar')],[68,98],[16,builtin('printChar')],[68,106],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,99],[16,builtin('printChar')],[68,116],[16,builtin('printChar')],[68,93],[16,builtin('printChar')],[5],[68,110],[16,builtin('printChar')],[68,117],[16,builtin('printChar')],[68,108],[16,builtin('printChar')],[68,108],[16,builtin('printChar')],[11],[12,1],[11]]),[11],[68,10],[16,builtin('printChar')],[68,0],[65,128,1],[15]],
|
890
890
|
params:[124,127],typedParams:1,returns:[124,127],
|
891
891
|
locals:[127,124,127,127,124,124,124,124,127,127,127],localNames:["arg","arg#type","#typeswitch_tmp1","#logicinner_tmp","#typeswitch_tmp2","#last_type","arrLen","i","#member_obj_96","#member_prop_96","#member_allocd","#loadArray_offset","#swap"],
|
892
892
|
usesTag:1,usesImports:1,
|
893
893
|
}
|
894
894
|
this.__Porffor_print = {
|
895
|
-
wasm:(_,{t,makeString,builtin,internalThrow})=>[[32,3],[65,128,1],[70],[4,64],[68,1],[33,2],[65,2],[33,3],[11],[32,5],[65,128,1],[70],[4,64],[68,0],[33,4],[65,1],[33,5],[11],[32,1],[33,6],[2,64],...t([1],()=>[[32,6],[65,1],[70],[4,64],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,1],[68,91],[16,1],[68,51],[16,1],[68,51],[16,1],[68,109],[16,1],[11],[32,0],[16,0],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,1],[68,91],[16,1],[68,48],[16,1],[68,109],[16,1],[11],[68,0],[65,128,1],[15],[11]]),...t([2],()=>[[32,6],[65,2],[70],[4,64],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,1],[68,91],[16,1],[68,51],[16,1],[68,51],[16,1],[68,109],[16,1],[11],[32,0],[33,7],[32,1],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,116],[16,1],[68,114],[16,1],[68,117],[16,1],[68,101],[16,1],[5],[68,102],[16,1],[68,97],[16,1],[68,108],[16,1],[68,115],[16,1],[68,101],[16,1],[11],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,1],[68,91],[16,1],[68,48],[16,1],[68,109],[16,1],[11],[68,0],[65,128,1],[15],[11]]),...t([195,67],()=>[[32,6],[65,195,1],[70],[32,6],[65,195,0],[70],[114],[4,64],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,1],[68,91],[16,1],[68,51],[16,1],[68,50],[16,1],[68,109],[16,1],[11],[68,39],[16,1],[32,0],[32,1],[16,builtin('__Porffor_printString')],[33,9],[26],[68,39],[16,1],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,1],[68,91],[16,1],[68,48],[16,1],[68,109],[16,1],[11],[68,0],[65,128,1],[15],[11]]),...t([0,128],()=>[[32,6],[65,0],[70],[32,6],[65,128,1],[70],[114],[4,64],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,1],[68,91],[16,1],[68,50],[16,1],[68,109],[16,1],[11],[68,117],[16,1],[68,110],[16,1],[68,100],[16,1],[68,101],[16,1],[68,102],[16,1],[68,105],[16,1],[68,110],[16,1],[68,101],[16,1],[68,100],[16,1],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,1],[68,91],[16,1],[68,48],[16,1],[68,109],[16,1],[11],[68,0],[65,128,1],[15],[11]]),...t([7],()=>[[32,6],[65,7],[70],[4,64],[32,0],[33,7],[32,1],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[32,0],[32,1],[16,builtin('__Object_keys')],[34,10],[252,3],[40,1,0],[184],[68,0],[97],[4,64],[68,123],[16,1],[68,125],[16,1],[68,0],[65,128,1],[15],[26],[11],[68,123],[16,1],[68,10],[16,1],[32,10],[252,3],[40,1,0],[184],[68,1],[161],[33,11],[68,0],[33,12],[3,64],[32,12],[32,11],[101],[4,64],[2,64],[32,12],[33,16],[32,10],[33,15],[32,16],[252,3],[65,9],[108],[32,15],[252,3],[106],[34,17],[43,0,4],[32,17],[45,0,12],[34,9],[33,14],[33,13],[68,0],[33,18],[3,64],[32,18],[32,4],[101],[4,64],[68,32],[16,1],[68,32],[16,1],[32,18],[68,1],[160],[33,18],[12,1],[11],[11],[32,13],[32,14],[16,builtin('__Porffor_printString')],[33,9],[26],[68,58],[16,1],[68,32],[16,1],[32,0],[252,2],[32,1],[32,13],[32,14],[16,builtin('__ecma262_ToPropertyKey')],[33,9],[252,2],[32,9],[16,builtin('__Porffor_object_get')],[34,9],[32,2],[32,3],[32,4],[68,1],[160],[65,1],[16,builtin('__Porffor_print')],[33,9],[26],[32,12],[32,11],[98],[4,64],[68,44],[16,1],[68,10],[16,1],[11],[11],[32,12],[68,1],[160],[33,12],[12,1],[11],[11],[68,10],[16,1],[68,0],[33,18],[3,64],[32,18],[32,4],[99],[4,64],[68,32],[16,1],[68,32],[16,1],[32,18],[68,1],[160],[33,18],[12,1],[11],[11],[68,125],[16,1],[5],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,1],[68,91],[16,1],[68,49],[16,1],[68,109],[16,1],[11],[68,110],[16,1],[68,117],[16,1],[68,108],[16,1],[68,108],[16,1],[11],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,1],[68,91],[16,1],[68,48],[16,1],[68,109],[16,1],[11],[68,0],[65,128,1],[15],[11]]),...t([6],()=>[[32,6],[65,6],[70],[4,64],[68,91],[16,1],[68,70],[16,1],[68,117],[16,1],[68,110],[16,1],[68,99],[16,1],[68,116],[16,1],[68,105],[16,1],[68,111],[16,1],[68,110],[16,1],[68,32],[16,1],[32,0],[252,2],[16,builtin('__Porffor_funcLut_name')],[183],[34,19],[252,3],[40,1,0],[69],[4,124],...makeString(_,"(anonymous)",1),[65,195,1],[33,9],[5],[32,19],[65,195,1],[33,9],[11],[32,9],[16,builtin('__Porffor_printString')],[33,9],[26],[68,93],[16,1],[68,0],[65,128,1],[15],[11]]),...t([10],()=>[[32,6],[65,10],[70],[4,64],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,1],[68,91],[16,1],[68,51],[16,1],[68,53],[16,1],[68,109],[16,1],[11],[32,0],[32,1],[16,builtin('__Date_prototype_toISOString')],[34,9],[16,builtin('__Porffor_printString')],[33,9],[26],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,1],[68,91],[16,1],[68,48],[16,1],[68,109],[16,1],[11],[68,0],[65,128,1],[15],[11]]),...t([5],()=>[[32,6],[65,5],[70],[4,64],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,1],[68,91],[16,1],[68,51],[16,1],[68,50],[16,1],[68,109],[16,1],[11],[32,0],[32,1],[16,builtin('__Symbol_prototype_toString')],[34,9],[16,builtin('__Porffor_printString')],[33,9],[26],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,1],[68,91],[16,1],[68,48],[16,1],[68,109],[16,1],[11],[68,0],[65,128,1],[15],[11]]),...t([72],()=>[[32,6],[65,200,0],[70],[4,64],[32,0],[32,1],[32,2],[32,3],[68,0],[65,2],[16,builtin('__Porffor_printArray')],[33,9],[26],[68,0],[65,128,1],[15],[11]]),...t([81],()=>[[32,6],[65,209,0],[70],[4,64],[68,85],[16,1],[68,105],[16,1],[68,110],[16,1],[68,116],[16,1],[68,56],[16,1],[68,65],[16,1],[68,114],[16,1],[68,114],[16,1],[68,97],[16,1],[68,121],[16,1],[32,0],[32,1],[32,2],[32,3],[68,1],[65,2],[16,builtin('__Porffor_printArray')],[33,9],[26],[68,0],[65,128,1],[15],[11]]),...t([82],()=>[[32,6],[65,210,0],[70],[4,64],[68,73],[16,1],[68,110],[16,1],[68,116],[16,1],[68,56],[16,1],[68,65],[16,1],[68,114],[16,1],[68,114],[16,1],[68,97],[16,1],[68,121],[16,1],[32,0],[32,1],[32,2],[32,3],[68,1],[65,2],[16,builtin('__Porffor_printArray')],[33,9],[26],[68,0],[65,128,1],[15],[11]]),...t([80],()=>[[32,6],[65,208,0],[70],[4,64],[68,85],[16,1],[68,105],[16,1],[68,110],[16,1],[68,116],[16,1],[68,56],[16,1],[68,67],[16,1],[68,108],[16,1],[68,97],[16,1],[68,109],[16,1],[68,112],[16,1],[68,101],[16,1],[68,100],[16,1],[68,65],[16,1],[68,114],[16,1],[68,114],[16,1],[68,97],[16,1],[68,121],[16,1],[32,0],[32,1],[32,2],[32,3],[68,1],[65,2],[16,builtin('__Porffor_printArray')],[33,9],[26],[68,0],[65,128,1],[15],[11]]),...t([83],()=>[[32,6],[65,211,0],[70],[4,64],[68,85],[16,1],[68,105],[16,1],[68,110],[16,1],[68,116],[16,1],[68,49],[16,1],[68,54],[16,1],[68,65],[16,1],[68,114],[16,1],[68,114],[16,1],[68,97],[16,1],[68,121],[16,1],[32,0],[32,1],[32,2],[32,3],[68,1],[65,2],[16,builtin('__Porffor_printArray')],[33,9],[26],[68,0],[65,128,1],[15],[11]]),...t([84],()=>[[32,6],[65,212,0],[70],[4,64],[68,73],[16,1],[68,110],[16,1],[68,116],[16,1],[68,49],[16,1],[68,54],[16,1],[68,65],[16,1],[68,114],[16,1],[68,114],[16,1],[68,97],[16,1],[68,121],[16,1],[32,0],[32,1],[32,2],[32,3],[68,1],[65,2],[16,builtin('__Porffor_printArray')],[33,9],[26],[68,0],[65,128,1],[15],[11]]),...t([85],()=>[[32,6],[65,213,0],[70],[4,64],[68,85],[16,1],[68,105],[16,1],[68,110],[16,1],[68,116],[16,1],[68,51],[16,1],[68,50],[16,1],[68,65],[16,1],[68,114],[16,1],[68,114],[16,1],[68,97],[16,1],[68,121],[16,1],[32,0],[32,1],[32,2],[32,3],[68,1],[65,2],[16,builtin('__Porffor_printArray')],[33,9],[26],[68,0],[65,128,1],[15],[11]]),...t([86],()=>[[32,6],[65,214,0],[70],[4,64],[68,73],[16,1],[68,110],[16,1],[68,116],[16,1],[68,51],[16,1],[68,50],[16,1],[68,65],[16,1],[68,114],[16,1],[68,114],[16,1],[68,97],[16,1],[68,121],[16,1],[32,0],[32,1],[32,2],[32,3],[68,1],[65,2],[16,builtin('__Porffor_printArray')],[33,9],[26],[68,0],[65,128,1],[15],[11]]),...t([89],()=>[[32,6],[65,217,0],[70],[4,64],[68,70],[16,1],[68,108],[16,1],[68,111],[16,1],[68,97],[16,1],[68,116],[16,1],[68,51],[16,1],[68,50],[16,1],[68,65],[16,1],[68,114],[16,1],[68,114],[16,1],[68,97],[16,1],[68,121],[16,1],[32,0],[32,1],[32,2],[32,3],[68,1],[65,2],[16,builtin('__Porffor_printArray')],[33,9],[26],[68,0],[65,128,1],[15],[11]]),...t([90],()=>[[32,6],[65,218,0],[70],[4,64],[68,70],[16,1],[68,108],[16,1],[68,111],[16,1],[68,97],[16,1],[68,116],[16,1],[68,54],[16,1],[68,52],[16,1],[68,65],[16,1],[68,114],[16,1],[68,114],[16,1],[68,97],[16,1],[68,121],[16,1],[32,0],[32,1],[32,2],[32,3],[68,1],[65,2],[16,builtin('__Porffor_printArray')],[33,9],[26],[68,0],[65,128,1],[15],[11]]),...t([14,13],()=>[[32,6],[65,14],[70],[32,6],[65,13],[70],[114],[4,64],[32,1],[184],[68,14],[97],[4,64],[68,83],[16,1],[68,104],[16,1],[68,97],[16,1],[68,114],[16,1],[68,101],[16,1],[68,100],[16,1],[68,65],[16,1],[68,114],[16,1],[68,114],[16,1],[68,97],[16,1],[68,121],[16,1],[68,66],[16,1],[68,117],[16,1],[68,102],[16,1],[68,102],[16,1],[68,101],[16,1],[68,114],[16,1],[5],[68,65],[16,1],[68,114],[16,1],[68,114],[16,1],[68,97],[16,1],[68,121],[16,1],[68,66],[16,1],[68,117],[16,1],[68,102],[16,1],[68,102],[16,1],[68,101],[16,1],[68,114],[16,1],[11],[68,32],[16,1],[68,123],[16,1],[68,10],[16,1],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,1],[68,91],[16,1],[68,51],[16,1],[68,52],[16,1],[68,109],[16,1],[11],[68,32],[16,1],[68,32],[16,1],[68,91],[16,1],[68,85],[16,1],[68,105],[16,1],[68,110],[16,1],[68,116],[16,1],[68,56],[16,1],[68,67],[16,1],[68,111],[16,1],[68,110],[16,1],[68,116],[16,1],[68,101],[16,1],[68,110],[16,1],[68,116],[16,1],[68,115],[16,1],[68,93],[16,1],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,1],[68,91],[16,1],[68,48],[16,1],[68,109],[16,1],[11],[68,41],[16,1],[68,58],[16,1],[68,32],[16,1],[68,60],[16,1],[68,16],[65,6],[68,0],[65,7],[32,0],[32,1],[68,0],[65,128,1],[68,0],[65,128,1],[16,builtin('Uint8Array')],[33,20],[65,209,0],[33,21],[32,20],[252,3],[40,1,0],[184],[68,1],[161],[33,22],[65,1],[33,23],[68,0],[33,12],[3,64],[32,12],[32,22],[101],[4,64],[2,64],[32,12],[33,27],[32,20],[33,26],[32,21],[33,8],[2,124],...t([67],()=>[[32,8],[65,195,0],[70],[4,64],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,28],[65,1],[54,0,0],[32,28],[32,27],[252,3],[65,2],[108],[32,26],[252,3],[106],[47,0,4],[59,0,4],[32,28],[184],[65,195,0],[33,9],[12,1],[11]]),...t([72],()=>[[32,8],[65,200,0],[70],[4,64],[32,27],[252,3],[65,9],[108],[32,26],[252,3],[106],[34,17],[43,0,4],[32,17],[45,0,12],[33,9],[12,1],[11]]),...t([80],()=>[[32,8],[65,208,0],[70],[4,64],[32,26],[252,3],[40,0,4],[32,27],[252,3],[106],[45,0,4],[184],[65,1],[33,9],[12,1],[11]]),...t([81],()=>[[32,8],[65,209,0],[70],[4,64],[32,26],[252,3],[40,0,4],[32,27],[252,3],[106],[45,0,4],[184],[65,1],[33,9],[12,1],[11]]),...t([82],()=>[[32,8],[65,210,0],[70],[4,64],[32,26],[252,3],[40,0,4],[32,27],[252,3],[106],[44,0,4],[183],[65,1],[33,9],[12,1],[11]]),...t([83],()=>[[32,8],[65,211,0],[70],[4,64],[32,26],[252,3],[40,0,4],[32,27],[252,3],[65,2],[108],[106],[47,0,4],[184],[65,1],[33,9],[12,1],[11]]),...t([84],()=>[[32,8],[65,212,0],[70],[4,64],[32,26],[252,3],[40,0,4],[32,27],[252,3],[65,2],[108],[106],[46,0,4],[183],[65,1],[33,9],[12,1],[11]]),...t([85],()=>[[32,8],[65,213,0],[70],[4,64],[32,26],[252,3],[40,0,4],[32,27],[252,3],[65,4],[108],[106],[40,0,4],[184],[65,1],[33,9],[12,1],[11]]),...t([86],()=>[[32,8],[65,214,0],[70],[4,64],[32,26],[252,3],[40,0,4],[32,27],[252,3],[65,4],[108],[106],[40,0,4],[183],[65,1],[33,9],[12,1],[11]]),...t([87],()=>[[32,8],[65,215,0],[70],[4,64],[32,26],[252,3],[40,0,4],[32,27],[252,3],[65,8],[108],[106],[41,0,4],[16,builtin('__Porffor_bigint_fromU64')],[65,4],[33,9],[12,1],[11]]),...t([88],()=>[[32,8],[65,216,0],[70],[4,64],[32,26],[252,3],[40,0,4],[32,27],[252,3],[65,8],[108],[106],[41,0,4],[16,builtin('__Porffor_bigint_fromS64')],[65,4],[33,9],[12,1],[11]]),...t([89],()=>[[32,8],[65,217,0],[70],[4,64],[32,26],[252,3],[40,0,4],[32,27],[252,3],[65,4],[108],[106],[42,0,4],[187],[65,1],[33,9],[12,1],[11]]),...t([90],()=>[[32,8],[65,218,0],[70],[4,64],[32,26],[252,3],[40,0,4],[32,27],[252,3],[65,8],[108],[106],[43,0,4],[65,1],[33,9],[12,1],[11]]),...t([128],()=>[[32,8],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot read property of undefined`),[68,0],[12,1],[11]]),...t([195],()=>[[32,8],[65,195,1],[70],[4,64],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,28],[65,1],[54,0,0],[32,28],[32,27],[252,3],[32,26],[252,3],[106],[45,0,4],[58,0,4],[32,28],[184],[65,195,1],[33,9],[12,1],[11]]),[32,26],[252,2],[32,21],[32,27],[65,1],[16,builtin('__ecma262_ToPropertyKey')],[33,29],[252,2],[32,29],[16,builtin('__Porffor_object_get')],[33,9],[11],[33,24],[32,9],[33,25],[32,24],[252,2],[65,240,1],[113],[183],[68,16],[163],[65,1],[16,builtin('__Porffor_printHexDigit')],[33,9],[26],[32,24],[252,2],[65,15],[113],[183],[65,1],[16,builtin('__Porffor_printHexDigit')],[33,9],[26],[32,12],[32,22],[98],[4,64],[68,32],[16,1],[11],[11],[32,12],[68,1],[160],[33,12],[12,1],[11],[11],[68,62],[16,1],[68,44],[16,1],[68,10],[16,1],[68,32],[16,1],[68,32],[16,1],[68,98],[16,1],[68,121],[16,1],[68,116],[16,1],[68,101],[16,1],[68,76],[16,1],[68,101],[16,1],[68,110],[16,1],[68,103],[16,1],[68,116],[16,1],[68,104],[16,1],[68,58],[16,1],[68,32],[16,1],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,1],[68,91],[16,1],[68,51],[16,1],[68,51],[16,1],[68,109],[16,1],[11],...makeString(_,"byteLength",1),[33,31],[32,0],[33,30],[32,1],[33,8],[2,124],...t([13],()=>[[32,8],[65,13],[70],[4,64],[32,30],[65,13],[16,builtin('__ArrayBuffer_prototype_byteLength$get')],[33,9],[12,1],[11]]),...t([14],()=>[[32,8],[65,14],[70],[4,64],[32,30],[65,14],[16,builtin('__SharedArrayBuffer_prototype_byteLength$get')],[33,9],[12,1],[11]]),...t([15],()=>[[32,8],[65,15],[70],[4,64],[32,30],[65,15],[16,builtin('__DataView_prototype_byteLength$get')],[33,9],[12,1],[11]]),...t([80],()=>[[32,8],[65,208,0],[70],[4,64],[32,30],[65,208,0],[16,builtin('__Uint8ClampedArray_prototype_byteLength$get')],[33,9],[12,1],[11]]),...t([81],()=>[[32,8],[65,209,0],[70],[4,64],[32,30],[65,209,0],[16,builtin('__Uint8Array_prototype_byteLength$get')],[33,9],[12,1],[11]]),...t([82],()=>[[32,8],[65,210,0],[70],[4,64],[32,30],[65,210,0],[16,builtin('__Int8Array_prototype_byteLength$get')],[33,9],[12,1],[11]]),...t([83],()=>[[32,8],[65,211,0],[70],[4,64],[32,30],[65,211,0],[16,builtin('__Uint16Array_prototype_byteLength$get')],[33,9],[12,1],[11]]),...t([84],()=>[[32,8],[65,212,0],[70],[4,64],[32,30],[65,212,0],[16,builtin('__Int16Array_prototype_byteLength$get')],[33,9],[12,1],[11]]),...t([85],()=>[[32,8],[65,213,0],[70],[4,64],[32,30],[65,213,0],[16,builtin('__Uint32Array_prototype_byteLength$get')],[33,9],[12,1],[11]]),...t([86],()=>[[32,8],[65,214,0],[70],[4,64],[32,30],[65,214,0],[16,builtin('__Int32Array_prototype_byteLength$get')],[33,9],[12,1],[11]]),...t([87],()=>[[32,8],[65,215,0],[70],[4,64],[32,30],[65,215,0],[16,builtin('__BigUint64Array_prototype_byteLength$get')],[33,9],[12,1],[11]]),...t([88],()=>[[32,8],[65,216,0],[70],[4,64],[32,30],[65,216,0],[16,builtin('__BigInt64Array_prototype_byteLength$get')],[33,9],[12,1],[11]]),...t([89],()=>[[32,8],[65,217,0],[70],[4,64],[32,30],[65,217,0],[16,builtin('__Float32Array_prototype_byteLength$get')],[33,9],[12,1],[11]]),...t([90],()=>[[32,8],[65,218,0],[70],[4,64],[32,30],[65,218,0],[16,builtin('__Float64Array_prototype_byteLength$get')],[33,9],[12,1],[11]]),...t([128],()=>[[32,8],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot read property of undefined`),[68,0],[12,1],[11]]),[32,30],[252,2],[32,1],[32,31],[252,3],[65,195,1],[16,builtin('__Porffor_object_get')],[33,9],[11],[16,0],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,1],[68,91],[16,1],[68,48],[16,1],[68,109],[16,1],[11],[68,10],[16,1],[68,125],[16,1],[68,0],[65,128,1],[15],[11]]),...t([15],()=>[[32,6],[65,15],[70],[4,64],[68,68],[16,1],[68,97],[16,1],[68,116],[16,1],[68,97],[16,1],[68,86],[16,1],[68,105],[16,1],[68,101],[16,1],[68,119],[16,1],[68,32],[16,1],[68,123],[16,1],[68,10],[16,1],[68,32],[16,1],[68,32],[16,1],[68,98],[16,1],[68,121],[16,1],[68,116],[16,1],[68,101],[16,1],[68,76],[16,1],[68,101],[16,1],[68,110],[16,1],[68,103],[16,1],[68,116],[16,1],[68,104],[16,1],[68,58],[16,1],[68,32],[16,1],[32,0],[32,1],[16,builtin('__DataView_prototype_byteLength$get')],[34,9],[32,2],[32,3],[68,0],[65,128,1],[16,builtin('__Porffor_print')],[33,9],[26],[68,44],[16,1],[68,10],[16,1],[68,32],[16,1],[68,32],[16,1],[68,98],[16,1],[68,121],[16,1],[68,116],[16,1],[68,101],[16,1],[68,79],[16,1],[68,102],[16,1],[68,102],[16,1],[68,115],[16,1],[68,101],[16,1],[68,116],[16,1],[68,58],[16,1],[68,32],[16,1],[32,0],[32,1],[16,builtin('__DataView_prototype_byteOffset$get')],[34,9],[32,2],[32,3],[68,0],[65,128,1],[16,builtin('__Porffor_print')],[33,9],[26],[68,44],[16,1],[68,10],[16,1],[68,32],[16,1],[68,32],[16,1],[68,98],[16,1],[68,117],[16,1],[68,102],[16,1],[68,102],[16,1],[68,101],[16,1],[68,114],[16,1],[68,58],[16,1],[68,32],[16,1],[32,0],[32,1],[16,builtin('__DataView_prototype_buffer$get')],[34,9],[32,2],[32,3],[68,0],[65,128,1],[16,builtin('__Porffor_print')],[33,9],[26],[68,10],[16,1],[68,125],[16,1],[68,0],[65,128,1],[15],[11]]),...t([29,12],()=>[[32,6],[65,29],[70],[32,6],[65,12],[70],[114],[4,64],[32,1],[184],[68,29],[97],[4,64],[68,87],[16,1],[68,101],[16,1],[68,97],[16,1],[68,107],[16,1],[68,77],[16,1],[68,97],[16,1],[68,112],[16,1],[5],[68,77],[16,1],[68,97],[16,1],[68,112],[16,1],[11],[68,40],[16,1],[32,0],[32,1],[16,builtin('__Map_prototype_keys')],[33,9],[34,32],[252,3],[40,1,0],[184],[68,1],[161],[34,33],[68,1],[160],[16,0],[68,41],[16,1],[68,32],[16,1],[68,123],[16,1],[68,32],[16,1],[68,0],[33,12],[3,64],[32,12],[32,33],[99],[4,64],[32,12],[33,37],[32,32],[33,36],[32,37],[252,3],[65,9],[108],[32,36],[252,3],[106],[34,17],[43,0,4],[32,17],[45,0,12],[34,9],[33,35],[34,34],[32,35],[32,2],[32,3],[68,0],[65,128,1],[16,builtin('__Porffor_print')],[33,9],[26],[68,32],[16,1],[68,61],[16,1],[68,62],[16,1],[68,32],[16,1],[32,0],[32,1],[32,34],[32,35],[16,builtin('__Map_prototype_get')],[34,9],[32,2],[32,3],[68,0],[65,128,1],[16,builtin('__Porffor_print')],[33,9],[26],[32,12],[32,33],[98],[4,64],[68,44],[16,1],[68,32],[16,1],[11],[32,12],[68,1],[160],[33,12],[12,1],[11],[11],[68,32],[16,1],[68,125],[16,1],[68,0],[65,128,1],[15],[11]]),...t([28,11],()=>[[32,6],[65,28],[70],[32,6],[65,11],[70],[114],[4,64],[32,1],[184],[68,28],[97],[4,64],[68,87],[16,1],[68,101],[16,1],[68,97],[16,1],[68,107],[16,1],[68,83],[16,1],[68,101],[16,1],[68,116],[16,1],[5],[68,83],[16,1],[68,101],[16,1],[68,116],[16,1],[11],[68,40],[16,1],[32,0],[32,1],[16,builtin('__Set_prototype_values')],[33,9],[34,38],[252,3],[40,1,0],[184],[68,1],[161],[34,39],[68,1],[160],[16,0],[68,41],[16,1],[68,32],[16,1],[68,123],[16,1],[68,32],[16,1],[68,0],[33,12],[3,64],[32,12],[32,39],[101],[4,64],[32,12],[33,41],[32,38],[33,40],[32,41],[252,3],[65,9],[108],[32,40],[252,3],[106],[34,17],[43,0,4],[32,17],[45,0,12],[34,9],[32,2],[32,3],[68,0],[65,128,1],[16,builtin('__Porffor_print')],[33,9],[26],[32,12],[32,39],[98],[4,64],[68,44],[16,1],[68,32],[16,1],[11],[32,12],[68,1],[160],[33,12],[12,1],[11],[11],[68,32],[16,1],[68,125],[16,1],[68,0],[65,128,1],[15],[11]]),...t([27],()=>[[32,6],[65,27],[70],[4,64],[68,87],[16,1],[68,101],[16,1],[68,97],[16,1],[68,107],[16,1],[68,82],[16,1],[68,101],[16,1],[68,102],[16,1],[68,32],[16,1],[68,123],[16,1],[68,125],[16,1],[68,0],[65,128,1],[15],[11]]),[11],[68,0],[65,128,1],[15]],
|
895
|
+
wasm:(_,{t,makeString,builtin,internalThrow})=>[[32,3],[65,128,1],[70],[4,64],[68,1],[33,2],[65,2],[33,3],[11],[32,5],[65,128,1],[70],[4,64],[68,0],[33,4],[65,1],[33,5],[11],[32,1],[33,6],[2,64],...t([1],()=>[[32,6],[65,1],[70],[4,64],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,builtin('printChar')],[68,91],[16,builtin('printChar')],[68,51],[16,builtin('printChar')],[68,51],[16,builtin('printChar')],[68,109],[16,builtin('printChar')],[11],[32,0],[16,builtin('print')],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,builtin('printChar')],[68,91],[16,builtin('printChar')],[68,48],[16,builtin('printChar')],[68,109],[16,builtin('printChar')],[11],[68,0],[65,128,1],[15],[11]]),...t([2],()=>[[32,6],[65,2],[70],[4,64],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,builtin('printChar')],[68,91],[16,builtin('printChar')],[68,51],[16,builtin('printChar')],[68,51],[16,builtin('printChar')],[68,109],[16,builtin('printChar')],[11],[32,0],[33,7],[32,1],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,116],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,117],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[5],[68,102],[16,builtin('printChar')],[68,97],[16,builtin('printChar')],[68,108],[16,builtin('printChar')],[68,115],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[11],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,builtin('printChar')],[68,91],[16,builtin('printChar')],[68,48],[16,builtin('printChar')],[68,109],[16,builtin('printChar')],[11],[68,0],[65,128,1],[15],[11]]),...t([195,67],()=>[[32,6],[65,195,1],[70],[32,6],[65,195,0],[70],[114],[4,64],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,builtin('printChar')],[68,91],[16,builtin('printChar')],[68,51],[16,builtin('printChar')],[68,50],[16,builtin('printChar')],[68,109],[16,builtin('printChar')],[11],[68,39],[16,builtin('printChar')],[32,0],[32,1],[16,builtin('__Porffor_printString')],[33,9],[26],[68,39],[16,builtin('printChar')],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,builtin('printChar')],[68,91],[16,builtin('printChar')],[68,48],[16,builtin('printChar')],[68,109],[16,builtin('printChar')],[11],[68,0],[65,128,1],[15],[11]]),...t([0,128],()=>[[32,6],[65,0],[70],[32,6],[65,128,1],[70],[114],[4,64],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,builtin('printChar')],[68,91],[16,builtin('printChar')],[68,50],[16,builtin('printChar')],[68,109],[16,builtin('printChar')],[11],[68,117],[16,builtin('printChar')],[68,110],[16,builtin('printChar')],[68,100],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,102],[16,builtin('printChar')],[68,105],[16,builtin('printChar')],[68,110],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,100],[16,builtin('printChar')],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,builtin('printChar')],[68,91],[16,builtin('printChar')],[68,48],[16,builtin('printChar')],[68,109],[16,builtin('printChar')],[11],[68,0],[65,128,1],[15],[11]]),...t([7],()=>[[32,6],[65,7],[70],[4,64],[32,0],[33,7],[32,1],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[32,0],[32,1],[16,builtin('__Object_keys')],[34,10],[252,3],[40,1,0],[184],[68,0],[97],[4,64],[68,123],[16,builtin('printChar')],[68,125],[16,builtin('printChar')],[68,0],[65,128,1],[15],[26],[11],[68,123],[16,builtin('printChar')],[68,10],[16,builtin('printChar')],[32,10],[252,3],[40,1,0],[184],[68,1],[161],[33,11],[68,0],[33,12],[3,64],[32,12],[32,11],[101],[4,64],[2,64],[32,12],[33,16],[32,10],[33,15],[32,16],[252,3],[65,9],[108],[32,15],[252,3],[106],[34,17],[43,0,4],[32,17],[45,0,12],[34,9],[33,14],[33,13],[68,0],[33,18],[3,64],[32,18],[32,4],[101],[4,64],[68,32],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[32,18],[68,1],[160],[33,18],[12,1],[11],[11],[32,13],[32,14],[16,builtin('__Porffor_printString')],[33,9],[26],[68,58],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[32,0],[252,2],[32,1],[32,13],[32,14],[16,builtin('__ecma262_ToPropertyKey')],[33,9],[252,2],[32,9],[16,builtin('__Porffor_object_get')],[34,9],[32,2],[32,3],[32,4],[68,1],[160],[65,1],[16,builtin('__Porffor_print')],[33,9],[26],[32,12],[32,11],[98],[4,64],[68,44],[16,builtin('printChar')],[68,10],[16,builtin('printChar')],[11],[11],[32,12],[68,1],[160],[33,12],[12,1],[11],[11],[68,10],[16,builtin('printChar')],[68,0],[33,18],[3,64],[32,18],[32,4],[99],[4,64],[68,32],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[32,18],[68,1],[160],[33,18],[12,1],[11],[11],[68,125],[16,builtin('printChar')],[5],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,builtin('printChar')],[68,91],[16,builtin('printChar')],[68,49],[16,builtin('printChar')],[68,109],[16,builtin('printChar')],[11],[68,110],[16,builtin('printChar')],[68,117],[16,builtin('printChar')],[68,108],[16,builtin('printChar')],[68,108],[16,builtin('printChar')],[11],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,builtin('printChar')],[68,91],[16,builtin('printChar')],[68,48],[16,builtin('printChar')],[68,109],[16,builtin('printChar')],[11],[68,0],[65,128,1],[15],[11]]),...t([6],()=>[[32,6],[65,6],[70],[4,64],[68,91],[16,builtin('printChar')],[68,70],[16,builtin('printChar')],[68,117],[16,builtin('printChar')],[68,110],[16,builtin('printChar')],[68,99],[16,builtin('printChar')],[68,116],[16,builtin('printChar')],[68,105],[16,builtin('printChar')],[68,111],[16,builtin('printChar')],[68,110],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[32,0],[252,2],[16,builtin('__Porffor_funcLut_name')],[183],[34,19],[252,3],[40,1,0],[69],[4,124],...makeString(_,"(anonymous)",1),[65,195,1],[33,9],[5],[32,19],[65,195,1],[33,9],[11],[32,9],[16,builtin('__Porffor_printString')],[33,9],[26],[68,93],[16,builtin('printChar')],[68,0],[65,128,1],[15],[11]]),...t([10],()=>[[32,6],[65,10],[70],[4,64],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,builtin('printChar')],[68,91],[16,builtin('printChar')],[68,51],[16,builtin('printChar')],[68,53],[16,builtin('printChar')],[68,109],[16,builtin('printChar')],[11],[32,0],[32,1],[16,builtin('__Date_prototype_toISOString')],[34,9],[16,builtin('__Porffor_printString')],[33,9],[26],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,builtin('printChar')],[68,91],[16,builtin('printChar')],[68,48],[16,builtin('printChar')],[68,109],[16,builtin('printChar')],[11],[68,0],[65,128,1],[15],[11]]),...t([5],()=>[[32,6],[65,5],[70],[4,64],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,builtin('printChar')],[68,91],[16,builtin('printChar')],[68,51],[16,builtin('printChar')],[68,50],[16,builtin('printChar')],[68,109],[16,builtin('printChar')],[11],[32,0],[32,1],[16,builtin('__Symbol_prototype_toString')],[34,9],[16,builtin('__Porffor_printString')],[33,9],[26],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,builtin('printChar')],[68,91],[16,builtin('printChar')],[68,48],[16,builtin('printChar')],[68,109],[16,builtin('printChar')],[11],[68,0],[65,128,1],[15],[11]]),...t([72],()=>[[32,6],[65,200,0],[70],[4,64],[32,0],[32,1],[32,2],[32,3],[68,0],[65,2],[16,builtin('__Porffor_printArray')],[33,9],[26],[68,0],[65,128,1],[15],[11]]),...t([81],()=>[[32,6],[65,209,0],[70],[4,64],[68,85],[16,builtin('printChar')],[68,105],[16,builtin('printChar')],[68,110],[16,builtin('printChar')],[68,116],[16,builtin('printChar')],[68,56],[16,builtin('printChar')],[68,65],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,97],[16,builtin('printChar')],[68,121],[16,builtin('printChar')],[32,0],[32,1],[32,2],[32,3],[68,1],[65,2],[16,builtin('__Porffor_printArray')],[33,9],[26],[68,0],[65,128,1],[15],[11]]),...t([82],()=>[[32,6],[65,210,0],[70],[4,64],[68,73],[16,builtin('printChar')],[68,110],[16,builtin('printChar')],[68,116],[16,builtin('printChar')],[68,56],[16,builtin('printChar')],[68,65],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,97],[16,builtin('printChar')],[68,121],[16,builtin('printChar')],[32,0],[32,1],[32,2],[32,3],[68,1],[65,2],[16,builtin('__Porffor_printArray')],[33,9],[26],[68,0],[65,128,1],[15],[11]]),...t([80],()=>[[32,6],[65,208,0],[70],[4,64],[68,85],[16,builtin('printChar')],[68,105],[16,builtin('printChar')],[68,110],[16,builtin('printChar')],[68,116],[16,builtin('printChar')],[68,56],[16,builtin('printChar')],[68,67],[16,builtin('printChar')],[68,108],[16,builtin('printChar')],[68,97],[16,builtin('printChar')],[68,109],[16,builtin('printChar')],[68,112],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,100],[16,builtin('printChar')],[68,65],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,97],[16,builtin('printChar')],[68,121],[16,builtin('printChar')],[32,0],[32,1],[32,2],[32,3],[68,1],[65,2],[16,builtin('__Porffor_printArray')],[33,9],[26],[68,0],[65,128,1],[15],[11]]),...t([83],()=>[[32,6],[65,211,0],[70],[4,64],[68,85],[16,builtin('printChar')],[68,105],[16,builtin('printChar')],[68,110],[16,builtin('printChar')],[68,116],[16,builtin('printChar')],[68,49],[16,builtin('printChar')],[68,54],[16,builtin('printChar')],[68,65],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,97],[16,builtin('printChar')],[68,121],[16,builtin('printChar')],[32,0],[32,1],[32,2],[32,3],[68,1],[65,2],[16,builtin('__Porffor_printArray')],[33,9],[26],[68,0],[65,128,1],[15],[11]]),...t([84],()=>[[32,6],[65,212,0],[70],[4,64],[68,73],[16,builtin('printChar')],[68,110],[16,builtin('printChar')],[68,116],[16,builtin('printChar')],[68,49],[16,builtin('printChar')],[68,54],[16,builtin('printChar')],[68,65],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,97],[16,builtin('printChar')],[68,121],[16,builtin('printChar')],[32,0],[32,1],[32,2],[32,3],[68,1],[65,2],[16,builtin('__Porffor_printArray')],[33,9],[26],[68,0],[65,128,1],[15],[11]]),...t([85],()=>[[32,6],[65,213,0],[70],[4,64],[68,85],[16,builtin('printChar')],[68,105],[16,builtin('printChar')],[68,110],[16,builtin('printChar')],[68,116],[16,builtin('printChar')],[68,51],[16,builtin('printChar')],[68,50],[16,builtin('printChar')],[68,65],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,97],[16,builtin('printChar')],[68,121],[16,builtin('printChar')],[32,0],[32,1],[32,2],[32,3],[68,1],[65,2],[16,builtin('__Porffor_printArray')],[33,9],[26],[68,0],[65,128,1],[15],[11]]),...t([86],()=>[[32,6],[65,214,0],[70],[4,64],[68,73],[16,builtin('printChar')],[68,110],[16,builtin('printChar')],[68,116],[16,builtin('printChar')],[68,51],[16,builtin('printChar')],[68,50],[16,builtin('printChar')],[68,65],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,97],[16,builtin('printChar')],[68,121],[16,builtin('printChar')],[32,0],[32,1],[32,2],[32,3],[68,1],[65,2],[16,builtin('__Porffor_printArray')],[33,9],[26],[68,0],[65,128,1],[15],[11]]),...t([89],()=>[[32,6],[65,217,0],[70],[4,64],[68,70],[16,builtin('printChar')],[68,108],[16,builtin('printChar')],[68,111],[16,builtin('printChar')],[68,97],[16,builtin('printChar')],[68,116],[16,builtin('printChar')],[68,51],[16,builtin('printChar')],[68,50],[16,builtin('printChar')],[68,65],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,97],[16,builtin('printChar')],[68,121],[16,builtin('printChar')],[32,0],[32,1],[32,2],[32,3],[68,1],[65,2],[16,builtin('__Porffor_printArray')],[33,9],[26],[68,0],[65,128,1],[15],[11]]),...t([90],()=>[[32,6],[65,218,0],[70],[4,64],[68,70],[16,builtin('printChar')],[68,108],[16,builtin('printChar')],[68,111],[16,builtin('printChar')],[68,97],[16,builtin('printChar')],[68,116],[16,builtin('printChar')],[68,54],[16,builtin('printChar')],[68,52],[16,builtin('printChar')],[68,65],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,97],[16,builtin('printChar')],[68,121],[16,builtin('printChar')],[32,0],[32,1],[32,2],[32,3],[68,1],[65,2],[16,builtin('__Porffor_printArray')],[33,9],[26],[68,0],[65,128,1],[15],[11]]),...t([14,13],()=>[[32,6],[65,14],[70],[32,6],[65,13],[70],[114],[4,64],[32,1],[184],[68,14],[97],[4,64],[68,83],[16,builtin('printChar')],[68,104],[16,builtin('printChar')],[68,97],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,100],[16,builtin('printChar')],[68,65],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,97],[16,builtin('printChar')],[68,121],[16,builtin('printChar')],[68,66],[16,builtin('printChar')],[68,117],[16,builtin('printChar')],[68,102],[16,builtin('printChar')],[68,102],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[5],[68,65],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,97],[16,builtin('printChar')],[68,121],[16,builtin('printChar')],[68,66],[16,builtin('printChar')],[68,117],[16,builtin('printChar')],[68,102],[16,builtin('printChar')],[68,102],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[11],[68,32],[16,builtin('printChar')],[68,123],[16,builtin('printChar')],[68,10],[16,builtin('printChar')],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,builtin('printChar')],[68,91],[16,builtin('printChar')],[68,51],[16,builtin('printChar')],[68,52],[16,builtin('printChar')],[68,109],[16,builtin('printChar')],[11],[68,32],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,91],[16,builtin('printChar')],[68,85],[16,builtin('printChar')],[68,105],[16,builtin('printChar')],[68,110],[16,builtin('printChar')],[68,116],[16,builtin('printChar')],[68,56],[16,builtin('printChar')],[68,67],[16,builtin('printChar')],[68,111],[16,builtin('printChar')],[68,110],[16,builtin('printChar')],[68,116],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,110],[16,builtin('printChar')],[68,116],[16,builtin('printChar')],[68,115],[16,builtin('printChar')],[68,93],[16,builtin('printChar')],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,builtin('printChar')],[68,91],[16,builtin('printChar')],[68,48],[16,builtin('printChar')],[68,109],[16,builtin('printChar')],[11],[68,41],[16,builtin('printChar')],[68,58],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,60],[16,builtin('printChar')],[68,16],[65,6],[68,0],[65,7],[32,0],[32,1],[68,0],[65,128,1],[68,0],[65,128,1],[16,builtin('Uint8Array')],[33,20],[65,209,0],[33,21],[32,20],[252,3],[40,1,0],[184],[68,1],[161],[33,22],[65,1],[33,23],[68,0],[33,12],[3,64],[32,12],[32,22],[101],[4,64],[2,64],[32,12],[33,27],[32,20],[33,26],[32,21],[33,8],[2,124],...t([67],()=>[[32,8],[65,195,0],[70],[4,64],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,28],[65,1],[54,0,0],[32,28],[32,27],[252,3],[65,2],[108],[32,26],[252,3],[106],[47,0,4],[59,0,4],[32,28],[184],[65,195,0],[33,9],[12,1],[11]]),...t([72],()=>[[32,8],[65,200,0],[70],[4,64],[32,27],[252,3],[65,9],[108],[32,26],[252,3],[106],[34,17],[43,0,4],[32,17],[45,0,12],[33,9],[12,1],[11]]),...t([80],()=>[[32,8],[65,208,0],[70],[4,64],[32,26],[252,3],[40,0,4],[32,27],[252,3],[106],[45,0,4],[184],[65,1],[33,9],[12,1],[11]]),...t([81],()=>[[32,8],[65,209,0],[70],[4,64],[32,26],[252,3],[40,0,4],[32,27],[252,3],[106],[45,0,4],[184],[65,1],[33,9],[12,1],[11]]),...t([82],()=>[[32,8],[65,210,0],[70],[4,64],[32,26],[252,3],[40,0,4],[32,27],[252,3],[106],[44,0,4],[183],[65,1],[33,9],[12,1],[11]]),...t([83],()=>[[32,8],[65,211,0],[70],[4,64],[32,26],[252,3],[40,0,4],[32,27],[252,3],[65,2],[108],[106],[47,0,4],[184],[65,1],[33,9],[12,1],[11]]),...t([84],()=>[[32,8],[65,212,0],[70],[4,64],[32,26],[252,3],[40,0,4],[32,27],[252,3],[65,2],[108],[106],[46,0,4],[183],[65,1],[33,9],[12,1],[11]]),...t([85],()=>[[32,8],[65,213,0],[70],[4,64],[32,26],[252,3],[40,0,4],[32,27],[252,3],[65,4],[108],[106],[40,0,4],[184],[65,1],[33,9],[12,1],[11]]),...t([86],()=>[[32,8],[65,214,0],[70],[4,64],[32,26],[252,3],[40,0,4],[32,27],[252,3],[65,4],[108],[106],[40,0,4],[183],[65,1],[33,9],[12,1],[11]]),...t([87],()=>[[32,8],[65,215,0],[70],[4,64],[32,26],[252,3],[40,0,4],[32,27],[252,3],[65,8],[108],[106],[41,0,4],[16,builtin('__Porffor_bigint_fromU64')],[65,4],[33,9],[12,1],[11]]),...t([88],()=>[[32,8],[65,216,0],[70],[4,64],[32,26],[252,3],[40,0,4],[32,27],[252,3],[65,8],[108],[106],[41,0,4],[16,builtin('__Porffor_bigint_fromS64')],[65,4],[33,9],[12,1],[11]]),...t([89],()=>[[32,8],[65,217,0],[70],[4,64],[32,26],[252,3],[40,0,4],[32,27],[252,3],[65,4],[108],[106],[42,0,4],[187],[65,1],[33,9],[12,1],[11]]),...t([90],()=>[[32,8],[65,218,0],[70],[4,64],[32,26],[252,3],[40,0,4],[32,27],[252,3],[65,8],[108],[106],[43,0,4],[65,1],[33,9],[12,1],[11]]),...t([128],()=>[[32,8],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot read property of undefined`),[68,0],[12,1],[11]]),...t([195],()=>[[32,8],[65,195,1],[70],[4,64],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,28],[65,1],[54,0,0],[32,28],[32,27],[252,3],[32,26],[252,3],[106],[45,0,4],[58,0,4],[32,28],[184],[65,195,1],[33,9],[12,1],[11]]),[32,26],[252,2],[32,21],[32,27],[65,1],[16,builtin('__ecma262_ToPropertyKey')],[33,29],[252,2],[32,29],[16,builtin('__Porffor_object_get')],[33,9],[11],[33,24],[32,9],[33,25],[32,24],[252,2],[65,240,1],[113],[183],[68,16],[163],[65,1],[16,builtin('__Porffor_printHexDigit')],[33,9],[26],[32,24],[252,2],[65,15],[113],[183],[65,1],[16,builtin('__Porffor_printHexDigit')],[33,9],[26],[32,12],[32,22],[98],[4,64],[68,32],[16,builtin('printChar')],[11],[11],[32,12],[68,1],[160],[33,12],[12,1],[11],[11],[68,62],[16,builtin('printChar')],[68,44],[16,builtin('printChar')],[68,10],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,98],[16,builtin('printChar')],[68,121],[16,builtin('printChar')],[68,116],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,76],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,110],[16,builtin('printChar')],[68,103],[16,builtin('printChar')],[68,116],[16,builtin('printChar')],[68,104],[16,builtin('printChar')],[68,58],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,builtin('printChar')],[68,91],[16,builtin('printChar')],[68,51],[16,builtin('printChar')],[68,51],[16,builtin('printChar')],[68,109],[16,builtin('printChar')],[11],...makeString(_,"byteLength",1),[33,31],[32,0],[33,30],[32,1],[33,8],[2,124],...t([13],()=>[[32,8],[65,13],[70],[4,64],[32,30],[65,13],[16,builtin('__ArrayBuffer_prototype_byteLength$get')],[33,9],[12,1],[11]]),...t([14],()=>[[32,8],[65,14],[70],[4,64],[32,30],[65,14],[16,builtin('__SharedArrayBuffer_prototype_byteLength$get')],[33,9],[12,1],[11]]),...t([15],()=>[[32,8],[65,15],[70],[4,64],[32,30],[65,15],[16,builtin('__DataView_prototype_byteLength$get')],[33,9],[12,1],[11]]),...t([80],()=>[[32,8],[65,208,0],[70],[4,64],[32,30],[65,208,0],[16,builtin('__Uint8ClampedArray_prototype_byteLength$get')],[33,9],[12,1],[11]]),...t([81],()=>[[32,8],[65,209,0],[70],[4,64],[32,30],[65,209,0],[16,builtin('__Uint8Array_prototype_byteLength$get')],[33,9],[12,1],[11]]),...t([82],()=>[[32,8],[65,210,0],[70],[4,64],[32,30],[65,210,0],[16,builtin('__Int8Array_prototype_byteLength$get')],[33,9],[12,1],[11]]),...t([83],()=>[[32,8],[65,211,0],[70],[4,64],[32,30],[65,211,0],[16,builtin('__Uint16Array_prototype_byteLength$get')],[33,9],[12,1],[11]]),...t([84],()=>[[32,8],[65,212,0],[70],[4,64],[32,30],[65,212,0],[16,builtin('__Int16Array_prototype_byteLength$get')],[33,9],[12,1],[11]]),...t([85],()=>[[32,8],[65,213,0],[70],[4,64],[32,30],[65,213,0],[16,builtin('__Uint32Array_prototype_byteLength$get')],[33,9],[12,1],[11]]),...t([86],()=>[[32,8],[65,214,0],[70],[4,64],[32,30],[65,214,0],[16,builtin('__Int32Array_prototype_byteLength$get')],[33,9],[12,1],[11]]),...t([87],()=>[[32,8],[65,215,0],[70],[4,64],[32,30],[65,215,0],[16,builtin('__BigUint64Array_prototype_byteLength$get')],[33,9],[12,1],[11]]),...t([88],()=>[[32,8],[65,216,0],[70],[4,64],[32,30],[65,216,0],[16,builtin('__BigInt64Array_prototype_byteLength$get')],[33,9],[12,1],[11]]),...t([89],()=>[[32,8],[65,217,0],[70],[4,64],[32,30],[65,217,0],[16,builtin('__Float32Array_prototype_byteLength$get')],[33,9],[12,1],[11]]),...t([90],()=>[[32,8],[65,218,0],[70],[4,64],[32,30],[65,218,0],[16,builtin('__Float64Array_prototype_byteLength$get')],[33,9],[12,1],[11]]),...t([128],()=>[[32,8],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot read property of undefined`),[68,0],[12,1],[11]]),[32,30],[252,2],[32,1],[32,31],[252,3],[65,195,1],[16,builtin('__Porffor_object_get')],[33,9],[11],[16,builtin('print')],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,27],[16,builtin('printChar')],[68,91],[16,builtin('printChar')],[68,48],[16,builtin('printChar')],[68,109],[16,builtin('printChar')],[11],[68,10],[16,builtin('printChar')],[68,125],[16,builtin('printChar')],[68,0],[65,128,1],[15],[11]]),...t([15],()=>[[32,6],[65,15],[70],[4,64],[68,68],[16,builtin('printChar')],[68,97],[16,builtin('printChar')],[68,116],[16,builtin('printChar')],[68,97],[16,builtin('printChar')],[68,86],[16,builtin('printChar')],[68,105],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,119],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,123],[16,builtin('printChar')],[68,10],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,98],[16,builtin('printChar')],[68,121],[16,builtin('printChar')],[68,116],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,76],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,110],[16,builtin('printChar')],[68,103],[16,builtin('printChar')],[68,116],[16,builtin('printChar')],[68,104],[16,builtin('printChar')],[68,58],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[32,0],[32,1],[16,builtin('__DataView_prototype_byteLength$get')],[34,9],[32,2],[32,3],[68,0],[65,128,1],[16,builtin('__Porffor_print')],[33,9],[26],[68,44],[16,builtin('printChar')],[68,10],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,98],[16,builtin('printChar')],[68,121],[16,builtin('printChar')],[68,116],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,79],[16,builtin('printChar')],[68,102],[16,builtin('printChar')],[68,102],[16,builtin('printChar')],[68,115],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,116],[16,builtin('printChar')],[68,58],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[32,0],[32,1],[16,builtin('__DataView_prototype_byteOffset$get')],[34,9],[32,2],[32,3],[68,0],[65,128,1],[16,builtin('__Porffor_print')],[33,9],[26],[68,44],[16,builtin('printChar')],[68,10],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,98],[16,builtin('printChar')],[68,117],[16,builtin('printChar')],[68,102],[16,builtin('printChar')],[68,102],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,58],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[32,0],[32,1],[16,builtin('__DataView_prototype_buffer$get')],[34,9],[32,2],[32,3],[68,0],[65,128,1],[16,builtin('__Porffor_print')],[33,9],[26],[68,10],[16,builtin('printChar')],[68,125],[16,builtin('printChar')],[68,0],[65,128,1],[15],[11]]),...t([29,12],()=>[[32,6],[65,29],[70],[32,6],[65,12],[70],[114],[4,64],[32,1],[184],[68,29],[97],[4,64],[68,87],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,97],[16,builtin('printChar')],[68,107],[16,builtin('printChar')],[68,77],[16,builtin('printChar')],[68,97],[16,builtin('printChar')],[68,112],[16,builtin('printChar')],[5],[68,77],[16,builtin('printChar')],[68,97],[16,builtin('printChar')],[68,112],[16,builtin('printChar')],[11],[68,40],[16,builtin('printChar')],[32,0],[32,1],[16,builtin('__Map_prototype_keys')],[33,9],[34,32],[252,3],[40,1,0],[184],[68,1],[161],[34,33],[68,1],[160],[16,builtin('print')],[68,41],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,123],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,0],[33,12],[3,64],[32,12],[32,33],[99],[4,64],[32,12],[33,37],[32,32],[33,36],[32,37],[252,3],[65,9],[108],[32,36],[252,3],[106],[34,17],[43,0,4],[32,17],[45,0,12],[34,9],[33,35],[34,34],[32,35],[32,2],[32,3],[68,0],[65,128,1],[16,builtin('__Porffor_print')],[33,9],[26],[68,32],[16,builtin('printChar')],[68,61],[16,builtin('printChar')],[68,62],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[32,0],[32,1],[32,34],[32,35],[16,builtin('__Map_prototype_get')],[34,9],[32,2],[32,3],[68,0],[65,128,1],[16,builtin('__Porffor_print')],[33,9],[26],[32,12],[32,33],[98],[4,64],[68,44],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[11],[32,12],[68,1],[160],[33,12],[12,1],[11],[11],[68,32],[16,builtin('printChar')],[68,125],[16,builtin('printChar')],[68,0],[65,128,1],[15],[11]]),...t([28,11],()=>[[32,6],[65,28],[70],[32,6],[65,11],[70],[114],[4,64],[32,1],[184],[68,28],[97],[4,64],[68,87],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,97],[16,builtin('printChar')],[68,107],[16,builtin('printChar')],[68,83],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,116],[16,builtin('printChar')],[5],[68,83],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,116],[16,builtin('printChar')],[11],[68,40],[16,builtin('printChar')],[32,0],[32,1],[16,builtin('__Set_prototype_values')],[33,9],[34,38],[252,3],[40,1,0],[184],[68,1],[161],[34,39],[68,1],[160],[16,builtin('print')],[68,41],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,123],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,0],[33,12],[3,64],[32,12],[32,39],[101],[4,64],[32,12],[33,41],[32,38],[33,40],[32,41],[252,3],[65,9],[108],[32,40],[252,3],[106],[34,17],[43,0,4],[32,17],[45,0,12],[34,9],[32,2],[32,3],[68,0],[65,128,1],[16,builtin('__Porffor_print')],[33,9],[26],[32,12],[32,39],[98],[4,64],[68,44],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[11],[32,12],[68,1],[160],[33,12],[12,1],[11],[11],[68,32],[16,builtin('printChar')],[68,125],[16,builtin('printChar')],[68,0],[65,128,1],[15],[11]]),...t([27],()=>[[32,6],[65,27],[70],[4,64],[68,87],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,97],[16,builtin('printChar')],[68,107],[16,builtin('printChar')],[68,82],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,102],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,123],[16,builtin('printChar')],[68,125],[16,builtin('printChar')],[68,0],[65,128,1],[15],[11]]),[11],[68,0],[65,128,1],[15]],
|
896
896
|
params:[124,127,124,127,124,127],typedParams:1,returns:[124,127],
|
897
897
|
locals:[127,124,127,127,124,124,124,124,127,124,124,127,124,124,124,127,124,127,124,127,124,124,127,127,124,124,124,124,124,127,124,124,124,124,124,124],localNames:["arg","arg#type","colors","colors#type","depth","depth#type","#typeswitch_tmp1","#logicinner_tmp","#typeswitch_tmp2","#last_type","keys","len","i","x","x#type","#member_obj_98","#member_prop_98","#loadArray_offset","j","logictmp","buffer","buffer#type","bufferLen","bufferLen#type","ele","ele#type","#member_obj_99","#member_prop_99","#member_allocd","#swap","#member_obj_100","#member_prop_100","map","mapLen","key","key#type","#member_obj_101","#member_prop_101","set","setLen","#member_obj_102","#member_prop_102"],
|
898
898
|
usesTag:1,usesImports:1,
|
899
899
|
}
|
900
900
|
this.__Porffor_printArray = {
|
901
|
-
wasm:(_,{t,builtin,internalThrow})=>[[32,5],[65,128,1],[70],[4,64],[68,0],[33,4],[65,2],[33,5],[11],[32,0],[252,3],[40,1,0],[184],[33,6],[32,4],[33,7],[32,5],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,40],[16,
|
901
|
+
wasm:(_,{t,builtin,internalThrow})=>[[32,5],[65,128,1],[70],[4,64],[68,0],[33,4],[65,2],[33,5],[11],[32,0],[252,3],[40,1,0],[184],[33,6],[32,4],[33,7],[32,5],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],[68,40],[16,builtin('printChar')],[32,6],[16,builtin('print')],[68,41],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[11],[32,6],[68,0],[97],[4,64],[68,91],[16,builtin('printChar')],[68,93],[16,builtin('printChar')],[5],[68,91],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,0],[33,9],[3,64],[32,9],[32,6],[99],[4,64],[2,64],[32,9],[33,11],[32,0],[33,10],[32,1],[33,8],[2,124],...t([67],()=>[[32,8],[65,195,0],[70],[4,64],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,13],[65,1],[54,0,0],[32,13],[32,11],[252,3],[65,2],[108],[32,10],[252,3],[106],[47,0,4],[59,0,4],[32,13],[184],[65,195,0],[33,12],[12,1],[11]]),[32,8],[65,200,0],[70],[4,64],[32,11],[252,3],[65,9],[108],[32,10],[252,3],[106],[34,14],[43,0,4],[32,14],[45,0,12],[33,12],[12,1],[11],[32,8],[65,208,0],[70],[4,64],[32,10],[252,3],[40,0,4],[32,11],[252,3],[106],[45,0,4],[184],[65,1],[33,12],[12,1],[11],[32,8],[65,209,0],[70],[4,64],[32,10],[252,3],[40,0,4],[32,11],[252,3],[106],[45,0,4],[184],[65,1],[33,12],[12,1],[11],[32,8],[65,210,0],[70],[4,64],[32,10],[252,3],[40,0,4],[32,11],[252,3],[106],[44,0,4],[183],[65,1],[33,12],[12,1],[11],[32,8],[65,211,0],[70],[4,64],[32,10],[252,3],[40,0,4],[32,11],[252,3],[65,2],[108],[106],[47,0,4],[184],[65,1],[33,12],[12,1],[11],[32,8],[65,212,0],[70],[4,64],[32,10],[252,3],[40,0,4],[32,11],[252,3],[65,2],[108],[106],[46,0,4],[183],[65,1],[33,12],[12,1],[11],[32,8],[65,213,0],[70],[4,64],[32,10],[252,3],[40,0,4],[32,11],[252,3],[65,4],[108],[106],[40,0,4],[184],[65,1],[33,12],[12,1],[11],[32,8],[65,214,0],[70],[4,64],[32,10],[252,3],[40,0,4],[32,11],[252,3],[65,4],[108],[106],[40,0,4],[183],[65,1],[33,12],[12,1],[11],...t([87],()=>[[32,8],[65,215,0],[70],[4,64],[32,10],[252,3],[40,0,4],[32,11],[252,3],[65,8],[108],[106],[41,0,4],[16,builtin('__Porffor_bigint_fromU64')],[65,4],[33,12],[12,1],[11]]),...t([88],()=>[[32,8],[65,216,0],[70],[4,64],[32,10],[252,3],[40,0,4],[32,11],[252,3],[65,8],[108],[106],[41,0,4],[16,builtin('__Porffor_bigint_fromS64')],[65,4],[33,12],[12,1],[11]]),[32,8],[65,217,0],[70],[4,64],[32,10],[252,3],[40,0,4],[32,11],[252,3],[65,4],[108],[106],[42,0,4],[187],[65,1],[33,12],[12,1],[11],[32,8],[65,218,0],[70],[4,64],[32,10],[252,3],[40,0,4],[32,11],[252,3],[65,8],[108],[106],[43,0,4],[65,1],[33,12],[12,1],[11],...t([128],()=>[[32,8],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot read property of undefined`),[68,0],[12,1],[11]]),...t([195],()=>[[32,8],[65,195,1],[70],[4,64],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,13],[65,1],[54,0,0],[32,13],[32,11],[252,3],[32,10],[252,3],[106],[45,0,4],[58,0,4],[32,13],[184],[65,195,1],[33,12],[12,1],[11]]),[32,10],[252,2],[32,1],[32,11],[65,1],[16,builtin('__ecma262_ToPropertyKey')],[33,15],[252,2],[32,15],[16,builtin('__Porffor_object_get')],[33,12],[11],[32,12],[32,2],[65,2],[68,0],[65,128,1],[16,builtin('__Porffor_print')],[33,12],[26],[32,9],[32,6],[68,1],[161],[98],[4,64],[68,44],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[11],[11],[32,9],[68,1],[160],[33,9],[12,1],[11],[11],[68,32],[16,builtin('printChar')],[68,93],[16,builtin('printChar')],[11],[68,0],[65,128,1],[15]],
|
902
902
|
params:[124,127,124,127,124,127],typedParams:1,returns:[124,127],
|
903
903
|
locals:[124,124,127,124,124,124,127,127,127,127],localNames:["arg","arg#type","colors","colors#type","length","length#type","arrLen","#logicinner_tmp","#typeswitch_tmp1","i","#member_obj_97","#member_prop_97","#last_type","#member_allocd","#loadArray_offset","#swap"],
|
904
904
|
usesTag:1,usesImports:1,
|
905
905
|
}
|
906
906
|
this.__Porffor_consoleIndent = {
|
907
|
-
wasm:(_,{glbl})=>[[68,0],[33,0],[3,64],[32,0],...glbl(35,'tabLevel',124),[99],[4,64],[68,9],[16,
|
907
|
+
wasm:(_,{glbl,builtin})=>[[68,0],[33,0],[3,64],[32,0],...glbl(35,'tabLevel',124),[99],[4,64],[68,9],[16,builtin('printChar')],[32,0],[68,1],[160],[33,0],[12,1],[11],[11],[68,0],[65,128,1],[15]],
|
908
908
|
params:[],typedParams:1,returns:[124,127],
|
909
909
|
locals:[124],localNames:["i"],
|
910
910
|
globalInits:{tabLevel:(_,{glbl})=>[[68,0],...glbl(36,'tabLevel',124)],countMap:(_,{glbl,builtin})=>[[68,51],[65,6],[68,0],[65,7],[68,0],[65,128,1],[16,builtin('Map')],...glbl(36,'countMap',124),[65,12],...glbl(36,'countMap#type',127)],timeMap:(_,{glbl,builtin})=>[[68,51],[65,6],[68,0],[65,7],[68,0],[65,128,1],[16,builtin('Map')],...glbl(36,'timeMap',124),[65,12],...glbl(36,'timeMap#type',127)]},
|
911
911
|
usesImports:1,
|
912
912
|
}
|
913
913
|
this.__console_clear = {
|
914
|
-
wasm:(_,{glbl})=>[[68,27],[16,
|
914
|
+
wasm:(_,{glbl,builtin})=>[[68,27],[16,builtin('printChar')],[68,91],[16,builtin('printChar')],[68,49],[16,builtin('printChar')],[68,59],[16,builtin('printChar')],[68,49],[16,builtin('printChar')],[68,72],[16,builtin('printChar')],[68,27],[16,builtin('printChar')],[68,91],[16,builtin('printChar')],[68,74],[16,builtin('printChar')],[68,0],...glbl(36,'tabLevel',124),[68,0],[65,128,1],[15]],
|
915
915
|
params:[],typedParams:1,returns:[124,127],
|
916
916
|
locals:[],localNames:[],
|
917
917
|
globalInits:{tabLevel:(_,{glbl})=>[[68,0],...glbl(36,'tabLevel',124)],countMap:(_,{glbl,builtin})=>[[68,51],[65,6],[68,0],[65,7],[68,0],[65,128,1],[16,builtin('Map')],...glbl(36,'countMap',124),[65,12],...glbl(36,'countMap#type',127)],timeMap:(_,{glbl,builtin})=>[[68,51],[65,6],[68,0],[65,7],[68,0],[65,128,1],[16,builtin('Map')],...glbl(36,'timeMap',124),[65,12],...glbl(36,'timeMap#type',127)]},
|
@@ -940,49 +940,49 @@ locals:[],localNames:[],
|
|
940
940
|
globalInits:{tabLevel:(_,{glbl})=>[[68,0],...glbl(36,'tabLevel',124)],countMap:(_,{glbl,builtin})=>[[68,51],[65,6],[68,0],[65,7],[68,0],[65,128,1],[16,builtin('Map')],...glbl(36,'countMap',124),[65,12],...glbl(36,'countMap#type',127)],timeMap:(_,{glbl,builtin})=>[[68,51],[65,6],[68,0],[65,7],[68,0],[65,128,1],[16,builtin('Map')],...glbl(36,'timeMap',124),[65,12],...glbl(36,'timeMap#type',127)]},
|
941
941
|
}
|
942
942
|
this.__console_log = {
|
943
|
-
wasm:(_,{builtin})=>[[32,0],[252,3],[40,1,0],[184],[68,1],[161],[33,2],[68,0],[33,3],[3,64],[32,3],[32,2],[101],[4,64],[16,builtin('__Porffor_consoleIndent')],[33,4],[26],[32,3],[33,6],[32,0],[33,5],[32,6],[252,3],[65,9],[108],[32,5],[252,3],[106],[34,7],[43,0,4],[32,7],[45,0,12],[34,4],[16,builtin('__Porffor_consolePrint')],[33,4],[26],[32,3],[32,2],[98],[4,64],[68,32],[16,
|
943
|
+
wasm:(_,{builtin})=>[[32,0],[252,3],[40,1,0],[184],[68,1],[161],[33,2],[68,0],[33,3],[3,64],[32,3],[32,2],[101],[4,64],[16,builtin('__Porffor_consoleIndent')],[33,4],[26],[32,3],[33,6],[32,0],[33,5],[32,6],[252,3],[65,9],[108],[32,5],[252,3],[106],[34,7],[43,0,4],[32,7],[45,0,12],[34,4],[16,builtin('__Porffor_consolePrint')],[33,4],[26],[32,3],[32,2],[98],[4,64],[68,32],[16,builtin('printChar')],[11],[32,3],[68,1],[160],[33,3],[12,1],[11],[11],[68,10],[16,builtin('printChar')],[68,0],[65,128,1],[15]],
|
944
944
|
params:[124,127],typedParams:1,returns:[124,127],
|
945
945
|
locals:[124,124,127,124,124,127],localNames:["args","args#type","argLen","i","#last_type","#member_obj_103","#member_prop_103","#loadArray_offset"],
|
946
946
|
hasRestArgument:1,usesImports:1,
|
947
947
|
}
|
948
948
|
this.__console_debug = {
|
949
|
-
wasm:(_,{builtin})=>[[32,0],[252,3],[40,1,0],[184],[68,1],[161],[33,2],[68,0],[33,3],[3,64],[32,3],[32,2],[101],[4,64],[16,builtin('__Porffor_consoleIndent')],[33,4],[26],[32,3],[33,6],[32,0],[33,5],[32,6],[252,3],[65,9],[108],[32,5],[252,3],[106],[34,7],[43,0,4],[32,7],[45,0,12],[34,4],[16,builtin('__Porffor_consolePrint')],[33,4],[26],[32,3],[32,2],[98],[4,64],[68,32],[16,
|
949
|
+
wasm:(_,{builtin})=>[[32,0],[252,3],[40,1,0],[184],[68,1],[161],[33,2],[68,0],[33,3],[3,64],[32,3],[32,2],[101],[4,64],[16,builtin('__Porffor_consoleIndent')],[33,4],[26],[32,3],[33,6],[32,0],[33,5],[32,6],[252,3],[65,9],[108],[32,5],[252,3],[106],[34,7],[43,0,4],[32,7],[45,0,12],[34,4],[16,builtin('__Porffor_consolePrint')],[33,4],[26],[32,3],[32,2],[98],[4,64],[68,32],[16,builtin('printChar')],[11],[32,3],[68,1],[160],[33,3],[12,1],[11],[11],[68,10],[16,builtin('printChar')],[68,0],[65,128,1],[15]],
|
950
950
|
params:[124,127],typedParams:1,returns:[124,127],
|
951
951
|
locals:[124,124,127,124,124,127],localNames:["args","args#type","argLen","i","#last_type","#member_obj_104","#member_prop_104","#loadArray_offset"],
|
952
952
|
hasRestArgument:1,usesImports:1,
|
953
953
|
}
|
954
954
|
this.__console_info = {
|
955
|
-
wasm:(_,{builtin})=>[[32,0],[252,3],[40,1,0],[184],[68,1],[161],[33,2],[68,0],[33,3],[3,64],[32,3],[32,2],[101],[4,64],[16,builtin('__Porffor_consoleIndent')],[33,4],[26],[32,3],[33,6],[32,0],[33,5],[32,6],[252,3],[65,9],[108],[32,5],[252,3],[106],[34,7],[43,0,4],[32,7],[45,0,12],[34,4],[16,builtin('__Porffor_consolePrint')],[33,4],[26],[32,3],[32,2],[98],[4,64],[68,32],[16,
|
955
|
+
wasm:(_,{builtin})=>[[32,0],[252,3],[40,1,0],[184],[68,1],[161],[33,2],[68,0],[33,3],[3,64],[32,3],[32,2],[101],[4,64],[16,builtin('__Porffor_consoleIndent')],[33,4],[26],[32,3],[33,6],[32,0],[33,5],[32,6],[252,3],[65,9],[108],[32,5],[252,3],[106],[34,7],[43,0,4],[32,7],[45,0,12],[34,4],[16,builtin('__Porffor_consolePrint')],[33,4],[26],[32,3],[32,2],[98],[4,64],[68,32],[16,builtin('printChar')],[11],[32,3],[68,1],[160],[33,3],[12,1],[11],[11],[68,10],[16,builtin('printChar')],[68,0],[65,128,1],[15]],
|
956
956
|
params:[124,127],typedParams:1,returns:[124,127],
|
957
957
|
locals:[124,124,127,124,124,127],localNames:["args","args#type","argLen","i","#last_type","#member_obj_105","#member_prop_105","#loadArray_offset"],
|
958
958
|
hasRestArgument:1,usesImports:1,
|
959
959
|
}
|
960
960
|
this.__console_warn = {
|
961
|
-
wasm:(_,{builtin})=>[[32,0],[252,3],[40,1,0],[184],[68,1],[161],[33,2],[68,0],[33,3],[3,64],[32,3],[32,2],[101],[4,64],[16,builtin('__Porffor_consoleIndent')],[33,4],[26],[32,3],[33,6],[32,0],[33,5],[32,6],[252,3],[65,9],[108],[32,5],[252,3],[106],[34,7],[43,0,4],[32,7],[45,0,12],[34,4],[16,builtin('__Porffor_consolePrint')],[33,4],[26],[32,3],[32,2],[98],[4,64],[68,32],[16,
|
961
|
+
wasm:(_,{builtin})=>[[32,0],[252,3],[40,1,0],[184],[68,1],[161],[33,2],[68,0],[33,3],[3,64],[32,3],[32,2],[101],[4,64],[16,builtin('__Porffor_consoleIndent')],[33,4],[26],[32,3],[33,6],[32,0],[33,5],[32,6],[252,3],[65,9],[108],[32,5],[252,3],[106],[34,7],[43,0,4],[32,7],[45,0,12],[34,4],[16,builtin('__Porffor_consolePrint')],[33,4],[26],[32,3],[32,2],[98],[4,64],[68,32],[16,builtin('printChar')],[11],[32,3],[68,1],[160],[33,3],[12,1],[11],[11],[68,10],[16,builtin('printChar')],[68,0],[65,128,1],[15]],
|
962
962
|
params:[124,127],typedParams:1,returns:[124,127],
|
963
963
|
locals:[124,124,127,124,124,127],localNames:["args","args#type","argLen","i","#last_type","#member_obj_106","#member_prop_106","#loadArray_offset"],
|
964
964
|
hasRestArgument:1,usesImports:1,
|
965
965
|
}
|
966
966
|
this.__console_error = {
|
967
|
-
wasm:(_,{builtin})=>[[32,0],[252,3],[40,1,0],[184],[68,1],[161],[33,2],[68,0],[33,3],[3,64],[32,3],[32,2],[101],[4,64],[16,builtin('__Porffor_consoleIndent')],[33,4],[26],[32,3],[33,6],[32,0],[33,5],[32,6],[252,3],[65,9],[108],[32,5],[252,3],[106],[34,7],[43,0,4],[32,7],[45,0,12],[34,4],[16,builtin('__Porffor_consolePrint')],[33,4],[26],[32,3],[32,2],[98],[4,64],[68,32],[16,
|
967
|
+
wasm:(_,{builtin})=>[[32,0],[252,3],[40,1,0],[184],[68,1],[161],[33,2],[68,0],[33,3],[3,64],[32,3],[32,2],[101],[4,64],[16,builtin('__Porffor_consoleIndent')],[33,4],[26],[32,3],[33,6],[32,0],[33,5],[32,6],[252,3],[65,9],[108],[32,5],[252,3],[106],[34,7],[43,0,4],[32,7],[45,0,12],[34,4],[16,builtin('__Porffor_consolePrint')],[33,4],[26],[32,3],[32,2],[98],[4,64],[68,32],[16,builtin('printChar')],[11],[32,3],[68,1],[160],[33,3],[12,1],[11],[11],[68,10],[16,builtin('printChar')],[68,0],[65,128,1],[15]],
|
968
968
|
params:[124,127],typedParams:1,returns:[124,127],
|
969
969
|
locals:[124,124,127,124,124,127],localNames:["args","args#type","argLen","i","#last_type","#member_obj_107","#member_prop_107","#loadArray_offset"],
|
970
970
|
hasRestArgument:1,usesImports:1,
|
971
971
|
}
|
972
972
|
this.__console_assert = {
|
973
|
-
wasm:(_,{t,builtin})=>[[32,0],[33,4],[32,1],[33,5],[2,127],...t([67,195],()=>[[32,5],[65,195,0],[70],[32,5],[65,195,1],[70],[114],[4,64],[32,4],[252,3],[40,1,0],[12,1],[11]]),[32,4],[252,3],[11],[4,64],[68,0],[65,128,1],[15],[26],[11],[16,builtin('__Porffor_consoleIndent')],[33,6],[26],[68,65],[16,
|
973
|
+
wasm:(_,{t,builtin})=>[[32,0],[33,4],[32,1],[33,5],[2,127],...t([67,195],()=>[[32,5],[65,195,0],[70],[32,5],[65,195,1],[70],[114],[4,64],[32,4],[252,3],[40,1,0],[12,1],[11]]),[32,4],[252,3],[11],[4,64],[68,0],[65,128,1],[15],[26],[11],[16,builtin('__Porffor_consoleIndent')],[33,6],[26],[68,65],[16,builtin('printChar')],[68,115],[16,builtin('printChar')],[68,115],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,116],[16,builtin('printChar')],[68,105],[16,builtin('printChar')],[68,111],[16,builtin('printChar')],[68,110],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,102],[16,builtin('printChar')],[68,97],[16,builtin('printChar')],[68,105],[16,builtin('printChar')],[68,108],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,100],[16,builtin('printChar')],[32,2],[252,3],[40,1,0],[184],[68,0],[98],[4,64],[68,58],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[11],[32,2],[252,3],[40,1,0],[184],[68,1],[161],[33,7],[68,0],[33,8],[3,64],[32,8],[32,7],[101],[4,64],[32,8],[33,10],[32,2],[33,9],[32,10],[252,3],[65,9],[108],[32,9],[252,3],[106],[34,11],[43,0,4],[32,11],[45,0,12],[34,6],[16,builtin('__Porffor_consolePrint')],[33,6],[26],[32,8],[32,7],[98],[4,64],[68,32],[16,builtin('printChar')],[11],[32,8],[68,1],[160],[33,8],[12,1],[11],[11],[68,10],[16,builtin('printChar')],[68,0],[65,128,1],[15]],
|
974
974
|
params:[124,127,124,127],typedParams:1,returns:[124,127],
|
975
975
|
locals:[124,127,127,124,124,124,124,127],localNames:["assertion","assertion#type","args","args#type","#logicinner_tmp","#typeswitch_tmp1","#last_type","argLen","i","#member_obj_108","#member_prop_108","#loadArray_offset"],
|
976
976
|
hasRestArgument:1,usesImports:1,
|
977
977
|
}
|
978
978
|
this.__Porffor_dirObject = {
|
979
|
-
wasm:(_,{t,builtin,internalThrow})=>[[32,1],[184],[68,7],[98],[34,8],[69],[4,127],[32,4],[68,0],[97],[65,2],[33,9],[5],[32,8],[65,2],[33,9],[11],[4,64],[32,0],[32,1],[32,2],[65,2],[68,0],[65,128,1],[16,builtin('__Porffor_print')],[33,9],[26],[68,0],[65,128,1],[15],[26],[11],[68,123],[16,
|
979
|
+
wasm:(_,{t,builtin,internalThrow})=>[[32,1],[184],[68,7],[98],[34,8],[69],[4,127],[32,4],[68,0],[97],[65,2],[33,9],[5],[32,8],[65,2],[33,9],[11],[4,64],[32,0],[32,1],[32,2],[65,2],[68,0],[65,128,1],[16,builtin('__Porffor_print')],[33,9],[26],[68,0],[65,128,1],[15],[26],[11],[68,123],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[32,0],[32,1],[16,builtin('__Object_keys')],[33,10],[65,200,0],[33,11],[32,10],[252,3],[40,1,0],[184],[68,1],[161],[33,12],[65,1],[33,13],[68,0],[33,14],[3,64],[32,14],[32,12],[101],[4,64],[2,64],[32,14],[33,18],[32,10],[33,17],[32,11],[33,19],[2,124],...t([67],()=>[[32,19],[65,195,0],[70],[4,64],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,20],[65,1],[54,0,0],[32,20],[32,18],[252,3],[65,2],[108],[32,17],[252,3],[106],[47,0,4],[59,0,4],[32,20],[184],[65,195,0],[33,9],[12,1],[11]]),[32,19],[65,200,0],[70],[4,64],[32,18],[252,3],[65,9],[108],[32,17],[252,3],[106],[34,21],[43,0,4],[32,21],[45,0,12],[33,9],[12,1],[11],...t([80],()=>[[32,19],[65,208,0],[70],[4,64],[32,17],[252,3],[40,0,4],[32,18],[252,3],[106],[45,0,4],[184],[65,1],[33,9],[12,1],[11]]),...t([81],()=>[[32,19],[65,209,0],[70],[4,64],[32,17],[252,3],[40,0,4],[32,18],[252,3],[106],[45,0,4],[184],[65,1],[33,9],[12,1],[11]]),...t([82],()=>[[32,19],[65,210,0],[70],[4,64],[32,17],[252,3],[40,0,4],[32,18],[252,3],[106],[44,0,4],[183],[65,1],[33,9],[12,1],[11]]),...t([83],()=>[[32,19],[65,211,0],[70],[4,64],[32,17],[252,3],[40,0,4],[32,18],[252,3],[65,2],[108],[106],[47,0,4],[184],[65,1],[33,9],[12,1],[11]]),...t([84],()=>[[32,19],[65,212,0],[70],[4,64],[32,17],[252,3],[40,0,4],[32,18],[252,3],[65,2],[108],[106],[46,0,4],[183],[65,1],[33,9],[12,1],[11]]),...t([85],()=>[[32,19],[65,213,0],[70],[4,64],[32,17],[252,3],[40,0,4],[32,18],[252,3],[65,4],[108],[106],[40,0,4],[184],[65,1],[33,9],[12,1],[11]]),...t([86],()=>[[32,19],[65,214,0],[70],[4,64],[32,17],[252,3],[40,0,4],[32,18],[252,3],[65,4],[108],[106],[40,0,4],[183],[65,1],[33,9],[12,1],[11]]),...t([87],()=>[[32,19],[65,215,0],[70],[4,64],[32,17],[252,3],[40,0,4],[32,18],[252,3],[65,8],[108],[106],[41,0,4],[16,builtin('__Porffor_bigint_fromU64')],[65,4],[33,9],[12,1],[11]]),...t([88],()=>[[32,19],[65,216,0],[70],[4,64],[32,17],[252,3],[40,0,4],[32,18],[252,3],[65,8],[108],[106],[41,0,4],[16,builtin('__Porffor_bigint_fromS64')],[65,4],[33,9],[12,1],[11]]),...t([89],()=>[[32,19],[65,217,0],[70],[4,64],[32,17],[252,3],[40,0,4],[32,18],[252,3],[65,4],[108],[106],[42,0,4],[187],[65,1],[33,9],[12,1],[11]]),...t([90],()=>[[32,19],[65,218,0],[70],[4,64],[32,17],[252,3],[40,0,4],[32,18],[252,3],[65,8],[108],[106],[43,0,4],[65,1],[33,9],[12,1],[11]]),[32,19],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot read property of undefined`),[68,0],[12,1],[11],...t([195],()=>[[32,19],[65,195,1],[70],[4,64],[65,8],[16,builtin('__Porffor_allocateBytes')],[34,20],[65,1],[54,0,0],[32,20],[32,18],[252,3],[32,17],[252,3],[106],[45,0,4],[58,0,4],[32,20],[184],[65,195,1],[33,9],[12,1],[11]]),[32,17],[252,2],[32,11],[32,18],[65,1],[16,builtin('__ecma262_ToPropertyKey')],[33,22],[252,2],[32,22],[16,builtin('__Porffor_object_get')],[33,9],[11],[33,15],[32,9],[33,16],[32,15],[32,16],[16,builtin('__Porffor_consolePrint')],[33,9],[26],[68,58],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[32,0],[252,2],[32,1],[32,15],[252,2],[32,16],[16,builtin('__Porffor_object_get')],[34,9],[33,24],[34,23],[32,24],[32,2],[65,2],[32,4],[68,1],[161],[65,1],[32,6],[65,2],[16,builtin('__Porffor_dirObject')],[33,9],[26],[32,14],[32,12],[98],[4,64],[68,44],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[11],[11],[32,14],[68,1],[160],[33,14],[12,1],[11],[11],[68,32],[16,builtin('printChar')],[68,125],[16,builtin('printChar')],[68,0],[65,128,1],[15]],
|
980
980
|
params:[124,127,124,127,124,127,124,127],typedParams:1,returns:[124,127],
|
981
981
|
locals:[127,127,124,127,124,127,124,124,127,124,124,127,127,127,127,124,127],localNames:["obj","obj#type","colors","colors#type","depth","depth#type","showHidden","showHidden#type","logictmpi","#last_type","keys","keys#type","keysLen","keysLen#type","i","key","key#type","#member_obj_109","#member_prop_109","#typeswitch_tmp1","#member_allocd","#loadArray_offset","#swap","value","value#type"],
|
982
982
|
usesTag:1,usesImports:1,
|
983
983
|
}
|
984
984
|
this.__console_dir = {
|
985
|
-
wasm:(_,{t,makeString,builtin,internalThrow})=>[[68,1],[33,4],[68,2],[33,5],[68,0],[33,6],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],...makeString(_,"colors",1),[33,10],[32,2],[33,9],[32,3],[33,8],[2,124],...t([128],()=>[[32,8],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot read property of undefined`),[68,0],[12,1],[11]]),[32,9],[252,2],[32,3],[32,10],[252,3],[65,195,1],[16,builtin('__Porffor_object_get')],[33,11],[11],[33,4],...makeString(_,"depth",1),[33,13],[32,2],[33,12],[32,3],[33,8],[2,124],...t([128],()=>[[32,8],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot read property of undefined`),[68,0],[12,1],[11]]),[32,12],[252,2],[32,3],[32,13],[252,3],[65,195,1],[16,builtin('__Porffor_object_get')],[33,11],[11],[33,5],...makeString(_,"showHidden",1),[33,15],[32,2],[33,14],[32,3],[33,8],[2,124],...t([128],()=>[[32,8],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot read property of undefined`),[68,0],[12,1],[11]]),[32,14],[252,2],[32,3],[32,15],[252,3],[65,195,1],[16,builtin('__Porffor_object_get')],[33,11],[11],[33,6],[11],[16,builtin('__Porffor_consoleIndent')],[33,11],[26],[32,0],[32,1],[32,4],[65,2],[32,5],[65,1],[32,6],[65,2],[16,builtin('__Porffor_dirObject')],[33,11],[26],[68,10],[16,
|
985
|
+
wasm:(_,{t,makeString,builtin,internalThrow})=>[[68,1],[33,4],[68,2],[33,5],[68,0],[33,6],[32,2],[33,7],[32,3],[33,8],[2,127],...t([67,195],()=>[[32,8],[65,195,0],[70],[32,8],[65,195,1],[70],[114],[4,64],[32,7],[252,3],[40,1,0],[12,1],[11]]),[32,7],[252,3],[11],[4,64],...makeString(_,"colors",1),[33,10],[32,2],[33,9],[32,3],[33,8],[2,124],...t([128],()=>[[32,8],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot read property of undefined`),[68,0],[12,1],[11]]),[32,9],[252,2],[32,3],[32,10],[252,3],[65,195,1],[16,builtin('__Porffor_object_get')],[33,11],[11],[33,4],...makeString(_,"depth",1),[33,13],[32,2],[33,12],[32,3],[33,8],[2,124],...t([128],()=>[[32,8],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot read property of undefined`),[68,0],[12,1],[11]]),[32,12],[252,2],[32,3],[32,13],[252,3],[65,195,1],[16,builtin('__Porffor_object_get')],[33,11],[11],[33,5],...makeString(_,"showHidden",1),[33,15],[32,2],[33,14],[32,3],[33,8],[2,124],...t([128],()=>[[32,8],[65,128,1],[70],[4,64],...internalThrow(_,'TypeError',`Cannot read property of undefined`),[68,0],[12,1],[11]]),[32,14],[252,2],[32,3],[32,15],[252,3],[65,195,1],[16,builtin('__Porffor_object_get')],[33,11],[11],[33,6],[11],[16,builtin('__Porffor_consoleIndent')],[33,11],[26],[32,0],[32,1],[32,4],[65,2],[32,5],[65,1],[32,6],[65,2],[16,builtin('__Porffor_dirObject')],[33,11],[26],[68,10],[16,builtin('printChar')],[68,0],[65,128,1],[15]],
|
986
986
|
params:[124,127,124,127],typedParams:1,returns:[124,127],
|
987
987
|
locals:[124,124,124,124,127,124,124,127,124,124,124,124],localNames:["obj","obj#type","options","options#type","colors","depth","showHidden","#logicinner_tmp","#typeswitch_tmp1","#member_obj_110","#member_prop_110","#last_type","#member_obj_111","#member_prop_111","#member_obj_112","#member_prop_112"],
|
988
988
|
usesTag:1,usesImports:1,
|
@@ -993,7 +993,7 @@ params:[124,127],typedParams:1,returns:[124,127],
|
|
993
993
|
locals:[127],localNames:["obj","obj#type","#last_type"],
|
994
994
|
}
|
995
995
|
this.__console_count = {
|
996
|
-
wasm:(_,{t,makeString,glbl,builtin})=>[[32,0],[34,2],[33,3],[32,1],[33,4],[2,127],...t([0,128],()=>[[32,4],[65,0],[70],[32,4],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,4],[65,7],[70],[4,64],[32,3],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],...makeString(_,"default",1),[34,0],[65,195,1],[33,5],[5],[32,2],[32,1],[33,5],[11],[32,5],[33,1],[26],...glbl(35,'countMap',124),[33,8],[65,12],[33,9],[32,8],[32,9],[32,0],[32,1],[16,builtin('__Map_prototype_get')],[33,5],[34,2],[33,3],[32,5],[33,4],[2,127],...t([0,128],()=>[[32,4],[65,0],[70],[32,4],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,4],[65,7],[70],[4,64],[32,3],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],[68,0],[65,1],[33,5],[5],[32,2],[32,5],[33,5],[11],[68,1],[160],[33,6],[65,1],[33,7],...glbl(35,'countMap',124),[33,8],[65,12],[33,9],[32,8],[32,9],[32,0],[32,1],[32,6],[65,1],[16,builtin('__Map_prototype_set')],[33,5],[26],[16,builtin('__Porffor_consoleIndent')],[33,5],[26],[32,0],[32,1],[16,builtin('__Porffor_consolePrint')],[33,5],[26],[68,58],[16,
|
996
|
+
wasm:(_,{t,makeString,glbl,builtin})=>[[32,0],[34,2],[33,3],[32,1],[33,4],[2,127],...t([0,128],()=>[[32,4],[65,0],[70],[32,4],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,4],[65,7],[70],[4,64],[32,3],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],...makeString(_,"default",1),[34,0],[65,195,1],[33,5],[5],[32,2],[32,1],[33,5],[11],[32,5],[33,1],[26],...glbl(35,'countMap',124),[33,8],[65,12],[33,9],[32,8],[32,9],[32,0],[32,1],[16,builtin('__Map_prototype_get')],[33,5],[34,2],[33,3],[32,5],[33,4],[2,127],...t([0,128],()=>[[32,4],[65,0],[70],[32,4],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,4],[65,7],[70],[4,64],[32,3],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],[68,0],[65,1],[33,5],[5],[32,2],[32,5],[33,5],[11],[68,1],[160],[33,6],[65,1],[33,7],...glbl(35,'countMap',124),[33,8],[65,12],[33,9],[32,8],[32,9],[32,0],[32,1],[32,6],[65,1],[16,builtin('__Map_prototype_set')],[33,5],[26],[16,builtin('__Porffor_consoleIndent')],[33,5],[26],[32,0],[32,1],[16,builtin('__Porffor_consolePrint')],[33,5],[26],[68,58],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[32,6],[16,builtin('print')],[68,10],[16,builtin('printChar')],[68,0],[65,128,1],[15]],
|
997
997
|
params:[124,127],typedParams:1,returns:[124,127],
|
998
998
|
locals:[124,124,127,127,124,127,124,127],localNames:["label","label#type","logictmp","#logicinner_tmp","#typeswitch_tmp1","#last_type","val","val#type","#proto_target","#proto_target#type"],
|
999
999
|
globalInits:{tabLevel:(_,{glbl})=>[[68,0],...glbl(36,'tabLevel',124)],countMap:(_,{glbl,builtin})=>[[68,51],[65,6],[68,0],[65,7],[68,0],[65,128,1],[16,builtin('Map')],...glbl(36,'countMap',124),[65,12],...glbl(36,'countMap#type',127)],timeMap:(_,{glbl,builtin})=>[[68,51],[65,6],[68,0],[65,7],[68,0],[65,128,1],[16,builtin('Map')],...glbl(36,'timeMap',124),[65,12],...glbl(36,'timeMap#type',127)]},
|
@@ -1006,14 +1006,14 @@ locals:[124,124,127,127,124,127],localNames:["label","label#type","logictmp","#l
|
|
1006
1006
|
globalInits:{tabLevel:(_,{glbl})=>[[68,0],...glbl(36,'tabLevel',124)],countMap:(_,{glbl,builtin})=>[[68,51],[65,6],[68,0],[65,7],[68,0],[65,128,1],[16,builtin('Map')],...glbl(36,'countMap',124),[65,12],...glbl(36,'countMap#type',127)],timeMap:(_,{glbl,builtin})=>[[68,51],[65,6],[68,0],[65,7],[68,0],[65,128,1],[16,builtin('Map')],...glbl(36,'timeMap',124),[65,12],...glbl(36,'timeMap#type',127)]},
|
1007
1007
|
}
|
1008
1008
|
this.__console_time = {
|
1009
|
-
wasm:(_,{t,makeString,glbl,builtin})=>[[32,0],[34,2],[33,3],[32,1],[33,4],[2,127],...t([0,128],()=>[[32,4],[65,0],[70],[32,4],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,4],[65,7],[70],[4,64],[32,3],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],...makeString(_,"default",1),[34,0],[65,195,1],[33,5],[5],[32,2],[32,1],[33,5],[11],[32,5],[33,1],[26],...glbl(35,'timeMap',124),[33,6],[65,12],[33,7],[32,6],[32,7],[32,0],[32,1],[16,builtin('__Map_prototype_has')],[33,5],[33,3],[32,5],[33,4],[2,127],[32,4],[65,195,0],[70],[32,4],[65,195,1],[70],[114],[4,64],[32,3],[252,3],[40,1,0],[12,1],[11],[32,3],[252,3],[11],[4,64],[68,87],[16,
|
1009
|
+
wasm:(_,{t,makeString,glbl,builtin})=>[[32,0],[34,2],[33,3],[32,1],[33,4],[2,127],...t([0,128],()=>[[32,4],[65,0],[70],[32,4],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,4],[65,7],[70],[4,64],[32,3],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],...makeString(_,"default",1),[34,0],[65,195,1],[33,5],[5],[32,2],[32,1],[33,5],[11],[32,5],[33,1],[26],...glbl(35,'timeMap',124),[33,6],[65,12],[33,7],[32,6],[32,7],[32,0],[32,1],[16,builtin('__Map_prototype_has')],[33,5],[33,3],[32,5],[33,4],[2,127],[32,4],[65,195,0],[70],[32,4],[65,195,1],[70],[114],[4,64],[32,3],[252,3],[40,1,0],[12,1],[11],[32,3],[252,3],[11],[4,64],[68,87],[16,builtin('printChar')],[68,97],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,110],[16,builtin('printChar')],[68,105],[16,builtin('printChar')],[68,110],[16,builtin('printChar')],[68,103],[16,builtin('printChar')],[68,58],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,84],[16,builtin('printChar')],[68,105],[16,builtin('printChar')],[68,109],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,39],[16,builtin('printChar')],[32,0],[32,1],[16,builtin('__Porffor_consolePrint')],[33,5],[26],[68,39],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,97],[16,builtin('printChar')],[68,108],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,97],[16,builtin('printChar')],[68,100],[16,builtin('printChar')],[68,121],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,120],[16,builtin('printChar')],[68,105],[16,builtin('printChar')],[68,115],[16,builtin('printChar')],[68,116],[16,builtin('printChar')],[68,115],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,102],[16,builtin('printChar')],[68,111],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,99],[16,builtin('printChar')],[68,111],[16,builtin('printChar')],[68,110],[16,builtin('printChar')],[68,115],[16,builtin('printChar')],[68,111],[16,builtin('printChar')],[68,108],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,46],[16,builtin('printChar')],[68,116],[16,builtin('printChar')],[68,105],[16,builtin('printChar')],[68,109],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,40],[16,builtin('printChar')],[68,41],[16,builtin('printChar')],[68,10],[16,builtin('printChar')],[11],...glbl(35,'timeMap',124),[33,6],[65,12],[33,7],[32,6],[32,7],[32,0],[32,1],[16,builtin('__performance_now')],[65,1],[16,builtin('__Map_prototype_set')],[33,5],[26],[68,0],[65,128,1],[15]],
|
1010
1010
|
params:[124,127],typedParams:1,returns:[124,127],
|
1011
1011
|
locals:[124,124,127,127,124,127],localNames:["label","label#type","logictmp","#logicinner_tmp","#typeswitch_tmp1","#last_type","#proto_target","#proto_target#type"],
|
1012
1012
|
globalInits:{tabLevel:(_,{glbl})=>[[68,0],...glbl(36,'tabLevel',124)],countMap:(_,{glbl,builtin})=>[[68,51],[65,6],[68,0],[65,7],[68,0],[65,128,1],[16,builtin('Map')],...glbl(36,'countMap',124),[65,12],...glbl(36,'countMap#type',127)],timeMap:(_,{glbl,builtin})=>[[68,51],[65,6],[68,0],[65,7],[68,0],[65,128,1],[16,builtin('Map')],...glbl(36,'timeMap',124),[65,12],...glbl(36,'timeMap#type',127)]},
|
1013
1013
|
usesImports:1,
|
1014
1014
|
}
|
1015
1015
|
this.__console_timeLog = {
|
1016
|
-
wasm:(_,{t,makeString,glbl,builtin})=>[[32,0],[34,2],[33,3],[32,1],[33,4],[2,127],...t([0,128],()=>[[32,4],[65,0],[70],[32,4],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,4],[65,7],[70],[4,64],[32,3],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],...makeString(_,"default",1),[34,0],[65,195,1],[33,5],[5],[32,2],[32,1],[33,5],[11],[32,5],[33,1],[26],[16,builtin('__Porffor_consoleIndent')],[33,5],[26],...glbl(35,'timeMap',124),[33,8],[65,12],[33,9],[32,8],[32,9],[32,0],[32,1],[16,builtin('__Map_prototype_get')],[34,5],[33,7],[34,6],[33,3],[32,7],[33,4],[2,124],[32,4],[65,195,0],[70],[32,4],[65,195,1],[70],[114],[4,64],[32,3],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,3],[68,0],[97],[184],[11],[252,3],[4,64],[68,84],[16,
|
1016
|
+
wasm:(_,{t,makeString,glbl,builtin})=>[[32,0],[34,2],[33,3],[32,1],[33,4],[2,127],...t([0,128],()=>[[32,4],[65,0],[70],[32,4],[65,128,1],[70],[114],[4,64],[65,1],[12,1],[11]]),...t([7],()=>[[32,4],[65,7],[70],[4,64],[32,3],[68,0],[97],[12,1],[11]]),[65,0],[11],[4,124],...makeString(_,"default",1),[34,0],[65,195,1],[33,5],[5],[32,2],[32,1],[33,5],[11],[32,5],[33,1],[26],[16,builtin('__Porffor_consoleIndent')],[33,5],[26],...glbl(35,'timeMap',124),[33,8],[65,12],[33,9],[32,8],[32,9],[32,0],[32,1],[16,builtin('__Map_prototype_get')],[34,5],[33,7],[34,6],[33,3],[32,7],[33,4],[2,124],[32,4],[65,195,0],[70],[32,4],[65,195,1],[70],[114],[4,64],[32,3],[252,3],[40,1,0],[69],[184],[12,1],[11],[32,3],[68,0],[97],[184],[11],[252,3],[4,64],[68,84],[16,builtin('printChar')],[68,105],[16,builtin('printChar')],[68,109],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,114],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,39],[16,builtin('printChar')],[32,0],[32,1],[16,builtin('__Porffor_consolePrint')],[33,5],[26],[68,39],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,100],[16,builtin('printChar')],[68,111],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,115],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,110],[16,builtin('printChar')],[68,111],[16,builtin('printChar')],[68,116],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[68,101],[16,builtin('printChar')],[68,120],[16,builtin('printChar')],[68,105],[16,builtin('printChar')],[68,115],[16,builtin('printChar')],[68,116],[16,builtin('printChar')],[68,10],[16,builtin('printChar')],[68,0],[65,128,1],[15],[26],[11],[32,0],[32,1],[16,builtin('__Porffor_consolePrint')],[33,5],[26],[68,58],[16,builtin('printChar')],[68,32],[16,builtin('printChar')],[16,builtin('__performance_now')],[32,6],[161],[16,builtin('print')],[68,32],[16,builtin('printChar')],[68,109],[16,builtin('printChar')],[68,115],[16,builtin('printChar')],[68,10],[16,builtin('printChar')],[68,0],[65,128,1],[15]],
|
1017
1017
|
params:[124,127],typedParams:1,returns:[124,127],
|
1018
1018
|
locals:[124,124,127,127,124,127,124,127],localNames:["label","label#type","logictmp","#logicinner_tmp","#typeswitch_tmp1","#last_type","val","val#type","#proto_target","#proto_target#type"],
|
1019
1019
|
globalInits:{tabLevel:(_,{glbl})=>[[68,0],...glbl(36,'tabLevel',124)],countMap:(_,{glbl,builtin})=>[[68,51],[65,6],[68,0],[65,7],[68,0],[65,128,1],[16,builtin('Map')],...glbl(36,'countMap',124),[65,12],...glbl(36,'countMap#type',127)],timeMap:(_,{glbl,builtin})=>[[68,51],[65,6],[68,0],[65,7],[68,0],[65,128,1],[16,builtin('Map')],...glbl(36,'timeMap',124),[65,12],...glbl(36,'timeMap#type',127)]},
|
@@ -1254,7 +1254,7 @@ params:[124,127],typedParams:1,returns:[124],returnType:1,
|
|
1254
1254
|
locals:[],localNames:["time","time#type"],
|
1255
1255
|
}
|
1256
1256
|
this.__Date_now = {
|
1257
|
-
wasm:(_,{builtin})=>[[16,
|
1257
|
+
wasm:(_,{builtin})=>[[16,builtin('timeOrigin')],[16,builtin('__performance_now')],[160],[16,builtin('__Math_trunc')],[15]],
|
1258
1258
|
params:[],typedParams:1,returns:[124],returnType:1,
|
1259
1259
|
locals:[],localNames:[],
|
1260
1260
|
usesImports:1,
|
@@ -1958,7 +1958,7 @@ locals:[124,124,124,124,127,127,127,127,127,124,127,127,127,127,124,127,127,127,
|
|
1958
1958
|
usesTag:1,
|
1959
1959
|
}
|
1960
1960
|
this.__JSON_stringify = {
|
1961
|
-
wasm:(_,{t,builtin,internalThrow})=>[[32,4],[68,0],[98],[32,5],[65,128,1],[114],[65,128,1],[65,128,1],[114],[71],[114],[4,64],[32,5],[184],[68,1],[97],[32,5],[184],[68,32],[97],[114],[4,64],[68,"Infinity"],[32,4],[16,builtin('__Math_trunc')],[164],[68,10],[164],[33,4],[65,1],[33,5],[32,4],[65,1],[68,0],[65,128,1],[68,0],[65,128,1],[16,builtin('__Porffor_print')],[33,6],[26],[68,10],[16,
|
1961
|
+
wasm:(_,{t,builtin,internalThrow})=>[[32,4],[68,0],[98],[32,5],[65,128,1],[114],[65,128,1],[65,128,1],[114],[71],[114],[4,64],[32,5],[184],[68,1],[97],[32,5],[184],[68,32],[97],[114],[4,64],[68,"Infinity"],[32,4],[16,builtin('__Math_trunc')],[164],[68,10],[164],[33,4],[65,1],[33,5],[32,4],[65,1],[68,0],[65,128,1],[68,0],[65,128,1],[16,builtin('__Porffor_print')],[33,6],[26],[68,10],[16,builtin('printChar')],[32,4],[68,1],[99],[4,64],[68,0],[33,4],[65,128,1],[33,5],[5],[16,builtin('__Porffor_allocate')],[183],[33,7],[68,0],[33,8],[3,64],[32,8],[32,4],[99],[4,64],[32,7],[65,195,1],[68,32],[65,1],[16,builtin('__Porffor_bytestring_appendChar')],[26],[32,8],[68,1],[160],[33,8],[12,1],[11],[11],[32,7],[33,4],[65,195,1],[33,5],[11],[5],[32,5],[65,128,1],[114],[183],[68,195],[97],[32,5],[184],[68,33],[97],[114],[4,64],[32,4],[252,3],[40,1,0],[184],[34,9],[68,0],[97],[4,64],[68,0],[33,4],[65,128,1],[33,5],[5],[32,9],[68,10],[100],[4,64],[32,4],[33,10],[32,5],[33,11],[32,5],[33,12],[2,124],...t([13],()=>[[32,12],[65,13],[70],[4,64],[32,10],[32,11],[68,0],[65,1],[68,10],[65,1],[16,builtin('__ArrayBuffer_prototype_slice')],[33,6],[12,1],[11]]),...t([14],()=>[[32,12],[65,14],[70],[4,64],[32,10],[32,11],[68,0],[65,1],[68,10],[65,1],[16,builtin('__SharedArrayBuffer_prototype_slice')],[33,6],[12,1],[11]]),...t([33],()=>[[32,12],[65,33],[70],[4,64],[32,10],[252,2],[32,11],[65,0],[65,1],[65,10],[65,1],[16,builtin('__String_prototype_slice')],[33,6],[183],[12,1],[11]]),...t([67],()=>[[32,12],[65,195,0],[70],[4,64],[32,10],[252,2],[32,11],[65,0],[65,1],[65,10],[65,1],[16,builtin('__String_prototype_slice')],[33,6],[183],[12,1],[11]]),...t([72],()=>[[32,12],[65,200,0],[70],[4,64],[32,10],[32,11],[68,0],[65,1],[68,10],[65,1],[16,builtin('__Array_prototype_slice')],[33,6],[12,1],[11]]),...t([80],()=>[[32,12],[65,208,0],[70],[4,64],[32,10],[32,11],[68,0],[65,1],[68,10],[65,1],[16,builtin('__Uint8ClampedArray_prototype_slice')],[33,6],[12,1],[11]]),...t([81],()=>[[32,12],[65,209,0],[70],[4,64],[32,10],[32,11],[68,0],[65,1],[68,10],[65,1],[16,builtin('__Uint8Array_prototype_slice')],[33,6],[12,1],[11]]),...t([82],()=>[[32,12],[65,210,0],[70],[4,64],[32,10],[32,11],[68,0],[65,1],[68,10],[65,1],[16,builtin('__Int8Array_prototype_slice')],[33,6],[12,1],[11]]),...t([83],()=>[[32,12],[65,211,0],[70],[4,64],[32,10],[32,11],[68,0],[65,1],[68,10],[65,1],[16,builtin('__Uint16Array_prototype_slice')],[33,6],[12,1],[11]]),...t([84],()=>[[32,12],[65,212,0],[70],[4,64],[32,10],[32,11],[68,0],[65,1],[68,10],[65,1],[16,builtin('__Int16Array_prototype_slice')],[33,6],[12,1],[11]]),...t([85],()=>[[32,12],[65,213,0],[70],[4,64],[32,10],[32,11],[68,0],[65,1],[68,10],[65,1],[16,builtin('__Uint32Array_prototype_slice')],[33,6],[12,1],[11]]),...t([86],()=>[[32,12],[65,214,0],[70],[4,64],[32,10],[32,11],[68,0],[65,1],[68,10],[65,1],[16,builtin('__Int32Array_prototype_slice')],[33,6],[12,1],[11]]),...t([87],()=>[[32,12],[65,215,0],[70],[4,64],[32,10],[32,11],[68,0],[65,1],[68,10],[65,1],[16,builtin('__BigUint64Array_prototype_slice')],[33,6],[12,1],[11]]),...t([88],()=>[[32,12],[65,216,0],[70],[4,64],[32,10],[32,11],[68,0],[65,1],[68,10],[65,1],[16,builtin('__BigInt64Array_prototype_slice')],[33,6],[12,1],[11]]),...t([89],()=>[[32,12],[65,217,0],[70],[4,64],[32,10],[32,11],[68,0],[65,1],[68,10],[65,1],[16,builtin('__Float32Array_prototype_slice')],[33,6],[12,1],[11]]),...t([90],()=>[[32,12],[65,218,0],[70],[4,64],[32,10],[32,11],[68,0],[65,1],[68,10],[65,1],[16,builtin('__Float64Array_prototype_slice')],[33,6],[12,1],[11]]),[32,12],[65,195,1],[70],[4,64],[32,10],[252,2],[32,11],[65,0],[65,1],[65,10],[65,1],[16,builtin('__ByteString_prototype_slice')],[33,6],[183],[12,1],[11],...internalThrow(_,'TypeError',`'slice' proto func tried to be called on a type without an impl`),[68,0],[11],[33,4],[32,6],[33,5],[11],[11],[5],[68,0],[33,4],[65,128,1],[33,5],[11],[11],[11],[32,0],[32,1],[68,0],[65,1],[32,4],[32,5],[16,builtin('__Porffor_json_serialize')],[34,6],[15]],
|
1962
1962
|
params:[124,127,124,127,124,127],typedParams:1,returns:[124,127],
|
1963
1963
|
locals:[127,124,124,124,124,127,127],localNames:["value","value#type","replacer","replacer#type","space","space#type","#last_type","spaceStr","i","len","#proto_target","#proto_target#type","#typeswitch_tmp1"],
|
1964
1964
|
usesTag:1,usesImports:1,
|
package/compiler/codegen.js
CHANGED
@@ -1244,7 +1244,7 @@ const asmFuncToAsm = (scope, func, extra) => func(scope, {
|
|
1244
1244
|
Valtype, Opcodes, TYPES, TYPE_NAMES, usedTypes, typeSwitch, makeString, internalThrow,
|
1245
1245
|
getNodeType, generate, generateIdent,
|
1246
1246
|
builtin: (n, offset = false) => {
|
1247
|
-
let idx =
|
1247
|
+
let idx = importedFuncs[n] ?? funcIndex[n];
|
1248
1248
|
if (idx == null && builtinFuncs[n]) {
|
1249
1249
|
includeBuiltin(scope, n);
|
1250
1250
|
idx = funcIndex[n];
|
package/compiler/disassemble.js
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
import { Blocktype, Opcodes, Valtype } from './wasmSpec.js';
|
2
2
|
import { read_ieee754_binary64, read_signedLEB128, read_unsignedLEB128 } from './encoding.js';
|
3
|
+
import { importedFuncs } from './builtins.js';
|
3
4
|
|
4
5
|
const inv = (obj, keyMap = x => x) => Object.keys(obj).reduce((acc, x) => { acc[keyMap(obj[x])] = x; return acc; }, {});
|
5
6
|
const invOpcodes = inv(Opcodes);
|
@@ -99,8 +100,8 @@ export default (wasm, name = '', ind = 0, locals = {}, params = [], returns = []
|
|
99
100
|
const idx = inst[1];
|
100
101
|
const callFunc = funcs.find(x => x.index === idx);
|
101
102
|
if (callFunc) out += ` ;; $${callFunc.name} ${makeSignature(callFunc.params, callFunc.returns)}`;
|
102
|
-
if (
|
103
|
-
const importFunc =
|
103
|
+
if (idx < importedFuncs.length) {
|
104
|
+
const importFunc = importedFuncs[idx];
|
104
105
|
out += ` ;; import ${importFunc.name} ${makeSignature(importFunc.params, importFunc.returns)}`;
|
105
106
|
}
|
106
107
|
}
|
package/compiler/pgo.js
CHANGED
@@ -35,10 +35,10 @@ export const run = obj => {
|
|
35
35
|
time(0, `injecting PGO logging...`);
|
36
36
|
|
37
37
|
let activeFunc = null, abort = false;
|
38
|
-
createImport('profile1',
|
38
|
+
createImport('profile1', [ Valtype.i32 ], 0, n => {
|
39
39
|
activeFunc = n;
|
40
40
|
});
|
41
|
-
createImport('profile2',
|
41
|
+
createImport('profile2', [ Valtype.i32, Valtype.f64 ], 0, (i, n) => {
|
42
42
|
if (activeFunc == null) throw 'fail';
|
43
43
|
localData[activeFunc][i].push(n);
|
44
44
|
});
|
package/compiler/precompile.js
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
import { Opcodes, Valtype } from './wasmSpec.js';
|
2
2
|
import { read_signedLEB128 } from './encoding.js';
|
3
3
|
import { TYPES, TYPE_NAMES } from './types.js';
|
4
|
-
import { createImport } from './builtins.js';
|
4
|
+
import { createImport, importedFuncs } from './builtins.js';
|
5
5
|
import { log } from './log.js';
|
6
6
|
|
7
7
|
createImport('print', 1, 0);
|
@@ -112,7 +112,13 @@ const compile = async (file, _funcs) => {
|
|
112
112
|
if (y[0] === Opcodes.call) {
|
113
113
|
const idx = y[1];
|
114
114
|
const f = funcs.find(x => x.index === idx);
|
115
|
-
if (!f)
|
115
|
+
if (!f) {
|
116
|
+
if (idx < importedFuncs.length) {
|
117
|
+
y.splice(1, 10, importedFuncs[idx].name);
|
118
|
+
}
|
119
|
+
|
120
|
+
continue;
|
121
|
+
}
|
116
122
|
|
117
123
|
y.splice(1, 10, f.name);
|
118
124
|
}
|
package/foo.js
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
console.log(process.argv);
|
package/package.json
CHANGED
package/runtime/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
2
|
import fs from 'node:fs';
|
3
|
-
globalThis.version = '0.57.
|
3
|
+
globalThis.version = '0.57.17';
|
4
4
|
|
5
5
|
// deno compat
|
6
6
|
if (typeof process === 'undefined' && typeof Deno !== 'undefined') {
|
@@ -24,11 +24,8 @@ if (process.argv.includes('--help') || process.argv.includes('-h')) {
|
|
24
24
|
c: [ 94, 'foo.js foo.c', 'Compile to C source code' ],
|
25
25
|
native: [ 94, 'foo.js foo', 'Compile to a native binary' ],
|
26
26
|
|
27
|
-
'
|
28
|
-
|
29
|
-
hotlines: [ 93, 'foo.js', 'View source with line-by-line performance' ],
|
30
|
-
|
31
|
-
'Debug': [],
|
27
|
+
'Analyze': [],
|
28
|
+
profile: [ 93, 'foo.js', 'View detailed func-by-func performance' ],
|
32
29
|
debug: [ 33, 'foo.js', 'Debug the source of a file' ],
|
33
30
|
dissect: [ 33, 'foo.js', 'Debug the compiled Wasm of a file' ],
|
34
31
|
})) {
|
@@ -93,7 +90,7 @@ const done = async () => {
|
|
93
90
|
};
|
94
91
|
|
95
92
|
let file = process.argv.slice(2).find(x => x[0] !== '-');
|
96
|
-
if (['precompile', 'run', 'wasm', 'native', 'c', '
|
93
|
+
if (['precompile', 'run', 'wasm', 'native', 'c', 'profile', 'debug', 'dissect'].includes(file)) {
|
97
94
|
// remove this arg
|
98
95
|
process.argv.splice(process.argv.indexOf(file), 1);
|
99
96
|
|
@@ -102,13 +99,8 @@ if (['precompile', 'run', 'wasm', 'native', 'c', 'flamegraph', 'hotlines', 'debu
|
|
102
99
|
await done();
|
103
100
|
}
|
104
101
|
|
105
|
-
if (file === '
|
106
|
-
await import('./
|
107
|
-
await done();
|
108
|
-
}
|
109
|
-
|
110
|
-
if (file === 'hotlines') {
|
111
|
-
await import('./hotlines.js');
|
102
|
+
if (file === 'profile') {
|
103
|
+
await import('./profile.js');
|
112
104
|
await done();
|
113
105
|
}
|
114
106
|
|
@@ -0,0 +1,248 @@
|
|
1
|
+
#!/usr/bin/env node
|
2
|
+
import { Opcodes, Valtype } from '../compiler/wasmSpec.js';
|
3
|
+
import { number } from '../compiler/encoding.js';
|
4
|
+
import { importedFuncs } from '../compiler/builtins.js';
|
5
|
+
import compile, { createImport } from '../compiler/wrap.js';
|
6
|
+
import fs from 'node:fs';
|
7
|
+
import path from 'node:path';
|
8
|
+
|
9
|
+
const file = process.argv.slice(2).find(x => x[0] !== '-');
|
10
|
+
|
11
|
+
let host = globalThis?.navigator?.userAgent;
|
12
|
+
if (typeof process !== 'undefined' && process.argv0 === 'node') host = 'Node/' + process.versions.node;
|
13
|
+
host ??= 'Unknown';
|
14
|
+
|
15
|
+
const title = process.argv.slice(process.argv.indexOf(file) + 1).find(x => x[0] !== '-') ?? path.basename(file);
|
16
|
+
|
17
|
+
let source = fs.readFileSync(file, 'utf8');
|
18
|
+
|
19
|
+
const samplesFunc = []; // Stores function index for each sample
|
20
|
+
const samplesStart = []; // Stores start timestamp for each sample
|
21
|
+
const samplesEnd = []; // Stores end timestamp for each sample (filled in profile2)
|
22
|
+
let funcLookup = new Map(); // Maps function index to { index, name, internal, ... }
|
23
|
+
let start, end; // Overall start and end time of execution
|
24
|
+
|
25
|
+
// --- Performance Tuning ---
|
26
|
+
const minSampleDurationMs = 0.01; // Ignore samples shorter than this for flame graph hierarchy
|
27
|
+
|
28
|
+
// --- Spinner Globals ---
|
29
|
+
const spinner = ['-', '\\', '|', '/'];
|
30
|
+
let spinIdx = 0;
|
31
|
+
let lastProgressUpdate = 0;
|
32
|
+
const progressUpdateIntervalMs = 500; // Update every 500ms
|
33
|
+
|
34
|
+
// Stack tracking for flamegraph construction
|
35
|
+
let running = new Uint32Array(1024); // Stores indices into samplesFunc/Start/End arrays
|
36
|
+
let runningIdx = 0;
|
37
|
+
|
38
|
+
// --- Profiling Hooks ---
|
39
|
+
createImport('profile1', [ Valtype.i32 ], 0, f => { // pre-call
|
40
|
+
const now = performance.now();
|
41
|
+
samplesStart.push(now);
|
42
|
+
// Store the *index* of the just pushed start time/func id
|
43
|
+
// This index corresponds to the entry in samplesFunc/Start/End
|
44
|
+
const sampleIndex = samplesFunc.push(f) - 1;
|
45
|
+
samplesEnd.push(null); // Placeholder for end time
|
46
|
+
if (runningIdx >= running.length) {
|
47
|
+
// Resize running buffer if needed
|
48
|
+
const newRunning = new Uint32Array(running.length * 2);
|
49
|
+
newRunning.set(running);
|
50
|
+
running = newRunning;
|
51
|
+
}
|
52
|
+
running[runningIdx++] = sampleIndex;
|
53
|
+
});
|
54
|
+
|
55
|
+
createImport('profile2', 0, 0, () => { // post-call
|
56
|
+
const now = performance.now();
|
57
|
+
if (runningIdx > 0) {
|
58
|
+
const sampleIndex = running[--runningIdx];
|
59
|
+
// Only set end time if it hasn't been set (handles potential async overlaps?)
|
60
|
+
if (samplesEnd[sampleIndex] === null) {
|
61
|
+
samplesEnd[sampleIndex] = now;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
// Check if it's time to update progress spinner
|
66
|
+
if (now - lastProgressUpdate > progressUpdateIntervalMs) {
|
67
|
+
lastProgressUpdate = now;
|
68
|
+
const sampleCount = samplesFunc.length;
|
69
|
+
const currentSpinner = spinner[spinIdx++ % spinner.length];
|
70
|
+
const termWidth = process.stdout.columns || 80;
|
71
|
+
const output = `\r${currentSpinner} Running... Samples: ${sampleCount}`;
|
72
|
+
// Write progress, ensuring the rest of the line is cleared
|
73
|
+
process.stdout.write(output + ' '.repeat(Math.max(0, termWidth - output.length - 1)));
|
74
|
+
}
|
75
|
+
});
|
76
|
+
|
77
|
+
// --- Compilation ---
|
78
|
+
Prefs.treeshakeWasmImports = false; // Keep profile imports
|
79
|
+
globalThis.compileCallback = ({ funcs }) => {
|
80
|
+
funcLookup = new Map(); // Reset map
|
81
|
+
for (const x of funcs) {
|
82
|
+
funcLookup.set(x.index, x);
|
83
|
+
|
84
|
+
// Inject profiling calls around existing calls
|
85
|
+
const w = x.wasm;
|
86
|
+
for (let i = 0; i < w.length; i++) {
|
87
|
+
if (w[i][0] === Opcodes.call) {
|
88
|
+
const f = w[i][1];
|
89
|
+
// Don't profile calls to imported funcs (like profile1/2 itself)
|
90
|
+
if (f < importedFuncs.length) continue;
|
91
|
+
|
92
|
+
// Inject profile2 *after* the call
|
93
|
+
w.splice(i + 1, 0, [ Opcodes.call, importedFuncs.profile2 ]);
|
94
|
+
// Inject function index push and profile1 *before* the call
|
95
|
+
w.splice(i, 0, number(f, Valtype.i32), [ Opcodes.call, importedFuncs.profile1 ]);
|
96
|
+
i += 3; // Skip the 3 instructions we just added
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
};
|
101
|
+
|
102
|
+
console.log('Compiling...');
|
103
|
+
const { exports } = compile(source, undefined, {}, () => {});
|
104
|
+
|
105
|
+
// --- Execution with Progress Spinner ---
|
106
|
+
|
107
|
+
console.log('Starting execution...');
|
108
|
+
// Initial placeholder message
|
109
|
+
const initialMsg = "Running... (waiting for first samples)";
|
110
|
+
const termWidthInitial = process.stdout.columns || 80;
|
111
|
+
process.stdout.write('\r' + initialMsg + ' '.repeat(Math.max(0, termWidthInitial - initialMsg.length -1)));
|
112
|
+
|
113
|
+
start = performance.now();
|
114
|
+
|
115
|
+
try {
|
116
|
+
exports.main();
|
117
|
+
} finally {
|
118
|
+
// Clear the spinner line
|
119
|
+
const termWidthFinal = process.stdout.columns || 80;
|
120
|
+
process.stdout.write('\r' + ' '.repeat(termWidthFinal) + '\r');
|
121
|
+
}
|
122
|
+
|
123
|
+
end = performance.now();
|
124
|
+
console.log(`Execution finished in ${(end - start).toFixed(2)}ms`);
|
125
|
+
|
126
|
+
// --- Data Processing ---
|
127
|
+
|
128
|
+
const totalDuration = end - start;
|
129
|
+
// const processedSamples = []; // Remove: We'll create a filtered list directly
|
130
|
+
const filteredSamples = []; // Samples that meet the duration threshold for the flame graph
|
131
|
+
const funcStats = new Map(); // { index -> { total: 0, count: 0, min: Infinity, max: -Infinity, name: '', internal: false }}
|
132
|
+
|
133
|
+
// Process raw samples: Calculate stats for all, filter for flame graph
|
134
|
+
console.log(`Processing ${samplesFunc.length} raw samples...`);
|
135
|
+
let samplesBelowThreshold = 0;
|
136
|
+
for (let i = 0; i < samplesFunc.length; i++) {
|
137
|
+
const funcIndex = samplesFunc[i];
|
138
|
+
const func = funcLookup.get(funcIndex);
|
139
|
+
const funcName = func ? func.name : `unknown_${funcIndex}`;
|
140
|
+
const isInternal = func ? !!func.internal : false; // Read internal flag
|
141
|
+
const startTime = samplesStart[i];
|
142
|
+
const endTime = samplesEnd[i] === null ? end : samplesEnd[i]; // Cap duration
|
143
|
+
const duration = endTime - startTime;
|
144
|
+
|
145
|
+
if (duration < 0) continue; // Skip potentially erroneous samples
|
146
|
+
|
147
|
+
// --- Update function stats (always do this) ---
|
148
|
+
if (!funcStats.has(funcIndex)) {
|
149
|
+
funcStats.set(funcIndex, { total: 0, count: 0, min: Infinity, max: -Infinity, name: funcName, internal: isInternal }); // Store internal flag
|
150
|
+
}
|
151
|
+
const stats = funcStats.get(funcIndex);
|
152
|
+
stats.total += duration;
|
153
|
+
stats.count++;
|
154
|
+
if (duration < stats.min) stats.min = duration;
|
155
|
+
if (duration > stats.max) stats.max = duration;
|
156
|
+
|
157
|
+
// --- Filter samples for flame graph hierarchy ---
|
158
|
+
if (duration >= minSampleDurationMs) {
|
159
|
+
filteredSamples.push({
|
160
|
+
// Only store data needed for buildHierarchy
|
161
|
+
name: funcName,
|
162
|
+
start: startTime - start, // Relative to overall start
|
163
|
+
end: endTime - start, // Relative to overall start
|
164
|
+
duration: duration,
|
165
|
+
internal: isInternal // Store internal flag for flamegraph nodes
|
166
|
+
});
|
167
|
+
} else {
|
168
|
+
samplesBelowThreshold++;
|
169
|
+
}
|
170
|
+
}
|
171
|
+
console.log(`Filtered out ${samplesBelowThreshold} samples shorter than ${minSampleDurationMs}ms.`);
|
172
|
+
console.log(`Building hierarchy from ${filteredSamples.length} samples...`);
|
173
|
+
|
174
|
+
// --- d3-flame-graph Data Generation ---
|
175
|
+
// Requires a hierarchical structure: { name: 'root', value: total, children: [...] }
|
176
|
+
// where value represents the total time (inclusive of children)
|
177
|
+
function buildHierarchy(samples) {
|
178
|
+
if (!samples || samples.length === 0) {
|
179
|
+
return { name: path.basename(file), value: 0, children: [], internal: false }; // Root is not internal
|
180
|
+
}
|
181
|
+
|
182
|
+
// Sort primarily by start time, secondarily by end time descending (parents first)
|
183
|
+
samples.sort((a, b) => a.start - b.start || b.end - a.end);
|
184
|
+
|
185
|
+
const root = { name: path.basename(file), value: 0, children: [], internal: false }; // Root is not internal
|
186
|
+
root.startTime = 0;
|
187
|
+
root.endTime = totalDuration;
|
188
|
+
const stack = [{ node: root, startTime: root.startTime, endTime: root.endTime }]; // Consistent structure
|
189
|
+
|
190
|
+
for (const sample of samples) {
|
191
|
+
// Pass internal flag from filteredSample to newNode
|
192
|
+
const newNode = { name: sample.name, value: sample.duration, children: [], internal: sample.internal };
|
193
|
+
const sampleStartTime = sample.start;
|
194
|
+
const sampleEndTime = sample.end;
|
195
|
+
|
196
|
+
// Pop stack until parent is found
|
197
|
+
// Parent must start before or at the same time, and end after or at the same time
|
198
|
+
// Accessing .startTime and .endTime on stack elements is correct here
|
199
|
+
while (stack.length > 1 && (stack[stack.length - 1].startTime > sampleStartTime || stack[stack.length - 1].endTime < sampleEndTime)) {
|
200
|
+
stack.pop();
|
201
|
+
}
|
202
|
+
|
203
|
+
const parent = stack[stack.length - 1];
|
204
|
+
parent.node.children.push(newNode); // Correctly access children via parent.node
|
205
|
+
|
206
|
+
// Add node to stack with its *graph node* reference and end time
|
207
|
+
stack.push({ node: newNode, startTime: sampleStartTime, endTime: sampleEndTime });
|
208
|
+
}
|
209
|
+
|
210
|
+
// d3-flamegraph expects `value` to be inclusive time, but we provide durations.
|
211
|
+
// The library handles the aggregation based on children, so we just pass the duration.
|
212
|
+
// Let's ensure root value is the total duration if samples don't cover it
|
213
|
+
// root.value = Math.max(root.value, samples.reduce((sum, s) => sum + s.duration, 0)); // Remove: Not needed with selfValue(true)
|
214
|
+
|
215
|
+
return root;
|
216
|
+
}
|
217
|
+
|
218
|
+
const d3FlameGraphData = buildHierarchy(filteredSamples);
|
219
|
+
|
220
|
+
// --- Bar Chart Data Generation (remains the same) ---
|
221
|
+
const barChartData = Array.from(funcStats.values())
|
222
|
+
.map(stats => ({
|
223
|
+
name: stats.name,
|
224
|
+
total: stats.total,
|
225
|
+
min: stats.min === Infinity ? 0 : stats.min,
|
226
|
+
max: stats.max === -Infinity ? 0 : stats.max,
|
227
|
+
avg: stats.count > 0 ? stats.total / stats.count : 0,
|
228
|
+
count: stats.count,
|
229
|
+
internal: stats.internal // Include internal flag from funcStats
|
230
|
+
}))
|
231
|
+
.sort((a, b) => b.total - a.total) // Sort by total time descending
|
232
|
+
.slice(0, 50); // Limit to top 50 functions
|
233
|
+
|
234
|
+
console.log('uploading...');
|
235
|
+
const { id } = await (await fetch('https://profile.porffor.dev', {
|
236
|
+
method: 'POST',
|
237
|
+
headers: {
|
238
|
+
'Content-Type': 'application/json'
|
239
|
+
},
|
240
|
+
body: JSON.stringify({
|
241
|
+
flame: d3FlameGraphData,
|
242
|
+
chart: barChartData,
|
243
|
+
title,
|
244
|
+
subtitle: `Porffor ${globalThis.version} on ${host.replace('/', ' ')} | ${new Date().toISOString().slice(0, -8).replace('T', ' ')}\n${totalDuration.toFixed(2)}ms | ${samplesFunc.length} samples`
|
245
|
+
})
|
246
|
+
})).json();
|
247
|
+
console.log(`https://profile.porffor.dev/${id}`);
|
248
|
+
process.exit(0);
|
package/runtime/flamegraph.js
DELETED
@@ -1,203 +0,0 @@
|
|
1
|
-
#!/usr/bin/env node
|
2
|
-
import { Opcodes, Valtype } from '../compiler/wasmSpec.js';
|
3
|
-
import { number } from '../compiler/encoding.js';
|
4
|
-
import { importedFuncs } from '../compiler/builtins.js';
|
5
|
-
import compile, { createImport } from '../compiler/wrap.js';
|
6
|
-
import fs from 'node:fs';
|
7
|
-
|
8
|
-
const file = process.argv.slice(2).find(x => x[0] !== '-');
|
9
|
-
let source = fs.readFileSync(file, 'utf8');
|
10
|
-
|
11
|
-
const samplesFunc = [];
|
12
|
-
const samplesStart = [];
|
13
|
-
const samplesEnd = [];
|
14
|
-
|
15
|
-
const termWidth = process.stdout.columns || 80;
|
16
|
-
const termHeight = process.stdout.rows || 24;
|
17
|
-
|
18
|
-
let start, end;
|
19
|
-
const noAnsi = s => s.replace(/\u001b\[[0-9]+m/g, '');
|
20
|
-
const controls = {
|
21
|
-
};
|
22
|
-
|
23
|
-
const controlInfo = Object.keys(controls).reduce((acc, x, i) => acc + `\x1B[45m\x1B[97m${x}\x1b[105m\x1b[37m ${controls[x]} `, '');
|
24
|
-
const plainControlInfo = noAnsi(controlInfo);
|
25
|
-
|
26
|
-
const spinner = ['-', '\\', '|', '/'];
|
27
|
-
let spin = 0;
|
28
|
-
|
29
|
-
const onExit = () => {
|
30
|
-
process.stdout.write('\x1b[1;1H\x1b[J');
|
31
|
-
};
|
32
|
-
// process.on('exit', onExit);
|
33
|
-
// process.on('SIGINT', onExit);
|
34
|
-
|
35
|
-
let lastRenderTime = 0;
|
36
|
-
const render = () => {
|
37
|
-
const renderStart = performance.now();
|
38
|
-
process.stdout.write('\x1b[?2026h\x1b[1;1H\x1b[J\x1b[?25l');
|
39
|
-
|
40
|
-
let text = ' ';
|
41
|
-
if (!end) {
|
42
|
-
text += `${spinner[spin++ % 4]} `;
|
43
|
-
} else {
|
44
|
-
text += ' ';
|
45
|
-
}
|
46
|
-
|
47
|
-
const now = performance.now();
|
48
|
-
const realEnd = end ?? now;
|
49
|
-
const total = realEnd - start;
|
50
|
-
const _total = total;
|
51
|
-
text += `${total.toFixed(0)}ms`;
|
52
|
-
|
53
|
-
const samples = samplesFunc.length;
|
54
|
-
text += `${' '.repeat(12 - text.length)}┃ samples: ${samples}`;
|
55
|
-
text += `${' '.repeat(32 - text.length)}┃ render: ${lastRenderTime.toFixed(2)}ms`;
|
56
|
-
|
57
|
-
if (end != null || Prefs.live) {
|
58
|
-
const btHeight = 40;
|
59
|
-
const fgBottom = termHeight - btHeight - 10;
|
60
|
-
|
61
|
-
let lastEnds = [];
|
62
|
-
let timelineEnd = total;
|
63
|
-
|
64
|
-
const xScale = x => 1 + (((x - start) / timelineEnd) * (termWidth - 2));
|
65
|
-
const draw = (func, start, end, running = false) => {
|
66
|
-
let depth = lastEnds.length;
|
67
|
-
lastEnds.push(end);
|
68
|
-
|
69
|
-
let color = '103';
|
70
|
-
if (func.internal) color = '105';
|
71
|
-
|
72
|
-
start = xScale(start) | 0;
|
73
|
-
|
74
|
-
end = xScale(end) | 0;
|
75
|
-
if (end >= termWidth) end = termWidth - 1;
|
76
|
-
|
77
|
-
const width = end - start;
|
78
|
-
if (start >= termWidth || width === 0) return;
|
79
|
-
|
80
|
-
let text = func.name;
|
81
|
-
if (text.length > width) text = width < 5 ? ' '.repeat(width) : (text.slice(0, width - 1) + '…');
|
82
|
-
if (text.length < width) text += ' '.repeat(width - text.length);
|
83
|
-
|
84
|
-
let y = fgBottom - depth;
|
85
|
-
process.stdout.write(`\x1b[${1 + y};${1 + start}H\x1b[51m\x1b[30m\x1b[${color}m${text}`);
|
86
|
-
};
|
87
|
-
|
88
|
-
const funcTotalTaken = new Map(), funcMeta = new Map();
|
89
|
-
for (let i = 0; i < samples; i++) {
|
90
|
-
const func = funcLookup.get(samplesFunc[i]);
|
91
|
-
const start = samplesStart[i];
|
92
|
-
const end = samplesEnd[i] ?? now;
|
93
|
-
|
94
|
-
// DD
|
95
|
-
// BBCCEE
|
96
|
-
// AAAAAAAA FFFF
|
97
|
-
while (start > lastEnds.at(-1)) lastEnds.pop();
|
98
|
-
|
99
|
-
draw(func, start, end);
|
100
|
-
|
101
|
-
if (end == now) continue;
|
102
|
-
const taken = end - start;
|
103
|
-
funcTotalTaken.set(func.index, (funcTotalTaken.get(func.index) ?? 0) + taken);
|
104
|
-
|
105
|
-
if (!funcMeta.has(func.index)) funcMeta.set(func.index, [0, Infinity, -Infinity]);
|
106
|
-
const meta = funcMeta.get(func.index);
|
107
|
-
meta[0]++;
|
108
|
-
|
109
|
-
if (meta[1] > taken) meta[1] = taken;
|
110
|
-
if (taken > meta[2]) meta[2] = taken;
|
111
|
-
}
|
112
|
-
|
113
|
-
process.stdout.write(`\x1b[${termHeight - btHeight};1H\x1b[0m\x1b[90m${'▁'.repeat(termWidth)}\n`);
|
114
|
-
|
115
|
-
(() => {
|
116
|
-
const perTime = 18;
|
117
|
-
let text = ' ' + 'name';
|
118
|
-
text += `${' '.repeat(60 - text.length)}┃ total`;
|
119
|
-
text += `${' '.repeat(60 + 5 + perTime - text.length)}┃ min`;
|
120
|
-
text += `${' '.repeat(60 + 5 + (perTime * 2) - text.length)}┃ avg`;
|
121
|
-
text += `${' '.repeat(60 + 5 + (perTime * 3) - text.length)}┃ max`;
|
122
|
-
text += `${' '.repeat(60 + 5 + (perTime * 4) - text.length)}┃ count`;
|
123
|
-
process.stdout.write(`\x1b[0m\x1b[2m${text.replaceAll('┃', '\x1b[0m\x1b[90m┃\x1b[0m\x1b[2m')}${' '.repeat(termWidth - text.length)}\x1b[0m`);
|
124
|
-
})();
|
125
|
-
|
126
|
-
const topTakenFuncs = [...funcTotalTaken.keys()].sort((a, b) => funcTotalTaken.get(b) - funcTotalTaken.get(a));
|
127
|
-
for (let i = 0; i < btHeight - 2; i++) {
|
128
|
-
const func = funcLookup.get(topTakenFuncs[i]);
|
129
|
-
if (!func) continue;
|
130
|
-
|
131
|
-
const total = funcTotalTaken.get(func.index);
|
132
|
-
const [ count, min, max ] = funcMeta.get(func.index);
|
133
|
-
const avg = total / count;
|
134
|
-
|
135
|
-
const perTime = 18;
|
136
|
-
let text = ' \x1b[1m' + func.name + '\x1b[22m';
|
137
|
-
text += `${' '.repeat(69 - text.length)}┃ ${total.toFixed(2)}ms`;
|
138
|
-
text += `${' '.repeat(69 + perTime - text.length)}${((total / _total) * 100).toFixed(0)}%`;
|
139
|
-
text += `${' '.repeat(69 + 5 + perTime - text.length)}┃ ${min.toFixed(2)}ms`;
|
140
|
-
text += `${' '.repeat(69 + 5 + (perTime * 2) - text.length)}┃ ${avg.toFixed(2)}ms`;
|
141
|
-
text += `${' '.repeat(69 + 5 + (perTime * 3) - text.length)}┃ ${max.toFixed(2)}ms`;
|
142
|
-
text += `${' '.repeat(69 + 5 + (perTime * 4) - text.length)}┃ ${count}`;
|
143
|
-
process.stdout.write(`\x1b[${termHeight - btHeight + 2 + i};1H\x1b[0m${text.replaceAll('┃', '\x1b[90m┃\x1b[0m').replaceAll(/(\.[0-9][0-9])ms/g, '\x1b[2m$1ms\x1b[22m').replaceAll('%', '\x1b[2m%\x1b[22m')}${' '.repeat(termWidth - noAnsi(text).length)}`);
|
144
|
-
}
|
145
|
-
}
|
146
|
-
|
147
|
-
process.stdout.write(`\x1b[${termHeight};1H\x1b[107m\x1b[30m${text}${' '.repeat(termWidth - plainControlInfo.length - noAnsi(text).length - 1)}${controlInfo} \x1b[0m\x1b[?2026l`);
|
148
|
-
lastRenderTime = performance.now() - renderStart;
|
149
|
-
};
|
150
|
-
|
151
|
-
createImport('profile1', 1, 0, f => { // pre-call
|
152
|
-
samplesStart.push(performance.now());
|
153
|
-
running[runningIdx++] = samplesFunc.push(f) - 1;
|
154
|
-
});
|
155
|
-
createImport('profile2', 1, 0, f => { // post-call
|
156
|
-
const now = performance.now();
|
157
|
-
samplesEnd[running[--runningIdx]] = now;
|
158
|
-
|
159
|
-
if (now > last) {
|
160
|
-
last = now + 500;
|
161
|
-
render();
|
162
|
-
}
|
163
|
-
});
|
164
|
-
|
165
|
-
Prefs.treeshakeWasmImports = false;
|
166
|
-
let funcLookup = new Map();
|
167
|
-
globalThis.compileCallback = ({ funcs }) => {
|
168
|
-
for (const x of funcs) {
|
169
|
-
funcLookup.set(x.index, x);
|
170
|
-
|
171
|
-
const w = x.wasm;
|
172
|
-
for (let i = 0; i < w.length; i++) {
|
173
|
-
if (w[i][0] === Opcodes.call) {
|
174
|
-
const f = w[i][1];
|
175
|
-
if (f < importedFuncs.length) continue;
|
176
|
-
|
177
|
-
let local;
|
178
|
-
if (x.locals['#profile_tmp']) {
|
179
|
-
local = x.locals['#profile_tmp'].idx;
|
180
|
-
} else {
|
181
|
-
local = x.localInd++;
|
182
|
-
x.locals['#profile_tmp'] = { idx: local, type: Valtype.f64 };
|
183
|
-
}
|
184
|
-
|
185
|
-
w.splice(i + 1, 0, number(f, Valtype.i32), [ Opcodes.call, importedFuncs.profile2 ]);
|
186
|
-
w.splice(i, 0, number(f, Valtype.i32), [ Opcodes.call, importedFuncs.profile1 ]);
|
187
|
-
i += 4;
|
188
|
-
}
|
189
|
-
}
|
190
|
-
}
|
191
|
-
};
|
192
|
-
|
193
|
-
let last = 0;
|
194
|
-
let running = new Uint32Array(1024), runningIdx = 0;
|
195
|
-
const { exports } = compile(source, undefined, {}, () => {});
|
196
|
-
|
197
|
-
start = performance.now();
|
198
|
-
render();
|
199
|
-
|
200
|
-
exports.main();
|
201
|
-
end = performance.now();
|
202
|
-
|
203
|
-
render();
|
package/runtime/hotlines.js
DELETED
@@ -1,71 +0,0 @@
|
|
1
|
-
#!/usr/bin/env node
|
2
|
-
import compile, { createImport } from '../compiler/wrap.js';
|
3
|
-
import fs from 'node:fs';
|
4
|
-
|
5
|
-
const file = process.argv.slice(2).find(x => x[0] !== '-');
|
6
|
-
let source = fs.readFileSync(file, 'utf8');
|
7
|
-
|
8
|
-
let profileId = 0;
|
9
|
-
source = source.replace(/^[^\n}]*;$/mg, _ => `profile1(Porffor.wasm.i32.const(${profileId}));${_}profile2(Porffor.wasm.i32.const(${profileId++}));`)
|
10
|
-
|
11
|
-
let tmp = new Array(profileId).fill(0);
|
12
|
-
let times = new Array(profileId).fill(0);
|
13
|
-
let samples = 0;
|
14
|
-
|
15
|
-
const percents = process.argv.includes('-%');
|
16
|
-
|
17
|
-
const spinner = ['-', '\\', '|', '/'];
|
18
|
-
let spin = 0;
|
19
|
-
let last = 0;
|
20
|
-
|
21
|
-
createImport('profile1', 1, 0, n => {
|
22
|
-
tmp[n] = performance.now();
|
23
|
-
});
|
24
|
-
createImport('profile2', 1, 0, n => {
|
25
|
-
const t = performance.now();
|
26
|
-
times[n] += t - tmp[n];
|
27
|
-
|
28
|
-
samples++;
|
29
|
-
if (t > last) {
|
30
|
-
process.stdout.write(`\r${spinner[spin++ % 4]} running: collected ${samples} samples...`);
|
31
|
-
last = t + 100;
|
32
|
-
}
|
33
|
-
})
|
34
|
-
|
35
|
-
try {
|
36
|
-
const { exports } = compile(source, undefined);
|
37
|
-
const start = performance.now();
|
38
|
-
exports.main();
|
39
|
-
|
40
|
-
const total = performance.now() - start;
|
41
|
-
console.log(`\ntotal: ${total}ms\nsamples: ${samples}\n\n\n` + source.split('\n').map(x => {
|
42
|
-
let time = 0;
|
43
|
-
if (x.startsWith('profile')) {
|
44
|
-
const id = parseInt(x.slice(32, x.indexOf(')')));
|
45
|
-
time = times[id]
|
46
|
-
}
|
47
|
-
|
48
|
-
let color = [ 0, 0, 0 ];
|
49
|
-
if (time) {
|
50
|
-
let relativeTime = time / total;
|
51
|
-
if (percents) time = relativeTime;
|
52
|
-
|
53
|
-
relativeTime = Math.sqrt(relativeTime);
|
54
|
-
color = [ (relativeTime * 250) | 0, (Math.sin(relativeTime * Math.PI) * 50) | 0, 0 ];
|
55
|
-
}
|
56
|
-
|
57
|
-
const ansiColor = `2;${color[0]};${color[1]};${color[2]}m`;
|
58
|
-
|
59
|
-
const line = x.replace(/profile[0-9]\(Porffor.wasm.i32.const\([0-9]+\)\);/g, '');
|
60
|
-
|
61
|
-
if (percents) return `\x1b[48;${ansiColor}\x1b[97m${time ? ((time * 100).toFixed(0).padStart(4, ' ') + '%') : ' '}\x1b[0m\x1b[38;${ansiColor}▌\x1b[0m ${line}`;
|
62
|
-
|
63
|
-
let digits = 2;
|
64
|
-
if (time >= 100) digits = 1;
|
65
|
-
if (time >= 1000) digits = 0;
|
66
|
-
|
67
|
-
return `\x1b[48;${ansiColor}\x1b[97m${time ? time.toFixed(digits).padStart(6, ' ') : ' '}\x1b[0m\x1b[38;${ansiColor}▌\x1b[0m ${line}`;
|
68
|
-
}).join('\n'));
|
69
|
-
} catch (e) {
|
70
|
-
console.error(e);
|
71
|
-
}
|