PageSourceSearch

https://lafmplus.com/_next/static/chunks/0k_wyyhwlbrbr.js

js lafmplus.com collected 2026-10-02 21:32:27 UTC 29,703 bytes, 37 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,867927,e=>{"use strict";let t=(0,e.i(456420).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["ChevronRight",0,t],867927)},129768,e=>{"use strict";let t=(0,e.i(456420).default)("calendar-days",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]]);e.s(["CalendarDays",0,t],129768)},24071,e=>{"use strict";let t=(0,e.i(456420).default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["ChevronLeft",0,t],24071)},116082,e=>{"use strict";var t=e.i(560272);let r=e=>{if(e){if("url"in e&&e.url)return e;if(e&&"object"==typeof e&&("data"in e||"attributes"in e))return r(e.data)??r(e.attributes)}};e.s(["formatMegaliveEventDate",0,e=>new Intl.DateTimeFormat("es-CO",{day:"numeric",month:"long",year:"numeric",timeZone:"America/Bogota"}).format(new Date(e)),"getMegaliveBannerImage",0,(e,l,a="desktop")=>(0,t.ImagesStrapiForQuery)("mobile"===a?r(e?.squareImage)??r(e?.landscapeImage):r(e?.landscapeImage)??r(e?.squareImage),l),"getMegaliveCalendarFileUrl",0,e=>`/api/megalive/calendar/${encodeURIComponent(e.urlSeo)}.ics`,"getMegaliveCountdownItems",0,e=>{let t=Math.floor(Math.max(new Date(e).getTime()-Date.now(),0)/1e3),r=Math.floor(t/86400),l=Math.floor(t%86400/3600),a=Math.floor(t%3600/60);return[[String(r).padStart(2,"0"),"Días"],[String(l).padStart(2,"0"),"Horas"],[String(a).padStart(2,"0"),"Minutos"],[String(t%60).padStart(2,"0"),"Segundos"]]},"getMegaliveEventUrl",0,(e,t)=>`/eventos/${t.urlSeo}`])},420865,e=>{"use strict";let t=(0,e.i(456420).default)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]]);e.s(["MapPin",0,t],420865)},667585,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BailoutToCSR",{enumerable:!0,get:function(){return a}});let l=e.r(132061);function a({reason:e,children:t}){if("u"<typeof window)throw Object.defineProperty(new l.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t}},309885,(e,t,r)=>{"use strict";function l(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"encodeURIPath",{enumerable:!0,get:function(){return l}})},652157,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"PreloadChunks",{enumerable:!0,get:function(){return o}});let l=e.r(843476),a=e.r(174080),n=e.r(563599),i=e.r(309885),s=e.r(543369);function o({moduleIds:e}){if("u">typeof window)return null;let t=n.workAsyncStorage.getStore();if(void 0===t)return null;let r=[];if(t.reactLoadableManifest&&e){let l=t.reactLoadableManifest;for(let t of e){if(!l[t])continue;let e=l[t].files;r.push(...e)}}if(0===r.length)return null;let d=(0,s.getAssetTokenQuery)();return(0,l.jsx)(l.Fragment,{children:r.map(e=>{let r=`${t.assetPrefix}/_next/${(0,i.encodeURIPath)(e)}${d}`;return e.endsWith(".css")?(0,l.jsx)("link",{precedence:"dynamic",href:r,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,a.preload)(r,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},869093,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return d}});let l=e.r(843476),a=e.r(271645),n=e.r(667585),i=e.r(652157);function s(e){return{default:e&&"default"in e?e.default:e}}let o={loader:()=>Promise.resolve(s(()=>null)),loading:null,ssr:!0},d=function(e){let t={...o,...e},r=(0,a.lazy)(()=>t.loader().then(s)),d=t.loading;function c(e){let s=d?(0,l.jsx)(d,{isLoading:!0,pastDelay:!0,error:null}):null,o=!t.ssr||!!t.loading,c=o?a.Suspense:a.Fragment,u=t.ssr?(0,l.jsxs)(l.Fragment,{children:["u"<typeof window?(0,l.jsx)(i.PreloadChunks,{moduleIds:t.modules}):null,(0,l.jsx)(r,{...e})]}):(0,l.jsx)(n.BailoutToCSR,{reason:"next/dynamic",children:(0,l.jsx)(r,{...e})});return(0,l.jsx)(c,{...o?{fallback:s}:{},children:u})}return c.displayName="LoadableComponent",c}},770703,(e,t,r)=>{"use strict";
1Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return a}});let l=e.r(555682)._(e.r(869093));function a(e,t){let r={};"function"==typeof e&&(r.loader=e);let a={...r,...t};return(0,l.default)({...a,modules:a.loadableGenerated?.modules})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},954186,e=>{"use strict";var t=e.i(843476),r=e.i(3303),l=e.i(271645),a=e.i(618566);e.s(["default",0,({onLoad:e})=>{let n=!!JSON.parse((0,a.useSearchParams)().get("no_player")||"0"),i=(0,l.useCallback)(()=>{e&&e()},[e]);return n?null:(0,t.jsx)(r.default,{strategy:"afterInteractive",src:"https://player.cdn.mdstrm.com/lightning_player/api.js",onLoad:i})}])},411346,e=>{"use strict";var t=e.i(843476);e.s(["default",0,function(){return(0,t.jsx)("div",{className:"z-50 flex h-[700px] w-full items-center justify-center bg-(--player-color) p-4 text-white",children:(0,t.jsx)("svg",{"aria-hidden":"true",focusable:"false","data-prefix":"fal","data-icon":"spinner",className:"h-[50px] w-[50px] animate-spin",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",children:(0,t.jsx)("path",{fill:"currentColor",d:"M288 32c0 17.673-14.327 32-32 32s-32-14.327-32-32 14.327-32 32-32 32 14.327 32 32zm-32 416c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm256-192c0-17.673-14.327-32-32-32s-32 14.327-32 32 14.327 32 32 32 32-14.327 32-32zm-448 0c0-17.673-14.327-32-32-32S0 238.327 0 256s14.327 32 32 32 32-14.327 32-32zm33.608 126.392c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm316.784 0c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zM97.608 65.608c-17.673 0-32 14.327-32 32 0 17.673 14.327 32 32 32s32-14.327 32-32c0-17.673-14.327-32-32-32z"})})})}])},844196,e=>{"use strict";var t=e.i(843476),r=e.i(271645),l=e.i(618566),a=e.i(770703),n=e.i(411346);let i=(0,a.default)(()=>e.A(447029),{loadableGenerated:{modules:[947418]},ssr:!1,loading:()=>null});e.s(["default",0,function({domId:e,appName:a,playerData:s,cityPath:o}){let[d,c]=(0,r.useState)(!1),[u,x]=(0,r.useState)(!0),[p,m]=(0,r.useState)(null),f=(0,r.useRef)(null),h=(0,l.useSearchParams)(),g=(0,r.useRef)(!1),b=o??h.get("ciudad"),{live:y,playerId:j,autoplay:w}=s,v=(0,r.useMemo)(()=>{let e=y?.[0]?.liveId||"";if(b&&y?.length){let t=b.toLowerCase(),r=y.find(e=>e.city?.slug?.toLowerCase()===t||e.city?.name?.toLowerCase()===t);r&&(e=r.liveId)}return e},[b,y]);return(0,r.useEffect)(()=>{if(d&&!f.current&&!g.current)return g.current=!0,(async()=>{try{window.__msPlayerCache??=new Map;let t=`${e}-${v}-${j}`,r=window.__msPlayerCache.get(t);if(r)f.current=r;else{let r=await window.loadMSPlayer(e,{type:"live",id:v,player:j||"",autoplay:w??!1,appName:a});f.current=r,window.__msPlayerCache.set(t,r)}m(null)}catch(e){console.error("Error initializing MediaStream player:",e),m("No se pudo cargar el reproductor. Por favor, intenta recargar la página.")}finally{x(!1),g.current=!1}})(),()=>{f.current=null,g.current=!1}},[d,e,v,j,w,a]),(0,t.jsxs)(t.Fragment,{children:[u&&!p&&(0,t.jsx)(n.default,{}),p&&(0,t.jsx)("div",{className:"flex items-center justify-center bg-(--player-color) p-4 text-white",role:"alert","aria-live":"assertive",children:(0,t.jsxs)("div",{className:"flex flex-col items-center gap-2 text-center",children:[(0,t.jsx)("p",{className:"text-sm",children:p}),(0,t.jsx)("button",{onClick:()=>window.location.reload(),className:"rounded bg-white/20 px-3 py-1 text-xs transition-colors hover:bg-white/30",children:"Recargar"})]})}),(0,t.jsx)("div",{id:e,className:u||p?"hidden":"block"}),(0,t.jsx)(i,{onLoad:()=>c(!0)})]})}])},822838,e=>{"use strict";var t=e.i(843476),r=e.i(271645);e.s(["default",0,({colorMain:e,colorSecondary:l,children:a,isMobile:n})=>{let i=(0,r.useMemo)(()=>({ballOne:(e??"#FEE900")+"66",ballTwo:(l??"#500078")+"66",ballThree:(l??"#500078")+"33"}),[e,l]);return(0,t.jsx)("div",{onMouseMove:e=>{let t=e.currentTarget.getBoundingClientRect(),r=50+((e.clientX-t.left)/t.width*100-50)*.5,l=50+((e.clientY-t.top)/t.height*100-50)*.5;e.currentTarget.style.setProperty("--x",`${r}%`),e.currentTarget.style.setProperty("--y",`${l}%`)},onMouseLeave:e=>{e.currentTarget.style.setProperty("--x",n?"10%":"46%"),e.currentTarget.style.setProperty("--y",n?"80%":"54%")},className:"flex min-h-auto w-full items-center justify-center overflow-hidden pt-10 pb-10 transition-all duration-500 ease-out lg:min-h-[600px]",style:{"--x":"45%","--y":"55%",backgroundImage:`
2                    radial-gradient(circle 300px at var(--x) var(--y), ${i.ballOne} 0%, transparent 100%),
3                    radial-gradient(circle 300px at calc(100% - var(--x)) calc(var(--y) * 0.8), ${i.ballTwo} 0%, transparent 100%),
4                    radial-gradient(circle 300px at calc(var(--y) * 1.2) calc(100% - var(--x) * 0.6), ${i.ballThree} 0%, transparent 100%)
5`,backgroundRepeat:"no-repeat",transition:"background-position 2.5s ease-out"},children:a})}])},797135,e=>{"use strict";var t=e.i(843476);e.s(["default",0,({videoId:e,height:r,width:l,style:a={},className:n=""})=>(0,t.jsx)("div",{id:e,style:{...a,position:"relative"},className:n,children:(0,t.jsx)("iframe",{src:`https://www.dailymotion.com/embed/video/${e}`,width:l,height:r,style:{border:"none",position:"absolute",top:0,left:0,width:"100%",height:"100%"},allow:"fullscreen; picture-in-picture",allowFullScreen:!0,title:"Dailymotion video player"})})])},787015,e=>{"use strict";var t=e.i(843476),r=e.i(130013),l=e.i(271645),a=e.i(657688),n=e.i(274608);function i({gradient:e=!1,className:r="",classNameWrapper:l="",bordeGradient:n=!1,beforeMobile:s,borderBottom:o=!1,gradientRight:d=!1,focusX:c,focusY:u,objectFit:x="cover",width:p=0,height:m=0,unoptimized:f,...h}){let g=void 0!==c&&void 0!==u?`${c}% ${u}%`:"50% 50%";return(0,t.jsx)("div",{className:`w-full ${e?"gradient-img":""}
6                ${n?"border-gradient":""} ${l}
7                ${s?"beforemobile":""}
8                ${d?"gradient-right":""}
9                ${o?"borderBottom":""}`,children:(0,t.jsx)("div",{className:"relative w-full",style:{aspectRatio:`${p}/${m}`,height:m},children:(0,t.jsx)(a.default,{...h,alt:h.alt??"",fill:!0,quality:100,className:r,style:{objectFit:x,objectPosition:g},unoptimized:!!f})})})}e.i(247167);let s={default:"",category:"font-krona text-[#1E1E23] text-[11px] before-gradient-category hover:opacity-[.8]",tag:"font-krona flex items-center justify-between md:text-[11px] border border-[#A7A7A7] px-2 py-[1px] gap-[6px] rounded-[1px] hover:bg-[#08010E] hover:text-white transition-colors duration-200 h-8",caterorytrend:"font-krona text-[10px] text-[#F8F9F6] bg-gradient-gral px-3 py-1 h-8 flex items-center",menu:"font-lato text-white text-base font-black",button:"flex items-center justify-center gap-[10px] bg-[#F8F9F6] text-[#08010E] text-[15px] max-w-[260px] mx-auto py-[5px] px-[12px] font-krona hover:text-white hover:bg-[#08010E] transition-colors duration-200 h-10",new:"","btn-google-news":"font-krona text-[#08010E] text-[10px] text-center bg-[#D4D4D4] w-full p-2 flex justify-center items-center gap-3 rounded-[4px] my-6 border border-[#A7A7A7] hover:bg-[#F8F9F6] transition-colors duration-200","btn-standard":"font-krona text-[#08010E] text-[10px] text-left bg-[#F8F9F6] w-full p-2 flex justify-center items-center gap-2 rounded-[4px] border border-[#A7A7A7] hover:bg-[#D4D4D4] transition-colors duration-200","li-tag":"text-[#500078] font-lato text-[12px] font-bold hover:underline hover:opacity-[.8]","btn-standard-mobile":"font-krona text-[#08010E] text-[10px] text-left bg-[#F8F9F6] w-full p-2 flex items-center gap-2 rounded-[4px] border border-[#A7A7A7] hover:bg-[#D4D4D4] transition-colors duration-200","go-home":" max-w-[234px] font-krona flex items-center justify-between md:text-[14px] border border-white py-2 px-5 gap-[6px] rounded-[1px] m-auto text-white"},o=(0,l.forwardRef)(({type:e="default",className:r="",href:l,children:a,target:n,rel:i,...o},d)=>
9{if(!l)return null;let{href:c,target:u,rel:x}=(e=>{if(!e)return{href:""};let t=e.startsWith("http"),r="https://www.zona-interactiva.canalrcn.com",l=t&&e.startsWith(r);if(t&&!l)return{href:e,target:"_blank",rel:"noopener noreferrer"};let a=e;return l&&""===(a=e.replace(r,""))&&(a="/"),a.startsWith("/")||a.startsWith("http")||(a=`/${a}`),{href:a,target:void 0,rel:void 0}})(l),p=`${s[e]} ${r}`.trim();return(0,t.jsx)("a",{ref:d,href:c,className:p,target:n||u,rel:i||x,...o,children:a})});function d({data:e}){return(0,t.jsx)(o,{type:"new",href:e.href,target:"_blank",rel:"noopener noreferrer","aria-label":e.title,className:"flex w-full items-start transition hover:opacity-90",children:(0,t.jsxs)("div",{className:"flex justify-between gap-[10px] border-b pb-3",children:[(0,t.jsx)("h4",{className:"font-lato text-[13px] font-black hover:underline",children:e.title}),(0,t.jsx)("div",{className:"h-[82px] w-[110px] shrink-0",children:(0,t.jsx)(i,{src:e.image,alt:e.title,width:110,height:82,unoptimized:!0,loading:"eager",focusX:e.focusX,focusY:e.focusY})})]})})}o.displayName="AtLink";let c={arrowHorizontal:(0,l.memo)(function(e){return(0,t.jsx)("svg",{width:16,height:10,viewBox:"0 0 16 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:(0,t.jsx)("path",{d:"M0.5 4.92C1.168 4.959 10.206 4.936 14.642 4.92M14.642 4.92L10.223 0.5M14.642 4.92L10.321 9.241",stroke:"currentColor",strokeLinecap:"round"})})})},u={xs:"w-3 h-3",sm:"w-4 h-4",md:"w-6 h-6",lg:"w-8 h-8",xl:"w-10 h-10"},x={current:"text-current",primary:"text-primary",secondary:"text-secondary",white:"text-white",black:"text-black"};function p({name:e,size:r="md",color:l="current",animated:a=!1,className:n="",...i}){let s=c[e],o=`
10        ${u[r]}
11        ${x[l]}
12        ${a?"transition-transform duration-300":""}
13        ${n}
14    `;return(0,t.jsx)(s,{className:o,...i})}let m=({brand:e,data:r})=>{let l=r.filter(t=>t.brand===e.urlSeo);if(0===l.length)return null;let i=(0,n.getContrastingColor)(e.mainColor);return(0,t.jsxs)("div",{className:"group mb-5 flex h-full w-full max-w-[336px] flex-col rounded-lg p-5 shadow-[2px_4px_9.1px_3px_rgba(0,0,0,0.25)] [&_.border-b]:border-white/20",style:{backgroundColor:e.mainColor,color:i},children:[(0,t.jsxs)(o,{type:"default",href:e.href,target:"blank",className:"mb-3 flex items-center justify-between hover:opacity-90",children:[(0,t.jsx)(a.default,{src:e.mainImage||e.logo,alt:e.alt,width:e.logoWidth,height:e.logoHeight}),(0,t.jsx)(p,{name:"arrowHorizontal",width:16,height:10})]}),(0,t.jsx)("div",{className:"flex flex-col gap-4",children:l.map(e=>(0,t.jsx)(d,{data:e},e.id))})]})};e.s(["default",0,({widget:e,productions:a,data:n})=>{let[i,s]=(0,r.default)({align:"start",loop:!1}),[o,d]=(0,l.useState)(0),[c,u]=(0,l.useState)([]);return(0,l.useEffect)(()=>{s&&queueMicrotask(()=>{u(s.scrollSnapList()),d(s.selectedScrollSnap())})},[s]),(0,l.useEffect)(()=>{if(!s)return;let e=()=>{d(s.selectedScrollSnap())};return s.on("select",e),()=>{s.off("select",e)}},[s]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h2",{className:"font-lato mb-5 text-2xl font-bold text-white",children:e.title}),(0,t.jsxs)("div",{className:"m-auto overflow-x-hidden rounded-lg bg-[#282828] p-5 pr-0 md:p-0",children:[(0,t.jsx)("div",{className:"embla overflow-hidden md:py-5",ref:i,children:(0,t.jsx)("div",{className:"embla__container mb-4 flex items-stretch gap-4 lg:justify-center lg:gap-7",children:a.map(e=>(0,t.jsx)("div",{className:"flex flex-[0_0_85%] md:flex-[0_0_23%]",children:(0,t.jsx)(m,{brand:e,data:n})},e.id))})}),(0,t.jsx)("div",{className:"mt-4 flex justify-center gap-2 md:hidden",children:c.map((e,r)=>(0,t.jsx)("button",{title:"Botón de navegación",onClick:()=>s?.scrollTo(r),className:`h-4 w-4 rounded-full transition-all ${r===o?"bg-[#FF5E95]":"bg-[#696479]"}`},e))})]})]})}],787015)},734993,e=>{"use strict";var t=e.i(843476),r=e.i(271645),l=e.i(411346),a=e.i(954186);e.s(["default",0,function({id:e,type:n="live",autoplay:i=!1}){let[s,o]=(0,r.useState)(!1),[d,c]=(0,r.useState)(!0),u=(0,r.useRef)(null),x=`ms-video-player-${e}`;return(0,r.useEffect)(()=>{if(s&&!u.current)return(async()=>{try{window.loadMSPlayer&&(u.current=await window.loadMSPlayer(x,{type:n,id:e,autoplay:i,appName:"zona-interactiva"}))}catch(e){console.error("Error initializing MediaStream video player:",e)}finally{c(!1)}})(),()=>{u.current=null}},[s,e,n,i,x]),(0,t.jsxs)(t.Fragment,{children:[d&&(0,t.jsx)(l.default,{}),(0,t.jsx)("div",{id:x,className:`h-full w-full
15                    ${d?"hidden":"block"}`}),(0,t.jsx)(r.Suspense,{fallback:null,children:(0,t.jsx)(a.default,{onLoad:()=>o(!0)})})]})}])},559794,e=>{"use strict";e.s(["formatKm",0,e=>{let t=e?.match(/[\d.,]+/)?.[0];return t?`${t} km`:e??""}])},982229,e=>{"use strict";var t=e.i(843476),r=e.i(514245),l=e.i(560272),a=e.i(657688),n=e.i(271645);let i=({expanded:e})=>(0,t.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,
15className:"transition-transform duration-200",style:{transform:e?"rotate(180deg)":"none"},children:(0,t.jsx)("path",{d:"m6 9 6 6 6-6",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),s=({items:e,expandedId:n,onToggle:s})=>(0,t.jsx)("div",{className:"flex flex-col gap-4",children:e.map((o,d)=>{let c=d===e.length-1,u=o?.id??d,x=n===u,p=(0,l.ImagesStrapiForQuery)(o?.image),m=1===e.length?"top-[31px] bottom-[calc(100%-31px)]":0===d?"top-[31px] bottom-0":c?"top-0 bottom-[calc(100%-31px)]":"top-0 bottom-0";return(0,t.jsxs)("div",{className:"relative flex items-stretch gap-4",children:[(0,t.jsxs)("div",{className:"relative flex w-9 flex-shrink-0 justify-center",children:[(0,t.jsx)("div",{className:`absolute w-px bg-[#D7DCE6] ${m}`}),(0,t.jsx)("span",{className:"z-10 mt-[12px] flex h-9 w-9 items-center justify-center rounded-full text-[16px]",style:{background:"#0B1220",border:"1px solid #1E2840"},children:o?.emoji})]}),(0,t.jsxs)("div",{className:"flex-1 overflow-hidden rounded-2xl",style:{background:"#0B1220",border:x?"1px solid #2C3B63":"1px solid #1E2840"},children:[x&&o?.image?.url?(0,t.jsx)(r.default,{link:o?.url,className:"block overflow-hidden",children:(0,t.jsx)(a.default,{src:p.url,alt:p.alt,width:o.image.width??1200,height:o.image.height??600,className:"h-44 w-full object-cover lg:h-52"})}):null,(0,t.jsxs)("button",{type:"button",onClick:()=>s(u),"aria-expanded":x,className:"flex w-full items-center justify-between gap-3 px-5 py-4 text-left",children:[(0,t.jsxs)("span",{className:"min-w-0",children:[o?.title?(0,t.jsx)("span",{className:"font-lato block text-[22px] font-black text-[#FFE600]",style:{lineHeight:1.1},children:o.title}):null,o?.subtitle?(0,t.jsx)("span",{className:"font-lato mt-0.5 block text-[14px] text-[#A8B8D8]",children:o.subtitle}):null]}),(0,t.jsx)("span",{className:"flex-shrink-0 text-[#8B9CC5]",children:(0,t.jsx)(i,{expanded:x})})]}),x&&o?.description?(0,t.jsx)("div",{className:"px-5 pb-5",children:(0,t.jsx)("p",{className:"font-lato text-[14px] leading-relaxed text-[#B8C4DC]",children:o.description})}):null]})]},`timeline-item-${u}`)})});e.s(["default",0,({section:e})=>{let i=e?.card,o=e?.cardTimeLine?.filter(Boolean)??[],d=e?.button,[c,u]=(0,n.use
15State)(null),x=e=>u(t=>t===e?null:e);if(!i&&!o.length)return null;let p=(0,l.ImagesStrapiForQuery)(i?.imageBanner),m=i?.title?.split(/<br\s*\/?>|\n/g).map(e=>e.trim()).filter(Boolean)??[i?.title??""],f=Math.ceil(o.length/2),h=o.slice(0,f),g=o.slice(f);return(0,t.jsxs)("section",{className:"mt-10 bg-white px-5 pb-6 lg:mt-2 lg:px-50 lg:py-8",children:[i?(0,t.jsxs)("div",{className:"relative overflow-hidden rounded-2xl",children:[i.imageBanner?.url?(0,t.jsx)(a.default,{src:p.url,alt:p.alt,fill:!0,className:"absolute inset-0 h-full w-full object-cover object-center"}):null,(0,t.jsx)("div",{className:"absolute inset-0",style:{background:"linear-gradient(100deg, rgba(11,18,60,0.94) 0%, rgba(11,18,60,0.75) 45%, rgba(27,17,80,0.55) 100%)"}}),(0,t.jsxs)("div",{className:"relative px-6 py-10 lg:px-14 lg:py-16",children:[i.caption?(0,t.jsxs)("div",{className:"mb-4 flex items-center gap-2",children:[(0,t.jsx)("span",{className:"h-[3px] w-8 rounded-full bg-[#FFE600]"}),(0,t.jsx)("span",{className:"font-lato text-[12px] font-bold tracking-[0.28em] text-[#FFE600] uppercase",children:i.caption})]}):null,(0,t.jsx)("h2",{className:"font-lato max-w-[560px] text-2xl font-black text-white lg:text-3xl",style:{lineHeight:1.02},children:m.map((e,r)=>(0,t.jsx)("span",{className:"block",children:e},`title-part-${r}`))}),i.description?(0,t.jsx)("p",{className:"font-lato mt-4 max-w-[440px] text-[16px] leading-relaxed text-[#B8C4DC]",children:i.description}):null]})]}):null,o.length?(0,t.jsx)("div",{className:"mt-8 lg:hidden",children:(0,t.jsx)(s,{items:o,expandedId:c,onToggle:x})}):null,o.length?(0,t.jsxs)("div",{className:"mt-8 hidden items-start gap-x-14 lg:grid lg:grid-cols-2",children:[(0,t.jsx)(s,{items:h,expandedId:c,onToggle:x}),g.length?(0,t.jsx)(s,{items:g,expandedId:c,onToggle:x}):null]}):null,d?.title?(0,t.jsx)("div",{className:"mt-10 flex justify-center",children:(0,t.jsxs)(r.default,{link:d.url,className:"font-lato inline-flex items-center gap-3 rounded-xl px-8 py-3.5 text-[15px] font-black text-[#0B1220] transition-opacity hover:opacity-90",style:{background:"#FFE600"},children:[d.title,(0,t.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,children:(0,t.jsx)("path",{d:"M4 12h16m0 0-6-6m6 6-6 6",stroke:"currentColor",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round"})})]})}):null]})}])},21042,e=>{"use strict";var t=e.i(843476),r=e.i(657688),l=e.i(271645),a=e.i(590106),n=e.i(867927);let i={9:"General",10:"Jóvenes",11:"Novatos",12:"Equipos",14:"Montaña",16:"Sprints"},s=["9","14","16","10","11","12"],o={COL:"🇨🇴",ESP:"🇪🇸",HON:"🇭🇳",VEN:"🇻🇪"},d=e=>e.points?`${e.points} pts`:e.total?`${e.total} pts`:(e=>{let[t,r,l]=e.split(":");return t&&r&&l?`${t}h ${r}m ${l}s`:e})(e.time),c=e=>[e.team,e.detail].filter(Boolean).join(" · "),u=({nationality:e})=>(0,t.jsx)(t.Fragment,{children:e?(0,t.jsx)("span",{"aria-label":e,title:e,children:o[e]??e}):null});e.s(["default",0,({dataFiles:e})=>{let[o,x]=(0,l.useState)([]),[p,m]=(0,l.useState)("9"),[f,h]=(0,l.useState)(!1);(0,l.useEffect)(()=>{let t=new AbortController;return(async()=>{var r;let l,a=e.slice().reverse().find(e=>"application/pdf"===e.mime);if(!a)return;let n=(l=decodeURIComponent(a.url.split("/").pop()??a.name).replace(/\.pdf$/i,".xml"),`https://loyalty-imagenes.canalrcn.com/landing-classification/${encodeURIComponent(l)}`);if(n)try{let e=await fetch(n,{signal:t.signal});if(!e.ok)return;x((r=await e.text(),Array.from(new DOMParser().parseFromString(r,"application/xml").querySelectorAll("CLF")).map(e=>{let t=e.getAttribute("ID")??"",r=e.getAttribute("ParDES")??"";return{id:t,label:i[t]??r,riders:Array.from(e.querySelectorAll("Puesto")).map((e,t)=>{let r=e.getAttribute("Apellido_Nombre")??"",l=e.getAttribute("Equipo")??"";return{detail:e.getAttribute("Paso")??void 0,difference:e.getAttribute("Diferencia")??void 0,name:r?r.split(",").reverse().join(" ").toLocaleLowerCase("es").replace(/(^|\s)\p{L}/gu,e=>e.toLocaleUpperCase("es")):l,nationality:e.getAttribute("Nac")??"",podiumName:r?(r.split(",")[0]??"").trim():l,points:e.getAttribute("Puntos")??void 0,position:e.getAttribute("Cls")??String(t+1),team:r?l:"",time:e.getAttribute("Tiempos")??"",total:e.getAttribute("Total")??void 0}})}})))}catch{if(t.signal.aborted)return}})(),()=>t.abort()},[e]);let g=s.map(e=>o.find(t=>
15t.id===e)).filter(e=>!!e?.riders.length),b=g.find(e=>e.id===p)??g[0],y=b?.riders??[],j=b?.label??"General",w=f?y:y.slice(0,10);if(!g.length)return null;let v=[y[1],y[0],y[2]].filter(e=>!!e);return(0,t.jsxs)("section",{className:"mt-2 bg-white px-5 py-4 lg:px-50",children:[(0,t.jsx)("h2",{className:"font-lato mb-4 text-2xl leading-tight font-black text-[#0B1E5B] lg:text-3xl",children:"Clasificación"}),(0,t.jsxs)("div",{className:"grid gap-6 lg:grid-cols-[minmax(300px,0.54fr)_1fr]",children:[(0,t.jsxs)("div",{className:"min-w-0 rounded-2xl bg-[#111827] p-5 text-white",children:[(0,t.jsxs)("h3",{className:"font-lato flex items-center gap-2 text-sm font-bold",children:[(0,t.jsx)(a.BsTrophyFill,{className:"text-[#FFE000]"}),"TOP 3 - ",j.toUpperCase()]}),(0,t.jsx)("div",{className:"mt-8 flex items-end justify-center gap-4",children:v.map((e,l)=>{let a=e===y[0],n=e===y[2];return(0,t.jsxs)("div",{className:`flex min-w-0 flex-1 flex-col
16                                    items-center
17                                    ${a?"order-2":0===l?"order-1":"order-3"}`,children:[(0,t.jsx)("span",{className:`mb-2 flex h-7 w-7
18                                        items-center justify-center rounded-full
19                                        text-xs font-bold text-[#111827] ${a?"bg-[#FFE000]":n?"bg-[#D9822B]":"bg-[#D1D5DB]"}`,children:a?(0,t.jsx)(r.default,{src:"/img/classification-trophy.svg",alt:"Líder",width:12,height:12}):e.position}),(0,t.jsx)("div",{className:`flex items-center
20                                        justify-center rounded-full border-2
21                                        bg-[#202635] font-bold ${a?`h-17 w-17 border-[#9B8500]
22                                                    text-lg`:n?`h-13 w-13 border-[#7C4A22]
23                                                    text-sm`:`h-13 w-13 border-[#596273]
24                                                    text-sm`}`,children:e.name.split(/\s+/).map(e=>e[0]).join("").slice(0,2).toUpperCase()}),(0,t.jsx)("strong",{className:"mt-2 max-w-full truncate text-xs",children:e.podiumName}),(0,t.jsx)("span",{className:"mt-1 max-w-full truncate text-[10px] text-[#AAB2C2]",children:e.team}),(0,t.jsx)("div",{className:`mt-3 w-full rounded-t border
25                                        border-b-0 ${a?`h-12 border-[#665C00]
26                                                    bg-[#282719]`:n?`h-8 border-[#7C4A22]
27                                                    bg-[#2B211E]`:`h-8 border-[#41495A]
28                                                    bg-[#202635]`}`})]},`${e.position}-${e.name}`)})}),(0,t.jsx)("div",{className:"mt-4 space-y-2",children:y.slice(0,3).map(e=>(0,t.jsxs)("div",{className:"flex items-center gap-3 rounded-xl border border-[#554C00] bg-[#22251
28F] px-4 py-3",children:[(0,t.jsx)(a.BsTrophyFill,{className:"shrink-0 text-[#FFE000]"}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("strong",{className:"block truncate text-xs text-[#FFE000]",children:e.name}),(0,t.jsx)("span",{className:"block truncate text-[11px] text-[#BEC4D0]",children:[d(e),c(e)].filter(Boolean).join(" - ")})]})]},`top-${e.position}-${e.name}`))})]}),(0,t.jsxs)("div",{className:"min-w-0 overflow-hidden rounded-2xl bg-[#111827] text-white",children:[(0,t.jsx)("div",{className:"max-w-full overflow-x-auto p-1",children:(0,t.jsx)("div",{className:"flex min-w-max gap-1",children:g.map(e=>(0,t.jsx)("button",{type:"button","aria-pressed":p===e.id,onClick:()=>{m(e.id),h(!1)},className:`min-w-40 rounded-xl px-4 py-3
29                                    text-xs font-bold whitespace-nowrap
30                                    uppercase
31                                    ${p===e.id?"bg-[#FFE000] text-black":"text-white"}`,children:e.label},e.id))})}),(0,t.jsx)("div",{children:w.map((e,r)=>(0,t.jsxs)("div",{className:"grid grid-cols-[32px_minmax(0,1fr)_84px] items-center gap-3 border-b border-[#202A3D] px-4 py-3 lg:grid-cols-[32px_minmax(0,1fr)_auto]",children:[(0,t.jsx)("span",{className:`flex h-6 w-6 items-center
32                                    justify-center rounded-full border text-xs
33                                    ${0===r?`border-[#9B8500] bg-[#2A2818]
34                                                text-[#FFE000]`:1===r?`border-[#6B7280] bg-[#2A303D]
35                                                text-[#D1D5DB]`:2===r?`border-[#7C4A22] bg-[#30251F]
36                                                    text-[#D9822B]`:`border-[#34405A]
37                                                    text-[#C7CEDA]`}`,children:e.position}),(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsxs)("strong",{className:"block truncate text-xs",children:[(0,t.jsx)(u,{nationality:e.nationality})," ",e.name]}),(0,t.jsx)("span",{className:"block truncate text-[10px] text-[#AAB2C2]",children:c(e)})]}),(0,t.jsxs)("div",{className:"min-w-0 text-right text-[11px] text-[#C7CEDA]",children:[(0,t.jsx)("span",{children:d(e)}),0===r?(0,t.jsx)("span",{className:"ml-3 font-bold text-[#FFE000]",children:"LÍDER"}):e.difference?(0,t.jsx)("span",{className:"ml-3 text-[#8FA0BF]",children:e.difference.startsWith("-")?e.difference:`+${e.difference}`}):null]})]},`${p}-${e.position}-${e.name}-${r}`))}),y.length>10?(0,t.jsxs)("button",{type:"button",onClick:()=>h(e=>!e),className:"flex w-full items-center justify-center gap-2 px-4 py-4 text-xs font-bold text-[#FFE000]",children:[f?"Ver clasificación resumida":"Ver clasificación completa",(0,t.jsx)(n.ChevronRight,{size:14,className:f?"rotate-90":""})]}):null]})]})]})}])}]);

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.