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