{"version":3,"file":"PRCTA.IQPJrCtw.mjs","names":["p","__esmMin","p","c","init_jsx_runtime","RenderTarget","init_framer_D6uXRwWs","addPropertyControls","ControlType","BASE_CSS","useInView","Arrow","init_PRKit","useReducedMotion","PRCTA","isCanvas","reduced","ref","inView","links","p$1","l","rootClass","CSS","t","h","i","init_PRCTA"],"sources":["https:/framerusercontent.com/modules/EtxtbcpFURMldTuDjkSs/xPMjwwkGJmteimamzyjG/PRCTA.js"],"sourcesContent":["// kit v2\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{BASE_CSS,Arrow,useInView,useReducedMotion,rootClass}from\"https://framerusercontent.com/modules/xJkG9oFOpfljoHTgXcEM/qOYlXHwwFDV9KjUD3uqi/PRKit.js\";const CSS=[\".prc .pr-in{padding-top:40px;padding-bottom:104px}\",\".prc-rel{margin-bottom:72px}\",\".prc-relhead{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:24px}\",\".prc-relhead h2{margin:0;font-size:26px;font-weight:600;letter-spacing:-.03em}\",\".prc-links{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}\",\".prc-link{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:28px;min-height:170px;padding:26px 26px 24px;border-radius:22px;background:#fff;box-shadow:inset 0 0 0 1px var(--line);color:var(--ink);text-decoration:none;overflow:hidden;transition:background .4s ease,color .4s ease,transform .45s cubic-bezier(.2,.8,.2,1),box-shadow .4s ease}\",\".prc-link strong{display:block;font-size:19px;font-weight:600;letter-spacing:-.02em;line-height:1.3}\",\".prc-link span{display:block;margin-top:8px;font-size:14px;line-height:1.55;color:var(--muted);transition:color .4s ease}\",\".prc-go{align-self:flex-end;display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:rgba(11,17,20,.06);transition:background .4s ease,transform .45s cubic-bezier(.2,.8,.2,1)}\",\".prc-link:hover{background:var(--ink);color:#fff;transform:translateY(-4px);box-shadow:0 30px 60px -34px rgba(11,17,20,.5)}\",\".prc-link:hover span{color:rgba(255,255,255,.66)}\",\".prc-link:hover .prc-go{background:var(--lime);color:var(--ink);transform:rotate(-45deg)}\",\".prc-panel{position:relative;overflow:hidden;border-radius:30px;background:linear-gradient(160deg,#111B24 0%,#0B1114 60%,#05080B 100%);color:#fff;padding:80px 72px;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);column-gap:56px;align-items:center}\",\".prc-panel::before{content:'';position:absolute;right:-26%;top:-55%;width:62%;aspect-ratio:1/1;border-radius:50%;box-shadow:inset 0 0 0 1.5px rgba(200,255,34,.45);opacity:0;transform:scale(.7);transition:opacity 1.2s ease .2s,transform 1.6s cubic-bezier(.2,.8,.2,1) .2s}\",\".prc-panel::after{content:'';position:absolute;right:-6%;bottom:-60%;width:70%;height:120%;background:radial-gradient(50% 50% at 50% 50%,rgba(200,255,34,.22),rgba(200,255,34,0) 70%);pointer-events:none}\",\".pr.is-in .prc-panel::before{opacity:1;transform:none}\",\".prc-panel > *{position:relative;z-index:1}\",\".prc-panel .pr-label{color:rgba(255,255,255,.62)}\",\".prc-panel h2{margin:0;font-weight:600;font-size:52px;line-height:1.03;letter-spacing:-.04em;text-wrap:balance}\",\".prc-panel h2 span{display:block;color:var(--lime)}\",\".prc-panel p.sub{margin:20px 0 0;font-size:17px;line-height:1.6;color:rgba(255,255,255,.7);max-width:560px}\",\".prc-acts{display:flex;flex-direction:column;align-items:stretch;gap:12px}\",\".prc-acts .pr-btn{justify-content:center}\",\".prc-acts .pr-btn.ghost{color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.24)}\",\".prc-acts .pr-btn.ghost:hover{background:rgba(255,255,255,.06)}\",\".prc-acc{margin-top:8px;font-size:12px;letter-spacing:.06em;text-align:center;color:rgba(255,255,255,.5)}\",\"@container (max-width:960px){.prc-links{grid-template-columns:minmax(0,1fr)}.prc-link{min-height:0;flex-direction:row;align-items:center}.prc-go{align-self:center;flex:none}.prc-panel{grid-template-columns:minmax(0,1fr);row-gap:36px;padding:60px 44px}.prc-panel h2{font-size:42px}}\",\"@container (max-width:640px){.prc .pr-in{padding-bottom:72px}.prc-rel{margin-bottom:48px}.prc-panel{padding:44px 24px;border-radius:24px}.prc-panel h2{font-size:34px}.prc-panel p.sub{font-size:16px}.prc-link{padding:20px}}\",\"@container (min-width:1440px){.prc .pr-in{padding-top:2.8cqw;padding-bottom:6cqw}.prc-rel{margin-bottom:5cqw}.prc-relhead h2{font-size:1.8cqw}.prc-relhead{margin-bottom:1.67cqw}.prc-links{gap:.97cqw}.prc-link{min-height:11.8cqw;padding:1.8cqw;border-radius:1.53cqw}.prc-link strong{font-size:1.32cqw}.prc-link span{font-size:.97cqw}.prc-go{width:3.05cqw;height:3.05cqw}.prc-panel{padding:5.5cqw 5cqw;border-radius:2.1cqw;column-gap:3.9cqw}.prc-panel h2{font-size:3.6cqw}.prc-panel p.sub{font-size:1.18cqw;max-width:39cqw;margin-top:1.4cqw}.prc-acts{gap:.83cqw}.prc-acc{font-size:.83cqw}}\"].join(\"\\n\");/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 1200\n */export default function PRCTA(p){const isCanvas=RenderTarget.current()===RenderTarget.canvas;const reduced=useReducedMotion();const[ref,inView]=useInView(isCanvas);const links=[[p.link1Label,p.link1Text,p.link1Href],[p.link2Label,p.link2Text,p.link2Href],[p.link3Label,p.link3Text,p.link3Href]].filter(l=>l[0]);return /*#__PURE__*/_jsxs(\"section\",{ref:ref,className:rootClass(\"prc\",inView,reduced||isCanvas),style:{...p.style,background:p.background},children:[/*#__PURE__*/_jsx(\"style\",{children:BASE_CSS+\"\\n\"+CSS}),/*#__PURE__*/_jsxs(\"div\",{className:\"pr-in\",children:[links.length?/*#__PURE__*/_jsxs(\"div\",{className:\"prc-rel\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"prc-relhead pr-rv\",children:/*#__PURE__*/_jsx(\"h2\",{children:p.relatedTitle})}),/*#__PURE__*/_jsx(\"div\",{className:\"prc-links\",children:links.map(([l,t,h],i)=>/*#__PURE__*/_jsxs(\"a\",{className:\"prc-link pr-rv\",href:h,style:{[\"--rd\"]:`${.06+i*.08}s`},children:[/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"strong\",{children:l}),t?/*#__PURE__*/_jsx(\"span\",{children:t}):null]}),/*#__PURE__*/_jsx(\"i\",{className:\"prc-go\",children:/*#__PURE__*/_jsx(Arrow,{size:18})})]},i))})]}):null,/*#__PURE__*/_jsxs(\"div\",{className:\"prc-panel pr-rv\",style:{[\"--rd\"]:\".1s\"},children:[/*#__PURE__*/_jsxs(\"div\",{children:[p.eyebrow?/*#__PURE__*/_jsxs(\"p\",{className:\"pr-label\",children:[/*#__PURE__*/_jsx(\"i\",{}),p.eyebrow]}):null,/*#__PURE__*/_jsxs(\"h2\",{children:[p.title1,p.title2?/*#__PURE__*/_jsx(\"span\",{children:p.title2}):null]}),p.sub?/*#__PURE__*/_jsx(\"p\",{className:\"sub\",children:p.sub}):null]}),/*#__PURE__*/_jsxs(\"div\",{className:\"prc-acts\",children:[p.primary?/*#__PURE__*/_jsxs(\"a\",{className:\"pr-btn lime\",href:p.primaryLink,children:[p.primary,/*#__PURE__*/_jsx(Arrow,{})]}):null,p.secondary?/*#__PURE__*/_jsx(\"a\",{className:\"pr-btn ghost\",href:p.secondaryLink,children:p.secondary}):null,p.accreditation?/*#__PURE__*/_jsx(\"div\",{className:\"prc-acc\",children:p.accreditation}):null]})]})]})]});}PRCTA.defaultProps={relatedTitle:\"Explore more\",link1Label:\"Commercial solar panels\",link1Text:\"How a tailored system could cut your energy costs.\",link1Href:\"/sectors/commercial-solar-panels\",link2Label:\"Case studies\",link2Text:\"Real sites with projected savings and payback.\",link2Href:\"/case-studies/casestudy\",link3Label:\"Our process\",link3Text:\"From first survey to switch-on, step by step.\",link3Href:\"/process\",eyebrow:\"Ready when you are\",title1:\"See what solar could\",title2:\"do for your business.\",sub:\"Tell us about your site and we’ll send a free tailored proposal with projected savings, payback and finance options.\",primary:\"Get your free proposal\",primaryLink:\"/contact\",secondary:\"Call 0800 043 6000\",secondaryLink:\"tel:08000436000\",accreditation:\"MCS \\xb7 NICEIC \\xb7 TSI Approved Code \\xb7 SolarEdge\",background:\"#FFFFFF\"};addPropertyControls(PRCTA,{relatedTitle:{type:ControlType.String,title:\"Related title\"},link1Label:{type:ControlType.String,title:\"Link 1\"},link1Text:{type:ControlType.String,title:\"Link 1 text\"},link1Href:{type:ControlType.String,title:\"Link 1 href\"},link2Label:{type:ControlType.String,title:\"Link 2\"},link2Text:{type:ControlType.String,title:\"Link 2 text\"},link2Href:{type:ControlType.String,title:\"Link 2 href\"},link3Label:{type:ControlType.String,title:\"Link 3\"},link3Text:{type:ControlType.String,title:\"Link 3 text\"},link3Href:{type:ControlType.String,title:\"Link 3 href\"},eyebrow:{type:ControlType.String,title:\"Eyebrow\"},title1:{type:ControlType.String,title:\"Title\"},title2:{type:ControlType.String,title:\"Title (lime)\"},sub:{type:ControlType.String,title:\"Text\",displayTextArea:true},primary:{type:ControlType.String,title:\"CTA\"},primaryLink:{type:ControlType.String,title:\"CTA link\"},secondary:{type:ControlType.String,title:\"CTA 2\"},secondaryLink:{type:ControlType.String,title:\"CTA 2 link\"},accreditation:{type:ControlType.String,title:\"Small print\"},background:{type:ControlType.Color,title:\"Background\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"PRCTA\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"1200\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./PRCTA.map"],"mappings":"A,0PAKG,SAAwBc,EAAM,EAAE,CAAC,IAAMC,EAASV,EAAa,QAAQ,IAAIA,EAAa,OA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