"use strict";(("undefined"!=typeof self?self:global).webpackChunkclient_web=("undefined"!=typeof self?self:global).webpackChunkclient_web||[]).push([[3224],{43224:(e,n,t)=>{t.r(n),t.d(n,{ContextAdLink:()=>i,default:()=>c});var r=t(41978),a=t(61544),o=t(56105),l=t(21441),d=t(86070);const s=({href:e,adEventReason:n,...t})=>{const a=(0,r.wA)();return(0,d.jsx)("a",{...t,href:e,onClick:()=>{a((0,l.q5)(n))},target:"_blank",rel:"noopener noreferrer",children:t.children})},f=({href:e,adEventReason:n,...t})=>e?(0,d.jsx)(s,{...t,href:e,adEventReason:n}):(0,d.jsx)("div",{...t}),i=({item:e,adEventReason:n,...t})=>(0,d.jsx)(f,{...t,adEventReason:n,"data-testid":"context-link","data-context-item-type":e.type,style:{border:"none"},href:(n=>{if(n)return(0,a.o_)(n)?e.url?(0,o.H)(e.url):void 0:n})(e.url)}),c=i}}]); //# sourceMappingURL=3224.js.map