PageSourceSearch

https://www.vanguardrenewables.com/_next/static/chunks/pages/_app-e4e0d2a64ae5af0d.js

js vanguardrenewables.com collected 2026-10-02 02:12:46 UTC 8,347 bytes, 5 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{4184:function(e,n){var t;/*!
2	Copyright (c) 2018 Jed Watson.
3	Licensed under the MIT License (MIT), see
4	http://jedwatson.github.io/classnames
5*/!function(){"use strict";var r={}.hasOwnProperty;function classNames(){for(var e=[],n=0;n<arguments.length;n++){var t=arguments[n];if(t){var o=typeof t;if("string"===o||"number"===o)e.push(t);else if(Array.isArray(t)){if(t.length){var s=classNames.apply(null,t);s&&e.push(s)}}else if("object"===o){if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]")){e.push(t.toString());continue}for(var a in t)r.call(t,a)&&t[a]&&e.push(a)}}}return e.join(" ")}e.exports?(classNames.default=classNames,e.exports=classNames):void 0!==(t=(function(){return classNames}).apply(n,[]))&&(e.exports=t)}()},6840:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return t(9552)}])},5523:function(e,n,t){"use strict";t.d(n,{z:function(){return Button}});var r=t(5893),o=t(7294),s=t(4184),a=t.n(s);t(8599);let i={"#FAFAFA":"light-grey","#F9F9E9":"organic-white","#FFFFFF":"white","#003314":"dark-green","#23D244":"light-green",DARK:"dark",LIGHT:"dark-green"},Button=e=>{let{content:n,className:t,theme:s,onClick:c,type:l="button",div:u}=e,d=a()({button:!0,["button--".concat(i[null==s?void 0:s.toUpperCase()])]:s,["".concat(t)]:!0}),f=(0,o.useRef)(),[g,h]=(0,o.useState)(0);return((0,o.useEffect)(()=>{var e,n;if(!(null==f?void 0:f.current)||(null==f?void 0:f.current.offsetWidth)===g)return;(null==f?void 0:null===(e=f.current)||void 0===e?void 0:e.offsetWidth)&&h(null==f?void 0:null===(n=f.current)||void 0===n?void 0:n.offsetWidth);let handleResize=()=>{var e,n;(null==f?void 0:null===(e=f.current)||void 0===e?void 0:e.offsetWidth)&&h(null==f?void 0:null===(n=f.current)||void 0===n?void 0:n.offsetWidth)};return handleResize(),window.addEventListener("resize",handleResize),()=>window.removeEventListener("resize",handleResize)}),u)?(0,r.jsx)("div",{className:d,onClick:()=>{c&&c()},role:"button",tabIndex:0,ref:f,onKeyDown:()=>{c&&c()},children:(0,r.jsx)("span",{className:"button__content",style:{backgroundSize:"".concat(2*g,"px 100%")},children:n},g)}):(0,r.jsx)("button",{className:d,onClick:()=>{c&&c()},type:l,ref:f,children:(0,r.jsx)("span",{className:"button__content",style:{backgroundSize:"".concat(2*g,"px 100%")},children:n})})}},9552:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return MyApp}});var r=t(5893),o=t(4298),s=t.n(o),a=t(7294);t(5139),t(2446);var i=t(5523),c=t(2964);let handleCookieChange=()=>{window.localStorage.setItem("cookies_consent","true"),window.dispatchEvent(new Event("cookie_change"))},CookieBanner=e=>{let{message:n,buttonText:t,backgroundColor:o}=e;return(0,r.jsx)("div",{className:"cookie-banner",style:{background:null==o?void 0:o.hex,color:o?(0,c.z)(null==o?void 0:o.hex):"#000"},children:(0,r.jsxs)("div",{className:"container",children:[(0,r.jsx)("div",{className:"cookie-banner__message",dangerouslySetInnerHTML:{__html:n}}),(0,r.jsx)(i.z,{className:"cookie-banner__button",content:t,theme:null==o?void 0:o.hex,onClick:handleCookieChange})]})})};var l=t(1163),u=t.n(l);function saveScrollPos(e){let n={x:window.scrollX,y:window.scrollY};sessionStorage.setItem(e,JSON.stringify(n))}function restoreScrollPos(e){let n=JSON.parse(sessionStorage.getItem(e));n&&window.scrollTo(n.x,n.y)}function MyApp(e){let{Component:n,pageProps:t}=e,[o,i]=(0,a.useState)(!0),c=(0,l.useRouter)();return!function(e){let n=(0,a.useRef)(!1);(0,a.useEffect)(()=>{if(window.history.scrollRestoration="manual","scrollRestoration"in window.history){n.current&&restoreScrollPos(e.asPath);let onBeforeUnload=n=>{saveScrollPos(e.asPath),delete n.returnValue},onRouteChangeStart=()=>{saveScrollPos(e.asPath)},onRouteChangeComplete=e=>{n.current&&(restoreScrollPos(e),setTimeout(()=>{n.current=!1},100))};return window.addEventListener("beforeunload",onBeforeUnload),u().events.on("routeChangeStart",onRouteChangeStart),u().events.on("routeChangeComplete",onRouteChangeComplete),u().beforePopState(()=>(n.current=!0,!0)),()=>{window.removeEventListener("beforeunload",onBeforeUnload),u().events.off("routeChangeStart",onRouteChangeStart),u().events.off("routeChangeComplete",onRouteChangeComplete),u().beforePopState(()=>!0)}}},[e])}(c),(0,a.useEffect)(()=>{i("true"===window.localStorage.getItem("cookies_consent")),window.addEventListener("cookie_change",()=>{i("true"===window.localStorage.getItem("cookies_consent"))})},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n,{...t}),o&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(s(),{id:"rb2b-script",strategy:"afterInteractive",children:'\n            !function () {\n              var reb2b = window.reb2b = window.reb2b || [];\n              if (reb2b.invoked) return;\n              reb2b.invoked = true;\n              reb2b.methods = ["identify", "collect"];\n              reb2b.factory = function (method) {\n                return function () {\n                  var args = Array.prototype.slice.call(arguments);\n                  args.unshift(method);\n                  reb2b.push(args);\n                  return reb2b;\n                };\n              };\n              for (var i = 0; i < reb2b.methods.length;
5 i++) {\n                var key = reb2b.methods[i];\n                reb2b[key] = reb2b.factory(key);\n              }\n              reb2b.load = function (key) {\n                var script = document.createElement("script");\n                script.type = "text/javascript";\n                script.async = true;\n                script.src = "https://s3-us-west-2.amazonaws.com/b2bjsstore/b/" + key + "/GOYPYHD3JVOX.js.gz";\n                var first = document.getElementsByTagName("script")[0];\n                first.parentNode.insertBefore(script, first);\n              };\n              reb2b.SNIPPET_VERSION = "1.0.1";\n              reb2b.load("GOYPYHD3JVOX");\n            }();\n            '}),(0,r.jsx)(s(),{async:!0,src:"https://www.googletagmanager.com/gtag/js?id=AW-10865383823"}),(0,r.jsx)(s(),{id:"google-analytics",strategy:"afterInteractive",children:"\n            window.dataLayer = window.dataLayer || [];\n            function gtag(){dataLayer.push(arguments);}\n            gtag('js', new Date());\n\n            gtag('config', 'AW-10865383823');\n\n          "}),(0,r.jsx)(s(),{id:"gtm-script",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"\n            (function(w,d,s,l,i){\n              w[l]=w[l]||[];\n              w[l].push({'gtm.start': new Date().getTime(), event:'gtm.js'});\n              var f=d.getElementsByTagName(s)[0],\n              j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';\n              j.async=true;
5j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;\n              f.parentNode.insertBefore(j,f);\n            })(window,document,'script','dataLayer','GTM-TLJTPSTV');\n          "}}),(0,r.jsx)(s(),{id:"leadfeeder",strategy:"afterInteractive",children:"\n              (function(ss, ex) {\n                window.ldfdr = window.ldfdr || function() {\n                  (ldfdr._q = ldfdr._q || []).push([].slice.call(arguments));\n                };\n                (function(d, s) {\n                  var fs = d.getElementsByTagName(s)[0];\n                  function ce(src) {\n                    var cs = d.createElement(s);\n                    cs.src = src;\n                    cs.async = 1;\n                    fs.parentNode.insertBefore(cs, fs);\n                  }\n                  ce('https://sc.lfeeder.com/lftracker_v1_' + ss + (ex ? '_' + ex : '') + '.js');\n                })(document, 'script');\n              })('Xbp1oaE9zokaEdVj');\n            "})]}),!o&&(0,r.jsx)(CookieBanner,{...t.cookieBanner})]})}},2964:function(e,n,t){"use strict";t.d(n,{z:function(){return textColor}});let textColor=e=>{let n=e.replace("#",""),t=Number.parseInt(n.slice(0,2),16),r=Number.parseInt(n.slice(2,4),16),o=Number.parseInt(n.slice(4,6),16);return(299*t+587*r+114*o)/1e3>=128?"#212121":"#ffffff"}},8599:function(){},2446:function(){},5139:function(){},1163:function(e,n,t){e.exports=t(9974)},4298:function(e,n,t){e.exports=t(5354)}},function(e){var __webpack_exec__=function(n){return e(e.s=n)};e.O(0,[774,179],function(){return __webpack_exec__(6840),__webpack_exec__(9974)}),_N_E=e.O()}]);

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.