https://yoyaku.kowakuen.com/page-OtaView-OtaSearchRooms-OtaFacilityRooms-vue.13c820ca92b127266e66.js
1(window.webpackJsonp=window.webpackJsonp||[]).push([[61],{1004:function(e,t,o){"use strict";var r=o(50);t.a={computed:{dateRangeFormatted:function dateRangeFormatted(){if(!Array.isArray(this.value))return this.value;var e=Array.isArray(this.value)?this.value[0]:null,t=Array.isArray(this.value)?this.value[1]:null,o=Object(r.v)(e,"YYYY/MM/DD"),n=Object(r.v)(t,"YYYY/MM/DD"),i="";return o.isValid()&&(i+="".concat(Object(r.k)(o,"YYYY/MM/DD","en"))),"single"===this.datePickerConfig.mode||n.isValid()&&(i+=" - ".concat(Object(r.k)(n,"YYYY/MM/DD","en"))),i}}}},1019:function(e,t,o){"use strict";var r=o(857),n=o(17),i=o(15),a=o(29),s=function getInventories(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return n.a.getData(Object(a.a)(Object(i.e)(e),t),{headers:o})},c=function getRates(e,t){var o=Object(a.a)(Object(i.f)(e),t);return n.a.getData(o)},l=o(50),d=o(72),u=o(40),h=o(206),m=o.n(h),p=o(864),v=o.n(p),g=o(868),b=o.n(g),y=o(20),f=o.n(y),_=o(122),P=o(258);function ownKeys(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(o,!0).forEach((function(t){_defineProperty(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ownKeys(o).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function _defineProperty(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}t.a={data:function data(){return{currentReservablePeriodEndDate:null}},computed:_objectSpread({},Object(u.d)({currentUser:"membership/getCurrentUser",currency:"setting/getCurrency",hotelId:"setting/getHotelId",canBookPreviousDay:"setting/canBookPreviousDay",isMultiRoomSearchEnabled:"setting/isMultiRoomSearchEnabled",siteController:"setting/getSiteController",isSupportCompanion:"setting/isSupportCompanion",adultCompanion:"membership/getAdultCompanion",kidCompanion:"membership/getKidCompanion",roomRateMap:"search/getRoomRateMap",promotionMap:"search/getPromotionMap",currentReservation:"booking/getReservationDetails",isLotteryEntry:"lottery/getIsLotteryEntry",lotteryEventSetting:"lottery/getLotteryEventSetting",isMcpMode:"mcp/isMcpMode",selectedCurrency:"mcp/selectedCurrency"}),{datePickerConfig:function datePickerConfig(){return{minDate:this.isLotteryEntry?this.lotteryEventSetting.stay_start_date:Object(l.i)(this.canBookPreviousDay?-1:0),maxDate:this.isLotteryEntry?Object(l.a)(this.lotteryEventSetting.stay_end_date,1):this.currentReservablePeriodEndDate?this.currentReservablePeriodEndDate:null,disableMobile:!0,plugins:[new r.InventoryPlugin({disabledDates:[],inventory:{},inventoryBackgroundColor:"#2C008C",inventoryColor:"#FFFFFF",selectedDatesColor:"#F47F16",selectedDatesRangeColor:"rgba(244,127,22,0.2)",roomsLeftLabel:this.$t("calendar.roomsLeft"),selectedLabel:this.$t("calendar.selected"),unavailableLabel:this.$t("calendar.unavailable"),fullyBookedLabel:this.$t("calendar.fullyBooked"),currencyLabel:this.$t("multipleCurrency.currency"),forbiddenLabel:"",maxInventoryNumber:10,currency:this.currency,mcpCurrency:this.selectedCurrency,size:this.isUndated?"lg":null,unselectableDisableDates:this.unselectableDisableDates||!1,deleteIcon:"https://s3-ap-northeast-1.amazonaws.com/triplabot-production/SearchBar/images/delete-img.svg"})],onMonthChange:[this.handleDatePickerMonthChange],onOpen:[this.handleDatePickerOpen]}},childrenTotalPerRoom:function childrenTotalPerRoom(){var e,t,o,r;return this.isTiersMode&&!this.$preview?null===(e=this.searchForm)||void 0===e||null===(t=e.kidsTiers)||void 0===t?void 0:t.reduce((function(e,t){return e+t.children}),0):(null===(o=this.searchForm)||void 0===o||null===(r=o.rooms[0])||void 0===r?void 0:r.children)||0},inventoryMarginDays:function inventoryMarginDays(){return"tl_lincon"!==this.siteController?14:0}}),methods:{handleDatePickerMonthChange:function handleDatePickerMonthChange(e,t,o){this.noInventorySearch||this.getInventories(o.currentYear,o.currentMonth,o)},handleDatePickerOpen:function handleDatePickerOpen(e,t,o){this.noInventorySearch||this.getInventories(o.currentYear,o.currentMonth,o)},getRates:function getRates(e,t,o){var r,n,i,a,s,l,d,u=this;c((null===(r=this.searchForm)||void 0===r?void 0:r.hotelId)||this.hotelId,_objectSpread({cache:window.triplaSettings.calendarCache,start_date:e,end_date:t,room_plan_code:null===(n=this.searchForm)||void 0===n?void 0:n.selectedRoomPlanCode,adults:this.isTiersMode&&!this.$preview?null===(i=this.searchForm)||void 0===i?void 0:i.adults:null===(a=this.searchForm)||void 0===a||null===(s=a.rooms[0])||void 0===s?void 0:s.adults,nights:null===(l=this.searchForm)||void 0===l?void 0:l.nights,children:this.childrenTotalPerRoom,coupon_code:null===(d=this.searchForm)||void 0===d?void 0:d.coupon_code},this.isTiersMode&&!this.$preview?{transform_kids_params:!1,kids_age_range:this.searchForm.kidsTiers.filter((function(e){return e.children})).map((function(e){return{code:e.code,count:e.children}}))}:{},{},this.isMcpMode?{mcp_currency:this.selectedCurrency}:{})).then((function(e){var t,r,n,i=u.isTiersMode?null===(t=u.searchForm)||void 0===t?void 0:t.room_count:null===(r=u.searchForm)||void 0===r||null===(n=r.rooms)||void 0===n?void 0:n.length,a=e.data.room_rates;u.$store.getters["setting/showPricesTaxIncluded"]||Object.keys(a).forEac
1h((function(e){a[e].rate=a[e].rate_without_tax})),u.$store.dispatch("search/setPromotionMap",e.data.promotions),Object.keys(a).forEach((function(e){a[e].inventory>=i?a[e].rate=u.getMcpPriceValue(a[e],"rate")*i:"available"===a[e].availability&&(a[e].rate=0,a[e].availability="unavailable")})),u.$store.dispatch("search/setRoomRateMap",a),e.data.reservable_period_end_date&&(u.currentReservablePeriodEndDate=e.data.reservable_period_end_date),o.set({dayPrice:u.roomRateMap})}))},getInventories:function getInventories(){var e,t,o,r,n,i,a,c,u,h,p,g,y=this,f=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Object(l.e)(),P=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Object(l.d)(),O=arguments.length>2?arguments[2]:void 0,k=(null===(e=this.searchForm)||void 0===e?void 0:e.is_day_use)?0:1,C=Object(l.j)(new Date(f,P,-this.inventoryMarginDays||1),"yyyy-mm-dd"),R=Object(l.j)(new Date(f,P+1,this.inventoryMarginDays),"yyyy-mm-dd"),j=Object(l.j)(new Date(f,P,1),"yyyy-mm");if(this.isUndated&&(null===(t=this.searchForm)||void 0===t?void 0:t.selectedRoomPlanCode))return this.getRates(C,R,O);var w={};(null===(o=this.searchForm)||void 0===o||null===(r=o.roomTypeCodes)||void 0===r?void 0:r.length)>0&&(w.room_type_code=null===(n=this.searchForm)||void 0===n?void 0:n.roomTypeCodes[0]),(null===(i=this.searchForm)||void 0===i||null===(a=i.hotelPlanCodes)||void 0===a?void 0:a.length)>0&&(w.hotel_plan_code=null===(c=this.searchForm)||void 0===c?void 0:c.hotelPlanCodes[0]),(null===(u=this.searchForm)||void 0===u?void 0:u.selectedRoomPlanCode)&&(w.room_plan_code=null===(h=this.searchForm)||void 0===h?void 0:h.selectedRoomPlanCode);var D=_objectSpread({cache:window.triplaSettings.calendarCache,start_date:C,end_date:R,nights:k},w),F=this.searchForm,I=F.lottery_event_uuid,S=F.lottery_access_token;if(I&&(D.lottery_event_uuid=I),S&&(D.lottery_access_token=S),"voucher"===(null===(p=this.searchForm)||void 0===p?void 0:p.mode)){var M;D=_objectSpread({},D,{reservation_no:null===(M=this.searchForm)||void 0===M?void 0:M.reservation_number,mode:"voucher"})}else{var $=m()(this.searchForm.rooms,(function(e){var t={};return y.$preview&&y.isSupportCompanion&&y.adultCompanion.is_active&&(t.adult_companion=e.adult_companion||0),y.$preview&&y.isSupportCompanion&&y.kidCompanion.is_active&&(t.kid_tier_A_companion=e.kid_tier_A_companion||0),_objectSpread({adults:e.adults,children:e.children,kids_age_range:Object(d.h)(e.kids_tiers||[])},w,{},t)}));if(!$.length){var E=_objectSpread({adults:this.searchForm.adults,children:v()(this.searchForm.kidsTiers,"children"),kids_age_range:m()(this.searchForm.kidsTiers.filter((function(e){return e.children})),(function(e){return{code:e.code,count:e.children}}))},w);$=b()(this.searchForm.room_count||1,(function(){return E}))}this.isMultiRoomSearchEnabled&&"tl_lincon"===this.siteController||($=$.slice(0,1)),D=_objectSpread({},D,{rooms:$,year_month:j})}s((null===(g=this.searchForm)||void 0===g?void 0:g.hotelId)||this.hotelId,D,this.currentReservation.booking_method===_.a.BOOKING_WIDGET_TO_TRIPLA_OTA?{"App-Version":"tripla-booking-widget/1.0"}:{}).then((function(e){var t=y.getFpConfig(e);O.set(t)}))},getFpConfig:function getFpConfig(e){return{inventory:e.inventory,disabledDates:e.disabled_dates,uncertain:e.uncertain,reservablePeriodEndDate:e.reservable_period_end_date,hideRoomLeftLabel:this.isLotteryEntry,hideTooltip:this.isLotteryEntry,hideInventoryBadge:this.isLotteryEntry}},formatField:function formatField(e){return Object(P.a)(e,this.isMcpMode)},getMcpPriceValue:function getMcpPriceValue(e,t,o){return f()(e,this.formatField(t),o)}}}},1020:function(e,t,o){},1054:function(e,t,o){"use strict";var r=o(123),n=o(857),i=o(50),a=o(1004);function ownKeys(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(o,!0).forEach((function(t){_defineProperty(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ownKeys(o).forEac
1h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function _defineProperty(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var s={name:"DateRangePicker",components:{DatePicker:n.DatePicker},mixins:[a.a],props:{config:{type:Object,default:function _default(){return{}}},disabled:{type:Boolean,default:!1},hiddenMode:{type:Boolean,default:!1},noInventorySearch:{type:Boolean,default:!1},showCalendarIcon:{type:Boolean,default:!1},showDateRangeLabel:{type:Boolean,default:!1},value:{type:[Array,Date,String],required:!0}},data:function data(){return{localValue:this.$clone(this.value),changeFromOutside:!1,events:["onDayCreate","onReady","onOpen","onClose","onMonthChange","onChange"]}},computed:{datePickerConfig:function datePickerConfig(){return _objectSpread({minDate:Object(i.f)(),maxDate:null,dateFormat:"Y/m/d",locale:_objectSpread({},Object(r.a)(this.$i18n.locale),{firstDayOfWeek:0,rangeSeparator:" - "})},this.config,{},this.$attrs)}},watch:{value:{handler:function handler(e){this.localValue=e,this.changeFromOutside=!0},immediate:!1}},methods:{onChange:function onChange(e){if(this.changeFromOutside)this.changeFromOutside=!1;else{var t=e.map((function(e){return Object(i.j)(e)}));if("single"===this.datePickerConfig.mode&&1===t.length)this.$emit("input",t);else if("range"===this.datePickerConfig.mode&&2===t.length){if(t[0]===t[1])return;this.$emit("input",t)}}},onClose:function onClose(e,t){this.$emit("onClose",{selectedDates:e,dateStr:t})}}},c=(o(1097),o(33)),l=Object(c.a)(s,(function render(){var e=this,t=e._self._c;return t("div",{attrs:{"data-cy":"date-range-picker"}},[e.showDateRangeLabel?t("div",{staticClass:"nowrap"},[e._v("\n "+e._s(e.dateRangeFormatted)+"\n ")]):e._e(),e._v(" "),t("date-picker",e._b({attrs:{config:e.datePickerConfig,"custom-class":[{"form-control calendar-input":e.showCalendarIcon,"ninja-hidden":e.hiddenMode}],events:e.events,disabled:e.disabled},on:{"on-close":e.onClose,"on-change":e.onChange},model:{value:e.localValue,callback:function callback(t){e.localValue=t},expression:"localValue"}},"date-picker",e.$attrs,!1))],1)}),[],!1,null,"57bd1dae",null);t.a=l.exports},1097:function(e,t,o){"use strict";o(1020)},1311:function(e,t,o){},1422:function(e,t,o){"use strict";o(1311)},879:function(e,t,o){"use strict";o.r(t);var r=o(1320),n=o(1342),i=o(1345),a=o(1346),s=o(1347),c=o(11),l=o(322),d=o(1094),u=o(1047),h=o(40),m=o(1013),p=o(88),v=o(156),g=o(72),b=o(1165),y=o(31),f=o(1200),_=o(1202),P=o(157);function _objectWithoutProperties(e,t){if(null==e)return{};var o,r,n=function _objectWithoutPropertiesLoose(e,t){if(null==e)return{};var o,r,n={},i=Object.keys(e);for(r=0;r<i.length;r++)o=i[r],t.indexOf(o)>=0||(n[o]=e[o]);return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(n[o]=e[o])}return n}function _toConsumableArray(e){return function _arrayWithoutHoles(e){if(Array.isArray(e)){for(var t=0,o=new Array(e.length);t<e.length;t++)o[t]=e[t];return o}}(e)||function _iterableToArray(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function ownKeys(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,r)}return o}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(o,!0).forEach((function(t){_defineProperty(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):ownKeys(o).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function _defineProperty(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}var O={name:"OtaFacilityRooms",components:{RoomViewList:n.a,RoomType:r.a,SelectedBar:s.a,GalleryModal:d.a,PlanDetailsModal:i.a,RoomDetailsModal:a.a,CancellationPolicyModal:u.a,FormError:v.a,LazyComponent:b.a,RoomTitle:f.a,NoSearchResult:_.a},data:function data(){return{isMobile:Object(y.h)(),isBooking:!1,
1currentRoomIndex:2,currentPlanIndex:2}},computed:_objectSpread({},Object(h.d)({getRooms:"search/getRooms",getPlans:"search/getPlans",multiple:"search/getIsMultiple",isUndated:"search/isUndated",error:"error/getSearchResultError",searchForm:"search/getSearchForm",guest:"booking/getGuest",initialSetting:"setting/getInit",selectedRooms:"search/getSelectedRooms",totalKidsCount:"search/getTotalKidsCount",isTiersMode:"setting/isTiersMode",searchResultPrice:"search/getTotalPriceFromSearch",currentReservation:"booking/getReservationDetails",setting:"setting/getSetting",isSupportCompanion:"setting/isSupportCompanion",adultCompanion:"membership/getAdultCompanion",kidCompanion:"membership/getKidCompanion",numberOfRooms:"search/getRoomsCount"}),{hasNoResult:function hasNoResult(){return 0===this.rooms.length&&!this.error},rooms:function rooms(){return this.getRooms?this.getRooms.slice(0,this.currentRoomIndex):[]},displayPlans:function displayPlans(){var e,t=this;return(null===(e=this.getPlans)||void 0===e?void 0:e.filter((function(e){return e.inclusiveExtraLimit>=t.bookRoomCount})))||[]},plans:function plans(){var e;return(null===(e=this.displayPlans)||void 0===e?void 0:e.slice(0,this.currentPlanIndex))||[]},numberOfPlans:function numberOfPlans(){var e;return(null===(e=this.displayPlans)||void 0===e?void 0:e.length)||0},roomViewIntersectionKey:function roomViewIntersectionKey(){var e,t;return"".concat(this.currentRoomIndex,"_").concat(null!==(e=null===(t=this.getRooms)||void 0===t?void 0:t.length)&&void 0!==e?e:0)},planViewIntersectionKey:function planViewIntersectionKey(){var e,t;return"".concat(this.currentPlanIndex,"_").concat(null!==(e=null===(t=this.getPlans)||void 0===t?void 0:t.length)&&void 0!==e?e:0)},bookRoomCount:function bookRoomCount(){return this.isTiersMode||this.isUndated?this.searchForm.room_count:0}}),methods:{getSearchParams:function getSearchParams(){var e=this,t=this.setting.code,o=this.searchForm,r=o.checkin,n=o.checkout,i=o.mode,a=o.search_id,s=this.isTiersMode?this.searchForm.adults:this.selectedRooms.reduce((function(e,t){return e+t.adults}),0),c=this.totalKidsCount,l=this.selectedRooms.find((function(e){return e.cheapestPriceInfo.couponCode})),d=null==l?void 0:l.cheapestPriceInfo.couponCode,u={mode:i,checkin_date:r,checkout_date:n,adults:s,children:c,coupon_code:d,search_result_price:this.searchResultPrice,rooms:this.selectedRooms.map((function(t){var o,i,a=t.adults,s=t.children,c=t.roomCode,l=t.planCode,d=t.cheapestPriceInfo,u={checkin_date:r,checkout_date:n,adults:a,children:s||0,room_count:1,room_type_code:c,room_plan_code:l},h=null===(o=e.searchForm)||void 0===o?void 0:o.rooms[0];if(e.$preview&&h&&(e.isTiersMode&&(u.kids_age_range=Object(g.h)(h.kids_t
1iers)),u.adult_companion=h.adult_companion||0,u.kid_tier_A_companion=h.kid_tier_A_companion||0,e.isSupportCompanion&&e.kidCompanion.is_active&&h.kid_tier_A_companion>0)){for(var m=_toConsumableArray(h.kids_tiers),p=0;p<(null==h?void 0:h.kid_tier_A_companion);p++)m.push("A");u.kids_age_range=Object(g.h)(m)}return d.promotionID&&(u.membership_promotion_id=d.promotionID),(null===(i=d.scrapeIds)||void 0===i?void 0:i.length)&&(u.scrape_ids=d.scrapeIds),u}))};this.$preview&&(u.adults=u.rooms.reduce((function(e,t){return e+t.adults}),0),u.children=u.rooms.reduce((function(e,t){return e+t.children}),0));var h=_objectSpread({},u,{search_id:a,rooms:JSON.stringify(u.rooms.map((function(e){e.checkin_date,e.checkout_date;return _objectWithoutProperties(e,["checkin_date","checkout_date"])}))),code:t});return this.$route.query.current_reservation&&(u.reservation_no=this.$route.query.current_reservation),{paramsForQuery:h,paramsForAPI:u}},sendBookEvent:function sendBookEvent(){var e,t,o;Object(p.b)(this,(null===(e=this.searchForm)||void 0===e||null===(t=e.rooms)||void 0===t?void 0:t.length)||(null===(o=this.searchForm)||void 0===o?void 0:o.room_count))},bookMultipleRoom:function bookMultipleRoom(){var e=this;this.$store.dispatch("error/setReservationError",null),this.$store.dispatch("error/setGlobalError",null),this.$store.dispatch("booking/resetPoints"),this.isBooking=!0;var t=this.getSearchParams(),o=t.paramsForAPI,r=t.paramsForQuery;this.$route.params.country&&(o.mcp_currency=P.b[this.$route.params.country]),this.sendBookEvent(),this.$store.dispatch("booking/getBookingPrice",{searchParams:o}).then((function(t){var o;Object(p.r)(t),e.$store.dispatch("extras/setExtraItems",null!==(o=null==t?void 0:t.extras)&&void 0!==o?o:[]);var n=null==t?void 0:t.additional_questions;if(e.$store.dispatch("booking/setInitAdditionalQuestions",n),e.$store.dispatch("extras/clearSelectedExtraItems"),e.currentReservation.guest){var i=t.rooms.map((function(t,o){var r,n,i,a,s=null!==(i=null===(a=(null!==(r=null===(n=e.currentReservation)||void 0===n?void 0:n.rooms)&&void 0!==r?r:[])[o])||void 0===a?void 0:a.guest)&&void 0!==i?i:{};return{first_name:s.first_name||null,last_name:s.last_name||null,first_name_kana:s.first_name_kana||null,last_name_kana:s.last_name_kana||null}}));e.$store.dispatch("booking/setGuest",e.currentReservation.guest),e.$store.dispatch("booking/setGuestsInRooms",i)}Object(m.a)(null==t?void 0:t.total_price,(null==t?void 0:t.search_result_price)||e.searchResultPrice),e.$store.dispatch("search/clearSelectedRooms");var a=r.rooms.length>1600?{code:r.code}:r;e.$route.query.current_reservation&&(a.current_reservation=e.currentReservation.reservation_number,a.bypass_token=e.currentReservation.bypass_token);var s=e.$route.params.country;e.$router.push({name:Object(l.c)(c.a.reservation.guestDetail,s),params:Object(l.b)(s),query:a})})).catch((function(t){e.$store.dispatch("error/setGlobalError",t),console.info("error ".concat(JSON.stringify(t))),console.info("payload ".concat(JSON.stringify(o))),e.$rollbar.info("Price api failed on multiple room booking")})).finally((function(){return e.isBooking=!1}))},handleLastRoomIntersected:function handleLastRoomIntersected(e){var t,o;null!==(t=this.currentRoomIndex>=(null===(o=this.getRooms)||void 0===o?void 0:o.length))&&void 0!==t&&t||(this.currentRoomIndex=this.currentRoomIndex+2)},handleLastPlanIntersected:function handleLastPlanIntersected(e){var t,o;null!==(t=this.currentPlanIndex>=(null===(o=this.getPlans)||void 0===o?void 0:o.length))&&void 0!==t&&t||(this.currentPlanIndex=this.currentPlanIndex+2)}}},k=(o(1422),o(33)),C=Object(k.a)(O,(function render(){var e=this,t=e._self._c;return t("b-container",{staticClass:"multiple-wrapper pb-5"},[e.error?t("form-error",{staticClass:"pre-wrap mt-50px",attrs:{errors:e.error}}):e._e(),e._v(" "),e.hasNoResult?t("no-search-result",{staticClass:"mb-0 mt-50px"}):e._e(),e._v(" "),t("div",{directives:[{name:"show",rawName:"v-show",value:!e.hasNoResult,expression:"!hasNoResult"}]},[e.numberOfRooms?t("div",{staticClass:"search-result-count mt-50px"},[e._v("\n "+e._s(e.$t("bookingResult.searchResults"))+"\n "+e._s(e.$tc("bookingResult.nRoomTypes",e.numberOfRooms))+"\n ")]):e._e(
1),e._v(" "),t("transition-group",{attrs:{name:"search-result-lazy"}},e._l(e.rooms,(function(o,r){return t("div",{key:o.room_type_code||r,staticClass:"room-wrapper",attrs:{"data-cy":"search-result-room-item"}},[e.isMobile?e._e():t("room-title",{staticClass:"room-title-desc",attrs:{room:o,variant:"room"}}),e._v(" "),e.isMobile?t("room-type",{attrs:{room:o,clickable:""}}):e._e(),e._v(" "),t("b-row",{attrs:{"no-gutters":""}},[t("b-col",{staticClass:"mb-3",attrs:{cols:"12",lg:"3"}},[e.isMobile?e._e():t("room-type",{attrs:{room:o,clickable:""}})],1),e._v(" "),t("b-col",{attrs:{cols:"12",lg:"9"}},[t("room-view-list",{attrs:{"room-index":r,room:o}})],1)],1)],1)})),0),e._v(" "),e.rooms.length?t("lazy-component",{key:e.roomViewIntersectionKey,on:{intersected:e.handleLastRoomIntersected}}):e._e()],1),e._v(" "),e.multiple&&!e.isUndated?t("selected-bar",{attrs:{"is-loading":e.isBooking},on:{book:e.bookMultipleRoom}}):e._e(),e._v(" "),t("gallery-modal"),e._v(" "),t("room-details-modal"),e._v(" "),t("plan-details-modal"),e._v(" "),t("cancellation-policy-modal")],1)}),[],!1,null,"121ad41c",null);t.default=C.exports}}]); 2//# sourceMappingURL=page-OtaView-OtaSearchRooms-OtaFacilityRooms-vue.13c820ca92b127266e66.js.map
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.