Liferay.Loader.define("document-library-video@1.0.47/js/components/DLVideoExternalShortcutPreview",["module","exports","require","@frontend-taglib-clay$clayui/icon","@frontend-taglib-clay$clayui/loading-indicator","liferay!frontend-js-react-web$classnames","liferay!frontend-js-react-web$prop-types","liferay!frontend-js-react-web$react"],(function(e,a,t){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var r=n(t("@frontend-taglib-clay$clayui/icon")),l=n(t("@frontend-taglib-clay$clayui/loading-indicator")),d=n(t("liferay!frontend-js-react-web$classnames")),i=(n(t("liferay!frontend-js-react-web$prop-types")),n(t("liferay!frontend-js-react-web$react")));function n(e){return e&&e.__esModule?e:{default:e}}var o=({error:e,framed:a,loading:t,small:n,videoHTML:o})=>i.default.createElement("div",{className:(0,d.default)("video-preview mt-4",{"video-preview-framed":a,"video-preview-sm":n})},!o||e||t?i.default.createElement("div",{className:"video-preview-aspect-ratio"},i.default.createElement("div",{className:"video-preview-placeholder"},t?i.default.createElement(l.default,null):i.default.createElement(i.default.Fragment,null,i.default.createElement(r.default,{symbol:"video"}),e&&i.default.createElement("div",{className:"video-preview-placeholder-text"},e)))):i.default.createElement("div",{className:"video-preview-aspect-ratio",dangerouslySetInnerHTML:{__html:o}}));a.default=o}}));
//# sourceMappingURL=DLVideoExternalShortcutPreview.js.map