PageSourceSearch

https://www.bordgaisenergy.ie/_next/static/chunks/15.cfe65c1f63df996a.js

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

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[15],{99945:function(e,n,t){"use strict";t.d(n,{r:function(){return s}});var i=t(52322),r=t(89177),a=t(79962),s=function(e){var n=e.onlyNumber,t=void 0!==n&&n,s=e.noStrong,c=(0,a.kh)(),o=function(){return c.isMobile?(0,i.jsx)("a",{title:r.nG9,href:"tel:".concat(r.nG9),children:r.nG9}):r.nG9};return!1===(void 0!==s&&s)?(0,i.jsxs)(i.Fragment,{children:[!1===t&&(0,i.jsx)("span",{children:"Call: "}),(0,i.jsx)("span",{className:"support-phone-number",children:(0,i.jsx)("strong",{children:o()})})]}):(0,i.jsxs)(i.Fragment,{children:[!1===t&&(0,i.jsx)("span",{children:"Call: "}),(0,i.jsx)("span",{className:"support-phone-number",children:o()})]})}},88442:function(e,n,t){"use strict";t.r(n),t.d(n,{SwitchPlan:function(){return ef}});var i,r=t(70865),a=t(96670),s=t(52322);t(20799);var c,o=t(50862),l=t(31697),d=t(79045),u=t(92540),m=t(17826),h=t(30156),p=t(2784),f=t(29051),x=function(e){var n=e.account,t=e.isExistingDualFuel,i=e.isAccountLoaded,r=(0,p.useState)(!1),a=r[0],s=r[1],c=(0,p.useState)(!1),o=c[0],d=c[1],u=(0,p.useState)(!1),m=u[0],x=u[1],v=(0,f.useDispatch)(),g=(0,f.useSelector)(h.G6,f.shallowEqual),b=g.account.details[n],_=(0,f.useSelector)(l.selectProductStatus,f.shallowEqual),w=_&&_.mprnInformation,j=(0,f.useSelector)((0,h.Xm)(null==b?void 0:b.account.premises[0].premisesId),f.shallowEqual);return(0,p.useEffect)(function(){o||(v(h.Jj.getMyAccounts()),v(h.Jj.getAccountDetail(n)),d(!0))},[]),(0,p.useEffect)(function(){!w&&!m&&b&&j&&""!==j.mprn&&((0,l.fetchTheProducts)(v,!1,j.mprn,t),x(!0))},[b,t,j,m,w]),(0,p.useEffect)(function(){b&&g&&i&&w&&s(!0)},[b,g,i,w]),{isDataLoaded:a,mprnInformation:w,accountInfo:b,mprnGprn:j}},v=t(61403),g=function(e){var n=e.product,t=e.mprnInformation,i=e.isExistingDualFuel,a=(0,p.useState)({confirmed:!0,serviceDown:!1,information:t}),s=a[0],c=a[1],o=(0,p.useState)({confirmed:i,serviceDown:!1,information:{valid:!0,gasMeterRead:!1}}),l=o[0],u=o[1],m=(0,v.yU)();return(0,p.useEffect)(function(){c({confirmed:!0,serviceDown:!1,information:t})},[t]),(0,p.useEffect)(function(){u({confirmed:i,serviceDown:!1,information:{valid:!0,gasMeterRead:(0,d.CT)(n)}})},[n,i]),{gprnState:l,mprnState:(0,r.Z)({},s,m)}},b=t(66888),_=function(e){var n=e.account,t=e.mprnGprnIndex,i=(0,p.useState)(),r=i[0],a=i[1],s=(0,p.useState)(),c=s[0],o=s[1],l=(0,f.useSelector)(m.K4,f.shallowEqual),d=(0,f.useSelector)(b.iC,f.shallowEqual);(0,p.useEffect)(function(){l&&l.content&&a(l.content),d&&o(d)},[l,d]);var u="/acc-mgmt/my-accounts/".concat(n,"/").concat(t),h="".concat(u,"/smartplans");return{switchPlanContent:r,changePlanContent:c,bookingsUrl:u,bookingsUrlSmart:h}};(c=i||(i={})).OfferDetails="OfferDetails",c.PriceAlert="PriceAlert",c.SwitchPlan="SwitchPlan";var w=function(e){var n=(0,p.useState)((0,d.I0)(e)?i.OfferDetails:i.SwitchPlan),t=n[0],r=n[1];return{currentStep:t,goToOfferDetailsStep:function(){return r(i.OfferDetails)},goToPriceAlertStep:function(){return r(i.PriceAlert)},goToSwitchPlanStep:function(){return r(i.SwitchPlan)}}},j=t(5632),y=(0,p.createContext)({}),S=function(){return(0,p.useContext)(y)};function N(e){var n=e.children,t=e.offerId,i=e.mprnGprnIndex,r=e.account,a=e.product,c=(0,j.useRouter)(),o=(0,p.useState)(!1),l=o[0],h=o[1],v=(0,p.useState)(!1),b=v[0],S=v[1],N=(0,f.useSelector)(m.WR,f.shallowEqual),P=w(a),T=P.currentStep,C=P.goToPriceAlertStep,D=P.goToSwitchPlanStep,A=(0,u.a6)(r),E=A.isExistingDualFuel,k=A.isAccountLoaded,I=x({account:r,isExistingDualFuel:E,isAccountLoaded:k}),R=I.isDataLoaded,L=I.mprnInformation,Z=I.accountInfo,F=I.mprnGprn,M=g({product:a,mprnInformation:L,isExistingDualFuel:E}),U=M.gprnState,B=M.mprnState,G=_({account:r,mprnGprnIndex:i}),q=G.switchPlanContent,O=G.changePlanContent,X=G.bookingsUrl,V=G.bookingsUrlSmart;return(0,p.useEffect)(function(){k&&R&&h(!0)},[k,R]),(0,s.jsx)(y.Provider,{value:{offerId:t,account:r,mprnGprnIndex:i,currentStep:T,isEverythingLoaded:l,product:a,mprnGprn:F,accountInfo:Z,gprnState:U,mprnState:B,switchPlanContent:q,changePlanContent:O,bookingsUrl:X,bookingsUrlSmart:V,priceAlertSubmitting:b,switchPlanState:N,onOfferSelected:function(){return C()},onPriceAlertCompleted:function(){S(!0),D()},onPriceAlertGoBack:function(){c.push({pathname:"/smartPlans",query:{account:r,mprnGprnIndex:i}},"/acc-mgmt/my-accounts/".concat(r,"/").concat(i,"/smartplans")),S(!1)},onSwitchPlanGoBack:function(){(0,d.I0)(a)?(C(),S(!1)):c.push({pathname:"/smartPlans",query:{account:r,mprnGprnIndex:i}},"/acc-mgmt/my-accounts/".concat(r,"/").concat(i,"/smartplans"))}},children:n})}var P=t(92377),T=t(86294),C=t(44497),D=t(99945),A=t(95937),E=t(62761),k=t(48939),I=t(6228),R=t(25128),L=t(13922),Z=t(72670),F=t.n(Z),M=function(e){var n=e.title,t=e.whatsNext,i=e.whatsNextParagraph;return(0,s.jsxs)("div",{className:"switch__plan__confirmation new-brand",children:[(0,s.jsx)("header",{className:"section-header section-header--mb",children:(0,s.jsx)("h2",{className:"section-header__title section-header__title--nomg align-center",children:(0,s.jsx)("strong",{children:n})})}),(0,s.jsxs)("div",{children:[(0,s.jsx)("div",{className:"switch__plan__confirmation__circle",children:(0,s.jsx)("span",{children:(0,s.jsx)(L.fB,{fillColour:"white",width:120,height:120})})}),(0,s.jsx)("div",{className:"switch__plan__confirmation__next",children:t}),(0,s.jsx)("div",{className:"switch__plan__confirmation__paragraph",children:F()(i)})]})]})},U=t(50734),B=t(5830),G=t(82453),q=t(61764),O=t(91686),X=t(73071),V=t(58933),H=t(25288),W=t(51603),Y=t(84134),J=t(70457),K=t(67107),z=t(30717),Q=t(12524),$=t.n(Q),ee=t(63397),en=t(65413),et=function(e){var n,t,i,c=e.content,l=e.submitting,x=e.accountInfo,g=e.product,b=e.returnUrl,_=e.gasAccountId,w=e.onGoBack,j=(0,A.cr)(),y=(0,R.gr)().gprnSchema,S=(0,E.jg)(),N=(0,v.rV)(),P=!!(N.information&&N.information.isLowConnectivity),T=(0,v.uV)(),C=(0,d.cE)(g),D=(0,f.useSelector)((0,h.Xm)(x.account.premises[0].premisesId),f.shallowEqual),k=(0,d.I0)(g),L=(0,f.useSelector)(J.Dn),Z=(0,d.nY)(g),M=(0,d.k7)(g),Q=(0,u.a6)(null==x?void 0:x.account.accountId).isExistingDualFuel,et=(0,p.useState)({showPaymentDetails:!1}),ei=et[0],er=et[1],ea=(0,f.useDispatch)(),es=(0,d.CT)(g)&&!Q;(0,p.useEffect)(function(){(x&&!1===x.account.isMandated||es)&&er(function(e){return(0,a.Z)((0,r.Z)({},e),{showPaymentDetails:!0})})},[x]);var ec=(0,p.useRef)(function(e){er(function(n){return(0,a.Z)((0,r.Z)({},n),{showPaymentDetails:e===m.X_.NEW})})}),eo=c.ibanHelperToolUrl,el=c.ibanHelperToolUrlLabel,ed=c.ibanErrorModal,eu=c.directDebitLink,em=c.bankAuthorisationLabel,eh=c.levelPayLink,ep=c.levelPayAccordionTitle,ef=c.levelPayAccordionContent,ex=c.nextButton,ev=c.formTitle,eg=c.encryptionText,eb=c.encryptionTitle,e_=c.rightToCancelTitle,ew=c.rightToCancelText,ej=c.serviceProvidedTerms,ey=c.serviceProvidedTermsDualFuelFixedRate,eS=c.serviceProvidedTermsElectricityFixedRate,eN=c.serviceProvidedTermsGasFixedRate,eP=c.paymentMethodTitle,eT=c.paymentMethodNew,eC=c.paymentMethodExisting,eD=c.hiveQuestions,eA=c.paymentDetailsLabel,eE=(0,f.useSelector)(K.r_,f.shallowEqual),ek=(0,d.SO)({product:g,serviceProvidedTermsDualFuelFixedRate:ey,serviceProvidedTerms:ej,serviceProvidedTermsElectricityFixedRate:eS,serviceProvidedTermsGasFixedRate:eN,isFixedRateTermsAndConditionsEnabled:eE}),eI=function(e){return e?{phoneNumberType:en.Z_().required((0,Y.q8)("Contact type")),phoneNumber:en.Z_().required((0,Y.q8)("Phone Number")).when(["phoneNumberType"],{is:function(e){return e===z.bB.MOBILE},then:en.Z_().min(10,(0,Y.kY)("Mobile number",10)).max(10,(0,Y.kY)("Mobile number",10)).matches(/^08/,"Mobile number must start with 08")}).when(["phoneNumberType","isHiveProduct"],{is:function(e){return e===z.bB.HOME||e===z.bB.BUSINESS},then:en.Z_().matches(/^\d{8,11}$/,(0,Y.Xo)("Number",8,11))})}:{}},eR=function(e,n){var t=c.meterRead;return e?(0,d.CT)(e)&&!Q?(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(O.fM,{gprn:t.gprn,formikProps:n,prnUrl:t.gprnHelpLink,meterReadingUrl:t.gasMeterReadingUrl,productIsExistingGas:!1,gasTitle:t.gasTitle})}):void 0:null},eL=function(e){ea((0,m.Uk)((0,r.Z)({order:e,offer:g,accountId:x.account.accountId,mprn:D&&D.mprn,existingElectricityAccountNumber:Z?null==D?void 0:D.elecAccountId:void 0},k&&L&&{highPriceAlert:L}
1)))},eZ=!1;g&&(eZ=g.isLevelPayRequired);var eF=ei.showPaymentDetails;return Q&&D&&""===D.gprn?(0,s.jsx)("div",{className:"align-center",children:(0,s.jsx)(o.a,{className:"blue"})}):(0,s.jsxs)("div",{className:"new-brand new-brand__new-font",children:[(0,s.jsx)("header",{className:"section-header section-header--mb-sm",children:(0,s.jsx)("h3",{className:"section-header__title switch__plan__form__title",children:ev})}),(0,s.jsxs)("main",{className:"payment",children:[(0,s.jsx)(ee.J9,{validateOnChange:!1,validationSchema:(t=(n={hiveSchema:S}).hiveSchema,(0,B.lA)({accountName:{fieldName:"paymentDetails.directDebitAccountName",schemaName:"directDebitAccountName"},bic:{fieldName:"paymentDetails.bic",schemaName:"bic"},iban:{fieldName:"paymentDetails.iban",schemaName:"iban",ibanHelperToolUrl:eo,ibanHelperToolUrlLabel:el,ibanErrorModal:ed}}),es?en.Ry().shape((0,r.Z)((0,a.Z)((0,r.Z)({paymentDetails:en.Ry((0,a.Z)((0,r.Z)({},(0,G.aA)(j,!ei.showPaymentDetails)),{termsAndConditionsServiceProvided:en.Xg().oneOf([!0],"You must agree to all statements")}))},t),{gasDetails:en.Ry((0,r.Z)({},(0,O.KJ)({isProductGasForExistingCustomer:M,accountNumberSchema:y}))),tenantType:en.Z_().when("isHiveProduct",{is:!0,then:en.Z_().required((0,Y.q8)("Tenant"))})}),(0,H.s)(C),eI(C))):en.Ry().shape((0,r.Z)((0,a.Z)((0,r.Z)({paymentDetails:en.Ry((0,a.Z)((0,r.Z)({},(0,G.aA)(j,!ei.showPaymentDetails)),{termsAndConditionsServiceProvided:en.Xg().oneOf([!0],"You must agree to all statements")}))},t),{tenantType:en.Z_().when("isHiveProduct",{is:!0,then:en.Z_().required((0,Y.q8)("Tenant"))})}),(0,H.s)(C),eI(C)))),onSubmit:eL,initialValues:{paymentDetails:{directDebitAccountName:"",bic:"",iban:"",levelPayDay:"",directDebitAuthorization:!1,termsAndConditionsAccepted:!1,termsAndConditionsLevelPayAccepted:!1,hasLevelPay:!!g&&g.isLevelPayRequired,billTerm:"",billDate:"",isLowConnectivity:P,snpOptOut:!0,isSmart:g&&(0,d.fo)(g),termsAndConditionsServiceProvided:!1,paymentMethod:x.account.isMandated&&!es?m.X_.EXISTING:m.X_.NEW},homeCareCounty:"",isHiveProduct:C,underfloorHeating:void 0,hiveMultiZone:void 0,hiveMultiZoneNum:void 0,tenantType:"",hiveSuitable:!1,mprnIsValid:!1===N.serviceActive||!!N.information&&!!N.confirmed||null,gprnIsValid:!1===T.serviceActive||null,gasDetails:{submitMeterReadings:!!T.serviceDown&&!Q,gprn:D&&D.gprn||"",gasMeterReading:"",gasMeterReadingDate:"",existingGasAccountNumber:M?_:void 0},phoneNumber:"",phoneNumberType:""},children:function(e){return(0,s.jsxs)(ee.l0,{noValidate:!0,autoComplete:"off",children:[(0,s.jsx)(q.c,{}),C&&(0,s.jsx)(X.b,{isNewBrand:!0,content:eD,product:g,wrapperClass:"switch__plan__hive__questions",returnUrl:b,isChangePlan:!0,tenantType:e.values.tenantType}),eR(g,e),(C||(0,d.CT)(g))&&(0,s.jsx)("div",{className:"switch__plan__payment__details",children:eA}),(0,s.jsx)(V.G4,{encryptionTitle:eb,encryptionText:eg,wrapperClass:$()({switch__plan__encryption__banner:x.account.isMandated})}),x.account.isMandated&&!es&&(0,s.jsx)(ee.gN,{name:"paymentDetails.paymentMethod",children:function(e){var n=e.field,t=e.form,i=e.meta;return(0,s.jsx)(W.SY,(0,a.Z)((0,r.Z)({isNewBrand:!0},n),{label:eP,isRequired:!0,vertical:!0,touched:i.touched,error:(0,ee.u9)(t.errors,n.name),options:[{value:m.X_.EXISTING,label:eT},{value:m.X_.NEW,label:eC},],onChange:function(e){var i=e===m.X_.NEW?m.X_.NEW:m.X_.EXISTING;t.setFieldValue(n.name,i),ec.current(i)},wrapperClass:"input-section--no-m"}))}}),(0,s.jsx)(G.cX,{isNewBrand:!0,bankAuthorisationLabel:em,levelPayLink:eh,directDebitLink:eu,hasLevelPay:eZ,accordionTitle:ep,accordionContent:ef&&F()(ef),product:g,content:c,isLowConnectivity:P,showPaymentDetails:eF,wrapperClass:"input-section__alt"}),(0,s.jsx)("div",{className:"input-section input-section--less-m-b",children:(0,s.jsxs)("div",{className:"switch__plan__cancel",children:[(0,s.jsx)("div",{className:"switch__plan__cancel__content switch__plan__cancel__title",children:e_}),(0,s.jsx)("div",{className:"switch__plan__cancel__content",children:F()(ew,(0,I.Em)({replaceTagNames:"p"}))})]})}),(0,s.jsx)("div",{className:"input-section",children:(0,s.jsx)("div",{className:"group group--fullwidth",children:(0,s.jsx)(ee.gN,{isNewBrand:!0,name:"paymentDetails.termsAndConditionsServiceProvided",component:W.Jg,label:ek.terms,isRequired:!0})})}),(0,s.jsxs)("div",{className:"align-right",children:[w&&(0,s.jsx)("button",{"data-testid":"go-back",onClick:w,type:"button",className:"button tert
1iary inline",children:c.previousButton}),(0,s.jsx)("button",{type:"submit",className:$()("button primary arrow inline",{loading:l}),children:ex})]})]})}}),(0,s.jsx)(U.U,{})]})]})},ei=t(87870),er=t(96656),ea=t(51610),es=t(46363),ec=t(55697),eo=function(e){var n=e.children,t=S(),i=t.product,r=t.isEverythingLoaded,a=t.accountInfo,c=t.switchPlanContent,l=t.changePlanContent,d=t.bookingsUrl,u=t.bookingsUrlSmart,m=(0,ec.RH)(i),h=m.electricityDiscount,f=m.gasDiscount;if((0,p.useEffect)(function(){(0,k.k)()},[]),!c||!r||!a)return(0,s.jsx)(o.w,{});var x=c.title,v=c.breadcrumbMyAccount,g=c.breadcrumbSmartPlans,b=c.earlyExitFee,_=c.vatDisclaimer,w=c.vatDisclaimerRichText,j=c.successCarryThroughBlock,y=c.dualFuelTermsAndConditionsLink,N=c.dualFuelTermsAndConditionsLinkFixedRate,P=c.gasTermsAndConditionsLink,T=c.gasTermsAndConditionsLinkFixedRate,C=c.electricityTermsAndConditionsLink,D=c.electricityTermsAndConditionsLinkFixedRate,A=c.sideBarTitle,E=c.sideBoxFixedRate;return(0,s.jsx)("section",{className:"switch__plan-nb",children:(0,s.jsx)("span",{className:"switch__plan new-brand",children:(0,s.jsxs)("div",{className:"main-section-container",children:[(0,s.jsx)("span",{className:"new-brand",children:(0,s.jsxs)(ea.c,{isNewBrandOam:!0,isOam:!0,children:[(0,s.jsx)(es.rU,{href:"/acc-mgmt/my-accounts/",children:v}),(0,s.jsx)(es.rU,{href:d,dataCsMask:!0,children:l&&l.address}),(0,s.jsx)(es.rU,{href:u,children:g}),(0,s.jsx)("p",{children:x})]})}),(0,s.jsx)("div",{className:"main-container",children:(0,s.jsx)(ei.p,{title:x,className:"normal--m-b"})}),(0,s.jsxs)("div",{className:"col-3-section align-top no-m-t",children:[(0,s.jsx)("div",{className:"col-2 switch__plan__col",children:n}),(0,s.jsx)("div",{className:"col-1 switch__plan__side",children:(0,s.jsx)(er.PI,{isNewBrand:!0,shouldNotUseColOne:!0,sideBoxTitle:A,earlyExitFee:b,dualFuelTermsAndConditionsLink:y,dualFuelTermsAndConditionsLinkFixedRate:N,product:i,successCarryThroughBlock:j,gasTermsAndConditionsLink:P,gasTermsAndConditionsLinkFixedRate:T,hasError:!1,electricityTermsAndConditionsLink:C,electricityTermsAndConditionsLinkFixedRate:D,orderCompleted:!1,vatDisclaimer:_,vatDisclaimerRichText:w,gasDiscount:f,electricityDiscount:h,showName:!0,sideBoxFixedRate:E,children:(0,s.jsx)(er.sK,{content:c,product:i,hideRateSubtitles:!0})})})]})]})})})},el=function(){var e=S(),n=e.product,t=e.isEverythingLoaded,i=e.mprnGprn,c=e.accountInfo,l=e.gprnState,d=e.mprnState,u=e.switchPlanContent,h=e.bookingsUrlSmart,x=e.switchPlanState,g=e.onSwitchPlanGoBack,b=(0,f.useDispatch)();(0,p.useEffect)(function(){x&&x.success&&((0,k.k)(),b((0,m.g5)()))},[x]);var _=function(){b((0,m.bS)())};if(!u||!x||!t||!c)return(0,s.jsx)(o.a,{className:"blue loader-container--bigger"});var w=u.ibanValidationService,j=u.emailValidationService,y=u.addressValidationService,N=u.orderErrorModal,L=u.confirmationTitle,Z=u.confirmationWhatsNext,U=u.confirmationWhatsNextParagraph,B=u.meterRead.gprn.serviceActive;return(0,s.jsx)(eo,{children:(0,s.jsx)(v.Er,{initialValues:(0,a.Z)((0,r.Z)({},d),{serviceActive:!0,checkSmart:!0,cancelReturnToOffers:!0,productId:n.id}),children:(0,s.jsx)(v.MN,{initialValues:(0,a.Z)((0,r.Z)({},l),{serviceActive:B,shouldBlockWhenServiceDown:!1}),children:(0,s.jsx)(A.KZ,{initialState:(0,r.Z)({serviceDown:w.serviceDown,modalDismissed:!0===w.serviceDown},{}),children:(0,s.jsx)(C.LI,{initialState:{serviceDown:!0===j.serviceDown},children:(0,s.jsx)(E.qq,{product:n,children:(0,s.jsxs)(T.aT,{initialState:(0,r.Z)({},y,{}),children:[x.error&&(0,s.jsx)(P.DY,{children:(0,s.jsx)(P.u_,{isNewBrand:!0,shown:x.error,head:(0,s.jsx)("strong",{className:"bge-dialog__title--waiting",children:N.title}),body:(0,s.jsxs)("p",{children:[F()(N.paragraph,(0,I.Em)({replaceTagNames:"p"})),(0,s.jsx)(D.r,{onlyNumber:!0}),"."]}),singleAction:!0,footer:(0,s.jsx)("div",{className:"review__summary__modal__footer",children:(0,s.jsx)("button",{type:"button","data-testid":"error-modal-close-button",className:"button secondary wide",onClick:_,children:"Close"})})})}),x.success&&(0,s.jsx)(M,{title:L,whatsNext:Z,whatsNextParagraph:U}),!x.success&&(0,s.jsx)(R.VM,{children:(0,s.jsx)(et,{content:u,submitting:x.submitting,accountInfo:c,product:n,returnUrl:h,currentFormStatus:{submitted:!1},gasAccountId:i&&i.gasAccountId,onGoBack:g})})]})})})})})})})};t(12750);var ed=t(82199),eu=function(){var e=S(),n=e.offerId,t=e.account,i=e.onOfferSelected,r=e.switchPlanContent,a=e.bookingsUrlSmart,c=e.changePlanContent,l=e.bookingsUrl,d=(0,ed.yZ)({offerId:n,accountId:t,isRenewalOffer:!1}).product,u=(0,ed.sN)({product:d}).offerData;return d&&u&&r?(0,s.jsx)("section",{children:(0,s.jsx)("div",{className:"main-section-container",children:(0,s.jsx)(ed.SW,{offerId:n,accountId:t,isRenewalOffer:!1,product:d,offerData:u,onSelectOffer:i,breadcrumb:(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(es.rU,{href:"/acc-mgmt/my-accounts/",children:r.breadcrumbMyAccount}),(0,s.jsx)(es.rU,{href:l,dataCsMask:!0,children:c&&c.address}),(0,s.jsx)(es.rU,{href:a,children:r.breadcrumbSmartPlans})]})})})}):(0,s.jsx)(o.w,{})},em=t(89267),eh=function(){var e=S(),n=e.isEverythingLoaded,t=e.switchPlanContent,i=e.onPriceAlertGoBack,r=e.onPriceAlertCompleted,a=e.priceAlertSubmitting,c=e.account;if(!t||!n)return(0,s.jsx)(o.a,{className:"blue loader-container--bigger"});var l=t.priceAlertForm;return(0,s.jsxs)(eo,{children:[(0,s.jsx)("header",{className:"section-header section-header--mb-sm",children:(0,s.jsx)("h3",{className:"section-header__title",children:l.parentFormTitle})}),(0,s.jsx)(em.B,{onGoBack:i,submitting:a,onSubmit:r,content:l,accountId:c,isCotoOrCtow:!0})]})},ep=function(){var e=S(),n=e.currentStep,t=e.switchPlanState;if(t&&t.success)return(0,s.jsx)(el,{});switch(n){case i.OfferDetails:return(0,s.jsx)(eu,{});case i.PriceAlert:return(0,s.jsx)(eh,{});default:return(0,s.jsx)(el,{})}},ef=function(){var e=(0,j.useRouter)(),n=(0,p.useRef)(e.query),t=(0,f.useSelector)((0,l.selectProductByIdSelector)(n.current.offerId),f.shallowEqual);return t?(0,s.jsx)(N,(0,a.Z)((0,r.Z)({},n.current),{product:t,children:(0,d.I0)(t)?(0,s.jsx)(ep,{}):(0,s.jsx)(el,{})})):(0,s.jsx)(o.w,{})}},20799:function(){}}]);

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.