(window.webpackJsonp_cj86gji4=window.webpackJsonp_cj86gji4||[]).push([[1],{610:function(e,t,r){"use strict";r(13),r(23),r(685),r(53);var o,n=r(5),l=r(1),c=r(580),d=(o=function(e,b){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,b){e.__proto__=b}||function(e,b){for(var p in b)b.hasOwnProperty(p)&&(e[p]=b[p])})(e,b)},function(e,b){function t(){this.constructor=e}o(e,b),e.prototype=null===b?Object.create(b):(t.prototype=b.prototype,new t)}),h=function(e,t,r,desc){var o,l=arguments.length,c=l<3?t:null===desc?desc=Object.getOwnPropertyDescriptor(t,r):desc;if("object"===("undefined"==typeof Reflect?"undefined":Object(n.a)(Reflect))&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,r,desc);else for(var i=e.length-1;i>=0;i--)(o=e[i])&&(c=(l<3?o(c):l>3?o(t,r,c):o(t,r))||c);return l>3&&c&&Object.defineProperty(t,r,c),c},f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.isThemeOver=!1,t.timeOut=1400,t.hasSeeMore=!1,t}return d(t,e),t.prototype.mounted=function(){var e=this,t=new IntersectionObserver((function(t){e.hasSeeMore=!t[0].isIntersecting})),r=this.$refs.Intersection;t.observe(r)},t.prototype.onOpenChange=function(){this.isOpen?(this.isThemeOver=!1,document.querySelector("html").classList.add("fixed")):document.querySelector("html").classList.remove("fixed")},t.prototype.close=function(){var e=this;this.switchAnimationOver((function(){return e.$emit("togglePopup")}))},t.prototype.yes=function(){var e=this;this.switchAnimationOver((function(){return e.$emit("yes",e.link)}))},t.prototype.no=function(){var e=this;this.switchAnimationOver((function(){return e.$emit("no",e.link)}))},t.prototype.switchAnimationOver=function(e){this.isThemeOver=!0,setTimeout(e,this.timeOut)},h([Object(l.Prop)({default:void 0})],t.prototype,"isOpen",void 0),h([Object(l.Prop)({default:function(){return{hasCloseBtn:!0,zIndex:11e3}}})],t.prototype,"theme",void 0),h([Object(l.Prop)({default:function(){return{confirm:"Okay",cancel:"Cancel"}}})],t.prototype,"buttonText",void 0),h([Object(l.Prop)({default:function(){return{confirm:"",cancel:""}}})],t.prototype,"buttonLink",void 0),h([Object(l.Prop)()],t.prototype,"link",void 0),h([Object(l.Prop)({default:""})],t.prototype,"header",void 0),h([Object(l.Watch)("isOpen")],t.prototype,"onOpenChange",null),t=h([Object(l.Component)({components:{SolidButton:c.a}})],t)}(l.Vue),_=r(963),v=r(10);var component=Object(v.a)(f,(function(){var e,t,r=this,o=r.$createElement,n=r._self._c||o;return n("div",{directives:[{name:"show",rawName:"v-show",value:r.isOpen,expression:"isOpen"}],ref:"wrapper",class:[r.$style.wrapper,(e={},e[r.$style.dissolveFadeIn]=r.isOpen,e),(t={},t[r.$style.dissolveFadeOut]=r.isThemeOver,t)],style:{"z-index":r.theme.zIndex}},[n("div",{class:r.$style.popUpBg},[n("div",{class:r.$style.popUp},[n("svg",{directives:[{name:"show",rawName:"v-show",value:r.theme.hasCloseBtn,expression:"theme.hasCloseBtn"}],class:"svg-icon",attrs:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"},on:{click:r.close}},[n("path",{attrs:{d:"M14 2L2 14M2 2l12 12",stroke:"#666","stroke-linecap":"round"}})]),r._v(" "),r.header?n("div",{class:r.$style.popUpHeader,domProps:{innerHTML:r._s(r.header)}}):r._e(),r._v(" "),n("div",{class:r.$style.popUpBody},[n("div",{directives:[{name:"show",rawName:"v-show",value:r.hasSeeMore,expression:"hasSeeMore"}],class:r.$style.seeMoreMask}),r._v(" "),n("div",{class:r.$style.container},[n("div",{class:r.$style.content},[r._t("default"),r._v(" "),n("div",{ref:"Intersection"})],2)])]),r._v(" "),n("div",{class:r.$style.popUpBtn},[r.buttonLink.cancel?n("a",{class:r.$style.cancelBtn,attrs:{href:r.buttonLink.cancel,"aria-label":"No"},on:{click:r.no}},[r._v("\n "+r._s(r.buttonText.cancel)+"\n ")]):n("div",{class:r.$style.cancelBtn,attrs:{tabindex:"0","aria-label":"No"},on:{click:r.no}},[r._v("\n "+r._s(r.buttonText.cancel)+"\n ")]),r._v(" "),n("SolidButton",{class:r.$style.blueButton,attrs:{theme:"Blue60",needCallEvent:!0,href:r.buttonLink.confirm,label:"Yes"},on:{click:r.yes}},[r._v("\n "+r._s(r.buttonText.confirm)+"\n ")])],1)])])])}),[],!1,(function(e){this.$style=_.default.locals||_.default}),null,null);t.a=component.exports},622:function(e,t,r){"use strict";r(37),r(13),r(79),r(23),r(38);var o,n=r(5),l=r(1),c=r(80),d=(o=function(e,b){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,b){e.__proto__=b}||function(e,b){for(var p in b)b.hasOwnProperty(p)&&(e[p]=b[p])})(e,b)},function(e,b){function t(){this.constructor=e}o(e,b),e.prototype=null===b?Object.create(b):(t.prototype=b.prototype,new t)}),h=function(e,t,r,desc){var o,l=arguments.length,c=l<3?t:null===desc?desc=Object.getOwnPropertyDescriptor(t,r):desc;if("object"===("undefined"==typeof Reflect?"undefined":Object(n.a)(Reflect))&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,r,desc);else for(var i=e.length-1;i>=0;i--)(o=e[i])&&(c=(l<3?o(c):l>3?o(t,r,c):o(t,r))||c);return l>3&&c&&Object.defineProperty(t,r,c),c},f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.filterInfoNoBottom=!1,t.hasTag=!1,t}return d(t,e),t.prototype.checkFilterTagsList=function(){var e=this;this.hasTag=!1,Object.keys(this.filterTagsList).forEach((function(t){e.filterTagsList[t].length>0&&(e.hasTag=!0)}))},Object.defineProperty(t.prototype,"filterWarningText",{get:function(){return this.filterWarning||"Selecting filter(s) will refresh the results and may change the availability of other options."},enumerable:!0,configurable:!0}),h([Object(c.Getter)("filterTagsList")],t.prototype,"filterTagsList",void 0),h([Object(l.Prop)({default:!1})],t.prototype,"hasBottomLine",void 0),h([Object(l.Prop)({default:""})],t.prototype,"filterWarning",void 0),h([Object(l.Watch)("filterTagsList",{immediate:!0,deep:!0})],t.prototype,"checkFilterTagsList",null),t=h([Object(l.Component)({})],t)}(l.Vue),_=r(964),v=r(10);var component=Object(v.a)(f,(function(){var e,t=this,r=t.$createElement,o=t._self._c||r;return o("div",{class:[t.$style.filterInfo,(e={},e[t.$style.filterInfoNoBottom]=!t.hasTag&&!t.hasBottomLine,e)]},[o("svg",{class:t.$style.filterInfoIcon,attrs:{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",tabindex:"",role:"presentation",focusable:"false"}},[o("circle",{attrs:{cx:"8",cy:"8",r:"6.5",fill:"#0051A8",stroke:"#0051A8"}}),o("rect",{attrs:{x:"7.25",y:"7",width:"1.5",height:"5.5",rx:".75",fill:"#fff"}}),o("rect",{attrs:{x:"7",y:"4",width:"2",height:"2",rx:"1",fill:"#fff"}})]),t._v(" "),o("span",{attrs:{"aria-label":t.filterWarningText}},[t._v(t._s(t.filterWarningText))])])}),[],!1,(function(e){this.$style=_.default.locals||_.default}),null,null);t.a=component.exports},636:function(e,t,r){e.exports={fontFamilyRegular:'"TTNormsProRegular","Roboto",sans-serif',fontFamilyBold:'"TTNormsProMedium","Roboto",sans-serif',breakPointMedium:"1279px",breakPointHeaderTablet:"1023px",breakPointSmall:"731px",mobilePromotionFlagWrap:"PromotionFlag__mobilePromotionFlagWrap__335hc",triangle:"PromotionFlag__triangle__4b3pK",promotionFlagWrap:"PromotionFlag__promotionFlagWrap__3qTYY",promotionTitle:"PromotionFlag__promotionTitle__1_Ju-",promotionInfo:"PromotionFlag__promotionInfo__3ayOj",headerMargin:"PromotionFlag__headerMargin__2GUj9",promotionBannerMargin:"PromotionFlag__promotionBannerMargin__q0J3O"}},678:function(e,t,r){e.exports={fontFamilyRegular:'"TTNormsProRegular","Roboto",sans-serif',fontFamilyBold:'"TTNormsProMedium","Roboto",sans-serif',breakPointMedium:"1279px",breakPointHeaderTablet:"1023px",breakPointSmall:"731px",priceBar:"SeriesFilter__priceBar__1GdmF",errorText:"SeriesFilter__errorText__21iQB",inputBox:"SeriesFilter__inputBox__G7Znf",title:"SeriesFilter__title__2VI99",filterToggleButton:"SeriesFilter__filterToggleButton__3oXyH",wrapper:"SeriesFilter__wrapper__2aKT4",filterSection:"SeriesFilter__filterSection__dOwkx",hasOrder:"SeriesFilter__hasOrder__1iMfr",stockItem:"SeriesFilter__stockItem__3Umju",priceItem:"SeriesFilter__priceItem__Fg1Kq",partialCheckedFakeMask:"SeriesFilter__partialCheckedFakeMask__HSS2z",showMoreToggleBtn:"SeriesFilter__showMoreToggleBtn__2rVKp",toggleIcon:"SeriesFilter__toggleIcon__9DTC5",collapseIcon:"SeriesFilter__collapseIcon__1X9rW",listContainer:"SeriesFilter__listContainer__1jYq9",listContent:"SeriesFilter__listContent__a8bOc",filterAnchor:"SeriesFilter__filterAnchor__23E_e",showMoreBtn:"SeriesFilter__showMoreBtn__3_NTW",subListContainer:"SeriesFilter__subListContainer__2BrLf",expand:"SeriesFilter__expand__2b_a8",listItem:"SeriesFilter__listItem__2a7MM",toggleBtn:"SeriesFilter__toggleBtn__2oUbN",collapseBtn:"SeriesFilter__collapseBtn__3Zh2Y",isError:"SeriesFilter__isError__2CbZU",toolBox:"SeriesFilter__toolBox__1BirR",priceButton:"SeriesFilter__priceButton__1h7bd"}},686:function(e,t,r){e.exports={fontFamilyRegular:'"TTNormsProRegular","Roboto",sans-serif',fontFamilyBold:'"TTNormsProMedium","Roboto",sans-serif',breakPointMedium:"1279px",breakPointHeaderTablet:"1023px",breakPointSmall:"731px",wrapper:"popup__wrapper__2FNrG",popUpBody:"popup__popUpBody__2s7WC",container:"popup__container__3XVNx",content:"popup__content__28Bb1",popUpHeader:"popup__popUpHeader__2ujOI",dissolveFadeIn:"popup__dissolveFadeIn__3YQGz",fadeIn:"popup__fadeIn__kYP8C",dissolveFadeOut:"popup__dissolveFadeOut__1-50R",fadeOut:"popup__fadeOut__23cqJ",popUpBg:"popup__popUpBg__DRZyO",popUp:"popup__popUp__2CkQf",seeMoreMask:"popup__seeMoreMask__3uyoq",popUpBtn:"popup__popUpBtn__2qg6T",cancelBtn:"popup__cancelBtn__2S3pr",blueButton:"popup__blueButton__1STO8"}},687:function(e,t,r){e.exports={fontFamilyRegular:'"TTNormsProRegular","Roboto",sans-serif',fontFamilyBold:'"TTNormsProMedium","Roboto",sans-serif',breakPointMedium:"1279px",breakPointHeaderTablet:"1023px",breakPointSmall:"731px",filterInfo:"filterInfo__filterInfo__1wPuH",filterInfoIcon:"filterInfo__filterInfoIcon__1m8N2",filterInfoNoBottom:"filterInfo__filterInfoNoBottom__UpJLV"}},706:function(e,t,r){e.exports={fontFamilyRegular:'"TTNormsProRegular","Roboto",sans-serif',fontFamilyBold:'"TTNormsProMedium","Roboto",sans-serif',breakPointMedium:"1279px",breakPointHeaderTablet:"1023px",breakPointSmall:"731px",pageBarWrapper:"PageBar__pageBarWrapper__1SaBN",pageBarContainer:"PageBar__pageBarContainer__1QVTi",menuItems:"PageBar__menuItems__SXRyX",menuItem:"PageBar__menuItem__YDfV6",menuItemText:"PageBar__menuItemText__3Lc4G",pageBarHeadingWrapper:"PageBar__pageBarHeadingWrapper__1rHq7",pageBarHeadingContainer:"PageBar__pageBarHeadingContainer__nrlmU",expandButton:"PageBar__expandButton__2IsDE",menuTitle:"PageBar__menuTitle__1duCs",shopTitle:"PageBar__shopTitle__1a1kY",overlay:"PageBar__overlay__3mTcy",enable:"PageBar__enable__2UD0w",fixed:"PageBar__fixed__21OXm",fadeIn:"PageBar__fadeIn__2t0OK",fadeOut:"PageBar__fadeOut__SgO2d",bar:"PageBar__bar__Alswe",category:"PageBar__category__1tKIE",expand:"PageBar__expand__SGY3X",expandIcon:"PageBar__expandIcon__384TY",tabsMenuWrapper:"PageBar__tabsMenuWrapper__2rTWH",tabsMenu:"PageBar__tabsMenu__BmfSv"}},711:function(e,t,r){e.exports={breakPointMedium:"1279px",breakPointHeaderTablet:"1023px",breakPointSmall:"731px",fontFamilyRegular:'"TTNormsProRegular","Roboto",sans-serif',fontFamilyBold:'"TTNormsProMedium","Roboto",sans-serif',sliderSection:"ResourcesSection__sliderSection__Tk9bX",swiperWrapper:"ResourcesSection__swiperWrapper__y0urv",swiperSlide:"ResourcesSection__swiperSlide__34kNK",slideDescription:"ResourcesSection__slideDescription__39USV",sectionHeadingWrapper:"ResourcesSection__sectionHeadingWrapper__KVokY",sectionHeading:"ResourcesSection__sectionHeading__2REIT",slideTitle:"ResourcesSection__slideTitle__1hwef",swiperNextButton:"ResourcesSection__swiperNextButton__1MNyF",swiperPrevButton:"ResourcesSection__swiperPrevButton__S46K5",card:"ResourcesSection__card__2W7lM",swiperMainSlide:"ResourcesSection__swiperMainSlide__d3klO",slideInfo:"ResourcesSection__slideInfo__eni82",ghostButton:"ResourcesSection__ghostButton__N55vh",storeResourcesWrapper:"ResourcesSection__storeResourcesWrapper__1q5i3",sectionWrapper:"ResourcesSection__sectionWrapper__32Ckd",fadeIn:"ResourcesSection__fadeIn__2oAt3"}},716:function(e,t,r){e.exports={fontFamilyRegular:'"TTNormsProRegular","Roboto",sans-serif',fontFamilyBold:'"TTNormsProMedium","Roboto",sans-serif',breakPointMedium:"1279px",breakPointHeaderTablet:"1023px",breakPointSmall:"731px",sliderSection:"HighlightedProducts__sliderSection__1cq51",swiperWrapper:"HighlightedProducts__swiperWrapper__1gjOS",swiperSlide:"HighlightedProducts__swiperSlide__grxBw",slideDescription:"HighlightedProducts__slideDescription__2WXFv",slideTitle:"HighlightedProducts__slideTitle__2pl1F",swiperNextButton:"HighlightedProducts__swiperNextButton__3H5AW",swiperPrevButton:"HighlightedProducts__swiperPrevButton__2OOeH",card:"HighlightedProducts__card__316kU",swiperMainSlide:"HighlightedProducts__swiperMainSlide__1SUcA",slideInfo:"HighlightedProducts__slideInfo__2Budn",ghostButton:"HighlightedProducts__ghostButton__30cDU",highlightedProductsSectionWrapper:"HighlightedProducts__highlightedProductsSectionWrapper__63vkN",fadein:"HighlightedProducts__fadein__2-e_u"}},723:function(e,t,r){e.exports={fontFamilyRegular:'"TTNormsProRegular","Roboto",sans-serif',fontFamilyBold:'"TTNormsProMedium","Roboto",sans-serif',breakPointMedium:"1279px",breakPointHeaderTablet:"1023px",breakPointSmall:"731px",sliderSection:"FeaturedAccessories__sliderSection__wypXP",swiperWrapper:"FeaturedAccessories__swiperWrapper__1udPq",swiperSlide:"FeaturedAccessories__swiperSlide__1KOW-",slideDescription:"FeaturedAccessories__slideDescription__1a_dH",sectionHeadingWrapper:"FeaturedAccessories__sectionHeadingWrapper__18DSW",sectionHeading:"FeaturedAccessories__sectionHeading__E76tm",slideTitle:"FeaturedAccessories__slideTitle__2P42v",swiperNextButton:"FeaturedAccessories__swiperNextButton__2p2br",swiperPrevButton:"FeaturedAccessories__swiperPrevButton__3-sth",card:"FeaturedAccessories__card__cYgs_",swiperMainSlide:"FeaturedAccessories__swiperMainSlide__3wAIK",slideInfo:"FeaturedAccessories__slideInfo__3gA4y",ghostButton:"FeaturedAccessories__ghostButton__1rD4c",featuredAccessoriesWrapper:"FeaturedAccessories__featuredAccessoriesWrapper__1I_lr",sectionWrapper:"FeaturedAccessories__sectionWrapper__3XT4x",fadein:"FeaturedAccessories__fadein__vDnNu",slideImageWrapper:"FeaturedAccessories__slideImageWrapper__2Uu6_",slideImage:"FeaturedAccessories__slideImage__hi9HN"}},821:function(e,t,r){"use strict";r(37),r(13),r(23),r(38);var o,n=r(5),l=r(1),c=r(31),d=r(855),h=(o=function(e,b){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,b){e.__proto__=b}||function(e,b){for(var p in b)b.hasOwnProperty(p)&&(e[p]=b[p])})(e,b)},function(e,b){function t(){this.constructor=e}o(e,b),e.prototype=null===b?Object.create(b):(t.prototype=b.prototype,new t)}),f=function(e,t,r,desc){var o,l=arguments.length,c=l<3?t:null===desc?desc=Object.getOwnPropertyDescriptor(t,r):desc;if("object"===("undefined"==typeof Reflect?"undefined":Object(n.a)(Reflect))&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,r,desc);else for(var i=e.length-1;i>=0;i--)(o=e[i])&&(c=(l<3?o(c):l>3?o(t,r,c):o(t,r))||c);return l>3&&c&&Object.defineProperty(t,r,c),c},_=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.swiperOption={slidesPerView:"auto",slidesPerGroup:1,direction:"horizontal",navigation:{nextEl:".swiper-resources-button-next",prevEl:".swiper-resources-button-prev"},breakpoints:{1023:{freeMode:!0}}},t}return h(t,e),t.prototype.handleButtonTabClick=function(e,t){this.buttonTabClick(e,t)},t.prototype.buttonTabClick=function(e,t){if(void 0===e&&(e=""),(t.currentTarget.classList.contains("swiper-button-prev")||t.currentTarget.classList.contains("swiper-button-next"))&&this.setArrowTabindex(),t.target.classList.contains("swiper-slide")){var r=this.$refs[e+"Swiper"];r.swiper&&t.shiftKey&&9===t.keyCode?r.swiper.slidePrev():r.swiper&&9===t.keyCode&&r.swiper.slideNext(),this.setArrowTabindex()}},t.prototype.gaClick=function(e){"prev"===e?this.gaDataLayerPush({event:"data_layer_event",event_name_ga4:"nvgt_l_"+this.gaPosition+"_"+this.ga4EventPath+"_official",event_category_DL:this.gaPosition+"/"+this.ga4EventPath+"/official",event_action_DL:"clicked",event_label_DL:"last_button/"+this.gaPosition+"/"+this.ga4EventPath+"/official",event_value_DL:""}):this.gaDataLayerPush({event:"data_layer_event",event_name_ga4:"nvgt_n_"+this.gaPosition+"_"+this.ga4EventPath+"_official",event_category_DL:this.gaPosition+"/"+this.ga4EventPath+"/official",event_action_DL:"clicked",event_label_DL:"next_button/"+this.gaPosition+"/"+this.ga4EventPath+"/official",event_value_DL:""})},t.prototype.setArrowTabindex=function(){document.querySelectorAll(".swiper-button-prev").length>0&&document.querySelectorAll(".swiper-button-prev").forEach((function(element){element.classList.contains("swiper-button-disabled")?element.tabIndex="-1":element.tabIndex="0"}));document.querySelectorAll(".swiper-button-next").length>0&&document.querySelectorAll(".swiper-button-next").forEach((function(element){element.classList.contains("swiper-button-disabled")?element.tabIndex="-1":element.tabIndex="0"}))},f([Object(l.Getter)("storePageSettingGetter")],t.prototype,"storePageSettingGetter",void 0),f([Object(l.Getter)("simpleSeriesFilterSortListGetter")],t.prototype,"simpleSeriesFilterSortListGetter",void 0),f([Object(l.Prop)({default:""})],t.prototype,"sectionTitle",void 0),f([Object(l.Prop)()],t.prototype,"sectionList",void 0),f([Object(l.Prop)({default:"resources"})],t.prototype,"gaPosition",void 0),f([Object(l.Prop)({default:""})],t.prototype,"gaEventPath",void 0),f([Object(l.Prop)({default:""})],t.prototype,"ga4EventPath",void 0),t=f([Object(l.Component)({components:{ResourcesCard:d.a}})],t)}(Object(l.mixins)(c.a)),v=r(987),m=r(10);var component=Object(m.a)(_,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return e.sectionTitle&&e.sectionList&&Object.keys(e.sectionList).length>0?r("div",{class:e.$style.storeResourcesWrapper},[r("div",{class:e.$style.sectionHeadingWrapper},[r("h2",{class:e.$style.sectionHeading},[e._v("\n "+e._s(e.sectionTitle)+"\n ")])]),e._v(" "),r("div",{class:e.$style.sectionWrapper},[r("div",{directives:[{name:"swiper",rawName:"v-swiper:resourcesSwiper",value:e.swiperOption,expression:"swiperOption",arg:"resourcesSwiper"}],ref:"resourcesSwiper",class:e.$style.sliderSection},[r("div",{class:["swiper-wrapper",e.$style.swiperWrapper]},e._l(e.sectionList,(function(t,o){return r("ResourcesCard",{key:o,class:["swiper-slide",e.$style.swiperSlide,e.$style.card],attrs:{resourcesCardItem:t,type:"imageTop",eventLabelDL:"Resources/"+t.Title+"/PusrchaseFAQ-"+t.Title,sectionName:"resources",gaEventPath:"prod/store",ga4EventPath:"pd_store"},on:{handleKeyDownEvent:e.handleButtonTabClick}})})),1)]),e._v(" "),r("div",{class:["swiper-button-prev","swiper-resources-button-prev",e.$style.swiperPrevButton],attrs:{slot:"button-prev"},on:{keydown:function(t){return e.buttonTabClick("",t)},click:function(t){return e.gaClick("prev")}},slot:"button-prev"},[r("svg",{class:e.$style.icon,attrs:{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[r("path",{attrs:{d:"M19 26l-9-11 9-11",stroke:"#fff","stroke-width":"3","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}})])]),e._v(" "),r("div",{class:["swiper-button-next","swiper-resources-button-next",e.$style.swiperNextButton],attrs:{slot:"button-next"},on:{keydown:function(t){return e.buttonTabClick("",t)},click:function(t){return e.gaClick("next")}},slot:"button-next"},[r("svg",{class:e.$style.icon,attrs:{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[r("path",{attrs:{d:"M11 26l9-11-9-11",stroke:"#fff","stroke-width":"3","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}})])])])]):e._e()}),[],!1,(function(e){this.$style=v.default.locals||v.default}),null,null);t.a=component.exports},824:function(e,t,r){"use strict";r(60),r(37),r(107),r(33),r(13),r(79),r(23),r(18),r(19),r(28),r(39),r(32),r(38),r(53);var o,n=r(5),l=r(1),c=(r(583),r(59)),d=r.n(c),h=r(591),f=r(600),_=r(579),v=r(31),m=r(141),S=r(2),y=r.n(S),C=r(578),P=r.n(C),k=(o=function(e,b){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,b){e.__proto__=b}||function(e,b){for(var p in b)b.hasOwnProperty(p)&&(e[p]=b[p])})(e,b)},function(e,b){function t(){this.constructor=e}o(e,b),e.prototype=null===b?Object.create(b):(t.prototype=b.prototype,new t)}),L=function(){return(L=Object.assign||function(e){for(var s,i=1,t=arguments.length;i=0;i--)(o=e[i])&&(c=(l<3?o(c):l>3?o(t,r,c):o(t,r))||c);return l>3&&c&&Object.defineProperty(t,r,c),c},I=r(585);l.Vue.use(I);var w=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.breakPointMedium=P.a.breakPointMedium?parseInt(P.a.breakPointMedium,10):1279,t.breakPointSmall=P.a.breakPointSmall?parseInt(P.a.breakPointSmall,10):731,t.rwdState="",t.windowWidth=0,t.rowMaxNum=300,t.websiteCode="",t.isSpecExpand=!0,t.productList=[],t.productListGetter=[],t.storeHighlightProducts=[],t.groupId="",t.groupIdFlag=!1,t.intervalIDPgae=!1,t.gaImpressionsCompleted=!1,t.swiperHighlightProductsOption={slidesPerView:"auto",slidesPerGroup:1,direction:"horizontal",navigation:{nextEl:".swiper-"+t.sectionName+"-button-next",prevEl:".swiper-"+t.sectionName+"-button-prev"},breakpoints:{1023:{freeMode:!0}}},t}return k(t,e),t.prototype.created=function(){this.websiteCode=Object(m.b)(this.$route.params.region)},t.prototype.mounted=function(){this.setWindowWidth(),window.addEventListener("resize",d()(this.setWindowWidth,100,{trailing:!0})),this.setArrowTabindex()},t.prototype.setWindowWidth=function(){try{this.windowWidth=window.innerWidth}catch(e){}},t.prototype.reloadSource=function(){this.windowWidth>this.breakPointMedium?(this.rwdState="desktop",this.isSpecExpand=!0):this.windowWidth>this.breakPointSmall?(this.rwdState="tablet",this.isSpecExpand=!1):(this.rwdState="mobile",this.isSpecExpand=!1)},t.prototype.setStoreHighlightProducts=function(){this.storeHighlightProducts=this.sectionResource,this.productList=this.sectionResource.ProductList},t.prototype.setPriceIdList=function(){var e=this,t=this.PDPriceListGetter;if(t&&t.ProductList){for(var r=function(i){if(t.ProductList){var r=t.ProductList.filter((function(t){return t.ProductID.toString()===e.storeHighlightProducts.ProductList[i].ProductID.toString()||t.ProductID.toString()===e.storeHighlightProducts.ProductList[i].M1Id.toString()||t.ProductID.toString()===e.storeHighlightProducts.ProductList[i].PartNo.toString()}));r&&r[0]&&Object.keys(r[0]).length>0&&o.needGetPrice&&o.$set(o.storeHighlightProducts.ProductList,i,L(L({},o.storeHighlightProducts.ProductList[i]),{Price:r[0]&&""!==r[0].Price?r[0].Price:"",Discount:r[0]&&""!==r[0].Discount?r[0].Discount:"",RegularPrice:!r[0]||""!==r[0].Regular_Price&&""!==r[0].Discount?r[0].Regular_Price:"",StartingAtWording:r[0]&&""!==r[0].StartingAtWording?r[0].StartingAtWording:"",HistoricLowPrice:r[0]&&""!==r[0].HistoricLowPrice?r[0].HistoricLowPrice:"",Buy:L(L({},o.storeHighlightProducts.ProductList[i].Buy),{Link:r[0]&&""===r[0].Price?"":r[0].BuyLink,Text:r[0]&&""===r[0].Price?"":r[0].BuyText,Code:r[0]&&""!==r[0].BuyCode?r[0].BuyCode:""})}))}},o=this,i=0;i]*>/g,""),id:0===r.GetURLFlag?r.ProductID:r.PartNo,dimension10:0===r.GetURLFlag?r.ProductID:r.PartNo,price:r.Price,brand:0===r.GetURLFlag?"ASUS":"ROG",category:r.Level1Path+"-"+r.Level2Path+"/"+r.CategoryName+"/"+r.Level3Path+"/"+(r.SubSeriesName?r.SubSeriesName:"undefined"),list:e.gaActionField||("Deals"===e.$route.name?"product_list - L3":"store_home_"+e.sectionName+"_list"),position:o+1})})),e.gaDataLayerPush({event:"productImpression",ecommerce:{currencyCode:e.loginInfoGetter.CurrencyCode,impressions:t}}),e.gaImpressionsCompleted=!0}})),this.$nextTick((function(){e.getProductCardContentHeight(e.storeHighlightProducts.ProductList,"all",e.sectionName+"_store_highlight"),e.checkComplate(e.sectionName+"_store_highlight")})))},t.prototype.setLoginInfo=function(){null===this.loginInfoGetter.LoginInfo&&this.websiteCode&&(this.groupId=""),this.groupIdFlag=!0,this.getPrice()},t.prototype.setGroupId=function(){this.groupIdFlag=!0,this.getPrice()},t.prototype.checkComplate=function(e){var t=this;clearInterval(t.intervalIDPgae),this.intervalIDPgae=setInterval((function(){if(document&&document.querySelectorAll("."+e+" .bv_numReviews_component_container").length===document.querySelectorAll("."+e+" .bazaaInlineRating").length){var r=document.querySelectorAll("."+e+" .bv_numReviews_component_container").length;document.querySelectorAll("."+e+" .bv_numReviews_component_container").forEach((function(e,o){"(0)"===e.textContent?(t.$set(t.productCardContentHeight[o],"bv",0),t.$set(t.productCardContentHeight[o],"bv2",0)):(t.$set(t.productCardContentHeight[o],"bv",24),t.$set(t.productCardContentHeight[o],"bv2",24)),o+1===r&&t.getHideProductCardRwdContent(t.productCardContentHeight,t.rowMaxNum)})),clearInterval(t.intervalIDPgae)}}),1e3)},t.prototype.getPrice=function(){if(this.websiteCode&&this.storeHighlightProducts&&this.storeHighlightProducts.ProductList&&this.storeHighlightProducts.ProductList.length&&this.groupIdFlag){for(var e=[],t=[],r=[],i=0;i0&&document.querySelectorAll(".swiper-button-prev").forEach((function(element){element.classList.contains("swiper-button-disabled")?element.tabIndex="-1":element.tabIndex="0"}));document.querySelectorAll(".swiper-button-next").length>0&&document.querySelectorAll(".swiper-button-next").forEach((function(element){element.classList.contains("swiper-button-disabled")?element.tabIndex="-1":element.tabIndex="0"}))},t.prototype.buttonTabClick=function(e,t){if(void 0===e&&(e=""),(t.currentTarget.classList.contains("swiper-button-prev")||t.currentTarget.classList.contains("swiper-button-next"))&&this.setArrowTabindex(),t.target.classList.contains("swiper-slide")){var r=this.$refs[e+"Swiper"];t.shiftKey&&9===t.keyCode?r.swiper.slidePrev():9===t.keyCode&&r.swiper.slideNext(),this.setArrowTabindex()}},t.prototype.specExpandChange=function(e){this.$set(this,"isSpecExpand",!this.isSpecExpand)},t.prototype.gaClick=function(e){"prev"===e&&"Deals"===this.$route.name&&this.gaDataLayerPush({event:"data_layer_event",event_name_ga4:"nvgt_l_pdl_deals_official",event_category_DL:"pd_list/deals/official",event_action_DL:"clicked",event_label_DL:"last_button/pd_list/deals/official",event_value_DL:""}),"next"===e&&"Deals"===this.$route.name&&this.gaDataLayerPush({event:"data_layer_event",event_name_ga4:"nvgt_n_pdl_deals_official",event_category_DL:"pd_list/deals/official",event_action_DL:"clicked",event_label_DL:"next_button/pd_list/deals/official",event_value_DL:""})},F([Object(l.Getter)("PDPriceListGetter")],t.prototype,"PDPriceListGetter",void 0),F([Object(l.Getter)("loginInfoGetter")],t.prototype,"loginInfoGetter",void 0),F([Object(l.Getter)("groupIdGetter")],t.prototype,"groupIdGetter",void 0),F([Object(l.Getter)("priceConfigGetter")],t.prototype,"priceConfigGetter",void 0),F([Object(l.Action)("getPDPriceList")],t.prototype,"dispatchPDPriceList",void 0),F([Object(l.Action)("getStoreFeatureAccessories")],t.prototype,"getStoreFeatureAccessories",void 0),F([Object(l.Prop)()],t.prototype,"sectionResource",void 0),F([Object(l.Prop)()],t.prototype,"sectionName",void 0),F([Object(l.Prop)()],t.prototype,"defLevelId",void 0),F([Object(l.Prop)({default:!0})],t.prototype,"needGetPrice",void 0),F([Object(l.Prop)({default:""})],t.prototype,"gaActionField",void 0),F([Object(l.Watch)("windowWidth")],t.prototype,"reloadSource",null),F([Object(l.Watch)("sectionResource",{immediate:!0})],t.prototype,"setStoreHighlightProducts",null),F([Object(l.Watch)("PDPriceListGetter")],t.prototype,"setPriceIdList",null),F([Object(l.Watch)("productList")],t.prototype,"getProductList",null),F([Object(l.Watch)("loginInfoGetter")],t.prototype,"setLoginInfo",null),F([Object(l.Watch)("groupIdGetter")],t.prototype,"setGroupId",null),t=F([Object(l.Component)({components:{ProductCardNormal:f.a,GhostButton:_.a}})],t)}(Object(l.mixins)(h.a,v.a)),x=r(992),$=r(10);var component=Object($.a)(w,(function(){var e,t,r=this,o=r.$createElement,n=r._self._c||o;return n("div",{key:r.sectionName,class:r.$style.highlightedProductsSectionWrapper},[n("div",{directives:[{name:"swiper",rawName:"v-swiper:[`${sectionName}Swiper`]",value:r.swiperHighlightProductsOption,expression:"swiperHighlightProductsOption",arg:r.sectionName+"Swiper"}],ref:r.sectionName+"Swiper",class:r.$style.sliderSection},[n("div",{staticClass:"all_store_hightligh",class:["swiper-wrapper",r.$style.swiperWrapper]},r._l(r.sectionResource.ProductList,(function(e,t){return n("div",{key:t,class:["swiper-slide",r.$style.swiperSlide,r.$style.card],attrs:{tabindex:"0"},on:{keydown:function(e){return r.buttonTabClick(r.sectionName,e)}}},[n("ProductCardNormal",{class:r.sectionName+"_store_highlight",attrs:{rwdWidth:r.windowWidth,cardIndex:t,isWhiteCard:!0,isColorSelector:!1,isHideCompare:!0,productCardContent:r.productCardContent[t],productCardContentHeight:r.productCardContentRowHeight[t],productCardItem:e,defLevelId:r.defLevelId,gaActionField:r.gaActionField||("Deals"===r.$route.name?"product_list - L3":"store_home_"+r.sectionName+"_list"),pageName:r.sectionName,isSpecExpand:r.isSpecExpand,whereToBuyShowFlag:"highlightedbundle"!==r.sectionName},on:{specExpandChange:r.specExpandChange}})],1)})),0)]),r._v(" "),n("div",{class:["swiper-button-prev",r.$style.swiperPrevButton,(e={},e["swiper-"+r.sectionName+"-button-prev"]=r.sectionName,e)],attrs:{slot:"button-prev"},on:{keydown:function(e){return r.buttonTabClick("",e)},click:function(e){return r.gaClick("prev")}},slot:"button-prev"},[n("svg",{class:r.$style.icon,attrs:{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[n("path",{attrs:{d:"M19 26l-9-11 9-11",stroke:"#fff","stroke-width":"3","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}})])]),r._v(" "),n("div",{class:["swiper-button-next",r.$style.swiperNextButton,(t={},t["swiper-"+r.sectionName+"-button-next"]=r.sectionName,t)],attrs:{slot:"button-next"},on:{click:function(e){return r.gaClick("next")},keydown:function(e){return r.buttonTabClick("",e)}},slot:"button-next"},[n("svg",{class:r.$style.icon,attrs:{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[n("path",{attrs:{d:"M11 26l9-11-9-11",stroke:"#fff","stroke-width":"3","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}})])])])}),[],!1,(function(e){this.$style=x.default.locals||x.default}),null,null);t.a=component.exports},856:function(e,t,r){"use strict";r(13),r(23);var o,n=r(5),l=r(1),c=(o=function(e,b){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,b){e.__proto__=b}||function(e,b){for(var p in b)b.hasOwnProperty(p)&&(e[p]=b[p])})(e,b)},function(e,b){function t(){this.constructor=e}o(e,b),e.prototype=null===b?Object.create(b):(t.prototype=b.prototype,new t)}),d=function(e,t,r,desc){var o,l=arguments.length,c=l<3?t:null===desc?desc=Object.getOwnPropertyDescriptor(t,r):desc;if("object"===("undefined"==typeof Reflect?"undefined":Object(n.a)(Reflect))&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,r,desc);else for(var i=e.length-1;i>=0;i--)(o=e[i])&&(c=(l<3?o(c):l>3?o(t,r,c):o(t,r))||c);return l>3&&c&&Object.defineProperty(t,r,c),c},h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return c(t,e),d([Object(l.Prop)()],t.prototype,"href",void 0),d([Object(l.Prop)()],t.prototype,"title",void 0),d([Object(l.Prop)()],t.prototype,"rwdState",void 0),d([Object(l.Prop)({default:"#fced8e"})],t.prototype,"PromoFontColorStart",void 0),d([Object(l.Prop)({default:"#93f1cf"})],t.prototype,"PromoFontColorEnd",void 0),d([Object(l.Prop)({default:""})],t.prototype,"headerMargin",void 0),d([Object(l.Prop)({default:""})],t.prototype,"promotionBannerMargin",void 0),t=d([Object(l.Component)({})],t)}(l.Vue),f=r(879),_=r(10);var component=Object(_.a)(h,(function(){var e,t,r=this,o=r.$createElement,n=r._self._c||o;return n("a",{class:[(e={},e[r.$style.headerMargin]=1===r.headerMargin,e),(t={},t[r.$style.promotionBannerMargin]=1===r.promotionBannerMargin,t)],attrs:{href:!(!r.href||r.disabled)&&r.href}},["mobile"===r.rwdState?n("div",{class:r.$style.mobilePromotionFlagWrap},[n("div",{class:r.$style.triangle}),r._v(" "),n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 36 36","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[n("path",{attrs:{stroke:"#fff","stroke-linecap":"round","stroke-linejoin":"round","stroke-miterlimit":"10","stroke-width":"1.5",d:"M21.4 16.962s-2.8-2.855-2.8-8.176c0-4.282 1.333-6.359 2.8-7.786m9.467 19.985L31 7.748l-13.6.13L3 21.893l1.867 1.817 9.733 9.473L16.467 35l14.4-14.015zm-12.134-1.298c-1.6-1.557-1.6-4.153-.133-5.58 1.6-1.557 4.133-1.557 5.733.13 1.6 1.557 1.6 4.152.134 5.58-1.6 1.557-4.134 1.427-5.734-.13z"}})])]):n("div",{class:r.$style.promotionFlagWrap},[n("span",{class:r.$style.promotionTitle},[r._v(r._s(r.title))]),r._v(" "),n("br"),r._v(" "),n("span",{class:r.$style.promotionInfo,style:{backgroundImage:"linear-gradient(to right, "+r.PromoFontColorStart+", "+r.PromoFontColorEnd+")"}},[r._t("default")],2)])])}),[],!1,(function(e){this.$style=f.default.locals||f.default}),null,null);t.a=component.exports},861:function(e,t,r){"use strict";r(144),r(60),r(37),r(20),r(45),r(68),r(62),r(590),r(33),r(424),r(13),r(79),r(23),r(18),r(602),r(19),r(28),r(24),r(39),r(32),r(38);var o,n=r(5),l=r(1),c=r(29),d=r.n(c),h=r(617),f=r.n(h),_=r(618),v=r.n(_),m=r(619),S=r.n(m),y=r(620),C=r.n(y),P=r(621),k=r.n(P),L=r(338),F=r.n(L),I=r(599),w=r(31),x=r(141),$=(o=function(e,b){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,b){e.__proto__=b}||function(e,b){for(var p in b)b.hasOwnProperty(p)&&(e[p]=b[p])})(e,b)},function(e,b){function t(){this.constructor=e}o(e,b),e.prototype=null===b?Object.create(b):(t.prototype=b.prototype,new t)}),O=function(e,t,r,desc){var o,l=arguments.length,c=l<3?t:null===desc?desc=Object.getOwnPropertyDescriptor(t,r):desc;if("object"===("undefined"==typeof Reflect?"undefined":Object(n.a)(Reflect))&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,r,desc);else for(var i=e.length-1;i>=0;i--)(o=e[i])&&(c=(l<3?o(c):l>3?o(t,r,c):o(t,r))||c);return l>3&&c&&Object.defineProperty(t,r,c),c},E=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.seriesFilter={},t.seriesFilterEnable={Category:null,Series:null,SubSeries:null,Spec:null,SubSpec:null,CountList:null},t.seriesFilterCount={},t.websiteCode="",t.collapsibleFilterList={},t.seriesFilterPartialChecked={},t.specFilterPartialChecked={},t.productLevelOneCode="",t.productLevelTwoCode="",t.isMobile=!1,t.isShowExpandAll=!1,t.isShowCollapseAll=!1,t.isShowToggleButton=!1,t.pageSize=20,t.minPrice="",t.maxPrice="",t.isPriceError=!1,t.isMinPriceError=!1,t.isMaxPriceError=!1,t.errorText="",t.priceSpecList=[],t.filterChecked={categoryCheckedList:[],seriesCheckedList:[],subSeriesCheckedList:[],specCheckedList:[],subSpecCheckedList:[],priceCheckedList:[]},t.mobileFilterChecked={categoryCheckedList:[],seriesCheckedList:[],subSeriesCheckedList:[],specCheckedList:[],subSpecCheckedList:[],priceCheckedList:[]},t}return $(t,e),t.prototype.mounted=function(){this.getWidth();var e=""!==this.$route.query.Price&&void 0!==this.$route.query.Price?this.$route.query.Price.split(","):[];this.minPrice=e.length>0?e[0]:"",this.maxPrice=e.length>0?e[1]:"",this.filterParams()},Object.defineProperty(t.prototype,"hasOrder",{get:function(){return this.seriesFilter.HasStock},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasStock",{get:function(){return this.seriesFilter.HasStock},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasCategory",{get:function(){return null!==this.seriesFilter.Category.CategoryList&&this.seriesFilter.Category.CategoryList.length>0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasSeries",{get:function(){return null!==this.seriesFilter.Series.SeriesList&&this.seriesFilter.Series.SeriesList.length>0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"hasSpecCategory",{get:function(){return null!==this.seriesFilter.SpecCategory&&this.seriesFilter.SpecCategory.length>0},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"translationCollapse",{get:function(){return this.$store.getters.seriesFilterGetter.Translation.CollapseAll},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"translationExpand",{get:function(){return this.$store.getters.seriesFilterGetter.Translation.ExpandAll},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"translationMore",{get:function(){return this.$store.getters.seriesFilterGetter.Translation.More},enumerable:!0,configurable:!0}),t.prototype.routeCategorychange=function(){this.websiteCode=Object(x.b)(this.$route.params.region),this.productLevelOneCode=this.$route.params.levelOneTopMenuName,this.productLevelTwoCode=this.$route.params.levelTwoProductLineName;var e=""!==this.$route.query.Price&&void 0!==this.$route.query.Price?this.$route.query.Price.split(","):[];this.minPrice=e.length>0?e[0]:"",this.maxPrice=e.length>0?e[1]:"",this.isPriceError=!1,this.isMinPriceError=!1,this.isMaxPriceError=!1,this.getSeriesFilterByAPI(),(this.filterCheckedCounter(this.filterChecked)<2||0===Object.keys(this.seriesFilterGetter).length)&&"AllSeries"!==this.$route.name&&"AllProducts"!==this.$route.name&&this.getSeriesFilterByAPI(),this.seriesFilterGetter&&Object.keys(this.seriesFilterGetter).length>0&&this.setFilterCheckByURLParam(),this.filterParams()},t.prototype.setSeriesFilter=function(){this.websiteCode=Object(x.b)(this.$route.params.region),this.productLevelOneCode=this.$route.params.levelOneTopMenuName,this.productLevelTwoCode=this.$route.params.levelTwoProductLineName,"AllSeries"!==this.$route.name?this.initSeriesFilter():(this.seriesFilter=d()(this.seriesFilterGetter),this.initialCollapsibleFilterList(),this.getEnableData())},t.prototype.setSeriesFilterEnable=function(){this.resetFilterEnable(),this.seriesFilterEnable=this.seriesFilterEnableGetter,this.initCount()},t.prototype.getWidth=function(){this.rwdWidth<=730&&0!==this.rwdWidth?(this.isMobile=!0,this.getCheckedCount(this.filterChecked)):this.isMobile=!1},t.prototype.getSort=function(){var e=this.filterCheckedCounter(this.filterChecked);if(e>0&&""!==this.sort){var t=""!==this.$route.query.Price&&void 0!==this.$route.query.Price?this.$route.query.Price.split(","):[],r=(this.filterChecked.categoryCheckedList.toString(),this.filterChecked.seriesCheckedList.toString(),this.filterChecked.subSeriesCheckedList.toString(),this.filterChecked.specCheckedList.toString()),o=this.filterChecked.subSpecCheckedList.toString();this.getSeriesFilterResultByAPI({params:{SystemCode:"asus",WebsiteCode:this.websiteCode,ProductLevel1Code:this.productLevelOneCode,ProductLevel2Code:this.productLevelTwoCode||"",PageSize:this.pageSize,PageIndex:1,CategoryName:this.$route.query.Category?this.$route.query.Category.toString():"",SeriesName:this.$route.query.Series?this.$route.query.Series.toString():"",SubSeriesName:this.$route.query.SubSeries?this.$route.query.SubSeries.toString():"",PriceMin:t.length>0?t[0].toString():"",PriceMax:t.length>0?t[1].toString():"",Spec:r,SubSpec:o,Sort:this.sort}})}else"Filter"!==this.$route.name&&"AllProducts"!==this.$route.name||0!==e||""===this.sort||this.getSeriesFilterResultByAPI({params:{SystemCode:"asus",WebsiteCode:this.websiteCode,ProductLevel1Code:this.productLevelOneCode,ProductLevel2Code:this.productLevelTwoCode||"",PageSize:this.pageSize,PageIndex:1,CategoryName:"",SeriesName:"",SubSeriesName:"",Spec:"",SubSpec:"",PriceMin:"",PriceMax:"",Sort:this.sort}})},t.prototype.checkTagsList=function(){0===this.filterCheckedCounter(this.$store.getters.filterTagsList,"tagsList")&&(this.filterChecked={categoryCheckedList:[],seriesCheckedList:[],subSeriesCheckedList:[],specCheckedList:[],subSpecCheckedList:[],priceCheckedList:[]},this.resetFilterEnable(),this.clearFilterPartialChecked())},t.prototype.isClearAllData=function(){if(void 0!==this.isFilterCancel)this.isMobile&&(this.filterChecked={categoryCheckedList:[],seriesCheckedList:[],subSeriesCheckedList:[],specCheckedList:[],subSpecCheckedList:[],priceCheckedList:[]},this.resetFilterEnable(),this.clearFilterPartialChecked(),this.getCheckedCount(this.filterChecked));else if(0===this.$store.getters.subSeriesDataGetter.List.length){this.setFilterTagsList({category:"",series:"",subSeries:"",spec:"",subSpec:"",price:""}),this.$router.push({name:"Filter",params:{levelOneTopMenuName:this.$route.params.levelOneTopMenuName,levelTwoProductLineName:this.$route.params.levelTwoProductLineName,seriesName:this.$route.params.seriesName||"all-series"}})}else{this.resetFilterEnable();var e="AllProducts"===this.$route.name?{name:"AllProducts"}:{name:"AllSeries"};this.$router.push(e).catch((function(){}))}},t.prototype.isFilterCancelData=function(){void 0!==this.isFilterCancel&&(this.$set(this.filterChecked,"categoryCheckedList",this.mobileFilterChecked.categoryCheckedList),this.$set(this.filterChecked,"seriesCheckedList",this.mobileFilterChecked.seriesCheckedList),this.$set(this.filterChecked,"subSeriesCheckedList",this.mobileFilterChecked.subSeriesCheckedList),this.$set(this.filterChecked,"specCheckedList",this.mobileFilterChecked.specCheckedList),this.$set(this.filterChecked,"subSpecCheckedList",this.mobileFilterChecked.subSpecCheckedList),this.$set(this.filterChecked,"priceCheckedList",this.mobileFilterChecked.priceCheckedList),this.minPrice=this.mobileFilterChecked.priceCheckedList.length>0?this.mobileFilterChecked.priceCheckedList[0]:"",this.maxPrice=this.mobileFilterChecked.priceCheckedList.length>0?this.mobileFilterChecked.priceCheckedList[1]:"",this.getCheckedCount(this.filterChecked),this.setSeriesFilterEnable(),this.initialSeriesFilterPartialCheckedList(),this.initialSpecFilterPartialCheckedList(),document.getElementsByTagName("html")[0].classList.remove("fixed"))},t.prototype.isFilterApplyData=function(){var e,t,r,o,n,l;if(void 0!==this.isFilterCancel){var c=(null===(e=this.filterChecked.categoryCheckedList)||void 0===e?void 0:e.length)>0||(null===(t=this.filterChecked.seriesCheckedList)||void 0===t?void 0:t.length)>0||(null===(r=this.filterChecked.subSeriesCheckedList)||void 0===r?void 0:r.length)>0||(null===(o=this.filterChecked.specCheckedList)||void 0===o?void 0:o.length)>0||(null===(n=this.filterChecked.subSpecCheckedList)||void 0===n?void 0:n.length)>0||(null===(l=this.filterChecked.priceCheckedList)||void 0===l?void 0:l.length)>0;if(c||0===this.$store.getters.subSeriesDataGetter.List.length)if(c||0!==this.$store.getters.subSeriesDataGetter.List.length)c&&this.mobileFilterChecked!==this.filterChecked&&(this.$set(this.mobileFilterChecked,"categoryCheckedList",this.filterChecked.categoryCheckedList),this.$set(this.mobileFilterChecked,"seriesCheckedList",this.filterChecked.seriesCheckedList),this.$set(this.mobileFilterChecked,"subSeriesCheckedList",this.filterChecked.subSeriesCheckedList),this.$set(this.mobileFilterChecked,"specCheckedList",this.filterChecked.specCheckedList),this.$set(this.mobileFilterChecked,"subSpecCheckedList",this.filterChecked.subSpecCheckedList),this.$set(this.mobileFilterChecked,"priceCheckedList",this.filterChecked.priceCheckedList),this.updateFilterList());else{this.setFilterTagsList({category:"",series:"",subSeries:"",spec:"",subSpec:"",price:""}),this.$router.push({name:"Filter",params:{levelOneTopMenuName:this.$route.params.levelOneTopMenuName,levelTwoProductLineName:this.$route.params.levelTwoProductLineName,seriesName:this.$route.params.seriesName||"all-series"}}).catch((function(){}))}else this.resetFilterEnable(),this.$router.push({name:"AllSeries"}).catch((function(){}));document.getElementsByTagName("html")[0].classList.remove("fixed")}},t.prototype.isShowPriceBar=function(e,t){return"Price"===e&&(this.priceSpecList=t.map((function(e){return e.Id})),!0)},t.prototype.initCount=function(){this.getAllCount()},t.prototype.getAllCount=function(){var e=this;this.seriesFilter&&this.seriesFilterEnable&&Object.keys(this.seriesFilter.Category).length>0&&Object.keys(this.seriesFilterEnable.CountList).length>0&&this.seriesFilter.Category.CategoryList.forEach((function(t){var r,o,n,l=null===(n=null===(o=null===(r=e.seriesFilterEnable)||void 0===r?void 0:r.CountList)||void 0===o?void 0:o.CategoryList)||void 0===n?void 0:n.filter((function(e){return e.Id===t.ID}));l.length>0?e.$set(e.seriesFilterCount,"category_"+l[0].Id,l[0].Count):e.$set(e.seriesFilterCount,"category_"+t.ID,0)})),this.seriesFilter&&this.seriesFilterEnable&&Object.keys(this.seriesFilter.Series).length>0&&Object.keys(this.seriesFilterEnable.CountList).length>0&&this.seriesFilter.Series.SeriesList.forEach((function(t){var r,o,n,l=null===(n=null===(o=null===(r=e.seriesFilterEnable)||void 0===r?void 0:r.CountList)||void 0===o?void 0:o.SeriesList)||void 0===n?void 0:n.filter((function(e){return e.Id===t.SeriesID}));l.length>0?e.$set(e.seriesFilterCount,"series_"+l[0].Id,l[0].Count):e.$set(e.seriesFilterCount,"series_"+t.SeriesID,0)})),this.seriesFilter&&this.seriesFilterEnable&&Object.keys(this.seriesFilter.Series).length>0&&Object.keys(this.seriesFilterEnable.CountList).length>0&&this.seriesFilter.Series.SeriesList.forEach((function(t){t.Item.length>0&&t.Item.forEach((function(r){var o,n,l,c=null===(l=null===(n=null===(o=e.seriesFilterEnable)||void 0===o?void 0:o.CountList)||void 0===n?void 0:n.SubSeriesList)||void 0===l?void 0:l.filter((function(e){return e.Id===r.ID}));c.length>0?e.$set(e.seriesFilterCount,"subSeries_"+t.SeriesID+"_"+c[0].Id,c[0].Count):e.$set(e.seriesFilterCount,"subSeries_"+t.SeriesID+"_"+r.ID,0)}))})),this.seriesFilter&&this.seriesFilterEnable&&Object.keys(this.seriesFilter.SpecCategory).length>0&&Object.keys(this.seriesFilterEnable.CountList).length>0&&this.seriesFilter.SpecCategory.forEach((function(t){t.Item.length>0&&t.Item.forEach((function(t){var r,o,n;if(t.IsGroup&&t.SubItem.length>0){var l=0;t.SubItem.forEach((function(t){var r,o,n,c=null===(n=null===(o=null===(r=e.seriesFilterEnable)||void 0===r?void 0:r.CountList)||void 0===o?void 0:o.SubSpecList)||void 0===n?void 0:n.filter((function(e){return e.Id===t.Id}));c.length>0&&(l+=c[0].Count)})),l>0?e.$set(e.seriesFilterCount,"spec_"+t.Id,l):e.$set(e.seriesFilterCount,"spec_"+t.Id,0)}else{var c=null===(n=null===(o=null===(r=e.seriesFilterEnable)||void 0===r?void 0:r.CountList)||void 0===o?void 0:o.SpecList)||void 0===n?void 0:n.filter((function(e){return e.Id===t.Id}));c.length>0?e.$set(e.seriesFilterCount,"spec_"+c[0].Id,c[0].Count):e.$set(e.seriesFilterCount,"spec_"+t.Id,0)}}))})),this.seriesFilter&&this.seriesFilterEnable&&Object.keys(this.seriesFilter.SpecCategory).length>0&&Object.keys(this.seriesFilterEnable.CountList).length>0&&this.seriesFilter.SpecCategory.forEach((function(t){t.Item.length>0&&t.Item.forEach((function(t){t.SubItem.length>0&&t.SubItem.forEach((function(r){var o,n,l,c=null===(l=null===(n=null===(o=e.seriesFilterEnable)||void 0===o?void 0:o.CountList)||void 0===n?void 0:n.SubSpecList)||void 0===l?void 0:l.filter((function(e){return e.Id===r.Id}));c.length>0?e.$set(e.seriesFilterCount,"subSpec_"+t.Id+"_"+c[0].Id,c[0].Count):e.$set(e.seriesFilterCount,"subSpec_"+t.Id+"_"+r.Id,0)}))}))}))},t.prototype.clickPriceButton=function(){var e=this;this.isPriceError=!1,this.isMinPriceError=!1,this.isMaxPriceError=!1;var t=/^(?!^\.)\d+(\.\d+)?$/,r=Number(this.minPrice),o=Number(this.maxPrice);this.minPrice>0&&this.minPrice<1?this.minPrice=r:this.maxPrice>0&&this.maxPrice<1&&(this.maxPrice=o);var n=this.seriesFilterGetter.Translation,l=function(t,r,o,n){e.isPriceError=t,e.isMaxPriceError=r,e.isMinPriceError=o,e.errorText=n};if(t.test(r)&&t.test(o))if(""!==this.minPrice&&o)if(r>o)l(!0,!0,!0,n.Price_Error01?n.Price_Error01:"Min. price needs to be less than Max., please reset.");else{l(!1,!1,!1,""),this.$set(this.filterChecked,"priceCheckedList",[this.minPrice,this.maxPrice]),this.$set(this.mobileFilterChecked,"priceCheckedList",[this.minPrice,this.maxPrice]);var c=this.filterChecked.specCheckedList.filter((function(t){return!e.priceSpecList.includes(t)}));this.$set(this.filterChecked,"specCheckedList",c),this.updateFilterList()}else l(!0,!o,""===this.minPrice,""!==this.minPrice||o?""===this.minPrice?n.NoMinPriceError?n.NoMinPriceError:"Please fill in Min. price":n.NoMaxPriceError?n.NoMaxPriceError:"Please fill in Max. price":n.NoPriceError?n.NoPriceError:"Please fill in Min. & Max. price");else{var d=!t.test(r);l(!0,!t.test(o),d,n.Price_Format_Error?n.Price_Format_Error:"Format Error")}},t.prototype.triggerCheck=function(e){"toggleButton"===e.target.dataset.name||e.currentTarget.querySelector("input").disabled||e.currentTarget.querySelector("input").click()},t.prototype.idMapping=function(e,data){if("category"===e){for(var t=[],r=this.seriesFilterGetter.IdNameMapping.Category,i=0;i0?n=n.replace("Category=","Category="+t+","):n+=l>0?"&Category="+t:"?Category="+t;else if("series"===e&&-1===n.indexOf(t))if((-1!==n.indexOf("?Series=")||-1!==n.indexOf("&Series="))&&l>0){var d=-1===n.indexOf("?Series=")?"&Series=":"?Series=";n=n.replace(d,"&Series="+t+",")}else n+=l>0?"&Series="+t:"?Series="+t;else if("subSeries"===e&&-1===n.indexOf(t))-1!==n.indexOf("SubSeries")&&l>0?n=n.replace("SubSeries=","SubSeries="+t+","):n+=l>0?"&SubSeries="+t:"?SubSeries="+t;else if("spec"===e&&-1===n.indexOf(t))if((-1!==n.indexOf("?Spec=")||-1!==n.indexOf("&Spec="))&&l>0){var h=-1===n.indexOf("?Spec=")?"&Spec=":"?Spec=";n=n.replace(h,"&Spec="+t+",")}else n+=l>0?"&Spec="+t:"?Spec="+t;else"subSpec"===e&&-1===n.indexOf(t)&&(-1!==n.indexOf("SubSpec")&&l>0?n=n.replace("SubSpec=","SubSpec="+t+","):n+=l>0?"&SubSpec="+t:"?SubSpec="+t);return n}return""},t.prototype.getEnableData=function(){this.filterCheckedCounter(this.filterChecked);var e=this.filterChecked.categoryCheckedList.toString(),t=this.filterChecked.seriesCheckedList.toString(),r=this.filterChecked.subSeriesCheckedList.toString(),o=this.filterChecked.specCheckedList.toString(),n=this.filterChecked.subSpecCheckedList.toString();this.getSeriesFilterEnableByAPI({params:{SystemCode:"asus",WebsiteCode:this.websiteCode,ProductLevel1Code:this.productLevelOneCode,ProductLevel2Code:this.productLevelTwoCode||"",Category:e,Series:t,SubSeries:r,Spec:o,SubSpec:n}})},t.prototype.updateFilterList=function(){var e=this.filterCheckedCounter(this.filterChecked);if(e>0){this.isMobile&&this.$emit("checked-count",e);var t=this.filterChecked.categoryCheckedList.toString(),r=this.filterChecked.seriesCheckedList.toString(),o=this.filterChecked.subSeriesCheckedList.toString(),n=this.filterChecked.specCheckedList.toString(),l=this.filterChecked.subSpecCheckedList.toString(),c=this.filterChecked.priceCheckedList.toString(),d={};if(t.length>0){var h=this.idMapping("category",t);d.Category=h}if(r.length>0){var f=this.idMapping("series",r);d.Series=f}if(o.length>0){var _=this.idMapping("subSeries",o);d.SubSeries=_}n.length>0&&(d.Spec=n),l.length>0&&(d.SubSpec=l),c.length>0?d.Price=this.filterChecked.priceCheckedList[0]+","+this.filterChecked.priceCheckedList[1]:(this.minPrice="",this.maxPrice=""),"Filter"===this.$route.name?this.setURLQuery(d):"AllProducts"===this.$route.name?(this.isMobile&&this.getSeriesFilterResultByAPI({params:{SystemCode:"asus",WebsiteCode:this.websiteCode,ProductLevel1Code:this.productLevelOneCode,ProductLevel2Code:this.productLevelTwoCode||"",PageSize:this.pageSize,PageIndex:1,CategoryName:this.$route.query.Category?this.$route.query.Category.toString():"",SeriesName:this.$route.query.Series?this.$route.query.Series.toString():"",SubSeriesName:this.$route.query.SubSeries?this.$route.query.SubSeries.toString():"",Spec:n,SubSpec:l,PriceMin:this.filterChecked.priceCheckedList.length>0?this.filterChecked.priceCheckedList[0].toString():"",PriceMax:this.filterChecked.priceCheckedList.length>0?this.filterChecked.priceCheckedList[1].toString():"",Sort:this.sort}}),this.$router.push({name:"AllProducts",query:d}).catch((function(){}))):this.$router.push({name:"Filter",query:d,params:{levelOneTopMenuName:this.$route.params.levelOneTopMenuName,levelTwoProductLineName:this.$route.params.levelTwoProductLineName,seriesName:this.$route.params.seriesName||"all-series"}}).catch((function(){}))}else if(0===this.$store.getters.seriesTabDataGetter.length){this.setFilterTagsList({category:"",series:"",subSeries:"",spec:"",subSpec:"",price:""}),this.$router.push({name:"Filter",params:{levelOneTopMenuName:this.$route.params.levelOneTopMenuName,levelTwoProductLineName:this.$route.params.levelTwoProductLineName,seriesName:this.$route.params.seriesName||"all-series"}}).catch((function(){}))}else{this.resetFilterEnable();var v="AllProducts"===this.$route.name?{name:"AllProducts",params:{comeFrom:"cancelFilter"}}:{name:"AllSeries",params:{comeFrom:"cancelFilter"}};this.$router.push(v).catch((function(){}))}},t.prototype.initialUpdateFilterList=function(){var e=this.filterChecked.categoryCheckedList.toString(),t=this.filterChecked.seriesCheckedList.toString(),r=this.filterChecked.subSeriesCheckedList.toString(),o=this.filterChecked.specCheckedList.toString(),n=this.filterChecked.subSpecCheckedList.toString();this.$set(this.mobileFilterChecked,"categoryCheckedList",this.filterChecked.categoryCheckedList),this.$set(this.mobileFilterChecked,"seriesCheckedList",this.filterChecked.seriesCheckedList),this.$set(this.mobileFilterChecked,"subSeriesCheckedList",this.filterChecked.subSeriesCheckedList),this.$set(this.mobileFilterChecked,"specCheckedList",this.filterChecked.specCheckedList),this.$set(this.mobileFilterChecked,"subSpecCheckedList",this.filterChecked.subSpecCheckedList),this.$set(this.mobileFilterChecked,"priceCheckedList",this.filterChecked.priceCheckedList),this.getSeriesFilterEnableByAPI({params:{SystemCode:"asus",WebsiteCode:this.websiteCode,ProductLevel1Code:this.productLevelOneCode,ProductLevel2Code:this.productLevelTwoCode||"",Category:e,Series:t,SubSeries:r,Spec:o,SubSpec:n}}),this.$emit("initLevelThreeFilter");var l=""!==this.$route.query.Price&&void 0!==this.$route.query.Price?this.$route.query.Price.split(","):[];this.getSeriesFilterResultByAPI({params:{SystemCode:"asus",WebsiteCode:this.websiteCode,ProductLevel1Code:this.productLevelOneCode,ProductLevel2Code:this.productLevelTwoCode||"",PageSize:this.pageSize,PageIndex:1,CategoryName:this.$route.query.Category?this.$route.query.Category.toString():"",SeriesName:this.$route.query.Series?this.$route.query.Series.toString():"",SubSeriesName:this.$route.query.SubSeries?this.$route.query.SubSeries.toString():"",Spec:o,SubSpec:n,PriceMin:l.length>0?l[0].toString():"",PriceMax:l.length>0?l[1].toString():"",Sort:this.sort}})},t.prototype.setURLQuery=function(e){this.$router.push({query:e}).catch((function(){}))},t.prototype.setFilterCheckByURLParam=function(){var e,t,r,o,n,l,c,d,h,f,_,v,m=this.$route.query;if((null===(e=m.Category)||void 0===e?void 0:e.length)>0||(null===(t=m.Series)||void 0===t?void 0:t.length)>0||(null===(r=m.SubSeries)||void 0===r?void 0:r.length)>0||(null===(o=m.Spec)||void 0===o?void 0:o.length)>0||(null===(n=m.SubSpec)||void 0===n?void 0:n.length)>0||(null===(l=m.Price)||void 0===l?void 0:l.length)>0){var S={categoryCheckedList:(null===(c=m.Category)||void 0===c?void 0:c.length)>0?this.nameMapping("category",m.Category):[],seriesCheckedList:(null===(d=m.Series)||void 0===d?void 0:d.length)>0?this.nameMapping("series",m.Series):[],subSeriesCheckedList:(null===(h=m.SubSeries)||void 0===h?void 0:h.length)>0?this.nameMapping("subSeries",m.SubSeries):[],specCheckedList:(null===(f=m.Spec)||void 0===f?void 0:f.length)>0?this.splitAndParseInt(m.Spec):[],subSpecCheckedList:(null===(_=m.SubSpec)||void 0===_?void 0:_.length)>0?this.splitAndParseInt(m.SubSpec):[],priceCheckedList:(null===(v=m.Price)||void 0===v?void 0:v.length)>0?this.splitAndParseInt(m.Price):[]};this.$emit("urlQueryCheckList",S),this.$set(this.filterChecked,"categoryCheckedList",S.categoryCheckedList),this.$set(this.filterChecked,"seriesCheckedList",S.seriesCheckedList),this.$set(this.filterChecked,"subSeriesCheckedList",S.subSeriesCheckedList),this.$set(this.filterChecked,"specCheckedList",S.specCheckedList),this.$set(this.filterChecked,"subSpecCheckedList",S.subSpecCheckedList),this.$set(this.filterChecked,"priceCheckedList",S.priceCheckedList),this.initialUpdateFilterList()}else if("Filter"!==this.$route.name&&"AllProducts"!==this.$route.name||0!==Object.keys(m).length)if("Filter"!==this.$route.name&&"AllProducts"!==this.$route.name||!(this.$store.getters.subSeriesDataGetter.List&&0===this.$store.getters.subSeriesDataGetter.List.length||void 0===m.length))"Filter"===this.$route.name?(this.resetFilterEnable(),this.$router.push({name:"AllSeries"}).catch((function(){}))):"AllSeries"!==this.$route.name&&"AllProducts"!==this.$route.name||this.getSeriesFilterEnableByAPI({params:{SystemCode:"asus",WebsiteCode:this.websiteCode,ProductLevel1Code:this.productLevelOneCode,ProductLevel2Code:this.productLevelTwoCode||"",Category:"",Series:"",SubSeries:"",Spec:"",SubSpec:""}});else{this.setFilterTagsList({category:"",series:"",subSeries:"",spec:"",subSpec:"",price:""}),this.initialUpdateFilterList()}else this.initialUpdateFilterList()},t.prototype.splitAndParseInt=function(e){return e.split(",").map((function(e){return Number(e)}))},t.prototype.getSeriesFilterByAPI=function(){this.getSeriesFilter({params:{SystemCode:"asus",WebsiteCode:this.websiteCode,ProductLevel1Code:this.productLevelOneCode,ProductLevel2Code:this.productLevelTwoCode||""}})},t.prototype.initialCollapsibleFilterList=function(){var e=this,t=0;this.hasCategory&&(t++,this.$set(this.collapsibleFilterList,this.seriesFilter.Category.CategoryName,!0)),this.hasSeries&&(t++,this.$set(this.collapsibleFilterList,this.seriesFilter.Series.SeriesName,!0),this.seriesFilter.Series.SeriesList.forEach((function(r){t<=3?e.$set(e.collapsibleFilterList,r.Name+"_"+r.SeriesID,!1):e.$set(e.collapsibleFilterList,r.Name+"_"+r.SeriesID,!0)})),"Filter"!==this.$route.name&&"AllProducts"!==this.$route.name||void 0===this.$route.query.SubSeries||this.seriesFilter.Series.SeriesList.filter((function(e){return null!==e.Item})).forEach((function(t){var r=[];for(var o in t.Item)r.push(t.Item[o].ID);k()(r,e.nameMapping("subSeries",e.$route.query.SubSeries).map((function(e){return+e}))).length>0&&e.$set(e.collapsibleFilterList,t.Name+"_"+t.SeriesID,!0)}))),this.hasSpecCategory&&this.seriesFilter.SpecCategory.forEach((function(r){r.Item.length>0&&(++t>3?e.$set(e.collapsibleFilterList,r.Name+"_"+r.ID,!1):e.$set(e.collapsibleFilterList,r.Name+"_"+r.ID,!0),r.Item.forEach((function(t){if(t.SubItem&&t.SubItem.length>0&&e.$set(e.collapsibleFilterList,t.Name+"_"+t.Id,!1),void 0!==e.$route.query.Spec){var o=[];o.push(t.Id),k()(o,e.$route.query.Spec.split(",").map((function(e){return+e}))).length>0&&e.$set(e.collapsibleFilterList,r.Name+"_"+r.ID,!0)}})),"Filter"!==e.$route.name&&"AllProducts"!==e.$route.name||void 0===e.$route.query.SubSpec||r.Item.filter((function(e){return null!==e.SubItem})).forEach((function(t){var o=[];for(var n in t.SubItem)o.push(t.SubItem[n].Id);k()(o,e.$route.query.SubSpec.split(",").map((function(e){return+e}))).length>0&&(e.$set(e.collapsibleFilterList,t.Name+"_"+t.Id,!0),e.$set(e.collapsibleFilterList,r.Name+"_"+r.ID,!0))})))}))},t.prototype.initialSeriesFilterPartialCheckedList=function(){var e=this;this.hasSeries&&this.seriesFilter.Series.SeriesList.forEach((function(t){e.$set(e.seriesFilterPartialChecked,t.SeriesID,!1)}))},t.prototype.initialSpecFilterPartialCheckedList=function(){var e=this;if(this.hasSpecCategory){var t=","+this.filterChecked.subSpecCheckedList+",";this.seriesFilter.SpecCategory.forEach((function(r){r.Item.forEach((function(r){r.SubItem&&r.SubItem.length>0&&e.$set(e.specFilterPartialChecked,r.Id,!1),r.SubItem.forEach((function(o){o.Id;t.indexOf(o.Id)>-1&&e.$set(e.specFilterPartialChecked,r.Id,!0)}))}))}))}},t.prototype.collapsibleListToggle=function(e){this.collapsibleFilterList[e]=!this.collapsibleFilterList[e];var t=this.collapsibleFilterList,r=this.seriesFilter.SpecCategory.filter((function(e){return t[e.Name+"_"+e.ID]})).length;(r+=Object.keys(this.collapsibleFilterList).filter((function(e){return-1==e.indexOf("_")&&t[e]})).length)>=this.seriesFilter.SpecCategory.filter((function(e){return e.Item&&e.Item.length>0})).length+Object.keys(this.collapsibleFilterList).filter((function(e){return-1==e.indexOf("_")})).length?(this.isShowCollapseAll=!0,this.isShowExpandAll=!1):0==r&&(this.isShowCollapseAll=!1,this.isShowExpandAll=!0)},t.prototype.filterCheckedCounter=function(data,e){void 0===e&&(e="");var t=0;for(var r in data)t+=data[r].length;return""===e&&""!==this.maxPrice&&""!==this.minPrice&&t--,t},t.prototype.resetFilterEnable=function(){this.seriesFilterEnable.Category=null,this.seriesFilterEnable.Series=null,this.seriesFilterEnable.SubSeries=null,this.seriesFilterEnable.Spec=null,this.seriesFilterEnable.SubSpec=null},t.prototype.clearFilterPartialChecked=function(){this.seriesFilterPartialChecked={},this.specFilterPartialChecked={}},t.prototype.clearFilterChecked=function(){var e={categoryCheckedList:[],seriesCheckedList:[],subSeriesCheckedList:[],specCheckedList:[],subSpecCheckedList:[],priceCheckedList:[]},t=this.seriesFilterEnable.Category,r=this.seriesFilterEnable.Series,o=this.seriesFilterEnable.SubSeries,n=this.seriesFilterEnable.Spec,l=this.seriesFilterEnable.SubSpec;if(null!==t&&t.length>0){var c=S()(this.filterChecked.categoryCheckedList,t),h=this.findDuplicates(c);e.categoryCheckedList=h}if(null!==r&&r.length>0){var f=S()(this.filterChecked.seriesCheckedList,r),_=this.findDuplicates(f);e.seriesCheckedList=_}if(null!==o&&o.length>0){var v=S()(this.filterChecked.seriesCheckedList,o),m=this.findDuplicates(v);e.seriesCheckedList=m}if(null!==n&&n.length>0){var y=S()(this.filterChecked.specCheckedList,n),C=this.findDuplicates(y);e.specCheckedList=C}if(null!==l&&l.length>0){var P=S()(this.filterChecked.subSpecCheckedList,l),k=this.findDuplicates(P);e.subSpecCheckedList=k}e.priceCheckedList=[],this.filterChecked=d()(e)},t.prototype.findDuplicates=function(e){for(var t=e.slice().sort(),r=[],i=0;i0&&e.SeriesID===t){var n=[],l=[];e.Item.forEach((function(e){l.push(e.ID),r.filterChecked.subSeriesCheckedList.forEach((function(t){t===e.ID&&n.push(e.ID)}))}));var c=k()(l,r.seriesFilterEnable.SubSeries),d=k()(n,r.seriesFilterEnable.SubSeries);if(f()(l,n)||c.length===d.length&&null!==r.seriesFilterEnable.SubSeries)o.push(e.SeriesID),r.seriesFilterPartialChecked[e.SeriesID]=!1;else{var h=r.filterChecked.seriesCheckedList.indexOf(e.SeriesID);h>-1&&o.splice(h,1),0!==n.length?r.seriesFilterPartialChecked[e.SeriesID]=!0:r.seriesFilterPartialChecked[e.SeriesID]=!1}}})),this.filterChecked.seriesCheckedList=d()(o),this.onFilterChecked()},t.prototype.subSeriesSelectAllJudge=function(e,label){var t=this;void 0===label&&(label=""),-1!==this.filterChecked.seriesCheckedList.indexOf(e)&&(this.gaDataLayerPush({event:"data_layer_event",event_category_DL:"filter",event_action_DL:"clicked",event_label_DL:label,event_value_DL:"0"}),this.gaHmtPush(["_trackEvent","filter","clicked",label]));var r=d()(this.filterChecked.subSeriesCheckedList);this.seriesFilter.Series.SeriesList.forEach((function(o){if(o.SeriesID===e&&o.Item&&o.Item.length>0){var n=!1,l=[];if(o.Item.forEach((function(e){l.push(e.ID)})),t.filterChecked.seriesCheckedList.forEach((function(e){o.SeriesID===e&&(n=!0)})),t.seriesFilterPartialChecked[o.SeriesID]=!1,n)if(t.collapsibleFilterList[o.Name+"_"+o.SeriesID]=!0,null!==t.seriesFilterEnable.SubSeries){var c=k()(l,t.seriesFilterEnable.SubSeries);if(0!==c.length){var d=v()(c,r);r=S()(d,r)}}else{d=v()(l,r);r=S()(d,r)}else l.forEach((function(e){var t=r.indexOf(e);t>-1&&r.splice(t,1)}))}})),this.filterChecked.subSeriesCheckedList=d()(r),this.onFilterChecked()},t.prototype.detectSeriesDisabledSubItem=function(e){var t=this,r=!1,o=d()(this.filterChecked.subSeriesCheckedList);this.seriesFilter.Series.SeriesList.forEach((function(n){if(n.SeriesID===e&&n.Item&&n.Item.length>0){var l=[];n.Item.forEach((function(e){l.push(e.ID)}));var c=k()(l,t.seriesFilterEnable.SubSeries);k()(l,t.filterChecked.subSeriesCheckedList);if(c.length!==n.Item.length&&c.length!==l.length&&0!==c.length)r=!0;else if(-1===t.filterChecked.seriesCheckedList.indexOf(e))t.filterChecked.seriesCheckedList.push(e);else{var h=d()(t.filterChecked.seriesCheckedList);t.filterChecked.seriesCheckedList.forEach((function(e){var r=t.filterChecked.seriesCheckedList.indexOf(e);r>-1&&h.splice(r,1)})),t.filterChecked.seriesCheckedList=d()(h)}r?(t.seriesFilterPartialChecked[n.SeriesID]=!1,l.forEach((function(e){var r=o.indexOf(e);r>-1&&o.splice(r,1),t.filterChecked.subSeriesCheckedList=d()(o),t.onFilterChecked()}))):t.subSeriesSelectAllJudge(e)}}))},t.prototype.specSelectJudge=function(e,t,label){var r=this;if(-1!==this.filterChecked.subSpecCheckedList.indexOf(e)&&(this.gaDataLayerPush({event:"data_layer_event",event_category_DL:"filter",event_action_DL:"clicked",event_label_DL:label,event_value_DL:"0"}),this.gaHmtPush(["_trackEvent","filter","clicked",label])),this.hasSpecCategory){var o=d()(this.filterChecked.specCheckedList);this.seriesFilter.SpecCategory.forEach((function(e){e.Item&&e.Item.length>0&&e.Item.forEach((function(e){if(e.Id===t&&e.SubItem&&e.SubItem.length>0){var n=[],l=[];e.SubItem.forEach((function(e){n.push(e.Id),r.filterChecked.subSpecCheckedList.forEach((function(t){t===e.Id&&l.push(e.Id)}))}));var c=k()(n,r.seriesFilterEnable.SubSpec),d=k()(l,r.seriesFilterEnable.SubSpec);if(f()(n,l)||c.length===d.length&&null!==r.seriesFilterEnable.SubSpec)o.push(e.Id),r.specFilterPartialChecked[e.Id]=!1;else{var h=r.filterChecked.specCheckedList.indexOf(e.Id);h>-1&&o.splice(h,1),0!==l.length?r.specFilterPartialChecked[e.Id]=!0:r.specFilterPartialChecked[e.Id]=!1}}}))})),this.filterChecked.specCheckedList=d()(o),this.onFilterChecked()}},t.prototype.subSpecSelectAllJudge=function(e,label){var t=this;if(void 0===label&&(label=""),-1!==this.filterChecked.specCheckedList.indexOf(e)&&(this.gaDataLayerPush({event:"data_layer_event",event_category_DL:"filter",event_action_DL:"clicked",event_label_DL:label,event_value_DL:"0"}),this.gaHmtPush(["_trackEvent","filter","clicked",label])),this.hasSpecCategory){var r=d()(this.filterChecked.subSpecCheckedList);this.seriesFilter.SpecCategory.forEach((function(o){o.Item&&o.Item.length>0&&o.Item.forEach((function(o){if(o.Id===e&&(""!==t.maxPrice&&""!==t.minPrice&&t.priceSpecList.includes(o.Id)&&(t.$set(t.filterChecked,"priceCheckedList",[]),t.maxPrice="",t.minPrice=""),o.SubItem&&o.SubItem.length>0)){var n=!1,l=[];if(o.SubItem.forEach((function(e){l.push(e.Id)})),t.filterChecked.specCheckedList.forEach((function(e){o.Id===e&&(n=!0)})),t.specFilterPartialChecked[o.Id]=!1,n)if(t.collapsibleFilterList[o.Name+"_"+o.Id]=!0,null!==t.seriesFilterEnable.SubSpec){var c=k()(l,t.seriesFilterEnable.SubSpec);if(0!==c.length){var d=v()(c,r);r=S()(d,r)}}else{d=v()(l,r);r=S()(d,r)}else l.forEach((function(e){var t=r.indexOf(e);t>-1&&r.splice(t,1)}))}}))})),this.filterChecked.subSpecCheckedList=d()(r),this.onFilterChecked()}},t.prototype.detectSpecDisabledSubItem=function(e){var t=this,r=!1,o=d()(this.filterChecked.subSpecCheckedList);this.seriesFilter.SpecCategory.forEach((function(n){n.Item&&n.Item.length>0&&n.Item.forEach((function(n){if(n.Id===e&&n.SubItem&&n.SubItem.length>0){var l=[];n.SubItem.forEach((function(e){l.push(e.Id)}));var c=k()(l,t.seriesFilterEnable.SubSpec);k()(l,t.filterChecked.subSpecCheckedList);if(c.length!==n.SubItem.length&&c.length!==l.length&&0!==c.length)r=!0;else if(-1===t.filterChecked.specCheckedList.indexOf(e))t.filterChecked.specCheckedList.push(e);else{var h=d()(t.filterChecked.specCheckedList);t.filterChecked.specCheckedList.forEach((function(e){var r=t.filterChecked.specCheckedList.indexOf(e);r>-1&&h.splice(r,1)})),t.filterChecked.specCheckedList=d()(h)}r?(t.specFilterPartialChecked[n.Id]=!1,l.forEach((function(e){var t=o.indexOf(e);t>-1&&o.splice(t,1)})),t.filterChecked.subSpecCheckedList=d()(o),t.onFilterChecked()):t.subSpecSelectAllJudge(e)}}))}))},t.prototype.filterParams=function(){var e=this,t=this.$route.query,r=[],o=[],n=[],l=[],c=[],d=[];0!==Object.keys(this.seriesFilterGetter).length?(this.seriesFilterGetter.Category.CategoryList.length>0?1:0)+(this.seriesFilterGetter.Series.SeriesList.length>0?1:0)+this.seriesFilterGetter.SpecCategory.length>5?(this.isShowExpandAll=!0,this.isShowCollapseAll=!1,this.isShowToggleButton=!0):(this.isShowExpandAll=!1,this.isShowCollapseAll=!1,this.isShowToggleButton=!1):(this.isShowExpandAll=!1,this.isShowCollapseAll=!1,this.isShowToggleButton=!1);if(void 0!==this.seriesFilter.Category||void 0!==this.seriesFilter.Series||void 0!==this.seriesFilter.SpecCategory){if(void 0!==t.Category&&""!==t.Category&&(r=this.seriesFilter.Category.CategoryList.filter((function(r){return-1!==e.nameMapping("category",t.Category).indexOf(r.ID)})).map((function(e){return{ID:e.ID,Name:e.Name,type:"category"}}))),void 0!==t.Series&&""!==t.Series)this.seriesFilter.Series.SeriesList.filter((function(r){return-1!==e.nameMapping("series",t.Series).indexOf(r.SeriesID)})).forEach((function(r){if(null!==r.Item&&void 0!==r.Item&&0!==r.Item.length&&void 0!==t.SubSeries&&""!==t.SubSeries){var n=[];for(var l in r.Item)n.push(r.Item[l].ID);var c=k()(n,e.seriesFilterEnable.SubSeries).length,d=k()(n,e.nameMapping("subSeries",t.SubSeries).map((function(e){return+e}))).length;c!==d&&n.length!==d&&o.push({ID:r.SeriesID,Name:r.Name,type:"series"})}else o.push({ID:r.SeriesID,Name:r.Name,type:"series"})}));if(void 0!==t.SubSeries&&""!==t.SubSeries&&this.seriesFilter.Series.SeriesList.forEach((function(r){if(null!==r.Item&&void 0!==r.Item&&0!==r.Item.length){var o=r.Item.filter((function(r){return-1!==e.nameMapping("subSeries",t.SubSeries).indexOf(r.ID)})).map((function(e){return{ID:e.ID,Name:e.Name,type:"subSeries"}}));for(var l in o)n.push({ID:o[l].ID,Name:o[l].Name,type:o[l].type});var c=void 0!==t.Series&&-1!==e.nameMapping("series",t.Series).indexOf(r.SeriesID);o.length>0&&o.length!==r.Item.length&&!c&&(e.seriesFilterPartialChecked[r.SeriesID]=!0)}})),void 0!==t.Spec&&""!==t.Spec&&this.seriesFilter.SpecCategory.forEach((function(r){if(null!==r.Item&&void 0!==r.Item&&0!==r.Item.length){var o=r.Item.filter((function(e){return-1!==t.Spec.split(",").indexOf(e.Id.toString())})),n=o.map((function(e){return{ID:e.Id,Name:e.Name,type:"spec"}}));l=0!==n.length?l.concat(n):l,o.forEach((function(r){if(null!==r.SubItem&&void 0!==r.SubItem&&0!==r.SubItem.length&&void 0!==t.SubSpec&&""!==t.SubSpec){var o=[];for(var n in r.SubItem)o.push(r.SubItem[n].Id);var c=k()(o,e.seriesFilterEnable.SubSpec).length,d=k()(o,t.SubSpec.split(",").map((function(e){return+e}))).length;c!==d&&o.length!==d||l.splice(l.indexOf(r.Id),1)}}))}})),void 0!==t.SubSpec&&""!==t.SubSpec&&this.seriesFilter.SpecCategory.forEach((function(r){null!==r.Item&&void 0!==r.Item&&0!==r.Item.length&&r.Item.forEach((function(o){if(null!==o.SubItem&&void 0!==o.SubItem&&0!==o.SubItem.length){var n=o.SubItem.filter((function(e){return-1!==t.SubSpec.split(",").indexOf(e.Id.toString())})).map((function(e){return{ID:e.Id,Name:e.Name,type:"subSpec"}}));for(var l in n)c.push({ID:n[l].ID,Name:n[l].Name,type:n[l].type});var d=void 0!==t.Spec&&-1!==t.Spec.indexOf(r.Id);n.length>0&&n.length!==o.SubItem.length&&!d&&(e.specFilterPartialChecked[o.Id]=!0)}}))})),void 0!==t.Price&&""!==t.Price){var h=this.$route.query.Price.split(",");d.push({ID:-1,Name:h[0]+"-"+h[1],type:"price"})}var f={category:r,series:o,subSeries:n,spec:l,subSpec:c,price:d};this.getCheckedCount(f,"tagsList"),this.setFilterTagsList(f)}},t.prototype.onFilterChecked=function(){this.isMobile?(this.getCheckedCount(this.filterChecked),this.getEnableData()):this.updateFilterList()},t.prototype.expandAll=function(){for(var e in this.collapsibleFilterList)this.collapsibleFilterList[e]=!0;this.isShowExpandAll=!1,this.isShowCollapseAll=!0},t.prototype.collapseAll=function(){for(var e in this.collapsibleFilterList)this.collapsibleFilterList[e]=!1;this.isShowExpandAll=!0,this.isShowCollapseAll=!1},t.prototype.initSeriesFilter=function(){this.setFilterCheckByURLParam(),this.seriesFilter=d()(this.seriesFilterGetter),this.initialCollapsibleFilterList(),this.initialSeriesFilterPartialCheckedList(),this.initialSpecFilterPartialCheckedList(),this.filterParams()},t.prototype.getCheckedCount=function(e,t){void 0===t&&(t="");var r=this.filterCheckedCounter(e,t);try{window.innerWidth<=730&&this.$emit("checked-count",r)}catch(e){}0===r&&(this.resetFilterEnable(),this.clearFilterPartialChecked())},O([Object(l.Getter)("filterTagsList")],t.prototype,"filterTagsList",void 0),O([Object(l.Getter)("seriesFilterGetter")],t.prototype,"seriesFilterGetter",void 0),O([Object(l.Getter)("seriesFilterEnableGetter")],t.prototype,"seriesFilterEnableGetter",void 0),O([Object(l.Action)("getSeriesFilter")],t.prototype,"getSeriesFilter",void 0),O([Object(l.Action)("getSeriesFilterEnable")],t.prototype,"getSeriesFilterEnableByAPI",void 0),O([Object(l.Action)("getSeriesFilterResult")],t.prototype,"getSeriesFilterResultByAPI",void 0),O([Object(l.Mutation)("setFilterTagsList")],t.prototype,"setFilterTagsList",void 0),O([Object(l.Prop)()],t.prototype,"isClearAll",void 0),O([Object(l.Prop)()],t.prototype,"isFilterApply",void 0),O([Object(l.Prop)()],t.prototype,"isFilterCancel",void 0),O([Object(l.Prop)()],t.prototype,"sort",void 0),O([Object(l.Prop)()],t.prototype,"rwdWidth",void 0),O([Object(l.Prop)({default:!0})],t.prototype,"isMobileOpen",void 0),O([Object(l.Watch)("$route")],t.prototype,"routeCategorychange",null),O([Object(l.Watch)("seriesFilterGetter",{immediate:!0})],t.prototype,"setSeriesFilter",null),O([Object(l.Watch)("seriesFilterEnableGetter")],t.prototype,"setSeriesFilterEnable",null),O([Object(l.Watch)("rwdWidth")],t.prototype,"getWidth",null),O([Object(l.Watch)("sort")],t.prototype,"getSort",null),O([Object(l.Watch)("filterTagsList")],t.prototype,"checkTagsList",null),O([Object(l.Watch)("isClearAll")],t.prototype,"isClearAllData",null),O([Object(l.Watch)("isFilterCancel")],t.prototype,"isFilterCancelData",null),O([Object(l.Watch)("isFilterApply")],t.prototype,"isFilterApplyData",null),O([F()(1e3)],t.prototype,"onFilterChecked",null),t=O([Object(l.Component)({components:{FilterCheckBox:I.a}})],t)}(Object(l.mixins)(w.a)),D=r(954),T=r(10);var component=Object(T.a)(E,(function(){var e,t,r,o,n,l,c,d=this,h=d.$createElement,f=d._self._c||h;return d.seriesFilter&&d.seriesFilter.Category?f("div",{class:[d.$style.wrapper,(e={},e[d.$style.hasOrder]=d.hasOrder,e)]},[d.hasCategory?f("div",{class:d.$style.filterSection},[f("div",{class:[d.$style.title,(t={},t[d.$style.toggleIcon]=d.seriesFilter.Category.CategoryList.length>0,t),(r={},r[d.$style.collapseIcon]=d.collapsibleFilterList[d.seriesFilter.Category.CategoryName],r)],attrs:{role:"button","aria-label":d.seriesFilter.Category.CategoryName,tabindex:d.isMobile&&!d.isMobileOpen?-1:0,"aria-expanded":d.collapsibleFilterList[d.seriesFilter.Category.CategoryName]?"true":"false","aria-controls":d.collapsibleFilterList[d.seriesFilter.Category.CategoryName]?"":"drawer"},on:{click:function(e){return d.collapsibleListToggle(d.seriesFilter.Category.CategoryName)}}},[d._v("\n "+d._s(d.seriesFilter.Category.CategoryName)+"\n ")]),d._v(" "),d.seriesFilter.Category.CategoryList?f("div",{class:[d.$style.listContainer,(o={},o[d.$style.expand]=d.collapsibleFilterList[d.seriesFilter.Category.CategoryName],o)],attrs:{inert:!d.collapsibleFilterList[d.seriesFilter.Category.CategoryName]}},d._l(d.seriesFilter.Category.CategoryList,(function(e){return f("div",{key:e.Name+"_"+e.ID,class:d.$style.listContent,on:{click:function(e){return d.triggerCheck(e)}}},[""!==d.getFilterUrl("category",e.WebPath,d.seriesFilterEnable.Category,e.ID)?f("a",{class:d.$style.filterAnchor,attrs:{href:d.getFilterUrl("category",e.WebPath,d.seriesFilterEnable.Category,e.ID),alt:e.Name,tabindex:"-1","aria-hidden":"true"},on:{click:function(e){e.preventDefault()}}},[d._v(d._s(e.Name))]):d._e(),d._v(" "),f("div",{class:d.$style.listItem},[f("FilterCheckBox",{attrs:{isTabindex:!!d.collapsibleFilterList[d.seriesFilter.Category.CategoryName]&&!(d.isMobile&&!d.isMobileOpen),filterID:e.ID,enableList:d.seriesFilterEnable.Category,checkBoxName:e.Name},on:{input:function(t){return d.categorySelect(e.ID,d.seriesFilter.Category.CategoryName+"/"+e.Name)}},model:{value:d.filterChecked.categoryCheckedList,callback:function(e){d.$set(d.filterChecked,"categoryCheckedList",e)},expression:"filterChecked.categoryCheckedList"}},[d._v("\n "+d._s(e.Name)+"\n "),d.seriesFilterEnable?f("span",[d._v("\n ("+d._s(d.seriesFilterCount["category_"+e.ID])+")\n ")]):d._e()])],1)])})),0):d._e()]):d._e(),d._v(" "),d.hasSeries?f("div",{class:d.$style.filterSection},[f("div",{class:[d.$style.title,(n={},n[d.$style.toggleIcon]=d.seriesFilter.Series.SeriesList.length>0,n),(l={},l[d.$style.collapseIcon]=d.collapsibleFilterList[d.seriesFilter.Series.SeriesName],l)],attrs:{role:"button","aria-label":d.seriesFilter.Series.SeriesName,tabindex:d.isMobile&&!d.isMobileOpen?-1:0,"aria-expanded":d.collapsibleFilterList[d.seriesFilter.Series.SeriesName]?"true":"false","aria-controls":d.collapsibleFilterList[d.seriesFilter.Series.SeriesName]?"":"drawer"},on:{click:function(e){return d.collapsibleListToggle(d.seriesFilter.Series.SeriesName)}}},[d._v("\n "+d._s(d.seriesFilter.Series.SeriesName)+"\n ")]),d._v(" "),d.seriesFilter.Series.SeriesList?f("div",{class:[d.$style.listContainer,(c={},c[d.$style.expand]=d.collapsibleFilterList[d.seriesFilter.Series.SeriesName],c)],attrs:{inert:!d.collapsibleFilterList[d.seriesFilter.Series.SeriesName]}},d._l(d.seriesFilter.Series.SeriesList,(function(e){var t,r,o;return f("div",{key:e.Name+"_"+e.SeriesID,class:d.$style.listContent,on:{click:function(e){return d.triggerCheck(e)}}},[""!==d.getFilterUrl("series",e.WebPath,d.seriesFilterEnable.Series,e.SeriesID)?f("a",{class:d.$style.filterAnchor,attrs:{href:d.getFilterUrl("series",e.WebPath,d.seriesFilterEnable.Series,e.SeriesID),alt:e.Name,tabindex:"-1","aria-hidden":"true"},on:{click:function(e){e.preventDefault()}}},[d._v(d._s(e.Name))]):d._e(),d._v(" "),f("div",{class:d.$style.listItem},[d.seriesFilterPartialChecked[e.SeriesID]?f("div",{class:d.$style.partialCheckedFakeMask,on:{click:function(t){return t.preventDefault(),d.detectSeriesDisabledSubItem(e.SeriesID)}}}):d._e(),d._v(" "),f("FilterCheckBox",{attrs:{isTabindex:!!d.collapsibleFilterList[d.seriesFilter.Series.SeriesName]&&!(d.isMobile&&!d.isMobileOpen),filterID:e.SeriesID,enableList:d.seriesFilterEnable.Series,isPartialChecked:!!d.seriesFilterPartialChecked[e.SeriesID],checkBoxName:e.Name},on:{input:function(t){return d.subSeriesSelectAllJudge(e.SeriesID,d.seriesFilter.Series.SeriesName+"/"+e.Name)}},model:{value:d.filterChecked.seriesCheckedList,callback:function(e){d.$set(d.filterChecked,"seriesCheckedList",e)},expression:"filterChecked.seriesCheckedList"}},[d._v("\n "+d._s(e.Name)+"\n "),d.seriesFilterEnable?f("span",[d._v("\n ("+d._s(d.seriesFilterCount["series_"+e.SeriesID])+")\n ")]):d._e()]),d._v(" "),f("div",{class:[(t={},t[d.$style.toggleBtn]=e.Item&&e.Item.length>0,t),(r={},r[d.$style.collapseBtn]=d.collapsibleFilterList[e.Name+"_"+e.SeriesID],r)],attrs:{role:"button","aria-label":d.collapsibleFilterList[e.Name+"_"+e.SeriesID]?d.translationExpand:d.translationCollapse,"aria-expanded":d.collapsibleFilterList[e.Name+"_"+e.SeriesID]?"true":"false",tabindex:e.Item&&e.Item.length>0&&d.collapsibleFilterList[d.seriesFilter.Series.SeriesName]?0:-1,"data-name":"toggleButton"},on:{click:function(t){return t.preventDefault(),d.collapsibleListToggle(e.Name+"_"+e.SeriesID)}}})],1),d._v(" "),e.Item&&e.Item.length>0?f("div",{class:[d.$style.subListContainer,(o={},o[d.$style.expand]=d.collapsibleFilterList[e.Name+"_"+e.SeriesID],o)],attrs:{inert:!d.collapsibleFilterList[e.Name+"_"+e.SeriesID]}},d._l(e.Item,(function(t){return f("div",{key:t.Name+"_"+t.ID,class:d.$style.listContent,on:{click:function(e){return e.stopPropagation(),d.triggerCheck(e)}}},[""!==d.getFilterUrl("subSeries",t.WebPath,d.seriesFilterEnable.SubSeries,t.ID)?f("a",{class:d.$style.filterAnchor,attrs:{href:d.getFilterUrl("subSeries",t.WebPath,d.seriesFilterEnable.SubSeries,t.ID),alt:t.Name,tabindex:"-1","aria-hidden":"true"},on:{click:function(e){e.preventDefault()}}},[d._v(d._s(t.Name))]):d._e(),d._v(" "),f("div",{class:d.$style.listItem},[f("FilterCheckBox",{attrs:{isTabindex:!!d.collapsibleFilterList[e.Name+"_"+e.SeriesID]&&!(d.isMobile&&!d.isMobileOpen),filterID:t.ID,enableList:d.seriesFilterEnable.SubSeries,checkBoxName:t.Name},on:{input:function(r){return d.seriesSelectJudge(t.ID,e.SeriesID,d.seriesFilter.Series.SeriesName+"/"+t.Name)}},model:{value:d.filterChecked.subSeriesCheckedList,callback:function(e){d.$set(d.filterChecked,"subSeriesCheckedList",e)},expression:"filterChecked.subSeriesCheckedList"}},[d._v("\n "+d._s(t.Name)+"\n "),d.seriesFilterEnable?f("span",[d._v("\n ("+d._s(d.seriesFilterCount["subSeries_"+e.SeriesID+"_"+t.ID])+")\n ")]):d._e()])],1)])})),0):d._e()])})),0):d._e()]):d._e(),d._v(" "),d.hasSpecCategory?d._l(d.seriesFilter.SpecCategory,(function(e,t){var r,o,n,l,c,h,_;return f("div",{directives:[{name:"show",rawName:"v-show",value:e&&e.Item.length>0,expression:"SpecCategory && SpecCategory.Item.length > 0"}],key:e.Name+"_"+e.ID,class:[d.$style.filterSection,(r={},r[d.$style.stockItem]=!!d.hasStock&&"Stock"===e.OrderType,r)],attrs:{id:0===t?"skipContentFocus":""}},[f("div",{class:[d.$style.title,(o={},o[d.$style.toggleIcon]=e.Item.length>0,o),(n={},n[d.$style.collapseIcon]=d.collapsibleFilterList[e.Name+"_"+e.ID],n)],attrs:{role:"button","aria-label":e.Name,"aria-expanded":d.collapsibleFilterList[e.Name+"_"+e.ID]?"true":"false","aria-controls":d.collapsibleFilterList[e.Name+"_"+e.ID]?"":"drawer",tabindex:d.isMobile&&!d.isMobileOpen?-1:0},on:{click:function(t){return d.collapsibleListToggle(e.Name+"_"+e.ID)}}},[d._v("\n "+d._s(e.Name)+"\n ")]),d._v(" "),f("div",{class:[d.$style.listContainer,(l={},l[d.$style.expand]=d.collapsibleFilterList[e.Name+"_"+e.ID],l)],attrs:{inert:!d.collapsibleFilterList[e.Name+"_"+e.ID]}},[d._l(e.Item,(function(t){var r,o,n;return f("div",{key:t.Name+"_"+t.Id,class:d.$style.listContent,on:{click:function(e){return d.triggerCheck(e)}}},[""!==d.getFilterUrl("spec",t.Id,d.seriesFilterEnable.Spec,t.Id)?f("a",{class:d.$style.filterAnchor,attrs:{href:d.getFilterUrl("spec",t.Id,d.seriesFilterEnable.Spec,t.Id),alt:t.Name,tabindex:"-1","aria-hidden":"true"},on:{click:function(e){e.preventDefault()}}},[d._v(d._s(t.Name))]):d._e(),d._v(" "),f("div",{class:d.$style.listItem},[d.specFilterPartialChecked[t.Id]?f("div",{class:d.$style.partialCheckedFakeMask,on:{click:function(e){return e.preventDefault(),d.detectSpecDisabledSubItem(t.Id)}}}):d._e(),d._v(" "),f("FilterCheckBox",{attrs:{isTabindex:!!d.collapsibleFilterList[e.Name+"_"+e.ID]&&!(d.isMobile&&!d.isMobileOpen),filterID:t.Id,enableList:d.seriesFilterEnable.Spec,isPartialChecked:!!d.specFilterPartialChecked[t.Id],checkBoxName:t.Name},on:{input:function(r){return d.subSpecSelectAllJudge(t.Id,e.Name+"/"+t.Name)}},model:{value:d.filterChecked.specCheckedList,callback:function(e){d.$set(d.filterChecked,"specCheckedList",e)},expression:"filterChecked.specCheckedList"}},[d._v("\n "+d._s(t.Name)+"\n "),d.seriesFilterEnable?f("span",[d._v("\n ("+d._s(d.seriesFilterCount["spec_"+t.Id])+")\n ")]):d._e()]),d._v(" "),f("div",{class:[(r={},r[d.$style.toggleBtn]=t.SubItem&&t.SubItem.length>0,r),(o={},o[d.$style.collapseBtn]=d.collapsibleFilterList[t.Name+"_"+t.Id],o)],attrs:{role:"button","aria-label":d.collapsibleFilterList[t.Name+"_"+t.Id]?d.translationExpand:d.translationCollapse,"aria-expanded":d.collapsibleFilterList[t.Name+"_"+t.Id]?"true":"false",tabindex:t.SubItem&&t.SubItem.length>0&&d.collapsibleFilterList[e.Name+"_"+e.ID]?0:-1,"data-name":"toggleButton"},on:{click:function(e){return e.preventDefault(),d.collapsibleListToggle(t.Name+"_"+t.Id)}}})],1),d._v(" "),t.SubItem&&t.SubItem.length>0?f("div",{class:[d.$style.subListContainer,(n={},n[d.$style.expand]=d.collapsibleFilterList[t.Name+"_"+t.Id],n)],attrs:{inert:!d.collapsibleFilterList[t.Name+"_"+t.Id]}},d._l(t.SubItem,(function(r){return f("div",{key:r.Name+"_"+r.Id,class:d.$style.listContent,attrs:{alt:r.Name},on:{click:function(e){return e.stopPropagation(),d.triggerCheck(e)}}},[""!==d.getFilterUrl("subSpec",r.Id,d.seriesFilterEnable.SubSpec,r.Id)?f("a",{class:d.$style.filterAnchor,attrs:{href:d.getFilterUrl("subSpec",r.Id,d.seriesFilterEnable.SubSpec,r.Id),tabindex:"-1","aria-hidden":"true"},on:{click:function(e){e.preventDefault()}}}):d._e(),d._v(" "),f("div",{class:d.$style.listItem},[f("FilterCheckBox",{attrs:{isTabindex:!!d.collapsibleFilterList[t.Name+"_"+t.Id]&&!(d.isMobile&&!d.isMobileOpen),filterID:r.Id,enableList:d.seriesFilterEnable.SubSpec,checkBoxName:r.Name},on:{input:function(o){return d.specSelectJudge(r.Id,t.Id,e.Name+"/"+r.Name)}},model:{value:d.filterChecked.subSpecCheckedList,callback:function(e){d.$set(d.filterChecked,"subSpecCheckedList",e)},expression:"filterChecked.subSpecCheckedList"}},[d._v("\n "+d._s(r.Name)+"\n "),d.seriesFilterEnable?f("span",[d._v("\n ("+d._s(d.seriesFilterCount["subSpec_"+t.Id+"_"+r.Id])+")\n ")]):d._e()])],1)])})),0):d._e()])})),d._v(" "),d.isShowPriceBar(e.OrderType,e.Item)?f("div",{class:[d.$style.priceBar,(c={},c[d.$style.isError]=d.isPriceError,c)]},[f("div",{class:d.$style.toolBox},[f("div",{class:d.$style.inputBox},[f("input",{directives:[{name:"model",rawName:"v-model",value:d.minPrice,expression:"minPrice"}],class:[d.$style.priceInput,(h={},h[d.$style.isError]=d.isMinPriceError,h)],attrs:{type:"number",min:"0",placeholder:""+(d.seriesFilter.Translation.FilterPriceMin||"Min"),tabindex:d.collapsibleFilterList[e.Name+"_"+e.ID]?0:-1},domProps:{value:d.minPrice},on:{input:function(e){e.target.composing||(d.minPrice=e.target.value)}}})]),d._v(" "),f("div",{class:d.$style.inputBox},[f("input",{directives:[{name:"model",rawName:"v-model",value:d.maxPrice,expression:"maxPrice"}],class:[d.$style.priceInput,(_={},_[d.$style.isError]=d.isMaxPriceError,_)],attrs:{type:"number",min:"0",placeholder:""+(d.seriesFilter.Translation.FilterPriceMax||"Max"),tabindex:d.collapsibleFilterList[e.Name+"_"+e.ID]?0:-1},domProps:{value:d.maxPrice},on:{input:function(e){e.target.composing||(d.maxPrice=e.target.value)}}})]),d._v(" "),f("div",{class:d.$style.priceButton,attrs:{tabindex:d.collapsibleFilterList[e.Name+"_"+e.ID]?0:-1,role:"button","aria-label":"price filter submit"},on:{click:function(e){return d.clickPriceButton()}}},[f("svg",{class:d.$style.arrowRightSVG,attrs:{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",tabindex:"",role:"presentation",focusable:"false"}},[f("path",{attrs:{d:"M5 2.5L10.7 8 5 13.5",stroke:"#181818","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}})])])]),d._v(" "),f("div",{class:d.$style.errorText},[d._v(d._s(d.errorText))])]):d._e()],2)])})):d._e(),d._v(" "),d.isShowToggleButton?f("div",{class:d.$style.filterToggleButton},[d.isShowCollapseAll?f("span",{attrs:{tabindex:d.isMobile&&!d.isMobileOpen?-1:0,"aria-label":d.translationCollapse+" spec filters",role:"button"},on:{click:function(e){return d.collapseAll()}}},[d._v(d._s(d.translationCollapse))]):d._e(),d._v(" "),d.isShowExpandAll?f("span",{attrs:{tabindex:d.isMobile&&!d.isMobileOpen?-1:0,"aria-label":d.translationExpand+" spec filters",role:"button"},on:{click:function(e){return d.expandAll()}}},[d._v(d._s(d.translationExpand))]):d._e()]):d._e()],2):d._e()}),[],!1,(function(e){this.$style=D.default.locals||D.default}),null,null);t.a=component.exports},864:function(e,t,r){"use strict";r(60),r(37),r(107),r(33),r(424),r(13),r(79),r(23),r(18),r(19),r(28),r(39),r(32),r(38),r(53);var o,n=r(5),l=r(1),c=(r(583),r(59)),d=r.n(c),h=r(591),f=r(600),_=r(579),v=r(31),m=r(141),S=r(2),y=r.n(S),C=r(578),P=r.n(C),k=(o=function(e,b){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,b){e.__proto__=b}||function(e,b){for(var p in b)b.hasOwnProperty(p)&&(e[p]=b[p])})(e,b)},function(e,b){function t(){this.constructor=e}o(e,b),e.prototype=null===b?Object.create(b):(t.prototype=b.prototype,new t)}),L=function(){return(L=Object.assign||function(e){for(var s,i=1,t=arguments.length;i=0;i--)(o=e[i])&&(c=(l<3?o(c):l>3?o(t,r,c):o(t,r))||c);return l>3&&c&&Object.defineProperty(t,r,c),c},I=r(585);l.Vue.use(I);var w=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.breakPointMedium=P.a.breakPointMedium?parseInt(P.a.breakPointMedium,10):1279,t.breakPointSmall=P.a.breakPointSmall?parseInt(P.a.breakPointSmall,10):731,t.rwdState="",t.isSpecExpand=!1,t.gaImpressions=[],t.featureAccessoriesList=[],t.groupIdFlag=!1,t.groupId="",t.windowWidth=0,t.websiteCode="",t.intervalIDPgae=!1,t.rowMaxNum=300,t.swiperFeatureOption={slidesPerView:"auto",slidesPerGroup:1,direction:"horizontal",navigation:{nextEl:".swiper-feature-button-next",prevEl:".swiper-feature-button-prev"},breakpoints:{1023:{freeMode:!0}}},t.isRTL=!1,t}return k(t,e),t.prototype.routeChange=function(){this.$route.params.ProductLevel1Code&&(this.websiteCode=Object(m.b)(this.$route.params.region),this.getStoreFeatureAccessories({params:{SystemCode:"ASUS",WebsiteCode:this.websiteCode,TabKey:"Store"!==this.$route.name?this.$route.params.ProductLevel1Code:""},routePath:this.$route.fullPath}),this.setArrowTabindex())},t.prototype.setStoreFeatureAccessories=function(){var e=this;if(this.featureAccessoriesList=this.storeFeatureAccessoriesGetter,this.featureAccessoriesList.ProductList&&this.featureAccessoriesList.ProductList.length>0){var t=this.storeFeatureAccessoriesGetter.ProductList;for(var r in t)this.gaImpressions.push({name:t[r].Name.replace(/<[^>]*>/g,""),id:0===t[r].GetURLFlag?t[r].ProductID:t[r].PartNo,dimension10:0===t[r].GetURLFlag?t[r].ProductID:t[r].PartNo,price:t[r].Price,brand:0===t[r].GetURLFlag?"ASUS":"ROG",category:t[r].Level1Path+"-"+t[r].Level2Path+"/"+t[r].CategoryName+"/"+t[r].Level3Path+"/"+(t[r].SubSeriesName?t[r].SubSeriesName:"undefined"),list:"store_accessory_list",position:Number(r)+1});this.$nextTick((function(){e.getProductCardContentHeight(e.featureAccessoriesList.ProductList,"all","feature_accessories")})),this.gaDataLayerPush({event:"productImpression",ecommerce:{currencyCode:this.loginInfoGetter.CurrencyCode,impressions:this.gaImpressions}})}this.websiteCode&&this.featureAccessoriesList&&this.featureAccessoriesList.ProductList&&this.featureAccessoriesList.ProductList.length&&this.getPrice()},t.prototype.setLoginInfo=function(){null===this.loginInfoGetter.LoginInfo&&this.websiteCode&&(this.groupId=""),this.groupIdFlag=!0,this.getPrice()},t.prototype.setGroupId=function(){var e=this;this.$nextTick((function(){e.websiteCode&&(e.groupIdFlag=!0,e.getPrice())}))},t.prototype.specExpandChange=function(e){this.$set(this,"isSpecExpand",!this.isSpecExpand)},t.prototype.getPrice=function(){if(this.websiteCode&&this.featureAccessoriesList&&this.featureAccessoriesList.ProductList&&this.featureAccessoriesList.ProductList.length&&this.groupIdFlag){for(var e=[],t=[],r=[],i=0;i0&&o.$set(o.featureAccessoriesList.ProductList,i,L(L({},o.featureAccessoriesList.ProductList[i]),{Price:r[0]&&""!==r[0].Price?r[0].Price:"",Discount:r[0]&&""!==r[0].Discount?r[0].Discount:"",RegularPrice:r[0]&&""!==r[0].Regular_Price?r[0].Regular_Price:"",StartingAtWording:r[0]&&""!==r[0].StartingAtWording?r[0].StartingAtWording:"",HistoricLowPrice:r[0]&&""!==r[0].HistoricLowPrice?r[0].HistoricLowPrice:"",Buy:L(L({},o.featureAccessoriesList.ProductList[i].Buy),{Link:r[0]&&""!==r[0].BuyLink?r[0].BuyLink:"",Text:r[0]&&""!==r[0].BuyText?r[0].BuyText:"",Code:r[0]&&""!==r[0].BuyCode?r[0].BuyCode:""})}))}},o=this,i=0;ithis.breakPointMedium?(this.rwdState="desktop",this.isSpecExpand=!0):this.windowWidth>this.breakPointSmall?(this.rwdState="tablet",this.isSpecExpand=!1):(this.rwdState="mobile",this.isSpecExpand=!1)},t.prototype.checkComplate=function(e){var t=this;clearInterval(t.intervalIDPgae),this.intervalIDPgae=setInterval((function(){if(document&&document.querySelectorAll("."+e+" .bv_numReviews_component_container").length===document.querySelectorAll("."+e+" .bazaaInlineRating").length){var r=document.querySelectorAll("."+e+" .bv_numReviews_component_container").length;document.querySelectorAll("."+e+" .bv_numReviews_component_container").forEach((function(e,o){"(0)"===e.textContent?(t.$set(t.productCardContentHeight[o],"bv",0),t.$set(t.productCardContentHeight[o],"bv2",0)):(t.$set(t.productCardContentHeight[o],"bv",24),t.$set(t.productCardContentHeight[o],"bv2",24)),o+1===r&&t.getHideProductCardRwdContent(t.productCardContentHeight,t.rowMaxNum)})),clearInterval(t.intervalIDPgae)}}),1e3)},t.prototype.setArrowTabindex=function(){document.querySelectorAll(".swiper-button-prev").length>0&&document.querySelectorAll(".swiper-button-prev").forEach((function(element){element.classList.contains("swiper-button-disabled")?element.tabIndex="-1":element.tabIndex="0"}));document.querySelectorAll(".swiper-button-next").length>0&&document.querySelectorAll(".swiper-button-next").forEach((function(element){element.classList.contains("swiper-button-disabled")?element.tabIndex="-1":element.tabIndex="0"}))},t.prototype.buttonTabClick=function(e,t){if(void 0===e&&(e=""),(t.currentTarget.classList.contains("swiper-button-prev")||t.currentTarget.classList.contains("swiper-button-next"))&&this.setArrowTabindex(),t.target.classList.contains("swiper-slide")){var r=this.$refs[e+"Swiper"];t.shiftKey&&9===t.keyCode?r.swiper.slidePrev():9===t.keyCode&&r.swiper.slideNext(),this.setArrowTabindex()}},F([Object(l.Getter)("storeFeatureAccessoriesGetter")],t.prototype,"storeFeatureAccessoriesGetter",void 0),F([Object(l.Getter)("loginInfoGetter")],t.prototype,"loginInfoGetter",void 0),F([Object(l.Getter)("PDPriceListGetter")],t.prototype,"PDPriceListGetter",void 0),F([Object(l.Getter)("groupIdGetter")],t.prototype,"groupIdGetter",void 0),F([Object(l.Getter)("priceConfigGetter")],t.prototype,"priceConfigGetter",void 0),F([Object(l.Action)("getPDPriceList")],t.prototype,"dispatchPDPriceList",void 0),F([Object(l.Action)("getStoreFeatureAccessories")],t.prototype,"getStoreFeatureAccessories",void 0),F([Object(l.Prop)({default:""})],t.prototype,"paddingTop",void 0),F([Object(l.Prop)()],t.prototype,"defLevelId",void 0),F([Object(l.Watch)("$route.params.ProductLevel1Code",{immediate:!0})],t.prototype,"routeChange",null),F([Object(l.Watch)("storeFeatureAccessoriesGetter",{immediate:!0})],t.prototype,"setStoreFeatureAccessories",null),F([Object(l.Watch)("loginInfoGetter")],t.prototype,"setLoginInfo",null),F([Object(l.Watch)("groupIdGetter")],t.prototype,"setGroupId",null),F([Object(l.Watch)("PDPriceListGetter")],t.prototype,"setPriceIdList",null),F([Object(l.Watch)("windowWidth")],t.prototype,"reloadSource",null),t=F([Object(l.Component)({components:{ProductCardNormal:f.a,GhostButton:_.a}})],t)}(Object(l.mixins)(h.a,v.a)),x=r(999),$=r(10);var component=Object($.a)(w,(function(){var e,t=this,r=t.$createElement,o=t._self._c||r;return t.storeFeatureAccessoriesGetter&&Object.keys(t.storeFeatureAccessoriesGetter).length>0&&t.storeFeatureAccessoriesGetter.ProductList&&Object.keys(t.storeFeatureAccessoriesGetter.ProductList).length>0?o("div",{class:t.$style.featuredAccessoriesWrapper,style:{paddingTop:t.paddingTop+"px"},attrs:{id:t.storeFeatureAccessoriesGetter.Anchor+"Section"}},[o("div",{class:t.$style.sectionHeadingWrapper,attrs:{id:t.storeFeatureAccessoriesGetter.Anchor}},[o("h2",{class:t.$style.sectionHeading},[t._v("\n "+t._s(t.storeFeatureAccessoriesGetter.FeaturedAccessoriesTitle)+"\n ")])]),t._v(" "),o("div",{class:t.$style.sectionWrapper},[o("div",{directives:[{name:"swiper",rawName:"v-swiper:featureSwiper",value:t.swiperFeatureOption,expression:"swiperFeatureOption",arg:"featureSwiper"}],ref:"featureSwiper",class:t.$style.sliderSection},[o("div",{staticClass:"feature_accessories",class:["swiper-wrapper",t.$style.swiperWrapper]},[t.storeFeatureAccessoriesGetter.FeaturedAccessories&&Object.keys(t.storeFeatureAccessoriesGetter.FeaturedAccessories).length>0?o("div",{class:["swiper-slide",t.$style.swiperSlide,(e={},e[t.$style.swiperMainSlide]=!0,e)],style:{backgroundColor:t.storeFeatureAccessoriesGetter.FeaturedAccessories.BackgroundColor,order:0}},[o("div",{class:t.$style.slideInfo},[o("div",{class:t.$style.slideTitle},[t._v("\n "+t._s(t.storeFeatureAccessoriesGetter.FeaturedAccessories.Title)+"\n ")]),t._v(" "),o("div",{class:t.$style.slideDescription},[t._v("\n "+t._s(t.storeFeatureAccessoriesGetter.FeaturedAccessories.FeatureDesc)+"\n ")]),t._v(" "),t.storeFeatureAccessoriesGetter.FeaturedAccessories.LinkText&&t.storeFeatureAccessoriesGetter.FeaturedAccessories.Link?o("GhostButton",{class:t.$style.ghostButton,attrs:{theme:"Blue",color:"#006ce1",href:t.storeFeatureAccessoriesGetter.FeaturedAccessories.Link,needCallEvent:!0,noHover:!0,target:t.storeFeatureAccessoriesGetter.FeaturedAccessories.LinkTarget},on:{click:function(e){return t.sendGA(t.storeFeatureAccessoriesGetter.FeaturedAccessories.ImageURL["1x"],t.storeFeatureAccessoriesGetter.FeaturedAccessories.ImageURL["1x"],0,t.storeFeatureAccessoriesGetter.FeaturedAccessories.LinkText,t.storeFeatureAccessoriesGetter.FeaturedAccessories.Link,"LearnMore")}}},[t._v("\n "+t._s(t.storeFeatureAccessoriesGetter.FeaturedAccessories.LinkText)+"\n ")]):t._e()],1),t._v(" "),o("div",{class:t.$style.slideImageWrapper},[o("picture",[t.storeFeatureAccessoriesGetter.FeaturedAccessories.ImageURL["1x"]&&t.storeFeatureAccessoriesGetter.FeaturedAccessories.ImageURL["1x"].includes("/gain/")?o("source",{attrs:{srcset:t.storeFeatureAccessoriesGetter.FeaturedAccessories.ImageURL["1x"]+"/fwebp 1x, "+t.storeFeatureAccessoriesGetter.FeaturedAccessories.ImageURL["2x"]+"/fwebp 2x"}}):t._e(),t._v(" "),t.storeFeatureAccessoriesGetter.FeaturedAccessories.ImageURL["1x"]&&t.storeFeatureAccessoriesGetter.FeaturedAccessories.ImageURL["1x"].includes("/media/Odin/")?o("source",{attrs:{type:"image/webp",srcset:t.storeFeatureAccessoriesGetter.FeaturedAccessories.ImageURL["1x"]+"?webp 1x, "+t.storeFeatureAccessoriesGetter.FeaturedAccessories.ImageURL["2x"]+"?webp 2x"}}):t._e(),t._v(" "),o("img",{class:t.$style.slideImage,attrs:{loading:!t.isRTL&&"lazy",src:t.storeFeatureAccessoriesGetter.FeaturedAccessories.ImageURL["1x"],alt:t.storeFeatureAccessoriesGetter.FeaturedAccessories.Title}})])])]):t._e(),t._v(" "),t._l(t.featureAccessoriesList.ProductList,(function(e,r){return o("div",{key:r,class:["swiper-slide",t.$style.swiperSlide],attrs:{tabindex:"0"},on:{keydown:function(e){return t.buttonTabClick("feature",e)}}},[o("ProductCardNormal",{staticClass:"feature_accessories",attrs:{rwdWidth:t.windowWidth,"card-index":r,isWhiteCard:!0,isColorSelector:!1,isHideCompare:!0,productCardContent:t.productCardContent[r],productCardContentHeight:t.productCardContentRowHeight[r],productCardItem:e,defLevelId:t.defLevelId,gaActionField:"store_accessory_list",pageName:"accessory",isSpecExpand:t.isSpecExpand},on:{specExpandChange:t.specExpandChange}})],1)}))],2)]),t._v(" "),o("div",{class:["swiper-button-prev","swiper-feature-button-prev",t.$style.swiperPrevButton],attrs:{slot:"button-prev"},on:{keydown:function(e){return t.buttonTabClick("",e)}},slot:"button-prev"},[o("svg",{class:t.$style.icon,attrs:{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{d:"M19 26l-9-11 9-11",stroke:"#fff","stroke-width":"3","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}})])]),t._v(" "),o("div",{class:["swiper-button-next","swiper-feature-button-next",t.$style.swiperNextButton],attrs:{slot:"button-next"},on:{keydown:function(e){return t.buttonTabClick("",e)}},slot:"button-next"},[o("svg",{class:t.$style.icon,attrs:{width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[o("path",{attrs:{d:"M11 26l9-11-9-11",stroke:"#fff","stroke-width":"3","stroke-miterlimit":"10","stroke-linecap":"round","stroke-linejoin":"round"}})])])])]):t._e()}),[],!1,(function(e){this.$style=x.default.locals||x.default}),null,null);t.a=component.exports},865:function(e,t,r){"use strict";r(13),r(23),r(53);var o,n=r(5),l=r(1),c=r(31),d=r(578),h=r.n(d),f=r(29),_=r.n(f),v=r(337),m=(o=function(e,b){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,b){e.__proto__=b}||function(e,b){for(var p in b)b.hasOwnProperty(p)&&(e[p]=b[p])})(e,b)},function(e,b){function t(){this.constructor=e}o(e,b),e.prototype=null===b?Object.create(b):(t.prototype=b.prototype,new t)}),S=function(e,t,r,desc){var o,l=arguments.length,c=l<3?t:null===desc?desc=Object.getOwnPropertyDescriptor(t,r):desc;if("object"===("undefined"==typeof Reflect?"undefined":Object(n.a)(Reflect))&&"function"==typeof Reflect.decorate)c=Reflect.decorate(e,t,r,desc);else for(var i=e.length-1;i>=0;i--)(o=e[i])&&(c=(l<3?o(c):l>3?o(t,r,c):o(t,r))||c);return l>3&&c&&Object.defineProperty(t,r,c),c},y=r(585);l.Vue.use(y);var C=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.breakPointMedium=h.a.breakPointMedium?parseInt(h.a.breakPointMedium,10):1279,t.breakPointSmall=h.a.breakPointSmall?parseInt(h.a.breakPointSmall,10):731,t.isExpandPageBar=!1,t.isShowPageBar=!1,t.pageBarTop=0,t.tabsSectionScrollTop=0,t.tabsSectionHeight=0,t.tabsSectionTop=0,t.beforeScrollTop=0,t.currentPageIndex=0,t.focusExpandBtn=!1,t}return m(t,e),t.prototype.onOpenChange=function(){var e=window.innerWidth-document.documentElement.clientWidth,t=this.$refs.overlay,r=this.$refs.pageBar;t.style.setProperty("--contentWidth",e+"px"),t.classList.add("fixedScroll"),this.isExpandPageBar?(document.querySelector("html").style.setProperty("--contentWidth",e+"px"),document.querySelector("html").classList.add("fixed","fixedScroll"),this.isShowPageBar&&(r.style.setProperty("--contentWidth",e+"px"),r.classList.add("fixedScroll")),this.aiChatClose()):(document.querySelector("html").classList.remove("fixed","fixedScroll"),this.isShowPageBar&&r.classList.remove("fixedScroll"),this.aiChatOpen())},t.prototype.letExpandBtnFocus=function(){var e=this;this.focusExpandBtn&&setTimeout((function(){e.$refs.expandButton.focus()}),10)},Object.defineProperty(t.prototype,"productsList",{get:function(){for(var e=_()(this.byProductsList),i=0;i=e?window.scrollY>this.beforeScrollTop?this.isHomePage&&"desktop"==this.rwdState?this.isShowPageBar=!0:(this.isShowPageBar=!1,this.isExpandPageBar=!1):this.isShowPageBar=!0:(this.isExpandPageBar=!1,this.isShowPageBar=!1),this.beforeScrollTop=window.scrollY},t.prototype.scrollTop=function(){window.scrollTo({top:0,behavior:"smooth"})},t.prototype.togglePageBarExpand=function(){this.isExpandPageBar=!this.isExpandPageBar},t.prototype.pageBarItemFocusEvent=function(e){e.target.focus()},t.prototype.pageBarItemTabClickEvent=function(e,t){var r=this;this.$nextTick((function(){var o=r.eventsList.length>0;!o&&1===e&&t+1===r.productsList.length||o&&2===e&&t+1===r.eventsList.length?(r.focusExpandBtn=!0,r.$refs.expandButton.focus()):r.focusExpandBtn=!1}))},t.prototype.tabClick=function(e,t,r){"All-Deals"===e?this.$router.push({name:"Deals"}):"outlet"===e?this.$router.push({name:"Outlet"}):1===t?this.$router.push({name:"DealsEvent",params:{dealsEventName:e}}):e!==this.$route.params.ProductLevel1Code&&(r&&(this.currentPageIndex=r+1),this.$router.push({name:"DealsWebPath",params:{ProductLevel1Code:e}}))},S([Object(l.Prop)({default:""})],t.prototype,"rwdState",void 0),S([Object(l.Prop)({default:!1})],t.prototype,"isHomePage",void 0),S([Object(l.Prop)({default:""})],t.prototype,"browseAll",void 0),S([Object(l.Prop)({default:""})],t.prototype,"shopTitle",void 0),S([Object(l.Prop)({default:"Laptops"})],t.prototype,"categoryTitle",void 0),S([Object(l.Prop)({default:""})],t.prototype,"byProductsTitle",void 0),S([Object(l.Prop)()],t.prototype,"byProductsList",void 0),S([Object(l.Prop)({default:""})],t.prototype,"byEventsTitle",void 0),S([Object(l.Prop)()],t.prototype,"byEventsList",void 0),S([Object(l.Prop)({default:""})],t.prototype,"page",void 0),S([Object(l.Prop)({default:""})],t.prototype,"gaEventPath",void 0),S([Object(l.Prop)({default:""})],t.prototype,"ga4EventPath",void 0),S([Object(l.Watch)("isExpandPageBar")],t.prototype,"onOpenChange",null),S([Object(l.Watch)("focusExpandBtn")],t.prototype,"letExpandBtnFocus",null),t=S([Object(l.Component)({components:{}})],t)}(Object(l.mixins)(c.a,v.a)),P=r(982),k=r(10);var component=Object(k.a)(C,(function(){var e,t,r,o,n,l=this,c=l.$createElement,d=l._self._c||c;return d("div",[d("div",{ref:"overlay",class:[l.$style.overlay,(e={},e[l.$style.enable]=l.isExpandPageBar,e),(t={},t.menuShow=!0===l.isExpandPageBar,t)],on:{click:function(e){return l.togglePageBarExpand()}}}),l._v(" "),d("div",{ref:"pageBar",class:["pageBar",l.$style.pageBarWrapper,(r={},r[l.$style.fixed]=l.isShowPageBar||l.isHomePage,r.pageBarWrapperFixed=l.isShowPageBar,r[l.$style.fadeIn]=l.isShowPageBar,r[l.$style.fadeOut]=!l.isShowPageBar,r)],style:{top:l.isShowPageBar?"0px":l.isHomePage?"-48px":"",display:l.isShowPageBar?"block":l.isHomePage?"none":"block","--pageBarTop":l.isShowPageBar?"0px":"-48px"},attrs:{id:"pageBar"}},[d("div",{class:l.$style.pageBarHeadingWrapper},[d("div",{class:l.$style.pageBarHeadingContainer},[d("div",{class:l.$style.shopTitle},[d("div",{attrs:{"aria-label":l.shopTitle,tabindex:l.isShowPageBar?"0":l.isHomePage?"-1":"0","aria-disabled":l.isShowPageBar?"false":l.isHomePage?"true":"false",role:"button"},on:{click:function(e){l.isHomePage||"store"===l.page?l.scrollTop():l.$router.push({name:l.page[0].toUpperCase()+l.page.substring(1)}),l.gaDataLayerPush({event:"data_layer_event",event_name_ga4:"title_page_bar_"+l.ga4EventPath+"_official",event_category_DL:"page_bar/"+l.gaEventPath+"/official",event_action_DL:"clicked",event_label_DL:l.page+"/page_bar/"+l.gaEventPath+"/official",event_value_DL:""})}}},[d("span",[l._v(l._s(l.shopTitle))])]),l._v(" "),l.isHomePage?l._e():d("div",[d("span",{class:l.$style.bar}),l._v(" "),d("span",{class:l.$style.category},[l._v(l._s(l.categoryTitle))])])]),l._v(" "),d("div",{ref:"expandButton",class:[l.$style.expandButton,(o={},o[l.$style.expand]=l.isExpandPageBar,o)],attrs:{"aria-expanded":l.isExpandPageBar?"true":"false","aria-label":l.browseAll,role:"button",tabindex:l.isShowPageBar?"0":l.isHomePage?"-1":"0"},on:{click:function(e){l.isExpandPageBar?l.gaDataLayerPush({event:"data_layer_event",event_name_ga4:"browse_all_c_page_bar_"+l.ga4EventPath+"_official",event_category_DL:"page_bar/"+l.gaEventPath+"/official",event_action_DL:"clicked",event_label_DL:"browse_all_close/page_bar/"+l.gaEventPath+"/official",event_value_DL:""}):l.gaDataLayerPush({event:"data_layer_event",event_name_ga4:"browse_all_o_page_bar_"+l.ga4EventPath+"_official",event_category_DL:"page_bar/"+l.gaEventPath+"/official",event_action_DL:"clicked",event_label_DL:"browse_all_open/page_bar/"+l.gaEventPath+"/official",event_value_DL:""}),l.togglePageBarExpand()},focus:function(e){return l.pageBarItemFocusEvent(e)},focusout:function(e){return l.pageBarItemTabClickEvent(0,0)}}},[l.browseAll?d("span",[l._v(l._s(l.browseAll))]):l._e(),l._v(" "),d("svg",{class:l.$style.expandIcon,attrs:{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg","svg-inline":"",role:"presentation",focusable:"false",tabindex:"-1"}},[d("path",{attrs:{d:"M1.875 6.25L10 13.125l8.125-6.875",stroke:"#006CE1","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"}})])])])]),l._v(" "),d("transition",{attrs:{name:"fade-menu"}},[d("div",{directives:[{name:"show",rawName:"v-show",value:l.isExpandPageBar,expression:"isExpandPageBar"}],class:[l.$style.pageBarContainer,(n={},n[l.$style.expand]=l.isExpandPageBar,n)]},[d("div",{class:l.$style.tabsMenuWrapper},[l.productsList.length>0?d("div",{class:[l.$style.tabsMenu,"products"]},[d("div",{class:l.$style.menuTitle},[l._v(l._s(l.byProductsTitle))]),l._v(" "),d("div",{class:l.$style.menuItems},[l._l(l.productsList,(function(e,t){return[d("a",{key:"ByProducts_"+t,class:l.$style.menuItem,attrs:{rel:"_blank"===e.TabLinkTarget?"noreferrer noopener":"",tabindex:l.isExpandPageBar?"0":"-1","aria-disabled":l.isExpandPageBar?"0":"-1","aria-label":e.TabDisplayName,href:e.TabLink||"",target:!!e.TabLinkTarget&&e.TabLinkTarget,role:"button"},on:{focus:function(e){return l.pageBarItemFocusEvent(e)},focusout:function(e){return l.pageBarItemTabClickEvent(1,t)},click:function(t){return l.gaDataLayerPush({event:"data_layer_event",event_name_ga4:"text_link_page_bar_"+l.ga4EventPath+"_official",event_category_DL:"page_bar/"+l.gaEventPath+"/official",event_action_DL:"clicked",event_label_DL:e.TabDisplayName+"/products/page_bar/"+l.gaEventPath+"/official",event_value_DL:""})}}},[d("span",{class:l.$style.menuItemText},[l._v(l._s(e.TabDisplayName))])])]}))],2)]):l._e(),l._v(" "),l.eventsList.length>0?d("div",{class:[l.$style.tabsMenu,"deals"]},[d("div",{class:l.$style.menuTitle},[l._v(l._s(l.byEventsTitle))]),l._v(" "),d("div",{class:l.$style.menuItems},[l._l(l.eventsList,(function(e,t){return[d("a",{key:"ByDeals_"+t,class:l.$style.menuItem,attrs:{rel:"_blank"===e.TabLinkTarget?"noreferrer noopener":"",tabindex:l.isExpandPageBar?"0":"-1","aria-disabled":l.isExpandPageBar?"0":"-1","aria-label":e.TabDisplayName,href:e.TabLink||"",target:!!e.TabLinkTarget&&e.TabLinkTarget,role:"button"},on:{focus:function(e){return l.pageBarItemFocusEvent(e)},focusout:function(e){return l.pageBarItemTabClickEvent(2,t)},click:function(t){return l.gaDataLayerPush({event:"data_layer_event",event_name_ga4:"text_link_page_bar_"+l.ga4EventPath+"_official",event_category_DL:"page_bar/"+l.gaEventPath+"/official",event_action_DL:"clicked",event_label_DL:e.TabDisplayName+"/events/page_bar/"+l.gaEventPath+"/official",event_value_DL:""})}}},[d("span",{class:l.$style.menuItemText},[l._v(l._s(e.TabDisplayName))])])]}))],2)]):l._e()])])])],1)])}),[],!1,(function(e){this.$style=P.default.locals||P.default}),null,null);t.a=component.exports},879:function(e,t,r){"use strict";var o=r(636),n=r.n(o);t.default=n.a},954:function(e,t,r){"use strict";var o=r(678),n=r.n(o);t.default=n.a},963:function(e,t,r){"use strict";var o=r(686),n=r.n(o);t.default=n.a},964:function(e,t,r){"use strict";var o=r(687),n=r.n(o);t.default=n.a},982:function(e,t,r){"use strict";var o=r(706),n=r.n(o);t.default=n.a},987:function(e,t,r){"use strict";var o=r(711),n=r.n(o);t.default=n.a},992:function(e,t,r){"use strict";var o=r(716),n=r.n(o);t.default=n.a},999:function(e,t,r){"use strict";var o=r(723),n=r.n(o);t.default=n.a}}]);