PageSourceSearch

https://www.sumedico.com/_next/static/chunks/0lo2maoy074sc.js

js sumedico.com collected 2026-09-24 18:41:16 UTC 17,229 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,60763,e=>{"use strict";var t=e.i(280515),i=e.i(556220);e.s(["GptPageTargeting",0,function(e){let{targeting:r}=e;return(0,t.useEffect)(()=>{(0,i.setPageTargeting)(r)},[r]),null}])},833772,e=>{"use strict";var t=e.i(280515);e.s(["PageContext",0,function(e){let{tipo:i,seccionId:r,seccionSlug:l,temaId:n,autorId:o,noticiaId:a,tenantSlug:s}=e;return(0,t.useEffect)(()=>{let e=document.documentElement,t=["page","seccion","seccionId","temaId","autorId","noticiaId","e80Tenant"],d={};for(let i of t)d[i]=e.dataset[i];let c=(t,i)=>{null==i||""===i?delete e.dataset[t]:e.dataset[t]=String(i)};return c("page",i),c("seccion",l),c("seccionId",r),c("temaId",n),c("autorId",o),c("noticiaId",a),c("e80Tenant",s),()=>{for(let i of t)void 0===d[i]?delete e.dataset[i]:e.dataset[i]=d[i]}},[i,r,l,n,o,a,s]),null}])},645666,e=>{"use strict";var t=e.i(289704),i=e.i(280515),r=e.i(322426),l=e.i(736264);e.s(["ArticleShare",0,function(e){let{title:n,url:o}=e,a=encodeURIComponent(n),s=encodeURIComponent(o),d=(0,l.useLocale)(),c=[{label:"Facebook",href:`https://www.facebook.com/sharer/sharer.php?u=${s}`,icon:(0,t.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor",children:(0,t.jsx)("path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z"})})},{label:"X",href:`https://twitter.com/intent/tweet?text=${a}&url=${s}`,icon:(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"currentColor",children:(0,t.jsx)("path",{d:"M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-4.714-6.231-5.401 6.231H2.744l7.737-8.835L1.254 2.25H8.08l4.253 5.622 5.911-5.622Zm-1.161 17.52h1.833L7.084 4.126H5.117z"})})},{label:"WhatsApp",href:`https://api.whatsapp.com/send?text=${a}%20${s}`,icon:(0,t.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"currentColor",children:(0,t.jsx)("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"})})}],[u,h]=(0,i.useState)(!1),p=(0,i.useRef)(null);(0,i.useEffect)(()=>()=>{p.current&&clearTimeout(p.current)},[]);let m=async()=>{try{var e;if(null==(e=navigator.clipboard)?void 0:e.writeText)await navigator.clipboard.writeText(o);else{let e=document.createElement("textarea");e.value=o,e.style.position="fixed",e.style.opacity="0",document.body.appendChild(e),e.focus(),e.select(),document.execCommand("copy"),document.body.removeChild(e)}return!0}catch{return!1}},f=async()=>{await m()&&(h(!0),p.current&&clearTimeout(p.current),p.current=setTimeout(()=>h(!1),2e3))};return(0,t.jsxs)("div",{className:"article__share flex items-center gap-2",children:[c.map(e=>(0,t.jsx)("a",{href:e.href,target:"_blank",rel:"noopener noreferrer","aria-label":(0,r.t)(d,`Compartir en ${e.label}`,`Share on ${e.label}`),className:"article__share-button flex items-center justify-center w-9 h-9 rounded-full border border-[#cdcdcd] text-[#343434] hover:border-[#343434] transition-colors",children:e.icon},e.label)),(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("button",{onClick:f,"aria-label":u?(0,r.t)(d,"Enlace copiado","Link copied"):(0,r.t)(d,"Copiar enlace","Copy link"),className:`flex items-center justify-center w-9 h-9 rounded-full border transition-colors ${u?"border-[#16a34a] text-[#16a34a]":"border-[#cdcdcd] text-[#343434] hover:border-[#343434]"}`,children:u?(0,t.jsx)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("path",{d:"M20 6 9 17l-5-5"})}):(0,t.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"}),(0,t.jsx)("path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"})]})}),u&&(0,t.jsx)("span",{role:"status",className:"absolute -top-9 left-1/2 -translate-x-1/2 whitespace-nowrap rounded-md bg-[#343434] px-2 py-1 text-xs font-medium text-white shadow-sm",children:(0,r.t)(d,"¡Copiado!","Copied!")})]})]})}])},519515,e=>{"use strict";var t=e.i(280515),i=e.i(291967),r=e.i(604619),l=e.i(639662),n=e.i(433053),o=e.i(538422),a=e.i(137874),s=e.i(38404),d=e.i(878953),c=e.i(289704),u="Collapsible",[h,p]=(0,r.createContextScope)(u),[m,f]=h(u),v=t.forwardRef((e,i)=>{let{__scopeCollapsible:r,open:n,defaultOpen:o,disabled:s,onOpenChange:h,...p}=e,[f,v]=(0,l.useControllableState)({prop:n,defaultProp:o??!1,onChange:h,caller:u});return(0,c.jsx)(m,{scope:r,disabled:s,contentId:(0,d.useId)(),open:f,onOpenToggle:t.useCallback(()=>v(e=>!e),[v]),children:(0,c.jsx)(a.Primitive.div,{"data-state":j(f),"data-disabled":s?"":void 0,...p,ref:i})})});v.displayName=u;
1var b="CollapsibleTrigger",x=t.forwardRef((e,t)=>{let{__scopeCollapsible:r,...l}=e,n=f(b,r);return(0,c.jsx)(a.Primitive.button,{type:"button","aria-controls":n.contentId,"aria-expanded":n.open||!1,"data-state":j(n.open),"data-disabled":n.disabled?"":void 0,disabled:n.disabled,...l,ref:t,onClick:(0,i.composeEventHandlers)(e.onClick,n.onOpenToggle)})});x.displayName=b;var g="CollapsibleContent",w=t.forwardRef((e,t)=>{let{forceMount:i,...r}=e,l=f(g,e.__scopeCollapsible);return(0,c.jsx)(s.Presence,{present:i||l.open,children:e=>{let{present:i}=e;return(0,c.jsx)(y,{...r,ref:t,present:i})}})});w.displayName=g;var y=t.forwardRef((e,i)=>{let{__scopeCollapsible:r,present:l,children:s,...d}=e,u=f(g,r),[h,p]=t.useState(l),m=t.useRef(null),v=(0,o.useComposedRefs)(i,m),b=t.useRef(0),x=b.current,w=t.useRef(0),y=w.current,k=u.open||h,C=t.useRef(k),N=t.useRef(void 0);return t.useEffect(()=>{let e=requestAnimationFrame(()=>C.current=!1);return()=>cancelAnimationFrame(e)},[]),(0,n.useLayoutEffect)(()=>{let e=m.current;if(e){N.current=N.current||{transitionDuration:e.style.transitionDuration,animationName:e.style.animationName},e.style.transitionDuration="0s",e.style.animationName="none";let t=e.getBoundingClientRect();b.current=t.height,w.current=t.width,C.current||(e.style.transitionDuration=N.current.transitionDuration,e.style.animationName=N.current.animationName),p(l)}},[u.open,l]),(0,c.jsx)(a.Primitive.div,{"data-state":j(u.open),"data-disabled":u.disabled?"":void 0,id:u.contentId,hidden:!k,...d,ref:v,style:{"--radix-collapsible-content-height":x?`${x}px`:void 0,"--radix-collapsible-content-width":y?`${y}px`:void 0,...e.style},children:k&&s})});function j(e){return e?"open":"closed"}e.s(["Collapsible",0,v,"CollapsibleContent",0,w,"CollapsibleTrigger",0,x],519515)},932793,e=>{"use strict";var t=e.i(289704),i=e.i(280515);e.s(["MobilePortadaReels",0,function(e){var r;let{pills:l,reels:n}=e,o=(0,i.useRef)(null),a=(0,i.useRef)([]),s=(0,i.useRef)({}),d=(0,i.useRef)(!1),[c,u]=(0,i.useState)((null==(r=l[0])?void 0:r.id)??null);(0,i.useEffect)(()=>{let e=o.current;if(!e)return;let t=()=>{let t=e.getBoundingClientRect().top+window.scrollY;e.style.height=`${Math.max(0,window.innerHeight-t)}px`},i=document.documentElement,r=i.style.overflow,l=document.body.style.overflow;window.scrollTo(0,0),i.style.overflow="hidden",document.body.style.overflow="hidden",t();let n=requestAnimationFrame(t);return window.addEventListener("resize",t),window.addEventListener("orientationchange",t),()=>{cancelAnimationFrame(n),i.style.overflow=r,document.body.style.overflow=l,window.removeEventListener("resize",t),window.removeEventListener("orientationchange",t)}},[]),(0,i.useEffect)(()=>{let e=o.current;if(!e)return;let t=new IntersectionObserver(e=>{if(d.current)return;let t=null;for(let i of e){if(!i.isIntersecting)continue;let e=a.current.indexOf(i.target);e<0||(!t||i.intersectionRatio>t.ratio)&&(t={idx:e,ratio:i.intersectionRatio})}if(t&&t.ratio>=.5){var i;let e=null==(i=n[t.idx])?void 0:i.pillId;null!=e&&u(e)}},{root:e,threshold:[.5,.75]});for(let e of a.current)e&&t.observe(e);return()=>t.disconnect()},[n]),(0,i.useEffect)(()=>{var e;null!=c&&(null==(e=s.current[c])||e.scrollIntoView({inline:"center",block:"nearest",behavior:"smooth"}))},[c]);let h=(0,i.useCallback)(e=>{let t=n.findIndex(t=>t.pillId===e),i=a.current[t];!(t<0)&&i&&(d.current=!0,u(e),i.scrollIntoView({behavior:"smooth",block:"start"}),window.setTimeout(()=>{d.current=!1},500))},[n]);return(0,t.jsxs)("div",{className:"mobile-portada",children:[(0,t.jsx)("div",{className:"mobile-portada-pills",children:l.map(e=>(0,t.jsx)("button",{ref:t=>{s.current[e.id]=t},type:"button",onClick:()=>h(e.id),"aria-current":e.id===c?"true":void 0,className:e.id===c?"mobile-portada-pill mobile-portada-pill--active":"mobile-portada-pill",children:e.label},e.id))}),(0,t.jsx)("div",{ref:o,className:"mobile-portada-feed",children:n.map((e,i)=>(0,t.jsx)("section",{ref:e=>{a.current[i]=e},className:"mobile-portada-reel-slot",children:e.content},e.id))})]})}])},289128,e=>{"use strict";var t=e.i(289704),i=e.i(280515),r=e.i(734461),l=e.i(867165),n=e.i(736264),o=e.i(322426);let a=(0,r.default)(()=>e.A(198636).then(e=>e.VideoPlayer),{loadableGenerated:{modules:[789278]},ssr:!1});e.s(["MobilePortadaVideoReel",0,function(e){let{item:r}=e,s=(0,i.useRef)(null),[d,c]=(0,i.useState)(!1),u=(0,n.useLocale)(),h=r.thumbnailUrl??(r.bunnyVideoId?`https://${r.videoCdnHost}/${r.bunnyVideoId}/thumbnail.jpg`:null);return(0,i.useEffect)(()=>
1{if(!d)return;let e=s.current;if(!e)return;let t=new IntersectionObserver(e=>{let[t]=e;t&&t.intersectionRatio<.5&&c(!1)},{threshold:[0,.5]});return t.observe(e),()=>t.disconnect()},[d]),(0,t.jsx)("div",{ref:s,className:"mp-reel mp-reel--video",children:d?(0,t.jsxs)(t.Fragment,{children:[r.videoUrl?(0,t.jsx)("video",{className:"mp-reel__video",src:r.videoUrl,poster:h??void 0,controls:!0,autoPlay:!0,playsInline:!0,children:(0,o.t)(u,"Tu navegador no soporta video HTML5.","Your browser does not support HTML5 video.")}):r.bunnyVideoId?(0,t.jsx)(a,{cdnHostname:r.videoCdnHost,videoId:r.bunnyVideoId,autoplay:!0,orientation:"vertical",poster:h,title:r.titulo,className:"absolute inset-0 h-full w-full"}):null,(0,t.jsxs)("div",{className:"mp-reel__links",children:[(0,t.jsx)("a",{href:r.landingHref,className:"mp-reel__link",children:(0,o.t)(u,"Ver página del video","Go to video page")}),r.articleHref&&(0,t.jsx)("a",{href:r.articleHref,className:"mp-reel__link",children:(0,o.t)(u,"Ver la nota","Read the story")})]})]}):(0,t.jsxs)(t.Fragment,{children:[h?(0,t.jsx)("img",{className:"mp-reel__img",src:h,alt:"",loading:"lazy",decoding:"async"}):(0,t.jsx)("div",{className:"mp-reel__img mp-reel__img--placeholder"}),(0,t.jsx)("div",{className:"mp-reel__scrim"}),(0,t.jsxs)("div",{className:"mp-reel__content",children:[(0,t.jsx)("span",{className:"mp-reel__kicker",children:r.kicker||"Video"}),(0,t.jsx)("h2",{className:"mp-reel__title",children:(0,t.jsx)("span",{children:r.titulo})})]}),(0,t.jsx)("button",{type:"button",className:"mp-reel__play",onClick:()=>c(!0),"aria-label":`${(0,o.t)(u,"Reproducir","Play")}: ${r.titulo}`,children:(0,t.jsx)("span",{className:"mp-reel__play-icon","aria-hidden":"true",children:(0,t.jsx)(l.Play,{className:"size-8 fill-current"})})})]})})}])},368453,e=>{"use strict";var t=e.i(289704),i=e.i(280515);e.i(62059);var r=e.i(322426),l=e.i(736264),n=e.i(282534);e.s(["ArticleGallerySlider",0,function(e){let{items:o,videoConfig:a}=e,[s,d]=(0,i.useState)(0),[c,u]=(0,i.useState)(null),h=(0,i.useRef)(null),p=o.length,m=(0,l.useLocale)(),f=e=>(0,r.t)(m,`${e+1} de ${p}`,`${e+1} of ${p}`),v=(0,i.useCallback)(e=>{let t=h.current;if(!t)return;let i=Math.max(0,Math.min(p-1,e));t.scrollTo({left:t.clientWidth*i,behavior:"smooth"})},[p]),b=(0,i.useCallback)(()=>v(s+1),[s,v]),x=(0,i.useCallback)(()=>v(s-1),[s,v]);(0,i.useEffect)(()=>{let e=h.current;if(!e)return;let t=!1,i=()=>{t||(t=!0,requestAnimationFrame(()=>{d(Math.round(e.scrollLeft/e.clientWidth)),t=!1}))};return e.addEventListener("scroll",i,{passive:!0}),()=>e.removeEventListener("scroll",i)},[]),(0,i.useEffect)(()=>{let e=e=>{"ArrowRight"===e.key?b():"ArrowLeft"===e.key&&x()};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[b,x]);let g=o[s];return(0,t.jsxs)("figure",{className:"mb-4 lg:mb-6",children:[(0,t.jsxs)("div",{className:"relative w-full bg-black overflow-hidden group",children:[(0,t.jsx)("div",{ref:h,className:"flex w-full overflow-x-auto snap-x snap-mandatory scroll-smooth",style:{scrollbarWidth:"none"},"aria-roledescription":"carousel",children:o.map((e,i)=>{if("video"===e.tipo){let l=i===s&&a&&(e.hero||c===e.id);return(0,t.jsx)("div",{className:"flex-none w-full snap-start aspect-[16/9] relative","aria-roledescription":"slide","aria-label":f(i),children:l?(0,t.jsx)(n.ArticleVideoEmbed,{video:e.video,config:a,placement:e.hero?"instream":"accompanying",poster:e.poster,autoplay:!e.hero}):(0,t.jsxs)("button",{type:"button",onClick:()=>u(e.id),"aria-label":`${(0,r.t)(m,"Reproducir video","Play video")}: ${e.video.titulo}`,className:"absolute inset-0 w-full h-full flex items-center justify-center bg-black",children:[e.poster&&(0,t.jsx)("img",{src:e.poster,alt:"",loading:0===i?"eager":"lazy",decoding:"async",className:"absolute inset-0 w-full h-full object-cover opacity-90"}),(0,t.jsx)("span",{className:"relative flex items-center justify-center w-16 h-16 md:w-20 md:h-20 rounded-full bg-black/60 text-white ring-2 ring-white/70 transition group-hover:bg-black/80",children:(0,t.jsx)("svg",{width:"30",height:"30",viewBox:"0 0 24 24",fill:"
1currentColor","aria-hidden":"true",children:(0,t.jsx)("path",{d:"M8 5v14l11-7z"})})})]})},`video-${e.id}`)}let[l,o]=(e.focalPoint||"0.5,0.5").split(",").map(Number);return(0,t.jsx)("div",{className:"flex-none w-full snap-start aspect-[16/9]","aria-roledescription":"slide","aria-label":f(i),children:(0,t.jsx)("img",{src:e.src,srcSet:e.srcSet,sizes:"(max-width: 768px) 100vw, 1200px",alt:e.epigrafe||"",width:1200,height:675,fetchPriority:0===i?"high":"low",loading:0===i?"eager":"lazy",decoding:"async","data-zoomable":"true","data-full":e.full,"data-epigrafe":e.epigrafe||void 0,"data-credito":e.credito||void 0,className:"w-full h-full block object-cover cursor-zoom-in",style:{objectPosition:`${100*(l||.5)}% ${100*(o||.5)}%`}})},`foto-${e.id}`)})}),p>1&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("button",{type:"button",onClick:x,disabled:0===s,"aria-label":(0,r.t)(m,"Anterior","Previous"),className:"absolute left-2 top-1/2 -translate-y-1/2 w-10 h-10 flex items-center justify-center bg-black/50 hover:bg-black text-white/80 hover:text-white disabled:opacity-0 disabled:pointer-events-none transition",children:(0,t.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("polyline",{points:"15 18 9 12 15 6"})})}),(0,t.jsx)("button",{type:"button",onClick:b,disabled:s===p-1,"aria-label":(0,r.t)(m,"Siguiente","Next"),className:"absolute right-2 top-1/2 -translate-y-1/2 w-10 h-10 flex items-center justify-center bg-black/50 hover:bg-black text-white/80 hover:text-white disabled:opacity-0 disabled:pointer-events-none transition",children:(0,t.jsx)("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:(0,t.jsx)("polyline",{points:"9 18 15 12 9 6"})})}),(0,t.jsxs)("div",{className:"absolute bottom-2 right-2 px-2 py-0.5 bg-black/60 text-white text-xs tabular-nums pointer-events-none",style:{fontFamily:'"PolySans Mono", ui-monospace, monospace'},children:[s+1," / ",p]})]})]}),((null==g?void 0:g.epigrafe)||(null==g?void 0:g.credito))&&(0,t.jsxs)("figcaption",{className:"py-2 lg:pt-2 lg:pb-4 text-xs leading-tight text-black border-b border-[#cdcdcd] min-h-10",style:{fontFamily:'"PolySans Mono", ui-monospace, monospace'},children:["foto"===g.tipo?(0,t.jsx)("span",{"data-e80-field":0===s?"epigrafe":void 0,children:g.epigrafe}):g.epigrafe,g.credito&&(0,t.jsxs)("span",{className:"text-gray-500 ml-1",children:["(",g.credito,")"]})]})]})}],368453)},263668,e=>{e.v(t=>Promise.all(["static/chunks/1_5pl-kzyzr4_.js"].map(t=>e.l(t))).then(()=>t(945811)))},198636,e=>{e.v(t=>Promise.all(["static/chunks/2mks_-ola6m44.js"].map(t=>e.l(t))).then(()=>t(789278)))}]);

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.