UNPKG

@goodtools/wiregasm

Version:

Packet Analyzer powered by Wireshark compiled for WebAssembly

569 lines (492 loc) 387 kB
var loadWiregasm = (() => { var _scriptDir = typeof document !== 'undefined' && document.currentScript ? document.currentScript.src : undefined; if (typeof __filename !== 'undefined') _scriptDir = _scriptDir || __filename; return ( function(loadWiregasm = {}) { // include: shell.js // The Module object: Our interface to the outside world. We import // and export values on it. There are various ways Module can be used: // 1. Not defined. We create it here // 2. A function parameter, function(Module) { ..generated code.. } // 3. pre-run appended it, var Module = {}; ..generated code.. // 4. External script tag defines var Module. // We need to check if Module already exists (e.g. case 3 above). // Substitution will be replaced with actual code on later stage of the build, // this way Closure Compiler will not mangle it (e.g. case 4. above). // Note that if you want to run closure, and also to use Module // after the generated code, you will need to define var Module = {}; // before the code. Then that object will be used in the code, and you // can continue to use Module afterwards as well. var Module = typeof loadWiregasm != 'undefined' ? loadWiregasm : {}; // Set up the promise that indicates the Module is initialized var readyPromiseResolve, readyPromiseReject; Module['ready'] = new Promise(function(resolve, reject) { readyPromiseResolve = resolve; readyPromiseReject = reject; }); ["_malloc","_fflush","___getTypeName","__embind_initialize_bindings","onRuntimeInitialized"].forEach((prop) => { if (!Object.getOwnPropertyDescriptor(Module['ready'], prop)) { Object.defineProperty(Module['ready'], prop, { get: () => abort('You are getting ' + prop + ' 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'), set: () => abort('You are setting ' + prop + ' 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'), }); } }); // --pre-jses are emitted after the Module integration code, so that they can // refer to Module (if they choose; they can also define Module) if (!Module.expectedDataFileDownloads) { Module.expectedDataFileDownloads = 0; } Module.expectedDataFileDownloads++; (function() { // When running as a pthread, FS operations are proxied to the main thread, so we don't need to // fetch the .data bundle on the worker if (Module['ENVIRONMENT_IS_PTHREAD']) return; var loadPackage = function(metadata) { var PACKAGE_PATH = ''; if (typeof window === 'object') { PACKAGE_PATH = window['encodeURIComponent'](window.location.pathname.toString().substring(0, window.location.pathname.toString().lastIndexOf('/')) + '/'); } else if (typeof process === 'undefined' && typeof location !== 'undefined') { // web worker PACKAGE_PATH = encodeURIComponent(location.pathname.toString().substring(0, location.pathname.toString().lastIndexOf('/')) + '/'); } var PACKAGE_NAME = 'wiregasm.data'; var REMOTE_PACKAGE_BASE = 'wiregasm.data'; if (typeof Module['locateFilePackage'] === 'function' && !Module['locateFile']) { Module['locateFile'] = Module['locateFilePackage']; err('warning: you defined Module.locateFilePackage, that has been renamed to Module.locateFile (using your locateFilePackage for now)'); } var REMOTE_PACKAGE_NAME = Module['locateFile'] ? Module['locateFile'](REMOTE_PACKAGE_BASE, '') : REMOTE_PACKAGE_BASE; var REMOTE_PACKAGE_SIZE = metadata['remote_package_size']; function fetchRemotePackage(packageName, packageSize, callback, errback) { if (typeof process === 'object' && typeof process.versions === 'object' && typeof process.versions.node === 'string') { require('fs').readFile(packageName, function(err, contents) { if (err) { errback(err); } else { callback(contents.buffer); } }); return; } var xhr = new XMLHttpRequest(); xhr.open('GET', packageName, true); xhr.responseType = 'arraybuffer'; xhr.onprogress = function(event) { var url = packageName; var size = packageSize; if (event.total) size = event.total; if (event.loaded) { if (!xhr.addedTotal) { xhr.addedTotal = true; if (!Module.dataFileDownloads) Module.dataFileDownloads = {}; Module.dataFileDownloads[url] = { loaded: event.loaded, total: size }; } else { Module.dataFileDownloads[url].loaded = event.loaded; } var total = 0; var loaded = 0; var num = 0; for (var download in Module.dataFileDownloads) { var data = Module.dataFileDownloads[download]; total += data.total; loaded += data.loaded; num++; } total = Math.ceil(total * Module.expectedDataFileDownloads/num); if (Module['setStatus']) Module['setStatus']('Downloading data... (' + loaded + '/' + total + ')'); } else if (!Module.dataFileDownloads) { if (Module['setStatus']) Module['setStatus']('Downloading data...'); } }; xhr.onerror = function(event) { throw new Error("NetworkError for: " + packageName); } xhr.onload = function(event) { if (xhr.status == 200 || xhr.status == 304 || xhr.status == 206 || (xhr.status == 0 && xhr.response)) { // file URLs can return 0 var packageData = xhr.response; callback(packageData); } else { throw new Error(xhr.statusText + " : " + xhr.responseURL); } }; xhr.send(null); }; function handleError(error) { console.error('package error:', error); }; var fetchedCallback = null; var fetched = Module['getPreloadedPackage'] ? Module['getPreloadedPackage'](REMOTE_PACKAGE_NAME, REMOTE_PACKAGE_SIZE) : null; if (!fetched) fetchRemotePackage(REMOTE_PACKAGE_NAME, REMOTE_PACKAGE_SIZE, function(data) { if (fetchedCallback) { fetchedCallback(data); fetchedCallback = null; } else { fetched = data; } }, handleError); function runWithFS() { function assert(check, msg) { if (!check) throw msg + new Error().stack; } Module['FS_createPath']("/", "wireshark", true, true); Module['FS_createPath']("/wireshark", "diameter", true, true); Module['FS_createPath']("/wireshark", "dtds", true, true); Module['FS_createPath']("/wireshark", "profiles", true, true); Module['FS_createPath']("/wireshark/profiles", "Bluetooth", true, true); Module['FS_createPath']("/wireshark/profiles", "Classic", true, true); Module['FS_createPath']("/wireshark/profiles", "No Reassembly", true, true); Module['FS_createPath']("/wireshark", "radius", true, true); Module['FS_createPath']("/wireshark", "tpncp", true, true); Module['FS_createPath']("/wireshark", "wimaxasncp", true, true); /** @constructor */ function DataRequest(start, end, audio) { this.start = start; this.end = end; this.audio = audio; } DataRequest.prototype = { requests: {}, open: function(mode, name) { this.name = name; this.requests[name] = this; Module['addRunDependency']('fp ' + this.name); }, send: function() {}, onload: function() { var byteArray = this.byteArray.subarray(this.start, this.end); this.finish(byteArray); }, finish: function(byteArray) { var that = this; // canOwn this data in the filesystem, it is a slide into the heap that will never change Module['FS_createDataFile'](this.name, null, byteArray, true, true, true); Module['removeRunDependency']('fp ' + that.name); this.requests[this.name] = null; } }; var files = metadata['files']; for (var i = 0; i < files.length; ++i) { new DataRequest(files[i]['start'], files[i]['end'], files[i]['audio'] || 0).open('GET', files[i]['filename']); } function processPackageData(arrayBuffer) { assert(arrayBuffer, 'Loading data file failed.'); assert(arrayBuffer.constructor.name === ArrayBuffer.name, 'bad input to processPackageData'); var byteArray = new Uint8Array(arrayBuffer); var curr; // Reuse the bytearray from the XHR as the source for file reads. DataRequest.prototype.byteArray = byteArray; var files = metadata['files']; for (var i = 0; i < files.length; ++i) { DataRequest.prototype.requests[files[i].filename].onload(); } Module['removeRunDependency']('datafile_wiregasm.data'); }; Module['addRunDependency']('datafile_wiregasm.data'); if (!Module.preloadResults) Module.preloadResults = {}; Module.preloadResults[PACKAGE_NAME] = {fromCache: false}; if (fetched) { processPackageData(fetched); fetched = null; } else { fetchedCallback = processPackageData; } } if (Module['calledRun']) { runWithFS(); } else { if (!Module['preRun']) Module['preRun'] = []; Module["preRun"].push(runWithFS); // FS is not initialized yet, wait for it } } loadPackage({"files": [{"filename": "/wireshark/cfilters", "start": 0, "end": 744}, {"filename": "/wireshark/colorfilters", "start": 744, "end": 2995}, {"filename": "/wireshark/dfilters", "start": 2995, "end": 3811}, {"filename": "/wireshark/diameter/AlcatelLucent.xml", "start": 3811, "end": 5948}, {"filename": "/wireshark/diameter/Cisco.xml", "start": 5948, "end": 54628}, {"filename": "/wireshark/diameter/CiscoSystems.xml", "start": 54628, "end": 63934}, {"filename": "/wireshark/diameter/Custom.xml", "start": 63934, "end": 64271}, {"filename": "/wireshark/diameter/Ericsson.xml", "start": 64271, "end": 88064}, {"filename": "/wireshark/diameter/HP.xml", "start": 88064, "end": 89686}, {"filename": "/wireshark/diameter/Huawei.xml", "start": 89686, "end": 94114}, {"filename": "/wireshark/diameter/Inovar.xml", "start": 94114, "end": 97195}, {"filename": "/wireshark/diameter/Juniper.xml", "start": 97195, "end": 99015}, {"filename": "/wireshark/diameter/Metaswitch.xml", "start": 99015, "end": 102832}, {"filename": "/wireshark/diameter/Microsoft.xml", "start": 102832, "end": 104064}, {"filename": "/wireshark/diameter/Nokia.xml", "start": 104064, "end": 105646}, {"filename": "/wireshark/diameter/NokiaSolutionsAndNetworks.xml", "start": 105646, "end": 110470}, {"filename": "/wireshark/diameter/Oracle.xml", "start": 110470, "end": 111321}, {"filename": "/wireshark/diameter/Siemens.xml", "start": 111321, "end": 111961}, {"filename": "/wireshark/diameter/Starent.xml", "start": 111961, "end": 209808}, {"filename": "/wireshark/diameter/TGPP.xml", "start": 209808, "end": 300793}, {"filename": "/wireshark/diameter/TGPP2.xml", "start": 300793, "end": 306397}, {"filename": "/wireshark/diameter/Telefonica.xml", "start": 306397, "end": 317834}, {"filename": "/wireshark/diameter/Travelping.xml", "start": 317834, "end": 319111}, {"filename": "/wireshark/diameter/VerizonWireless.xml", "start": 319111, "end": 322225}, {"filename": "/wireshark/diameter/Vodafone.xml", "start": 322225, "end": 325670}, {"filename": "/wireshark/diameter/chargecontrol.xml", "start": 325670, "end": 336197}, {"filename": "/wireshark/diameter/dictionary.dtd", "start": 336197, "end": 338064}, {"filename": "/wireshark/diameter/dictionary.xml", "start": 338064, "end": 744876}, {"filename": "/wireshark/diameter/eap.xml", "start": 744876, "end": 745429}, {"filename": "/wireshark/diameter/etsie2e4.xml", "start": 745429, "end": 760966}, {"filename": "/wireshark/diameter/mobileipv4.xml", "start": 760966, "end": 767767}, {"filename": "/wireshark/diameter/mobileipv6.xml", "start": 767767, "end": 770512}, {"filename": "/wireshark/diameter/nasreq.xml", "start": 770512, "end": 774457}, {"filename": "/wireshark/diameter/sip.xml", "start": 774457, "end": 781583}, {"filename": "/wireshark/diameter/sunping.xml", "start": 781583, "end": 782370}, {"filename": "/wireshark/dmacros", "start": 782370, "end": 782691}, {"filename": "/wireshark/dtds/dc.dtd", "start": 782691, "end": 783472}, {"filename": "/wireshark/dtds/itunes.dtd", "start": 783472, "end": 783996}, {"filename": "/wireshark/dtds/mscml.dtd", "start": 783996, "end": 791537}, {"filename": "/wireshark/dtds/pocsettings.dtd", "start": 791537, "end": 792452}, {"filename": "/wireshark/dtds/presence.dtd", "start": 792452, "end": 793026}, {"filename": "/wireshark/dtds/reginfo.dtd", "start": 793026, "end": 794134}, {"filename": "/wireshark/dtds/rlmi.dtd", "start": 794134, "end": 794904}, {"filename": "/wireshark/dtds/rss.dtd", "start": 794904, "end": 797299}, {"filename": "/wireshark/dtds/smil.dtd", "start": 797299, "end": 804859}, {"filename": "/wireshark/dtds/watcherinfo.dtd", "start": 804859, "end": 805660}, {"filename": "/wireshark/dtds/xcap-caps.dtd", "start": 805660, "end": 805958}, {"filename": "/wireshark/dtds/xcap-error.dtd", "start": 805958, "end": 807531}, {"filename": "/wireshark/ipmap.html", "start": 807531, "end": 821459}, {"filename": "/wireshark/profiles/Bluetooth/colorfilters", "start": 821459, "end": 824861}, {"filename": "/wireshark/profiles/Bluetooth/preferences", "start": 824861, "end": 825251}, {"filename": "/wireshark/profiles/Classic/colorfilters", "start": 825251, "end": 827242}, {"filename": "/wireshark/profiles/No Reassembly/preferences", "start": 827242, "end": 832277}, {"filename": "/wireshark/radius/.editorconfig", "start": 832277, "end": 832368}, {"filename": "/wireshark/radius/README.radius_dictionary", "start": 832368, "end": 835910}, {"filename": "/wireshark/radius/custom.includes", "start": 835910, "end": 835997}, {"filename": "/wireshark/radius/dictionary", "start": 835997, "end": 847170}, {"filename": "/wireshark/radius/dictionary.3com", "start": 847170, "end": 848761}, {"filename": "/wireshark/radius/dictionary.3gpp", "start": 848761, "end": 852526}, {"filename": "/wireshark/radius/dictionary.3gpp2", "start": 852526, "end": 868901}, {"filename": "/wireshark/radius/dictionary.5x9", "start": 868901, "end": 870067}, {"filename": "/wireshark/radius/dictionary.acc", "start": 870067, "end": 881062}, {"filename": "/wireshark/radius/dictionary.acme", "start": 881062, "end": 891227}, {"filename": "/wireshark/radius/dictionary.actelis", "start": 891227, "end": 891746}, {"filename": "/wireshark/radius/dictionary.adtran", "start": 891746, "end": 892204}, {"filename": "/wireshark/radius/dictionary.adva", "start": 892204, "end": 893364}, {"filename": "/wireshark/radius/dictionary.aerohive", "start": 893364, "end": 896017}, {"filename": "/wireshark/radius/dictionary.airespace", "start": 896017, "end": 897338}, {"filename": "/wireshark/radius/dictionary.alcatel", "start": 897338, "end": 901084}, {"filename": "/wireshark/radius/dictionary.alcatel-lucent.aaa", "start": 901084, "end": 904481}, {"filename": "/wireshark/radius/dictionary.alcatel.esam", "start": 904481, "end": 912150}, {"filename": "/wireshark/radius/dictionary.alcatel.sr", "start": 912150, "end": 926614}, {"filename": "/wireshark/radius/dictionary.alphion", "start": 926614, "end": 929368}, {"filename": "/wireshark/radius/dictionary.alteon", "start": 929368, "end": 930401}, {"filename": "/wireshark/radius/dictionary.altiga", "start": 930401, "end": 937937}, {"filename": "/wireshark/radius/dictionary.alvarion", "start": 937937, "end": 949933}, {"filename": "/wireshark/radius/dictionary.alvarion.wimax.v2_2", "start": 949933, "end": 951241}, {"filename": "/wireshark/radius/dictionary.apc", "start": 951241, "end": 952507}, {"filename": "/wireshark/radius/dictionary.aptilo", "start": 952507, "end": 958689}, {"filename": "/wireshark/radius/dictionary.aptis", "start": 958689, "end": 967230}, {"filename": "/wireshark/radius/dictionary.arbor", "start": 967230, "end": 967819}, {"filename": "/wireshark/radius/dictionary.arista", "start": 967819, "end": 968806}, {"filename": "/wireshark/radius/dictionary.aruba", "start": 968806, "end": 974014}, {"filename": "/wireshark/radius/dictionary.ascend", "start": 974014, "end": 1013051}, {"filename": "/wireshark/radius/dictionary.ascend.illegal", "start": 1013051, "end": 1033461}, {"filename": "/wireshark/radius/dictionary.asn", "start": 1033461, "end": 1036660}, {"filename": "/wireshark/radius/dictionary.audiocodes", "start": 1036660, "end": 1037385}, {"filename": "/wireshark/radius/dictionary.avaya", "start": 1037385, "end": 1038411}, {"filename": "/wireshark/radius/dictionary.azaire", "start": 1038411, "end": 1040105}, {"filename": "/wireshark/radius/dictionary.bay", "start": 1040105, "end": 1052113}, {"filename": "/wireshark/radius/dictionary.bigswitch", "start": 1052113, "end": 1052781}, {"filename": "/wireshark/radius/dictionary.bintec", "start": 1052781, "end": 1054494}, {"filename": "/wireshark/radius/dictionary.bluecoat", "start": 1054494, "end": 1055323}, {"filename": "/wireshark/radius/dictionary.boingo", "start": 1055323, "end": 1056938}, {"filename": "/wireshark/radius/dictionary.bristol", "start": 1056938, "end": 1057491}, {"filename": "/wireshark/radius/dictionary.broadsoft", "start": 1057491, "end": 1075272}, {"filename": "/wireshark/radius/dictionary.brocade", "start": 1075272, "end": 1076052}, {"filename": "/wireshark/radius/dictionary.bskyb", "start": 1076052, "end": 1076901}, {"filename": "/wireshark/radius/dictionary.bt", "start": 1076901, "end": 1077399}, {"filename": "/wireshark/radius/dictionary.cablelabs", "start": 1077399, "end": 1088038}, {"filename": "/wireshark/radius/dictionary.cabletron", "start": 1088038, "end": 1089002}, {"filename": "/wireshark/radius/dictionary.calix", "start": 1089002, "end": 1090071}, {"filename": "/wireshark/radius/dictionary.cambium", "start": 1090071, "end": 1093008}, {"filename": "/wireshark/radius/dictionary.camiant", "start": 1093008, "end": 1093758}, {"filename": "/wireshark/radius/dictionary.centec", "start": 1093758, "end": 1094141}, {"filename": "/wireshark/radius/dictionary.checkpoint", "start": 1094141, "end": 1094525}, {"filename": "/wireshark/radius/dictionary.chillispot", "start": 1094525, "end": 1096035}, {"filename": "/wireshark/radius/dictionary.ciena", "start": 1096035, "end": 1097222}, {"filename": "/wireshark/radius/dictionary.cisco", "start": 1097222, "end": 1106248}, {"filename": "/wireshark/radius/dictionary.cisco.asa", "start": 1106248, "end": 1121170}, {"filename": "/wireshark/radius/dictionary.cisco.bbsm", "start": 1121170, "end": 1121665}, {"filename": "/wireshark/radius/dictionary.cisco.vpn3000", "start": 1121665, "end": 1137862}, {"filename": "/wireshark/radius/dictionary.cisco.vpn5000", "start": 1137862, "end": 1138628}, {"filename": "/wireshark/radius/dictionary.citrix", "start": 1138628, "end": 1139358}, {"filename": "/wireshark/radius/dictionary.ckey", "start": 1139358, "end": 1140796}, {"filename": "/wireshark/radius/dictionary.clavister", "start": 1140796, "end": 1141346}, {"filename": "/wireshark/radius/dictionary.cnergee", "start": 1141346, "end": 1143198}, {"filename": "/wireshark/radius/dictionary.colubris", "start": 1143198, "end": 1143524}, {"filename": "/wireshark/radius/dictionary.columbia_university", "start": 1143524, "end": 1144293}, {"filename": "/wireshark/radius/dictionary.compat", "start": 1144293, "end": 1145899}, {"filename": "/wireshark/radius/dictionary.compatible", "start": 1145899, "end": 1146584}, {"filename": "/wireshark/radius/dictionary.cosine", "start": 1146584, "end": 1147407}, {"filename": "/wireshark/radius/dictionary.covaro", "start": 1147407, "end": 1148551}, {"filename": "/wireshark/radius/dictionary.dante", "start": 1148551, "end": 1149091}, {"filename": "/wireshark/radius/dictionary.dellemc", "start": 1149091, "end": 1149625}, {"filename": "/wireshark/radius/dictionary.digium", "start": 1149625, "end": 1150964}, {"filename": "/wireshark/radius/dictionary.dlink", "start": 1150964, "end": 1152133}, {"filename": "/wireshark/radius/dictionary.dragonwave", "start": 1152133, "end": 1153024}, {"filename": "/wireshark/radius/dictionary.efficientip", "start": 1153024, "end": 1154098}, {"filename": "/wireshark/radius/dictionary.eleven", "start": 1154098, "end": 1155250}, {"filename": "/wireshark/radius/dictionary.eltex", "start": 1155250, "end": 1156170}, {"filename": "/wireshark/radius/dictionary.enterasys", "start": 1156170, "end": 1158420}, {"filename": "/wireshark/radius/dictionary.epygi", "start": 1158420, "end": 1162833}, {"filename": "/wireshark/radius/dictionary.equallogic", "start": 1162833, "end": 1164406}, {"filename": "/wireshark/radius/dictionary.ericsson", "start": 1164406, "end": 1170701}, {"filename": "/wireshark/radius/dictionary.ericsson.ab", "start": 1170701, "end": 1188630}, {"filename": "/wireshark/radius/dictionary.ericsson.packet.core.networks", "start": 1188630, "end": 1189047}, {"filename": "/wireshark/radius/dictionary.erx", "start": 1189047, "end": 1206149}, {"filename": "/wireshark/radius/dictionary.extreme", "start": 1206149, "end": 1208783}, {"filename": "/wireshark/radius/dictionary.f5", "start": 1208783, "end": 1210692}, {"filename": "/wireshark/radius/dictionary.fdxtended", "start": 1210692, "end": 1211428}, {"filename": "/wireshark/radius/dictionary.force10", "start": 1211428, "end": 1211765}, {"filename": "/wireshark/radius/dictionary.fortinet", "start": 1211765, "end": 1213831}, {"filename": "/wireshark/radius/dictionary.foundry", "start": 1213831, "end": 1216354}, {"filename": "/wireshark/radius/dictionary.freedhcp", "start": 1216354, "end": 1233845}, {"filename": "/wireshark/radius/dictionary.freeradius", "start": 1233845, "end": 1247317}, {"filename": "/wireshark/radius/dictionary.freeradius.evs5", "start": 1247317, "end": 1247981}, {"filename": "/wireshark/radius/dictionary.freeradius.internal", "start": 1247981, "end": 1277443}, {"filename": "/wireshark/radius/dictionary.freeswitch", "start": 1277443, "end": 1282114}, {"filename": "/wireshark/radius/dictionary.gandalf", "start": 1282114, "end": 1285817}, {"filename": "/wireshark/radius/dictionary.garderos", "start": 1285817, "end": 1286417}, {"filename": "/wireshark/radius/dictionary.gemtek", "start": 1286417, "end": 1287015}, {"filename": "/wireshark/radius/dictionary.h3c", "start": 1287015, "end": 1290634}, {"filename": "/wireshark/radius/dictionary.hillstone", "start": 1290634, "end": 1292605}, {"filename": "/wireshark/radius/dictionary.hp", "start": 1292605, "end": 1295700}, {"filename": "/wireshark/radius/dictionary.huawei", "start": 1295700, "end": 1305040}, {"filename": "/wireshark/radius/dictionary.iana", "start": 1305040, "end": 1306411}, {"filename": "/wireshark/radius/dictionary.identity_engines", "start": 1306411, "end": 1306786}, {"filename": "/wireshark/radius/dictionary.iea", "start": 1306786, "end": 1307900}, {"filename": "/wireshark/radius/dictionary.infinera", "start": 1307900, "end": 1308242}, {"filename": "/wireshark/radius/dictionary.infoblox", "start": 1308242, "end": 1308888}, {"filename": "/wireshark/radius/dictionary.infonet", "start": 1308888, "end": 1310506}, {"filename": "/wireshark/radius/dictionary.ipunplugged", "start": 1310506, "end": 1311408}, {"filename": "/wireshark/radius/dictionary.issanni", "start": 1311408, "end": 1312808}, {"filename": "/wireshark/radius/dictionary.itk", "start": 1312808, "end": 1314428}, {"filename": "/wireshark/radius/dictionary.jradius", "start": 1314428, "end": 1314845}, {"filename": "/wireshark/radius/dictionary.juniper", "start": 1314845, "end": 1317637}, {"filename": "/wireshark/radius/dictionary.karlnet", "start": 1317637, "end": 1419776}, {"filename": "/wireshark/radius/dictionary.kineto", "start": 1419776, "end": 1424491}, {"filename": "/wireshark/radius/dictionary.lancom", "start": 1424491, "end": 1426024}, {"filename": "/wireshark/radius/dictionary.lantronix", "start": 1426024, "end": 1426394}, {"filename": "/wireshark/radius/dictionary.livingston", "start": 1426394, "end": 1428592}, {"filename": "/wireshark/radius/dictionary.localweb", "start": 1428592, "end": 1429779}, {"filename": "/wireshark/radius/dictionary.lucent", "start": 1429779, "end": 1451042}, {"filename": "/wireshark/radius/dictionary.manzara", "start": 1451042, "end": 1452072}, {"filename": "/wireshark/radius/dictionary.meinberg", "start": 1452072, "end": 1452777}, {"filename": "/wireshark/radius/dictionary.mellanox", "start": 1452777, "end": 1453259}, {"filename": "/wireshark/radius/dictionary.meraki", "start": 1453259, "end": 1453591}, {"filename": "/wireshark/radius/dictionary.merit", "start": 1453591, "end": 1454014}, {"filename": "/wireshark/radius/dictionary.meru", "start": 1454014, "end": 1454417}, {"filename": "/wireshark/radius/dictionary.microsemi", "start": 1454417, "end": 1455119}, {"filename": "/wireshark/radius/dictionary.microsoft", "start": 1455119, "end": 1461462}, {"filename": "/wireshark/radius/dictionary.mikrotik", "start": 1461462, "end": 1463951}, {"filename": "/wireshark/radius/dictionary.mimosa", "start": 1463951, "end": 1465724}, {"filename": "/wireshark/radius/dictionary.motorola", "start": 1465724, "end": 1468283}, {"filename": "/wireshark/radius/dictionary.motorola.illegal", "start": 1468283, "end": 1469414}, {"filename": "/wireshark/radius/dictionary.motorola.wimax", "start": 1469414, "end": 1470828}, {"filename": "/wireshark/radius/dictionary.navini", "start": 1470828, "end": 1471299}, {"filename": "/wireshark/radius/dictionary.net", "start": 1471299, "end": 1476812}, {"filename": "/wireshark/radius/dictionary.netelastic", "start": 1476812, "end": 1479180}, {"filename": "/wireshark/radius/dictionary.netscreen", "start": 1479180, "end": 1480223}, {"filename": "/wireshark/radius/dictionary.networkphysics", "start": 1480223, "end": 1480817}, {"filename": "/wireshark/radius/dictionary.nexans", "start": 1480817, "end": 1481515}, {"filename": "/wireshark/radius/dictionary.nile", "start": 1481515, "end": 1482097}, {"filename": "/wireshark/radius/dictionary.nokia", "start": 1482097, "end": 1483548}, {"filename": "/wireshark/radius/dictionary.nokia.conflict", "start": 1483548, "end": 1484701}, {"filename": "/wireshark/radius/dictionary.nomadix", "start": 1484701, "end": 1485890}, {"filename": "/wireshark/radius/dictionary.nortel", "start": 1485890, "end": 1488973}, {"filename": "/wireshark/radius/dictionary.ntua", "start": 1488973, "end": 1490403}, {"filename": "/wireshark/radius/dictionary.openser", "start": 1490403, "end": 1491896}, {"filename": "/wireshark/radius/dictionary.openwifi", "start": 1491896, "end": 1492533}, {"filename": "/wireshark/radius/dictionary.packeteer", "start": 1492533, "end": 1493241}, {"filename": "/wireshark/radius/dictionary.paloalto", "start": 1493241, "end": 1494251}, {"filename": "/wireshark/radius/dictionary.patton", "start": 1494251, "end": 1502994}, {"filename": "/wireshark/radius/dictionary.perle", "start": 1502994, "end": 1525854}, {"filename": "/wireshark/radius/dictionary.pfsense", "start": 1525854, "end": 1526302}, {"filename": "/wireshark/radius/dictionary.pica8", "start": 1526302, "end": 1526868}, {"filename": "/wireshark/radius/dictionary.propel", "start": 1526868, "end": 1527429}, {"filename": "/wireshark/radius/dictionary.prosoft", "start": 1527429, "end": 1528846}, {"filename": "/wireshark/radius/dictionary.proxim", "start": 1528846, "end": 1532099}, {"filename": "/wireshark/radius/dictionary.purewave", "start": 1532099, "end": 1533736}, {"filename": "/wireshark/radius/dictionary.quiconnect", "start": 1533736, "end": 1534357}, {"filename": "/wireshark/radius/dictionary.quintum", "start": 1534357, "end": 1535997}, {"filename": "/wireshark/radius/dictionary.rcntec", "start": 1535997, "end": 1536661}, {"filename": "/wireshark/radius/dictionary.redcreek", "start": 1536661, "end": 1537428}, {"filename": "/wireshark/radius/dictionary.rfc2865", "start": 1537428, "end": 1541737}, {"filename": "/wireshark/radius/dictionary.rfc2866", "start": 1541737, "end": 1543832}, {"filename": "/wireshark/radius/dictionary.rfc2867", "start": 1543832, "end": 1544496}, {"filename": "/wireshark/radius/dictionary.rfc2868", "start": 1544496, "end": 1546306}, {"filename": "/wireshark/radius/dictionary.rfc2869", "start": 1546306, "end": 1547584}, {"filename": "/wireshark/radius/dictionary.rfc3162", "start": 1547584, "end": 1548145}, {"filename": "/wireshark/radius/dictionary.rfc3576", "start": 1548145, "end": 1549276}, {"filename": "/wireshark/radius/dictionary.rfc3580", "start": 1549276, "end": 1549887}, {"filename": "/wireshark/radius/dictionary.rfc4072", "start": 1549887, "end": 1550238}, {"filename": "/wireshark/radius/dictionary.rfc4372", "start": 1550238, "end": 1550598}, {"filename": "/wireshark/radius/dictionary.rfc4603", "start": 1550598, "end": 1551251}, {"filename": "/wireshark/radius/dictionary.rfc4675", "start": 1551251, "end": 1552129}, {"filename": "/wireshark/radius/dictionary.rfc4679", "start": 1552129, "end": 1554694}, {"filename": "/wireshark/radius/dictionary.rfc4818", "start": 1554694, "end": 1555218}, {"filename": "/wireshark/radius/dictionary.rfc4849", "start": 1555218, "end": 1555571}, {"filename": "/wireshark/radius/dictionary.rfc5090", "start": 1555571, "end": 1556660}, {"filename": "/wireshark/radius/dictionary.rfc5176", "start": 1556660, "end": 1557085}, {"filename": "/wireshark/radius/dictionary.rfc5447", "start": 1557085, "end": 1557593}, {"filename": "/wireshark/radius/dictionary.rfc5580", "start": 1557593, "end": 1558847}, {"filename": "/wireshark/radius/dictionary.rfc5607", "start": 1558847, "end": 1559870}, {"filename": "/wireshark/radius/dictionary.rfc5904", "start": 1559870, "end": 1560691}, {"filename": "/wireshark/radius/dictionary.rfc6519", "start": 1560691, "end": 1561049}, {"filename": "/wireshark/radius/dictionary.rfc6572", "start": 1561049, "end": 1562269}, {"filename": "/wireshark/radius/dictionary.rfc6677", "start": 1562269, "end": 1562938}, {"filename": "/wireshark/radius/dictionary.rfc6911", "start": 1562938, "end": 1563442}, {"filename": "/wireshark/radius/dictionary.rfc6929", "start": 1563442, "end": 1564493}, {"filename": "/wireshark/radius/dictionary.rfc6930", "start": 1564493, "end": 1564996}, {"filename": "/wireshark/radius/dictionary.rfc7055", "start": 1564996, "end": 1565466}, {"filename": "/wireshark/radius/dictionary.rfc7155", "start": 1565466, "end": 1565945}, {"filename": "/wireshark/radius/dictionary.rfc7268", "start": 1565945, "end": 1568401}, {"filename": "/wireshark/radius/dictionary.rfc7499", "start": 1568401, "end": 1568960}, {"filename": "/wireshark/radius/dictionary.rfc7930", "start": 1568960, "end": 1569326}, {"filename": "/wireshark/radius/dictionary.rfc8045", "start": 1569326, "end": 1571904}, {"filename": "/wireshark/radius/dictionary.rfc8559", "start": 1571904, "end": 1572229}, {"filename": "/wireshark/radius/dictionary.riverbed", "start": 1572229, "end": 1572920}, {"filename": "/wireshark/radius/dictionary.riverstone", "start": 1572920, "end": 1574151}, {"filename": "/wireshark/radius/dictionary.roaringpenguin", "start": 1574151, "end": 1574988}, {"filename": "/wireshark/radius/dictionary.ruckus", "start": 1574988, "end": 1580737}, {"filename": "/wireshark/radius/dictionary.ruggedcom", "start": 1580737, "end": 1581034}, {"filename": "/wireshark/radius/dictionary.sangoma", "start": 1581034, "end": 1585616}, {"filename": "/wireshark/radius/dictionary.sg", "start": 1585616, "end": 1591720}, {"filename": "/wireshark/radius/dictionary.shasta", "start": 1591720, "end": 1592368}, {"filename": "/wireshark/radius/dictionary.shiva", "start": 1592368, "end": 1596684}, {"filename": "/wireshark/radius/dictionary.siemens", "start": 1596684, "end": 1597560}, {"filename": "/wireshark/radius/dictionary.slipstream", "start": 1597560, "end": 1598190}, {"filename": "/wireshark/radius/dictionary.smartsharesystems", "start": 1598190, "end": 1599340}, {"filename": "/wireshark/radius/dictionary.sofaware", "start": 1599340, "end": 1600574}, {"filename": "/wireshark/radius/dictionary.softbank", "start": 1600574, "end": 1601695}, {"filename": "/wireshark/radius/dictionary.sonicwall", "start": 1601695, "end": 1604508}, {"filename": "/wireshark/radius/dictionary.springtide", "start": 1604508, "end": 1605667}, {"filename": "/wireshark/radius/dictionary.starent", "start": 1605667, "end": 1667604}, {"filename": "/wireshark/radius/dictionary.starent.vsa1", "start": 1667604, "end": 1723413}, {"filename": "/wireshark/radius/dictionary.surfnet", "start": 1723413, "end": 1724011}, {"filename": "/wireshark/radius/dictionary.symbol", "start": 1724011, "end": 1727234}, {"filename": "/wireshark/radius/dictionary.t_systems_nova", "start": 1727234, "end": 1728590}, {"filename": "/wireshark/radius/dictionary.telebit", "start": 1728590, "end": 1729165}, {"filename": "/wireshark/radius/dictionary.telkom", "start": 1729165, "end": 1730263}, {"filename": "/wireshark/radius/dictionary.telrad", "start": 1730263, "end": 1731166}, {"filename": "/wireshark/radius/dictionary.terena", "start": 1731166, "end": 1731685}, {"filename": "/wireshark/radius/dictionary.tplink", "start": 1731685, "end": 1732364}, {"filename": "/wireshark/radius/dictionary.trapeze", "start": 1732364, "end": 1733808}, {"filename": "/wireshark/radius/dictionary.travelping", "start": 1733808, "end": 1737066}, {"filename": "/wireshark/radius/dictionary.tripplite", "start": 1737066, "end": 1738958}, {"filename": "/wireshark/radius/dictionary.tropos", "start": 1738958, "end": 1741217}, {"filename": "/wireshark/radius/dictionary.ukerna", "start": 1741217, "end": 1742535}, {"filename": "/wireshark/radius/dictionary.unisphere", "start": 1742535, "end": 1757916}, {"filename": "/wireshark/radius/dictionary.unix", "start": 1757916, "end": 1758461}, {"filename": "/wireshark/radius/dictionary.usr", "start": 1758461, "end": 1831176}, {"filename": "/wireshark/radius/dictionary.usr.illegal", "start": 1831176, "end": 1832559}, {"filename": "/wireshark/radius/dictionary.utstarcom", "start": 1832559, "end": 1834319}, {"filename": "/wireshark/radius/dictionary.valemount", "start": 1834319, "end": 1835144}, {"filename": "/wireshark/radius/dictionary.vasexperts", "start": 1835144, "end": 1840035}, {"filename": "/wireshark/radius/dictionary.verizon", "start": 1840035, "end": 1840942}, {"filename": "/wireshark/radius/dictionary.versanet", "start": 1840942, "end": 1843178}, {"filename": "/wireshark/radius/dictionary.walabi", "start": 1843178, "end": 1844236}, {"filename": "/wireshark/radius/dictionary.waverider", "start": 1844236, "end": 1846292}, {"filename": "/wireshark/radius/dictionary.wichorus", "start": 1846292, "end": 1846957}, {"filename": "/wireshark/radius/dictionary.wifialliance", "start": 1846957, "end": 1850540}, {"filename": "/wireshark/radius/dictionary.wimax", "start": 1850540, "end": 1879145}, {"filename": "/wireshark/radius/dictionary.wimax.alvarion", "start": 1879145, "end": 1899562}, {"filename": "/wireshark/radius/dictionary.wimax.wichorus", "start": 1899562, "end": 1915081}, {"filename": "/wireshark/radius/dictionary.wispr", "start": 1915081, "end": 1916368}, {"filename": "/wireshark/radius/dictionary.xedia", "start": 1916368, "end": 1917287}, {"filename": "/wireshark/radius/dictionary.xylan", "start": 1917287, "end": 1919279}, {"filename": "/wireshark/radius/dictionary.yubico", "start": 1919279, "end": 1920015}, {"filename": "/wireshark/radius/dictionary.zeus", "start": 1920015, "end": 1920361}, {"filename": "/wireshark/radius/dictionary.zte", "start": 1920361, "end": 1923049}, {"filename": "/wireshark/radius/dictionary.zyxel", "start": 1923049, "end": 1923908}, {"filename": "/wireshark/smi_modules", "start": 1923908, "end": 1924223}, {"filename": "/wireshark/tpncp/tpncp.dat", "start": 1924223, "end": 2574397}, {"filename": "/wireshark/wimaxasncp/dictionary.dtd", "start": 2574397, "end": 2574704}, {"filename": "/wireshark/wimaxasncp/dictionary.xml", "start": 2574704, "end": 2666195}, {"filename": "/wireshark/wka", "start": 2666195, "end": 2677416}], "remote_package_size": 2677416}); })(); // All the pre-js content up to here must remain later on, we need to run // it. if (Module['ENVIRONMENT_IS_PTHREAD']) Module['preRun'] = []; var necessaryPreJSTasks = Module['preRun'].slice(); // defaults if (!Module["print"]) Module.print = function (text) { console.log(text); }; if (!Module["printErr"]) Module.printErr = function (text) { console.warn(text); }; if (!Module["handleStatus"]) Module.handleStatus = function (type, status) { console.log(type, status); }; // initialize FS with directories Module["onRuntimeInitialized"] = () => { Module.FS.mkdir("/plugins"); Module.FS.mkdir("/uploads"); }; if (!Module['preRun']) throw 'Module.preRun should exist because file support used it; did a pre-js delete it?'; necessaryPreJSTasks.forEach(function(task) { if (Module['preRun'].indexOf(task) < 0) throw 'All preRun tasks that exist before user pre-js code should remain after; did you replace Module or modify Module.preRun?'; }); // Sometimes an existing Module object exists with properties // meant to overwrite the default module functionality. Here // we collect those properties and reapply _after_ we configure // the current environment's defaults to avoid having to be so // defensive during initialization. var moduleOverrides = Object.assign({}, Module); var arguments_ = []; var thisProgram = './this.program'; var quit_ = (status, toThrow) => { throw toThrow; }; // Determine the runtime environment we are in. You can customize this by // setting the ENVIRONMENT setting at compile time (see settings.js). // Attempt to auto-detect the environment var ENVIRONMENT_IS_WEB = typeof window == 'object'; var ENVIRONMENT_IS_WORKER = typeof importScripts == 'function'; // N.b. Electron.js environment is simultaneously a NODE-environment, but // also a web environment. var ENVIRONMENT_IS_NODE = typeof process == 'object' && typeof process.versions == 'object' && typeof process.versions.node == 'string'; var ENVIRONMENT_IS_SHELL = !ENVIRONMENT_IS_WEB && !ENVIRONMENT_IS_NODE && !ENVIRONMENT_IS_WORKER; if (Module['ENVIRONMENT']) { throw new Error('Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -sENVIRONMENT=web or -sENVIRONMENT=node)'); } // `/` should be present at the end if `scriptDirectory` is not empty var scriptDirectory = ''; function locateFile(path) { if (Module['locateFile']) { return Module['locateFile'](path, scriptDirectory); } return scriptDirectory + path; } // Hooks that are implemented differently in different runtime environments. var read_, readAsync, readBinary, setWindowTitle; // Normally we don't log exceptions but instead let them bubble out the top // level where the embedding environment (e.g. the browser) can handle // them. // However under v8 and node we sometimes exit the process direcly in which case // its up to use us to log the exception before exiting. // If we fix https://github.com/emscripten-core/emscripten/issues/15080 // this may no longer be needed under node. function logExceptionOnExit(e) { if (e instanceof ExitStatus) return; let toLog = e; if (e && typeof e == 'object' && e.stack) { toLog = [e, e.stack]; } err('exiting due to exception: ' + toLog); } if (ENVIRONMENT_IS_NODE) { if (typeof process == 'undefined' || !process.release || process.release.name !== 'node') 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?)'); // `require()` is no-op in an ESM module, use `createRequire()` to construct // the require()` function. This is only necessary for multi-environment // builds, `-sENVIRONMENT=node` emits a static import declaration instead. // TODO: Swap all `require()`'s with `import()`'s? // These modules will usually be used on Node.js. Load them eagerly to avoid // the complexity of lazy-loading. var fs = require('fs'); var nodePath = require('path'); if (ENVIRONMENT_IS_WORKER) { scriptDirectory = nodePath.dirname(scriptDirectory) + '/'; } else { scriptDirectory = __dirname + '/'; } // include: node_shell_read.js read_ = (filename, binary) => { // We need to re-wrap `file://` strings to URLs. Normalizing isn't // necessary in that case, the path should already be absolute. filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename); return fs.readFileSync(filename, binary ? undefined : 'utf8'); }; readBinary = (filename) => { var ret = read_(filename, true); if (!ret.buffer) { ret = new Uint8Array(ret); } assert(ret.buffer); return ret; }; readAsync = (filename, onload, onerror) => { // See the comment in the `read_` function. filename = isFileURI(filename) ? new URL(filename) : nodePath.normalize(filename); fs.readFile(filename, function(err, data) { if (err) onerror(err); else onload(data.buffer); }); }; // end include: node_shell_read.js if (process['argv'].length > 1) { thisProgram = process['argv'][1].replace(/\\/g, '/'); } arguments_ = process['argv'].slice(2); // MODULARIZE will export the module in the proper place outside, we don't need to export here process['on']('uncaughtException', function(ex) { // suppress ExitStatus exceptions from showing an error if (!(ex instanceof ExitStatus)) { throw ex; } }); // Without this older versions of node (< v15) will log unhandled rejections // but return 0, which is not normally the desired behaviour. This is // not be needed with node v15 and about because it is now the default // behaviour: // See https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode var nodeMajor = process.version.match(/^v(\d+)\./)[1]; if (nodeMajor < 15) { process['on']('unhandledRejection', function(reason) { throw reason; }); } quit_ = (status, toThrow) => { if (keepRuntimeAlive()) { process['exitCode'] = status; throw toThrow; } logExceptionOnExit(toThrow); process['exit'](status); }; Module['inspect'] = function () { return '[Emscripten Module object]'; }; } else if (ENVIRONMENT_IS_SHELL) { if ((typeof process == 'object' && typeof require === 'function') || typeof window == 'object' || typeof importScripts == 'function') 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?)'); if (typeof read != 'undefined') { read_ = function shell_read(f) { return read(f); }; } readBinary = function readBinary(f) { let data; if (typeof readbuffer == 'function') { return new Uint8Array(readbuffer(f)); } data = read(f, 'binary'); assert(typeof data == 'object'); return data; }; readAsync = function readAsync(f, onload, onerror) { setTimeout(() => onload(readBinary(f)), 0); }; if (typeof clearTimeout == 'undefined') { globalThis.clearTimeout = (id) => {}; } if (typeof scriptArgs != 'undefined') { arguments_ = scriptArgs; } else if (typeof arguments != 'undefined') { arguments_ = arguments; } if (typeof quit == 'function') { quit_ = (status, toThrow) => { logExceptionOnExit(toThrow); quit(status); }; } if (typeof print != 'undefined') { // Prefer to use print/printErr where they exist, as they usually work better. if (typeof console == 'undefined') console = /** @type{!Console} */({}); console.log = /** @type{!function(this:Console, ...*): undefined} */ (print); console.warn = console.error = /** @type{!function(this:Console, ...*): undefined} */ (typeof printErr != 'undefined' ? printErr : print); } } else // Note that this includes Node.js workers when relevant (pthreads is enabled). // Node.js workers are detected as a combination of ENVIRONMENT_IS_WORKER and // ENVIRONMENT_IS_NODE. if (ENVIRONMENT_IS_WEB || ENVIRONMENT_IS_WORKER) { if (ENVIRONMENT_IS_WORKER) { // Check worker, not web, since window could be polyfilled scriptDirectory = self.location.href; } else if (typeof document != 'undefined' && document.currentScript) { // web scriptDirectory = document.currentScript.src; } // When MODULARIZE, this JS may be executed later, after document.currentScript // is gone, so we saved it, and we use it here instead of any other info. if (_scriptDir) { scriptDirectory = _scriptDir; } // blob urls look like blob:http://site.com/etc/etc and we cannot infer anything from them. // otherwise, slice off the final part of the url to find the script directory. // if scriptDirectory does not contain a slash, lastIndexOf will return -1, // and scriptDirectory will correctly be replaced with an empty string. // If scriptDirectory contains a query (starting with ?) or a fragment (starting with #), // they are removed because they could contain a slash. if (scriptDirectory.indexOf('blob:') !== 0) { scriptDirectory = scriptDirectory.substr(0, scriptDirectory.replace(/[?#].*/, "").lastIndexOf('/')+1); } else { scriptDirectory = ''; } if (!(typeof window == 'object' || typeof importScripts == 'function')) 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?)'); // Differentiate the Web Worker from the Node Worker case, as reading must // be done differently. { // include: web_or_worker_shell_read.js read_ = (url) => { var xhr = new XMLHttpRequest(); xhr.open('GET', url, false); xhr.send(null); return xhr.responseText; } if (ENVIRONMENT_IS_WORKER) { readBinary = (url) => { var xhr = new XMLHttpRequest(); xhr.open('GET', url, false); xhr.responseType = 'arraybuffer'; xhr.send(null); return new Uint8Array(/** @type{!ArrayBuffer} */(xhr.response)); }; } readAsync = (url, onload, onerror) => { var xhr = new XMLHttpRequest(); xhr.open('GET', url, true); xhr.responseType = 'arraybuffer'; xhr.onload = () => { if (xhr.status == 200 || (xhr.status == 0 && xhr.response)) { // file URLs can return 0 onload(xhr.response); return; } onerror(); }; xhr.onerror = onerror; xhr.send(null); } // end include: web_or_worker_shell_read.js } setWindowTitle = (title) => document.title = title; } else { throw new Error('environment detection error'); } var out = Module['print'] || console.log.bind(console); var err = Module['printErr'] || console.warn.bind(console); // Merge back in the overrides Object.assign(Module, moduleOverrides); // Free the object hierarchy contained in the overrides, this lets the GC // reclaim data used e.g. in memoryInitializerRequest, which is a large typed array. moduleOverrides = null; checkIncomingModuleAPI(); // Emit code to handle expected values on the Module object. This applies Module.x // to the proper local x. This has two benefits: first, we only emit it if it is // expected to arrive, and second, by using a local everywhere else that can be // minified. if (Module['arguments']) arguments_ = Module['arguments'];legacyModuleProp('arguments', 'arguments_'); if (Module['thisProgram']) thisProgram = Module['thisProgram'];legacyModuleProp('thisProgram', 'thisProgram'); if (Module['quit']) quit_ = Module['quit'];legacyModuleProp('quit', 'quit_'); // perform assertions in shell.js after we set up out() and err(), as otherwise if an assertion fails it cannot print the message // Assertions on removed incoming Module JS APIs. assert(typeof Module['memoryInitializerPrefixURL'] == 'undefined', 'Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead'); assert(typeof Module['pthreadMainPrefixURL'] == 'undefined', 'Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead'); assert(typeof Module['cdInitializerPrefixURL'] == 'undefined', 'Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead'); assert(typeof Module['filePackagePrefixURL'] == 'undefined', 'Module.filePackagePrefixURL option was removed, use Module.locateFile instead'); assert(typeof Module['read'] == 'undefined', 'Module.read option was removed (modify read_ in JS)'); assert(typeof Module['readAsync'] == 'undefined', 'Module.readAsync option was removed (modify readAsync in JS)'); assert(typeof Module['readBinary'] == 'undefined', 'Module.readBinary option was removed (modify readBinary in JS)'); assert(typeof Module['setWindowTitle'] == 'undefined', 'Module.setWindowTitle option was removed (modify setWindowTitle in JS)'); assert(typeof Module['TOTAL_MEMORY'] == 'undefined', 'Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY'); legacyModuleProp('read', 'read_'); legacyModuleProp('readAsync', 'readAsync'); legacyModuleProp('readBinary', 'readBinary'); legacyModuleProp('setWindowTitle', 'setWindowTitle'); var IDBFS = 'IDBFS is no longer included by default; build with -lidbfs.js'; var PROXYFS = 'PROXYFS is no longer included by default; build with -lproxyfs.js'; var WORKERFS = 'WORKERFS is no longer included by default; build with -lworkerfs.js'; var NODEFS = 'NODEFS is no longer included by default; build with -lnodefs.js'; assert(!ENVIRONMENT_IS_SHELL, "shell environment detected but not enab