var Momondo;(function(n){var t;(function(n){var t=function(){function n(n,t,i,r,u,f,e,o,s,h){this.event="flight search";this.adults=n;this.children=t;this.departureDate=i;this.destinationIata=r;this.directFlightsOnly=u;this.id=f;this.originIata=e;this.returnDate=o;this.returnOrOneWay=s;this.ticketClass=h}return n.prototype.toJSON=function(){return{event:this.event,"flight search - adults":this.adults,"flight search - children":this.children,"flight search - departure date":this.departureDate,"flight search - destination iata":this.destinationIata,"flight search - direct flights only":this.directFlightsOnly,"flight search - id":this.id,"flight search - origin iata":this.originIata,"flight search - return date":this.returnDate,"flight search - return or one-way":this.returnOrOneWay,"flight search - ticket class":this.ticketClass}},n}();n.FlightSearchTag=t})(t=n.GoogleTagManager||(n.GoogleTagManager={}))})(Momondo||(Momondo={})),function(n){var t;(function(n){var t=function(){function n(n,t,i,r,u,f){this.event="flight search - results";this.id=n;this.numberOfOffers=t;this.numberOfFlights=i;this.flightInsightDisplayed=r;this.flightTipDisplayed=u;this.flightTipType=f}return n.prototype.toJSON=function(){return{event:this.event,"flight search - id":this.id,"flight search - results - number of offers":this.numberOfOffers,"flight search - results - number of flights":this.numberOfFlights,"flight search - result - flight insight displayed":this.flightInsightDisplayed,"flight search - result - tip displayed":this.flightTipDisplayed,"tip type":this.flightTipType}},n}();n.FlightSearchResultsTag=t})(t=n.GoogleTagManager||(n.GoogleTagManager={}))}(Momondo||(Momondo={})),function(n){var t;(function(n){var f=function(){function n(){}return n.flightSearchResults="flight search results",n.flightSearchResultsFilters="flight search results | filters",n.flightSearchResultsFlight="flight search results | flight",n.flightSearchResultsFlightDetails="flight search results | flight | details",n.flightSearch="flight search",n.flightSearchResultModify="flight search results | modify",n.flightSearchResultFarealert="flight search results | fare alerts",n.flightSearchResultFavourite="flight search results | favourite",n}(),t,i,r,u;n.FlightSearchResultsEventCategory=f;t=function(){function n(){}return n.clicked="clicked",n.displayed="displayed",n.errorDisplayed="error message displayed",n}();n.FlightSearchResultsEventAction=t;i=function(){function n(){}return n.modalFareAlertLoginSignup="modal | fare alert | login or sign up",n.modalFareAlertButtonLogin="modal | fare alert | button | login",n.buttonResultsPage="button | view results page",n.buttonResultsPageNext="button | view results page next",n.buttonResultsPagePrevious="button | view results page previous",n.sliderMaxFlightDuration="slider | max flight duration",n.sliderTimeOutbound="slider | time of day | outbound",n.sliderTimeReturn="slider | time of day | return",n.buttonSeeDetails="button | see details",n.buttonOfferOtherFares="button | offer | other fares",n.buttonOfferGotoSite="button | offer | go to site",n.buttonAddToFavourites="button | add to favourites",n.buttonRemoveFavourites="button | remove from favourites",n.modalFavouriteLoginOrSignup="modal | favourite | login or sign up",n.modalFavouriteLogin="modal | favourite | button | login",n.buttonAdditionalFees="button | additional fees",n.buttonMoreOffers="button | more offers",n.buttonGoToSite="button | go to site",n.buttonShowAllBookingSites="button | show all booking sites",n.buttonClose="button | close",n}();n.FlightSearchResultsEventLabel=i;r=function(){function n(){}return n.flightResultIndex="{{flight result index}}",n.flightResultBlockSize="{{flight result block size}}",n.flightResultSortOrder="{{flight result sort order}}",n}();n.FlightSearchCustomParameter=r;u=function(){function n(n,t,i,r){this.event="event";this.eventCategory=n;this.eventAction=t;this.eventLabel=i;this.nonInteractionHit=r}return n.prototype.setCustomParameters=function(n,t,i){var r={"flight result index":n,"flight result block size":t,"flight result sort order":i};this.customParameter=r},n.prototype.setCustomParametersOffer=function(n,t,i,r,u){var f={"flight result index":n,"flight result block size":t,"flight result sort order":i,"flight result offer index":r,"tip type":u};this.customParameter=f},n.prototype.toJSON=function(){var n={event:this.event,eventCategory:this.eventCategory,eventAction:this.eventAction,eventLabel:this.eventLabel,nonInteractionHit:this.nonInteractionHit};for(var t in this.customParameter)n[t]=this.customParameter[t];return n},n}();n.FlightSearchResultsEventTag=u})(t=n.GoogleTagManager||(n.GoogleTagManager={}))}(Momondo||(Momondo={})),function(n){var t;(function(n){var t=function(){function n(n,t,i,r,u,f,e,o,s){this.event="hotel search";this.adults=n;this.checkInDate=t;this.checkOutDate=i;this.children=r;this.destinationId=u;this.noSpecificDates=f;this.numberOfRooms=e;this.searchId=o;this.pageSize=s}return n.prototype.toJSON=function(){var n={event:this.event,"hotel search - adults":this.adults,"hotel search - check-in date":this.checkInDate,"hotel search - check-out date":this.checkOutDate,"hotel search - children":this.children,"hotel search - destination id":this.destinationId,"hotel search - no specific dates":this.noSpecificDates,"hotel search - number of rooms":this.numberOfRooms,"hotel search - id":this.searchId};return this.pageSize&&(n["hotel search - results per page"]=this.pageSize),n},n}();n.HotelSearchTag=t})(t=n.GoogleTagManager||(n.GoogleTagManager={}))}(Momondo||(Momondo={})),function(n){var t;(function(n){var t=function(){function n(n,t){this.event="hotel search - results";this.resultsReturned=n;this.searchId=t}return n.prototype.toJSON=function(){return{event:this.event,"hotel search - results returned":this.resultsReturned,"hotel search - id":this.searchId}},n}();n.HotelSearchResultsTag=t})(t=n.GoogleTagManager||(n.GoogleTagManager={}))}(Momondo||(Momondo={})),function(n){var t;(function(n){var f=function(){function n(){}return n.hotelSearch="hotel search",n.hotelSearchResults="hotel search results",n.hotelSearchResultsFilters="hotel search results | filters",n.hotelSearchResultsModify="hotel search results | modify",n.hotelSearchResultsMap="hotel search results | map",n.hotelSearchResultsHotel="hotel search results | hotel",n.hotelSearchResultsHotelDetails="hotel search results | hotel | details",n.hotelSearchResultsHotelExpanded="hotel search results | hotel | expanded",n.hotelSearchResultsDisclaimer="hotel search results | hotel | disclaimer",n.timing="timing",n}(),i,r,t,u;n.HotelSearchResultsEventCategory=f;i=function(){function n(){}return n.clicked="clicked",n.displayed="displayed",n.errorDisplayed="error message displayed",n.expanded="expanded",n.swiped="swiped",n.selected="selected",n.unselected="unselected",n.hotelSearch="hotel search",n.scrolled="scrolled",n.automatic="automatic",n}();n.HotelSearchResultsEventAction=i;r=function(){function n(){}return n.sliderPrice="slider | price",n.selectionHotel="selection | hotel",n.selectionHotelConfirmed="selection | hotel | confirmed",n.buttonReturnToResults="button | return to results",n.buttonAddToFavourites="button | add to favourites",n.buttonRemoveFavourites="button | remove from favourites",n.buttonSeeAllRoomsOptions="button | see all room options",n.buttonBookNowOtherRooms="button | book now | other rooms",n.buttonBookNow="button | book now",n.buttonScrollPicturesArrows="button | scroll pictures arrows",n.buttonViewResultsPageNo="button | view results page | ",n.buttonViewResultsPageNext="button | view results page | next",n.buttonViewResultsPagePrevious="button | view results page | previous",n.buttonSee10MoreRoomOptions="button | see 10 more room options",n.buttonClose="button | close",n.buttonViewResultsList="button | view results list",n.buttonReviewsCitation="button | reviews | citation",n.buttonReviewsReadMore="button | reviews | read more",n.zoom="zoom",n.zoomDoubleClick="zoom | double-click",n.zoomScrolling="zoom | scrolling",n.zoomButtons="zoom | buttons",n.zoomPinch="zoom | pinch",n.zoomBackToResults="zoom | back to results",n.zoomExpandedView="zoom | expanded view",n.zoomEndSearch="zoom | end search",n.zoomPolygonSearch="zoom | polygon search",n.drag="drag",n.drawClick="draw | click",n.drawDrawing="draw | drawing",n.expanderWide="expander | wide",n.expanderNarrow="expander | narrow",n.resetFilters="reset | filters",n.zoomToBounds="zoomToBounds",n.fieldMoreFilters="field | more filters",n.fieldStarRating="field | star rating",n.fieldStarRatingClear="field | star rating | clear",n.fieldStarRatingClose="field | star rating | close",n.fieldStarRatingApply="field | star rating | apply",n.fieldHotelName="field | hotel name",n.fieldHotelNameClear="field | hotel name | clear",n.fieldHotelNameClose="field | hotel name | close",n.fieldHotelNameApply="field | hotel name | apply",n.fieldAmenities="field | amenities",n.fieldAmenitiesClear="field | amenities | clear",n.fieldAmenitiesClose="field | amenities | close",n.fieldAmenitiesApply="field | amenities | apply",n.fieldGuestRating="field | guest rating",n.fieldGuestRatingClear="field | guest rating | clear",n.fieldGuestRatingClose="field | guest rating | close",n.fieldGuestRatingApply="field | guest rating | apply",n.fieldPropertyType="field | property type",n.fieldPropertyTypeClear="field | property type | clear",n.fieldPropertyTypeClose="field | property type | close",n.fieldPropertyTypeApply="field | property type | apply",n.fieldHotelChains="field | hotel chains",n.fieldHotelChainsClear="field | hotel chains | clear",n.fieldHotelChainsClose="field | hotel chains | close",n.fieldHotelChainsApply="field | hotel chains | apply",n.fieldArea="field | area",n.fieldAreaClear="field | area | clear",n.fieldAreaClose="field | area | close",n.fieldAreaApply="field | area | apply",n.fieldPrice="field | price",n.fieldPriceClear="field | price | clear",n.fieldPriceClose="field | price | close",n.fieldPriceApply="field | price | apply",n.tabAbout="tab | about",n.tabAmenities="tab | amenities",n.tabPictures="tab | pictures",n.tabGuestRating="tab | guest rating",n.tabSeeAllRoomOptions="tab | see all room options",n.linkReadMore="link | read more",n.image="image",n.hotelDetailsHotelName="hotel details | hotel name",n.hotelDetailsSeeAllRoomOptions="hotel details | see all room options",n.hotelDetailsGuestRating="hotel details | guest rating",n.hotelDetailsImages="hotel details | images",n.hotelDetailsStars="hotel details | stars",n.hotelDetailsViewDescription="hotel details | view description",n.toggleReviewsReviewerType="toggle | reviews | {reviewer type}",n.hotelFirstResultLoaded="first result loaded",n.hotelLastResultLoaded="last result loaded",n.filterTotalPriceMin="filter | total price | min",n.filterTotalPriceMax="filter | total price | max",n.filterTotalPriceApply="filter | total price | apply",n.toolTip="tool tip",n}();n.HotelSearchResultsEventLabel=r;t=function(){function n(){}return n.hotelResultIndex="hotel result index",n.hotelResultOfferIndex="hotel result offer index",n.hotelResultBlockSize="hotel result block size",n.hotelResultSortOrder="hotel result sort order",n.hotelResultPageNumber="hotel result page number",n.reviewClickOrder="review click order",n.bookingValue="booking value",n.supplierCode="supplier code",n.pageDestinationId="page destination id",n.fieldAmenity="field - amenity",n.applyAmenity="apply - amenity",n.starRating="star rating",n.propertyType="property type",n.guestRating="guest rating",n.hotelChain="hotel chain",n.hotelName="hotel name",n.area="area",n.totalPrice="total price",n.searchType="search type",n.discount="discount",n.originalValue="original value",n.featuredPrice="featured price",n}();n.HotelCustomParameters=t;u=function(){function n(n,t,i,r){this.event="event";this.eventCategory=n;this.eventAction=t;this.eventLabel=i;this.nonInteractionHit=r;this.customParameter=null}return n.prototype.setCustomParameter=function(n){return this.customParameter==null&&(this.customParameter={}),n!=null&&n.key!=null&&n.value!=null&&((n.key===t.hotelResultIndex||n.key===t.hotelResultOfferIndex)&&(n.value=n.value+1),this.customParameter[n.key]=n.value),this},n.prototype.setCustomParameters=function(n){for(var r,t=0,i=n;t<i.length;t++)r=i[t],this.setCustomParameter(r);return this},n.prototype.setEventValue=function(n){return this.eventValue=n,this},n.prototype.toJSON=function(){var n={event:this.event,eventCategory:this.eventCategory,eventAction:this.eventAction,eventLabel:this.eventLabel,nonInteractionHit:this.nonInteractionHit},t;this.eventValue!=null&&(n.eventValue=this.eventValue);for(t in this.customParameter)n[t]=this.customParameter[t];return n},n}();n.HotelSearchResultsEventTag=u})(t=n.GoogleTagManager||(n.GoogleTagManager={}))}(Momondo||(Momondo={})),function(n){var t;(function(n){var t=function(){function n(n){this.event="virtual page view";this.virtualPagePath=n}return n.prototype.toJSON=function(){return{event:this.event,virtualPagePath:this.virtualPagePath}},n}();n.VirtualPageViewTag=t})(t=n.GoogleTagManager||(n.GoogleTagManager={}))}(Momondo||(Momondo={})),function(n){var t;(function(n){var t=function(){function n(n,t,i,r){this.event="";this.oldCurrency=t;this.oldCulture=n;this.newCulture=i;this.newCurrency=r}return n.prototype.shouldPush=function(){return this.oldCurrency!==this.newCurrency||this.oldCulture!==this.newCulture},n.prototype.toJSON=function(){var n={};return this.oldCurrency!==this.newCurrency&&(n["currency - changed to"]=this.newCurrency),this.oldCulture!==this.newCulture&&(n["culture - changed to"]=this.newCulture),n},n}();n.CultureCurrencyChangedTag=t})(t=n.GoogleTagManager||(n.GoogleTagManager={}))}(Momondo||(Momondo={})),function(n){var t;(function(n){var u=function(){function n(){}return n.apps="apps",n.appsModal="apps | modal",n}(),t,i,r;n.DownloadAppsCategory=u;t=function(){function n(){}return n.clicked="clicked",n.displayed="displayed",n}();n.DownloadAppsAction=t;i=function(){function n(){}return n.downloadiTunes="download | itunes",n.downloadPlay="download | play",n.modalGetApp="modal | get our free app",n.buttonGetApp="button | get our free app",n.buttonMobileWeb="button | continue to mobile site",n.buttonClose="button | close",n}();n.DownloadAppsLabel=i;r=function(){function n(n,i,r){this.event="event";this.eventCategory=n;this.eventAction=i;this.eventLabel=r;this.nonInteractionHit=i==t.clicked?"false":"true"}return n.prototype.toJSON=function(){return{event:this.event,eventCategory:this.eventCategory,eventAction:this.eventAction,eventLabel:this.eventLabel,customParameter:"",nonInteractionHit:this.nonInteractionHit}},n}();n.DownloadAppsTag=r})(t=n.GoogleTagManager||(n.GoogleTagManager={}))}(Momondo||(Momondo={})),function(n){var t;(function(n){var t=function(){function n(){this.event="event";this.eventCategory="trainee";this.eventAction="clicked";this.eventLabel="button | apply"}return n.prototype.toJSON=function(){return{event:this.event,eventCategory:this.eventCategory,eventAction:this.eventAction,eventLabel:this.eventLabel}},n}();n.TraineeEventTag=t})(t=n.GoogleTagManager||(n.GoogleTagManager={}))}(Momondo||(Momondo={})),function(n){var t;(function(n){var i=function(){function n(){}return n.signedUp="signed up",n.logIn="logged in",n.loggedOut="logged out",n}(),t,r;n.UserAuthenticationAction=i;t=function(){function n(){}return n.facebook="facebook",n.google="google",n.email="email",n.loggedOut="logged out",n}();n.UserAuthenticationLabel=t;r=function(){function n(n,r,u){this.event="event";this.eventAction=n;this.eventAction===i.loggedOut?this.eventLabel=t.loggedOut:(this.eventAction=u?i.signedUp:i.logIn,r.LoginType==="FACEBOOK"?this.eventLabel=t.facebook:r.LoginType==="GOOGLE"?this.eventLabel=t.google:r.LoginType==="LOCAL"&&(this.eventLabel=t.email))}return n.prototype.toJSON=function(){var n={event:this.event,eventCategory:this.event,customParameter:"",nonInteractionHit:"true"};return this.eventAction!==""&&(n.eventAction=this.eventAction),this.eventLabel!==""&&(n.eventLabel=this.eventLabel),n},n}();n.UserAuthenticationTag=r})(t=n.GoogleTagManager||(n.GoogleTagManager={}))}(Momondo||(Momondo={})),function(n){var t;(function(n){var u=function(){function n(){}return n.userAuth="user authentication",n.userAuthLogin="user authentication | login",n.userAuthLoginModal="user authentication | login modal",n}(),i,t,r;n.UserAuthenticationUICategory=u;i=function(){function n(){}return n.clicked="clicked",n.displayed="displayed",n.signedUp="signed up",n.logIn="logged in",n.loggedOut="logged out",n}();n.UserAuthenticationUIAction=i;t=function(){function n(){}return n.iconLogin="icon | login",n.modalLogin="modal | login",n.buttonLoginFacebook="button | login | facebook",n.buttonLoginGoogle="button | login | google",n.buttonLoginEmail="button | login | email",n.facebook="facebook",n.google="google",n.email="email",n.linkForgotPassword="link | forgot password",n.linkTermsAndConditions="link | terms and conditions",n.buttonSendPasswordReset="button | send password reset link",n.errorWrongPassword="error | wrong password",n}();n.UserAuthenticationUILabel=t;r=function(){function n(n,t,i){this.event="event";this.eventCategory=n;this.eventAction=t;this.eventLabel=i;this.nonInteractionHit="false"}return n.prototype.toJSON=function(){return{event:this.event,eventCategory:this.eventCategory,eventAction:this.eventAction,eventLabel:this.eventLabel,customParameter:"",nonInteractionHit:this.getNonInteractionHit(this.eventLabel)}},n.prototype.getNonInteractionHit=function(n){var i="false";switch(n){case t.errorWrongPassword:i="true"}return i},n}();n.UserAuthenticationUIEventTag=r})(t=n.GoogleTagManager||(n.GoogleTagManager={}))}(Momondo||(Momondo={})),function(n){var t;(function(n){var u=function(){function n(){}return n.NpsSurvey="nps survey",n}(),t,i,r;n.NpsSurveyTagCategory=u;t=function(){function n(){}return n.displayed="displayed",n.submitted="submitted",n}();n.NpsSurveyTagAction=t;i=function(){function n(){}return n.ratingLabel="nps survey",n.ratingCountLabel="form | nps survey | rating",n}();n.NpsSurveyTagLabel=i;r=function(){function n(n,t,i,r){this.event="event";this.eventCategory=n;this.eventAction=t;this.eventLabel=i;this.nonInteractionHit=r}return n.prototype.toJSON=function(){return{event:this.event,eventCategory:this.eventCategory,eventAction:this.eventAction,eventLabel:this.eventLabel,nonInteractionHit:this.nonInteractionHit}},n}();n.NpsSurveyTag=r})(t=n.GoogleTagManager||(n.GoogleTagManager={}))}(Momondo||(Momondo={})),function(n){var t;(function(n){var f=function(){function n(){}return n.EventName="flexible flight search",n}(),t,i,r,u;n.FlexibleFlightSearchEvent=f;t=function(){function n(){}return n.flexibleFlightSearchModifyCategory="flexible flight search results | modify",n.flexibleFlightSearchResultsCategory="flexible flight search results",n.flexibleFlightSearchFiltersCategory="flexible flight search results | filters",n.flexibleFlightSearchFlightCategory="flexible flight search results | flight",n}();n.FlexibleFlightSearchCategory=t;i=function(){function n(){}return n.clicked="clicked",n}();n.FlexibleFlightSearchAction=i;r=function(){function n(){}return n.buttonSearchFlights="button | search flights",n.fieldPassengers="field | passengers",n.fieldDepartureDate="field | departure date",n.fieldDestination="field | destination",n.fieldOrigin="field | origin",n.fieldReturnDate="field | return date",n.toggleDirectFlightsOff="toggle | direct flights off",n.toggleDirectFlightsOn="toggle | direct flights on",n.sortByCheapest="sort by | cheapest",n.sortByQuickest="sort by | quickest",n.sortByPopularity="sort by | popularity",n.sliderMaxPrice="slider | max price",n.cardDestination="card | destination",n.cardDestinationAlternative="card | alternative",n.buttonCheckPrices="button | check prices",n.buttonShowMore="button | show more",n}();n.FlexibleFlightSearchLabel=r;u=function(){function n(){}return n.prototype.trackWithCustomParametersSimple=function(n,t,i){this.event=n;this.nonInteractionHit=t;var r=i.model.Segments[0],u=i.model.Segments[1],f=i.model.ChildAges.length,e={"flexible search destination":r.Destination.nameInEnglish,"flexible search origin iata":r.Origin.code,"flexible search start date":r.Depart.getDate()+"/"+r.Depart.getMonth()+"/"+r.Depart.getFullYear(),"flexible search end date":u?u.Depart.getDate()+"/"+u.Depart.getMonth()+"/"+u.Depart.getFullYear():"","flexible search adults":i.model.AdultCount,"flexible search children":f,"flexible search return or one-way":i.model.TripType,"flexible search ticket class":i.model.TicketClass};this.customParameter=e},n.prototype.trackWithCustomParameters=function(n,t,i,r,u,f){this.event="event";this.eventCategory=t;this.eventAction=i;this.eventLabel=r;this.nonInteractionHit=u;var e=f.model.Segments[0],o=f.model.Segments[1],s=f.model.ChildAges.length,h={"flexible search destination":e.Destination.nameInEnglish,"flexible search origin iata":e.Origin.code,"flexible search start date":e.Depart.getDate()+"/"+e.Depart.getMonth()+"/"+e.Depart.getFullYear(),"flexible search end date":o?o.Depart.getDate()+"/"+o.Depart.getMonth()+"/"+o.Depart.getFullYear():"","flexible search adults":f.model.AdultCount,"flexible search children":s,"flexible search return or one-way":f.model.TripType,"flexible search ticket class":f.model.TicketClass};this.customParameter=h},n.prototype.track=function(n,t,i,r){this.event="event";this.eventCategory=n;this.eventAction=t;this.eventLabel=i;this.nonInteractionHit=r},n.prototype.setCustomParametersTile=function(n,t,i,r,u,f){this.event="event";this.eventCategory=n;this.eventAction=t;this.eventLabel=i;this.nonInteractionHit=r;var e={"flexible card destination":u,"flexible search destination":f};this.customParameter=e},n.prototype.toJSON=function(){var n={event:this.event,eventCategory:this.eventCategory,eventAction:this.eventAction,eventLabel:this.eventLabel,nonInteractionHit:this.nonInteractionHit};for(var t in this.customParameter)n[t]=this.customParameter[t];return n},n}();n.FlexibleFlightSearchTag=u})(t=n.GoogleTagManager||(n.GoogleTagManager={}))}(Momondo||(Momondo={})),function(n){var t;(function(n){var u=function(){function n(){}return n.flightSearchResultsCrossPromoHotelModal="flight search results | cross promo hotel modal",n.flightSearchResultsCrossPromoCarModal="flight search results | cross promo car modal",n.flightSearchResultsCrossPromoHotelCarModal="flight search results | cross promo hotel car modal",n}(),t,i,r;n.CrossPromoEventCategory=u;t=function(){function n(){}return n.clicked="clicked",n.displayed="displayed",n}();n.CrossPromoEventAction=t;i=function(){function n(){}return n.modalCrossPromoHotel="modal | cross promo hotel",n.buttonSearchHotel="button | search hotel",n.buttonClose="button | close",n.modalCrossPromoCar="modal | cross promo car",n.buttonSearchCars="button | search cars",n.modalCrossPromoHoteAndCar="modal | cross promo hotel and car",n}();n.CrossPromoEventLabel=i;r=function(){function n(){this.event="event"}return n.prototype.track=function(n,t,i,r){this.event="event";this.eventCategory=n;this.eventAction=t;this.eventLabel=i;this.nonInteractionHit=r},n.prototype.toJSON=function(){return{event:this.event,eventCategory:this.eventCategory,eventAction:this.eventAction,eventLabel:this.eventLabel,nonInteractionHit:this.nonInteractionHit}},n}();n.CrossPromoTag=r})(t=n.GoogleTagManager||(n.GoogleTagManager={}))}(Momondo||(Momondo={})),function(n){var t;(function(n){var u=function(){function n(){}return n.SmartBannerFullpage="apps | smart modal",n.SmartBannerIntegrated="apps | smart modal integrated",n.SmartBannerCustom="apps | smart modal custom",n}(),t,i,r;n.SmartBannerEventCategory=u;t=function(){function n(){}return n.clicked="clicked",n.displayed="displayed",n}();n.SmartBannerEventAction=t;i=function(){function n(){}return n.modalGetFreeApp="modal | get our free app",n.buttonGetFreeApp="button | get our free app",n.buttonClose="button | close",n}();n.SmartBannerEventLabel=i;r=function(){function n(){this.event="event"}return n.prototype.track=function(n,t,i,r){this.event="event";this.eventCategory=n;this.eventAction=t;this.eventLabel=i;this.nonInteractionHit=r},n.prototype.toJSON=function(){return{event:this.event,eventCategory:this.eventCategory,eventAction:this.eventAction,eventLabel:this.eventLabel,nonInteractionHit:this.nonInteractionHit}},n}();n.SmartBannerTag=r})(t=n.GoogleTagManager||(n.GoogleTagManager={}))}(Momondo||(Momondo={})),function(n){var t;(function(n){var u=function(){function n(){}return n.flightSearchResultsLoginModal="flight search result | login modal after redirect",n}(),t,i,r;n.LoginPromoCategory=u;t=function(){function n(){}return n.clicked="clicked",n.displayed="displayed",n.signup="signed up",n.loggedin="loggedin",n}();n.LoginPromoAction=t;i=function(){function n(){}return n.modalLoginAfterRedirect="modal | login after redirect",n.buttonLoginEmail="button | login | email",n.buttonLoginFacebook="button | login | facebook",n.buttonLoginGoogle="button | login | google",n.buttonClose="button | close",n.buttonBack="button | back",n.linkForgotPassword="link | forgot password",n.linkTerms="link |terms and conditions",n.buttonSendPassword="button | send password reset link",n.facebook="facebook",n.google="google",n.email="email",n}();n.LoginPromoLabel=i;r=function(){function n(){this.event="event"}return n.prototype.track=function(n,t,i,r){this.event="event";this.eventCategory=n;this.eventAction=t;this.eventLabel=i;this.nonInteractionHit=r},n.prototype.toJSON=function(){return{event:this.event,eventCategory:this.eventCategory,eventAction:this.eventAction,eventLabel:this.eventLabel,nonInteractionHit:this.nonInteractionHit}},n}();n.LoginPromoTag=r})(t=n.GoogleTagManager||(n.GoogleTagManager={}))}(Momondo||(Momondo={})),function(n){var t;(function(n){var u=function(){function n(){}return n.searchboxSearch="search",n.searchboxFlightSearch="flight search",n.searchboxHotelSearch="hotel search",n.searchboxFlightSearchModify="flight search results | modify",n.searchboxHotelSearchModify="hotel search results | modify",n}(),t,i,r;n.SearchBoxEventCategory=u;t=function(){function n(){}return n.clicked="clicked",n}();n.SearchBoxEventAction=t;i=function(){function n(){}return n.searchboxTabFlights="tab | flights",n.searchboxTabHotels="tab | hotels",n.searchboxTabCars="tab | cars",n.searchboxFieldOrigin="field | origin",n.searchboxFieldFlightDestination="field | destination",n.searchboxFieldDepartureDate="field | departure date",n.searchboxFieldReturnDate="field | return date",n.searchboxFieldPassengers="field | passengers",n.searchboxFieldTriptype="field | trip type",n.searchboxFieldTicketClass="field | ticket class",n.searchboxToggleDirectOn="toggle | direct preferred | on",n.searchboxToggleDirectOff="toggle | direct preferred | off",n.searchboxToggleIncludeNearbyOn="toggle | include nearby airports | on",n.searchboxToggleIncludeNearbyOff="toggle | include nearby airports | off",n.searchboxButtonSearch="button | search",n.searchboxFieldHotelDestination="field | destination",n.searchboxFieldCheckinDate="field | check-in date",n.searchboxFieldCheckoutDate="field | check-out date",n.searchboxFieldGuests="field | guests",n.searchboxFieldSpecificDateOn="toggle | i don't have specific dates | on",n.searchboxFieldSpecificDateOff="toggle | i don't have specific dates | off",n.searchboxHotelButtonSearch="button | search",n}();n.SearchBoxEventLabel=i;r=function(){function n(){this.event="event"}return n.prototype.track=function(n,t,i,r){this.event="event";this.eventCategory=n;this.eventAction=t;this.eventLabel=i;this.nonInteractionHit=r},n.prototype.toJSON=function(){return{event:this.event,eventCategory:this.eventCategory,eventAction:this.eventAction,eventLabel:this.eventLabel,nonInteractionHit:this.nonInteractionHit}},n}();n.SearchBoxTag=r})(t=n.GoogleTagManager||(n.GoogleTagManager={}))}(Momondo||(Momondo={})),function(n){var t;(function(n){var t=function(){function n(){}return n.flightSearchResultTip="flight search results | tip",n}(),i,r,u;n.FlightTipEventCategory=t;i=function(){function n(){}return n.clicked="clicked",n}();n.FlightTipEventAction=i;r=function(){function n(){}return n.buttonShowOffers="button | show offers",n.buttonHideOffers="button | hide offers",n.buttonDismiss="button | dismiss",n.buttonNeverShowAgain="button | never show again",n.buttonMoreInfo="button | more info",n.buttonFindMore="button | find more",n.buttonSeeAll="button | see all",n}();n.FlightTipEventLabel=r;u=function(){function n(){this.event="event"}return n.prototype.track=function(n,i,r,u){this.event="event";this.eventCategory=t.flightSearchResultTip;this.eventAction=n;this.eventLabel=i;this.nonInteractionHit=r;var f={"tip type":u};this.customParameter=f},n.prototype.toJSON=function(){var n={event:this.event,eventCategory:this.eventCategory,eventAction:this.eventAction,eventLabel:this.eventLabel,nonInteractionHit:this.nonInteractionHit};for(var t in this.customParameter)n[t]=this.customParameter[t];return n},n}();n.FlightTipTag=u})(t=n.GoogleTagManager||(n.GoogleTagManager={}))}(Momondo||(Momondo={})),function(n){var t;(function(n){var u=function(){function n(){}return n.flightSearchResultsCrossSupplierRating="flight search results | supplier rating",n}(),t,i,r;n.SupplierRatingEventCategory=u;t=function(){function n(){}return n.clicked="clicked",n.displayed="displayed",n}();n.SupplierRatingEventAction=t;i=function(){function n(){}return n.popDownSupplierRating="pop down | supplier rating",n.buttonItWasGreat="button | it was great",n.buttonClose="button | close",n.buttonCouldHaveBeenBetter="button | it could have been better",n.buttonSendMyFeedback="button | send my feedback",n}();n.SupplierRatingEventLabel=i;r=function(){function n(){this.event="event"}return n.prototype.track=function(n,t,i,r){this.event="event";this.eventCategory=n;this.eventAction=t;this.eventLabel=i;this.nonInteractionHit=r},n.prototype.toJSON=function(){return{event:this.event,eventCategory:this.eventCategory,eventAction:this.eventAction,eventLabel:this.eventLabel,nonInteractionHit:this.nonInteractionHit}},n}();n.SupplierRatingTag=r})(t=n.GoogleTagManager||(n.GoogleTagManager={}))}(Momondo||(Momondo={})),function(n){var t;(function(n){var u=function(){function n(){}return n.flightSearchResultsFilters="flight search results | filters",n}(),t,i,r;n.FlightResultFilterCategory=u;t=function(){function n(){}return n.selected="selected",n.unselected="unselected",n.clikced="clicked",n}();n.FlightResultFilterAction=t;i=function(){function n(){}return n.filterStops="filter | stops",n.filterTicketClass="filter | ticket class",n.filterOriginAirports="filter | origin airports",n.filterOriginAirportsClearFilter="filter | origin airports | clear filter",n.filterDestinationAirports="filter | destination airports",n.filterDestinationAirportsClearFilter="filter | destination airports | clear filter",n.filterViaAirport="filter | via airport",n.filterViaAirportClearFilter="filter | via airport | clear filter",n.filterAlliances="filter | alliances",n.filterAlliancesClearFilters="filter | alliances | clear filters",n.filterAirlines="filter | airlines",n.filterAirlinesClearFilter="filter | airlines | clear filter",n.filterAirlinesShowAll="filter | airlines | show all",n.filterAirlinesHideAirlines="filter | airlines | hide airlines",n.filterMaxFlightDuration="filter | max flight duration",n.filterTimeOfDayOutboundDepartStart="filter | time of day | outbound | depart | start",n.filterTimeOfDayOutboundDepartEnd="filter | time of day | outbound | depart | end",n.filterTimeOfDayOutboundArriveStart="filter | time of day | outbound | arrive | start",n.filterTimeOfDayOutboundArriveEnd="filter | time of day | outbound | arrive | end",n.filterTimeOfDayReturnDepartStart="filter | time of day | return | depart | start",n.filterTimeOfDayReturnDepartEnd="filter | time of day | return | depart | end",n.filterTimeOfDayReturnArriveStart="filter | time of day | return | arrive | start",n.filterTimeOfDayReturnArriveEnd="filter | time of day | return | arrive | end",n.filterFieldSpecialFares="field | special fares",n}();n.FlightResultFilterLabel=i;r=function(){function n(){this.event="event"}return n.prototype.track=function(n,t,i,r){this.event="event";this.eventCategory="flight search results | filters";this.eventAction=n;this.eventLabel=t;this.nonInteractionHit=i;this.customParameter=r},n.prototype.toJSON=function(){var n={event:this.event,eventCategory:this.eventCategory,eventAction:this.eventAction,eventLabel:this.eventLabel,nonInteractionHit:this.nonInteractionHit};for(var t in this.customParameter)n[t]=this.customParameter[t];return n},n}();n.FlightResultFilterTag=r})(t=n.GoogleTagManager||(n.GoogleTagManager={}))}(Momondo||(Momondo={})),function(n){var t;(function(n){var t=function(){function n(n){this.event="event";this.eventCategory="campaign dna | video";this.eventAction="played";this.eventLabel="";this.eventLabel=n}return n.prototype.toJSON=function(){return{event:this.event,eventCategory:this.eventCategory,eventAction:this.eventAction,eventLabel:this.eventLabel}},n}();n.DnaCompetitionVideoTag=t})(t=n.GoogleTagManager||(n.GoogleTagManager={}))}(Momondo||(Momondo={})),function(n){var t;(function(n){var t=function(){function n(n){this.event="event";this.eventCategory="campaign dna | signup";this.eventAction="submitted";this.eventLabel="";this.eventLabel=n}return n.prototype.toJSON=function(){return{event:this.event,eventCategory:this.eventCategory,eventAction:this.eventAction,eventLabel:this.eventLabel}},n}();n.DnaCompetitionRegistrationSubmissionTag=t})(t=n.GoogleTagManager||(n.GoogleTagManager={}))}(Momondo||(Momondo={})),function(n){var t;(function(t){function i(n){var t=n.toJSON();r(t);dataLayer.push(t);console.log("GTM: "+JSON.stringify(t))}function r(t){n.Membership!==undefined&&n.Membership.isAuthenticated()&&(t.userId=n.Membership.getUserId())}t.push=i})(t=n.GoogleTagManager||(n.GoogleTagManager={}))}(Momondo||(Momondo={}))