PageSourceSearch

https://www.vacances-migros.ch/_next/static/chunks/2849-62b176f8337ed4fb.js

js vacances-migros.ch collected 2026-10-09 00:30:03 UTC 37,032 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ca39eb57-ff96-463d-aa32-bc35c84ddb62",e._sentryDebugIdIdentifier="sentry-dbid-ca39eb57-ff96-463d-aa32-bc35c84ddb62")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2849],{1955:(e,n,i)=>{i.d(n,{Z:()=>t,q:()=>a});let a={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"airport"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Airport"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"isGroup"}},{kind:"Field",name:{kind:"Name",value:"iata"}},{kind:"Field",name:{kind:"Name",value:"codes"}},{kind:"Field",name:{kind:"Name",value:"coordinates"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"longitude"}},{kind:"Field",name:{kind:"Name",value:"latitude"}}]}}]}}]},t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"basicAirport"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Airport"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"iata"}},{kind:"Field",name:{kind:"Name",value:"name"}}]}}]}},5092:(e,n,i)=>{i.d(n,{v:()=>a});let a={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"pagination"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Pagination"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"total"}},{kind:"Field",name:{kind:"Name",value:"page"}},{kind:"Field",name:{kind:"Name",value:"perPage"}}]}}]}},6556:(e,n,i)=>{i.d(n,{A:()=>d});var a=i(77232),t=i(89075);let d=a.default.div.withConfig({componentId:"sc-d5fd7f1e-0"})((0,t.sx2CssThemeFn)({position:"absolute",top:"-5px",left:"10px",px:2,py:1,color:"white",fontFamily:'"Helvetica Neue", sans-serif',display:"flex",alignItems:"center",gap:2,"&:after":{display:["block","block"],content:'""',position:"absolute",top:"0",right:"-5px",width:"0px",height:"0px",borderStyle:"solid",borderWidth:"5px 0 0 5px",borderColor:"transparent transparent transparent #a44809"}}))},28665:(e,n,i)=>{i.d(n,{f:()=>a});var a=function(e){return e.Apartment="Apartment",e.Cruise="Cruise",e.Hotel="Hotel",e.Roundtrip="RoundTrip",e}({})},39334:(e,n,i)=>{i.d(n,{Pn:()=>t,UH:()=>o,Xg:()=>a,oW:()=>d});let a={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"destinationBreadcrumbs"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Destination"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"webMeta"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"offersGeoLink"}}]}},{kind:"Field",name:{kind:"Name",value:"region"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"webMeta"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"offersGeoLink"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"country"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"webMeta"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"offersGeoLink"}}]}},{kind:"Field",name:{kind:"Name",value:"countryGroup"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"webMeta"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"offersGeoLink"}}]}}]}},{kind:"Field",name:{kind:"Name",value:"continent"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"webMeta"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"offersGeoLink"}}]}}]}}]}}]}}]},t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"hotelBreadcrumbs"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Hotel"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"resort"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"webMeta"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"offersGeoLink"}}]}},{kind:"Field",name:{kind:"Name",value:"destination"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"destinationBreadcrumbs"}}]}}]}}]}}]},d={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"cruiseBreadcrumbs"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Cruise"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"destination"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"destinationBreadcrumbs"}}]}}]}}]},o={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"roundTripBreadcrumbs"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"RoundTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"destination"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"destinationBreadcrumbs"}}]}}]}}]}},39633:(e,n,i)=>{i.d(n,{A:()=>l});
1var a=i(6396),t=i(28665);let d={[t.f.Hotel]:"common:travelTypeDetails.hotel",[t.f.Roundtrip]:"common:travelTypeDetails.roundtrip",[t.f.Cruise]:"common:travelTypeDetails.cruise",[t.f.Apartment]:"common:travelTypeDetails.apartment"},o={[a.ProductTravelType.Package]:{[t.f.Hotel]:"common:travelTypeDetailsPackage.hotel",[t.f.Roundtrip]:"common:travelTypeDetailsPackage.roundtrip",[t.f.Cruise]:"common:travelTypeDetailsPackage.cruise",[t.f.Apartment]:"common:travelTypeDetailsPackage.apartment"},[a.ProductTravelType.HotelOnly]:d,[a.AccountTravelType.Hotel]:d};function l(e,n){return e||n!==a.AccountTravelType.Flight?o[n]&&o[n][e]?o[n][e]:void 0:"common:flight"}},60964:(e,n,i)=>{i.d(n,{P:()=>s,A:()=>r});var a=i(37876),t=i(14232),d=i(77232),o=i(89075);let l=d.default.p.withConfig({componentId:"sc-aa3df212-0"})((0,o.sx2CssThemeFn)({fontSize:"14px",mb:1})),r=({departureDate:e,returnDate:n,duration:i,travelersCount:t})=>(0,a.jsxs)(l,{"data-id":"offer-datesInformation",children:[(0,a.jsx)("span",{"data-id":"offer-departureDate",children:e})," –"," ",(0,a.jsx)("span",{"data-id":"offer-returnDate",children:n}),","," ",(0,a.jsx)("span",{"data-id":"offer-duration",children:i}),t||null]});var m=i(18130);let s=(0,d.default)(function({breadcrumbs:e,delimiter:n=", ",className:i}){return e?.length?(0,a.jsx)("div",{className:i,children:e.map(({link:i,caption:d},o)=>(0,a.jsxs)(t.Fragment,{children:[i?(0,a.jsx)(m.NvRoute,{link:i,children:d}):(0,a.jsx)("span",{children:d}),e.length-1!==o?n:""]},`${o}_${d}`))}):null}).withConfig({componentId:"sc-6c51247c-0"})({marginBottom:0})},77541:(e,n,i)=>{i.d(n,{Y:()=>d,i:()=>o});var a=i(6396),t=i(28665);let d=(e,n)=>e&&"ProductInformation"!==e&&"Accommodation"!==e&&"GiataHotel"!==e?n?t.f.Apartment:e:null;function o(e){switch(e){case a.ProductType.Hotel:return"Hotel";case a.ProductType.Roundtrip:return"RoundTrip";case a.ProductType.AdventureTravel:return"AdventureTravel";case a.ProductType.Cruise:return"Cruise";default:return null}}},77683:(e,n,i)=>{i.d(n,{V:()=>m});var a=i(37876),t=i(77232),d=i(56928),o=i(18130),l=i(89075);let r=(0,t.default)(o.NvRoute).withConfig({componentId:"sc-2bb34f88-0"})(({theme:{buttons:e}})=>e.primary,({theme:{buttons:e}})=>e.btnWithIcon,(0,l.sx2CssThemeFn)({p:["9px 6px","9px 10px"],pl:["10px",3],textTransform:"uppercase"})),m=e=>{let{children:n,className:i,...t}=e;return(0,a.jsxs)(r,{...t,className:`primary-button-link ${i}`,children:[n,(0,a.jsx)(d.NvIcon,{name:"chevron-long-right"})]})}},82849:(e,n,i)=>{i.d(n,{Mz:()=>eR,Y_:()=>eB,Ye:()=>ew});var a=i(37876),t=i(91814),d=i(14232),o=i(25397),l=i(77232),r=i(91410),m=i(81014),s=i(6805),c=i(89075),u=i(77683);let k=l.default.div.withConfig({componentId:"sc-48c22fb0-0"})((0,c.sx2CssThemeFn)({width:"100%",bg:"backgroundGray",border:"1px solid",borderColor:"borderGray",display:"flex",flexDirection:"column",alignItems:["flex-start","center"],justifyContent:"center",height:["100%","170px"],padding:3,mb:4})),p=l.default.h3.withConfig({componentId:"sc-48c22fb0-1"})((0,c.sx2CssThemeFn)({fontSize:1,mb:[1,3],fontWeight:400,textAlign:"center",mx:"auto"})),g=l.default.h4.withConfig({componentId:"sc-48c22fb0-2"})((0,c.sx2CssThemeFn)({fontSize:1,mb:[1,3],fontWeight:400,textAlign:"center",mx:"auto"})),v=(0,l.default)(u.V).withConfig({componentId:"sc-48c22fb0-3"})((0,c.sx2CssThemeFn)({mx:[null,"auto"],mt:2,p:2,width:["100%","fit-content"],span:{ml:["auto",0]}})),h=l.default.div.withConfig({componentId:"sc-48c22fb0-4"})((0,c.sx2CssThemeFn)({px:[3,4],pt:6,pb:4,backgroundColor:"white",border:[null,"1px solid"],borderTop:["none","none"],borderColor:[null,"borderGray"],ml:"-1px"})),f=l.default.section.withConfig({componentId:"sc-48c22fb0-5"})((0,c.sx2CssThemeFn)({mx:["-16px","-24px"],mb:[4,5],px:[3,4],py:[4,5],backgroundColor:"bgWarning"})),N=l.default.h2.withConfig({componentId:"sc-48c22fb0-6"})(({theme:{FONT_SIZE:e}})=>(0,c.sx2CssThemeFn)({mb:3,...e.S})),b=l.default.p.withConfig({componentId:"sc-48c22fb0-7"})((0,c.sx2CssThemeFn)({fontSize:1,lineHeight:"24px",fontWeight:400})),x=l.default.h2.withConfig({componentId:"sc-48c22fb0-8"})((0,c.sx2CssThemeFn)({fontSize:[null,3],mb:[3,4],color:"secondary"})),S=l.default.div.withConfig({componentId:"sc-48c22fb0-9"})(({theme:{media:e,space:n}})=>({position:"relative",borderBottom:"1px solid #BBBBBB","&:nth-last-child(-n + 2)":{border:"none",marginBottom:"0px"},[e.mobile]:{paddingTop:n[3],paddingBottom:n[3],"&:first-child":{paddingTop:0},"&:last-child":{paddingBottom:0}},[e.tablet]:{marginBottom:n[4]}})),y=l.default.div.withConfig({componentId:"sc-48c22fb0-10"})(({theme:{media:e,space:n}})=>({position:"relative",[e.mobile]:{paddingTop:n[3],paddingBottom:n[3],":first-child":{paddingTop:0},":last-child":{paddingBottom:0}},[e.tablet]:{marginBottom:n[4]}})),F=l.default.div.withConfig({componentId:"sc-48c22fb0-11"})((0,c.sx2CssThemeFn)({pb:[3,4],display:"flex",flexDirection:["column","row"],transition:"fast"})),T=l.default.div.withConfig({componentId:"sc-48c22fb0-12"})((0,c.sx2CssThemeFn)({display:"flex",minHeight:"40px",paddingBottom:3,marginBottom:3,borderBottom:"1px solid #BBBBBB",".load-more-booking-button":{color:"primary",mx:"auto",fontSize:1,display:"flex",flexDirection:"row-reverse",alignItems:"center",gap:2,".icon":{transform:"rotate(90deg)",mt:1}}})),j=(0,l.default)(s.NvAccordionItem).withConfig({componentId:"sc-48c22fb0-13"})(({theme:{FONT_SIZE:e}})=>(0,c.sx2CssThemeFn)({border:"1px solid",borderColor:"lightGreyFirst",borderRadius:"4px",my:4,mx:3,".accordionButton":{borderTop:0,borderBottom:0,background:"transparent",...e.S},".accordionContent":{borderTop:"1px solid",borderColor:"lightGreyFirst",padding:3}}
1)),C=(0,l.default)(r.FormLayout).withConfig({componentId:"sc-48c22fb0-14"})((0,c.sx2CssThemeFn)({".row":{gap:3,p:0,".input":{height:"44px",pl:3,fontSize:"18px"},".label, .label span":{color:"darkGrey"},".error":{mt:1,fontSize:"14px"},".base-input-wrapper":{".input-icon":{right:"12px"}},".last-name":{flex:[null,"1 0 275px"]},"> div":{pr:0,pt:0}}})),I=(0,l.default)(m.NvButtonWithIcon).withConfig({componentId:"sc-48c22fb0-15"})(({theme:{buttons:e}})=>e.primary,({theme:{buttons:e}})=>e.btnWithIcon,(0,c.sx2CssThemeFn)({textTransform:"uppercase",mt:[null,"28px"],p:["9px 10px","10px"],textAlign:"center",flexShrink:0,".fdr-submit-button-text":{width:"100%"}})),B=l.default.h2.withConfig({componentId:"sc-48c22fb0-16"})((0,c.sx2CssThemeFn)({my:3,color:"secondary"}));function w({className:e}){let[n]=(0,t.useTranslation)("myaccount"),i=(0,o.w)();return(0,a.jsxs)(k,{className:e,children:[(0,a.jsxs)(p,{children:[n("myaccount:noUpcomingBookings.title")," "]}),(0,a.jsx)(g,{children:n("myaccount:noUpcomingBookings.text")}),(0,a.jsx)(v,{...i,children:(0,a.jsx)("span",{children:n("myaccount:noUpcomingBookings.button")})})]})}var D=i(59598),P=i(91929),A=i(20677),O=i(29666),V=i(25196),M=i(1955),R=i(39334),L=i(88301),H=i(5092),_=i(91641);let G={},z={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"query",name:{kind:"Name",value:"AccountBookings"},variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"upcomingBookingsPageNumber"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"upcomingBookingsResultsPerPage"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pastBookingsPageNumber"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"pastBookingsResultsPerPage"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Int"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"account"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"bookings"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"upcomingBookings"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"pagination"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"page"},value:{kind:"Variable",name:{kind:"Name",value:"upcomingBookingsPageNumber"}}},{kind:"ObjectField",name:{kind:"Name",value:"perPage"},value:{kind:"Variable",name:{kind:"Name",value:"upcomingBookingsResultsPerPage"}}}]}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"bookingsList"}}]}},{kind:"Field",name:{kind:"Name",value:"pastBookings"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"pagination"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"page"},value:{kind:"Variable",name:{kind:"Name",value:"pastBookingsPageNumber"}}},{kind:"ObjectField",name:{kind:"Name",value:"perPage"},value:{kind:"Variable",name:{kind:"Name",value:"pastBookingsResultsPerPage"}}}]}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"bookingsList"}}]}}]}}]}}]}},{kind:"FragmentDefinition",name:{kind:"Name",value:"bookingsList"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"AccountBookingListResponse"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}},{kind:"Field",name:{kind:"Name",value:"defaultFallbackProductImage"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"accountProductHero"}}]}},{kind:"Field",name:{kind:"Name",value:"defaultFallbackFlightImage"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"accountProductHero"}}]}},{kind:"Field",name:{kind:"Name",value:"defaultFallbackCarRentalImage"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"accountProductHero"}}]}},{kind:"Field",name:{kind:"Name",value:"bookingList"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"bookingListItem"}}]}},{kind:"Field",name:{kind:"Name",value:"pagination"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"pagination"}}]}}]}},...P.N.definitions,...A.K.definitions,...O.J.definitions,...V.P.definitions,...P.p.definitions,...M.q.definitions,...R.Pn.definitions,...L.FJ.definitions,...R.Xg.definitions,...R.oW.definitions,...R.UH.definitions,...H.v.definitions]};var W=i(69187),E=i(49316),U=i(13155),q=i(66153),Y=i(69233),$=i(81523),X=i(75298),J=i(27268);let K={},Q={kind:"Document",definitions:[{kind:"OperationDefinition",operation:"mutation",name:{kind:"Name",value:"AddBooking"}
1,variableDefinitions:[{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"lastName"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"bookingNumber"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"String"}}}},{kind:"VariableDefinition",variable:{kind:"Variable",name:{kind:"Name",value:"departureDate"}},type:{kind:"NonNullType",type:{kind:"NamedType",name:{kind:"Name",value:"Date"}}}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"accountAddOnlineBooking"},arguments:[{kind:"Argument",name:{kind:"Name",value:"input"},value:{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"lastName"},value:{kind:"Variable",name:{kind:"Name",value:"lastName"}}},{kind:"ObjectField",name:{kind:"Name",value:"bookingNumber"},value:{kind:"Variable",name:{kind:"Name",value:"bookingNumber"}}},{kind:"ObjectField",name:{kind:"Name",value:"departureDate"},value:{kind:"Variable",name:{kind:"Name",value:"departureDate"}}}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"message"}},{kind:"Field",name:{kind:"Name",value:"success"}}]}}]}}]};var Z=i(62195),ee=i(34071),en=i(91408);let ei=en.Ik().shape({lastName:en.Yj().min(2,"forms:errors.lastName.tooShort").max(40,"forms:errors.lastName.tooLong").matches(q.NAME_REGEX,"forms:errors.lastName.lettersOnly").required("forms:errors.required"),departureDate:en.p6().transform(function(e,n){return(0,Z.A)(n)?n:(0,ee.default)(n,"dd/MM/yyyy",new Date)}).typeError("forms:errors.departureDate.invalid").required("forms:errors.required"),bookingNumber:en.Yj().matches(/^9[0-9]{3}-[0-9]{6}-[0-9]{2}$/,"forms:errors.bookingNumber.invalid").required("forms:errors.required")});function ea(){let[e]=(0,t.useTranslation)(["forms","myaccount"]),[n,i,o]=(0,U.useToggleState)(!1),[l,m,s]=(0,U.useToggleState)(!1),[c]=function(e){let n={...K,...e};return J.n(Q,n)}({refetchQueries:["AccountBookings"]}),u=(0,d.useCallback)(async(e,{resetForm:n})=>{try{let{data:a}=await c({variables:{lastName:e.lastName,bookingNumber:e.bookingNumber,departureDate:(0,W.default)((0,q.parseDateStr)(e.departureDate,"dd/MM/yyyy"),"yyyy-MM-dd")}});a?.accountAddOnlineBooking?.success?(m(),n()):i()}catch(e){i()}},[m,i]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(E.Formik,{initialValues:{lastName:"",departureDate:"",bookingNumber:""},validationSchema:ei,onSubmit:u,children:n=>(0,a.jsx)(C,{"data-id":"add-booking-form",onSubmit:e=>{n.handleSubmit(e)},children:(0,a.jsxs)("div",{className:"row",children:[(0,a.jsx)(r.FormField,{className:"last-name",children:(0,a.jsx)($.NvInputsTextValidated,{required:!0,name:"lastName",label:e("forms:lastName.label"),showErrorMessage:!0,"data-id":"add-booking-form-last-name-field"})}),(0,a.jsx)(r.FormField,{children:(0,a.jsx)(Y.d,{required:!0,name:"departureDate",label:e("forms:departureDate.label"),showErrorMessage:!0,placeholder:e("DD/MM/YYYY"),mask:"99/99/9999","data-id":"add-booking-form-departure-date-field"})}),(0,a.jsx)(r.FormField,{children:(0,a.jsx)(Y.d,{required:!0,name:"bookingNumber",label:e("forms:bookingNumber.label"),showErrorMessage:!0,placeholder:"9xxx-xxxxxx-xx",mask:"\\9999-999999-99","data-id":"add-booking-form-booking-number-field"})}),(0,a.jsx)(I,{type:"submit",disabled:n.isSubmitting,icon:{name:"chevron-long-right",size:"xs"},children:(0,a.jsx)("span",{className:"fdr-submit-button-text",children:e("myaccount:addBooking.button")})})]})})}),(0,a.jsx)(X.NvModalsNotification,{show:l,name:"addBookingSuccessNotificationModal",title:"",type:X.NotificationType.SUCCESS,onClose:s,children:(0,a.jsx)("p",{"data-id":"add-booking-error",children:e("myaccount:addBooking.success.text")})}),(0,a.jsx)(X.NvModalsNotification,{show:n,name:"addBookingErrorNotificationModal",title:"",type:X.NotificationType.ERROR,onClose:o,children:(0,a.jsx)("p",{"data-id":"add-booking-error",children:e("myaccount:addBooking.error.text")})})]})}function et(){let[e]=(0,t.useTranslation)("myaccount");return(0,a.jsxs)("div",{children:[(0,a.jsx)(B,{children:e("myaccount:addBooking.title")}),(0,a.jsx)(ea,{})]})}function ed(){let[e]=(0,t.useTranslation)("myaccount");return(0,a.jsxs)(f,{children:[(0,a.jsx)(N,{children:e("myBooking.list.notice.title")}),(0,a.jsx)(b,{children:e("myBooking.list.notice.text")})]})}
1var eo=i(53674),el=i(89099),er=i(22938),em=i(33407),es=i(53656),ec=i(6396),eu=i(60964),ek=i(77541),ep=i(39633),eg=i(56928),ev=i(83452),eh=i(6556);let ef=l.default.div.withConfig({componentId:"sc-a1234013-0"})((0,c.sx2CssThemeFn)({position:"relative",overflow:"hidden",pt:[1,3],pl:[null,3],pb:2,flex:1,display:"flex",flexDirection:"column",".from-to":{fontSize:["12px",0],mb:1}})),eN=l.default.div.withConfig({componentId:"sc-a1234013-1"})((0,c.sx2CssThemeFn)({position:"relative",flex:["45% 0 0","300px 0 0"]})),eb=(0,l.default)(ev.NvImg).withConfig({componentId:"sc-a1234013-2"})((0,c.sx2CssThemeFn)({width:["100%","300px"],height:["auto","180px"],objectFit:"cover",display:"block"})),ex=(0,l.default)(eh.A).withConfig({componentId:"sc-a1234013-3"})((0,c.sx2CssThemeFn)(({$isUpcomingBooking:e})=>({backgroundColor:e?"primary":"textGray",py:"7px","&:after":{borderColor:"transparent transparent transparent #666666"}}))),eS=l.default.div.withConfig({componentId:"sc-a1234013-4"})({lineHeight:"20px"}),ey=(0,l.default)(eg.NvIcon).withConfig({componentId:"sc-a1234013-5"})({marginRight:"5px",color:"white"}),eF=l.default.h3.withConfig({componentId:"sc-a1234013-6"})((0,c.sx2CssThemeFn)({width:["360px","500px"],color:"secondary",fontSize:[3,"24px"],fontFamily:'"Helvetica Neue", sans-serif',whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",mb:1})),eT=(0,l.default)(eu.P).withConfig({componentId:"sc-a1234013-7"})((0,c.sx2CssThemeFn)({fontSize:["14px","14px"],fontWeight:"bold",mb:[2,3],mr:2})),ej=l.default.span.withConfig({componentId:"sc-a1234013-8"})({fontSize:"14px"}),eC=(0,l.default)(eg.NvIcon).withConfig({componentId:"sc-a1234013-9"})((0,c.sx2CssThemeFn)({verticalAlign:"text-bottom",mr:1})),eI=(0,l.default)(m.NvButtonWithIcon).withConfig({componentId:"sc-a1234013-10"})(({theme:{buttons:e}})=>e.primary,({theme:{buttons:e}})=>e.btnWithIcon,(0,c.sx2CssThemeFn)({textTransform:"uppercase",mt:[3,"auto"],textAlign:"center",span:{width:"100%"}}));function eB(e,n){if(!e||!e.product)return null;switch(e.product.__typename){case"Hotel":{let{hero:n,name:i,resort:a}=e.product,{name:t,destination:d}=a||{};return{image:n,name:i,breadcrumbs:Array.from(new Set([d.country.name,d.name,t])).filter(Boolean)}}case"RoundTrip":case"Cruise":{let{hero:n,name:i,destination:a}=e.product;return{image:n,name:i,breadcrumbs:[a.country.name,a.region&&a.region.name,i]}}case"ProductInformation":{let{hero:i,productName:a}=e.product;return{image:i,name:a,breadcrumbs:[n?.country,n?.destination].filter(Boolean)}}default:return null}}function ew(e,n){let i=(0,a.jsxs)("span",{children:[(0,a.jsx)(eC,{name:"flug"}),(0,a.jsx)(a.Fragment,{children:n("common:flight")})]}),t=(0,a.jsxs)("span",{children:[(0,a.jsx)(eC,{name:"hotel"}),(0,a.jsx)(a.Fragment,{children:n("common:hotel")})]}),d=(0,a.jsxs)("span",{children:[(0,a.jsx)(eC,{name:"rental-car"}),(0,a.jsx)(a.Fragment,{children:n("myaccount:myBooking.details.carRental")})]});return({[ec.AccountTravelType.Package]:(0,a.jsxs)(a.Fragment,{children:[i," + ",t]}),[ec.AccountTravelType.Flight]:(0,a.jsx)(a.Fragment,{children:i}),[ec.AccountTravelType.Hotel]:(0,a.jsx)(a.Fragment,{children:t}),[ec.AccountTravelType.Car]:(0,a.jsx)(a.Fragment,{children:d})})[e]}var eD=function(e){return e.UPCOMING="UPCOMING",e.PAST="PAST",e}({});function eP({id:e,sectionType:n,accountProduct:i,bookingStatus:d,travelType:
1o,departureAirport:l,arrivalAirport:r,departureDate:m,arrivalDate:s,duration:c,mealType:u,productLocation:k,carRentalCompanyName:p,fallbackProductImage:g,fallbackFlightImage:v,fallbackCarImage:h}){let[f,{language:N}]=(0,t.useTranslation)(["srl","myaccount"]),{push:b}=(0,el.useRouter)(),x=o===ec.AccountTravelType.Flight?v:o===ec.AccountTravelType.Car?h:g,{image:S,name:y,breadcrumbs:T}=eB(i,k)||{},j={[ec.AccountBookingStatus.Booked]:"myaccount:myBooking.status.booked",[ec.AccountBookingStatus.Travelled]:"myaccount:myBooking.status.travelled",[ec.AccountBookingStatus.Cancelled]:"myaccount:myBooking.status.cancelled"}[d],C={[ec.AccountBookingStatus.Booked]:"check-solid",[ec.AccountBookingStatus.Travelled]:"check-solid",[ec.AccountBookingStatus.Cancelled]:"canceled",[ec.AccountBookingStatus.Pending]:"",[ec.AccountBookingStatus.Failed]:"",[ec.AccountBookingStatus.Unknown]:""}[d],I=(0,es.getRouteByPageTypeLocale)(er.EPageType.MyaccountBookingDetails,N),B=i?.product,w=(0,em.getTargetPageData)(I.builder({id:e})),D=B?.__typename==="RoundTrip",P=B?.__typename==="ProductInformation"?(0,ek.i)(B?.productType):(0,ek.Y)(B?.__typename,B?.__typename==="Hotel"&&B.flags.typeFlags.apartment);return(0,a.jsxs)(F,{"data-id":`booking-${e}`,children:[(0,a.jsxs)(eN,{children:[(0,a.jsx)(eb,{image:S||x}),(0,a.jsxs)(ex,{$isUpcomingBooking:n===eD.UPCOMING,children:[(0,a.jsx)(ey,{name:C,size:"xs"}),(0,a.jsx)(eS,{children:f(j)})]})]}),(0,a.jsxs)(ef,{children:[(y||o===ec.AccountTravelType.Car)&&(0,a.jsx)(eF,{"data-id":"product-title",className:"cardTitle",children:o===ec.AccountTravelType.Car?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{children:f("myaccount:myBooking.details.carRental")})," ",(0,a.jsx)("span",{children:p})]}):(0,a.jsx)(a.Fragment,{children:y})}),l&&r?(0,a.jsx)(eF,{"data-id":"product-title",className:"cardTitle",children:`${f("common:flight")}: ${[l.name,r.name].join(" - ")}`}):null,T?.length?(0,a.jsx)(eT,{breadcrumbs:T.map(e=>({caption:e})),delimiter:" | ",className:"cardSubTitle"}):null,(0,a.jsx)(eu.A,{departureDate:m?(0,q.formatDate)((0,q.parseDateStr)(m),"dd.MM.yyyy"):null,returnDate:s?(0,q.formatDate)((0,q.parseDateStr)(s),"dd.MM.yyyy"):null,duration:f("common:nights.count",{count:parseInt(c?.toString(),10)})}),(0,a.jsx)(ej,{children:o===ec.AccountTravelType.Car?(0,a.jsx)(a.Fragment,{children:f("myaccount:myBooking.details.carRental")}):(0,a.jsxs)(a.Fragment,{children:[f((0,ep.A)(P,o)),u&&!D?(0,a.jsxs)("span",{children:[", ",u]}):null]})}),(0,a.jsx)(eI,{onClick:function(){if(!w)return null;b(w.href,w.as,{shallow:!0})},icon:{name:"chevron-long-right",size:"xs"},children:(0,a.jsx)("span",{children:f("myaccount:myBooking.details.button")})})]})]})}var eA=i(59791);function eO({itemsCount:e}){return(0,a.jsx)(a.Fragment,{children:Array.from({length:e}).map((e,n)=>(0,a.jsx)(y,{children:(0,a.jsx)(eV,{},n)},n))})}function eV(){let{mobile:e}=(0,D.useDeviceType)();return(0,a.jsx)(F,{children:(0,a.jsx)(eA.PlaceholderLoader,{uid:"book-card",width:e?329:536,height:e?293:159,viewBox:e?"0 0 329 293":"0 0 536 159",style:{height:e?"261px":"159px",width:e?"100%":"auto",maxWidth:"100%"},children:e?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("rect",{width:"329",height:"150",rx:"4"}),(0,a.jsx)("rect",{y:"170",width:"136",height:"13",rx:"6.5"}),(0,a.jsx)("rect",{y:"197",width:"112",height:"10",rx:"5"}),(0,a.jsx)("rect",{y:"218",width:"209",height:"10",rx:"5"}),(0,a.jsx)("rect",{y:"243",width:"134",height:"13",rx:"6.5"}),(0,a.jsx)("rect",{y:"275",width:"136",height:"13",rx:"6.5"})]}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("rect",{width:"240",height:"159",rx:"3"}),(0,a.jsx)("rect",{x:"265",y:"16",width:"168",height:"16",rx:"8"}),(0,a.jsx)("rect",{x:"265",y:"44",width:"127",height:"12",rx:"6"}),(0,a.jsx)("rect",{x:"265",y:"73",width:"235",height:"11",rx:"5.5"}),(0,a.jsx)("rect",{x:"265",y:"98",width:"235",height:"12",rx:"6"}),(0,a.jsx)("rect",{x:"265",y:"140",width:"168",height:"16",rx:"8"})]})})})}function eM({sectionType:e,sectionTitle:n,bookingsList:i,fetchMore:o,loading:l,children:r,accordionViewType:s}){let{mobile:c}=(0,D.useDeviceType)(),[u]=(0,t.useTranslation)("myaccount"),[k,p,g]=(0,U.useToggleState)(!0),{page:v,perPage:h,total:f}=i?.pagination||{},N=(0,q.calculateNextPage)(v,h,f);async function b(){await o({variables:{upcomingBookingsPageNumber:e===eD.UPCOMING?N:0,upcomingBookingsResultsPerPage:h,pastBookingsPageNumber:e===eD.PAST?N:0,pastBookingsResultsPerPage:h}})}let{items:x,hasMore:y,nextPage:F}=(0,eo.useFetchingPagination)(i?.bookingList||[],{page:v,perPage:h,total:f,fetchMore:b}),C=(0,d.useMemo)(()=>
1{if(!l)return 0;let e=f-x.length;return e?Math.min(h,e):h},[x.length,l,h,f]),I=i?.defaultFallbackProductImage,B=i?.defaultFallbackFlightImage,w=i?.defaultFallbackCarRentalImage;return(0,a.jsxs)("div",{children:[n,(0,a.jsxs)(({children:e,...n})=>s?(0,a.jsx)(j,{...n,children:e}):(0,a.jsx)(d.Fragment,{children:e}),{title:n,active:k,onOpen:p,onClose:g,children:[l&&!x?.length?(0,a.jsx)(eO,{itemsCount:c?1:2}):(0,a.jsxs)(a.Fragment,{children:[x?.map(n=>(0,a.jsx)(S,{children:(0,a.jsx)(eP,{...n,sectionType:e,fallbackProductImage:I,fallbackFlightImage:B,fallbackCarImage:w})},n.id)),!l&&x?.length?(0,a.jsx)(T,{children:y?(0,a.jsx)(m.NvButtonWithIcon,{variant:"linkBtn",className:"load-more-booking-button",onClick:F,icon:{name:"chevron-long-right",size:"xs"},children:u("common:load.more")}):null}):null,l&&x?.length?(0,a.jsx)(eO,{itemsCount:C}):null]}),r]})]})}function eR({accordionViewType:e}){let{mobile:n}=(0,D.useDeviceType)(),[i]=(0,t.useTranslation)("myaccount"),d=n?3:5,{data:o,loading:l,fetchMore:r}=function(e){let n={...G,...e};return _.I(z,n)}({notifyOnNetworkStatusChange:!0,variables:{upcomingBookingsPageNumber:0,upcomingBookingsResultsPerPage:d,pastBookingsPageNumber:0,pastBookingsResultsPerPage:d}}),{upcomingBookings:m,pastBookings:s}=o?.account?.bookings||{},c={fetchMore:r,loading:l,accordionViewType:e};return(0,a.jsxs)(h,{children:[(0,a.jsx)(ed,{}),(0,a.jsx)(eM,{sectionType:eD.UPCOMING,bookingsList:m,sectionTitle:(0,a.jsx)(x,{children:i("myaccount:upcoming-bookings")}),...c,children:l||m?.bookingList?.length?null:(0,a.jsx)(w,{})}),s?.bookingList?.length?(0,a.jsx)(eM,{sectionType:eD.PAST,bookingsList:s,sectionTitle:(0,a.jsx)(x,{children:i("myaccount:pastBookings")}),...c}):null,(0,a.jsx)(et,{})]})}},91929:(e,n,i)=>{i.d(n,{N:()=>a,p:()=>t});let a={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"accountProductHero"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Image"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"image"}},{kind:"Field",name:{kind:"Name",value:"resized"},arguments:[{kind:"Argument",name:{kind:"Name",value:"criteria"},value:{kind:"ListValue",values:[{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"StringValue",value:"1x_mobile",block:!1}},{kind:"ObjectField",name:{kind:"Name",value:"width"},value:{kind:"IntValue",value:"295"}},{kind:"ObjectField",name:{kind:"Name",value:"height"},value:{kind:"IntValue",value:"150"}},{kind:"ObjectField",name:{kind:"Name",value:"mode"},value:{kind:"EnumValue",value:"FILL_DOWN"}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"StringValue",value:"2x_mobile",block:!1}},{kind:"ObjectField",name:{kind:"Name",value:"width"},value:{kind:"IntValue",value:"590"}},{kind:"ObjectField",name:{kind:"Name",value:"height"},value:{kind:"IntValue",value:"300"}},{kind:"ObjectField",name:{kind:"Name",value:"mode"},value:{kind:"EnumValue",value:"FILL_DOWN"}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"StringValue",value:"1x_desktop",block:!1}},{kind:"ObjectField",name:{kind:"Name",value:"width"},value:{kind:"IntValue",value:"240"}},{kind:"ObjectField",name:{kind:"Name",value:"height"},value:{kind:"IntValue",value:"160"}},{kind:"ObjectField",name:{kind:"Name",value:"mode"},value:{kind:"EnumValue",value:"FILL_DOWN"}}]},{kind:"ObjectValue",fields:[{kind:"ObjectField",name:{kind:"Name",value:"id"},value:{kind:"StringValue",value:"2x_desktop",block:!1}},{kind:"ObjectField",name:{kind:"Name",value:"width"},value:{kind:"IntValue",value:"480"}},{kind:"ObjectField",name:{kind:"Name",value:"height"},value:{kind:"IntValue",value:"320"}},{kind:"ObjectField",name:{kind:"Name",value:"mode"},value:{kind:"EnumValue",value:"FILL_DOWN"}}]}]}}],selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"resized"}}]}}]}}]},t={kind:"Document",definitions:[{kind:"FragmentDefinition",name:{kind:"Name",value:"bookingListItem"},typeCondition:{kind:"NamedType",name:{kind:"Name",value:"AccountBookingListItem"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"id"},name:{kind:"Name",value:"bookingId"}},{kind:"Field",name:{kind:"Name",value:"bookingStatus"}},{kind:"Field",name:{kind:"Name",value:"duration"}},{kind:"Field",name:{kind:"Name",value:"travelType"}},{kind:"Field",name:{kind:"Name",value:"departureDate"}},{kind:"Field",name:{kind:"Name",value:"arrivalDate"}},{kind:"Field",name:{kind:"Name",value:"departureAirport"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"airport"}}]}},{kind:"Field",name:{kind:"Name",value:"arrivalAirport"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"airport"}}]}},{kind:"Field",name:{kind:"Name",value:"productLocation"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"region"}},{kind:"Field",name:{kind:"Name",value:"country"}},{kind:"Field",name:{kind:"Name",value:"destination"}}]}},{kind:"Field",name:{kind:"Name",value:"bookingDetailsLink"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"link"}}]}},{kind:"Field",name:{kind:"Name",value:"mealType"}},{kind:"Field",name:{kind:"Name",value:"carRentalCompanyName"}},{kind:"Field",name:{kind:"Name",value:"accountProduct"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"product"},selectionSet:{kind:"SelectionSet",selections:[{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Hotel"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"id"},name:{kind:"Name",value:"publicId"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"hero"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"accountProductHero"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"hotelBreadcrumbs"}},{kind:"Field",name:{kind:"Name",value:"flags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"typeFlags"},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"apartment"}}]}}]}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"Cruise"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"id"},name:{kind:"Name",value:"publicId"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"hero"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"accountProductHero"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"cruiseBreadcrumbs"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"RoundTrip"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",alias:{kind:"Name",value:"id"},name:{kind:"Name",value:"publicId"}},{kind:"Field",name:{kind:"Name",value:"name"}},{kind:"Field",name:{kind:"Name",value:"hero"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"accountProductHero"}}]}},{kind:"FragmentSpread",name:{kind:"Name",value:"roundTripBreadcrumbs"}}]}},{kind:"InlineFragment",typeCondition:{kind:"NamedType",name:{kind:"Name",value:"ProductInformation"}},selectionSet:{kind:"SelectionSet",selections:[{kind:"Field",name:{kind:"Name",value:"giataId"}},{kind:"Field",name:{kind:"Name",value:"productName"}},{kind:"Field",name:{kind:"Name",value:"productType"}},{kind:"Field",alias:{kind:"Name",value:"hero"},name:{kind:"Name",value:"productImage"},selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:"accountProductHero"}}]}}]}}]}}]}}]}}]}}}]);

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.