const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunk-DurUhp-U.js","assets/chunk-BZODPI8y.js","assets/souav-I_ihqEhP.js","assets/chunk-BRI0aX6c.js","assets/chunk-D1JGNTfG.js","assets/chunk-9PZSJnHb.js","assets/chunk-Bf-nSo-6.js","assets/vant-CXchNwu5.css","assets/chunk-DwkOxDMO.js","assets/chunk-CMQyd8eO.js","assets/chunk-a7obrEbD.js","assets/chunk-DQhVL27x.js","assets/chunk-cn7T4ICr.js","assets/chunk-Bh3yC0yB.js","assets/chunk-DjdYu-xF.js","assets/chunk-BHPWSuhB.js","assets/index-FXzEJeAp.css","assets/animate-BaVkx4tQ.css","assets/chunk-C3nhT9zY.js","assets/chunk-B4KJTzCr.js","assets/chunk-M9zU1roC.js","assets/chunk-Cc8vDyyC.js","assets/chunk-CeY0bcVm.js","assets/chunk-CKqiihmt.js","assets/chunk-Buk7Fy-h.js","assets/chunk-Dvrm3d7Z.js","assets/chunk-Ceys81_6.js","assets/chunk-C-I2o6tN.js","assets/chunk-Dz8VC1R8.js","assets/chunk-CxvoY0dF.js","assets/chunk-CUq6T3AP.js","assets/chunk-NP0qeVws.js","assets/chunk-CV7FJjdR.js","assets/chunk-C68fSiJm.js","assets/swiper-DQfWe2tR.css","assets/BannerVodView-Bh-27VZm.css","assets/chunk-C5xlWhZY.js","assets/chunk-qE2C5OKe.js","assets/chunk-c7KZ3Ct9.js"])))=>i.map(i=>d[i]);
import{r as s,A as e,i as t,a as o,_ as a,c as n}from"./souav-I_ihqEhP.js";import{d as i}from"./chunk-D1JGNTfG.js";import{r as u,C as r,c as l,P as c,M as _,Q as d,B as p,S as m,u as y,Z as h,N as L}from"./chunk-BRI0aX6c.js";import"./chunk-9PZSJnHb.js";import"./chunk-Bf-nSo-6.js";import"./chunk-DwkOxDMO.js";import"./chunk-CMQyd8eO.js";import"./chunk-a7obrEbD.js";import"./chunk-DQhVL27x.js";import"./chunk-cn7T4ICr.js";import"./chunk-Bh3yC0yB.js";import"./chunk-DjdYu-xF.js";import"./chunk-BHPWSuhB.js";/* empty css              */const k=i("FirstClassify",()=>{const o=u(""),a=u([]),n=u([]),i=u([]),r=u(!1);return{isLoading:r,typeId:o,isNeedRequest:function(s){return""===o.value||o.value!==s},setTypeId:function(s){o.value=s},bannerVodList:a,requestCarousel:async function(){a.value=[];let n=await s(e.carousel,{typeId:o.value});if(t(n.code)){const s=n.data.classifyResponse2List;s.length>0&&(a.value=s[0].videoList)}},recommendVodList:n,secondClassifyList:i,requestRecommendList:async function(){r.value=!0;let a=await s(e.home,{typeId:o.value});t(a.code)&&(n.value=a.data.classifyResponse2List),r.value=!1},requestFirstClassify:async function(){i.value=[];let a=await s(e.mod,{typeId:o.value});if(t(a.code)){const s=a.data.extendTypeResponse2List;s&&(i.value=s)}}}}),j={class:"w-full"},f=r({__name:"index",props:{category:{},subCategory:{default:""}},setup(s){const e=h(()=>a(()=>import("./chunk-DurUhp-U.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]))),t=h(()=>a(()=>import("./chunk-C3nhT9zY.js"),__vite__mapDeps([18,19,20,21,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]))),i=h(()=>a(()=>import("./chunk-CeY0bcVm.js"),__vite__mapDeps([22,23,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]))),u=h(()=>a(()=>import("./chunk-Buk7Fy-h.js"),__vite__mapDeps([24,25,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,26,27]))),r=h(()=>a(()=>import("./chunk-Dz8VC1R8.js"),__vite__mapDeps([28,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]))),f=h(()=>a(()=>import("./chunk-CxvoY0dF.js"),__vite__mapDeps([29,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]))),E=h(()=>a(()=>import("./chunk-CUq6T3AP.js"),__vite__mapDeps([30,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]))),I=h(()=>a(()=>import("./chunk-NP0qeVws.js"),__vite__mapDeps([31,20,21,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]))),g=h(()=>a(()=>import("./chunk-CV7FJjdR.js"),__vite__mapDeps([32,33,3,34,2,4,5,6,7,8,9,10,11,12,13,14,15,16,17,21,35]))),v=h(()=>a(()=>import("./chunk-C5xlWhZY.js"),__vite__mapDeps([36,37,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17]))),R=h(()=>a(()=>import("./chunk-c7KZ3Ct9.js"),__vite__mapDeps([38,27,3]))),V=s,A=k(),T=o();return l(()=>{for(const s of n().mainTypes)if(s.type_id.toString()===V.category){s.type_name.replace(/\s*/g,"");break}A.isNeedRequest(V.category)&&(A.setTypeId(V.category),A.requestCarousel(),A.requestRecommendList(),A.requestFirstClassify())}),(s,o)=>(L(),c("div",j,[y(T).topImgAd.length>0?(L(),_(y(e),{key:0,model:y(T).getTopImgAd},null,8,["model"])):d("",!0),null!=y(T).shareAd?(L(),_(y(r),{key:1,model:y(T).shareAd},null,8,["model"])):d("",!0),p(y(u)),p(y(i)),p(y(f)),y(A).bannerVodList.length>0?(L(),_(y(g),{key:2,list:y(A).bannerVodList},null,8,["list"])):d("",!0),p(y(E),{type:V.category},null,8,["type"]),y(A).isLoading?(L(),_(y(R),{key:3})):d("",!0),!y(A).isLoading&&y(A).recommendVodList.length>0?(L(),_(y(t),{key:4,typeId:y(A).typeId,vodList:y(A).recommendVodList,isMore:!0},null,8,["typeId","vodList"])):d("",!0),y(A).secondClassifyList.length>0?(L(),_(y(I),{key:5,list:y(A).secondClassifyList},null,8,["list"])):d("",!0),o[0]||(o[0]=m("div",{class:"mt-3"},null,-1)),p(y(E),{type:V.category},null,8,["type"]),p(y(v),{class:"mt-5"})]))}});export{f as default};
