{"version":3,"file":"SolarFinanceSection.scUM1tIL.mjs","names":["useRef","useState","useMemo","__esmMin","init_ssg_sandbox_shims","pe","init_npm_react_18_3_1","_e","p","ce","de","window","useReducedMotion","init_framer_motion_DhsWWWsN","RenderTarget","init_framer_CN96F41L","addPropertyControls","ControlType","P","OX","x","y","CO","U","OY","SI","z","poly","cls","pts","line","a","b","ringPath","i","BL","r","BW","buildScene","o","c","BH","x0","x1","y0","xa","xb","g","glow","cells","edges","y1","cw","ch","j","yy0","yy1","s","sx","sy","right","SolarFinanceSection","props","HZ","horizonYears","financeYears","S12","savings","upfrontCost","reduce","target","still","rootRef","svgRef","playRaf","opt","setOpt","year","setYear","on","setOn","playing","setPlaying","hinted","setHinted","hovering","setHovering","chartRef","hoverRef","scene","isFin","R12","repayments","cash","NZ","ms","total","isAfter","pct","byLabel","status","fmt","capText","rows","yrs","ring","len","el","io","es","stop","raf","cur","tick","vh","next","prev","onMove","onLeave","payYear","n","saveYear","upMax","dnMax","gy","v","zeroY","slot","bw","clamp01","bars","uh","dh","markX","pointYear","svg","onChartMove","onChartLeave","guideX","markText","msText","gap","ticks","split","accent","style","CSS","titleLine1","titleLine2","subtitle","init_SolarFinanceSection","init_jsx_runtime"],"sources":["https:/framerusercontent.com/modules/E7sOnN3KFtErKs7S5fca/nfBNWM9nxb8wAYaQxrW1/SolarFinanceSection.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useMemo,useRef,useState}from\"react\";import{useReducedMotion}from\"framer-motion\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";// ---------- isometric warehouse, drawn as SVG ----------\nconst U=34,CO=.8660254,SI=.5,OX=300,OY=150,BL=11,BW=6.5,BH=2.6;function P(x,y,z=0){return[OX+(x-y)*CO*U,OY+(x+y)*SI*U-z*U];}function poly(pts,cls){return'<polygon class=\"'+cls+'\" points=\"'+pts.map(p=>p[0].toFixed(1)+\",\"+p[1].toFixed(1)).join(\" \")+'\"></polygon>';}function line(a,b,cls){return'<line class=\"'+cls+'\" x1=\"'+a[0].toFixed(1)+'\" y1=\"'+a[1].toFixed(1)+'\" x2=\"'+b[0].toFixed(1)+'\" y2=\"'+b[1].toFixed(1)+'\"></line>';}function ringPath(r){const pts=[];for(let i=0;i<=360;i+=3){const a=i*Math.PI/180;const p=P(BL/2+r*Math.cos(a),BW/2+r*Math.sin(a));pts.push(p[0].toFixed(1)+\" \"+p[1].toFixed(1));}return\"M\"+pts.join(\" L\")+\" Z\";}function buildScene(){const o=[];const c=P(BL/2,BW/2,0);o.push('<ellipse class=\"pgf-shadow\" cx=\"'+(c[0]+10).toFixed(1)+'\" cy=\"'+(c[1]+10).toFixed(1)+'\" rx=\"300\" ry=\"150\"></ellipse>');o.push('<path class=\"pgf-ring2\" d=\"'+ringPath(6.5)+'\"></path><path class=\"pgf-ring\" d=\"'+ringPath(7)+'\"></path>');o.push(poly([P(0,BW),P(BL,BW),P(BL,BW,BH),P(0,BW,BH)],\"pgf-wa\"));o.push(poly([P(BL,0),P(BL,BW),P(BL,BW,BH),P(BL,0,BH)],\"pgf-wb\"));for(let i=1;i<BL/.5;i++)o.push(line(P(i*.5,BW,0),P(i*.5,BW,BH),\"pgf-wl\"));for(let i=1;i<BW/.5;i++)o.push(line(P(BL,i*.5,0),P(BL,i*.5,BH),\"pgf-wl\"));[[1.1,2.7],[3.5,5.1],[5.9,7.5]].forEach(([x0,x1])=>{o.push(poly([P(x0,BW,0),P(x1,BW,0),P(x1,BW,1.75),P(x0,BW,1.75)],\"pgf-door\"));for(let z=.18;z<1.75;z+=.18)o.push(line(P(x0,BW,z),P(x1,BW,z),\"pgf-slat\"));});o.push(poly([P(8.6,BW,0),P(9.3,BW,0),P(9.3,BW,1.15),P(8.6,BW,1.15)],\"pgf-door\"));[.7,2.1,3.5,4.9].forEach(y0=>o.push(poly([P(BL,y0,1.55),P(BL,y0+1,1.55),P(BL,y0+1,2.1),P(BL,y0,2.1)],\"pgf-win\")));const t=.14;o.push(poly([P(0,BW,BH),P(BL,BW,BH),P(BL,BW,BH+t),P(0,BW,BH+t)],\"pgf-re\"));o.push(poly([P(BL,0,BH),P(BL,BW,BH),P(BL,BW,BH+t),P(BL,0,BH+t)],\"pgf-re\"));o.push(poly([P(0,0,BH+t),P(BL,0,BH+t),P(BL,BW,BH+t),P(0,BW,BH+t)],\"pgf-roof\"));const z=BH+t+.02,xa=.8,xb=10.2,nx=16,ny=2,g=.035;const glow=[],cells=[],edges=[];[[.5,1.9],[2.55,3.95],[4.6,6]].forEach(([y0,y1])=>{glow.push(poly([P(xa-.25,y0-.25,z),P(xb+.25,y0-.25,z),P(xb+.25,y1+.25,z),P(xa-.25,y1+.25,z)],\"pgf-sg\"));cells.push(poly([P(xa,y0,z),P(xb,y0,z),P(xb,y1,z),P(xa,y1,z)],\"pgf-sb\"));const cw=(xb-xa)/nx,ch=(y1-y0)/ny;for(let i=0;i<nx;i++)for(let j=0;j<ny;j++){const x0=xa+i*cw+g,yy0=y0+j*ch+g,x1=xa+(i+1)*cw-g,yy1=y0+(j+1)*ch-g;cells.push(poly([P(x0,yy0,z),P(x1,yy0,z),P(x1,yy1,z),P(x0,yy1,z)],\"pgf-cell\"));}edges.push(poly([P(xa,y0,z),P(xb,y0,z),P(xb,y1,z),P(xa,y1,z)],\"pgf-se\"));});o.push(...glow,...cells,...edges);const s=P(5.6,.2,z),jy=34;const sx=s[0].toFixed(1),sy=s[1].toFixed(1);const right=\"M\"+sx+\" \"+sy+\" L\"+sx+\" \"+(jy+26)+\" Q\"+sx+\" \"+jy+\" \"+(s[0]+26).toFixed(1)+\" \"+jy+\" L760 \"+jy;o.push('<path class=\"pgf-wire\" d=\"'+right+'\"></path><path class=\"pgf-live\" d=\"'+right+'\"></path>');o.push('<circle class=\"pgf-node\" cx=\"'+sx+'\" cy=\"'+sy+'\" r=\"5\"></circle><circle class=\"pgf-led\" cx=\"'+sx+'\" cy=\"'+sy+'\" r=\"2.2\"></circle>');return'<defs><filter id=\"pgfBlur\" x=\"-20%\" y=\"-60%\" width=\"140%\" height=\"220%\"><feGaussianBlur stdDeviation=\"9\"></feGaussianBlur></filter>'+'<radialGradient id=\"pgfShadow\"><stop offset=\"0\" stop-color=\"#0B1114\" stop-opacity=\"0.12\"></stop><stop offset=\"1\" stop-color=\"#0B1114\" stop-opacity=\"0\"></stop></radialGradient></defs>'+o.join(\"\");}// ---------- styles ----------\nconst CSS=[\".pgf{container-type:inline-size;width:100%;background:#fff;color:#0B1114;font-family:Inter,system-ui,sans-serif;-webkit-font-smoothing:antialiased;overflow:hidden}\",\".pgf *{box-sizing:border-box}\",\".pgf button{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;text-align:inherit}\",\".pgf a:focus-visible,.pgf button:focus-visible{outline:2px solid #3D7000;outline-offset:4px;border-radius:4px}\",\".pgf-in{max-width:1240px;margin:0 auto;padding:104px 56px 96px}\",\".pgf-h2{font-weight:600;font-size:52px;line-height:1.02;letter-spacing:-.04em;margin:0}\",\".pgf-h2 span{color:#A9B2B5}\",\".pgf-sub{font-size:18px;color:#4E5A5E;margin:14px 0 0}\",\".pgf-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin-top:44px}\",\".pgf .pgf-tab{position:relative;display:block;width:100%;padding:20px 0 0;border-top:2px solid #E6EAE6;transition:border-color .35s ease}\",\".pgf .pgf-tab::before{content:'';position:absolute;left:0;top:-2px;height:2px;width:100%;background:var(--lime);box-shadow:0 0 14px var(--lime);transform:scaleX(0);transform-origin:left;transition:transform .5s cubic-bezier(.2,.8,.2,1)}\",\".pgf .pgf-tab[aria-selected=true]{border-color:#0B1114}\",\".pgf .pgf-tab[aria-selected=true]::before{transform:scaleX(1)}\",\".pgf-tab small{display:block;font-size:13px;font-weight:600;color:#9AA4A8;transition:color .35s}\",\".pgf-tab strong{display:block;font-size:22px;font-weight:600;letter-spacing:-.02em;margin-top:6px;color:#9AA4A8;transition:color .35s}\",\".pgf-tab span{display:block;font-size:15px;color:#9AA4A8;margin-top:4px;transition:color .35s}\",\".pgf-tab[aria-selected=true] small{color:#3D7000}.pgf-tab[aria-selected=true] strong{color:#0B1114}.pgf-tab[aria-selected=true] span{color:#4E5A5E}\",\".pgf .pgf-tab:hover strong{color:#0B1114}\",\".pgf-main{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:64px;align-items:start;margin-top:48px}\",\".pgf-stage{position:relative;perspective:1600px}\",\".pgf-scene{transform:rotateX(calc(var(--ty,0) * -5deg)) rotateY(calc(var(--tx,0) * 6deg));transition:transform .25s linear}\",\".pgf-svg{display:block;width:100%;height:auto;overflow:visible}\",\".pgf-wa{fill:#fff;stroke:#E1E6E2;stroke-width:1}.pgf-wb{fill:#EDF0ED}.pgf-wl{stroke:#E3E8E4;stroke-width:1}\",\".pgf-roof{fill:#262C31}.pgf-re{fill:#161A1E}.pgf-door{fill:#2C3237}.pgf-slat{stroke:#3B4249;stroke-width:1}.pgf-win{fill:#39424A}\",\".pgf-sb{fill:#0E1115}.pgf-cell{fill:#1A1F25;stroke:#2E353D;stroke-width:.5}\",\".pgf-sg{fill:var(--lime);filter:url(#pgfBlur);opacity:0;transition:opacity 1.2s ease}\",\".pgf-se{fill:none;stroke:var(--lime);stroke-width:1.4;opacity:0;transition:opacity .6s ease}\",\".pgf.on .pgf-sg{opacity:calc(.5 + var(--boost,0) * .35)}.pgf.on .pgf-se{opacity:1}\",\".pgf-shadow{fill:url(#pgfShadow)}\",\".pgf-ring{fill:none;stroke:var(--lime);stroke-width:2.2;filter:drop-shadow(0 0 6px var(--lime))}\",\".pgf-ring2{fill:none;stroke:#A9C266;stroke-width:1;stroke-dasharray:2 9;opacity:0;transition:opacity 1s ease 1.6s}.pgf.on .pgf-ring2{opacity:.8}\",\".pgf-wire,.pgf-live{display:none}\",\".pgf-wire{fill:none;stroke:#D5DCD7;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:2 7}\",\".pgf-live{fill:none;stroke:var(--lime);stroke-width:3;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:10 16;filter:drop-shadow(0 0 5px var(--lime));opacity:0;transition:opacity .5s ease}\",\".pgf.on .pgf-live{opacity:1;animation:pgfFlow 1.3s linear infinite}.pgf.on.after .pgf-live{animation-duration:.75s}\",\".pgf-node{fill:#fff;stroke:#0B1114;stroke-width:2}.pgf-led{fill:var(--lime);filter:drop-shadow(0 0 4px var(--lime))}\",\"@keyframes pgfFlow{to{stroke-dashoffset:-52}}\",\".pgf-hint{display:flex;align-items:center;justify-content:center;gap:14px;margin:8px 0 0;font-size:14px;line-height:1.45;color:#7A8589}\",\".pgf-mouse{position:relative;flex:none;width:22px;height:34px;border-radius:12px;border:2px solid #0B1114}\",\".pgf-mouse i{position:absolute;left:50%;top:6px;width:4px;height:7px;margin-left:-2px;border-radius:2px;background:var(--lime);box-shadow:0 0 8px var(--lime);animation:pgfWheel 1.8s ease-in-out infinite}\",\"@keyframes pgfWheel{0%{transform:translateY(0);opacity:1}70%{transform:translateY(10px);opacity:0}100%{transform:translateY(0);opacity:0}}\",\".pgf-chart{cursor:crosshair;touch-action:pan-y}\",\".pgf .pgf-play{position:relative;display:inline-flex;align-items:center;gap:12px;height:50px;padding:0 22px 0 8px;border-radius:999px;background:#0B1114;color:#fff;font-size:15px;font-weight:600;white-space:nowrap;box-shadow:0 12px 30px -14px rgba(11,17,20,.6);transition:transform .25s ease}\",\".pgf .pgf-play:hover{transform:translateY(-2px)}\",\".pgf .pgf-play.hint::before{content:'';position:absolute;inset:-6px;border-radius:inherit;border:1.5px solid var(--lime);opacity:0;animation:pgfPulse 2.2s ease-out infinite}\",\".pgf-play b{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--lime);color:#0B1114}\",\".pgf-sum{position:relative}\",\".pgf-chart{position:relative;margin:0 0 20px}\",\".pgf-legend{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:12px;color:#7A8589;margin:0 0 12px}\",\".pgf-legend i{display:inline-block;width:11px;height:11px;border-radius:3px;background:#0B1114;margin-right:7px;vertical-align:-1px}\",\".pgf-legend i.pro{background:linear-gradient(180deg,var(--lime),#2F6B00)}\",\".pgf-legend span{font-weight:500;color:#4E5A5E}\",\".pgf-csvg{display:block;width:100%;height:auto;overflow:visible}\",\".pgf-csvg text{font-family:Inter,sans-serif;font-size:11px;fill:#7A8589}\",\".pgf-csvg .ms text{font-weight:600;fill:#0B1114}\",\".pgf-csvg{animation:pgfIn .45s ease both}\",\"@keyframes pgfIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}\",\".pgf-csvg .lbl{font-weight:600;font-size:12px}\",\".pgf-by{font-size:15px;font-weight:600;color:#3D7000;margin:0;font-variant-numeric:tabular-nums}\",\".pgf-total{display:block;font-size:46px;font-weight:600;letter-spacing:-.04em;line-height:1;margin:6px 0 0;font-variant-numeric:tabular-nums;white-space:nowrap}\",\".pgf-total.neg{color:#8A9498}\",\".pgf-cap{font-size:14px;color:#7A8589;margin:6px 0 0}\",\".pgf-status{display:flex;align-items:center;gap:12px;margin:18px 0 0;font-size:15px;font-weight:500;line-height:1.4}\",\".pgf-status i{flex:none;width:10px;height:10px;border-radius:50%;background:#0B1114;transition:background .4s,box-shadow .4s}\",\".pgf.after .pgf-status i{background:var(--lime);box-shadow:0 0 0 4px rgba(200,255,34,.25),0 0 14px var(--lime)}\",\".pgf-rows{margin-top:20px;border-top:1px solid #E6EAE6}\",\".pgf-row{display:flex;align-items:baseline;justify-content:space-between;gap:16px;padding:11px 0;border-bottom:1px solid #E6EAE6;font-size:14px;color:#4E5A5E;transition:color .4s}\",\".pgf-row strong{font-size:16px;font-weight:600;color:#0B1114;font-variant-numeric:tabular-nums;white-space:nowrap}\",\".pgf-row.dim{color:#A9B2B5}.pgf-row.dim strong{color:#A9B2B5}\",\".pgf-u{font-size:12px;font-weight:500;color:#7A8589;margin-left:2px}\",\".pgf-cmp{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:18px 0 0;font-size:14px;color:#7A8589}\",\".pgf-cmp strong{color:#0B1114;font-weight:600;font-variant-numeric:tabular-nums}\",\".pgf .pgf-cmp button{font-size:14px;font-weight:600;color:#0B1114;border-bottom:2px solid var(--lime);padding-bottom:2px}\",\".pgf-tl{margin-top:64px}\",\".pgf-tl-top{display:flex;align-items:baseline;justify-content:space-between;gap:20px;flex-wrap:wrap}\",\".pgf-tl-top p{margin:0;font-size:15px;color:#7A8589}\",\".pgf-tl-top p strong{color:#0B1114;font-weight:600;margin-right:10px}\",\".pgf-tlb{position:relative;margin-top:64px}\",\".pgf-track{position:relative;height:6px;border-radius:6px;background:#E6EAE6}\",\".pgf-fill{position:absolute;left:0;top:0;height:6px;border-radius:6px}\",\".pgf-tick{position:absolute;top:-3px;width:12px;height:12px;margin-left:-6px;border-radius:50%;background:#fff;box-shadow:0 0 0 2px #C3CBC6}\",\".pgf-tick.ms{box-shadow:0 0 0 2px #0B1114;transition:left .5s cubic-bezier(.2,.8,.2,1)}\",\".pgf-range{position:absolute;left:0;right:0;top:-22px;height:50px;width:100%;margin:0;opacity:0;cursor:grab;z-index:3}\",\".pgf-range:active{cursor:grabbing}\",\".pgf-range:focus-visible+.pgf-handle{box-shadow:0 0 0 3px #fff,0 0 0 5px #3D7000}\",\".pgf-handle{position:absolute;top:3px;width:36px;height:36px;margin:-18px 0 0 -18px;display:grid;place-items:center;color:#fff;border-radius:50%;background:#0B1114;pointer-events:none;z-index:2;transition:background .4s,box-shadow .4s;box-shadow:0 0 0 6px rgba(11,17,20,.08)}\",\".pgf-handle.hint::before{content:'';position:absolute;inset:-7px;border-radius:50%;border:2px solid var(--lime);animation:pgfPulse 1.8s ease-out infinite}\",\".pgf.after .pgf-handle{color:#0B1114;background:var(--lime);box-shadow:0 0 0 8px rgba(200,255,34,.25),0 0 26px var(--lime)}\",\".pgf-chip{position:absolute;top:-52px;padding:6px 12px;border-radius:999px;background:#0B1114;color:#fff;font-size:13px;font-weight:600;white-space:nowrap;pointer-events:none;font-variant-numeric:tabular-nums}\",\".pgf-labels{position:relative;height:20px;margin-top:24px;font-size:13px;color:#7A8589}\",\".pgf-labels span{position:absolute;transform:translateX(-50%);white-space:nowrap;transition:left .5s cubic-bezier(.2,.8,.2,1)}\",\".pgf-labels span.first{transform:none}.pgf-labels span.last{transform:translateX(-100%)}\",\".pgf-labels strong{color:#0B1114;font-weight:600}\",\".pgf-end{display:flex;align-items:center;justify-content:space-between;gap:40px;flex-wrap:wrap;margin-top:72px;padding-top:40px;border-top:1px solid #E6EAE6}\",\".pgf-end h3{font-size:32px;font-weight:600;letter-spacing:-.035em;line-height:1.08;margin:0;max-width:17em}\",\".pgf-end h3 span{color:#A9B2B5}\",\".pgf-end p{font-size:16px;color:#4E5A5E;margin:10px 0 0}\",\".pgf-btn{position:relative;display:inline-flex;align-items:center;gap:12px;height:54px;padding:0 28px 0 32px;border-radius:999px;background:var(--lime);color:#0B1114;font-weight:600;font-size:16px;text-decoration:none;white-space:nowrap;transition:transform .25s ease,box-shadow .25s ease}\",\".pgf-btn::before{content:'';position:absolute;inset:-6px;border-radius:inherit;border:1.5px solid var(--lime);opacity:0;animation:pgfPulse 2.6s ease-out infinite}\",\".pgf-btn:hover{transform:translateY(-2px);box-shadow:0 14px 40px -10px rgba(170,220,0,.75)}\",\"@keyframes pgfPulse{0%{opacity:.9;transform:scale(1)}100%{opacity:0;transform:scale(1.18)}}\",\".pgf-small{font-size:12px;line-height:1.5;color:#7A8589;margin:16px 0 0}\",\"@container (max-width:1100px){.pgf-main{grid-template-columns:minmax(0,1fr);gap:28px}.pgf-stage{max-width:620px;justify-self:center;width:100%}.pgf-wire,.pgf-live{display:none}.pgf-h2{font-size:44px}.pgf-end h3{font-size:28px}}\",\"@container (max-width:900px){.pgf-labels span.first{display:none}}\",\"@container (max-width:720px){.pgf-in{padding:72px 22px}.pgf-h2{font-size:34px}.pgf-tabs{gap:16px;margin-top:32px}.pgf-tab strong{font-size:18px}.pgf-tab span{font-size:13px}.pgf-total{font-size:40px}.pgf-labels span.mid{display:none}.pgf-labels span.ms{transform:translateX(-14px)}.pgf-end h3{font-size:24px}}\",\"@container (min-width:1440px){.pgf-in{max-width:2400px;min-height:100vh;display:flex;flex-direction:column;justify-content:center;padding:5cqw 5cqw}.pgf-h2{font-size:3.61cqw}.pgf-sub{font-size:1.25cqw;margin-top:1cqw}.pgf-tabs{gap:2.4cqw;margin-top:3cqw}.pgf .pgf-tab{padding-top:1.4cqw}.pgf-tab small{font-size:.9cqw}.pgf-tab strong{font-size:1.53cqw;margin-top:.4cqw}.pgf-tab span{font-size:1.04cqw;margin-top:.3cqw}.pgf-main{gap:4.4cqw;margin-top:3.3cqw}.pgf-legend{font-size:.83cqw;margin-bottom:.8cqw}.pgf-by{font-size:1.04cqw}.pgf-total{font-size:3.2cqw;margin-top:.4cqw}.pgf-cap{font-size:.97cqw}.pgf-status{font-size:1.04cqw;margin-top:1.25cqw;gap:.8cqw}.pgf-status i{width:.7cqw;height:.7cqw}.pgf-rows{margin-top:1.4cqw}.pgf-row{font-size:.97cqw;padding:.76cqw 0}.pgf-row strong{font-size:1.11cqw}.pgf-u{font-size:.83cqw}.pgf-small{font-size:.83cqw;margin-top:1.1cqw}.pgf-hint{font-size:.97cqw;gap:1cqw}.pgf-mouse{width:1.5cqw;height:2.35cqw;border-radius:.85cqw}}\",\"@media (prefers-reduced-motion:reduce){.pgf *,.pgf *::before{transition:none!important;animation:none!important}}\"].join(\"\\n\");// ---------- helpers ----------\nconst fmt=v=>{const s=\"\\xa3\"+Math.round(Math.abs(v)).toLocaleString(\"en-GB\");return v<-.5?\"−\"+s:s;};const yrs=v=>{const r=Math.round(v*10)/10;return(Number.isInteger(r)?String(r):r.toFixed(1))+(r===1?\" year\":\" years\");};/**\n * Open, interactive explainer comparing financing solar with buying it outright.\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n */export default function SolarFinanceSection(props){const{titleLine1=\"Your business.\",titleLine2=\"Powered by solar.\",subtitle=\"Two ways to pay. See how the savings build up over time.\",savings=12e3,repayments=6e3,financeYears=5,upfrontCost=3e5,horizonYears=25,endLine1=\"Finance repayments end.\",endLine2=\"Your solar savings continue.\",endText=\"Keep generating energy savings for your business.\",ctaLabel=\"Get my business proposal\",ctaLink=\"/#proposal\",accent=\"#C8FF22\",style}=props;const HZ=Math.max(6,horizonYears);const T=Math.max(1,Math.min(financeYears,HZ-1));const S12=savings*12;const PB=S12>0?upfrontCost/S12:HZ;const reduce=useReducedMotion();const target=RenderTarget.current();const still=target===RenderTarget.canvas||target===RenderTarget.thumbnail||target===RenderTarget.export||!!reduce;const rootRef=useRef(null);const svgRef=useRef(null);const playRaf=useRef(0);const touched=useRef(false);const[opt,setOpt]=useState(\"finance\");const[year,setYear]=useState(still?7:0);const[on,setOn]=useState(still);const[playing,setPlaying]=useState(false);const[hinted,setHinted]=useState(false);const[hovering,setHovering]=useState(false);const chartRef=useRef(null);const hoverRef=useRef(null);const scene=useMemo(()=>buildScene(),[]);const isFin=opt===\"finance\";const R12=repayments*12;// cumulative cash position at year y\nconst cash=y=>isFin?y<=T?y*(S12-R12):T*(S12-R12)+(y-T)*S12:y*S12-upfrontCost;const NZ=isFin?0:S12>0?upfrontCost/S12:HZ;const ms=isFin?T:Math.min(NZ,HZ);const total=cash(year);const isAfter=year>=ms;const pct=year/HZ*100;const msPct=ms/HZ*100;const shift=pct<6?-50*pct/6:pct>94?-50-50*(pct-94)/6:-50;const yLabel=y=>{if(y<.25)return\"Installation\";if(y>=HZ)return\"Year \"+HZ;return\"Year \"+Math.max(1,Math.ceil(y-.001));};const byLabel=year<.25?\"At installation\":\"By \"+yLabel(year);let status=\"\";if(isFin)status=year<.25?\"No upfront cost. Your savings cover the repayments from month one.\":year<T?\"Savings of \"+fmt(savings)+\" a month cover repayments of \"+fmt(repayments)+\", so you’re \"+fmt(savings-repayments)+\" a month better off.\":\"Finance repaid. You now keep the full \"+fmt(savings)+\" a month.\";else status=year<.25?\"You pay \"+fmt(upfrontCost)+\" upfront and own the system.\":year<NZ?\"Your savings are paying back the upfront cost.\":\"Past net zero. The system has paid for itself.\";const capText=isFin?\"cash saved so far, after repayments*\":total<0?\"to go until the system has paid for itself*\":\"net saving after paying for the system*\";const rows=isFin?[{k:\"Energy savings\",v:fmt(savings),u:\"/mo\",dim:false},{k:\"Repayments, years 1 to \"+T,v:fmt(-repayments),u:\"/mo\",dim:year>=T},{k:\"Cash flow, years 1 to \"+T,v:\"+\"+fmt(savings-repayments),u:\"/mo\",dim:year>=T}]:[{k:\"Energy savings\",v:fmt(savings),u:\"/mo\",dim:false},{k:\"Upfront cost\",v:fmt(-upfrontCost),u:\"\",dim:false},{k:\"Net zero in\",v:yrs(NZ),u:\"\",dim:false}];useEffect(()=>{const ring=svgRef.current?svgRef.current.querySelector(\".pgf-ring\"):null;if(ring&&!still){const len=ring.getTotalLength();ring.style.strokeDasharray=String(len);ring.style.strokeDashoffset=String(len);}if(still)return;const el=rootRef.current;if(!el||typeof IntersectionObserver===\"undefined\"){setOn(true);return;}const io=new IntersectionObserver(es=>es.forEach(e=>{if(e.isIntersecting){setOn(true);io.disconnect();}}),{threshold:.3});io.observe(el);return()=>io.disconnect();},[still]);const stop=()=>{if(playRaf.current)cancelAnimationFrame(playRaf.current);playRaf.current=0;setPlaying(false);};const play=(from,to,ms2)=>{stop();if(still){setYear(to);return;}const t0=performance.now();setPlaying(true);const step=t=>{const p=Math.min(1,(t-t0)/ms2);const e=p<.5?2*p*p:1-Math.pow(-2*p+2,2)/2;setYear(from+(to-from)*e);if(p<1)playRaf.current=requestAnimationFrame(step);else{playRaf.current=0;setPlaying(false);}};playRaf.current=requestAnimationFrame(step);};useEffect(()=>()=>stop(),[]);useEffect(()=>{if(!on||still)return;const ring=svgRef.current?svgRef.current.querySelector(\".pgf-ring\"):null;if(ring){ring.style.transition=\"stroke-dashoffset 1.8s cubic-bezier(.65,0,.25,1) .3s\";ring.style.strokeDashoffset=\"0\";}},[on]);// scroll drives the years; hovering the chart overrides; eased so it glides\nuseEffect(()=>{if(still)return;let raf=0,cur=0;const tick=()=>{const el=chartRef.current;let target=cur;if(el){const r=el.getBoundingClientRect();const vh=window.innerHeight||800;const p=Math.max(0,Math.min(1,(vh*.88-r.top)/(vh*.62)));target=hoverRef.current!=null?hoverRef.current:p*HZ;}cur+=(target-cur)*.14;if(Math.abs(target-cur)<.004)cur=target;const next=Math.round(cur*1e3)/1e3;setYear(prev=>prev===next?prev:next);raf=requestAnimationFrame(tick);};raf=requestAnimationFrame(tick);return()=>cancelAnimationFrame(raf);},[still,HZ]);const onMove=e=>{if(still||!rootRef.current)return;const r=e.currentTarget.getBoundingClientRect();rootRef.current.style.setProperty(\"--tx\",((e.clientX-r.left)/r.width*2-1).toFixed(3));rootRef.current.style.setProperty(\"--ty\",((e.clientY-r.top)/r.height*2-1).toFixed(3));};const onLeave=()=>{if(!rootRef.current)return;rootRef.current.style.setProperty(\"--tx\",\"0\");rootRef.current.style.setProperty(\"--ty\",\"0\");};// ---- cash-flow chart: money in (green) and out (black) each year, fixed scale ----\nconst CW=520,CH=230,PT=16,PBt=24,GL=58;const payYear=n=>isFin?n>=1&&n<=T?R12:0:n===0?upfrontCost:0;const saveYear=n=>n>=1?S12:0;const upMax=Math.max(S12,1)*1.1;const dnMax=Math.max(isFin?R12:upfrontCost,1)*1.06;const gy=v=>PT+(CH-PT-PBt)*(upMax-v)/(upMax+dnMax);const zeroY=gy(0);const slot=(CW-GL)/(HZ+1);const bw=Math.max(4,slot*.56);const clamp01=v=>Math.max(0,Math.min(1,v));const bars=Array.from({length:HZ+1},(_,n)=>{const p=n===0?1:clamp01(year-(n-1));const uh=(zeroY-gy(saveYear(n)))*p;const dh=(gy(-payYear(n))-zeroY)*p;return{n,x:GL+n*slot+(slot-bw)/2,uh,dh,p,live:p>0&&p<1};});const markX=GL+ms*slot+slot/2;const pointYear=e=>{const svg=e.currentTarget.querySelector(\"svg\");if(!svg)return null;const r=svg.getBoundingClientRect();const sx=(e.clientX-r.left)/r.width*CW;if(sx<GL-10)return null;return Math.max(0,Math.min(HZ,Math.round((sx-GL)/slot-.5)));};const onChartMove=e=>{const y=pointYear(e);hoverRef.current=y;setHovering(y!=null);};const onChartLeave=()=>{hoverRef.current=null;setHovering(false);};const guideX=GL+Math.round(year)*slot+slot/2;const markText=isFin?\"Finance ends\":\"Net zero\";const msText=isFin?\"Year \"+T+\": finance ends\":\"Net zero: \"+yrs(NZ);const gap=HZ*.14;const ticks=[];if(ms>=gap)ticks.push({y:0,cls:\"first\",text:\"Installation\"});ticks.push({y:ms,cls:\"ms\",text:/*#__PURE__*/_jsx(\"strong\",{children:msText})});for(let y=5;y<HZ;y+=5)if(Math.abs(y-ms)>=gap)ticks.push({y,cls:\"mid\",text:\"Year \"+y});ticks.push({y:HZ,cls:\"last\",text:\"Year \"+HZ});const split=year>ms?ms/year*100:100;const fillBg=\"linear-gradient(90deg,#0B1114 0,#0B1114 \"+split+\"%,\"+accent+\" \"+split+\"%)\";const cls=\"pgf\"+(on?\" on\":\"\")+(isAfter?\" after\":\"\");return /*#__PURE__*/_jsxs(\"section\",{ref:rootRef,className:cls,\"aria-labelledby\":\"pgf-h\",style:{...style,[\"--lime\"]:accent,[\"--boost\"]:isAfter?1:0},children:[/*#__PURE__*/_jsx(\"style\",{children:CSS}),/*#__PURE__*/_jsxs(\"div\",{className:\"pgf-in\",children:[/*#__PURE__*/_jsxs(\"h2\",{className:\"pgf-h2\",id:\"pgf-h\",children:[titleLine1,\" \",/*#__PURE__*/_jsx(\"span\",{children:titleLine2})]}),/*#__PURE__*/_jsx(\"p\",{className:\"pgf-sub\",children:subtitle}),/*#__PURE__*/_jsxs(\"div\",{className:\"pgf-tabs\",role:\"tablist\",\"aria-label\":\"How you pay\",children:[/*#__PURE__*/_jsxs(\"button\",{type:\"button\",role:\"tab\",className:\"pgf-tab\",\"aria-selected\":isFin,onClick:()=>setOpt(\"finance\"),children:[/*#__PURE__*/_jsx(\"small\",{children:\"Pay as you save\"}),/*#__PURE__*/_jsx(\"strong\",{children:\"Finance it\"}),/*#__PURE__*/_jsx(\"span\",{children:\"Spread the cost. Repayments come out of your savings.\"})]}),/*#__PURE__*/_jsxs(\"button\",{type:\"button\",role:\"tab\",className:\"pgf-tab\",\"aria-selected\":!isFin,onClick:()=>setOpt(\"outright\"),children:[/*#__PURE__*/_jsx(\"small\",{children:\"Pay upfront\"}),/*#__PURE__*/_jsx(\"strong\",{children:\"Buy outright\"}),/*#__PURE__*/_jsx(\"span\",{children:\"Own it from day one for the biggest long-term saving.\"})]})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"pgf-main\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"pgf-stage\",onPointerMove:onMove,onPointerLeave:onLeave,children:[/*#__PURE__*/_jsx(\"div\",{className:\"pgf-scene\",children:/*#__PURE__*/_jsx(\"svg\",{ref:svgRef,className:\"pgf-svg\",viewBox:\"40 10 660 480\",\"aria-hidden\":\"true\",dangerouslySetInnerHTML:{__html:scene}})}),/*#__PURE__*/_jsxs(\"p\",{className:\"pgf-hint\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"pgf-mouse\",\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsx(\"i\",{})}),/*#__PURE__*/_jsxs(\"span\",{children:[\"Scroll to watch the savings build.\",/*#__PURE__*/_jsx(\"br\",{}),\"Hover the chart to explore any year.\"]})]})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"pgf-sum\",\"aria-live\":\"polite\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"pgf-chart\",ref:chartRef,onPointerMove:onChartMove,onPointerDown:onChartMove,onPointerLeave:onChartLeave,children:[/*#__PURE__*/_jsxs(\"p\",{className:\"pgf-legend\",children:[/*#__PURE__*/_jsxs(\"span\",{children:[/*#__PURE__*/_jsx(\"i\",{className:\"pro\"}),\"Energy savings each year\"]}),/*#__PURE__*/_jsxs(\"span\",{children:[/*#__PURE__*/_jsx(\"i\",{}),isFin?\"Repayments each year\":\"Upfront cost\"]})]}),/*#__PURE__*/_jsxs(\"svg\",{className:\"pgf-csvg\",viewBox:\"0 0 \"+CW+\" \"+CH,role:\"img\",\"aria-label\":isFin?\"Cash flow chart. No upfront cost. Each year \"+fmt(S12)+\" of savings comes in, and \"+fmt(R12)+\" of repayments goes out for the first \"+T+\" years.\":\"Cash flow chart. \"+fmt(upfrontCost)+\" paid upfront, then \"+fmt(S12)+\" of savings each year. Net zero after \"+yrs(NZ)+\".\",children:[/*#__PURE__*/_jsx(\"defs\",{children:/*#__PURE__*/_jsxs(\"linearGradient\",{id:\"pgfGreen\",gradientUnits:\"userSpaceOnUse\",x1:\"0\",y1:gy(S12),x2:\"0\",y2:zeroY,children:[/*#__PURE__*/_jsx(\"stop\",{offset:\"0\",stopColor:accent}),/*#__PURE__*/_jsx(\"stop\",{offset:\"1\",stopColor:\"#2F6B00\"})]})}),/*#__PURE__*/_jsx(\"line\",{x1:markX,y1:PT-4,x2:markX,y2:CH-PBt,stroke:\"#0B1114\",strokeWidth:\"1\",strokeDasharray:\"3 4\",opacity:\"0.4\"}),/*#__PURE__*/_jsx(\"text\",{x:markX+6,y:isFin?PT+6:CH-PBt-8,className:\"lbl\",fill:\"#0B1114\",children:markText}),bars.map(b=>/*#__PURE__*/_jsxs(\"g\",{children:[b.uh>.5?/*#__PURE__*/_jsx(\"rect\",{x:b.x,y:zeroY-b.uh,width:bw,height:b.uh,rx:Math.min(3,bw/3),fill:\"url(#pgfGreen)\"}):null,b.dh>.5?/*#__PURE__*/_jsx(\"rect\",{x:b.x,y:zeroY,width:bw,height:b.dh,rx:Math.min(3,bw/3),fill:\"#0B1114\"}):null,b.p===0?/*#__PURE__*/_jsx(\"rect\",{x:b.x+bw/2-1.5,y:zeroY-1.5,width:\"3\",height:\"3\",rx:\"1.5\",fill:\"#C9D1CC\"}):null]},b.n)),/*#__PURE__*/_jsx(\"line\",{x1:GL-6,y1:zeroY,x2:CW,y2:zeroY,stroke:\"#0B1114\",strokeWidth:\"1.5\"}),hovering?/*#__PURE__*/_jsx(\"line\",{x1:guideX,y1:PT-4,x2:guideX,y2:CH-PBt,stroke:accent,strokeWidth:\"2\",opacity:\"0.9\"}):null,/*#__PURE__*/_jsx(\"text\",{x:\"0\",y:zeroY+4,className:\"lbl\",fill:\"#0B1114\",children:\"\\xa30\"}),/*#__PURE__*/_jsx(\"text\",{x:\"0\",y:(PT+zeroY)/2+4,className:\"lbl\",fill:\"#3D7000\",children:\"In ▲\"}),/*#__PURE__*/_jsx(\"text\",{x:\"0\",y:(zeroY+CH-PBt)/2+4,className:\"lbl\",fill:\"#0B1114\",children:\"Out ▼\"}),/*#__PURE__*/_jsx(\"text\",{x:GL,y:CH-4,children:\"Installation\"}),/*#__PURE__*/_jsx(\"text\",{x:CW,y:CH-4,textAnchor:\"end\",children:\"Year \"+HZ})]},opt)]}),/*#__PURE__*/_jsx(\"p\",{className:\"pgf-by\",children:byLabel}),/*#__PURE__*/_jsx(\"strong\",{className:\"pgf-total\"+(total<0?\" neg\":\"\"),children:fmt(total)}),/*#__PURE__*/_jsx(\"p\",{className:\"pgf-cap\",children:capText}),/*#__PURE__*/_jsxs(\"p\",{className:\"pgf-status\",children:[/*#__PURE__*/_jsx(\"i\",{}),status]}),/*#__PURE__*/_jsx(\"div\",{className:\"pgf-rows\",children:rows.map((r,i)=>/*#__PURE__*/_jsxs(\"div\",{className:\"pgf-row\"+(r.dim?\" dim\":\"\"),children:[/*#__PURE__*/_jsx(\"span\",{children:r.k}),/*#__PURE__*/_jsxs(\"strong\",{children:[r.v,r.u?/*#__PURE__*/_jsx(\"small\",{className:\"pgf-u\",children:r.u}):null]})]},i))}),/*#__PURE__*/_jsx(\"p\",{className:\"pgf-small\",children:\"*Before running costs. Illustrative example only, not a quote. Savings vary over time. Finance available to business customers only, subject to status and lender approval.\"})]})]})]})]});}addPropertyControls(SolarFinanceSection,{titleLine1:{type:ControlType.String,title:\"Title\",defaultValue:\"Your business.\"},titleLine2:{type:ControlType.String,title:\"Title (grey)\",defaultValue:\"Powered by solar.\"},subtitle:{type:ControlType.String,title:\"Subtitle\",defaultValue:\"Two ways to pay. See how the savings build up over time.\"},savings:{type:ControlType.Number,title:\"Savings / mo\",defaultValue:12e3,min:0,step:500,displayStepper:true},repayments:{type:ControlType.Number,title:\"Repayments / mo\",defaultValue:6e3,min:0,step:500,displayStepper:true},financeYears:{type:ControlType.Number,title:\"Finance years\",defaultValue:5,min:1,max:15,step:1,displayStepper:true},upfrontCost:{type:ControlType.Number,title:\"Upfront cost\",defaultValue:3e5,min:0,step:5e3,displayStepper:true},horizonYears:{type:ControlType.Number,title:\"Timeline years\",defaultValue:25,min:6,max:30,step:1,displayStepper:true},endLine1:{type:ControlType.String,title:\"End line\",defaultValue:\"Finance repayments end.\"},endLine2:{type:ControlType.String,title:\"End line (grey)\",defaultValue:\"Your solar savings continue.\"},endText:{type:ControlType.String,title:\"End text\",defaultValue:\"Keep generating energy savings for your business.\"},ctaLabel:{type:ControlType.String,title:\"Button\",defaultValue:\"Get my business proposal\"},ctaLink:{type:ControlType.String,title:\"Button link\",defaultValue:\"/#proposal\"},accent:{type:ControlType.Color,title:\"Accent\",defaultValue:\"#C8FF22\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SolarFinanceSection\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SolarFinanceSection.map"],"mappings":"A,mQAC+D,SAASkB,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,MAAM,CAACC,GAAIC,EAAEC,GAAGC,EAAGC,EAAEC,GAAIJ,EAAEC,GAAGI,EAAGF,EAAEG,EAAEH,CAAC,CAAE,CAAC,SAASI,EAAK,EAAI,EAAI,CAAC,MAAM,mBAAmBC,EAAI,aAAaC,EAAI,IAAI,GAAGrB,EAAE,EAAE,CAAC,QAA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