PageSourceSearch

https://www.alexanderswm.co.uk/assets/PartnerBio-UlwpZ1fe.js

js alexanderswm.co.uk collected 2026-10-05 09:54:36 UTC 6,725 bytes, 140 lines download raw bytes

1import{h as e,c as n,b as h,j as t}from"./styledComponents-n4UW4kpA.js";import{g as b,m as s,c as r,h as c,C as $,P as o}from"./index-Dbx1gyta.js";import{a as k}from"./react-C3MRYTMn.js";import{b as p}from"./brandTextCheck-BtVFi4-W.js";import{p as _}from"./imageHelpers-rj6UfTAf.js";import{S as w}from"./SsrLink-B3K7paPT.js";import{T as j}from"./Text-DGc87esK.js";import{P as I}from"./Picture-D6-DCGcV.js";import"./redux-DEt5ekS8.js";import"./index-g6qz2-ej.js";import"./urlHelpers-szXc1bAB.js";import"./useObserver-CZyhJdvV.js";const S=e.div.withConfig({displayName:"PartnerBiostyles__StyledPartnerBio",componentId:"sc-xpesu-0"})(["",""],({theme:i})=>n`
2    background: ${i.colours.background.a};
3  `),B=e.div.withConfig({displayName:"PartnerBiostyles__Wrapper",componentId:"sc-xpesu-1"})(["",";",""],b,({theme:i})=>n`
4    display: flex;
5    flex-wrap: wrap;
6    padding-top: ${i.spacing.outer.small};
7    padding-bottom: ${i.spacing.outer.medium};
8  `),C=e.div.withConfig({displayName:"PartnerBiostyles__Bio",componentId:"sc-xpesu-2"})(["",""],({theme:i,isSpecialisms:a})=>n`
9    flex: 100%;
10    display: flex;
11    flex-wrap: wrap;
12    text-align: center;
13    ${a?"":`border-bottom: 1px solid ${i.colours.accent.keyline}; padding-bottom: 60px;`};
14    ${s(i.breakpoints.a)} {
15      text-align: left;
16    }
17  `),P=e.h2.withConfig({displayName:"PartnerBiostyles__Name",componentId:"sc-xpesu-3"})(["margin-bottom:5px;text-transform:none;display:block;margin-right:0;",";"],({theme:i})=>n`
18    ${i.style.keyline.size!=="0"?`font-size: ${c(i,"fontSize","h2",i.breakpoints.aa)}`:""};
19    ${s(i.breakpoints.a)} {
20      ${i.style.keyline.size!=="0"?`font-size: ${c(i,"fontSize","h2",i.breakpoints.a)}`:""};
21    }
22    ${s(i.breakpoints.ba)} {
23      ${i.style.keyline.size!=="0"?`font-size: ${c(i,"fontSize","h2",i.breakpoints.ba)}`:""};
24    }
25    ${s(i.breakpoints.c)} {
26      margin-right: 10px;
27      margin-bottom: 0;
28      display: inline-block;
29    }
30  `),v=e.div.withConfig({displayName:"PartnerBiostyles__ImageCol",componentId:"sc-xpesu-4"})(["",""],({theme:i})=>n`
31    ${r(12,12,10)};
32    margin: 0 0 20px;
33    display: flex;
34    justify-content: center;
35
36    ${s(i.breakpoints.a)} {
37      ${r(3,12,4)};
38      display: flex;
39      justify-content: flex-end;
40    }
41  `),T=e.div.withConfig({displayName:"PartnerBiostyles__ImageWrapper",componentId:"sc-xpesu-5"})(["",""],({theme:i})=>n`
42    display: block;
43    height: 100%;
44    width: 100%;
45    overflow: hidden;
46    border-radius: ${i.style.radius.avatar};
47    max-width: 140px;
48    max-height: 140px;
49    ${i.style.keyline.size!=="0"?`box-shadow: -${i.style.keyline.size} ${i.style.keyline.size} ${i.colours.accent.keyline};`:`border: 1px solid ${i.colours.accent.keyline};`}
50
51    ${s(i.breakpoints.a)} {
52      max-width: 106px;
53      max-height: 106px;
54      min-height: 106px;
55      min-width: 106px;
56    }
57
58    ${s(i.breakpoints.b)} {
59      max-width: 140px;
60      min-width: 140px;
61      max-height: 140px;
62      min-height: 140px;
63    }
64
65    img {
66      width: 100%;
67    }
68  `),N=e.span.withConfig({displayName:"PartnerBiostyles__TitleWrapper",componentId:"sc-xpesu-6"})(["display:block;margin-bottom:15px;"]),z=e.div.withConfig({displayName:"PartnerBiostyles__BioContent",componentId:"sc-xpesu-7"})(["",""],({theme:i})=>n`
69    ${r(12,12,0)};
70
71    ${s(i.breakpoints.a)} {
72      ${r(8,12,0)};
73      padding: 0;
74    }
75  `),L=e.h5.withConfig({displayName:"PartnerBiostyles__Qualifications",componentId:"sc-xpesu-8"})(["",";display:inline;margin-bottom:0;"],({theme:i})=>n`
76    color: ${i.style.keyline.size!=="0"?`${i.colours.text.heading}`:`${i.colours.text.tertiary}`};
77  `),W=e.blockquote.withConfig({displayName:"PartnerBiostyles__About",componentId:"sc-xpesu-9"})(["margin:0;"]),M=e.div.withConfig({displayName:"PartnerBiostyles__Services",componentId:"sc-xpesu-10"})(["",""],({theme:i,noSpecialisms:a})=>n`
78    flex: 0 0 100%;
79    display: flex;
80    flex-wrap: wrap;
81    margin: ${a?"0":"30px 0 0"};
82    text-align: center;
83    ${s(i.breakpoints.a)} {
84      text-align: left;
85    }
86
87    padding-bottom: 30px;
88    border-bottom: 1px solid ${i.colours.accent.keyline};
89  `),H=e.div.withConfig({displayName:"PartnerBiostyles__ServicesTitleWrapper",componentId:"sc-xpesu-11"})(["",""],({theme:i})=>n`
90    ${r(12,12,0)};
91    margin: 0 0 20px;
92    ${s(i.breakpoints.a)} {
93      text-align: right;
94      margin: 0;
95      ${r(3,12,0)};
96    }
97  `),A=e.h5.withConfig({displayName:"PartnerBiostyles__ServicesTitle",componentId:"sc-xpesu-12"})(["margin-top:2px;margin-bottom:0;margin-right:-5px;"]),E=e.ul.withConfig({displayName:"PartnerBiostyles__ServicesList",componentId:"sc-xpesu-13"})([""," li a{","}"],({theme:i})=>n`
98    ${r(12,12)};
99    margin: 0;
100    list-style: none;
101    display: flex;
102    flex-wrap: wrap;
103    justify-content: center;
104    -ms-flex-pack: justify;
105    ${s(i.breakpoints.a)} {
106      ${r(9,12,0,0)};
107      display: flex;
108      justify-content: left;
109      -ms-flex-pack: start;
110    }
111
112    li {
113      padding: 0 10px;
114      margin: 0 0 20px;
115
116      &:first-child {
117        padding-left: 0;
118      }
119
120      span {
121        font-size: ${c(i,"fontSize","bodyLarge")};
122        color: ${i.colours.text.tertiary};
123        text-decoration: none;
124        padding: 5px;
125      }
126
127      a {
128        color: ${i.colours.text.tertiary};
129        text-decoration: none;
130        padding: 5px;
131
132        &:hover {
133          color: ${i.colours.link.default};
134          background-color: ${i.colours.background.c};
135          border-radius: 2px;
136        }
137      }
138    }
139  `,$),Q=({image:i,name:a,qualifications:d,about:x,specialismsLabel:f,specialisms:l})=>(k.useContext(h),t.jsx(S,{children:t.jsxs(B,{children:[t.jsxs(C,{isSpecialisms:!!l,children:[t.jsx(v,{children:t.jsx(T,{children:i&&i.url?t.jsx(I,{url:i==null?void 0:i.url,alt:i==null?void 0:i.altText,ratio:[1,1]}):t.jsx("img",{src:_.person,alt:"partner placeholder"})})}),t.jsxs(z,{children:[t.jsxs(N,{children:[a&&t.jsx(P,{dangerouslySetInnerHTML:{__html:p(a)}}),d&&t.jsx(L,{dangerouslySetInnerHTML:{__html:p(d)}})]}),x&&t.jsx(W,{children:t.jsx(j,{children:x})})]})]}),l&&t.jsx(M,{noSpecialisms:l.length<1,children:l.length>0&&t.jsxs(t.Fragment,{children:[t.jsx(H,{children:t.jsx(A,{dangerouslySetInnerHTML:{__html:p(f)}})}),t.jsx(E,{children:l.map(({text:y,target:u,url:g},m)=>g?t.jsx("li",{children:t.jsx(w,{href:g,target:u,children:t.jsx("span",{dangerouslySetInnerHTML:{__html:p(y)}})})},m):t.jsx("li",{children:t.jsx("span",{dangerouslySetInnerHTML:{__html:p(y)}})},m))})]})})]})}));Q.propTypes={image:o.shape({url:o.string,altText:o.string}
139),name:o.string,qualifications:o.string,about:o.string,specialismsLabel:o.string,specialisms:o.array};export{Q as default};
140//# sourceMappingURL=PartnerBio-UlwpZ1fe.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.