var _iub = _iub || [];
_iub.csConfiguration = {"askConsentAtCookiePolicyUpdate":true,"emailMarketing":{"theme":"dark"},"floatingPreferencesButtonDisplay":false,"perPurposeConsent":true,"siteId":263018,"storage":{"useSiteId":true},"whitelabel":false,"cookiePolicyId":191923,"banner":{"acceptButtonDisplay":true,"closeButtonRejects":true,"customizeButtonDisplay":true,"explicitWithdrawal":true,"listPurposes":true,"position":"float-top-center","rejectButtonDisplay":true,"showTitle":false}};
_iub.csLangConfiguration = {"it":{"cookiePolicyId":191923}};
/* Il bottoncino che galleggiava in basso a destra e' spento
(floatingPreferencesButtonDisplay: false). Questo rimette la via d'uscita dove e'
normale cercarla: in fondo al piede, accanto al copyright.
NON e' un abbellimento. La configurazione qui sopra dichiara "explicitWithdrawal":
true, cioe' promette che si possa cambiare idea dopo aver accettato — e quel
bottoncino era l'UNICO posto del sito da cui farlo: misurato l'11/9/2026, in tutta
la home "openPreferences" compariva zero volte e nel piede non c'era nessun link ai
cookie. Togliendo l'icona e basta, il consenso diventava a senso unico.
La classe `iubenda-cs-preferences-link` e' quella che iubenda riconosce da se' (la
portava il bottoncino stesso); il gestore esplicito e' la rete, per il caso in cui
iubenda si carichi dopo che il link e' gia' in pagina. */
(function () {
function metti() {
if (document.querySelector('.iubenda-cs-preferences-link')) { return; }
var a = document.createElement('a');
a.href = '#';
a.className = 'iubenda-cs-preferences-link';
a.textContent = 'Preferenze cookie';
a.style.cssText = 'cursor:pointer;text-decoration:underline';
a.addEventListener('click', function (e) {
e.preventDefault();
if (window._iub && _iub.cs && _iub.cs.api) { _iub.cs.api.openPreferences(); }
});
var posto = document.querySelector('#footer .fbot span:last-child')
|| document.querySelector('#footer .fbot')
|| document.getElementById('footer');
if (posto) { posto.appendChild(a); }
}
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', metti);
} else { metti(); }
})();