"use strict";(self.webpackChunk_veupathdb_clinepi_site=self.webpackChunk_veupathdb_clinepi_site||[]).push([[345],{8975:function(e,s,t){t.r(s);var i=t(45909),l=t(79213),n=t(6797);class r extends n.Z{constructor(e){super(e),this.renderEdaLinkout=this.renderEdaLinkout.bind(this)}renderEdaLinkout(){var e,s;const{config:{displayName:t,projectId:n},userDataset:{status:r},edaWorkspaceUrl:a,edaMapUrl:u}=this.props;return"complete"===(null==r?void 0:r.import.status)&&"complete"===(null===(s=null===(e=null==r?void 0:r.install)||void 0===e?void 0:e.find((e=>e.installTarget===n)))||void 0===s?void 0:s.data.status)?null==a&&null==u?null:(0,i.jsxs)("ul",Object.assign({className:"eda-linkout"},{children:[a?(0,i.jsx)("li",{children:(0,i.jsxs)(l.rU,Object.assign({to:a},{children:[(0,i.jsx)("i",{className:"ebrc-icon-edaIcon"})," Explore in ",t]}))}):null,u?(0,i.jsx)("li",{children:(0,i.jsxs)(l.rU,Object.assign({to:u},{children:[(0,i.jsx)("i",{className:"ebrc-icon-edaIcon"})," Explore in MapVEu"]}))}):null]})):null}getAttributes(){const e=super.getAttributes();if(!this.isInstalled())return e;const s={attribute:"Explore",value:this.renderEdaLinkout()},t=this.props.includeNameHeader?2:1;return[...e.slice(0,t),s,...e.slice(t)]}}s.default=r}}]);
//# sourceMappingURL=345.bundle-985e2b83352e9e94a0bb.js.map