(function(){var t={57301:function(t,e,a){"use strict";a.d(e,{Z:function(){return l}});var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"flex items-center justify-between my-1",class:["small"===t.template?"w-20":"w-24"]},[a("button",{class:t.buttonClass,on:{click:t.decrement}},[a("svg",{staticClass:"h-4 w-4",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[a("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M18 12H6"}})])]),a("div",{staticClass:"placeholder-black text-center"},[t._v(t._s(t.qty))]),a("button",{class:t.buttonClass,on:{click:t.increment}},[a("svg",{staticClass:"h-4 w-4",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[a("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 4v16m8-8H4"}})])])])},r=[],s={props:{value:{type:Number,default:1},min:{type:[String,Number],required:!1},max:{type:[String,Number],required:!1},disabled:{type:Boolean,required:!1,default:!1},template:{type:String,default:null}},computed:{qty:{get(){return this.value},set(t){this.$emit("update:value",t)}},buttonClass(){return"small"==this.template?"w-4 h-4 flex items-center justify-center text-black focus:outline-none":"w-8 h-8 bg-gray-200 rounded-lg flex items-center justify-center text-black focus:outline-none"}},methods:{increment(){this.disabled||(void 0!==this.max&&null!==this.max&&this.qty>=parseInt(this.max)?this.qty=parseInt(this.max):this.qty++)},decrement(){if(!(void 0!==this.min&&null!==this.min&&this.qty<=parseInt(this.min)))return 0!=this.qty&&void this.qty--;this.qty=parseInt(this.min)}}},i=s,n=a(1001),c=(0,n.Z)(i,o,r,!1,null,null,null),l=c.exports},7724:function(t,e,a){"use strict";a.d(e,{Z:function(){return x}});var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{attrs:{id:"multiple-selector"}})},r=[],s=a(11808),i=a(30381),n=a.n(i),c=a(90232),l=a(51402),_=a(3653),d=a(3434),u=a(31664),m=a(37190);const p={data(){return{locale:c.Z,calendarSheetLength:34}},methods:{setLocale(){switch(this.$root.currentLanguage){case"ru":this.locale=l.Z;break;case"en":this.locale=c.Z;break;case"fr":this.locale=_.Z;break;case"de":this.locale=d.Z;break;case"es":this.locale=u.Z;break;case"nl":this.locale=m.Z;break;default:this.locale=c.Z;break}},getDatepickerDatesRange(t){return{start:n()(t).format("YYYY-MM-DD"),end:n()(t).add(this.calendarSheetLength,"day").format("YYYY-MM-DD")}}}};var g={name:"app_miltiple_date_picker",mixins:[p],props:{clearForm:{type:Number,default:0},selector:String,minDate:{default:"1970-01-01"},multipleDates:{default:!0,type:[Number,Boolean]}},data(){return{dates:[],datepicker:{}}},watch:{clearForm:function(){this.datepicker.clear()},appLocale:function(){this.setLocale(),this.datepicker.update({locale:this.locale})}},computed:{appLocale(){return this.$root.currentLanguage}},methods:{initDatePicker(){this.setLocale();let t=this;this.datepicker=new s.Z("#multiple-selector",{inline:!0,minDate:this.minDate,locale:this.locale,multipleDates:this.multipleDates,onSelect({date:e}){t.updateDates(e)}})},updateDates(t){this.dates=t,this.$emit("updateDates",this.dates)}},mounted(){this.initDatePicker()}},h=g,v=a(1001),f=(0,v.Z)(h,o,r,!1,null,null,null),x=f.exports},55022:function(t,e,a){"use strict";a.d(e,{Z:function(){return l}});var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"flex justify-center base-color"},[a("svg",{class:t.width+" "+t.height+" fill-current",attrs:{version:"1.1",id:"L9",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 100 100","enable-background":"new 0 0 0 0","xml:space":"preserve"}},[a("path",{attrs:{d:"M73,50c0-12.7-10.3-23-23-23S27,37.3,27,50 M30.9,50c0-10.5,8.5-19.1,19.1-19.1S69.1,39.5,69.1,50"}},[a("animateTransform",{attrs:{attributeName:"transform",attributeType:"XML",type:"rotate",dur:"1s",from:"0 50 50",to:"360 50 50",repeatCount:"indefinite"}})],1)])])},r=[],s={props:{width:{type:String,default:"w-24"},height:{type:String,default:"h-24"}}},i=s,n=a(1001),c=(0,n.Z)(i,o,r,!1,null,null,null),l=c.exports},88623:function(t,e,a){"use strict";a.d(e,{Z:function(){return q}});var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.property_val?a("div",{staticClass:"flex flex-col gap-4"},t._l(t.property_val.properties,(function(e,o){return t.checkBanknotes(e,t.$parent)?a("div",{class:[t.errors&&t.errors.get(e.id)?"dirty valid":""]},[a("div",{staticClass:"flex justify-between mb-1"},[a("div",{staticClass:"header_option",class:[t.errors&&t.errors.get(e.id)?"dirty valid":""]},[t._v(t._s(t.$root.getLangText(e.title))),e.is_required?a("span",{staticClass:"text-red-500"},[t._v("*")]):t._e()]),a("div",{staticClass:"header_option",domProps:{innerHTML:t._s(t.$root.showPrice(e.price))}})]),"select"==e.ptype_id&&"building"!==e.pcode_id?a("div",{staticClass:"options mt-2"},[void 0!==e.extra&&e.extra&&e.extra.hasOwnProperty("is_dropdown")&&"true"==e.extra.is_dropdown?a("div",{staticClass:"inline-block wrapper_select relative w-full"},[a("select",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"item_property.value"}],staticClass:"default_select  appearance-none",on:{change:[function(a){var o=Array.prototype.filter.call(a.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(e,"value",a.target.multiple?o:o[0])},function(a){return t.setValue(e.value,e.id)}]}},t._l(e.attrs,(function(e,o){return a("option",{key:e.id,domProps:{value:e.id,textContent:t._s(t.$root.getLangText(e.title))}})})),0)]):a("div",{staticClass:"option mb-5"},t._l(e.attrs,(function(o,r){return a("div",{key:r,staticClass:"flex flex-col justify-between content_option"},[a("div",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"item_property.value"}],staticClass:"default_radio",attrs:{type:"radio",name:"property-attr-"+e.id,id:"property-attr-"+o.id},domProps:{value:o.id,checked:t._q(e.value,o.id)},on:{change:[function(a){return t.$set(e,"value",o.id)},function(a){return t.setValue(e.value,e.id)}]}}),a("label",{staticClass:"flex justify-between",attrs:{for:"property-attr-"+o.id}},[a("div",{staticClass:"flex justify-between items-center w-full py-2",class:[r==e.attrs.length-1?"":"border-b"]},[a("div",{staticClass:"text-black font-light leading-snug"},[a("span",{staticClass:"mr-2"},[t._v(t._s(t.$root.getLangText(o.title)))]),a("span",{staticClass:"text-gray-500 whitespace-nowrap"},["plus"==e.price_type_id&&o.price>0?a("span",[t._v("+")]):t._e(),a("span",{staticClass:"text-gray-500",domProps:{innerHTML:t._s(t.$root.showPrice(o.price))}})])])])])])])})),0)]):t._e(),"select"==e.ptype_id&&"building"==e.pcode_id?a("div",{staticClass:"options"},[a("div",{staticClass:"option mb-5"},[a("div",{staticClass:"inline-block relative w-full"},[a("select",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"item_property.value"}],staticClass:"block appearance-none w-full bg-white border border-gray-200 hover:border-gray-300 px-4 py-2 pr-8 text-sm rounded leading-tight focus:outline-none focus:shadow-outline",on:{change:[function(a){var o=Array.prototype.filter.call(a.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(e,"value",a.target.multiple?o:o[0])},function(a){return t.setValue(e.value,e.id)}]}},t._l(e.attrs,(function(e,o){return a("option",{key:e.id,domProps:{value:e.id,textContent:t._s(t.$root.getLangText(e.title))}})})),0),a("div",{staticClass:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700"},[a("svg",{staticClass:"fill-current h-4 w-4",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[a("path",{attrs:{d:"M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"}})])])])])]):t._e(),"checkbox"==e.ptype_id?a("div",{staticClass:"options mt-2"},[a("div",{staticClass:"option mb-5"},t._l(e.attrs,(function(r,s){return a("div",{key:s,staticClass:"flex flex-col justify-between content_option"},[a("div",[a("input",{directives:[{name:"model",rawName:"v-model",value:r.checked,expression:"option.checked"}],staticClass:"inp-cbx",staticStyle:{display:"none"},attrs:{id:"property-attr-"+r.id+s,type:"checkbox",disabled:t.disabledCheckbox(e,r)},domProps:{checked:Array.isArray(r.checked)?t._i(r.checked,null)>-1:r.checked},on:{change:[function(e){var a=r.checked,o=e.target,s=!!o.checked;if(Array.isArray(a)){var i=null,n=t._i(a,i);o.checked?n<0&&t.$set(r,"checked",a.concat([i])):n>-1&&t.$set(r,"checked",a.slice(0,n).concat(a.slice(n+1)))}else t.$set(r,"checked",s)},function(e){return t.checkboxChange(o)}]}}),a("label",{staticClass:"cbx flex gap-4 items-center mx-auto select-none",attrs:{for:"property-attr-"+r.id+s}},[a("span",{staticClass:"flex-shrink-0 w-4 h-4 flex items-center justify-center relative rounded border border-black"},[a("svg",{attrs:{width:"12px",height:"10px",viewbox:"0 0 12 10"}},[a("polyline",{attrs:{points:"1.5 6 4.5 9 10.5 1"}})])]),a("div",{staticClass:"flex justify-between items-center w-full py-2",class:[s==e.attrs.length-1?"":"border-b"]},[a("div",{staticClass:"text-black font-light leading-snug"},[a("span",{staticClass:"mr-2"},[t._v(t._s(t.$root.getLangText(r.title)))]),a("span",{staticClass:"text-gray-500 whitespace-nowrap"},["plus"==e.price_type_id&&r.price>0?a("span",[t._v("+")]):t._e(),a("span",{staticClass:"text-gray-500",domProps:{innerHTML:t._s(t.$root.showPrice(r.price))}})])]),r.checked&&"quantity"==e.pcode_id?a("div",[a("v-input-quantity",{attrs:{disabled:t.disabledCheckboxInputQuantity(e),value:r.quantity,min:null==r.minimum||0===r.minimum?1:r.minimum,max:r.maximum,template:"small"},on:{"update:value":function(e){return t.$set(r,"quantity",e)}}})],1):t._e()])])])])})),0)]):t._e(),"datetime"==e.ptype_id&&"scheduled"==e.pcode_id?a("div",{staticClass:"options"},[a("div",{staticClass:"option mb-5"},[a("div",{staticClass:"form_group mt-2 mb-5"},[a("article-calendar-time-picker",{attrs:{"product-uuid":t.productUuid,value:e.value,"max-booking-slot":t.maxBookingSlot},on:{"update:value":function(a){return t.$set(e,"value",a)}}})],1)])]):t._e(),a("div",{staticClass:"form_group"},["text"==e.ptype_id&&"phone_number"!==e.pcode_id?a("div",[e.extra&&e.extra.hasOwnProperty("is_resizable")&&e.extra.is_resizable?a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"item_property.value"}],domProps:{value:e.value},on:{change:function(a){return t.setValue(e.value,e.id)},input:function(a){a.target.composing||t.$set(e,"value",a.target.value)}}}):a("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"item_property.value"}],staticClass:"h-4",attrs:{type:"text"},domProps:{value:e.value},on:{change:function(a){return t.setValue(e.value,e.id)},input:function(a){a.target.composing||t.$set(e,"value",a.target.value)}}})]):t._e()]),"text"==e.ptype_id&&"phone_number"===e.pcode_id?a("div",[a("app-input-phone-number",{attrs:{"phone-number":e.value,"property-id":e.id},on:{"update:phoneNumber":function(a){return t.$set(e,"value",a)},"update:phone-number":function(a){return t.$set(e,"value",a)}}})],1):t._e(),"time"==e.ptype_id?a("div",{staticClass:"inline-block relative w-full"},[a("article-time-picker",{ref:"timePicker",refInFor:!0,attrs:{"item-property":e,properties:t.property.properties},on:{"update:itemProperty":function(t){e=t},"update:item-property":function(t){e=t}}})],1):t._e(),a("div",["date"==e.ptype_id?a("div",[a("article-date-picker",{attrs:{"item-property":e},on:{"update:itemProperty":function(t){e=t},"update:item-property":function(t){e=t}}})],1):t._e()]),a("div",{staticClass:"form_group"},["calendar"==e.ptype_id?a("div",{staticClass:"mt-2"},[a("app-miltiple-date-picker",{on:{updateDates:function(e){return t.updateDates(e,o)}}})],1):t._e()])]):t._e()})),0):t._e()},r=[],s=a(30381),i=a.n(s),n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("date-picker",{staticClass:"w-full",attrs:{"default-value":new Date,"disabled-date":t.disabledBeforeTodayAndAfterAWeek,lang:t.lang,valueType:"format",format:t.dateFormat},model:{value:t.s_item_property.value,callback:function(e){t.$set(t.s_item_property,"value",e)},expression:"s_item_property.value"}})},c=[],l={props:["itemProperty"],data(){return{lang:"en"}},computed:{s_item_property:{get(){return this.itemProperty},set(t){this.$emit("update:itemProperty",t)}},dateFormat(){return"ru"=="RU".toLowerCase()?"DD-MM-YYYY":"YYYY-MM-DD"}},mounted(){this.$nextTick((()=>{this.lang="ru"==this.$root.currentLanguage?"ru":"en"}))},methods:{disabledBeforeTodayAndAfterAWeek(t){const e=new Date;e.setHours(0,0,0,0);var a=this.s_item_property;try{if(null!==a.schedule_id){var o=i()(t,this.dateFormat),r=[],s=[];a.schedule_kit.days.map((t=>{var e=!1;if(console.log(t),t.start_date&&t.end_date){var a=i()(t.start_date,"YYYY-MM-DD"),n=i()(t.end_date,"YYYY-MM-DD");e=o.isBetween(a,n)||o.isSame(a)||o.isSame(n)}e?r.push(t):t.start_date||t.end_date||s.push(t)})),console.log(r);var n=r.length>0?r:s;if(n.length>0){var c=n.filter((t=>{var e=t.days.filter(((t,e)=>e==o.day()&&t));return 0==e.length}));return t<e||c.length>0}return t<e}}catch(l){console.log(l)}return t<e}}},_=l,d=a(1001),u=(0,d.Z)(_,n,c,!1,null,null,null),m=u.exports,p=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("select",{directives:[{name:"model",rawName:"v-model",value:t.s_item_property.value,expression:"s_item_property.value"}],staticClass:"block appearance-none w-full bg-white border border-gray-200 hover:border-gray-300 px-4 py-2 pr-8 text-sm rounded leading-tight focus:outline-none focus:shadow-outline",on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(t.s_item_property,"value",e.target.multiple?a:a[0])}}},t._l(t.getTimeRange(),(function(e,o){return a("option",{key:o,domProps:{textContent:t._s(e)}})})),0),a("div",{staticClass:"pointer-events-none absolute inset-y-0 right-0 flex items-center px-2 text-gray-700"},[a("svg",{staticClass:"fill-current h-4 w-4",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20"}},[a("path",{attrs:{d:"M9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828 5.757 6.586 4.343 8z"}})])])])},g=[],h=a(80008),v=a.n(h),f={props:["itemProperty","properties"],computed:{s_item_property:{get(){return this.itemProperty},set(t){this.$emit("update:itemProperty",t)}},dateFormat(){return"ru"=="RU".toLowerCase()?"DD-MM-YYYY":"YYYY-MM-DD"}},methods:{getTimeRange(){let t=v()("2020-04-20 00:00","YYYY-MM-DD H:mm"),e=v()("2020-04-20 23:59","YYYY-MM-DD H:mm"),a=v()(),o=v()();var r=this.properties.filter((t=>"date"==t.ptype_id));if(r.length>0&&r[0].value&&(o=v()(r[0].value,this.dateFormat)),null!==this.s_item_property.schedule_id){var s=[];this.s_item_property.schedule_kit.days.map((t=>{t.days.filter(((t,e)=>t&&o.day()==e)).length>0&&s.push(t)})),s.length>0&&(t=v()(s[0].start_time,"HH:mm:ss"),e=v()(s[0].end_time,"HH:mm:ss"))}try{if(e.set("year",2020),e.set("month",1),e.set("date",20),t.set("year",2020),t.set("month",1),t.set("date",20),a.set("year",2020),a.set("month",1),a.set("date",20),r.length>0&&r[0].value==v()().format(this.dateFormat)&&t.diff(a)<0){t=v()(),e.set({year:v()().get("year"),month:v()().get("month"),date:v()().get("date")}),console.log("end date",e.format("YYYY-MM-DD"));var i=void 0!==this.s_item_property.extra.time_interval&&null!==this.s_item_property.extra.time_interval?parseInt(this.s_item_property.extra.time_interval):30;console.log(i);var n=this.roundTime(t.format("HH:mm"),i);if(console.log(n),t.set({hour:n.hour,minute:n.min,second:0,millisecond:0}),t.add(i,"minutes"),console.log("start",t),console.log("end",e),t.diff(e)>0)return!1}return this.loopStartAndEndTimes(this.s_item_property,t,e)}catch(c){return this.loopStartAndEndTimes(this.s_item_property,t,e)}},loopStartAndEndTimes(t,e,a){e>a&&(a=a.add(1,"days"));let o=[];var r=void 0!==t.extra.time_interval&&null!==t.extra.time_interval?t.extra.time_interval:30;for(let s=v()(e);s.isBefore(a);s.add(r,"minutes"))o.push(s.format("H:mm"));return o.push(a.format("H:mm")),o},roundTime(t,e){let[a,o]=t.split(":");a=parseInt(a),o=parseInt(o),t=60*a+o;let r=Math.round(t/e)*e,s=""+Math.floor(r/60),i=""+r%60;return{hour:s,min:i}},checkScheduleInTime(t,e,a){var o=e.start_time,r=e.end_time,s=new Date(v().tz(new Date,a).format("YYYY/MM/DD HH:mm:ss"));s.setHours(o.split(":")[0]),s.setMinutes(o.split(":")[1]),s.setSeconds(0),o=s;var i=r.split(":")[0],n=r.split(":")[1];if(s=new Date(v().tz(new Date,a).format("YYYY/MM/DD HH:mm:ss")),s.setHours(i),s.setMinutes(n),s.setSeconds(0),r=s,o>=r){var c=v()(o).subtract(i,"hours").subtract(n,"minutes").subtract(1,"seconds"),l=v()(r).subtract(i,"hours").subtract(n,"minutes").subtract(1,"seconds"),_=v()().subtract(i,"hours").subtract(n,"minutes").subtract(1,"seconds"),d=this.setHoursAndMinutes(c.hours(),c.minutes(),c.seconds(),a),u=this.setHoursAndMinutes(l.hours(),l.minutes(),l.seconds(),a),m=this.setHoursAndMinutes(_.hours(),_.minutes(),_.seconds(),a);return m.isBetween(d,u)}return t>=o&&t<=r},setHoursAndMinutes(t,e,a,o){var r=new Date(v().tz(new Date,o).format("YYYY/MM/DD HH:mm:ss"));return r.setHours(t),r.setMinutes(e),r.setSeconds(a),v()(r)}}},x=f,y=(0,d.Z)(x,p,g,!1,null,null,null),b=y.exports,k=a(7724),w=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"flex my-1 gap-2 flex-col items-center",style:t.cssProps},[a("div",{staticClass:"timeslot-calendar"},[a("date-picker",{staticClass:"w-full border",attrs:{"default-value":new Date,"disabled-date":t.disabledDays,lang:t.lang,valueType:"format",format:"YYYY-MM-DD",inline:!0},on:{"calendar-change":t.handleCalendarChange},model:{value:t.selected_date,callback:function(e){t.selected_date=e},expression:"selected_date"}})],1),a("div",{staticClass:"grid grid-cols-3 gap-x-3 gap-y-2 slot-times",class:[t.avaiable_times&&t.avaiable_times.length?"max":""]},t._l(t.avaiable_times,(function(e){return a("button",{staticClass:"rounded-lg p-1 text-center border pointer time-slot",class:[t.isSelectedTime(e.start_time)?"active-time text-white":"bg-white text-gray-800",t.isSelectedTime(e.start_time)||null===t.maxBookingSlot||t.selected_time.length!=t.maxBookingSlot?"":"opacity-50 disabled"],on:{click:function(a){return t.selectTime(e.start_time)}}},[t._v(" "+t._s(e.service_time)+" ")])})),0)])},C=[],A=a(55022),$=a(86947),L={props:["value","productUuid","slotsCount","maxBookingSlot"],components:{Loading:A.Z},data(){return{avaiable_days:null,avaiable_times:null,loading:!1,loading_time:!1,lang:"en",selected_date:void 0!==this.value[0]?this.value[0].split(" ")[0]:null,selected_time:this.value.length?this.value:[],start_date:null,end_date:null}},created(){$.Y.$on("update-slot-calendar",(t=>{this.avaiable_days=null,this.avaiable_times=null,this.selected_date=void 0!==this.value[0]?this.value[0].split(" ")[0]:null;var e=i()().startOf("month").format("YYYY-MM-DD"),a=i()().endOf("month").format("YYYY-MM-DD");this.selected_date&&this.fetchAvailableTimes(this.selected_date),this.fetchAvailableDays(e,a)}))},mounted(){this.$nextTick((()=>{this.lang="ru"==this.$root.currentLanguage?"ru":"en"}))},computed:{cssProps(){return{"--main-color":this.$root.hotelColor()}}},watch:{selected_date(t){this.selected_time=[],this.fetchAvailableTimes(t)}},methods:{disabledDays(t){if(null==this.avaiable_days)return!1;var e=i()(t,"YYYY-MM-DD").format("YYYY-MM-DD");return 0==this.avaiable_days.filter((t=>t.service_date==e&&t.available_timeslots>0)).length},async fetchAvailableDays(t,e){this.loading=!0;var a="https://admin.2roomz.com/api/v1/public/products/"+this.productUuid+"/check-availability-property",o={start_date:t,end_date:e,type:"days",hotel_uuid:this.$root.hotel.uuid};try{let t=await this.$http.get(a,{params:o});this.avaiable_days=t.data.data,this.loading=!1}catch(r){this.loading=!1}},async fetchAvailableTimes(t){this.avaiable_times=null,this.loading_time=!0;var e="https://admin.2roomz.com/api/v1/public/products/"+this.productUuid+"/check-availability-property",a={date:t,type:"times",hotel_uuid:this.$root.hotel.uuid};try{let t=await this.$http.get(e,{params:a});this.loading_time=!1,this.avaiable_times=t.data.data}catch(o){this.loading_time=!1}},handleCalendarChange(t,e){var a=i()(t),o=a.format("YYYY-MM-DD"),r=a.endOf("month").format("YYYY-MM-DD");this.fetchAvailableDays(o,r)},isSelectedTime(t){return this.selected_time.indexOf(t)>-1},selectTime(t){let e=-1;if((e=this.selected_time.indexOf(t))>-1)this.selected_time.splice(e,1);else{if(this.selected_time.length==this.maxBookingSlot)return!1;this.selected_time.push(t)}this.$emit("update:value",this.selected_time)}}},S=L,M=(0,d.Z)(S,w,C,!1,null,null,null),B=M.exports,P=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",[o("div",{staticClass:"flex form_group relative"},[o("img",{staticClass:"object-contain absolute p-1 left-1 top-0.5 w-8 h-8",attrs:{src:a(70236)("./"+t.activeNum.code+".svg"),alt:"",id:"img_country"},on:{click:function(e){return t.$modal.show("modal-select-country")}}}),o("the-mask",{staticStyle:{width:"100%","border-radius":"0px 8px 8px 0px","padding-left":"45px"},attrs:{mask:t.mask.replaceAll("_","#"),tokens:t.customTokens,masked:!0,placeholder:t.mask,name:"phone",id:"number",type:"tel"},model:{value:t.phone,callback:function(e){t.phone=e},expression:"phone"}})],1),o("modal",{attrs:{name:"modal-select-country",width:350,height:"auto",scrollable:""}},[o("div",{staticClass:"text-center bg-white py-4 px-2 relative"},[o("div",{staticClass:"right-0 top-0 p-2 absolute"},[o("button",{staticClass:"text-gray-600",on:{click:function(e){return t.$modal.hide("modal-select-country")}}},[o("svg",{staticClass:"h-6 w-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[o("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"}})])])]),o("div",{staticClass:"flex items-center  w-full px-2 mt-6 bg-white"},[o("div",{staticClass:"relative w-full"},[o("div",{staticClass:"flex absolute inset-y-0 left-0 items-center pl-3 pointer-events-none"},[o("svg",{staticClass:"w-5 h-5 text-gray-500 dark:text-gray-400",attrs:{"aria-hidden":"true",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},[o("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"}})])]),o("input",{staticClass:"block px-4 py-2 w-full text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300",staticStyle:{"padding-left":"35px"},attrs:{type:"search",id:"search",placeholder:"",required:""},on:{input:function(e){return t.searchCountry(e)}}})])]),o("div",{staticClass:"pt-4 px-2 h-[50vh] overflow-auto"},[o("ul",{staticStyle:{padding:"0"}},t._l(t.numbers,(function(e){return o("li",{key:e.id,staticClass:"flex items-center justify-between py-4 px-2 border-b hover:bg-gray-100 cusor-pointer",on:{click:function(a){return t.selectCountry(e,!0)}}},[o("div",{staticClass:"flex items-center gap-2"},[o("img",{staticClass:"w-5 h-5",attrs:{src:t.getFlag(e.code),alt:""}}),o("span",{staticClass:"text-left"},[t._v(t._s(e.name))])]),o("span",{staticClass:"text-[#001345] font-bold text-left"},[t._v(t._s(e.dial_code))])])})),0)])])])],1)},I=[],T=JSON.parse('[{"name":"United States","dial_code":"+1","code":"US","mask":"___-___-____","dc_mask":"+_-___-___-____"},{"name":"United Kingdom","dial_code":"+44 (0)","code":"GB","mask":"___-___-____","dc_mask":"+_____-____-____"},{"name":"Russia","dial_code":"+7","code":"RU","mask":"___-___-____","dc_mask":"+_-___-___-__-__"},{"name":"Afghanistan","dial_code":"+93","code":"AF","mask":"__-___-____","dc_mask":"+__-__-___-____"},{"name":"Aland Islands","dial_code":"+358","code":"AX","mask":"___-___-__-__","dc_mask":"+___-___-___-__-__"},{"name":"Albania","dial_code":"+355","code":"AL","mask":"___-___-___","dc_mask":"+___-___-___-___"},{"name":"Algeria","dial_code":"+213","code":"DZ","mask":"__-___-____","dc_mask":"+___-__-___-____"},{"name":"American Samoa","dial_code":"+1684","code":"AS","mask":"___-____","dc_mask":"+____-___-____"},{"name":"Andorra","dial_code":"+376","code":"AD","mask":"___-___","dc_mask":"+___-___-___"},{"name":"Angola","dial_code":"+244","code":"AO","mask":"___-___-___","dc_mask":"+___-___-___-___"},{"name":"Anguilla","dial_code":"+1264","code":"AI","mask":"___-____","dc_mask":"+____-___-____"},{"name":"Antarctica","dial_code":"+672","code":"AQ","mask":"1__-___","dc_mask":"+___-1__-___"},{"name":"Antigua and Barbuda","dial_code":"+1268","code":"AG","mask":"___-____","dc_mask":"+____-___-____"},{"name":"Argentina","dial_code":"+54","code":"AR","mask":"___-___-____","dc_mask":"+______-___-____"},{"name":"Armenia","dial_code":"+374","code":"AM","mask":"__-___-___","dc_mask":"+___-__-___-___"},{"name":"Aruba","dial_code":"+297","code":"AW","mask":"___-____","dc_mask":"+___-___-____"},{"name":"Ascension Island","dial_code":"+247","code":"AC","mask":"____","dc_mask":"+___-____"},{"name":"Australia","dial_code":"+61","code":"AU","mask":"_-____-____","dc_mask":"+__-_-____-____"},{"name":"Austria","dial_code":"+43","code":"AT","mask":"___-___-____","dc_mask":"+__-___-___-____"},{"name":"Azerbaijan","dial_code":"+994","code":"AZ","mask":"__-___-__-__","dc_mask":"+______-___-__-__"},{"name":"Bahamas","dial_code":"+1242","code":"BS","mask":"___-____","dc_mask":"+____-___-____"},{"name":"Bahrain","dial_code":"+973","code":"BH","mask":"____-____","dc_mask":"+___-____-____"},{"name":"Bangladesh","dial_code":"+880","code":"BD","mask":"1___-______","dc_mask":"+___-1___-______"},{"name":"Barbados","dial_code":"+1246","code":"BB","mask":"___-____","dc_mask":"+____-___-____"},{"name":"Belarus","dial_code":"+375","code":"BY","mask":"__-___-__-__","dc_mask":"+___-__-___-__-__"},{"name":"Belgium","dial_code":"+32","code":"BE","mask":"___-___-___","dc_mask":"+__-___-___-___"},{"name":"Belize","dial_code":"+501","code":"BZ","mask":"___-____","dc_mask":"+___-___-____"},{"name":"Benin","dial_code":"+229","code":"BJ","mask":"__-__-____","dc_mask":"+___-__-__-____"},{"name":"Bermuda","dial_code":"+1441","code":"BM","mask":"___-____","dc_mask":"+____-___-____"},{"name":"Bhutan","dial_code":"+975","code":"BT","mask":"17-___-___","dc_mask":"+___-17-___-___"},{"name":"Bolivia","dial_code":"+591","code":"BO","mask":"_-___-____","dc_mask":"+___-_-___-____"},{"name":"Bosnia and Herzegovina","dial_code":"+387","code":"BA","mask":"__-____","dc_mask":"+___-__-____"},{"name":"Botswana","dial_code":"+267","code":"BW","mask":"__-___-___","dc_mask":"+___-__-___-___"},{"name":"Brazil","dial_code":"+55","code":"BR","mask":"__-____-____","dc_mask":"+_____-____-____"},{"name":"British Indian Ocean Territory","dial_code":"+246","code":"IO","mask":"___-____","dc_mask":"+___-___-____"},{"name":"Brunei Darussalam","dial_code":"+673","code":"BN","mask":"___-____","dc_mask":"+___-___-____"},{"name":"Bulgaria","dial_code":"+359","code":"BG","mask":"___-___-___","dc_mask":"+___-___-___-___"},{"name":"Burkina Faso","dial_code":"+226","code":"BF","mask":"__-__-____","dc_mask":"+___-__-__-____"},{"name":"Burundi","dial_code":"+257","code":"BI","mask":"__-__-____","dc_mask":"+___-__-__-____"},{"name":"Cambodia","dial_code":"+855","code":"KH","mask":"__-___-___","dc_mask":"+___-__-___-___"},{"name":"Cameroon","dial_code":"+237","code":"CM","mask":"____-____","dc_mask":"+___-____-____"},{"name":"Canada","dial_code":"+1___","code":"CA","mask":"___-____","dc_mask":"+____-___-____"},{"name":"Cape Verde","dial_code":"+238","code":"CV","mask":"___-__-__","dc_mask":"+___-___-__-__"},{"name":"Cayman Islands","dial_code":"+1345","code":"KY","mask":"___-____","dc_mask":"+____-___-____"},{"name":"Central African Republic","dial_code":"+236","code":"CF","mask":"__-__-____","dc_mask":"+___-__-__-____"},{"name":"Chad","dial_code":"+235","code":"TD","mask":"__-__-__-__","dc_mask":"+______-__-__-__"},{"name":"Chile","dial_code":"+56","code":"CL","mask":"_-____-____","dc_mask":"+__-_-____-____"},{"name":"China","dial_code":"+86","code":"CN","mask":"___-____-___","dc_mask":"+__-___-____-___"},{"name":"Christmas Island","dial_code":"+61","code":"CX","mask":"_-____-____","dc_mask":"+__-_-____-____"},{"name":"Cocos Keeling- Islands","dial_code":"+61","code":"CC","mask":"_-____-____","dc_mask":"+__-_-____-____"},{"name":"Colombia","dial_code":"+57","code":"CO","mask":"___-___-____","dc_mask":"+______-___-____"},{"name":"Comoros","dial_code":"+269","code":"KM","mask":"__-_____","dc_mask":"+___-__-_____"},{"name":"Congo","dial_code":"+242","code":"CG","mask":"__-_____","dc_mask":"+___-__-_____"},{"name":"Cook Islands","dial_code":"+682","code":"CK","mask":"__-___","dc_mask":"+___-__-___"},{"name":"Costa Rica","dial_code":"+506","code":"CR","mask":"____-____","dc_mask":"+___-____-____"},{"name":"Croatia","dial_code":"+385","code":"HR","mask":"__-____-___","dc_mask":"+___-__-____-___"},{"name":"Cuba","dial_code":"+53","code":"CU","mask":"_-___-____","dc_mask":"+__-_-___-____"},{"name":"Cyprus","dial_code":"+357","code":"CY","mask":"__-___-___","dc_mask":"+___-__-___-___"},{"name":"Czech Republic","dial_code":"+420","code":"CZ","mask":"___-___-___","dc_mask":"+___-___-___-___"},{"name":"Democratic Republic of the Congo","dial_code":"+243","code":"CD","mask":"___-___-___","dc_mask":"+___-___-___-___"},{"name":"Denmark","dial_code":"+45","code":"DK","mask":"__-__-__-__","dc_mask":"+_____-__-__-__"},{"name":"Djibouti","dial_code":"+253","code":"DJ","mask":"__-__-__-__","dc_mask":"+___-__-__-__-__"},{"name":"Dominica","dial_code":"+1767","code":"DM","mask":"___-____","dc_mask":"+____-___-____"},{"name":"Dominican Republic","dial_code":"+1809","code":"DO","mask":"___-____","dc_mask":"+____-___-____"},{"name":"Ecuador","dial_code":"+593","code":"EC","mask":"_-___-____","dc_mask":"+___-_-___-____"},{"name":"Egypt","dial_code":"+20","code":"EG","mask":"___-___-____","dc_mask":"+__-___-___-____"},{"name":"El Salvador","dial_code":"+503","code":"SV","mask":"__-__-____","dc_mask":"+___-__-__-____"},{"name":"Equatorial Guinea","dial_code":"+240","code":"GQ","mask":"__-___-____","dc_mask":"+___-__-___-____"},{"name":"Eritrea","dial_code":"+291","code":"ER","mask":"_-___-___","dc_mask":"+___-_-___-___"},{"name":"Estonia","dial_code":"+372","code":"EE","mask":"___-____","dc_mask":"+___-___-____"},{"name":"Eswatini","dial_code":"+268","code":"SZ","mask":"__-__-____","dc_mask":"+___-__-__-____"},{"name":"Ethiopia","dial_code":"+251","code":"ET","mask":"__-___-____","dc_mask":"+___-__-___-____"},{"name":"Falkland Islands Malvinas-","dial_code":"+500","code":"FK","mask":"_____","dc_mask":"+___-_____"},{"name":"Faroe Islands","dial_code":"+298","code":"FO","mask":"___-___","dc_mask":"+___-___-___"},{"name":"Fiji","dial_code":"+679","code":"FJ","mask":"__-_____","dc_mask":"+___-__-_____"},{"name":"Finland","dial_code":"+358","code":"FI","mask":"___-___-__-__","dc_mask":"+___-___-___-__-__"},{"name":"France","dial_code":"+33","code":"FR","mask":"___-___-___","dc_mask":"+__-___-___-___"},{"name":"French Guiana","dial_code":"+594","code":"GF","mask":"_____-____","dc_mask":"+_________-____"},{"name":"French Polynesia","dial_code":"+689","code":"PF","mask":"__-__-__","dc_mask":"+___-__-__-__"},{"name":"Gabon","dial_code":"+241","code":"GA","mask":"_-__-__-__","dc_mask":"+___-_-__-__-__"},{"name":"Gambia","dial_code":"+220","code":"GM","mask":"___-__-__","dc_mask":"+___-___-__-__"},{"name":"Georgia","dial_code":"+995","code":"GE","mask":"___-___-___","dc_mask":"+_______-___-___"},{"name":"Germany","dial_code":"+49","code":"DE","mask":"___-___","dc_mask":"+__-___-___"},{"name":"Ghana","dial_code":"+233","code":"GH","mask":"___-___-___","dc_mask":"+___-___-___-___"},{"name":"Gibraltar","dial_code":"+350","code":"GI","mask":"___-_____","dc_mask":"+___-___-_____"},{"name":"Greece","dial_code":"+30","code":"GR","mask":"___-___-____","dc_mask":"+__-___-___-____"},{"name":"Greenland","dial_code":"+299","code":"GL","mask":"__-__-__","dc_mask":"+___-__-__-__"},{"name":"Grenada","dial_code":"+1473","code":"GD","mask":"___-____","dc_mask":"+____-___-____"},{"name":"Guadeloupe","dial_code":"+590","code":"GP","mask":"___-___-___","dc_mask":"+___-___-___-___"},{"name":"Guam","dial_code":"+1671","code":"GU","mask":"___-____","dc_mask":"+____-___-____"},{"name":"Guatemala","dial_code":"+502","code":"GT","mask":"_-___-____","dc_mask":"+___-_-___-____"},{"name":"Guinea","dial_code":"+224","code":"GN","mask":"__-___-___","dc_mask":"+___-__-___-___"},{"name":"Guinea-Bissau","dial_code":"+245","code":"GW","mask":"_-______","dc_mask":"+___-_-______"},{"name":"Guyana","dial_code":"+592","code":"GY","mask":"___-____","dc_mask":"+___-___-____"},{"name":"Haiti","dial_code":"+509","code":"HT","mask":"__-__-____","dc_mask":"+___-__-__-____"},{"name":"Holy See Vatican City State-","dial_code":"+39","code":"VA","mask":"06 698_____","dc_mask":"+__-__-___-_____"},{"name":"Honduras","dial_code":"+504","code":"HN","mask":"____-____","dc_mask":"+________-____"},{"name":"Hong Kong","dial_code":"+852","code":"HK","mask":"____-____","dc_mask":"+___-____-____"},{"name":"Hungary","dial_code":"+36","code":"HU","mask":"___-___-___","dc_mask":"+__-___-___-___"},{"name":"Iceland","dial_code":"+354","code":"IS","mask":"___-____","dc_mask":"+___-___-____"},{"name":"India","dial_code":"+91","code":"IN","mask":"____-___-___","dc_mask":"+__-____-___-___"},{"name":"Indonesia","dial_code":"+62","code":"ID","mask":"__-___-__","dc_mask":"+__-__-___-__"},{"name":"Iran","dial_code":"+98","code":"IR","mask":"___-___-____","dc_mask":"+______-___-____"},{"name":"Iraq","dial_code":"+924","code":"IQ","mask":"___-___-____","dc_mask":"+___-___-___-____"},{"name":"Ireland","dial_code":"+353","code":"IE","mask":"___-___-___","dc_mask":"+___-___-___-___"},{"name":"Israel","dial_code":"+972","code":"IL","mask":"_-___-____","dc_mask":"+___-_-___-____"},{"name":"Italy","dial_code":"+39","code":"IT","mask":"___-____-___","dc_mask":"+__-___-____-___"},{"name":"Ivory Coast / Cote d\'Ivoire","dial_code":"+225","code":"CI","mask":"__-___-___","dc_mask":"+___-__-___-___"},{"name":"Jamaica","dial_code":"+1876","code":"JM","mask":"___-____","dc_mask":"+____-___-____"},{"name":"Japan","dial_code":"+81","code":"JP","mask":"___-___-___","dc_mask":"+__-___-___-___"},{"name":"Jordan","dial_code":"+962","code":"JO","mask":"_-____-____","dc_mask":"+___-_-____-____"},{"name":"Kazakhstan","dial_code":"+77","code":"KZ","mask":"__-___-__-__","dc_mask":"+__-___-__-__"},{"name":"Kenya","dial_code":"+254","code":"KE","mask":"___-______","dc_mask":"+___-___-______"},{"name":"Kiribati","dial_code":"+686","code":"KI","mask":"__-___","dc_mask":"+___-__-___"},{"name":"Korea, Democratic People\'s Republic of Korea","dial_code":"+850","code":"KP","mask":"___-___","dc_mask":"+___-___-___"},{"name":"Korea, Republic of South Korea","dial_code":"+82","code":"KR","mask":"__-___-____","dc_mask":"+__-__-___-____"},{"name":"Kosovo","dial_code":"+383","code":"XK","mask":"__-___-___","dc_mask":"+___-__-___-___"},{"name":"Kuwait","dial_code":"+965","code":"KW","mask":"____-____","dc_mask":"+___-____-____"},{"name":"Kyrgyzstan","dial_code":"+996","code":"KG","mask":"___-___-___","dc_mask":"+___-___-___-___"},{"name":"Laos","dial_code":"+856","code":"LA","mask":"__-___-___","dc_mask":"+___-__-___-___"},{"name":"Latvia","dial_code":"+371","code":"LV","mask":"__-___-___","dc_mask":"+___-__-___-___"},{"name":"Lebanon","dial_code":"+961","code":"LB","mask":"_-___-___","dc_mask":"+___-_-___-___"},{"name":"Lesotho","dial_code":"+266","code":"LS","mask":"_-___-____","dc_mask":"+___-_-___-____"},{"name":"Liberia","dial_code":"+231","code":"LR","mask":"__-___-___","dc_mask":"+___-__-___-___"},{"name":"Libya","dial_code":"+218","code":"LY","mask":"__-___-___","dc_mask":"+___-__-___-___"},{"name":"Liechtenstein","dial_code":"+423","code":"LI","mask":"___-___-____","dc_mask":"+___-___-___-____"},{"name":"Lithuania","dial_code":"+370","code":"LT","mask":"___-__-___","dc_mask":"+___-___-__-___"},{"name":"Luxembourg","dial_code":"+352","code":"LU","mask":"___-___-___","dc_mask":"+___-___-___-___"},{"name":"Macau","dial_code":"+853","code":"MO","mask":"____-____","dc_mask":"+___-____-____"},{"name":"Madagascar","dial_code":"+261","code":"MG","mask":"__-__-_____","dc_mask":"+___-__-__-_____"},{"name":"Malawi","dial_code":"+265","code":"MW","mask":"1-___-___","dc_mask":"+___-_-___-___"},{"name":"Malaysia","dial_code":"+60","code":"MY","mask":"_-___-___","dc_mask":"+__-_-___-___"},{"name":"Maldives","dial_code":"+960","code":"MV","mask":"___-____","dc_mask":"+___-___-____"},{"name":"Mali","dial_code":"+223","code":"ML","mask":"__-__-____","dc_mask":"+___-__-__-____"},{"name":"Malta","dial_code":"+356","code":"MT","mask":"____-____","dc_mask":"+___-____-____"},{"name":"Marshall Islands","dial_code":"+692","code":"MH","mask":"___-____","dc_mask":"+___-___-____"},{"name":"Martinique","dial_code":"+596","code":"MQ","mask":"___-__-__-__","dc_mask":"+___-___-__-__-__"},{"name":"Mauritania","dial_code":"+222","code":"MR","mask":"__-__-____","dc_mask":"+___-__-__-____"},{"name":"Mauritius","dial_code":"+230","code":"MU","mask":"___-____","dc_mask":"+___-___-____"},{"name":"Mayotte","dial_code":"+262","code":"YT","mask":"_____-____","dc_mask":"+___-_____-____"},{"name":"Mexico","dial_code":"+52","code":"MX","mask":"__-__-____","dc_mask":"+__-__-__-____"},{"name":"Micronesia, Federated States of Micronesia","dial_code":"+691","code":"FM","mask":"___-____","dc_mask":"+___-___-____"},{"name":"Moldova","dial_code":"+373","code":"MD","mask":"____-____","dc_mask":"+___-____-____"},{"name":"Monaco","dial_code":"+377","code":"MC","mask":"__-___-___","dc_mask":"+___-__-___-___"},{"name":"Mongolia","dial_code":"+976","code":"MN","mask":"__-__-____","dc_mask":"+___-__-__-____"},{"name":"Montenegro","dial_code":"+382","code":"ME","mask":"__-___-___","dc_mask":"+___-__-___-___"},{"name":"Montserrat","dial_code":"+1664","code":"MS","mask":"___-____","dc_mask":"+____-___-____"},{"name":"Morocco","dial_code":"+212","code":"MA","mask":"__-____-___","dc_mask":"+___-__-____-___"},{"name":"Mozambique","dial_code":"+258","code":"MZ","mask":"__-___-___","dc_mask":"+___-__-___-___"},{"name":"Myanmar","dial_code":"+95","code":"MM","mask":"___-___","dc_mask":"+______-___"},{"name":"Namibia","dial_code":"+224","code":"NA","mask":"__-___-____","dc_mask":"+___-__-___-____"},{"name":"Nauru","dial_code":"+674","code":"NR","mask":"___-____","dc_mask":"+___-___-____"},{"name":"Nepal","dial_code":"+977","code":"NP","mask":"__-___-___","dc_mask":"+___-__-___-___"},{"name":"Netherlands","dial_code":"+31","code":"NL","mask":"__-___-____","dc_mask":"+__-__-___-____"},{"name":"Netherlands Antilles","dial_code":"+599","code":"AN","mask":"___-____","dc_mask":"+___-___-____"},{"name":"New Caledonia","dial_code":"+687","code":"NC","mask":"__-____","dc_mask":"+___-__-____"},{"name":"New Zealand","dial_code":"+64","code":"NZ","mask":"___-___-___","dc_mask":"+____-___-___"},{"name":"Nicaragua","dial_code":"+505","code":"NI","mask":"____-____","dc_mask":"+________-____"},{"name":"Niger","dial_code":"+227","code":"NE","mask":"__-__-____","dc_mask":"+___-__-__-____"},{"name":"Nigeria","dial_code":"+234","code":"NG","mask":"__-___-__","dc_mask":"+______-___-__"},{"name":"Niue","dial_code":"+683","code":"NU","mask":"____","dc_mask":"+___-____"},{"name":"Norfolk Island","dial_code":"+672","code":"NF","mask":"3__-___","dc_mask":"+___-3__-___"},{"name":"North Macedonia","dial_code":"+389","code":"MK","mask":"__-___-___","dc_mask":"+___-__-___-___"},{"name":"Northern Mariana Islands","dial_code":"+1670","code":"MP","mask":"___-____","dc_mask":"+____-___-____"},{"name":"Norway","dial_code":"+47","code":"NO","mask":"___-__-___","dc_mask":"+______-__-___"},{"name":"Oman","dial_code":"+968","code":"OM","mask":"__-___-___","dc_mask":"+___-__-___-___"},{"name":"Pakistan","dial_code":"+92","code":"PK","mask":"___-___-____","dc_mask":"+__-___-___-____"},{"name":"Palau","dial_code":"+680","code":"PW","mask":"___-____","dc_mask":"+___-___-____"},{"name":"Palestine","dial_code":"+970","code":"PS","mask":"__-___-____","dc_mask":"+___-__-___-____"},{"name":"Panama","dial_code":"+507","code":"PA","mask":"___-____","dc_mask":"+___-___-____"},{"name":"Papua New Guinea","dial_code":"+675","code":"PG","mask":"___-__-___","dc_mask":"+___-___-__-___"},{"name":"Paraguay","dial_code":"+595","code":"PY","mask":"___-___-___","dc_mask":"+_______-___-___"},{"name":"Peru","dial_code":"+51","code":"PE","mask":"___-___-___","dc_mask":"+__-___-___-___"},{"name":"Philippines","dial_code":"+63","code":"PH","mask":"___-___-____","dc_mask":"+__-___-___-____"},{"name":"Pitcairn","dial_code":"+870","code":"PN","mask":"___-___-___","dc_mask":"+___-___-___-___"},{"name":"Poland","dial_code":"+48","code":"PL","mask":"___-___-___","dc_mask":"+______-___-___"},{"name":"Portugal","dial_code":"+351","code":"PT","mask":"__-___-____","dc_mask":"+___-__-___-____"},{"name":"Puerto Rico","dial_code":"+1787","code":"PR","mask":" ___-____","dc_mask":"+____- ___-____"},{"name":"Qatar","dial_code":"+974","code":"QA","mask":"____-____","dc_mask":"+___-____-____"},{"name":"Reunion","dial_code":"+262","code":"RE","mask":"_____-____","dc_mask":"+___-_____-____"},{"name":"Romania","dial_code":"+40","code":"RO","mask":"__-___-____","dc_mask":"+__-__-___-____"},{"name":"Rwanda","dial_code":"+250","code":"RW","mask":"___-___-___","dc_mask":"+___-___-___-___"},{"name":"Saint Barthelemy","dial_code":"+590","code":"BL","mask":"___-__-__-__","dc_mask":"+___-___-__-__-__"},{"name":"Saint Helena, Ascension and Tristan Da Cunha","dial_code":"+290","code":"SH","mask":"____","dc_mask":"+___-____"},{"name":"Saint Kitts and Nevis","dial_code":"+1869","code":"KN","mask":"___-____","dc_mask":"+____-___-____"},{"name":"Saint Lucia","dial_code":"+1758","code":"LC","mask":"___-____","dc_mask":"+________-____"},{"name":"Saint Martin","dial_code":"+590","code":"MF","mask":"___-___-___","dc_mask":"+___-___-___-___"},{"name":"Saint Pierre and Miquelon","dial_code":"+508","code":"PM","mask":"__-____","dc_mask":"+___-__-____"},{"name":"Saint Vincent and the Grenadines","dial_code":"+1784","code":"VC","mask":"___-____","dc_mask":"+________-____"},{"name":"Samoa","dial_code":"+685","code":"WS","mask":"__-____","dc_mask":"+___-__-____"},{"name":"San Marino","dial_code":"+378","code":"SM","mask":"____-______","dc_mask":"+___-____-______"},{"name":"Sao Tome and Principe","dial_code":"+239","code":"ST","mask":"__-_____","dc_mask":"+___-__-_____"},{"name":"Saudi Arabia","dial_code":"+966","code":"SA","mask":"_-___-____","dc_mask":"+___-_-___-____"},{"name":"Senegal","dial_code":"+221","code":"SN","mask":"__-___-____","dc_mask":"+___-__-___-____"},{"name":"Serbia","dial_code":"+381","code":"RS","mask":"__-___-____","dc_mask":"+___-__-___-____"},{"name":"Seychelles","dial_code":"+248","code":"SC","mask":"_-___-___","dc_mask":"+___-_-___-___"},{"name":"Sierra Leone","dial_code":"+232","code":"SL","mask":"__-______","dc_mask":"+___-__-______"},{"name":"Singapore","dial_code":"+65","code":"SG","mask":"____-____","dc_mask":"+_______-____"},{"name":"Sint Maarten","dial_code":"+1721","code":"SX","mask":"___-____","dc_mask":"+____-___-____"},{"name":"Slovakia","dial_code":"+421","code":"SK","mask":"___-___-___","dc_mask":"+___-___-___-___"},{"name":"Slovenia","dial_code":"+386","code":"SI","mask":"__-___-___","dc_mask":"+___-__-___-___"},{"name":"Solomon Islands","dial_code":"+677","code":"SB","mask":"_____","dc_mask":"+___-_____"},{"name":"Somalia","dial_code":"+252","code":"SO","mask":"_-___-___","dc_mask":"+___-_-___-___"},{"name":"South Africa","dial_code":"+27","code":"ZA","mask":"__-___-____","dc_mask":"+_____-___-____"},{"name":"South Georgia and the South Sandwich Islands","dial_code":"+500","code":"GS","mask":"_____","dc_mask":"+___-_____"},{"name":"South Sudan","dial_code":"+211","code":"SS","mask":"__-___-____","dc_mask":"+___-__-___-____"},{"name":"Spain","dial_code":"+34","code":"ES","mask":"___-___-___","dc_mask":"+______-___-___"},{"name":"Sri Lanka","dial_code":"+94","code":"LK","mask":"__-___-____","dc_mask":"+_____-___-____"},{"name":"Sudan","dial_code":"+249","code":"SD","mask":"__-___-____","dc_mask":"+___-__-___-____"},{"name":"Suriname","dial_code":"+597","code":"SR","mask":"___-___","dc_mask":"+___-___-___"},{"name":"Svalbard and Jan Mayen","dial_code":"+47","code":"SJ","mask":"___-__-___","dc_mask":"+______-__-___"},{"name":"Sweden","dial_code":"+46","code":"SE","mask":"__-___-____","dc_mask":"+__-__-___-____"},{"name":"Switzerland","dial_code":"+41","code":"CH","mask":"__-___-____","dc_mask":"+__-__-___-____"},{"name":"Syrian Arab Republic","dial_code":"+963","code":"SY","mask":"__-____-___","dc_mask":"+___-__-____-___"},{"name":"Taiwan","dial_code":"+886","code":"TW","mask":"____-____","dc_mask":"+___-____-____"},{"name":"Tajikistan","dial_code":"+992","code":"TJ","mask":"__-___-____","dc_mask":"+___-__-___-____"},{"name":"Tanzania, United Republic of Tanzania","dial_code":"+255","code":"TZ","mask":"__-___-____","dc_mask":"+___-__-___-____"},{"name":"Thailand","dial_code":"+66","code":"TH","mask":"__-___-___","dc_mask":"+__-__-___-___"},{"name":"Timor-Leste","dial_code":"+670","code":"TL","mask":"___-____","dc_mask":"+___-___-____"},{"name":"Togo","dial_code":"+228","code":"TG","mask":"__-___-___","dc_mask":"+___-__-___-___"},{"name":"Tokelau","dial_code":"+690","code":"TK","mask":"____","dc_mask":"+___-____"},{"name":"Tonga","dial_code":"+676","code":"TO","mask":"_____","dc_mask":"+___-_____"},{"name":"Trinidad and Tobago","dial_code":"+1868","code":"TT","mask":"___-____","dc_mask":"+____-___-____"},{"name":"Tunisia","dial_code":"+216","code":"TN","mask":"__-___-___","dc_mask":"+___-__-___-___"},{"name":"Turkey","dial_code":"+90","code":"TR","mask":"___-___-____","dc_mask":"+__-___-___-____"},{"name":"Turkmenistan","dial_code":"+993","code":"TM","mask":"_-___-____","dc_mask":"+___-_-___-____"},{"name":"Turks and Caicos Islands","dial_code":"+1249","code":"TC","mask":"___-___","dc_mask":"+____-___-___"},{"name":"Tuvalu","dial_code":"+688","code":"TV","mask":"2____","dc_mask":"+___-2____"},{"name":"Uganda","dial_code":"+256","code":"UG","mask":"___-___-___","dc_mask":"+___-___-___-___"},{"name":"Ukraine","dial_code":"+380","code":"UA","mask":"__-___-__-__","dc_mask":"+___-__-___-__-__"},{"name":"United Arab Emirates","dial_code":"+971","code":"AE","mask":"_-___-____","dc_mask":"+___-_-___-____"},{"name":"Uruguay","dial_code":"+598","code":"UY","mask":"_-___-__-__","dc_mask":"+___-_-___-__-__"},{"name":"Uzbekistan","dial_code":"+998","code":"UZ","mask":"__-___-____","dc_mask":"+___-__-___-____"},{"name":"Vanuatu","dial_code":"+678","code":"VU","mask":"_____","dc_mask":"+___-_____"},{"name":"Venezuela, Bolivarian Republic of Venezuela","dial_code":"+58","code":"VE","mask":"___-___-____","dc_mask":"+______-___-____"},{"name":"Vietnam","dial_code":"+84","code":"VN","mask":"__-____-___","dc_mask":"+_____-____-___"},{"name":"Virgin Islands, British","dial_code":"+1284","code":"VG","mask":"___-____","dc_mask":"+____-___-____"},{"name":"Virgin Islands, U.S.","dial_code":"+1340","code":"VI","mask":"___-____","dc_mask":"+____-___-____"},{"name":"Wallis and Futuna","dial_code":"+681","code":"WF","mask":"__-____","dc_mask":"+___-__-____"},{"name":"Yemen","dial_code":"+967","code":"YE","mask":"_-___-___","dc_mask":"+___-_-___-___"},{"name":"Zambia","dial_code":"+260","code":"ZM","mask":"__-___-____","dc_mask":"+___-__-___-____"},{"name":"Zimbabwe","dial_code":"+263","code":"ZW","mask":"_-______","dc_mask":"+___-_-______"}]'),E=JSON.parse('{"AF":["Asia/Kabul"],"AX":["Europe/Mariehamn"],"AL":["Europe/Tirane"],"DZ":["Africa/Algiers"],"AS":["Pacific/Pago_Pago"],"AD":["Europe/Andorra"],"AO":["Africa/Luanda"],"AI":["America/Anguilla"],"AQ":["Antarctica/McMurdo","Antarctica/South_Pole","Antarctica/Rothera","Antarctica/Palmer","Antarctica/Mawson","Antarctica/Davis","Antarctica/Casey","Antarctica/Vostok","Antarctica/DumontDUrville","Antarctica/Syowa"],"AG":["America/Antigua"],"AR":["America/Argentina/Buenos_Aires","America/Argentina/Cordoba","America/Argentina/Salta","America/Argentina/Jujuy","America/Argentina/Tucuman","America/Argentina/Catamarca","America/Argentina/La_Rioja","America/Argentina/San_Juan","America/Argentina/Mendoza","America/Argentina/San_Luis","America/Argentina/Rio_Gallegos","America/Argentina/Ushuaia"],"AM":["Asia/Yerevan"],"AW":["America/Aruba"],"AU":["Australia/Lord_Howe","Antarctica/Macquarie","Australia/Hobart","Australia/Currie","Australia/Melbourne","Australia/Sydney","Australia/Broken_Hill","Australia/Brisbane","Australia/Lindeman","Australia/Adelaide","Australia/Darwin","Australia/Perth","Australia/Eucla"],"AT":["Europe/Vienna"],"AZ":["Asia/Baku"],"BS":["America/Nassau"],"BH":["Asia/Bahrain"],"BD":["Asia/Dhaka"],"BB":["America/Barbados"],"BY":["Europe/Minsk"],"BE":["Europe/Brussels"],"BZ":["America/Belize"],"BJ":["Africa/Porto-Novo"],"BM":["Atlantic/Bermuda"],"BT":["Asia/Thimphu"],"BO":["America/La_Paz"],"BA":["Europe/Sarajevo"],"BW":["Africa/Gaborone"],"BV":[null],"BR":["America/Noronha","America/Belem","America/Fortaleza","America/Recife","America/Araguaina","America/Maceio","America/Bahia","America/Sao_Paulo","America/Campo_Grande","America/Cuiaba","America/Santarem","America/Porto_Velho","America/Boa_Vista","America/Manaus","America/Eirunepe","America/Rio_Branco"],"IO":["Indian/Chagos"],"BN":["Asia/Brunei"],"BG":["Europe/Sofia"],"BF":["Africa/Ouagadougou"],"BI":["Africa/Bujumbura"],"KH":["Asia/Phnom_Penh"],"CM":["Africa/Douala"],"CA":["America/St_Johns","America/Halifax","America/Glace_Bay","America/Moncton","America/Goose_Bay","America/Blanc-Sablon","America/Montreal","America/Toronto","America/Nipigon","America/Thunder_Bay","America/Iqaluit","America/Pangnirtung","America/Resolute","America/Atikokan","America/Rankin_Inlet","America/Winnipeg","America/Rainy_River","America/Regina","America/Swift_Current","America/Edmonton","America/Cambridge_Bay","America/Yellowknife","America/Inuvik","America/Creston","America/Dawson_Creek","America/Vancouver","America/Whitehorse","America/Dawson"],"CV":["Atlantic/Cape_Verde"],"KY":["America/Cayman"],"CF":["Africa/Bangui"],"TD":["Africa/Ndjamena"],"CL":["America/Santiago","Pacific/Easter"],"CN":["Asia/Shanghai","Asia/Harbin","Asia/Chongqing","Asia/Urumqi","Asia/Kashgar"],"CX":["Indian/Christmas"],"CC":["Indian/Cocos"],"CO":["America/Bogota"],"KM":["Indian/Comoro"],"CG":["Africa/Brazzaville"],"CD":["Africa/Kinshasa","Africa/Lubumbashi"],"CK":["Pacific/Rarotonga"],"CR":["America/Costa_Rica"],"CI":["Africa/Abidjan"],"HR":["Europe/Zagreb"],"CU":["America/Havana"],"CY":["Asia/Nicosia"],"CZ":["Europe/Prague"],"DK":["Europe/Copenhagen"],"DJ":["Africa/Djibouti"],"DM":["America/Dominica"],"DO":["America/Santo_Domingo"],"EC":["America/Guayaquil","Pacific/Galapagos"],"EG":["Africa/Cairo"],"SV":["America/El_Salvador"],"GQ":["Africa/Malabo"],"ER":["Africa/Asmara"],"EE":["Europe/Tallinn"],"ET":["Africa/Addis_Ababa"],"FK":["Atlantic/Stanley"],"FO":["Atlantic/Faroe"],"FJ":["Pacific/Fiji"],"FI":["Europe/Helsinki"],"FR":["Europe/Paris"],"GF":["America/Cayenne"],"PF":["Pacific/Tahiti","Pacific/Marquesas","Pacific/Gambier"],"TF":["Indian/Kerguelen"],"GA":["Africa/Libreville"],"GM":["Africa/Banjul"],"GE":["Asia/Tbilisi"],"DE":["Europe/Berlin","Europe/Busingen"],"GH":["Africa/Accra"],"GI":["Europe/Gibraltar"],"GR":["Europe/Athens"],"GL":["America/Godthab","America/Danmarkshavn","America/Scoresbysund","America/Thule"],"GD":["America/Grenada"],"GP":["America/Guadeloupe"],"GU":["Pacific/Guam"],"GT":["America/Guatemala"],"GG":["Europe/Guernsey"],"GN":["Africa/Conakry"],"GW":["Africa/Bissau"],"GY":["America/Guyana"],"HT":["America/Port-au-Prince"],"HM":[null],"VA":["Europe/Vatican"],"HN":["America/Tegucigalpa"],"HK":["Asia/Hong_Kong"],"HU":["Europe/Budapest"],"IS":["Atlantic/Reykjavik"],"IN":["Asia/Kolkata"],"ID":["Asia/Jakarta","Asia/Pontianak","Asia/Makassar","Asia/Jayapura"],"IR":["Asia/Tehran"],"IQ":["Asia/Baghdad"],"IE":["Europe/Dublin"],"IM":["Europe/Isle_of_Man"],"IL":["Asia/Jerusalem"],"IT":["Europe/Rome"],"JM":["America/Jamaica"],"JP":["Asia/Tokyo"],"JE":["Europe/Jersey"],"JO":["Asia/Amman"],"KZ":["Asia/Almaty","Asia/Qyzylorda","Asia/Aqtobe","Asia/Aqtau","Asia/Oral"],"KE":["Africa/Nairobi"],"KI":["Pacific/Tarawa","Pacific/Enderbury","Pacific/Kiritimati"],"KP":["Asia/Pyongyang"],"KR":["Asia/Seoul"],"KW":["Asia/Kuwait"],"KG":["Asia/Bishkek"],"LA":["Asia/Vientiane"],"LV":["Europe/Riga"],"LB":["Asia/Beirut"],"LS":["Africa/Maseru"],"LR":["Africa/Monrovia"],"LY":["Africa/Tripoli"],"LI":["Europe/Vaduz"],"LT":["Europe/Vilnius"],"LU":["Europe/Luxembourg"],"MO":["Asia/Macau"],"MK":["Europe/Skopje"],"MG":["Indian/Antananarivo"],"MW":["Africa/Blantyre"],"MY":["Asia/Kuala_Lumpur","Asia/Kuching"],"MV":["Indian/Maldives"],"ML":["Africa/Bamako"],"MT":["Europe/Malta"],"MH":["Pacific/Majuro","Pacific/Kwajalein"],"MQ":["America/Martinique"],"MR":["Africa/Nouakchott"],"MU":["Indian/Mauritius"],"YT":["Indian/Mayotte"],"MX":["America/Mexico_City","America/Cancun","America/Merida","America/Monterrey","America/Matamoros","America/Mazatlan","America/Chihuahua","America/Ojinaga","America/Hermosillo","America/Tijuana","America/Santa_Isabel","America/Bahia_Banderas"],"FM":["Pacific/Chuuk","Pacific/Pohnpei","Pacific/Kosrae"],"MD":["Europe/Chisinau"],"MC":["Europe/Monaco"],"MN":["Asia/Ulaanbaatar","Asia/Hovd","Asia/Choibalsan"],"ME":["Europe/Podgorica"],"MS":["America/Montserrat"],"MA":["Africa/Casablanca"],"MZ":["Africa/Maputo"],"MM":["Asia/Rangoon"],"NA":["Africa/Windhoek"],"NR":["Pacific/Nauru"],"NP":["Asia/Kathmandu"],"NL":["Europe/Amsterdam"],"AN":[null],"NC":["Pacific/Noumea"],"NZ":["Pacific/Auckland","Pacific/Chatham"],"NI":["America/Managua"],"NE":["Africa/Niamey"],"NG":["Africa/Lagos"],"NU":["Pacific/Niue"],"NF":["Pacific/Norfolk"],"MP":["Pacific/Saipan"],"NO":["Europe/Oslo"],"OM":["Asia/Muscat"],"PK":["Asia/Karachi"],"PW":["Pacific/Palau"],"PS":["Asia/Gaza","Asia/Hebron"],"PA":["America/Panama"],"PG":["Pacific/Port_Moresby"],"PY":["America/Asuncion"],"PE":["America/Lima"],"PH":["Asia/Manila"],"PN":["Pacific/Pitcairn"],"PL":["Europe/Warsaw"],"PT":["Europe/Lisbon","Atlantic/Madeira","Atlantic/Azores"],"PR":["America/Puerto_Rico"],"QA":["Asia/Qatar"],"RE":["Indian/Reunion"],"RO":["Europe/Bucharest"],"RU":["Europe/Kaliningrad","Europe/Moscow","Europe/Volgograd","Europe/Samara","Asia/Yekaterinburg","Asia/Omsk","Asia/Novosibirsk","Asia/Novokuznetsk","Asia/Krasnoyarsk","Asia/Irkutsk","Asia/Yakutsk","Asia/Khandyga","Asia/Vladivostok","Asia/Sakhalin","Asia/Ust-Nera","Asia/Magadan","Asia/Kamchatka","Asia/Anadyr"],"RW":["Africa/Kigali"],"BL":["America/St_Barthelemy"],"SH":["Atlantic/St_Helena"],"KN":["America/St_Kitts"],"LC":["America/St_Lucia"],"MF":["America/Marigot"],"PM":["America/Miquelon"],"VC":["America/St_Vincent"],"WS":["Pacific/Apia"],"SM":["Europe/San_Marino"],"ST":["Africa/Sao_Tome"],"SA":["Asia/Riyadh"],"SN":["Africa/Dakar"],"RS":["Europe/Belgrade"],"SC":["Indian/Mahe"],"SL":["Africa/Freetown"],"SG":["Asia/Singapore"],"SK":["Europe/Bratislava"],"SI":["Europe/Ljubljana"],"SB":["Pacific/Guadalcanal"],"SO":["Africa/Mogadishu"],"ZA":["Africa/Johannesburg"],"GS":["Atlantic/South_Georgia"],"ES":["Europe/Madrid","Africa/Ceuta","Atlantic/Canary"],"LK":["Asia/Colombo"],"SD":["Africa/Khartoum"],"SR":["America/Paramaribo"],"SJ":["Arctic/Longyearbyen"],"SZ":["Africa/Mbabane"],"SE":["Europe/Stockholm"],"CH":["Europe/Zurich"],"SY":["Asia/Damascus"],"TW":["Asia/Taipei"],"TJ":["Asia/Dushanbe"],"TZ":["Africa/Dar_es_Salaam"],"TH":["Asia/Bangkok"],"TL":["Asia/Dili"],"TG":["Africa/Lome"],"TK":["Pacific/Fakaofo"],"TO":["Pacific/Tongatapu"],"TT":["America/Port_of_Spain"],"TN":["Africa/Tunis"],"TR":["Europe/Istanbul"],"TM":["Asia/Ashgabat"],"TC":["America/Grand_Turk"],"TV":["Pacific/Funafuti"],"UG":["Africa/Kampala"],"UA":["Europe/Kiev","Europe/Uzhgorod","Europe/Zaporozhye","Europe/Simferopol"],"AE":["Asia/Dubai"],"GB":["Europe/London"],"US":["America/New_York","America/Detroit","America/Kentucky/Louisville","America/Kentucky/Monticello","America/Indiana/Indianapolis","America/Indiana/Vincennes","America/Indiana/Winamac","America/Indiana/Marengo","America/Indiana/Petersburg","America/Indiana/Vevay","America/Chicago","America/Indiana/Tell_City","America/Indiana/Knox","America/Menominee","America/North_Dakota/Center","America/North_Dakota/New_Salem","America/North_Dakota/Beulah","America/Denver","America/Boise","America/Shiprock","America/Phoenix","America/Los_Angeles","America/Anchorage","America/Juneau","America/Sitka","America/Yakutat","America/Nome","America/Adak","America/Metlakatla","Pacific/Honolulu"],"UM":["Pacific/Johnston","Pacific/Midway","Pacific/Wake"],"UY":["America/Montevideo"],"UZ":["Asia/Samarkand","Asia/Tashkent"],"VU":["Pacific/Efate"],"VE":["America/Caracas"],"VN":["Asia/Ho_Chi_Minh"],"VG":["America/Tortola"],"VI":["America/St_Thomas"],"WF":["Pacific/Wallis"],"EH":["Africa/El_Aaiun"],"YE":["Asia/Aden"],"ZM":["Africa/Lusaka"],"ZW":["Africa/Harare"]}'),z={name:"AppInputPhoneNumber",props:["phoneNumber","propertyId"],data(){return{customTokens:{Y:{pattern:/[0-9]/},"#":{pattern:/\d/},X:{pattern:/[0-9a-zA-Z]/},S:{pattern:/[a-zA-Z]/},A:{pattern:/[a-zA-Z]/,transform:t=>t.toLocaleUpperCase()},a:{pattern:/[a-zA-Z]/,transform:t=>t.toLocaleLowerCase()},"!":{escape:!0}},numbers:T,countries:E,activeNum:{code:"US",mask:null!==localStorage.getItem("phone-number-mask")?localStorage.getItem("phone-number-mask"):"+1___-___-____"},mask:null!==localStorage.getItem("phone-number-mask")?localStorage.getItem("phone-number-mask"):"+1___-___-____"}},computed:{phone:{get(){return this.phoneNumber},set(t){this.$emit("update:phoneNumber",t)}}},watch:{phone(t){this.$root.setPropertyToLocalStorage(this.propertyId,t)}},created(){this.initDetectCountry()},methods:{searchCountry(t){const e=[];T.filter((a=>{(a.name.toLocaleLowerCase().includes(t.target.value.toLocaleLowerCase())||a.dial_code.includes(t.target.value))&&e.push(a)})),this.numbers=e},getFlag(t){try{return a(70236)("./"+t+".svg")}catch(e){return""}},selectCountry(t,e=!1){this.activeNum=t,e&&(this.phone=""),this.mask=t.mask,this.mask=t.dial_code+" "+t.mask,localStorage.setItem("phone-number-mask",this.mask),this.$modal.hide("modal-select-country")},autoDetectCountry(t,e=!1){this.activeNum=t,e&&(this.phone=""),null===localStorage.getItem("phone-number-mask")?(this.mask=t.mask,this.mask=t.dial_code+" "+t.mask,this.$modal.hide("modal-select-country")):this.mask=localStorage.getItem("phone-number-mask")},foundDialCode(t){for(var e=0;e<t.length-1;e++){var a=t.substring(0,t.length-e),o=this.numbers.filter((t=>t.dial_code==a));if(o.length>0)return this.autoDetectCountry(o[0]),!0}},initDetectCountry(){try{if(void 0===this.phoneNumber||""===this.phoneNumber||null===this.phoneNumber){var t="+1";if(null!==this.$root.hotel.ext_data&&void 0!==this.$root.hotel.ext_data.country_code&&""!==this.$root.hotel.ext_data.country_code&&null!==this.$root.hotel.ext_data.country_code?t=this.$root.hotel.ext_data.country_code:("ru"=="RU".toLowerCase()&&(t="+7"),"eu"=="RU".toLowerCase()&&(t="+48"),"uk"=="RU".toLowerCase()&&(t="+44 (0)"),"ca"=="RU".toLowerCase()&&(t="+1___")),t.length>0){var e=this.numbers.filter((e=>e.dial_code==t));e.length>0&&this.autoDetectCountry(e[0],!0)}}else this.foundDialCode(this.phoneNumber)}catch(a){console.log(a)}}}},N=z,O=(0,d.Z)(N,P,I,!1,null,null,null),j=O.exports,D={name:"app_properties",components:{ArticleDatePicker:m,ArticleTimePicker:b,AppMiltipleDatePicker:k.Z,ArticleCalendarTimePicker:B,AppInputPhoneNumber:j},props:{property:null,errors:null,productId:null,productUuid:null,maxBookingSlot:null,quantity:null,schedule:null},data(){return{pikadayOptions:{minDate:i()().toDate()},lang:"en"}},mounted(){this.$nextTick((()=>{this.lang="ru"==this.$root.currentLanguage?"ru":"en"}))},methods:{setValue(t,e){this.$root.setPropertyToLocalStorage(e,t)},checkBanknotes(t,e){return"banknotes"!==t.pcode_id||"banknotes"===t.pcode_id&&this.$root.hotel.payments&&this.$root.cart.hotel_payments&&e.selectedPayment&&t?.extra?.hotel_payment_type_ids.includes(e.selectedPayment.id)},checkboxChange(t){this.property_val.properties[t].value=0==this.property_val.properties[t].attrs.filter((t=>t.checked)).length?null:"checked",this.$root.setPropertyToLocalStorage(this.property_val.properties[t].id,this.property_val.properties[t].value)},disabledCheckbox(t,e){return!(!this.disabledCheckboxInputQuantity(t)||e.checked)||null!==t.max_checked_attrs_count&&t.max_checked_attrs_count>0&&t.attrs.filter((t=>t.checked)).length>=t.max_checked_attrs_count&&!e.checked},disabledCheckboxInputQuantity(t){var e=t.attrs.filter((t=>t.checked)).reduce(((t,e)=>t+e.quantity),0);return!!(null!==t.maximum&&e&&e>=t.maximum)},updateDates(t,e){this.property_val.properties[e].value=t},validate(){return this.errors.errors=[],void 0==this.property_val||null==this.property_val||(void 0===this.property_val.properties||null==this.property_val.properties||(void 0!==this.property_val.properties&&0==Object.keys(this.property_val.properties).length||Object.keys(this.property_val.properties).length>0&&0===this.property_val.properties.filter((t=>!this.isValidProperty(t))).length))},isValidProperty(t){return!t.is_required||("banknotes"==t.pcode_id&&"cash"!==this.$parent.selectedPayment.ptype_id||(""===t.value||null===t.value?(this.errors.errors[t.id]="invalid",!1):!("phone_number"==t.pcode_id&&t.value.replace(" ","").replace("-","").length<10)))},getLocalStorageAndSetUrlProperties(t){try{if(void 0==localStorage.getItem("property_values"))return t;let e=JSON.parse(localStorage.getItem("property_values"));if(0===e.length)return;return void 0==t||null==t||(void 0===t.properties||null==t.properties||(void 0!==t.properties&&0==Object.keys(t.properties).length||(e.map((e=>{"hadassah.2roomz.com"===this.$root.hotel.site||"hadassah-hospital.2roomz.com"==this.$root.hotel.site?(t.properties.map(((a,o)=>{a.extra.old_id==e.id&&(t.properties[o].value=e.value)})),t.properties.map(((a,o)=>{a.id==e.id&&(t.properties[o].value=e.value)}))):t.properties.map(((a,o)=>{if(a.id==e.id)if("checkbox"===a.ptype_id){let r=a.attrs.length>0?a.attrs[0]:null;r&&(r.checked="checked"===e.value,t.properties[o].attrs[0]=r)}else t.properties[o].value=e.value}))})),t)))}catch(e){return console.error(e),t}},fetchPerson(t){try{var e=void 0!=localStorage.getItem("person-uuid")?localStorage.getItem("person-uuid"):null;if(!e)return t;var a="https://admin.2roomz.com/api/v1/public/hotels/"+this.$root.hotel.uuid+"/guests/"+e,o=this.$http.get(a),r=o.data.data;return t.properties.map(((e,a)=>{"text"==e.ptype_id&&"name"==e.pcode_id&&r.name&&(t.properties[a].value=r.name),"text"==e.ptype_id&&"phone_number"==e.pcode_id&&r.idphone&&(t.properties[a].value=r.idphone)})),t}catch(s){return console.error(s),t}}},computed:{property_val:{get(){let t=this.property;return t=this.getLocalStorageAndSetUrlProperties(t),this.fetchPerson(t),t},set(t){this.$emit("update:property",t)}}}},H=D,K=(0,d.Z)(H,o,r,!1,null,null,null),q=K.exports},60612:function(t,e,a){"use strict";a.d(e,{Z:function(){return l}});var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"flex flex-col justify-end",class:[t.checkRootNameAndBanners()?"footer":""]},[a("div",{staticClass:"wrapper w-full text-xs flex justify-center pb-12 pt-5 mb-10 h-32"},[a("div",{class:"moon2.2roomz.com"==t.$root.hotel.site?"text-white":""},[t._v(t._s(t.getCoName())+" ©"+t._s((new Date).getFullYear()))]),a("a",{staticClass:"ml-2 underline",attrs:{href:"javascript:void(0)"},on:{click:t.openPrivacyPolicy}},[t._v(t._s(t.$root.getKeyWord("privacy_policy")))])])])},r=[],s={name:"AppFooter",methods:{checkRootNameAndBanners(){return"home"===this.$route.name&&this.$root.hotel&&this.$root.hotel.banners&&this.$root.hotel.banners.length>0},openPrivacyPolicy(){this.$modal.show("modal-privacy-policy"),this.$root.getPublicInformation("privacy_policy")}}},i=s,n=a(1001),c=(0,n.Z)(i,o,r,!1,null,null,null),l=c.exports},59702:function(t,e,a){"use strict";a.d(e,{Z:function(){return v}});var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:" rounded-b-lg",class:{header:"video_template"!==t.$root.template&&"slider_template"!==t.$root.template,"py-[30px]":"video_template"===t.$root.template||"slider_template"===t.$root.template}},[a("div",{staticClass:"flex justify-between items-center h-full inside-header",class:["courtyardpolyana"===t.$root.hotelCode||"courtyardkazan"===t.$root.hotelCode?"mx-4":""]},["courtyardpolyana"!==t.$root.hotelCode&&"courtyardkazan"!==t.$root.hotelCode?a("div",{staticClass:"w-1/3",class:{flex:t.checkScreen}},["/ar"==t.$route.path||"/ar-promo"==t.$route.path||"/locations-occupancy"==t.$route.path?a("router-link",{staticClass:" mx-4 w-10 h-10 text-black bg-white/70 focus:outline-none rounded-full text-sm p-2.5 text-center inline-flex items-center shadow",attrs:{id:"homeBackButton",to:"/home"}},[a("svg",{staticClass:"w-5 h-5",staticStyle:{fill:"#000"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[a("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),a("path",{attrs:{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}})])]):t._e()],1):t._e(),a("div",{staticClass:"w-2/3",class:["courtyardpolyana"===t.$root.hotelCode||"courtyardkazan"===t.$root.hotelCode?"order-last":""]},[a("router-link",{staticClass:"flex  items-center",class:["courtyardpolyana"===t.$root.hotelCode||"courtyardkazan"===t.$root.hotelCode?"justify-end":"justify-center"],attrs:{to:"/home",id:"logo"}},[a("img",{staticClass:"w-18 h-12",class:["blue"===this.$root.template?"object-cover":"object-contain"],attrs:{src:t.$root.logo,rel:"logo"}})]),a("div",{staticStyle:{display:"none"},attrs:{id:"logo2"}},[a("img",{staticClass:"w-18 h-12",class:["blue"===this.$root.template?"object-cover":"object-contain"],attrs:{src:t.$root.logo,rel:"logo"}})])],1),a("div",{staticClass:"w-1/3 flex items-center",class:["courtyardpolyana"===t.$root.hotelCode||"courtyardkazan"===t.$root.hotelCode?"justify-start mr-1":"justify-end"]},["video_template"===t.$root.template||"slider_template"===t.$root.template?a("select-language-novotel-template",{staticClass:"mx-4"}):a("select-language",{staticClass:"mx-4"})],1)])])])},r=[],s=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"language"},[o("a",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.hideLanguage,expression:"hideLanguage"}],staticClass:"flex",class:{"items-center gap-[5px] bg-[#66666620] p-[5px] rounded-[20px] text-[12px] text-[#eeeeee]":"video_template"===t.$root.template||"slider_template"===t.$root.template},attrs:{href:"javascript:void(0)"},on:{click:function(e){t.openOptionsLanguages=!t.openOptionsLanguages}}},["video_template"===t.$root.template||"slider_template"===t.$root.template?o("span",{staticClass:"text-black"},[t._v(t._s(t.$root.currentLanguage.toUpperCase()))]):t._e(),void 0!==t.$root.currentLanguage&&t.$root.currentLanguage.length>0?o("img",{staticClass:"w-6 h-6",attrs:{src:a(31151)("./"+t.modifyLanguageCode(t.$root.currentLanguage)+".svg"),alt:""}}):t._e()]),t.$root.languages?o("div",{directives:[{name:"show",rawName:"v-show",value:t.openOptionsLanguages,expression:"openOptionsLanguages"}],staticClass:"languages z-50 border-gray-400",class:["courtyardpolyana"===t.$root.hotelCode||"courtyardkazan"===t.$root.hotelCode?"left-0 z-10":"right-0"]},t._l(t.$root.languages,(function(e){return o("a",{key:e.code,attrs:{href:"javascript:void(0)"},on:{click:function(a){return t.selectLanguage(e.code)}}},[o("span",[t._v(t._s("il"===e.code?"HEB":e.code))]),o("img",{staticClass:"w-6 h-6 ml-[5px]",attrs:{src:a(31151)("./"+t.modifyLanguageCode(e.code)+".svg"),alt:""}})])})),0):t._e()])},i=[],n=a(86947),c={name:"ArticleSelectLangNovotelTemplate",data(){return{openOptionsLanguages:!1}},methods:{selectLanguage(t){this.$root.currentLanguage=t,this.openOptionsLanguages=!1,n.Y.$emit("change-language")},hideLanguage(){this.openOptionsLanguages=!1},modifyLanguageCode(t){return"thecarltonmoscow.2roomz.com"==this.$root.hotel.site&&"ar"==t?"ar2":"ibisstylessarajevo.dgstay.com"==this.$root.hotel.site&&"ar"==t?"ar3":t}}},l=c,_=a(1001),d=(0,_.Z)(l,s,i,!1,null,"769eb64e",null),u=d.exports,m=a(21753),p={name:"AppHeader",components:{selectLanguageNovotelTemplate:u,selectLanguage:m.Z},methods:{returnToFirstScreen(){n.Y.$emit("scroll_to_first_screen")}},computed:{checkScreen(){let t;return t="home"===this.$route.name&&("video_template"===this.$root.template||"slider_template"===this.$root.template),t}}},g=p,h=(0,_.Z)(g,o,r,!1,null,null,null),v=h.exports},21753:function(t,e,a){"use strict";a.d(e,{Z:function(){return _}});var o=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",[o("div",{staticClass:"language"},[o("a",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.hideLanguage,expression:"hideLanguage"}],staticClass:"flex",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.openOptionsLanguages=!t.openOptionsLanguages}}},[void 0!==t.$root.currentLanguage&&t.$root.currentLanguage.length>0?o("img",{staticClass:"w-6 h-6",attrs:{src:a(31151)("./"+t.modifyLanguageCode(t.$root.currentLanguage)+".svg"),alt:""}}):t._e()]),t.$root.languages?o("div",{directives:[{name:"show",rawName:"v-show",value:t.openOptionsLanguages,expression:"openOptionsLanguages"}],staticClass:"languages z-50",class:["courtyardpolyana"===t.$root.hotelCode||"courtyardkazan"===t.$root.hotelCode?"left-0 z-10":"right-0"]},t._l(t.$root.languages,(function(e){return o("a",{key:e.code,attrs:{href:"javascript:void(0)"},on:{click:function(a){return t.selectLanguage(e.code)}}},[o("img",{staticClass:"w-6 h-6",attrs:{src:a(31151)("./"+t.modifyLanguageCode(e.code)+".svg"),alt:""}}),o("span",[t._v(t._s("il"===e.code?"HEB":e.code))])])})),0):t._e()])])},r=[],s=a(86947),i={name:"ArticleSelectLang",data(){return{openOptionsLanguages:!1}},methods:{selectLanguage(t){this.$root.currentLanguage=t,this.openOptionsLanguages=!1,s.Y.$emit("change-language")},hideLanguage(){this.openOptionsLanguages=!1},modifyLanguageCode(t){return"thecarltonmoscow.2roomz.com"==this.$root.hotel.site&&"ar"==t?"ar2":"ibisstylessarajevo.dgstay.com"==this.$root.hotel.site&&"ar"==t?"ar3":t}}},n=i,c=a(1001),l=(0,c.Z)(n,o,r,!1,null,null,null),_=l.exports},9538:function(t,e,a){"use strict";a.d(e,{Z:function(){return y}});var o=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("a-drawer",{attrs:{wrapClassName:"drawer-product",placement:"bottom",height:"bottom",closable:!1,visible:t.visible},on:{close:t.close}},[t.product?a("div",{staticClass:"bg-gray-100 relative flex no-wrap flex-nowrap flex-col",staticStyle:{"max-height":"400px"},attrs:{id:"wrapper-product-cart"}},[a("div",{staticClass:"overflow-y w-full in-product relative",staticStyle:{flex:"0 1 auto","overflow-x":"hidden","overflow-y":"auto","min-height":"64px"},on:{scroll:t.handleScrollInsidePopup}},[t.product.image?a("div",{staticClass:"relative",staticStyle:{"padding-bottom":"66.6%"}},[a("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.getLasyImage(t.$root.getImage(t.product.image)),expression:"getLasyImage($root.getImage(product.image))"}],staticClass:"absolute h-full w-full",attrs:{alt:""}})]):t._e(),"sofitelwarsawvictoria"==t.$root.hotelCode&&6610==t.parent_section.id?a("div",[t.$root.getLangText(t.product.descr)?a("div",{staticClass:"px-4 pt-4",staticStyle:{"line-height":"18px",color:"#736d6d",width:"95%"},domProps:{innerHTML:t._s(t.$root.getLangText(t.product.descr))}}):t._e()]):t._e(),t.productHasProperties?a("div",{staticClass:"px-4 py-4"},[a("app-properties-new",{ref:"property",attrs:{property:t.product.property,"product-id":t.product.id,"product-uuid":t.product.uuid,"max-booking-slot":t.product.max_booking_slot,quantity:t.quantity,schedule:t.product.schedule,"parent-section-ids":[t.parent_section.id],errors:t.errors},on:{"update:property":function(e){return t.$set(t.product,"property",e)}}})],1):t._e(),t.productHasProperties&&t.visible?a("button",{staticClass:"scrollToTopBtn rounded-full bg-white shadow p-2 md:hidden",on:{click:t.scrollToTop}},[a("svg",{staticClass:"w-4 h-4 text-black",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"}},[a("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 15.75l7.5-7.5 7.5 7.5"}})])]):t._e(),"everywhere"===t.$root.hotel.location_of_recommendations?a("app-recommended-products-for-products-modal",{key:t.recommendations_key,attrs:{products:[t.product]}}):t._e()],1),a("div",{staticClass:"flex absolute top-2 gap-2 close-product"},["update"==t.action.type?a("a",{staticClass:"w-10 h-10 text-black bg-white focus:outline-none rounded-full  text-center inline-flex justify-center items-center shadow-md",attrs:{href:"javascript:void(0)"},on:{click:t.remove}},[a("svg",{staticClass:"fill-current text-black",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 512 512"}},[a("title",[t._v("Trash")]),a("path",{attrs:{d:"M112 112l20 320c.95 18.49 14.4 32 32 32h184c17.67 0 30.87-13.51 32-32l20-320",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"}}),a("path",{attrs:{stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32",d:"M80 112h352"}}),a("path",{attrs:{d:"M192 112V72h0a23.93 23.93 0 0124-24h80a23.93 23.93 0 0124 24h0v40M256 176v224M184 176l8 224M328 176l-8 224",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32"}})])]):t._e(),a("a",{staticClass:"w-10 h-10 text-black bg-white focus:outline-none rounded-full  text-center inline-flex items-center shadow-md",attrs:{href:"javascript:void(0)"},on:{click:t.close}},[a("svg",{attrs:{width:"48",height:"48",viewBox:"0 0 34 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M21.2427 12.7574L12.7574 21.2426M12.7574 12.7574L21.2427 21.2426L12.7574 12.7574Z",stroke:"#333333","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}})])])]),a("div",{staticClass:"px-4 py-2  border-t w-full",class:["taigara"==t.$root.hotelCode?"bg-[#455E4C] text-white":"bg-white"],staticStyle:{flex:"0 0 auto"},attrs:{id:"footer-product-cart"}},[a("div",{staticClass:"flex items-start gap-2 justify-between mb-4 pb-4 pt-2"},[a("div",{staticClass:"flex-1 leading-tight",class:["taigara"==t.$root.hotelCode?"name_product_taigara":"name_product"],domProps:{textContent:t._s(t.$root.getLangText(t.product.title))}}),a("div",{staticClass:"price_product leading-tight",domProps:{innerHTML:t._s(t.$root.showPrice(t.price))}})]),a("div",{staticClass:"flex items-center justify-between"},[a("div",{staticClass:"w-1/2"},[t.product.show_quantity?a("div",{staticClass:"relative flex"},[a("v-input-quantity",{attrs:{value:t.quantity,min:1,max:null==t.product.max_order_quantity?99:parseInt(t.product.max_order_quantity)},on:{"update:value":function(e){t.quantity=e}}}),t.isSlotTimeProduct?a("div",{staticClass:"leading-none flex items-center pl-[10px]"},[t._v(" "+t._s("ru"==t.$root.currentLanguage?"Сколько человек записать?":"How many people should I record?")+" ")]):t._e()],1):t._e()]),t.isActiveOrderButton?a("div",{staticClass:"w-1/2 flex justify-end"},[a("div",[a("button",{staticClass:"green_add_to_cart w-full ml-auto uppercase",class:[null===t.valid||t.valid?"":"shake-btn"],style:"background-color: "+t.$root.hotelColor(),domProps:{textContent:t._s(t.buttonOrderText)},on:{click:function(e){return t.store()}}})])]):t._e()])])]):t._e()])},r=[],s=a(86947),i=a(88623),n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.recommended_products.length>0?a("div",{staticClass:"px-2 py-4"},[a("div",{staticClass:"text-sm font-medium px-1",domProps:{textContent:t._s(t.$root.getKeyWord("recommended_title"))}}),t.isMobileDevice?a("div",{staticClass:"flex overflow-x-auto scroll"},t._l(t.recommended_products,(function(e,o){return a("div",{key:o,staticClass:"flex flex-col justify-between bg-white shadow rounded my-2 mx-1 p-1 w-28 flex-shrink-0"},[a("div",[t.showImage?a("div",{staticClass:"w-26 h-20 rounded bg-gray-100"},[a("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.getLasyImage(t.$root.getImage(e.image,void 0!==e.image_path?e.image_path:null)),expression:"getLasyImage($root.getImage(item.image, item.image_path !== undefined ? item.image_path : null))"}],staticClass:"h-full w-full object-cover rounded"})]):t._e(),a("div",{staticClass:"text-xxs py-1",domProps:{textContent:t._s(t.$root.getLangText(e.title))}})]),a("div",[a("div",{staticClass:"font-medium text-sm text-gray-600 py-2 text-center",domProps:{innerHTML:t._s(t.$root.showPrice(e.price,e.is_price_from))}}),a("div",[!0===e.in_cart?a("div",{staticClass:"flex gap-3 justify-around items-center w-full"},[a("button",{staticClass:"bg-gray-200 w-7 h-7 rounded-lg",on:{click:function(a){return t.removeFromCart(e)}}},[t._v(" - ")]),a("div",{staticClass:"text-center"},[t._v(" "+t._s(e.quantity)+" ")]),a("button",{staticClass:"bg-gray-200 w-7 h-7 rounded-lg",on:{click:function(a){return t.addToCart(e)}}},[t._v(" + ")])]):a("button",{staticClass:"flex items-center justify-center w-full h-7 uppercase text-xl text-center text-white rounded-[4px]",style:"background-color: "+t.$root.hotelColor(),on:{click:function(a){return t.store(e)}}},[a("svg",{staticClass:"w-4 h-4",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor"}},[a("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 6v12m6-6H6"}})])])])])])})),0):t._e(),t.isMobileDevice?t._e():a("div",{staticClass:"relative scroll"},[a("div",{staticClass:"scroll-btn cursor-pointer absolute w-10 h-10 flex items-center justify-center z-40 rounded-full text-transparent bg-transparent border border-transparent",class:{"arrow-show":t.displayBtnManullyLeft,"arrow-hide":!t.displayBtnManullyLeft},on:{click:function(e){return t.manuallyLeft()}}},[a("svg",{staticClass:"h-6 w-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[a("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 19l-7-7 7-7"}})])]),a("div",{directives:[{name:"dragscroll",rawName:"v-dragscroll.x",value:!0,expression:"true",modifiers:{x:!0}}],staticClass:"overflow-scroll scroll relative",attrs:{id:"scroll-recomandations"},on:{dragscrollstart:t.startDragScroll,dragscrollend:t.endDragScroll}},[a("div",{staticClass:"flex relative",attrs:{id:"scroll_recomandations_flex"}},t._l(t.recommended_products,(function(e,o){return a("div",{key:o,staticClass:"scroll-recomendation-item bg-white flex flex-col justify-between shadow-md rounded-[4px] my-2 mx-1 p-1 w-28 flex-shrink-0 transition duration-300",class:{shadow:!0===e.in_cart}},[a("div",[t.showImage?a("div",{staticClass:"w-26 h-20 rounded bg-gray-100"},[a("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.getLasyImage(t.$root.getImage(e.image,void 0!==e.image_path?e.image_path:null)),expression:"getLasyImage($root.getImage(item.image, item.image_path !== undefined ? item.image_path : null))"}],staticClass:"h-full w-full object-cover rounded"})]):t._e(),a("div",{staticClass:"text-xxs py-1",domProps:{textContent:t._s(t.$root.getLangText(e.title))}})]),a("div",[a("div",{staticClass:"font-medium text-sm text-gray-600 py-2 text-center",domProps:{innerHTML:t._s(t.$root.showPrice(e.price,e.is_price_from))}}),a("div",[!0===e.in_cart?a("div",{staticClass:"flex gap-3 justify-around items-center w-full"},[a("button",{staticClass:"bg-gray-200 w-7 h-7 rounded-lg",on:{click:function(a){return t.removeFromCart(e)}}},[t._v(" - ")]),a("div",{staticClass:"text-center"},[t._v(" "+t._s(e.quantity)+" ")]),a("button",{staticClass:"bg-gray-200 w-7 h-7 rounded-lg",on:{click:function(a){return t.addToCart(e)}}},[t._v(" + ")])]):a("button",{staticClass:"flex items-center justify-center w-full h-7 uppercase text-xl text-center text-white rounded-[4px]",style:"background-color: "+t.$root.hotelColor(),on:{click:function(a){return t.store(e)}}},[a("svg",{staticClass:"w-4 h-4",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"2",stroke:"currentColor"}},[a("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 6v12m6-6H6"}})])])])])])})),0)]),a("div",{staticClass:"scroll-btn cursor-pointer right-0 top-0 absolute w-10 h-10 flex items-center justify-center z-40 rounded-full text-transparent bg-transparent border border-transparent",class:{"arrow-show":t.displayBtnManullyRight,"arrow-hide":!t.displayBtnManullyRight},on:{click:function(e){return t.manuallyRight()}}},[a("svg",{staticClass:"h-6 w-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[a("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"}})])])])]):t._e()])},c=[],l=a(81120),_=a(71385),d={props:["products"],mixins:[_.$],data(){return{recommended_products:[],displayBtnManullyLeft:!1,displayBtnManullyRight:!0,isMobileDevice:!1,showImage:!1}},directives:{dragscroll:l.dragscroll},created(){this.getRecommendedProducts(),this.isMobileDevice=this.$root.isMobile(),s.Y.$on("update-recommended",(()=>{this.updateRecommendedFromCart()}))},mounted(){if(!this.isMobileDevice){let t=0,e=document.querySelectorAll(".scroll-recomendation-item");Array.from(e).map((e=>{t+=Number(e.clientWidth)})),document.querySelector("#scroll-recomandations")?this.displayBtnManullyRight=Number(document.querySelector("#scroll-recomandations").offsetWidth)<t:this.displayBtnManullyRight=!1}},methods:{startDragScroll(){let t=this;setTimeout((function(){t.click=!1}),100)},endDragScroll(){let t=this,e=this.calculateScrolledContentWidth();this.displayBtnManullyLeft=Number(document.querySelector("#scroll-recomandations").scrollLeft)>0,this.displayBtnManullyRight=Number(document.querySelector("#scroll-recomandations").scrollLeft)<Number(e)-Number(document.querySelector("#scroll-recomandations").offsetWidth),setTimeout((function(){t.click=!0}),100)},checkInView(t){var e=t.offsetTop-130,a=t.offsetLeft,o=t.offsetWidth,r=t.offsetHeight;while(t.offsetParent)t=t.offsetParent,e+=t.offsetTop,a+=t.offsetLeft;return e<window.pageYOffset+window.innerHeight&&a<window.pageXOffset+window.innerWidth&&e+r>window.pageYOffset&&a+o>window.pageXOffset},manuallyLeft(){document.querySelector("#scroll-recomandations").scrollLeft=document.querySelector("#scroll-recomandations").scrollLeft-50,document.querySelector("#scroll-recomandations").scrollLeft<=0&&(this.displayBtnManullyLeft=!1),this.displayBtnManullyRight=!0},calculateScrolledContentWidth(){let t=document.querySelectorAll(".scroll-recomendation-item"),e=0;return Array.from(t).map((t=>{e+=Number(t.clientWidth)})),e},manuallyRight(){let t=this.calculateScrolledContentWidth();document.querySelector("#scroll-recomandations").scrollLeft>=Number(t)-Number(document.querySelector("#scroll-recomandations").offsetWidth)&&(this.displayBtnManullyRight=!1),document.querySelector("#scroll-recomandations").scrollLeft+=50,this.displayBtnManullyLeft=!0},getRecommendedProducts(){let t=this.products.reduce((function(t,e){return String(t)+String("product_id[]="+e.id+"&")}),"?");this.$http.get("https://admin.2roomz.com/api/v1/hotels/"+this.$root.hotelCode+"/products-recommendations"+t).then((t=>{this.recommended_products=t.data.data.recommended_products,this.getPhotos(),this.updateRecommendedFromCart()}))},getLasyImage(t){let e={src:t,error:a(13389),loading:a(13389)};return e},getPhotos(){this.recommended_products.filter((t=>void 0!==t.image_path&&""!==t.image_path)).length>0?this.showImage=!0:this.showImage=!1},addRecommendedProduct(t){var e=JSON.parse(JSON.stringify(t));e.section;delete e.section,e.image=e.image_path;let a=(void 0===localStorage.getItem("is_adult")||null===localStorage.getItem("is_adult"))&&null!==t.section.for_adult&&t.section.for_adult;return a?(this.$modal.show("modal-extra",{item:t,section_id:null}),!1):!this.checkIsAdultProduct(t)&&void 0},store(t){if(this.productHasProperties(t)){var e=JSON.parse(JSON.stringify(t));e.section;delete e.section,e.image=e.image_path,s.Y.$emit("product-with-properties-cart",{product:JSON.stringify(e),section:t.section,parent_section:t.section.parent,from_recommendation:!0,action:{type:"create",index_for_update:null}}),console.log("true")}else{var a=void 0!==localStorage["cart"]?JSON.parse(localStorage["cart"]):{room_number:"",payment:"",comment:"",hotel_id:this.$root.hotel.id,property:this.$root.hotel.property,uuid:"",is_temporary:!1,products:[]},o={product:t,quantity:1,total_price:parseFloat(t.price),from_recommendation:this.from_recommendation,section:t.section,parent_section:t.section.parent};a["products"].push(o),localStorage["cart"]=JSON.stringify(a),this.$root.updateCart(),this.recommended_products[this.recommended_products.indexOf(t)].in_cart=!0,this.recommended_products[this.recommended_products.indexOf(t)].quantity=1,this.$forceUpdate()}this.$root.yandexGoal("goal - cart - finish")},removeFromCart(t){let e=JSON.parse(localStorage["cart"]),a=e["products"],o=a.find((e=>e.product.id===t.id));1===o.quantity?(a.splice(a.indexOf(t),1),e["products"]=a,localStorage["cart"]=JSON.stringify(e),this.$root.updateCart(),t.in_cart=!1,t.quantity=0,this.$forceUpdate()):(o.quantity--,t.quantity--,o.total_price=o.quantity*o.product.price,e["products"]=a,localStorage["cart"]=JSON.stringify(e),this.$root.updateCart(),this.$forceUpdate())},addToCart(t){let e=JSON.parse(localStorage["cart"]),a=e["products"],o=a.find((e=>e.product.id===t.id));o.quantity++,t.quantity++,o.total_price=o.quantity*o.product.price,e["products"]=a,localStorage["cart"]=JSON.stringify(e),this.$root.updateCart(),this.$forceUpdate()},updateRecommendedFromCart(){let t=JSON.parse(localStorage["cart"]),e=t["products"],a=[];e.forEach((t=>{a=this.recommended_products.find((e=>e.id===t.product.id)),a&&(a.quantity=t.quantity,a.in_cart=!0,this.$forceUpdate())}))},checkQuantityInCart(){this.$root.cart.products.forEach((t=>{this.recommended_products.find((({id:e})=>e===t.product.id))&&console.log(!0)}))},productHasProperties(t){return t.property_kit_id>0&&Object.keys(t.property).length>0&&t.property.properties.length},setRecommendedProduct(){return!0}}},u=d,m=a(1001),p=(0,m.Z)(u,n,c,!1,null,"68f4fb12",null),g=p.exports;class h{constructor(){this.errors={}}get(t){if(this.errors[t])return this.errors[t][0]}set(t){this.errors[t].push({})}searchByKey(t){return Object.keys(this.errors).filter((e=>e.indexOf(t)>-1)).length>0}record(t){this.errors=t}}var v={name:"app_product_cart",components:{AppRecommendedProductsForProductsModal:g,AppPropertiesNew:i.Z},data(){return{product:null,section:null,parent_section:null,from_recommendation:null,errors:new h,action:{type:"create",index_for_update:null},price:0,quantity:1,valid:null,visible:!1,recommendations_key:0}},created(){s.Y.$on("product-cart",(t=>{this.product=JSON.parse(t.product),this.section=t.section,this.parent_section=t.parent_section,this.from_recommendation=t.from_recommendation,this.action=t.action,this.price=parseFloat(t.product.price),this.quantity=t.quantity?t.quantity:1,this.valid=null,this.visible=!0,this.$nextTick((()=>{var t=document.documentElement.clientHeight;document.querySelector("#wrapper-product-cart").style.maxHeight=Math.round(t-.1*t)+"px",s.Y.$emit("update-slot-calendar")}))}))},watch:{quantity(t){void 0!=t&&this.setTotalPrice()},product:{handler:function(t){this.setTotalPrice()},deep:!0},visible(t){this.$root.freezeActivePageScroll(t),t&&this.recommendations_key++}},computed:{isActiveOrderButton(){return void 0!==this.section&&!this.section.hide_order_button},isSlotTimeProduct(){return!1},buttonOrderText(){let t=this.$root.getLangText(this.product.button_order_text);return t||this.$root.getKeyWord("send_to_cart")},productHasProperties(){return this.product.property_kit_id>0&&Object.keys(this.product.property).length>0&&this.product.property.properties.length}},methods:{close(){this.visible=!1},store(){if(this.productHasProperties&&(this.valid=this.$refs.property.validate(),null!==this.valid&&!this.valid))return!1;var t=void 0!==localStorage["cart"]?JSON.parse(localStorage["cart"]):{room_number:"",payment:"",comment:"",hotel_id:this.$root.hotel.id,property:this.$root.hotel.property,uuid:"",is_temporary:!1,products:[]},e={product:{id:this.product.id,title:this.product.title,descr:this.product.descr,price:this.product.price,uuid:this.product.uuid,image:this.product.image,image_path:this.product.image_path,section_id:this.product.section_id,property:this.product.property,schedule:this.product.schedule,show_quantity:this.product.show_quantity,max_order_quantity:this.product.max_order_quantity,property_kit_id:this.product.property_kit_id,button_order_text:this.product.button_order_text,free_delivery:this.product.free_delivery},quantity:this.quantity,total_price:this.price,from_recommendation:this.from_recommendation,section:{id:this.section.id,title:this.section.title,text_accepted_order:this.section.text_accepted_order,split_order:this.section.split_order,hide_back_button:this.section.hide_back_button,hide_order_button:this.section.hide_order_button,hide_view_orders_button:this.section.hide_view_orders_button,free_delivery:this.section.free_delivery},parent_section:{id:this.parent_section.id,title:this.parent_section.title,text_accepted_order:this.parent_section.text_accepted_order,split_order:this.parent_section.split_order,hide_back_button:this.parent_section.hide_back_button,hide_order_button:this.parent_section.hide_order_button,hide_view_orders_button:this.parent_section.hide_view_orders_button,free_delivery:this.section.free_delivery,is_hidden:this.parent_section.is_hidden}};"update"==this.action.type?t["products"][this.action.index_for_update]=e:t["products"].push(e),localStorage["cart"]=JSON.stringify(t),this.$root.updateCart(),this.visible=!1,this.$root.yandexGoal("goal - cart - finish")},remove(){var t=JSON.parse(localStorage["cart"]),e=t["products"];"update"==this.action.type&&(e.splice(this.action.index_for_update,1),t["products"]=e,localStorage["cart"]=JSON.stringify(t),this.$root.updateCart(),0===e.length&&s.Y.$emit("is-empty-cart"),this.visible=!1)},getParentSection(){return!(!this.$parent.sections||void 0===this.$parent.sections[this.product.section_id])&&this.$parent.sections[this.product.section_id]},setTotalPrice(){let t=parseFloat(this.product.price),e=0;this.product.property_kit_id>0&&void 0!==this.product.property.id&&this.product.property.properties.filter((t=>""!==t.value&&null!==t.value&&"none"!==t.price_type_id)).map((a=>{if("replace"===a.price_type_id&&(t=0),"select"==a.ptype_id&&(e+=a.attrs.filter((t=>a.value===t.id&&null!==t.price)).reduce((function(t,e){return t+parseFloat(e.price)*e.quantity}),0)),"datetime"==a.ptype_id&&"scheduled"==a.pcode_id)e+=t*a.value.length;else if("checkbox"==a.ptype_id){var o=a.attrs.filter((t=>t.checked&&null!==t.price)).reduce((function(t,e){return t+parseFloat(e.price)*e.quantity}),0);o=0===o&&a.price>0?a.price:o,e+=o}else a.price>0&&(e+=a.price)})),this.isScheduledProduct(this.product)&&(t=0),this.price=this.quantity*(t+parseFloat(e)),this.$root.yandexGoal("goal - cart - finish")},handleScrollInsidePopup(){var t=document.querySelector(".scrollToTopBtn"),e=document.querySelector(".in-product");t&&(t.style.bottom=document.getElementById("footer-product-cart").clientHeight-15+"px",e.scrollTop>100?t.classList.add("showBtn"):t.classList.remove("showBtn"))},scrollToTop(){var t=document.querySelector(".in-product");t.scrollTo({top:0,behavior:"smooth"})}}},f=v,x=(0,m.Z)(f,o,r,!1,null,null,null),y=x.exports},87477:function(t,e,a){var o={"./en-gb":22243,"./en-gb.js":22243,"./fr":94470,"./fr-ca":63049,"./fr-ca.js":63049,"./fr-ch":52330,"./fr-ch.js":52330,"./fr.js":94470,"./ru":21793,"./ru.js":21793,"moment/locale/en-gb":22243,"moment/locale/en-gb.js":22243,"moment/locale/fr":94470,"moment/locale/fr-ca":63049,"moment/locale/fr-ca.js":63049,"moment/locale/fr-ch":52330,"moment/locale/fr-ch.js":52330,"moment/locale/fr.js":94470,"moment/locale/ru":21793,"moment/locale/ru.js":21793};function r(t){var e=s(t);return a(e)}function s(t){if(!a.o(o,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return o[t]}r.keys=function(){return Object.keys(o)},r.resolve=s,t.exports=r,r.id=87477},68663:function(){},71385:function(t,e,a){"use strict";a.d(e,{$:function(){return o}});const o={methods:{checkIsAdultProduct(t){let e=(void 0===localStorage.getItem("is_adult")||null===localStorage.getItem("is_adult"))&&null!==t.for_adult&&t.for_adult;return!!e&&(this.$modal.show("modal-extra",{item:t,section_id:null}),!0)}}}},77181:function(t,e,a){(function(e,o){t.exports=o(a(80796))})(0,(function(t){"use strict";function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t["default"]:t}function a(t,e){return e={exports:{}},t(e,e.exports),e.exports}t=t&&t.hasOwnProperty("default")?t["default"]:t;var o=a((function(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e["default"]=void 0;var a={months:["Januar","Februar","Mart","April","Maj","Juni","Juli","August","Septembar","Oktobar","Novembar","Decembar"],monthsShort:["Jan","Feb","Mar","Apr","Maj","Jun","Jul","Aug","Sep","Okt","Nov","Dec"],weekdays:["Nedjelja","Ponedjeljak","Utorak","Srijeda","Četvrtak","Petak","Subota"],weekdaysShort:["Ned","Pon","Uto","Sri","Čet","Pet","Sub"],weekdaysMin:["Ne","Po","Ut","Sr","Če","Pe","Su"],firstDayOfWeek:1,firstWeekContainsDate:7},o=a;e["default"]=o,t.exports=e.default})),r=e(o),s={formatLocale:r,yearFormat:"YYYY",monthFormat:"MMM",monthBeforeYear:!0};return t.locale("ba",s),s}))},86947:function(t,e,a){"use strict";a.d(e,{Y:function(){return Ka}});var o=a(20144),r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{class:[t.$root.template,"moon2.2roomz.com"==t.$root.hotel.site?"bg-[#383838]":""],style:t.cssProps,attrs:{id:"app","data-hotel-site":t.$root.hotel?t.$root.hotel.site:""},on:{wheel:function(e){return t.mainScroll(e)}}},[a("div",{class:["home"!=t.$route.name||"video_template"!=t.$root.template&&"slider_template"!=t.$root.template?"wrapper":""]},[a("div",{class:["home"!=t.$route.name||"video_template"!=t.$root.template&&"slider_template"!=t.$root.template?"container":""]},[a("app-announcements"),"home"!=t.$route.name&&"ar"!=t.$route.name&&"ar-promo"!=t.$route.name&&"booking"!=t.$route.name||"video_template"===t.$root.template||"slider_template"===t.$root.template?t._e():a("app-header"),"home"!==t.$route.name&&"ar"!==t.$route.name&&"ar-promo"!==t.$route.name&&"booking"!==t.$route.name?a("app-fly-header"):t._e(),a("router-view")],1)]),"video_template"!==t.$root.template&&"slider_template"!==t.$root.template?a("app-footer"):t._e(),t.$root.hotel&&"gifts.dgstay.com"!=t.$root.hotel.site&&"gifts.2roomz.com"!=t.$root.hotel.site?a("app-bottom-navigation"):t._e(),a("app-chat"),a("app-cart"),a("app-order-success-splash"),a("app-product-cart"),a("ArticleProductFastCart"),a("div",{staticClass:"fixed bottom-0 left-1/2 transform -translate-x-1/2 translate-y-[-80px] sm:translate-x-[200px] translate-x-[100px]"},[t.$root.hotel.is_active_chat&&"roomstbilisi"===t.$root.hotelCode?a("button",{staticClass:"w-16 h-16 bg-red-500 rounded-full flex items-center justify-center",on:{click:function(e){return t.openChat()}}},[a("svg",{staticClass:"fill-current w-6 h-6 text-white",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"}},[a("path",{attrs:{d:"M4.913 2.658c2.075-.27 4.19-.408 6.337-.408 2.147 0 4.262.139 6.337.408 1.922.25 3.291 1.861 3.405 3.727a4.403 4.403 0 00-1.032-.211 50.89 50.89 0 00-8.42 0c-2.358.196-4.04 2.19-4.04 4.434v4.286a4.47 4.47 0 002.433 3.984L7.28 21.53A.75.75 0 016 21v-4.03a48.527 48.527 0 01-1.087-.128C2.905 16.58 1.5 14.833 1.5 12.862V6.638c0-1.97 1.405-3.718 3.413-3.979z"}}),a("path",{attrs:{d:"M15.75 7.5c-1.376 0-2.739.057-4.086.169C10.124 7.797 9 9.103 9 10.609v4.285c0 1.507 1.128 2.814 2.67 2.94 1.243.102 2.5.157 3.768.165l2.782 2.781a.75.75 0 001.28-.53v-2.39l.33-.026c1.542-.125 2.67-1.433 2.67-2.94v-4.286c0-1.505-1.125-2.811-2.664-2.94A49.392 49.392 0 0015.75 7.5z"}})])]):t._e()]),a("app-agreement"),a("app-privacy-policy")],1)},s=[],i=a(59702),n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"fixed left-1/2 -translate-x-1/2 max-w-[450px] md:max-w-[600px] top-0 z-40 w-full"},[a("div",{staticClass:"flex justify-between p-4 items-center",attrs:{id:"header-fly"}},[a("div",["/"!=t.$route.path&&"/home"!=t.$route.path&&t.showBackButton?a("a",{staticClass:"w-10 h-10 text-black bg-white/70 focus:outline-none rounded-full text-sm p-2.5 text-center inline-flex items-center shadow",attrs:{id:"homeBackButton"},on:{click:t.backButton}},[a("svg",{staticClass:"w-5 h-5",staticStyle:{fill:"#000"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[a("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),a("path",{attrs:{d:"M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"}})])]):t._e()]),a("div",{staticClass:"font-medium text-lg hidden",attrs:{id:"header-title"}},[t._v(" "+t._s(this.$root.title?t.$root.getLangText(this.$root.title):"")+" ")]),a("button",{staticClass:"w-10 h-10 text-black bg-white/70 focus:outline-none rounded-full text-sm p-2.5 text-center inline-flex items-center shadow",attrs:{type:"button",id:"btn-select-language"}},[a("select-language")],1)])])},c=[],l=a(21753),_={name:"AppHeader",components:{selectLanguage:l.Z},data(){return{}},methods:{backButton(){window.scrollTo(0,0);var t=document.querySelector("#header-fly"),e=document.querySelector("#homeBackButton"),a=document.querySelector("#btn-select-language"),o=document.querySelector("#header-title");t.classList.remove("bg-white"),t.classList.remove("p-2"),t.classList.add("p-4"),e.classList.add("shadow"),a.classList.add("shadow"),o.classList.add("hidden"),"/"===localStorage.getItem("prev_route")?this.$router.push({path:"/home"}):this.$router.go(-1)}},computed:{showBackButton(){return!0}}},d=_,u=a(1001),m=(0,u.Z)(d,n,c,!1,null,null,null),p=m.exports,g=a(60612),h=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.visible?a("transition",{attrs:{name:"modal"}},[a("div",{staticClass:"wrapper_popup h-screen"},[a("div",{staticClass:"header_popup flex justify-between items-center h-14 px-4 pt-2 pb-2",class:{error:t.errors.get("products_is_not_available")}},[a("div",[a("a",{attrs:{href:"javascript:void(0)"},on:{click:t.close}},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 400.004 400.004","xml:space":"preserve"}},[a("path",{attrs:{d:"M382.688 182.686H59.116l77.209-77.214c6.764-6.76 6.764-17.726 0-24.485-6.764-6.764-17.73-6.764-24.484 0L5.073 187.757c-6.764 6.76-6.764 17.727 0 24.485l106.768 106.775a17.252 17.252 0 0 0 12.242 5.072c4.43 0 8.861-1.689 12.242-5.072 6.764-6.76 6.764-17.726 0-24.484l-77.209-77.218h323.572c9.562 0 17.316-7.753 17.316-17.315 0-9.562-7.753-17.314-17.316-17.314z"}})])])]),a("span",{staticClass:"text-center",domProps:{textContent:t._s(t.$root.getKeyWord("your_order"))}}),a("a",{attrs:{href:"javascript:void(0)"},on:{click:t.cleanCart}},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 482.428 482.429","xml:space":"preserve"}},[a("path",{attrs:{d:"M381.163 57.799h-75.094C302.323 25.316 274.686 0 241.214 0c-33.471 0-61.104 25.315-64.85 57.799h-75.098c-30.39 0-55.111 24.728-55.111 55.117v2.828c0 23.223 14.46 43.1 34.83 51.199v260.369c0 30.39 24.724 55.117 55.112 55.117h210.236c30.389 0 55.111-24.729 55.111-55.117V166.944c20.369-8.1 34.83-27.977 34.83-51.199v-2.828c0-30.39-24.723-55.118-55.111-55.118zm-139.949-31.66c19.037 0 34.927 13.645 38.443 31.66h-76.879c3.515-18.016 19.406-31.66 38.436-31.66zm134.091 401.173c0 15.978-13 28.979-28.973 28.979H136.096c-15.973 0-28.973-13.002-28.973-28.979V170.861h268.182v256.451zm34.83-311.568c0 15.978-13 28.979-28.973 28.979H101.266c-15.973 0-28.973-13.001-28.973-28.979v-2.828c0-15.978 13-28.979 28.973-28.979h279.897c15.973 0 28.973 13.001 28.973 28.979v2.828z"}}),a("path",{attrs:{d:"M171.144 422.863c7.218 0 13.069-5.853 13.069-13.068V262.641c0-7.216-5.852-13.07-13.069-13.07-7.217 0-13.069 5.854-13.069 13.07v147.154c-.001 7.217 5.851 13.068 13.069 13.068zM241.214 422.863c7.218 0 13.07-5.853 13.07-13.068V262.641c0-7.216-5.854-13.07-13.07-13.07-7.217 0-13.069 5.854-13.069 13.07v147.154c0 7.217 5.851 13.068 13.069 13.068zM311.284 422.863c7.217 0 13.068-5.853 13.068-13.068V262.641c0-7.216-5.852-13.07-13.068-13.07-7.219 0-13.07 5.854-13.07 13.07v147.154c-.001 7.217 5.853 13.068 13.07 13.068z"}})])])]),a("div",{staticClass:"content_popup bg-white pb-4"},[t.hasIncludeSectionsOnCart([11253])&&"mirotelroomservise"===t.$root.hotelCode?a("div",["ru"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4"},[t._v("Максимальное ожидание Вашего заказа в будние дни составит 60 минут. В пятницу, выходные и праздничные дни доставка займёт до 2 часов. Но скорее всего мы Ваш заказ принесем быстрее! ")]):t._e(),"en"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4"},[t._v("The maximum waiting time for your order on weekdays is 60 minutes. On Friday, weekends and holidays, delivery will take up to 2 hours. But just we Your order will most likely be faster! ")]):t._e()]):t._e(),"mirotel"===t.$root.hotelCode||"mirotelroomservise"===t.$root.hotelCode?a("div",["ru"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4"},[t._v(" Чтобы убрать товар из корзины, необходимо нажать на него. ")]):t._e(),"en"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4"},[t._v(" To remove an item from the cart, you must click on it. ")]):t._e(),"cn"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4"},[t._v(" 要從購物車中刪除商品，您必須單擊它。 ")]):t._e()]):t._e(),"marriottroomservice"==t.$root.hotelCode?a("div",["ru"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4"},[t._v("Уважаемый Гость! С Вами свяжется оператор для подтверждения. Стандартное время исполнения заказа после подтверждения 40-45 минут. Время исполнения заказа может быть увеличено в период повышенной загрузки. Фотографии содержат элементы декора. Подача блюд может отличаться. ")]):t._e(),"en"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4"},[t._v("Dear Guest! The operator will contact you for confirmation. The standard order execution time after confirmation is 40-45 minutes. The order execution time can be increased during the period of increased loading. Photos contain decorative elements. Serving may vary. ")]):t._e()]):t._e(),t.hasIncludeSectionsOnCart([13198])&&"ibiskrasnoyarsk"===t.$root.hotelCode?a("div",["ru"==this.$root.currentLanguage?a("div",{staticClass:"text-white text-center bg-hotel px-4 pb-4 pt-4"},[t._v("Дорогой гость, обращаем Ваше внимание, что доставка еды в номер не осуществляется. Заказ будет ожидать Вас в ресторане ibis Kitchen. ")]):t._e(),"en"==this.$root.currentLanguage?a("div",{staticClass:"text-white text-center bg-hotel px-4 pb-4 pt-4"},[t._v("Dear guest, please note that room service is not available. The order will be waiting for you in the ibis Kitchen restaurant. ")]):t._e()]):t._e(),t.hasIncludeSectionsOnCart([10722])||t.hasIncludeSectionsOnCart([12473])&&"arkhyz"===t.$root.hotelCode?a("div",["ru"==this.$root.currentLanguage?a("div",{staticClass:"text-white text-center bg-hotel px-4 pb-4 pt-4"},[t._v("Запись на процедуры предварительная. Для подтверждения заказа процедуры с Вами свяжется администратор СПА. Оплата процедуры производится после согласования с администратором СПА или после оказания услуги. ")]):t._e(),"en"==this.$root.currentLanguage?a("div",{staticClass:"text-white text-center bg-hotel px-4 pb-4 pt-4"},[t._v("The appointment for the procedures is preliminary. To confirm the order of the procedure, the SPA administrator will contact you. Payment for the procedure is made after agreement with the SPA administrator or after the provision of the service. ")]):t._e()]):t._e(),t.hasIncludeSectionsOnCart([177184])&&"skyparkhotel"===t.$root.hotelCode?a("div",["ru"==this.$root.currentLanguage?a("div",{staticClass:"text-white text-center bg-hotel px-4 pb-4 pt-4"},[t._v(" Минимальный заказ из ресторана 1500 руб. С вами свяжется оператор для подтверждения. Стандартное время доставки 30-40 минут. Время выполнение заказа может быть увеличено в период повышенной загрузки. ")]):t._e()]):t._e(),t.hasIncludeSectionsOnCart([190848])&&"arbatstars-apartments"===t.$root.hotelCode?a("div",[a("div",{staticClass:"text-white text-center bg-hotel px-4 pb-4 pt-4"},[t._v("Все товары в корзине указаны со скидкой 20%")])]):t._e(),t.hasIncludeSectionsOnCart([2968])||t.hasIncludeSectionsOnCart([190494])&&"radissonslavyanskaya"===t.$root.hotelCode?a("div",["ru"==this.$root.currentLanguage?a("div",{staticClass:"text-white text-center bg-red-600 px-4 pb-4 pt-4"},[t._v(" Мы свяжемся с Вами по телефону для подтверждения данного заказа ")]):t._e(),"en"==this.$root.currentLanguage?a("div",{staticClass:"text-white text-center bg-red-600 px-4 pb-4 pt-4"},[t._v(" We will contact you by phone to confirm this order ")]):t._e()]):t._e(),t.hasIncludeSectionsOnCart([206703])&&"courtyardpolyana"===t.$root.hotelCode?a("div",["ru"==this.$root.currentLanguage?a("div",{staticClass:"text-white text-center bg-red-600 px-4 pb-4 pt-4"},[t._v(" За 5 минут до процедуры, просим Вас подойти на стойку приема и размещения для оплаты спа-услуги. ")]):t._e(),"en"==this.$root.currentLanguage?a("div",{staticClass:"text-white text-center bg-red-600 px-4 pb-4 pt-4"},[t._v(" 5 minutes before the procedure, we ask you to come to the reception desk to pay for the spa service. ")]):t._e()]):t._e(),t.hasIncludeSectionsOnCart([10684])&&"ibiskrasnodar"===t.$root.hotelCode?a("div",["ru"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4"},[t._v(" С 15.01.24 отель не предоставляет доставку в номера, все заказы забираются самостоятельно. Заказ можно забрать в ресторане с 6:30 до 22:00, в баре с 22:00 до 6:30. ")]):t._e(),"en"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4"},[t._v(" Starting from January 15, 2024, the hotel no longer provides room service delivery. All orders are to be picked up by guests themselves. Orders can be collected in the restaurant from 6:30 AM to 10:00 PM and in the bar from 10:00 PM to 6:30 AM. ")]):t._e()]):t._e(),t.hasIncludeSectionsOnCart([2907])&&"alphasirius"===t.$root.hotelCode?a("div",["ru"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4 text-center"},[t._v(" Уважаемые гости! "),a("br"),t._v("Минимальная сумма заказа составляет 500 рублей. ")]):t._e(),"en"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4 text-center"},[t._v(" Dear guests! "),a("br"),t._v("The minimum order amount is 500 rubles. ")]):t._e()]):t._e(),t.hasIncludeSectionsOnCart([5736])&&"luchresort"===t.$root.hotelCode?a("div",["ru"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4 text-center"},[t._v(" Уважаемые гости, обращаем Ваше внимание,что подача блюд через службу room service, осуществляется в одноразовой посуде, в связи с техническими особенностями расположения ресторана "),a("br"),t._v(" Минимальный заказ 1000 рублей. Доставка заказа осуществляется бесплатно. ")]):t._e(),"en"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4 text-center"},[t._v(" Dear Guests, we kindly notice you, that we serve any room service orders in disposable dishes due to technical points. "),a("br"),t._v(" Minimal order for room service is 1000 rubles. Delivery of the order is free of charge. ")]):t._e()]):t._e(),t.hasIncludeSectionsOnCart([209061])&&"sofrino-park"===t.$root.hotelCode?a("div",["ru"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4 text-center"},[t._v(" Уважаемые Гости! "),a("br"),t._v(" Минимальная сумма заказа составляет 500 рублей. ")]):t._e(),"en"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4 text-center"},[t._v(" Dear guests! "),a("br"),t._v(" The minimum order amount is 500 rubles. ")]):t._e()]):t._e(),t.hasIncludeSectionsOnCart([208531])&&"dtgsssr"===t.$root.hotelCode?a("div",["ru"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4 text-center"},[t._v(" Уважаемые Гости! "),a("br"),t._v(" Минимальная сумма заказа составляет 500 рублей. ")]):t._e(),"en"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4 text-center"},[t._v(" Dear guests! "),a("br"),t._v(" The minimum order amount is 500 rubles. ")]):t._e()]):t._e(),t.hasIncludeSectionsOnCart([210814])&&"nsk-dominarussia"===t.$root.hotelCode?a("div",["ru"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4 text-center"},[t._v(" Уважаемый Гость! "),a("br"),t._v(" Все цены указаны в рублях и включают 20% НДС. Плата за доставку 10% от стоимости заказа будет добавлена к счету. "),a("br"),t._v(" К оплате принимаются рубли РФ наличными и кредитными картами основных платежных систем. "),a("br"),t._v(" Если Вам необходима информация о составе блюд в связи с диетой или аллергией, пожалуйста обратитесь к сотруднику отеля по телефону 212 ")]):t._e(),"en"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4 text-center"},[t._v(" Dear Guest! "),a("br"),t._v(" All prices are listed in Russian Rubles and include 20% VAT. 10% delivery charge will be applicable to all orders. "),a("br"),t._v(" Payment is accepted in Russian Rubles: in cash by major credit cards. "),a("br"),t._v(" For those with special dietary requirements or allergies who may wish to know about food ingredients used, please ask to speak with one of our Team Members by phone 212 ")]):t._e()]):t._e(),t.hasIncludeSectionsOnCart([7973])&&"hginov"===t.$root.hotelCode?a("div",["ru"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4 text-center"},[t._v(" Ваш заказ будет продублирован и подтвержден по телефону. Пожалуйста, убедитесь в точности контактного номера для связи. ")]):t._e(),"en"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4 text-center"},[t._v(" Your order will be duplicated and confirmed by phone. Please ensure the accuracy of your contact number. ")]):t._e()]):t._e(),t.hasIncludeSectionsOnCart([212126])&&"omegasirius"===t.$root.hotelCode?a("div",["ru"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4 text-center"},[t._v(" Уважаемые Гости! "),a("br"),t._v(" Минимальная сумма заказа составляет 500 рублей. ")]):t._e(),"en"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4 text-center"},[t._v(" Dear guests! "),a("br"),t._v(" The minimum order amount is 500 rubles. ")]):t._e()]):t._e(),t.hasIncludeSectionsOnCart([212025])&&"lesglamping"===t.$root.hotelCode?a("div",["ru"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4 text-center"},[t._v(" Уважаемые Гости! "),a("br"),t._v(" Минимальная сумма заказа составляет 1500 рублей. ")]):t._e(),"en"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4 text-center"},[t._v(" Dear guests! "),a("br"),t._v(" The minimum order amount is 1500 rubles. ")]):t._e()]):t._e(),t.hasIncludeSectionsOnCart([212746])&&"rimarhotel"===t.$root.hotelCode?a("div",[a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4 text-center"},[t._v(" Пожалуйста, дождитесь звонка от сотрудника ресторана для подтверждения заказа! ")])]):t._e(),t.hasIncludeSectionsOnCart([9110])&&"palmira-bc"===t.$root.hotelCode?a("div",["ru"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4 text-center"},[t._v(" Наш специалист свяжется с Вами, чтобы подтвердить Вашу запись. ")]):t._e(),"en"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4 text-center"},[t._v(" Our specialist will contact you to confirm your appointment. ")]):t._e()]):t._e(),t.hasIncludeSectionsOnCart([215180])&&"tsarpalace"===t.$root.hotelCode?a("div",["ru"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4 text-center"},[t._v(" Для подтверждения заказа и бронировании удобного времени с Вами свяжется наш менеджер. ")]):t._e(),"en"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4 text-center"},[t._v(" The manager will contact you to confirm the order and book a convenient time. ")]):t._e()]):t._e(),t.hasIncludeSectionsOnCart([177382])&&"skypointhotel"===t.$root.hotelCode?a("div",["ru"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4 text-center"},[t._v(" Уважаемые гости! "),a("br"),t._v(" Минимальная сумма заказа составляет 600 рублей. ")]):t._e(),"en"==this.$root.currentLanguage?a("div",{staticClass:"text-white bg-hotel px-4 pb-4 pt-4 text-center"},[t._v(" Dear guests, "),a("br"),t._v(" The minimum order amount is 600 rub. ")]):t._e()]):t._e(),a("div",{staticClass:"products_in_cart bg-gray-100 p-3 m-3 border rounded-lg",class:[t.errors.get("products_is_not_available")||t.errors.get("invalid_product_item_counts")||t.errors.get("products")?"border-red-500":""]},[a("div",{staticClass:"grid grid-cols-1 divide-y"},t._l(t.cart.products,(function(e,o){return a("div",{key:e.product.id,staticClass:"py-3",on:{click:function(a){return t.changeProduct(e,o)}}},[a("div",{staticClass:"flex justify-between name_product_in_cart"},[a("div",{staticClass:"flex items-center",class:[t.errors.get("products."+e.product.id)?"text-red-500":""]},[a("div",{domProps:{textContent:t._s(e.quantity)}}),a("div",{staticClass:"ml-2 mr-2 text-xs",staticStyle:{"font-size":"9px"}},[t._v("✕")]),a("div",{staticClass:"w-full",domProps:{textContent:t._s(t.$root.getLangText(e.product.title))}})]),a("div",{staticClass:"text-gray-500 w-1/4 flex justify-end"},[a("div",{domProps:{innerHTML:t._s(t.$root.showPrice(e.total_price))}})])]),null!==e.product.property_kit_id&&e.product.property&&Object.keys(e.product.property).length&&Object.values(e.product.property.properties).length>0?a("div",{staticClass:"text-xs text-gray-500"},t._l(e.product.property.properties.filter((function(t){return""!==t.value})),(function(o,r){return a("div",{key:r+"-"+e.id},["select"==o.ptype_id?a("span",[a("span",{domProps:{textContent:t._s(t.$root.getLangText(o.attrs.filter((function(t){return t.id===o.value}))[0].title))}})]):"checkbox"==o.ptype_id?a("span",t._l(o.attrs.filter((function(t){return t.checked})),(function(e){return a("span",{staticClass:"flex gap-2"},[a("span",[t._v(t._s(t.$root.getLangText(e.title)))]),e.quantity>1?a("span",[t._v("x")]):t._e(),e.quantity>1?a("span",[t._v(t._s(e.quantity))]):t._e()])})),0):"slottime"==o.ptype_id?a("span",[t._v(" "+t._s(o.value.date+" "+o.value.timeStart)+" ")]):"date"==o.ptype_id?a("span",[t._v(" "+t._s(t.$root.formatDate(o.value))+" ")]):"calendar"==o.ptype_id?a("span",[t._v(" "+t._s(o.value.map((function(e){return t.$root.formatDate(e)})).join(", "))+" ")]):"datetime"==o.ptype_id&&"scheduled"==o.pcode_id?a("span",[t._l(o.value,(function(e){return[t._v(t._s(e)),a("br")]}))],2):a("span",{domProps:{textContent:t._s(o.value)}})])})),0):t._e()])})),0),a("div",{staticClass:"pt-3 mt-1 border-t"},[t.$root.hotel.discount_price>0&&!t.$root.cart_free_delivery&&t.$root.cart_total_price>0?a("div",{staticClass:"flex items-center justify-between mb-1"},[a("span",{staticClass:"text-sm",domProps:{textContent:t._s(t.$root.getKeyWord("discount_price"))}}),a("span",{staticClass:"text-sm",domProps:{innerHTML:t._s(t.$root.showPrice(t.$root.hotel.discount_price))}})]):t._e(),t.$root.hotel.discount_percent>0&&!t.$root.cart_free_delivery&&t.$root.cart_total_price>0?a("div",{staticClass:"flex items-center justify-between mb-1"},["novotellondonblackfriars"==t.$root.hotelCode?a("span",{staticClass:"text-sm"},[t._v("Service charge")]):"arbatstars-apartments"==t.$root.hotelCode?a("span",{staticClass:"text-sm"},[t._v("Доставка в апартаменты")]):a("span",{staticClass:"text-sm"},[t._v(t._s(t.$root.getKeyWord("discount_price")))]),a("span",{staticClass:"text-sm",domProps:{innerHTML:t._s(t.$root.hotel.discount_percent+"%")}})]):t._e(),t.$root.cart_total_price>0?a("div",{staticClass:"base-color flex items-center justify-between"},[a("span",{staticClass:"text-sm",domProps:{textContent:t._s(t.$root.getKeyWord("total"))}}),a("span",{staticClass:"text-sm",domProps:{innerHTML:t._s(t.$root.showPrice(t.$root.cart_total_price))}})]):t._e()])]),t.errors.get("products_is_not_available")?a("div",{staticClass:"text-red-500 px-4 pb-2 text-xs"},[t._v(" "+t._s(t.$root.getKeyWord("products_not_available"))+" ")]):t._e(),t.errors.get("products_not_available_time")?a("div",{staticClass:"text-red-500 px-4 pb-2 text-xs"},[t._v(" "+t._s(t.errors.get("products_not_available_time"))+" ")]):t._e(),t.errors.get("invalid_product_item_counts")?a("div",{staticClass:"text-red-500 px-4 pb-2 text-xs"},[t._v(" "+t._s(t.errors.get("invalid_product_item_counts"))+" ")]):t._e(),t.hasIncludeSectionsOnCart([11640])&&"aysletitsnow"===t.$root.hotelCode||t.hasIncludeSectionsOnCart([11402])&&"ayshotel"===t.$root.hotelCode?a("div",[a("div",{staticClass:"text-white bg-hotel px-4 pb-2 pt-2"},[t._v(" Минимальная сумма для заказа - 1000 ₽ ")])]):t._e(),a("app-recommended-products",{attrs:{products:t.$root.cart.products.map((function(t){return t.product}))}}),a("div",{staticClass:"bg-white p-3 mt-3 pt-4"},[a("div",{staticClass:"form_cart"},[t.$root.hotel.is_payment_property&&t.$root.cart_total_price>0&&t.displayHotelPayments&&t.$root.cart.hotel_payments&&t.$root.cart.hotel_payments.length>0?a("div",{staticClass:"wrapper_select mb-5 form_group",class:[t.errors&&t.errors.get("payment")?"valid":""]},[a("div",{staticClass:"flex pb-2"},[a("div",{staticClass:"header_option",class:[t.errors&&t.errors.get("payment")?"valid":""],domProps:{textContent:t._s(t.$root.getKeyWord("pay_method"))}}),a("span",{staticClass:"text-xs text-red-500 -mt-1 px-1"},[t._v(" *")])]),a("select",{directives:[{name:"model",rawName:"v-model",value:t.cart.payment,expression:"cart.payment"}],staticClass:"default_select  appearance-none",on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(t.cart,"payment",e.target.multiple?a:a[0])}}},t._l(t.$root.cart.hotel_payments,(function(e){return a("option",{key:e.id,domProps:{value:e.id}},[t._v(" "+t._s(t.$root.getLangText(e.title))+" ")])})),0)]):t._e(),t.displayRoomNumber?a("div",{staticClass:"mb-5 mb-4 form_group",class:[t.errors&&t.errors.get("room_number")?"valid":""]},[a("div",{staticClass:"flex pb-2"},[a("div",{staticClass:"header_option",class:[t.errors&&t.errors.get("room_number")?"valid":""],domProps:{textContent:t._s(t.roomNumberInputTitle())}}),a("span",{staticClass:"text-xs text-red-500 -mt-1 px-1"},[t._v(" *")])]),a("div",{staticClass:"option"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.cart.room_number,expression:"cart.room_number"}],staticClass:"h-4",attrs:{type:"text",title:"property_room_number"},domProps:{value:t.cart.room_number},on:{input:function(e){e.target.composing||t.$set(t.cart,"room_number",e.target.value)}}})])]):t._e(),a("app-properties-new",{ref:"property",attrs:{property:t.cart.property,errors:t.errors}}),t.$root.hotel.is_comment_property?a("div",{staticClass:"form_group mt-5"},[a("div",{staticClass:"header_option pb-2",domProps:{textContent:t._s(t.$root.getKeyWord("comments"))}}),a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.cart.comment,expression:"cart.comment"}],attrs:{id:"message"},domProps:{value:t.cart.comment},on:{input:function(e){e.target.composing||t.$set(t.cart,"comment",e.target.value)}}})]):t._e()],1),t.$root.hotel.is_agreement_text&&!t.$root.showConfirmationCheckBox()?a("div",[a("span",{staticClass:"text-xs text-gray-600 font-light",domProps:{textContent:t._s(t.$root.getKeyWord("use_session"))}}),a("span",{staticClass:"text-xs underline text-gray-600 font-light ml-1 cursor-pointer",domProps:{textContent:t._s(t.$root.getKeyWord("public_offer"))},on:{click:function(e){t.$modal.show("modal-agreement"),t.$root.getPublicInformation("full_agreement")}}})]):t._e(),t.$root.showConfirmationCheckBox()?a("app-uk-privacy-policy",{attrs:{"check-box-error":t.check_box_error,"check-agreement":t.cart.is_temporary},on:{"update:checkBoxError":function(e){t.check_box_error=e},"update:check-box-error":function(e){t.check_box_error=e},"update:checkAgreement":function(e){return t.$set(t.cart,"is_temporary",e)},"update:check-agreement":function(e){return t.$set(t.cart,"is_temporary",e)}}}):t._e(),a("div",{staticClass:"p-3 mt-3 pt-4"},[t.loading?a("loading",{attrs:{width:"w-14",height:"h-14"}}):a("button",{staticClass:"default_green_btn",domProps:{textContent:t._s(t.$root.getKeyWord("send_to_order"))},on:{click:t.createOrder}})],1)],1)],1)])]):t._e()},v=[],f=a(30381),x=a.n(f),y=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.recommended_products.length>0?a("div",{staticClass:"px-2 py-4"},[a("div",{staticClass:"text-sm font-medium px-1",domProps:{textContent:t._s(t.$root.getKeyWord("recommended_title"))}}),t.isMobileDevice?a("div",{staticClass:"flex overflow-x-auto scroll"},t._l(t.recommended_products,(function(e,o){return a("div",{key:o,staticClass:"flex flex-col justify-between shadow rounded my-2 mx-1 p-1 w-28 flex-shrink-0",on:{click:function(a){return t.addRecommendedProduct(e)}}},[a("div",[t.showImage?a("div",{staticClass:"w-26 h-20 rounded bg-gray-100"},[a("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.getLasyImage(t.$root.getImage(e.image,void 0!==e.image_path?e.image_path:null)),expression:"getLasyImage($root.getImage(item.image, item.image_path !== undefined ? item.image_path : null))"}],staticClass:"h-full w-full object-cover rounded"})]):t._e(),a("div",{staticClass:"text-xxs py-1",domProps:{textContent:t._s(t.$root.getLangText(e.title))}})]),a("div",{staticClass:"font-medium text-sm text-gray-600 py-2 text-center",domProps:{innerHTML:t._s(t.$root.showPrice(e.price,e.is_price_from))}})])})),0):t._e(),t.isMobileDevice?t._e():a("div",{staticClass:"relative scroll"},[a("div",{staticClass:"scroll-btn cursor-pointer absolute w-10 h-10 flex items-center justify-center z-40 rounded-full text-transparent bg-transparent border border-transparent",class:{"arrow-show":t.displayBtnManullyLeft,"arrow-hide":!t.displayBtnManullyLeft},on:{click:function(e){return t.manuallyLeft()}}},[a("svg",{staticClass:"h-6 w-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[a("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M15 19l-7-7 7-7"}})])]),a("div",{directives:[{name:"dragscroll",rawName:"v-dragscroll.x",value:!0,expression:"true",modifiers:{x:!0}}],staticClass:"overflow-scroll scroll relative",attrs:{id:"scroll-recomandations"},on:{dragscrollstart:t.startDragScroll,dragscrollend:t.endDragScroll}},[a("div",{staticClass:"flex relative",attrs:{id:"scroll_recomandations_flex"}},t._l(t.recommended_products,(function(e,o){return a("div",{key:o,staticClass:"scroll-recomendation-item flex flex-col justify-between shadow rounded my-2 mx-1 p-1 w-28 flex-shrink-0",on:{click:function(a){return t.addRecommendedProduct(e)}}},[a("div",[t.showImage?a("div",{staticClass:"w-26 h-20 rounded bg-gray-100"},[a("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.getLasyImage(t.$root.getImage(e.image,void 0!==e.image_path?e.image_path:null)),expression:"getLasyImage($root.getImage(item.image, item.image_path !== undefined ? item.image_path : null))"}],staticClass:"h-full w-full object-cover rounded"})]):t._e(),a("div",{staticClass:"text-xxs py-1",domProps:{textContent:t._s(t.$root.getLangText(e.title))}})]),a("div",{staticClass:"font-medium text-sm text-gray-600 py-2 text-center",domProps:{innerHTML:t._s(t.$root.showPrice(e.price,e.is_price_from))}})])})),0)]),a("div",{staticClass:"scroll-btn cursor-pointer right-0 top-0 absolute w-10 h-10 flex items-center justify-center z-40 rounded-full text-transparent bg-transparent border border-transparent",class:{"arrow-show":t.displayBtnManullyRight,"arrow-hide":!t.displayBtnManullyRight},on:{click:function(e){return t.manuallyRight()}}},[a("svg",{staticClass:"h-6 w-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[a("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M9 5l7 7-7 7"}})])])])]):t._e()])},b=[],k=a(81120),w=a(71385),C={props:["products"],mixins:[w.$],data(){return{recommended_products:[],displayBtnManullyLeft:!1,displayBtnManullyRight:!0,isMobileDevice:!1,showImage:!1}},directives:{dragscroll:k.dragscroll},created(){this.getRecommendedProducts(),this.isMobileDevice=this.$root.isMobile()},mounted(){if(!this.isMobileDevice){let t=0,e=document.querySelectorAll(".scroll-recomendation-item");Array.from(e).map((e=>{t+=Number(e.clientWidth)})),document.querySelector("#scroll-recomandations")?this.displayBtnManullyRight=Number(document.querySelector("#scroll-recomandations").offsetWidth)<t:this.displayBtnManullyRight=!1}},methods:{startDragScroll(){let t=this;setTimeout((function(){t.click=!1}),100)},endDragScroll(){let t=this,e=this.calculateScrolledContentWidth();this.displayBtnManullyLeft=Number(document.querySelector("#scroll-recomandations").scrollLeft)>0,this.displayBtnManullyRight=Number(document.querySelector("#scroll-recomandations").scrollLeft)<Number(e)-Number(document.querySelector("#scroll-recomandations").offsetWidth),setTimeout((function(){t.click=!0}),100)},checkInView(t){var e=t.offsetTop-130,a=t.offsetLeft,o=t.offsetWidth,r=t.offsetHeight;while(t.offsetParent)t=t.offsetParent,e+=t.offsetTop,a+=t.offsetLeft;return e<window.pageYOffset+window.innerHeight&&a<window.pageXOffset+window.innerWidth&&e+r>window.pageYOffset&&a+o>window.pageXOffset},manuallyLeft(){document.querySelector("#scroll-recomandations").scrollLeft=document.querySelector("#scroll-recomandations").scrollLeft-50,document.querySelector("#scroll-recomandations").scrollLeft<=0&&(this.displayBtnManullyLeft=!1),this.displayBtnManullyRight=!0},calculateScrolledContentWidth(){let t=document.querySelectorAll(".scroll-recomendation-item"),e=0;return Array.from(t).map((t=>{e+=Number(t.clientWidth)})),e},manuallyRight(){let t=this.calculateScrolledContentWidth();document.querySelector("#scroll-recomandations").scrollLeft>=Number(t)-Number(document.querySelector("#scroll-recomandations").offsetWidth)&&(this.displayBtnManullyRight=!1),document.querySelector("#scroll-recomandations").scrollLeft+=50,this.displayBtnManullyLeft=!0},getRecommendedProducts(){let t=this.products.reduce((function(t,e){return String(t)+String("product_id[]="+e.id+"&")}),"?");this.$http.get("https://admin.2roomz.com/api/v1/hotels/"+this.$root.hotelCode+"/products-recommendations"+t).then((t=>{this.recommended_products=t.data.data.recommended_products,this.getPhotos()}))},getPhotos(){this.recommended_products.filter((t=>void 0!==t.image_path&&""!==t.image_path)).length>0?this.showImage=!0:this.showImage=!1},getLasyImage(t){let e={src:t,error:a(13389),loading:a(13389)};return e},addRecommendedProduct(t){var e=JSON.parse(JSON.stringify(t)),a=e.section;delete e.section,e.image=e.image_path;let o=(void 0===localStorage.getItem("is_adult")||null===localStorage.getItem("is_adult"))&&null!==t.section.for_adult&&t.section.for_adult;return o?(this.$modal.show("modal-extra",{item:t,section_id:null}),!1):!this.checkIsAdultProduct(t)&&void Ka.$emit("product-cart",{product:JSON.stringify(e),section:a,parent_section:a.parent,from_recommendation:!0,action:{type:"create",index_for_update:null}})},setRecommendedProduct(){return!0}}},A=C,$=(0,u.Z)(A,y,b,!1,null,"71ef0b86",null),L=$.exports,S=a(88623),M=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"mb-4"},[a("label",{staticClass:"flex my-2"},[a("div",{staticClass:"bg-white rounded border-accor w-4 h-4 flex flex-shrink-0 justify-center items-center mr-2 focus-within:border-blue-500"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.first,expression:"first"}],staticClass:"opacity-0 absolute",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.first)?t._i(t.first,null)>-1:t.first},on:{change:function(e){var a=t.first,o=e.target,r=!!o.checked;if(Array.isArray(a)){var s=null,i=t._i(a,s);o.checked?i<0&&(t.first=a.concat([s])):i>-1&&(t.first=a.slice(0,i).concat(a.slice(i+1)))}else t.first=r}}}),a("svg",{staticClass:"hidden w-3 h-3 pointer-events-none",attrs:{fill:"#2c7a7b",viewBox:"0 0 20 20"}},[a("path",{attrs:{d:"M0 11l2-2 5 5L18 3l2 2L7 18z"}})])]),"en"==this.$root.currentLanguage||"ko"==this.$root.currentLanguage||"cn"==this.$root.currentLanguage||"nl"==this.$root.currentLanguage||"ar"==this.$root.currentLanguage||"il"==this.$root.currentLanguage||"kz"==this.$root.currentLanguage||"hr"==this.$root.currentLanguage||"az"==this.$root.currentLanguage||"ua"==this.$root.currentLanguage||"ge"==this.$root.currentLanguage||"cs"==this.$root.currentLanguage||"es"==this.$root.currentLanguage||"gr"==this.$root.currentLanguage||"tat"==this.$root.currentLanguage||"al"==this.$root.currentLanguage||"lv"==this.$root.currentLanguage||"tr"==this.$root.currentLanguage||"ba"==this.$root.currentLanguage||"fa"==this.$root.currentLanguage||"ro"==this.$root.currentLanguage||"hu"==this.$root.currentLanguage||"sk"==this.$root.currentLanguage||"et"==this.$root.currentLanguage?a("div",{staticClass:"select-none text-xs leading-tight font-light",class:!t.first&&t.checkBoxError?"text-red-500":""},[t._v(" By ordering service you agree with the terms and conditions "),a("a",{staticClass:"text-accor",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.$modal.show("modal-agreement"),t.$root.getPublicInformation("full_agreement")}}},[t._v("of the Public offer")]),t._v(" (By clicking «Order» you automatically agree with "),a("a",{staticClass:"text-accor",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.$modal.show("modal-agreement"),t.$root.getPublicInformation("full_agreement")}}},[t._v("the Public offer")]),t._v(" ). ")]):t._e(),"de"==this.$root.currentLanguage?a("div",{staticClass:"select-none text-xs leading-tight font-light",class:!t.first&&t.checkBoxError?"text-red-500":""},[t._v(" Mit der Bestellung des Dienstes akzeptieren Sie die Allgemeinen Geschäftsbedingungen "),a("a",{staticClass:"text-accor",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.$modal.show("modal-agreement"),t.$root.getPublicInformation("full_agreement")}}},[t._v("des öffentlichen Angebots")]),t._v(" (durch Klicken auf „Bestellen“ akzeptieren Sie automatisch "),a("a",{staticClass:"text-accor",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.$modal.show("modal-agreement"),t.$root.getPublicInformation("full_agreement")}}},[t._v("das öffentliche Angebot")]),t._v(" ). ")]):t._e(),"it"==this.$root.currentLanguage?a("div",{staticClass:"select-none text-xs leading-tight font-light",class:!t.first&&t.checkBoxError?"text-red-500":""},[t._v(" Ordinando il servizio si accettano i termini e le condizioni "),a("a",{staticClass:"text-accor",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.$modal.show("modal-agreement"),t.$root.getPublicInformation("full_agreement")}}},[t._v("dell'offerta al pubblico")]),t._v(' (Cliccando su "Ordinare" si accetta automaticamente '),a("a",{staticClass:"text-accor",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.$modal.show("modal-agreement"),t.$root.getPublicInformation("full_agreement")}}},[t._v("l'offerta al pubblico")]),t._v(" ). ")]):t._e(),"fr"==this.$root.currentLanguage?a("div",{staticClass:"select-none text-xs leading-tight font-light",class:!t.first&&t.checkBoxError?"text-red-500":""},[t._v(" En commandant le service, vous acceptez les termes et conditions "),a("a",{staticClass:"text-accor",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.$modal.show("modal-agreement"),t.$root.getPublicInformation("full_agreement")}}},[t._v("de l'offre publique")]),t._v(' (En cliquant sur "Commander", vous acceptez automatiquement '),a("a",{staticClass:"text-accor",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.$modal.show("modal-agreement"),t.$root.getPublicInformation("full_agreement")}}},[t._v("l'offre publique")]),t._v(" ). ")]):t._e(),"ru"==this.$root.currentLanguage?a("div",{staticClass:"select-none text-xs leading-tight font-light",class:!t.first&&t.checkBoxError?"text-red-500":""},[t._v(" Заказывая услугу, вы соглашаетесь с условиями и положениями "),a("a",{staticClass:"text-accor",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.$modal.show("modal-agreement"),t.$root.getPublicInformation("full_agreement")}}},[t._v("Публичной оферты")]),t._v(" (Нажав кнопку «Заказать», вы автоматически соглашаетесь с "),a("a",{staticClass:"text-accor",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.$modal.show("modal-agreement"),t.$root.getPublicInformation("full_agreement")}}},[t._v("Публичной офертой")]),t._v(" ). ")]):t._e(),"pl"==this.$root.currentLanguage?a("div",{staticClass:"select-none text-xs leading-tight font-light",class:!t.first&&t.checkBoxError?"text-red-500":""},[t._v(" Zamawiający usługę wyraża zgodę na warunki "),a("a",{staticClass:"text-accor",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.$modal.show("modal-agreement"),t.$root.getPublicInformation("full_agreement")}}},[t._v("oferty publicznej")]),t._v(' (Klikając "Zamów" automatycznie wyrażasz zgodę na '),a("a",{staticClass:"text-accor",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.$modal.show("modal-agreement"),t.$root.getPublicInformation("full_agreement")}}},[t._v("ofertę publiczną")]),t._v(" ). ")]):t._e(),"pt"==this.$root.currentLanguage?a("div",{staticClass:"select-none text-xs leading-tight font-light",class:!t.first&&t.checkBoxError?"text-red-500":""},[t._v(" Ao solicitar o serviço, concorda com os termos e condições "),a("a",{staticClass:"text-accor",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.$modal.show("modal-agreement"),t.$root.getPublicInformation("full_agreement")}}},[t._v("da Oferta Pública")]),t._v(" (Ao clicar em «Pedir», concorda automaticamente com a "),a("a",{staticClass:"text-accor",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.$modal.show("modal-agreement"),t.$root.getPublicInformation("full_agreement")}}},[t._v("Oferta Pública")]),t._v(" ). ")]):t._e(),"uz"==this.$root.currentLanguage?a("div",{staticClass:"select-none text-xs leading-tight font-light",class:!t.first&&t.checkBoxError?"text-red-500":""},[t._v(" Bu xizmatni buyurtma bergandan keyin, "),a("a",{staticClass:"text-accor",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.$modal.show("modal-agreement"),t.$root.getPublicInformation("full_agreement")}}},[t._v("siz Ommaviy oferta")]),t._v(" shartlari va istaklari bilan rozigingizni avtomatik tarzda tasdiqlaysiz. ")]):t._e()]),a("label",{staticClass:"flex my-2"},[a("div",{staticClass:"bg-white rounded border-accor w-4 h-4 flex flex-shrink-0 justify-center items-center mr-2 focus-within:border-blue-500"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.second,expression:"second"}],staticClass:"opacity-0 absolute",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.second)?t._i(t.second,null)>-1:t.second},on:{change:function(e){var a=t.second,o=e.target,r=!!o.checked;if(Array.isArray(a)){var s=null,i=t._i(a,s);o.checked?i<0&&(t.second=a.concat([s])):i>-1&&(t.second=a.slice(0,i).concat(a.slice(i+1)))}else t.second=r}}}),a("svg",{staticClass:"hidden w-3 h-3 pointer-events-none",attrs:{fill:"#2c7a7b",viewBox:"0 0 20 20"}},[a("path",{attrs:{d:"M0 11l2-2 5 5L18 3l2 2L7 18z"}})])]),"en"==this.$root.currentLanguage||"ko"==this.$root.currentLanguage||"cn"==this.$root.currentLanguage||"nl"==this.$root.currentLanguage||"ar"==this.$root.currentLanguage||"il"==this.$root.currentLanguage||"kz"==this.$root.currentLanguage||"hr"==this.$root.currentLanguage||"az"==this.$root.currentLanguage||"ua"==this.$root.currentLanguage||"ge"==this.$root.currentLanguage||"cs"==this.$root.currentLanguage||"es"==this.$root.currentLanguage||"gr"==this.$root.currentLanguage||"tat"==this.$root.currentLanguage||"al"==this.$root.currentLanguage||"lv"==this.$root.currentLanguage||"tr"==this.$root.currentLanguage||"ba"==this.$root.currentLanguage||"fa"==this.$root.currentLanguage||"ro"==this.$root.currentLanguage||"hu"==this.$root.currentLanguage||"sk"==this.$root.currentLanguage||"et"==this.$root.currentLanguage?a("div",{staticClass:"select-none text-xs leading-tight font-light",class:!t.second&&t.checkBoxError?"text-red-500":""},[t._v(" I read and accepted "),a("a",{staticClass:"text-accor",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.$modal.show("modal-privacy-policy"),t.$root.getPublicInformation("privacy_policy")}}},[t._v("the Privacy policy")]),t._v(" for the purpose of your personal data processing ")]):t._e(),"de"==this.$root.currentLanguage?a("div",{staticClass:"select-none text-xs leading-tight font-light",class:!t.second&&t.checkBoxError?"text-red-500":""},[t._v(" Ich habe die "),a("a",{staticClass:"text-accor",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.$modal.show("modal-privacy-policy"),t.$root.getPublicInformation("privacy_policy")}}},[t._v("Datenschutzerklärung")]),t._v(" für die Verarbeitung Ihrer personenbezogenen Daten gelesen und akzeptiere sie.")]):t._e(),"it"==this.$root.currentLanguage?a("div",{staticClass:"select-none text-xs leading-tight font-light",class:!t.second&&t.checkBoxError?"text-red-500":""},[t._v(" Ho letto e accetto "),a("a",{staticClass:"text-accor",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.$modal.show("modal-privacy-policy"),t.$root.getPublicInformation("privacy_policy")}}},[t._v("l'informativa sulla privacy")]),t._v(" per il trattamento dei dati personali. ")]):t._e(),"fr"==this.$root.currentLanguage?a("div",{staticClass:"select-none text-xs leading-tight font-light",class:!t.second&&t.checkBoxError?"text-red-500":""},[t._v(" J'ai lu et accepté "),a("a",{staticClass:"text-accor",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.$modal.show("modal-privacy-policy"),t.$root.getPublicInformation("privacy_policy")}}},[t._v("confidentialité")]),t._v(" aux fins du traitement de vos données personnelles ")]):t._e(),"ru"==this.$root.currentLanguage?a("div",{staticClass:"select-none text-xs leading-tight font-light",class:!t.second&&t.checkBoxError?"text-red-500":""},[t._v(" Я прочитал и принял "),a("a",{staticClass:"text-accor",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.$modal.show("modal-privacy-policy"),t.$root.getPublicInformation("privacy_policy")}}},[t._v("Политику конфиденциальности")]),t._v(" в целях обработки ваших персональных данных ")]):t._e(),"pl"==this.$root.currentLanguage?a("div",{staticClass:"select-none text-xs leading-tight font-light",class:!t.second&&t.checkBoxError?"text-red-500":""},[t._v(" Przeczytałam/em i akceptuję "),a("a",{staticClass:"text-accor",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.$modal.show("modal-privacy-policy"),t.$root.getPublicInformation("privacy_policy")}}},[t._v("politykę prywatności ")]),t._v(" w zakresie przetwarzania danych osobowych. ")]):t._e(),"pt"==this.$root.currentLanguage?a("div",{staticClass:"select-none text-xs leading-tight font-light",class:!t.second&&t.checkBoxError?"text-red-500":""},[t._v(" Li e aceitei a "),a("a",{staticClass:"text-accor",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.$modal.show("modal-privacy-policy"),t.$root.getPublicInformation("privacy_policy")}}},[t._v("Política de Privacidade")]),t._v(" para fins de processamento dos seus dados pessoais ")]):t._e(),"uz"==this.$root.currentLanguage?a("div",{staticClass:"select-none text-xs leading-tight font-light",class:!t.second&&t.checkBoxError?"text-red-500":""},[t._v(" Men "),a("a",{staticClass:"text-accor",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.$modal.show("modal-privacy-policy"),t.$root.getPublicInformation("privacy_policy")}}},[t._v("Maxfiylik siyosatini")]),t._v(" o’qib chiqib roziligimni tasdiqlayman. ")]):t._e()]),"en"==this.$root.currentLanguage||"ko"==this.$root.currentLanguage||"cn"==this.$root.currentLanguage||"nl"==this.$root.currentLanguage||"ar"==this.$root.currentLanguage||"il"==this.$root.currentLanguage||"kz"==this.$root.currentLanguage||"hr"==this.$root.currentLanguage||"az"==this.$root.currentLanguage||"ua"==this.$root.currentLanguage||"ge"==this.$root.currentLanguage||"cs"==this.$root.currentLanguage||"es"==this.$root.currentLanguage||"gr"==this.$root.currentLanguage||"tat"==this.$root.currentLanguage||"al"==this.$root.currentLanguage||"lv"==this.$root.currentLanguage||"tr"==this.$root.currentLanguage||"ba"==this.$root.currentLanguage||"fa"==this.$root.currentLanguage||"ro"==this.$root.currentLanguage||"hu"==this.$root.currentLanguage||"sk"==this.$root.currentLanguage||"et"==this.$root.currentLanguage?a("div",{staticClass:"text-gray-800 text-xs  font-light"},[t._v(" You may withdraw or change your consent at any time by e-mailling "),"alphasirius"!==t.$root.hotelCode?a("a",{staticClass:"text-accor",attrs:{href:"mailto:privacy@dgstay.com"}},[t._v("privacy@dgstay.com")]):a("a",{staticClass:"text-accor",attrs:{href:"mailto:privacy@2roomz.com"}},[t._v("privacy@2roomz.com")])]):t._e(),"de"==this.$root.currentLanguage?a("div",{staticClass:"text-gray-800 text-xs  font-light"},[t._v(" Sie können Ihre Einwilligung jederzeit widerrufen oder ändern, indem Sie eine E-Mail an "),a("a",{staticClass:"text-accor",attrs:{href:"mailto:privacy@dgstay.com"}},[t._v("privacy@dgstay.com")]),t._v(" senden ")]):t._e(),"it"==this.$root.currentLanguage?a("div",{staticClass:"text-gray-800 text-xs  font-light"},[t._v(" Può revocare o modificare il Suo consenso in qualsiasi momento inviando un'e-mail a "),a("a",{staticClass:"text-accor",attrs:{href:"mailto:privacy@dgstay.com"}},[t._v("privacy@dgstay.com")])]):t._e(),"fr"==this.$root.currentLanguage?a("div",{staticClass:"text-gray-800 text-xs  font-light"},[t._v(" Vous pouvez retirer ou modifier votre consentement à tout moment en envoyant un e-mail "),a("a",{staticClass:"text-accor",attrs:{href:"mailto:privacy@dgstay.com"}},[t._v("privacy@dgstay.com")])]):t._e(),"ru"==this.$root.currentLanguage?a("div",{staticClass:"text-gray-800 text-xs  font-light"},[t._v(" Вы можете отозвать или изменить свое согласие в любое время по электронной почте. "),"alphasirius"!==t.$root.hotelCode?a("a",{staticClass:"text-accor",attrs:{href:"mailto:privacy@dgstay.com"}},[t._v("privacy@dgstay.com")]):a("a",{staticClass:"text-accor",attrs:{href:"mailto:privacy@2roomz.com"}},[t._v("privacy@2roomz.com")])]):t._e(),"pl"==this.$root.currentLanguage?a("div",{staticClass:"text-gray-800 text-xs  font-light"},[t._v(" Zgodę można w każdej chwili wycofać lub zmienić za pomocą wiadomości e-mail "),a("a",{staticClass:"text-accor",attrs:{href:"mailto:privacy@dgstay.com"}},[t._v("privacy@dgstay.com")])]):t._e(),"pt"==this.$root.currentLanguage?a("div",{staticClass:"text-gray-800 text-xs  font-light"},[t._v(" Poderá retirar ou alterar o seu consentimento a qualquer momento enviando um email para "),a("a",{staticClass:"text-accor",attrs:{href:"mailto:privacy@dgstay.com"}},[t._v("privacy@dgstay.com")])]):t._e(),"uz"==this.$root.currentLanguage?a("div",{staticClass:"text-gray-800 text-xs  font-light"},[t._v(" Istalqan vaqtda Siz o'z roziligingizni quydagi electron manzilga yozib bekor qilishingiz mumkin. "),a("a",{staticClass:"text-accor",attrs:{href:"mailto:privacy@dgstay.com"}},[t._v("privacy@dgstay.com")])]):t._e(),a("modal",{attrs:{name:"modal-personal-data",width:"100%",height:"100%",scrollable:""}},[a("div",{staticClass:"flex py-4 px-4 shadow text items-center"},[a("button",{on:{click:function(e){return t.$modal.hide("modal-personal-data")}}},[a("svg",{staticClass:"w-8 h-8 fill-current",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}},[a("title",[t._v("Arrow Back")]),a("path",{attrs:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M244 400L100 256l144-144M120 256h292"}})])]),"en"==this.$root.currentLanguage||"ko"==this.$root.currentLanguage||"cn"==this.$root.currentLanguage||"pl"==this.$root.currentLanguage||"nl"==this.$root.currentLanguage||"de"==this.$root.currentLanguage||"ar"==this.$root.currentLanguage||"il"==this.$root.currentLanguage||"kz"==this.$root.currentLanguage||"fr"==this.$root.currentLanguage||"hr"==this.$root.currentLanguage||"az"==this.$root.currentLanguage||"ua"==this.$root.currentLanguage||"pt"==this.$root.currentLanguage||"ge"==this.$root.currentLanguage||"cs"==this.$root.currentLanguage||"es"==this.$root.currentLanguage||"it"==this.$root.currentLanguage||"gr"==this.$root.currentLanguage||"tat"==this.$root.currentLanguage||"uz"==this.$root.currentLanguage||"al"==this.$root.currentLanguage||"lv"==this.$root.currentLanguage||"tr"==this.$root.currentLanguage||"ba"==this.$root.currentLanguage||"fa"==this.$root.currentLanguage||"ro"==this.$root.currentLanguage||"hu"==this.$root.currentLanguage||"sk"==this.$root.currentLanguage||"et"==this.$root.currentLanguage?a("div",{staticClass:"ml-2"},[t._v("Data protection")]):t._e(),"ru"==this.$root.currentLanguage?a("div",{staticClass:"ml-2"},[t._v("Защита данных")]):t._e()]),a("div",{staticClass:"p-4 text-xs h-screen overflow-y-auto"},["en"==this.$root.currentLanguage||"ru"==this.$root.currentLanguage||"ko"==this.$root.currentLanguage||"cn"==this.$root.currentLanguage||"pl"==this.$root.currentLanguage||"nl"==this.$root.currentLanguage||"de"==this.$root.currentLanguage||"ar"==this.$root.currentLanguage||"il"==this.$root.currentLanguage||"kz"==this.$root.currentLanguage||"fr"==this.$root.currentLanguage||"hr"==this.$root.currentLanguage||"az"==this.$root.currentLanguage||"ua"==this.$root.currentLanguage||"pt"==this.$root.currentLanguage||"ge"==this.$root.currentLanguage||"cs"==this.$root.currentLanguage||"es"==this.$root.currentLanguage||"it"==this.$root.currentLanguage||"gr"==this.$root.currentLanguage||"tat"==this.$root.currentLanguage||"al"==this.$root.currentLanguage||"lv"==this.$root.currentLanguage||"tr"==this.$root.currentLanguage||"ba"==this.$root.currentLanguage||"fa"==this.$root.currentLanguage||"ro"==this.$root.currentLanguage||"hu"==this.$root.currentLanguage||"sk"==this.$root.currentLanguage||"et"==this.$root.currentLanguage?a("div",{staticClass:"p-2",staticStyle:{"margin-bottom":"100px"}},[a("div",{staticClass:"text-lg font-bold pb-2"},[t._v("Privacy notice, 14 June 2021")]),a("p",{staticClass:"my-3"},[t._v(" Clip Style, LLC is registered in the Russian Federation and complies with personal data protection law of your home country being a legal entity acting worldwide. ")]),a("p",{staticClass:"my-3"},[t._v(" Clip Style, LLC is an owner of the 2ROOMZ hotel service web-platform located at the domain 2roomz.com. As a data processor, we will collect and process your personal information in the European Union, and any country within the European Union where we operate with our partner's hotels. ")]),a("p",{staticClass:"my-3"},[t._v(" We process your personal data for efficient hotel services rendering only and for the purpose of your unique experience with hotel products. ")]),a("p",{staticClass:"my-3"},[t._v(" We analyze your accommodation preferences for further customization of our products and services. We do not use cookie files as such and any other files of the same kind since we do not need them for the service rendering. ")]),a("p",{staticClass:"my-3"},[t._v(" We do not use your personal data for marketing purposes and do not send you ads. ")]),a("p",{staticClass:"my-3"},[t._v(" We will share your personal data with third parties that we work with for the purposes of service provision. Such sharing will be made only through safety encrypted channels. Third parties are listed in chapter 4 of the Privacy policy. ")]),a("p",{staticClass:"my-3 flex"},[t._v(" You may withdraw your consent at any time by sending an email to "),a("a",{staticClass:"text-blue-600 mx-1",attrs:{href:"mailto:privacy@2roomz.com"}},[t._v("privacy@2roomz.com.")])]),a("p",{staticClass:"my-3"},[t._v(" Further details about our use of your personal data, your right of access and correction, the complaints process, etc. can be found in our Privacy Policy. ")]),a("p",{staticClass:"my-3 flex"},[t._v(" You may obtain a relevant copy of our Privacy Policy at any time at our website: "),a("a",{staticClass:"text-blue-600 mx-1",attrs:{href:"https://2roomz.com/"}},[t._v("www.2roomz.com.")])])]):t._e()])])],1)},B=[],P={props:["checkAgreement","checkBoxError"],data(){return{first:!1,second:!1}},watch:{first(){this.$emit("update:checkAgreement",this.first&&this.second)},second(){this.$emit("update:checkAgreement",this.first&&this.second)}}},I=P,T=(0,u.Z)(I,M,B,!1,null,null,null),E=T.exports,z=a(55022);const N={methods:{onCaptchaExpired(){this.$refs.recaptcha.reset()},getClientIp(){this.$http.get("https://admin.2roomz.com/api/v1/get-ip").then((t=>{this.ip_addr=t.data.ip}))}}};var O=a(20369),j=a.n(O);const D={methods:{isAnyProductGotRoomNumberOption(t){var e=this.$root.hotel.ext_data.properties.room_number.except_sections;return!e||t.filter((t=>-1==e.indexOf(String(t.parent_section.id))&&(void 0!=t.section_id?-1==e.indexOf(String(t.section_id)):-1==e.indexOf(String(t.section.id))))).length>0},roomNumberInputTitle(){var t=this.$root.hotel.ext_data.properties.room_number.title;return t?this.$root.getLangText(t):this.$root.getKeyWord("room_number")}}};class H{constructor(){this.errors={}}get(t){if(this.errors[t])return this.errors[t][0]}searchByKey(t){return Object.keys(this.errors).filter((e=>e.indexOf(t)>-1)).length>0}record(t){this.errors=t}}var K={name:"app_cart",mixins:[N,D],components:{AppRecommendedProducts:L,AppUkPrivacyPolicy:E,PaymentPageSdk:j(),AppPropertiesNew:S.Z,Loading:z.Z},data(){return{comment:"",checked_agreement:!this.$root.showConfirmationCheckBox(),payment:void 0!=localStorage.getItem("fs_payment")?localStorage.getItem("fs_payment"):"",room_number:this.getDefaultRoomNumber(),status_payment:"NONE",intervalCheckPayment:null,visible:!1,loading:!1,check_box_error:!1,errors:new H}},created(){let t=this;Ka.$on("is-empty-cart",(function(){t.cleanCart()})),Ka.$on("updated-cart-payment",(e=>{this.$root.hotel.payments&&t.cart.property.properties.forEach((function(e){t.selectedPayment&&"cash"!==t.selectedPayment.ptype_id&&"banknotes"==e.pcode_id&&(e.value="")}))})),Ka.$on("cart",(t=>{this.$root.updateCart(),this.cart.payment="anapa-lazurnyy"===this.$root.hotelCode?779:null,this.cart.comment="",this.cart.is_temporary=!1,this.cart.room_number=this.getDefaultRoomNumber(),this.visible=!0,this.loading=!1,this.errors=new H}))},computed:{displayRoomNumber(){return this.$root.hotel.is_room_number_property&&this.$root.hotel.limit_room.length>0&&this.isAnyProductGotRoomNumberOption(this.cart.products)},displayHotelPayments(){if("radissoncollection.2roomz.com"===this.$root.hotel.site){var t=this.cart.products.filter((t=>10068===t.parent_section.id)).length>0;if(t)return!1}return!0},selectedPayment(){try{var t=this.$root.cart.hotel_payments.filter((t=>t.id==this.cart.payment));return t.length>0?t[0]:null}catch(e){return console.error(e),null}},cart(){return this.$root.cart}},watch:{cart:{handler:function(t,e){let a=JSON.parse(JSON.stringify(t));a.property&&a.property.properties&&a.property.properties.forEach((function(t){"banknotes"==t.pcode_id&&(t.value="")})),localStorage["cart"]=JSON.stringify(a)},deep:!0},visible(t){if(t){let t=document.createElement("div");t.classList.add("overlist"),document.body.appendChild(t)}else{let t=document.getElementsByClassName("overlist")[0];t.parentNode.removeChild(t)}this.$root.freezePageScroll()}},filters:{formatDate(t){return x()(t).format("DD.MM.YYYY")}},methods:{close(){this.visible=!1},cleanCart(){this.$root.cleanCart(),this.$root.updateCart(),this.visible=!1,localStorage.removeItem("text_accepted")},createOrder(){this.$root.showConfirmationCheckBox()&&this.$root.hotel.is_security_hard&&!this.cart.is_temporary?this.check_box_error=!0:(this.displayRoomNumber||(this.cart.room_number=""),this.sendOrder())},sendOrder(){this.loading=!0,this.cart.uuid=this.$root.generate_and_set_uuid(),this.cart.hotel_id=this.$root.hotel.id;let t=this.$root.buildCart(this.cart);t.language=this.$root.currentLanguage,t.person_uuid=localStorage.getItem("person-uuid"),this.displayRoomNumber?localStorage.setItem("fs_room_number",this.cart.room_number):this.cart.room_number="",this.$root.yandexGoal("goal - order - start"),this.$http.post("https://admin.2roomz.com/api/v1/orders",t).then((({data:t})=>{this.$root.yandexGoal("goal - order - finish"),void 0!==t.data.order&&t.data.order.uuid&&this.$root.store_order_uuid(t.data.order.uuid),void 0!==t.initiator&&t.initiator&&localStorage.setItem("person-uuid",t.initiator.uuid);var e=null;return this.selectedPayment&&"online"===this.selectedPayment.ptype_id&&void 0!==t.data.pay_data&&void 0!==t.data.pay_data.response?(null!==t.data.pay_data.response.formUrl&&(e=t.data.pay_data.response.formUrl),this.successOrderPopup(e),t):(this.successOrderPopup(e),this.loading=!1,localStorage.removeItem("property_values"),t)})).catch((t=>{this.loading=!1,this.errors.record(t.response.data.data)}))},successOrderPopup(t=null){this.visible=!1,Ka.$emit("order-success-splash",{section:this.cart.products[0].section,parent_section:this.cart.products[0].parent_section,total_price:this.$root.cart_total_price,payment_url:t}),this.$root.cleanCart()},changeProduct(t,e){Ka.$emit("product-cart",{product:JSON.stringify(t.product),section:t.section,parent_section:t.parent_section,quantity:t.quantity,from_recommendation:t.from_recommendation,action:{type:"update",index_for_update:e}})},getDefaultRoomNumber(){return"palmira-bc"==this.$root.hotelCode?"":void 0!=localStorage.getItem("fs_room_number")?localStorage.getItem("fs_room_number"):""},hasIncludeSectionsOnCart(t){var e=this.cart.products.filter((e=>t.includes(e.parent_section.id)));return e.length>0}}},q=K,R=(0,u.Z)(q,h,v,!1,null,null,null),Y=R.exports,G=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("modal",{attrs:{name:"modal-chat","max-width":600,adaptive:!0,height:"100%",id:"chat_container"},on:{opened:t.opened,closed:t.closed}},[o("div",{staticClass:"bg-white h-full flex flex-col",staticStyle:{transition:"all 4s ease-in"},attrs:{id:"chat_wrapper"}},[o("div",{staticClass:"chat__header shrink-0"},[o("div",{staticClass:"flex gap-3 items-center px-4 border-b h-14"},[o("div",{staticClass:"flex gap-2 items-center w-full"},[o("svg",{staticClass:"text-gray-700 w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"}},[o("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round",d:"M20.25 8.511c.884.284 1.5 1.128 1.5 2.097v4.286c0 1.136-.847 2.1-1.98 2.193-.34.027-.68.052-1.02.072v3.091l-3-3c-1.354 0-2.694-.055-4.02-.163a2.115 2.115 0 01-.825-.242m9.345-8.334a2.126 2.126 0 00-.476-.095 48.64 48.64 0 00-8.048 0c-1.131.094-1.976 1.057-1.976 2.192v4.286c0 .837.46 1.58 1.155 1.951m9.345-8.334V6.637c0-1.621-1.152-3.026-2.76-3.235A48.455 48.455 0 0011.25 3c-2.115 0-4.198.137-6.24.402-1.608.209-2.76 1.614-2.76 3.235v6.226c0 1.621 1.152 3.026 2.76 3.235.577.075 1.157.14 1.74.194V21l4.155-4.155"}})]),o("div",{staticClass:"text-lg text-gray-700 truncate pr-4 flex items-center"},["marriottpolyana.2roomz.com"==t.$root.hotel.site?o("div",{staticClass:"text-sm pt-1"},[t._v(t._s(t.$root.getLangText({ru:"Чат работает в",en:"Chat is working in"}))+" "),o("span",{staticClass:"text-red-700 font-medium"},[t._v(t._s(t.$root.getLangText({ru:"тестовом режиме",en:"test mode"})))])]):t._e()])]),t.displaySelectLanguage?o("select-language",{staticClass:"mx-4"}):o("div",{staticClass:"flex items-center space-x-4 w-full justify-end"},[t.chat_uuid?o("button",{staticClass:"h-8 text-black focus:outline-none rounded-full  text-center flex space-x-1 items-center bg-stone-100 hover:bg-stone-200 px-2",on:{click:function(e){return t.closeChat()}}},[o("svg",{staticClass:"w-4 h-4 text-current",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"}},[o("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15.75 9V5.25A2.25 2.25 0 0013.5 3h-6a2.25 2.25 0 00-2.25 2.25v13.5A2.25 2.25 0 007.5 21h6a2.25 2.25 0 002.25-2.25V15m3 0l3-3m0 0l-3-3m3 3H9"}})])]):t._e(),o("a",{staticClass:"w-8 h-8 text-black bg-white focus:outline-none rounded-full  text-center inline-flex items-center shadow-md hover:shadow",attrs:{href:"javascript:void(0)"},on:{click:function(e){return t.$modal.hide("modal-chat")}}},[o("svg",{attrs:{width:"48",height:"48",viewBox:"0 0 34 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[o("path",{attrs:{d:"M21.2427 12.7574L12.7574 21.2426M12.7574 12.7574L21.2427 21.2426L12.7574 12.7574Z",stroke:"#333333","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}})])])])],1)]),o("div",{staticClass:"chat__content flex flex-col grow h-px overflow-hidden"},[o("div",{staticClass:"flex flex-col grow overflow-y-auto",attrs:{id:"chat-grow-wrap"}},[t.chat_uuid?o("div",{staticClass:"flex flex-col gap-2 px-2"},[o("div",{staticClass:"chat_space w-full p-1"}),t._l(t.messages,(function(e){return o("div",[o("div",{staticClass:"flex gap-1",class:[e.initiator_id===t.chat.initiator_id?"justify-end":""]},[o("div",{staticClass:"flex items-end",class:[e.initiator_id===t.chat.initiator_id?"order-1":"order-2"]},[o("div",{staticClass:"flex flex-col text-xs max-w-xs mx-2 order-1 ",class:[e.initiator_id===t.chat.initiator_id?"items-end":"items-start"]},[o("div",["*file*"==e.content?o("div",[o("a",{staticClass:"py-1.5 px-2 text-sm flex font-medium text-gray-900 focus:outline-none bg-white rounded-lg border border-gray-200 hover:bg-gray-100 hover:text-blue-700",attrs:{href:null!==e.extra&&t.$root.getImage(e.extra.file),target:"_blank"}},[o("svg",{staticClass:"w-4 h-4",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"}},[o("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round",d:"M18.375 12.739l-7.693 7.693a4.5 4.5 0 01-6.364-6.364l10.94-10.94A3 3 0 1119.5 7.372L8.552 18.32m.009-.01l-.01.01m5.699-9.941l-7.81 7.81a1.5 1.5 0 002.112 2.13"}})]),o("span",{staticClass:"ml-1 text-xs"},[t._v("File")])])]):o("div",{staticClass:"px-4 py-2 rounded-lg inline-block",class:[e.initiator_id===t.chat.initiator_id?"rounded-br-none bg-blue-600 text-white":"rounded-bl-none bg-[#f1f6f8] border text-black"]},[e.extra&&void 0!==e.extra.pictures?o("div",{staticClass:"flex flex-wrap gap-2 mb-2 chat_message__pictures"},[e.extra.pictures.length>0?o("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.getLasyImage(t.$root.getImage(e.extra.pictures[0].url)),expression:"getLasyImage($root.getImage(message.extra.pictures[0].url))"}],staticClass:"rounded",attrs:{width:"320"}}):t._e()]):t._e(),o("div",{domProps:{innerHTML:t._s(t.displayMessage(e.content))}})]),e.extra&&void 0!==e.extra.buttons?o("div",{staticClass:"flex flex-wrap gap-2 mt-2"},t._l(e.extra.buttons,(function(e){return o("div",[o("button",{staticClass:"border px-4 py-2 rounded-xl block hover:underline text-left",style:{color:t.$root.hotel.color,"border-color":t.$root.hotel.color},on:{click:function(a){return t.clickFlowButton(e)}}},[t._v(t._s(e.title))])])})),0):t._e()]),o("div",{staticClass:"text-[10px] w-full text-gray-300",class:[e.initiator_id===t.chat.initiator_id?"text-right":"text-left"]},[t._v(t._s(e.initiator.name)+" - "+t._s(t._f("timeFormat")(e.created_at)))])])])])])})),t.is_typing?o("img",{staticClass:"object-contain top-0.5 w-8 h-8",attrs:{src:a(78057),alt:""}}):t._e(),o("div",{attrs:{id:"bottom-chat"}})],2):o("div",[o("chat-registration",{on:{startChat:t.startChat}})],1)]),o("div",{staticClass:"shrink-0"},[t.chat&&t.chat_uuid?o("input-message",{attrs:{chat:t.chat,content:t.content,loading:t.loading_send_message},on:{"update:content":function(e){t.content=e},"update:loading":function(e){t.loading_send_message=e},"send-message":t.sendMessage,"send-file-message":t.sendFileMessage}}):t._e()],1)]),o("v-dialog")],1)])},F=[],W=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"flex gap-2 px-2 py-2 w-full"},[a("div",{staticClass:"flex items-center gap-3"},[a("a-upload",{attrs:{name:"file",multiple:!1,"show-upload-list":!1,action:t.actionUploadUrl},on:{change:t.handleChangeFile}},[a("button",{staticClass:"text-gray-500 hover:text-black mt-1",style:{color:t.$root.hotel.color}},[a("svg",{staticClass:"w-7 h-7 md:w-8 md:h-8 fill-current",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}},[a("path",{attrs:{d:"M216.08 192v143.85a40.08 40.08 0 0080.15 0l.13-188.55a67.94 67.94 0 10-135.87 0v189.82a95.51 95.51 0 10191 0V159.74",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-miterlimit":"10","stroke-width":"32"}})])])])],1),a("div",{staticClass:"bg-gray-100 rounded-2xl p-1 w-full flex gap-x-4 items-end relative"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.s_content,expression:"s_content"}],ref:"myTextarea",staticClass:"bg-transparent w-full px-2 py-1 md:py-2 resize-none rounded-lg text-gray-900 text-sm focus:outline-none placeholder-gray-400",attrs:{rows:"1",id:"chat-input-message",placeholder:t.placeHolder},domProps:{value:t.s_content},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")||e.ctrlKey||e.shiftKey||e.altKey||e.metaKey?null:void e.preventDefault()},keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.handleEnterKey(e)},input:[function(e){e.target.composing||(t.s_content=e.target.value)},t.adjustTextareaHeight]}})]),a("div",[a("button",{staticClass:"block w-full h-full rounded-full focus:outline-none hover:text-blue-600 text-sm",style:{color:t.$root.hotel.color},on:{click:t.sendMessage}},[t.s_loading?a("svg",{staticClass:"w-8 h-8 fill-current",attrs:{viewBox:"0 0 100 100","enable-background":"new 0 0 0 0"}},[a("path",{attrs:{d:"M73,50c0-12.7-10.3-23-23-23S27,37.3,27,50 M30.9,50c0-10.5,8.5-19.1,19.1-19.1S69.1,39.5,69.1,50"}},[a("animateTransform",{attrs:{attributeName:"transform",attributeType:"XML",type:"rotate",dur:"1s",from:"0 50 50",to:"360 50 50",repeatCount:"indefinite"}})],1)]):a("svg",{staticClass:"w-6 h-6 md:w-7 md:h-7 fill-current",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}},[a("path",{attrs:{d:"M16 464l480-208L16 48v160l320 48-320 48z"}})])])])])},Q=[],V={props:["chat","content","loading"],components:{Loading:z.Z},computed:{s_content:{get(){return this.content},set(t){this.$emit("update:content",t)}},s_loading:{get(){return this.loading},set(t){this.$emit("update:loading",t)}},actionUploadUrl(){return"https://admin.2roomz.com/api/v1/public/chat/"+this.chat.uuid+"/files"},placeHolder(){return this.$root.getLangText({ru:"Отправить сообщение...",en:"Type here..."})}},data(){return{visibleEmoji:!1,visibleDynamicParametrs:!1,loading_file_upload:!1}},created(){if("visualViewport"in window){const t=Math.max(document.documentElement.clientHeight||0,window.innerHeight||0),e=.75;window.visualViewport.addEventListener("resize",(function(a){document.querySelector(".vm--modal")&&(document.querySelector(".vm--modal").style.top="0",document.querySelector(".vm--modal").style.height=Math.round(t)+"px",document.querySelector(".vm--modal").style.minHeight=Math.round(t)+"px",a.target.height*a.target.scale/window.screen.height<e&&(document.querySelector(".vm--modal").style.height=Math.round(a.target.height)+"px",document.querySelector(".vm--modal").style.minHeight=Math.round(a.target.height)+"px",document.querySelector(".vm--modal").style.top=Math.round(t-a.target.height)+"px"))}))}},methods:{addEmoji(t){this.s_content+=t.native,this.visibleEmoji=!1},sendMessage(){this.$emit("send-message")},handleChangeFile(t){"uploading"==t.file.status&&(this.s_loading=!0),"done"===t.file.status?this.$emit("send-file-message",t.file.response.data):"error"===t.file.status&&(this.s_loading=!1),console.log("uploading")},addDynamicParametrToContent(t){this.s_content+="{{"+t+"}}",this.visibleDynamicParametrs=!1},adjustTextareaHeight(){const t=document.querySelector("#chat-input-message");t.style.height="auto",t.style.height=`${t.scrollHeight}px`},handleEnterKey(t){this.isMobileDevice()?(this.s_content+="\n",this.adjustTextareaHeight()):(t.preventDefault(),this.sendMessage())},isMobileDevice(){const t=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i;return t.test(navigator.userAgent)}}},Z=V,U=(0,u.Z)(Z,W,Q,!1,null,null,null),J=U.exports,X=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",["novotelschiphol"==t.$root.hotelCode?a("div",{staticClass:"m-5 md:grid md:grid-cols-2 gap-2 flex flex-col items-start"},[t._m(0),t._m(1),a("div",{staticClass:"pt-2 font-medium text-gray-800"},[t._v("Fill in the details below to start chatting:")])]):t._e(),t.loading?t._e():a("div",[a("div",{staticClass:"m-5 p-4 bg-gray-100 rounded-xl"},["marriottpolyana"==t.$root.hotelCode?a("div",[a("div",{staticClass:"mb-6"},[a("label",{staticClass:"block mb-2 text-sm font-medium text-gray-900",attrs:{for:"name"},domProps:{textContent:t._s(t.$root.getLangText({ru:"Фамилия",en:"Last name"}))}}),a("input",{directives:[{name:"model",rawName:"v-model",value:t.fname,expression:"fname"}],ref:"fname",staticClass:"bg-white border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5",attrs:{type:"text",id:"fname",placeholder:"",required:""},domProps:{value:t.fname},on:{input:function(e){e.target.composing||(t.fname=e.target.value)}}})]),a("div",{staticClass:"mb-6"},[a("label",{staticClass:"block mb-2 text-sm font-medium text-gray-900",attrs:{for:"name"},domProps:{textContent:t._s(t.$root.getLangText({ru:"Имя",en:"First name"}))}}),a("input",{directives:[{name:"model",rawName:"v-model",value:t.lname,expression:"lname"}],ref:"lname",staticClass:"bg-white border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5",attrs:{type:"text",id:"lname",placeholder:"",required:""},domProps:{value:t.lname},on:{input:function(e){e.target.composing||(t.lname=e.target.value)}}})]),a("div",{staticClass:"mb-6"},[a("label",{staticClass:"block mb-2 text-sm font-medium text-gray-900",attrs:{for:"phone"},domProps:{textContent:t._s(t.$root.getLangText({ru:"Номер телефона",en:"Phone number"}))}}),a("div",{staticClass:"flex items-center bg-white border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5"},[a("span",{staticClass:"pr-2"},[t._v("+")]),a("input",{directives:[{name:"model",rawName:"v-model",value:t.phone,expression:"phone"}],ref:"phone",staticClass:"w-full",attrs:{type:"text",id:"phone",placeholder:"",required:""},domProps:{value:t.phone},on:{input:function(e){e.target.composing||(t.phone=e.target.value)}}})])])]):a("div",{staticClass:"mb-6"},[a("label",{staticClass:"block mb-2 text-sm font-medium text-gray-900",attrs:{for:"name"},domProps:{textContent:t._s(t.$root.getKeyWord("name"))}}),a("input",{directives:[{name:"model",rawName:"v-model",value:t.name,expression:"name"}],ref:"name",staticClass:"bg-white border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5",attrs:{type:"text",id:"name",placeholder:"",required:""},domProps:{value:t.name},on:{input:function(e){e.target.composing||(t.name=e.target.value)}}})]),a("div",{staticClass:"flex justify-between items-center mb-4"},[a("label",{staticClass:"relative inline-flex items-center cursor-pointer"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.is_hotel_guest,expression:"is_hotel_guest"}],staticClass:"sr-only peer",attrs:{type:"checkbox",value:"",checked:""},domProps:{checked:Array.isArray(t.is_hotel_guest)?t._i(t.is_hotel_guest,"")>-1:t.is_hotel_guest},on:{change:function(e){var a=t.is_hotel_guest,o=e.target,r=!!o.checked;if(Array.isArray(a)){var s="",i=t._i(a,s);o.checked?i<0&&(t.is_hotel_guest=a.concat([s])):i>-1&&(t.is_hotel_guest=a.slice(0,i).concat(a.slice(i+1)))}else t.is_hotel_guest=r}}}),a("div",{staticClass:"w-11 h-6 bg-gray-200 rounded-full peer peer-focus:ring-4 peer-focus:ring-blue-300 peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-0.5 after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-5 after:w-5 after:transition-all  peer-checked:bg-blue-600"}),a("span",{staticClass:"ml-3 font-medium text-gray-900 peer-checked:block hidden",domProps:{textContent:t._s(t.$root.getKeyWord("i_am_hotel_guest"))}}),a("span",{staticClass:"ml-3 font-medium text-gray-900 peer-checked:hidden block",domProps:{textContent:t._s(t.$root.getKeyWord("not_a_hotel_guest"))}})])]),t.is_hotel_guest?a("div",{staticClass:"mb-6",class:[t.errors&&t.errors.get("room_number")?"text-red-500":""]},[a("label",{staticClass:"block mb-2 text-sm font-medium",attrs:{for:"room_number"}},["loftelspb"==t.$root.hotelCode?a("span",{domProps:{textContent:t._s(t.$root.getLangText({ru:"Название комнаты",en:"Room name"}))}}):a("span",{domProps:{textContent:t._s(t.$root.getKeyWord("room_number"))}})]),a("input",{directives:[{name:"model",rawName:"v-model",value:t.room_number,expression:"room_number"}],ref:"room_number",staticClass:"bg-white border text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5",class:[t.errors&&t.errors.get("room_number")?"border-red-500":"border-gray-300"],attrs:{type:"text",id:"room_number",placeholder:"",required:""},domProps:{value:t.room_number},on:{input:function(e){e.target.composing||(t.room_number=e.target.value)}}})]):t._e(),a("div",{staticClass:"flex justify-center"},[a("button",{staticClass:"shake-btn block w-full h-full px-4 py-2 rounded-lg focus:outline-none bg-black text-white text-sm",domProps:{textContent:t._s(t.$root.getKeyWord("start_chat"))},on:{click:function(e){return t.start()}}})])])]),a("div",{staticClass:"wrapper w-full text-xs flex justify-center mb-10 pt-4"},[a("div",[t._v(t._s(t.getCoName())+" ©"+t._s((new Date).getFullYear()))])])])},tt=[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"font-medium text-gray-800"},[t._v("Chat with the Manager on Duty.")]),a("div",{staticClass:"text-gray-500"},[t._v("Like to talk? Call me on "),a("span",{staticClass:"text-blue-600"},[t._v("380")]),t._v(".")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"font-medium text-gray-800"},[t._v("Want to talk to:")]),a("div",{staticClass:"text-left leading-tight"},[a("div",{staticClass:"text-gray-500"},[t._v("The Reception, call "),a("span",{staticClass:"text-blue-600"},[t._v("99")]),t._v(".")]),a("div",{staticClass:"text-gray-500"},[t._v("The Room Service call "),a("span",{staticClass:"text-blue-600"},[t._v("366")]),t._v(".")])])])}],et=a(9669),at=a.n(et);class ot{constructor(){this.errors={}}get(t){if(this.errors[t])return this.errors[t][0]}searchByKey(t){return Object.keys(this.errors).filter((e=>e.indexOf(t)>-1)).length>0}record(t){this.errors=t}}var rt={data(){return{name:"",fname:"",lname:"",phone:null,room_number:void 0!=localStorage.getItem("fs_room_number")?localStorage.getItem("fs_room_number"):"",is_hotel_guest:!0,loading:!1,person_uuid:void 0!=localStorage.getItem("person-uuid")?localStorage.getItem("person-uuid"):null,errors:new ot}},mounted(){this.person_uuid&&this.fetchPerson()},methods:{async fetchPerson(){this.loading=!0;var t="https://admin.2roomz.com/api/v1/public/hotels/"+this.$root.hotel.uuid+"/guests/"+this.person_uuid,e=await at().get(t);this.loading=!1;var a=e.data.data;a&&(this.name=a.name?a.name:"",this.room_number=a.reservations&&Object.values(a.reservations).length>0?a.reservations[0].room_number:"")},async start(){if("marriottpolyana"==this.$root.hotelCode){if(0==this.fname.replace(" ","").length)return void this.$nextTick((()=>{this.$refs.fname.focus()}));if(0==this.lname.replace(" ","").length)return void this.$nextTick((()=>{this.$refs.lname.focus()}));this.name=this.fname+" "+this.lname}if(""!=this.name)if(""==this.room_number&&this.is_hotel_guest)this.$nextTick((()=>{this.$refs.room_number.focus()}));else{var t="https://admin.2roomz.com/api/v1/public/chat/start";try{var e=await this.$http.post(t,{name:this.name,room_number:this.room_number,hotel_uuid:this.$root.hotel.uuid,lang:this.$root.currentLanguage,person_uuid:this.person_uuid,is_hotel_guest:this.is_hotel_guest,phone:this.phone})}catch(o){return this.loading=!1,this.errors.record(o.response.data.data),!1}var a=e.data.data;this.chat_uuid=a.uuid,this.person_uuid=a.initiator.uuid,localStorage.setItem("chat-uuid",a.uuid),localStorage.setItem("person-uuid",a.initiator.uuid),localStorage.setItem("fs_room_number",this.room_number),this.$emit("startChat",a.uuid,a.initiator.uuid)}else this.$nextTick((()=>{this.$refs.name.focus()}))}}},st=rt,it=(0,u.Z)(st,X,tt,!1,null,null,null),nt=it.exports,ct=a(47850),lt={components:{inputMessage:J,Hooper:ct.dB,Slide:ct.Mi,HooperPagination:ct.tl,selectLanguage:l.Z,chatRegistration:nt},data(){return{chat_uuid:void 0!=localStorage.getItem("chat-uuid")?localStorage.getItem("chat-uuid"):"",person_uuid:void 0!=localStorage.getItem("person-uuid")?localStorage.getItem("person-uuid"):"",is_hotel_guest:!0,messages:null,chat:null,content:"",is_typing:!1,loading_send_message:!1,visible:!1,handelDrawer:null,name:"",room_number:""}},computed:{displaySelectLanguage(){return window.location.pathname.indexOf("chat")>-1}},created(){Ka.$on("run-chat",(t=>{this.fetchChat()})),Ka.$on("open-chat",(t=>{this.$modal.show("modal-chat"),this.fetch(),this.markAsRead()})),Ka.$on("change-language",(t=>{this.restart()}))},destroyed(){window.removeEventListener("resize",this.resizeChatContainers)},mounted(){this.subscribeWebsocket()},methods:{opened(){document.querySelector("#chat-messages")&&(document.querySelector("#chat-messages").style.height=Math.round(document.documentElement.clientHeight-200)+"px"),document.querySelector("#chat-wrapper")&&(document.querySelector("#chat-wrapper").style.width=Math.round(document.documentElement.width-150)+"px"),this.$root.freezeActivePageScroll(!0),document.querySelector("html").classList.add("fixed"),document.querySelector("body").classList.add("fixed"),window.addEventListener("resize",this.resizeChatContainers),Ka.$emit("badges-bottom-navigation",{action:"chat",count:0})},closed(){this.$root.freezeActivePageScroll(!1),document.querySelector("html").classList.remove("fixed"),document.querySelector("body").classList.remove("fixed"),window.removeEventListener("resize",this.resizeChatContainers)},async fetch(){await this.fetchChat(),await this.fetchMessages()},async fetchChat(){if(""!==this.chat_uuid){var t="https://admin.2roomz.com/api/v1/public/chat/"+this.chat_uuid;try{let a=await this.$http.get(t,{params:{person_uuid:this.person_uuid}});var e=a.data.data;this.chat=e}catch(a){localStorage.setItem("chat-uuid",""),localStorage.setItem("person-uuid",""),this.chat_uuid="",this.person_uuid=""}}},async fetchMessages(){if(""===this.chat_uuid)return;var t=void 0!==localStorage.getItem("chat-last-message-id")?localStorage.getItem("chat-last-message-id"):null,e="https://admin.2roomz.com/api/v1/public/chat/"+this.chat_uuid+"/messages?last-message-id="+t;let a=await this.$http.get(e);var o=a.data.data;this.messages=o,setTimeout((()=>{document.getElementById("bottom-chat").scrollIntoView({behavior:"smooth",block:"center"})}),300)},async fetchSingle(t){var e="https://admin.2roomz.com/api/v1/public/chat/"+this.chat_uuid+"/messages/"+t;let a=await this.$http.get(e);var o=a.data.data,r=!1;null!==this.messages&&this.messages.length>0?0==this.messages.filter((t=>t.id==o.id)).length&&(r=!0):r=!0,this.is_typing=!1,r&&(this.messages.push(o),setTimeout((()=>{document.getElementById("bottom-chat").scrollIntoView({behavior:"smooth",block:"nearest",inline:"start"})}),300))},async startChat(t,e){this.chat_uuid=t,this.person_uuid=e,this.subscribeWebsocket(),this.$nextTick((()=>{this.fetch()}))},closeChat(){this.$modal.show("dialog",{text:this.$root.getLangText({ru:"Закрыть чат?",en:"Leave chat?"}),buttons:[{title:this.$root.getKeyWord("no"),handler:()=>{this.$modal.hide("dialog")}},{title:this.$root.getKeyWord("yes"),handler:()=>{this.chat_uuid=null,this.messages&&this.messages.length>0&&localStorage.setItem("chat-last-message-id",this.messages[this.messages.length-1].id),localStorage.removeItem("chat-uuid"),this.$modal.hide("dialog")}}]})},async restart(){if(this.chat){var t="https://admin.2roomz.com/api/v1/public/chat/"+this.chat.uuid+"/restart";await this.$http.post(t,{lang:this.$root.currentLanguage})}},async sendMessage(){if(0==this.content.length)return!1;this.loading_send_message=!0;var t="https://admin.2roomz.com/api/v1/public/chat/"+this.chat.uuid+"/messages";let e=await this.$http.post(t,{content:this.content,person_uuid:this.person_uuid,lang:this.$root.currentLanguage});var a=e.data.data;this.messages.push(a),this.content="",this.loading_send_message=!1,setTimeout((()=>{document.getElementById("bottom-chat").scrollIntoView({behavior:"smooth",block:"center"})}),200)},async sendCommandMessage(t,e){this.loading_send_message=!0;var a="https://admin.2roomz.com/api/v1/public/chat/"+this.chat.uuid+"/messages";let o=await this.$http.post(a,{content:t,command:e,person_uuid:this.person_uuid,lang:this.$root.currentLanguage});var r=o.data.data;this.messages.push(r),this.content="",this.loading_send_message=!1,setTimeout((()=>{document.getElementById("bottom-chat").scrollIntoView({behavior:"smooth",block:"center"})}),200)},async sendFileMessage(t){this.loading_send_message=!0;var e="https://admin.2roomz.com/api/v1/public/chat/"+this.chat.uuid+"/messages";let a=await this.$http.post(e,{content:"*file*",extra:{file:t},person_uuid:this.person_uuid});var o=a.data.data;this.messages.push(o),this.content="",this.loading_send_message=!1,console.log("finish upload file"),console.log(this.loading),setTimeout((()=>{document.getElementById("bottom-chat").scrollIntoView({behavior:"smooth",block:"center"})}),200)},close(){this.visible=!1},displayMessage(t){return t=t.replace(/\n/g,"<br />"),this.replaceURLWithHTMLLinks(t)},replaceURLWithHTMLLinks(t){var e=/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/gi,a=t.replace(e,"<a class='text-blue-500' href='$1'>$1</a>");return a},subscribeWebsocket(){if(null==this.person_uuid||""==this.person_uuid)return;var t="3ee3a2869d4a1b1b523e",e="eu";let a=new Pusher(t,{cluster:e});a.subscribe("user-websocket-event."+this.person_uuid).bind("userWebsocketEvent",(t=>{if("start-companion-typing"==t.code)return this.is_typing=!0,void setTimeout((()=>{document.getElementById("bottom-chat").scrollIntoView({behavior:"smooth",block:"center"})}),200);if("end-companion-typing"==t.code)return this.is_typing=!1,void setTimeout((()=>{document.getElementById("bottom-chat").scrollIntoView({behavior:"smooth",block:"center"})}),200);if("chat-message-created"==t.code)try{this.fetchSingle(t.data.chat_message_id),Ka.$emit("badges-bottom-navigation",{action:"chat",count:1})}catch(e){console.error(e)}}))},async markAsRead(){if(null!=this.chat){var t="https://admin.2roomz.com/api/v1/public/chat/"+this.chat.uuid+"/mark-as-read";await this.$http.post(t,{person_uuid:this.person_uuid});Ka.$emit("badges-bottom-navigation",{action:"chat",count:0})}},resizeChatContainers(){document.querySelector("#chat-messages")&&(document.querySelector("#chat-messages").style.height=Math.round(document.documentElement.clientHeight-200)+"px"),document.querySelector("#chat-wrapper")&&(document.querySelector("#chat-wrapper").style.width=Math.round(document.documentElement.width-150)+"px")},clickFlowButton(t){t.msg_id&&t.msg_id.length>0&&this.sendCommandMessage(t.title,t.msg_id),t.link.length>-1&&window.open(t.link,"_blank")}}},_t=lt,dt=(0,u.Z)(_t,G,F,!1,null,null,null),ut=dt.exports,mt=a(9538),pt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("transition",{attrs:{name:"modal"}},[t.product&&t.visible?a("div",{staticClass:"wrapper_popup h-full",attrs:{id:"modal_add_to_cart"}},[a("div",{staticClass:"header_popup flex justify-between items-center h-12",class:{error:t.errors.get("products_is_not_available")}},[a("div",{staticClass:"pl-4"},[a("div",[t._v(t._s(t.$root.getLangText(t.product.title)))]),t.errors.get("products_is_not_available")?a("div",{staticClass:"text-red-500 pb-2 text-xs"},[t._v(t._s(t.$root.getKeyWord("products_not_available")))]):t._e()]),a("a",{staticClass:"close_popup",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.product=null,t.visible=!1}}},[a("svg",{attrs:{width:"48",height:"48",viewBox:"0 0 34 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{d:"M21.2427 12.7574L12.7574 21.2426M12.7574 12.7574L21.2427 21.2426L12.7574 12.7574Z",stroke:"#333333","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}})])])]),a("div",{staticClass:"content_popup px-4 pb-4"},[a("div",{staticClass:"my-5"},[t.product.descr?a("div",{staticClass:"text-gray-600 section-description",domProps:{innerHTML:t._s("<br>"==t.$root.getLangText(t.product.descr)?"":t.$root.getLangText(t.product.descr))}}):t._e(),a("div",{staticClass:"flex items-center justify-between"},[a("div",{staticClass:"w-1/2"},[t.product.show_quantity&&t.product.is_popup?a("div",{staticClass:"spinner"},[a("v-input-quantity",{attrs:{value:t.quantity,min:1,max:null==t.product.max_order_quantity?99:parseInt(t.product.max_order_quantity)},on:{"update:value":function(e){t.quantity=e}}})],1):t._e()]),parseFloat(t.price)>0?a("div",{staticClass:"w-1/2 flex justify-end"},[a("div",{staticClass:"price_product",domProps:{innerHTML:t._s(t.$root.showPrice(t.price,t.is_price_from))}})]):t._e()])]),a("app-properties-new",{ref:"property_product",attrs:{property:t.product.property,"product-uuid":t.product.uuid,"max-booking-slot":t.product.max_booking_slot,quantity:t.quantity,schedule:t.product.schedule,errors:t.errors},on:{"update:property":function(e){return t.$set(t.product,"property",e)}}}),a("div",{staticClass:"form_cart mt-4"},[t.$root.hotel.is_payment_property&&t.price>0&&t.displayHotelPayments&&t.cart.hotel_payments&&t.cart.hotel_payments.length>0?a("div",{staticClass:"wrapper_select mb-4 form_group",class:[t.errors&&t.errors.get("payment")?"dirty valid":""]},[a("div",{staticClass:"flex pb-2"},[a("div",{staticClass:"header_option",class:[t.errors&&t.errors.get("payment")?"valid":""],domProps:{textContent:t._s(t.$root.getKeyWord("pay_method"))}}),a("span",{staticClass:"text-xs text-red-500 -mt-1 px-1"},[t._v(" *")])]),a("select",{directives:[{name:"model",rawName:"v-model",value:t.cart.payment,expression:"cart.payment"}],staticClass:"default_select appearance-none",on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(t.cart,"payment",e.target.multiple?a:a[0])}}},t._l(t.cart.hotel_payments,(function(e){return a("option",{key:e.id,domProps:{value:e.id}},[t._v(t._s(t.$root.getLangText(e.title)))])})),0)]):t._e(),t.displayRoomNumber?a("div",{staticClass:"mb-5 mb-4 form_group",class:[t.errors&&t.errors.get("room_number")?"dirty valid":""]},[a("div",{staticClass:"flex pb-2"},[a("div",{staticClass:"header_option",domProps:{textContent:t._s(t.roomNumberInputTitle())}}),a("span",{staticClass:"text-xs text-red-500 -mt-1 px-1"},[t._v(" *")])]),a("div",{staticClass:"option"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.cart.room_number,expression:"cart.room_number"}],staticClass:"h-4",attrs:{type:"text",title:"property_room_number"},domProps:{value:t.cart.room_number},on:{input:function(e){e.target.composing||t.$set(t.cart,"room_number",e.target.value)}}})])]):t._e(),a("div",[a("app-properties-new",{ref:"property_hotel",attrs:{property:t.cart.property,errors:t.errors},on:{"update:property":function(e){return t.$set(t.cart,"property",e)}}})],1),t.$root.hotel.is_comment_property?a("div",{staticClass:"form_group mt-5"},[a("div",{staticClass:"header_option pb-2",domProps:{textContent:t._s(t.$root.getKeyWord("comments"))}}),a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.cart.comment,expression:"cart.comment"}],attrs:{id:"message"},domProps:{value:t.cart.comment},on:{input:function(e){e.target.composing||t.$set(t.cart,"comment",e.target.value)}}})]):t._e(),t.$root.hotel.is_agreement_text&&!t.$root.showConfirmationCheckBox()?a("div",[a("span",{staticClass:"text-xs text-gray-600 font-light",domProps:{textContent:t._s(t.$root.getKeyWord("use_session"))}}),a("span",{staticClass:"text-xs underline text-gray-600 font-light ml-1 cursor-pointer",domProps:{textContent:t._s(t.$root.getKeyWord("public_offer"))},on:{click:function(e){t.$modal.show("modal-agreement"),t.$root.getPublicInformation("full_agreement")}}})]):t._e(),t.section.files&&t.section.files.length>0?a("div",t._l(t.section.files,(function(e){return a("div",{key:e,staticClass:"text-xs flex justify-end items-center"},[t.$root.getImage(t.$root.getLangText(e.files)).length>0?a("a",{staticClass:"border  px-4 py-2 my-2 text-blue font-light  text-black text-center rounded-full focus:outline-none flex items-center justify-center hover:bg-gray-300",attrs:{href:t.$root.getImage(t.$root.getLangText(e.files)),target:"_blank"}},[a("svg",{staticClass:"mr-3",attrs:{xmlns:"http://www.w3.org/2000/svg","enable-background":"new 0 0 24 24",height:"20px",viewBox:"0 0 24 24",width:"20px",fill:"#333"}},[a("g",[a("rect",{attrs:{fill:"none",height:"24",width:"24"}})]),a("g",[a("path",{attrs:{d:"M18,15v3H6v-3H4v3c0,1.1,0.9,2,2,2h12c1.1,0,2-0.9,2-2v-3H18z M17,11l-1.41-1.41L13,12.17V4h-2v8.17L8.41,9.59L7,11l5,5 L17,11z"}})])]),t._v(" "+t._s(0===e.title.length?t.$root.getKeyWord("download"):t.$root.getLangText(e.title))+" ")]):t._e()])})),0):t._e(),t.$root.showConfirmationCheckBox()?a("app-uk-privacy-policy",{attrs:{"check-agreement":t.checked_agreement,"check-box-error":t.check_box_error},on:{"update:checkAgreement":function(e){t.checked_agreement=e},"update:check-agreement":function(e){t.checked_agreement=e},"update:checkBoxError":function(e){t.check_box_error=e},"update:check-box-error":function(e){t.check_box_error=e}}}):t._e(),t.loading?a("loading",{attrs:{width:"w-14",height:"h-14"}}):a("button",{staticClass:"default_green_btn mt-4",domProps:{textContent:t._s(t.buttonOrderText)},on:{click:t.createOrder}})],1)],1)]):t._e()])},gt=[];class ht{constructor(){this.errors={}}get(t){if(this.errors[t])return this.errors[t][0]}searchByKey(t){return Object.keys(this.errors).filter((e=>e.indexOf(t)>-1)).length>0}record(t){this.errors=t}}var vt={name:"article-product-fast-cart",mixins:[D],components:{AppPropertiesNew:S.Z,AppUkPrivacyPolicy:E,Loading:z.Z},props:["productId"],data(){return{quantity:1,checked_agreement:!this.$root.showConfirmationCheckBox(),price:0,status_payment:"NONE",intervalCheckPayment:null,visible:!1,product:null,section:null,parent_section:null,cart:null,loading:!1,is_price_from:!1,errors:new ht,check_box_error:!1}},created(){Ka.$on("product-fast-cart",(t=>{this.$root.cleanCart(),this.product=JSON.parse(t.product),this.section=t.section,this.parent_section=t.parent_section,this.price=parseFloat(t.product.price),this.visible=!0,this.loading=!1,this.errors=new ht,this.is_price_from=this.product.is_price_from;let e=[this.product.id];var a=null,o={hotel_uuid:this.$root.hotel.uuid,filter:{product_ids:e}};let r="https://admin.2roomz.com/api/v1/public/properties";this.$http.get(r,{params:o}).then((t=>{this.cart.property=t.data.data})),this.cart=void 0!==localStorage["cart"]?JSON.parse(localStorage["cart"]):{room_number:this.getDefaultRoomNumber(),payment:null,comment:"",hotel_id:this.$root.hotel.id,property:a,uuid:"",is_temporary:!1,products:[]},this.cart.property=a,this.cart.payment=null,this.cart.comment="",this.cart.hotel_payments=null,this.cart.is_temporary=!1,r="https://admin.2roomz.com/api/v1/public/cart/payments",o={hotel_uuid:this.$root.hotel.uuid,product_ids:e},this.$http.get(r,{params:o}).then((t=>{this.cart.hotel_payments=t.data.data})),this.$nextTick((()=>{Ka.$emit("update-slot-calendar")}))}))},watch:{quantity(t){void 0!=t&&this.setTotalPrice()},product:{handler:function(t){this.setTotalPrice()},deep:!0},visible(t){this.$root.freezeActivePageScroll(t)}},computed:{displayRoomNumber(){var t=[];return t.push({parent_section:this.parent_section,section:this.section}),this.$root.hotel.is_room_number_property&&this.$root.hotel.limit_room.length>0&&this.isAnyProductGotRoomNumberOption(t)},buttonOrderText(){let t=this.$root.getLangText(this.product.button_order_text);return t||this.$root.getKeyWord("send_to_cart")},displayHotelPayments(){return!0},selectedPayment(){try{var t=this.$root.cart.hotel_payments.filter((t=>t.id==this.cart.payment));return t.length>0?t[0]:null}catch(e){return console.error(e),null}}},methods:{createOrder(){this.$root.showConfirmationCheckBox()&&this.$root.hotel.is_security_hard&&!this.checked_agreement?this.check_box_error=!0:this.sendOrder()},sendOrder(){this.loading=!0,this.cart.uuid=this.$root.generate_and_set_uuid(),this.cart.products=[{product:this.product,quantity:this.quantity,total_price:this.price,from_recommendation:this.from_recommendation,section:this.section,parent_section:this.parent_section}],this.cart.hotel_id=this.$root.hotel.id;let t=this.$root.buildCart(this.cart);t.language=this.$root.currentLanguage,this.$http.post("https://admin.2roomz.com/api/v1/orders",t).then((({data:t})=>{void 0!==t.data.order&&t.data.order.uuid&&this.$root.store_order_uuid(t.data.order.uuid);var e=null;return this.selectedPayment&&"online"===this.selectedPayment.ptype_id&&void 0!==t.data.pay_data&&void 0!==t.data.pay_data.response?(null!==t.data.pay_data.response.formUrl&&(e=t.data.pay_data.response.formUrl),this.successOrderPopup(e),t):(this.successOrderPopup(),this.loading=!1,t)})).catch((t=>{this.loading=!1,console.error(t),this.errors.record(t.response.data.data)}))},successOrderPopup(t=null){this.visible=!1;this.cart.products[0].section;Ka.$emit("order-success-splash",{section:this.cart.products[0].section,parent_section:this.cart.products[0].parent_section,total_price:this.product.price,payment_url:t}),this.$root.cleanCart()},getDefaultRoomNumber(){return"palmira-bc"==this.$root.hotelCode?"":void 0!=localStorage.getItem("fs_room_number")?localStorage.getItem("fs_room_number"):""},setTotalPrice(){if(void 0===this.product||null===this.product)return;let t=parseFloat(this.product.price),e=0;this.is_price_from=this.product.is_price_from,this.product.property_kit_id>0&&void 0!==this.product.property.id&&this.product.property.properties.filter((t=>""!==t.value&&null!==t.value&&"none"!==t.price_type_id)).map((a=>{if("replace"===a.price_type_id&&(t=0),"plus"===a.price_type_id||"replace"===a.price_type_id)if("select"==a.ptype_id)e+=a.attrs.filter((t=>parseInt(a.value)===t.id&&null!==t.price)).reduce((function(t,e){return t+parseFloat(e.price)*e.quantity}),0);else if("checkbox"==a.ptype_id){var o=a.attrs.filter((t=>t.checked&&null!==t.price)).reduce((function(t,e){return console.log(e),t+parseFloat(e.price)*e.quantity}),0);o=0===o&&a.price>0?a.price:o,e+=o}else a.price>0&&(e+=a.price)})),console.log(e),this.price=this.quantity*(t+parseFloat(e)),this.price!==t&&(this.is_price_from=!1)}}},ft=vt,xt=(0,u.Z)(ft,pt,gt,!1,null,null,null),yt=xt.exports,bt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.visible?a("transition",{attrs:{name:"modal"}},[a("div",{staticClass:"wrapper_popup",attrs:{id:"order_confirmation"}},[a("div",{staticClass:"order_confirmation pb-4"},[a("div",{staticClass:"header_bg"}),a("div",{staticClass:"img_order_confirmation"},[a("img",{staticClass:"w-48",attrs:{src:t.$root.logo}})]),a("div",{staticClass:"text_order_confirmation text-center"},[a("div",{domProps:{innerHTML:t._s(t.text_accepted)}})]),a("div",{staticClass:"container px-4 mt-16"},[t.payment_url?a("div",{staticClass:"mb-4 relative",on:{click:t.sendToPay}},[a("button",{staticClass:"border border-color-hotel border-2 px-4 h-[44px] rounded-lg w-full flex justify-center gap-2 text-lg items-center base-color"},[a("svg",{staticClass:"animate-bounce w-6 h-6 fill-current base-color ",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}},[a("title",[t._v("Arrow Forward")]),a("path",{attrs:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M268 112l144 144-144 144M392 256H100"}})]),t._v(" "+t._s(t.$root.getKeyWord("order_online_pay"))+" "),a("span",{domProps:{innerHTML:t._s(t.$root.showPrice(t.total_price))}})])]):t._e(),t.displayViewOrdersButton?a("button",{staticClass:"default_green_btn",domProps:{textContent:t._s(t.$root.getKeyWord("view_order"))},on:{click:t.openMyOrders}}):t._e(),!0!==t.parent_section.is_hidden?a("div",{staticClass:"text-center my-4"},[a("a",{staticClass:"text-gray-600 underline text-center uppercase ",attrs:{href:"#"},domProps:{textContent:t._s(t.$root.getKeyWord("home"))},on:{click:t.close}})]):t._e()])])])]):t._e()},kt=[],wt={name:"order_success_splash",data(){return{visible:!1,client_name:"",section:null,parent_section:null,payment_url:null,total_price:0,text_accepted:""}},created(){Ka.$on("order-success-splash",(t=>{this.section=t.section,this.parent_section=t.parent_section,this.client_name=t.client_name,this.payment_url=t.payment_url,this.total_price=t.total_price,this.visible=!0,this.setTextAcceptedOrder()}))},computed:{displayViewOrdersButton(){return null==this.section||!this.section.hide_view_orders_button}},methods:{close(){this.visible=!1,window.location.href="/"},sendToPay(){window.open(this.payment_url,"_blank").focus(),this.visible=!1,Ka.$emit("toggle-my-orders")},openMyOrders(){this.visible=!1,Ka.$emit("toggle-my-orders")},setTextAcceptedOrder(){let t="";var e=this.getTextAcceptedOrder(this.section.text_accepted_order),a=this.getTextAcceptedOrder(this.parent_section.text_accepted_order),o=this.getTextAcceptedOrder(this.$root.hotel.text_accepted_order);if(t=e||(a||(o||this.$root.getKeyWord("accept_order"))),this.text_accepted=t,t){var r=void 0!=localStorage.getItem("fs_name")?localStorage.getItem("fs_name"):"";this.text_accepted=t.replace("#name#",r)}},getTextAcceptedOrder(t){return console.log(t),""!=t&&Object.keys(t).length>0&&Object.values(t).filter((t=>null!==t&&""!==t)).length>0?this.$root.getLangText(t):""}}},Ct=wt,At=(0,u.Z)(Ct,bt,kt,!1,null,null,null),$t=At.exports,Lt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.fetchedHotel&&!t.loading?a("div",[t.hotelBottomNavigationMenu?a("app-hotel-bottom-navigation",{attrs:{"navigation-menu":t.hotelBottomNavigationMenu}}):a("app-bottom-navigation")],1):t._e()},St=[],Mt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"fixed w-full flex justify-center z-50 transition duration-700 bottom-0",attrs:{id:"bottom-navigation"}},[a("div",{staticClass:"shadow bg-white  rounded-t-lg w-full sm:w-[600px]",staticStyle:{"box-shadow":"0 -4px 8px 0 rgb(0 0 0 / 7%)"}},[a("app-bottom-services",{ref:"bottomServices"}),a("article-notification-orders"),a("app-bottom-cart"),a("app-bottom-online-checkin"),"locations-occupancy"!==t.$route.name?a("app-bottom-privacy-cookie"):t._e(),a("div",{staticClass:"relative p-3 safe-padding-b-3"},[t.$root.cart&&t.$root.cart.products.length&&"home"!=t.$route.name&&""!=t.$route.name?a("app-cart-button",{on:{click:t.openCart}}):a("div",{staticClass:"flex px-3 md:px-6",class:["ibisedinburghcentresouth"!==t.$root.hotelCode&&"ibisbudgetamsterdamairport"!==t.$root.hotelCode?"justify-between":"justify-around"]},[t.displayHomeButton?a("router-link",{staticClass:"flex items-center flex-col text-center text-black min-w-[55px]",class:["home"!=t.$route.name&&""!=t.$route.name||t.visibleBottomServices||t.visibleBottomMyOrders?"opacity-50":""],attrs:{id:"bottomHomeBackButton",to:"/home"}},[a("svg",{staticClass:"w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"#000000"}},[a("path",{attrs:{d:"M11.47 3.84a.75.75 0 011.06 0l8.69 8.69a.75.75 0 101.06-1.06l-8.689-8.69a2.25 2.25 0 00-3.182 0l-8.69 8.69a.75.75 0 001.061 1.06l8.69-8.69z"}}),a("path",{attrs:{d:"M12 5.432l8.159 8.159c.03.03.06.058.091.086v6.198c0 1.035-.84 1.875-1.875 1.875H15a.75.75 0 01-.75-.75v-4.5a.75.75 0 00-.75-.75h-3a.75.75 0 00-.75.75V21a.75.75 0 01-.75.75H5.625a1.875 1.875 0 01-1.875-1.875v-6.198a2.29 2.29 0 00.091-.086L12 5.43z"}})]),a("div",{staticClass:"text-[10px] text-black"},[t._v(t._s(t.$root.getKeyWord("home")))])]):t._e(),"arkhyzroomservice"===t.$root.hotelCode?a("a",{staticClass:"flex items-center flex-col text-center base-color min-w-[55px]",attrs:{href:"https://arkhyz.2roomz.com/"}},[a("svg",{staticClass:"w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"#000000"}},[a("path",{attrs:{d:"M11.47 3.84a.75.75 0 011.06 0l8.69 8.69a.75.75 0 101.06-1.06l-8.689-8.69a2.25 2.25 0 00-3.182 0l-8.69 8.69a.75.75 0 001.061 1.06l8.69-8.69z"}}),a("path",{attrs:{d:"M12 5.432l8.159 8.159c.03.03.06.058.091.086v6.198c0 1.035-.84 1.875-1.875 1.875H15a.75.75 0 01-.75-.75v-4.5a.75.75 0 00-.75-.75h-3a.75.75 0 00-.75.75V21a.75.75 0 01-.75.75H5.625a1.875 1.875 0 01-1.875-1.875v-6.198a2.29 2.29 0 00.091-.086L12 5.43z"}})]),a("div",{staticClass:"text-[10px] text-black"},[t._v(t._s(t.$root.getKeyWord("home")))])]):t._e(),"novotelamsterdambreakfast"===t.$root.hotelCode?a("a",{staticClass:"flex items-center flex-col text-center base-color min-w-[55px]",attrs:{href:"https://novotelschiphol.dgstay.com/"}},[a("svg",{staticClass:"w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"#000000"}},[a("path",{attrs:{d:"M11.47 3.84a.75.75 0 011.06 0l8.69 8.69a.75.75 0 101.06-1.06l-8.689-8.69a2.25 2.25 0 00-3.182 0l-8.69 8.69a.75.75 0 001.061 1.06l8.69-8.69z"}}),a("path",{attrs:{d:"M12 5.432l8.159 8.159c.03.03.06.058.091.086v6.198c0 1.035-.84 1.875-1.875 1.875H15a.75.75 0 01-.75-.75v-4.5a.75.75 0 00-.75-.75h-3a.75.75 0 00-.75.75V21a.75.75 0 01-.75.75H5.625a1.875 1.875 0 01-1.875-1.875v-6.198a2.29 2.29 0 00.091-.086L12 5.43z"}})]),a("div",{staticClass:"text-[10px] text-black"},[t._v(t._s(t.$root.getKeyWord("home")))])]):t._e(),"mirotelroomservise"===t.$root.hotelCode?a("a",{staticClass:"flex items-center flex-col text-center base-color min-w-[55px]",attrs:{href:"https://mirotel.2roomz.com/"}},[a("svg",{staticClass:"w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"#000000"}},[a("path",{attrs:{d:"M11.47 3.84a.75.75 0 011.06 0l8.69 8.69a.75.75 0 101.06-1.06l-8.689-8.69a2.25 2.25 0 00-3.182 0l-8.69 8.69a.75.75 0 001.061 1.06l8.69-8.69z"}}),a("path",{attrs:{d:"M12 5.432l8.159 8.159c.03.03.06.058.091.086v6.198c0 1.035-.84 1.875-1.875 1.875H15a.75.75 0 01-.75-.75v-4.5a.75.75 0 00-.75-.75h-3a.75.75 0 00-.75.75V21a.75.75 0 01-.75.75H5.625a1.875 1.875 0 01-1.875-1.875v-6.198a2.29 2.29 0 00.091-.086L12 5.43z"}})]),a("div",{staticClass:"text-[10px] text-black"},[t._v(t._s(t.$root.getKeyWord("home")))])]):t._e(),"marriottroomservice"===t.$root.hotelCode?a("a",{staticClass:"flex items-center flex-col text-center base-color min-w-[55px]",attrs:{href:"https://marriottpolyana.2roomz.com/"}},[a("svg",{staticClass:"w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"#000000"}},[a("path",{attrs:{d:"M11.47 3.84a.75.75 0 011.06 0l8.69 8.69a.75.75 0 101.06-1.06l-8.689-8.69a2.25 2.25 0 00-3.182 0l-8.69 8.69a.75.75 0 001.061 1.06l8.69-8.69z"}}),a("path",{attrs:{d:"M12 5.432l8.159 8.159c.03.03.06.058.091.086v6.198c0 1.035-.84 1.875-1.875 1.875H15a.75.75 0 01-.75-.75v-4.5a.75.75 0 00-.75-.75h-3a.75.75 0 00-.75.75V21a.75.75 0 01-.75.75H5.625a1.875 1.875 0 01-1.875-1.875v-6.198a2.29 2.29 0 00.091-.086L12 5.43z"}})]),a("div",{staticClass:"text-[10px] text-black"},[t._v(t._s(t.$root.getKeyWord("home")))])]):t._e(),"valorestaurants"===t.$root.hotelCode?a("a",{staticClass:"flex items-center flex-col text-center base-color min-w-[55px]",attrs:{href:"https://valo.2roomz.com/"}},[a("svg",{staticClass:"w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"#000000"}},[a("path",{attrs:{d:"M11.47 3.84a.75.75 0 011.06 0l8.69 8.69a.75.75 0 101.06-1.06l-8.689-8.69a2.25 2.25 0 00-3.182 0l-8.69 8.69a.75.75 0 001.061 1.06l8.69-8.69z"}}),a("path",{attrs:{d:"M12 5.432l8.159 8.159c.03.03.06.058.091.086v6.198c0 1.035-.84 1.875-1.875 1.875H15a.75.75 0 01-.75-.75v-4.5a.75.75 0 00-.75-.75h-3a.75.75 0 00-.75.75V21a.75.75 0 01-.75.75H5.625a1.875 1.875 0 01-1.875-1.875v-6.198a2.29 2.29 0 00.091-.086L12 5.43z"}})]),a("div",{staticClass:"text-[10px] text-black"},[t._v(t._s(t.$root.getKeyWord("home")))])]):t._e(),"radissoncollectionbrussels"===t.$root.hotelCode||"radissongdanskstaff"==t.$root.hotelCode||"radissongdansktest"===t.$root.hotelCode||"hotelstaff"==t.$root.hotelCode?a("router-link",{staticClass:"flex items-center flex-col text-center text-black min-w-[55px]",class:["ar"==t.$route.name?"":"opacity-50"],attrs:{to:"/ar"}},[a("svg",{staticClass:"w-6 h-6 text-black",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"}},[a("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21 7.5l-9-5.25L3 7.5m18 0l-9 5.25m9-5.25v9l-9 5.25M3 7.5l9 5.25M3 7.5v9l9 5.25m0-9v9"}})]),a("div",{staticClass:"text-[10px] text-black"},[t._v("Recognition")])]):t._e(),t.displayServicesButton?a("button",{staticClass:"flex items-center flex-col text-center text-black min-w-[55px]",class:[t.visibleBottomServices?"":"opacity-50"],attrs:{id:"bottomServices"},on:{click:t.openBottomServices}},["novotelbudapestcentrum"==t.$root.hotelCode?a("div",{staticClass:"flex items-center flex-col text-center"},[a("svg",{staticClass:"w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"#000000"}},[a("path",{attrs:{d:"M11.47 3.84a.75.75 0 011.06 0l8.69 8.69a.75.75 0 101.06-1.06l-8.689-8.69a2.25 2.25 0 00-3.182 0l-8.69 8.69a.75.75 0 001.061 1.06l8.69-8.69z"}}),a("path",{attrs:{d:"M12 5.432l8.159 8.159c.03.03.06.058.091.086v6.198c0 1.035-.84 1.875-1.875 1.875H15a.75.75 0 01-.75-.75v-4.5a.75.75 0 00-.75-.75h-3a.75.75 0 00-.75.75V21a.75.75 0 01-.75.75H5.625a1.875 1.875 0 01-1.875-1.875v-6.198a2.29 2.29 0 00.091-.086L12 5.43z"}})]),a("div",{staticClass:"text-[10px]"},[t._v("Menu")])]):a("div",{staticClass:"flex items-center flex-col text-center"},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 0 24 24",width:"24px",fill:"#000000"}},[a("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),a("path",{attrs:{d:"M16 6v8h3v8h2V2c-2.76 0-5 2.24-5 4zm-5 3H9V2H7v7H5V2H3v7c0 2.21 1.79 4 4 4v9h2v-9c2.21 0 4-1.79 4-4V2h-2v7z"}})]),a("div",{staticClass:"text-[10px]"},[t._v(t._s(t.$root.getKeyWord("services")))])])]):t._e(),"alliance-borodino"===t.$root.hotelCode?a("a",{staticClass:"flex items-center flex-col text-center opacity-50 hover:text-black active:text-black hover:opacity-100 min-w-[55px]",attrs:{href:"/products/178019"}},[a("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 0 24 24",width:"24px",fill:"#000000"}},[a("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),a("path",{attrs:{d:"M16 6v8h3v8h2V2c-2.76 0-5 2.24-5 4zm-5 3H9V2H7v7H5V2H3v7c0 2.21 1.79 4 4 4v9h2v-9c2.21 0 4-1.79 4-4V2h-2v7z"}})]),a("div",{staticClass:"text-[10px] text-black"},["ru"==t.$root.currentLanguage?a("div",[t._v(" Рестораны ")]):a("div",[t._v(" Restaurants ")])])]):t._e(),t.$root.hotel.is_active_chat?a("button",{staticClass:"flex items-center flex-col text-center text-black relative min-w-[55px] opacity-50",on:{click:function(e){return t.openChat()}}},[a("svg",{staticClass:"w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"}},[a("path",{attrs:{d:"M4.913 2.658c2.075-.27 4.19-.408 6.337-.408 2.147 0 4.262.139 6.337.408 1.922.25 3.291 1.861 3.405 3.727a4.403 4.403 0 00-1.032-.211 50.89 50.89 0 00-8.42 0c-2.358.196-4.04 2.19-4.04 4.434v4.286a4.47 4.47 0 002.433 3.984L7.28 21.53A.75.75 0 016 21v-4.03a48.527 48.527 0 01-1.087-.128C2.905 16.58 1.5 14.833 1.5 12.862V6.638c0-1.97 1.405-3.718 3.413-3.979z"}}),a("path",{attrs:{d:"M15.75 7.5c-1.376 0-2.739.057-4.086.169C10.124 7.797 9 9.103 9 10.609v4.285c0 1.507 1.128 2.814 2.67 2.94 1.243.102 2.5.157 3.768.165l2.782 2.781a.75.75 0 001.28-.53v-2.39l.33-.026c1.542-.125 2.67-1.433 2.67-2.94v-4.286c0-1.505-1.125-2.811-2.664-2.94A49.392 49.392 0 0015.75 7.5z"}})]),t.badges.chat>0?a("div",{staticClass:"inline-flex absolute -top-1 right-0 justify-center items-center w-4 h-4 text-[10px] font-bold text-white bg-red-500 rounded-full border-2 border-white"}):t._e(),a("div",{staticClass:"text-[10px]"},["ru"==t.$root.currentLanguage?a("div",[t._v(" Чат ")]):"pl"==t.$root.currentLanguage?a("div",[t._v(" Czat ")]):"pt"==t.$root.currentLanguage?a("div",[t._v(" Chat ")]):"ar"==t.$root.currentLanguage?a("div",[t._v(" محادثة ")]):a("div",[t._v(" Chat ")])])]):t._e(),t.displayHelpButton?a("a",{staticClass:"flex items-center flex-col text-center base-color min-w-[55px]",staticStyle:{"margin-top":"-4px"},attrs:{href:t.$root.hotel.help_link}},["novotelbudapestcentrum"===t.$root.hotelCode?a("div",{staticClass:"text-[10px] base-color flex flex-col items-center"},[a("svg",{staticClass:"fill-current w-7 h-7 base-color",attrs:{xmlns:"http://www.w3.org/2000/svg",height:"1em",viewBox:"0 0 512 512"}},[a("path",{attrs:{d:"M216 64c-13.3 0-24 10.7-24 24s10.7 24 24 24h16v33.3C119.6 157.2 32 252.4 32 368H480c0-115.6-87.6-210.8-200-222.7V112h16c13.3 0 24-10.7 24-24s-10.7-24-24-24H256 216zM24 400c-13.3 0-24 10.7-24 24s10.7 24 24 24H488c13.3 0 24-10.7 24-24s-10.7-24-24-24H24z"}})]),t._v(" Request ")]):"morskoy-im"===t.$root.hotelCode||"parkoviy-im"===t.$root.hotelCode||"pribrezhnyj-im"===t.$root.hotelCode||"im-hotel"===t.$root.hotelCode?a("div",{staticClass:"text-[10px] base-color flex flex-col items-center"},[a("svg",{staticClass:"fill-current w-7 h-7 base-color",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[a("path",{attrs:{d:"M15.07,11.25L14.17,12.17C13.45,12.89 13,13.5 13,15H11V14.5C11,13.39 11.45,12.39 12.17,11.67L13.41,10.41C13.78,10.05 14,9.55 14,9C14,7.89 13.1,7 12,7A2,2 0 0,0 10,9H8A4,4 0 0,1 12,5A4,4 0 0,1 16,9C16,9.88 15.64,10.67 15.07,11.25M13,19H11V17H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z"}})]),"ru"==t.$root.currentLanguage?a("div",[t._v(" Ваш отзыв ")]):a("div",[t._v(" Your feedback ")])]):a("div",{staticClass:"text-[10px] base-color flex flex-col items-center"},[a("svg",{staticClass:"fill-current w-7 h-7 base-color",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[a("path",{attrs:{d:"M15.07,11.25L14.17,12.17C13.45,12.89 13,13.5 13,15H11V14.5C11,13.39 11.45,12.39 12.17,11.67L13.41,10.41C13.78,10.05 14,9.55 14,9C14,7.89 13.1,7 12,7A2,2 0 0,0 10,9H8A4,4 0 0,1 12,5A4,4 0 0,1 16,9C16,9.88 15.64,10.67 15.07,11.25M13,19H11V17H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z"}})]),"ru"==t.$root.currentLanguage?a("div",[t._v(" Помощь ")]):"pl"==t.$root.currentLanguage?a("div",[t._v(" Pomoc ")]):"pt"==t.$root.currentLanguage?a("div",[t._v(" Ajuda ")]):"de"==t.$root.currentLanguage?a("div",[t._v(" Hilfe ")]):"cn"==t.$root.currentLanguage?a("div",[t._v(" 帮助 ")]):"ar"==t.$root.currentLanguage?a("div",[t._v(" مساعدة ")]):a("div",[t._v(" Help ")])])]):t._e(),"lottesamara"!==t.$root.hotelCode&&"ibisedinburghcentresouth"!==t.$root.hotelCode&&"ibisbudgetamsterdamairport"!==t.$root.hotelCode?a("button",{staticClass:"relative flex items-center flex-col text-center text-black min-w-[55px]",class:[t.visibleBottomMyOrders?"":"opacity-50"],on:{click:t.openBottomMyOrders}},[a("svg",{staticClass:"w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M5.25 9a6.75 6.75 0 0113.5 0v.75c0 2.123.8 4.057 2.118 5.52a.75.75 0 01-.297 1.206c-1.544.57-3.16.99-4.831 1.243a3.75 3.75 0 11-7.48 0 24.585 24.585 0 01-4.831-1.244.75.75 0 01-.298-1.205A8.217 8.217 0 005.25 9.75V9zm4.502 8.9a2.25 2.25 0 104.496 0 25.057 25.057 0 01-4.496 0z","clip-rule":"evenodd"}})]),a("div",{staticClass:"text-[10px]"},[t._v(t._s(t.$root.getKeyWord("my_orders")))]),t.badges.order>0?a("div",{staticClass:"inline-flex absolute -top-1 right-0 justify-center items-center w-4 h-4 text-[10px] font-bold text-white bg-red-500 rounded-full border-2 border-white"}):t._e()]):t._e(),"lottesamara"!==t.$root.hotelCode&&"ibisedinburghcentresouth"!==t.$root.hotelCode&&"ibisbudgetamsterdamairport"!==t.$root.hotelCode?a("button",{staticClass:"flex items-center flex-col text-center text-black relative min-w-[55px]",class:[t.visibleBottomCart?"":"opacity-50"],on:{click:t.openCart}},[a("svg",{staticClass:"w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"}},[a("path",{attrs:{d:"M2.25 2.25a.75.75 0 000 1.5h1.386c.17 0 .318.114.362.278l2.558 9.592a3.752 3.752 0 00-2.806 3.63c0 .414.336.75.75.75h15.75a.75.75 0 000-1.5H5.378A2.25 2.25 0 017.5 15h11.218a.75.75 0 00.674-.421 60.358 60.358 0 002.96-7.228.75.75 0 00-.525-.965A60.864 60.864 0 005.68 4.509l-.232-.867A1.875 1.875 0 003.636 2.25H2.25zM3.75 20.25a1.5 1.5 0 113 0 1.5 1.5 0 01-3 0zM16.5 20.25a1.5 1.5 0 113 0 1.5 1.5 0 01-3 0z"}})]),t.$root.cart&&t.$root.cart.products.length?a("div",{staticClass:"inline-flex absolute -top-1 right-0 justify-center items-center w-4 h-4 text-[10px] font-bold text-white bg-red-500 rounded-full border-2 border-white"},[t._v(t._s(t.$root.cart.products.length))]):t._e(),a("div",{staticClass:"text-[10px]"},[t._v(t._s(t.$root.getKeyWord("cart")))])]):t._e(),"lottesamara"==t.$root.hotelCode?a("button",{staticClass:"flex items-center flex-col text-center text-black min-w-[55px]",class:[t.visibleBottomMyOrders?"":"opacity-50"],on:{click:function(e){return t.redirectUrl("https://lottesamara.2roomz.com/products/10047")}}},[a("svg",{staticClass:"w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}},[a("title",[t._v("Leaf")]),a("path",{attrs:{d:"M161.35 242a16 16 0 0122.62-.68c73.63 69.36 147.51 111.56 234.45 133.07 11.73-32 12.77-67.22 2.64-101.58-13.44-45.59-44.74-85.31-90.49-114.86-40.84-26.38-81.66-33.25-121.15-39.89-49.82-8.38-96.88-16.3-141.79-63.85-5-5.26-11.81-7.37-18.32-5.66-7.44 2-12.43 7.88-14.82 17.6-5.6 22.75-2 86.51 13.75 153.82 25.29 108.14 65.65 162.86 95.06 189.73 38 34.69 87.62 53.9 136.93 53.9a186 186 0 0027.77-2.04c41.71-6.32 76.43-27.27 96-57.75-89.49-23.28-165.94-67.55-242-139.16a16 16 0 01-.65-22.65zM467.43 384.19c-16.83-2.59-33.13-5.84-49-9.77a157.71 157.71 0 01-12.13 25.68c-.73 1.25-1.5 2.49-2.29 3.71a584.21 584.21 0 0058.56 12 16 16 0 104.87-31.62z"}})]),a("div",{staticClass:"text-[10px]"},["ru"==t.$root.currentLanguage?a("div",[t._v(" СПА ")]):t._e(),"en"==t.$root.currentLanguage?a("div",[t._v(" SPA ")]):t._e()])]):t._e(),"lottesamara"==t.$root.hotelCode?a("button",{staticClass:"flex items-center flex-col text-center text-black relative min-w-[55px]",class:[t.visibleBottomCart?"":"opacity-50"],on:{click:function(e){return t.redirectUrl("https://lottesamara.2roomz.com/products/10049")}}},[a("svg",{staticClass:"w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm8.706-1.442c1.146-.573 2.437.463 2.126 1.706l-.709 2.836.042-.02a.75.75 0 01.67 1.34l-.04.022c-1.147.573-2.438-.463-2.127-1.706l.71-2.836-.042.02a.75.75 0 11-.671-1.34l.041-.022zM12 9a.75.75 0 100-1.5.75.75 0 000 1.5z","clip-rule":"evenodd"}})]),t.$root.cart.length?a("div",{staticClass:"inline-flex absolute -top-1 right-0 justify-center items-center w-4 h-4 text-[10px] font-bold text-white bg-red-500 rounded-full border-2 border-white"}):t._e(),a("div",{staticClass:"text-[10px]"},["ru"==t.$root.currentLanguage?a("div",[t._v(" Информация ")]):t._e(),"en"==t.$root.currentLanguage?a("div",[t._v(" Info ")]):t._e()])]):t._e(),"lottesamara"==t.$root.hotelCode?a("button",{staticClass:"flex items-center flex-col text-center text-black relative min-w-[55px]",class:[t.visibleBottomCart?"":"opacity-50"],on:{click:function(e){return t.redirectUrl("tel:+78469201000")}}},[a("svg",{staticClass:"w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M1.5 4.5a3 3 0 013-3h1.372c.86 0 1.61.586 1.819 1.42l1.105 4.423a1.875 1.875 0 01-.694 1.955l-1.293.97c-.135.101-.164.249-.126.352a11.285 11.285 0 006.697 6.697c.103.038.25.009.352-.126l.97-1.293a1.875 1.875 0 011.955-.694l4.423 1.105c.834.209 1.42.959 1.42 1.82V19.5a3 3 0 01-3 3h-2.25C8.552 22.5 1.5 15.448 1.5 6.75V4.5z","clip-rule":"evenodd"}})]),t.$root.cart.length?a("div",{staticClass:"inline-flex absolute -top-1 right-0 justify-center items-center w-4 h-4 text-[10px] font-bold text-white bg-red-500 rounded-full border-2 border-white"}):t._e(),a("div",{staticClass:"text-[10px]"},["ru"==t.$root.currentLanguage?a("div",[t._v(" Позвонить ")]):t._e(),"en"==t.$root.currentLanguage?a("div",[t._v(" Call ")]):t._e()])]):t._e(),"ibisbudgetamsterdamairport"==t.$root.hotelCode?a("button",{staticClass:"flex items-center flex-col text-center text-black relative min-w-[55px]",class:[t.visibleBottomCart?"":"opacity-50"],on:{click:function(e){return t.redirectUrl("tel:+31207219170")}}},[a("svg",{staticClass:"w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M1.5 4.5a3 3 0 013-3h1.372c.86 0 1.61.586 1.819 1.42l1.105 4.423a1.875 1.875 0 01-.694 1.955l-1.293.97c-.135.101-.164.249-.126.352a11.285 11.285 0 006.697 6.697c.103.038.25.009.352-.126l.97-1.293a1.875 1.875 0 011.955-.694l4.423 1.105c.834.209 1.42.959 1.42 1.82V19.5a3 3 0 01-3 3h-2.25C8.552 22.5 1.5 15.448 1.5 6.75V4.5z","clip-rule":"evenodd"}})]),t.$root.cart.length?a("div",{staticClass:"inline-flex absolute -top-1 right-0 justify-center items-center w-4 h-4 text-[10px] font-bold text-white bg-red-500 rounded-full border-2 border-white"}):t._e(),a("div",{staticClass:"text-[10px]"},["nl"==t.$root.currentLanguage?a("div",[t._v(" Call ")]):t._e(),"en"==t.$root.currentLanguage?a("div",[t._v(" Call ")]):t._e()])]):t._e()],1)],1)],1)])},Bt=[],Pt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("a-drawer",{attrs:{wrapClassName:"drawer-custom",placement:"bottom",height:"89%",closable:!1,visible:t.$parent.visibleBottomCart},on:{close:t.onClose}},[a("div",{staticClass:"flex justify-end"},[a("a",{staticClass:"block hover:bg-gray-200 rounded-full p-1",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.$parent.visibleBottomCart=!1}}},[a("svg",{staticClass:"fill-current text-gray-800 rounded-full",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:"32",width:"32"}},[a("title",[t._v("Close")]),a("path",{attrs:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 368L144 144M368 144L144 368"}})])])]),a("div",{staticClass:"mt-40 w-full flex flex-col items-center"},[a("svg",{staticClass:"w-32 h-32 opacity-20",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"}},[a("path",{attrs:{d:"M2.25 2.25a.75.75 0 000 1.5h1.386c.17 0 .318.114.362.278l2.558 9.592a3.752 3.752 0 00-2.806 3.63c0 .414.336.75.75.75h15.75a.75.75 0 000-1.5H5.378A2.25 2.25 0 017.5 15h11.218a.75.75 0 00.674-.421 60.358 60.358 0 002.96-7.228.75.75 0 00-.525-.965A60.864 60.864 0 005.68 4.509l-.232-.867A1.875 1.875 0 003.636 2.25H2.25zM3.75 20.25a1.5 1.5 0 113 0 1.5 1.5 0 01-3 0zM16.5 20.25a1.5 1.5 0 113 0 1.5 1.5 0 01-3 0z"}})]),a("div",{staticClass:"text-gray-600 text-lg my-10"},[t._v(t._s(t.$root.getKeyWord("no_orders_status")))])])])},It=[],Tt={name:"AppBottomCart",methods:{onClose(){this.$parent.visibleBottomCart=!1}}},Et=Tt,zt=(0,u.Z)(Et,Pt,It,!1,null,null,null),Nt=zt.exports,Ot=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("a-drawer",{attrs:{wrapClassName:"drawer-custom",placement:"bottom",height:"bottom",closable:!1,visible:t.$parent.visibleBottomServices},on:{close:t.onClose}},[a("div",{staticClass:"flex justify-end"},[a("a",{staticClass:"block hover:bg-gray-100 rounded-full p-1",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.$parent.visibleBottomServices=!1}}},[a("svg",{staticClass:"fill-current text-gray-800 rounded-full",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:"32",width:"32"}},[a("title",[t._v("Close")]),a("path",{attrs:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 368L144 144M368 144L144 368"}})])])]),a("div",{staticClass:"flex flex-col overflow-y-scroll",staticStyle:{"max-height":"336px !important"}},t._l(t.sections,(function(e){return a("a",{directives:[{name:"show",rawName:"v-show",value:!e.is_hidden,expression:"!section.is_hidden"}],staticClass:"py-4 px-4 text-sm border-b base-color",attrs:{href:"javascript:void(0)","aria-current":"page"},on:{click:function(a){return t.clickSection(e)}}},[t._v(" "+t._s(t.$root.getLangText(e.title))+" ")])})),0)])},jt=[],Dt={name:"AppBottomServices",data(){return{sections:null}},methods:{onClose(){this.$parent.visibleBottomServices=!1},clickSection(t){if(this.$root.yandexGoal("goal - category - "+t.id),t.external_link)return window.open(t.external_link,"_blank"),!1;t.sublevels_count>1?window.location.href="/sections/"+t.id:window.location.href="/products/"+t.id},fetchSections(){this.$http.get("https://admin.2roomz.com/api/v1/public/sections?hotel_uuid="+this.$root.hotel.uuid).then((t=>{this.sections=t.data.data}))}}},Ht=Dt,Kt=(0,u.Z)(Ht,Ot,jt,!1,null,null,null),qt=Kt.exports,Rt=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",[o("a-drawer",{attrs:{wrapClassName:"drawer-custom",placement:"bottom",height:"89%",closable:!1,visible:t.visible}},[o("div",{staticClass:"flex justify-end items-center"},[o("div",{staticClass:"flex items-center"},[this.uuids.length>0?o("a",{staticClass:"block hover:bg-gray-200 rounded-full bg-gray-100 px-2 p-1 flex items-center hover:bg-gray-300",attrs:{href:"javascript:void(0)"},on:{click:function(e){return t.clearHistory()}}},[o("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 0 24 24",width:"24px",fill:"#000000"}},[o("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),o("path",{attrs:{d:"M13 3c-4.97 0-9 4.03-9 9H1l4 3.99L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.25 2.52.77-1.28-3.52-2.09V8z"}})]),o("span",{staticClass:"block ml-1 text-xs text-gray-800"},[t._v(t._s(t.$root.getKeyWord("clear_history")))])]):t._e(),o("a",{staticClass:"block hover:bg-gray-200 rounded-full p-1",attrs:{href:"javascript:void(0)"},on:{click:function(e){return t.toggleMyOrders()}}},[o("svg",{staticClass:"fill-current text-gray-800 rounded-full",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:"32",width:"32"}},[o("title",[t._v("Close")]),o("path",{attrs:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 368L144 144M368 144L144 368"}})])])])]),o("div",[Object.keys(t.orders).length>1?o("div",[t.orders.draft.length>0?o("div",{staticClass:"mt-4"},[o("div",{staticClass:"rounded  leading-none flex items-center mt-2 text-xl"},[o("span",{staticClass:"mr-1"},[o("svg",{staticClass:"text-yellow-500  fill-current w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}},[o("path",{attrs:{d:"M255.8 48C141 48 48 141.2 48 256s93 208 207.8 208c115 0 208.2-93.2 208.2-208S370.8 48 255.8 48zm.2 374.4c-91.9 0-166.4-74.5-166.4-166.4S164.1 89.6 256 89.6 422.4 164.1 422.4 256 347.9 422.4 256 422.4z"}}),o("path",{attrs:{d:"M266.4 152h-31.2v124.8l109.2 65.5 15.6-25.6-93.6-55.5V152z"}})])]),t._v(" "+t._s(t.$root.getKeyWord("draft_orders"))+" ")]),o("notification-order",{attrs:{orders:t.orders.draft,"order-type":"draft"}})],1):t._e(),t.orders.pending.length>0?o("div",{staticClass:"mt-4"},[o("div",{staticClass:"rounded  leading-none flex items-center mt-2 text-xl"},[o("span",{staticClass:"mr-1"},[o("svg",{staticClass:"text-green-500  fill-current w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}},[o("path",{attrs:{d:"M255.8 48C141 48 48 141.2 48 256s93 208 207.8 208c115 0 208.2-93.2 208.2-208S370.8 48 255.8 48zm.2 374.4c-91.9 0-166.4-74.5-166.4-166.4S164.1 89.6 256 89.6 422.4 164.1 422.4 256 347.9 422.4 256 422.4z"}}),o("path",{attrs:{d:"M266.4 152h-31.2v124.8l109.2 65.5 15.6-25.6-93.6-55.5V152z"}})])]),t._v(" "+t._s(t.$root.getKeyWord("pending_orders"))+" ")]),o("notification-order",{attrs:{orders:t.orders.pending,"order-type":"pending"}})],1):t._e(),t.orders.histories.length>0?o("div",{staticClass:"mt-8"},[o("div",{staticClass:"flex justify-between"},[o("div",{staticClass:"rounded leading-none flex items-center mt-2 text-xl"},[t._v(" "+t._s(t.$root.getKeyWord("ready_orders"))+" ")])]),o("notification-order",{attrs:{orders:t.orders.histories,"order-type":"histories"}})],1):t._e()]):o("div",[o("div",{staticClass:"mt-40 w-full flex flex-col items-center"},[o("img",{staticClass:"w-48 h-48",attrs:{src:a(65371)}}),o("div",{staticClass:"text-gray-600 text-lg my-10"},[t._v(t._s(t.$root.getKeyWord("no_orders_status")))])])])])])],1)},Yt=[],Gt=a(86606),Ft=a.n(Gt),Wt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",t._l(t.orders,(function(t){return a("div",{key:t.id},[a("notification-order-item",{attrs:{order:t}})],1)})),0)},Qt=[],Vt=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.order?a("div",[a("div",{staticClass:"rounded mt-2 relative",staticStyle:{background:"#f6f7fb","min-height":"290px"}},["approved"!=t.order.ostatus_id&&"accepted"!=t.order.ostatus_id||!t.order.expected_timeleft?t._e():a("div",{staticClass:"px-4 py-3 border-b"},[a("article-order-timer",{attrs:{"expected-timeleft":t.order.expected_timeleft}})],1),null!==t.order.integration_payment?a("div",{staticClass:"mb-2 border-b pb-2"},["goes"==t.order.integration_payment.status_id&&void 0!==t.order.integration_payment.extra.payment_link&&""!==t.order.integration_payment.extra.payment_link?a("div",{staticClass:"flex rounded-lg",attrs:{id:"alert-4",role:"alert"}},[a("svg",{staticClass:"flex-shrink-0 w-5 h-5 text-yellow-500",attrs:{"aria-hidden":"true",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z","clip-rule":"evenodd"}})]),a("div",{staticClass:"ml-2 text-sm font-medium text-yellow-500"},[t._v(" "+t._s(t.$root.getKeyWord("order_payment_pending"))+", "+t._s(t.$root.getKeyWord("order_pay_click_link"))+" "),a("a",{staticClass:"font-semibold underline text-blue-500",attrs:{href:t.order.integration_payment.extra.payment_link,target:"_blank"}},[t._v(t._s(t.$root.getKeyWord("order_online_pay")))])])]):t._e(),"done"==t.order.integration_payment.status_id?a("div",{staticClass:"flex rounded-lg dark:bg-green-200",attrs:{id:"alert-3",role:"alert"}},[a("svg",{staticClass:"flex-shrink-0 w-5 h-5 text-green-700",attrs:{"aria-hidden":"true",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z","clip-rule":"evenodd"}})]),a("div",{staticClass:"ml-2 text-sm font-medium text-green-700"},[t._v(" "+t._s(t.$root.getKeyWord("order_payment_paid"))+" ")])]):t._e(),"error"==t.order.integration_payment.status_id?a("div",{staticClass:"flex rounded-lg dark:bg-green-200",attrs:{id:"alert-3",role:"alert"}},[a("svg",{staticClass:"flex-shrink-0 w-5 h-5 text-green-700",attrs:{"aria-hidden":"true",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z","clip-rule":"evenodd"}})]),a("div",{staticClass:"ml-2 text-sm font-medium text-green-700"},[t._v(" "+t._s(t.$root.getKeyWord("order_payment_error"))+" ")])]):t._e()]):t._e(),a("div",{staticClass:"px-4 py-4"},[a("div",{staticClass:"flex justify-between items-center"},[a("div",{staticClass:"flex"},[a("span",{staticClass:"mr-1"},["done"==t.order.ostatus_id?a("svg",{staticClass:"fill-current text-green-600 w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}},[a("path",{attrs:{d:"M256 48C141.1 48 48 141.1 48 256s93.1 208 208 208 208-93.1 208-208S370.9 48 256 48zm106.5 150.5L228.8 332.8h-.1c-1.7 1.7-6.3 5.5-11.6 5.5-3.8 0-8.1-2.1-11.7-5.7l-56-56c-1.6-1.6-1.6-4.1 0-5.7l17.8-17.8c.8-.8 1.8-1.2 2.8-1.2 1 0 2 .4 2.8 1.2l44.4 44.4 122-122.9c.8-.8 1.8-1.2 2.8-1.2 1.1 0 2.1.4 2.8 1.2l17.5 18.1c1.8 1.7 1.8 4.2.2 5.8z"}})]):t._e(),"cancelled"==t.order.ostatus_id||"expired"==t.order.ostatus_id?a("svg",{staticClass:"fill-current text-red-600 w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[a("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),a("path",{attrs:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8 0-1.85.63-3.55 1.69-4.9L16.9 18.31C15.55 19.37 13.85 20 12 20zm6.31-3.1L7.1 5.69C8.45 4.63 10.15 4 12 4c4.42 0 8 3.58 8 8 0 1.85-.63 3.55-1.69 4.9z"}})]):t._e()]),a("div",{staticClass:"font-medium text-lg"},[t._v("#"+t._s(t.order.num))])]),a("div",{staticClass:"text-xs text-gray-600 leading-tight"},[t._v(t._s(t.$root.formatDateFromNow(t.order.created_at)))])]),a("div",{staticClass:"mt-2"},[null!==t.order.number_room?a("div",{staticClass:"text-sm flex items-baseline text-gray-800"},[a("span",[t._v(t._s(t.$root.getKeyWord("room_number"))+":")]),a("span",{staticClass:"mx-1 font-medium text-black"},[t._v(" "+t._s(t.order.number_room))])]):t._e(),t.order.final_sum>0&&t.order.order_payment&&null!==t.order.order_payment?a("div",{staticClass:"text-sm flex items-baseline text-gray-800"},[a("span",[t._v(t._s(t.$root.getKeyWord("payment"))+":")]),a("span",{staticClass:"mx-1 font-medium text-black"},[t._v(t._s(t.$root.getLangObject(t.order.order_payment.title)))])]):t._e(),t.order.comment.length>0?a("div",{staticClass:"text-sm flex items-baseline text-gray-800"},[a("span",[t._v(t._s(t.$root.getKeyWord("comments"))+":")]),a("span",{staticClass:"mx-1 font-medium text-black"},[t._v(t._s(t.order.comment))])]):t._e()]),a("div",{staticClass:"border-b"},t._l(t.order.products,(function(e,o){return a("div",{key:e.id,staticClass:"mt-2 py-2"},[a("div",{staticClass:"flex justify-between text-sm"},[a("div",[a("span",{staticClass:"mr-1"},[t._v(t._s(++o)+".")]),a("span",{staticClass:"break-words"},[t._v(t._s(t.$root.getLangText(e.product.title)))]),e.properties.length>0?a("div",{staticClass:"ml-4"},t._l(e.properties,(function(e){return a("div",{key:e.id,staticClass:"text-xs text-gray-600"},[a("span",{staticClass:"font-medium text-gray-700"},[t._v(t._s(t.$root.getLangText(e.property.title))+": ")]),a("span",[t._v(t._s(e.value))]),void 0!==e.quantity&&e.quantity>1?a("span",{staticClass:"font-medium text-gray-700"},[t._v(" x "+t._s(e.quantity))]):t._e()])})),0):t._e()]),a("div",{directives:[{name:"show",rawName:"v-show",value:e.price>0,expression:"product.price > 0"}],staticClass:"flex-shrink-0"},[e.quantity>1?a("span",[t._v(t._s(e.quantity)+" x ")]):t._e(),a("span",{domProps:{innerHTML:t._s(t.$root.showPrice(e.total_price))}})])])])})),0),a("div",{staticClass:"py-2  text-sm"},[t._l(t.order.properties,(function(e){return e.total_price>0?a("div",{key:e.id},[a("div",{staticClass:"flex items-baseline justify-between w-full"},[a("div",[a("div",[e.quantity>1?a("span",[t._v(t._s(e.quantity)+t._s(t.$root.getKeyWord("telegram.txt_order_pc"))+" - ")]):t._e(),a("span",[t._v(t._s(t.$root.getLangText(e.property.title)))])])]),a("div",[e.total_price>0?a("span",{domProps:{innerHTML:t._s(t.$root.showPrice(e.total_price))}}):t._e()])])]):t._e()})),t.order.delivery_price>0?a("div",{staticClass:"flex justify-between"},[a("div",{staticClass:"text-gray-800"},[t._v(t._s(t.$root.getKeyWord("discount_price")))]),a("div",{staticClass:"text-sm",domProps:{innerHTML:t._s(t.$root.showPrice(t.order.delivery_price))}})]):t._e(),t.order.final_sum>0?a("div",{staticClass:"flex justify-between"},[a("div",{staticClass:"text-gray-800"},[t._v(t._s(t.$root.getKeyWord("total")))]),a("div",{staticClass:"text-sm",domProps:{innerHTML:t._s(t.$root.showPrice(t.order.final_sum))}})]):t._e()],2),a("div",{staticClass:"absolute bg-black  rounded-lg left-0 top-0 w-full h-full",class:{hidden:!t.display_cancel_popup},staticStyle:{"backdrop-filter":"blur(5px)",background:"rgba(0, 0, 0, .4)"}},[a("a",{staticClass:"hover:bg-gray-200 absolute right-0 m-2",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.display_cancel_popup=!1}}},[a("svg",{staticClass:"fill-current text-white hover:text-black rounded-full",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:"32",width:"32"}},[a("title",[t._v("Close")]),a("path",{attrs:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 368L144 144M368 144L144 368"}})])]),a("div",{staticClass:"flex flex justify-center align-center"},[a("div",{staticClass:"flex flex-col py-6 px-2"},[a("div",{staticClass:"text-base sm:text-xl text-center text-white py-1"},[t._v(t._s(t.$root.getKeyWord("order_cancel__reason")))]),a("ul",{staticClass:"font-medium text-gray-900 bg-white border border-gray-200 rounded-lg dark:bg-gray-700 dark:border-gray-600 dark:text-white"},[a("li",{staticClass:"w-full px-4 py-2 border-b border-gray-200 rounded-t-lg dark:border-gray-600"},[a("div",{staticClass:"flex items-center"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.picked_reason,expression:"picked_reason"}],staticClass:"w-4 h-4 flex-none border-gray-300 focus:ring-2 focus:ring-blue-300 dark:focus:ring-blue-600 dark:focus:bg-blue-600 dark:bg-gray-700 dark:border-gray-600",attrs:{id:"order_cancel__mistake",type:"radio",value:"order_cancel__mistake",checked:""},domProps:{checked:t._q(t.picked_reason,"order_cancel__mistake")},on:{change:function(e){t.picked_reason="order_cancel__mistake"}}}),a("label",{staticClass:"block ml-2 font-medium text-gray-900 dark:text-gray-300 text-sm sm:text-base",attrs:{for:"order_cancel__mistake"}},[t._v(t._s(t.$root.getKeyWord("order_cancel__mistake")))])])]),a("li",{staticClass:"w-full px-4 py-2 border-b border-gray-200 dark:border-gray-600"},[a("div",{staticClass:"flex items-center"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.picked_reason,expression:"picked_reason"}],staticClass:"w-4 h-4 flex-none border-gray-300 focus:ring-2 focus:ring-blue-300 dark:focus:ring-blue-600 dark:focus:bg-blue-600 dark:bg-gray-700 dark:border-gray-600",attrs:{id:"order_cancel__change",type:"radio",value:"order_cancel__change",checked:""},domProps:{checked:t._q(t.picked_reason,"order_cancel__change")},on:{change:function(e){t.picked_reason="order_cancel__change"}}}),a("label",{staticClass:"block ml-2 font-medium text-gray-900 dark:text-gray-300 text-sm sm:text-base",attrs:{for:"order_cancel__change"}},[t._v(t._s(t.$root.getKeyWord("order_cancel__change")))])])]),a("li",{staticClass:"w-full px-4 py-2 border-b border-gray-200 dark:border-gray-600"},[a("div",{staticClass:"flex items-center"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.picked_reason,expression:"picked_reason"}],staticClass:"w-4 h-4 flex-none border-gray-300 focus:ring-2 focus:ring-blue-300 dark:focus:ring-blue-600 dark:focus:bg-blue-600 dark:bg-gray-700 dark:border-gray-600",attrs:{id:"order_cancel__payment",type:"radio",value:"order_cancel__payment",checked:""},domProps:{checked:t._q(t.picked_reason,"order_cancel__payment")},on:{change:function(e){t.picked_reason="order_cancel__payment"}}}),a("label",{staticClass:"block ml-2 font-medium text-gray-900 dark:text-gray-300 text-sm sm:text-base",attrs:{for:"order_cancel__payment"}},[t._v(t._s(t.$root.getKeyWord("order_cancel__payment")))])])]),a("li",{staticClass:"w-full px-4 py-2 dark:border-gray-600"},[a("div",{staticClass:"flex items-center"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.picked_reason,expression:"picked_reason"}],staticClass:"w-4 h-4 flex-none border-gray-300 focus:ring-2 focus:ring-blue-300 dark:focus:ring-blue-600 dark:focus:bg-blue-600 dark:bg-gray-700 dark:border-gray-600",attrs:{id:"order_cancel__other",type:"radio",value:"order_cancel__other",checked:""},domProps:{checked:t._q(t.picked_reason,"order_cancel__other")},on:{change:function(e){t.picked_reason="order_cancel__other"}}}),a("label",{staticClass:"block ml-2 font-medium text-gray-900 dark:text-gray-300 text-sm sm:text-base",attrs:{for:"order_cancel__other"}},[t._v(t._s(t.$root.getKeyWord("order_cancel__other")))])])])]),t.loading?a("div",{staticClass:"flex justify-center"},[a("svg",{staticStyle:{height:"100px",width:"100px"},attrs:{version:"1.1"}},[a("path",{attrs:{fill:"#fff",d:"M73,50c0-12.7-10.3-23-23-23S27,37.3,27,50 M30.9,50c0-10.5,8.5-19.1,19.1-19.1S69.1,39.5,69.1,50"}},[a("animateTransform",{attrs:{attributeName:"transform",attributeType:"XML",type:"rotate",dur:"1s",from:"0 50 50",to:"360 50 50",repeatCount:"indefinite"}})],1)])]):a("div",{staticClass:"flex justify-center mt-2"},[a("a",{staticClass:"bg-white px-4 py-2 rounded-full text-sm sm:text-base text-black",attrs:{href:"javascript:void(0)"},on:{click:function(e){return t.cancelOrder(t.order)}}},[t._v(t._s(t.$root.getKeyWord("ready_btn")))])])])])]),null!==t.order.cancel_reason_id&&t.order.cancel_reason_id.length>0?a("div",{staticClass:"text-sm pt-1 flex items-center text-gray-800"},[a("span",[t._v(t._s(t.$root.getKeyWord("order_cancel__reason"))+":")]),a("span",{staticClass:"mx-1 font-medium text-black"},[t._v(" "+t._s(t.$root.getKeyWord(t.order.cancel_reason_id)))])]):t._e(),t.displayCancelButton()?a("div",{staticClass:"flex justify-center mt-2",on:{click:function(e){t.display_cancel_popup=!0}}},[a("a",{staticClass:"text-xs text-red-600 px-4 py-1 border rounded-lg hover:text-gray-700",attrs:{href:"javascript:void(0)"}},[t._v(t._s(t.$root.getKeyWord("cancel_order")))])]):t._e(),null!=t.order.note_kit&&null!=t.order.note_kit.notes&&t.order.note_kit.notes.length>0?a("div",{staticClass:"mt-2"},[a("div",{staticClass:"text-gray-600 flex gap-1 items-center justify-center mb-2"},[a("span",[t._v(t._s(t.$root.getLangText({ru:"Комментарии к заказу",en:"Comments on the order"})))])]),t._l(t.order.note_kit.notes,(function(e){return a("div",{staticClass:"flex items-baseline justify-between w-full py-2 mb-2 border bg-white px-4 rounded-lg"},[a("div",{staticClass:"leading-tight text-left font-medium"},[a("div",{staticClass:"mb-1"},[a("span",[t._v(t._s(e.content))])]),a("div",{staticClass:"flex justify-start gap-1"},[a("div",{staticClass:"flex gap-1 items-center text-gray-400 text-xs font-medium my-1 py-0.5 rounded"},[a("span",[t._v(t._s(t._f("dateFormatTZ")(e.created_at_tz)))])])])])])}))],2):t._e()])])]):t._e()])},Zt=[],Ut=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.display_timer?a("div",{staticClass:"flex gap-1 justify-between text-base text-black"},[a("div",[t._v(t._s(t.$root.getKeyWord("est_delivery_time"))+" ")]),a("div",{staticClass:"text-xs font-medium px-2.5 py-0.5 rounded border flex items-center gap-1",class:["Expired"==t.display_timer?"text-red-600 bg-red-100 border-red-400":"text-blue-800 bg-blue-100 border-blue-400"]},[a("svg",{staticClass:"w-4 h-4",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"}},[a("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 6v6h4.5m4.5 0a9 9 0 11-18 0 9 9 0 0118 0z"}})]),a("label",[t._v(t._s(t.display_timer))])])]):t._e()},Jt=[];const Xt=a(30381);var te={props:["expectedTimeleft"],data(){return{timer:null,display_timer:null,interval:1e3}},created(){this.countDownTimer()},watch:{expectedTimeleft(t,e){clearInterval(this.timer),this.countDownTimer()}},methods:{countDownTimer(){if(this.expectedTimeleft){var t=this.$root.getKeyWord("exp_delivery_time");if(this.expectedTimeleft<=60)this.display_timer=t;else{var e=Xt().add(parseInt(this.expectedTimeleft),"seconds");this.timer=setInterval((()=>{var a=e.diff(Xt());this.display_timer="~"+Xt.utc(a).format("H [hrs], m [min]").toString().replace("0 hrs, ",""),Math.floor(a/6e4)<=0&&(clearInterval(this.timer),this.display_timer=t)}),1e3)}}}}},ee=te,ae=(0,u.Z)(ee,Ut,Jt,!1,null,null,null),oe=ae.exports,re={components:{ArticleOrderTimer:oe},props:["order","type"],data(){return{display_cancel_popup:!1,picked_reason:"order_cancel__mistake",loading:!1}},methods:{cancelOrder(t){this.loading=!0,this.$http.post("https://admin.2roomz.com/api/v1/orders/guest/change-status",{uuid:t.uuid,token:"token",hotel_id:t.hotel_id,language:this.$root.currentLanguage,reason:this.picked_reason}).then((t=>{this.loading=!1,Ka.$emit("get-orders"),this.display_cancel_popup=!1})).catch((t=>{this.loading=!1,Ka.$emit("get-orders"),this.display_cancel_popup=!1}))},isJson(t){try{JSON.parse(t)}catch(e){return!1}return!0},displayCancelButton(){return"draft"==this.$parent.orderType}}},se=re,ie=(0,u.Z)(se,Vt,Zt,!1,null,null,null),ne=ie.exports,ce={components:{notificationOrderItem:ne},props:["orders","orderType"]},le=ce,_e=(0,u.Z)(le,Wt,Qt,!1,null,null,null),de=_e.exports,ue={components:{notificationOrder:de},data(){return{visible:!1,orders:[],show_ready_orders:!1,show_rejected_orders:!1,uuids:localStorage.getItem("fs_uuids")&&void 0!==localStorage.getItem("fs_uuids")?JSON.parse(localStorage.getItem("fs_uuids")):[]}},created(){Ka.$on("toggle-my-orders",(t=>this.toggleMyOrders())),Ka.$on("get-orders",(t=>{this.getOrders()})),this.subscribe()},watch:{visible(t){this.$root.freezeActivePageScroll(t)}},mounted(){this.fetch()},methods:{toggleMyOrders(){return this.visible=!this.visible,Ka.$emit("active-bottom-navigation",{visible:this.visible,menu:"my-orders"}),this.visible&&(this.uuids=localStorage.getItem("fs_uuids")&&void 0!==localStorage.getItem("fs_uuids")?JSON.parse(localStorage.getItem("fs_uuids")):[],this.fetch(),this.uuids.length>0&&(setTimeout((()=>this.fetch()),5e3),setTimeout((()=>this.fetch()),1e4),setTimeout((()=>this.fetch()),15e3))),this.visible},getOrders(){this.uuids=localStorage.getItem("fs_uuids")&&void 0!==localStorage.getItem("fs_uuids")?JSON.parse(localStorage.getItem("fs_uuids")):[],this.fetch()},fetch(){if(0==this.uuids.length)return Ka.$emit("badges-order-bottom-navigation",{menu:"my-orders",count:0}),!1;this.$http.get("https://admin.2roomz.com/api/v1/hotels/"+this.$root.hotelCode+"/orders/check",{params:{order_uuids:this.uuids}}).then((t=>{if(Object.keys(t.data).length>2){let e=0;this.orders.pending&&this.orders.pending.length!==t.data.pending.length?e+=this.orders.pending.length:this.orders.pending&&this.orders.pending.map((function(a,o){(a.note_kit&&a.note_kit.notes.length!==t.data.pending[o].note_kit.notes.length||!a.note_kit&&t.data.pending[o].note_kit)&&(e+=t.data.pending.length)})),this.orders.draft&&this.orders.draft.length!==t.data.draft.length?e+=this.orders.draft.length:this.orders.draft&&this.orders.draft.map((function(a,o){(a.note_kit&&a.note_kit.notes.length!==t.data.draft[o].note_kit.notes.length||!a.note_kit&&t.data.draft[o].note_kit)&&(e+=t.data.draft.length)})),this.orders=t.data,0!==e&&!1===this.visible&&Ka.$emit("badges-order-bottom-navigation",{menu:"my-orders",count:e})}}))},opened(){document.querySelector(".vm--modal")&&(document.querySelector(".vm--modal").style.top="0px")},clearHistory(){1==confirm(this.$root.getKeyWord("clear_history")+"?")&&this.$nextTick((()=>{this.uuids=[],this.orders=[],localStorage.setItem("fs_uuids",JSON.stringify(this.uuids)),Ka.$emit("badges-order-bottom-navigation",{menu:"my-orders",count:0})}))},subscribe(){var t="3ee3a2869d4a1b1b523e",e="eu";let a=new(Ft())(t,{cluster:e});a.subscribe("order-created").bind("orderCreated",(t=>{void 0!==t.order&&this.uuids.indexOf(t.order.uuid)>-1&&this.fetch()})),a.subscribe("order-updated").bind("orderUpdated",(t=>{void 0!==t.order&&this.uuids.indexOf(t.order.uuid)>-1&&this.fetch()}))}}},me=ue,pe=(0,u.Z)(me,Rt,Yt,!1,null,null,null),ge=pe.exports,he=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"bg-hotel shadow-lg rounded-lg cursor-pointer",class:["novotelresort"==t.$root.hotelCode?"novotelresort-color":""],attrs:{id:"open-cart"},on:{click:t.openCart}},[a("div",{staticClass:"flex items-center"},[a("div",{staticClass:"flex-1"},[a("div",{staticClass:"cart_product",domProps:{textContent:t._s(t.$root.cart_total_quantity)}})]),a("div",[a("div",{staticClass:"header_cart",domProps:{textContent:t._s(t.$root.getKeyWord("send_to_order"))}})]),a("div",{staticClass:"flex-1"},[a("div",{staticClass:"price_cart",domProps:{innerHTML:t._s(t.$root.showPrice(t.$root.cart_total_price))}})])])])},ve=[],fe={name:"app_cart_button",methods:{openCart(){Ka.$emit("cart")}}},xe=fe,ye=(0,u.Z)(xe,he,ve,!1,null,null,null),be=ye.exports,ke=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("a-drawer",{attrs:{wrapClassName:"drawer-custom",placement:"bottom",height:"89%",closable:!1,visible:t.visible},on:{close:t.onClose}},[a("div",{staticClass:"flex justify-end"},[a("a",{staticClass:"block hover:bg-gray-200 rounded-full p-1",attrs:{href:"javascript:void(0)"},on:{click:function(e){t.visible=!1}}},[a("svg",{staticClass:"fill-current text-gray-800 rounded-full",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:"32",width:"32"}},[a("title",[t._v("Close")]),a("path",{attrs:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 368L144 144M368 144L144 368"}})])])]),t.success?a("div",[a("div",{staticClass:"flex flex-col items-center justify-center"},[a("div",{staticClass:"mb-4"},[a("svg",{staticClass:"w-10 h-10 text-green-500 fill-current",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}},[a("title",[t._v("Checkmark Circle")]),a("path",{attrs:{d:"M256 48C141.31 48 48 141.31 48 256s93.31 208 208 208 208-93.31 208-208S370.69 48 256 48zm108.25 138.29l-134.4 160a16 16 0 01-12 5.71h-.27a16 16 0 01-11.89-5.3l-57.6-64a16 16 0 1123.78-21.4l45.29 50.32 122.59-145.91a16 16 0 0124.5 20.58z"}})])]),a("div",[t._v("Online-in checkin is done")])])]):a("div",[a("div",{staticClass:"p-3"},[a("div",[a("div",{staticClass:"text-gray-400"},[t._v("Resarvation number")]),a("p",[t._v("LY 8066")])]),a("div",{staticClass:"flex items-center mt-4 justify-between"},[a("div",{staticClass:"flex flex-col"},[a("div",{staticClass:"text-gray-400"},[t._v("Arrival")]),a("p",[t._v("Wed 5 Oct")])]),a("div",{staticClass:"flex flex-col"},[a("button",{staticClass:"w-[20vw] border"})]),a("div",{staticClass:"flex flex-col"},[a("div",{staticClass:"text-gray-400"},[t._v("Departure")]),a("p",[t._v("Wed 12 Oct")])])]),a("div",{staticClass:"mt-4 border-b-2 border-b-gray-100"},[a("label",{attrs:{for:"file"}},[a("div",[t._v("Passport photo")]),a("div",{staticClass:"text-gray-400 py-2"},[t._v("Upload")])]),a("input",{staticClass:"hidden",attrs:{type:"file",id:"file"}})]),a("div",{staticClass:"pt-6"},[a("p",[t._v("Digital signature")]),a("div",{staticClass:"border p-2"},[a("vueSignature",{ref:"signature",attrs:{sigOption:t.option,w:"100%",h:"100px",disabled:t.disabled}})],1)]),a("div",{staticClass:"flex justify-end mt-2"},[a("button",{staticClass:"px-5 py-2 rounded-[3rem] bg-gray-100",attrs:{id:"clear"},on:{click:t.clear}},[t._v("Clear")])])]),a("div",{staticClass:"flex justify-center py-8"},[a("button",{staticClass:"px-5 py-2 rounded-[3rem] border border-black",on:{click:t.save}},[t._v("Check-in →")])])])])},we=[],Ce=a(1634),Ae={name:"AppBottomCart",components:{vueSignature:Ce.Z},data(){return{option:{penColor:"rgb(0, 0, 0)",backgroundColor:"rgb(255,255,255)"},disabled:!1,dataUrl:"https://avatars2.githubusercontent.com/u/17644818?s=460&v=4",visible:!1,success:!1,from_date:x()().format("Y-m-d"),to_date:x()().add("+3 days").format("Y-m-d")}},created(){var t=this.$root.getQueryVariable("online-checkin");t&&(this.visible=!0)},methods:{onClose(){this.visible=!1},clear(){this.$refs.signature.clear()},save(){this.success=!0}}},$e=Ae,Le=(0,u.Z)($e,ke,we,!1,null,null,null),Se=Le.exports,Me=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("a-drawer",{class:{"drawer-custom-first-screen":t.checkScreen},attrs:{wrapClassName:"drawer-custom",placement:"bottom",height:"auto",closable:!1,visible:t.visible},on:{close:t.onClose}},[a("div",{staticClass:"flex justify-end"},[a("a",{staticClass:"block hover:bg-gray-200 rounded-full p-1",attrs:{href:"javascript:void(0)"},on:{click:function(e){return t.doNotSetCookie()}}},[a("svg",{staticClass:"fill-current text-gray-800 rounded-full",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",height:"32",width:"32"}},[a("title",[t._v("Close")]),a("path",{attrs:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 368L144 144M368 144L144 368"}})])])]),a("div",{staticClass:"flex flex-col gap-6"},[a("div",{staticClass:"font-medium text-md"},[t._v(" "+t._s(""==this.$root.getLangText(t.cookie.title)?t.cookie.title["en"]:this.$root.getLangText(t.cookie.title))+" ")]),a("div",{staticClass:"text-sm text-gray-500"},[t._v(t._s(""==this.$root.getLangText(t.cookie.descr)?t.cookie.descr["en"]:this.$root.getLangText(t.cookie.descr)))]),a("div",{staticClass:"flex justify-between mt-4 items-center"},[a("a",{staticClass:"text-gray-500 underline",on:{click:function(e){return t.doNotSetCookie()}}},[t._v(t._s(""==this.$root.getLangText(t.cookie.button_not_accept)?t.cookie.button_not_accept["en"]:this.$root.getLangText(t.cookie.button_not_accept)))]),a("button",{staticClass:"text-white bg-black hover:bg-blue-800 focus:outline-none focus:ring-4 focus:ring-blue-300 font-medium rounded-full text-sm px-5 py-2.5 text-center",attrs:{type:"button"},on:{click:function(e){return t.setCookie()}}},[t._v(" "+t._s(""==this.$root.getLangText(t.cookie.button_accept)?t.cookie.button_accept["en"]:this.$root.getLangText(t.cookie.button_accept))+" ")])])])])},Be=[],Pe={name:"AppBottomPrivacyCookie",data(){return{visible:!(void 0!=localStorage.getItem("access_cookie")||location.pathname.indexOf("/chat")>-1),cookie:{title:{en:"This site uses cookies and services to collect technical data from visitors to ensure performance and improve the quality of service.",ru:"Этот сайт использует файлы cookies и сервисы сбора технических данных посетителей для обеспечения работоспособности и улучшения качества обслуживания.",pl:"Ta strona używa plików cookies dla zbierania technicznych danych użytkowników w celu zapewnienia wydajności divalności witryny oraz polepszenia jakości obsługi."},descr:{en:'By clicking the "Accept" button, you agree to this.',ru:'Нажимая кнопку "Принять", Вы соглашаетесь с этим.',pl:"Poprzez kliknięcie „Akceptuję”, wyrażasz na to zgodę."},button_detail:{en:"Detailed information",ru:"Детальная информация"},button_accept:{en:"Accept all",ru:"Принять все",pl:"Akceptuję wszystkie pliki cookies"},button_not_accept:{en:"Do not use",ru:"Не использовать",pl:"Nie używać"},page:{en:"<div><h3>1. Introduction: Cookies are used on this website</h3><p>By using this website, you consent to the processing of cookies, user data (location information; OS type and version; browser type and version; device type and screen resolution; source from where the user went to the site; from which site or through which advertisement; OS and Browser language; which pages opens and which buttons the user clicks on; ip address) for the purposes of website operation, retargeting and statistical research and reviews. If you do not want your data to be processed, you must leave this site.advertising; OS and Browser language; which pages are opened and which buttons are clicked by the user; ip address)</p><h3>2. About cookies</h3><p>Cookies are used on this website. A cookie is a small, simple file (a string of letters and numbers) that is sent along with the pages of a website and stored by the browser on your computer's hard drive. On subsequent visits, the information from this file can be sent back to our servers.</p><p>Web servers can use cookies to identify and track users when browsing various pages of a website, as well as determine whether they have visited it before.</p><h3>3. Cookies and personal data</h3><p>The cookies that we store through our website do not contain any information that allows us to identify you.</p><h3>4.Enabling, disabling and deleting cookies</h3><p>More detailed information about enabling, disabling and deleting cookies can be found in the instructions for your browser or in its help.</p><h3>5.Additional information about cookies</h3><p>More information about cookies can be found on <a href='https://ru.wikipedia.org/wiki/Cookie'>Wikipedia</a>, or other websites.</p></div>",ru:"<div><h3>1. Вступление: на этом веб-сайте используются файлы cookie</h3><p>Используя этот веб-сайт, Вы даете согласие на обработку файлов cookie, пользовательских данных (сведения о местоположении; тип и версия ОС; тип и версия Браузера; тип устройства и разрешение его экрана; источник откуда пользователь перешел на сайт; с какого сайта или по какой рекламе; язык ОС и Браузера; какие страницы открывает и на какие кнопки нажимает пользователь; ip-адрес) в целях функционирования сайта, проведения ретаргетинга и проведения статистических исследований и обзоров. Если Вы не хотите, чтобы Ваши данные обрабатывались, Вы должны покинуть данный сайт.</p><h3>2. О файлах cookie</h3><p>На этом веб-сайте используются файлы cookie. Cookie — это небольшой простой файл (строка из букв и цифр), который отправляется вместе со страницами веб-сайта и сохраняется браузером на жестком диске вашего компьютера. При последующих посещениях информация из этого файла, может быть отправлена обратно на наши серверы.</p><p>Веб-серверы могут с помощью файлов cookie идентифицировать и отслеживать пользователей при просмотре различных страниц веб-сайта, а также определять, посещали ли они его ранее.</p><h3>3. Файлы cookie и персональные данные</h3><p>Файлы cookie, которые мы сохраняем через свой веб-сайт, не содержат каких-либо сведений, позволяющих установить вашу личность.</p><h3>4. Включение, отключение и удаление файлов cookie</h3><p>Более подробную информацию о включении, отключении и удалении файлов cookie можно найти в инструкциях к вашему браузеру или в его справке.</p><h3>5. Дополнительные сведения о файлах cookie</h3><p>Дополнительные сведения о файлах cookie можно найти в <a href='https://ru.wikipedia.org/wiki/Cookie'>Википедии</a>, или других веб-сайтах.</p></div>",pl:"<div><h3>1. Wstęp: Ta witryna wykorzystuje pliki cookie</h3><p>Korzystając z tej witryny, wyrażasz zgodę na przetwarzanie plików cookie, danych użytkownika (informacje o lokalizacji; typ i wersja systemu operacyjnego; typ i wersja przeglądarki; typ urządzenia i rozdzielczość ekranu; źródło, z którego użytkownik przeszedł na stronę; z jakiej strony lub przez jaką reklamę; język systemu operacyjnego i przeglądarki; które strony otwierają i w które przyciski użytkownik klika; adres ip) dla celów divania strony, retargetingu oraz badań i recenzji statystycznych . Jeżeli nie chcesz, aby Twoje dane były przetwarzane, musisz opuścić tę stronę.reklama; Język systemu operacyjnego i przeglądarki; które strony są otwierane i które przyciski są klikane przez użytkownika; adres IP)</p><h3>2. O plikach cookie</h3><p>Na tej stronie używane są pliki cookie. Cookie to mały, prosty plik (ciąg liter i cyfr), który jest wysyłany wraz ze stronami serwisu internetowego i przechowywany przez przeglądarkę na twardym dysku Twojego komputera. Podczas kolejnych odwiedzin informacje z tego pliku mogą być przesyłane z powrotem na nasze serwery.</p><p>Serwery internetowe mogą wykorzystywać pliki cookie do identyfikowania i śledzenia użytkowników podczas przeglądania różnych stron witryny internetowej, a także ustalania, czy odwiedzili oni to wcześniej.</p><h3>3. Pliki cookie i dane osobowe</h3><p>Pliki cookie, które przechowujemy za pośrednictwem naszej witryny, nie zawierają żadnych informacji, które pozwalają nam Cię zidentyfikować.</p><h3>4. Włączanie, wyłączanie i usuwanie plików cookie</h3> <p>Szczegółowe informacje na temat włączania, wyłączania i usuwania plików cookie znajdziesz w instrukcji przeglądarki lub w jej pomocy.</p><h3>5. Dodatkowe informacje o plikach cookie</h3><p>Więcej informacji o plikach cookie pliki cookie można znaleźć na <a href='https://ru.wikipedia.org/wiki/Cookie'>Wikipedia</a> lub na innych stronach internetowych.</p></div>"}}}},created(){},methods:{onClose(){this.visible=!1},setCookie(){localStorage.setItem("access_cookie",!0),this.visible=!1},doNotSetCookie(){localStorage.setItem("access_cookie",!1),this.visible=!1}},computed:{checkScreen(){let t;return t="home"===this.$route.name&&("true"===localStorage.getItem("main-screen")||null===localStorage.getItem("main-screen"))&&("video_template"===this.$root.template||"slider_template"===this.$root.template),t}}},Ie=Pe,Te=(0,u.Z)(Ie,Me,Be,!1,null,null,null),Ee=Te.exports,ze={name:"AppBottomNavigation",components:{AppBottomServices:qt,ArticleNotificationOrders:ge,AppCartButton:be,AppBottomCart:Nt,AppBottomOnlineCheckin:Se,AppBottomPrivacyCookie:Ee},data(){return{visibleBottomServices:!1,visibleBottomMyOrders:!1,visibleBottomCart:!1,badges:{chat:void 0!=localStorage.getItem("count-unread-messages")?parseInt(localStorage.getItem("count-unread-messages")):0,order:0}}},mounted(){Ka.$emit("navigation-menu-uploaded"),"home"!==this.$route.name&&(document.getElementById("bottom-navigation").classList.add("bottom-0"),document.getElementById("bottom-navigation").classList.remove("bottom-[-100px]"))},computed:{displayHomeButton(){return"radissoncollectionbrussels"!==this.$root.hotelCode&&"radissongdansktest"!==this.$root.hotelCode&&"radissongdanskstaff"!==this.$root.hotelCode&&("arkhyzroomservice"!==this.$root.hotelCode&&"mirotelroomservise"!==this.$root.hotelCode&&"marriottroomservice"!==this.$root.hotelCode&&"valorestaurants"!==this.$root.hotelCode&&"novotelamsterdambreakfast"!==this.$root.hotelCode&&!this.$root.hotel.is_active_chat)},displayServicesButton(){var t=!0;return"alliance-borodino"===this.$root.hotelCode&&(t=!1),t},displayHelpButton(){return"/sections/205412"!=window.location.pathname&&(void 0!==this.$root.hotel.help_link&&this.$root.hotel.help_link.length>0)}},created(){Ka.$on("badges-bottom-navigation",(t=>{"chat"==t.action&&(localStorage.setItem("count-unread-messages",t.count),this.badges.chat=t.count)})),Ka.$on("active-bottom-navigation",(t=>{"my-orders"==t.menu&&(this.visibleBottomMyOrders=t.visible,!0===this.visibleBottomMyOrders&&(this.badges.order=0))})),Ka.$on("badges-order-bottom-navigation",(t=>{"my-orders"==t.menu&&(this.badges.order=t.count)}))},watch:{visibleBottomServices(t){this.$root.freezeActivePageScroll(t)}},methods:{openBottomServices(){this.visibleBottomMyOrders=!1,this.visibleBottomCart=!1,this.visibleBottomServices=!this.visibleBottomServices,this.$refs.bottomServices.fetchSections()},openBottomMyOrders(){this.visibleBottomServices=!1,this.visibleBottomCart=!1,Ka.$emit("toggle-my-orders")},openCart(){Object.keys(this.$root.cart).length>0&&this.$root.cart.products.length?Ka.$emit("cart"):(this.visibleBottomServices=!1,this.visibleBottomMyOrders=!1,this.visibleBottomCart=!this.visibleBottomCart)},openChat(){Ka.$emit("open-chat")},redirectUrl(t){window.location=t}}},Ne=ze,Oe=(0,u.Z)(Ne,Mt,Bt,!1,null,null,null),je=Oe.exports,De=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"fixed w-full flex justify-center z-50 transition duration-700 bottom-0",attrs:{id:"bottom-navigation"}},[a("div",{staticClass:"shadow bg-white  rounded-t-lg w-full sm:w-[600px]",staticStyle:{"box-shadow":"0 -4px 8px 0 rgb(0 0 0 / 7%)"}},[a("app-bottom-services",{ref:"bottomServices"}),a("article-notification-orders"),a("app-bottom-cart"),a("app-bottom-online-checkin"),"locations-occupancy"!==t.$route.name?a("app-bottom-privacy-cookie"):t._e(),a("div",{staticClass:"relative p-3 safe-padding-b-3",class:["taigara"==t.$root.hotelCode?"bg-[#455E4C] rounded-t-lg text-white":""]},[t.$root.cart&&t.$root.cart.products.length&&"home"!=t.$route.name&&""!=t.$route.name?a("app-cart-button",{on:{click:t.openCart}}):a("div",{staticClass:"flex px-3 md:px-6",class:[t.navigationMenu&&t.navigationMenu.length<3?"justify-center space-x-20":"justify-between"]},t._l(t.navigationMenu,(function(e){return e.active?a("button",{staticClass:"flex items-center flex-col text-center min-w-[55px] relative",class:["taigara"==t.$root.hotelCode?"text-[#ffffff]":"wyndhamsroclawoldtown"==t.$root.hotelCode?"text-[#0574BC]":"text-[#7e7e7e]"],on:{click:function(a){return t.clickMenu(e)}}},["home"==e.icon?a("svg",{staticClass:"fill-current w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[a("path",{attrs:{d:"M11.47 3.84a.75.75 0 011.06 0l8.69 8.69a.75.75 0 101.06-1.06l-8.689-8.69a2.25 2.25 0 00-3.182 0l-8.69 8.69a.75.75 0 001.061 1.06l8.69-8.69z"}}),a("path",{attrs:{d:"M12 5.432l8.159 8.159c.03.03.06.058.091.086v6.198c0 1.035-.84 1.875-1.875 1.875H15a.75.75 0 01-.75-.75v-4.5a.75.75 0 00-.75-.75h-3a.75.75 0 00-.75.75V21a.75.75 0 01-.75.75H5.625a1.875 1.875 0 01-1.875-1.875v-6.198a2.29 2.29 0 00.091-.086L12 5.43z"}})]):t._e(),"services"==e.icon?a("svg",{staticClass:"fill-current",attrs:{xmlns:"http://www.w3.org/2000/svg",height:"24px",viewBox:"0 0 24 24",width:"24px"}},[a("path",{attrs:{d:"M0 0h24v24H0V0z",fill:"none"}}),a("path",{attrs:{d:"M16 6v8h3v8h2V2c-2.76 0-5 2.24-5 4zm-5 3H9V2H7v7H5V2H3v7c0 2.21 1.79 4 4 4v9h2v-9c2.21 0 4-1.79 4-4V2h-2v7z"}})]):t._e(),"chat"==e.icon?a("svg",{staticClass:"fill-current w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"}},[a("path",{attrs:{d:"M4.913 2.658c2.075-.27 4.19-.408 6.337-.408 2.147 0 4.262.139 6.337.408 1.922.25 3.291 1.861 3.405 3.727a4.403 4.403 0 00-1.032-.211 50.89 50.89 0 00-8.42 0c-2.358.196-4.04 2.19-4.04 4.434v4.286a4.47 4.47 0 002.433 3.984L7.28 21.53A.75.75 0 016 21v-4.03a48.527 48.527 0 01-1.087-.128C2.905 16.58 1.5 14.833 1.5 12.862V6.638c0-1.97 1.405-3.718 3.413-3.979z"}}),a("path",{attrs:{d:"M15.75 7.5c-1.376 0-2.739.057-4.086.169C10.124 7.797 9 9.103 9 10.609v4.285c0 1.507 1.128 2.814 2.67 2.94 1.243.102 2.5.157 3.768.165l2.782 2.781a.75.75 0 001.28-.53v-2.39l.33-.026c1.542-.125 2.67-1.433 2.67-2.94v-4.286c0-1.505-1.125-2.811-2.664-2.94A49.392 49.392 0 0015.75 7.5z"}})]):t._e(),"help"==e.icon?a("svg",{staticClass:"fill-current base-color w-7 h-7",staticStyle:{"margin-top":"-4px"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[a("path",{attrs:{d:"M15.07,11.25L14.17,12.17C13.45,12.89 13,13.5 13,15H11V14.5C11,13.39 11.45,12.39 12.17,11.67L13.41,10.41C13.78,10.05 14,9.55 14,9C14,7.89 13.1,7 12,7A2,2 0 0,0 10,9H8A4,4 0 0,1 12,5A4,4 0 0,1 16,9C16,9.88 15.64,10.67 15.07,11.25M13,19H11V17H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z"}})]):t._e(),"orders"==e.icon?a("svg",{staticClass:"w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M5.25 9a6.75 6.75 0 0113.5 0v.75c0 2.123.8 4.057 2.118 5.52a.75.75 0 01-.297 1.206c-1.544.57-3.16.99-4.831 1.243a3.75 3.75 0 11-7.48 0 24.585 24.585 0 01-4.831-1.244.75.75 0 01-.298-1.205A8.217 8.217 0 005.25 9.75V9zm4.502 8.9a2.25 2.25 0 104.496 0 25.057 25.057 0 01-4.496 0z","clip-rule":"evenodd"}})]):t._e(),"cart"==e.icon?a("svg",{staticClass:"w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"}},[a("path",{attrs:{d:"M2.25 2.25a.75.75 0 000 1.5h1.386c.17 0 .318.114.362.278l2.558 9.592a3.752 3.752 0 00-2.806 3.63c0 .414.336.75.75.75h15.75a.75.75 0 000-1.5H5.378A2.25 2.25 0 017.5 15h11.218a.75.75 0 00.674-.421 60.358 60.358 0 002.96-7.228.75.75 0 00-.525-.965A60.864 60.864 0 005.68 4.509l-.232-.867A1.875 1.875 0 003.636 2.25H2.25zM3.75 20.25a1.5 1.5 0 113 0 1.5 1.5 0 01-3 0zM16.5 20.25a1.5 1.5 0 113 0 1.5 1.5 0 01-3 0z"}})]):t._e(),"spa"==e.icon?a("svg",{staticClass:"w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",fill:"currentColor"}},[a("title",[t._v("Leaf")]),a("path",{attrs:{d:"M161.35 242a16 16 0 0122.62-.68c73.63 69.36 147.51 111.56 234.45 133.07 11.73-32 12.77-67.22 2.64-101.58-13.44-45.59-44.74-85.31-90.49-114.86-40.84-26.38-81.66-33.25-121.15-39.89-49.82-8.38-96.88-16.3-141.79-63.85-5-5.26-11.81-7.37-18.32-5.66-7.44 2-12.43 7.88-14.82 17.6-5.6 22.75-2 86.51 13.75 153.82 25.29 108.14 65.65 162.86 95.06 189.73 38 34.69 87.62 53.9 136.93 53.9a186 186 0 0027.77-2.04c41.71-6.32 76.43-27.27 96-57.75-89.49-23.28-165.94-67.55-242-139.16a16 16 0 01-.65-22.65zM467.43 384.19c-16.83-2.59-33.13-5.84-49-9.77a157.71 157.71 0 01-12.13 25.68c-.73 1.25-1.5 2.49-2.29 3.71a584.21 584.21 0 0058.56 12 16 16 0 104.87-31.62z"}})]):t._e(),"info"==e.icon?a("svg",{staticClass:"w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M2.25 12c0-5.385 4.365-9.75 9.75-9.75s9.75 4.365 9.75 9.75-4.365 9.75-9.75 9.75S2.25 17.385 2.25 12zm8.706-1.442c1.146-.573 2.437.463 2.126 1.706l-.709 2.836.042-.02a.75.75 0 01.67 1.34l-.04.022c-1.147.573-2.438-.463-2.127-1.706l.71-2.836-.042.02a.75.75 0 11-.671-1.34l.041-.022zM12 9a.75.75 0 100-1.5.75.75 0 000 1.5z","clip-rule":"evenodd"}})]):t._e(),"phone_call"==e.icon?a("svg",{staticClass:"w-6 h-6",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"}},[a("path",{attrs:{"fill-rule":"evenodd",d:"M1.5 4.5a3 3 0 013-3h1.372c.86 0 1.61.586 1.819 1.42l1.105 4.423a1.875 1.875 0 01-.694 1.955l-1.293.97c-.135.101-.164.249-.126.352a11.285 11.285 0 006.697 6.697c.103.038.25.009.352-.126l.97-1.293a1.875 1.875 0 011.955-.694l4.423 1.105c.834.209 1.42.959 1.42 1.82V19.5a3 3 0 01-3 3h-2.25C8.552 22.5 1.5 15.448 1.5 6.75V4.5z","clip-rule":"evenodd"}})]):t._e(),"chat"==e.code&&t.badges.chat>0?a("div",{staticClass:"inline-flex absolute -top-1 right-0 justify-center items-center w-4 h-4 text-[10px] font-bold text-white bg-red-500 rounded-full border-2 border-white"}):t._e(),"orders"==e.code&&t.badges.order>0?a("div",{staticClass:"inline-flex absolute -top-1 right-0 justify-center items-center w-4 h-4 text-[10px] font-bold text-white bg-red-500 rounded-full border-2 border-white"}):t._e(),"cart"==e.code&&t.$root.cart&&t.$root.cart.products.length?a("div",{staticClass:"inline-flex absolute -top-1 right-0 justify-center items-center w-4 h-4 text-[10px] font-bold text-white bg-red-500 rounded-full border-2 border-white"}):t._e(),a("div",{staticClass:"text-[10px]",class:["help"==e.icon?"base-color":""]},[t._v(t._s(t.$root.getLangText(e.title)))])]):t._e()})),0)],1)],1)])},He=[],Ke={name:"AppBottomNavigation",props:["navigationMenu"],components:{AppBottomServices:qt,ArticleNotificationOrders:ge,AppCartButton:be,AppBottomCart:Nt,AppBottomOnlineCheckin:Se,AppBottomPrivacyCookie:Ee},data(){return{visibleBottomServices:!1,visibleBottomMyOrders:!1,visibleBottomCart:!1,badges:{chat:void 0!=localStorage.getItem("count-unread-messages")?parseInt(localStorage.getItem("count-unread-messages")):0,order:0}}},mounted(){Ka.$emit("navigation-menu-uploaded"),"home"!==this.$route.name&&(document.getElementById("bottom-navigation").classList.add("bottom-0"),document.getElementById("bottom-navigation").classList.remove("bottom-[-100px]"))},created(){Ka.$on("badges-bottom-navigation",(t=>{"chat"==t.action&&(localStorage.setItem("count-unread-messages",t.count),this.badges.chat=t.count)})),Ka.$on("active-bottom-navigation",(t=>{"my-orders"==t.menu&&(this.visibleBottomMyOrders=t.visible),!0===t.visible&&(this.badges.order=0)})),Ka.$on("badges-order-bottom-navigation",(t=>{"my-orders"==t.menu&&(this.badges.order=t.count)}))},watch:{visibleBottomServices(t){this.$root.freezeActivePageScroll(t)}},methods:{clickMenu(t){if(t.external_link&&(window.location=t.external_link),"home"==t.code&&this.$router.push("/"),"chat"==t.code&&Ka.$emit("open-chat"),"services"==t.code&&(this.visibleBottomServices=!this.visibleBottomServices,this.$refs.bottomServices.fetchSections()),"orders"==t.code&&Ka.$emit("toggle-my-orders"),"cart"==t.code){if(Object.keys(this.$root.cart).length>0&&this.$root.cart.products.length)return void Ka.$emit("cart");this.visibleBottomCart=!this.visibleBottomCart}}}},qe=Ke,Re=(0,u.Z)(qe,De,He,!1,null,null,null),Ye=Re.exports,Ge={components:{AppBottomNavigation:je,AppHotelBottomNavigation:Ye},data(){return{fetchedHotel:null,loading:!1,hotelBottomNavigationMenu:null,section:null}},watch:{"$root.hotel":function(t){if(t){var e=window.location.pathname;this.fetchedHotel||this.loading||this.fetch(e)}}},created(){Ka.$on("update-bottom-navigation-menu",(t=>{var e=t.newPath?t.newPath:window.location.pathname;return this.fetch(e)}))},methods:{fetch(t=null){this.loading=!0;var e=this.getSectionId(t);this.$http.get("https://admin.2roomz.com/api/v1/public/hotels/"+this.$root.hotel.uuid+"/bottom-navigation-menu",{params:{section_id:e,path:t}}).then((({data:t})=>{this.loading=!1,this.fetchedHotel=!0,this.hotelBottomNavigationMenu=t}))},async getSection(){void 0!==this.$root.hotel&&0!=this.$root.hotel.length||await this.$root.getHotel();var t=this.getSectionId(currentUrl),e="https://admin.2roomz.com/api/v1/hotels/"+this.$root.hotelCode+"/products/"+t;await this.$http.get(e).then((t=>{this.section=t.data.data.section}))},getSectionId(t=null){const e=t||window.location.pathname,a=/^(\/sections\/|\/products\/)\d+\/?$/;if(a.test(e)){const t=e.replace(/\/$/,""),a=t.split("/");return a[a.length-1]}return null}}},Fe=Ge,We=(0,u.Z)(Fe,Lt,St,!1,null,null,null),Qe=We.exports,Ve=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",t._l(t.results,(function(t){return a("announcement-modal",{attrs:{announcement:t}})})),1)},Ze=[],Ue=function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.announcement?a("div",[a("modal",{attrs:{dir:"ltr",name:"modal-announcements-"+t.announcement.id,width:350,height:"auto",scrollable:""}},[a("div",{staticClass:"w-full max-w-sm bg-white"},[t.langImage?a("div",{on:{click:t.openExternalLink}},[a("img",{staticClass:"rounded-t-lg",staticStyle:{"min-width":"350px"},attrs:{src:t.$root.getImage(t.langImage),alt:"product image"}})]):t._e(),a("div",{staticClass:"right-0 top-0 p-2 absolute"},[a("button",{staticClass:"text-gray-600 bg-gray-50 hover:bg-gray-200 p-1 opacity-75 rounded-full",on:{click:function(e){return t.$modal.hide("modal-announcements-"+t.announcement.id)}}},[a("svg",{staticClass:"h-6 w-6",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[a("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M6 18L18 6M6 6l12 12"}})])])]),void 0===t.announcement.extra.hide_title||null===t.announcement.extra.hide_title||!1===t.announcement.extra.hide_title||t.$root.getLangText(t.announcement.content)?a("div",{staticClass:"px-5 py-5",on:{click:t.openExternalLink}},[null===t.announcement.extra.hide_title||void 0===t.announcement.extra.hide_title||!1===t.announcement.extra.hide_title?a("div",{staticClass:"text-xl font-medium tracking-tight text-gray-900",domProps:{innerHTML:t._s(t.$root.getLangText(t.announcement.title))}}):t._e(),t.$root.getLangText(t.announcement.content)?a("div",{staticClass:"mt-4",domProps:{innerHTML:t._s(t.$root.getLangText(t.announcement.content))}}):t._e()]):t._e()])])],1):t._e()},Je=[],Xe={props:["announcement"],computed:{langImage(){if(this.announcement){if(this.announcement.extra&&this.announcement.extra.lang_file&&this.announcement.extra.lang_file[this.$root.currentLanguage])return this.announcement.extra.lang_file[this.$root.currentLanguage];if(this.announcement.extra&&void 0!==this.announcement.extra.file&&null!==this.announcement.extra.file)return this.announcement.extra.file}}},methods:{openExternalLink(){this.announcement.extra.external_link&&""!==this.announcement.extra.external_link&&window.open(this.announcement.extra.external_link)}}},ta=Xe,ea=(0,u.Z)(ta,Ue,Je,!1,null,null,null),aa=ea.exports,oa={components:{AnnouncementModal:aa},data(){return{results:null,parentSectionId:null,image:null}},created(){Ka.$on("modal-announcement",(t=>{this.parentSectionId=t.parent_section_id,this.fetch()}))},watch:{results(){this.results.map((t=>{this.displayAnons(t)}))}},methods:{fetch(){this.$http.get("https://admin.2roomz.com/api/v1/public/announcements?hotel_id="+this.$root.hotel.id).then((t=>{t.data&&t.data.data&&t.data.data.length>0&&(this.results=t.data.data)}))},getDefaultRoomNumber(){return void 0!=localStorage.getItem("fs_room_number")?localStorage.getItem("fs_room_number"):""},displayAnons(t){if(!(location.pathname.indexOf("/chat")>-1))try{var e="display_announcement_"+t.id+t.updated_at;if(void 0===localStorage.getItem(e)||null===localStorage.getItem(e)){var a=t.extra.web_popup_config.display_time_after_visit_site,o=t.extra.web_popup_config.include_section_ids,r=t.extra.web_popup_config.display_only_room_numbers,s=t.extra.web_popup_config.display_every_refresh,i=!!t.extra.web_popup_config.hasOwnProperty("display_only_via_qrcode")&&t.extra.web_popup_config.display_only_via_qrcode;if(void 0!==i&&null!==i&&i){var n=this.$root.getQueryVariable("announcement_id");if(!(void 0!==n&&n&&parseInt(n)>0&&t.id==parseInt(n)))return console.log("Anons not right qrcode"),!1}if(void 0!==o&&null!==o&&""!==o&&o.length>0)if(null==this.parentSectionId&&o.includes(null));else if(null==this.parentSectionId||!o.includes(this.parentSectionId))return console.log("Anons not right page via section"),!1;if(void 0!==r&&null!==r&&""!==r){if(""==this.getDefaultRoomNumber())return!1;r=r.split(",");if(r.indexOf(this.getDefaultRoomNumber())<0)return console.log("Anons not right room number"),!1}setTimeout((()=>{this.$modal.show("modal-announcements-"+t.id)}),60*parseFloat(a??0)*1e3),void 0!==s&&null!=s&&s||localStorage.setItem(e,!0)}}catch(c){console.log(c)}}}},ra=oa,sa=(0,u.Z)(ra,Ve,Ze,!1,null,null,null),ia=sa.exports,na=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("modal",{attrs:{name:"modal-agreement",width:"100%",height:"100%",scrollable:""}},[a("div",{staticClass:"flex py-4 px-4 shadow text items-center text-black"},[a("button",{on:{click:function(e){return t.$modal.hide("modal-agreement")}}},[a("svg",{staticClass:"w-8 h-8 fill-current",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}},[a("title",[t._v("Arrow Back")]),a("path",{attrs:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M244 400L100 256l144-144M120 256h292"}})])]),a("div",{staticClass:"ml-2"},[t._v(t._s(t.$root.getKeyWord("staff_data")))])]),a("div",{staticClass:"p-4 text-xs h-screen overflow-y-auto text-black"},[a("div",{staticStyle:{"margin-bottom":"100px"},domProps:{innerHTML:t._s(t.$root.getLangObject(t.$root.public_info.full_agreement))}})])])},ca=[],la={name:"app-agreement"},_a=la,da=(0,u.Z)(_a,na,ca,!1,null,null,null),ua=da.exports,ma=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("modal",{attrs:{name:"modal-privacy-policy",width:"100%",height:"100%",scrollable:""}},[a("div",{staticClass:"flex py-4 px-4 shadow text items-center text-black"},[a("button",{on:{click:function(e){return t.$modal.hide("modal-privacy-policy")}}},[a("svg",{staticClass:"w-8 h-8 fill-current",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}},[a("title",[t._v("Arrow Back")]),a("path",{attrs:{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"48",d:"M244 400L100 256l144-144M120 256h292"}})])]),a("div",{staticClass:"ml-2"},[t._v(t._s(t.$root.getKeyWord("privacy_policy")))])]),a("div",{staticClass:"p-4 text-xs h-screen overflow-y-auto text-black"},[a("div",{staticStyle:{"margin-bottom":"100px"},domProps:{innerHTML:t._s(t.$root.getLangObject(t.$root.public_info.privacy_policy))}})])])},pa=[],ga={},ha=ga,va=(0,u.Z)(ha,ma,pa,!1,null,null,null),fa=va.exports,xa={name:"App",data(){return{basic_color:"#333"}},components:{AppPrivacyPolicy:fa,AppAgreement:ua,AppHeader:i.Z,AppCart:Y,AppProductCart:mt.Z,AppOrderSuccessSplash:$t,AppFooter:g.Z,AppBottomNavigation:Qe,AppFlyHeader:p,ArticleProductFastCart:yt,AppAnnouncements:ia,AppChat:ut},computed:{cssProps(){return{"--main-font":this.getFont(),"--main-color":this.$root.hotelColor(),"--footer-color":this.$root.footerColor(),"--vh":.01*window.innerHeight+"px","padding-bottom":"main"==this.$route.name?"400px":"0px"}}},methods:{getFont(){return this.$root.hotel&&this.$root.hotel.font?this.$root.hotel.font:"Ubuntu"},mainScroll(t){Ka.$emit("main-scroll",t)},openChat(){Ka.$emit("open-chat")}}},ya=xa,ba=(0,u.Z)(ya,r,s,!1,null,null,null),ka=ba.exports,wa=a(78345),Ca=a(38035),Aa=a.n(Ca),$a=a(79278),La=a(93081),Sa=a.n(La),Ma=a(17751),Ba=a(77060),Pa=a.n(Ba),Ia=a(97611),Ta=a.n(Ia),Ea=a(32982),za=a.n(Ea),Na=a(80796),Oa=(a(68644),a(29578),a(69167),a(27431),a(25607),a(77181),a(18693),a(60418)),ja=a(31650),Da=a(84246);a(62467),a(96486);o.Z.use(wa.Z),o.Z.use(Aa()),o.Z.directive("mask",$a.e9),o.Z.use(Sa()),o.Z.use(Ma.Z),o.Z.use(Pa()),o.Z.use(Ta(),{dialog:!0}),o.Z.use(za());const Ha=Na["default"].CalendarRange.methods.updateCalendars;Na["default"].CalendarRange.methods.updateCalendars=function(...t){Ha.apply(this,t),this.calendars=this.calendars.map((t=>{const e=new Date(t);return e.setMonth(e.getMonth()-1),e}))},o.Z.use(Na["default"]),o.Z.use(Oa.Z),o.Z.use(ja.ZP),o.Z.use(Da.ZP),o.Z.component("v-input-quantity",a(57301).Z);const Ka=new o.Z;o.Z.prototype.$http=at();const qa=()=>Promise.all([a.e(750),a.e(880)]).then(a.bind(a,83742)),Ra=()=>a.e(71).then(a.bind(a,98071)),Ya=()=>a.e(449).then(a.bind(a,75449)),Ga=()=>a.e(174).then(a.bind(a,12174)),Fa=()=>Promise.all([a.e(750),a.e(528)]).then(a.bind(a,13830)),Wa=()=>a.e(408).then(a.bind(a,5408)),Qa=()=>a.e(259).then(a.bind(a,44259)),Va=()=>a.e(915).then(a.bind(a,57915)),Za=()=>a.e(247).then(a.bind(a,90247)),Ua=()=>a.e(911).then(a.bind(a,28911)),Ja=()=>a.e(798).then(a.bind(a,39798)),Xa=()=>a.e(979).then(a.bind(a,69979)),to=()=>a.e(160).then(a.bind(a,49160)),eo=()=>a.e(355).then(a.bind(a,68355));o.Z.config.productionTip=!1;const ao=new wa.Z({mode:"history",routes:[{path:"*",name:"NotFound",component:Za},{path:"/404",component:Za},{path:"",name:"home",component:qa},{path:"/home",name:"home",component:qa},{path:"/sections/:id",name:"sections",component:Fa,beforeEnter:(t,e,a)=>{localStorage.setItem("prev_route",e.path),a()}},{path:"/products/:id",name:"main",component:Ra,beforeEnter:(t,e,a)=>{"/"==e.path&&null!==localStorage.getItem("prev_route_old")?(localStorage.setItem("prev_route",localStorage.getItem("prev_route_old")),localStorage.removeItem("prev_route_old")):localStorage.setItem("prev_route",e.path),a()}},{path:"/skip-the-clean",component:Ya},{path:"/payment/success",component:Xa},{path:"/payment/error",component:to},{path:"/section-page/:id",component:Ga},{path:"/lottery/:id",component:Wa},{path:"/ar-promo",name:"ar-promo",component:Va},{path:"/ar",name:"ar",component:Qa},{path:"/chat",name:"chat",component:Ua},{path:"/booking",name:"booking",component:Ja},{path:"/locations-occupancy",name:"locations-occupancy",component:eo}]});o.Z.router=ao,ka.router=o.Z.router,ao.beforeEach(((t,e,a)=>{const o=t.path;e.path;Ka.$emit("update-bottom-navigation-menu",{newPath:o}),a()})),o.Z.directive("click-outside",{bind(t,e,a){var o=a.context,r=e.value;t.clickOutsideEvent=function(e){if(t!=e.target&&!t.contains(e.target))return r.call(o,e)},document.body.addEventListener("click",t.clickOutsideEvent)},unbind(t){document.body.removeEventListener("click",t.clickOutsideEvent)}}),o.Z.mixin({methods:{getCoName(){var t="2ROOMZ",e=window.location.hostname.split("."),a=document.getElementById("favicon");return e.length>1&&"dgstay"==e[1]&&(t="Dgstay",a.href="/favicon_dgstay.png"),document.title=t,t},isScheduledProduct(t){return!(!t.property||!t.property.properties)&&t.property.properties.findIndex((function(t){return"datetime"==t.ptype_id&&"scheduled"==t.pcode_id}))>-1},isMobile(){return!!(navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/BlackBerry/i)||navigator.userAgent.match(/Windows Phone/i))},uuidv4(){return([1e7]+-1e3+-4e3+-8e3+-1e11).replace(/[018]/g,(t=>(t^crypto.getRandomValues(new Uint8Array(1))[0]&15>>t/4).toString(16)))},generate_and_set_uuid(){let t=this.uuidv4(),e=localStorage.getItem("fs_uuids")&&void 0!==localStorage.getItem("fs_uuids")?JSON.parse(localStorage.getItem("fs_uuids")):[];return e.push(t),t},store_order_uuid(t){let e=localStorage.getItem("fs_uuids")&&void 0!==localStorage.getItem("fs_uuids")?JSON.parse(localStorage.getItem("fs_uuids")):[];return e.push(t),localStorage.setItem("fs_uuids",JSON.stringify(e)),t},getLasyImage(t){let e={src:t,error:a(18525),loading:a(18525)};return e},displayScheduleText(t,e=!0){if(!t||void 0===t||0===Object.values(t).length||!t.schedule)return"";if(this.$root.getLangText(t.schedule.descr))return this.$root.getLangText(t.schedule.descr);if(t.schedule.days.length>0){var a=this.$root.getKeyWord("working_hours")+": ",o=t.schedule.days.map((t=>{const e=this.getWeekdays(t.days),a=`${this.splitFormatTime(t.start_time)} - ${this.splitFormatTime(t.end_time)}`;return e?`${a} (${e})`:a}));return a+o.join(", ")}return e?this.$root.getKeyWord("available_soon"):""},splitFormatTime(t){var e=t.split(":");return e.length>2?e[0]+":"+e[1]:t},getWeekdays(t){if(t.every((t=>t)))return"";var e=void 0!=sessionStorage.getItem("lang")?sessionStorage.getItem("lang"):"en";const a={en:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],es:["Dom","Lun","Mar","Mié","Jue","Vie","Sáb"],fr:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],de:["So","Mo","Di","Mi","Do","Fr","Sa"],zh:["日","一","二","三","四","五","六"],ja:["日","月","火","水","木","金","土"],ru:["Вс","Пн","Вт","Ср","Чт","Пт","Сб"],pt:["Dom","Seg","Ter","Qua","Qui","Sex","Sáb"],ar:["أحد","إثنين","ثلاثاء","أربعاء","خميس","جمعة","سبت"],hi:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"]},o=a[e]||a["en"];let r=[],s=null;for(let c=0;c<t.length;c++)t[c]?null===s&&(s=o[c]):null!==s&&(s===o[c-1]?r.push(s):r.push(`${s}-${o[c-1]}`),s=null);null!==s&&(s===o[t.length-1]?r.push(s):r.push(`${s}-${o[t.length-1]}`));const i=r.filter((t=>!t.includes("-"))),n=r.filter((t=>t.includes("-")));return[...i,...n].join(", ")}},filters:{dbDateFormat(t){return x().utc(t).local().format("YYYY-MM-DD")},dateFormat(t){return x().utc(t).local().format("DD.MM.YYYY HH:mm")},dateFormatTZ(t){return x()(t).format("DD.MM.YYYY HH:mm")},monthFormat(t){return x().utc(t).local().format("DD.MM")},timeFormat(t){return""==t?"":x().utc(t).local().format("HH:mm")},dateFromNow(t){return""==t?"":x().utc(t).local().fromNow()}}}),new o.Z({render:t=>t(ka),router:ao,data(){return{hotel:[],logo:"",scrollTop:0,keyWords:[],languages:[],loading:!1,cart:{products:[]},cart_total_price:0,cart_total_quantity:0,cart_free_delivery:!1,title:"",public_info:{privacy_policy:"",full_agreement:"",is_adult_text:""},currentLanguage:void 0!=sessionStorage.getItem("lang")?sessionStorage.getItem("lang"):"en",weather:"",show_announce:!1}},created(){this.doRtl();let t=this.getQueryVariable("set-room");void 0!==t&&!0===/\d/.test(t)&&localStorage.setItem("fs_room_number",decodeURIComponent(t))},mounted(){this.getHotel()},watch:{"cart.payment":function(){this.hotel.payments&&Ka.$emit("updated-cart-payment")},currentLanguage(t){sessionStorage.setItem("lang",t),this.doRtl()}},computed:{hotelCode(){let t=window.location.host;"service.marriottimperialplaza.moscow"===t&&(t="marriottimperialplaza.2roomz.com"),"beeroteka-park.ru"===t&&(t="biroteka.2roomz.com");let e=t.split(".");return e[0]},template(){return location.pathname.indexOf("/chat")>-1?"":this.hotel?this.hotel.template:""}},methods:{changeViewport(){const t=document.head,e=document.querySelector('meta[name="viewport"]'),a=document.createElement("meta");a.setAttribute("name","viewport"),a.setAttribute("content","width=device-width, initial-scale=1, maximum-scale=5"),t.removeChild(e),t.appendChild(a)},buildCart(t){let e=JSON.parse(JSON.stringify(t));return e.products=e.products.map((t=>{if(delete t.section,delete t.parent_section,this.isScheduledProduct(t.product)){let e=t.product.property.properties.find((t=>"datetime"==t.ptype_id&&"scheduled"==t.pcode_id)),a=t.product.property.properties.findIndex((t=>"datetime"==t.ptype_id&&"scheduled"==t.pcode_id)),o=e.value;t.quantity=o.length,t.product.property.properties.splice(a,1),o.forEach((function(a,o){let r=JSON.parse(JSON.stringify(e));r.value=a,t.product.property.properties.push(JSON.parse(JSON.stringify(r)))}))}return t.product={id:t.product.id,property:this.buildProperty(t.product.property)},t})),e.property=this.buildProperty(e.property),e},buildProperty(t){return t&&void 0!==t?(t.properties=t.properties.map((t=>("name"==t.pcode_id&&localStorage.setItem("fs_name",t.value),{id:t.id,value:t.value,ptype_id:t.ptype_id,attrs:t.attrs.map((t=>({id:t.id,title:t.title,quantity:t.quantity,checked:t.checked})))}))),t):null},updateCart(){try{if(void 0==localStorage["cart"]||null==localStorage["cart"])return;var t=JSON.parse(localStorage["cart"]),e=0,a=0;this.$root.cart=t,this.$root.cart.products.map((t=>{e+=t.total_price,a+=t.quantity})),this.cart_total_quantity=a,this.cart_free_delivery=this.$root.cart.products.filter((t=>t.product.free_delivery)).length===this.$root.cart.products.length,this.$root.cart.products.forEach((t=>{e>0&&!t.product.free_delivery&&this.hotel.discount_percent>0&&(e+=parseFloat(t.total_price)*this.hotel.discount_percent/100)})),e>0&&!this.cart_free_delivery&&this.hotel.discount_percent<=0&&(e+=this.hotel.discount_price),this.cart_total_price=e;try{let t=this.$root.cart.products.map((t=>t.product.id));var o=JSON.parse(JSON.stringify(this.$root.hotel.property));this.$root.cart.property=o;var r={hotel_uuid:this.$root.hotel.uuid,filter:{product_ids:t}};let e="https://admin.2roomz.com/api/v1/public/properties";this.$http.get(e,{params:r}).then((t=>{this.$root.cart.property=t.data.data})),this.updateCartPayments()}catch(s){console.error(s)}}catch(s){console.error(s)}},updateCartPayments(){let t=this.$root.cart.products.map((t=>t.product.id));if(0!==t.length){var e="https://admin.2roomz.com/api/v1/public/cart/payments",a={hotel_uuid:this.$root.hotel.uuid,product_ids:t};this.$http.get(e,{params:a}).then((t=>{this.$root.cart.hotel_payments=t.data.data}))}else console.log("No products in the cart.")},cleanCart(){try{var t=JSON.parse(localStorage["cart"]);try{var e=this.$root.hotel.property;e.properties=this.$root.hotel.property.properties.map((e=>(t.property.properties.filter((t=>t.id==e.id)).length>0&&(e.value=t.property.properties.filter((t=>t.id==e.id))[0].value),e)))}catch(a){console.error(a)}t.products=[],t.hotel_id=this.$root.hotel.id,t.property=e,t.uuid="",t.is_temporary=!1,this.cart=t,localStorage["cart"]=JSON.stringify(t)}catch(a){}},async getHotel(){var t="https://admin.2roomz.com/api/v1/hotels/"+this.hotelCode;const e=this.$root.getQueryVariable("debug_mode");e&&(t+="?debug_mode="+encodeURIComponent(e)),await this.$http.get(t).then((t=>{if(404===t["data"]["status"]||!t.data.data||!t.data.data.hotel)return void this.$router.push("/404");this.hotel=t.data.data.hotel,this.keyWords=t.data.data.words,this.languages=t.data.data.languages,this.initLanguageToSite(this.languages),this.updateCart(),this.setLogo(),this.setMetrics(),this.getPublicInformation("is_adult_18"),this.getPublicInformation("is_adult_16"),"video_template"!==this.template&&"slider_template"!==this.template||this.getWeatherInfo(),this.hotel.favicon&&this.setFavicon(this.getImage(this.hotel.favicon));let e=this.$root.getQueryVariable("send-url"),a=this.$root.getQueryVariable("open-product-id"),o=this.$root.getQueryVariable("property-id"),r=this.$root.getQueryVariable("property-value");if(Ka.$emit("run-chat"),Ka.$emit("get-orders"),e){let t=this.$root.getQueryVariable("send-email");t&&sessionStorage.setItem("email",decodeURIComponent(t)),e=decodeURIComponent(e),document.getElementById("logo").style.display="none",document.getElementById("logo2").style.display="block",this.$router.push(window.atob(e))}else a?this.$router.push("/products/"+parseInt(a)):""!=this.hotel.start_page&&parseInt(this.hotel.start_page)>0&&"/404"!=window.location.pathname&&this.$router.push("/products/"+parseInt(this.hotel.start_page));o&&r&&this.setPropertyToLocalStorage(o,decodeURIComponent(r)),this.$nextTick((()=>{document.title=this.getLangObject(this.hotel.title),("video_template"!==this.template&&"slider_template"!==this.template&&!1===this.show_announce&&location.pathname.indexOf("/products")<0&&location.pathname.indexOf("/sections")<0&&location.pathname.indexOf("/lottery")<0&&location.pathname.indexOf("/section-page")<0||("video_template"===this.template||"slider_template"===this.template)&&!1===this.show_announce&&"true"===localStorage.getItem("is_second_screen")&&location.pathname.indexOf("/products")<0&&location.pathname.indexOf("/sections")<0&&location.pathname.indexOf("/lottery")<0&&location.pathname.indexOf("/section-page")<0)&&(Ka.$emit("modal-announcement",{parent_section_id:null}),this.show_announce=!0)}))})).catch((t=>{console.log(t)}))},async getPublicInformation(t){var e="https://admin.2roomz.com/api/v1/hotels/"+this.hotel.id+"/get-public-info/"+t;""===this.public_info[t]&&await this.$http.get(e).then((e=>{switch(t){case"privacy_policy":this.public_info.privacy_policy=e.data;break;case"full_agreement":this.public_info.full_agreement=e.data;break;case"is_adult_18":this.public_info.is_adult_text=e.data;break;case"is_adult_16":this.public_info.is_16_text=e.data;break}})).catch((t=>{console.log(t)}))},async getWeatherInfo(){var t="https://admin.2roomz.com/api/v1/hotels/"+this.hotel.id+"/get-weather-info";await this.$http.get(t).then((t=>{"Unable to fetch weather data"!==t.data&&(this.weather=t.data)})).catch((t=>{console.log(t)}))},getKeyWord(t){return void 0!=this.keyWords[t]&&void 0!=this.keyWords[t][this.currentLanguage]?this.keyWords[t][this.currentLanguage]:""},getLangText(t){return void 0!=t&&void 0!=t[this.currentLanguage]?t[this.currentLanguage]:""},getLangObject(t){return void 0!=t&&void 0!=t[this.currentLanguage]?t[this.currentLanguage]:""},getImage(t,e=null){return t||e?e?"https://admin.2roomz.com/storage/"+e.replace("https://admin.2roomz.com/storage/",""):"https://admin.2roomz.com/storage/"+t.replace("https://admin.2roomz.com/storage/",""):""},getFile(t){return t?t.indexOf(".pdf")>-1?"https://admin.2roomz.com/api/v1/pdf-viewer?file=https://admin.2roomz.com/storage/"+t+"&back-url="+window.location.href:"https://admin.2roomz.com/storage/"+t:""},showPrice(t,e=!1){let a=e?this.getKeyWord("from")+" ":"",o='<div class="mx-1 price_currency inline-block">'+this.hotel.currency+"</div>";return"ko"===this.currentLanguage?parseFloat(t)>0?parseFloat(parseFloat(t).toFixed(2)).toString().replace(/\B(?=(\d{3})+(?!\d))/g," ")+o+a:"":"ar"===this.currentLanguage||"il"===this.currentLanguage?parseFloat(t)>0?a+parseFloat(parseFloat(t).toFixed(2))+o:"":parseFloat(t)>0?a+parseFloat(parseFloat(t).toFixed(2)).toString().replace(/\B(?=(\d{3})+(?!\d))/g," ")+o:""},setLogo(){let t=this.hotel.logo;void 0!=this.hotel.ext_data["logos"]&&void 0!=this.hotel.ext_data["logos"][this.currentLanguage]&&(t=this.hotel.ext_data["logos"][this.currentLanguage]),this.logo="https://admin.2roomz.com/storage/"+t},setFavicon(t){var e=document.querySelector("link[rel*='icon']")||document.createElement("link");e.rel="shortcut icon",e.href=t,document.getElementsByTagName("head")[0].appendChild(e);e=document.createElement("link");e.rel="apple-touch-icon",e.href=t,document.getElementsByTagName("head")[0].appendChild(e)},freezePageScroll(){if(document.getElementsByClassName("overlist").length>0)this.scrollTop=Math.max(window.pageYOffset,document.documentElement.scrollTop,document.body.scrollTop),document.querySelector("html").classList.add("freeze-page"),document.querySelector("body").classList.add("freeze-page");else{let t=this.scrollTop;document.querySelector("html").classList.remove("freeze-page"),document.querySelector("body").classList.remove("freeze-page"),window.scrollTo(0,t),this.scrollTop=0}},freezeActivePageScroll(t){if(t)this.scrollTop=Math.max(window.pageYOffset,document.documentElement.scrollTop,document.body.scrollTop),document.querySelector("html").classList.add("freeze-page"),document.querySelector("body").classList.add("freeze-page");else{let t=this.scrollTop;document.querySelector("html").classList.remove("freeze-page"),document.querySelector("body").classList.remove("freeze-page"),window.scrollTo(0,t),this.scrollTop=0}},doRtl(){let t=document.querySelector("html"),e=t.getAttribute("dir");"il"==this.currentLanguage||"ar"==this.currentLanguage?t.setAttribute("dir","rtl"):t.removeAttribute("dir"),"rtl"==e&&(localStorage.setItem("prev_route_old",localStorage.getItem("prev_route")),window.location.reload())},getBrowserLanguage(){let t=navigator.languages&&navigator.languages[0]||navigator.language||navigator.userLanguage;return t&&t.indexOf("-")>-1&&(t=t.split("-")[0]),t},initLanguageToSite(t){var e=this.getBrowserLanguage(),a=sessionStorage.getItem("lang");void 0==a&&(this.hotel.hide_ru?this.currentLanguage=t[0].code:this.currentLanguage="ru",Object.keys(t).find((a=>{t[a].code===e&&(this.currentLanguage=t[a].code)})))},setMetrics(){try{if(null!==this.hotel.ext_data.scripts&&this.hotel.ext_data.scripts.length>0){let t=document.createElement("script");t.setAttribute("type","text/javascript"),t.setAttribute("language","javascript");let e=document.createTextNode(this.stripTags(this.hotel.ext_data.scripts));t.appendChild(e),document.getElementsByTagName("head")[0].appendChild(t)}}catch(o){console.error(o)}try{var t="";switch(this.hotelCode){case"hotelnikolskaya":t="code.jivo.ru/widget/N1D6ISSPd2";break}if(t){let e=document.createElement("script");e.setAttribute("type","text/javascript"),e.setAttribute("language","javascript"),e.src="//"+t,e.async=!0,document.getElementsByTagName("head")[0].appendChild(e)}}catch(o){console.error(o)}if("miracleon"==this.hotelCode){var e=document.createElement("script");e.type="text/javascript";var a="\n                    (function(w) {\n                        var q = [\n                            ['setContext', 'TL-INT-miracleon-2roomz-com_2023-09-15', 'ru'],\n                            ['embed', 'booking-form', {\n                                container: 'tl-booking-form'\n                            }],\n                            ['embed', 'search-form', {\n                                container: 'tl-search-form'\n                            }],\n                        ];\n                        var h=[\"ru-ibe.tlintegration.ru\",\"ibe.tlintegration.ru\",\"ibe.tlintegration.com\"];\n                        var t = w.travelline = (w.travelline || {}),\n                            ti = t.integration = (t.integration || {});\n                        ti.__cq = ti.__cq? ti.__cq.concat(q) : q;\n                        if (!ti.__loader) {\n                            ti.__loader = true;\n                            var d=w.document,c=d.getElementsByTagName(\"head\")[0]||d.getElementsByTagName(\"body\")[0];\n                            function e(s,f) {return function() {w.TL||(c.removeChild(s),f())}}\n                            (function l(h) {\n                                if (0===h.length) return; var s=d.createElement(\"script\");\n                                s.type=\"text/javascript\";s.async=!0;s.src=\"https://\"+h[0]+\"/integration/loader.js\";\n                                s.onerror=s.onload=e(s,function(){l(h.slice(1,h.length))});c.appendChild(s)\n                            })(h);\n                        }\n                    })(window);\n                ";e.textContent=a,document.head.appendChild(e)}},stripTags(t){return void 0!==t&&null!==t&&t.length>0?t.replace("for (var j = 0; j < document.scripts.length; j++) {if (document.scripts[j].src === r) { return; }}","").replace(/<\/?[^>]+>/gi,""):""},yandexGoal(t){"function"===typeof window.ym?(console.log("Run reach goal ym function",t),window.ym(this.$root.hotel.metric_num,"reachGoal",t)):"function"===typeof window.yandexGoal&&(console.log("Run reach goal yandexGoal function",t),window.yandexGoal(this.$root.hotel.metric_num,t))},getQueryVariable(t){let e=window.location.search.substring(1),a=e.split("&");for(let o=0;o<a.length;o++){let e=a[o].split("=");if(e[0]==t)return e[1]}return!1},formatDateFromNow(t){return x().utc(t).locale(this.currentLanguage).local().fromNow()},formatWeekDay(t){return x()().day(t).locale(this.currentLanguage).format("dd")},formatDate(t){var e="ru"=="RU".toLowerCase()?"DD-MM-YYYY":"YYYY-MM-DD";return x()(t,e).format(e)},hotelColor(){let t=this.hotel&&this.hotel.color&&7==this.hotel.color.length&&this.hotel.set_default_color?this.hotel.color:"#2faa61";return t},footerColor(){let t=this.hotel&&this.hotel.footer_color&&7==this.hotel.footer_color.length?this.hotel.footer_color:"#050033";return t},showConfirmationCheckBox(){return"novotelcity-test"==this.hotelCode||"alphasirius"==this.hotelCode},setPropertyToLocalStorage(t,e){var a=[{id:parseInt(t),value:e}];if(void 0!==localStorage.getItem("property_values")&&null!=localStorage.getItem("property_values")){let o=JSON.parse(localStorage.getItem("property_values"));o.filter((e=>parseInt(e.id)===parseInt(t))).length>0?(a=o.map((a=>parseInt(a.id)===parseInt(t)?{id:parseInt(t),value:e}:a)),localStorage.setItem("property_values",JSON.stringify(a))):(o.push({id:parseInt(t),value:e}),localStorage.setItem("property_values",JSON.stringify(o)))}else localStorage.setItem("property_values",JSON.stringify(a))},isAllowToUseCookie(){return void 0!==localStorage.getItem("access_cookie")&&"true"===localStorage.getItem("access_cookie")},isMobile:function(){let t=!1;return function(e){(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(t=!0)}(navigator.userAgent||navigator.vendor||window.opera),t}}}).$mount("#app")},70236:function(t,e,a){var o={"./AC.svg":6627,"./AD.svg":38551,"./AE.svg":61164,"./AF.svg":18543,"./AG.svg":56424,"./AI.svg":30584,"./AL.svg":50894,"./AM.svg":1487,"./AO.svg":38939,"./AQ.svg":46376,"./AR.svg":52624,"./AS.svg":13905,"./AT.svg":26493,"./AU.svg":63182,"./AW.svg":26419,"./AX.svg":435,"./AZ.svg":8938,"./BA.svg":48884,"./BB.svg":48999,"./BD.svg":78870,"./BE.svg":40767,"./BF.svg":87792,"./BG.svg":33295,"./BH.svg":37084,"./BI.svg":36557,"./BJ.svg":55705,"./BL.svg":92259,"./BM.svg":31160,"./BN.svg":11165,"./BO.svg":64026,"./BQ.svg":77366,"./BR.svg":77386,"./BS.svg":17490,"./BT.svg":84004,"./BV.svg":5089,"./BW.svg":57778,"./BY.svg":71641,"./BZ.svg":70264,"./CA.svg":99602,"./CC.svg":46298,"./CD.svg":27828,"./CF.svg":79233,"./CG.svg":90833,"./CH.svg":55290,"./CI.svg":31127,"./CK.svg":35105,"./CL.svg":16011,"./CM.svg":33871,"./CN.svg":12548,"./CO.svg":73090,"./CP.svg":87942,"./CR.svg":5876,"./CU.svg":35199,"./CV.svg":42422,"./CW.svg":16968,"./CX.svg":18158,"./CY.svg":49348,"./CZ.svg":26798,"./DE.svg":81481,"./DG.svg":73843,"./DJ.svg":88625,"./DK.svg":65057,"./DM.svg":85830,"./DO.svg":39571,"./DZ.svg":84040,"./EA.svg":52514,"./EC.svg":56035,"./EE.svg":28665,"./EG.svg":55569,"./EH.svg":71729,"./ENGLAND.svg":68025,"./ER.svg":3366,"./ES.svg":19731,"./ET.svg":96483,"./EU.svg":19033,"./FI.svg":26569,"./FJ.svg":24132,"./FK.svg":52780,"./FM.svg":47603,"./FO.svg":54547,"./FR.svg":68891,"./GA.svg":2325,"./GB.svg":96702,"./GD.svg":28162,"./GE.svg":51207,"./GF.svg":63264,"./GG.svg":16132,"./GH.svg":94735,"./GI.svg":28350,"./GL.svg":45315,"./GM.svg":49608,"./GN.svg":26963,"./GP.svg":68492,"./GQ.svg":50252,"./GR.svg":80079,"./GS.svg":26188,"./GT.svg":24705,"./GU.svg":88740,"./GW.svg":8796,"./GY.svg":53823,"./HK.svg":57132,"./HM.svg":79304,"./HN.svg":34322,"./HR.svg":89395,"./HT.svg":56329,"./HU.svg":15352,"./IC.svg":57405,"./ID.svg":57253,"./IE.svg":49515,"./IL.svg":75580,"./IM.svg":82851,"./IN.svg":34821,"./IO.svg":15687,"./IQ.svg":82761,"./IR.svg":21126,"./IS.svg":44702,"./IT.svg":97835,"./JE.svg":91973,"./JM.svg":18223,"./JO.svg":61837,"./JP.svg":39354,"./KE.svg":20615,"./KG.svg":95015,"./KH.svg":43577,"./KI.svg":83087,"./KM.svg":61024,"./KN.svg":23918,"./KP.svg":41926,"./KR.svg":8380,"./KW.svg":37534,"./KY.svg":58133,"./KZ.svg":94028,"./LA.svg":52501,"./LB.svg":50968,"./LC.svg":60502,"./LI.svg":14987,"./LK.svg":85993,"./LR.svg":76130,"./LS.svg":8407,"./LT.svg":95003,"./LU.svg":52307,"./LV.svg":13146,"./LY.svg":63946,"./MA.svg":65613,"./MC.svg":63614,"./MD.svg":65123,"./ME.svg":85440,"./MF.svg":83977,"./MG.svg":4569,"./MH.svg":63563,"./MK.svg":37226,"./ML.svg":14061,"./MM.svg":49435,"./MN.svg":42723,"./MO.svg":96032,"./MP.svg":25136,"./MQ.svg":85030,"./MR.svg":28755,"./MS.svg":7817,"./MT.svg":38788,"./MU.svg":36849,"./MV.svg":55919,"./MW.svg":88348,"./MX.svg":68550,"./MY.svg":39287,"./MZ.svg":17053,"./NA.svg":92805,"./NC.svg":7914,"./NE.svg":73577,"./NF.svg":61888,"./NG.svg":51382,"./NI.svg":57584,"./NL.svg":85261,"./NO.svg":75928,"./NP.svg":5715,"./NR.svg":63663,"./NU.svg":4011,"./NZ.svg":66416,"./OM.svg":43506,"./PA.svg":99087,"./PE.svg":66102,"./PF.svg":59274,"./PG.svg":82846,"./PH.svg":70069,"./PK.svg":62352,"./PL.svg":35313,"./PM.svg":41859,"./PN.svg":60277,"./PR.svg":76989,"./PS.svg":66666,"./PT.svg":24185,"./PW.svg":6474,"./PY.svg":92431,"./QA.svg":36491,"./RE.svg":1258,"./RO.svg":99438,"./RS.svg":71602,"./RU.svg":32184,"./RW.svg":6870,"./SA.svg":61252,"./SB.svg":74140,"./SC.svg":30875,"./SCOTLAND.svg":44063,"./SD.svg":30563,"./SE.svg":3770,"./SG.svg":90810,"./SH.svg":91837,"./SI.svg":41697,"./SJ.svg":39182,"./SK.svg":77152,"./SL.svg":31260,"./SM.svg":93491,"./SN.svg":58421,"./SO.svg":20768,"./SR.svg":4349,"./SS.svg":9607,"./ST.svg":30828,"./SV.svg":1702,"./SX.svg":30805,"./SY.svg":21985,"./SZ.svg":29957,"./TA.svg":84829,"./TC.svg":76352,"./TD.svg":12439,"./TF.svg":23280,"./TG.svg":32915,"./TH.svg":44879,"./TJ.svg":91201,"./TK.svg":22106,"./TL.svg":67530,"./TM.svg":94101,"./TN.svg":96749,"./TO.svg":40315,"./TR.svg":64642,"./TT.svg":33752,"./TV.svg":45519,"./TW.svg":72567,"./TZ.svg":48498,"./UA.svg":48717,"./UG.svg":27037,"./UM.svg":61611,"./UN.svg":32528,"./US.svg":14744,"./UY.svg":71566,"./UZ.svg":94497,"./VA.svg":85082,"./VC.svg":67617,"./VE.svg":68613,"./VG.svg":47307,"./VI.svg":73647,"./VN.svg":32756,"./VU.svg":76251,"./WALES.svg":72901,"./WF.svg":51582,"./WS.svg":94004,"./XK.svg":29570,"./YE.svg":94531,"./YT.svg":41780,"./ZA.svg":14275,"./ZM.svg":96388,"./ZW.svg":41012,"./inter.svg":10300};function r(t){var e=s(t);return a(e)}function s(t){if(!a.o(o,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return o[t]}r.keys=function(){return Object.keys(o)},r.resolve=s,t.exports=r,r.id=70236},31151:function(t,e,a){var o={"./al.svg":49622,"./ar.svg":53230,"./ar2.svg":83353,"./ar3.svg":32888,"./az.svg":20868,"./ba.svg":6063,"./cart.svg":60737,"./china.svg":32516,"./cn.svg":13481,"./copy.svg":26696,"./cs.svg":20864,"./de.svg":66240,"./desk-bell.svg":19475,"./en.svg":19203,"./es.svg":40426,"./et.svg":82820,"./fa.svg":18349,"./fr.svg":73328,"./ge.svg":43012,"./gr.svg":17023,"./hamburger.svg":30068,"./home.svg":97397,"./hr.svg":12524,"./hu.svg":51219,"./icon-close.svg":31103,"./il.svg":68953,"./info.svg":19666,"./it.svg":30077,"./ko.svg":71165,"./kz.svg":31468,"./loading_product.svg":18525,"./logo.svg":9609,"./lv.svg":45360,"./menu.svg":35203,"./minus.svg":52593,"./nav_1.svg":17006,"./nav_10.svg":85873,"./nav_11.svg":67413,"./nav_12.svg":47298,"./nav_13.svg":31492,"./nav_2.svg":34356,"./nav_3.svg":88601,"./nav_4.svg":52735,"./nav_5.svg":35309,"./nav_6.svg":79339,"./nav_7.svg":20268,"./nav_8.svg":96039,"./nav_9.svg":64140,"./nl.svg":97306,"./pl.svg":10926,"./plus.svg":6706,"./pt.svg":54724,"./recognizing-in-progress.svg":36487,"./ro.svg":89967,"./ru.svg":14683,"./rush-8.svg":70940,"./service.svg":31636,"./service_0.svg":35709,"./service_1.svg":9123,"./service_2.svg":84510,"./service_3.svg":47629,"./service_4.svg":61856,"./service_5.svg":31495,"./service_6.svg":36782,"./sk.svg":46224,"./tat.svg":74045,"./tr.svg":58879,"./ua.svg":80805,"./uz.svg":65167,"./wave.svg":43450};function r(t){var e=s(t);return a(e)}function s(t){if(!a.o(o,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return o[t]}r.keys=function(){return Object.keys(o)},r.resolve=s,t.exports=r,r.id=31151},6627:function(t,e,a){"use strict";t.exports=a.p+"img/AC.ab1c8033.svg"},38551:function(t,e,a){"use strict";t.exports=a.p+"img/AD.09b2252b.svg"},61164:function(t,e,a){"use strict";t.exports=a.p+"img/AE.cdbcdcb8.svg"},18543:function(t,e,a){"use strict";t.exports=a.p+"img/AF.6034adcf.svg"},56424:function(t,e,a){"use strict";t.exports=a.p+"img/AG.ee077667.svg"},30584:function(t,e,a){"use strict";t.exports=a.p+"img/AI.5a66b4b1.svg"},50894:function(t,e,a){"use strict";t.exports=a.p+"img/AL.12cbab81.svg"},1487:function(t,e,a){"use strict";t.exports=a.p+"img/AM.17367b42.svg"},38939:function(t,e,a){"use strict";t.exports=a.p+"img/AO.c0da547f.svg"},46376:function(t,e,a){"use strict";t.exports=a.p+"img/AQ.2733bac4.svg"},52624:function(t,e,a){"use strict";t.exports=a.p+"img/AR.2f70d817.svg"},13905:function(t,e,a){"use strict";t.exports=a.p+"img/AS.a1b694ae.svg"},26493:function(t,e,a){"use strict";t.exports=a.p+"img/AT.bbca6c0f.svg"},63182:function(t,e,a){"use strict";t.exports=a.p+"img/AU.75585665.svg"},26419:function(t,e,a){"use strict";t.exports=a.p+"img/AW.78ed8308.svg"},435:function(t,e,a){"use strict";t.exports=a.p+"img/AX.2423268b.svg"},8938:function(t,e,a){"use strict";t.exports=a.p+"img/AZ.41a556e4.svg"},48884:function(t,e,a){"use strict";t.exports=a.p+"img/BA.ac6c8c7a.svg"},48999:function(t,e,a){"use strict";t.exports=a.p+"img/BB.7f1beb19.svg"},78870:function(t,e,a){"use strict";t.exports=a.p+"img/BD.5c9b0c32.svg"},40767:function(t,e,a){"use strict";t.exports=a.p+"img/BE.689bacfa.svg"},87792:function(t,e,a){"use strict";t.exports=a.p+"img/BF.ba7536e4.svg"},33295:function(t,e,a){"use strict";t.exports=a.p+"img/BG.a025aec7.svg"},37084:function(t,e,a){"use strict";t.exports=a.p+"img/BH.801d788f.svg"},36557:function(t,e,a){"use strict";t.exports=a.p+"img/BI.7ddd9b20.svg"},55705:function(t,e,a){"use strict";t.exports=a.p+"img/BJ.1ff958ca.svg"},92259:function(t,e,a){"use strict";t.exports=a.p+"img/BL.4b9b5c7d.svg"},31160:function(t,e,a){"use strict";t.exports=a.p+"img/BM.9e7d3936.svg"},11165:function(t,e,a){"use strict";t.exports=a.p+"img/BN.552e0a3c.svg"},64026:function(t,e,a){"use strict";t.exports=a.p+"img/BO.8085f666.svg"},77366:function(t,e,a){"use strict";t.exports=a.p+"img/BQ.8aa08b00.svg"},77386:function(t,e,a){"use strict";t.exports=a.p+"img/BR.ad1646bb.svg"},17490:function(t,e,a){"use strict";t.exports=a.p+"img/BS.e30fb356.svg"},84004:function(t,e,a){"use strict";t.exports=a.p+"img/BT.a84a9e57.svg"},5089:function(t,e,a){"use strict";t.exports=a.p+"img/BV.1d6c499c.svg"},57778:function(t,e,a){"use strict";t.exports=a.p+"img/BW.344ead1b.svg"},71641:function(t,e,a){"use strict";t.exports=a.p+"img/BY.87c43e36.svg"},70264:function(t,e,a){"use strict";t.exports=a.p+"img/BZ.c91870b8.svg"},99602:function(t,e,a){"use strict";t.exports=a.p+"img/CA.add63e12.svg"},46298:function(t,e,a){"use strict";t.exports=a.p+"img/CC.a103a18a.svg"},27828:function(t,e,a){"use strict";t.exports=a.p+"img/CD.f3c73a1d.svg"},79233:function(t,e,a){"use strict";t.exports=a.p+"img/CF.1ce3367e.svg"},90833:function(t,e,a){"use strict";t.exports=a.p+"img/CG.ab43b215.svg"},55290:function(t,e,a){"use strict";t.exports=a.p+"img/CH.f1d794fb.svg"},31127:function(t,e,a){"use strict";t.exports=a.p+"img/CI.5157e4bf.svg"},35105:function(t,e,a){"use strict";t.exports=a.p+"img/CK.0ae5bd9f.svg"},16011:function(t,e,a){"use strict";t.exports=a.p+"img/CL.e2b41124.svg"},33871:function(t,e,a){"use strict";t.exports=a.p+"img/CM.06cb5200.svg"},12548:function(t,e,a){"use strict";t.exports=a.p+"img/CN.c6b45e02.svg"},73090:function(t,e,a){"use strict";t.exports=a.p+"img/CO.a92fcabe.svg"},87942:function(t,e,a){"use strict";t.exports=a.p+"img/CP.aafcc888.svg"},5876:function(t,e,a){"use strict";t.exports=a.p+"img/CR.43b2418a.svg"},35199:function(t,e,a){"use strict";t.exports=a.p+"img/CU.e5ad3eab.svg"},42422:function(t,e,a){"use strict";t.exports=a.p+"img/CV.3005d659.svg"},16968:function(t,e,a){"use strict";t.exports=a.p+"img/CW.516ef0db.svg"},18158:function(t,e,a){"use strict";t.exports=a.p+"img/CX.d84bd496.svg"},49348:function(t,e,a){"use strict";t.exports=a.p+"img/CY.7438fa99.svg"},26798:function(t,e,a){"use strict";t.exports=a.p+"img/CZ.dc63e8fc.svg"},81481:function(t,e,a){"use strict";t.exports=a.p+"img/DE.c04ce9e9.svg"},73843:function(t,e,a){"use strict";t.exports=a.p+"img/DG.52f70c85.svg"},88625:function(t,e,a){"use strict";t.exports=a.p+"img/DJ.27fe5d5d.svg"},65057:function(t,e,a){"use strict";t.exports=a.p+"img/DK.5eeb7a0f.svg"},85830:function(t,e,a){"use strict";t.exports=a.p+"img/DM.862f6729.svg"},39571:function(t,e,a){"use strict";t.exports=a.p+"img/DO.65870103.svg"},84040:function(t,e,a){"use strict";t.exports=a.p+"img/DZ.bbe319d2.svg"},52514:function(t,e,a){"use strict";t.exports=a.p+"img/EA.87440c45.svg"},56035:function(t,e,a){"use strict";t.exports=a.p+"img/EC.cfed7f46.svg"},28665:function(t,e,a){"use strict";t.exports=a.p+"img/EE.8ec22b19.svg"},55569:function(t,e,a){"use strict";t.exports=a.p+"img/EG.a45f9dd1.svg"},71729:function(t,e,a){"use strict";t.exports=a.p+"img/EH.902a9050.svg"},68025:function(t,e,a){"use strict";t.exports=a.p+"img/ENGLAND.e98570d5.svg"},3366:function(t,e,a){"use strict";t.exports=a.p+"img/ER.558e60c9.svg"},19731:function(t,e,a){"use strict";t.exports=a.p+"img/ES.87440c45.svg"},96483:function(t,e,a){"use strict";t.exports=a.p+"img/ET.9ec33b08.svg"},19033:function(t,e,a){"use strict";t.exports=a.p+"img/EU.a97407df.svg"},26569:function(t,e,a){"use strict";t.exports=a.p+"img/FI.9d344957.svg"},24132:function(t,e,a){"use strict";t.exports=a.p+"img/FJ.a4f7916b.svg"},52780:function(t,e,a){"use strict";t.exports=a.p+"img/FK.846eb1b9.svg"},47603:function(t,e,a){"use strict";t.exports=a.p+"img/FM.01a7aad4.svg"},54547:function(t,e,a){"use strict";t.exports=a.p+"img/FO.59c086f0.svg"},68891:function(t,e,a){"use strict";t.exports=a.p+"img/FR.aafcc888.svg"},2325:function(t,e,a){"use strict";t.exports=a.p+"img/GA.4937639a.svg"},96702:function(t,e,a){"use strict";t.exports=a.p+"img/GB.5e1cf400.svg"},28162:function(t,e,a){"use strict";t.exports=a.p+"img/GD.b8f944df.svg"},51207:function(t,e,a){"use strict";t.exports=a.p+"img/GE.94d693c6.svg"},63264:function(t,e,a){"use strict";t.exports=a.p+"img/GF.ffed1116.svg"},16132:function(t,e,a){"use strict";t.exports=a.p+"img/GG.aef48eae.svg"},94735:function(t,e,a){"use strict";t.exports=a.p+"img/GH.7baf9da7.svg"},28350:function(t,e,a){"use strict";t.exports=a.p+"img/GI.71353ffd.svg"},45315:function(t,e,a){"use strict";t.exports=a.p+"img/GL.994c6f88.svg"},49608:function(t,e,a){"use strict";t.exports=a.p+"img/GM.00270661.svg"},26963:function(t,e,a){"use strict";t.exports=a.p+"img/GN.5863be42.svg"},68492:function(t,e,a){"use strict";t.exports=a.p+"img/GP.61fc2c47.svg"},50252:function(t,e,a){"use strict";t.exports=a.p+"img/GQ.564645c5.svg"},80079:function(t,e,a){"use strict";t.exports=a.p+"img/GR.7afebf12.svg"},26188:function(t,e,a){"use strict";t.exports=a.p+"img/GS.5e7aa18b.svg"},24705:function(t,e,a){"use strict";t.exports=a.p+"img/GT.2392f63e.svg"},88740:function(t,e,a){"use strict";t.exports=a.p+"img/GU.475c22ca.svg"},8796:function(t,e,a){"use strict";t.exports=a.p+"img/GW.91d2a92e.svg"},53823:function(t,e,a){"use strict";t.exports=a.p+"img/GY.0a23f374.svg"},57132:function(t,e,a){"use strict";t.exports=a.p+"img/HK.0592108a.svg"},79304:function(t,e,a){"use strict";t.exports=a.p+"img/HM.75585665.svg"},34322:function(t,e,a){"use strict";t.exports=a.p+"img/HN.36a0dccf.svg"},89395:function(t,e,a){"use strict";t.exports=a.p+"img/HR.09c27e16.svg"},56329:function(t,e,a){"use strict";t.exports=a.p+"img/HT.539a25f6.svg"},15352:function(t,e,a){"use strict";t.exports=a.p+"img/HU.8161b724.svg"},57405:function(t,e,a){"use strict";t.exports=a.p+"img/IC.d5d0d154.svg"},57253:function(t,e,a){"use strict";t.exports=a.p+"img/ID.52b5bf37.svg"},49515:function(t,e,a){"use strict";t.exports=a.p+"img/IE.0c0dc6e4.svg"},75580:function(t,e,a){"use strict";t.exports=a.p+"img/IL.58966f4d.svg"},82851:function(t,e,a){"use strict";t.exports=a.p+"img/IM.01af0073.svg"},34821:function(t,e,a){"use strict";t.exports=a.p+"img/IN.1042c390.svg"},15687:function(t,e,a){"use strict";t.exports=a.p+"img/IO.52f70c85.svg"},82761:function(t,e,a){"use strict";t.exports=a.p+"img/IQ.801e0cf6.svg"},21126:function(t,e,a){"use strict";t.exports=a.p+"img/IR.6e543b04.svg"},44702:function(t,e,a){"use strict";t.exports=a.p+"img/IS.2eba41ff.svg"},97835:function(t,e,a){"use strict";t.exports=a.p+"img/IT.a8ffa06d.svg"},91973:function(t,e,a){"use strict";t.exports=a.p+"img/JE.a651ac64.svg"},18223:function(t,e,a){"use strict";t.exports=a.p+"img/JM.880917bb.svg"},61837:function(t,e,a){"use strict";t.exports=a.p+"img/JO.0dd47d8f.svg"},39354:function(t,e,a){"use strict";t.exports=a.p+"img/JP.bd1e0975.svg"},20615:function(t,e,a){"use strict";t.exports=a.p+"img/KE.86b1989d.svg"},95015:function(t,e,a){"use strict";t.exports=a.p+"img/KG.44c36088.svg"},43577:function(t,e,a){"use strict";t.exports=a.p+"img/KH.4b0102bf.svg"},83087:function(t,e,a){"use strict";t.exports=a.p+"img/KI.92070e79.svg"},61024:function(t,e,a){"use strict";t.exports=a.p+"img/KM.14680299.svg"},23918:function(t,e,a){"use strict";t.exports=a.p+"img/KN.779aff6d.svg"},41926:function(t,e,a){"use strict";t.exports=a.p+"img/KP.dc793df4.svg"},8380:function(t,e,a){"use strict";t.exports=a.p+"img/KR.ddc04e4b.svg"},37534:function(t,e,a){"use strict";t.exports=a.p+"img/KW.6497503b.svg"},58133:function(t,e,a){"use strict";t.exports=a.p+"img/KY.8d52d75d.svg"},94028:function(t,e,a){"use strict";t.exports=a.p+"img/KZ.13dec36c.svg"},52501:function(t,e,a){"use strict";t.exports=a.p+"img/LA.3aeaa2e3.svg"},50968:function(t,e,a){"use strict";t.exports=a.p+"img/LB.b36a57ac.svg"},60502:function(t,e,a){"use strict";t.exports=a.p+"img/LC.eb53443d.svg"},14987:function(t,e,a){"use strict";t.exports=a.p+"img/LI.580ad1f2.svg"},85993:function(t,e,a){"use strict";t.exports=a.p+"img/LK.461a657a.svg"},76130:function(t,e,a){"use strict";t.exports=a.p+"img/LR.f3783dbf.svg"},8407:function(t,e,a){"use strict";t.exports=a.p+"img/LS.6f761c8c.svg"},95003:function(t,e,a){"use strict";t.exports=a.p+"img/LT.7a4288aa.svg"},52307:function(t,e,a){"use strict";t.exports=a.p+"img/LU.5538e23a.svg"},13146:function(t,e,a){"use strict";t.exports=a.p+"img/LV.780483f2.svg"},63946:function(t,e,a){"use strict";t.exports=a.p+"img/LY.0be75d23.svg"},65613:function(t,e,a){"use strict";t.exports=a.p+"img/MA.2cde2c6c.svg"},63614:function(t,e,a){"use strict";t.exports=a.p+"img/MC.52b5bf37.svg"},65123:function(t,e,a){"use strict";t.exports=a.p+"img/MD.b9000aa6.svg"},85440:function(t,e,a){"use strict";t.exports=a.p+"img/ME.a0096cbc.svg"},83977:function(t,e,a){"use strict";t.exports=a.p+"img/MF.aafcc888.svg"},4569:function(t,e,a){"use strict";t.exports=a.p+"img/MG.51c444d2.svg"},63563:function(t,e,a){"use strict";t.exports=a.p+"img/MH.09a888b6.svg"},37226:function(t,e,a){"use strict";t.exports=a.p+"img/MK.341f99c1.svg"},14061:function(t,e,a){"use strict";t.exports=a.p+"img/ML.e80bb624.svg"},49435:function(t,e,a){"use strict";t.exports=a.p+"img/MM.f600af25.svg"},42723:function(t,e,a){"use strict";t.exports=a.p+"img/MN.bf2159fa.svg"},96032:function(t,e,a){"use strict";t.exports=a.p+"img/MO.226a137b.svg"},25136:function(t,e,a){"use strict";t.exports=a.p+"img/MP.114a4f75.svg"},85030:function(t,e,a){"use strict";t.exports=a.p+"img/MQ.04841b87.svg"},28755:function(t,e,a){"use strict";t.exports=a.p+"img/MR.c70f4774.svg"},7817:function(t,e,a){"use strict";t.exports=a.p+"img/MS.86fd017b.svg"},38788:function(t,e,a){"use strict";t.exports=a.p+"img/MT.3f11e7d4.svg"},36849:function(t,e,a){"use strict";t.exports=a.p+"img/MU.a22febe6.svg"},55919:function(t,e,a){"use strict";t.exports=a.p+"img/MV.fc70b0c2.svg"},88348:function(t,e,a){"use strict";t.exports=a.p+"img/MW.2b06e298.svg"},68550:function(t,e,a){"use strict";t.exports=a.p+"img/MX.00010258.svg"},39287:function(t,e,a){"use strict";t.exports=a.p+"img/MY.4bcabf24.svg"},17053:function(t,e,a){"use strict";t.exports=a.p+"img/MZ.66968fb9.svg"},92805:function(t,e,a){"use strict";t.exports=a.p+"img/NA.df604e67.svg"},7914:function(t,e,a){"use strict";t.exports=a.p+"img/NC.eab6e146.svg"},73577:function(t,e,a){"use strict";t.exports=a.p+"img/NE.cbf04757.svg"},61888:function(t,e,a){"use strict";t.exports=a.p+"img/NF.54e89d34.svg"},51382:function(t,e,a){"use strict";t.exports=a.p+"img/NG.9449a685.svg"},57584:function(t,e,a){"use strict";t.exports=a.p+"img/NI.c21d2a46.svg"},85261:function(t,e,a){"use strict";t.exports=a.p+"img/NL.f51a0ddd.svg"},75928:function(t,e,a){"use strict";t.exports=a.p+"img/NO.a9609466.svg"},5715:function(t,e,a){"use strict";t.exports=a.p+"img/NP.888b00ae.svg"},63663:function(t,e,a){"use strict";t.exports=a.p+"img/NR.1d2c4cde.svg"},4011:function(t,e,a){"use strict";t.exports=a.p+"img/NU.5d1dde05.svg"},66416:function(t,e,a){"use strict";t.exports=a.p+"img/NZ.64ddebd1.svg"},43506:function(t,e,a){"use strict";t.exports=a.p+"img/OM.d8aff980.svg"},99087:function(t,e,a){"use strict";t.exports=a.p+"img/PA.1b3d8ead.svg"},66102:function(t,e,a){"use strict";t.exports=a.p+"img/PE.e25b0a10.svg"},59274:function(t,e,a){"use strict";t.exports=a.p+"img/PF.f3e543f8.svg"},82846:function(t,e,a){"use strict";t.exports=a.p+"img/PG.d3d46f68.svg"},70069:function(t,e,a){"use strict";t.exports=a.p+"img/PH.6b04b7d1.svg"},62352:function(t,e,a){"use strict";t.exports=a.p+"img/PK.0712f7c1.svg"},35313:function(t,e,a){"use strict";t.exports=a.p+"img/PL.27e53be6.svg"},41859:function(t,e,a){"use strict";t.exports=a.p+"img/PM.7add75a3.svg"},60277:function(t,e,a){"use strict";t.exports=a.p+"img/PN.fde41725.svg"},76989:function(t,e,a){"use strict";t.exports=a.p+"img/PR.1f46b708.svg"},66666:function(t,e,a){"use strict";t.exports=a.p+"img/PS.b98da634.svg"},24185:function(t,e,a){"use strict";t.exports=a.p+"img/PT.c0431deb.svg"},6474:function(t,e,a){"use strict";t.exports=a.p+"img/PW.8c3192a9.svg"},92431:function(t,e,a){"use strict";t.exports=a.p+"img/PY.e321475a.svg"},36491:function(t,e,a){"use strict";t.exports=a.p+"img/QA.165e2f8e.svg"},1258:function(t,e,a){"use strict";t.exports=a.p+"img/RE.d0249e92.svg"},99438:function(t,e,a){"use strict";t.exports=a.p+"img/RO.84fef600.svg"},71602:function(t,e,a){"use strict";t.exports=a.p+"img/RS.58e8f812.svg"},32184:function(t,e,a){"use strict";t.exports=a.p+"img/RU.79c90d91.svg"},6870:function(t,e,a){"use strict";t.exports=a.p+"img/RW.26f2b9bb.svg"},61252:function(t,e,a){"use strict";t.exports=a.p+"img/SA.b2637b95.svg"},74140:function(t,e,a){"use strict";t.exports=a.p+"img/SB.4a2171a9.svg"},30875:function(t,e,a){"use strict";t.exports=a.p+"img/SC.e1dc42a2.svg"},44063:function(t,e,a){"use strict";t.exports=a.p+"img/SCOTLAND.020f327a.svg"},30563:function(t,e,a){"use strict";t.exports=a.p+"img/SD.e3c338f6.svg"},3770:function(t,e,a){"use strict";t.exports=a.p+"img/SE.07d43df9.svg"},90810:function(t,e,a){"use strict";t.exports=a.p+"img/SG.100d7ae1.svg"},91837:function(t,e,a){"use strict";t.exports=a.p+"img/SH.466de41f.svg"},41697:function(t,e,a){"use strict";t.exports=a.p+"img/SI.8de661a0.svg"},39182:function(t,e,a){"use strict";t.exports=a.p+"img/SJ.a9609466.svg"},77152:function(t,e,a){"use strict";t.exports=a.p+"img/SK.0ebedcca.svg"},31260:function(t,e,a){"use strict";t.exports=a.p+"img/SL.3dc3e0b3.svg"},93491:function(t,e,a){"use strict";t.exports=a.p+"img/SM.5f3e5566.svg"},58421:function(t,e,a){"use strict";t.exports=a.p+"img/SN.5cb6476f.svg"},20768:function(t,e,a){"use strict";t.exports=a.p+"img/SO.6b1fd957.svg"},4349:function(t,e,a){"use strict";t.exports=a.p+"img/SR.3f4c9a9c.svg"},9607:function(t,e,a){"use strict";t.exports=a.p+"img/SS.60b46910.svg"},30828:function(t,e,a){"use strict";t.exports=a.p+"img/ST.0a642d9a.svg"},1702:function(t,e,a){"use strict";t.exports=a.p+"img/SV.b4c34cbc.svg"},30805:function(t,e,a){"use strict";t.exports=a.p+"img/SX.2387f824.svg"},21985:function(t,e,a){"use strict";t.exports=a.p+"img/SY.38f9eb14.svg"},29957:function(t,e,a){"use strict";t.exports=a.p+"img/SZ.c34ea049.svg"},84829:function(t,e,a){"use strict";t.exports=a.p+"img/TA.46f2e5b5.svg"},76352:function(t,e,a){"use strict";t.exports=a.p+"img/TC.5f802ffe.svg"},12439:function(t,e,a){"use strict";t.exports=a.p+"img/TD.84fef600.svg"},23280:function(t,e,a){"use strict";t.exports=a.p+"img/TF.8dff38cb.svg"},32915:function(t,e,a){"use strict";t.exports=a.p+"img/TG.68371e43.svg"},44879:function(t,e,a){"use strict";t.exports=a.p+"img/TH.7a4a898d.svg"},91201:function(t,e,a){"use strict";t.exports=a.p+"img/TJ.7481c6c8.svg"},22106:function(t,e,a){"use strict";t.exports=a.p+"img/TK.d593f1e0.svg"},67530:function(t,e,a){"use strict";t.exports=a.p+"img/TL.3124eda8.svg"},94101:function(t,e,a){"use strict";t.exports=a.p+"img/TM.9b7c1370.svg"},96749:function(t,e,a){"use strict";t.exports=a.p+"img/TN.72c0bc4d.svg"},40315:function(t,e,a){"use strict";t.exports=a.p+"img/TO.68d722fa.svg"},64642:function(t,e,a){"use strict";t.exports=a.p+"img/TR.602fb6a9.svg"},33752:function(t,e,a){"use strict";t.exports=a.p+"img/TT.dc04e5fe.svg"},45519:function(t,e,a){"use strict";t.exports=a.p+"img/TV.18e7e832.svg"},72567:function(t,e,a){"use strict";t.exports=a.p+"img/TW.5ad3c39e.svg"},48498:function(t,e,a){"use strict";t.exports=a.p+"img/TZ.9c0623d2.svg"},48717:function(t,e,a){"use strict";t.exports=a.p+"img/UA.9dd57d75.svg"},27037:function(t,e,a){"use strict";t.exports=a.p+"img/UG.b689912b.svg"},61611:function(t,e,a){"use strict";t.exports=a.p+"img/UM.834628c4.svg"},32528:function(t,e,a){"use strict";t.exports=a.p+"img/UN.ba88d2b1.svg"},14744:function(t,e,a){"use strict";t.exports=a.p+"img/US.396d8258.svg"},71566:function(t,e,a){"use strict";t.exports=a.p+"img/UY.b895408b.svg"},94497:function(t,e,a){"use strict";t.exports=a.p+"img/UZ.97c34ad8.svg"},85082:function(t,e,a){"use strict";t.exports=a.p+"img/VA.9cdba99d.svg"},67617:function(t,e,a){"use strict";t.exports=a.p+"img/VC.c072c161.svg"},68613:function(t,e,a){"use strict";t.exports=a.p+"img/VE.05fdd3ef.svg"},47307:function(t,e,a){"use strict";t.exports=a.p+"img/VG.1326df24.svg"},73647:function(t,e,a){"use strict";t.exports=a.p+"img/VI.6fc08502.svg"},32756:function(t,e,a){"use strict";t.exports=a.p+"img/VN.a31a7dff.svg"},76251:function(t,e,a){"use strict";t.exports=a.p+"img/VU.5d11803e.svg"},72901:function(t,e,a){"use strict";t.exports=a.p+"img/WALES.3f11931f.svg"},51582:function(t,e,a){"use strict";t.exports=a.p+"img/WF.de402f32.svg"},94004:function(t,e,a){"use strict";t.exports=a.p+"img/WS.5c23ca4c.svg"},29570:function(t,e,a){"use strict";t.exports=a.p+"img/XK.4946683f.svg"},94531:function(t,e,a){"use strict";t.exports=a.p+"img/YE.61af953e.svg"},41780:function(t,e,a){"use strict";t.exports=a.p+"img/YT.182b09b9.svg"},14275:function(t,e,a){"use strict";t.exports=a.p+"img/ZA.e3b9c42f.svg"},96388:function(t,e,a){"use strict";t.exports=a.p+"img/ZM.2fd131f6.svg"},41012:function(t,e,a){"use strict";t.exports=a.p+"img/ZW.101fea77.svg"},10300:function(t,e,a){"use strict";t.exports=a.p+"img/inter.7068b6b6.svg"},49622:function(t,e,a){"use strict";t.exports=a.p+"img/al.438e1769.svg"},53230:function(t,e,a){"use strict";t.exports=a.p+"img/ar.ed36474a.svg"},83353:function(t,e,a){"use strict";t.exports=a.p+"img/ar2.b819ece9.svg"},32888:function(t,e,a){"use strict";t.exports=a.p+"img/ar3.fcb487f3.svg"},20868:function(t,e,a){"use strict";t.exports=a.p+"img/az.0d01197a.svg"},6063:function(t,e,a){"use strict";t.exports=a.p+"img/ba.7babff9c.svg"},60737:function(t,e,a){"use strict";t.exports=a.p+"img/cart.ccdf6532.svg"},32516:function(t,e,a){"use strict";t.exports=a.p+"img/china.1edca6c8.svg"},13481:function(t,e,a){"use strict";t.exports=a.p+"img/cn.9a6f04bd.svg"},26696:function(t,e,a){"use strict";t.exports=a.p+"img/copy.95fa38a3.svg"},20864:function(t,e,a){"use strict";t.exports=a.p+"img/cs.889ba919.svg"},66240:function(t,e,a){"use strict";t.exports=a.p+"img/de.0557f4e8.svg"},19475:function(t,e,a){"use strict";t.exports=a.p+"img/desk-bell.83978f6a.svg"},19203:function(t,e,a){"use strict";t.exports=a.p+"img/en.04316cb9.svg"},40426:function(t,e,a){"use strict";t.exports=a.p+"img/es.6755efd0.svg"},82820:function(t,e,a){"use strict";t.exports=a.p+"img/et.249ad574.svg"},18349:function(t,e,a){"use strict";t.exports=a.p+"img/fa.fc29be38.svg"},73328:function(t,e,a){"use strict";t.exports=a.p+"img/fr.260abc1d.svg"},43012:function(t,e,a){"use strict";t.exports=a.p+"img/ge.fd68c607.svg"},17023:function(t,e,a){"use strict";t.exports=a.p+"img/gr.c44dd9de.svg"},30068:function(t,e,a){"use strict";t.exports=a.p+"img/hamburger.524bfc13.svg"},97397:function(t,e,a){"use strict";t.exports=a.p+"img/home.96e5c067.svg"},12524:function(t,e,a){"use strict";t.exports=a.p+"img/hr.acf764e1.svg"},51219:function(t,e,a){"use strict";t.exports=a.p+"img/hu.16c6335f.svg"},31103:function(t,e,a){"use strict";t.exports=a.p+"img/icon-close.3ce3bbec.svg"},68953:function(t,e,a){"use strict";t.exports=a.p+"img/il.78b68c4b.svg"},19666:function(t,e,a){"use strict";t.exports=a.p+"img/info.9b7835f3.svg"},30077:function(t,e,a){"use strict";t.exports=a.p+"img/it.919398e6.svg"},71165:function(t,e,a){"use strict";t.exports=a.p+"img/ko.7584d6d4.svg"},31468:function(t,e,a){"use strict";t.exports=a.p+"img/kz.5272be9e.svg"},18525:function(t,e,a){"use strict";t.exports=a.p+"img/loading_product.bf8a8236.svg"},9609:function(t,e,a){"use strict";t.exports=a.p+"img/logo.3bebcbfa.svg"},45360:function(t,e,a){"use strict";t.exports=a.p+"img/lv.b03914a6.svg"},35203:function(t,e,a){"use strict";t.exports=a.p+"img/menu.61c7b72c.svg"},52593:function(t,e,a){"use strict";t.exports=a.p+"img/minus.4b1a635c.svg"},17006:function(t,e,a){"use strict";t.exports=a.p+"img/nav_1.0a7d59ee.svg"},85873:function(t,e,a){"use strict";t.exports=a.p+"img/nav_10.d306bbaf.svg"},67413:function(t,e,a){"use strict";t.exports=a.p+"img/nav_11.d9e791bc.svg"},47298:function(t,e,a){"use strict";t.exports=a.p+"img/nav_12.eb5b8329.svg"},31492:function(t,e,a){"use strict";t.exports=a.p+"img/nav_13.44ccfec6.svg"},34356:function(t,e,a){"use strict";t.exports=a.p+"img/nav_2.cc96acc5.svg"},88601:function(t,e,a){"use strict";t.exports=a.p+"img/nav_3.06125a67.svg"},52735:function(t,e,a){"use strict";t.exports=a.p+"img/nav_4.810a5390.svg"},35309:function(t,e,a){"use strict";t.exports=a.p+"img/nav_5.a7f116cc.svg"},79339:function(t,e,a){"use strict";t.exports=a.p+"img/nav_6.e61d7d85.svg"},20268:function(t,e,a){"use strict";t.exports=a.p+"img/nav_7.65cfe5fc.svg"},96039:function(t,e,a){"use strict";t.exports=a.p+"img/nav_8.c1eb9757.svg"},64140:function(t,e,a){"use strict";t.exports=a.p+"img/nav_9.5d7fe08f.svg"},97306:function(t,e,a){"use strict";t.exports=a.p+"img/nl.3f2152e9.svg"},10926:function(t,e,a){"use strict";t.exports=a.p+"img/pl.bab8bd82.svg"},6706:function(t,e,a){"use strict";t.exports=a.p+"img/plus.116891bb.svg"},54724:function(t,e,a){"use strict";t.exports=a.p+"img/pt.f95b3d5e.svg"},36487:function(t,e,a){"use strict";t.exports=a.p+"img/recognizing-in-progress.f639c8a6.svg"},89967:function(t,e,a){"use strict";t.exports=a.p+"img/ro.67f8501e.svg"},14683:function(t,e,a){"use strict";t.exports=a.p+"img/ru.60f54974.svg"},70940:function(t,e,a){"use strict";t.exports=a.p+"img/rush-8.ca349ebc.svg"},31636:function(t,e,a){"use strict";t.exports=a.p+"img/service.36340f97.svg"},35709:function(t,e,a){"use strict";t.exports=a.p+"img/service_0.36340f97.svg"},9123:function(t,e,a){"use strict";t.exports=a.p+"img/service_1.b12745c1.svg"},84510:function(t,e,a){"use strict";t.exports=a.p+"img/service_2.e05ec658.svg"},47629:function(t,e,a){"use strict";t.exports=a.p+"img/service_3.dcdf0ad6.svg"},61856:function(t,e,a){"use strict";t.exports=a.p+"img/service_4.05d2bc72.svg"},31495:function(t,e,a){"use strict";t.exports=a.p+"img/service_5.510c695d.svg"},36782:function(t,e,a){"use strict";t.exports=a.p+"img/service_6.245900e2.svg"},46224:function(t,e,a){"use strict";t.exports=a.p+"img/sk.cf67b282.svg"},74045:function(t,e,a){"use strict";t.exports=a.p+"img/tat.0a157ec3.svg"},58879:function(t,e,a){"use strict";t.exports=a.p+"img/tr.50bef572.svg"},80805:function(t,e,a){"use strict";t.exports=a.p+"img/ua.317fdd6c.svg"},65167:function(t,e,a){"use strict";t.exports=a.p+"img/uz.2c749f66.svg"},43450:function(t,e,a){"use strict";t.exports=a.p+"img/wave.42764780.svg"},65371:function(t,e,a){"use strict";t.exports=a.p+"img/noorders.edae3894.png"},13389:function(t,e,a){"use strict";t.exports=a.p+"img/splash.4722e129.png"},78057:function(t){"use strict";t.exports="data:image/gif;base64,R0lGODlhMgAyAPcBAAAAAAD/AAEBAQICAgUFBQYGBggICA0NDQ4ODhAQEBISEhMTExsbGyMjIygoKCkpKSsrKzMzMzY2Njc3Nzk5OUFBQUJCQktLS1FRUVNTU1dXV1xcXGJiYmNjY2lpaWxsbHBwcHFxcX19fYGBgY6OjpeXl5mZmZqamqKioqWlpaioqLi4uLq6usDAwMPDw8TExMfHx8rKytvb2+Hh4eLi4uPj4+vr6+7u7vLy8vX19fj4+Pn5+fr6+vz8/P39/f7+/v///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////yH/C05FVFNDQVBFMi4wAwEAAAAh+QQFBAABACwAAAAAMgAyAIcAAAAA/wABAQECAgIFBQUGBgYICAgNDQ0ODg4QEBASEhITExMbGxsjIyMoKCgpKSkrKyszMzM2NjY3Nzc5OTlBQUFCQkJLS0tRUVFTU1NXV1dcXFxiYmJjY2NpaWlsbGxwcHBxcXF9fX2BgYGOjo6Xl5eZmZmampqioqKlpaWoqKi4uLi6urrAwMDDw8PExMTHx8fKysrb29vh4eHi4uLj4+Pr6+vu7u7y8vL19fX4+Pj5+fn6+vr8/Pz9/f3+/v7///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8I/wB7ABFIcKDBgggPKkzIcCEQID6A/IAokeLEiBcrYrTIcaNHjRobinQ4sqRCkBlTdkS5UuXHlAVRTBgwAEDNmzZz4typsydPAxFUFKT4AQAAAUaPJkVqlKnSpkujQp0K4MNFgShqjphBsqtJhjVEEAAg9OEPCQBGuGT5sqXbiCMARJAokCbXr17zIqwBwIBAiEjfsh28VmWPwD4E2sTLWC+QxWaNEhZcmLLkH4oHNN7cFTJgAJRDtx2NODPn0wo9/7gsevJolJdNO0bd0LMPxK5zV/ZY+rHm2cBNqmb9erdui7F90w6e+vfn1sajP0+snPly2RKJHy9uGTTm6teZ2/DGLZ27+d6Qwzce7h26+5fJ01ufj/02aPPbXaP/rR44+/zlERYff/TNZ1sBANSAX4CVzSAAARAJFMEAIhR4WlwT/PVDCjaNUINADLo3wwhIoUDXQCD4ZJMGCuVwgYo8xeiTBwZZlEIECE7F1UUoSPXUj04FSYAEJl7lFQMAxFCQAxRa6NBkDQjgAkUkAIDADSEWN9IOBwAgg0AtGADACf0NNVoLACjAAxArIABABhEtKJpIPkgwQAc3fFCTBTg42RBbOGBglAVdAtCBDu/p1lADO0XQQplPvvQAAAlIAMILAL4H6XKZyrngpgUmmqVrAQEAIfkEBQQAAQAsMQAxAAEAAQAACAQAAwQEACH5BAUFAAEALDEAMQABAAEAAAgEAAMEBAAh+QQFBAABACwxADEAAQABAAAIBAADBAQAIfkEBQQAAQAsDQATAAQABAAACBUAe5go4eMEgAElSggAcCJAiRM7AgIAIfkEBQQAAQAsDAASAAYABgAACCcAcXQgYGCDjg4AEgrgQGBAgAAADBgA8BBAgQ0DAGTskIODgQIcAwIAIfkEBQQAAQAsDAASAA8ABgAACEQAewARKDCAwYMHgahYkEDFD4QBeJwo0aPHAoMJgEA8AWBACSAJDC7wAdEEAAAneqhIsCCFRoQ/SpzQAeQHEB81ISIMCAAh+QQFBAABACwVABIABwAGAAAIMAAD4OhA4MAGHQE4ABAAAACHAAQGBAgA4EAPAwAmCigQYMMAAB87BMjBwUABDjgCAgAh+QQFBQABACwVABIABwAGAAAIKQAD9AAycGAAICkWKFDhQ+CCAAESAPEBRAHEBT8EqkiwIAWQgxR/TAwIACH5BAUEAAEALCEAEwAEAAQAAAgVAHuYKOHjBIABJUoIAHAiQIkTOwICACH5BAUEAAEALB8AEgAHAAYAAAgvAAPg6EDAwAYdAToAWCiAQwACAwIEAGDAhwEAEgEUCLBhAACPHQLk4GCgQIccAQEAIfkEBQQAAQAsHwASAAcABgAACCkAA/QAMnBgACAqFiRQ8UPgggABEgD5ASQBxAU+BKpIsCAFkIMUfUwMCAAh+QQFBAABACwxADEAAQABAAAIBAADBAQAIfkEBQQAAQAsMQAxAAEAAQAACAQAAwQEACH5BAUFAAEALDEAMQABAAEAAAgEAAMEBAAh+QQFBAABACwxADEAAQABAAAIBAADBAQAIfkEBQQAAQAsMQAxAAEAAQAACAQAAwQEACH5BAUEAAEALDEAMQABAAEAAAgEAAMEBAAh+QQFBAABACwMABIABgAGAAAIJwBxdCBgYIOODgASCuBAYECAAAAMGADwEECBDQMAZOyQg4OBAhwDAgAh+QQFBAABACwMABIABgAGAAAIJQB7ABEocKCJEj5+9DgRIEAJIEBKNDzhQ2CJEzsg/gDiA8iPgAAAIfkEBQUAAQAsDQASAA8ABgAACEMAAwgcOBBHBwIHNuj4AcQHEIIBOAAQAAAAByA9MEIkMEAggAMOGRLsYQCAQAEFAmTsAXHDAAAvO0AkmIODgQIccAQEACH5BAUEAAEALBUAEgAHAAYAAAgpAAP0ADJwYAAgMzRomOFD4IYAATIA8QFEA0QNPwTWyLBBBpCDFH9MDAgAIfkEBQQAAQAsFwATAAQABAAACA8AfQD5AQRID4MEBRo0GBAAIfkEBQQAAQAsHwASAAcABgAACC8AA+DoQMDABh0BOgBYKIBDAAIDAgQAYMCHAQASARQIsGEAAI8dAuTgYKBAhxwBAQAh+QQFBAABACwfABIABwAGAAAIKQAD9AAycGAAIDM0ZKDxQ6CGAAEyAPkBJANEDT4E1sigYQaQgxR9TAwIACH5BAUEAAEALCEAEwAEAAQAAAgPAH8A8QEESA+DBAUaNBgQACH5BAUFAAEALDEAMQABAAEAAAgEAAMEBAAh+QQFBQABACwxADEAAQABAAAIBAADBAQAOw=="}},e={};function a(o){var r=e[o];if(void 0!==r)return r.exports;var s=e[o]={id:o,loaded:!1,exports:{}};return t[o].call(s.exports,s,s.exports,a),s.loaded=!0,s.exports}a.m=t,function(){var t=[];a.O=function(e,o,r,s){if(!o){var i=1/0;for(_=0;_<t.length;_++){o=t[_][0],r=t[_][1],s=t[_][2];for(var n=!0,c=0;c<o.length;c++)(!1&s||i>=s)&&Object.keys(a.O).every((function(t){return a.O[t](o[c])}))?o.splice(c--,1):(n=!1,s<i&&(i=s));if(n){t.splice(_--,1);var l=r();void 0!==l&&(e=l)}}return e}s=s||0;for(var _=t.length;_>0&&t[_-1][2]>s;_--)t[_]=t[_-1];t[_]=[o,r,s]}}(),function(){a.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return a.d(e,{a:e}),e}}(),function(){a.d=function(t,e){for(var o in e)a.o(e,o)&&!a.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})}}(),function(){a.f={},a.e=function(t){return Promise.all(Object.keys(a.f).reduce((function(e,o){return a.f[o](t,e),e}),[]))}}(),function(){a.u=function(t){return"js/"+t+"-legacy."+{71:"019400d8",160:"8c16d16c",174:"e1463edc",247:"a198cd49",259:"e79dca76",355:"541b9def",408:"9593e3d0",449:"bb050e4c",528:"fdad5083",750:"ad70d4ff",798:"dfd6e04f",880:"faaad571",911:"1937c25f",915:"367006c2",979:"aeda9f22"}[t]+".js"}}(),function(){a.miniCssF=function(t){return"css/"+t+"."+{71:"6b0e9e6a",174:"c23a0bda",259:"78368040",355:"61e13bdd",408:"7fb22280",449:"b0e18917",528:"29fa1950",798:"9ed89aa5",880:"1fedef87"}[t]+".css"}}(),function(){a.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){var t={},e="2roomz:";a.l=function(o,r,s,i){if(t[o])t[o].push(r);else{var n,c;if(void 0!==s)for(var l=document.getElementsByTagName("script"),_=0;_<l.length;_++){var d=l[_];if(d.getAttribute("src")==o||d.getAttribute("data-webpack")==e+s){n=d;break}}n||(c=!0,n=document.createElement("script"),n.charset="utf-8",n.timeout=120,a.nc&&n.setAttribute("nonce",a.nc),n.setAttribute("data-webpack",e+s),n.src=o),t[o]=[r];var u=function(e,a){n.onerror=n.onload=null,clearTimeout(m);var r=t[o];if(delete t[o],n.parentNode&&n.parentNode.removeChild(n),r&&r.forEach((function(t){return t(a)})),e)return e(a)},m=setTimeout(u.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=u.bind(null,n.onerror),n.onload=u.bind(null,n.onload),c&&document.head.appendChild(n)}}}(),function(){a.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}}(),function(){a.nmd=function(t){return t.paths=[],t.children||(t.children=[]),t}}(),function(){a.p="/"}(),function(){var t=function(t,e,a,o){var r=document.createElement("link");r.rel="stylesheet",r.type="text/css";var s=function(s){if(r.onerror=r.onload=null,"load"===s.type)a();else{var i=s&&("load"===s.type?"missing":s.type),n=s&&s.target&&s.target.href||e,c=new Error("Loading CSS chunk "+t+" failed.\n("+n+")");c.code="CSS_CHUNK_LOAD_FAILED",c.type=i,c.request=n,r.parentNode.removeChild(r),o(c)}};return r.onerror=r.onload=s,r.href=e,document.head.appendChild(r),r},e=function(t,e){for(var a=document.getElementsByTagName("link"),o=0;o<a.length;o++){var r=a[o],s=r.getAttribute("data-href")||r.getAttribute("href");if("stylesheet"===r.rel&&(s===t||s===e))return r}var i=document.getElementsByTagName("style");for(o=0;o<i.length;o++){r=i[o],s=r.getAttribute("data-href");if(s===t||s===e)return r}},o=function(o){return new Promise((function(r,s){var i=a.miniCssF(o),n=a.p+i;if(e(i,n))return r();t(o,n,r,s)}))},r={143:0};a.f.miniCss=function(t,e){var a={71:1,174:1,259:1,355:1,408:1,449:1,528:1,798:1,880:1};r[t]?e.push(r[t]):0!==r[t]&&a[t]&&e.push(r[t]=o(t).then((function(){r[t]=0}),(function(e){throw delete r[t],e})))}}(),function(){var t={143:0};a.f.j=function(e,o){var r=a.o(t,e)?t[e]:void 0;if(0!==r)if(r)o.push(r[2]);else{var s=new Promise((function(a,o){r=t[e]=[a,o]}));o.push(r[2]=s);var i=a.p+a.u(e),n=new Error,c=function(o){if(a.o(t,e)&&(r=t[e],0!==r&&(t[e]=void 0),r)){var s=o&&("load"===o.type?"missing":o.type),i=o&&o.target&&o.target.src;n.message="Loading chunk "+e+" failed.\n("+s+": "+i+")",n.name="ChunkLoadError",n.type=s,n.request=i,r[1](n)}};a.l(i,c,"chunk-"+e,e)}},a.O.j=function(e){return 0===t[e]};var e=function(e,o){var r,s,i=o[0],n=o[1],c=o[2],l=0;if(i.some((function(e){return 0!==t[e]}))){for(r in n)a.o(n,r)&&(a.m[r]=n[r]);if(c)var _=c(a)}for(e&&e(o);l<i.length;l++)s=i[l],a.o(t,s)&&t[s]&&t[s][0](),t[s]=0;return a.O(_)},o=self["webpackChunk_2roomz"]=self["webpackChunk_2roomz"]||[];o.forEach(e.bind(null,0)),o.push=e.bind(null,o.push.bind(o))}();var o=a.O(void 0,[998],(function(){return a(86947)}));o=a.O(o)})();
//# sourceMappingURL=app-legacy.96cded08.js.map