import*as e from"../../../frontend-js-react-web/__liferay__/exports/classnames.js";import*as t from"../../../frontend-js-react-web/__liferay__/exports/react.js";var r={764:(u,d,c)=>{Object.defineProperty(d,"__esModule",{value:!0}),d.default=void 0;var s=function _interopRequireDefault(u){return u&&u.__esModule?u:{default:u}}(c(421)).default.createContext("a");s.displayName="ClayLinkContext";var f=s;d.default=f},238:u=>{u.exports=e},421:u=>{u.exports=t}},n={};function __webpack_require__(u){var d=n[u];if(void 0!==d)return d.exports;var c=n[u]={exports:{}};return r[u](c,c.exports,__webpack_require__),c.exports}var o={};(()=>{var u=o;Object.defineProperty(u,"X$",{value:!0}),Object.defineProperty(u,"ju",{enumerable:!0,get:function get(){return s.default}}),u.ZP=void 0;var d=_interopRequireDefault(__webpack_require__(238)),c=_interopRequireDefault(__webpack_require__(421)),s=_interopRequireDefault(__webpack_require__(764)),f=["block","borderless","button","children","className","decoration","displayType","fontSize","monospaced","outline","rel","small","target","weight"];function _interopRequireDefault(u){return u&&u.__esModule?u:{default:u}}function _extends(){return(_extends=Object.assign?Object.assign.bind():function(u){for(var d=1;d<arguments.length;d++){var c=arguments[d];for(var s in c)Object.prototype.hasOwnProperty.call(c,s)&&(u[s]=c[s])}return u}).apply(this,arguments)}function _defineProperty(u,d,c){return d in u?Object.defineProperty(u,d,{value:c,enumerable:!0,configurable:!0,writable:!0}):u[d]=c,u}var p={danger:{base:"c-link text-danger",decoration:"underline"},primary:{base:"c-link link-primary",decoration:"underline"},secondary:{base:"c-link link-secondary",decoration:"underline"},tertiary:{base:"c-link text-tertiary",decoration:null},unstyled:{base:"link-unstyled",decoration:null}},_={normal:"font-weight-normal","semi-bold":"font-weight-semi-bold"},b=c.default.forwardRef((function(u,b){var y,m,v,k,x,P=u.block,g=u.borderless,j=u.button,w=u.children,O=u.className,h=u.decoration,q=u.displayType,C=u.fontSize,R=u.monospaced,D=u.outline,N=u.rel,L=u.small,M=u.target,S=u.weight,Z=function _objectWithoutProperties(u,d){if(null==u)return{};var c,s,f=function _objectWithoutPropertiesLoose(u,d){if(null==u)return{};var c,s,f={},p=Object.keys(u);for(s=0;s<p.length;s++)c=p[s],d.indexOf(c)>=0||(f[c]=u[c]);return f}(u,d);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(u);for(s=0;s<p.length;s++)c=p[s],d.indexOf(c)>=0||Object.prototype.propertyIsEnumerable.call(u,c)&&(f[c]=u[c])}return f}(u,f),z=c.default.useContext(s.default);return j?(_defineProperty(m={btn:!!(j=!0===j?{}:j),"btn-block":j.block||P,"btn-monospaced":j.monospaced||R,"btn-outline-borderless":g,"btn-sm":j.small||L},"btn-".concat(q),q&&!D&&!g),_defineProperty(m,"btn-outline-".concat(q),q&&(D||g)),_defineProperty(m,_[S],S),_defineProperty(m,"text-".concat(C),C),_defineProperty(m,"text-decoration-".concat(h),h),y=m):(h=null===h||D?void 0:h||(null===(v=p[q])||void 0===v?void 0:v.decoration),_defineProperty(x={"link-monospaced":R,"link-outline":D,"link-outline-borderless":g},null===(k=p[q])||void 0===k?void 0:k.base,q&&!D),_defineProperty(x,"link-outline-".concat(q),q&&D),_defineProperty(x,_[S],S),_defineProperty(x,"text-".concat(C),C),_defineProperty(x,"text-decoration-".concat(h),h),y=x),M&&!N&&(N="noreferrer noopener"),c.default.createElement(z,_extends({className:(0,d.default)(O,y),ref:b,rel:N,target:M},Z),w)}));b.displayName="ClayLink";var y=b;u.ZP=y})();var a=o.ju,i=o.X$,l=o.ZP;export{a as ClayLinkContext,i as __esModule,l as default};
//# sourceMappingURL=@clayui$link.js.map