(window.webpackJsonp=window.webpackJsonp||[]).push([[25,8,19],{1002:function(t,e,r){var content=r(1007);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(7).default)("5ff55c1d",content,!0,{sourceMap:!1})},1003:function(t,e,r){"use strict";r.r(e);var n=r(403),o=(r(24),r(0)),l=(r(17),r(86),{props:{model:{default:void 0},closeText:{type:String,default:"Avbryt"},confirmText:{type:String,default:"Erstatt handlevogn"}},computed:{showCrossSiteDialog:function(){return this.$store.getters["cart/getShowCrossSiteDialog"]},cartSalon:function(){return this.$store.getters["salon/getSalonById"](this.$store.getters["cart/getSelectedSalon"]||this.$store.getters["cart/getPreviousSelectedSalon"])}},methods:{keepChoice:function(){this.$emit("keepSalonChoice"),this.$store.commit("cart/setShowCrossSiteDialog",!1)},removeTreatmentsFromCart:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.$store.getters["cart/getCart"],e.next=3,t.$store.dispatch("cart/removeCartTreatments",{treatmentIds:r.treatmentIds,siteId:r.siteId,clientUUId:r.clientUUId,nextSiteId:t.$route.query.department?parseInt(t.$route.query.department):t.$store.getters["cart/getPreviousSelectedSalon"]}).then((function(){t.$store.commit("cart/setShowCrossSiteDialog",!1)}));case 3:case"end":return e.stop()}}),e)})))()}}}),c=(r(1006),r(3)),component=Object(c.a)(l,(function(){var t=this,e=t._self._c;return e("FixitDialog",{attrs:{"max-width":"580px",persistent:"",show:t.showCrossSiteDialog,title:"Vil du endre behandlingssted?",titleIcon:"fxt-cart"}},[e("div",{staticClass:"pa-4"},[e("p",{class:t.$vuetify.breakpoint.mdAndDown?"pa-4":"mx-4 px-16 py-4"},[t._v("\n      Du har behandlinger i handlevognen fra "+t._s(t.cartSalon&&t.cartSalon.name?t.cartSalon.name:"en annen salong")+". Ønsker du å\n      tømme behandlinger i handlevognen?\n    ")]),t._v(" "),e("div",{staticClass:"d-flex justify-end"},[e(n.a,{staticClass:"mr-2",staticStyle:{"text-transform":"none"},attrs:{rounded:"",text:"",color:"primary"},on:{click:function(e){return t.keepChoice()}}},[t._v("\n        "+t._s(t.closeText)+"\n      ")]),t._v(" "),e(n.a,{staticClass:"replace-btn",staticStyle:{"text-transform":"none",color:"var(--v-primary-text-base)"},attrs:{rounded:""},on:{click:function(e){return t.removeTreatmentsFromCart()}}},[t._v("\n        "+t._s(t.confirmText)+"\n      ")])],1)])])}),[],!1,null,"0f7cc87c",null);e.default=component.exports;installComponents(component,{FixitDialog:r(86).default})},1006:function(t,e,r){"use strict";r(1002)},1007:function(t,e,r){var n=r(6)((function(i){return i[1]}));n.push([t.i,".choose-btn[data-v-0f7cc87c]{font-size:16px;font-weight:700;line-height:16px;text-transform:none}.choose-btn[data-v-0f7cc87c],.replace-btn[data-v-0f7cc87c]{background-color:var(--v-primary-base)!important;color:var(--v-primary-text-base)}",""]),n.locals={},t.exports=n},1026:function(t,e,r){var content=r(1053);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(7).default)("e42e3d16",content,!0,{sourceMap:!1})},1052:function(t,e,r){"use strict";r(1026)},1053:function(t,e,r){var n=r(6)((function(i){return i[1]}));n.push([t.i,".v-expansion-panel-content[data-v-f30f14c8] .v-expansion-panel-content__wrap{padding-left:10px}.v-list-group[data-v-f30f14c8] .v-list-item__title{font-size:24px!important;font-weight:400}.v-list-group[data-v-f30f14c8] .v-input--selection-controls__ripple{opacity:0}.v-list-group[data-v-f30f14c8] .v-list-item{min-height:0!important;min-height:auto!important;padding:0}.v-list-group[data-v-f30f14c8] .v-list-item__action{margin-bottom:0;margin-right:5px!important;margin-top:0}.v-list-group[data-v-f30f14c8] .v-list-item__content{padding:5px 0}.v-list[data-v-f30f14c8]{padding:5px 0}.v-list[data-v-f30f14c8] .v-list-item__title{font-size:14px!important}.v-list[data-v-f30f14c8] .v-list-item{min-height:0!important;min-height:auto!important}.v-list[data-v-f30f14c8] .v-input--selection-controls__ripple{opacity:0}.v-list[data-v-f30f14c8] .v-list-item__content{font-size:16px;padding:0}.v-list[data-v-f30f14c8] .v-list-item__action{margin-bottom:0;margin-right:5px!important;margin-top:0}.horizontal__divider[data-v-f30f14c8]{border-width:0 2px 0 0;position:absolute;right:0;top:0}.treatment-filter[data-v-f30f14c8]{height:100%}@media only screen and (min-width:960px){.treatment-filter[data-v-f30f14c8],.treatment-filter__expansion-panel[data-v-f30f14c8]{max-width:280px}.treatment-filter__expansion-panel--title[data-v-f30f14c8]{font-size:16px;font-weight:700}}",""]),n.locals={},t.exports=n},1069:function(t,e,r){"use strict";r.r(e);var n=r(989),o=r(1049),l=r(1051),c=r(1050),m=r(1048),d=r(409),f=r(410),h=r(408),y=r(74),v=r(1045),_=(r(15),r(26),r(24),r(10),r(9),r(4),r(20),r(12),r(21),r(2)),x=r(0);r(47),r(16),r(162),r(17),r(349);function S(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function w(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?S(Object(r),!0).forEach((function(e){Object(_.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var $={components:{CrossSalonDialog:r(1003).default},props:{departmentList:{type:Array,required:!1},urlDepartments:{type:Array,required:!1},employeeList:{type:Array,required:!1},urlEmployees:{type:Array,required:!1},isMobile:{type:Boolean,default:function(){return!1}}},data:function(){return{panel:[0,1,2]}},computed:{selectedBookingSalon:function(){return this.$store.getters["cart/getSelectedSalon"]},isSingleSite:function(){return this.$store.getters["salon/getIsSingleSite"]},isLoadingEmployees:function(){return this.$store.getters["employees/getIsLoadingEmployees"]}},methods:{selectDepartment:function(t){var e=arguments,r=this;return Object(x.a)(regeneratorRuntime.mark((function n(){var o,l,c;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:o=e.length>1&&void 0!==e[1]?e[1]:"switched-in-filter",t&&0!==t&&(l=r.selectedBookingSalon,r.handleUrl(t),r.$store.commit("cart/setPreviousSelectedSalon"),"keep-salon-choice"===o?r.$store.commit("cart/setSelectedSalon",t):"none-selected"===o?(c=r.$store.getters["cart/getCart"],r.$store.commit("cart/setSelectedSalon",c&&c.siteId?c.siteId:null)):r.$store.commit("cart/setSelectedSalon",l===t?null:t));case 2:case"end":return n.stop()}}),n)})))()},handleUrl:function(t){var e=arguments,r=this;return Object(x.a)(regeneratorRuntime.mark((function n(){var o,l,c;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:o=!(e.length>1&&void 0!==e[1])||e[1],l=e.length>2&&void 0!==e[2]&&e[2],c=(c=r.urlDepartments.slice()).includes(t)&&!l?[]:[t],r.isMobile?r.$emit("setDeptFilter",c):r.$router.push({query:w(w({},JSON.parse(JSON.stringify(r.$route.query))),{},{department:c,employees:o?void 0:r.urlEmployees.slice()})});case 5:case"end":return n.stop()}}),n)})))()},selectEmployee:function(t){var e=this.urlEmployees.slice();if(this.urlEmployees.includes(t)){if(e.length&&null!=e&&null!=e){var r=e.indexOf(t);e.splice(r,1)}}else e.push(t);this.isMobile?this.$emit("setEmpFilter",e):this.$router.push({query:w(w({},JSON.parse(JSON.stringify(this.$route.query))),{},{employees:e})})}},watch:{selectedBookingSalon:function(){var t=this;return Object(x.a)(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=null!==t.$store.getters["cart/getPreviousSelectedSalon"]&&0!==t.$store.getters["cart/getPreviousSelectedSalon"],t.selectedBookingSalon&&!r&&t.handleUrl(t.selectedBookingSalon);case 2:case"end":return e.stop()}}),e)})))()}},mounted:function(){var t=this;return Object(x.a)(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=0!==t.$store.getters["cart/getPreviousSelectedSalon"],t.selectedBookingSalon&&!r&&t.handleUrl(t.selectedBookingSalon,!1,!0),e.next=4,t.$store.dispatch("employees/getSiteEmployees",t.selectedBookingSalon);case 4:case"end":return e.stop()}}),e)})))()},beforeMount:function(){"undefined"!=typeof window&&window.addEventListener("scroll",this.onScroll)}},F=$,O=(r(1052),r(3)),component=Object(O.a)(F,(function(){var t=this,e=t._self._c;return e("div",{staticClass:"treatment-filter"},[e(m.a,{staticClass:"treatment-filter__expansion-panel",attrs:{flat:"",multiple:""},model:{value:t.panel,callback:function(e){t.panel=e},expression:"panel"}},[t.isSingleSite?t._e():e(o.a,[e(c.a,{staticClass:"treatment-filter__expansion-panel--title pl-3 secondary-font pb-0",attrs:{id:"departments-dropdown"}},[t._v("\n        Avdelinger\n      ")]),t._v(" "),e(l.a,[e(d.a,{attrs:{dense:""}},t._l(t.departmentList,(function(r){return e(f.a,{key:r.siteId,staticClass:"pb-1",attrs:{"append-icon":"","no-action":"",id:"select-department-button"},on:{click:function(e){t.selectDepartment(r.siteId,t.urlDepartments.includes(r.siteId)?"none-selected":"switched-in-filter")}},scopedSlots:t._u([{key:"activator",fn:function(){return[e(h.a,[e(n.a,{attrs:{"input-value":t.urlDepartments.includes(r.siteId),"hide-details":"",readonly:""}})],1),t._v(" "),e(y.a,[e(y.c,{staticClass:"secondary-font",staticStyle:{"font-size":"16px !important","font-weight":"400",height:"18px"},style:[t.urlDepartments.includes(r.siteId)?{color:"var(--v-primary-base)"}:{color:"black"}]},[t._v("\n                  "+t._s(r.name)+"\n                ")])],1)]},proxy:!0}],null,!0)})})),1)],1)],1),t._v(" "),e(o.a,{staticClass:"mt-0"},[e(c.a,{staticClass:"treatment-filter__expansion-panel--title pl-3 secondary-font pb-0",attrs:{id:"employees-dropdown"}},[t._v("\n        Ansatte\n      ")]),t._v(" "),e(l.a,[!t.isLoadingEmployees&&t.employeeList.length>0?e(d.a,{attrs:{dense:""}},t._l(t.employeeList,(function(r,i){return e(f.a,{key:r.base64EmployeeId+i,staticClass:"pb-1",attrs:{"append-icon":"","no-action":"",id:"select-employee-button"},on:{click:function(e){return t.selectEmployee(r.base64EmployeeId)}},scopedSlots:t._u([{key:"activator",fn:function(){return[e(h.a,[e(n.a,{attrs:{"input-value":t.urlEmployees.includes(r.base64EmployeeId),"hide-details":"",readonly:""}})],1),t._v(" "),e(y.a,[e(y.c,{staticClass:"secondary-font",staticStyle:{"font-size":"16px !important","font-weight":"400",height:"18px"},style:[t.urlEmployees.includes(r.base64EmployeeId)?{color:"var(--v-primary-base)"}:{color:"black"}]},[t._v("\n                  "+t._s(r.firstName)+"\n                ")])],1)]},proxy:!0}],null,!0)})})),1):t._e(),t._v(" "),t.isLoadingEmployees?e("div",t._l(8,(function(i){return e("div",{key:i},[e("div",{staticClass:"d-flex align-center items-center mb-2 pl-1 pt-1"},[e(v.a,{attrs:{width:"20",height:"18",loading:!0,type:"button"}}),t._v(" "),e(v.a,{staticClass:"pl-2",attrs:{width:i%2==0?"200px":"150px",height:"12",loading:!0,type:"text"}})],1)])})),0):t._e(),t._v(" "),t.isLoadingEmployees||0!==t.employeeList.length?t._e():e("div",[e("p",[t._v("Velg en avdeling for å se ansatte")])])],1)],1)],1),t._v(" "),e("cross-salon-dialog",{attrs:{confirmText:"Tøm handlevogn",closeText:"Behold behandlingssted"},on:{keepSalonChoice:function(e){return t.selectDepartment(t.$store.getters["cart/getPreviousSelectedSalon"],"keep-salon-choice")}}})],1)}),[],!1,null,"f30f14c8",null);e.default=component.exports;installComponents(component,{CrossSalonDialog:r(1003).default})},1091:function(t,e,r){var content=r(1155);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(7).default)("2ddcc60b",content,!0,{sourceMap:!1})},1154:function(t,e,r){"use strict";r(1091)},1155:function(t,e,r){var n=r(6)((function(i){return i[1]}));n.push([t.i,'.treatments-view{margin:auto;max-width:1180px;padding:0 0 25px}.treatments-view__title{font-size:30px}.treatments-view__grid-filter-search-text,.treatments-view__title{font-family:"Niveau Grotesk";font-weight:700}.treatments-view__grid-list .treatment-details{align-items:baseline;display:flex;flex-direction:row;justify-content:space-between;white-space:nowrap}.treatments-view__grid-list .treatment-details-sort{max-width:300px}.treatments-view__grid-list .treatment-details-sort .v-text-field__details{display:none!important}.treatments-view__grid-list .treatment-details-count{font-family:"Niveau Grotesk";font-weight:700}.treatments-toggle-btn{border-radius:25px;font-size:16px!important;font-style:normal!important;font-weight:700!important;line-height:16px!important;text-transform:none}.treatmets-filter__dialog-content{background-color:#fff;padding:10px}.treatmets-filter__dialog-content__title{color:var(--v-primary-base)}.treatmets-filter__dialog-content__filters{padding:15px 15px 0}',""]),n.locals={},t.exports=n},1218:function(t,e,r){"use strict";r.r(e);var n=r(403),o=r(985),l=r(982),c=r(406),m=r(218),d=r(1211),f=r(401),h=r(217),y=r(984),v=r(160),_=(r(15),r(10),r(20),r(12),r(21),r(0)),x=r(2),S=(r(17),r(16),r(26),r(9),r(4),r(19),r(33),r(13),r(436),r(46),r(141),r(1069)),w=r(1111),$=r(136),F=r(1212);function O(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function C(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?O(Object(r),!0).forEach((function(e){Object(x.a)(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):O(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var k={head:function(){return{title:"Behandlinger",titleTemplate:"%s |  ".concat(this.$store.getters["cmsConfigHomepage/getChainName"])}},layout:"HomepageLayout",components:{treatmentsFilter:S.default,treatmentList:w.default},data:function(){return{mobileFilter:!1,tempFilterDepartments:[],tempFilterEmployees:[]}},methods:{setTempDeptFilter:function(filter){this.tempFilterDepartments=filter},setTempEmpFilter:function(filter){this.tempFilterEmployees=filter},applyFilters:function(){this.$router.push({query:C(C({},JSON.parse(JSON.stringify(this.$route.query))),{},{department:this.departmentsFromUrl,employees:this.employeesFromUrl,search:""!=this.searchText?this.searchText:null})}),this.mobileFilter=!1},goSearch:function(){Object($.waitFor)("loading treatments",Object(_.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$store.dispatch("treatments/fetchTreatments",this.treatmentFilter);case 2:this.$store.commit("treatments/UpdateTreatmentsByCategories",this.treatmentFilter);case 3:case"end":return t.stop()}}),t,this)})))).apply(this)},updateCategories:function(t){this.categoriesFromUrl=this.categoriesFromUrl.includes(t)?this.categoriesFromUrl.filter((function(e){return e!==t})):this.categoriesFromUrl.concat([t])}},mounted:function(){var t=this;return Object(_.a)(regeneratorRuntime.mark((function e(){var r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:r=t.$store.getters["cart/getCart"],t.departmentsFromUrl.length&&(r&&r.siteId&&r.siteId!==t.departmentsFromUrl[0]&&r.treatmentIds.length?t.$store.commit("cart/setShowCrossSiteDialog",!0):(t.$store.commit("cart/setSelectedSalon",t.departmentsFromUrl[0]),t.$store.commit("cart/setPreviousSelectedSalon",0))),Object($.waitFor)("loading treatments",Object(_.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$store.dispatch("employees/getSiteEmployees",this.$store.getters["cart/getSelectedSalon"]);case 2:return t.next=4,this.$store.dispatch("treatments/fetchTreatments",this.treatmentFilter);case 4:return t.next=6,this.$store.dispatch("treatments/fetchTreatmentsByCategories");case 6:this.$store.commit("treatments/UpdateTreatmentsByCategories",this.treatmentFilter);case 7:case"end":return t.stop()}}),t,this)})))).apply(t);case 3:case"end":return e.stop()}}),e)})))()},computed:{categoriesFromUrl:{get:function(){var t=JSON.parse(JSON.stringify(this.$route.query));return t.category?Array.isArray(t.category)?t.category.map((function(t){return t})):[t.category]:[]},set:function(t){this.$router.push({query:C(C({},JSON.parse(JSON.stringify(this.$route.query))),{},{category:t,employees:this.employeesFromUrl,search:this.searchText})})}},searchText:{get:function(){return JSON.parse(JSON.stringify(this.$route.query)).search||""},set:F.a.debounce((function(t){this.$router.push({query:C(C({},JSON.parse(JSON.stringify(this.$route.query))),{},{department:this.departmentsFromUrl,employees:this.employeesFromUrl,search:t||null})})}),1e3)},treatmentFilter:function(){var t=this,e=this.employeesFromUrl.map((function(e){return t.employeeList.find((function(t){return t.base64EmployeeId===e}))}));return 1===e.length?this.$store.commit("cart/setPreselectedEmployee",e[0]):this.$store.commit("cart/setPreselectedEmployee",null),{searchString:this.searchText?this.searchText:"",siteIds:this.departmentsFromUrl.length?this.departmentsFromUrl:this.$store.getters["salon/getSiteIds"],chainId:this.$store.getters["cmsConfigHomepage/getChainId"],categoryIds:[],employee:this.employeesFromUrl.map((function(e){return t.employeeList.find((function(t){return t.base64EmployeeId===e})).employeeId}))||[],sortBy:0,sortType:0,page:1,perPage:-1}},departmentsFromUrl:function(){var t=JSON.parse(JSON.stringify(this.$route.query));return t.department&&!t.department.includes(null)?Array.isArray(t.department)?t.department.map((function(t){return parseInt(t)})):[parseInt(t.department)]:[]},employeesFromUrl:function(){var t=JSON.parse(JSON.stringify(this.$route.query));return t.employees?Array.isArray(t.employees)?t.employees.map((function(t){return t})):[t.employees]:[]},filteredTreatments:function(){return this.$store.getters["treatments/getTreatments"]},departmentList:function(){return this.$store.getters["salon/getSalons"].filter((function(t){return t.enabled}))},employeeList:function(){return this.$store.getters["employees/getEmployeesBySiteId"](this.$store.getters["cart/getSelectedSalon"]).filter((function(t){return t.availableForOnlineBooking}))},primary:function(){return this.$store.getters["cmsConfigHomepage/getPrimary"]},secondary:function(){return this.$store.getters["cmsConfigHomepage/getSecondary"]}},watch:{searchText:function(){this.goSearch()},employeesFromUrl:function(){Object($.waitFor)("refresh treatments",Object(_.a)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.$store.dispatch("treatments/fetchTreatments",this.treatmentFilter);case 2:this.$store.commit("treatments/UpdateTreatmentsByCategories",this.treatmentFilter);case 3:case"end":return t.stop()}}),t,this)})))).apply(this)}}},T=(r(1154),r(3)),component=Object(T.a)(k,(function(){var t=this,e=t._self._c;return e(l.a,{staticClass:"treatments-view"},[e("div",[e(y.a,{staticClass:"treatments-view__grid",attrs:{"no-gutters":""}},[t.$vuetify.breakpoint.mdAndUp?e(o.a,{staticClass:"treatments-view__grid-filter",attrs:{cols:"3"}},[e("treatments-filter",{attrs:{urlDepartments:t.departmentsFromUrl,departmentList:t.departmentList,employeeList:t.employeeList,urlEmployees:t.employeesFromUrl},on:{setDeptFilter:t.setTempDeptFilter,setEmpFilter:t.setTempEmpFilter}})],1):t._e(),t._v(" "),e(o.a,{staticClass:"treatments-view__grid-list",attrs:{cols:t.$vuetify.breakpoint.mdAndUp?9:12}},[e("div",{staticClass:"d-flex align-center",class:t.$vuetify.breakpoint.smAndDown?"mx-4":""},[t.$vuetify.breakpoint.smAndDown?e(n.a,{staticClass:"mr-2",attrs:{id:"filter-button",text:"",color:t.primary},on:{click:function(e){t.mobileFilter=!t.mobileFilter}}},[e(m.a,{attrs:{color:t.primary}},[t._v("mdi-filter-variant")]),t._v("\n          Filter\n        ")],1):t._e(),t._v(" "),e(v.a,{staticClass:"mt-2",attrs:{"append-icon":"mdi-magnify ",label:"Søk",id:"search-field"},model:{value:t.searchText,callback:function(e){t.searchText=e},expression:"searchText"}})],1),t._v(" "),e("div",[e("treatment-list",{attrs:{treatments:t.filteredTreatments,showRecEngine:(!t.searchText||""===t.searchText)&&[0,1].includes(t.employeesFromUrl.length),categoriesFromUrl:t.categoriesFromUrl},on:{"update:categoriesFromUrl":function(e){return t.updateCategories(e)}}}),t._v(" "),e("h4",{directives:[{name:"show",rawName:"v-show",value:0==t.filteredTreatments.length&&!t.$wait.is("refresh treatments")&&!t.$wait.is("loading treatments"),expression:"\n              filteredTreatments.length == 0 &&\n              !$wait.is('refresh treatments') &&\n              !$wait.is('loading treatments')\n            "}],staticClass:"my-5 mx-5"},[t._v("\n            Finner ingen søkeresultater.\n          ")])],1)])],1),t._v(" "),e(d.a,{staticClass:"treatmets-filter__dialog-content",staticStyle:{"z-index":"201"},attrs:{"disable-route-watcher":"",stateless:"",fixed:"",width:"100%"},scopedSlots:t._u([{key:"append",fn:function(){return[e("div",[e(c.a),t._v(" "),e(n.a,{attrs:{id:"show-treatments-button",block:"",color:t.primary,elevation:"0"},on:{click:t.applyFilters}},[t._v("Vis behandlinger\n          ")])],1)]},proxy:!0}]),model:{value:t.mobileFilter,callback:function(e){t.mobileFilter=e},expression:"mobileFilter"}},[e(n.a,{staticClass:"mt-2",staticStyle:{"z-index":"10"},attrs:{absolute:"",id:"filter-close-button",icon:"",right:"",color:t.primary},on:{click:function(e){t.mobileFilter=!1}}},[e(m.a,[t._v("mdi-close")])],1),t._v(" "),e("h2",{staticClass:"treatmets-filter__dialog-content__title"},[t._v("Filter")]),t._v(" "),e("div",{staticClass:"treatmets-filter__dialog-content__filters"},[e("treatments-filter",{attrs:{departmentList:t.departmentList,urlDepartments:t.departmentsFromUrl,employeeList:t.employeeList,urlEmployees:t.employeesFromUrl},on:{setDeptFilter:t.setTempDeptFilter,setEmpFilter:t.setTempEmpFilter}})],1)],1),t._v(" "),t.$wait.is("loading treatments")?e(f.a,{staticClass:"align-center justify-center",staticStyle:{"z-index":"2000"},attrs:{"model-value":t.$wait.is("loading treatments")}},[t.$wait.is("loading treatments")?e(h.a,{attrs:{color:"primary",indeterminate:"",size:"64"}}):t._e()],1):t._e()],1)])}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{TreatmentsFilter:r(1069).default,TreatmentList:r(1111).default})}}]);
//# sourceMappingURL=b87aa2c.js.map