PageSourceSearch

https://sveasolar.com/_next/static/chunks/0eo-qz4iibw8-.js

js sveasolar.com collected 2026-09-29 09:25:33 UTC 11,490 bytes, 182 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="db9eecdc-3b3c-0eb6-7288-d7c8c87489b3")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,34252,e=>{"use strict";var t=e.i(318008),i=e.i(775904),n=e.i(687652),a=e.i(778333);let s=i.default.div.withConfig({displayName:"MainLayout.styles__Wrapper",componentId:"sc-6ad4a81c-0"})`
3  display: flex;
4  min-height: 100vh;
5  flex-direction: column;
6  background-color: #f7f7f7;
7`,o=i.default.main.withConfig({displayName:"MainLayout.styles__Main",componentId:"sc-6ad4a81c-1"})`
8  display: flex;
9  flex-direction: column;
10  gap: clamp(3rem, 5vw, 5rem);
11  flex: 1;
12  background-color: #f7f7f7;
13  padding-bottom: clamp(3rem, 5vw, 5rem);
14
15  ${({hasTopPadding:e})=>e&&i.css`
16      padding-top: 90px;
17
18      ${a.breakpoint.up("md")} {
19        padding-top: 146px;
20      }
21    `}
22
23  ${({hasAdditionalTopPadding:e})=>e&&i.css`
24      padding-top: 146px;
25
26      ${a.breakpoint.up("md")} {
27        padding-top: 210px;
28      }
29    `}
30`,d=i.default.div.withConfig({displayName:"MainLayout.styles__FlexContainer",componentId:"sc-6ad4a81c-2"})`
31  display: flex;
32  flex-direction: column;
33  justify-content: center;
34  align-items: center;
35`;var l=e.i(145597),r=e.i(212691),c=e.i(745254),p=e.i(278174),m=e.i(18606),u=e.i(410900),f=e.i(578798),g=e.i(166793),h=e.i(578932);let x={MainPage:"main_page_hero_section",SubPage:"sub_page_hero_section",WithSlider:"hero_with_slider_section",Product:"product_page_hero_section"},y=new Set([x.SubPage,x.WithSlider,x.Product]),_=[x.WithSlider,x.Product];var j=(0,i.default)(s).withConfig({displayName:"MainLayout___StyledStyledWrapper",componentId:"sc-d793808c-0"})`${e=>e.$_css}`;e.s(["AvailableHeroTypes",0,x,"default",0,({banner:e,darkMode:i=!0,site_settings:a,font:s,children:x,heroType:b,css:v,breadcrumbs:k=[],header_navigation:P=[],footer_navigation:w={menu_items:[],social_media:[],cta_section:[]}})=>{let[$,S]=(0,n.useState)(!0),C=b&&_.includes(b);b&&y.has(b)&&(i=!1);let I=(0,f.getBanner)(e,a),N=(k||[]).length>1&&C;return(0,t.jsx)(j,{font:s,$_css:v,children:(0,t.jsx)(h.default,{children:(0,t.jsxs)(g.default,{children:[(0,t.jsx)(l.default,{links:a?.topBarLinks,options:{darkMode:i},contactNumber:a?.contactNumber,trustpilotBadge:a?.globalTrustPilotBadge}),(0,t.jsx)(r.default,{hasRibbon:!!I&&$,menuItems:P,actions:a?.freeQuoteLink,options:{darkMode:i}}),!!I&&(0,t.jsx)(d,{children:(0,t.jsx)(f.default,{...I,closeBanner:()=>S(!1),isVisible:$,options:{darkMode:i}})}),N&&(0,t.jsx)(p.default,{hasAdditionalTopSpace:!!I&&$,links:k}),(0,t.jsx)(o,{hasTopPadding:C&&!N,hasAdditionalTopPadding:!!I&&$&&C&&!N,children:x}),(0,t.jsx)(c.default,{siteSettings:a,breadcrumbs:k,...w}),(0,t.jsx)(m.default,{}),(0,t.jsx)(u.default,{menuItems:P,actions:a?.freeQuoteLink||[],contactNumber:a?.contactNumber,links:a?.topBarLinks||[]})]})})})}],34252)},541231,457615,e=>{"use strict";var t=e.i(318008),i=e.i(775904),n=e.i(62943),a=e.i(778333);let s=i.default.section.withConfig({displayName:"ProductPageHeroSection.styled__SectionOuterWrapper",componentId:"sc-52df46f8-0"})`
36  width: 100%;
37  max-width: ${({theme:e})=>e.sizes[1286]};
38  margin: 0 auto;
39
40  ${a.breakpoint.down("md")} {
41    display: grid;
42    gap: 1rem;
43  }
44
45  ${a.breakpoint.down("lg")} {
46    padding: 0 ${({theme:e})=>e.sizes[6]};
47  }
48`,o=i.default.div.withConfig({displayName:"ProductPageHeroSection.styled__SectionInner",componentId:"sc-52df46f8-1"})`
49  position: relative;
50  display: grid;
51
52  padding: 2rem 0 1rem;
53
54  grid-template-rows: 1fr auto;
55  height: 70vh;
56  max-height: ${({theme:e})=>e.sizes[450]};
57
58  border-radius: ${({theme:e})=>e.spacing[20]};
59  overflow: hidden;
60
61  ${a.breakpoint.up("sm")} {
62    grid-template-columns: 1fr 1fr;
63    min-height: ${({theme:e})=>e.sizes[550]};
64    max-height: ${({theme:e})=>e.sizes[660]};
65  }
66`,d=i.default.img.withConfig({displayName:"ProductPageHeroSection.styled__Backgroun
66dImage",componentId:"sc-52df46f8-2"})`
67  width: 100%;
68  height: 100%;
69  object-fit: cover;
70
71  position: absolute;
72  inset: 0;
73  filter: brightness(0.7);
74`,l=i.default.div.withConfig({displayName:"ProductPageHeroSection.styled__AnimatedContainer",componentId:"sc-52df46f8-3"})`
75  position: relative;
76  display: flex;
77  flex-direction: column;
78  gap: 2rem;
79  padding: ${({theme:e})=>e.spacing[40]} 0 0;
80  z-index: 3;
81
82  ${a.breakpoint.up("sm")} {
83    justify-content: center;
84    ${({$hasFooterLinks:e,$hasReviews:t})=>e&&t?i.css`padding: 6rem 0 1rem 4rem;`:e?i.css`padding: 4rem 0 1rem 4rem;`:t?i.css`padding: 6rem 0 3.5rem 4rem;`:i.css`padding: 2rem 0 1rem 4rem;`}
85  }
86`,r=i.default.div.withConfig({displayName:"ProductPageHeroSection.styled__TextsContainer",componentId:"sc-52df46f8-4"})`
87  display: flex;
88  flex-direction: column;
89  align-items: center;
90  justify-content: center;
91  gap: 2rem;
92  padding: 0 1.75rem;
93
94  ${a.breakpoint.up("sm")} {
95    align-items: flex-start;
96    gap: 1rem;
97    padding: 0;
98  }
99`,c=i.default.div.withConfig({displayName:"ProductPageHeroSection.styled__ActionsContainer",componentId:"sc-52df46f8-5"})`
100  display: grid;
101  gap: 1rem;
102  padding: 0 1.75rem;
103
104  ${a.breakpoint.up("sm")} {
105    display: flex;
106    flex-wrap: wrap;
107    padding: 0;
108  }
109`,p=i.default.div.withConfig({displayName:"ProductPageHeroSection.styled__DesktopVariant",componentId:"sc-52df46f8-6"})`
110  display: none;
111  ${a.breakpoint.up("sm")} {
112    display: block;
113    grid-column: 1 / -1;
114  }
115`,m=i.default.div.withConfig({displayName:"ProductPageHeroSection.styled__MobileVariant",componentId:"sc-52df46f8-7"})`
116  display: grid;
117  gap: 1rem;
118
119  ${a.breakpoint.up("sm")} {
120    display: none;
121  }
122`,u=i.default.div.withConfig({displayName:"ProductPageHeroSection.styled__RatingsBadgeWrapper",componentId:"sc-52df46f8-8"})`
123  display: flex;
124  flex-direction: column;
125  gap: 0.5rem;
126
127  ${a.breakpoint.up("sm")} {
128    margin-top: auto;
129  }
130`,f=i.default.div.withConfig({displayName:"ProductPageHeroSection.styled__TrustPilotBadgeWrapper",componentId:"sc-52df46f8-9"})`
131  ${a.breakpoint.down("sm")} {
132    display: flex;
133    align-items: center;
134    justify-content: center;
135  }
136`,g=i.default.div.withConfig({displayName:"ProductPageHeroSection.styled__GoogleRatingBadgeWrapper",componentId:"sc-52df46f8-10"})`
137  ${a.breakpoint.down("sm")} {
138    display: flex;
139    align-items: center;
140    justify-content: center;
141  }
142`,h=(0,i.default)((0,n.typographyForStyled)({variant:"h1"})).withConfig({displayName:"ProductPageHeroSection.styled__Title",componentId:"sc-52df46f8-11"})`
143  color: ${({theme:e})=>e.colors.white};
144  text-align: center;
145  margin: 0;
146  padding: 0 0.25rem;
147
148  ${a.breakpoint.up("sm")} {
149    text-align: left;
150    padding: 0;
151  }
152`,x=i.default.p.withConfig({displayName:"ProductPageHeroSection.styled__Description",componentId:"sc-52df46f8-12"})`
153  font-size: clamp(${({theme:e})=>e.sizes[18]}, 2vw, ${({theme:e})=>e.spacing[24]});
154  line-height: 1.3;
155  font-weight: 300;
156  color: ${({theme:e})=>e.colors.white};
157  text-align: center;
158
159  ${a.breakpoint.up("sm")} {
160    text-align: left;
161    line-height: 1.4;
162  }
163`,y=i.default.div.withConfig({displayName:"ProductPageHeroSection.styled__HeroFooterLinksContainer",componentId:"sc-52df46f8-13"})`
164  position: relative;
165  z-index: 3;
166  display: grid;
167  grid-auto-flow: column;
168  grid-auto-columns: auto;
169
170  grid-column: 1 / -1;
171
172  color: ${({theme:e,$textColor:t})=>t||e.colors.white};
173
174  ${a.breakpoint.up("sm")} {
175    padding: 1rem 1rem 2rem 4rem;
176    grid-auto-columns: minmax(${({theme:e})=>e.sizes[130]}, auto);
177    gap: 2rem;
178    justify-content: start;
179  }
180`;var _=e.i(126659),j=e.i(759200),b=e.i(611881),v=e.i(449657),k=e.i(474039),P=e.i(319815),w=e.i(959882);e.s(["default",0,({title:e,subtitle:i,callToActions:n,trustpilotBadge:a,googleRatingBadge:$,footerLinks:S,backgroundMedia:C})=>{let I=n?.length>0,N=a?.isEnabled||$?.isEnabled,H=S&&S?.length>0,T=n?.slice(0,2)||[],z=C?.[0]?.type==="video",B=C?.[0]?.value,L=C?.[0]?.value,W=(0,w.createImageLoader)({aspectRatio:"4:3"});return(0,t.jsxs)(s,{children:[(0,t.jsxs)(o,{children:[z?(0,t.jsx)(k.default,{...L,options:{...L.options,fill:!0,darken:!0}}):B?.src?(0,t.jsx)(d,{src:(0,P.getFallbackImageSrc)({src:B.src},W),alt:B.alt,title:"Hero image",srcSet:(0,P.getSourceSetAttribute)({src:B.src}
180,W),sizes:"(max-width: 1286px) 100vw, 1286px",style:{objectPosition:B.position??"top center"}}):null,(0,t.jsxs)(l,{$hasFooterLinks:H,$hasReviews:N,children:[(0,t.jsxs)(r,{children:[(0,t.jsx)(h,{children:e}),(0,t.jsx)(x,{children:i})]}),I&&(0,t.jsx)(p,{children:(0,t.jsx)(c,{children:T.map((e,i)=>(0,t.jsx)(j.default,{size:"md",fullWidth:!0,...e},`hero-action-button-${i}`))})}),N&&(0,t.jsxs)(u,{children:[a?.isEnabled&&(0,t.jsx)(f,{children:(0,t.jsx)(b.default,{isEnabled:a.isEnabled,theme:"dark"})}),$?.isEnabled&&(0,t.jsx)(g,{children:(0,t.jsx)(v.default,{isEnabled:$.isEnabled,theme:"dark"})})]})]}),(0,t.jsx)(p,{children:H&&(0,t.jsx)(y,{children:S?.map((e,i)=>(0,t.jsx)(_.default,{...e},i+(e?.link?.label??"")))})})]}),(0,t.jsxs)(m,{children:[H&&(0,t.jsx)(y,{$textColor:"#000",children:S?.map((e,i)=>(0,t.jsx)(_.default,{...e},i+(e?.link?.label??"")))}),I&&(0,t.jsx)(c,{children:T.map((e,i)=>(0,t.jsx)(j.default,{size:"md",fullWidth:!0,...e},`hero-action-button-${i}`))})]})]})}],541231);var $=e.i(404188),S=e.i(416549),C=e.i(855293);e.s(["default",0,(e,i={})=>n=>n.map((n,a)=>{let{type:s,value:o,id:d}=n,l=e[s];if(!l)return console.warn(`Could not find "${n.type}" in section component dictionary`),!(0,$.isProduction)()&&(0,t.jsx)(S.default,{type:"component",data:o},d+a)||null;let r="function"==typeof i?i(n):{};return(0,t.jsx)(C.SectionTrackingProvider,{sectionType:s,sectionId:d,children:(0,t.jsx)(l,{...o,...r})},d+a)})],457615)},654345,e=>{"use strict";var t=e.i(318008),i=e.i(34252),n=e.i(44402),a=e.i(541231),s=e.i(891369),o=e.i(626010);let d=(0,e.i(457615).default)({main_page_hero_section:s.default,hero_with_slider_section:n.default,product_page_hero_section:a.default});e.s(["default",0,({content:e,layout:n})=>{let[a]=e?.banner||[],s=e?.hero_section?.type,l=e?.hero_section?[e.hero_section]:[];return(0,t.jsxs)(i.default,{banner:a,...n,heroType:s,children:[d(l),(0,o.default)(e?.sections)]})}])},628163,e=>{e.n(e.i(654345))},367150,e=>{e.v(t=>Promise.all(["static/chunks/0rvgnsco3e198.js"].map(t=>e.l(t))).then(()=>t(471673)))},801953,e=>{e.v(t=>Promise.all(["static/chunks/01wy5g_l89pho.js"].map(t=>e.l(t))).then(()=>t(507317)))},946229,e=>{e.v(t=>Promise.all(["static/chunks/0dn9v6eb1m0tw.js"].map(t=>e.l(t))).then(()=>t(995078)))},229137,e=>{e.v(t=>Promise.all(["static/chunks/0wtcdvl1.67tx.js"].map(t=>e.l(t))).then(()=>t(793391)))},980009,e=>{e.v(t=>Promise.all(["static/chunks/18cq1op5g093..js"].map(t=>e.l(t))).then(()=>t(1422)))},459766,e=>{e.v(t=>Promise.all(["static/chunks/0g2eh8wr02rf~.js","static/chunks/11dpp5vh9_0sj.js","static/chunks/0qxri135s0rf1.js"].map(t=>e.l(t))).then(()=>t(313877)))},139920,e=>{e.v(t=>Promise.all(["static/chunks/0j4xt~-qa094c.js","static/chunks/0qxri135s0rf1.js","static/chunks/11dpp5vh9_0sj.js","static/chunks/0pkeipo9vfo4e.js"].map(t=>e.l(t))).then(()=>t(992809)))},989155,e=>{e.v(t=>Promise.all(["static/chunks/0x3p1fp3v5zas.js"].map(t=>e.l(t))).then(()=>t(429602)))},223368,e=>{e.v(t=>Promise.all(["static/chunks/0h53dpjn1nsn0.js"].map(t=>e.l(t))).then(()=>t(662214)))}]);
181
182//# debugId=db9eecdc-3b3c-0eb6-7288-d7c8c87489b3

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.