1(window.webpackJsonp=window.webpackJsonp||[]).push([[2,116,131,209,229,233,241,246,248],{1204:function(t,e,n){"use strict";n.r(e);n(107);var r=n(0),l=Object(r.b)({name:"BaseSelect",inheritAttrs:!1,model:{prop:"value",event:"change"},props:{options:{type:Array,default:function(){return[]}},value:{type:[String,Number],default:""},labelProp:{type:String,default:"label"},valueProp:{type:String,default:"value"},placeholder:{type:String,default:""},type:{type:String,default:"normal"},variant:{type:String,default:"normal"}},setup:function(t){return{selectClasses:Object(r.a)((function(){return[{"bg-white border-gw-secondary text-black":"normal"===t.variant,"bg-gw-primary border-gw-primary hover:bg-gw-primary-dark hover:border-y-gw-primary-dark hover:border-l-gw-primary-dark text-white":"primary"===t.variant},{"":"normal"===t.type," w-[74px] rounded-r-none border-r-white pr-2":"addToCart"===t.type," w-[74px] border-2 pr-2":"addToCartAlt"===t.type," w-25 max-w-40 h-7 border border-black rounded":"inCart"===t.type}]})),selectIconClasses:Object(r.a)((function(){return[{"text-black":"normal"===t.variant,"text-white":"primary"===t.variant}]}))}}}),o=n(12),component=Object(o.a)(l,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.options&&t.options.length?n("div",{staticClass:"relative"},[n("select",t._b({staticClass:"form-input block w-full h-full pl-4 pr-7.5 border appearance-none hover:cursor-pointer",class:t.selectClasses,domProps:{value:t.value},on:{change:function(e){return t.$emit("change",e.target.value)}}},"select",t.$attrs,!1),[n("option",{attrs:{value:"",disabled:"",selected:"",hidden:""}},[t._v("\n "+t._s(t.placeholder||t.$t("placeholder.selectOne"))+"\n ")]),t._v(" "),t._l(t.options,(function(option,e){return n("option",{key:e,domProps:{value:option[t.valueProp]}},[t._v("\n "+t._s(option[t.labelProp])+"\n ")])}))],2),t._v(" "),n("div",{staticClass:"absolute right-0 inset-y-0 w-7.5 flex items-center justify-center pointer-events-none",class:t.selectIconClasses},[n("BaseIcon",{staticClass:"w-2.5 h-2.5",attrs:{name:"gw-arrow-down"}})],1)]):t._e()}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{BaseIcon:n(132).default})},1206:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var r,l=n(0),o=n(309),c=function(t){var e=window.matchMedia(t),n=Object(l.q)(e.matches);return Object(o.a)(e,"change",(function(t){n.value=t.matches})),n};function d(){var t,e,n,o,d,v,f,m=(t=c("(min-width: ".concat(r.XSM,")")),e=c("(min-width: ".concat(r.SM,")")),n=c("(min-width: ".concat(r.MD,")")),o=c("(min-width: ".concat(r.XLG,")")),d=c("(min-width: ".concat(r.LG,")")),v=c("(min-width: ".concat(r.XL,")")),f=c("(min-width: ".concat(r.XXL,")")),Object(l.a)((function(){return(null==f?void 0:f.value)?"2xl":(null==v?void 0:v.value)?"xl":(null==d?void 0:d.value)?"lg":(null==o?void 0:o.value)?"xlg":(null==n?void 0:n.value)?"md":(null==e?void 0:e.value)?"sm":(null==t?void 0:t.value)?"xsm":"xs"})));return{isMobile:Object(l.a)((function(){return"xs"===m.value||"xsm"===m.value||"sm"===m.value})),isTablet:Object(l.a)((function(){return"md"===m.value||"xlg"===m.value})),isDesktop:Object(l.a)((function(){return"lg"===m.value||"xl"===m.value||"2xl"===m.value})),isTabletAndDesktop:Object(l.a)((function(){return"xs"!==m.value&&"xsm"!==m.value&&"sm"!==m.value})),isMobileAndTablet:Object(l.a)((function(){return"xs"===m.value||"xsm"===m.value||"sm"===m.value||"xlg"===m.value||"md"===m.value}))}}!function(t){t.XSM="425PX",t.SM="640px",t.MD="768px",t.XLG="980px",t.LG="1024px",t.XL="1280px",t.XXL="1536px"}(r||(r={}))},1212:function(t,e,n){"use strict";n.r(e);n(107),n(8),n(149),n(53),n(79),n(51),n(92);var r=n(0),l=n(227),o=n(494),c=n(1206),d=n(78),v=n(164),f=Object(r.b)({name:"ProductTileQuantity",props:{product:{type:Object,default:function(){}},categoryId:{type:Number,default:null},brandUrl:{type:String,default:null},showModal:{type:Boolean,default:!1}},setup:function(t){var e=Object(r.x)().app,n=Object(c.a)().isMobile,f=Object(r.t)(t,"product"),m=Object(v.a)().emit,x=Object(d.c)(),h=x.changeQuantity,y=x.cartLinesMap,j=x.addToCart,O=x.productQuantity,C=x.addQuantity,w=Object(o.b)().open,_=Object(r.q)(1),P=Object(r.a)((function(){var t;return(null===(t=f.value)||void 0===t?void 0:t.isViewable)?e.localePath(f.value.url?{name:"product-detail-slug",params:{slug:f.value.url}}:{name:"index"}):"#"})),k=Object(r.a)((function(){return O(t.product.id)})),T=Object(l.c)(f,k),I=T.maxQuantity,S=T.isOrderable,L=T.maxQuantityInc,B=Object(r.a)((function(){return y.value.has(t.product.id)})),z=Object(r.a)((function(){var e,n;return null!==(n=null===(e=t.categoryId)||void 0===e?void 0:e.toString())&&void 0!==n?n:null})),A=Object(r.a)((function(){var e,n;return null!==(n=null===(e=t.brandUrl)||void 0===e?void 0:e.toString())&&void 0!==n?n:null})),M=Object(r.a)((function(){var e=t.product.img,n=e||"",r=".jpeg",l=".png",o=".webp",c=n.includes(o),d=n.includes(l),v=n.includes(r),f=".jpg";return c?f=o:d?f=l:v&&(f=r),(null==e?void 0:e.split(f)[0])+".300x.webp"}));return{query:Object(r.a)((function(){return z.value?{webNodeId:z.value}:A.value?{brandUrl:A.value}:{}})),url:P,inCart:B,maxQuantityInc:L,onAddToCart:function(t){j(t,1),w(o.a.AddToCart,{productId:t})},onClickProduct:function(){m(l.b.Click,{product:t.product})},isOrderable:S,isMobile:n,onChangeQuantity:function(t){var q=+t;h({productId:f.value.id,quantity:q})},quantity:_,maxQuantity:I,addQuantity:C,productImg:M,addToCartText:Object(r.a)((function(){var t;return(null===(t=f.value)||void 0===t?void 0:t.unavailable)?"Voeg toe aan winkelmand":"Dit product is tijdelijk niet leverbaar"})),proUnavailable:Object(r.a)((function(){var t;return null===(t=f.value)||void 0===t?void 0:t.unavailable}))}}}),m=n(12),component=Object(m.a)(f,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"card card--product relative z-0 bg-white w-full flex flex-col shadow rounded-xl transition-all p-2 md:p-5"},[n("NuxtLink",{staticClass:"absolute inset-0 z-10",attrs:{to:t.url},nativeOn:{click:function(e){return t.onClickProduct.apply(null,arguments)}}},[n("span",{staticClass:"sr-only"},[t._v(t._s(t.product.name))])]),t._v(" "),n("div",{staticClass:"card__image relative h-37.5 md:h-55 flex justify-center items-center shrink-0 mb-1.5"},[n("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.productImg,expression:"productImg"}],staticClass:"mx-auto h-full w-full object-contain",attrs:{alt:t.product.name,height:"150",width:"150"}}),t._v(" "),t.product.discounts&&t.product.discounts.length?n("div",{staticClass:"absolute top-0 left-0 z-20 w-full"},[n("ProductDiscountLabels",{attrs:{discounts:t.product.discounts,size:t.isMobile?"md":"lg"}})],1):t._e(),t._v(" "),t.product.labels?n("div",{staticClass:"absolute top-0 right-0 z-20 max-w-1/2"},[n("ProductLabel",{attrs:{labels:t.product.labels}}
1)],1):t._e(),t._v(" "),t.product?n("div",{staticClass:"absolute bottom-0 left-0 z-20 max-w-1/2"},[n("ProductTags",{attrs:{product:t.product,size:"sm"}})],1):t._e(),t._v(" "),t.product.variants&&t.product.variants.length?n("div",{staticClass:"absolute bottom-0 inset-x-0 my-2 z-[15]"},[n("ProductVariantOptions",{attrs:{product:t.product}})],1):t._e()]),t._v(" "),n("div",{staticClass:"card__body h-full flex flex-col"},[n("div",{staticClass:"flex justify-between items-baseline"},[n("ProductPrice",{staticClass:"shrink-0 mr-4",attrs:{product:t.product,variant:"list","old-price-incl-tax":t.product.oldPriceInclTax,"old-price-integer-incl-tax":t.product.oldPriceIntegerInclTax,"old-price-decimal-incl-tax":t.product.oldPriceDecimalInclTax,"price-incl-tax":t.product.priceInclTax,"price-integer-incl-tax":t.product.priceIntegerInclTax,"price-decimal-incl-tax":t.product.priceDecimalInclTax}}),t._v(" "),t.product&&t.product.content&&t.product.contentType?n("div",{staticClass:"line-clamp-1 break-all"},[t._v("\n "+t._s(t.product.content)+" "+t._s(t.product.contentType)+"\n ")]):t.product&&t.product.size?n("div",{staticClass:"line-clamp-1 break-all"},[t._v("\n "+t._s(t.product.size)+" \n ")]):t._e()],1),t._v(" "),n("div",{},[n("h3",{staticClass:"block font-bold text-gw-grey-900 text-sm md:text-lg mb-0.5 line-clamp-2 h-10 md:h-14"},[t._v("\n "+t._s(t.product.name)+"\n ")])]),t._v(" "),n("div",{staticClass:"card__btn-wrap flex flex-wrap items-center justify-between mt-auto pt-3 relative z-30"},[n("BaseSelect",{staticClass:"h-12 rounded-full flex",attrs:{id:"countryCode",options:t.addQuantity,type:"addToCartAlt",variant:"normal"},model:{value:t.quantity,callback:function(e){t.quantity=e},expression:"quantity"}}),t._v(" "),t.product.isVirtual?t._e():n("div",{staticClass:"flex-shrink-0"},[n("ProductListerFavorite",{staticClass:"text-black ml-0",attrs:{size:"lg",product:t.product,"show-modal":t.showModal}})],1),t._v(" "),n("div",{staticClass:"relative flex-grow flex-shrink-0 basis-full mt-3"},[n("ProductAddToCartButton",{staticClass:"flex",attrs:{product:t.product,quantity:t.quantity,label:t.addToCartText,disabled:t.proUnavailable}},[t._v("\n Voeg toe\n ")]),t._v(" "),t.inCart?n("div",{staticClass:"flex items-center justify-center w-5 h-5 rounded-full text-white text-xxs font-bold bg-black absolute z-10 leading-none -top-1.5 -right-2"},[n("BaseIcon",{staticClass:"text-white w-2.5 h-2.5",attrs:{name:"gw-tick"}})],1):t._e()],1)],1)])],1)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{ProductDiscountLabels:n(591).default,ProductLabel:n(1216).default,ProductTags:n(1320).default,ProductVariantOptions:n(1286).default,ProductPrice:n(1242).default,BaseSelect:n(1204).default,ProductListerFavorite:n(1287).default,ProductAddToCartButton:n(1256).default,BaseIcon:n(132).default})},1216:function(t,e,n){"use strict";n.r(e);var r=n(0),l=n(159),o=Object(r.b)({name:"ProductLabel",inheritAttrs:!1,props:{labels:{type:Array,default:function(){}}},setup:function(){var t=Object(l.b)().config;return{labelsConfig:Object(r.a)((function(){var e;return null===(e=t.value)||void 0===e?void 0:e.productLabelColors}))}}}),c=n(12),component=Object(c.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.labels.length?n("ul",{staticClass:"flex flex-wrap w-full -mx-0.5"},t._l(t.labels,(function(e,r){return n("li",{key:"tag-item-"+r,staticClass:"m-0.5"},[n("ProductBadge",{attrs:{label:e,"color-config":t.labelsConfig,size:t.size}})],1)})),0):t._e()}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{ProductBadge:n(753).default})},1222:function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var r=n(0),l=n(143),o=n(150),c="gezondheidswinkel_cookie_age_check_status";function d(){var t=Object(r.x)().app.$storage,e=Object(r.q)(!1),n=function(e){t.setCookie(c,e,{path:"/",expires:Object(l.e)()})},d=function(){e.value=!1};return{visible:e,getPermissionStatus:function(){return t.getCookie(c)||o.a.Prompt},open:function(){e.value=!0},close:d,onAccept:function(){n(o.a.Confirmed),d()},onRefuse:function(){n(o.a.Denied),d()}}}},1242:function(t,e,n){"use strict";n.r(e);n(107),n(53);var r=n(0),l=Object(r.b)({name:"ProductListerPrice",inheritAttrs:!1,props:{product:{type:Object,default:function(){}},oldPriceInclTax:{type:Number,default:0},oldPriceIntegerInclTax:{type:String,default:""},oldPriceDecimalInclTax:{type:String,default:""},priceInclTax:{type:Number,default:0},priceIntegerInclTax:{type:String,default:""},priceDecimalInclTax:{type:String,default:""},variant:{type:String,default:"list",validator:function(t){return["list","detail","cartLine","subTotal","total"].includes(t)}}},setup:function(t){var e=Object(r.a)((function(){return t.oldPriceInclTax&&t.oldPriceInclTax!==t.priceInclTax})),n=Object(r.a)((function(){return[{"text-base":"list"===t.variant,"text-2xl -right-8":"detail"===t.variant,"text-2xl -right-6":"cartLine"===t.variant||"total"===t.variant,"text-lg -right-1":"subTotal"===t.variant}]})),l=Object(r.a)((function(){return[{"-left-2":"list"===t.variant,"-left-[0.625rem]":"detail"===t.variant||"cartLine"===t.variant||"total"===t.variant,"-left-1":"subTotal"===t.variant}]}));return{oldPriceClasses:n,priceClasses:Object(r.a)((function(){return[{"text-4xl":"list"===t.variant,"text-7xl -right-[1.75rem]":"detail"===t.variant,"text-5xl -right-5":"cartLine"===t.variant||"total"===t.variant,"text-xl -right-2":"subTotal"===t.variant}]})),oldPriceSupClasses:l,priceSupClasses:Object(r.a)((function(){return[{"-left-4":"list"===t.variant,"-left-[1.75rem]":"detail"===t.variant,"-left-5":"cartLine"===t.variant||"total"===t.variant,"-left-2":"subTotal"===t.variant}]})),wrapClasses:Object(r.a)((function(){return[{"flex justify-end items-baseline space-x-1":"cartLine"===t.variant,"flex items-baseline space-x-1":"cartLine"===t.variant||"list"===t.variant||"detail"===t.variant||"total"===t.variant||"subTotal"===t.variant}]})),showDiscountPrice:e}}}),o=n(12),component=Object(o.a)(l,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{class:t.wrapClasses},[t.oldPriceInclTax&&t.showDiscountPrice?n("div",{staticClass:"relative whitespace-nowrap",class:t.oldPriceClasses},[n("s",{staticClass:"relative no-underline after:block after:bg-black after:h-0.5 after:absolute after:w-[90%] after:rotate-[-20deg] after:content-[''] after:-left-[5%] after:top-[45%] after:whitespace-nowrap"},[t._v("\n "+t._s(t.oldPriceIntegerInclTax)+".\n "),n("sup",{class:t.oldPriceSupClasses},[t._v("\n "+t._s(t.oldPriceDecimalInclTax)+"\n ")])])]):t._e(),t._v(" "),n("div",{staticClass:"font-bold font-heading inline-block relative whitespace-nowrap",class:[t.showDiscountPrice?"text-gw-primary":"",t.priceClasses]},[t._v("\n "+t._s(t.priceIntegerInclTax)+".\n "),n("sup",{class:t.priceSupClasses},[t._v("\n "+t._s(t.priceDecimalInclTax)+"\n ")])])])}),[],!1,null,null,null);e.default=component.exports},1256:function(t,e,n){"use strict";n.r(e);n(107),n(8),n(149);var r=n(0),l=n(227),o=n(494),c=n(78),d=n(164),v=n(1222),f=n(150),m=Object(r.b)({name:"ProductAddToCartButton",props:{product:{type:Object,default:function(){}},variant:{type:String,default:"primary"},categoryId:{type:Number,default:null},brandUrl:{type:String,default:null},quantity:{type:Number,default:1},label:{type:String,default:"Voeg toe"},disabled:{type:Boolean,default:!1}},setup:function(t){var e=Object(r.t)(t,"product"),n=Object(d.a)().emit,m=Object(c.c)(),x=m.cartLinesMap,h=m.addToCart,y=m.productQuantity,j=Object(o.b)().open,O=Object(r.a)((function(){return y(t.product.id)})),C=Object(l.c)(e,O),w=C.isOrderable,_=C.maxQuantityInc,P=Object(v.a)().getPermissionStatus,k=Object(r.a)((function(){return x.value.has(t.product.id)})),T=Object(r.a)((function(){var e,n;return null!==(n=null===(e=t.categoryId)||void 0===e?void 0:e.toString())&&void 0!==n?n:null})),I=Object(r.a)((function(){var e,n;return null!==(n=null===(e=t.brandUrl)||void 0===e?void 0:e.toString())&&void 0!==n?n:null})),S=Object(r.a)((function(){return T.value?{webNodeId:T.value}:I.value?{brandUrl:I.value}:{}})),L=Object(r.q)(!0),B=Object(r.a)((function(){return e.value.isVirtual||!w.value||_.value<=0}));return{query:S,inCart:k,maxQuantityInc:_,onAddToCart:function(e,n){if(n&&(P()!==f.a.Confirmed?L.value=!0:L.value=!1,L.value))return void j(o.a.NIX18,{productId:e,quantity:t.quantity});h(e,t.quantity),j(o.a.AddToCart,{productId:e})},onClickProduct:function(){n(l.b.Click,{product:t.product})},isOrderable:w,unableAddToCart:B}}}),x=n(12),component=Object(x.a)(m,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[t.product.isVirtual?n("BaseButton",{attrs:{variant:t.variant,block:"",size:"lg","icon-button":"",icon:"gw-arrow-right",to:t.localePath(t.product.url?{name:"product-detail-slug",params:{slug:t.product.url}}:{name:"index"})}}):n("BaseButton",{attrs:{"icon-visible":!1,disabled:t.unableAddToCart||t.disabled,size:"lg",block:"",variant:t.variant},on:{click:function(e){return t.onAddToCart(t.product.id,t.product.containsAlcohol)}}},[t._t("default",(function(){return[t._v("\n "+t._s(t.label)+"\n ")]}))],2)],1)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{BaseButton:n(163).default})},1286:function(t,e,n){"use strict";n.r(e);n(107),n(23),n(8),n(100);var r=n(0),l=n(144),o=Object(r.b)({name:"ProductVariantOptions",props:{product:{type:Object,default:function(){}},connectionType:{type:String,default:l.d.Color},limitation:{type:Number,default:3}},setup:function(t){var e=Object(r.a)((function(){var e,n,r;return null!==(r=null===(n=null===(e=t.product)||void 0===e?void 0:e.variants)||void 0===n?void 0:n.filter((function(e){return e.variantType===t.connectionType})))&&void 0!==r?r:[]}));return{visibleVariantOptions:Object(r.a)((function(){return e.value.slice(0,t.limitation)})),otherVariantsLength:Object(r.a)((function(){var n;return null===(n=e.value.slice(t.limitation))||void 0===n?void 0:n.length}))}}}),c=n(12),component=Object(c.a)(o,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.visibleVariantOptions&&t.visibleVariantOptions.length?n("ul",{staticClass:"flex items-center -mx-1"},[t._l(t.visibleVariantOptions,(function(e){return n("li",{key:e.id,staticClass:"px-1"},[n("NuxtLink",{staticClass:"variant-option rounded-full w-6 h-6 overflow-hidden block border border-gw-grey-400 hover:border-gw-primary",style:e.colorHex?{"background-color":e.colorHex}:void 0,attrs:{to:t.localePath(e.url?{name:"product-detail-slug",params:{slug:e.url}}:{name:"index"})}}
1,[e.colorHex?t._e():n("img",{directives:[{name:"lazy",rawName:"v-lazy",value:e.img+"?h=100",expression:"`${item.img}?h=100`"}],staticClass:"w-full h-full object-contain",attrs:{alt:e.name,height:"24",width:"24"}}),t._v(" "),n("span",{staticClass:"sr-only"},[t._v("variant item")])])],1)})),t._v(" "),t.otherVariantsLength>0?n("li",[n("p",{staticClass:"text-gw-grey-500 text-base"},[t._v("+"+t._s(t.otherVariantsLength))])]):t._e()],2):t._e()}),[],!1,null,null,null);e.default=component.exports},1287:function(t,e,n){"use strict";n.r(e);var r=n(2),l=(n(31),n(8),n(149),n(0)),o=n(89),c=n(589),d=n(494),v=Object(l.b)({name:"ProductFavoriteButton",props:{product:{type:Object,default:function(){}},size:{type:String,default:"normal"},showModal:{type:Boolean,default:!1}},setup:function(t){var e=Object(o.c)(),n=e.ensureAuthed,v=e.user,f=Object(d.b)().open,m=Object(c.a)(),x=m.wishSelections,h=m.addProductSelectionLoading,y=m.removeProductSelectionLoading,j=m.addProductSelection,O=m.removeProductSelection,C=m.getWishSelection,w=Object(l.a)((function(){var e;return null===(e=x.value)||void 0===e?void 0:e.some((function(e){var n,r;return null!==(r=e.productId===(null===(n=t.product)||void 0===n?void 0:n.id))&&void 0!==r&&r}))})),_=Object(l.a)((function(){return w.value&&v.value?"gw-heart-solid":"gw-heart-linear"})),P=Object(l.q)(""),k=Object(l.a)((function(){return(h.value||y.value)&&P.value})),T=Object(l.a)((function(){var e,n;return void 0===(null===(e=t.product)||void 0===e?void 0:e.id)?null:C(null===(n=t.product)||void 0===n?void 0:n.id)}));return{icon:_,isLoading:k,onClick:function(){n(Object(r.a)(regeneratorRuntime.mark((function e(){var n,r,l,o,c;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.showModal){e.next=3;break}return f(d.a.RemoveFavorite,{productSelectionId:null===(n=T.value)||void 0===n?void 0:n.id}),e.abrupt("return");case 3:if(P.value=null===(l=null===(r=t.product)||void 0===r?void 0:r.id)||void 0===l?void 0:l.toString(),w.value){e.next=9;break}return e.next=7,j(null===(o=t.product)||void 0===o?void 0:o.id);case 7:e.next=12;break;case 9:if(!(null===(c=T.value)||void 0===c?void 0:c.id)){e.next=12;break}return e.next=12,O(T.value.id);case 12:P.value="";case 13:case"end":return e.stop()}}),e)}))))}}}}),f=n(12),component=Object(f.a)(v,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("BaseButton",{staticClass:"rounded-full",attrs:{variant:"black","icon-button":"","icon-visible":"",ghost:"",size:t.size,icon:t.icon},on:{click:t.onClick}}),t._v(" "),t.isLoading?n("span",{staticClass:"absolute inset-0 z-20 bg-opacity-50 flex items-center justify-center text-black backdrop-filter backdrop-blur-xs cursor-not-allowed"},[n("BaseIcon",{staticClass:"w-4 h-4 max-h-1/2",attrs:{name:"spinner",spin:""}})],1):t._e(),t._v(" "),n("span",{staticClass:"sr-only"},[t._v("favorite button")])],1)}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{BaseButton:n(163).default,BaseIcon:n(132).default})},1320:function(t,e,n){"use strict";n.r(e);n(56),n(107),n(53),n(49),n(594),n(55),n(8),n(26),n(126),n(100),n(79);var r,l,o,c=n(0),d=n(144),v=n(159),f=(n(23),n(588)),m=n(89),x=null!==(o=null===(l=null===(r=n(256).a.product)||void 0===r?void 0:r.discount)||void 0===l?void 0:l.matchPriceListId)&&void 0!==o&&o,h=Object(c.b)({name:"ProductTags",inheritAttrs:!1,props:{product:{type:Object,default:null},limit:{type:Number,default:5},size:{type:String,default:"sm",validator:function(t){return["xs","sm","md","lg"].includes(t)}},firstTagMode:{type:Boolean,detault:!1}},setup:function(t){var e=Object(v.b)().config,n=function(t){var e=Object(v.b)().config,n=Object(m.c)().authed,r=Object(f.a)().customer,l=Object(c.a)((function(){var t,l;return n.value?null===(t=r.value)||void 0===t?void 0:t.priceListId:null===(l=e.value)||void 0===l?void 0:l.defaultPriceListId}));return{filteredDiscounts:Object(c.a)((function(){return x?t.value.length&&l.value?t.value.filter((function(t){return t.priceListId===l.value})):[]:t.value}))}}(Object(c.a)((function(){var e,n;return null!==(n=null===(e=t.product)||void 0===e?void 0:e.discounts)&&void 0!==n?n:[]}))),r=(n.filteredDiscounts,Object(c.a)((function(){var e,n,r,l=[],o=1,c=null===(e=t.product)||void 0===e?void 0:e.webshopBanner;return(null==c?void 0:c.type)===d.g.Tag&&l.push({name:c.name,key:"webshopbanner",order:o++}),1===o&&o++,null===(r=null===(n=t.product)||void 0===n?void 0:n.tags)||void 0===r||r.forEach((function(t){l.push({name:t.name,key:t.key,order:o++})})),l}
1)));return{tags:Object(c.a)((function(){if(t.firstTagMode){var e=r.value.find((function(t){return 1===t.order}));return e?[e]:[]}return r.value.slice(0,t.limit)})),labelsConfig:function(t){var n,r;return"discount"===t.key||t.key.includes("discounts-")?null===(n=e.value)||void 0===n?void 0:n.discountLabelColors:null===(r=e.value)||void 0===r?void 0:r.productLabelColors},containsAlcohol:Object(c.a)((function(){var e;return null===(e=t.product)||void 0===e?void 0:e.containsAlcohol}))}}}),y=n(12),component=Object(y.a)(h,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return t.tags.length?n("ul",{staticClass:"flex flex-wrap w-full -mx-0.5"},t._l(t.tags,(function(e,r){return n("li",{key:"tag-item-"+r,staticClass:"m-0.5"},[n("ProductBadge",{attrs:{label:e,"contains-alcohol":t.containsAlcohol,"color-config":t.labelsConfig(e),size:t.size}})],1)})),0):t._e()}),[],!1,null,null,null);e.default=component.exports;installComponents(component,{ProductBadge:n(753).default})}}]); 2//# sourceMappingURL=33211d8.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.