PageSourceSearch

https://www.indigoneo.es/_next/static/chunks/5513-ade1b6ba6533b56c.js

js indigoneo.es collected 2026-10-02 15:29:28 UTC 12,549 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5513],{3348:(e,t,i)=>{"use strict";i.d(t,{EU:()=>_,m9:()=>m,qY:()=>C,aR:()=>f,II:()=>A,yw:()=>N});var n=i(78854),o=i(53298),r=i(35358),c=i(70524),a=i(81646),s=i.n(a),l=function(e){return e.Info="info",e.Valid="valid",e.Warning="warning",e.Error="error",e.Alert="alert",e.New="new",e}({});let d={info:r.ai,valid:r.iW,warning:r.GC,error:r.UH,alert:r.GC,new:r.Aw};function u(e){let{action:t,title:i,label:r,variant:a,dataCy:l}=e,u=(0,o.A)(s().infoView,{[s().info]:["info","new"].includes(a),[s().valid]:"valid"===a,[s().warning]:"warning"===a,[s().error]:["error","alert"].includes(a)}),_=d[a];return(0,n.FD)("div",{className:u,"data-cy":l,children:[(0,n.FD)("div",{className:s().leftPart,children:[(0,n.Y)("div",{className:s().iconWrapper,children:(0,n.Y)(_,{className:s().icon})}),(0,n.Y)("div",{className:s().curvedLine})]}),(0,n.FD)("div",{className:s().contentContainer,children:[(0,n.FD)("section",{className:s().contentWrapper,children:[i&&(0,n.Y)("h2",{className:s().title,children:i}),(0,n.Y)("div",{className:s().content,children:r})]}),t&&(0,n.Y)(c.Yq,{className:(0,o.A)(s().action,t.className),...t})]})]})}function _(e){return(0,n.Y)(u,{...e,variant:l.Alert})}function m(e){return(0,n.Y)(u,{...e,variant:l.Error})}function C(e){return(0,n.Y)(u,{...e,variant:l.Info})}function f(e){return(0,n.Y)(u,{...e,variant:l.New})}function A(e){return(0,n.Y)(u,{...e,variant:l.Valid})}function N(e){return(0,n.Y)(u,{...e,variant:l.Warning})}},4074:(e,t,i)=>{"use strict";i.d(t,{i:()=>l,E:()=>d});var n=i(78854),o=i(63823),r=i(46303),c=i(41884),a=i(52853),s=i(97323);let l=(0,s.createContext)(void 0),d=e=>{let{children:t,hasDebtToPay:i}=e,{accountMenuUI:d,repositoryFactory:u,activePath:_}=(e=>{let{goTo:t,activePath:i}=(0,r.q)(),n=(0,o.q)(),l=(0,c.N)(!1),d=(0,s.useMemo)(()=>a.f.load(i,l,e,t,n.translationRepository(),n.accountTrackerRepository()),[i,e]);return{activePath:i,repositoryFactory:n,accountMenuUI:d}})(i);return(0,n.Y)(l.Provider,{value:{accountMenuUI:d,repositoryFactory:u,activePath:_},children:t})}},10332:e=>{e.exports={accountLayout:"AccountLayout_accountLayout__xwhhl",container:"AccountLayout_container__zrnir",wrapper:"AccountLayout_wrapper__ydNpE"}},24790:(e,t,i)=>{"use strict";i.d(t,{A:()=>ei});var n=i(78854),o=i(58255),r=i(5923),c=i(9980),a=i(65896),s=i(25398),l=i(96867),d=i(10143),u=i(35358),_=i(62936),m=i(70524),C=i(9954),f=i(53298),A=i(96870),N=i(54227),p=i.n(N);function E(e){let{items:t}=e;return(0,n.Y)("div",{className:p().menuContainer,children:t.map((e,t)=>(0,C.n)(y,{...e,key:t}))})}function y(e){return(0,n.FD)("div",{className:p().category,children:[(0,n.Y)("div",{className:p().label,children:e.label}),(0,n.Y)("div",{className:p().listWrapper,children:e.items.map((e,t)=>(0,C.n)(O,{...e,key:t}))})]})}function O(e){return(0,n.Y)(A.Ay,{...e.link,className:(0,f.A)(p().menuItem,e.link.className,{[p().selected]:e.isActive}),variant:m.W9.Link})}var P=i(90489),h=i(24293),v=i(98733),S=i(52853),g=i(25121),I=i(76940),T=i(42117),b=i.n(T),w=i(2996),M=i(85442),U=i(76124),D=i.n(U);let R=()=>{let{t:e}=(0,M.Bd)(),{asPath:t}=(0,w.useRouter)(),{accountMenuUI:i,repositoryFactory:o,activePath:r}=(0,s.z)(),c=o.translationRepository(),u=e=>({isActive:e.isActive(r),link:{as:b(),label:e.getLabel(),LeftIcon:W[e.readonlyProps.id],href:e.getPath(),onClick:()=>i.onAccountMenuItemClick(e),size:m.sP.Medium}}),_=e=>({label:S.f.translateCategory(e,c),items:i.getItemsFromCategory(e).map(u)}),C=(0,h.L)(()=>{i.isMobileMenuDisplayed()&&i.toggleMobileMenuDisplay()}),f=()=>(0,n.Y)(E,{items:[_(v.W.Activity),_(v.W.Products),_(v.W.Favorites),_(v.W.Profile)]}),A=i.getActiveItemLabel();return(0,n.FD)(n.FK,{children:[(0,n.Y)(P.W,{ref:C,className:D().mobileAccordionView,contentClassName:D().content,titleWhenClosed:A,titleWhenOpened:A,isOpen:i.isMobileMenuDisplayed(),onClick:i.toggleMobileMenuDisplay,children:f()}),(0,n.FD)("div",{className:D().desktopSidebarContainer,children:[f(),(0,n.Y)(d.tA,{label:e("common:sign.out"),size:d.Mp.Small,onClick:()=>{I.h.logoutUser(t),a.A.logoutSucceed(),new l.z().resetAnalyticIdsInLocalStorage()},dataCy:"menu-logout-button"})]})]})},W={[g.cf.ACCOUNT_PURCHASES]:u.c8,[g.cf.ACCOUNT_DEBT]:u.GC,[g.cf.ACCOUNT_SUBS]:u.Zm,[g.cf.ACCOUNT_ON_DEMAND]:u.ln,[g.cf.ACCOUNT_NEO_PRO]:u.A9,[g.cf.ACCOUNT_EXPENSE_REPORT]:u.nw,[g.cf.ACCOUNT_SESSIONS]:u.PO,[g.cf.ACCOUNT_INFORMATIONS]:u.de,[g.cf.ACCOUNT_RIGHTS]:u.PM,[g.cf.ACCOUNT_PROMOCODES]:u.cD,[g.cf.ACCOUNT_PREFERENCES]:u.pY,[g.cf.ADDRESSES]:u.W6,[g.cf.ACCOUNT_VEHICLES]:u.OZ,[g.cf.ACCOUNT_CARDS]:_.B,[g.cf.ACCOUNT_EV_SESSION_LIST]:u.yD};var Y=i(4074),V=i(80941),L=i(74865),F=i(98023),k=i(63823),B=i(3348),H=i(89010),x=i(97323);let q=()=>{let{t:e}=(0,M.Bd)(),t=(0,k.q)(),i=(0,x.useCallback)(()=>{t.debtTrackerRepository().eventPayDebtFromAccountClicked()},[]);return(0,n.Y)(B.EU,{label:e("common:debt.banner.text"),action:{label:e("regularize"),onClick:i,href:H.N.ACCOUNT_DEBT.PATH,as:b(),size:m.sP.Medium},title:e("common:warning")})};var z=i(7180),G=i(10914),X=i(14558),Z=i(49967),J=i(94282),K=i(48967),Q=i(45111),j=i.n(Q),$=i(32922),ee=i(10332),et=i.n(ee);let ei=e=>{let{children:t}=e,i=(0,$.wA)(),a=z.A.isAccountDebtScreen(),s=z.A.isAccountDebtPaymentScreen(),l=(0,$.d4)(K.BQ),d=(0,$.d4)(c.C2),{debtContextUI:u}=(0,V.J)(),_=u.hasDebtToPay();(0,x.useEffect)(()=>{l||d||i((0,G.eD)(r.hA))},[i,l,d]);let m=!a&&!s&&_;return(0,n.FD)("div",{className:et().accountLayout,children:[(0,n.Y)(j(),{children:(0,n.Y)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, maximum-scale=1, interactive-widget=resizes-content"})}),(0,n.Y)(F.A,{}),(0,n.Y)(Y.E,{hasDebtToPay:_,children:(0,n.FD)("div",{className:et().container,children:[(0,n.Y)(R,{}),(0,n.FD)("div",{className:et().wrapper,children:[m&&(0,n.Y)(q,{}),t]})]})}),(0,n.Y)(L.A,{}),(0,n.Y)(Z.A,{}),(0,n.Y)(X.A,{}),(0,n.Y)(o.A,{}),(0,n.Y)(J.A,{})]})}},25398:(e,t,i)=>{"use strict";i.d(t,{z:()=>c});var n=i(4074),o=i(25554),r=i(97323);let c=()=>{let e=(0,r.useContext)(n.i);return(0,o.Gp)(()=>e,"React context not found.")}},41884:(e,t,i)=>{"use strict";i.d(t,{N:()=>n.No});var n=i(15341)},52853:(e,t,i)=>{"use strict";i.d(t,{f:()=>c});var n=i(25554),o=i(45210),r=i(98733);class c{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,n.Gp)(()=>this.getItemList().find(e=>e.isActive(this.readonlyProps.activePathname)),"Active AccountMenuItemUI not found.")}}c.load=(e,t,i,n,a,s)=>new c({isMobileMenuOpenStateUI:t,activePathname:e,items:[r.E.fromProps({id:o.cf.ACCOUNT_PURCHASES,category:r.W.Activity,goTo:n,translationRepository:a,accountTrackerRepository:s}),r.E.fromProps({id:o.cf.ACCOUNT_SESSIONS,category:r.W.Activity,goTo:n,translationRepository:a,accountTrackerRepository:s}),r.E.fromProps({id:o.cf.ACCOUNT_EV_SESSION_LIST,category:r.W.Activity,goTo:n,translationRepository:a,accountTrackerRepository:s}),r.E.fromProps({id:o.cf.ACCOUNT_EXPENSE_REPORT,category:r.W.Activity,goTo:n,translationRepository:a,accountTrackerRepository:s}),r.E.fromProps({id:o.cf.ACCOUNT_DEBT,category:i?r.W.Activity:r.W.Hidden,goTo:n,translationRepository:a,accountTrackerRepository:s}),r.E.fromProps({id:o.cf.ACCOUNT_SUBS,category:r.W.Products,goTo:n,translationRepository:a,accountTrackerRepository:s}),r.E.fromProps({id:o.cf.ACCOUNT_ON_DEMAND,category:r.W.Products,goTo:n,translationRepository:a,accountTrackerRepository:s}),r.E.fromProps({id:o.cf.ACCOUNT_NEO_PRO,category:r.W.Products,goTo:n,translationRepository:a,accountTrackerRepository:s}),r.E.fromProps({id:o.cf.ACCOUNT_INFORMATIONS,category:r.W.Profile,goTo:n,translationRepository:a,accountTrackerRepository:s}),r.E.fromProps({id:o.cf.ACCOUNT_RIGHTS,category:r.W.Profile,goTo:n,translationRepository:a,accountTrackerRepository:s}),r.E.fromProps({id:o.cf.ACCOUNT_PROMOCODES,category:r.W.Profile,goTo:n,translationRepository:a,accountTrackerRepository:s}),r.E.fromProps({id:o.cf.ACCOUNT_PREFERENCES,category:r.W.Profile,goTo:n,translationRepository:a,accountTrackerRepository:s}),r.E.fromProps({id:o.cf.ADDRESSES,category:r.W.Favorites,goTo:n,translationRepository:a,accountTrackerRepository:s}),r.E.fromProps({id:o.cf.ACCOUNT_VEHICLES,category:r.W.Favorites,goTo:n,translationRepository:a,accountTrackerRepository:s}),r.E.fromProps({id:o.cf.ACCOUNT_CARDS,category:r.W.Favorites,goTo:n,translationRepository:a,accountTrackerRepository:s}),r.E.fromProps({id:o.cf.ABNORMAL_SESSION,category:r.W.Hidden,goTo:n,translationRepository:a,accountTrackerRepository:s})]}),c.translateCategory=(e,t)=>t.translateFn(a[e]);let a={[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"}},54227:e=>{e.exports={category:"Menu_category__QIBN0",label:"Menu_label__OBhrN",listWrapper:"Menu_listWrapper__bCvTU",menuItem:"Menu_menuItem__766WY",menuContainer:"Menu_menuContainer__3MMsD",selected:"Menu_selected__5ZZtc"}},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"}},76124:e=>{e.exports={mobileAccordionView:"AccountMenu_mobileAccordionView__tPli5",content:"AccountMenu_content__bIE3y",desktopSidebarContainer:"AccountMenu_desktopSidebarContainer__x9Tnb"}},81646:e=>{e.exports={infoView:"InfoView_infoView__ccvoJ",contentContainer:"InfoView_contentContainer__iZISM",contentWrapper:"InfoView_contentWrapper__sDhIh",content:"InfoView_content__KlCxm",title:"InfoView_title__5GnLn",leftPart:"InfoView_leftPart__tOqIL",iconWrapper:"InfoView_iconWrapper__yfiuV",icon:"InfoView_icon__X7a45",curvedLine:"InfoView_curvedLine__0JxH2",action:"InfoView_action__Svbdb",info:"InfoView_info__eBOsV",valid:"InfoView_valid__Xa6ON",warning:"InfoView_warning__4Tv9h",error:"InfoView_error__ULLaE"}},90489:(e,t,i)=>{"use strict";i.d(t,{W:()=>s});var n=i(78854),o=i(53298),r=i(35358),c=i(69059),a=i.n(c);function s(e){let{ref:t,className:i,contentClassName:c,children:s,titleWhenClosed:l,titleWhenOpened:d,onClick:u,isOpen:_}=e;return(0,n.FD)("div",{ref:t,className:(0,o.A)(a().mobileAccordionView,{[a().opened]:_},i),children:[(0,n.FD)("div",{className:a().headingPart,onClick:u,children:[(0,n.Y)("div",{className:a().label,children:_?d:l}),(0,n.Y)(r.rI,{className:a().collapseIcon})]}),(0,n.Y)("div",{className:(0,o.A)(a().summaryContent,c),children:s})]})}},98733:(e,t,i)=>{"use strict";i.d(t,{E:()=>r,W:()=>o});var n=i(45210),o=function(e){return e.Activity="Activity",e.Products="Products",e.Profile="Profile",e.Favorites="Favorites",e.Hidden="Hidden",e}({});
1class r{constructor(e){this.readonlyProps=e,this.getPath=()=>n.N_[this.readonlyProps.id].PATH,this.getLabel=()=>this.translate(c[this.readonlyProps.id]),this.onClick=()=>this.readonlyProps.accountTrackerRepository.accountMenuItemClick(this.readonlyProps.id),this.isActive=e=>n.vW.screenPathStartWith(this.getPath(),e)||n.vW.isScreen(this.readonlyProps.id,e),this.translate=(e,t)=>this.readonlyProps.translationRepository.translateFn(e,t)}}r.fromProps=e=>new r(e);let c={[n.cf.ADDRESSES]:"account-menu:item.addresses",[n.cf.ACCOUNT_CARDS]:"account-menu:item.cards",[n.cf.ACCOUNT_DEBT]:"account-menu:item.debt",[n.cf.ACCOUNT_EXPENSE_REPORT]:"account-menu:item.expenseReport",[n.cf.ACCOUNT_INFORMATIONS]:"account-menu:item.profile",[n.cf.ACCOUNT_PREFERENCES]:"account-menu:item.notifications",[n.cf.ACCOUNT_PROMOCODES]:"account-menu:item.promoCodes",[n.cf.ACCOUNT_PURCHASES]:"account-menu:item.purchases",[n.cf.ACCOUNT_SUBS]:"account-menu:item.subscriptions",[n.cf.ACCOUNT_SESSIONS]:"account-menu:item.sessions",[n.cf.ACCOUNT_VEHICLES]:"account-menu:item.vehicles",[n.cf.ACCOUNT_RIGHTS]:"account-menu:item.rights",[n.cf.ACCOUNT_ON_DEMAND]:"account-menu:item.onDemand",[n.cf.ACCOUNT_NEO_PRO]:"account-menu:item.indigoPro",[n.cf.ABNORMAL_SESSION]:"account-menu:item.abnormalSession",[n.cf.ACCOUNT_EV_SESSION_LIST]:"account-menu:item.recharge"}}}]);

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.