1(self.webpackChunkyotel=self.webpackChunkyotel||[]).push([[9514],{283:()=>{function t(o){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(o)}function o(o,n){for(var e=0;e<n.length;e++){var i=n[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(o,(void 0,r=function(o,n){if("object"!==t(o)||null===o)return o;var e=o[Symbol.toPrimitive];if(void 0!==e){var i=e.call(o,"string");if("object"!==t(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(o)}(i.key),"symbol"===t(r)?r:String(r)),i)}var r}!function(t,n){var e=function(){function t(o){!function(t,o){if(!(t instanceof o))throw new TypeError("Cannot call a class as a function")}(this,t),this.button=o,this.data=this.button.dataset,this.initButton()}var n,e,i;return n=t,i=[{key:"init",value:function(t){return new this(t)}}],(e=[{key:"initButton",value:function(){var t=this;this.button.addEventListener("click",(function(o){switch(o.preventDefault(),t.data.bookingPlatform){case"snt":case"synxis":case"hilton":case"mews":window.open(t.data.href,"_blank");break;case"selfbook":t.openSelfbookWidget(t.data.hotelId);break;default:console.warn("Unknown booking platform:",t.data.bookingPlatform)}}))}},{key:"openSelfbookWidget",value:function(t){bookNow({hotelId:t})}}])&&o(n.prototype,e),i&&o(n,i),Object.defineProperty(n,"prototype",{writable:!1}),t}();t.behaviors.yotelBookNowButton={attach:function(t){n("yotel-book-now-button",".yotel-book-now-button",t).forEach((function(t){return e.init(t)}))}}}(Drupal,once)}},t=>{t(t.s=283)}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.