1! function() { 2 var e, t, n, o = "SoleCookieAccept", 3 r = "OptanonAlertBoxClosed", 4 i = "_OptanonConsentOld", 5 a = "eupubconsent-v2", 6 s = "SoleUserAcc", 7 c = "SoleUserAbb", 8 l = "SoleUserV2", 9 u = ["www.ilsole24ore.com", "mercati.ilsole24ore.com", "stream24.ilsole24ore.com", "podcast.ilsole24ore.com", "www.ricerca24.ilsole24ore.com", "argomenti.ilsole24ore.com", "lab24.ilsole24ore.com"], 10 d = ["QOL/NOCOOKIE", "OLC/24PLUS", "BOL/BOL", "QOL/QOL", "OLC/realestate", "OLC/fintechplus", "OLC/olc_quotidianoscuola", "OLC/quotidiano_fisco", "OLC/olc_quotidianolavoro", "OLC/quotidiano_diritto", "OLC/quotidianocondominio", "PROF/quotidianoedilizia"], 11 p = "https://graph.ilsole24ore.com", 12 f = window.location.protocol + "//" + window.location.host + window.location.pathname, 13 m = "abbonamenti.ilsole24ore.com" === window.location.host || "https://st.ilsole24ore.com/st/sc.shtml" === f || "https://st.ilsole24ore.com/st/nc.shtml" === f, 14 y = !1, 15 h = window.navigator && window.navigator.userAgent || "", 16 g = { 17 type: "", 18 isReady: !1, 19 init: function(e, t) { 20 try { 21 "undefined" != typeof utag && "undefined" != typeof utag_data && (utag_data.pageName || utag_data.nav1) ? (g.type = "utag", g.isReady = !0, t(utag_data)) : "undefined" != typeof wts && void 0 !== wts.get ? (g.type = "wt", g.isReady = !0, t()) : (e || 1) > 0 && setTimeout((function() { 22 g.init(e - 1, t) 23 }), 1e3) 24 } catch (e) { 25 console.error(e) 26 } 27 }, 28 _track: function(e, t, n, o) { 29 if ("wt" === g.type) wts.push(["send", "click", { 30 linkId: e, 31 customClickParameter: { 32 100: t, 33 23: n 34 } 35 }]); 36 else { 37 var r = Object.assign({ 38 link_id: e, 39 event_type: t, 40 wtck23: n 41 }, o);
42 r.no_view = "no", utag.link(r) 43 } 44 }, 45 track: function(e, t, n) { 46 g.isReady ? g._track(e, t, n) : g.init(5, (function(o) { 47 g._track(e, t, n, o) 48 })) 49 } 50 }; 51 52 function v(e) { 53 for (var t = e + "=", n = document.cookie.split(";"), o = 0; o < n.length; o++) { 54 for (var r = n[o]; 55 " " == r.charAt(0);) r = r.substring(1); 56 if (0 == r.indexOf(t)) return r.substring(t.length, r.length) 57 } 58 return "" 59 } 60 61 function k(e, t) { 62 return Math.floor(Math.random() * (t - e + 1) + e) 63 } 64 65 function b(e) { 66 var t = new Date; 67 return t.setDate(t.getDate() + (void 0 === e ? 7 : e)), t.setHours(k(11, 18), k(0, 59), k(0, 59), 0), t 68 } 69 t = "undefined" == typeof self ? this : self, n = function() { 70 var e = function(e) { 71 for (var t = "", n = 0, o = e.length; n < o; n += 1) { 72 var r = e.charCodeAt(n).toString(2); 73 t += "00000000".slice(0, 8 - r.length) + r 74 } 75 return t 76 }, 77 t = function(e) { 78 if ("function" == typeof atob) { 79 var t = e.replace(/_/g, "/").replace(/-/g, "+"); 80 try { 81 return atob(t) 82 } catch (e) { 83 throw new Error("Unable to decode transparency and consent string") 84 } 85 } 86 if ("function" == typeof Buffer) return Buffer.from(e, "base64").toString("binary"); 87 throw new Error("Unable to detect base64 decoder") 88 }, 89 n = function(e) { 90 return parseInt(e, 2) || 0 91 }, 92 o = function(e) { 93 return 100 * n(e) 94 }, 95 r = function(e) { 96 for (var t = "A".charCodeAt(), o = e.match(/.{6}/g) || [], r = "", i = 0, a = o.length; i < a; i += 1) { 97 var s = n(o[i]) + t; 98 r += String.fromCharCode(s) 99 } 100 return r 101 }, 102 i = function(e) { 103 return Boolean(Number(e)) 104 }, 105 a = function(e) { 106 for (var t = e.split(""), n = {}, o = 0, r = t.length; o < r; o += 1) i(t[o]) && (n[o + 1] = !0); 107 return n 108 }, 109 s = function(e) { 110 for (var t = Object(e), n = 1; n < arguments.length; n += 1) { 111 var o = arguments[n]; 112 if (null !== o) 113 for (var r in o) Object.prototype.hasOwnProperty.call(o, r) && (t[r] = o[r]) 114 } 115 return t 116 }, 117 c = function(e, t, n) { 118 return e.key && !e.hidden && (e.parent ? (n[e.parent] || (n[e.parent] = {}), "object" == typeof n[e.parent][e.key] && "object" == typeof t ? n[e.parent][e.key] = s(n[e.parent][e.key], t) : n[e.parent][e.key] = t) : "object" == typeof n[e.key] && "object" === t ? n[e.key] = s(n[e.key], t) : n[e.key] = t), n 119 }; 120 return function(l) { 121 var u = function(e, t, n, o) { 122 var r = function() { 123 if (o.pubRestrictionEntry && o.rangeEntry) 124 for (var t in o.rangeEntry) Object.prototype.hasOwnProperty.call(o.rangeEntry, t) && (o.pubRestrictionEntry[t] = (o.pubRestrictionEntry[t] || []).concat(o.rangeEntry[t])); 125 o.numPubRestrictions && (o.numPubRestrictions -= 1, e.push({ 126 key: "purposeId", 127 size: 6 128 }, { 129 key: "restrictionType", 130 size: 2 131 }, { 132 key: "numEntries", 133 size: 12 134 })) 135 }, 136 s = function() { 137 o.numEntries ? (o.numEntries -= 1, e.push({ 138 key: "isRange", 139 size: 1, 140 decoder: i 141 }, { 142 key: "startVendorId", 143 size: 16 144 })) : r() 145 }, 146 c = function() { 147 return !o.purposeId || [{ 148 purpose: o.purposeId, 149 isAllowed: 0 !== o.restrictionType, 150 isConsentRequired: 1 === o.restrictionType, 151 isLegitimateInterestRequired: 2 === o.restrictionType 152 }] 153 }; 154 if ("isRangeEncoding" === t.key) e.push(n ? { 155 key: "numEntries", 156 size: 12 157 } : { 158 key: "bitField", 159 size: o.maxVendorId, 160 decoder: a 161 }); 162 else if ("numEntries" === t.key) o.rangeEntry = {}, s(); 163 else if ("isRange" === t.key) n && e.push({ 164 key: "endVendorId", 165 size: 16 166 }); 167 else if ("startVendorId" === t.key) o.isRange || (o.rangeEntry[n] = c(), s()); 168 else if ("endVendorId" === t.key) { 169 for (var l = o.startVendorId; l <= o.endVendorId; l += 1) o.rangeEntry[l] = c(); 170 s() 171 } else "numCustomPurposes" === t.key ? e.push({ 172 key: "consents", 173 parent: "customPurpose", 174 size: o.numCustomPurposes, 175 decoder: a 176 }, { 177 key: "legitimateInterests", 178 parent: "customPurpose", 179 size: o.numCustomPurposes, 180 decoder: a 181 }) : "numPubRestrictions" === t.key && (o.pubRestrictionEntry = {}, r()) 182 }, 183 d = function(e) { 184 return e.pubRestrictionEntry || e.rangeEntry || e.bitField || e 185 }, 186 p = 0, 187 f = function(e, t) { 188 var o = t.slice(p, p + e.size); 189 return p += e.size, (e.decoder || n)(o) 190 }, 191 m = function(e, t) { 192 if (!e.queue) return f(e, t); 193 for (var n = {}, o = 0; o < e.queue.length; o += 1) { 194 var r = e.queue[o], 195 i = f(r, t); 196 n = c(r, i, n), u(e.queue, r, i, n) 197 } 198 return d(n) 199 }, 200 y = function(e, t) { 201 for (var n = {}, o = 0; o < e.queue.length; o += 1) { 202 var r = e.queue[o], 203 i = m(r, t); 204 n = c(r, i, n), u(e.queue, r, i, n) 205 } 206 return d(n) 207 }; 208 return function() { 209 for (var u = function(o) { 210 if ("string" != typeof o) throw new Error("Invalid transparency and consent string specified"); 211 for (var r = o.split("."), i = [], a = 0, s = r.length; a < s;
211 a += 1) i.push(e(t(r[a]))); 212 var c = n(i[0].slice(0, 6)); 213 if (2 !== c) throw new Error("Unsupported transparency and consent string version ââ¬Å" + c + "ââ¬Â"); 214 return i 215 }(l), d = function(e) { 216 for (var t = [{ 217 key: "consents", 218 size: 24, 219 decoder: a 220 }, { 221 key: "legitimateInterests", 222 size: 24, 223 decoder: a 224 }], c = [{ 225 key: "maxVendorId", 226 size: 16 227 }, { 228 key: "isRangeEncoding", 229 size: 1, 230 decoder: i 231 }], l = [{ 232 key: "version", 233 size: 6 234 }, { 235 key: "created", 236 size: 36, 237 decoder: o 238 }, { 239 key: "lastUpdated", 240 size: 36, 241 decoder: o 242 }, { 243 key: "cmpId", 244 size: 12 245 }, { 246 key: "cmpVersion", 247 size: 12 248 }, { 249 key: "consentScreen", 250 size: 6 251 }, { 252 key: "consentLanguage", 253 size: 12, 254 decoder: r 255 }, { 256 key: "vendorListVersion", 257 size: 12 258 }, { 259 key: "tcfPolicyVersion", 260 size: 6 261 }, { 262 key: "isServiceSpecific", 263 size: 1, 264 decoder: i 265 }, { 266 key: "useNonStandardStacks", 267 size: 1, 268 decoder: i 269 }, { 270 key: "specialFeatureOptins", 271 size: 12, 272 decoder: a 273 }].concat(t.map((function(e) { 274 return s({ 275 parent: "purpose" 276 }, e) 277 }))).concat({ 278 key: "purposeOneTreatment", 279 size: 1, 280 decoder: i 281 }, { 282 key: "publisherCC", 283 size: 12, 284 decoder: r 285 }, { 286 key: "consents", 287 parent: "vendor", 288 queue: [{ 289 key: "maxVendorId", 290 size: 16 291 }, { 292 key: "isRangeEncoding", 293 size: 1, 294 decoder: i 295 }] 296 }, { 297 key: "legitimateInterests", 298 parent: "vendor", 299 queue: c 300 }, { 301 key: "restrictions", 302 parent: "publisher", 303 queue: [{ 304 key: "numPubRestrictions", 305 size: 12 306 }] 307 }), u = [{ 308 size: 3 309 }
309], d = [].concat(u).concat(c), p = [].concat(u).concat(c), f = [].concat(u).concat(t).concat({ 310 key: "numCustomPurposes", 311 hidden: !0, 312 size: 6 313 }), m = [{ 314 key: "core", 315 queue: l 316 }], y = 1; y < e.length; y += 1) { 317 var h = e[y], 318 g = n(h.slice(0, 3)); 319 1 === g ? m.push({ 320 key: "outOfBand", 321 parent: "core", 322 queue: [{ 323 key: "disclosedVendors", 324 queue: d 325 }] 326 }) : 2 === g ? m.push({ 327 key: "outOfBand", 328 parent: "core", 329 queue: [{ 330 key: "allowedVendors", 331 queue: p 332 }] 333 }) : 3 === g && m.push({ 334 key: "publisher", 335 parent: "core", 336 queue: f 337 }) 338 } 339 return m 340 }(u), f = {}, m = 0; m < d.length; m += 1) { 341 var h = d[m], 342 g = u[m], 343 v = y(h, g); 344 f = c(h, v, f), p = 0 345 } 346 return s({ 347 tcString: l, 348 vendor: {}, 349 outOfBand: { 350 disclosedVendors: {}, 351 allowedVendors: {} 352 } 353 }, f.core) 354 }() 355 } 356 }, "function" == typeof define && define.amd ? define([], n) : "object" == typeof module && module.exports ? module.exports = n() : t.TCStringParse = n(); 357 var w = "" !== v("SoleAuth"); 358 359 function C(e, t, n) { 360 var o = "expires=" + b(n).toString(), 361 r = window.location.hostname.split("."), 362 i = "." + r[r.length - 2] + "." + r[r.length - 1]; 363 document.cookie = e + "=" + t + "; " + o + "; path=/; domain=" + i 364 } 365 366 function z(e) { 367 if (v(e)) { 368 var t = window.location.hostname.split("."), 369 n = "." + t[t.length - 2] + "." + t[t.length - 1]; 370 document.cookie = e + "=; path=/; domain=" + n + "; expires=Thu, 01 Jan 1970 00:00:01 GMT", document.cookie = e + "=; expires=Thu, 01 Jan 1970 00:00:01 GMT" 371 } 372 } 373 374 function O(t) { 375 if ("" !== v(r) || t) { 376 z(r), e && clearInterval(e); 377 var n = document.getElementById("onetrust-consent-sdk"); 378 n && n.remove(), null != window.OneTrust && (OneTrust.Init(), setTimeout((function() { 379 OneTrust.LoadBanner() 380 }), 1e3)) 381 } else ! function() { 382 g.track("Cookie Banner", "", "Banner cookie visualizzato"); 383 var t = document.getElementById("onetrust-close-btn-container"); 384 if (t) { 385 var n = t.querySelector("button"); 386 if (n) { 387 var o = n.cloneNode(!0); 388 n.parentNode.replaceChild(o, n), o.textContent = "Rifiuta e abbonati", o.addEventListener("click", (function(e) { 389 return e.preventDefault(), e.stopPropagation(), g.track("Cookie Banner", "Rifiuta e abbonati", "Click banner"), C(c, window.location.href), window.location = "https://abbonamenti.ilsole24ore.com/landing?utm_campaign=COOKIELESS&rurl=https://st.ilsole24ore.com/st/nc.shtml&corurl=" + window.location.href.split("?")[0], !1 390 }), !0) 391 } 392 } 393 var r = document.getElementById("onetrust-policy-text"); 394 r && (r.innerHTML = 'Gentile Lettore, Il Sole 24 Ore si impegna ogni giorno a fornirti unââ¬â¢informazione autorevole e di qualità . Il lavoro della redazione e la possibilità di accedere liberamente ai nostri contenuti sono supportati anche dai ricavi derivanti dalla pubblicità profilata. Per questo chiediamo il tuo consenso allââ¬â¢utilizzo di cookie per finalità diverse da quelle strettamente necessarie, come indicato nella <a style="margin-left:0" href="https://du.ilsole24ore.com/utenti/privacyfiles/informativa_cookies.html">cookie policy</a>. Se scegli di rifiutare, ti chiediamo di sottoscrivere un abbonamento per accedere ai nostri servizi.'); 395 var i = document.getElementById("onetrust-policy"); 396 if (i) { 397 var a = i.getElementsByClassName("ot-dpd-desc"); 398 a && a.length && (a[0].innerHTML = 'Come indicato nella <a style="font-weight:bold;" href="https://du.ilsole24ore.com/utenti/privacyfiles/informativa_cookies.html">cookie policy</a>, lââ¬â¢accettazione implica la possibilità per il Sole 24 Ore e per alcuni <button style="display: inline" class="ot-link-btn onetrust-vendors-list-handler">partner</button> di archiviare e/o accedere a informazioni su un dispositivo, accedere a dati di geolocalizzazione precisi e identificazione attraverso la scansione del dispositivo per: annunci e contenuti personalizzati, valutazione degli annunci e del c
398ontenuto, osservazioni del pubblico e sviluppo di prodotti.') 399 } 400 var s = document.getElementById("onetrust-accept-btn-handler"); 401 s && s.addEventListener("click", (function() { 402 g.track("Cookie Banner", "Accetta", "Click banner") 403 }), !0); 404 var l = document.getElementById("onetrust-pc-btn-handler"); 405 l && l.addEventListener("click", (function() { 406 g.track("Cookie Banner", "Preferenze", "Click banner") 407 }), !0); 408 var u = document.getElementById("accept-recommended-btn-handler"); 409 u && u.addEventListener("click", (function() { 410 g.track("Cookie Banner", "Consenti tutti", "Click banner") 411 }), !0); 412 var d = document.querySelector("#onetrust-consent-sdk .save-preference-btn-handler.onetrust-close-btn-handler"); 413 if (d && d.addEventListener("click", (function() { 414 g.track("Cookie Banner", "Conferma scelte", "Click banner") 415 }), !0), !w) { 416 var p = document.getElementById("onetrust-button-group"); 417 if (p) { 418 var f = document.createTextNode("Già abbonato? Accedi"), 419 m = document.createElement("a"); 420 m.appendChild(f), m.style.color = "#000", m.style.display = "block", m.style.clear = "both", m.style.textAlign = "center", m.style.outline = "none", m.href = "#", m.onclick = function(e) { 421 if (g.track("Cookie Banner", "Log in", "Click banner"), "true" !== document.body.dataset.chfLoaded) { 422 e.preventDefault(); 423 var t = document.createElement("script"); 424 t.src = "https://chf.ilsole24ore.com/dist/sole24header.js", t.type = "text/javascript", t.onload = function() { 425 window.customLoadCHF({ 426 login: !0 427 }) 428 }, document.head.appendChild(t) 429 } else window.customLoadCHF({ 430 login: !0 431 }) 432 }, p.appendChild(m) 433 } 434 var y = document.querySelector("#modal_login_placeholder") || document.querySelector("#modal-login"); 435 if (null !== y) { 436 y.style.zIndex = "2147483647"; 437 var h = document.querySelector(".modal-backdrop"); 438 null !== h && (h.style.zIndex = "2147483646") 439 } 440 } 441 document.getElementsByTagName("body")[0].style.overflow = "hidden", e && clearInterval(e), e = setInterval((function() { 442 var e = document.getElementById("onetrust-consent-sdk"); 443 e && "none" !== e.style.display || O(!0) 444 }), 1e4) 445 }() 446 } 447 448 function E() { 449 var t = b(1); 450 C(s, window.btoa(2 * Math.floor(t.getTime() / 2)), 1), e && clearInterval(e) 451 } 452 453 function I(t) { 454 w ? "" === t ? setTimeout((function() { 455 var t; 456 (t = new XMLHttpRequest).onloadstart = function(e) { 457 t.responseType = "json" 458 }, t.open("POST", p), t.withCredentials = !0, t.setRequestHeader("Content-Type", "application/json"), t.onload = function() { 459 if (200 === t.status) { 460 var n = ("string" == typeof t.response ? JSON.parse(t.response) : t.response).data.productAccessLte.accessGranted, 461 o = b(); 462 n ? (C(s, window.btoa(2 * Math.floor(o.getTime() / 2))), "" === v(l) ? C(l, "1", 180) : "" !== v(a) && (R(), OneTrust.SetAlertBoxClosed()), e && clearInterval(e)) : (C(s, window.btoa(2 * Math.floor(o.getTime() / 2) + 1)), O()) 463 } else E() 464 }, t.onerror = function() { 465 E() 466 }, t.send(JSON.stringify({ 467 query: '{ productAccessLte(products: ["' + d.join('","') + '"]) { accessGranted } }' 468 })) 469 }), 100) : parseInt(window.atob(t)) % 2 == 1 ? O() : e && clearInterval(e) : O() 470 } 471 472 function S(t) { 473 var n = v(c); 474 if (function() { 475 var e = v(a); 476 if ("" !== e) { 477 var t = TCStringParse(e); 478 return !0 === t.publisher.consents[1] && !0 === t.publisher.consents[2] && !0 === t.publisher.consents[3] && !0 === t.publisher.consents[4] && !0 === t.publisher.consents[5] && !0 === t.publisher.consents[6] && !0 === t.publisher.consents[7] && !0 === t.publisher.consents[8] && !0 === t.publisher.consents[9] && !0 === t.publisher.consents[10] 479 } 480 return !1 481 }()) return "" !== n && z(c), e && clearInterval(e), !0; 482 var o, r, i = !0; 483 "" !== n && (z(c), y = !0, "" !== t && (z(s), t = ""), i = !1, o = function() { 484 I(t) 485 }, (r = new XMLHttpRequest).onload = function() { 486 r.status, o() 487 }, r.open("POST", p), r.withCredentials = !0, r.setRequestHeader("Content-Type", "application/json"), r.send(JSON.stringify({ 488 query: "mutation { scache }" 489 }))), i && I(t) 490 } 491 492 function q(e, t) { 493 return -1 !== e.indexOf(",4:1,") ? B("Y", t) : B("N", t) 494 } 495 496 function T() { 497 var e, t, n, a, s = v("OptanonConsent"); 498 if ("" != s) { 499 var c = L(v(i), !1), 500 l = L(s, !1); 501 if (l == c) return "" == v(o) && q(l, !1); 502 if ("" != l) { 503 e = s, t = window.location.hostname.split("."), n = "." + t[t.length - 2] + "." + t[t.length - 1], (a = new Date).setFullYear((new Date).getFullYear() + 1), document.cookie = i + "=" + e + ";domain=" + n + ";path=/; expires=" + a.toGMTString(); 504 var u = v(r), 505 d = L(s, !0); 506 if (!d || d && "" !== u) return q(l, !0) 507 } 508 } 509 return !1 510 } 511 512 function L(e, t) { 513 if ("" != e) 514 for (var n = e.split("&"), o = 0; o < n.length; o++) { 515 var r = n[o], 516 i = "groups="; 517 if (r.substring(0, i.length) == i) { 518 var a = decodeURIComponent(r.substring(i.length)), 519 s = /,\d_\d+:\d/g; 520 return t ? a.match(s) : a = a.replace(s, "") 521 } 522 } 523 return "" 524 } 525 526 function B(e, t) { 527 var n, r = v(o); 528 return function(e) { 529 var t = window.location.hostname.split("."), 530 n = "." + t[t.length - 2] + "." + t[t.length - 1], 531 r = new Date; 532 r.setFullYear((new Date).getFullYear() + 1), document.cookie = o + "=" + e + ";domain=" + n + ";path=/; expires=" + r.toGMTString() 533 }(e), !(!t || !r) && (n = v(c), m && "" !== n || y || (-1 == window.location.href.indexOf("refresh_ce") ? window.location.href += (window.location.search ? "&" : "?") + "refresh_ce=1" : window.location.reload()), !0) 534 } 535 536 function R() { 537 var e = document.getElementById("onetrust-consent-sdk"); 538 e && (e.style.display = "none") 539 } 540 if ("ilsole24ore.com" === window.location.host.split(".").slice(-2).join(".")) { 541 var x = document.getElementsByTagName("head")[0], 542 _ = document.createElement("script"); 543 _.id = "onetrustscript", _.type = "text/javascript", _.src = "https://cdn.cookielaw.org/scripttemplates/otSDKStub.js", _.setAttribute("data-language", "it"), _.charset = "UTF-8", "dotcom-
543dlv.ilsole24ore.com" === window.location.host ? _.setAttribute("data-domain-script", "11c5856b-1500-4eaa-bd9d-00382383066f-test") : _.setAttribute("data-domain-script", "11c5856b-1500-4eaa-bd9d-00382383066f"), _.async = !0, x.appendChild(_), window.OptanonWrapper = function() { 544 var e = v(s); 545 w || "" === e || (z(s), e = ""); 546 var t, n, o = v(a); 547 if (t = -1 !== h.indexOf("webviewAndroid"), n = -1 !== h.indexOf("webviewApple"), t || n || !(-1 !== window.location.host.indexOf(".blog.ilsole24ore.com") || u.indexOf(window.location.host) >= 0)) { 548 var i = v(c); 549 m && "" !== i && R(), "" !== o && "" === v(r) && (R(), OneTrust.SetAlertBoxClosed()) 550 } else S(e); 551 setTimeout(T, 1e3) 552 } 553 } 554}();
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.