1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5441],{16243:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/seaiSolarPVCampaign",function(){return r(82079)}])},82079:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return g}});var n,u=r(98788),a=r(70865),o=r(96670),i=r(22970),s=r(52322),l=r(72394),d=r(46363),c=r(19141),f=r(62e3),h=r(14232),p=r(71491),_=r(25237),v=r.n(_),b="SEAI_SOLAR_PV",m=v()(function(){return Promise.all([r.e(3591),r.e(9021),r.e(7466),r.e(6294),r.e(4497),r.e(5128),r.e(4412),r.e(1686),r.e(7793),r.e(6092),r.e(7544),r.e(7637),r.e(5222),r.e(5172),r.e(1195),r.e(7723),r.e(4205),r.e(1444)]).then(r.bind(r,1444)).then(function(e){return e.SolarRegisterInterestPage})},{loadableGenerated:{webpack:function(){return[1444]}}}),y=v()(function(){return Promise.resolve().then(r.bind(r,19141)).then(function(e){return e.CustomError})},{loadableGenerated:{webpack:function(){return[19141]}}});function g(e){var t=(0,d.Ed)().clientRender;return!0===e.error?(0,s.jsx)(y,{statusCode:e.statusCode||500,error:e.errorObject}):(0,s.jsx)(c.Layout,{lightBlueLayout:e.isNewBrand,children:(0,s.jsx)(l.e,{children:t((0,s.jsx)(m,(0,o.Z)((0,a.Z)({},e),{offerCode:b})))})})}g.getInitialProps=(n=(0,u.Z)(function(e){var t,n,u,a,o,s,l,d,c,_,v,m;return(0,i.__generator)(this,function(i){switch(i.label){case 0:t=e.store,n=e.res,u=e.req,i.label=1;case 1:return i.trys.push([1,12,,15]),(0,p.sT)(t,n,u),[4,(0,h.Qi)(t)];case 2:return i.sent(),[4,(0,f.HN)(t)];case 3:return i.sent(),[4,Promise.resolve().then(r.bind(r,98461))];case 4:return s=i.sent().fetchSingleContentItem,[4,Promise.resolve().then(r.bind(r,56009))];case 5:return l=i.sent().fetchServicesProductCatalog,[4,Promise.resolve().then(r.bind(r,64226))];case 6:return d=i.sent().selectProductOfferOrBreakdown,[4,Promise.resolve().then(r.bind(r,54187))];case 7:return c=i.sent().setSaveChosenProductOfferAction,[4,s({reducerName:"serviceBooking",kenticoPage:"service_booking",depth:5,store:t})];case 8:return i.sent(),[4,l(t)];case 9:return i.sent(),[4,s({reducerName:"serviceHub",kenticoPage:"service_page",depth:5,store:t})];case 10:return i.sent(),[4,s({reducerName:"joinUs",kenticoPage:"join_us",store:t,depth:8})];case 11:return i.sent(),_=d(b)(t.getState()),t.dispatch(c({bookingProductOffer:_})),[2,{isNewBrand:null===(a=t.getState().featureFlags)||void 0===a?void 0:null===(o=a.content)||void 0===o?void 0:o.isNewBrandServiceBookingEnabled}];case 12:return v=i.sent(),[4,r.e(7298).then(r.bind(r,87298))];case 13:return[4,(0,i.sent().handleErrorPage)(v,t.dispatch,n)];case 14:return[2,i.sent()];case 15:return[2]}})}),function(e){return n.apply(this,arguments)})},95805:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(70237).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=o.default,a=(null==t?void 0:t.suspense)?{}:{loading:function(e){return e.error,e.isLoading,e.pastDelay,null}};if(n(e,Promise)?a.loader=function(){return e}:"function"==typeof e?a.loader=e:"object"==typeof e&&(a=u({},a,e)),(a=u({},a,t)).suspense&&(delete a.ssr,delete a.loading),a.loadableGenerated&&delete(a=u({},a,a.loadableGenerated)).loadableGenerated,"boolean"==typeof a.ssr&&!a.suspense){if(!a.ssr)return delete a.ssr,i(r,a);delete a.ssr}return r(a)},t.noSSR=i;var u=r(59419).Z,a=r(23903).Z,o=(a(r(2784)),a(r(42060)));function i(e,t){return delete t.webpack,delete t.modules,e(t)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},46941:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoadableContext=void 0;var n=(0,r(23903).Z)(r(2784)).default.createContext(null);t.LoadableContext=n},42060:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(60616).Z,u=r(90416).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(59419).Z,o=(0,r(23903).Z)(r(2784)),i=r(46941),s=r(2784).useSyncExternalStore,l=[],d=[],c=!1;function f(e){var t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(function(e){return r.loading=!1,r.loaded=e,e}).catch(function(e){throw r.loading=!1,r.error=e,e}),r}var h=function(){function e(t,r){n(this,e),this._loadFn=t,this._opts=r,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return u(e,[{key:"promise",value:function(){return this._res.promise}},{key:"retry",value:function(){var e=this;this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};var t=this._res,r=this._opts;t.loading&&("number"==typeof r.delay&&(0===r.delay?this._state.pastDelay=!0:this._delay=setTimeout(function(){e._update({pastDelay:!0})},r.delay)),"number"==typeof r.timeout&&(this._timeout=setTimeout(function(){e._update({timedOut:!0})},r.timeout))),this._res.promise.then(function(){e._update({}),e._clearTimeouts()}).catch(function(t){e._update({}),e._clearTimeouts()}),this._update({})}},{key:"_update",value:function(e){this._state=a({},this._state,{error:this._res.error,loaded:this._res.loaded,loading:this._res.loading},e),this._callbacks.forEach(function(e){return e()})}},{key:"_clearTimeouts",value:function(){clearTimeout(this._delay),clearTimeout(this._timeout)}},{key:"getCurrentValue",value:function(){return this._state}},{key:"subscribe",value:function(e){var t=this;return this._callbacks.add(e),function(){t._callbacks.delete(e)}}}]),e}();function p(e){return function(e,t){var r=function(){if(!p){var t=new h(e,f);p={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return p.promise()},n=function(){r();var e=o.default.useContext(i.LoadableContext);
1e&&Array.isArray(f.modules)&&f.modules.forEach(function(t){e(t)})},u=function(e,t){n();var r=s(p.subscribe,p.getCurrentValue,p.getCurrentValue);return o.default.useImperativeHandle(t,function(){return{retry:p.retry}},[]),o.default.useMemo(function(){var t;return r.loading||r.error?o.default.createElement(f.loading,{isLoading:r.loading,pastDelay:r.pastDelay,timedOut:r.timedOut,error:r.error,retry:p.retry}):r.loaded?o.default.createElement((t=r.loaded)&&t.__esModule?t.default:t,e):null},[e,r])},l=function(e,t){return n(),o.default.createElement(f.lazy,a({},e,{ref:t}))},f=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null,suspense:!1},t);f.suspense&&(f.lazy=o.default.lazy(f.loader));var p=null;if(!c){var _=f.webpack?f.webpack():f.modules;_&&d.push(function(e){var t=!0,n=!1,u=void 0;try{for(var a,o=_[Symbol.iterator]();!(t=(a=o.next()).done);t=!0){var i=a.value;if(-1!==e.indexOf(i))return r()}}catch(s){n=!0,u=s}finally{try{t||null==o.return||o.return()}finally{if(n)throw u}}})}var v=f.suspense?l:u;return v.preload=function(){return r()},v.displayName="LoadableComponent",o.default.forwardRef(v)}(f,e)}function _(e,t){for(var r=[];e.length;){var n=e.pop();r.push(n(t))}return Promise.all(r).then(function(){if(e.length)return _(e,t)})}p.preloadAll=function(){return new Promise(function(e,t){_(l).then(e,t)})},p.preloadReady=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise(function(t){var r=function(){return c=!0,t()};_(d,e).then(r,r)})},window.__NEXT_PRELOADREADY=p.preloadReady,t.default=p},72394:function(e,t,r){"use strict";r.d(t,{e:function(){return i}});var n=r(52322),u=r(75023),a=r(67107),o=r(29051),i=function(e){var t=(0,o.useSelector)(a.iI);return t&&t.isDown?(0,n.jsx)(u.m,{}):(0,n.jsx)(n.Fragment,{children:e.children})}},25237:function(e,t,r){e.exports=r(95805)}},function(e){e.O(0,[6425,2881,3691,583,9141,9774,2888,179],function(){return e(e.s=16243)}),_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.