1"use strict";(self.webpackChunkyotel=self.webpackChunkyotel||[]).push([[4286],{8303:()=>{function t(t,r){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,r){if(t){if("string"==typeof t)return e(t,r);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,r):void 0}}(t))||r&&t&&"number"==typeof t.length){n&&(t=n);var o=0,i=function(){};return{s:i,n:function(){return o>=t.length?{done:!0}:{done:!1,value:t[o++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,c=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return u=t.done,t},e:function(t){c=!0,a=t},f:function(){try{u||null==n.return||n.return()}finally{if(c)throw a}}}}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}var r=jQuery,n="is-active";const o={attach:function(e,o){var i=document.querySelectorAll("select");M.FormSelect.init(i),setTimeout((function(){document.querySelectorAll(".input-field").forEach((function(t){var e,r=t.querySelector("input.select-dropdown"),n=t.querySelector("label");if(r&&n){var o=(null===(e=n.querySelector(".visually-hidden"))||void 0===e?void 0:e.textContent.trim())||"",i=n.cloneNode(!0);i.querySelectorAll(".visually-hidden").forEach((function(t){return t.remove()}));var a=i.textContent.trim(),u="".concat(o," ").concat(a).trim();r.removeAttribute("readonly"),r.setAttribute("role","combobox"),r.setAttribute("aria-haspopup","listbox"),r.setAttribute("aria-label",u);var c=r.getAttribute("data-target");if(c&&r.setAttribute("aria-controls",c),c){var l=document.getElementById(c),s="none"!==window.getComputedStyle(l).display;r.setAttribute("aria-expanded",s?"true":"false")}}})),document.querySelectorAll("input.select-dropdown").forEach((function(t){var e=t.getAttribute("data-target"),r=document.getElementById(e);if(r){var n=function(){var e="none"!==window.getComputedStyle(r).display;t.setAttribute("aria-expanded",e?"true":"false")};t.addEventListener("click",n),t.addEventListener("focus",n),t.addEventListener("blur",(function(){setTimeout(n,150)})),new MutationObserver(n).observe(r,{attributes:!0,attributeFilter:["style","class"]})}}))}),100);var a=r(document),u=[],c=e.querySelectorAll("select");c.forEach((function(t){u.push(M.FormSelect.init(t,{}))})),setTimeout((function(){r('li[id^="select-options"]').on("touchend",(function(t){t.stopPropagation()}))}),500);var l=function(t){return t.querySelector("input").getAttribute("data-target")};a.on("CatchifyFormsLoaded",(function(){var e;(e=document.querySelectorAll(".yot-booking__cabin__rate-list"))&&(e.forEach((function(e){e.addEventListener("transitionend",(function(t){var r=t.propertyName,n=t.target;if("max-height"===r&&!n.classList.contains("is-active")){var o=e.querySelector("".concat(".yot-booking__cabin__rate__deselect",".is-active"));o&&o.click(),n.style.visibility="hidden"}})),new MutationObserver((function(r){var o,i=t(r);try{for(i.s();!(o=i.n()).done;)"attributes"===o.value.type&&e.classList.contains(n)&&(e.style.visibility="visible")}catch(t){i.e(t)}finally{i.f()}})).observe(e,{attributes:!0,attributeFilter:["class"]})})),e.forEach((function(e){var r=e.querySelector(".yot-booking__cabin__rate__select"),o=l(r),i=setInterval((function(){var t=l(r);if(o!==t){var e=r.querySelector("input");e&&e.setAttribute("tabindex","-1"),clearInterval(i)}}),100);new MutationObserver((function(e){var o,i=t(e);try{for(i.s();!(o=i.n()).done;){var a=o.value;if("attributes"===a.type){var u=a.target.querySelector("input"),c=r.classList.contains(n);u&&u.setAttribute("tabindex",c?"0":"-1")}}}catch(t){i.e(t)}finally{i.f()}})).observe(r,{attributes:!0,attributeFilter:["class"]})}))),c.forEach((function(t){!function(t){var e,r,n=t.closest(".input-field");if(n){var o=null===(e=n.querySelector("label"))||void 0===e||null===(r=e.textContent)||void 0===r?void 0:r.trim(),i=n.querySelector("select"),a=(M.FormSelect.getInstance(i),n.querySelector("input.select-dropdown"));a&&o&&(a.removeAttribute("readonly"),a.setAttribute("aria-label",o),a.setAttribute("readonly","true"))}}(t),"country"==t.autocomplete&&t.addEventListener("change",(function(t){setTimeout((function(){M.updateTextFields()}),2e3)}))}))}))}};function i(t){return i="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},i(t)}function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function u(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};
1e%2?a(Object(r),!0).forEach((function(e){c(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function c(t,e,r){return(e=function(t){var e=function(t,e){if("object"!==i(t)||null===t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,"string");if("object"!==i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"===i(e)?e:String(e)}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}window.Drupal.behaviors=u(u({},window.Drupal.behaviors),{},{select:o})}},t=>{t(t.s=8303)}]);
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.