var jsVersionPreventCache = "ci-329-e9914d7"; var pgInit = {}; pgInit.vars = { promotions: '[{"id":"8","title":"Early Booking","description":"Take advantage of our 20% early bird offer!","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.stayhotels.pt\/?gc=485b2fc4b489a6645ef75f7041186ec9&l=en&nrNights=2&preselect=promo28&startDay=2026-11-22","image":"https:\/\/secure.guestcentric.net\/bin\/4bf2ce473091d646\/thumb-pexels-hannaauramenka-8669229-2.webp"},{"id":"76","title":"Echoes of Writers Package","description":"Stay & experience Echoes of Writers: an immersive journey through the writers of the Belle \u00c9poque.","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.stayhotels.pt\/?gc=485b2fc4b489a6645ef75f7041186ec9&l=en&nrNights=2&preselect=promo104&startDay=2026-11-02","image":"https:\/\/secure.guestcentric.net\/bin\/4bf2ce473091d646\/thumb-chatgpt-image-11_08_2026-11_14_46-1.webp"},{"id":"75","title":"Last Minute","description":"Opportunity of the Day: The right rate at the right time.","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.stayhotels.pt\/?gc=485b2fc4b489a6645ef75f7041186ec9&l=en&nrNights=2&preselect=promo103&startDay=2026-11-02","image":"https:\/\/secure.guestcentric.net\/bin\/4bf2ce473091d646\/thumb-pexels-kaderdygnn-9303515-3.webp"},{"id":"67","title":"Escapade de 2 nuits \u00e0 Paris","description":"Deux nuits pour d\u00e9couvrir le Grande H\u00f4tel Paris, avec une r\u00e9duction de 25 %.","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.stayhotels.pt\/?gc=485b2fc4b489a6645ef75f7041186ec9&l=en&nrNights=2&preselect=promo95&startDay=2026-11-02","image":"https:\/\/secure.guestcentric.net\/bin\/4bf2ce473091d646\/thumb-pexels-sinead-michaela-du-plessis-339534719-14011112-1.webp"},{"id":"32","title":"Young Traveller","description":"For guests aged 18 to 30, 30% discount!","linkLabel":"Click for more info","link":"10","bookBtn":"https:\/\/book.stayhotels.pt\/?gc=485b2fc4b489a6645ef75f7041186ec9&l=en&nrNights=2&preselect=promo59&startDay=2026-11-02","image":"https:\/\/secure.guestcentric.net\/bin\/4bf2ce473091d646\/thumb-pexels-dgknoz-18597784-1.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()})}}();