1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8974],{123:(e,t,s)=>{"use strict";s.d(t,{default:()=>d});var a=s(5155),i=s(6766),l=s(6874),r=s.n(l),n=s(3658);function c(e){let{publishedAt:t}=e,{date:s,time:i}=function(e){let t=new Date(e);return Number.isNaN(t.getTime())?{date:e,time:""}:{date:t.toLocaleDateString("id-ID",{day:"numeric",month:"short",year:"numeric"}),time:"".concat(t.toLocaleTimeString("id-ID",{hour:"2-digit",minute:"2-digit"}).replace(".",":")," WIB")}}(t);return(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,a.jsx)("span",{className:"text-n-600 text-[12px] leading-[1.3] tracking-[-0.025em]",children:s}),i&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"bg-n-400 h-2 w-px rounded-full"}),(0,a.jsx)("span",{className:"text-n-600 text-[12px] leading-[1.3] tracking-[-0.025em]",children:i})]})]})}function o(e){let{item:t}=e;return(0,a.jsxs)(r(),{href:"/news/".concat(t.id),className:"group flex flex-col gap-1.5",children:[(0,a.jsx)("div",{className:"relative aspect-[304/152] w-full overflow-hidden rounded-lg bg-n-100",children:(0,a.jsx)(i.default,{src:t.image,alt:t.title,fill:!0,sizes:"(max-width: 1024px) 50vw, 304px",className:"object-cover transition-transform duration-300 group-hover:scale-105"})}),(0,a.jsx)("p",{className:"text-n-900 group-hover:text-brand line-clamp-2 text-[16px] leading-[1.35] font-medium tracking-[-0.015em] transition-colors md:text-[18px]",children:t.title}),(0,a.jsx)(c,{publishedAt:t.publishedAt})]})}function d(e){let{news:t,loading:s,error:l}=e,[c,...d]=null!=t?t:[],m=d.slice(0,8);return(0,a.jsxs)("section",{className:"bg-n-50 px-4 py-10 md:px-10 lg:px-20",children:[(0,a.jsx)(n.A,{title:"Berita",href:"/news"}),s&&(0,a.jsxs)("div",{className:"mt-8 grid gap-10 lg:grid-cols-2",children:[(0,a.jsx)("div",{className:"bg-n-100 aspect-[620/310] w-full animate-pulse rounded-sm"}),(0,a.jsx)("div",{className:"grid grid-cols-2 gap-x-3 gap-y-[18px]",children:Array.from({length:4}).map((e,t)=>(0,a.jsx)("div",{className:"bg-n-100 aspect-[304/152] animate-pulse rounded-lg"},t))})]}),!s&&!c&&(0,a.jsx)("p",{className:"text-n-600 mt-6 text-[14px]",children:l?"Berita gagal dimuat.":"Belum ada berita terbaru."}),!s&&c&&(0,a.jsxs)("div",{className:"mt-8 grid gap-10 lg:grid-cols-2",children:[(0,a.jsxs)(r(),{href:"/news/".concat(c.id),className:"group flex flex-col gap-[18px]",children:[(0,a.jsx)("div",{className:"clip-featured bg-n-100 relative aspect-[620/310] w-full overflow-hidden",children:(0,a.jsx)(i.default,{src:c.image,alt:c.title,fill:!0,priority:!0,sizes:"(max-width: 1024px) 100vw, 620px",className:"object-cover transition-transform duration-300 group-hover:scale-105"})}),(0,a.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,a.jsx)("p",{className:"text-n-900 group-hover:text-brand text-[18px] leading-[1.35] font-medium tracking-[-0.015em] transition-colors md:text-[20px]",children:c.title}),c.excerpt&&(0,a.jsx)("p",{className:"text-n-700 line-clamp-2 text-[12px] leading-[1.3] tracking-[-0.025em]",children:c.excerpt})]})]}),(0,a.jsx)("div",{className:"grid grid-cols-2 gap-x-3 gap-y-[18px]",children:m.map(e=>(0,a.jsx)(o,{item:e},e.id))})]})]})}},727:(e,t,s)=>{Promise.resolve().then(s.bind(s,7382)),Promise.resolve().then(s.bind(s,6667)),Promise.resolve().then(s.bind(s,6322)),Promise.resolve().then(s.bind(s,2256)),Promise.resolve().then(s.bind(s,123)),Promise.resolve().then(s.bind(s,6893)),Promise.resolve().then(s.t.bind(s,3063,23))},2213:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});var a=s(1204);let i=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.YE.GALLERY_PREFIX,t=await fetch("".concat(a.YE.S3_BASE_URL,"/api/list-s3?bucket=").concat(encodeURIComponent(a.YE.GALLERY_BUCKET),"&prefix=").concat(encodeURIComponent(e)));return await t.json()}},2256:(e,t,s)=>{"use strict";s.d(t,{default:()=>o});var a=s(5155),i=s(6766),l=s(4869),r=s(2115),n=s(1204),c=s(3999);function o(){let{slides:e,imagePosition:t="top"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=null!=e?e:n.k3,[o,d]=(0,r.useState)(0),m=s.length,x=(0,r.useCallback)(e=>d(e%m),[m]);return(0,r.useEffect)(()=>
1{if(m<2)return;let e=setTimeout(()=>d(e=>(e+1)%m),n.Zq);return()=>clearTimeout(e)},[o,m]),(0,a.jsxs)("section",{className:"relative flex h-[560px] max-h-[100svh] flex-col justify-end overflow-hidden bg-black md:h-[720px]",children:[(0,a.jsxs)("div",{className:"absolute inset-0",children:[s.map((e,s)=>(0,a.jsx)("div",{className:(0,c.cn)("absolute inset-0 transition-opacity duration-1000",s===o?"opacity-100":"opacity-0"),"aria-hidden":s!==o,children:e.imageMobile?(0,a.jsx)(l.A,{src:e.image,mobileSrc:e.imageMobile,alt:e.label,priority:0===s,sizes:"100vw",className:(0,c.cn)("object-cover","center"===t?"object-center":"object-top")}):(0,a.jsx)(i.default,{src:e.image,alt:e.label,fill:!0,priority:0===s,sizes:"100vw",className:(0,c.cn)("object-cover","center"===t?"object-center":"object-top")})},e.image)),(0,a.jsx)("div",{className:"hero-overlay absolute inset-0"})]}),m>1&&(0,a.jsx)("div",{className:"relative z-10 flex justify-center gap-4 px-4 pb-4 md:gap-10 md:pb-6",children:s.map((e,t)=>{let s=t===o,i=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:(0,c.cn)("font-display block truncate text-left text-[13px] leading-6 font-bold tracking-[-0.01em] uppercase transition-colors md:text-[16px]",s?"text-white":"text-white/40"),children:e.label}),(0,a.jsx)("span",{className:"mt-3 block h-1 w-full overflow-hidden rounded-full bg-white/40",children:s&&(0,a.jsx)("span",{className:"bg-brand block h-full rounded-full",style:{animation:"hero-progress ".concat(n.Zq,"ms linear forwards")}},o)})]});return(0,a.jsx)("button",{type:"button",onClick:()=>x(t),"aria-label":e.label,"aria-current":s,className:"w-full min-w-0 max-w-[240px] flex-1 cursor-pointer",children:i},e.label)})})]})}},3051:(e,t,s)=>{"use strict";s.d(t,{A:()=>c});var a=s(5155),i=s(6766),l=s(6874),r=s.n(l),n=s(3999);function c(e){let{href:t,image:s,title:l,date:c,time:o,duration:d,photoCount:m,external:x=!1,tone:p="dark",aspect:g="aspect-[2/1]",priority:u=!1,sizes:h="(max-width: 768px) 100vw, (max-width: 1280px) 50vw, 416px"}=e,f=(0,n.cn)("text-[12px] leading-[1.3] tracking-[-0.025em]","dark"===p?"text-n-200":"text-n-500"),j=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:(0,n.cn)("relative w-full overflow-hidden rounded-lg",g,"dark"===p?"bg-white/5":"bg-n-200"),children:[(0,a.jsx)(i.default,{src:s,alt:l,fill:!0,priority:u,sizes:h,className:"object-cover transition-transform duration-300 group-hover:scale-105"}),d?(0,a.jsxs)("div",{className:"absolute bottom-0 left-0 flex items-center bg-black/80",children:[(0,a.jsx)("span",{className:"bg-brand flex size-6 items-center justify-center",children:(0,a.jsx)("img",{src:"/icons/play.svg",alt:"",width:12,height:12,className:"size-3"})}),(0,a.jsx)("span",{className:"flex min-w-12 items-center justify-center px-1 py-0.5 text-[14px] leading-[1.4] font-medium tracking-[-0.025em] text-white",children:d})]}):m?(0,a.jsxs)("div",{className:"absolute bottom-0 left-0 flex items-center bg-black/80",children:[(0,a.jsx)("span",{className:"bg-brand flex size-6 items-center justify-center",children:(0,a.jsx)("img",{src:"/icons/photos.svg",alt:"",width:12,height:12,className:"size-3"})}),(0,a.jsx)("span",{className:"flex min-w-8 items-center justify-center px-1 py-0.5 text-[14px] leading-[1.4] font-medium tracking-[-0.025em] text-white",children:m})]}):null]}),(0,a.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,a.jsx)("p",{className:(0,n.cn)("group-hover:text-brand line-clamp-2 text-[16px] leading-[1.35] font-medium tracking-[-0.015em] transition-colors md:text-[18px]","dark"===p?"text-white":"text-n-700"),children:l}),c&&(0,a.jsxs)("div",{className:"flex items-center gap-1.5",children:[(0,a.jsx)("span",{className:f,children:c}),o&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"bg-n-400 h-2 w-px rounded-full"}),(0,a.jsx)("span",{className:f,children:o})]})]})]})]}),b="group flex flex-col gap-2.5";return t?x?(0,a.jsx)("a",{href:t,target:"_blank",rel:"noopener noreferrer",className:b,children:j}):(0,a.jsx)(r(),{href:t,className:b,children:j}):(0,a.jsx)("div",{className:b,children:j})}},3658:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});var a=s(5155),i=s(6874),l=s.n(i),r=s(3999);
1function n(e){let{title:t,href:s,ctaLabel:i="LIHAT SEMUA",tone:n="light",className:c}=e;return(0,a.jsxs)("div",{className:(0,r.cn)("flex flex-wrap items-end gap-x-3 gap-y-1",c),children:[(0,a.jsx)("h2",{className:(0,r.cn)("font-display text-[32px] leading-none font-bold tracking-[-0.03em] uppercase md:text-[44px]","dark"===n?"text-white":"text-ink"),children:t}),s&&(0,a.jsxs)(l(),{href:s,className:"group text-n-600 hover:text-brand flex items-center gap-2 pb-[2px] text-[16px] font-semibold tracking-[-0.015em] transition-colors md:text-[18px]",children:[(0,a.jsx)("span",{"aria-hidden":!0,children:"/"}),(0,a.jsx)("span",{children:i}),(0,a.jsx)("img",{src:"/icons/chevron-right.svg",alt:"",width:24,height:24,className:"size-6 transition-transform group-hover:translate-x-0.5"})]})]})}},4869:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});var a=s(5155),i=s(6766),l=s(7650);let r="(min-width: 48rem)";function n(e){let{src:t,mobileSrc:s,alt:n,sizes:c,priority:o,className:d}=e,m={alt:n,fill:!0,sizes:c,priority:o},{props:x}=(0,i.getImageProps)({...m,src:t}),{props:p}=(0,i.getImageProps)({...m,src:s});return o&&((0,l.preload)(p.src,{as:"image",fetchPriority:"high",imageSrcSet:p.srcSet,imageSizes:c,media:"not all and ".concat(r)}),(0,l.preload)(x.src,{as:"image",fetchPriority:"high",imageSrcSet:x.srcSet,imageSizes:c,media:r})),(0,a.jsxs)("picture",{children:[(0,a.jsx)("source",{media:r,srcSet:x.srcSet,sizes:c}),(0,a.jsx)("img",{...p,className:d})]})}},6667:(e,t,s)=>{"use strict";s.d(t,{default:()=>u});var a=s(5155),i=s(6766),l=s(6874),r=s.n(l),n=s(3658);function c(e){let{count:t}=e;return t?(0,a.jsxs)("div",{className:"absolute bottom-0 left-0 flex items-center bg-black/80",children:[(0,a.jsx)("span",{className:"bg-brand flex size-6 items-center justify-center",children:(0,a.jsx)("img",{src:"/icons/photos.svg",alt:"",width:12,height:12,className:"size-3"})}),(0,a.jsx)("span",{className:"flex min-w-8 items-center justify-center px-1 py-0.5 text-[14px] leading-[1.4] font-medium tracking-[-0.025em] text-white",children:t})]}):null}function o(e){let{item:t,variant:s,priority:l=!1}=e,n="large"===s;return(0,a.jsxs)(r(),{href:"/galeri/".concat(t.id),className:"group flex flex-col gap-2.5",children:[(0,a.jsxs)("div",{className:"bg-n-100 relative w-full overflow-hidden rounded-lg ".concat(n?"aspect-[728/370]":"aspect-[256/128]"),children:[(0,a.jsx)(i.default,{src:t.image,alt:t.title,fill:!0,priority:l,sizes:n?"(max-width: 1024px) 100vw, 728px":"(max-width: 1024px) 50vw, 256px",className:"object-cover transition-transform duration-300 group-hover:scale-105"}),(0,a.jsx)(c,{count:t.photoCount})]}),(0,a.jsx)("p",{className:"text-n-700 group-hover:text-brand text-[16px] leading-[1.35] font-medium tracking-[-0.015em] transition-colors md:text-[18px] ".concat(n?"":"line-clamp-2"),children:t.title})]})}function d(e){let{galleries:t,loading:s,error:i}=e,[l,...r]=null!=t?t:[],c=r.slice(0,4);return(0,a.jsxs)("section",{className:"bg-n-50 px-4 py-10 md:px-10 lg:px-20",children:[(0,a.jsx)(n.A,{title:"Foto",href:"/galeri"}),s&&(0,a.jsxs)("div",{className:"mt-8 grid gap-6 lg:grid-cols-[728fr_528fr]",children:[(0,a.jsx)("div",{className:"bg-n-100 aspect-[728/370] animate-pulse rounded-lg"}),(0,a.jsx)("div",{className:"grid grid-cols-2 gap-x-4 gap-y-6",children:Array.from({length:4}).map((e,t)=>(0,a.jsx)("div",{className:"bg-n-100 aspect-[256/128] animate-pulse rounded-lg"},t))})]}),!s&&!l&&(0,a.jsx)("p",{className:"text-n-600 mt-6 text-[14px]",children:i?"Galeri gagal dimuat.":"Belum ada galeri foto."}),!s&&l&&(0,a.jsxs)("div",{className:"mt-8 grid gap-6 lg:grid-cols-[728fr_528fr]",children:[(0,a.jsx)(o,{item:l,variant:"large",priority:!0}),(0,a.jsx)("div",{className:"grid grid-cols-2 gap-x-4 gap-y-6",children:c.map(e=>(0,a.jsx)(o,{item:e,variant:"small"},e.id))})]})]})}var m=s(2115),x=s(1204),p=s(2213);let g=/\.(jpe?g|png|webp|avif|gif)$/i;function u(){let{galleries:e,loading:t,error:s}=function(){let[e,t]=(0,m.useState)([]),[s,a]=(0,m.useState)(!0),[i,l]=(0,m.useState)(null);return(0,m.useEffect)(()=>{!async function(){try{var e;a(!0);let s=await (0,p.A)(),i=null==s||null==(e=s.folderStructure)?void 0:e[x.YE.GALLERY_PREFIX];if(!i)return void t([]);let r=e=>{let t=e.match(/Pekan[-\s](\d+)/i);return t?parseInt(t[1]):0},n=Object.entries(i).sort((e,t)=>
1{let s=r(e[0]);return r(t[0])-s}).map(e=>{let[t,s]=e,a=Object.keys(s).filter(e=>g.test(e)),i=a[0],l=t.split("-").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ");if(!i)return null;let r="".concat(x.YE.S3_BUCKET_URL,"/").concat(x.YE.GALLERY_PREFIX,"/").concat(t,"/").concat(i);return{id:t,title:l,image:r,photoCount:a.length}}).filter(e=>null!==e);t(n),l(null)}catch(e){l(e instanceof Error?e.message:"Failed to fetch galleries"),t([])}finally{a(!1)}}()},[]),{galleries:e,loading:s,error:i}}();return(0,a.jsx)(d,{galleries:e,loading:t,error:s})}},6893:(e,t,s)=>{"use strict";s.d(t,{default:()=>c});var a=s(5155),i=s(2115),l=s(3051),r=s(3658),n=s(3999);function c(){let{title:e="Video",count:t=3,maxCount:s,href:c,ctaLabel:o="LIHAT SEMUA",variant:d="rail",paddingClassName:m="px-4 md:px-10 lg:px-20",railBleedClassName:x="-mx-4 px-4 md:-mx-10 md:px-10 lg:-mx-20 lg:px-20",sectionId:p="video"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{videos:g,loading:u,error:h}=function(){let[e,t]=(0,i.useState)([]),[s,a]=(0,i.useState)([]),[l,r]=(0,i.useState)(!0),[n,c]=(0,i.useState)(null);return(0,i.useEffect)(()=>{let e=!1;return(async()=>{try{r(!0),c(null);let s=await fetch("/api/youtube/videos");if(!s.ok)throw Error("API error: ".concat(s.status," ").concat(s.statusText||"Unknown error"));let i=await s.json();if(e)return;if(null==i?void 0:i.error)throw Error(i.error);t(Array.isArray(null==i?void 0:i.videos)?i.videos:[]),a(Array.isArray(null==i?void 0:i.shorts)?i.shorts:[])}catch(s){if(e)return;console.error("Error fetching videos:",s),c(s instanceof Error?s.message:"Failed to fetch videos"),t([]),a([])}finally{e||r(!1)}})(),()=>{e=!0}},[]),{videos:e,shorts:s,featured:e.slice(0,1),loading:l,error:n}}(),[f,j]=(0,i.useState)(!1),b="rail"===d,v=f&&null!=s?s:t,N=!u&&!f&&(null!=s?s:0)>t&&g.length>t,w=b?(0,n.cn)("no-scrollbar mt-6 flex snap-x snap-mandatory gap-4 overflow-x-auto pb-2",x,"sm:mx-0 sm:grid sm:grid-cols-2 sm:overflow-visible sm:px-0 sm:pb-0 lg:grid-cols-3"):"mt-6 grid gap-4 sm:grid-cols-2 lg:grid-cols-3",y=b?"w-[300px] shrink-0 snap-start sm:w-auto":void 0;return(0,a.jsxs)("section",{id:p,className:(0,n.cn)("scroll-mt-[88px] bg-ink py-10",m),children:[(0,a.jsx)(r.A,{title:e,href:c,ctaLabel:o,tone:"dark"}),(0,a.jsxs)("div",{className:w,children:[u&&Array.from({length:t}).map((e,t)=>(0,a.jsx)("div",{className:(0,n.cn)("aspect-[2/1] animate-pulse rounded-lg bg-white/5",b&&"w-[300px] shrink-0 snap-start sm:w-auto")},t)),!u&&g.slice(0,v).map(e=>{let t=e.publishedAt?(0,n.Js)(e.publishedAt):null;return(0,a.jsx)("div",{className:y,children:(0,a.jsx)(l.A,{href:e.href,external:!0,image:e.thumbnail,title:e.title,duration:e.duration,date:null==t?void 0:t.date,time:null==t?void 0:t.time,tone:"dark",sizes:"(max-width: 640px) 300px, (max-width: 1024px) 50vw, 416px"})},e.id)})]}),N&&(0,a.jsx)("div",{className:"mt-8 flex justify-center",children:(0,a.jsx)("button",{type:"button",onClick:()=>j(!0),className:"clip-cta font-display bg-brand text-ink h-11 cursor-pointer px-6 text-[16px] leading-none font-bold tracking-[-0.015em] uppercase transition-opacity hover:opacity-90 md:text-[18px]",children:"Lihat Selengkapnya"})}),!u&&0===g.length&&(0,a.jsx)("p",{className:"text-n-400 mt-6 text-[14px]",children:h?"Video gagal dimuat.":"Belum ada video."})]})}},7382:(e,t,s)=>{"use strict";s.d(t,{default:()=>o});var a=s(5155),i=s(1204),l=s(3999);function r(e){let{name:t,logo:s,score:i,isClub:r,showScore:n}=e;return(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)("span",{className:"flex size-10 shrink-0 items-center justify-center",children:s?(0,a.jsx)("img",{src:s,alt:"",width:40,height:40,className:"size-9 object-contain"}):null}),(0,a.jsx)("p",{className:(0,l.cn)("font-display min-w-0 flex-1 truncate text-[18px] leading-[1.3] font-bold tracking-[-0.015em] uppercase md:text-[20px]",r?"text-white":"text-n-400"),children:t}),n&&(0,a.jsx)("span",{className:(0,l.cn)("font-display text-[24px] font-bold",r?"text-white":"text-n-400"),children:i})]})}function n(e){var t;let{fixture:s}=e,n=parseInt(i.ih.CLUB_ID),c=s.home_team_id===n,o=(0,l.o0)(s),d=null!==s.home_team_score&&null!==s.away_team_score,m=(0,l.zy)(s),x=(0,l.nM)(s,n),p=(0,l.C0)(x);return(0,a.jsxs)("article",{className:"clip-match relative h-[196px] overflow-hidden bg-white/10",children:[(0,a.jsx)("img",{src:"/images/League%20Logo.png",alt:"",width:134,height:192,className:"pointer-events-none absolute top-1/2 left-[89%] h-[172px] w-auto max-w-none -translate-x-1/2 -translate-y-1/2"}),(0,a.jsxs)("div",{className:"relative flex h-full flex-col justify-between px-4 pt-4 pb-3",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2",children:[(0,a.jsx)("span",{className:"rounded-[18px] bg-white/20 px-2 py-1 text-[10px] leading-[1.2] font-semibold tracking-[-0.025em] text-n-200",children:c?"HOME":"AWAY"}),(0,a.jsxs)("span",{className:"flex items-center gap-1 text-[12px] leading-[1.3] tracking-[-0.025em]",children:[(0,a.jsxs)("span",{className:"text-n-600",children:[function(e){let t=new Date(e);return Number.isNaN(t.getTime())?e:t.toLocaleDateString("id-ID",{day:"numeric",month:"short",year:"2-digit"})}(s.date),","]}),(0,a.jsx)("span",{className:"text-white",children:(t=s.time)?"".concat(t.slice(0,5)," WIB"):""})]})]}),(0,a.jsxs)("div",{className:"flex flex-1 flex-col justify-center gap-1 py-2",children:[(0,a.jsx)(r,{name:c?i.ih.CLUB_SHORT_NAME:s.home_team_name,logo:s.home_team_logo,score:s.home_team_score,isClub:c,showScore:o&&d}),(0,a.jsx)(r,{name:c?s.away_team_name:i.ih.CLUB_SHORT_NAME,logo:s.away_team_logo,score:s.away_team_score,isClub:!c,showScore:o&&d})]}),"buy"===x?(0,a.jsx)("a",{href:null!=m?m:"#",target:"_blank",rel:"noopener noreferrer",className:"font-display text-brand hover:bg-brand/10 flex h-10 items-center justify-center bg-[url('/images/cta-outline.svg')] bg-[length:100%_100%] bg-no-repeat text-[16px] font-bold tracking-[-0.015em] uppercase transition-colors md:text-[18px]",children:"Beli Tiket"}):(0,a.jsx)("p",{className:"text-n-500 flex h-10 items-center justify-center text-[13px] leading-none font-medium tracking-[-0.015em]",children:p})]})]})}var c=s(3658);function o(e){let{fixtures:t,loading:s,error:i}=e,r=t?function(e){let t=e.filter(e=>!(0,l.o0)(e)).sort((e,t)=>
1(0,l.bO)(e).getTime()-(0,l.bO)(t).getTime());return t.length>=4?t.slice(0,4):[...e.filter(e=>(0,l.o0)(e)).sort((e,t)=>(0,l.bO)(t).getTime()-(0,l.bO)(e).getTime()).slice(0,4-t.length).reverse(),...t]}(t):[];return(0,a.jsxs)("section",{className:"bg-black px-4 pt-6 pb-10 md:px-10 lg:px-20",children:[(0,a.jsx)(c.A,{title:"Pertandingan",href:"/matches",tone:"dark"}),(0,a.jsxs)("div",{className:"mt-6 grid grid-cols-1 gap-4 sm:grid-cols-2 xl:grid-cols-4",children:[s&&Array.from({length:4}).map((e,t)=>(0,a.jsx)("div",{className:"clip-match h-[196px] animate-pulse bg-white/5"},t)),!s&&r.map(e=>(0,a.jsx)(n,{fixture:e},e.id))]}),!s&&0===r.length&&(0,a.jsx)("p",{className:"text-n-600 mt-6 text-[14px]",children:i?"Jadwal pertandingan gagal dimuat.":"Jadwal pertandingan akan segera diumumkan."})]})}}},e=>{e.O(0,[7598,6874,6766,8297,6322,8441,5964,7358],()=>e(e.s=727)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.