function require(e){return require.scopes[e]}function importAll(e,t){var n=require(e);for(var r in n)t[r]=n[r]}function FakeFile(e){this.path=e}function FakeTimer(){}require.scopes={__proto__:null},onShutdown={done:!1,add:function(){},remove:function(){}};var Components={interfaces:{nsIFile:{DIRECTORY_TYPE:0},nsIFileURL:function(){},nsIHttpChannel:function(){},nsITimer:{TYPE_REPEATING_SLACK:0},nsIInterfaceRequestor:null,nsIChannelEventSink:null},classes:{"@mozilla.org/timer;1":{createInstance:function(){return new FakeTimer}},"@mozilla.org/xmlextras/xmlhttprequest;1":{createInstance:function(){return new XMLHttpRequest}}},results:{},utils:{reportError:function(e){console.error(e),console.trace()}},manager:null,ID:function(){return null}};const Cc=Components.classes,Ci=Components.interfaces,Cr=Components.results,Cu=Components.utils;var XPCOMUtils={generateQI:function(){}};FakeFile.prototype={get leafName(){return this.path},set leafName(e){this.path=e},append:function(e){this.path+=e},clone:function(){return new FakeFile(this.path)},get parent(){return{create:function(){}}},normalize:function(){}};var Services={io:{newURI:function(e){if(!e.length||"~"==e[0])throw new Error("Invalid URI");/^([^:\/]*)/.test(e);var t=RegExp.$1.toLowerCase();return{scheme:t,spec:e,QueryInterface:function(){return this}}},newFileURI:function(e){var t=this.newURI("file:///"+e.path);return t.file=e,t}},obs:{addObserver:function(){},removeObserver:function(){}},vc:{compare:function(e,t){function n(e){if(!e)return n("0");var t={numA:0,strB:"",numC:0,extraD:""};if("*"===e)return t.numA=Number.MAX_VALUE,t;var r=e.match(/(\d*)(\D*)(\d*)(.*)/);return t.numA=parseInt(r[1],10)||t.numA,t.strB=r[2]||t.strB,t.numC=parseInt(r[3],10)||t.numC,t.extraD=r[4]||t.extraD,"+"==t.strB&&(t.numA++,t.strB="pre"),t}function r(e,t){return""===e&&""!==t?1:""!==e&&""===t?-1:e===t?0:e>t?1:-1}function i(e,t){var n=0,i=["numA","strB","numC","extraD"];return i.some(function(i){return n=r(e[i],t[i])}),n}for(var o=e.split("."),u=t.split("."),s=0;s<Math.max(o.length,u.length);s++){var a=i(n(o[s]),n(u[s]));if(a)return a}return 0}}},FileUtils={PERMS_DIRECTORY:0};FakeTimer.prototype={delay:0,callback:null,initWithCallback:function(e,t){this.callback=e,this.delay=t,this.scheduleTimeout()},scheduleTimeout:function(){var e=this;window.setTimeout(function(){try{e.callback()}catch(t){Cu.reportError(t)}e.scheduleTimeout()},this.delay)}},XMLHttpRequest.prototype.channel={status:-1,notificationCallbacks:{},loadFlags:0,INHIBIT_CACHING:0,VALIDATE_ALWAYS:0,QueryInterface:function(){return this}};