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AAyDI,UAAA,WAAYa,MAArE,CAAAb,WAAA,IAAgF,aAAhFC,UAAwFF,GAAAA,GAAee,MAAMZ,OAAMC,KAAAA,KAAkBC,QAAAA,QAArI,qBACKC,iBADLV,SAAAA,QAfZ,KAFC,KAsEiBF,OACbsB,YADa,EAElBlB,IAAA,IAFJK,OAAA,EAMA,EAAAhB,oBAAA,QAAAO,MAAA","sources":["webpack://_N_E/./components/ObLink/ObLink.js","webpack://_N_E/"],"sourcesContent":["import React from 'react';\nimport PropTypes from 'prop-types';\nimport Link from 'next/link'\n\nfunction ObLink({children, tag: Tag, href, id, className, ariaLabel, styles, role, onClick, dataActionDetail, disabled, isExternalLink, isRelNofollow}) {\n\n if (!children) {\n return null\n }\n\n return (\n <>\n { href && Tag == 'a' ? (\n {children}\n ) : (\n \n {children}\n \n )}\n\n \n )\n}\n\nObLink.propTypes = {\n /**\n * The tag or component to be used e.g. button, a, Link\n */\n tag: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.element,\n PropTypes.func \n ]),\n\n /** Children is the text button */\n children: PropTypes.node,\n\n /** Link */\n href: PropTypes.string,\n\n /** Custom class. */\n className: PropTypes.string,\n\n /** Custom aria-label. */\n ariaLabel: PropTypes.any,\n\n /** Analytics data action event */\n dataActionDetail: PropTypes.string,\n\n /** Custom ID. */\n id: PropTypes.string,\n\n /** Custom styles to be applied to the link */\n styles: PropTypes.object,\n\n icon: PropTypes.string,\n\n role: PropTypes.string,\n \n disabled: PropTypes.string,\n\n onClick: PropTypes.any,\n\n isExternalLink: PropTypes.bool,\n\n isRelNofollow: PropTypes.bool,\n}\n\nObLink.defaultProps = {\n tag: 'a',\n styles: {}\n}\n\n\nexport default ObLink\n\n","\"use strict\";\n(self[\"webpackChunk_N_E\"] = self[\"webpackChunk_N_E\"] || []).push([[1769,2854],{\n\n/***/ 61769:\n/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {\n\n__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(67294);\n/* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(41664);\n/* harmony import */ var next_link__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(next_link__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(85893);\n\n\n\n\n\nfunction ObLink(_ref) {\n var children = _ref.children,\n Tag = _ref.tag,\n href = _ref.href,\n id = _ref.id,\n className = _ref.className,\n ariaLabel = _ref.ariaLabel,\n styles = _ref.styles,\n role = _ref.role,\n onClick = _ref.onClick,\n dataActionDetail = _ref.dataActionDetail,\n disabled = _ref.disabled,\n isExternalLink = _ref.isExternalLink,\n isRelNofollow = _ref.isRelNofollow;\n\n if (!children) {\n return null;\n }\n\n return /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.Fragment, {\n children: href && Tag == 'a' ? /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)((next_link__WEBPACK_IMPORTED_MODULE_1___default()), {\n href: href,\n target: isExternalLink ? '_blank' : null,\n rel: isRelNofollow ? 'nofollow' : null,\n className: \"ob-link \".concat(className ? className : ''),\n \"aria-label\": ariaLabel,\n id: id,\n style: styles,\n role: role,\n onClick: onClick,\n \"data-action-detail\": dataActionDetail,\n \"aria-disabled\": disabled,\n children: children\n }) : /*#__PURE__*/(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__.jsx)(Tag, {\n className: \"ob-link \".concat(className ? className : ''),\n \"aria-label\": ariaLabel,\n id: id,\n style: styles,\n role: role,\n onClick: onClick,\n \"data-action-detail\": dataActionDetail,\n children: children\n })\n });\n}\n\nObLink.defaultProps = {\n tag: 'a',\n styles: {}\n};\n/* harmony default export */ __webpack_exports__[\"default\"] = (ObLink);\n\n/***/ })\n\n}]);"],"names":["self","push","__unused_webpack_module","__webpack_exports__","__webpack_require__","r","next_link__WEBPACK_IMPORTED_MODULE_1__","next_link__WEBPACK_IMPORTED_MODULE_1___default","n","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_2__","ObLink","_ref","children","Tag","tag","href","id","className","ariaLabel","styles","role","onClick","dataActionDetail","disabled","isExternalLink","isRelNofollow","jsx","Fragment","target","rel","concat","style","defaultProps"],"sourceRoot":""}