1this.BX=this.BX||{},this.BX.Citrus=this.BX.Citrus||{},this.BX.Citrus.Vue=this.BX.Citrus.Vue||{},function(a,b){'use strict';let c={state:BX.Citrus.Vuex.store,name:"CatalogSectionDefault",data:function(){return{loading:!1,lineElementCount:4,priceCode:["BASE"],isWholesaler:!1}},computed:{loc(){return b.Vue.getFilteredPhrases("TPL_CATALOG_SECTION_")},view(){return BX.Citrus.Vuex.store.getters["settings/viewGrid"]}},mounted:function(){BX.addCustomEvent("Citrus.Vue.View",this.changedView)},created:function(){b.Vue.event.$on("Citrus.Vue.Component.Filter:set",a=>{this.restParams.filter=a.FILTER,this.refreshComponent()}),b.Vue.event.$on("Citrus.Vue.Component.Section:set",a=>{this.restParams.rewrite.SECTION_ID=a.SECTION_ID,delete this.restParams.filter,this.refreshComponent()}),b.Vue.event.$on("Citrus.Vue.Component.Sort:set",a=>{this.restParams.rewrite.ELEMENT_SORT_FIELD=a.by,this.restParams.rewrite.ELEMENT_SORT_ORDER=a.order,this.refreshComponent()})},beforeDestroy(){b.Vue.event.$off("Citrus.Vue.View")},methods:{isBanner:function(a){return 0!==a&&0==a%(2*this.lineElementCount)},changedView:function(a){a.view&&(BX.Citrus.Vuex.store.dispatch("settings/add",{id:"viewGrid",value:a.view}),setTimeout(()=>{initLazyLoadInView($("#"+this.templateId+" .lazyLoad-in-view"))},100))},doSwitchSelected:function(a){var b=this.sections.filter(function(b){return b.name==a.value});return!(0>=b.length)&&void(this.restParams.rewrite={SECTION_ID:b[0].id},this.refreshComponent())},refreshComponent(){this.loading=!0,BX.rest.callMethod("citrus.component.execute",this.restParams,a=>(this.loading=!1,a.answer.hasOwnProperty("error")?void console.info(a.answer):void(this.products=a.answer.result.product,this.pagination=a.answer.result.pagination,setTimeout(function(){dynamicSlider(".recommend")},100))))}}};
1a.CatalogSectionDefault=c,a.default={CatalogSectionDefault:c}}(this.BX.Citrus.Vue.Component=this.BX.Citrus.Vue.Component||{},BX); 2//# sourceMappingURL=script.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.