System.register(["./chunk-legacy-CGSAaekB.js","./souav-legacy-ptBXoxNy.js","./chunk-legacy-B09Jcn0a.js","./chunk-legacy-BhgcdVyL.js","./chunk-legacy-DSWgnP8V.js","./chunk-legacy-Du0cmR-o.js","./chunk-legacy-CEUc4S30.js","./chunk-legacy-Dq4znTTY.js","./chunk-legacy-DhDQalG_.js","./chunk-legacy-B3dYxnqe.js","./chunk-legacy-DcCKlgmr.js","./chunk-legacy-CqjPx9Fo.js","./chunk-legacy-DpNjDkVD.js","./chunk-legacy-CFPzruGi.js","./chunk-legacy-B8g3VqiH.js","./chunk-legacy-CPNkfuO8.js"],function(e){"use strict";var l,t,n,s,i,o,c,a,u,d,p,r,x,y,f,g,v,k,m;return{setters:[e=>{l=e._},e=>{t=e.a,n=e.c,s=e.f,i=e.d},e=>{o=e.C,c=e.r,a=e.b,u=e.P,d=e.S,p=e.M,r=e.Q,x=e.X,y=e.V,f=e.u,g=e.R,v=e.H,k=e.U,m=e.N},null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(h,w){const j={class:"flex w-full flex-col"},_={class:"mt-3 flex w-full flex-row items-center justify-between px-2"},b={class:"text-[20px] font-bold text-white flex items-center gap-0.5 leading-none"},L={class:"mt-2 grid grow grid-cols-5 gap-x-[3px] gap-y-[5px] px-1"},S=["onClick"],C={class:y(["block w-full max-w-full justify-center truncate overflow-hidden rounded-[3px] border-[1px] border-[#5B5B5B] px-[1px] py-[2px] text-center text-[12px] font-medium text-ellipsis whitespace-nowrap text-[#74EF79]"])},I={key:1,class:"mt-2 grid grid-cols-2 gap-x-2 gap-y-2 px-1"},M={class:"text-[12px]"},T=o({__name:"SectionView3",props:{name:{},vodList:{},isMore:{type:Boolean},typeId:{},icon:{}},setup(e){const o=t(),h=e,w=h.icon||"icon-play",T=c(),B=n();function N(){var e,l,t;0===(null===(e=T.value)||void 0===e?void 0:e.type_pid)?i(`/filter/${T.value.type_id}`,{pageNo:1}):i(`/filter/${null===(l=T.value)||void 0===l?void 0:l.type_pid}/${null===(t=T.value)||void 0===t?void 0:t.type_id}`,{pageNo:1})}return a(()=>{for(const e of B.mainTypes)if(e.type_id.toString()===h.typeId){T.value=e;break}if(!T.value)for(const e of B.secondTypes)if(e.type_id.toString()===h.typeId){T.value=e;break}}),(e,t)=>(m(),u("div",j,[d("div",_,[d("span",b,[d("i",{class:y([f(w),"iconfont text-orange-500 h-[26px]"]),style:{"font-size":"26px"}},null,2),x(g(e.name),1)]),e.isMore?(m(),u("div",{key:0,class:"flex flex-row items-center text-[12px] text-white",onClick:N},t[0]||(t[0]=[d("span",{class:"text-[14px]"},"更多",-1),d("i",{class:"iconfont icon-arrow"},null,-1)]))):r("",!0)]),d("div",L,[(m(!0),u(v,null,k(f(o).gridTextAd,(e,l)=>(m(),u("div",{class:"col-span-1 min-w-0 overflow-hidden",key:l,onClick:l=>{return t=e,void s.clickAd(t);var t}},[d("a",C,g(e.title),1)],8,S))),128))]),e.vodList.length>0?(m(),p(l,{key:0,model:h.vodList[0],class:"mt-2 px-1"},null,8,["model"])):r("",!0),e.vodList.length>2?(m(),u("div",I,[(m(!0),u(v,null,k(h.vodList.slice(1),(e,t)=>(m(),p(l,{model:e,key:t,rounded:"5px"},null,8,["model"]))),128))])):r("",!0),e.isMore?(m(),u("div",{key:2,class:"mt-5 flex flex-row items-center justify-center leading-none text-white",onClick:N},[d("p",M,"更多"+g(e.name),1),t[1]||(t[1]=d("i",{class:"iconfont icon-arrow ml-1",style:{"font-size":"11px"}},null,-1))])):r("",!0)]))}}),B={class:"flex w-full flex-col gap-2"};e("default",o({__name:"ClassifySectionView",props:{list:{}},setup:e=>(a(()=>{}),(e,l)=>(m(),u("div",B,[(m(!0),u(v,null,k(e.list,(e,l)=>(m(),p(T,{vodList:e.videoList,name:e.extendTypeName,typeId:e.extendTypeId.toString(),isMore:!0,key:l},null,8,["vodList","name","typeId"]))),128))])))}))}}});
