!function(){"use strict";function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}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 a,r=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return r=e.done,e},e:function(e){s=!0,a=e},f:function(){try{r||null==n.return||n.return()}finally{if(s)throw a}}}}function r(e,t,n){return(t=y(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(){return(s="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var i=g(e,t);if(i){var o=Object.getOwnPropertyDescriptor(i,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}}).apply(null,arguments)}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function l(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}function u(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(u=function(){return!!e})()}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function p(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:[],n=Object.keys(e),i=[];return n.forEach((function(n){if("object"===k(e[n])&&e[n]){var o=L(e[n],[].concat(v(t),[n]));i=i.concat(o)}else{var a=[].concat(v(t),[n]).join(".");i.push(a)}})),i},B=function(e){try{return JSON.parse(e)}catch(e){return null}};function D(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"dataLayer",i=arguments.length>3?arguments[3]:void 0;if(!window[n]||!window[n].length)return!1;for(var o=0;o0&&void 0!==arguments[0]?arguments[0]:"dataLayer",arguments.length>1?arguments[1]:void 0)}()&&!n||e&&!t&&n?function(){var e=E();-1!==["debug","info","warn"].indexOf(e)&&console.warn("[IUBCS|WARN]: Google Tag Manager initialized before setting the default consent or before embedding the TCF stub.")}():T()}}var N=function(e){if("function"==typeof e){var t=N();return e(t.resolve.bind(t)),t}return{_data:null,_isResolved:!1,_successCallbacks:[],then:function(e){!1===this._isResolved?this._successCallbacks.push(e):e.call(window,this._data)},resolve:function(e){if(this._isResolved)console&&console.log("The promise cannot be resolved more than once");else{this._isResolved=!0,this._data=e;for(var t=0,n=this._successCallbacks.length;t1?n-1:0),o=1;o=this.level&&this.uses.forEach((function(e){"function"==typeof e?e(o,i):e in n.strategies&&n.strategies[e].log(o,i)})),this}},{key:"use",value:function(e){return e&&(this.uses=w(e)),this}},{key:"debug",value:function(){this.log("debug",this.slice.call(arguments))}},{key:"info",value:function(){this.log("info",this.slice.call(arguments))}},{key:"warn",value:function(){this.log("warn",this.slice.call(arguments))}},{key:"error",value:function(){this.log("error",this.slice.call(arguments))}},{key:"fatal",value:function(){this.log("fatal",this.slice.call(arguments))}}])}());he.registerStrategy("console",pe);var fe={bots:["360Spider","A6-Indexer","Aboundex","AddThis","ADmantX","backlinkcrawler","baiduspider","bibnum.bnf","biglotron","BingPreview","binlar","BUbiNG","CC Metadata Scaper","changedetection","Chrome-Lighthouse","coccoc","Commons-HttpClient","content crawler spider","convera","crawler4j","curl","CyberPatrol","domaincrawler","drupact","ec2linkfinder","europarchive.org","ezooms","facebookexternalhit","FAST Enterprise Crawler","FAST-WebCrawler","findlink","findthatfile","fluffy","fr-crawler","g00g1e.net","gigablast","GingerCrawler","gnam gnam spider","Google favicon","Google-InspectionTool","GoogleOther","GoogleSecurityScanner","grapeshot","GrapeshotCrawler","grub.org","heritrix","hotjar","httpunit","httrack","ia_archiver","ichiro","integromedb","IOI","ip-web-crawler.com","ips-agent","it2media-domain-crawler","java","lb-spider","libwww","linkdex","lipperhey","Lipperhey SEO Service","lssrocketcrawler","ltx71","Mediapartners-Google","MegaIndex","MicrosoftPreview","netresearchserver","nutch","openindexspider","page2rss","panscient","phpcrawl","postrank","proximic","Python-urllib","Qwantify","RetrevoPageAnalyzer","SimpleCrawler","sistrix crawler","siteexplorer.info","slurp","sogou","speedy","summify","teoma","UsineNouvelleCrawler","Voyager","webcompanycrawler","webcrawler","webmon","WeSEE:Search","wget","wotbox","y!j-asr","yahoo","yandex","yanga","yeti","Bytespider"],isBot:function(e,t){if(!e)return!1;var n="("+(t||fe.bots).join("|").replace(/(\.|\/)/g,"\\$1")+"|.*bot.*)";return new RegExp(n,"i").test(e)}},be=function(){return o((function e(){n(this,e),this.userAgent=navigator.userAgent,this.versionSearchString="",this.dataBrowser=[{string:this.userAgent,subString:"Chrome",identity:"Chrome"},{string:this.userAgent,subString:"MSIE",identity:"Explorer"},{string:this.userAgent,subString:"Trident",identity:"Explorer"},{string:this.userAgent,subString:"Firefox",identity:"Firefox"},{string:this.userAgent,subString:"Safari",identity:"Safari"},{string:this.userAgent,subString:"Opera",identity:"Opera"}],this.browser=this.searchString(this.dataBrowser)||"Other",this.version=this.searchVersion(this.userAgent)||this.searchVersion(navigator.appVersion)||"Unknown"}),[{key:"searchString",value:function(e){var t=e.filter((function(e){return-1!==e.string.indexOf(e.subString)})),n=null;return t.length&&(this.versionSearchString=t[0].subString,n=t[0].identity),n}},{key:"searchVersion",value:function(e){var t=e.indexOf(this.versionSearchString);if(-1===t)return null;var n=e.indexOf("rv:");return"Trident"===this.versionSearchString&&-1!==n?parseFloat(e.substring(n+3)):parseFloat(e.substring(t+this.versionSearchString.length+1))}},{key:"isBotAndShouldSkipBots",value:function(){return this.isBot()&&!this.shouldNotSkipBots()}},{key:"shouldNotSkipBots",value:function(){return/(^\?|&)iub_do_not_skip_bots=true(&|$)/i.test(location.search)}},{key:"isBot",value:function(){return fe.isBot(this.userAgent)}},{key:"isMobile",value:function(){var e=new RegExp("(android|bbd+|meego).+mobile|avantgo|bada/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)/|plucker|pocket|psp|series(4|6)0|symbian|treo|up.(browser|link)|vodafone|wap|windows ce|xda|xiino","i"),t=new RegExp("1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-","i"),n=this.userAgent||navigator.vendor||window.opera;return e.test(n)||t.test(n.substr(0,4))}}])}(),ge=function(){return o((function e(){n(this,e)}),null,[{key:"isDefault",value:function(e){return!e||!(e.hasOwnProperty("brand")&&"string"==typeof e.brand&&""!==e.brand)}}])}();function me(e,t,n){(n||"boolean"==typeof n)&&(e[t]=n)}function ve(e,t){for(var n=0;n299)try{var a=JSON.parse(i).message;n(a)}catch(e){n("Failed to decode the response from ConS server")}else n(null,i)}var o="".concat("https://cpl.iubenda.com/big_data/consent","?apikey=").concat(e),a=JSON.stringify(t);"function"==typeof window.fetch?function(e,t,n){var i;fetch(e,{method:"POST",headers:{"Content-Type":"text/plain"},body:t,keepalive:!0}).then((function(e){return i=e.status,e.text()})).then((function(e){return n({response:e,status:i})})).catch((function(e){return n({err:e.toString()})}))}(o,a,i):function(e,t,n){var i=new XMLHttpRequest;i.onload=function(){return n({response:i.responseText,status:i.status})},i.onerror=function(){return n({err:"Failed to send data to ConS server"})},i.open("POST",e),i.setRequestHeader("Content-Type","text/plain"),i.send(t)}(o,a,i)}var ke=new(function(){return o((function e(t){var i=t.sendConsent,o=t.getBannerHtml,a=t.getPageUrl,r=t.ConsStorage;n(this,e),this.sendConsent=i,this.getBannerHtml=o,this.getPageUrl=a,this.ConsStorage=r,this.config={cookiePolicyId:void 0,enableCcpa:void 0},this.currentLayer=null,this.defaultMessage="Couldn't retrieve banner HTML"}),[{key:"start",value:function(){this.storage=new this.ConsStorage("_iub_cs_cons-".concat(this.config.cookiePolicyId)),this.cs.on("callback.before.onReady",this.onReady.bind(this)),this.cs.on("callback.before.onPreferenceFirstExpressed",this.onPreferenceFirstExpressed.bind(this)),this.cs.on("callback.before.onBannerShown",this.onBannerShown.bind(this)),this.cs.on("callback.before.on2ndLayerShown",this.on2ndLayerShown.bind(this)),this.cs.on("callback.before.on2ndLayerClosed",this.on2ndLayerClosed.bind(this))}},{key:"isSendingDenied",value:function(){return(new be).isBotAndShouldSkipBots()||!ge.isDefault(this.cs.options)}},{key:"sendPreferences",value:function(e,t){var n=this,i=e.scoped_id;this.sendConsent(this.cs.options.consApiKey,e,(function(e,o){e?n.logger.error(e||"failed to send data to ConS server"):(o!==i&&n.logger.error("ConS id mismatch. expected ".concat(i," but received ").concat(o)),null==t||t.call(null,o))}))}},{key:"getCurrentPreferences",value:function(){var e,t,n=this.cs.consent,i=n.consent,o=n.purposes,a={},r=null!==(e=this.cs.preferenceState)&&void 0!==e&&null!==(e=e.usPurposes)&&void 0!==e&&e.isActive?this.cs.preferenceState.usPurposes.getPreferences():null;return me(a,"consent",i),me(a,"purposes",o),me(a,"tcfv2",this.cs.state.tcfv2String),me(a,"uspr",r),me(a,"gac",null===(t=this.cs.customPreferences)||void 0===t?void 0:t.gac),me(a,"ccpa",this.config.enableCcpa?this.cs.preferences.storage.usPrivacy.getUspString():void 0),a}},{key:"getCurrentProofs",value:function(){var e=this,t={};return Object.keys(this.cs.consent).forEach((function(n){"cons"!==n&&(t[n]=e.cs.consent[n])})),[{content:JSON.stringify(t),form:this.getBannerHtml.call(this,this.defaultMessage)}]}},{key:"makePayload",value:function(){var e,t,n,i=this.cs.consent,o=i.timestamp,a=i.cons,r=(void 0===a?{}:a).rand,s=le(o,void 0===r?(n=window.crypto||window.msCrypto,[].slice.call(n.getRandomValues(new Uint8Array(3))).map((function(e){return ce(e.toString(16),2)})).join("")):r),c={scoped_id:s,legal_notices:[{identifier:"cookie_policy"}],preferences:this.getCurrentPreferences(),proofs:this.getCurrentProofs(),page_url:this.getPageUrl()};return null!==(e=this.cs)&&void 0!==e&&e.getPreferenceId&&this.cs.getPreferenceId()&&(c.previous_preference_id=this.cs.getPreferenceId()),he.debug("payload",c),null!==(t=this.cs)&&void 0!==t&&t.updatePreferenceId&&this.cs.updatePreferenceId(s),c}},{key:"updateState",value:function(e){var t=e.id,n=e.saving,i=e.returnedId,o={rand:t.match(/\/([A-Fa-f0-9]+)$/)[1]};void 0!==n&&(o.saving=n),t!==i&&(o.returnedId=i,i&&this.cs.updatePreferenceId&&this.cs.updatePreferenceId(i)),this.cs.consent.cons=o,this.cs.cookie.storeConsent()}},{key:"handleSuccessfulSend",value:function(e,t,n){var i=t.storage,o=t.cookie;i&&this.storage.remove(e),o&&this.updateState({id:e,returnedId:n}),this.cs.fireCallback("onCplSaved",n)}},{key:"retrySending",value:function(){var e,t=this,n=this.storage.items.map((function(e){return{payload:e,cb:function(){return t.handleSuccessfulSend(e.scoped_id,{storage:!0})}}}));if(null!==(e=this.cs.consent)&&void 0!==e&&null!==(e=e.cons)&&void 0!==e&&e.saving){var i=this.makePayload(),o=i.scoped_id,a=n.find((function(e){return e.payload.scoped_id===o}));a?a.cb=function(e){return t.handleSuccessfulSend(o,{storage:!0,cookie:!0},e)}:n.push({payload:i,cb:function(e){return t.handleSuccessfulSend(o,{cookie:!0},e)}})}n.forEach((function(e){var n=e.payload,i=e.cb;return t.sendPreferences(n,i)}))}},{key:"onReady",value:function(){var e,t;this.cs.options.consApiKey&&(this.bannerHTML=null!==(e=null===(t=document.getElementById("iubenda-cs-banner"))||void 0===t?void 0:t.innerHTML)&&void 0!==e?e:this.defaultMessage,this.retrySending())}},{key:"onPreferenceFirstExpressed",value:function(){var e=this;if(this.cs.options.consApiKey&&!this.cs.options.previewMode){var t=this.makePayload(),n=t.scoped_id;this.updateState({id:n,saving:!0}),this.storage.add(t),this.sendPreferences(t,(function(t){e.handleSuccessfulSend(n,{storage:!0,cookie:!0},t)}))}}},{key:"onBannerShown",value:function(){this.currentLayer="banner"}},{key:"on2ndLayerShown",value:function(){this.currentLayer="secondLayer"}},{key:"on2ndLayerClosed",value:function(){document.getElementById("iubenda-cs-banner")?this.currentLayer="banner":this.currentLayer=null}}])}())({sendConsent:function(e,t,n){this.isSendingDenied()?"function"==typeof n&&n("Send consent denied"):ye(e,t,n)},getBannerHtml:function(e){var t=e;return"banner"===this.currentLayer?t=this.bannerHTML:"secondLayer"===this.currentLayer&&(t="Updated from the 2nd layer"),t},getPageUrl:function(){return location.href},ConsStorage:function(){return o((function e(t){n(this,e),this.storageKey=t}),[{key:"items",get:function(){var e;try{e=JSON.parse(localStorage.getItem(this.storageKey))}catch(e){}return e||[]},set:function(e){try{0===e.length?localStorage.removeItem(this.storageKey):localStorage.setItem(this.storageKey,JSON.stringify(e))}catch(e){}}},{key:"add",value:function(e){var t=this.items,n=ve(t,(function(t){return t.scoped_id===e.scoped_id}));-1!==n?t[n]=e:t.push(e),this.items=t}},{key:"remove",value:function(e){var t=this.items,n=ve(t,(function(t){return t.scoped_id===e}));-1!==n&&t.splice(n,1),this.items=t}}])}()}),Ce=function(){},we=new(function(){return o((function e(){n(this,e),this._registry={},this._instances={}}),[{key:"register",value:function(e,t){t.install=t.install||Ce,this._registry[e]=t}},{key:"createPluginInstance",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0,o=this._registry,a=o[e];if(!a)return null;var r={};O(r,a),Object.setPrototypeOf(r,Object.getPrototypeOf(a)),r.cs=t,r.logger=i,r.config=r.config||{};var s={};return Object.keys(n).forEach((function(e){r.config.hasOwnProperty(e)&&(s[e]=n[e])})),O(r.config,s),r}},{key:"install",value:function(e,t,n){var i=this,o=this._registry,a=this._instances;Object.keys(o).forEach((function(o){var r=i.createPluginInstance(o,e,t,n);a[o]=r,r.start()}))}},{key:"get",value:function(e){return this._registry[e]}}])}());we.register("googleConsentMode",$),we.register("uetConsentMode",se),we.register("ConS_integration",ke);var Pe={cookie_policy:"iubenda-cs-cookie-policy-lnk",privacy_policy:"iubenda-privacy-policy-link",vendors:"iubenda-vendor-list-link",adv_pref:"iubenda-advertising-preferences-link",do_not_sell:"iubenda-ccpa-opt-out iubenda-do-not-sell-link",second_layer:"iubenda-cs-preferences-link"},Se={iab_tcf:"https://iabeurope.eu/transparency-consent-framework/"},xe=["iab_tcf"],_e=[{start:/\[or (.+?)\]/,end:"",exec:function(e,t,n){return Ee(e,n)?"[or]":""}},{start:/\[= (.+?)\]/,end:"",exec:function(e,t,n){return Oe(n,e.split("."))}},{start:/\[list (.+?)\]/,end:/\[\/list\]/,exec:function(e,t,n){return Te(t,e)}},{start:/\[if (.+?)\]/,end:/\[\/if\]/,exec:function(e,t,n){return Ee(e,n)?t:""}},{start:/\[tip (.+?)\]/,end:/\[\/tip\]/,exec:function(e,t){return'"}},{start:/\[link (.+?)\]/,end:/\[\/link\]/,exec:function(e,t){var n,i,o=Pe[e]||"",a=_iub.cs,r=null===(n=a.options)||void 0===n||null===(n=n.i18nForBanner)||void 0===n||null===(n=n[a.options.lang||"en"])||void 0===n?void 0:n.banner,s="";null!==(i=a.options)&&void 0!==i&&null!==(i=i.banner)&&void 0!==i&&i.linksColor&&-1===xe.indexOf(e)&&(s="style=color:"+a.options.banner.linksColor.replace(/\s+/g,"")+"!important;");var c=t,l=o?"javascript:void(0)":Se[e]||e;if("cookie_policy"===e){var u=a.options.banner.cookiePolicyLinkCaption;l=a.ui.getCookiePolicyHref(),u&&(c=u)}var d=/^http/i.test(l)||"cookie_policy"===e;return(d?""+c+(d?"":"")}}],Ae=function(e,t){for(var n,i=Number.MAX_VALUE,o=0;o<_e.length;o++){var a=_e[o],r=e.match(a.start);r&&r.index1&&void 0!==arguments[1]?arguments[1]:[],n=e||{},i=0;i1&&void 0!==arguments[1]?arguments[1]:[],n=document.querySelectorAll(e),i=Array.prototype.slice.call(n,0);return t.forEach((function(e){var t=document.querySelectorAll(e);Array.prototype.slice.call(t,0).forEach((function(e){i.forEach((function(t,n){e.contains(t)&&i.splice(n,1)}))}))})),i},Ve=function(e,t){return e&&e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()},je=function(e,t){var n=(t||document).getElementsByClassName(e);return Array.prototype.concat.apply([],n)},Me=function(e){return e&&e.length?Ne("."+e.join(", .")):[]},Ue=function(e,t){for(var n=t.parentNode;null!=n;){if(n===e)return!0;n=n.parentNode}return!1},ze=function(e){return document.createElement(e.toUpperCase())},We=function(e,t){var n=document.createElement("script");return n.setAttribute("type","text/javascript"),e&&n.setAttribute("src",e),"string"==typeof t&&(n.text=t),n},Ge=function(e){e&&e.parentNode&&e.parentNode.removeChild(e)},He=function(e,t){var n=e.nextSibling,i=e.parentNode;Ge(e),i.insertBefore(t,n)},qe=function(e,t){return e.parentNode.insertBefore(t,e.nextSibling)},Ke=function(e){var t=[],n=0;function i(e){t.push(["enter",e]);for(var n=0;n=t.length?{done:!0}:{value:t[n++],done:!1}}}},Je=function(e){var t=e.nodeName.toLowerCase(),n=e.getAttribute("type"),i=e.hasAttribute("data-iub-script");return"script"===t&&(!n||i||"application/javascript"===n||"text/javascript"===n||"module"===n)},Ye=function(e){e.hasAttribute("data-iub-type")?(e.setAttribute("type",e.getAttribute("data-iub-type")),e.removeAttribute("data-iub-type")):e.removeAttribute("type"),e.removeAttribute("data-iub-script")},Ze=function(e,t){return t&&function(e,t){Object.keys(t).forEach((function(n){void 0!==t[n]&&null!==t[n]&&e.setAttribute(n,t[n])}))}(e,t),function(e){for(var t=Array.prototype.concat.apply([],e.attributes),n={},i=0;i0&&void 0!==arguments[0]?arguments[0]:{};n(this,e),this._csSiteConf=t.csSiteConf,this._csRC=t.csRC,this.csEnabled=t.csEnabled,this._csPurposes=t.csPurposes,this._csT=t.csT,this._csFeatures=t.csFeatures,this._cpUpd=t.cpUpd,this._ppUpd=t.ppUpd,this._googleConsentModeV2=t.googleConsentModeV2}),[{key:"csSiteConf",get:function(){return this._csSiteConf}},{key:"csRC",get:function(){return this._csRC}},{key:"csPurposes",get:function(){return this._csPurposes}},{key:"csT",get:function(){return this._csT}},{key:"csFeatures",get:function(){return this._csFeatures}},{key:"cpUpd",get:function(){return this._cpUpd}},{key:"ppUpd",get:function(){return this._ppUpd}},{key:"googleConsentModeV2",get:function(){return this._googleConsentModeV2}}])}();function Pt(){return-1!==["localhost"].indexOf(window.location.hostname)||null!==window.location.hostname.match(/.iubenda.com$/)}function St(e){return Pt()&&!0===e.previewMode&&!!e.previewRemoteConfigurationUrl}function xt(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!0===t?e.previewRemoteConfigurationUrl:ht.urlForRemoteConf.replace("%{cookie_policy_id}",e.cookiePolicyId)}function _t(e,t){var n=document.createElement("script");n.async=!0,n.onload=function(){return t({success:!0})},n.onerror=function(){return t({success:!1})},n.src=e;var i=document.getElementsByTagName("script")[0];i.parentNode.insertBefore(n,i)}var At=function(){return o((function e(t){n(this,e),this.object=t||{},this.listenersMap={},this.object.__iubJlibEmitterListeners__=this.listenersMap,this.object.on=this.on.bind(this),this.object.once=this.once.bind(this),this.object.off=this.off.bind(this),this.object.emit=this.emit.bind(this)}),[{key:"getListeners",value:function(e){return this.listenersMap[e]=this.listenersMap[e]||[],this.listenersMap[e]}},{key:"addListener",value:function(e,t,n){this.getListeners(e).unshift({fn:t,once:!!n})}},{key:"on",value:function(e,t){return this.addListener(e,t),this.object}},{key:"once",value:function(e,t){return this.addListener(e,t,!0),this.object}},{key:"off",value:function(e,t){for(var n=this.getListeners(e),i=n.length-1;i>=0;i--)n[i].fn===t&&n.splice(i,1);return this.object}},{key:"emit",value:function(e){for(var t=this.getListeners(e),n=t.length-1;n>=0;n--){var i=t[n],o=Array.prototype.slice.call(arguments,1);i.once&&t.splice(n,1),i.fn.apply(null,o)}}}])}(),Ot=function(e){return new At(e)},It=function(e){var t=!e.hasAttribute("disabled"),n=!e.getAttribute("aria-hidden");return t&&n&&!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},Lt='a[href]:not([tabindex="-1"]),button:not([disabled]):not([tabindex="-1"]),[tabindex]:not([tabindex="-1"]),input:not([disabled]):not([type="hidden"]):not([tabindex="-1"]),select:not([disabled]):not([tabindex="-1"]),textarea:not([disabled]):not([tabindex="-1"]),[contenteditable]:not([tabindex="-1"])',Bt=null,Dt=!1,Et=[],Tt=!1,Ft=!1,Nt=!1,Rt=function(e){if(Tt||null===e.relatedTarget&&!Nt){Tt=!1;var t=e.target;if(Bt){var n=document.querySelector(Bt);if(!n.contains(t))(function(e,t){var n=e.querySelectorAll(Lt),i=0,o=1;t&&(i=n.length-1,o=-1);for(var a=n[i];a&&!It(a);)a=n[i+=o];return a})(n,Ft).focus()}}},Vt=function(e){var t=e.code||e.key;(Tt="Tab"===t)&&(Ft=e.shiftKey&&Tt,function(e){var t=document.activeElement,n=document.querySelector(Bt);if(n){var i=n.querySelectorAll(Lt),o=i[0],a=i[i.length-1];a!==t||Ft?o===t&&Ft&&(e.preventDefault(),a.focus()):(e.preventDefault(),o.focus())}}(e))},jt=function(){Nt=!0},Mt=function(){Nt=!1},Ut=function(e){if(Dt||(Dt=!0,rt(document.body,"focusin",Rt),rt(window,"keydown",Vt),rt(document,"mousedown",jt),rt(document,"mouseup",Mt)),e)Et.push({selector:Bt,lastActive:document.activeElement}),Bt=e;else{var t=Et.pop();t&&(Bt=t.selector,t.lastActive.focus())}},zt=function(e){for(var t=document.getElementsByClassName("iubenda-advertising-preferences-link"),n=0;n[/if]%{purposes}[if adPersonalization][/if][/if][if hasCookiePolicy] según se especifica en la [link cookie_policy]política de cookies[/link][/if]. [if enableTcf and gdprApplies]\nEn relación con la publicidad, nosotros y %{total_number_of_ads_vendors} terceros [link vendors] seleccionados[/link], podemos utilizar datos de localización geográfica precisos e identificación mediante el escaneo de dispositivos con el fin de almacenar y/o acceder a información en un dispositivo y tratar datos personales como sus datos de uso, con las siguientes [link adv_pref]finalidades publicitarias[/link]: publicidad y contenido personalizados, medición de publicidad y contenido, investigación de audiencia y desarrollo de servicios.[/if][if gdprApplies or lgpdApplies][if banner.explicitWithdrawal]\nUsted es libre de otorgar, denegar o revocar su consentimiento en cualquier momento[if (enableTcf and gdprApplies) or banner.howToWithdraw] accediendo al panel de preferencias[/if]. [if enableTcf]Si presta su consentimiento, será válido únicamente en este dominio.[/if] Denegar el consentimiento puede provocar que las características relacionadas no estén disponibles.[/if][/if][/if][if ccpaApplies and not usprApplies]\nEn caso de venta de su información personal, puede inhabilitar esta opción utilizando el enlace "%{do_not_sell}"\n[if hasPrivacyPolicy]\nPara obtener más información sobre las categorías de información personal recogidas y las finalidades para las que se utilizará dicha información, le rogamos que consulte nuestra %{privacy_policy}.[/if][/if]\n[if gdprApplies or lgpdApplies][if banner.acceptButtonDisplay][list o][if banner.acceptButtonDisplay]\nUtilice el botón “[= banner.acceptButtonCaption]”[/if][if banner.closeButtonDisplay and not banner.closeButtonRejects and not banner.continueWithoutAcceptingButtonDisplay][or] cierre esta nota informativa[/if][/list] para dar su consentimiento. [/if][if not banner.acceptButtonDisplay and banner.closeButtonDisplay and not banner.closeButtonRejects]Cierre esta nota informativa para dar su consentimiento.[/if][if banner.rejectButtonDisplay][list o][if banner.rejectButtonDisplay]Utilice el botón “[= banner.rejectButtonCaption]” [/if][if (banner.closeButtonDisplay and banner.closeButtonRejects) or banner.continueWithoutAcceptingButtonDisplay][or] cierre esta nota informativa[/if][/list][if banner.rejectButtonDisplay] para continuar sin aceptar.[/if][/if][if not banner.rejectButtonDisplay and ((banner.closeButtonDisplay and banner.closeButtonRejects) or banner.continueWithoutAcceptingButtonDisplay)]Cierre esta nota informativa para continuar sin aceptar.[/if][/if][if fadpApplies and not gdprApplies and not lgpdApplies]Tiene derecho a inhabilitar el uso de cookies y tecnologías similares en cualquier momento.[/if][if usprApplies and hasSensitiveData][if gdprApplies or lgpdApplies or fadpApplies]\nNota para los consumidores situados en los Estados Unidos: u[/if][if not gdprApplies and not lgpdApplies and not fadpApplies]\nU[/if]sted puede prestar o denegar su consentimiento al tratamiento de sus datos de localización geográfica precisa en cualquier momento mediante los botones “[= banner.acceptButtonCaption]” y “[= banner.rejectButtonCaption]” o dentro del [link second_layer] panel de opciones de privacidad[/link].[/if]',endQuote:"”",or:"o",startQuote:"“",activate:"Activar",purpose:"propósito",vendor:"proveedor"},page_counter_caption:"Pulse de nuevo el botón para continuar",paragraph_1:"Este sitio web o sus herramientas de terceros utilizan cookies, que son necesarias para su funcionamiento y para conseguir los objetivos indicados en la política de privacidad. Si desea saber más o retirar su consentimiento para todas o algunas de las cookies, revise la %{cookie_policy_link}.",paragraph_2:"Al cerrar este aviso, desplazarse por la página, pulsar en un enlace o continuar navegando, acepta el uso de cookies.",privacy_policy_caption:"política de privacidad",reject_button_caption:"Rechazar[if banner.showPurposesToggles] todo[/if]",title:"Nota informativa",vendor_list_caption:"terceros",link_label_new_tab:"el enlace se abre en una pestaña nueva",close_button_label:"Cerrar esta nota informativa"},blocked_overlay:{accept_button:"Actualizar",accept_button_sr_only:"Actualizar preferencias de consentimiento",paragraph:"Usted ha denegado el uso de cookies o tecnologías similares para la finalidad de %{purposes}. Para ver este contenido, por favor actualice sus preferencias de consentimiento.",title:"El contenido está bloqueado"},blocked_popup:{accept_button:"Actualizar",paragraph:"Usted ha denegado el uso de cookies o tecnologías similares para la finalidad de %{purposes}. Para ver este contenido, por favor actualice sus preferencias de consentimiento.",title:"El contenido está bloqueado"},ccpa:{opt_out_cancel:"Cancelar",opt_out_confirm:"Confirmar",opt_out_prompt:"¿Realmente desea inhabilitar esta opción?"},floating_preferences_button:{caption:"Preferencias de privacidad"},footer:{btnCaption:"Guardar y continuar",message:"Al continuar navegando o cerrar esta ventana, usted acepta la actual configuración de cookies."},uspr:{gpc_signal:"Se ha respetado su señal de preferencias de autoexclusión (GPC). Utilice las opciones de configuración de su dispositivo para modificarla.",preference_widget:{notice_caption:"Aviso en el momento de la recogida",preference_caption:"Sus opciones de privacidad",preference_img_alt:"Icono de Autoexclusión de la Ley de Privacidad de los Consumidores de California (CCPA)"},privacy_policy:"política de privacidad",purposes:{adv:"Tratamiento de mi información personal para publicidad dirigida",s:"Venta de mi información personal",sd8:"Tratamiento de mis datos de localización geográfica precisa",sh:"Compartir mi información personal"},widget_intro:"Las opciones proporcionadas en esta sección unifican y simplifican el ejercicio de algunos de sus derechos de privacidad como usuario residente en los Estados Unidos.
Para obtener más información sobre sus derechos de privacidad y cómo ejercitarlos consulte nuestra %{privacy_policy}.",widget_title:"Sus derechos de privacidad en virtud de la legislación estatal de los EE.UU. sobre privacidad"},tcf_v2:{features:{1:{},2:{},3:{}},purposes:{1:{},2:{},3:{},4:{},5:{},6:{},7:{},8:{},9:{},10:{},11:{}},specialFeatures:{1:{},2:{}},specialPurposes:{1:{},2:{},3:{}}},per_purpose:{purposes:{1:{bannerName:"necesarios",name:"Necesarios"},2:{bannerName:"funcionalidad",name:"Funcionalidad"},3:{bannerName:"experiencia",name:"Experiencia"},4:{bannerName:"medición",name:"Medición"},5:{bannerName:"marketing[if adPersonalization] (anuncios personalizados)[/if]",name:"Marketing"},googleAdsPersonalized:{name:"Publicidad personalizada de Google y sus socios"}},widget_title:"Sus preferencias[if not fadpApplies] de consentimiento[/if] para tecnologías de seguimiento"}}},Ht={},qt={},Kt={},Jt={};function Yt(){O(Jt,Gt),O(Jt,Ht),O(Jt,qt),O(Jt,Kt)}function Zt(e){Ht=e}Yt();var Xt=function(e,t){if((t.usprPurposes&&"string"==typeof t.usprPurposes?t.usprPurposes.split(",").map((function(e){return e.trim()})):[]).some((function(t){return t===e})))return"uspr.purposes."+e;var n=(t.purposes&&"string"==typeof t.purposes?t.purposes.split(",").map((function(e){return e.trim()})):[]).some((function(t){return t===e})),i=(t.additionalPurposes&&Array.isArray(t.additionalPurposes)?t.additionalPurposes.map((function(e){return e.id})):[]).some((function(t){return t===e}));return n||i?"per_purpose.purposes."+e+".bannerName":isNaN(e)?"uspr.purposes."+e:"per_purpose.purposes."+e+".bannerName"},$t=!1,Qt=!1,en=!1,tn=!1,nn=function(){if(!Qt){var e=document.getElementsByTagName("head")[0];ct('.iubenda-alert{position:fixed!important;top:0!important;left:0!important;width:100%!important;height:100%!important;z-index:2147483647!important;background-color:rgba(0,0,0,.5)!important;font-family:"Helvetica Neue",-apple-system,sans-serif!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:16px!important}.iubenda-alert *{font-size:100%!important;width:auto!important;-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;background:0 0!important;box-sizing:border-box!important;-webkit-tap-highlight-color:transparent!important;backface-visibility:hidden!important;font-family:-apple-system,sans-serif!important;text-decoration:none!important;color:currentColor!important;background-attachment:scroll!important;background-color:transparent!important;background-image:none!important;background-position:0 0!important;background-repeat:repeat!important;border:0!important;border-color:#000!important;border-color:currentColor!important;border-radius:0!important;border-style:none!important;border-width:medium!important;bottom:auto!important;clear:none!important;clip:auto!important;counter-increment:none!important;counter-reset:none!important;direction:inherit!important;float:none!important;font-style:inherit!important;font-variant:normal!important;font-weight:inherit!important;height:auto!important;left:auto!important;letter-spacing:normal;line-height:inherit;list-style-type:inherit!important;list-style-position:outside!important;list-style-image:none!important;margin:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:1;overflow:visible!important;padding:0!important;position:static!important;quotes:"" ""!important;right:auto!important;table-layout:auto!important;text-align:left!important;text-indent:0!important;text-transform:none!important;top:auto!important;unicode-bidi:normal!important;vertical-align:baseline!important;visibility:inherit!important;white-space:normal!important;width:auto!important;word-spacing:normal;z-index:auto!important;background-origin:padding-box!important;background-origin:padding-box!important;background-clip:border-box!important;background-size:auto!important;-o-border-image:none!important;border-image:none!important;border-radius:0!important;border-radius:0!important;box-shadow:none!important;-moz-column-count:auto!important;column-count:auto!important;-moz-column-gap:normal!important;column-gap:normal!important;-moz-column-rule:medium none #000!important;column-rule:medium none #000!important;-moz-column-span:none!important;column-span:none!important;-moz-column-width:auto!important;column-width:auto!important;font-feature-settings:normal!important;overflow-x:visible!important;overflow-y:visible!important;-webkit-hyphens:manual!important;hyphens:manual!important;perspective:none!important;perspective-origin:50% 50%!important;text-shadow:none!important;transition:all 0s ease 0s!important;transform:none!important;transform-origin:50% 50%!important;transform-style:flat!important;word-break:normal!important}.iubenda-alert .iubenda-alert-dialog{margin:16px!important;width:100%!important;border-radius:6px!important;background-color:#111!important;color:#f4f4f4!important}@media (min-width:320px){.iubenda-alert .iubenda-alert-dialog{width:320px!important}}.iubenda-alert .iubenda-alert-dialog .iubenda-alert-dialog-content{padding:24px 24px 0!important}.iubenda-alert .iubenda-alert-dialog .iubenda-alert-dialog-buttons{padding:24px!important;display:flex!important}.iubenda-alert .iubenda-alert-dialog .iubenda-alert-dialog-buttons button{flex:1!important}.iubenda-alert button{flex:1!important;-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;margin:4px!important;padding:8px 16px!important;border-radius:64px!important;cursor:pointer!important;font-weight:700!important;font-size:100%!important;border:1px solid transparent!important;color:#fff;text-align:center!important}.iubenda-alert button:hover{border-color:currentColor!important}.iubenda-alert button.iubenda-button-confirm{background-color:#0073ce!important}.iubenda-alert button.iubenda-button-cancel{background-color:rgba(255,255,255,.1)!important}',e),Qt=!0}},on=function(){if(!en){var e=document.getElementsByTagName("head")[0];ct("#iubenda-cs-banner .iub-toggle-checkbox,#iubenda-iframe .iub-toggle-checkbox{flex-shrink:0!important;display:flex!important;align-items:center!important;margin-left:24px!important}#iubenda-cs-banner .iub-toggle-checkbox input,#iubenda-iframe .iub-toggle-checkbox input{-moz-appearance:none!important;appearance:none!important;-webkit-appearance:none!important;padding:0!important;border:0!important;margin:0!important}#iubenda-cs-banner .iub-toggle-checkbox input::-ms-check,#iubenda-iframe .iub-toggle-checkbox input::-ms-check{visibility:hidden}#iubenda-cs-banner .iub-toggle-checkbox input.style1,#iubenda-iframe .iub-toggle-checkbox input.style1{width:64px!important;height:32px!important;border-radius:32px!important;transition:background-position .4s ease,background-color .4s ease!important;background-color:#555!important;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath fill='%23FFF' fill-rule='evenodd' d='M9 0a9 9 0 1 1 0 18A9 9 0 0 1 9 0zM5.729 5.033a.5.5 0 0 0-.638.058l-.058.07a.5.5 0 0 0 .058.637l3.201 3.201-3.201 3.203a.5.5 0 0 0 .707.707l3.201-3.203 3.203 3.203.07.058a.5.5 0 0 0 .637-.058l.058-.07a.5.5 0 0 0-.058-.637L9.706 8.999l3.203-3.201a.5.5 0 0 0-.707-.707L8.999 8.292 5.798 5.091z'/%3E%3C/svg%3E\")!important;background-repeat:no-repeat!important;background-position:top 4px left 4px!important;background-size:24px 24px!important}#iubenda-cs-banner .iub-toggle-checkbox input.style1:checked,#iubenda-iframe .iub-toggle-checkbox input.style1:checked{background-color:#1cc691!important;background-position:top 4px left 36px!important;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath fill='%23FFF' fill-rule='evenodd' d='M9 0a9 9 0 1 1 0 18A9 9 0 0 1 9 0zm4.646 5.646l-6.198 6.2-3.1-3a.5.5 0 1 0-.696.718l3.454 3.342a.5.5 0 0 0 .701-.006l6.547-6.546a.5.5 0 1 0-.708-.708z'/%3E%3C/svg%3E\")!important}#iubenda-cs-banner .iub-toggle-checkbox input.style1:checked.sm,#iubenda-iframe .iub-toggle-checkbox input.style1:checked.sm{background-position:top 3px left 27px!important}#iubenda-cs-banner .iub-toggle-checkbox input.style1:checked.half,#iubenda-cs-banner .iub-toggle-checkbox input.style1:checked[value=partial],#iubenda-iframe .iub-toggle-checkbox input.style1:checked.half,#iubenda-iframe .iub-toggle-checkbox input.style1:checked[value=partial]{background-color:#ffd24d!important;background-position:top 4px left 20px!important;background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18'%3E%3Cpath fill='%23FFF' fill-rule='evenodd' d='M9 0a9 9 0 1 1 0 18A9 9 0 0 1 9 0zm4 8.5H5a.5.5 0 0 0 0 1h8a.5.5 0 0 0 0-1z'/%3E%3C/svg%3E\")!important}#iubenda-cs-banner .iub-toggle-checkbox input.style1:checked.half.sm,#iubenda-cs-banner .iub-toggle-checkbox input.style1:checked[value=partial].sm,#iubenda-iframe .iub-toggle-checkbox input.style1:checked.half.sm,#iubenda-iframe .iub-toggle-checkbox input.style1:checked[value=partial].sm{background-position:top 3px left 15px!important}#iubenda-cs-banner .iub-toggle-checkbox input.style1.sm,#iubenda-iframe .iub-toggle-checkbox input.style1.sm{width:48px!important;height:24px!important;border-radius:24px!important;background-size:18px 18px!important;background-position:top 3px left 3px!important}#iubenda-cs-banner .iub-toggle-checkbox input::-ms-check,#iubenda-iframe .iub-toggle-checkbox input::-ms-check{visibility:hidden!important}#iubenda-cs-banner .iub-toggle-checkbox input:not([disabled]),#iubenda-iframe .iub-toggle-checkbox input:not([disabled]){cursor:pointer!important}#iubenda-cs-banner .iub-toggle-checkbox input[disabled],#iubenda-iframe .iub-toggle-checkbox input[disabled]{opacity:.35}#iubenda-cs-banner .iub-toggle-checkbox .iub-caption,#iubenda-iframe .iub-toggle-checkbox .iub-caption{display:none!important}#iubenda-cs-banner{font-size:15px!important;background:0 0!important;line-height:1.4!important;position:fixed!important;z-index:99999998!important;top:0!important;left:0!important;width:100%!important;height:100%!important;border:0!important;margin:0!important;padding:0!important;overflow:hidden!important;display:flex!important;will-change:opacity;opacity:0!important;pointer-events:none!important;transition:opacity .4s ease!important}#iubenda-cs-banner .iubenda-banner-content:not(.iubenda-custom-content) *,#iubenda-cs-banner [class*=\" iub\"],#iubenda-cs-banner [class^=iub]{font-size:100%!important;width:auto!important;-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;background:0 0!important;box-sizing:border-box!important;-webkit-tap-highlight-color:transparent!important;font-family:-apple-system,sans-serif!important;text-decoration:none!important;color:currentColor!important;background-attachment:scroll!important;background-color:transparent!important;background-image:none!important;background-position:0 0!important;background-repeat:repeat!important;border:0!important;border-color:#000!important;border-color:currentColor!important;border-radius:0!important;border-style:none!important;border-width:medium!important;bottom:auto!important;clear:none!important;clip:auto!important;counter-increment:none!important;counter-reset:none!important;direction:inherit!important;float:none!important;font-style:inherit!important;font-variant:normal!important;font-weight:inherit!important;height:auto!important;left:auto!important;letter-spacing:normal;line-height:inherit;list-style-type:inherit!important;list-style-position:outside!important;list-style-image:none!important;margin:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:1;overflow:visible!important;padding:0!important;position:static!important;quotes:\"\" \"\"!important;right:auto!important;table-layout:auto!important;text-align:left!important;text-indent:0!important;text-transform:none!important;top:auto!important;unicode-bidi:normal!important;vertical-align:baseline!important;white-space:normal!important;width:auto!important;word-spacing:normal;z-index:auto!important;background-origin:padding-box!important;background-origin:padding-box!important;background-clip:border-box!important;background-size:auto!important;-o-border-image:none!important;border-image:none!important;border-radius:0!important;border-radius:0!important;box-shadow:none!important;-moz-column-count:auto!important;column-count:auto!important;-moz-column-gap:normal!important;column-gap:normal!important;-moz-column-rule:medium none #000!important;column-rule:medium none #000!important;-moz-column-span:none!important;column-span:none!important;-moz-column-width:auto!important;column-width:auto!important;font-feature-settings:normal!important;overflow-x:visible!important;overflow-y:visible!important;-webkit-hyphens:manual!important;hyphens:manual!important;perspective:none!important;perspective-origin:50% 50%!important;text-shadow:none!important;transition:all 0s ease 0s!important;transform:none!important;transform-origin:50% 50%!important;transform-style:flat!important;word-break:normal!important;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}#iubenda-cs-banner .iubenda-banner-content:not(.iubenda-custom-content) * strong,#iubenda-cs-banner [class*=\" iub\"] strong,#iubenda-cs-banner [class^=iub] strong{font-weight:700!important}#iubenda-cs-banner .iubenda-banner-content:not(.iubenda-custom-content) * .iub-sr-only,#iubenda-cs-banner [class*=\" iub\"] .iub-sr-only,#iubenda-cs-banner [class^=iub] .iub-sr-only{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}#iubenda-cs-banner .iubenda-banner-content:not(.iubenda-custom-content) * .iub-sr-only:focus,#iubenda-cs-banner [class*=\" iub\"] .iub-sr-only:focus,#iubenda-cs-banner [class^=iub] .iub-sr-only:focus{position:static!important;width:auto!important;height:auto!important}#iubenda-cs-banner.iubenda-cs-overlay:before{content:\"\"!important;position:fixed!important;top:0!important;left:0!important;width:100%!important;height:100%!important;background-color:rgba(0,0,0,.5)!important;z-index:1!important;pointer-events:auto!important}#iubenda-cs-banner.iubenda-cs-center{align-items:center!important;justify-content:center!important}#iubenda-cs-banner.iubenda-cs-top{align-items:flex-start!important}#iubenda-cs-banner.iubenda-cs-bottom{align-items:flex-end!important}#iubenda-cs-banner.iubenda-cs-left{justify-content:flex-start!important}#iubenda-cs-banner.iubenda-cs-right{justify-content:flex-end!important}#iubenda-cs-banner.iubenda-cs-visible{opacity:1!important}#iubenda-cs-banner.iubenda-cs-visible>*{pointer-events:auto!important}#iubenda-cs-banner.iubenda-cs-slidein .iubenda-cs-container{transition:transform .4s ease!important}#iubenda-cs-banner.iubenda-cs-slidein.iubenda-cs-top .iubenda-cs-container{transform:translateY(-48px)!important}#iubenda-cs-banner.iubenda-cs-slidein.iubenda-cs-bottom .iubenda-cs-container{transform:translateY(48px)!important}#iubenda-cs-banner.iubenda-cs-slidein.iubenda-cs-visible .iubenda-cs-container{transform:translateY(0)!important}#iubenda-cs-banner .iubenda-cs-container{position:relative!important;z-index:2!important}#iubenda-cs-banner .iubenda-cs-container.iubenda-cs-themed{display:flex;flex-direction:column}#iubenda-cs-banner .iubenda-cs-brand{display:flex!important;padding:16px!important;flex-shrink:0!important}#iubenda-cs-banner .iubenda-cs-brand>div{display:flex!important;justify-content:flex-start!important}#iubenda-cs-banner .iubenda-cs-brand img{max-width:192px!important;max-height:32px!important}#iubenda-cs-banner .iubenda-cs-content{position:relative!important;z-index:1!important;overflow:hidden!important;transition:transform .4s ease!important;background-color:#000!important;color:#fff!important;font-size:14px!important;display:flex;flex-direction:column}#iubenda-cs-banner .iubenda-cs-rationale{position:relative!important;display:flex!important;flex-direction:column!important;flex:1 1 auto}@media screen and (max-height:300px){#iubenda-cs-banner .iubenda-cs-rationale{overflow-y:auto!important;display:block!important}}#iubenda-cs-banner .iubenda-cs-close-btn{z-index:1!important;top:6px!important;right:0!important;margin:10px!important;min-width:32px!important;height:32px!important;padding:6px!important;font-size:24px!important;line-height:0!important;font-weight:lighter!important;cursor:pointer!important;text-align:center!important;border:1px solid transparent!important;border-radius:4px!important;opacity:.7!important;align-self:flex-end!important}#iubenda-cs-banner .iubenda-cs-close-btn:hover{opacity:1!important}#iubenda-cs-banner .iubenda-banner-content{font-weight:300!important;padding:16px!important;flex:1 1 auto!important;overflow-y:auto!important}#iubenda-cs-banner .iubenda-banner-content a,#iubenda-cs-banner .iubenda-banner-content button{cursor:pointer!important;color:currentColor!important;text-decoration:underline!important}#iubenda-cs-banner .iubenda-banner-content a:hover,#iubenda-cs-banner .iubenda-banner-content button:hover{text-decoration:none!important}@media (min-width:640px){#iubenda-cs-banner .iubenda-banner-content div:nth-child(1){margin-top:40px!important}}#iubenda-cs-banner #iubenda-cs-paragraph.iubenda-cs-no-margin-top{margin-top:0!important}#iubenda-cs-banner #iubenda-cs-paragraph.iubenda-cs-small-margin-top{margin-top:16px!important}#iubenda-cs-banner #iubenda-cs-title{margin-bottom:16px!important;margin-top:8px!important;font-weight:700!important;font-size:14px!important}#iubenda-cs-banner .iubenda-cs-counter{text-align:center!important;position:relative!important;z-index:1!important;display:none;pointer-events:none;flex-shrink:0;padding:8px!important;font-size:13px!important;font-weight:700!important}#iubenda-cs-banner .iubenda-cs-cwa-button{font-weight:700!important;font-size:13px!important;background:rgba(255,255,255,.1)!important;color:#fff!important;padding:8px 14px!important;flex-shrink:0;border-radius:4px!important;text-align:center!important;z-index:1!important;margin:16px!important;margin-bottom:0!important;cursor:pointer!important}#iubenda-cs-banner .iubenda-cs-cwa-button:focus,#iubenda-cs-banner .iubenda-cs-cwa-button:hover{box-shadow:0 0 0 999px inset rgba(0,0,0,.1)!important}@media (max-width:639px){#iubenda-cs-banner .iubenda-cs-cwa-button{box-shadow:0 8px 16px 4px rgba(0,0,0,.2)!important}}@media (min-width:640px){#iubenda-cs-banner .iubenda-cs-cwa-button{align-self:flex-end}}#iubenda-cs-banner .iubenda-cs-cwa-button:focus,#iubenda-cs-banner .iubenda-cs-cwa-button:hover{box-shadow:0 0 0 999px inset rgba(0,0,0,.1)!important}@media (max-width:639px){#iubenda-cs-banner .iubenda-cs-cwa-button{box-shadow:0 8px 16px 4px rgba(0,0,0,.2)!important}}@media (min-width:640px){#iubenda-cs-banner .iubenda-cs-cwa-button{align-self:flex-end}}#iubenda-cs-banner .iubenda-cs-opt-group{z-index:1!important;display:flex!important;margin-top:0!important;flex-shrink:0!important;color:#000!important;margin:16px!important;margin-top:0!important}#iubenda-cs-banner .iubenda-cs-opt-group>div{display:flex!important}@media screen and (max-height:300px){#iubenda-cs-banner .iubenda-cs-opt-group{position:relative!important}}@media (min-width:640px){#iubenda-cs-banner .iubenda-cs-opt-group{align-items:center!important;justify-content:space-between!important}#iubenda-cs-banner .iubenda-cs-opt-group-custom{margin-right:auto!important;align-self:start!important;justify-content:flex-start!important}#iubenda-cs-banner .iubenda-cs-opt-group-consent{margin-left:auto!important;align-self:end!important;justify-content:flex-end!important}}@media (max-width:639px){#iubenda-cs-banner .iubenda-cs-opt-group{flex-direction:column!important}#iubenda-cs-banner .iubenda-cs-opt-group-custom:not(.iubenda-cs-opt-group-granular){order:2}#iubenda-cs-banner .iubenda-cs-opt-group-consent{order:1}}#iubenda-cs-banner .iubenda-cs-opt-group button{-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;padding:8px 32px!important;border-radius:64px!important;cursor:pointer!important;font-weight:700!important;font-size:100%!important;margin-top:4px!important;margin-bottom:4px!important;text-align:center!important;border:0!important;background-color:#1a1a1a!important;color:#fff!important}@-moz-document url-prefix(){#iubenda-cs-banner .iubenda-cs-opt-group button{padding-top:7px!important}}#iubenda-cs-banner .iubenda-cs-opt-group button.focus,#iubenda-cs-banner .iubenda-cs-opt-group button.hover{box-shadow:0 0 0 999px inset rgba(0,0,0,.1)!important}@media (min-width:640px){#iubenda-cs-banner .iubenda-cs-opt-group button:not(:last-of-type){margin-right:8px!important}}@media (max-width:639px){#iubenda-cs-banner .iubenda-cs-opt-group button{padding:8px 24px!important;width:100%!important;display:block;text-align:center!important;margin:6px 3px!important;flex:1}}#iubenda-cs-banner .iubenda-cs-opt-group button.iubenda-cs-accept-btn,#iubenda-cs-banner .iubenda-cs-opt-group button.iubenda-cs-btn-primary{background-color:#0073ce!important;color:#fff!important}#iubenda-cs-banner .iubenda-cs-opt-group button.iubenda-cs-reject-btn{background-color:#0073ce!important;color:#fff!important}#iubenda-cs-banner.iubenda-cs-padded:not(.iubenda-cs-branded) .iubenda-banner-content{padding-right:48px!important}#iubenda-cs-banner.iubenda-cs-padded .iubenda-cs-close-btn{position:absolute!important}@media (min-width:640px){#iubenda-cs-banner:not(.iubenda-cs-padded).iubenda-cs-branded .iubenda-cs-cwa-button{position:absolute!important}}@media (min-width:640px){#iubenda-cs-banner:not(.iubenda-cs-branded):not(.iubenda-cs-no-heading) .iubenda-cs-cwa-button{position:absolute!important;top:-4px!important;right:-4px!important;padding:5px 10px!important}}@media (min-width:640px){#iubenda-cs-banner.iubenda-cs-branded:not(.iubenda-cs-default-floating).iubenda-cs-bottom .iubenda-cs-brand,#iubenda-cs-banner.iubenda-cs-branded:not(.iubenda-cs-default-floating).iubenda-cs-top .iubenda-cs-brand{border-radius:8px!important}}@media (min-width:640px){#iubenda-cs-banner.iubenda-cs-branded .iubenda-cs-cwa-button{margin:15px!important}}#iubenda-cs-banner.iubenda-cs-branded .iubenda-cs-close-btn{height:32px!important;min-width:32px!important}#iubenda-cs-banner.iubenda-cs-default .iubenda-cs-brand-badge-outer,#iubenda-cs-banner.iubenda-cs-default-floating .iubenda-cs-brand-badge-outer{height:0!important}#iubenda-cs-banner.iubenda-cs-default-floating:not(.iubenda-cs-left) .iubenda-cs-brand-badge-outer,#iubenda-cs-banner.iubenda-cs-default:not(.iubenda-cs-left) .iubenda-cs-brand-badge-outer{margin-left:auto!important;margin-right:0!important;float:right!important}#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-bottom .iubenda-cs-brand-badge-outer,#iubenda-cs-banner.iubenda-cs-default.iubenda-cs-bottom .iubenda-cs-brand-badge-outer{order:-1!important;display:inline-flex!important}#iubenda-cs-banner.iubenda-cs-default .iubenda-cs-brand{margin:0 -8px 0!important}@media (max-width:991px){#iubenda-cs-banner.iubenda-cs-default .iubenda-cs-brand{margin:-8px -8px 0!important}}@media (min-width:992px){#iubenda-cs-banner.iubenda-cs-default .iubenda-cs-brand div{margin:0 auto!important;width:calc(992px - 32px)!important}}@media (max-width:991px){#iubenda-cs-banner.iubenda-cs-default .iubenda-cs-brand div{margin:0 8px!important}}#iubenda-cs-banner.iubenda-cs-default .iubenda-cs-container{width:100%!important}@media (min-width:992px){#iubenda-cs-banner.iubenda-cs-default .iubenda-cs-rationale{width:992px!important;margin:16px auto!important}}@media (min-width:992px){#iubenda-cs-banner.iubenda-cs-default-floating .iubenda-cs-brand-badge{margin:0 16px!important}}@media (min-width:992px){#iubenda-cs-banner.iubenda-cs-default-floating .iubenda-cs-container{width:992px!important}}@media (max-width:991px){#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center.iubenda-cs-bottom .iubenda-cs-container,#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center.iubenda-cs-top .iubenda-cs-container{width:100%!important}}@media (min-width:640px){#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center:not(.iubenda-cs-top):not(.iubenda-cs-bottom) .iubenda-cs-container,#iubenda-cs-banner.iubenda-cs-default-floating:not(.iubenda-cs-bottom):not(.iubenda-cs-center) .iubenda-cs-container,#iubenda-cs-banner.iubenda-cs-default-floating:not(.iubenda-cs-top):not(.iubenda-cs-center) .iubenda-cs-container{width:480px!important}}#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center:not(.iubenda-cs-top):not(.iubenda-cs-bottom) .iubenda-cs-opt-group,#iubenda-cs-banner.iubenda-cs-default-floating:not(.iubenda-cs-bottom):not(.iubenda-cs-center) .iubenda-cs-opt-group,#iubenda-cs-banner.iubenda-cs-default-floating:not(.iubenda-cs-top):not(.iubenda-cs-center) .iubenda-cs-opt-group{flex-direction:column!important}#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center:not(.iubenda-cs-top):not(.iubenda-cs-bottom) .iubenda-cs-opt-group>div,#iubenda-cs-banner.iubenda-cs-default-floating:not(.iubenda-cs-bottom):not(.iubenda-cs-center) .iubenda-cs-opt-group>div,#iubenda-cs-banner.iubenda-cs-default-floating:not(.iubenda-cs-top):not(.iubenda-cs-center) .iubenda-cs-opt-group>div{width:100%!important}#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center:not(.iubenda-cs-top):not(.iubenda-cs-bottom) .iubenda-cs-opt-group button,#iubenda-cs-banner.iubenda-cs-default-floating:not(.iubenda-cs-bottom):not(.iubenda-cs-center) .iubenda-cs-opt-group button,#iubenda-cs-banner.iubenda-cs-default-floating:not(.iubenda-cs-top):not(.iubenda-cs-center) .iubenda-cs-opt-group button{display:block!important;width:100%!important;text-align:center!important}#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center:not(.iubenda-cs-top):not(.iubenda-cs-bottom) .iubenda-cs-opt-group-custom,#iubenda-cs-banner.iubenda-cs-default-floating:not(.iubenda-cs-bottom):not(.iubenda-cs-center) .iubenda-cs-opt-group-custom,#iubenda-cs-banner.iubenda-cs-default-floating:not(.iubenda-cs-top):not(.iubenda-cs-center) .iubenda-cs-opt-group-custom{order:2}#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center:not(.iubenda-cs-top):not(.iubenda-cs-bottom) .iubenda-cs-opt-group-consent,#iubenda-cs-banner.iubenda-cs-default-floating:not(.iubenda-cs-bottom):not(.iubenda-cs-center) .iubenda-cs-opt-group-consent,#iubenda-cs-banner.iubenda-cs-default-floating:not(.iubenda-cs-top):not(.iubenda-cs-center) .iubenda-cs-opt-group-consent{order:1}#iubenda-cs-banner.iubenda-cs-default-floating .iubenda-cs-content{box-shadow:0 8px 48px rgba(0,0,0,.15)!important;max-width:100%!important}@media (min-width:992px){#iubenda-cs-banner.iubenda-cs-default-floating .iubenda-cs-content{border-radius:4px!important;margin:16px!important}}#iubenda-cs-banner.iubenda-cs-scrollable .iubenda-banner-content{mask-image:linear-gradient(to top,rgba(0,0,0,0) 0%,rgb(0,0,0) 16px)!important;-webkit-mask-image:linear-gradient(to top,rgba(0,0,0,0) 0%,rgb(0,0,0) 16px)!important}#iubenda-cs-banner.iubenda-cs-fix-height .iubenda-cs-container,#iubenda-cs-banner.iubenda-cs-fix-height .iubenda-cs-content,#iubenda-cs-banner.iubenda-cs-fix-height .iubenda-cs-rationale{height:100%!important}@media (min-width:992px){#iubenda-cs-banner.iubenda-cs-fix-height.iubenda-cs-default-floating .iubenda-cs-content{height:calc(100% - 32px)!important}}#iubenda-cs-banner.iubenda-cs-fix-height .iubenda-cs-brand img{max-width:75%!important}#iubenda-cs-banner [tabindex]:not([tabindex=\"-1\"]):focus,#iubenda-cs-banner a[href]:focus,#iubenda-cs-banner button:focus,#iubenda-cs-banner details:focus,#iubenda-cs-banner input:focus,#iubenda-cs-banner select:focus,#iubenda-cs-banner textarea:focus{outline-width:2px!important;outline-style:solid!important;outline-color:#70b3ff!important;outline-offset:2px!important}#iubenda-cs-banner .iubenda-cs-brand-badge{flex-shrink:0!important;margin:16px!important;padding:6px 34px 6px 10px!important;background:#fff!important;display:inline-flex;border-radius:6px!important;border:1px solid rgba(0,0,0,.2)!important;box-shadow:0 0 16px rgba(0,0,0,.1)!important;align-self:flex-end;background-image:url(\"data:image/svg+xml,%3Csvg fill='none' height='19' viewBox='0 0 9 19' width='9' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath clip-rule='evenodd' d='m4.1555.211426c.81725.000101 1.61499.249693 2.28656.715401.67157.465713 1.18496 1.125343 1.47153 1.890693.28657.76536.33266 1.59996.13211 2.39221-.20055.79226-.63818 1.50441-1.25438 2.04124l.87593 11.02083h-7.023493l.875933-11.02083c-.616206-.53683-1.053841-1.24898-1.254391-2.04124-.2005501-.79225-.154458-1.62685.132114-2.39221.286572-.76535.799967-1.42498 1.471537-1.890693.67157-.465708 1.46931-.7153 2.28655-.715401z' fill='%231cc691' fill-rule='evenodd'/%3E%3C/svg%3E\")!important;background-position:center right 12px!important;background-repeat:no-repeat!important;color:#222!important;font-weight:400!important;font-size:14px!important;pointer-events:auto!important}#iubenda-cs-banner .iubenda-cs-brand-badge:hover{border:1px solid rgba(0,0,0,.4)!important}#iubenda-cs-banner .iubenda-cs-brand-badge>span{border-right:1px solid rgba(0,0,0,.1)!important;padding-right:12px!important}#iubenda-cs-banner .iubenda-cs-brand-badge>span>span{text-decoration:underline!important}#iubenda-cs-banner .iubenda-cs-brand-badge-text{font-size:11px!important;font-weight:700!important;text-align:right!important;margin:-4px 16px 12px!important}#iubenda-cs-banner .iubenda-cs-brand-badge-text a{color:inherit}#iubenda-cs-banner .iubenda-iframe-spinner~.iubenda-iframe-badge-container .iubenda-cs-brand-badge{display:none!important}#iubenda-cs-banner .iubenda-granular-controls-container{--iub-granular-background:rgba(0, 0, 0, .02);--iub-granular-border:rgba(0, 0, 0, 0.08);--iub-granular-toggle-background:rgba(0, 0, 0, 0.2);display:flex;flex-wrap:wrap;flex-shrink:0;margin-bottom:16px!important;border-top:1px solid var(--iub-granular-border)!important}#iubenda-cs-banner .iubenda-granular-controls-container .granular-control-checkbox{flex-basis:100%;display:flex!important;gap:10px!important;padding-left:16px!important;padding-right:16px!important;padding-bottom:14px!important;background-color:var(--iub-granular-background)!important;margin:0!important}#iubenda-cs-banner .iubenda-granular-controls-container .granular-control-checkbox input.style1{width:48px!important;height:24px!important;background-position:top 3px left 3px!important;background-size:18px 18px!important;background-color:var(--iub-granular-toggle-background)!important}#iubenda-cs-banner .iubenda-granular-controls-container .granular-control-checkbox input.style1,#iubenda-cs-banner .iubenda-granular-controls-container .granular-control-checkbox input.style1:checked{background-image:url(\"data:image/svg+xml,%3Csvg height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='10' cy='10' fill='%23fff' fill-rule='evenodd' r='10'/%3E%3C/svg%3E\")!important}#iubenda-cs-banner .iubenda-granular-controls-container .granular-control-checkbox input.style1:checked{background-position:top 3px left 27px!important;background-color:#1cc691!important}#iubenda-cs-banner .iubenda-granular-controls-container .granular-control-checkbox input.style1:checked[value=partial]{background-position:top 3px left 15px!important;background-color:#ffd24d!important}#iubenda-cs-banner .iubenda-granular-controls-container .granular-control-checkbox:nth-child(2){padding-top:16px!important}#iubenda-cs-banner .iubenda-granular-controls-container .granular-control-checkbox:last-child{padding-bottom:16px!important;border-bottom:1px solid var(--iub-granular-border)!important}#iubenda-cs-banner .iubenda-granular-controls-container .granular-control-checkbox:first-child:nth-last-child(odd),#iubenda-cs-banner .iubenda-granular-controls-container .granular-control-checkbox:first-child:nth-last-child(odd)~.granular-control-checkbox{flex-basis:50%;flex-direction:column-reverse;padding:14px 10px!important;border:1px solid var(--iub-granular-border)!important;border-right:0!important;border-top:0!important}#iubenda-cs-banner .iubenda-granular-controls-container .granular-control-checkbox--disabled{display:none!important}@media (max-width:991px){#iubenda-cs-banner .iubenda-granular-controls-container .granular-control-checkbox{min-width:0!important}#iubenda-cs-banner .iubenda-granular-controls-container .granular-control-checkbox label{max-width:100%}#iubenda-cs-banner .iubenda-granular-controls-container .granular-control-checkbox label span{display:block;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}#iubenda-cs-banner .iubenda-granular-controls-container .granular-control-checkbox--mobile-hidden{display:none!important}}#iubenda-cs-banner.iubenda-cs-black .iubenda-granular-controls-container{--iub-granular-background:rgba(255, 255, 255, .02);--iub-granular-border:rgba(255, 255, 255, 0.08);--iub-granular-toggle-background:rgba(255, 255, 255, 0.2)}@media (min-width:640px){#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center.iubenda-cs-bottom .iubenda-granular-controls-container .granular-control-checkbox,#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center.iubenda-cs-top .iubenda-granular-controls-container .granular-control-checkbox,#iubenda-cs-banner.iubenda-cs-default.iubenda-cs-bottom .iubenda-granular-controls-container .granular-control-checkbox,#iubenda-cs-banner.iubenda-cs-default.iubenda-cs-top .iubenda-granular-controls-container .granular-control-checkbox{flex:1!important;flex-direction:column-reverse!important;padding:14px 10px!important;border:1px solid var(--iub-granular-border)!important;border-right:0!important;border-top:0!important;padding-top:16px!important}}@media (min-width:992px){#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center.iubenda-cs-bottom .iubenda-granular-controls-container,#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center.iubenda-cs-top .iubenda-granular-controls-container,#iubenda-cs-banner.iubenda-cs-default.iubenda-cs-bottom .iubenda-granular-controls-container,#iubenda-cs-banner.iubenda-cs-default.iubenda-cs-top .iubenda-granular-controls-container{grid-gap:24px!important;padding:16px 16px 32px!important;border-top:0!important;margin-bottom:0!important}#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center.iubenda-cs-bottom .iubenda-granular-controls-container .granular-control-checkbox--disabled,#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center.iubenda-cs-top .iubenda-granular-controls-container .granular-control-checkbox--disabled,#iubenda-cs-banner.iubenda-cs-default.iubenda-cs-bottom .iubenda-granular-controls-container .granular-control-checkbox--disabled,#iubenda-cs-banner.iubenda-cs-default.iubenda-cs-top .iubenda-granular-controls-container .granular-control-checkbox--disabled{display:flex!important}#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center.iubenda-cs-bottom .iubenda-granular-controls-container .granular-control-checkbox:first-child,#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center.iubenda-cs-top .iubenda-granular-controls-container .granular-control-checkbox:first-child,#iubenda-cs-banner.iubenda-cs-default.iubenda-cs-bottom .iubenda-granular-controls-container .granular-control-checkbox:first-child,#iubenda-cs-banner.iubenda-cs-default.iubenda-cs-top .iubenda-granular-controls-container .granular-control-checkbox:first-child{padding-left:16px!important}#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center.iubenda-cs-bottom .iubenda-granular-controls-container .granular-control-checkbox:last-child,#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center.iubenda-cs-top .iubenda-granular-controls-container .granular-control-checkbox:last-child,#iubenda-cs-banner.iubenda-cs-default.iubenda-cs-bottom .iubenda-granular-controls-container .granular-control-checkbox:last-child,#iubenda-cs-banner.iubenda-cs-default.iubenda-cs-top .iubenda-granular-controls-container .granular-control-checkbox:last-child{padding-right:16px!important}#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center.iubenda-cs-bottom .iubenda-granular-controls-container .granular-control-checkbox,#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center.iubenda-cs-bottom .iubenda-granular-controls-container .granular-control-checkbox:first-child,#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center.iubenda-cs-bottom .iubenda-granular-controls-container .granular-control-checkbox:first-child:nth-last-child(odd),#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center.iubenda-cs-bottom .iubenda-granular-controls-container .granular-control-checkbox:first-child:nth-last-child(odd)~.granular-control-checkbox,#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center.iubenda-cs-bottom .iubenda-granular-controls-container .granular-control-checkbox:first-child:nth-last-child(odd)~.granular-control-checkbox:last-child,#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center.iubenda-cs-bottom .iubenda-granular-controls-container .granular-control-checkbox:first-child:nth-last-child(odd)~.granular-control-checkbox:nth-last-child(2),#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center.iubenda-cs-bottom .iubenda-granular-controls-container .granular-control-checkbox:last-child,#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center.iubenda-cs-bottom .iubenda-granular-controls-container .granular-control-checkbox:nth-child(2),#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center.iubenda-cs-top .iubenda-granular-controls-container .granular-control-checkbox,#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center.iubenda-cs-top .iubenda-granular-controls-container .granular-control-checkbox:first-child,#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center.iubenda-cs-top .iubenda-granular-controls-container .granular-control-checkbox:first-child:nth-last-child(odd),#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center.iubenda-cs-top .iubenda-granular-controls-container .granular-control-checkbox:first-child:nth-last-child(odd)~.granular-control-checkbox,#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center.iubenda-cs-top .iubenda-granular-controls-container .granular-control-checkbox:first-child:nth-last-child(odd)~.granular-control-checkbox:last-child,#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center.iubenda-cs-top .iubenda-granular-controls-container .granular-control-checkbox:first-child:nth-last-child(odd)~.granular-control-checkbox:nth-last-child(2),#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center.iubenda-cs-top .iubenda-granular-controls-container .granular-control-checkbox:last-child,#iubenda-cs-banner.iubenda-cs-default-floating.iubenda-cs-center.iubenda-cs-top .iubenda-granular-controls-container .granular-control-checkbox:nth-child(2),#iubenda-cs-banner.iubenda-cs-default.iubenda-cs-bottom .iubenda-granular-controls-container .granular-control-checkbox,#iubenda-cs-banner.iubenda-cs-default.iubenda-cs-bottom .iubenda-granular-controls-container .granular-control-checkbox:first-child,#iubenda-cs-banner.iubenda-cs-default.iubenda-cs-bottom .iubenda-granular-controls-container .granular-control-checkbox:first-child:nth-last-child(odd),#iubenda-cs-banner.iubenda-cs-default.iubenda-cs-bottom .iubenda-granular-controls-container .granular-control-checkbox:first-child:nth-last-child(odd)~.granular-control-checkbox,#iubenda-cs-banner.iubenda-cs-default.iubenda-cs-bottom .iubenda-granular-controls-container .granular-control-checkbox:first-child:nth-last-child(odd)~.granular-control-checkbox:last-child,#iubenda-cs-banner.iubenda-cs-default.iubenda-cs-bottom .iubenda-granular-controls-container .granular-control-checkbox:first-child:nth-last-child(odd)~.granular-control-checkbox:nth-last-child(2),#iubenda-cs-banner.iubenda-cs-default.iubenda-cs-bottom .iubenda-granular-controls-container .granular-control-checkbox:last-child,#iubenda-cs-banner.iubenda-cs-default.iubenda-cs-bottom .iubenda-granular-controls-container .granular-control-checkbox:nth-child(2),#iubenda-cs-banner.iubenda-cs-default.iubenda-cs-top .iubenda-granular-controls-container .granular-control-checkbox,#iubenda-cs-banner.iubenda-cs-default.iubenda-cs-top .iubenda-granular-controls-container .granular-control-checkbox:first-child,#iubenda-cs-banner.iubenda-cs-default.iubenda-cs-top .iubenda-granular-controls-container .granular-control-checkbox:first-child:nth-last-child(odd),#iubenda-cs-banner.iubenda-cs-default.iubenda-cs-top .iubenda-granular-controls-container .granular-control-checkbox:first-child:nth-last-child(odd)~.granular-control-checkbox,#iubenda-cs-banner.iubenda-cs-default.iubenda-cs-top .iubenda-granular-controls-container .granular-control-checkbox:first-child:nth-last-child(odd)~.granular-control-checkbox:last-child,#iubenda-cs-banner.iubenda-cs-default.iubenda-cs-top .iubenda-granular-controls-container .granular-control-checkbox:first-child:nth-last-child(odd)~.granular-control-checkbox:nth-last-child(2),#iubenda-cs-banner.iubenda-cs-default.iubenda-cs-top .iubenda-granular-controls-container .granular-control-checkbox:last-child,#iubenda-cs-banner.iubenda-cs-default.iubenda-cs-top .iubenda-granular-controls-container .granular-control-checkbox:nth-child(2){flex:0 1 auto!important;flex-direction:row!important;background-color:transparent!important;padding:0!important;border:none!important;margin:0!important}}.iub-sr-only{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}.iub-sr-only:focus{position:static!important;width:auto!important;height:auto!important}.iubenda-tp-alert-btn *,.iubenda-tp-alert-btn:not([data-tp-nostyle],.iubenda-floatable-default-btn),.iubenda-tp-btn:not(.iubenda-floatable-tb-btn) *,.iubenda-tp-btn:not(.iubenda-floatable-tb-btn):not([data-tp-nostyle],.iubenda-floatable-default-btn),.iubenda-uspr-btn *,.iubenda-uspr-btn:not([data-tp-nostyle],.iubenda-floatable-default-btn){font-size:100%!important;width:auto!important;-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;background:0 0!important;box-sizing:border-box!important;-webkit-tap-highlight-color:transparent!important;backface-visibility:hidden!important;font-family:-apple-system,sans-serif!important;text-decoration:none!important;color:currentColor!important;background-attachment:scroll!important;background-color:transparent!important;background-image:none!important;background-position:0 0!important;background-repeat:repeat!important;border:0!important;border-color:#000!important;border-color:currentColor!important;border-radius:0!important;border-style:none!important;border-width:medium!important;bottom:auto!important;clear:none!important;clip:auto!important;counter-increment:none!important;counter-reset:none!important;cursor:auto!important;direction:inherit!important;float:none!important;font-style:inherit!important;font-variant:normal!important;font-weight:inherit!important;height:auto!important;left:auto!important;letter-spacing:normal;line-height:inherit;list-style-type:inherit!important;list-style-position:outside!important;list-style-image:none!important;margin:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:1;outline:0!important;overflow:visible!important;padding:0!important;position:static!important;quotes:\"\" \"\"!important;right:auto!important;table-layout:auto!important;text-align:left!important;text-indent:0!important;text-transform:none!important;top:auto!important;unicode-bidi:normal!important;vertical-align:baseline!important;visibility:inherit!important;white-space:normal!important;width:auto!important;word-spacing:normal;z-index:auto!important;background-origin:padding-box!important;background-origin:padding-box!important;background-clip:border-box!important;background-size:auto!important;-o-border-image:none!important;border-image:none!important;border-radius:0!important;border-radius:0!important;box-shadow:none!important;-moz-column-count:auto!important;column-count:auto!important;-moz-column-gap:normal!important;column-gap:normal!important;-moz-column-rule:medium none #000!important;column-rule:medium none #000!important;-moz-column-span:none!important;column-span:none!important;-moz-column-width:auto!important;column-width:auto!important;font-feature-settings:normal!important;overflow-x:visible!important;overflow-y:visible!important;-webkit-hyphens:manual!important;hyphens:manual!important;perspective:none!important;perspective-origin:50% 50%!important;text-shadow:none!important;transition:all 0s ease 0s!important;transform:none!important;transform-origin:50% 50%!important;transform-style:flat!important;word-break:normal!important;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}.iubenda-tp-alert-btn:not([data-tp-nostyle],.iubenda-floatable-default-btn),.iubenda-tp-btn:not(.iubenda-floatable-tb-btn):not([data-tp-nostyle],.iubenda-floatable-default-btn),.iubenda-uspr-btn:not([data-tp-nostyle],.iubenda-floatable-default-btn){-webkit-appearance:none!important;-moz-appearance:none!important;appearance:none!important;line-height:34px!important;height:34px!important;min-width:34px!important;border-radius:4px!important;cursor:pointer!important;font-weight:700!important;font-size:14px!important;box-shadow:0 0 0 1px rgba(0,0,0,.15)!important;color:rgba(0,0,0,.65)!important;background-color:#fff!important;display:inline-block!important;vertical-align:middle!important}.iubenda-tp-alert-btn.iubenda-tp-btn--warning,.iubenda-tp-btn:not(.iubenda-floatable-tb-btn).iubenda-tp-btn--warning,.iubenda-uspr-btn.iubenda-tp-btn--warning{z-index:2147483647!important}.iubenda-tp-alert-btn.iubenda-tp-btn--warning:before,.iubenda-tp-btn:not(.iubenda-floatable-tb-btn).iubenda-tp-btn--warning:before,.iubenda-uspr-btn.iubenda-tp-btn--warning:before{content:\"\";background-image:url(\"data:image/svg+xml,%3Csvg fill='none' height='17' viewBox='0 0 17 17' width='17' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m6.79042 2.81577c.7788-1.28272 2.64036-1.28272 3.41918 0l5.9459 9.79333c.8093 1.3328-.1503 3.038-1.7095 3.038h-11.89195c-1.55927 0-2.5188026-1.7052-1.709576-3.038z' fill='%23fb6666'/%3E%3Cpath d='m14.446 15.1471h-11.89195c-1.16945 0-1.889102-1.2789-1.28218-2.2785l5.94595-9.79334c.5841-.96204 1.98026-.96204 2.56436 0l5.94592 9.79334c.607.9996-.1127 2.2785-1.2821 2.2785z' stroke='%23000' stroke-opacity='.1'/%3E%3Cg fill='%23fff'%3E%3Crect height='4.97619' rx='.497619' width='.995238' x='8' y='6'/%3E%3Cpath d='m8 12.5c0-.2761.22386-.5.5-.5.27614 0 .5.2239.5.5 0 .2761-.22386.5-.5.5-.27614 0-.5-.2239-.5-.5z'/%3E%3C/g%3E%3C/svg%3E\");background-position:center;background-size:24px 24px;background-repeat:no-repeat;position:absolute;top:-16px;right:-16px;width:32px;height:32px}.iubenda-tp-alert-btn[data-tp-icon=data-tp-icon],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-icon=data-tp-icon],.iubenda-uspr-btn[data-tp-icon=data-tp-icon]{background-image:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath fill='%231CC691' fill-rule='evenodd' d='M16 7a4 4 0 0 1 2.627 7.016L19.5 25h-7l.873-10.984A4 4 0 0 1 16 7z'/%3E%3C/svg%3E\")!important;background-repeat:no-repeat!important;background-size:32px 32px!important;background-position:top .5px left 1px!important}.iubenda-tp-alert-btn[data-tp-icon=generic],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-icon=generic],.iubenda-uspr-btn[data-tp-icon=generic]{background-image:url(\"data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_1711_3144)'%3E%3Cpath d='M9.85732 0.605164C8.61149 0.605164 7.41668 1.10007 6.53575 1.981C5.65482 2.86194 5.15991 4.05674 5.15991 5.30257V6.08547H6.72571V5.30257C6.72571 4.47202 7.05565 3.67548 7.64294 3.08819C8.23023 2.5009 9.02676 2.17097 9.85732 2.17097C10.6879 2.17097 11.4844 2.5009 12.0717 3.08819C12.659 3.67548 12.9889 4.47202 12.9889 5.30257V6.08547H14.5547V5.30257C14.5547 4.05674 14.0598 2.86194 13.1789 1.981C12.298 1.10007 11.1031 0.605164 9.85732 0.605164Z' fill='%23333333'/%3E%3Cpath d='M14.5548 7.65131H5.15998C4.53707 7.65131 3.93967 7.89876 3.4992 8.33922C3.05873 8.77969 2.81128 9.37709 2.81128 10V16.2632C2.81128 16.8861 3.05873 17.4835 3.4992 17.924C3.93967 18.3645 4.53707 18.6119 5.15998 18.6119H14.5548C15.1777 18.6119 15.7751 18.3645 16.2156 17.924C16.656 17.4835 16.9035 16.8861 16.9035 16.2632V10C16.9035 9.37709 16.656 8.77969 16.2156 8.33922C15.7751 7.89876 15.1777 7.65131 14.5548 7.65131ZM10.6403 13.7031V15.4803C10.6403 15.688 10.5578 15.8871 10.411 16.0339C10.2642 16.1807 10.065 16.2632 9.85739 16.2632C9.64975 16.2632 9.45061 16.1807 9.30379 16.0339C9.15697 15.8871 9.07449 15.688 9.07449 15.4803V13.7031C8.77598 13.5308 8.54268 13.2648 8.41077 12.9463C8.27887 12.6279 8.25573 12.2748 8.34494 11.9418C8.43415 11.6089 8.63073 11.3147 8.90419 11.1049C9.17765 10.895 9.5127 10.7813 9.85739 10.7813C10.2021 10.7813 10.5371 10.895 10.8106 11.1049C11.084 11.3147 11.2806 11.6089 11.3698 11.9418C11.459 12.2748 11.4359 12.6279 11.304 12.9463C11.1721 13.2648 10.9388 13.5308 10.6403 13.7031Z' fill='%23333333'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_1711_3144'%3E%3Crect width='18.7896' height='18.7896' fill='white' transform='translate(0.462402 0.605164)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E\")!important;background-repeat:no-repeat!important;background-size:25px 25px!important;background-position:top 4.5px left 5px!important}.iubenda-tp-alert-btn[data-tp-circle],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-circle],.iubenda-uspr-btn[data-tp-circle]{border-radius:32px!important}.iubenda-tp-alert-btn[data-tp-label]:after,.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-label]:after,.iubenda-uspr-btn[data-tp-label]:after{content:attr(data-tp-label)!important;padding:0 16px!important;white-space:nowrap!important}.iubenda-tp-alert-btn[data-tp-label][data-tp-icon]:after,.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-label][data-tp-icon]:after,.iubenda-uspr-btn[data-tp-label][data-tp-icon]:after{padding-left:32px!important}.iubenda-tp-alert-btn[data-tp-float],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float],.iubenda-uspr-btn[data-tp-float]{position:fixed!important}.iubenda-tp-alert-btn[data-tp-float]:not([data-tp-anchored]),.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float]:not([data-tp-anchored]),.iubenda-uspr-btn[data-tp-float]:not([data-tp-anchored]){margin:16px!important}.iubenda-tp-alert-btn[data-tp-float]:focus,.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float]:focus,.iubenda-uspr-btn[data-tp-float]:focus{outline:2px solid -webkit-focus-ring-color!important}.iubenda-tp-alert-btn[data-tp-float][data-tp-anchored],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-anchored],.iubenda-uspr-btn[data-tp-float][data-tp-anchored]{margin:0 16px!important;border-radius:6px!important}.iubenda-tp-alert-btn[data-tp-float][data-tp-anchored]:not([data-tp-hover]):not([data-tp-label])[data-tp-float=center-left],.iubenda-tp-alert-btn[data-tp-float][data-tp-anchored]:not([data-tp-hover]):not([data-tp-label])[data-tp-float=center-right],.iubenda-tp-alert-btn[data-tp-float][data-tp-anchored][data-tp-hover][data-tp-float=center-left],.iubenda-tp-alert-btn[data-tp-float][data-tp-anchored][data-tp-hover][data-tp-float=center-right],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-anchored]:not([data-tp-hover]):not([data-tp-label])[data-tp-float=center-left],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-anchored]:not([data-tp-hover]):not([data-tp-label])[data-tp-float=center-right],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-anchored][data-tp-hover][data-tp-float=center-left],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-anchored][data-tp-hover][data-tp-float=center-right],.iubenda-uspr-btn[data-tp-float][data-tp-anchored]:not([data-tp-hover]):not([data-tp-label])[data-tp-float=center-left],.iubenda-uspr-btn[data-tp-float][data-tp-anchored]:not([data-tp-hover]):not([data-tp-label])[data-tp-float=center-right],.iubenda-uspr-btn[data-tp-float][data-tp-anchored][data-tp-hover][data-tp-float=center-left],.iubenda-uspr-btn[data-tp-float][data-tp-anchored][data-tp-hover][data-tp-float=center-right]{margin:0!important;top:75%!important;transform:translateY(-50%)!important}.iubenda-tp-alert-btn[data-tp-float][data-tp-anchored]:not([data-tp-hover]):not([data-tp-label])[data-tp-float=center-left],.iubenda-tp-alert-btn[data-tp-float][data-tp-anchored][data-tp-hover][data-tp-float=center-left],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-anchored]:not([data-tp-hover]):not([data-tp-label])[data-tp-float=center-left],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-anchored][data-tp-hover][data-tp-float=center-left],.iubenda-uspr-btn[data-tp-float][data-tp-anchored]:not([data-tp-hover]):not([data-tp-label])[data-tp-float=center-left],.iubenda-uspr-btn[data-tp-float][data-tp-anchored][data-tp-hover][data-tp-float=center-left]{left:0!important;border-top-left-radius:0!important;border-bottom-left-radius:0!important;border-left:0!important}.iubenda-tp-alert-btn[data-tp-float][data-tp-anchored]:not([data-tp-hover]):not([data-tp-label])[data-tp-float=center-right],.iubenda-tp-alert-btn[data-tp-float][data-tp-anchored][data-tp-hover][data-tp-float=center-right],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-anchored]:not([data-tp-hover]):not([data-tp-label])[data-tp-float=center-right],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-anchored][data-tp-hover][data-tp-float=center-right],.iubenda-uspr-btn[data-tp-float][data-tp-anchored]:not([data-tp-hover]):not([data-tp-label])[data-tp-float=center-right],.iubenda-uspr-btn[data-tp-float][data-tp-anchored][data-tp-hover][data-tp-float=center-right]{right:0!important;border-top-right-radius:0!important;border-bottom-right-radius:0!important;border-right:0!important}.iubenda-tp-alert-btn[data-tp-float][data-tp-anchored]:not([data-tp-hover])[data-tp-label][data-tp-float=center-left],.iubenda-tp-alert-btn[data-tp-float][data-tp-anchored]:not([data-tp-hover])[data-tp-label][data-tp-float=center-right],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-anchored]:not([data-tp-hover])[data-tp-label][data-tp-float=center-left],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-anchored]:not([data-tp-hover])[data-tp-label][data-tp-float=center-right],.iubenda-uspr-btn[data-tp-float][data-tp-anchored]:not([data-tp-hover])[data-tp-label][data-tp-float=center-left],.iubenda-uspr-btn[data-tp-float][data-tp-anchored]:not([data-tp-hover])[data-tp-label][data-tp-float=center-right]{margin:0!important;top:50%!important;border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;border-bottom:0!important;transform-origin:bottom!important}.iubenda-tp-alert-btn[data-tp-float][data-tp-anchored]:not([data-tp-hover])[data-tp-label][data-tp-float=center-left],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-anchored]:not([data-tp-hover])[data-tp-label][data-tp-float=center-left],.iubenda-uspr-btn[data-tp-float][data-tp-anchored]:not([data-tp-hover])[data-tp-label][data-tp-float=center-left]{left:0!important;transform:translateY(-50%) rotate(90deg)!important;transform-origin:left bottom!important}.iubenda-tp-alert-btn[data-tp-float][data-tp-anchored]:not([data-tp-hover])[data-tp-label][data-tp-float=center-right],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-anchored]:not([data-tp-hover])[data-tp-label][data-tp-float=center-right],.iubenda-uspr-btn[data-tp-float][data-tp-anchored]:not([data-tp-hover])[data-tp-label][data-tp-float=center-right]{right:0!important;transform:translateY(-50%) rotate(-90deg)!important;transform-origin:right bottom!important}.iubenda-tp-alert-btn[data-tp-float][data-tp-float=bottom-left],.iubenda-tp-alert-btn[data-tp-float][data-tp-float=bottom-right],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-float=bottom-left],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-float=bottom-right],.iubenda-uspr-btn[data-tp-float][data-tp-float=bottom-left],.iubenda-uspr-btn[data-tp-float][data-tp-float=bottom-right]{bottom:0!important}.iubenda-tp-alert-btn[data-tp-float][data-tp-float=bottom-left][data-tp-anchored],.iubenda-tp-alert-btn[data-tp-float][data-tp-float=bottom-right][data-tp-anchored],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-float=bottom-left][data-tp-anchored],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-float=bottom-right][data-tp-anchored],.iubenda-uspr-btn[data-tp-float][data-tp-float=bottom-left][data-tp-anchored],.iubenda-uspr-btn[data-tp-float][data-tp-float=bottom-right][data-tp-anchored]{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;border-bottom:0!important}.iubenda-tp-alert-btn[data-tp-float][data-tp-float=top-left],.iubenda-tp-alert-btn[data-tp-float][data-tp-float=top-right],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-float=top-left],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-float=top-right],.iubenda-uspr-btn[data-tp-float][data-tp-float=top-left],.iubenda-uspr-btn[data-tp-float][data-tp-float=top-right]{top:0!important}.iubenda-tp-alert-btn[data-tp-float][data-tp-float=top-left][data-tp-anchored],.iubenda-tp-alert-btn[data-tp-float][data-tp-float=top-right][data-tp-anchored],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-float=top-left][data-tp-anchored],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-float=top-right][data-tp-anchored],.iubenda-uspr-btn[data-tp-float][data-tp-float=top-left][data-tp-anchored],.iubenda-uspr-btn[data-tp-float][data-tp-float=top-right][data-tp-anchored]{border-top-left-radius:0!important;border-top-right-radius:0!important;border-top:0!important}.iubenda-tp-alert-btn[data-tp-float][data-tp-float=bottom-left],.iubenda-tp-alert-btn[data-tp-float][data-tp-float=top-left],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-float=bottom-left],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-float=top-left],.iubenda-uspr-btn[data-tp-float][data-tp-float=bottom-left],.iubenda-uspr-btn[data-tp-float][data-tp-float=top-left]{left:0!important}.iubenda-tp-alert-btn[data-tp-float][data-tp-float=bottom-right],.iubenda-tp-alert-btn[data-tp-float][data-tp-float=top-right],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-float=bottom-right],.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-float=top-right],.iubenda-uspr-btn[data-tp-float][data-tp-float=bottom-right],.iubenda-uspr-btn[data-tp-float][data-tp-float=top-right]{right:0!important}.iubenda-tp-alert-btn[data-tp-float][data-tp-hover][data-tp-label]:after,.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-hover][data-tp-label]:after,.iubenda-uspr-btn[data-tp-float][data-tp-hover][data-tp-label]:after{max-width:0!important;overflow:hidden!important;display:block!important;padding:0!important;opacity:0!important;transition:max-width .6s ease,padding .6s ease,opacity .6s ease!important}.iubenda-tp-alert-btn[data-tp-float][data-tp-hover][data-tp-label]:hover:after,.iubenda-tp-btn:not(.iubenda-floatable-tb-btn)[data-tp-float][data-tp-hover][data-tp-label]:hover:after,.iubenda-uspr-btn[data-tp-float][data-tp-hover][data-tp-label]:hover:after{max-width:192px!important;padding-left:32px!important;padding-right:10px!important;opacity:1!important}.iubenda-tp-alert-btn:focus,.iubenda-tp-btn:not(.iubenda-floatable-tb-btn):focus,.iubenda-uspr-btn:focus{outline-width:2px!important;outline-style:solid!important;outline-color:#70b3ff!important;outline-offset:2px!important}.iubenda-tp-alert-btn .iub-sr-only,.iubenda-tp-btn .iub-sr-only,.iubenda-uspr-btn .iub-sr-only{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}.iubenda-tp-alert-btn .iub-sr-only:focus,.iubenda-tp-btn .iub-sr-only:focus,.iubenda-uspr-btn .iub-sr-only:focus{position:static!important;width:auto!important;height:auto!important}.iubenda-uspr-btn{border:1px solid rgba(0,0,0,.2)!important;box-shadow:0 .25rem 1rem rgba(0,0,0,.1)!important;border-radius:.5rem!important;font-family:sans-serif!important;font-weight:700!important;overflow:hidden!important;display:inline-flex!important;flex-wrap:wrap!important;background:#fff!important;color:#280404!important}.iubenda-uspr-btn[data-tp-float][data-tp-anchored]:not([data-tp-hover]):not([data-tp-label])[data-tp-float=center-left],.iubenda-uspr-btn[data-tp-float][data-tp-anchored]:not([data-tp-hover]):not([data-tp-label])[data-tp-float=center-right]{border-radius:0!important;border-bottom-left-radius:6px!important;border-bottom-right-radius:6px!important;top:auto!important;bottom:32px!important;flex-wrap:nowrap!important}.iubenda-uspr-btn[data-tp-float][data-tp-anchored]:not([data-tp-hover]):not([data-tp-label])[data-tp-float=center-left] *,.iubenda-uspr-btn[data-tp-float][data-tp-anchored]:not([data-tp-hover]):not([data-tp-label])[data-tp-float=center-right] *{white-space:nowrap!important}.iubenda-uspr-btn[data-tp-float][data-tp-anchored]:not([data-tp-hover]):not([data-tp-label])[data-tp-float=center-left]{left:0!important;transform:translateX(46px) rotate(-90deg)!important;transform-origin:left bottom!important}.iubenda-uspr-btn[data-tp-float][data-tp-anchored]:not([data-tp-hover]):not([data-tp-label])[data-tp-float=center-right]{right:0!important;transform:translateX(-46px) rotate(90deg)!important;transform-origin:right bottom!important}@media (min-width:480px){.iubenda-uspr-btn[data-tp-float=bottom-right],.iubenda-uspr-btn[data-tp-float=bottom-right] .iubenda-cs-preferences-link,.iubenda-uspr-btn[data-tp-float=top-right],.iubenda-uspr-btn[data-tp-float=top-right] .iubenda-cs-preferences-link{flex-direction:row-reverse!important}}.iubenda-uspr-btn a,.iubenda-uspr-btn button{padding:.75rem!important;cursor:pointer!important;flex:1 1 auto!important;display:inline-flex!important;align-items:center!important;grid-gap:0.5rem!important;border:none;background:0 0}.iubenda-uspr-btn a img,.iubenda-uspr-btn button img{width:2.5rem!important;flex-shrink:0!important}.iubenda-uspr-btn a:hover,.iubenda-uspr-btn button:hover{background-color:rgba(0,0,0,.025)!important}.iubenda-uspr-btn>:first-child{box-shadow:0 0 0 1px rgba(0,0,0,.2)!important}.iub__us-widget{color:#595959;margin:0;padding:.5em;display:flex;justify-content:center;align-items:center;font-family:-apple-system,sans-serif!important;font-size:1rem;font-weight:700}.iub__us-widget.left{justify-content:flex-start}.iub__us-widget.right{justify-content:flex-end}.iub__us-widget__wrapper{background-color:#fff;border:1px solid currentColor;border-radius:5px;overflow:hidden;display:flex}.iub__us-widget__wrapper[data-tp-circle]{border-radius:32px}.iub__us-widget__link{font-family:-apple-system,sans-serif!important;font-size:1rem;font-weight:700;display:flex;justify-content:center;align-items:center;padding:.5em 1em;line-height:1;text-decoration:none;transition:background-color .3s ease;cursor:pointer;border:none;background:0 0}.iub__us-widget__link--privacy-choices{border-left:1px solid currentColor}.iub__us-widget__link--privacy-choices::after{content:url(\"data:image/svg+xml,%3Csvg width='40' height='18' viewBox='0 0 40 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='39' height='17' rx='8.5' fill='white' stroke='%232569F6'/%3E%3Cpath d='M22.5 0H31C35.9706 0 40 4.02944 40 9C40 13.9706 35.9706 18 31 18H18L22.5 0Z' fill='%232569F6'/%3E%3Cpath d='M8 9.5L10.5 12L16.5 6' stroke='%232569F6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M25.5 6L31.5 12' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3Cpath d='M31.5 6L25.5 12' stroke='white' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E%0A\");height:18px;margin-left:.8em}.iub__us-widget__link:hover{background-color:#e4e6e8}@media screen and (max-width:480px){.iub__us-widget{justify-content:start}.iub__us-widget__wrapper{flex-direction:column-reverse}.iub__us-widget__link{justify-content:flex-start}.iub__us-widget__link--privacy-choices{flex-direction:row-reverse;border-left:none;border-bottom:1px solid currentColor;margin-left:0;margin-right:.8em}}",e),en=!0}},an=function(e){if(!tn&&!0===e.banner.applyStyles){var t={backgroundColor:e.banner.backgroundColor,textColor:e.banner.textColor,outlineColor:e.banner.outlineColor,rejectButtonCaptionColor:e.banner.rejectButtonCaptionColor,rejectButtonColor:e.banner.rejectButtonColor,acceptButtonCaptionColor:e.banner.acceptButtonCaptionColor,acceptButtonColor:e.banner.acceptButtonColor,buttonTextColor:e.banner.customizeButtonCaptionColor,buttonBackgroundColor:e.banner.customizeButtonColor,brandBackgroundColor:e.banner.logo&&e.banner.brandBackgroundColor,brandTextColor:e.banner.logo&&e.banner.brandTextColor,fontSizeBody:e.banner.fontSize||e.banner.fontSizeBody,buttonExitFontSize:e.banner.fontSize||e.banner.fontSizeCloseButton,buttonExitTextColor:e.banner.logo&&e.banner.brandTextColor,buttonExitBackgroundColor:!e.banner.logo&&e.banner.backgroundColor,continueWithoutAcceptingButtonColor:e.banner.continueWithoutAcceptingButtonColor,continueWithoutAcceptingButtonCaptionColor:e.banner.continueWithoutAcceptingButtonCaptionColor},n=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n="";return e.forEach((function(e){var i=e.selector||e.selectors.join(", "),o="";for(var a in e.properties)e.properties[a]&&(o+="".concat(a,": ").concat(e.properties[a]).concat(t?"!important":"",";"));o&&(n+="".concat(i," { ").concat(o," }"))})),n}([{selectors:["#iubenda-iframe.iubenda-iframe-branded .iubenda-modal-navigation-brand","#iubenda-iframe.iubenda-iframe-branded .purposes-header","#iubenda-iframe.iubenda-iframe-branded .purposes-header .iub-btn-cp","#iubenda-iframe.iubenda-iframe-branded .purposes-header .iub-btn-back","#iubenda-iframe.iubenda-iframe-branded .iub-cmp-header","#purposes-content-container .purposes-header","#iubenda-cs-banner .iubenda-cs-brand"],properties:{"background-color":t.brandBackgroundColor,color:t.brandTextColor,"outline-color":t.outlineColor}},{selector:"#iubenda-cs-banner .iub-toggle .iub-toggle-label",properties:{color:t.brandTextColor,"outline-color":t.outlineColor}},{selector:["#iubenda-iframe.iubenda-iframe-branded .purposes-header .iub-btn-cp:hover","#iubenda-iframe.iubenda-iframe-branded .purposes-header .iub-btn-back:hover"],properties:{"background-color":t.brandTextColor,color:t.brandBackgroundColor,"outline-color":t.outlineColor}},{selector:["#iubenda-cs-banner .iubenda-cs-content","#iubenda-cs-title",".iub-toggle-checkbox.granular-control-checkbox span"],properties:{"background-color":t.backgroundColor,color:t.textColor,"font-size":t.fontSizeBody,"outline-color":t.outlineColor}},{selector:"#iubenda-cs-banner .iubenda-cs-close-btn",properties:{"font-size":t.buttonExitFontSize,color:t.buttonExitTextColor,"background-color":t.buttonExitBackgroundColor,"outline-color":t.outlineColor}},{selector:"#iubenda-cs-banner .iubenda-cs-opt-group",properties:{color:t.backgroundColor,"outline-color":t.outlineColor}},{selector:["#iubenda-cs-banner .iubenda-cs-opt-group button",".iubenda-alert button.iubenda-button-cancel"],properties:{"background-color":t.buttonBackgroundColor,color:t.buttonTextColor,"outline-color":t.outlineColor}},{selectors:["#iubenda-cs-banner .iubenda-cs-opt-group button.iubenda-cs-accept-btn","#iubenda-cs-banner .iubenda-cs-opt-group button.iubenda-cs-btn-primary",".iubenda-alert button.iubenda-button-confirm"],properties:{"background-color":t.acceptButtonColor,color:t.acceptButtonCaptionColor,"outline-color":t.outlineColor}},{selector:"#iubenda-cs-banner .iubenda-cs-opt-group button.iubenda-cs-reject-btn",properties:{"background-color":t.rejectButtonColor,color:t.rejectButtonCaptionColor,"outline-color":t.outlineColor}},{selector:"#iubenda-cs-banner button.iubenda-cs-cwa-button",properties:{"background-color":t.continueWithoutAcceptingButtonColor,color:t.continueWithoutAcceptingButtonCaptionColor,"outline-color":t.outlineColor}},{selectors:['#iubenda-cs-banner [tabindex]:not([tabindex="-1"]):focus',"#iubenda-cs-banner a[href]:focus","#iubenda-cs-banner button:focus","#iubenda-cs-banner details:focus","#iubenda-cs-banner input:focus","#iubenda-cs-banner select:focus","#iubenda-cs-banner textarea:focus"],properties:{"outline-color":t.outlineColor}}],!0),i=document.head||document.getElementsByTagName("head")[0];ct(n,i),tn=!0}};function rn(){var e="iubenda-cs__overlay-style";if(!!!document.querySelector(".".concat(e))){var t=document.createElement("style");t.className=e,t.innerHTML=".iubenda-cs__overlay{width:100%;height:100%;display:flex;overflow:auto;padding:1rem;background-color:rgba(0,0,0,.1);font-family:sans-serif;box-sizing:border-box}.iubenda-cs__dialog{max-width:320px;border-radius:.5rem;box-shadow:0 0 2rem rgba(0,0,0,.25),0 0 0 1px rgba(0,0,0,.05);margin:auto;overflow:hidden;padding:1.5rem;display:flex;flex-direction:column;grid-gap:1.5rem;background:#fff;color:#222;box-sizing:border-box}.iubenda-cs__body h1{font-size:1.25rem;margin:0 0 .5rem 0}.iubenda-cs__body p{margin:0;font-weight:300}.iubenda-cs__button{font-size:100%;border-radius:4rem;padding:.5rem 1rem;font-weight:700;background-color:#0073ce!important;color:#fff!important;border:0;width:100%;cursor:pointer}.iubenda-cs__button:hover{background-color:#005aa0!important}@media (max-height:320px) and (max-width:240px){.iubenda-cs__overlay{padding:0}}@media (max-height:320px) and (min-width:480px){.iubenda-cs__dialog{flex-direction:row;max-width:100%;align-items:center}.iubenda-cs__button{padding:1rem 3rem}}",document.body.appendChild(t)}}var sn="en",cn=sn,ln=function(e,t){for(var n=e,i=0;n&&i2&&void 0!==arguments[2]?arguments[2]:{},a=e.split("."),r=ln(Jt[cn],a)||t||e;return void 0===r&&cn!==sn&&(r=ln(Jt.en,a)),Fe(r=r||t||e,null!==(n=null===(i=_iub)||void 0===i||null===(i=i.cs)||void 0===i?void 0:i.options)&&void 0!==n?n:o)};un.setLang=function(e){cn=e};var dn=un,pn=function(e){return-1!==["en","it","de","es","fr","pt-BR","nl","da"].indexOf(e)?e.toLowerCase():"en"};function hn(e){var t=null!=e?e:"en";return{brandLink:"https://www.iubenda.com/"+pn(t)+"/cookie-solution?utm_source=cs&utm_medium=web&utm_campaign=csbr1",brandLinkTitle:Jt[t].brand.linkTitle}}window._iub.csTranslate=dn;var fn=function(e){for(var t=document.getElementsByClassName("iubenda-cs-preferences-link"),n=0,i=t.length;n','

[POPOVER TITLE]

','","",'
','
[POPOVER CONTENT]
',"
"].join(""),rt(n,"click",(function(e){return t.onPopoverClick(e)})),e.appendChild(n),n)}},{key:"onPopoverClick",value:function(e){tt(e.target,yn)&&this.close()}},{key:"listen",value:function(e){var t=this;rt(e,"click",(function(e){t.onClick(e)}))}},{key:"isOpen",value:function(){return!!je(kn)[0]}}])}(),wn=function(){return o((function e(t){n(this,e),this.options=t,this.isActive=this.setActive();var i,o,a=(i=t.lang,{brandLink:"https://www.iubenda.com/"+pn(o=null!=i?i:"en")+"/cookie-solution?utm_source=cs&utm_medium=web&utm_campaign=csbr2",brandLinkTitle:Jt[o].brand.linkTitle});this.link=a.brandLink,this.linkTitle=a.brandLinkTitle}),[{key:"setActive",value:function(){var e=this.options.cookieSolutionWhiteLabeling;return!(!this.options.banner.theme&&!1===e)&&(!(e>=1)&&!!ge.isDefault(this.options))}},{key:"getBadgeButtonScreenReaderSpan",value:function(){return'('.concat(dn("banner.link_label_new_tab"),")")}},{key:"getBadgeButton",value:function(){var e=document.createElement("a");e.className="iubenda-cs-brand-badge",e.href=this.link,e.setAttribute("target","_blank"),e.setAttribute("rel","noopener"),e.setAttribute("title",this.linkTitle),e.innerHTML="Created with iubenda".concat(this.getBadgeButtonScreenReaderSpan(),"");var t=document.createElement("div");return t.className="iubenda-cs-brand-badge-outer",t.appendChild(e),t}},{key:"getBadgeText",value:function(){var e=document.createElement("div");return e.className="iubenda-cs-brand-badge-text",e.innerHTML='Created with\n \n iubenda').concat(this.getBadgeButtonScreenReaderSpan(),"\n "),e}},{key:"getBadge",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!this.isActive)return e?"":null;var t="inside",n=null;return 0===this.options.cookieSolutionWhiteLabeling||!1===this.options.cookieSolutionWhiteLabeling?(t="outside",n=this.getBadgeButton()):n=this.getBadgeText(),{position:t,element:e?n.outerHTML:n}}}])}(),Pn=["value"],Sn=function(){return o((function e(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};n(this,e);var a=o.value,r=h(o,Pn);this.options=p({disabled:!1},r),this.label=t,this.callback=i,this.value=a||!1,this.content=document.createElement("div"),this.toggleId=t;var s="iub-toggle-checkbox granular-control-checkbox";o.id&&(this.toggleId="iub-toggle-id-"+o.id,s+=" "+this.toggleId),this.content.className=s,this.createToggle()}),[{key:"createToggle",value:function(){var e=this,t=document.createElement("input");t.id=this.toggleId,t.name=this.label,t.className="style1",t.type="checkbox",t.checked=this.value,t.value=this.value,t.disabled=this.options.disabled,this.options.disabled&&this.content.classList.add("granular-control-checkbox--disabled"),t.addEventListener("change",(function(t){var n=t.target;t.isTrusted&&(n.value=n.checked),e.callback(e.options,Ie(n.value))})),this.content.appendChild(t);var n=document.createElement("label");n.setAttribute("for",this.toggleId);var i=document.createElement("span");i.innerHTML=this.label,n.appendChild(i),this.content.appendChild(n)}},{key:"getNode",value:function(){return this.content}}])}(),xn="bannerAcceptClicked",_n={top:["iubenda-cs-default","iubenda-cs-top"],bottom:["iubenda-cs-default","iubenda-cs-bottom"],"float-top-left":["iubenda-cs-default-floating","iubenda-cs-top","iubenda-cs-left"],"float-top-right":["iubenda-cs-default-floating","iubenda-cs-top","iubenda-cs-right"],"float-bottom-left":["iubenda-cs-default-floating","iubenda-cs-bottom","iubenda-cs-left"],"float-bottom-right":["iubenda-cs-default-floating","iubenda-cs-bottom","iubenda-cs-right"],"float-top-center":["iubenda-cs-default-floating","iubenda-cs-top","iubenda-cs-center"],"float-bottom-center":["iubenda-cs-default-floating","iubenda-cs-bottom","iubenda-cs-center"],"float-center":["iubenda-cs-default-floating","iubenda-cs-center"]},An=function(){return o((function e(t,i){n(this,e),this.cookiePolicyHref=i,this.banner=null,this.cs=t,this.popover=new Cn(this.cs),this.bannerShown=!1,this.hasTheUserScrolledToBottom=!1,this.numberOfPages=1,this.singlePageHeight=0}),[{key:"shown",get:function(){return this.bannerShown}},{key:"bannerSetup",value:function(){var e,t,n=this,i=this.cs.options,o=Jt[i.lang].banner,a="",s="";null!=i&&null!==(e=i.banner)&&void 0!==e&&e.linksColor&&(s="style=color:"+i.banner.linksColor.replace(/\s+/g,"")+"!important;"),this.banner=document.createElement("div"),this.banner.id="iubenda-cs-banner",!0===i.banner.applyStyles&&(on(),i.banner.zIndex&&ut(this.banner,"z-index:"+i.banner.zIndex+" !important;"),i.banner.backgroundColor&&(a+="background-color: "+i.banner.backgroundColor+" !important;"),i.banner.textColor&&(a+="color: "+i.banner.textColor+" !important;"),i.banner.fontSize?a+="font-size: "+i.banner.fontSize+" !important;":i.banner.fontSizeBody&&(a+="font-size: "+i.banner.fontSizeBody+" !important;")),i.banner.backgroundColor&&"#000"===i.banner.backgroundColor&&this.banner.classList.add("iubenda-cs-black");var c=_n[i.banner.position];c||(c=_n.top);for(var l=0,u=c.length;l'+o.title+"");var b=(i.banner.closeButtonDisplay||i.banner.continueWithoutAcceptingButtonDisplay)&&!i.banner.logo,g=i.banner.logo,m='iubenda-cs-small-margin-top"';b?m="":g&&(m="iubenda-cs-no-margin-top"),d=f+'
').concat(h,"
")}var v=i.banner.cookiePolicyLinkCaption||o.cookie_policy_caption,y=i.cookiePolicyInOtherWindow?"":' role="button"',k="').concat(v,""),C="",w="",P=i.cookiePolicyInOtherWindow?' aria-label="'.concat(o.privacy_policy_caption," - ").concat(o.link_label_new_tab,'"'):"",S=i.cookiePolicyInOtherWindow?"":' role="button"',x="').concat(o.privacy_policy_caption,""),_="";d=(d=(d=(d=(d=(d=(d=d.replace("%{total_number_of_ads_vendors}",(null===(t=this.cs.options.tcfVendors)||void 0===t?void 0:t.length)||window._iub.vendorsCountGVL3||0)).replace("%{cookie_policy_link}",k)).replace("%{advertising_preferences_link}",C)).replace("%{vendor_list_link}",w)).replace("%{privacy_policy}",x)).replace("%{do_not_sell}",_)).replace("%{purposes}",(function(){var e;return function(e,t){if(!t)return"";var n=Object.keys(t).filter((function(e){return 1!=+e}));e.enableTcf&&-1===n.indexOf("5")&&n.push("5");var i={};return n.forEach((function(t){i[t]=Xt(t,e)})),In(e.lang,i)}(i,null===(e=n.cs.preferenceState.purposes)||void 0===e?void 0:e.data)}));var A=i.banner.html,O="";if(i.banner.logo&&(O='
logo
',Qe(this.banner,"iubenda-cs-branded")),!i.banner.continueWithoutAcceptingButtonDisplay&&i.banner.closeButtonDisplay&&Qe(this.banner,"iubenda-cs-padded"),null===A){var I=new wn(i).getBadge(!0),L=I?" iubenda-cs-themed":"";this.banner.innerHTML='
'+O+function(e){if(e.banner.continueWithoutAcceptingButtonDisplay)return'").concat(e.banner.continueWithoutAcceptingButtonCaption,"");var t=ot({display:e.banner.closeButtonDisplay?"":"none"});return'\n \n ")}(i)+'
'+d+"
"+(i.banner.showPurposesToggles?'
':"")+'
'+function(e,t){var n=function(e,t){if(!e.banner.customizeButtonDisplay)return"";return'"}(e,t),i="iubenda-cs-opt-group-custom";e.banner.showPurposesToggles&&(i+=" iubenda-cs-opt-group-granular");n&&(n='
'+n+"
");var o=function(e,t){if(!e.banner.rejectButtonDisplay)return"";return'"}(e,t)+function(e,t){var n=e.banner.acceptButtonCaption||t.accept_button_caption;if(!e.banner.acceptButtonDisplay)return"";return'"}(e,t);o&&(o='");var a=n+o;if(!a)return"";return'
"+a+"
"}(i,o)+("inside"===(null==I?void 0:I.position)?I.element:"")+"
"+("outside"===(null==I?void 0:I.position)?I.element:"")+"
",this.applyAccessibilityParams(this.banner,i),function(e,t){var n=e.options;if(!n.banner.showPurposesToggles||!t)return;var i=0,o=function(t){if(!t.preferenceState.getProperty("granularOptionsActive")){e.preferenceState.processState({granularOptionsActive:!0});var n=document.querySelector("#iubenda-cs-banner .iubenda-cs-accept-btn"),i=document.querySelector("#iubenda-cs-banner .iubenda-cs-reject-btn");n&&(n.innerHTML=dn("footer.btnCaption")),i&&i.style.setProperty("display","none","important")}},a=e.preferenceState.getFullState();if(Object.keys(a.purposes).forEach((function(n){if(void 0===a.tcfv2||"5"!==n){i++;var s=a.purposes[n],c=dn("per_purpose.purposes.".concat(n,".name")),l=function(t,n){var i={purposes:r({},t.id,n)};e.preferenceState.processState(i),o(e)},u={value:s.value||!1,disabled:!!s.blocked,id:n};s.value&&!s.blocked&&e.on("callback.before.onBannerShown",(function(){o(e)}));var d=new Sn(c,l,u);t.appendChild(d.getNode())}})),void 0!==a.tcfv2){i++;var s=dn("per_purpose.purposes.5.name"),c=new Sn(s,(function(t,i){var s=r({},t.id,i);a.purposes&&a.purposes[5]&&"boolean"==typeof i&&(s.purposes={5:i}),n.enableTcf&&(s.tcfv2={all:i},n.googleAdditionalConsentMode&&(s.gac={all:i})),e.preferenceState.processState(s),o(e)}),{value:!1,id:"mkt"});t.appendChild(c.getNode())}i%2||t.classList.add("grid")}(this.cs,this.banner.querySelector(".iubenda-granular-controls-container"))}else-1!==A.indexOf("%{banner_content}")&&(A=A.replace("%{banner_content}",d)),this.banner.innerHTML=A;if(p){var B=je("iubenda-banner-content",this.banner)[0];B&&Qe(B,"iubenda-custom-content")}var D=!1,E=null,T=0,F="iubenda-cs-fix-height",N=function(){if(n.banner){var e=window.innerHeight;D&&e>T&&(n.banner.classList.remove(F),E.style.removeProperty("height"),D=!1);var t=E.clientHeight,o=E.querySelector(".iubenda-cs-brand-badge"),a=0;if(o){var r=getComputedStyle(o);t+=a=o.offsetHeight+parseInt(r.marginTop,10)+parseInt(r.marginBottom,10)}T=e,t>=e&&!D?(n.banner.classList.add(F),a&&E.style.setProperty("height","calc(100% - ".concat(a,"px)"),"important"),D=!0):t-1}},{key:"createLegacyDynamicBannerText",value:function(e){var t=e.dynamic,n=this.cs.options.banner.applyStyles,i=t.paragraph_1?Fe(t.paragraph_1,this.cs.options):"",o=t.paragraph_2?Fe(function(e){if(!(e.by_scrolling||e.by_clicking_on_links||e.by_browsing))return null==e?void 0:e.paragraph_2;return"[if gdprApplies][if not banner.acceptButtonDisplay or not banner.rejectButtonDisplay]\n".concat(e.paragraph_2,".[/if][/if]")}(t),this.cs.options):"";return On(i,n)+On(o,n)}},{key:"createDynamicBannerText",value:function(e){var t=e.dynamic,n=this.cs.options.banner.applyStyles;return On(Fe(t.body,this.cs.options),n)}},{key:"getBanner",value:function(){return this.banner}},{key:"isBannerScrolledToBottom",value:function(){if(!this.banner)return!0;if(!this.bannerContent)return!0;var e=this.bannerContent.scrollHeight,t=this.bannerContent.scrollTop+this.bannerContent.clientHeight,n=Math.abs(e-t);return this.bannerContent&&n<=10}},{key:"isBannerScrollable",value:function(){return!!this.calculateSinglePageHeight()&&this.bannerContent.scrollHeight>this.singlePageHeight}},{key:"calculateSinglePageHeight",value:function(){if(!this.bannerContainer||!this.bannerContent)return 0;var e=parseInt(window.getComputedStyle(this.bannerContainer).paddingTop[0]),t=parseInt(window.getComputedStyle(this.bannerContainer).paddingBottom[0])+e,n=this.bannerContainer.scrollHeight;return n-=t,this.buttonsGroup&&(n-=this.buttonsGroup.scrollHeight),this.bannerTitle&&(n-=this.bannerTitle.scrollHeight),"none"!==this.pageCounter.style.display&&(n-=parseInt(window.getComputedStyle(this.pageCounter).marginTop[0]),n-=this.pageCounter.scrollHeight),this.singlePageHeight=n,n}},{key:"updateNumberOfPages",value:function(){var e=Math.ceil(this.bannerContent.scrollHeight/this.singlePageHeight),t=Math.ceil(this.bannerContent.scrollTop/this.singlePageHeight);this.numberOfPages=e,this.updateHasTheUserScrolledToBottom(),this.pageCounter.innerText=dn("banner.page_counter_caption")+" "+t+"/"+e}},{key:"updateHasTheUserScrolledToBottom",value:function(){this.isBannerScrolledToBottom()&&(this.hasTheUserScrolledToBottom=!0)}},{key:"removeBanner",value:function(){var e;this.banner&&(this.cs.debug("closing banner ..."),Dt&&(Dt=!1,st(document.body,"focusin",Rt),st(window,"keydown",Vt),st(document,"mousedown",jt),st(document,"mouseup",Mt)),Bt=null,Ge((e="iubenda-cs-banner",document.getElementById(e))),this.cs.ui.restorePageScrolling("banner"),this.cs.fireCallback("onBannerClosed"),"function"==typeof this.destroyBanner&&this.destroyBanner(),this.banner=null,this.cs.ui.previousTCFPreferences=null)}},{key:"isVisible",value:function(){return!!this.banner}},{key:"hidePageCounter",value:function(){this.pageCounter.style.display="none",this.calculateSinglePageHeight(),this.updateNumberOfPages()}},{key:"hasTheUserReadTheFullBanner",value:function(){return this.hasTheUserScrolledToBottom}}])}();function On(e,t){return e?e.split("\n").map((function(e){return t?'

'+e+"

":e})).join(t?"":"
"):""}function In(e,t){var n=Object.keys(t),i=Object.values(t),o=dn("banner.dynamic.and");return"es"===e&&(o=function(e){return"i"===dn("per_purpose.purposes."+e[e.length-1]+".bannerName")[0]?"e":"y"}(n)),Te(function(e){return e.map((function(e){return e?(t=e,n=dn("banner.dynamic.startQuote"),i=dn("banner.dynamic.endQuote"),o=dn(t),/.+\s.+/.test(o)?n+o+i:o):"";var t,n,i,o}))}(i).join("[or] "),o)}function Ln(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n="banner.close_button_label",i=dn(n),o=null===(e=t.banner)||void 0===e?void 0:e.continueWithoutAcceptingButtonCaption,a=o||"";return i===n||i===a?"":(a=a.replace(/(\s)+?(→|→)/,""),'aria-label="'.concat(a?a+" - ":"").concat(i,'"'))}function Bn(e){e.addEventListener("mouseenter",(function(){e.classList.add("hover")})),e.addEventListener("mouseleave",(function(){e.classList.remove("hover")}))}function Dn(e){e.addEventListener("focus",(function(){e.classList.add("focus")})),e.addEventListener("blur",(function(){e.classList.remove("focus")}))}var En=["top-left","top-right","bottom-left","bottom-right","center-left","center-right"],Tn=[].concat(En,["inline-center","inline-left","inline-right"]),Fn="bottom-right",Nn="inline-center",Rn=function(e){function i(e,o){var a,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return n(this,i),(a=t(this,i)).link=e,a.child=document.createElement("a"),r&&(a.child.href=a.link),a.child.className="iubenda-tp-alert-btn iubenda-tp-btn--warning",a.child.setAttribute("target","_blank"),a.child.setAttribute("data-tp-icon",r?"data-tp-icon":"generic"),a.child.setAttribute("data-tp-float",a.getPosition(o)),s&&a.child.addEventListener("click",s),a.content=document.createElement("div"),a.render(),a}return l(i,e),o(i,[{key:"render",value:function(){this.content.className="iubenda-tp-btn-container",this.content.style.position="relative",this.content.appendChild(this.child)}},{key:"getNode",value:function(){return this.content}},{key:"ensureVisibility",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:2e4,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=null,i=this,o=i.getNode();setTimeout((function(){null!==n&&(clearInterval(n),n=null)}),e),n=setInterval((function(){null!==o&&document.body.children[document.body.children.length-1]!==o&&o.parentElement&&(o.parentElement.removeChild(o),document.body.appendChild(i.getNode()))}),t)}}])}(function(){return o((function e(){n(this,e)}),[{key:"getPosition",value:function(e){return-1!==En.indexOf(e)?e:Fn}}])}()),Vn=function(e,t,n){var i="?",o=e;/\?.+/.test(e)?i="&":o=o.replace("?","");var a=o.split("#"),r="";return a[1]&&(r="#"+a[1]),o.split("#")[0]+i+t+"="+n+r},jn=function(e,t,n){return e+(-1!==e.indexOf("?")?"&":"?")+t+"="+n},Mn=function(e){return/\#[^\?]+/.test(e)};function Un(e,t,n,i){var o=i,a=n;"function"==typeof a&&(o=a,a={}),o=o||function(){};var r,s=((a=a||{}).method||"GET").toUpperCase(),c=!1!==a.async,l=a.xhr||new XMLHttpRequest,u=a.headers||{};"GET"!==s&&"form"!==a.type||(r=function(e){return Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&")}(t));var d,p=e;return"GET"===s&&(p+=r.length?"?"+r:""),l.open(s,p,c),l.onreadystatechange=function(){if(4===l.readyState)if(200===l.status||304===l.status){var e=(l.getResponseHeader("Content-Type")||"").match(/^application\/json\s*(;|$)/);o(null,e?JSON.parse(l.responseText||""):l.responseText)}else o(l)},"GET"!==s&&("json"===a.type?(l.setRequestHeader("Content-Type","application/json"),d=JSON.stringify(t)):"form"===a.type?(l.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),d=r):d=""+t),Object.keys(u).forEach((function(e){l.setRequestHeader(e,u[e])})),l.send(d),l}var zn=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;i>=t.length?n&&n():e(t[i],(function(){zn(e,t,n,i+1)}))},Wn=function(){function e(){n(this,e)}return o(e,null,[{key:"defaultSamesiteAttributes",get:function(){return"https:"===window.location.protocol?"samesite=none; secure":"samesite=lax"}},{key:"generateCookieExpression",value:function(e,t,n){var i=e+"="+t,o=n||{};return o.expireDate&&(i+="; expires="+o.expireDate),o.path&&(i+="; path="+o.path),o.domain&&(i+="; domain="+o.domain),o.samesite&&(i+=";"+o.samesite),i}},{key:"setItem",value:function(t,n,i){var o=e.generateCookieExpression(t,n,i),a=i||{};if(a.maxCookieSize&&o.length>a.maxCookieSize)throw new Error("Unable to save cookie ".concat(t,": maxCookieSize ").concat(a.maxCookieSize," exeeded"));document.cookie=o}},{key:"getItem",value:function(e,t){for(var n=[],i=document.cookie.split(/\s*;\s*/),o=0;o=0;a--){var r=o&1<0&&void 0!==arguments[0]?arguments[0]:{},a=o.label,r=void 0===a?"":a;n(this,i);var s="iubenda-floatable-default-btn";if(e=t(this,i,[p(p({},arguments[0]),{},{className:r?"".concat(s," iubenda-floatable-btn-with-label"):s})]),r){var c=document.createElement("span");c.innerText=r,e.el.appendChild(c)}return e}return l(i,e),o(i)}(function(e){function i(){var e,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=o.onClick,r=void 0===a?null:a,s=o.id,c=void 0===s?"":s,l=o.text,u=void 0===l?"":l,d=o.html,h=void 0===d?"":d,f=o.tabindex,b=void 0===f?0:f,g=o.useBaseClass,v=void 0===g||g,y=o.title,k=void 0===y?"":y,C=o.type,w=void 0===C?"button":C,P=o.href,S=void 0===P?"":P,x=o.screenReaderText,_=void 0===x?"":x,A=o.screenReaderElementTag,O=void 0===A?"":A;n(this,i),e=t(this,i,[p(p({},arguments[0]),{},{tag:w})]);var I={tabindex:b};return"a"!==w||S||(I.role="button"),m(i,"setAttributes",e,3)([I]),"button"===I.role&&Yn(e.el),r&&"function"==typeof r&&e.el.addEventListener("click",r),u&&(e.el.innerText=u),h&&(e.el.innerHTML=h+(_?e.createScreenReaderElement(_,O||"label",c).outerHTML:"")),k&&e.el.setAttribute("title",k),S&&e.el.setAttribute("href",S),v&&(e.el.className="iubenda-base-btn ".concat(e.el.className)),e}return l(i,e),o(i,[{key:"mount",value:function(e){"function"==typeof this.onClick&&this.el.addEventListener("click",this.onClick,!1),e.appendChild(this.el)}},{key:"unmount",value:function(){"function"==typeof this.onClick&&this.el.removeEventListener("click",this.onClick);try{this.el.parentElement.removeChild(this.el)}catch(e){he.error(e)}}},{key:"getRootNode",value:function(){return this.el}}])}(function(){return o((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.attributes,o=void 0===i?{}:i,a=t.tag,r=void 0===a?"div":a,s=t.className,c=void 0===s?"":s,l=t.id,u=void 0===l?"":l,d=t.screenReaderText,p=void 0===d?"":d,h=t.screenReaderElementTag,f=void 0===h?"span":h;n(this,e),this.el=document.createElement(null!=r?r:"div"),this.setAttributes(o),c&&(this.el.className=c),u&&(this.el.id=u),p&&this.createScreenReaderElement(p,null!=f?f:"span",u)}),[{key:"setAttributes",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};null!==t&&"object"===k(t)&&Object.entries(t).forEach((function(t){var n=b(t,2),i=n[0],o=n[1];o&&e.el.setAttribute("".concat(i),"".concat(o))}))}},{key:"createScreenReaderElement",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:this.el.id;return this.screenReaderElement=document.createElement(t),"label"===t&&n&&this.screenReaderElement.setAttribute("for",n),this.screenReaderElement.className="iub-sr-only",this.screenReaderElement.innerText=e,this.screenReaderElement=this.el.appendChild(this.screenReaderElement),this.screenReaderElement}},{key:"node",get:function(){return this.el}},{key:"mount",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};"before"===t.insertPoint?e.insertBefore(this.el,e.firstChild):e.appendChild(this.el)}},{key:"unmount",value:function(){try{this.el.parentElement.removeChild(this.el)}catch(e){he.error(e)}}}])}()))),Xn={ITEM_ADDED:"floatable.item_added",STYLE_ADDED:"floatable.style_added",ATTRIBUTE_ADDED:"floatable.attribute_added",OPERATION_ADDED:"floatable.operation_added"},$n="floatable-wrapper",Qn=0,ei=1,ti=2;function ni(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.filter((function(e){return"item"===e[Qn]}))}function ii(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.filter((function(e){var t,n;return void 0!==(null===(t=e[ti])||void 0===t?void 0:t.priority)&&null!==(null===(n=e[ti])||void 0===n?void 0:n.priority)}))}function oi(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.filter((function(e){var t,n;return void 0===(null===(t=e[ti])||void 0===t?void 0:t.priority)||null===(null===(n=e[ti])||void 0===n?void 0:n.priority)}))}function ai(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.sort((function(e,t){return e[ti].priority0&&void 0!==arguments[0]?arguments[0]:[];return e.sort((function(e,t){return e[ti].priority<=t[ti].priority?1:-1}))}function si(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[].concat(v(ai(ii(e))),v(oi(e)))}function ci(){var e=document.querySelector(".".concat($n));return e||((e=document.createElement("div")).className=$n),e}function li(e){if(e instanceof HTMLElement)return e;var t=document.createElement("div");return"string"==typeof e?(t.innerText=e,t):t}function ui(e,t){if(e)for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e.style[n]=t[n])}function di(e,t,n){e&&e.setAttribute(t,n)}function pi(e,t){e&&e.classList.add(t)}function hi(e){Object.defineProperty(e,"floatableWatcher",{configurable:!1,enumerable:!1,writable:!1,value:function(){return!0}})}function fi(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};document.dispatchEvent(new CustomEvent(e,{detail:t,bubbles:!1,cancelable:!1}))}var bi="0.0.3",gi=null;function mi(){if(window._iub=window._iub||[],window._iub.floatableLayer=window._iub.floatableLayer||[],null!==gi)return gi;try{e=window._iub.floatableLayer,(t={version:bi,FloatableEvent:Xn}).init=function(){document.addEventListener(Xn.OPERATION_ADDED,(function(e){vi(e.detail.ops)}),!1),t.ops=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];if(!Array.isArray(e))throw new TypeError("Expected array for operations");var t=e;hi(t);var n={add:function(e){fi(Xn.OPERATION_ADDED,{ops:t,added:e});var n=e[Qn],i={ops:t,added:e};switch(n){case"item":fi(Xn.ITEM_ADDED,i);break;case"style":fi(Xn.STYLE_ADDED,i);break;case"attribute":fi(Xn.ATTRIBUTE_ADDED,i)}}};function i(e){e.forEach((function(e){return n.add(e)}))}return t.hasOwnProperty("push")||Object.defineProperty(t,"push",{configurable:!0,enumerable:!1,writable:!0,value:function(){var e=Array.prototype.push.apply(this,[arguments[0]]);return i([arguments[0]]),e}}),t}(e),vi(t.ops)},(gi=t).init()}catch(e){console.error("Error initializing Floatable:",e)}var e,t;return gi}function vi(e){var t=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).filter((function(e){return"item"===e[Qn]})).map((function(e){return e[ei]}))}(si(ni(e))),n=si(ni(e)),i=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).filter((function(e){return"style"===e[Qn]})).map((function(e){return e[ei]}))}(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[].concat(v(oi(e)),v(ri(ii(e))))}(function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).filter((function(e){return"style"===e[Qn]}))}(e))),o=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).filter((function(e){return"attribute"===e[Qn]})).map((function(e){return e[ei]}))}(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return[].concat(v(ai(ii(e))),v(oi(e)))}(function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).filter((function(e){return"attribute"===e[Qn]}))}(e)));t.length>0&&(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=ci();t.innerHTML="",e.forEach((function(e){var n=e[ei],i=e[ti]||{},o=li(n);t.appendChild(o),"function"==typeof(null==i?void 0:i.onMount)&&i.onMount(o)})),document.querySelector(".".concat($n))||document.body.appendChild(t)}(n),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=document.querySelector(".".concat($n));t&&e.forEach((function(e){Object.entries(e).forEach((function(e){var n=b(e,2),i=n[0],o=n[1];"class"===e[Qn]?pi(t,o):di(t,i,o)}))}))}(o),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=document.querySelector(".".concat($n));t&&e.forEach((function(e){ui(t,e)}))}(i))}var yi=!1,ki=new be,Ci="rejectButtonClick",wi="bannerXClose";function Pi(){var e={};this.cs.options.ccpaApplies&&(e.ccpa=!0),this.cs.options.usprApplies&&(e.consent=!0,e.uspr={sd5:!0,sd8:!0,sd9:!0}),(this.cs.options.gdprApplies||this.cs.options.lgpdApplies)&&(e.consent=!0,e.purposes={all:!0},e.tcfv2={all:!0},e.gac={all:!0}),this.cs.preferences.store(e,wi),this.banner.removeBanner()}function Si(){this.cs.rejectAll(Ci),this.consentRejected=!0,this.banner.removeBanner()}var xi=function(){function e(t){n(this,e),Ot(this),this.cs=t,this.defaultBranding=ge.isDefault(this.cs.options),this.document=document,this.mainC=null,this.overlay=null,this.CPiFrame=null,this.isMobile=ki.isMobile(),this.consentRejected=!1,this.consentAccepted=!1,this.freezed=!1,this.showingCookiePolicy=!1,this.iFrameCloseBtnUrl="http://localhost.cs.origin:3010/cookie_solution/close.png",this.documentHead=this.document.head||this.document.getElementsByTagName("head")[0],this.pageCounter,this.buttonsGroup,this.bannerTitle,this.bannerContainer,this.acceptButton,this.bannerBtns,this.originalHtmlOverflow=[],this.WIDGET_PER_PURPOSE="per-purpose",this.WIDGET_TCF="tcf",this.WIDGET_POLICY="policy",this.popover=new Cn(this.cs);var i=this.getCookiePolicyHref();this.banner=new An(t,i)}return o(e,[{key:"start",value:function(e,t){this.cs.debug("starting UI (if needed) ..."),this.setCmpWidget(e,t),this.cs.shouldShowBanner()&&this.banner.showBanner(),this.bindButtons(),this.cs.debug("invoking callback.onReady (after starting UI) ..."),this.cs.csReady()}},{key:"setCmpWidget",value:function(e,t){this.cs.options.enableTcf?this.cmpWidget||this.createCmp(e,t):this.cmpWidget=null}},{key:"bindButtons",value:function(){this.cs.debug("binding button of cookie policy link and close banner ..."),this.bindOpenCPBtns(),this.bindCloseBannerBtns(),this.bindOpenCmpBtns(this.banner.getBanner()),this.bindCcpaBtns(),this.bindVendorListBtns()}},{key:"bindOpenCPBtns",value:function(){var e=this;je("iubenda-cs-cookie-policy-lnk").forEach((function(t){rt(t,"click",(function(t){e.bannerCookiePolicyClicked({event:t,isCookiePolicyLink:!0})}),!0)}))}},{key:"bindCloseBannerBtns",value:function(){var e=this,t=je("iubenda-cs-close-btn"),n=je("iubenda-cs-cwa-button");t.concat(n).forEach((function(t){rt(t,"click",(function(t){setTimeout((function(){e.bannerCloseBtnClicked(t)}),0)}),!0)}))}},{key:"bindOpenCmpBtns",value:function(e){for(var t=je("iubenda-advertising-preferences-link",e),n=0;n0?t:null}return e instanceof HTMLElement?[e]:null}},{key:"openPreferences",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.cs.options.perPurposeConsent&&(this.cs.options.gdprApplies||this.cs.options.lgpdApplies||this.cs.options.fadpApplies)||this.cs.options.usprApplies?this.mustShowPerPurposeView=!0:this.cs.options.enableTcf&&(this.mustShowTCFView=!0),this.bannerCookiePolicyClicked(e)}},{key:"checkCPAnotherWindow",value:function(e){return!!this.cs.options.cookiePolicyInOtherWindow&&(!!e||!this.cs.options.usprApplies&&!this.cs.options.perPurposeConsent)}},{key:"bannerCookiePolicyClicked",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.event,i=t.isCookiePolicyLink,o=t.acceptPurposes;if(this.cs.debug("banner's cookie policy link clicked"),!this.cs.isCpOpen()){this.cs.options.cookiePolicyInOtherWindow||(this.showingCookiePolicy=!0),n&&(n.preventDefault(),n.stopPropagation());var a=this.checkCPAnotherWindow(i);setTimeout((function(){e.showCP(a,!1,!1,!1,o)}),0)}}},{key:"getSavedPreferences",value:function(){var e=this.cs.getSavedPreferences();if(!e.cmpCookie){var t=this.cs.preferenceState.getProperty("tcfv2");"string"==typeof t&&(e.cmpCookie=t)}if(!e.customPreferences){var n=this.cs.preferenceState.getProperty("gac");"string"==typeof n&&(e.customPreferences={gac:n})}return e}},{key:"preSelectPurposes",value:function(e){var t,n=this;if(!this.cs.options.isRejectionRecoveryDisabled()){var i=null!==(t=null==e?void 0:e.reduce((function(e,t){var i=n.CPiFrame.mainC.querySelector("#purpose-"+t);if(5==t){var o=n.CPiFrame.mainC.querySelector("#iub-checkbox4");i=o.offsetParent?o:i}return!i||i.checked&&!i.classList.contains("half")||e.push({toggle:i,purpose:t}),e}),[]))&&void 0!==t?t:[];if(null!=i&&i.length){var o=i[0].purpose;this.scrollWidgetToPurpose(o,(function(){i.forEach((function(e){var t=e.toggle;t.classList.contains("half")&&t.click(),t.click()}))}))}}}},{key:"createFrameLoadingElements",value:function(){var e=this,t=document.querySelector("#iubenda-iframe");t||((t=document.createElement("div")).id="iubenda-iframe",t.className="iubenda-iframe-visible",t.setAttribute("role","dialog"),t.setAttribute("aria-modal","true"),this.cs.options.banner.logo&&t.classList.add("iubenda-iframe-branded"),t.onclick=function(t){t.stopPropagation(),e.popover.isOpen()&&e.popover.close()});var n=t.querySelector(".iubenda-iframe-spinner");return n||((n=document.createElement("div")).className="iubenda-iframe-spinner",t.appendChild(n)),{mainC:t,spinner:n}}},{key:"showFrameLoading",value:function(e){!function(){if(!$t){var e=document.getElementsByTagName("head")[0];ct('#iubenda-iframe{background-color:rgba(0,0,0,.8)!important;transition:opacity .4s ease,visibility .4s ease!important;font-size:16px!important;position:fixed!important;z-index:100000000!important;top:0!important;left:0!important;width:100%!important;height:100%!important;border:0!important;margin:0!important;padding:0!important;line-height:1.5!important;align-items:unset!important;flex-wrap:unset!important;align-items:center!important;justify-content:center!important;display:none!important}#iubenda-iframe.iubenda-iframe-visible{display:flex!important}@keyframes iubenda-iframe-spinner{from{transform:rotate(0)}to{transform:rotate(359deg)}}#iubenda-iframe .iubenda-iframe-spinner{position:absolute!important;top:50%!important;left:50%!important;transform:translate(-50%,-50%)!important}#iubenda-iframe .iubenda-iframe-spinner:after{content:""!important;border:solid 2px transparent!important;border-top-color:currentColor!important;border-left-color:currentColor!important;animation:iubenda-iframe-spinner .8s linear infinite!important;width:48px!important;height:48px!important;border-radius:48px!important;display:inline-block!important;vertical-align:middle!important;color:#fff!important}',e),$t=!0}}(),document.getElementsByTagName("body")[0].appendChild(e),this.disablePageScrolling("iframe",document),this.hideFloatingPreferencesButton()}},{key:"showCP",value:function(t,n,i,o,a){var r=this,s=this.getCookiePolicyHref();if(o&&(!0===o?s=this.cs.options.privacyPolicyUrl:"uspr"===o&&(s=this.cs.options.privacyPolicyNoticeAtCollectionUrl)),this.popover.close(),this.consentRejected=!1,this.consentAccepted=!1,t)window.open(s,"_blank");else{this.secondLayerScript||(e.prepare2ndLayerDeps(),this.secondLayerScript=We("https://cdn.iubenda.com/cookie_solution/iubenda_cs/1.81.0/second_layer-".concat(this.cs.options.lang,".js")),this.secondLayerScript.setAttribute("charset","UTF-8"),document.getElementsByTagName("head")[0].appendChild(this.secondLayerScript));var c=this.createFrameLoadingElements(),l=c.mainC,u=c.spinner;this.showFrameLoading(l),this.cs.setCpOpen(!0);var d=function(){r.secondLayerScriptLoaded=!0,r.showCPLayer2(window._iub.IubendaFrame,s,n,i,o,a,l,u)};this.secondLayerScriptLoaded?d():this.secondLayerScript.onload=d}}},{key:"applyAriaLabel",value:function(e){var t=this.CPiFrame.mainC;t.removeAttribute("aria-label");var n=null;switch(e){case"cookie-policy":n=dn("modal.cookie_policy");break;case"privacy-policy":n=dn("modal.privacy_policy");break;case"tcf":var i=document.querySelector("#iubenda-iframe .iub-cmp-header h2");n=null==i?void 0:i.innerText;break;case"per-purpose":default:var o=document.querySelector("#iubenda-iframe .purposes-header-title");n=null==o?void 0:o.innerText}t.setAttribute("aria-label",n)}},{key:"showCPLayer2",value:function(e,t,n,i,o,a,r,s){var c=this,l=null,u=dn("banner.cookie_policy_caption");o&&(u=dn("banner.privacy_policy_caption")),o||(l={message:"string"==typeof this.cs.options.footer.message?this.cs.options.footer.message:Jt[this.cs.options.lang].footer.message,btnCaption:"string"==typeof this.cs.options.footer.btnCaption?this.cs.options.footer.btnCaption:Jt[this.cs.options.lang].footer.btnCaption});var d,p=this.getSavedPreferences();switch(this.cs.options.enableTcf&&this.createCmp(p.cmpCookie,p.customPreferences),(this.cs.options.perPurposeConsent||this.cs.options.usprApplies)&&this.mustShowPerPurposeView?(this.mustShowPerPurposeView=!1,d=this.WIDGET_PER_PURPOSE):this.cs.options.enableTcf&&this.cs.options.gdprApplies&&(this.mustShowTCFView||n)?(this.mustShowTCFView=!1,d=this.WIDGET_TCF):d=this.WIDGET_POLICY,d===this.WIDGET_PER_PURPOSE&&(this.cs.preferenceState.saveState(),this.cs.preferenceState.usPurposes.isActive&&this.cs.preferenceState.usPurposes.savePreferenceState()),d!==this.WIDGET_POLICY&&this.cs.updateGppApi(!0,!1,"initial"),an(this.cs.options),this.CPiFrame=new e({cs:this.cs,iFrUrl:t,inParent:!1,straightShow:!0,closeBtnUrl:this.iFrameCloseBtnUrl,mainC:r,spinner:s,embedP:document.getElementsByTagName("body")[0],disableESC:!0,baseZIndex:this.cs.options.banner.zIndex+1,scrolling:null!=this.cs.options.cookiePolicyUrl,showCcpa:o,footer:l,widgetToShow:d,frameTitle:u,lang:this.cs.options.lang,onLoad:function(){var e;c.cs.preferenceState.saveState(),d===c.WIDGET_PER_PURPOSE&&c.preSelectPurposes(a),c.cookiePolicyLoaded(),null!==(e=c.CPiFrame)&&void 0!==e&&null!==(e=e.perPurposeWidget)&&void 0!==e&&e.adsSection&&c.CPiFrame.perPurposeWidget.adsSection.populateByState();var t=d;"policy"===d&&(t=o?"privacy-policy":"cookie-policy"),c.applyAriaLabel(t)},onClose:function(){c.cs.preferenceState.usPurposes.isActive&&c.cs.preferenceState.usPurposes.clearPreferenceState(),c.cs.preferenceState.clearState(),c.cookiePolicyClosed({eventName:"cookiePolicyClosed"})},onReject:function(){c.cookiePolicyClosed({eventName:Ci})},onBack:function(){c.cs.options.banner.showPurposesToggles||c.cs.preferenceState.recoveryState(),c.banner.isVisible()||c.cs.updateGppApi(!1,!1,"processed"),c.cookiePolicyClosed({eventName:"backButtonClick"})}},this.cmpWidget),d){case this.WIDGET_PER_PURPOSE:this.CPiFrame.showPerPurposeWidget();break;case this.WIDGET_TCF:this.CPiFrame.showTCFWidget(i);break;default:this.CPiFrame.showPolicy()}}},{key:"scrollWidgetToPurpose",value:function(e,t){var n,i,o,a=this.CPiFrame.mainC.querySelector(".purposes-content"),r=this.CPiFrame.mainC.querySelector(".iub-consent-buttons.purposes-buttons"),s=a.querySelector(".purposes-header"),c=this.CPiFrame.mainC.querySelector("*[class*='purpose-item-".concat(e,"'], *[class*='purposes-item-").concat(e,"']"));a&&c&&r&&s&&(n=a.scrollTop,i=c.offsetTop-r.clientHeight-s.offsetTop-n,o=Date.now(),0===i?t():requestAnimationFrame((function e(){var r=Math.min((Date.now()-o)/250,1);a.scrollTop=n+i*r,1===r?t():requestAnimationFrame(e)})))}},{key:"showCcpaOptOutConfirmBox",value:function(){var e=this;if(!this.cs.state.ccpaOptOutConfirmationOpen){this.cs.state.ccpaOptOutConfirmationOpen=!0;var t=document.createElement("div");t.className="iubenda-alert",t.id="iubenda-alert",t.setAttribute("role","dialog"),t.setAttribute("aria-labelledby","iubenda-alert-dialog-content"),t.setAttribute("aria-modal","true");var n=document.createElement("div");n.className="iubenda-alert-dialog";var i=document.createElement("div");i.className="iubenda-alert-dialog-content",i.id="iubenda-alert-dialog-content",i.innerText=dn("ccpa.opt_out_prompt");var o=document.createElement("div");o.className="iubenda-alert-dialog-buttons";var a=function(n){Ut(),"confirm"==n&&e.cs.preferences.storage.usPrivacy.optOutCcpa(),document.body.removeChild(t),e.cs.state.ccpaOptOutConfirmationOpen=!1},r=document.createElement("button");r.className="iubenda-button-cancel",r.innerText=dn("ccpa.opt_out_cancel"),r.addEventListener("click",(function(){return a("cancel")}));var s=document.createElement("button");s.className="iubenda-button-confirm",s.innerText=dn("ccpa.opt_out_confirm"),s.addEventListener("click",(function(){return a("confirm")})),t.appendChild(n),n.appendChild(i),n.appendChild(o),o.appendChild(r),o.appendChild(s),document.body.appendChild(t),Ut("#".concat(t.id))}}},{key:"checkUsprFloatingPreferences",value:function(){if(this.cs.options.usprApplies){var e=["#iubenda-cs-banner","#iubenda-iframe"],t=Re(".iubenda-cs-preferences-link",e),n=Re(".iubenda-cs-uspr-link",e);t.length&&n.length||(void 0===this.cs.options.userDefinedConfig.floatingPreferencesButtonDisplay&&(this.forcedFloatingPreferencesButtonDisplay=!0),this.cs.options.usprPreferenceWidget={preference:!t.length,uspr:!n.length})}}},{key:"createPreferencesWidgetsClassic",value:function(){var t;(this.checkUsprFloatingPreferences(),this.cs.options.enableTcf&&"string"!=typeof this.cs.options.floatingPreferencesButtonDisplay&&!this.cs.options.skipTcfValidation&&void 0===this.cs.options.userDefinedConfig.floatingPreferencesButtonDisplay)&&(0===document.querySelectorAll(".iubenda-advertising-preferences-link").length&&(this.forcedFloatingPreferencesButtonDisplay=!0));this.cs.options.fadpApplies&&"string"!=typeof this.cs.options.floatingPreferencesButtonDisplay&&void 0===this.cs.options.userDefinedConfig.floatingPreferencesButtonDisplay&&0===document.querySelectorAll(".iubenda-cs-preferences-link").length&&(this.forcedFloatingPreferencesButtonDisplay=!0);var n=[];if(!document.querySelector(".iubenda-uspr-btn,.iub__us-widget")&&this.shouldHaveUsprWidget()){var i=e.parseWidgetPosition({position:this.cs.options.usPreferencesWidgetDisplay,validPositions:Tn,defaultPosition:Nn}),o=i.position,a=i.isAnchored,r=this.createUsprPreferenceWidget(this.cs.options.usprPreferenceWidget,o),s=r.widget,c=r.container;n.push({widget:s,container:c,isAnchored:a})}var l=null!==(t=this.forcedFloatingPreferencesButtonDisplay)&&void 0!==t?t:this.cs.options.floatingPreferencesButtonDisplay;if(!document.querySelector(".iubenda-tp-btn.iubenda-cs-preferences-link")&&this.shouldHaveGdprWidget(l)){var u=e.parseWidgetPosition({position:l,validPositions:En,defaultPosition:Fn}),d=u.position,p=u.isAnchored,h=e.createGdprPreferenceWidget(this.cs.options,d);n.push({widget:h,container:h,isAnchored:p})}if(0===n.length)return n;!0===this.cs.options.banner.applyStyles&&on();for(var f=0,b=n;f').concat(dn("uspr.preference_widget.notice_caption"),"\n ")),e.preference&&(i+='\n '.concat(dn("uspr.preference_widget.preference_caption"),"\n ")),n.innerHTML='
'.concat(i,"
");var o=n.querySelector(".iubenda-cs-uspr-link");return o&&this.cs.handleUsprPPClick(o),{container:n,widget:n.querySelector(".iub__us-widget__wrapper")}}},{key:"createUsprFloatingPreferenceWidget",value:function(e,t){var n=document.querySelector(".iubenda-uspr-btn");n||(n=document.createElement("div")),n.className="iubenda-uspr-btn",n.setAttribute("data-tp-nostyle",!0);var i="";if(e.preference){i+='\n \n \n ').concat(dn("uspr.preference_widget.preference_caption"),"\n \n ")}e.uspr&&(i+='\n ').concat(dn("uspr.preference_widget.notice_caption"),"\n ")),n.innerHTML=i;var o=n.querySelector(".iubenda-cs-uspr-link");return o&&this.cs.handleUsprPPClick(o),n.style.setProperty("z-index",e.floatingPreferencesButtonZIndex,"important"),n.setAttribute("data-tp-float",t),{widget:n,container:n}}},{key:"hideFloatingPreferencesButton",value:function(){var e=document.querySelector(".iubenda-tp-btn.iubenda-cs-preferences-link");if(e)e.style.setProperty("display","none","important");else{var t=document.querySelector(".iubenda-uspr-btn");t&&t.style.setProperty("display","none","important")}}},{key:"showFloatingPreferencesButton",value:function(){var e=document.querySelector(".iubenda-tp-btn.iubenda-cs-preferences-link");if(e)return this.cs.options.floatingGroup&&e.style.setProperty("display","flex","important"),void e.style.setProperty("display","inline-block","important");var t=document.querySelector(".iubenda-uspr-btn");t&&t.style.setProperty("display","inline-flex","important")}},{key:"generateFloatingPreferencesButton",value:function(){var e=this;Xe((function(){var t,n=a(e.createPreferencesWidgets());try{for(n.s();!(t=n.n()).done;){var i=t.value;bn(i,e)}}catch(e){n.e(e)}finally{n.f()}}),!0)}},{key:"generateWarningButton",value:function(e,t){var n=this,i=new Rn(e,t,this.defaultBranding,(function(){return n.cs.fireCallback("onWarningButtonClick")}));document.body.appendChild(i.getNode()),i.ensureVisibility()}},{key:"getCookiePolicyHref",value:function(){return this.cs.options.cookiePolicyUrl||"https://www.iubenda.com/privacy-policy/"+this.cs.options.cookiePolicyId+"/cookie-policy?an=no&s_ck=false&newmarkup=yes"}},{key:"cookiePolicyLoaded",value:function(){this.cs.debug("cookie policy shown"),this.showingCookiePolicy=!0,this.cs.fireCallback("onCookiePolicyShown")}},{key:"registerEvent",value:function(e){switch(e){case"documentClicked":this.consentAccepted=!0;break;case Ci:this.consentRejected=!0;break;case"bannerAcceptClicked":case wi:this.consentAccepted=!0}}},{key:"getPreferenceObject",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n={};if(this.cmpWidget){var i=this.cmpWidget.getCustomPreferences();n.tcfv2=this.cmpWidget.getPreferenceString()||{},n.gac=i.gac}this.cs.preferenceState.processState(n);var o=this.cs.preferenceState.getState(),a=this.cs.checkConsentGiven(e),r=p(p({consent:a,ccpa:a},o),t);return this.cs.preferenceState.usPurposes.isActive&&(r.uspr=this.cs.preferenceState.usPurposes.getPreferences()),r}},{key:"cookiePolicyClosed",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.eventName||"cookiePolicyClosed";if(this.cs.debug("cookie policy closed"),this.showingCookiePolicy=!1,"backButtonClick"!==t&&this.CPiFrame.closureTriggeredByFooterButton){this.registerEvent(t);var n=this.getPreferenceObject(t);this.cs.preferences.store(n,t,!0),this.banner.removeBanner(),this.emit("try-consent-given")}this.cs.setCpOpen(!1)}},{key:"showPPCcpaSection",value:function(e){this.showCP(e,!1,!1,!0)}},{key:"showPPUsprSection",value:function(e){this.showCP(e,!1,!1,"uspr")}},{key:"bannerCloseBtnClicked",value:function(e){this.cs.debug("banner X clicked"),this.cs.options.banner.closeButtonRejects?this.onRejectButtonClick(e):this.banner.scrollBannerIfNeeded(Pi.bind(this),e)}},{key:"onRejectButtonClick",value:function(e){this.cs.debug("banner Reject clicked"),this.banner.scrollBannerIfNeeded(Si.bind(this),e)}},{key:"getViewportSize",value:function(e){var t=e||document;if(this.isMobile){var n=this.inParent?parent.window:window;return{width:n.innerWidth||t.clientWidth,height:n.innerHeight||t.clientHeight}}return{width:Math.max(t.clientWidth||0,window.innerWidth||0),height:Math.max(t.clientHeight||0,window.innerHeight||0)}}},{key:"disablePageScrolling",value:function(e,t){var n=(t||document).getElementsByTagName("html")[0].style,i=this.originalHtmlOverflow[this.originalHtmlOverflow.length-1];i&&i.callerName===e||(this.originalHtmlOverflow.push({callerName:e,general:n.overflow,x:n.overflowX,y:n.overflowY}),n.removeProperty("overflow"),n.overflowX=n.overflowY="hidden")}},{key:"restorePageScrolling",value:function(e,t){var n=this.originalHtmlOverflow[this.originalHtmlOverflow.length-1];if(n&&n.callerName===e){var i=(t||document).getElementsByTagName("html")[0].style;i.overflow=n.general,i.overflowX=n.x,i.overflowY=n.y,this.originalHtmlOverflow.pop()}}},{key:"isOnlyCcpaConsentGiven",value:function(){return!(!this.cs.options.ccpaApplies||this.cs.options.gdprApplies||this.cs.options.lgpdApplies||this.cs.options.showBannerForUS)&&""!==this.cs.usPrivacyCookie}},{key:"getDocHeight",value:function(){var e=window.document;return Math.max(Math.max(e.body.scrollHeight,e.documentElement.scrollHeight),Math.max(e.body.offsetHeight,e.documentElement.offsetHeight),Math.max(e.body.clientHeight,e.documentElement.clientHeight))}},{key:"closeCPiFrame",value:function(){this.CPiFrame&&this.CPiFrame.closeIFrame(!1)}},{key:"createFloatable",value:function(){this.cs.options.floatingGroup&&(window._iub.floatableLayer=window._iub.floatableLayer||[],mi(),function(){if(!yi){var e=document.getElementsByTagName("head")[0];ct(':root{--iub-floating-height:38px;--iub-floating-width:38px;--iub-floating-padding:0 0 0 38px;--iub-floating-background-color:#1CC691;--iub-floating-border:1.14px solid rgba(0, 0, 0, .24);--iub-floating-gap:0;--iub-default-unit:5px;--iub-floating-z-index-base:9995}.floatable-wrapper{position:fixed;bottom:16px;left:66px;z-index:2147483647}.floatable-wrapper.iub-floatable-wrapper-2025{display:flex!important;width:-moz-fit-content!important;width:fit-content!important;position:fixed!important;margin:16px!important;left:unset!important}.floatable-wrapper.iub-floatable-wrapper-2025 .iub-accessibility-btn{width:var(--iub-floating-width)!important;height:var(--iub-floating-height)!important}.floatable-wrapper.iub-floatable-wrapper-2025 .iub-accessibility-btn svg{display:none!important}.floatable-wrapper.iub-floatable-wrapper-2025 .iub-accessibility-btn{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2217%22%20height%3D%2217%22%20fill%3D%22none%22%3E%3Cpath%20fill%3D%22%23333%22%20stroke%3D%22%23333%22%20stroke-width%3D%22.211%22%20d%3D%22M2.534%205.195a1.006%201.006%200%200%201%201.18-.576l.634.163c1.46.364%202.81.613%204.51.613%201.937%200%203.42-.325%205.13-.773l.098-.02c.492-.08.979.214%201.129.7l.023.094c.09.44-.122.89-.524%201.092l-.09.04c-.75.288-1.51.556-2.278.816l-.771.257a.84.84%200%200%200-.566.948l1.297%207.09.014.1c.04.462-.236.898-.668%201.066l-.096.032a1.054%201.054%200%200%201-1.272-.639l-.032-.104-1.106-4.265a.299.299%200%200%200-.561-.048l-.017.048-1.105%204.265c-.139.534-.669.86-1.2.766l-.105-.023a1.053%201.053%200%200%201-.75-1.197L6.71%208.524l.013-.15a.827.827%200%200%200-.418-.72l-.137-.062c-.787-.27-1.564-.527-2.332-.806l-.766-.288a.978.978%200%200%201-.57-1.209l.034-.094Z%22%2F%3E%3Cpath%20fill%3D%22%23333%22%20stroke%3D%22%23333%22%20stroke-width%3D%22.211%22%20d%3D%22M8.63.908c.318-.039.64.005.937.128l.125.057a1.857%201.857%200%200%201%201.02%201.657l-.01.184a1.857%201.857%200%200%201-1.661%201.662l-.184.01c-.321%200-.636-.084-.914-.242l-.116-.071a1.858%201.858%200%200%201-.627-.708l-.057-.125a1.856%201.856%200%200%201-.105-1.072l.031-.133c.085-.308.25-.59.477-.817l.1-.093c.242-.209.534-.352.849-.414L8.63.908Z%22%2F%3E%3C%2Fsvg%3E")!important;background-repeat:no-repeat!important;background-position:center!important;box-shadow:0 0 0 1px rgba(0,0,0,.15)}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-float=bottom-left]{left:0!important;bottom:0!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-float=bottom-right]{flex-direction:row-reverse!important;right:0!important;bottom:0!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-float=center-left]{flex-direction:column!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-float=top-left]{flex-direction:column!important;left:0!important;top:0!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-float=top-right]{flex-direction:column!important;right:0!important;top:0!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-float=center-right]{flex-direction:column!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-float=center-left] .iub-accessibility-btn,.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-float=center-left] .iubenda-tp-btn{left:0!important;border-top-left-radius:0!important;border-bottom-left-radius:0!important;border-left:0!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-float=center-right] .iub-accessibility-btn,.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-float=center-right] .iubenda-tp-btn{right:0!important;border-top-right-radius:0!important;border-bottom-right-radius:0!important;border-right:0!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float=center-left]{display:flex!important;flex-direction:row!important;left:0!important;transform-origin:left bottom!important;transform:translateY(-15vh) rotate(90deg)!important;top:25%!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float=center-right]{display:flex!important;flex-direction:row!important;right:0!important;transform:translateY(-100%) rotate(90deg)!important;transform-origin:right bottom!important;transform:translateY(-55vh) translateX(0) rotate(-90deg)!important;bottom:25%!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float^=top-]{margin-top:0!important;border-top-left-radius:0!important;border-top-right-radius:0!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float^=top-]::after{border-top-left-radius:0!important;border-top-right-radius:0!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float^=top-] a,.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float^=top-] button,.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float^=top-] div{border-top-left-radius:0!important;border-top-right-radius:0!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float^=bottom-]{margin-bottom:0!important;border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float^=bottom-]::after{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float^=bottom-] a,.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float^=bottom-] button,.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float^=bottom-] div{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;border-top-left-radius:var(--iub-default-unit)!important;border-top-right-radius:var(--iub-default-unit)!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float=center-left]{margin-left:0!important;border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float=center-left]::after{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float=center-left] a,.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float=center-left] button,.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float=center-left] div{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float=center-right]{margin-right:0!important;border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float=center-right]::after{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float=center-right] a,.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float=center-right] button,.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float=center-right] div{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;border-top-right-radius:var(--iub-default-unit)!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored] .iubenda-tp-btn,.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float=top-left] .iub-accessibility-btn{left:0!important;border-top-left-radius:0!important;border-top-right-radius:0!important;border-top:0!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float=top-right] .iub-accessibility-btn,.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float=top-right] .iubenda-tp-btn{border-top-left-radius:0!important;border-top-right-radius:0!important;border-top:0!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float=bottom-left] .iub-accessibility-btn,.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float=bottom-left] .iubenda-tp-btn{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;border-bottom:0!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float=bottom-right] .iub-accessibility-btn,.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-anchored][data-tp-float=bottom-right] .iubenda-tp-btn{border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;border-bottom:0!important}.floatable-wrapper.iub-floatable-wrapper-2025:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;border:var(--iub-floating-border)!important;border-radius:var(--iub-default-unit)!important;box-sizing:border-box!important;z-index:2147483647!important;background-color:transparent!important;pointer-events:none!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-float=top-right]{flex-direction:row!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-float=bottom-right]{flex-direction:row!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-float=top-left]{flex-direction:row!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-float=bottom-left]{flex-direction:row!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-float]{padding:var(--iub-floating-padding);height:var(--iub-floating-height);background-color:var(--iub-floating-background-color);gap:var(--iub-floating-gap)!important;border-radius:var(--iub-default-unit)!important;z-index:1000000!important;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2210%22%20height%3D%2222%22%20fill%3D%22none%22%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M4.783.714c2.486%200%204.5%202.034%204.5%204.544%200%201.118-.4%202.142-1.064%202.934l.956%2013.094H.63L1.556%208.42A4.54%204.54%200%200%201%20.283%205.258c0-2.51%202.014-4.544%204.5-4.544Zm-.626%2011.06v5.908h1.481v-7.435l-1.481%201.527Zm.626-7.69c-.597%200-1.082.495-1.082%201.105s.485%201.103%201.082%201.103c.598%200%201.083-.493%201.083-1.103s-.485-1.105-1.083-1.105Z%22%2F%3E%3C%2Fsvg%3E")!important;background-repeat:no-repeat!important;background-position:14px!important}.floatable-wrapper.iub-floatable-wrapper-2025.floatable-wrapper-unbranded[data-tp-float]{background-image:none!important;padding:0!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-float*=-right]:has(> :last-child:nth-child(2))>:first-child{border-top-right-radius:0!important;border-bottom-right-radius:0!important;border-right:1px solid rgba(0,0,0,.1)!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-float*=-right]:has(> :last-child:nth-child(2))>:first-child button{border-top-right-radius:0!important;border-bottom-right-radius:0!important;border-right:1px solid rgba(0,0,0,.1)!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-float*=-right]:has(> :last-child:nth-child(2))>:last-child{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-float*=-right]:has(> :last-child:nth-child(2))>:last-child button{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-float*=-left]:has(> :last-child:nth-child(2))>:last-child{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-float*=-left]:has(> :last-child:nth-child(2))>:last-child button{border-top-left-radius:0!important;border-bottom-left-radius:0!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-float*=-left]:has(> :last-child:nth-child(2))>:first-child{border-top-right-radius:0!important;border-bottom-right-radius:0!important;border-right:1px solid rgba(0,0,0,.1)!important}.floatable-wrapper.iub-floatable-wrapper-2025[data-tp-float*=-left]:has(> :last-child:nth-child(2))>:first-child button{border-top-right-radius:0!important;border-bottom-right-radius:0!important;border-right:1px solid rgba(0,0,0,.1)!important}.floatable-wrapper .iubenda-floatable-default-btn{width:var(--iub-floating-width)!important;height:var(--iub-floating-height)!important;box-sizing:border-box!important;border:none!important;background-color:#fff!important;border-radius:var(--iub-default-unit)!important;text-align:center!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;z-index:calc(var(--iub-floating-z-index-base) + 1)!important;background-repeat:no-repeat!important;background-size:20px 20px!important}.floatable-wrapper .iubenda-floatable-tb-btn{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2220%22%20height%3D%2220%22%20fill%3D%22none%22%3E%3Cg%20fill%3D%22%23333%22%20clip-path%3D%22url(%23a)%22%3E%3Cpath%20d%3D%22M9.857.605A4.697%204.697%200%200%200%205.16%205.303v.782h1.566v-.782a3.132%203.132%200%200%201%206.263%200v.782h1.566v-.782A4.698%204.698%200%200%200%209.857.605ZM14.555%207.651H5.16A2.349%202.349%200%200%200%202.811%2010v6.263a2.349%202.349%200%200%200%202.349%202.349h9.395a2.349%202.349%200%200%200%202.349-2.349V10a2.349%202.349%200%200%200-2.35-2.349Zm-3.915%206.052v1.777a.783.783%200%201%201-1.566%200v-1.777a1.565%201.565%200%201%201%201.566%200Z%22%2F%3E%3C%2Fg%3E%3Cdefs%3E%3CclipPath%20id%3D%22a%22%3E%3Cpath%20fill%3D%22%23fff%22%20d%3D%22M.462.605h18.79v18.79H.462z%22%2F%3E%3C%2FclipPath%3E%3C%2Fdefs%3E%3C%2Fsvg%3E")!important;background-position:center!important}.floatable-wrapper .iubenda-floatable-aw-btn{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2217%22%20height%3D%2217%22%20fill%3D%22none%22%3E%3Cpath%20fill%3D%22%23333%22%20stroke%3D%22%23333%22%20stroke-width%3D%22.211%22%20d%3D%22M2.534%205.195a1.006%201.006%200%200%201%201.18-.576l.634.163c1.46.364%202.81.613%204.51.613%201.937%200%203.42-.325%205.13-.773l.098-.02c.492-.08.979.214%201.129.7l.023.094c.09.44-.122.89-.524%201.092l-.09.04c-.75.288-1.51.556-2.278.816l-.771.257a.84.84%200%200%200-.566.948l1.297%207.09.014.1c.04.462-.236.898-.668%201.066l-.096.032a1.054%201.054%200%200%201-1.272-.639l-.032-.104-1.106-4.265a.299.299%200%200%200-.561-.048l-.017.048-1.105%204.265c-.139.534-.669.86-1.2.766l-.105-.023a1.053%201.053%200%200%201-.75-1.197L6.71%208.524l.013-.15a.827.827%200%200%200-.418-.72l-.137-.062c-.787-.27-1.564-.527-2.332-.806l-.766-.288a.978.978%200%200%201-.57-1.209l.034-.094Z%22%2F%3E%3Cpath%20fill%3D%22%23333%22%20stroke%3D%22%23333%22%20stroke-width%3D%22.211%22%20d%3D%22M8.63.908c.318-.039.64.005.937.128l.125.057a1.857%201.857%200%200%201%201.02%201.657l-.01.184a1.857%201.857%200%200%201-1.661%201.662l-.184.01c-.321%200-.636-.084-.914-.242l-.116-.071a1.858%201.858%200%200%201-.627-.708l-.057-.125a1.856%201.856%200%200%201-.105-1.072l.031-.133c.085-.308.25-.59.477-.817l.1-.093c.242-.209.534-.352.849-.414L8.63.908Z%22%2F%3E%3C%2Fsvg%3E")!important;background-position:center!important;box-shadow:0 0 2px rgba(0,0,0,.2)}.floatable-wrapper .iubenda-floatable-btn-with-label{width:auto!important;height:auto!important;font-size:12px!important;padding:0 var(--iub-default-unit)!important;padding-left:14px!important;background-position:7px!important}.floatable-wrapper .iubenda-floatable-btn-with-label span{padding:0 var(--iub-default-unit)!important;padding-left:calc(10px + var(--iub-default-unit))!important;color:#000!important;font-size:12px!important;font-weight:400!important;cursor:pointer!important}.iub-brand-container{position:absolute;left:var(--iub-default-unit);top:var(--iub-default-unit);z-index:-1}',e),yi=!0}}())}},{key:"floatable",value:function(){this.cs.options.floatingGroup&&window._iub.floatableLayer.push(arguments)}}],[{key:"prepare2ndLayerDeps",value:function(){_iub._2ndLayerDeps={dom:{domAddEventListener:rt,domRemoveClass:et,domHasClass:tt,domGetElementsByClassName:je,domAddClass:Qe,domCreateEvent:nt,domRemove:Ge,setStyle:ut,domText:at,domCreate:ze},i18n:{i18nForBanner:Jt,updateI18nForBanner:Yt,setSecondLayerI18n:Zt},brand_badge:{BrandBadge:wn},browser_detect:{BrowserDetect:be},focus:{setFocusTrapActive:Ut},uri:{uriAddParamToUri:Vn,uriHasHash:Mn},ui_i18n:{csTranslate:dn,iubendaFrameLink:hn},logger:{logger:vt}}}},{key:"parseWidgetPosition",value:function(e){var t=e.position,n=e.validPositions,i=e.defaultPosition,o=!1;return"string"==typeof t&&/^anchored\-/.test(t)&&(t=t.replace(/^anchored\-/,""),o=!0),-1===n.indexOf(t)&&(t=i,o=!1),{position:t,isAnchored:o}}},{key:"createGdprPreferenceWidget",value:function(e,t){var n=document.createElement("label");n.className="iub-sr-only",n.innerText=dn("per_purpose.widget_title");var i=document.createElement("button");if(e.floatingGroup){var o={title:dn("per_purpose.widget_title"),attributes:{}};"string"==typeof e.floatingPreferencesButtonCaption?o.label=e.floatingPreferencesButtonCaption:!0===e.floatingPreferencesButtonCaption&&(o.label=dn("floating_preferences_button.caption")),(i=new Zn(o).node).style.setProperty("z-index",e.floatingPreferencesButtonZIndex,"important"),e.floatingPreferencesButtonHover&&i.setAttribute("data-tp-hover","data-tp-hover")}else{i.className="iubenda-tp-btn iubenda-cs-preferences-link",i.setAttribute("title",dn("per_purpose.widget_title"));var a,r=ge.isDefault(e);(e.floatingPreferencesButtonIcon||!e.floatingPreferencesButtonCaption||e.floatingPreferencesButtonHover)&&i.setAttribute("data-tp-icon",r?"data-tp-icon":"generic"),e.floatingPreferencesButtonHover&&i.setAttribute("data-tp-hover","data-tp-hover"),"string"==typeof e.floatingPreferencesButtonCaption?a=e.floatingPreferencesButtonCaption:!0===e.floatingPreferencesButtonCaption&&(a=dn("floating_preferences_button.caption")),a&&i.setAttribute("data-tp-label",a),i.style.setProperty("z-index",e.floatingPreferencesButtonZIndex,"important"),i.setAttribute("data-tp-float",t),i.appendChild(n)}return i}}])}();window._iub.setStyle=ut,window._iub.onLoadCall=function(e,t){e.onload=t};var _i,Ai,Oi,Ii,Li=["all"],Bi={s:!0,sh:!0,adv:!0,sd5:!1,sd8:!1,sd9:!1},Di=["s","sh","adv"],Ei=function(e){return e?e.filter((function(e){return void 0!==Bi[e.toString().trim()]})):[]},Ti=function(){return o((function e(t){n(this,e),this.purposes={},this.preferenceState={},this.GPCSignalPurposes=null,this.userConsentGiven=!1,this.hasSensitiveData=!1,this.isActive=t.options.usprApplies,this.setInitialActivePurposes(t)}),[{key:"setInitialActivePurposes",value:function(e){var t,n=e.options.usprPurposes;this.setActivePurposes(n)||this.setActivePurposes(null===(t=e.remoteConfig)||void 0===t?void 0:t.csPurposes)||(this.setActivePurposes(Di),!this.hasSensitiveData&&this.isActive&&(this.userConsentGiven=!0))}},{key:"getGPCSignalPurposes",value:function(){if(null!==this.GPCSignalPurposes)return this.GPCSignalPurposes;var e=navigator.globalPrivacyControl;return this.GPCSignalPurposes=e?["s","sh"]:[],this.GPCSignalPurposes}},{key:"validatePurposes",value:function(e){if(!e)return[];var t=e;"string"==typeof e&&(t=e.split(",").map((function(e){return e.trim()})));var n=Object.keys(Bi);return t&&(n=n.filter((function(e){return t.indexOf(e)>=0}))),n}},{key:"setAllPurposesValue",value:function(e){var t=this;vt.debug("expressing all uspr options ".concat(e));var n=Object.keys(this.purposes),i=this.getGPCSignalPurposes();n.forEach((function(n){i.indexOf(n)<0&&(t.purposes[n]=e)}))}},{key:"setPurposesValue",value:function(e,t){var n={};e.forEach((function(e){n[e]=t})),this.purposes=n}},{key:"setPurposesDefaultValue",value:function(e){var t={},n=this.getGPCSignalPurposes();e.forEach((function(e){var i=Bi[e];n.indexOf(e)>=0&&(i=!navigator.globalPrivacyControl);t[e]=i})),this.purposes=t}},{key:"setActivePurposes",value:function(e){var t=this.validatePurposes(e);return!!t.length&&(this.setPurposesDefaultValue(t),this.setHasSensitiveData(),!0)}},{key:"setHasSensitiveData",value:function(){var e=Object.keys(this.purposes);this.hasSensitiveData=this.itHasSensitiveData(e)}},{key:"itHasSensitiveData",value:function(e){return e.some((function(e){return/^sd\d+/.test(e)}))}},{key:"setPreferences",value:function(e){var t=this,n=e.all,i=h(e,Li),o=Object.keys(i);this.userConsentGiven=!0,"boolean"==typeof n&&this.setPurposesValue(Object.keys(this.purposes),n),o.forEach((function(n){"boolean"==typeof e[n]&&void 0!==t.purposes[n]&&(t.purposes[n]=e[n])}))}},{key:"checkPurposes",value:function(e){var t=this,n=this.validatePurposes(e);if(!n.length)return null;if(!this.userConsentGiven&&this.hasSensitiveData)return!1;var i=n.filter((function(e){return!!t.purposes[e]}));return P(i,n)}},{key:"savePreferenceState",value:function(){this.preferenceState=p({},this.purposes)}},{key:"clearPreferenceState",value:function(){this.preferenceState={}}},{key:"recoveryPreferenceState",value:function(){Object.keys(this.preferenceState).length&&(this.purposes=p({},this.preferenceState),this.clearPreferenceState())}},{key:"getPreferences",value:function(){return this.purposes}},{key:"filterUsprPurpose",value:function(e){return Ei(e)}}])}(),Fi=null!==(_i=null===(Ai=_iub.csConfiguration)||void 0===Ai?void 0:Ai.rebuildIframe)&&void 0!==_i?_i:mt.rebuildIframe,Ni=null!==(Oi=null===(Ii=_iub.csConfiguration)||void 0===Ii?void 0:Ii.inlineDelay)&&void 0!==Oi?Oi:mt.inlineDelay,Ri=["_iub_cs_activate-inline","_iub_cs_activate","_iub_cs_activate_iframe","_iub_cs_activate_notused","_iub_cs_prompt"],Vi="_iub_cs_activate-activated",ji="_iub_cs_activate-overlay",Mi="_iub_cs_prompt",Ui="data-iub-purposes",zi=document.write,Wi=document.writeln;function Gi(e,t){var n=t.addRef,i=t.removeRef,o=e.parentNode,a=e.nextSibling,r="",s=o,c=null,l=function(){var e=document.implementation.createHTMLDocument("");return e.open(),e.write(""),e}(),u=Ke(l.body);u.reiterate(),u.next();var d=l.body;function p(e){var t=/(\<[\n\s]*\/[\n\s]*script[\n\s]*>)/gi,p=r+e,h=[];t.lastIndex=r.length;for(var f=t.lastIndex;t.exec(p);){var g=t.lastIndex;h.push({chunk:p.substring(f,g),lastNodeIsScript:!0}),f=g}var m=p.substring(f);m&&h.push({chunk:m,lastNodeIsScript:!1}),h.forEach((function(e){var t=e.chunk,p=e.lastNodeIsScript;r+=t,function(e,t){l.write(e),u.reiterate();var r,p=function(e){for(var t=e;t.childNodes.length;)t=t.childNodes[t.childNodes.length-1];return t}(l.body);if(c&&(c.nodeValue=d.nodeValue),p!==d||t)for(d=p;;){var h=b(u.next().value,2),f=h[0],g=h[1];if(g)if("enter"===f){var m=g.cloneNode(!1);m.nodeType===Node.ELEMENT_NODE&&Je(m)&&((r=m).hasAttribute("type")&&r.setAttribute("data-iub-type",r.getAttribute("type")),r.setAttribute("type","text/plain"),r.setAttribute("data-iub-script","true"));var v=s===o?a:null;if(s.insertBefore(m,v),m.nodeType===Node.ELEMENT_NODE&&(s=m),c=m.nodeType===Node.TEXT_NODE?m:null,!t&&g===p)break}else if(c=null,g.nodeType===Node.ELEMENT_NODE){if(Je(s)){var y=s,k=document.createElement("script");Ze(k,Ze(y)),Ye(k),k.appendChild(document.createTextNode(y.innerHTML)),k.hasAttribute("src")&&(k.async=!1,k.addEventListener("load",(function(){return i()})),k.addEventListener("error",(function(){return i()})),n()),s=y.parentNode,y.parentNode.replaceChild(k,y);break}s=s.parentNode}}}(t,p)}))}document.write=p,document.writeln=function(e){return p(e+"\n")}}function Hi(e){return e.getAttribute("data-suppressedsrc")||e.getAttribute("suppressedsrc")||e.getAttribute("src")}function qi(e,t){return e.getAttribute("data-suppressed"+t)||e.getAttribute("suppressed"+t)||e.getAttribute(t)}function Ki(e,t){if(!e.src)return t(null,e);var n="onreadystatechange",i=e.onload,o=e.onerror,a=e.onreadystatechange;function r(n,r){if(e.onload=i,e.onerror=o,e.onreadystatechange=a,e[n])try{e[n].apply(e,r)}catch(e){console.error(e)}!e.readyState||/^c|loade/.test(e.readyState)?t(null,e):s()}function s(){e.onload=function(){for(var e=arguments.length,t=new Array(e),n=0;n\s*$/g,Yi=function(e){return new Error("Error on loading tag "+e.nodeName+" with id "+e.id+" and class "+e.className)},Zi=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];n&&e.removeEventListener("load",Zi),Qi(t,null,e)},Xi=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];n&&e.removeEventListener("error",Zi);var i=Yi(e);"function"==typeof t&&t(i,e)},$i=function(e,t){e.removeAttribute("data-suppressed"+t),e.removeAttribute("suppressed"+t)},Qi=function(e,t,n){"function"==typeof e&&e(t,n)},eo=function(e,t){e.addEventListener("load",Zi.bind(null,e,t)),e.addEventListener("error",Xi.bind(null,e,t)),e.setAttribute("href",qi(e,"href")),$i(e,"href"),Qe(e,Vi)},to=function(e,t){var n=Hi(e),i=qi(e,"poster");i&&(e.setAttribute("poster",i),$i(e,"poster"));var o=function(){Qi(t,null,e),e.removeEventListener("loadedmetadata",o)},a=function(){Qi(t,Yi(e),e),e.removeEventListener("error",a)};n&&so(e,t),e.querySelectorAll("source").forEach((function(e){so(e)})),e.querySelectorAll("track").forEach((function(e){so(e)})),e.addEventListener("loadedmetadata",o),e.addEventListener("error",a),e.load(),Qe(e,Vi)},no=to;function io(e,t){var n=Hi(e),i=e.text||e.textContent||e.innerHTML||"";i=i.replace(Ji,"");var o=Ze(e);delete o["data-suppressedsrc"],delete o.suppressedsrc,delete o.type,delete o.src,o.async=!1;var a=ze("div");qe(e,a),Ge(e);var r=function(e,t){var n=document.createElement("iframe");return e&&n.setAttribute("src",e),"string"==typeof t&&(n.text=t),n}(n,i);Ze(r,o),Ki(r,t),Qe(r,Vi),He(a,r)}var oo=function(e,t,n){var i,o,a=function(){s+=1},r=function(){(s-=1)<=0&&(document.write=zi,document.writeln=Wi,o&&vt.error("Snippet activation failed",o,i||e),t&&t(!o&&i),t=c=e=null)},s=0;a(),Gi(e,{addRef:a,removeRef:r});var c=function(e){return!!e.className.match(/\b_iub_cs_activate-inline\b/)}(e)?Ni:0;n((function(e,t){setTimeout((function(){o=e,i=t,r()}),c)}))},ao=function(e,t){var n=e.getAttribute("data-iub-cs-wait-for");if(n)var i=setInterval((function(){(function(e){try{return eval.call(window,e)}catch(e){return!1}})(n)&&(clearInterval(i),t())}),100);else t()},ro=function(e,t){e[t]=qi(e,t),e.removeAttribute("suppressed"+t),e.removeAttribute("data-suppressed"+t)},so=function(e,t){ro(e,"src"),e.removeAttribute("type"),Qi(t,null,e)},co=function(e,t){ro(e,"srcset"),Qi(t,null,e)},lo=function(e,t){try{Ve(e,"script")?function(e,t){var n=Hi(e),i=e.text||e.textContent||e.innerHTML||"";i=i.replace(Ji,"");var o=Ze(e),a=o.suppressedtype||o["data-iub-type"]||"text/javascript";delete o["data-suppressedsrc"],delete o.suppressedsrc,delete o.type,delete o.src,delete o.suppressedtype,delete o["data-iub-type"];var r=We(n,i);if(r.setAttribute("type",a),e.async&&(r.async=e.async),e.defer&&(r.defer=e.defer),e.nonce&&(r.nonce=e.nonce),Ze(r,o),Qe(r,Vi),Ki(r,t),Ue(document,e)){var s=ze("div");qe(e,s),Ge(e),He(s,r)}else document.body.appendChild(r)}(e,t):Ve(e,"iframe")&&Fi?io(e,t):Ve(e,"link")?eo(e,t):Ve(e,"video")?to(e,t):Ve(e,"audio")?no(e,t):Ve(e,"object")?function(e,t){var n=qi(e,"data");n?(e.setAttribute("data",n),$i(e,"data"),Qi(t,null,e)):Qi(t,Yi(e),e),Qe(e,Vi)}(e,t):Ve(e,"picture")?function(e,t){var n=e.querySelector("img");if(n){var i=Hi(n);n.setAttribute("src",i),$i(n,"src")}e.querySelectorAll("source").forEach((function(e){co(e)})),Qi(t,null,e),Qe(e,Vi)}(e,t):e.getAttribute("suppressedcontent")?function(e,t){var n=Ze(e).suppressedcontent;e.innerHTML=n,Qi(t,null,e),Qe(e,Vi)}(e,t):(so(e,t),Qe(e,Vi))}catch(e){t(e)}},uo=0,po=1,ho=2,fo=function(){return o((function e(t){n(this,e),this.cs=t,this.lastActivationParams={},Ot(this)}),[{key:"purposeIdsForElement",value:function(e,t){var n,i,o=e.getAttribute(Ui);return null!==o?(null==t||null===(i=t.purposes)||void 0===i?void 0:i.processPurposesString(o))||[]:this.cs&&null!==(n=this.cs.preferenceState)&&void 0!==n&&n.purposes?this.cs.preferenceState.purposes.activeIds:null!=t&&t.purposes?t.purposes.activeIds:[]}},{key:"hasAllPurposesApproved",value:function(e,t){var n,i=this.purposeIdsForElement(e,t);return!i.length||(null==t||null===(n=t.purposes)||void 0===n?void 0:n.hasApproved(i))}},{key:"activateSnippet",value:function(e,t){var n=this;oo(e,t,(function(t){ao(e,(function(){lo(e,(function(e,i){!n.activateSuppressedContent?(n.emit("snippet-activated",i),t(e,i)):n.activateSuppressedContent(e,i,(function(e,i){n.emit("snippet-activated",i),t(e,i)}))}))}))}))}},{key:"activateSuppressedContent",value:function(e,t,n){var i=this;t?!t.getAttribute("suppressedcontent")||e?n(e,t):Ne("._iub_cs_activate-inline,._iub_cs_activate").forEach((function(e){i.getElementActivationStatus(e,i.lastActivationParams.options,i.lastActivationParams.preference,i.lastActivationParams.isCcpaOptedOut)===po&&lo(e,n)})):n(e,t)}},{key:"insertOverlay",value:function(e,t,n,i){var o=this,a=function(e,t){if(null==t||!t.isActive)return[];var n=e.getAttribute(Ui);return t.validatePurposes(n)}(n,t.usPurposesPreference),r=this.purposeIdsForElement(n,t.state),s=[].concat(v(a),v(r));if("IFRAME"!==n.nodeName)return n.classList.add(ji),n.setAttribute("suppressedcontent",n.innerHTML),n.innerHTML=e(this.cs.options.lang,s,!0),n.querySelector(".iubenda-cs__preferences-link").addEventListener("click",(function(e){e.preventDefault(),o.cs.api.openPreferences({acceptPurposes:s})})),void i();var c=function(){"about:blank"===n.src&&(n.removeEventListener("load",c),n.contentDocument.open(),n.contentDocument.write(e(o.cs.options.lang,s)),n.contentDocument.close(),n.contentDocument.querySelector(".iubenda-cs__preferences-link").addEventListener("click",(function(e){e.preventDefault(),o.cs.api.openPreferences({acceptPurposes:s})})),o.emit("overlay-inserted",n),i())};if("about:blank"!==n.src){if(Fi){var l=document.createElement("iframe");Ze(l,Ze(n)),n.parentNode.replaceChild(l,n),n=l}return n.classList.add(ji),n.addEventListener("load",c),void(n.src="about:blank")}c()}},{key:"activateSnippets",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){};this.emit("before-activate-snippets",e),vt.debug("Running activateSnippets on",e.length,"elems"),zn(this.activateSnippet.bind(this),e,t)}},{key:"insertOverlays",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(){};e?(vt.debug("Running insertOverlays on",n.length,"elems"),zn(this.insertOverlay.bind(this,e,t),n,i)):i()}},{key:"activateAllSnippets",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0;this.lastActivationParams={options:n,preference:i,isCcpaOptedOut:o},vt.debug("Running activateAllSnippets");var a=Me(Ri),r=[],s=[],c=[],l=n.promptToAcceptOnBlockedElements&&(n.perPurposeConsent||n.usprApplies);a.forEach((function(e){var a=t.getElementActivationStatus(e,n,i,o);a!==po?a===ho&&!e.classList.contains(ji)&&l&&("IFRAME"===e.nodeName?s.push(e):e.classList.contains(Mi)&&c.push(e)):r.push(e)}));var u=function(e,t,i){return i&&rn(),n.renderOverlay(e,t,{styleOptions:n.banner},i)},d=n.renderOverlay?u:null;this.activateSnippets(r,(function(){var n=[].concat(s,c);t.insertOverlays(d,i,n,(function(){vt.debug("activateAllSnippets done, calling done callback..."),t.emit("all-snippets-activated"),e&&e()}))}))}},{key:"activateOnDomReady",value:function(e,t,n,i){var o=this;Xe((function(){o.activateAllSnippets(e,t,n,i)}),!0)}},{key:"hasAllUSPurposeApproved",value:function(e,t){var n=e.getAttribute(Ui);return null!=t&&t.isActive&&n?t.checkPurposes(n):null}},{key:"hasOnlyUSPurposes",value:function(e){var t=e.getAttribute(Ui);if(!t)return null;var n=t.split(",").map((function(e){return e.trim()}));return P(n,Ei(n))}},{key:"getElementActivationStatus",value:function(e,t,n,i){if(tt(e,Vi))return uo;if(this.isNecessaryPurpose(e))return po;if(i&&this.shouldElementBeBlockedForCcpa(e))return ho;if(!1===this.hasAllUSPurposeApproved(e,n.usPurposesPreference))return ho;if(!1===t.gdprApplies&&!1===t.lgpdApplies&&!1===t.fadpApplies)return po;var o=this.hasAllPurposesApproved(e,n.state);if(t.perPurposeConsent&&!o)return ho;var a=this.hasOnlyUSPurposes(e);return t.perPurposeConsent||n.consent||a?!1===this.purposesPreferenceIsValid(e,n.state,t)&&!a?ho:po:ho}},{key:"shouldElementBeBlockedForCcpa",value:function(e){var t=e.getAttribute("data-iub-blockifccpaoptout");return null!==t&&"false"!==t.toLowerCase()}},{key:"purposesPreferenceIsValid",value:function(e,t,n){if(!n.perPurposeConsent)return null;if(!this.purposeIdsForElement(e,t).length||null==t||!t.purposes)return null;var i=t.purposes.processPurposesString(n.purposes);return t.purposes.hasExpressed(i)}},{key:"isNecessaryPurpose",value:function(e){return 1===Number(e.getAttribute(Ui))||"neccessary"===e.getAttribute(Ui)}}])}(),bo=function(){return o((function e(t){n(this,e),this.cs=t,this.browserDetect=new be,this.settings={inDelay:100,influx:{serverUrl:"https://idb.iubenda.com",dbName:"hits1"}},this._enabled=ge.isDefault(t.options)&&this.enabledForTheSDK&&!this.cs.options.previewMode}),[{key:"enabledForTheSDK",get:function(){var e;return!0!==(null===(e=this.cs.state)||void 0===e?void 0:e.fromSDK)||!this.cs.options.isUsingNewPricing()}},{key:"enabled",get:function(){return this._enabled},set:function(e){this._enabled=e}},{key:"start",value:function(e){var t=this;setTimeout((function(){t.track("pageview",{e_c:t.cs.options.cookiePolicyId,e_a:e?"page_view_consent":"page_view_no_consent"})}),this.settings.inDelay)}},{key:"track",value:function(e,t){var n=this;if(this.unsupported()||!this.enabled)return!0;try{var i="hits,cp="+t.e_c;"pageview"===e?i+=this.addPriorConsentValue(t.e_a)+",sf=1":"consent_given"===e&&(i+=",cg=1"+this.addPerPurposeAnalyticsToString()+","+this.addConsentTypeTag(t.e_n)+"=1"),i+=" value=1",Un(this.settings.influx.serverUrl+"/csdata?db="+this.settings.influx.dbName,i,{method:"POST",async:!0},(function(e,t){n.cs.debug(e||t)}))}catch(n){this.cs.debug("Exception while hitting (I) for "+e+", parameters: (see below), exception : "+(n.message||n)),this.cs.debug(t)}return!1}},{key:"unsupported",value:function(){return"Explorer"===this.browserDetect.browser&&this.browserDetect.version<10||(!!this.browserDetect.isBotAndShouldSkipBots()||!navigator.cookieEnabled)}},{key:"addPriorConsentValue",value:function(e){var t=this.cs.options.remoteConfig.csEnabled&&(this.cs.isPriorConsent()||this.cs.options.usprApplies),n="";return"page_view_consent"===e?(n+=t?",pv_cs=1":",pv_cs=1,pv_cs_nopc=1",n+=this.addPerPurposeAnalyticsToString()):"page_view_no_consent"===e&&(n+=t?",pv_nocs=1":",pv_nocs=1,pv_nocs_nopc=1"),n}},{key:"addPerPurposeAnalyticsToString",value:function(){var e="";this.cs.isConsentGiven()?e+=",cg_a=1":this.cs.isConsentRejected()?e+=",cg_r=1":e+=",cg_p=1";var t=this.getAcceptedPurposes();return t&&(e+=","+t),e}},{key:"getAcceptedPurposes",value:function(){if(!this.cs.options.perPurposeConsent)return"";var e=this.cs.consent.purposes;return Object.keys(e).map((function(t){return"p"+t+"="+(e[t]?1:0)})).join(",")}},{key:"addConsentTypeTag",value:function(e){var t;switch(e){case"bannerXClose":t="cg_bx";break;case"rejectButtonClick":t="cg_br";break;case"bannerAcceptClicked":t="cg_ba";break;case"documentClicked":t="cg_dc";break;case"cookiePolicyClosed":t="cg_cpc";break;default:t="cg_na"}return t}},{key:"consentGiven",value:function(e){this.track("consent_given",{e_c:this.cs.options.cookiePolicyId,e_a:"consent_given",e_n:e})}}])}(),go=function(e,t){window._iub=window._iub||{},window._iub.sharedData=window._iub.sharedData||{};var n=function(e,i){var o=i.shift();0===i.length?e[o]=t:(e[o]=e[o]||{},n(e[o],i))};n(window._iub.sharedData,e.split("."))},mo={code:0,message:"Not recognized"},vo={code:1,message:"Invalid type"},yo={code:2,message:"Invalid format"},ko={code:3,message:"Mismatch"},Co=function(){function e(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;n(this,e),this.invalidType=t,this.errorType=a,this.propertyName=i,this.propertyValue=o}return o(e,null,[{key:"fromProperty",value:function(t,n,i,o){return new e(i,t,n,o)}},{key:"fromPropertyName",value:function(t,n,i){return new e(n,t,null,i)}},{key:"fromInvalidType",value:function(t,n){return new e(t,null,null,n)}}])}(),wo=0,Po=function(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:wo,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],a=o||[],r=0,s=Object.keys(e);r2&&void 0!==arguments[2]?arguments[2]:wo,i=[];return Object.keys(e).forEach((function(o){e.hasOwnProperty(o)&&!t.hasOwnProperty(o)&&i.push(Co.fromProperty(o,e[o],mo,n))})),i};function xo(e){var t=k(e);return"string"!==t||"string"===t&&null===e.match(/^[a-z]{2}$|^[a-z]{2}-[a-z]{2}$/i)}function _o(e,t){return e[t].callback&&"string"!=typeof e[t].callback}var Ao=function(e){return new RegExp(/^\d{4}-\d{2}-\d{2}$/).test(e)},Oo={invalidateConsentInterval:function(e){return"object"!==k(e)?yo:e.startDate?Ao(e.startDate)?e.endDate?Ao(e.endDate)?null:p(p({},yo),{},{message:"endDate is not a valid date (YYYY-MM-DD)"}):p(p({},yo),{},{message:"endDate not found"}):p(p({},yo),{},{message:"startDate is not a valid date (YYYY-MM-DD)"}):p(p({},yo),{},{message:"startDate not found"})}};function Io(e,t,n){return e[n]instanceof HTMLElement&&!(void 0!==t[n])}function Lo(e,t,n){return"i18n"!==n&&"object"===k(e[n])&&null!==e[n]&&"object"===k(t[n])&&Object.keys(e[n]).length>1}var Bo=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n(this,e);var o=I(mt,!0);if(this.i18nForBanner=Jt,this.RENAMED_OPTIONS={enableCMP:"enableTcf","banner.usesThirdParties":"banner.useThirdParties","banner.innerHtmlCloseBtn":"banner.closeButtonCaption",noticeAtCollectionUrl:"privacyPolicyNoticeAtCollectionUrl"},this._remoteConfig=i,this.userDefinedConfig=O({},p(p(p({},i._csSiteConf||{}),t),i._csRC||{})),this.userConfig={hasEmailMarketing:t.hasEmailMarketing,showBannerForUS:t.showBannerForUS,floatingPreferencesButtonDisplay:t.floatingPreferencesButtonDisplay},t.lang&&!this.isLanguageSupported(t.lang)&&(t.i18n&&t.i18n[t.lang]&&(O(qt,{en:t.i18n[t.lang]}),Yt()),t.lang="en"),t.additionalPurposes){var a=t.additionalPurposes;Array.isArray(a)||(a=O([],a));var s={per_purpose:{purposes:{}}};a.forEach((function(e){s.per_purpose.purposes[e.id]={name:e.defaultLabel,bannerName:e.defaultLabel,description:e.defaultDescription}})),O(qt,r({},t.lang,s)),Yt()}if(delete t.skipTcfValidation,delete t.consApiKey,O(this,o),this.applyRemoteConfigurations(t),this.removeUnsupportedOptions(),this.prepareGetters(),this.setConfiguredI18n(),this.logDeprecatedOptionWarning(t,this.RENAMED_OPTIONS),this.forceAcceptButtonDisplayIfNeeded(),this.setContinueWithoutAccepting(),this.setTranslationLanguage(),this.setGdprApplies(),this.setLgpdApplies(),this.setTcfOptions(),this.setGoogleAdditionalConsentMode(),this.setUsprApplies(),this.setCcpaApplies(),this.setExplicitWithdrawal(),this.setEnableGpp(),this.setShowBannerForUS(),this.setHasCookiePolicy(),this.setHasPrivacyPolicy(),this.hasPrivacyPolicy&&!this.privacyPolicyUrl&&(this.privacyPolicyUrl="https://www.iubenda.com/privacy-policy/"+this.cookiePolicyId+"/legal?an=no&s_ck=false&newmarkup=yes"),!this.privacyPolicyNoticeAtCollectionUrl){var c=this.privacyPolicyUrl;c||(c="https://www.iubenda.com/privacy-policy/"+this.cookiePolicyId+"/legal"),this.privacyPolicyNoticeAtCollectionUrl=c+"#notice_at_collection"}this.ccpaCookie&&this.ccpaCookie.expireAfter&&this.ccpaCookie.expireAfter<365&&(this.ccpaCookie.expireAfter=365),this.disableGdprOptionsIfNeeded(),this.setShowPurposesToggles(),this.setShowPurposesCollapsed(),this.isFullCustomizationDisabled()&&(Object.keys(Kt).forEach((function(e){return delete Kt[e]})),Yt()),this.forceCustomizeButtonDisplayIfNeeded(),this.forceAcceptButtonDisplayIfNeeded(),this.forceRejectButtonDisplayIfNeeded(),this.forceCloseButtonDisplayIfNeeded(),this.setInvalidateConsentBefore(),this.merge(o,t),go("options.cmpId",this.cmpId),go("options.cmpVersion",this.cmpVersion),this.validationErrors=this.validate(o,t),this.validationErrors.map((function(e){e.errorType===wo&&vt.warn("Configuration ".concat(e.propertyName).concat(e.propertyValue?" ["+e.propertyValue+"]":"",": ").concat(e.invalidType.message))}))}return o(e,[{key:"remoteConfig",get:function(){return this._remoteConfig}},{key:"setHasCookiePolicy",value:function(){void 0===this.hasCookiePolicy&&(this.hasCookiePolicy=!!this.cookiePolicyUrl||!!this.remoteConfig.cpUpd)}},{key:"setHasPrivacyPolicy",value:function(){void 0===this.hasPrivacyPolicy&&(this.hasPrivacyPolicy=!!this.privacyPolicyUrl||!!this.remoteConfig.ppUpd||!!this.remoteConfig.cpUpd)}},{key:"setShowPurposesToggles",value:function(){!1!==this.perPurposeConsent&&(!0!==this.usprApplies||!0!==this.hasSensitiveData)||(this.banner.showPurposesToggles=!1)}},{key:"removeUnsupportedOptions",value:function(){this.usprPurposes&&(this.usprPurposes=this.usprPurposes.replace(/,?(sd5|sd9)/g,"").replace(/,+\s*$/,""))}},{key:"setInvalidateConsentBefore",value:function(){if(this.invalidateConsentBefore&&(this.invalidateConsentBefore=new Date(this.invalidateConsentBefore).getTime()),this.askConsentAtCookiePolicyUpdate&&void 0!==this.remoteConfig.cpUpd){var e=new Date(1e3*this.remoteConfig.cpUpd).getTime();this.invalidateConsentBefore=Math.max(this.invalidateConsentBefore||0,e)}}},{key:"setTcfOptions",value:function(){if(this.enableTcf){this.googleAdsPreferenceManagement=!1,this.setTcfValidationOptions(),this.enableTcf=!0;var t=this.tcfPurposes,n=!1;e.tcfDefaultPurposes().forEach((function(e){e in t?"1"===e||"li_only"!==t[e]&&!0!==t[e]||(n=!0):t[e]=!0})),this.LIRestricted=!n}}},{key:"isBannerHtmlValid",value:function(e){if(!e)return!1;var t=document.createElement("div");t.innerHTML=e;var n=/\%\{banner_content\}/.test(t.textContent),i=t.querySelectorAll(".iubenda-cs-accept-btn").length>0,o=t.querySelectorAll(".iubenda-cs-customize-btn").length>0;return n&&i&&o}},{key:"applyRemoteConfigurations",value:function(e){O(this,this.remoteConfig.csSiteConf||{}),O(this,e),O(this,this.getRenamedOptions(e,this.RENAMED_OPTIONS)),O(this,this.remoteConfig.csRC||{})}},{key:"setTcfValidationOptions",value:function(){var e;this.skipTcfValidation||(null===(e=Kt[this.lang])||void 0===e||null===(e=e.banner)||void 0===e||null===(e=e.dynamic)||void 0===e||delete e.body,Yt(),this.banner.acceptButtonDisplay=!0,this.banner.customizeButtonDisplay=!0)}},{key:"setGoogleAdditionalConsentMode",value:function(){this.enableTcf||(this.googleAdditionalConsentMode=!1)}},{key:"forceCustomizeButtonDisplayIfNeeded",value:function(){(this.perPurposeConsent&&(this.gdprApplies||this.lgpdApplies)||this.usprApplies)&&this.banner&&(this.banner.customizeButtonDisplay=!0),this.fadpApplies&&(this.banner.customizeButtonDisplay=this.usprApplies&&this.hasUsprPurposesSensitiveData())}},{key:"forceCloseButtonDisplayIfNeeded",value:function(){var e=this.banner,t=e.acceptButtonDisplay,n=e.rejectButtonDisplay,i=e.closeButtonRejects,o=e.continueWithoutAcceptingButtonDisplay;this.fadpApplies?this.banner.closeButtonDisplay=!0:(t&&n&&!i||o)&&(this.banner.closeButtonDisplay=!1)}},{key:"forceAcceptButtonDisplayIfNeeded",value:function(){(this.hasUsprPurposesSensitiveData()||this.banner.showPurposesToggles)&&(this.banner.acceptButtonDisplay=!0),this.banner.acceptButtonDisplay||this.banner.closeButtonDisplay||(this.banner.acceptButtonDisplay=!0),this.fadpApplies&&(this.banner.acceptButtonDisplay=this.usprApplies&&this.hasUsprPurposesSensitiveData())}},{key:"forceRejectButtonDisplayIfNeeded",value:function(){this.hasUsprPurposesSensitiveData()&&(this.banner.rejectButtonDisplay=!0),this.fadpApplies&&(this.banner.rejectButtonDisplay=this.usprApplies&&this.hasUsprPurposesSensitiveData())}},{key:"setTranslationLanguage",value:function(){this.lang&&dn.setLang(this.lang)}},{key:"setGdprApplies",value:function(){if(!this.enableGdpr)return this.gdprAppliesGlobally=!1,void(this.gdprApplies=!1);if(this.gdprAppliesGlobally)return vt.info("Setting gdprApplies=true since gdprAppliesGlobally is true"),void(this.gdprApplies=!0);if(void 0===this.gdprApplies){if(this.countryDetection&&"CH"===_iub.cc&&this.applyGdprForCH)return vt.info("Setting gdprApplies=true since applyGdprForCH is true and user is detected from Switzerland"),void(this.gdprApplies=!0);if(!this.gdprAppliesGlobally&&this.countryDetection&&"EU"!==_iub.cc)return vt.info("Setting gdprApplies=false since countryDetection is true and user is detected from outside EU ("+_iub.cc+")."),void(this.gdprApplies=!1);vt.info("Setting gdprApplies=true by default"),this.gdprApplies=!0}}},{key:"setLgpdApplies",value:function(){if(!this.enableLgpd)return this.lgpdAppliesGlobally=!1,void(this.lgpdApplies=!1);if(void 0===this.lgpdApplies){if(!this.lgpdAppliesGlobally&&this.countryDetection&&"BR"!==_iub.cc)return vt.info("Setting lgpdApplies=false since countryDetection is true and user is detected from outside BR ("+_iub.cc+")."),void(this.lgpdApplies=!1);vt.info("Setting lgpdApplies=true by default"),this.lgpdApplies=!0}}},{key:"setCcpaApplies",value:function(){if(this.usprApplies)return this.enableCcpa=!0,void(this.ccpaApplies=!0);this.enableCcpa&&void 0===this.ccpaApplies&&(this.countryDetection&&"US-CA"!==_iub.cc?this.ccpaAppliesToEntireUSA&&/^US/.test(_iub.cc)&&(this.ccpaApplies=!0):this.ccpaApplies=!0)}},{key:"setUsprApplies",value:function(){!1!==this.enableUspr?void 0===this.usprApplies&&(!1!==this.countryDetection?this.enableUspr&&this.countryDetection&&/^US/.test(_iub.cc)?this.usprApplies=!0:this.usprApplies=!1:this.usprApplies=!0):this.usprApplies=!1}},{key:"setShowBannerForUS",value:function(){if(!1!==this.usprApplies){if(!0!==this.userConfig.showBannerForUS){var e=this.hasUsprPurposesSensitiveData();this.ccpaNoticeDisplay=e,this.showBannerForUS=e}}else this.showBannerForUS=!1}},{key:"hasUsprPurposesSensitiveData",value:function(){if(!this.usprPurposes&&!this.usprApplies)return!1;var e=this.usprPurposes?this.usprPurposes.split(","):this.remoteConfig.csPurposes,t=Ei(e);if(!t.length&&!0===this.usprApplies)return this.hasSensitiveData=!1,!1;var n=t.some((function(e){return/^sd\d+/.test(e.toString().trim())}));return this.hasSensitiveData=n,n}},{key:"setExplicitWithdrawal",value:function(){this.enableTcf&&(this.banner.explicitWithdrawal=!0)}},{key:"setEnableGpp",value:function(){this.usprApplies&&(this.enableGpp=!0),"function"==typeof window.__gpp&&(this.enableGpp=!0)}},{key:"setShowPurposesCollapsed",value:function(){(this.banner.showPurposesToggles||this.lgpdApplies)&&(this.showPurposesCollapsed=!1)}},{key:"setContinueWithoutAccepting",value:function(){this.banner.continueWithoutAcceptingButtonDisplay&&(this.banner.closeButtonRejects=!0)}},{key:"disableGdprOptionsIfNeeded",value:function(){this.gdprApplies||this.lgpdApplies||!this.banner||(this.banner.acceptButtonDisplay=!1,this.banner.rejectButtonDisplay=!1,this.banner.customizeButtonDisplay=!1,this.banner.closeButtonDisplay=!0,this.banner.closeButtonRejects=!1)}},{key:"setConfiguredI18n",value:function(){this.i18n&&(O(Kt,this.i18n),Yt())}},{key:"isLanguageSupported",value:function(e){return"string"==typeof e&&this.i18nForBanner.hasOwnProperty(e)}},{key:"get",value:function(e,t){return function(e,t,n){if(!t)return e;for(var i,o=t.split("."),a=e,r=0;r2&&void 0!==arguments[2]&&arguments[2],i=So(e,t);return!0!==n||Object.keys(e).forEach((function(n){var o=Oo[n]?Oo[n](e[n]):null;o?i.push(Co.fromPropertyName(n,o,wo)):Io(e,t,n)?i.push(Co.fromPropertyName(n,mo,wo)):Lo(e,t,n)&&(i=i.concat(Po(e[n],t[n],wo,n)))})),i}(t,e,n),o=function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(void 0===e)return[];var o=[];if("object"!==k(e)||null===e)return o.push(Co.fromPropertyName("i18n",ko,wo)),o;"object"===k(t)&&"object"===k(e)||o.push(Co.fromInvalidType(vo,wo));var a=Object.keys(e).reduce((function(t,a){var r=[];return"object"!==k(e[a])?o.push(Co.fromProperty("lang",a,ko,wo)):(xo(a)&&o.push(Co.fromProperty("lang",a,yo,wo)),_o(e,a)&&o.push(new Co(ko,"".concat(a,".callback"),null,wo)),n&&n.en&&!0===i&&(r=Po(e[a],n.en,wo,a))),t.concat(r)}),[]);return o.concat(a)}(t.i18n,e.i18n,this.i18nForBanner,n);return[].concat(v(i),v(o))}},{key:"merge",value:function(e,t){var n=this;Object.keys(t).forEach((function(i){t[i]instanceof HTMLElement?void 0!==e[i]&&(e[i]=t[i]):"object"===k(t[i])||void 0===t[i]?"object"===k(e[i])?"object"===k(t[i])&&null!==t[i]&&Object.keys(t[i]).length>1?Object.keys(t[i]).forEach((function(o){void 0===e[i][o]&&void 0===n.RENAMED_OPTIONS["".concat(i,".").concat(o)]||(e[i][o]=t[i][o])})):e[i]=t[i]:void 0===e[i]&&(e[i]=t[i]):null!==e[i]&&"object"===k(e[i])||void 0===e[i]&&void 0===n.RENAMED_OPTIONS[i]||(e[i]=t[i])}))}},{key:"getObjValueByPath",value:function(e,t){for(var n,i=e,o=t.split("."),a=0;a1&&void 0!==arguments[1]?arguments[1]:{promptIfNot:!0};return this.cs.arePurposesAccepted(e,t)}},{key:"consentGiven",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.force||!1;if(this.ui.banner.shown||t){var n=e.eventName||"cookiePolicyClosed";switch(this.ui.registerEvent(n),n){case"rejectButtonClick":this.cs.rejectAll(n);break;case"bannerXClose":this.cs.options.banner.closeButtonRejects?this.cs.rejectAll(n):this.cs.acceptAll(n);break;default:this.cs.acceptAll(n)}this.ui.banner.removeBanner()}}},{key:"showTcfVendors",value:function(){this.ui.showTcfVendors()}},{key:"showCP",value:function(){var e=new MouseEvent("click",{bubbles:!0,cancelable:!1});this.ui.bannerCookiePolicyClicked({event:e})}},{key:"openPreferences",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.acceptPurposes;this.ui.openPreferences({acceptPurposes:t})}},{key:"printErrors",value:function(){var e=this,t=this.cs.state.errors;t.length||this.logger.log("info","No errors","info",!1),Object.keys(t).forEach((function(n){e.logger.log("info",t[n],"error",!1)}))}},{key:"isConsentGiven",value:function(){return this.cs.isConsentGiven()}},{key:"isCcpaAcknowledged",value:function(){return this.cs.state.ccpaAcknowledged}},{key:"isCcpaOptedOut",value:function(){return this.cs.state.ccpaOptedOut}},{key:"ccpaApplies",value:function(){return this.cs.options.ccpaApplies}},{key:"gdprApplies",value:function(){return this.cs.options.gdprApplies}},{key:"lgpdApplies",value:function(){return this.cs.options.lgpdApplies}},{key:"askCcpaOptOut",value:function(){this.cs.askCcpaOptOut()}},{key:"isPreferenceExpressed",value:function(){return this.cs.isPreferenceExpressed()}},{key:"storeConsent",value:function(e){var t=this.cs.consent;this.cs.consent={timestamp:(new Date).toISOString(),version:this.cs.settings.version};var n,i=null==e||e,o=!1;if("boolean"==typeof i)n=i;else if("object"===k(i)){if("tcfv2"in i&&(this.cs.state.tcfv2String=i.tcfv2||""),"consent"in i&&(n=!1!==i.consent),"purposes"in i){var a=I(i.purposes);a[1]=!0,this.cs.consent.purposes=a,o=!0}"uspr"in i&&(this.cs.preferences.state.usPurposes.setPreferences(i.uspr),this.cs.preferences.storage.uspr.storeUSPurposeCookie()),"ccpa"in i&&this.cs.options.ccpaApplies&&this.cs.preferences.storage.usPrivacy.setCcpaCookie(i.ccpa,!0),"timestamp"in i&&(this.cs.consent.timestamp=i.timestamp),this.cs.consent.cons="cons"in i?i.cons:{rand:"123456"}}"boolean"==typeof n&&(this.cs.consent.consent=n,o=!0),o&&this.cs.cookie.storeConsent(),this.cs.consent=t}},{key:"activateSnippets",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.cs.firstActivationCompletedPromise.then((function(){e.cs.startActivation(t.runOnActivationDoneCallback,!0)}))}},{key:"setConsentOnScrollOnElement",value:function(){}},{key:"isGoogleNonPersonalizedAds",value:function(){return!0}},{key:"getGoogleAdditionalConsent",value:function(){if(this.cs.options.googleAdditionalConsentMode&&this.cs.customPreferences)return this.cs.customPreferences.gac}},{key:"resetCookies",value:function(){this.cs.storage.reset({local:!0,remote:this.cs.options.enableRemoteConsent})}},{key:"_callAPIFunction",value:function(t,n,i){this.logger.debug({command:t,params:n,callback:i});var o=n||[];if("_onMessageEventHandler"===t||"_callAPIFunction"===t||!e.prototype.hasOwnProperty(t)||"function"!=typeof this[t])return this.logger.error("iub CS API called with undefined command: ",t),void i(null,!1);i(this[t].apply(this,o),!0)}},{key:"_onMessageEventHandler",value:function(t){try{var n="string"==typeof t.data?e._parseJson(t.data):t.data,i=n?n.__iubCsCall:null;if(!i)return;var o=i.command,a=i.parameters,r=i.callId;this._callAPIFunction(o,a,(function(e,n){var i={__iubCsReturn:{returnValue:e,success:n,callId:r}};t.source.frames.postMessage(JSON.stringify(i),t.origin)}))}catch(e){this.logger.error("Error: "+e)}}},{key:"getSupportedOptions",value:function(){return L(mt)}},{key:"acceptAll",value:function(){this.cs.acceptAllUltimate("cookiePolicyClosed")}},{key:"rejectAll",value:function(){this.cs.rejectAll("rejectButtonClick")}},{key:"showBanner",value:function(){this.cs.ui.banner.removeBanner(),this.cs.ui.banner.showBanner(),this.cs.ui.bindButtons(),this.cs.enablePrivacyPolicyLinks()}},{key:"getPreferences",value:function(){return this.cs.getPreferences()}},{key:"getPreferenceId",value:function(){return this.cs.getPreferenceId()}},{key:"setPreferences",value:function(e,t){var n;this.cs.storePreferences(e,!0),t&&null!==(n=this.cs.ui)&&void 0!==n&&n.banner&&this.cs.ui.banner.removeBanner()}},{key:"openAdvertisingPreferences",value:function(){this.cs.openAdvertisingPreferences()}},{key:"emailMarketing",value:function(){return this.cs.newsletter}},{key:"emailManager",value:function(){return this.cs.emailManager}},{key:"accessibilityWidget",value:function(){return this.cs.accessibilityWidget}}],[{key:"_parseJson",value:function(e){try{return JSON.parse(e)}catch(e){}return null}}])}(),To="body{margin:0;font-family:sans-serif}*{box-sizing:border-box}.iubenda-cs__overlay{position:fixed;top:0;left:0;width:100%;height:100%;display:flex;overflow:auto;padding:1rem;background-color:rgba(0,0,0,.1)}.iubenda-cs__dialog{max-width:320px;border-radius:.5rem;box-shadow:0 0 2rem rgba(0,0,0,.25),0 0 0 1px rgba(0,0,0,.05);margin:auto;overflow:hidden;padding:1.5rem;display:flex;flex-direction:column;grid-gap:1.5rem;background:#fff;color:#222}.iubenda-cs__body h1{font-size:1.25rem;margin:0 0 .5rem 0}.iubenda-cs__body p{margin:0;font-weight:300}.iubenda-cs__button{font-size:100%;border-radius:4rem;padding:.5rem 1rem;font-weight:700;background-color:#0073ce;color:#fff;border:0;width:100%;cursor:pointer}.iubenda-cs__button:hover{background-color:#005aa0}.iub-sr-only{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important}.iub-sr-only:focus{position:static!important;width:auto!important;height:auto!important}@media (max-height:320px) and (max-width:240px){.iubenda-cs__overlay{padding:0}}@media (max-height:320px) and (min-width:480px){.iubenda-cs__dialog{flex-direction:row;max-width:100%;align-items:center}.iubenda-cs__button{padding:1rem 3rem}}";function Fo(e,t){var n=this,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=i.styleOptions,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r={};t.forEach((function(e){r[e]=Xt(e,n.options)}));var s=In(e,r),c=t.join(","),l=dn("blocked_overlay.title"),u=dn("blocked_overlay.paragraph").replace("%{purposes}",s),d=dn("blocked_overlay.accept_button"),p=dn("blocked_overlay.accept_button_sr_only"),h=ot({"background-color":null==o?void 0:o.backgroundColor,color:null==o?void 0:o.textColor}),f=ot({"background-color":null==o?void 0:o.acceptButtonColor,color:null==o?void 0:o.acceptButtonCaptionColor}),b='\n
\n
\n
\n

').concat(l,"

\n

").concat(u,'

\n
\n \n
\n
\n ");return a?b:'\n \n \n \n \n \n \n '.concat(l,"\n \n \n \n ").concat(b,"\n \n \n ")}function No(e){var t,n,i=null==e||null===(t=e.preferenceCookie)||void 0===t||null===(t=t.tcfV2Name)||void 0===t?void 0:t.trim();return"string"==typeof i&&i?i.trim().replace(/%\{cookie_policy_id\}/g,null!==(n=null==e?void 0:e.cookiePolicyId)&&void 0!==n?n:""):"euconsent-v2"}var Ro="loading",Vo="loaded",jo="visible",Mo="hidden",Uo="ready",zo="not ready",Wo="initial",Go="processing",Ho="processed",qo=function(){return o((function e(t,i){n(this,e);var o={cmpId:t,cmpStatus:Ro,cmpDisplayStatus:Mo,supportedAPIs:[],supportedAPIs_1_1:[],sectionList:[],applicableSections:[],gppVersion:i||"1.0",signalStatus:zo,gppString:"",gppUpdatedSectionIds:{},parsedSections:{}};this.data=o,this.fireEvent=function(){}}),[{key:"setFireEvent",value:function(e){this.fireEvent=e}},{key:"updateData",value:function(e){this.data=A(this.data,e)}},{key:"getModelStructure",value:function(e){return"1.1"===e?["gppVersion","cmpStatus","cmpDisplayStatus","signalStatus","supportedAPIs","cmpId","sectionList","applicableSections","gppString","parsedSections"]:["gppVersion","cmpStatus","cmpDisplayStatus","supportedAPIs","cmpId"]}},{key:"getItemValue",value:function(e,t){switch(t){case"sectionList":return Object.keys(this.data.gppUpdatedSectionIds).map(Number);case"supportedAPIs":return this.data["1.1"===e?"supportedAPIs_1_1":"supportedAPIs"];default:return this.data[t]}}},{key:"getPingData",value:function(e){var t=this,n=this.getModelStructure(e.toString()),i={};return n.forEach((function(n){i[n]=t.getItemValue(e,n)})),i}}])}();function Ko(e){if("string"!=typeof e)return{section:null,data:null};var t=e.split(".");return{section:t[0],data:t.slice(1).join(".")}}function Jo(e){if(!e)return e;var t=e;return"string"==typeof e&&(t=Number(e)),t.toString()}var Yo=[1.1,1],Zo=function(){function e(t,i){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;n(this,e),this.model=t,this.pluginManager=i,this.gppVersion=o;try{this.callQueue=window.__gpp.queue}catch(e){this.callQueue=[]}try{this.events=window.__gpp.events}catch(e){this.events=[]}try{this.lastId=window.__gpp.lastId}catch(e){this.lastId=0}for(window.__gpp=this.apiCall.bind(this);this.callQueue.length;){var a=this.callQueue.shift();this.apiCall.apply(this,v(a))}}return o(e,[{key:"registerListener",value:function(e,t,n){var i=0,o=!1;return"function"==typeof e&&(o=!0,i=++this.lastId,this.events.push({id:i,callback:e,parameter:t,version:n})),{eventName:"listenerRegistered",listenerId:i,data:o}}},{key:"unregisterListener",value:function(e){for(var t=!1,n=0;n1?t-1:0),i=1;i0&&a<=this.maxfibo&&o>=0;)for(a++,i[o]="1",e-=this.fibo(o),o--;o>=0&&this.ncache[o]>e;)i[o]="0",o--;return i[n+1]="1",i=i.slice(0,n+2),this.ecache[t]=i.join(""),this.ecache[t]},this.decode=function(e){if(""==e)return 0;for(var t=(e=e.substring(0,e.length-1)).length,n=0,i=0;i=(n=parseInt(e,10).toString(2)).length&&(n=this.padLeft(n,t-n.length)),n.length>t&&(n=n.substring(0,t)),this.write(n)},this.writeDate=function(e){e instanceof Date?this.writeInt(e.getTime()/100,36):this.writeInt(e,36)},this.writeString=function(e,t){for(e=e.substring(e,t);e.lengthparseInt(t)?1:0}));e.length>0&&0===e[0];)e.shift();for(var t=[],n=0,i=0,o=0,a=0,r=0;r0&&a!=i&&t.push({s:n,e:i}),t},this.writeRange=function(e){var t=this.ids2range(e);this.writeInt(t.length,12);for(var n=0;no.length?n+=o:n+=i,this.cs=n},this.writeIntFibo=function(e){this.cs+=this.fibo.encode(e)},this.writeRangeFibo=function(e){var t=this.ids2range(e),n=t.length;this.writeInt(n,12);for(var i=0,o=0;o=a?this.gppSectionIds[a-1]:0,h=i[a],f=null,b=0;ba.length?m.setCS(a):m.setCS(o),m.getBase64CS()}if(2==this.Version){if((m=new Qo).writeInt(2,6),this.LastUpdated.setHours(0),this.LastUpdated.setMinutes(0),this.LastUpdated.setSeconds(0),this.LastUpdated.setMilliseconds(0),m.writeDate("cmp_debug_overridetime"in window?window.cmp_debug_overridetime:this.LastUpdated),m.writeDate("cmp_debug_overridetime"in window?window.cmp_debug_overridetime:this.LastUpdated),m.writeInt(this.CmpId,12),m.writeInt(this.CmpVersion,12),m.writeInt(this.ConsentScreen,6),m.writeLang(this.ConsentLanguage),m.writeInt("cmp_debug_gvlversion"in window?window.cmp_debug_gvlversion:this.VendorListVersion,12),m.writeInt(this.TcfPolicyVersion,6),m.writeBool(!0),m.writeBool(this.UseNonStandardStacks),m.writeBitField(this.SpecialFeatureOptIns,12),m.writeBitField(this.PurposesAllowed,24),m.writeBitField(this.PurposesLI,24),m.writeBool(this.PurposeOneTreatment),2!=this.PublisherCC.length&&(this.PublisherCC="EU"),m.writeLang(this.PublisherCC),m.writeBitFieldOrRange(this.VendorsAllowed),m.writeBitFieldOrRange(this.VendorsLI),this.IsServiceSpecific){m.writeInt(this.PublisherRestrictions.length,12);for(n=0;nd&&(d=this.CustomPurposesConsent[n]);for(n=0;nd&&(d=this.CustomPurposesLI[n]);m.writeInt(d,6),m.writeBitField(this.CustomPurposesConsent,d),m.writeBitField(this.CustomPurposesLI,d),u=m.getBase64CS()}return s+(c.length>0?".":"")+c+(l.length>0?".":"")+l+(u.length>0?".":"")+u}if(3==this.Version){for(n=0;nparseInt(t.sectionID)?1:0}));for(n=0;n2&&void 0!==arguments[2]?arguments[2]:null,o=Yo.reduce((function(e,t){return e[t]=n.model.getPingData(t),e}),{}),a=Jo(i);this.callResponder.events.forEach((function(n){var i=n.id,r=n.callback,s=n.version,c=Jo(void 0===s?1:s);try{a&&a!==c||r({eventName:e,listenerId:i,data:t,pingData:o[c]})}catch(t){console.error("Error occured in while handling event '".concat(e,"' by listener ").concat(i,":"),t)}}))}},{key:"setParsedSections",value:function(e){var t=this;this.model.data.parsedSections={},e.forEach((function(e){var n=null==e?void 0:e.parsedSection,i=null==n?void 0:n.apiPrefix;t.model.data.parsedSections[i]=null==n?void 0:n.toObject()}))}},{key:"update",value:function(e,t){var n,i,o=this,a=e.updatedSections,s=e.displayStatus,c=[];if(this.model.data.cmpStatus===Ro&&(this.model.data.cmpStatus=Vo,c.push(["cmpStatus",Vo])),s&&s!==this.model.data.cmpDisplayStatus&&(this.model.data.cmpDisplayStatus=s,c.push(["cmpDisplayStatus",s])),a){Object.keys(a).forEach((function(e){var t=o.pluginManager.get(e);t&&(t.update(a[e])&&(o.model.data.gppUpdatedSectionIds[t.sectionId()]=!0,c.push(["sectionChange",e])))}));var l=this.pluginManager.sectionNames().map((function(e){return o.pluginManager.get(e)})).filter((function(e){return e.sectionId()in o.model.data.gppUpdatedSectionIds}));this.setParsedSections(l),this.model.data.gppString=(n=l,(i=new ia).Version=3,i.gppSections=n.map((function(e){return{sectionID:e.sectionId(),write:function(){return e.getString()}}})),i.toString())}if(t!==Go){var u=r(r({},Wo,zo),Ho,Uo);if(this.model.data.signalStatus!==u[t])switch(this.model.data.signalStatus=u[t],t){case Wo:c.unshift(["signalStatus",this.model.data.signalStatus,"1.1"]);break;case Ho:c.push(["signalStatus",this.model.data.signalStatus,"1.1"])}}c.forEach((function(e){return o.fireEvent.apply(o,v(e))}))}}])}();function sa(){this.ncache=[1,2,3,5,8,13,21,34,55,89,144,233],this.ecache=[],this.maxfibo=30,this.fibo=function(e){if(e in this.ncache)return this.ncache[e];var t=e-1,n=e-2;if(t in this.ncache&&n in this.ncache)return this.ncache[e]=this.ncache[t]+this.ncache[n],this.ncache[e];for(var i=0,o=1,a=0,r=0;r0&&a<=this.maxfibo&&o>=0;)for(a++,i[o]="1",e-=this.fibo(o),o--;o>=0&&this.ncache[o]>e;)i[o]="0",o--;return i[n+1]="1",i=i.slice(0,n+2),this.ecache[t]=i.join(""),this.ecache[t]},this.decode=function(e){if(""==e)return 0;for(var t=(e=e.substring(0,e.length-1)).length,n=0,i=0;i=(n=parseInt(e,10).toString(2)).length&&(n=this.padLeft(n,t-n.length)),n.length>t&&(n=n.substring(0,t)),this.write(n)},this.writeDate=function(e){e instanceof Date?this.writeInt(e.getTime()/100,36):this.writeInt(e,36)},this.writeString=function(e,t){for(e=e.substring(e,t);e.lengthparseInt(t)?1:0}));e.length>0&&0===e[0];)e.shift();for(var t=[],n=0,i=0,o=0,a=0,r=0;r0&&a!=i&&t.push({s:n,e:i}),t},this.writeRange=function(e){var t=this.ids2range(e);this.writeInt(t.length,12);for(var n=0;no.length?n+=o:n+=i,this.cs=n},this.writeIntFibo=function(e){this.cs+=this.fibo.encode(e)},this.writeRangeFibo=function(e){var t=this.ids2range(e),n=t.length;this.writeInt(n,12);for(var i=0,o=0;o=0;return!(!n.blocked&&!i)}},{key:"processPurposesString",value:function(e){var t=this;if(!e)return[];var n=e.split(",").map((function(e){return e.trim()}));return this.allIds.filter((function(e){var i=t.purposeOptions[e],o=n.indexOf(e)>=0,a=n.indexOf(i.alias)>=0;return o||a}))}},{key:"getDefaultPurposes",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n={},i=this.processPurposesString(t);return i.length>0&&i.push.apply(i,v(this.additionalPurposes)),this.allIds.forEach((function(t){e.checkPurposeIdByList(t,i)&&(n[t]=e.purposeOptions[t].default)})),n}},{key:"getPurposesString",value:function(){return Object.keys(this.data).join(",")}},{key:"setData",value:function(e,t,n){this.purposeOptions[e]&&(n||this.expressedIds.indexOf(e)<0)&&!this.purposeOptions[e].blocked&&(this.data[e]=t,this.setExpressedId(e))}},{key:"setPreference",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if("boolean"!=typeof t.all){var i=Object.keys(t).map((function(e){return e.toString()}));i.forEach((function(i){e.setData(i,t[i],!n)}))}else this.activeIds.forEach((function(i){e.setData(i,t.all,!n)}))}},{key:"checkAllUnblocked",value:function(e){var t=this;return this.activeIds.filter((function(e){return!t.purposeOptions[e].blocked})).every((function(n){return t.data[n]===e}))}},{key:"isAllApproved",value:function(){return this.checkAllUnblocked(!0)}},{key:"isAllDisapproved",value:function(){return this.checkAllUnblocked(!1)}},{key:"hasGivenPreference",value:function(){return this.hasExpressed(this.activeIds)}},{key:"getPreferences",value:function(){return this.data}},{key:"getPurposeValue",value:function(e){return this.data[e]}},{key:"isPurposeBlocked",value:function(e){var t;return null!==(t=this.purposeOptions[e].blocked)&&void 0!==t&&t}},{key:"hasApproved",value:function(e){var t=this;return e.every((function(e){return t.data[e]}))}},{key:"hasExpressed",value:function(e){var t=this;return e.every((function(e){return t.expressedIds.indexOf(e)>=0||t.purposeOptions[e].blocked}))}},{key:"getPuposesData",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],n={};return this.activeIds.forEach((function(i){t?n[i]=e.data[i]:(n[i]={value:e.data[i]},e.purposeOptions[i].blocked&&(n[i].blocked=!0))})),n}}])}(),Ca=["purposes"],wa=["purposes"],Pa=function(){return o((function e(t){n(this,e),this.savedState=null,this.savedNewState=null,this.state={},this.purposes=null,this.options={granularOptionsActive:!1},this.initialized=!1,this.setInitialState(t)}),[{key:"core",get:function(){return{purposes:this.purposes.getPuposesData(!0)}}},{key:"uspr",get:function(){return this.usPurposes.isActive?this.usPurposes.purposes:{}}},{key:"setInitialState",value:function(e){this.purposes=new ka(e),this.usPurposes=new Ti(e),this.initialized=!0,this.csObject=e;var t=e.options,n={granularOptionsActive:!1};if(t.gdprApplies&&t.enableTcf){var i=this.getInitialTCF();n.tcfv2=i.tcfv2,t.googleAdditionalConsentMode&&(n.gac=i.gac)}this.setState(n)}},{key:"getInitialTCF",value:function(){return{tcfv2:{all:!1},gac:{all:!1}}}},{key:"setState",value:function(e){var t=A(this.state,e);this.state=t}},{key:"processState",value:function(e){var t=e.purposes,n=void 0===t?{}:t,i=h(e,Ca);this.purposes.setPreference(n),this.setState(i)}},{key:"getFullState",value:function(){return p(p({},this.state),{},{purposes:this.purposes.getPuposesData()})}},{key:"getProperty",value:function(e){return this.state[e]}},{key:"getStateObject",value:function(){var e={purposes:this.purposes.getPuposesData(!0)};return this.usPurposes.isActive&&(e.usPurposes=this.usPurposes.purposes),e}},{key:"getState",value:function(){var e={purposes:this.purposes.getPuposesData(!0)};return void 0!==this.state.tcfv2&&(e.tcfv2=this.state.tcfv2),void 0!==this.state.gac&&(e.gac=this.state.gac),e}},{key:"saveState",value:function(){this.savedState=p(p({},this.state),{},{purposes:p({},this.purposes.getPreferences())})}},{key:"recoveryState",value:function(){if(this.savedState){var e=this.savedState,t=e.purposes,n=h(e,wa);this.usPurposes.isActive&&this.usPurposes.recoveryPreferenceState(),t&&this.purposes.setPreference(t),this.state=p({},n),this.clearState()}}},{key:"clearState",value:function(){this.usPurposes.isActive&&this.usPurposes.clearPreferenceState(),this.savedNewState=null,this.savedState=null}}])}(),Sa=0,xa=1,_a=2,Aa=function(){return o((function e(t,i){n(this,e),this.cs=t,this.storage=i,this._tcfString="",this._gacString=""}),[{key:"tcfString",get:function(){return this._tcfString||this.cs.state.tcfv2String},set:function(e){this.cs.state.tcfv2String=e,this._tcfString=e}},{key:"gacString",get:function(){var e;return this._gacString||(null===(e=this.cs.customPreferences)||void 0===e?void 0:e.gac)}},{key:"setTcfPreference",value:function(e,t){return"string"==typeof e.tcfv2?this.setTcfString(e):void 0!==e.tcfv2?e.tcfv2.all?this.acceptAllTcf(t):this.rejectAllTcf():N((function(e){return e()}))}},{key:"setTcfString",value:function(e){var t=this,n=N();return!this.cs.options.enableTcf||this.cs.options.skipSaveConsent?n.resolve():(this.cs.updateTcfApi(!0,e.tcfv2),R([this.cs.startCmpWidget(),this.cs._waitForCmpWidgetRender()]).then((function(){e.gac&&(t.cs.storeCustomPreferences({gac:e.gac}),t._gacString=e.gac),t.cs.storeCMPPreference(e.tcfv2),t.tcfString=e.tcfv2,t.cs.updateTcfApi(!1,t.tcfString),n.resolve(e.tcfv2)})),n)}},{key:"acceptAllTcf",value:function(e){var t=this,n=N();return!this.cs.options.enableTcf||this.cs.options.skipSaveConsent?n.resolve():(this.cs.updateTcfApi(!0,this.tcfString),R([this.cs.startCmpWidget(),this.cs._waitForCmpWidgetRender()]).then((function(){var i=t.cs.ui.cmpWidget;(!t.tcfString||e)&&(t.cs.options.acceptTcfSpecialFeaturesWithAcceptBtn?i.enableAllPurposesAndAllVendors():i.enableAllEntitiesBasedOnSpecialFeatures(),i.enableAllCustomPurposes(),t.cs.options.googleAdditionalConsentMode&&t.cs.options.perPurposeConsent&&i.acEnableEntities(!0)),t.cs.storeCustomPreferences(i.getCustomPreferences());var o=i.getPreferenceString();t.cs.storeCMPPreference(o),t.tcfString=o,t.cs.updateTcfApi(!1,t.tcfString),n.resolve(o)})),n)}},{key:"rejectAllTcf",value:function(){var e=this,t=N();return!this.cs.options.enableTcf||this.cs.options.skipSaveConsent?t.resolve():(this.cs.updateTcfApi(!0,this.tcfString),R([this.cs.startCmpWidget(),this.cs._waitForCmpWidgetRender()]).then((function(){var n=e.cs.ui.cmpWidget;n.disableAllPurposesAndAllVendors();var i=e.cs.options;(i.googleAdsPreferenceManagement||i.googleAdditionalConsentMode)&&n.disableAllCustomPurposes(),e.cs.storeCustomPreferences(n.getCustomPreferences());var o=n.getPreferenceString();e.cs.storeCMPPreference(o),e.tcfString=o,e.cs.updateTcfApi(!1,e.tcfString),t.resolve(o)})),t)}},{key:"getRestrictionType",value:function(e){switch(e){case false:return Sa;case"consent_only":return xa;case"li_only":return _a;default:return null}}},{key:"fixTCStringForPublisherRestrictions",value:function(e){var t=this;return N((function(n){try{var i,o,a=window._iub.TCString.decode(e),r=t.cs.options.tcfPurposes;r&&Object.keys(r).length>0&&"consent_only"===r[2]&&null!==(i=a.publisherRestrictions)&&void 0!==i&&null!==(i=i.getRestrictions(1))&&void 0!==i&&i.every((function(e){return 1===e.restrictionType}))&&a.vendorConsents.has(755)&&a.purposeConsents.has(2)&&!a.publisherLegitimateInterests.has(2)&&0===(null===(o=a.publisherRestrictions.getRestrictions(755))||void 0===o?void 0:o.length)?(a.gvl=window._iub.gvlHelper.getGvl(a.vendorListVersion),a.gvl.readyPromise.then((function(){Object.entries(r).forEach((function(e){var n=b(e,2),i=n[0],o=n[1],r=t.getRestrictionType(o);if(null!==r){var s=parseInt(i,10),c=new window._iub.PurposeRestriction(s,r);a.vendorConsents.forEach((function(e,t){e&&(a.publisherRestrictions.vendorHasRestriction(t,c)||a.publisherRestrictions.add(t,c))}))}}));var i=window._iub.TCString.encode(a,{segments:["core"]});console.log("[IUBCS|INFO]: fixed publisher restriction in TCString:",i," it was ",e),n(i)})).catch((function(t){console.error(t),n(e)}))):n(e)}catch(t){n(e)}}))}},{key:"load",value:function(){var e=this,t=N(),n=this.cs.options,i=No(n);return n.enableTcf?(this.cs.cmpLibraryPromise.then((function(){var o=e.cs.fetchCMPCookie(),a=e.cs.customPreferencesResult,r=e.cs.getMissingCustomPreferences(a).length>0,s=(n.askConsentIfCMPNotFound||1!==e.cs.state.tcfConsentStatus)&&(!o||r)&&n.gdprApplies;o?e.fixTCStringForPublisherRestrictions(o).then((function(n){var a=n.split(".");(a.length>1||o!==n)&&(e.tcfString=a[0],e.storage.setLocalCMP(i,a[0])),t.resolve({needsCMPConsent:s})})):t.resolve({needsCMPConsent:s})})),t):t.resolve()}}])}(),Oa=function(){return o((function e(t){n(this,e),this.cs=t}),[{key:"acknowledgeCcpa",value:function(e){var t=this.cs.state.ccpaAcknowledged;this.cs.state.ccpaUspStateFound=!0,this.cs.state.ccpaAcknowledged=!0,e&&(this.cs.usPrivacyCookie=null,this.cs.state.ccpaOptedOut=!1),this.setCcpaCookie(),t||this.cs.fireCallback("onCcpaFirstAcknowledged"),this.cs.fireCallback("onCcpaAcknowledged")}},{key:"generateCcpaCookie",value:function(){var e,t;return{uspString:this.getUspString(),firstAcknowledgeDate:(null===(e=this.cs.usPrivacyCookie)||void 0===e?void 0:e.firstAcknowledgeDate)||(this.cs.state.ccpaAcknowledged?new Date:null),optOutDate:(null===(t=this.cs.usPrivacyCookie)||void 0===t?void 0:t.optOutDate)||(this.cs.state.ccpaOptedOut?new Date:null)}}},{key:"setCcpaCookie",value:function(e,t){if(!this.cs.options.skipSaveConsent){var n=null!=e?e:this.generateCcpaCookie();this.cs.storage.setLocal(this.cs.settings.USPRIVACY_COOKIE,n),this.cs.options.enableRemoteConsent&&this.cs.storage.setRemote(this.cs.storage.configuration.ccpaNameRemote,n),t||(this.cs.usPrivacyCookie=n)}}},{key:"getUspString",value:function(){return this.cs.options.ccpaApplies?this.cs.state.ccpaUspVersion+(this.cs.state.ccpaAcknowledged?"Y":"N")+(this.cs.state.ccpaOptedOut?"Y":"N")+this.getLspaValue():"1---"}},{key:"getLspaValue",value:function(){switch(this.cs.options.ccpaLspa){case!0:case"Y":case"y":return"Y";case!1:case"N":case"n":return"N";default:return"-"}}},{key:"optOutCcpa",value:function(){var e=this.cs.state.ccpaOptedOut;this.cs.state.ccpaUspStateFound=!0,this.cs.state.ccpaAcknowledged=!0,this.cs.state.ccpaOptedOut=!0,this.setCcpaCookie(),e||this.cs.fireCallback("onCcpaFirstOptOut"),this.cs.fireCallback("onCcpaOptOut")}}])}(),Ia=function(){return o((function e(t,i){n(this,e),this.cs=t,this.storage=i,this.loadedData=null}),[{key:"acceptAllUSPurposeConsent",value:function(e){this.cs.preferenceState.usPurposes.setPreferences(e),this.storeUSPurposeCookie()}},{key:"storeUSPurposeCookie",value:function(){if(this.cs.options.skipSaveConsent)this.cs.info("NOT saving consent in cookie since options.skipSaveConsent is provided TRUE");else if(this.cs.preferenceState.usPurposes.isActive){var e=this.cs.preferenceState.usPurposes.getPreferences();this.loadedData=e,this.cs.storage.setLocal(this.cs.storage.configuration.consentUsprNameLocal,e),this.cs.options.enableRemoteConsent&&this.cs.storage.setRemote(this.cs.storage.configuration.consentUsprNameRemote,e)}}},{key:"load",value:function(){var e=N(),t=this.storage.getLocal(this.storage.configuration.consentUsprNameLocal);return this.loadedData=t,e.resolve(t)}}])}(),La=function(){return o((function e(t,i){n(this,e),this.coreStorage=i,this.cs=t}),[{key:"storeFadpConsent",value:function(){this.cs.options.fadpApplies&&(this.coreStorage.storeConsent(!1),!this.cs.options.usprApplies&&!this.cs.options.gdprApplies&&!this.cs.options.lgpdApplies&&!this.cs.options.ccpaApplies&&this.cs.options.fadpApplies&&(this.cs.state.consentFoundOnLoad=!0,this.cs.fireConsentCallbacks()))}}])}(),Ba=function(){return o((function e(t,i){n(this,e),this.cs=t,this.storage=i,this.storageData={}}),[{key:"setPurposesPreference",value:function(e){(this.cs.options.gdprApplies||this.cs.options.lgpdApplies||this.cs.options.fadpApplies)&&this.cs.options.perPurposeConsent&&this.cs.preferenceState.purposes.setPreference(e)}},{key:"getConsentObj",value:function(e){var t={timestamp:(new Date).toISOString(),version:this.cs.settings.version};return this.cs.options.perPurposeConsent&&(this.cs.options.gdprApplies||this.cs.options.lgpdApplies||this.cs.options.fadpApplies)?t.purposes=this.cs.preferenceState.purposes.getPreferences():t.consent=e,t}},{key:"storeConsent",value:function(e){this.storageData=this.getConsentObj(e),this.cs.consent=this.storageData,this.storage.storeConsent()}},{key:"load",value:function(){var e=this,t=N(),n={consent:null,doConsentRewrite:!0},i=this.storage.loadConsentLocal();return i?(this.cs.info("local stored consent found:"),n.doConsentRewrite=!1,this.cs.options.enableRemoteConsent&&this.storage.compactRemote(),n.consent=i,this.storageData=i,t.resolve(n)):(this.cs.info("local stored consent NOT found"),this.storage.loadConsentRemote().then((function(i){e.storageData=i,n.consent=i,t.resolve(n)}))),t}}])}(),Da=function(){return o((function e(t){n(this,e),this.cs=t,this.storage=t.storage,this.tcf=new Aa(t,this.storage),this.usPrivacy=new Oa(t),this.uspr=new Ia(t,this.storage),this.core=new Ba(t,this.storage),this.fadp=new La(t,this.core)}),[{key:"setPreference",value:function(e,t,n){var i=this,o=!1;this.cs.options.reloadOnConsent&&!this.cs.state.consentFoundOnLoad&&(this.cs.state.reloadAfterRemoteSet=(this.cs.options.enableRemoteConsent?1:0)+(this.cs.options.enableTcf?1:0));var a=N();if(this.cs.options.ccpaApplies&&void 0!==e.ccpa&&(!0===e.ccpa?this.cs.preferences.storage.usPrivacy.acknowledgeCcpa():(this.cs.debug("CCPA Opt Out"),this.cs.preferences.storage.usPrivacy.optOutCcpa())),this.cs.options.usprApplies&&void 0!==e.uspr&&(o=!0,this.cs.preferences.storage.uspr.acceptAllUSPurposeConsent(e.uspr)),void 0!==e.purposes&&(o=!0,this.core.setPurposesPreference(e.purposes)),void 0!==e.consent&&(o=!0,this.core.storeConsent(e.consent)),(this.cs.options.gdprApplies||this.cs.options.lgpdApplies)&&void 0!==e.tcfv2){o=!0;var r={tcfv2:e.tcfv2,gac:e.gac};this.tcf.setTcfPreference(r,n).then((function(){return a.resolve()}))}else a.resolve();return a.then((function(){i.cs.updateGppApi(!1,!0,"processed"),o&&i.cs.fireConsentCallbacks(t),i.cs.tracker.consentGiven(t),i.cs.ui.generateFloatingPreferencesButton()})),a}},{key:"load",value:function(){var e=N();return R([this.core.load(),this.tcf.load(),this.uspr.load()]).then((function(t){var n=b(t,3),i=n[0],o=n[1],a=n[2];return e.resolve({core:i,tcf:o,uspr:a})})),e}}])}(),Ea=function(){return o((function e(t){n(this,e),this.cs=t,this.storage=new Da(this.cs)}),[{key:"core",get:function(){return this.storage.core.storageData}},{key:"gac",get:function(){return this.storage.tcf.gacString}},{key:"tcf",get:function(){return this.storage.tcf.tcfString}},{key:"ccpa",get:function(){return this.storage.usPrivacy.getUspString()}},{key:"uspr",get:function(){return this.storage.uspr.loadedData}},{key:"setState",value:function(){this.state=new Pa(this.cs)}},{key:"load",value:function(){var e=this,t=this.storage.load();return t.then((function(t){var n=t.uspr;e.cs.options.fadpApplies&&e.state.purposes.setPreference({all:!0},!0),n&&e.state.usPurposes&&e.state.usPurposes.setPreferences(n)})),t}},{key:"store",value:function(e,t,n){this.storage.setPreference(e,t,n)}}])}(),Ta=function(){return o((function e(t,i){n(this,e),this.cs=t,this.configuration=i,this.state={available:!0,remoteCookieSet:!1,remote:{method:"iframe",get:{acknowledged:!1,timeoutOccurred:!1}}},this.getRemoteConsentPromise=null,this.testStorageAvailability()}),[{key:"oneYearFromDate",value:function(e){var t=864e5;return(31536e6-((new Date).getTime()-e.getTime()))/t}},{key:"getExpireDate",value:function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.expireAfter||this.cs.options.preferenceCookie.expireAfter;if("string"==typeof n){var i=new Date(n.replace("Z365","Z"));n=isNaN(i.getDate())?365:this.oneYearFromDate(i)}var o=null!==(e=t.format)&&void 0!==e?e:"utc",a=new Date;a.setTime(a.getTime()+24*n*60*60*1e3);var r="";switch(o){case"timestamp":r="".concat(a.getTime());break;default:r=a.toUTCString()}return r}},{key:"testStorageAvailability",value:function(){try{this.setLocal("iub_storage_available","1"),this.resetLocal("iub_storage_available")}catch(e){this.state.available=!1}}},{key:"getLocal",value:function(e,t){}},{key:"setLocal",value:function(e,t,n){}},{key:"compactLocal",value:function(){}},{key:"reset",value:function(e){}},{key:"resetLocal",value:function(){}},{key:"setLocalCMP",value:function(e,t,n){}},{key:"getLocalCMP",value:function(e){}},{key:"resetRemote",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.resetRemoteCookie(e,t)}},{key:"getRemote",value:function(){return this.getRemoteCookies()}},{key:"compactRemote",value:function(){return this.compactRemoteCookies()}},{key:"storeConsent",value:function(e){this.storeConsentLocal(e),this.storeConsentRemote(e)}},{key:"storeConsentLocal",value:function(e){}},{key:"storeConsentRemote",value:function(){this.cs.options.enableRemoteConsent?(this.cs.info("store consent prefs into remote cookie ..."),this.setRemoteCookie(this.configuration.consentNameRemote,this.cs.consent),this.cs.options.ccpaApplies&&this.setRemoteCookie(this.configuration.ccpaNameRemote,this.cs.usPrivacyCookie)):this.cs.warn("skip saving remote consent since enableRemoteConsent option is provided FALSE")}},{key:"loadConsentLocal",value:function(){}},{key:"resetRemoteCookie",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};switch(this.state.remote.method){case"callback":this.resetRemoteCookiesViaCallback();break;default:this.resetRemoteCookieViaIframe(e,t)}}},{key:"getRemoteCookies",value:function(){var e=this;switch(this.getRemoteConsentPromise=N(),this.state.remote.method){case"callback":this.getRemoteCookiesViaCallback();break;default:this.getRemoteCookiesViaIframe()}return setTimeout((function(){e.timeoutGetRemote()}),this.cs.settings.timeoutOnRemoteGet),this.getRemoteConsentPromise}},{key:"timeoutGetRemote",value:function(){this.cs.debug("Callback on getting remote fired"),this.state.remote.get.acknowledged||this.state.remote.get.timeoutOccurred||(this.state.remote.get.timeoutOccurred=!0,this.cs.warn("Getting from remote failed"),this.cs.info("Remote prefs NOT found!"),this.getRemoteConsentPromise&&this.getRemoteConsentPromise.resolve())}},{key:"compactRemoteCookies",value:function(){switch(this.state.remote.method){case"callback":this.cs.debug("skipping compact remote cookie since in 'callback' remote method");break;default:this.cs.debug("compacting remote cookies ..."),this.createCSIframeBridge({meth:"compact"})}}},{key:"remoteCookiesSet",value:function(e){e?this.cs.checkIfReloadAfterRemoteSet():this.cs.error("remote cookies setting failed.")}},{key:"pickUpRemoteCookie",value:function(e){if(this.state.remote.get.timeoutOccurred)this.cs.warn("Remote callback received too late");else{this.state.remote.get.acknowledged=!0;var t=null;try{t=JSON.parse(e[this.configuration.consentNameRemote])}catch(e){if(this.cs.options.raiseOnException)throw e;t=null}this.loadConsentRemoteCallback(t)}}},{key:"loadConsentRemote",value:function(){var e=this,t=N();return this.cs.options.enableRemoteConsent&&!this.cs.state.invalidatingConsent?this.getRemote().then((function(n){e.compactRemoteCookies(),t.resolve(n)})):(this.cs.info("skip loading remote consent since "+(this.cs.state.invalidatingConsent?"consent has been invalidated to resurface the banner":"enableRemoteConsent option is provided FALSE")),t.resolve()),t}},{key:"setRemoteCookieViaCallback",value:function(e,t){var n=this.buildLoopbackServerUrl()+this.cs.options.loopbackServer.callback.setRemoteCookiePath;n=jn(n,e,encodeURIComponent(JSON.stringify(t))),this.cs.debug("setting cross site cookies via callback at url: "+n),$e(n)}},{key:"buildLoopbackServerUrl",value:function(){var e="https://";return"iframe"===this.state.remote.method?e+=this.cs.options.loopbackServer.iframeBridge.host:e+=this.cs.options.loopbackServer.callback.host,e}},{key:"setRemoteCookieViaIframe",value:function(e,t){this.createCSIframeBridge(p({cookieValue:t,c_name:e,meth:"set"},this.convertToMigrateCookieName(e)))}},{key:"getRemoteCookiesViaCallback",value:function(){var e=this.buildLoopbackServerUrl()+this.cs.options.loopbackServer.callback.getRemoteCookiePath;this.cs.debug("getting cross site cookies via callback at url: "+e),$e(e)}},{key:"convertToMigrateCookieName",value:function(e){return this.cs.options.storage.useSiteId?{migrate_name:e.replace(/(s[0-9]+)/,this.cs.options.cookiePolicyId)}:null}},{key:"getMigrateCookieName",value:function(e){if(!this.cs.options.storage.useSiteId)return null;this.configuration.forceCookiePolicyId=!0;var t=this.configuration[e];return this.configuration.forceCookiePolicyId=!1,{migrate_name:t}}},{key:"getRemoteCookiesViaIframe",value:function(){if(this.cs.options.gdprApplies){var e=p({meth:"get",c_name:this.configuration.consentNameRemote},this.getMigrateCookieName("consentNameRemote"));this.createCSIframeBridge(e)}if(this.cs.options.ccpaApplies){var t=p({meth:"get",c_name:this.configuration.ccpaNameRemote},this.getMigrateCookieName("ccpaNameRemote"));this.createCSIframeBridge(t)}}},{key:"setRemote",value:function(e,t){return this.setRemoteCookie(e,t)}},{key:"setRemoteCookie",value:function(e,t){switch(this.state.remote.method){case"callback":this.setRemoteCookieViaCallback(e,t);break;default:this.setRemoteCookieViaIframe(e,t)}}},{key:"createIframeBridge",value:function(e,t){var n,i=document.createElement("IFRAME"),o=[location.protocol,"//",location.host,location.pathname].join(""),a=this.buildLoopbackServerUrl()+this.cs.options.loopbackServer.iframeBridge.iframePath;n=jn(a,"origin",encodeURIComponent(o)),Object.keys(e).forEach((function(t){n=jn(n,t,encodeURIComponent(JSON.stringify(e[t])))})),i.setAttribute("src",n),i.setAttribute("aria-hidden","true"),i.setAttribute("title","Iframe bridge"),i.setAttribute("style","width:0px; height:0px; display:none; visibility:hidden"),Xe((function(){document.body.appendChild(i)}),!0)}},{key:"createCSIframeBridge",value:function(e){this.createIframeBridge(e,this.cs.options.loopbackServer.iframeBridge)}},{key:"resetRemoteCookieViaIframe",value:function(e,t){this.createCSIframeBridge({options:t,c_name:e,meth:"reset"})}},{key:"resetRemoteCookiesViaCallback",value:function(){var e=this.buildLoopbackServerUrl()+this.options.loopbackServer.callback.resetRemoteCookiePath;this.debug("reset cross site cookies via callback at url: "+e),this.insertScript(e)}}])}(),Fa=function(e){function i(e,o){return n(this,i),t(this,i,[e,o])}return l(i,e),o(i,[{key:"testStorageAvailability",value:function(){try{this.setLocal("iub_storage_available","1"),this.state.available=-1!=document.cookie.indexOf("iub_storage_available="),this.resetLocal("iub_storage_available")}catch(e){this.state.available=!1}}},{key:"getLocal",value:function(e,t){return this.getLocalCookie(e,t)}},{key:"getLocalCookie",value:function(e,t){var n;this.cs.debug("reading cookie from local domain: "+e);for(var i=[],o=Wn.all(),a=0;a "+l),Wn.setItem(e,r,c)}catch(t){this._setLocalCookieInChunks({name:e,valueToSave:r,cookieExpression:l,maxCookieSize:i.maxCookieSize,maxCookieChunks:i.maxCookieChunks,setCookieOptions:n})}}},{key:"_setLocalCookieInChunks",value:function(e){var t=e.name,n=e.valueToSave,i=e.cookieExpression,o=e.maxCookieSize,a=e.maxCookieChunks,r=e.setCookieOptions,s=function(e,t){return e.match(new RegExp(".{1,"+t+"}","g"))||[]}(n,o-(i.length-n.length)-2);if(s.length>a)return this.cs.error("cookie `"+t+"` should be split into "+s.length+" cookies, more than the allowed "+a+" chunks, aborting."),void this.cs.debug("was trying to save: "+i);for(var c=0;c3){var s=this.isAllowedMultilevelDomain.call(this,e);r.length<4&&!s?n=3:s&&(n=o.length-1)}t="."+e.split(".").reverse().slice(0,n).reverse().join(".")}return t}},{key:"getAllowedMultilevelDomains",value:function(){return["blogspot","myshopify","wordpress","wixsite","wix","weebly","webflow","webnode","jimdo","jimdofree","squarespace","softr"]}},{key:"isAllowedMultilevelDomain",value:function(e){return this.getAllowedMultilevelDomains().some((function(t){var n=new RegExp(".".concat(t,".[a-z]{2,}(.[a-z]{2,})?$"),"i");return null!==e.match(n)}))}},{key:"_getLocalConsentDomain",value:function(e,t){return e.localConsentDomainExact?"":t}},{key:"_getCookieLocalDomain",value:function(){this.getCookieLocalDomain.apply(this,arguments)}}])}(Ta),Na=function(e){function i(e,o){return n(this,i),t(this,i,[e,o])}return l(i,e),o(i,[{key:"getLocal",value:function(e,t){if(!this.state.available)return"";var n=window.localStorage.getItem(e);return null===n?"":t?n:B(n)}},{key:"setLocal",value:function(e,t,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];if(!this.state.available)return"";var o=t,a="object"===k(t)&&null!==t;return a&&(o=JSON.stringify(_(t,{expireAfter:this.getExpireDate(n)}))),window.localStorage.setItem(e,o),i?this.getLocal(e):null}},{key:"reset",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=!1!==e.local,n=!1!==e.remote;if(t&&this.state.available&&(window.localStorage.removeItem(this.configuration.consentNameLocal),window.localStorage.removeItem(this.configuration.consentUsprNameLocal),this.cs.options.ccpaApplies&&window.localStorage.removeItem(this.configuration.ccpaNameLocal)),n){var i=this.cs.options.cookiePolicyId;this.resetRemote(this.configuration.consentNameRemote,{cookiePolicyId:i}),this.resetRemote(this.configuration.consentUsprNameLocal),this.cs.options.ccpaApplies&&this.resetRemote(this.configuration.ccpaNameRemote)}}},{key:"resetLocal",value:function(e){this.state.available&&(window.localStorage.removeItem(e),this.cs.debug("resetting local storage: ",e))}},{key:"setLocalCMP",value:function(e,t,n){this.state.available&&window.localStorage.setItem(e,t)}},{key:"getLocalCMP",value:function(e){return this.cs.info("getLocalCMP: "+e),this.getLocal(e,!0)}},{key:"storeConsentLocal",value:function(e){this.cs.info("store consent prefs into local cookie ...");var t=this.cs.consent;t.id=this.cs.options.cookiePolicyId;try{this.setLocal(this.configuration.consentNameLocal,t,e)}catch(e){this.cs.error("store_consent_loc: "+(e.message||e.toSource()))}}},{key:"loadConsentLocal",value:function(){return this.getLocal(this.configuration.consentNameLocal)}}])}(Ta),Ra={COOKIE:"cookieStorage",LOCAL_STORAGE:"localStorage",ALL:"all"},Va=function(){return o((function e(t){n(this,e),this.cs=t,this.forceCookiePolicyId=!1}),[{key:"storageId",get:function(){return this.forceCookiePolicyId?this.cs.options.cookiePolicyId:this.cs.options.siteId&&this.cs.options.storage.useSiteId?"s"+this.cs.options.siteId:this.cs.options.cookiePolicyId}},{key:"consentNameRemote",get:function(){return this.consentNameLocal}},{key:"consentNameLocal",get:function(){return this.cs.settings.consentCookieNameBase+this.storageId}},{key:"consentUsprNameLocal",get:function(){return this.cs.settings.consentCookieNameBase+this.storageId+"-uspr"}},{key:"consentUsprNameRemote",get:function(){return this.consentUsprNameLocal}},{key:"consentGranularNameLocal",get:function(){return this.cs.settings.consentCookieNameBase+this.storageId+"-granular"}},{key:"consentGranularNameRemote",get:function(){return this.consentGranularNameLocal}},{key:"consentNameLocalOld",get:function(){return this.cs.settings.consentCookieNameBase+"local"}},{key:"ccpaNameRemote",get:function(){return this.cs.settings.USPRIVACY_COOKIE+"-"+this.storageId}},{key:"ccpaNameLocal",get:function(){return this.cs.settings.USPRIVACY_COOKIE}},{key:"preferenceIdNameLocal",get:function(){return this.cs.settings.PREFERENCE_ID}},{key:"preferenceIdNameRemote",get:function(){return this.preferenceHistoryNameLocal}}])}(),ja=function(){return o((function e(t){if(n(this,e),!t)throw new Error("Storage: no options passed");if(!t.cs)throw new Error("Storage: options.cs required");var i=t.cs.options||{};this.options=i,this.cs=t.cs,this.configuration=new Va(this.cs),this.setupStorageDrivers(),this.setupStorageTypes(),window.addEventListener("message",this.receiveMessageFromBridge.bind(this),!1)}),[{key:"setupStorageDrivers",value:function(){var e=Ra.COOKIE,t=Ra.LOCAL_STORAGE;this[e]=new Fa(this.cs,this.configuration),this[t]=new Na(this.cs,this.configuration),this.storageDrivers=r(r({},e,this[e]),t,this[t])}},{key:"setupStorageTypes",value:function(){var e,t,n,i,o,a,r,s;this.storageDefault=null!==(e=null===(t=this.options.storage)||void 0===t?void 0:t.type)&&void 0!==e?e:"cookie",this.storageDefault=this.storageDefault.toUpperCase(),this.storageType=Ra[this.storageDefault],this.usprivacyStorageType=null!==(n=this.options.storage)&&void 0!==n&&null!==(n=n.items)&&void 0!==n&&null!==(n=n.usprivacy)&&void 0!==n&&n.type?Ra[this.options.storage.items.usprivacy.type.toUpperCase()]:this.storageType,this.usprStorageType=null!==(i=this.options.storage)&&void 0!==i&&null!==(i=i.items)&&void 0!==i&&null!==(i=i.uspr)&&void 0!==i&&i.type?Ra[this.options.storage.items.uspr.type.toUpperCase()]:this.storageType,this.tcfStorageType=null!==(o=this.options.storage)&&void 0!==o&&null!==(o=o.items)&&void 0!==o&&null!==(o=o.tcf)&&void 0!==o&&o.type?Ra[this.options.storage.items.tcf.type.toUpperCase()]:this.storageType,this.coreStorageType=null!==(a=this.options.storage)&&void 0!==a&&null!==(a=a.items)&&void 0!==a&&null!==(a=a.core)&&void 0!==a&&a.type?Ra[this.options.storage.items.core.type.toUpperCase()]:this.storageType,this.granularStorageType=null!==(r=this.options.storage)&&void 0!==r&&null!==(r=r.items)&&void 0!==r&&null!==(r=r.granular)&&void 0!==r&&r.type?Ra[this.options.storage.items.granular.type.toUpperCase()]:this.storageType,this.preferenceIdStorageType=null!==(s=this.options.storage)&&void 0!==s&&null!==(s=s.items)&&void 0!==s&&null!==(s=s.preferenceId)&&void 0!==s&&s.type?Ra[this.options.storage.items.preferenceId.type.toUpperCase()]:this.storageType}},{key:"syncStorage",value:function(){var e,t=this;[this.configuration.consentNameLocal,this.configuration.consentUsprNameLocal,this.configuration.ccpaNameLocal,this.configuration.consentGranularNameLocal,this.configuration.preferenceIdNameLocal,null===(e=this.options.preferenceCookie)||void 0===e?void 0:e.tcfV2Name].forEach((function(e){var n=t.getStorageType(e),i=t.getSyncStorageType(n),o=t[i].getLocal(e,!0);if(o){var a=t.processStorageValue(n,o);t[n].setLocal(e,a,null,!1),t[i].resetLocal(e)}}))}},{key:"processStorageValue",value:function(e,t){if(/^%7B.*%7D$/i.test(t)){if(e===Ra.LOCAL_STORAGE)return decodeURIComponent(t)}else if(/^\{.*\}$/i.test(t)&&e===Ra.COOKIE)return encodeURIComponent(t);return t}},{key:"getSyncStorageType",value:function(e){return e===Ra.COOKIE?Ra.LOCAL_STORAGE:Ra.COOKIE}},{key:"getStorageType",value:function(e){var t,n=Ra.COOKIE;switch(e.replace(/^_iub_cs-(([\d]{3,}_[\d]{3,})|s?[\d]*)/,"_iub_cs")){case"usprivacy":n=this.usprivacyStorageType;break;case"euconsent-v2":n=this.tcfStorageType;break;case"_iub_cs-uspr":n=this.usprStorageType;break;case"_iub_cs-granular":n=this.granularStorageType;break;case"_iub_cs":n=this.coreStorageType;break;case null===(t=this.cs.options.preferenceCookie)||void 0===t?void 0:t.tcfV2Name:n=this.tcfStorageType;break;case this.configuration.preferenceIdNameLocal:n=this.preferenceIdStorageType}return n}},{key:"setLocalCookie",value:function(e,t,n){return this.setLocal(e,t,n)}},{key:"setLocal",value:function(e,t,n){var i=this,o=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],a="";n=n||{};var r=this.getStorageType(e);return r===Ra.ALL?Object.keys(Ra).forEach((function(r){"ALL"!==r&&(a=i[Ra[r]].setLocal(e,t,n,o))})):a=this[r].setLocal(e,t,n,o),a}},{key:"setLocalCMP",value:function(e,t,n){var i=this,o="",a=this.getStorageType(e);return a===Ra.ALL?Object.keys(Ra).forEach((function(a){"ALL"!==a&&(o=i[Ra[a]].setLocalCMP(e,t,n))})):o=this[a].setLocalCMP(e,t,n),o}},{key:"setRemote",value:function(e,t){return this[this.getStorageType(e)].setRemote(e,t)}},{key:"compactRemote",value:function(){return this[this.storageType].compactRemote()}},{key:"getLocalCookie",value:function(e,t){return this.getLocal(e,t)}},{key:"getLocal",value:function(e,t){return this[this.getStorageType(e)].getLocal(e,t)}},{key:"getLocalCMPCookie",value:function(e){return this.getLocalCMP(e)}},{key:"getLocalCMP",value:function(e){return this[this.getStorageType(e)].getLocalCMP(e)}},{key:"resetLocalCookie",value:function(e){return this[this.getStorageType(e)].resetLocal(e)}},{key:"loadConsentLocal",value:function(){return this[this.getStorageType("_iub_cs")].loadConsentLocal()}},{key:"loadConsentRemote",value:function(){return this[this.getStorageType("_iub_cs")].loadConsentRemote()}},{key:"storeConsent",value:function(e){this.options.skipSaveConsent?this.cs.info("NOT saving consent in cookie since options.skipSaveConsent is provided TRUE"):this[this.getStorageType(this.configuration.consentNameLocal)].storeConsent(e)}},{key:"storeConsentLocal",value:function(e){return this.storeConsent(e)}},{key:"reset",value:function(e){for(var t in this.storageDrivers)Object.prototype.hasOwnProperty.call(this.storageDrivers,t)&&this.storageDrivers[t].reset(e)}},{key:"resetCookies",value:function(e){return this.reset(e)}},{key:"pickUpRemoteCookie",value:function(e){this.cookieStorage.pickUpRemoteCookie(e)}},{key:"receiveMessageFromBridge",value:function(e){if(-1===e.origin.indexOf(this.cs.options.loopbackServer.iframeBridge.host))return null;var t="";try{t=JSON.parse(e.data)}catch(e){if(this.cs.options.raiseOnException)throw e;this.cs.error("Exception while decoding message from iFrame bridge: "+(e.message||e))}if(t&&t.action)switch(t.action){case"pickUpRemoteCookie":this[this.getStorageType(this.configuration.consentNameLocal)].state.remote.get.timeoutOccurred?this.cs.warn("Remote callback received too late"):this.loadConsentRemoteCallback(t.cName,t.data);break;case"remoteCookieSet":this.cs.checkIfReloadAfterRemoteSet();break;case"remoteCookiesCompact":this.cs.debug("remote cookies compact");break;default:this.cs.error("Unrecognized message from iFrame bridge: "+JSON.stringify(t))}else this.cs.error("Unrecognized message from iFrame bridge: "+JSON.stringify(t));return t}},{key:"loadConsentRemoteCallback",value:function(e,t){if(t){this.cs.info("Remote prefs found!"),this.cs.debug(t);var n=this.getStorageType(this.configuration.consentNameLocal),i=this.getStorageType(this.configuration.ccpaNameLocal);switch(e){case this.configuration.consentNameRemote:this.cs.consent=t,this[n].setLocal(this.configuration.consentNameLocal,t),this[n].state.remote.get.acknowledged=!0,this[n].getRemoteConsentPromise&&this[n].getRemoteConsentPromise.resolve(t);break;case this.configuration.ccpaNameRemote:this.cs.usPrivacyCookie=t,this[i].setLocal(this.configuration.ccpaNameLocal,t),this[i].state.remote.get.acknowledged=!0,this[i].getRemoteConsentPromise&&this[i].getRemoteConsentPromise.resolve(t)}this.cs.options.reloadOnConsent&&(this.cs.info("page will be reloaded (reloadOnConsent==true) once local prefs are set"),this.cs.state.reloadAfterLocaleSet=!0)}else this.cs.info("Remote prefs NOT found!")}}])}(),Ma=function(){return o((function e(t){var i=this,o=t.options,a=t.preferences;n(this,e);var r=document.getElementsByTagName("head")[0];ct("#iubenda_cs_rejection_recovery_popup{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.5);display:flex;justify-content:center;align-items:center;z-index:9999999999;font-family:sans-serif}#iubenda_cs_rejection_recovery_popup .iubenda-cs__close{background:0 0;display:flex;width:20px;height:20px;text-align:center;font-size:16px;font-weight:700;margin:0 0 -20px 0;padding:0;justify-content:center;align-items:center;border:0;cursor:pointer;align-self:flex-end}#iubenda_cs_rejection_recovery_popup .iubenda-cs__dialog{max-width:320px;border-radius:.5rem;box-shadow:0 0 2rem rgba(0,0,0,.25),0 0 0 1px rgba(0,0,0,.05);margin:auto;overflow:hidden;padding:1.5rem;display:flex;flex-direction:column;grid-gap:1.5rem;background:#fff;color:#222;box-sizing:border-box}#iubenda_cs_rejection_recovery_popup .iubenda-cs__body h1{font-size:1.25rem;margin:0 0 .5rem 0}#iubenda_cs_rejection_recovery_popup .iubenda-cs__body p{margin:0;font-weight:300}#iubenda_cs_rejection_recovery_popup .iubenda-cs__button{font-size:100%;border-radius:4rem;padding:.5rem 1rem;font-weight:700;background-color:#0073ce!important;color:#fff!important;border:0;width:100%;cursor:pointer}#iubenda_cs_rejection_recovery_popup .iubenda-cs__button:hover{background-color:#005aa0!important}",r),this.csOptions=o,this.csPreferences=a,this.container=null,document.querySelectorAll("._iub_cs_activate-popup").forEach((function(e){e.addEventListener("click",(function(e){var t,n=i.csPreferences.state.purposes,o=i.csPreferences.state.usPurposes,a=e.target.getAttribute("data-iub-purposes"),r=a.split(",").map((function(e){return e.trim()})),s=!o.isActive||(null===(t=o.checkPurposes(a))||void 0===t||t),c=n.processPurposesString(a),l=n.hasApproved(c);if(!1===i.csOptions.gdprApplies&&!1===i.csOptions.lgpdApplies&&!1===i.csOptions.fadpApplies&&(l=!0),!(s&&l))return e.stopPropagation(),void i.openIubendaRejectionRecoveryPopup(e.target,r)}),!0)}))}),[{key:"openIubendaRejectionRecoveryPopup",value:function(e,t){if(this.container=document.getElementById("iubenda_cs_rejection_recovery_popup"),this.container){var n=this.container.querySelector(".iubenda-cs__dialog"),i=n.querySelector(".iubenda-cs__button");Ge(i),this.appendButtonElement(n,t,e),this.container.style.display=""}else{var o,a,r=ot({"background-color":null===(o=this.csOptions.banner)||void 0===o?void 0:o.backgroundColor,color:null===(a=this.csOptions.banner)||void 0===a?void 0:a.textColor}).replace('style="',"").replace('"',"");this.container=document.createElement("div"),this.container.id="iubenda_cs_rejection_recovery_popup";var s=document.createElement("div");s.className="iubenda-cs__dialog",s.setAttribute("style",r),this.appendCloseButton(s),this.appendContentElement(s,t),this.appendButtonElement(s,t,e),this.container.appendChild(s),document.body.appendChild(this.container)}}},{key:"appendContentElement",value:function(e,t){var n=this,i=t.map((function(e){return n.getIubendaPurposeListName(e)})).join(", "),o=document.createElement("div");o.className="iubenda-cs__body";var a=document.createElement("h2");a.innerText=dn("blocked_popup.title");var r=document.createElement("p");r.innerHTML=dn("blocked_popup.paragraph").replace("%{purposes}",i),o.appendChild(a),o.appendChild(r),e.appendChild(o)}},{key:"appendButtonElement",value:function(e,t,n){var i,o,a=this,r=ot({"background-color":null===(i=this.csOptions.banner)||void 0===i?void 0:i.acceptButtonColor,color:null===(o=this.csOptions.banner)||void 0===o?void 0:o.acceptButtonCaptionColor}).replace('style="',"").replace('"',""),s=document.createElement("button");s.className="iubenda-cs__button",s.innerText=dn("blocked_popup.accept_button"),s.setAttribute("style",r),s.addEventListener("click",(function(){a.container.style.display="none";var e={consent:!0};t.forEach((function(t){!!a.csPreferences.state.usPurposes.validatePurposes(t).length?(e.uspr=e.uspr||{},e.uspr[t]=!0):(e.purposes=e.purposes||{},e.purposes[t]=!0)})),a.csPreferences.store(e,"cookiePolicyClosed",!1),n.click()})),e.appendChild(s)}},{key:"appendCloseButton",value:function(e){var t=this,n=document.createElement("button");n.className="iubenda-cs__close",n.innerText="✕",n.addEventListener("click",(function(){t.container.style.display="none"})),e.appendChild(n)}},{key:"getIubendaPurposeListName",value:function(e){var t,n,i=this.csPreferences.state.usPurposes,o=this.csOptions.lang;return o?i.validatePurposes(e).length?(null===(n=this.csOptions.i18nForBanner)||void 0===n||null===(n=n[o])||void 0===n||null===(n=n.uspr)||void 0===n||null===(n=n.purposes)||void 0===n?void 0:n[e])||"":(null===(t=this.csOptions.i18nForBanner)||void 0===t||null===(t=t[o])||void 0===t||null===(t=t.per_purpose)||void 0===t||null===(t=t.purposes)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.name)||"":""}}])}(),Ua=function(){return o((function e(t){var i=t.options;n(this,e),this.packageUrl="https://cdn.iubenda.com/aw/versions/0.0.7/accessibility-widget.iife.js",this.options=i,this.loaded=!1,this.emitter=new At,this.load()}),[{key:"load",value:function(){var e,t=this;if(!this.loaded)return _iub.accessibilityWidget?(this.loaded=!0,void this.postLoad()):void(e=this.packageUrl,new Promise((function(t,n){var i=document.createElement("script");i.src=e,i.setAttribute("charset","UTF-8"),i.onload=function(){return t()},i.onerror=function(){return n(new Error("Failed to load script: ".concat(e)))},document.head.appendChild(i)}))).then((function(){t.loaded=!0,t.emitter.emit("iub.accessibilityWidget.load",t),t.postLoad()}))}},{key:"postLoad",value:function(){this.loaded&&this.options.accessibilityWidget.autoInit&&this.init()}},{key:"init",value:function(){if(this.loaded){var e=this.options.accessibilityWidget.sitePublicId;e&&(_iub.accessibilityWidget.init({sitePublicId:e,autoLoad:!0,v1Style:!this.options.floatingGroup,lang:this.options.lang}),this.emitter.emit("iub.accessibilityWidget.init",this))}}},{key:"on",value:function(e,t){this.emitter.on(e,t)}},{key:"off",value:function(e,t){this.emitter.off(e,t)}}])}(),za=function(){return o((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};n(this,e),this.sharedData=t}),[{key:"register",value:function(e){var t=null;try{vt.info("Register module:",e.name),t=new e(this.sharedData)}catch(t){vt.error("Register module error:",e.name,t)}return t}}])}();function Wa(e,t){var n=864e5;return(t*n-Date.now()+new Date(e).getTime())/n}function Ga(e){var t=[],n=(e||"").split("~"),i=n[0],o=n[1],a=n[2],r=function(e){for(var t=[],n=0,i=!1,o=e.split(".").map((function(e){return Number(e)})).sort((function(e,t){return e-t})),a=Math.max.apply(null,o),r=1;r<=a;r++){var s=-1!==o.indexOf(r);s!==i&&(t.push(n),i=s,n=0),n++}return n&&t.push(n),String.fromCharCode.apply(null,new Int16Array(t))};if(i){t.push(i);var s=r(o||"");if(t.push(s),a){var c=r(a.replace("dv.",""));t.push(c)}}var l=t.join("~");return btoa(unescape(encodeURIComponent(l)))}function Ha(e){return"1~"===(e||"").substring(0,2)?function(e){var t=(e||"").split("~"),n=t[0],i=t[1]||"",o=[];if(n){if(i){var a=decodeURIComponent(escape(atob(i)));o=new Int16Array(a.split("").map((function(e){return e.charCodeAt(0)})))}return n+"~"+o.join(".")}return""}(e):function(e){var t=[],n=decodeURIComponent(escape(atob(e))).split("~"),i=n[0],o=n[1],a=n[2],r=function(e){for(var t=[],n=1,i=new Int16Array(e.split("").map((function(e){return e.charCodeAt(0)}))),o=0;o2&&void 0!==arguments[2]?arguments[2]:{};n(this,e),Ot(this),this.settings=ht,this.VERSION=this.settings.version,this.remoteConfig=r,this.state={enabled:!0,preLoaded:!1,errors:[],fatalError:!1,inlineUniqId:0,invalidatingConsent:!1,inIframe:!1,consentFoundOnLoad:!1,reloadAfterRemoteSet:!1,reloadAfterLocaleSet:!1,activatingNoPriorConsent:!1,needsConsent:!0,tcfv2String:null,cpOpen:!1,isCmpCssLoaded:0,uspString:"1---",ccpaAcknowledged:!1,ccpaOptedOut:!1,ccpaUspVersion:1,ccpaUspStateFound:!1,ccpaOptOutConfirmationOpen:!1,currentView:"",remoteConfigLoaded:!1,fromSDK:!1},this.setConfiguration(t),this.activator=new fo(this),this.crossSiteConsent={},this.consent=this.getInitialConsent(),this.checkIfInIframe(),this.ui=new xi(this),this.tracker=new bo(this),this.storage=new ja({cs:this}),this.options.storage.autoSync&&this.storage.syncStorage(),this.cookie=this.storage,null===(o=(a=_iub).__csAmpHook)||void 0===o||o.call(a,this,Ta),this.browserDetect=new be,this.api=new Eo(this),this.cmpLibraryPromise=i,this.storeCMPChoicePromise=N(),this.customPreferencesResult=this.fetchCustomPreferences(),this.savedPreferences={},this.customPurposes=null,this.firstActivationCompletedPromise=N(),this.preferences=new Ea(this),this.modules=new za({options:this.options,preferences:this.preferences})}),[{key:"getInitialConsent",value:function(){return{consent:void 0,timestamp:void 0,version:void 0}}},{key:"getPreferenceHistroyItem",value:function(){this.debug("Reading ".concat(this.storage.configuration.preferenceIdNameLocal," ..."));var e=this.storage.getLocal(this.storage.configuration.preferenceIdNameLocal)||{};return"object"!==k(e)?{}:e}},{key:"getPreferenceIdStorageKey",value:function(){return this.options.storage.useSiteId?"s".concat(this.options.siteId):this.options.cookiePolicyId}},{key:"getPreferenceId",value:function(){var e,t=this.getPreferenceIdStorageKey();return this.debug("Reading preferenceId of ".concat(t," ...")),(null===(e=this.getPreferenceHistroyItem())||void 0===e?void 0:e[t])||null}},{key:"updatePreferenceId",value:function(e){var t=this.getPreferenceIdStorageKey();this.debug("Updating preferenceId of ".concat(t," to: '").concat(e,"'"));var n=this.getPreferenceHistroyItem()||{};n[t]=e,this.storage.setLocal(this.storage.configuration.preferenceIdNameLocal,n,null,!1)}},{key:"syncPreferenceId",value:function(){var e,t,n;this.debug("Syncing preferenceId...");var i=null;if(null!==(e=_iub.cs.consent)&&void 0!==e&&null!==(e=e.cons)&&void 0!==e&&e.returnedId)i=_iub.cs.consent.cons.returnedId;else if(null!==(t=_iub.cs.consent)&&void 0!==t&&t.timestamp&&null!==(n=_iub.cs.consent)&&void 0!==n&&null!==(n=n.cons)&&void 0!==n&&n.rand){var o;i=le(_iub.cs.consent.timestamp,null===(o=_iub.cs.consent)||void 0===o||null===(o=o.cons)||void 0===o?void 0:o.rand)}if(i)try{this.updatePreferenceId(i)}catch(e){this.error("Error on preferences sync",e)}}},{key:"checkIfInIframe",value:function(){try{this.state.inIframe=window.self!==window.top}catch(e){}}},{key:"setCurrentView",value:function(e){this.state.currentView=e}},{key:"fetchCustomPreferences",value:function(){var e=this.storage.getLocal(this.storage.configuration.consentGranularNameLocal),t=this.decodeCustomPreferences(e);return this.isGoogleAdditionalConsentValid()||delete t.gac,t}},{key:"decodeCustomPreferences",value:function(e){return e&&Object.prototype.hasOwnProperty.call(e,"gac")?A(e,{gac:Ha(e.gac)}):e}},{key:"renewCookies",value:function(){var e=this;if(this.state.needsConsent&&this.isPreferenceExpressed()){var t=Wa(this.consent.timestamp,this.options.preferenceCookie.expireAfter);this.storage.storeConsentLocal({expireAfter:t})}if(this.options.enableTcf&&this.state.tcfv2String){var n={expireAfter:Wa(Jn(this.state.tcfv2String).getLastUpdate(),this.settings.MAX_TCF2_COOKIE_DURATION)};this.storeCMPPreference(this.state.tcfv2String,n)}if(this.refreshGACConsent().then((function(){e.storeCustomPreferences(e.customPreferencesResult,!0)})),this.preferenceState.usPurposes.userConsentGiven&&this.preferences.storage.uspr.storeUSPurposeCookie(),this.usPrivacyCookie){var i=(this.usPrivacyCookie.optOutDate?this.usPrivacyCookie.optOutDate:0)+(this.options.ccpaCookie.expireAfter?this.options.ccpaCookie.expireAfter:0);this.storage.setLocal(this.settings.USPRIVACY_COOKIE,this.usPrivacyCookie,{expireAfter:i})}}},{key:"refreshGACConsent",value:function(){var e,t=this,n=N();if(null===(e=this.customPreferencesResult)||void 0===e||!e.gac)return n.resolve();var i=this.customPreferencesResult.gac,o=i.split("~");if(Number(o[0])===this.options.gacVersion)return n.resolve();var a=this.ui.getSavedPreferences();return this.createCmpWidget(a.cmpCookie,a.customPreferences),document.addEventListener("acVendorUpdate",(function(){t.ui.cmpWidget.acInitialize(),t.ui.cmpWidget.acSetState(i);var e=t.ui.cmpWidget.getCustomPreferences();t.customPreferencesResult=e,t.ui.cmpWidget.customPreferences=e,_iub.cmp.setAcmString(e),n.resolve()})),n}},{key:"createCmpWidget",value:function(e,t){var n=e,i=t;this.ui.previousTCFPreferences&&(n=this.ui.previousTCFPreferences.cmpCookie,i=this.ui.previousTCFPreferences.customPreferences);var o=this.options.lang,a=Jt[o];a||(a=Jt.en);var r=a.tcf_v2||Jt.en.tcf_v2,s=this.getCustomPurposes();this.ui.cmpWidget=new _iub.cmp.Widget(n,o,r,s,i,{popover:this.ui.popover,promiseCreate:N})}},{key:"isPreferenceExpressed",value:function(){var e=this.options,t=e.gdprApplies,n=e.lgpdApplies,i=e.usprApplies,o=e.fadpApplies,a=e.perPurposeConsent,r=e.enableTcf,s=e.askConsentIfCMPNotFound,c=e.skipSaveConsent;if(t||n||o){var l;if(a&&!this.preferenceState.purposes.hasGivenPreference())return!1;if(!(a||this.consent&&void 0!==(null===(l=this.consent)||void 0===l?void 0:l.consent)))return!1}return!(i&&!this.preferenceState.usPurposes.userConsentGiven)&&(!(!c&&s&&r&&!this.state.tcfv2String&&t)&&(t||n||i||o))}},{key:"getPreferencesExpressed",value:function(){var e=p({},this.getPreferences());return this.options.ccpaApplies&&(e.ccpa=this.preferences.storage.usPrivacy.generateCcpaCookie()),e}},{key:"storeCMPPreference",value:function(e,t){var n=No(this.options);try{this.storage.setLocalCMP(n,e,t)}catch(e){this.error("Error on store CMP preferences",e)}this.checkIfReloadAfterRemoteSet()}},{key:"checkIfReloadAfterRemoteSet",value:function(){this.debug("remote cookies successfully set."),"number"==typeof this.state.reloadAfterRemoteSet&&(this.state.reloadAfterRemoteSet--,this.state.reloadAfterRemoteSet<=0&&this.reloadPage())}},{key:"reloadPage",value:function(){var e=-1!==navigator.userAgent.indexOf("Google")?500:0,t=this.options.reloadOnConsentRequestTimeout||0,n=Math.max(e,t);this.info("Reloading page at consent given ..."),0===n?location.reload(!0):setTimeout((function(){location.reload(!0)}),n)}},{key:"storeCustomPreferences",value:function(e,t){if(this._acknowledgeCustomPreferences(e),e){(t?this.isGoogleAdditionalConsentValid():this.options.googleAdditionalConsentMode)||delete e.gac;var n=this.encodeCustomPreferences(e);try{this.storage.setLocal(this.storage.configuration.consentGranularNameLocal,n)}catch(e){this.error("Error on store custom preferences",e)}}}},{key:"_acknowledgeCustomPreferences",value:function(e){this.customPreferences=A(this.customPreferences||{},e)}},{key:"encodeCustomPreferences",value:function(e){return e&&e.gac?A(e,{gac:Ga(e.gac)}):e instanceof Object?e:{}}},{key:"migrateStorageCookieIdToSiteId",value:function(){if(this.options.storage.useSiteId&&!this.storage.getLocal(this.storage.configuration.consentNameLocal)){this.storage.configuration.forceCookiePolicyId=!0;var e=this.storage.configuration.consentNameLocal,t=this.storage.configuration.consentGranularNameLocal,n=this.storage.configuration.consentUsprNameLocal,i=this.storage.getLocal(e),o=this.storage.getLocal(t),a=this.storage.getLocal(n);if(this.storage.configuration.forceCookiePolicyId=!1,i||o||a)try{i&&(this.storage.setLocal(this.storage.configuration.consentNameLocal,i),this.storage.resetLocalCookie(e)),o&&(this.storage.setLocal(this.storage.configuration.consentGranularNameLocal,o),this.storage.resetLocalCookie(t),this.customPreferencesResult=this.fetchCustomPreferences()),a&&(this.storage.setLocal(this.storage.configuration.consentUsprNameLocal,a),this.storage.resetLocalCookie(n))}catch(e){this.error("Error on migrating the preferences",e)}}}},{key:"preLoad",value:function(){return this.debug("executing preLoad()..."),this.migrateStorageCookieIdToSiteId(),this.state.preLoaded?(this.debug("already preloaded, skipping ..."),!0):(this.options.cookiePolicyId||this.fatal("Cannot start IubendaCookieSolution: cookiePolicyId NOT PROVIDED."),!!this.skipUnsupported()||(this.preferences.setState(),this.preferenceState=this.preferences.state,this.browserDetect.isBotAndShouldSkipBots()?(this.info("BOT detected: activating snippets and avoid banner rendering."),this.state.consentFoundOnLoad=!0,this.options.enableGpp&&(this.gppCmpApi=new va(this.options)),this.options.fadpApplies&&this.preferenceState.purposes.setPreference({all:!0},!0),this.acceptAll(),this.applyConsent(!0),this.state.reloadAfterRemoteSet=!1,this.state.reloadAfterLocaleSet=!1,null):this.state.enabled?(this.startCs(),null):(on(),this.state.remoteConfigLoaded&&this.ui.generateWarningButton("https://www.iubenda.com/help/120399-why-does-my-website-show-this-icon?utm_source=cs&utm_medium=web&utm_campaign=csalrt1"),this.tracker.start(!1),this.debug("IubendaCookieSolution is disabled, skipping ..."),!0)))}},{key:"startCs",value:function(){var e=this;return this.fireCallback("onBeforePreload"),this.usPrivacyCookie=this.storage.getLocal(this.settings.USPRIVACY_COOKIE),this.usPrivacyCookie&&this.setUspString(this.usPrivacyCookie.uspString),this.options.enableRemoteConsent&&!this.options.skipSaveConsent||!this.options.ccpaApplies||this.state.ccpaAcknowledged||this.deleteConsent(),this.preferences.load().then((function(t){var n;e.state.preLoaded=!0,t.core.consent&&(e.consent=t.core.consent),!e.options.skipSaveConsent&&null!==(n=t.tcf)&&void 0!==n&&n.needsCMPConsent&&e.deleteConsent(),e.start({doConsentRewrite:t.core.doConsentRewrite})})),null}},{key:"deleteConsent",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.skipResetCookies=e.skipResetCookies||!1,e.skipResetRemoteCookies=e.skipResetRemoteCookies||!1,this.consent=this.getInitialConsent(),this.state.invalidatingConsent=!0,e.skipResetCookies||this.storage.reset({local:!0,remote:this.options.enableRemoteConsent&&!e.skipResetRemoteCookies})}},{key:"fetchCMPCookie",value:function(){var e=No(this.options);if(!this.options.enableTcf)return null;var t=this.state.tcfv2String;if(t)return this.isTcfConsentValid(t)||(t=null,this.state.tcfv2String=""),t;var n=this.storage.getLocalCMP(e);return n||(n=this.storage.getLocalCMP(this.settings.TCF_V2_CONSENT_COOKIE)),this.isTcfConsentValid(n)||(n=null),this.state.tcfv2String=n||"",n}},{key:"isTcfConsentValid",value:function(e){var t=this.getTcfConsentStatus(e);return this.state.tcfConsentStatus=t,0===t}},{key:"getTcfConsentStatus",value:function(e){var t=Jn(e);return(e?this.needsConsentOnVendorListUpdate(t)&&2:1)||this.isTcfConsentCreatedBefore(t,_iub.invTcfC||null)&&3||this.isTcfConsentUpdatedBefore(t,Math.max(_iub.invTcfU||0,this.options.invalidateConsentBefore||0))&&4||this.isNotServiceSpecific(t)&&5||this.didntConsentNewVendors(t)&&6||0}},{key:"isGoogleAdditionalConsentValid",value:function(){var e=!0;null!==this.state.tcfv2String&&(e=0===this.getTcfConsentStatus(this.state.tcfv2String));return this.options.googleAdditionalConsentMode&&e}},{key:"openAdvertisingPreferences",value:function(){this.ui.showCP(!1,!0,!1)}},{key:"needsConsentOnVendorListUpdate",value:function(e){var t=_iub.GVL3;if(e.getVendorListVersion()i}return!1}},{key:"isTcfConsentCreatedBefore",value:function(e,t){var n=t,i=new Date;i.setDate(i.getDate()-this.settings.MAX_TCF2_COOKIE_DURATION),(!n&&this.settings.MAX_TCF2_COOKIE_DURATION||n36e5}},{key:"getMissingCustomPreferences",value:function(e){for(var t=[],n=this.getCustomPurposes(),i=0;iprivacy policies of the respective services."}),this.options.googleAdditionalConsentMode&&this.customPurposes.push({id:"gac",name:"",description:""})),this.customPurposes}},{key:"fireCallback",value:function(e,t){var n=this.options.callback[e],i=t;switch(this.emit("callback.before."+e,i),e){case"onReady":i=this.consent.consent;break;case"onPreferenceExpressed":case"onPreferenceNotNeeded":this.fireCallback("onPreferenceExpressedOrNotNeeded",i);break;case"onConsentRead":!n&&this.isConsentGiven()&&(n=this.options.callback.onConsentGiven);break;case"onCcpaFirstAcknowledged":n=this.options.callback.onCcpaFirstAcknowledged;break;case"onCcpaFirstOptOut":n=this.options.callback.onCcpaFirstOptOut}if(n)try{this.debug("activating callback: "+n),n(i)}catch(t){if(this.options.raiseOnException)throw t;"onError"!==e?this.error("Exception while invoking callback "+e+": "+(t.message||t)):this.log("Exception while invoking callback "+e+": "+(t.message||t),"error")}}},{key:"getPreferences",value:function(){var e,t,n=!(null===(e=_iub.cs.preferenceState)||void 0===e||null===(e=e.usPurposes)||void 0===e||!e.userConsentGiven);if(!this.consent.id&&!n)return{};var i={id:this.options.cookiePolicyId};this.consent.timestamp&&(i.timestamp=this.consent.timestamp);var o,a=this.preferenceState.getStateObject();(this.options.perPurposeConsent&&(this.options.gdprApplies||this.options.lgpdApplies||this.options.fadpApplies)?i.purposes=a.purposes:i.consent=!!this.consent.consent,this.state.tcfv2String&&(i.tcfv2=this.state.tcfv2String),null!==(t=this.customPreferences)&&void 0!==t&&t.gac&&(i.gac=this.customPreferences.gac),this.options.ccpaApplies&&(i.ccpa=this.preferences.storage.usPrivacy.getUspString()),this.options.enableGpp)&&(i.gppString=(null===(o=this.gppCmpApi)||void 0===o||null===(o=o.cmpApi)||void 0===o||null===(o=o.model)||void 0===o||null===(o=o.data)||void 0===o?void 0:o.gppString)||"");return a.usPurposes&&(i.uspr=a.usPurposes),i}},{key:"isConsentGiven",value:function(){if(!this.consent)return!1;var e=!0,t=this.options.perPurposeConsent&&(this.options.gdprApplies||this.options.lgpdApplies||this.options.fadpApplies);return t&&e&&(this.consent.purposes||(e=!1),e=this.preferenceState.purposes.isAllApproved()),this.preferenceState.usPurposes.isActive&&e&&(e=this.preferenceState.usPurposes.userConsentGiven),t||this.options.usprApplies?e:!0===this.consent.consent}},{key:"start",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.debug("executing start() ...");var n=this.options,i=!1!==t.doConsentRewrite;if(this.state.fatalError)return this.error("exiting start() since in fatalError ..."),!1;if(this.setup()){this.info("IubendaCookieSolution setup OK! Starting ..."),this.emit("start"),this.tracker.start(this.isPreferenceExpressed()),n.enableGpp&&(this.gppCmpApi=new va(n)),Xe((function(){if(e.options.enableTcf&&zt(e.ui),e.ui.createPreferencesWidgets(),fn(e.ui),e.ui.bindVendorListBtns(),n.enableCcpa&&n.ccpaApplies)for(var t=document.querySelectorAll(".iubenda-ccpa-opt-out"),i=0;i0&&t=t)return vt.debug("Consent out of interval, invalidating consent"),!1}if(this.options.consApiKey&&(null===(e=this.consent)||void 0===e||null===(e=e.cons)||void 0===e||!e.rand)){var a=this.options.invalidateConsentWithoutLog,r="string"==typeof a||"number"==typeof a,s=r?new Date(a).getTime():null;if(!0===a||r&&s>t)return!1}var c=this.storage.getLocal(this.storage.configuration.consentUsprNameLocal);return!(this.options.usprApplies&&!c&&this.consent.timestamp)}},{key:"migratePurposesPreferences",value:function(){var e=this;if(this.options.perPurposeConsent&&!this.isPreferenceExpressed()&&this.consent&&void 0!==this.consent.consent)this.debug("switching from no per-purpose to per-purpose"),this.preferenceState.purposes.setPreference({all:this.consent.consent}),this.consent.purposes=this.preferenceState.purposes.getPreferences();else if(!this.options.perPurposeConsent&&void 0===this.consent.consent&&void 0!==this.consent.purposes){this.debug("switching from per-purpose to no per-purpose");var t=Object.keys(this.consent.purposes).filter((function(e){return 1!=+e})).map((function(t){return e.consent.purposes[t]}));t.length&&(t.every(Boolean)?this.consent.consent=!0:t.some(Boolean)||(this.consent.consent=!1))}}},{key:"handleAskOptOutClick",value:function(e){var t=this;rt(e,"click",(function(e){e.stopPropagation(),t.askCcpaOptOut()}))}},{key:"askCcpaOptOut",value:function(){this.ui.showCcpaOptOutConfirmBox()}},{key:"updateTcfApi",value:function(e,t){var n=this.options;if(n.enableTcf&&_iub.cmp&&_iub.cmp.exposeCmpGlobalFunction){if(this.state.lastCmpUiVisibleState===!!e)return;this.state.lastCmpUiVisibleState=!!e,this.info("Going to expose global API, reading data ...");var i=this.fetchCustomPreferences();this.info("Updating consent data via CMP API ..."),_iub.cmp.exposeCmpGlobalFunction(t||this.state.tcfv2String,n.gdprAppliesGlobally,n.gdprApplies,!1,i,e)}}},{key:"updateGppApi",value:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"processing";if(this.options.enableGpp){var i=t?{tcString:this.state.tcfv2String,usPurposes:this.preferenceState.usPurposes}:{};this.gppCmpApi.update(e,i,n)}}},{key:"csReady",value:function(){_iub.csReady=!0,this.state.ccpaAcknowledged&&this.fireCallback("onCcpaAcknowledged"),this.state.ccpaOptedOut&&this.fireCallback("onCcpaOptOut"),this.fireCallback("onReady")}},{key:"startCsUi",value:function(){var e=this;this.options.hideInIframe&&this.state.inIframe||this.startCmpWidget().then((function(){e.ui.start()}))}},{key:"startCmpWidget",value:function(){var e=this,t=N();return this.options.enableTcf?this.cmpLibraryPromise.then((function(){e.ui.setCmpWidget(e.state.tcfv2String,e.customPreferencesResult),t.resolve()})):t.resolve(),t}},{key:"isPriorConsent",value:function(){return this.state.enabled?this.state.needsConsent?!!(this.options.gdprApplies||this.options.lgpdApplies||this.options.showBannerForUS):(this.info("Prior consent is not needed for the current user."),!1):(this.info("Cookie policy NOT ENABLED, starting in priorConsent false mode."),!1)}},{key:"startActivation",value:function(e,t){var n=this;if(!_iub.csActivationViaSafeMode||t){if(!_iub.csActivationInProgress){_iub.csActivationInProgress=!0,_iub.csActivationDone=!1;var i=null;e&&(i=this.options.get("callback.onActivationDone"));var o=this.firstActivationCompletedPromise;this.emit("before-activation");var a={usPurposesPreference:this.preferenceState.usPurposes,consent:this.consent.consent};this.startActivator(a,(function(){_iub.csActivationInProgress=!1,_iub.csActivationDone=!0,n.emit("activation-done"),o&&!o._isResolved&&o.resolve(),i&&i()}))}}else vt.debug("activation already done or in progress by SAFEMODE activator. Yielding."),this.firstActivationCompletedPromise.resolve()}},{key:"handleBannerPPClick",value:function(e){var t=this;rt(e,"click",(function(e){e.preventDefault(),e.stopPropagation(),setTimeout((function(){t.ui.showPPCcpaSection(t.options.cookiePolicyInOtherWindow)}),0)}))}},{key:"handleUsprPPClick",value:function(e){var t=this;rt(e,"click",(function(e){e.preventDefault(),e.stopPropagation(),setTimeout((function(){t.ui.showPPUsprSection(t.options.cookiePolicyInOtherWindow)}),0)}))}},{key:"skipUnsupported",value:function(){return!this.browserDetect.isMobile()&&"Explorer"===this.browserDetect.browser&&this.browserDetect.version<11}},{key:"setUspString",value:function(e){null===e?this.state.ccpaUspStateFound=!1:(this.state.ccpaUspStateFound=!0,this.state.ccpaAcknowledged="Y"===e[1],this.state.ccpaOptedOut="Y"===e[2])}},{key:"applyConsent",value:function(e){var t=!!e;if(this.debug("applying current consent [with force option: "+t+"] ..."),t||this.isPreferenceExpressed())this.info("consent has been given ..."),this.state.activatingNoPriorConsent?this.info("snippets already activated ..."):(this.updateTcfApi(!1),this.updateGppApi(!1,!0,"processed"),this.startActivation(!0)),this.fireCallback(this.state.needsConsent?"onConsentRead":"onPreferenceNotNeeded");else{this.info("consent NOT given");var n={usPurposesPreference:this.preferenceState.usPurposes};this.startActivator(n)}}},{key:"startActivator",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n={perPurposeConsent:this.options.perPurposeConsent,skipPurposeCheck:!this.state.enabled,gdprApplies:this.options.gdprApplies,lgpdApplies:this.options.lgpdApplies,usprApplies:this.options.usprApplies,fadpApplies:this.options.fadpApplies,promptToAcceptOnBlockedElements:this.options.promptToAcceptOnBlockedElements,banner:this.options.banner,purposes:this.options.purposes,renderOverlay:Fo.bind(this)},i=p(p({},e),{},{state:this.preferenceState});this.activator.activateOnDomReady(t,n,i,this.state.ccpaOptedOut)}},{key:"consentGiven",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.eventName,i=this.checkConsentGiven(n);if(this.options.perPurposeConsent&&(i?this.preferenceState.purposes.setPreference({all:!0},!0):this.preferenceState.purposes.setPreference({all:!1})),this.options.usprApplies&&(this.preferenceState.usPurposes.userConsentGiven=!0),this.options.enableTcf&&!this.options.perPurposeConsent)try{var o=this.ui.cmpWidget.getEnabledPurposeIds();-1===o.indexOf(1)&&this.ui.CPiFrame.isInTcfView()&&(i=!1)}catch(e){}this.consent=this.preferences.storage.core.getConsentObj(i),this.options.reloadOnConsent&&!this.state.consentFoundOnLoad&&(this.state.reloadAfterRemoteSet=(this.options.enableRemoteConsent?1:0)+(this.options.enableTcf?1:0));var a=[N((function(e){return e()}))];this.storage.storeConsent(),this.preferences.storage.uspr.storeUSPurposeCookie(),this.options.enableTcf&&(this.options.gdprApplies||this.options.lgpdApplies)&&!this.options.skipSaveConsent&&a.push(N((function(t){e.storeCmpChoice().then((function(n){e.updateTcfApi(!1,n),t()}))}))),R(a).then((function(){e.updateGppApi(!1,!0,"processed"),e.fireConsentCallbacks(n)})),this.tracker.consentGiven(n)}},{key:"isCpOpen",value:function(){return this.state.cpOpen}},{key:"isConsentRejected",value:function(){return!!this.isPreferenceExpressed()&&(this.options.perPurposeConsent?!!this.consent.purposes&&this.preferenceState.purposes.isAllDisapproved():!1===this.consent.consent)}},{key:"storeCmpChoice",value:function(){var e=this,t=this.ui,n=t.cmpWidget,i=this.state.tcfv2String,o=N(),a=this.customPreferencesResult;return this._waitForCmpWidgetRender().then((function(){e._fetchVendorIdsToEnable(n,i).then((function(r){t.consentRejected?(n.disableAllPurposesAndAllVendors(),(e.options.googleAdsPreferenceManagement||e.options.googleAdditionalConsentMode)&&n.disableAllCustomPurposes()):!i&&t.consentAccepted?(n.enableAllPurposesAndAllVendors(),n.enableAllCustomPurposes(),(e.options.googleAdsPreferenceManagement||e.options.googleAdditionalConsentMode)&&n.enableMissingCustomPreferences(a)):r.length&&(n.enableVendors(r),n.enableLegIntVendors&&n.enableLegIntVendors(r)),e.storeCustomPreferences(n.getCustomPreferences());var s=n.getPreferenceString();e.storeCMPPreference(s),e.state.tcfv2String=s,e.storeCustomPreferences(n.getCustomPreferences()),e.storeCMPChoicePromise.resolve(s),o.resolve(s)}))})),o}},{key:"_waitForCmpWidgetRender",value:function(){var e=N();return this.ui.cmpWidget.hasBeenRendered()?e.resolve():this.ui.cmpWidget.render((function(){e.resolve()})),e}},{key:"_fetchVendorIdsToEnable",value:function(e,t){var n=N();if(!t)return n.resolve([]),n;if(e.hasBeenDisplayed())return n.resolve([]),n;var i=e._vendorsJSON,o=Jn(t).getVendorListVersion();return o>=i.vendorListVersion?(n.resolve([]),n):(e.getVendorList(o,(function(e){for(var t={},o=0;o0){var t=this.options.enableTcf?this.settings.timeoutBeforeReloadWithCmp:this.settings.timeoutBeforeReload;setTimeout((function(){e.reloadPage()}),t)}else this.reloadPage()}},{key:"handleMultipleLanguages",value:function(){var e=this.remoteConfig.csFeatures;e&&"string"==typeof e.multiple_languages&&_iub.csConfiguration.lang&&e.multiple_languages!==_iub.csConfiguration.lang&&(this.remoteConfig.csEnabled=!1,this.state.enabled=!1)}},{key:"enableCsOnPreviewMode",value:function(e){e.previewMode&&(this.remoteConfig.csEnabled=!0,this.state.enabled=!0)}},{key:"checkDataAfterRequest",value:function(){var e=this.remoteConfig.csEnabled;void 0===e?(vt.warn("Remote configuration NOT correctly loaded: Iubenda Cookie Solution enabled without Priorconsent."),this.remoteConfig.csEnabled=this.state.enabled=!1):(this.state.remoteConfigLoaded=!0,this.state.enabled=e)}},{key:"checkMobileLicensing",value:function(){if("iubenda_sdk"in window){var e=this.remoteConfig.csFeatures;this.state.fromSDK=!0;var t=!0;void 0!==(null==e?void 0:e.mobile_app_integration)&&(t=!e||!!e.mobile_app_integration),t||(this.remoteConfig.csEnabled=!1,this.state.enabled=!1,window.iubenda_sdk.emit("cserror",{message:"The mobile integration is not enabled."}))}}},{key:"setConfiguration",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.state.preLoaded||(this.checkDataAfterRequest(),this.handleMultipleLanguages(),this.checkMobileLicensing(),this.enableCsOnPreviewMode(e),this.options=new Bo(e,this.remoteConfig))}},{key:"shouldShowBanner",value:function(){return this.isPreferenceExpressed()&&!this.options.showBannerForCH||this.ui&&this.ui.isOnlyCcpaConsentGiven()?(this.info("consent given, no banner to show"),!1):(this.debug("consent NOT given, setting up UI"),!0)}},{key:"setCpOpen",value:function(e){this.state.cpOpen!==e&&(this.state.cpOpen=e,e?this.fireCallback("on2ndLayerShown"):this.fireCallback("on2ndLayerClosed"))}},{key:"version",value:function(){return vt.warn("[Deprecation] _iub.cs.version() is deprecated, please use _iub.cs.VERSION instead"),this.settings.version}},{key:"remoteCookiesSet",value:function(e){this.storage.remoteCookiesSet(e)}},{key:"pickUpRemoteCookie",value:function(e){this.storage.pickUpRemoteCookie(e)}},{key:"log",value:function(e,t){var n=t.toLowerCase();vt.log(n,e),"error"!==n&&"fatal"!==n||("fatal"===n&&(this.state.fatalError=!0),null!=e&&this.state.errors.push(e))}},{key:"closeCP",value:function(){this.ui.closeCPiFrame()}},{key:"stringEndsWith",value:function(e,t){return-1!==e.indexOf(t,e.length-t.length)}},{key:"getSavedPreferences",value:function(){var e=this.fetchCustomPreferences();return this.savedPreferences.cmpCookie=this.state.tcfv2String,this.savedPreferences.customPreferences=e,this.savedPreferences}},{key:"debug",value:function(e){this.log(e,"debug")}},{key:"warn",value:function(e){this.log(e,"warn")}},{key:"error",value:function(e){this.log(e,"error"),this.fireCallback("onError",e)}},{key:"fatal",value:function(e){this.log(e,"fatal"),this.fireCallback("onFatalError",e)}},{key:"info",value:function(e){this.log(e,"info")}},{key:"shouldAcknowledgeCcpaOnLoad",value:function(){return!this.state.ccpaAcknowledged&&(!(this.options.ccpaNoticeDisplay&&!this.options.ccpaAcknowledgeOnDisplay)||!!this.options.ccpaAcknowledgeOnLoad)}},{key:"checkConsentGiven",value:function(e){var t=!(!this.isCpOpen()&&this.isConsentRejected())&&!("rejectButtonClick"===e);if(this.options.enableTcf&&!this.options.perPurposeConsent)try{-1===this.ui.cmpWidget.getEnabledPurposeIds().indexOf(1)&&this.ui.CPiFrame.isInTcfView()&&(t=!1)}catch(e){}return t}},{key:"loadPreferences",value:function(){this.preferences.load()}},{key:"storePreferences",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"cookiePolicyClosed";this.preferences.store(e,n,t)}},{key:"acceptAllUltimate",value:function(e){this.options.isRejectionRecoveryDisabled()&&!0!==this.options.previewMode||this.acceptAll(e)}},{key:"acceptAll",value:function(e){this.preferences.store({consent:!0,ccpa:!0,uspr:{sd5:!0,sd8:!0,sd9:!0},purposes:{all:!0},tcfv2:{all:!0},gac:{all:!0}},e,!0)}},{key:"rejectAll",value:function(e){var t={consent:!1,ccpa:!1,uspr:{sd5:!1,sd8:!1,sd9:!1},tcfv2:{all:!1},gac:{all:!1}};this.options.fadpApplies||(t.purposes={all:!1}),this.preferences.store(t,e,!0)}},{key:"arePurposesAccepted",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{promptIfNot:!0};return new Promise((function(i,o){if(!(Array.isArray(e)&&e.length>0))return o(new Error("Specify purposes list as an array"));var a=t.getPreferences(),r=p(p({},a.purposes),a.uspr);if(0===Object.keys(r).length)return i(!1);if(c(r,e))return i(!0);function s(t){return c(p(p({},t.purposes),t.uspr),e)?i(!0):i(!1)}function c(e,t){return t.every((function(t){return!0===e[t]}))}n.promptIfNot?(t.api.openPreferences({acceptPurposes:e}),t.once("callback.before.onPreferenceFirstExpressed",s),t.once("callback.before.on2ndLayerClosed",(function(){t.off("callback.before.onPreferenceFirstExpressed",s)}))):i(!1)}))}}])}(),Ya="iub_newsletter_store",Za="iub_newsletter_store_views",Xa=function(){return o((function e(t){var i;if(n(this,e),!t)throw new Error("NewsletterWidget missing configuration");this.configuration=t,this.loaded=!1,this.pageViews=parseInt(null!==(i=localStorage.getItem(Za))&&void 0!==i?i:0,10),this.containerElementInPage=null,this.emitter=new At}),[{key:"increasePageViewCounter",value:function(){localStorage.setItem(Za,++this.pageViews)}},{key:"load",value:function(e,t){var n=this;if(!this.isNewsletterSubscribed()&&this.isNewsletterDateValid(t)&&!this.loaded){var i="https://cdn.iubenda.com/cs/email_pref/versions/0.1.15/newsletter-widget-[lang].iife.js";e(i=i.replace("[lang]",this.configuration.lang.toLowerCase())).then((function(){qa=new IubendaNewsletter.NewsletterWidget(n.configuration),n.loaded=!0,n.increasePageViewCounter(),n.emitter.emit("iub.newsletter.load",n)}))}}},{key:"on",value:function(e,t){this.emitter.on(e,t)}},{key:"init",value:function(){if(!(this.pageViews=e}catch(e){}return!0}}])}();var $a=function(){return o((function e(t,i){if(n(this,e),!t)throw new Error("NewsletterWidget missing configuration");this.configuration=t,this.lang=t.lang.toLowerCase(),this.loadScript=i,this.loaded=!1,this.emitter=new At,this.load()}),[{key:"load",value:function(){var e=this;if(!this.loaded){var t="https://cdn.iubenda.com/cs/email-manager-widget/versions/1.0.8/email-manager-widget-[lang].iife.js";t=t.replace("[lang]",this.lang),this.loadScript(t).then((function(){e.loaded=!0,e.emitter.emit("iub.emailManager.load",e)}))}}},{key:"init",value:function(){if(this.loaded){var e=this.configuration.categories?this.configuration.categories.map((function(e){return e.id})):[],t=this.configuration.i18n?this.configuration.i18n[this.lang]:{},n="inline"===this.configuration.position,i={lang:this.lang,theme:this.configuration.theme,sitePublicId:this.configuration.sitePublicId,position:this.configuration.position,preview:this.configuration.preview,source:location.href,categories:e,customI18n:t,privacyPolicyId:this.configuration.privacyPolicyId,privacyPolicyUrl:this.configuration.privacyPolicyUrl,attachTo:n?document.querySelector("._manageEmailPreferences"):null},o=window.EmailManagerWidget;if(Ka=new o.EmailManagerWidget(i),n)Ka.init();else document.querySelectorAll(".iubenda-manage-email-preferences-link").forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),Ka.init()}))}))}}},{key:"on",value:function(e,t){this.emitter.on(e,t)}},{key:"off",value:function(e,t){this.emitter.off(e,t)}}])}();function Qa(){var e="https://cdn.iubenda.com/cs/tcf/versions/tcf-v2-0.29.5.js";return"Symbol"in window&&"assign"in Object&&"values"in Object&&"entries"in Object&&"isInteger"in Number||(e=e.replace(/(.*)\/tcf-v2(.*?\.js)/,"$1/tcf-v2-polyfilled$2")),e}function er(e){var t=N(),n=document.createElement("script");return n.src=e,n.setAttribute("charset","UTF-8"),n.onload=function(){t.resolve()},document.head.appendChild(n),t}function tr(){var e=N().resolve();return function(){try{return"consentState"in JSON.parse(window.name)}catch(e){return!1}}()&&(e=er("https://cdn.iubenda.com/cookie_solution/versions/cs_amp-1.5.1.js")),e}new(function(){return o((function e(t,i){n(this,e),this.csPremergedConfig=function(e){return _(mt,e)}(t),this.csConfiguration=t;var o=this.csConfiguration.lang;"object"===k(i)&&Object.prototype.hasOwnProperty.call(i,o)&&O(this.csConfiguration,i[o]),_iub.csLoaded||(_iub.csLoaded=!0,this.init())}),[{key:"init",value:function(){var e=this;tr().then((function(){try{e.getRemoteConfig().then((function(t){e.cmpLibraryPromise=e.getCmpLibraryPromise(t);var n=e.createInstance(t);if(e.emailManagerWidgetInit(n),!!window.localStorage&&n.options.hasEmailMarketing){var i,o={apiKey:null===(i=_iub.csRC)||void 0===i?void 0:i.consentDatabasePublicKey,lang:n.options.lang,source:window.location.href,privacyPolicyId:n.options.cookiePolicyId,privacyPolicyUrl:n.options.privacyPolicyUrl,privacyPolicyInOtherWindow:n.options.cookiePolicyInOtherWindow,preview:n.options.emailMarketing.preview,position:n.options.emailMarketing.position,customI18n:n.options.emailMarketing.customI18n,showFromPageView:n.options.emailMarketing.showFromPageView,theme:n.options.emailMarketing.theme,styles:n.options.emailMarketing.styles||{}},a=new Xa(o);n.on("callback.before.onPreferenceExpressedOrNotNeeded",(function(){return a.load(er,n.options.emailMarketing.closeRetainTime)})),a.on("iub.newsletter.load",(function(e){n.fireCallback("onEmailMarketingLoaded",e),n.newsletter=e,n.options.emailMarketing.autoInit&&e.init()}))}e.preLoadCS(n)}))}catch(t){e.handleStartupFailure(t)}}))}},{key:"emailManagerWidgetInit",value:function(e){var t;null!==(t=_iub.csRC)&&void 0!==t&&t.hasEmailManager&&new $a(p({lang:e.options.lang,privacyPolicyId:e.options.cookiePolicyId,privacyPolicyUrl:e.options.privacyPolicyUrl},e.options.emailManager),er).on("iub.emailManager.load",(function(t){e.fireCallback("emailManagerLoaded",t),e.emailManager=t,e.options.emailManager.autoInit&&t.init()}))}},{key:"addAnalyticsPurposeIfNeeded",value:function(e){var t=-1===e.indexOf(4),n=-1!==e.indexOf(6),i=-1!==e.indexOf(7);t&&(n||i)&&e.push(4)}},{key:"getRemoteConfig",value:function(){var e=this,t=N();return function(e,t,n){var i,o="Something went wrong within loading remote configuration.";if(e.cookiePolicyId)if(null!==(i=_iub.flags)&&void 0!==i&&i.hasFullConfiguration)r();else{var a=0;vt.info("Loading javascript remote configuration"),_t(xt(e,St(e)),(function n(i){i.success?(vt.info("Remote configuration correctly loaded."),r()):++a<5?setTimeout((function(){vt.info("Loading javascript remote configuration","Attempt ".concat(a+1)),_t(xt(e,St(e)),n)}),200):t(o)}))}else t(o);function r(){vt.info("Merging remote configuration with default.");var e=new wt({csSiteConf:_iub.csSiteConf,csRC:_iub.csRC,csEnabled:_iub.csEnabled,csPurposes:_iub.csPurposes||[],csT:_iub.csT,csFeatures:_iub.csFeatures,cpUpd:_iub.cpUpd,ppUpd:_iub.ppUpd,googleConsentModeV2:_iub.googleConsentModeV2});null==n||n(e)}}(_iub.csConfiguration,(function(n){e.handleStartupFailure(n),t.resolve({})}),(function(n){e.addAnalyticsPurposeIfNeeded(n.csPurposes),t.resolve(n)})),t}},{key:"getCmpLibraryPromise",value:function(e){var t=N().resolve();this.isConfigurationTcfEnabled(e)&&(t=er(Qa()));return t}},{key:"isConfigurationTcfEnabled",value:function(e){var t=mt.enableTcf;return e.csSiteConf&&void 0!==e.csSiteConf.enableTcf&&(t=e.csSiteConf.enableTcf),void 0===this.csConfiguration.enableTcf&&void 0===this.csConfiguration.enableCMP||(t=!(!this.csPremergedConfig.enableTcf&&!this.csPremergedConfig.enableCMP)),e.csRC&&void 0!==e.csRC.enableTcf&&(t=e.csRC.enableTcf),t}},{key:"loadDom",value:function(e){var t=N();return e.options.startOnDomReady?lt((function(){return t.resolve()})):Xe((function(){return t.resolve()}),!1),t}},{key:"waitForPreload",value:function(){return N((function(e){document.prerendering?document.addEventListener("prerenderingchange",e,{once:!0}):e()}))}},{key:"preLoadCS",value:function(e){var t=this;this.cmpLibraryPromise.then((function(){t.loadDom(e).then((function(){t.waitForPreload().then((function(){try{e.preLoad()}catch(e){t.handleStartupFailure(e)}}))}))}))}},{key:"createInstance",value:function(e){var t=new Ja(this.csConfiguration,this.cmpLibraryPromise,e);return _iub.cs=t,we.install(t,t.options,vt),t}},{key:"handleStartupFailure",value:function(e){var t,n;null===(t=this.csPremergedConfig)||void 0===t||null===(t=t.callback)||void 0===t||null===(n=t.onStartupFailed)||void 0===n||n.call(t,e.message||e),vt.error("Cookie Solution startup failed",e)}}])}())(_iub.csConfiguration,_iub.csLangConfiguration)}();