(window.webpackJsonp=window.webpackJsonp||[]).push([[46],{628:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(3),i=r(670),o=r(933);t.default=new n.ContainerModule((function(e){e(o.UserStorageContribution).toSelf().inSingletonScope(),e(i.FileServiceContribution).toService(o.UserStorageContribution)}))},887:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UserStorageUri=void 0;var n=r(28);t.UserStorageUri=new n.default("user-storage:/user")},933:function(e,t,r){"use strict";var n=this&&this.__decorate||function(e,t,r,n){var i,o=arguments.length,a=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,n);else for(var c=e.length-1;c>=0;c--)(i=e[c])&&(a=(o<3?i(a):o>3?i(t,r,a):i(t,r))||a);return o>3&&a&&Object.defineProperty(t,r,a),a},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},o=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function a(e){try{u(n.next(e))}catch(e){o(e)}}function c(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,c)}u((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:c(0),throw:c(1),return:c(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function c(o){return function(c){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,c])}}};Object.defineProperty(t,"__esModule",{value:!0}),t.UserStorageContribution=void 0;var c=r(3),u=r(28),s=r(14),l=r(149),f=r(997),v=r(887),d=function(){function e(){}return e.prototype.registerFileSystemProviders=function(e){var t=this;e.onWillActivateFileSystemProvider((function(r){r.scheme===v.UserStorageUri.scheme&&r.waitUntil(o(t,void 0,void 0,(function(){var t;return a(this,(function(r){switch(r.label){case 0:return[4,this.createProvider(e)];case 1:return t=r.sent(),e.registerProvider(v.UserStorageUri.scheme,t),[2]}}))})))}))},e.prototype.createProvider=function(e){return o(this,void 0,void 0,(function(){var t,r,n;return a(this,(function(i){switch(i.label){case 0:return[4,e.activateProvider("file")];case 1:return t=i.sent(),n=u.default.bind,[4,this.environments.getConfigDirUri()];case 2:return r=new(n.apply(u.default,[void 0,i.sent()])),[2,new f.DelegatingFileSystemProvider(t,{uriConverter:{to:function(e){var t=v.UserStorageUri.relative(e);if(t)return r.resolve(t).normalizePath()},from:function(e){var t=r.relative(e);if(t)return v.UserStorageUri.resolve(t)}}},new s.DisposableCollection(t.watch(r,{excludes:[],recursive:!0})))]}}))}))},n([c.inject(l.EnvVariablesServer),i("design:type",Object)],e.prototype,"environments",void 0),e=n([c.injectable()],e)}();t.UserStorageContribution=d}}]);
//# sourceMappingURL=46.bundle.js.map