{"version":3,"file":"TrustedBy.3CGhDYRP.mjs","names":["React.useState"],"sources":["https:/framerusercontent.com/modules/dnhSsDsOWZND9k6DRgEo/owVWzGxTQVSYT3ISj6Dd/clients.js","https:/framerusercontent.com/modules/rLZAgcXoMjnFG4V6VbNq/qSmKDhcGfBTIICz4TJCX/TrustedBy.js"],"sourcesContent":["// Client logos for \"Trusted by\" (current clients, approved; CLAUDE.md). The files in assets/Client Logos are white\n// single-colour marks, cropped to their edges and uploaded to Framer; they are shown inverted to greyscale.\n// British Gas represents Centrica. Clients without a logo file are not shown until one is supplied.\n// r = width / height of the cropped file.\n// h = desktop height in px, set by visual weight (dense marks smaller, light marks larger), not equal height.\nexport const CLIENT_LOGOS=[{name:\"British Gas\",src:\"https://framerusercontent.com/images/J1VqHiduLW5WJkP62gszJytbNw.png?scale-down-to=512\",r:794/309,h:34},{name:\"TSB\",src:\"https://framerusercontent.com/images/30ucO84DnrQZUnUrN7JPlVuXMM.png?scale-down-to=512\",r:798/293,h:24},{name:\"OVO\",src:\"https://framerusercontent.com/images/IfAK7lxmgdUUTwLtkvfmXJKX1w.png?scale-down-to=512\",r:1,h:34},{name:\"Welsh Water\",src:\"https://framerusercontent.com/images/oZNk07EDjU7gmumxROFDdK9huQ.png?scale-down-to=512\",r:564/139,h:30},{name:\"Next\",src:\"https://framerusercontent.com/images/KQZ7jJdmB6BUh20Yk6lEKfE6BHU.png?scale-down-to=512\",r:905/206,h:20}];\nexport const __FramerMetadata__ = {\"exports\":{\"CLIENT_LOGOS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./clients.map","// \"Trusted by\" logo strip (Home, directly under the hero; Contact, near the form).\n// Logos only, one grey tone at about 70% opacity, sized by visual weight (site/clients.ts) and spread across the\n// full width on desktop under a centred label; scaled down on phones into two centred rows. Still: no scrolling.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{CLIENT_LOGOS}from\"https://framerusercontent.com/modules/dnhSsDsOWZND9k6DRgEo/owVWzGxTQVSYT3ISj6Dd/clients.js\";import{Css,Rise,Shell,useMeasure,useStill,LAYOUT_W_CONTROL,lw}from\"https://framerusercontent.com/modules/61YXww0YSbehJLdVTN7C/xytgdOzwgXYHyvvyqgjJ/motion.js\";import{HAIR,INK3,PAPER,SANS}from\"https://framerusercontent.com/modules/jJQJadxiyfiEQ1dJxBbB/6VEtEBxp9IBw73pQJbVS/tokens.js\";function Logo({l,scale}){const[h,setH]=React.useState(false);const height=Math.round(l.h*scale);return /*#__PURE__*/_jsx(\"img\",{src:l.src,alt:l.name,loading:\"lazy\",onMouseEnter:()=>setH(true),onMouseLeave:()=>setH(false),style:{display:\"block\",height,width:Math.round(height*l.r),objectFit:\"contain\",filter:\"invert(1) grayscale(1)\",opacity:h?.9:.7,transition:\"opacity .25s ease\"}});}/** @framerSupportedLayoutWidth any-prefer-fixed\n *  @framerSupportedLayoutHeight auto\n *  @framerIntrinsicWidth 1200 */export function TrustedBy(props){const{label=\"Trusted by\",divider=true}=props;const{still}=useStill();const{ref,w}=useMeasure(lw(props));const compact=w<760;// phones: 22-26px (scaled from 28-32px) so five logos fall into two tidy rows\nconst scale=w<480?.8:compact?.9:1;return /*#__PURE__*/_jsxs(\"div\",{ref:ref,style:{width:\"100%\",background:PAPER,fontFamily:SANS},children:[/*#__PURE__*/_jsx(Css,{}),/*#__PURE__*/_jsx(Shell,{compact:compact,pad:\"8px 40px 40px\",padM:\"4px 20px 32px\",children:/*#__PURE__*/_jsx(Rise,{still:still,children:/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",alignItems:\"center\",gap:compact?16:22,paddingTop:divider?compact?24:28:0,borderTop:divider?`1px solid ${HAIR}`:\"none\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:14,color:INK3,whiteSpace:\"nowrap\",flexShrink:0},children:label}),/*#__PURE__*/_jsx(\"div\",{role:\"list\",\"aria-label\":label,style:{display:\"flex\",flexWrap:\"wrap\",alignItems:\"center\",justifyContent:compact?\"center\":\"space-between\",gap:compact?\"18px 28px\":\"20px 32px\",width:compact?undefined:\"100%\",maxWidth:compact?280:undefined},children:CLIENT_LOGOS.map(l=>/*#__PURE__*/_jsx(\"div\",{role:\"listitem\",children:/*#__PURE__*/_jsx(Logo,{l:l,scale:scale})},l.name))})]})})})]});}addPropertyControls(TrustedBy,{layoutWidth:LAYOUT_W_CONTROL,label:{type:ControlType.String,title:\"Label\",defaultValue:\"Trusted by\"},divider:{type:ControlType.Boolean,title:\"Divider\",defaultValue:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"TrustedBy\":{\"type\":\"reactComponent\",\"name\":\"TrustedBy\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TrustedBy.map"],"mappings":"mUAKa,EAAa,CAAC,CAAC,KAAK,cAAc,IAAI,wFAAwF,EAAE,IAAI,IAAI,EAAE,EAAE,EAAE,CAAC,KAAK,MAAM,IAAI,wFAAwF,EAAE,IAAI,IAAI,EAAE,EAAE,EAAE,CAAC,KAAK,MAAM,IAAI,wFAAwF,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,KAAK,cAAc,IAAI,wFAAwF,EAAE,IAAI,IAAI,EAAE,EAAE,EAAE,CAAC,KAAK,OAAO,IAAI,yFAAyF,EAAE,IAAI,IAAI,EAAE,EAAE,CAAC,KCFtG,SAAS,EAAK,CAAC,IAAE,SAAO,CAAC,GAAK,CAAC,EAAE,GAAMA,EAAe,EAAK,EAAQ,EAAO,KAAK,MAAM,EAAE,EAAE,CAAK,EAAE,OAAoB,EAAK,MAAM,CAAC,IAAI,EAAE,IAAI,I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