PageSourceSearch

https://www.bordgaisenergy.ie/_next/static/chunks/pages/subcategories-%5BcategoryId%5D-4e51fed946450533.js

js bordgaisenergy.ie collected 2026-09-24 11:17:18 UTC 8,354 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8841],{92386:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/subcategories-[categoryId]",function(){return n(8877)}])},8877:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return m}});var r,a=n(98788),u=n(70865),o=n(22970),i=n(52322),l=n(46363),s=n(89177),c=n(19141),d=n(62e3),f=n(14232),p=n(58382),h=n(25237),_=n.n(h),b=_()(function(){return Promise.all([n.e(8401),n.e(4424),n.e(7466),n.e(6294),n.e(4497),n.e(5128),n.e(7960),n.e(3242),n.e(7415)]).then(n.bind(n,23689)).then(function(e){return e.HelpCategory})},{loadableGenerated:{webpack:function(){return[23689]}}}),v=_()(function(){return Promise.all([n.e(8401),n.e(4424),n.e(7466),n.e(6294),n.e(4497),n.e(5128),n.e(7960),n.e(3242),n.e(7415)]).then(n.bind(n,23689)).then(function(e){return e.HelpCategoryV2})},{loadableGenerated:{webpack:function(){return[23689]}}}),y=_()(function(){return Promise.resolve().then(n.bind(n,19141)).then(function(e){return e.CustomError})},{loadableGenerated:{webpack:function(){return[19141]}}});function m(e){var t=(0,l.Ed)().clientRender;return!0===e.error?(0,i.jsx)(y,{statusCode:500,error:e.errorObject}):!0===e.isSalesforceHelpEnabled&&e.section!==s.b3C.BUSINESS?(0,i.jsx)(c.Layout,{lightBlueLayout:!0,children:t((0,i.jsx)(v,(0,u.Z)({},e)))}):(0,i.jsx)(c.Layout,{lightBlueLayout:!0,children:t((0,i.jsx)(b,(0,u.Z)({},e)))})}m.getInitialProps=(r=(0,a.Z)(function(e){var t,r,u,i,l,c,h,_,b,v,y,m,g,P,w,k,E,C,S,O,j,x,T,L,N;return(0,o.__generator)(this,function(O){switch(O.label){case 0:t=e.store,r=e.query,u=e.asPath,i=e.res,O.label=1;case 1:return O.trys.push([1,13,,16]),_=r.categoryId,b=r.url,v=null==u?void 0:u.split("/")[1],y=null===(l=t.getState().featureFlags)||void 0===l?void 0:null===(c=l.content)||void 0===c?void 0:null===(h=c.knowledgeFeatures)||void 0===h?void 0:h.isSalesforceHelpEnabled,[4,Promise.all([(0,f.Qi)(t),(0,d.HN)(t),(0,a.Z)(function(){var e;return(0,o.__generator)(this,function(e){switch(e.label){case 0:return[4,Promise.resolve().then(n.bind(n,98461))];case 1:return[2,(0,e.sent().fetchContentPage)({reducerName:"helpPage",kenticoPage:v===s.b3C.BUSINESS?"business_help_page":"help_page",depth:2,store:t})]}})})()])];case 2:if(O.sent(),m=t.getState().helpPage.content,!(!y||v===s.b3C.BUSINESS))return[3,10];if(!(P=null===(g=m.helpTopicBlocks)||void 0===g?void 0:g.find(function(e){return e.url===(b||_)})))return[3,7];return[4,Promise.resolve().then(n.bind(n,49988))];case 3:return w=O.sent().HelpPageAction,[4,Promise.resolve().then(n.bind(n,58382))];case 4:return E=(k=O.sent()).fetchSubcategories,C=k.fetchFaqs,S={topic:P.topicId,topicTitle:P.title},t.dispatch(w.setActiveTopic(S)),[4,E(t.dispatch,P.topicId)];case 5:return O.sent(),[4,Promise.all((void 0===(j=(0,t.getState().faqList).subcategories)?[]:j).map(function(e){var n=e.subcategoryId;return C(t.dispatch,n)}))];case 6:return O.sent(),[3,9];case 7:return[4,Promise.resolve().then(n.bind(n,11021))];case 8:throw new(O.sent()).MissingContentError("Help Topic Block");case 9:return[3,12];case 10:return[4,(0,p.fetchSalesforceKnowledgeCategory)(_,t.dispatch).then(function(e){return e})];case 11:O.sent(),O.label=12;case 12:return[2,{isSalesforceHelpEnabled:y,section:v}];case 13:return L=O.sent(),[4,n.e(7298).then(n.bind(n,87298))];case 14:return[4,(0,O.sent().handleErrorPage)(L,t.dispatch,i)];case 15:return[2,O.sent()];case 16:return[2]}})}),function(e){return r.apply(this,arguments)})},95805:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(70237).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=o.default,u=(null==t?void 0:t.suspense)?{}:{loading:function(e){return e.error,e.isLoading,e.pastDelay,null}};if(r(e,Promise)?u.loader=function(){return e}:"function"==typeof e?u.loader=e:"object"==typeof e&&(u=a({},u,e)),(u=a({},u,t)).suspense&&(delete u.ssr,delete u.loading),u.loadableGenerated&&delete(u=a({},u,u.loadableGenerated)).loadableGenerated,"boolean"==typeof u.ssr&&!u.suspense){if(!u.ssr)return delete u.ssr,i(n,u);delete u.ssr}return n(u)},t.noSSR=i;var a=n(59419).Z,u=n(23903).Z,o=(u(n(2784)),u(n(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,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},46941:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LoadableContext=void 0;var r=(0,n(23903).Z)(n(2784)).default.createContext(null);t.LoadableContext=r},42060:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(60616).Z,a=n(90416).Z;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=n(59419).Z,o=(0,n(23903).Z)(n(2784)),i=n(46941),l=n(2784).useSyncExternalStore,s=[],c=[],d=!1;function f(e){var t=e(),n={loading:!0,loaded:null,error:null};return n.promise=t.then(function(e){return n.loading=!1,n.loaded=e,e}).catch(function(e){throw n.loading=!1,n.error=e,e}),n}var p=function(){function e(t,n){r(this,e),this._loadFn=t,this._opts=n,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}return a(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,n=this._opts;t.loading&&("number"==typeof n.delay&&(0===n.delay?this._state.pastDelay=!0:this._delay=setTimeout(function(){e._update({pastDelay:!0})},n.delay)),"number"==typeof n.timeout&&(this._timeout=setTimeout(function(){e._update({timedOut:!0})},n.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=u({},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 h(e){return function(e,t){var n=function(){if(!h){var t=new p(e,f);h={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return h.promise()},r=function(){n();var e=o.default.useContext(i.LoadableContext);e&&Array.isArray(f.modules)&&f.modules.forEach(function(t){e(t)})},a=function(e,t){r();var n=l(h.subscribe,h.getCurrentValue,h.getCurrentValue);return o.default.useImperativeHandle(t,function(){return{retry:h.retry}},[]),o.default.useMemo(function(){var t;return n.loading||n.error?o.default.createElement(f.loading,{isLoading:n.loading,pastDelay:n.pastDelay,timedOut:n.timedOut,error:n.error,retry:h.retry}):n.loaded?o.default.createElement((t=n.loaded)&&t.__esModule?t.default:t,e):null},[e,n])},s=function(e,t){return r(),o.default.createElement(f.lazy,u({},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 h=null;if(!d){var _=f.webpack?f.webpack():f.modules;_&&c.push(function(e){var t=!0,r=!1,a=void 0;try{for(var u,o=_[Symbol.iterator]();!(t=(u=o.next()).done);t=!0){var i=u.value;if(-1!==e.indexOf(i))return n()}}catch(l){r=!0,a=l}finally{try{t||null==o.return||o.return()}finally{if(r)throw a}}})}var b=f.suspense?s:a;return b.preload=function(){return n()},b.displayName="LoadableComponent",o.default.forwardRef(b)}(f,e)}function _(e,t){for(var n=[];e.length;){var r=e.pop();n.push(r(t))}return Promise.all(n).then(function(){if(e.length)return _(e,t)})}h.preloadAll=function(){return new Promise(function(e,t){_(s).then(e,t)})},h.preloadReady=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return new Promise(function(t){var n=function(){return d=!0,t()};_(c,e).then(n,n)})},window.__NEXT_PRELOADREADY=h.preloadReady,t.default=h},25237:function(e,t,n){e.exports=n(95805)}},function(e){e.O(0,[6425,2881,3691,583,9141,9774,2888,179],function(){return e(e.s=92386)}),_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.