"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["Link-public"],{Y2m9:function(e,n,a){a.r(n),a.d(n,{default:function(){return p}});var l=a("LpH3"),t=a("FG1g"),o={name:"1m7okhr-LinkModalCSS",styles:"text-decoration:none;display:block;&:hover{cursor:pointer;};label:LinkModalCSS;"},i=function(e){var n=e.children,a=(0,t.V)(),i=o;return(0,l.tZ)("a",{href:"#!",onClick:function(){shopwp.misc.isPro&&a({type:"TOGGLE_MODAL",payload:!0})},css:i,className:"wps-link-modal"},n)},r=a("iPOl"),s={name:"rj311j-linkCSS",styles:"text-decoration:none;display:block;.wps-product-image{&:hover{cursor:pointer;}};label:linkCSS;"},c=function(e){var n=e.type,a=e.payload,t=e.linkTo,o=e.manualLink,i=e.target,c=e.classNames,p=e.children,k="wps-"+n+"-link "+c,u=s;return(0,l.tZ)("a",{href:wp.hooks.applyFilters("misc.linkHref",o?encodeURI(o):(0,r.vp)(a,n,t),t),className:k,css:u,"aria-label":"Product Link",target:wp.hooks.applyFilters("misc.linkTarget",function(e){return e||"_blank"}(i),n,a)},p)},p=function(e){var n=e.type,a=e.payload,l=e.classNames,t=void 0===l?"":l,o=e.target,r=e.children,s=e.linkTo,p=void 0===s?"none":s,k=e.manualLink;return e.disableLink?r:"none"!==p||k?"modal"===p?React.createElement(i,null,r):React.createElement(c,{type:n,payload:a,linkTo:p,manualLink:k,target:o,classNames:t},r):r}}}]);