var jsVersionPreventCache = "ci-347-e9914d7"; var pgInit = {}; pgInit.vars = { promotions: '[{"id":"13","title":"BEACH BREAK 10% OFF","description":"Refundable rate | Breakfast included.","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/hypercommerce.guestcentric.net\/?gc=ea8ddb9120caf66bcc14e86c584e55ad&l=en&nrNights=2&preselect=promo20&startDay=2026-04-23","image":"https:\/\/secure.guestcentric.net\/bin\/5cbb3a76a9833fb1\/thumb-beach-aesthetic-2.webp"},{"id":"114","title":"BOOK & SAVE 12% OFF ","description":"Non refundable rate | Breakfast included ","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/hypercommerce.guestcentric.net\/?gc=ea8ddb9120caf66bcc14e86c584e55ad&l=en&nrNights=2&preselect=promo142&startDay=2026-04-23","image":"https:\/\/secure.guestcentric.net\/bin\/5cbb3a76a9833fb1\/thumb--5-1.webp"},{"id":"113","title":"MARETA VIEW EXPERIENCE","description":"Refundable Rate | Breakfast included.","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/hypercommerce.guestcentric.net\/?gc=ea8ddb9120caf66bcc14e86c584e55ad&l=en&nrNights=2&preselect=promo141&startDay=2026-11-04","image":"https:\/\/secure.guestcentric.net\/bin\/5cbb3a76a9833fb1\/thumb-say-you-swear-by-meagan-brandy-aesthetic-bull-romance-book-bull-ari-amp-noah-4-1.webp"},{"id":"106","title":"STAY 4 PAY 3","description":"Refundable rate | Breakfast included. ","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/hypercommerce.guestcentric.net\/?gc=ea8ddb9120caf66bcc14e86c584e55ad&l=en&nrNights=4&preselect=promo134&startDay=2026-04-23","image":"https:\/\/secure.guestcentric.net\/bin\/5cbb3a76a9833fb1\/thumb-descarregar-24--2.webp"}]', displayTime: 10, transitionTime: 1.5, frameworkPath: 'https://secure.guestcentric.net/js/yui/build/', staticHost: "https:\/\/secure.guestcentric.net" }; !function(){"use strict";if(void 0!==window.pgInit&&pgInit.vars){var e={gadget:"promotionGadget",status:"waiting",start:function(){try{if(!pgInit)return;!function(){if(window.gcGa4ClientHandoff||document.getElementById("gc-ga4-client-handoff"))return;var e="undefined"!=typeof pgInit&&pgInit.vars&&pgInit.vars.staticHost||"undefined"!=typeof securePath&&securePath||"";if(!e)return;var t="undefined"!=typeof jsVersionPreventCache&&jsVersionPreventCache||"",i=document.createElement("script");i.id="gc-ga4-client-handoff",i.async=!0,i.src=e+"/js/gadgets/ga4ClientHandoff.min.js"+(t?"?v="+encodeURIComponent(t):""),document.head.appendChild(i)}(),t(),"loading"===document.readyState?document.addEventListener("DOMContentLoaded",i):i()}catch(e){return t(),!1}}};window.gcGadgetStack?"loaded"===gcGadgetStack[gcGadgetStack.length-1].status?(e.status="loading",gcGadgetStack.push(e),e.start()):gcGadgetStack.push(e):(e.status="loading",window.gcGadgetStack=[e],e.start()),window.vars=window.vars||[]}function t(){for(var e=0,t=gcGadgetStack.length;e1){for(i=Math.floor(Math.random()*e.length);i===r.oldPromotionIndex;)i=Math.floor(Math.random()*e.length);r.oldPromotionIndex=i}return e[i]},this.openPromotion=function(){var e=r.link+"&url="+encodeURIComponent(window.location.toString()),t=window.self!==window.top,i=t?window.open("","_blank"):null;if(!t||i){!function(e,t){window.gcGa4ClientHandoff?window.gcGa4ClientHandoff.navigate(e,t):t(e)}(e,function(e){if(i)try{i.location=e}catch(t){window.open(e,"_blank")}else window.open(e,"_self")})}else window.open(e,"_blank")},this.build()}function o(e,t,i,n,o){if(n<=0)return e.style.opacity=String(i),void(o&&o());var a=null;requestAnimationFrame(function r(d){null===a&&(a=d);var s=(d-a)/n;s>1&&(s=1);var l=function(e){var t=1-e;return 1-t*t*t}(s),c=t+(i-t)*l;e.style.opacity=String(c),s<1?requestAnimationFrame(r):o&&o()})}}();