Liferay.Loader.define("@liferay/content-dashboard-web@2.0.69/js/components/SidebarPanelInfoView/PreviewActionsDescriptionSection",["module","exports","require","@frontend-taglib-clay$clayui/link","liferay!frontend-js-react-web$react","./Preview","./Share"],(function(e,t,a){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=l(a("@frontend-taglib-clay$clayui/link")),n=l(a("liferay!frontend-js-react-web$react"));function l(e){return e&&e.__esModule?e:{default:e}}const{default:e}=a("./Preview"),{default:d}=a("./Share");var i=({description:t,downloadURL:a,fetchSharingButtonURL:l,handleError:i,preview:o,title:c})=>{const f=a||l;return n.default.createElement(n.default.Fragment,null,o&&o.imageURL&&n.default.createElement(e,{compressed:!!f,imageURL:o.imageURL,title:c,url:o.url}),f&&n.default.createElement("div",{className:"sidebar-section"},a&&n.default.createElement(r.default,{className:"btn btn-primary",href:a},Liferay.Language.get("download")),l&&n.default.createElement(d,{fetchSharingButtonURL:l,onError:i})),t&&n.default.createElement("div",{className:"sidebar-section"},n.default.createElement("h5",{className:"c-mb-1 font-weight-semi-bold"},Liferay.Language.get("description")),n.default.createElement("div",{className:"text-secondary",dangerouslySetInnerHTML:{__html:t}})))};t.default=i}}));
//# sourceMappingURL=PreviewActionsDescriptionSection.js.map