"use strict";var TextLoaderPlugin;!function(e){function t(e,t){var n=65279,r=e.readFileSync(t,"utf8");return r.charCodeAt(0)===n&&(r=r.substring(1)),r}var n=function(){function e(){}return e.prototype.load=function(e,t,n,r){var i=new XMLHttpRequest;i.onreadystatechange=function(){4===i.readyState&&(i.status>=200&&i.status<300||1223===i.status||0===i.status&&i.responseText&&i.responseText.length>0?n(i.responseText):r(i),i.onreadystatechange=null)},i.open("GET",t,!0),i.responseType="",i.setRequestHeader("X-Requested-With","XMLHttpRequest"),i.send(null)},e}(),r=function(){function e(){this.fs=require.nodeRequire("fs")}return e.prototype.load=function(e,n,r){r(t(this.fs,n))},e}(),i=function(){function e(e){this.textLoader=e}return e.prototype.load=function(t,n,r,i){i=i||{};var a=i["vs/text"]||{},o=a.paths||{},s=t;for(var c in o)o.hasOwnProperty(c)&&0===t.indexOf(c)&&(s=o[c]+t.substr(c.length));var l=n.toUrl(s);this.textLoader.load(t,l,function(n){i.isBuild&&(e.BUILD_MAP[t]=n),r(n)},function(){"function"==typeof r.error&&r.error("Could not find "+l)})},e.prototype.write=function(t,n,r){if(e.BUILD_MAP.hasOwnProperty(n)){var i=a.escapeText(e.BUILD_MAP[n]);r('define("'+t+"!"+n+'", function () { return "'+i+'"; });')}},e.BUILD_MAP={},e}();e.TextPlugin=i;var a=function(){function e(){}return e.escapeText=function(e){for(var t,n="\b".charCodeAt(0),r="\f".charCodeAt(0),i="\n".charCodeAt(0),a=0,o="\r".charCodeAt(0),s="	".charCodeAt(0),c="".charCodeAt(0),l="\\".charCodeAt(0),u='"'.charCodeAt(0),d=0,p=null,m=[],h=0,f=e.length;f>h;h++){switch(t=e.charCodeAt(h)){case n:p="\\b";break;case r:p="\\f";break;case i:p="\\n";break;case a:p="\\0";break;case o:p="\\r";break;case s:p="\\t";break;case c:p="\\v";break;case l:p="\\\\";break;case u:p='\\"'}null!==p&&(m.push(e.substring(d,h)),m.push(p),d=h+1,p=null)}return m.push(e.substring(d,f)),m.join("")},e}();e.Utilities=a,function(){var e=null,t="undefined"!=typeof process&&"undefined"!=typeof process.versions&&"undefined"!=typeof process.versions.electron;e="undefined"!=typeof process&&process.versions&&process.versions.node&&!t?new r:new n,define("vs/text",new i(e))}()}(TextLoaderPlugin||(TextLoaderPlugin={}));