1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[180],{1004:(e,t,i)=>{"use strict";i.d(t,{D:()=>o});var a=i(15454);class o extends a.r{constructor(...e){super(...e),this.goToStep=async e=>{await this.props.flowGoTo(this.findStepPathFromStepName(e))}}}o.load=(e,t)=>new o(e,t)},6784:(e,t,i)=>{"use strict";i.d(t,{r:()=>o});var a=i(28278);class o extends a.B${constructor(e){super(e),this.confirmDecline=async()=>{this.updateConfirmationModalUI(!0,null,!0);let e=await this.getProps().repositoryFactory.supportTicketRepository().cancelSubscriptionFromFlexigoMigration(this.getRequiredSubscriptionId());if((0,a.kT)(e))return this.updateConfirmationModalUI(!0,e.errorCode,!1);this.closeConfirmationModalUI(),this.getProps().repositoryFactory.accountValidationTrackerRepository().eventAcceptNewTOS(!1),this.getProps().navigationUI.next()},this.decline=()=>{this.updateConfirmationModalUI(!0,null,!1)},this.accept=()=>{this.getProps().repositoryFactory.accountValidationTrackerRepository().eventAcceptNewTOS(!0),this.getProps().navigationUI.next()},this.shouldDisplayConfirmationModal=()=>this.props.confirmationModalUI.isOpen,this.shouldDisplayConfirmationModalError=()=>!!this.confirmationModalUIErrorMessage(),this.shouldDisplayConfirmationModalContent=()=>!this.shouldDisplayConfirmationModalError(),this.closeConfirmationModalUI=()=>this.updateConfirmationModalUI(!1,null,!1),this.isConfirmationModalUILoading=()=>this.props.confirmationModalUI.isLoading,this.displayableLabels=()=>({metaTitle:this.translate("account-validation:page.termsAndConditions.meta.title"),title:this.translate("account-validation:page.termsAndConditions.content.title"),buttons:{accept:this.translate("account-validation:page.termsAndConditions.content.button.accept"),decline:this.translate("account-validation:page.termsAndConditions.content.button.decline")},information:this.translate("account-validation:page.termsAndConditions.content.introduction.title"),warning:this.translate("account-validation:page.termsAndConditions.content.warning"),cgv:this.translate("account-validation:page.termsAndConditions.content.cgv"),text:this.translate("account-validation:page.termsAndConditions.content.text").replace("{assetName}",this.getRequiredAssetName()),modal:{title:this.translate("account-validation:page.termsAndConditions.modal.title"),contentTitle:this.translate("account-validation:page.termsAndConditions.modal.content.title"),text:this.translate("account-validation:page.termsAndConditions.modal.content.text").replace("{assetName}",this.getRequiredAssetName()),buttons:{confirm:this.translate("account-validation:page.termsAndConditions.modal.button.confirm"),cancel:this.translate("account-validation:page.termsAndConditions.modal.button.cancel")},error:{title:this.translate("account-validation:page.termsAndConditions.modal.error.title"),text:this.translate("account-validation:page.termsAndConditions.modal.error.text")}}}),this.getRequiredAssetName=()=>(0,a.Gp)(()=>this.props.context.assetName,"the asset name must be defined"),this.confirmationModalUIErrorMessage=()=>this.props.confirmationModalUI.errorCode,this.updateConfirmationModalUI=(e,t,i)=>{this.updatePartial({confirmationModalUI:{isOpen:e,errorCode:t,isLoading:i}})},this.getRequiredSubscriptionId=()=>(0,a.Gp)(()=>this.getProps().context.subscriptionId,"Subscription Id must be defined !"),this.translate=e=>this.props.repositoryFactory.translationRepository().translateFn(e)}}o.load=(e,t,i)=>(i.accountValidationTrackerRepository().pageAccountValidationNewTOS(),new o({context:e,navigationUI:t,repositoryFactory:i,confirmationModalUI:{isOpen:!1,isLoading:!1,errorCode:null}}))},7590:(e,t,i)=>{"use strict";i.d(t,{l:()=>u});var a=i(25515),o=i(10193);let r=new RegExp(/(?=.*\d)/),s=new RegExp(/(?=.*[A-Z])/),n=new RegExp(/(?=.*[a-z])/),l=new RegExp(/(?=.*[(){}[\]<>\-_|'"#~+=^/:`;.!§,?$£*â¬%@&])/);class c{constructor(e,t){this.passwordValueStateUI=e,this.hasHiddenValueStateUI=t,this.hasHiddenValue=()=>this.hasHiddenValueStateUI.getProps(),this.toggleHiddenValue=()=>{let e=this.hasHiddenValue();this.hasHiddenValueStateUI.update(!e)},this.getValue=()=>this.passwordValueStateUI.getProps(),this.setValue=e=>{this.passwordValueStateUI.update(e)},this.hasCorrectLength=()=>{let e=this.passwordValueStateUI.getProps();return 0===e.length?null:e.length>=8},this.containsAtLeastOneNumber=()=>{let e=this.passwordValueStateUI.getProps();return 0===e.length?null:r.test(e)},this.containsAtLeastOneUpperCaseCharacter=()=>{let e=this.passwordValueStateUI.getProps();return 0===e.length?null:s.test(e)},this.containsAtLeastOneLowerCaseCharacter=()=>{let e=this.passwordValueStateUI.getProps();return 0===e.length?null:n.test(e)},this.containsAtLeastOneSpecialCharacter=()=>{let e=this.passwordValueStateUI.getProps();return 0===e.length?null:l.test(e)},this.getUnauthorizedCharacter=()=>{let e=this.passwordValueStateUI.getProps().split(""),t="";for(let i of e)r.test(i)||s.test(i)||n.test(i)||l.test(i)||(t=i);return t},this.containsAtLeastOneUnauthorizedCharacter=()=>0===this.passwordValueStateUI.getProps().length?null:!!this.getUnauthorizedCharacter(),this.containsAtLeastOneUnauthorizedSpacing=()=>{let e=this.passwordValueStateUI.getProps();return 0===e.length?null:/\s/.test(e)},this.isValid=()=>!!this.hasCorrectLength()&&!!this.containsAtLeastOneNumber()&&!!this.containsAtLeastOneUpperCaseCharacter()&&!!this.containsAtLeastOneLowerCaseCharacter()&&!!this.containsAtLeastOneSpecialCharacter()&&!this.containsAtLeastOneUnauthorizedCharacter()&&!this.containsAtLeastOneUnauthorizedSpacing()}}var d=i(19637);class u extends a.B{constructor(e){super(e),this.getUserEmail=()=>{let{userEmail:e}=this.getProps().context;if(!e)throw Error("userEmail cannot be ".concat(e));return e}
1,this.getSecurityCode=()=>this.getProps().securityCode,this.setSecurityCode=e=>{this.updatePartial({securityCode:e,securityCodeErrorCode:null})},this.setPassword=e=>{this.getFieldPasswordUI().setValue(e),this.updatePartial({passwordErrorCode:null})},this.sendNewSecurityCode=async()=>{let{userEmail:e}=this.getProps().context;if(!e)throw Error("userEmail cannot be ".concat(e));this.getProps().repositoryFactory.accountValidationTrackerRepository().eventSendNewSecurityCode(),this.updatePartial({isSendNewSecurityCodeLoading:!0});let t=await this.getProps().repositoryFactory.accountRepository().sendResetPasswordLink(e,"activation");if((0,a.k)(t)){let{errorCode:e}=t;this.getProps().repositoryFactory.accountValidationTrackerRepository().eventSendNewSecurityCodeError(e),this.updatePartial({limitExceededErrorCode:e,isSendNewSecurityCodeLoading:!1})}else this.getProps().toasterUI.notifySuccess(this.getProps().repositoryFactory.translationRepository().translateFn("account-validation:page.configuration.toaster.sendNewSecurityCode.success")),this.updatePartial({isSendNewSecurityCodeLoading:!1})},this.isSendNewSecurityCodeLoading=()=>this.getProps().isSendNewSecurityCodeLoading,this.isValidSecurityCode=()=>!this.shouldDisplaySecurityCodeError()&&this.getProps().securityCode.length>=6,this.getContextualSecurityCodeText=()=>this.shouldDisplaySecurityCodeError()?this.getScreenTranslations().fields.errors.invalidSecurityCode:void 0,this.getContextualPasswordText=()=>this.shouldDisplayPasswordError()?this.getScreenTranslations().fields.errors.invalidPassword:void 0,this.shouldDisplayLimitExceededErrorCode=()=>!!this.getProps().limitExceededErrorCode,this.shouldDisplaySecurityCodeError=()=>!!this.getProps().securityCodeErrorCode,this.getLimitExceededErrorCodeTranslatedError=()=>{let{limitExceededErrorCode:e}=this.getProps();return this.getTranslatedError(e)},this.getFieldPasswordUI=()=>this.getProps().fieldPasswordUI,this.validateAccount=async()=>{let{userEmail:e}=this.getProps().context,t=this.getSecurityCode(),i=this.getFieldPasswordUI().getValue();if(!e)throw Error("userEmail cannot be ".concat(e));this.getProps().repositoryFactory.accountValidationTrackerRepository().eventValidateAccount(),this.updatePartial({isAccountValidateLoading:!0});let r=await this.getProps().repositoryFactory.accountRepository().confirmResetPassword(e,t,i,"activation");if((0,a.k)(r)){let{errorCode:e}=r,t=[o.AJ.SecurityCodeInvalid,o.AJ.SecurityCodeExpired].includes(e),i=[o.AJ.ConfirmPasswordLimitExceeded,o.AJ.ResetPasswordLimitExceeded].includes(e),a=e===o.AJ.InvalidPassword;if(this.getProps().repositoryFactory.accountValidationTrackerRepository().eventValidateAccountError(e),!t&&!a){let t=this.getTranslatedError(e);this.getProps().toasterUI.notifyError(t)}this.updatePartial({isAccountValidateLoading:!1,limitExceededErrorCode:i?e:null,securityCodeErrorCode:t?e:null,passwordErrorCode:a?e:null})}else{let t=await this.getProps().repositoryFactory.accountRepository().signInUser(e,i);if((0,a.k)(t)){let{errorCode:e}=t;this.getProps().repositoryFactory.accountValidationTrackerRepository().eventValidateAccountSignInError(e),this.getProps().toasterUI.notifyError(this.getProps().repositoryFactory.translationRepository().translateFn("common:error.500")),this.updatePartial({isAccountValidateLoading:!1})}else this.getProps().repositoryFactory.accountValidationTrackerRepository().eventValidateAccountSuccess(),await this.navigateToNextStep()}},this.isAccountValidateLoading=()=>this.getProps().isAccountValidateLoading,this.shouldDisplayPasswordError=()=>!!this.getProps().passwordErrorCode,this.getScreenTranslations=()=>{let e=this.getProps().repositoryFactory.translationRepository().translateFn;return{metaTitle:e("account-validation:page.configuration.meta.title"),title:e("account-validation:page.configuration.content.title"),email:{introduction:e("account-validation:page.configuration.content.email")},securityContent:{explanation:e("account-validation:page.configuration.content.security")},passwordContent:{explanation:e("account-validation:page.configuration.content.password")},fields:{password:{chips:{number:e("account-validation:page.fields.chips.number"),characters:e("account-validation:page.fields.chips.characters"),lowercase:e("account-validation:page.fields.chips.lowercase"),specialCharacter:e("account-validation:page.fields.chips.specialCharacter"),uppercase:e("account-validation:page.fields.chips.uppercase"),spaceNotAllowed:e("account-validation:page.fields.chips.spaceNotAllowed"),charNotAllowed:e("account-validation:page.fields.chips.charNotAllowed").replace("{char}",this.getFieldPasswordUI().getUnauthorizedCharacter())}},placeholders:{password:e("account-validation:page.fields.placeholder.password"),securityCode:e("account-validation:page.fields.placeholder.securityCode")},errors:{invalidSecurityCode:e("account-validation:error.securityCode.invalid"),invalidPassword:e("account-validation:error.password.invalid")}},actions:{activateAccount:e("account-validation:page.configuration.actions.activateMyAccount"),sendNewSecurityCode:e("account-validation:page.configuration.actions.iDontReceiveMySecurityCode")}}},this.navigateToNextStep=async()=>
1{if(this.props.context.revalidateTOS)return await this.getProps().navigationUI.goToStep("terms-and-conditions");await this.getProps().navigationUI.goToStep("success")},this.getTranslatedError=e=>{if(!e)return"";let t=d.s[e];return this.getProps().repositoryFactory.translationRepository().translateFn(t)}}}u.load=(e,t,i,a,o)=>{let{passwordValueStateUI:r,hasHiddenValueStateUI:s}=t,n=new u({context:e,securityCode:"",isAccountValidateLoading:!1,isSendNewSecurityCodeLoading:!1,limitExceededErrorCode:null,securityCodeErrorCode:null,passwordErrorCode:null,fieldPasswordUI:new c(r,s),navigationUI:a,repositoryFactory:o,toasterUI:i});return o.accountValidationTrackerRepository().pageAccountValidationConfiguration(),n}},8515:(e,t,i)=>{"use strict";i.d(t,{c:()=>r});var a=i(90678),o=i(11891);let r=e=>s[e],s={[a.gE.Default]:o.W_.Default,[a.gE.Disabled]:o.W_.Disabled,[a.gE.Error]:o.W_.Error}},10501:(e,t,i)=>{"use strict";i.d(t,{$:()=>a.$O});var a=i(65452)},11285:(e,t,i)=>{"use strict";i.d(t,{O:()=>a.A,a:()=>c});var a=i(24776),o=i(78854),r=i(53298),s=i(10559),n=i(89042),l=i.n(n);function c(e){let{backButton:t,nextButton:i,otherButton:a,className:n}=e;return(0,o.Y)(s.Ay,{className:(0,r.A)(l(),n),primaryAction:{...i,variant:s.WJ.Default},secondaryAction:t?{...t,className:l().backButton,variant:s.WJ.Default}:void 0,tertiaryAction:a})}},13484:(e,t,i)=>{"use strict";i.d(t,{C:()=>s});var a=i(24892),o=i(10501),r=i(33037);let s=e=>{let{successUI:t,language:i}=e,s=t.getProps().onDemandPurchaseConfigurationUI,n=t.getBillingAddressUI(),l=s.selectedVehicleUIList.map(e=>e.getLicensePlate()),c=s.selectedCountryUI;return{country:{code:c.code,name:c.name},vehicle:s.selectedVehicleUIList.length>0?{icon:{vehicleType:o.$.Car},licensePlates:l,multipleVehicleLabel:t.displayable().resume.vehicles.value}:void 0,address:(0,a.VA)({addressUI:n,language:i}).address,payment:(0,r.C)({manualPaymentMethodType:s.selectedPaymentMethod.paymentMethodType,paymentCardType:s.selectedPaymentMethod.cardType,obfuscatedNumber:s.selectedPaymentMethod.obfuscatedNumber,expirationDate:null}),neoPro:s.hasBillingManagedByNeoPro?{productName:t.displayable().resume.indigoPro}:void 0}}},19637:(e,t,i)=>{"use strict";i.d(t,{s:()=>o});var a=i(10193);let o={[a.AJ.Generic]:"common:error.500",[a.AJ.ResetPasswordLimitExceeded]:"account-validation:error.limitExceeded",[a.AJ.ConfirmPasswordLimitExceeded]:"account-validation:error.limitExceeded",[a.AJ.InvalidPassword]:"account-validation:error.password.invalid",[a.AJ.SecurityCodeInvalid]:"account-validation:error.securityCode.invalid",[a.AJ.SecurityCodeExpired]:"account-validation:error.securityCode.expired",[a.AJ.AlreadyAuthenticated]:"common:error.500"}},20944:e=>{e.exports={rowContent:"Payment_rowContent__cJBW6",listRow:"Payment_listRow__wnbm6",label:"Payment_label__9Jml_",value:"Payment_value__MgDgr",legalField:"Payment_legalField__hSY_M",legalLink:"Payment_legalLink__v3F4g",container:"Payment_container__eC08Y",row:"Payment_row__UIsa_",title:"Payment_title__1GML4",contentWrapper:"Payment_contentWrapper__56Xua",paymentContentWrapper:"Payment_paymentContentWrapper__eJ0UL",paymentMethodListWrapper:"Payment_paymentMethodListWrapper__Lim2R",isPaymentNotRequired:"Payment_isPaymentNotRequired__aZm_b",resumeContainer:"Payment_resumeContainer__f_jXZ",invoiceContainer:"Payment_invoiceContainer__ZMQKK",paymentMethodContainer:"Payment_paymentMethodContainer__GGMqc",legalContainer:"Payment_legalContainer__emszW",actionsContainer:"Payment_actionsContainer__HRd2c",important:"Payment_important__svHNl",highlighted:"Payment_highlighted__Wh6lg",legalContent:"Payment_legalContent__s3kWF"}},22591:(e,t,i)=>{"use strict";i.d(t,{M:()=>r});var a=i(23377),o=i(22664);class r extends a.R{constructor(e,t){super(e,t),this.props=e,this.readonlyProps=t,this.reload=async()=>{let e=await r.load(this.props.phoneNumberUI.validator,this.readonlyProps.accountCustomerRepository);this.update(e.props)}}}r.load=async(e,t)=>{let i={phoneNumberUI:o.yG.load(await r.loadPhoneNumber(t),e)};return new r(i,{accountCustomerRepository:t})},r.loadPhoneNumber=async e=>{try{let t=await e.getPhoneNumber();return(0,a.k)(t)?null:t}catch(e){return null}}},24602:(e,t,i)=>{"use strict";i.d(t,{f:()=>r});var a=i(25515),o=i(19637);class r extends a.B{constructor(e){super(e),this.getUserEmail=()=>{let{userEmail:e}=this.getProps().context;if(!e)throw Error("userEmail cannot be ".concat(e));return e},this.sendNewSecurityCode=async()=>{let{userEmail:e}=this.getProps().context;if(!e)throw Error("userEmail cannot be ".concat(e));this.getProps().repositoryFactory.accountValidationTrackerRepository().eventSendNewSecurityCode(),this.updatePartial({isLoading:!0});let t=await this.getProps().repositoryFactory.accountRepository().sendResetPasswordLink(e,"activation");if((0,a.k)(t)){let{errorCode:e}=t;this.getProps().repositoryFactory.accountValidationTrackerRepository().eventSendNewSecurityCodeError(e),this.updatePartial({errorCode:e,isLoading:!1})}else await this.getProps().navigationUI.next()},this.isLoading=()=>this.getProps().isLoading,this.shouldDisplaySendNewSecurityCodeError=()=>
1!!this.getProps().errorCode,this.getSendNewSecurityCodeTranslatedError=()=>{let{errorCode:e}=this.getProps();return this.getTranslatedError(e)},this.getScreenTranslations=()=>{let e=this.getProps().repositoryFactory.translationRepository().translateFn,{assetName:t}=this.getProps().context;return{metaTitle:e("account-validation:page.welcome.meta.title"),title:e("account-validation:page.welcome.content.title"),introduction:e("account-validation:page.welcome.content.introduction"),asset:e("account-validation:page.welcome.content.asset").replace("{asset}",String(t)),identity:e("account-validation:page.welcome.content.identity"),nextStepExplanation:e("account-validation:page.welcome.content.nextStepExplanation"),actions:{sendSecurityCode:e("account-validation:page.welcome.actions.receiveSecurityCode")}}},this.getTranslatedError=e=>{if(!e)return"";let t=o.s[e];return this.getProps().repositoryFactory.translationRepository().translateFn(t)}}}r.load=(e,t,i)=>{let a=new r({context:e,isLoading:!1,errorCode:null,navigationUI:t,repositoryFactory:i});return i.accountValidationTrackerRepository().pageAccountValidation(),a}},24776:(e,t,i)=>{"use strict";i.d(t,{A:()=>u,W:()=>p});var a=i(78854),o=i(53298),r=i(17899),s=i.n(r),n=i(70524),l=i(96870),c=i(89042),d=i.n(c);function u(e){let{className:t,backLink:i,nextLink:r}=e;return(0,a.FD)("div",{className:(0,o.A)(d().bottomNavigationTemplateContainer,t),children:[i&&(0,a.Y)(n.zH,{...i,className:(0,o.A)(s().backButton,d().backButton,i.className),size:l.sP.Medium}),(0,a.Y)(n.FS,{...r,className:(0,o.A)(s().nextButton,r.className),size:l.sP.Medium})]})}let p=e=>"object"==typeof e&&null!==e&&"nextLink"in e},24892:(e,t,i)=>{"use strict";i.d(t,{WD:()=>r,VA:()=>n,Nk:()=>N,He:()=>d,nr:()=>h,FQ:()=>g,Sg:()=>y,v3:()=>v,p0:()=>A});var a=i(42117),o=i.n(a);let r=e=>({as:o(),href:e.href});var s=i(72820);let n=e=>{let{addressUI:t,language:i,variant:a=s.i_.Full}=e;return{address:{name:t.props.addressName,firstName:t.props.firstName,lastName:t.props.lastName,streetAddress:t.props.streetAddress,postalCode:t.props.postalCode,locality:t.props.locality,country:t.getCountry(i),companyName:t.displayableLabels().companyName,vat:t.displayableLabels().vat,nif:t.displayableLabels().nif},variant:a}};var l=i(90678),c=i(11891);let d=e=>u[e],u={[l.Ix.FIRSTNAME]:c.j9.GivenName,[l.Ix.LASTNAME]:c.j9.FamilyName,[l.Ix.STREET_ADDRESS]:c.j9.StreetAddress,[l.Ix.POSTAL_CODE]:c.j9.PostalCode,[l.Ix.LOCALITY]:c.j9.City,[l.Ix.COUNTRY_CODE]:c.j9.Country,[l.Ix.COMPANY_NAME]:c.j9.Organization,[l.Ix.EMAIL]:c.j9.Email,[l.Ix.NIF]:c.j9.OneTimeCode,[l.Ix.VAT]:c.j9.OneTimeCode,[l.Ix.COMPANY_NUMBER]:c.j9.OneTimeCode,[l.Ix.ESTABLISHMENT_NUMBER]:c.j9.OneTimeCode,[l.Ix.ADDRESS_NAME]:c.j9.OneTimeCode,[l.Ix.OTHER]:c.j9.OneTimeCode};var p=i(33037);let h=e=>{var t;return{address:{companyName:e.getCompanyName(),companyNumber:e.getRequiredBillingAddress().getCompanyNumberTranslation()},payment:(0,p.C)({manualPaymentMethodType:e.getPaymentMethodTypeUI().getRequiredManualPaymentMethodType(),obfuscatedNumber:e.getPaymentMethodValue(),paymentCardType:null!=(t=e.getPaymentCardType())?t:void 0,expirationDate:null}),title:e.displayable().indigoPro}};var m=i(10501);let g=e=>{let{configUI:t,accessMeans:i,language:a}=e,o=t.getAddress(),r=t.getLicensePlates(),s=t.getCountryUI();return{country:{code:s.code,name:s.name},vehicle:t.shouldDisplayVehicleRow()?{icon:{vehicleType:m.$.Car},licensePlates:r,multipleVehicleLabel:t.getMultipleVehicleLabel()}:void 0,address:n({addressUI:o,language:a}).address,payment:(0,p.C)({manualPaymentMethodType:t.getRequiredManualPaymentMethodType(),paymentCardType:t.getRecurringPaymentCardType(),obfuscatedNumber:t.getObfuscatedPaymentNumber(),expirationDate:null}),neoPro:t.hasBillingManagedByNeoPro()?{productName:t.displayable().indigoPro}:void 0,accessMeans:t.shouldDisplayVehicleRow()?i:void 0}},y=e=>{let{accountOnDemandUI:t,language:i}=e;return t.getAllConfigurations().map(e=>C(e,i,t))},C=(e,t,i)=>{var a;let o=i.readonlyProps.accessMeansUI.displayables(),r={onClick:()=>i.showAccessMeans(e.getId()),title:o.cardTitle,description:o.cardDescription},s=(null==(a=e.props.configuration)?void 0:a.isReadonly)?void 0:()=>i.onSelectConfiguration(e);return{...g({configUI:e,language:t,accessMeans:r}),key:e.getId(),onClick:s}};i(13484);var P=i(71135),E=i(55054);P.e.Visa,E.e.VISA,P.e.MasterCard,E.e.MASTERCARD,P.e.CB,E.e.CB,P.e.Amex,E.e.AMEX,P.e.TotalGR,E.e.TOTAL,P.e.Maestro,E.e.MAESTRO,P.e.SddMandate,E.e.SEPA,P.e.Bancontact,E.e.BANCONTACT,P.e.ApplePay,E.e.APPLE_PAY,P.e.GooglePay,E.e.GOOGLE_PAY;let v=e=>{let{priceWithPromotion:t,frequency:i}=e;return{price:{label:t.getPriceLabel()},frequencyLabel:i,regularPrice:t.hasRegularPrice()?{label:t.getRequiredRegularPriceLabel()}:void 0}},A=e=>({label:e.toLabel()});var S=i(78854),f=i(20944),_=i.n(f),T=i(70524);let N=e=>e?{label:{value:(0,S.Y)(T.QA,{startText:e.displayable().termsOfServiceStart,link:{as:o(),className:_().legalLink,label:e.displayable().termsOfServiceLinkLabel,onClick:e.displayContent,size:T.sP.Medium},endText:e.displayable().termsOfServiceEnd})},toggleSwitch:{isChecked:e.getProps().hasAccepted,onChange:e.toggle},className:_().legalField}:void 0},33037:(e,t,i)=>{"use strict";i.d(t,{C:()=>a.C});var a=i(89365)},39791:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/adhoc-charging/[evsePhysicalReference]/email",function(){return i(85312)}])},52853:(e,t,i)=>{"use strict";i.d(t,{f:()=>s});var a=i(25554),o=i(45210),r=i(98733);class s{constructor(e){this.readonlyProps=e,this.getItemsFromCategory=e=>this.getItemList().filter(t=>t.readonlyProps.category===e),this.getActiveItemLabel=()=>this.getRequiredActiveItem().getLabel(),this.onAccountMenuItemClick=e=>{e.onClick(),this.toggleMobileMenuDisplay()},this.isMobileMenuDisplayed=()=>this.readonlyProps.isMobileMenuOpenStateUI.getProps(),this.toggleMobileMenuDisplay=()=>this.readonlyProps.isMobileMenuOpenStateUI.update(!this.isMobileMenuDisplayed()),this.getItemList=()=>this.readonlyProps.items,this.getRequiredActiveItem=()=>(0,a.Gp)(()=>this.getItemList().find(e=>e.isActive(this.readonlyProps.activePathname)),"Active AccountMenuItemUI not found.")}}s.load=(e,t,i,a,n,l)=>new s({isMobileMenuOpenStateUI:t,activePathname:e,items:[r.E.fromProps({id:o.cf.ACCOUNT_PURCHASES,category:r.W.Activity,goTo:a,translationRepository:n,accountTrackerRepository:l}),r.E.fromProps({id:o.cf.ACCOUNT_SESSIONS,category:r.W.Activity,goTo:a,translationRepository:n,accountTrackerRepository:l}),r.E.fromProps({id:o.cf.ACCOUNT_EV_SESSION_LIST,category:r.W.Activity,goTo:a,translationRepository:n,accountTrackerRepository:l}),r.E.fromProps({id:o.cf.ACCOUNT_EXPENSE_REPORT,category:r.W.Activity,goTo:a,translationRepository:n,accountTrackerRepository:l}),r.E.fromProps({id:o.cf.ACCOUNT_DEBT,category:i?r.W.Activity:r.W.Hidden,goTo:a,translationRepository:n,accountTrackerRepository:l}),r.E.fromProps({id:o.cf.ACCOUNT_SUBS,category:r.W.Products,goTo:a,translationRepository:n,accountTrackerRepository:l}),r.E.fromProps({id:o.cf.ACCOUNT_ON_DEMAND,category:r.W.Products,goTo:a,translationRepository:n,accountTrackerRepository:l}),r.E.fromProps({id:o.cf.ACCOUNT_NEO_PRO,category:r.W.Products,goTo:a,translationRepository:n,accountTrackerRepository:l}),r.E.fromProps({id:o.cf.ACCOUNT_INFORMATIONS,category:r.W.Profile,goTo:a,translationRepository:n,accountTrackerRepository:l}),r.E.fromProps({id:o.cf.ACCOUNT_RIGHTS,category:r.W.Profile,goTo:a,translationRepository:n,accountTrackerRepository:l}),r.E.fromProps({id:o.cf.ACCOUNT_PROMOCODES,category:r.W.Profile,goTo:a,translationRepository:n,accountTrackerRepository:l}),r.E.fromProps({id:o.cf.ACCOUNT_PREFERENCES,category:r.W.Profile,goTo:a,translationRepository:n,accountTrackerRepository:l}),r.E.fromProps({id:o.cf.ADDRESSES,category:r.W.Favorites,goTo:a,translationRepository:n,accountTrackerRepository:l}),r.E.fromProps({id:o.cf.ACCOUNT_VEHICLES,category:r.W.Favorites,goTo:a,translationRepository:n,accountTrackerRepository:l}),r.E.fromProps({id:o.cf.ACCOUNT_CARDS,category:r.W.Favorites,goTo:a,translationRepository:n,accountTrackerRepository:l}),r.E.fromProps({id:o.cf.ABNORMAL_SESSION,category:r.W.Hidden,goTo:a,translationRepository:n,accountTrackerRepository:l})]}),s.translateCategory=(e,t)=>t.translateFn(n[e]);let n={[r.W.Activity]:"account-menu:category.activity",[r.W.Products]:"account-menu:category.products",[r.W.Profile]:"account-menu:category.information",[r.W.Favorites]:"account-menu:category.preferences"}},55054:(e,t,i)=>{"use strict";i.d(t,{e:()=>a.eq});var a=i(37794)},57243:(e,t,i)=>{"use strict";i.d(t,{N:()=>a.No,_:()=>a._L});var a=i(15341)},59209:(e,t,i)=>{"use strict";i.d(t,{O:()=>o});var a=i(45210);class o{constructor(e){this.readonlyProps=e,this.displayableLabels=()=>({onGoing:this.translate("electric-vehicle:session.charging.pendingStatus"),terminated:this.translate("electric-vehicle:session.charging.finished"),seeHistory:this.translate("electric-vehicle:seeHistory")}),this.handleGoToEVSessionHistoryPage=()=>{this.readonlyProps.evSessionListTrackerRepository.eventEVSessionListGoToHistory()},this.getAccountEVSessionHistoryPath=()=>a.N_[a.cf.ACCOUNT_EV_SESSION_HISTORY].PATH,this.translate=(e,t)=>
1this.readonlyProps.translationRepository.translateFn(e,t)}}o.load=e=>(e.evSessionListTrackerRepository.pageEVSessionList(),new o(e))},59453:(e,t,i)=>{"use strict";i.d(t,{a:()=>o});var a=i(80046);class o extends a.B{static load(e){return e.pageAccountValidationSuccess(),new o({accountValidationTrackerRepository:e})}constructor(...e){super(...e),this.handleGoToAccount=()=>{this.props.accountValidationTrackerRepository.eventSuccessScreenMyAccount()},this.handleGoToDownloadApp=()=>{this.props.accountValidationTrackerRepository.eventSuccessScreenDownloadApp()},this.handleGoToOnDemand=()=>{this.props.accountValidationTrackerRepository.eventSuccessScreenOnDemand()},this.handleGoToCustomerService=()=>{this.props.accountValidationTrackerRepository.eventSuccessScreenCustomerService()},this.handleGoToHomePage=()=>{this.props.accountValidationTrackerRepository.eventSuccessScreenDiscoverIndigoNeo()}}}},59881:(e,t,i)=>{"use strict";i.d(t,{j:()=>a,c:()=>o.c});let a=e=>null!=e?e:"";var o=i(8515)},70250:e=>{e.exports={contentContainer:"AdhocChargingEmail_contentContainer__z5r4H",disclaimer:"AdhocChargingEmail_disclaimer__UMeUU",text:"AdhocChargingEmail_text__9G_4L",list:"AdhocChargingEmail_list__RV8_O",field:"AdhocChargingEmail_field__1T3yL",fieldName:"AdhocChargingEmail_fieldName__c2qbO",confirmText:"AdhocChargingEmail_confirmText__YVYK6"}},74332:(e,t,i)=>{"use strict";i.d(t,{r:()=>n});var a=i(90678),o=i(71814);i(22591),i(98733),i(52853),i(95545),i(59209),i(75553);var r=i(19330);i(7590),i(1004),i(59453),i(6784),i(24602);var s=i(51366);class n extends o.R{constructor(...e){var t;super(...e),t=this,this.getStepName=()=>"email",this.sendPageTrack=()=>this.readonlyProps.evPurchaseTrackerRepository.pageEVQRCodeEmail(),this.shouldDisplaySkipDisclaimer=()=>this.getProps().isSkipDisclaimerDisplayed,this.updateEmailValue=e=>{let t=this.getProps().email.setValue(e);this.updatePartial({email:t})},this.getFieldEmail=()=>this.getProps().email,this.getRequiredEmailValue=()=>{let e=this.getFieldEmail().getValue();return e.length>0?e:null},this.getEmailError=()=>{var e;let t=this.getProps().emailError;return t?this.readonlyProps.translationRepository.translateFn(null!=(e=l[t])?e:t):null},this.submit=function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t.clearFieldsError(),(e||t.isValid())&&(e?t.updateEmailValue(""):t.readonlyProps.evPurchaseTrackerRepository.eventEVQRCodeValidateEmail(),t.readonlyProps.navigationUI.goToStep("payment"),t.setDisplaySkipEmailDisclaimer(!1))},this.submitWithoutEmail=async()=>{this.readonlyProps.evPurchaseTrackerRepository.eventEVQRCodeSkipEmail(),this.setDisplaySkipEmailDisclaimer(!0)},this.back=()=>{this.readonlyProps.navigationUI.goToStep("tariff")},this.cancel=()=>this.setDisplaySkipEmailDisclaimer(!1),this.forceSubmit=()=>{this.submit(!0)},this.displayable=()=>({fields:{email:{name:this.translate("electric-vehicle:email.field.name"),label:this.translate("electric-vehicle:email.field.label"),placeholder:this.translate("electric-vehicle:email.field.label")}},disclaimer:{introduction:this.translate("electric-vehicle:email.disclaimer.introduction"),list:[this.translate("electric-vehicle:email.disclaimer.list.0"),this.translate("electric-vehicle:email.disclaimer.list.1")],bottom:this.translate("electric-vehicle:email.disclaimer.bottom")},confirmDialog:{title:this.translate("electric-vehicle:email.confirmDialog.title"),content:this.translate("electric-vehicle:email.confirmDialog.content"),actions:{submit:this.translate("electric-vehicle:email.confirmDialog.submitWithoutEmail"),cancel:this.translate("electric-vehicle:email.confirmDialog.submitWithEmail")}},actions:{back:this.translate("common:back"),submit:this.translate("common:validate"),submitWithoutEmail:this.translate("electric-vehicle:email.confirmDialog.submitWithoutEmail")}}),this.setDisplaySkipEmailDisclaimer=e=>this.updatePartial({isSkipDisclaimerDisplayed:e}),this.clearFieldsError=()=>{let e=this.getFieldEmail();e.setState(a.gE.Default),this.updatePartial({email:e,emailError:null})},this.isValid=()=>(this.validateEmail(),this.getFieldEmail().isValid()),this.validateEmail=()=>{let e=this.getFieldEmail(),t=new r.$(e.getValue()).validate();t&&(e.setState(a.gE.Error),this.updatePartial({email:e,emailError:t}))},this.translate=(e,t)=>
1this.readonlyProps.translationRepository.translateFn(e,t)}}n.load=e=>new n({email:a.Nq.load(a.Ix.EMAIL,"",!1,{isRequired:!0}),isSkipDisclaimerDisplayed:!1,emailError:null},e);let l={[s.v.EMAIL_INVALID]:"common:field.invalid",[s.v.EMAIL_REQUIRED]:"common:field.required"}},75553:(e,t,i)=>{"use strict";i.d(t,{Q:()=>r});var a=i(80046),o=i(19330);class r extends a.B{updateEmail(e){this.updatePartial({selectedEmail:e})}hasChanged(){return this.props.selectedEmail!==this.props.initialValue}isValid(){return!new o.$(this.props.selectedEmail).validate()}getEmailValue(){return this.props.selectedEmail}getLowerCasedEmail(){return this.props.selectedEmail.toLowerCase()}constructor(e){super(e),this.props=e}}},85312:(e,t,i)=>{"use strict";i.r(t),i.d(t,{__N_SSP:()=>A,default:()=>S});var a=i(78854),o=i(5875),r=i(24892),s=i(16874),n=i(6161),l=i(11285),c=i(71483),d=i(64254),u=i(11891),p=i(59881),h=i(70250),m=i.n(h);let g=e=>{let{flowUI:t,evAdhocEmailUI:i}=e;return(0,a.FD)(a.FK,{children:[!i&&(0,a.Y)(s.o,{text:t.displayable().loading}),i&&(0,a.Y)(y,{evAdhocEmailUI:i})]})},y=e=>{let{evAdhocEmailUI:t}=e,i=t.displayable();return(0,a.FD)("div",{className:m().contentContainer,children:[(0,a.FD)("div",{className:m().field,children:[(0,a.Y)("div",{className:m().fieldName,children:i.fields.email.name}),(0,a.Y)(d.cv,{input:{label:i.fields.email.label,placeholder:i.fields.email.placeholder,value:t.getFieldEmail().getValue(),onChange:t.updateEmailValue,size:u.YI.Medium,state:(0,p.c)(t.getFieldEmail().getState()),autoComplete:(0,r.He)(t.getFieldEmail().getName())},contextualText:(0,p.j)(t.getEmailError())})]}),(0,a.FD)("p",{className:m().disclaimer,children:[(0,a.Y)("span",{className:m().text,children:i.disclaimer.introduction}),(0,a.Y)("br",{}),(0,a.Y)("ul",{className:m().list,children:i.disclaimer.list.map((e,t)=>(0,a.Y)("li",{children:e},t))}),(0,a.Y)("br",{}),(0,a.Y)("span",{className:m().text,children:i.disclaimer.bottom})]}),t.shouldDisplaySkipDisclaimer()&&(0,a.Y)(c.TM,{header:{children:i.confirmDialog.title},body:{children:(0,a.Y)("p",{className:m().confirmText,children:i.confirmDialog.content})},actions:{secondaryAction:{label:i.confirmDialog.actions.cancel,onClick:t.cancel,variant:n.W.Default},primaryAction:{label:i.confirmDialog.actions.submit,onClick:t.forceSubmit,variant:n.W.Default}}}),(0,a.Y)(l.a,{nextButton:{label:i.actions.submit,onClick:t.submit},backButton:{label:i.actions.back,onClick:t.back},otherButton:{label:i.actions.submitWithoutEmail,onClick:t.submitWithoutEmail}})]})};var C=i(77705),P=i(43257),E=i(74332);let v=()=>{let{flowUI:e,evAdhocEmailUI:t}=(()=>{let{flowUI:e,repositoryFactory:t}=(0,C.T)(),i=e.getEVAdhocEmailUI(),a=e.isRedirecting()?null:(0,P.q)(()=>null===i?E.r.load({navigationUI:e.getNavigationUI(),translationRepository:t.translationRepository(),evPurchaseTrackerRepository:t.evPurchaseTrackerRepository()}):i);return e.initializeEVAdhocEmailUI(a),{flowUI:e,evAdhocEmailUI:e.getRequiredEVAdhocEmailUI()}})();return(0,a.Y)(g,{flowUI:e,evAdhocEmailUI:t})};v.getLayout=e=>(0,a.Y)(o.d,{children:e});var A=!0;let S=v},89042:e=>{e.exports={bottomNavigationTemplateContainer:"BottomNavigationTemplate_bottomNavigationTemplateContainer___h_zC",backButton:"BottomNavigationTemplate_backButton__DtR21",nextButton:"BottomNavigationTemplate_nextButton__Ocaq0"}},89365:(e,t,i)=>{"use strict";i.d(t,{C:()=>r});var a=i(89961),o=i(55054);let r=e=>{let{manualPaymentMethodType:t,paymentCardType:i=s,obfuscatedNumber:r=n,expirationDate:c}=e;return t===a.UA.SDD_MANDATE?{obfuscatedNumber:r,type:o.e.SEPA,expirationDate:c}:t===a.UA.TOTALGR_CARD?{obfuscatedNumber:r,type:o.e.TOTAL,expirationDate:c}:{obfuscatedNumber:r,type:l[i],expirationDate:c}},s=a.r4.CB,n="****",l={[a.r4.VISA]:o.e.VISA,[a.r4.MASTERCARD]:o.e.MASTERCARD,[a.r4.CB]:o.e.CB,[a.r4.AMEX]:o.e.AMEX,[a.r4.TOTAL_GR]:o.e.TOTAL,[a.r4.MAESTRO]:o.e.MAESTRO,[a.r4.BANCONTACT]:o.e.BANCONTACT,[a.r4.APPLE_PAY]:o.e.APPLE_PAY,[a.r4.GOOGLE_PAY]:o.e.GOOGLE_PAY}},95545:(e,t,i)=>{"use strict";i.d(t,{C:()=>o});var a=i(45210);class o{constructor(e){this.readonlyProps=e,this.goToEVActiveSessionList=()=>{this.readonlyProps.goTo(a.N_.ACCOUNT_EV_SESSION_LIST.PATH)},this.getDisplayableEVSessionByMonth=()=>this.readonlyProps.evSessionListUI.getProps().evChargingSessionListUI.reduce((e,t)=>
1{var i;let a=this.readonlyProps.dateRepository.formatDateIntl(t.getRequiredEVChargingSessionPropsUI().chargeData.startedAt,{month:"long",year:"numeric"});return e[a]=[...null!=(i=e[a])?i:[],t],e},{}),this.displayableLabels=()=>({title:this.translate("account-menu:item.recharge.history")}),this.translate=(e,t)=>this.readonlyProps.translationRepository.translateFn(e,t)}}o.load=e=>(e.evSessionListTrackerRepository.pageEVSessionListHistory(),new o(e))},98733:(e,t,i)=>{"use strict";i.d(t,{E:()=>r,W:()=>o});var a=i(45210),o=function(e){return e.Activity="Activity",e.Products="Products",e.Profile="Profile",e.Favorites="Favorites",e.Hidden="Hidden",e}({});class r{constructor(e){this.readonlyProps=e,this.getPath=()=>a.N_[this.readonlyProps.id].PATH,this.getLabel=()=>this.translate(s[this.readonlyProps.id]),this.onClick=()=>this.readonlyProps.accountTrackerRepository.accountMenuItemClick(this.readonlyProps.id),this.isActive=e=>a.vW.screenPathStartWith(this.getPath(),e)||a.vW.isScreen(this.readonlyProps.id,e),this.translate=(e,t)=>this.readonlyProps.translationRepository.translateFn(e,t)}}r.fromProps=e=>new r(e);let s={[a.cf.ADDRESSES]:"account-menu:item.addresses",[a.cf.ACCOUNT_CARDS]:"account-menu:item.cards",[a.cf.ACCOUNT_DEBT]:"account-menu:item.debt",[a.cf.ACCOUNT_EXPENSE_REPORT]:"account-menu:item.expenseReport",[a.cf.ACCOUNT_INFORMATIONS]:"account-menu:item.profile",[a.cf.ACCOUNT_PREFERENCES]:"account-menu:item.notifications",[a.cf.ACCOUNT_PROMOCODES]:"account-menu:item.promoCodes",[a.cf.ACCOUNT_PURCHASES]:"account-menu:item.purchases",[a.cf.ACCOUNT_SUBS]:"account-menu:item.subscriptions",[a.cf.ACCOUNT_SESSIONS]:"account-menu:item.sessions",[a.cf.ACCOUNT_VEHICLES]:"account-menu:item.vehicles",[a.cf.ACCOUNT_RIGHTS]:"account-menu:item.rights",[a.cf.ACCOUNT_ON_DEMAND]:"account-menu:item.onDemand",[a.cf.ACCOUNT_NEO_PRO]:"account-menu:item.indigoPro",[a.cf.ABNORMAL_SESSION]:"account-menu:item.abnormalSession",[a.cf.ACCOUNT_EV_SESSION_LIST]:"account-menu:item.recharge"}}},e=>{e.O(0,[4652,1947,5931,8939,3875,5956,8928,4424,4657,4254,4838,1623,4585,4080,2664,11,636,6593,8792],()=>e(e.s=39791)),_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.