"use strict";(self.webpackChunkfxdk_app=self.webpackChunkfxdk_app||[]).push([[9772],{6392:function(e,t,n){var o,r=this&&this.__extends||(o=function(e,t){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},function(e,t){function n(){this.constructor=e}o(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=this&&this.__decorate||function(e,t,n,o){var r,c=arguments.length,i=c<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var u=e.length-1;u>=0;u--)(r=e[u])&&(i=(c<3?r(i):c>3?r(t,n,i):r(t,n))||i);return c>3&&i&&Object.defineProperty(t,n,i),i},i=this&&this.__metadata||function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},u=this&&this.__param||function(e,t){return function(n,o){t(n,o,e)}};Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserContextMenuRenderer=t.BrowserContextMenuAccess=void 0;var a=n(71053),s=n(66895),f=n(80099),p=function(e){function t(t){var n=e.call(this,t)||this;return n.menu=t,n}return r(t,e),t}(s.ContextMenuAccess);t.BrowserContextMenuAccess=p;var l=function(e){function t(t){var n=e.call(this)||this;return n.menuFactory=t,n}return r(t,e),t.prototype.doRender=function(e){var t=e.menuPath,n=e.anchor,o=e.args,r=e.onHide,c=this.menuFactory.createContextMenu(t,o),i=n instanceof MouseEvent?{x:n.clientX,y:n.clientY}:n,u=i.x,a=i.y;return r&&c.aboutToClose.connect((function(){return r()})),c.open(u,a),new p(c)},c([a.injectable(),u(0,a.inject(f.BrowserMainMenuFactory)),i("design:paramtypes",[f.BrowserMainMenuFactory])],t)}(s.ContextMenuRenderer);t.BrowserContextMenuRenderer=l},89772:(e,t,n)=>{Object.defineProperty(t,"__esModule",{value:!0});var o=n(71053),r=n(11043),c=n(66895),i=n(80099),u=n(6392);t.default=new o.ContainerModule((function(e){e(i.BrowserMainMenuFactory).toSelf().inSingletonScope(),e(c.ContextMenuRenderer).to(u.BrowserContextMenuRenderer).inSingletonScope(),e(i.BrowserMenuBarContribution).toSelf().inSingletonScope(),e(r.FrontendApplicationContribution).toService(i.BrowserMenuBarContribution)}))}}]);
//# sourceMappingURL=9772.bundle.js.map