var _i_=this._i_||function(){},_r_=this._r_||function(t){return t};!function(){"use strict";_i_("0da:485c2826");var g=function(){_i_("0da:610c6112");var t,e=0;do{var i=0===e?"sp_widget":"sp_widget"+e;t=document.getElementById(i)}while(!t&&++e<=5);return _r_(t)}();if(!g)return _r_();var b,f,w=g.getAttribute("data-hash"),p=+new Date;if(!w)return function(t){_i_("0da:84077c30"),g&&g.getAttribute("debug")&&alert(t);_r_()}("Error: You need a hash code"),_r_();function t(e){var i,a,t,r;_i_("0da:d5c0e2c1");try{i=JSON.parse(e.data)}catch(t){i=e.data}if(!/.booking.com$/i.test(e.origin))return _r_();switch(i.what){case"resize":i.width&&i.height&&p===(Number(i.fid)||0)&&(t=i.width,r=i.height,_i_("0da:f8f430c5"),b.width=t,b.height=r,_r_());break;case"watchSize":_i_("0da:a7d073a6"),setInterval(function(){_i_("0da:de122007");var t=document.body.offsetWidth;a!==t&&(f<t||a<t)&&b.width!=f&&(b.width=f),a=t,_r_()},1e3),_r_();break;case"setAttributes":b.setAttribute("title",i.title),b.setAttribute("aria-label",i.title),b.setAttribute("lang",i.lang);break;case"load":p===(Number(i.fid)||0)&&n()}"prodLoaded"===i.message&&function(t){if(_i_("0da:46403047"),p!==(Number(t.fid)||0))return _r_();n(),_r_()}(i.data),_r_()}function n(){_i_("0da:52987ddd"),function t(){_i_("0da:319ad18a");if(function(){if(_i_("0da:712c2b3a"),!b.getBoundingClientRect)return _r_(!0);var t=b.getBoundingClientRect(),e=window.innerHeight||document.documentElement.clientHeight,i=window.innerWidth||document.documentElement.clientWidth;return _r_(t.top<e&&0<t.right&&t.left<i&&!(0===t.top&&0===t.right&&0===t.bottom&&0===t.left))}())return _i_("0da:1cb72f1b"),b.contentWindow.postMessage("Widget:InViewport","*"),_r_(),_r_();setTimeout(t,200);_r_()}(),_r_()}_i_("0da:4155a611"),window.addEventListener?window.addEventListener("message",t,!1):window.attachEvent("onmessage",t),_r_(),function(){_i_("0da:c2d3787d");var t=/^\w+-app\.dev\.booking\.com$/.test(document.location.host)?document.location.host:"www.booking.com";t=g.hasAttribute("data-b-host")?g.getAttribute("data-b-host"):t;var e=1<g.src.split("?").length?g.src.split("?")[1]:"",i="https://"+t+"/"+w+"?fid="+p+"&"+e,a=document.getElementById(g.getAttribute("data-container")),r=g.getAttribute("data-size")||"",n=g.getAttribute("data-tpncy"),d=g.getAttribute("data-hash-tablet"),o=g.getAttribute("data-tablet-size"),s=g.getAttribute("data-hash-mob"),_=g.getAttribute("data-mob-size"),h=g.getAttribute("data-disable-max-width");function u(t){return _i_("0da:e3c26a43"),_r_(-1===t.indexOf("%")?parseInt(t):t)}if(b=document.createElement("iframe"),r)r=r.replace(/\u00D7/g,"x").split("x"),b.width=f=u(r[0]),b.height=u(r[1]);else if(a)b.width=f=a.offsetWidth,b.height=a.offsetHeight;else{var c=g.parentNode;b.width=f=c.offsetWidth,b.height=c.offsetHeight}var l=window.outerWidth;(d||s)&&(o||_)&&(o=o.split("x"),_=_.split("x"),l<=parseInt(o[0],10)&&l>parseInt(_[0],10)?(i="https://"+t+"/"+d+(0<e.length?"?"+e:""),b.width=f=parseInt(o[0],10),b.height=parseInt(o[1],10)):l<=parseInt(_[0],10)&&(i="https://"+t+"/"+s+(0<e.length?"?"+e:""),b.width=f=parseInt(_[0],10),b.height=parseInt(_[1],10))),i+="&dsize="+r+"&dtpncy="+(n||"")+"&dtsize="+(o||"")+"&dmsize="+(_||""),b.src=i,h?b.style.width="100%":b.style.maxWidth="100%",b.setAttribute("frameborder","0"),b.setAttribute("scrolling","no"),b.setAttribute("title","Hotel Section"),b.setAttribute("aria-label","Hotel Section"),b.setAttribute("marginheight","0"),b.setAttribute("marginwidth","0"),n&&b.setAttribute("allowtransparency",n),b.setAttribute("sandbox","allow-scripts allow-forms allow-popups allow-same-origin"),a?a.appendChild(b):g.parentNode.appendChild(b),g.parentNode.removeChild(g),_r_()}(),_r_()}();