var jsVersionPreventCache = "ci-576-57976e3"; var pgInit = {}; pgInit.vars = { promotions: '[{"id":"150","title":"Program Art & Culture","description":"Experience Art. Feel the Culture. Discover Boticas.","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/hypercommerce.guestcentric.net\/?gc=9101853ff01e092a5938a55f2b011329&l=en&nrNights=1&preselect=promo163&startDay=2026-09-28","image":"https:\/\/secure.guestcentric.net\/bin\/fd2a1c1b1cf7c651\/thumb-programaarte-e-cultura_site-1.webp"},{"id":"151","title":"Program Gourmet","description":"Signature Flavors: Experience the Gourmet Program","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/hypercommerce.guestcentric.net\/?gc=9101853ff01e092a5938a55f2b011329&l=en&nrNights=1&preselect=promo164&startDay=2026-09-28","image":"https:\/\/secure.guestcentric.net\/bin\/fd2a1c1b1cf7c651\/thumb-gourmet-1.webp"},{"id":"152","title":"Program Romantic","description":"A Retreat for Two in the Heart of Tr\u00e1s-os-Montes","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/hypercommerce.guestcentric.net\/?gc=9101853ff01e092a5938a55f2b011329&l=en&nrNights=1&preselect=promo165&startDay=2026-09-28","image":"https:\/\/secure.guestcentric.net\/bin\/fd2a1c1b1cf7c651\/thumb-roma-ntico-1.webp"},{"id":"153","title":"Program SPA DAY","description":"Take a deep breath. Relax. Be reborn.","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/hypercommerce.guestcentric.net\/?gc=9101853ff01e092a5938a55f2b011329&l=en&nrNights=1&preselect=promo166&startDay=2026-09-28","image":"https:\/\/secure.guestcentric.net\/bin\/fd2a1c1b1cf7c651\/thumb-spa-2-1-1.webp"},{"id":"61","title":"Promotion Book 5 nights and pay 4","description":"Stay Longer, Pay Less \u2014 5 Nights for the Price of 4","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/hypercommerce.guestcentric.net\/?gc=9101853ff01e092a5938a55f2b011329&l=en&nrNights=5&preselect=promo72&startDay=2026-04-10","image":"https:\/\/secure.guestcentric.net\/bin\/fd2a1c1b1cf7c651\/thumb-dji_0779_edit-2.webp"},{"id":"200","title":"Week Relax","description":"What if you didn't have to wait for the weekend to take a break?","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/hypercommerce.guestcentric.net\/?gc=9101853ff01e092a5938a55f2b011329&l=en&nrNights=1&preselect=promo214&startDay=2026-09-01","image":"https:\/\/secure.guestcentric.net\/bin\/fd2a1c1b1cf7c651\/thumb-dscf8761-3.jpg"}]', 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()})}}();