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B,kBACnC6B,oBAAqBR,EAAYnB,gBACjC4B,iBAAkBT,EAAYf,oBAC9BgE,UAAWD,EAAUpa,KAAKsa,WAC1BC,iBAAkBH,EAAUpa,KAAKwa,MACjCC,WAAYL,EAAUnB,MAAME,cAC5BuB,cAAeN,EAAUpa,KAAK2a,cAAc,IAAI5Q,OAAS,GACzD6Q,iBAAkBR,EAAUpa,KAAK6a,iBAAiB,IAAI9Q,OAAS,GAC/D+Q,YAAaV,EAAUpa,KAAK+a,iBAAmB,GAC/CC,qBAAsBZ,EAAUpa,KAAKib,YACrCC,YAAad,EAAUpa,KAAKmb,sBAC5BxD,wBAAyBP,EAAYvB,cAG3C,CDiLMuF,CAA2B5a,KADTkU,EAAayF,GAEjC,EACAkB,8BAAAA,ICxNF7O,EAAAA,EAAAA,IAAc,CACZxM,KAAM,CACJmN,WAAY,YACZkK,UAAW,iBACXG,UAAW,mCACXC,UAAW,GACXH,cAAe,cACfC,gBAAiB,WDmNnB,G","sources":["webpack://cms-web/./app/frontend/src/core/iberapi/lazy_img/lazy_img.js","webpack://cms-web/./app/frontend/src/core/iberapi/partner_shower/partner_shower.js","webpack://cms-web/./app/frontend/src/utils/scrollTo.js","webpack://cms-web/./app/frontend/src/utils/scroll_lock.js","webpack://cms-web/./app/frontend/src/vue/src/components/RebMainNav/RebMainNav.vue","webpack://cms-web/./app/frontend/src/shared/user_login/user_login.js","webpack://cms-web/./app/frontend/src/vue/src/components/CurrencySelector/CurrencySelector.vue","webpack://cms-web/./app/frontend/src/vue/src/components/CurrencySelector/CurrencySelector.vue?ef31","webpack://cms-web/./app/frontend/src/vue/src/components/LanguageSelector/LanguageSelector.vue","webpack://cms-web/./app/frontend/src/vue/src/components/LanguageSelector/LanguageSelector.vue?a907","webpack://cms-web/./app/frontend/src/vue/src/components/RebMainNavBookings/RebMainNavBookings.vue","webpack://cms-web/./app/frontend/src/vue/src/components/RebMainNavBookings/RebMainNavBookings.vue?ee3c","webpack://cms-web/./app/frontend/src/vue/src/components/RebMainNavHorizons/RebMainNavHorizons.vue","webpack://cms-web/./app/frontend/src/vue/src/components/RebMainNavHorizons/RebMainNavHorizons.vue?1957","webpack://cms-web/./app/frontend/src/vue/src/components/RebMainNavHotelsDestinations/RebMainNavHotelsDestinations.vue","webpack://cms-web/./app/frontend/src/vue/src/components/RebMainNavHotelsDestinations/RebMainNavHotelsDestinations.vue?42d7","webpack://cms-web/./app/frontend/src/vue/src/components/RebMainNavIberostarPro/RebMainNavIberostarPro.vue","webpack://cms-web/./app/frontend/src/vue/src/components/RebMainNavIberostarPro/RebMainNavIberostarPro.vue?4785","webpack://cms-web/./app/frontend/src/vue/src/components/RebMainNavItem/RebMainNavItem.vue","webpack://cms-web/./app/frontend/src/vue/src/components/RebMainNavItem/RebMainNavItem.vue?63fa","webpack://cms-web/./app/frontend/src/vue/src/components/RebMainNavLastSearchs/RebMainNavLastSearchs.vue","webpack://cms-web/./app/frontend/src/vue/src/components/RebMainNavLastSearchs/RebMainNavLastSearchs.vue?0507","webpack://cms-web/./app/frontend/src/vue/src/components/RebMainNavOffers/RebMainNavOffers.vue","webpack://cms-web/./app/frontend/src/vue/src/components/RebMainNavOffers/RebMainNavOffers.vue?8d58","webpack://cms-web/./app/frontend/src/vue/src/components/RebMainNav/RebMainNav.vue?1e11","webpack://cms-web/./app/frontend/src/vue/main_nav/reb/vue_main_nav.js","webpack://cms-web/./app/frontend/src/vue/mobile_menu/mobile_menu_init.js","webpack://cms-web/./app/frontend/src/utils/hotels_data_bridge.js","webpack://cms-web/./app/frontend/src/vue/src/mixins/DesktopMenu/DesktopMenu.js","webpack://cms-web/./app/frontend/src/vue/src/mixins/DesktopMenu/DesktopMenu.analytics.js"],"sourcesContent":["/*\n *\n * Lazy load for all \n *\n * The image is loaded when the user scrolls to the image position\n * It uses jquery.inview.js\n * An animation is added to the picture until the image is loaded\n *\n */\n\nconst SELECTOR_PICTURE = 'picture.inview:not(.loaded)'\nconst SELECTOR_BACKGROUND_PICTURE = '.inview[data-background-src]:not(.loaded)'\nconst SELECTOR_PIC_INVIEW = 'picture.inview:not(.loaded), .inview[data-background-src]:not(.loaded)'\nconst $images = $(`${SELECTOR_PIC_INVIEW}, ${SELECTOR_BACKGROUND_PICTURE}`)\nlet lazyObserver\nlet skeletonObserver\n\n/**\n * Adds srcset attribute to image so loading it\n * @param {*} picture\n * @param {*} visible\n */\nfunction loadImages(picture, visible) {\n const $picture = $(picture)\n visible = visible || $picture.is(':visible')\n if (visible) {\n putSrcPicture(picture, false)\n }\n}\n\nfunction loadBackgroundImages(block) {\n const $block = $(block)\n\n if ($block.is(':visible')) {\n const datasrc = $block.data('background-src')\n if (datasrc !== '' && datasrc !== undefined) {\n $block.css('background-image', `url('${datasrc}')`)\n }\n $block.addClass('loaded')\n }\n}\n\nfunction loadAllImagesSelector($selector) {\n const $pictures = $selector !== undefined ? $selector.find('picture.inview:not(.loaded)') : $(SELECTOR_PIC_INVIEW)\n $pictures.each(function () {\n loadImages(this, true)\n })\n}\n\nfunction loadAllBackgroundImagesSelector($selector) {\n $selector.each(function () {\n loadBackgroundImages(this)\n })\n}\n\nfunction putSrcPicture(picture, isObserverd) {\n const $picture = $(picture)\n $picture.find('source').each(function () {\n const $source = $(this)\n $source.attr('srcset', $source.data('srcset'))\n })\n // Fix load image IE11\n const ua = window.navigator.userAgent\n const is_iexplorer = ua.indexOf('MSIE ')\n\n if (is_iexplorer > 0 || !!navigator.userAgent.match(/Trident.*rv\\:11\\./)) {\n if ($picture.find('img') !== undefined && $picture.find('img') !== '' && $picture.find('img') !== null) {\n picturefill({\n reevaluate: true,\n elements: [$picture.find('img')[0]],\n })\n }\n }\n\n $picture.find('img').one('load', function () {\n $picture.removeClass('skeleton').addClass('loaded')\n //If is loading home-video-with-fastbooking picture (for ADA, loading alt of overflow image)\n if ($picture.parents('.home-video-with-fastbooking').length) {\n $picture.siblings('.items .without-img').removeClass('hidden')\n }\n if (isObserverd) {\n lazyObserver.unobserve(picture)\n }\n })\n}\n\n/**\n * Function check if images are intersecting and load its\n * @param {*} entries list images observed\n */\nfunction imgLazyLoad(entries) {\n if (entries.length > 0) {\n $.each(entries, function (i, entry) {\n if (entry.isIntersecting) {\n const $picture = $(entry.target)\n if (!$picture.hasClass('loaded')) {\n const datasrc = $picture.data('background-src')\n if (datasrc !== '' && datasrc !== undefined) {\n $picture.removeClass('skeleton').addClass('loaded').css('background-image', `url('${datasrc}')`)\n lazyObserver.unobserve(entry.target)\n } else {\n putSrcPicture(entry.target, true)\n }\n }\n }\n })\n } else {\n lazyObserver.disconnect()\n }\n}\n\nfunction activeSkeleton(entries) {\n $.each(entries, function (i, entry) {\n if (entry.isIntersecting) {\n const $picture = $(entry.target)\n $picture.addClass('skeleton')\n skeletonObserver.unobserve(entry.target)\n }\n })\n}\n\nfunction loadImgsWithObserver($img) {\n /** -------- INTERSECTION OBSERVER LAZY LOADING -------- */\n const options = {\n root: null,\n rootMargin: '0px 0px 40px 0px',\n threshold: 0,\n }\n\n lazyObserver = new IntersectionObserver(imgLazyLoad, options)\n\n /** -------- INTERSECTION OBSERVER ACTIVE SKELETON -------- */\n\n const options_skeleton = {\n root: null,\n rootMargin: '0px 0px 256px 0px',\n threshold: 0,\n }\n\n skeletonObserver = new IntersectionObserver(activeSkeleton, options_skeleton)\n\n $img.each(function (i, image) {\n lazyObserver.observe(image)\n skeletonObserver.observe(image)\n })\n\n /** ---------- MUTATION OBSERVER ---------- */\n const body_node = $('body')[0]\n const main_node = $('[role=\"main\"]').length ? $('[role=\"main\"]')[0] : undefined\n const page_wrapper_node = $('.page-wrapper').length ? $('.page-wrapper')[0] : undefined\n let mutation_observer\n\n mutation_observer = new MutationObserver(function (mutation) {\n const newNodes = mutation[0].addedNodes\n if (newNodes !== null) {\n const $nodes = $(newNodes)\n $nodes.each(function () {\n const $node = $(this)\n $node.find(SELECTOR_PIC_INVIEW).each(function (i, image) {\n lazyObserver.observe(image)\n })\n })\n }\n })\n\n const mutation_options = {\n attributes: false,\n childList: true,\n characterData: false,\n subtree: false,\n }\n\n mutation_observer.observe(body_node, mutation_options)\n if (main_node !== undefined) {\n mutation_observer.observe(main_node, mutation_options)\n }\n if (page_wrapper_node !== undefined) {\n mutation_observer.observe(page_wrapper_node, mutation_options)\n }\n}\n\nexport function addImgToObserver($block) {\n if ('IntersectionObserver' in window) {\n $block.find(SELECTOR_PIC_INVIEW).each(function (i, image) {\n lazyObserver.observe(image)\n })\n }\n}\n\n$(window).trigger('checkInView')\n\n$().fancybox({\n selector: '[data-fancybox-lazy-img]',\n afterLoad(instance, current) {\n const $pictures = current.$content.find(SELECTOR_PICTURE).filter(':not(.loaded)')\n $pictures.each(function () {\n loadImages(this, true)\n })\n },\n})\n\n$('[data-ajax-lazy-img]').on('ajax:success', function () {\n const $pictures = $('.fancybox-container.fancybox-is-open').find(SELECTOR_PICTURE).filter(':not(.loaded)')\n $pictures.each(function () {\n loadImages(this, true)\n })\n})\n\n// Public methods\nwindow.IB.lazyImg = {\n loadImg: loadImages,\n loadBackgroundImg: loadBackgroundImages,\n loadAllImagesSelector,\n loadAllBackgroundImgSelector: loadAllBackgroundImagesSelector,\n loadImgsWithObserver,\n addImgToObserver,\n}\n\nIB.lazyImg.loadImgsWithObserver($images)\n","/* eslint-disable */\nimport '../lazy_img/lazy_img'\n\nimport { readCookie } from '../../../utils/cookie_manager'\nimport { exit_partner, getUrlVars } from '../../analytics/partner_set_cookies'\nimport { currentDevice } from '../../utils/currentDevice'\nimport '../../../vue/mobile_menu/mobile_menu_init'\n\nlet cp_promotional = isPromo()\n\nlet cp_tag, cp_image_tag, cp_partpdv_tag\nreadPartner()\n\nlet isUserPartner, cp, cp_image\nupdatePartner()\n\nsharePartnersBetweenSites()\n\nexport function showPartnerLogo() {\n if (IB.is_in_microsite) {\n return;\n }\n if (!$('.exit-partner').hasClass('is-hidden') && !currentDevice.isMobile) {\n //Solo queremos ejecutar esta función una vez\n return\n }\n\n if (typeof getUrlVars()['NoPartner'] !== 'undefined') {\n //No queremos ejecutar esta función si ya estamos saliendo del partner\n return\n }\n // if (isHorizons() && !readCookie(cp_tag)) return;\n\n if (cp_image == null) {\n updatePartner()\n }\n\n if (cp_image && cp_image != 'null' && cp && cp_promotional === false) {\n const src = decodeURIComponent(cp_image)\n if (currentDevice.isMobile) {\n $('#partner-logo-mobile').removeClass('is-hidden')\n $('.js-img-partner').attr('src', src)\n } else if (currentDevice.isTablet) {\n $('.js-reb-header-wrapper').find('.logo .js-img-partner').addClass('is-hidden')\n } else if (currentDevice.isDesktop) {\n // Partner own logo\n $('.js-partner-logo .js-img-partner').attr('src', src)\n $('.main-header').find('.logo').addClass('logo--partner')\n // PY05355, Header REB - Ficha de hotel 2023, ?test_reb_header=true\n $('.js-reb-header-wrapper').find('.logo').addClass('logo--partner')\n $('.js-reb-header-wrapper').find('.logo .js-imgs-container').addClass('reb-version')\n $('.js-reb-header-wrapper').find('.js-partner-logo').addClass('reb-version')\n // END TEST\n $('.main-header').find('.main-header-content').addClass('main-header-content--partner')\n }\n // Iberostar partners program logo\n $('.js-partner-logo').removeClass('is-hidden')\n IB.lazyImg.loadImg('.js-partner-logo .partner-logo-item--iberostar')\n // PY05355, Header REB - Ficha de hotel 2023, ?test_reb_header=true\n $('.js-reb-header-wrapper .partner-logo-item-menu').removeClass('is-hidden')\n $('.js-reb-header-wrapper .partner-logo-item--iberostar').addClass('is-hidden')\n // END TEST\n $('.partner-logo-fbs').removeClass('is-hidden')\n $('.exit-partner').removeClass('is-hidden')\n\n if (isPartner()) {\n $('.js-partner-logo').removeClass('is-hidden')\n $('.js-partner-logo-mobile').removeClass('is-hidden')\n } else {\n $('.main-header').find('.logo').addClass('logo--partner')\n $('.main-header').find('.main-header-content').addClass('main-header-content--partner')\n $('.main-header > .wrapper-main-header').addClass('partner-header')\n }\n hiddenLogoIberostarWhite()\n } else {\n if (!isPartner()) {\n hidePartnerLogo()\n }\n }\n\n // Do not hide menu\n //if (partnerHasVisibilityMib() === false) {\n // $('.user-options-link-wrapper').addClass('is-hidden');\n //} else {\n // $('.user-options-link-wrapper').removeClass('is-hidden');\n //}\n}\n\nfunction hiddenLogoIberostarWhite() {\n $('.logo-iberostar-white').addClass('is-hidden')\n $('.logo-green').addClass('is-hidden')\n $('.logo-white').addClass('is-hidden')\n}\n\nexport function hidePartnerLogo() {\n const microsite = document.documentElement.dataset.inMicrosite\n if (microsite !== 'false') {\n return\n }\n $('.js-partner-logo').addClass('is-hidden')\n $('#partner-logo-mobile').addClass('is-hidden')\n $('.js-partner-template').addClass('is-hidden')\n $('.exit-partner').addClass('is-hidden')\n $('#logo-iberostar, #logo-iberostar-white, #logo-green, #logo-white, .logo-green, .logo-white').removeClass(\n 'is-hidden'\n )\n $('.main-header').find('.logo').removeClass('logo--partner')\n // PY05355, Header REB - Ficha de hotel 2023, ?test_reb_header=true\n $('.js-reb-header-wrapper').find('.logo').removeClass('logo--partner')\n // END TEST\n\n $('.main-header').find('.main-header-content').removeClass('main-header-content--partner')\n $('.main-header > .wrapper-main-header').removeClass('partner-header')\n $('.user-options-link-wrapper').removeClass('is-hidden')\n}\n\nexport function isPartner() {\n return !(typeof cp === 'undefined' || cp === null)\n}\n\nfunction partnerHasVisibilityMib() {\n const cp_partpdv = readCookie(cp_partpdv_tag)\n return cp_partpdv === undefined || cp_partpdv !== '0' || cp_partpdv === null\n}\n\nfunction isPromotionalPartner() {\n return isUserPartner && cp_promotional === 'true'\n}\n\nfunction isPromo() {\n return readCookie('cp_promotional') === 'true'\n}\n\nfunction readPartner() {\n cp_tag = cp_promotional ? 'cp' : 'cp_no_prom'\n cp_image_tag = cp_promotional ? 'cp_image' : 'cp_no_prom_image'\n cp_partpdv_tag = cp_promotional ? 'cp_partpdv' : 'cp_no_prom_partpdv'\n}\n\nfunction updatePartner() {\n cp = readCookie(cp_tag)\n cp_promotional = isPromo()\n cp_image = readCookie(cp_image_tag)\n isUserPartner = isPartner()\n}\n\nexport function let_exit_partner() {\n $('.exit-partner').on('click', function (event) {\n event.preventDefault()\n if(currentDevice.isMobile && document.body.classList.contains('opened-menu')) {\n document.body.classList.remove('opened-menu')\n const header = document.querySelector('.js-mobile-header')\n if (header.classList.contains('fake-header-menu')) {\n header.classList.remove('fake-header-menu')\n header.classList.add('initial')\n }\n ScrollLock.off()\n }\n exit_partner(function () {\n hidePartnerLogo()\n })\n })\n}\n\nfunction sharePartnersBetweenSites() {\n if (window.location.href.indexOf('iberostar.com') === -1) {\n return\n }\n\n if (getUrlVars()['cp'] === undefined && $.cookie('cp') === undefined && $.cookie('cp_no_prom') === undefined) {\n return\n }\n\n const cp = getUrlVars()['cp'] || $.cookie('cp') || $.cookie('cp_no_prom')\n\n ;[\n 'https://www.iberostarbeachfront.com',\n 'https://www.iberostarhotels.com',\n 'http://www.iberostarbeachfront.com',\n 'http://www.iberostarhotels.com',\n ].forEach(function (s) {\n document.querySelectorAll(`[href^=\"${s}\"]`).forEach(function (u) {\n let href = u.href\n href += href.includes('?') ? '&' : '?'\n href += `cp=${cp}`\n u.setAttribute('href', href)\n })\n })\n}\n\nwindow.IB.partner = {\n showPartnerLogo,\n hidePartnerLogo,\n let_exit_partner,\n isPartner,\n isPromotionalPartner,\n updatePartner,\n partnerHasVisibilityMib,\n}\n\nIB.partner.showPartnerLogo()\nIB.partner.let_exit_partner()\n","\n/**\n * Native scrollTo with callback\n * @param xCoord - X coord to scroll to\n * @param yCoord - Y coord to scroll to\n * @param callback - callback function\n */\nconst scrollTo = ({ xCoord = 0, yCoord = 0, callback = () => {} }) => {\n const fixedOffset = yCoord.toFixed();\n const onScroll = function () {\n if (window.pageYOffset.toFixed() === fixedOffset) {\n window.removeEventListener('scroll', onScroll);\n callback && callback();\n }\n };\n\n window.addEventListener('scroll', onScroll);\n onScroll();\n window.scrollTo(xCoord, yCoord);\n};\n\nexport default scrollTo;\n","import scrollTo from './scrollTo'\n\nconst body = document.getElementsByTagName('body')[0]\nlet locked = false\nlet prevScroll = {}\nlet prevStyles = ''\nconst lockStyles = 'position: fixed; height: 100%; width: 100%;'\n\nconst cacheStyles = function () {\n prevStyles = body.getAttribute('style') || ''\n prevScroll = {\n scrollLeft: window.scrollX,\n scrollTop: window.scrollY,\n }\n}\n\nconst isLock = () => locked\n\nconst lock = () => {\n if (!locked) {\n locked = true\n cacheStyles()\n let bodyStyles = lockStyles\n bodyStyles += `height: auto; top: -${prevScroll.scrollTop}px; left: -${prevScroll.scrollLeft}px;`\n body.setAttribute('style', bodyStyles)\n body.classList.add('scroll-lock-on')\n }\n}\n\nconst unlock = callback => {\n if (locked) {\n locked = false\n body.setAttribute('style', prevStyles)\n body.classList.remove('scroll-lock-on')\n scrollTo({ xCoord: prevScroll.scrollLeft, yCoord: prevScroll.scrollTop })\n }\n callback && callback()\n}\n\nconst calcOverflow = () => {\n const hh = body.clientHeight()\n const hw = body.clientWidth()\n const wh = window.innerHeight()\n const ww = window.innerWidth()\n\n if (wh >= hh && ww >= hw) {\n lockStyles['overflow'] = 'hidden'\n } else {\n lockStyles['overflow-x'] = ww >= hw ? 'hidden' : 'scroll'\n lockStyles['overflow-y'] = wh >= hh ? 'hidden' : 'scroll'\n }\n}\n\nwindow.ScrollLock = {\n on: lock,\n off: unlock,\n isLock,\n toggle() {\n locked ? unlock() : lock()\n },\n update: calcOverflow,\n}\n","\n\n\n","import { auth0Login } from '../../auth0/sso'\n\nconst BASE_SELECTOR = '.js-user-login'\nexport const OPEN_HORIZONS_MENU_EVENT = 'fastbooking:menu:myiberostar:open'\n\nfunction initAuth0() {\n document.querySelectorAll(`${BASE_SELECTOR} .js-user-options-link`).forEach(item => {\n item.addEventListener('click', () => {\n if (!IB.browsing_sessions.isUserLogged()) {\n auth0Login(false)\n } else {\n const event = new Event(OPEN_HORIZONS_MENU_EVENT)\n document.dispatchEvent(event)\n }\n })\n })\n}\n\nconst init = function () {\n IB.browsing_sessions.readRedis(initAuth0)\n\n if (IB.browsing_sessions.isUserLogged()) {\n const nameElement = document.querySelector(`${BASE_SELECTOR} .js-user-name`)\n\n let user = null\n if (IB.browsing_sessions !== null && IB.browsing_sessions.getData()) {\n user = IB.browsing_sessions.getData().redis_values\n }\n\n if (user) {\n nameElement.textContent = user.name\n } else {\n nameElement.textContent = nameElement.dataset.nameSoft\n }\n }\n}\n\nexport default init\n","\n\n\n","import { render } from \"./CurrencySelector.vue?vue&type=template&id=44f10b6a\"\nimport script from \"./CurrencySelector.vue?vue&type=script&lang=js\"\nexport * from \"./CurrencySelector.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./LanguageSelector.vue?vue&type=template&id=182cba38\"\nimport script from \"./LanguageSelector.vue?vue&type=script&lang=js\"\nexport * from \"./LanguageSelector.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./RebMainNavBookings.vue?vue&type=template&id=35ec6a4b\"\nimport script from \"./RebMainNavBookings.vue?vue&type=script&lang=js\"\nexport * from \"./RebMainNavBookings.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./RebMainNavHorizons.vue?vue&type=template&id=7ab4cf14\"\nimport script from \"./RebMainNavHorizons.vue?vue&type=script&lang=js\"\nexport * from \"./RebMainNavHorizons.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./RebMainNavHotelsDestinations.vue?vue&type=template&id=08a7010b\"\nimport script from \"./RebMainNavHotelsDestinations.vue?vue&type=script&lang=js\"\nexport * from \"./RebMainNavHotelsDestinations.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./RebMainNavIberostarPro.vue?vue&type=template&id=ee3a1268\"\nimport script from \"./RebMainNavIberostarPro.vue?vue&type=script&lang=js\"\nexport * from \"./RebMainNavIberostarPro.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./RebMainNavItem.vue?vue&type=template&id=4ba416da\"\nimport script from \"./RebMainNavItem.vue?vue&type=script&lang=js\"\nexport * from \"./RebMainNavItem.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./RebMainNavLastSearchs.vue?vue&type=template&id=1e70c4d6\"\nimport script from \"./RebMainNavLastSearchs.vue?vue&type=script&lang=js\"\nexport * from \"./RebMainNavLastSearchs.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\n\n\n","import { render } from \"./RebMainNavOffers.vue?vue&type=template&id=65233b76\"\nimport script from \"./RebMainNavOffers.vue?vue&type=script&lang=js\"\nexport * from \"./RebMainNavOffers.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { render } from \"./RebMainNav.vue?vue&type=template&id=61340892\"\nimport script from \"./RebMainNav.vue?vue&type=script&lang=js\"\nexport * from \"./RebMainNav.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createApp } from 'vue'\n\nimport DesktopMenu from '../../src/mixins/DesktopMenu/DesktopMenu'\nimport LoadStyles from '../../src/mixins/LoadStyles/LoadStyles'\nimport Menu from '../../src/mixins/Menu/Menu'\n\nimport privatearea from '../../../../../frontend/src/vue/src/components/PrivateArea/PrivateArea'\nimport rebmainnav from '../../src/components/RebMainNav/RebMainNav'\n\nconst BASE_ID_SELECTOR = '#vue-main-nav-reb'\nconst BASE_SELECTOR = '.vue-main-nav-reb'\nconst LAST_SEARCHES_SELECTOR = '.reb-main-nav-item--last-searches'\n\nfunction init() {\n if (!document.querySelector(BASE_ID_SELECTOR)) return\n\n const rebMainNav = {\n mixins: [Menu, DesktopMenu],\n // Root components must be imported in lowercase\n components: {\n rebmainnav,\n privatearea,\n },\n data: {\n baseSelector: BASE_SELECTOR,\n lastSearchesSelector: LAST_SEARCHES_SELECTOR,\n initializedBookingsForm: false,\n initializedLastSearches: false,\n imagesRequested: false,\n privateAreaConfig: JSON.parse(document.querySelector(BASE_ID_SELECTOR).dataset.privateAreaConfig),\n },\n mounted() {\n setTimeout(() => {\n this.getData()\n this.initTemplates()\n }, 500)\n },\n methods: {\n selectedItem(itemName) {\n this.returnPanel(itemName)\n this.loadImages()\n\n switch (itemName) {\n case 'bookings':\n $(`${BASE_SELECTOR} .panel.bookings .hidden-img`).addClass('visible-img')\n $(`${BASE_SELECTOR} .panel.bookings .hidden-img`).removeClass('hidden-img')\n IB.lazyImg.loadAllImagesSelector($(`${this.baseSelector} .panel.bookings .visible-img`))\n if (!this.initializedBookingsForm) {\n IB.forms.reservation_management.init($(`${this.baseSelector} .js-reservation-management-form`))\n IB.formUtagEvents.init()\n this.initializedBookingsForm = true\n }\n break\n case 'searches':\n if (!this.initializedLastSearches) {\n $(`${BASE_SELECTOR} .panel.searches .hidden-img`).addClass('visible-img')\n $(`${BASE_SELECTOR} .panel.searches .hidden-img`).removeClass('hidden-img')\n IB.lazyImg.loadAllBackgroundImgSelector($(`${this.baseSelector} .panel.searches .visible-img`))\n this.initializedLastSearches = true\n }\n break\n case 'my-iberostar':\n $(`${BASE_SELECTOR} .panel.my-iberostar .hidden-img`).addClass('visible-img')\n $(`${BASE_SELECTOR} .panel.my-iberostar .hidden-img`).removeClass('hidden-img')\n if ($('.js-user-options-dropdown-link[data-menu-name=\"my-iberostar\"]').length) {\n // If user is logged\n $('li.user-notifications').addClass('is-displayed')\n IB.lazyImg.loadAllBackgroundImgSelector($(`${this.baseSelector} .panel.my-iberostar .visible-img`))\n }\n break\n default:\n }\n },\n loadImages() {\n !this.imagesRequested && IB.lazyImg.loadAllImagesSelector($(this.baseSelector))\n this.imagesRequested = true\n },\n },\n }\n\n const app = createApp(rebMainNav)\n /**\n * TODO: Use Composables instead of Mixins\n * https://vuejs.org/api/options-composition.html#mixins\n * https://vuejs.org/guide/reusability/composables.html\n */\n app.mixin(LoadStyles)\n app.mount(BASE_ID_SELECTOR)\n}\n\nconst MainNav = {\n init,\n}\n\nexport default MainNav\n","import '../../utils/scroll_lock'\n\nimport { isPartner } from '../../../src/core/iberapi/partner_shower/partner_shower'\n\nconst menuToggleClass = '.mobile-menu-toggle'\nconst menuHeaderClass = IB.currentDevice === 'mobile' ? '.mobile-header' : '.main-header'\nconst contentMenuHeaderClass = IB.currentDevice === 'mobile' ? 'body .page-wrapper' : 'body'\nlet menuInitialized = false\nconst accessibility_mode = IB.a11y.isAdaActivated() || false\n$(document).one('click', `${menuToggleClass}:not(.ibp-toggle)`, function (e) {\n e.preventDefault()\n const $el = $(this)\n\n if (!menuInitialized && !document.querySelector('body.mice-home')) {\n menuInitialized = true\n\n import(\n /* webpackChunkName: 'vue_mobile_menu' */\n /* webpackPreload: true */\n `./vue_mobile_menu`\n )\n .then(blockJS => {\n blockJS.initMobileMenu()\n })\n .catch(() => {})\n }\n})\n\n/* Basic events to open and close menu */\n$(document).on('click', `${menuToggleClass}:not(.ibp-toggle)`, function (e) {\n e.preventDefault()\n\n if (document.querySelector('body.mice-home')) {\n toggleMenu(e)\n } else {\n $('body').addClass('opened-menu')\n\n if (IB.currentDevice !== 'mobile') {\n $(menuHeaderClass).addClass('js-header-move')\n }\n\n $(contentMenuHeaderClass).prepend($(menuToggleClass).closest(menuHeaderClass))\n\n if (IB.currentDevice === 'mobile') {\n addFakeHeaderWhenIsTransparent('.mobile-header')\n showHeaderMobileWithMenu('.mobile-header')\n } else if (IB.currentDevice === 'tablet') {\n addFakeHeaderWhenIsTransparent('.main-header')\n }\n LogosMenuOpenManagement()\n\n ScrollLock.on()\n }\n})\n\nfunction toggleMenu(event) {\n event.preventDefault()\n $('html').toggleClass('opened-left')\n}\n\nfunction LogosMenuOpenManagement() {\n if (isPartner()) {\n showPartnerLogoMenu()\n return\n }\n showIberostarLogoMenu()\n}\n\nfunction LogosMenuCloseManagement() {\n if (isPartner()) {\n hiddenPartnerLogoMenu()\n return\n }\n hiddenIberostarLogoMenu()\n}\n\nfunction showIberostarLogoMenu() {\n if (IB.currentDevice === 'tablet' && accessibility_mode === false) {\n $('#logo-iberostar-white').addClass('is-hidden')\n }\n if (IB.currentDevice === 'tablet' && accessibility_mode === true) {\n $('#logo-green').addClass('is-hidden')\n }\n}\n\nfunction hiddenIberostarLogoMenu() {\n if (IB.currentDevice === 'tablet' && accessibility_mode === false) {\n $('#logo-iberostar-white').removeClass('is-hidden')\n }\n if (IB.currentDevice === 'tablet' && accessibility_mode === true) {\n $('#logo-green').removeClass('is-hidden')\n }\n}\n\nfunction showPartnerLogoMenu() {\n if (IB.currentDevice === 'tablet' && accessibility_mode === false) {\n $('.partner-logo-item--iberostar').addClass('is-hidden')\n $('.partner-logo-item-menu').removeClass('is-hidden')\n } else if (IB.currentDevice === 'mobile') {\n $('#partner-logo-mobile .partner-logo-item-menu').removeClass('is-hidden')\n $('#partner-logo-mobile .partner-logo-item--iberostar').addClass('is-hidden')\n }\n}\n\nfunction hiddenPartnerLogoMenu() {\n $('.partner-logo-item--iberostar').removeClass('is-hidden')\n $('.partner-logo-item-menu').addClass('is-hidden')\n}\n\n$(document).on('click', `.mobile-menu-blocker, .opened-menu ${menuToggleClass}`, function (e) {\n e.preventDefault()\n\n if (document.querySelector('body.mice-home')) return false\n\n $('body').removeClass('opened-menu')\n\n if (IB.currentDevice !== 'mobile') {\n $(menuHeaderClass).removeClass('js-header-move')\n }\n\n const $header = $(`body > ${menuHeaderClass}`).remove()\n if ($('.headband').length) {\n $($header).insertAfter($('.headband'))\n } else {\n $('.page-wrapper').prepend($header)\n }\n\n if (IB.currentDevice === 'mobile') {\n removeStickyMenuWithHeadband('.mobile-header')\n removeFakeHeaderWhenIsTransparent('.mobile-header')\n } else if (IB.currentDevice === 'tablet') {\n removeFakeHeaderWhenIsTransparent('.main-header')\n }\n\n LogosMenuCloseManagement()\n\n ScrollLock.off()\n})\n\nfunction addFakeHeaderWhenIsTransparent(headerClass) {\n const header = document.querySelector(headerClass)\n if (header && header.classList.contains('initial')) {\n header.classList.add('fake-header-menu')\n header.classList.remove('initial')\n }\n}\n\nfunction removeFakeHeaderWhenIsTransparent(headerClass) {\n const header = document.querySelector(headerClass)\n if (header && header.classList.contains('fake-header-menu')) {\n header.classList.remove('fake-header-menu')\n header.classList.add('initial')\n }\n}\n\nfunction showHeaderMobileWithMenu() {\n const stickyHeaderWithHeadband = document.querySelector(\n '.mobile-header.js-mobile-header.mobile-sticky-container.pushed-by-sticky-headbands.nav-down.sticky'\n )\n if (stickyHeaderWithHeadband) {\n stickyHeaderWithHeadband.classList.remove('pushed-by-sticky-headbands')\n stickyHeaderWithHeadband.classList.add('fake-header-menu')\n stickyHeaderWithHeadband.classList.add('with-headband')\n }\n}\n\nfunction removeStickyMenuWithHeadband() {\n const stickyMenuWithHeadband = document.querySelector('.mobile-header.js-mobile-header.with-headband')\n\n if (stickyMenuWithHeadband) {\n stickyMenuWithHeadband.classList.add('pushed-by-sticky-headbands')\n stickyMenuWithHeadband.classList.add('nav-down')\n stickyMenuWithHeadband.classList.add('sticky')\n stickyMenuWithHeadband.classList.remove('fake-header-menu')\n }\n}\n","/**\n * Hotels Data Bridge\n *\n * Collection of functions to search for data in fastbooking_data\n * without including them in hotels_data.js (including them there\n * mean to always load the code on page load, bad for performance).\n *\n * Import the needed function in your JS.\n *\n * */\n\n/**\n * getHotelsByChildDestination\n *\n * Fetch the hotels belonging to a destination id,\n * ordered by ascending price.\n *\n * The destination is not a country but a province.\n * (therefore the \"child\"- country is a first level,\n * parent, destination).\n *\n * @params\n * destinationId: the destination in the format d,\n * as it appears in the fastbooking_data.\n * example:\n * getHotelsByDestination(\"d20\")\n * to fetch Majorca's hotels ordered by price.\n */\nexport function getHotelsByChildDestination(destinationId) {\n let hotelsData = getHotels();\n\n hotelsData = hotelsData.filter((hotel) => hotel.data.destination === destinationId);\n\n // ordered by ascending price\n return hotelsData.sort((a, b) => +a.data.price - +b.data.price);\n}\n\n\n/**\n * getHotelsByCountry\n *\n * Fetch the hotels belonging to a country id,\n * ordered by ascending price.\n *\n * @params\n * countryId: the id of the country.\n * example:\n * getHotelsByCountry(1)\n * to fetch Spain's hotels ordered by price.\n */\nexport function getHotelsByCountry(countryId) {\n let hotelsData = getHotels();\n\n hotelsData = hotelsData.filter((hotel) => hotel.data.country === countryId);\n\n // ordered by ascending price\n return hotelsData.sort((a, b) => +a.data.price - +b.data.price);\n}\n\n\n/**\n * getHotels\n *\n * Get the hotels' array from fastbooking data\n * with the default order (alphabetical).\n *\n */\nexport function getHotels() {\n let hotelsData = IB.hotels_data.getData();\n\n // getting hotels' array\n // the first position is just the \"Hotels\" title,\n // the second one has all the data.\n let hotelArrayPosition = 1;\n hotelsData = hotelsData.hotels[hotelArrayPosition];\n\n return hotelsData;\n}\n\n/**\n * Given hotel id, returns hotel object from fastbooking_data json\n * @param {string} hotelId\n */\nexport function getHotelData(hotelId) {\n let fastbookingData = IB.hotels_data.getData();\n let hotels = fastbookingData?.hotels[1];\n\n // Parse hotelId to string and prepend 'h' to hotelId if not present\n hotelId = '' + hotelId;\n hotelId = hotelId[0] === 'h' ? hotelId : 'h' + hotelId;\n\n // Find and return hotel object from fastbookingData\n return hotels?.find(function (hotel) {return hotel.id === hotelId;});\n}\n\n/**\n * Given hotel id, returns the field with the CRS management value.\n * @param {string} hotelId\n */\nexport function getCrsManagementId(hotelId) {\n let hotel = getHotelData(hotelId);\n return hotel.data.crs_management_id;\n}\n\n/**\n * Given hotel id, returns the field with the CRS hotel code.\n * @param {string} hotelId\n */\n export function getCrsHotelCode(hotelId) {\n let hotel = getHotelData(hotelId);\n return hotel.data.hotel_code;\n}\n\n/**\n * Given hotel code, returns hotel\n * @param {string} hotelCode\n * @return {object} hotel\n */\nexport function getHotelByHotelCode(hotelCode) {\n let fastbookingData = IB.hotels_data.getData();\n let hotels = fastbookingData?.hotels[1];\n\n return hotels?.find(hotel => hotel.data.hotel_code === hotelCode);\n}\n\n/**\n * Given hotel code, return hotel ID\n * @param {string} hotelCode\n * @return {Number} hotel ID\n */\nexport function getHotelIDfromHotelCode(hotelCode) {\n let hotel = getHotelByHotelCode(hotelCode);\n return hotel?.id;\n}\n\n/**\n * Given hotel codes, return hotel IDs in array\n * @param {string} hotelCodes\n * @return {array of Number} hotelIDs\n */\nexport function getHotelIDsFromHotelCodes(hotelCodes) {\n hotelCodes = hotelCodes.split(',');\n let hotelIDs = [];\n hotelCodes.forEach(code => hotelIDs.push(+getHotelIDfromHotelCode(code)?.substring(1)));\n hotelIDs = hotelIDs.length && hotelIDs.filter(id => id !== undefined && id !== null && !isNaN(id));\n\n return hotelIDs;\n}\n","// TODO: Remove lodash library\nimport _filter from 'lodash/filter'\nimport _find from 'lodash/find'\nimport _groupBy from 'lodash/groupBy'\nimport _sortBy from 'lodash/sortBy'\n\nimport { getHotelData } from '../../../../utils/hotels_data_bridge'\n\nimport {\n emitHeaderPanelOfferEvents,\n emitUtagAllDestinationsEvent,\n emitUtagMainMenuHotelEvent,\n emitUtagShowCountryEvent,\n emitUtagShowDestinationsEvent,\n emitUtagShowHotelsEvent,\n} from './DesktopMenu.analytics'\n\nconst DesktopMenu = {\n data() {\n return {\n data: [],\n allDestinations: [],\n allHotels: [],\n continents: [],\n destinations: [],\n hotels: [],\n showContinents: false,\n showContinentsAndCountries: true,\n showDestinations: false,\n showHotels: false,\n showOffers: false,\n showBookings: false,\n showSearches: false,\n showMyIberostar: false,\n headquarter: '',\n continentName: '',\n continentUtagName: '', //Revisar esto para Utag\n countryName: '',\n countryUtagName: '',\n countryUrl: '',\n countryLabel: '',\n destinationName: '',\n destinationUtagName: '',\n destinationLabel: '',\n linkAllDestinationsFooterUtagName: '',\n destinationUrl: '',\n horizons: '',\n promotion: '',\n //search: '',\n //text: '',\n destinationUrlText: '',\n countryUrlText: '',\n footerDestinationUrl: '',\n footerDestinationUrlText: '',\n allDestinationsUrl: '',\n allDestinationsUrlText: '',\n }\n },\n\n /**\n * WATCHERs for UTAG\n *\n * Watch changes in show variables to\n * trigger utag link with some info from component state.\n *\n * The event must only be triggered upon opening\n * each of the different panels.\n * Check PY02500-1073 GSV 468879 for feature briefing.\n */\n watch: {\n showCountry(newValue) {\n if (!newValue) return\n emitUtagShowCountryEvent(this)\n },\n showDestinations(newValue) {\n if (!newValue) return\n emitUtagShowDestinationsEvent(this)\n },\n showHotels(newValue) {\n if (!newValue) return\n emitUtagShowHotelsEvent(this)\n },\n showBookings(newValue) {\n if (newValue === false) {\n // Close bookings start date if opened\n // Refer to app/frontend/src/vendors/rangedatepicker/rangedatepicker.js line 832 for reference\n $(document).trigger('click.datepicker')\n }\n },\n },\n\n methods: {\n getData() {\n IB?.hotels_data?.check()\n ? this.processData()\n : IB?.hotels_data?.get(() => {\n this.processData()\n })\n },\n processData() {\n this.data = IB?.hotels_data?.getData()\n this.allDestinations = this.data.destinations[1]\n this.allHotels = _groupBy(this.data.hotels[1], 'data.destination')\n this.continents = _sortBy(\n _filter(this.allDestinations, o => o.data.depth == 0),\n 'position'\n )\n this.continents.forEach(continent => {\n continent.countries = this.filterDestination(continent.id)\n })\n },\n showFilteredElement(id, elementType, continent = null) {\n if (elementType !== 'destinations' || elementType !== 'hotels') {\n this.showContinentsAndCountries = false\n } else {\n this.showContinentsAndCountries = true\n }\n this.showDestinations = elementType === 'destinations'\n this.showHotels = elementType === 'hotels'\n if (continent !== null) this.continentUtagName = continent\n\n const chooseDestinationText = document\n .querySelector('.hotels-and-destinations')\n .getAttribute('data-choose-destination-text')\n\n if (elementType === 'destinations') {\n const country = _find(this.allDestinations, d => d.id === id)\n const numHotelsInCountry = this.getHotels(country.id).length\n this.destinationLabel = ''\n this.countryName = country.title\n this.countryLabel = `${chooseDestinationText} ${this.countryName}`\n ;(this.countryUtagName = country.data.title_en.toLowerCase()), (this.countryUrl = country.data.url)\n this.headquarter = country.data.headquarter_slug\n this.destinations = this.filterDestination(id)\n this.footerDestinationUrl = this.countryUrl\n this.countryUrlText = `${document.querySelector('.destination-link').getAttribute('data-selected-destinations-text') + this.countryName}${\n numHotelsInCountry ? ` (${numHotelsInCountry})` : ''\n }`\n this.footerDestinationUrlText = this.countryUrlText\n this.linkAllDestinationsFooterUtagName = 'country'\n }\n\n if (elementType === 'hotels') {\n const destination = _find(this.allDestinations, d => d.id === id)\n this.countryLabel = ''\n this.destinationName = destination.title\n this.destinationLabel = `${chooseDestinationText} ${this.countryName} / ${this.destinationName}`\n ;(this.destinationUtagName = destination.data.title_en.toLowerCase()),\n (this.destinationUrl = destination.data.url)\n this.hotels = this.getHotels(id)\n this.footerDestinationUrl = this.destinationUrl\n this.destinationUrlText =\n document.querySelector('.destination-link').getAttribute('data-selected-destinations-text') +\n this.destinationName\n this.footerDestinationUrlText = this.destinationUrlText\n this.linkAllDestinationsFooterUtagName = 'city'\n }\n },\n returnPanel(elementType) {\n this.showOffers = elementType === 'offers'\n this.showBookings = elementType === 'bookings'\n this.showSearches = elementType === 'searches'\n this.showMyIberostar = elementType === 'myiberostar'\n if (this.showContinents && elementType === 'hide') {\n this.showContinents = false\n this.footerDestinationUrl = this.allDestinationsUrl\n this.footerDestinationUrlText = this.allDestinationsUrlText\n } else {\n this.allDestinationsUrl = document.querySelector('.destination-link')?.getAttribute('data-all-destinations-url')\n this.footerDestinationUrl = this.allDestinationsUrl\n this.allDestinationsUrlText = document\n .querySelector('.destination-link')\n ?.getAttribute('data-all-destinations-text')\n this.footerDestinationUrlText = this.allDestinationsUrlText\n\n this.showContinents =\n elementType === 'continents' ||\n elementType === 'continentsAndCountries' ||\n elementType === 'destinations' ||\n elementType === 'hotels'\n this.showContinentsAndCountries = elementType === 'continents' || elementType === 'continentsAndCountries'\n this.showDestinations = elementType === 'destinations'\n this.showHotels = elementType === 'hotels'\n }\n\n if (elementType === 'continentsAndCountries') {\n this.showDestinations = false\n this.showContinentsAndCountries = true\n this.footerDestinationUrl = this.allDestinationsUrl\n this.footerDestinationUrlText = this.allDestinationsUrlText\n this.linkAllDestinationsFooterUtagName = 'continent'\n this.destinations = []\n }\n\n if (elementType === 'destinations') {\n this.showDestinations = true\n this.showHotels = false\n this.linkAllDestinationsFooterUtagName = 'country'\n this.footerDestinationUrl = this.countryUrl\n this.footerDestinationUrlText = this.countryUrlText\n this.hotels = []\n }\n\n if (this.showOffers) {\n emitHeaderPanelOfferEvents()\n }\n\n // Ibercuba Microsite\n if (document.documentElement.dataset.inMicrosite === 'ibercuba') {\n const cubaContinent = this.continents[0]\n const cubaCountry = cubaContinent.countries[0]\n this.showFilteredElement(cubaCountry.id, 'destinations', cubaContinent.title_normalize)\n }\n },\n filterDestination(id) {\n return _sortBy(\n _filter(this.allDestinations, o => {\n return o.data.parent_id == id && this.getHotels(o.id).length\n }),\n 'title'\n )\n },\n getHotels(id) {\n let hotels = _filter(this.allHotels[id], o => o.data.destination == id)\n if (!hotels.length) {\n const t = this.filterDestination(id)\n t.forEach(element => {\n hotels = hotels.concat(this.getHotels(element.id))\n })\n }\n\n return _sortBy(hotels, 'title')\n },\n handleUtagMainMenuHotelClick(hotel_id) {\n const hotelData = getHotelData(hotel_id)\n emitUtagMainMenuHotelEvent(this, hotelData)\n },\n handleUTagAllDestinationsClick() {\n emitUtagAllDestinationsEvent()\n },\n },\n}\n\nexport default DesktopMenu\n","import { sendUtagEvent } from '../../../../core/analytics/utag_events'\n\nexport function emitHeaderPanelOfferEvents() {\n const headerMenuOffers = document.querySelector('.utag-header-menu-offers')\n\n if (!headerMenuOffers) return\n\n const eecInfoPromo = headerMenuOffers.dataset.utagEccPromoList\n\n if (eecInfoPromo) {\n sendUtagEvent({ data: JSON.parse(eecInfoPromo) })\n }\n\n const eecInfoProduct = headerMenuOffers.dataset.utagEccProductList\n\n if (eecInfoProduct) {\n sendUtagEvent({ data: JSON.parse(eecInfoProduct) })\n }\n}\n\nexport function emitUtagAllDestinationsEvent() {\n sendUtagEvent({\n data: {\n event_name: 'menu_main',\n event_cat: 'main-menu menu',\n event_act: 'view all hotels and destinations',\n event_lbl: '',\n event_purpose: 'information',\n event_structure: 'header',\n },\n })\n}\n\nexport function emitUtagMainMenuHotelEvent(linkElement, hotelData) {\n if (!linkElement || !hotelData) return\n\n sendUtagEvent({\n data: {\n event_cat: 'main-menu menu',\n event_name: 'menu_main',\n event_act: 'hotels and destinations',\n event_lbl: 'hotel',\n event_purpose: 'information',\n event_structure: 'header',\n destination_continent: linkElement.continentUtagName,\n destination_country: linkElement.countryUtagName,\n destination_city: linkElement.destinationUtagName,\n hotel_sku: hotelData.data.hotel_code,\n hotel_short_name: hotelData.data.abrev,\n hotel_name: hotelData.title.toLowerCase(),\n hotel_segment: hotelData.data.segmentations[0]?.class || '',\n hotel_subsegment: hotelData.data.subsegmentations[0]?.class || '',\n hotel_brand: hotelData.data.utag_data_brand || '',\n hotel_is_only_adults: hotelData.data.adults_only,\n hotel_stars: hotelData.data.hotel_category_number,\n hotel_headquarter_final: linkElement.headquarter,\n },\n })\n}\n\nexport function emitUtagShowCountryEvent(linkElement) {\n if (!linkElement) return\n\n sendUtagEvent({\n data: {\n event_cat: 'main-menu menu',\n event_name: 'menu_main',\n event_purpose: 'information',\n event_structure: 'header',\n event_act: 'hotels and destinations',\n event_lbl: 'continent',\n destination_continent: linkElement.continentUtagName,\n hotel_headquarter_final: linkElement.headquarter,\n },\n })\n}\n\nexport function emitUtagShowDestinationsEvent(linkElement) {\n if (!linkElement) return\n\n sendUtagEvent({\n data: {\n event_cat: 'main-menu menu',\n event_name: 'menu_main',\n event_purpose: 'information',\n event_structure: 'header',\n event_act: 'hotels and destinations',\n event_lbl: 'country',\n destination_continent: linkElement.continentUtagName,\n destination_country: linkElement.countryUtagName,\n hotel_headquarter_final: linkElement.headquarter,\n },\n })\n}\n\nexport function emitUtagShowHotelsEvent(linkElement) {\n if (!linkElement) return\n\n sendUtagEvent({\n data: {\n event_cat: 'main-menu menu',\n event_name: 'menu_main',\n event_purpose: 'information',\n event_structure: 'header',\n event_act: 'hotels and destinations',\n event_lbl: 'city',\n destination_continent: linkElement.continentUtagName,\n destination_country: linkElement.countryUtagName,\n destination_city: linkElement.destinationUtagName,\n hotel_headquarter_final: linkElement.headquarter,\n },\n })\n}\n"],"names":["SELECTOR_PICTURE","SELECTOR_PIC_INVIEW","$images","$","lazyObserver","skeletonObserver","loadImages","picture","visible","$picture","is","putSrcPicture","loadBackgroundImages","block","$block","datasrc","data","undefined","css","addClass","isObserverd","find","each","$source","this","attr","window","navigator","userAgent","indexOf","match","picturefill","reevaluate","elements","one","removeClass","parents","length","siblings","unobserve","imgLazyLoad","entries","i","entry","isIntersecting","target","hasClass","disconnect","activeSkeleton","addImgToObserver","image","observe","trigger","fancybox","selector","afterLoad","instance","current","$content","filter","on","IB","lazyImg","loadImg","loadBackgroundImg","loadAllImagesSelector","$selector","loadAllBackgroundImgSelector","loadImgsWithObserver","$img","IntersectionObserver","root","rootMargin","threshold","body_node","main_node","page_wrapper_node","mutation_observer","MutationObserver","mutation","newNodes","addedNodes","mutation_options","attributes","childList","characterData","subtree","cp_tag","cp_image_tag","cp_partpdv_tag","isUserPartner","cp","cp_image","cp_promotional","isPromo","showPartnerLogo","is_in_microsite","currentDevice","isMobile","getUrlVars","updatePartner","src","decodeURIComponent","isTablet","isDesktop","isPartner","hidePartnerLogo","document","documentElement","dataset","inMicrosite","readCookie","let_exit_partner","event","preventDefault","body","classList","contains","remove","header","querySelector","add","ScrollLock","off","exit_partner","location","href","cookie","forEach","s","querySelectorAll","u","includes","setAttribute","sharePartnersBetweenSites","partner","isPromotionalPartner","partnerHasVisibilityMib","cp_partpdv","_ref","xCoord","yCoord","callback","fixedOffset","toFixed","onScroll","pageYOffset","removeEventListener","addEventListener","scrollTo","getElementsByTagName","locked","prevScroll","prevStyles","lockStyles","lock","getAttribute","scrollLeft","scrollX","scrollTop","scrollY","bodyStyles","unlock","isLock","toggle","update","calcOverflow","hh","clientHeight","hw","clientWidth","wh","innerHeight","ww","innerWidth","class","BASE_SELECTOR","OPEN_HORIZONS_MENU_EVENT","initAuth0","item","browsing_sessions","isUserLogged","Event","dispatchEvent","auth0Login","readRedis","nameElement","user","getData","redis_values","textContent","name","nameSoft","mounted","setTimeout","currencyForm","init","formikation","_createElementBlock","_hoisted_1","_renderSlot","_ctx","$slots","initUserLogin","_createElementVNode","mixins","MenuItem","props","Object","utagEventInfo","isSelected","itemClass","split","$el","methods","onClick","sendUtagEvent","$emit","_normalizeClass","getClass","$props","css_class","url","rel","turbolinks","visible_to_the_club_user","kind","event_name","logout_method","_cache","$options","arguments","_createTextVNode","_toDisplayString","_hoisted_2","components","RebMainNavItem","RebMainNavHotelsDestinations","RebMainNavOffers","RebMainNavLastSearchs","RebMainNavBookings","RebMainNavHorizons","RebMainNavIberostarPro","LanguageSelector","CurrencySelector","AccessibilityButton","isIbp","type","Boolean","default","panelTitle","String","mainMenu","Array","a11yConfig","userLastSearches","selectedItem","computed","mainMenuItems","badge","localStorage","getItem","JSON","parse","$nextTick","lastSearchesCards","setSelectedItem","$parent","_hoisted_3","$data","_createBlock","_component_RebMainNavItem","key","onSelected","_createCommentVNode","_Fragment","_renderList","index","utag_event_info","_hoisted_4","_createVNode","_component_AccessibilityButton","config","_hoisted_5","_component_LanguageSelector","_withCtx","_","_component_CurrencySelector","_hoisted_6","_component_RebMainNavHotelsDestinations","_component_RebMainNavOffers","_component_RebMainNavBookings","_component_RebMainNavLastSearchs","_component_RebMainNavHorizons","_component_RebMainNavIberostarPro","BASE_ID_SELECTOR","rebMainNav","Menu","DesktopMenu","rebmainnav","privatearea","baseSelector","lastSearchesSelector","initializedBookingsForm","initializedLastSearches","imagesRequested","privateAreaConfig","initTemplates","itemName","returnPanel","forms","reservation_management","formUtagEvents","app","createApp","mixin","LoadStyles","mount","menuToggleClass","menuHeaderClass","contentMenuHeaderClass","menuInitialized","accessibility_mode","a11y","isAdaActivated","LogosMenuCloseManagement","hiddenIberostarLogoMenu","addFakeHeaderWhenIsTransparent","headerClass","removeFakeHeaderWhenIsTransparent","e","then","blockJS","initMobileMenu","catch","toggleClass","prepend","closest","stickyHeaderWithHeadband","showHeaderMobileWithMenu","showIberostarLogoMenu","LogosMenuOpenManagement","$header","insertAfter","stickyMenuWithHeadband","removeStickyMenuWithHeadband","getHotelData","hotelId","fastbookingData","hotels_data","hotels","hotel","id","allDestinations","allHotels","continents","destinations","showContinents","showContinentsAndCountries","showDestinations","showHotels","showOffers","showBookings","showSearches","showMyIberostar","headquarter","continentName","continentUtagName","countryName","countryUtagName","countryUrl","countryLabel","destinationName","destinationUtagName","destinationLabel","linkAllDestinationsFooterUtagName","destinationUrl","horizons","promotion","destinationUrlText","countryUrlText","footerDestinationUrl","footerDestinationUrlText","allDestinationsUrl","allDestinationsUrlText","watch","showCountry","newValue","linkElement","event_cat","event_purpose","event_structure","event_act","event_lbl","destination_continent","hotel_headquarter_final","destination_country","destination_city","check","processData","get","_groupBy","_sortBy","_filter","o","depth","continent","countries","filterDestination","showFilteredElement","elementType","chooseDestinationText","country","_find","d","numHotelsInCountry","getHotels","title","title_en","toLowerCase","headquarter_slug","destination","headerMenuOffers","eecInfoPromo","utagEccPromoList","eecInfoProduct","utagEccProductList","emitHeaderPanelOfferEvents","cubaContinent","cubaCountry","title_normalize","parent_id","element","concat","handleUtagMainMenuHotelClick","hotel_id","hotelData","hotel_sku","hotel_code","hotel_short_name","abrev","hotel_name","hotel_segment","segmentations","hotel_subsegment","subsegmentations","hotel_brand","utag_data_brand","hotel_is_only_adults","adults_only","hotel_stars","hotel_category_number","emitUtagMainMenuHotelEvent","handleUTagAllDestinationsClick"],"sourceRoot":""}