var jsVersionPreventCache = "20261021"; var pgInit = {}; pgInit.vars = { promotions: '[{"id":"2","title":"Larga Estancia Verano: 5 a 6 noches","description":"F\u00e9rias em fam\u00edlia com sol, mar e um desconto especial de 10% na \u00e9poca mais agrad\u00e1vel","linkLabel":"Pulse para m\u00e1s informaci\u00f3n","link":"10","bookBtn":"https:\/\/hypercommerce.guestcentric.net\/?gc=b24be05b67ce8d090417e3869c045c7e&l=es&nrNights=5&preselect=promo5&startDay=2026-10-24","image":"https:\/\/secure.guestcentric.net\/bin\/83dde84efdae1df7\/thumb-piscina-bebida-2-6.webp"},{"id":"8","title":"Larga Estancia Verano: 7 noches","description":"F\u00e9rias em Fam\u00edlia mais Longas, com Sol, Mar e 20% de desconto na melhor \u00e9poca","linkLabel":"Pulse para m\u00e1s informaci\u00f3n","link":"10","bookBtn":"https:\/\/hypercommerce.guestcentric.net\/?gc=b24be05b67ce8d090417e3869c045c7e&l=es&nrNights=7&preselect=promo11&startDay=2026-10-24","image":"https:\/\/secure.guestcentric.net\/bin\/83dde84efdae1df7\/thumb-bar-6.jpg"},{"id":"5","title":"Larga Estancia Invierno: 14 noches","description":"F\u00e9rias de inverno mais longas, mais tranquilas e com 10% desconto","linkLabel":"Pulse para m\u00e1s informaci\u00f3n","link":"10","bookBtn":"https:\/\/hypercommerce.guestcentric.net\/?gc=b24be05b67ce8d090417e3869c045c7e&l=es&nrNights=14&preselect=promo8&startDay=2026-10-24","image":"https:\/\/secure.guestcentric.net\/bin\/83dde84efdae1df7\/thumb-praia-1.jpg"},{"id":"6","title":"Larga Estancia Invierno estancias 21 noches","description":"Estadias mais Longas, Mem\u00f3rias mais ricas: 15% de desconto no inverno Algarvio!","linkLabel":"Pulse para m\u00e1s informaci\u00f3n","link":"10","bookBtn":"https:\/\/hypercommerce.guestcentric.net\/?gc=b24be05b67ce8d090417e3869c045c7e&l=es&nrNights=21&preselect=promo9&startDay=2026-10-24","image":"https:\/\/secure.guestcentric.net\/bin\/83dde84efdae1df7\/thumb-sala-cozinha-3.webp"},{"id":"4","title":"Larga Estancia Invierno: 7 noches","description":"Aproveite o Sol do Algarve no Inverno com desconto de 5%","linkLabel":"Pulse para m\u00e1s informaci\u00f3n","link":"10","bookBtn":"https:\/\/hypercommerce.guestcentric.net\/?gc=b24be05b67ce8d090417e3869c045c7e&l=es&nrNights=7&preselect=promo7&startDay=2026-10-24","image":"https:\/\/secure.guestcentric.net\/bin\/83dde84efdae1df7\/thumb-praia-1-3.webp"},{"id":"17","title":"Descuento por venta anticipada en Agosto.","description":"Planeie com anteced\u00eancia o m\u00eas mais m\u00e1gico e poupe 5% nas f\u00e9rias familiares","linkLabel":"Pulse para m\u00e1s informaci\u00f3n","link":"10","bookBtn":"https:\/\/hypercommerce.guestcentric.net\/?gc=b24be05b67ce8d090417e3869c045c7e&l=es&nrNights=2&preselect=promo22&startDay=2026-10-24","image":"https:\/\/secure.guestcentric.net\/bin\/83dde84efdae1df7\/thumb-piscina_2_cml-1.jpg"},{"id":"9","title":"Descuento por reserva anticipada","description":"Quanto mais cedo reservar, mais desfruta: 10% de desconto em f\u00e9rias de ver\u00e3o ou inverno","linkLabel":"Pulse para m\u00e1s informaci\u00f3n","link":"10","bookBtn":"https:\/\/hypercommerce.guestcentric.net\/?gc=b24be05b67ce8d090417e3869c045c7e&l=es&nrNights=2&preselect=promo12&startDay=2026-10-25","image":"https:\/\/secure.guestcentric.net\/bin\/83dde84efdae1df7\/thumb-praia-maria-luisa-2-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()})}}();