1/*! For license information please see 424.ca338f9aa52cc92e.js.LICENSE.txt */ 2"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[424],{1831:(t,e,a)=>{a.d(e,{Z:()=>r});var i=a(3645),n=a.n(i)()(function(t){return t[1]});n.push([t.id,".book-card__selected-dates[data-v-3a418965]{display:flex;justify-content:space-between;margin-top:8px}.book-card__date[data-v-3a418965]{text-align:left}.book-card__date--right[data-v-3a418965]{text-align:right}.book-card__date .date[data-v-3a418965]{font-weight:600}.book-card__date .day[data-v-3a418965]{color:#777;font-size:13px}",""]);const r=n},8746:(t,e,a)=>{a.r(e),a.d(e,{default:()=>ft});var i=a(821);function n(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return r(t,e);var a={}.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?r(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,i=Array(e);a<e;a++)i[a]=t[a];return i}var o=["value"],l=["value"],s=["name","value"],u=["name","value"],c=["name","value"],d=["name","value"],v=["value"],m={class:"book-card__calendar-wrapper d-block d-lg-none",id:"booking-section"},b={key:0,class:"travel-plan__loader travel-plan__loader--bookcard"},f={key:0},h={class:"book-card__selected-dates mb-3"},p={class:"book-card__date"},y={class:"date"},g={class:"day"},_={class:"book-card__date book-card__date--right"},k={class:"date"},A={class:"day"},D={key:1,class:"book-card__not-available-msg"},w={key:2,class:"book-card__discount-banner"},S={class:"book-card__discount-badge bg-transparent"},C={class:"fw-normal"},L={class:"book-card__options"},T={class:"bg-light text-dark d-inline-flex rounded justify-content-left align-items-center p-2",style:{height:"40px"}},I={key:3,class:"rooms__disabled-message-top mb-2"},O={key:4},x={class:"d-grid gap-2"},P={class:"book-card__total"},q={class:"book-card__total-price"},H={class:"book-card__total-price-left"},R={key:0,class:"book-card__total-price--original"},j={class:"book-card__total-price-values"},Y={key:0,class:"book-card__total-price--savings"},z={class:"book-card__total-price--current"},F={key:0,class:"text-start book-card__warning"};var M=a(7484),U=a.n(M),N=a(9212),B=a.n(N),W=a(178),G=a.n(W),E=a(9669),V=a.n(E),Z=a(2792),K=a(6492),$=a(6507),J=a(7170),Q=a(9099),X=a(8721),tt=a(3205),et=a(8093),at=a(2089),it=a(7780);function nt(t){return function(t){if(Array.isArray(t))return rt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return rt(t,e);var a={}.toString.call(t).slice(8,-1);return"Object"===a&&t.constructor&&(a=t.constructor.name),"Map"===a||"Set"===a?Array.from(t):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?rt(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function rt(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,i=Array(e);a<e;a++)i[a]=t[a];return i}function ot(){var t,e,a="function"==typeof Symbol?Symbol:{},i=a.iterator||"@@iterator",n=a.toStringTag||"@@toStringTag";function r(a,i,n,r){var s=i&&i.prototype instanceof l?i:l,u=Object.create(s.prototype);return lt(u,"_invoke",function(a,i,n){var r,l,s,u=0,c=n||[],d=!1,v={p:0,n:0,v:t,a:m,f:m.bind(t,4),d:function(e,a){return r=e,l=0,s=t,v.n=a,o}};function m(a,i){for(l=a,s=i,e=0;!d&&u&&!n&&e<c.length;e++){var n,r=c[e],m=v.p,b=r[2];a>3?(n=b===i)&&(s=r[(l=r[4])?5:(l=3,3)],r[4]=r[5]=t):r[0]<=m&&((n=a<2&&m<r[1])?(l=0,v.v=i,v.n=r[1]):m<b&&(n=a<3||r[0]>i||i>b)&&(r[4]=a,r[5]=i,v.n=b,l=0))}if(n||a>1)return o;throw d=!0,i}return function(n,c,b){if(u>1)throw TypeError("Generator is already running");for(d&&1===c&&m(c,b),l=c,s=b;(e=l<2?t:s)||!d;){r||(l?l<3?(l>1&&(v.n=-1),m(l,s)):v.n=s:v.v=s);try{if(u=2,r){if(l||(n="next"),e=r[n]){if(!(e=e.call(r,s)))throw TypeError("iterator result is not an object");
2if(!e.done)return e;s=e.value,l<2&&(l=0)}else 1===l&&(e=r.return)&&e.call(r),l<2&&(s=TypeError("The iterator does not provide a '"+n+"' method"),l=1);r=t}else if((e=(d=v.n<0)?s:a.call(i,v))!==o)break}catch(e){r=t,l=1,s=e}finally{u=1}}return{value:e,done:d}}}(a,n,r),!0),u}var o={};function l(){}function s(){}function u(){}e=Object.getPrototypeOf;var c=[][i]?e(e([][i]())):(lt(e={},i,function(){return this}),e),d=u.prototype=l.prototype=Object.create(c);function v(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,u):(t.__proto__=u,lt(t,n,"GeneratorFunction")),t.prototype=Object.create(d),t}return s.prototype=u,lt(d,"constructor",u),lt(u,"constructor",s),s.displayName="GeneratorFunction",lt(u,n,"GeneratorFunction"),lt(d),lt(d,n,"Generator"),lt(d,i,function(){return this}),lt(d,"toString",function(){return"[object Generator]"}),(ot=function(){return{w:r,m:v}})()}function lt(t,e,a,i){var n=Object.defineProperty;try{n({},"",{})}catch(t){n=0}lt=function(t,e,a,i){function r(e,a){lt(t,e,function(t){return this._invoke(e,a,t)})}e?n?n(t,e,{value:a,enumerable:!i,configurable:!i,writable:!i}):t[e]=a:(r("next",0),r("throw",1),r("return",2))},lt(t,e,a,i)}function st(t,e,a,i,n,r,o){try{var l=t[r](o),s=l.value}catch(t){return void a(t)}l.done?e(s):Promise.resolve(s).then(i,n)}function ut(t){return function(){var e=this,a=arguments;return new Promise(function(i,n){var r=t.apply(e,a);function o(t){st(r,i,n,o,l,"next",t)}function l(t){st(r,i,n,o,l,"throw",t)}o(void 0)})}}U().extend(B()),U().extend(G());const ct={name:"BookCardHotelMobile",mixins:[it.J],components:{Calendar:K.default,ArrowRightIcon:$.Z,ChevronLeftIcon:J.Z,BlockingButton:Q.default,Rooms:Z.Z},props:{id:{type:String,required:!0},title:{type:String,required:!1},commerce_id:{type:String,required:!0},commerce_property_code:{type:String,required:!0},type:{type:String,required:!0},activity_products:{type:Object,required:!1},hotel_products:{type:Object,required:!1},csrf:{type:String},mobile:{type:Boolean,default:!1},from_price:{type:Number,required:!1},currency_symbol:{type:String,required:!0},accommodation_types:{type:String,required:!1,default:""},cms_discount:{type:Object,required:!1}},data:function(){return{endpoints:{availabilityHotel:"/api/v1/availabilityHotel",availableDatesHotel:"/api/v1/availableDatesHotel"},available:{from:null,to:null},travelers:{adults:2,children:0,childrenAges:[],customerAges:[25,25],quantity:0},isAvailabilitiesLoading:!1,isAvailableDatesLoading:!1,isInitialLoadDone:!1,userHasSelectedDate:!1,showDateWarning:!1,isAvailable:!0,availableDates:[],timeOutId:!1,rooms:[],price:0,isRoomSelectionDisabled:!1,priceGroupsSelectedItems:{},firstAvailableDate:void 0,wasGetFromSessionStorage:!1,isAutoUpdatingDate:!1,roomAvailabilityNumber:1,consumerAttributes:[]}},methods:{submit:function(){this.isAvailabilitiesLoading=!0,(0,at.vA)(this.id,this.totalPrice,this.travelers,this.available.from)},getAvailabilities:function(t){var e=this;return ut(ot().m(function a(){var i,n,r,o,l,s,u,c,d,v;return ot().w(function(a){for(;;)switch(a.p=a.n){case 0:if(e.isAvailable=!0,e.isAvailabilitiesLoading=!0,e.emitUpdateSelectedDates(),e.isActivity){a.n=2;break}if(i=U()(e.available.from).format("YYYY-MM-DD"),n=U()(e.available.to).format("YYYY-MM-DD"),e.available.from&&e.available.to){a.n=1;break}return e.isAvailabilitiesLoading=!1,a.a(2);case 1:if(i!==n){a.n=2;break}return e.isAvailabilitiesLoading=!1,a.a(2);case 2:return r=e.endpointData(t),a.p=3,a.n=4,V().get(null==r||null===(o=r.url)||void 0===o?void 0:o.availability,{params:null==r||null===(l=r.payload)||void 0===l?void 0:l.availability});case 4:if(0!==(null==(d=a.v)||null===(s=d.data)||void 0===s||null===(s=s.data)||void 0===s||null===(s=s.items)||void 0===s?void 0:s.length)){a.n=5;break}return e.isAvailable=!1,a.a(2);case 5:v=null==d||null===(u=d.data)||void 0===u?void 0:u.data,e.emitUpdateRooms({availability:null==v?void 0:v.items,travelers:e.travelers,currencySymbol:null==v||null===(c=v.currency)||void 0===c?void 0:c.symbol,priceSpecifications:(null==v?void 0:v.priceSpecifications)||[]}),e.isCabinOrApartment&&e.emitter.emit("autoSelectFirstRoom"),a.n=7;break;case 6:a.p=6,a.v,e.isAvailable=!1;case 7:return a.p=7,e.isAvailabilitiesLoading=!1,e.emitIsAvailable(e.isAvailable),a.f(7);case 8:return a.a(2)}},a,null,[[3,6,7,8]])}
2))()},searchWithValidation:function(){var t=this;this.userHasSelectedDate?(this.showDateWarning=!1,this.scrollToRoomSection(),this.$nextTick(function(){t.getAvailabilities()})):this.showDateWarning=!0},scrollToRoomSection:function(){this.$nextTick(function(){var t=document.getElementById("hotel-room-main-section");t&&t.scrollIntoView({behavior:"smooth",block:"start"})})},emitUpdateSelectedDates:function(){this.emitter.emit("updateSelectedDates",this.available)},emitUpdateRooms:function(t){this.emitter.emit("updateRooms",t)},emitAvailabilitiesLoading:function(t){this.emitter.emit("availabilitiesLoading",t)},emitAvailableDatesLoading:function(t){this.emitter.emit("availableDatesLoading",t)},emitIsAvailable:function(t){this.emitter.emit("isAvailable",t)},getAvailableDates:function(t){var e=this;return ut(ot().m(function a(){var i,n,r,o,l,s,u,c;return ot().w(function(a){for(;;)switch(a.p=a.n){case 0:return e.firstAvailableDate=void 0,e.isAvailableDatesLoading=!0,i=e.endpointData(t),a.p=1,a.n=2,V().get(null==i||null===(n=i.url)||void 0===n?void 0:n.availableDates,{params:null==i||null===(r=i.payload)||void 0===r?void 0:r.availableDates});case 2:if(0!==(null==(s=a.v)||null===(o=s.data)||void 0===o||null===(o=o.data)||void 0===o?void 0:o.dates.length)){a.n=3;break}return e.isAvailable=!1,a.a(2);case 3:if(e.availableDates=null==s||null===(l=s.data)||void 0===l||null===(l=l.data)||void 0===l?void 0:l.dates,!t){a.n=7;break}if(e.wasGetFromSessionStorage){a.n=5;break}if(!(u=e.getFirstAvailableDate())){a.n=4;break}return e.firstAvailableDate=u,a.n=4,e.getAvailabilities(u);case 4:a.n=6;break;case 5:return a.n=6,e.getAvailabilities();case 6:a.n=8;break;case 7:if(!(c=e.getFirstAvailableDate())){a.n=8;break}if(e.isHotelType){a.n=8;break}if(e.available={from:c,to:c},e.userHasSelectedDate=!0,e.isActivity){a.n=8;break}return a.n=8,e.getAvailabilities(c);case 8:e.isInitialLoadDone=!0,a.n=10;break;case 9:a.p=9,a.v,e.isAvailable=!1;case 10:return a.p=10,e.isAvailableDatesLoading=!1,a.f(10);case 11:return a.a(2)}},a,null,[[1,9,10,11]])}))()},getFirstAvailableDate:function(){var t="";return this.availableDates.some(function(e){if(U()(e).isSameOrAfter(U()().utc().format(),"day"))return t=e,!0}),t},getNextAvailableDate:function(t){var e="";return this.availableDates.some(function(a){if(U()(a).isAfter(U()(t),"day"))return e=a,!0}),e},endpointData:function(t){var e;return{url:{availability:this.endpoints.availabilityHotel,availableDates:this.endpoints.availableDatesHotel},payload:{availability:{property_code:this.commerce_property_code,date_from:U()(null!=t?t:this.available.from).format(),date_to:this.shouldUseDateToInRequest?U()(this.available.to).format():null,customer_ages:this.getTotalCustomerAges(this.travelers),consumer_attributes:this.consumerAttributes,from_calendar:1},availableDates:{property_code:this.commerce_property_code,date_from:null!=t?t:U()(this.available.from).format(),customer_ages:null===(e=this.travelers)||void 0===e?void 0:e.customerAges}}}},emitRoomsConfig:function(){var t=Array.isArray(this.travelers)?this.travelers:[];this.emitter.emit("roomsConfig",{count:t.length||1,travelers:t,consumerAttributes:this.consumerAttributes})},selectedRoomsChange:function(t,e){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];this.travelers=e,this.consumerAttributes=a,this.emitRoomsConfig()},getTotalCustomerAges:function(t){return Array.isArray(t)?t.flatMap(function(t){return t.customerAges||[]}):[]},proceedToBooking:function(){window.dispatchEvent(new Event("book-mobile-submit"))}},computed:{isLoading:function(){return this.isAvailabilitiesLoading||this.isAvailableDatesLoading},shouldUseDateToInRequest:function(){return!!this.available.to&&!this.isSameDateFromDateTo},isSameDateFromDateTo:function(){return new Date(this.available.from).toISOString().slice(0,10)===new Date(this.available.to).toISOString().slice(0,10)},isActivity:function(){return this.type===tt.gk},isHotelType:function(){return this.type===tt.IN},isPackage:function(){return this.type===tt.iR},isCabin:function(){return this.type===tt.D8},isCabinOrApartment:function(){var t=(this.accommodation_types||"").toLowerCase();return"cabin"===t||"apartment"===t}
2,unitLabelPlural:function(){return this.isCabinOrApartment?"Unit":"Rooms"},unitLabel:function(){return this.isCabinOrApartment?"unit":"room"},hotelType:function(){return tt.IN},hotelStayLength:function(){var t=this.hotel_products[0];return Math.max(t.hotel_to.value-t.hotel_from.value+1,1)},isBookable:function(){if(!this.isAvailable)return!1;if(!this.rooms.length&&this.isHotelType)return!1;if(this.isCabinOrApartment)return this.rooms.length>0;var t=Array.isArray(this.travelers)?this.travelers.length:0,e=this.rooms.length;return 0!==t&&0!==e&&e===t},totalPrice:function(){var t=this;return this.items.reduce(function(e,a){return a.type===tt.IN?e+parseFloat(a.price||0):t.price},0)},totalOriginalPrice:function(){if(!this.isHotelType)return null;var t=this.items.reduce(function(t,e){var a;if(e.type!==tt.IN)return t;var i=null!==(a=e.original_price)&&void 0!==a?a:e.price;return t+parseFloat(i||0)},0);return t>this.totalPrice?t:null},formattedPrice:function(){return this.totalPrice<=0?"--":Number(this.totalPrice).toFixed(2)},items:function(){return nt(this.rooms.map(function(t){return t.type=tt.IN,t}))},availableComputed:function(){return{from:U()(this.firstAvailableDate).format(),to:U()().format()}},formattedCheckInDate:function(){var t;return null!==(t=this.available)&&void 0!==t&&t.from?U()(this.available.from).format("MMM DD, YYYY"):""},formattedCheckInDay:function(){var t;return null!==(t=this.available)&&void 0!==t&&t.from?U()(this.available.from).format("dddd"):""},formattedCheckOutDate:function(){var t;return null!==(t=this.available)&&void 0!==t&&t.to?U()(this.available.to).format("MMM DD, YYYY"):""},formattedCheckOutDay:function(){var t;return null!==(t=this.available)&&void 0!==t&&t.to?U()(this.available.to).format("dddd"):""},travelerTotals:function(){return Array.isArray(this.travelers)?this.travelers.reduce(function(t,e){return t.adults+=e.adults||0,t.children+=e.children||0,t},{adults:0,children:0,rooms:this.travelers.length}):{adults:0,children:0,rooms:0}}},watch:{available:{deep:!1,handler:function(){var t=this;this.isInitialLoadDone&&(this.userHasSelectedDate=!0),!this.isInitialLoadDone&&this.isHotelType||(this.isInitialLoadDone&&this.isHotelType&&this.emitter.emit("calendarChanged"),this.timeOutId=(0,X.xj)(this.timeOutId,function(){t.isLoading},300))}},userHasSelectedDate:{deep:!1,handler:function(t){!0===t&&(this.showDateWarning=!1)}},isAvailabilitiesLoading:{handler:function(){this.emitAvailabilitiesLoading(this.isAvailabilitiesLoading)}},isAvailableDatesLoading:{handler:function(){this.emitAvailableDatesLoading(this.isAvailableDatesLoading)}}},beforeMount:function(){var t=(0,X.Kk)("available"),e=(0,X.Kk)("travelers");t&&!this.isHotelType&&(this.available=(0,X.Kk)("available"),this.wasGetFromSessionStorage=!0),e&&(this.travelers.adults=null==e?void 0:e.adults,this.travelers.children=null==e?void 0:e.children,null!=e&&e.childrenAges&&(this.travelers.childrenAges=null==e?void 0:e.childrenAges),null!=e&&e.customerAges&&(this.travelers.customerAges=null==e?void 0:e.customerAges)),window.removeEventListener("book-mobile-submit",this.handleSubmit)},mounted:function(){var t=this;window.addEventListener("book-mobile-submit",this.handleSubmit),this.emitter.on("roomsChosen",function(e){t.rooms=e}),this.emitter.on("requestRoomsConfig",function(){t.emitRoomsConfig()}),this.emitter.on("roomSelectionDisabled",function(e){t.isRoomSelectionDisabled=e}),(0,et.x)(this.mobile)&&this.getAvailableDates()}};var dt=a(3379),vt=a.n(dt),mt=a(1831),bt={insert:"head",singleton:!1};vt()(mt.Z,bt);mt.Z.locals;const ft=(0,a(3744).Z)(ct,[["render",function(t,e,a,r,M,U){var N=this,B=(0,i.up)("Calendar"),W=(0,i.up)("ArrowRightIcon"),G=(0,i.up)("Rooms"),E=(0,i.up)("BlockingButton");return(0,i.wg)(),(0,i.iD)("form",{onSubmit:e[4]||(e[4]=function(){return U.submit&&U.submit.apply(U,arguments)}),method:"POST",action:"/booking/addToCartBatch",id:"mobile-booking-form"},[(0,i._)("input",{style:{display:"none"},type:"text",name:"id",value:a.id},null,8,o),(0,i._)("input",{style:{display:"none"},type:"text",name:"type",value:a.type},null,8,l),((0,i.wg)(!0),(0,i.iD)(i.HY,null,(0,i.Ko)(U.items,function(t,e){var a;return(0,i.wg)(),(0,i.iD)(i.HY,{key:e},[t.type===U.hotelType?((0,i.wg)(),(0,i.iD)(i.HY,{key:0},[(0,i._)("input",{style:{display:"none"},type:"text",name:"items[".concat(e,"][cenium_availability_id]"),value:t.cenium_availability_id},null,8,s),(0,i._)("input",{style:{display:"none"},type:"text",name:"items[".concat(e,"][travelers]"),value:t.travelers},null,8,u),(0,i._)("input",{type:"hidden",name:"items[".concat(e,"][discounted_price]"),value:t.price},null,8,c),(0,i._)("input",{type:"hidden",name:"items[".concat(e,"][original_price]"),value:null!==(a=t.original_price)&&void 0!==a?a:""},null,8,d)],64)):(0,i.kq)("",!0)],64)}),128)),(0,i._)("input",{style:{display:"none"},type:"text",name:"_token",value:a.csrf},null,8,v),(0,i._)("div",{class:(0,i.C_)(["book-card__content",a.mobile&&"book-card__content--mobile"])},[(0,i._)("div",m,[(0,i.Wm)(i.uT,{name:"fade"},{default:(0,i.w5)(function(){return[U.isLoading?((0,i.wg)(),(0,i.iD)("div",b,n(e[5]||(e[5]=[(0,i._)("span",{class:"travel-plan__loader-title"},"Loading...",-1),(0,i._)("span",{class:"loader"},null,-1)])))):(0,i.kq)("",!0)]}),_:1}),(0,i.Wm)(B,{class:(0,i.C_)(["book-card__calendar","filter__calendar",a.mobile&&"filter__calendar--mobile"]),modelValue:t.available,"onUpdate:modelValue":e[0]||(e[0]=function(e){return t.available=e}),availableDates:t.availableDates,onGetAvailableDates:U.getAvailableDates,availableComputed:U.availableComputed,ranged:!0,dayCount:U.isPackage?U.hotelStayLength:null,hideSelection:!t.userHasSelectedDate},null,8,["class","modelValue","availableDates","onGetAvailableDates","availableComputed","dayCount","hideSelection"])]),t.userHasSelectedDate&&t.isAvailable&&t.available.from&&t.available.to?((0,i.wg)(),(0,i.iD)("div",f,[e[6]||(e[6]=(0,i._)("p",{class:"text-muted"},"Check - in / Check - out.",-1)),(0,i._)("div",h,[(0,i._)("div",p,[(0,i._)("div",y,(0,i.zw)(U.formattedCheckInDate),1),(0,i._)("div",g,(0,i.zw)(U.formattedCheckInDay),1)]),(0,i.Wm)(W,{width:"28",height:"18"}),(0,i._)("div",_,[(0,i._)("div",k,(0,i.zw)(U.formattedCheckOutDate),1),(0,i._)("div",A,(0,i.zw)(U.formattedCheckOutDay),1)])]),e[7]||(e[7]=(0,i._)("hr",null,null,-1))])):(0,i.kq)("",!0),t.isAvailable||t.isAutoUpdatingDate?(0,i.kq)("",!0):((0,i.wg)(),(0,i.iD)("div",D,n(e[8]||(e[8]=[(0,i._)("span",{style:{"font-size":"12px","font-weight":"200"}},"Not available for the selected dates.",-1)])))),t.parsedCmsDiscount&&t.bookingValidDateCheck?((0,i.wg)(),(0,i.iD)("div",w,[(0,i._)("span",S,[(0,i._)("span",null,(0,i.zw)(t.parsedCmsDiscount.amount)+"% DISCOUNT - ",1),(0,i._)("span",C,"Travel dates: "+(0,i.zw)(t.formattedTravelDates),1)])])):(0,i.kq)("",!0),(0,i._)("div",L,[(0,i.Wm)(G,{rooms_availability_number:this.roomAvailabilityNumber,"onUpdate:rooms_availability_number":e[1]||(e[1]=function(t){return N.roomAvailabilityNumber=t}),accommodation_types:a.accommodation_types,children_ages:this.travelers.childrenAges,selected_rooms_count:t.rooms.length,onSelectedRoomsChange:e[2]||(e[2]=function(t,e){return U.selectedRoomsChange(null,t,e)}),class:"room-variant__rooms"},null,8,["rooms_availability_number","accommodation_types","children_ages","selected_rooms_count"]),(0,i._)("div",T,(0,i.zw)(U.travelerTotals.rooms)+" "+(0,i.zw)(U.unitLabelPlural)+", "+(0,i.zw)(U.travelerTotals.adults)+" Adults, "+(0,i.zw)(U.travelerTotals.children)+" Children ",1)]),t.isRoomSelectionDisabled?((0,i.wg)(),(0,i.iD)("div",I,n(e[9]||(e[9]=[(0,i._)("small",{class:"text-start book-card__warning"},[(0,i.Uk)(" Please click "),(0,i._)("strong",null,'"Search"'),(0,i.Uk)(" for new availability. ")],-1)])))):(0,i.kq)("",!0),t.showDateWarning?((0,i.wg)(),(0,i.iD)("div",O,n(e[10]||(e[10]=[(0,i._)("small",{class:"text-start book-card__warning"}," * Choose your check-in and check-out dates. ",-1)])))):(0,i.kq)("",!0),(0,i._)("div",x,[(0,i._)("button",{type:"button",class:"btn bg-danger text-white d-inline-flex rounded justify-content-center align-items-center p-2",onClick:e[3]||(e[3]=function(t){return U.searchWithValidation()})}," Search ")]),(0,i._)("div",P,[(0,i._)("div",q,[(0,i._)("div",H,[e[11]||(e[11]=(0,i._)("span",null,"Total:",-1)),U.totalOriginalPrice?((0,i.wg)(),(0,i.iD)("span",R,(0,i.zw)(a.currency_symbol)+" "+(0,i.zw)(U.totalOriginalPrice.toFixed(2)),1)):(0,i.kq)("",!0)]),(0,i._)("div",j,[U.totalOriginalPrice?((0,i.wg)(),(0,i.iD)("span",Y," You save "+(0,i.zw)(a.currency_symbol)+" "+(0,i.zw)((U.totalOriginalPrice-U.totalPrice).toFixed(2)),1)):(0,i.kq)("",!0),(0,i._)("span",z,(0,i.zw)(a.currency_symbol)+" "+(0,i.zw)(U.formattedPrice),1)])]),t.userHasSelectedDate&&t.isAvailable&&!t.rooms.length&&!t.isAvailabilitiesLoading?((0,i.wg)(),(0,i.iD)("div",F," Please select at least one hotel "+(0,i.zw)(U.unitLabel),
21)):(0,i.kq)("",!0)])],2),(0,i.Wm)(E,{disabled:!U.isBookable,id:"hotel-booking-button-mobile",type:"submit",class:(0,i.C_)(["mobile-only","book-card__btn","book-card__btn--book-newmobile",!U.isBookable&&"book-card__btn--book-disabled"])},{default:(0,i.w5)(function(){return[e[12]||(e[12]=(0,i._)("span",null,"Book now ",-1)),(0,i.Wm)(W,{width:"28",height:"18"})]}),_:1},8,["disabled","class"])],32)}],["__scopeId","data-v-3a418965"]])}}]);
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.