Liferay.Loader.define("document-library-web@6.0.77/document_library/js/InfoPanel.es",["module","exports","require","document-library-web$clipboard","frontend-js-web"],(function(e,a,d){var o;window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=(o=d("document-library-web$clipboard"))&&o.__esModule?o:{default:o},i=d("frontend-js-web");class e extends i.PortletBase{attached(){this._clipboard=new r.default(".dm-infopanel-copy-clipboard"),this._clipboard.on("success",this._handleClipboardSuccess.bind(this))}disposeInternal(){super.disposeInternal(),this._clipboard.destroy()}_handleClipboardSuccess(){(0,i.openToast)({message:Liferay.Language.get("copied-link-to-the-clipboard")})}}var s=e;a.default=s}}));
//# sourceMappingURL=InfoPanel.es.js.map