Liferay.Loader.define("@liferay/content-dashboard-web@2.0.85/js/components/SidebarPanelInfoView/SpecificFields",["module","exports","require","@frontend-taglib-clay$clayui/icon","@frontend-taglib-clay$clayui/tooltip","liferay!frontend-js-react-web$react","./FileUrlCopyButton","./utils/formatDate"],(function(e,t,l){window;{Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=_interopRequireDefault(l("@frontend-taglib-clay$clayui/icon")),n=l("@frontend-taglib-clay$clayui/tooltip"),i=_interopRequireDefault(l("liferay!frontend-js-react-web$react"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}const{default:e}=l("./FileUrlCopyButton"),{default:r}=l("./utils/formatDate"),SpecificItem=({languageTag:t,type:l,value:a})=>{const n={Date:()=>i.default.createElement("time",null,r(a,t)),String:()=>i.default.createElement("p",null,a),URL:()=>i.default.createElement(e,{url:a})};return n[l]?n[l]():a};var _default=({fields:e,languageTag:t})=>e.length?e.map((({help:e,title:l,type:r,value:u})=>l&&u&&r&&i.default.createElement("div",{className:"c-mb-4 sidebar-section",key:l},i.default.createElement("h5",{className:"c-mb-1 font-weight-semi-bold"},l,e&&i.default.createElement(n.ClayTooltipProvider,null,i.default.createElement("span",{className:"ml-1 text-secondary","data-tooltip-align":"top",title:e},i.default.createElement(a.default,{symbol:"question-circle-full"})))),i.default.createElement(SpecificItem,{languageTag:t,type:r,value:u})))):null;t.default=_default}}));
//# sourceMappingURL=SpecificFields.js.map