(function(){var e={43699:function(e,t,i){"use strict";i.d(t,{A:function(){return _}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("ul",{staticClass:"AccountBenefitsList"},[t("BenefitItem",{attrs:{title:e.$t("account.signup.message.easy_ordering")}},[e._v(" "+e._s(e.$t("account.signup.message.easy_ordering--detailed"))+" ")]),e.$isEnabled("QR_SCANNERS")?t("BenefitItem",{attrs:{title:e.$t("account.signup.message.skip_line")}},[e._v(" "+e._s(e.$t("account.signup.message.skip_line--detailed"))+" ")]):e._e(),t("BenefitItem",{attrs:{title:e.$t("account.signup.message.track_delivery")}},[e._v(" "+e._s(e.$t("account.signup.message.track_delivery--detailed"))+" ")]),t("BenefitItem",{attrs:{title:e.$t("account.signup.message.order_history")}},[e._v(" "+e._s(e.$t("account.signup.message.order_history--detailed"))+" ")]),t("BenefitItem",{attrs:{title:e.$t("account.signup.message.easy_booking")}},[e._v(" "+e._s(e.$t("account.signup.message.easy_booking--detailed"))+" ")]),e.$isEnabled("FIREWORKS_BENEFIT_ITEM")?t("BenefitItem",{attrs:{title:"20% på fyrværkeri"}},[e._v(" Spar 20% på ét fyrværkerikøb før jul. ")]):e._e()],1)},s=[],a=i(62893),r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("li",{staticClass:"BenefitItem"},[t("i",{class:["BenefitItem__icon","far fa-check"]}),t("div",[t("p",{staticClass:"BenefitItem__title bw-bold"},[e._v(e._s(e.title))]),t("p",{staticClass:"BenefitItem__description bw-text-body-sm"},[e._t("default")],2)])])},o=[],l=(0,a.defineComponent)({name:"BenefitItem",props:{title:{type:String,required:!0}}}),c=l,u=i(81656),d=(0,u.A)(c,r,o,!1,null,"2923f022",null),p=d.exports,h=(0,a.defineComponent)({name:"AccountBenefitsList",components:{BenefitItem:p}}),m=h,f=(0,u.A)(m,n,s,!1,null,"28b07fbc",null),_=f.exports},89103:function(e,t,i){"use strict";i.d(t,{A:function(){return u}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:["Address",e.forceWrap&&"Address--forceWrap"]},[e.addressline&&e.forceWrap?t("span",{staticClass:"Address__line"},[e._v(e._s(e.addressline))]):e.addressline?t("span",{staticClass:"Address__line"},[e._v(" "+e._s(e.addressline)+", ")]):e._e(),t("span",{staticClass:"Address__line"},[e._v(e._s(e.data.zip_code||e.data.postal_code)+" "+e._s(e.data.city))]),e.showCountry&&e.data.country?t("span",{staticClass:"Address__country"},[e._v(e._s(e.data.country))]):e._e()])},s=[],a=(i(42762),i(62893)),r=(0,a.defineComponent)({name:"Address",props:{data:{type:Object,required:!0},showCountry:{type:Boolean,default:!1},forceWrap:{type:Boolean,default:!1}},computed:{addressline(){const e=this.data.addressline1||this.data.address||this.data.street_address||"";return e.trim()}}}),o=r,l=i(81656),c=(0,l.A)(o,n,s,!1,null,"280ce0a0",null),u=c.exports},18132:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return h}});i(62953);var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("FadeTransition",{directives:[{name:"visibility",rawName:"v-visibility:[visibilitySelfTrackingEnabled].offset",value:e.onVisible,expression:"onVisible",arg:e.visibilitySelfTrackingEnabled,modifiers:{offset:!0}}],attrs:{appear:""}},[e.discountPercent?t("div",{class:["BwDiscountBadge",...e.modifierClasses]},[e._v(" -"+e._s(e.discountPercent)+"% ")]):e._e()])},s=[],a=i(62893),r=i(95353),o=i(31749),l=i(23028),c=(0,a.defineComponent)({name:"BwDiscountBadge",components:{FadeTransition:l.A},props:{itemNumber:{type:[String,Number],required:!0},discount:{type:Number,default:void 0},visible:{type:Boolean,default:void 0},size:{type:String,default:o.C.SMALL,validator:e=>Object.values(o.C).includes(e)}},data(){return{isViewed:!1}},computed:{...(0,r.L8)("price",["getDiscount"]),modifierClasses(){return[this.sizeClass]},discountPercent(){return this.fetchPriceEnabled?this.getDiscount(this.itemNumber):this.discount||0},fetchPriceEnabled(){return this.$isEnabled("PRODUCT_PRICE_ASYNC_FETCH")},visibilitySelfTrackingEnabled(){return void 0===this.visible&&this.fetchPriceEnabled},sizeClass(){return{[o.C.EXTRA_SMALL]:"BwDiscountBadge--extraSmall",[o.C.SMALL]:"",[o.C.MEDIUM]:"BwDiscountBadge--medium",[o.C.LARGE]:"BwDiscountBadge--large"}[this.size]}},watch:{visible:{handler(e){e&&this.onVisible(e)},immediate:!0}},methods:{...(0,r.i0)("price",["addItemNumberToQueue"]),onVisible(e){e&&!this.isViewed&&(this.isViewed=!0,this.fetchPriceEnabled&&this.addItemNumberToQueue(this.itemNumber))}}}),u=c,d=i(81656),p=(0,d.A)(u,n,s,!1,null,null,null),h=p.exports},40363:function(e,t,i){"use strict";i.d(t,{A:function(){return m}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return e.$isEnabled("LICENSE_PLATE_COUNTRY_SELECT")?t("Dropdown",{staticClass:"CountryPicker CountryPicker--select",attrs:{"toggle-on-click":"",size:e.DropdownSize.AUTO},scopedSlots:e._u([{key:"default",fn:function(){return[t("div",{staticClass:"CountryPicker__selected"},[t("div",{staticClass:"CountryPicker__country"},[t("div",{staticClass:"CountryPicker__icon"},[e.countries[e.selected]?t("FlagGraphic",{attrs:{"flag-id":e.countries[e.selected].isEU?e.FlagId.EU:e.countries[e.selected].flagId}}):e._e()],1),t("div",{staticClass:"CountryPicker__label"},[e._v(" "+e._s(e.countries[e.selected]&&e.countries[e.selected].code)+" ")])]),t("div",{staticClass:"CountryPicker__arrowDown"},[t("i",{staticClass:"fas fa-chevron-down",attrs:{"aria-hidden":"true"}})])])]},proxy:!0},{key:"content",fn:function({close:i}){return e._l(e.countries,(function(n,s,a){return t("div",{key:n.code,class:["CountryPicker__item",e.selected===s&&"CountryPicker__item--selected"],on:{click:function(t){e.select(s),i()}}},[t("FlagGraphic",{staticClass:"CountryPicker__itemFlag",attrs:{"flag-id":n.flagId}}),e._v(" "+e._s(n.code)+" ")],1)}))}}])}):t("div",{staticClass:"CountryPicker"},[t("div",{staticClass:"CountryPicker__selected"},[t("div",{staticClass:"CountryPicker__country"},[t("div",{staticClass:"CountryPicker__icon"},[e.countries[e.selected]?t("FlagGraphic",{attrs:{"flag-id":e.countries[e.selected].isEU?e.FlagId.EU:e.countries[e.selected].flagId}}):e._e()],1),t("div",{staticClass:"CountryPicker__label"},[e._v(" "+e._s(e.countries[e.selected]&&e.countries[e.selected].code)+" ")])])])])},s=[],a=i(62893),r=i(21190),o=i(84039),l=i(2224);const c={dk:{code:"DK",isEU:!0,flagId:o.c.DK},se:{code:"S",isEU:!0,flagId:o.c.SE},no:{code:"N",isEU:!1,flagId:o.c.NO}};var u=(0,a.defineComponent)({name:"CountryPicker",components:{FlagGraphic:o.F,Dropdown:l.Ay},props:{setCountry:{type:String,default:""}},enums:{FlagId:o.c},data(){return{DropdownSize:l.LH,countries:c,isOpen:!1,selected:""}},created(){var e;this.setCountry?this.selected=this.setCountry:this.selected=null===(e=r.A.legacy.countryCode)||void 0===e?void 0:e.toLowerCase()},methods:{select(e){this.selected=e,this.$emit("selected",e)}}}),d=u,p=i(81656),h=(0,p.A)(d,n,s,!1,null,null,null),m=h.exports},83768:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return d}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{ref:"progressbar",class:["BwProgressBar ignore-reduced-motion",e.modifierClasses],style:e.style,attrs:{role:"progressbar","aria-valuemin":"0","aria-valuemax":e.max,"aria-valuenow":e.value}})},s=[],a=i(62893),r=i(92059),o=(0,a.defineComponent)({name:"BwProgressBar",props:{value:{type:Number,default:void 0},max:{type:Number,default:1},colorScheme:{type:String,default:r.f.DEFAULT,validator:e=>Object.values(r.f).includes(e)},size:{type:String,default:r.Q.SMALL,validator:e=>Object.values(r.Q).includes(e)},duration:{type:Number,default:void 0},durationPaused:{type:Boolean,default:!1},durationReversed:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1}},computed:{style(){return this.duration?{"--progress-duration":`${this.duration}ms`}:void 0!=this.value?{"--progress-bar-percent":`${Math.min(100,this.value/this.max*100).toFixed(2)}%`}:void 0},modifierClasses(){return[this.colorClass,this.sizeClass,void 0==this.value&&!this.duration&&"BwProgressBar--indeterminate",this.duration&&"BwProgressBar--duration",this.durationPaused&&"BwProgressBar--paused",this.durationReversed&&"BwProgressBar--reversed",this.rounded&&"BwProgressBar--rounded"]},colorClass(){return{[r.f.DEFAULT]:"",[r.f.LIGHT]:"BwProgressBar--light",[r.f.DARK]:"BwProgressBar--dark",[r.f.SUCCESS]:"BwProgressBar--success",[r.f.WARNING]:"BwProgressBar--warning",[r.f.DANGER]:"BwProgressBar--danger"}[this.colorScheme]},sizeClass(){return{[r.Q.SMALL]:"",[r.Q.MEDIUM]:"BwProgressBar--medium",[r.Q.LARGE]:"BwProgressBar--large"}[this.size]}},mounted(){this.duration&&this.$refs.progressbar&&this.$refs.progressbar.addEventListener("animationend",this.onAnimationEnd)},beforeDestroy(){this.duration&&this.$refs.progressbar&&this.$refs.progressbar.removeEventListener("animationend",this.onAnimationEnd)},methods:{onAnimationEnd(){this.$emit("duration-end")}}}),l=o,c=i(81656),u=(0,c.A)(l,n,s,!1,null,"11a8a1a3",null),d=u.exports},65289:function(e,t,i){"use strict";i.d(t,{A:function(){return m}});i(62953);var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:["BwSelect",...e.modifierClasses]},[e.labelInset?e._e():[e.label?t("label",{staticClass:"BwSelect__label"},[e._v(" "+e._s(e.label)+" ")]):e._e()],t("div",{staticClass:"BwSelect__container"},[t("div",{staticClass:"BwSelect__selectContainer"},[e.labelInset?[e.label?t("label",{staticClass:"BwSelect__label"},[e._v(" "+e._s(e.label)+" ")]):e._e()]:e._e(),t("select",e._b({directives:[{name:"model",rawName:"v-model",value:e.inputValue,expression:"inputValue"}],staticClass:"BwSelect__field",attrs:{id:e.selectId,name:e.name||e.selectId,disabled:e.disabled,required:e.required,tabindex:e.disabled?-1:e.tabindex},on:{change:[function(t){var i=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.inputValue=t.target.multiple?i:i[0]},e.onChange],blur:e.onBlur,focus:function(t){return e.$emit("focus",t)}}},"select",e.$attrs,!1),[e.placeholder?t("option",{attrs:{value:"",disabled:"",label:e.placeholder,selected:""}}):e._e(),e._t("default")],2)],2),t("div",{staticClass:"BwSelect__icon bw-text-body-sm"},[t("GrowTransition",{attrs:{mode:e.TransitionMode.OUT_IN}},[e.working?t("div",{key:"spinner",staticClass:"Input__loaderWrapper"},[t("LoaderGraphic",{staticClass:"Input__loader",attrs:{visible:"",color:"currentColor",size:"sm"}})],1):t("i",{key:"chevron",staticClass:"fas fa-chevron-down",attrs:{"aria-hidden":"true"}})])],1)]),t("CollapseTransition",{attrs:{mode:e.TransitionMode.OUT_IN}},[e.errorVisible&&!e.isValid?t("div",{key:"error"},[t("p",{staticClass:"BwSelect__message bw-hint bw-hint--padded bw-hint--danger bw-hint--small",attrs:{role:"alert"}},[e._v(" "+e._s(e.errorMessage)+" ")])]):e.hint&&!e.errorVisible?t("div",{key:"hint"},[t("p",{staticClass:"BwSelect__message bw-hint bw-hint--padded bw-hint--small"},[e._v(" "+e._s(e.hint)+" ")])]):e._e()])],2)},s=[],a=i(62893),r=i(13235),o=i(53059),l=i(28185),c=i(27523),u=(0,a.defineComponent)({inheritAttrs:!1,name:"BwSelect",components:{CollapseTransition:o.Z,GrowTransition:l.P,LoaderGraphic:c.A},inject:{validator:{default(){}}},props:{id:{type:String,default:""},groupId:{type:[String,Number],default:null},name:{type:String,default:""},label:{type:String,default:""},value:{type:[String,Number],default:void 0},emptyValueEnabled:{type:Boolean,default:!1},labelInset:{type:Boolean,default:!1},required:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:""},shape:{type:String,default:r.y.ROUNDED,validator:e=>Object.values(r.y).includes(e)},active:{type:Boolean,default:!1},highlightEnabled:{type:Boolean,default:!1},validateOnBlur:{type:Boolean,default:!1},validateImmediately:{type:Boolean,default:!1},size:{type:String,default:r.A.MEDIUM,validator:e=>Object.values(r.A).includes(e)},working:{type:Boolean,default:!1},tabindex:{type:[String,Number],default:0},customErrorMessage:{type:String,default:""},hint:{type:String,default:""}},enums:{TransitionMode:l.l},data(){return{localValue:void 0,errorVisible:!1}},computed:{modifierClasses(){return[this.sizeClass,this.shapeClass,this.active&&"BwSelect--active",this.highlightEnabled&&"BwSelect--highlight",this.labelInset&&"BwSelect--labelInset",this.hasValue&&"BwSelect--labelActive",this.hasValue&&"BwSelect--hasContent",!this.hasValue&&"BwSelect--placeholder",this.disabled&&"BwSelect--disabled",this.required&&"BwSelect--required",this.errorVisible&&!this.isValid&&"BwSelect--error"]},sizeClass(){return{[r.A.EXTRA_EXTRA_SMALL]:"BwSelect--extraExtraSmall",[r.A.EXTRA_SMALL]:"BwSelect--extraSmall",[r.A.SMALL]:"BwSelect--small",[r.A.MEDIUM]:"",[r.A.LARGE]:"BwSelect--large"}[this.size]},shapeClass(){return{[r.y.ROUNDED]:"",[r.y.ROUNDED_LEFT]:"BwSelect--roundedLeft",[r.y.ROUNDED_RIGHT]:"BwSelect--roundedRight",[r.y.RECTANGLE]:"BwSelect--rectangle"}[this.shape]},hasValue(){return this.emptyValueEnabled?null!=this.inputValue:null!=this.inputValue&&""!=this.inputValue},isValid(){return!(this.required&&!this.hasValue)},inputValue:{get(){return this.value},set(e){this.localValue=e,this.$emit("input",e)}},errorMessage(){return this.customErrorMessage?this.customErrorMessage:this.label?this.$t("input.field_is_required--named",{field:this.label}):this.$t("input.field_is_required")}},watch:{isValid(e){this.validator&&this.validator.updateItem(this.selectId,e)},value(e,t){e!==t&&(this.localValue=e)}},created(){this.selectId=this.id||`BwSelect-${this._uid}`,this.validator&&this.validator.addItem(this.selectId,this.isValid,this.showError,{hideError:this.hideError,groupId:this.groupId})},mounted(){this.validateImmediately&&!this.isValid&&this.showError()},beforeDestroy(){this.validator&&this.validator.removeItem(this.selectId)},methods:{onChange(e){this.$emit("change",e)},onBlur(e){this.validateOnBlur&&!this.isValid&&this.showError(),this.$emit("blur",e)},showError(){this.errorVisible=!0},hideError(){this.errorVisible=!1}}}),d=u,p=i(81656),h=(0,p.A)(d,n,s,!1,null,null,null),m=h.exports},40968:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return p}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("BwCheckbox",{staticClass:"CompareCheckbox",attrs:{mirrored:"",size:e.CheckboxSize.SMALL,disabled:!e.checked&&e.limitExceeded},model:{value:e.checked,callback:function(t){e.checked=t},expression:"checked"}},[e._v(" "+e._s(e.$t("product.compare"))+" ")])},s=[],a=i(62893),r=i(95353),o=i(46972),l=(0,a.defineComponent)({name:"CompareCheckbox",components:{BwCheckbox:o.n},props:{id:{type:[String,Number],default:void 0},item:{type:Object,default:()=>({})}},enums:{CheckboxSize:o.z},data(){return{showError:!1}},computed:{...(0,r.aH)("compare",{maxComparableItems:"maxComparableItems"}),...(0,r.L8)("compare",{hasItem:"hasItem",limitExceeded:"limitExceeded"}),checked:{get(){return this.hasItem(this.id)},set(e){if(e){if(this.limitExceeded)return;this.addItem({id:this.id,item:{compare_id:this.id,...this.item}})}else this.removeItem(this.id)}}},methods:{...(0,r.i0)("compare",{addItem:"addItem",removeItem:"removeItem"})}}),c=l,u=i(81656),d=(0,u.A)(c,n,s,!1,null,"6c9c765a",null),p=d.exports},73980:function(e,t,i){"use strict";i.d(t,{A:function(){return u}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return e.to?t("router-link",e._b({class:["DropdownButton",e.active&&"DropdownButton--active"],attrs:{to:e.to}},"router-link",e.$attrs,!1),[e._t("default")],2):e.href?t("a",e._b({class:["DropdownButton",e.active&&"DropdownButton--active"],attrs:{href:e.href}},"a",e.$attrs,!1),[e._t("default")],2):t("button",e._b({class:["DropdownButton",e.active&&"DropdownButton--active"],on:{click:t=>e.$emit("click",t)}},"button",e.$attrs,!1),[e._t("default")],2)},s=[],a=i(62893),r=(0,a.defineComponent)({name:"DropdownButton",props:{href:{type:String,default:void 0},to:{type:[String,Object],default:void 0},active:{type:Boolean,default:!1}}}),o=r,l=i(81656),c=(0,l.A)(o,n,s,!1,null,"17c26ec7",null),u=c.exports},2224:function(e,t,i){"use strict";i.d(t,{LH:function(){return h},Ay:function(){return v}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("PopoverHandler",{class:["Dropdown",e.active&&"Dropdown--active",e.sizeClass],attrs:{locked:e.locked,"toggle-on-click":e.toggleOnClick},on:{open:e.onOpen,close:e.onClose},scopedSlots:e._u([{key:"default",fn:function(){return[t("div",{staticClass:"Dropdown__target"},[e._t("default")],2)]},proxy:!0},{key:"content",fn:function({close:i}){return[t("div",{staticClass:"Dropdown__arrow"}),t("div",{staticClass:"Dropdown__arrowShadow"}),t("div",{staticClass:"Dropdown__menu"},[e._t("content",null,{close:i})],2)]}}],null,!0)})},s=[],a=i(62893),r=i(26027),o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t(e.tag,{tag:"component",staticClass:"DropdownSection"},[e._t("default")],2)},l=[],c=(0,a.defineComponent)({name:"DropdownSection",props:{tag:{type:String,default:"div"}}}),u=c,d=i(81656),p=(0,d.A)(u,o,l,!1,null,"799bda05",null);p.exports,i(73980);const h={MEDIUM:"MEDIUM",AUTO:"AUTO"};var m=(0,a.defineComponent)({name:"Dropdown",components:{PopoverHandler:r.A},props:{locked:{type:Boolean,default:!1},toggleOnClick:{type:Boolean,default:!1},size:{type:String,default:h.MEDIUM}},data(){return{active:!1}},computed:{sizeClass(){return{[h.MEDIUM]:"Dropdown--medium",[h.AUTO]:"Dropdown--auto"}[this.size]}},methods:{onOpen(){this.active=!0,this.$emit("open")},onClose(){this.active=!1,this.$emit("close")}}}),f=m,_=(0,d.A)(f,n,s,!1,null,"1321c8e8",null),v=_.exports},16425:function(e,t,i){"use strict";i.d(t,{A:function(){return p}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"EntryModalWrapper"},[t("EntryModal",{ref:"modal",staticClass:"EntryModalWrapper__modal"}),e._t("default",null,{openLogin:e.openLogin,openSignup:e.openSignup})],2)},s=[],a=i(62893),r=i(98272),o=i(38875),l=(0,a.defineComponent)({name:"EntryModalWrapper",components:{EntryModal:o.c},mounted(){this.$actions.add("promptLogin",this.openLogin)},beforeDestroy(){this.$actions.remove("promptLogin")},methods:{openLogin(){this.$refs.modal.open(r.Ay.LOGIN)},openSignup(){this.$refs.modal.open(r.Ay.SIGNUP)}}}),c=l,u=i(81656),d=(0,u.A)(c,n,s,!1,null,"778ab999",null),p=d.exports},80262:function(e,t,i){"use strict";i.d(t,{A:function(){return p}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("ResizeObserver",{class:["Recaptcha",e.compact&&"Recaptcha--compact",e.showInvalid&&"Recaptcha--invalid"],on:{resize:t=>e.width=t.width}},[e.language?t("VueRecaptcha",{staticClass:"Recaptcha__recaptcha",attrs:{sitekey:e.$config.RECAPTCHA_SITE_KEY,"load-recaptcha-script":"",language:e.language},on:{verify:e.validate,expired:e.invalidate,error:e.onError}}):e._e(),e.showInvalid?t("span",{staticClass:"bw-hint bw-hint--padded bw-hint--danger bw-hint--small"},[e._v(" "+e._s(e.$t("recaptcha.message.is_required"))+" ")]):e._e()],1)},s=[],a=i(62893),r=i(36656),o=i(50675),l=(0,a.defineComponent)({name:"Recaptcha",components:{VueRecaptcha:r.A,ResizeObserver:o.A},inject:{validator:{default(){}}},props:{id:{type:String,default:""}},data(){return{isValid:!1,showInvalid:!1,width:0,language:void 0}},computed:{compact(){return this.width<306}},watch:{isValid(e,t){e&&!t&&(this.showInvalid=!1)}},mounted(){this.language=navigator.language||"en-GB"},created(){this.validatorId=this.id||this._uid,this.validator&&this.validator.addItem(this.validatorId,!1,(()=>{this.isValid||(this.showInvalid=!0)}))},beforeDestroy(){this.validator&&this.validator.removeItem(this.validatorId)},methods:{onError(){},validate(){this.isValid=!0,this.validator&&this.validator.updateItem(this.validatorId,this.isValid)},invalidate(){this.isValid=!1,this.validator&&this.validator.updateItem(this.validatorId,this.isValid)}}}),c=l,u=i(81656),d=(0,u.A)(c,n,s,!1,null,"9eaa1944",null),p=d.exports},32455:function(e,t,i){"use strict";i.d(t,{A:function(){return d}});i(89463);var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("Validator",{scopedSlots:e._u([{key:"default",fn:function({valid:i,showErrors:n}){return[t("form",{class:["Form",e.locked&&"Form--locked"],attrs:{novalidate:""},on:{submit:function(t){t.stopPropagation(),t.preventDefault(),i?e.$emit("submit"):n()}}},[e.title?t("h1",{staticClass:"Form__title bw-text-heading-md"},[e._v(e._s(e.title))]):e._e(),e.description?t("p",{staticClass:"Form__description"},[e._v(e._s(e.description))]):e._e(),e._t("default",null,{valid:i,showErrors:n}),e.hasFooterSlot?t("div",{staticClass:"Form__footer"},[e._t("footer",null,{valid:i,showErrors:n})],2):e._e()],2)]}}],null,!0)})},s=[],a=i(62893),r=i(11797),o=(0,a.defineComponent)({name:"Form",components:{Validator:r.D},props:{title:{type:String,default:""},description:{type:String,default:""},locked:{type:Boolean,default:!1}},computed:{hasFooterSlot(){var e,t;return!(null===(e=(t=this.$scopedSlots).footer)||void 0===e||!e.call(t))}}}),l=o,c=i(81656),u=(0,c.A)(l,n,s,!1,null,"6a3923e7",null),d=u.exports},42865:function(e,t,i){"use strict";i.d(t,{A:function(){return d}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("span",{class:["InventoryStatusLabel",e.statusClass]},[t("i",{class:["fas fa-fw InventoryStatusLabel__icon",e.icon]}),t("div",{staticClass:"InventoryStatusLabel__label"},[e._t("default",(function(){return[e.status!==e.Status.CRITICAL?[e.branchName?t("i18n",{attrs:{path:"inventory.status.n_in_stock_in_branch"},scopedSlots:e._u([{key:"n",fn:function(){return[t("b",{staticClass:"InventoryStatusLabel__quantity"},[e._v(e._s(e.$t("n_pcs",{n:e.quantity.toLocaleString()})))])]},proxy:!0},{key:"branch",fn:function(){return[e._v(" "+e._s(e.branchName)+" ")]},proxy:!0}],null,!1,3314408796)}):t("i18n",{attrs:{path:"inventory.status.n_in_stock"},scopedSlots:e._u([{key:"n",fn:function(){return[t("b",{staticClass:"InventoryStatusLabel__quantity"},[e._v(e._s(e.$t("n_pcs",{n:e.quantity.toLocaleString()})))])]},proxy:!0}],null,!1,2379504770)})]:[e._v(" "+e._s(e.$t("inventory.status.discontinued"))+" ")]]}))],2)])},s=[],a=i(62893);const r={OK:"OK",WARNING:"WARNING",CRITICAL:"CRITICAL"};var o=(0,a.defineComponent)({name:"InventoryStatusLabel",props:{quantity:{type:Number,required:!0},branchName:{type:String,default:""},discontinued:{type:Boolean,default:!1}},enums:{Status:r},computed:{status(){return 0===this.quantity&&this.discontinued?r.CRITICAL:0!==this.quantity||this.discontinued?r.OK:r.WARNING},statusClass(){return{[r.OK]:"",[r.WARNING]:"InventoryStatusLabel--warning",[r.CRITICAL]:"InventoryStatusLabel--critical"}[this.status]},icon(){return{[r.OK]:"fa-check",[r.WARNING]:"fa-check",[r.CRITICAL]:"fa-times"}[this.status]}}}),l=o,c=i(81656),u=(0,c.A)(l,n,s,!1,null,"f39696e0",null),d=u.exports},67673:function(e,t,i){"use strict";i.d(t,{A:function(){return f}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("PreventBodyScroll",{attrs:{prevent:e.isOpen&&e.isActive}},[t("div",{class:["Drawer",e.isOpen&&"is-open",e.isActive&&"is-active"]},[t("div",{staticClass:"Drawer__drawer"},[t("div",{staticClass:"Drawer__content",on:{scroll:function(t){e.scrollTop=t.target.scrollTop}}},[e._t("default",null,{isActive:e.isActive,isOpen:e.isOpen,scrollTop:e.scrollTop})],2),t("button",{staticClass:"Drawer__control",on:{click:e.close}},[e._v(" "+e._s(e.closeLabel)+" ")])]),t("div",{staticClass:"Drawer__backdrop",on:{click:e.close}})])])},s=[],a=(i(93514),i(62893));let r=!1,o=0,l=-1*(document.body.clientWidth-window.innerWidth);window.navigator.userAgent.indexOf("Edge")>-1&&(l=16);var c=(0,a.defineComponent)({name:"PreventBodyScroll",props:{prevent:{required:!1,type:Boolean}},watch:{prevent(e){void 0!==e&&this.setPrevent(e)}},mounted(){void 0!==this.prevent&&this.prevent&&this.setPrevent(this.prevent)},beforeDestroy(){this.setPrevent(!1)},methods:{setPrevent(e){if(r=e,o=window.scrollY,r){o=window.scrollY,document.body.style.overflowY="hidden",document.body.style.paddingRight=`${l}px`,requestAnimationFrame((()=>{window.scrollTo(0,o)}));const e=document.querySelector(".js-topbar");null!==e&&(e.style.paddingRight=`${l}px`),window.scrollTo(0,o)}else{document.body.style.overflowY="auto",document.body.style.paddingRight="0";const e=document.querySelector(".js-topbar");null!==document.querySelector(".js-topbar")&&(e.style.paddingRight="0"),window.scrollTo(0,o)}}},render(){return this.$scopedSlots.default({enablePrevent:()=>this.setPrevent(!1),disablePrevent:()=>this.setPrevent(!0),isPrevented:()=>bodyScrollable})}});i(31158);const u=window["productFilterData"];var d=(0,a.defineComponent)({name:"Drawer",components:{PreventBodyScroll:c},props:{closeLabel:{default:"",type:String},toggleSelector:{default:"",type:String},activeWatchSelector:{default:"",type:String},showFilters:{type:Boolean,default:!1}},data(){return{isOpen:!1,isActive:!0,activeWatchEl:null,scrollTop:0,isScrolled:!1,attributes:null!==u&&void 0!==u?Object.keys(u).map((e=>Object.keys(u[e]).map((t=>"al_sheets."+e+"."+t)))).flat():[]}},watch:{isActive(e,t){},scrollTop(e,t){e!==t&&(!this.isScrolled&&e>10?this.isScrolled=!0:this.isScrolled&&e<=10&&(this.isScrolled=!1))},isScrolled(e,t){e!==t&&this.$emit("scrolled",e)},$route(e,t){this.isActive&&this.isOpen&&e.name!==t.name&&this.close()}},mounted(){this.addToogleButtonListeners(),this.activeWatchSelector&&(this.activeWatchEl=document.body.querySelector(this.activeWatchSelector),window.addEventListener("resize",this.onResize),this.onResize())},destroyed(){this.removeToogleButtonListeners()},methods:{close(){this.isOpen=!1},open(){this.isOpen=!0,this.isActive=!0,this.focusFirstInput()},focusFirstInput(){const e=this.$el.querySelector("input, select");null!==e&&e.focus()},addToogleButtonListeners(){if(""!==this.toggleSelector){const e=document.querySelector(this.toggleSelector);e&&e.addEventListener("click",this.open)}},removeToogleButtonListeners(){if(""!==this.toggleSelector){const e=document.querySelector(this.toggleSelector);e&&e.removeEventListener("click",this.open)}},onResize(){this.activeWatchEl=document.body.querySelector(this.activeWatchSelector),this.activeWatchEl&&null===this.activeWatchEl.offsetParent?this.isActive=!1:this.activeWatchEl&&(this.isActive=!0)}}}),p=d,h=i(81656),m=(0,h.A)(p,n,s,!1,null,null,null),f=m.exports},27523:function(e,t,i){"use strict";i.d(t,{A:function(){return d}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:["LoaderGraphic",e.modifierClasses]},[e.visible?t("Icon",{staticClass:"LoaderGraphic__spinner",attrs:{icon:"spinner_third"}}):e._e()],1)},s=[],a=i(62893),r=i(58594),o=(0,a.defineComponent)({name:"LoaderGraphic",components:{Icon:r.A},props:{visible:{type:Boolean,default:!1},fixed:{type:Boolean,default:!1},size:{type:String,default:"md",validator:e=>["sm","md","lg","inherit"].includes(e)},color:{type:String,default:"default",validator:e=>["default","white","currentColor"].includes(e)},center:{type:Boolean,default:!1}},computed:{modifierClasses(){return[this.fixed&&"LoaderGraphic--fixed","sm"===this.size&&"LoaderGraphic--sm","md"===this.size&&"LoaderGraphic--md","lg"===this.size&&"LoaderGraphic--lg","white"===this.color&&"LoaderGraphic--color-white","currentColor"===this.color&&"LoaderGraphic--color-currentColor",this.center&&"LoaderGraphic--center"]}}}),l=o,c=i(81656),u=(0,c.A)(l,n,s,!1,null,"94ead77e",null),d=u.exports},53758:function(e,t,i){"use strict";i.d(t,{A:function(){return p}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:["OpeningHoursStatus",e.colorless&&"OpeningHoursStatus--colorless",e.status===e.Status.OPEN&&"OpeningHoursStatus--open",(e.status===e.Status.OPENS_SOON||e.status===e.Status.CLOSING_SOON)&&"OpeningHoursStatus--soon"]},[e.hideIcon?e._e():t("i",{staticClass:"far fa-clock"}),e.status===e.Status.BEFORE_OPEN?t("span",[e._v(" "+e._s(`${e.$t("opening_hours.status.open")} ${e.timeToday}`)+" ")]):e.status===e.Status.OPENS_SOON?t("span",[t("span",{staticClass:"OpeningHoursStatus__status"},[e._v(e._s(e.$t("opening_hours.status.opens_soon")))]),e._v(" "+e._s(e.timeToday)+" ")]):e.status===e.Status.OPEN?t("i18n",{attrs:{path:"opening_hours.status_until_time"},scopedSlots:e._u([{key:"status",fn:function(){return[t("span",{staticClass:"OpeningHoursStatus__status"},[e._v(e._s(e.$t("opening_hours.status.open")))])]},proxy:!0},{key:"time",fn:function(){return[e._v(e._s(e.specificationToday.closes))]},proxy:!0}])}):e.status===e.Status.CLOSING_SOON?t("span",[t("span",{staticClass:"OpeningHoursStatus__status"},[e._v(e._s(e.$t("opening_hours.status.closing_soon")))]),e._v(" "+e._s(e.specificationToday.closes)+" ")]):e.status===e.Status.CLOSED?[e.closedAllWeek?t("span",[e._v(" "+e._s(e.$t("opening_hours.status.closed_today"))+" ")]):t("span",[e._v(" "+e._s(e.nextOpeningDayHours)+" ")])]:e._e()],2)},s=[],a=i(62893);const r=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],o={BEFORE_OPEN:"BEFORE_OPEN",OPENS_SOON:"OPENS_SOON",OPEN:"OPEN",CLOSING_SOON:"CLOSING_SOON",CLOSED:"CLOSED"};var l=(0,a.defineComponent)({name:"OpeningHoursStatus",props:{openingHours:{type:Array,required:!0},hideIcon:{type:Boolean,default:!1},colorless:{type:Boolean,default:!1},refreshInterval:{type:Number,default:1e3},threshold:{type:Number,default:30},shortText:{type:Boolean,default:!1}},enums:{Status:o},data(){return{dateNow:Date.now(),timeNow:null,timeThreshold:null,weekday:null}},computed:{specificationToday(){return this.getSpecification(this.weekday)},nextOpenDay(){for(let e=0;e<6;e++){const t=(e+this.weekday+1)%7,i=this.getSpecification(t);if(!this.isClosed(i))return t}return null},timeToday(){return this.specificationToday.opens+" – "+this.specificationToday.closes},timeNextOpenDay(){if(null===this.nextOpenDay)return null;const e=this.getSpecification(this.nextOpenDay);return e.opens+" – "+e.closes},closedAllWeek(){return this.status===o.CLOSED&&null===this.nextOpenDay},status(){return this.timeThreshold=this.specificationToday.opens?o.OPENS_SOON:this.timeNow>=this.specificationToday.opens&&this.timeThreshold=this.specificationToday.closes?o.CLOSING_SOON:o.CLOSED},nextOpeningDayHours(){return this.shortText?`${this.translateDay(this.nextOpenDay)} ${this.timeNextOpenDay}`:`${this.$t("opening_hours.status.open")} ${this.translateDay(this.nextOpenDay).toLocaleLowerCase()} ${this.timeNextOpenDay}`}},watch:{dateNow:{immediate:!0,handler(e){const t=new Date(e),i=t.getDay();i!==this.weekday&&(this.weekday=i);const n=this.dateToTime(t);if(n!==this.timeNow){t.setMinutes(t.getMinutes()+this.threshold);const e=this.dateToTime(t);this.timeNow=n,this.timeThreshold=e}}}},mounted(){this.updateInterval=setInterval((()=>this.dateNow=Date.now()),this.refreshInterval)},beforeDestroy(){clearInterval(this.updateInterval)},methods:{getSpecification(e){const t=this.openingHours.find((t=>t.days_of_week.includes(r[e])));return null!==t&&void 0!==t?t:{opens:"00:00",closes:"00:00"}},isClosed(e){return"00:00"===e.opens&&"00:00"===e.closes},dateToTime(e){return(e.getHours()<10?"0":"")+e.getHours()+":"+(e.getMinutes()<10?"0":"")+e.getMinutes()},translateDay(e){return 0===e?this.$t("date.weekday.sunday"):1===e?this.$t("date.weekday.monday"):2===e?this.$t("date.weekday.tuesday"):3===e?this.$t("date.weekday.wednesday"):4===e?this.$t("date.weekday.thursday"):5===e?this.$t("date.weekday.friday"):6===e?this.$t("date.weekday.saturday"):""}}}),c=l,u=i(81656),d=(0,u.A)(c,n,s,!1,null,"418dfba9",null),p=d.exports},16507:function(e,t,i){"use strict";i.d(t,{A:function(){return d}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("Link",{staticClass:"PhoneLink",attrs:{href:e.phoneNumberLink,"underline-disabled":""}},[t("span",{staticClass:"PhoneLink__content"},[t("i",{staticClass:"far fa-phone"}),t("span",{staticClass:"PhoneLink__number"},[e._v(e._s(e.phoneNumber))])])])},s=[],a=(i(25440),i(62893)),r=i(65379),o=(0,a.defineComponent)({name:"PhoneLink",components:{Link:r.N},props:{phoneNumber:{type:String,required:!0}},computed:{phoneNumberLink(){return`tel:${this.phoneNumber.replace(/\s/g,"")}`}}}),l=o,c=i(81656),u=(0,c.A)(l,n,s,!1,null,"f22f750e",null),d=u.exports},26027:function(e,t,i){"use strict";i.d(t,{A:function(){return u}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"PopoverHandler"},[t("div",{on:{click:e.onClick,touchstart:e.onTouchstart,mouseenter:e.onMouseenter,mouseleave:e.onMouseleave}},[e._t("default")],2),e.isOpen?t("div",{on:{mouseenter:e.onMouseenter,mouseleave:e.onMouseleave}},[e._t("content",null,{close:e.close})],2):e._e(),e.isOpen?t("div",{staticClass:"PopoverHandler__backdrop",on:{click:function(t){return t.target!==t.currentTarget?null:(t.stopPropagation(),e.close.apply(null,arguments))}}}):e._e()])},s=[],a=i(62893),r=(0,a.defineComponent)({name:"PopoverHandler",props:{toggleOnClick:{type:Boolean,default:!1},locked:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},enterDelay:{type:Number,default:20},leaveDelay:{type:Number,default:200}},data(){return{isOpen:!1}},watch:{isOpen(e,t){!t&&e?this.$emit("open"):t&&!e&&this.$emit("close")}},created(){this.latestTouchstart=0,this.timeoutEnter=null,this.timeoutLeave=null},methods:{onClick(e){this.isToggleOnClick()?(e.preventDefault(),this.toggle()):this.close()},onTouchstart(){this.latestTouchstart=Date.now()},onMouseenter(){this.isToggleOnClick()||(clearTimeout(this.timeoutLeave),this.isOpen||(this.timeoutEnter=setTimeout(this.open,this.enterDelay)))},onMouseleave(){this.isToggleOnClick()||(clearTimeout(this.timeoutEnter),this.isOpen&&(this.timeoutLeave=setTimeout(this.close,this.leaveDelay)))},isToggleOnClick(){return this.toggleOnClick||this.isRecentTouch()},isRecentTouch(){return Date.now()-this.latestTouchstart<1e3},toggle(){this.isOpen?this.close():this.open()},open(){this.disabled||(this.isOpen=!0)},close(){this.locked||(this.isOpen=!1)}}}),o=r,l=i(81656),c=(0,l.A)(o,n,s,!1,null,"1dbf9cc3",null),u=c.exports},69678:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return C}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return e.priceHidden?e._e():t("div",{directives:[{name:"visibility",rawName:"v-visibility:[visibilitySelfTrackingEnabled].once.offset",value:e.onVisible,expression:"onVisible",arg:e.visibilitySelfTrackingEnabled,modifiers:{once:!0,offset:!0}}],class:["ProductPrice",e.modifierClasses],on:e._d({},[e.clickEventType,e.onClick])},[e.showOffers&&!e.costPriceHidden&&e.size!==e.ProductPriceSize.EXTRA_LARGE?t("ProductOffers",{staticClass:"ProductPrice__offers",attrs:{"chip-size":e.size===e.ProductPriceSize.EXTRA_LARGE?e.ChipSize.MEDIUM:e.ChipSize.SMALL,offers:e.prices.offers,alignment:e.offersAlignment}}):e._e(),t("div",{staticClass:"ProductPrice__prices"},[e.hasDiscount?t("span",{staticClass:"ProductPrice__compareAtPrice"},[e._v(" "+e._s(e.getPrice(e.prices.compare_at_price))+" ")]):e._e(),t("span",{class:["ProductPrice__price",!e.price&&"ProductPrice__price--skeleton"]},[e._v(" "+e._s(e.getPrice(e.price))+" ")])]),e.costPriceToggleEnabled&&e.costPriceVisible?t("div",{staticClass:"ProductPrice__costPrices"},[e.hasCostPriceDiscount?t("span",{staticClass:"ProductPrice__compareAtCostPrice"},[e._v(" "+e._s(e.getPrice(e.prices.compare_at_cost_price))+" ")]):e._e(),t("span",{staticClass:"ProductPrice__costPrice"},[e._v(" "+e._s(e.getPrice(e.prices.cost_price))+" ")])]):e._e(),e.compulsoryPricesVisible?t("ul",{staticClass:"ProductPrice__compulsory"},e._l(e.prices.compulsory,(function(i){return t("li",{key:i.title,staticClass:"ProductPrice__compulsoryItem"},[e._v(" + "),t("span",{staticClass:"ProductPrice__compulsoryPrice"},[e._v(" "+e._s(e.getPrice(i.price))+" ")]),t("span",{staticClass:"ProductPrice__compulsoryTitle"},[e._v(" ("+e._s(i.title)+")")])])})),0):e._e(),e.totalPriceVisible?t("div",{staticClass:"ProductPrice__compulsoryTotal"},[e._v(" "+e._s(e.$t("price.total"))+": "),t("span",{staticClass:"ProductPrice__compulsoryTotalPrice"},[e._v(" "+e._s(e.getPrice(e.totalPrice))+" ")])]):e._e(),e.showOffers&&!e.costPriceHidden&&e.size===e.ProductPriceSize.EXTRA_LARGE?t("ProductOffers",{staticClass:"ProductPrice__offers",attrs:{"chip-size":e.ChipSize.LARGE,offers:e.prices.offers,alignment:e.offersAlignment}}):e._e()],1)},s=[],a=(i(62953),i(62893)),r=i(95353),o=i(58756),l=function(){var e=this,t=e._self._c;e._self._setupProxy;return e.offers.length?t("div",{class:["ProductOffers",e.alignmentClass]},e._l(e.offers,(function(i,n){return t("BwChip",{key:n,attrs:{size:e.chipSize}},[e._v(" "+e._s(e.$t("product.buy_n_for_price",{n:i.quantity||i.recommended_quantity,price:e.$price(i.price*(i.quantity||i.recommended_quantity))}))+" ")])})),1):e._e()},c=[];const u=Object.freeze({LEFT:"LEFT",CENTER:"CENTER",RIGHT:"RIGHT"});var d=i(56940),p=(0,a.defineComponent)({name:"ProductOffers",components:{BwChip:d.w1},props:{offers:{type:Array,default:()=>[]},chipSize:{type:String,default:d.Sb.MEDIUM,validator:e=>Object.values(d.Sb).includes(e)},alignment:{type:String,default:u.LEFT,validator:e=>Object.values(u).includes(e)}},enums:{ChipSize:d.Sb},computed:{alignmentClass(){return{[u.LEFT]:"",[u.CENTER]:"ProductOffers--center",[u.RIGHT]:"ProductOffers--right"}[this.alignment]}}}),h=p,m=i(81656),f=(0,m.A)(h,l,c,!1,null,null,null),_=f.exports,v=i(509),g=(0,a.defineComponent)({name:"ProductPrice",components:{ProductOffers:_},props:{product:{type:Object,default:void 0},itemNumber:{type:String,default:void 0},size:{type:String,default:o.O.MEDIUM},alignment:{type:String,default:o.A.LEFT},vertical:{type:Boolean,default:!1},totalPriceEnabled:{type:Boolean,default:!1},totalPriceFocused:{type:Boolean,default:!1},compulsoryPricesDisabled:{type:Boolean,default:!1},visible:{type:Boolean,default:void 0}},enums:{ChipSize:v.Sb,ProductPriceSize:o.O},data(){return{isViewed:!1,costPriceVisible:!1}},computed:{...(0,r.L8)("price",["getPrices"]),clickEventType(){return this.costPriceToggleEnabled?new Set(["mobileS","mobileM","mobileL","tablet"]).has(this.$mq)?"click":"dblclick":null},modifierClasses(){return[this.costPriceVisible&&"ProductPrice--costPriceVisible",this.sizeClass,this.alignmentClass,this.vertical&&"ProductPrice--vertical",this.costPriceToggleEnabled&&"ProductPrice--hasToggle",!this.costPriceToggleEnabled&&this.totalPriceFocused&&"ProductPrice--totalPriceFocused"]},sizeClass(){return{[o.O.SMALL]:"ProductPrice--small",[o.O.MEDIUM]:"ProductPrice--medium",[o.O.LARGE]:"ProductPrice--large",[o.O.EXTRA_LARGE]:"ProductPrice--extraLarge"}[this.size]},alignmentClass(){return{[o.A.LEFT]:"ProductPrice--left",[o.A.RIGHT]:"ProductPrice--right",[o.A.CENTER]:"ProductPrice--center"}[this.alignment]},offersAlignment(){return{[o.A.LEFT]:u.LEFT,[o.A.RIGHT]:u.RIGHT,[o.A.CENTER]:u.CENTER}[this.alignment]},localItemNumber(){return this.itemNumber||this.product&&this.product.item_number},fetchPriceEnabled(){if(!this.localItemNumber)return!1;if(this.$isEnabled("PRODUCT_PRICE_ASYNC_FETCH"))return!0;const e="number"!==typeof this.product.price;return e},visibilitySelfTrackingEnabled(){return void 0===this.visible&&this.fetchPriceEnabled},costPriceToggleEnabled(){return this.$isEnabled("PRODUCT_COST_PRICE_TOGGLE")},costPriceHidden(){return this.$isEnabled("PRODUCT_COST_PRICE_HIDDEN")},prices(){var e,t;if(this.fetchPriceEnabled){const e=this.getPrices(this.localItemNumber);return e||{}}return{compare_at_price:this.product.compare_at_price,price:this.product.price,discount:this.product.discount,compare_at_cost_price:this.product.compare_at_cost_price,cost_price:this.product.cost_price,offers:null===(e=this.product)||void 0===e?void 0:e.offers,compulsory:null===(t=this.product)||void 0===t?void 0:t.compulsory}},price(){return!this.fetchPriceEnabled||this.costPriceToggleEnabled||this.costPriceHidden?this.prices.price:this.prices.cost_price},hasDiscount(){return!isNaN(this.prices.compare_at_price)&&this.prices.compare_at_price>this.prices.price},hasCostPriceDiscount(){return!isNaN(this.prices.compare_at_cost_price)&&this.prices.compare_at_cost_price>this.prices.cost_price},showOffers(){var e;return!(null===(e=this.prices.offers)||void 0===e||!e.length)&&(!this.costPriceToggleEnabled||this.costPriceVisible)},totalPrice(){var e;return this.price+(null===(e=this.prices.compulsory)||void 0===e?void 0:e.reduce(((e,{price:t})=>e+t),0))},compulsoryPricesVisible(){return!this.compulsoryPricesDisabled&&this.prices.compulsory&&this.prices.compulsory.length>0},totalPriceVisible(){var e;return!this.compulsoryPricesDisabled&&this.totalPriceEnabled&&this.totalPrice>0&&(null===(e=this.prices.compulsory)||void 0===e?void 0:e.length)&&this.totalPrice!==this.price&&(!this.costPriceToggleEnabled||this.costPriceVisible)},priceHidden(){return this.$isEnabled("PRODUCT_COST_PRICE_HIDDEN")&&this.$isEnabled("PRODUCT_PRICE_HIDDEN")}},watch:{visible:{handler(e){this.onVisible(e)},immediate:!0},localItemNumber(){this.isViewed&&(this.isViewed=!1,this.onVisible(!0))}},mounted(){var e,t;this.costPriceVisible=null===(e=window.prices)||void 0===e?void 0:e.isCostPricesVisible,null===(t=window.prices)||void 0===t||t.addCostPriceListener(this.setCostPriceVisibility)},beforeDestroy(){var e;null===(e=window.prices)||void 0===e||e.removeCostPriceListener(this.setCostPriceVisibility)},methods:{...(0,r.i0)("price",["addItemNumberToQueue"]),getPrice(e){return this.$price(e)},onVisible(e){e&&!this.isViewed&&(this.isViewed=!0,this.fetchPriceEnabled&&this.addItemNumberToQueue(this.localItemNumber))},setCostPriceVisibility(e){this.costPriceVisible=e},onClick(){this.costPriceVisible=!this.costPriceVisible}}}),S=g,E=(0,m.A)(S,n,s,!1,null,null,null),C=E.exports},1794:function(e,t,i){"use strict";i.d(t,{A:function(){return d}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:["ProgressOverlay",e.progress?"is-active":void 0].join(" ")},[t("div",{class:["ProgressOverlay__content",e.progress&&e.hideContentOnProgress&&"HiddenLayout"]},[e._t("default")],2),t("transition",{attrs:{name:"fade"}},[e.progress?t("div",{staticClass:"ProgressOverlay__backdrop"}):e._e()]),e.progress?t("div",{staticClass:"ProgressOverlay__spinner"},[t("svg",{staticClass:"Spinner",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100"}},[t("circle",{attrs:{xmlns:"http://www.w3.org/2000/svg",cx:"50",cy:"50",fill:"none","stroke-width":"4",r:"30","stroke-dasharray":"70"}})])]):e._e()],1)},s=[],a=i(62893),r=i(52723),o=(0,a.defineComponent)({name:"ProgressOverlay",props:{progress:{type:Boolean,default:!1},messagePosition:{type:String,default:r.G.CENTER},hideContentOnProgress:{type:Boolean,default:!1,required:!1}},data(){return{position:r.G}}}),l=o,c=i(81656),u=(0,c.A)(l,n,s,!1,null,"3876ba48",null),d=u.exports},50675:function(e,t,i){"use strict";i.d(t,{A:function(){return u}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t(e.tag,{directives:[{name:"resize",rawName:"v-resize",value:e.onResize,expression:"onResize"}],tag:"component"},[e._t("default",null,{width:e.width,height:e.height})],2)},s=[],a=i(62893),r=(0,a.defineComponent)({name:"ResizeObserver",props:{tag:{type:String,default:"div"}},data(){return{width:0,height:0}},methods:{onResize({width:e,height:t}){this.width=e,this.height=t,this.$emit("resize",{width:e,height:t})}}}),o=r,l=i(81656),c=(0,l.A)(o,n,s,!1,null,null,null),u=c.exports},55754:function(e,t,i){"use strict";i.d(t,{A:function(){return p}});i(62953);var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("form",{class:["SmartInput",...e.modifierClasses],on:{submit:function(e){e.preventDefault()}}},[e.label?t("label",{class:["SmartInput__label bw-line-clamp-1",...e.labelModifierClasses],attrs:{for:e.id},domProps:{textContent:e._s(e.label)}}):e._e(),t("div",{staticClass:"SmartInput__inputWrapper"},[e.hasDefaultSlot()?t("div",{staticClass:"SmartInput__prependItem"},[e._t("default")],2):e._e(),"checkbox"===e.$attrs.type?t("input",e._b({directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"SmartInput__input",attrs:{id:e.id,required:e.required,disabled:e.disabled,type:"checkbox"},domProps:{checked:Array.isArray(e.model)?e._i(e.model,null)>-1:e.model},on:{keydown:[function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"]))return null;t.preventDefault()},function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter"))return null;t.preventDefault(),!e.submitDisabled&&e.$emit("submit")}],focus:function(t){e.hasFocus=!0},blur:function(t){e.hasFocus=!1},change:function(t){var i=e.model,n=t.target,s=!!n.checked;if(Array.isArray(i)){var a=null,r=e._i(i,a);n.checked?r<0&&(e.model=i.concat([a])):r>-1&&(e.model=i.slice(0,r).concat(i.slice(r+1)))}else e.model=s}}},"input",e.$attrs,!1)):"radio"===e.$attrs.type?t("input",e._b({directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"SmartInput__input",attrs:{id:e.id,required:e.required,disabled:e.disabled,type:"radio"},domProps:{checked:e._q(e.model,null)},on:{keydown:[function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"]))return null;t.preventDefault()},function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter"))return null;t.preventDefault(),!e.submitDisabled&&e.$emit("submit")}],focus:function(t){e.hasFocus=!0},blur:function(t){e.hasFocus=!1},change:function(t){e.model=null}}},"input",e.$attrs,!1)):t("input",e._b({directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"SmartInput__input",attrs:{id:e.id,required:e.required,disabled:e.disabled,type:e.$attrs.type},domProps:{value:e.model},on:{keydown:[function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"]))return null;t.preventDefault()},function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter"))return null;t.preventDefault(),!e.submitDisabled&&e.$emit("submit")}],focus:function(t){e.hasFocus=!0},blur:function(t){e.hasFocus=!1},input:function(t){t.target.composing||(e.model=t.target.value)}}},"input",e.$attrs,!1)),t("button",{staticClass:"SmartInput__button",attrs:{disabled:e.submitDisabled,type:"submit"},on:{click:function(t){return e.$emit("submit")}}},[t("transition-group",{attrs:{name:"Transition__SlideIn",tag:"div"}},[""===e.status?t("i",{key:"arrow",staticClass:"fas fa-arrow-right",attrs:{"aria-hidden":"true"}}):e._e(),e.status===e.Progress.COMPLETE?t("i",{key:"check",staticClass:"SmartInput__successIcon fas fa-check",attrs:{"aria-hidden":"true"}}):e._e(),e.status===e.Progress.ERROR?t("i",{key:"error",staticClass:"SmartInput__errorIcon fas fa-times",attrs:{"aria-hidden":"true"}}):e._e(),e.status===e.Progress.WORKING?t("LoaderGraphic",{key:"spinner",attrs:{visible:"",size:"sm"}}):e._e()],1)],1)])])},s=[],a=i(62893),r=i(50326),o=i(27523),l=(0,a.defineComponent)({name:"SmartInput",components:{LoaderGraphic:o.A},props:{value:{type:String,required:!0},label:{type:String,default:void 0},labelSize:{type:String,default:"md",validator:e=>["xs","sm","md","lg"].includes(e)},required:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},submitDisabled:{type:Boolean,default:!1},id:{type:String,default:void 0},status:{type:String,default:""},uppercase:{type:Boolean,default:!0},dense:{type:Boolean,default:!1}},data(){return{Progress:r.A,hasFocus:!1}},computed:{model:{get(){return this.value},set(e){this.$emit("input",e)}},modifierClasses(){return[this.disabled&&"SmartInput--disabled",this.required&&"SmartInput--required",this.hasFocus&&"SmartInput--focus",this.$slots.default&&"SmartInput--hasSlot",this.uppercase&&"SmartInput--uppercase",this.dense&&"SmartInput--dense"]},labelModifierClasses(){return["xs"===this.labelSize&&"bw-text-body-xs","sm"===this.labelSize&&"bw-text-body-sm","md"===this.labelSize&&"bw-text-body-base","lg"===this.labelSize&&"bw-text-body-lg"]}},methods:{hasDefaultSlot(){return!!this.$scopedSlots.default}}}),c=l,u=i(81656),d=(0,u.A)(c,n,s,!1,null,null,null),p=d.exports},55030:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return G}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("StoresContainer",{ref:"StoresContainer",scopedSlots:e._u([{key:"default",fn:function({status:i,stores:n,searchPoint:s}){return[t("div",{class:["Storefinder",e.scrollable&&"Storefinder--scroll"]},[e.$isEnabled("BRANCH_LOOKUP")?t("div",{staticClass:"Storefinder__header"},[t("SearchInput",{staticClass:"Storefinder__search",attrs:{placeholder:e.$t("branch.search_placeholder"),hint:s&&s.formatted_address,"type-ahead":"","type-ahead-debounce-enabled":"","type-ahead-debounce-duration":500,working:i===e.Progress.WORKING},on:{search:e.onSearch}})],1):e._e(),t("div",{ref:"StoreFinderBody",staticClass:"Storefinder__body"},[t("ProgressOverlay",{attrs:{progress:i===e.Progress.WORKING,"spinner-position":e.position.TOP}},[t("StoreSelect",{staticClass:"Storefinder__stores",attrs:{stores:n,selected:e.selectedStore,preselect:e.preselectShop,"show-alerts":e.showAlerts},on:{"update:selected":function(t){e.selectedStore=t}}})],1)],1)])]}}])})},s=[],a=i(62893),r=i(95353),o=(i(42762),i(83572)),l=i(21190);const c=e=>{const{webid:t,...i}=e;return{...i,slug:t,url:l.A.legacy.urlBranches+"/"+t}};function u(e,t){return new Promise(((i,n)=>{const s={country:l.A.legacy.countryCode,limit:150,domain:l.A.legacy.domainCode,query:e,provider:t||"AFHENTET"};o.jI.get("/ServicePointsV2/GetNearestByQuery",{params:s}).then((e=>{if(e.data.errors)return n(e.data.errors);e.data.service_points=e.data.service_points.map(c),i(e.data)})).catch((e=>n(e.response.data)))}))}function d(){return new Promise(((e,t)=>{const i={country:l.A.legacy.countryCode,limit:150,domain:l.A.legacy.domainCode};o.jI.get("/ServicePointsV2/GetAll",{params:i}).then((i=>{if(i.data.errors)return t(i.data.errors);e(i.data.data.map(c))})).catch((e=>t(e.response.data)))}))}var p=i(50326);const h={FETCH_STORES:"FETCH_STORES",SEARCH:"SEARCH"},m={SET_STATUS:"SET_STATUS",SET_STORES:"SET_STORES",SET_SEARCHPOINT:"SET_SEARCHPOINT",CLEAR_SEARCHPOINT:"CLEAR_SEARCHPOINT"};var f={namespaced:!0,state:{status:"",stores:[],searchPoint:null},actions:{[h.FETCH_STORES]({commit:e}){e(m.SET_STATUS,p.A.WORKING),d().then((t=>{e(m.SET_STORES,t),e(m.SET_STATUS,p.A.COMPLETE)})).catch((t=>{e(m.SET_STATUS,p.A.ERROR)}))},[h.SEARCH]({commit:e,dispatch:t},i){""===i.trim()?(e(m.CLEAR_SEARCHPOINT),t(h.FETCH_STORES)):i.length>1&&(e(m.SET_STATUS,p.A.WORKING),e(m.CLEAR_SEARCHPOINT),u(i).then((({service_points:t,base_point:i})=>{e(m.SET_SEARCHPOINT,i),e(m.SET_STORES,t),e(m.SET_STATUS,p.A.COMPLETE)})).catch((t=>{e(m.SET_STATUS,p.A.ERROR)})))}},mutations:{[m.SET_STATUS](e,t){e.status=t},[m.SET_STORES](e,t){e.stores=t},[m.SET_SEARCHPOINT](e,t){e.searchPoint=t},[m.CLEAR_SEARCHPOINT](e){e.searchPoint=null}}},_=(0,a.defineComponent)({name:"StoresContainer",provide(){return{storesContainer:this}},computed:{...(0,r.aH)("stores",["status","stores","searchPoint"])},created(){this.$store.hasModule("stores")||(this.$store.registerModule("stores",f),this.fetchStores())},methods:{...(0,r.i0)("stores",{fetchStores:h.FETCH_STORES,search:h.SEARCH})},render(){return this.$scopedSlots.default({status:this.status,stores:this.stores,searchPoint:this.searchPoint,search:this.search})}}),v=i(1794),g=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"StoreSelect"},[t("ListTransition",{staticClass:"StoreSelect__list"},e._l(e.sortedStores,(function(i){return t("li",{key:i.id,staticClass:"StoreSelect__store"},[t("StoreOption",{attrs:{name:i.name,address:i.address,selected:e.selectedStore&&e.selectedStore.id===i.id,"alert-message":e.showAlerts?e.getAlertMessage(i):""},on:{click:function(t){return e.onStoreClick(i)}}}),e._t("default")],2)})),0)],1)},S=[],E=(i(13609),i(62953),i(84291)),C=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:["StoreOption",e.selected&&"is-selected"],on:{click:function(t){return e.$emit("click")}}},[t("div",{staticClass:"StoreOption__content"},[t("div",{staticClass:"StoreOption__info"},[t("div",{staticClass:"StoreOption__name"},[e._v(e._s(e.name))]),e.address?t("div",{staticClass:"StoreOption__address"},[t("Address",{attrs:{data:e.address}})],1):e._e()]),e._m(0)]),t("div",{staticClass:"StoreOption__alertWrapper"},[e.alertMessage?t("div",{staticClass:"StoreOption__alert"},[t("i",{staticClass:"far fa-exclamation-circle"}),e._v(" "+e._s(e.alertMessage)+" ")]):e._e()])])},b=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"StoreOption__check"},[t("i",{staticClass:"far fa-check"})])}],y=i(89103),A=(0,a.defineComponent)({name:"StoreOption",components:{Address:y.A},props:{name:{type:String,required:!0},address:{type:Object,default:null},selected:{type:Boolean,default:!1},alertMessage:{type:String,default:""}}}),T=A,w=i(81656),I=(0,w.A)(T,C,b,!1,null,"a7f25d00",null),R=I.exports,P=(0,a.defineComponent)({name:"StoreSelect",components:{ListTransition:E.E,StoreOption:R},props:{stores:{type:Array,default(){return[]}},selected:{type:Object,default:null},preselect:{type:Object,default:null},showAlerts:{type:Boolean,default:!1}},data(){return{selectedStore:null,preselectActive:!0}},computed:{sortedStores(){if(this.selectedStore){const e=this.stores.findIndex((e=>e.id===this.selectedStore.id));if(-1!==e){const t=[...this.stores];return t.unshift(t.splice(e,1)[0]),t}}return this.stores},preselectStore(){return this.preselectActive&&this.preselect&&this.preselect.slug?this.stores.find((e=>e.slug===this.preselect.slug)):null}},watch:{preselectStore:{handler(){this.preselectActive&&this.preselectStore&&(this.selectedStore=this.preselectStore)},deep:!0,immediate:!0}},methods:{onStoreClick(e){this.preselectActive=!1,this.selectedStore&&this.selectedStore.id===e.id?this.selectedStore=null:this.selectedStore=e,this.$emit("update:selected",this.selectedStore)},getAlertMessage(e){const t=e.services.includes("car_lift");return t?"":"Kun udlevering (ingen montage)"}}}),O=P,L=(0,w.A)(O,g,S,!1,null,"c44a2048",null),N=L.exports,B=i(18987),D=i(52723),M=i(69743),k=i(20276),x=(0,a.defineComponent)({name:"StoreFinder",components:{StoresContainer:_,SearchInput:k.D,ProgressOverlay:v.A,StoreSelect:N},props:{onUpdate:{type:Function,default:null},onUpdateFunction:{type:String,default:null},scrollable:{type:Boolean,default:!1},preselect:{type:Object,default:null},ignoreCookie:{type:Boolean,default:!1},showAlerts:{type:Boolean,default:!1}},enums:{Progress:p.A,position:D.G},data(){return{selectedStore:null,preselectShop:null}},watch:{selectedStore(e){this.scrollable&&null!==e&&this.scrollToTop(),"function"===typeof this.onUpdate&&this.onUpdate(e),this.onUpdateFunction&&"function"===typeof window[this.onUpdateFunction]&&window[this.onUpdateFunction](e)}},created(){this.window=window,this.preselect?this.preselectShop=this.preselect:!this.ignoreCookie&&B.A.get("favShopClosestsWebId")&&(this.preselectShop={slug:B.A.get("favShopClosestsWebId")}),this.selectedStore=this.preselectShop},methods:{onSearch(e){this.$refs.StoresContainer.search(e),this.scrollToTop()},scrollToTop(){(0,M.eG)({element:this.$refs.StoreFinderBody,delay:200})}}}),U=x,$=(0,w.A)(U,n,s,!1,null,"2649977b",null),G=$.exports},73389:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return C}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("InventoryLevelContainer",{directives:[{name:"visibility",rawName:"v-visibility",value:t=>e.isVisible=t,expression:"visible => (isVisible = visible)"}],attrs:{active:e.prefetch||e.isVisible,"item-number":e.itemNumber},scopedSlots:e._u([{key:"default",fn:function({stock:i,branch:n,status:s}){return[n?t("div",{class:["InventoryButton"]},[t("ErpButton",{staticClass:"InventoryButton__button",attrs:{"full-width":"",size:e.ErpButtonSize.EXTRA_SMALL},on:{click:function(t){return e.$actions.run("promptProductInventory",e.itemNumber)}},scopedSlots:e._u([{key:"default",fn:function(){return[s===e.Progress.COMPLETE||i?t("InventoryStatusLabel",{attrs:{quantity:i.available,"branch-name":n.name}}):s&&s!==e.Progress.WORKING?s===e.Progress.ERROR?t("span",{staticClass:"InventoryButton__errorLabel"},[e._v(" "+e._s(e.$t("common.loading.error"))+" ")]):e._e():t("span",{staticClass:"InventoryButton__workingLabel"},[t("EllipsisAnimation",{attrs:{text:e.$t("common.loading")}})],1)]},proxy:!0}],null,!0)})],1):e._e()]}}])})},s=[],a=i(62893),r=i(50326),o=i(36474),l=i(51874),c=i(42865),u=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("BwButton",{staticClass:"ErpButton",attrs:{"full-width":e.fullWidth,size:e.size},on:{click:function(t){return e.$emit("click")}}},[e._t("default")],2)},d=[],p=i(95927),h=(0,a.defineComponent)({name:"ErpButton",components:{BwButton:p.wQ},props:{fullWidth:{type:Boolean,default:!1},size:{type:String,default:p.Mp.MEDIUM,validator:e=>Object.values(p.Mp).includes(e)}}}),m=h,f=i(81656),_=(0,f.A)(m,u,d,!1,null,"37166ce0",null),v=_.exports,g=(0,a.defineComponent)({name:"InventoryButton",components:{InventoryLevelContainer:o.A,EllipsisAnimation:l.q,InventoryStatusLabel:c.A,ErpButton:v},props:{itemNumber:{type:[String,Number],required:!0},inline:{type:Boolean,default:!1},prefetch:{type:Boolean,default:!1}},enums:{Progress:r.A,ErpButtonSize:p.Mp},data(){return{isVisible:!1}}}),S=g,E=(0,f.A)(S,n,s,!1,null,"44749fe4",null),C=E.exports},55494:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return S}});i(62953);var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t(e.tag,{tag:"component",class:["UserCard",...e.modifierClasses]},[t("UserInitials",{attrs:{name:e.displayedName,small:e.small}}),t("div",{staticClass:"UserCard__details"},[t("div",{staticClass:"UserCard__name"},[e._v(e._s(e.displayedName))]),e.clickableContacts?[t("Link",{attrs:{href:`mailto:${e.email}`}},[e._v(e._s(e.email))]),e.phoneNumber?t("PhoneLink",{attrs:{"phone-number":e.phoneNumber}}):e._e()]:[t("div",{staticClass:"UserCard__data bw-text-body-sm"},[e._v(e._s(e.email))]),e.phoneNumber?t("div",{staticClass:"UserCard__data bw-text-body-sm"},[e._v(e._s(e.phoneNumber))]):e._e()]],2)],1)},s=[],a=i(62893),r=i(60285),o=i(65379),l=i(16507),c=function(){var e=this,t=e._self._c;e._self._setupProxy;return t(e.tag,{tag:"component",class:["UserInitials",...e.modifierClasses]},[e._v(" "+e._s(e.displayedInitials)+" ")])},u=[],d=(0,a.defineComponent)({name:"UserInitials",props:{initials:{type:String,default:void 0},name:{type:String,default:void 0},clickable:{type:Boolean,default:!1},small:{type:Boolean,default:!1}},computed:{displayedInitials(){var e,t,i,n;if(this.initials)return this.initials.toUpperCase();if(!this.name)return;const s=null===(e=this.name)||void 0===e?void 0:e.split(" "),a=s[0],r=a?null===(t=a[0])||void 0===t?void 0:t.toUpperCase():"",o=s.length>1&&s[s.length-1],l=o[0]?null===(i=o[0])||void 0===i?void 0:i.toUpperCase():a[1]?null===(n=a[1])||void 0===n?void 0:n.toUpperCase():"";return r+l},smallInitials(){var e;return(null===(e=this.displayedInitials)||void 0===e?void 0:e.length)>2},tag(){return this.clickable?"button":"div"},modifierClasses(){return[this.small&&"UserInitials--small",this.clickable&&"UserInitials--clickable",this.smallInitials&&"UserInitials--smallInitials"]}}}),p=d,h=i(81656),m=(0,h.A)(p,c,u,!1,null,"0d6c2776",null),f=m.exports,_=(0,a.defineComponent)({name:"UserCard",components:{Link:o.N,PhoneLink:l.A,UserInitials:f},props:{tag:{type:String,default:"div"},initials:{type:String,default:null},name:{type:String,required:!0},boldNameDisabled:{type:Boolean,default:!1},email:{type:String,default:null},phoneNumber:{type:String,default:null},small:{type:Boolean,default:!1},clickable:{type:Boolean,default:!1},clickableContacts:{type:Boolean,default:!1},darkmode:{type:Boolean,default:!1}},computed:{displayedName(){return this.name?(0,r.x)(this.name)?this.name.split("@")[0]:this.name:this.email&&(0,r.x)(this.email)?this.email.split("@")[0]:""},modifierClasses(){return[this.small&&"UserCard--small",(this.clickable||"button"===this.tag||"a"===this.tag)&&"UserCard--clickable",this.darkmode&&"UserCard--dark",this.boldNameDisabled&&"UserCard--boldNameDisabled"]}}}),v=_,g=(0,h.A)(v,n,s,!1,null,"71d87bb7",null),S=g.exports},14844:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return h}});i(62953);var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t(e.componentTag,{directives:[{name:"ripple",rawName:"v-ripple"}],tag:"component",class:["BwButton",...e.modifierClasses],attrs:{disabled:e.disabled,to:e.to,href:e.href,role:"button",type:"button"},on:{click:function(t){!e.disabled&&e.$emit("click",t)},keyup:function(t){!e.disabled&&e.$emit("keyup",t)}}},[t("GrowTransition",[e.working?t("div",{staticClass:"BwButton__loaderWrapper"},[t("span",{staticClass:"bw-loading-spinner"})]):e._e()]),e.faIconClass&&e.iconBefore?t("i",{class:[e.faIconClass,"fa-fw"]}):e._e(),e._t("content",(function(){return[e.hasDefaultSlot()?t("span",{staticClass:"BwButton__text"},[e._t("default")],2):e._e()]})),e.faIconClass&&!e.iconBefore?t("i",{class:[e.faIconClass,"fa-fw"]}):e._e(),t("GrowTransition",[e.count>0?t("BwCountIcon",{staticClass:"BwButton__count",attrs:{count:e.count,"max-count":e.maxCount,"color-scheme":e.countColorScheme,disabled:e.disabled,"animation-disabled":e.countAnimationDisabled}}):e._e()],1)],2)},s=[],a=i(62893),r=i(28185),o=i(86433),l=i(64520),c=(0,a.defineComponent)({name:"BwButton",components:{BwCountIcon:l.aG,GrowTransition:r.P},props:{tag:{type:String,default:"button"},to:{type:[Object,String],default:void 0},href:{type:String,default:void 0},attentionLevel:{type:Number,default:1,validator:e=>[1,2,3].includes(e)},borderless:{type:Boolean,default:!1},rounded:{type:Boolean,default:!1},size:{type:String,default:o.Mp.MEDIUM,validator:e=>Object.values(o.Mp).includes(e)},fullWidth:{type:Boolean,default:!1},shade:{type:String,default:o.ap.DARK,validator:e=>Object.values(o.ap).includes(e)},colorScheme:{type:String,default:o.zy.DEFAULT,validator:e=>Object.values(o.zy).includes(e)},count:{type:Number,default:0},countAnimationDisabled:{type:Boolean,default:void 0},maxCount:{type:Number,default:void 0},countColorScheme:{type:String,default:void 0},disabled:{type:Boolean,default:!1},working:{type:Boolean,default:!1},faIconClass:{type:String,default:""},iconBefore:{type:Boolean,default:!1},customStyle:{type:Boolean,default:!1}},enums:{ButtonSize:o.Mp},computed:{modifierClasses(){return[this.attentionLevel&&!this.customStyle&&`BwButton--al-${this.attentionLevel}`,this.borderless&&"BwButton--borderless",this.rounded&&"BwButton--rounded",this.disabled&&"BwButton--disabled",this.fullWidth&&"BwButton--fw",this.working&&"BwButton--working",this.isIconOnly()&&"BwButton--iconOnly",!this.customStyle&&this.shadeClass,this.sizeClass,this.colorSchemeClass]},componentTag(){return this.to?"router-link":this.href?"a":this.tag},sizeClass(){return{[o.Mp.EXTRA_SMALL]:"BwButton--extraSmall",[o.Mp.SMALL]:"BwButton--small",[o.Mp.MEDIUM]:"BwButton--medium",[o.Mp.LARGE]:"BwButton--large",[o.Mp.EXTRA_LARGE]:"BwButton--extraLarge"}[this.size]},shadeClass(){return{[o.ap.DARK]:"BwButton--dark",[o.ap.LIGHT]:"BwButton--light"}[this.shade]},colorSchemeClass(){return{[o.zy.DEFAULT]:"",[o.zy.DANGER]:"BwButton--cs-danger",[o.zy.SUCCESS]:"BwButton--cs-success",[o.zy.CTA]:"BwButton--cs-cta"}[this.colorScheme]}},methods:{isIconOnly(){return!this.$scopedSlots.default&&!this.$scopedSlots.content},hasDefaultSlot(){return!!this.$scopedSlots.default}}}),u=c,d=i(81656),p=(0,d.A)(u,n,s,!1,null,null,null),h=p.exports},58594:function(e,t,i){"use strict";i.d(t,{A:function(){return d}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("svg",{staticClass:"Icon",attrs:{width:"1em",height:"1em"}},[t("use",{attrs:{"xlink:href":`#${e.id}`}})])},s=[],a=(i(44114),i(62953),i(62893)),r={summer:{viewBox:"0 0 120 120",items:[{tag:"circle",cx:60,cy:60,r:19.06,fill:"orange"},{tag:"path",fill:"#ffec00",d:"m108.93 56.92-18.8-9.39 6.65-19.94a3.44 3.44 0 0 0-4.35-4.35L72.49 29.9l-9.41-18.83a3.44 3.44 0 0 0-6.16 0l-9.39 18.81-20-6.66a3.43 3.43 0 0 0-4.35 4.35l6.65 19.94-18.76 9.41a3.44 3.44 0 0 0 0 6.16l18.81 9.39-6.65 20a3.43 3.43 0 0 0 4.35 4.35l19.93-6.66 9.39 18.81a3.44 3.44 0 0 0 6.16 0l9.39-18.81 19.94 6.66a3.44 3.44 0 0 0 4.35-4.35l-6.65-19.98 18.8-9.39a3.45 3.45 0 0 0 .04-6.18ZM78 78a25.41 25.41 0 1 1 0-36 25.44 25.44 0 0 1 0 36Z"}]},winter:{viewBox:"0 0 120 120",items:[{tag:"path",fill:"#3071a9",d:"M44.54 99.39h-4.76L43.14 96A1.51 1.51 0 1 0 41 93.88l-3.37 3.36v-4.76a1.52 1.52 0 0 0-3 0v4.76l-3.36-3.36A1.52 1.52 0 1 0 29.09 96l3.37 3.37H27.7a1.52 1.52 0 1 0 0 3h4.76l-3.37 3.36a1.52 1.52 0 0 0 2.15 2.15l3.36-3.37v4.76a1.52 1.52 0 0 0 3 0v-4.76l3.4 3.42a1.52 1.52 0 1 0 2.14-2.15l-3.36-3.36h4.76a1.52 1.52 0 0 0 0-3ZM69.08 99.39h-4.76L67.68 96a1.51 1.51 0 0 0 0-2.14 1.5 1.5 0 0 0-2.14 0l-3.37 3.36v-4.74A1.51 1.51 0 0 0 60.66 91a1.51 1.51 0 0 0-1.52 1.51v4.76l-3.36-3.36A1.52 1.52 0 1 0 53.63 96L57 99.39h-4.76a1.52 1.52 0 1 0 0 3H57l-3.37 3.36a1.52 1.52 0 1 0 2.15 2.15l3.36-3.37v4.76a1.51 1.51 0 0 0 1.52 1.51 1.51 1.51 0 0 0 1.51-1.51v-4.76l3.37 3.37a1.52 1.52 0 1 0 2.14-2.15l-3.36-3.36h4.76a1.52 1.52 0 0 0 0-3ZM93.61 99.39h-4.76L92.22 96a1.51 1.51 0 0 0 0-2.14 1.5 1.5 0 0 0-2.14 0l-3.37 3.36v-4.74a1.52 1.52 0 0 0-3 0v4.76l-3.37-3.36a1.5 1.5 0 0 0-2.14 0 1.51 1.51 0 0 0 0 2.14l3.37 3.37h-4.79a1.52 1.52 0 1 0 0 3h4.76l-3.37 3.36a1.52 1.52 0 0 0 2.14 2.15l3.37-3.37v4.76a1.52 1.52 0 0 0 3 0v-4.76l3.37 3.37a1.52 1.52 0 1 0 2.14-2.15l-3.37-3.36h4.76a1.52 1.52 0 1 0 0-3Z"},{tag:"path",fill:"#b3b3b3",d:"M34.19 73.64a13.06 13.06 0 0 1 10.47-12.79v-.26A15.63 15.63 0 0 1 73 51.46a12.8 12.8 0 0 1 5.59-1.3 13 13 0 0 1 12.8 10.68A13 13 0 0 1 102 73.64v.3a16.65 16.65 0 0 0-12.3-23A16.53 16.53 0 0 0 66.19 39 20 20 0 0 0 30 50.66v.33a16.68 16.68 0 0 0 3.29 33h6a13 13 0 0 1-5.1-10.35Z"},{tag:"path",fill:"#ccc",d:"M91.34 60.84a13 13 0 0 0-12.8-10.68 12.8 12.8 0 0 0-5.54 1.3 15.63 15.63 0 0 0-28.33 9.13v.26a13 13 0 0 0 2.57 25.83H89a13 13 0 0 0 13-12.74v-.3a13 13 0 0 0-10.66-12.8Z"}]},allyear:{viewBox:"0 0 120 120",items:[{tag:"path",fill:"#ffec00",d:"M27.45 59.41A19 19 0 0 1 52.61 31a25.26 25.26 0 0 1 13.74-4.11h.4l1.77-5.3a2.58 2.58 0 0 0-3.28-3.26l-14.95 5-7-14.09a2.59 2.59 0 0 0-4.63 0l-7 14.09-14.95-5a2.58 2.58 0 0 0-3.25 3.28l5 15-14.22 7.02a2.58 2.58 0 0 0 0 4.62l14.1 7-5 15a2.59 2.59 0 0 0 3.27 3.27l11.76-3.91c0-.48-.14-.93-.14-1.43a21.84 21.84 0 0 1 1.23-7.13 17.19 17.19 0 0 1-2-1.65Z"},{tag:"path",fill:"orange",d:"M41.31 47.9a25.32 25.32 0 0 1 6.34-12.71 12.56 12.56 0 0 0-6.71-2 12.72 12.72 0 0 0-12.71 12.74 12.59 12.59 0 0 0 4.19 9.35 22.31 22.31 0 0 1 8.89-7.38Z"},{tag:"path",fill:"#3071a9",d:"M49.94 108.2A5.86 5.86 0 1 1 39 104.05c1.2-3.15 11.23-13.11 11.23-13.11s.9 14.11-.29 17.26ZM71.87 108.2a5.86 5.86 0 1 1-10.94-4.15c1.19-3.15 11.23-13.11 11.23-13.11s.91 14.11-.29 17.26ZM94.16 108.2a5.86 5.86 0 1 1-11-4.15c1.19-3.15 11.23-13.11 11.23-13.11s.96 14.11-.23 17.26Z"},{tag:"path",fill:"#b3b3b3",d:"M49.36 74.09a13 13 0 0 1 10.46-12.78v-.26a15.63 15.63 0 0 1 28.33-9.14 12.9 12.9 0 0 1 5.59-1.3 13 13 0 0 1 12.8 10.68 13 13 0 0 1 10.37 10 16.13 16.13 0 0 0 .31-3.13 15.85 15.85 0 0 0-13-15.59 15.88 15.88 0 0 0-15.59-13 15.6 15.6 0 0 0-6.81 1.59 19 19 0 0 0-34.53 11.13v.31a15.89 15.89 0 0 0 3.14 31.46H54a13 13 0 0 1-4.64-9.97Z"},{tag:"path",fill:"#ccc",d:"M116.88 71.3a13 13 0 0 0-10.37-10 13 13 0 0 0-12.8-10.68 12.9 12.9 0 0 0-5.59 1.3 15.63 15.63 0 0 0-28.33 9.14v.26a13 13 0 0 0 2.61 25.82h41.74a13 13 0 0 0 13-13 13.47 13.47 0 0 0-.26-2.84Z"}]},economy_rating:{viewBox:"0 0 49 49",items:[{tag:"path",fill:"currentColor",d:"M10.38 31.32c.1.5.21.98.35 1.45l1.54.09c-.14-.46-.25-.96-.36-1.45l-1.53-.1ZM14.27 34.25l.34.8 1.5.13-.37-.86-1.47-.07ZM13.4 18.76h-1.53c-.12.2-.23.42-.34.65h1.55c.1-.21.2-.44.33-.65ZM12.97 19.65h-1.54c-.13.27-.24.55-.34.84h1.55c.1-.3.21-.58.33-.84ZM15.92 19.72h-1.45c-.11.27-.23.55-.33.85h1.45c.11-.32.22-.6.33-.85ZM17.75 16.81l-1.36-.02c-.12.11-.24.22-.35.35h1.45c.07-.12.16-.22.26-.33ZM18.28 38.15l-.35-.3h-1.27c.14.13.3.23.46.33l1.16-.03ZM15.34 33.16l-1.45-.09c.1.33.2.64.32.93l1.44.08-.3-.94v.02ZM16.77 18.07h-1.45l-.3.51h1.45l.3-.5ZM13.85 18.02h-1.53l-.32.5h1.55c.09-.18.2-.34.3-.5ZM12.37 33.08 10.83 33c.1.33.21.64.32.93l1.54.08c-.12-.3-.22-.62-.32-.94v.02ZM15.52 20.78h-1.44c-.13.37-.25.77-.35 1.18h1.45c.1-.4.21-.8.34-1.18ZM15.34 36.36c.13.2.27.4.42.58l1.34-.04-.36-.54h-1.4ZM14.36 17.31h-1.5l-.38.48H14l.36-.48ZM15.94 37.17c.14.16.3.3.44.44h1.3l-.39-.46-1.35.02ZM11.66 29.65c-.05-.53-.09-1.07-.11-1.62L10 27.97c0 .54.06 1.07.12 1.58l1.53.1ZM10.03 25.92v1.81l1.53.06v-.6c0-.39 0-.78.04-1.17l-1.57-.1ZM17.26 17.38h-1.41l-.35.46h1.45c.09-.16.2-.32.31-.46ZM10.16 29.8c.06.43.12.86.2 1.27l1.54.07c-.08-.4-.15-.82-.2-1.25l-1.54-.1ZM14.72 35.3c.14.29.3.57.46.83h1.4a8.4 8.4 0 0 1-.37-.73l-1.49-.1ZM12.55 20.72h-1.56c-.12.37-.24.76-.35 1.17h1.55c.11-.4.23-.79.36-1.17ZM16.35 18.82H14.9c-.1.21-.22.43-.32.66h1.45c.14-.23.2-.45.32-.66ZM12.13 22.16h-1.54c-.12.43-.21.88-.29 1.35l1.54.04c.08-.49.18-.95.29-1.4ZM10.26 23.74c-.1.62-.17 1.27-.21 1.93l1.53.1c.04-.68.11-1.34.21-1.99l-1.53-.04Z"},{tag:"path",fill:"currentColor",d:"M15.9 27.2c0-5.9 2-10.48 4.77-11.38h-.72c-2.86.47-5.2 5.51-5.2 11.44 0 5.57 1.97 10.22 4.56 11.2h1.2c-2.66-1.12-4.62-5.66-4.62-11.27ZM17.54 38.38l.25.08h1a1.93 1.93 0 0 1-.2-.12l-1.05.04ZM13.23 29.86c.05.44.11.86.19 1.28l1.44.07c-.07-.4-.13-.83-.18-1.25l-1.45-.1ZM13.33 23.8c-.1.63-.17 1.28-.21 1.94l1.45.1c.03-.68.1-1.35.2-2l-1.44-.04ZM13.1 25.98V27.8l1.45.06V26.08l-1.44-.1ZM15.44 38.04a4.54 4.54 0 0 1-.36-.28h-1.32l.48.3 1.2-.02Z"},{tag:"path",fill:"currentColor",d:"M21.69 15.87c-3.12 0-5.55 4.97-5.55 11.3 0 6.04 2.26 10.82 5.22 11.25 3.13-.2 5.63-5.18 5.63-11.3.04-5.89-2.33-10.73-5.3-11.25ZM22 34.7c-1.78 0-3.24-3.5-3.24-7.83 0-4.32 1.45-7.83 3.24-7.83 1.8 0 3.25 3.5 3.25 7.83 0 4.32-1.45 7.85-3.25 7.85v-.02ZM14.67 29.71c-.05-.52-.09-1.06-.1-1.61l-1.46-.06c0 .53.05 1.07.11 1.58l1.45.1Z"},{tag:"path",fill:"currentColor",d:"M21.72 19.57c-.86 0-1.62 1.05-2.13 2.68l.1-.16c.98 0 1.79 2.58 1.79 5.22 0 2.65-.77 4.7-1.73 4.78.5 1.38 1.2 2.23 1.97 2.23 1.52 0 2.76-3.3 2.76-7.37s-1.24-7.38-2.76-7.38ZM18.7 16.05c.14-.09.3-.16.44-.23h-1.11c-.22.05-.42.13-.62.23h1.29Z"},{tag:"path",fill:"currentColor",d:"M12.83 27.2c0-5.51 1.92-10.13 4.5-11.38l.18-.1c-.21.01-.42.04-.63.1-2.9.72-5.07 5.55-5.07 11.37 0 5.82 2.17 10.47 4.97 11.27.21.06.43.1.64.1-.07 0-.14-.07-.22-.1-2.52-1.31-4.37-5.85-4.37-11.25ZM12.99 37.1c.14.16.3.3.45.45h1.36a6.11 6.11 0 0 1-.4-.45h-1.41Z"},{tag:"path",fill:"currentColor",d:"M13.46 31.38c.1.5.21.98.34 1.44l1.45.1c-.13-.47-.24-.96-.34-1.45l-1.45-.1ZM15.5 16.22h-1.45l-.4.28h1.45c.15-.07.27-.19.4-.28ZM11.24 34.19l.36.8 1.56.12-.38-.85-1.54-.07ZM14.67 38.31c.15.07.3.11.47.15h.94a3.04 3.04 0 0 1-.34-.18l-1.07.03ZM15.12 22.22h-1.45c-.1.45-.2.9-.28 1.36l1.45.03c.07-.48.17-.94.28-1.39ZM11.72 35.26c.14.28.3.55.47.82h1.45a7.89 7.89 0 0 1-.39-.73l-1.53-.1ZM14.87 16.76h-1.45l-.36.34h1.52l.3-.34ZM16.17 15.82h-1.25c-.15.05-.3.1-.44.17h1.36l.33-.17Z"},{tag:"path",fill:"currentColor",d:"M9.75 27.14c0-5.42 1.93-9.99 4.54-11.32-3.21 0-5.79 5.07-5.79 11.32s2.61 11.32 5.84 11.32h.08c-2.68-1.22-4.67-5.82-4.67-11.32Z"},{tag:"path",fill:"currentColor",d:"M12.36 36.3c.13.2.28.39.43.57l1.4-.03-.37-.54h-1.46ZM18.34 16.29h-1.38l-.34.26h1.35c.15-.08.27-.17.37-.26ZM37.1 12.77h-4.9a1.1 1.1 0 0 0-1.15 1.07v2.9a1.11 1.11 0 0 0 1.14 1.07h4.9a1.1 1.1 0 0 0 1.14-1.08v-2.9a1.1 1.1 0 0 0-1.14-1.06Zm.55 3.96a.53.53 0 0 1-.56.5h-4.9a.54.54 0 0 1-.56-.5v-2.9a.53.53 0 0 1 .56-.48h4.9a.52.52 0 0 1 .56.49v2.9Z"},{tag:"path",fill:"currentColor",d:"M40.48 14.87v-.08a.29.29 0 0 0-.29-.3h-.92v-1.44a1.45 1.45 0 0 0-1.45-1.38h-6.45a1.45 1.45 0 0 0-1.44 1.38v14.64h-.73a.29.29 0 1 0 0 .58h10.68a.29.29 0 1 0 0-.58h-.64v-9.46a1.03 1.03 0 0 1 .35.89v5.65c0 .72.36 1.26.85 1.26.48 0 .85-.54.85-1.26V16.2c.03-.88-.05-1.23-.8-1.34Zm-1.8 12.82h-8.24V13.06a.86.86 0 0 1 .93-.8h6.46a.86.86 0 0 1 .9.8l-.04 14.63Zm.59-12.61h.63v.97h-.63v-.97Zm1.44 9.69c0 .44-.2.72-.27.72-.08 0-.27-.24-.27-.72v-5.65c0-.81-.4-1.45-.93-1.5v-.99h.93a.29.29 0 0 0 .3-.29v-.9c.24 0 .24.17.24.77v8.56Z"},{tag:"path",fill:"currentColor",d:"m37.24 20.47-1.62 2.46h1.18l-.5 1.76 1.63-2.4-1.15-.06.46-1.76ZM34.61 19.54a.29.29 0 0 0-.29.29v4.92a.29.29 0 1 0 .58 0v-4.92a.29.29 0 0 0-.29-.3ZM32.41 20.82s-.6.95-.88 1.45a1.12 1.12 0 1 0 1.76 0c-.27-.5-.88-1.45-.88-1.45Zm-.1 2.85h-.07a.72.72 0 0 1-.5-.61.18.18 0 1 1 .37 0s0 .18.26.27a.17.17 0 0 1 .12.16.18.18 0 0 1-.08.15.18.18 0 0 1-.1.03Z"}]},grip_rating:{viewBox:"0 0 49 49",items:[{tag:"path",fill:"currentColor",d:"M41.83 13.22h-.18a3.12 3.12 0 0 0-3.1-2.55 3.17 3.17 0 0 0-2.67 1.43c-.33-.21-.71-.32-1.1-.31a2.04 2.04 0 0 0-1.99 1.5 3.15 3.15 0 0 0-3.69 3.02 3.15 3.15 0 0 0 3.19 3.1h1.96l-.65.9a.29.29 0 0 0 .07.4.29.29 0 0 0 .4-.06l.84-1.2v-.05h2.03l-.64.92a.29.29 0 0 0 .46.33l.85-1.2v-.05h2.14l-.64.92a.3.3 0 0 0 .07.4c.05.03.1.05.16.05a.3.3 0 0 0 .24-.12l.84-1.2v-.05h1.35a3.14 3.14 0 0 0 3.24-3.1 3.15 3.15 0 0 0-3.18-3.08Zm0 5.62h-9.54a2.57 2.57 0 0 1-2.6-2.53 2.57 2.57 0 0 1 3.26-2.44.28.28 0 0 0 .24-.04.3.3 0 0 0 .12-.2 1.43 1.43 0 0 1 1.46-1.3c.37 0 .73.14 1 .39a.3.3 0 0 0 .25.07.27.27 0 0 0 .2-.15 2.6 2.6 0 0 1 2.32-1.43 2.55 2.55 0 0 1 2.58 2.32.27.27 0 0 0 .12.2.28.28 0 0 0 .23.05l.36-.03a2.57 2.57 0 0 1 2.6 2.56 2.57 2.57 0 0 1-2.6 2.52v.01ZM32.9 21.16l-.83 1.2a.28.28 0 0 0-.02.31l.08.08c.05.04.1.05.16.05a.28.28 0 0 0 .24-.12l.84-1.2a.29.29 0 0 0-.47-.32ZM36.02 21.08a.28.28 0 0 0-.32 0 .28.28 0 0 0-.07.07l-.85 1.2a.29.29 0 0 0 .07.4.29.29 0 0 0 .4-.07l.81-1.2a.28.28 0 0 0-.04-.4ZM38.45 21.16l-.84 1.2a.28.28 0 0 0-.02.31l.08.08c.05.04.1.05.16.05a.28.28 0 0 0 .24-.12l.85-1.2a.29.29 0 1 0-.46-.32h-.01ZM36.9 23.23l-.84 1.16a.3.3 0 0 0 .07.4c.05.03.1.05.17.05a.27.27 0 0 0 .23-.12l.85-1.2a.3.3 0 0 0-.08-.4.29.29 0 0 0-.4.1ZM9.7 35.38a4.68 4.68 0 0 0-1.52-1.1 1.85 1.85 0 0 0-2.4.72c-.33.76.1 1.64 1.1 2.14.98.42 2.05.6 3.12.52.56 0 1.19 0 1.89-.05a.29.29 0 0 0 .26-.21.27.27 0 0 0-.12-.31 12.64 12.64 0 0 1-2.33-1.71Zm-2.6 1.3c-.59-.3-1.06-.88-.82-1.4a1.11 1.11 0 0 1 1.05-.57c.2 0 .41.05.6.12.52.22.99.55 1.38.96.5.48 1.04.92 1.61 1.32-1.76.03-2.95-.02-3.82-.45v.01ZM29.63 34.28c-.6.25-1.13.63-1.57 1.1-.7.66-1.47 1.25-2.3 1.74a.28.28 0 0 0-.13.32.29.29 0 0 0 .27.21c.71 0 1.32.05 1.88.05 1.07.07 2.14-.1 3.13-.52.98-.5 1.43-1.38 1.08-2.15a1.86 1.86 0 0 0-2.36-.75Zm1.05 2.38c-.87.43-2.07.48-3.83.43.58-.4 1.12-.83 1.62-1.31.39-.41.85-.74 1.37-.96a1.28 1.28 0 0 1 1.66.44c.22.52-.26 1.1-.85 1.4h.03ZM31.19 30.03c-.51.4-.92.93-1.2 1.52-.18.35-.4.68-.63.99a.3.3 0 0 0 0 .34.28.28 0 0 0 .23.13h.1c.23-.08.56-.16.92-.24a7.56 7.56 0 0 0 2.07-.72 1.3 1.3 0 0 0 .58-.85 1.14 1.14 0 0 0-.22-.9 1.37 1.37 0 0 0-1.85-.27Zm1.16 1.55c-.6.3-1.24.5-1.9.62l-.2.05.24-.42c.23-.5.58-.96 1-1.32a.83.83 0 0 1 .81-.07c.1.05.2.12.27.2a.63.63 0 0 1 0 .74.71.71 0 0 1-.22.2ZM8.08 33h.09a.29.29 0 0 0 .24-.13.3.3 0 0 0 0-.34c-.25-.31-.46-.64-.64-1a4.19 4.19 0 0 0-1.19-1.51 1.37 1.37 0 0 0-1.84.27 1.17 1.17 0 0 0-.02 1.39c.1.15.23.27.38.37.65.34 1.35.58 2.08.71.33.08.66.16.9.24Zm-3.01-1.91a.6.6 0 0 1 .11-.47.75.75 0 0 1 .6-.28c.17 0 .34.05.47.15.43.36.77.8 1 1.31l.25.42-.21-.05a7.27 7.27 0 0 1-1.9-.62.75.75 0 0 1-.32-.46ZM15.03 22.73c-.1.6-.16 1.24-.2 1.89l1.42.1c.05-.67.11-1.32.21-1.96l-1.43-.03ZM11.97 22.66c-.1.6-.16 1.24-.2 1.9l1.52.1c.04-.66.11-1.31.22-1.96l-1.54-.04ZM16.81 21.17h-1.43c-.1.43-.2.86-.28 1.32h1.43c.08-.43.17-.88.28-1.32ZM13.38 28.44c-.06-.51-.1-1.04-.11-1.58l-1.51-.06c0 .53.06 1.04.1 1.55l1.52.1ZM17.21 19.76h-1.43c-.13.37-.24.76-.35 1.15h1.43c.12-.38.22-.77.35-1.15ZM11.76 24.8c0 .38-.04.78-.04 1.2v.56l1.53.07V24.89l-1.5-.1ZM13.84 21.08H12.3c-.1.42-.2.87-.28 1.32h1.53l.29-1.32ZM14.93 28.66c.05.43.12.84.19 1.25l1.47.07c-.08-.4-.14-.81-.2-1.24l-1.46-.08ZM15.11 17.78h-1.53c-.11.2-.23.41-.33.63h1.53l.33-.63ZM18.03 17.84H16.6l-.32.64h1.43c.11-.2.2-.43.32-.64ZM16.37 28.5a18.9 18.9 0 0 1-.1-1.57l-1.48-.06c0 .53.06 1.04.1 1.55l1.48.09ZM14.67 18.65h-1.53l-.34.83h1.55c.1-.3.21-.54.32-.83ZM15.55 17.05h-1.53l-.3.49h1.53l.3-.49ZM14.81 24.86c0 .39-.04.79-.04 1.2v.58l1.43.05v-1.73l-1.39-.1ZM14.26 19.7h-1.55c-.13.36-.24.75-.35 1.14h1.54c.11-.37.22-.77.36-1.15ZM13.49 34.02c.13.25.27.49.41.71h1.47a6.05 6.05 0 0 1-.39-.71h-1.5ZM14.07 34.96c.14.2.28.39.43.56l1.39-.04-.37-.52h-1.45ZM14.7 35.76c.14.15.29.3.45.42h1.34a5.86 5.86 0 0 1-.4-.43h-1.4ZM20.04 15.36h-1.37a5.3 5.3 0 0 0-.34.26h1.34l.37-.26ZM20.34 15.12c.14-.08.29-.16.44-.22h-1.1c-.21.05-.42.13-.62.23l1.28-.01Z"},{tag:"path",fill:"currentColor",d:"M14.53 26.08c0-5.4 1.92-9.94 4.48-11.15.06 0 .12-.07.18-.1-.2.01-.42.04-.62.1-2.86.71-5.08 5.43-5.08 11.14 0 5.71 2.14 10.27 4.96 11.04.2.05.41.1.62.1a1.87 1.87 0 0 1-.2-.1c-2.5-1.31-4.34-5.76-4.34-11.03Z"},{tag:"path",fill:"currentColor",d:"M15.86 36.7h1.28l-.4-.31h-1.3c.13.1.27.2.42.28v.02ZM18.94 16.43h-1.43l-.35.45h1.43l.35-.45ZM14.07 31.8l-1.53-.09c.1.31.21.62.33.92l1.53.06c-.12-.3-.23-.6-.33-.92v.03ZM12.12 30.08c.1.5.22.97.35 1.43l1.54.1c-.14-.46-.26-.94-.36-1.44l-1.53-.09ZM18.46 17.11h-1.43c-.1.16-.21.32-.3.5h1.43l.3-.5ZM11.88 28.6c.05.42.12.84.2 1.24l1.53.07c-.08-.4-.14-.8-.2-1.22l-1.53-.1ZM12.96 32.9c.13.3.26.6.4.88h1.5l-.37-.85-1.53-.03ZM19.43 15.88h-1.35c-.13.1-.24.22-.35.34h1.43c.07-.14.17-.24.27-.34ZM17.61 18.72h-1.43c-.11.26-.23.54-.33.82h1.43c.12-.3.2-.57.33-.82Z"},{tag:"path",fill:"currentColor",d:"M11.47 26c0-5.32 1.92-9.8 4.52-11.1-3.2 0-5.78 5-5.78 11.08 0 6.09 2.6 11.1 5.8 11.1h.09c-2.65-1.2-4.63-5.7-4.63-11.09ZM16.35 36.94c.16.06.32.1.49.14h.94l-.29-.14h-1.14ZM17.03 35.03c.13.2.27.38.42.56l1.33-.03a9.67 9.67 0 0 1-.35-.53h-1.4ZM17.86 14.9h-1.23c-.15.04-.3.1-.44.16h1.35l.32-.16Z"},{tag:"path",fill:"currentColor",d:"M17.18 15.3h-1.43c-.13.08-.25.18-.38.28h1.43l.38-.28ZM17.63 35.82l.43.43h1.3a7.97 7.97 0 0 1-.38-.44l-1.35.01ZM16.45 34.04c.13.27.27.52.43.75h1.43a6.6 6.6 0 0 1-.38-.71l-1.48-.04ZM28.62 25.98c0-5.78-2.32-10.53-5.28-11.03-3.09 0-5.51 4.86-5.51 11.07 0 5.91 2.25 10.6 5.2 11.02 3.11-.19 5.59-5.06 5.59-11.06Zm-4.95 7.44c-1.79 0-3.23-3.43-3.23-7.67s1.43-7.67 3.23-7.67 3.22 3.43 3.22 7.67-1.44 7.67-3.22 7.67Z"},{tag:"path",fill:"currentColor",d:"M23.38 18.58c-.86 0-1.61 1.01-2.14 2.62l.08-.15c.99 0 1.78 2.52 1.78 5.11 0 2.6-.76 4.6-1.71 4.69.49 1.34 1.19 2.18 1.96 2.18 1.52 0 2.74-3.24 2.74-7.22 0-4-1.2-7.23-2.7-7.23Z"},{tag:"path",fill:"currentColor",d:"m19.95 36.74-.34-.28h-1.26c.14.11.29.21.45.3l1.15-.02ZM15.97 32.96c.11.29.23.57.36.84l1.43.07c-.13-.27-.25-.55-.36-.84l-1.43-.07ZM15.16 30.14c.1.5.2.97.34 1.43l1.48.1c-.14-.46-.25-.95-.35-1.43l-1.47-.1ZM16.56 15.81h-1.43l-.36.35h1.52c.08-.12.17-.24.27-.35ZM16.05 16.36h-1.49l-.38.47h1.53l.34-.47ZM17.03 31.9l-1.43-.1c.1.32.2.63.31.92l1.47.07c-.11-.3-.21-.6-.3-.92l-.05.03Z"}]},noise_decibel:{viewBox:"0 0 48 48",items:[{tag:"path",fill:"currentColor",d:"M12.43 24.56c0 5.86 2.25 10.72 5.18 11.55h.45c-2.6-1.35-4.53-6-4.53-11.53 0-5.53 2-10.4 4.7-11.68h-.5c-2.98.77-5.3 5.7-5.3 11.66Z"},{tag:"path",fill:"currentColor",d:"M12.18 16.58h1.61v.02l.35-.69h-1.6c-.13.22-.25.44-.35.68ZM14.97 35.74l1.26-.05a6.8 6.8 0 0 1-.38-.3l-1.38.03c.17.12.33.23.5.32ZM28.3 24.5c0-6.06-2.44-11.02-5.54-11.55v.02c-3.24 0-5.78 5.09-5.78 11.59s2.34 11.06 5.42 11.53c3.28-.2 5.9-5.3 5.9-11.59Zm-5.2 7.77c-1.87 0-3.38-3.6-3.38-8.02 0-4.43 1.51-8.02 3.38-8.02 1.86 0 3.38 3.59 3.38 8.02s-1.51 8.02-3.38 8.02ZM13.91 27.05l1.55.1c-.06-.55-.1-1.1-.12-1.67l-1.55-.07c.03.56.06 1.1.12 1.64ZM19.64 13.14c.15-.1.31-.16.47-.24h-1.17c-.22.06-.44.14-.64.25l1.35-.02ZM13.57 14.4c-.13.16-.28.33-.4.5h1.6l.37-.47h-1.57v-.03ZM12.67 15.66h1.62c.1-.18.2-.35.32-.52H13c-.12.17-.23.34-.33.52h-.01ZM18 35.8l1.21-.04-.37-.31-1.33.03c.15.12.32.23.48.32ZM11.71 17.7l1.63-.03.34-.84h-1.62l-.35.87ZM16.87 14.26h1.5l.3-.33-1.43-.03-.36.36ZM17.87 13.38c-.13.09-.25.18-.36.28l1.41.03c.13-.11.26-.22.39-.31l-1.43.01ZM11.37 30.27l1.62.1a17.8 17.8 0 0 1-.37-1.51L11 28.78c.1.52.23 1.01.36 1.49ZM14.17 35.17l1.43-.03-.43-.46-1.47.04.48.45ZM10.63 23l1.6.11c.05-.7.12-1.38.23-2.05l-1.61-.04c-.1.64-.17 1.3-.22 1.99ZM10.71 26.98l1.61.1c-.05-.55-.1-1.1-.11-1.66l-1.61-.07c.02.56.05 1.1.11 1.63ZM10.95 28.54l1.61.07c-.08-.42-.15-.84-.2-1.29l-1.6-.1c.04.45.12.89.2 1.31ZM11.45 30.52c.1.33.21.65.33.96l1.61.07c-.12-.31-.23-.63-.33-.96v.03l-1.61-.1ZM12.87 19.15c.11-.42.24-.84.37-1.23l-1.63.02c-.14.39-.25.8-.37 1.21h1.63ZM13.5 34.48l1.46-.03-.38-.55h-1.54c.15.2.3.4.46.58ZM12.25 32.55l1.63.12c-.13-.28-.27-.57-.38-.87l-1.62-.08c.12.28.24.56.38.83h-.01ZM11.2 19.37c-.12.45-.22.92-.3 1.4l1.6.05c.09-.49.19-.96.3-1.43h-1.6v-.02ZM12.87 33.64h1.54a9.5 9.5 0 0 1-.4-.72l-1.63-.12c.15.3.32.58.5.84h-.01ZM15.44 35.96c.16.06.32.1.49.14h1l-.36-.18-1.13.04ZM18.43 36.03l.25.08h1.07a2.02 2.02 0 0 1-.22-.12l-1.1.04ZM10.57 24.5l.02.6 1.6.08v-.62c0-.4 0-.8.02-1.2l-1.6-.11c-.02.41-.04.84-.04 1.26ZM14.45 19.22h1.53c.1-.43.23-.84.36-1.24l-1.53.02c-.13.39-.25.8-.36 1.2v.02ZM15.39 32.62l1.56.13c-.13-.29-.26-.58-.38-.89l-1.54-.07c.11.29.23.56.36.83ZM14.61 30.58l.32.96 1.55.08c-.11-.31-.23-.63-.32-.97v.03l-1.55-.1ZM14.1 20.84l1.53.05c.08-.5.18-.97.3-1.44H14.4c-.11.45-.21.92-.3 1.4ZM13.78 24.58l.01.6 1.55.06-.02-.61c0-.41 0-.81.03-1.21l-1.53-.11c-.03.41-.04.83-.04 1.26ZM14.14 28.6l1.55.08c-.08-.42-.14-.85-.2-1.3l-1.55-.08c.05.44.12.88.2 1.31ZM13.83 23.08l1.54.1c.04-.7.1-1.39.21-2.05l-1.53-.04c-.1.64-.17 1.3-.22 1.99ZM14.54 30.33l1.55.1c-.14-.48-.25-1-.36-1.51l-1.54-.08c.1.51.21 1.02.36 1.5h-.01Z"},{tag:"path",fill:"currentColor",d:"M16.73 24.56c0-5.94 2.12-10.72 5-11.66h-.79c-2.96.53-5.38 5.68-5.38 11.73 0 5.7 2.05 10.46 4.75 11.48h1.24c-2.78-1.14-4.82-5.8-4.82-11.55ZM13.76 14.18h1.6l.31-.32-1.53-.03c-.12.11-.26.23-.38.36ZM16.58 34.55l1.41-.04c-.13-.17-.25-.36-.38-.55h-1.48l.44.59h.01Z"},{tag:"path",fill:"currentColor",d:"M15.83 15.74h1.5c.1-.18.2-.36.32-.52h-1.5l-.32.52ZM14.9 17.77l1.53-.02c.1-.3.22-.58.34-.86h-1.52l-.35.88ZM17.23 35.24l1.37-.03c-.14-.14-.27-.3-.4-.47l-1.43.04c.15.16.31.32.47.46h-.01ZM16.3 14.97h1.5l.35-.47h-1.48c-.13.15-.25.3-.36.47ZM14.84 13.3c-.14.08-.29.18-.42.3l1.51.02c.13-.11.26-.2.4-.3l-1.49.01v-.03ZM15.98 33.72h1.48l-.4-.72-1.56-.13c.15.3.31.58.48.85ZM22.8 16.75c-.9 0-1.7 1.07-2.22 2.75l.1-.16c1.03 0 1.86 2.64 1.86 5.35 0 2.7-.8 4.8-1.8 4.9.52 1.4 1.25 2.28 2.06 2.28 1.59 0 2.88-3.38 2.88-7.56s-1.3-7.56-2.88-7.56Z"},{tag:"path",fill:"currentColor",d:"M10.33 24.5c0-5.55 2.01-10.23 4.73-11.6C11.71 12.93 9 18.11 9 24.5c0 6.4 2.72 11.6 6.08 11.6h.1c-2.79-1.25-4.86-5.97-4.86-11.6ZM15.36 16.65h1.5v.01c.1-.23.22-.46.34-.69h-1.5c-.13.22-.24.45-.34.68ZM16.69 13.06c.1-.06.22-.1.33-.16h-1.31c-.16.05-.3.1-.46.18l1.44-.02Z"},{tag:"path",fill:"currentColor",d:"M41.6 25.24c-.04 0-.08 0-.11-.03a.3.3 0 0 1-.17-.38 14.05 14.05 0 0 0-.4-11.7.3.3 0 0 1 .14-.4.3.3 0 0 1 .4.14 14.65 14.65 0 0 1 .41 12.18.3.3 0 0 1-.27.19Zm-4.79-1.9c-.03 0-.07 0-.1-.03a.3.3 0 0 1-.17-.38 9.16 9.16 0 0 0-.26-7.58.3.3 0 0 1 .54-.27 9.7 9.7 0 0 1 .27 8.07.3.3 0 0 1-.28.19Zm2.31.84c.04.02.08.02.12.02a.3.3 0 0 0 .27-.18 12.08 12.08 0 0 0-.33-9.96.3.3 0 0 0-.4-.13.3.3 0 0 0-.14.4 11.33 11.33 0 0 1 .32 9.47.3.3 0 0 0 .16.38Z"},{tag:"path",fill:"var(--bw-color-text-inverted)",d:"M33.87 11.3v16.23l-6.3-3.89h-7.13v-8.36h7.12l6.3-3.98Z"},{tag:"path",fill:"currentColor",d:"M33.87 27.83a.3.3 0 0 1-.16-.05l-6.23-3.84h-7.04a.3.3 0 0 1-.3-.3v-8.36c0-.17.14-.3.3-.3h7.04l6.23-3.93a.3.3 0 0 1 .3-.01c.1.05.16.15.16.26v16.23a.3.3 0 0 1-.15.26.34.34 0 0 1-.14.04h-.01Zm-13.14-4.49h6.82a.3.3 0 0 1 .16.05l5.85 3.6V11.84l-5.85 3.69a.3.3 0 0 1-.16.04h-6.8v7.77h-.02Z"}]},flag_dk:{viewBox:"0 0 640 480",items:[{tag:"path",fill:"#c8102e",d:"M0 0h640.1v480H0z"},{tag:"path",fill:"#fff",d:"M205.7 0h68.6v480h-68.6z"},{tag:"path",fill:"#fff",d:"M0 205.7h640.1v68.6H0z"}]},flag_se:{viewBox:"0 0 640 480",items:[{tag:"path",fill:"#005293",d:"M0 0h640v480H0z"},{tag:"path",fill:"#fecb00",d:"M176 0v192H0v96h176v192h96V288h368v-96H272V0h-96z"}]},flag_no:{viewBox:"0 0 640 480",items:[{tag:"path",fill:"#ed2939",d:"M0 0h640v480H0z"},{tag:"path",fill:"#fff",d:"M180 0h120v480H180z"},{tag:"path",fill:"#fff",d:"M0 180h640v120H0z"},{tag:"path",fill:"#002664",d:"M210 0h60v480h-60z"},{tag:"path",fill:"#002664",d:"M0 210h640v60H0z"}]},spinner_third:{viewBox:"0 0 512 512",items:[{tag:"path",fill:"currentColor",d:"m456.43 371.72-27.79-16.05a15.96 15.96 0 0 1-6.48-20.63c25.82-54.33 23.56-118.6-6.77-171.03-30.27-52.53-84.8-86.62-144.76-91.43A15.96 15.96 0 0 1 256 56.65V24.56c0-9.31 7.92-16.6 17.2-15.96C355 14.32 429.62 60.5 470.82 132c41.3 71.4 43.99 159.1 8.04 232.8a16.03 16.03 0 0 1-22.43 6.92z"}]},shipping_fast:{viewBox:"0 0 12 12",items:[{tag:"path",fill:"currentColor",d:"M11.7 8.3h-.3V6.271a.9.9 0 0 0-.264-.635L9.263 3.764a.9.9 0 0 0-.636-.265H7.8v-.9a.9.9 0 0 0-.9-.9H2.1a.9.9 0 0 0-.9.9v.9H.15a.15.15 0 0 0-.15.15v.3c0 .083.068.15.15.15h5.1a.15.15 0 0 1 .15.15v.3a.15.15 0 0 1-.15.15H.75a.15.15 0 0 0-.15.15v.3c0 .083.068.15.15.15h3.9a.15.15 0 0 1 .15.15v.3a.15.15 0 0 1-.15.15H.15a.15.15 0 0 0-.15.15v.3c0 .083.068.15.15.15h3.9a.15.15 0 0 1 .15.15v.3a.15.15 0 0 1-.15.15H1.2v2.4a1.8 1.8 0 0 0 3.6 0h2.4a1.8 1.8 0 0 0 3.6 0h.9a.3.3 0 0 0 .3-.3v-.6a.3.3 0 0 0-.3-.3ZM3 10.4a.9.9 0 1 1 0-1.801.9.9 0 0 1 0 1.8Zm6 0a.9.9 0 1 1 0-1.801.9.9 0 0 1 0 1.8Zm1.5-3.9H7.8V4.4h.827L10.5 6.271V6.5Z"}]},box:{viewBox:"0 0 12 12",items:[{tag:"path",fill:"currentColor",d:"m10.753 5.16-.949-2.846a.897.897 0 0 0-.853-.615H6.3v3.6h4.475c-.007-.047-.007-.094-.022-.139ZM5.7 1.7H3.048a.898.898 0 0 0-.853.614L1.247 5.16c-.015.045-.015.092-.023.14H5.7V1.7ZM1.2 5.9v4.5a.9.9 0 0 0 .9.9h7.8a.9.9 0 0 0 .9-.9V5.9H1.2Z"}]},home:{viewBox:"0 0 12 12",items:[{tag:"path",fill:"currentColor",d:"M11.33 7.241c.354 0 .667-.328.667-.752.02-.211-.063-.399-.23-.563l-1.1-1.09V2c0-.415-.297-.75-.666-.75h-.667c-.369 0-.667.335-.667.75v.86L6.448.664A.643.643 0 0 0 6.011.5c-.146 0-.313.023-.458.188L.208 5.926A.812.812 0 0 0 0 6.49c0 .422.292.752.667.752h.666v1.634c-.002.021-.002.042-.002.066v2.622c0 .518.373.938.834.938h.333c.025 0 .05-.002.075-.005.031.003.063.005.094.005h1.167c.46 0 .833-.42.833-.938V9.501c0-.415.298-.75.667-.75h1.333c.369 0 .667.335.667.75V11.563c0 .518.373.938.833.938h1.178c.029 0 .058 0 .087-.002.023.002.046.002.069.002h.333c.46 0 .834-.42.834-.938v-.38c.006-.06.01-.123.01-.19l-.015-3.754h.667v.002Z"}]},building:{viewBox:"0 0 12 12",items:[{tag:"path",fill:"currentColor",d:"M2.625.5C2.004.5 1.5 1.004 1.5 1.625v9.75c0 .621.504 1.125 1.125 1.125h2.25v-1.875a1.125 1.125 0 0 1 2.25 0V12.5h2.25c.621 0 1.125-.504 1.125-1.125v-9.75C10.5 1.004 9.996.5 9.375.5h-6.75ZM3 6.125c0-.206.169-.375.375-.375h.75c.206 0 .375.169.375.375v.75a.376.376 0 0 1-.375.375h-.75A.376.376 0 0 1 3 6.875v-.75Zm2.625-.375h.75c.206 0 .375.169.375.375v.75a.376.376 0 0 1-.375.375h-.75a.376.376 0 0 1-.375-.375v-.75c0-.206.169-.375.375-.375Zm1.875.375c0-.206.169-.375.375-.375h.75c.206 0 .375.169.375.375v.75a.376.376 0 0 1-.375.375h-.75a.376.376 0 0 1-.375-.375v-.75ZM3.375 2.75h.75c.206 0 .375.169.375.375v.75a.376.376 0 0 1-.375.375h-.75A.376.376 0 0 1 3 3.875v-.75c0-.206.169-.375.375-.375Zm1.875.375c0-.206.169-.375.375-.375h.75c.206 0 .375.169.375.375v.75a.376.376 0 0 1-.375.375h-.75a.376.376 0 0 1-.375-.375v-.75Zm2.625-.375h.75c.206 0 .375.169.375.375v.75a.376.376 0 0 1-.375.375h-.75a.376.376 0 0 1-.375-.375v-.75c0-.206.169-.375.375-.375Z"}]},check:{viewBox:"0 0 512 512",items:[{tag:"path",fill:"currentColor",d:"M471 105c12 13 12 33 0 46L215 407a32 32 0 0 1-46 0L41 279a32 32 0 0 1 46-46l105 106 233-234c13-12 33-12 46 0z"}]},times:{viewBox:"0 0 30 30",items:[{tag:"path",fill:"currentColor",d:"M24.56 7.565a1.493 1.493 0 0 0 0-2.118 1.499 1.499 0 0 0-2.119 0l-7.435 7.435L7.565 5.44a1.493 1.493 0 0 0-2.118 0 1.499 1.499 0 0 0 0 2.119l7.435 7.435-7.442 7.441a1.493 1.493 0 0 0 0 2.118 1.5 1.5 0 0 0 2.119 0l7.435-7.435 7.441 7.442a1.493 1.493 0 0 0 2.118 0 1.5 1.5 0 0 0 0-2.119l-7.435-7.435 7.442-7.441Z"}]}},o=(0,a.defineComponent)({name:"Icon",props:{icon:{type:String,required:!0}},data(){return{id:"Icon-"+this.icon.toLowerCase()}},mounted(){this.setup();const e=window.Icons.includes(this.id);e||this.setupIcon()},methods:{setup(){if(window.Icons)return;window.Icons=[];const e=document.createElement("svg");e.style.display="none",e.style.visibility="hidden",e.innerHTML='',document.body.appendChild(e)},setupIcon(){window.Icons.push(this.id);const e=r[this.icon];if(!e)return;const t=document.createElementNS("http://www.w3.org/2000/svg","svg");t.setAttribute("viewBox",e.viewBox),t.setAttribute("id",this.id),t.setAttribute("width","1em"),t.setAttribute("height","1em"),e.items.forEach((e=>{const i=document.createElementNS("http://www.w3.org/2000/svg",e.tag);Object.entries(e).forEach((([e,t])=>i.setAttribute(e,t))),t.appendChild(i)}));const i=document.getElementById("Icons");i&&i.appendChild(t)}}}),l=o,c=i(81656),u=(0,c.A)(l,n,s,!1,null,null,null),d=u.exports},83031:function(e,t,i){"use strict";i.d(t,{A:function(){return C}});i(62953);var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("transition-group",{class:["ManualSearch",...e.modifierClasses],attrs:{name:"ManualSearch",tag:"div"}},[e.label?t("div",{key:"selectLabel",class:["ManualSearch__label",e.smallLabel?"bw-text-body-sm":"bw-text-body-base"],domProps:{textContent:e._s(e.label)}}):e._e(),t("VehicleSpecificationSelect",{key:"manufacturers",attrs:{"options-name":"manufacturers","label-placeholder":e.$t("vehicle.brand"),"label-all":e.$t("vehicle.all_brands"),disabled:e.disabled||e.status===e.Progress.WORKING},on:{change:e.onFilterChange}}),t("VehicleSpecificationSelect",{key:"models",attrs:{"options-name":"models","label-placeholder":e.$t("vehicle.model"),"label-all":e.$t("vehicle.all_models"),disabled:e.disabled||e.status===e.Progress.WORKING},on:{change:e.onFilterChange}}),e.vehicleContainer.hasSearchOptions("engines")?t("VehicleSpecificationSelect",{key:"engines",attrs:{"options-name":"engines","label-placeholder":e.$t("vehicle.motor"),disabled:e.disabled||e.status===e.Progress.WORKING},on:{change:e.onFilterChange}}):e._e(),e.vehicleContainer.hasSearchOptions("production_years")?t("VehicleSpecificationSelect",{key:"production_years",attrs:{"options-name":"production_years","label-placeholder":e.$t("vehicle.year"),disabled:e.disabled||e.status===e.Progress.WORKING},on:{change:e.onFilterChange}}):e._e(),e.vehicleContainer.hasSearchOptions("variants")?t("VehicleSpecificationSelect",{key:"variants",attrs:{"options-name":"variants","label-placeholder":e.$t("vehicle.variant"),disabled:e.disabled||e.status===e.Progress.WORKING},on:{change:e.onFilterChange}}):e._e(),e.vehicleContainer.isLastSearchOption?t("BwButton",{key:"submit",staticClass:"ManualSearch__button",attrs:{working:e.status===e.Progress.WORKING,disabled:e.disabled||e.status===e.Progress.WORKING},on:{click:function(t){e.$emit("submit.clicked"),e.onSubmit()}}},[e._v(" "+e._s(e.buttonText)+" ")]):e._e()],1)},s=[],a=i(62893),r=i(50326),o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("BwSelect",{attrs:{disabled:!e.vehicleContainer.hasSearchOptions(e.optionsName)||e.disabled,"data-category":e.optionsName,active:e.isSelected,"label-inset":"",label:e.labelPlaceholder},on:{change:e.onChange},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}},[e.vehicleContainer.searchOptions(e.optionsName,"is_favorite").length>0?t("optgroup",{attrs:{label:e.labelMostPopular}},e._l(e.vehicleContainer.searchOptions(e.optionsName,"is_favorite"),(function(i,n){return t("option",{key:n,attrs:{"data-vid":i.vehicle_id,"data-n":i.n},domProps:{value:i.vehicle_id||i.n,selected:i.is_selected}},[e._v(" "+e._s(e.decodeHTMLEntities(i.name))+" ")])})),0):e._e(),t("optgroup",{attrs:{label:e.labelAll}},e._l(e.vehicleContainer.searchOptions(e.optionsName),(function(i,n){return t("option",{key:n,attrs:{"data-vid":i.vehicle_id,"data-n":i.n},domProps:{value:i.vehicle_id||i.n,selected:i.is_selected}},[e._v(" "+e._s(e.decodeHTMLEntities(i.name))+" ")])})),0)])},l=[],c=i(33566),u=i(68344),d=(0,a.defineComponent)({name:"VehicleSpecificationSelect",components:{BwSelect:c.G3},inject:{vehicleContainer:{default(){console.warn("VehicleContainer must be provided before",this.$vnode.componentOptions.tag,"works!")}}},props:{optionsName:{type:String,default:""},labelPlaceholder:{type:String,default:""},labelMostPopular:{type:String,default:function(){return this.$t("carsearch.most_popular")}},labelAll:{type:String,default:function(){return this.$t("vehicle.all")}},disabled:{type:Boolean,default:!1}},data(){return{selected:void 0}},computed:{isSelected(){return!!this.vehicleContainer.selectedSearchOption(this.optionsName)||(this.selected=void 0,!1)}},created(){this.decodeHTMLEntities=u.Lt},mounted(){const e=this.vehicleContainer.selectedSearchOption(this.optionsName);this.selected=(null===e||void 0===e?void 0:e.vehicle_id)||(null===e||void 0===e?void 0:e.n)||void 0},methods:{onChange(e){this.$emit("change",e)}}}),p=d,h=i(81656),m=(0,h.A)(p,o,l,!1,null,null,null),f=m.exports,_=i(95927),v=i(21190),g=(0,a.defineComponent)({name:"ManualSearch",components:{VehicleSpecificationSelect:f,BwButton:_.wQ},inject:{vehicleContainer:{default(){console.warn("VehicleContainer must be provided before",this.$vnode.componentOptions.tag,"works!")}}},props:{buttonText:{type:String,default:function(){return this.$t("action.search")}},stack:{type:Boolean,default:!1},setup:{type:Boolean,default:!1},label:{type:String,default:function(){return this.$t("carsearch.search.vehicle_from_brand_and_model")}},smallLabel:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},enums:{Progress:r.A},data(){return{status:""}},computed:{modifierClasses(){return[this.stack&&"ManualSearch--stack"]}},created(){this.settings=v.A},mounted(){this.setup&&this.vehicleContainer.setupManualSearch(this.settings.legacy.nodeBil)},methods:{onFilterChange(e){this.vehicleContainer.updateSearchOptions(e)},onSubmit(){this.status=r.A.WORKING,this.vehicleContainer.submitManualSearch().then((e=>{this.status=r.A.COMPLETE,this.$emit("submit",e)})).catch()}}}),S=g,E=(0,h.A)(S,n,s,!1,null,"69709e88",null),C=E.exports},63274:function(e,t,i){"use strict";i.d(t,{A:function(){return C}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("ResizeObserver",{on:{resize:function(t){t.width<600?e.widthSmall=!0:e.widthSmall=!1}},scopedSlots:e._u([{key:"default",fn:function({width:i}){return[t("div",{class:["VehicleSearch",e.modifierClasses,i<800&&"VehicleSearch--stack"]},[t("div",{staticClass:"VehicleSearch__licensePlateSearch"},[t("BwLicensePlateSearch",{attrs:{label:e.plateSearchLabel,"small-label":e.smallLabels,value:e.plate},on:{input:e.updatePlate,complete:e.onComplete}}),"toggleManualRedirect"===e.variant?t("a",{staticClass:"VehicleSearch__manualToggle",attrs:{href:e.settings.legacy.urlCar,title:e.$t("carsearch.brand_and_model")}},[e._v(" "+e._s(e.$t("carsearch.brand_and_model"))+" "),t("i",{staticClass:"VehicleSearch__manualToggleIcon fas fa-chevron-right"})]):e._e(),"toggleManual"===e.variant||"collapseManualOnMobile"===e.variant&&i<600?t("div",{staticClass:"VehicleSearch__manualToggle",class:[e.manualVisible&&"VehicleSearch__manualToggle--visible"],attrs:{title:e.$t("carsearch.brand_and_model")},on:{click:function(t){e.manualVisible=!e.manualVisible}}},[e._v(" "+e._s(e.$t("carsearch.brand_and_model"))+" "),t("i",{staticClass:"VehicleSearch__manualToggleIcon VehicleSearch__manualToggleIcon--down fas fa-chevron-down"})]):e._e(),e.showManual&&e.showSeparatorIcon&&i>800?t("div",{staticClass:"VehicleSearch__separatorIcon"},[t("SeparatorIcon",{attrs:{text:e.$t("or"),absolute:""}})],1):e._e()],1),t("transition",{attrs:{name:"Transition__popIn"}},[e.showManualOptions?t("ManualSearch",{staticClass:"VehicleSearch__manualSearch",attrs:{stack:i<600,"small-label":e.smallLabels},on:{submit:e.onComplete}}):e._e()],1)],1)]}}])})},s=[],a=i(62893),r=i(21190),o=i(48608),l=i(47932),c=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:["SeparatorIcon",e.modifierClasses]},[t("div",{staticClass:"SeparatorIcon__text bw-text-special-lg",domProps:{textContent:e._s(e.text)}}),t("svg",{staticClass:"SeparatorIcon__icon",attrs:{viewBox:"0 0 27 28",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M0.64206 9.91916C0.175053 10.214 0.0354745 10.8316 0.330302 11.2986C0.62513 11.7656 1.24272 11.9052 1.70972 11.6103L0.64206 9.91916ZM20.5743 26.052L19.6583 26.4532C19.8769 26.9522 20.4547 27.1845 20.9578 26.9756C21.461 26.7666 21.7043 26.1934 21.5051 25.6863L20.5743 26.052ZM26.1962 2.18877C26.7249 2.02893 27.0238 1.47081 26.864 0.942156C26.7042 0.413506 26.1461 0.114519 25.6174 0.274352L26.1962 2.18877ZM1.17589 10.7647C1.70972 11.6103 1.70894 11.6108 1.7082 11.6113C1.708 11.6114 1.70729 11.6119 1.70689 11.6121C1.7061 11.6126 1.70544 11.613 1.70493 11.6133C1.70391 11.614 1.70347 11.6142 1.7036 11.6142C1.70386 11.614 1.7064 11.6125 1.71119 11.6096C1.72076 11.604 1.73928 11.5934 1.76641 11.5787C1.82073 11.5492 1.90924 11.5038 2.02945 11.4501C2.27021 11.3427 2.6354 11.2036 3.10549 11.094C4.04132 10.8758 5.39854 10.7724 7.03916 11.2758C10.3086 12.2789 14.9891 15.7922 19.6583 26.4532L21.4903 25.6508C16.7126 14.7421 11.6938 10.6118 7.62579 9.36372C5.59769 8.74148 3.87661 8.86057 2.65133 9.14627C2.04087 9.28861 1.55479 9.47185 1.21444 9.62372C1.04408 9.69974 0.909573 9.7682 0.813506 9.82026C0.765447 9.8463 0.726927 9.86829 0.698268 9.88512C0.683936 9.89354 0.67206 9.90068 0.662681 9.90639C0.657992 9.90925 0.653925 9.91175 0.650487 9.91389C0.648768 9.91495 0.647205 9.91593 0.645801 9.91681C0.645099 9.91725 0.644162 9.91784 0.643812 9.91806C0.642917 9.91862 0.64206 9.91916 1.17589 10.7647ZM21.5051 25.6863C19.1347 19.6535 18.3741 14.3054 19.18 10.2164C19.9732 6.19149 22.2747 3.3744 26.1962 2.18877L25.6174 0.274352C20.9108 1.69736 18.1378 5.1612 17.2177 9.82969C16.3102 14.4341 17.1974 20.192 19.6436 26.4177L21.5051 25.6863Z",fill:e.iconColor}})])])},u=[],d=(0,a.defineComponent)({name:"SeparatorIcon",props:{text:{type:String,default:""},absolute:{type:Boolean,default:!1},iconColor:{type:String,default:"#DCDCDC"}},computed:{modifierClasses(){return[this.absolute&&"SeparatorIcon--absolute"]}}}),p=d,h=i(81656),m=(0,h.A)(p,c,u,!1,null,"5f041ea6",null),f=m.exports,_=i(83031),v=i(50675),g=(0,a.defineComponent)({name:"VehicleSearch",components:{BwLicensePlateSearch:l.V,ManualSearch:_.A,SeparatorIcon:f,ResizeObserver:v.A},inject:{vehicleContainer:{default(){console.warn("VehicleContainer must be provided before",this.$vnode.componentOptions.tag,"works!")}}},props:{smallLabels:{type:Boolean,default:!1},plateSearchLabel:{type:String,default:function(){return this.$t("carsearch.tiresearch.search.licenseplate")}},manualSearchLabel:{type:String,default:function(){return this.$t("carsearch.search.vehicle_from_brand_and_model")}},showManual:{type:Boolean,default:!1},showSeparatorIcon:{type:Boolean,default:!1},startNode:{type:String,default:r.A.legacy.nodeBil},destination:{type:String,default:void 0},group:{type:String,default:void 0},groupSlug:{type:String,default:"group"},redirect:{type:Boolean,default:!1},variant:{type:String,default:"default",validator:e=>["default","toggleManual","toggleManualRedirect","collapseManualOnMobile"].includes(e)},season:{type:String,default:null}},enums:{settings:r.A},data(){return{plate:"",manualVisible:!1,widthSmall:!1}},computed:{modifierClasses(){return[this.showManual&&"VehicleSearch--extended"]},showManualOptions(){return this.widthSmall?["collapseManualOnMobile","toggleManual"].includes(this.variant)?this.manualVisible:this.showManual:this.showManual||this.manualVisible}},mounted(){this.vehicleContainer.setupManualSearch(this.startNode),this.plate=this.vehicleContainer.searchedLicensePlate||""},methods:{onComplete(){const e={...this.vehicleContainer.vehicle};let t=e.url;if(this.destination&&(t=this.destination,t+=t.endsWith("/")?"":"/",t+=`t${e.vehicle_id}`),this.group&&(t=e.base_url,t+=t.endsWith("/")?"":"/",t+=`${this.groupSlug}/`,t+=`t${e.vehicle_id}/`,t+=`g${this.group}`),this.season){const e={summer:1,winter:2,allyear:"0"};t+="?sa="+e[this.season]}e.url=t,this.$emit("submit",e),this.redirect&&((0,o.m)(e.vehicle_id,e.country_code,e.registration_plate),window.location.href=e.url)},updatePlate(e){this.plate=e}}}),S=g,E=(0,h.A)(S,n,s,!1,null,"4b9b12cc",null),C=E.exports},29244:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return d}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return e.group?t("transition-group",{attrs:{tag:e.tag,name:"grow"}},[e._t("default")],2):t("transition",{attrs:{mode:e.transitionMode,name:"grow"}},[e._t("default")],2)},s=[],a=i(62893),r=i(71169),o=(0,a.defineComponent)({name:"GrowTransition",props:{tag:{type:String,default:""},group:{type:Boolean,default:!1},mode:{type:String,default:r.l.IN_OUT,validator:e=>Object.values(r.l).includes(e)}},computed:{transitionMode(){return{[r.l.IN_OUT]:"in-out",[r.l.OUT_IN]:"out-in"}[this.mode]}}}),l=o,c=i(81656),u=(0,c.A)(l,n,s,!1,null,null,null),d=u.exports},3213:function(e,t,i){"use strict";i.d(t,{Fc:function(){return m},NY:function(){return c.N},nD:function(){return l.nD}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t(e.componentTag,{tag:"component",class:["Alert",e.modifierClasses],attrs:{to:e.to,href:e.href},on:e._d({},[e.mouseenterEventType,function(t){e.paused=!0},e.mouseleaveEventType,function(t){e.paused=!1}])},[!e.iconDisabled&&e.alertLevel.icon?t("i",{class:["Alert__icon",e.faIconClass||e.alertLevel.icon]}):e._e(),t("div",{staticClass:"Alert__content"},[e.title?t("div",{staticClass:"Alert__title"},[e._v(e._s(e.title))]):e._e(),e.hasDefaultSlot()?[e._t("default")]:e._e()],2),e.hasControlsSlot()?t("div",{staticClass:"Alert__controls"},[e._t("controls")],2):e._e(),e.closeable&&!e.clickable?t("CloseButton",{staticClass:"Alert__closeButton",attrs:{size:e.CloseButtonSize.SMALL,type:e.CloseButtonType.CURRENT_COLOR},on:{click:function(t){return e.$emit("close")}}}):e._e(),e.duration?t("BwProgressBar",{staticClass:"Alert__progress",attrs:{duration:e.duration,"duration-paused":e.paused,"duration-reversed":"","color-scheme":e.progressBarColor},on:{"duration-end":function(t){return e.$emit("close")}}}):e._e()],1)},s=[],a=(i(62953),i(62893)),r=i(97768),o=i(18918),l=i(23116),c=i(76900),u=(0,a.defineComponent)({name:"Alert",components:{CloseButton:r.Jn,BwProgressBar:()=>Promise.resolve().then(i.bind(i,83768))},props:{level:{type:String,default:c.N.TRACE},title:{type:String,default:""},iconDisabled:{type:Boolean,default:!1},faIconClass:{type:String,default:""},closeable:{type:Boolean,default:!1},inline:{type:Boolean,default:!1},horizontalAlignment:{type:String,default:c.u.LEFT,validator:e=>Object.values(c.u).includes(e)},size:{type:String,default:l.nD.MEDIUM,validator:e=>Object.values(l.nD).includes(e)},href:{type:String,default:void 0},to:{type:[String,Object],default:void 0},tag:{type:String,default:"div"},clickable:{type:Boolean,default:!1},fullWidth:{type:Boolean,default:!1},duration:{type:Number,default:void 0},controlsInlineDisabled:{type:Boolean,default:!1},controlsLeftAligned:{type:Boolean,default:!1}},enums:{CloseButtonSize:r.yb,CloseButtonType:r.tP},data(){return{paused:!1}},computed:{modifierClasses(){return[this.inline&&"Alert--inline",this.clickable&&"Alert--clickable",this.fullWidth&&"Alert--fullWidth",this.controlsInlineDisabled&&"Alert--controlsInlineDisabled",this.controlsLeftAligned&&"Alert--controlsLeftAligned",this.iconDisabled&&"Alert--iconDisabled",this.alertLevel.class,this.horizontalAlignmentClass,this.sizeClass]},alertLevel(){return{INFO:{class:"Alert--info",icon:"fas fa-info-circle"},SUCCESS:{class:"Alert--success",icon:"fas fa-check-circle"},WARNING:{class:"Alert--warning",icon:"fas fa-exclamation-triangle"},ERROR:{class:"Alert--error",icon:"fas fa-times-circle"},TRACE:{class:"Alert--trace",icon:"fas fa-exclamation-triangle"},PROMO:{class:"Alert--promo",icon:"fas fa-bullhorn"}}[this.level]||{class:"",icon:""}},progressBarColor(){return{[c.N.ERROR]:o.f3.DANGER,[c.N.WARNING]:o.f3.WARNING,[c.N.INFO]:o.f3.DEFAULT,[c.N.SUCCESS]:o.f3.SUCCESS}[this.level]||o.f3.DARK},horizontalAlignmentClass(){return{[c.u.LEFT]:"",[c.u.CENTER]:"Alert--center",[c.u.RIGHT]:"Alert--right"}[this.horizontalAlignment]},sizeClass(){return{[l.nD.SMALL]:"Alert--small",[l.nD.MEDIUM]:"Alert--medium",[l.nD.LARGE]:"Alert--large"}[this.size]},componentTag(){return this.to?"router-link":this.href?"a":this.tag},mouseenterEventType(){return this.duration?"mouseenter":""},mouseleaveEventType(){return this.duration?"mouseleave":""}},methods:{hasDefaultSlot(){return!!this.$scopedSlots.default},hasControlsSlot(){return!!this.$scopedSlots.controls}}}),d=u,p=i(81656),h=(0,p.A)(d,n,s,!1,null,null,null),m=h.exports},76900:function(e,t,i){"use strict";i.d(t,{N:function(){return n},u:function(){return s}});const n=Object.freeze({INFO:"INFO",SUCCESS:"SUCCESS",WARNING:"WARNING",ERROR:"ERROR",TRACE:"TRACE",PROMO:"PROMO"}),s=Object.freeze({LEFT:"LEFT",CENTER:"CENTER",RIGHT:"RIGHT"})},98065:function(e,t,i){"use strict";i.d(t,{F:function(){return p},H:function(){return r}});i(62953);var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t(e.componentTag,{tag:"component",class:["BrandLogo",...e.modifierClasses],on:{click:function(t){e.tag===e.BrandLogoTag.BUTTON&&e.openModal()}}},[e.brand.logo?t("MediaImage",{staticClass:"BrandLogo__image",attrs:{media:e.brand.logo,alt:e.brand.name||e.brand.title,title:e.brand.name||e.brand.title,width:160,height:60,"maintain-aspect-ratio":""}}):e.brand.name?t("span",{staticClass:"bw-text-body-lg bw-bold"},[e._v(" "+e._s(e.brand.name)+" ")]):e._e()],1)},s=[],a=i(62893);const r=Object.freeze({BUTTON:"BUTTON",A:"A",DIV:"DIV"});var o=i(36910),l=(0,a.defineComponent)({name:"BrandLogo",components:{MediaImage:o.Q},props:{brand:{type:[Object,String],required:!0},tag:{type:String,default:r.BUTTON,validator:e=>Object.values(r).includes(e)},hideRecommendations:{type:Boolean,default:!1}},enums:{BrandLogoTag:r},computed:{componentTag(){return{[r.A]:"a",[r.BUTTON]:"button",[r.DIV]:"div"}[this.tag]},modifierClasses(){return[this.clickableClass]},clickableClass(){return(this.tag===r.A||this.tag===r.BUTTON)&&"BrandLogo--clickable"}},methods:{openModal(){this.$actions.run("promptBrandModal",this.brand.slug,this.hideRecommendations)}}}),c=l,u=i(81656),d=(0,u.A)(c,n,s,!1,null,null,null),p=d.exports},46972:function(e,t,i){"use strict";i.d(t,{n:function(){return h},z:function(){return r}});i(62953);var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("label",{class:["BwCheckbox",...e.modifierClasses],attrs:{for:e.checkboxId,tabindex:e.disabled?-1:e.tabindex},on:{keydown:[function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.onClick.apply(null,arguments)},function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:e.onClick.apply(null,arguments)}],click:e.onClick}},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.inputValue,expression:"inputValue"}],ref:"checkbox",staticClass:"BwCheckbox__input",attrs:{id:e.checkboxId,type:"checkbox",name:e.name||e.checkboxId,disabled:e.disabled,required:e.required,tabindex:"-1"},domProps:{checked:Array.isArray(e.inputValue)?e._i(e.inputValue,null)>-1:e.inputValue},on:{change:function(t){var i=e.inputValue,n=t.target,s=!!n.checked;if(Array.isArray(i)){var a=null,r=e._i(i,a);n.checked?r<0&&(e.inputValue=i.concat([a])):r>-1&&(e.inputValue=i.slice(0,r).concat(i.slice(r+1)))}else e.inputValue=s}}}),t("div",{staticClass:"BwCheckbox__checkbox"},[t("div",{staticClass:"BwCheckbox__checkboxInner"},[t("span",{staticClass:"BwCheckbox__marker"},[t("GrowTransition",{attrs:{mode:e.TransitionMode.OUT_IN}},[e.indeterminate?t("i",{key:"indeterminate-marker",staticClass:"fas fa-minus"}):e.cross?t("i",{key:"cross-marker",staticClass:"fal fa-times fa-fw"}):t("i",{key:"check-marker",staticClass:"far fa-check fa-fw"})])],1)])]),t("div",{staticClass:"BwCheckbox__content"},[e.label||e.required||e.hasDefaultSlot()?t("span",{staticClass:"BwCheckbox__labelText"},[e._t("default",(function(){return[e._v(" "+e._s(e.label)+" ")]}))],2):e._e(),t("CollapseTransition",[e.errorVisible&&!e.isValid?t("div",[t("p",{staticClass:"BwCheckbox__message bw-hint bw-hint--padded bw-hint--danger bw-hint--small",attrs:{role:"alert"}},[e._t("error")],2)]):e._e()])],1)])},s=[],a=i(62893);const r=Object.freeze({SMALL:"SMALL",MEDIUM:"MEDIUM",LARGE:"LARGE"});var o=i(28185),l=i(53059),c=(0,a.defineComponent)({name:"BwCheckbox",components:{GrowTransition:o.P,CollapseTransition:l.Z},inject:{validator:{default(){}}},props:{id:{type:String,default:""},groupId:{type:[String,Number],default:null},name:{type:String,default:""},label:{type:String,default:""},value:{type:Boolean,default:!1},size:{type:String,default:r.MEDIUM,validator:e=>Object.values(r).includes(e)},required:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},tabindex:{type:[String,Number],default:0},mirrored:{type:Boolean,default:!1},fullWidth:{type:Boolean,default:!1},colorless:{type:Boolean,default:!1},cross:{type:Boolean,default:!1}},enums:{TransitionMode:o.l},data(){return{localValue:this.value,errorVisible:!1}},computed:{modifierClasses(){return[this.sizeClass,this.required&&"BwCheckbox--required",this.disabled&&"BwCheckbox--disabled",this.localValue&&"BwCheckbox--checked",this.indeterminate&&"BwCheckbox--indeterminate",this.errorVisible&&!this.isValid&&"BwCheckbox--error",this.mirrored&&"BwCheckbox--mirrored",this.fullWidth&&"BwCheckbox--fullWidth",this.colorless&&"BwCheckbox--colorless",this.cross&&"BwCheckbox--cross"]},sizeClass(){return{[r.SMALL]:"BwCheckbox--small",[r.MEDIUM]:"",[r.LARGE]:"BwCheckbox--large"}[this.size]},isValid(){return this.required&&this.inputValue||!this.required},inputValue:{get(){return this.localValue},set(e){this.localValue=e,this.validator&&this.validator.updateItem(this.checkboxId,e),this.$emit("input",e),this.$emit("change",e)}}},watch:{value(e,t){e!==t&&(this.localValue=e)}},created(){this.checkboxId=this.id||`BwCheckbox-${this._uid}`,this.required&&this.validator&&this.validator.addItem(this.checkboxId,this.isValid,this.showError,{hideError:this.hideError,groupId:this.groupId})},beforeDestroy(){this.validator&&this.validator.removeItem(this.checkboxId)},methods:{onClick(e){e.preventDefault(),this.$el===document.activeElement&&(this.inputValue=!this.inputValue,this.$emit("click",e))},showError(){this.errorVisible=!0},hideError(){this.errorVisible=!1},hasDefaultSlot(){return!!this.$scopedSlots.default}}}),u=c,d=i(81656),p=(0,d.A)(u,n,s,!1,null,null,null),h=p.exports},56940:function(e,t,i){"use strict";i.d(t,{w1:function(){return d},t3:function(){return v},N$:function(){return r.N$},W8:function(){return r.W8},Sb:function(){return r.Sb},pb:function(){return r.pb}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t(e.tag,{tag:"component",class:["BwChip",e.modifierClasses]},[e.iconClass&&e.iconBefore||e.hasBeforeSlot()?e._t("before",(function(){return[t("i",{class:e.iconClass})]})):e._e(),t("span",{staticClass:"BwChip__content"},[e._t("default",(function(){return[e._v(" "+e._s(e.value)+" ")]}))],2),e.iconClass&&!e.iconBefore||e.hasAfterSlot()?e._t("after",(function(){return[t("i",{class:e.iconClass})]})):e._e()],2)},s=[],a=i(62893),r=i(509),o=(0,a.defineComponent)({name:"BwChip",inject:{chipGroupSize:{default:void 0},chipGroupResponsiveSize:{default:!1}},props:{tag:{type:String,default:"div"},value:{type:[String,Number],default:""},type:{type:String,default:r.pb.DEFAULT,validator:e=>Object.values(r.pb).includes(e)},size:{type:String,default:r.Sb.MEDIUM,validator:e=>Object.values(r.Sb).includes(e)},shape:{type:String,default:r.W8.PILL,validator:e=>Object.values(r.W8).includes(e)},iconBefore:{type:Boolean,default:!1},iconClass:{type:String,default:""},capitalized:{type:Boolean,default:!1},clickable:{type:Boolean,default:!1},borderEnabled:{type:Boolean,default:!1},responsiveSize:{type:Boolean,default:!1}},computed:{modifierClasses(){return[this.typeClass,this.sizeClass,this.shapeClass,this.capitalized&&"BwChip--capitalized",this.clickable&&"BwChip--clickable",this.borderEnabled&&"BwChip--borderEnabled",(this.chipGroupResponsiveSize||this.responsiveSize)&&"BwChip--responsiveSize"]},typeClass(){return{[r.pb.DEFAULT]:"",[r.pb.INFO]:"BwChip--info",[r.pb.SUCCESS]:"BwChip--success",[r.pb.WARNING]:"BwChip--warning",[r.pb.DANGER]:"BwChip--danger"}[this.type]},sizeClass(){return{[r.Sb.EXTRA_SMALL]:"BwChip--extraSmall",[r.Sb.SMALL]:"BwChip--small",[r.Sb.MEDIUM]:"",[r.Sb.LARGE]:"BwChip--large"}[this.chipGroupSize||this.size]},shapeClass(){return{[r.W8.PILL]:"",[r.W8.SQUARE]:"BwChip--square"}[this.shape]}},methods:{hasBeforeSlot(){return this.$scopedSlots.before},hasAfterSlot(){return this.$scopedSlots.after}}}),l=o,c=i(81656),u=(0,c.A)(l,n,s,!1,null,null,null),d=u.exports,p=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:["BwChipGroup",e.modifierClasses]},[e._t("default")],2)},h=[],m=(0,a.defineComponent)({name:"BwChipGroup",provide(){return{chipGroupSize:(0,a.computed)((()=>this.size)),chipGroupResponsiveSize:(0,a.computed)((()=>this.responsiveSize))}},props:{stacked:{type:Boolean,default:!1},alignment:{type:String,default:r.N$.LEFT,validator:e=>Object.values(r.N$).includes(e)},size:{type:String,default:void 0},responsiveSize:{type:Boolean,default:!1}},computed:{modifierClasses(){return[this.stacked&&"BwChipGroup--stacked",this.alignmentClass]},alignmentClass(){return{[r.N$.LEFT]:"",[r.N$.CENTER]:"BwChipGroup--center",[r.N$.RIGHT]:"BwChipGroup--right"}[this.alignment]}}}),f=m,_=(0,c.A)(f,p,h,!1,null,null,null),v=_.exports},509:function(e,t,i){"use strict";i.d(t,{N$:function(){return a},Sb:function(){return s},W8:function(){return r},pb:function(){return n}});const n=Object.freeze({DEFAULT:"DEFAULT",INFO:"INFO",SUCCESS:"SUCCESS",WARNING:"WARNING",DANGER:"DANGER"}),s=Object.freeze({EXTRA_SMALL:"EXTRA_SMALL",SMALL:"SMALL",MEDIUM:"MEDIUM",LARGE:"LARGE"}),a=Object.freeze({LEFT:"LEFT",CENTER:"CENTER",RIGHT:"RIGHT"}),r=Object.freeze({PILL:"PILL",SQUARE:"SQUARE"})},64520:function(e,t,i){"use strict";i.d(t,{aG:function(){return d},fm:function(){return r.f},q2:function(){return r.q}});i(62953);var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t(e.tag,{tag:"component",class:["BwCountIcon",...e.modifierClasses],style:e.widthStyle,attrs:{disabled:e.disabled}},[e._v(" "+e._s(e.countFormatted)+" ")])},s=[],a=i(62893),r=i(6881),o=(0,a.defineComponent)({name:"BwCountIcon",props:{tag:{type:String,default:"div"},count:{type:Number,default:0},disabled:{type:Boolean,default:!1},maxCount:{type:Number,default:9},size:{type:String,default:r.q.MEDIUM,validator:e=>Object.values(r.q).includes(e)},colorScheme:{type:String,default:r.f.DEFAULT,validator:e=>Object.values(r.f).includes(e)},outlineEnabled:{type:Boolean,default:!1},animationDisabled:{type:Boolean,default:!1}},data(){return{debounce:null,animating:!1}},computed:{modifierClasses(){return[this.animating&&"BwCountIcon--animation",this.disabled&&"BwCountIcon--disabled",this.outlineEnabled&&"BwCountIcon--outlineEnabled",this.sizeClass,this.colorSchemeClass]},sizeClass(){return{[r.q.SMALL]:"BwCountIcon--small",[r.q.MEDIUM]:""}[this.size]},colorSchemeClass(){return{[r.f.DEFAULT]:"",[r.f.SUCCESS]:"BwCountIcon--success",[r.f.WARNING]:"BwCountIcon--warning",[r.f.DANGER]:"BwCountIcon--danger"}[this.colorScheme]},widthStyle(){const e=String(this.count).length,t=String(this.maxCount).length;if(1!==e&&1!==t)return`--count-icon-max-width: ${t+1.5}ch`},countFormatted(){return this.count>this.maxCount?`${this.maxCount}+`:this.count}},watch:{count(e,t){this.animationDisabled||e!==t&&this.pulseAnimation()}},beforeDestroy(){clearTimeout(this.animating)},methods:{pulseAnimation(){this.animating=!0,clearTimeout(this.debounce),this.debounce=setTimeout((()=>{this.animating=!1}),200)}}}),l=o,c=i(81656),u=(0,c.A)(l,n,s,!1,null,null,null),d=u.exports},6881:function(e,t,i){"use strict";i.d(t,{f:function(){return s},q:function(){return n}});const n=Object.freeze({SMALL:"SMALL",MEDIUM:"MEDIUM"}),s=Object.freeze({DEFAULT:"DEFAULT",SUCCESS:"SUCCESS",WARNING:"WARNING",DANGER:"DANGER"})},8192:function(e,t,i){"use strict";i.d(t,{C:function(){return n["default"]},j:function(){return s.C}});var n=i(18132),s=i(31749)},31749:function(e,t,i){"use strict";i.d(t,{C:function(){return n}});const n=Object.freeze({EXTRA_SMALL:"EXTRASMALL",SMALL:"SMALL",MEDIUM:"MEDIUM",LARGE:"LARGE"})},47932:function(e,t,i){"use strict";i.d(t,{V:function(){return m}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"BwLicensePlateSearch"},[t("SmartInput",{attrs:{id:e.id,placeholder:e.placeholder,label:e.label,"label-size":e.smallLabel?"sm":"md",status:e.status,disabled:e.disabled||e.status===e.Progress.WORKING,dense:e.dense},on:{submit:e.requestLicensePlate},model:{value:e.model,callback:function(t){e.model=t},expression:"model"}},[t("CountryPicker",{attrs:{"set-country":e.vehicleContainer.currentCountry},on:{selected:e.handleCountryPick}})],1),e.hideErrorsInternal?e._e():t("transition",{attrs:{name:"Transition__popIn"}},[e.errorMessage?t("div",{staticClass:"BwLicensePlateSearch__error"},[t("div",{staticClass:"bw-text-body-sm"},[e._v(" "+e._s(e.errorMessage)+" ")])]):e._e()])],1)},s=[],a=(i(25440),i(79978),i(42762),i(64979),i(62893)),r=i(50326),o=i(55754),l=i(40363);const c=3e3;var u=(0,a.defineComponent)({name:"BwLicensePlateSearch",components:{SmartInput:o.A,CountryPicker:l.A},inject:{vehicleContainer:{default(){console.warn("VehicleContainer must be provided before",this.$vnode.componentOptions.tag,"works!")}}},props:{id:{type:String,default:function(){return"LicensePlateSearch-"+btoa(Math.random().toString()).slice(4,9)}},value:{type:String,default:""},label:{type:String,default:void 0},smallLabel:{type:Boolean,default:!1},placeholder:{type:String,default:function(){return this.$t("vehicle.license_plate--example")}},disabled:{type:Boolean,default:!1},hideErrorsInternal:{type:Boolean,default:!1},dense:{type:Boolean,default:!1}},enums:{Progress:r.A},data(){return{errorMessage:void 0,status:""}},computed:{model:{get(){return this.value.toUpperCase()},set(e){this.errorMessage=void 0,this.$emit("input",e.toUpperCase())}}},watch:{$route(){this.onRoute()}},mounted(){this.onRoute()},methods:{onRoute(){if(this.$route.query.lookup&&this.$route.query.lookup.length>0){const e=this.$route.query.lookup.replaceAll(" ","");this.requestLicensePlate(e)}},requestLicensePlate(e=void 0){this.errorMessage=void 0,this.status=r.A.WORKING;const t=(e||this.model).trim(),i=/^[\d\w ]{2,17}$/.test(t);if(!i)return void this.setError(this.$t("carsearch.error_text.invalid_licenseplate"));const n=t.replaceAll(" ","");this.vehicleContainer.fetchVehicleByLicensePlate(n).then((e=>{if(e.vehicle_id)return this.$emit("complete",e),void setTimeout((()=>this.status=""),c);this.setError(this.$t("carsearch.error_text.missing_information",{licenseplate:t}))})).catch((e=>{var i;400===(null===e||void 0===e||null===(i=e.error)||void 0===i?void 0:i.status)?this.setError(this.$t("carsearch.error_text.cant_find_car_license_plate",{licenseplate:t})):this.setError(this.$t("carsearch.error_text.unexpected_error"))}))},handleCountryPick(e){this.vehicleContainer.setCountry(e)},setError(e){this.errorMessage=e,this.status=r.A.ERROR,this.$emit("error",this.errorMessage),setTimeout((()=>this.status=""),c)}}}),d=u,p=i(81656),h=(0,p.A)(d,n,s,!1,null,"96665a74",null),m=h.exports},18918:function(e,t,i){"use strict";i.d(t,{Q8:function(){return s.Q},f3:function(){return s.f},wA:function(){return n["default"]}});var n=i(83768),s=i(92059)},92059:function(e,t,i){"use strict";i.d(t,{Q:function(){return s},f:function(){return n}});const n=Object.freeze({DEFAULT:"DEFAULT",LIGHT:"LIGHT",DARK:"DARK",SUCCESS:"SUCCESS",WARNING:"WARNING",DANGER:"DANGER"}),s=Object.freeze({SMALL:"SMALL",MEDIUM:"MEDIUM",LARGE:"LARGE"})},33566:function(e,t,i){"use strict";i.d(t,{AJ:function(){return s.A},G3:function(){return n.A}});var n=i(65289),s=i(13235)},13235:function(e,t,i){"use strict";i.d(t,{A:function(){return n},y:function(){return s}});const n=Object.freeze({EXTRA_EXTRA_SMALL:"EXTRA_EXTRA_SMALL",EXTRA_SMALL:"EXTRA_SMALL",SMALL:"SMALL",MEDIUM:"MEDIUM",LARGE:"LARGE"}),s=Object.freeze({ROUNDED:"ROUNDED",ROUNDED_LEFT:"ROUNDED_LEFT",ROUNDED_RIGHT:"ROUNDED_RIGHT",RECTANGLE:"RECTANGLE"})},23116:function(e,t,i){"use strict";i.d(t,{nH:function(){return h},Bt:function(){return l},rY:function(){return o},nD:function(){return r}});i(62953);var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t(e.tag,{tag:"component",class:["BwSheet",...e.modifierClasses],on:{click:function(t){return e.$emit("click")}}},[e._t("default")],2)},s=[],a=i(62893);const r=Object.freeze({SMALL:"SMALL",MEDIUM:"MEDIUM",LARGE:"LARGE"}),o=Object.freeze({NONE:"NONE",SMALL:"SMALL",MEDIUM:"MEDIUM",LARGE:"LARGE"}),l=Object.freeze({NONE:"NONE",DEFAULT:"DEFAULT",PRIMARY:"PRIMARY",SECONDARY:"SECONDARY",SUCCESS:"SUCCESS",WARNING:"WARNING",DANGER:"DANGER",INFO:"INFO"});var c=(0,a.defineComponent)({name:"BwSheet",props:{tag:{type:String,default:"div"},borderEnabled:{type:Boolean,default:!1},squared:{type:Boolean,default:!1},size:{type:String,default:r.MEDIUM,validator:e=>Object.values(r).includes(e)},elevation:{type:String,default:o.NONE,validator:e=>Object.values(o).includes(e)},colorScheme:{type:String,default:l.DEFAULT,validator:e=>Object.values(l).includes(e)},paddingDisabled:{type:Boolean,default:!1}},computed:{modifierClasses(){return[this.borderEnabled&&"BwSheet--borderEnabled",this.squared&&"BwSheet--squared",this.paddingDisabled&&"BwSheet--paddingDisabled",this.sizeClass,this.elevationClass,this.colorClass]},sizeClass(){return{[r.SMALL]:"BwSheet--small",[r.MEDIUM]:"BwSheet--medium",[r.LARGE]:"BwSheet--large"}[this.size]},elevationClass(){return{[o.NONE]:"",[o.SMALL]:"bw-elevation-sm",[o.MEDIUM]:"bw-elevation-md",[o.LARGE]:"bw-elevation-lg"}[this.elevation]},colorClass(){return{[l.DEFAULT]:"",[l.NONE]:"BwSheet--none",[l.PRIMARY]:"BwSheet--primary",[l.SECONDARY]:"BwSheet--secondary",[l.SUCCESS]:"BwSheet--success",[l.WARNING]:"BwSheet--warning",[l.DANGER]:"BwSheet--danger",[l.INFO]:"BwSheet--info"}[this.colorScheme]}}}),u=c,d=i(81656),p=(0,d.A)(u,n,s,!1,null,null,null),h=p.exports},24946:function(e,t,i){"use strict";i.d(t,{eR:function(){return A},tZ:function(){return x},xv:function(){return O}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return e.hasSlides?t("div",{class:["BwSwiper",e.overflowGradient&&"BwSwiper--overflowGradient",e.hideNavigation&&"BwSwiper--hideNavigation",e.hoverNavigation&&"BwSwiper--hoverNavigation",e.scrollbar&&"BwSwiper--scrollbar",e.thumbnails&&"BwSwiper--thumbnails",e.full&&"BwSwiper--full"],style:e.style},[t("div",{staticClass:"BwSwiper__content"},[t("div",{ref:"swiper",staticClass:"BwSwiper__swiper swiper"},[t("div",{staticClass:"BwSwiper__swiperWrapper swiper-wrapper"},[e._t("default")],2),t("div",{staticClass:"BwSwiper__options"},[e._t("options"),e.zoom?t("div",{staticClass:"BwSwiper__zoom"},[t("button",{ref:"zoomin",staticClass:"BwSwiper__zoomButton BwSwiper__zoomIn",on:{click:e.zoomIn}},[t("i",{staticClass:"far fa-search-plus"})]),t("button",{ref:"zoomout",staticClass:"BwSwiper__zoomButton BwSwiper__zoomOut",attrs:{disabled:""},on:{click:e.zoomOut}},[t("i",{staticClass:"far fa-search-minus"})])]):e._e()],2)]),e.disableNavigation?e._e():t("div",{staticClass:"BwSwiperNavigation"},[t("button",{ref:"navigationprev",staticClass:"BwSwiperNavigationButton BwSwiperNavigationButton--previous BwSwiperNavigationDisabled"},[t("div",{staticClass:"BwSwiperNavigationButton__innerButton"},[t("BwSwiperArrowIcon")],1)]),t("button",{ref:"navigationnext",staticClass:"BwSwiperNavigationButton BwSwiperNavigationButton--next BwSwiperNavigationDisabled"},[t("div",{staticClass:"BwSwiperNavigationButton__innerButton"},[t("BwSwiperArrowIcon",{attrs:{right:""}})],1)])])]),e.thumbnails&&e.hasThumbnails?t("div",{staticClass:"BwSwiper__thumbnails"},[e.hasThumbnails?t("div",{ref:"swiperthumbnails",staticClass:"swiper BwSwiper__thumbnailsSwiper"},[t("div",{staticClass:"BwSwiper__swiperWrapper swiper-wrapper"},[e._t("thumbnails")],2),t("div",{ref:"thumbnailsscrollbar",staticClass:"BwSwiper__scrollbar swiper-scrollbar"})]):e._e()]):e._e(),e.scrollbar&&!e.thumbnails?t("div",{ref:"scrollbar",staticClass:"BwSwiper__scrollbar swiper-scrollbar"}):e._e(),e.pagination?t("div",{ref:"pagination",staticClass:"BwSwiper__pagination swiper-pagination"}):e._e()]):e._e()},s=[],a=i(62893),r=i(13324),o=i(18839);const l={GREY:"GREY",WHITE:"WHITE"};var c=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("svg",{class:["BwSwiperArrowIcon",e.right&&"BwSwiperArrowIcon--right"],attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"}},[t("path",{attrs:{fill:"currentColor",d:"m229.9 473.9 19.8-19.8a12 12 0 0 0 0-17L94.6 282H436a12 12 0 0 0 12-12v-28a12 12 0 0 0-12-12H94.6L249.7 74.9a12 12 0 0 0 0-17l-19.8-19.8a12 12 0 0 0-17 0L3.5 247.5a12 12 0 0 0 0 17L213 473.9a12 12 0 0 0 17 0z"}})])},u=[],d=(0,a.defineComponent)({name:"BwSwiperArrowIcon",props:{right:{type:Boolean,default:!1}}}),p=d,h=i(81656),m=(0,h.A)(p,c,u,!1,null,"72e9bd6e",null),f=m.exports;function _(){this.slides.forEach((e=>{e.classList.contains("swiper-slide-visible")?e.querySelectorAll("a, button, input").forEach((e=>{e.setAttribute("tabindex",0)})):e.querySelectorAll("a, button, input").forEach((e=>{e.setAttribute("tabindex",-1)}))}))}const v="linear-gradient(90deg, rgba(249, 249, 249, 1) 0%, rgba(249, 249, 249, 0) 100%)",g="linear-gradient(90deg, rgba(249, 249, 249, 0) 0%, rgba(249, 249, 249, 1) 100%)",S="linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%)",E="linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%)";var C=(0,a.defineComponent)({name:"BwSwiper",components:{BwSwiperArrowIcon:f},props:{slidesPerView:{type:Number,default:1},slidesPerGroup:{type:Number,default:1},speed:{type:Number,default:300},spaceBetween:{type:Number,default:0},loop:{type:Boolean,default:!1},lazy:{type:Boolean,default:!1},autoplay:{type:Boolean,default:!1},autoplayDelay:{type:Number,default:5e3},pagination:{type:Boolean,default:!1},disableNavigation:{type:Boolean,default:!1},hideNavigation:{type:Boolean,default:!1},hoverNavigation:{type:Boolean,default:!1},keyboard:{type:Boolean,default:!1},scrollbar:{type:Boolean,default:!1},overflowGradient:{type:Boolean,default:!1},overflowGradientColor:{type:String,default:l.WHITE,validator:e=>Object.keys(l).includes(e)},breakpoints:{type:Object,default:()=>({})},thumbnails:{type:Boolean,default:!1},full:{type:Boolean,default:!1},zoom:{type:Boolean,default:!1},initialSlide:{type:Number,default:0}},data(){return{swiper:null,swiperThumbnails:null}},computed:{style(){return this.overflowGradient&&this.overflowGradientColor===l.GREY?{"--overflowColorLeft":v,"--overflowColorRight":g}:this.overflowGradient&&this.overflowGradientColor===l.WHITE?{"--overflowColorLeft":S,"--overflowColorRight":E}:void 0},hasThumbnails(){return this.thumbnails&&(this.$slots.thumbnails||this.$scopedSlots.thumbnails)},hasSlides(){return this.$slots.default||this.$scopedSlots.default}},mounted(){this.thumbnails&&this.hasThumbnails&&this.setupSwiperThumbnails(),this.hasSlides&&this.setupSwiper()},methods:{setupSwiperThumbnails(){this.swiperThumbnails=new r.A(this.$refs.swiperthumbnails,{modules:[o.Ze],spaceBetween:6,slidesPerView:5,slidesPerGroup:1,lazy:this.lazy,lazyPreloadPrevNext:5,grabCursor:!0,scrollbar:{enabled:!0,el:this.$refs.thumbnailsscrollbar,draggable:!0,hide:!1,dragClass:"BwSwiper__scrollbarDrag",lockClass:"BwSwiper__scrollbarLock"},watchSlidesProgress:!0,touchEventsTarget:"container",breakpointsBase:"container",centerInsufficientSlides:!0,breakpoints:{0:{slidesPerView:3,lazyPreloadPrevNext:3},350:{slidesPerView:4,lazyPreloadPrevNext:4},450:{slidesPerView:5,lazyPreloadPrevNext:5},650:{slidesPerView:6,lazyPreloadPrevNext:6},1200:{slidesPerView:8,lazyPreloadPrevNext:8}}})},setupSwiper(){this.swiper=new r.A(this.$refs.swiper,{modules:[o.Vx,o.dK,o.Jq,o.Ij,o.Ze,o.WO,o.GP,o.s3],spaceBetween:this.spaceBetween,slidesPerView:this.slidesPerView,slidesPerGroup:this.slidesPerGroup,loop:this.loop,lazy:this.lazy,lazyPreloadPrevNext:1,initialSlide:this.initialSlide,autoplay:{enabled:this.autoplay,delay:this.autoplayDelay,pauseOnMouseEnter:!0},grabCursor:!0,speed:this.speed,a11y:{enabled:!0,nextSlideMessage:this.$t("slider.next_slide"),prevSlideMessage:this.$t("slider.prev_slide")},pagination:{enabled:this.pagination,el:this.$refs.pagination,clickable:!0,type:"bullets",bulletClass:"BwSwiper__paginationBullet",bulletActiveClass:"BwSwiper__paginationBulletActive"},navigation:{nextEl:this.$refs.navigationnext,prevEl:this.$refs.navigationprev,disabledClass:"BwSwiperNavigationDisabled",lockClass:"BwSwiperNavigationLocked"},scrollbar:{enabled:this.scrollbar&&!this.thumbnails,el:this.$refs.scrollbar,draggable:!0,hide:!1,dragClass:"BwSwiper__scrollbarDrag",lockClass:"BwSwiper__scrollbarLock"},thumbs:{swiper:this.swiperThumbnails,slideThumbActiveClass:"BwSwiper__thumbnailActive"},keyboard:{enabled:this.keyboard,onlyInViewport:!0},zoom:{enabled:this.zoom,maxRatio:3,minRatio:1},watchSlidesProgress:!0,touchEventsTarget:"container",breakpoints:this.breakpoints,breakpointsBase:"container",on:{init:_,slideChange:_,zoomChange:this.zoomChanged}})},zoomIn(){this.swiper.zoom&&3!==this.swiper.zoom.scale&&this.swiper.zoom.in()},zoomOut(){this.swiper.zoom&&1!==this.swiper.zoom.scale&&this.swiper.zoom.out()},zoomChanged(){this.swiper.zoom&&(1===this.swiper.zoom.scale?(this.$refs.zoomin.disabled=!0,this.$refs.zoomout.disabled=!1):3===this.swiper.zoom.scale&&(this.$refs.zoomin.disabled=!1,this.$refs.zoomout.disabled=!0))}}}),b=C,y=(0,h.A)(b,n,s,!1,null,"021c116c",null),A=y.exports,T=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:["BwSwiperSlide swiper-slide",e.thumbnail&&"BwSwiperSlide--thumbnail"]},[t("div",{staticClass:"BwSwiperSlide__content"},[e._t("default")],2)])},w=[],I=(0,a.defineComponent)({name:"BwSwiperSlide",props:{thumbnail:{type:Boolean,default:!1}}}),R=I,P=(0,h.A)(R,T,w,!1,null,"21dc4bde",null),O=P.exports,L=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:["BwSwiperImage",e.borderRadius&&"BwSwiperImage--borderRadius",[e.zoom&&!e.error?"BwSwiperImage--zoom swiper-zoom-container":""]]},[t("div",{class:["BwSwiperImage__container",[e.zoom&&!e.error?"swiper-zoom-target":""]]},[e.media?t("MediaImage",{staticClass:"BwSwiperImage__media",attrs:{media:e.media,width:e.width,height:e.height,"maintain-aspect-ratio":e.maintainAspectRatio,loading:e.loading},on:{"media-error":function(t){e.error=!0}}}):e._e()],1)])},N=[],B=i(36910),D=(0,a.defineComponent)({name:"BwSwiperImage",components:{MediaImage:B.Q},props:{media:{type:[Object,String],required:!0},width:{type:Number,required:!0},height:{type:Number,required:!0},maintainAspectRatio:{type:Boolean,default:!1},borderRadius:{type:Boolean,default:!1},index:{type:Number,default:0},loading:{type:String,default:B.u.LAZY,validator:e=>Object.values(B.u).includes(e)},zoom:{type:Boolean,default:!1}},enums:{ImageLoading:B.u},data(){return{error:!1}}}),M=D,k=(0,h.A)(M,L,N,!1,null,"0efa901e",null),x=k.exports},81706:function(e,t,i){"use strict";i.d(t,{M6:function(){return d},dm:function(){return v},eZ:function(){return r}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t(e.componentTag,{tag:"component",class:["BwTag",e.modifierClasses],attrs:{href:e.href,to:e.to},on:{click:function(t){return e.$emit("click",t)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.$emit("click",t)}}},[e.image?t("div",{staticClass:"BwTag__image"},[t("img",{attrs:{src:e.image,alt:e.imageAlt,width:100,height:24,loading:"lazy"}})]):e._e(),e.hasDefaultSlot()||e.text?t("span",{staticClass:"BwTag__slot bw-text-body-sm"},[e._t("default",(function(){return[e._v(" "+e._s(e.text)+" ")]}))],2):e._e()])},s=[],a=i(62893);const r=Object.freeze({SMALL:"SMALL",MEDIUM:"MEDIUM",LARGE:"LARGE"});var o=(0,a.defineComponent)({name:"BwTag",inject:{tagGroupSize:{default:void 0},tagGroupResponsiveSize:{default:!1}},props:{image:{type:String,default:""},imageAlt:{type:String,default:""},text:{type:String,default:""},to:{type:[String,Object],default:void 0},href:{type:String,default:void 0},size:{type:String,default:r.MEDIUM,validator:e=>Object.values(r).includes(e)},responsiveSize:{type:Boolean,default:!1},filled:{type:Boolean,default:!1},active:{type:Boolean,default:!1}},computed:{modifierClasses(){return[this.sizeClass,this.active&&"BwTag--active",this.filled&&"BwTag--filled",(this.tagGroupResponsiveSize||this.responsiveSize)&&"BwTag--responsiveSize"]},sizeClass(){return{[r.SMALL]:"BwTag--small",[r.MEDIUM]:"",[r.LARGE]:"BwTag--large"}[this.tagGroupSize||this.size]},componentTag(){return this.to?"router-link":this.href?"a":"button"}},methods:{hasDefaultSlot(){return!!this.$scopedSlots.default}}}),l=o,c=i(81656),u=(0,c.A)(l,n,s,!1,null,null,null),d=u.exports,p=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:["BwTagGroup",e.modifierClasses]},[e.label?t("div",{staticClass:"BwTagGroup__label"},[e._v(e._s(e.label))]):e._e(),t("div",{staticClass:"BwTagGroup__list"},[e._t("default")],2)])},h=[],m=(0,a.defineComponent)({name:"BwTagGroup",provide(){return{tagGroupSize:(0,a.computed)((()=>this.size)),tagGroupResponsiveSize:(0,a.computed)((()=>this.responsiveSize))}},props:{label:{type:String,default:""},grid:{type:Boolean,default:!1},size:{type:String,default:void 0,validator:e=>Object.values(r).includes(e)},responsiveSize:{type:Boolean,default:!1}},computed:{modifierClasses(){return[this.sizeClass,this.grid&&"BwTagGroup--grid",this.responsiveSize&&"BwTagGroup--responsiveSize"]},sizeClass(){return{[r.SMALL]:"BwTagGroup--small",[r.MEDIUM]:"",[r.LARGE]:"BwTagGroup--large"}[this.size]}}}),f=m,_=(0,c.A)(f,p,h,!1,null,null,null),v=_.exports},69082:function(e,t,i){"use strict";i.d(t,{RR:function(){return h},gT:function(){return E},Me:function(){return B},t3:function(){return $},sS:function(){return ee},Z4:function(){return re},i1:function(){return Ee}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t(e.branch.url?"a":"div",{tag:"component",class:["BranchCard",e.branch.url&&"BranchCard--clickable"],attrs:{href:e.branch.url?e.branch.url:null,title:e.branch.url?e.branch.name:null}},[t("div",{staticClass:"BranchCard__content"},[e._t("header"),t("div",{staticClass:"BranchCard__contentInner"},[e._t("logo"),t("div",[t("div",{staticClass:"BranchCard__name"},[e._v(e._s(e.branch.name))]),t("Address",{staticClass:"BranchCard__address",attrs:{data:e.branch.address}}),e.hidetime?e._e():t("OpeningHoursStatus",{attrs:{"opening-hours":e.branch.opening_hours_specification.opening_hours}}),e._t("default")],2)],2)],2),e.branch.image?t("div",[t("MediaImage",{staticClass:"BranchCard__image",attrs:{media:e.branch.image,alt:e.branch.name,width:120,height:120,"maintain-aspect-ratio":"",cover:""}})],1):e._e()])},s=[],a=i(62893),r=i(89103),o=i(36910),l=i(53758),c=(0,a.defineComponent)({name:"BranchCard",components:{Address:r.A,MediaImage:o.Q,OpeningHoursStatus:l.A},props:{branch:{type:Object,required:!0},hidetime:{type:Boolean,default:!1}}}),u=c,d=i(81656),p=(0,d.A)(u,n,s,!1,null,"6822044d",null),h=p.exports,m=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"BranchCardEmpty"},[t("div",{staticClass:"BranchCardEmpty__content"},[t("BwButton",{attrs:{shade:e.ButtonShade.LIGHT,size:e.ButtonSize.LARGE},on:{click:function(t){return e.$emit("click")}}},[e._t("default")],2)],1),t("div",{staticClass:"BranchCardEmpty__image"})])},f=[],_=i(95927),v=(0,a.defineComponent)({name:"BranchCardEmpty",components:{BwButton:_.wQ},enums:{ButtonShade:_.ap,ButtonSize:_.Mp}}),g=v,S=(0,d.A)(g,m,f,!1,null,"a529ad10",null),E=S.exports,C=function(){var e=this,t=e._self._c;e._self._setupProxy;return t(e.branch.url?"a":"div",{tag:"component",class:["BranchCardLarge",e.branch.url&&"BranchCardLarge--clickable"],attrs:{href:e.branch.url?e.branch.url:null,title:e.branch.url?e.branch.name:null}},[e.branch.image?t("MediaImage",{attrs:{media:e.branch.image,alt:e.branch.name,width:278,height:185,"maintain-aspect-ratio":"",cover:""}}):e._e(),t("div",{staticClass:"BranchCardLarge__content"},[t("div",[t("span",{staticClass:"BranchCardLarge__title bw-text-heading-xs"},[e._v(e._s(e.branch.name))]),t("Address",{staticClass:"bw-text-body-xs",attrs:{data:e.branch.address}})],1),e.branch.opening_hours_specification?t("div",{staticClass:"BranchCardLarge__sectionContainer"},[t("span",{staticClass:"bw-text-body-sm bw-bold"},[e._v(e._s(e.$t("opening_hours")))]),t("OpeningHoursWeek",{staticClass:"bw-text-body-xs",attrs:{"opening-hours":e.branch.opening_hours_specification.opening_hours}})],1):e._e()])],1)},b=[],y=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("ul",{staticClass:"OpeningHoursWeek"},e._l(e.openingHoursGroups,(function(i,n){return t("li",{key:n,staticClass:"OpeningHoursWeek__group"},[i.from===i.to?t("span",[e._v(e._s(i.from))]):t("span",[e._v(e._s(i.from)+" - "+e._s(i.to))]),"00:00"===i.opens&&"00:00"===i.closes?t("span",[e._v(" "+e._s(e.$t("opening_hours.status.closed"))+" ")]):t("span",[e._v(e._s(i.opens)+" – "+e._s(i.closes))])])})),0)},A=[];i(44114);const T=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var w=(0,a.defineComponent)({name:"OpeningHoursWeek",props:{openingHours:{type:Array,default:()=>[]}},computed:{openingHoursGroups(){const e=1,t=this.getSpecification(e),i=[{from:this.translateDay(e),to:this.translateDay(e),opens:t.opens,closes:t.closes}];for(let n=0;n<6;n++){const e=(n+2)%7,t=this.getSpecification(e),s=i[i.length-1];s.opens===t.opens&&s.closes===t.closes?s.to=this.translateDay(e):i.push({from:this.translateDay(e),to:this.translateDay(e),opens:t.opens,closes:t.closes})}return i}},methods:{getSpecification(e){const t=this.openingHours.find((t=>t.days_of_week.includes(T[e])));return null!==t&&void 0!==t?t:{opens:"00:00",closes:"00:00"}},closedAllDay(e){return"00:00"===e.opens&&"00:00"===e.closes},translateDay(e){return 0===e?this.$t("date.weekday.sunday"):1===e?this.$t("date.weekday.monday"):2===e?this.$t("date.weekday.tuesday"):3===e?this.$t("date.weekday.wednesday"):4===e?this.$t("date.weekday.thursday"):5===e?this.$t("date.weekday.friday"):6===e?this.$t("date.weekday.saturday"):""}}}),I=w,R=(0,d.A)(I,y,A,!1,null,"326be7c3",null),P=R.exports,O=(0,a.defineComponent)({name:"BranchCardLarge",components:{MediaImage:o.Q,Address:r.A,OpeningHoursWeek:P},props:{branch:{type:Object,required:!0}}}),L=O,N=(0,d.A)(L,C,b,!1,null,"7968c5c0",null),B=N.exports,D=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"BranchCardLargeEmpty"},[t("div",{staticClass:"BranchCardLargeEmpty__imageSection"}),t("div",{staticClass:"BranchCardLargeEmpty__content"},[t("BwButton",{attrs:{shade:e.ButtonShade.LIGHT,size:e.ButtonSize.LARGE},on:{click:function(t){return e.$emit("click")}}},[e._t("default")],2)],1)])},M=[],k=(0,a.defineComponent)({name:"BranchCardLargeEmpty",components:{BwButton:_.wQ},enums:{ButtonShade:_.ap,ButtonSize:_.Mp}}),x=k,U=(0,d.A)(x,D,M,!1,null,"34a2a110",null),$=U.exports,G=function(){var e=this,t=e._self._c;e._self._setupProxy;return t(e.branch.url?"a":"div",{tag:"component",class:["BranchCardSmall",e.branch.url&&"BranchCardSmall--clickable"],attrs:{href:e.branch.url?e.branch.url:null,title:e.branch.url?e.branch.name:null}},[!e.hideImage&&e.branch.image?t("div",{staticClass:"BranchCardSmall__image"},[t("MediaImage",{attrs:{media:e.branch.image,alt:e.branch.name,width:40,height:40,"maintain-aspect-ratio":"",cover:""}})],1):e._e(),t("div",{staticClass:"BranchCardSmall__content"},[t("span",{staticClass:"BranchCardSmall__title"},[e._v(e._s(e.branch.name))]),t("Address",{staticClass:"BranchCardSmall__address",attrs:{data:e.branch.address}}),e.hasOpeningHours&&!e.hideOpeningHours?[!e.date||e.dateIsTodayOrEarlier?t("OpeningHoursStatus",{staticClass:"BranchCardSmall__openingHours",attrs:{"opening-hours":e.branch.opening_hours_specification.opening_hours}}):e.dateIsWithinAWeekOrEarlier?t("OpeningHours",{staticClass:"BranchCardSmall__openingHours",attrs:{"opening-hours":e.branch.opening_hours_specification.opening_hours,date:e.date}}):e._e()]:e._e()],2)])},F=[],V=i(1576),z=i.n(V),H=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"OpeningHours"},[t("i",{staticClass:"far fa-clock"}),t("span",[e._v(e._s(`${e.dayString}: ${e.specification.opens} – ${e.specification.closes}`))])])},q=[];const j=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var W=(0,a.defineComponent)({name:"OpeningHours",props:{openingHours:{type:Array,required:!0},date:{type:String,required:!0}},computed:{day(){return new Date(this.date).getDay()},dayString(){return 0===this.day?this.$t("date.weekday.sunday"):1===this.day?this.$t("date.weekday.monday"):2===this.day?this.$t("date.weekday.tuesday"):3===this.day?this.$t("date.weekday.wednesday"):4===this.day?this.$t("date.weekday.thursday"):5===this.day?this.$t("date.weekday.friday"):6===this.day?this.$t("date.weekday.saturday"):""},specification(){const e=this.openingHours.find((e=>e.days_of_week.includes(j[this.day])));return null!==e&&void 0!==e?e:{opens:"00:00",closes:"00:00"}}}}),Z=W,Q=(0,d.A)(Z,H,q,!1,null,"486c8dc5",null),K=Q.exports,Y=(0,a.defineComponent)({name:"BranchCardSmall",components:{MediaImage:o.Q,Address:r.A,OpeningHoursStatus:l.A,OpeningHours:K},props:{branch:{type:Object,required:!0},hideImage:{type:Boolean,default:!1},hideOpeningHours:{type:Boolean,default:!1},date:{type:String,default:void 0}},computed:{hasOpeningHours(){var e;return null===(e=this.branch.opening_hours_specification)||void 0===e?void 0:e.opening_hours},daysUntilDate(){if(!this.date)return;const e=z()().startOf("day"),t=z()(this.date).startOf("day");return t.diff(e,"day")},dateIsTodayOrEarlier(){return!!this.date&&this.daysUntilDate<=0},dateIsWithinAWeekOrEarlier(){return!!this.date&&this.daysUntilDate<=6}}}),X=Y,J=(0,d.A)(X,G,F,!1,null,"74349a52",null),ee=J.exports,te=function(){var e=this,t=e._self._c;e._self._setupProxy;return t(e.branch.url?"a":"div",{tag:"component",class:["BranchLineCard",e.branch.url&&"BranchLineCard--clickable"],attrs:{href:e.branch.url?e.branch.url:null,title:e.branch.url?e.branch.name:null}},[e.branch.image?t("div",{staticClass:"BranchLineCard__image"},[t("MediaImage",{attrs:{media:e.branch.image,alt:e.branch.name,width:40,height:40,"maintain-aspect-ratio":"",cover:""}})],1):e._e(),t("div",{staticClass:"BranchLineCard__content"},[t("div",{staticClass:"BranchLineCard__titleWrapper"},[t("span",{staticClass:"BranchLineCard__title"},[e._v(e._s(e.branch.name))]),e.appendedTitle?t("span",[e._v(" "+e._s(e.appendedTitle))]):e._e()]),e.hasOpeningHours?t("OpeningHoursStatus",{attrs:{"short-text":"","opening-hours":e.branch.opening_hours_specification.opening_hours}}):e._e()],1)])},ie=[],ne=(0,a.defineComponent)({name:"BranchLineCard",components:{MediaImage:o.Q,OpeningHoursStatus:l.A},props:{branch:{type:Object,required:!0},appendedTitle:{type:String,default:""}},computed:{hasOpeningHours(){var e;return null===(e=this.branch.opening_hours_specification)||void 0===e?void 0:e.opening_hours}}}),se=ne,ae=(0,d.A)(se,te,ie,!1,null,"0eb806d3",null),re=ae.exports,oe=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("a",{staticClass:"GroupCard",attrs:{href:e.group.url,title:e.group.title},on:{click:e.onClick,mouseup:function(t){return"button"in t&&1!==t.button?null:e.onClick.apply(null,arguments)},keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.onClick.apply(null,arguments)}}},[t("ResizeObserver",{staticClass:"GroupCard__info",attrs:{tag:"div"},scopedSlots:e._u([{key:"default",fn:function({width:i}){return[t("AisHighlight",{attrs:{attribute:"title",hit:e.group,"class-names":{"ais-Highlight":"GroupCard__title"}}}),e.path?t("div",{staticClass:"GroupCard__breadcrumb"},[t("ShortenedPath",{attrs:{path:e.path,"container-width":i,divider:e.divider}})],1):e._e()]}}])}),e.group.image?t("MediaImage",{staticClass:"GroupCard__image",attrs:{media:e.group.image,alt:e.group.title,width:55,height:55,"maintain-aspect-ratio":""}}):e._e()],1)},le=[],ce=i(36539),ue=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"ShortenedPath"},[e.isPathVariantsCalculated?e._e():t("div",[e._l(e.nodes,(function(i,n){return t("span",{key:n,ref:"nodes",refInFor:!0,staticClass:"ShortenedPath__part"},[e._v(" "+e._s(i.name)+" ")])})),t("div",{staticClass:"ShortenedPath__part"},[t("span",[e._v(".")]),t("span",{ref:"ellipsis"},[e._v(e._s(e.ellipsis))]),t("span",[e._v(".")]),t("span",{ref:"divider"},[e._v(e._s(e.newDivider))]),t("span",[e._v(".")])])],2),t("span",[e._v(e._s(e.shortenedPath))])])},de=[],pe=(0,a.defineComponent)({name:"ShortenedPath",props:{path:{type:String,required:!0},containerWidth:{type:Number,required:!0},divider:{type:String,default:"/"},newDivider:{type:String,default:" / "},ellipsis:{type:String,default:"..."}},data(){return{pathVariants:[],isPathVariantsCalculated:!1}},computed:{shortenedPath(){for(let e=0;e{this.initializePathVariants()}))},methods:{initializeNodes(){const e=[],t=this.path.split(this.divider);for(let i=0;it.push(e.name))),t.join(this.divider)},path(){return this.group.breadcrumb?this.breadcrumbPath:this.group.node_tree?this.nodeTreePath:null}},methods:{onClick(e){const t=1===e.button||e.ctrlKey;t||e.preventDefault(),window.tracking.push({event:"CLICK_CATEGORY_GROUP",data:{group:this.group},context:{...this.context,source:{name:"ALGOLIA",index:this.index}},callback:t?null:()=>{this.$emit("before-navigate"),window.location.href=this.group.url}})}}}),ge=ve,Se=(0,d.A)(ge,oe,le,!1,null,"b41f2a9e",null),Ee=Se.exports},3379:function(e,t,i){"use strict";i.d(t,{_s:function(){return T},Tm:function(){return L},fT:function(){return v}});i(62953);var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("transition",{attrs:{name:"slide"},on:{"after-leave":e.onAfterLeave}},[e.isOpen?t("div",{class:["Drawer",...e.modifierClasses],style:{zIndex:e.zIndex},attrs:{tabindex:"-1",role:"dialog","inert:reset":""}},[t("div",{staticClass:"Drawer__wrapper",on:{touchstart:e.onTouchstart,mousedown:e.onMousedown,click:function(t){return t.target!==t.currentTarget?null:e.onClick.apply(null,arguments)}}},[t("DrawerInner",{staticClass:"Drawer__inner",attrs:{size:e.size,title:e.title,"borderless-header":e.borderlessHeader,"small-close":!e.isDesktopSize,"body-padding-disabled":e.bodyPaddingDisabled,"footer-padding-disabled":e.footerPaddingDisabled},on:{scrolled:e.onScroll,close:e.close},scopedSlots:e._u([{key:"title",fn:function(){return[e._t("title")]},proxy:!0},e.hasFooterSlot()?{key:"footer",fn:function(){return[e._t("footer",null,{close:e.close})]},proxy:!0}:null],null,!0)},[e._t("content",(function(){return[e._t("default")]}),{close:e.close})],2),t("transition",{attrs:{name:"subdrawer"}},[e.subDrawer&&e.isOpenSubDrawer?t("DrawerInner",{staticClass:"Drawer__subDrawer",attrs:{size:e.subDrawerSize,title:e.subDrawerTitle,"borderless-header":e.borderlessHeader,"small-close":!e.isDesktopSize,"body-padding-disabled":e.subDrawerBodyPaddingDisabled,"footer-padding-disabled":e.subDrawerFooterPaddingDisabled,"close-icon":e.positionRight?e.CloseButtonIcon.ARROW_RIGHT:e.CloseButtonIcon.ARROW_LEFT},on:{close:e.closeSubDrawer},scopedSlots:e._u([{key:"title",fn:function(){return[e._t("subDrawerTitle")]},proxy:!0},e.hasSubDrawerFooterSlot()?{key:"footer",fn:function(){return[e._t("subDrawerFooter",null,{close:e.closeSubDrawer})]},proxy:!0}:null],null,!0)},[e._t("subDrawerContent",(function(){return[e._t("subDrawerDefault")]}),{close:e.closeSubDrawer})],2):e._e()],1)],1)]):e._e()])},s=[],a=i(62893),r=i(95353),o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:["DrawerInner",...e.modifierClasses]},[t("DrawerHeader",{attrs:{title:e.title,borderless:e.borderlessHeader,"small-close":e.smallClose,"close-icon":e.closeIcon},on:{close:e.close}},[e._t("title")],2),t("div",{staticClass:"DrawerInner__contentWrapper",on:{scroll:e.onScroll}},[t("div",{staticClass:"DrawerInner__content"},[e._t("content",(function(){return[t("div",{staticClass:"DrawerInner__contentInner"},[e._t("default")],2)]}),{close:e.close})],2)]),e.hasFooterSlot()?t("div",{staticClass:"DrawerInner__footer"},[e._t("footer",null,{close:e.close})],2):e._e()],1)},l=[],c=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:["DrawerHeader",...e.modifierClasses]},[e.title||e.hasDefaultSlot()?e._t("default",(function(){return[t("h3",{staticClass:"DrawerHeader__title"},[e._v(e._s(e.title))])]})):e._e(),t("CloseButton",{staticClass:"DrawerHeader__close",attrs:{icon:e.closeIcon,size:e.smallClose?e.CloseButtonSize.SMALL:e.CloseButtonSize.MEDIUM,tabindex:"0",filled:""},on:{click:e.close}})],2)},u=[],d=i(97768),p=(0,a.defineComponent)({name:"DrawerHeader",components:{CloseButton:d.Jn},props:{title:{type:String,default:""},smallClose:{type:Boolean,default:!1},closeIcon:{type:String,default:void 0},borderless:{type:Boolean,default:!1},scrolled:{type:Boolean,default:!1}},enums:{CloseButtonSize:d.yb},computed:{minimalClass(){return!this.title&&!this.hasDefaultSlot()&&!this.borderless&&"DrawerHeader--minimal"},modifierClasses(){return[this.borderless&&"DrawerHeader--borderless",this.scrolled&&"DrawerHeader--scrolled",this.minimalClass]}},methods:{hasDefaultSlot(){return!!this.$scopedSlots.default},close(){this.$emit("close")}}}),h=p,m=i(81656),f=(0,m.A)(h,c,u,!1,null,"baa612f4",null),_=f.exports;const v={MEDIUM:"MEDIUM",LARGE:"LARGE",EXTRA_LARGE:"EXTRA_LARGE"};var g=(0,a.defineComponent)({name:"DrawerInner",components:{DrawerHeader:_},props:{size:{type:String,default:v.MEDIUM,validator:e=>Object.values(v).includes(e)},borderlessHeader:{type:Boolean,default:!1},smallClose:{type:Boolean,default:!1},closeIcon:{type:String,default:void 0},title:{type:String,default:""},bodyPaddingDisabled:{type:Boolean,default:!1},footerPaddingDisabled:{type:Boolean,default:!1}},data(){return{debounce:null,debounced:!1}},computed:{modifierClasses(){return[this.bodyPaddingDisabled&&"DrawerInner--bodyPaddingDisabled",this.footerPaddingDisabled&&"DrawerInner--footerPaddingDisabled",this.sizeClass]},sizeClass(){return{[v.MEDIUM]:"",[v.LARGE]:"DrawerInner--lg",[v.EXTRA_LARGE]:"DrawerInner--xl"}[this.size]}},beforeDestroy(){clearTimeout(this.debounce)},methods:{close(){this.$emit("close")},onScroll(e){!this.debounced&&this.scroll(e),this.debounced=!0,clearTimeout(this.debounce),this.debounce=setTimeout((()=>{this.scroll(e),this.debounced=!1}),200)},scroll(e){var t;(null===e||void 0===e||null===(t=e.target)||void 0===t?void 0:t.scrollTop)>10?this.$emit("scrolled",!0):this.$emit("scrolled",!1)},hasFooterSlot(){return!!this.$scopedSlots.footer}}}),S=g,E=(0,m.A)(S,o,l,!1,null,"71655786",null),C=E.exports,b=(0,a.defineComponent)({name:"Drawer",components:{DrawerInner:C},props:{title:{type:String,default:""},borderlessHeader:{type:Boolean,default:!1},dark:{type:Boolean,default:!1},size:{type:String,default:v.MEDIUM,validator:e=>Object.values(v).includes(e)},positionRight:{type:Boolean,default:!1},bodyPaddingDisabled:{type:Boolean,default:!1},footerPaddingDisabled:{type:Boolean,default:!1},subDrawer:{type:Boolean,default:!1},subDrawerTitle:{type:String,default:""},subDrawerSize:{type:String,default:v.MEDIUM,validator:e=>Object.values(v).includes(e)},subDrawerBodyPaddingDisabled:{type:Boolean,default:!1},subDrawerFooterPaddingDisabled:{type:Boolean,default:!1}},enums:{CloseButtonIcon:d.iX},data(){return{isOpen:!1,isOpenSubDrawer:!1,latestEvent:null,enterComplete:!1,isScrolled:!1}},computed:{...(0,r.L8)("overlay",["overlayZIndexesById","isOverlayOnTop"]),zIndex(){return this.overlayZIndexesById[this._uid]},modifierClasses(){return[this.dark&&"Drawer--dark",this.positionRight&&"Drawer--right",this.isScrolled&&"Drawer--scrolled"]},isDesktopSize(){return["desktop","desktopL"].includes(this.$mq)}},unmounted(){removeEventListener("keyup",this.keyPressed)},beforeDestroy(){this.$removeOverlay(this._uid)},methods:{onScroll(e){this.isScrolled=e},onTouchstart(e){this.latestEvent=e},onMousedown(e){this.latestEvent=e},onClick(e){e.target===this.latestEvent.target&&this.close()},keyPressed(e){"Escape"===e.key&&this.onEscapePressed()},onEscapePressed(){this.isOverlayOnTop(this._uid)&&this.close()},open(){this.isOpen=!0,this.$emit("open"),this.$addOverlay({id:this._uid,closeCallback:this.close}),this.$nextTick((()=>this.$el.focus())),addEventListener("keyup",this.keyPressed)},close(){this.isOpen=!1,this.subDrawer&&this.isOpenSubDrawer&&this.closeSubDrawer(),this.$emit("close"),removeEventListener("keyup",this.keyPressed)},openSubDrawer(){this.isOpenSubDrawer=!0,this.$emit("open-sub-drawer")},closeSubDrawer(){this.isOpenSubDrawer=!1,this.$emit("close-sub-drawer")},toggleSubDrawer(){this.isOpenSubDrawer?this.closeSubDrawer():this.openSubDrawer()},onAfterLeave(){this.$removeOverlay(this._uid)},hasFooterSlot(){return!!this.$scopedSlots.footer},hasSubDrawerFooterSlot(){return!!this.$scopedSlots.subDrawerFooter}}}),y=b,A=(0,m.A)(y,n,s,!1,null,"3da8e00c",null),T=A.exports,w=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:["DrawerSection",e.primaryColor&&"DrawerSection--primaryColor"]},[e.title?t("h4",{staticClass:"DrawerSection__title bw-text-body-base"},[e._v(e._s(e.title))]):e._e(),t("div",[e._t("default")],2)])},I=[],R=(0,a.defineComponent)({name:"DrawerSection",props:{title:{type:String,default:""},primaryColor:{type:Boolean,default:!1}}}),P=R,O=(0,m.A)(P,w,I,!1,null,"0b5b2eda",null),L=O.exports},51874:function(e,t,i){"use strict";i.d(t,{q:function(){return u}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("span",{staticClass:"EllipsisAnimation"},[e._t("default",(function(){return[e._v(e._s(e.text))]})),t("span",{staticClass:"EllipsisAnimation__dot"},[e._v(".")]),t("span",{staticClass:"EllipsisAnimation__dot"},[e._v(".")]),t("span",{staticClass:"EllipsisAnimation__dot"},[e._v(".")])],2)},s=[],a=i(62893),r=(0,a.defineComponent)({name:"EllipsisAnimation",props:{text:{type:String,default:""}}}),o=r,l=i(81656),c=(0,l.A)(o,n,s,!1,null,"2f97b1cc",null),u=c.exports},38875:function(e,t,i){"use strict";i.d(t,{c:function(){return f}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("Modal",{ref:"modal",staticClass:"EntryModal",attrs:{"body-padding-disabled":""}},[t("EntryLayout",{staticClass:"EntryModal__content",attrs:{"column-reverse":e.route!==e.Route.SIGNUP,"disable-padding":""},scopedSlots:e._u([e.$isEnabled("ACCOUNT_SIGNUP")?{key:"infoBox",fn:function(){return[t("AccountBenefitsBox",{staticClass:"EntryModal__benefitsBox",attrs:{"show-signup-button":e.route===e.Route.LOGIN},on:{navigate:e.onNavigate}})]},proxy:!0}:null,{key:"form",fn:function(){return[e.route===e.Route.SIGNUP||e.route===e.Route.REQUEST_RESET_PASSWORD?t("BwButton",{staticClass:"EntryModal__navigateBack",attrs:{"attention-level":e.route===e.Route.REQUEST_RESET_PASSWORD&&e.isTabletSize?3:2,borderless:"",rounded:"",shade:e.ButtonShade.LIGHT,"fa-icon-class":"far fa-arrow-left"},on:{click:function(t){return e.onNavigate(e.Route.LOGIN)}}}):e._e(),t("FlashMessage",{attrs:{"flash-id":e.flash}}),t("FadeTransition",{attrs:{"transform-height":""}},[e.route===e.Route.LOGIN?[e.$isEnabled("SUBUSER_AUTHENTICATION")?t("LoginSubuserForm",{on:{navigate:e.onNavigate}}):t("LoginForm",{on:{navigate:e.onNavigate}})]:e.route===e.Route.SIGNUP?[e.$isEnabled("ACCOUNT_SIGNUP")?t("SignupForm",{on:{navigate:e.onNavigate}}):e._e()]:e.route===e.Route.REQUEST_RESET_PASSWORD?[e.$isEnabled("SUBUSER_AUTHENTICATION")?t("RequestResetPasswordSubuserForm",{on:{navigate:e.onNavigate}}):t("RequestResetPasswordForm",{on:{navigate:e.onNavigate}})]:e._e()],2)]},proxy:!0}],null,!0)})],1)},s=[],a=i(62893),r=i(98272),o=i(5760),l=i(95927),c=i(16922),u=i(23028),d=(0,a.defineComponent)({name:"EntryModal",components:{EntryLayout:c.Lj,Modal:o.a,FlashMessage:c.s9,LoginForm:c.QB,LoginSubuserForm:c.Bm,SignupForm:c.H0,RequestResetPasswordForm:c.Y0,RequestResetPasswordSubuserForm:c.rA,AccountBenefitsBox:c.xA,BwButton:l.wQ,FadeTransition:u.A},enums:{Route:r.Ay,ButtonSize:l.Mp,ButtonShade:l.ap,TransitionMode:u.l},data(){return{route:void 0,flash:void 0}},computed:{isTabletSize(){return["mobileS","mobileM","mobileL","tablet"].includes(this.$mq)}},methods:{open(e,t){this.route=null!==e&&void 0!==e?e:r.Ay.LOGIN,this.flash=t,this.$refs.modal.open()},onNavigate(e,t){this.route=e,this.flash=t}}}),p=d,h=i(81656),m=(0,h.A)(p,n,s,!1,null,"4254d510",null),f=m.exports;i(16425)},16922:function(e,t,i){"use strict";i.d(t,{xA:function(){return Ye},sZ:function(){return Ce},Lj:function(){return p},s9:function(){return E},QB:function(){return k},Bm:function(){return V},Y0:function(){return Re},rA:function(){return De},FN:function(){return ze},H0:function(){return de}});const n={ACCOUNT_CREATED:"account_created",PASSWORD_REQUESTED:"password_requested",PASSWORD_CHANGED:"password_changed",EXPIRED_TOKEN:"expired_token",INVALID_TOKEN:"invalid_token",NOT_LOGGED_IN:"not_logged_in"},s={INVALID_LOGIN:"INVALID_LOGIN",UNKNOWN:"UNKNOWN"};var a=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:["EntryLayout",e.columnReverse&&"EntryLayout--reverse"]},[e.hasInfoBoxSlot()?t("div",{staticClass:"EntryLayout__infoBox"},[e._t("infoBox")],2):e._e(),t("div",{staticClass:"EntryLayout__form"},[e._t("form")],2)])},r=[],o=i(62893),l=(0,o.defineComponent)({name:"EntryLayout",props:{columnReverse:{type:Boolean,default:!1}},methods:{hasInfoBoxSlot(){return!!this.$scopedSlots.infoBox}}}),c=l,u=i(81656),d=(0,u.A)(c,a,r,!1,null,"30e6460c",null),p=d.exports,h=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("CollapseTransition",[e.isOpen?t("div",{staticClass:"FlashMessage"},[t("Alert",{staticClass:"FlashMessage__alert",attrs:{level:e.alertLevel,closeable:""},on:{close:function(t){e.isOpen=!1}}},[e._v(" "+e._s(e.message)+" ")])],1):e._e()])},m=[],f=i(53059),_=i(3213),v=(0,o.defineComponent)({name:"FlashMessage",components:{CollapseTransition:f.Z,Alert:_.Fc},props:{flashId:{type:String,default:void 0}},data(){return{isOpen:!1}},computed:{message(){switch(this.flashId){case n.ACCOUNT_CREATED:return this.$t("account.auth.message.account_created");case n.PASSWORD_REQUESTED:return this.$t("account.auth.message.password_requested");case n.PASSWORD_CHANGED:return this.$t("account.auth.message.password_changed");case n.EXPIRED_TOKEN:return this.$t("account.auth.message.expired_token");case n.INVALID_TOKEN:return this.$t("account.auth.message.invalid_token");case n.NOT_LOGGED_IN:return this.$t("account.auth.message.not_logged_in");default:return""}},alertLevel(){switch(this.flashId){case n.ACCOUNT_CREATED:case n.PASSWORD_REQUESTED:case n.PASSWORD_CHANGED:return _.NY.INFO;case n.EXPIRED_TOKEN:case n.INVALID_TOKEN:case n.NOT_LOGGED_IN:return _.NY.ERROR;default:return}}},watch:{flashId:{immediate:!0,handler(e){this.isOpen=!!e}}}}),g=v,S=(0,u.A)(g,h,m,!1,null,"e0ec7fbc",null),E=S.exports,C=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("LoginContainer",{attrs:{"navigate-to":e.navigateTo},scopedSlots:e._u([{key:"default",fn:function({status:i,errorType:n,clearStatus:s,login:a}){return[t("Form",{staticClass:"LoginForm",attrs:{title:e.$t("authentication.log_in"),locked:i===e.Progress.WORKING},on:{submit:function(t){return a(e.credentials,e.remember)}},scopedSlots:e._u([{key:"default",fn:function(){return[t("Input",{staticClass:"LoginForm__input",attrs:{id:"email",name:"email",type:"email",label:e.$t("email"),autocomplete:"email","auto-focus":"",required:""},on:{input:s},model:{value:e.email,callback:function(t){e.email=t},expression:"email"}}),t("PasswordInput",{staticClass:"LoginForm__input",attrs:{id:"password",name:"password",label:e.$t("password"),autocomplete:"password",required:""},on:{input:s},model:{value:e.password,callback:function(t){e.password=t},expression:"password"}}),t("BwCheckbox",{attrs:{id:"remember"},model:{value:e.remember,callback:function(t){e.remember=t},expression:"remember"}},[e._v(" "+e._s(e.$t("account.auth.remember_me"))+" ")])]},proxy:!0},{key:"footer",fn:function(){return[t("CollapseTransition",[i===e.Progress.ERROR?t("div",[n===e.EntryLoginError.INVALID_LOGIN?t("Alert",{staticClass:"LoginForm__alert",attrs:{level:e.AlertLevel.ERROR,"icon-disabled":""}},[e._v(" "+e._s(e.$t("account.auth.message.invalid_login.type1"))+" ")]):e._e(),n===e.EntryLoginError.UNKNOWN?t("Alert",{staticClass:"LoginForm__alert",attrs:{level:e.AlertLevel.ERROR,"icon-disabled":""}},[e._v(" "+e._s(e.$t("error_message"))+" ")]):e._e()],1):e._e()]),t("BwButton",{attrs:{type:"submit",size:e.ButtonSize.LARGE,working:i===e.Progress.WORKING,"full-width":""}},[e._v(" "+e._s(e.$t("authentication.log_in"))+" ")]),e.routing?t("Link",{staticClass:"LoginForm__link",attrs:{to:{name:e.Route.REQUEST_RESET_PASSWORD}}},[e._v(" "+e._s(e.$t("account.auth.forgot_password"))+" ")]):t("Link",{staticClass:"LoginForm__link",on:{click:function(t){return t.preventDefault(),e.$emit("navigate",e.Route.REQUEST_RESET_PASSWORD)}}},[e._v(" "+e._s(e.$t("account.auth.forgot_password"))+" ")])]},proxy:!0}],null,!0)})]}}])})},b=[],y=i(50326),A=i(98272),T=i(32455),w=i(13868),I=i(90011),R=i(46972),P=i(95927),O=i(65379),L=(i(25440),i(82013)),N=(0,o.defineComponent)({name:"LoginContainer",provide(){return{loginContainer:this}},props:{navigateTo:{type:String,default:void 0}},data(){return{status:"",errorType:""}},methods:{clearStatus(){this.status="",this.errorType=""},login(e,t){this.status=y.A.WORKING,(0,L.U5)(e,t).then(this.navigate).catch(this.onLoginError)},navigate(){this.$route.query.redirect?window.location.replace(this.$route.query.redirect):this.navigateTo?window.location.replace(this.navigateTo):window.location.reload()},onLoginError(e){const t=Array.isArray(e)&&e.some((e=>"InvalidLogin"===e.code));this.errorType=t?s.INVALID_LOGIN:s.UNKNOWN,this.status=y.A.ERROR}},render(){return this.$scopedSlots.default({status:this.status,errorType:this.errorType,clearStatus:this.clearStatus,login:this.login})}}),B=(0,o.defineComponent)({name:"LoginForm",components:{CollapseTransition:f.Z,Form:T.A,Input:w.pd,PasswordInput:I.yA,Alert:_.Fc,BwCheckbox:R.n,BwButton:P.wQ,Link:O.N,LoginContainer:N},props:{routing:{type:Boolean,default:!1},navigateTo:{type:String,default:void 0}},enums:{Progress:y.A,EntryLoginError:s,Route:A.Ay,AlertLevel:_.NY,ButtonSize:P.Mp},data(){return{email:"",password:"",remember:!1}},computed:{credentials(){return{customer_id:this.email,password:this.password}}}}),D=B,M=(0,u.A)(D,C,b,!1,null,"d5cdacbc",null),k=M.exports,x=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("LoginContainer",{attrs:{"navigate-to":e.navigateTo},scopedSlots:e._u([{key:"default",fn:function({status:i,errorType:n,clearStatus:s,login:a}){return[t("Form",{staticClass:"LoginSubuserForm",attrs:{title:e.$t("authentication.log_in"),locked:i===e.Progress.WORKING},on:{submit:function(t){return a(e.credentials,e.remember)}},scopedSlots:e._u([{key:"default",fn:function(){return[t("CollapseTransition",[e.isUserLoginForm?t("div",[t("Input",{staticClass:"LoginSubuserForm__input",attrs:{id:"user-name",name:"user-name",type:"text",label:e.$t("account.user_name"),autocomplete:"off",required:""},on:{input:s},model:{value:e.userName,callback:function(t){e.userName=t},expression:"userName"}})],1):e._e()]),t("Input",{staticClass:"LoginSubuserForm__input",attrs:{id:"customer-id",name:"customer-id",type:"text",label:e.$t("account.customer_id"),autocomplete:"username","auto-focus":"",required:""},on:{input:s},model:{value:e.customerId,callback:function(t){e.customerId=t},expression:"customerId"}}),t("PasswordInput",{staticClass:"LoginSubuserForm__input",attrs:{id:"password",name:"password",label:e.$t("password"),autocomplete:"password",required:""},on:{input:s},model:{value:e.password,callback:function(t){e.password=t},expression:"password"}}),t("BwCheckbox",{attrs:{id:"remember"},model:{value:e.remember,callback:function(t){e.remember=t},expression:"remember"}},[e._v(" "+e._s(e.$t("account.auth.remember_me"))+" ")])]},proxy:!0},{key:"footer",fn:function(){return[t("CollapseTransition",[i===e.Progress.ERROR?t("div",[n===e.EntryLoginError.INVALID_LOGIN?t("Alert",{staticClass:"LoginSubuserForm__alert",attrs:{level:e.AlertLevel.ERROR,"icon-disabled":""}},[e._v(" "+e._s(e.invalidCredentialsMessage)+" ")]):e._e(),n===e.EntryLoginError.UNKNOWN?t("Alert",{staticClass:"LoginSubuserForm__alert",attrs:{level:e.AlertLevel.ERROR,"icon-disabled":""}},[e._v(" "+e._s(e.$t("error_message"))+" ")]):e._e()],1):e._e()]),t("BwButton",{attrs:{type:"submit",size:e.ButtonSize.LARGE,"full-width":"",working:i===e.Progress.WORKING}},[e._v(" "+e._s(e.$t("authentication.log_in"))+" ")]),t("div",{staticClass:"LoginSubuserForm__divider"},[e._v(e._s(e.$t("or")))]),t("BwButton",{attrs:{"data-testid":"login-subuser-form-toggle-button",size:e.ButtonSize.LARGE,"full-width":""},on:{click:function(t){return t.preventDefault(),e.toggleForm.apply(null,arguments)}}},[e._v(" "+e._s(e.toggleLabel)+" ")]),e.routing?t("Link",{staticClass:"LoginSubuserForm__link",attrs:{to:{name:e.Route.REQUEST_RESET_PASSWORD}}},[e._v(" "+e._s(e.$t("account.auth.forgot_password"))+" ")]):t("Link",{staticClass:"LoginSubuserForm__link",on:{click:function(t){return t.preventDefault(),e.$emit("navigate",e.Route.REQUEST_RESET_PASSWORD)}}},[e._v(" "+e._s(e.$t("account.auth.forgot_password"))+" ")])]},proxy:!0}],null,!0)})]}}])})},U=[],$=(0,o.defineComponent)({name:"LoginSubuserForm",components:{CollapseTransition:f.Z,Form:T.A,Input:w.pd,PasswordInput:I.yA,Alert:_.Fc,BwCheckbox:R.n,BwButton:P.wQ,Link:O.N,LoginContainer:N},props:{routing:{type:Boolean,default:!1},navigateTo:{type:String,default:void 0}},enums:{Progress:y.A,EntryLoginError:s,Route:A.Ay,AlertLevel:_.NY,ButtonSize:P.Mp},data(){return{isUserLoginForm:!1,userName:"",customerId:"",password:"",remember:!1}},computed:{credentials(){const e=this.userName,t=this.customerId,i=this.password;return this.isUserLoginForm?{user_name:e,customer_id:t,password:i}:{customer_id:t,password:i}},invalidCredentialsMessage(){return this.isUserLoginForm?this.$t("account.auth.message.invalid_login.type2_user"):this.$t("account.auth.message.invalid_login.type2")},toggleLabel(){return this.isUserLoginForm?this.$t("account.auth.controls.login_as_account"):this.$t("account.auth.controls.login_as_user")}},methods:{toggleForm(){this.isUserLoginForm=!this.isUserLoginForm,this.clearInputs()},clearInputs(){this.userName="",this.customerId="",this.password=""}}}),G=$,F=(0,u.A)(G,x,U,!1,null,"a67b2bc0",null),V=F.exports,z=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"SignupForm"},[t("h1",{staticClass:"SignupForm__title"},[e._v(e._s(e.$t("account.signup.action")))]),t("StepProgressBar",{staticClass:"SignupForm__stepProgressBar",attrs:{"active-step":e.stepId,alignment:e.StepAlignment.JUSTIFY,size:e.stepSize,numbered:""}},[t("Step",{attrs:{id:e.SignupStep.FORM,title:e.$t("account.signup.steps.form")}}),e.$isEnabled("FAVORITE_STORE")?t("Step",{attrs:{id:e.SignupStep.BRANCH,title:e.$t("account.signup.steps.branch")}}):e._e(),t("Step",{attrs:{id:e.SignupStep.COMPLETE,title:e.$t("account.signup.steps.done")}})],1),t("Slides",{attrs:{"active-slide":e.slideId}},[t("Slide",{attrs:{id:e.SignupSlide.FORM}},[t("Form",{attrs:{locked:e.status===e.Progress.WORKING},on:{submit:e.next},scopedSlots:e._u([{key:"default",fn:function(){return[t("Input",{staticClass:"SignupForm__input",attrs:{id:"first-name",name:"first-name",type:"text",label:e.$t("person.first_name"),autocomplete:"given-name","auto-focus":"",required:""},model:{value:e.firstName,callback:function(t){e.firstName=t},expression:"firstName"}}),t("Input",{staticClass:"SignupForm__input",attrs:{id:"last-name",name:"last-name",type:"text",label:e.$t("person.last_name"),autocomplete:"family-name",required:""},model:{value:e.lastName,callback:function(t){e.lastName=t},expression:"lastName"}}),t("Input",{staticClass:"SignupForm__input",attrs:{id:"email",name:"email",type:"email",label:e.$t("email"),autocomplete:"username",required:""},model:{value:e.email,callback:function(t){e.email=t},expression:"email"}}),t("Input",{staticClass:"SignupForm__input",attrs:{id:"confirm-email",name:"confirm-email",type:"email",label:e.$t("input.email.repeat"),disabled:e.confirmEmailDisabled,autocomplete:"off",required:"",pattern:e.email,"pattern-error-message":e.$t("input.invalid_email_no_match")},model:{value:e.confirmEmail,callback:function(t){e.confirmEmail=t},expression:"confirmEmail"}}),t("Input",{staticClass:"SignupForm__input",attrs:{id:"mobile",name:"mobile",type:"tel",label:e.$t("person.mobile_phone_number"),autocomplete:"tel",required:"",maxlength:14},model:{value:e.mobile,callback:function(t){e.mobile=t},expression:"mobile"}}),t("PasswordInput",{staticClass:"SignupForm__input",attrs:{id:"password",name:"password",label:e.$t("password"),autocomplete:"new-password",required:"",minlength:5},model:{value:e.password,callback:function(t){e.password=t},expression:"password"}}),t("ConditionsCheckbox",{staticClass:"SignupForm__checkbox",attrs:{id:"conditions"}}),t("NewsletterCheckbox",{staticClass:"SignupForm__checkbox",attrs:{id:"newsletter"},model:{value:e.newsletter,callback:function(t){e.newsletter=t},expression:"newsletter"}}),t("Recaptcha",{attrs:{id:"recaptcha"}})]},proxy:!0},{key:"footer",fn:function(){return[e.$isEnabled("FAVORITE_STORE")?t("BwButton",{attrs:{type:"submit",size:e.ButtonSize.LARGE,"full-width":""}},[e._v(" "+e._s(e.$t("action.next"))+" ")]):t("BwButton",{staticClass:"SignupForm__signupButton",attrs:{type:"submit",size:e.ButtonSize.LARGE,"full-width":""}},[e._v(" "+e._s(e.$t("account.signup.action"))+" ")])]},proxy:!0}])})],1),e.$isEnabled("FAVORITE_STORE")?t("Slide",{attrs:{id:e.SignupSlide.BRANCH}},[t("p",{staticClass:"SignupForm__storeFinderLabel"},[e._v(e._s(e.$t("account.auth.choose_your_branch")))]),t("StoreFinder",{staticClass:"SignupForm__storeFinder",attrs:{scrollable:"","on-update":e.setBranch,"ignore-cookie":""}}),t("CollapseTransition",[e.status===e.Progress.ERROR?t("div",[t("Alert",{staticClass:"SignupForm__alert",attrs:{level:e.AlertLevel.ERROR,"icon-disabled":""}},[e._v(" "+e._s(e.$t("account.auth.message.error"))+" ")])],1):e._e()]),t("BwButton",{staticClass:"SignupForm__signupButton",attrs:{size:e.ButtonSize.LARGE,"full-width":"",working:e.status===e.Progress.WORKING},on:{click:e.signup}},[e._v(" "+e._s(e.$t("account.signup.action"))+" ")])],1):e._e()],1)],1)},H=[],q=(i(44114),i(62953),i(76672)),j=i(44038),W=i(79292),Z=i(44537),Q=i(15642),K=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"ConditionsCheckbox"},[t("BwCheckbox",{attrs:{id:e.id,required:""},scopedSlots:e._u([{key:"default",fn:function(){return[t("i18n",{attrs:{path:"account.auth.accept"},scopedSlots:e._u([{key:"organization",fn:function(){return[e._v(" "+e._s(e.organizationName)+" ")]},proxy:!0},{key:"privacyPolicy",fn:function(){return[t("Link",{staticClass:"ConditionsCheckbox__link",attrs:{title:e.$t("account.auth.requirements")},on:{click:function(t){return t.preventDefault(),e.$actions.run("promptNodeContentModal",e.nodeIdPrivacyPolicy)}}},[e._v(" "+e._s(e.$t("account.auth.accept.privacy_policy").toLowerCase())+" ")])]},proxy:!0},{key:"selfserviceTerms",fn:function(){return[t("Link",{staticClass:"ConditionsCheckbox__link",on:{click:function(t){return t.preventDefault(),e.$actions.run("promptNodeContentModal",e.nodeIdSelfServiceTerms)}}},[e._v(" "+e._s(e.$t("account.auth.accept.terms").toLowerCase())+" ")])]},proxy:!0}])})]},proxy:!0},{key:"error",fn:function(){return[e._v(" "+e._s(e.$t("account.auth.message.terms_required"))+" ")]},proxy:!0}])})],1)},Y=[],X=i(21190),J=(0,o.defineComponent)({name:"ConditionsCheckbox",components:{BwCheckbox:R.n,Link:O.N},props:{id:{type:String,required:!0}},created(){this.organizationName=X.A.legacy.organizationNameLong,this.nodeIdPrivacyPolicy=X.A.legacy.customerService.nodeIdPrivacyPolicy,this.nodeUrlPrivacyPolicy=X.A.legacy.customerService.nodeUrlPrivacyPolicy,this.nodeIdSelfServiceTerms=X.A.legacy.customerService.nodeIdSelfServiceTerms,this.nodeUrlSelfServiceTerms=X.A.legacy.customerService.nodeUrlSelfServiceTerms}}),ee=J,te=(0,u.A)(ee,K,Y,!1,null,"2f1622a2",null),ie=te.exports,ne=i(55030),se=i(80262),ae=i(68344);const re={FORM:"form_step",BRANCH:"branch_step",COMPLETE:"complete_step"},oe={FORM:"form_slide",BRANCH:"branch_slide"};var le=(0,o.defineComponent)({name:"SignupForm",components:{CollapseTransition:f.Z,StepProgressBar:W.XT,Step:W.pn,Slides:Z.t,Slide:Z.q,Form:T.A,Input:w.pd,PasswordInput:I.yA,ConditionsCheckbox:ie,NewsletterCheckbox:Q.H,BwButton:P.wQ,Alert:_.Fc,StoreFinder:ne["default"],Recaptcha:se.A},props:{routing:{type:Boolean,default:!1}},enums:{Progress:y.A,StepAlignment:W.Qv,SignupStep:re,SignupSlide:oe,ButtonSize:P.Mp,AlertLevel:_.NY},data(){return{firstName:"",lastName:"",email:"",confirmEmail:"",mobile:"",password:"",newsletter:!1,branch:null,stepId:re.FORM,slideId:oe.FORM,status:"",confirmEmailDisabled:!0}},computed:{stepSize(){switch(this.$mq){case"mobileS":return W.GZ.SMALL;case"mobileM":return W.GZ.MEDIUM;default:return W.GZ.LARGE}}},watch:{email(e){this.confirmEmailDisabled&&e&&setTimeout((()=>this.confirmEmailDisabled=!1),200)},mobile(e,t){e!==t&&(this.mobile=(0,ae.d4)(e))}},methods:{setBranch(e){this.branch=e?e.slug:null,this.stepId=e?re.COMPLETE:re.BRANCH},next(){this.$isEnabled("FAVORITE_STORE")?(this.stepId=re.BRANCH,this.slideId=oe.BRANCH):this.signup()},signup(){this.stepId=re.COMPLETE,this.status=y.A.WORKING,Promise.all([(0,q.w8)({first_name:this.firstName,last_name:this.lastName,email_address:this.email,phone_number:this.mobile,password:this.password,favorite_branch:this.branch}),this.newsletter?(0,j.A)({emailAddress:this.email,source:"signup"}):Promise.resolve()]).then(this.navigateToLogin).catch(this.onSignupError)},navigateToLogin(){this.routing?this.$router.push({name:A.Ay.LOGIN,query:{flash:n.ACCOUNT_CREATED}}):this.$emit("navigate",A.Ay.LOGIN,n.ACCOUNT_CREATED)},onSignupError(){this.status=y.A.ERROR}}}),ce=le,ue=(0,u.A)(ce,z,H,!1,null,"e211c718",null),de=ue.exports,pe=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"CompleteSignupForm"},[t("h1",{staticClass:"CompleteSignupForm__title"},[e._v(e._s(e.title))]),t("StepProgressBar",{staticClass:"CompleteSignupForm__stepProgressBar",attrs:{"active-step":e.stepId,alignment:e.StepAlignment.JUSTIFY,size:e.stepSize,numbered:""}},[t("Step",{attrs:{id:e.SignupStep.FORM,title:e.$t("account.complete_signup.steps.form")}}),t("Step",{attrs:{id:e.SignupStep.BRANCH,title:e.$t("account.complete_signup.steps.branch")}}),t("Step",{attrs:{id:e.SignupStep.COMPLETE,title:e.$t("account.complete_signup.steps.done")}})],1),t("Slides",{attrs:{"active-slide":e.slideId}},[t("Slide",{attrs:{id:e.SignupSlide.FORM}},[t("Form",{on:{submit:e.next},scopedSlots:e._u([{key:"default",fn:function(){return[t("NewPasswordInputs",{staticClass:"CompleteSignupForm__newPasswordInputs",attrs:{"password-label":e.$t("account.complete_signup.new_password"),"confirm-password-label":e.$t("account.complete_signup.confirm_new_password"),"auto-focus":""},on:{input:t=>e.newPassword=t}}),t("ConditionsCheckbox",{staticClass:"CompleteSignupForm__checkbox",attrs:{id:"conditions"}}),t("NewsletterCheckbox",{attrs:{id:"newsletter"},model:{value:e.newsletter,callback:function(t){e.newsletter=t},expression:"newsletter"}})]},proxy:!0},{key:"footer",fn:function(){return[t("BwButton",{attrs:{size:e.ButtonSize.LARGE,"full-width":"",type:"submit"}},[e._v(" "+e._s(e.$t("action.next"))+" ")])]},proxy:!0}])})],1),t("Slide",{attrs:{id:e.SignupSlide.BRANCH}},[t("p",{staticClass:"CompleteSignupForm__storeFinderLabel"},[e._v(" "+e._s(e.$t("account.auth.choose_your_branch"))+" ")]),t("StoreFinder",{staticClass:"CompleteSignupForm__storeFinder",attrs:{scrollable:"","on-update":e.setBranch,"ignore-cookie":""}}),t("BwButton",{staticClass:"CompleteSignupForm__button",attrs:{size:e.ButtonSize.LARGE,"full-width":"",working:e.status===e.Progress.WORKING},on:{click:e.completeSignup}},[e._v(" "+e._s(e.$t("account.complete_signup.controls.complete"))+" ")])],1),t("Slide",{attrs:{id:e.SignupSlide.COMPLETE}},[t("p",[e._v(e._s(e.$t("account.complete_signup.message.completed")))]),e.routing?t("BwButton",{staticClass:"CompleteSignupForm__button",attrs:{to:{name:e.Route.LOGIN},size:e.ButtonSize.LARGE,"full-width":""}},[e._v(" "+e._s(e.$t("authentication.log_in"))+" ")]):t("BwButton",{staticClass:"CompleteSignupForm__button",attrs:{size:e.ButtonSize.LARGE,"full-width":""},on:{click:function(t){return e.$emit("navigate",e.Route.LOGIN)}}},[e._v(" "+e._s(e.$t("authentication.log_in"))+" ")])],1)],1)],1)},he=[],me=i(96946),fe=i(18327);const _e={FORM:"form_step",BRANCH:"branch_step",COMPLETE:"complete_step"},ve={FORM:"form_slide",BRANCH:"branch_slide",COMPLETE:"complete_slide"};var ge=(0,o.defineComponent)({name:"CompleteSignupForm",components:{StepProgressBar:W.XT,Step:W.pn,Slides:Z.t,Slide:Z.q,Form:T.A,NewPasswordInputs:fe.t,ConditionsCheckbox:ie,NewsletterCheckbox:Q.H,BwButton:P.wQ,StoreFinder:ne["default"]},props:{routing:{type:Boolean,default:!1}},enums:{Progress:y.A,Route:A.qh,StepAlignment:W.Qv,SignupStep:_e,SignupSlide:ve,ButtonSize:P.Mp},data(){return{newPassword:"",newsletter:!1,branch:null,stepId:_e.FORM,slideId:ve.FORM,status:""}},computed:{token(){return this.$route.query.token},extra(){return{subscribe_newsletter:this.newsletter,favorite_branch:this.branch}},title(){return this.slideId!==ve.COMPLETE?this.$t("account.complete_signup"):this.$t("account.complete_signup.signup_is_completed")},stepSize(){switch(this.$mq){case"mobileS":return W.GZ.SMALL;case"mobileM":return W.GZ.MEDIUM;default:return W.GZ.LARGE}}},created(){(0,L.HF)(),this.token?this.isTokenExpired()&&this.navigateToLogin(n.EXPIRED_TOKEN):this.navigateToLogin(n.INVALID_TOKEN)},methods:{setBranch(e){this.branch=e?e.slug:null,this.stepId=e?_e.COMPLETE:_e.BRANCH},navigateToLogin(e){this.routing?this.$router.push({name:A.qh.LOGIN,query:{flash:e}}):this.$emit("navigate",A.qh.LOGIN,e)},isTokenExpired(){const e=1e3*Number(this.$route.query.expiry);return this.$route.query.expiry&&(0,me.SD)(e)},next(){this.stepId=_e.BRANCH,this.slideId=ve.BRANCH},completeSignup(){this.status=y.A.WORKING,(0,L.QE)(this.token,this.newPassword,this.extra).then(this.onSignupComplete).catch(this.onSignupError)},onSignupComplete(){this.status=y.A.COMPLETE,this.stepId=_e.COMPLETE,this.slideId=ve.COMPLETE},onSignupError(){this.navigateToLogin(n.INVALID_TOKEN)}}}),Se=ge,Ee=(0,u.A)(Se,pe,he,!1,null,"0c1d739f",null),Ce=Ee.exports,be=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("RequestResetPasswordContainer",{on:{complete:e.navigateToLogin},scopedSlots:e._u([{key:"default",fn:function({status:i,requestResetPassword:n}){return[t("Form",{staticClass:"RequestResetPasswordForm",attrs:{title:e.$t("account.auth.forgot_password"),description:e.$t("account.auth.message.forgot_password_instructions",{selfserviceName:e.selfserviceName}),locked:i===e.Progress.WORKING},on:{submit:function(t){return n({email:e.email})}},scopedSlots:e._u([{key:"default",fn:function(){return[t("Input",{staticClass:"RequestResetPasswordForm__input",attrs:{id:"email",name:"email",type:"email",label:e.$t("email"),autocomplete:"email","auto-focus":"",required:""},model:{value:e.email,callback:function(t){e.email=t},expression:"email"}})]},proxy:!0},{key:"footer",fn:function(){return[t("CollapseTransition",[i===e.Progress.ERROR?t("div",[t("Alert",{staticClass:"RequestResetPasswordForm__alert",attrs:{level:e.AlertLevel.ERROR,"icon-disabled":""}},[e._v(" "+e._s(e.$t("account.auth.message.error"))+" ")])],1):e._e()]),t("BwButton",{attrs:{type:"submit",size:e.ButtonSize.LARGE,"full-width":"",working:i===e.Progress.WORKING}},[e._v(" "+e._s(e.$t("account.auth.reset_password"))+" ")])]},proxy:!0}],null,!0)})]}}])})},ye=[],Ae=(0,o.defineComponent)({name:"RequestResetPasswordContainer",provide(){return{requestResetPasswordContainer:this}},data(){return{status:""}},methods:{requestResetPassword(e){this.status=y.A.WORKING,(0,L.bo)(e).then(this.onRequestComplete).catch(this.onRequestError)},onRequestComplete(){this.status=y.A.COMPLETE,this.$emit("complete")},onRequestError(){this.status=y.A.ERROR}},render(){return this.$scopedSlots.default({status:this.status,requestResetPassword:this.requestResetPassword})}}),Te=(0,o.defineComponent)({name:"RequestResetPasswordForm",components:{RequestResetPasswordContainer:Ae,CollapseTransition:f.Z,Form:T.A,Input:w.pd,Alert:_.Fc,BwButton:P.wQ},props:{routing:{type:Boolean,default:!1}},enums:{Progress:y.A,AlertLevel:_.NY,ButtonSize:P.Mp},data(){return{email:""}},created(){this.selfserviceName=X.A.legacy.selfserviceName},methods:{navigateToLogin(){this.routing?this.$router.push({name:A.Ay.LOGIN,query:{flash:n.PASSWORD_REQUESTED}}):this.$emit("navigate",A.Ay.LOGIN,n.PASSWORD_REQUESTED)}}}),we=Te,Ie=(0,u.A)(we,be,ye,!1,null,"721046cc",null),Re=Ie.exports,Pe=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("RequestResetPasswordContainer",{on:{complete:e.navigateToLogin},scopedSlots:e._u([{key:"default",fn:function({status:i,requestResetPassword:n}){return[t("Form",{staticClass:"RequestResetPasswordSubuserForm",attrs:{title:e.$t("account.auth.forgot_password"),locked:i===e.Progress.WORKING},on:{submit:function(t){return n(e.credentials)}},scopedSlots:e._u([{key:"default",fn:function(){return[t("CollapseTransition",[e.isUserLoginForm?t("div",[t("Input",{staticClass:"RequestResetPasswordSubuserForm__input",attrs:{id:"user-name",name:"user-name",type:"text",label:e.$t("account.user_name"),required:""},model:{value:e.userName,callback:function(t){e.userName=t},expression:"userName"}})],1):e._e()]),t("Input",{staticClass:"RequestResetPasswordSubuserForm__input",attrs:{id:"customer-id",name:"customer-id",type:"text",label:e.$t("account.customer_id"),autocomplete:"username","auto-focus":"",required:""},model:{value:e.customerId,callback:function(t){e.customerId=t},expression:"customerId"}}),t("Input",{staticClass:"RequestResetPasswordSubuserForm__input",attrs:{id:"email",name:"email",type:"email",label:e.$t("email"),autocomplete:"email",required:""},model:{value:e.email,callback:function(t){e.email=t},expression:"email"}})]},proxy:!0},{key:"footer",fn:function(){return[t("CollapseTransition",[i===e.Progress.ERROR?t("div",[t("Alert",{staticClass:"RequestResetPasswordSubuserForm__alert",attrs:{level:e.AlertLevel.ERROR,"icon-disabled":""}},[e._v(" "+e._s(e.$t("account.auth.message.error"))+" ")])],1):e._e()]),t("BwButton",{staticClass:"RequestResetPasswordSubuserForm__button",attrs:{type:"submit",size:e.ButtonSize.LARGE,"full-width":"",working:i===e.Progress.WORKING}},[e._v(" "+e._s(e.$t("account.auth.reset_password"))+" ")]),t("BwButton",{staticClass:"RequestResetPasswordSubuserForm__button",attrs:{size:e.ButtonSize.LARGE,"full-width":"","attention-level":2},on:{click:function(t){return t.preventDefault(),e.toggleForm.apply(null,arguments)}}},[e._v(" "+e._s(e.toggleLabel)+" ")])]},proxy:!0}],null,!0)})]}}])})},Oe=[],Le=(0,o.defineComponent)({name:"RequestResetPasswordSubuserForm",components:{RequestResetPasswordContainer:Ae,CollapseTransition:f.Z,Form:T.A,Input:w.pd,Alert:_.Fc,BwButton:P.wQ},props:{routing:{type:Boolean,default:!1}},enums:{Progress:y.A,AlertLevel:_.NY,ButtonSize:P.Mp},data(){return{isUserLoginForm:!1,userName:"",customerId:"",email:""}},computed:{credentials(){const e=this.userName,t=this.customerId,i=this.email;return this.isUserLoginForm?{user_name:e,customer_id:t,email:i}:{customer_id:t,email:i}},toggleLabel(){return this.isUserLoginForm?this.$t("account.auth.controls.reset_password_for_account"):this.$t("account.auth.controls.reset_password_for_user")}},methods:{navigateToLogin(){this.routing?this.$router.push({name:A.Ay.LOGIN,query:{flash:n.PASSWORD_REQUESTED}}):this.$emit("navigate",A.Ay.LOGIN,n.PASSWORD_REQUESTED)},toggleForm(){this.isUserLoginForm=!this.isUserLoginForm,this.clearInputs()},clearInputs(){this.userName="",this.customerId="",this.email=""}}}),Ne=Le,Be=(0,u.A)(Ne,Pe,Oe,!1,null,"20d3ec7d",null),De=Be.exports,Me=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("SkeletonTransition",{staticClass:"ResetPasswordForm",attrs:{ready:e.status===e.Progress.COMPLETE},scopedSlots:e._u([{key:"default",fn:function(){return[e.validToken&&e.status===e.Progress.COMPLETE?t("Form",{attrs:{title:e.$t("account.auth.reset_password"),locked:e.working},on:{submit:e.resetPassword},scopedSlots:e._u([{key:"default",fn:function(){return[e.isLoggedIn?t("Alert",{attrs:{level:e.AlertLevel.INFO,title:e.$t("account.auth.already_logged_in")},scopedSlots:e._u([{key:"default",fn:function(){return[t("div",{staticClass:"ResetPasswordForm__logoutAlert"},[e._v(" "+e._s(e.$t("account.auth.request_reset_password_while_logged_in"))+" ")]),t("BwButton",{on:{click:e.onClickLogout}},[e._v(e._s(e.$t("authentication.log_out")))])]},proxy:!0}],null,!1,2522510590)}):t("NewPasswordInputs",{ref:"newPasswordInputs",attrs:{"auto-focus":""},on:{input:t=>e.newPassword=t}})]},proxy:!0},e.isLoggedIn?null:{key:"footer",fn:function(){return[t("BwButton",{attrs:{"full-width":"",working:e.working,size:e.ButtonSize.LARGE,type:"submit"}},[e._v(" "+e._s(e.$t("account.auth.save_password"))+" ")])]},proxy:!0}],null,!0)}):e._e()]},proxy:!0},{key:"skeleton",fn:function(){return[t("SkeletonGraphic",{staticClass:"ResetPasswordForm__title",attrs:{width:"100%",height:"35px"}}),e._l(2,(function(e){return t("InputSkeleton",{key:`inputs${e}`,staticClass:"ResetPasswordForm__input"})})),t("ButtonSkeleton",{staticClass:"ResetPasswordForm__button",attrs:{size:e.ButtonSize.LARGE}})]},proxy:!0}])})},ke=[],xe=i(49403),Ue=i(61630),$e=i(42745),Ge=(0,o.defineComponent)({name:"ResetPasswordForm",components:{Form:T.A,Alert:_.Fc,NewPasswordInputs:fe.t,BwButton:P.wQ,SkeletonTransition:xe.l,ButtonSkeleton:P.k_,InputSkeleton:Ue.c,SkeletonGraphic:$e.s},props:{routing:{type:Boolean,default:!1}},enums:{Progress:y.A,ButtonSize:P.Mp,AlertLevel:_.NY},data(){return{newPassword:"",status:y.A.IDLE,validToken:!1,working:!1}},computed:{token(){return this.$route.query.token},isLoggedIn(){return window.isLoggedIn}},created(){this.token?this.isTokenExpired()?this.navigateToLogin(n.EXPIRED_TOKEN):this.validateChangeToken():this.navigateToLogin(n.INVALID_TOKEN)},methods:{validateChangeToken(){this.status=y.A.WORKING,(0,L.Wh)(this.token).then((e=>{this.status=y.A.COMPLETE,e?this.validToken=!0:this.navigateToResetPassword(n.INVALID_TOKEN)})).catch((()=>this.navigateToResetPassword(n.INVALID_TOKEN)))},navigateToLogin(e){this.routing?this.$router.push({name:A.Ay.LOGIN,query:{flash:e}}):this.$emit("navigate",A.Ay.LOGIN,e)},navigateToResetPassword(e){this.routing?this.$router.push({name:A.Ay.REQUEST_RESET_PASSWORD,query:{flash:e}}):this.$emit("navigate",A.Ay.REQUEST_RESET_PASSWORD,e)},isTokenExpired(){const e=1e3*Number(this.$route.query.expiry);return this.$route.query.expiry&&(0,me.SD)(e)},resetPassword(){this.working=!0,(0,L.QE)(this.token,this.newPassword).then(this.onResetComplete).catch(this.onResetError)},onResetComplete(){this.$refs.newPasswordInputs.clear(),this.navigateToLogin(n.PASSWORD_CHANGED)},onResetError(){this.navigateToLogin(n.INVALID_TOKEN)},onClickLogout(){(0,L.HF)().then((()=>window.location.reload()))}}}),Fe=Ge,Ve=(0,u.A)(Fe,Me,ke,!1,null,"a2973a34",null),ze=Ve.exports,He=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"AccountBenefitsBox"},[t("div",{staticClass:"AccountBenefitsBox__box"},[t("h1",{staticClass:"AccountBenefitsBox__title bw-text-heading-md"},[e._v(" "+e._s(e.$t("account.signup.title",{selfserviceName:e.selfserviceName}))+" ")]),t("AccountBenefitsList",{staticClass:"AccountBenefitsBox__benefits"}),t("FadeTransition",{attrs:{"transform-height":""}},[e.showSignupButton?t("div",[e.routing?t("BwButton",{attrs:{to:{name:e.Route.SIGNUP},shade:e.ButtonShade.LIGHT,size:e.ButtonSize.LARGE}},[e._v(" "+e._s(e.$t("account.signup.action"))+" ")]):t("BwButton",{attrs:{shade:e.ButtonShade.LIGHT,size:e.ButtonSize.LARGE},on:{click:function(t){return e.$emit("navigate",e.Route.SIGNUP)}}},[e._v(" "+e._s(e.$t("account.signup.action"))+" ")])],1):e._e()])],1),e.urlDealerSignup?t("a",{staticClass:"AccountBenefitsBox__bottomLink",attrs:{href:e.urlDealerSignup}},[e._v(" "+e._s(e.$t("account.signup.controls.business_customer"))+" ")]):e._e()])},qe=[],je=i(43699),We=i(23028),Ze=(0,o.defineComponent)({name:"AccountBenefitsBox",components:{AccountBenefitsList:je.A,BwButton:P.wQ,FadeTransition:We.A},props:{routing:{type:Boolean,default:!1},showSignupButton:{type:Boolean,default:!1}},enums:{Route:A.qh,ButtonShade:P.ap,ButtonSize:P.Mp},computed:{urlDealerSignup(){return X.A.legacy.urlDealerSignup}},created(){this.selfserviceName=X.A.legacy.selfserviceName}}),Qe=Ze,Ke=(0,u.A)(Qe,He,qe,!1,null,null,null),Ye=Ke.exports},84039:function(e,t,i){"use strict";i.d(t,{F:function(){return p},c:function(){return o}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"FlagGraphic"},[e.flagId===e.FlagId.DK?t("Icon",{attrs:{icon:"flag_dk"}}):e.flagId===e.FlagId.SE?t("Icon",{attrs:{icon:"flag_se"}}):e.flagId===e.FlagId.NO?t("Icon",{attrs:{icon:"flag_no"}}):e.flagId===e.FlagId.EU?t("svg",{staticClass:"CountryPicker__euIcon",attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 300 300"}},[t("g",{attrs:{id:"c",transform:"translate(150 30)",fill:"currentColor"}},[t("g",{attrs:{id:"b"}},[t("path",{attrs:{id:"a",d:"M0-20V0h10",transform:"rotate(18 0 -20)"}}),t("use",{attrs:{"xlink:href":"#a",transform:"scale(-1 1)"}})]),t("use",{attrs:{"xlink:href":"#b",transform:"rotate(72)"}}),t("use",{attrs:{"xlink:href":"#b",transform:"rotate(144)"}}),t("use",{attrs:{"xlink:href":"#b",transform:"rotate(216)"}}),t("use",{attrs:{"xlink:href":"#b",transform:"rotate(288)"}})]),t("use",{attrs:{"xlink:href":"#c",transform:"translate(60 16.08)"}}),t("use",{attrs:{"xlink:href":"#c",transform:"translate(103.92 60)"}}),t("use",{attrs:{"xlink:href":"#c",transform:"translate(120 120)"}}),t("use",{attrs:{"xlink:href":"#c",transform:"translate(103.92 180)"}}),t("use",{attrs:{"xlink:href":"#c",transform:"translate(60 223.92)"}}),t("use",{attrs:{"xlink:href":"#c",transform:"translate(0 240)"}}),t("use",{attrs:{"xlink:href":"#c",transform:"translate(-60 223.92)"}}),t("use",{attrs:{"xlink:href":"#c",transform:"translate(-103.92 180)"}}),t("use",{attrs:{"xlink:href":"#c",transform:"translate(-120 120)"}}),t("use",{attrs:{"xlink:href":"#c",transform:"translate(-103.92 60)"}}),t("use",{attrs:{"xlink:href":"#c",transform:"translate(-60 16.08)"}})]):e._e()],1)},s=[],a=i(62893),r=i(58594);const o=Object.freeze({DK:"DK",SE:"SE",NO:"NO",EU:"EU"});var l=(0,a.defineComponent)({name:"FlagGraphic",components:{Icon:r.A},props:{flagId:{type:String,default:o.DK,validator:e=>Object.values(o).includes(e)}},enums:{FlagId:o}}),c=l,u=i(81656),d=(0,u.A)(c,n,s,!1,null,null,null),p=d.exports},1372:function(e,t,i){"use strict";i.d(t,{Y:function(){return d}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("transition",{attrs:{name:"fade"},on:{"after-leave":e.afterLeave,"after-enter":function(t){return e.$emit("opened")}}},[e.isOpen?t("div",{class:["Lightbox",e.dark&&"Lightbox--dark",e.full&&"Lightbox--full",e.center&&"Lightbox--center"],style:{zIndex:e.zIndex},attrs:{tabindex:"-1"}},[t("div",{staticClass:"Lightbox__content",on:{touchstart:e.onTouchstart,mousedown:e.onMousedown,click:function(t){return t.target!==t.currentTarget?null:e.onClick.apply(null,arguments)}}},[e._t("default",null,{close:e.close})],2)]):e._e()])},s=[],a=i(62893),r=i(95353),o=(0,a.defineComponent)({name:"Lightbox",props:{dark:{type:Boolean,default:!1},locked:{type:Boolean,default:!1},closeOpenOverlays:{type:Boolean,default:!1},full:{type:Boolean,default:!1},closeDisabled:{type:Boolean,default:!1},center:{type:Boolean,default:!1}},data(){return{isOpen:!1,latestEvent:null}},computed:{...(0,r.L8)("overlay",["overlayZIndexesById","isOverlayOnTop"]),zIndex(){return this.overlayZIndexesById[this._uid]||9999}},beforeDestroy(){this.$removeOverlay(this._uid)},methods:{onTouchstart(e){this.latestEvent=e},onMousedown(e){this.latestEvent=e},onClick(e){const t=e.target===this.latestEvent.target;t&&this.close()},open(){this.isOpen=!0,this.$emit("open"),this.$addOverlay({id:this._uid,closeOpenOverlays:this.closeOpenOverlays,closeCallback:this.close}),this.$nextTick((()=>{var e,t;return null===(e=(t=this.$el).focus)||void 0===e?void 0:e.call(t)})),addEventListener("keyup",this.keyPressed)},close(){this.$nextTick((()=>{this.locked||this.closeDisabled?this.$emit("close-disallowed"):(this.isOpen=!1,this.$emit("close"),removeEventListener("keyup",this.keyPressed))}))},afterLeave(){this.$removeOverlay(this._uid)},keyPressed(e){"Escape"===e.key&&this.onEscapePressed()},onEscapePressed(){this.isOverlayOnTop(this._uid)&&this.close()}}}),l=o,c=i(81656),u=(0,c.A)(l,n,s,!1,null,"019f3022",null),d=u.exports},65379:function(e,t,i){"use strict";i.d(t,{N:function(){return d},Q:function(){return r}});i(62953);var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t(e.componentTag,e._b({tag:"component",class:["Link",...e.modifierClasses],attrs:{disabled:e.disabled,to:e.to,href:e.href,title:e.title?e.title:e.routeTitle},on:{click:function(t){return e.$emit("click",t)}}},"component",e.$attrs,!1),[e._t("default",(function(){return[e._v(" "+e._s(e.value)+" ")]}))],2)},s=[],a=i(62893);const r={DEFAULT:"DEFAULT",LIGHT:"LIGHT",DANGER:"DANGER"};var o=(0,a.defineComponent)({name:"Link",props:{value:{type:String,default:""},to:{type:[String,Object],default:void 0},href:{type:String,default:void 0},title:{type:String,default:void 0},disabled:{type:Boolean,default:!1},color:{type:String,default:r.LIGHT},underlineDisabled:{type:Boolean,default:!1}},computed:{componentTag(){return this.to?"router-link":this.href?"a":"button"},routeTitle(){if(this.to)return this.$router.resolve(this.to).route.meta.title},colorClass(){return{[r.DEFAULT]:"",[r.LIGHT]:"Link--light",[r.DANGER]:"Link--danger"}[this.color]},modifierClasses(){return[this.colorClass,this.disabled&&"Link--disabled",this.underlineDisabled&&"Link--underlineDisabled"]}}}),l=o,c=i(81656),u=(0,c.A)(l,n,s,!1,null,null,null),d=u.exports},36910:function(e,t,i){"use strict";i.d(t,{u:function(){return r},Q:function(){return d}});i(62953);var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:["MediaImage",...e.modifierClasses],style:[e.maintainAspectRatio?e.style:""]},[e.mediaError?e.hideFallback?e._e():t("svg",{staticClass:"MediaImage__error",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}},[t("path",{attrs:{fill:"currentColor",d:"M464 64H48C21.49 64 0 85.49 0 112v288c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm16 336c0 8.822-7.178 16-16 16H48c-8.822 0-16-7.178-16-16V112c0-8.822 7.178-16 16-16h416c8.822 0 16 7.178 16 16v288zM112 232c30.928 0 56-25.072 56-56s-25.072-56-56-56-56 25.072-56 56 25.072 56 56 56zm0-80c13.234 0 24 10.766 24 24s-10.766 24-24 24-24-10.766-24-24 10.766-24 24-24zm207.029 23.029L224 270.059l-31.029-31.029c-9.373-9.373-24.569-9.373-33.941 0l-88 88A23.998 23.998 0 0 0 64 344v28c0 6.627 5.373 12 12 12h360c6.627 0 12-5.373 12-12v-92c0-6.365-2.529-12.47-7.029-16.971l-88-88c-9.373-9.372-24.569-9.372-33.942 0zM416 352H96v-4.686l80-80 48 48 112-112 80 80V352z"}})]):t("img",{staticClass:"MediaImage__media",attrs:{src:e.source,width:e.width,height:e.height,loading:e.mediaLoading,alt:e.alt},on:{error:e.onError,load:function(t){return e.$emit("load")}}})])},s=[],a=(i(25440),i(62893));const r={LAZY:"LAZY",EAGER:"EAGER"};var o=(0,a.defineComponent)({name:"MediaImage",props:{media:{type:[Object,String],default:""},width:{type:Number,required:!0},height:{type:Number,required:!0},loading:{type:String,default:r.LAZY,validator:e=>Object.values(r).includes(e)},maintainAspectRatio:{type:Boolean,default:!1},alt:{type:String,default:""},cover:{type:Boolean,default:!1},hideFallback:{type:Boolean,default:!1}},enums:{ImageLoading:r},data(){return{mediaError:!1}},computed:{modifierClasses(){return[this.cover&&"MediaImage--cover",this.maintainAspectRatio&&"MediaImage--maintainAspectRatio"]},source(){const e=this.media;return e?"string"===typeof e?e:"dynamic"===e.type?this.getDynamicSrc(e.src,this.width,this.height):e.src||"":""},mediaLoading(){return this.loading===r.EAGER?"eager":"lazy"},aspectRatioStyle(){return`${this.width/100} / ${this.height/100}`},aspectRatioFallbackStyle(){return`${parseFloat(this.height/(this.width/100)).toFixed(2)}%`},imageWidthStyle(){return`calc(${this.height} / ${this.width} * 200vh)`},style(){return{"--media-image-maintain-aspect-ratio":this.aspectRatioStyle,"--media-image-maintain-aspect-ratio-fallback":this.aspectRatioFallbackStyle,"--media-image-width":this.imageWidthStyle}}},watch:{media(){this.mediaError=!1}},methods:{onError(){this.$emit("media-error"),this.mediaError=!0},getDynamicSrc(e,t,i){return e.replace("{width}",t).replace("{height}",i)}}}),l=o,c=i(81656),u=(0,c.A)(l,n,s,!1,null,null,null),d=u.exports},61673:function(e,t,i){"use strict";i.d(t,{M:function(){return r},n:function(){return E}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("SkeletonTransition",{class:["ProductAvailabilityList",e.layoutClass],attrs:{ready:e.availabilityItems.length>0,tag:"ul"},scopedSlots:e._u([{key:"default",fn:function(){return e._l(e.availabilityItems,(function(e){return t("ProductAvailabilityListItem",{key:e.type,staticClass:"ProductAvailabilityList__item",attrs:{"availability-item":e}})}))},proxy:!0},{key:"skeleton",fn:function(){return e._l(e.expectedNumberOfItems,(function(e){return t("SkeletonGraphic",{key:e,staticClass:"ProductAvailabilityList__item ProductAvailabilityList__itemSkeleton",attrs:{tag:"li",height:15}})}))},proxy:!0}])})},s=[],a=i(62893);const r=Object.freeze({INLINE:"INLINE",LIST:"LIST",GRID:"GRID",GRID_RIGHT:"GRID_RIGHT"});i(62953);var o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("li",{class:["ProductAvailabilityListItem",...e.modifierClasses],attrs:{title:e.availabilityItem.text_long}},[t("i",{class:[e.icon,"fas fa-fw ProductAvailabilityListItem__icon"]}),t("span",{staticClass:"ProductAvailabilityListItem__text"},[e._v(e._s(e.message))])])},l=[];i(42762);const c={special_delivery:"fa-truck",leveret:"fa-box",pickUp:"fa-home",concern:"fa-building",supplier:"fa-dolly-flatbed-alt",check:"fa-check",times:"fa-times"};var u=(0,a.defineComponent)({name:"ProductAvailabilityListItem",inject:{accountContainer:{default(){}}},props:{availabilityItem:{type:Object,required:!0},extended:{type:Boolean,default:!1}},computed:{icon(){return this.$isEnabled("PRODUCT_AVAILABILITY_ICONS")?c[this.availabilityItem.type]:this.availabilityItem.available||this.availabilityItem.ready?c.check:c.times},message(){var e,t,i,n;return this.$isEnabled("PRODUCT_AVAILABILITY_ICONS")?null!==(e=this.accountContainer)&&void 0!==e&&e.branch&&"pickUp"===this.availabilityItem.type?`${null===(i=this.availabilityItem.text)||void 0===i?void 0:i.trim()} (${this.accountContainer.branch.name})`:"supplier"===this.availabilityItem.type?(null===(n=this.availabilityItem.text)||void 0===n?void 0:n.trim())+" ved leverandør":null===(t=this.availabilityItem.text)||void 0===t?void 0:t.trim():this.availabilityItem.name},modifierClasses(){const e=this.availabilityItem.available,t=this.availabilityItem.ready,i="supplier"===this.availabilityItem.type;return[t&&!i&&"ProductAvailabilityListItem--ready",t&&i&&"ProductAvailabilityListItem--information",!t&&!e&&"ProductAvailabilityListItem--unavailable"]}}}),d=u,p=i(81656),h=(0,p.A)(d,o,l,!1,null,"72e21a21",null),m=h.exports,f=i(42745),_=i(49403),v=(0,a.defineComponent)({name:"ProductAvailabilityList",components:{ProductAvailabilityListItem:m,SkeletonTransition:_.l,SkeletonGraphic:f.s},props:{availabilityItems:{type:Array,default:()=>[]},layout:{type:String,default:r.GRID},expectedNumberOfItems:{type:Number,default:4}},computed:{layoutClass(){return{[r.GRID]:"ProductAvailabilityList",[r.INLINE]:"ProductAvailabilityList--inline",[r.LIST]:"ProductAvailabilityList--list",[r.GRID_RIGHT]:"ProductAvailabilityList--gridRight"}[this.layout]}}}),g=v,S=(0,p.A)(g,n,s,!1,null,"3ed0d74a",null),E=S.exports},2214:function(e,t,i){"use strict";i.d(t,{q:function(){return m}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:["ProductCarousel",e.isInModal&&"ProductCarousel--isInModal"]},[t("div",{staticClass:"ProductCarousel__header"},[e.title?t("h3",{class:["ProductCarousel__title",e.titleClass]},[e._v(" "+e._s(e.title)+" ")]):e._e(),e.linkButtonHref&&e.linkButtonText?t("BwButton",{attrs:{href:e.linkButtonHref,rounded:"","attention-level":2,size:e.ButtonSize.SMALL}},[e._v(" "+e._s(e.linkButtonText)+" ")]):e._e()],1),t("BwSwiper",{staticClass:"ProductCarousel__swiper",attrs:{"slides-per-view":6,"slides-per-group":6,"space-between":16,scrollbar:"","hover-navigation":"","overflow-gradient":e.overflowGradient,"overflow-gradient-color":e.overflowGradientColor,breakpoints:e.carouselBreakpoints}},e._l(e.products,(function(i,n){return t("BwSwiperSlide",{key:n},[t("ProductCard",{staticClass:"ProductCarousel__product",attrs:{id:i.node_id+e._uid,product:i,"additional-context":{index:n},size:e.ProductCardSize.SMALL,"availability-disabled":!e.$isEnabled("PRODUCT_AVAILABILITY_LIST"),"specifications-button-disabled":"","compare-button-disabled":""},on:{click:(t,i)=>e.$emit("click",t,i),"add-to-cart":function(t){return e.$emit("buy",i)}}})],1)})),1)],1)},s=[],a=i(62893),r=i(23347),o=i(24946),l=i(95927);const c={0:{slidesPerView:2.2,slidesPerGroup:2,spaceBetween:8},525:{slidesPerView:3.2,slidesPerGroup:3,spaceBetween:8},976:{slidesPerView:4,slidesPerGroup:4,spaceBetween:8},1200:{slidesPerView:5,slidesPerGroup:5,spaceBetween:8},1440:{slidesPerView:6,slidesPerGroup:6}};var u=(0,a.defineComponent)({name:"ProductCarousel",components:{BwSwiper:o.eR,BwSwiperSlide:o.xv,ProductCard:r.AA,BwButton:l.wQ},props:{products:{type:Array,required:!0},title:{type:String,default:""},largeTitle:{type:Boolean,default:!1},isInModal:{type:Boolean,default:!1},overflowGradient:{type:Boolean,default:!1},overflowGradientColor:{type:String,default:void 0},linkButtonHref:{type:String,default:void 0},linkButtonText:{type:String,default:void 0}},enums:{ProductCardSize:r.Bz,ButtonSize:l.Mp},computed:{titleClass(){return this.largeTitle?"bw-text-heading-md":"bw-text-heading-sm"}},created(){this.carouselBreakpoints=c}}),d=u,p=i(81656),h=(0,p.A)(d,n,s,!1,null,"085c20fe",null),m=h.exports},59805:function(e,t,i){"use strict";i.d(t,{Ak:function(){return s.A},NM:function(){return n["default"]},O:function(){return s.O}});var n=i(69678),s=i(58756)},58756:function(e,t,i){"use strict";i.d(t,{A:function(){return s},O:function(){return n}});const n={SMALL:"SMALL",MEDIUM:"MEDIUM",LARGE:"LARGE",EXTRA_LARGE:"EXTRA_LARGE"},s={LEFT:"LEFT",RIGHT:"RIGHT",CENTER:"CENTER"}},52723:function(e,t,i){"use strict";i.d(t,{G:function(){return n}});const n={CENTER:"center",TOP:"top",STICKY:"sticky"}},44537:function(e,t,i){"use strict";i.d(t,{q:function(){return v},t:function(){return d}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"Slides"},[e._t("default")],2)},s=[],a=i(62893),r=i(69743),o=(0,a.defineComponent)({name:"Slides",provide(){return{slides:this}},props:{activeSlide:{type:String,default:""}},watch:{activeSlide(e,t){e!==t&&(0,r.eG)()}}}),l=o,c=i(81656),u=(0,c.A)(l,n,s,!1,null,"7cafd257",null),d=u.exports,p=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("transition",{attrs:{name:"fade"}},[t("div",{directives:[{name:"show",rawName:"v-show",value:e.active,expression:"active"}],staticClass:"Slide"},[e._t("default")],2)])},h=[],m=(0,a.defineComponent)({name:"Slide",inject:{slides:{default(){console.error("Missing Slides")}}},props:{id:{type:String,required:!0}},computed:{active(){return this.slides.activeSlide===this.id}},watch:{active(e,t){e&&!t&&this.$emit("enter")}}}),f=m,_=(0,c.A)(f,p,h,!1,null,"0ee8307a",null),v=_.exports},79292:function(e,t,i){"use strict";i.d(t,{pn:function(){return g},Qv:function(){return n},XT:function(){return p},GZ:function(){return s}});const n={LEFT:"left",CENTER:"center",RIGHT:"right",JUSTIFY:"justify",VERTICAL:"vertical"},s={SMALL:"small",MEDIUM:"medium",LARGE:"large"};var a=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:["StepProgressBar",`StepProgressBar--${e.alignment}`,`StepProgressBar--${e.size}`]},[e._t("default")],2)},r=[],o=(i(44114),i(62893)),l=(0,o.defineComponent)({name:"StepProgressBar",provide(){return{stepProgressBar:this}},props:{activeStep:{type:String,default:""},completeSteps:{type:Array,default:void 0},activeIsComplete:{type:Boolean,default:!1},numbered:{type:Boolean,default:!1},alignment:{type:String,default:n.LEFT},size:{type:String,default:s.LARGE},clickable:{type:Boolean,default:!1}},data(){return{steps:[]}},computed:{orderedSteps(){const e=[];let t=this.firstStep();while(t)e.push(t),t=this.nextStep(t);return e},indexOfLastTouched(){for(let t=this.orderedSteps.length-1;t>=0;t--){var e;const i=this.orderedSteps[t],n=i.id===this.activeStep||(null===(e=this.completeSteps)||void 0===e?void 0:e.includes(i.id));if(n)return t}return-1}},methods:{registerStep(e){this.steps.push(e)},unregisterStep(e){const t=this.steps.indexOf(e);t>-1&&this.steps.splice(t,1)},firstStep(){return this.steps.find((e=>null===e.$el.previousElementSibling))},nextStep(e){return this.steps.find((t=>t.$el===e.$el.nextElementSibling))},emitStepClick(e){this.$emit("click",e)}}}),c=l,u=i(81656),d=(0,u.A)(c,a,r,!1,null,"da720e28",null),p=d.exports,h=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{key:e.id,class:["Step",`Step--${e.alignment}`,e.active&&"Step--active",e.complete&&"Step--complete",e.touched&&"Step--touched",e.lastTouched&&"Step--lastTouched",e.isClickable&&"Step--clickable"]},[t("div",{staticClass:"Step__bar"},[t("div",{staticClass:"Step__iconFrame",on:{click:e.stepClick}},[e.showNumber?t("p",{staticClass:"Step__number"},[e._v(e._s(e.stepIndex+1))]):t("i",{class:["Step__icon",e.icon]})])]),t("div",{staticClass:"Step__content"},[t("div",{staticClass:"Step__label"},[e.kicker?t("span",{staticClass:"Step__kicker",on:{click:e.stepClick}},[e._v(e._s(e.kicker))]):e._e(),e.title?t("span",{staticClass:"Step__title",on:{click:e.stepClick}},[e._v(e._s(e.title))]):e._e(),e.subtitle?t("span",{staticClass:"Step__subtitle",on:{click:e.stepClick}},[e._v(e._s(e.subtitle))]):e._e()]),e._t("default")],2)])},m=[],f=(0,o.defineComponent)({name:"Step",inject:{stepProgressBar:{default(){console.error("Missing StepProgressBar")}}},props:{id:{type:String,required:!0},icon:{type:String,default:"far fa-check"},kicker:{type:String,default:""},title:{type:String,default:""},subtitle:{type:String,default:""},clickable:{type:Boolean,default:void 0}},computed:{stepIndex(){return this.stepProgressBar.orderedSteps.indexOf(this)},alignment(){return this.stepProgressBar.alignment},showNumber(){return this.stepProgressBar.numbered&&!this.complete},active(){return this.stepProgressBar.activeStep===this.id},complete(){var e,t;return null!==(e=null===(t=this.stepProgressBar.completeSteps)||void 0===t?void 0:t.includes(this.id))&&void 0!==e?e:this.defaultComplete},defaultComplete(){return this.stepProgressBar.activeIsComplete?this.touched:this.touched&&!this.lastTouched},touched(){return this.stepProgressBar.indexOfLastTouched>=this.stepIndex},lastTouched(){return this.stepProgressBar.indexOfLastTouched===this.stepIndex},isClickable(){var e;return null!==(e=this.clickable)&&void 0!==e?e:this.stepProgressBar.clickable}},mounted(){this.stepProgressBar.registerStep(this)},destroyed(){this.stepProgressBar.unregisterStep(this)},methods:{stepClick(){this.isClickable&&this.stepProgressBar.emitStepClick(this.id)}}}),_=f,v=(0,u.A)(_,h,m,!1,null,"5e6cc914",null),g=v.exports},31158:function(e,t,i){"use strict";i.d(t,{bf:function(){return g},M0:function(){return d},KA:function(){return r}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"wrapper"},[t("div",{staticClass:"inner"},[t("svg",{class:["Spinner","SpinnerSvg",e.size===e.searchIndicatorSizes.SMALL?"SpinnerSvg--small":void 0],attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100"}},[t("circle",{attrs:{xmlns:"http://www.w3.org/2000/svg",cx:"50",cy:"50",fill:"none","stroke-width":"4",r:"30","stroke-dasharray":"70"}})]),e.label?t("div",{staticStyle:{"margin-top":"20px"}},[e._v(e._s(e.label))]):e._e()])])},s=[],a=i(62893);const r={NORMAL:"NORMAL",SMALL:"SMALL"};var o=(0,a.defineComponent)({name:"SearchIndicator",props:{label:{type:String,default:""},size:{type:String,default:r.NORMAL}},enums:{searchIndicatorSizes:r}}),l=o,c=i(81656),u=(0,c.A)(l,n,s,!1,null,"10cf34a5",null),d=u.exports,p=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"BlockCollapse",attrs:{"aria-expanded":!!e.isExpanded||e.isExpanded.toString()}},[t("div",{staticClass:"BlockCollapse__header",on:{click:e.toggleExpand}},[t("span",{staticClass:"BlockCollapse__title"},[e._v(e._s(e.title))])]),t("CollapseTransition",[t("div",{directives:[{name:"show",rawName:"v-show",value:e.isExpanded,expression:"isExpanded"}]},[t("div",{staticClass:"BlockCollapse__content"},[e._t("default")],2)])])],1)},h=[],m=i(53059),f=(0,a.defineComponent)({name:"BlockCollapse",components:{CollapseTransition:m.Z},props:{title:{type:String,default:""},expanded:{type:Boolean,default:!1}},data(){return{isExpanded:!1}},watch:{expanded:function(e){this.isExpanded=e}},created(){this.isExpanded=this.expanded},methods:{toggleExpand(){this.isExpanded=!this.isExpanded}}}),_=f,v=(0,c.A)(_,p,h,!1,null,null,null),g=v.exports},78186:function(e,t,i){"use strict";i.d(t,{q:function(){return n["default"]},x:function(){return p}});var n=i(55494),s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"UserCardSkeleton"},[t("SkeletonGraphic",{attrs:{width:50,height:50,"border-radius":5}}),t("div",{staticClass:"UserCardSkeleton__details"},[t("SkeletonGraphic",{attrs:{width:80,height:20}}),t("SkeletonGraphic",{attrs:{width:140,height:18}})],1)],1)},a=[],r=i(62893),o=i(42745),l=(0,r.defineComponent)({name:"UserCardSkeleton",components:{SkeletonGraphic:o.s}}),c=l,u=i(81656),d=(0,u.A)(c,s,a,!1,null,"b639c1e2",null),p=d.exports},15441:function(e,t,i){"use strict";i.d(t,{M:function(){return u.Mp},J:function(){return _}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{directives:[{name:"visibility",rawName:"v-visibility:[isErpCartEnabled]",value:t=>e.isVisible=t,expression:"visible => (isVisible = visible)",arg:e.isErpCartEnabled}],class:["BuyButton",e.modifierClasses]},[t("div",{staticClass:"BuyButton__content"},[e.quantityDisabled?e._e():t("input",{directives:[{name:"model",rawName:"v-model.number",value:e.quantity,expression:"quantity",modifiers:{number:!0}}],staticClass:"BuyButton__quantity",attrs:{name:"quantity",type:"number",pattern:"[0-9]",step:e.packageQuantity,min:e.minimumQuantity,disabled:!e.hasInventory},domProps:{value:e.quantity},on:{change:function(t){return e.onQuantityChanged(t.target.value)},input:function(t){t.target.composing||(e.quantity=e._n(t.target.value))},blur:function(t){return e.$forceUpdate()}}}),t("BwButton",{staticClass:"BuyButton__button",attrs:{"color-scheme":e.isErpCartEnabled?e.ButtonColorScheme.DEFAULT:e.ButtonColorScheme.CTA,"count-color-scheme":e.CountIconColorScheme.DANGER,size:e.size,count:e.inCartQuantity||0,disabled:!e.hasInventory},on:{click:e.addToCart},scopedSlots:e._u([{key:"content",fn:function(){return[t("div",{staticClass:"BuyButton__buttonContent"},[t("span",{staticClass:"BuyButton__spinner bw-loading-spinner"}),t("span",{staticClass:"BuyButton__text"},[e._v(" "+e._s(e.buyButtonText)+" ")])])]},proxy:!0}])}),e.hasRemoveButton?t("BwButton",{staticClass:"BuyButton__remove",attrs:{size:e.size,shade:e.ButtonShade.LIGHT,"fa-icon-class":"far fa-trash"},nativeOn:{click:function(t){return e.removeFromCart.apply(null,arguments)}}}):e._e()],1),e.state===e.Progress.ERROR?t("div",{class:["BuyButton__error bw-hint bw-hint--danger",e.smallHintSize&&"bw-hint--small"]},[e._v(" "+e._s(e.$t("error_message"))+" ")]):e._e(),e.$isEnabled("ERP_CART")&&!e.isSuggestionsFlowDisabled?t("ProductSuggestionsButton",{staticClass:"BuyButton__suggestionsButton",attrs:{size:e.ButtonSize.SMALL,product:e.product}}):e._e()],1)},s=[],a=(i(62953),i(62893)),r=i(21190),o=i(95353),l=i(50326),c=i(5231),u=i(95927),d=i(1135),p=(0,a.defineComponent)({name:"BuyButton",components:{BwButton:u.wQ,ProductSuggestionsButton:()=>i.e(57).then(i.bind(i,40057))},inject:{context:{default(){return window.context||{}}}},props:{quantityDisabled:{type:Boolean,default:!1},size:{type:String,default:void 0},product:{type:Object,required:!0},initialQuantity:{type:Number,default:void 0},removeButtonDisabled:{type:Boolean,default:!1},customText:{type:String,default:void 0}},enums:{Progress:l.k,ButtonSize:u.Mp,ButtonColorScheme:u.zy,ButtonShade:u.ap,CountIconColorScheme:u.fm},data(){return{quantity:1,packageQuantity:this.product.package_quantity||1,minimumQuantity:(this.packageQuantity>this.product.minimum_quantity?this.packageQuantity:this.product.minimum_quantity)||1,isVisible:!1,state:l.k.IDLE,debounceTimer:null}},computed:{...(0,o.aH)("xal",["branch"]),...(0,o.L8)("inventory",["getInventory"]),...(0,o.L8)({getQuantityByItemNumber:"xal/cart/getQuantityByItemNumber"}),modifierClasses(){return[this.stateClass,this.isErpCartEnabled&&"BuyButton--erp",this.hasRemoveButton&&"BuyButton--hasRemoveButton"]},hasRemoveButton(){return this.isErpCartEnabled&&this.inCartQuantity>0&&!this.removeButtonDisabled},stateClass(){return{[l.k.IDLE]:"",[l.k.WORKING]:"BuyButton--working",[l.k.COMPLETE]:"BuyButton--complete",[l.k.ERROR]:"BuyButton--error"}[this.state]},smallHintSize(){return this.size===u.Mp.EXTRA_SMALL||this.size===u.Mp.SMALL},isErpCartEnabled(){return this.$isEnabled("ERP_CART")},buyButtonText(){return this.hasInventory?this.customText?this.customText:r.A.legacy.buyButtonText:this.$t("inventory.status.not_available")},inventory(){if(this.branch&&this.branch.slug)return this.getInventory({itemNumber:this.product.item_number,branch:this.branch.slug})},hasInventory(){return!this.isErpCartEnabled||!(this.inventory&&this.inventory.stock&&0===this.inventory.stock.available&&!1===this.inventory.stock.is_restockable)},inCartQuantity(){return this.isErpCartEnabled?this.getQuantityByItemNumber(this.product.item_number):null},isSuggestionsFlowDisabled(){return this.context.isProductSuggestionsFlow}},watch:{inCartQuantity:{immediate:!0,handler(e,t){e!==t&&this.$emit("cart-quantity-change",e)}},quantity:{immediate:!1,handler(e,t){this.quantityDisabled||e!==t&&(this.debounceTimer&&clearTimeout(this.debounceTimer),this.debounceTimer=setTimeout((()=>{this.$emit("quantity-change",e)}),300))}}},created(){var e;const t=null===(e=this.product.supplementary)||void 0===e?void 0:e.recommended_quantity,i=this.initialQuantity||t||1;this.quantity=window.getValidatedProductQuantity(i,this.minimumQuantity,this.packageQuantity),this.isErpCartEnabled&&(this.addfetchInventoryWatch("branch"),this.addfetchInventoryWatch("isVisible",this.visible))},methods:{onQuantityChanged(e){this.quantityDisabled||(this.quantity=window.getValidatedProductQuantity(e,this.minimumQuantity,this.packageQuantity))},addfetchInventoryWatch(e,t=!1){this.$watch(e,(e=>{var t;this.product.item_number&&null!==(t=this.branch)&&void 0!==t&&t.slug&&this.fetchInventory({itemNumber:this.product.item_number,branch:this.branch.slug})}),{immediate:t})},...(0,o.i0)("inventory",["fetchInventory"]),...(0,o.i0)({addLineXAL:"xal/cart/addLine",removeLineXAL:"xal/cart/removeLine"}),addToCart(){if(this.$emit("add-to-cart",{product:this.product,quantity:this.quantity}),this.state=l.k.WORKING,this.isErpCartEnabled){const e={title:this.product.title,item_number:this.product.item_number,quantity:this.quantity,picked_location:c.Q.STORAGE,url:this.product.url};this.context.vehicle&&this.context.vehicle.id&&(e.license_plate=this.context.vehicle.registration_plate,e.vehicle_id=this.context.vehicle.id),this.addLineXAL(e).then((()=>{this.onAddToCartSuccess()})).catch((()=>{this.onAddToCartError()}))}else{const e=({status:e}={})=>{e===d.P.ERROR?this.onAddToCartError():e===d.P.CANCELED?this.onAddToCartCanceled():this.onAddToCartSuccess()},t={...this.product,quantity:this.quantity};this.$actions.run("addToCart",t,{context:this.context,onAddToCartFinally:e})}},onAddToCartError(){this.state=l.k.ERROR,setTimeout((()=>{this.state=l.k.IDLE}),5e3)},onAddToCartCanceled(){this.state=l.k.IDLE},onAddToCartSuccess(){this.state=l.k.COMPLETE,this.isSuggestionsFlowDisabled||this.$actions.run("promptProductSuggestionsFlow",this.product,{quantity:this.quantity}),setTimeout((()=>{this.state=l.k.IDLE}),1e3)},removeFromCart(){this.$emit("removeCart",this.product),this.isErpCartEnabled&&this.removeLineXAL({item_number:this.product.item_number})}}}),h=p,m=i(81656),f=(0,m.A)(h,n,s,!1,null,null,null),_=f.exports},95927:function(e,t,i){"use strict";i.d(t,{zy:function(){return o.zy},ap:function(){return o.ap},Mp:function(){return o.Mp},k_:function(){return p},wQ:function(){return n["default"]},fm:function(){return h.f}});var n=i(14844),s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:["ButtonSkeleton bw-skeleton",e.modifierClasses]})},a=[],r=i(62893),o=i(86433),l=(0,r.defineComponent)({name:"ButtonSkeleton",props:{size:{type:String,default:o.Mp.MEDIUM,validator:e=>Object.values(o.Mp).includes(e)},fullWidth:{type:Boolean,default:!1}},computed:{modifierClasses(){return[this.sizeClass,this.fullWidth&&"ButtonSkeleton--fullWidth"]},sizeClass(){return{[o.Mp.EXTRA_SMALL]:"ButtonSkeleton--extraSmall",[o.Mp.SMALL]:"ButtonSkeleton--small",[o.Mp.MEDIUM]:"",[o.Mp.LARGE]:"ButtonSkeleton--large",[o.Mp.EXTRA_LARGE]:"ButtonSkeleton--extraLarge"}[this.size]}}}),c=l,u=i(81656),d=(0,u.A)(c,s,a,!1,null,"d0256e60",null),p=d.exports,h=i(6881)},86433:function(e,t,i){"use strict";i.d(t,{Mp:function(){return n},ap:function(){return s},zy:function(){return a}});const n=Object.freeze({EXTRA_LARGE:"EXTRA_LARGE",LARGE:"LARGE",MEDIUM:"MEDIUM",SMALL:"SMALL",EXTRA_SMALL:"EXTRA_SMALL"}),s=Object.freeze({DARK:"DARK",LIGHT:"LIGHT"}),a=Object.freeze({DEFAULT:"DEFAULT",DANGER:"DANGER",SUCCESS:"SUCCESS",CTA:"CTA"});Object.freeze({DEFAULT:"DEFAULT",SUCCESS:"SUCCESS",WARNING:"WARNING",DANGER:"DANGER"})},97768:function(e,t,i){"use strict";i.d(t,{Jn:function(){return h},iX:function(){return r},yb:function(){return o},tP:function(){return l}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("button",{class:["CloseButton",e.modifierClasses],attrs:{"aria-label":e.$t("action.close")},on:{click:function(t){return t.preventDefault(),t.stopPropagation(),e.$emit("click")}}},[t("i",{class:["Close__icon",e.closeIconClass,"fa-fw"]})])},s=[],a=i(62893);const r=Object.freeze({DEFAULT:"DEFAULT",ARROW_LEFT:"ARROW_LEFT",ARROW_RIGHT:"ARROW_RIGHT"}),o=Object.freeze({SMALL:"SMALL",MEDIUM:"MEDIUM",LARGE:"LARGE",AUTO:"AUTO"}),l=Object.freeze({DEFAULT:"DEFAULT",INVERTED:"INVERTED",CURRENT_COLOR:"CURRENT_COLOR"});var c=(0,a.defineComponent)({name:"CloseButton",props:{type:{type:String,default:l.DEFAULT,validator:e=>Object.values(l).includes(e)},filled:{type:Boolean,default:!1},size:{type:String,default:o.MEDIUM,validator:e=>Object.values(o).includes(e)},icon:{type:String,default:r.DEFAULT,validator:e=>Object.values(r).includes(e)}},computed:{modifierClasses(){return[this.sizeClass,this.typeClass,this.filled&&"CloseButton--filled"]},typeClass(){return{[l.DEFAULT]:"",[l.INVERTED]:"CloseButton--inverted",[l.CURRENT_COLOR]:"CloseButton--currentColor"}[this.type]},closeIconClass(){return{[r.DEFAULT]:"fal fa-times",[r.ARROW_LEFT]:"far fa-arrow-left",[r.ARROW_RIGHT]:"far fa-arrow-right"}[this.icon]},sizeClass(){return{[o.SMALL]:"CloseButton--small",[o.MEDIUM]:"",[o.LARGE]:"CloseButton--large",[o.AUTO]:"CloseButton--auto"}[this.size]}}}),u=c,d=i(81656),p=(0,d.A)(u,n,s,!1,null,"318c5656",null),h=p.exports},15642:function(e,t,i){"use strict";i.d(t,{H:function(){return h}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"NewsletterCheckbox"},[t("BwCheckbox",{attrs:{id:e.id,value:e.checked},on:{change:function(t){return e.$emit("change",t)}}},[t("div",{staticClass:"NewsletterCheckbox__label"},[e._v(" "+e._s(e.$t("account.auth.subscribe_to_newsletter"))+" ")]),t("i18n",{staticClass:"NewsletterCheckbox__conditions",attrs:{path:"newsletter.subscribe_conditions",tag:"div"},scopedSlots:e._u([{key:"organizationLong",fn:function(){return[e._v(e._s(e.organizationNameLong))]},proxy:!0},{key:"organization",fn:function(){return[e._v(e._s(e.organizationName))]},proxy:!0},{key:"terms",fn:function(){return[t("Link",{staticClass:"NewsletterCheckbox__link",attrs:{target:"_blank",title:e.$t("account.auth.accept.newsletter")},on:{click:function(t){return t.preventDefault(),e.$actions.run("promptNodeContentModal",e.nodeIdNewsLetterTerms)}}},[e._v(" "+e._s(e.$t("account.auth.requirements").toLowerCase())+" ")])]},proxy:!0},{key:"privacyPolicy",fn:function(){return[t("Link",{staticClass:"NewsletterCheckbox__link",attrs:{target:"_blank",title:e.$t("account.auth.accept.privacy_policy")},on:{click:function(t){return t.preventDefault(),e.$actions.run("promptNodeContentModal",e.nodeIdPrivacyPolicy)}}},[e._v(" "+e._s(e.$t("account.auth.accept.privacy_policy").toLowerCase())+" ")])]},proxy:!0}])})],1)],1)},s=[],a=i(62893),r=i(21190),o=i(46972),l=i(65379),c=(0,a.defineComponent)({name:"NewsletterCheckbox",components:{BwCheckbox:o.n,Link:l.N},model:{prop:"checked",event:"change"},props:{id:{type:String,required:!0},checked:{type:Boolean,default:!1}},created(){this.nodeIdNewsLetterTerms=r.A.legacy.customerService.nodeIdNewsLetterTerms,this.nodeUrlNewsLetterTerms=r.A.legacy.customerService.nodeUrlNewsLetterTerms,this.nodeIdPrivacyPolicy=r.A.legacy.customerService.nodeIdPrivacyPolicy,this.nodeUrlPrivacyPolicy=r.A.legacy.customerService.nodeUrlPrivacyPolicy,this.organizationName=r.A.legacy.organizationName,this.organizationNameLong=r.A.legacy.organizationNameLong}}),u=c,d=i(81656),p=(0,d.A)(u,n,s,!1,null,"164adde2",null),h=p.exports},39820:function(e,t,i){"use strict";i.d(t,{N$:function(){return r.N$},Sb:function(){return r.Sb},Qu:function(){return m},YG:function(){return c},N5:function(){return g}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return e.hasChips?t("BwChipGroup",{attrs:{stacked:e.stacked,alignment:e.alignment,size:e.size,"responsive-size":e.responsiveSize}},[e._t("before"),e._t("default",(function(){return[e.isDemo?t("ProductChip",{attrs:{type:e.ProductChipType.DEMO}},[e._v(" "+e._s(e.$t("product.labels.demo"))+" ")]):e._e(),e.hasFixedPriceChip&&e.product.label?t("ProductChip",{attrs:{type:e.ProductChipType.FIXED_PRICE,capitalized:""}},[e._v(" "+e._s(e.product.label.toLowerCase())+" ")]):e._e(),e.hasSaleChip&&e.product.label?t("ProductChip",{staticClass:"bw-text-capitalize",attrs:{type:e.ProductChipType.SALE}},[e._v(" "+e._s(e.product.label.toLowerCase())+" ")]):e._e(),e.hasOutletChip&&e.product.label?t("ProductChip",{staticClass:"bw-text-capitalize",attrs:{type:e.ProductChipType.OUTLET}},[e._v(" "+e._s(e.product.label.toLowerCase())+" ")]):e._e(),e.hasPopularityChip?t("ProductChip",{attrs:{type:e.ProductChipType.POPULAR}},[e._v(" "+e._s(e.$t("product.labels.popular"))+" ")]):e._e(),e.isBlackFriday&&e.product.label?t("ProductChip",{attrs:{type:e.ProductChipType.BLACK_FRIDAY,capitalized:""}},[e._v(" "+e._s(e.product.label.toLowerCase())+" ")]):e._e(),e.hasNewChip?t("ProductChip",{attrs:{type:e.ProductChipType.NEW}},[e._v(" "+e._s(e.$t("product.labels.new"))+" ")]):e._e(),e.hasBoschExtraTag?t("ProductChip",{attrs:{type:e.ProductChipType.BOSCH_EXTRA}},[e._v(" e"),t("span",[e._v("X")]),e._v("tra ")]):e._e(),e.has3pmsfTag?t("ProductChip",{attrs:{"icon-before":"",type:e.ProductChipType["3PMSF"]},scopedSlots:e._u([{key:"before",fn:function(){return[t("img",{attrs:{src:"https://cdn.thg.dk/DAT/dom/img/ikoner/icon-3pmsf.svg",height:"14",width:"14",loading:"lazy",alt:e.$t("product.labels.3pmsf")}})]},proxy:!0},{key:"default",fn:function(){return[e._v(" "+e._s(e.$t("product.labels.3pmsf"))+" ")]},proxy:!0}],null,!1,3538638196)}):e._e()]})),e._t("after")],2):e._e()},s=[],a=i(62893),r=i(56940),o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("BwChip",{class:["ProductChip",e.modifierClasses],attrs:{tag:e.componentTag,to:e.to,href:e.href,"icon-before":e.iconBefore,"icon-class":e.iconClass,capitalized:e.capitalized,size:e.size,"responsive-size":e.responsiveSize},scopedSlots:e._u([e.hasBeforeSlot()?{key:"before",fn:function(){return[e._t("before")]},proxy:!0}:null],null,!0)},[e._t("default",(function(){return[e._v(e._s(e.value))]}))],2)},l=[];const c=Object.freeze({DEFAULT:"DEFAULT",SALE:"SALE",NEW:"NEW",OUTLET:"OUTLET",POPULAR:"POPULAR",DEMO:"DEMO",PRICE_GUARANTEE:"PRICE_GUARANTEE",FIXED_PRICE:"FIXED_PRICE",RECOMMENDED:"RECOMMENDED",BLACK_FRIDAY:"BLACK_FRIDAY",BOSCH_EXTRA:"BOSCH_EXTRA","3PMSF":"3PMSF"});var u=(0,a.defineComponent)({name:"ProductChip",components:{BwChip:r.w1},props:{to:{type:[String,Object],default:null},href:{type:String,default:null},type:{type:String,default:c.DEFAULT,validator:e=>Object.values(c).includes(e)},value:{type:String,default:""},clickable:{type:Boolean,default:!1},iconBefore:{type:Boolean,default:!1},iconClass:{type:String,default:""},capitalized:{type:Boolean,default:!1},size:{type:String,default:void 0},responsiveSize:{type:Boolean,default:!1}},computed:{modifierClasses(){return[this.isClickable&&"ProductChip--clickable",this.typeClass]},typeClass(){return{[c.DEFAULT]:"",[c.POPULAR]:"ProductChip--popular",[c.OUTLET]:"ProductChip--outlet",[c.SALE]:"ProductChip--sale",[c.NEW]:"ProductChip--new",[c.DEMO]:"ProductChip--demo",[c.FIXED_PRICE]:"ProductChip--fixedPrice",[c.PRICE_GUARANTEE]:"ProductChip--priceGuarantee",[c.RECOMMENDED]:"ProductChip--recommended",[c.BLACK_FRIDAY]:"ProductChip--blackFriday",[c.BOSCH_EXTRA]:"ProductChip--boschExtra",[c["3PMSF"]]:"ProductChip--3pmsf"}[this.type]},componentTag(){return this.to?"router-link":this.href?"a":this.clickable?"button":"div"},isClickable(){return!!this.to||!!this.href||this.clickable}},methods:{hasBeforeSlot(){return!!this.$scopedSlots.before}}}),d=u,p=i(81656),h=(0,p.A)(d,o,l,!1,null,null,null),m=h.exports,f=(0,a.defineComponent)({name:"ProductChips",components:{BwChipGroup:r.t3,ProductChip:m},props:{product:{type:Object,required:!0},stacked:{type:Boolean,default:!1},alignment:{type:String,default:void 0},size:{type:String,default:void 0},responsiveSize:{type:Boolean,default:!1}},enums:{ProductChipType:c},computed:{showSaleLabel(){var e;return!this.isBlackFriday&&!this.product.is_demo&&"OUTLET"!==this.product.label&&(null===(e=this.product.label)||void 0===e?void 0:e.toLowerCase())!==this.$t("product.labels.sale").toLowerCase()&&!!this.product.is_sale},hasChips(){return this.hasFixedPriceChip||this.hasSaleChip||this.hasOutletChip||this.hasNewChip||this.hasPopularityChip||this.isBlackFriday||this.hasBoschExtraTag||this.has3pmsfTag||this.hasBeforeSlot()||this.hasAfterSlot()},hasSaleChip(){return this.showSaleLabel&&this.product.label&&this.product.is_sale&&!this.hasFixedPriceChip},hasOutletChip(){return"OUTLET"===this.product.label},hasNewChip(){return this.product.is_new},hasPopularityChip(){var e;return null===(e=this.product.tags)||void 0===e?void 0:e.includes("popular")},hasFixedPriceChip(){return"FAST LAV PRIS"===this.product.label},isBlackFriday(){var e,t,i;return"black week"===(null===(e=this.product.label)||void 0===e?void 0:e.toLowerCase())||"black weekend"===(null===(t=this.product.label)||void 0===t?void 0:t.toLowerCase())||"black friday"===(null===(i=this.product.label)||void 0===i?void 0:i.toLowerCase())},isDemo(){return this.product.is_demo},hasBoschExtraTag(){var e;return this.$isEnabled("BOSCH_EXTRA_PROGRAM")&&(null===(e=this.product.tags)||void 0===e?void 0:e.includes("bosch-extra-program"))},has3pmsfTag(){var e;return null===(e=this.product.tags)||void 0===e?void 0:e.includes("3pmsf")}},methods:{hasBeforeSlot(){return!!this.$scopedSlots.before},hasAfterSlot(){return!!this.$scopedSlots.after}}}),_=f,v=(0,p.A)(_,n,s,!1,null,null,null),g=v.exports},13868:function(e,t,i){"use strict";i.d(t,{pd:function(){return S},cp:function(){return u},YI:function(){return d},Rk:function(){return p},iO:function(){return h}});var n=function(){var e,t,i,n,s,a,r=this,o=r._self._c;r._self._setupProxy;return o(r.tag,{tag:"component",class:["Input",r.modifierClasses]},[r.label||r.hasLabelSlot()?o("label",{staticClass:"Input__label",attrs:{for:r.id}},[r._t("default",(function(){return[r._v(r._s(r.label))]}))],2):r._e(),o("div",{staticClass:"Input__wrapper",on:{click:function(e){return e.stopPropagation(),r.focus.apply(null,arguments)}}},[r.hasBeforeSlot()?o("div",{staticClass:"Input__slot"},[r._t("before")],2):r._e(),"checkbox"===r.inputType?o("input",r._b({directives:[{name:"model",rawName:"v-model",value:r.inputValue,expression:"inputValue"}],ref:"input",attrs:{id:r.id,inputmode:r.inputmodeValue,required:r.required,minlength:r.minlength,maxlength:r.maxlength,min:null!==(e=r.min)&&void 0!==e?e:r.greaterThan,max:null!==(t=r.max)&&void 0!==t?t:r.lessThan,disabled:r.disabled,readonly:r.readonly,autofocus:r.autoFocus,tabindex:r.tabindex,type:"checkbox"},domProps:{checked:Array.isArray(r.inputValue)?r._i(r.inputValue,null)>-1:r.inputValue},on:{blur:r.onBlur,focus:r.onFocus,keydown:[function(e){return!e.type.indexOf("key")&&r._k(e.keyCode,"enter",13,e.key,"Enter")?null:r.$emit("enter",e)},function(e){return!e.type.indexOf("key")&&r._k(e.keyCode,"tab",9,e.key,"Tab")?null:r.$emit("tab",e)}],change:function(e){var t=r.inputValue,i=e.target,n=!!i.checked;if(Array.isArray(t)){var s=null,a=r._i(t,s);i.checked?a<0&&(r.inputValue=t.concat([s])):a>-1&&(r.inputValue=t.slice(0,a).concat(t.slice(a+1)))}else r.inputValue=n}}},"input",r.$attrs,!1)):"radio"===r.inputType?o("input",r._b({directives:[{name:"model",rawName:"v-model",value:r.inputValue,expression:"inputValue"}],ref:"input",attrs:{id:r.id,inputmode:r.inputmodeValue,required:r.required,minlength:r.minlength,maxlength:r.maxlength,min:null!==(i=r.min)&&void 0!==i?i:r.greaterThan,max:null!==(n=r.max)&&void 0!==n?n:r.lessThan,disabled:r.disabled,readonly:r.readonly,autofocus:r.autoFocus,tabindex:r.tabindex,type:"radio"},domProps:{checked:r._q(r.inputValue,null)},on:{blur:r.onBlur,focus:r.onFocus,keydown:[function(e){return!e.type.indexOf("key")&&r._k(e.keyCode,"enter",13,e.key,"Enter")?null:r.$emit("enter",e)},function(e){return!e.type.indexOf("key")&&r._k(e.keyCode,"tab",9,e.key,"Tab")?null:r.$emit("tab",e)}],change:function(e){r.inputValue=null}}},"input",r.$attrs,!1)):o("input",r._b({directives:[{name:"model",rawName:"v-model",value:r.inputValue,expression:"inputValue"}],ref:"input",attrs:{id:r.id,inputmode:r.inputmodeValue,required:r.required,minlength:r.minlength,maxlength:r.maxlength,min:null!==(s=r.min)&&void 0!==s?s:r.greaterThan,max:null!==(a=r.max)&&void 0!==a?a:r.lessThan,disabled:r.disabled,readonly:r.readonly,autofocus:r.autoFocus,tabindex:r.tabindex,type:r.inputType},domProps:{value:r.inputValue},on:{blur:r.onBlur,focus:r.onFocus,keydown:[function(e){return!e.type.indexOf("key")&&r._k(e.keyCode,"enter",13,e.key,"Enter")?null:r.$emit("enter",e)},function(e){return!e.type.indexOf("key")&&r._k(e.keyCode,"tab",9,e.key,"Tab")?null:r.$emit("tab",e)}],input:function(e){e.target.composing||(r.inputValue=e.target.value)}}},"input",r.$attrs,!1)),o("GrowTransition",[r.working?o("div",{staticClass:"Input__loaderWrapper"},[o("span",{staticClass:"bw-loading-spinner"})]):r._e()]),r.hasBeforeControlsSlot()?o("div",{staticClass:"Input__slot"},[r._t("beforeControls")],2):r._e(),o("SlideRightTransition",{staticClass:"Input__controls",attrs:{group:"",tag:"div"}},[r.clearInput&&r.value.length?o("BwButton",{key:"clear-input",attrs:{"attention-level":3,shade:r.ButtonShade.LIGHT,"aria-label":r.$t("action.clear"),"fa-icon-class":"far fa-times",rounded:""},on:{click:r.clear},nativeOn:{keydown:function(e){return!e.type.indexOf("key")&&r._k(e.keyCode,"tab",9,e.key,"Tab")?null:r.$emit("tab",e)}}}):r._e(),r._t("controlsAfter")],2),r.hasAfterSlot()?o("div",{staticClass:"Input__slot"},[r._t("after")],2):r._e()],1),o("FadeTransition",{attrs:{"transform-height":""}},[r.errorVisible&&r.errorMessage?o("div",{key:"error"},[o("p",{staticClass:"Input__message"},[r._v(" "+r._s(r.errorMessage)+" ")])]):!r.hint&&!r.hasHintSlot()||r.errorVisible?r._e():o("div",{key:"hint"},[o("p",{staticClass:"Input__hint"},[r._t("hint",(function(){return[r._v(" "+r._s(r.hint)+" ")]}))],2)])])],1)},s=[],a=(i(62953),i(62893)),r=i(60285),o=i(23028),l=i(28185),c=i(5926);const u=Object.freeze({LEFT:"LEFT",CENTER:"CENTER",RIGHT:"RIGHT"}),d=Object.freeze({EXTRA_EXTRA_SMALL:"EXTRA_EXTRA_SMALL",EXTRA_SMALL:"EXTRA_SMALL",SMALL:"SMALL",MEDIUM:"MEDIUM",LARGE:"LARGE"}),p=Object.freeze({DEFAULT:"DEFAULT",SUCCESS:"SUCCESS",DANGER:"DANGER",WARNING:"WARNING",INFO:"INFO"}),h=Object.freeze({DEFAULT:"DEFAULT",UPPERCASE:"UPPERCASE",LOWERCASE:"LOWERCASE",CAPITALIZE:"CAPITALIZE"});var m=i(95927),f=(0,a.defineComponent)({name:"Input",components:{GrowTransition:l.P,BwButton:()=>Promise.resolve().then(i.bind(i,14844)),SlideRightTransition:c.N,FadeTransition:o.A},inject:{validator:{default(){}}},props:{tag:{type:String,default:"div"},id:{type:[String,Number],default:null},groupId:{type:[String,Number],default:null},value:{type:[String,Number],default:""},type:{type:String,default:"text"},inputmode:{type:String,default:"text"},label:{type:String,default:""},required:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},minlength:{type:Number,default:null},maxlength:{type:Number,default:null},min:{type:Number,default:null},max:{type:Number,default:null},greaterThan:{type:Number,default:null},lessThan:{type:Number,default:null},pattern:{type:String,default:""},patternFlags:{type:String,default:"g"},patternErrorMessage:{type:String,default:void 0},clearInput:{type:Boolean,default:!1},validateOnBlurEnabled:{type:Boolean,default:!1},validateImmediatelyEnabled:{type:Boolean,default:!1},autoFocus:{type:Boolean,default:!1},working:{type:Boolean,default:!1},hint:{type:String,default:""},alignment:{type:String,default:u.LEFT,validator:e=>Object.values(u).includes(e)},size:{type:String,default:d.MEDIUM,validator:e=>Object.values(d).includes(e)},status:{type:String,default:p.DEFAULT,validator:e=>Object.values(p).includes(e)},textTransform:{type:String,default:h.DEFAULT,validator:e=>Object.values(h).includes(e)},debounceEnabled:{type:Boolean,default:!1},debounceDuration:{type:Number,default:200},tabindex:{type:[String,Number],default:0}},enums:{TransitionMode:l.l,ButtonShade:m.ap},data(){return{errorVisible:!1,clearIsHidden:"is-hidden",hasFocus:!1,inputDebounce:null}},computed:{inputValue:{get(){return this.value},set(e){this.hideError(),this.debounceEnabled?(clearTimeout(this.inputDebounce),this.inputDebounce=setTimeout((()=>{this.$emit("input",e)}),this.debounceDuration)):this.$emit("input",e)}},modifierClasses(){return[this.alignmentClass,this.sizeClass,this.statusClass,this.textTransformClass,this.disabled&&"Input--disabled",this.readonly&&"Input--readonly",this.required&&"Input--required",this.errorVisible&&!this.isValid&&"is-invalid",this.hasBeforeSlot()&&"Input--hasBeforeSlot",this.hasAfterSlot()&&"Input--hasAfterSlot","Input--noInnerStyle"]},alignmentClass(){return{[u.LEFT]:"Input--alignLeft",[u.CENTER]:"Input--alignCenter",[u.RIGHT]:"Input--alignRight"}[this.alignment]},sizeClass(){return{[d.EXTRA_EXTRA_SMALL]:"Input--extraExtraSmall",[d.EXTRA_SMALL]:"Input--extraSmall",[d.SMALL]:"Input--small",[d.MEDIUM]:"",[d.LARGE]:"Input--large"}[this.size]},statusClass(){let e=this.status;return this.errorVisible&&!this.isValid&&(e=p.DANGER),{[p.DEFAULT]:"",[p.SUCCESS]:"Input--success",[p.DANGER]:"Input--danger",[p.WARNING]:"Input--warning",[p.INFO]:"Input--info"}[e]},textTransformClass(){return{[h.DEFAULT]:"",[h.UPPERCASE]:"Input--uppercase",[h.LOWERCASE]:"Input--lowercase",[h.CAPITALIZE]:"Input--capitalize"}[this.textTransform]},isEmpty(){return!this.value&&0!==this.value},regexMatch(){if(this.pattern.length){const e=new RegExp(this.pattern,this.patternFlags);if(!String(this.value).match(e))return!1}return!0},isValid(){return(!this.isEmpty||!this.required)&&(!(!this.isEmpty||this.required)||!(null!=this.minlength&&this.value.lengththis.maxlength)&&(!(null!=this.min&&this.valuethis.max)&&(!(null!=this.greaterThan&&this.value<=this.greaterThan)&&(!(null!=this.lessThan&&this.value>=this.lessThan)&&(!("email"===this.type&&!(0,r.x)(this.value))&&!!this.regexMatch)))))))},inputType(){return"email"===this.type?"text":this.type},inputmodeValue(){return"email"===this.type?"email":"search"===this.type?"search":"tel"===this.type?"tel":"url"===this.type?"url":this.inputmode},errorMessage(){var e;return this.isEmpty&&this.required?this.label?this.$t("input.field_is_required--named",{field:this.label}):this.$t("input.field_is_required"):this.isEmpty&&!this.required?"":null!=this.minlength&&this.value.lengththis.maxlength?this.$t("input.max_length_required",{length:this.maxlength}):null!=this.min&&this.valuethis.max?this.$t("input.max_must_be_less_than_n",{n:this.max}):null!=this.greaterThan&&this.value<=this.greaterThan?this.$t("input.invalid.greater_than_n",{n:this.greaterThan}):null!=this.lessThan&&this.value>=this.lessThan?this.$t("input.invalid.less_than_n",{n:this.lessThan}):"email"!==this.type||(0,r.x)(this.value)?this.regexMatch?"":null!==(e=this.patternErrorMessage)&&void 0!==e?e:this.$t("input.invalid_pattern"):this.$t("input.invalid_email")}},watch:{isValid(e){this.validator&&this.validator.updateItem(this.validatorId,e),e&&this.hideError()},errorMessage(e,t){this.errorVisible&&e!==t&&this.hideError()}},created(){this.validatorId=this.id||this._uid,this.validator&&this.validator.addItem(this.validatorId,this.isValid,this.showError,{groupId:this.groupId,hideError:this.hideError})},beforeDestroy(){this.validator&&this.validator.removeItem(this.validatorId),clearTimeout(this.inputDebounce)},mounted(){this.autoFocus&&this.focus(),this.validateImmediatelyEnabled&&this.showError()},methods:{focus(){this.$nextTick((()=>this.$refs.input.focus()))},clear(){this.$emit("input",""),this.clearIsHidden=""},onBlur(e){this.$emit("blur",e),this.hasFocus=!1,this.validateOnBlurEnabled&&!this.isValid&&this.showError()},onFocus(e){this.hasFocus=!0,this.$emit("focus",e)},showError(){this.errorVisible=!0},hideError(){this.errorVisible=!1},hasLabelSlot(){return!!this.$scopedSlots.default},hasBeforeSlot(){return!!this.$scopedSlots.before},hasAfterSlot(){return!!this.$scopedSlots.after},hasHintSlot(){return!!this.$scopedSlots.hint},hasBeforeControlsSlot(){return!!this.$scopedSlots.beforeControls}}}),_=f,v=i(81656),g=(0,v.A)(_,n,s,!1,null,"9a7d219c",null),S=g.exports},18327:function(e,t,i){"use strict";i.d(t,{t:function(){return m}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("Validator",{ref:"validator",scopedSlots:e._u([{key:"default",fn:function({}){return[t("div",{staticClass:"NewPasswordInputs"},[t("PasswordInput",{attrs:{id:"new-password",name:"new-password",label:e.passwordLabel||e.$t("account.auth.new_password"),autocomplete:"new-password","auto-focus":e.autoFocus,required:"",minlength:e.minlength},model:{value:e.password,callback:function(t){e.password=t},expression:"password"}}),t("PasswordInput",{staticClass:"NewPasswordInputs__confirmPassword",attrs:{id:"confirm-password",name:"confirm-password",label:e.confirmPasswordLabel||e.$t("account.auth.confirm_new_password"),autocomplete:"new-password",required:"",minlength:e.minlength},model:{value:e.confirmPassword,callback:function(t){e.confirmPassword=t},expression:"confirmPassword"}}),t("CollapseTransition",[e.showNotMatching?t("div",[t("Alert",{staticClass:"NewPasswordInputs__alert",attrs:{level:e.AlertLevel.WARNING,"icon-disabled":""}},[e._v(" "+e._s(e.$t("account.auth.message.match_error"))+" ")])],1):e._e()])],1)]}}])})},s=[],a=i(62893),r=i(11797),o=i(53059),l=i(3213),c=i(90011),u=(0,a.defineComponent)({name:"NewPasswordInputs",components:{Validator:r.D,CollapseTransition:o.Z,Alert:l.Fc,PasswordInput:c.yA},props:{passwordLabel:{type:String,default:""},confirmPasswordLabel:{type:String,default:""},autoFocus:{type:Boolean,default:!1},minlength:{type:Number,default:6}},enums:{AlertLevel:l.NY},data(){return{password:"",confirmPassword:"",showNotMatching:!1}},computed:{valid(){return this.password===this.confirmPassword}},watch:{password(){this.showNotMatching=!1,this.$emit("input",this.password)},confirmPassword(){this.showNotMatching=!1},valid(e){this.$refs.validator.updateItem("newPasswordInputs",e)}},mounted(){this.$refs.validator.addItem("newPasswordInputs",!1,(()=>{this.showNotMatching=!this.valid}))},beforeDestroy(){this.$refs.validator.removeItem("newPasswordInputs")},methods:{clear(){this.password="",this.confirmPassword=""}}}),d=u,p=i(81656),h=(0,p.A)(d,n,s,!1,null,"7b6858a8",null),m=h.exports},90011:function(e,t,i){"use strict";i.d(t,{yA:function(){return p}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("Input",{class:["PasswordInput","Input--password"],attrs:{id:e.id,"group-id":e.groupId,type:e.passwordVisible?"text":"password",size:e.size,minlength:e.minlength,maxlength:e.maxlength,placeholder:e.placeholder,disabled:e.disabled,required:e.required,label:e.label,"auto-focus":e.autoFocus,working:e.working,alignment:e.alignment,status:e.status,tabindex:e.tabindex},on:{input:function(t){return e.$emit("input",t)},enter:function(t){return e.$emit("enter",t)},blur:function(t){return e.$emit("blur",t)},focus:function(t){return e.$emit("focus",t)}},scopedSlots:e._u([{key:"controlsAfter",fn:function(){return[t("BwButton",{key:"toggle-password",attrs:{shade:e.ButtonShade.LIGHT,"attention-level":3,"aria-label":e.$t("input.show_password_aria"),tabindex:"-1","fa-icon-class":e.passwordVisible?"far fa-eye-slash":"far fa-eye",title:e.passwordVisible?e.$t("input.hide_password"):e.$t("input.show_password"),rounded:""},on:{click:e.togglePassword}})]},proxy:!0}]),model:{value:e.localValue,callback:function(t){e.localValue=t},expression:"localValue"}})},s=[],a=i(62893),r=i(13868),o=i(95927),l=(0,a.defineComponent)({name:"PasswordInput",components:{Input:r.pd,BwButton:o.wQ},props:{value:{type:String,default:""},id:{type:[String,Number],default:null},groupId:{type:[String,Number],default:null},placeholder:{type:String,default:""},disabled:{type:Boolean,default:!1},minlength:{type:Number,default:void 0},maxlength:{type:Number,default:void 0},required:{type:Boolean,default:!1},label:{type:String,default:void 0},autoFocus:{type:Boolean,default:!1},working:{type:Boolean,default:!1},alignment:{type:String,default:void 0},size:{type:String,default:void 0},status:{type:String,default:void 0},tabindex:{type:[String,Number],default:void 0}},enums:{ButtonShade:o.ap},data(){return{passwordVisible:!1,localValue:this.value}},watch:{value(e,t){e!==t&&(this.localValue=e)}},methods:{togglePassword(){this.passwordVisible=!this.passwordVisible}}}),c=l,u=i(81656),d=(0,u.A)(c,n,s,!1,null,null,null),p=d.exports},20276:function(e,t,i){"use strict";i.d(t,{Y:function(){return r.YI},D:function(){return p}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("Input",e._b({ref:"searchInput",staticClass:"SearchInput",attrs:{type:"search","clear-input":"",size:e.size,alignment:e.alignment,status:e.status,label:e.label,placeholder:e.placeholder,disabled:e.disabled,"auto-focus":e.autoFocus,tabindex:e.tabindex,pattern:e.pattern,"pattern-error-message":e.patternErrorMessage,"text-transform":e.textTransform,hint:e.hint},on:{input:e.onInput,enter:e.onEnter,blur:function(t){return e.$emit("blur",t)},focus:function(t){return e.$emit("focus",t)},tab:function(t){return e.$emit("tab",t)}},scopedSlots:e._u([e.iconBeforeEnabled?{key:"before",fn:function(){return[t("i",{staticClass:"far fa-search"})]},proxy:!0}:null,e.hasBeforeControlsSlot()?{key:"beforeControls",fn:function(){return[e._t("beforeControls")]},proxy:!0}:e.buttonDisabled?null:{key:"controlsAfter",fn:function(){return[t("BwButton",{key:"search",attrs:{rounded:"",disabled:e.isButtonDisabled,working:e.working,"attention-level":3,shade:e.ButtonShade.LIGHT,"aria-label":e.$t("action.search"),"fa-icon-class":"far fa-search"},on:{click:e.onSearch}})]},proxy:!0}],null,!0),model:{value:e.localValue,callback:function(t){e.localValue=t},expression:"localValue"}},"Input",e.$attrs,!1))},s=[],a=(i(42762),i(62893)),r=i(13868),o=i(95927),l=(0,a.defineComponent)({name:"SearchInput",components:{Input:r.pd,BwButton:o.wQ},props:{value:{type:[String,Number],default:void 0},disabled:{type:Boolean,default:!1},working:{type:Boolean,default:!1},autoFocus:{type:Boolean,default:!1},hint:{type:String,default:void 0},typeAhead:{type:Boolean,default:!1},typeAheadDebounceEnabled:{type:Boolean,default:!1},typeAheadDebounceDuration:{type:Number,default:300},placeholder:{type:String,default:void 0},label:{type:String,default:void 0},minSearchLength:{type:Number,default:0},alignment:{type:String,default:void 0},size:{type:String,default:void 0},status:{type:String,default:void 0},textTransform:{type:String,default:void 0},tabindex:{type:[String,Number],default:void 0},pattern:{type:String,default:void 0},patternErrorMessage:{type:String,default:void 0},buttonDisabled:{type:Boolean,default:!1},iconBeforeEnabled:{type:Boolean,default:!1}},enums:{ButtonShade:o.ap},data(){return{localValue:this.value||"",lastSearch:this.value||"",typeAheadDebounce:null}},computed:{isButtonDisabled(){return this.disabled||this.localValue&&this.localValue.trim().length{this.search()}),this.typeAheadDebounceDuration)):this.search())},onSearch(){this.search()},onEnter(){this.search(),this.$emit("enter")},search(){this.disabled||this.localValue.trim().lengthObject.values(o).includes(e)},widthFixed:{type:Boolean,default:!1},heightFixed:{type:Boolean,default:!1},tabletFullSize:{type:Boolean,default:!1},closeOpenOverlays:{type:Boolean,default:!1},bodyPaddingDisabled:{type:Boolean,default:!1},footerPaddingDisabled:{type:Boolean,default:!1},working:{type:Boolean,default:!1},closeDisabled:{type:Boolean,default:!1}},enums:{ModalSize:o},data(){return{shake:!1}},computed:{modifierClasses(){return[this.sizeModifierClass,this.widthFixed&&"Modal--widthFixed",this.heightFixed&&"Modal--heightFixed",this.working&&"Modal--working",this.shake&&"Modal--shake",this.horizontalScrollEnabled&&"Modal--horizontalScrollEnabled",this.verticalScrollbarAlwaysVisible&&"Modal--verticalScrollbarAlwaysVisible",this.bodyPaddingDisabled&&"Modal--bodyPaddingDisabled",this.footerPaddingDisabled&&"Modal--footerPaddingDisabled",this.titleCentered&&"Modal--titleCentered",this.tabletFullSize&&"Modal--tabletFullSize"]},sizeModifierClass(){return{[o.EXTRA_SMALL]:"Modal--extraSmall",[o.SMALL]:"Modal--small",[o.LARGE]:"Modal--large",[o.EXTRA_LARGE]:"Modal--extraLarge",[o.FULL]:"Modal--full"}[this.size]},showTitle(){return this.emptyHeaderShown||this.title||this.hasTitleSlot()}},created(){this.decodeHTMLEntities=c.Lt},methods:{open(){this.$refs.lightbox.open()},close(){this.$refs.lightbox.close()},hasTitleSlot(){return!!this.$scopedSlots.title},hasFooterSlot(){return!!this.$scopedSlots.footer},hasControlsSlot(){return!!this.$scopedSlots.controls},onCloseDisallowed(){this.shake=!0,setTimeout((()=>this.shake=!1),1e3)}}}),d=u,p=i(81656),h=(0,p.A)(d,n,s,!1,null,"a752ebec",null),m=h.exports},23347:function(e,t,i){"use strict";i.d(t,{AA:function(){return Z},sH:function(){return r.s},Bz:function(){return r.B}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{directives:[{name:"visibility",rawName:"v-visibility.offset",value:e.onVisibility,expression:"onVisibility",modifiers:{offset:!0}},{name:"visibility",rawName:"v-visibility.once",value:e.trackView,expression:"trackView",modifiers:{once:!0}}],class:["ProductCard",e.modifierClasses]},[t("div",{staticClass:"ProductCard__content"},[t("div",{staticClass:"ProductCard__media"},[t("div",{staticClass:"ProductCard__image"},[t("BwDiscountBadge",{staticClass:"ProductCard__discountBadge",attrs:{visible:e.isVisible,"item-number":e.activeVariant.item_number,discount:e.activeVariant.discount,size:e.DiscountBadgeSize.SMALL}}),t("MediaImage",{staticClass:"ProductCard__productImage",attrs:{media:e.activeVariant.image,alt:e.activeVariant.title,width:e.size===e.ProductCardSize.LARGE?236:170,height:e.size===e.ProductCardSize.LARGE?183:132,"maintain-aspect-ratio":"",type:e.hasImageModal?"button":null,tabindex:e.hasImageModal?"0":null},nativeOn:{click:function(t){e.hasImageModal&&e.onMediaClick()}}})],1),e.activeVariant.brand&&e.activeVariant.brand.logo&&e.size!==e.ProductCardSize.SMALL?t("BrandLogo",{staticClass:"ProductCard__brandImage",attrs:{brand:e.activeVariant.brand,tag:e.brandLogoTag}}):e._e()],1),e.activeVariant.energy_labelling&&e.activeVariant.energy_labelling.nested_label_image?t("EnergyLabellingNestedLabel",{staticClass:"ProductCard__energyLabel",attrs:{image:e.activeVariant.energy_labelling.nested_label_image,"product-name":e.activeVariant.title,"label-image":e.activeVariant.energy_labelling.label_image,"information-sheet-url":e.activeVariant.energy_labelling.information_sheet,size:e.size===e.ProductCardSize.LARGE?e.EnergyLabellingNestedLabelSize.LARGE:e.EnergyLabellingNestedLabelSize.MEDIUM}}):e._e(),t("ProductChips",{staticClass:"ProductCard__chips",attrs:{product:e.activeVariant,"responsive-size":"",size:e.size!==e.ProductCardSize.LARGE?e.ChipSize.SMALL:void 0},scopedSlots:e._u([{key:"before",fn:function(){return[e._t("chipsBefore")]},proxy:!0},{key:"default",fn:function(){return[e._t("chipsDefault")]},proxy:!0},{key:"after",fn:function(){return[e._t("chipsAfter")]},proxy:!0}],null,!0)}),t("div",{staticClass:"ProductCard__body"},[e.hasAdditionalLogoSlot()?t("div",{staticClass:"ProductCard__additionalLogo"},[e._t("additionalLogo")],2):e._e(),t("ProductTitle",{staticClass:"ProductCard__title",attrs:{product:e.activeVariant,size:e.titleSize,clickable:"","is-algolia-hit":e.isAlgoliaHit,"after-clickable":"","link-title":e.linkTitle},on:{click:e.onClick,mouseup:function(t){return"button"in t&&1!==t.button?null:e.onClick.apply(null,arguments)},keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.onClick.apply(null,arguments)}}}),t("ProductInfoActions",{staticClass:"ProductCard__infoActions",attrs:{product:e.activeVariant,size:e.ProductInfoActionsSize.SMALL}}),e.hasGraphicSlot()?t("div",{staticClass:"ProductCard__graphic"},[e._t("graphic")],2):e._e(),e.hasDescriptionSlot()?t("div",{staticClass:"ProductCard__description"},[e._t("description",null,{product:e.activeVariant})],2):e._e()],1),e.hasDefaultSlot()||e.variantsEnabled?t("div",{staticClass:"ProductCard__slot"},[e.hasDefaultSlot()?t("div",{staticClass:"ProductCard__slotContent"},[e._t("default")],2):e._e(),e.variantsEnabled?t("ProductVariantsDifferentiatorChoice",{staticClass:"ProductCard__variants",attrs:{product:e.product,label:e.variantsLabel,size:e.size===e.ProductCardSize.LARGE?e.TagSize.MEDIUM:e.TagSize.SMALL,"responsive-size":""},model:{value:e.activeVariant,callback:function(t){e.activeVariant=t},expression:"activeVariant"}}):e._e()],1):e._e(),e.controlsInContent&&e.controlsVisible?t("ProductCardControls",{staticClass:"ProductCard__controlsInContent",attrs:{"specifications-button-disabled":e.specificationsButtonDisabled,"compare-button-disabled":e.compareButtonDisabled,"report-error-button-enabled":e.reportErrorButtonEnabled,product:e.activeVariant}}):e._e(),t("div",{staticClass:"ProductCard__purchaseInfo"},[t("div",{staticClass:"ProductCard__priceAndControls"},[t("div",{staticClass:"ProductCard__price"},[t("ProductPrice",{key:e.activeVariant.item_number,attrs:{visible:e.isVisible,product:e.activeVariant,size:e.priceSize,alignment:e.priceAlignment,vertical:""}})],1),t("div",{staticClass:"ProductCard__purchaseControls"},[t("BuyButton",{key:e.activeVariant.item_number,staticClass:"ProductCard__buyButton",attrs:{product:e.activeVariant,size:e.size===e.ProductCardSize.LARGE?e.ButtonSize.MEDIUM:e.ButtonSize.SMALL,"initial-quantity":e.initialQuantity},on:{"add-to-cart":function(t){return e.$emit("add-to-cart",t)},"quantity-change":e.onQuantityChange}}),e._t("purchaseControls")],2)]),!e.availabilityDisabled||e.$isEnabled("ERP_INVENTORY_STATUS")?t("div",{staticClass:"ProductCard__availability"},[e.availabilityDisabled?e._e():t("ProductAvailabilityContainer",{attrs:{product:e.activeVariant,active:e.isVisible&&e.$userIsActive,quantity:e.quantity,"quantity-id":e.activeVariant.node_id},scopedSlots:e._u([{key:"default",fn:function({availabilityItems:i}){return[t("ProductAvailabilityList",{attrs:{"availability-items":i,layout:e.availabilityLayout,"expected-number-of-items":e.$isEnabled("PRODUCT_AVAILABILITY_ICONS")?4:1}})]}}],null,!1,4206133713)}),e.$isEnabled("ERP_INVENTORY_STATUS")?t("InventoryButton",{attrs:{"item-number":e.activeVariant.item_number}}):e._e()],1):e._e()])],1),e.controlsVisible&&!e.controlsInContent?t("ProductCardControls",{staticClass:"ProductCard__controls",attrs:{"specifications-button-disabled":e.specificationsButtonDisabled,"compare-button-disabled":e.compareButtonDisabled,"report-error-button-enabled":e.reportErrorButtonEnabled,product:e.activeVariant}}):e._e()],1)},s=[],a=(i(89463),i(44114),i(62953),i(62893)),r=i(28053),o=i(8192),l=i(36910),c=i(98065),u=i(39820),d=i(6219),p=i(59805),h=i(15441),m=i(87477),f=i(61673),_=i(73389),v=i(81706),g=i(486),S=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"ProductCardControls"},[e.specificationsButtonDisabled?e._e():t("Link",{staticClass:"bw-text-body-sm",on:{click:e.openProductSheet}},[e._v(" "+e._s(e.$t("product.show_specifications"))+" ")]),e.reportErrorButtonEnabled&&e.$isEnabled("VEHICLE_PRODUCT_REPORT_ERROR")?t("Link",{staticClass:"bw-text-body-sm",on:{click:e.openProductErrorReport}},[e._v(" "+e._s(e.$t("common.report_error"))+" ")]):e._e(),e.compareButtonDisabled?e._e():t("CompareCheckbox",{staticClass:"ProductCardControls__compareCheckbox",attrs:{id:e.product.item_number,item:e.product,mirrored:""}})],1)},E=[],C=i(40968),b=(i(46972),i(65379)),y=(0,a.defineComponent)({name:"ProductCardControls",components:{Link:b.N,CompareCheckbox:C["default"]},props:{product:{type:Object,required:!0},specificationsButtonDisabled:{type:Boolean,default:!1},reportErrorButtonEnabled:{type:Boolean,default:!1},compareButtonDisabled:{type:Boolean,default:!1}},methods:{openProductSheet(){this.$actions.run("promptProductSheet",{item_number:this.product.item_number})},openProductErrorReport(){this.$actions.run("promptReportProductErrorModal",this.product.item_number)}}}),A=y,T=i(81656),w=(0,T.A)(A,S,E,!1,null,null,null),I=w.exports,R=function(){var e=this,t=e._self._c;e._self._setupProxy;return e.hasAnyInfoActions?t("div",{class:["ProductInfoActions",e.sizeClass]},[e.hasBilGlasGruppenService?t("BwSheet",{staticClass:"ProductInfoActions__button",attrs:{type:"button",tag:"button",size:e.SheetSize.SMALL,"color-scheme":e.SheetColor.SUCCESS,"padding-disabled":""},on:{click:e.onBilGlasGruppenServiceClick}},[t("img",{staticClass:"ProductInfoActions__icon",attrs:{src:"https://cdn.thg.dk/DAT/banner/891a3bcf-8fa6-4f02-890d-5c2245ab69aa.png",height:"20",width:"15",loading:"lazy",alt:"Bilglasgruppens logo"}}),t("span",{staticClass:"ProductInfoActions__text"},[e._v("Monteringsservice")])]):e._e()],1):e._e()},P=[];const O={SMALL:"SMALL",MEDIUM:"MEDIUM",LARGE:"LARGE"};var L=i(23116),N=i(5760),B=(0,a.defineComponent)({name:"ProductInfoActions",components:{BwSheet:L.nH},props:{product:{type:Object,required:!0},size:{type:String,default:O.MEDIUM,validator:e=>Object.values(O).includes(e)}},enums:{SheetColor:L.Bt,SheetSize:L.nD},computed:{sizeClass(){return{[O.SMALL]:"ProductInfoActions--small",[O.MEDIUM]:"",[O.LARGE]:"ProductInfoActions--large"}[this.size]},hasAnyInfoActions(){return this.hasBilGlasGruppenService},hasBilGlasGruppenService(){var e;return this.$isEnabled("BILGLASGRUPPEN_SERVICE")&&(null===(e=this.product.tags)||void 0===e?void 0:e.includes("bilglasgruppen-service"))}},methods:{onBilGlasGruppenServiceClick(){this.$actions.run("promptNodeContentModal","-233430729",{size:N.r.SMALL})}}}),D=B,M=(0,T.A)(D,R,P,!1,null,null,null),k=M.exports,x=i(40654),U=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:["EnergyLabellingNestedLabel",e.sizeObject.class]},[t(e.labelImage?"button":"div",{tag:"component",staticClass:"EnergyLabellingNestedLabel__infoButton",attrs:{"aria-label":e.$t("energy_labelling.nested_label.button_label",{productName:e.productName}),type:"button"},on:{click:e.openLabelModal}},[t("img",{staticClass:"EnergyLabellingNestedLabel__image",attrs:{src:e.image,alt:e.$t("energy_labelling.nested_label.image_alt_text",{productName:e.productName}),width:"auto",height:e.sizeObject.height,loading:"lazy"}})]),e.informationSheetUrl?t("a",{staticClass:"EnergyLabellingNestedLabel__infoLink",attrs:{href:e.localInformationSheetUrl,target:"_blank",rel:"noopener"},on:{click:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"left",37,t.key,["Left","ArrowLeft"])||"button"in t&&0!==t.button?null:(t.preventDefault(),e.openInformationSheetModal.apply(null,arguments))}}},[e._v(" "+e._s(e.$t("energy_labelling.product_information_sheet"))+" ")]):e._e()],1)},$=[];const G=Object.freeze({MEDIUM:"MEDIUM",LARGE:"LARGE",EXTRA_LARGE:"EXTRA_LARGE"});var F=(0,a.defineComponent)({name:"EnergyLabellingNestedLabel",props:{image:{type:String,required:!0},labelImage:{type:String,default:void 0},informationSheetUrl:{type:String,default:void 0},productName:{type:String,required:!0},size:{type:String,default:"MEDIUM",validator:e=>Object.keys(G).includes(e)}},computed:{sizeObject(){return{[G.MEDIUM]:{class:"",height:30},[G.LARGE]:{class:"EnergyLabellingNestedLabel--large",height:40},[G.EXTRA_LARGE]:{class:"EnergyLabellingNestedLabel--extraLarge",height:50}}[this.size]},languageQueryParam(){const e=window.gloLanguage;return e?`?language=${e}`:""},localInformationSheetUrl(){if(this.informationSheetUrl)return this.informationSheetUrl+this.languageQueryParam}},methods:{openLabelModal(){this.labelImage&&this.$actions.run("promptEnergyLabellingModal",{image:this.labelImage+this.languageQueryParam,productName:this.productName})},openInformationSheetModal(){this.informationSheetUrl&&this.$actions.run("promptEnergyLabellingInformationSheetModal",{informationSheetUrl:this.localInformationSheetUrl,productName:this.productName})}}}),V=F,z=(0,T.A)(V,U,$,!1,null,null,null),H=z.exports,q=(0,a.defineComponent)({name:"ProductCard",components:{BwDiscountBadge:o.C,MediaImage:l.Q,BrandLogo:c.F,ProductChips:u.N5,ProductTitle:d.G,ProductPrice:p.NM,ProductInfoActions:k,BuyButton:h.J,ProductAvailabilityContainer:m.u,ProductAvailabilityList:f.n,ProductCardControls:I,EnergyLabellingNestedLabel:H,InventoryButton:_["default"],ProductVariantsDifferentiatorChoice:()=>i.e(475).then(i.bind(i,90475))},inject:{context:{default(){return window.context||{}}}},provide(){return{context:this.localContext}},props:{...r.s,additionalContext:{type:Object,default:()=>({})},controlsInContent:{type:Boolean,default:!1}},enums:{ProductCardSize:r.B,DiscountBadgeSize:o.j,ProductPriceSize:p.O,ProductPriceAlignment:p.Ak,ChipGroupAlignment:u.N$,ButtonSize:h.M,ChipSize:u.Sb,TagSize:v.eZ,ProductInfoActionsSize:O,EnergyLabellingNestedLabelSize:G},data(){return{isVisible:!1,activeVariant:this.product,quantity:this.initialQuantity}},computed:{modifierClasses(){return[this.sizeClass,this.hasGraphicSlot()&&"ProductCard--graphic",(this.hasDefaultSlot()||this.variantsEnabled)&&"ProductCard--defaultSlot",this.hasImageModal&&"ProductCard--imageModal",this.controlsInContent&&"ProductCard--controlsInContent",this.controlsInset&&!this.controlsInContent&&"ProductCard--controlsInset",(!this.borderDisabled||this.controlsInset)&&"ProductCard--borderEnabled"]},sizeClass(){return{[r.B.SMALL]:"ProductCard--small",[r.B.MEDIUM]:"",[r.B.LARGE]:"ProductCard--large"}[this.size]},brandLogoTag(){return this.size===r.B.SMALL?c.H.DIV:c.H.BUTTON},hasImageModal(){return this.imageModalEnabled&&this.activeVariant.image},titleSize(){return{[r.B.SMALL]:d.V.SMALL,[r.B.MEDIUM]:d.V.MEDIUM,[r.B.LARGE]:d.V.LARGE}[this.size]},priceSize(){return this.size===r.B.LARGE?p.O.LARGE:p.O.MEDIUM},priceAlignment(){return this.size===r.B.LARGE?p.Ak.RIGHT:p.Ak.LEFT},availabilityLayout(){return this.$isEnabled("PRODUCT_AVAILABILITY_ICONS")&&this.size===r.B.LARGE||this.size===r.B.LARGE?f.M.GRID_RIGHT:f.M.GRID},controlsVisible(){return!this.specificationsButtonDisabled||!this.compareButtonDisabled},linkTitle(){return(0,g.Tf)(this.activeVariant)},algoliaSource(){var e;return(null===(e=this.context.source)||void 0===e?void 0:e.name)!==x.x.ALGOLIA?null:{queryId:this.activeVariant.__queryID,objectId:this.activeVariant.objectID}},localContext(){const e={...this.context,...this.additionalContext};return this.algoliaSource&&(e.source={...e.source,...this.algoliaSource}),e}},watch:{product(e,t){e&&t&&e.item_number===t.item_number||(this.activeVariant=e)},activeVariant(e,t){e&&t&&e.item_number===t.item_number||this.trackView()}},methods:{onClick(e){const t=1===e.button||e.ctrlKey;t||e.preventDefault(),this.$emit("click"),window.tracking.push({event:"CLICK_PRODUCT",data:{product:this.activeVariant},context:this.localContext,callback:t?null:()=>{this.$emit("before-navigate"),window.location.href=this.activeVariant.url}})},onMediaClick(){this.$actions.run("promptMediaGallery",{itemNumber:this.activeVariant.item_number,zoom:!0,maintainAspectRatio:!0,thumbnails:!0})},onVisibility(e){this.isVisible=e},trackView(){window.tracking.push({event:"PRODUCT_IMPRESSION",data:{products:[this.activeVariant]},context:this.localContext})},onQuantityChange(e){this.quantity=e},hasAdditionalLogoSlot(){return this.$scopedSlots.additionalLogo},hasDescriptionSlot(){return this.$scopedSlots.description},hasGraphicSlot(){return this.$scopedSlots.graphic},hasDefaultSlot(){return this.$scopedSlots.default},hasPurchaseInfoSlot(){return this.$scopedSlots.purchaseInfo}}}),j=q,W=(0,T.A)(j,n,s,!1,null,null,null),Z=W.exports},28053:function(e,t,i){"use strict";i.d(t,{B:function(){return n},s:function(){return s}});const n=Object.freeze({SMALL:"SMALL",MEDIUM:"MEDIUM",LARGE:"LARGE"}),s={product:{type:Object,required:!0},isAlgoliaHit:{type:Boolean,default:!1},size:{type:String,default:n.MEDIUM,validator:e=>Object.values(n).includes(e)},borderDisabled:{type:Boolean,default:!1},controlsInset:{type:Boolean,default:!1},initialQuantity:{type:Number,default:void 0},availabilityDisabled:{type:Boolean,default:!1},specificationsButtonDisabled:{type:Boolean,default:!1},compareButtonDisabled:{type:Boolean,default:!1},reportErrorButtonEnabled:{type:Boolean,default:!1},imageModalEnabled:{type:Boolean,default:!1},variantsEnabled:{type:Boolean,default:!1},variantsLabel:{type:String,default:""}}},6219:function(e,t,i){"use strict";i.d(t,{G:function(){return h},V:function(){return o}});i(62953);var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{class:["ProductTitle",...e.modifierClasses]},[t(e.tag,{tag:"component",staticClass:"ProductTitle__title",attrs:{href:e.product.url,tabindex:e.tabindex,title:e.linkTitle},on:{click:function(t){e.clickable&&e.onClick(t)},mouseup:function(t){if("button"in t&&1!==t.button)return null;e.clickable&&e.onClick(t)},keydown:function(t){if(!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter"))return null;e.clickable&&e.onClick(t)}}},[e.isAlgoliaHit?t("AisHighlight",{attrs:{attribute:"title",hit:e.product}},[e._v(" "+e._s(e.product.title)+" ")]):[e._v(" "+e._s(e.product.title)+" ")]],2),t("div",{staticClass:"ProductTitle__identifier"},[e.isAlgoliaHit?t("AisHighlight",{attrs:{attribute:"item_number",hit:e.product}},[e._v(" "+e._s(e.product.item_number)+" ")]):[e._v(" "+e._s(e.product.item_number)+" ")],e.$isEnabled("PRODUCT_PRICE_CODE")&&e.priceCode?t("span",{staticClass:"ProductTitle__priceCode"},[e._v(" "+e._s(e.priceCode)+" ")]):e._e()],2)],1)},s=[],a=i(62893),r=i(95353);const o={EXTRA_SMALL:"EXTRA_SMALL",SMALL:"SMALL",MEDIUM:"MEDIUM",LARGE:"LARGE"};var l=i(36539),c=(0,a.defineComponent)({name:"ProductTitle",components:{AisHighlight:l.UH},props:{product:{type:Object,required:!0},isAlgoliaHit:{type:Boolean,default:!1},linkTitle:{type:String,default:""},clickable:{type:Boolean,default:!1},size:{type:String,default:o.MEDIUM,validator:e=>Object.values(o).includes(e)},tabindex:{type:String,default:"0"},afterClickable:{type:Boolean,default:!1}},computed:{...(0,r.L8)("price",["getPriceCode"]),priceCode(){return this.product.price_code||this.getPriceCode(this.product.item_number)},tag(){return this.product.url&&this.clickable?"a":"div"},modifierClasses(){return[this.sizeClass,this.clickable&&"ProductTitle--clickable",this.afterClickable&&"ProductTitle--afterClickable"]},sizeClass(){return{[o.EXTRA_SMALL]:"ProductTitle--extraSmall",[o.SMALL]:"ProductTitle--small",[o.MEDIUM]:"",[o.LARGE]:"ProductTitle--large"}[this.size]}},methods:{onClick(e){this.$emit("click",e)}}}),u=c,d=i(81656),p=(0,d.A)(u,n,s,!1,null,null,null),h=p.exports},82169:function(e){e.exports={DOMAIN_CODE:window.globalvar_domainCode,LANGUAGE:window.gloLanguage,TIMEZONE:window.gloTimezone,CURRENCY_SIGN:window.gloCurrencyCode,POSTNORD_API_KEY:"8214792adca42147b4deea7671ab65ab",RECAPTCHA_SITE_KEY:"6Lekzx8cAAAAAHcsA5EFR1_tks4GE8UkCDGB5oZ8"}},49347:function(e,t,i){"use strict";i(44114);var n=i(62893),s=i(1983),a=i(76672),r=i(82013),o=i(95353),l=i(50326);t.A=(0,n.defineComponent)({name:"AccountContainer",provide(){return{accountContainer:this}},data(){return{usersStatus:"",users:[],settingsStatus:"",settings:[],isPhoneNumberChanged:!0}},computed:{...(0,o.aH)("account",["isLoggedIn","accountStatus","account","accountUpdatingStatus","profileStatus","profile","profileUpdatingStatus","overview"]),...(0,o.L8)("account",{type:s.v2.GET_ACCOUNT_TYPE,isDealer:s.v2.IS_DEALER,isPrivate:s.v2.IS_PRIVATE,isVendor:s.v2.IS_VENDOR,branch:s.v2.GET_BRANCH,fullName:s.v2.FULL_NAME,hasEmail:s.v2.HAS_EMAIL}),complete(){return this.accountStatus===l.A.COMPLETE},activeOrders(){return this.overview.activeOrders},pendingOn(){return e=>{var t;const i="string"===typeof e?[e]:e;return null===(t=this.account)||void 0===t?void 0:t.pending_updates.some((e=>i.includes(e)))}}},watch:{account(e,t){null!==e&&null===t&&this.doFetchProfile&&(this.fetchProfileImmediate(),this.isPhoneNumberChanged=e.verified.includes("mobile_phone_number"))}},created(){this.doFetchProfile=!1,this.fetchAccount()},methods:{...(0,o.i0)("account",{fetchAccount:s.En.FETCH_ACCOUNT,updateAccount:s.En.UPDATE_ACCOUNT,deleteAccount:s.En.DELETE_ACCOUNT,fetchProfileImmediate:s.En.FETCH_PROFILE,updateProfile:s.En.UPDATE_PROFILE,fetchOverview:s.En.FETCH_OVERVIEW,updateBranch:s.En.UPDATE_BRANCH,deleteBranch:s.En.DELETE_BRANCH,setPrimaryEmail:s.En.SET_PRIMARY_EMAIL,deleteEmail:s.En.DELETE_EMAIL,addEmail:s.En.ADD_EMAIL,editEmail:s.En.EDIT_EMAIL}),fetchProfile(){this.account?this.fetchProfileImmediate():this.doFetchProfile=!0},fetchUser(e){return new Promise(((t,i)=>{(0,a.wz)(e).then((e=>{t(e)})).catch((e=>{i(e)}))}))},fetchUsers(){this.usersStatus=l.A.WORKING,(0,a.lo)().then((e=>{this.users=e,this.usersStatus=l.A.COMPLETE})).catch((e=>{this.usersStatus=l.A.ERROR}))},fetchUserSettings(){this.settingsStatus!==l.A.WORKING&&this.settingsStatus!==l.A.COMPLETE&&(this.settingsStatus=l.A.WORKING,(0,a.h_)().then((e=>{this.settings=e,this.settingsStatus=l.A.COMPLETE})).catch((e=>{this.settingsStatus=l.A.ERROR})))},createUser(e){return new Promise(((t,i)=>{(0,a.Gs)(e).then((e=>{this.fetchUsers(),t(e)})).catch((e=>{i(e)}))}))},updateUser(e,t){return new Promise(((i,n)=>{(0,a.WJ)(e,t).then((e=>{this.fetchUsers(),i(e)})).catch((e=>{n(e)}))}))},deleteUser(e){return new Promise(((t,i)=>{(0,a.hG)(e).then((e=>{this.fetchUsers(),t(e)})).catch((e=>{i(e)}))}))},resetUserPassword(e,t,i){const n={email:e,customer_id:t,user_name:i};return new Promise(((e,t)=>{(0,r.bo)(n).then((t=>{e(t)})).catch((e=>{t(e)}))}))},identifyUser(){const{account_number:e,email_address:t,phone_number:i,first_name:n,last_name:s,address:a}=this.account;window.tracking.push({event:"IDENTIFY",data:{account_number:e,email_address:t,phone_number:i,first_name:n,last_name:s,address:a}})},setPhoneNumberChangeState(e){this.isPhoneNumberChanged=e}},render(){return this.$scopedSlots.default({isLoggedIn:this.isLoggedIn,complete:this.complete,account:this.account,branch:this.branch,fullName:this.fullName,usersStatus:this.usersStatus,users:this.users,settingsStatus:this.settingsStatus,settings:this.settings})}})},36474:function(e,t,i){"use strict";var n=i(62893),s=i(95353),a=i(27713),r=i(50326);t.A=(0,n.defineComponent)({name:"InventoryLevelContainer",props:{itemNumber:{type:[String,Number],required:!0},active:{type:Boolean,default:!1}},computed:{...(0,s.aH)("xal",["branch"]),...(0,s.L8)("inventory",["getInventory"]),inventory(){var e;if(null!==(e=this.branch)&&void 0!==e&&e.slug)return this.getInventory({itemNumber:this.itemNumber,branch:this.branch.slug})},stock(){var e;return null===(e=this.inventory)||void 0===e?void 0:e.stock},status(){var e;switch(null===(e=this.inventory)||void 0===e?void 0:e._status){case a.K.QUEUED:case a.K.UPDATING:return r.A.WORKING;case a.K.COMPLETE:return r.A.COMPLETE;case a.K.ERROR:return r.A.ERROR;default:return""}}},watch:{active:{immediate:!0,handler(e,t){var i;e&&null!==(i=this.branch)&&void 0!==i&&i.slug&&this.fetchInventory({itemNumber:this.itemNumber,branch:this.branch.slug})}},branch(e,t){var i;this.active&&(!t||e&&e.slug!==t.slug)&&null!==(i=this.branch)&&void 0!==i&&i.slug&&this.fetchInventory({itemNumber:this.itemNumber,branch:this.branch.slug})}},methods:{...(0,s.i0)("inventory",["fetchInventory"])},render(){return this.$scopedSlots.default({status:this.status,inventory:this.inventory,branch:this.branch,stock:this.stock})}})},23878:function(e,t,i){"use strict";i(44114);var n=i(62893),s=i(98272);t.A=(0,n.defineComponent)({name:"NavigationContainer",provide(){return{navigationContainer:this}},computed:{flatRoutes(){const e=[];return this.$router.options.routes.forEach((t=>this.addRoute(e,t))),e},accountRouteNames(){return[s.Ay.ACCOUNT,this.$isEnabled("ACCOUNT_ORDERS")&&s.Ay.ACCOUNT_ORDERS,this.$isEnabled("ACCOUNT_COMPLAINT")&&s.Ay.ACCOUNT_COMPLAINTS,this.$isEnabled("ACCOUNT_RETURNS")&&s.Ay.ACCOUNT_RETURNS,this.$isEnabled("ACCOUNT_CARSPOT")&&s.Ay.ACCOUNT_CARSPOT,this.$isEnabled("ACCOUNT_CASTROL")&&s.Ay.ACCOUNT_CASTROL,this.$isEnabled("SPECIAL_DELIVERY")&&s.Ay.ACCOUNT_SPECIAL_DELIVERY,this.$isEnabled("ACCOUNT_TRANSACTIONS")&&s.Ay.ACCOUNT_TRANSACTIONS,this.$isEnabled("ACCOUNT_DRAFTS")&&s.Ay.ACCOUNT_DRAFTS,this.$isEnabled("FAVORITE_PRODUCTS")&&s.Ay.ACCOUNT_FAVORITES,this.$isEnabled("WORK_CLOTHES")&&s.Ay.WORK_CLOTHES,this.$isEnabled("OE_SEARCH")&&this.$isEnabled("OE_SEARCH_REQUEST")&&s.Ay.OE_SEARCH_REQUEST,this.$isEnabled("BOSCH_EXTRA_PROGRAM")&&s.Ay.BOSCH_EXTRA_PROGRAM,this.$isEnabled("ACCOUNT_PRICE_SETTINGS")&&s.Ay.ACCOUNT_PRICE_SETTINGS,this.$isEnabled("ACCOUNT_WHEEL_STORAGE")&&s.Ay.ACCOUNT_WHEEL_STORAGE,this.$isEnabled("ACCOUNT_BOOKINGS")&&s.Ay.ACCOUNT_BOOKINGS,this.$isEnabled("ACCOUNT_GARAGE")&&s.Ay.ACCOUNT_GARAGE,this.$isEnabled("ACCOUNT_USERS")&&s.Ay.ACCOUNT_USERS,this.$isEnabled("ACCOUNT_SETTINGS")&&s.Ay.ACCOUNT_SETTINGS,this.$isEnabled("ACCOUNT_PROFILE")&&s.Ay.ACCOUNT_PROFILE].filter((e=>!!e))},accountRoutes(){return this.accountRouteNames.map((e=>this.flatRoutes.find((t=>e===(null===t||void 0===t?void 0:t.name))))).filter((e=>!!e))},isExactActive(){return e=>this.$route.name===e.name}},methods:{addRoute(e,t){var i;e.push(t),null===(i=t.children)||void 0===i||i.forEach((t=>this.addRoute(e,t)))}},render(){return this.$scopedSlots.default({accountRoutes:this.accountRoutes,isExactActive:this.isExactActive})}})},87477:function(e,t,i){"use strict";i.d(t,{u:function(){return r}});var n=i(62893),s=i(95353),a=i(27854),r=(0,n.defineComponent)({name:"ProductAvailabilityContainer",props:{product:{type:Object,default:void 0},active:{type:Boolean,default:!1},quantity:{type:Number,default:1},quantityId:{type:[String,Number],default:null}},computed:{...(0,s.L8)("availability",{getAvailability:"getAvailability"}),...(0,s.L8)("buyButtonQuantityInputStore",{getProductQuantity:"getProductQuantity"}),getQuantity(){return this.product&&this.quantityId&&this.getProductQuantity(this.product.item_number,this.quantityId)||this.quantity},availability(){return this.getAvailability(this.product.item_number,this.getQuantity)},availabilityItems(){var e;return(null===(e=this.availability)||void 0===e||null===(e=e.items)||void 0===e?void 0:e.filter((e=>"leveret"!==e.type)))||[]}},watch:{active:{immediate:!0,handler(e){!e||this.availability&&!this.availability.expired||this.refreshStatus()}},availability:{immediate:!0,handler(e){this.active&&(!e||e&&e.expired&&e.status!==a.n.ERROR)&&this.refreshStatus()},deep:!0}},mounted(){this.startInterval()},beforeDestroy(){this.clearExpired()},methods:{...(0,s.i0)("availability",{fetchAvailabilityDebounce:"fetchAvailabilityDebounce",clearExpired:"clearExpired",startInterval:"startInterval"}),...(0,s.i0)("buyButtonQuantityInputStore",{addProductQuantity:"addProductQuantity"}),refreshStatus(){this.fetchAvailabilityDebounce({itemNumber:this.product.item_number,quantity:this.getQuantity})}},render(){return this.$scopedSlots.default({availability:this.availability,availabilityItems:this.availabilityItems})}})},11797:function(e,t,i){"use strict";i.d(t,{D:function(){return s}});i(44114),i(62953);var n=i(62893),s=(0,n.defineComponent)({name:"Validator",provide(){return{validator:this}},inject:{validator:{default(){}}},props:{errorVisible:{type:Boolean,default:!1}},data(){return{items:[],validGroups:{}}},computed:{valid(){return this.items.every((e=>e.valid))}},watch:{valid(e){this.validator&&this.validator.updateItem(this._uid,e),this.$emit("update:errorVisible",!1)}},created(){void 0!==this.validator&&this.validator.addItem(this._uid,this.valid,this.showError,{showErrors:this.showErrors})},beforeDestroy(){void 0!==this.validator&&this.validator.removeItem(this._uid)},methods:{validate(){this.items.forEach((e=>e.validate()))},addItem(e,t,i,{showErrors:n,hideError:s,groupId:a}={}){void 0!==e&&void 0!==t&&(this.items.push({id:e,valid:t,showError:i,showErrors:n,hideError:s,groupId:(null===a||void 0===a?void 0:a.toString())||void 0}),!a||void 0!==this.validGroups[a]&&t||this.$set(this.validGroups,a,t))},updateItem(e,t){const i=this.items.find((t=>t.id===e));if(i&&(i.valid=t,i.groupId)){const e=this.items.reduce(((e,t)=>e&&(t.groupId!==i.groupId||t.valid)),!0);this.validGroups[i.groupId]=e}},removeItem(e){const t=this.items.findIndex((t=>t.id===e));if(-1===t)return;const i=this.items[t].groupId;if(i){const t=this.items.reduce(((t,n)=>(n.groupId===i&&(t.total++,n.id===e||n.valid||(t.isValid=!1)),t)),{total:0,isValid:!0});1===t.total?delete this.validGroups[i]:t.total>1&&(this.validGroups[i]=t.isValid)}this.items.splice(t,1)},showError({id:e,groupId:t}={}){const i=[];null!=e?i.push(...this.items.filter((t=>t.id==e&&!t.valid))):null!=t?i.push(...this.items.filter((e=>e.groupId==t&&!e.valid))):i.push(this.items.find((e=>!e.valid))),i.forEach((e=>{"function"===typeof e.showError&&e.showError(!0)})),this.$emit("update:errorVisible",!0)},showErrors(){this.items.forEach((e=>{"function"===typeof e.showErrors?e.showErrors(!0):"function"===typeof e.showError&&e.showError(!0)})),this.$emit("update:errorVisible",!0)},hideErrors(){this.items.forEach((e=>{"function"===typeof(null===e||void 0===e?void 0:e.hideError)&&(null===e||void 0===e||e.hideError())})),this.$emit("update:errorVisible",!1)},hideError({id:e,groupId:t}={}){const i=[];null!=e?i.push(...this.items.filter((t=>t.id==e))):null!=t?i.push(...this.items.filter((e=>e.groupId==t))):i.push(this.items.find((e=>!e.valid))),i.forEach((e=>{"function"===typeof(null===e||void 0===e?void 0:e.hideError)&&(null===e||void 0===e||e.hideError())}))}},render(){return this.$scopedSlots.default({valid:this.valid,validate:this.validate,addItem:this.addItem,removeItem:this.removeItem,updateItem:this.updateItem,showErrors:this.showErrors,showError:this.showError,hideErrors:this.hideErrors,errorVisible:this.errorVisible})}})},28218:function(e,t,i){"use strict";var n=i(62893),s=i(95353);t.A=(0,n.defineComponent)({name:"VehicleContainer",provide(){return{vehicleContainer:this}},computed:{...(0,s.aH)("vehicle",{vehicle:"vehicle",status:"status",errorMessage:"errorMessage",searchedLicensePlate:"searchedLicensePlate",searchedTecDoc:"searchedTecDoc",searchedChassisNumber:"searchedChassisNumber",currentCountry:"currentCountry"}),...(0,s.L8)("vehicle",{searchOptions:"searchOptions",selectedSearchOption:"selectedSearchOption",hasSearchOptions:"hasSearchOptions",isLastSearchOption:"isLastSearchOption"})},methods:{...(0,s.i0)("vehicle",{fetchVehicleByLicensePlate:"fetchVehicleByLicensePlate",setupManualSearch:"setupManualSearch",fetchSearchOptions:"fetchSearchOptions",submitManualSearch:"submitManualSearch",resetSearch:"resetSearch",setSearch:"setSearch",setCountry:"setCountry",setVehicle:"setVehicle"}),updateSearchOptions(e){var t,i;""!==e.target.value&&this.fetchSearchOptions({node:null===(t=e.target.options[e.target.selectedIndex])||void 0===t?void 0:t.getAttribute("data-n"),tecdoc:null===(i=e.target.options[e.target.selectedIndex])||void 0===i?void 0:i.getAttribute("data-vid"),category:e.target.getAttribute("data-category")||void 0})}},render(){return this.$scopedSlots.default({vehicle:this.vehicle,status:this.status,errorMessage:this.errorMessage,searchedLicensePlate:this.searchedLicensePlate,fetchVehicleByLicensePlate:this.fetchVehicleByLicensePlate,hasSearchOptions:this.hasSearchOptions,searchOptions:this.searchOptions,selectedSearchOption:this.selectedSearchOption,isLastSearchOption:this.isLastSearchOption,setupManualSearch:this.setupManualSearch,fetchSearchOptions:this.fetchSearchOptions,updateSearchOptions:this.updateSearchOptions,submitManualSearch:this.submitManualSearch,setVehicle:this.setVehicle})}})},2881:function(e,t,i){"use strict";i.d(t,{$:function(){return a},V:function(){return s}});i(25440);var n=i(18987);function s(e,t,i){let n=t.$vnode.tag;n&&(n=n.replace(/vue-component-\d+-/i,""));let s=null,a=null;"QuotaExceededError"===e.name&&(s=r(sessionStorage),a=r(localStorage)),"undefined"!==typeof window.Sentry?window.Sentry.withScope((r=>{r.setTag("vue","component"),r.setTag("vue-component",n),r.setLevel("fatal"),r.setExtra("v-info",i),r.setExtra("v-data",t._data),r.setExtra("v-props",t._props),r.setExtra("response",e.response),s&&r.setExtra("sessionStorageSizesInKb",s),a&&r.setExtra("localStorageSizesInKb",a),Sentry.captureException(e)})):console.error("Errorhandler",{component:n,error:e,info:i,data:t._data,props:t._props})}function a(e){if(e.response&&403===e.response.status&&!e.response.headers["retry-after"]&&(window.location="/login?redirect="+encodeURIComponent(location.href)+"&flash=not_logged_in"),!e.response||"function"===typeof e.config.errorHandlerIgnore&&e.config.errorHandlerIgnore(e))return Promise.reject(e);if(e.config&&"function"===typeof e.config.errorHandler)return e.config.errorHandler(e),Promise.reject(e);if(e.config.hasOwnProperty("handleErrors")&&!1===e.config.handleErrors)return Promise.reject(e);let t=!1,i={message:e.message+"("+e.config.url+")",tags:{vue:"axios","request.method":e.config.method,"request.url":e.config.url,"response.status":e.response.status,"cookie-c":n.A.get("c")},extra:{data:e.config.data||{},headers:e.config.headers}};return e.response&&(t=!0,"undefined"!==typeof Sentry?Sentry.captureEvent(i):console.error(i)),Promise.reject({...e,logged:t})}const r=e=>{const t={};let i=0;try{for(const n in e){if(!e.hasOwnProperty(n))continue;const s=2*(e[n].length+n.length),a=parseFloat((s/1024).toFixed(2));t[n]=a,i+=s}t["__TOTAL_SIZE__"]=parseFloat((i/1024).toFixed(2))}catch(n){t["__ERROR__"]=n.message}return t}},63505:function(e,t,i){"use strict";i.d(t,{J:function(){return a},A:function(){return s}});const n=(e,t)=>{let i=e.min,n=e.max;return(null===i||void 0===i||it.max)&&(n=t.max),[i,n]};var s={rangeToValue:n};const a=e=>{var t;const i=e.split("|");return{name:i[0],url:i[1],logo:null!==(t=i[2])&&void 0!==t?t:""}}},96946:function(e,t,i){"use strict";i.d(t,{CY:function(){return o},Pz:function(){return l},SD:function(){return a},XH:function(){return c},XY:function(){return r},cK:function(){return n},ef:function(){return s},nz:function(){return d}});i(16280),i(25440);const n=e=>{const t=new Date,i=new Date(e);return i.getDate()==t.getDate()&&i.getMonth()==t.getMonth()&&i.getFullYear()==t.getFullYear()},s=e=>{const t=new Date;t.setDate(t.getDate()+1);const i=new Date(e);return i.getDate()==t.getDate()&&i.getMonth()==t.getMonth()&&i.getFullYear()==t.getFullYear()},a=e=>{const t=new Date,i=new Date(e);return i{const i=Object.freeze({s:1e3,m:6e4,h:36e5,d:864e5,w:6048e5,M:2629746e3,y:315576e5});if(t in i)return e*i[t];throw new Error("Invalid unit. Please choose from: s, m, h, d, w, M, y")},o=e=>{const t=e.toISOString().split("T")[0];return t},l=e=>{const t=new Date(e);return!Number.isNaN(t.getTime())},c=e=>{if(!e)return null;const t=e.replace(/[/\-.]/g,"-"),i=t.split("-");if(3!==i.length)return null;if(i.some((e=>Number.isNaN(e)&&e.length<=4)))return null;if(2===i[2].length){const e=(new Date).getFullYear();i[2]=e-e%100+parseInt(i[2])}let n;n=i[1]>12||i[0]>31?new Date(i[2],i[0]-1,i[1]):new Date(i[2],i[1]-1,i[0]);const s=new Date(n);return Number.isNaN(s.getTime())?null:s},u=(e,t)=>{const i=["s","m","h","d","w","M","y"];return i.includes(t)?!Number.isNaN(e)||(console.warn("Invalid timeDurationShortcut number. Must be a number.","Current number is:",typeof e),!1):(console.warn("Invalid timeDurationShortcut unit. Must be one of:",i.join()),!1)},d=e=>{var t,i;const n=e.slice(0,-1),s=e.slice(-1);if(!u(n,s))return;const a=new Date;return null===(t=(i={s:()=>a.setSeconds(a.getSeconds()-n),m:()=>a.setMinutes(a.getMinutes()-n),h:()=>a.setHours(a.getHours()-n),d:()=>a.setDate(a.getDate()-n),w:()=>a.setDate(a.getDate()-7*n),M:()=>a.setMonth(a.getMonth()-n),y:()=>a.setFullYear(a.getFullYear()-n)})[s])||void 0===t?void 0:t.call(i)}},44523:function(e,t,i){"use strict";i.d(t,{Ay:function(){return f},Ze:function(){return u},f9:function(){return p},PH:function(){return h},xH:function(){return m}});i(44114),i(25440),i(62953);const n=e=>null!==e&&e.indexOf(".")>-1?e:"",s={".docx":["application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document",".doc",".docx"],".xlsx":["application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",".xls",".xlsx"],".pptx":["application/vnd.ms-powerpoint","application/vnd.openxmlformats-officedocument.presentationml.presentation",".ppt",".pptx"],".pdf":["application/pdf",".pdf"],".txt":["text/plain",".txt"],".csv":["text/csv",".csv"],".json":["application/json",".json"],".xml":["application/xml",".xml"],".html":["text/html",".html",".htm"],".md":["text/markdown",".md"],".yaml":["text/yaml",".yaml",".yml"],".png":["image/png",".png","image/*"],".jpg":["image/jpeg",".jpg",".jpeg","image/*"],".gif":["image/gif",".gif","image/*"],".svg":["image/svg+xml",".svg","image/*"],".webp":["image/webp",".webp","image/*"],".bmp":["image/bmp",".bmp","image/*"],".tiff":["image/tiff",".tif",".tiff","image/*"],".icon":["image/vnd.microsoft.icon",".ico","image/*"],".mp3":["audio/mpeg",".mp3"],".aac":["audio/aac",".aac"],".wav":["audio/wav",".wav"],".ogg":["audio/ogg",".ogg"],".mid":["audio/midi",".mid",".midi"],".opus":["audio/opus",".opus"],".mp4":["video/mp4",".mp4"],".avi":["video/x-msvideo",".avi"],".mpeg":["video/mpeg",".mpeg"],".webm":["video/webm",".webm"],".ogv":["video/ogg",".ogv"],".3gp":["video/3gpp",".3gp"],".3g2":["video/3gpp2",".3g2"],".zip":["application/zip",".zip"],".gz":["application/gzip",".gz"],".bz2":["application/x-bzip2",".bz2"],".tar":["application/x-tar",".tar"],".7z":["application/x-7z-compressed",".7z"],".rar":["application/vnd.rar",".rar"],".ttf":["font/ttf",".ttf"],".otf":["font/otf",".otf"],".woff":["font/woff",".woff"],".woff2":["font/woff2",".woff2"],".js":["application/javascript",".js"],".ts":["application/typescript",".ts"],".css":["text/css",".css"],".php":["application/x-httpd-php",".php"],".py":["text/x-python",".py"],".java":["text/x-java-source",".java"],".sh":["application/x-sh",".sh"],".exe":["application/vnd.microsoft.portable-executable",".exe"],".bat":["application/bat",".bat"],".iso":["application/x-iso9660-image",".iso"],".dmg":["application/x-apple-diskimage",".dmg"]},a={"far fa-file-word":[".docx"],"far fa-file-excel":[".xlsx"],"far fa-file-powerpoint":[".pptx"],"far fa-file-pdf":[".pdf"],"far fa-file-alt":[".txt",".ttf",".otf",".woff",".woff2"],"far fa-file-csv":[".csv"],"far fa-file-code":[".json",".xml",".html",".md",".yaml",".js",".ts",".css",".php",".py",".java",".sh",".exe",".bat"],"far fa-file-image":[".png",".jpeg",".gif",".svg",".webp",".bmp",".tiff",".ico",".iso_disk",".apple_disk"],"far fa-file-audio":[".mp3",".aac",".wav",".ogg",".mid",".opus"],"far fa-file-video":[".mp4",".avi",".mpeg",".webm",".ogg",".3gp",".3g2"],"far fa-file-archive":[".zip",".gz",".bz2",".tar",".7z",".rar"]},r=()=>{const e={};return Object.entries(s).forEach((([t,i])=>{i.forEach((i=>{e[i]||(e[i]=[]),e[i].push(t)}))})),e},o=()=>{const e={};return Object.entries(a).forEach((([t,i])=>{i.forEach((i=>{e[i]=t}))})),e},l=r(),c=o(),u=e=>{const t=Array.isArray(e)?e:[e];return t.map((e=>{const t=Array.isArray(l[e])?l[e].join(", "):l[e]||null;return{key:t,readable:t||e.replace(/^\./,"").toUpperCase(),iconClass:t&&c[t]||"far fa-file"}}))},d=new Set([{mimeTypes:["application/pdf"],extensions:".pdf",icon:"file-pdf"},{mimeTypes:["application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],extensions:[".docx",".doc"],icon:"file-word"},{mimeTypes:["application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],extensions:[".xls",".xlsx"],icon:"file-excel"},{mimeTypes:["application/vnd.openxmlformats-officedocument.presentationml.presentation","application/vnd.ms-powerpoint"],extensions:[".pptx",".ppt"],icon:"file-powerpoint"},{mimeTypes:["text/csv"],extensions:".csv",icon:"file-csv"},{mimeTypes:["image/jpeg"],extensions:[".jpg",".jpeg"],icon:"file-image"},{mimeTypes:["image/png"],extensions:".png",icon:"file-image"},{mimeTypes:["image/webp"],extensions:".webp",icon:"file-image"},{mimeTypes:["image/gif"],extensions:".gif",icon:"file-image"},{mimeTypes:["image/svg+xml"],extensions:".svg",icon:"file-image"},{mimeTypes:["text/plain"],extensions:".txt",icon:"file-alt"},{mimeTypes:["text/html"],extensions:[".html",".htm"],icon:"file-code"},{mimeTypes:["application/javascript"],extensions:".js",icon:"file-code"},{mimeTypes:["application/typescript"],extensions:".ts",icon:"file-code"},{mimeTypes:["application/json"],extensions:".json",icon:"file-code"},{mimeTypes:["application/zip","application/x-zip-compressed"],extensions:".zip",icon:"file-archive"},{mimeTypes:["application/x-rar-compressed"],extensions:".rar",icon:"file-archive"},{mimeTypes:["video/mp4"],extensions:".mp4",icon:"file-video"},{mimeTypes:["audio/mpeg"],extensions:".mp3",icon:"file-music"},{mimeTypes:["audio/wav"],extensions:".wav",icon:"file-music"}]),p=e=>{for(const t of d)if(t.mimeTypes.includes(e)||t.extensions.includes(e))return t;return{mimeTypes:[e],extensions:e,icon:"file"}},h=e=>e.includes("image"),m=e=>e.replace(/[^\x20-\x7E\xA0-\xFF]/g,"");var f={returnSrcIfHasExt:n,getFileTypeInfo:u,getFileTypeInformation:p,isFileAnImage:h,sanitizeFileName:m}},28260:function(e,t,i){"use strict";i.d(t,{$:function(){return n}});const n=(e=7)=>Math.random().toString(36).substring(2,e+2)},74941:function(e,t,i){"use strict";i.d(t,{A:function(){return h}});var n=i(44523),s=i(486),a=i(63505);const r=e=>{const t={};return Object.keys(e).forEach((i=>{"object"===typeof e[i]&&null!==e[i]?Object.assign(t,r(e[i])):t[i]=e[i]})),t};i(25440);const o=e=>e.replace(/(?:\r\n|\r|\n)/g,"
");var l={flattenObject:r,stringNewLine:o},c=i(46896),u=i(60285);const d=e=>{let t=!0;return/.{8,}/.test(e)||(t=!1),/.*[A-Z].*/.test(e)||(t=!1),/.*[a-z].*/.test(e)||(t=!1),/.*[0-9].*/.test(e)||(t=!1),t};var p={isNumber:c.E,isEmail:u.x,isPassword:d},h={product:s.Ay,files:n.Ay,algolia:a.A,manipulation:l,validation:p}},1324:function(e,t,i){"use strict";i.d(t,{Mn:function(){return r},aM:function(){return c},jX:function(){return l},qE:function(){return o},yk:function(){return d}});var n=i(82169),s=i.n(n),a=i(64147);const r=(e,t)=>(e=Math.ceil(e),t=Math.floor(t),Math.floor(Math.random()*(t-e+1))+e),o=(e,t,i)=>e>i?i:e{const i=parseFloat(e);if(Number.isNaN(i))return"";let n=i;if("SUP"===s().DOMAIN_CODE){n=n.toString();const e=n.split(/[.,]/g);e.length>1&&(n=`${e[0]}.${e[1].substring(0,4)}`)}return n=a.A.n(n,"currency"),t=t||s().CURRENCY_SIGN||"Kr.",`${t} ${n}`},c=e=>"number"===typeof e&&e%1!==0,u=Object.freeze({BINARY:"BINARY",DECIMAL:"DECIMAL"}),d=(e,t)=>{const{unitType:i=u.BINARY,decimals:n=2}=t||{},s=i===u.BINARY,a=s?1024:1e3,r=["B","KB","MB","GB","TB","PB","EB","ZB","YB"];if(0===e)return"0 B";const o=Math.floor(Math.log(e)/Math.log(a)),l=parseFloat((e/Math.pow(a,o)).toFixed(n));return`${l} ${r[o]}`}},486:function(e,t,i){"use strict";i.d(t,{Vg:function(){return c},Ay:function(){return d},Tf:function(){return u}});var n=i(64147);const s=e=>e&&("OUTLET"===e||e===n.A.t("product.labels.outlet")),a=(e,t,i)=>e||typeof i&&i>t,r=e=>e.is_demo?"demo":"KAMPAGNE"===e.label?"campaign":a(e.is_sale,e.price,e.compare_at_price)?"sale":e.is_new?"new":"",o=(e,t=!1)=>""!==e&&null!==e?(t?"":" ")+e:"";i(44114),i(62953);var l=i(46896);const c=(e,t)=>{if(!Array.isArray(e)||!e.length)return[];const i=[],n={};return e.forEach((e=>{if(e.variant_key){if(t){const n={value:null,unit:null,label:null};let s=!1;if(t.forEach((([t,i])=>{const a=e.sheets.find((e=>e.id===t));if(!a)return;const r=a.fields.find((e=>e.id===i));if(!r)return;s=!0;const o=(0,l.E)(r.value[0])?Number(r.value[0]):r.value[0],c=r.unit;n.value=o,n.unit=c,n.label=n.value,c&&(n.label+=` ${c}`)})),!s)return void i.push({...e,variants:[]});e.differentiator=n}n[e.variant_key]||(n[e.variant_key]=[]),n[e.variant_key].push(e)}else i.push({...e,variants:[]})})),Object.values(n).forEach((e=>{let t=e.findIndex((e=>e.variant_key===e.item_number_thg));-1===t&&(t=0);const[n]=e.splice(t,1);i.push({...n,variants:[n,...e]})})),i},u=e=>e?e.title&&e.brand&&e.brand.title?`${e.title} - ${e.brand.title}`:e.title:"";var d={onSale:a,labelType:r,isClearance:s,printIfHasUnit:o}},69743:function(e,t,i){"use strict";i.d(t,{hT:function(){return o},eG:function(){return l}});const n="scrollBehavior"in document.documentElement.style,s=768;let a=null;const r=(e=0,{element:t=window,delay:i=0,offset:s=0}={})=>{a&&clearTimeout(a),a=setTimeout((()=>{c(e,{element:t,offset:s}),a=null}),n?i:0)},o=(e,{element:t=window,delay:i=0,offset:r=0}={})=>{a&&clearTimeout(a),a=setTimeout((()=>{var i,n;const o=window.innerWidth{r(0,{element:e,delay:t,offset:i})},c=(e=0,{element:t=window,offset:i=(e=>null===(e=window)||void 0===e||null===(e=e.siteHeader)||void 0===e?void 0:e.primaryBarHeight)()||0}={})=>{t.scrollTo({top:e+i,behavior:"smooth"})}},68344:function(e,t,i){"use strict";i.d(t,{Db:function(){return n},Lt:function(){return a},d4:function(){return r},w1:function(){return s}});i(25440);const n=e=>!/\D/.test(e),s=(e,t)=>new RegExp("^"+t).test(e),a=e=>{const t=document.createElement("textarea");return t.innerHTML=e,t.value},r=e=>e.replace(/\s/g,"")},60285:function(e,t,i){"use strict";i.d(t,{x:function(){return n}});const n=e=>{const t=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/;return t.test(e)}},46896:function(e,t,i){"use strict";i.d(t,{E:function(){return n}});const n=e=>!isNaN(parseFloat(e))&&isFinite(e)},48608:function(e,t,i){"use strict";i.d(t,{$:function(){return a},m:function(){return s}});var n=i(18987);const s=(e,t,i)=>{if(!e||!t||!i)return void a();const s=`t=${e}&c=${t}&r=${i}`;n.A.set("b",s,{expires:240,sameSite:"none",secure:!0})},a=()=>{n.A.remove("b")}},64147:function(e,t,i){"use strict";i(16280);var n=i(62893),s=i(64765),a=i(74941),r=i(82169),o=i.n(r);n["default"].use(s.A);let l="da";const c={da:{currency:{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:2},number:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:2}},nb:{currency:{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:2},number:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:2}},sv:{currency:{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:2},number:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:2}},en:{currency:{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:2},number:{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:2}}};"SUP"===o().DOMAIN_CODE&&(c[l].currency={style:"decimal",minimumFractionDigits:2,maximumFractionDigits:10});const u=window.productFilterData,d=void 0!==u?a.A.manipulation.flattenObject(Object.keys(u).map((e=>({...Object.keys(u[e]).map((t=>({["al_sheets."+e+"."+t]:u[e][t].name})))})))):{},p={};i18n_strings?p[l]=i18n_strings:Sentry&&Sentry.withScope((e=>{e.setTag("vue","i18n"),e.setLevel("fatal"),Sentry.captureException(new Error("i18n_strings not loaded"))})),Object.keys(p).forEach((e=>{p[e]={...p[e],...d}})),t.A=new s.A({locale:l,messages:p,numberFormats:c})},46803:function(e,t,i){"use strict";i(9391),i(62953);var n=i(21190),s=i(82169),a=i.n(s),r=i(1324),o=i(2881),l=i(64147),c=i(62893),u=i(40816);function d(e,t={}){const{namespace:i}=t;e.mixin({created(){const e=this.$options.enums;if(e){let t=this;i&&(this[i]={},t=this[i]),Object.keys(e).forEach((i=>{t[i]=Object.freeze(e[i])}))}}})}var p={install(e){e.mixin({methods:{$isEnabled(e){return window.features.includes(e)}}})}},h=i(95353),m={install(e,{store:t}){t.watch((e=>e.overlay.overlays.length),(e=>{0===e?window.viewport.enableScrollBar():window.viewport.disableScrollBar()})),e.mixin({methods:{...(0,h.i0)("overlay",{$addOverlay:"addOverlay",$removeOverlay:"removeOverlay"})}})}},f={install(e){e.mixin({computed:{...(0,h.L8)("userActivity",{$userIsActive:"isActive",$userLastActive:"lastActive"})}})}},_=i(44485),v=i(40173),g=i(98272),S=i(81508);let E=[];const C=[{name:g.qh.BOOKING,path:"/booking",meta:{title:l.A.t("route.booking.title")},component:()=>Promise.all([i.e(730),i.e(640),i.e(4206)]).then(i.bind(i,68642))},{name:g.qh.GJENSIDIGE_BOOKING,path:"/gjensidige-hjulskifte",meta:{title:"Hjulskifte og dæktjek med Gjensidige"},component:()=>i.e(1684).then(i.bind(i,79303))},{name:g.qh.ORDER,path:"/link/order/:id",meta:{title:l.A.t("route.order.title")},props:{anonymous:!0},component:()=>Promise.all([i.e(842),i.e(5239),i.e(3535),i.e(837),i.e(683)]).then(i.bind(i,28310))},{name:g.qh.WHEEL_STORAGE_WHEEL,path:"/link/wheelstorage/:id",meta:{title:l.A.t("route.wheel_storage_wheel.title")},component:()=>Promise.all([i.e(730),i.e(841)]).then(i.bind(i,99756))},{name:g.qh.LOGIN,path:"/login",meta:{title:l.A.t("route.login.title")},component:()=>i.e(1049).then(i.bind(i,11049)),children:[{name:g.qh.SIGNUP,path:"signup",meta:{title:l.A.t("route.signup.title"),require:{rule:S.o.NOT_LOGGED_IN}}},{name:g.qh.COMPLETE_SIGNUP,path:"complete_signup",meta:{title:l.A.t("route.complete_signup.title"),require:{rule:S.o.NOT_LOGGED_IN}}},{name:g.qh.REQUEST_RESET_PASSWORD,path:"resetpassword",meta:{title:l.A.t("route.request_reset_password.title"),require:{rule:S.o.NOT_LOGGED_IN}}},{name:g.qh.RESET_PASSWORD,path:"password",meta:{title:l.A.t("route.reset_password.title")}}]},{path:"/account",component:()=>Promise.all([i.e(8379),i.e(4116)]).then(i.bind(i,89016)),children:[{name:g.qh.ACCOUNT,path:"",meta:{title:l.A.t("route.account.title.alternative")},component:()=>Promise.all([i.e(5239),i.e(3535),i.e(615),i.e(1082)]).then(i.bind(i,30566))},{name:g.qh.ACCOUNT_BOOKINGS,path:"bookings",meta:{title:l.A.t("route.account.bookings.title")},component:()=>i.e(2811).then(i.bind(i,82811))},{name:g.qh.ACCOUNT_CARSPOT,path:"/eshop/carspot-intranet/n-237396475",meta:{title:l.A.t("route.account.carspot.title"),type:S.Y.INTERNAL_LINK}},{name:g.qh.ACCOUNT_CASTROL,path:"/eshop/castrol-service-intranet/n-233546171",meta:{title:"Castrol Service",type:S.Y.INTERNAL_LINK}},{name:g.qh.ACCOUNT_COMPLAINT,path:"rma/:id",meta:{title:l.A.t("route.account.complaint.title")},component:()=>Promise.all([i.e(842),i.e(5239),i.e(3535),i.e(1618),i.e(9616)]).then(i.bind(i,22176))},{name:g.qh.ACCOUNT_COMPLAINT_PRINT,path:"rma/:id/print",meta:{title:l.A.t("route.account.complaint_print.title")},props:{print:!0},component:()=>Promise.all([i.e(842),i.e(5239),i.e(3535),i.e(1618),i.e(9616)]).then(i.bind(i,22176))},{name:"test",path:"complaint",meta:{title:l.A.t("route.account.complaints.title")},component:()=>i.e(5629).then(i.bind(i,95629))},{name:g.qh.ACCOUNT_COMPLAINTS,path:"/eshop/kundeservice/reklamation/n-233626228",meta:{title:l.A.t("route.account.complaints.title"),type:S.Y.INTERNAL_LINK}},{name:g.qh.ACCOUNT_DRAFT,path:"drafts/:id",meta:{title:l.A.t("route.account.draft.title")},component:()=>Promise.all([i.e(842),i.e(4308)]).then(i.bind(i,34281))},{name:g.qh.ACCOUNT_DRAFTS,path:"drafts",meta:{title:l.A.t("route.account.drafts.title")},component:()=>Promise.all([i.e(842),i.e(6721)]).then(i.bind(i,24126))},{name:g.qh.ACCOUNT_FAVORITE,path:"favorites/:id",meta:{title:l.A.t("route.account.favorite.title")},component:()=>Promise.all([i.e(842),i.e(7836)]).then(i.bind(i,92161))},{name:g.qh.WORK_CLOTHES,path:"https://billig-arbejdstoj.dk/ad-danmark",meta:{title:l.A.t("route.account.work_clothes.title"),type:S.Y.EXTERNAL_LINK}},{name:g.qh.OE_SEARCH_REQUEST,path:"oe-request",meta:{title:"OE forespørgsel"},component:()=>Promise.all([i.e(5637),i.e(7226),i.e(3045)]).then(i.bind(i,72142))},{name:g.qh.BOSCH_EXTRA_PROGRAM,path:"bosch-extra-program",meta:{title:"Bosch eXtra Program"},component:()=>i.e(21).then(i.bind(i,20021))},{name:g.qh.ACCOUNT_FAVORITES,path:"favorites",meta:{title:l.A.t("route.account.favorites.title")},component:()=>Promise.all([i.e(842),i.e(7836)]).then(i.bind(i,92161))},{name:g.qh.ACCOUNT_PRICE_SETTINGS,path:"price-settings",meta:{title:l.A.t("route.account.price_settings.title")},component:()=>Promise.all([i.e(842),i.e(7128)]).then(i.bind(i,86085))},{name:g.qh.ACCOUNT_GARAGE,path:"garage",meta:{title:l.A.t("route.account.garage.title")},component:()=>i.e(6992).then(i.bind(i,76992))},{name:g.qh.ACCOUNT_ORDER,path:"orders/:id",meta:{title:l.A.t("route.account.order.title")},component:()=>Promise.all([i.e(842),i.e(5239),i.e(3535),i.e(837),i.e(683)]).then(i.bind(i,28310))},{name:g.qh.ACCOUNT_ORDERS,path:"orders",meta:{title:l.A.t("route.account.orders.title")},component:()=>Promise.all([i.e(5239),i.e(3535),i.e(9199),i.e(615),i.e(9852)]).then(i.bind(i,18485))},{name:g.qh.ACCOUNT_TRANSACTIONS,path:"transactions",meta:{title:l.A.t("route.account.transactions.title")},component:()=>Promise.all([i.e(9199),i.e(7543)]).then(i.bind(i,82738))},{name:g.qh.ACCOUNT_PROFILE,path:"profile",meta:{title:l.A.t("route.account.profile.title")},component:()=>Promise.all([i.e(8379),i.e(7223),i.e(8346)]).then(i.bind(i,88346))},{name:g.qh.ACCOUNT_RETURN,path:"return/:id",meta:{title:l.A.t("route.account.return.title")},component:()=>Promise.all([i.e(842),i.e(5239),i.e(3535),i.e(1618),i.e(9616)]).then(i.bind(i,22176))},{name:g.qh.ACCOUNT_RETURN_PRINT,path:"return/:id/print",meta:{title:l.A.t("route.account.return_print.title")},props:{print:!0},component:()=>Promise.all([i.e(842),i.e(5239),i.e(3535),i.e(1618),i.e(9616)]).then(i.bind(i,22176))},{name:g.qh.ACCOUNT_RETURNS,path:"return",meta:{title:l.A.t("route.account.returns.title")},component:()=>Promise.all([i.e(842),i.e(5239),i.e(1528)]).then(i.bind(i,51509))},{name:g.qh.ACCOUNT_SETTINGS,path:"settings",meta:{title:l.A.t("route.account.settings.title")},component:()=>Promise.all([i.e(8379),i.e(7223),i.e(6630)]).then(i.bind(i,56630))},{name:g.qh.ACCOUNT_SPECIAL_DELIVERY,path:"delivery",meta:{title:l.A.t("route.account.special_delivery.title")},component:()=>Promise.all([i.e(842),i.e(9104),i.e(2592)]).then(i.bind(i,77926))},{name:g.qh.ACCOUNT_USERS,path:"users",meta:{title:l.A.t("route.account.users.title")},component:()=>Promise.all([i.e(9104),i.e(1546)]).then(i.bind(i,863))},{name:g.qh.ACCOUNT_WHEEL_STORAGE,path:"wheelstorage",meta:{title:l.A.t("route.account.wheel_storage.title")},component:()=>Promise.all([i.e(730),i.e(1150)]).then(i.bind(i,43615))}]},{name:g.qh.SYSTEM_LOGIN,path:"/blueworld",meta:{title:l.A.t("route.system_login.title")},component:()=>i.e(246).then(i.bind(i,70246))},{name:g.qh.CLUB_SIGNUP,path:"/"+l.A.t("route.club_signup.slug"),meta:{title:l.A.t("route.club_signup.title")},component:()=>i.e(1039).then(i.bind(i,11039))},{name:g.qh.NOT_FOUND,path:"*",component:()=>i.e(9360).then(i.bind(i,9360))}],b=[{name:g.qh.LOGIN,path:"/login",meta:{title:l.A.t("route.login.title")},component:()=>i.e(1049).then(i.bind(i,11049)),children:[{name:g.qh.COMPLETE_SIGNUP,path:"complete_signup",meta:{title:l.A.t("route.complete_signup.title")}},{name:g.qh.REQUEST_RESET_PASSWORD,path:"resetpassword",meta:{title:l.A.t("route.request_reset_password.title")}},{name:g.qh.RESET_PASSWORD,path:"password",meta:{title:l.A.t("route.reset_password.title")}}]},{name:g.Ui.SUPPLIER_DASHBOARD,path:"/",redirect:{name:g.Ui.PURCHASE_ORDERS}},{name:g.Ui.SUPPLIER_ACCOUNT,path:"/account",meta:{title:"Account"},component:()=>Promise.all([i.e(842),i.e(8851)]).then(i.bind(i,63036))},{name:g.Ui.PURCHASE_ORDERS,path:"/orders",meta:{title:"Orders"},component:()=>Promise.all([i.e(842),i.e(9199),i.e(4491)]).then(i.bind(i,45915))},{name:"Products",path:"/products",meta:{title:"Products"},component:()=>Promise.all([i.e(842),i.e(2659),i.e(2948),i.e(2701),i.e(9565)]).then(i.bind(i,98771))},{name:g.Ui.PURCHASE_ORDER,path:"/orders/:id",meta:{title:l.A.t("route.order.title")},component:()=>Promise.all([i.e(842),i.e(2659),i.e(2948),i.e(2701),i.e(5073)]).then(i.bind(i,5335))},{name:g.Ui.SUPPLIER_COMMUNICATION,path:"/communication",meta:{title:l.A.t("common.communication")},component:()=>Promise.all([i.e(842),i.e(6068),i.e(8753)]).then(i.bind(i,70478))},{name:g.Ui.SUPPLIER_AGREEMENTS,path:"/agreements",meta:{title:"Agreements"}},{name:g.Ui.SUPPLIER_NEW_SHIPMENT,path:"/shipments",meta:{title:"New shipments",require:{feature:"SUPPLIER_SHIPMENTS"}},component:()=>Promise.all([i.e(842),i.e(2659),i.e(2948),i.e(4085),i.e(1955),i.e(5892)]).then(i.bind(i,89902))},{name:g.Ui.SUPPLIER_PREVIOUS_SHIPMENTS,path:"/shipments/previous",meta:{title:"Previous shipments",require:{feature:"SUPPLIER_SHIPMENTS"}},component:()=>Promise.all([i.e(842),i.e(2659),i.e(2948),i.e(1955),i.e(2527)]).then(i.bind(i,83703))},{name:g.Ui.SUPPLIER_UPLOADS,path:"/uploads",meta:{title:"Uploads"},component:()=>i.e(1438).then(i.bind(i,71438))},{name:g.Ui.NOT_FOUND,path:"*",component:()=>i.e(9360).then(i.bind(i,9360))}];E=window.features.includes("SUPPLIER_ROUTES")?b:C;var y=E;c["default"].use(v.Ay);const A=new v.Ay({mode:"history",base:"/",routes:y});A.afterEach(((e,t)=>{var i;null!==t&&void 0!==t&&t.name&&t.name!==e.name&&setTimeout((()=>window.scrollTo(0,0)),200),null!==(i=e.meta)&&void 0!==i&&i.title&&(document.title=e.meta.title),window.dispatchEvent(new Event("locationchange"))})),A.beforeEach(((e,t,i)=>{const s=e.meta.require;if(s){let t="";if(s.rule!==S.o.LOGGED_IN||window.isLoggedIn?s.rule===S.o.NOT_LOGGED_IN&&window.isLoggedIn?t="/account":s.feature&&!window.features.includes(s.feature)&&(t=n.A.legacy.homeUrl):t="/login?redirect="+encodeURIComponent(e.fullPath),t)return s.onRejectRedirectTo&&(t=s.onRejectRedirectTo),window.location.href=t,i(!1)}i()}));var T=A,w=i(15441),I=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",[t("BwButton",{attrs:{shade:e.ButtonShade.LIGHT,size:e.ButtonSize.LARGE},on:{click:function(t){return t.preventDefault(),e.openConfirmDialog.apply(null,arguments)}}},[e._t("default")],2),t("Modal",{ref:"openConfirmDialog",attrs:{title:"Nyt tilbud",working:e.working},scopedSlots:e._u([{key:"default",fn:function(){return[e.askForName?[t("Input",{attrs:{id:"newDraftDescription",label:"Tilbuddets navn"},model:{value:e.newDraftDescription,callback:function(t){e.newDraftDescription=t},expression:"newDraftDescription"}})]:t("p",[e._v("Er du sikker på du ville oprette et tilbud?")])]},proxy:!0},{key:"controls",fn:function({close:i}){return[t("BwButton",{attrs:{shade:e.ButtonShade.LIGHT,size:e.ButtonSize.LARGE},on:{click:function(e){return e.preventDefault(),i.apply(null,arguments)}}},[e._v(" Fortryd ")]),t("BwButton",{attrs:{"color-scheme":e.ButtonColorScheme.SUCCESS,size:e.ButtonSize.LARGE},on:{click:function(t){return t.preventDefault(),e.createQuote.apply(null,arguments)}}},[e._v(" Opret ")])]}}])})],1)},R=[],P=(i(89463),i(42017)),O=i(59217),L=i(95927),N=i(5760),B=i(13868),D=(0,c.defineComponent)({name:"DraftTransformButton",components:{BwButton:L.wQ,Modal:N.a,Input:B.pd},props:{draftId:{type:[String,Number],required:!0},transformTo:{type:String,required:!0},data:{type:Object,default(){return{}}},description:{type:String,default:""}},enums:{ButtonColorScheme:L.zy,ButtonSize:L.Mp,ButtonShade:L.ap},data(){return{newDraftDescription:"",working:!1}},computed:{askForName(){return!this.data.description}},created(){this.newDraftDescription=this.data.description},methods:{getRegisterForErpData(){const e={register_for_erp:$("#register_for_erp").prop("checked")};return e.register_for_erp&&(e["worksheet_number"]=$("#worksheetno").val(),$("#erpsystype").val()&&(e["system_name"]=$("#erpsystype option:selected").text(),e["system_id"]=$("#erpsystype").val())),e},openDialog(){this.$refs.dialog.open()},openConfirmDialog(){this.$refs.openConfirmDialog.open()},createQuote(){this.working=!0;const{system_name:e,system_id:t,worksheet_number:i}=this.data,n=this.getRegisterForErpData();e&&(n["system_name"]=e),t&&(n["system_id"]=t),i&&(n["worksheet_number"]=i),(0,P.Tb)(this.draftId,O.A.QUOTE,n).then((e=>{const t={description:this.newDraftDescription};return this.data.customer_reference&&(t.customer_reference=this.data.customer_reference),(0,P.qq)(e.draft_id,t).then((t=>e))})).then((e=>{this.navigateToNewDraft(e.draft_id)})).catch((e=>{console.error(e)}))},navigateToNewDraft(e){let t=this.$router.resolve({name:g.Ay.ACCOUNT_DRAFT,params:{id:e}});window.location.assign(t.href)}}}),M=D,k=i(81656),x=(0,k.A)(M,I,R,!1,null,null,null),U=x.exports,G=i(67673),F=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("Drawer",{ref:"drawer",staticClass:"SiteMenuDrawer",attrs:{size:e.DrawerSize.LARGE,dark:"","borderless-header":""},scopedSlots:e._u([{key:"default",fn:function(){return[e.isErpSession||e.$isEnabled("SUPPLIER_ACCOUNT")?e._e():t("AccountContainer",{scopedSlots:e._u([{key:"default",fn:function({branch:i}){return[e.$isEnabled("FAVORITE_STORE")&&i?t("DrawerSection",{staticClass:"SiteMenuDrawer__section"},[t("BranchLineCard",{attrs:{branch:i,"appended-title":"("+e.$t("account.your_branch")+")"}})],1):e.$isEnabled("ACCOUNT_DEPARTMENT")&&i?t("DrawerSection",{staticClass:"SiteMenuDrawer__section"},[t("BranchLineCard",{attrs:{branch:i,"appended-title":"("+e.$t("account.your_department")+")"}})],1):t("span")]}}],null,!1,2528336399)}),t("DrawerSection",{staticClass:"SiteMenuDrawer__section",attrs:{title:e.fetchByNodeId?"":e.navigationListTitle1}},[t("NavigationList",{staticClass:"SiteMenuDrawer__navigationList",attrs:{minimal:!e.hasSomeNavigationListItems1Images}},[e.fetchByNodeId?e._l(e.nodes,(function(e){return t("SiteMenuNavigationListItem",{key:e.GroupId,attrs:{"node-id":String(e.GroupId),"node-children":e.SubGroupItems,title:e.GroupName,url:e.GroupUrl,image:e.ImageUrl}})})):e._l(e.navigationListItems1,(function(e,i){return t("SiteMenuNavigationListItem",{key:e.node_id||i,attrs:{"node-id":e.node_id,"fetch-by-node-id":e.expandable&&!!e.node_id,title:e.title,url:e.url,image:e.image,icon:e.icon}})}))],2)],1),e.$isEnabled("SITE_MENU_VEHICLE_SEARCH")?t("DrawerSection",{staticClass:"SiteMenuDrawer__section"},[t("h2",{staticClass:"bw-text-body-base"},[e._v(e._s(e.$t("vehicle_search.title")))]),t("VehicleContainer",[t("VehicleSearch",{attrs:{redirect:"","plate-search-label":""}})],1)],1):e._e(),e.navigationListItems2.length?t("DrawerSection",{staticClass:"SiteMenuDrawer__section",attrs:{title:e.navigationListTitle2}},[t("NavigationList",{attrs:{minimal:""}},e._l(e.navigationListItems2,(function(e,i){return t("SiteMenuNavigationListItem",{key:e.node_id||i,attrs:{"node-id":e.node_id,"fetch-by-node-id":e.expandable&&!!e.node_id,title:e.title,url:e.url,icon:e.icon,logo:e.logo}})})),1)],1):e._e(),e.navigationListItems3.length?t("DrawerSection",{staticClass:"SiteMenuDrawer__section",attrs:{title:e.navigationListTitle3}},[t("NavigationList",{attrs:{minimal:""}},e._l(e.navigationListItems3,(function(e,i){return t("SiteMenuNavigationListItem",{key:e.node_id||i,attrs:{"node-id":e.node_id,"fetch-by-node-id":e.expandable&&!!e.node_id,title:e.title,url:e.url,icon:e.icon,logo:e.logo}})})),1)],1):e._e(),e.isLoggedIn||e.isErpSession?e._e():t("DrawerSection",{staticClass:"SiteMenuDrawer__section"},[t("SiteMenuButton",{attrs:{tag:"a",title:e.selfserviceName,href:e.$router.resolve({name:e.Route.LOGIN}).href,icon:"fal fa-user"},on:{click:function(t){return t.preventDefault(),e.$actions.run("promptLogin")}}})],1)]},proxy:!0}])})},V=[],z=i(83572);function H(e){return new Promise(((t,i)=>{const n={nodeid:e,selectedNodeId:window.globalvar_n||void 0};z.jI.get("/menu/get",{params:n}).then((e=>t(e.data.data))).catch((e=>i(e)))}))}var q=i(82013),j=i(49347),W=i(28218),Z=i(3379),Q=i(69082),K=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("ul",{class:["NavigationList",e.minimal&&"NavigationList--minimal"]},[e._t("default")],2)},Y=[],X=(0,c.defineComponent)({name:"NavigationList",provide(){return{navigationList:this}},props:{minimal:{type:Boolean,default:!1}}}),J=X,ee=(0,k.A)(J,K,Y,!1,null,"e91e0b02",null),te=ee.exports,ie=function(){var e=this,t=e._self._c;e._self._setupProxy;return 0===e.level?t("li",{class:["NavigationListItem",e.modifierClasses]},[t("div",{staticClass:"NavigationListItem__content"},[t("a",{staticClass:"NavigationListItem__link",attrs:{href:e.url}},[!e.minimal||e.icon?t("div",{staticClass:"NavigationListItem__image"},[!e.minimal&&e.image?t("MediaImage",{attrs:{media:e.image,alt:e.title,width:40,height:40,"maintain-aspect-ratio":""}}):e._e(),e.icon?t("i",{class:[`NavigationListItem__icon fal fa-${e.icon} fa-fw`]}):e._e()],1):e._e(),t("div",{staticClass:"NavigationListItem__title"},[e._v(e._s(e.title))]),e.logo?t("div",{staticClass:"NavigationListItem__logo"},[t("MediaImage",{attrs:{media:e.logo,alt:e.title,width:80,height:40,"maintain-aspect-ratio":""}})],1):e._e()]),e.expandable||e.hasDefaultSlot()?t("button",{staticClass:"NavigationListItem__expand",attrs:{disabled:e.isOpening},on:{click:e.toggle}},[t("svg",{staticClass:"NavigationListItem__expandIcon",attrs:{viewBox:"0 0 22 13",width:"22",height:"13",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M21.8136 1.18079L20.8689 0.186441C20.6203 -0.0621469 20.2226 -0.0621469 20.0237 0.186441L11.0249 9.18531L1.97627 0.186441C1.7774 -0.0621469 1.37966 -0.0621469 1.13107 0.186441L0.186441 1.18079C-0.0621469 1.37966 -0.0621469 1.7774 0.186441 2.02599L10.5774 12.4169C10.826 12.6655 11.174 12.6655 11.4226 12.4169L21.8136 2.02599C22.0621 1.7774 22.0621 1.37966 21.8136 1.18079Z"}})])]):e._e()]),t("CollapseTransition",{attrs:{ease:"linear"},on:{openComplete:function(t){return e.$emit("openComplete")}}},[e.isOpen?t("div",[t("ul",{staticClass:"NavigationListItem__expansion"},[e._t("default")],2)]):e._e()])],1):t("li",{staticClass:"NavigationListItemInner",style:e.styleVariables},[t("div",{staticClass:"NavigationListItemInner__content",on:{click:e.onListItemInnerClick}},[t("a",{staticClass:"NavigationListItem__link",attrs:{href:e.url}},[!e.minimal||e.icon?t("div",{staticClass:"NavigationListItem__image"},[!e.minimal&&e.image?t("MediaImage",{attrs:{media:e.image,alt:e.title,width:40,height:40,"maintain-aspect-ratio":""}}):e._e(),e.icon?t("i",{class:[`NavigationListItem__icon fal fa-${e.icon} fa-fw`]}):e._e()],1):e._e(),t("div",{staticClass:"NavigationListItemInner__title"},[e._v(e._s(e.title))])])]),t("CollapseTransition",{attrs:{ease:"linear"},on:{openComplete:function(t){return e.$emit("openComplete")}}},[e.isOpen?t("div",[t("ul",{staticClass:"NavigationListItemInner__expansion"},[e._t("default")],2)]):e._e()])],1)},ne=[],se=i(53059),ae=i(36910);const re={CLOSED:"CLOSED",OPENING:"OPENING",OPEN:"OPEN"};var oe=(0,c.defineComponent)({name:"NavigationListItem",components:{CollapseTransition:se.Z,MediaImage:ae.Q},provide(){return{navigationListItem:this}},inject:{navigationList:{default(){console.error("Missing NavigationList")}},navigationListItem:{default(){}}},props:{title:{type:String,required:!0},url:{type:String,required:!0},image:{type:String,default:""},icon:{type:String,default:""},active:{type:Boolean,default:!1},expandable:{type:Boolean,default:!1},beforeOpen:{type:Function,default:void 0},logo:{type:String,default:""}},data(){return{status:re.CLOSED}},computed:{minimal(){return this.navigationList.minimal},level(){return this.navigationListItem?this.navigationListItem.level+1:0},styleVariables(){return{"--title-font-weight":this.isOpen||this.active?"bold":"normal"}},isClosed(){return this.status===re.CLOSED},isOpening(){return this.status===re.OPENING},isOpen(){return this.status===re.OPEN},modifierClasses(){return[this.minimal&&"NavigationListItem--minimal",this.isOpen&&"NavigationListItem--open",this.logo&&"NavigationListItem--logo"]}},methods:{hasDefaultSlot(){return!!this.$scopedSlots.default},toggle(){this.isOpen?this.close():this.isClosed&&this.open()},open(){var e;const t=null===(e=this.beforeOpen)||void 0===e?void 0:e.call(this),i=!(null===t||void 0===t||!t.then);i?(this.status=re.OPENING,t.then((()=>this.status=re.OPEN)).catch((()=>this.status=re.CLOSED))):this.status=re.OPEN},close(){this.status=re.CLOSED},onListItemInnerClick(){}}}),le=oe,ce=(0,k.A)(le,ie,ne,!1,null,"13d1a858",null),ue=ce.exports,de=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("NavigationListItem",{ref:"navigationListItem",staticClass:"SiteMenuNavigationListItem",attrs:{title:e.title,url:e.url,image:e.image,icon:e.icon,logo:e.logo,active:e.isActive,expandable:e.fetchByNodeId||!!e.nodes.length,"before-open":e.fetchByNodeId?e.fetchNodes:void 0},on:{openComplete:e.onOpenComplete}},e._l(e.nodes,(function(e){return t("SiteMenuNavigationListItem",{key:e.GroupId,ref:`node${e.GroupId}`,refInFor:!0,attrs:{"node-id":String(e.GroupId),"node-children":e.SubGroupItems,title:e.GroupName,url:e.GroupUrl,image:e.ImageUrl}})})),1)},pe=[],he=(0,c.defineComponent)({name:"SiteMenuNavigationListItem",components:{NavigationListItem:ue},props:{nodeId:{type:String,default:""},fetchByNodeId:{type:Boolean,default:!1},nodeChildren:{type:Array,default(){return[]}},title:{type:String,required:!0},url:{type:String,required:!0},image:{type:String,default:""},icon:{type:String,default:""},logo:{type:String,default:""}},data(){var e;return{nodes:this.nodeChildren.length?this.nodeChildren:[],isActive:null===(e=window.nodePath)||void 0===e?void 0:e.includes(this.nodeId),openNextActiveOnOpenComplete:!1}},mounted(){const e=this.$refs.navigationListItem.level;0===e&&this.isActive&&(this.openNextActive(),setTimeout((()=>this.$el.scrollIntoView({behavior:"smooth"})),400))},methods:{fetchNodes(){return new Promise(((e,t)=>{if(this.nodes.length)return e();H(this.nodeId).then((t=>{this.nodes=t.filter((e=>e.GroupId&&e.GroupName)),e()})).catch((()=>t()))}))},openNextActive(){(this.nodes.length||this.fetchByNodeId)&&(this.openNextActiveOnOpenComplete=!0,this.$refs.navigationListItem.open())},onOpenComplete(){if(this.openNextActiveOnOpenComplete){this.openNextActiveOnOpenComplete=!1;const e=this.nodes.find((e=>{var t;return null===(t=window.nodePath)||void 0===t?void 0:t.includes(String(e.GroupId))}));e&&this.$refs[`node${e.GroupId}`][0].openNextActive()}}}}),me=he,fe=(0,k.A)(me,de,pe,!1,null,null,null),_e=fe.exports,ve=i(63274),ge=function(){var e=this,t=e._self._c;e._self._setupProxy;return t(e.tag,e._b({tag:"component",staticClass:"SiteMenuButton",on:{click:t=>e.$emit("click",t)}},"component",e.$attrs,!1),[e.icon?t("i",{class:["SiteMenuButton__icon",e.icon]}):e._e(),t("div",{staticClass:"SiteMenuButton__title"},[e._v(e._s(e.title))])])},Se=[],Ee=(0,c.defineComponent)({name:"SiteMenuButton",props:{tag:{type:String,default:"button"},title:{type:String,required:!0},icon:{type:String,default:""}}}),Ce=Ee,be=(0,k.A)(Ce,ge,Se,!1,null,"f7649088",null),ye=be.exports,Ae=(0,c.defineComponent)({name:"SiteMenuDrawer",components:{AccountContainer:j.A,VehicleContainer:W.A,Drawer:Z._s,DrawerSection:Z.Tm,BranchLineCard:Q.Z4,NavigationList:te,SiteMenuNavigationListItem:_e,VehicleSearch:ve.A,SiteMenuButton:ye},props:{nodeId:{type:String,default:""},fetchByNodeId:{type:Boolean,default:!1}},enums:{Route:g.Ay,DrawerSize:Z.fT},data(){return{nodes:[]}},computed:{isDesktopSize(){return["desktop","desktopL"].includes(this.$mq)},hasSomeNavigationListItems1Images(){var e;return!(null===(e=this.navigationListItems1)||void 0===e||!e.some((e=>e.image)))},isLoggedIn(){return window.isLoggedIn}},mounted(){this.$actions.add("promptSiteMenu",this.open)},beforeDestroy(){this.$actions.remove("promptSiteMenu")},created(){var e,t,i,s,a,r;this.selfserviceName=n.A.legacy.selfserviceName,this.isErpSession=!!window.erpSessionId,this.navigationListTitle1=(null===(e=window.linklists)||void 0===e||null===(e=e.main_nav_1)||void 0===e?void 0:e.title)||"",this.navigationListItems1=(null===(t=window.linklists)||void 0===t||null===(t=t.main_nav_1)||void 0===t?void 0:t.links)||[],this.navigationListTitle2=(null===(i=window.linklists)||void 0===i||null===(i=i.main_nav_2)||void 0===i?void 0:i.title)||"",this.navigationListItems2=(null===(s=window.linklists)||void 0===s||null===(s=s.main_nav_2)||void 0===s?void 0:s.links)||[],this.navigationListTitle3=(null===(a=window.linklists)||void 0===a||null===(a=a.main_nav_3)||void 0===a?void 0:a.title)||"",this.navigationListItems3=(null===(r=window.linklists)||void 0===r||null===(r=r.main_nav_3)||void 0===r?void 0:r.links)||[]},methods:{open(){this.fetchByNodeId&&!this.nodes.length?H(this.nodeId).then((e=>{this.nodes=e.filter((e=>e.GroupName)),this.$refs.drawer.open()})).catch((()=>{})):this.$refs.drawer.open()},close(){this.$refs.drawer.close()},logout(){(0,q.HF)().then((()=>window.location.href="/"))}}}),Te=Ae,we=(0,k.A)(Te,F,V,!1,null,"07154d76",null),Ie=we.exports,Re=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("AccountContainer",{scopedSlots:e._u([{key:"default",fn:function({branch:i}){return[i?t("a",{class:["SiteHeaderButton",!e.$isEnabled("SITE_HEADER_BRANCH_MOBILE")&&"SiteHeaderButton--hideOnMobile"],attrs:{href:i.url}},[t("div",{staticClass:"SiteHeaderButton__textContainer"},[t("div",{staticClass:"SiteHeaderButton__secondaryText"},[e._v(e._s(i.name))]),t("OpeningHoursStatus",{staticClass:"SiteHeaderButton__primaryText",attrs:{"opening-hours":i.opening_hours_specification.opening_hours,"icon-disabled":"",colorless:"","short-text":""}})],1),t("svg",{staticClass:"SiteHeaderButton__icon",attrs:{viewBox:"0 0 19 25",width:"19",height:"25",xmlns:"http://www.w3.org/2000/svg"}},[t("path",{attrs:{d:"M8.275 24.035C1.465 14.162.2 13.148.2 9.52a9 9 0 1 1 18 0c0 3.628-1.264 4.642-8.075 14.515a1.125 1.125 0 0 1-1.85 0ZM9.2 13.27a3.75 3.75 0 1 0 0-7.5 3.75 3.75 0 0 0 0 7.5Z"}})])]):e._t("default")]}}])})},Pe=[],Oe=i(53758),Le=(0,c.defineComponent)({name:"SiteHeaderBranchButton",components:{AccountContainer:j.A,OpeningHoursStatus:Oe.A}}),Ne=Le,Be=(0,k.A)(Ne,Re,Pe,!1,null,null,null),De=Be.exports,Me=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("Drawer",{ref:"drawer",staticClass:"UserDrawer",attrs:{title:e.selfserviceName,"position-right":""}},[e.$isEnabled("SUPPLIER_ACCOUNT")?e._e():t("AccountContainer",{scopedSlots:e._u([{key:"default",fn:function({complete:i,branch:n}){return[e.$isEnabled("FAVORITE_STORE")?t("DrawerSection",[i&&n?t("div",{staticClass:"UserDrawer__cardWrapper"},[t("BranchLineCard",{staticClass:"UserDrawer__card",attrs:{branch:n,"appended-title":"("+e.$t("account.your_branch")+")"}}),t("button",{staticClass:"UserDrawer__cardControl",on:{click:function(t){return e.$actions.run("promptFavoriteStoreSelect")}}},[t("div",{staticClass:"UserDrawer__cardControlInner"},[t("i",{staticClass:"UserDrawer__cardControlIcon fal fa-edit"}),t("div",{staticClass:"UserDrawer__cardControlLabel"},[e._v(" "+e._s(e.$t("profile.controls.edit_branch--short"))+" ")])])])],1):i&&!n?t("button",{staticClass:"UserDrawer__storeSelect",on:{click:function(t){return e.$actions.run("promptFavoriteStoreSelect")}}},[e._v(" "+e._s(e.$t("profile.controls.choose_branch"))+" ")]):e._e()]):e.$isEnabled("ACCOUNT_DEPARTMENT")&&n?t("DrawerSection",[t("BranchLineCard",{attrs:{branch:n,"appended-title":"("+e.$t("account.your_department")+")"}})],1):t("span")]}}],null,!1,309823747)}),t("DrawerSection",[t("NavigationContainer",{scopedSlots:e._u([{key:"default",fn:function({accountRoutes:i}){return[i.length?t("ul",{staticClass:"UserDrawer__menu"},e._l(i,(function(i){return t("li",{key:i.name},[i.meta.type===e.RouteType.EXTERNAL_LINK||i.meta.type===e.RouteType.INTERNAL_LINK?t("a",{staticClass:"UserDrawer__menuItem",attrs:{href:i.path,target:i.meta.type===e.RouteType.EXTERNAL_LINK&&"_blank"}},[e._v(" "+e._s(i.meta.title)+" ")]):t("a",{staticClass:"UserDrawer__menuItem",attrs:{href:e.$router.resolve({name:i.name}).href}},[e._v(" "+e._s(i.meta.title)+" ")])])})),0):e._e()]}}])})],1),e.$isEnabled("SUPPLIER_ACCOUNT")?t("DrawerSection",[t("div",{staticClass:"UserDrawer__cardWrapper"},[t("button",{staticClass:"UserDrawer__cardControl",on:{click:e.logout}},[t("div",{staticClass:"UserDrawer__cardControlInner"},[t("i",{staticClass:"UserDrawer__cardControlIcon fal fa-sign-out"}),t("div",{staticClass:"UserDrawer__cardControlLabel"},[e._v(e._s(e.$t("authentication.log_out")))])])])])]):t("AccountContainer",{scopedSlots:e._u([{key:"default",fn:function({account:i,fullName:n}){return[t("DrawerSection",[t("div",{staticClass:"UserDrawer__cardWrapper"},[i?t("UserCard",{staticClass:"UserDrawer__card",attrs:{tag:"a",href:e.$router.resolve({name:e.Route.ACCOUNT_PROFILE}).href,title:e.$router.resolve({name:e.Route.ACCOUNT_PROFILE}).route.meta.title,name:n,email:i.current_user.email_address,small:"",clickable:""}}):e._e(),t("button",{staticClass:"UserDrawer__cardControl",on:{click:e.logout}},[t("div",{staticClass:"UserDrawer__cardControlInner"},[t("i",{staticClass:"UserDrawer__cardControlIcon fal fa-sign-out"}),t("div",{staticClass:"UserDrawer__cardControlLabel"},[e._v(e._s(e.$t("authentication.log_out")))])])])],1)])]}}],null,!1,2713150445)})],1)},ke=[],xe=i(23878),Ue=i(78186),$e=(0,c.defineComponent)({name:"UserDrawer",components:{AccountContainer:j.A,NavigationContainer:xe.A,Drawer:Z._s,DrawerSection:Z.Tm,UserCard:Ue.q,BranchLineCard:Q.Z4},enums:{Route:g.Ay,RouteType:S.Y},mounted(){this.$actions.add("promptUserMenu",this.open)},beforeDestroy(){this.$actions.remove("promptUserMenu")},created(){this.selfserviceName=n.A.legacy.selfserviceName},methods:{...(0,h.i0)("account",{logout:"LOGOUT"}),open(){this.$refs.drawer.open()}}}),Ge=$e,Fe=(0,k.A)(Ge,Me,ke,!1,null,"3b792f9d",null),Ve=Fe.exports,ze=i(16425),He=i(2214);const qe=()=>{document.addEventListener("keydown",(e=>{var t;e.shiftKey&&"p"===e.key.toLowerCase()&&(null===(t=window.prices)||void 0===t||t.toggleCostPrices())}))},je="__intersectionObserver__",We="__intersectionObserverOffset__",Ze=e=>e?We:je,Qe=(e,t,i,n,s)=>{"function"===typeof i&&(n?e.isIntersecting&&(i(!0,t),Ye(t,s)):i(e.isIntersecting,t))},Ke=(e,t,i,n)=>{const s="undefined"!==typeof IntersectionObserver;if(!s)return;const a=Ze(n);e[a]=new IntersectionObserver((s=>Qe(s[0],e,t,i,n)),{rootMargin:n?"300px":"0px",threshold:0}),e[a].observe(e)},Ye=(e,t)=>{const i=Ze(t);e[i]&&(e[i].unobserve(e),delete e[i])},Xe={bind(e,{arg:t,value:i,modifiers:n},s){(i||"function"===typeof i)&&!1!==t&&s.context.$nextTick((()=>{Ke(e,i,n.once,n.offset)}))},componentUpdated(e,{arg:t,value:i,oldValue:n,modifiers:s}){if(i!==n){if(!1===t)return;Ye(e),Ke(e,i,s.once,s.offset)}},unbind(e){Ye(e)}};var Je={install(e){e.directive("visibility",Xe)}},et=i(43591);const tt="__resizeObserver__";function it(e,t){const i="function"===typeof t,n="undefined"!==typeof et.A;i&&n&&(e[tt]=new et.A((i=>t(i[0].contentRect,e))),e[tt].observe(e))}function nt(e){e[tt]&&(e[tt].disconnect(),delete e[tt])}const st={bind(e,{value:t}){it(e,t)},componentUpdated(e,{value:t,oldValue:i}){t!==i&&(nt(e),it(e,t))},unbind(e){nt(e)}};var at={install(e){e.directive("resize",st)}};const rt={bind(e){e.addEventListener("click",(e=>{window.ripples.createRipple(e)}))}};var ot={install(e){e.directive("ripple",rt)}},lt=i(28260);const ct={bind(e,t){e.__tooltip=pt(e,t),gt(e,t)},update(e,t){const i=e.__tooltip.element;if(!i)return;const n=i.querySelector(".v-tooltip__content");n&&(n.textContent=t.value,Ct(e,i,t.arg))},unbind(e){const t=e.__tooltip.element;clearTimeout(e.__tooltip.throttleTimeout),t&&t.parentNode&&t.parentNode.removeChild(t),St(e)}},ut=()=>{let e=document.querySelector("#tooltips");return e||(e=document.createElement("div"),e.id="tooltips",document.body.appendChild(e)),e},dt=ut(),pt=(e,t)=>({id:(0,lt.$)(),isVisible:!1,removeTimeout:null,throttleTimeout:null,element:null,show:()=>ht(e,t),hide:()=>ft(e),toggle:()=>_t(e),handleOutside:t=>vt(t,e)}),ht=(e,t)=>{clearTimeout(e.__tooltip.removeTimeout);const i=t.modifiers.throttle;i?e.__tooltip.throttleTimeout=setTimeout((()=>mt(e,t)),500):mt(e,t)},mt=(e,t)=>{let i=document.getElementById(e.__tooltip.id);if(!i){i=Et(e.__tooltip.id);let n=document.createElement("span");n.textContent=t.value,n.classList.add("v-tooltip__content"),i.appendChild(n),dt.appendChild(i)}requestAnimationFrame((()=>{i.style.opacity="1",Ct(e,i,t.arg),e.__tooltip.element=i,e.__tooltip.isVisible=!0,document.addEventListener("click",e.__tooltip.handleOutside)}))},ft=e=>{clearTimeout(e.__tooltip.throttleTimeout);const t=e.__tooltip.element;t&&(t.style.opacity="0",e.__tooltip.removeTimeout=setTimeout((()=>{t.parentNode&&t.parentNode.removeChild(t),e.__tooltip.isVisible=!1,e.__tooltip.element=null,document.removeEventListener("click",e.__tooltip.handleOutside)}),350))},_t=e=>{e.__tooltip.isVisible?e.__tooltip.hide():e.__tooltip.show()},vt=(e,t)=>{const i=t.__tooltip.element;!i||i.contains(e.target)||t.contains(e.target)||t.__tooltip.hide()},gt=(e,t)=>{t.modifiers.toggle?e.addEventListener("click",e.__tooltip.toggle):(e.addEventListener("mouseenter",e.__tooltip.show),e.addEventListener("mouseleave",e.__tooltip.hide),e.addEventListener("touchstart",e.__tooltip.toggle))},St=e=>{e.removeEventListener("mouseenter",e.__tooltip.show),e.removeEventListener("mouseleave",e.__tooltip.hide),e.removeEventListener("touchstart",e.__tooltip.toggle),e.removeEventListener("click",e.__tooltip.toggle),document.removeEventListener("touchstart",e.__tooltip.handleOutside)},Et=e=>{const t=document.createElement("div");t.classList.add("v-tooltip"),t.id=e,t.style.opacity="0";const i=document.createElement("div");return i.classList.add("v-tooltip__arrow"),t.appendChild(i),t},Ct=(e,t,i)=>{const n=["top","right","bottom","left"],s=12,a=e.getBoundingClientRect();let r=i;if(!r||!n.includes(i)){const e=window.innerWidth,t=window.innerHeight,i={top:a.top,right:e-a.right,bottom:t-a.bottom,left:a.left};r=Object.entries(i).sort((([,e],[,t])=>t-e)).find((([e])=>n.includes(e)))[0]}t.className=`v-tooltip v-tooltip--${r}`;const o=window.scrollY||document.documentElement.scrollTop,l={top:()=>bt({element:e,tooltipElement:t,offsetMargin:s,scrollTop:o}),bottom:()=>yt({element:e,tooltipElement:t,offsetMargin:s,scrollTop:o}),right:()=>At({element:e,tooltipElement:t,offsetMargin:s,scrollTop:o}),left:()=>Tt({element:e,tooltipElement:t,offsetMargin:s,scrollTop:o})};l[r]()},bt=({element:e,tooltipElement:t,offsetMargin:i,scrollTop:n})=>{const s=e.getBoundingClientRect();let a=t.getBoundingClientRect();const r=s.top-a.height+n,o=s.left+s.width/2,l=o-a.width/2,c=window.innerWidth-a.width-i,u=Math.max(i,Math.min(l,c)),d=Math.max(i,r);t.style.left=`${u}px`,t.style.top=`${d}px`,requestAnimationFrame((()=>{a=t.getBoundingClientRect();const e=Math.min(a.width-12,Math.max(12,o-a.left));t.style.setProperty("--tooltip-arrow-position-x",`${e}px`)}))},yt=({element:e,tooltipElement:t,offsetMargin:i,scrollTop:n})=>{const s=e.getBoundingClientRect();let a=t.getBoundingClientRect();const r=s.bottom+n,o=s.left+s.width/2,l=o-a.width/2,c=window.innerWidth-a.width-i,u=Math.max(i,Math.min(l,c)),d=Math.min(r,window.innerHeight-a.height-i);t.style.left=`${u}px`,t.style.top=`${d}px`,requestAnimationFrame((()=>{a=t.getBoundingClientRect();const e=Math.min(a.width-12,Math.max(12,o-a.left));t.style.setProperty("--tooltip-arrow-position-x",`${e}px`)}))},At=({element:e,tooltipElement:t,offsetMargin:i,scrollTop:n})=>{const s=e.getBoundingClientRect();let a=t.getBoundingClientRect();const r=s.right,o=s.top+s.height/2,l=o-a.height/2,c=window.innerHeight-a.height-i,u=Math.min(r,window.innerWidth-a.width-i),d=Math.max(i,Math.min(l,c))+n;t.style.left=`${u}px`,t.style.top=`${d}px`,requestAnimationFrame((()=>{a=t.getBoundingClientRect();const e=Math.min(a.height-12,Math.max(12,o-a.top));t.style.setProperty("--tooltip-arrow-position-y",`${e}px`)}))},Tt=({element:e,tooltipElement:t,offsetMargin:i,scrollTop:n})=>{const s=e.getBoundingClientRect();let a=t.getBoundingClientRect();const r=s.left-a.width,o=s.top+s.height/2,l=o-a.height/2,c=window.innerHeight-a.height-i,u=Math.max(i,r),d=Math.max(i,Math.min(l,c))+n;t.style.left=`${u}px`,t.style.top=`${d}px`,requestAnimationFrame((()=>{a=t.getBoundingClientRect();const e=Math.min(a.height-12,Math.max(12,o-a.top));t.style.setProperty("--tooltip-arrow-position-y",`${e}px`)}))};var wt={install(e){e.directive("tooltip",ct)}};i(95127),qe();const It=!1;c["default"].config.productionTip=It,c["default"].config.devtools=It,n.A.testmode||(c["default"].config.errorHandler=o.V),c["default"].config.ignoredElements=[/^klarna-placement/],Object.keys(n.A.storeVersions).forEach((e=>{_.A.dispatch(e+"/checkVersion")})),c["default"].component("SiteMenuDrawer",Ie),c["default"].component("ProductScannerOverlay",(()=>i.e(2989).then(i.bind(i,82989)))),c["default"].component("ProductSheetDrawer",(()=>i.e(520).then(i.bind(i,50520)))),c["default"].component("MediaGalleryModal",(()=>i.e(2217).then(i.bind(i,52217)))),c["default"].component("ProductGallery",(()=>i.e(8838).then(i.bind(i,48838)))),c["default"].component("StoreMediaGallery",(()=>i.e(7523).then(i.bind(i,67523)))),c["default"].component("BrandModal",(()=>Promise.all([i.e(5637),i.e(2384)]).then(i.bind(i,62384)))),c["default"].component("CommentsModal",(()=>i.e(9596).then(i.bind(i,49596)))),c["default"].component("DealerSignupForm",(()=>i.e(7287).then(i.bind(i,67287)))),c["default"].component("SearchPagesWrapper",(()=>Promise.all([i.e(5637),i.e(342)]).then(i.bind(i,20342)))),c["default"].component("VehicleSearchDrawer",(()=>i.e(9115).then(i.bind(i,39115)))),c["default"].component("VehicleDrawer",(()=>i.e(96).then(i.bind(i,80096)))),c["default"].component("VehicleSearchHistoryDrawer",(()=>i.e(1265).then(i.bind(i,21265)))),c["default"].component("FavoriteStoreSelect",(()=>i.e(5213).then(i.bind(i,5213)))),c["default"].component("DeliveryDeadlineStatus",(()=>i.e(7782).then(i.bind(i,87782)))),c["default"].component("NextDeparturesStatus",(()=>i.e(5029).then(i.bind(i,95029)))),c["default"].component("LicensePlateSearch",(()=>i.e(2119).then(i.bind(i,32119)))),c["default"].component("WillProductFitSearch",(()=>i.e(2440).then(i.bind(i,52440)))),c["default"].component("ProductSuggestionsFlowModal",(()=>Promise.all([i.e(6591),i.e(5002)]).then(i.bind(i,4693)))),c["default"].component("FavoriteProductButton",(()=>i.e(196).then(i.bind(i,60196)))),c["default"].component("ProductPrice",(()=>Promise.resolve().then(i.bind(i,69678)))),c["default"].component("BwDiscountBadge",(()=>Promise.resolve().then(i.bind(i,18132)))),c["default"].component("Drawer",G.A),c["default"].component("BuyButton",w.J),c["default"].component("DraftTransformButton",U),c["default"].component("ProductAvailabilityList",(()=>i.e(4359).then(i.bind(i,94359)))),c["default"].component("ProductSpecialDeliveryAvailability",(()=>i.e(4089).then(i.bind(i,54089)))),c["default"].component("UserDrawer",Ve),c["default"].component("EntryModal",ze.A),c["default"].component("CountdownBanner",(()=>i.e(4307).then(i.bind(i,94307)))),c["default"].component("ProductDeliveryInfo",(()=>i.e(5127).then(i.bind(i,65127)))),c["default"].component("SignupCheckbox",(()=>i.e(6970).then(i.bind(i,6970)))),c["default"].component("BookingsWheelStorageOverview",(()=>Promise.all([i.e(640),i.e(4900)]).then(i.bind(i,17909)))),c["default"].component("SystemUserDrawer",(()=>i.e(2320).then(i.bind(i,22320)))),c["default"].component("SystemCartDrawer",(()=>Promise.all([i.e(5637),i.e(6591),i.e(4633)]).then(i.bind(i,30978)))),c["default"].component("SystemBranchSelect",(()=>i.e(3249).then(i.bind(i,73249)))),c["default"].component("SiteSearchDropdown",(()=>Promise.all([i.e(5637),i.e(924),i.e(6503)]).then(i.bind(i,64674)))),c["default"].component("SiteHeaderBranchButton",De),c["default"].component("SiteHeaderErpBranchButton",(()=>i.e(5116).then(i.bind(i,75116)))),c["default"].component("SiteHeaderErpCartButton",(()=>i.e(4743).then(i.bind(i,34743)))),c["default"].component("SiteHeaderCommentsIcon",(()=>i.e(3944).then(i.bind(i,73944)))),c["default"].component("VehicleSearchScene",(()=>i.e(219).then(i.bind(i,80219)))),c["default"].component("TireSearchScene",(()=>Promise.all([i.e(9303),i.e(3411)]).then(i.bind(i,32053)))),c["default"].component("TireGuideScene",(()=>Promise.all([i.e(5366),i.e(9303),i.e(9213)]).then(i.bind(i,4112)))),c["default"].component("VehicleFluidsScene",(()=>Promise.all([i.e(5637),i.e(2659),i.e(5366),i.e(9870)]).then(i.bind(i,25148)))),c["default"].component("VehicleProductsScene",(()=>Promise.all([i.e(5366),i.e(1412)]).then(i.bind(i,84035)))),c["default"].component("VehicleGraphic",(()=>i.e(2250).then(i.bind(i,82250)))),c["default"].component("VehicleGraphicNavigation",(()=>i.e(3635).then(i.bind(i,43635)))),c["default"].component("UserCard",(()=>Promise.resolve().then(i.bind(i,55494)))),c["default"].component("BwBanner",(()=>i.e(5024).then(i.bind(i,85024)))),c["default"].component("StoreFinder",(()=>Promise.resolve().then(i.bind(i,55030)))),c["default"].component("AlgoliaRecommendationsCarousel",(()=>Promise.all([i.e(5637),i.e(3420)]).then(i.bind(i,81039)))),c["default"].component("RecommendationsCarousel",(()=>i.e(7060).then(i.bind(i,67060)))),c["default"].component("SupplementaryProductsCarousel",(()=>i.e(4662).then(i.bind(i,24662)))),c["default"].component("ProductCarousel",He.q),c["default"].component("AssociatedProductsCarousel",(()=>i.e(8147).then(i.bind(i,38147)))),c["default"].component("UspBanner",(()=>i.e(266).then(i.bind(i,266)))),c["default"].component("SearchScene",(()=>Promise.all([i.e(5637),i.e(924),i.e(3787)]).then(i.bind(i,61774)))),c["default"].component("ProductsScene",(()=>Promise.all([i.e(5637),i.e(924),i.e(440)]).then(i.bind(i,21195)))),c["default"].component("AccountCard",(()=>i.e(7644).then(i.bind(i,67644)))),c["default"].component("LabelModal",(()=>i.e(6475).then(i.bind(i,76475)))),c["default"].component("NodeContentModal",(()=>i.e(2663).then(i.bind(i,72663)))),c["default"].component("PushNotificationModal",(()=>i.e(871).then(i.bind(i,50871)))),c["default"].component("AccountMessageModal",(()=>Promise.all([i.e(842),i.e(837),i.e(9494)]).then(i.bind(i,64264)))),c["default"].component("ProductInfoModal",(()=>i.e(3815).then(i.bind(i,13815)))),c["default"].component("AddToCartConfirmationModal",(()=>i.e(4e3).then(i.bind(i,1619)))),c["default"].component("SystemInventoryButton",(()=>Promise.resolve().then(i.bind(i,73389)))),c["default"].component("SystemProductInventory",(()=>i.e(8216).then(i.bind(i,68216)))),c["default"].component("SystemProductInventoryModal",(()=>i.e(9918).then(i.bind(i,39918)))),c["default"].component("EnergyLabellingModal",(()=>i.e(9836).then(i.bind(i,79836)))),c["default"].component("PdfViewerModal",(()=>i.e(5879).then(i.bind(i,95879)))),c["default"].component("NewsletterSignupBanner",(()=>i.e(7374).then(i.bind(i,17374)))),c["default"].component("NewsletterSignupWidget",(()=>i.e(3261).then(i.bind(i,53261)))),c["default"].component("ClickAndCollectBanner",(()=>i.e(322).then(i.bind(i,60322)))),c["default"].component("ClickAndCollectCover",(()=>i.e(8601).then(i.bind(i,98601)))),c["default"].component("ErpConnection",(()=>i.e(6915).then(i.bind(i,86915)))),c["default"].component("CompareProductsBar",(()=>i.e(5766).then(i.bind(i,45766)))),c["default"].component("CompareCheckbox",(()=>Promise.resolve().then(i.bind(i,40968)))),c["default"].component("CompareProductsModal",(()=>Promise.all([i.e(842),i.e(5421)]).then(i.bind(i,10274)))),c["default"].component("BarcodeToggle",(()=>Promise.all([i.e(1618),i.e(3031)]).then(i.bind(i,3031)))),c["default"].component("ResponzaLoginScene",(()=>i.e(9652).then(i.bind(i,89652)))),c["default"].component("ReportProductErrorModal",(()=>Promise.all([i.e(2659),i.e(961)]).then(i.bind(i,45829)))),c["default"].component("FireworksProducts",(()=>Promise.all([i.e(5637),i.e(924),i.e(700)]).then(i.bind(i,7623)))),c["default"].component("FireworksSearch",(()=>Promise.all([i.e(5637),i.e(924),i.e(1351)]).then(i.bind(i,76018)))),c["default"].component("FireworksAgegate",(()=>i.e(5880).then(i.bind(i,95880)))),c["default"].component("FireworkSafetyInformation",(()=>i.e(1806).then(i.bind(i,61806)))),c["default"].use(f),c["default"].use(Je),c["default"].use(at),c["default"].use(ot),c["default"].use(wt),c["default"].use(u.A,{breakpoints:{mobileS:322,mobileM:375,mobileL:425,tablet:768,laptop:1024,laptopL:1280,desktop:1620,desktopL:1/0},defaultBreakpoint:"laptopL"}),c["default"].use(d),c["default"].use(p),c["default"].use(m,{store:_.A}),c["default"].prototype.$config=a(),c["default"].prototype.$price=r.jX,c["default"].prototype.$actions=window.actions,c["default"].prototype.$tracking=window.tracking,c["default"].prototype.$nodeSettings=window.nodeSettings;const Rt=document.querySelectorAll(".js-app-wrapper"),Pt=n.A.organization.toString().toLowerCase(),Ot=document.getElementsByTagName("body")[0];Ot.classList.contains(Pt)||Ot.classList.add(Pt),Rt.forEach(((e,t)=>{const i=`app-wrapper-${t}`;e.setAttribute("id",i),new c["default"]({el:`#${i}`,i18n:l.A,store:_.A,router:T})})),i(58005)},81508:function(e,t,i){"use strict";i.d(t,{Y:function(){return s},o:function(){return n}});const n=Object.freeze({LOGGED_IN:"LOGGED_IN",NOT_LOGGED_IN:"NOT_LOGGED_IN"}),s=Object.freeze({INTERNAL_ROUTE:"INTERNAL_ROUTE",INTERNAL_LINK:"INTERNAL_LINK",EXTERNAL_LINK:"EXTERNAL_LINK"})},76672:function(e,t,i){"use strict";i.d(t,{Df:function(){return p},Gs:function(){return v},J5:function(){return g},K6:function(){return c},VL:function(){return C},Vd:function(){return E},WJ:function(){return f},_8:function(){return b},bx:function(){return S},hG:function(){return _},h_:function(){return d},lo:function(){return h},lw:function(){return l},mt:function(){return u},p2:function(){return o},sU:function(){return a},w8:function(){return r},wz:function(){return m}});i(44114),i(62953);var n=i(83572),s=i(82013);function a(){return new Promise(((e,t)=>{n.jI.get("account").then((i=>{if(i.data.errors||!i.data.data)return t(i.data.errors);const n=i.data.data;"dealer_legacy"===n.type&&(n.type="dealer"),n.manager&&!n.manager.initials&&(n.manager.email_address.includes("@addanmark.dk")||n.manager.email_address.includes("@thansen.dk"))&&(n.manager.initials=n.manager.email_address.split("@")[0]),e(n)})).catch((e=>t(e)))}))}function r(e){return new Promise(((t,i)=>{n.jI.post("account",e).then((e=>t(e.data.data))).catch((e=>i(e)))}))}function o(e){return new Promise(((t,i)=>{n.jI.put("account",e).then((e=>{e.data.errors||!e.data.data?i(e.data.errors):t(e.data.data)})).catch((e=>i(e)))}))}function l(e){return new Promise(((t,i)=>{n.jI.delete(`users/${e}`).then((e=>{e.data.errors||!e.data.data?i(e.data.errors):t(e.data.data)})).catch((e=>i(e)))}))}function c(e){return new Promise(((t,i)=>{n.jI.get("/account/overview",{options:e}).then((e=>{var i;return t(null!==(i=e.data.data)&&void 0!==i?i:e.data)})).catch((e=>i(e)))}))}function u(){return new Promise(((e,t)=>{n.jI.get("usersettings/getsettings?type=admin").then((t=>{var i;return e(null!==(i=t.data.data)&&void 0!==i?i:t.data)})).catch((e=>t(e)))}))}function d(){return new Promise(((e,t)=>{n.jI.get("usersettings/getsettings?type=user").then((t=>{var i;return e(null!==(i=t.data.data)&&void 0!==i?i:t.data)})).catch((e=>t(e)))}))}function p({external_id:e,Settings:t}){return new Promise(((i,s)=>{n.jI.post("usersettings/Update",{external_id:e,Settings:t}).then((e=>i())).catch((e=>s(e)))}))}function h(){return new Promise(((e,t)=>{n.jI.get("users/get").then((t=>{var i;return e(null!==(i=t.data.data)&&void 0!==i?i:t.data)})).catch((e=>t(e)))}))}function m(e){return new Promise(((t,i)=>{n.jI.get(`users/getbyid/${e}`).then((e=>{var i;return t(null!==(i=e.data.data)&&void 0!==i?i:e.data)})).catch((e=>i(e)))}))}function f(e,t){return new Promise(((i,s)=>{const a=[];t.Settings&&a.push(n.jI.post("usersettings/Update",{UserId:e,Settings:t.Settings}).then((e=>i())).catch((e=>s(e)))),t.Email&&a.push(n.jI.post("users/update",{UserId:e,Email:t.Email}).then((e=>i())).catch((e=>s(e)))),Promise.all(a).then((e=>i())).catch((e=>s(e)))}))}function _(e){return new Promise(((t,i)=>{n.jI.delete(`users/delete/${e}`).then((e=>t())).catch((e=>i(e)))}))}function v(e){return new Promise((async(t,i)=>{var a;const{UserName:r,EMail:o,AccountNumber:l,Settings:c}=e,u=await n.jI.post("users/create",{UserName:r,EMail:o,AccountNumber:l}).catch((e=>{i(e)})),{Id:d}=null!==(a=u.data.data)&&void 0!==a?a:u.data;await f(d,{Settings:c}).catch((e=>{i(e)}));const p={email:o,customer_id:l,user_name:r};(0,s.bo)(p),t()}))}const g=e=>new Promise(((t,i)=>{n.jI.post("account/payment",{amount:e}).then((e=>t(e.data.data))).catch((e=>i(e)))}));function S(){return new Promise(((e,t)=>{n.jI.get("/account/price-corrections").then((t=>e(t.data.data))).catch((e=>t(e)))}))}function E(e){return new Promise(((t,i)=>{n.jI.patch("/account/price-corrections",e).then((e=>t(e.data.data))).catch((e=>i(e)))}))}function C(e,t=!0){return new Promise(((i,s)=>{n.H$.get(`/accounts/${e}/messages?unread=${t}`).then((e=>i(e.data.data))).catch((e=>s(e)))}))}function b(e,t){return new Promise(((i,s)=>{n.H$.post(`/accounts/${e}/messages/${t}/read`,{read_location:"web"}).then((e=>i(e.data.data))).catch((e=>s(e)))}))}},82013:function(e,t,i){"use strict";i.d(t,{HF:function(){return a},QE:function(){return l},U5:function(){return s},Wh:function(){return u},bo:function(){return r},gf:function(){return o},qw:function(){return c}});var n=i(83572);function s(e,t){return new Promise(((i,s)=>{const a=e.user_name,r=e.email_address||e.email||e.customer_id,o=e.password;if(!r||void 0==o)return s();n.jI.post("/authentication/login",{user_name:a,customer_id:r,password:o,remember_me:t}).then((e=>{e.data.errors?s(e.data.errors):i(e.data.data)})).catch((e=>s(e)))}))}function a(){return new Promise(((e,t)=>{n.jI.post("/authentication/logout").then((t=>e(t.data.data))).catch((e=>t(e)))}))}function r(e){return new Promise(((t,i)=>{const s=e.email,a=e.customer_id,r=e.user_name;n.jI.post("/authentication/requestchange",{email_address:s,account_no:a,user:r}).then((e=>t(e.data.data))).catch((e=>i(e)))}))}function o(){return new Promise(((e,t)=>{n.jI.get("/authentication/change/token").then((t=>e(t.data.data.token))).catch((e=>t(e)))}))}function l(e,t,i){return new Promise(((s,a)=>{const r={token:e,password:t,...i};n.jI.post("/authentication/change",r).then((e=>{e.data.errors?a(e.data.errors):s(e.data.data)})).catch((e=>a(e)))}))}function c(){return new Promise(((e,t)=>{n.jI.get("/authentication/history").then((t=>e(t.data.data))).catch((e=>t(e)))}))}function u(e){return new Promise(((t,i)=>{n.jI.post("/authentication/password/validatechangetoken",{token:e}).then((e=>t(e.data.data.valid))).catch((e=>i(e)))}))}},48205:function(e,t,i){"use strict";i.d(t,{FA:function(){return c},Px:function(){return u},Z1:function(){return l},Zh:function(){return o},aF:function(){return a},zo:function(){return r}});var n=i(21190),s=i(83572);function a(e){return new Promise(((t,i)=>{s.jI.post(`/cars/RequestNodeInfo/${e}`,{},{errorHandlerIgnore(e){return 400===e.response.status}}).then((e=>t(e.data.data))).catch((e=>i(e)))}))}function r(e){return new Promise(((t,i)=>{s.jI.post(`/cars/RequestVehicleInfoById/${e}`,{},{errorHandlerIgnore(e){return 400===e.response.status}}).then((e=>t(e.data.data))).catch((e=>{e.response?i(e.response):i(e)}))}))}function o(e){return new Promise(((t,i)=>{s.jI.post(`/cars/RequestVehicleInfo/${e}`,{},{errorHandlerIgnore(e){return 400===e.response.status||403===e.response.status}}).then((e=>t(e.data.data))).catch((e=>{e.response&&e.response?i(e.response):i(e)}))}))}function l(e,t){return new Promise(((i,a)=>{s.jI.post(`/cars/RequestVehicleInfo/${e}`,{},{errorHandlerIgnore(e){return 400===e.response.status||403===e.response.status},headers:{CountryCode:t&&t.countryCode||n.A.legacy.countryCode}}).then((e=>i(e.data.data))).catch((e=>{e.response&&e.response.data?a(e.response.data):a(e)}))}))}function c(e){return new Promise(((t,i)=>{const n=e||50;s.jI.get(`/cars/getsearchhistory?id=${n}`).then((e=>t(e.data.data))).catch((e=>i(e)))}))}const u=({license_plate:e,item_number:t,country_code:i})=>new Promise(((n,a)=>{s.jI.post("/cars/willproductfit",{product_number:t,query:e,country:i},{errorHandlerIgnore(e){return 400===e.response.status||404===e.response.status}}).then((e=>n(e.data.data))).catch((e=>a(e)))}))},88919:function(e,t,i){"use strict";i.d(t,{X:function(){return s},d:function(){return a}});i(62953);var n=i(83572);function s(e){return new Promise(((e,t)=>{n.jI.get("/cart").then((t=>e(t.data.data))).catch((e=>t(e.response.data)))}))}function a(e){const t=e.map((e=>new Promise(((t,i)=>{const n="/shoppingcart?uoa=1&item="+e.item_number+"&a="+e.quantity+"&asjson=1";fetch(n,{method:"POST"}).then((e=>e.json())).then((e=>t(e))).catch((e=>i(e)))}))));return Promise.all(t)}},33631:function(e,t,i){"use strict";i.d(t,{Gy:function(){return a},Tu:function(){return r},VK:function(){return o},Y4:function(){return c},m2:function(){return l},vr:function(){return s}});var n=i(83572);function s(e,t,i){return new Promise(((s,a)=>{e||a("Invalid parameters"),n.jI.get("/comments",{params:{ref_type:e,ref_primary:t,ref_secondary:i}}).then((e=>s(e.data.data))).catch((e=>a(e)))}))}function a(e){return new Promise(((t,i)=>{n.jI.post("/comments",e).then((e=>{var n;(null===(n=e.data.errors)||void 0===n?void 0:n.length)>0?i(e.data.errors):t(e.data.data)})).catch((e=>{i(e)}))}))}function r(e){return new Promise(((t,i)=>{n.jI.delete(`/comments/${e}`).then((e=>t(e.data.data))).catch((e=>i(e)))}))}function o(e){return new Promise(((t,i)=>{n.jI.post("/comments/track-seen",{ids:e}).then((e=>t(e.data.data))).catch((e=>i(e)))}))}function l(e){return new Promise(((t,i)=>{n.jI.get("/comments/count",{params:{ref_type:e}}).then((e=>t(e.data.data))).catch((e=>i(e)))}))}function c(){return new Promise(((e,t)=>{n.jI.get("/comments/latest").then((t=>e(t.data.data))).catch((e=>t(e)))}))}},42017:function(e,t,i){"use strict";i.d(t,{CF:function(){return a},Tb:function(){return o},Tn:function(){return r},Vp:function(){return s},qq:function(){return l}});var n=i(83572);function s(e,t){if(void 0!==e)return new Promise(((t,i)=>{n.jI.get("/drafts",{params:{type:e}}).then((e=>t(e.data.data))).catch((e=>i(e.response.data)))}));console.error("No draft type declared")}function a(e){return new Promise(((t,i)=>{n.jI.get(`/drafts/${e}`).then((e=>{e.data.data.lines.forEach((e=>{delete e.product.url})),t(e.data.data)})).catch((e=>i(e.response.data)))}))}function r(e){return new Promise(((t,i)=>{n.jI.delete(`/drafts/${e}`).then((e=>t(e.data.data))).catch((e=>i(e.response.data)))}))}function o(e,t,i){return new Promise(((s,a)=>{n.jI.post(`/drafts/${e}/to${t}`,{...i}).then((e=>s(e.data.data))).catch((e=>a(e.response.data)))}))}function l(e,t){return new Promise(((i,s)=>{n.jI.patch(`/drafts/${e}`,t).then((e=>i(e.data.data))).catch((e=>s(e.response.data)))}))}},98190:function(e,t,i){"use strict";i.d(t,{U5:function(){return r},af:function(){return o},g3:function(){return s},h6:function(){return a}});var n=i(83572);function s(e){return new Promise(((t,i)=>{n.jI.get(`/erpsession/${e}`).then((e=>{if(e.data.errors||!e.data.data)return i(e.data.errors);t(e.data.data)})).catch((e=>{e.response&&e.response.data?i(e.response.data):i(e)}))}))}function a(e){return new Promise(((t,i)=>{n.jI.delete(`/erpsession/${e}`).then((e=>t("success"))).catch((e=>{e.response&&e.response.data?i(e.response.data):i(e)}))}))}function r(e,t){return new Promise(((i,s)=>{const a={user_name:e,password:t};n.jI.post("/erpsession/2fa/login",a).then((e=>i(e.data))).catch((e=>s(e)))}))}function o(e,t){return new Promise(((i,s)=>{const a={verification_id:e,verification_code:t};n.jI.post("/erpsession/2fa/verify",a).then((e=>i(e.data))).catch((e=>s(e)))}))}},83572:function(e,t,i){"use strict";i.d(t,{H$:function(){return v},Ow:function(){return _},jI:function(){return f}});var n=i(94335),s=i(18987),a=i(21190),r=i(2881);const o="v1",l={Accept:"application/json","Content-Type":"application/json","X-Requested-With":"XMLHttpRequest",c:s.A.get("c")||window.globalvar_c,cok:s.A.get("cok")||window.globalvar_cok,"Ocp-Apim-Subscription-Key":a.A.azureSubscription,"domain-code":window.globalvar_domainCode},c={withCredentials:!0,responseType:"json",timeout:6e4,headers:l},u=e=>{e.interceptors.response.use((e=>e),r.$),e.interceptors.response.use((e=>{var t;const i=null===e||void 0===e||null===(t=e.headers)||void 0===t?void 0:t["x-set-cookie"];if(i){const e=i.split(/,(?= ?[^\;]*=)/);e.forEach((e=>document.cookie=e))}return e}))},d=n.A.create({baseURL:"https://xapi.thg.dk/",...c});u(d);const p=n.A.create({baseURL:"https://xalapi.thg.dk/",...c});p.interceptors.response.use((e=>e),r.$);const h=n.A.create({baseURL:"/ajax/",responseType:"json"});h.interceptors.response.use((e=>e),r.$);const m=n.A.create({baseURL:`https://xapi.thg.dk/ecommerce/${o}/`,...c});u(m);const f=d,_=h,v=m},85806:function(e,t,i){"use strict";i.d(t,{I:function(){return a},LH:function(){return l},P4:function(){return u},WW:function(){return o},qM:function(){return d},vS:function(){return s},vp:function(){return r},xu:function(){return c}});var n=i(83572);function s(e){return new Promise(((t,i)=>{n.jI.get(`/lists/${e}`).then((e=>t(e.data.data))).catch((e=>i(e)))}))}function a(e){return new Promise(((t,i)=>{n.jI.delete(`/lists/${e}`).then((e=>t(e.data.data))).catch((e=>i(e)))}))}function r(e,t){return new Promise(((i,s)=>{n.jI.post(`/lists/${e}/items`,t).then((e=>i(e.data.data))).catch((e=>s(e)))}))}function o(e,t){return new Promise(((i,s)=>{n.jI.post(`/lists/${e}/items`,t).then((e=>i(e.data.data))).catch((e=>s(e)))}))}function l(e,t){return new Promise(((i,s)=>{n.jI.patch(`/lists/${e}/items/${t.item_number}`,t).then((e=>i(e.data.data))).catch((e=>s(e)))}))}function c(e,t){return new Promise(((i,s)=>{n.jI.delete(`/lists/${e}/items/${t}`).then((e=>i(e.data.data))).catch((e=>s(e)))}))}function u(e,t){return new Promise(((i,s)=>{n.jI.post(`/lists/${e}/removeItems`,t).then((e=>i(e.data.data))).catch((e=>s(e)))}))}function d(){return new Promise(((e,t)=>{n.jI.get("/lists/favorites").then((t=>e(t.data.data))).catch((e=>t(e)))}))}},44038:function(e,t,i){"use strict";i.d(t,{A:function(){return s}});var n=i(83572);function s({emailAddress:e,listId:t,source:i}){return new Promise(((s,a)=>{n.jI.post("mailinglist/subscribers",{email_address:e,list_id:t,source:i}).then((e=>s(e.data.data))).catch((e=>a(e)))}))}},92283:function(e,t,i){"use strict";i.d(t,{$B:function(){return f},QL:function(){return _},t1:function(){return E},ZK:function(){return p},A8:function(){return h},ab:function(){return d},r3:function(){return g},cV:function(){return v},M_:function(){return m},Kb:function(){return S}});i(16280),i(44114),i(62953),i(48408),i(14603),i(47566),i(98721);var n=i(83572),s=(i(25440),i(79978),i(68344));const a=e=>{if(e.compare_at_price>e.price){const t=e.compare_at_price-e.price,i=t/e.compare_at_price*100;e.discount=Math.floor(i),e.is_sale=!0}else e.discount=0,e.is_sale=!1},r=e=>{const t={};t.parent={node_id:e.nodeID},t.node_id=e.pn,t.item_number=e.vn,t.title=(0,s.Lt)(e.kortnavn),t.url=e.url,t.image=e.image,t.is_new="1"===e.nyhed,t.tags=e.tags||[];const i=o(e.detailpris);return t.price=i.price,t.compare_at_price=i.compare_at_price,t.label=i.label,t.offers=i.offers,a(t),t},o=e=>{const t=e.includes("|");return t?l(e):c(e)},l=e=>{const t={price:0,compare_at_price:0,offers:[],label:""},i=e.replaceAll(",",".").split("|");t.price=Number(i[0]);for(const n of i.splice(1)){const e=n.split("-");t.offers.push({price:Number(e[1]),quantity:Number(e[0]),type:"bundle"})}return t},c=e=>{const t={price:0,compare_at_price:0,offers:[],label:""},i=e.replaceAll(",",".").split("-");return t.price=Number(i[0]),i[1]&&(t.compare_at_price=Number(i[1])),i[3]&&(t.label=i[3]),t};var u=i(18987);function d(e,t){return new Promise(((i,s)=>{n.jI.get(`/products/${e}/inventorylocation/${t}`).then((e=>i(e.data.data))).catch((e=>s(e.response.data)))}))}function p(e,t){return new Promise(((i,s)=>{const a={home:t};n.jI.get(`/products/${e}/inventory`,{params:a}).then((e=>i(e.data.data))).catch((e=>s(e.response.data)))}))}function h(e,t){return new Promise(((i,s)=>{const a={branch:t,items:e.join()};n.jI.get("/products/inventorylevels",{params:a}).then((e=>i(e.data.data))).catch((e=>s(e.response.data)))}))}function m(e,{types:t,subtypes:i}){return new Promise(((s,a)=>{const r={item:e,type:t.join(),subtype:i.join()};n.Ow.get("/functionGetSupplementaryItems.asp",{params:r}).then((e=>s(e.data.data))).catch((e=>a(e)))}))}function f(e,{type:t}){return new Promise(((i,s)=>{const a={pn:e,type:t};n.jI.get("/products/GetAssociatedProducts",{params:a}).then((e=>i(e.data.map(r)))).catch((e=>s(e)))}))}const _=(e,t=1)=>{if(Array.isArray(e))return new Promise(((i,s)=>{const a={items:e.join()};t>1&&(a.quantity=t),n.jI.get("products/availability",{params:a,headers:{hsd:u.A.get("hsd")}}).then((e=>{var t;return i((null===(t=e.data)||void 0===t?void 0:t.data)||e.data)})).catch((e=>s(e)))}));console.error("getAvailability first parameter must be an array!")},v=({vehicleId:e,itemNumbers:t})=>new Promise(((i,s)=>{t||s(new Error("Missing required parameters."));let a=[];Array.isArray(t)?a=t:t&&a.push(t);let r={vehicle_id:e||void 0,items:a.join()};n.jI.get("products/specifications",{params:r}).then((e=>{var t;return i((null===(t=e.data)||void 0===t?void 0:t.data)||e.data)})).catch((e=>s(e)))})),g=e=>new Promise(((t,i)=>{n.jI.get("products/prices",{params:{items:e.join()}}).then((e=>t(e.data.data))).catch((e=>i(e)))})),S=(e,t,{tecdocId:i,regNo:s,errorDescription:a})=>new Promise(((r,o)=>{if(!e||!t)return void o(new Error("Missing required parameters."));const l=new URLSearchParams;l.append("itemNumber",e),l.append("errorType",t),i&&l.append("tecdocId",i),s&&l.append("regNo",s),a&&l.append("errorDescription",a),n.Ow.post("/functionReportProductError.asp",l).then((e=>r(e.data))).catch((e=>o(e)))})),E=(e,t)=>new Promise(((i,s)=>{n.H$.get(`/products/${e}/recommendations/frequently-bought-together`,{params:{limit:t}}).then((e=>{var t;return i((null===(t=e.data)||void 0===t?void 0:t.data)||e.data)})).catch((e=>s(e)))}))},56567:function(e,t,i){"use strict";i.d(t,{Ef:function(){return p},Hn:function(){return m},Jd:function(){return c},O0:function(){return h},ZG:function(){return u},ev:function(){return d}});i(44114),i(62953),i(48408),i(14603),i(47566),i(98721);var n=i(83572),s=i(48205),a=i(21190);const r={getWheels:void 0,getWheelsDimensions:void 0},o=e=>{var t;r[e]&&(null===(t=r[e])||void 0===t||t.abort("Aborting previous request."),r[e]=void 0)},l="function"===typeof AbortController,c=({season:e,vehicle_id:t,inches:i,width:s,profile:a,abortPreviousRequest:c})=>{var u;c&&o("getWheels"),l&&(r["getWheels"]=new AbortController);const d=null===(u=r["getWheels"])||void 0===u?void 0:u.signal;return new Promise(((r,o)=>n.jI.get("products/wheels",{params:{season:e,vehicle_id:t,inches:i,width:s,profile:a},signal:d}).then((e=>r(e.data.data))).catch((e=>o(e)))))},u=(e,{countryCode:t})=>new Promise(((i,n)=>{(0,s.Z1)(e,{countryCode:t}).then((e=>{e.url?i(e):n({error:{status:400}})})).catch((e=>n(e)))})),d=({season:e,vehicle_id:t,inches:i,width:s,profile:a,abortPreviousRequest:c})=>{var u;c&&o("getWheelsDimensions"),l&&(r["getWheelsDimensions"]=new AbortController);const d=null===(u=r["getWheelsDimensions"])||void 0===u?void 0:u.signal;return new Promise(((r,o)=>{n.jI.get("wheels/dimensions",{params:{season:e,vehicle_id:t,inches:i,width:s,profile:a},signal:d}).then((e=>r(e.data.data))).catch((e=>o(e)))}))};function p(e,t){return new Promise(((i,s)=>{const r=[];t.forEach((e=>{var t;null===(t=e.children)||void 0===t||t.forEach((e=>{var t;if(!e.id)return;const i={AutoGrpId:e.id,AutoSubGrpIds:[]};null===(t=e.children)||void 0===t||t.forEach((e=>{i.AutoSubGrpIds.push(e.id)})),r.push(i)}))}));const o={AutoGroupIds:r,CarModel:e,DomainCode:"TSE"===a.A.legacy.domainCode?"TSE":"VAU",SearchRefId:1};n.jI.post("/WheelGuide/GetAllPointsBySearchType",o).then((e=>i(e.data.data))).catch((e=>s(e)))}))}const h=({vehicleId:e,typeId:t})=>new Promise(((i,s)=>{e?n.jI.get(`vehicles/${e}/recommendations/oil`,{params:{typeid:t}}).then((e=>i(e.data.data))).catch((e=>s(e))):s()})),m=(e,{genartIds:t=[],page:i=1,pageSize:s=20})=>new Promise(((a,r)=>{if(!e)return void r();const o=new URLSearchParams;t.forEach((e=>o.append("genart_ids",e))),o.append("page",i),o.append("page_size",s),n.jI.get(`ecommerce/v1/vehicles/${e}/products`,{params:o}).then((e=>a(e.data))).catch((e=>r(e)))}))},21190:function(e,t){"use strict";let i="b2c",n="THG";"VAU"===window.globalvar_domainCode&&(i="b2b",n="VAU");const s={...window.gloSettings},a={inventory:"1.0",availability:"1.0"},r={mode:i,testmode:window.gloSettings&&window.gloSettings.testmode,blackweek:!1,azureSubscription:window.globalvar_azureSubscription,search:{indices:window.algoliaIndices},legacy:s,organization:n,storeVersions:a};t.A=r},61630:function(e,t,i){"use strict";i.d(t,{c:function(){return d}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"InputSkeleton"},[t("SkeletonGraphic",{staticClass:"InputSkeleton__label",attrs:{width:80,height:21}}),t("SkeletonGraphic",{attrs:{width:"100%",height:44,"border-radius":3}})],1)},s=[],a=i(62893),r=i(42745),o=(0,a.defineComponent)({name:"InputSkeleton",components:{SkeletonGraphic:r.s}}),l=o,c=i(81656),u=(0,c.A)(l,n,s,!1,null,"1e01f1d0",null),d=u.exports},42745:function(e,t,i){"use strict";i.d(t,{s:function(){return u}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t(e.tag,{tag:"component",staticClass:"SkeletonGraphic bw-skeleton",style:e.style})},s=[],a=i(62893),r=(0,a.defineComponent)({name:"SkeletonGraphic",props:{tag:{type:String,default:"div"},width:{type:[Number,String],default:null},maxWidth:{type:[Number,String],default:null},height:{type:[Number,String],default:null},borderRadius:{type:[Number,String],default:null}},computed:{style(){return{width:this.parseValue(this.width),maxWidth:this.parseValue(this.maxWidth),height:this.parseValue(this.height),borderRadius:this.parseValue(this.borderRadius)}}},methods:{parseValue(e){return"number"===typeof e?`${e}px`:e}}}),o=r,l=i(81656),c=(0,l.A)(o,n,s,!1,null,null,null),u=c.exports},44485:function(e,t,i){"use strict";i.d(t,{A:function(){return Fe}});var n=i(62893),s=i(95353),a=i(94664),r=i(94334),o=i.n(r),l=i(1983),c=i(61634);const u={ADD_ITEM:"ADD_ITEM",REMOVE_ITEM:"REMOVE_ITEM",RESET:"RESET"};var d={namespaced:!0,state:{maxComparableItems:5,items:{}},getters:{itemsCount:e=>Object.keys(e.items).length,itemKeys:e=>Object.keys(e.items),getItemPropertyValues:e=>t=>Object.values(e.items).map((e=>e[t])),hasItem:(e,t)=>e=>t.itemKeys.includes(e),limitExceeded:(e,t)=>0!==e.maxComparableItems&&t.itemsCount>=e.maxComparableItems},actions:{addItem:({commit:e,getters:t},{id:i,item:n})=>{t.hasItem(i)||e(u.ADD_ITEM,{id:i,item:n})},removeItem:({commit:e},t)=>{e(u.REMOVE_ITEM,t)},reset:({commit:e})=>{e(u.RESET)}},mutations:{[u.ADD_ITEM]:(e,{id:t,item:i})=>{e.items[t]||n["default"].set(e.items,t,i)},[u.REMOVE_ITEM]:(e,t)=>{e.items[t]&&n["default"].delete(e.items,t)},[u.RESET]:e=>{n["default"].set(e,"items",{})}}};i(44114);const p=Object.freeze({ADD_OVERLAY:"ADD_OVERLAY",REMOVE_OVERLAY:"REMOVE_OVERLAY"});var h={namespaced:!0,state:{overlays:[],zIndex:9999},getters:{overlayZIndexesById:e=>e.overlays.reduce(((e,{id:t,zIndex:i})=>(e[t]=i,e)),{}),isOverlayOnTop:e=>t=>{const i=e.overlays.reduce(((e,t)=>t.zIndexe())),e.overlays=[]),e.overlays.push({id:t,closeCallback:n,zIndex:s||e.zIndex}),e.zIndex++},[p.REMOVE_OVERLAY](e,t){const i=e.overlays.findIndex((e=>e.id===t)),n=-1!==i;n&&e.overlays.splice(i,1)}}},m=(i(62953),i(92283)),f=i(27713),_=i(21190);const v=_.A.storeVersions.inventory,g=10,S=300,E=3e4,C=5e3,b=()=>({status:"",inventory:{},_version:""});let y;function A(e,t){return`${e}_${t}`}var T={namespaced:!0,state:b(),getters:{getInventory:(e,t)=>({itemNumber:t,branch:i})=>{const n=A(t,i);return e.inventory[n]},queue:e=>Object.keys(e.inventory).reduce(((t,i)=>(e.inventory[i]._status===f.K.QUEUED&&t.push(e.inventory[i]),t)),[])},actions:{processQueue_debounce({state:e,getters:t,dispatch:i}){y&&clearTimeout(y),t.queue.length>g?i("processQueue"):y=setTimeout((()=>{i("processQueue")}),S)},processQueue({commit:e,state:t,getters:i}){return new Promise(((t,n)=>{if(0===i.queue.length)return t();const s=[...i.queue],a=s.map((e=>e.itemNumber)),r=s[0].branch;s.forEach((t=>{e(f.s.UPSERT_INVENTORY,{_key:t._key,_status:f.K.UPDATING})})),(0,m.A8)(a,r).then((i=>{i.forEach((t=>{const i=A(t.item_number,t.alias||r);e(f.s.UPSERT_INVENTORY,{_key:i,_expires:(new Date).getTime()+E,_updated:(new Date).getTime(),_status:f.K.COMPLETE,itemNumber:t.item_number,branch:t.alias,stock:t.stock})})),t(),e(f.s.CLEANUP)})).catch((e=>{n(),console.error(e)}))}))},fetchSingleInventory({commit:e},{itemNumber:t,branch:i}){return new Promise(((n,s)=>{(0,m.A8)([t],i).then((t=>{const a=t[0];a||s();const r=A(a.item_number,a.alias||i),o={_key:r,_expires:(new Date).getTime()+E,_status:f.K.COMPLETE,itemNumber:a.item_number,branch:a.alias,stock:a.stock};e(f.s.UPSERT_INVENTORY,o),n(o)})).catch((e=>{s(),console.error(e)}))}))},fetchInventory({commit:e,state:t,dispatch:i},{itemNumber:n,branch:s}){return new Promise(((a,r)=>{if(!n||!s)return r();const o=A(n,s),l=t.inventory[o];if(l){const e=l._status===f.K.UPDATING,t=l._status===f.K.QUEUED,i=l._status===f.K.COMPLETE,n=l._updated+C>(new Date).getTime(),s=l._expires>(new Date).getTime();if((e||t)&&n)return a();if(s&&i)return a()}return e(f.s.UPSERT_INVENTORY,{_key:o,_status:f.K.QUEUED,itemNumber:n,branch:s}),i("processQueue_debounce"),a()}))},cleanup({commit:e}){e(f.s.CLEANUP)},checkVersion({commit:e,state:t,getters:i}){t._version&&t._version===v||e(f.s.RESET)},reset({commit:e}){e(f.s.RESET)}},mutations:{[f.s.CLEANUP](e){for(const[t,i]of Object.entries(e.inventory))i._expires<(new Date).getTime()&&n["default"].delete(e.inventory,t)},[f.s.UPSERT_INVENTORY](e,t){n["default"].set(e.inventory,t._key,{...e.inventory[t._key],...t})},[f.s.RESET](e){Object.assign(e,{...b(),_version:v})}}};const w={SET_DIMENSIONS:"SET_DIMENSIONS 🚗",CLEAR_FILTER:"CLEAR_FILTER 🚗",CLEAR_ALL:"CLEAR_ALL 🚗",SET_BRANDS:"SET_BRANDS 🚗",UPDATE_BRANDS:"UPDATE_BRANDS 🚗",SET_COUNT:"SET_COUNT 🚗",SET_FILTRED_BRANDS:"SET_FILTRED_BRANDS 🚗",SET_SSR_CHECKED:"SET_SSR_CHECKED 🚗",SET_OFFER_CHECKED:"SET_OFFER_CHECKED 🚗"},I={width:-1,profile:-1,inches:-1};var R={namespaced:!0,state:{dimensions:{default:{...I}},ssr:{checked:!1,count:0},offer:{checked:!1,count:0},total:0,count:0,brands:{},filtredBrands:[]},getters:{getFilter:e=>({...e}),getSsr:e=>e.ssr,getOffer:e=>e.offer,getDimensions:e=>t=>(t?e.dimensions[t]:e.dimensions.default)||{...I},getBrands:e=>Object.keys(e.brands).map(((t,i)=>({id:t,...e.brands[t]})))},actions:{setFiltredBrands({commit:e},t){e(w.SET_FILTRED_BRANDS,t)},setBrands({commit:e},t){e(w.SET_BRANDS,t)},updateBrands({commit:e},t){e(w.UPDATE_BRANDS,t)},setDimensions({commit:e,state:t,getters:i},{filterId:n,filter:s}){e(w.SET_DIMENSIONS,{filterId:n,filter:s})},setFilterCount({commit:e},t){e(w.SET_COUNT,t)},clear({commit:e},t){e(w.CLEAR_FILTER,t)},clearAll({commit:e},t){e(w.CLEAR_ALL)},setOfferCheck({commit:e},t){e(w.SET_OFFER_CHECKED,t)},setSsrCheck({commit:e},t){e(w.SET_SSR_CHECKED,t)}},mutations:{[w.SET_DIMENSIONS](e,{filterId:t,filter:i}){e.dimensions[t||"default"]?e.dimensions[t||"default"]={...e.dimensions[t||"default"],...i}:e.dimensions[t||"default"]={...I,...i}},[w.SET_COUNT](e,{count:t,total:i,ssrCount:n,offerCount:s}){e.count=t,e.total=i,e.ssr.count=n||0,e.offer.count=s||0},[w.CLEAR_FILTER](e,t){n["default"].set(e.dimensions,t||"default",{...I})},[w.CLEAR_ALL](e){n["default"].set(e,"dimensions",[])},[w.SET_OFFER_CHECKED](e,t){n["default"].set(e.offer,"checked",t)},[w.SET_SSR_CHECKED](e,t){n["default"].set(e.ssr,"checked",t)},[w.SET_BRANDS](e,t){n["default"].set(e,"filtredBrands",Object.keys(t)),n["default"].set(e,"brands",t)},[w.UPDATE_BRANDS](e,t){Object.entries(t).forEach((([t,i])=>{n["default"].set(e.brands,t,{...e.brands[t],...i})}))},[w.SET_FILTRED_BRANDS](e,t){n["default"].set(e,"filtredBrands",t)}}},P=i(18987),O=i(69853),L=i(50326);const N=Object.freeze({SET_SESSION_ID:"SET_SESSION_ID",SET_BRANCH:"SET_BRANCH",SET_EMPLOYEE:"SET_EMPLOYEE",SET_STATUS:"SET_STATUS"}),B=Object.freeze({UPDATE_CART_LINES:"UPDATE_CART_LINES",SET_STATUS:"SET_STATUS",SET_UPDATE_STATUS:"SET_UPDATE_STATUS",SET_ERROR:"SET_ERROR"});var D=i(95613);let M=null;const k="undefined"!==typeof Sentry,x=(e,t,i)=>{k&&Sentry.addBreadcrumb({category:e,message:t,level:i})},U=(e,t)=>{k&&Sentry.withScope((i=>{i.setTag("vue","vuex"),i.setTag("signalR","erp/cart"),i.setLevel("error"),Sentry.captureEvent({message:e,extra:{error:t}})}))};var $={namespaced:!0,state:{lines:[],status:D.D.DISCONNECTED,updateStatus:"",errorMessage:void 0},getters:{getQuantityByItemNumber:e=>t=>{const i=e.lines.find((e=>{var i;return(null===(i=e.item_number)||void 0===i?void 0:i.toString())===t.toString()}));return i?i.quantity:0},getTotalQuantity:e=>e.lines.reduce(((e,t)=>e+t.quantity),0)},actions:{connect({dispatch:e}){x("ERP cart","Build/connect start","info"),e("buildConnection"),e("startConnection")},buildConnection({commit:e,state:t,dispatch:i}){if(t.status!==D.D.DISCONNECTED)return;x("ERP cart","Build connection","info");const n=P.A.get("c"),s=P.A.get("cok");n===window.globalvar_c?(M=(new O.$).withUrl(`https://xalapi.thg.dk/BasketHub?c=${n}&checksum=${s}`).withAutomaticReconnect().build(),M.onreconnecting((()=>{x("ERP cart","Reconnecting","info"),e(B.SET_STATUS,D.D.RECONNECTING)})),M.onreconnected((()=>{x("ERP cart","Reconnected","info"),e(B.SET_STATUS,D.D.CONNECTED)})),M.onclose((()=>{x("ERP cart","Connection closed","info"),e(B.SET_STATUS,D.D.DISCONNECTED)})),M.on("PopulateBasket",(t=>{x("ERP cart","Populating basket","info"),e(B.UPDATE_CART_LINES,t)})),M.on("PushError",(t=>{e(B.SET_ERROR,t),U("ERP cart PushError: "+t,t)})),M.on("StopConnection",(async()=>{x("ERP cart","Stopping Connection","info"),await i("stopConnection"),i("xal/resetSessionData",null,{root:!0})}))):window.location.href="/"},async startConnection({state:e,commit:t}){M&&e.status===D.D.DISCONNECTED&&(x("ERP cart","Starting connection","info"),t(B.SET_STATUS,D.D.CONNECTING),await M.start().then((()=>{x("ERP cart","Connected","info"),t(B.SET_STATUS,D.D.CONNECTED)})).catch((e=>{U("ERP cart connection error",e),t(B.SET_STATUS,D.D.DISCONNECTED),t(B.SET_ERROR,e)})))},async stopConnection({commit:e}){M&&(x("ERP cart","Stopping connection","info"),e(B.SET_STATUS,D.D.DISCONNECTING),await M.stop().then((()=>{x("ERP cart","Connection stopped","info"),e(B.SET_STATUS,D.D.DISCONNECTED)})))},async stopOtherSessionConnections(){x("ERP cart","Stopping other session connections","info"),await M.invoke("StopOtherSessionConnections").then((()=>{})).catch((()=>{}))},async stopSessionConnections({dispatch:e}){x("ERP cart","Stopping all session connections","info"),await e("stopOtherSessionConnections"),await e("stopConnection")},getLines({commit:e}){x("ERP cart","Requesting lines","info"),M.invoke("RequestLines").then((t=>{e(B.UPDATE_CART_LINES,t)})).catch((t=>{e(B.SET_ERROR,t),U("ERP cart RequestLines error",t)}))},addLine({commit:e},t){t&&(x("ERP cart","Adding line","info"),M.invoke("AddLine",t).then((t=>{x("ERP cart","Line added","info"),t.length?e(B.UPDATE_CART_LINES,t):(x("ERP cart","AddLine error","error"),U("ERP cart AddLine error",t))})).catch((i=>{U("ERP cart AddLine error",{error:i,item:t}),e(B.SET_ERROR,i)})))},emptyCart({dispatch:e,state:t}){0!==t.lines.length&&(x("ERP cart","Emptying cart","info"),t.lines.forEach((t=>{e("removeLine",t)})),x("ERP cart","Cart emptied","info"))},removeLine({commit:e},t){t&&(x("ERP cart","Deleting line","info"),M.invoke("DeleteLine",t).then((t=>{x("ERP cart","Line deleted","info"),e(B.UPDATE_CART_LINES,t)})).catch((t=>{e(B.SET_ERROR,t),U("ERP cart DeleteLine error",t)})))},setLineQuantity({commit:e,state:t},i){t.updateStatus!==L.A.WORKING&&(x("ERP cart","Setting line quantity","info"),e(B.SET_UPDATE_STATUS,L.A.WORKING),M.invoke("SetLineQuantity",i).then((t=>{t.length?(x("ERP cart","Line quantity set","info"),e(B.UPDATE_CART_LINES,t),e(B.SET_UPDATE_STATUS,L.A.COMPLETE)):(x("ERP cart","SetLineQuantity error","error"),e(B.SET_UPDATE_STATUS,L.A.ERROR),U("ERP cart SetLineQuantity error",t))})).catch((t=>{e(B.SET_ERROR,t),U("ERP cart SetLineQuantity error",t)})))},setLinePickedLocation({commit:e,state:t},i){t.updateStatus!==L.A.WORKING&&(x("ERP cart","Setting line picked location","info"),e(B.SET_UPDATE_STATUS,L.A.WORKING),M.invoke("SetLinePickedLocation",i).then((t=>{t.length?(x("ERP cart","Line picked location set","info"),e(B.UPDATE_CART_LINES,t),e(B.SET_UPDATE_STATUS,L.A.COMPLETE)):(x("ERP cart","SetLinePickedLocation error","error"),e(B.SET_UPDATE_STATUS,L.A.ERROR),U("ERP cart SetLinePickedLocation error",t))})).catch((t=>{e(B.SET_ERROR,t),U("ERP cart SetLinePickedLocation error",t)})))}},mutations:{[B.UPDATE_CART_LINES](e,t){e.lines=t},[B.SET_STATUS](e,t){e.status=t},[B.SET_UPDATE_STATUS](e,t){e.updateStatus=t},[B.SET_ERROR](e,t){e.errorMessage=t}}},G=i(98190),F={namespaced:!0,modules:{cart:$},state:{status:"",sessionId:window.erpSessionId||"",employee:null,branch:null},actions:{fetchSessionData({commit:e,state:t,dispatch:i}){t.sessionId&&t.status!==L.A.WORKING&&t.status!==L.A.COMPLETE&&(window.addEventListener("keydown",(e=>{"y"===e.key&&e.ctrlKey&&i("logoutSession")})),e(N.SET_STATUS,L.A.WORKING),(0,G.g3)(t.sessionId).then((i=>{var n;i.employee&&e(N.SET_EMPLOYEE,i.employee),!i.branch||null!==(n=t.branch)&&void 0!==n&&n.slug||e(N.SET_BRANCH,i.branch),e(N.SET_STATUS,L.A.COMPLETE)})).catch((()=>{})))},async logoutSession({state:e,dispatch:t}){e.sessionId&&(await t("cart/stopSessionConnections"),(0,G.h6)(e.sessionId).then((()=>t("resetSessionData"))).catch((()=>t("resetSessionData"))))},resetSessionData({commit:e}){e(N.SET_BRANCH,null),e(N.SET_EMPLOYEE,null),e(N.SET_SESSION_ID,""),P.A.remove("c"),window.location.href="/"},changeBranch({commit:e},t){e(N.SET_BRANCH,t)}},mutations:{[N.SET_SESSION_ID](e,t){e.sessionId=t},[N.SET_EMPLOYEE](e,t){e.employee=t},[N.SET_BRANCH](e,t){e.branch=t},[N.SET_STATUS](e,t){e.status=t}}},V=(i(13609),i(56567)),z=i(48205),H=i(48608);const q=Object.freeze({SET_COUNTRY:"SET_COUNTRY",SET_STATUS:"SET_STATUS",SET_ERROR_MESSAGE:"SET_ERROR_MESSAGE",SET_VEHICLE:"SET_VEHICLE",SET_VEHICLE_CAR_TYPE_ID:"SET_VEHICLE_CAR_TYPE_ID",SET_VEHICLE_CAR_TYPE_TO_MULTIPLE:"SET_VEHICLE_CAR_TYPE_TO_MULTIPLE",SET_LICENSE_PLATE:"SET_LICENSE_PLATE",SET_TECDOC:"SET_TECDOC",SET_CHASSIS_NUMBER:"SET_CHASSIS_NUMBER",SET_EXPIRATION:"SET_EXPIRATION",SET_SEARCH_OPTIONS:"SET_SEARCH_OPTIONS",CLEAR_MANUAL_SEARCH:"CLEAR_MANUAL_SEARCH"}),j=6e4,W=["manufacturers","models","engines","production_years","variants"];var Z={namespaced:!0,state:{status:"",errorMessage:"",searchedLicensePlate:"",searchedTecDoc:"",searchedChassisNumber:"",vehicle:{},previousVehicles:[],manualSearch:[],currentCountry:void 0,expiresAt:Date.now()},getters:{searchOptions:e=>(t,i)=>{let n=e.manualSearch[W.indexOf(t)]||[];return i&&n.length&&(n=n.filter((e=>e[i]))),[...n].sort(((e,t)=>e.name===t.name?0:e.namet=>{let i=e.manualSearch[W.indexOf(t)]||[];return i?i.find((e=>e.is_selected)):null},hasSearchOptions:(e,t)=>e=>0!==t.searchOptions(e).length,isLastSearchOption:(e,t)=>{const i=t.selectedSearchOption(W[W.length-1]);return!!i&&Boolean(i.is_last&&i.is_selected)}},actions:{fetchVehicleByLicensePlate:({dispatch:e,commit:t,state:i},n)=>{if(i.status!==L.A.WORKING)return new Promise(((s,a)=>{const r=i.expiresAt{window.features.includes("VEHICLE_SEARCH_REMEMBER_SEARCH")&&e("setSearch",{key:"license_plate",value:i.registration_plate}),t(q.SET_VEHICLE,i),t(q.SET_EXPIRATION),e("onComplete"),s(i)})).catch((t=>{e("onError",t),a(t)}))):s(i.vehicle)}))},onError:({commit:e},t)=>{e(q.SET_STATUS,L.A.ERROR),e(q.SET_ERROR_MESSAGE,t)},onComplete:({commit:e})=>{e(q.SET_STATUS,L.A.COMPLETE),e(q.SET_ERROR_MESSAGE,"")},setupManualSearch:({state:e,dispatch:t},i)=>{let n=i;n||(n=Number(_.A.legacy.nodeBil)),e.manualSearch.length||e.status===L.A.WORKING||t("fetchSearchOptions",{node:n})},fetchSearchOptions:({commit:e,dispatch:t,getters:i},{node:n,category:s,tecdoc:a})=>{const r=W.indexOf(s);""===n&&"undefined"===typeof n||r>=W.length-1?e(q.SET_SEARCH_OPTIONS,{node:n,level:r,tecdoc:a}):(e(q.SET_STATUS,L.A.WORKING),(0,z.aF)(n).then((s=>{e(q.SET_SEARCH_OPTIONS,{node:n,level:r,data:s,tecdoc:a}),t("onComplete"),i.hasSearchOptions(W[1])&&e(q.SET_LICENSE_PLATE,"")})).catch((e=>t("onError",e))))},submitManualSearch:({commit:e,getters:t,dispatch:i})=>new Promise(((n,s)=>{t.isLastSearchOption||s(),(0,H.$)(),i("resetSearch");const a=t.selectedSearchOption(W[W.length-1]);e(q.SET_VEHICLE,a),i("onComplete"),window.features.includes("VEHICLE_SEARCH_REMEMBER_SEARCH")||e(q.CLEAR_MANUAL_SEARCH),n(a)})),resetSearch:({commit:e})=>{e(q.SET_LICENSE_PLATE,""),e(q.SET_TECDOC,""),e(q.SET_CHASSIS_NUMBER,"")},setSearch:({commit:e},{key:t,value:i})=>{"license_plate"===t&&e(q.SET_LICENSE_PLATE,i),"tecdoc"===t&&e(q.SET_TECDOC,i),"chassis_number"===t&&e(q.SET_CHASSIS_NUMBER,i)},setCountry:({commit:e},t)=>e(q.SET_COUNTRY,t),setVehicle:({commit:e},t)=>e(q.SET_VEHICLE,t),setVehicleCarTypeId:({commit:e},{vehicleId:t,carTypeId:i})=>{e(q.SET_VEHICLE_CAR_TYPE_ID,{vehicleId:t,carTypeId:i})},setVehicleCarTypesToMultiple:({commit:e},t)=>{e(q.SET_VEHICLE_CAR_TYPE_TO_MULTIPLE,{vehicleId:t,hasMultipleCarTypes:!0})}},mutations:{[q.SET_COUNTRY]:(e,t)=>{e.currentCountry=t,e.expiresAt=null},[q.SET_STATUS]:(e,t)=>e.status=t,[q.SET_ERROR_MESSAGE]:(e,t)=>e.errorMessage=t,[q.SET_VEHICLE]:(e,t)=>{t.timestamp=Date.now(),e.vehicle=t;const i=t.vehicle_id||t.id,n=e.previousVehicles.findIndex((e=>e.id===i)),s=-1!==n?e.previousVehicles[n]:null,a={id:i,registrationPlate:t.registration_plate};s&&(a.oil||(a.oil={}),s.oil&&(a.oil.typeId=s.oil.typeId,a.oil.hasMultipleTypes=s.oil.hasMultipleTypes)),-1!==n&&e.previousVehicles.splice(n,1),e.previousVehicles.unshift(a),e.previousVehicles.length>5&&(e.previousVehicles.length=5)},[q.SET_VEHICLE_CAR_TYPE_ID]:(e,{vehicleId:t,carTypeId:i})=>{const n=e.previousVehicles.findIndex((e=>e.id===t));-1!==n&&(e.previousVehicles[n].oil||(e.previousVehicles[n].oil={}),e.previousVehicles[n].oil.typeId=i)},[q.SET_VEHICLE_CAR_TYPE_TO_MULTIPLE]:(e,{vehicleId:t,hasMultipleCarTypes:i})=>{const n=e.previousVehicles.findIndex((e=>e.id===t));-1!==n&&(e.previousVehicles[n].oil||(e.previousVehicles[n].oil={}),e.previousVehicles[n].oil.hasMultipleTypes=i)},[q.SET_LICENSE_PLATE]:(e,t)=>e.searchedLicensePlate=null===t||void 0===t?void 0:t.toUpperCase(),[q.SET_TECDOC]:(e,t)=>e.searchedTecDoc=t,[q.SET_CHASSIS_NUMBER]:(e,t)=>e.searchedChassisNumber=null===t||void 0===t?void 0:t.toUpperCase(),[q.SET_EXPIRATION]:e=>e.expiresAt=Date.now()+j,[q.SET_SEARCH_OPTIONS]:(e,{node:t,level:i,data:n,tecdoc:s})=>{const a=[...e.manualSearch];if(void 0===i||-1===i)a[0]=n;else{a[i].forEach((e=>{e.n.toString()!==t.toString()||s&&e.vehicle_id.toString()!==s.toString()?e.is_selected&&(e.is_selected=!1):e.is_selected=!0})),n&&(a[i+1]=n);while(a.length-1>i+1)a.pop()}a&&a[0]&&(e.manualSearch=a)},[q.CLEAR_MANUAL_SEARCH]:(e,t)=>{if(0!==e.manualSearch.length)if(t)e.manualSearch.splice(t,10);else{const t=[e.manualSearch[0]];t[0]&&t[0].forEach((e=>{e.is_selected&&(e.is_selected=!1)})),e.manualSearch=t}}}};const Q={PUSH_PRODUCTS:"PUSH_PRODUCTS",CLEAR_PRODUCTS:"CLEAR_PRODUCTS",ENQUEUE_FETCHING_METHOD:"ENQUEUE_FETCHING_METHOD",DEQUEUE_FETCHING_METHOD:"DEQUEUE_FETCHING_METHOD"};var K={namespaced:!0,state:{productsOnPage:[],fetchingQueue:[]},actions:{pushToFetchingQueue({state:e,commit:t,dispatch:i},n){const s=0===e.fetchingQueue.length;t(Q.ENQUEUE_FETCHING_METHOD,n),s&&i("resolveNext")},resolveNext({state:e,commit:t,dispatch:i}){const n=e.fetchingQueue[0];n().then((n=>{t(Q.PUSH_PRODUCTS,n),t(Q.DEQUEUE_FETCHING_METHOD);const s=e.fetchingQueue.length>0;s&&i("resolveNext")}))},clearProductsOnPage({commit:e}){e(Q.CLEAR_PRODUCTS)}},mutations:{[Q.PUSH_PRODUCTS](e,t){const i=t.map((e=>e.item_number));e.productsOnPage.push(...i)},[Q.CLEAR_PRODUCTS](e){e.productsOnPage=[]},[Q.ENQUEUE_FETCHING_METHOD](e,t){e.fetchingQueue.push(t)},[Q.DEQUEUE_FETCHING_METHOD](e){e.fetchingQueue.shift()}}};const Y={ADD_PRICES:"ADD_PRICES",ADD_TO_QUEUE:"ADD_TO_QUEUE",REMOVE_FROM_QUEUE:"REMOVE_FROM_QUEUE"},X=10,J=100;let ee;var te={namespaced:!0,state:{itemNumbersQueue:{},prices:{}},getters:{getPrices:e=>t=>{const i=e.prices[t];return(void 0!==e.itemNumbersQueue[t]||i)&&i||null},getPriceCode:e=>t=>{var i;return null===(i=e.prices[t])||void 0===i?void 0:i.price_code},getDiscount:e=>t=>{var i;return null===(i=e.prices[t])||void 0===i?void 0:i.discount}},actions:{fetchPrices:({commit:e,state:t,dispatch:i})=>{ee&&clearTimeout(ee),ee=setTimeout((async()=>{const n=Object.keys(t.itemNumbersQueue);if(n.length<=0)return;const s=n.slice(0,X);await(0,m.r3)(s).then((n=>{e(Y.REMOVE_FROM_QUEUE,s),e(Y.ADD_PRICES,n),Object.keys(t.itemNumbersQueue).length>0&&i("fetchPrices")})).catch((e=>console.error("Failed to fetch prices",e)))}),J)},addItemNumberToQueue:({commit:e,dispatch:t},i)=>{e(Y.ADD_TO_QUEUE,i),t("fetchPrices")}},mutations:{[Y.ADD_PRICES](e,t){const i={...e.prices,...t};n["default"].set(e,"prices",i)},[Y.ADD_TO_QUEUE](e,t){void 0===e.prices[t]&&void 0===e.itemNumbersQueue[t]&&n["default"].set(e.itemNumbersQueue,t,!0)},[Y.REMOVE_FROM_QUEUE](e,t){t.forEach((t=>{n["default"].delete(e.itemNumbersQueue,t)}))}}},ie=i(27854);const ne=_.A.storeVersions.availability,se=5,ae=3e4,re=300,oe=2;let le,ce,ue=!0;var de={namespaced:!0,state:{availabilityItems:{},itemNumbersQueue:[],_version:""},getters:{getAvailability:e=>(t,i=1)=>e.availabilityItems[`${t}:${i}`]},actions:{startInterval({dispatch:e}){ce&&clearInterval(ce),ce=setInterval((()=>e("updateExpired")),ae)},clearInterval(){clearInterval(ce)},fetchAvailabilityDebounce({dispatch:e,state:t,commit:i,getters:n},{itemNumber:s,quantity:a=1}){e("startInterval"),ue&&(e("clearExpired"),ue=!1);const r=n.getAvailability(s,a);r&&i(ie.s.UPDATE_EXPIRED_ITEM,s),(!r||r.expired&&r.status!==ie.n.UPDATING&&r.retriesse?e("fetchAvailability",{itemNumbers:o,quantity:a}):le=setTimeout((()=>{e("fetchAvailability",{itemNumbers:o,quantity:a})}),re)},fetchAvailability({commit:e,getters:t,dispatch:i},{itemNumbers:n,quantity:s=1}){if(!n.length)return;const a=n.map((e=>e.split(`:${s}`)[0]));e(ie.s.REMOVE_FROM_QUEUE,n),(0,m.QL)(a,s).then((t=>{t.products.forEach((t=>{e(ie.s.ADD_ITEM,{data:{...t,expired:!1,expires:(new Date).getTime()+ae,status:ie.n.COMPLETE,retries:0},quantity:s})}))})).catch((a=>{n.forEach((a=>{const r=t.getAvailability(a,s);if(!r)return;const o=r.retries+1||1;e(ie.s.UPDATE_ITEM_STATUS,{itemNumber:a,quantity:s,status:ie.n.ERROR,retries:o}),r.retries!t.includes(e)))}}};const pe={SET_ACTIVE_STATE:"SET_ACTIVE_STATE",SET_ACTIVE_TIMESTAMP:"SET_ACTIVE_TIMESTAMP"};var he={namespaced:!0,state:{active:!1,lastActive:null},getters:{isActive:e=>e.active,lastActive:e=>e.lastActive},actions:{setActiveState:({commit:e},t)=>{e(pe.SET_ACTIVE_STATE,t)},setActiveTimestamp:({commit:e},t)=>{e(pe.SET_ACTIVE_TIMESTAMP,t)}},mutations:{[pe.SET_ACTIVE_STATE](e,t){e.active=t},[pe.SET_ACTIVE_TIMESTAMP](e,t){e.lastActive=t}}};const me={ADD_PRODUCT:"ADD_PRODUCT"};let fe=!1;const _e={namespaced:!0,state:{quantities:{}},getters:{getProductQuantity:e=>(t,i)=>t&&i?e.quantities[`${t}${i}`]:null},actions:{addProductQuantity({commit:e},{itemNumber:t,quantity:i,quantityId:n}){e("ADD_PRODUCT",{itemNumber:t,quantity:i,quantityId:n})},registerGlobalAction({commit:e}){fe||(fe=!0,window.actions.add("promptAddBuyButtonInputQuantity",(t=>{e("ADD_PRODUCT",{itemNumber:t.itemNumber,quantity:Number(t.quantity),quantityId:t.quantityId})})))}},mutations:{[me.ADD_PRODUCT](e,{itemNumber:t,quantity:i,quantityId:s}){(t&&s||i)&&n["default"].set(e.quantities,`${t}${s}`,Number(i))}}},ve=Object.freeze({INSERT_COMMENTS:"INSERT_COMMENTS",REMOVE_COMMENT_BY_ID:"REMOVE_COMMENT_BY_ID",REMOVE_COMMENTS:"REMOVE_COMMENTS",UPDATE_COMMENT:"UPDATE_COMMENT",UPDATE_COMMENT_ID:"UPDATE_COMMENT_ID",UPDATE_COUNT_BY_REF_TYPE:"UPDATE_COUNT_BY_REF_TYPE"}),ge=Object.freeze({SENDING:"SENDING",ERROR:"ERROR",SUCCESS:"SUCCESS"});var Se=i(33631),Ee={namespaced:!0,state:{comments:[],countsByRefType:{}},getters:{getComments:e=>({refType:t,refPrimary:i,refSecondary:n})=>e.comments.filter((e=>(!t||e.ref_type===t)&&(void 0===i||e.ref_primary==i)&&(void 0===n||e.ref_secondary==n))),getUnseenComments:e=>({refType:t,refPrimary:i,refSecondary:n})=>e.getComments({refType:t,refPrimary:i,refSecondary:n}).filter((e=>!e.seen)),getRefId:()=>(e,t,i="")=>{const n=t?"-"+String(t):"",s=t&&i?"-"+String(i):"";return e+n+s},commentsByRefId:(e,t)=>e.comments.reduce(((e,i)=>{const n=t.getRefId(i.ref_type,i.ref_primary,i.ref_secondary);return e[n]||(e[n]=[]),e[n].push(i),e}),{})},actions:{postComment({commit:e,dispatch:t},{refType:i,refPrimary:n,refSecondary:s,message:a}){return new Promise(((r,o)=>{const l={ref_type:i,ref_primary:n,ref_secondary:s,message:a},c="temp"+Math.floor(Math.random()*Date.now());l.__modified=Date.now(),l.id=c,l.__id=c,l.created_date=(new Date).toISOString(),l.is_author=!0,l.seen=!0,l.send_status=ge.SENDING,e(ve.INSERT_COMMENTS,l),(0,Se.Gy)(l).then((a=>{e(ve.UPDATE_COMMENT_ID,{tempId:c,newId:String(a.id)}),t("fetchComments",{refType:i,refPrimary:n,refSecondary:s}),r()})).catch((e=>{o(e)}))}))},deleteComment({commit:e},t){return new Promise(((i,n)=>{(0,Se.Tu)(t).then((()=>{e(ve.REMOVE_COMMENT_BY_ID,t),i()})).catch((e=>{n(e)}))}))},fetchComments({commit:e},{refType:t,refPrimary:i,refSecondary:n}){return new Promise(((s,a)=>{(0,Se.vr)(t,i,n).then((t=>{e(ve.INSERT_COMMENTS,t),s()})).catch((e=>{a(e)}))}))},insertComments({commit:e},{comments:t,refType:i,refPrimary:n,refSecondary:s}){const a=Date.now();e(ve.INSERT_COMMENTS,t.map((e=>({...e,__modified:a})))),e(ve.REMOVE_COMMENTS,{beforeDate:a,refType:i,refPrimary:n,refSecondary:s})},setSeenComments({commit:e,dispatch:t,state:i},n){if(!n)return;!Array.isArray(n)&&n.id&&(n=[n]),n.forEach((t=>e(ve.UPDATE_COMMENT,{id:t.id,seen:!0})));const s=n.map((e=>e.id)),a=n.map((e=>e.ref_type));(0,Se.VK)(s).then((()=>{a.forEach((e=>{const n=i.countsByRefType[e];n&&t("fetchCommentsCount",e)}))}))},fetchCommentsCount({commit:e},t){(0,Se.m2)(t).then((i=>{e(ve.UPDATE_COUNT_BY_REF_TYPE,{refType:t,total:i.total,unseen:i.total_unseen})}))}},mutations:{[ve.INSERT_COMMENTS](e,t){Array.isArray(t)||(t=[t]),t&&(t.forEach((t=>{const i=e.comments.find((e=>e.id===t.id));if(i){const s=e.comments.indexOf(i);let a={...i,...t};n["default"].set(e.comments,s,a)}else t.__unread=!t.seen||!1,e.comments.push(t)})),e.comments.sort(((e,t)=>new Date(e.created_date)-new Date(t.created_date))))},[ve.REMOVE_COMMENT_BY_ID](e,t){const i=e.comments.findIndex((e=>e.id===t));-1!==i&&e.comments.splice(i,1)},[ve.REMOVE_COMMENTS](e,{beforeDate:t,refType:i,refPrimary:n,refSecondary:s}){let a=e.comments.length;while(a--){const r=e.comments[a];i&&r.ref_type!==i||void 0!==n&&r.ref_primary!==n||void 0!==s&&r.ref_secondary!==s||t&&!(r.__modifiede.id===t));if(-1!==s){const t=e.comments[s];t.id=i,n["default"].set(e.comments,s,t)}},[ve.UPDATE_COMMENT](e,t){const i=e.comments.findIndex((e=>e.id===t.id));-1!==i&&n["default"].set(e.comments,i,{...e.comments[i],...t})},[ve.UPDATE_COUNT_BY_REF_TYPE](e,{refType:t,total:i,unseen:s}){n["default"].set(e.countsByRefType,t,{total:i,unseen:s})}}},Ce=i(85806);const be={UPSERT_FAVORITES:"UPSERT_FAVORITES",REMOVE_FAVORITE:"REMOVE_FAVORITE",REMOVE_FAVORITES:"REMOVE_FAVORITES",REMOVE_OUTDATED_FAVORITES:"REMOVE_OUTDATED_FAVORITES",SET_STATUS:"SET_STATUS",SET_FETCH_STATUS:"SET_FETCH_STATUS",SET_LIST_ID:"SET_LIST_ID",SET_LAST_FETCH:"SET_LAST_FETCH"},ye=1e4,Ae=5e3;let Te;var we={namespaced:!0,state:{favorites:[],status:L.A.IDLE,fetchStatus:L.A.IDLE,lastFetch:null,listId:null},getters:{favoritesByItemNumber:e=>e.favorites.reduce(((e,t)=>(e[t.item_number]=t,e)),{})},actions:{toggleFavorite({getters:e,dispatch:t},i){const n=e.favoritesByItemNumber[i.item_number];n?t("removeFavorite",i.item_number):t("addFavorite",i)},addFavorite({commit:e,dispatch:t},i){e(be.UPSERT_FAVORITES,{items:[i]}),t("debounceSyncFavorites")},removeFavorite({state:e,commit:t,getters:i},n){const s=i.favoritesByItemNumber[n],a=s.__synced;return t(be.REMOVE_FAVORITE,n),e.listId&&a?new Promise(((t,i)=>{(0,Ce.xu)(e.listId,n).then((e=>t(e))).catch((e=>i(e)))})):Promise.resolve()},removeFavorites({state:e,commit:t},i){return t(be.REMOVE_FAVORITES,i),e.listId?new Promise(((t,n)=>{(0,Ce.P4)(e.listId,i).then((e=>t(e))).catch((e=>n(e)))})):Promise.resolve()},debounceSyncFavorites({dispatch:e}){Te&&clearTimeout(Te),Te=setTimeout((()=>e("syncFavorites")),Ae)},syncFavorites({state:e,commit:t}){if(!e.listId||e.status===L.A.WORKING)return Promise.resolve();const i=e.favorites.filter((e=>!e.__synced));return i.length?(t(be.SET_STATUS,L.A.WORKING),new Promise(((n,s)=>{(0,Ce.WW)(e.listId,i).then((e=>{const i=Date.now();t(be.UPSERT_FAVORITES,{items:e,timestamp:i}),t(be.SET_STATUS,L.A.COMPLETE),n()})).catch((e=>{t(be.SET_STATUS,L.A.ERROR),s(e)}))}))):Promise.resolve()},fetchFavorites({state:e,commit:t,dispatch:i}){return window.isLoggedIn&&e.fetchStatus!==L.A.WORKING?(t(be.SET_FETCH_STATUS,L.A.WORKING),new Promise(((n,s)=>{if(e.lastFetch&&Date.now()-e.lastFetch{const s=null===e||void 0===e?void 0:e.items,a=Date.now();t(be.SET_LIST_ID,e.id),t(be.SET_LAST_FETCH,a),t(be.UPSERT_FAVORITES,{items:s,timestamp:a}),t(be.REMOVE_OUTDATED_FAVORITES),i("syncFavorites").finally((()=>{t(be.SET_FETCH_STATUS,L.A.COMPLETE),n()}))})).catch((e=>{t(be.SET_FETCH_STATUS,L.A.ERROR),s(e)}))}))):Promise.resolve()}},mutations:{[be.UPSERT_FAVORITES](e,{items:t,timestamp:i}){t.forEach((t=>{t.__synced=i;const s=e.favorites.findIndex((e=>e.item_number===t.item_number)),a=-1!==s;a?n["default"].set(e.favorites,s,t):e.favorites.push(t)}))},[be.REMOVE_FAVORITE](e,t){const i=e.favorites.findIndex((e=>e.item_number===t)),n=-1!==i;n&&e.favorites.splice(i,1)},[be.REMOVE_FAVORITES](e,t){e.favorites=e.favorites.filter((e=>!t.includes(e.item_number)))},[be.REMOVE_OUTDATED_FAVORITES](e){e.favorites=e.favorites.filter((t=>t.__synced===e.lastFetch||!t.__synced))},[be.SET_LIST_ID](e,t){e.listId=t},[be.SET_STATUS](e,t){e.status=t},[be.SET_FETCH_STATUS](e,t){e.fetchStatus=t},[be.SET_LAST_FETCH](e,t){e.lastFetch=t}}},Ie=i(83572);function Re(){return new Promise(((e,t)=>{Ie.jI.get("shipping/next-departures").then((({data:i})=>{var n;if(null!==(n=i.errors)&&void 0!==n&&n.length||!i.data)return t(i.errors);e(i.data)})).catch((e=>t(e)))}))}var Pe=i(96946);const Oe=Object.freeze({SET_NEXT_DEPARTURES:"SET_NEXT_DEPARTURES",SET_STATUS:"SET_STATUS"});var Le={namespaced:!0,state:{nextDepartures:[],status:L.A.IDLE},getters:{nextDeparture:e=>e.nextDepartures.reduce(((e,t)=>e?t.order_deadline_date{t(Oe.SET_NEXT_DEPARTURES,e),t(Oe.SET_STATUS,L.A.COMPLETE)})).catch((e=>{t(Oe.SET_STATUS,L.A.ERROR)})))}},mutations:{[Oe.SET_NEXT_DEPARTURES](e,t){e.nextDepartures=t},[Oe.SET_STATUS](e,t){e.status=t}}};n["default"].use(s.Ay);const Ne=window.localStorage.getItem("thg-cnotoken"),Be=window.localStorage.getItem("thg-c"),De="4",Me=window.localStorage.getItem("thg-state-version"),ke=""!==Me&&Me!==De,xe=Be!==window.globalvar_c,Ue=""!==Ne&&Ne!==window.globalvar_cnotoken;(ke||xe||Ue)&&(window.localStorage.removeItem("thg-state"),window.localStorage.removeItem("thg-product-first-interaction-history")),window.localStorage.setItem("thg-state-version",De),window.localStorage.setItem("thg-cnotoken",window.globalvar_cnotoken),window.localStorage.setItem("thg-c",window.globalvar_c);const $e=new a.Ay({strictMode:!1,storage:window.localStorage,reducer:e=>({account:{account:e.account.account},compare:e.compare,inventory:e.inventory,xal:{employee:e.xal.employee,branch:e.xal.branch},vehicle:{vehicle:e.vehicle.vehicle,previousVehicles:e.vehicle.previousVehicles,searchedLicensePlate:e.vehicle.searchedLicensePlate,searchedTecDoc:e.vehicle.searchedTecDoc,searchedChassisNumber:e.vehicle.searchedChassisNumber,manualSearch:e.vehicle.manualSearch,currentCountry:e.vehicle.currentCountry},availability:{availabilityItems:e.availability.availabilityItems},favoritesStore:{favorites:e.favoritesStore.favorites,listId:e.favoritesStore.listId,lastFetch:e.favoritesStore.lastFetch},nextDeparturesStore:{nextDepartures:e.nextDeparturesStore.nextDepartures}}),key:"thg-state"}),Ge=new s.Ay.Store({modules:{account:l.Ay,availability:de,buyButtonQuantityInputStore:_e,cart:c.Ay,commentsStore:Ee,compare:d,favoritesStore:we,inventory:T,nextDeparturesStore:Le,overlay:h,price:te,recommendations:K,tirefilter:R,userActivity:he,vehicle:Z,xal:F},mutations:{RESTORE_MUTATION:$e.RESTORE_MUTATION},strict:!1,plugins:[$e.plugin,o()({predicate:e=>e.type.startsWith("favoritesStore/")||"account/RESET_ACCOUNT"===e.type})]});Ge.dispatch("buyButtonQuantityInputStore/registerGlobalAction");var Fe=Ge},1983:function(e,t,i){"use strict";i.d(t,{En:function(){return h},v2:function(){return p},Ay:function(){return C}});i(44114);var n=i(76672),s=i(83572);function a(e){return new Promise(((t,i)=>{s.jI.get(`/klaviyo/profiles/${e}`).then((e=>t(e.data))).catch((e=>i(e)))}))}function r(e,t){return new Promise(((i,n)=>{s.jI.put(`/klaviyo/profiles/${e}`,t).then((e=>i(e.data))).catch((e=>n(e)))}))}var o=i(87430),l=i(60285),c=i(50326),u=i(18987),d=i(82013);const p={GET_ACCOUNT_TYPE:"GET_ACCOUNT_TYPE",GET_BRANCH:"GET_BRANCH",IS_DEALER:"IS_DEALER",IS_PRIVATE:"IS_PRIVATE",IS_VENDOR:"IS_VENDOR",FULL_NAME:"FULL_NAME",HAS_EMAIL:"HAS_EMAIL"},h={LOGOUT:"LOGOUT",FETCH_ACCOUNT:"FETCH_ACCOUNT",UPDATE_ACCOUNT:"UPDATE_ACCOUNT",DELETE_ACCOUNT:"DELETE_ACCOUNT",DELETE_EMAIL:"DELETE_ACCOUNT_EMAIL",ADD_EMAIL:"ADD_ACCOUNT_EMAIL",EDIT_EMAIL:"EDIT_ACCOUNT_EMAIL",SET_PRIMARY_EMAIL:"SET_PRIMARY_EMAIL",FETCH_PROFILE:"FETCH_PROFILE",UPDATE_PROFILE:"UPDATE_PROFILE",FETCH_OVERVIEW:"FETCH_OVERVIEW",UPDATE_BRANCH:"UPDATE_BRANCH",DELETE_BRANCH:"DELETE_BRANCH"},m={SET_ACCOUNT_STATUS:"SET_ACCOUNT_STATUS",SET_ACCOUNT:"SET_ACCOUNT",SET_ACCOUNT_UPDATING_STATUS:"SET_ACCOUNT_UPDATING_STATUS",ASSIGN_ACCOUNT:"ASSIGN_ACCOUNT",SET_PROFILE_STATUS:"SET_PROFILE_STATUS",SET_PROFILE:"SET_PROFILE",SET_PROFILE_UPDATING_STATUS:"SET_PROFILE_UPDATING_STATUS",ASSIGN_PROFILE:"ASSIGN_PROFILE",SET_OVERVIEW:"SET_OVERVIEW",RESET_ACCOUNT:"RESET_ACCOUNT"},f=3e5,_=1e4;let v=null,g=null,S=!1;const E=e=>{if(S)return;S=!0;const{account_number:t,email_address:i,phone_number:n,first_name:s,last_name:a,address:r}=e;window.tracking.push({event:"IDENTIFY",data:{account_number:t,email_address:i,phone_number:n,first_name:s,last_name:a,address:r}})};var C={namespaced:!0,state:{isLoggedIn:window.isLoggedIn,accountStatus:"",account:null,accountUpdatingStatus:"",profileStatus:"",profile:null,profileUpdatingStatus:"",overview:{},latestOverviewUpdate:0},getters:{[p.GET_ACCOUNT_TYPE](e){var t,i;return null!==(t=null===(i=e.account)||void 0===i?void 0:i.type)&&void 0!==t?t:""},[p.IS_DEALER](e){var t;return(null===(t=e.account)||void 0===t?void 0:t.type)===o.C.DEALER},[p.IS_PRIVATE](e){var t;return(null===(t=e.account)||void 0===t?void 0:t.type)===o.C.PRIVATE},[p.IS_VENDOR](e){var t;return(null===(t=e.account)||void 0===t?void 0:t.type)===o.C.VENDOR},[p.GET_BRANCH](e){var t;return null!==(t=e.account)&&void 0!==t&&t.branch_slug?e.account.branch:null},[p.HAS_EMAIL](e){return t=>{var i;return t=t.toLowerCase(),e.account.email_address===t||!(null===(i=e.account)||void 0===i||!i.secondary_email_addresses)&&e.account.secondary_email_addresses.some((e=>e.email_address===t))}},[p.FULL_NAME](e){if(!e.account)return"";const t=e.account.current_user.first_name,i=e.account.current_user.last_name;if(t&&i)return`${t} ${i}`;if(t)return t;if(i)return i;const n=e.account.current_user.email_address,s=(0,l.x)(n)?n.split("@")[0]:n;return s}},actions:{[h.FETCH_ACCOUNT]({state:e,commit:t},{force:i}={}){if(!e.isLoggedIn)return Promise.resolve(null);if(e.accountStatus===c.A.WORKING)return g;const s=!e.account||e.account.__expires{(0,n.sU)().then((i=>{i.branch_slug&&u.A.set("favShopClosestsWebId",i.branch_slug),E(i),t(m.SET_ACCOUNT,i),t(m.SET_ACCOUNT_STATUS,c.A.COMPLETE),e(i)})).catch((e=>{t(m.SET_ACCOUNT_STATUS,c.A.ERROR),i(e)}))})),g):(t(m.SET_ACCOUNT_STATUS,c.A.COMPLETE),E(e.account),Promise.resolve(e.account))},[h.UPDATE_ACCOUNT]({commit:e,dispatch:t},i){e(m.SET_ACCOUNT_UPDATING_STATUS,c.A.WORKING),(0,n.p2)(i).then((i=>{S=!1,t(h.FETCH_ACCOUNT,{force:!0}),e(m.SET_ACCOUNT_UPDATING_STATUS,c.A.COMPLETE)})).catch((t=>{e(m.SET_ACCOUNT_UPDATING_STATUS,c.A.ERROR)}))},[h.DELETE_ACCOUNT]({state:e}){return new Promise(((t,i)=>{var s;null!==(s=e.account)&&void 0!==s&&null!==(s=s.current_user)&&void 0!==s&&s.id?(0,n.lw)(e.account.current_user.id).then((e=>{t()})).catch((e=>{i()})):i()}))},[h.DELETE_EMAIL]({state:e,dispatch:t},i){return new Promise(((s,a)=>{e.account.secondary_email_addresses||a();const r={secondary_email_addresses:e.account.secondary_email_addresses.map((e=>e.email_address===i?{...e,email_address:""}:e))};(0,n.p2)(r).then((e=>{S=!1,t(h.FETCH_ACCOUNT).finally((e=>s()))})).catch((e=>{a(e)}))}))},[h.SET_PRIMARY_EMAIL]({state:e,dispatch:t},i){return new Promise(((s,a)=>{e.account.secondary_email_addresses||a();const r=e.account.secondary_email_addresses.find((e=>e.email_address===i)),o=e.account.secondary_email_addresses.find((e=>0===e.order));r&&o||a();const l=[{...r,order:0},{...o,order:r.order}];(0,n.p2)({secondary_email_addresses:l}).then((e=>{S=!1,t(h.FETCH_ACCOUNT).finally((e=>s()))})).catch((e=>a(e)))}))},[h.ADD_EMAIL]({state:e,dispatch:t},i){return new Promise(((s,a)=>{const r=[{email_address:i,order:e.account.secondary_email_addresses?e.account.secondary_email_addresses.length:0}];(0,n.p2)({secondary_email_addresses:r}).then((e=>{S=!1,t(h.FETCH_ACCOUNT).finally((e=>s()))})).catch((e=>a(e)))}))},[h.EDIT_EMAIL]({state:e,dispatch:t},{from:i,to:s}){return new Promise(((a,r)=>{const o=e.account.secondary_email_addresses.findIndex((e=>e.email_address.toLowerCase()===i.toLowerCase()));-1===o&&r();const l=[{email_address:s,order:o}];(0,n.p2)({secondary_email_addresses:l}).then((()=>{S=!1,t(h.FETCH_ACCOUNT).finally((e=>a()))})).catch((e=>r(e)))}))},[h.FETCH_PROFILE]({state:e,commit:t}){e.account&&e.account.email_address&&(t(m.SET_PROFILE_STATUS,c.A.WORKING),a(e.account.email_address).then((e=>{const i=0===Object.keys(e).length?null:e;t(m.SET_PROFILE,i),t(m.SET_PROFILE_STATUS,c.A.COMPLETE)})).catch((e=>{t(m.SET_PROFILE_STATUS,c.A.ERROR)})))},[h.UPDATE_PROFILE]({state:e,commit:t,dispatch:i},n){e.profile&&e.profile.email&&e.profileStatus!==c.A.WORKING&&(clearTimeout(v),t(m.ASSIGN_PROFILE,n),t(m.SET_PROFILE_UPDATING_STATUS,c.A.WORKING),v=setTimeout((()=>{r(e.profile.email,e.profile).then((e=>{t(m.SET_PROFILE_UPDATING_STATUS,c.A.COMPLETE)})).catch((e=>{t(m.SET_PROFILE_UPDATING_STATUS,c.A.ERROR),i(h.FETCH_PROFILE)}))}),800))},[h.UPDATE_BRANCH]({state:e,commit:t,dispatch:i},s){var a;const r=s.slug||s.webid;e.accountStatus!==c.A.WORKING&&e.accountUpdatingStatus!==c.A.WORKING&&(null===(a=e.account)||void 0===a?void 0:a.branch_slug)!==r&&(t(m.SET_ACCOUNT_UPDATING_STATUS,c.A.WORKING),(0,n.p2)({branch_slug:r}).then((e=>{u.A.set("favShopClosestsWebId",r),S=!1,i(h.FETCH_ACCOUNT,{force:!0}),t(m.SET_ACCOUNT_UPDATING_STATUS,c.A.COMPLETE)})).catch((e=>{S=!1,i(h.FETCH_ACCOUNT,{force:!0}),t(m.SET_ACCOUNT_UPDATING_STATUS,c.A.ERROR)})))},[h.DELETE_BRANCH]({state:e,commit:t}){var i;e.accountStatus!==c.A.WORKING&&e.accountUpdatingStatus!==c.A.WORKING&&null!==(i=e.account)&&void 0!==i&&i.branch_slug&&(t(m.SET_ACCOUNT_UPDATING_STATUS,c.A.WORKING),(0,n.p2)({branch_slug:""}).then((e=>{t(m.ASSIGN_ACCOUNT,{branch:null,branch_slug:null}),t(m.SET_ACCOUNT_UPDATING_STATUS,c.A.COMPLETE)})).catch((e=>{t(m.SET_ACCOUNT_UPDATING_STATUS,c.A.ERROR)})))},[h.FETCH_OVERVIEW]({state:e,commit:t},{ignoreCooldown:i=!1}){return new Promise(((s,a)=>{!i&&Date.now(){t(m.SET_OVERVIEW,e.overview),s()})).catch((e=>{a(e)}))}))},[h.LOGOUT]({commit:e}){return new Promise(((t,i)=>{(0,d.HF)().then((i=>{window.tracking.push({event:"LOGOUT"}),e(m.RESET_ACCOUNT),t(i)})).catch(i)}))}},mutations:{[m.SET_ACCOUNT_STATUS](e,t){e.accountStatus=t},[m.SET_ACCOUNT](e,t){e.account={...t,__expires:Date.now()+f}},[m.SET_ACCOUNT_UPDATING_STATUS](e,t){e.accountUpdatingStatus=t},[m.ASSIGN_ACCOUNT](e,t){Object.assign(e.account,t)},[m.SET_PROFILE_STATUS](e,t){e.profileStatus=t},[m.SET_PROFILE](e,t){e.profile=t},[m.SET_PROFILE_UPDATING_STATUS](e,t){e.profileUpdatingStatus=t},[m.ASSIGN_PROFILE](e,t){Object.assign(e.profile,t)},[m.SET_OVERVIEW](e,t){e.overview=t,e.latestOverviewUpdate=Date.now()},[m.RESET_ACCOUNT](){window.localStorage.removeItem("thg-state"),window.location.href="/"}}}},27854:function(e,t,i){"use strict";i.d(t,{n:function(){return s},s:function(){return n}});const n={ADD_ITEM_TO_QUEUE:"ADD_ITEM_TO_QUEUE",ADD_ITEM:"ADD_ITEM",REMOVE_FROM_QUEUE:"REMOVE_FROM_QUEUE",UPDATE_EXPIRED_ITEM:"UPDATE_EXPIRED_ITEM",UPDATE_EXPIRED:"UPDATE_EXPIRED",UPDATE_ITEM_STATUS:"UPDATE_ITEM_STATUS",CLEAR_EXPIRED:"CLEAR_EXPIRED",RESET:"RESET"},s={UPDATING:"UPDATING",ERROR:"ERROR",COMPLETE:"COMPLETE"}},61634:function(e,t,i){"use strict";i.d(t,{En:function(){return r},v2:function(){return a}});var n=i(88919),s=i(50326);const a={IS_EMPTY:"IS_EMPTY",QUANTITY:"QUANTITY"},r={FETCH_CART:"FETCH_CART"},o={SET_STATUS:"SET_STATUS",SET_CART:"SET_CART"},l={lines:[]};t.Ay={namespaced:!0,state:{cart:{...l},status:""},getters:{[a.IS_EMPTY](e){return!e.cart||!e.cart.lines||0===e.cart.lines.length},[a.QUANTITY](e){return e.cart&&e.cart.lines&&0!==e.cart.lines.length?e.cart.lines.reduce(((e,t)=>e+t.quantity),0):0}},actions:{[r.FETCH_CART]({commit:e}){e(o.SET_STATUS,s.A.WORKING),(0,n.X)().then((t=>{e(o.SET_CART,t),e(o.SET_STATUS,s.A.COMPLETE)})).catch((t=>{e(o.SET_STATUS,s.A.ERROR)}))}},mutations:{[o.SET_STATUS](e,t){e.status=t},[o.SET_CART](e,t){e.cart=t}}}},27713:function(e,t,i){"use strict";i.d(t,{K:function(){return s},s:function(){return n}});const n={UPSERT_INVENTORY:"UPSERT_INVENTORY",CLEANUP:"CLEANUP",RESET:"RESET"},s={QUEUED:"QUEUED",UPDATING:"UPDATING",COMPLETE:"COMPLETE",ERROR:"ERROR"}},53059:function(e,t,i){"use strict";i.d(t,{Z:function(){return d},l:function(){return r.l}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("transition",{attrs:{mode:e.transitionMode,name:"collapse",appear:""},on:{beforeAppear:e.onBeforeEnter,appear:e.onEnter,afterAppear:e.onAfterEnter,beforeEnter:e.onBeforeEnter,enter:e.onEnter,afterEnter:e.onAfterEnter,beforeLeave:e.onBeforeLeave,leave:e.onLeave,afterLeave:e.onAfterLeave}},[e._t("default")],2)},s=[],a=i(62893),r=i(71169),o=(0,a.defineComponent)({name:"CollapseTransition",props:{mode:{type:String,default:r.l.IN_OUT,validator:e=>Object.values(r.l).includes(e)}},data(){return{leaveHeight:0}},computed:{transitionMode(){return{[r.l.IN_OUT]:"in-out",[r.l.OUT_IN]:"out-in"}[this.mode]}},methods:{onBeforeEnter(e){requestAnimationFrame((()=>{e.style.height=`${this.leaveHeight}px`}))},onEnter(e){requestAnimationFrame((()=>{requestAnimationFrame((()=>{e.style.height=`${e.scrollHeight}px`}))}))},onAfterEnter(e){e.style.height=null,this.$emit("openComplete")},onBeforeLeave(e){requestAnimationFrame((()=>{this.leaveHeight=e.offsetHeight,e.style.height=`${e.scrollHeight}px`}))},onLeave(e){requestAnimationFrame((()=>{requestAnimationFrame((()=>{e.style.height="0px"}))}))},onAfterLeave(e){this.leaveHeight=0,e.style.height=null,this.$emit("closeComplete")}}}),l=o,c=i(81656),u=(0,c.A)(l,n,s,!1,null,"59a1b6b7",null),d=u.exports},23028:function(e,t,i){"use strict";i.d(t,{A:function(){return d},l:function(){return r.l}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("transition",{attrs:{mode:e.transitionMode,name:"fade",appear:e.appear},on:{beforeAppear:e.onBeforeAppear,appear:e.onAppear,afterAppear:e.onAfterAppear,beforeEnter:e.onBeforeEnter,enter:e.onEnter,afterEnter:e.onAfterEnter,beforeLeave:e.onBeforeLeave,leave:e.onLeave,afterLeave:e.onAfterLeave}},[e._t("default")],2)},s=[],a=i(62893),r=i(71169),o=(0,a.defineComponent)({name:"FadeTransition",props:{appear:{type:Boolean,default:!1},duration:{type:Number,default:200},delay:{type:Number,default:0},transformWidth:{type:Boolean,default:!1},transformHeight:{type:Boolean,default:!1},mode:{type:String,default:r.l.OUT_IN,validator:e=>Object.values(r.l).includes(e)}},data(){return{enterWidth:0,leaveWidth:0,enterHeight:0,leaveHeight:0}},computed:{transitionMode(){return{[r.l.IN_OUT]:"in-out",[r.l.OUT_IN]:"out-in"}[this.mode]}},methods:{onBeforeAppear(e){this.appear&&this.onBeforeEnter(e)},onAppear(e){this.appear&&this.onEnter(e)},onAfterAppear(e){this.appear&&this.onAfterEnter(e)},onBeforeEnter(e){requestAnimationFrame((()=>{this.delay&&(e.style.transitionDelay=`${this.delay}ms`),this.transformWidth&&(this.enterWidth=e.scrollWidth,e.style.width=`${this.leaveWidth}px`),this.transformHeight?(this.enterHeight=e.scrollHeight,e.style.transitionDuration=this.duration/2+"ms",e.style.height=`${this.leaveHeight}px`):e.style.transitionDuration=`${this.duration}ms`}))},onEnter(e){requestAnimationFrame((()=>{requestAnimationFrame((()=>{e.style.opacity=1,this.transformWidth&&(e.style.width=`${this.enterWidth}px`),this.transformHeight&&(e.style.height=`${this.enterHeight}px`)}))}))},onAfterEnter(e){this.reset(e),this.$emit("enterComplete")},onBeforeLeave(e){requestAnimationFrame((()=>{e.style.opacity=1,e.style.transitionDuration=`${this.duration}ms`,this.delay&&(e.style.transitionDelay=`${this.delay}ms`),this.transformWidth&&(e.style.width=`${e.scrollWidth}px`),this.transformHeight&&(e.style.height=`${e.scrollHeight}px`)}))},onLeave(e){requestAnimationFrame((()=>{requestAnimationFrame((()=>{e.style.opacity=0,this.transformWidth&&(this.leaveWidth=0,e.style.width=`${this.leaveWidth}px`),this.transformHeight&&(this.leaveHeight=e.scrollHeight,e.style.height=`${this.leaveHeight}px`)}))}))},onAfterLeave(e){this.reset(e),this.$emit("leaveComplete")},reset(e){requestAnimationFrame((()=>{e.style.transitionDuration=null,e.style.transitionDelay=null,e.style.width=null,e.style.height=null,e.style.opacity=null}))}}}),l=o,c=i(81656),u=(0,c.A)(l,n,s,!1,null,"03916683",null),d=u.exports},28185:function(e,t,i){"use strict";i.d(t,{P:function(){return n["default"]},l:function(){return s.l}});var n=i(29244),s=i(71169)},84291:function(e,t,i){"use strict";i.d(t,{E:function(){return u}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("transition-group",{attrs:{name:e.disableMove?void 0:"list-transition",tag:e.tag},on:{enter:e.onEnter,"after-enter":e.onAfterEnter,leave:e.onLeave}},[e._t("default")],2)},s=[],a=i(62893),r=(0,a.defineComponent)({name:"ListTransition",props:{disableMove:{type:Boolean,default:!1},tag:{type:String,default:"ul"}},data(){return{leaveHeight:0}},methods:{onEnter(e){const t=getComputedStyle(e).width;e.style.width=t,e.style.position="absolute",e.style.visibility="hidden",e.style.height="auto";const i=getComputedStyle(e).height;e.style.width=null,e.style.position=null,e.style.visibility=null,e.style.height=0,getComputedStyle(e).height,requestAnimationFrame((()=>{e.style.height=i}))},onAfterEnter(e){e.style.height="auto"},onLeave(e){this.leaveHeight=getComputedStyle(e).height,e.style.height=this.leaveHeight,requestAnimationFrame((()=>{e.style.height="0"}))}}}),o=r,l=i(81656),c=(0,l.A)(o,n,s,!1,null,"50aba846",null),u=c.exports},49403:function(e,t,i){"use strict";i.d(t,{l:function(){return d}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("FadeTransition",{staticClass:"SkeletonTransition",attrs:{"transform-height":""}},[e.ready?t("div",{key:"default"},[e._t("default")],2):t("div",{key:"skeleton",staticStyle:{width:"100%"}},[e._t("skeleton")],2)])},s=[],a=i(62893),r=i(23028),o=(0,a.defineComponent)({name:"SkeletonTransition",components:{FadeTransition:r.A},props:{ready:{type:Boolean,required:!0}}}),l=o,c=i(81656),u=(0,c.A)(l,n,s,!1,null,"f27e6878",null),d=u.exports},5926:function(e,t,i){"use strict";i.d(t,{N:function(){return d}});var n=function(){var e=this,t=e._self._c;e._self._setupProxy;return e.group?t("transition-group",e._b({attrs:{tag:e.tag,name:"slide-right"}},"transition-group",e.$attrs,!1),[e._t("default")],2):t("transition",e._b({attrs:{mode:e.transitionMode,name:"slide-right"}},"transition",e.$attrs,!1),[e._t("default")],2)},s=[],a=i(62893),r=i(71169),o=(0,a.defineComponent)({name:"SlideRightTransition",props:{tag:{type:String,default:""},group:{type:Boolean,default:!1},mode:{type:String,default:r.l.IN_OUT,validator:e=>Object.values(r.l).includes(e)}},computed:{transitionMode(){return{[r.l.IN_OUT]:"in-out",[r.l.OUT_IN]:"out-in"}[this.mode]}}}),l=o,c=i(81656),u=(0,c.A)(l,n,s,!1,null,null,null),d=u.exports},87430:function(e,t,i){"use strict";i.d(t,{C:function(){return n}});const n={PRIVATE:"private",DEALER:"dealer",VENDOR:"vendor",UNKNOWN:"unknown"}},1135:function(e,t,i){"use strict";i.d(t,{P:function(){return n}});const n=Object.freeze({CANCELED:"CANCELED",SUCCESS:"SUCCESS",ERROR:"ERROR"})},40654:function(e,t,i){"use strict";i.d(t,{x:function(){return n}});Object.freeze({FRONT_PAGE:"FRONT_PAGE",SHOPPING_CART:"SHOPPING_CART",PRODUCT_LIST:"PRODUCT_LIST",PRODUCT:"PRODUCT",SEARCH:"SEARCH",VEHICLE_FRONT_PAGE:"VEHICLE_FRONT_PAGE",VEHICLE_PRODUCT_LIST:"VEHICLE_PRODUCT_LIST",BRAND:"BRAND"});const n=Object.freeze({ALGOLIA:"ALGOLIA",DOMAIN:"DOMAIN"})},59217:function(e,t){"use strict";t.A={CART:"cart",QUOTE:"quote"}},5231:function(e,t,i){"use strict";i.d(t,{Q:function(){return n}});const n={STORAGE:"LAGER",STORE:"BUTIK"}},50326:function(e,t,i){"use strict";i.d(t,{k:function(){return n}});const n=Object.freeze({IDLE:"IDLE",WORKING:"WORKING",COMPLETE:"COMPLETE",ERROR:"ERROR"});t.A=n},98272:function(e,t,i){"use strict";i.d(t,{Ui:function(){return s},qh:function(){return n}});const n={ACCOUNT:"ACCOUNT",ACCOUNT_BOOKINGS:"ACCOUNT_BOOKINGS",ACCOUNT_CARSPOT:"ACCOUNT_CARSPOT",ACCOUNT_CASTROL:"ACCOUNT_CASTROL",ACCOUNT_COMPLAINT:"ACCOUNT_COMPLAINT",ACCOUNT_COMPLAINTS:"ACCOUNT_COMPLAINTS",ACCOUNT_COMPLAINT_PRINT:"ACCOUNT_COMPLAINT_PRINT",ACCOUNT_DRAFT:"ACCOUNT_DRAFT",ACCOUNT_DRAFTS:"ACCOUNT_DRAFTS",ACCOUNT_FAVORITE:"ACCOUNT_FAVORITE",ACCOUNT_FAVORITES:"ACCOUNT_FAVORITES",ACCOUNT_GARAGE:"ACCOUNT_GARAGE",ACCOUNT_ORDER:"ACCOUNT_ORDER",ACCOUNT_ORDERS:"ACCOUNT_ORDERS",ACCOUNT_TRANSACTIONS:"ACCOUNT_TRANSACTIONS",ACCOUNT_PROFILE:"ACCOUNT_PROFILE",ACCOUNT_PRICE_SETTINGS:"ACCOUNT_PRICE_SETTINGS",ACCOUNT_RETURN:"ACCOUNT_RETURN",ACCOUNT_RETURNS:"ACCOUNT_RETURNS",ACCOUNT_RETURN_PRINT:"ACCOUNT_RETURN_PRINT",ACCOUNT_SETTINGS:"ACCOUNT_SETTINGS",ACCOUNT_SPECIAL_DELIVERY:"ACCOUNT_SPECIAL_DELIVERY",ACCOUNT_USERS:"ACCOUNT_USERS",ACCOUNT_WHEEL_STORAGE:"ACCOUNT_WHEEL_STORAGE",BOOKING:"BOOKING",CLUB_SIGNUP:"CLUB_SIGNUP",COMPLETE_SIGNUP:"COMPLETE_SIGNUP",GJENSIDIGE_BOOKING:"GJENSIDIGE_BOOKING",LOGIN:"LOGIN",NOT_FOUND:"NOT_FOUND",OE_SEARCH_REQUEST:"OE_SEARCH_REQUEST",BOSCH_EXTRA_PROGRAM:"BOSCH_EXTRA_PROGRAM",ORDER:"ORDER",REQUEST_RESET_PASSWORD:"REQUEST_RESET_PASSWORD",RESET_PASSWORD:"RESET_PASSWORD",SIGNUP:"SIGNUP",SYSTEM_LOGIN:"SYSTEM_LOGIN",WHEEL_STORAGE_WHEEL:"WHEEL_STORAGE_WHEEL",WORK_CLOTHES:"WORK_CLOTHES"},s={SUPPLIER_DASHBOARD:"SUPPLIER_DASHBOARD",SUPPLIER_ACCOUNT:"SUPPLIER_ACCOUNT",PURCHASE_ORDERS:"PURCHASE_ORDERS",PURCHASE_ORDER:"PURCHASE_ORDER",SUPPLIER_AGREEMENTS:"SUPPLIER_AGREEMENTS",SUPPLIER_NEW_SHIPMENT:"SUPPLIER_NEW_SHIPMENT",SUPPLIER_PREVIOUS_SHIPMENTS:"SUPPLIER_PREVIOUS_SHIPMENTS",SUPPLIER_UPLOADS:"SUPPLIER_UPLOADS",SUPPLIER_COMMUNICATION:"SUPPLIER_COMMUNICATION",NOT_FOUND:"NOT_FOUND"};t.Ay=n},95613:function(e,t,i){"use strict";i.d(t,{D:function(){return n}});const n=Object.freeze({CONNECTED:"CONNECTED",CONNECTING:"CONNECTING",DISCONNECTED:"DISCONNECTED",DISCONNECTING:"DISCONNECTING",RECONNECTING:"RECONNECTING"})},71169:function(e,t,i){"use strict";i.d(t,{l:function(){return n}});const n=Object.freeze({IN_OUT:"IN_OUT",OUT_IN:"OUT_IN"})},58005:function(e,t,i){"use strict";i.r(t);var n=i(44485);let s,a,r=!0;const o=3e5,l={passive:!0},c=()=>{s&&clearTimeout(s)},u=()=>{c(),n.A.dispatch("userActivity/setActiveState",!1)},d=()=>{n.A.dispatch("userActivity/setActiveState",!0),p(),c(),s=setTimeout(u,o)},p=()=>{a&&clearTimeout(a),a=setTimeout((()=>{n.A.dispatch("userActivity/setActiveTimestamp",(new Date).getTime())}),200)};window.addEventListener("blur",(()=>r=!1),l),window.addEventListener("focus",(()=>{d(),r=!0}),l),window.addEventListener("mousemove",(()=>r&&d()),l),window.addEventListener("keydown",d,l),window.addEventListener("scroll",d,l),window.addEventListener("DOMContentLoaded",(()=>{("prerender"===document.visibilityState||"visible"===document.visibilityState)&&d()}),l),document.addEventListener("visibilitychange",(()=>{document.hidden?u():d()}))}},t={};function i(n){var s=t[n];if(void 0!==s)return s.exports;var a=t[n]={exports:{}};return e[n].call(a.exports,a,a.exports,i),a.exports}i.m=e,function(){var e=[];i.O=function(t,n,s,a){if(!n){var r=1/0;for(u=0;u=a)&&Object.keys(i.O).every((function(e){return i.O[e](n[l])}))?n.splice(l--,1):(o=!1,a0&&e[u-1][2]>a;u--)e[u]=e[u-1];e[u]=[n,s,a]}}(),function(){i.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return i.d(t,{a:t}),t}}(),function(){i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}}(),function(){i.f={},i.e=function(e){return Promise.all(Object.keys(i.f).reduce((function(t,n){return i.f[n](e,t),t}),[]))}}(),function(){i.u=function(e){return"js/"+e+".js?_hash="+{21:"899fe641",57:"24da35f2",96:"6cd705a2",102:"f02561e4",196:"e5f6c212",219:"68740c5a",246:"9f3fe018",266:"389a3592",322:"564c7845",342:"759755d6",440:"3bfb1aff",475:"238f7437",520:"8c365085",615:"f8e3d369",640:"a429462a",683:"f2081458",700:"25c55605",730:"c958aa6e",837:"98dec9ff",841:"9f60ac7a",842:"a33472f7",871:"37704939",880:"f2605605",924:"e9e6c136",961:"5a09e8b9",1039:"f8122991",1049:"046d2430",1082:"01668b79",1150:"8580ecd3",1265:"82013f9c",1351:"508e5fdc",1412:"6c157e05",1438:"ec5ce91e",1528:"bae52b71",1546:"aa7fbb06",1618:"29d144f2",1621:"1366b4ad",1684:"e80832b0",1806:"7d62a519",1955:"763de068",2119:"bc2995e3",2217:"9bb35c3d",2250:"37abe3be",2320:"e27c2962",2384:"46d67022",2440:"e71e3f07",2527:"abab594c",2592:"38767ff4",2659:"144079a4",2663:"acb31fb3",2701:"bdc7d1bc",2811:"b87a1a6e",2948:"c9d8863f",2989:"31bc5caf",3031:"b7271850",3045:"bca34111",3249:"6e988ed9",3261:"1e0ca7f8",3411:"265e02e4",3420:"3fbed7d6",3535:"99fc9a49",3635:"8b76f643",3708:"5feae225",3764:"b3d49cc8",3787:"f1ecf35c",3815:"77cd0ac0",3944:"f90a8615",4e3:"608f9b65",4085:"b61c5896",4089:"8eeab6e9",4090:"016dec0c",4116:"5ebbb0de",4119:"76247fe8",4206:"2c756c07",4263:"e1dd4381",4307:"fe53a5a6",4308:"c06b09ce",4359:"837d04fb",4491:"37268aa6",4595:"d58ee95b",4633:"4e4ede63",4662:"6bdee09a",4743:"85cd7c94",4900:"0e6cf16e",5002:"5b03879f",5024:"8b776984",5029:"406fbe4a",5073:"97903f19",5116:"71a62481",5127:"5e568604",5130:"2e9d437f",5213:"f8617236",5239:"7000102d",5297:"4e366229",5366:"0b1f2b32",5421:"88fb47ae",5629:"3e6ecad9",5637:"98ca264c",5766:"d74930ec",5879:"ea4fcefc",5880:"ea07dcdc",5892:"69a2140f",6045:"bb73cc50",6068:"964b3004",6161:"45f78e24",6475:"6cb71735",6503:"c06146ba",6591:"939afd88",6630:"d8e2cec4",6721:"bd27ab2e",6915:"4da20436",6970:"fd5b587a",6992:"8d13a7a9",7060:"f64b65f0",7128:"59c87108",7223:"a164e195",7226:"63635a9b",7287:"4f06f057",7374:"3eb73c16",7523:"efcece5f",7543:"6c6aa763",7644:"d59149e1",7782:"9310cfde",7836:"6f53b59c",7896:"7bd2e3b0",8050:"d850e40b",8147:"2c51c672",8216:"4b6c290c",8346:"c1256719",8379:"a1855d04",8601:"113a142a",8753:"d0afd0b2",8838:"066ad463",8851:"881b5dd0",8876:"512a5e29",8888:"35e4fd39",9031:"fe743684",9104:"2f6944ce",9115:"b75118f2",9133:"d1feb20c",9199:"d667b1c5",9213:"d433d952",9303:"b4bf743e",9360:"90a377a7",9470:"f0e2ffdd",9494:"0c9696cb",9565:"e29564fe",9586:"605f66f6",9589:"fefb99d8",9596:"92aa235b",9616:"b2381971",9652:"cd5eae42",9836:"c9755b04",9852:"84dd9242",9870:"72d6caf3",9918:"1746d65e"}[e]}}(),function(){i.miniCssF=function(e){return"css/"+e+"."+{21:"6052322d",102:"71c7d30f",219:"d155536c",246:"3bd9b105",266:"1f14700c",322:"fa1ec823",342:"266c7e49",440:"a52b2d7e",683:"22841010",700:"10ad4759",841:"933a9b06",871:"3faadb1f",880:"189928bc",961:"d9ae9fe4",1039:"05efcfc8",1049:"40a14665",1082:"089c77a8",1150:"d51d46e5",1265:"76b2e45b",1351:"dfaeadca",1412:"68d358bd",1528:"74bfc47d",1546:"a8cb630e",1621:"0306e346",1684:"411bab72",1806:"b45b1a78",2119:"875170e3",2217:"d9460c5d",2250:"9f9832d5",2320:"08df86fb",2384:"b9fda038",2440:"d4df8353",2527:"da467cef",2592:"a5d8c325",2663:"7b5c8cb0",2811:"6052322d",2948:"6ad3abb0",2989:"a196c290",3031:"ee666bf5",3045:"92d76acd",3249:"e3e2cb15",3261:"d851676c",3411:"336de8fb",3635:"16440c1d",3708:"011090f5",3787:"903f3edd",3815:"46057643",3944:"a96604fb",4e3:"208fe42f",4089:"ffbd55a1",4090:"1c7139dc",4116:"0edc26c7",4206:"7a108e12",4307:"eeb9ccef",4308:"21ee6fb7",4491:"1c6f615f",4633:"b369db7b",4900:"0f25a692",5002:"b4a177fe",5024:"ae874e0e",5029:"3f927f85",5073:"4bb81676",5127:"bee9ab53",5130:"fe8b3909",5213:"3a780e8d",5297:"7fe08adb",5421:"36b18e15",5629:"4f8061bd",5766:"25edcd7d",5879:"0f87aa71",5880:"c6f344eb",5892:"4eda6776",6045:"605d55ce",6161:"d1c74f36",6475:"56904f2d",6503:"acba8298",6630:"a346fec1",6721:"8cc2d6da",6915:"13f7fe2e",6970:"346349aa",6992:"6052322d",7128:"b246ec7d",7223:"6547cc33",7287:"ef159198",7374:"6fd0740d",7523:"3be05d24",7543:"82c5d53b",7782:"3f927f85",7836:"ee6015f4",7896:"6470f302",8216:"d4b229e1",8346:"3fe73e1a",8601:"95784a9a",8753:"93842d2a",8838:"0e5fffeb",8851:"4aa8cef1",8876:"b96bec57",8888:"7b2cee07",9031:"cc515345",9115:"c6b4477a",9133:"ce5a96df",9213:"efc15694",9470:"6eb82475",9494:"3de7059f",9565:"9a777df8",9586:"c8597241",9596:"10466b0b",9616:"36045cda",9652:"c53db5fc",9836:"a89f8e0d",9852:"b8a1dbaa",9870:"8bc45f98"}[e]+".25.1.1.css"}}(),function(){i.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}()}(),function(){i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}}(),function(){var e={},t="app:";i.l=function(n,s,a,r){if(e[n])e[n].push(s);else{var o,l;if(void 0!==a)for(var c=document.getElementsByTagName("script"),u=0;u