1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,19088,e=>{"use strict";var t=e.i(71645),a=e.i(63448),n=e.i(1906),l=new Map;l.set("bold",function(e){return t.default.createElement(t.default.Fragment,null,t.default.createElement("polyline",{points:"160 208 80 128 160 48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))}),l.set("duotone",function(e){return t.default.createElement(t.default.Fragment,null,t.default.createElement("polygon",{points:"160 208 80 128 160 48 160 208",opacity:"0.2"}),t.default.createElement("polygon",{points:"160 208 80 128 160 48 160 208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}),l.set("fill",function(){return t.default.createElement(t.default.Fragment,null,t.default.createElement("path",{d:"M163.1,40.6a8.4,8.4,0,0,0-8.8,1.7l-80,80a8.1,8.1,0,0,0,0,11.4l80,80A8.3,8.3,0,0,0,160,216a8.5,8.5,0,0,0,3.1-.6A8,8,0,0,0,168,208V48A8,8,0,0,0,163.1,40.6Z"}))}),l.set("light",function(e){return t.default.createElement(t.default.Fragment,null,t.default.createElement("polyline",{points:"160 208 80 128 160 48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))}),l.set("thin",function(e){return t.default.createElement(t.default.Fragment,null,t.default.createElement("polyline",{points:"160 208 80 128 160 48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))}),l.set("regular",function(e){return t.default.createElement(t.default.Fragment,null,t.default.createElement("polyline",{points:"160 208 80 128 160 48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))});var r=function(e,t){return(0,a.renderPathForWeight)(e,t,l)},i=(0,t.forwardRef)(function(e,a){return t.default.createElement(n.default,Object.assign({ref:a},e,{renderPath:r}))});i.displayName="CaretLeft",e.s(["CaretLeft",0,i],19088)},76358,e=>{"use strict";var t=e.i(71645),a=e.i(63448),n=e.i(1906),l=new Map;l.set("bold",function(e){return t.default.createElement(t.default.Fragment,null,t.default.createElement("polyline",{points:"96 48 176 128 96 208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))}),l.set("duotone",function(e){return t.default.createElement(t.default.Fragment,null,t.default.createElement("polygon",{points:"96 48 176 128 96 208 96 48",opacity:"0.2"}),t.default.createElement("polygon",{points:"96 48 176 128 96 208 96 48",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}),l.set("fill",function(){return t.default.createElement(t.default.Fragment,null,t.default.createElement("path",{d:"M181.7,122.3l-80-80a8.4,8.4,0,0,0-8.8-1.7A8,8,0,0,0,88,48V208a8,8,0,0,0,4.9,7.4,8.5,8.5,0,0,0,3.1.6,8.3,8.3,0,0,0,5.7-2.3l80-80A8.1,8.1,0,0,0,181.7,122.3Z"}))}),l.set("light",function(e){return t.default.createElement(t.default.Fragment,null,t.default.createElement("polyline",{points:"96 48 176 128 96 208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))}),l.set("thin",function(e){return t.default.createElement(t.default.Fragment,null,t.default.createElement("polyline",{points:"96 48 176 128 96 208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))}),l.set("regular",function(e){return t.default.createElement(t.default.Fragment,null,t.default.createElement("polyline",{points:"96 48 176 128 96 208",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))});var r=function(e,t){return(0,a.renderPathForWeight)(e,t,l)},i=(0,t.forwardRef)(function(e,a){return t.default.createElement(n.default,Object.assign({ref:a},e,{renderPath:r}))});i.displayName="CaretRight",e.s(["CaretRight",0,i],76358)},1270,e=>{"use strict";var t=e.i(71645),a=e.i(63448),n=e.i(1906),l=new Map;l.set("bold",function(e){return t.default.createElement(t.default.Fragment,null,t.default.createElement("path",{d:"M171.8,144A44.1,44.1,0,0,1,136,183.3",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}),t.default.createElement("path",{d:"M72,65.4C56.6,88.6,44,115.2,44,140a84,84,0,0,0,168,0c0-52-36-92-65.2-121.1h0L112,92,72,65.4Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"24"}))}),l.set("duotone",function(e){return t.default.createElement(t.default.Fragment,null,t.default.createElement("path",{d:"M72,65.4C56.6,88.6,44,115.2,44,140a84,84,0,0,0,168,0c0-52-36-92-65.2-121.1h0L112,92,72,65.4Z",opacity:"0.2"}),t.default.createElement("path",{d:"M179.4,148A52.2,52.2,0,0,1,136,191.4",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.default.createElement("path",{d:"M72,65.4C56.6,88.6,44,115.2,44,140a84,84,0,0,0,168,0c0-52-36-92-65.2-121.1h0L112,92,72,65.4Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))}),l.set("fill",function(){return t.default.createElement(t.default.Fragment,null,t.default.createElement("path",{d:"M197.1,66.6c-13-20.8-29.9-38.7-44.6-53.4a8,8,0,0,0-7-2.2,7.9,7.9,0,0,0-5.9,4.4L108.7,80.2,76.5,58.7a8.1,8.1,0,0,0-6-1.2,8,8,0,0,0-5.1,3.4C45.9,90.3,36,116.9,36,140a92,92,0,0,0,184,0C220,115.1,212.5,91.1,197.1,66.6Zm-9.8,82.6a59.6,59.6,0,0,1-50.1,50.1H136a8,8,0,0,1-1.2-15.9,44.4,44.4,0,0,0,36.7-36.7,8,8,0,1,1,15.8,2.4Z"}))}),l.set("light",function(e){return t.default.createElement(t.default.Fragment,null,t.default.createElement("path",{d:"M179.4,148A52.2,52.2,0,0,1,136,191.4",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}),t.default.createElement("path",{d:"M72,65.4C56.6,88.6,44,115.2,44,140a84,84,0,0,0,168,0c0-52-36-92-65.2-121.1h0L112,92,72,65.4Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"12"}))}),l.set("thin",function(e){return t.default.createElement(t.default.Fragment,null,t.default.createElement("path",{d:"M179.4,148A52.2,52.2,0,0,1,136,191.4",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),t.default.createElement("path",{d:"M72,65.4C56.6,88.6,44,115.2,44,140a84,84,0,0,0,168,0c0-52-36-92-65.2-121.1h0L112,92,72,65.4Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}))}),l.set("regular",function(e){return t.default.createElement(t.default.Fragment,null,t.default.createElement("path",{d:"M179.4,148A52.2,52.2,0,0,1,136,191.4",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}),t.default.createElement("path",{d:"M72,65.4C56.6,88.6,44,115.2,44,140a84,84,0,0,0,168,0c0-52-36-92-65.2-121.1h0L112,92,72,65.4Z",fill:"none",stroke:e,strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"16"}))});var r=function(e,t){return(0,a.renderPathForWeight)(e,t,l)},i=(0,t.forwardRef)(function(e,a){return t.default.createElement(n.default,Object.assign({ref:a},e,{renderPath:r}))});i.displayName="Fire",e.s(["Fire",0,i],1270)},12413,e=>{"use strict";var t=e.i(43476),a=e.i(68523),n=e.i(24006),l=e.i(48148);
1e.s(["default",0,function(){let e=(0,l.useTranslations)();return(0,t.jsxs)("div",{className:"container mx-auto pb-10",role:"status","aria-busy":"true","aria-label":e("loading-news"),children:[(0,t.jsx)(n.default,{isLoading:!0}),(0,t.jsx)("div",{className:"grid grid-cols-1 mt-2 sm:mt-4 sm:px-0 w-full overflow-hidden md:grid-cols-3 gap-2 lg:grid-cols-4 lg:gap-3",children:Array.from({length:8}).map((e,n)=>(0,t.jsx)(a.default,{isLoading:!0},`skeleton-${n}`))})]})}])},24006,e=>{"use strict";var t=e.i(43476),a=e.i(71645),n=e.i(57688),l=e.i(20133),r=e.i(80401),i=e.i(3259);function s({swiper:e,extendParams:t,on:a,emit:n,params:l}){let r,o,d,u,c,p,m,f,g;e.autoplay={running:!1,paused:!1,timeLeft:0},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let h=l&&l.autoplay?l.autoplay.delay:3e3,y=l&&l.autoplay?l.autoplay.delay:3e3,x=new Date().getTime();function v(t){!e||e.destroyed||!e.wrapperEl||t.target!==e.wrapperEl||(e.wrapperEl.removeEventListener("transitionend",v),g||t.detail&&t.detail.bySwiperTouchMove||E())}let w=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?u=!0:u&&(y=d,u=!1);let t=e.autoplay.paused?d:x+y-new Date().getTime();e.autoplay.timeLeft=t,n("autoplayTimeLeft",t,t/h),o=requestAnimationFrame(()=>{w()})},b=()=>{let t=e.params.autoplay.delay,a=(()=>{let t;if(t=e.virtual&&e.params.virtual.enabled?e.slides.find(e=>e.classList.contains("swiper-slide-active")):e.slides[e.activeIndex])return parseInt(t.getAttribute("data-swiper-autoplay"),10)})();return!Number.isNaN(a)&&a>0&&(t=a),t},j=t=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(o),w();let a=t;void 0===a&&(h=a=b(),y=a),d=a;let l=e.params.speed,i=()=>{e&&!e.destroyed&&(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(l,!0,!0),n("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,l,!0,!0),n("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(l,!0,!0),n("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,l,!0,!0),n("autoplay")),e.params.cssMode&&(x=new Date().getTime(),requestAnimationFrame(()=>{j()})))};return a>0?(clearTimeout(r),r=setTimeout(()=>{i()},a)):requestAnimationFrame(()=>{i()}),a},k=()=>{x=new Date().getTime(),e.autoplay.running=!0,j(),n("autoplayStart")},L=()=>{e.autoplay.running=!1,clearTimeout(r),cancelAnimationFrame(o),n("autoplayStop")},N=(t,a)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(r),t||(f=!0);let l=()=>{n("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",v):E()};(e.autoplay.paused=!0,a)?l():(d=(d||e.params.autoplay.delay)-(new Date().getTime()-x),e.isEnd&&d<0&&!e.params.loop||(d<0&&(d=0),l()))},E=()=>{e.isEnd&&d<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(x=new Date().getTime(),f?(f=!1,j(d)):j(),e.autoplay.paused=!1,n("autoplayResume"))},F=()=>{if(e.destroyed||!e.autoplay.running)return;let t=(0,i.g)();"hidden"===t.visibilityState&&(f=!0,N(!0)),"visible"===t.visibilityState&&E()},T=t=>{"mouse"!==t.pointerType||(f=!0,g=!0,e.animating||e.autoplay.paused||N(!0))},M=t=>{"mouse"===t.pointerType&&(g=!1,e.autoplay.paused&&E())};a("init",()=>{e.params.autoplay.enabled&&(e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",T),e.el.addEventListener("pointerleave",M)),(0,i.g)().addEventListener("visibilitychange",F),k())}),a("destroy",()=>{e.el&&"string"!=typeof e.el&&(e.el.removeEventListener("pointerenter",T),e.el.removeEventListener("pointerleave",M)),(0,i.g)().removeEventListener("visibilitychange",F),e.autoplay.running&&L()}),a("_freeModeStaticRelease",()=>{(p||f)&&E()}),a("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?L():N(!0,!0)}),a("beforeTransitionStart",(t,a,n)=>{!e.destroyed&&e.autoplay.running&&(n||!e.params.autoplay.disableOnInteraction?N(!0,!0):L())}),a("sliderFirstMove",()=>{if(!e.destroyed&&e.autoplay.running){if(e.params.autoplay.disableOnInteraction)return void L();c=!0,p=!1,f=!1,m=setTimeout(()=>{f=!0,p=!0,N(!0)},200)}}),a("touchEnd",()=>{if(!e.destroyed&&e.autoplay.running&&c){if(clearTimeout(m),clearTimeout(r),e.params.autoplay.disableOnInteraction){p=!1,c=!1;return}p&&e.params.cssMode&&E(),p=!1,c=!1}}),a("slideChange",()=>{!e.destroyed&&e.autoplay.running&&e.autoplay.paused&&(d=b(),h=b())}),Object.assign(e.autoplay,{start:k,stop:L,pause:N,resume:E})}var o=e.i(79053),d=e.i(86301),u=e.i(19088),c=e.i(76358),p=e.i(1270),m=e.i(48148),f=e.i(38133),g=e.i(22657),h=e.i(3147),y=e.i(74430),x=e.i(61745);e.s(["default",0,function({news:e,isLoading:i}){let v=(0,m.useTranslations)(),[w,b]=(0,a.useState)(0),j=(0,x.useLocale)(),k=(0,y.useAppSelector)(e=>e.sport?.selectedSportId??1),{data:L}=(0,h.useGetRecommendFavoritesQuery)({lang:j,sportId:k}),{data:N,isLoading:E}=(0,f.useGetNewsQuery)({lang:j,page:1,pageSize:20},{skip:!!e}),F=(0,a.useMemo)(()=>
1{if(e&&e.length>0)return e;if(!N?.articles)return[];let t=[...N.articles].sort((e,t)=>(t.views||0)-(e.views||0)),a=t.slice(0,2),n=t.filter(e=>!a.some(t=>t.uuid===e.uuid)),l=[];if(L){let e=[...L.competitions?.map(e=>e.name)||[],...L.players?.map(e=>e.name)||[],...L.teams?.map(e=>e.name)||[]].filter(Boolean);e.length>0&&(l=n.filter(t=>{let a=`${t.title} ${t.desc}`.toLowerCase();return e.some(e=>a.includes(e.toLowerCase()))}))}let r=[...a,...l.slice(0,3)];if(r.length<5){let e=new Set(r.map(e=>e.uuid)),a=t.filter(t=>!e.has(t.uuid)).slice(0,5-r.length);r.push(...a)}return r.sort((e,t)=>(t.views||0)-(e.views||0))},[e,N,L]);return i??E?(0,t.jsxs)("div",{className:"relative w-full group fade-in mb-6",children:[(0,t.jsxs)("div",{className:"relative w-full h-[313px] md:h-[350px] lg:h-[450px] rounded-lg overflow-hidden bg-figmaGray-3 animate-pulse flex flex-col md:flex-row",children:[(0,t.jsx)("div",{className:"w-full md:w-1/2 h-1/2 md:h-full bg-figmaGray-4"}),(0,t.jsxs)("div",{className:"w-full md:w-1/2 h-1/2 md:h-full px-4 lg:px-7 py-4 flex flex-col justify-center space-y-4",children:[(0,t.jsx)("div",{className:"h-6 bg-figmaGray-4 rounded w-24"}),(0,t.jsx)("div",{className:"h-10 bg-figmaGray-4 rounded w-full"}),(0,t.jsx)("div",{className:"h-10 bg-figmaGray-4 rounded w-3/4"}),(0,t.jsx)("div",{className:"h-4 bg-figmaGray-4 rounded w-32 mt-4"})]})]}),(0,t.jsx)("div",{className:"flex justify-center mt-4",children:Array.from({length:5}).map((e,a)=>(0,t.jsx)("div",{className:"swiper-pagination-bullet w- h-2 rounded-full bg-figmaGray-5 mx-1 animate-pulse"},a))})]}):F&&0!==F.length?(0,t.jsxs)("div",{className:"relative w-full group fade-in mb-6",role:"region","aria-label":v("trending"),children:[(0,t.jsxs)(r.Swiper,{slidesPerView:1,spaceBetween:0,style:{transform:"translate3d(0,0,0)",backfaceVisibility:"hidden",perspective:"1000px"},modules:[s,o.Navigation,d.Pagination],onSlideChange:e=>b(e.realIndex),speed:800,autoplay:{delay:5e3,disableOnInteraction:!0,pauseOnMouseEnter:!0},loop:F.length>1,navigation:{nextEl:".swiper-button-next-custom",prevEl:".swiper-button-prev-custom"},pagination:{clickable:!0,el:".swiper-pagination-custom",renderBullet:function(e,t){return'<span class="'+t+'" role="button" aria-label="Pagination"></span>'}},className:"trending-news-carousel h-[313px] md:h-[350px] lg:h-[450px] rounded-lg overflow-hidden",children:[F.map((e,a)=>{let i=w===a,s=Array.isArray(e.category)?e.category[0]:e.category||"News",o=new Date(e.published.replace(" ","T")).toLocaleDateString();return(0,t.jsx)(r.SwiperSlide,{children:(0,t.jsxs)(l.Link,{href:(0,g.generateNewsUrl)(e.title,e.uuid),className:"flex flex-col md:flex-row w-full h-full",children:[(0,t.jsxs)("div",{className:"w-full md:w-1/2 h-1/2 md:h-full relative overflow-hidden",style:{willChange:"transform"},children:[(0,t.jsx)(n.default,{src:e.thumbnail||"/images/antlive-placeholder.svg",alt:e.title||"News Image",fill:!0,priority:!0,sizes:"(max-width: 768px) 100vw, 50vw",fetchPriority:"high",loading:"eager",className:`object-cover transition-all duration-[2000ms] ease-out-expo ${i?"scale-100":"scale-110"}`}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-black/40 to-transparent md:hidden"})]}),(0,t.jsxs)("div",{className:"w-full md:w-1/2 h-1/2 md:h-full px-4 lg:px-7 py-4 flex flex-col justify-center bg-figmaGray-3",children:[(0,t.jsxs)("div",{className:"flex gap-2 mb-2 md:mb-4",children:[(0,t.jsxs)("div",{className:`flex items-center gap-2 bg-red-600 text-white py-1 px-3 rounded w-fit transition-all duration-700 delay-300 ${i?"translate-y-0 opacity-100":"translate-y-4 opacity-0"}`,children:[(0,t.jsx)(p.Fire,{size:14,weight:"fill",className:"shrink-0"}),(0,t.jsx)("span",{className:"text-[12px] font-medium tracking-wider uppercase whitespace-nowrap truncate max-w-[90px] sm:max-w-none",children:v("trending")})]}),(0,t.jsx)("div",{className:`flex items-center gap-2 bg-figmaGray-4 text-white py-1 px-3 rounded max-w-full min-w-0 transition-all duration-700 delay-400 ${i?"translate-y-0 opacity-100":"translate-y-4 opacity-0"}`,children:(0,t.jsx)("span",{className:"text-[12px] font-medium tracking-wider whitespace-nowrap truncate max-w-full block",children:s})})]}),(0,t.jsx)("h3",{className:`text-lg md:text-xl font-normal text-white mb-4 line-clamp-3 leading-normal transition-all duration-700 delay-500 ${i?"translate-y-0 opacity-100":"translate-y-8 opacity-0"}`,children:e.title}),(0,t.jsx)("p",{className:`text-figmaGray-5 text-sm font-medium transition-all duration-700 delay-700 ${i?"translate-y-0 opacity-100":"translate-y-4 opacity-0"}`,children:o})]})]})},e.uuid||a)}),(0,t.jsx)("button",{type:"button",className:"absolute top-1/2 -translate-y-1/2 left-4 z-20 swiper-button-prev-custom cursor-pointer p-3 bg-black/40 hover:bg-red-600 text-white rounded-full transition-all duration-300 backdrop-blur-sm border border-white/10 opacity-0 group-hover:opacity-100 hidden md:flex","aria-label":"Previous Slide",children:(0,t.jsx)(u.CaretLeft,{size:24,weight:"bold","aria-hidden":"true"})}),(0,t.jsx)("button",{type:"button",className:"absolute top-1/2 -translate-y-1/2 right-4 z-20 swiper-button-next-custom cursor-pointer p-3 bg-black/40 hover:bg-red-600 text-white rounded-full transition-all duration-300 backdrop-blur-sm border border-white/10 opacity-0 group-hover:opacity-100 hidden md:flex","aria-label":"Next Slide",children:(0,t.jsx)(c.CaretRight,{size:24,weight:"bold","aria-hidden":"true"})})]}),(0,t.jsx)("div",{className:"swiper-pagination-custom flex justify-center mt-4 swiper-pagination-bullets",role:"group","aria-label":"Carousel pagination"})]}):null}],24006)},68523,e=>{"use strict";var t=e.i(43476),a=e.i(71645),n=e.i(57688),l=e.i(20133),r=e.i(83361);e.s(["default",0,({news_title:e,news_thumbnail:i,news_category:s,news_published:o,news_url:d,news_desc:u,isLoading:c,unoptimized:p})=>{let[m,f]=(0,a.useState)(!1),[g,h]=(0,a.useState)(!0),y=(0,r.default)();(0,a.useEffect)(()=>{f(!1),h(!0)},[i]);let x=m?"/images/antlive-placeholder.svg":i||"/images/antlive-placeholder.svg";return c?(0,t.jsx)("div",{className:`bg-figmaGray-3 rounded-sm overflow-hidden animate-pulse ${y?"flex":"block"}`,children:y?(0,t.jsxs)("div",{className:"flex flex-row gap-2 w-full",children:[(0,t.jsx)("div",{className:"w-40 h-24 bg-figmaGray-4 shrink-0"}),(0,t.jsxs)("div",{className:"flex-1 p-3 space-y-4",children:[(0,t.jsx)("div",{className:"h-4 bg-figmaGray-4 rounded w-3/4"}),(0,t.jsx)("div",{className:"h-3 bg-figmaGray-4 rounded w-1/2"})]})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"h-48 w-full bg-figmaGray-4"}),(0,t.jsxs)("div",{className:"p-3 space-y-4 h-[120px]",children:[(0,t.jsx)("div",{className:"h-4 bg-figmaGray-4 rounded w-full"}),(0,t.jsx)("div",{className:"h-4 bg-figmaGray-4 rounded w-2/3"}),(0,t.jsx)("div",{className:"h-3 bg-figmaGray-4 rounded w-1/4 mt-auto"})]})]})}):(0,t.jsx)(t.Fragment,{children:y?(0,t.jsx)("div",{className:"bg-figmaGray-3 bana-news flex rounded-sm transition-opacity duration-300",children:(0,t.jsxs)(l.Link,{href:d||"#",className:"flex flex-row gap-2 w-full","aria-label":e,children:[(0,t.jsxs)("div",{className:"match-img relative flex-shrink-0 w-26 h-22 xs:w-40 xs:h-25 ",children:[g&&(0,t.jsx)("div",{className:"absolute inset-0 bg-figmaGray-4 animate-pulse rounded-l-sm"}),(0,t.jsx)(n.default,{src:x,alt:e||"",fill:!0,sizes:"160px",unoptimized:p,className:`object-cover transition-all duration-500 group-hover:scale-110 ${g?"opacity-0":"opacity-100"}`,onLoad:()=>h(!1),onError:()=>{f(!0),h(!1)}})]}),(0,t.jsx)("div",{className:"flex-1",children:(0,t.jsx)("div",{className:"px-3 py-2",children:(0,t.jsxs)("div",{className:"flex flex-col gap-6",children:[(0,t.jsx)("h3",{className:"font-semibold text-sm xs:text-base line-clamp-2",children:e}),(0,t.jsx)("div",{className:"text-sm text-gray font-medium",children:(0,t.jsx)("p",{className:"vertical-align: inherit;",children:o})})]})})})]})}):(0,t.jsxs)(l.Link,{href:d||"#",className:"group block bg-figmaGray-3 rounded-lg overflow-hidden transition-all duration-400 hover:bg-figmaGray-2","aria-label":e,children:[(0,t.jsxs)("div",{className:"relative h-48 w-full overflow-hidden",children:[g&&(0,t.jsx)("div",{className:"absolute inset-0 bg-figmaGray-4 animate-pulse"}),(0,t.jsx)(n.default,{src:x,alt:e||"",fill:!0,sizes:"(max-width: 480px) 100v
1w, (max-width: 768px) 50vw, (max-width: 1024px) 33vw, (max-width: 1280px) 25vw, 500px",unoptimized:p,className:`object-cover transition-all duration-500 group-hover:scale-110 ${g?"opacity-0":"opacity-100"}`,onLoad:()=>h(!1),onError:()=>{f(!0),h(!1)}}),s&&!g&&(0,t.jsx)("div",{className:"absolute top-2 right-3 text-sm capitalize bg-primary bg-opacity-80 text-white px-3 py-1 rounded-full max-w-[calc(100%-24px)] truncate",title:s,children:s})]}),(0,t.jsx)("div",{className:"flex flex-col h-[120px]",children:(0,t.jsxs)("div",{className:"px-3 py-4 flex flex-col h-full",children:[(0,t.jsx)("h3",{className:"font-semibold text-base line-clamp-2 text-white transition-color duration-400 group-hover:text-primary",children:e}),(0,t.jsx)("div",{className:"mt-auto",children:(0,t.jsx)("p",{className:"text-gray text-xs mb-2",children:o})})]})})]})})}])},22657,e=>{"use strict";e.s(["generateNewsUrl",0,function(e,t){let a=e?e.toLowerCase().replace(/[^\w\s-]/g,"").replace(/[\s_-]+/g,"-").replace(/^-+|-+$/g,""):"";return a?`/news/${a}`:`/news/${t||""}`}])}]); 2 3//# sourceMappingURL=30l_ofph39m8i.js.map
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.