System.register(["./souav-legacy-ptBXoxNy.js","./chunk-legacy-B09Jcn0a.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,c,u,i,s,r,a,p,o;return{setters:[e=>{l=e.c,n=e.d},e=>{t=e.C,c=e.P,u=e.H,i=e.U,s=e.S,r=e.R,a=e.V,p=e.u,o=e.N},null,null,null,null,null,null,null,null,null,null,null,null],execute:function(d,g){const y={class:"flex w-full flex-col"},x=["onClick"],h={class:"grid grow grid-cols-5 gap-x-[1px] gap-y-[2px]"},f=["onClick"];e("default",t({__name:"HomeCategoryView",setup(e){const t=["bg-[#000000]","bg-[#FF5C24]","bg-[#393A3C]","bg-[#393A3C]","bg-[#FF5C24]","bg-[#000000]","bg-[#F3A698]","bg-[#FF5C24]"];function d(e){var l,n;return 10===e.type_id?null===(l=e.children)||void 0===l?void 0:l.slice(0,15):null===(n=e.children)||void 0===n?void 0:n.slice(0,10)}function g(e,l){n(void 0===l||0===e?`/filter/${l}`:`/filter/${e}/${l}`,{pageNo:1})}return(e,n)=>(o(),c("div",y,[(o(!0),c(u,null,i(p(l)().homeTypes,(e,l)=>(o(),c("div",{class:"flex w-full flex-row items-center justify-center gap-1 px-1 pt-2",key:l},[s("a",{class:a(["flex min-w-[40px] cursor-pointer items-center justify-center truncate rounded-[5px] border-[1px] border-white px-[1px] py-[2px] text-center text-[14px] font-medium whitespace-pre-wrap text-white",t[l%t.length]]),onClick:l=>g(e.type_pid,e.type_id)},r(e.type_name.replace(" ","\n")),11,x),s("div",h,[(o(!0),c(u,null,i(d(e),(e,n)=>(o(),c("div",{class:"col-span-1 min-w-0 overflow-hidden",key:n},[s("a",{class:a(["block w-full max-w-full justify-center truncate overflow-hidden rounded-[3px] border-[1px] border-[#1E1D1D] px-[1px] py-[2px] text-center text-[12px] font-medium text-ellipsis whitespace-nowrap text-white",t[l%t.length]]),onClick:l=>g(e.type_pid,e.type_id)},r(e.type_name),11,f)]))),128))])]))),128))]))}}))}}});
