1(window.webpackJsonp=window.webpackJsonp||[]).push([[59,60],{1078:function(e,t,o){"use strict";var r=o(1209),s=o(1318);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")}()}var n={components:{ImageWrapper:r.a,RoomLeftTag:s.a},props:{photos:{type:Array,required:!0},roomCount:{type:Number,default:0},clickable:{type:Boolean,default:!1},acceptRatio:{type:Number,default:9/16},numberOfFooterImage:{type:Number,default:3},footerPosition:{type:String,required:!1,default:"bottom"},showSeekers:{type:Boolean,required:!1,default:!0},showSubImages:{type:Boolean,required:!1,default:!0},rounded:{type:Boolean,default:!0},showImageCountButton:{type:Boolean,default:!0},showAllPhotosButton:{type:Boolean,default:!1},hiRes:{type:Boolean,default:!1}},data:function data(){return{slide:0,displayIndexList:_toConsumableArray(Array(this.numberOfFooterImage).keys())}},computed:{hasPrevPage:function hasPrevPage(){return 0!==this.slide},hasNextPage:function hasNextPage(){return this.slide!==this.photos.length-1},currentPage:function currentPage(){return parseInt(this.slide/this.numberOfFooterImage)+1},displayPhotos:function displayPhotos(){return this.photos.slice((this.currentPage-1)*this.numberOfFooterImage,this.currentPage*this.numberOfFooterImage)}},methods:{focusImage:function focusImage(e){this.slide=(this.currentPage-1)*this.numberOfFooterImage+e},highResolutionUrl:function highResolutionUrl(e){var t,o;return(null==e||null===(t=e.picture)||void 0===t||null===(o=t.wordpress)||void 0===o?void 0:o.url)||(null==e?void 0:e.fullSize)},lowResolutionUrl:function lowResolutionUrl(e){var t,o;return(null==e||null===(t=e.picture)||void 0===t||null===(o=t.wordpress_thumb)||void 0===o?void 0:o.url)||(null==e?void 0:e.fullSize)},imageUrl:function imageUrl(e){return this.hiRes?this.highResolutionUrl(e):this.lowResolutionUrl(e)}}},a=(o(1347),o(33)),i=Object(a.a)(n,(function render(){var e=this,t=e._self._c;return t("div",{class:{"multi-images-footer-right":"right"===e.footerPosition,"no-sub-images":!e.showSubImages}},[t("div",{staticClass:"images-container position-relative"},[t("room-left-tag",{attrs:{"room-count":e.roomCount}}),e._v(" "),t("b-carousel",{staticClass:"slides room-carousel",attrs:{interval:0,controls:e.photos.length>1},model:{value:e.slide,callback:function callback(t){e.slide=t},expression:"slide"}},e._l(e.photos,(function(o,r){return t("b-carousel-slide",{key:r},[e.imageUrl(o)?t("image-wrapper",{attrs:{slot:"img",img:e.imageUrl(o),clickable:e.clickable,rounded:e.rounded,"accept-ratio":e.acceptRatio,"blur-background":""},on:{click:function click(t){return e.$emit("galleryMode",r)}},slot:"img"},[e.photos.length>1&&e.showImageCountButton?t("div",{class:["show-image-count-button",{"show-image-count-button--ota":e.$ota}],attrs:{slot:"footer"},slot:"footer"},[t("span",[e._v(e._s(r+1)+" / "+e._s(e.photos.length))])]):e.photos.length>1&&e.showAllPhotosButton?t("div",{staticClass:"b-35px pointer-events-none position-absolute w-100",attrs:{slot:"footer"},slot:"footer"},[t("b-container",[t("b-row",{attrs:{"no-gutters":""}},[t("b-col",{staticClass:"text-right",attrs:{cols:"12"}},[t("div",{staticClass:"show-all-photos-button d-inline-block background-white border-radius-3px"},[e._v("\n "+e._s(e.$t("otaRoomsResult.showAllPhotos"))+"\n ")])])],1)],1)],1):e._e()]):e._e()],1)})),1)],1),e._v(" "),t("b-row",{staticClass:"sub-images-container customized-gutters",attrs:{"no-gutters":""}},[e.showSubImages?e._l(e.displayIndexList,(function(o){return t("b-col",{key:o,staticClass:"sm-img-wrapper"},[e.lowResolutionUrl(e.displayPhotos[o])?t("image-wrapper",{attrs:{img:e.lowResolutionUrl(e.displayPhotos[o]),"show-image-index":"",clickable:"","blur-background":"","sub-img":"","accept-ratio":e.acceptRatio,roun
1ded:e.rounded,active:e.slide%e.numberOfFooterImage===o},on:{click:function click(t){return e.focusImage(o)}}}):e._e()],1)})):e._e(),e._v(" "),e.showSeekers?[e.hasPrevPage?t("span",{staticClass:"control prev",on:{click:function click(t){e.slide=e.slide-1}}}):e._e(),e._v(" "),e.hasNextPage?t("span",{staticClass:"control next",on:{click:function click(t){e.slide=e.slide+1}}}):e._e()]:e._e()],2)],1)}),[],!1,null,"5f915fbd",null);t.a=i.exports},1209:function(e,t,o){"use strict";var r={props:{img:{type:String,required:!0},className:{type:String,default:null},clickable:{type:Boolean,default:!1},acceptRatio:{type:Number,default:9/16},blurBackground:{type:Boolean,default:!1},active:{type:Boolean,default:!1},showImageIndex:{type:Boolean,required:!1,default:!1},subImg:{type:Boolean,default:!1},rounded:{type:Boolean,default:!0}},computed:{wrapperStyle:function wrapperStyle(){return{paddingBottom:"".concat(100*this.acceptRatio,"%")}}}},s=(o(1345),o(33)),n=Object(s.a)(r,(function render(){var e=this,t=e._self._c;return t("div",{staticClass:"image-wrapper position-relative",class:{clickable:e.clickable,"sub-img":e.subImg,"no-rounded":!e.rounded},style:e.wrapperStyle,on:{click:function click(t){return e.$emit("click")}}},[e.blurBackground?t("div",{staticClass:"bg-img",style:{backgroundImage:"url(".concat(e.img,")")}}):e._e(),e._v(" "),t("div",{staticClass:"img",style:{backgroundImage:"url(".concat(e.img,")")}}),e._v(" "),t("div",{staticClass:"overlay",class:{active:e.active}}),e._v(" "),e._t("footer")],2)}),[],!1,null,"366aa01a",null);t.a=n.exports},1216:function(e,t,o){},1217:function(e,t,o){},1218:function(e,t,o){},1305:function(e,t,o){},1318:function(e,t,o){"use strict";var r=o(40);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 _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={props:{roomCount:{type:Number,default:0}},computed: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}({},Object(r.d)({isVoucherMode:"search/isVoucherMode",isLotteryEntry:"lottery/getIsLotteryEntry",isLotteryBooking:"booking/isLotteryBooking"}),{isLotteryEvent:function isLotteryEvent(){return this.isLotteryEntry||this.isLotteryBooking}})},n=(o(1346),o(33)),a=Object(n.a)(s,(function render(){var e=this,t=e._self._c;return e.roomCount>0&&e.roomCount<6&&!e.isVoucherMode&&!e.isLotteryEvent?t("label",{staticClass:"rooms-left",attrs:{"data-cy":"rooms-left-tag"}},[e._v("\n "+e._s(e.$tc("bookingResult.roomLeft",e.roomCount))+"\n ")]):e._e()}),[],!1,null,"2bd3b528",null);t.a=a.exports},1327:function(e,t,o){"use strict";var r=o(33),s=Object(r.a)({},(function render(){var e=this._self._c;return e("svg",this._g({attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960"}},this.$listeners),[e("path",{attrs:{d:"M480-480q33 0 56.5-23.5T560-560q0-33-23.5-56.5T480-640q-33 0-56.5 23.5T400-560q0 33 23.5 56.5T480-480zm0 400Q319-217 239.5-334.5T160-552q0-150 96.5-239T480-880q127 0 223.5 89T800-552q0 100-79.5 217.5T480-80z"}})])}),[],!1,null,null,null);t.a=s.exports},1345:function(e,t,o){"use strict";o(1216)},1346:function(e,t,o){"use strict";o(1217)},1347:function(e,t,o){"use strict";o(1218)},1415:function(e,t,o){"use strict";o(1305)},864:function(e,t,o){"use strict";o.r(t);o(11);var r=o(40);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 _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:"OtaFacilityMap",components:{},mixins:[],data:function data(){return{}},computed:function _objectSpread(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};
1t%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}({},Object(r.d)({hotel:"setting/getHotelData",hotelName:"setting/getHotelName"}),{address:function address(){return this.hotel.address?"JP"===this.hotel.address.country_code&&"ja"===this.$i18n.locale?this.japaneseAddress:[this.hotel.address.full_address,this.hotel.address.country,this.hotel.address.post_code].filter(Boolean).join().replaceAll(/\s*,[\s,]*/gi,", "):""},japaneseAddress:function japaneseAddress(){return[this.hotel.address.post_code&&"ã",this.hotel.address.post_code," ",this.hotel.address.full_address].filter(Boolean).join("").replaceAll(/[\s,]+/gi," ")},src:function src(){return["https://www.google.com/maps/embed/v1/place","?key=".concat("AIzaSyDewMeDkaNPCFwpXI-bXkeukXrMezg4cXs"),"&q=".concat(this.hotelName,",").concat(this.address)].join("")}})},n=o(33),a=Object(n.a)(s,(function render(){var e=this,t=e._self._c;return t("div",{staticClass:"background-white pt-44px pb-44px"},[e.hotel?t("b-container",[t("h3",{staticClass:"font-weight-bold mb-16px text-22px lh-33px"},[e._v("\n "+e._s(e.$t("otaRoomsMap.title"))+"\n ")]),e._v(" "),e.hotel.address?t("iframe",{key:e.src,staticClass:"mb-16px",staticStyle:{border:"0"},attrs:{width:"100%",height:"450",loading:"lazy",allowfullscreen:"",referrerpolicy:"no-referrer-when-downgrade",src:e.src}}):e._e()]):e._e()],1)}),[],!1,null,"0a9dbeae",null);t.default=a.exports},875:function(e,t,o){"use strict";o.r(t);var r=o(40),s=o(1078),n=o(1327),a=o(864);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 _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 i={name:"OtaFacilityInfo",components:{MultiImages:s.a,IconBlueLocation:n.a,OtaFacilityMap:a.default},mixins:[],data:function data(){return{}},computed: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}({},Object(r.d)({hotelName:"setting/getHotelName",hotelImages:"setting/getHotelImages",hotel:"setting/getHotelData"}),{address:function address(){return this.hotel.address?"JP"===this.hotel.address.country_code&&"ja"===this.$i18n.locale?this.japaneseAddress:[this.hotel.address.full_address,this.hotel.address.country,this.hotel.address.post_code].filter(Boolean).join().replaceAll(/\s*,[\s,]*/gi,", "):""},japaneseAddress:function japaneseAddress(){return[this.hotel.address.post_code&&"ã",this.hotel.address.post_code," ",this.hotel.address.full_address].filter(Boolean).join("").replaceAll(/[\s,]+/gi," ")}}),created:function created(){},methods:{showGalleryMode:function showGalleryMode(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;this.$store.dispatch("search/setGalleryPhotos",e),this.$store.dispatch("search/setGalleryIndex",t),this.$bvModal.show("gallery-modal")},showMapModal:function showMapModal(){this.$bvModal.show("show-google-map")}}},l=(o(1415),o(33)),c=Object(l.a)(i,(function render(){var e=this,t=e._self._c;return t("div",[t("div",{staticClass:"background-white pt-4px"},[t("b-container",[t("h2",{staticClass:"font-weight-bold text-22px lh-33px pb-4px mb-0"},[e._v("\n "+e._s(e.hotelName)+"\n ")]),e._v(" "),t("p",{staticClass:"text-14px pb-4px mb-2",attrs:{"data-cy":"ota-facility-info-address"}},[e._v("\n "+e._s(e.address)+"\n ")])]),e._v(" "),t("b-container",[t("icon-blue-location",{staticClass:"fill-blue icon-24px"}),e._v(" "),t("span",{staticClass:"blue-icon-font cursor-pointer",on:{click:e.showMapModal}}
1,[e._v(e._s(e.$t("otaRoomsMap.seeMap")))])],1),e._v(" "),e.hotelImages.length?t("multi-images",{staticClass:"ota-carousel",attrs:{photos:e.hotelImages,clickable:"","number-of-footer-image":0,rounded:!1,"show-sub-images":!1,"accept-ratio":.4,"show-all-photos-button":!0,"show-image-count-button":!1,"hi-res":""},on:{galleryMode:function galleryMode(t){return e.showGalleryMode(e.hotelImages,t)}}}):e._e()],1),e._v(" "),t("b-modal",{attrs:{id:"show-google-map",centered:"",size:"lg","hide-footer":"",static:""}},[t("ota-facility-map")],1)],1)}),[],!1,null,"0890f224",null);t.default=c.exports}}]); 2//# sourceMappingURL=page-OtaView-OtaSearchRooms-OtaFacilityInfo-vue.75893246da4a5bf1f631.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.