/*!----------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Version: 0.5.2(d49899a916fd99840f6f9178f2dd06e0e7013646) * Released under the MIT license * https://github.com/Microsoft/vscode/blob/master/LICENSE.txt *-----------------------------------------------------------*/ "use strict";var _nlsPluginGlobal=this,NLSLoaderPlugin;!function(n){function t(n,t){var e;return e=0===t.length?n:n.replace(/\{(\d+)\}/g,function(n,e){var r=e[0];return"undefined"!=typeof t[r]?t[r]:n}),s&&(e="["+e.replace(/[aouei]/g,"$&$&")+"]"),e}function e(n,t){var e=n[t];return e?e:(e=n["*"],e?e:null)}function r(n,e){for(var r=[],i=0;i=0,a=Array.prototype.slice,c=function(){function n(){this.localize=r}return n.prototype.setPseudoTranslation=function(n){s=n},n.prototype.create=function(n,t){return{localize:i(t[n])}},n.prototype.load=function(t,o,s,a){if(a=a||{},t&&0!==t.length){var c=void 0;if(l&&l.getString)c=".nls.keys",o([t+c],function(n){s({localize:function(t,e){if(!n[t])return"NLS error: unknown key "+t;var r=n[t].keys;if(e>=r.length)return"NLS error unknow index "+e;var i=r[e],o=[];o[0]=t+"_"+i;for(var u=0;u