1(window.__LOADABLE_LOADED_CHUNKS__=window.__LOADABLE_LOADED_CHUNKS__||[]).push([[36],{463:function(e,t,r){"use strict";r.r(t);r(5),r(10),r(3),r(11),r(4),r(8),r(6),r(9),r(25),r(7);var n=r(1),i=r.n(n),o=r(2),a=r(160),c=r(59),l=r(263),s=(r(48),r(57),r(44)),u=r(736),f=r(227),d=r(0);function b(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,c=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(e){c=!0,i=e}finally{try{a||null==r.return||r.return()}finally{if(c)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var m=function(e){var t=e.title,r=e.description,n=e.linkVideo,o=e.forcePortrait,a=void 0!==o&&o,c=b(i.a.useState(!0),2),l=c[0],p=c[1],m=(null==n?void 0:n.includes("/reels/"))||(null==n?void 0:n.includes("/reel/")),j=null!=a?a:m;return Object(d.jsx)(d.Fragment,{children:Object(d.jsxs)(y,{className:"boxLive",children:[Object(d.jsx)(s.a,{dark:"",light:"1",contenuto:"In Diretta",linkButton:"",bottomLine:"",alignCenter:"1",hideTopLine:"1",color:"#fff"}),Object(d.jsxs)("div",{className:"contenuto",children:[Object(d.jsxs)("div",{className:"liveContent liveVideo ".concat(j?"is-portrait":"is-landscape"),children:[l&&Object(d.jsx)("section",{className:"badgeContainer webTV",children:Object(d.jsx)("div",{className:"badgeCopertina videoInArticle",children:Object(d.jsx)("img",{alt:"Video",className:"frontity-lazy-image",loading:"lazy",src:f.a})})}),Object(d.jsx)(u.a,{url:n,controls:!0,playing:!0,muted:!0,loop:!0,onReady:function(){console.log("+++ ReactPlayer +++"),p(!1)},config:{facebook:{attributes:{height:"360px",backgroundColor:"#000"}}}})]}),Object(d.jsx)("div",{className:"liveContent liveDescrizione",children:Object(d.jsxs)("div",{className:"txtContainer",children:[Object(d.jsx)("h2",{children:t}),Object(d.jsx)("p",{children:r})]})})]})]})})},y=Object(o.styled)("div",{target:"eeq0qyi0"})({name:"1ls14pz",styles:"background:linear-gradient(0deg, rgba(139,0,0,1) 0%, rgba(189,0,0,1) 100%);.liveVideo{width:100%;display:flex;justify-content:center;background:#000;}"}),j=r(34),h=r(12);function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,o=[],a=!0,c=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(e){c=!0,i=e}finally{try{a||null==r.return||r.return()}finally{if(c)throw i}}return o}(e,t)||g(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function g(e,t){if(e){if("string"==typeof e)return O(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?O(e,t):void 0}}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var _=Object(o.styled)("div",{target:"e16wm1xj0"})({name:"1u73yf7",styles:"clear:both;width:100%"});t.default=Object(o.connect)((function(){var e,t=Object(o.useConnect)().state,r=new h.a("Home");r.setLevel(0),r.v("INIT");var i=t.source.data["/pressnews_options/"].items.autorefresh_homepage||300;r.i("secondi per il refresh: ",i);var s,u,f,b=null===(e=t.source.data["/pressnews_options/"])||void 0===e?void 0:e.items.liveStreaming;b&&(s=b.titoloLiveStreaming,u=b.UrlLiveStreaming,f=b.descrizioneLiveStreaming);var p=Object(n.useRef)(null),y=v(Object(n.useState)(!1),2),O=y[0],w=y[1],x=Object(j.q)().cmpType;return Object(n.useEffect)((function(){if("clickIo"===x){r.v("start body class observer");var e=new MutationObserver((function(e){var t,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=g(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}
1}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){c=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw o}}}}(e);try{for(n.s();!(t=n.n()).done;){var i=t.value;if("attributes"===i.type&&"class"===i.attributeName){r.v("mutation on class found"),i.target.classList.contains("__lxG__paywall_shown")?(r.v("paywall open"),w(!0)):(r.v("paywall closed"),w(!1));break}}}catch(e){n.e(e)}finally{n.f()}}));return e.observe(document.body,{attributes:!0}),function(){e.disconnect()}}}),[]),Object(n.useEffect)((function(){r.v("check refresh",p.current),clearTimeout(p.current),!b&&!O&&i>0&&(r.v("set refresh of "+i+" seconds"),p.current=setTimeout((function(){"/"==t.router.link&&window.location.reload()}),1e3*i))}),[O]),Object(d.jsx)(d.Fragment,{children:Object(d.jsxs)(l.a,{children:[Object(d.jsx)("section",{className:"homepageHeader",children:b&&Object(d.jsx)(m,{title:s,description:f,linkVideo:u})}),Object(d.jsx)(_,{}),Object(d.jsx)(c.a,{children:Object(d.jsx)(a.a,{className:"home_breaking_box_2",sidebarSlug:"home_breaking_box_2",SSR:!0})}),Object(d.jsx)(c.a,{children:Object(d.jsx)(a.a,{className:"home_breaking_box_3",sidebarSlug:"home_breaking_box_3"})}),Object(d.jsx)(c.a,{children:Object(d.jsx)(a.a,{className:"home_breaking_box_4",sidebarSlug:"home_breaking_box_4"})}),Object(d.jsx)(_,{})]})})}))},736:function(e,t,r){"use strict";r.d(t,"a",(function(){return b}));r(13),r(19),r(5),r(20),r(3),r(26),r(14),r(28);var n=r(1),i=r(96),o=r(743),a=r.n(o),c=r(0),l=["hasWrapper"];function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){f(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function f(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function b(e){var t=e.hasWrapper,r=void 0!==t&&t,o=d(e,l);delete o.wrapper;return r?Object(c.jsx)(a.a,u(u({},o),{},{wrapper:function(e){var t=e.children,r=Object(n.useRef)(null);return Object(n.useEffect)((function(){!function e(){if(r.current){var t=r.current.querySelector(".fb-video > span"),n=new ResizeObserver((function(e){var r=t.clientHeight,o=t.children[0].clientWidth;console.log("HEIGHT "+r),console.log("WIDTH "+o);if(console.log(window.innerWidth),i.isMobile&&window.innerWidth<380?r>300:r>600){var a=t;"width: auto !important;","}",".fb_iframe_widget_fluid_desktop, .fb_iframe_widget_fluid_desktop span{","position: unset !important;","}",".standardArticle .react-player-wrapper iframe {","position: absolute;top: 50%; left: 50%; transform: translate(-50%, -50%); height: 100% !important; object-fit: contain; ","}",".standardArticle .react-player-wrapper{","aspect-ratio: unset !important","}",setTimeout((function(){a.style.width="auto";var e=document.createElement("style");e.textContent=".fb_iframe_widget_fluid_desktop, .fb_iframe_widget_fluid_desktop span, .fb_iframe_widget_fluid_desktop iframe {width: auto !important;}.fb_iframe_widget_fluid_desktop, .fb_iframe_widget_fluid_desktop span{position: unset !important;}.standardArticle .react-player-wrapper iframe {position: absolute;top: 50%; left: 50%; transform: translate(-50%, -50%); height: 100% !important; object-fit: contain; }
1.standardArticle .react-player-wrapper{aspect-ratio: unset !important}",document.head.appendChild(e),n.unobserve(t)}),500)}}));t?n.observe(t):"complete"===document.readyState?r.current.style.height="600px":setTimeout(e,200)}}()}),[t]),Object(c.jsx)("div",{className:"react-player-wrapper",ref:r,children:t})}})):Object(c.jsx)(a.a,u({},o))}}}]);
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.