(window.webpackJsonp=window.webpackJsonp||[]).push([[36],{1045:function(t,e,i){var a=i(1424);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,i(567).default)("e88a5e8e",a,!0,{})},1046:function(t,e,i){var a=i(1426);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,i(567).default)("062fad00",a,!0,{})},1047:function(t,e,i){var a=i(1428);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,i(567).default)("e89f2a4c",a,!0,{})},1048:function(t,e,i){var a=i(1430);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,i(567).default)("76cc0d4a",a,!0,{})},1049:function(t,e,i){var a=i(1432);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,i(567).default)("4413ecb2",a,!0,{})},1050:function(t,e,i){var a=i(1434);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,i(567).default)("5faf5876",a,!0,{})},1051:function(t,e,i){var a=i(1436);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,i(567).default)("1c24e291",a,!0,{})},1052:function(t,e,i){var a=i(1438);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,i(567).default)("78c1de2a",a,!0,{})},1053:function(t,e,i){var a=i(1440);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,i(567).default)("d84eb4b6",a,!0,{})},1054:function(t,e,i){var a=i(1442);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,i(567).default)("0938e0e5",a,!0,{})},1055:function(t,e,i){var a=i(1444);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,i(567).default)("2811429c",a,!0,{})},1423:function(t,e,i){"use strict";i(1045)},1424:function(t,e,i){(t.exports=i(566)(!1)).push([t.i,".head-image[data-v-1fbe2409]{display:none}@media (min-width: 767px){.head-image[data-v-1fbe2409]{display:inherit}}.head-image .head-image-content[data-v-1fbe2409]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:start;align-items:flex-start;margin-left:15%}.head-image .head-image-content .title[data-v-1fbe2409]{font-size:3.4rem;margin-bottom:0}.head-image .head-image-content .subtitle[data-v-1fbe2409]{font-size:0.8rem;max-width:340px;font-family:'Roboto', sans-serif;line-height:1.2rem}.head-image[data-v-1fbe2409]{height:640px}.container[data-v-1fbe2409]{background-size:cover;background-position:bottom center;background-repeat:no-repeat}.row[data-v-1fbe2409]{height:640px}@media (max-width: 75em){.head-image[data-v-1fbe2409]{height:400px}.title[data-v-1fbe2409]{font-size:50px}.subtitle[data-v-1fbe2409]{font-size:20px}.row[data-v-1fbe2409]{height:400px}}@media (max-width: 64em){.head-image[data-v-1fbe2409]{height:359px}.container[data-v-1fbe2409]{background-position:left}.title[data-v-1fbe2409]{font-size:48px}.subtitle[data-v-1fbe2409]{font-size:18px}.button[data-v-1fbe2409]{font-size:16px}.row[data-v-1fbe2409]{height:359px}}\n",""])},1425:function(t,e,i){"use strict";i(1046)},1426:function(t,e,i){(t.exports=i(566)(!1)).push([t.i,".modal-onboard[data-v-192a1dc8]{z-index:1001}.content[data-v-192a1dc8]{min-height:600px;overflow:hidden}@media (max-width: 600px){.content[data-v-192a1dc8]{display:block;padding:40px 20px}}@media (min-width: 601px){.copy[data-v-192a1dc8]{max-width:62%;margin-left:30%}}.logo[data-v-192a1dc8]{display:block;margin:auto}@media (min-width: 601px){.logo[data-v-192a1dc8]{position:absolute;width:48%;top:0;bottom:0;-webkit-transform:translateX(-48%);-ms-transform:translateX(-48%);transform:translateX(-48%)}}.show-demo[data-v-192a1dc8]{height:60px;width:270px;border-radius:60px}\n",""])},1427:function(t,e,i){"use strict";i(1047)},1428:function(t,e,i){(t.exports=i(566)(!1)).push([t.i,".brand-detail-inner .brand-img-div{position:relative;padding-bottom:100%}.brand-detail-inner .brand-img-div img{width:100%;height:auto;position:absolute !important;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%);top:50%;left:50%;-o-object-fit:contain;object-fit:contain}.brand-detail-inner .heading{z-index:1}\n",""])},1429:function(t,e,i){"use strict";i(1048)},1430:function(t,e,i){(t.exports=i(566)(!1)).push([t.i,'@media (min-width: 767px){.familiar-brands{background:#f1f1f1;padding:0px 0px 27px 0px}.familiar-brands .Familiar-inner-one{position:relative;padding-bottom:77%}.familiar-brands .Familiar-inner-one .Familiar-inner-two{width:100%;margin-bottom:-4px;position:absolute;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%);top:50%;left:50%;-o-object-fit:contain;object-fit:contain}.familiar-brands .desktop{text-align:center;font-size:26px;font-weight:700;text-transform:uppercase;color:#54575b;margin-bottom:55px;font-family:"Poppins", sans-serif}.familiar-brands .mobile{display:none;font-family:"Poppins", sans-serif}.familiar-brands .brand-detail{position:relative}.familiar-brands .brand-detail .brand-detail-inner{position:relative}.familiar-brands .brand-detail .brand-detail-inner img{width:100%;z-index:1}.familiar-brands .brand-detail .brand-detail-inner .heading{margin-top:-44px;padding:10px 0 10px 0;background:#ffffff;position:absolute;width:100%}.familiar-brands .brand-detail .brand-detail-inner .heading h3{text-align:center;font-size:16px;font-weight:700;text-transform:uppercase;color:#54575b;margin:0px;font-family:"Poppins", sans-serif}.familiar-brands .brand-detail .brand-detail-inner:hover .heading{top:46px;width:100%;padding:140px 0px;background:rgba(0,0,0,0.3)}.familiar-brands .brand-detail .brand-detail-inner:hover h3{color:#ffffff;z-index:999}.familiar-brands a.underline:after,.familiar-brands a:not(.no-underline):hover:after{background-color:transparent !important}}@media (min-width: 767px) and (max-width: 1280px){.familiar-brands .brand-detail .brand-detail-inner img{height:auto}}@media (max-width: 767px){.familiar-brands{background:#ffffff;padding:0px;margin-top:0px}.familiar-brands .desktop{display:none;font-family:"Poppins", sans-serif}.familiar-brands .mobile{text-align:center;font-size:16px;font-weight:700;text-transform:uppercase;color:#54575b;letter-spacing:1px;font-family:"Poppins", sans-serif}.familiar-brands .brand-detail{position:relative;margin-bottom:20px}.familiar-brands .brand-detail .brand-detail-inner{position:relative}.familiar-brands .brand-detail .brand-detail-inner img{width:100%;height:auto;z-index:1}.familiar-brands .brand-detail .brand-detail-inner .heading{margin-top:-1px;padding:10px;background:#f5f7fa}.familiar-brands .brand-detail .brand-detail-inner .heading h3{text-align:center;font-size:12px;font-weight:700;text-transform:uppercase;color:#54575b;margin:0px;letter-spacing:1px;font-family:"Poppins", sans-serif}.familiar-brands a.underline:after,.familiar-brands a:not(.no-underline):hover:after{background-color:transparent !important}}@media (min-width: 1200px) and (max-width: 1225px){.familiar-brands .brand-detail .brand-detail-inner:hover .heading{width:100% !important;padding:80px 0px}}@media (min-width: 991px) and (max-width: 1200px){.familiar-brands .brand-detail .brand-detail-inner:hover .heading{width:100% !important;padding:102px 0px}}@media (min-width: 767px) and (max-width: 990px){.familiar-brands .brand-detail .brand-detail-inner:hover .heading{width:100% !important;padding:74px 0px}}.homeshop-category{font-size:32px;color:#54575B;font-weight:700;font-family:\'Poppins\', sans-serif;margin:0;padding:28px 0}@media (max-width: 991px){.homeshop-category{font-size:24px}}@media (max-width: 767px){.homeshop-category{font-size:16px;padding:16px 0}}\n',""])},1431:function(t,e,i){"use strict";i(1049)},1432:function(t,e,i){(t.exports=i(566)(!1)).push([t.i,".fade-enter-active[data-v-c89f3506]{-webkit-transition:opacity .25s;-o-transition:opacity .25s;transition:opacity .25s}.fade-leave-active[data-v-c89f3506]{-webkit-transition:opacity .2s;-o-transition:opacity .2s;transition:opacity .2s}.fade-enter[data-v-c89f3506],.fade-leave-to[data-v-c89f3506]{opacity:0}.fade-in-down-enter-active[data-v-c89f3506],.fade-in-up-enter-active[data-v-c89f3506]{-webkit-transition:all .25s cubic-bezier(0.4, 0, 0.2, 1);-o-transition:all .25s cubic-bezier(0.4, 0, 0.2, 1);transition:all .25s cubic-bezier(0.4, 0, 0.2, 1)}.fade-in-down-leave-active[data-v-c89f3506],.fade-in-up-leave-active[data-v-c89f3506]{-webkit-transition:all .2s cubic-bezier(0.4, 0, 1, 1);-o-transition:all .2s cubic-bezier(0.4, 0, 1, 1);transition:all .2s cubic-bezier(0.4, 0, 1, 1)}.fade-in-down-enter[data-v-c89f3506],.fade-in-down-leave-to[data-v-c89f3506],.fade-in-up-enter[data-v-c89f3506],.fade-in-up-leave-to[data-v-c89f3506]{opacity:0}.fade-in-down-enter[data-v-c89f3506],.fade-in-down-leave-to[data-v-c89f3506]{-webkit-transform:translateY(-100%);-ms-transform:translateY(-100%);transform:translateY(-100%)}.fade-in-up-enter[data-v-c89f3506],.fade-in-up-leave-to[data-v-c89f3506]{-webkit-transform:translateY(100%);-ms-transform:translateY(100%);transform:translateY(100%)}.tile[data-v-c89f3506]{display:-ms-flexbox;display:flex;overflow:hidden}.tile-image[data-v-c89f3506]{width:100%;height:100%;-webkit-transition:-webkit-transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);transition:-webkit-transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);-o-transition:transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);transition:transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);transition:transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), -webkit-transform 0.3s cubic-bezier(0.4, 0, 0.2, 1)}.tile-image[data-v-c89f3506]:hover,.tile-image[data-v-c89f3506]:focus{-webkit-transform:scale(1.2);-ms-transform:scale(1.2);transform:scale(1.2)}\n",""])},1433:function(t,e,i){"use strict";i(1050)},1434:function(t,e,i){(t.exports=i(566)(!1)).push([t.i,"@media (max-width: 767px){.homeslider{margin-top:1px}.homepage-mobile-slider img{width:100%}.VueCarousel-pagination{position:absolute;bottom:7px}.VueCarousel-pagination .VueCarousel-dot{width:10px !important;height:10px !important;margin:5px;background:#ffffff !important;border-radius:50% !important;padding:0px !important}.VueCarousel-pagination .VueCarousel-dot--active{background:#00998c !important}.VueCarousel-pagination .VueCarousel-dot-button{background:transparent !important;outline:none !important}.SliderCLSMobile1{padding-bottom:44%;position:relative}.SliderCLSMobile1 .VueCarousel{width:100%;height:auto;position:absolute !important;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%);top:50%;left:50%;-o-object-fit:contain;object-fit:contain}}\n",""])},1435:function(t,e,i){"use strict";i(1051)},1436:function(t,e,i){(t.exports=i(566)(!1)).push([t.i,"@media (min-width: 1280px){.sliderCLS1{height:420px}}.homepage-slider:hover{cursor:pointer}@media (min-width: 767px){.homeslider{background:#f1f1f1}.homeslider .homepage-slider{padding-right:0px;position:relative;margin-top:1px}.homeslider .homepage-slider img{width:100%;height:100%}.homeslider .homepage-slider-detail{padding:30px 30px 10px 10px;position:absolute;top:0;right:0;width:25%}.homeslider .homepage-slider-detail h2{font-family:'Poppins', sans-serif;color:#54575b;text-transform:uppercase;margin:0px;font-size:32px;letter-spacing:1px;font-weight:700}.homeslider .homepage-slider-detail p{color:#54575b;font-size:20px;margin-top:10px;font-family:'Poppins', sans-serif;font-weight:500;font-style:italic}.homeslider .homepage-slider-detail .shop-now{background:#00bfb3;padding:10px 15px 10px 15px;float:right;color:#fff;font-style:italic;-webkit-box-shadow:1px 5px 13px -4px rgba(0,0,0,0.51);box-shadow:1px 5px 13px -4px rgba(0,0,0,0.51)}.homeslider .homepage-slider-detail-img-only{width:100%;height:100%}.homeslider .homepage-slider-detail-img-only h1{font-family:'Poppins', sans-serif;color:#54575b;text-transform:uppercase;margin:0px;font-size:32px;letter-spacing:1px;font-weight:700}.homeslider .homepage-slider-detail-img-only p{color:#54575b;font-size:20px;margin-top:10px;font-family:'Poppins', sans-serif;font-weight:500;font-style:italic}.VueCarousel-pagination{position:absolute;bottom:0}.VueCarousel-pagination .VueCarousel-dot{width:12px !important;height:12px !important;margin:10px 5px;background:#ffffff !important;border-radius:50% !important;padding:0px !important}.VueCarousel-pagination .VueCarousel-dot--active{background:#00998c !important}.VueCarousel-pagination .VueCarousel-dot-button{background:transparent !important;outline:none !important}}@media (min-width: 1200px) and (max-width: 1500px){.homeslider .homepage-slider-detail{padding:50px 40px}.homeslider .homepage-slider-detail h1{font-size:25px}.homeslider .homepage-slider-detail p{font-size:16px}}@media (min-width: 767px) and (max-width: 1200px){.homeslider .homepage-slider-detail h1{font-size:16px}.homeslider .homepage-slider-detail p{font-size:14px}}@media (min-width: 768px) and (max-width: 992px){.homeslider .homepage-slider{margin-top:31px}.homeslider .homepage-slider .homepage-slider-detail{width:25%}.homeslider .homepage-slider .homepage-slider-detail p{margin-top:5px;margin-bottom:5px}.homeslider .homepage-slider .homepage-slider-detail .shop-now{padding:5px 10px 5px 10px}.VueCarousel-slide:nth-child(2n) .homepage-slider .homepage-slider-detail{width:25%}}\n",""])},1437:function(t,e,i){"use strict";i(1052)},1438:function(t,e,i){(t.exports=i(566)(!1)).push([t.i,".clients[data-v-2ccf2c6c]{background:#f1f1f1;padding:40px 0px;margin-bottom:20px}.clients img[data-v-2ccf2c6c]{height:70px;width:auto}.clients .VueCarousel-slide[data-v-2ccf2c6c]{text-align:center}\n",""])},1439:function(t,e,i){"use strict";i(1053)},1440:function(t,e,i){(t.exports=i(566)(!1)).push([t.i,"\n.ReviewsCard[data-v-3491587d][data-v-0d239450] {\n  height: 220px !important;\n}\n.reviews-widget[data-v-0d239450] {\n  display: none;\n}\n",""])},1441:function(t,e,i){"use strict";i(1054)},1442:function(t,e,i){(t.exports=i(566)(!1)).push([t.i,".promotional-categories{margin-top:10px}@media (max-width: 767px){.promotional-categories{margin-top:9px}}.promotional-categories .promotional-images .promotional-images-main{position:relative;padding-bottom:100% !important}.promotional-categories .promotional-images .promotional-images-inner{width:100%;margin-bottom:-4px;position:absolute;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%);top:50%;left:50%;-o-object-fit:contain;object-fit:contain}.promotional-categories .promotional-images .product-image{padding:0 0 22px 0}.promotional-categories .promotional-images .product-image img{width:100%}\n",""])},1443:function(t,e,i){"use strict";i(1055)},1444:function(t,e,i){(t.exports=i(566)(!1)).push([t.i,"@media (max-width: 767px){.new-collection[data-v-f0c5afcc]{padding-top:0}}.new-collection #home[data-v-f0c5afcc]{background:#ffffff}@media (min-width: 767px){.bottom-content[data-v-f0c5afcc]{padding:50px 0;background:#ffffff}#home[data-v-f0c5afcc]{background:#f1f1f1}}\n",""])},2007:function(t,e,i){"use strict";i.r(e);var a=i(3),n=i(784),o=i(1306),r=i(154),s=i(5),c=(i(10),i(611)),l=i(2);function d(t,e,i,a,n,o,r){try{var s=t[o](r),c=s.value}catch(t){return void i(t)}s.done?e(c):Promise.resolve(c).then(a,n)}function u(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function p(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?u(Object(i),!0).forEach((function(e){m(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):u(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function m(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var f={name:"Home",mixins:[c.a],computed:p(p({},Object(r.c)("category",["getCategories"])),{},{rootCategories:function(){return this.getCategories}}),asyncData:function(t){return(e=regeneratorRuntime.mark((function e(){var i,a,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=t.store,a=t.route,(n=t.context)&&n.output.cacheTags.add("home"),l.a.info("Calling asyncData in Home Page (core)")(),e.prev=3,e.next=6,s.b.$emitFilter("home-after-load",{store:i,route:a});case 6:e.next=12;break;case 8:throw e.prev=8,e.t0=e.catch(3),l.a.error(e.t0)(),e.t0;case 12:case"end":return e.stop()}}),e,null,[[3,8]])})),function(){var t=this,i=arguments;return new Promise((function(a,n){var o=e.apply(t,i);function r(t){d(o,a,n,r,s,"next",t)}function s(t){d(o,a,n,r,s,"throw",t)}r(void 0)}))})();var e},beforeMount:function(){this.$store.dispatch("category/reset")},metaInfo:function(){return{meta:this.$route.meta.description?[{vmid:"description",name:"description",content:this.$route.meta.description}]:[]}}},h=i(778);function g(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function v(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var b={components:{},data:function(){return{}},computed:function(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?g(Object(i),!0).forEach((function(e){v(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):g(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}({},Object(r.c)({currentImage:"promoted/getHeadImage"}))},x=(i(1423),i(123)),w=Object(x.a)(b,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("section",{staticClass:"head-image w-100 bg-cl-th-accent cl-white"},[t.currentImage?i("div",{directives:[{name:"lazy",rawName:"v-lazy:background-image",value:t.currentImage.image,expression:"currentImage.image",arg:"background-image"}],staticClass:"container w-100 h-100 cl-black"},[i("div",{staticClass:"head-image-content"},[i("h1",{staticClass:"title",attrs:{"data-testid":"mainSliderTitle"}},[t._v("\n        "+t._s(t.currentImage.title)+"\n      ")]),t._v(" "),i("p",{staticClass:"subtitle mb0 serif h3",attrs:{"data-testid":"mainSliderSubtitle"}},[t._v("\n        "+t._s(t.currentImage.subtitle)+"\n      ")])])]):t._e()])}),[],!1,null,"1fbe2409",null).exports,y=i(609),_=i(1),k=i(8),C={data:function(){var t=Object(k.b)();return{defaultTitle:t.seo.defaultTitle?t.seo.defaultTitle:_.seo.defaultTitle}},components:{Modal:y.a},methods:{close:function(){this.$bus.$emit("modal-hide","modal-onboard")}}},O=(i(1425),Object(x.a)(C,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("modal",{staticClass:"modal-onboard",attrs:{name:"modal-onboard"}},[i("div",{staticClass:"content relative flex middle-xs"},[i("i",{staticClass:"modal-close material-icons p15 cl-bg-tertiary",attrs:{slot:"close"},on:{click:t.close},slot:"close"},[t._v("close")]),t._v(" "),i("img",{staticClass:"logo",attrs:{src:"/assets/logo.svg",alt:t.$t(t.defaultTitle)}}),t._v(" "),i("div",{staticClass:"copy align-center cl-secondary"},[i("p",{staticClass:"h1"},[t._v("\n        Welcome to Vue Storefront!\n      ")]),t._v(" "),i("div",{staticClass:"h4"},[i("p",[t._v("\n          Vue Storefront is a PWA storefront for eCommerce.\n          It is and always will be in the open source.\n          Anyone can use and support the project,\n          we want it to be a tool for the improvement of the shopping experience.\n        ")]),t._v(" "),i("p",[t._v("\n          This demo is synchronized with Magento 2.2.0.\n        ")]),t._v(" "),i("p",[i("strong",[t._v("\n            If you want to use the solution or join our passionate PWA community - feel free to contact us via\n            "),i("a",{staticClass:"cl-success",attrs:{href:"mailto:contributors@vuestorefront.io"}},[t._v(" e-mail")]),t._v("\n            or\n            "),i("a",{staticClass:"cl-success",attrs:{href:"https://vuestorefront.slack.com/"}},[t._v(" Slack")]),t._v(".\n          ")])]),t._v(" "),i("p",[i("button",{staticClass:"show-demo mt35 ripple brdr-none bg-cl-th-success pointer cl-white h4",attrs:{type:"button"},on:{click:t.close}},[t._v("\n            Show me the demo\n          ")])])])])])])}),[],!1,null,"192a1dc8",null).exports),P={name:"Productlist",mixins:[i(586).a],computed:{singleblockdata:function(){var t=[];if(this.data){var e=this.parsedContent.querySelectorAll(".mb_home_small_img"),i=0;[].forEach.call(e,(function(e){var n,o=new Array(3);o.img=Object(a.g)(e.querySelector("img").attributes.src,300,300,"root"),o.atag=e.querySelector("a").attributes.href,o.hthree=null===(n=e.querySelector("h3"))||void 0===n?void 0:n.rawText,t[i]=o,i++}))}return t}},methods:{GtagCms:function(t){this.$store.commit("google-gtag/SET_CMS_BLOCK_CLICK",{cmsName:null==t?void 0:t.hthree,cmsLink:null==t?void 0:t.atag})}}},j=(i(1427),{components:{Productlist:Object(x.a)(P,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"row center-xs"},t._l(t.singleblockdata,(function(e){return i("router-link",{key:e.hthree,staticClass:"brand-detail col-lg-3 col-md-3 col-sm-3 col-xs-6 pb15",attrs:{to:t.localizedRoute(e.atag)},nativeOn:{click:function(i){return t.GtagCms(e)}}},[i("div",{staticClass:"brand-detail-inner"},[i("div",{staticClass:"brand-img-div"},[i("img",{attrs:{src:e.img,alt:e.hthree}})]),t._v(" "),i("div",{staticClass:"heading"},[i("h3",[t._v(t._s(e.hthree))])])])])})),1)}),[],!1,null,null,null).exports}}),S=(i(1429),Object(x.a)(j,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"familiar-brands"},[e("div",{staticClass:"container"},[this._m(0),this._v(" "),e("div",{staticClass:"Familiar-inner-one"},[e("div",{staticClass:"Familiar-inner-two"},[e("Productlist",{attrs:{identifier:"familiar-brands"}})],1)])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"row center-xs"},[e("h1",{staticClass:"homeshop-category"},[this._v("\n        Shop By Category\n      ")])])}],!1,null,null,null).exports),$={name:"TileLinks",data:function(){return{social_tiles:[{image:"/assets/ig/ig01.jpg",alt:"Woman practicing on the beach"},{image:"/assets/ig/ig02.jpg",alt:"Man practicing on the beach"},{image:"/assets/ig/ig03.jpg",alt:"Woman drinks water form the bottle on the beach"},{image:"/assets/ig/ig04.jpg",alt:"Man rests on the beach"},{image:"/assets/ig/ig05.jpg",alt:"Woman practicing on the beach"},{image:"/assets/ig/ig06.jpg",alt:"Man is holding a watter bottle"}]}}},z=(i(1431),Object(x.a)($,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"row center-xs"},this._l(this.social_tiles,(function(t,i){return e("div",{key:i,staticClass:"col-sm-4 pb15"},[e("div",{staticClass:"tile center-xs middle-xs"},[e("img",{directives:[{name:"lazy",rawName:"v-lazy",value:t.image,expression:"tile.image"}],staticClass:"tile-image",attrs:{alt:t.alt}})])])})),0)}),[],!1,null,"c89f3506",null).exports),E=i(17),I=i(779),L=i(578),D=i.n(L);function T(t,e,i,a,n,o,r){try{var s=t[o](r),c=s.value}catch(t){return void i(t)}s.done?e(c):Promise.resolve(c).then(a,n)}var A={data:function(){return{windowWidth:768,hideBannerPlaceHolder:!1,dragging:!1,slides:[{id:3,image:"assets/images/homepage/delivery-banner.png"}],getAllActiveBanners:[],numberOfBanners:0,getSliderBanners:[]}},mounted:function(){window.addEventListener("mouseup",this.stopDrag),this.getSliderBanners=this.$store.getters["bannerImage/getBannerImagesSlider"]},components:{"no-ssr":D.a,Carousel:function(){return Promise.resolve().then(i.t.bind(null,255,7)).then((function(t){return t.Carousel}))},Slide:function(){return Promise.resolve().then(i.t.bind(null,255,7)).then((function(t){return t.Slide}))}},computed:{sliderBanners:function(){return this.$store.getters["bannerImage/getBannerImagesSlider"].filter((function(t){return t.promotion&&t.promotion.banner_veiw_status&&["mobile","both"].includes(t.promotion.banner_veiw_status.toLowerCase())})).sort((function(t,e){return t.promotion.order-e.promotion.order}))}},serverPrefetch:function(){return this.getAllData()},methods:{gTagHero:function(t){var e,i,a,n;this.$store.commit("google-gtag/SET_HERO_BANNER_CLICK",{startDate:null==t||null===(e=t.promotion)||void 0===e?void 0:e.start_date,endDate:null==t||null===(i=t.promotion)||void 0===i?void 0:i.end_date,promotionOrder:null==t||null===(a=t.promotion)||void 0===a?void 0:a.order,imageNo:null==t||null===(n=t.promotion)||void 0===n?void 0:n.image})},getAllData:function(){var t,e=this;return(t=regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",e.$store.dispatch("bannerImage/getBannerImages"));case 1:case"end":return t.stop()}}),t)})),function(){var e=this,i=arguments;return new Promise((function(a,n){var o=t.apply(e,i);function r(t){T(o,a,n,r,s,"next",t)}function s(t){T(o,a,n,r,s,"throw",t)}r(void 0)}))})()},navigate:function(t){console.log("Navigato to ",t),this.$router.push(this.localizedRoute(t))}}},R=(i(1433),Object(x.a)(A,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"homeslider hidden-md hidden-lg hidden-xl"},[i("div",{staticClass:"SliderCLSMobile1"},[i("no-ssr",[i("carousel",{staticClass:"sliderCLS2",attrs:{autoplay:!0,loop:!0,"per-page-custom":[[320,1],[768,1]],speed:300}},t._l(t.sliderBanners,(function(e){return i("slide",{key:e.id},[i("div",{staticClass:"homepage-mobile-slider",on:{click:function(i){return t.gTagHero(e)}}},[i("div",{staticClass:"shop-now",on:{click:function(i){return t.navigate(e.promotion.url)}}},[i("img",{attrs:{src:e.promotion.image,alt:"homepage slider mobile "+e.promotion.id}})])])])})),1)],1)],1)])}),[],!1,null,null,null).exports);function B(t,e,i,a,n,o,r){try{var s=t[o](r),c=s.value}catch(t){return void i(t)}s.done?e(c):Promise.resolve(c).then(a,n)}var M={serverPrefetch:function(){return this.getAllData()},methods:{gTagHero:function(t){var e,i,a,n;this.$store.commit("google-gtag/SET_HERO_BANNER_CLICK",{startDate:null==t||null===(e=t.promotion)||void 0===e?void 0:e.start_date,endDate:null==t||null===(i=t.promotion)||void 0===i?void 0:i.end_date,promotionOrder:null==t||null===(a=t.promotion)||void 0===a?void 0:a.order,imageNo:null==t||null===(n=t.promotion)||void 0===n?void 0:n.image})},getAllData:function(){var t,e=this;return(t=regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",e.$store.dispatch("bannerImage/getBannerImages"));case 1:case"end":return t.stop()}}),t)})),function(){var e=this,i=arguments;return new Promise((function(a,n){var o=t.apply(e,i);function r(t){B(o,a,n,r,s,"next",t)}function s(t){B(o,a,n,r,s,"throw",t)}r(void 0)}))})()},handleDown:function(){document.addEventListener("pointermove",this.handleMove)},handleUp:function(){var t=this;document.removeEventListener("pointermove",this.handleMove),setTimeout((function(){t.drag=!1}),50)},navigate:function(t){this.drag||(this.click=!this.click,this.$router.push(this.localizedRoute(t)))},handleMove:function(){this.drag=!0},doDrag:function(t){this.dragging&&(this.x=t.clientX,this.y=t.clientY,console.log("doDrag",this.dragging))}},computed:{sliderBanners:function(){return this.$store.getters["bannerImage/getBannerImagesSlider"].filter((function(t){return t.promotion&&t.promotion.banner_veiw_status&&["desktop","both"].includes(t.promotion.banner_veiw_status.toLowerCase())})).sort((function(t,e){return t.promotion.order-e.promotion.order}))}},components:{"no-ssr":D.a,Carousel:function(){return Promise.resolve().then(i.t.bind(null,255,7)).then((function(t){return t.Carousel}))},Slide:function(){return Promise.resolve().then(i.t.bind(null,255,7)).then((function(t){return t.Slide}))}},data:function(){return{windowWidth:768,hideBannerPlaceHolder:!1,dragging:!1,slides:[{id:3,image:"assets/images/homepage/delivery-banner.png"}],getAllActiveBanners:[],numberOfBanners:0,getSliderBanners:[],drag:!1,click:!1}},beforeMount:function(){},mounted:function(){if(this.sliderBanners<1)return this.getAllData();window.addEventListener("mouseup",this.stopDrag),this.getSliderBanners=this.$store.getters["bannerImage/getBannerImagesSlider"]}},H=(i(1435),{components:{HomeSliderDesktop:Object(x.a)(M,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"homeslider hidden-xs hidden-sm"},[i("div",{staticClass:"container sliderCLS1"},[i("no-ssr",[i("carousel",{staticClass:"sliderCLS2",attrs:{autoplay:!0,loop:!0,"per-page-custom":[[480,1],[768,1]],speed:500,autoplayTimeout:4e3}},t._l(t.sliderBanners,(function(e){return i("slide",{key:e.id},[i("div",{staticClass:"row"},[e.title&&e.button?i("div",{staticClass:"homepage-slider col-lg-12 col-md-12"},[i("img",{attrs:{src:e.image}}),t._v(" "),i("div",{staticClass:"homepage-slider-detail"},[i("h1",[t._v(t._s(e.title))]),t._v(" "),i("p",[t._v(t._s(e.description))]),t._v(" "),i("router-link",{staticClass:"shop-now",attrs:{to:t.localizedRoute(e.buttonLink)}},[t._v(t._s(e.button))])],1)]):i("div",{staticClass:"homepage-slider col-lg-12 col-md-12",on:{click:function(i){return t.navigate(e.promotion.url)},pointerdown:t.handleDown,pointerup:t.handleUp,pointercancel:t.handleUp}},[i("div",{staticClass:"homepage-slider-detail-img-only",on:{click:function(i){return t.gTagHero(e)}}},[i("span",{staticClass:"shop-now"},[i("img",{attrs:{src:e.promotion.image,alt:"homepage slider desktop "+e.promotion.id}})])])])])])})),1)],1)],1)])}),[],!1,null,null,null).exports,HomeSliderMobile:R}}),N=Object(x.a)(H,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("HomeSliderDesktop"),this._v(" "),e("HomeSliderMobile")],1)}),[],!1,null,null,null).exports,V={components:{Carousel:function(){return Promise.resolve().then(i.t.bind(null,255,7)).then((function(t){return t.Carousel}))},Slide:function(){return Promise.resolve().then(i.t.bind(null,255,7)).then((function(t){return t.Slide}))},"no-ssr":D.a},data:function(){return{clients:[{id:1,image:"assets/images/homepage/grohe.png"},{id:2,image:"assets/images/homepage/crosswater.png"},{id:3,image:"assets/images/homepage/grohe.png"},{id:4,image:"assets/images/homepage/crosswater.png"},{id:5,image:"assets/images/homepage/grohe.png"},{id:6,image:"assets/images/homepage/crosswater.png"},{id:7,image:"assets/images/homepage/grohe.png"},{id:8,image:"assets/images/homepage/crosswater.png"}]}}},F=(i(1437),Object(x.a)(V,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"clients"},[e("div",{staticClass:"container"},[e("no-ssr",[e("carousel",{attrs:{"pagination-enabled":!1,"per-page-custom":[[767,2],[768,4],[1200,6]]}},this._l(this.clients,(function(t){return e("slide",{key:t.id},[e("img",{attrs:{src:t.image}})])})),1)],1)],1)])}),[],!1,null,"2ccf2c6c",null).exports),q={mounted:function(){var t=document.createElement("script");t.innerHTML="new ReviewsWidget('#ReviewsWidget', {store: 'bathroom-mountain',widget: 'prestige-card-carousel',maxReviews: 21,contentMode: 'company;',sku: 'all-product-reviews',structuredData: {product: \"\",company: \"\"},richSnippets: {product: true,company: true,},carouselOptions: {transitionSpeed: 320,draggableOnDesktop: true,showSliderArrows: false,autoScroll: false,autoScrollTime: 15,showTitle: true,titleText: 'Our Customers Love Us',showSubTitle: true,starsInSubTitle: true,starsAfterName: false,hideDates: false,hideThirdParty: true},styles: {starColor:'#54575b',primaryColor:'#ffffff',textColor: '#54575b',neutralColor: '#54575b',borderRadius: \"0px\",boxShadow: \"0 10px 10px rgba(2,2,2,0.04), 0 6px 6px rgba(2,2,2,0.07) \",logoColor: \"#000\",subTitleStar: \"#5457b\"},});",document.head.appendChild(t)}},W=(i(1439),Object(x.a)(q,(function(){var t=this.$createElement;this._self._c;return this._m(0)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"reviews-widget"},[e("div",{attrs:{id:"ReviewsWidget"}})])}],!1,null,"0d239450",null).exports),U=i(589),Y=i(585),K={name:"PromotionalAssets",components:{PromoAsset:i(982).a}},J=(i(1441),Object(x.a)(K,(function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"promotional-categories"},[e("Promo-asset",{attrs:{identifier:"promotions"}})],1)}),[],!1,null,null,null).exports),X=i(252);i(155);function G(t,e,i,a,n,o,r){try{var s=t[o](r),c=s.value}catch(t){return void i(t)}s.done?e(c):Promise.resolve(c).then(a,n)}function Q(t){return function(){var e=this,i=arguments;return new Promise((function(a,n){var o=t.apply(e,i);function r(t){G(o,a,n,r,s,"next",t)}function s(t){G(o,a,n,r,s,"throw",t)}r(void 0)}))}}function Z(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function tt(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Z(Object(i),!0).forEach((function(e){et(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Z(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function et(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var it={name:"HomePage",data:function(){return{loading:!0,dynHomeTriggered:!1,metaInfo:{title:"",titleTemplate:"Bathroom Mountain | Low Prices & Fast Delivery"}}},mixins:[f,Y.a],components:{PromotionalAssets:J,HeadImage:w,Onboard:O,ProductListing:h.a,FamiliarProducts:S,TileLinks:z,LazyHydrate:n.a,HomeSlider:N,ClientSlider:F,ReviewsWidget:W,UspBar:U.a,SubscriberBtn:o.a},computed:tt(tt(tt({},Object(r.c)("user",["isLoggedIn"])),Object(r.c)("homepage",["getEverythingNewCollection"])),{},{categories:function(){return this.getCategories},isOnline:function(){return a.j.isOnline},isLazyHydrateEnabled:function(){return _.ssr.lazyHydrateFor.some((function(t){return["homepage","homepage.new_collection"].includes(t)}))},socialLinksSchema:function(){return _.socialUrlsForSchema?_.socialUrlsForSchema:""}}),beforeCreate:function(){Object(E.c)(I.a)},beforeMount:function(){var t=this;return Q(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!t.$store.state.__DEMO_MODE__){e.next=5;break}return e.next=3,t.$store.dispatch("claims/check",{claimCode:"onboardingAccepted"});case 3:e.sent||(t.$bus.$emit("modal-toggle","modal-onboard"),t.$store.dispatch("claims/set",{claimCode:"onboardingAccepted",value:!0}));case 5:case"end":return e.stop()}}),e)})))()},methods:{triggerDynHome:Object(X.a)((function(){this.dynHomeTriggered=!0,this.$store.commit("google-gtag/SET_HOME_CLICK")}),1e3)},mounted:function(){var t=this;localStorage.getItem("checkout_3dSecure_orderId")&&localStorage.removeItem("checkout_3dSecure_orderId"),!this.isLoggedIn&&localStorage.getItem("redirect")&&this.$bus.$emit("modal-show","modal-signup"),this.dynHomeTriggered||a.h||this.$nextTick((function(){t.triggerDynHome()}))},watch:{isLoggedIn:function(){var t=localStorage.getItem("redirect");t&&this.$router.push(t),localStorage.removeItem("redirect")}},asyncData:function(t){return Q(regeneratorRuntime.mark((function e(){var i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=t.store,t.route,l.a.info("Calling asyncData in Home (theme)")(),e.next=4,Promise.all([i.dispatch("homepage/fetchNewCollection"),i.dispatch("promoted/updateHeadImage"),i.dispatch("promoted/updatePromotedOffers")]);case 4:case"end":return e.stop()}}),e)})))()},beforeRouteEnter:function(t,e,i){a.h||e.name?i():i((function(t){return t.$store.dispatch("homepage/fetchNewCollection").then((function(e){t.loading=!1}))}))},metaInfo:function(){if("/"===this.$route.path){var t=_&&_.canonicalBaseUrl?_.canonicalBaseUrl:"/";return t+="/",tt(tt({},this.metaInfo),{},{link:[{rel:"canonical",href:t}]})}}},at=(i(1443),Object(x.a)(it,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{attrs:{id:"home"}},[i("UspBar",{attrs:{"is-home-page":!0}}),t._v(" "),i("HomeSlider"),t._v(" "),i("PromotionalAssets"),t._v(" "),i("FamiliarProducts"),t._v(" "),t._m(0),t._v(" "),i("div",{attrs:{itemscope:"",itemtype:"http://schema.org/Organization"}},[i("meta",{attrs:{itemprop:"name",content:"Bathroom Mountain"}}),t._v(" "),i("a",{attrs:{href:"https://www.bathroommountain.co.uk/",itemprop:"url"}},[i("a",{attrs:{href:"https://www.bathroommountain.co.uk/assets/logo.svg",itemprop:"logo"}})]),t._v(" "),t._l(t.socialLinksSchema,(function(t){return i("meta",{key:t,attrs:{itemprop:"sameAs",content:t}})}))],2),t._v(" "),i("subscriber-btn")],1)}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{itemscope:"",itemtype:"http://schema.org/WebSite"}},[e("meta",{attrs:{itemprop:"name",content:"Bathroom Mountain"}}),this._v(" "),e("meta",{attrs:{itemprop:"url",content:"https://www.bathroommountain.co.uk/"}}),this._v(" "),e("form",{staticStyle:{display:"none"},attrs:{itemprop:"potentialAction",itemscope:"",itemtype:"https://schema.org/SearchAction"}},[e("meta",{attrs:{itemprop:"target",content:"https://www.bathroommountain.co.uk/search-result-page/?s={search_term_string}"}}),this._v(" "),e("input",{attrs:{itemprop:"query-input",type:"text",name:"search_term_string",required:""}}),this._v(" "),e("input",{attrs:{type:"submit"}})])])}],!1,null,"f0c5afcc",null));e.default=at.exports},584:function(t,e,i){var a,n,o;n=[e],void 0===(o="function"==typeof(a=function(t){"use strict";function e(t){if(Array.isArray(t)){for(var e=0,i=Array(t.length);e<t.length;e++)i[e]=t[e];return i}return Array.from(t)}Object.defineProperty(t,"__esModule",{value:!0});var i=!1;if("undefined"!=typeof window){var a={get passive(){i=!0}};window.addEventListener("testPassive",null,a),window.removeEventListener("testPassive",null,a)}function n(t){return c.some((function(e){return!(!e.options.allowTouchMove||!e.options.allowTouchMove(t))}))}function o(t){var e=t||window.event;return!!n(e.target)||1<e.touches.length||(e.preventDefault&&e.preventDefault(),!1)}function r(){setTimeout((function(){void 0!==p&&(document.body.style.paddingRight=p,p=void 0),void 0!==u&&(document.body.style.overflow=u,u=void 0)}))}var s="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&1<window.navigator.maxTouchPoints),c=[],l=!1,d=-1,u=void 0,p=void 0;t.disableBodyScroll=function(t,a){if(s){if(!t)return void console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");if(t&&!c.some((function(e){return e.targetElement===t}))){var r={targetElement:t,options:a||{}};c=[].concat(e(c),[r]),t.ontouchstart=function(t){1===t.targetTouches.length&&(d=t.targetTouches[0].clientY)},t.ontouchmove=function(e){var i,a,r,s;1===e.targetTouches.length&&(a=t,s=(i=e).targetTouches[0].clientY-d,n(i.target)||(a&&0===a.scrollTop&&0<s||(r=a)&&r.scrollHeight-r.scrollTop<=r.clientHeight&&s<0?o(i):i.stopPropagation()))},l||(document.addEventListener("touchmove",o,i?{passive:!1}:void 0),l=!0)}}else{f=a,setTimeout((function(){if(void 0===p){var t=!!f&&!0===f.reserveScrollBarGap,e=window.innerWidth-document.documentElement.clientWidth;t&&0<e&&(p=document.body.style.paddingRight,document.body.style.paddingRight=e+"px")}void 0===u&&(u=document.body.style.overflow,document.body.style.overflow="hidden")}));var m={targetElement:t,options:a||{}};c=[].concat(e(c),[m])}var f},t.clearAllBodyScrollLocks=function(){s?(c.forEach((function(t){t.targetElement.ontouchstart=null,t.targetElement.ontouchmove=null})),l&&(document.removeEventListener("touchmove",o,i?{passive:!1}:void 0),l=!1),c=[],d=-1):(r(),c=[])},t.enableBodyScroll=function(t){if(s){if(!t)return void console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");t.ontouchstart=null,t.ontouchmove=null,c=c.filter((function(e){return e.targetElement!==t})),l&&0===c.length&&(document.removeEventListener("touchmove",o,i?{passive:!1}:void 0),l=!1)}else(c=c.filter((function(e){return e.targetElement!==t}))).length||r()}})?a.apply(e,n):a)||(t.exports=o)},608:function(t,e,i){"use strict";e.a={mounted:function(){var t=this,e=function(e){"Escape"!==e.key&&"Esc"!==e.key&&27!==e.keyCode||t.onEscapePress()};document.addEventListener("keydown",e),this.$once("hook:destroyed",(function(){document.removeEventListener("keydown",e)}))}}},609:function(t,e,i){"use strict";var a=i(154),n=i(608),o=i(584);function r(t,e,i,a,n,o,r){try{var s=t[o](r),c=s.value}catch(t){return void i(t)}s.done?e(c):Promise.resolve(c).then(a,n)}function s(t){return function(){var e=this,i=arguments;return new Promise((function(a,n){var o=t.apply(e,i);function s(t){r(o,a,n,s,c,"next",t)}function c(t){r(o,a,n,s,c,"throw",t)}s(void 0)}))}}function c(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function l(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?c(Object(i),!0).forEach((function(e){d(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):c(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}function d(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}var u={name:"Modal",data:function(){return{isVisible:!1}},watch:{isVisible:function(t){var e=this;t?this.$nextTick((function(){Object(o.disableBodyScroll)(e.$refs.modal)})):Object(o.clearAllBodyScrollLocks)()}},methods:l(l({onHide:function(t,e,i){var a=this;return s(regeneratorRuntime.mark((function e(){var i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=t===a.name&&a.toggle(!1),"LoginModel"!==a.$router.currentRoute.query.q){e.next=4;break}return e.next=4,a.$router.push({path:a.$router.currentRoute.path});case 4:return e.abrupt("return",i);case 5:case"end":return e.stop()}}),e)})))()},onShow:function(t,e,i){return t===this.name&&this.toggle(!0)},onToggle:function(t,e,i){t===this.name&&(e=void 0===e?!this.isVisible:e,this.toggle(e))},onEscapePress:function(){this.close()}},Object(a.d)("ui",["setOverlay"])),{},{toggle:function(t){var e=this;this.isVisible=t,t?this.setOverlay(t):setTimeout((function(){return e.setOverlay(t)}),this.delay)},close:function(){var t=this;return s(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("LoginModel"!==t.$router.currentRoute.query.q){e.next=3;break}return e.next=3,t.$router.push({path:t.$router.currentRoute.path});case 3:Object(o.clearAllBodyScrollLocks)(),t.toggle(!1),t.$emit("popInterface",0);case 6:case"end":return e.stop()}}),e)})))()}}),beforeMount:function(){this.$bus.$on("modal-toggle",this.onToggle),this.$bus.$on("modal-show",this.onShow),this.$bus.$on("modal-hide",this.onHide)},beforeDestroy:function(){this.$bus.$off("modal-toggle",this.onToggle),this.$bus.$off("modal-show",this.onShow),this.$bus.$off("modal-hide",this.onHide)},mixins:[n.a],props:{name:{required:!0,type:String},delay:{required:!1,type:Number,default:300},width:{type:Number,default:0},transitionName:{type:String,default:"fade-in-down"}},computed:{style:function(){return!!this.width&&"width: ".concat(this.width,"px")}}},p=(i(677),i(123)),m=Object(p.a)(u,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("transition",{attrs:{name:t.transitionName}},[t.isVisible?i("div",{ref:"modal",staticClass:"modal"},[i("div",{staticClass:"modal-backdrop",on:{click:t.close}}),t._v(" "),i("div",{ref:"modal-content",staticClass:"modal-container bg-cl-primary",style:t.style},[t.$slots.header?i("header",{staticClass:"modal-header py25 px65 h1 serif weight-700 bg-cl-secondary"},[t._t("header"),t._v(" "),i("i",{staticClass:"modal-close material-icons cl-bg-tertiary",attrs:{slot:"close","data-testid":"closeModalButton"},on:{click:t.close},slot:"close"},[t._v("close")])],2):t._e(),t._v(" "),t.$slots.content?i("div",{staticClass:"modal-content bg-cl-primary pt30 pb60 px65"},[t._t("content")],2):t._e(),t._v(" "),t._t("default")],2)]):t._e()])}),[],!1,null,"380c16ec",null);e.a=m.exports},611:function(t,e,i){"use strict";var a=i(5),n=i(2);e.a={beforeCreated:function(){var t=this.$options.name.toLowerCase()+"-before-created";n.a.debug(t,"event")(),a.b.$emit(t,this)},created:function(){var t=this.$options.name.toLowerCase()+"-after-created";n.a.debug(t,"event")(),a.b.$emit(t,this)},beforeMount:function(){var t=this.$options.name.toLowerCase()+"-before-mount";n.a.debug(t,"event")(),a.b.$emit(t,this)},mounted:function(){var t=this.$options.name.toLowerCase()+"-after-mounted";n.a.debug(t,"event")(),a.b.$emit(t,this)}}},616:function(t,e,i){"use strict";e.a={mounted:function(){this.$store.dispatch("wishlist/load")}}},623:function(t,e,i){"use strict";e.a={mounted:function(){this.$store.dispatch("compare/load")}}},627:function(t,e,i){var a=i(678);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,i(567).default)("9d48c55e",a,!0,{})},659:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var a=i(254),n=i(616),o=i(17),r={name:"isOnWishlist",mixins:[n.a],props:{product:{required:!0,type:Object}},created:function(){Object(o.c)(a.a)},computed:{isOnWishlist:function(){return this.$store.getters["wishlist/isOnWishlist"](this.product)}}}},660:function(t,e,i){"use strict";i.d(e,"a",(function(){return r}));var a=i(686),n=i(623),o=i(17),r={name:"IsOnCompare",mixins:[n.a],props:{product:{required:!0,type:Object}},created:function(){Object(o.c)(a.a)},computed:{isOnCompare:function(){return this.$store.getters["compare/isOnCompare"](this.product)}}}},666:function(t,e,i){var a=i(710);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,i(567).default)("1539ff58",a,!0,{})},667:function(t,e,i){var a=i(712);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,i(567).default)("55f71a84",a,!0,{})},668:function(t,e,i){var a=i(714);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,i(567).default)("58cf23d6",a,!0,{})},677:function(t,e,i){"use strict";i(627)},678:function(t,e,i){(t.exports=i(566)(!1)).push([t.i,".homeInsta .modal-header[data-v-380c16ec]{padding:0px 0px !important;background:#ffffff !important}.homeInsta .cl-bg-tertiary[data-v-380c16ec]{color:#151D4C !important}.homeInsta .modal-container[data-v-380c16ec]{padding:30px !important}@media (max-width: 600px){.homeInsta .modal-container[data-v-380c16ec]{min-height:auto !important}}.modal[data-v-380c16ec]{position:fixed;top:0;right:0;bottom:0;left:0;overflow:auto;text-align:inherit;z-index:10}.modal .modal-container[data-v-380c16ec]{position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%);width:945px;margin:0 auto;max-width:100%;max-height:100%;z-index:11}@media (max-width: 600px){.modal .modal-container[data-v-380c16ec]{min-height:100%;min-width:100%;margin:0}}.modal .modal-header[data-v-380c16ec]{position:relative}.modal .modal-header>*[data-v-380c16ec]{margin:0}@media (max-width: 600px){.modal .modal-header[data-v-380c16ec]{padding:25px 20px}}@media (max-width: 600px){.modal .modal-content[data-v-380c16ec]{padding:30px 20px}}.modal .modal-header[data-v-380c16ec]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:justify;justify-content:space-between}.modal .modal-close[data-v-380c16ec]{cursor:pointer}.modal .modal-backdrop[data-v-380c16ec]{position:absolute;top:0;left:0;width:100%;height:100%}\n",""])},686:function(t,e,i){"use strict";i.d(e,"a",(function(){return m}));var a,n=i(0),o="compare/ADD",r="compare/DEL",s="compare/LOAD",c=i(6),l=i(2),d={namespaced:!0,state:{loaded:!1,items:[]},getters:{isEmpty:function(t){return 0===t.items.length},isOnCompare:function(t){return function(e){return t.items.some((function(t){return t.sku===e.sku}))}},isCompareLoaded:function(t){return t.loaded},getCompareProductsCount:function(t){return t.items.length},getCompareItems:function(t){return t.items}},actions:{load:function(t,e){var i=t.commit,a=t.getters,o=t.dispatch;return void 0===e&&(e=!1),Object(n.b)(this,void 0,void 0,(function(){var t;return Object(n.d)(this,(function(n){switch(n.label){case 0:return!e&&a.isCompareLoaded?[2]:(i("compare/SET_COMPARE_LOADED"),[4,o("fetchCurrentCompare")]);case 1:return(t=n.sent())&&(i(s,t),l.a.info("Compare state loaded from browser cache: ","cache",t)()),[2]}}))}))},fetchCurrentCompare:function(){return Object(n.b)(this,void 0,void 0,(function(){return Object(n.d)(this,(function(t){return[2,c.a.get("compare").getItem("current-compare")]}))}))},addItem:function(t,e){var i=t.commit;return Object(n.b)(this,void 0,void 0,(function(){return Object(n.d)(this,(function(t){return i(o,{product:e}),[2]}))}))},removeItem:function(t,e){var i=t.commit;return Object(n.b)(this,void 0,void 0,(function(){return Object(n.d)(this,(function(t){return i(r,{product:e}),[2]}))}))},clear:function(t){var e=t.commit;return Object(n.b)(this,void 0,void 0,(function(){return Object(n.d)(this,(function(t){return e(s,[]),[2]}))}))}},mutations:((a={})[o]=function(t,e){var i=e.product;t.items.find((function(t){return t.sku===i.sku}))||t.items.push(i)},a[r]=function(t,e){var i=e.product;t.items=t.items.filter((function(t){return t.sku!==i.sku}))},a[s]=function(t,e){t.items=e||[]},a["compare/SET_COMPARE_LOADED"]=function(t,e){void 0===e&&(e=!0),t.loaded=e},a)},u=[o,r,s].map((function(t){return"compare/"+t})),p=function(t,e){var i=c.a.get("compare");u.includes(t.type)&&i.setItem("current-compare",e.compare.items).catch((function(t){l.a.error(t,"compare")}))},m=function(t){var e=t.store;c.a.init("compare"),e.registerModule("compare",d),e.subscribe(p)}},709:function(t,e,i){"use strict";i(666)},710:function(t,e,i){(t.exports=i(566)(!1)).push([t.i,".fade-enter-active[data-v-20c8e85e]{-webkit-transition:opacity .25s;-o-transition:opacity .25s;transition:opacity .25s}.fade-leave-active[data-v-20c8e85e]{-webkit-transition:opacity .2s;-o-transition:opacity .2s;transition:opacity .2s}.fade-enter[data-v-20c8e85e],.fade-leave-to[data-v-20c8e85e]{opacity:0}.fade-in-down-enter-active[data-v-20c8e85e],.fade-in-up-enter-active[data-v-20c8e85e]{-webkit-transition:all .25s cubic-bezier(0.4, 0, 0.2, 1);-o-transition:all .25s cubic-bezier(0.4, 0, 0.2, 1);transition:all .25s cubic-bezier(0.4, 0, 0.2, 1)}.fade-in-down-leave-active[data-v-20c8e85e],.fade-in-up-leave-active[data-v-20c8e85e]{-webkit-transition:all .2s cubic-bezier(0.4, 0, 1, 1);-o-transition:all .2s cubic-bezier(0.4, 0, 1, 1);transition:all .2s cubic-bezier(0.4, 0, 1, 1)}.fade-in-down-enter[data-v-20c8e85e],.fade-in-down-leave-to[data-v-20c8e85e],.fade-in-up-enter[data-v-20c8e85e],.fade-in-up-leave-to[data-v-20c8e85e]{opacity:0}.fade-in-down-enter[data-v-20c8e85e],.fade-in-down-leave-to[data-v-20c8e85e]{-webkit-transform:translateY(-100%);-ms-transform:translateY(-100%);transform:translateY(-100%)}.fade-in-up-enter[data-v-20c8e85e],.fade-in-up-leave-to[data-v-20c8e85e]{-webkit-transform:translateY(100%);-ms-transform:translateY(100%);transform:translateY(100%)}.product[data-v-20c8e85e]{position:relative;margin-bottom:10px}@media (max-width: 767px){.product[data-v-20c8e85e]{padding-bottom:10px}}.product__icons[data-v-20c8e85e]{position:absolute;top:0;right:0;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;padding-right:20px;padding-top:10px}.product__icon[data-v-20c8e85e]{padding-top:10px;opacity:0;z-index:2;-webkit-transition:0.3s opacity cubic-bezier(0.4, 0, 0.2, 1);-o-transition:0.3s opacity cubic-bezier(0.4, 0, 0.2, 1);transition:0.3s opacity cubic-bezier(0.4, 0, 0.2, 1)}@media (max-width: 767px){.product__icon[data-v-20c8e85e]{opacity:1}}.product__icon--active[data-v-20c8e85e]{opacity:1}.product:hover .product__icon[data-v-20c8e85e]{opacity:1}.product .sb-prodcut-name[data-v-20c8e85e]{font-size:0.875rem;color:#54575b;font-family:'Poppins', sans-serif;font-weight:bold;margin-bottom:20px;-webkit-text-size-adjust:100%}.product span.sb-category-price[data-v-20c8e85e]{font-size:1.131875rem;color:#d10000b8;font-family:'Poppins', sans-serif;font-weight:bold;margin-bottom:10px;display:block;-webkit-text-size-adjust:100%}.price-original[data-v-20c8e85e]{text-decoration:line-through}.product-cover.sale[data-v-20c8e85e]::after,.product-cover.new[data-v-20c8e85e]::after{position:absolute;top:0;left:0;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;width:40px;height:40px;background-color:#e0e0e0;text-transform:uppercase;color:#fff;font-size:12px}.product-cover[data-v-20c8e85e]{overflow:hidden}.product-cover__thumb[data-v-20c8e85e]{padding-bottom:calc(165.88% / (164.5 / 100));opacity:1;will-change:opacity, transform;-webkit-transition:0.3s opacity cubic-bezier(0.4, 0, 0.2, 1),0.3s -webkit-transform cubic-bezier(0.4, 0, 0.2, 1);transition:0.3s opacity cubic-bezier(0.4, 0, 0.2, 1),0.3s -webkit-transform cubic-bezier(0.4, 0, 0.2, 1);-o-transition:0.3s opacity cubic-bezier(0.4, 0, 0.2, 1),0.3s transform cubic-bezier(0.4, 0, 0.2, 1);transition:0.3s opacity cubic-bezier(0.4, 0, 0.2, 1),0.3s transform cubic-bezier(0.4, 0, 0.2, 1);transition:0.3s opacity cubic-bezier(0.4, 0, 0.2, 1),0.3s transform cubic-bezier(0.4, 0, 0.2, 1),0.3s -webkit-transform cubic-bezier(0.4, 0, 0.2, 1)}@media screen and (min-width: 768px){.product-cover:hover .product-cover__thumb[data-v-20c8e85e]{opacity:1;-webkit-transform:scale(1.1);-ms-transform:scale(1.1);transform:scale(1.1)}.product-cover:hover.sale[data-v-20c8e85e]::after,.product-cover:hover.new[data-v-20c8e85e]::after{opacity:1}}.product-cover.sale[data-v-20c8e85e]::after{content:'Sale'}.product-cover.new[data-v-20c8e85e]::after{content:'New'}.product__icons[data-v-20c8e85e]{bottom:0 !important;top:unset !important;border:1px solid #ddd;padding:4px 3px 2px 3px !important;border-radius:5px}.product__icon[data-v-20c8e85e]{padding:0 !important}i.material-icons[data-v-20c8e85e]{vertical-align:bottom}.product__icon[data-v-20c8e85e]{opacity:1 !important}img.product-cover-thumb[data-v-20c8e85e]{width:120%}.product__icon--active img[data-v-20c8e85e]{-webkit-filter:invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);filter:invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%)}.searchpanel .product a[data-v-20c8e85e]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;-ms-flex-pack:end;justify-content:flex-end}.searchpanel .product[data-v-20c8e85e]{padding-bottom:0;margin-bottom:0}.product .sb-prodcut-name[data-v-20c8e85e]{height:auto;line-height:1.4em;display:-ms-flexbox;display:flex;-webkit-line-clamp:2;display:-webkit-box;overflow:hidden;margin-bottom:0px;display:block;text-align:center;height:61px}.searchpanel .product__icons[data-v-20c8e85e]{display:none}.sb-prodcut-sku[data-v-20c8e85e]{display:none !important}#search-mainmain .sb-prodcut-sku[data-v-20c8e85e]{display:block !important}.price-special[data-v-20c8e85e]{color:#d10000b8}@media only screen and (min-device-width: 320px) and (max-device-width: 767px){.product .sb-prodcut-name[data-v-20c8e85e]{height:auto}}@media only screen and (min-device-width: 768px) and (max-device-width: 1024px){.product .sb-prodcut-name[data-v-20c8e85e]{height:auto}}.category-review[data-v-20c8e85e]{color:black}.product-reviews[data-v-20c8e85e]{float:right}.product-reviews[data-v-20c8e85e]:hover{text-decoration:none}\n",""])},711:function(t,e,i){"use strict";i(667)},712:function(t,e,i){(t.exports=i(566)(!1)).push([t.i,"#app{-webkit-text-size-adjust:100%}\n",""])},713:function(t,e,i){"use strict";i(668)},714:function(t,e,i){(t.exports=i(566)(!1)).push([t.i,"\n.inner-couple-product[data-v-5aeb3454] {\n  display: inline-block;\n}\n",""])},715:function(t,e,i){var a=i(835);"string"==typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);(0,i(567).default)("255403e6",a,!0,{})},778:function(t,e,i){"use strict";var a=i(4),n=i(607),o=i(1),r=i(587),s=i(659),c=i(660),l=i(614),d=i(585),u=i(665);function p(t,e){var i;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(i=function(t,e){if(!t)return;if("string"==typeof t)return m(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);"Object"===i&&t.constructor&&(i=t.constructor.name);if("Map"===i||"Set"===i)return Array.from(t);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return m(t,e)}(t))||e&&t&&"number"==typeof t.length){i&&(t=i);var a=0,n=function(){};return{s:n,n:function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function(t){throw t},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,r=!0,s=!1;return{s:function(){i=t[Symbol.iterator]()},n:function(){var t=i.next();return r=t.done,t},e:function(t){s=!0,o=t},f:function(){try{r||null==i.return||i.return()}finally{if(s)throw o}}}}function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,a=new Array(e);i<e;i++)a[i]=t[i];return a}var f={name:"ProductTileCustom",mixins:[n.a,s.a,c.a,d.a],components:{ProductImage:r.a,SaleLabel:l.a,ReviewCategory:u.a},data:function(){return{varientPrice:0,varientImage:{src:"",loading:""}}},props:{labelsActive:{type:Boolean,default:!0},onlyImage:{type:Boolean,default:!1},optionId:{type:String,default:""}},computed:{productLinkNew:function(){if(this.product&&this.product.url){var t=this.product.url;if(t)return"/"+t}return"#"},showPromoLabel:function(){if(this.product.promo_label){if(this.product.promo_label_to&&this.product.promo_label_from){var t=new Date(this.product.promo_label_to.replace(" ","T")),e=new Date(this.product.promo_label_from.replace(" ","T")),i=new Date;return t>=i&&e<=i}return!1}return!1},thumbnailObj:function(){return{src:this.thumbnail,loading:this.thumbnail}},thumbnail:function(){var t=this.product.thumb_image_vue?this.product.thumb_image_vue:this.searchThumbnail(this.product.thumb_image);return console.log("thumbnail is : ",t),t?this.getThumbnail(t,o.products.thumbnails.width,o.products.thumbnails.height):this.placeholder},placeholder:function(){return o.images.productPlaceholder?o.images.productPlaceholder:"/assets/placeholder.jpg"},favoriteIcon:function(){return this.isOnWishlist?"favorite":"favorite_border"},changeRouterLinkAddress:function(){return""!==this.product.variant_url&&void 0!==this.product.variant_url&&null!==this.product.variant_url?this.product.variant_url:"abc"}},methods:{searchThumbnail:function(t){return t.replace("https://m2.bathroommountain.co.uk/media/catalog/product","")},onProductPriceUpdate:function(t){t.sku===this.product.sku&&Object.assign(this.product,t)},visibilityChanged:function(t,e){if(t&&o.products.configurableChildrenStockPrefetchDynamic&&o.products.filterUnavailableVariants&&"configurable"===this.product.type_id&&this.product.configurable_children&&this.product.configurable_children.length>0){var i,n=[this.product.sku],r=p(this.product.configurable_children);try{for(r.s();!(i=r.n()).done;){var s=i.value,c=a.a.state.stock.cache[s.id];null==c&&n.push(s.sku)}}catch(t){r.e(t)}finally{r.f()}n.length>0&&a.a.dispatch("stock/list",{skus:n})}}},beforeMount:function(){var t=this;if(this.$bus.$on("product-after-priceupdate",this.onProductPriceUpdate),"collection_product"===this.product.type_id){var e=JSON.parse(this.product.collection_prices);this.optionId&&[].forEach.call(e.variant[0],(function(e){console.log("pSingleVariants",e),console.log("pSingleVariants",e),t.varientImage.src=e.image,t.varientImage.loading=e.image,t.varientPrice=e.price,console.log("variant price",t.varientPrice)}))}},beforeDestroy:function(){this.$bus.$off("product-after-priceupdate",this.onProductPriceUpdate)}},h=(i(709),i(711),i(123)),g=Object(h.a)(f,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{directives:[{name:"observe-visibility",rawName:"v-observe-visibility",value:t.visibilityChanged,expression:"visibilityChanged"}],staticClass:"product align-center w-100 pb20"},[t.optionId?i("router-link",{staticClass:"block no-underline product-link",attrs:{to:t.productLinkNew+"?option_id="+t.optionId,"data-testid":"productLinkNew"},nativeOn:{click:function(e){return t.sendProductClick(t.$vnode.key)}}},[i("div",{staticClass:"product-cover bg-cl-secondary",class:[{sale:t.labelsActive&&t.isOnSale},{new:t.labelsActive&&t.isNew}]},[i("product-image",{staticClass:"product-cover__thumb",attrs:{image:t.thumbnailObj,alt:t._f("htmlDecode")(t.product.title),product:t.product,"calc-ratio":!1,"data-testid":"productImage"}})],1),t._v(" "),t.onlyImage?t._e():i("p",{staticClass:"sb-prodcut-name mb0 cl-accent mt10"},[t._v(t._s(t._f("htmlDecode")(t.product.title)))]),t._v(" "),t.product.sale_price&&parseFloat(t.product.price)>0&&!t.onlyImage?i("span",{staticClass:"price-original mr5 lh30 cl-secondary"},[t._v(t._s(t._f("price")(t.product.price+t.varientPrice)))]):t._e(),t._v(" "),t.product.sale_price&&parseFloat(t.product.sale_price)>0&&t.product.sale_price!=t.product.price&&!t.onlyImage?i("span",{staticClass:"price-special lh30 cl-accent weight-700"},[t._v(t._s(t._f("price")(t.product.price_incl_tax+t.varientPrice)))]):t._e(),t._v(" "),!t.product.sale_price&&parseFloat(t.product.price_incl_tax)>0&&!t.onlyImage?i("span",{staticClass:"sb-category-price lh30"},[t._v(t._s(t._f("price")(t.product.price_incl_tax+t.varientPrice)))]):t._e()]):[t.changeRouterLinkAddress?i("router-link",{staticClass:"block no-underline product-link",attrs:{to:"abc"===t.changeRouterLinkAddress?t.productLinkNew:t.productLinkNew+t.changeRouterLinkAddress,"data-testid":"productLinkNew + changeRouterLinkAddress"},nativeOn:{click:function(e){return t.sendProductClick(t.$vnode.key)}}},[i("div",{staticClass:"product-cover bg-cl-secondary",class:[{sale:t.labelsActive&&t.isOnSale},{new:t.labelsActive&&t.isNew}]},[i("product-image",{staticClass:"product-cover__thumb",attrs:{image:t.thumbnailObj,alt:t._f("htmlDecode")(t.product.title),"calc-ratio":!1,product:t.product,"show-label":t.showPromoLabel,"promo-label":t.product.promo_label,"promo-label-mobile":t.product.promo_label_mobile,"data-testid":"productImage"}}),t._v(" "),t.product.sale_price&&t.product.price&&t.product.sale_price!=t.product.price&&parseFloat(t.product.sale_price)>0&&!t.onlyImage?i("sale-label",{attrs:{clearance:t.product.is_clearance}}):t._e()],1),t._v(" "),t.onlyImage?t._e():i("p",{staticClass:"sb-prodcut-name mb0 cl-accent mt10"},[t._v(t._s(t._f("htmlDecode")(t.product.title)))]),t._v(" "),t.onlyImage?t._e():i("p",{staticClass:"sb-prodcut-name sb-prodcut-sku mb0 cl-accent mt10"},[t._v(t._s(t._f("htmlDecode")(t.product.sku)))]),t._v(" "),t.product.sale_price&&parseFloat(t.product.price)>0&&t.product.sale_price!=t.product.price&&!t.onlyImage?i("span",{staticClass:"price-original mr5 lh30 cl-secondary"},[t._v(t._s(t._f("price")((t.product.price+t.varientPrice).toFixed(2))))]):t._e(),t._v(" "),t.product.sale_price&&t.product.sale_price!=t.product.price&&parseFloat(t.product.sale_price)>0&&!t.onlyImage?i("span",{staticClass:"price-special lh30 cl-accent weight-700"},[t._v(t._s(t._f("price")((t.product.sale_price+t.varientPrice).toFixed(2))))]):t._e(),t._v(" "),!t.product.sale_price&&parseFloat(t.product.price_incl_tax)>0&&!t.onlyImage?i("span",{staticClass:"sb-category-price"},[t._v(t._s(t._f("price")((t.product.price_incl_tax+t.varientPrice).toFixed(2))))]):t._e(),t._v(" "),t.product.price&&t.product.price==t.product.sale_price&&!t.onlyImage?i("span",{staticClass:"sb-category-price arsl a"},[t._v(t._s(t._f("price")((t.product.price+t.varientPrice).toFixed(2))))]):t._e(),t._v(" "),i("div",{staticClass:"category-review"},[i("ReviewCategory",{attrs:{product:t.product}})],1)]):t._e()]],2)}),[],!1,null,"20c8e85e",null).exports,v=0,b={name:"ProductListing",components:{ProductTile:g},props:{products:{type:null,required:!0},columns:{type:[Number,String],required:!0}},methods:{wide:function(t,e,i){var a=("1"===t||"1"===e)&&(i>0&&(i-1-v)%2==0)||i===this.products.length-1&&(i-v)%2!=0;return a&&(v=i),"col-xs-6"},getProductVariants:function(t){var e=[];if(t.collection_prices){var i=JSON.parse(t.collection_prices);if(i.variant){var a=i.variant,n=0;[].forEach.call(a,(function(t){[].forEach.call(t,(function(t){e[n]=t.option_type_id,n++}))}))}}return e}}},x=(i(713),Object(h.a)(b,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"product-listing row m0 start-md"},t._l(t.products,(function(e,a){return i("div",{key:e.pid,staticClass:"col-sm-6 flex",class:[t.wide(e.sale,e.new,a),0!==t.getProductVariants(e).length?"couple-product col-md-"+12/t.columns%10*t.getProductVariants(e).length:"col-md-"+12/t.columns%10]},[t.getProductVariants(e).length?i("div",{staticClass:"variant-couple-product"},t._l(t.getProductVariants(e),(function(a){return i("product-tile",{key:a.pid,class:["inner-couple-product col-md-"+12/t.columns%10*t.getProductVariants(e).length],attrs:{product:e,"option-id":a}})})),1):i("product-tile",{attrs:{product:e}})],1)})),0)}),[],!1,null,"5aeb3454",null));e.a=x.exports},779:function(t,e,i){"use strict";i.d(e,"b",(function(){return c})),i.d(e,"a",(function(){return l}));var a,n={namespaced:!0,state:{items:[]},actions:{load:function(t){var e=t.commit;c.getItem("recently-viewed",(function(t,i){if(t)throw new Error(t);e("recently-viewed/LOAD",i)}))},addItem:function(t,e){(0,t.commit)("recently-viewed/ADD",{product:e})}},mutations:((a={})["recently-viewed/ADD"]=function(t,e){var i=e.product;t.items.find((function(t){return t.sku===i.sku}))||t.items.unshift(i)},a["recently-viewed/LOAD"]=function(t,e){t.items=e||[]},a)};function o(t,e){t.type.startsWith("recently-viewed")&&c.setItem("recently-viewed",e["recently-viewed"].items).catch((function(t){console.error(t)}))}var r=i(6),s=i(3),c=r.a.init("recently-viewed"),l=function(t){var e=t.store;e.registerModule("recently-viewed",n),e.subscribe(o),s.h||e.dispatch("recently-viewed/load")}},834:function(t,e,i){"use strict";i(715)},835:function(t,e,i){(t.exports=i(566)(!1)).push([t.i,".product-image[data-v-92faa3e0]{position:relative;padding-bottom:54% !important}.product-image img[data-v-92faa3e0]{width:100%;margin-bottom:-4px;position:absolute;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%);top:50%;left:50%;-o-object-fit:contain;object-fit:contain}.promotional-images[data-v-92faa3e0]{padding-right:5.8px;padding-left:5.8px;margin-bottom:12px}@media (max-width: 767px){.promotional-images[data-v-92faa3e0]{padding-right:3px;padding-left:3px;margin-bottom:6px}}a.underline[data-v-92faa3e0]:after,a[data-v-92faa3e0]:not(.no-underline):hover:after{content:none !important}\n",""])},982:function(t,e,i){"use strict";var a=i(586),n=(i(3),{name:"PromoAsset",mixins:[a.a],computed:{promotionData:function(){if(!this.data)return!1;var t=[],e=this.parsedContent.querySelectorAll("li");return 0!==e.length&&(e.forEach((function(e,i){var a={id:e.querySelector("id").innerHTML,title:e.querySelector("title")?e.querySelector("title").innerHTML:null,image:e.querySelector("img").attributes.src,route:e.querySelector("p")?e.querySelector("p").innerHTML:null};t.push(a)})),t)}},methods:{gTagOfferBlock:function(t){this.$store.commit("google-gtag/SET_OFFER_BLOCK_CLICK",{offerNo:null==t?void 0:t.id,offerNoLink:null==t?void 0:t.route})},getLocalizedRoute:function(t){try{return this.localizedRoute(t)}catch(t){return console.error("Error in getLocalizedRoute:",t),this.localizedRoute("/")}}}}),o=(i(834),i(123)),r=Object(o.a)(n,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"container"},[t.promotionData&&t.promotionData.length?i("div",{staticClass:"row"},t._l(t.promotionData,(function(e,a){return i("div",{key:a,staticClass:"col-md-4 col-sm-6 col-xs-6 promotional-images"},[i("div",{staticClass:"promotional-images-main",on:{click:function(i){return t.gTagOfferBlock(e)}}},[i("div",{staticClass:"promotional-images-inner"},[i("router-link",{attrs:{to:t.getLocalizedRoute(e.route)}},[i("div",{staticClass:"product-image bg-cl-secondary"},[i("img",{staticClass:"product-thumbnail",attrs:{src:e.image,alt:"promotional images "+a}})])])],1)])])})),0):t._e()])}),[],!1,null,"92faa3e0",null);e.a=r.exports}}]);
//# sourceMappingURL=vsf-home.dca8e6f70d10733ec6a2.js.map