PageSourceSearch

https://www.thepowerportal.com/CommonScripts/NWS/Modules.CommonScripts/modulemanager.js

js thepowerportal.com collected 2026-10-05 06:04:14 UTC 1,506 bytes, 1 lines download raw bytes

1NWS.initNamespace("NWS.CommonScripts.ModuleManager",function(){var _={loadedModules:[],onLoadEvent:function(eventName,callback){switch(document.readyState){case"interactive":if(eventName=="DOMContentLoaded"){callback();return}break;case"complete":callback();return}window.addEventListener(eventName,function(e){switch(e.type){case"pagehide":case"pageshow":if(e.persisted)return;break}callback(e)})}};return{RegisterModules:function(modules,callback){var requiredScripts=[];modules.forEach(function(module){var moduleName=module.moduleName,options=module.options;if(_.loadedModules.filter(function(name){name===moduleName}).length)return;_.loadedModules.push(moduleName);if(typeof(module.moduleLoaderScript)==="undefined"||module.moduleLoaderScript==null){NWS.Modules.InitModule(moduleName,options)}else{requiredScripts.push(new NWS.Bundling.Resource(module.moduleLoaderScript,new NWS.Bundling.Callback(function(){NWS.Modules.InitModule(moduleName,options)})))}});NWS.Modules.Register(requiredScripts,callback)},GetScriptByKey:function(key,workingScripts,scriptOverrides){scriptOverrides=scriptOverrides||[];if(scriptOverrides.filter(function(script){return script.key===key}).length)workingScripts=scriptOverrides;return workingScripts.filter(function(script){return script.key===key})[0].path},OnDocumentReady:function(callback){_.onLoadEvent("DOMContentLoaded",callback)},OnWindowLoad:function(callback){_.onLoadEvent("load",callback)},OnPageShow:function(callback){_.onLoadEvent("pageshow",callback)}}})

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.