(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4405,8500],{45385:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[[...index]]",function(){return i(15798)}])},7192:function(e,t,i){"use strict";i.d(t,{Z:function(){return v}});var l=i(11527),a=i(50959),o=i(41249),n=i(88566),r=i(80936),s=i(16920),d=i(76892),c=i(97941),_=i.n(c),u=i(45276),v=function(){let[e,t]=(0,a.useState)(""),i=(0,n.$)(),{leaf:c}=(0,o.Vy)(),{isMobile:v}=(0,n.Sj)(),m=(0,a.useMemo)(()=>(0,r.vy)(i.key)||e.includes("sport.quotidiano")||e.includes("testsport")?"Continua a leggere tutte le notizie di sport su":"Continua a leggere su",[e]),p=(0,a.useMemo)(()=>{if(c.url){var e;let i=new URL(null!==(e=c.url)&&void 0!==e?e:"");return t(i.host),i.origin}return""},[]);return(0,a.useCallback)(e=>{switch(e){case"sport.quotidiano.net":case"testsport.quotidiano.net":return d.Lc.QuotidianoSportivo;case"quotidiano.net":return d.Lc.QN;case"lanazione.it":return d.Lc.LaNazione;case"ilrestodelcarlino.it":return d.Lc.IlRestoDelCarlino;case"ilgiorno.it":return d.Lc.IlGiorno;case"iltelegrafolivorno.it":return d.Lc.IlTelegrafoDiLivorno;default:return i.key}},[]),e.includes("sport")?(0,l.jsxs)(s.ZP,{href:p,className:_().link__container,"data-k5a-pos":"continua-leggere",children:[(0,l.jsx)("p",{children:m}),(0,l.jsx)(d.TR,{variant:u.Y0.QuotidianoSportivo,color:d.Or.Original,size:v?d.tF.XS:d.tF.MD,className:_().link__logo})]}):(0,l.jsx)(l.Fragment,{})}},16148:function(e,t,i){"use strict";i.d(t,{Z:function(){return o}});var l=i(11527),a=i(50959);function o(e){let[t,i]=(0,a.useState)(0),[o,n]=(0,a.useState)(0),[r,s]=(0,a.useState)(0),[d,c]=(0,a.useState)(0);return(0,l.jsx)("div",{onTouchStart:function(e){n(0),i(e.targetTouches[0].clientX),c(0),s(e.targetTouches[0].clientY)},onTouchMove:function(e){n(e.targetTouches[0].clientX),c(e.targetTouches[0].clientY)},onTouchEnd:function(){t&&o&&function(){let i=t-o;!(Math.abs(r-d)>=Math.abs(i))&&(i>50&&e.onSwipeLeft&&e.onSwipeLeft(),i<-50&&e.onSwipeRight&&e.onSwipeRight())}(),r&&d&&function(){let i=r-d;!(Math.abs(t-o)>=Math.abs(i))&&(i<-50&&e.onSwipeDown&&e.onSwipeDown(),i>50&&e.onSwipeUp&&e.onSwipeUp())}()},children:e.children})}},69995:function(e,t,i){"use strict";i.d(t,{Z:function(){return m}});var l=i(11527),a=i(41895),o=i(59271),n=i(58090),r=i(58290),s=i(50959),d=i(41249),c=i(19800),_=i(66770),u=()=>{let{leaf:e,section:t}=(0,d.Vy)(),i=(0,c.$)(),{user:l}=(0,c.aF)(),a=(0,s.useMemo)(()=>{switch(l.loginStatus){case c.$u.Anonymous:return"anon";case c.$u.Registered:return"lgdin";case c.$u.Subscriber:case c.$u.SubscriberFull:return"paid";default:return"unknown"}},[l.loginStatus]),o=(0,s.useMemo)(()=>{var l,a,o,n,r,s;let d=(null==t?void 0:t.path)==="/"||(null==e?void 0:e.path)==="/itinerari"||(null==e?void 0:e.path)==="/luce"||(null==e?void 0:e.path)==="/salute"?"HP":(0,c.sI)(i.key)?"/luce".concat(null!==(l=null==t?void 0:t.path)&&void 0!==l?l:""):(0,c.v2)(i.key)?"/itinerari".concat(null!==(a=null==t?void 0:t.path)&&void 0!==a?a:""):(0,c.a1)(i.key)?"/salute".concat(null!==(o=null==t?void 0:t.path)&&void 0!==o?o:""):null!==(n=null==t?void 0:t.path)&&void 0!==n?n:"";return{authors:(0,c.AP)(null==e?void 0:e.hideAuthor,null==e?void 0:e.byline,Array.isArray(null==e?void 0:e.authors)&&e.authors.length>0?[{name:e.authors[0].name,bio:e.authors[0].bio}]:[],(0,_.GH)(e),null==e?void 0:e.sourceArticle,null==e?void 0:e.publishedDate,i.key),currentSection:d,currentPath:null!==(r=null==e?void 0:e.path)&&void 0!==r?r:"",currentTitle:null!==(s=null==e?void 0:e.title)&&void 0!==s?s:""}},[e,t]);return(0,s.useEffect)(()=>{window.pSUPERFLY&&(null==e?void 0:e.path)&&window.pSUPERFLY.virtualPage({sections:o.currentSection,authors:o.authors,path:o.currentPath,title:o.currentTitle})},[o,e]),(0,s.useEffect)(()=>{window._sf_async_config||(window._sf_async_config={},window._sf_async_config.uid=67195,window._sf_async_config.domain=(0,c.sI)(i.key)?"www.quotidiano.net/luce":i.virtual_url,window._sf_async_config.useCanonical=!0,window._sf_async_config.useCanonicalDomain=!0,window._sf_async_config.sections=o.currentSection,window._sf_async_config.authors=o.authors,(0,_.GH)(e)&&(window._sf_async_config.flickerControl=!1),(window._cbq=window._cbq||[]).push(["_acct",a]),[{src:"//static.chartbeat.com/js/chartbeat.js"},...(0,_.GH)(e)?[{src:"//static.chartbeat.com/js/chartbeat_mab.js"}]:[]].forEach(e=>{let t=document.createElement("script");t.type="text/javascript",t.async=!0,t.src=e.src,document.head.appendChild(t)}))},[o,a,i.url]),null},v=i(32774),m=function(e){let{isPreview:t=!1,userAgent:i=!1}=e,s=(0,c.$)();return t?null:(0,l.jsxs)(l.Fragment,{children:[!1===s.skipSubscription&&(0,l.jsx)(v.ZP,{}),(0,l.jsx)(a.Z,{}),(0,l.jsx)(r.Z,{}),(0,l.jsx)(n.Z,{}),(0,l.jsx)(o.Z,{}),(0,l.jsx)(u,{})]})}},59271:function(e,t,i){"use strict";var l=i(11527),a=i(20407),o=i.n(a),n=i(19800),r=i(83171),s=i.n(r),d=i(41249),c=i(47615);t.Z=function(){var e,t;let{leaf:i}=(0,d.Vy)(),{cxsense_id:a}=(0,n.$)(),r=(null==i?void 0:null===(e=i.tags)||void 0===e?void 0:e.map(e=>e.name).join(", "))||"";return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsxs)(s(),{children:[(0,l.jsx)("meta",{name:"cXenseParse:keywords",content:r}),(0,l.jsx)("meta",{name:"cXenseParse:keywords",content:(0,c.$)(null!==(t=null==i?void 0:i.title)&&void 0!==t?t:"").join()})]}),(0,l.jsx)(o(),{id:"cxsense-init",strategy:"beforeInteractive",dangerouslySetInnerHTML:{__html:"\n var cX = window.cX = window.cX || {};\n cX.callQueue = cX.callQueue || [];\n "}}),(0,l.jsx)(o(),{id:"cxsense-cce",strategy:"beforeInteractive",src:"https://cdn.cxense.com/cx.cce.js"}),(0,l.jsx)(o(),{id:"cxsense-config",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"\n (function() {\n function initCx() {\n if (typeof window.cX === 'undefined' || typeof window.cX.callQueue === 'undefined') {\n setTimeout(initCx, 50);\n return;\n }\n window.cX.callQueue.push(['setSiteId', '".concat(a,"']);\n }\n initCx();\n })();\n ")}})]})}},17479:function(e,t,i){"use strict";i.d(t,{Z:function(){return l.Z}});var l=i(69995)},5502:function(e,t,i){"use strict";i.d(t,{Z:function(){return l.Z}});var l=i(52759)},17332:function(e,t,i){"use strict";i.d(t,{Z:function(){return eN}});var l,a,o=i(11527),n=i(45924),r=i(19800),s=i(34801),d=i(8857),c=i(37766),_=i.n(c),u=i(20407),v=i.n(u),m=i(50959),p=i(41249),h=i(41138);(l=a||(a={})).Image="image",l.Gallery="gallery",l.Article="article",l.Quote="quote",l.Facebook="facebook",l.X="x",l.Instagram="instagram",l.Youtube="youtube",l.YT="yt",l.DailyMotion="daily-motion",l.DM="dm",l.GenericIframe="generic-iframe",l.Video="video";var g=i(34436),y=i.n(g),f=function(e){let{embed:t}=e,{embedChildren:i}=t;return i?(0,o.jsxs)("div",{className:y().quote,children:[(0,o.jsx)("svg",{className:y().quote__icon,width:"35",height:"35",viewBox:"0 0 35 35",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsxs)("g",{fill:"none",fillRule:"evenodd",children:[(0,o.jsx)("circle",{fill:"#4F9EFF",cx:"17.5",cy:"17.5",r:"17.5"}),(0,o.jsx)("g",{fill:"#FFF",fillRule:"nonzero",children:(0,o.jsx)("path",{d:"M20.48 25c-.269 0-.52-.056-.727-.202-.215-.15-.47-.46-.459-1.078.015-.854.686-1.232 1.177-1.508l.156-.089c.642-.374 1.133-.716 1.544-1.074.818-.715 1.207-1.345 1.162-1.505 0 0-.024-.028-.11-.06-.126-.045-.283-.057-.448-.07a3.37 3.37 0 0 1-.402-.048c-1.902-.373-3.084-1.84-3.084-3.827 0-2.503 1.954-4.539 4.356-4.539C26.087 11 28 12.994 28 15.54c0 2.974-1.453 7.086-5.548 8.875l-.098.045c-.47.206-1.223.54-1.874.54zm3.164-13.176c-1.965 0-3.563 1.667-3.563 3.715 0 1.613.888 2.712 2.438 3.016.101.02.208.027.315.036.199.016.424.034.644.113.474.169.601.504.633.69.14.779-.838 1.768-1.433 2.287-.45.393-.98.762-1.665 1.161l-.167.096c-.47.263-.757.45-.762.796-.003.198.034.326.11.38.235.166.857.025 1.848-.414l.104-.046c3.737-1.634 5.062-5.392 5.062-8.115 0-2.083-1.566-3.715-3.564-3.715zM10.192 25c-.269 0-.52-.056-.727-.202-.215-.15-.47-.46-.46-1.078.014-.854.687-1.233 1.178-1.509l.155-.088c.643-.374 1.133-.716 1.544-1.074.819-.714 1.208-1.344 1.163-1.505 0 0-.024-.028-.111-.06-.125-.045-.282-.057-.448-.07a3.426 3.426 0 0 1-.402-.048C10.18 18.993 9 17.526 9 15.539 9 13.036 10.954 11 13.355 11c2.443 0 4.356 1.994 4.356 4.54 0 2.974-1.453 7.085-5.548 8.875l-.098.045c-.47.206-1.222.54-1.873.54zm3.163-13.176c-1.964 0-3.563 1.667-3.563 3.715 0 1.613.888 2.713 2.438 3.017.102.02.209.027.316.036.199.016.424.034.645.112.474.17.6.505.632.69.14.78-.839 1.77-1.434 2.289-.449.39-.978.759-1.665 1.16l-.165.095c-.47.263-.756.45-.762.796-.003.198.033.326.11.38.349.249 1.477-.25 1.846-.414l.103-.046c3.738-1.634 5.064-5.392 5.064-8.115 0-2.083-1.566-3.715-3.565-3.715z"})})]})}),i]}):null},x=i(95238),w=i(76576),b=i.n(w),j=function(e){var t;let{embed:i}=e,{height:l,baseUrl:a,title:n,width:s,description:d,imageFormat:c="16x9",embedCaption:_}=i,{leaf:u}=(0,p.Vy)(),v=u.publishedDate<"2024-07-23T12:00:00.970Z",h=(0,m.useMemo)(()=>c.replace("x",":"),[c]);return a?(0,o.jsxs)("div",{className:b().imageEmbed,children:[(0,o.jsx)(r.Ee,{height:l,src:a,width:s,alt:null!==(t=n||d)&&void 0!==t?t:"",format:h,sizes:x.u_,style:{maxWidth:"100%",height:"auto"}}),n&&"Migration"!==n&&(0,o.jsx)("div",{className:b().imageEmbed__caption,children:v?n||"":_||""})]}):null},S=i(93675),N=i.n(S),C=function(e){let{embed:t}=e,{source:i}=t,l=(0,m.useMemo)(()=>i?new URL(i).searchParams.get("href"):null,[i]);return i?(0,o.jsxs)("div",{className:N().facebook__embed,children:[(0,o.jsx)(v(),{src:"https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v14.0",async:!0,defer:!0,crossOrigin:"anonymous"}),(0,o.jsx)("div",{className:"fb-post","data-href":l,"data-show-text":"true"})]}):null},L=i(62197),k=i.n(L),P=function(e){let{embed:t}=e,{source:i}=t,l=(0,m.useMemo)(()=>i?new URL(i).pathname.replace(/\/+$/,"").split("/").pop():null,[i]);return l?(0,o.jsx)("iframe",{title:"instagram-embed",frameBorder:0,src:"https://instagram.com/p/".concat(l,"/embed"),className:k().instagram__embed,loading:"lazy"}):null},I=i(98569),A=i.n(I),T=function(e){let{embed:t}=e,{source:i}=t,l=(0,m.useMemo)(()=>i?new URL(i).pathname.replace(/\/+$/,"").split("/").pop():null,[]);return l?(0,o.jsxs)("div",{className:A().x,children:[(0,o.jsx)("blockquote",{className:"twitter-tweet",children:(0,o.jsx)("a",{href:"https://x.com/x/status/".concat(l)})}),(0,o.jsx)(v(),{strategy:"lazyOnload",async:!0,src:"https://platform.x.com/widgets.js",charSet:"utf-8"})]}):null},E=i(7331),z=i.n(E),V=function(e){let{embed:t}=e,{source:i}=t,l=(0,m.useRef)(null),a=(0,r.c_)(l,{rootMargin:"300px 0px"}),n=!!(null==a?void 0:a.isIntersecting),s=(0,m.useMemo)(()=>i?new URL(i).pathname.replace(/\/+$/,"").split("/").pop():null,[i]);return(0,o.jsx)("div",{className:z().youtube__embed,ref:l,children:n?(0,o.jsx)("iframe",{title:"youtube-embed",src:"https://www.youtube.com/embed/".concat(s),frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture",allowFullScreen:!0}):void 0})},O=i(89583),M=i.n(O),R=function(e){let{embed:t}=e;return(0,o.jsx)("div",{className:M().generic__iframe__embed,children:(0,o.jsx)("iframe",{...t.iframeAttribs,title:t.originalType,loading:"lazy"})})},Z=i(26812),D=i.n(Z),F=i(14714),W=function(e){let{parentArticleType:t,embed:i}=e,{title:l,teaserImage:a,path:d,byline:c}=i,_=(0,m.useMemo)(()=>(0,F.U)(a)&&t!==s.Iq.EditorialArticle,[a,t]),u=(0,m.useMemo)(()=>!(c&&/^[\s\n\t]+$/.test(c))&&c&&t===s.Iq.EditorialArticle,[t,c]),[v]=(0,r.t6)();return d&&l?(0,o.jsxs)("div",{className:(0,n.Z)(D().article__embed,t&&D()["article__embed--".concat(t)]),"data-k5a-pos":"approfondisci",onClick:()=>{v(r.Sc.ART_CLICK,{position:r.vt.APPROFONDISCI})},children:[(0,o.jsx)("div",{className:D().article__embed__head,children:"Approfondisci:"}),(0,o.jsxs)(r.rU,{href:d,className:D().article__embed__content,children:[(0,o.jsx)("h4",{children:l}),_&&(0,o.jsx)("div",{children:(0,o.jsx)(r.Ee,{alt:l,src:a.baseUrl||"",width:140,maintainAspectRatio:!1})}),u&&(0,o.jsxs)("div",{className:D().article__embed__author,children:["di ",(0,o.jsx)("span",{children:c})]})]})]}):null},B=i(66605),U=i(47615),G=i(66770),q=function(e){let{embed:t}=e,{source:i,video:l,params:a}=t,n=(0,m.useMemo)(()=>{if(i){var e;return null===(e=new URL(i).pathname.replace(/\/+$/,"").split("/").pop())||void 0===e?void 0:e.replace(/\.js+$/,"")}return null},[i]),{leaf:r}=(0,p.Vy)(),s=(0,m.useMemo)(()=>null==a?void 0:a.includes("mute=true"),[a]),d=(0,m.useCallback)(()=>{let e=(0,B.K)();if(n){var t,i,a;null===(i=window)||void 0===i||null===(t=i.dailymotion)||void 0===t||t.createPlayer(n,{video:l,player:n,referrerPolicy:"no-referrer-when-downgrade",params:{mute:s,customConfig:{customParams:(0,G.ay)(r)?"advoff":"advon",keyvalues:"vsegments=".concat(e.join(","),"&keywords=").concat((0,U.$)(null!==(a=null==r?void 0:r.title)&&void 0!==a?a:""))}}})}},[n]);return n?(0,o.jsxs)("div",{style:{position:"relative",width:"100%",paddingBottom:"56.25%",background:"#000"},children:[(0,o.jsx)("div",{id:n,style:{position:"absolute",top:0,left:0,width:"100%",height:"100%"},children:"My player placeholder"}),(0,o.jsx)(v(),{strategy:"lazyOnload",src:"https://geo.dailymotion.com/libs/player/".concat(n,".js"),onReady:d})]}):null},H=i(64968),X=i(61538),Y=i(64392),$=i.n(Y);function Q(e){let{embed:t}=e,i=(null==t?void 0:t.playerType)===H.L.AutoplayPipOn,[l,a]=(0,m.useState)(i),[n,s]=(0,m.useState)(!1),d=(0,r.$)(),c="/og/vertical/".concat(d.key,".svg"),_=(0,m.useMemo)(()=>({media:{mediaId:null==t?void 0:t.mediaId,embedCode:null==t?void 0:t.embedCode},content:{mediaId:null==t?void 0:t.mediaId,publishedDate:null==t?void 0:t.publishedDate},title:(null==t?void 0:t.title)||""}),[null==t?void 0:t.mediaId,null==t?void 0:t.embedCode,null==t?void 0:t.title,null==t?void 0:t.publishedDate]),{getThumbnailUrl:u,isLoading:v}=(0,X.U)([_],"720"),p=n?c:u(_,c);return l?(0,o.jsx)("div",{className:$().reelEmbed,children:(0,o.jsx)("div",{className:$().reelEmbed__player,children:(0,o.jsx)(H.Z,{videoId:null==t?void 0:t.mediaId,embedCode:null==t?void 0:t.embedCode,playlist:null==t?void 0:t.playlist,playerType:null==t?void 0:t.playerType,aspectRatio:null==t?void 0:t.format})})}):(0,o.jsx)("div",{className:$().reelEmbed,children:(0,o.jsx)("button",{className:$().reelEmbed__card,onClick:()=>a(!0),"aria-label":"Riproduci video: ".concat((0,r.Vt)(null==t?void 0:t.title)),children:(0,o.jsx)("div",{className:$().reelEmbed__imageContainer,children:(0,o.jsxs)("div",{className:$().reelEmbed__wrapper,children:[(0,o.jsx)("div",{className:$().reelEmbed__overlay}),(0,o.jsx)("div",{className:$().reelEmbed__playIcon,children:(0,o.jsx)(ee,{})}),(0,o.jsx)(J,{className:$().reelEmbed__playerLogo}),(0,o.jsx)(r.Ee,{className:$().reelEmbed__thumbnail,width:330,height:588,src:p,alt:(0,r.Vt)(null==t?void 0:t.title)||"",onError:()=>s(!0)}),(0,o.jsxs)("div",{className:$().reelEmbed__info,children:[(0,o.jsx)("div",{className:$().reelEmbed__gradient}),(0,o.jsx)("div",{className:$().reelEmbed__infoContent,children:(0,o.jsx)("span",{className:$().reelEmbed__title,children:(0,r.Vt)(null==t?void 0:t.title)})}),(null==t?void 0:t.publishedDate)&&(0,o.jsx)("span",{className:$().reelEmbed__date,children:function(e){let t=new Date(e),i=t.getDate().toString().padStart(2,"0"),l=(t.getMonth()+1).toString().padStart(2,"0"),a=t.getFullYear();return"".concat(i,"/").concat(l,"/").concat(a)}(t.publishedDate)})]})]})})})})}var K=function(e){let{embed:t,parentArticleType:i}=e;return t.subType?(null==t?void 0:t.format)==="9:16"?(0,o.jsx)(Q,{embed:t}):(0,o.jsx)(H.Z,{videoId:null==t?void 0:t.mediaId,embedCode:null==t?void 0:t.embedCode,playlist:null==t?void 0:t.playlist,playerType:null==t?void 0:t.playerType,aspectRatio:null==t?void 0:t.format}):null};let J=e=>{let{className:t}=e;return(0,o.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",className:t,children:[(0,o.jsx)("rect",{width:"40",height:"40",rx:"20",fill:"white",fillOpacity:"0.15"}),(0,o.jsx)("path",{d:"M16 14.8028L16 25.1972C16 26.3953 17.3352 27.1099 18.332 26.4453L26.1279 21.2481C27.0185 20.6543 27.0185 19.3457 26.1279 18.7519L18.3321 13.5547C17.3352 12.8901 16 13.6047 16 14.8028Z",fill:"white"})]})},ee=()=>(0,o.jsx)("svg",{width:"12",height:"18",viewBox:"0 0 12 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 0C0.447716 0 0 0.447716 0 1V17C0 17.5523 0.447715 18 1 18H11C11.5523 18 12 17.5523 12 17V1C12 0.447715 11.5523 0 11 0H1ZM4.5 10.9393V7.06066C4.5 6.61362 4.99472 6.34697 5.36406 6.59495L8.25252 8.53428C8.58249 8.75583 8.58249 9.24417 8.25252 9.46572L5.36406 11.4051C4.99471 11.653 4.5 11.3864 4.5 10.9393Z",fill:"white"})});var et=i(23396),ei=i.n(et),el=function(e){var t,i;let{embed:l}=e,{images:a,caption:n,path:s}=l,d=null==a?void 0:a[0],{leaf:c}=(0,p.Vy)();return(0,r.$)(),d&&d.baseUrl&&s?(0,o.jsxs)("div",{className:ei().galleryEmbed,children:[(0,o.jsx)(r.rU,{href:null==l?void 0:l.url,children:(0,o.jsxs)("div",{className:ei().galleryEmbed__gallery,children:[(0,o.jsx)(r.Ee,{sizes:x.u_,src:d.baseUrl,width:null!==(t=d.width)&&void 0!==t?t:700,height:null!==(i=d.height)&&void 0!==i?i:400,alt:"",style:{maxWidth:"100%",height:"auto"}}),(0,o.jsxs)("span",{children:[null==a?void 0:a.length," foto"]})]})}),n&&(0,o.jsx)("div",{className:ei().galleryEmbed__caption,dangerouslySetInnerHTML:{__html:n}})]}):null},ea=function(e){let{parentArticleType:t,type:i,embed:l}=e;return(0,m.useMemo)(()=>{switch(i){case a.Image:return(0,o.jsx)(j,{embed:l});case a.Gallery:return(0,o.jsx)(el,{embed:l});case a.Article:return(0,o.jsx)(W,{parentArticleType:t,embed:l});case a.Quote:return(0,o.jsx)(f,{embed:l});case a.Facebook:return(0,o.jsx)(C,{embed:l});case a.Instagram:return(0,o.jsx)(P,{embed:l});case a.X:return(0,o.jsx)(T,{embed:l});case a.YT:case a.Youtube:return(0,o.jsx)(V,{embed:l});case a.DM:case a.DailyMotion:return(0,o.jsx)(q,{embed:l});case a.Video:return(0,o.jsx)(K,{parentArticleType:t,embed:l});case a.GenericIframe:return(0,o.jsx)(R,{embed:l});default:return console.error("No embeds are matching this type:",i),null}},[i,l])},eo=function(e){var t,i,l,o;if(e.some(e=>{var t,i,l,a;return(null==e?void 0:null===(i=e.attribs)||void 0===i?void 0:null===(t=i.class)||void 0===t?void 0:t.includes("blz_card"))&&(null==e?void 0:null===(a=e.attribs)||void 0===a?void 0:null===(l=a.class)||void 0===l?void 0:l.includes("amz"))}))return{type:a.GenericIframe,embed:{originalType:"card Amazon",preserveAmazonAdv:!0,preventInlettura:!0}};if(e.some(e=>{var t,i;return null==e?void 0:null===(i=e.attribs)||void 0===i?void 0:null===(t=i.src)||void 0===t?void 0:t.includes("facebook.com")})){let t=null===(l=e.find(e=>{var t;return null==e?void 0:null===(t=e.attribs)||void 0===t?void 0:t.src.includes("facebook.com")}))||void 0===l?void 0:l.attribs;return{type:a.Facebook,embed:{source:null==t?void 0:t.src,height:null==t?void 0:t.height,width:null==t?void 0:t.width}}}if(e.some(e=>{var t,i;return null==e?void 0:null===(i=e.attribs)||void 0===i?void 0:null===(t=i.src)||void 0===t?void 0:t.includes("youtube.com")}))return{type:a.Youtube,embed:{source:null===(i=e.find(e=>{var t;return null==e?void 0:null===(t=e.attribs)||void 0===t?void 0:t.src.includes("youtube.com")}))||void 0===i?void 0:null===(t=i.attribs)||void 0===t?void 0:t.src}};if(e.some(e=>{var t,i;return null==e?void 0:null===(i=e.attribs)||void 0===i?void 0:null===(t=i.src)||void 0===t?void 0:t.includes("geo.dailymotion.com")})){let t=null===(o=e.find(e=>{var t,i;return null==e?void 0:null===(i=e.attribs)||void 0===i?void 0:null===(t=i.src)||void 0===t?void 0:t.includes("geo.dailymotion.com")}))||void 0===o?void 0:o.attribs;return{type:a.DailyMotion,embed:{source:null==t?void 0:t.src,video:null==t?void 0:t["data-video"],params:null==t?void 0:t["data-params"]}}}},en=i(80616),er=i(80805),es=i(4054),ed=i(94671),ec=i.n(ed),e_=i(99775),eu=function(e){let{frontendData:t,options:i,index:l}=e,a=(0,e_.Z)({frontendData:t}),{isMobile:s}=(0,r.Sj)(),c=0;a.sortedEvents.forEach((e,t)=>{var i;"adv"===e.type&&("adv"===a.sortedEvents[t-1].type||"adv"===a.sortedEvents[t+1].type)&&a.sortedEvents.splice(t,1),"adv"!==e.type&&(c+=null==e?void 0:null===(i=e.description)||void 0===i?void 0:i.length,0!==t&&t!==a.sortedEvents.length-1&&c>1e3&&(c=0,a.sortedEvents.splice(t+1,0,{type:"adv",headline:"",description:"
/g,"").replace(/<\/p>/g,"").replace(/\/n/g,""):""}}),(0,o.jsx)("div",{className:(0,n.Z)(ec().liveblogpost__container__row__description),children:(0,d.ZP)("".concat(e.description,"
"),i)})]},t)]})]},"live-blog-data"+t))})},ev=i(6018),em=i(82309),ep=i.n(em),eh={ADD_TAGS:["a","abbr","acronym","article","audio","b","bdi","bdo","big","blockquote","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","del","details","em","embed","fieldset","figcaption","figure","form","frame","frameset","h1","h2","h3","h4","h5","h6","hr","i","iframe","img","input","label","legend","li","link","map","mark","object","ol","p","picture","pre","script","small","span","strike","strong","style","sub","summary","sup","svg","table","textarea","u","ul","video","reverse-view"],ADD_ATTR:["target","data-src"],ALLOW_DATA_ATTR:!0},eg=i(16920),ey=i(10734),ef=i(60197),ex=i.n(ef);function ew(e){let{showSpeakupPlayer:t,isPremium:i,total:l,dateIn:a}=e,n=new Date(String(a||Date.now()))>new Date("2025-05-01T00:00:00Z");return t&&!i&&l>=500&&n?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(v(),{id:"speakup-player-script",src:"https://cdn.speakup.ai/loader.speakup.min.js","data-lang":"it","data-layout":"boxed-small","data-theme":"default","data-loading-delay":"1000",strategy:"afterInteractive",onLoad:()=>{},onError:e=>{console.error("ko loaded:",e)}}),(0,o.jsx)("div",{id:"speakup-player",className:ex().audioboostWrapper})]}):null}let eb=["iframeOlimpiadi2026","dynamicIframe","iframe-quiz-container"],ej=["img","iframe","video","picture","svg"],eS=e=>{let{index:t}=e;return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(en.Z,{name:"Inlettura-desktop",index:"".concat(t,"-desktop"),nameIndex:t,style:{margin:"20px auto"}}),(0,o.jsx)(en.Z,{name:"300x250-Inlettura",index:"".concat(t,"-mobile"),nameIndex:t,style:{margin:"20px auto"}})]})};var eN=function(e){var t,i;let{isPremium:l,typePremium:c,articleType:u,body:g,embeds:y,renderArticleEmbed:f,index:x,contentPath:w,isReload:b,isLastReloadArticle:j,frontendData:S,publishedDate:N}=e,{leaf:C,section:L}=(0,p.Vy)(),k=(0,r.$)(),P=_().sanitize,I=/]*)?>(?:\s| | |
)*<\/p>/gi,A=P((null!=g?g:"").replace(I,""),eh).replace(I,""),T=/class=["'][^"']*flourish-embed/i.test(A);T&&(A=A.replace(/