PageSourceSearch

https://www.edreams.com/frontend-home/static-content/js/204752.d04571f5396cb3f8cc37.js

js edreams.com collected 2026-09-24 09:53:44 UTC 111,982 bytes, 14 lines download raw bytes

1"use strict";(self.webpackChunkOneFront_HomePage=self.webpackChunkOneFront_HomePage||[]).push([[204752],{844520:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.handleTrackingStorageError=e.handleGaGroupIdError=e.handleDatameshInitError=e.STORAGE_ERROR_MESSAGE=e.STORAGE_BOUNDARY=e.CONFIG_PARAMETERS_GA_MESSAGE=e.CONFIG_PARAMETERS_GA_BOUNDARY=e.CONFIG_PARAMETERS_DM_MESSAGE=e.CONFIG_PARAMETERS_DM_BOUNDARY=void 0;var n=r(934588),o=e.STORAGE_BOUNDARY="storageClient",i=e.STORAGE_ERROR_MESSAGE="Cannot create tracking storage client when storageClient is not in the configParametersRepository",a=(e.handleTrackingStorageError=function(t){return!!t||((0,n.trackError)(new Error(i),o),!1)},e.CONFIG_PARAMETERS_DM_BOUNDARY="configParametersRepository/datamesh"),c=e.CONFIG_PARAMETERS_DM_MESSAGE="Cannot initialize datamesh when visitID or context are not provided",u=(e.handleDatameshInitError=function(t,e){return!(!t||!e)||((0,n.trackError)(new Error(c),a),!1)},e.CONFIG_PARAMETERS_GA_BOUNDARY="configParametersRepository/googleAnalytics"),s=e.CONFIG_PARAMETERS_GA_MESSAGE="ga4GroupId is required to correctly send data to Google Analytics 4";e.handleGaGroupIdError=function(t){t||(0,n.trackError)(new Error(s),u)}},400094:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}r(141817),r(66992),r(333948),Object.defineProperty(e,"__esModule",{value:!0}),e.resetConfigParametersRepository=e.createConfigParametersRepository=void 0,r(185827);var o,i=r(121409),a=r(33062),c=r(844520),u=r(156998);function s(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function l(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(Object(r),!0).forEach((function(e){f(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function f(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===n(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}e.createConfigParametersRepository=function(){if(o)return o;var t={},e=null,r=function(r){var n,o=null!==(n=function(t){if(!t)return{};var r=["generic","datamesh","googleAnalytics","tagCommander"];return t.googleAnalytics&&e&&(0,c.handleGaGroupIdError)(t.googleAnalytics.ga4GroupId),Object.keys(t).filter((function(t){return r.includes(t)})).reduce((function(e,r){return l(l({},e),{},f({},r,t[r]))}),{})}(r))&&void 0!==n?n:{};t=(0,a.deepMerge)(t,o)};return o={init:function(n){var o,a,s,l,f,m;r(n),a=null===(o=t)||void 0===o||null===(o=o.generic)||void 0===o?void 0:o.storageClient,(0,c.handleTrackingStorageError)(a)&&(e=(0,u.createTrackingStorageClient)(a)),f=(null===(s=t)||void 0===s||null===(s=s.generic)||void 0===s?void 0:s.visitID)||"",m=(null===(l=t)||void 0===l||null===(l=l.datamesh)||void 0===l?void 0:l.context)||"",(0,c.handleDatameshInitError)(f,m)&&(0,i.init)({visitID:f,context:m})},setParameters:r,getStoredParameters:function(){return t},getGenericParameters:function(){return t.generic},getDatameshParameters:function(){return t.datamesh},getGoogleAnalyticsParameters:function(){return t.googleAnalytics},getTagCommanderParameters:function(){return t.tagCommander},getTrackingStorageClient:function(){return e}}},e.resetConfigParametersRepository=function(){o=void 0}},608973:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?o(Object(r),!0).forEach((function(e){a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function a(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===n(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var c;r(66992),r(333948),Object.defineProperty(e,"__esModule",{value:!0}),e.resetRuntimeState=e.createRuntimeState=void 0,r(141817);e.createRuntimeState=function(){if(c)return c;var t={};return c={setParameters:function(e){t=i(i({},t),e)},getRuntimeState:function(){return t}}},e.resetRuntimeState=function(){c=void 0}},925236:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.checkThirdPartyTrackingStorageInit=void 0;var n=r(400094),o=r(608973);e.checkThirdPartyTrackingStorageInit=function(){var t=(0,n.createConfigParametersRepository)(),e=t.getTrackingStorageClient,r=t.getGenericParameters,i=e();if(!(0,(0,o.createRuntimeState)().getRuntimeState)().isStorageInitialized){var a=r();null==i||i.initThirdParty(null==a?void 0:a.visitID)}}},156998:(t,e,r)=>{r(66992),r(333948),r(472443),Object.defineProperty(e,"__esModule",{value:!0}),e.createTrackingStorageClient=e.createEmptyTrackingData=void 0,r(788674),r(141817);var n=r(192252),o=r(481508),i=r(608973);function a(t){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},a(t)}function c(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?c(Object(r),!0).forEach((function(e){m(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function s(){
2/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
3s=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(t,e,r){t[e]=r.value},i="function"==typeof Symbol?Symbol:{},c=i.iterator||"@@iterator",u=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function m(t,e,r,n){var i=e&&e.prototype instanceof b?e:b,a=Object.create(i.prototype),c=new I(n||[]);return o(a,"_invoke",{value:j(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=m;var d="suspendedStart",y="suspendedYield",h="executing",v="completed",g={};function b(){}function _(){}function E(){}var w={};f(w,c,(function(){return this}));var O=Object.getPrototypeOf,P=O&&O(O(D([])));P&&P!==r&&n.call(P,c)&&(w=P);var S=E.prototype=b.prototype=Object.create(w);function T(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(o,i,c,u){var s=p(t[o],t,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==a(f)&&n.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){l.value=t,c(l)}),(function(t){return r("throw",t,c,u)}))}u(s.arg)}var i;o(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return i=i?i.then(o,o):o()}})}function j(e,r,n){var o=d;return function(i,a){if(o===h)throw new Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}
vendor: 5,426 bytes, line 3
3for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var s=p(e,r,n);if("normal"===s.type){if(o=n.done?v:y,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=v,n.method="throw",n.arg=s.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function R(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function D(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return i.next=i}}throw new TypeError(a(e)+" is not iterable")}return _.prototype=E,o(S,"constructor",{value:E,configurable:!0}),o(E,"constructor",{value:_,configurable:!0}),_.displayName=f(E,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,f(t,l,"GeneratorFunction")),t.prototype=Object.create(S),t},e.awrap=function(t){return{__await:t}},T(k.prototype),f(k.prototype,u,(function(){return this})),e.AsyncIterator=k,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new k(m(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},T(S),f(S,l,"Generator"),f(S,c,(function(){return this})),f(S,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=D,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(R),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),s=n.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),R(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;R(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function l(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function f(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){l(i,n,o,a,c,"next",t)}function c(t){l(i,n,o,a,c,"throw",t)}a(void 0)}))}}function m(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==a(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==a(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
3(t,"string");return"symbol"===a(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var p=e.createEmptyTrackingData=function(t){return m(m(m(m(m(m({},n.VISIT_ID_STORAGE_KEY,t),n.LAST_UPDATE_STORAGE_KEY,(new Date).getTime()),n.DATALAYER_STORAGE_KEY,{}),n.CUSTOM_PARAMS_STORAGE_KEY,{}),n.USER_PROPERTIES_STORAGE_KEY,{}),n.EVENTS_STORAGE_KEY,{})};e.createTrackingStorageClient=function(t){var e="idle"===t.status?t.init():Promise.resolve(t),r=function(){var t=f(s().mark((function t(r){return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,e;case 1:t.sent.listenChangeUserConsent(r);case 2:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),a=function(){var t=f(s().mark((function t(r,n,o){var i;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,e;case 1:i=t.sent,i.get(r).set(n,o);case 2:case"end":return t.stop()}}),t)})));return function(e,r,n){return t.apply(this,arguments)}}(),c=function(){var t=f(s().mark((function t(r,n,o){var i,a;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,e;case 1:return i=t.sent,a=i.get(r),t.abrupt("return",a.get(n,o));case 2:case"end":return t.stop()}}),t)})));return function(e,r,n){return t.apply(this,arguments)}}();return{initThirdParty:function(e){var r,a;if(e){var c=t.get("sessionStorage");if(c){var u=null!==(r=c.get(n.STORAGE_KEY))&&void 0!==r?r:null;if((null==u?void 0:u[n.VISIT_ID_STORAGE_KEY])!==e){var s=null;try{var l,f=null===(l=window.opener)||void 0===l||null===(l=l.sessionStorage)||void 0===l?void 0:l.getItem(n.STORAGE_KEY);f&&(s=(0,o.parseJson)(f))}catch(t){}(null===(a=s)||void 0===a?void 0:a[n.VISIT_ID_STORAGE_KEY])===e?c.set(n.STORAGE_KEY,s):c.set(n.STORAGE_KEY,p(e)),(0,(0,i.createRu
3ntimeState)().setParameters)({isStorageInitialized:!0})}}}},isAllowed:function(e,r){return t.get(e).get(r)||!1},getTrackingStoredValue:function(e){var r,o=t.get("sessionStorage");return null==o||null===(r=o.get(n.STORAGE_KEY))||void 0===r?void 0:r[e]},update:function(e,r){var o,i=t.get("sessionStorage"),a=null!==(o=i.get(n.STORAGE_KEY))&&void 0!==o?o:{},c="function"==typeof r?r(a[e]):r;i.set(n.STORAGE_KEY,u(u({},a),{},m(m({},e,c),n.LAST_UPDATE_STORAGE_KEY,(new Date).getTime())))},getCookie:function(e){return t.get("cookie").get(e)},listenChangeUserConsent:r,setInStorage:function(e,r,n){t.get(e).set(r,n)},getFromStorage:function(e,r,n){return t.get(e).get(r,n)},removeFromStorage:function(e,r){return t.get(e).delete(r)},setCookie:function(e,r,n,o){t.get("cookie").set(e,r,n,o)},setInStorageAsync:a,getFromStorageAsync:c,removeCookie:function(e){return t.get("cookie").delete(e)}}}},603117:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isFlowOrProductChanged=e.extractParametersFromPageName=void 0,r(974916);var n=r(192252),o=e.extractParametersFromPageName=function(t){return(null==t?void 0:t.match(n.VIRTUAL_PAGE_PATH_REGEX))||["",""]};e.isFlowOrProductChanged=function(t,e){var r=o(t),n=o(e.screen_name||""),i=r[1]===n[1];return!(r[2]===n[2])||!i}},694130:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}r(141817),r(66992),r(333948),r(472443),Object.defineProperty(e,"__esModule",{value:!0}),e.createDataMeshTrackingClient=function(t){var e=t.storageClient,r=t.mfe,n=void 0===r?{}:r,o=function(){var t,r;return(null==e||null===(r=e.get("sessionStorage"))||void 0===r?void 0:r.get(y))||(null===(t=window)||void 0===t||null===(t=t.__htmlEvents__)||void 0===t?void 0:t.pageRenderId)};return{trackClick:w({path:u.CLICK,buildRequest:_,getPageRenderId:o,mfe:n}),trackComponentDisplayed:w({path:u.COMPONENT_DISPLAYED,buildRequest:E,getPageRenderId:o,mfe:n}),setTransactionBookingId:c.setTransactionBookingId,setTransactionSearchId:c.setTransactionSearchId,setTransactionMembershipId:c.setTransactionMembershipId}},r(788674);var o=r(416354),i=r(180998),a=r(698379),c=r(31703),u=r(201605);function s(){
4/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
5s=function(){return e};var t,e={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function m(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,a=Object.create(o.prototype),c=new I(n||[]);return i(a,"_invoke",{value:j(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=m;var d="suspendedStart",y="suspendedYield",h="executing",v="completed",g={};function b(){}function _(){}function E(){}var w={};f(w,c,(function(){return this}));var O=Object.getPrototypeOf,P=O&&O(O(D([])));P&&P!==r&&o.call(P,c)&&(w=P);var S=E.prototype=b.prototype=Object.create(w);function T(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(i,a,c,u){var s=p(t[i],t,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){l.value=t,c(l)}),(function(t){return r("throw",t,c,u)}))}u(s.arg)}var a;i(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function j(e,r,n){var o=d;return function(i,a){if(o===h)throw new Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}
vendor: 5,436 bytes, line 5
5for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var s=p(e,r,n);if("normal"===s.type){if(o=n.done?v:y,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=v,n.method="throw",n.arg=s.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function R(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function D(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(o.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(n(e)+" is not iterable")}return _.prototype=E,i(S,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:_,configurable:!0}),_.displayName=f(E,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,f(t,l,"GeneratorFunction")),t.prototype=Object.create(S),t},e.awrap=function(t){return{__await:t}},T(k.prototype),f(k.prototype,u,(function(){return this})),e.AsyncIterator=k,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new k(m(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},T(S),f(S,l,"Generator"),f(S,c,(function(){return this})),f(S,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=D,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(R),!e)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),R(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;R(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function l(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function f(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){l(i,n,o,a,c,"next",t)}function c(t){l(i,n,o,a,c,"throw",t)}a(void 0)}))}}function m(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function p(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
5e%2?m(Object(r),!0).forEach((function(e){d(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function d(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===n(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var y="pageRenderId",h=function(t){var e;return t||(null===(e=window)||void 0===e||null===(e=e.__htmlEvents__)||void 0===e?void 0:e.eventsPath)},v=function(t){var e;return t||(null===(e=window)||void 0===e||null===(e=e.__htmlEvents__)||void 0===e?void 0:e.visit)},g=function(t){var e=t.visit,r=t.context;return v(e)&&h(r)},b=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=document.location.href,n=(0,c.getTransactionId)(),o=n.bookingId,i=n.searchId,a=n.membershipId,u=(new Date).getTime();return{visitId:v(t),bookingId:o,searchId:i,membershipId:a,href:r,browserTimestamp:u,microFrontendName:e.name,microFrontendVersion:e.version}},_=function(t,e,r,n){return p(p({},b(r,n)),{},{htmlElementId:t,pageRenderId:e})},E=function(t,e,r,n){return p(p({},b(r,n)),{},{componentId:t,pageRenderId:e})},w=function(t){var e=t.path,r=t.buildRequest,n=t.getPageRenderId,c=t.mfe;return f(s().mark((function t(){var l,f,m,p,d,y,v,b,_,E=arguments;return s().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(f=(l=E.length>0&&void 0!==E[0]?E[0]:{}).id,m=void 0===f?void 0:f,p=l.context,d=void 0===p?void 0:p,y=l.visit,g({visit:v=void 0===y?void 0:y,context:d})){t.next=1;break}return t.abrupt("return",Promise.reject(new Error(i.ERROR_NOT_INITIALIZED)));case 1:if(m){t.next=2;break}return t.abrupt("return",Promise.reject(new Error(i.ERROR_COMPONENT_ID_MANDATORY)));case 2:return b=n(),_=r(m,b,v,c),(0,o.sendBeacon)("".concat(h(d)).concat(u.HTML_EVENTS_API_ROUTE).concat(e),_),t.abrupt("return",(0,a.buildResponse)(_));case 3:case"end":return t.stop()}}),t)})))}},840688:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.handleMktSessionError=e.MISSING_MKTSESSION_ERROR_MESSAGE=e.MISSING_MKTSESSION_BOUNDARY=void 0;var n=r(934588),o=e.MISSING_MKTSESSION_BOUNDARY="trackPageLoadedEvent/missingMktSessionCookie",i=e.MISSING_MKTSESSION_ERROR_MESSAGE="The mktSession cookie is missing. The page loaded event will be tracked without it.";e.handleMktSessionError=function(t){t||(0,n.trackError)(new Error(i),o)}},112446:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}r(141817),r(66992),r(333948),r(472443),Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"createDataMeshTrackingClient",{enumerable:!0,get:function(){return a.createDataMeshTrackingClient}}),Object.defineProperty(e,"getPageRenderId",{enumerable:!0,get:function(){return p.getPageRenderId}}),Object.defineProperty(e,"init",{enumerable:!0,get:function(){return u.init}}),Object.defineProperty(e,"setBookingId",{enumerable:!0,get:function(){return d.setTransactionBookingId}}),Object.defineProperty(e,"setMembershipId",{enumerable:!0,get:function(){return d.setTransactionMembershipId}}),Object.defineProperty(e,"setSearchId",{enumerable:!0,get:function(){return d.setTransactionSearchId}}),e.trackPageLoaded=e.trackDOMComponentDisplayed=e.trackComponentDisplayed=e.trackClickEvent=e.trackClick=void 0,r(788674);var o=r(400094),i=r(34292),a=r(694130),c=r(840688),u=r(121409),s=r(180998),l=r(195531),f=r(289327),m=r(698379),p=r(144374),d=r(31703),y=r(201605);function h(){
6/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
7h=function(){return e};var t,e={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,a=Object.create(o.prototype),c=new I(n||[]);return i(a,"_invoke",{value:j(t,r,c)}),a}function m(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var p="suspendedStart",d="suspendedYield",y="executing",v="completed",g={};function b(){}function _(){}function E(){}var w={};l(w,c,(function(){return this}));var O=Object.getPrototypeOf,P=O&&O(O(D([])));P&&P!==r&&o.call(P,c)&&(w=P);var S=E.prototype=b.prototype=Object.create(w);function T(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(i,a,c,u){var s=m(t[i],t,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){l.value=t,c(l)}),(function(t){return r("throw",t,c,u)}))}u(s.arg)}var a;i(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function j(e,r,n){var o=p;return function(i,a){if(o===y)throw new Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}
7for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=y;var s=m(e,r,n);if("normal"===s.type){if(o=n.done?v:d,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=v,n.method="throw",n.arg=s.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=m(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function R(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function D(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(o.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(n(e)+" is not iterable")}return _.prototype=E,i(S,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:_,configurable:!0}),_.displayName=l(E,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,l(t,s,"GeneratorFunction")),t.prototype=Object.create(S),t},e.awrap=function(t){return{__await:t}},T(k.prototype),l(k.prototype,u,(function(){return this})),e.AsyncIterator=k,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new k(f(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},T(S),l(S,s,"Generator"),l(S,c,(function(){return this})),l(S,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=D,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(R),!e)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),R(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;R(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function v(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function g(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){v(i,n,o,a,c,"next",t)}function c(t){v(i,n,o,a,c,"throw",t)}a(void 0)}))}}var b=function(){var t=g(h().mark((function t(e,r){var n,o;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r){t.next=1;break}return t.abrupt("return",Promise.reject({error:s.ERROR_COMPONENT_ID_MANDATORY}));case 1:return n=(0,l.getPageRenderId)(),o=e===y.CLICK?(0,f.buildClickRequest)(r,n):(0,f.buildDisplayedRequest)(r,n),t.abrupt("return",(0,i.post)("".concat((0,u.getContext)()).concat(y.HTML_EVENTS_API_ROUTE).concat(e),o).then((function(){return(0,m.buildResponse)(o)})));case 2:case"end":return t.stop()}}),t)})));return function(e,r){return t.apply(this,arguments)}}(),_=function(){var t=g(h().mark((function t(e){var r,n,a,s,p,d,v;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=(0,l.getPageRenderId)(),n=(0,l.refreshPageRenderId)(),a=(0,o.createConfigParametersRepository)(),s=a.getTrackingStorageClient,p=s(),(d=(null==p?void 0:p.getCookie("mktSession"))||void 0)||(0,c.handleMktSessionError)(d),v=(0,f.buildPageLoadedRequest)(d,r,n,e),t.abrupt("return",(0,i.post)("".concat((0,u.getContext)()).concat(y.HTML_EVENTS_API_ROUTE).concat(y.PAGE_LOADED),v).then((function(){return(0,m.buildResponse)(v)})));case 1:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),E=(e.trackClick=function(){var t=g(h().mark((function t(){var e,r,n,o=arguments;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e=(o.length>0&&void 0!==o[0]?o[0]:{}).id){t.next=1;break}return t.abrupt("return",Promise.reject({error:s.ERROR_COMPONENT_ID_MANDATORY}));case 1:return r=(0,l.getPageRenderId)(),n=(0,f.buildClickRequest)(e,r),t.abrupt("return",g(h().mark((function t(){return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,(0,u.checkInitialized)();case 1:return t.abrupt("return",(0,i.post)("".concat((0,u.getContext)()).concat(y.HTML_EVENTS_API_ROUTE).concat(y.CLICK),n).then((function(){return(0,m.buildResponse)(n)})));case 2:case"end":return t.stop()}}),t)})))());case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),e.trackComponentDisplayed=function(){var t=g(h().mark((function t(){var e,r=arguments;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=(r.length>0&&void 0!==r[0]?r[0]:{}).id,t.next=1,(0,u.checkInitialized)();case 1:return t.next=2,b(y.COMPONENT_DISPLAYED,e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),function(t){return t.dataset.id});e.trackDOMComponentDisplayed=function(){var t=g(h().mark((function t(e){return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,(0,u.checkInitialized)();case 1:if(!(e instanceof Element&&E(e))){t.next=3;break}return t.next=2,b(y.COMPONENT_DISPLAYED,E(e));case 2:return t.abrupt("return",t.sent);case 3:return t.abrupt("return",Promise.reject({error:s.ERROR_COMPONENT_DOM_MANDATORY}));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),e.trackClickEvent=function(){var t=g(h().mark((function t(e){return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,(0,u.checkInitialized)();case 1:if(!(e&&e.currentTarget&&E(e.currentTarget))){t.next=3;break}return t.next=2,b(y.CLICK,E(e.currentTarget));case 2:return t.abrupt("return",t.sent);case 3:return t.abrupt("return",Promise.reject({error:s.ERROR_EVENT_MANDATORY}));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),e.trackPageLoaded=function(){var t=g(h().mark((function t(){var e,r=arguments;return h().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=(r.length>0&&void 0!==r[0]?r[0]:{}).mfe,t.next=1,(0,u.checkInitialized)();case 1:return t.next=2,_(e);case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()},121409:(t,e,r)=>
7{Object.defineProperty(e,"__esModule",{value:!0}),e.init=e.getVisit=e.getContext=e.checkInitialized=void 0,r(788674);var n=r(180998),o=e.getContext=function(){var t;return null===(t=window)||void 0===t||null===(t=t.__htmlEvents__)||void 0===t?void 0:t.eventsPath},i=e.getVisit=function(){var t;return null===(t=window)||void 0===t||null===(t=t.__htmlEvents__)||void 0===t?void 0:t.visit};e.checkInitialized=function(){var t=i();return t&&o()?Promise.resolve(t):Promise.reject(new Error(n.ERROR_NOT_INITIALIZED))},e.init=function(t){var e=t.context,r=t.visitID;window.__htmlEvents__={visit:r,eventsPath:e}}},180998:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ERROR_NOT_INITIALIZED=e.ERROR_EVENT_MANDATORY=e.ERROR_COMPONENT_ID_MANDATORY=e.ERROR_COMPONENT_DOM_MANDATORY=void 0;e.ERROR_NOT_INITIALIZED="Error sending event. Have you forget to call init({context,visitId})?",e.ERROR_COMPONENT_ID_MANDATORY="error : Component ID is mandatory",e.ERROR_COMPONENT_DOM_MANDATORY="error : param should be an instance of Element",e.ERROR_EVENT_MANDATORY="error : param should be a click Event"},195531:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.refreshPageRenderId=e.getPageRenderId=e.PAGE_RENDER_ID=void 0;var n=r(767429),o=r(400094),i=e.PAGE_RENDER_ID="pageRenderId";e.refreshPageRenderId=function(){var t,e=(0,n.v1)(),r=(0,(0,o.createConfigParametersRepository)().getTrackingStorageClient)();return null!==(t=window)&&void 0!==t&&t.__htmlEvents__&&(window.__htmlEvents__.pageRenderId=e),null==r||r.setInStorage("sessionStorage",i,e),e},e.getPageRenderId=function(){var t,e;return(null===(t=window)||void 0===t||null===(t=t.__htmlEvents__)||void 0===t?void 0:t.pageRenderId)||(null==(e=(0,(0,o.createConfigParametersRepository)().getTrackingStorageClient)())?void 0:e.getFromStorage("sessionStorage",i,null))}},289327:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.buildPageLoadedRequest=e.buildDisplayedRequest=e.buildClickRequest=void 0;var n=r(121409),o=r(31703),i=function(){var t=document.location.href,e=(0,o.getTransactionId)(),r=e.bookingId,i=e.searchId,a=e.membershipId,c=(new Date).getTime();return{visitId:(0,n.getVisit)(),bookingId:r,searchId:i,membershipId:a,href:t,browserTimestamp:c}};e.buildPageLoadedRequest=function(t,e,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=window.document.referrer;return Object.assign({mktSessionId:t,referrer:o,pageRenderId:r,previousPageRenderId:e,microFrontendName:n.name,microFrontendVersion:n.version},i())},e.buildClickRequest=function(t,e){return Object.assign({htmlElementId:t,pageRenderId:e},i())},e.buildDisplayedRequest=function(t,e){return Object.assign({componentId:t,pageRenderId:e},i())}},698379:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.buildResponse=void 0;e.buildResponse=function(t){return{event:t}}},144374:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getPageRenderId=void 0;var n=r(400094),o=r(195531);e.getPageRenderId=function(){var t,e=(0,(0,n.createConfigParametersRepository)().getTrackingStorageClient)();return(null==e?void 0:e.getFromStorage("sessionStorage",o.PAGE_RENDER_ID,null))||(null===(t=window)||void 0===t||null===(t=t.__htmlEvents__)||void 0===t?void 0:t.pageRenderId)}},31703:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}function o(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?o(Object(r),!0).forEach((function(e){a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function a(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}
7(t,"string");return"symbol"===n(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function c(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(t,e)||s(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=s(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function s(t,e){if(t){if("string"==typeof t)return l(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(t,e):void 0}}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}r(141817),Object.defineProperty(e,"__esModule",{value:!0}),e.setTransactionSearchId=e.setTransactionMembershipId=e.setTransactionBookingId=e.getTransactionId=void 0,r(974916),r(115306),r(66992),r(333948),r(324603),r(560285),r(241637);var f=/^(([\da-f]{4}-?)+|\d+)$/i,m=/^\d+$/i,p=function(t){return t[t.length-1]},d=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=t[e];return void 0===r?null:m.test(r)?r:d(t,e+1)},y=function(t){return function(e){var r,n=u(t);try{for(n.s();!(r=n.n()).done;){var o=c(r.value,2),i=o[0],a=o[1];if(i.test(e))return a}}catch(t){n.e(t)}finally{n.f()}}},h=new Set(["hotel_guests","hotel_payment","hotel_prime"]),v=new Set(["checkout_payment","checkout_passengers","flights_info","non_essential_products","flexibility_bundle","canx","insurances","flex_dates","additions","support_pack","disruption_compensation","ancillaries_hub","flexibility_bundle_hub","insurances_hub","canx_hub","support_pack_hub","additions_hub","disruption_compensation_hub"]),g=function(t){return v.has(t[0])?d(t):null},b=new Map([[/^\/travel\/secure\/$/i,function(t){var e=p(t);return f.test(e)?e:null}],[/^\/travel\/flights\/checkout\/$/i,g],[/^\/travel\/dynpack\/$/i,g],[/^\/travel\/price-freeze\/$/i,function(t){return"pfpayment"===t[0]?p(t):null}],[/^\/travel\/accommodation\//i,function(t,e){return h.has(t[0])?p(t):function(t){var e,r=u(h);try{for(r.s();!(e=r.n()).done;){var n=e.value;if(new RegExp("/".concat(n,"/"),"i").test(t))return t.split("/").pop()}}catch(t){r.e(t)}finally{r.f()}return null}(e)}]]),_=new Map([[/^\/travel\/price-freeze\/$/i,function(t){return t[1]}]]),E=function(t){return function(e){var r,n=e.pathname,o=e.hash;return null===(r=t(n))||void 0===r?void 0:r(function(t){return t.replace(/^#/,"").split("/").filter((function(t){return!!t}))}(o),n)}},w=E(y(b)),O=E(y(_)),P=function(){var t,e=null===(t=window)||void 0===t||null===(t=t.__htmlEvents__)||void 0===t||null===(t=t.searchId)||void 0===t?void 0:t.toString();return e?{searchId:e}:{}},S=function(){var t,e=null===(t=window)||void 0===t||null===(t=t.__htmlEvents__)||void 0===t||null===(t=t.membershipId)||void 0===t?void 0:t.toString();return e?{membershipId:e}:{}},T=(e.setTransactionBookingId=function(t){window.__htmlEvents__=i(i({},window.__htmlEvents__),{},{bookingId:t})},e.setTransactionSearchId=function(t){window.__htmlEvents__=i(i({},window.__htmlEvents__),{},{searchId:t})},e.setTransactionMembershipId=function(t){window.__htmlEvents__=i(i({},window.__htmlEvents__),{},{membershipId:t})},new Map([[/^\/travel\/secure\/$/i,function(){var t,e=null===(t=window)||void 0===t||null===(t=t.__htmlEvents__)||void 0===t||null===(t=t.bookingId)||void 0===t?void 0:t.toString();return e?{bookingId:e}:{}}],[/^\/travel\/$/i,P],[/^\/travel\/accommodation\//i,P],[/^\/travel\/membership-pages\//i,S],[/^\/travel\/profile\/$/i,S]]));e.getTransactionId=function(){var t,e,r,n,o,i=new URL(window.location.href);return null!==(t=null!==(e=function(t){var e=w(t);if(e)return{bookingId:e};var r=O(t);return r?{searchId:r}:null}(i))&&void 0!==e?e:(r=i.pathname,null!==(n=null===(o=y(T)(r))||void 0===o?void 0:o())&&void 0!==n?n:{}))&&void 0!==t?t:{}}},201605:(t,e)=>
7{Object.defineProperty(e,"__esModule",{value:!0}),e.PAGE_LOADED=e.HTML_EVENTS_API_ROUTE=e.COMPONENT_DISPLAYED=e.CLICK=void 0;e.HTML_EVENTS_API_ROUTE="/html-event-tracks",e.CLICK="/html-element-clicked-tracks",e.PAGE_LOADED="/page-loaded-tracks",e.COMPONENT_DISPLAYED="/component-displayed-tracks"},838906:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.customParamsProduct=e.customParamsHitSearchScope=e.customParamsHitScope=e.customParamsHitFlowScope=e.customMetrics=void 0;var r=e.customParamsHitSearchScope=["unlocked_eligibility","searches","discount_card","ticket_type","trip_type","trip_dates","location","class_type","hotel_dates","trip_distance","arrival_city_code","departure_city_code","transaction_price","carrier_trip_number","selection_type","provider_product","low_co2","buypath","dynamic_funnel"],n=e.customParamsHitFlowScope=["provider","bundle_ID","booking_status","page_category","booking_id","bf_sb_id","smart_funnel_productstoskip","product_frozen"];e.customParamsHitScope=[].concat(r,n,["site_type","release_number","mkttrack","mktsession_id","r_marketing_split","app_traffic","wapbx_exp","connection_type","touchpoint","url","car_price_split","full_referrer","misc","checked_booking_id","subscription_type","subscription_prime_mode","subscription_group","subscription_permitted","mid_token","prime_autorenewal_status","beta","hit_type","sso_hit","screen_name","affiliation","coupon","event_action","event_category","event_label","edo_campaign_code"]),e.customMetrics=["number_of_passengers","number_of_adults","number_of_children","number_of_infants","duration","number_of_rooms_in_dp","days_in_advanced","gross_sale"],e.customParamsProduct=["departure_date","arrival_date","payment_method","product_code","transport_code"]},145655:(t,e,r)=>{r(66992),r(333948),Object.defineProperty(e,"__esModule",{value:!0}),e.updateCustomParams=e.updateCustomParam=e.getGaCustomParams=e.getGaCustomDimensions=void 0,r(141817);var n=r(400094),o=r(925236),i=r(487845),a=r(192252),c=r(627480);function u(t){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},u(t)}function s(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==u(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==u(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===u(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}e.updateCustomParam=function(t){(0,o.checkThirdPartyTrackingStorageInit)();var e=t.value;if("customParam"in t)(0,c.updateCustomParamsAndDimensions)(s({},t.customParam,e));else{var r="dimension".concat(t.customDimension);(0,c.updateCustomParamsAndDimensions)(s({},r,e))}},e.updateCustomParams=function(t){(0,o.checkThirdPartyTrackingStorageInit)(),(0,c.updateCustomParamsAndDimensions)(t)},e.getGaCustomDimensions=function(){var t=l();return(0,i.getCustomDimensionsFromParams)(t)};var l=e.getGaCustomParams=function(){(0,o.checkThirdPartyTrackingStorageInit)();var t=(0,(0,n.createConfigParametersRepository)().getTrackingStorageClient)();return null==t?void 0:t.getTrackingStoredValue(a.CUSTOM_PARAMS_STORAGE_KEY)}},675185:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.createCustomDimensionsRepository=void 0;var n=r(145655);e.createCustomDimensionsRepository=function(){return{getAllParams:n.getGaCustomParams,getAll:n.getGaCustomDimensions,update:n.updateCustomParams,set:n.updateCustomParam}}},627480:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}r(141817),r(66992),r(333948),r(974916),Object.defineProperty(e,"__esModule",{value:!0}),e.updateCustomParamsAndDimensions=e.cleanStorageFromSearchScopeDimensions=e.cleanStorageFromFlowScopeDimensions=void 0;var o=r(400094),i=r(603117),a=r(33062),c=r(487845),u=r(922158),s=r(192252),l=r(838906);function f(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function m(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
7e%2?f(Object(r),!0).forEach((function(e){p(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function p(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===n(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function d(t){return function(t){if(Array.isArray(t))return y(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return y(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var h=function(t,e,r,n){var o=(0,a.removeKeysFromObject)(e,r);t.update(n,o)},v=e.cleanStorageFromSearchScopeDimensions=function(t){var e=(0,(0,o.createConfigParametersRepository)().getTrackingStorageClient)();if(e){var r=e.getTrackingStoredValue(s.CUSTOM_PARAMS_STORAGE_KEY);if((0,a.isParameterValueChanged)("searches",t,r)){var n=[].concat(d(l.customParamsProduct),d(l.customMetrics),d(l.customParamsHitSearchScope));h(e,n,r,s.CUSTOM_PARAMS_STORAGE_KEY)}}},g=e.cleanStorageFromFlowScopeDimensions=function(t){var e=(0,(0,o.createConfigParametersRepository)().getTrackingStorageClient)();if(e){var r=e.getTrackingStoredValue(s.CUSTOM_PARAMS_STORAGE_KEY);if((0,i.isFlowOrProductChanged)(t,r)){var n=[].concat(d(l.customParamsProduct),d(l.customMetrics),d(l.customParamsHitSearchScope),d(l.customParamsHitFlowScope));h(e,n,r,s.CUSTOM_PARAMS_STORAGE_KEY)}}};e.updateCustomParamsAndDimensions=function(t){var e=(0,(0,o.createConfigParametersRepository)().getTrackingStorageClient)();e&&(function(t){var e=(0,c.getCustomParamsFromDimensions)(t),r=e.searches,n=e.screen_name;(r||n)&&(r&&v(r),n&&g(n))}(t),function(t,e){var r=(0,c.getCustomParamsFromDimensions)(e);r&&Object.keys(r).length&&t.update(s.CUSTOM_PARAMS_STORAGE_KEY,(function(){return m(m({},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),r)}))}(e,t),function(t,e){var r=(0,c.getUserPropertiesFromDimensions)(e);r&&Object.keys(r).length&&((0,u.trackUserProperties)(r),t.update(s.USER_PROPERTIES_STORAGE_KEY,(function(){return m(m({},arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),r)})))}(e,t))}},279362:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}r(141817),r(66992),r(333948),r(472443),Object.defineProperty(e,"__esModule",{value:!0}),e.trackECommerce=void 0,r(788674);var o=r(842260),i=r(994861),a=r(668473),c=r(895569),u=r(635062),s=r(485095),l=r(74233);function f(){
8/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
9f=function(){return e};var t,e={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function m(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,a=Object.create(o.prototype),c=new I(n||[]);return i(a,"_invoke",{value:j(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=m;var d="suspendedStart",y="suspendedYield",h="executing",v="completed",g={};function b(){}function _(){}function E(){}var w={};l(w,c,(function(){return this}));var O=Object.getPrototypeOf,P=O&&O(O(D([])));P&&P!==r&&o.call(P,c)&&(w=P);var S=E.prototype=b.prototype=Object.create(w);function T(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(i,a,c,u){var s=p(t[i],t,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){l.value=t,c(l)}),(function(t){return r("throw",t,c,u)}))}u(s.arg)}var a;i(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function j(e,r,n){var o=d;return function(i,a){if(o===h)throw new Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}
vendor: 5,194 bytes, line 9
9for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var s=p(e,r,n);if("normal"===s.type){if(o=n.done?v:y,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=v,n.method="throw",n.arg=s.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function R(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function D(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(o.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(n(e)+" is not iterable")}return _.prototype=E,i(S,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:_,configurable:!0}),_.displayName=l(E,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,l(t,s,"GeneratorFunction")),t.prototype=Object.create(S),t},e.awrap=function(t){return{__await:t}},T(k.prototype),l(k.prototype,u,(function(){return this})),e.AsyncIterator=k,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new k(m(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},T(S),l(S,s,"Generator"),l(S,c,(function(){return this})),l(S,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=D,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(R),!e)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),R(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;R(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function m(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}e.trackECommerce=function(){var t,e=(t=f().mark((function t(e){var r,n,m,p,d,y;return f().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(0,a.checkECommerceDataError)(e)){t.next=1;break}return t.abrupt("return");case 1:return t.next=2,(0,o.checkGaInit)();
9case 2:return(0,(0,i.createRuntimeGoogleState)().setParameters)({hasThePageBeenTracked:!1}),(0,s.trackECommerceUserProperties)(e),(0,s.trackECommerceData)(e),(0,c.handleProducts)(e),n=(null===(r=(0,l.getEcommerceData)(e))||void 0===r?void 0:r.ga4Data)||{},m=n.transaction_id,p=n.value,d=n.event_name,y=d||"purchase",t.next=3,(0,s.trackConfirmation)(y);case 3:return t.next=4,(0,u.trackTMSConfirmation)(null!=m?m:"",null!=p?p:0,y);case 4:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){m(i,n,o,a,c,"next",t)}function c(t){m(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}()},668473:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.handleGa4EventNameError=e.handleECommerceTransactionDataError=e.checkECommerceDataError=e.GA4_EVENT_NAME_MESSAGE=e.GA4_EVENT_NAME_BOUNDARY=e.ECOMMERCE_TRANSACTION_MESSAGE=e.ECOMMERCE_TRANSACTION_BOUNDARY=e.ECOMMERCE_ITEMS_MESSAGE=e.ECOMMERCE_INVALID_DATA_MESSAGE=e.ECOMMERCE_DATA_MESSAGE=e.ECOMMERCE_BOUNDARY=void 0,r(974916);var n=r(934588),o=r(74233),i=e.ECOMMERCE_TRANSACTION_BOUNDARY="trackECommerceData",a=e.ECOMMERCE_TRANSACTION_MESSAGE="transactionId is required to correctly track eCommerce in Google Analytics 4",c=(e.handleECommerceTransactionDataError=function(t){null!=t&&t.transaction_id||(0,n.trackError)(new Error("".concat(a,". Transaction data: ").concat(JSON.stringify(t))),i)},e.GA4_EVENT_NAME_BOUNDARY="trackECommerceData"),u=e.GA4_EVENT_NAME_MESSAGE="event_name does not match the GA4 naming requirements ([A-Za-z][A-Za-z0-9_]{0,39}) and might be rejected by Google Analytics 4",s=/^[A-Za-z][A-Za-z0-9_]{0,39}$/,l=(e.handleGa4EventNameError=function(t){s.test(t)||(0,n.trackError)(new Error("".concat(u,'. Received event_name: "').concat(t,'"')),c)},e.ECOMMERCE_BOUNDARY="trackECommerce"),f=e.ECOMMERCE_DATA_MESSAGE="Cannot process eCommerce tracking if eCommerceData is not defined",m=e.ECOMMERCE_INVALID_DATA_MESSAGE="The provided eCommerce data are nor GA4 nor UA eCommerce data",p=e.ECOMMERCE_ITEMS_MESSAGE="eCommerce tracking will be performed without items";e.checkECommerceDataError=function(t){return t&&0!==Object.keys(t).length?(0,o.isGa4EcommerceData)(t)||(0,o.isUaEcommerceData)(t)?((0,o.isGa4EcommerceData)(t)&&0===t.items.length||!(!(0,o.isUaEcommerceData)(t)||0!==t.products.length))&&((0,n.trackError)(new Error("".concat(p,". eCommerceData: ").concat(JSON.stringify(t))),l),!0):((0,n.trackError)(new Error("".concat(m)),l),!0):((0,n.trackError)(new Error(f),l),!0)}},394381:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.createECommerceTrackingClient=void 0;var n=r(279362);e.createECommerceTrackingClient=function(){return{trackEvent:n.trackECommerce}}},892674:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getGa4FromUaEcommerceItem=e.getGa4FromUAEcommerceTransaction=e.eCommerceTransactionUAToGa4Mapping=e.eCommerceTransactionGa4ToUAMapping=e.eCommerceItemUAToGa4Mapping=e.eCommerceItemGa4ToUAMapping=void 0;var n=r(33062),o=r(481508),i=(e.getGa4FromUAEcommerceTransaction=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,o.convertObjectByDictionaries)(t,i,c)},e.getGa4FromUaEcommerceItem=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,o.convertObjectByDictionaries)(t,a,u)},e.eCommerceTransactionUAToGa4Mapping={id:"transaction_id",affiliation:"affiliation",revenue:"value",tax:"tax",shipping:"shipping",coupon:"coupon",totalAmount:null}),a=e.eCommerceItemUAToGa4Mapping={id:"item_id",name:"item_name",category:"item_category",brand:"item_brand",variant:"item_variant",coupon:"coupon",price:"price",quantity:"quantity",dimension5:"affiliation",dimension2:"departure_date",dimension3:"arrival_date",dimension6:"transport_code"},c=e.eCommerceTransactionGa4ToUAMapping=(0,n.reverseDictionary)(i),u=e.eCommerceItemGa4ToUAMapping=(0,n.reverseDictionary)(a,{})},895569:(t,e,r)=>{r(974916),r(141817),r(66992),r(333948),Object.defineProperty(e,"__esModule",{value:!0}),e.handleProducts=void 0;var n=r(400094),o=r(675185),i=r(616992),a=r(837865),c=r(74233);function u(t,e){var r="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!r){if(Array.isArray(t)||(r=function(t,e){if(!t)return;if("string"==typeof t)return s(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(t,e)}(t))||e&&t&&"number"==typeof t.length){r&&(t=r);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(t)},n:function(){var t=r.next();return a=t.done,t},e:function(t){c=!0,i=t},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}e.handleProducts=function(t){var e=l(),r=(0,c.isGa4EcommerceData)(t)?t.items:t.products;if(r){var n,o=u(r);try{for(o.s();!(n=o.n()).done;){var i=n.value;e.handleProduct(i)}}catch(t){o.e(t)}finally{o.f()}}};var l=function(){var t=(0,o.createCustomDimensionsRepository)(),e={SUBSCRIPTION:{handleProduct:function(){var e=(0,(0,n.createConfigParametersRepository)().getTrackingStorageClient)();null==e||e.setCookie("ua_dimension31","subscriber",30,(0,a.parseCookieDomain)()),(0,i.updateAndSyncDatalayer)({user_prime_subscription:"subscriber",subscription:"subscriber"}),t.update({unlocked_subscription:"subscriber",subscription:"subscriber"})}}};return{handleProduct:function(t){var r=null;"name"in t&&(r=e[t.name]),"item_name"in t&&(r=e[t.item_name]),r&&r.handleProduct()}}}},635062:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}r(141817),r(66992),r(333948),r(472443),Object.defineProperty(e,"__esMo
vendor: 4,180 bytes, lines 9-11
9dule",{value:!0}),e.trackTMSConfirmation=void 0,r(788674);var o=r(616992),i=r(338438),a=r(74233);function c(){
10/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
11c=function(){return e};var t,e={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},u=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function f(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(t){f=function(t,e,r){return t[e]=r}}function m(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,a=Object.create(o.prototype),c=new I(n||[]);return i(a,"_invoke",{value:j(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=m;var d="suspendedStart",y="suspendedYield",h="executing",v="completed",g={};function b(){}function _(){}function E(){}var w={};f(w,u,(function(){return this}));var O=Object.getPrototypeOf,P=O&&O(O(D([])));P&&P!==r&&o.call(P,u)&&(w=P);var S=E.prototype=b.prototype=Object.create(w);function T(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(i,a,c,u){var s=p(t[i],t,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){l.value=t,c(l)}),(function(t){return r("throw",t,c,u)}))}u(s.arg)}var a;i(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function j(e,r,n){var o=d;return function(i,a){if(o===h)throw new Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var s=p(e,r,n);if("normal"===s.type){if(o=n.done?v:y,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=v,n.method="throw",n.arg=s.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function R(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function D(e){if(e||""===e){var r=e[u];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(o.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(n(e)+" is not iterable")}return _.prototype=E,i(S,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:_,configurable:!0}),_.displayName=f(E,l,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,f(t,l,"GeneratorFunction")),t.prototype=Object.create(S),t},e.awrap=function(t){return{__await:t}},T(k.prototype),f(k.prototype,s,(function(){return this})),e.AsyncIterator=k,e.async=function(t,r,n,o,i){void 0===i&&(i=Prom
11ise);var a=new k(m(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},T(S),f(S,l,"Generator"),f(S,u,(function(){return this})),f(S,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=D,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(R),!e)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),R(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;R(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function u(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}e.trackTMSConfirmation=function(){var t,e=(t=c().mark((function t(e,r,n){var u;return c().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return u=(0,i.getParamFromDatalayer)("product"),t.next=1,(0,o.trackTMSPage)({env_template:s(u,n),page_name:(0,a.getVirtualPageName)(n)||"confirmation",g_conv_id:(0,i.getConvId)(),product:u,transaction_id:(0,i.getParamFromDatalayer)("transaction_id")||e,transaction_r_marketing:(0,i.getParamFromDatalayer)("transaction_r_marketing")||String(null!=r?r:"")},{skipFetch:!0});case 1:l({product:u});case 2:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){u(i,n,o,a,c,"next",t)}function c(t){u(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t,r,n){return e.apply(this,arguments)}}();var s=function(t,e){if("purchase"!==e)return"confirmation-".concat(e);var r={DYNPACK:"confirmation",PRIZE_FREEZE_FLIGHT:"confirmation",FLIGHT:"confirmation",TRAIN:"confirmation",XFARING:"confirmation",HOTEL:"hotel-bf-confirmation",SUBSCRIPTION:"prime-confirmation",UPP:"confirmation","SEAT-PB":"seat-PB","BAG-PB":"bag-PB","INSURANCE-PB":"check-in-PB"};return r[{FI:"FLIGHT",TR:"TRAIN",HO:"HOTEL",SP:"SUBSCRIPTION","ST-PB":"SEAT-PB","BG-PB":"BAG-PB","IN-PB":"INSURANCE-PB"}[(0,i.getParamFromDatalayer)("product_code")]]||r[t]||"confirmation"},l=function(t){var e=(t||{}).product;["FLIGHT","TRAIN","XFARING"].includes(e)&&(0,o.updateAndSyncDatalayer)({post_booking_origin:e})}},485095:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}r(141817),r(66992),r(333948),r(472443),Object.defineProperty(e,"__esMo
vendor: 4,289 bytes, lines 11-13
11dule",{value:!0}),e.trackECommerceUserProperties=e.trackECommerceData=e.trackConfirmation=void 0,r(788674);var o=r(522171),i=r(886179),a=r(487845),c=r(922158),u=r(593118),s=r(551530),l=r(668473),f=r(74233);function m(){
12/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
13m=function(){return e};var t,e={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function f(t,e,r,n){var o=e&&e.prototype instanceof b?e:b,a=Object.create(o.prototype),c=new I(n||[]);return i(a,"_invoke",{value:j(t,r,c)}),a}function p(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=f;var d="suspendedStart",y="suspendedYield",h="executing",v="completed",g={};function b(){}function _(){}function E(){}var w={};l(w,c,(function(){return this}));var O=Object.getPrototypeOf,P=O&&O(O(D([])));P&&P!==r&&o.call(P,c)&&(w=P);var S=E.prototype=b.prototype=Object.create(w);function T(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function k(t,e){function r(i,a,c,u){var s=p(t[i],t,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==n(f)&&o.call(f,"__await")?e.resolve(f.__await).then((function(t){r("next",t,c,u)}),(function(t){r("throw",t,c,u)})):e.resolve(f).then((function(t){l.value=t,c(l)}),(function(t){return r("throw",t,c,u)}))}u(s.arg)}var a;i(this,"_invoke",{value:function(t,n){function o(){return new e((function(e,o){r(t,n,e,o)}))}return a=a?a.then(o,o):o()}})}function j(e,r,n){var o=d;return function(i,a){if(o===h)throw new Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:t,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var u=A(c,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var s=p(e,r,n);if("normal"===s.type){if(o=n.done?v:y,s.arg===g)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(o=v,n.method="throw",n.arg=s.arg)}}}function A(e,r){var n=r.method,o=e.iterator[n];if(o===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,A(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,e.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,g;var a=i.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function C(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function R(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function I(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(C,this),this.reset(!0)}function D(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,a=function r(){for(;++i<e.length;)if(o.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}throw new TypeError(n(e)+" is not iterable")}return _.prototype=E,i(S,"constructor",{value:E,configurable:!0}),i(E,"constructor",{value:_,configurable:!0}),_.displayName=l(E,s,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,l(t,s,"GeneratorFunction")),t.prototype=Object.create(S),t},e.awrap=function(t){return{__await:t}},T(k.prototype),l(k.prototype,u,(function(){return this})),e.AsyncIterator=k,e.async=function(t,r,n,o,i){void 0===i&&(i=Prom
13ise);var a=new k(f(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},T(S),l(S,s,"Generator"),l(S,c,(function(){return this})),l(S,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=D,I.prototype={constructor:I,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(R),!e)for(var r in this)"t"===r.charAt(0)&&o.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function n(n,o){return c.type="throw",c.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var u=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),R(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;R(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:D(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function p(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}var d=function(t,e){!function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"purchase";(0,u.gtagWrapper)("event",e,t)}(t,e)};e.trackECommerceData=function(t){var e=(0,f.getEcommerceData)(t).ga4Data;(0,l.handleECommerceTransactionDataError)(e);var r=(null==e?void 0:e.event_name)||"purchase";(0,l.handleGa4EventNameError)(r),d(e,r),function(t,e){var r=(0,o.createFirebaseAdapter)();(0,i.createFirebaseClient)(r).trackECommerce(t,e)}(e,r)},e.trackConfirmation=function(){var t,e=(t=m().mark((function t(e){var r;return m().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=1,(0,s.trackPage)(null!==(r=(0,f.getVirtualPageName)(e))&&void 0!==r?r:"confirmation",{funnel:!0});case 1:case"end":return t.stop()}}),t)})),function(){var e=this,r=arguments;return new Promise((function(n,o){var i=t.apply(e,r);function a(t){p(i,n,o,a,c,"next",t)}function c(t){p(i,n,o,a,c,"throw",t)}a(void 0)}))});return function(t){return e.apply(this,arguments)}}(),e.trackECommerceUserProperties=function(t){var e=(0,f.isGa4EcommerceData)(t)?t.items:t.products;null==e||e.forEach((function(t){var e=(0,a.getUserPropertiesFromDimensions)(t);(0,c.trackUserProperties)(e)}))}},74233:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}
13r(141817),r(66992),r(333948),Object.defineProperty(e,"__esModule",{value:!0}),e.getCustomParamsWithoutUserProperties=void 0,e.getEcommerceData=function(t){var e=y({},t);w(t)?e=y(y({},e),E()):O(t)&&(e=function(t){var e=(0,(0,(0,o.createConfigParametersRepository)().getTrackingStorageClient)().getTrackingStoredValue)(f.CUSTOM_PARAMS_STORAGE_KEY),r=E(),n=t.transaction,i=t.products,a=(0,m.getGa4FromUAEcommerceTransaction)(n);a.currency="EUR",null!==a.transaction_id&&void 0!==a.transaction_id&&(a.transaction_id=a.transaction_id.toString());a.page_location=(0,l.getPageLocation)(null==e?void 0:e.screen_name),a.affiliation&&(a.product_code=a.affiliation);a.items=(null==i?void 0:i.map((function(t){var e=y(y({},(0,m.getGa4FromUaEcommerceItem)(t)),P((0,u.getCustomParamsFromDimensions)(t)));if(e.payment_method){var r=e,n=r.payment_method,o=function(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r,n,o={},i=Object.keys(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||(o[r]=t[r]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(n=0;n<i.length;n++)r=i[n],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}(r,p);a.payment_method=n,e=o}return e.arrival_date&&(a.arrival_date=e.arrival_date),e.departure_date&&(a.departure_date=e.departure_date),y({},e)})))||[];var c=(0,u.getCustomParamsFromDimensions)(n);return y(y(y({},a),r),c)}(t));return{ga4Data:e}},e.getVirtualPageName=e.getTransactionEcommerceParams=e.getFlowAndProductFromCurrentPageName=void 0,e.isGa4EcommerceData=w,e.isUaEcommerceData=O,e.normalizePageName=void 0,r(974916),r(115306),r(185827);var o=r(400094),i=r(603117),a=r(33062),c=r(675185),u=r(487845),s=r(967090),l=r(593118),f=r(192252),m=r(892674),p=["payment_method"];function d(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function y(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?d(Object(r),!0).forEach((function(e){h(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function h(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===n(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function v(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return g(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return g(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}e.getVirtualPageName=function(t){var e=_();if(e){var r="purchase"===t?"confirmation":"confirmation-".concat(t);return"".concat(e,"/").concat(r,"/")}};var b=e.normalizePageName=function(t){return"/".concat((t||"").replace(/^\/|\/$/g,""),"/")},_=e.getFlowAndProductFromCurrentPageName=function(){var t=(0,(0,c.createCustomDimensionsRepository)().getAllParams)(),e=null==t?void 0:t.screen_name;if(e){var r=v((0,i.extractParametersFromPageName)(b(e)),3),n=r[0],o=r[1],a=r[2];if(o&&a)return n}},E=e.getTransactionEcommerceParams=function(){var t,e=(0,(0,o.createConfigParametersRepository)().getTrackingStorageClient)(),r=(null==e||null===(t=e.getFromStorage("sessionStorage",f.STORAGE_KEY))||void 0===t?void 0:t[f.CUSTOM_PARAMS_STORAGE_KEY])||{},n=r.app_traffic,i=r.number_of_passengers,c=r.number_of_adults,u=r.number_of_children,s=r.number_of_infants,l=r.duration,m=r.number_of_rooms_in_dp,p=r.days_in_advanced,d=r.gross_sale,y=r.site_type,h=r.lang_cod,v=r.market,g=r.arrival_date,b=r.departure_date,_=r.payment_method,E=r.product_code,w=r.sso,O
13=r.visit_id,P=r.mkttrack,S=r.mktsession_id,T=r.tt1,k=r.tt2,j=r.tt3,A=r.tt4,C=r.tt5,R=r.tt6,I=r.tt7,D=r.tt8,L=r.tt9,x=r.tt10,M=r.tt11,N=r.tt12,G=r.tt13,F=r.screen_name,U=r.edo_campaign_code,Y=r.smart_funnel_productstoskip;return(0,a.getNonEmptyValuesFromObject)({app_traffic:n,number_of_passengers:i,number_of_adults:c,number_of_children:u,number_of_infants:s,duration:l,number_of_rooms_in_dp:m,days_in_advanced:p,gross_sale:d,site_type:y,lang_cod:h,market:v,arrival_date:g,departure_date:b,payment_method:_,product_code:E,sso:w,visit_id:O,mkttrack:P,mktsession_id:S,tt1:T,tt2:k,tt3:j,tt4:A,tt5:C,tt6:R,tt7:I,tt8:D,tt9:L,tt10:x,tt11:M,tt12:N,tt13:G,screen_name:F,edo_campaign_code:U,smart_funnel_productstoskip:Y})};function w(t){return"items"in t&&"transaction_id"in t}function O(t){return"products"in t&&"transaction"in t}var P=e.getCustomParamsWithoutUserProperties=function(t){return Object.keys(t).reduce((function(e,r){return void 0!==s.userPropertyToCustomDimensionDictionary[r]?e:y(y({},e),{},h({},r,t[r]))}),{})}},522171:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.createFirebaseAdapter=void 0;var n=r(967090),o={trackEvent:function(t,e){window.AnalyticsWebInterface.logEvent(t,JSON.stringify(e))},setUserProperty:function(t,e){window.AnalyticsWebInterface.setUserProperty(t,e)}},i={trackEvent:function(t,e){var r={command:"logEvent",name:t,parameters:e};window.webkit.messageHandlers.firebase.postMessage(r)},setUserProperty:function(t,e){var r={command:"setUserProperty",name:t,value:e};window.webkit.messageHandlers.firebase.postMessage(r)}},a={trackEvent:function(){},setUserProperty:function(){}},c=function(){return window.AnalyticsWebInterface?o:window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.firebase?i:a};e.createFirebaseAdapter=function(){return{trackEvent:function(t,e){c().trackEvent(t,e)},setUserProperty:function(t,e){var r=n.customDimensionToUserPropertyDictionary[t];r&&c().setUserProperty(r,e)}}}},886179:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}r(141817),r(66992),r(333948),r(974916),Object.defineProperty(e,"__esModule",{value:!0}),e.createFirebaseClient=void 0;var o=r(400094);function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function a(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){c(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function c(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===n(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function u(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return s(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return s(t,e)}
13(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}e.createFirebaseClient=function(t){return{setUserProperties:function(e){(0,(0,o.createConfigParametersRepository)().getGenericParameters)().isNativeInterface&&Object.entries(e).forEach((function(e){var r=u(e,2),n=r[0],o=r[1];t.setUserProperty(n,o)}))},trackEvent:function(e){(0,(0,o.createConfigParametersRepository)().getGenericParameters)().isNativeInterface&&t.trackEvent("edo_event",a(a({},e),{},{edo_timestamp:Date.now()}))},trackScreenView:function(e){(0,(0,o.createConfigParametersRepository)().getGenericParameters)().isNativeInterface&&t.trackEvent("edo_screen_view",a(a({},e),{},{edo_timestamp:Date.now()}))},trackECommerce:function(e,r){if((0,(0,o.createConfigParametersRepository)().getGenericParameters)().isNativeInterface){var n=a(a({},e),{},{currency:"EUR",edo_timestamp:Date.now()});t.trackEvent(r,n)}}}}},639151:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.FULLSTORY_MASK_CLASS=e.FULLSTORY_EXCLUDE_CLASS=void 0;e.FULLSTORY_EXCLUDE_CLASS="fs-exclude",e.FULLSTORY_MASK_CLASS="fs-mask"},556369:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"FULLSTORY_EXCLUDE_CLASS",{enumerable:!0,get:function(){return n.FULLSTORY_EXCLUDE_CLASS}}),Object.defineProperty(e,"FULLSTORY_MASK_CLASS",{enumerable:!0,get:function(){return n.FULLSTORY_MASK_CLASS}}),e.setFeatureVariationsToFullstory=void 0;var n=r(639151);e.setFeatureVariationsToFullstory=function(t){try{var e=window.FStory;if(e&&(null==t?void 0:t.length)>0)e("trackEvent",{name:"AB Features Variations",properties:{value:t.map((function(t){return"".concat(t.name,":").concat(t.index)})).join(";")+";"}})}catch(t){}}},487845:(t,e,r)=>{r(66992),r(333948),Object.defineProperty(e,"__esModule",{value:!0}),e.getUserPropertiesFromDimensions=e.getCustomParamsFromDimensions=e.getCustomDimensionsFromParams=void 0,r(141817);var n=r(481508),o=r(967090);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function c(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(Object(r),!0).forEach((function(e){u(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function u(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===i(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}e.getCustomDimensionsFromParams=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,n.convertObjectByDictionaries)(t,c(c({},o.userPropertyToCustomDimensionDictionary),o.mapCustomParamToCustomDimension),c(c({},o.customDimensionToUserPropertyDictionary),o.customDimensionToCustomParamDictionary))},e.getCustomParamsFromDimensions=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,n.convertObjectByDictionaries)(t,o.customDimensionToCustomParamDictionary,o.mapCustomParamToCustomDimension)},e.getUserPropertiesFromDimensions=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,n.convertObjectByDictionaries)(t,o.customDimensionToUserPropertyDictionary,o.userPropertyToCustomDimensionDictionary)}},967090:(t,e,r)=>
13{r(333948),Object.defineProperty(e,"__esModule",{value:!0}),e.userPropertyToCustomDimensionDictionary=e.mapCustomParamToCustomDimension=e.customDimensionToUserPropertyDictionary=e.customDimensionToCustomParamDictionary=void 0,r(66992),r(838559),r(141817);var n=r(33062);function o(t){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(t)}function i(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function a(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?i(Object(r),!0).forEach((function(e){c(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function c(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==o(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!==o(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===o(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var u=e.customDimensionToUserPropertyDictionary={dimension1:"market",dimension8:"lang_cod",dimension12:"prime_member",dimension15:"sso",dimension31:"unlocked_subscription",dimension36:"client_id",dimension59:"edo_user_id",dimension66:"cmp_ad_agreement",dimension71:"push_notifications",dimension75:"prime_bookings_per_user",dimension76:"registered_userid"},s=(e.userPropertyToCustomDimensionDictionary=(0,n.reverseDictionary)(u,a({},Object.fromEntries(["market","subscription","subscription_status","mid_token"].map((function(t){return[t,null]}))))),e.customDimensionToCustomParamDictionary={metric1:"number_of_passengers",metric2:"number_of_adults",metric3:"number_of_children",metric4:"number_of_infants",metric5:"duration",metric6:"number_of_rooms_in_dp",metric7:"days_in_advanced",metric8:"gross_sale",dimension1:"market",dimension2:"departure_date",dimension3:"arrival_date",dimension4:"payment_method",dimension5:"product_code",dimension6:"transport_code",dimension7:null,dimension8:"lang_cod",dimension9:"site_type",dimension11:"visit_id",dimension13:"release_number",dimension14:"beta",dimension15:"sso",dimension16:null,dimension17:null,dimension18:null,dimension19:null,dimension20:null,dimension21:null,dimension22:null,dimension23:null,dimension24:null,dimension25:null,dimension26:null,dimension27:null,dimension28:null,dimension29:null,dimension30:null,dimension32:"unlocked_eligibility",dimension33:"mkttrack",dimension35:"page_category",dimension38:"searches",dimension39:"r_marketing_split",dimension40:null,dimension41:"wapbx_exp",dimension42:"ticket_type",dimension43:"trip_type",dimension44:"trip_dates",dimension45:"location",dimension46:"class_type",dimension47:"hotel_dates",dimension48:"trip_distance",dimension49:"connection_type",dimension50:"touchpoint",dimension51:"arrival_city_code",dimension52:"departure_city_code",dimension53:"screen_name",dimension54:"transaction_price",dimension56:"provider",dimension57:"bundle_ID",dimension58:"url",dimension60:"car_price_split",dimension61:"carrier_trip_number",dimension62:"full_referrer",dimension63:"misc",dimension64:"booking_status",dimension65:"personalized_sorting",dimension67:"pricing_message",dimension68:"selection_type",dimension69:"checked_booking_id",dimension70:"provider_product",dimension72:"low_co2",dimension73:"buypath",dimension74:"subscription_type",dimension77:"dynamic_funnel",dimension78:"sso_hit",dimension80:"mkt_utm_source",dimension81:"mkt_utm_medium",dimension82:"mkt_utm_campaign",dimension83:"mkt_utm_content",dimension84:"mkt_utm_term",dimension85:"mkt_gclid",dimension86:"mkt_channel",dimension87:"subscription_prime_mode",dimension88:"prime_autorenewal_status",dimension89:"booking_id",dimension91:"feature_context_id"});e.mapCustomParamToCustomDimension=(0,n.reverseDictionary)(s,a({},Object.fromEntries(["affiliation","coupon","discount_card","event_action","event_category","event_label","market","mktsession_id","app_traffic","edo_campaign_code","smart_funnel_productstoskip","tt1","tt2","tt3","tt4","tt5","tt6","tt7","tt8","tt9","tt10","tt11","tt12","tt13","tt14","tt15","subscription_group","subscription_permitted","mid_token","product_frozen","bf_sb_id"].map((function(t){return[t,null]})))))},922158:(t,e,r)=>
13{Object.defineProperty(e,"__esModule",{value:!0}),e.trackUserProperties=void 0;var n=r(33062),o=r(593118);e.trackUserProperties=function(t){var e=(0,n.getNonEmptyValuesFromObject)(t);Object.keys(e).length&&(0,o.gtagWrapper)("set","user_properties",e)}},593118:(t,e,r)=>{function n(t){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}r(141817),Object.defineProperty(e,"__esModule",{value:!0}),e.getGa4GroupId=p,e.gtagWrapper=e.getPageLocation=void 0,r(66992),r(333948),r(560285),r(241637),r(974916),r(115306);var o=r(400094),i=r(844520),a=r(795775),c=r(837865);function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function s(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?u(Object(r),!0).forEach((function(e){l(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function l(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==n(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var o=r.call(t,e||"default");if("object"!==n(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"===n(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function f(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,i,a,c=[],u=!0,s=!1;try{if(i=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=i.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,o=t}finally{try{if(!u&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(s)throw o}}return c}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return m(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return m(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}e.gtagWrapper=function(t){var e,r,n=(0,(0,o.createConfigParametersRepository)().getGenericParameters)().isNativeInterface;if(!(0,c.shouldSkipTracking)()&&!n){for(var i=arguments.length,u=new Array(i>1?i-1:0),l=1;l<i;l++)u[l-1]=arguments[l];if("event"!==t)null===(e=(r=window).gtag)||void 0===e||e.call.apply(e,[r,t].concat(u));else{var m,d,y=f(u,2),h=y[0],v=y[1],g=s({send_to:p(),edo_timestamp:Date.now()},v),b=(0,a.pushStoredEvent)([t,h,g]);null===(m=(d=window).gtag)||void 0===m||m.call(d,"event",h,s(s({},g),b&&{event_callback:function(){var t;null===(t=g.event_callback)||void 0===t||t.call(g),(0,a.removeStoredEvent)(b)}}))}}};function p(){var t=(0,(0,o.createConfigParametersRepository)().getGoogleAnalyticsParameters)().ga4GroupId;return(0,i.handleGaGroupIdError)(t),t}e.getPageLocation=function(t){if(t){var e=new URL(window.location.href),r={},n={},o={};e.searchParams.forEach((function(t,e){e.startsWith("utm_")?r[e]=t:"gclid"===e||"mktportal"===e?n[e]=t:o[e]=t}));var i="".concat(t.replace("//","/")),a=new URL(i,e.origin);return Object.entries(r).forEach((function(t){var e=f(t,2),r=e[0],n=e[1];a.searchParams.append(r,n)})),Object.entries(n).forEach((function(t){var e=f(t,2),r=e[0],n=e[1];a.searchParams.append(r,n)})),Object.entries(o).forEach((function(t){var e=f(t,2),r=e[0],n=e[1];a.searchParams.append(r,n)}
13)),e.hash?"".concat(a.toString()).concat(e.hash):a.toString()}}},332458:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.thirdPartyTracking=void 0;var n=r(675185),o=r(394381),i=r(522171),a=r(556369),c=r(616992),u=r(316469),s=r(291042),l=r(338438),f=r(186220),m=r(551530),p=r(665248),d=r(434364),y=r(390032),h=r(492667),v=r(837865);e.thirdPartyTracking={createCustomDimensionsRepository:n.createCustomDimensionsRepository,createECommerceTrackingClient:o.createECommerceTrackingClient,createDatalayerTrackingClient:s.createDatalayerTrackingClient,createFirebaseAdapter:i.createFirebaseAdapter,createDatalayerUpdater:c.createDatalayerUpdater,getDatalayer:(0,u.datalayerStorageClient)().getDatalayerGlobalParams,fireDataLayerEvent:c.fireDataLayerEvent,isTMSVariableGlobal:c.isTMSVariableGlobal,getUtmParams:y.getUtmParameters,identifyAnalyticsClient:h.identifyAnalyticsClient,createThirdPartyTrackingAgent:f.createThirdPartyTrackingAgent,createTrackingParamsRepository:p.createTrackingParamsRepository,getUtmParameters:y.getUtmParameters,getMktportalParams:d.getMktportalParams,trackGAPage:m.trackPage,trackTMSPage:c.trackTMSPage,syncTcVars:c.syncTcVars,loadContainer:c.loadContainer,flatten:l.flatten,shouldSkipTracking:v.shouldSkipTracking,setFeatureVariations:a.setFeatureVariationsToFullstory}}}]);
14//# sourceMappingURL=204752.d04571f5396cb3f8cc37.js.map

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.