PageSourceSearch

https://www.m-wealth.co.uk/assets/ContactCard-5ocga3K9.js

js m-wealth.co.uk collected 2026-10-09 00:40:33 UTC 2,133 bytes, 2 lines download raw bytes

1import{h as c,c as s,j as n}from"./styledComponents-n4UW4kpA.js";import{u as m,a as f}from"./redux-DEt5ekS8.js";import{g,c as u,m as y,j as p,i as d,O as x}from"./index-Dbx1gyta.js";import{c as h}from"./buttons.styles-ClYbUcfj.js";import{b as j}from"./brandTextCheck-BtVFi4-W.js";import{I as _}from"./Icon-CkZJfHnP.js";import{S as v}from"./SsrLink-B3K7paPT.js";import"./react-C3MRYTMn.js";import"./polished.esm-CYsXSD1d.js";import"./index-g6qz2-ej.js";import"./urlHelpers-szXc1bAB.js";const k=c.div.withConfig({displayName:"ContactCardstyles__StyledContactCard",componentId:"sc-1ja45o1-0"})(["",""],({theme:a})=>s(["background:",";"],a.colours.background.a)),b=c.div.withConfig({displayName:"ContactCardstyles__ContactCardContainer",componentId:"sc-1ja45o1-1"})([""," ",""],g,({theme:a})=>s(["position:relative;padding-bottom:",";display:flex;justify-content:center;"],a.spacing.outer.large)),w=c.div.withConfig({displayName:"ContactCardstyles__ContactCardWrapper",componentId:"sc-1ja45o1-2"})(["",""],({theme:a})=>s(["","{"," padding:0;}display:flex;justify-content:center;flex-wrap:wrap;position:relative;text-align:center;"],y(a.breakpoints.a),u(10,12,0))),L=c.div.withConfig({displayName:"ContactCardstyles__ContactLink",componentId:"sc-1ja45o1-3"})(["display:inline-block;a{","}"],h),B=({contact:a})=>{const l=m(t=>{var e,r,o,i;return((i=(o=(r=(e=t==null?void 0:t.page)==null?void 0:e.pageData)==null?void 0:r.context)==null?void 0:o.content)==null?void 0:i.path)||""}),C=f();return n.jsx(k,{children:n.jsx(b,{children:n.jsx(w,{children:a&&a.map((t,e)=>n.jsx(L,{children:n.jsxs(v,{onClick:r=>{const{icon:o,url:i}=t;p[o]&&d(p[o],{position:l.includes("contact")?"contact us page":"profile page top",contact_detail:o==="phone"||o==="mobile"?i:void 0}),t.icon==="email"&&d("form_view",{form_step:"overview"}),i.toLowerCase().includes("#contactformoverlay")&&(r.preventDefault(),C({type:x}))},href:t.url,target:t.target,isContactLink:!0,children:[n.jsx(_,{icon:t.icon,marginRight:"5px"}),n.jsx("span",{dangerouslySetInnerHTML:{__html:j(t.text)}})]})},e))})})})};export{B as default};
2//# sourceMappingURL=ContactCard-5ocga3K9.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.