PageSourceSearch

https://www.indigoneo.es/_next/static/chunks/pages/adhoc-charging/…/tariff-8cf2aa83b87a8057.js

js indigoneo.es collected 2026-09-25 03:10:49 UTC 14,233 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7326],{4196:(e,t,a)=>{"use strict";a.d(t,{Gp:()=>i.Gp,kT:()=>o.kT,pR:()=>r.p});var r=a(78533),i=a(25554),o=a(2560)},6895:e=>{e.exports={container:"ContentWithSummaryTemplate_container__m0mku",withStepper:"ContentWithSummaryTemplate_withStepper__zjqCT",content:"ContentWithSummaryTemplate_content__dxWxu",summary:"ContentWithSummaryTemplate_summary__wUQuM",stepper:"ContentWithSummaryTemplate_stepper__hdee1"}},11405:e=>{e.exports={emptyState:"EmptyState_emptyState___99nJ",errorMessageContainer:"EmptyState_errorMessageContainer__zlCfr",title:"EmptyState_title__m6gjy",description:"EmptyState_description__uxBaS",illustration:"EmptyState_illustration__mvPCd"}},11792:e=>{e.exports={contentContainer:"AdhocChargingTariff_contentContainer__rg8ot",welcomeText:"AdhocChargingTariff_welcomeText__Il41W",tariff:"AdhocChargingTariff_tariff__hFS_P",paperContainer:"AdhocChargingTariff_paperContainer__JU01E",wrapper:"AdhocChargingTariff_wrapper__jonVa",fees:"AdhocChargingTariff_fees__pZ_Zw",highlighted:"AdhocChargingTariff_highlighted__jSVXD",overstay:"AdhocChargingTariff_overstay__n_NR1",title:"AdhocChargingTariff_title__ERl2O",price:"AdhocChargingTariff_price__SkC99"}},12031:(e,t,a)=>{"use strict";a.d(t,{A:()=>c});var r=a(78854),i=a(53298),o=a(97323),s=a(35358),l=a(68355),n=a.n(l);function c(e){let{steps:t,className:a}=e;return(0,r.Y)("div",{className:(0,i.A)(a,n().stepper),children:t.map((e,a)=>{let l=a+1,c=l<t.length,d=!e.isCompleted||e.isActive,p=void 0!==e.onClick,h=p?()=>{var t;return null==(t=e.onClick)?void 0:t.call(e)}:void 0;return(0,r.FD)(o.Fragment,{children:[(0,r.Y)("div",{className:(0,i.A)(n().step,{[n().current]:e.isActive,[n().completed]:e.isCompleted,[n().clickable]:p}),onClick:h,children:(0,r.Y)("div",{className:n().number,children:d?l:(0,r.Y)(s.Vs,{className:n().icon})})}),c&&(0,r.Y)("div",{className:(0,i.A)(n().separatorContainer,{[n().completed]:e.isCompleted}),children:(0,r.Y)("div",{className:n().separator})})]},a)})})}},16791:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/adhoc-charging/[evsePhysicalReference]/tariff",function(){return a(90118)}])},28701:(e,t,a)=>{"use strict";a.d(t,{d:()=>h});var r=a(78854),i=a(53298),o=a(97323),s=a(61547),l=a(64254),n=a(90512),c=a(68237),d=a(74104),p=a.n(d);function h(e){let{className:t,error:a,toggleList:d}=e,h=a.isDisplayed;return(0,r.FD)("div",{className:p().legalTogglesTemplateContainer,children:[(0,r.Y)(s.GE,{className:(0,i.A)(p().paperContainer,t),state:h?s.NY.Error:s.NY.Default,variant:s.dg.WithInteractiveChildren,children:d.map((e,t)=>e?(0,r.FD)(o.Fragment,{children:[(0,r.Y)(l.dT,{...e}),t!==d.length-1&&(0,r.Y)(n.w,{variant:n.B.Horizontal})]},t):null)}),h&&(0,r.Y)(c.r9,{message:a.message,variant:c.Cz.Error})]})}},31534:e=>{e.exports={evQRPricing:"EVQRPricing_evQRPricing__TU5Su"}},33982:(e,t,a)=>{"use strict";a.d(t,{p:()=>h});var r=a(78854),i=a(53298),o=a(10559),s=a(61547),l=a(63496),n=a(11285);a(40571),a(28701),a(55789),a(68768);var c=a(24776),d=a(11405),p=a.n(d);function h(e){let{illustration:t,title:a,description:d,actions:h}=e,f=t.component;return(0,r.FD)(s.GE,{variant:s.dg.Default,state:s.NY.Default,className:p().emptyState,children:[(0,r.Y)(f,{className:(0,i.A)(p().illustration,t.className)}),(0,r.FD)("div",{className:p().errorMessageContainer,children:[(0,r.Y)("span",{className:p().title,children:a}),d&&(0,r.Y)("span",{className:p().description,children:d})]}),(0,c.W)(h)&&(0,r.Y)(n.O,{...h}),(0,o.DV)(h)&&(0,r.Y)(l.l,{...h})]})}},36785:(e,t,a)=>{"use strict";a.d(t,{r:()=>s});var r=a(20589),i=a(14494),o=a(25554);class s{constructor(e,t){this.props=e,this.readonlyProps=t,this.displayable=()=>({pricePerKWh:this.translate("electric-vehicle:tariff.kWhPrice").replace("{price}",this.props.chargePerKWh.toLabel()),fees:this.translate("electric-vehicle:tariff.fees").replace("{fees}",this.props.fees.toLabel()),overstay:this.getDisplayableOverstay()}),this.getDisplayableOverstay=()=>(r.l.isZero(this.props.overstayGracePeriod,this.readonlyProps.periodAndDurationRepository)?this.translate("electric-vehicle:tariff.overstay"):this.translate("electric-vehicle:tariff.overstayWithGracePeriod").replace("{gracePeriod}",(0,o.Gp)(()=>r.l.build(this.props.overstayGracePeriod,this.readonlyProps.periodAndDurationRepository,this.readonlyProps.translationRepository).format(),"grace peri
1od cannot be displayed"))).replace("{price}",this.props.overstayPrice.toLabel()).replace("{overstayUnit}",i.a.build({value:1,unit:this.props.overstayUnit},this.readonlyProps.translationRepository,{short:!0}).format()),this.translate=(e,t)=>this.readonlyProps.translationRepository.translateFn(e,t)}}},40571:(e,t,a)=>{"use strict";a.d(t,{m:()=>d});var r=a(78854),i=a(53298),o=a(97323),s=a(90489),l=a(12031),n=a(6895),c=a.n(n);let d=e=>{let{pageClassName:t,steps:a,content:n,summary:d}=e,[p,h]=(0,o.useState)(!1),f=a.length>0;return(0,r.FD)("div",{className:(0,i.A)(t,c().container,{[c().withStepper]:f}),children:[(0,r.Y)(s.W,{titleWhenOpened:d.mobileTitle.opened,titleWhenClosed:d.mobileTitle.closed,onClick:()=>{d.mobileTitle.onClick(),h(e=>!e)},className:c().summary,isOpen:p,children:d.children}),f&&(0,r.Y)("div",{className:c().stepper,children:(0,r.Y)(l.A,{steps:a})}),(0,r.Y)("div",{className:c().content,children:n.children})]})}},68355:e=>{e.exports={stepper:"Stepper_stepper__eXf1G",step:"Stepper_step__GMMwz",number:"Stepper_number__1hU0P",completed:"Stepper_completed__aFepM",current:"Stepper_current__GNQtA",icon:"Stepper_icon__rpULB",clickable:"Stepper_clickable__njWAK",separatorContainer:"Stepper_separatorContainer__d2zaW",separator:"Stepper_separator__Umy7A"}},69059:e=>{e.exports={mobileAccordionView:"MobileAccordionView_mobileAccordionView__Ymo6d",headingPart:"MobileAccordionView_headingPart__jllP6",label:"MobileAccordionView_label__zmhDB",collapseIcon:"MobileAccordionView_collapseIcon__BuqqR",summaryContent:"MobileAccordionView_summaryContent__617Rn",opened:"MobileAccordionView_opened___dAik"}},74104:e=>{e.exports={legalTogglesTemplateContainer:"LegalTogglesTemplate_legalTogglesTemplateContainer__qhNnF",paperContainer:"LegalTogglesTemplate_paperContainer__BgiDA"}},75374:(e,t,a)=>{"use strict";a.d(t,{L:()=>o});var r=a(15040),i=a(36785);class o extends r.R0{constructor(...e){super(...e),this.getStepName=()=>"tariff",this.sendPageTrack=()=>this.readonlyProps.evPurchaseTrackerRepository.pageEVQRCodeTariff(),this.shouldDisplayIsLoading=()=>this.isLoading(),this.shouldDisplayError=()=>!this.isLoading()&&!this.hasEVPriceUI(),this.shouldDisplayEVPrice=()=>this.isLoading()||this.hasEVPriceUI(),this.getRequiredTosPath=()=>(0,r.Gp)(()=>this.props.tosPath,"EVAdhocTariffUI tosPath cannot be null"),this.getPreauthorizationAmount=()=>(0,r.Gp)(()=>this.getProps().preauthorizationAmount,"EVAdhocTariffUI preauthorizationAmount cannot be null."),this.submit=async()=>(await this.readonlyProps.evPurchaseTrackerRepository.eventEVQRCodeStartSession(this.getRequiredEVSEOperator()),this.readonlyProps.isAuthenticated?this.readonlyProps.navigationUI.goToStep("payment"):this.readonlyProps.navigationUI.goToStep("email")),this.getRequiredEVSEOperator=()=>(0,r.Gp)(()=>this.getProps().evseOperator,"evseOperator cannot be null."),this.displayable=()=>({hello:this.translate("electric-vehicle:tariff.hello"),welcomeMessage:this.translate("electric-vehicle:tariff.welcome").replace("{assetName}",this.readonlyProps.assetName),title:this.translate("electric-vehicle:tariff.title"),priceType:this.translate("electric-vehicle:tariff.priceType"),genericError:this.translate("common:error.500"),actions:{submit:this.translate("electric-vehicle:tariff.startCharging")}}),this.requestEVTariff=()=>{this.updatePartial({isLoading:!0});let e=this.readonlyProps.navigationUI.getFlowParams();this.readonlyProps.evChargingRepository.getAdHocTariff(e.feesType,e.chargePointSerial,e.evsePhysicalReference).then(e=>{(0,r.kT)(e)?this.updatePartial({hasError:!0}):this.updatePartial({evPriceUI:new i.r(e.evPricePropsUI,{translationRepository:this.readonlyProps.translationRepository,periodAndDurationRepository:this.readonlyProps.periodAndDurationRepository}),tosPath:e.tosPath,preauthorizationAmount:e.preauthorizationAmount,allowedPaymentMethods:e.allowedPaymentMethods,evseOperator:e.evseOperator})}).finally(()=>this.updatePartial({isLoading:!1}))},this.isLoading=()=>this.getProps().isLoading,this.hasEVPriceUI=()=>null!==this.getProps().evPriceUI,this.translate=(e,t)=>
1this.readonlyProps.translationRepository.translateFn(e,t)}}o.load=e=>{let t=new o({isLoading:!0,hasError:!1,evPriceUI:null,evseOperator:null,allowedPaymentMethods:[],preauthorizationAmount:null,tosPath:null},e);return t.requestEVTariff(),t}},79012:(e,t,a)=>{"use strict";a.d(t,{H:()=>i});var r=a(39957);class i extends r.NK{constructor(...e){super(...e),this.sendOpenModalTracker=()=>this.readonlyProps.evPurchaseTrackerRepository.eventEVQRCodeInfocard("QRCode"),this.displayable=()=>({title:this.translate("electric-vehicle:tariff.infoCard.title"),description:"",detailsModal:{title:this.translate("electric-vehicle:tariff.infoCard.title"),closeCrossLabel:this.translate("common:close"),content:{firstPart:this.translate("electric-vehicle:tariff.infoCard.modal.content.firstPart"),list:[this.translate("electric-vehicle:tariff.infoCard.modal.content.list.0"),this.translate("electric-vehicle:tariff.infoCard.modal.content.list.1")],secondPart:this.translate("electric-vehicle:tariff.infoCard.modal.content.secondPart"),thirdPart:this.translate("electric-vehicle:tariff.infoCard.modal.content.thirdPart"),bottomLine:this.translate("electric-vehicle:tariff.infoCard.modal.content.bottomLine")},closeButtonLabel:this.translate("common:close")}})}}i.load=(e,t)=>new i({isModalOpened:!1},{translationRepository:e,evPurchaseTrackerRepository:t})},90118:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSP:()=>Y,default:()=>E});var r=a(78854),i=a(5875),o=a(11285),s=a(10143),l=a(33982),n=a(68237),c=a(7412),d=a(30829),p=a(61547),h=a(78306),f=a(16868),m=a(25070),u=a(27579),y=a(31534),_=a.n(y);function v(e){let{isLoading:t,evPricingTitle:a,evPrice:i}=e;return(0,r.FD)("div",{className:_().evQRPricing,children:[(0,r.Y)(u.A,{...a}),(0,r.Y)(m.A,{...i,isLoading:t})]})}var g=a(11792),P=a.n(g);let C=e=>{let{evAdhocTariffUI:t}=e;return(0,r.FD)(r.FK,{children:[t.shouldDisplayError()&&(0,r.Y)(l.p,{title:t.displayable().genericError,illustration:{component:c.RC}}),t.shouldDisplayEVPrice()&&(0,r.Y)(T,{evAdhocTariffUI:t})]})},T=e=>{let{evAdhocTariffUI:t}=e,a=t.displayable();return(0,r.FD)("div",{className:P().contentContainer,children:[(0,r.FD)("p",{className:P().welcomeText,children:[a.hello,(0,r.Y)("br",{}),(0,r.Y)(n.z5,{As:"span",message:a.welcomeMessage,className:P().text,highlightClassName:P().highlighted})]}),(0,r.FD)("div",{className:P().tariff,children:[(0,r.Y)("div",{className:P().title,children:a.title}),(0,r.Y)(p.GE,{className:P().paperContainer,state:p.NY.Default,variant:p.dg.Default,children:(0,r.Y)(v,{...(e=>{var t,a,r;let i=e.getProps().evPriceUI;return{isLoading:e.shouldDisplayIsLoading(),evPricingTitle:{title:e.displayable().priceType},evPrice:{price:null!=(t=null==i?void 0:i.displayable().pricePerKWh)?t:"",fees:null!=(a=null==i?void 0:i.displayable().fees)?a:"",overstay:null!=(r=null==i?void 0:i.displayable().overstay)?r:""}}})(t)})})]}),(0,r.Y)(d.n,{title:t.readonlyProps.evAdhocTariffInfoCardUI.displayable().title,de
1scription:t.readonlyProps.evAdhocTariffInfoCardUI.displayable().description,onClick:t.readonlyProps.evAdhocTariffInfoCardUI.openModal,detailsModal:{title:t.readonlyProps.evAdhocTariffInfoCardUI.displayable().detailsModal.title,closeCrossLabel:t.readonlyProps.evAdhocTariffInfoCardUI.displayable().detailsModal.closeCrossLabel,content:(0,r.FD)(r.FK,{children:[t.readonlyProps.evAdhocTariffInfoCardUI.displayable().detailsModal.content.firstPart,(0,r.Y)(h.Xy,{elements:t.readonlyProps.evAdhocTariffInfoCardUI.displayable().detailsModal.content.list}),(0,r.Y)("p",{children:t.readonlyProps.evAdhocTariffInfoCardUI.displayable().detailsModal.content.secondPart}),(0,r.Y)("p",{children:t.readonlyProps.evAdhocTariffInfoCardUI.displayable().detailsModal.content.thirdPart}),t.readonlyProps.evAdhocTariffInfoCardUI.displayable().detailsModal.content.bottomLine,(0,r.Y)(s.jn,{label:t.readonlyProps.evAdhocTariffInfoCardUI.displayable().detailsModal.closeButtonLabel,size:s.Mp.Medium,onClick:()=>(0,f.NP)(t.readonlyProps.evAdhocTariffInfoCardUI.closeModal)})]}),onClose:t.readonlyProps.evAdhocTariffInfoCardUI.closeModal,closeButtonLabel:t.readonlyProps.evAdhocTariffInfoCardUI.displayable().detailsModal.closeButtonLabel,isOpen:t.readonlyProps.evAdhocTariffInfoCardUI.shouldDisplayModal()}}),(0,r.Y)(o.a,{nextButton:{onClick:t.submit,label:a.actions.submit}})]})};var A=a(77705),b=a(56872),I=a(79012),N=a(75374);let U=()=>{let{evAdhocTariffUI:e}=(()=>{let{flowUI:e,repositoryFactory:t}=(0,A.T)(),a=e.getEVAdhocTariffUI(),r=t.translationRepository(),i=t.evPurchaseTrackerRepository(),o=(0,b.Z)(null===a?I.H.load(r,i):a.readonlyProps.evAdhocTariffInfoCardUI),s=(0,b.q)(()=>null===a?N.L.load({isAuthenticated:e.isAuthenticated(),evAdhocTariffInfoCardUI:o,assetName:e.getRequiredChargePointUI().assetName,navigationUI:e.getNavigationUI(),evChargingRepository:t.evChargingRepository(),translationRepository:r,periodAndDurationRepository:t.periodAndDurationRepository(),evPurchaseTrackerRepository:i}):a);return e.initializeEVAdhocTariffUI(s),{flowUI:e,evAdhocTariffUI:e.getRequiredEVAdhocTariffUI()}})();return(0,r.Y)(C,{evAdhocTariffUI:e})};U.getLayout=e=>(0,r.Y)(i.d,{children:e});var Y=!0;let E=U},90489:(e,t,a)=>{"use strict";a.d(t,{W:()=>n});var r=a(78854),i=a(53298),o=a(35358),s=a(69059),l=a.n(s);function n(e){let{ref:t,className:a,contentClassName:s,children:n,titleWhenClosed:c,titleWhenOpened:d,onClick:p,isOpen:h}=e;return(0,r.FD)("div",{ref:t,className:(0,i.A)(l().mobileAccordionView,{[l().opened]:h},a),children:[(0,r.FD)("div",{className:l().headingPart,onClick:p,children:[(0,r.Y)("div",{className:l().label,children:h?d:c}),(0,r.Y)(o.rI,{className:l().collapseIcon})]}),(0,r.Y)("div",{className:(0,i.A)(l().summaryContent,s),children:n})]})}}},e=>{e.O(0,[4652,1947,5931,8939,3875,5956,8928,4424,4657,4254,2107,11,3717,636,6593,8792],()=>e(e.s=16791)),_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.