1(window.webpackJsonp=window.webpackJsonp||[]).push([[50],{936:function(e,t,n){"use strict";n.r(t);var r=n(17),i=n(205),o=n(40),a=n(15),s=n(103),c=n.n(s);function asyncGeneratorStep(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(l){return void n(l)}s.done?t(c):Promise.resolve(c).then(r,i)}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var l,u={name:"OtaFacilityRouterView",computed:function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(n,!0).forEach((function(t){_defineProperty(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},Object(o.d)({isInitAPIArrived:"search/isInitAPIArrived"})),watch:{code:{immediate:!0,handler:(l=function _asyncToGenerator(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function _next(e){asyncGeneratorStep(o,r,i,_next,_throw,"next",e)}function _throw(e){asyncGeneratorStep(o,r,i,_next,_throw,"throw",e)}_next(void 0)}))}}(regeneratorRuntime.mark((function _callee(){var e,t=this;return regeneratorRuntime.wrap((function _callee$(n){for(;;)switch(n.prev=n.next){case 0:return this.$store.dispatch("search/setInitAPIArrived",!1),this.$store.dispatch("setting/setSetting",{code:this.$route.params.code}),n.next=4,r.a.getData(Object(a.O)());case 4:e=n.sent,this.$store.dispatch("setting/setInit",{hotelBrand:null==e?void 0:e.hotel_brand,bookingWidgetSetting:null==e?void 0:e.booking_widget_setting_attributes,chatbotSetting:null==e?void 0:e.chatbot_setting,hotelBrandSetting:null==e?void 0:e.hotel_brand_setting,paymentGatewaySetting:null==e?void 0:e.payment_gateway_setting,mcpPaymentGatewaySetting:null==e?void 0:e.mcp_payment_gateway_setting,integrations:null==e?void 0:e.integrations,bookLanguages:null==e?void 0:e.book_languages,bwToOTAEnabled:null==e?void 0:e.bw_to_ota_enabled}),this.$store.dispatch("setting/setDefaultSearch",null==e?void 0:e.booking_widget_setting_attributes.default_search_setting),i.a.getFacilities().then((function(e){t.$store.dispatch("setting/setFacilitiesData",c()(null==e?void 0:e.data,(function(e){var t=e.triplabot_code;return null==t?void 0:t.toLowerCase().replace(/[\s-_]/g,"")})))})),this.$store.dispatch("search/setInitAPIArrived",!0);case 9:case"end":return n.stop()}}),_callee,this)}))),function handler(){return l.apply(this,arguments)})}}},d=n(33),p=Object(d.a)(u,(function render(){var e=this._self._c;return this.isInitAPIArrived?e("router-view"):e("div",{directives:[{name:"loading",rawName:"v-loading",value:!0,expression:"true"}]})}),[],!1,null,null,null);t.default=p.exports}}]); 2//# sourceMappingURL=page-OtaView-OtaFacilityRouterView-vue.4549ca106b6e7ab81673.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.