viztracer 1.0.4__cp313-cp313t-macosx_11_0_arm64.whl → 1.1.0__cp313-cp313t-macosx_11_0_arm64.whl
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.
Potentially problematic release.
This version of viztracer might be problematic. Click here for more details.
- viztracer/__init__.py +1 -1
- viztracer/code_monkey.py +10 -13
- viztracer/decorator.py +9 -12
- viztracer/event_base.py +2 -2
- viztracer/functree.py +7 -7
- viztracer/main.py +9 -13
- viztracer/modules/snaptrace.c +14 -12
- viztracer/modules/util.c +1 -5
- viztracer/modules/vcompressor/vc_dump.c +4 -24
- viztracer/modules/vcompressor/vcompressor.c +13 -13
- viztracer/patch.py +10 -6
- viztracer/report_builder.py +8 -8
- viztracer/snaptrace.cpython-313t-darwin.so +0 -0
- viztracer/snaptrace.pyi +8 -8
- viztracer/util.py +1 -2
- viztracer/vcompressor.cpython-313t-darwin.so +0 -0
- viztracer/viewer.py +5 -5
- viztracer/vizlogging.py +1 -2
- viztracer/vizplugin.py +3 -3
- viztracer/viztracer.py +16 -16
- viztracer/web_dist/index.html +1 -1
- viztracer/web_dist/service_worker.js +103 -1
- viztracer/web_dist/trace_processor +32 -31
- viztracer/web_dist/v52.0-6b9586def/assets/MaterialSymbolsOutlined.woff2 +0 -0
- viztracer/web_dist/v52.0-6b9586def/engine_bundle.js +3 -0
- viztracer/web_dist/v52.0-6b9586def/frontend_bundle.js +5495 -0
- viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/manifest.json +10 -8
- viztracer/web_dist/v52.0-6b9586def/perfetto.css +5737 -0
- viztracer/web_dist/v52.0-6b9586def/stdlib_docs.json +1 -0
- viztracer/web_dist/v52.0-6b9586def/trace_config_utils.wasm +0 -0
- viztracer/web_dist/{v47.0-02b2414d5/traceconv.wasm → v52.0-6b9586def/trace_processor.wasm} +0 -0
- viztracer/web_dist/v52.0-6b9586def/trace_processor_memory64.wasm +0 -0
- viztracer/web_dist/{v47.0-02b2414d5/trace_processor.wasm → v52.0-6b9586def/traceconv.wasm} +0 -0
- viztracer/web_dist/v52.0-6b9586def/traceconv_bundle.js +2 -0
- viztracer-1.1.0.dist-info/METADATA +316 -0
- viztracer-1.1.0.dist-info/RECORD +106 -0
- {viztracer-1.0.4.dist-info → viztracer-1.1.0.dist-info}/WHEEL +1 -1
- viztracer/web_dist/v47.0-02b2414d5/assets/._MaterialSymbolsOutlined.woff2 +0 -0
- viztracer/web_dist/v47.0-02b2414d5/assets/MaterialSymbolsOutlined.woff2 +0 -0
- viztracer/web_dist/v47.0-02b2414d5/engine_bundle.js +0 -3
- viztracer/web_dist/v47.0-02b2414d5/frontend_bundle.js +0 -4994
- viztracer/web_dist/v47.0-02b2414d5/perfetto.css +0 -5133
- viztracer/web_dist/v47.0-02b2414d5/traceconv_bundle.js +0 -2
- viztracer-1.0.4.dist-info/METADATA +0 -537
- viztracer-1.0.4.dist-info/RECORD +0 -104
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/Roboto-100.woff2 +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/Roboto-300.woff2 +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/Roboto-400.woff2 +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/Roboto-500.woff2 +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/RobotoCondensed-Light.woff2 +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/RobotoCondensed-Regular.woff2 +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/RobotoMono-Regular.woff2 +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/brand.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/catapult_trace_viewer.html +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/catapult_trace_viewer.js +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/favicon.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/logo-128.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/logo-3d.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/rec_atrace.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/rec_battery_counters.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/rec_board_voltage.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/rec_cpu_coarse.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/rec_cpu_fine.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/rec_cpu_freq.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/rec_cpu_voltage.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/rec_frame_timeline.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/rec_ftrace.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/rec_gpu_mem_total.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/rec_java_heap_dump.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/rec_lmk.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/rec_logcat.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/rec_long_trace.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/rec_mem_hifreq.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/rec_meminfo.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/rec_native_heap_profiler.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/rec_one_shot.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/rec_profiling.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/rec_ps_stats.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/rec_ring_buf.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/rec_syscalls.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/rec_vmstat.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/scheduling_latency.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/assets/vscode-icon.png +0 -0
- /viztracer/web_dist/{v47.0-02b2414d5 → v52.0-6b9586def}/index.html +0 -0
- {viztracer-1.0.4.dist-info → viztracer-1.1.0.dist-info}/entry_points.txt +0 -0
- {viztracer-1.0.4.dist-info → viztracer-1.1.0.dist-info}/licenses/LICENSE +0 -0
- {viztracer-1.0.4.dist-info → viztracer-1.1.0.dist-info}/licenses/NOTICE.txt +0 -0
- {viztracer-1.0.4.dist-info → viztracer-1.1.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
viztracer/report_builder.py,sha256=CGQ0czLrPDDh6m6MFGArRM1Ewnpbm1KQL2iuUYDLwFA,14186
|
|
2
|
+
viztracer/patch.py,sha256=1KYYrgdDbVfiUux_lv6a-4uCQszS-AdQlhL2u5KD2X4,12460
|
|
3
|
+
viztracer/viewer.py,sha256=A_ZUybPYmEgL0aLIqmj4sR4xAtjwhW-bLz0r6CuJfbE,19682
|
|
4
|
+
viztracer/vizevent.py,sha256=5fKdUp1RDx5SescpffDNvDaV2SaF8H1WgNuvk2ybujY,971
|
|
5
|
+
viztracer/vizplugin.py,sha256=SzoA3skl7cLtgJDtMogUzqn7Yb-C8HGZ1La_jqooEVI,5339
|
|
6
|
+
viztracer/util.py,sha256=s4T0h8jA3Ny4QcHDXbMPGGRNUXXyAcYqLgPR0bk8yUo,6100
|
|
7
|
+
viztracer/decorator.py,sha256=XhNMxdMM1qs5W22B5sBIbOWtZahHYTLOc0TKtTZhxH4,5699
|
|
8
|
+
viztracer/snaptrace.pyi,sha256=a7z19WnUa2MPFdEZOpd_fUHL7IizrP4P0uk8QFMuVhA,1793
|
|
9
|
+
viztracer/attach.py,sha256=VsEE3G_mpqMkiGwWiV0kNPe7VMlG_cjiOr8opDRiUAI,1991
|
|
10
|
+
viztracer/viztracer.py,sha256=RcZ59vkeOwYHcjuaum8R7eObH1dTT8WYrDGEImVi558,17851
|
|
11
|
+
viztracer/__init__.py,sha256=Apna-Ca9rtndiVHRUy54Qc8UWigwbGbE9HMhl9dzti8,507
|
|
12
|
+
viztracer/vizcounter.py,sha256=aqTTg0FxYE82fn__TXF_Mk3nU9Sbn5N3P1AdlSwV7bg,793
|
|
13
|
+
viztracer/snaptrace.cpython-313t-darwin.so,sha256=P9nFJ6GSjzL2Xx0jWetPmfSZGpDEAFDWbGh1o5Ly1iM,103200
|
|
14
|
+
viztracer/functree.py,sha256=KKkGrqf5L4L4c2PC_zX6QVqwlF8SxRID4UOZaI5wOaI,5188
|
|
15
|
+
viztracer/vizlogging.py,sha256=cyrkW2sAWvG5z1n-OGI_eZMgS1N9ADFkqapHu6XWamM,668
|
|
16
|
+
viztracer/vizobject.py,sha256=vBoPBIzCIYb6yCrLTzsSdPNAtN3fprD1Yd7a36Tlccs,1240
|
|
17
|
+
viztracer/vcompressor.pyi,sha256=6F6W8rREivfR1G4WI20xd50mSoayX9DkEf2Wi43-k-A,320
|
|
18
|
+
viztracer/cellmagic.py,sha256=SLibORC1-Rjk2a66IIMMuV-Q6Rotg-4FaawzGH0oWIM,3365
|
|
19
|
+
viztracer/vcompressor.cpython-313t-darwin.so,sha256=Ohc9-pLsrXCI0FhHoMTwCqIDX8ydiedy3Y5DX4AGKPk,74496
|
|
20
|
+
viztracer/event_base.py,sha256=4embca1Ixlb_baUZD3MfFTvuKoy7y_zhHI9uq3eomL8,3130
|
|
21
|
+
viztracer/main.py,sha256=cY8wj0IDnWBC3af7TEqHz9d2CQCt7YV1VUFWYKyBrtI,31837
|
|
22
|
+
viztracer/__main__.py,sha256=-hhsTtiwE9cbgOj7DJGOaTJC8URmcRdicHRMSp4SnPo,226
|
|
23
|
+
viztracer/code_monkey.py,sha256=jJrV4OWgYaCZyMe6Jk4jP8S6ck6pG5gBDZ_dxeXscGU,15279
|
|
24
|
+
viztracer/web_dist/index.html,sha256=JwShy-t2ZMoxepYiNy6P9zlqnDznzmKjTHqL4R4RHGw,5790
|
|
25
|
+
viztracer/web_dist/LICENSE,sha256=AFZNSXZCRl1_ltEJ84_xRJl_CrwE7xZ0EPaxcq1eks0,10689
|
|
26
|
+
viztracer/web_dist/trace_processor,sha256=UnCsCv2uYj_dVlz3X3DKEDCIBUopUt1hp1YZDZY7HFc,9969
|
|
27
|
+
viztracer/web_dist/service_worker.js,sha256=DvLmJNi6FjTi3E5vrgEOXpx8OLMTCd1BzaoIwvlXR_s,12645
|
|
28
|
+
viztracer/web_dist/v52.0-6b9586def/trace_config_utils.wasm,sha256=7PudCwYae1bJ-LY5OEpAadObFt0OrL_SMIkMr62RF0k,282563
|
|
29
|
+
viztracer/web_dist/v52.0-6b9586def/index.html,sha256=uYT4NcrZQZP1BFcs_jLhErQDBimxtw0QF7u_XLoSuJQ,5788
|
|
30
|
+
viztracer/web_dist/v52.0-6b9586def/engine_bundle.js,sha256=3ObvzL_GjG_zInv607M-Z7FrfVlggL-ABQLRpRUnXlU,149562
|
|
31
|
+
viztracer/web_dist/v52.0-6b9586def/traceconv_bundle.js,sha256=NlQQPSgaAWk6FmyLciy5Rn6sqmnuiwrB4tfiEOMLrnM,82747
|
|
32
|
+
viztracer/web_dist/v52.0-6b9586def/trace_processor.wasm,sha256=rvrrDt8QKu8UCFVO0gOrFWJmyPMinjMb2Qlzj96DDG0,11035445
|
|
33
|
+
viztracer/web_dist/v52.0-6b9586def/frontend_bundle.js,sha256=4xzS78czrt9Jx5sXeTG0QE9O96vqn9aMSfl_vR3_LpU,4525689
|
|
34
|
+
viztracer/web_dist/v52.0-6b9586def/trace_processor_memory64.wasm,sha256=lgBGbazd_BX2W8psbfLY1pez13yGOwxUPh3aaSVb7eE,11382228
|
|
35
|
+
viztracer/web_dist/v52.0-6b9586def/stdlib_docs.json,sha256=9Uy7Z6_cKDt2QorslGxemxPLzcJN28gauQ6HiiXO8Lg,507808
|
|
36
|
+
viztracer/web_dist/v52.0-6b9586def/perfetto.css,sha256=Jvr_xblggJysIFR3K8mVRiQ3So1zS736xyIFbjUeonw,140274
|
|
37
|
+
viztracer/web_dist/v52.0-6b9586def/manifest.json,sha256=kxJ_TVpUICHT0RF5GBJ2uAvxmvgSEBs_zjotiBHItqM,4196
|
|
38
|
+
viztracer/web_dist/v52.0-6b9586def/traceconv.wasm,sha256=onD_VSua-WxmGMnpqT8nmleM3bB8O6ZbDAUdKAnFu9U,11204359
|
|
39
|
+
viztracer/web_dist/v52.0-6b9586def/assets/MaterialSymbolsOutlined.woff2,sha256=-wJwsRRT-mS8qIFxOCzr9-SL0N-L6U0lLJSLl1Bfbm8,3738856
|
|
40
|
+
viztracer/web_dist/v52.0-6b9586def/assets/scheduling_latency.png,sha256=o08K-ewOuGio7sBa83hTtd1_rJZU7M_nYvF927TLyWI,5446
|
|
41
|
+
viztracer/web_dist/v52.0-6b9586def/assets/logo-128.png,sha256=XitC0usT0U7vEJBZwae257GKyY75m56_26Fii2mnnKo,12078
|
|
42
|
+
viztracer/web_dist/v52.0-6b9586def/assets/rec_lmk.png,sha256=KMgNuukjCxcUogqUFqCWPPxhZ3vDdFr8U9GSUdN6Clc,12519
|
|
43
|
+
viztracer/web_dist/v52.0-6b9586def/assets/rec_cpu_voltage.png,sha256=ZSTitbm3yGRGLupYhjKOQh0ibOfFplGKZNDh3A3qSgc,8265
|
|
44
|
+
viztracer/web_dist/v52.0-6b9586def/assets/rec_ftrace.png,sha256=VThuh_OGltpvuDgUyOEfEOpbsPumW2MCvTVF7S5Q6Hw,7418
|
|
45
|
+
viztracer/web_dist/v52.0-6b9586def/assets/RobotoMono-Regular.woff2,sha256=5DK7glyj4CZ9Yo-ttqjKY7DMo_xzRfFcfwgPeouCFl4,16028
|
|
46
|
+
viztracer/web_dist/v52.0-6b9586def/assets/rec_syscalls.png,sha256=JtxPGmHopytXrEgwJbKIaqiHMMum6M5aJgmggybCcIU,12154
|
|
47
|
+
viztracer/web_dist/v52.0-6b9586def/assets/rec_one_shot.png,sha256=g8YXF1vZWhowKZsSPx8c498Hq8Lx0wVXTL0u5Rf7-c0,9445
|
|
48
|
+
viztracer/web_dist/v52.0-6b9586def/assets/rec_atrace.png,sha256=vT3mgQCULhTTtItfHBzlUDpCNvRsJmVGYx8uywilK1g,12307
|
|
49
|
+
viztracer/web_dist/v52.0-6b9586def/assets/Roboto-500.woff2,sha256=u0btB5w908Oa9QUbStpI8p9JFR2tT6IYEXutL9teYW8,15920
|
|
50
|
+
viztracer/web_dist/v52.0-6b9586def/assets/rec_long_trace.png,sha256=8ZNsE-AOhS6LiRLEkdqwOJuUQC3L_ErExByhJGIZvew,9940
|
|
51
|
+
viztracer/web_dist/v52.0-6b9586def/assets/catapult_trace_viewer.js,sha256=tpvMkJYBPHRuDjmhKIiiuCVJzjgWa4LcIRxqsb3axf0,2723531
|
|
52
|
+
viztracer/web_dist/v52.0-6b9586def/assets/Roboto-400.woff2,sha256=zEYyLVxNQdpEfyb3-nFIJ_LsmhEpaMEu9XNsdJSYXso,15688
|
|
53
|
+
viztracer/web_dist/v52.0-6b9586def/assets/rec_board_voltage.png,sha256=8BIn67H_6oUbv529ZCNAOf1AMCiEzARJYFdPqNSl8y0,9027
|
|
54
|
+
viztracer/web_dist/v52.0-6b9586def/assets/RobotoCondensed-Regular.woff2,sha256=SaG04SlmRaovUTyHoOX-VqMFp-1njC9kmWMewfOzWFY,10968
|
|
55
|
+
viztracer/web_dist/v52.0-6b9586def/assets/rec_ps_stats.png,sha256=Ii-3QkS3iMNiaEKJIiG8YFqHvNi0lMn8qNMyeCfaPh0,19929
|
|
56
|
+
viztracer/web_dist/v52.0-6b9586def/assets/rec_battery_counters.png,sha256=ijAy8hVxldcrRGNA_fe2wmahyewH6O3il3fwgpbDTh0,10237
|
|
57
|
+
viztracer/web_dist/v52.0-6b9586def/assets/rec_mem_hifreq.png,sha256=QxhmLA10n1HX5WKFjS8rhP_OcI3zWhqfaf1ZDgy6eUc,6043
|
|
58
|
+
viztracer/web_dist/v52.0-6b9586def/assets/vscode-icon.png,sha256=gnDKIFtMec1sbVIFhIz6CLCas3ddURGjUzZ8QC8iBrk,40522
|
|
59
|
+
viztracer/web_dist/v52.0-6b9586def/assets/favicon.png,sha256=sor3K6wnzaql75B5y8ZxCEDN2YFe17tmqE-yvWYi2-E,1966
|
|
60
|
+
viztracer/web_dist/v52.0-6b9586def/assets/Roboto-100.woff2,sha256=IkglhK6qex103gcnkyRsZeOLQCrCMfOLsNkQKAJUMjA,15712
|
|
61
|
+
viztracer/web_dist/v52.0-6b9586def/assets/rec_native_heap_profiler.png,sha256=ewas12596LRXr_rXNKwqr41oSdMMtbCLHwN0TUIN-Gc,12943
|
|
62
|
+
viztracer/web_dist/v52.0-6b9586def/assets/rec_cpu_fine.png,sha256=Pzs2n6ZOwD2Ug1DX1YaaoyJ0iy7mnXmwxZwI7TB-ut0,23575
|
|
63
|
+
viztracer/web_dist/v52.0-6b9586def/assets/RobotoCondensed-Light.woff2,sha256=rELob_HQ_Hinhwpyz10bvwpQmoUtuh2Kvcc0iSsNSEQ,11052
|
|
64
|
+
viztracer/web_dist/v52.0-6b9586def/assets/rec_frame_timeline.png,sha256=-KGhOsbxx04f2Hsyyq-lxhj-YAIkhKK173EtOfKvrok,11159
|
|
65
|
+
viztracer/web_dist/v52.0-6b9586def/assets/rec_profiling.png,sha256=hM8jBeyyqvrpbFEGqnewcj50xT5GFsBF5qBLmS_UHIk,17686
|
|
66
|
+
viztracer/web_dist/v52.0-6b9586def/assets/catapult_trace_viewer.html,sha256=wLrVZQID01LZXrQygBUzpUlJcvHKCcoetygA1jrOjj8,141206
|
|
67
|
+
viztracer/web_dist/v52.0-6b9586def/assets/rec_vmstat.png,sha256=lCtlnOQNTNfGrt-U5iSnfyfQx7Hd-z7s3MKMgGv9s5o,14651
|
|
68
|
+
viztracer/web_dist/v52.0-6b9586def/assets/rec_gpu_mem_total.png,sha256=4iEInY0xQQgdI1r2nng7geZWTeoBqNWmRmNYZQBlei4,16501
|
|
69
|
+
viztracer/web_dist/v52.0-6b9586def/assets/logo-3d.png,sha256=WI2BmF9A64gFzZSraFJXfOXEqJP3PIhaz9OasMFKz3Q,18376
|
|
70
|
+
viztracer/web_dist/v52.0-6b9586def/assets/rec_java_heap_dump.png,sha256=Stu8IkRjep9gI_7gGtB_g0hdZBNYOq6psmz7csFzv6Y,12633
|
|
71
|
+
viztracer/web_dist/v52.0-6b9586def/assets/rec_logcat.png,sha256=7zPKP0FpayanH7e9LpKrO5eKm8NeZv71txSFjSvI66I,13216
|
|
72
|
+
viztracer/web_dist/v52.0-6b9586def/assets/rec_meminfo.png,sha256=k71vAECd0Hle8TJqmdhe93R86d9WGe3ADKeFekwXQ7A,16605
|
|
73
|
+
viztracer/web_dist/v52.0-6b9586def/assets/rec_cpu_coarse.png,sha256=uHhKocq2CeYpWaV-SmSVDXLgbXnEi79-V5jGDvRNNz0,15696
|
|
74
|
+
viztracer/web_dist/v52.0-6b9586def/assets/rec_cpu_freq.png,sha256=X9pgx6F2f-Rk1ONZh8pE538vCBk8dUhHp0NrR2MKar4,9035
|
|
75
|
+
viztracer/web_dist/v52.0-6b9586def/assets/brand.png,sha256=qQtoKOldUDc8Nzh2Ub8e3dnoXMGRUOxrdSCL42YmNbk,3260
|
|
76
|
+
viztracer/web_dist/v52.0-6b9586def/assets/Roboto-300.woff2,sha256=M1MLAHBxKBqX55uqsT3ffMS53pQuvT4hIiSFczX3y5c,15732
|
|
77
|
+
viztracer/web_dist/v52.0-6b9586def/assets/rec_ring_buf.png,sha256=_1-5esQP9EZmTLCSuoCwIcU9l1wrzQSLNQ9wzIGdbKc,10420
|
|
78
|
+
viztracer/attach_process/LICENSE,sha256=2CiOEfxCmIYp98C2SfoAczLdAYewENAl_q97GSU3bo0,11513
|
|
79
|
+
viztracer/attach_process/attach_x86_64.dylib,sha256=F_DqC0S8sGoYwv_Ekr93JVDweWqqlnbSXJ5vKErW-Uk,55296
|
|
80
|
+
viztracer/attach_process/add_code_to_python_process.py,sha256=Eny4uJLuaAEOtY6xtBpdtMyS1FERIUyhpwLtZnBHvUE,20599
|
|
81
|
+
viztracer/attach_process/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
82
|
+
viztracer/attach_process/linux_and_mac/lldb_prepare.py,sha256=h8dcRDjmohAxrWPpq5FZZ_9DkqHT2RLr1LI1eWbbPUw,1691
|
|
83
|
+
viztracer/html/flamegraph.html,sha256=BxbaPmmacZHdFXXD3LwTu0-IlE5ui3Y6s7fQbaPTY1k,1663
|
|
84
|
+
viztracer/html/trace_viewer_embedder.html,sha256=hkY7VyVe6pq5syldbwRsqEW2wm9wgdnrHembwm7mC-o,6734
|
|
85
|
+
viztracer/html/trace_viewer_full.html,sha256=h1TCFm2omE61KE0n-lovJcVVmxvGAIFxjJbI6yiJGjM,2598333
|
|
86
|
+
viztracer/modules/snaptrace.c,sha256=kNZ2uBGHYgs8owQpT7jSbyCH6puZHtr6dSlCPA51ErM,69705
|
|
87
|
+
viztracer/modules/util.c,sha256=rFvn_9azPipunH4yEX0ALRluljvS2pg-E0oWfva2rps,1303
|
|
88
|
+
viztracer/modules/eventnode.h,sha256=hQ9AoNjHLZqYlI3R2BoCITjFVw16XSrbFefx1lV0ews,1541
|
|
89
|
+
viztracer/modules/pythoncapi_compat.h,sha256=9Fk7ww3THeLnoOmpEUnh0C86ZHD2Tfe4kDA7oDlahOc,46185
|
|
90
|
+
viztracer/modules/quicktime.c,sha256=iT3AkQw2pxPOzVhY1OlWEStavSsY_j_kDwR3SyDCTSk,4102
|
|
91
|
+
viztracer/modules/snaptrace.h,sha256=Vf21wB9-rhfgKzB-lDwvGlxYyT0hDuJ7lTtlg0X0NoA,4016
|
|
92
|
+
viztracer/modules/eventnode.c,sha256=hIdE7fCW_BqwDE6zulfPC_dXpxLPSxkxH1-PXph-mYU,5711
|
|
93
|
+
viztracer/modules/snaptrace_member.c,sha256=mkAN7xibIplRshyEXubKYT3ZFd2Leg93OEeVxtfhDp0,13757
|
|
94
|
+
viztracer/modules/util.h,sha256=x5V0b71CjSD2HLjW513mMM1Hf1pxzBiD-0G2i477cFM,586
|
|
95
|
+
viztracer/modules/quicktime.h,sha256=Aooi4aRl3awX9BoU99FHnvF0MMc7YxGulbMacsIbzg0,2354
|
|
96
|
+
viztracer/modules/vcompressor/vcompressor.h,sha256=ZV6Z1N_C8gsmXH7J6vIZm6EXcsrwdBo4mxv-RuIkJ9U,230
|
|
97
|
+
viztracer/modules/vcompressor/vc_dump.c,sha256=K9_MVaWp9VORCjKcEKEpmDPvrWeo6a8iWjahGDZI5RA,39337
|
|
98
|
+
viztracer/modules/vcompressor/vcompressor.c,sha256=6KgwtIhcSQwQei7nmwvdxbcxKn7z_7hqlT7ORGScKhw,12664
|
|
99
|
+
viztracer/modules/vcompressor/vc_dump.h,sha256=gxFuI3Pm3DPXHvO00XF5QJ8AT9PeAtHo7ojwUgvO8Lk,1421
|
|
100
|
+
viztracer-1.1.0.dist-info/RECORD,,
|
|
101
|
+
viztracer-1.1.0.dist-info/WHEEL,sha256=2CjzcV0cbFEm37xQvcUoxdj1zdkFGBK-XN0CdZZDK5Q,137
|
|
102
|
+
viztracer-1.1.0.dist-info/entry_points.txt,sha256=-MeyWMzg_Ci74E8Y3dr_pjzZlYWq3nQYTA41OQcrZ48,91
|
|
103
|
+
viztracer-1.1.0.dist-info/top_level.txt,sha256=xph8Zo9F28dycmRhR2cr64PLrKzc_ulOQ_lzqT3Di28,10
|
|
104
|
+
viztracer-1.1.0.dist-info/METADATA,sha256=J8n31MotIp1WyrHEB3pMNHI_RguMH1yWmIMCUgVNS5w,13112
|
|
105
|
+
viztracer-1.1.0.dist-info/licenses/LICENSE,sha256=pvJg_eSaSgdfGDmIDrCrtrz-nU5svUG8y1u1AafTWt8,11935
|
|
106
|
+
viztracer-1.1.0.dist-info/licenses/NOTICE.txt,sha256=0TrouYbPH7Zwnrq2k2H6PfRyQJWO4aUew3685aqraZQ,1031
|
|
Binary file
|
|
Binary file
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
var engine=function(){"use strict";function N(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function x(r){var t,n;return r.__esModule?r:("function"==typeof(t=r.default)?(n=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)}).prototype=t.prototype:n={},Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(r).forEach(function(e){var t=Object.getOwnPropertyDescriptor(r,e);Object.defineProperty(n,e,t.get?t:{enumerable:!0,get:function(){return r[e]}})}),n)}var n={},o={},i=function(e,t){return(i=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])}))(e,t)};function e(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var t=function(){return(t=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function r(e,t){var r={};for(o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var n=0,o=Object.getOwnPropertySymbols(e);n<o.length;n++)t.indexOf(o[n])<0&&Object.prototype.propertyIsEnumerable.call(e,o[n])&&(r[o[n]]=e[o[n]]);return r}function a(e,t,r,n){var o,i=arguments.length,a=i<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;0<=s;s--)(o=e[s])&&(a=(i<3?o(a):3<i?o(t,r,a):o(t,r))||a);return 3<i&&a&&Object.defineProperty(t,r,a),a}function s(r,n){return function(e,t){n(e,t,r)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function d(e,a,s,c){return new(s=s||Promise)(function(r,t){function n(e){try{i(c.next(e))}catch(e){t(e)}}function o(e){try{i(c.throw(e))}catch(e){t(e)}}function i(e){var t;e.done?r(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(n,o)}i((c=c.apply(e,a||[])).next())})}function u(n,o){var i,a,s,c={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]},d={next:e(0),throw:e(1),return:e(2)};return"function"==typeof Symbol&&(d[Symbol.iterator]=function(){return this}),d;function e(r){return function(e){var t=[r,e];if(i)throw new TypeError("Generator is already executing.");for(;c=d&&t[d=0]?0:c;)try{if(i=1,a&&(s=2&t[0]?a.return:t[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,t[1])).done)return s;switch(a=0,(t=s?[2&t[0],s.value]:t)[0]){case 0:case 1:s=t;break;case 4:return c.label++,{value:t[1],done:!1};case 5:c.label++,a=t[1],t=[0];continue;case 7:t=c.ops.pop(),c.trys.pop();continue;default:if(!(s=0<(s=c.trys).length&&s[s.length-1])&&(6===t[0]||2===t[0])){c=0;continue}if(3===t[0]&&(!s||t[1]>s[0]&&t[1]<s[3]))c.label=t[1];else if(6===t[0]&&c.label<s[1])c.label=s[1],s=t;else{if(!(s&&c.label<s[2])){s[2]&&c.ops.pop(),c.trys.pop();continue}c.label=s[2],c.ops.push(t)}}t=o.call(n,c)}catch(e){t=[6,e],a=0}finally{i=s=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}}}var l=Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);o&&("get"in o?t.__esModule:!o.writable&&!o.configurable)||(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){e[n=void 0===n?r:n]=t[r]};function f(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||l(t,e,r)}function E(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return{value:(e=e&&n>=e.length?void 0:e)&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function p(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}function _(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(p(arguments[t]));return e}function h(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),o=0,t=0;t<r;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)n[o]=i[a];return n}function g(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||((n=n||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}function m(e){return this instanceof m?(this.v=e,this):new m(e)}function O(e,t,r){var o,i,a;if(Symbol.asyncIterator)return o=r.apply(e,t||[]),i=[],a={},n("next"),n("throw"),n("return",function(t){return function(e){return Promise.resolve(e).then(t,d)}}),a[Symbol.asyncIterator]=function(){return this},a;throw new TypeError("Symbol.asyncIterator is not defined.");function n(n,e){o[n]&&(a[n]=function(r){return new Promise(function(e,t){1<i.push([n,r,e,t])||s(n,r)})},e)&&(a[n]=e(a[n]))}function s(e,t){try{(r=o[e](t)).value instanceof m?Promise.resolve(r.value.v).then(c,d):u(i[0][2],r)}catch(e){u(i[0][3],e)}var r}function c(e){s("next",e)}function d(e){s("throw",e)}function u(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}}function y(n){var o,e={};return t("next"),t("throw",function(e){throw e}),t("return"),e[Symbol.iterator]=function(){return this},e;function t(t,r){e[t]=n[t]?function(e){return(o=!o)?{value:m(n[t](e)),done:!1}:r?r(e):e}:r}}function T(a){var e,t;if(Symbol.asyncIterator)return(e=a[Symbol.asyncIterator])?e.call(a):(a=E(a),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);throw new TypeError("Symbol.asyncIterator is not defined.");function r(i){t[i]=a[i]&&function(o){return new Promise(function(e,t){var r,n;o=a[i](o),r=e,e=t,n=o.done,t=o.value,Promise.resolve(t).then(function(e){r({value:e,done:n})},e)})}}}function w(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var X=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function D(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&l(t,e,r);return X(t,e),t}function b(e){return e&&e.__esModule?e:{default:e}}function R(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e===t&&n:t.has(e))return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e);throw new TypeError("Cannot read private member from an object whose class did not declare it")}function v(e,t,r,n,o){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e===t&&o:t.has(e))return"a"===n?o.call(e,r):o?o.value=r:t.set(e,r),r;throw new TypeError("Cannot write private member to an object whose class did not declare it")}function P(e,t){if(null===t||"object"!=typeof t&&"function"!=typeof t)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof e?t===e:e.has(t)}function M(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var n,o;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(void 0===n){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(o=n)}if("function"!=typeof n)throw new TypeError("Object not disposable.");o&&(n=function(){try{o.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}var C="function"==typeof SuppressedError?SuppressedError:function(e,t,r){r=new Error(r);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function A(n){function o(e){n.error=n.hasError?new C(e,n.error,"An error was suppressed during disposal."):e,n.hasError=!0}return function t(){for(;n.stack.length;){var e=n.stack.pop();try{var r=e.dispose&&e.dispose.call(e.value);if(e.async)return Promise.resolve(r).then(t,function(e){return o(e),t()})}catch(e){o(e)}}if(n.hasError)throw n.error}()}var S,L={__extends:e,__assign:t,__rest:r,__decorate:a,__param:s,__metadata:c,__awaiter:d,__generator:u,__createBinding:l,__exportStar:f,__values:E,__read:p,__spread:_,__spreadArrays:h,__spreadArray:g,__await:m,__asyncGenerator:O,__asyncDelegator:y,__asyncValues:T,__makeTemplateObject:w,__importStar:D,__importDefault:b,__classPrivateFieldGet:R,__classPrivateFieldSet:v,__classPrivateFieldIn:P,__addDisposableResource:M,__disposeResources:A},H=x(Object.freeze({__proto__:null,__extends:e,get __assign(){return t},__rest:r,__decorate:a,__param:s,__esDecorate:function(e,t,r,n,o,i){function a(e){if(void 0!==e&&"function"!=typeof e)throw new TypeError("Function expected");return e}for(var s,c=n.kind,d="getter"===c?"get":"setter"===c?"set":"value",e=!t&&e?n.static?e:e.prototype:null,u=t||(e?Object.getOwnPropertyDescriptor(e,n.name):{}),l=!1,f=r.length-1;0<=f;f--){var E,p={};for(E in n)p[E]="access"===E?{}:n[E];for(E in n.access)p.access[E]=n.access[E];p.addInitializer=function(e){if(l)throw new TypeError("Cannot add initializers after decoration has completed");i.push(a(e||null))};var _=(0,r[f])("accessor"===c?{get:u.get,set:u.set}:u[d],p);if("accessor"===c){if(void 0!==_){if(null===_||"object"!=typeof _)throw new TypeError("Object expected");(s=a(_.get))&&(u.get=s),(s=a(_.set))&&(u.set=s),(s=a(_.init))&&o.unshift(s)}}else(s=a(_))&&("field"===c?o.unshift(s):u[d]=s)}e&&Object.defineProperty(e,n.name,u),l=!0},__runInitializers:function(e,t,r){for(var n=2<arguments.length,o=0;o<t.length;o++)r=n?t[o].call(e,r):t[o].call(e);return n?r:void 0},__propKey:function(e){return"symbol"==typeof e?e:"".concat(e)},__setFunctionName:function(e,t,r){return"symbol"==typeof t&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})},__metadata:c,__awaiter:d,__generator:u,__createBinding:l,__exportStar:f,__values:E,__read:p,__spread:_,__spreadArrays:h,__spreadArray:g,__await:m,__asyncGenerator:O,__asyncDelegator:y,__asyncValues:T,__makeTemplateObject:w,__importStar:D,__importDefault:b,__classPrivateFieldGet:R,__classPrivateFieldSet:v,__classPrivateFieldIn:P,__addDisposableResource:M,__disposeResources:A,default:L})),F={};function Q(){return S||(S=1,Object.defineProperty(F,"__esModule",{value:!0}),F.defer=function(){let r=null,n=null;var e=new Promise((e,t)=>[r,n]=[e,t]);return Object.assign(e,{resolve:r,reject:n})}),F}var B,j={},I={};var z,Y,k={};function G(){return z||(z=1,Object.defineProperty(k,"__esModule",{value:!0}),k.exists=function(e){return null!=e}),k}function W(){if(!Y){Y=1,Object.defineProperty(j,"__esModule",{value:!0}),j.assertExists=function(e){if(null!=e)return e;throw new Error("Value doesn't exist")},j.assertTrue=r,j.assertFalse=function(e,t){r(!e,t)},j.addErrorHandler=function(e){f.includes(e)||f.push(e)},j.reportError=function(t){let r=void 0,n="",e;var o=[],i=location.protocol+"//"+location.host;t instanceof ErrorEvent?(e="ERROR",r=null===t.error||void 0===t.error?(s=(""+t.message).split("\n"),n=s[0],{stack:s.slice(1).join("\n")}):(n=""+t.error,t.error)):t instanceof PromiseRejectionEvent?(e="PROMISE_REJ",n=""+t.reason,r=t.reason):(e="OTHER",n=""+t);if(n=(n=(n=n.replace(/^Uncaught Error:/,"")).replace(/^Error:/,"")).trim(),void 0!==r&&null!==r){var a,s=r.stack;let e=void 0!==s?""+s:"";for(a of(e=e.replaceAll(/\r/g,"")).split("\n"))if(!n.includes(a)){var c=(a=(a=a.replace(/^\s*at\s*/,"")).replace(/\s*\(([^)]+)\)$/,"@$1")).lastIndexOf("@");let e="",t="";0<=c?(t=a.substring(c+1),e=a.substring(0,c)):t=a,t.includes(i)&&(t=(t=t.replace(i,"")).replace(`/${u.VERSION}/`,"")),o.push({name:e,location:t})}t=o.find(e=>e.name.includes("perfetto::"))?.name;n.includes("RuntimeError")&&(0,l.exists)(t)&&(n+=" @ "+t.trim())}for(const d of f)d({errType:e,message:n,stack:o})},j.assertUnreachable=function(e){throw new Error("This code should not be reachable "+e)};B||(B=1,Object.defineProperty(I,"__esModule",{value:!0}),I.SCM_REVISION=I.VERSION=void 0,I.VERSION="v47.0-02b2414d5",I.SCM_REVISION="02b2414d5cefce49f68cd71de96eac5fe793af44");const u=I,l=G(),f=[];function r(e,t){if(!e)throw new Error(t??"Failed assertion")}}return j}var V,q,Z,U={exports:{}};function K(){var e,st;return V||(V=1,(e=U).exports,st="undefined"!=typeof document&&document.currentScript?document.currentScript.src:void 0,e.exports=function(N){var x,X,e,_=void 0!==(N=N||{})?N:{},t=(_.ready=new Promise(function(e,t){x=e,X=t}),Object.getOwnPropertyDescriptor(_.ready,"_main")||(Object.defineProperty(_.ready,"_main",{configurable:!0,get:function(){R("You are getting _main on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(_.ready,"_main",{configurable:!0,set:function(){R("You are setting _main on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(_.ready,"_emscripten_stack_get_end")||(Object.defineProperty(_.ready,"_emscripten_stack_get_end",{configurable:!0,get:function(){R("You are getting _emscripten_stack_get_end on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(_.ready,"_emscripten_stack_get_end",{configurable:!0,set:function(){R("You are setting _emscripten_stack_get_end on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(_.ready,"_emscripten_stack_get_free")||(Object.defineProperty(_.ready,"_emscripten_stack_get_free",{configurable:!0,get:function(){R("You are getting _emscripten_stack_get_free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(_.ready,"_emscripten_stack_get_free",{configurable:!0,set:function(){R("You are setting _emscripten_stack_get_free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(_.ready,"_emscripten_stack_init")||(Object.defineProperty(_.ready,"_emscripten_stack_init",{configurable:!0,get:function(){R("You are getting _emscripten_stack_init on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(_.ready,"_emscripten_stack_init",{configurable:!0,set:function(){R("You are setting _emscripten_stack_init on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(_.ready,"_stackSave")||(Object.defineProperty(_.ready,"_stackSave",{configurable:!0,get:function(){R("You are getting _stackSave on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(_.ready,"_stackSave",{configurable:!0,set:function(){R("You are setting _stackSave on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(_.ready,"_stackRestore")||(Object.defineProperty(_.ready,"_stackRestore",{configurable:!0,get:function(){R("You are getting _stackRestore on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(_.ready,"_stackRestore",{configurable:!0,set:function(){R("You are setting _stackRestore on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(_.ready,"_stackAlloc")||(Object.defineProperty(_.ready,"_stackAlloc",{configurable:!0,get:function(){R("You are getting _stackAlloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(_.ready,"_stackAlloc",{configurable:!0,set:function(){R("You are setting _stackAlloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(_.ready,"___wasm_call_ctors")||(Object.defineProperty(_.ready,"___wasm_call_ctors",{configurable:!0,get:function(){R("You are getting ___wasm_call_ctors on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(_.ready,"___wasm_call_ctors",{configurable:!0,set:function(){R("You are setting ___wasm_call_ctors on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(_.ready,"_fflush")||(Object.defineProperty(_.ready,"_fflush",{configurable:!0,get:function(){R("You are getting _fflush on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(_.ready,"_fflush",{configurable:!0,set:function(){R("You are setting _fflush on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(_.ready,"___errno_location")||(Object.defineProperty(_.ready,"___errno_location",{configurable:!0,get:function(){R("You are getting ___errno_location on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(_.ready,"___errno_location",{configurable:!0,set:function(){R("You are setting ___errno_location on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(_.ready,"_malloc")||(Object.defineProperty(_.ready,"_malloc",{configurable:!0,get:function(){R("You are getting _malloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(_.ready,"_malloc",{configurable:!0,set:function(){R("You are setting _malloc on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(_.ready,"_free")||(Object.defineProperty(_.ready,"_free",{configurable:!0,get:function(){R("You are getting _free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(_.ready,"_free",{configurable:!0,set:function(){R("You are setting _free on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(_.ready,"_memalign")||(Object.defineProperty(_.ready,"_memalign",{configurable:!0,get:function(){R("You are getting _memalign on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(_.ready,"_memalign",{configurable:!0,set:function(){R("You are setting _memalign on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(_.ready,"_memset")||(Object.defineProperty(_.ready,"_memset",{configurable:!0,get:function(){R("You are getting _memset on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(_.ready,"_memset",{configurable:!0,set:function(){R("You are setting _memset on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(_.ready,"__get_tzname")||(Object.defineProperty(_.ready,"__get_tzname",{configurable:!0,get:function(){R("You are getting __get_tzname on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(_.ready,"__get_tzname",{configurable:!0,set:function(){R("You are setting __get_tzname on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(_.ready,"__get_daylight")||(Object.defineProperty(_.ready,"__get_daylight",{configurable:!0,get:function(){R("You are getting __get_daylight on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(_.ready,"__get_daylight",{configurable:!0,set:function(){R("You are setting __get_daylight on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(_.ready,"__get_timezone")||(Object.defineProperty(_.ready,"__get_timezone",{configurable:!0,get:function(){R("You are getting __get_timezone on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(_.ready,"__get_timezone",{configurable:!0,set:function(){R("You are setting __get_timezone on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(_.ready,"_emscripten_main_thread_process_queued_calls")||(Object.defineProperty(_.ready,"_emscripten_main_thread_process_queued_calls",{configurable:!0,get:function(){R("You are getting _emscripten_main_thread_process_queued_calls on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(_.ready,"_emscripten_main_thread_process_queued_calls",{configurable:!0,set:function(){R("You are setting _emscripten_main_thread_process_queued_calls on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),Object.getOwnPropertyDescriptor(_.ready,"onRuntimeInitialized")||(Object.defineProperty(_.ready,"onRuntimeInitialized",{configurable:!0,get:function(){R("You are getting onRuntimeInitialized on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}}),Object.defineProperty(_.ready,"onRuntimeInitialized",{configurable:!0,set:function(){R("You are setting onRuntimeInitialized on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")}})),{});for(e in _)_.hasOwnProperty(e)&&(t[e]=_[e]);var C=[],L="./this.program",H=function(e,t){throw t},r="object"==typeof window,d="function"==typeof importScripts;if("object"==typeof process&&"object"==typeof process.versions&&process.versions.node,_.ENVIRONMENT)throw new Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -s ENVIRONMENT=web or -s ENVIRONMENT=node)");var Q,B,n="";if(!r&&!d)throw new Error("environment detection error");if(d?n=self.location.href:"undefined"!=typeof document&&document.currentScript&&(n=document.currentScript.src),n=0!==(n=st?st:n).indexOf("blob:")?n.substr(0,n.lastIndexOf("/")+1):"","object"!=typeof window&&"function"!=typeof importScripts)throw new Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");Q=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.send(null),t.responseText},d&&(B=function(e){var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)});var f=_.print||console.log.bind(console),E=_.printErr||console.warn.bind(console);for(e in t)t.hasOwnProperty(e)&&(_[e]=t[e]);t=null,_.arguments&&(C=_.arguments),Object.getOwnPropertyDescriptor(_,"arguments")||Object.defineProperty(_,"arguments",{configurable:!0,get:function(){R("Module.arguments has been replaced with plain arguments_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),_.thisProgram&&(L=_.thisProgram),Object.getOwnPropertyDescriptor(_,"thisProgram")||Object.defineProperty(_,"thisProgram",{configurable:!0,get:function(){R("Module.thisProgram has been replaced with plain thisProgram (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),_.quit&&(H=_.quit),Object.getOwnPropertyDescriptor(_,"quit")||Object.defineProperty(_,"quit",{configurable:!0,get:function(){R("Module.quit has been replaced with plain quit_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),m(void 0===_.memoryInitializerPrefixURL,"Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"),m(void 0===_.pthreadMainPrefixURL,"Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"),m(void 0===_.cdInitializerPrefixURL,"Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"),m(void 0===_.filePackagePrefixURL,"Module.filePackagePrefixURL option was removed, use Module.locateFile instead"),m(void 0===_.read,"Module.read option was removed (modify read_ in JS)"),m(void 0===_.readAsync,"Module.readAsync option was removed (modify readAsync in JS)"),m(void 0===_.readBinary,"Module.readBinary option was removed (modify readBinary in JS)"),m(void 0===_.setWindowTitle,"Module.setWindowTitle option was removed (modify setWindowTitle in JS)"),m(void 0===_.TOTAL_MEMORY,"Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY"),Object.getOwnPropertyDescriptor(_,"read")||Object.defineProperty(_,"read",{configurable:!0,get:function(){R("Module.read has been replaced with plain read_ (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),Object.getOwnPropertyDescriptor(_,"readAsync")||Object.defineProperty(_,"readAsync",{configurable:!0,get:function(){R("Module.readAsync has been replaced with plain readAsync (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),Object.getOwnPropertyDescriptor(_,"readBinary")||Object.defineProperty(_,"readBinary",{configurable:!0,get:function(){R("Module.readBinary has been replaced with plain readBinary (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),Object.getOwnPropertyDescriptor(_,"setWindowTitle")||Object.defineProperty(_,"setWindowTitle",{configurable:!0,get:function(){R("Module.setWindowTitle has been replaced with plain setWindowTitle (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}});var z=16;function p(e){p.shown||(p.shown={}),p.shown[e]||(p.shown[e]=1,E(e))}var i,Y,h,G,W=[];function V(t,r){if(!i){i=new WeakMap;for(var e=0;e<l.length;e++){var n=l.get(e);n&&i.set(n,e)}}if(i.has(t))return i.get(t);var o=function(){if(W.length)return W.pop();try{l.grow(1)}catch(e){if(e instanceof RangeError)throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH.";throw e}return l.length-1}();try{l.set(o,t)}catch(e){if(!(e instanceof TypeError))throw e;m(void 0!==r,"Missing signature argument to addFunction: "+t);r=function(e,t){if("function"==typeof WebAssembly.Function){for(var r={i:"i32",j:"i64",f:"f32",d:"f64"},n={parameters:[],results:"v"==t[0]?[]:[r[t[0]]]},o=1;o<t.length;++o)n.parameters.push(r[t[o]]);return new WebAssembly.Function(n,e)}var i=[1,0,1,96],a=t.slice(0,1),s=t.slice(1),c={i:127,j:126,f:125,d:124};for(i.push(s.length),o=0;o<s.length;++o)i.push(c[s[o]]);return"v"==a?i.push(0):i=i.concat([1,c[a]]),i[1]=i.length-2,a=new Uint8Array([0,97,115,109,1,0,0,0].concat(i,[2,7,1,1,101,1,102,0,0,7,5,1,1,102,0,0])),a=new WebAssembly.Module(a),new WebAssembly.Instance(a,{e:{f:e}}).exports.f}(t,r);l.set(o,r)}return i.set(t,o),o}_.wasmBinary&&(Y=_.wasmBinary),Object.getOwnPropertyDescriptor(_,"wasmBinary")||Object.defineProperty(_,"wasmBinary",{configurable:!0,get:function(){R("Module.wasmBinary has been replaced with plain wasmBinary (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),_.noExitRuntime&&(h=_.noExitRuntime),Object.getOwnPropertyDescriptor(_,"noExitRuntime")||Object.defineProperty(_,"noExitRuntime",{configurable:!0,get:function(){R("Module.noExitRuntime has been replaced with plain noExitRuntime (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),"object"!=typeof WebAssembly&&R("no native wasm support detected");var g=!1;function m(e,t){e||R("Assertion failed: "+t)}var q,u,s,Z,O,o,K="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function a(e,t,r){for(var n=(t>>>=0)+r,o=t;e[o>>>0]&&!(n<=o);)++o;if(16<o-t&&e.subarray&&K)return K.decode(e.subarray(t>>>0,o>>>0));for(var i="";t<o;){var a,s,c=e[t++>>>0];128&c?(s=63&e[t++>>>0],192==(224&c)?i+=String.fromCharCode((31&c)<<6|s):(a=63&e[t++>>>0],(c=224==(240&c)?(15&c)<<12|s<<6|a:(240!=(248&c)&&p("Invalid UTF-8 leading byte 0x"+c.toString(16)+" encountered when deserializing a UTF-8 string on the asm.js/wasm heap to a JS string!"),(7&c)<<18|s<<12|a<<6|63&e[t++>>>0]))<65536?i+=String.fromCharCode(c):(s=c-65536,i+=String.fromCharCode(55296|s>>10,56320|1023&s)))):i+=String.fromCharCode(c)}return i}function J(e,t){return(e>>>=0)?a(s,e,t):""}function $(e,t,r,n){if(!(0<n))return 0;for(var o=r>>>=0,i=r+n-1,a=0;a<e.length;++a){var s=e.charCodeAt(a);if((s=55296<=s&&s<=57343?65536+((1023&s)<<10)|1023&e.charCodeAt(++a):s)<=127){if(i<=r)break;t[r++>>>0]=s}else{if(s<=2047){if(i<=r+1)break;t[r++>>>0]=192|s>>6}else{if(s<=65535){if(i<=r+2)break;t[r++>>>0]=224|s>>12}else{if(i<=r+3)break;2097152<=s&&p("Invalid Unicode code point 0x"+s.toString(16)+" encountered when serializing a JS string to an UTF-8 string on the asm.js/wasm heap! (Valid unicode code points should be in range 0-0x1FFFFF)."),t[r++>>>0]=240|s>>18,t[r++>>>0]=128|s>>12&63}t[r++>>>0]=128|s>>6&63}t[r++>>>0]=128|63&s}}return t[r>>>0]=0,r-o}function ee(e,t,r){m("number"==typeof r,"stringToUTF8(str, outPtr, maxBytesToWrite) is missing the third parameter that specifies the length of the output buffer!"),$(e,s,t,r)}function c(e){for(var t=0,r=0;r<e.length;++r){var n=e.charCodeAt(r);(n=55296<=n&&n<=57343?65536+((1023&n)<<10)|1023&e.charCodeAt(++r):n)<=127?++t:t+=n<=2047?2:n<=65535?3:4}return t}function te(e){var t=c(e)+1,r=Ge(t);return r&&$(e,u,r,t),r}function re(e){var t=c(e)+1,r=et(t);return $(e,u,r,t),r}function ne(e,t){m(0<=e.length,"writeArrayToMemory array must have a length (should be an array or typed array)"),u.set(e,t>>>0)}function oe(e){q=e,_.HEAP8=u=new Int8Array(e),_.HEAP16=Z=new Int16Array(e),_.HEAP32=O=new Int32Array(e),_.HEAPU8=s=new Uint8Array(e),_.HEAPU16=new Uint16Array(e),_.HEAPU32=o=new Uint32Array(e),_.HEAPF32=new Float32Array(e),_.HEAPF64=new Float64Array(e)}"undefined"!=typeof TextDecoder&&new TextDecoder("utf-16le");var l,r=5242880,y=(_.TOTAL_STACK&&m(r===_.TOTAL_STACK,"the stack size can no longer be determined at runtime"),_.INITIAL_MEMORY||33554432);function ie(){var e=Ke();m(0==(3&e)),o[1+(e>>2)>>>0]=34821223,o[2+(e>>2)>>>0]=2310721022,O[0]=1668509029}function T(){var e,t;g||(t=Ke(),e=o[1+(t>>2)>>>0],t=o[2+(t>>2)>>>0],34821223==e&&2310721022==t||R("Stack overflow! Stack cookie has been overwritten, expected hex dwords 0x89BACDFE and 0x2135467, but received 0x"+t.toString(16)+" "+e.toString(16)),1668509029!==O[0]&&R("Runtime error: The application has corrupted its heap memory area (address zero)!"))}Object.getOwnPropertyDescriptor(_,"INITIAL_MEMORY")||Object.defineProperty(_,"INITIAL_MEMORY",{configurable:!0,get:function(){R("Module.INITIAL_MEMORY has been replaced with plain INITIAL_MEMORY (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}}),m(r<=y,"INITIAL_MEMORY should be larger than TOTAL_STACK, was "+y+"! (TOTAL_STACK="+r+")"),m("undefined"!=typeof Int32Array&&"undefined"!=typeof Float64Array&&void 0!==Int32Array.prototype.subarray&&void 0!==Int32Array.prototype.set,"JS engine does not provide full typed array support"),m(!_.wasmMemory,"Use of `wasmMemory` detected. Use -s IMPORTED_MEMORY to define wasmMemory externally"),m(33554432==y,"Detected runtime INITIAL_MEMORY setting. Use -s IMPORTED_MEMORY to define wasmMemory dynamically");r=new Int16Array(1),y=new Int8Array(r.buffer);if(r[0]=25459,115!==y[0]||99!==y[1])throw"Runtime error: expected the system to be little-endian!";var ae=[],se=[],ce=[],de=[],ue=!1,le=!1;function fe(){if(_.preRun)for("function"==typeof _.preRun&&(_.preRun=[_.preRun]);_.preRun.length;)e=_.preRun.shift(),ae.unshift(e);var e;Te(ae)}function Ee(){if(T(),_.postRun)for("function"==typeof _.postRun&&(_.postRun=[_.postRun]);_.postRun.length;)e=_.postRun.shift(),de.unshift(e);var e;Te(de)}se.push({func:function(){Be()}}),m(Math.imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),m(Math.fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),m(Math.clz32,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),m(Math.trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");var w=0,D=null,pe=null,b={};function _e(e){w++,_.monitorRunDependencies&&_.monitorRunDependencies(w),e?(m(!b[e]),b[e]=1,null===D&&"undefined"!=typeof setInterval&&(D=setInterval(function(){if(g)clearInterval(D),D=null;else{var e,t=!1;for(e in b)t||(t=!0,E("still waiting on run dependencies:")),E("dependency: "+e);t&&E("(end of list)")}},1e4))):E("warning: run dependency added without ID")}function he(e){w--,_.monitorRunDependencies&&_.monitorRunDependencies(w),e?(m(b[e]),delete b[e]):E("warning: run dependency removed without ID"),0==w&&(null!==D&&(clearInterval(D),D=null),pe)&&(e=pe,pe=null,e())}function R(e){_.onAbort&&_.onAbort(e),E(e+=""),g=!0;e="abort("+e+") at "+De();e=new WebAssembly.RuntimeError(e);throw X(e),e}_.preloadedImages={},_.preloadedAudios={};var ge="data:application/octet-stream;base64,";function me(e){return e=e,t=ge,String.prototype.startsWith?e.startsWith(t):0===e.indexOf(t);var t}function v(r,n){return function(){var e=r,t=n;return n||(t=_.asm),m(ue,"native function `"+e+"` called before runtime initialization"),m(!le,"native function `"+e+"` called after runtime exit (use NO_EXIT_RUNTIME to keep it alive after main() exits)"),t[r]||m(t[r],"exported native function `"+e+"` not found"),t[r].apply(null,arguments)}}var P,M,Oe="trace_processor.wasm";function ye(t,e){var r,n,o;try{o=function(e){try{if(e==Oe&&Y)return new Uint8Array(Y);if(B)return B(e);throw"sync fetching of the wasm failed: you can preload it to Module['wasmBinary'] manually, or emcc.py will do that for you when generating HTML (but not JS)"}catch(e){R(e)}}(t),n=new WebAssembly.Module(o),r=new WebAssembly.Instance(n,e)}catch(e){t=e.toString();throw E("failed to compile wasm module: "+t),(0<=t.indexOf("imported Memory")||0<=t.indexOf("memory import"))&&E("Memory size incompatibility issues may be due to changing INITIAL_MEMORY at runtime to something too large. Use ALLOW_MEMORY_GROWTH to allow any size memory (and also make sure not to set INITIAL_MEMORY at runtime to something smaller than it was at compile time)."),e}return[r,n]}function Te(e){for(;0<e.length;){var t,r=e.shift();"function"==typeof r?r(_):"number"==typeof(t=r.func)?void 0===r.arg?l.get(t)():l.get(t)(r.arg):t(void 0===r.arg?null:r.arg)}}function we(e){return e.replace(/\b_Z[\w\d_]+/g,function(e){var t;return t=e,p("warning: build with -s DEMANGLE_SUPPORT=1 to link in libcxxabi demangling"),e===t?e:t+" ["+e+"]"})}function De(){var e=function(){var t=new Error;if(!t.stack){try{throw new Error}catch(e){t=e}if(!t.stack)return"(no stack trace available)"}return t.stack.toString()}();return _.extraStackTrace&&(e+="\n"+_.extraStackTrace()),we(e)}function be(e,t){var e=new Date(1e3*O[e>>>2]),r=(O[t>>>2]=e.getUTCSeconds(),O[t+4>>>2]=e.getUTCMinutes(),O[t+8>>>2]=e.getUTCHours(),O[t+12>>>2]=e.getUTCDate(),O[t+16>>>2]=e.getUTCMonth(),O[t+20>>>2]=e.getUTCFullYear()-1900,O[t+24>>>2]=e.getUTCDay(),O[t+36>>>2]=0,O[t+32>>>2]=0,Date.UTC(e.getUTCFullYear(),0,1,0,0,0,0)),e=(e.getTime()-r)/864e5|0;return O[t+28>>>2]=e,be.GMTString||(be.GMTString=te("GMT")),O[t+40>>>2]=be.GMTString,t}function Re(){var e,t,r,n,o;function i(e){e=e.toTimeString().match(/\(([A-Za-z ]+)\)$/);return e?e[1]:"GMT"}Re.called||(Re.called=!0,n=(new Date).getFullYear(),r=new Date(n,0,1),n=new Date(n,6,1),e=r.getTimezoneOffset(),t=n.getTimezoneOffset(),o=Math.max(e,t),O[Ze()>>>2]=60*o,O[qe()>>>2]=Number(e!=t),o=i(r),r=i(n),n=te(o),o=te(r),t<e?(O[Ve()>>>2]=n,O[Ve()+4>>>2]=o):(O[Ve()>>>2]=o,O[Ve()+4>>>2]=n))}me(Oe)||(r=Oe,Oe=_.locateFile?_.locateFile(r,n):n+r);var A={splitPath:function(e){return/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(e).slice(1)},normalizeArray:function(e,t){for(var r=0,n=e.length-1;0<=n;n--){var o=e[n];"."===o?e.splice(n,1):".."===o?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r;r--)e.unshift("..");return e},normalize:function(e){var t="/"===e.charAt(0),r="/"===e.substr(-1);return(e=(e=A.normalizeArray(e.split("/").filter(function(e){return!!e}),!t).join("/"))||t?e:".")&&r&&(e+="/"),(t?"/":"")+e},dirname:function(e){var e=A.splitPath(e),t=e[0],e=e[1];return t||e?t+(e=e&&e.substr(0,e.length-1)):"."},basename:function(e){var t;return"/"===e?"/":-1===(t=(e=(e=A.normalize(e)).replace(/\/$/,"")).lastIndexOf("/"))?e:e.substr(t+1)},extname:function(e){return A.splitPath(e)[3]},join:function(){var e=Array.prototype.slice.call(arguments,0);return A.normalize(e.join("/"))},join2:function(e,t){return A.normalize(e+"/"+t)}};var S={resolve:function(){for(var e="",t=!1,r=arguments.length-1;-1<=r&&!t;r--){var n=0<=r?arguments[r]:k.cwd();if("string"!=typeof n)throw new TypeError("Arguments to path.resolve must be strings");if(!n)return"";e=n+"/"+e,t="/"===n.charAt(0)}return(t?"/":"")+(e=A.normalizeArray(e.split("/").filter(function(e){return!!e}),!t).join("/"))||"."},relative:function(e,t){function r(e){for(var t=0;t<e.length&&""===e[t];t++);for(var r=e.length-1;0<=r&&""===e[r];r--);return r<t?[]:e.slice(t,r-t+1)}e=S.resolve(e).substr(1),t=S.resolve(t).substr(1);for(var n=r(e.split("/")),o=r(t.split("/")),i=Math.min(n.length,o.length),a=i,s=0;s<i;s++)if(n[s]!==o[s]){a=s;break}for(var c=[],s=a;s<n.length;s++)c.push("..");return(c=c.concat(o.slice(a))).join("/")}},F={ttys:[],init:function(){},shutdown:function(){},register:function(e,t){F.ttys[e]={input:[],output:[],ops:t},k.registerDevice(e,F.stream_ops)},stream_ops:{open:function(e){var t=F.ttys[e.node.rdev];if(!t)throw new k.ErrnoError(43);e.tty=t,e.seekable=!1},close:function(e){e.tty.ops.flush(e.tty)},flush:function(e){e.tty.ops.flush(e.tty)},read:function(e,t,r,n,o){if(!e.tty||!e.tty.ops.get_char)throw new k.ErrnoError(60);for(var i,a=0,s=0;s<n;s++){try{i=e.tty.ops.get_char(e.tty)}catch(e){throw new k.ErrnoError(29)}if(void 0===i&&0===a)throw new k.ErrnoError(6);if(null==i)break;a++,t[r+s]=i}return a&&(e.node.timestamp=Date.now()),a},write:function(e,t,r,n,o){if(!e.tty||!e.tty.ops.put_char)throw new k.ErrnoError(60);try{for(var i=0;i<n;i++)e.tty.ops.put_char(e.tty,t[r+i])}catch(e){throw new k.ErrnoError(29)}return n&&(e.node.timestamp=Date.now()),i}},default_tty_ops:{get_char:function(e){if(!e.input.length){var t=null;if("undefined"!=typeof window&&"function"==typeof window.prompt?null!==(t=window.prompt("Input: "))&&(t+="\n"):"function"==typeof readline&&null!==(t=readline())&&(t+="\n"),!t)return null;e.input=Le(t,!0)}return e.input.shift()},put_char:function(e,t){null===t||10===t?(f(a(e.output,0)),e.output=[]):0!=t&&e.output.push(t)},flush:function(e){e.output&&0<e.output.length&&(f(a(e.output,0)),e.output=[])}},default_tty1_ops:{put_char:function(e,t){null===t||10===t?(E(a(e.output,0)),e.output=[]):0!=t&&e.output.push(t)},flush:function(e){e.output&&0<e.output.length&&(E(a(e.output,0)),e.output=[])}}};function ve(e){t=e,r=(r=16384)||z;for(var t,r,n=Math.ceil(t/r)*r,o=Ge(n);e<n;)u[o+e++>>>0]=0;return o}var j={ops_table:null,mount:function(e){return j.createNode(null,"/",16895,0)},createNode:function(e,t,r,n){if(k.isBlkdev(r)||k.isFIFO(r))throw new k.ErrnoError(63);j.ops_table||(j.ops_table={dir:{node:{getattr:j.node_ops.getattr,setattr:j.node_ops.setattr,lookup:j.node_ops.lookup,mknod:j.node_ops.mknod,rename:j.node_ops.rename,unlink:j.node_ops.unlink,rmdir:j.node_ops.rmdir,readdir:j.node_ops.readdir,symlink:j.node_ops.symlink},stream:{llseek:j.stream_ops.llseek}},file:{node:{getattr:j.node_ops.getattr,setattr:j.node_ops.setattr},stream:{llseek:j.stream_ops.llseek,read:j.stream_ops.read,write:j.stream_ops.write,allocate:j.stream_ops.allocate,mmap:j.stream_ops.mmap,msync:j.stream_ops.msync}},link:{node:{getattr:j.node_ops.getattr,setattr:j.node_ops.setattr,readlink:j.node_ops.readlink},stream:{}},chrdev:{node:{getattr:j.node_ops.getattr,setattr:j.node_ops.setattr},stream:k.chrdev_stream_ops}});r=k.createNode(e,t,r,n);return k.isDir(r.mode)?(r.node_ops=j.ops_table.dir.node,r.stream_ops=j.ops_table.dir.stream,r.contents={}):k.isFile(r.mode)?(r.node_ops=j.ops_table.file.node,r.stream_ops=j.ops_table.file.stream,r.usedBytes=0,r.contents=null):k.isLink(r.mode)?(r.node_ops=j.ops_table.link.node,r.stream_ops=j.ops_table.link.stream):k.isChrdev(r.mode)&&(r.node_ops=j.ops_table.chrdev.node,r.stream_ops=j.ops_table.chrdev.stream),r.timestamp=Date.now(),e&&(e.contents[t]=r,e.timestamp=r.timestamp),r},getFileDataAsRegularArray:function(e){if(e.contents&&e.contents.subarray){for(var t=[],r=0;r<e.usedBytes;++r)t.push(e.contents[r]);return t}return e.contents},getFileDataAsTypedArray:function(e){return e.contents?e.contents.subarray?e.contents.subarray(0,e.usedBytes):new Uint8Array(e.contents):new Uint8Array(0)},expandFileStorage:function(e,t){var r=e.contents?e.contents.length:0;(t>>>=0)<=r||(t=Math.max(t,r*(r<1048576?2:1.125)>>>0),0!=r&&(t=Math.max(t,256)),r=e.contents,e.contents=new Uint8Array(t),0<e.usedBytes&&e.contents.set(r.subarray(0,e.usedBytes),0))},resizeFileStorage:function(e,t){if(e.usedBytes!=(t>>>=0))if(0==t)e.contents=null,e.usedBytes=0;else{var r;if(!e.contents||e.contents.subarray)r=e.contents,e.contents=new Uint8Array(t),r&&e.contents.set(r.subarray(0,Math.min(t,e.usedBytes)));else if(e.contents||(e.contents=[]),e.contents.length>t)e.contents.length=t;else for(;e.contents.length<t;)e.contents.push(0);e.usedBytes=t}},node_ops:{getattr:function(e){var t={};return t.dev=k.isChrdev(e.mode)?e.id:1,t.ino=e.id,t.mode=e.mode,t.nlink=1,t.uid=0,t.gid=0,t.rdev=e.rdev,k.isDir(e.mode)?t.size=4096:k.isFile(e.mode)?t.size=e.usedBytes:k.isLink(e.mode)?t.size=e.link.length:t.size=0,t.atime=new Date(e.timestamp),t.mtime=new Date(e.timestamp),t.ctime=new Date(e.timestamp),t.blksize=4096,t.blocks=Math.ceil(t.size/t.blksize),t},setattr:function(e,t){void 0!==t.mode&&(e.mode=t.mode),void 0!==t.timestamp&&(e.timestamp=t.timestamp),void 0!==t.size&&j.resizeFileStorage(e,t.size)},lookup:function(e,t){throw k.genericErrors[44]},mknod:function(e,t,r,n){return j.createNode(e,t,r,n)},rename:function(e,t,r){if(k.isDir(e.mode)){var n;try{n=k.lookupNode(t,r)}catch(e){}if(n)for(var o in n.contents)throw new k.ErrnoError(55)}delete e.parent.contents[e.name],e.parent.timestamp=Date.now(),e.name=r,t.contents[r]=e,t.timestamp=e.parent.timestamp,e.parent=t},unlink:function(e,t){delete e.contents[t],e.timestamp=Date.now()},rmdir:function(e,t){for(var r in k.lookupNode(e,t).contents)throw new k.ErrnoError(55);delete e.contents[t],e.timestamp=Date.now()},readdir:function(e){var t,r=[".",".."];for(t in e.contents)e.contents.hasOwnProperty(t)&&r.push(t);return r},symlink:function(e,t,r){e=j.createNode(e,t,41471,0);return e.link=r,e},readlink:function(e){if(k.isLink(e.mode))return e.link;throw new k.ErrnoError(28)}},stream_ops:{read:function(e,t,r,n,o){var i=e.node.contents;if(o>=e.node.usedBytes)return 0;var a=Math.min(e.node.usedBytes-o,n);if(m(0<=a),8<a&&i.subarray)t.set(i.subarray(o,o+a),r);else for(var s=0;s<a;s++)t[r+s]=i[o+s];return a},write:function(e,t,r,n,o,i){if(m(!(t instanceof ArrayBuffer)),t.buffer===u.buffer&&(i=!1),!n)return 0;var a=e.node;if(a.timestamp=Date.now(),t.subarray&&(!a.contents||a.contents.subarray)){if(i)return m(0===o,"canOwn must imply no weird position inside the file"),a.contents=t.subarray(r,r+n),a.usedBytes=n;if(0===a.usedBytes&&0===o)return a.contents=t.slice(r,r+n),a.usedBytes=n;if(o+n<=a.usedBytes)return a.contents.set(t.subarray(r,r+n),o),n}if(j.expandFileStorage(a,o+n),a.contents.subarray&&t.subarray)a.contents.set(t.subarray(r,r+n),o);else for(var s=0;s<n;s++)a.contents[o+s]=t[r+s];return a.usedBytes=Math.max(a.usedBytes,o+n),n},llseek:function(e,t,r){if(1===r?t+=e.position:2===r&&k.isFile(e.node.mode)&&(t+=e.node.usedBytes),t<0)throw new k.ErrnoError(28);return t},allocate:function(e,t,r){j.expandFileStorage(e.node,t+r),e.node.usedBytes=Math.max(e.node.usedBytes,t+r)},mmap:function(e,t,r,n,o,i){if(0!==t)throw new k.ErrnoError(28);if(!k.isFile(e.node.mode))throw new k.ErrnoError(43);var a,s,t=e.node.contents;if(2&i||t.buffer!==q){if((0<n||n+r<t.length)&&(t=t.subarray?t.subarray(n,n+r):Array.prototype.slice.call(t,n,n+r)),s=!0,!(a=ve(r)))throw new k.ErrnoError(48);u.set(t,(a>>>=0)>>>0)}else s=!1,a=t.byteOffset;return{ptr:a,allocated:s}},msync:function(e,t,r,n,o){if(k.isFile(e.node.mode))return 2&o||j.stream_ops.write(e,t,0,n,r,!1),0;throw new k.ErrnoError(43)}}},I={DIR_MODE:16895,FILE_MODE:33279,reader:null,mount:function(e){m(d),I.reader||(I.reader=new FileReaderSync);var i=I.createNode(null,"/",I.DIR_MODE,0),a={};function n(e){for(var t=e.split("/"),r=i,n=0;n<t.length-1;n++){var o=t.slice(0,n+1).join("/");a[o]||(a[o]=I.createNode(r,t[n],I.DIR_MODE,0)),r=a[o]}return r}function o(e){e=e.split("/");return e[e.length-1]}return Array.prototype.forEach.call(e.opts.files||[],function(e){I.createNode(n(e.name),o(e.name),I.FILE_MODE,0,e,e.lastModifiedDate)}),(e.opts.blobs||[]).forEach(function(e){I.createNode(n(e.name),o(e.name),I.FILE_MODE,0,e.data)}),(e.opts.packages||[]).forEach(function(r){r.metadata.files.forEach(function(e){var t=e.filename.substr(1);I.createNode(n(t),o(t),I.FILE_MODE,0,r.blob.slice(e.start,e.end))})}),i},createNode:function(e,t,r,n,o,i){var a=k.createNode(e,t,r);return a.mode=r,a.node_ops=I.node_ops,a.stream_ops=I.stream_ops,a.timestamp=(i||new Date).getTime(),m(I.FILE_MODE!==I.DIR_MODE),r===I.FILE_MODE?(a.size=o.size,a.contents=o):(a.size=4096,a.contents={}),e&&(e.contents[t]=a),a},node_ops:{getattr:function(e){return{dev:1,ino:e.id,mode:e.mode,nlink:1,uid:0,gid:0,rdev:void 0,size:e.size,atime:new Date(e.timestamp),mtime:new Date(e.timestamp),ctime:new Date(e.timestamp),blksize:4096,blocks:Math.ceil(e.size/4096)}},setattr:function(e,t){void 0!==t.mode&&(e.mode=t.mode),void 0!==t.timestamp&&(e.timestamp=t.timestamp)},lookup:function(e,t){throw new k.ErrnoError(44)},mknod:function(e,t,r,n){throw new k.ErrnoError(63)},rename:function(e,t,r){throw new k.ErrnoError(63)},unlink:function(e,t){throw new k.ErrnoError(63)},rmdir:function(e,t){throw new k.ErrnoError(63)},readdir:function(e){var t,r=[".",".."];for(t in e.contents)e.contents.hasOwnProperty(t)&&r.push(t);return r},symlink:function(e,t,r){throw new k.ErrnoError(63)},readlink:function(e){throw new k.ErrnoError(63)}},stream_ops:{read:function(e,t,r,n,o){return o>=e.node.size?0:(e=e.node.contents.slice(o,o+n),o=I.reader.readAsArrayBuffer(e),t.set(new Uint8Array(o),r),e.size)},write:function(e,t,r,n,o){throw new k.ErrnoError(29)},llseek:function(e,t,r){if(1===r?t+=e.position:2===r&&k.isFile(e.node.mode)&&(t+=e.node.size),t<0)throw new k.ErrnoError(28);return t}}},Pe={0:"Success",1:"Arg list too long",2:"Permission denied",3:"Address already in use",4:"Address not available",5:"Address family not supported by protocol family",6:"No more processes",7:"Socket already connected",8:"Bad file number",9:"Trying to read unreadable message",10:"Mount device busy",11:"Operation canceled",12:"No children",13:"Connection aborted",14:"Connection refused",15:"Connection reset by peer",16:"File locking deadlock error",17:"Destination address required",18:"Math arg out of domain of func",19:"Quota exceeded",20:"File exists",21:"Bad address",22:"File too large",23:"Host is unreachable",24:"Identifier removed",25:"Illegal byte sequence",26:"Connection already in progress",27:"Interrupted system call",28:"Invalid argument",29:"I/O error",30:"Socket is already connected",31:"Is a directory",32:"Too many symbolic links",33:"Too many open files",34:"Too many links",35:"Message too long",36:"Multihop attempted",37:"File or path name too long",38:"Network interface is not configured",39:"Connection reset by network",40:"Network is unreachable",41:"Too many open files in system",42:"No buffer space available",43:"No such device",44:"No such file or directory",45:"Exec format error",46:"No record locks available",47:"The link has been severed",48:"Not enough core",49:"No message of desired type",50:"Protocol not available",51:"No space left on device",52:"Function not implemented",53:"Socket is not connected",54:"Not a directory",55:"Directory not empty",56:"State not recoverable",57:"Socket operation on non-socket",59:"Not a typewriter",60:"No such device or address",61:"Value too large for defined data type",62:"Previous owner died",63:"Not super-user",64:"Broken pipe",65:"Protocol error",66:"Unknown protocol",67:"Protocol wrong type for socket",68:"Math result not representable",69:"Read only file system",70:"Illegal seek",71:"No such process",72:"Stale file handle",73:"Connection timed out",74:"Text file busy",75:"Cross-device link",100:"Device not a stream",101:"Bad font file fmt",102:"Invalid slot",103:"Invalid request code",104:"No anode",105:"Block device required",106:"Channel number out of range",107:"Level 3 halted",108:"Level 3 reset",109:"Link number out of range",110:"Protocol driver not attached",111:"No CSI structure available",112:"Level 2 halted",113:"Invalid exchange",114:"Invalid request descriptor",115:"Exchange full",116:"No data (for no delay io)",117:"Timer expired",118:"Out of streams resources",119:"Machine is not on the network",120:"Package not installed",121:"The object is remote",122:"Advertise error",123:"Srmount error",124:"Communication error on send",125:"Cross mount point (not really error)",126:"Given log. name not unique",127:"f.d. invalid for this operation",128:"Remote address changed",129:"Can access a needed shared lib",130:"Accessing a corrupted shared lib",131:".lib section in a.out corrupted",132:"Attempting to link in too many libs",133:"Attempting to exec a shared library",135:"Streams pipe error",136:"Too many users",137:"Socket type not supported",138:"Not supported",139:"Protocol family not supported",140:"Can't send after socket shutdown",141:"Too many references",142:"Host is down",148:"No medium (in tape drive)",156:"Level 2 not synchronized"},Me={EPERM:63,ENOENT:44,ESRCH:71,EINTR:27,EIO:29,ENXIO:60,E2BIG:1,ENOEXEC:45,EBADF:8,ECHILD:12,EAGAIN:6,EWOULDBLOCK:6,ENOMEM:48,EACCES:2,EFAULT:21,ENOTBLK:105,EBUSY:10,EEXIST:20,EXDEV:75,ENODEV:43,ENOTDIR:54,EISDIR:31,EINVAL:28,ENFILE:41,EMFILE:33,ENOTTY:59,ETXTBSY:74,EFBIG:22,ENOSPC:51,ESPIPE:70,EROFS:69,EMLINK:34,EPIPE:64,EDOM:18,ERANGE:68,ENOMSG:49,EIDRM:24,ECHRNG:106,EL2NSYNC:156,EL3HLT:107,EL3RST:108,ELNRNG:109,EUNATCH:110,ENOCSI:111,EL2HLT:112,EDEADLK:16,ENOLCK:46,EBADE:113,EBADR:114,EXFULL:115,ENOANO:104,EBADRQC:103,EBADSLT:102,EDEADLOCK:16,EBFONT:101,ENOSTR:100,ENODATA:116,ETIME:117,ENOSR:118,ENONET:119,ENOPKG:120,EREMOTE:121,ENOLINK:47,EADV:122,ESRMNT:123,ECOMM:124,EPROTO:65,EMULTIHOP:36,EDOTDOT:125,EBADMSG:9,ENOTUNIQ:126,EBADFD:127,EREMCHG:128,ELIBACC:129,ELIBBAD:130,ELIBSCN:131,ELIBMAX:132,ELIBEXEC:133,ENOSYS:52,ENOTEMPTY:55,ENAMETOOLONG:37,ELOOP:32,EOPNOTSUPP:138,EPFNOSUPPORT:139,ECONNRESET:15,ENOBUFS:42,EAFNOSUPPORT:5,EPROTOTYPE:67,ENOTSOCK:57,ENOPROTOOPT:50,ESHUTDOWN:140,ECONNREFUSED:14,EADDRINUSE:3,ECONNABORTED:13,ENETUNREACH:40,ENETDOWN:38,ETIMEDOUT:73,EHOSTDOWN:142,EHOSTUNREACH:23,EINPROGRESS:26,EALREADY:7,EDESTADDRREQ:17,EMSGSIZE:35,EPROTONOSUPPORT:66,ESOCKTNOSUPPORT:137,EADDRNOTAVAIL:4,ENETRESET:39,EISCONN:30,ENOTCONN:53,ETOOMANYREFS:141,EUSERS:136,EDQUOT:19,ESTALE:72,ENOTSUP:138,ENOMEDIUM:148,EILSEQ:25,EOVERFLOW:61,ECANCELED:11,ENOTRECOVERABLE:56,EOWNERDEAD:62,ESTRPIPE:135},k={root:null,mounts:[],devices:{},streams:[],nextInode:1,nameTable:null,currentPath:"/",initialized:!1,ignorePermissions:!0,trackingDelegate:{},tracking:{openFlags:{READ:1,WRITE:2}},ErrnoError:null,genericErrors:{},filesystems:null,syncFSRequests:0,lookupPath:function(e,t){if(t=t||{},!(e=S.resolve(k.cwd(),e)))return{path:"",node:null};var r,n={follow_mount:!0,recurse_count:0};for(r in n)void 0===t[r]&&(t[r]=n[r]);if(8<t.recurse_count)throw new k.ErrnoError(32);for(var o=A.normalizeArray(e.split("/").filter(function(e){return!!e}),!1),i=k.root,a="/",s=0;s<o.length;s++){var c=s===o.length-1;if(c&&t.parent)break;if(i=k.lookupNode(i,o[s]),a=A.join2(a,o[s]),!k.isMountpoint(i)||c&&!t.follow_mount||(i=i.mounted.root),!c||t.follow)for(var d=0;k.isLink(i.mode);){var u=k.readlink(a),a=S.resolve(A.dirname(a),u),i=k.lookupPath(a,{recurse_count:t.recurse_count}).node;if(40<d++)throw new k.ErrnoError(32)}}return{path:a,node:i}},getPath:function(e){for(var t,r;;){if(k.isRoot(e))return r=e.mount.mountpoint,t?"/"!==r[r.length-1]?r+"/"+t:r+t:r;t=t?e.name+"/"+t:e.name,e=e.parent}},hashName:function(e,t){for(var r=0,n=0;n<t.length;n++)r=(r<<5)-r+t.charCodeAt(n)|0;return(e+r>>>0)%k.nameTable.length},hashAddNode:function(e){var t=k.hashName(e.parent.id,e.name);e.name_next=k.nameTable[t],k.nameTable[t]=e},hashRemoveNode:function(e){var t=k.hashName(e.parent.id,e.name);if(k.nameTable[t]===e)k.nameTable[t]=e.name_next;else for(var r=k.nameTable[t];r;){if(r.name_next===e){r.name_next=e.name_next;break}r=r.name_next}},lookupNode:function(e,t){var r=k.mayLookup(e);if(r)throw new k.ErrnoError(r,e);for(var r=k.hashName(e.id,t),n=k.nameTable[r];n;n=n.name_next){var o=n.name;if(n.parent.id===e.id&&o===t)return n}return k.lookup(e,t)},createNode:function(e,t,r,n){m("object"==typeof e);e=new k.FSNode(e,t,r,n);return k.hashAddNode(e),e},destroyNode:function(e){k.hashRemoveNode(e)},isRoot:function(e){return e===e.parent},isMountpoint:function(e){return!!e.mounted},isFile:function(e){return 32768==(61440&e)},isDir:function(e){return 16384==(61440&e)},isLink:function(e){return 40960==(61440&e)},isChrdev:function(e){return 8192==(61440&e)},isBlkdev:function(e){return 24576==(61440&e)},isFIFO:function(e){return 4096==(61440&e)},isSocket:function(e){return 49152==(49152&e)},flagModes:{r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090},modeStringToFlags:function(e){var t=k.flagModes[e];if(void 0===t)throw new Error("Unknown file open mode: "+e);return t},flagsToPermissionString:function(e){var t=["r","w","rw"][3&e];return 512&e&&(t+="w"),t},nodePermissions:function(e,t){return k.ignorePermissions||(-1===t.indexOf("r")||292&e.mode)&&(-1===t.indexOf("w")||146&e.mode)&&(-1===t.indexOf("x")||73&e.mode)?0:2},mayLookup:function(e){var t=k.nodePermissions(e,"x");return t||(e.node_ops.lookup?0:2)},mayCreate:function(e,t){try{k.lookupNode(e,t);return 20}catch(e){}return k.nodePermissions(e,"wx")},mayDelete:function(e,t,r){var n;try{n=k.lookupNode(e,t)}catch(e){return e.errno}t=k.nodePermissions(e,"wx");if(t)return t;if(r){if(!k.isDir(n.mode))return 54;if(k.isRoot(n)||k.getPath(n)===k.cwd())return 10}else if(k.isDir(n.mode))return 31;return 0},mayOpen:function(e,t){return e?k.isLink(e.mode)?32:k.isDir(e.mode)&&("r"!==k.flagsToPermissionString(t)||512&t)?31:k.nodePermissions(e,k.flagsToPermissionString(t)):44},MAX_OPEN_FDS:4096,nextfd:function(e,t){t=t||k.MAX_OPEN_FDS;for(var r=e=e||0;r<=t;r++)if(!k.streams[r])return r;throw new k.ErrnoError(33)},getStream:function(e){return k.streams[e]},createStream:function(e,t,r){k.FSStream||(k.FSStream=function(){},k.FSStream.prototype={object:{get:function(){return this.node},set:function(e){this.node=e}},isRead:{get:function(){return 1!=(2097155&this.flags)}},isWrite:{get:function(){return 0!=(2097155&this.flags)}},isAppend:{get:function(){return 1024&this.flags}}});var n,o=new k.FSStream;for(n in e)o[n]=e[n];e=o;t=k.nextfd(t,r);return e.fd=t,k.streams[t]=e},closeStream:function(e){k.streams[e]=null},chrdev_stream_ops:{open:function(e){var t=k.getDevice(e.node.rdev);e.stream_ops=t.stream_ops,e.stream_ops.open&&e.stream_ops.open(e)},llseek:function(){throw new k.ErrnoError(70)}},major:function(e){return e>>8},minor:function(e){return 255&e},makedev:function(e,t){return e<<8|t},registerDevice:function(e,t){k.devices[e]={stream_ops:t}},getDevice:function(e){return k.devices[e]},getMounts:function(e){for(var t=[],r=[e];r.length;){var n=r.pop();t.push(n),r.push.apply(r,n.mounts)}return t},syncfs:function(t,r){"function"==typeof t&&(r=t,t=!1),k.syncFSRequests++,1<k.syncFSRequests&&E("warning: "+k.syncFSRequests+" FS.syncfs operations in flight at once, probably just doing extra work");var n=k.getMounts(k.root.mount),o=0;function i(e){return m(0<k.syncFSRequests),k.syncFSRequests--,r(e)}function a(e){if(e)return a.errored?void 0:(a.errored=!0,i(e));++o>=n.length&&i(null)}n.forEach(function(e){if(!e.type.syncfs)return a(null);e.type.syncfs(e,t,a)})},mount:function(e,t,r){if("string"==typeof e)throw e;var n,o="/"===r,i=!r;if(o&&k.root)throw new k.ErrnoError(10);if(!o&&!i){i=k.lookupPath(r,{follow_mount:!1});if(r=i.path,n=i.node,k.isMountpoint(n))throw new k.ErrnoError(10);if(!k.isDir(n.mode))throw new k.ErrnoError(54)}i={type:e,opts:t,mountpoint:r,mounts:[]},t=e.mount(i);return(t.mount=i).root=t,o?k.root=t:n&&(n.mounted=i,n.mount)&&n.mount.mounts.push(i),t},unmount:function(e){e=k.lookupPath(e,{follow_mount:!1});if(!k.isMountpoint(e.node))throw new k.ErrnoError(28);var e=e.node,t=e.mounted,n=k.getMounts(t),t=(Object.keys(k.nameTable).forEach(function(e){for(var t=k.nameTable[e];t;){var r=t.name_next;-1!==n.indexOf(t.mount)&&k.destroyNode(t),t=r}}),e.mounted=null,e.mount.mounts.indexOf(t));m(-1!==t),e.mount.mounts.splice(t,1)},lookup:function(e,t){return e.node_ops.lookup(e,t)},mknod:function(e,t,r){var n=k.lookupPath(e,{parent:!0}).node,e=A.basename(e);if(!e||"."===e||".."===e)throw new k.ErrnoError(28);var o=k.mayCreate(n,e);if(o)throw new k.ErrnoError(o);if(n.node_ops.mknod)return n.node_ops.mknod(n,e,t,r);throw new k.ErrnoError(63)},create:function(e,t){return k.mknod(e,t=(t=void 0!==t?t:438)&4095|32768,0)},mkdir:function(e,t){return k.mknod(e,t=(t=void 0!==t?t:511)&1023|16384,0)},mkdirTree:function(e,t){for(var r=e.split("/"),n="",o=0;o<r.length;++o)if(r[o]){n+="/"+r[o];try{k.mkdir(n,t)}catch(e){if(20!=e.errno)throw e}}},mkdev:function(e,t,r){return void 0===r&&(r=t,t=438),k.mknod(e,t|=8192,r)},symlink:function(e,t){if(!S.resolve(e))throw new k.ErrnoError(44);var r=k.lookupPath(t,{parent:!0}).node;if(!r)throw new k.ErrnoError(44);var t=A.basename(t),n=k.mayCreate(r,t);if(n)throw new k.ErrnoError(n);if(r.node_ops.symlink)return r.node_ops.symlink(r,t,e);throw new k.ErrnoError(63)},rename:function(t,r){var e=A.dirname(t),n=A.dirname(r),o=A.basename(t),i=A.basename(r),a=k.lookupPath(t,{parent:!0}),a=a.node,s=k.lookupPath(r,{parent:!0}).node;if(!a||!s)throw new k.ErrnoError(44);if(a.mount!==s.mount)throw new k.ErrnoError(75);var c,d=k.lookupNode(a,o),n=S.relative(t,n);if("."!==n.charAt(0))throw new k.ErrnoError(28);if("."!==(n=S.relative(r,e)).charAt(0))throw new k.ErrnoError(55);try{c=k.lookupNode(s,i)}catch(e){}if(d!==c){e=k.isDir(d.mode),n=k.mayDelete(a,o,e);if(n)throw new k.ErrnoError(n);if(n=c?k.mayDelete(s,i,e):k.mayCreate(s,i))throw new k.ErrnoError(n);if(!a.node_ops.rename)throw new k.ErrnoError(63);if(k.isMountpoint(d)||c&&k.isMountpoint(c))throw new k.ErrnoError(10);if(s!==a&&(n=k.nodePermissions(a,"w")))throw new k.ErrnoError(n);try{k.trackingDelegate.willMovePath&&k.trackingDelegate.willMovePath(t,r)}catch(e){E("FS.trackingDelegate['willMovePath']('"+t+"', '"+r+"') threw an exception: "+e.message)}k.hashRemoveNode(d);try{a.node_ops.rename(d,s,i)}catch(e){throw e}finally{k.hashAddNode(d)}try{k.trackingDelegate.onMovePath&&k.trackingDelegate.onMovePath(t,r)}catch(e){E("FS.trackingDelegate['onMovePath']('"+t+"', '"+r+"') threw an exception: "+e.message)}}},rmdir:function(t){var e=k.lookupPath(t,{parent:!0}).node,r=A.basename(t),n=k.lookupNode(e,r),o=k.mayDelete(e,r,!0);if(o)throw new k.ErrnoError(o);if(!e.node_ops.rmdir)throw new k.ErrnoError(63);if(k.isMountpoint(n))throw new k.ErrnoError(10);try{k.trackingDelegate.willDeletePath&&k.trackingDelegate.willDeletePath(t)}catch(e){E("FS.trackingDelegate['willDeletePath']('"+t+"') threw an exception: "+e.message)}e.node_ops.rmdir(e,r),k.destroyNode(n);try{k.trackingDelegate.onDeletePath&&k.trackingDelegate.onDeletePath(t)}catch(e){E("FS.trackingDelegate['onDeletePath']('"+t+"') threw an exception: "+e.message)}},readdir:function(e){e=k.lookupPath(e,{follow:!0}).node;if(e.node_ops.readdir)return e.node_ops.readdir(e);throw new k.ErrnoError(54)},unlink:function(t){var e=k.lookupPath(t,{parent:!0}).node,r=A.basename(t),n=k.lookupNode(e,r),o=k.mayDelete(e,r,!1);if(o)throw new k.ErrnoError(o);if(!e.node_ops.unlink)throw new k.ErrnoError(63);if(k.isMountpoint(n))throw new k.ErrnoError(10);try{k.trackingDelegate.willDeletePath&&k.trackingDelegate.willDeletePath(t)}catch(e){E("FS.trackingDelegate['willDeletePath']('"+t+"') threw an exception: "+e.message)}e.node_ops.unlink(e,r),k.destroyNode(n);try{k.trackingDelegate.onDeletePath&&k.trackingDelegate.onDeletePath(t)}catch(e){E("FS.trackingDelegate['onDeletePath']('"+t+"') threw an exception: "+e.message)}},readlink:function(e){e=k.lookupPath(e).node;if(!e)throw new k.ErrnoError(44);if(e.node_ops.readlink)return S.resolve(k.getPath(e.parent),e.node_ops.readlink(e));throw new k.ErrnoError(28)},stat:function(e,t){e=k.lookupPath(e,{follow:!t}).node;if(!e)throw new k.ErrnoError(44);if(e.node_ops.getattr)return e.node_ops.getattr(e);throw new k.ErrnoError(63)},lstat:function(e){return k.stat(e,!0)},chmod:function(e,t,r){if(!(r="string"==typeof e?k.lookupPath(e,{follow:!r}).node:e).node_ops.setattr)throw new k.ErrnoError(63);r.node_ops.setattr(r,{mode:4095&t|-4096&r.mode,timestamp:Date.now()})},lchmod:function(e,t){k.chmod(e,t,!0)},fchmod:function(e,t){e=k.getStream(e);if(!e)throw new k.ErrnoError(8);k.chmod(e.node,t)},chown:function(e,t,r,n){if(!(n="string"==typeof e?k.lookupPath(e,{follow:!n}).node:e).node_ops.setattr)throw new k.ErrnoError(63);n.node_ops.setattr(n,{timestamp:Date.now()})},lchown:function(e,t,r){k.chown(e,t,r,!0)},fchown:function(e,t,r){e=k.getStream(e);if(!e)throw new k.ErrnoError(8);k.chown(e.node,t,r)},truncate:function(e,t){if(t<0)throw new k.ErrnoError(28);if(!(e="string"==typeof e?k.lookupPath(e,{follow:!0}).node:e).node_ops.setattr)throw new k.ErrnoError(63);if(k.isDir(e.mode))throw new k.ErrnoError(31);if(!k.isFile(e.mode))throw new k.ErrnoError(28);var r=k.nodePermissions(e,"w");if(r)throw new k.ErrnoError(r);e.node_ops.setattr(e,{size:t,timestamp:Date.now()})},ftruncate:function(e,t){e=k.getStream(e);if(!e)throw new k.ErrnoError(8);if(0==(2097155&e.flags))throw new k.ErrnoError(28);k.truncate(e.node,t)},utime:function(e,t,r){e=k.lookupPath(e,{follow:!0}).node;e.node_ops.setattr(e,{timestamp:Math.max(t,r)})},open:function(t,e,r,n,o){if(""===t)throw new k.ErrnoError(44);if(r=void 0===r?438:r,r=64&(e="string"==typeof e?k.modeStringToFlags(e):e)?4095&r|32768:0,"object"==typeof t)i=t;else{t=A.normalize(t);try{var i=k.lookupPath(t,{follow:!(131072&e)}).node}catch(e){}}var a=!1;if(64&e)if(i){if(128&e)throw new k.ErrnoError(20)}else i=k.mknod(t,r,0),a=!0;if(!i)throw new k.ErrnoError(44);if(k.isChrdev(i.mode)&&(e&=-513),65536&e&&!k.isDir(i.mode))throw new k.ErrnoError(54);if(!a){r=k.mayOpen(i,e);if(r)throw new k.ErrnoError(r)}512&e&&k.truncate(i,0),e&=-131713;var s,a=k.createStream({node:i,path:k.getPath(i),flags:e,seekable:!0,position:0,stream_ops:i.stream_ops,ungotten:[],error:!1},n,o);a.stream_ops.open&&a.stream_ops.open(a),!_.logReadFiles||1&e||(k.readFiles||(k.readFiles={}),t in k.readFiles)||(k.readFiles[t]=1,E("FS.trackingDelegate error on read file: "+t));try{k.trackingDelegate.onOpenFile&&(s=0,1!=(2097155&e)&&(s|=k.tracking.openFlags.READ),0!=(2097155&e)&&(s|=k.tracking.openFlags.WRITE),k.trackingDelegate.onOpenFile(t,s))}catch(e){E("FS.trackingDelegate['onOpenFile']('"+t+"', flags) threw an exception: "+e.message)}return a},close:function(e){if(k.isClosed(e))throw new k.ErrnoError(8);e.getdents&&(e.getdents=null);try{e.stream_ops.close&&e.stream_ops.close(e)}catch(e){throw e}finally{k.closeStream(e.fd)}e.fd=null},isClosed:function(e){return null===e.fd},llseek:function(e,t,r){if(k.isClosed(e))throw new k.ErrnoError(8);if(!e.seekable||!e.stream_ops.llseek)throw new k.ErrnoError(70);if(0!=r&&1!=r&&2!=r)throw new k.ErrnoError(28);return e.position=e.stream_ops.llseek(e,t,r),e.ungotten=[],e.position},read:function(e,t,r,n,o){if(r>>>=0,n<0||o<0)throw new k.ErrnoError(28);if(k.isClosed(e))throw new k.ErrnoError(8);if(1==(2097155&e.flags))throw new k.ErrnoError(8);if(k.isDir(e.node.mode))throw new k.ErrnoError(31);if(!e.stream_ops.read)throw new k.ErrnoError(28);var i=void 0!==o;if(i){if(!e.seekable)throw new k.ErrnoError(70)}else o=e.position;t=e.stream_ops.read(e,t,r,n,o);return i||(e.position+=t),t},write:function(t,e,r,n,o,i){if(r>>>=0,n<0||o<0)throw new k.ErrnoError(28);if(k.isClosed(t))throw new k.ErrnoError(8);if(0==(2097155&t.flags))throw new k.ErrnoError(8);if(k.isDir(t.node.mode))throw new k.ErrnoError(31);if(!t.stream_ops.write)throw new k.ErrnoError(28);t.seekable&&1024&t.flags&&k.llseek(t,0,2);var a=void 0!==o;if(a){if(!t.seekable)throw new k.ErrnoError(70)}else o=t.position;e=t.stream_ops.write(t,e,r,n,o,i);a||(t.position+=e);try{t.path&&k.trackingDelegate.onWriteToFile&&k.trackingDelegate.onWriteToFile(t.path)}catch(e){E("FS.trackingDelegate['onWriteToFile']('"+t.path+"') threw an exception: "+e.message)}return e},allocate:function(e,t,r){if(k.isClosed(e))throw new k.ErrnoError(8);if(t<0||r<=0)throw new k.ErrnoError(28);if(0==(2097155&e.flags))throw new k.ErrnoError(8);if(!k.isFile(e.node.mode)&&!k.isDir(e.node.mode))throw new k.ErrnoError(43);if(!e.stream_ops.allocate)throw new k.ErrnoError(138);e.stream_ops.allocate(e,t,r)},mmap:function(e,t,r,n,o,i){if(t>>>=0,0!=(2&o)&&0==(2&i)&&2!=(2097155&e.flags))throw new k.ErrnoError(2);if(1==(2097155&e.flags))throw new k.ErrnoError(2);if(e.stream_ops.mmap)return e.stream_ops.mmap(e,t,r,n,o,i);throw new k.ErrnoError(43)},msync:function(e,t,r,n,o){return r>>>=0,e&&e.stream_ops.msync?e.stream_ops.msync(e,t,r,n,o):0},munmap:function(e){return 0},ioctl:function(e,t,r){if(e.stream_ops.ioctl)return e.stream_ops.ioctl(e,t,r);throw new k.ErrnoError(59)},readFile:function(e,t){if((t=t||{}).flags=t.flags||0,t.encoding=t.encoding||"binary","utf8"!==t.encoding&&"binary"!==t.encoding)throw new Error('Invalid encoding type "'+t.encoding+'"');var r,n=k.open(e,t.flags),e=k.stat(e).size,o=new Uint8Array(e);return k.read(n,o,0,e,0),"utf8"===t.encoding?r=a(o,0):"binary"===t.encoding&&(r=o),k.close(n),r},writeFile:function(e,t,r){(r=r||{}).flags=r.flags||577;e=k.open(e,r.flags,r.mode);if("string"==typeof t){var n=new Uint8Array(c(t)+1),o=$(t,n,0,n.length);k.write(e,n,0,o,void 0,r.canOwn)}else{if(!ArrayBuffer.isView(t))throw new Error("Unsupported data type");k.write(e,t,0,t.byteLength,void 0,r.canOwn)}k.close(e)},cwd:function(){return k.currentPath},chdir:function(e){e=k.lookupPath(e,{follow:!0});if(null===e.node)throw new k.ErrnoError(44);if(!k.isDir(e.node.mode))throw new k.ErrnoError(54);var t=k.nodePermissions(e.node,"x");if(t)throw new k.ErrnoError(t);k.currentPath=e.path},createDefaultDirectories:function(){k.mkdir("/tmp"),k.mkdir("/home"),k.mkdir("/home/web_user")},createDefaultDevices:function(){k.mkdir("/dev"),k.registerDevice(k.makedev(1,3),{read:function(){return 0},write:function(e,t,r,n,o){return n}}),k.mkdev("/dev/null",k.makedev(1,3)),F.register(k.makedev(5,0),F.default_tty_ops),F.register(k.makedev(6,0),F.default_tty1_ops),k.mkdev("/dev/tty",k.makedev(5,0)),k.mkdev("/dev/tty1",k.makedev(6,0));var e,t="object"==typeof crypto&&"function"==typeof crypto.getRandomValues?(e=new Uint8Array(1),function(){return crypto.getRandomValues(e),e[0]}):function(){R("no cryptographic support found for randomDevice. consider polyfilling it if you want to use something insecure like Math.random(), e.g. put this in a --pre-js: var crypto = { getRandomValues: function(array) { for (var i = 0; i < array.length; i++) array[i] = (Math.random()*256)|0 } };")};k.createDevice("/dev","random",t),k.createDevice("/dev","urandom",t),k.mkdir("/dev/shm"),k.mkdir("/dev/shm/tmp")},createSpecialDirectories:function(){k.mkdir("/proc");var t=k.mkdir("/proc/self");k.mkdir("/proc/self/fd"),k.mount({mount:function(){var e=k.createNode(t,"fd",16895,73);return e.node_ops={lookup:function(e,t){var r=k.getStream(+t);if(r)return(t={parent:null,mount:{mountpoint:"fake"},node_ops:{readlink:function(){return r.path}}}).parent=t;throw new k.ErrnoError(8)}},e}},{},"/proc/self/fd")},createStandardStreams:function(){_.stdin?k.createDevice("/dev","stdin",_.stdin):k.symlink("/dev/tty","/dev/stdin"),_.stdout?k.createDevice("/dev","stdout",null,_.stdout):k.symlink("/dev/tty","/dev/stdout"),_.stderr?k.createDevice("/dev","stderr",null,_.stderr):k.symlink("/dev/tty1","/dev/stderr");var e=k.open("/dev/stdin",0),t=k.open("/dev/stdout",1),r=k.open("/dev/stderr",1);m(0===e.fd,"invalid handle for stdin ("+e.fd+")"),m(1===t.fd,"invalid handle for stdout ("+t.fd+")"),m(2===r.fd,"invalid handle for stderr ("+r.fd+")")},ensureErrnoError:function(){k.ErrnoError||(k.ErrnoError=function(e,t){this.node=t,this.setErrno=function(e){for(var t in this.errno=e,Me)if(Me[t]===e){this.code=t;break}},this.setErrno(e),this.message=Pe[e],this.stack&&(Object.defineProperty(this,"stack",{value:(new Error).stack,writable:!0}),this.stack=we(this.stack))},k.ErrnoError.prototype=new Error,k.ErrnoError.prototype.constructor=k.ErrnoError,[44].forEach(function(e){k.genericErrors[e]=new k.ErrnoError(e),k.genericErrors[e].stack="<generic error, no stack>"}))},staticInit:function(){k.ensureErrnoError(),k.nameTable=new Array(4096),k.mount(j,{},"/"),k.createDefaultDirectories(),k.createDefaultDevices(),k.createSpecialDirectories(),k.filesystems={MEMFS:j,WORKERFS:I}},init:function(e,t,r){m(!k.init.initialized,"FS.init was previously called. If you want to initialize later with custom parameters, remove any earlier calls (note that one is automatically added to the generated code)"),k.init.initialized=!0,k.ensureErrnoError(),_.stdin=e||_.stdin,_.stdout=t||_.stdout,_.stderr=r||_.stderr,k.createStandardStreams()},quit:function(){k.init.initialized=!1;var e=_._fflush;e&&e(0);for(var t=0;t<k.streams.length;t++){var r=k.streams[t];r&&k.close(r)}},getMode:function(e,t){var r=0;return e&&(r|=365),t&&(r|=146),r},findObject:function(e,t){e=k.analyzePath(e,t);return e.exists?e.object:null},analyzePath:function(e,t){try{e=(n=k.lookupPath(e,{follow:!t})).path}catch(e){}var r={isRoot:!1,exists:!1,error:0,name:null,path:null,object:null,parentExists:!1,parentPath:null,parentObject:null};try{var n=k.lookupPath(e,{parent:!0});r.parentExists=!0,r.parentPath=n.path,r.parentObject=n.node,r.name=A.basename(e),n=k.lookupPath(e,{follow:!t}),r.exists=!0,r.path=n.path,r.object=n.node,r.name=n.node.name,r.isRoot="/"===n.path}catch(e){r.error=e.errno}return r},createPath:function(e,t,r,n){e="string"==typeof e?e:k.getPath(e);for(var o=t.split("/").reverse();o.length;){var i=o.pop();if(i){var a=A.join2(e,i);try{k.mkdir(a)}catch(e){}e=a}}return a},createFile:function(e,t,r,n,o){e=A.join2("string"==typeof e?e:k.getPath(e),t),t=k.getMode(n,o);return k.create(e,t)},createDataFile:function(e,t,r,n,o,i){t=t?A.join2("string"==typeof e?e:k.getPath(e),t):e,e=k.getMode(n,o),n=k.create(t,e);if(r){if("string"==typeof r){for(var a=new Array(r.length),s=0,c=r.length;s<c;++s)a[s]=r.charCodeAt(s);r=a}k.chmod(n,146|e);o=k.open(n,577);k.write(o,r,0,r.length,0,i),k.close(o),k.chmod(n,e)}return n},createDevice:function(e,t,c,a){var e=A.join2("string"==typeof e?e:k.getPath(e),t),t=k.getMode(!!c,!!a),r=(k.createDevice.major||(k.createDevice.major=64),k.makedev(k.createDevice.major++,0));return k.registerDevice(r,{open:function(e){e.seekable=!1},close:function(e){a&&a.buffer&&a.buffer.length&&a(10)},read:function(e,t,r,n,o){for(var i,a=0,s=0;s<n;s++){try{i=c()}catch(e){throw new k.ErrnoError(29)}if(void 0===i&&0===a)throw new k.ErrnoError(6);if(null==i)break;a++,t[r+s]=i}return a&&(e.node.timestamp=Date.now()),a},write:function(e,t,r,n,o){for(var i=0;i<n;i++)try{a(t[r+i])}catch(e){throw new k.ErrnoError(29)}return n&&(e.node.timestamp=Date.now()),i}}),k.mkdev(e,t,r)},forceLoadFile:function(e){if(e.isDevice||e.isFolder||e.link||e.contents)return!0;if("undefined"!=typeof XMLHttpRequest)throw new Error("Lazy loading should have been performed (contents set) in createLazyFile, but it was not. Lazy loading only works in web workers. Use --embed-file or --preload-file in emcc on the main thread.");if(!Q)throw new Error("Cannot load without read() or XMLHttpRequest.");try{e.contents=Le(Q(e.url),!0),e.usedBytes=e.contents.length}catch(e){throw new k.ErrnoError(29)}},createLazyFile:function(e,t,a,r,n){function o(){this.lengthKnown=!1,this.chunks=[]}if(o.prototype.get=function(e){var t;if(!(e>this.length-1||e<0))return t=e%this.chunkSize,e=e/this.chunkSize|0,this.getter(e)[t]},o.prototype.setDataGetter=function(e){this.getter=e},o.prototype.cacheLength=function(){var e=new XMLHttpRequest;if(e.open("HEAD",a,!1),e.send(null),!(200<=e.status&&e.status<300||304===e.status))throw new Error("Couldn't load "+a+". Status: "+e.status);var t,n=Number(e.getResponseHeader("Content-length")),r=(t=e.getResponseHeader("Accept-Ranges"))&&"bytes"===t,e=(t=e.getResponseHeader("Content-Encoding"))&&"gzip"===t,o=1048576,i=(r||(o=n),this);i.setDataGetter(function(e){var t=e*o,r=(e+1)*o-1,r=Math.min(r,n-1);if(void 0===i.chunks[e]&&(i.chunks[e]=function(e,t){if(t<e)throw new Error("invalid range ("+e+", "+t+") or no bytes requested!");if(n-1<t)throw new Error("only "+n+" bytes available! programmer error!");var r=new XMLHttpRequest;if(r.open("GET",a,!1),n!==o&&r.setRequestHeader("Range","bytes="+e+"-"+t),"undefined"!=typeof Uint8Array&&(r.responseType="arraybuffer"),r.overrideMimeType&&r.overrideMimeType("text/plain; charset=x-user-defined"),r.send(null),200<=r.status&&r.status<300||304===r.status)return void 0!==r.response?new Uint8Array(r.response||[]):Le(r.responseText||"",!0);throw new Error("Couldn't load "+a+". Status: "+r.status)}(t,r)),void 0===i.chunks[e])throw new Error("doXHR failed!");return i.chunks[e]}),!e&&n||(o=n=1,n=this.getter(0).length,o=n,f("LazyFiles on gzip forces download of the whole file when length is accessed")),this._length=n,this._chunkSize=o,this.lengthKnown=!0},"undefined"!=typeof XMLHttpRequest){if(!d)throw"Cannot do synchronous binary XHRs outside webworkers in modern browsers. Use --embed-file or --preload-file in emcc";var i=new o,i=(Object.defineProperties(i,{length:{get:function(){return this.lengthKnown||this.cacheLength(),this._length}},chunkSize:{get:function(){return this.lengthKnown||this.cacheLength(),this._chunkSize}}}),{isDevice:!1,contents:i})}else i={isDevice:!1,url:a};var c=k.createFile(e,t,i,r,n),s=(i.contents?c.contents=i.contents:i.url&&(c.contents=null,c.url=i.url),Object.defineProperties(c,{usedBytes:{get:function(){return this.contents.length}}}),{});return Object.keys(c.stream_ops).forEach(function(e){var t=c.stream_ops[e];s[e]=function(){return k.forceLoadFile(c),t.apply(null,arguments)}}),s.read=function(e,t,r,n,o){k.forceLoadFile(c);var i=e.node.contents;if(o>=i.length)return 0;var a=Math.min(i.length-o,n);if(m(0<=a),i.slice)for(var s=0;s<a;s++)t[r+s]=i[o+s];else for(s=0;s<a;s++)t[r+s]=i.get(o+s);return a},c.stream_ops=s,c},createPreloadedFile:function(o,i,e,a,s,c,d,u,l,f){Browser.init();var E=i?S.resolve(A.join2(o,i)):o,p=function(e){for(var t=e;;){if(!b[e])return e;e=t+Math.random()}}("cp "+E);function t(t){function r(e){f&&f(),u||k.createDataFile(o,i,e,a,s,l),c&&c(),he(p)}var n=!1;_.preloadPlugins.forEach(function(e){n||e.canHandle(E)&&(e.handle(t,E,r,function(){d&&d(),he(p)}),n=!0)}),n||r(t)}_e(p),"string"==typeof e?Browser.asyncLoad(e,function(e){t(e)},d):t(e)},indexedDB:function(){return window.indexedDB||window.mozIndexedDB||window.webkitIndexedDB||window.msIndexedDB},DB_NAME:function(){return"EM_FS_"+window.location.pathname},DB_VERSION:20,DB_STORE_NAME:"FILE_DATA",saveFilesToDB:function(a,s,c){s=s||function(){},c=c||function(){};var e=k.indexedDB();try{var d=e.open(k.DB_NAME(),k.DB_VERSION)}catch(e){return c(e)}d.onupgradeneeded=function(){f("creating db"),d.result.createObjectStore(k.DB_STORE_NAME)},d.onsuccess=function(){var e=d.result.transaction([k.DB_STORE_NAME],"readwrite"),t=e.objectStore(k.DB_STORE_NAME),r=0,n=0,o=a.length;function i(){(0==n?s:c)()}a.forEach(function(e){e=t.put(k.analyzePath(e).object.contents,e);e.onsuccess=function(){++r+n==o&&i()},e.onerror=function(){r+ ++n==o&&i()}}),e.onerror=c},d.onerror=c},loadFilesFromDB:function(s,c,d){c=c||function(){},d=d||function(){};var e=k.indexedDB();try{var u=e.open(k.DB_NAME(),k.DB_VERSION)}catch(e){return d(e)}u.onupgradeneeded=d,u.onsuccess=function(){var e=u.result;try{var t=e.transaction([k.DB_STORE_NAME],"readonly")}catch(e){return void d(e)}var r=t.objectStore(k.DB_STORE_NAME),n=0,o=0,i=s.length;function a(){(0==o?c:d)()}s.forEach(function(e){var t=r.get(e);t.onsuccess=function(){k.analyzePath(e).exists&&k.unlink(e),k.createDataFile(A.dirname(e),A.basename(e),t.result,!0,!0,!0),++n+o==i&&a()},t.onerror=function(){n+ ++o==i&&a()}}),t.onerror=d},u.onerror=d},absolutePath:function(){R("FS.absolutePath has been removed; use PATH_FS.resolve instead")},createFolder:function(){R("FS.createFolder has been removed; use FS.mkdir instead")},createLink:function(){R("FS.createLink has been removed; use FS.symlink instead")},joinPath:function(){R("FS.joinPath has been removed; use PATH.join instead")},mmapAlloc:function(){R("FS.mmapAlloc has been replaced by the top level function mmapAlloc")},standardizePath:function(){R("FS.standardizePath has been removed; use PATH.normalize instead")}},U={mappings:{},DEFAULT_POLLMASK:5,umask:511,calculateAt:function(e,t){if("/"!==t[0]){var r;if(-100===e)r=k.cwd();else{e=k.getStream(e);if(!e)throw new k.ErrnoError(8);r=e.path}t=A.join2(r,t)}return t},doStat:function(e,t,r){try{var n=e(t)}catch(e){if(e&&e.node&&A.normalize(t)!==A.normalize(k.getPath(e.node)))return-54;throw e}return O[r>>>2]=n.dev,O[r+4>>>2]=0,O[r+8>>>2]=n.ino,O[r+12>>>2]=n.mode,O[r+16>>>2]=n.nlink,O[r+20>>>2]=n.uid,O[r+24>>>2]=n.gid,O[r+28>>>2]=n.rdev,O[r+32>>>2]=0,M=[n.size>>>0,(P=n.size,1<=+Math.abs(P)?0<P?(0|Math.min(+Math.floor(P/4294967296),4294967295))>>>0:~~+Math.ceil((P-(~~P>>>0))/4294967296)>>>0:0)],O[r+40>>>2]=M[0],O[r+44>>>2]=M[1],O[r+48>>>2]=4096,O[r+52>>>2]=n.blocks,O[r+56>>>2]=n.atime.getTime()/1e3|0,O[r+60>>>2]=0,O[r+64>>>2]=n.mtime.getTime()/1e3|0,O[r+68>>>2]=0,O[r+72>>>2]=n.ctime.getTime()/1e3|0,O[r+76>>>2]=0,M=[n.ino>>>0,(P=n.ino,1<=+Math.abs(P)?0<P?(0|Math.min(+Math.floor(P/4294967296),4294967295))>>>0:~~+Math.ceil((P-(~~P>>>0))/4294967296)>>>0:0)],O[r+80>>>2]=M[0],O[r+84>>>2]=M[1],0},doMsync:function(e,t,r,n,o){e=s.slice(e,e+r);k.msync(t,e,o,r,n)},doMkdir:function(e,t){return"/"===(e=A.normalize(e))[e.length-1]&&(e=e.substr(0,e.length-1)),k.mkdir(e,t,0),0},doMknod:function(e,t,r){switch(61440&t){case 32768:case 8192:case 24576:case 4096:case 49152:break;default:return-28}return k.mknod(e,t,r),0},doReadlink:function(e,t,r){var n,o;return r<=0?-28:(e=k.readlink(e),n=Math.min(r,c(e)),o=u[t+n>>>0],ee(e,t,r+1),u[t+n>>>0]=o,n)},doAccess:function(e,t){var r;return-8&t?-28:(e=k.lookupPath(e,{follow:!0}).node)?(r="",4&t&&(r+="r"),2&t&&(r+="w"),1&t&&(r+="x"),r&&k.nodePermissions(e,r)?-2:0):-44},doDup:function(e,t,r){var n=k.getStream(r);return n&&k.close(n),k.open(e,t,0,r,r).fd},doReadv:function(e,t,r,n){for(var o=0,i=0;i<r;i++){var a=O[t+8*i>>>2],s=O[t+(8*i+4)>>>2],a=k.read(e,u,a,s,n);if(a<0)return-1;if(o+=a,a<s)break}return o},doWritev:function(e,t,r,n){for(var o=0,i=0;i<r;i++){var a=O[t+8*i>>>2],s=O[t+(8*i+4)>>>2],a=k.write(e,u,a,s,n);if(a<0)return-1;o+=a}return o},varargs:void 0,get:function(){return m(null!=U.varargs),U.varargs+=4,O[U.varargs-4>>>2]},getStr:function(e){return J(e)},getStreamFromFD:function(e){e=k.getStream(e);if(e)return e;throw new k.ErrnoError(8)},get64:function(e,t){return m(0<=e?0===t:-1===t),e}};function Ae(e){O[ze()>>>2]=e}var Se=function(){return performance.now()},Fe=!0;var je={};function Ie(){if(!Ie.strings){var e={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:L||"./this.program"};for(t in je)e[t]=je[t];var t,r=[];for(t in e)r.push(t+"="+e[t]);Ie.strings=r}return Ie.strings}function ke(e){return e%4==0&&(e%100!=0||e%400==0)}function Ue(e,t){for(var r=0,n=0;n<=t;r+=e[n++]);return r}var Ne=[31,29,31,30,31,30,31,31,30,31,30,31],xe=[31,28,31,30,31,30,31,31,30,31,30,31];function Xe(e,t){for(var r=new Date(e.getTime());0<t;){var n=ke(r.getFullYear()),o=r.getMonth(),n=(n?Ne:xe)[o];if(!(t>n-r.getDate()))return r.setDate(r.getDate()+t),r;t-=n-r.getDate()+1,r.setDate(1),o<11?r.setMonth(o+1):(r.setMonth(0),r.setFullYear(r.getFullYear()+1))}return r}function Ce(e,t,r,n){this.parent=e=e||this,this.mount=e.mount,this.mounted=null,this.id=k.nextInode++,this.name=t,this.mode=r,this.node_ops={},this.stream_ops={},this.rdev=n}function Le(e,t,r){r=0<r?r:c(e)+1,r=new Array(r),e=$(e,r,0,r.length);return t&&(r.length=e),r}Object.defineProperties(Ce.prototype,{read:{get:function(){return 365==(365&this.mode)},set:function(e){e?this.mode|=365:this.mode&=-366}},write:{get:function(){return 146==(146&this.mode)},set:function(e){e?this.mode|=146:this.mode&=-147}},isFolder:{get:function(){return k.isDir(this.mode)}},isDevice:{get:function(){return k.isChrdev(this.mode)}}}),k.FSNode=Ce,k.staticInit();var He,Qe={__cxa_atexit:function(e,t){},__gmtime_r:function(e,t){return be(e,t)},__localtime_r:function(e,t){return e=e,t=t,Re(),e=new Date(1e3*O[e>>>2]),O[t>>>2]=e.getSeconds(),O[t+4>>>2]=e.getMinutes(),O[t+8>>>2]=e.getHours(),O[t+12>>>2]=e.getDate(),O[t+16>>>2]=e.getMonth(),O[t+20>>>2]=e.getFullYear()-1900,O[t+24>>>2]=e.getDay(),r=new Date(e.getFullYear(),0,1),n=(e.getTime()-r.getTime())/864e5|0,O[t+28>>>2]=n,O[t+36>>>2]=-60*e.getTimezoneOffset(),n=new Date(e.getFullYear(),6,1).getTimezoneOffset(),r=r.getTimezoneOffset(),e=0|(n!=r&&e.getTimezoneOffset()==Math.min(r,n)),O[t+32>>>2]=e,r=O[Ve()+(e?4:0)>>>2],O[t+40>>>2]=r,t;var r,n},__sys_access:function(e,t){try{return e=U.getStr(e),U.doAccess(e,t)}catch(e){return void 0!==k&&e instanceof k.ErrnoError||R(e),-e.errno}},__sys_chmod:function(e,t){try{return e=U.getStr(e),k.chmod(e,t),0}catch(e){return void 0!==k&&e instanceof k.ErrnoError||R(e),-e.errno}},__sys_chown32:function(e,t,r){try{return e=U.getStr(e),k.chown(e,t,r),0}catch(e){return void 0!==k&&e instanceof k.ErrnoError||R(e),-e.errno}},__sys_fchmod:function(e,t){try{return k.fchmod(e,t),0}catch(e){return void 0!==k&&e instanceof k.ErrnoError||R(e),-e.errno}},__sys_fchown32:function(e,t,r){try{return k.fchown(e,t,r),0}catch(e){return void 0!==k&&e instanceof k.ErrnoError||R(e),-e.errno}},__sys_fcntl64:function(e,t,r){U.varargs=r;try{var n=U.getStreamFromFD(e);switch(t){case 0:return(o=U.get())<0?-28:k.open(n.path,n.flags,0,o).fd;case 1:case 2:return 0;case 3:return n.flags;case 4:var o=U.get();return n.flags|=o,0;case 12:o=U.get();return Z[o+0>>>1]=2,0;case 13:case 14:return 0;case 16:case 8:return-28;case 9:return Ae(28),-1;default:return-28}}catch(e){return void 0!==k&&e instanceof k.ErrnoError||R(e),-e.errno}},__sys_fstat64:function(e,t){try{var r=U.getStreamFromFD(e);return U.doStat(k.stat,r.path,t)}catch(e){return void 0!==k&&e instanceof k.ErrnoError||R(e),-e.errno}},__sys_ftruncate64:function(e,t,r,n){try{var o=U.get64(r,n);return k.ftruncate(e,o),0}catch(e){return void 0!==k&&e instanceof k.ErrnoError||R(e),-e.errno}},__sys_getcwd:function(e,t){try{var r;return 0===t?-28:t<c(r=k.cwd())+1?-68:(ee(r,e,t),e)}catch(e){return void 0!==k&&e instanceof k.ErrnoError||R(e),-e.errno}},__sys_geteuid32:function(){return 0},__sys_getpid:function(){return 42},__sys_ioctl:function(e,t,r){U.varargs=r;try{var n=U.getStreamFromFD(e);switch(t){case 21509:case 21505:return n.tty?0:-59;case 21510:case 21511:case 21512:case 21506:case 21507:case 21508:return n.tty?0:-59;case 21519:return n.tty?(o=U.get(),O[o>>>2]=0):-59;case 21520:return n.tty?-28:-59;case 21531:var o=U.get();return k.ioctl(n,t,o);case 21523:case 21524:return n.tty?0:-59;default:R("bad ioctl syscall "+t)}}catch(e){return void 0!==k&&e instanceof k.ErrnoError||R(e),-e.errno}},__sys_lstat64:function(e,t){try{return e=U.getStr(e),U.doStat(k.lstat,e,t)}catch(e){return void 0!==k&&e instanceof k.ErrnoError||R(e),-e.errno}},__sys_mkdir:function(e,t){try{return e=U.getStr(e),U.doMkdir(e,t)}catch(e){return void 0!==k&&e instanceof k.ErrnoError||R(e),-e.errno}},__sys_mmap2:function(e,t,r,n,o,i){try{var a=e,s=t,c=r,d=n,u=o,l=i,f=(l<<=12,!1);if(0!=(16&d)&&a%16384!=0)return-28;if(0!=(32&d)){if(!(p=rt(16384,s)))return-48;Ye(p,0,s),f=!0}else{var E=k.getStream(u);if(!E)return-8;var E=k.mmap(E,a,s,l,c,d),p=E.ptr,f=E.allocated}return U.mappings[p>>>=0]={malloc:p,len:s,allocated:f,fd:u,prot:c,flags:d,offset:l},p}catch(e){return void 0!==k&&e instanceof k.ErrnoError||R(e),-e.errno}},__sys_mprotect:function(e,t,r){return 0},__sys_munmap:function(e,t){try{return r=e,n=t,-1==(0|(r>>>=0))||0===n?-28:((o=U.mappings[r])&&n===o.len&&((i=k.getStream(o.fd))&&(2&o.prot&&U.doMsync(r,i,n,o.flags,o.offset),k.munmap(i)),U.mappings[r]=null,o.allocated)&&We(o.malloc),0)}catch(e){return void 0!==k&&e instanceof k.ErrnoError||R(e),-e.errno}var r,n,o,i},__sys_open:function(e,t,r){U.varargs=r;try{var n=U.getStr(e),o=r?U.get():0;return k.open(n,t,o).fd}catch(e){return void 0!==k&&e instanceof k.ErrnoError||R(e),-e.errno}},__sys_readlink:function(e,t,r){try{return e=U.getStr(e),U.doReadlink(e,t,r)}catch(e){return void 0!==k&&e instanceof k.ErrnoError||R(e),-e.errno}},__sys_rmdir:function(e){try{return e=U.getStr(e),k.rmdir(e),0}catch(e){return void 0!==k&&e instanceof k.ErrnoError||R(e),-e.errno}},__sys_stat64:function(e,t){try{return e=U.getStr(e),U.doStat(k.stat,e,t)}catch(e){return void 0!==k&&e instanceof k.ErrnoError||R(e),-e.errno}},__sys_unlink:function(e){try{return e=U.getStr(e),k.unlink(e),0}catch(e){return void 0!==k&&e instanceof k.ErrnoError||R(e),-e.errno}},abort:function(){R()},clock_gettime:function(e,t){var r;if(0===e)r=Date.now();else{if(1!==e&&4!==e||!Fe)return Ae(28),-1;r=Se()}return O[t>>>2]=r/1e3|0,O[t+4>>>2]=r%1e3*1e3*1e3|0,0},emscripten_get_now:Se,emscripten_memcpy_big:function(e,t,r){s.copyWithin(e>>>0,t>>>0,t+r>>>0)},emscripten_resize_heap:function(e){e>>>=0;var t=s.length,r=(m(t<e),4294967296);if(r<e)E("Cannot enlarge memory, asked to go up to "+e+" bytes, but the limit is "+r+" bytes!");else{for(var n,o=1;o<=4;o*=2){var i=t*(1+.2/o),i=Math.min(i,e+100663296),a=Math.min(r,(0<(i=Math.max(16777216,e,i))%(n=65536)&&(i+=n-i%n),i));if(function(t){try{return G.grow(t-q.byteLength+65535>>>16),oe(G.buffer),1}catch(e){console.error("emscripten_realloc_buffer: Attempted to grow heap from "+q.byteLength+" bytes to "+t+" bytes, but got error: "+e)}}(a))return!0}E("Failed to grow the heap from "+t+" bytes to "+a+" bytes, not enough memory!")}return!1},emscripten_thread_sleep:function(e){for(var t=Se();Se()-t<e;);},environ_get:function(a,s){try{var c=0;return Ie().forEach(function(e,t){for(var r=s+c,n=(O[a+4*t>>>2]=r,e),o=r,t=void 0,i=0;i<n.length;++i)m(n.charCodeAt(i)===n.charCodeAt(i)&255),u[o++>>>0]=n.charCodeAt(i);t||(u[o>>>0]=0),c+=e.length+1}),0}catch(e){return void 0!==k&&e instanceof k.ErrnoError||R(e),e.errno}},environ_sizes_get:function(e,t){try{var r=Ie(),n=(O[e>>>2]=r.length,0);return r.forEach(function(e){n+=e.length+1}),O[t>>>2]=n,0}catch(e){return void 0!==k&&e instanceof k.ErrnoError||R(e),e.errno}},fd_close:function(e){try{var t=U.getStreamFromFD(e);return k.close(t),0}catch(e){return void 0!==k&&e instanceof k.ErrnoError||R(e),e.errno}},fd_fdstat_get:function(e,t){try{var r=U.getStreamFromFD(e),n=r.tty?2:k.isDir(r.mode)?3:k.isLink(r.mode)?7:4;return u[t>>>0]=n,0}catch(e){return void 0!==k&&e instanceof k.ErrnoError||R(e),e.errno}},fd_read:function(e,t,r,n){try{var o=U.getStreamFromFD(e),i=U.doReadv(o,t,r);return O[n>>>2]=i,0}catch(e){return void 0!==k&&e instanceof k.ErrnoError||R(e),e.errno}},fd_seek:function(e,t,r,n,o){try{var i=U.getStreamFromFD(e),a=4294967296*r+(t>>>0),s=9007199254740992;return a<=-s||s<=a?-61:(k.llseek(i,a,n),M=[i.position>>>0,(P=i.position,1<=+Math.abs(P)?0<P?(0|Math.min(+Math.floor(P/4294967296),4294967295))>>>0:~~+Math.ceil((P-(~~P>>>0))/4294967296)>>>0:0)],O[o>>>2]=M[0],O[o+4>>>2]=M[1],i.getdents&&0==a&&0===n&&(i.getdents=null),0)}catch(e){return void 0!==k&&e instanceof k.ErrnoError||R(e),e.errno}},fd_sync:function(e){try{var t=U.getStreamFromFD(e);return t.stream_ops&&t.stream_ops.fsync?-t.stream_ops.fsync(t):0}catch(e){return void 0!==k&&e instanceof k.ErrnoError||R(e),e.errno}},fd_write:function(e,t,r,n){try{var o=U.getStreamFromFD(e),i=U.doWritev(o,t,r);return O[n>>>2]=i,0}catch(e){return void 0!==k&&e instanceof k.ErrnoError||R(e),e.errno}},gettimeofday:function(e){var t=Date.now();return O[e>>>2]=t/1e3|0,O[e+4>>>2]=t%1e3*1e3|0,0},setTempRet0:function(e){},strftime_l:function(e,t,r,n){var o=O[n+40>>>2],i={tm_sec:O[n>>>2],tm_min:O[n+4>>>2],tm_hour:O[n+8>>>2],tm_mday:O[n+12>>>2],tm_mon:O[n+16>>>2],tm_year:O[n+20>>>2],tm_wday:O[n+24>>>2],tm_yday:O[n+28>>>2],tm_isdst:O[n+32>>>2],tm_gmtoff:O[n+36>>>2],tm_zone:o?J(o):""},a=J(r),s={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(_ in s)a=a.replace(new RegExp(_,"g"),s[_]);var c=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],d=["January","February","March","April","May","June","July","August","September","October","November","December"];function u(e,t,r){for(var n="number"==typeof e?e.toString():e||"";n.length<t;)n=r[0]+n;return n}function l(e,t){return u(e,t,"0")}function f(e,t){function r(e){return e<0?-1:0<e?1:0}var n;return n=0===(n=r(e.getFullYear()-t.getFullYear()))&&0===(n=r(e.getMonth()-t.getMonth()))?r(e.getDate()-t.getDate()):n}function E(e){switch(e.getDay()){case 0:return new Date(e.getFullYear()-1,11,29);case 1:return e;case 2:return new Date(e.getFullYear(),0,3);case 3:return new Date(e.getFullYear(),0,2);case 4:return new Date(e.getFullYear(),0,1);case 5:return new Date(e.getFullYear()-1,11,31);case 6:return new Date(e.getFullYear()-1,11,30)}}function p(e){var e=Xe(new Date(e.tm_year+1900,0,1),e.tm_yday),t=new Date(e.getFullYear(),0,4),r=new Date(e.getFullYear()+1,0,4),t=E(t),r=E(r);return f(t,e)<=0?f(r,e)<=0?e.getFullYear()+1:e.getFullYear():e.getFullYear()-1}var _,h={"%a":function(e){return c[e.tm_wday].substring(0,3)},"%A":function(e){return c[e.tm_wday]},"%b":function(e){return d[e.tm_mon].substring(0,3)},"%B":function(e){return d[e.tm_mon]},"%C":function(e){return l((e.tm_year+1900)/100|0,2)},"%d":function(e){return l(e.tm_mday,2)},"%e":function(e){return u(e.tm_mday,2," ")},"%g":function(e){return p(e).toString().substring(2)},"%G":p,"%H":function(e){return l(e.tm_hour,2)},"%I":function(e){e=e.tm_hour;return 0==e?e=12:12<e&&(e-=12),l(e,2)},"%j":function(e){return l(e.tm_mday+Ue(ke(e.tm_year+1900)?Ne:xe,e.tm_mon-1),3)},"%m":function(e){return l(e.tm_mon+1,2)},"%M":function(e){return l(e.tm_min,2)},"%n":function(){return"\n"},"%p":function(e){return 0<=e.tm_hour&&e.tm_hour<12?"AM":"PM"},"%S":function(e){return l(e.tm_sec,2)},"%t":function(){return"\t"},"%u":function(e){return e.tm_wday||7},"%U":function(e){var t,r=new Date(e.tm_year+1900,0,1),n=0===r.getDay()?r:Xe(r,7-r.getDay()),e=new Date(e.tm_year+1900,e.tm_mon,e.tm_mday);return f(n,e)<0?(t=Ue(ke(e.getFullYear())?Ne:xe,e.getMonth()-1)-31,t=31-n.getDate()+t+e.getDate(),l(Math.ceil(t/7),2)):0===f(n,r)?"01":"00"},"%V":function(e){var t=new Date(e.tm_year+1900,0,4),r=new Date(e.tm_year+1901,0,4),t=E(t),r=E(r),n=Xe(new Date(e.tm_year+1900,0,1),e.tm_yday);return f(n,t)<0?"53":f(r,n)<=0?"01":(r=t.getFullYear()<e.tm_year+1900?e.tm_yday+32-t.getDate():e.tm_yday+1-t.getDate(),l(Math.ceil(r/7),2))},"%w":function(e){return e.tm_wday},"%W":function(e){var t,r=new Date(e.tm_year,0,1),n=1===r.getDay()?r:Xe(r,0===r.getDay()?1:7-r.getDay()+1),e=new Date(e.tm_year+1900,e.tm_mon,e.tm_mday);return f(n,e)<0?(t=Ue(ke(e.getFullYear())?Ne:xe,e.getMonth()-1)-31,t=31-n.getDate()+t+e.getDate(),l(Math.ceil(t/7),2)):0===f(n,r)?"01":"00"},"%y":function(e){return(e.tm_year+1900).toString().substring(2)},"%Y":function(e){return e.tm_year+1900},"%z":function(e){var t=0<=(e=e.tm_gmtoff),e=Math.abs(e)/60;return(t?"+":"-")+String("0000"+(e/60*100+e%60)).slice(-4)},"%Z":function(e){return e.tm_zone},"%%":function(){return"%"}};for(_ in h)0<=a.indexOf(_)&&(a=a.replace(new RegExp(_,"g"),h[_](i)));return(n=Le(a,!1)).length>t?0:(ne(n,e),n.length-1)},sysconf:function(e){switch(e){case 30:return 16384;case 85:return 262144;case 132:case 133:case 12:case 137:case 138:case 15:case 235:case 16:case 17:case 18:case 19:case 20:case 149:case 13:case 10:case 236:case 153:case 9:case 21:case 22:case 159:case 154:case 14:case 77:case 78:case 139:case 82:case 68:case 67:case 164:case 11:case 29:case 47:case 48:case 95:case 52:case 51:case 46:return 200809;case 27:case 246:case 127:case 128:case 23:case 24:case 160:case 161:case 181:case 182:case 242:case 183:case 184:case 243:case 244:case 245:case 165:case 178:case 179:case 49:case 50:case 168:case 169:case 175:case 170:case 171:case 172:case 97:case 76:case 32:case 173:case 35:case 80:case 81:case 79:return-1;case 176:case 177:case 7:case 155:case 8:case 157:case 125:case 126:case 92:case 93:case 129:case 130:case 131:case 94:case 91:return 1;case 74:case 60:case 69:case 70:case 4:return 1024;case 31:case 42:case 72:return 32;case 87:case 26:case 33:return 2147483647;case 34:case 1:return 47839;case 38:case 36:return 99;case 43:case 37:return 2048;case 0:return 2097152;case 3:return 65536;case 28:return 32768;case 44:return 32767;case 75:return 16384;case 39:return 1e3;case 89:return 700;case 71:return 256;case 40:return 255;case 2:return 100;case 180:return 64;case 25:return 20;case 5:return 16;case 6:return 6;case 73:return 4;case 84:return"object"==typeof navigator&&navigator.hardwareConcurrency||1}return Ae(28),-1},timegm:function(e){Re();var t=Date.UTC(O[e+20>>>2]+1900,O[e+16>>>2],O[e+12>>>2],O[e+8>>>2],O[e+4>>>2],O[e>>>2],0),t=new Date(t),r=(O[e+24>>>2]=t.getUTCDay(),Date.UTC(t.getUTCFullYear(),0,1,0,0,0,0)),r=(t.getTime()-r)/864e5|0;return O[e+28>>>2]=r,t.getTime()/1e3|0},utime:function(e,t){var t=t?1e3*O[t+4>>>2]:Date.now(),r=e;r=J(e);try{return k.utime(r,t,t),0}catch(e){if(e instanceof k.ErrnoError)return Ae(e.errno),-1;throw e+" : "+De()}}},y=function(){var e={env:Qe,wasi_snapshot_preview1:Qe};function t(e,t){e=e.exports;_.asm=e,m(G=_.asm.memory,"memory not found in wasm exports"),oe(G.buffer),m(l=_.asm.__indirect_function_table,"table not found in wasm exports"),he("wasm-instantiate")}if(_e("wasm-instantiate"),_.instantiateWasm)try{return _.instantiateWasm(e,t)}catch(e){return E("Module.instantiateWasm callback failed with error: "+e),!1}return t(ye(Oe,e)[0]),_.asm}(),Be=_.___wasm_call_ctors=v("__wasm_call_ctors",y),ze=_.___errno_location=v("__errno_location",y),Ye=_._memset=v("memset",y),Ge=_._malloc=v("malloc",y),We=_._free=v("free",y),Ve=(_._fflush=v("fflush",y),_._trace_processor_rpc_init=v("trace_processor_rpc_init",y),_._trace_processor_on_rpc_request=v("trace_processor_on_rpc_request",y),_._main=v("main",y),_.__get_tzname=v("_get_tzname",y)),qe=_.__get_daylight=v("_get_daylight",y),Ze=_.__get_timezone=v("_get_timezone",y),Ke=(_._emscripten_main_thread_process_queued_calls=v("emscripten_main_thread_process_queued_calls",y),_._emscripten_stack_get_end=y.emscripten_stack_get_end),Je=_.stackSave=v("stackSave",y),$e=_.stackRestore=v("stackRestore",y),et=_.stackAlloc=v("stackAlloc",y),tt=_._emscripten_stack_init=y.emscripten_stack_init,rt=(_._emscripten_stack_get_free=y.emscripten_stack_get_free,_._memalign=v("memalign",y));function nt(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}function ot(e){m(0==w,'cannot call main when async dependencies remain! (listen on Module["onRuntimeInitialized"])'),m(0==ae.length,"cannot call main when preRun functions remain to be called");var t=_._main,r=(e=e||[]).length+1,n=et(4*(r+1));O[n>>>2]=re(L);for(var o,i,a=1;a<r;a++)O[(n>>2)+a>>>0]=re(e[a-1]);O[(n>>2)+r>>>0]=0;try{var s=t(r,n),c=(o=s,f),d=E,u=!(i=!0);f=E=function(e){u=!0};try{var l=_._fflush;l&&l(0),["stdout","stderr"].forEach(function(e){var e=k.analyzePath("/dev/"+e);e&&(e=e.object.rdev,e=F.ttys[e])&&e.output&&e.output.length&&(u=!0)})}catch(e){}f=c,E=d,u&&p("stdio streams had content in them that was not flushed. you should set EXIT_RUNTIME to 1 (see the FAQ), or make sure to emit a newline when you printf etc."),i&&h&&0===o||(h?i||(X(i="program exited (with status: "+o+"), but EXIT_RUNTIME is not set, so halting execution but not exiting the runtime or preventing further async execution (build with EXIT_RUNTIME=1, if you want a true shutdown)"),E(i)):(T(),le=!0,_.onExit&&_.onExit(o),g=!0),H(o,new nt(o)))}catch(e){e instanceof nt||("unwind"==e?h=!0:((t=e)&&"object"==typeof e&&e.stack&&(t=[e,e.stack]),E("exception thrown: "+t),H(1,e)))}}function it(e){function t(){He||(He=!0,_.calledRun=!0,g)||(T(),m(!ue),ue=!0,_.noFSInit||k.init.initialized||k.init(),Te(se),T(),k.ignorePermissions=!1,Te(ce),x(_),_.onRuntimeInitialized&&_.onRuntimeInitialized(),at&&ot(e),Ee())}e=e||C,0<w||(tt(),ie(),fe(),0<w)||(_.setStatus?(_.setStatus("Running..."),setTimeout(function(){setTimeout(function(){_.setStatus("")},1),t()},1)):t(),T())}if(_.dynCall_iiiij=v("dynCall_iiiij",y),_.dynCall_iij=v("dynCall_iij",y),_.dynCall_iijii=v("dynCall_iijii",y),_.dynCall_iiji=v("dynCall_iiji",y),_.dynCall_iiiiiij=v("dynCall_iiiiiij",y),_.dynCall_viijdi=v("dynCall_viijdi",y),_.dynCall_viijdii=v("dynCall_viijdii",y),_.dynCall_viijiiii=v("dynCall_viijiiii",y),_.dynCall_viijiiiji=v("dynCall_viijiiiji",y),_.dynCall_viijiii=v("dynCall_viijiii",y),_.dynCall_viiiijii=v("dynCall_viiiijii",y),_.dynCall_viijii=v("dynCall_viijii",y),_.dynCall_viiji=v("dynCall_viiji",y),_.dynCall_viij=v("dynCall_viij",y),_.dynCall_ji=v("dynCall_ji",y),_.dynCall_iiij=v("dynCall_iiij",y),_.dynCall_viji=v("dynCall_viji",y),_.dynCall_viijiiijiii=v("dynCall_viijiiijiii",y),_.dynCall_jiji=v("dynCall_jiji",y),_.dynCall_iiiiij=v("dynCall_iiiiij",y),_.dynCall_iiiiijj=v("dynCall_iiiiijj",y),_.dynCall_iiiiiijj=v("dynCall_iiiiiijj",y),Object.getOwnPropertyDescriptor(_,"intArrayFromString")||(_.intArrayFromString=function(){R("'intArrayFromString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"intArrayToString")||(_.intArrayToString=function(){R("'intArrayToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_.ccall=function(e,t,r,n,o){var i={string:function(e){var t,r=0;return null!=e&&0!==e&&(t=1+(e.length<<2),ee(e,r=et(t),t)),r},array:function(e){var t=et(e.length);return ne(e,t),t}},e=(m(u=_["_"+e],"Cannot call unknown function "+e+", make sure it is exported"),u),a=[],s=0;if(m("array"!==t,'Return type should not be "array".'),n)for(var c=0;c<n.length;c++){var d=i[r[c]];d?(0===s&&(s=Je()),a[c]=d(n[c])):a[c]=n[c]}var u=e.apply(null,a);return e=u,u="string"===t?J(e):"boolean"===t?Boolean(e):e,0!==s&&$e(s),u},Object.getOwnPropertyDescriptor(_,"cwrap")||(_.cwrap=function(){R("'cwrap' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"setValue")||(_.setValue=function(){R("'setValue' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"getValue")||(_.getValue=function(){R("'getValue' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"allocate")||(_.allocate=function(){R("'allocate' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"UTF8ArrayToString")||(_.UTF8ArrayToString=function(){R("'UTF8ArrayToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"UTF8ToString")||(_.UTF8ToString=function(){R("'UTF8ToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"stringToUTF8Array")||(_.stringToUTF8Array=function(){R("'stringToUTF8Array' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"stringToUTF8")||(_.stringToUTF8=function(){R("'stringToUTF8' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"lengthBytesUTF8")||(_.lengthBytesUTF8=function(){R("'lengthBytesUTF8' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"stackTrace")||(_.stackTrace=function(){R("'stackTrace' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"addOnPreRun")||(_.addOnPreRun=function(){R("'addOnPreRun' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"addOnInit")||(_.addOnInit=function(){R("'addOnInit' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"addOnPreMain")||(_.addOnPreMain=function(){R("'addOnPreMain' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"addOnExit")||(_.addOnExit=function(){R("'addOnExit' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"addOnPostRun")||(_.addOnPostRun=function(){R("'addOnPostRun' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"writeStringToMemory")||(_.writeStringToMemory=function(){R("'writeStringToMemory' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"writeArrayToMemory")||(_.writeArrayToMemory=function(){R("'writeArrayToMemory' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"writeAsciiToMemory")||(_.writeAsciiToMemory=function(){R("'writeAsciiToMemory' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"addRunDependency")||(_.addRunDependency=function(){R("'addRunDependency' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),Object.getOwnPropertyDescriptor(_,"removeRunDependency")||(_.removeRunDependency=function(){R("'removeRunDependency' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),Object.getOwnPropertyDescriptor(_,"FS_createFolder")||(_.FS_createFolder=function(){R("'FS_createFolder' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"FS_createPath")||(_.FS_createPath=function(){R("'FS_createPath' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),Object.getOwnPropertyDescriptor(_,"FS_createDataFile")||(_.FS_createDataFile=function(){R("'FS_createDataFile' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),Object.getOwnPropertyDescriptor(_,"FS_createPreloadedFile")||(_.FS_createPreloadedFile=function(){R("'FS_createPreloadedFile' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),Object.getOwnPropertyDescriptor(_,"FS_createLazyFile")||(_.FS_createLazyFile=function(){R("'FS_createLazyFile' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),Object.getOwnPropertyDescriptor(_,"FS_createLink")||(_.FS_createLink=function(){R("'FS_createLink' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"FS_createDevice")||(_.FS_createDevice=function(){R("'FS_createDevice' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),Object.getOwnPropertyDescriptor(_,"FS_unlink")||(_.FS_unlink=function(){R("'FS_unlink' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ). Alternatively, forcing filesystem support (-s FORCE_FILESYSTEM=1) can export this for you")}),Object.getOwnPropertyDescriptor(_,"getLEB")||(_.getLEB=function(){R("'getLEB' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"getFunctionTables")||(_.getFunctionTables=function(){R("'getFunctionTables' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"alignFunctionTables")||(_.alignFunctionTables=function(){R("'alignFunctionTables' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"registerFunctions")||(_.registerFunctions=function(){R("'registerFunctions' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_.addFunction=function(e,t){return m(void 0!==e),V(e,t)},Object.getOwnPropertyDescriptor(_,"removeFunction")||(_.removeFunction=function(){R("'removeFunction' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"getFuncWrapper")||(_.getFuncWrapper=function(){R("'getFuncWrapper' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"prettyPrint")||(_.prettyPrint=function(){R("'prettyPrint' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"makeBigInt")||(_.makeBigInt=function(){R("'makeBigInt' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"dynCall")||(_.dynCall=function(){R("'dynCall' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"getCompilerSetting")||(_.getCompilerSetting=function(){R("'getCompilerSetting' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"print")||(_.print=function(){R("'print' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"printErr")||(_.printErr=function(){R("'printErr' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"getTempRet0")||(_.getTempRet0=function(){R("'getTempRet0' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"setTempRet0")||(_.setTempRet0=function(){R("'setTempRet0' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_.callMain=ot,Object.getOwnPropertyDescriptor(_,"abort")||(_.abort=function(){R("'abort' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"stringToNewUTF8")||(_.stringToNewUTF8=function(){R("'stringToNewUTF8' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"setFileTime")||(_.setFileTime=function(){R("'setFileTime' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"emscripten_realloc_buffer")||(_.emscripten_realloc_buffer=function(){R("'emscripten_realloc_buffer' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"ENV")||(_.ENV=function(){R("'ENV' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"ERRNO_CODES")||(_.ERRNO_CODES=function(){R("'ERRNO_CODES' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"ERRNO_MESSAGES")||(_.ERRNO_MESSAGES=function(){R("'ERRNO_MESSAGES' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"setErrNo")||(_.setErrNo=function(){R("'setErrNo' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"DNS")||(_.DNS=function(){R("'DNS' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"getHostByName")||(_.getHostByName=function(){R("'getHostByName' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"GAI_ERRNO_MESSAGES")||(_.GAI_ERRNO_MESSAGES=function(){R("'GAI_ERRNO_MESSAGES' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"Protocols")||(_.Protocols=function(){R("'Protocols' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"Sockets")||(_.Sockets=function(){R("'Sockets' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"getRandomDevice")||(_.getRandomDevice=function(){R("'getRandomDevice' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"traverseStack")||(_.traverseStack=function(){R("'traverseStack' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"UNWIND_CACHE")||(_.UNWIND_CACHE=function(){R("'UNWIND_CACHE' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"withBuiltinMalloc")||(_.withBuiltinMalloc=function(){R("'withBuiltinMalloc' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"readAsmConstArgsArray")||(_.readAsmConstArgsArray=function(){R("'readAsmConstArgsArray' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"readAsmConstArgs")||(_.readAsmConstArgs=function(){R("'readAsmConstArgs' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"mainThreadEM_ASM")||(_.mainThreadEM_ASM=function(){R("'mainThreadEM_ASM' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"jstoi_q")||(_.jstoi_q=function(){R("'jstoi_q' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"jstoi_s")||(_.jstoi_s=function(){R("'jstoi_s' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"getExecutableName")||(_.getExecutableName=function(){R("'getExecutableName' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"listenOnce")||(_.listenOnce=function(){R("'listenOnce' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"autoResumeAudioContext")||(_.autoResumeAudioContext=function(){R("'autoResumeAudioContext' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"dynCallLegacy")||(_.dynCallLegacy=function(){R("'dynCallLegacy' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"getDynCaller")||(_.getDynCaller=function(){R("'getDynCaller' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"dynCall")||(_.dynCall=function(){R("'dynCall' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"callRuntimeCallbacks")||(_.callRuntimeCallbacks=function(){R("'callRuntimeCallbacks' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"abortStackOverflow")||(_.abortStackOverflow=function(){R("'abortStackOverflow' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"reallyNegative")||(_.reallyNegative=function(){R("'reallyNegative' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"unSign")||(_.unSign=function(){R("'unSign' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"reSign")||(_.reSign=function(){R("'reSign' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"formatString")||(_.formatString=function(){R("'formatString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"PATH")||(_.PATH=function(){R("'PATH' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"PATH_FS")||(_.PATH_FS=function(){R("'PATH_FS' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"SYSCALLS")||(_.SYSCALLS=function(){R("'SYSCALLS' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"syscallMmap2")||(_.syscallMmap2=function(){R("'syscallMmap2' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"syscallMunmap")||(_.syscallMunmap=function(){R("'syscallMunmap' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"JSEvents")||(_.JSEvents=function(){R("'JSEvents' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"registerKeyEventCallback")||(_.registerKeyEventCallback=function(){R("'registerKeyEventCallback' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"specialHTMLTargets")||(_.specialHTMLTargets=function(){R("'specialHTMLTargets' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"maybeCStringToJsString")||(_.maybeCStringToJsString=function(){R("'maybeCStringToJsString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"findEventTarget")||(_.findEventTarget=function(){R("'findEventTarget' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"findCanvasEventTarget")||(_.findCanvasEventTarget=function(){R("'findCanvasEventTarget' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"getBoundingClientRect")||(_.getBoundingClientRect=function(){R("'getBoundingClientRect' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"fillMouseEventData")||(_.fillMouseEventData=function(){R("'fillMouseEventData' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"registerMouseEventCallback")||(_.registerMouseEventCallback=function(){R("'registerMouseEventCallback' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"registerWheelEventCallback")||(_.registerWheelEventCallback=function(){R("'registerWheelEventCallback' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"registerUiEventCallback")||(_.registerUiEventCallback=function(){R("'registerUiEventCallback' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"registerFocusEventCallback")||(_.registerFocusEventCallback=function(){R("'registerFocusEventCallback' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"fillDeviceOrientationEventData")||(_.fillDeviceOrientationEventData=function(){R("'fillDeviceOrientationEventData' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"registerDeviceOrientationEventCallback")||(_.registerDeviceOrientationEventCallback=function(){R("'registerDeviceOrientationEventCallback' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"fillDeviceMotionEventData")||(_.fillDeviceMotionEventData=function(){R("'fillDeviceMotionEventData' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"registerDeviceMotionEventCallback")||(_.registerDeviceMotionEventCallback=function(){R("'registerDeviceMotionEventCallback' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"screenOrientation")||(_.screenOrientation=function(){R("'screenOrientation' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"fillOrientationChangeEventData")||(_.fillOrientationChangeEventData=function(){R("'fillOrientationChangeEventData' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"registerOrientationChangeEventCallback")||(_.registerOrientationChangeEventCallback=function(){R("'registerOrientationChangeEventCallback' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"fillFullscreenChangeEventData")||(_.fillFullscreenChangeEventData=function(){R("'fillFullscreenChangeEventData' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"registerFullscreenChangeEventCallback")||(_.registerFullscreenChangeEventCallback=function(){R("'registerFullscreenChangeEventCallback' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"registerRestoreOldStyle")||(_.registerRestoreOldStyle=function(){R("'registerRestoreOldStyle' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"hideEverythingExceptGivenElement")||(_.hideEverythingExceptGivenElement=function(){R("'hideEverythingExceptGivenElement' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"restoreHiddenElements")||(_.restoreHiddenElements=function(){R("'restoreHiddenElements' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"setLetterbox")||(_.setLetterbox=function(){R("'setLetterbox' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"currentFullscreenStrategy")||(_.currentFullscreenStrategy=function(){R("'currentFullscreenStrategy' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"restoreOldWindowedStyle")||(_.restoreOldWindowedStyle=function(){R("'restoreOldWindowedStyle' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"softFullscreenResizeWebGLRenderTarget")||(_.softFullscreenResizeWebGLRenderTarget=function(){R("'softFullscreenResizeWebGLRenderTarget' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"doRequestFullscreen")||(_.doRequestFullscreen=function(){R("'doRequestFullscreen' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"fillPointerlockChangeEventData")||(_.fillPointerlockChangeEventData=function(){R("'fillPointerlockChangeEventData' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"registerPointerlockChangeEventCallback")||(_.registerPointerlockChangeEventCallback=function(){R("'registerPointerlockChangeEventCallback' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"registerPointerlockErrorEventCallback")||(_.registerPointerlockErrorEventCallback=function(){R("'registerPointerlockErrorEventCallback' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"requestPointerLock")||(_.requestPointerLock=function(){R("'requestPointerLock' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"fillVisibilityChangeEventData")||(_.fillVisibilityChangeEventData=function(){R("'fillVisibilityChangeEventData' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"registerVisibilityChangeEventCallback")||(_.registerVisibilityChangeEventCallback=function(){R("'registerVisibilityChangeEventCallback' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"registerTouchEventCallback")||(_.registerTouchEventCallback=function(){R("'registerTouchEventCallback' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"fillGamepadEventData")||(_.fillGamepadEventData=function(){R("'fillGamepadEventData' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"registerGamepadEventCallback")||(_.registerGamepadEventCallback=function(){R("'registerGamepadEventCallback' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"registerBeforeUnloadEventCallback")||(_.registerBeforeUnloadEventCallback=function(){R("'registerBeforeUnloadEventCallback' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"fillBatteryEventData")||(_.fillBatteryEventData=function(){R("'fillBatteryEventData' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"battery")||(_.battery=function(){R("'battery' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"registerBatteryEventCallback")||(_.registerBatteryEventCallback=function(){R("'registerBatteryEventCallback' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"setCanvasElementSize")||(_.setCanvasElementSize=function(){R("'setCanvasElementSize' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"getCanvasElementSize")||(_.getCanvasElementSize=function(){R("'getCanvasElementSize' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"polyfillSetImmediate")||(_.polyfillSetImmediate=function(){R("'polyfillSetImmediate' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"demangle")||(_.demangle=function(){R("'demangle' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"demangleAll")||(_.demangleAll=function(){R("'demangleAll' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"jsStackTrace")||(_.jsStackTrace=function(){R("'jsStackTrace' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"stackTrace")||(_.stackTrace=function(){R("'stackTrace' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"getEnvStrings")||(_.getEnvStrings=function(){R("'getEnvStrings' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"checkWasiClock")||(_.checkWasiClock=function(){R("'checkWasiClock' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"writeI53ToI64")||(_.writeI53ToI64=function(){R("'writeI53ToI64' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"writeI53ToI64Clamped")||(_.writeI53ToI64Clamped=function(){R("'writeI53ToI64Clamped' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"writeI53ToI64Signaling")||(_.writeI53ToI64Signaling=function(){R("'writeI53ToI64Signaling' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"writeI53ToU64Clamped")||(_.writeI53ToU64Clamped=function(){R("'writeI53ToU64Clamped' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"writeI53ToU64Signaling")||(_.writeI53ToU64Signaling=function(){R("'writeI53ToU64Signaling' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"readI53FromI64")||(_.readI53FromI64=function(){R("'readI53FromI64' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"readI53FromU64")||(_.readI53FromU64=function(){R("'readI53FromU64' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"convertI32PairToI53")||(_.convertI32PairToI53=function(){R("'convertI32PairToI53' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"convertU32PairToI53")||(_.convertU32PairToI53=function(){R("'convertU32PairToI53' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"uncaughtExceptionCount")||(_.uncaughtExceptionCount=function(){R("'uncaughtExceptionCount' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"exceptionLast")||(_.exceptionLast=function(){R("'exceptionLast' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"exceptionCaught")||(_.exceptionCaught=function(){R("'exceptionCaught' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"ExceptionInfoAttrs")||(_.ExceptionInfoAttrs=function(){R("'ExceptionInfoAttrs' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"ExceptionInfo")||(_.ExceptionInfo=function(){R("'ExceptionInfo' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"CatchInfo")||(_.CatchInfo=function(){R("'CatchInfo' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"exception_addRef")||(_.exception_addRef=function(){R("'exception_addRef' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"exception_decRef")||(_.exception_decRef=function(){R("'exception_decRef' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"Browser")||(_.Browser=function(){R("'Browser' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"funcWrappers")||(_.funcWrappers=function(){R("'funcWrappers' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"getFuncWrapper")||(_.getFuncWrapper=function(){R("'getFuncWrapper' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"setMainLoop")||(_.setMainLoop=function(){R("'setMainLoop' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_.FS=k,Object.getOwnPropertyDescriptor(_,"mmapAlloc")||(_.mmapAlloc=function(){R("'mmapAlloc' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"MEMFS")||(_.MEMFS=function(){R("'MEMFS' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"TTY")||(_.TTY=function(){R("'TTY' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"PIPEFS")||(_.PIPEFS=function(){R("'PIPEFS' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"SOCKFS")||(_.SOCKFS=function(){R("'SOCKFS' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"tempFixedLengthArray")||(_.tempFixedLengthArray=function(){R("'tempFixedLengthArray' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"miniTempWebGLFloatBuffers")||(_.miniTempWebGLFloatBuffers=function(){R("'miniTempWebGLFloatBuffers' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"heapObjectForWebGLType")||(_.heapObjectForWebGLType=function(){R("'heapObjectForWebGLType' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"heapAccessShiftForWebGLHeap")||(_.heapAccessShiftForWebGLHeap=function(){R("'heapAccessShiftForWebGLHeap' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"GL")||(_.GL=function(){R("'GL' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"emscriptenWebGLGet")||(_.emscriptenWebGLGet=function(){R("'emscriptenWebGLGet' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"computeUnpackAlignedImageSize")||(_.computeUnpackAlignedImageSize=function(){R("'computeUnpackAlignedImageSize' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"emscriptenWebGLGetTexPixelData")||(_.emscriptenWebGLGetTexPixelData=function(){R("'emscriptenWebGLGetTexPixelData' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"emscriptenWebGLGetUniform")||(_.emscriptenWebGLGetUniform=function(){R("'emscriptenWebGLGetUniform' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"emscriptenWebGLGetVertexAttrib")||(_.emscriptenWebGLGetVertexAttrib=function(){R("'emscriptenWebGLGetVertexAttrib' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"writeGLArray")||(_.writeGLArray=function(){R("'writeGLArray' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"AL")||(_.AL=function(){R("'AL' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"SDL_unicode")||(_.SDL_unicode=function(){R("'SDL_unicode' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"SDL_ttfContext")||(_.SDL_ttfContext=function(){R("'SDL_ttfContext' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"SDL_audio")||(_.SDL_audio=function(){R("'SDL_audio' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"SDL")||(_.SDL=function(){R("'SDL' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"SDL_gfx")||(_.SDL_gfx=function(){R("'SDL_gfx' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"GLUT")||(_.GLUT=function(){R("'GLUT' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"EGL")||(_.EGL=function(){R("'EGL' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"GLFW_Window")||(_.GLFW_Window=function(){R("'GLFW_Window' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"GLFW")||(_.GLFW=function(){R("'GLFW' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"GLEW")||(_.GLEW=function(){R("'GLEW' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"IDBStore")||(_.IDBStore=function(){R("'IDBStore' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"runAndAbortIfError")||(_.runAndAbortIfError=function(){R("'runAndAbortIfError' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"WORKERFS")||(_.WORKERFS=function(){R("'WORKERFS' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"warnOnce")||(_.warnOnce=function(){R("'warnOnce' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"stackSave")||(_.stackSave=function(){R("'stackSave' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"stackRestore")||(_.stackRestore=function(){R("'stackRestore' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"stackAlloc")||(_.stackAlloc=function(){R("'stackAlloc' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"AsciiToString")||(_.AsciiToString=function(){R("'AsciiToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"stringToAscii")||(_.stringToAscii=function(){R("'stringToAscii' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"UTF16ToString")||(_.UTF16ToString=function(){R("'UTF16ToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"stringToUTF16")||(_.stringToUTF16=function(){R("'stringToUTF16' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"lengthBytesUTF16")||(_.lengthBytesUTF16=function(){R("'lengthBytesUTF16' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"UTF32ToString")||(_.UTF32ToString=function(){R("'UTF32ToString' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"stringToUTF32")||(_.stringToUTF32=function(){R("'stringToUTF32' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"lengthBytesUTF32")||(_.lengthBytesUTF32=function(){R("'lengthBytesUTF32' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"allocateUTF8")||(_.allocateUTF8=function(){R("'allocateUTF8' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),Object.getOwnPropertyDescriptor(_,"allocateUTF8OnStack")||(_.allocateUTF8OnStack=function(){R("'allocateUTF8OnStack' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}),_.writeStackCookie=ie,_.checkStackCookie=T,Object.getOwnPropertyDescriptor(_,"ALLOC_NORMAL")||Object.defineProperty(_,"ALLOC_NORMAL",{configurable:!0,get:function(){R("'ALLOC_NORMAL' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}}),Object.getOwnPropertyDescriptor(_,"ALLOC_STACK")||Object.defineProperty(_,"ALLOC_STACK",{configurable:!0,get:function(){R("'ALLOC_STACK' was not exported. add it to EXTRA_EXPORTED_RUNTIME_METHODS (see the FAQ)")}}),pe=function e(){He||it(),He||(pe=e)},_.run=it,_.preInit)for("function"==typeof _.preInit&&(_.preInit=[_.preInit]);0<_.preInit.length;)_.preInit.pop()();var at=!0;return _.noInitialRun&&(at=!1),h=!0,it(),N}),U.exports}return U.exports,N(function(){if(!Z){Z=1,Object.defineProperty(n,"__esModule",{value:!0});var e=function(){if(!q){q=1,Object.defineProperty(o,"__esModule",{value:!0}),o.WasmBridge=void 0;var e=H;const t=Q(),i=W(),r=e.__importDefault(K());o.WasmBridge=class{whenInitialized;aborted;connection;reqBufferAddr=0;lastStderr=[];messagePort;constructor(){const e=(this.aborted=!1,t.defer)();this.connection=(0,r.default)({locateFile:e=>e,print:e=>console.log(e),printErr:e=>this.appendAndLogErr(e),onRuntimeInitialized:()=>e.resolve()}),this.whenInitialized=e.then(()=>{var e=this.connection.addFunction(this.onReply.bind(this),"vii");this.reqBufferAddr=this.connection.ccall("trace_processor_rpc_init","number",["number","number"],[e,33554432])>>>0})}initialize(e){(0,i.assertTrue)(void 0===this.messagePort),this.messagePort=e,this.messagePort.onmessage=this.onMessage.bind(this)}onMessage(e){if(this.aborted)throw new Error("Wasm module crashed");(0,i.assertTrue)(e.data instanceof Uint8Array);var t=e.data;let r=0;for(;r<t.length;){var n=Math.min(t.length-r,33554432),o=t.subarray(r,r+n);this.connection.HEAPU8.set(o,this.reqBufferAddr),r+=n;try{this.connection.ccall("trace_processor_on_rpc_request","void",["number"],[n])}catch(e){this.aborted=!0;let t=""+e;throw e instanceof Error&&(t=`${e.name}: ${e.message}
|
|
2
|
-
`+e.stack),t+="\n\nstderr: \n"+this.lastStderr.join("\n"),new Error(t)}}}onReply(e,t){e=this.connection.HEAPU8.slice(e>>>=0,e+(t>>>=0));(0,i.assertExists)(this.messagePort).postMessage(e,[e.buffer])}appendAndLogErr(e){console.warn(e),this.lastStderr.push(e),512<this.lastStderr.length&&this.lastStderr.shift()}}}return o}(),t=self;const r=new e.WasmBridge;t.onmessage=e=>{e=e.data;r.initialize(e)}}return n}())}();
|
|
3
|
-
//# sourceMappingURL=engine_bundle.js.map
|