"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[3743],{30047:(t,e,o)=>{o.r(e),o.d(e,{components:()=>n,render:()=>r});const n={"v-empty-component":o(45034).Z,"v-banner":o(85353).Z};function r(t,e){new(t.extend({name:"HotSalesModule",components:n}))({i18n:window.i18n,store:window.store,el:e})}},94301:(t,e,o)=>{o.d(e,{Z:()=>i});var n=o(23645),r=o.n(n)()((function(t){return t[1]}));r.push([t.id,".vogue-home-banner{position:relative}.vogue-home-banner .swiper-pagination{margin:15px auto;position:unset;width:auto!important}.vogue-home-banner .swiper-pagination .swiper-pagination-bullet{height:4px;margin:0 5px;width:4px}.vogue-home-banner .swiper-pagination .swiper-pagination-bullet-active{background:#000;border-radius:10px;transition:width .5s;width:34px}.vogue-home-banner .swiper-slide .product_item{margin-bottom:0!important}.vogue-home-banner .swiper-button-next,.vogue-home-banner .swiper-button-prev{background:#fff;background-image:none!important;border:none;border-radius:50%;box-shadow:0 2px 10px #36363626;color:#000;cursor:pointer;height:45px;line-height:0;line-height:40px;overflow:hidden;position:absolute;text-align:center;top:37%;transform:scale(1.001);transition:background .15s ease-in-out,opacity .15s ease-in-out,transform .2s ease-in-out,color .2s ease-in-out;vertical-align:middle;width:45px;z-index:2}.vogue-home-banner .swiper-button-next svg,.vogue-home-banner .swiper-button-prev svg{stroke-width:10px;stroke:currentColor;height:18px;width:auto}.vogue-home-banner .swiper-button-prev{left:-55px}.vogue-home-banner .swiper-button-prev:hover svg{animation:buttonFromRightToLeft .5s ease-in-out forwards}.vogue-home-banner .swiper-button-next{right:-55px}.vogue-home-banner .swiper-button-next:hover svg{animation:buttonFromLeftToRight .5s ease-in-out forwards}@media screen and (max-width:1480px){.vogue-home-banner .swiper-button-prev{left:15px}.vogue-home-banner .swiper-button-next{right:15px}}@media (max-width:767px){.vogue-home-banner .swiper-button-next,.vogue-home-banner .swiper-button-prev{height:22px}.vogue-home-banner .swiper-button-prev{left:0}.vogue-home-banner .swiper-button-next{right:0}}",""]);const i=r},45034:(t,e,o)=>{o.d(e,{Z:()=>u});var n=o(20629);function r(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function i(t){for(var e=1;e{var e;let{plugConfig:o}=t;return"all"===(null==o||null===(e=o.ProductPalette)||void 0===e?void 0:e.show_position)?null==o?void 0:o.ProductPalette:null},product_tag:t=>{let{plugConfig:e}=t;return null==e?void 0:e.ProductCard},combination_config:t=>{var e;let{plugConfig:o}=t;return null==o||null===(e=o.StyleCombination)||void 0===e?void 0:e.is_show_card}})),watch:{palette_config:{handler(t){"all"===(null==t?void 0:t.show_position)&&this.hot_ids_join&&this.get_product_palette(this.hot_ids_join)},immediate:!0},product_tag:{handler(t){var e;t&&null!==(e=this.hot_ids_join)&&void 0!==e&&e.length&&this.get_product_tag(this.hot_ids_join)},immediate:!0},combination_config:{handler(t){var e;t&&null!==(e=this.hot_ids_join)&&void 0!==e&&e.length&&"tabs"!==this.layout_type&&this.category_id&&this.get_combination_list({"filter[product_ids]":this.hot_ids_join,combination_position:"products"+this.category_id.join(),category_id:this.category_id.join()})},immediate:!0}}};const u=(0,o(51900).Z)(s,(function(){var t=this.$createElement;return(this._self._c||t)("div")}),[],!1,null,null,null).exports},85353:(t,e,o)=>{o.d(e,{Z:()=>u});const n={props:["disable_select","show_currency_selector","cart_type","theme","text_align","product_price","card_radio","card_animate","buy_button_style","sales_label","products","show_star","sale_image","category_msg","button_text","count","button_url","keys","product_cart_style","moduleType"],data(){return{swiperOption:{slidesPerView:this.count?this.count:6,autoplay:!0,spaceBetween:35,breakpoints:{768:{slidesPerView:2,spaceBetween:15}},pagination:{el:".type-banner-".concat(this.onlyKey," .swiper-pagination")},navigation:{nextEl:".type-banner-".concat(this.onlyKey," .swiper-button-next "),prevEl:".type-banner-".concat(this.onlyKey," .swiper-button-prev ")}}}},beforeCreate(){this.onlyKey=this.randomCoding()},beforeMount(){},computed:{swiper(){return this.$refs.mySwiper2.swiper}}};var r=o(93379),i=o.n(r),a=o(94301),s={insert:"head",singleton:!1};i()(a.Z,s);a.Z.locals;const u=(0,o(51900).Z)(n,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"vogue-home-banner type-banner",class:"type-banner-"+t.onlyKey},[o("swiper",{ref:"mySwiper2",staticClass:"swiper",attrs:{options:t.swiperOption}},t._l(JSON.parse(t.products),(function(e){return o("swiper-slide",{key:t.onlyKey+e.ID},[o("v-async-lazy",{scopedSlots:t._u([{key:"sync-content",fn:function(){return[o("v-product-card",{attrs:{card_animate:t.product_cart_style&&t.product_cart_style.card_animate?t.product_cart_style.card_animate:"default",disable_select:t.disable_select,show_currency_selector:t.show_currency_selector,cart_type:t.cart_type,theme:t.theme,text_align:t.text_align,product_price:t.product_price,card_radio:t.card_radio,buy_button_style:t.buy_button_style,sales_label:t.sales_label,productDetail:e,sale_image:t.sale_image,show_star:t.show_star,custom_button:e.custom_button&&e.custom_button.custom_button,sale_image_show:t.product_cart_style&&t.product_cart_style.sale_image_show,model:"is_card",keys:t.keys,isShowMainImg:!0,"module-type":t.moduleType}})]},proxy:!0}],null,!0)},[o("div",{staticStyle:{height:"200px"}})])],1)})),1),t._v(" "),o("div",{staticClass:"swiper-pagination d-block d-md-none"}),t._v(" "),JSON.parse(t.products).length>=t.count?o("div",{staticClass:"swiper-button-prev swiper-button-black d-none d-md-block",attrs:{slot:"button-prev"},slot:"button-prev"},[o("svg",{attrs:{"data-v-19c6ab24":"",viewBox:"0 0 100 100"}},[o("path",{staticClass:"arrow",attrs:{"data-v-19c6ab24":"",d:"M 20,50 L 60,90 L 60,85 L 25,50 L 60,15 L 60,10 Z"}})])]):t._e(),t._v(" "),JSON.parse(t.products).length>=t.count?o("div",{staticClass:"swiper-button-next swiper-button-black d-none d-md-block",attrs:{slot:"button-next"},slot:"button-next"},[o("svg",{attrs:{"data-v-19c6ab24":"",viewBox:"0 0 100 100"}},[o("path",{staticClass:"arrow",attrs:{"data-v-19c6ab24":"",d:"M 20,50 L 60,90 L 60,85 L 25,50 L 60,15 L 60,10 Z",transform:"translate(100, 100) rotate(180) "}})])]):t._e()],1)}),[],!1,null,null,null).exports}}]);