1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7005],{87005:function(e,i,t){t.r(i);var n=t(11527),l=t(45924),o=t(50959),s=t(23725),a=t.n(s),r=t(72086),d=t(19800),c=t(23632),u=t(50401);let h=e=>{let{pos:i="absolute"}=e;return(0,n.jsx)("svg",{style:{position:i&&i,width:"100%",height:"auto",aspectRatio:"16/9",objectFit:"cover",margin:"auto"},version:"1.0",xmlns:"http://www.w3.org/2000/svg",width:"350.000000pt",height:"200.000000pt",viewBox:"15 -85 400.000000 400.000000",preserveAspectRatio:"xMidYMid meet",children:(0,n.jsxs)("g",{transform:"translate(0.000000,240.000000) scale(0.100000,-0.100000)",fill:"#fff",stroke:"none",children:[(0,n.jsx)("path",{d:"M2017 1940 c-296 -54 -528 -261 -608 -545 -32 -112 -32 -278 -1 -389 108 -380 490 -619 866 -541 365 75 626 409 603 770 -8 119 -27 190 -84 305 -39 80 -60 109 -137 185 -102 102 -197 158 -326 195 -85 23 -240 34 -313 20z m303 -51 c245 -67 439 -263 506 -510 22 -80 25 -261 5 -339 -66 -267 -252 -456 -526 -537 -83 -24 -266 -23 -355 2 -321 91 -534 368 -534 695 0 360 256 653 619 711 72 11 201 1 285 -22z"}),(0,n.jsx)("path",{d:"M1948 1540 c-1 -5 -2 -163 0 -350 2 -284 5 -340 17 -340 19 0 451 316 459 336 3 8 2 22 -2 31 -11 19 -442 333 -458 333 -7 0 -14 -4 -16 -10z"})]})})};function v(e){let{className:i,style:t,onClick:o,color:s}=e;return(0,n.jsx)("div",{onClick:o,style:{...t,padding:"5px"},children:(0,n.jsx)(d.JO,{className:(0,l.Z)(i,a()["podcast-arrows"]),variant:d.W0.ChevronRight,color:s})})}function p(e){let{className:i,style:t,onClick:o,color:s}=e;return(0,n.jsx)("div",{onClick:o,style:{...t},children:(0,n.jsx)(d.JO,{className:(0,l.Z)(i,a()["podcast-arrows-r"]),variant:d.W0.ChevronRight,color:s})})}let b=e=>{let{href:i,children:t}=e;return i?(0,n.jsx)(c.Z,{href:i,children:t}):(0,n.jsx)(n.Fragment,{children:t})};i.default=function(e){var i,t,s;let{teasers:m,slot:x,firma:j,ochiello:g,video:f}=e,[C,w]=(0,o.useState)(-2),N={infinite:!f,speed:500,slidesToShow:m.length<=2?m.length:2,slidesToScroll:1,lazyLoad:!0,onLazyLoad:e=>{C<=e&&w(e)},nextArrow:(0,n.jsx)(v,{}),prevArrow:(0,n.jsx)(p,{}),responsive:[{breakpoint:1024,settings:{slidesToShow:m.length<=2?m.length:2,slidesToScroll:1,initialSlide:2}},{breakpoint:600,settings:{slidesToShow:2,slidesToScroll:1,initialSlide:2}},{breakpoint:480,settings:{slidesToShow:1,slidesToScroll:1}}]};(0,o.useEffect)(()=>{setTimeout(function(){w(0),setTimeout(()=>w(1),1e3)},1e3)},[]);let[S,Z]=(0,o.useState)([]),[k,y]=(0,o.useState)(!1),T=m.filter(e=>"Teaser"===e.__typename);return(0,n.jsxs)("div",{className:(0,l.Z)(a().pubbliContainer,a()["pubbliContainer-".concat(x.colorScheme)]),children:[(null===(i=x.link)||void 0===i?void 0:i.url)?(0,n.jsx)(c.Z,{href:x.link.url,children:(0,n.jsx)("p",{className:(0,l.Z)(a()["pubbliContainer-title"]),children:null===(t=x.headline)||void 0===t?void 0:t.toUpperCase()})}):(0,n.jsx)("p",{className:(0,l.Z)(a()["pubbliContainer-title"]),children:null===(s=x.headline)||void 0===s?void 0:s.toUpperCase()}),(0,n.jsx)(r.Z,{className:(0,l.Z)(a()["pubbliContainer-slider"]),...N,children:T.map((e,i)=>{var t,o,s,r,c,v,p,m,f,w,N,k;return e&&(0,n.jsxs)("div",{className:(0,l.Z)(a()["pubbliContainer-slot"]),children:[(0,n.jsx)("a",{href:(null==e?void 0:null===(t=e.content)||void 0===t?void 0:t.path)||(null===(o=e.content)||void 0===o?void 0:o.url),children:(0,u.x)(e)?(0,n.jsx)(n.Fragment,{children:C>=i&&(0,n.jsxs)("div",{className:a()["pubbliContainer-videoimagecontainer"],children:[(0,n.jsx)(h,{pos:"absolute"}),!S.find(i=>i===e.content.mediaId)&&(0,n.jsx)(d.Ee,{className:a()["pubbliContainer-videoimage"],width:526,height:300,src:"https://www.dailymotion.com/thumbnail/video/".concat(e.content.mediaId),alt:e.teaserOvertitle||"",onLoad:()=>{y(!0)},onError:()=>{let i=S.slice();i.push(e.content.mediaId),Z(i)}}),S.find(i=>i===e.content.mediaId)&&(0,n.jsx)(n.Fragment,{children:(0,n.jsx)(h,{pos:"relative"})})]})}):(0,n.jsx)("img",{className:a()["pubbliContainer-image"],alt:(0,d.Vt)(e.title)||"",title:(0,d.Vt)(e.title)||"",src:(null===(s=e.media)||void 0===s?void 0:s.baseUrl)||(null===(c=e.media)||void 0===c?void 0:null===(r=c.image)||void 0===r?void 0:r.baseUrl),loading:"lazy"})}),e.teaserOvertitle?(0,n.jsx)("div",{className:(0,l.Z)(a()["pubbliContainer-parent"],a()["pubbliContainer-parent-".concat(x.colorScheme)]),children:e.teaserOvertitle}):(0,n.jsx)(b,{href:null===(p=e.content)||void 0===p?void 0:null===(v=p.parent)||void 0===v?void 0:v.path,children:(0,n.jsx)("div",{className:(0,l.Z)(a()["pubbliContainer-parent"]),children:g&&(null===(f=e.content)||void 0===f?void 0:null===(m=f.parent)||void 0===m?void 0:m.title)})}),(0,n.jsx)("a",{href:(null==e?void 0:null===(w=e.content)||void 0===w?void 0:w.path)||(null==e?void 0:null===(N=e.content)||void 0===N?void 0:N.url),children:(0,n.jsx)("p",{className:(0,l.Z)(a()["pubbliContainer-subtitle"],!j&&a()["pubbliContainer-subtitle-video"]),children:(0,d.Vt)(e.title)})}),e.content&&j&&(0,n.jsx)("p",{className:(0,l.Z)(a()["pubbliContainer-author"]),children:(0,n.jsx)("strong",{children:e.content.sponsoredBy||e.byline||(null===(k=e.content)||void 0===k?void 0:k.byline)})})]},i)})})]})}}}]);
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.