1(self.webpackChunkjet2holidays=self.webpackChunkjet2holidays||[]).push([[5588],{80071:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var i=n(97479);function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,a(i.key),i)}}function a(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}const s=new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)},(t=[{key:"setItem",value:function(e,t){i.Ay.setItem(e,t)}},{key:"getItem",value:function(e){return i.Ay.getItem(e)}},{key:"removeItem",value:function(e){return i.Ay.removeItem(e)}},{key:"getAllItem",value:function(){return Object.keys(i.Ay)}}])&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}())},76909:(e,t,n)=>{"use strict";n.d(t,{o:()=>s});var i=n(6861),r=n(89463),o=n(89036),a=r.Ay.create("PageValidationMixin"),s={created:function(){"function"==typeof this.validate?i.A.on(o.beforeNavigateFromPageEvent,this.onBeforeNavigateFromPageEventHandler):a.warn("validate function missing for component: ".concat(this.$options.name))},beforeDestroy:function(){i.A.off(o.beforeNavigateFromPageEvent,this.onBeforeNavigateFromPageEventHandler)},methods:{onBeforeNavigateFromPageEventHandler:function(e){this.validate(e)}}}},89036:(e,t,n)=>{"use strict";n.r(t),n.d(t,{beforeNavigateFromPageEvent:()=>r,changeContinueButtonLabel:()=>d,continueButtonClicked:()=>i,continueButtonLoaded:()=>v,disableButtonEvent:()=>u,enableButtonEvent:()=>y,hideButtonEvent:()=>c,intermediateNavigateFromPageEvent:()=>o,navigateFromPageEvent:()=>a,navigateFromPageFailedEvent:()=>s,showButtonEvent:()=>f,showEssentialsClearedMessage:()=>l});var i="continueButtonClicked",r="beforeNavigateFromPage",o="intermediateNavigateFromPageEvent",a="navigateFromPageEvent",s="navigatingFromPageFail",l="essentialsCleared",u="disableButtonEvent",c="hideButtonEvent",f="showButtonEvent",d="changeContinueButtonLabel",v="continueButtonLoaded",y="enableButtonEvent"},5774:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>s});var i=n(80071);function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,a(i.key),i)}}function a(e){var t=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==r(t)?t:t+""}const s=new(function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.keys={termsAndConditions:"termsAndConditions",errata:"errata",flightInformation:"flightInformation"}},(t=[{key:"clearAll",value:function(){this.setTermsAndConditionsState(this.keys.termsAndConditions,!1),this.setErrataState(!1)}},{key:"setTermsAndConditionsState",value:function(e,t){e&&i.A.setItem(e,t)}},{key:"getTermsAndConditionsState",value:function(e){return e&&i.A.getItem(e)||!1}},{key:"setStateValue",value:function(e,t){e&&(this.clearOldStateValue(e),i.A.setItem(e,t))}},{key:"clearOldStateValue",value:function(e){var t=e.split("_")[0]+"_",n=i.A.getAllItem();null!=n&&n.length>0&&n.filter((function(n){return n.startsWith(t)&&n!=e}
1)).forEach((function(e){return i.A.removeItem(e)}))}},{key:"getStateValue",value:function(e){return e&&i.A.getItem(e)||!1}},{key:"setErrataState",value:function(e){i.A.setItem(this.keys.errata,e)}},{key:"getErrataState",value:function(){return i.A.getItem(this.keys.errata)||!1}},{key:"setCallCentreFlightInformationState",value:function(e,t){e&&i.A.setItem(e,t)}},{key:"getCallCentreFlightInformationState",value:function(e){return e&&i.A.getItem(e)||!1}}])&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}())},76815:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var i=n(62662),r=n.n(i),o=n(89159),a=n(8988),s=(n(6466),n(52507));function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function u(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,c(i.key),i)}}function c(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=l(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:t+""}var f=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=t,this.$element=r()(t),window.fancybox=n(6466)(r()),this.subscribeToEvents(),a.A.onResizeFinished(this.handleResize.bind(this))},t=[{key:"subscribeToEvents",value:function(){this.$element.off("click").on("click",(function(e){e.preventDefault();var t=e.currentTarget,n=r()(t).attr("data-video-title")?r()(t).attr("data-video-title"):"",i=r()(t).attr("data-embed-url")?r()(t).attr("data-embed-url"):r()(t).attr("href");r().fancybox({wrapCSS:"video-player",href:i,type:"iframe",width:854,height:480,autoWidth:!0,aspectRatio:!0,padding:0,margin:o.A.isMobile()?12:0,helpers:{overlay:{locked:!0}},afterShow:function(){(0,s.v4)(),r()("body").bind("touchmove",(function(e){e.preventDefault()}))},beforeClose:function(){(0,s.vT)(),r()("body").unbind("touchmove")},tpl:{wrap:'<div class="fancybox-wrap video-player" tabIndex="-1"><div class="fancybox-skin">'+'<div class="video-player__title">'.concat(n,"</div>")+'<div class="fancybox-outer"><div class="fancybox-inner"></div></div></div></div>',closeBtn:'<a title="Close" class="video-player__close-btn" href="javascript:;"></a>'}})}))}},{key:"handleResize",value:function(){this.subscribeToEvents.bind(this)()}}],t&&u(e.prototype,t),i&&u(e,i),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,i}()},32719:(e,t,n)=>{"use strict";n.r(t),n.d(t,{View:()=>d});var i=n(4142),r=n(35206),o=n.n(r),a=n(80887);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},l.apply(null,arguments)}function u(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,f(i.key),i)}}function c(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function f(e){var t=function(e,t){if("object"!=s(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=s(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==s(t)?t:t+""}a.Ay.use(o(),{events:"blur"});var d=c((function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);this.vm=new a.Ay(l({el:t,name:"ConfirmationText",propsData:n},i.confirmationTextViewModel))}))},4142:(e,t,n)=>{"use strict";n.r(t),n.d(t,{confirmationTextViewModel:()=>a});var i=n(76909),r=n(5774),o=n(6861),a={mixins:[i.o],props:{validationSection:{type:String,required:!0}
1,validationMessage:{type:String,required:!0},stateStore:{type:String,required:!0},analyticsEvent:{type:String,required:!1},analyticsCategory:{type:String,required:!1},checkboxLabel:{type:String,required:!0},checkboxAssistedTravelLabel:{type:String,required:!0}},data:{declarationRead:!1,showInlineError:!1,isVisible:!1,stateValueKey:"",resetCheckboxEventListenerName:"",setVisibilityEventListenerName:"",setCheckboxLabelEventListenerName:"",showAssistedTravelCheckboxLabel:!1,bypassWatch:!1},created:function(){var e=window.location.search.substring(1),t=new URLSearchParams(e).get("id");null!=t&&t.length>0?this.stateValueKey=this.stateStore+"_"+t:this.stateValueKey=this.stateStore,this.declarationRead="true"===r.default.getStateValue(this.stateValueKey),this.setVisibilityEventListenerName="Set"+this.stateStore+"Visibility",this.resetCheckboxEventListenerName="Reset"+this.stateStore+"Checkbox",this.setCheckboxLabelEventListenerName="Set"+this.stateStore+"CheckboxLabel"},mounted:function(){events.subscribe(events.keys.validateRequest,this.AddValidateError),window.addEventListener(this.setVisibilityEventListenerName,this.setVisibility),window.addEventListener(this.resetCheckboxEventListenerName,this.resetCheckbox),window.addEventListener(this.setCheckboxLabelEventListenerName,this.setCheckboxLabel)},unmounted:function(){window.removeEventListener(this.setVisibilityEventListenerName,this.setVisibility),window.removeEventListener(this.resetCheckboxEventListenerName,this.resetCheckbox),window.removeEventListener(this.setCheckboxLabelEventListenerName,this.setCheckboxLabel)},methods:{toggleDeclarationRead:function(e){if(e.srcElement.classList.contains("js-trigger-modal"))return o.A.emit(e.target.getAttribute("data-modal-id")),this.bypassWatch=!0,this.declarationRead=!this.declarationRead,e.stopPropagation(),!1;this.analyticsCategory&&this.analyticsEvent&&window.dataLayer.push({event:this.analyticsEvent,category:this.analyticsCategory,action:this.declarationRead?"Unticked":"Ticked",label:this.checkboxLabelForAnalytics})},setVisibility:function(e){this.isVisible=e.detail.value},resetCheckbox:function(e){this.declarationRead=!1,this.showInlineError=!1},setCheckboxLabel:function(e){e.detail&&e.detail.value?this.showAssistedTravelCheckboxLabel=e.detail.value:this.showAssistedTravelCheckboxLabel=!1},AddValidateError:function(e){if(!this.declarationRead&&this.isVisible&&(this.showInlineError=!0,e)){var t={heading:this.validationSection,subsections:[{fields:[{text:this.validationMessage,source:this.$el}]}],order:1e3};e.valid=!1,e.sections&&e.sections.constructor===Array?e.sections.push(t):e.sections=[t]}this.isVisible&&r.default.setStateValue(this.stateValueKey,this.declarationRead)},validate:function(e){!this.declarationRead&&this.isVisible&&(this.showInlineError=!0,e.errors=e.errors.concat({section:this.validationSection,description:this.validationMessage,element:this.$el}))},getField:function(e){return this.fields[e]},stripHtml:function(e){if(!e)return"";var t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText||""}},computed:{checkboxLabelForAnalytics:function(){return this.showAssistedTravelCheckboxLabel?this.stripHtml(this.checkboxAssistedTravelLabel):this.stripHtml(this.checkboxLabel)}},watch:{declarationRead:{handler:function(){this.bypassWatch?this.bypassWatch=!1:this.isVisible&&this.declarationRead&&(this.showInlineError=!1)}}}}},17561:()=>{!function(){"use strict";var e=document.querySelector(".cookie-consent"),t=document.querySelector(".close-cookies"),n=864e5,i=e.dataset.name,r=e.dataset.version,o=1*e.dataset.expiryDays,a=e.dataset.enabled,s=!1;if(t.addEventListener("click",(function(){e.classList.add("hidden")})),"false"!==a){var l=function(){for(var e=i+"=",t=document.cookie.split(";"),n=0;n<t.length;n++){for(var r=t[n];" "===r.charAt(0);)r=r.substring(1);if(0===r.indexOf(e))return r.substring(e.length,r.length)}return!1}();l?(l.split(":")[0]!==r&&(u(),s=!0),function(e){var t=1*e.split(":")[1],i=1*e.split(":")[2];if(t!==o){u(),i+o*n<=(new Date).getTime()&&(s=!0)}}(l)):(u(),s=!0),s&&e.classList.remove("hidden")}function u(){var e=r+":"+o+":"+(new Date).getTime(),t=new Date;t.setTime(t.getTime()+o*n),document.cookie=i+"="+e+";expires="+t.toUTCString()+";path=/"}}()},98967:(e,t,n)=>{"use strict";n.r(t),n.d(t,{View:()=>c});var i=n(80887),r=n(3878);function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},a.apply(null,arguments)}function s(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,u(i.key),i)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function u(e){var t=function(e,t){if("object"!=o(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=o(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==o(t)?t:t+""}var c=l((function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e);this.vm=new i.Ay(a({name:"InfoBanner",el:t},r.infoBannerViewModel))}))},3878:(e,t,n)=>{"use strict";n.r(t),n.d(t,{infoBannerViewModel:()=>i});var i={methods:{trackClickEvent:function(e){window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"Streamlined_homepage",category:"Info Banner",action:"Click",label:e.target.innerText})}}}},59563:(e,t,n)=>{"use strict";n.r(t),n.d(t,{view:()=>f});var i=n(80887),r=n(71450),o=n(91777);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},s.apply(null,arguments)}function l(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,c(i.key),i)}}function u(e,t,n){return t&&l(e.prototype,t),n&&l(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=a(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}var f=u((function e(t,n){if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),void 0===t.parentNode||null===t.parentNode.closest("[data-component]:not([data-not-vue])"))new i.Ay(s({name:"UspBar",el:t,store:o.M_,propsData:{Settings:n.Settings}},r.uspBarViewModel))}))},71450:(e,t,n)=>{"use strict";n.r(t),n.d(t,{UspBarComponentViewModel:()=>o,uspBarViewModel:()=>r});var i=n(80887),r={props:{settings:{type:Object,required:!0}},data:function(){return{}},methods:{},mounted:function(){},computed:{showComponent:function(){return 0==this.settings.hideIfIneligibleForInstalments||this.$store.getters["results/isEligibleForInstalments"]}}};i.Ay.component("usp-bar",r);var o=r},56971:(e,t,n)=>{"use strict";n.r(t),n.d(t,{View:()=>u});var i=n(62662),r=n.n(i),o=n(76815);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function s(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,l(i.key),i)}}function l(e){var t=function(e,t){if("object"!=a(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=a(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==a(t)?t:t+""}var u=function(){return e=function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.element=t,this.$element=r()(t),this.initVideoPlayer()},(t=[{key:"initVideoPlayer",value:function(){var e=this.$element.find(".js-video-trigger");if(e.length)for(var t=0,n=e.length;t<n;t++)new o.default(e[t])}}])&&s(e.prototype,t),n&&s(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t,n}()}}]);
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.