1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var r=1;r<arguments.length;r++){var a=arguments[r];if(null!=a)for(var t in a)a.hasOwnProperty(t)&&(e[t]=a[t])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:kombo-app":!0})}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8023],{3598:(e,r,a)=>{"use strict";a.d(r,{A:()=>D});var t=a(80263),i=a(17343),n=a(87913),l=a(93543),s=a(26019),o=a(14073),d=a(91774),c=a(95217),p=a.n(c),m=a(53239),u=a(94638),x=a(46472),h=a(17666),_=a(9556),g=a(9590),v=a(44915),y=a(23351),f=a.n(y),j=a(96584),b=a(50343),T=a(73554);let N=p().bind(f()),S=e=>{var r,a;let{segments:i,passengerCount:n,price:l,hidePrice:s=!1,isRentalCars:o=!1,pricePerPassenger:d}=e,{t:c}=(0,u.B)([v.NS.FunnelTripRecap]),p=(0,b.T)(),m=n&&void 0!==l,x=i[0]?(0,T.GV)(null==(r=i[0])?void 0:r.departureTime,null==(a=i[0])?void 0:a.arrivalTime):void 0;return s||!i[0]?null:(0,t.jsxs)(j.az,{minHeight:"32px",ta:"center",background:"subtleDarkBlue",__borderRadius:"0 0 14px 14px",d:"flex",flexDirection:"column",children:[(0,t.jsx)(j.EY,{variant:"medium",fontWeight:"semibold",color:"textPrimary",lineHeight:"32px",children:o?(0,t.jsxs)(t.Fragment,{children:[c(1===x?"ROUND_TRIP_PRICE_FOR_1_DAY":"ROUND_TRIP_PRICE_FOR_N_DAYS",{n:x})," ",m&&" "+p(l)]}):(0,t.jsxs)(t.Fragment,{children:[n&&c("TOTAL_PASSENGER",{count:n}),m&&" "+p(l),!n&&!m&&(0,t.jsx)("div",{className:N("passenger-total"),children:(0,t.jsx)("div",{className:N("centered"),children:(0,t.jsx)(j.I5,{width:200,height:25})})})]})}),void 0!==d&&(0,t.jsx)(j.EY,{mb:"8px",children:c("PRICE_PER_PASSENGER",{price:p(d)})})]})};var C=a(36775),A=a(70141),E=a(38955),P=a(91591),I=a(74282);let w=p().bind(f()),R=e=>{let r,a,{previousSegment:i,nextSegment:n,highlightDuration:l}=e,{t:s}=(0,u.B)([v.NS.FunnelTripRecap]),{isModalOpen:o,toggleModal:d}=(0,A.A)(),c=(0,E.N)(),p=(0,m.useMemo)(()=>(0,h.lY)((0,h.BP)(n.departureTime,n.departureCity,i.arrivalTime,i.arrivalCity)),[n,i]),x=(0,m.useMemo)(()=>(0,h.ms)(i,n),[i,n]);return(0,t.jsxs)(t.Fragment,{children:[o&&(0,t.jsx)(P.l,{departureName:i.arrivalStation.name,departureCoord:i.arrivalStation,arrivalName:n.departureStation.name,arrivalCoord:n.departureStation,toggleModal:d}),(0,t.jsxs)("div",{className:w("recap-connection"),children:[!x&&(r=(0,h.Yf)(i.arrivalStation,n.departureStation),a=(0,h.lY)(c(i.arrivalStation,n.departureStation)),(0,t.jsxs)(C.a,{as:"span",fontSize:{mobile:"11px",tablet:"13px"},color:"grey3",fontWeight:"medium",marginRight:"8px",d:"flex",alignItems:"center",gap:"8px",children:[(0,t.jsx)(I.W,{size:"small",onClick:d}),"".concat(r.toFixed(+(r<1))," km \xb7 ~").concat(a)]})),(0,t.jsx)("div",{className:w("recap-connection-duration"),children:(0,t.jsxs)(C.a,{as:"span",fontSize:{mobile:"11px",tablet:"13px"},color:l?"redError":"grey3",fontWeight:"medium",marginLeft:"auto",d:"flex",alignItems:"flex-end",gap:"4px",children:[x&&(0,t.jsx)(C.I,{icon:"standingTraveler",height:"16px",width:"16px",color:"grey3",title:s("CONNECTION_DURATION")}),p]})})]})]})};var L=a(40340),M=a(32614);let k=a.n(M)()(async()=>Promise.all([a.e(9804),a.e(3304),a.e(5532)]).then(a.bind(a,75532)).then(e=>e.StationsMapModal),{loadableGenerated:{webpack:()=>[75532]},ssr:!1}),O=e=>{var r,a;let{segments:i}=e,{t:n}=(0,u.B)([v.NS.FunnelTripRecap]),[l,s]=(0,m.useState)(!1),[o,d]=(0,m.useState)("-1"),c=(0,m.useMemo)(()=>Array.from(new Map(i.flatMap(e=>[[e.departureStation.id,e.departureStation],[e.arrivalStation.id,e.arrivalStation]])).values()),[i]),p=null==(r=i[0])?void 0:r.departureCity,x=null==(a=i[i.length-1])?void 0:a.arrivalCity,h=(0,m.useMemo)(()=>"-1"===o||c.some(e=>String(e.id)===o)?o:"-1",[c,o]),_=(0,m.useMemo)(()=>c.filter(e=>"-1"===h||String(e.id)===h),[c,h]);if(!p||!x)return null;let g=[{value:"-1",label:"".concat(p.name," â ").concat(x.name)},...c.map(e=>({value:String(e.id),label:e.name}))];return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(L.a,{width:"min-content",marginLeft:"auto",children:(0,t.jsx)(I.W,{onClick:()=>s(!0)})}),l&&(0,t.jsx)(k,{title:n("VIEW_MAP"),stations:_,selector:{options:g,value:h,onChange:d},closeModal:()=>s(!1)})]})},W=p().bind(f()),D=e=>{var r,a;
1let{segments:c,passengerCount:p,price:y,hidePrice:f=!1,highlightFields:j,isFadeOut:b=!1,displayPricePerPassenger:T,hideStationsMap:N=!1}=e,{t:C}=(0,u.B)([v.NS.FunnelTripRecap]),A=e=>null!=j&&!!j.includes(e),E=c[c.length-1],P=c[0];if(!P||!E)return null;let I=P.company.id,w=I===i.CompanyId.DriiveMe,L=I===i.CompanyId.DiscoverCars,M=1===c.length;return(0,t.jsx)("div",{className:W("trip-card",{"fade-out":b}),children:(0,t.jsx)(l.A,{title:C("DATE_LISIBLE",{date:P.departureTime}),footer:(0,t.jsx)(S,{segments:c,passengerCount:p,price:y,hidePrice:f,isRentalCars:L,pricePerPassenger:T&&p?{amount:Math.round((null!=(r=null==y?void 0:y.amount)?r:0)*100/p/100),currency:null!=(a=null==y?void 0:y.currency)?a:i.Currency.EUR}:void 0}),children:(0,t.jsxs)("div",{className:W("recap",{marginTop:!M}),children:[!M&&(0,t.jsxs)("div",{className:W("recap-duration"),children:[(0,t.jsx)(s.A,{icon:"clockFilled",height:"16px",width:"16px",color:A("duration")?"redError":"grey3"}),(0,t.jsx)(o.A,{variant:"small",fontWeight:"semibold",color:A("duration")?"redError":"grey3",children:(0,h.lY)((0,h.Ds)(P.departureTime,E.arrivalTime,P.departureCity,E.arrivalCity))})]}),(0,t.jsx)("div",{className:W("recap-content"),children:c.map((e,r)=>{var a,i,l,p;let u=!!e.arrivalCity,v=(null==(a=e.carRentalInfo)?void 0:a.vendor)&&x._.includes(null==(i=e.carRentalInfo)?void 0:i.vendor)?null==(l=e.carRentalInfo)?void 0:l.vendor:"avis",y=L?v:e.company.logoName,f=(0,h._d)(null==(p=c[r-1])?void 0:p.arrivalTime,e.departureTime);return(0,t.jsxs)(m.Fragment,{children:[r>0&&void 0!==c[r-1]&&(0,t.jsx)(R,{previousSegment:c[r-1],nextSegment:e,highlightDuration:A("duration")}),(0,t.jsxs)("div",{id:e.ticketId,className:W("recap-segment"),children:[(0,t.jsxs)("div",{className:W("recap-station-time"),children:[(0,t.jsx)("div",{className:W("recap-station-time-display",{hideSchedule:w},{hideSchedule:L}),children:(0,t.jsxs)(n.A,{as:"span",fontSize:{mobile:"11px",tablet:"13px"},fontWeight:"semibold",marginBottom:"8px",marginRight:"8px",color:A("duration")?"redError":"textPrimary",children:[C("DISPLAY_TIME",{time:(0,h.fU)(e.departureTime)}),f&&(0,t.jsxs)(n.A,{as:"sup",color:"primary",marginBottom:"16px",fontWeight:"black",children:["+",f]})]})}),(0,t.jsxs)("div",{className:W("recap-station",{noPaddingLeft:w},{noPaddingLeft:L}),children:[e.departureCity&&(0,t.jsx)(o.A,{variant:"medium",fontWeight:"semibold",color:A("departurePlace")?"redError":"textPrimary",children:e.departureCity.name}),(0,t.jsx)(o.A,{variant:"small",color:A("departurePlace")?"redError":"grey3",children:e.departureStation.name})]})]}),(0,t.jsxs)("div",{className:W("recap-infos",{reducedMarginLeft:w},{reducedMarginLeft:L}),children:[L?(0,t.jsx)(n.A,{d:"flex",alignItems:"center",children:(0,t.jsx)(s.A,{icon:"invert",color:"grey2",width:"20px",height:"16px"})}):(0,t.jsx)(d.A,{flipped:!0}),e.company.transportType&&(0,t.jsxs)("div",{className:W("transport-type"),children:[(0,t.jsx)(g.Rl,{companyId:e.company.id,type:e.company.transportType,segment:e}),(0,t.jsx)(o.A,{variant:"small",color:"grey3",children:C((e=>{switch(e){case"bus":return"Autocar";case"train":return"Train";case"flight":return"Flight";default:return""}})(e.company.transportType))})]}),(0,t.jsxs)("div",{className:W("company-logo"),children:[(0,t.jsx)(n.A,{__height:"24px",children:(0,t.jsx)(_.v,{displayName:e.company.displayName,logoName:y})}),"carpooling"===e.company.transportType?(0,t.jsx)(o.A,{variant:"small",color:"grey3",children:C("Carpooling")}):"car_rental"===e.company.transportType?(0,t.jsx)(o.A,{variant:"small",color:"grey3",children:C("CAR_RENTAL")}):(0,t.jsx)(o.A,{variant:"small",color:A("transportNumber")?"redError":"grey3",children:e.transportNumber&&e.transportNumber})]}),L&&(0,t.jsxs)(n.A,{d:"flex",alignItems:"center",marginLeft:"32px",children:[(0,t.jsx)(s.A,{icon:"check",color:"goodGreen",height:"16px",width:"16px"}),(0,t.jsx)(o.A,{fontWeight:"medium",as:"span",color:"goodGreen",variant:"mini",children:C("LOLLAPALOOZA_REFUNDABLE_TAG")})]}),(0,t.jsx)("div",{className:W("duration-time",{hideSchedule:w},{hideSchedule:L}),style:e.transportNumber?{}:{alignItems:"center"},children:(0,t.jsx)(n.A,{as:"span",fontSize:{mobile:"11px",tablet:"13px"},fontWeight:"medium",color:A("duration")?"redError":"grey3",children:(0,h.lY)(e.duration)})})]}),(0,t.jsxs)("div",{className:W("recap-station-time"),children:[(0,t.jsx)("div",{className:W("recap-station-time-display",{hideSchedule:w},{hideSchedule:L}),children:(0,t.jsxs)(n.A,{as:"span",fontSize:{mobile:"11px",tablet:"13px"},fontWeight:"semibold",color:A("arrivalTime")?"redError":"textPrimary",marginBottom:"8px",position:"relative",children:[C("DISPLAY_TIME",{time:(0,h.fU)(e.arr
1ivalTime)}),(0,h._d)(e.departureTime,e.arrivalTime)&&(0,t.jsxs)(n.A,{as:"sup",color:"primary",fontWeight:"black",fontSize:"10px",children:["+",(0,h._d)(e.departureTime,e.arrivalTime)]})]})}),(0,t.jsx)("div",{className:W("recap-station",{noPaddingLeft:w},{noPaddingLeft:L}),children:L?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(o.A,{variant:"medium",fontWeight:"semibold",color:A("arrivalPlace")?"redError":"textPrimary",children:e.departureCity.name}),(0,t.jsx)(o.A,{variant:"small",color:A("arrivalPlace")?"redError":"grey3",children:e.departureStation.name})]}):(0,t.jsxs)(t.Fragment,{children:[u&&(0,t.jsx)(o.A,{variant:"medium",fontWeight:"semibold",color:A("arrivalPlace")?"redError":"textPrimary",children:e.arrivalCity.name}),(0,t.jsx)(o.A,{variant:"small",color:A("arrivalPlace")?"redError":"grey3",children:e.arrivalStation.name})]})})]})]})]},e.ticketId)})}),!N&&(0,t.jsx)(O,{segments:c})]})})})}},9613:e=>{e.exports={"back-arrow":"styles_back-arrow__KrXYd"}},23351:e=>{e.exports={centered:"TripCard_centered__MQj7y","trip-card":"TripCard_trip-card__qvgiv","fade-out"
1:"TripCard_fade-out__UxBv_",recap:"TripCard_recap__3UDJr",marginTop:"TripCard_marginTop___zKPD","recap-moon":"TripCard_recap-moon__m7G5n","recap-connection":"TripCard_recap-connection___o6le","recap-connection-duration":"TripCard_recap-connection-duration__iWZzq","recap-duration":"TripCard_recap-duration__C3hth","recap-segment":"TripCard_recap-segment__x_Mn_","recap-infos":"TripCard_recap-infos__vcJS1",reducedMarginLeft:"TripCard_reducedMarginLeft__iLerK","transport-type":"TripCard_transport-type__uOCh_","company-logo":"TripCard_company-logo__QIylB","duration-time":"TripCard_duration-time__7Z6u4","recap-station":"TripCard_recap-station__XN56X",noPaddingLeft:"TripCard_noPaddingLeft__7rZYj","recap-station-time":"TripCard_recap-station-time__U85YW","recap-station-time-display":"TripCard_recap-station-time-display___TB87","recap-price":"TripCard_recap-price__QEqzN","price-details":"TripCard_price-details__6R9rO","loading-box":"TripCard_loading-box__G1sl5",hideSchedule:"TripCard_hideSchedule__3j8Rm"}},36195:(e,r,a)=>{"use strict";a.d(r,{A:()=>c});var t=a(80263),i=a(25164),n=a(95217),l=a.n(n),s=a(9613),o=a.n(s);let d=l().bind(o()),c=e=>{let{onBack:r}=e;return r?(0,t.jsx)("button",{onClick:r,className:d("back-arrow"),children:(0,t.jsx)(i.I,{icon:"backArrow",height:"revert-layer",width:"revert-layer"})}):null}},38955:(e,r,a)=>{"use strict";a.d(r,{N:()=>s});var t=a(59419),i=a(53239),n=a(51668),l=a(17666);let s=()=>{var e;let r=null==(e=(0,i.useContext)(n.DN))?void 0:e.dependencies.stationTransferDurations;return(0,i.useCallback)((e,a)=>{var i;return null!=(i=null==r?void 0:r[(0,t.stationTransferKey)(e.id,a.id)])?i:(0,t.getStationTransferDurationMinutes)((0,l.Yf)(e,a))},[r])}},44250:(e,r,a)=>{"use strict";a.d(r,{G:()=>C});var t=a(80263),i=a(95217),n=a.n(i),l=a(36195),s=a(69312),o=a.n(s);let d=n().bind(o()),c=e=>{let{children:r}=e;return(0,t.jsx)("div",{className:d("fixed-buttons-content"),children:r})};var p=a(60829),m=a(53239);let u=n().bind(o()),x=e=>{let{children:r,fullHeight:a}=e,[i,n]=(0,m.useState)(!1);return(0,m.useEffect)(()=>{n(!!document.getElementById("bottom-nav-bar"))},[]),(0,t.jsx)("div",{className:u("fixed-buttons-flex",{"with-bottom-nav":i,"full-height":a}),children:r})};var h=a(36775),_=a(94638),g=a(9556),v=a(34120),y=a(44915),f=a(57569),j=a.n(f);let b=n().bind(j()),T=e=>{let{companies:r}=e,{t:a}=(0,_.B)([y.NS.Common]),i=(0,v.L0)();return(0,t.jsxs)(h.a,{d:"flex",alignItems:"center",justifyContent:"space-between",marginTop:"16px",children:[(null==r?void 0:r.length)?(0,t.jsxs)("div",{className:b("reassurance-payment-companies"),children:[(0,t.jsx)(h.a,{fontSize:{mobile:"11px",tablet:"13px"},color:"textPrimary",fontWeight:"semibold",marginLeft:"4px",whiteSpace:"nowrap",children:a("AUTHORIZED_AGENCY")}),(0,t.jsx)(h.a,{d:"flex",alignItems:"center",gap:"8px",marginLeft:"8px",children:r.slice(0,i?1:r.length).map(e=>(0,t.jsx)(g.v,{displayName:e.displayName,logoName:e.logoName},e.id))})]}):(0,t.jsxs)(h.a,{d:"flex",alignItems:"center",children:[(0,t.jsx)(h.I,{icon:"lock",height:"12px",width:"12px"}),(0,t.jsx)(h.a,{fontSize:{mobile:"11px",tablet:"13px"},color:"textPrimary",fontWeight:"semibold",marginLeft:"4px",children:a("LOLLAPALOOZA_REASSURANCE")})]}),(0,t.jsxs)(h.a,{d:"flex",alignItems:"center",gap:"4px",children:[(0,t.jsx)(h.I,{icon:"trustRating",width:"68px",height:"16px"}),(0,t.jsx)(h.a,{fontSize:{mobile:"11px",tablet:"13px"},color:"textPrimary",fontWeight:"semibold",whiteSpace:"nowrap",children:a("LOLLAPALOOZA_REASSURANCE_TRUSTPILOT")})]})]})},N=n().bind(o()),S=e=>{let{buttons:r,onBack:a,children:i,displayButtons:n,displayBackArrow:s,isSticky:o=!0,displayReassurancePayment:d=!1,buttonInTickets:m,hideButtonsOnMobile:u=!1,companies:h,fullHeight:_=!1}=e,g=(0,p.M)();return g?(0,t.jsxs)(x,{fullHeight:_,children:[(0,t.jsxs)(c,{children:[i,a&&s&&(0,t.jsx)(l.A,{onBack:a})]}),(0,t.jsxs)("div",{className:N("fixed-buttons-wrapper",o?"":"notSticky",u?"hideButtonsOnMobile":""),children:[!m&&n&&r&&(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:N("fixed-buttons-wrapper-inner"),children:[r,d&&(0,t.jsx)("div",{className:N("reassurance-payment-container"),children:(0,t.jsx)(T,{companies:h})})]})}),(0,t.jsx)("div",{ref:g,className:N("fixed-buttons-wrapper-inner")}),!r&&n&&d&&(0,t.jsx)(t.Fragment,{children:d&&(0,t.jsx)("div",{className:N("reassurance-payment-container-outside"),children:(0,t.jsx)(T,{companies:h})})})]})]}):null},C=e=>(0,t.jsx)(p.J,{children:(0,t.jsx)(S,{...e})})},57569:e=>{e.exports={"reassurance-payment-companies":"styles_reassurance-payment-companies__WDSxG"}},60829:(e,r,a)=>{"use strict";a.d(r,{J:()=>s,M:()=>l});var t=a(80263),i=a(53239);let n=(0,i.createContext)(null),l=()=>(0,i.useContext)(n),s=e=>{let{children:r}=e,a=(0,i.useRef)(null);return(0,t.jsx)(n.Provider,{value:a,children:r})}},69312:e=>{e.exports={"fixed-buttons-flex":"styles_fixed-buttons-flex__ifid9","full-height":"styles_full-height___EtcO","
1with-bottom-nav":"styles_with-bottom-nav__vx8Sl","fixed-buttons-content":"styles_fixed-buttons-content__QmNPV","fixed-buttons-wrapper":"styles_fixed-buttons-wrapper__ibKQ_","app-footer":"styles_app-footer__s2C3Y",notSticky:"styles_notSticky__G_3_j","fixed-buttons-wrapper-inner":"styles_fixed-buttons-wrapper-inner__mcfzz","paypal-button":"styles_paypal-button__6WzIm","paypal-button-shape-rect":"styles_paypal-button-shape-rect__JIXtc","reassurance-payment-container":"styles_reassurance-payment-container__iG_WQ",hideButtonsOnMobile:"styles_hideButtonsOnMobile__GZd28","reassurance-payment-container-outside":"styles_reassurance-payment-container-outside__2_TPk"}},96584:(e,r,a)=>{"use strict";a.d(r,{EY:()=>n.A,I5:()=>i.A,az:()=>t.A});var t=a(87913),i=a(59606),n=a(14073)}}]);
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.