Liferay.Loader.define("@liferay/document-library-web@6.0.111/document_library/js/InfoPanel.es",["module","exports","require","liferay!document-library-web$clipboard","frontend-js-web"],(function(e,a,r){var d;window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var o=(d=r("liferay!document-library-web$clipboard"))&&d.__esModule?d:{default:d},i=r("frontend-js-web");class e extends i.PortletBase{attached(){this._clipboard=new o.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 l=e;a.default=l}}));
//# sourceMappingURL=InfoPanel.es.js.map