System.register(["./chunk-legacy-IcJTLVVx.js","./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,n,t,i,s,o,c,a,u,d,r,p,y,x,f,v,g,k,m,h,w;return{setters:[e=>{l=e._},e=>{n=e._},e=>{t=e.a,i=e.f,s=e.d,o=e.c},e=>{c=e.C,a=e.r,u=e.c,d=e.P,r=e.S,p=e.Q,y=e.X,x=e.V,f=e.u,v=e.R,g=e.H,k=e.U,m=e.M,h=e.N,w=e.b},null,null,null,null,null,null,null,null,null,null,null,null,null],execute:function(j,L){const M={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"},B={class:"mt-2 grid grow grid-cols-5 gap-x-[3px] gap-y-[5px] px-1"},C=["onClick"],I={class:x(["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]"])},N={class:"mt-2 grid grid-cols-2 gap-x-2 gap-y-2 px-1"},S={class:"text-[12px]"},V=c({__name:"SectionView2",props:{name:{},vodList:{},isMore:{type:Boolean},typeId:{},icon:{}},setup(e){const l=t(),c=e,w=c.icon||"icon-play",j=a();function L(){var e,l,n;null!==j&&(0===(null===(e=j.value)||void 0===e?void 0:e.type_pid)?s(`/filter/${j.value.type_id}`,{pageNo:1}):s(`/filter/${null===(l=j.value)||void 0===l?void 0:l.type_pid}/${null===(n=j.value)||void 0===n?void 0:n.type_id}`,{pageNo:1}))}return u(()=>{for(const e of o().secondTypes)e.type_id.toString()===c.typeId&&(j.value=e)}),(e,t)=>(h(),d("div",M,[r("div",_,[r("span",b,[r("i",{class:x([f(w),"iconfont text-orange-500 h-[26px]"]),style:{"font-size":"26px"}},null,2),y(v(e.name),1)]),e.isMore?(h(),d("div",{key:0,class:"flex flex-row items-center text-[12px] text-white",onClick:L},t[0]||(t[0]=[r("span",{class:"text-[14px]"},"更多",-1),r("i",{class:"iconfont icon-arrow"},null,-1)]))):p("",!0)]),r("div",B,[(h(!0),d(g,null,k(f(l).gridTextAd,(e,l)=>(h(),d("div",{class:"col-span-1 min-w-0 overflow-hidden",key:l,onClick:l=>{return n=e,void i.clickAd(n);var n}},[r("a",I,v(e.title),1)],8,C))),128))]),r("div",N,[(h(!0),d(g,null,k(c.vodList,(e,l)=>(h(),m(n,{model:e,key:l,rounded:"5px"},null,8,["model"]))),128))]),e.isMore?(h(),d("div",{key:0,class:"mt-5 flex flex-row items-center justify-center leading-none text-white",onClick:L},[r("p",S,"更多"+v(e.name),1),t[1]||(t[1]=r("i",{class:"iconfont icon-arrow ml-1",style:{"font-size":"11px"}},null,-1))])):p("",!0)]))}}),$={class:"flex w-full flex-col gap-2"},z="icon-hot-for-ux-fill";e("default",c({__name:"HomeSectionView",props:{vodList:{},isMore:{type:Boolean},typeId:{}},setup(e){const n=e;return n.vodList,w(()=>{}),(e,t)=>(h(),d("div",$,[(h(!0),d(g,null,k(n.vodList.length>2?n.vodList.slice(0,2):n.vodList,(n,t)=>(h(),m(l,{"type-id":e.typeId,isMore:e.isMore,vodList:n.videoList,name:n.classifyName,icon:0==t?"icon-today":z,key:t},null,8,["type-id","isMore","vodList","name","icon"]))),128)),(h(!0),d(g,null,k(n.vodList.length>2?n.vodList.slice(2):[],(l,n)=>(h(),m(V,{"type-id":e.typeId,isMore:e.isMore,vodList:l.videoList,name:l.classifyName,icon:z,key:n},null,8,["type-id","isMore","vodList","name"]))),128))]))}}))}}});
