PageSourceSearch

https://www.zwemmen-utrecht.nl/assets/4631/js/d13a38f3616e483764bd.min.js

js zwemmen-utrecht.nl collected 2026-10-07 22:42:00 UTC 42,463 bytes, 2 lines download raw bytes

1(self.webpackChunk_serabusinessdesign_mijn_dataduiker=self.webpackChunk_serabusinessdesign_mijn_dataduiker||[]).push([[4631],{14631:function(t,e,a){"use strict";a.r(e),a.d(e,{default:function(){return H}});var s=a(20144),i=a(19938),o=a.n(i),n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"rental-scheduler",attrs:{id:"main-content"}},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-lg-7"},[e("div",{ref:"locationCardHarness",staticClass:"py-2"},[e("div",{staticClass:"card"},[e("div",{staticClass:"card-body"},[t.sessionRestoreAvailable?e("div",{staticClass:"card mb-3 border-left-line-info"},[e("div",{staticClass:"card-body d-flex justify-content-between align-items-center"},[e("div",{staticClass:"text-wrapper"},[e("h6",[t._v(t._s(t.$t("rental_scheduler.sessionRestoreAvailable_title"))+"?")]),t._v("\n                                    "+t._s(t.$t("rental_scheduler.sessionRestoreAvailable_helper"))+"\n                                ")]),t._v(" "),e("div",{staticClass:"btn btn-primary text-nowrap",on:{click:function(e){return t.restoreSession()}}},[t._v("\n                                    "+t._s(t.$t("rental_scheduler.reset_session"))+"\n                                ")])])]):t._e(),t._v(" "),e("h2",{staticClass:"h4"},[t._v("\n                            "+t._s(t.$t("rental_scheduler.choice_location"))+"\n                        ")]),t._v(" "),e("fieldset",[e("label",{attrs:{for:"usageFilter"}},[t._v("\n                                "+t._s(t.$t("rental_scheduler.choose_activity_helper"))+"\n                            ")]),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-lg-8"},[e("v-select",{attrs:{id:"usageFilter",options:t.usages,reduce:t=>t.LocationUsageID,label:"Name",placeholder:t.$t("rental_scheduler.choose_activity_placeholder")},on:{input:t.fetchLocations},scopedSlots:t._u([{key:"no-options",fn:function(){return[t._v("\n                                            "+t._s(t.$t("rental_scheduler.no_results"))+"\n                                        ")]},proxy:!0}]),model:{value:t.LocationUsageIDFilter,callback:function(e){t.LocationUsageIDFilter=e},expression:"LocationUsageIDFilter"}})],1)])]),t._v(" "),e("hr"),t._v(" "),t.availableAreas.length?e("fieldset",[e("label",{attrs:{for:"areaFilter"}},[t._v(t._s(t.$t("rental_scheduler.choose_area_helper")))]),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-lg-8"},[e("v-select",{attrs:{id:"areaFilter",options:t.availableAreas,label:"Name",multiple:"",placeholder:t.$t("rental_scheduler.choose_area_placeholder")},model:{value:t.areaFilter,callback:function(e){t.areaFilter=e},expression:"areaFilter"}})],1)])]):t._e(),t._v(" "),t.availableAreas.length?e("hr"):t._e(),t._v(" "),t.warehouseTypeList.length?e("fieldset",[e("label",{attrs:{for:"typeFilter"}},[t._v(t._s(t.$t("rental_scheduler.choose_type_helper")))]),t._v(" "),e("div",{staticClass:"row"},[e("div",{staticClass:"col-12 col-lg-8"},[e("v-select",{attrs:{id:"typeFilter",options:t.warehouseTypeList,reduce:t=>t.WarehouseTypeID,label:"Name",multiple:"",placeholder:t.$t("rental_scheduler.choose_type_placeholder")},model:{value:t.typeFilter,callback:function(e){t.typeFilter=e},expression:"typeFilter"}})],1)])]):t._e(),t._v(" "),t.warehouseTypeList.length?e("hr"):t._e(),t._v(" "),e("fieldset",[e("div",{},[e("div",{staticClass:"general-wrapper"},[e("label",{attrs:{for:"input-StartDate"}},[t._v(t._s(t.$t("rental_scheduler.day_selection_label")))]),t._v(" "),e("div",{staticClass:"d-flex mb-2"},[e("date-picker",{attrs:{locale:t.$root.locale,"show-prev-next":!0},on:{interaction:function(e){t.sessionRestoreAvailable=!1}},model:{value:t.dateFilter,callback:function(e){t.dateFilter=e},expression:"dateFilter"}})],1)])])]),t._v(" "),e("div",[null!=t.LocationUsageIDFilter?e("transition-group",{attrs:{name:"isotope",tag:"div",appear:""}},t._l(t.filteredLocations,(function(a){return e("div",{key:a.LocationID,staticClass:"isotope-item"},[e("location-card",{attrs:{location:a,"selected-event":t.selectedEvent,part:t.findCheapestLocationPart(a),selected:t.isLocationSelected(a),loading:t.fetchingLocations},on:{select:function(e){return t.selectLocation(a,e)}}})],1)})),0):t._e()],1),t._v(" "),t.filteredLocations.length<1&&!t.fetchingLocations&&null!=t.LocationUsageIDFilter?e("div",{staticClass:"card border rounded mt-3 bg-light"},[e("div",{staticClass:"card-body p-3"},[e("div",{staticClass:"d-flex align-items-center"},[e("font-awesome-icon",{attrs:{icon:t.icons.faMapMarkerQuestion,size:"xl","fixed-width":""}}),t._v(" "),e("div",{staticClass:"card-body pl-3"},[e("h5",{staticClass:"card-title mb-0"},[t._v("\n                                            "+t._s(t.$t("rental_scheduler.no_facilities_match_query"))+"\n                                        ")]),t._v(" "),e("div",[t._v("\n                                            "+t._s(t.$t("rental_scheduler.change_date_or_expand_criteria"))+"\n                                        ")])])],1)])]):t._e(),t._v(" "),null===t.LocationUsageIDFilter?e("div",{staticClass:"alert alert-info mt-3"},[t._v("\n                            "+t._s(t.$t("rental_scheduler.no_facility_chosen_notice"))+"\n                        ")]):t._e(),t._v(" "),t.fetchingLocations&&0===t.filteredLocations.length?[e("div",{staticClass:"w-100 text-center mt-4"},[e("font-awesome-icon",{staticClass:"text-primary",staticStyle:{opacity:"0.25"},attrs:{icon:t.icons.faCircleNotch,size:"6x",spin:""}})],1)]:t._e()],2)])])]),t._v(" "),e("div",{staticClass:"col-md"},[e("div",{ref:"partCardHarness",staticClass:"py-2"},[e("div",{staticClass:"card overflow-hidden"},[e("div",{staticClass:"card-body py-3"},[e("h2",{staticClass:"h4 mb-0"},[t._v("\n                            "+t._s(t.$t("rental_scheduler.your_reservation"))+"\n                        ")])]),t._v(" "),t.LocationID?e("div",{staticClass:"row no-gutters"},[t.selectedLocationCoords.lat&&t.selectedLocationCoords.lng?e("div",{staticClass:"col"},[e("l-map",{staticStyle:{font:"inherit"},attrs:{zoom:t.mapSettings.zoom,center:t.selectedLocationCoords}},[e("l-tile-layer",{attrs:{url:t.mapSettings.url,attribution:t.mapSettings.attribution}}),t._v(" "),e("l-marker",{attrs:{"lat-lng":t.selectedLocationCoords}}
1),t._v(" "),e("l-control",[e("button",{staticClass:"btn btn-sm p-2 btn-primary shadow-sm",attrs:{type:"button"},on:{click:function(e){e.preventDefault(),t.showMapModal=!0}}},[e("font-awesome-icon",{attrs:{icon:t.icons.faExpand,size:"lg","fixed-width":""}})],1)])],1)],1):t._e(),t._v(" "),e("div",{staticClass:"col"},[e("img",{staticClass:"h-auto",attrs:{src:t.selectedLocation.MainImage,alt:`Foto van ${t.selectedLocation.Name}`,width:"700",height:"400"}})])]):t._e(),t._v(" "),t.LocationID?e("div",{staticClass:"card-body pt-0"},[e("div",{staticClass:"row mt-3"},[e("div",{staticClass:"col"},[e("label",{attrs:{for:"ChosenLocation"}},[t._v(t._s(t.$t("rental_scheduler.chosen_facility")))]),t._v(" "),e("p",{staticClass:"mb-0",attrs:{id:"ChosenLocation"}},[t._v("\n                                    "+t._s(t.selectedLocation.Name)+"\n                                ")])]),t._v(" "),e("div",{staticClass:"col"},[e("label",{attrs:{for:"ChosenLocation"}},[t._v(t._s(t.$t("rental_scheduler.chosen_activity")))]),t._v(" "),e("p",{staticClass:"mb-0",attrs:{id:"ChosenLocation"}},[t._v("\n                                    "+t._s(t.selectedLocationUsage.Name)+"\n                                ")])])]),t._v(" "),e("hr"),t._v(" "),t.selectedLocation.Part?e("fieldset",{staticClass:"form-group"},[e("label",{attrs:{for:"rentCost"}},[t._v(t._s(t.$t("rental_scheduler.rental_rate")))]),t._v(" "),e("div",{attrs:{id:"rentCost"}},t._l(t.selectedLocation.Part,(function(a){return e("div",{key:a.PartID,staticClass:"custom-control custom-radio"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.PartID,expression:"PartID"}],ref:"PartID",refInFor:!0,staticClass:"custom-control-input",attrs:{id:`part-${a.PartID}`,type:"radio",name:"PartID"},domProps:{value:a.PartID,checked:t._q(t.PartID,a.PartID)},on:{change:function(e){t.PartID=a.PartID}}}),t._v(" "),e("label",{staticClass:"custom-control-label font-weight-normal",attrs:{for:`part-${a.PartID}`}},[t._v(t._s(a.Name)+"\n                                        ("+t._s(t.formatCurrency(a.RetailPriceInclVAT))+"/"+t._s(t.$t("common.hour"))+")")])])})),0)]):t._e(),t._v(" "),e("div",{staticClass:"form-group mb-0"},[e("div",{staticClass:"form"},[e("label",{staticClass:"my-1 mr-2",attrs:{for:"CurrentEntryQuantity"}},[t._v(t._s(t.$t("rental_scheduler.quantity_of_people")))]),t._v(" "),e("p",{staticClass:"form-text",class:t.ErrorCurrentEntryQuantity?"text-danger":"text-muted"},[t._v("\n                                    "+t._s(t.$t("rental_scheduler.visitor_amount"))+"\n                                ")]),t._v(" "),e("input",{directives:[{name:"model",rawName:"v-model.number",value:t.CurrentEntryQuantity,expression:"CurrentEntryQuantity",modifiers:{number:!0}}],ref:"CurrentEntryQuantity",staticClass:"form-control w-auto",class:{"is-invalid":t.ErrorCurrentEntryQuantity},attrs:{id:"CurrentEntryQuantity",name:"CurrentEntryQuantity",type:"number",max:"999"},domProps:{value:t.CurrentEntryQuantity},on:{input:function(e){e.target.composing||(t.CurrentEntryQuantity=t._n(e.target.value))},blur:function(e){return t.$forceUpdate()}}}),t._v(" "),e("hr")])]),t._v(" "),e("fieldset",[e("div",{staticClass:"scheduler-calendar position-relative"},[e("fieldset",[e("div",{staticClass:"form-row"},[e("div",{staticClass:"col"},[e("div",{staticClass:"form-group"},[e("label",{staticClass:"w-100",attrs:{for:"blockQuantity"}},[t._v("\n                                                    "+t._s(t.$t("rental_scheduler.blocks"))+" ("+t._s(t.selectedLocation.BlockLength)+" min.)\n                                                ")]),t._v(" "),e("select",{directives:[{name:"model",rawName:"v-model",value:t.blockQuantity,expression:"blockQuantity"}],staticClass:"custom-select",staticStyle:{width:"4rem"},attrs:{id:"blockQuantity"},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.blockQuantity=e.target.multiple?a:a[0]}}},t._l(t.allowedBlockQuantities,(function(a){return e("option",{key:a,domProps:{value:a}},[t._v("\n                                                        "+t._s(a)+"\n                                                    ")])})),0)])])]),t._v(" "),e("transition",{attrs:{name:"fade"}},[t.selectedEventValid||t.calendarLoading?t._e():e("div",{staticClass:"alert alert-warning media mb-0"},[e("font-awesome-icon",{staticClass:"mr-3",staticStyle:{opacity:"0.35"},attrs:{icon:t.icons.faCalendarTimes,size:"2x"}}),t._v(" "),e("div",{staticClass:"media-body"},[e("h5",{staticClass:"alert-heading"},[t._v("\n                                                    "+t._s(t.$t("rental_scheduler.no_rates_found"))+"\n                                                ")]),t._v(" "),e("p",{staticClass:"card-text"},[t._v("\n                                                    "+t._s(t.$t("rental_scheduler.no_amount_found"))+"\n                                                ")]),t._v(" "),t.locationsMeta.CONTACT_LINK?e("p",{staticClass:"card-text"},[e("a",{staticClass:"alert-link",attrs:{href:t.locationsMeta.CONTACT_LINK,target:"_blank"}},[t._v("\n                                                        "+t._s(t.$t("rental_scheduler.get_contact01"))+"\n                                                        "),e("font-awesome-icon",{staticClass:"ml-1",attrs:{icon:t.icons.faExternalLink,size:"sm"}})],1),t._v("\n                                                    "+t._s(t.$t("rental_scheduler.get_contact02"))+"\n                                                ")]):t._e()])],1)])],1),t._v(" "),e("transition",{attrs:{name:"fade"}},[t.calendarLoading?e("div",{staticClass:"calendar-loader position-absolute d-flex justify-content-center align-items-center text-primary"},[e("font-awesome-icon",{attrs:{icon:t.icons.faCircleNotch,size:"3x",spin:""}})],1):t._e()])],1)]),t._v(" "),e("transition",{attrs:{name:"fade"}},[t.selectedEventValid?e("div",[e("label",{attrs:{for:"overview"}},[t._v(t._s(t.$t("rental_scheduler.overview")))]),t._v(" "),e("table",{staticClass:"table",attrs:{id:"overview"}},[e("tr",[e("td",{staticClass:"text-capitalize"},[t._v("\n                                            "+t._s(t.$t("entities.Location",{count:1}))+":\n                                        ")]),t._v(" "),e("td",[t.selectedLocation?e("div",[t._v("\n                                                "+t._s(t.selectedLocation.Name)+",\n                                                "+t._s((t.selectedLocation.Warehouse||{}).Name)+",\n                                                "+t._s((t.selectedLocation.Warehouse||{}).Address1)+",\n                                                "+t._s((t.selectedLocation.Warehouse||{}).Address3)+"\n                                            ")]):t._e()])]),t._v(" "),e("tr",[e("td",{staticClass:"text-capitalize"},[t._v("\n                                            "+t._s(t.$t("rental_scheduler.reservation"))+":\n                                        ")]),t._v(" "),e("td",[t.selectedEvent?e("div",[t._v("\n                                                "+t._s(t.moment(t.selectedEvent.StartDate).calendar(null,{sameElse:"LLLL"}))+" ("+t._s(t.moment(t.selectedEvent.StartDate).fromNow())+"),\n                                                "+t._s(t.$t("rental_scheduler.reserved_for",{duration:t.currentDuration}))+"\n                                            ")]):e("div",[t._v("\n                                                "+t._s(t.$t("rental_scheduler.choose_time"))+"\n                                            ")])])]),t._v(" "),e("tr",[e("td",{staticClass:"text-capitalize"},[t._v("\n                                            "+t._s(t.$t("rental_scheduler.activity"))+":\n                                        ")]),t._v(" "),e("td",[t.selectedLocationUsage.Name?e("div",[t._v("\n                                                "+t._s(t.selectedLocationUsage.Name)+"\n                                                "),t.CurrentEntryQuantity?e("span",[t._v("\n                                                    ("+t._s(t.$t("common.person",{count:t.CurrentEntryQuantity}))+")\n                                                ")]):t._e()]):e("div",[t._v("\n                                                "+t._s(t.$t("rental_scheduler.choose_activity"))+"\n                                            ")])])]),t._v(" "),e("tr",[e("td",{staticClass:"text-capitalize"},[t._v("\n                                            "+t._s(t.$t("rental_scheduler.amount_label"))+":\n                                        ")]),t._v(" "),e("td",[t.selectedEventMeta.price?e("div",[t._v("\n                                                "+t._s(t.selectedEventMeta.price)+"\n                                            ")]):e("div",[t._v("\n                                                "+t._s(t.$t("rental_scheduler.fill_all_fields"))+"\n                                            ")])])])]),t._v(" "),t.errorMessage?e("div",{staticClass:"alert alert-danger"},[t._v("\n                                    "+t._s(t.errorMessage)+"\n                                ")]):t._e(),t._v(" "),e("div",{},[e("button",{staticClass:"btn btn-block btn-lg btn-primary text-nowrap",attrs:{type:"submit",disabled:!t.selectedEventValid||t.submitting},on:{click:function(e){return e.preventDefault(),t.checkForm.apply(null,arguments)}}},[t._v("\n                                        "+t._s(t.$t("rental_scheduler.add_to_cart"))+"\n                                        "),e("font-awesome-icon",{staticClass:"ml-1",attrs:{icon:t.icons.faCartPlus,"fixed-width":""}})],1),t._v(" "),e("button",{staticClass:"btn btn-block btn-link text-nowrap",attrs:{type:"submit",disabled:!t.selectedEvent||t.submitting},on:{click:function(e){return e.preventDefault(),t.resetAll.apply(null,arguments)}}},[t._v("\n                                        "+t._s(t.$t("rental_scheduler.restart"))+"\n                                        "),e("font-awesome-icon",{staticClass:"ml-1",attrs:{icon:t.icons.faRedo,"fixed-width":""}})],1)])]):t._e()])],1):e("div",{staticClass:"jumbotron mb-0 text-center rounded-0"},[e("h3",{staticClass:"text-muted"},[t._v("\n                            "+t._s(t.$t("rental_scheduler.choose_facility"))+"\n                        ")])]),t._v(" "),0!=t.rentMembershipRequired&&0!=t.customerMembershipRequired?e("div",{staticClass:"alert alert-info rounded-0 position-relative mb-0"},[e("p",{staticClass:"font-weight-bold"},[t._v("\n                            "+t._s(t.$t("rental_scheduler.membership"))+" "+t._s(t.rentMembershipActivityName)+" "+t._s(t.$t("rental_scheduler.required_to_rent"))+"\n                        ")]),t._v(" "),e("div",{staticClass:"d-flex justify-content-between align-items-center"},[t._v("\n                            "+t._s(t.$t("rental_scheduler.no_membership_yet"))+"\n                            "),e("a",{staticClass:"btn btn-info text-nowrap stretched-link",attrs:{href:t.rentMembershipActivityUrl,target:"_blank"}},[t._v("\n                                "+t._s(t.$t("rental_scheduler.more_information"))+"\n                                "),e("font-awesome-icon",{attrs:{icon:t.icons.faArrowUpRightFromSquare,"fixed-width":"",size:"sm"}})],1)])]):t._e()])])])]),t._v(" "),t.LocationID&&t.selectedLocationCoords.lat&&t.selectedLocationCoords.lng?e("MapModal",{attrs:{"map-settings":t.mapSettings,"selected-location":t.selectedLocation,"selected-location-coords":t.selectedLocationCoords},on:{close:function(e){t.showMapModal=!1}},model:{value:t.showMapModal,callback:function(e){t.showMapModal=e},expression:"showMapModal"}}):t._e(),t._v(" "),e("results-modal",{attrs:{redirect:t.successRedirect},model:{value:t.showResultsModal,callback:function(e){t.showResultsModal=e},expression:"showResultsModal"}})],1)};n._withStripped=!0;var r=a(9669),l=a.n(r),c=a(96486),d=a(75352),u=a(32727),h=a(48380),m=a(76162),_=(a(90913),a(80008)),v=a.n(_),p=(a(93901),function(){var t=this,e=t._self._c;return e("div",{ref:"modal",staticClass:"modal modal fade",attrs:{"data-backdrop":"static","data-keyboard":"false",tabindex:"-1","aria-labelledby":`modal-title-${t._uid}`,"aria-hidden":"true"}},[e("div",{staticClass:"modal-dialog"},[e("div",{staticClass:"modal-content"},[e("div",{staticClass:"modal-body"},[e("l-map",{ref:"modalmap",staticStyle:{font:"inherit",height:"500px"},attrs:{zoom:t.mapSettings.zoom,center:t.selectedLocationCoords}},[e("l-tile-layer",{attrs:{url:t.mapSettings.url,attribution:t.mapSettings.attribution}}),t._v(" "),e("l-marker",{attrs:{"lat-lng":t.selectedLocationCoords}})],1)],1),t._v(" "),e("div",{staticClass:"modal-footer"},[e("button",{staticClass:"btn btn-primary",on:{click:function(e){return t.$emit("close")}}},[t._v("\n                    "+t._s(t.$t("actions.close"))+"\n                ")])])])])])});p._withStripped=!0;var g=a(65311),f=a.n(g),b={props:{show:Boolean},model:{prop:"show",event:"hide"},computed:{uid(){return this._uid}},methods:{hide(){this.$emit("hide",!1)}},watch:{show(t){t?f()(this.$el).modal("show"):f()(this.$el).modal("hide")}},mounted(){f()(this.$el).on("hide.bs.modal",this.hide)},beforeDestroy(){f()(this.$el).modal("dispose")}}
1,y={name:"MapModal",components:{LMap:d.Z,LTileLayer:u.Z,LMarker:h.Z},mixins:[b],props:{selectedLocation:Object,mapSettings:Object,selectedLocationCoords:Object},watch:{show(){setTimeout((()=>{this.$refs.modalmap.mapObject.invalidateSize()}),200)}}},C=a(51900),I=(0,C.Z)(y,p,[],!1,null,"236669b7",null).exports,S=function(){var t=this,e=t._self._c;return e("div",{ref:"modal",staticClass:"modal fade",attrs:{"data-backdrop":"static","data-keyboard":"false",tabindex:"-1","aria-labelledby":`modal-title-${t._uid}`,"aria-hidden":"true"}},[e("div",{staticClass:"modal-dialog"},[e("div",{staticClass:"modal-content"},[e("div",{staticClass:"modal-header"},[e("h5",{staticClass:"modal-title",attrs:{id:`modal-title-${t._uid}`}},[t._v("\n                    "+t._s(t.$t("rental_scheduler.added_to_cart"))+"\n                ")])]),t._v(" "),e("div",{staticClass:"modal-body"},[e("p",{staticClass:"mb-0"},[t._v("\n                    "+t._s(t.$t("rental_scheduler.added_next_step_message"))+"\n                ")])]),t._v(" "),e("div",{staticClass:"modal-footer"},[e("button",{staticClass:"btn btn-link",attrs:{type:"button"},on:{click:function(e){return e.preventDefault(),t.reload.apply(null,arguments)}}},[t._v("\n                    "+t._s(t.$t("rental_scheduler.another_reservation"))+"\n                ")]),t._v(" "),e("a",{staticClass:"btn btn-primary",attrs:{href:t.redirect||"#"}},[t._v(t._s(t.$t("rental_scheduler.to_cart"))),e("i",{staticClass:"fas fa-shopping-cart fa-fw ml-1"})])])])])])};S._withStripped=!0;var L={name:"ResultsModal",mixins:[b],props:{redirect:String},methods:{reload(){window.location.reload()}}},D=(0,C.Z)(L,S,[],!1,null,"71e15b34",null).exports,k=function(){var t=this,e=t._self._c;return t.availability.length?e("div",{staticClass:"media-item-wrapper border rounded mt-3",class:{"shadow border-dark":t.selected},style:{opacity:t.loading?"0.5":1}},[e("div",{staticClass:"media p-3"},[e("div",{staticClass:"row no-gutters"},[e("div",{staticClass:"col-12 col-sm-5"},[e("div",{staticClass:"media-body pr-3"},[e("img",{staticClass:"card-img-top w-100 h-auto rounded object-fit-cover mb-3",attrs:{src:t.location.MainImage,alt:`Foto van faciliteit: ${t.location.Name}`}})])]),t._v(" "),e("div",{staticClass:"col-12 col-sm-7 position-static"},[e("div",{staticClass:"media-body"},[t.location.Website?e("a",{staticClass:"float-right",attrs:{href:t.location.Website,target:"_blank",rel:"noopener",title:"Meer informatie bekijken"}},[e("i",{staticClass:"fas fa-info-circle fa-fw mr-1"}),t._v("Info\n                    ")]):t._e(),t._v(" "),e("h5",{staticClass:"card-title"},[t._v("\n                        "+t._s(t.$t("entities.Location",{count:1}))+": "+t._s(t.location.Name)+"\n                    ")]),t._v(" "),e("div",{staticClass:"mb-3"},[e("address",{staticClass:"media-body small mb-2"},[t._v("\n                            "+t._s((t.location.Warehouse||{}).Name)),e("br"),t._v("\n                            "+t._s((t.location.Warehouse||{}).Address1)),e("br"),t._v("\n                            "+t._s((t.location.Warehouse||{}).Address3)+"\n                        ")])]),t._v(" "),t.part&&t.locationParts.length>0?e("h6",{staticClass:"card-subtitle text-muted"},[t._v("\n                        "+t._s(t.locationParts.length>1?t.$t("rental_scheduler.costs_per_hour_from",{costs:t.formatCurrency(t.part.RetailPriceInclVAT)}):t.$t("rental_scheduler.costs_per_hour",{costs:t.formatCurrency(t.part.RetailPriceInclVAT)}))+"\n                    ")]):t._e(),t._v(" "),e("small",{staticClass:"text-muted d-block"},[t._v(t._s(t.$t("rental_scheduler.minimal_rent_period"))+": "+t._s(t.minimumRentalPeriod))])])])])]),t._v(" "),e("div",{staticClass:"bg-light py-3 rounded"},[e("div",{staticClass:"col-12"},[e("h6",{staticClass:"text-muted mb-3"},[e("i",{staticClass:"fas fa-clock fa-fw mr-1"}),t._v(t._s(t.$t("rental_scheduler.choose_available_moment"))+":\n            ")]),t._v(" "),e("div",{staticClass:"w-100"},[e("div",{staticClass:"form-row"},t._l(t.availability,(function(a){return e("div",{key:a.id,staticClass:"col-4 col-sm-3 col-xl-2 mb-2"},[e("button",{staticClass:"btn btn-outline-primary btn-block timeblock-btn",class:{active:a.isActive,"btn-outline-primary":!a.isDisabled,"btn-outline-secondary":a.isDisabled},attrs:{disabled:a.isDisabled},on:{click:function(e){return e.preventDefault(),t.$emit("select",a)}}},[t._v("\n                            "+t._s(a.StartDateFormatted)+"\n                        ")])])})),0)])])])]):t._e()};k._withStripped=!0;
1var w=a(35883),E=a(46630),M=a(784),R=a(57589),x=a(42426),$=a(79995),F=a(36609),P={name:"LocationCard",props:{location:{type:Object,required:!0},selectedEvent:{type:Object},part:{type:Object},selected:Boolean,loading:Boolean},data(){return{locales:{en:x.Z,nl:$.Z}}},computed:{locationParts(){return this.location.Part||[]},availability(){return(this.location.Availability||[]).filter((t=>t.selectable)).map((t=>{const e=new Date(t.StartDate),a=new Date(t.EndDate);return{...t,StartDateFormatted:(0,E.Z)(e,"HH:mm"),EndDateFormatted:(0,E.Z)(a,"HH:mm"),isActive:this.selectedEvent&&this.selected&&this.selectedEvent.StartDate===t.StartDate,isDisabled:!1}}))},minimumRentalPeriod(){const t=this.location.BlockMinimum*this.location.BlockLength,e=this.locales[F.ZP.language]||$.Z;return(0,M.Z)((0,R.Z)({start:0,end:60*t*1e3}),{locale:e})}},methods:{formatCurrency:w.xG}},A=(a(1558),(0,C.Z)(P,k,[],!1,null,"36cc9683",null).exports),T=a(44502),Q=a(45243),N=a(73582),B=a(72023);v().tz.setDefault("Europe/Amsterdam");const U={title:"Nieuwe reservering"};delete Q.Icon.Default.prototype._getIconUrl,Q.Icon.Default.mergeOptions({iconRetinaUrl:a(47030),iconUrl:a(92425),shadowUrl:a(84573)});var O={name:"RentalScheduler",components:{DatePicker:T.Z,LocationCard:A,ResultsModal:D,MapModal:I,LMap:d.Z,LTileLayer:u.Z,LMarker:h.Z,LControl:m.Z,FontAwesomeIcon:B.GN},data(){return{icons:{faCalendarTimes:N.qiI,faCartPlus:N.qD8,faCircleNotch:N.IJ7,faExpand:N.TL5,faExternalLink:N.gJF,faRedo:N.XSV,faMapMarkerQuestion:N.bxI},submitting:!1,fetchingLocations:!1,errorMessage:"",calendarLoading:!1,showMapModal:!1,showResultsModal:!1,successRedirect:null,abortController:null,sessionRestoreID:null,sessionRestoreAvailable:!1,sessionRestoreInProgress:!1,sessionFirstLoad:!0,warehouseTypeList:[],rentMembershipRequired:0,rentMembershipActivityUrl:0,rentMembershipActivityName:"",customerMembershipRequired:0,membershipActivityUrl:0,dateFilter:new Date,areaFilter:[],typeFilter:"",mapSettings:{url:"https://tile.openstreetmap.org/{z}/{x}/{y}.png",attribution:'&copy; <a target="_blank" href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',zoom:13},ErrorCurrentEntryQuantity:!1,selectedLocationUsageFilter:[],LocationUsageIDFilter:null,LocationUsageID:null,LocationID:null,PartID:null,selectedEvent:null,CurrentEntryQuantity:1,selectedLocation:{},usages:[],availableAreas:[],locations:[],locationsMeta:{},selectedBlock:"",blockQuantity:1}},computed:{selectedEventValid(){return!!this.selectedEvent&&!!this.selectedEventMeta.price},filteredLocations(){let t=this.locations.filter((t=>t.Availability&&t.Availability.length>0));return 0!==this.areaFilter.length&&(t=t.filter((t=>this.areaFilter.map((t=>(t||"").trim())).includes((t.Warehouse.Address3||"").trim())))),0!==this.typeFilter.length&&(t=t.filter((t=>this.typeFilter.includes(t.WarehouseTypeID)))),t.map((t=>(t.Availability?.length>0&&(t.Availability=t.Availability.map((e=>{const a=this.calculateLastAllowedBlock(t.Availability,e);let s=!0;return a&&t.BlockMinimum&&(s=v().duration(v()(a.EndDate).diff(v()(e.StartDate))).asMinutes()/t.BlockLength>=t.BlockMinimum),{...e,id:e.StartDate+"_"+e.LocationID,lastAllowedBlock:a,selectable:s}}))),t)))},selectedLocationCoords(){return{lat:this.selectedLocation?.Warehouse?.GeoLatitude,lng:this.selectedLocation?.Warehouse?.GeoLongitude}},selectedLocationUsage(){return this.usages.find((t=>t.LocationUsageID===this.LocationUsageID))||{}},selectedPart(){return(this.selectedLocation.Part||[]).find((t=>t.PartID===this.PartID))||{}},selectedEventMeta(){if(!this.selectedEvent)return{};const t=v().duration(v()(this.selectedEvent.EndDate).diff(v()(this.selectedEvent.StartDate))).asMinutes(),e=t/this.selectedLocation.BlockLength,a=t/60;let s,i;return this.selectedEvent.PriceLocation?.length>0?(s=this.selectedEvent.PriceLocation.reduce(((t,e)=>t+e.SalesCurrencyAmountInclVAT),0),i=this.formatCurrency(s)):this.selectedLocation.Part&&(s=Math.round(a*this.selectedPart.RetailPriceInclVAT),i=this.formatCurrency(s)),{minutes:t,blocks:e,hours:a,amount:s,price:i}},blockList(){return this.selectedLocation.Availability||[]}
1,allowedBlockQuantities(){return(0,c.range)(parseInt(this.selectedLocation.BlockMinimum||1),parseInt(this.blockMaximum)+1)},blockMaximum(){let t=this.selectedLocation.BlockMaximum||10;if(this.lastAllowedBlock){const e=v().duration(v()(this.lastAllowedBlock.EndDate).diff(this.selectedEvent.StartDate)).asMinutes();t=Math.min(t,Math.floor(e/this.selectedLocation.BlockLength))}return t},lastAllowedBlock(){return this.calculateLastAllowedBlock(this.blockList,this.selectedEvent)},currentDuration(){const t=v().duration(this.blockQuantity*this.selectedLocation.BlockLength,"minutes"),e=Math.floor(t.asHours()),a=t.minutes();let s="";return e>0?(s+=`${e} ${this.$t("rental_scheduler.hour",{count:e})}`,a>0&&(s+=`, ${a} ${this.$t("rental_scheduler.minute",{count:a})}`)):s=`${a} ${this.$t("rental_scheduler.minute",{count:a})}`,s}},watch:{dateFilter:{handler(t){this.sessionFirstLoad?this.sessionFirstLoad=!1:(this.cleanSessionStorage(),sessionStorage.setItem("RentalScheduler-dateFilter",t)),this.fetchLocations()}},CurrentEntryQuantity(t,e){!e&&t&&(this.ErrorCurrentEntryQuantity=!1,this.errorMessage=""),sessionStorage.setItem("RentalScheduler-CurrentEntryQuantity",t)},submitting(t){t&&(this.errorMessage="")},selectedEvent(t,e){t&&(e&&e.StartDate===t.StartDate&&e.EndDate===t.EndDate||this.resolveEvent())},PartID(){this.errorMessage=""},selectedLocation(t){(0,c.isEmpty)(t)||(this.sessionRestoreInProgress&&!(0,c.isEmpty)(sessionStorage.getItem("RentalScheduler-blockQuantity"))?this.blockQuantity=sessionStorage.getItem("RentalScheduler-blockQuantity"):this.blockQuantity=t.BlockMinimum,this.$nextTick((()=>{this.$refs.partCardHarness.scrollIntoView({behavior:"smooth",block:"start"})})))},LocationUsageIDFilter:{handler(t){this.cleanSessionStorage(),this.sessionRestoreAvailable=!1,null!==t&&sessionStorage.setItem("RentalScheduler-LocationUsageIDFilter",t)}},areaFilter:{handler(t){this.cleanSessionStorage(),this.sessionRestoreAvailable=!1,sessionStorage.setItem("RentalScheduler-areaFilter",JSON.stringify(t))}},typeFilter:{handler(t){this.cleanSessionStorage(),this.sessionRestoreAvailable=!1,sessionStorage.setItem("RentalScheduler-typeFilter",JSON.stringify(t))}},selectedBlock(t,e){this.updateEventFromInputs(),this.$nextTick((()=>{0===this.allowedBlockQuantities.length&&(this.selectedBlock=e)}))},blockQuantity(){this.updateEventFromInputs(),sessionStorage.setItem("RentalScheduler-blockQuantity",this.blockQuantity)},allowedBlockQuantities(){this.blockQuantity>this.allowedBlockQuantities[this.allowedBlockQuantities.length-1]?this.blockQuantity=this.allowedBlockQuantities[this.allowedBlockQuantities.length-1]:this.blockQuantity<this.allowedBlockQuantities[0]&&(this.blockQuantity=this.allowedBlockQuantities[0])}},mounted(){const t=btoa(Math.random().toString()).slice(2,10);this.sessionRestoreID=t,this.fetchFilters(),sessionStorage.getItem("RentalScheduler-LocationUsageIDFilter")?this.sessionRestoreAvailable=!0:this.removeSessionValues()},beforeMount(){v().locale(this.$root.locale)},methods:{moment:v(),resolveEvent(){if(this.selectedEvent)return this.errorMessage="",this.calendarLoading=!0,l().get("/php/xhr/ajax.php",{signal:this.getAbortSignal(),params:{function:"dataduiker/rental/resolveEvent",LocationID:this.LocationID,LocationUsageID:this.LocationUsageID,StartDate:this.selectedEvent.StartDate,EndDate:this.selectedEvent.EndDate}}).then((({data:t})=>{this.selectedEvent={...this.selectedEvent,PriceLocation:t.PriceLocation||[]},this.calendarLoading=!1})).catch((t=>{l().isCancel(t)||(this.parseError(t),this.calendarLoading=!1)}))},isLocationSelected(t){return!(!this.selectedEvent||!this.selectedEvent.StartDate)&&this.LocationID===t.LocationID&&v()(this.selectedEvent.StartDate).isSame(v()(t.Availability[0].StartDate),"date")},cleanSessionStorage(){this.sessionRestoreInProgress||this.sessionRestoreID!==sessionStorage.getItem("RentalScheduler-SessionID")&&(this.removeSessionValues(),sessionStorage.setItem("RentalScheduler-SessionID",this.sessionRestoreID))},restoreSession(){this.sessionRestoreAvailable=!1,this.sessionRestoreInProgress=!0,this.LocationUsageIDFilter=sessionStorage.getItem("RentalSc
1heduler-LocationUsageIDFilter");const t=JSON.parse(sessionStorage.getItem("RentalScheduler-typeFilter"))||[];this.typeFilter=[...t];const e=JSON.parse(sessionStorage.getItem("RentalScheduler-areaFilter"))||[];this.areaFilter=[...e],sessionStorage.getItem("RentalScheduler-dateFilter")&&(this.dateFilter=sessionStorage.getItem("RentalScheduler-dateFilter")),this.LocationUsageID=sessionStorage.getItem("RentalScheduler-LocationUsageID"),this.LocationID=sessionStorage.getItem("RentalScheduler-LocationID"),this.PartID=sessionStorage.getItem("RentalScheduler-PartID"),this.selectedBlock=sessionStorage.getItem("RentalScheduler-selectedBlock"),sessionStorage.getItem("RentalScheduler-CurrentEntryQuantity")>0&&(this.CurrentEntryQuantity=sessionStorage.getItem("RentalScheduler-CurrentEntryQuantity")),sessionStorage.getItem("RentalScheduler-blockQuantity")>0&&(this.blockQuantity=sessionStorage.getItem("RentalScheduler-blockQuantity")),this.selectedLocation=JSON.parse(sessionStorage.getItem("RentalScheduler-selectedLocation")),this.fetchLocations()},formatCurrency:w.xG,findCheapestLocationPart(t){return t.Part?Array.from(t.Part).sort(((t,e)=>t.RetailPriceInclVAT-e.RetailPriceInclVAT))[0]||{}:{PartID:"RENT_LOCATION",RetailPriceInclVAT:0}},fetchFilters(){l().get("/php/xhr/ajax.php",{params:{function:"dataduiker/rental/locationFilters"}}).then((({data:t})=>{this.usages=t.LocationUsage||[],this.availableAreas=t.City.length>1?t.City:[],this.minHoursAhead=t?.Company?.RENT_MIN_HOUR_AHEAD||0,this.rentMembershipRequired=t?.Company?.RENT_MEMBERSHIP_ACTIVITY?t.Company.RENT_MEMBERSHIP_ACTIVITY:0,this.rentMembershipActivityUrl=t?.Company?.RENT_MEMBERSHIP_ACTIVITY_URL?t.Company.RENT_MEMBERSHIP_ACTIVITY_URL:0,this.rentMembershipActivityName=t?.Company?.RENT_MEMBERSHIP_ACTIVITY_NAME?t.Company.RENT_MEMBERSHIP_ACTIVITY_NAME:0,this.customerMembershipRequired=t?.Company?.CUSTOMER_MEMBERSHIP_YN?t.Company.CUSTOMER_MEMBERSHIP_YN:0,this.warehouseTypeList=t.WarehouseTypes.length>1?t.WarehouseTypes:[],this.dateFilter=v()().toDate()}))},fetchLocations(){this.LocationUsageIDFilter&&(this.fetchingLocations=!0,this.fetchLocationsDebounced())},fetchLocationsDebounced:(0,c.debounce)((function(){l().get("/php/xhr/ajax.php",{params:{function:"dataduiker/rental/locations",LocationUsageID:this.LocationUsageIDFilter,filterDate:v()(this.dateFilter).format("YYYY-MM-DD")}}).then((({data:t})=>{this.locationsMeta=t._meta||{},this.locations=t.items||[],this.fetchingLocations=!1,this.sessionRestoreInProgress=!1}))}),350),selectLocation(t,e){this.cleanSessionStorage(),this.LocationUsageID=this.LocationUsageIDFilter,sessionStorage.setItem("RentalScheduler-LocationUsageID",this.LocationUsageID),sessionStorage.setItem("RentalScheduler-LocationUsageIDFilter",this.LocationUsageID),sessionStorage.setItem("RentalScheduler-typeFilter",JSON.stringify(this.typeFilter)),sessionStorage.setItem("RentalScheduler-areaFilter",JSON.stringify(this.areaFilter)),this.LocationID=t.LocationID,sessionStorage.setItem("RentalScheduler-LocationID",this.LocationID),this.PartID=this.findCheapestLocationPart(t).PartID,sessionStorage.setItem("RentalScheduler-PartID",this.PartID),this.selectedLocation=t,sessionStorage.setItem("RentalScheduler-selectedLocation",JSON.stringify(this.selectedLocation)),sessionStorage.setItem("RentalScheduler-dateFilter",this.dateFilter),e&&(this.selectedBlock=e.StartDate,sessionStorage.setItem("RentalScheduler-selectedBlock",this.selectedBlock))},calculateLastAllowedBlock(t,e){return e?t.slice().sort(((t,e)=>v()(t.StartDate)-v()(e.StartDate))).reduce(((t,a)=>v()(e.StartDate).format()===v()(a.StartDate).format()||t&&v()(t.EndDate).format()===v()(a.StartDate).format()?a:t),null):null},resetAll(){this.LocationUsageIDFilter=null,this.LocationUsageID=null,this.LocationID=null,this.areaFilter=[],this.PartID=null,this.selectedEvent=null,this.CurrentEntryQuantity=0,this.ErrorCurrentEntryQuantity=!1,this.removeSessionValues()},removeSessionValues(){sessionStorage.removeItem("RentalScheduler-LocationUsageIDFilter"),sessionStorage.removeItem("RentalScheduler-areaFilter"),sessionStorage.removeItem("RentalSc
1heduler-typeFilter"),sessionStorage.removeItem("RentalScheduler-dateFilter"),sessionStorage.removeItem("RentalScheduler-LocationUsageID"),sessionStorage.removeItem("RentalScheduler-LocationID"),sessionStorage.removeItem("RentalScheduler-PartID"),sessionStorage.removeItem("RentalScheduler-selectedLocation"),sessionStorage.removeItem("RentalScheduler-selectedBlock"),sessionStorage.removeItem("RentalScheduler-CurrentEntryQuantity"),sessionStorage.removeItem("RentalScheduler-blockQuantity")},checkForm(){if(null===this.CurrentEntryQuantity||this.CurrentEntryQuantity<1)return this.ErrorCurrentEntryQuantity=!0,void(this.errorMessage=this.$t("rental_scheduler.visitor_amount_helper"));this.addToCart()},addToCart(){const t=new FormData;t.append("FORM_METHOD","InsertLine"),t.append("FIELD_ID",this.PartID),t.append("FORM_ID",this.$root.formId),t.append("csrf_token",this.$root.csrfToken),t.append("LocationID",this.LocationID),t.append("PartID",this.PartID),t.append("WorkFlowDate",v()(this.selectedEvent.StartDate).format("YYYY-MM-DD HH:mm:ss")),t.append("WorkFlowDateTill",v()(this.selectedEvent.EndDate).format("YYYY-MM-DD HH:mm:ss")),t.append("Quantity","1"),t.append("CurrentEntryQuantity",this.CurrentEntryQuantity),t.append("LocationUsageID",this.LocationUsageID),this.submitting=!0,l().post("/php/xhr/ajax.php",t,{params:{function:"dataduiker/addToCart"}}).then((({data:t})=>{if(!t||!t.redirect)throw new Error("Invalid response!");this.showResultsModal=!0,this.successRedirect=t.redirect})).catch((t=>{this.parseError(t)})).finally((()=>{this.submitting=!1,""===this.errorMessage&&this.removeSessionValues()}))},updateEventFromInputs(){this.selectedBlock&&this.blockQuantity?this.selectedEvent={...U,StartDate:this.selectedBlock,EndDate:v()(this.selectedBlock).add(v().duration({minutes:(this.blockQuantity||this.selectedLocation.BlockMinimum||1)*this.selectedLocation.BlockLength})).format()}:this.selectedEvent=null},parseError(t){l().isCancel(t)||(t.response&&t.response.data?401===t.response.status?this.errorMessage="Log eerst in om te kunnen reserveren.":"object"==typeof t.response.data?this.errorMessage=Object.values(t.response.data).join(" / "):this.errorMessage=t.response.data:this.errorMessage="Er is een onbekende fout opgetreden. Probeer het nog eens.")},getAbortSignal(){return this.abortController&&this.abortController.abort(),this.abortController=new AbortController,this.abortController.signal}}},V=(a(84021),(0,C.Z)(O,n,[],!1,null,"09c599a2",null).exports),Z=a(9160);s.ZP.config.productionTip=!1,s.ZP.component("VSelect",o());var H=t=>{const e=document.querySelector(t),a={...e.dataset},i=a.locale||"nl-NL";w.vc.locale=i,(0,Z.Z)(i),new s.ZP({data:{csrfToken:a.csrfToken,formId:a.formId,locale:i},render:t=>t(V)}).$mount(e)}},94481:function(){},10385:function(){},44502:function(t,e,a){"use strict";a.d(e,{Z:function(){return _}});var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"date-picker-wrapper"},[e("v-date-picker",t._b({attrs:{"is-required":t.$attrs.required,locale:t.locale,popover:{visibility:"focus"},is24hr:"",attributes:[{key:"today",highlight:{fillMode:"outline"},dates:new Date}],mode:t.mode,"minute-increment":t.minuteIncrement},scopedSlots:t._u([{key:"default",fn:function({inputValue:a,inputEvents:s}){return[e("div",{staticClass:"input-group flex-nowrap"},[t.showPrevNext?e("div",{staticClass:"input-group-prepend",attrs:{id:"datepickerPrevBtn"},on:{click:t.goToPreviousDate}},[e("button",{staticClass:"btn btn-light border",attrs:{"aria-label":"Vorige datum"}},[e("font-awesome-icon",{attrs:{icon:t.icons.faChevronLeft,"aria-hidden":"true"}})],1)]):t._e(),t._v(" "),e("div",{staticClass:"input-group-prepend",attrs:{tabindex:"-1"},on:{click:function(e){return e.preventDefault(),e.stopPropagation(),t.$refs.dateInput.focus()}}},[e("div",{staticClass:"input-group-text bg-light"},[e("font-awesome-icon",{attrs:{icon:t.icons.faCalendar}})],1)]),t._v(" "),e("input",t._g(t._b({ref:"dateInput",staticClass:"form-control",class:{"is-invalid":t.invalid,"w-auto flex-grow-0":t.autoWidth},attrs:{id:"input-StartDate",autocomplete:"off",type:"text"},domProps:{value:a},on:{blur:function(e){return t.$emit("blur",e)},click:function(e){return t.emitInteraction()}}},"input",t.$attrs,!1),s)),t._v(" "),t.showPrevNext?e("div",{staticClass:"input-group-append",attrs:{id:"datepickerNextBtn"},on:{click:t.goToNextDate}},[e("button",{staticClass:"btn btn-light border",attrs:{"aria-label":"Volgende datum"}},[e("font-awesome-icon",{attrs:{icon:t.icons.faChevronRight,"aria-hidden":"true"}})],1)]):t._e()])]}}]),model:{value:t.value_,callback:function(e){t.value_=e},expression:"value_"}},"v-date-picker",t.$props,!1))],1)};s._withStripped=!0;
1var i=a(16782),o=a.n(i),n=a(96843),r=a(71489),l=a(72023),c=a(73582),d=a(30381),u=a.n(d),h=a(35883),m={name:"DatePicker",components:{VDatePicker:o(),FontAwesomeIcon:l.GN},props:{value:{type:null},invalid:Boolean,minDate:Date,maxDate:Date,showPrevNext:Boolean,mode:{type:String,default:()=>"date"},locale:{type:String,default:()=>h.vc.locale},autoWidth:Boolean,minuteIncrement:{type:Number,default:1}},data(){return{icons:{faCalendar:c.fT7,faChevronLeft:c.A35,faChevronRight:c._tD}}},computed:{value_:{get(){return this.value},set(t){(0,n.Z)(t,this.value)||("dateTime"===this.mode?this.$emit("input",t):this.$emit("input",t&&(0,r.Z)(t,{hours:0,minutes:0,seconds:0,milliseconds:0})))}}},methods:{emitInteraction(){this.$emit("interaction")},goToPreviousDate(){this.emitInteraction();const t=u()(this.value_).subtract(1,"days").toDate();this.minDate&&!u()(t).isSameOrAfter(this.minDate,"day")||(this.value_=t)},goToNextDate(){this.emitInteraction();const t=u()(this.value_).add(1,"days").toDate();this.maxDate&&!u()(t).isSameOrBefore(this.maxDate,"day")||(this.value_=t)}}},_=(0,a(51900).Z)(m,s,[],!1,null,"02f8de62",null).exports},84021:function(t,e,a){var s=a(94481);s.__esModule&&(s=s.default),"string"==typeof s&&(s=[[t.id,s,""]]),s.locals&&(t.exports=s.locals),(0,a(45346).Z)("2c8becd2",s,!1,{sourceMap:!0})},1558:function(t,e,a){var s=a(10385);s.__esModule&&(s=s.default),"string"==typeof s&&(s=[[t.id,s,""]]),s.locals&&(t.exports=s.locals),(0,a(45346).Z)("87a24092",s,!1,{sourceMap:!0})}}]);
2//# sourceMappingURL=d13a38f3616e483764bd.min.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.