import{R as e}from"./BCLrUOBx.js";const a=()=>({slider:null,banners:null,collections:null,siteFeatures:null,featuredCategories:null,featuredBrands:null,flashSales:null,hasHomeData:null,products:null}),l={setHomeProducts(t){this.products=t},setFlashSale(t){this.flashSales=t},setHomeData(t){const s=t.data;this.hasHomeData=!0,this.slider=s==null?void 0:s.slider,this.siteFeatures=s==null?void 0:s.site_features,this.banners=s==null?void 0:s.banners,this.collections=s==null?void 0:s.collections,this.featuredCategories=s==null?void 0:s.featured_categories,this.featuredBrands=s==null?void 0:s.featured_brands,this.flashSales=s==null?void 0:s.flash_sales}},n=e("home",{state:a,actions:l});export{n as u};
