!function(e){"use strict";function t(e){for(var t=window.location.search.substring(1),o=t.split("&"),i=0;i>>0;if(0===o)return-1;var i=0;if(arguments.length>1&&(i=Number(arguments[1]),i!=i?i=0:0!=i&&1/0!=i&&i!=-1/0&&(i=(i>0||-1)*Math.floor(Math.abs(i)))),i>=o)return-1;for(var n=i>=0?i:Math.max(o-Math.abs(i),0);o>n;n++)if(n in t&&t[n]===e)return n;return-1}),function(e,t){"use strict";var o=function(e){var o=this,i=e.cs.settings,n=i.timeoutLoadConfiguration||1e3;o.loaded=!1,o.error=!1,o.timeoutOccurred=!1,o.jsRequest=function(i,r){e.cs.info("Loading configuration through javascript file."),o.script=t.createElement("script"),o.script.async=!0;var s=t.getElementsByTagName("script")[0];s.parentNode.insertBefore(o.script,s),o.script.readyState?o.script.onreadystatechange=function(){o.timeoutOccurred||o.script.readyState&&"loaded"!==o.script.readyState||o.timeoutOccurred||o.loaded||(o.loaded=!0,r())}:o.script.onload=function(){o.timeoutOccurred||(e.cs.info("Remote configuration correctly loaded."),o.loaded=!0,r())},o.script.onerror=function(){o.timeoutOccurred||(e.cs.warn("Something went wrong within loading remote configuration."),o.error=!0,r())},o.script.src=i,setTimeout(function(){o.loaded===!1&&o.error===!1&&"undefined"==typeof e.csEnabled&&(o.timeoutOccurred=o.error=!0,e.cs.info("Time out occurred while loading configuration via javascript file. Load default configurations."),r())},n)}};e._iub.Loader=o}(window,document),function(e){"use strict";(function(){function t(e){function n(e){if(n[e]!==g)return n[e];var t;if("bug-string-char-index"==e)t="a"!="a"[0];else if("json"==e)t=n("json-stringify")&&n("json-parse");else{var o,a='{"a":[1,true,false,null,"\\u0000\\b\\n\\f\\r\\t"]}';if("json-stringify"==e){var l=i.stringify,u="function"==typeof l&&y;if(u){(o=function(){return 1}).toJSON=o;try{u="0"===l(0)&&"0"===l(new r)&&'""'==l(new s)&&l(b)===g&&l(g)===g&&l()===g&&"1"===l(o)&&"[1]"==l([o])&&"[null]"==l([g])&&"null"==l(null)&&"[null,null,null]"==l([g,b,null])&&l({a:[o,!0,!1,null,"\x00\b\n\f\r "]})==a&&"1"===l(null,o)&&"[\n 1,\n 2\n]"==l([1,2],null,1)&&'"-271821-04-20T00:00:00.000Z"'==l(new c(-864e13))&&'"+275760-09-13T00:00:00.000Z"'==l(new c(864e13))&&'"-000001-01-01T00:00:00.000Z"'==l(new c(-621987552e5))&&'"1969-12-31T23:59:59.999Z"'==l(new c(-1))}catch(p){u=!1}}t=u}if("json-parse"==e){var h=i.parse;if("function"==typeof h)try{if(0===h("0")&&!h(!1)){o=h(a);var d=5==o.a.length&&1===o.a[0];if(d){try{d=!h('" "')}catch(p){}if(d)try{d=1!==h("01")}catch(p){}if(d)try{d=1!==h("1.")}catch(p){}}}}catch(p){d=!1}t=d}}return n[e]=!!t}e||(e=root.Object());var r=e.Number,s=e.String,a=e.Object,c=e.Date,l=e.SyntaxError,u=e.TypeError,p=e.Math,h=e.JSON;"object"==typeof h&&h&&(i.stringify=h.stringify,i.parse=h.parse);var d,f,g,m=a.prototype,b=m.toString,y=new c(-0xc782b5b800cec);try{y=-109252==y.getUTCFullYear()&&0===y.getUTCMonth()&&1===y.getUTCDate()&&10==y.getUTCHours()&&37==y.getUTCMinutes()&&6==y.getUTCSeconds()&&708==y.getUTCMilliseconds()}catch(v){}if(!n("json")){var k="[object Function]",C="[object Date]",w="[object Number]",_="[object String]",S="[object Array]",x="[object Boolean]",j=n("bug-string-char-index");if(!y)var E=p.floor,P=[0,31,59,90,120,151,181,212,243,273,304,334],O=function(e,t){return P[t]+365*(e-1970)+E((e-1969+(t=+(t>1)))/4)-E((e-1901+t)/100)+E((e-1601+t)/400)};if((d=m.hasOwnProperty)||(d=function(e){var t,o={};return(o.__proto__=null,o.__proto__={toString:1},o).toString!=b?d=function(e){var t=this.__proto__,o=e in(this.__proto__=null,this);return this.__proto__=t,o}:(t=o.constructor,d=function(e){var o=(this.constructor||t).prototype;return e in this&&!(e in o&&this[e]===o[e])}),o=null,d.call(this,e)}),f=function(e,t){var i,n,r,s=0;(i=function(){this.valueOf=0}).prototype.valueOf=0,n=new i;for(r in n)d.call(n,r)&&s++;return i=n=null,s?f=2==s?function(e,t){var o,i={},n=b.call(e)==k;for(o in e)n&&"prototype"==o||d.call(i,o)||!(i[o]=1)||!d.call(e,o)||t(o)}:function(e,t){var o,i,n=b.call(e)==k;for(o in e)n&&"prototype"==o||!d.call(e,o)||(i="constructor"===o)||t(o);(i||d.call(e,o="constructor"))&&t(o)}:(n=["valueOf","toString","toLocaleString","propertyIsEnumerable","isPrototypeOf","hasOwnProperty","constructor"],f=function(e,t){var i,r,s=b.call(e)==k,a=!s&&"function"!=typeof e.constructor&&o[typeof e.hasOwnProperty]&&e.hasOwnProperty||d;for(i in e)s&&"prototype"==i||!a.call(e,i)||t(i);for(r=n.length;i=n[--r];a.call(e,i)&&t(i));}),f(e,t)},!n("json-stringify")){var I={92:"\\\\",34:'\\"',8:"\\b",12:"\\f",10:"\\n",13:"\\r",9:"\\t"},R="000000",A=function(e,t){return(R+(t||0)).slice(-e)},L="\\u00",T=function(e){for(var t='"',o=0,i=e.length,n=!j||i>10,r=n&&(j?e.split(""):e);i>o;o++){var s=e.charCodeAt(o);switch(s){case 8:case 9:case 10:case 12:case 13:case 34:case 92:t+=I[s];break;default:if(32>s){t+=L+A(2,s.toString(16));break}t+=n?r[o]:e.charAt(o)}}return t+'"'},z=function(e,t,o,i,n,r,s){var a,c,l,p,h,m,y,v,k,j,P,I,R,L,B,F;try{a=t[e]}catch(D){}if("object"==typeof a&&a)if(c=b.call(a),c!=C||d.call(a,"toJSON"))"function"==typeof a.toJSON&&(c!=w&&c!=_&&c!=S||d.call(a,"toJSON"))&&(a=a.toJSON(e));else if(a>-1/0&&1/0>a){if(O){for(h=E(a/864e5),l=E(h/365.2425)+1970-1;O(l+1,0)<=h;l++);for(p=E((h-O(l,0))/30.42);O(l,p+1)<=h;p++);h=1+h-O(l,p),m=(a%864e5+864e5)%864e5,y=E(m/36e5)%24,v=E(m/6e4)%60,k=E(m/1e3)%60,j=m%1e3}else l=a.getUTCFullYear(),p=a.getUTCMonth(),h=a.getUTCDate(),y=a.getUTCHours(),v=a.getUTCMinutes(),k=a.getUTCSeconds(),j=a.getUTCMilliseconds();a=(0>=l||l>=1e4?(0>l?"-":"+")+A(6,0>l?-l:l):A(4,l))+"-"+A(2,p+1)+"-"+A(2,h)+"T"+A(2,y)+":"+A(2,v)+":"+A(2,k)+"."+A(3,j)+"Z"}else a=null;if(o&&(a=o.call(t,e,a)),null===a)return"null";if(c=b.call(a),c==x)return""+a;if(c==w)return a>-1/0&&1/0>a?""+a:"null";if(c==_)return T(""+a);if("object"==typeof a){for(L=s.length;L--;)if(s[L]===a)throw u();if(s.push(a),P=[],B=r,r+=n,c==S){for(R=0,L=a.length;L>R;R++)I=z(R,a,o,i,n,r,s),P.push(I===g?"null":I);F=P.length?n?"[\n"+r+P.join(",\n"+r)+"\n"+B+"]":"["+P.join(",")+"]":"[]"}else f(i||a,function(e){var t=z(e,a,o,i,n,r,s);t!==g&&P.push(T(e)+":"+(n?" ":"")+t)}),F=P.length?n?"{\n"+r+P.join(",\n"+r)+"\n"+B+"}":"{"+P.join(",")+"}":"{}";return s.pop(),F}};i.stringify=function(e,t,i){var n,r,s,a;if(o[typeof t]&&t)if((a=b.call(t))==k)r=t;else if(a==S){s={};for(var c,l=0,u=t.length;u>l;c=t[l++],a=b.call(c),(a==_||a==w)&&(s[c]=1));}if(i)if((a=b.call(i))==w){if((i-=i%1)>0)for(n="",i>10&&(i=10);n.lengthB;)switch(n=r.charCodeAt(B)){case 9:case 10:case 13:case 32:B++;break;case 123:case 125:case 91:case 93:case 58:case 44:return e=j?r.charAt(B):r[B],B++,e;case 34:for(e="@",B++;s>B;)if(n=r.charCodeAt(B),32>n)N();else if(92==n)switch(n=r.charCodeAt(++B)){case 92:case 34:case 47:case 98:case 116:case 110:case 102:case 114:e+=M[n],B++;break;case 117:for(t=++B,o=B+4;o>B;B++)n=r.charCodeAt(B),n>=48&&57>=n||n>=97&&102>=n||n>=65&&70>=n||N();e+=D("0x"+r.slice(t,B));break;default:N()}else{if(34==n)break;for(n=r.charCodeAt(B),t=B;n>=32&&92!=n&&34!=n;)n=r.charCodeAt(++B);e+=r.slice(t,B)}if(34==r.charCodeAt(B))return B++,e;N();default:if(t=B,45==n&&(i=!0,n=r.charCodeAt(++B)),n>=48&&57>=n){for(48==n&&(n=r.charCodeAt(B+1),n>=48&&57>=n)&&N(),i=!1;s>B&&(n=r.charCodeAt(B),n>=48&&57>=n);B++);if(46==r.charCodeAt(B)){for(o=++B;s>o&&(n=r.charCodeAt(o),n>=48&&57>=n);o++);o==B&&N(),B=o}if(n=r.charCodeAt(B),101==n||69==n){for(n=r.charCodeAt(++B),(43==n||45==n)&&B++,o=B;s>o&&(n=r.charCodeAt(o),n>=48&&57>=n);o++);o==B&&N(),B=o}return+r.slice(t,B)}if(i&&N(),"true"==r.slice(B,B+4))return B+=4,!0;if("false"==r.slice(B,B+5))return B+=5,!1;if("null"==r.slice(B,B+4))return B+=4,null;N()}return"$"},H=function(e){var t,o;if("$"==e&&N(),"string"==typeof e){if("@"==(j?e.charAt(0):e[0]))return e.slice(1);if("["==e){for(t=[];e=U(),"]"!=e;o||(o=!0))o&&(","==e?(e=U(),"]"==e&&N()):N()),","==e&&N(),t.push(H(e));return t}if("{"==e){for(t={};e=U(),"}"!=e;o||(o=!0))o&&(","==e?(e=U(),"}"==e&&N()):N()),(","==e||"string"!=typeof e||"@"!=(j?e.charAt(0):e[0])||":"!=U())&&N(),t[e.slice(1)]=H(U());return t}N()}return e},Q=function(e,t,o){var i=Z(e,t,o);i===g?delete e[t]:e[t]=i},Z=function(e,t,o){var i,n=e[t];if("object"==typeof n&&n)if(b.call(n)==S)for(i=n.length;i--;)Q(n,i,o);else f(n,function(e){Q(n,e,o)});return o.call(e,t,n)};i.parse=function(e,t){var o,i;return B=0,F=""+e,o=H(U()),"$"!=U()&&N(),B=F=null,t&&b.call(t)==k?Z((i={},i[""]=o,i),"",t):o}}}return i.runInContext=t,i}var o={"function":!0,object:!0},i={},n=t(e);e._iub.json={parse:n.parse,stringify:n.stringify}}).call(this)}(window,document),function(e){"use strict";var t=function(e,t){var o=this;o.cs=e.cs,t=t||function(){};var i=new e.Loader(e),n=(e.csConfiguration.callback,e.cs.options),r=e.cs.settings,s=r.urlForRemoteConf[r.loadConfigurationVia].replace("%{cookie_policy_id}",n.cookiePolicyId);o.start=function(){e.cs.settings.avoidRequestRemoteConf?(e.cs.info("Loading local configuration."),t()):(e.cs.info("Loading remote configurations."),o.request())},o.request=function(){var e=function(e){o.startIubendaAfterRemoteConfs(e)};"js"===r.loadConfigurationVia?i.jsRequest(s,e):"jsonp"===r.loadConfigurationVia?i.jsonpRequest(s,e):i.ajaxRequest(s,e)},o.checkDataAfterRequest=function(){"undefined"==typeof e.csEnabled?(e.csEnabled=e.cs.state.enabled=!1,e.cs.warn("Remote configuration NOT correctly loaded: Iubenda Cookie Solution enabled without Priorconsent.")):e.cs.state.enabled=e.csEnabled},o.startIubendaAfterRemoteConfs=function(i){e.cs.info("Merging remote configuration with default."),i=i||{},o.checkDataAfterRequest(i),e.cs.configure(e.csRC),t()}};e._iub.RemoteConfLoader=t}(window,document),window.console&&console||(console={}),window.console&&!window.console.log&&(console.log=function(){}),window.console&&!window.console.dir&&(console.dir=function(){}),Function.prototype.bind||(Function.prototype.bind=function(e){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var t=Array.prototype.slice.call(arguments,1),o=this,i=function(){},n=function(){return o.apply(this instanceof i&&e?this:e,t.concat(Array.prototype.slice.call(arguments)))};return i.prototype=this.prototype,n.prototype=new i,n});var i18nForBanner={it:{banner:{title:"Informativa",paragraph_1:"Questo sito o gli strumenti terzi da questo utilizzati si avvalgono di cookie necessari al funzionamento ed utili alle finalit\xe0 illustrate nella cookie policy. Se vuoi saperne di pi\xf9 o negare il consenso a tutti o ad alcuni cookie, consulta la %{cookie_policy_link}.",paragraph_2:"Chiudendo questo banner, scorrendo questa pagina, cliccando su un link o proseguendo la navigazione in altra maniera, acconsenti all\u2019uso dei cookie.",cookie_policy_caption:"cookie policy"},footer:{message:"Proseguendo la navigazione o chiudendo la finestra presti il tuo consenso all\u2019utilizzo di cookie.",btnCaption:"Prosegui la navigazione"}},en:{banner:{title:"Notice",paragraph_1:"This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. If you want to know more or withdraw your consent to all or some of the cookies, please refer to the %{cookie_policy_link}.",paragraph_2:"By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies.",cookie_policy_caption:"cookie policy"},footer:{message:"By continuing to browse or by closing this window, you accept the use of cookies.",btnCaption:"Continue to browse"}},de:{banner:{title:"Hinweis",paragraph_1:"Diese Website oder ihre Drittanbieter-Tools verwenden Cookies, die f\xfcr die Funktionalit\xe4t notwendig sind und um die in den Cookie-Richtlinien dargelegten Zwecke zu erreichen. Wenn Sie mehr erfahren oder Ihre Zustimmung gegen\xfcber allen oder einzelnen Cookies zur\xfcckziehen m\xf6chten, ziehen Sie bitte die %{cookie_policy_link} zurate.",paragraph_2:"Indem Sie dieses Banner schlie\xdfen, die Seite nach unten scrollen, einen Link anklicken oder Ihre Recherche auf andere Weise fortsetzen, erkl\xe4ren Sie sich mit dem Gebrauch von Cookies einverstanden.",cookie_policy_caption:"Cookie-Richtlinien"},footer:{message:"Indem Sie Ihre Recherche fortsetzen oder dieses Fenster schlie\xdfen, akzeptieren Sie den Gebrauch von Cookies.",btnCaption:"Weitersurfen"}},es:{banner:{title:"Aviso",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\xedtica de privacidad. Si desea saber m\xe1s 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\xe1gina, pulsar en un enlace o continuar navegando, acepta el uso de cookies.",cookie_policy_caption:"pol\xedtica de cookies"},footer:{message:"Al continuar navegando o cerrar esta ventana, acepta el uso de cookies.",btnCaption:"Continuar navegando"}},fr:{banner:{title:"Note",paragraph_1:"Ce site ou les outils de ses tiers utilisent des cookies qui sont n\xe9cessaires \xe0 son fonctionnement et requis pour atteindre les objectifs d\xe9crits dans la politique relative aux cookies. Si vous voulez obtenir plus d\u2019informations ou revenir sur votre accord \xe0 l\u2019utilisation de la totalit\xe9 ou de certains cookies, veuillez consulter la politique sur les %{cookie_policy_link}.",paragraph_2:"En fermant ce bandeau, en d\xe9roulant cette page, en cliquant sur un lien ou en continuant de naviguer sur ce site autrement, vous acceptez l\u2019utilisation des cookies.",cookie_policy_caption:"cookies"},footer:{message:"En continuant la navigation ou en fermant cette fen\xeatre, vous acceptez l'utilisation des cookies.",btnCaption:"Continuer \xe0 naviguer"}},"pt-BR":{banner:{title:"Aviso",paragraph_1:"Este site ou suas ferramentas de terceiros usam cookies, que s\xe3o necess\xe1rios para o funcionamento e necess\xe1rios para atingir os objetivos ilustrados na pol\xedtica de cookies. Se voc\xea deseja saber mais ou retirar seu consentimento da totalidade ou parte dos cookies, por favor, consulte a %{cookie_policy_link}.",paragraph_2:"Ao fechar este banner, rolar esta p\xe1gina, clicar em algum link ou continuar navegando de outra forma, voc\xea concorda com o uso dos cookies.",cookie_policy_caption:"pol\xedtica de cookies"},footer:{message:"Ao continuar navegando ou ao fechar esta janela, voc\xea aceita o uso dos cookies.",btnCaption:"Continuar navegando"}},pt:{banner:{title:"Aviso",paragraph_1:"Este site ou as suas ferramentas de terceiros utilizam cookies, que s\xe3o necess\xe1rios ao seu funcionamento e para atingir as finalidades indicadas na pol\xedtica de cookies. Caso deseje saber mais ou retirar o seu consentimento da totalidade ou parte dos cookies, por favor consulte a %{cookie_policy_link}.",paragraph_2:"Ao fechar este banner, percorrer esta p\xe1gina, clicar num link ou de outra forma continuar a navegar, o Utilizador aceita a utiliza\xe7\xe3o de cookies.",cookie_policy_caption:"pol\xedtica de cookies"},footer:{message:"Ao continuar a navegar ou fechar esta janela, o Utilizador aceita a utiliza\xe7\xe3o de cookies.",btnCaption:"Continuar a navegar"}},ru:{banner:{title:"\u0423\u0432\u0435\u0434\u043e\u043c\u043b\u0435\u043d\u0438\u0435",paragraph_1:"\u041d\u0430 \u044d\u0442\u043e\u043c \u0432\u0435\u0431 \u0441\u0430\u0439\u0442\u0435 \u0438 \u0432 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u043d\u0430 \u043d\u0435\u043c \u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0430\u0445 \u0441\u0442\u043e\u0440\u043e\u043d\u043d\u0438\u0445 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u0447\u0438\u043a\u043e\u0432 \u043f\u0440\u0435\u0434\u0443\u0441\u043c\u043e\u0442\u0440\u0435\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u043e\u0432 \xabcookie\xbb, \u0447\u0442\u043e \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u043c \u0443\u0441\u043b\u043e\u0432\u0438\u0435\u043c \u0438\u0445 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u0438 \u0442\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u0434\u043b\u044f \u0434\u043e\u0441\u0442\u0438\u0436\u0435\u043d\u0438\u044f \u0446\u0435\u043b\u0435\u0439, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u044f\u0441\u043d\u044f\u044e\u0442\u0441\u044f \u0432 \u043f\u0440\u0430\u0432\u0438\u043b\u0430\u0445 \u0432 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0438 \u0444\u0430\u0439\u043b\u043e\u0432 \xabcookie\xbb. \u0415\u0441\u043b\u0438 \u0432\u044b \u0445\u043e\u0442\u0438\u0442\u0435 \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0443\u044e \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044e \u0438\u043b\u0438 \u043e\u0442\u043c\u0435\u043d\u0438\u0442\u044c \u0441\u0432\u043e\u0435 \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0435 \u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0432\u0441\u0435\u0445 \u0444\u0430\u0439\u043b\u043e\u0432 \xabcookie\xbb \u0438\u043b\u0438 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0438\u0437 \u043d\u0438\u0445, \u043e\u0437\u043d\u0430\u043a\u043e\u043c\u044c\u0442\u0435\u0441\u044c \u0441 %{cookie_policy_link}.",paragraph_2:"\u0417\u0430\u043a\u0440\u044b\u0432\u0430\u044f \u044d\u0442\u043e\u0442 \u0431\u0430\u043d\u043d\u0435\u0440, \u043f\u0440\u043e\u043a\u0440\u0443\u0447\u0438\u0432\u0430\u044f \u044d\u0442\u0443 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0443, \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u044f \u043f\u043e \u043a\u0430\u043a\u043e\u0439-\u043b\u0438\u0431\u043e \u0441\u0441\u044b\u043b\u043a\u0435 \u0438\u043b\u0438 \u043f\u0440\u043e\u0434\u043e\u043b\u0436\u0430\u044f \u043f\u0440\u043e\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0442\u044c \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b \u0438\u043d\u044b\u043c \u0441\u043f\u043e\u0441\u043e\u0431\u043e\u043c, \u0432\u044b \u0434\u0430\u0435\u0442\u0435 \u0441\u043e\u0433\u043b\u0430\u0441\u0438\u0435 \u043d\u0430 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0444\u0430\u0439\u043b\u043e\u0432 \xabcookie\xbb.",cookie_policy_caption:"\u043f\u0440\u0430\u0432\u0438\u043b\u0430\u043c\u0438 \u0432 \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u0438 \u0444\u0430\u0439\u043b\u043e\u0432 \xabcookie\xbb"},footer:{message:"\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0435\u043d\u0438\u0435 \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440\u0430 \u0438\u043b\u0438 \u0437\u0430\u043a\u0440\u044b\u0442\u0438\u0435 \u044d\u0442\u043e\u0433\u043e \u043e\u043a\u043d\u0430 \u043e\u0437\u043d\u0430\u0447\u0430\u044e\u0442 \u043f\u0440\u0438\u043d\u044f\u0442\u0438\u0435 \u0432\u0430\u043c\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0444\u0430\u0439\u043b\u043e\u0432 \xabcookie\xbb.",btnCaption:"\u041f\u0440\u043e\u0434\u043e\u043b\u0436\u0438\u0442\u044c \u043f\u0440\u043e\u0441\u043c\u043e\u0442\u0440"}},nl:{banner:{title:"Kennisgeving",paragraph_1:"Deze website of de externe tools gebruiken cookies, die nodig zijn voor het functioneren van de site en voor het bereiken van de in het cookiebeleid aangegeven doelen. Voor meer informatie of als u uw toestemming voor het gebruik van bepaalde of alle cookies wilt intrekken, gaat u naar het %{cookie_policy_link}.",paragraph_2:"Door het sluiten van deze banner, het scrollen op deze pagina, het klikken op een koppeling of door op een andere manier verder te gaan met bladeren, gaat u akkoord met het gebruik van cookies.",cookie_policy_caption:"cookiebeleid"},footer:{message:"Als u doorgaat met deze website te bekijken of door dit venster te sluiten, gaat u akkoord met het gebruik van cookies.",btnCaption:"Doorgaan met bekijken"}},pl:{banner:{title:"Uwaga",paragraph_1:"Niniejsza witryna lub stosowane na niej narz\u0119dzia os\xf3b trzecich wykorzystuj\u0105 pliki cookie, kt\xf3re s\u0105 niezb\u0119dne do jej dzia\u0142ania i konieczne do osi\u0105gni\u0119cia cel\xf3w przedstawionych w polityce plik\xf3w cookies. Je\u015bli U\u017cytkownik chce dowiedzie\u0107 si\u0119 wi\u0119cej lub wycofa\u0107 swoj\u0105 zgod\u0119 na stosowanie wszystkich lub niekt\xf3rych plik\xf3w cookies, prosimy o zapoznanie si\u0119 z %{cookie_policy_link}.",paragraph_2:"Zamykaj\u0105c ten baner, przewijaj\u0105c stron\u0119, klikaj\u0105c link lub kontynuuj\u0105c przegl\u0105danie strony, U\u017cytkownik wyra\u017ca zgod\u0119 na stosowanie plik\xf3w cookies.",cookie_policy_caption:"polityk\u0105 plik\xf3w cookies"},footer:{message:"Kontynuacja przegl\u0105dania strony lub zamkni\u0119cie tego okna oznacza akceptacj\u0119 stosowania plik\xf3w cookies.",btnCaption:"Kontynuuj przegl\u0105danie"}},id:{banner:{title:"Pemberitahuan",paragraph_1:"Situs web ini atau perangkat pihak ketiganya menggunakan kuki, yang diperlukan demi berfungsinya situs web ini dan diperlukan untuk mencapai tujuan yang dijelaskan pada kebijakan kuki. Jika Anda ingin mengetahui lebih lanjut atau membatalkan persetujuan Anda terhadap semua atau sebagian kuki tersebut, silakan lihat %{cookie_policy_link}.",paragraph_2:"Dengan menutup spanduk ini, menggeser halaman ini, mengklik suatu tautan atau melanjutkan penelusuran, Anda setuju untuk menggunakan kuki tersebut.",cookie_policy_caption:"kebijakan kuki"},footer:{message:"Dengan melanjutkan penelusuran atau dengan menutup jendela ini, Anda menerima penggunaan kuki.",btnCaption:"Lanjutkan penelusuran"}},"zh-CN":{banner:{title:"\u901a\u77e5",paragraph_1:"\u4e3a\u4e86\u7f51\u7ad9\u6b63\u5e38\u8fd0\u884c\u548c\u5b9e\u73b0cookie\u653f\u7b56\u6240\u8ff0\u76ee\u7684\uff0c\u672c\u7f51\u7ad9\u6216\u5176\u7b2c\u4e09\u65b9\u5de5\u5177\u9700\u8981\u4f7f\u7528cookie\u3002\u5982\u679c\u60a8\u60f3\u4e86\u89e3\u66f4\u591a\uff0c\u6216\u60f3\u8981\u64a4\u9500\u5bf9\u5168\u90e8\u6216\u90e8\u5206cookie\u7684\u540c\u610f\uff0c\u8bf7\u67e5\u770b%{cookie_policy_link}.",paragraph_2:"\u5982\u679c\u60a8\u5173\u95ed\u672c\u6a2a\u5e45\u3001\u6eda\u52a8\u672c\u9875\u9762\u3001\u70b9\u51fb\u94fe\u63a5\u6216\u7ee7\u7eed\u6d4f\u89c8\uff0c\u5219\u8868\u793a\u60a8\u540c\u610fcookie\u7684\u4f7f\u7528\u3002",cookie_policy_caption:"Cookie\u653f\u7b56"},footer:{message:"\u5982\u679c\u60a8\u7ee7\u7eed\u6d4f\u89c8\u6216\u5173\u95ed\u672c\u7a97\u53e3\uff0c\u5219\u8868\u793a\u60a8\u63a5\u53d7cookie\u7684\u4f7f\u7528\u3002",btnCaption:"\u7ee7\u7eed\u6d4f\u89c8"}},fi:{banner:{title:"Ilmoitus",paragraph_1:"T\xe4m\xe4 verkkosivusto tai siihen liittyv\xe4t kolmannen osapuolen ty\xf6kalut k\xe4ytt\xe4v\xe4t ev\xe4steit\xe4, jotka ovat tarpeellisia verkkosivuston toiminnan kannalta ja joita tarvitaan niiden tarkoitusten saavuttamiseksi, jotka on kuvailtu ev\xe4stepolitiikassa. Lis\xe4tietoja varten tai kaikkia tai joitakin ev\xe4steit\xe4 koskevan suostumuksen perumista varten, katso %{cookie_policy_link}.",paragraph_2:"Sulkemalla t\xe4m\xe4n bannerin, selaamalla t\xe4t\xe4 sivua, napsauttamalla linkki\xe4 ja muutoin jatkamalla selaamista hyv\xe4ksyt ev\xe4steiden k\xe4yt\xf6n.",cookie_policy_caption:"ev\xe4stepolitiikka"},footer:{message:"Jatkamalla selaamista tai sulkemalla t\xe4m\xe4n ikkunan hyv\xe4ksyt ev\xe4steiden k\xe4yt\xf6n.",btnCaption:"Jatka selaamista"}}};!function(e,t){"object"==typeof exports?module.exports=t():"function"==typeof define&&define.amd?define(t):e.IubSpinner=t()}(this,function(){"use strict";function e(e,t){var o,i=document.createElement(e||"div");for(o in t)i[o]=t[o];return i}function t(e){for(var t=1,o=arguments.length;o>t;t++)e.appendChild(arguments[t]);return e}function o(e,t,o,i){var n=["opacity",t,~~(100*e),o,i].join("-"),r=.01+o/i*100,s=Math.max(1-(1-e)/t*(100-r),e),a=u.substring(0,u.indexOf("Animation")).toLowerCase(),c=a&&"-"+a+"-"||"";return h[n]||(d.insertRule("@"+c+"keyframes "+n+"{0%{opacity:"+s+"}"+r+"%{opacity:"+e+"}"+(r+.01)+"%{opacity:1}"+(r+t)%100+"%{opacity:"+e+"}100%{opacity:"+s+"}}",d.cssRules.length),h[n]=1),n}function i(e,t){var o,i,n=e.style;for(t=t.charAt(0).toUpperCase()+t.slice(1),i=0;i',o)}d.addRule(".spin-vml","behavior:url(#default#VML)"),c.prototype.lines=function(e,i){function r(){return n(o("group",{coordsize:u+" "+u,coordorigin:-l+" "+-l}),{width:u,height:u})}function s(e,s,c){t(h,t(n(r(),{rotation:360/i.lines*e+"deg",left:~~s}),t(n(o("roundrect",{arcsize:i.corners}),{width:l,height:i.width,left:i.radius,top:-i.width>>1,filter:c}),o("fill",{color:a(i.color,e),opacity:i.opacity}),o("stroke",{opacity:0}))))}var c,l=i.length+i.width,u=2*l,p=2*-(i.width+i.length)+"px",h=n(r(),{position:"absolute",top:p,left:p});if(i.shadow)for(c=1;c<=i.lines;c++)s(c,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(c=1;c<=i.lines;c++)s(c);return t(e,h)},c.prototype.opacity=function(e,t,o,i){var n=e.firstChild;i=i.shadow&&i.lines||0,n&&t+i>1):parseInt(a.left,10)+l)+"px",top:("auto"==a.top?i.y-o.y+(t.offsetHeight>>1):parseInt(a.top,10)+l)+"px"})),c.setAttribute("role","progressbar"),r.lines(c,r.opts),!u){var p,h=0,d=(a.lines-1)*(1-a.direction)/2,f=a.fps,g=f/a.speed,m=(1-a.opacity)/(g*a.trail/100),b=g/a.lines;!function y(){h++;for(var e=0;e>1)+"px"})}for(var c,l=0,p=(r.lines-1)*(1-r.direction)/2;lr;r++)i.test(n[r].className)&&o.push(n[r]);return o}function a(e,t){var o=i();-1!=o&&8>o?e.style.cssText=t:e.setAttribute("style",t)}function c(e,t){var o=i();-1!=o&&9>o?e.onreadystatechange=function(){("loaded"==this.readyState||"complete"==this.readyState)&&t()}:e.onload=function(){t()}}var l=null,u=function(t){this.cs=t,this.document=e.document,this.mainC=null,this.overlay=null,this.banner=null,this.CPiFrame=null,this.isMobile=!1,this.bannerShown=!1,this.documentClicked=!1,this.scrollDetected=!1,this.moveDetected=!1,this.freezed=!1,this.showingCookiePolicy=!1,this.lastZoomingRatio={x:null,y:null},this.lastScrollAt=0,this.lastPositionScrollY=null,this.iFrameCloseBtnUrl="http://localhost.cs.origin:3010/cookie_solution/close.png",this.delayAfterBannerShow=!0,this.elementWatchingScroll=null,this.checkForMobile(),l=this};u.prototype.jQuery=function(e){return this.cs.jQuery(e)||$(e)||jQuery(e)},u.prototype.start=function(){this.cs.debug("starting UI (if needed) ..."),this.cs.isConsentGiven()?(this.delayAfterBannerShow=!1,this.cs.info("consent given, no banner to show")):(this.cs.debug("consent NOT given, setting up UI"),this.bindDocument(),this.setUpBanner()),this.bindButtons(),this.isMobile&&(this.lastZoomingRatio=this.evaluateZoomingRatio()),this.cs.debug("invoking callback.onReady (after starting UI) ..."),this.cs.fireCallback("onReady")},u.prototype.customSlideDown=function(t,o){o=o||200;var i=this,n=function(){i.jQuery("#iubenda-cs-banner").css({overflow:""})};if(e.jQuery)this.cs.options.banner.slideDown?t.hide().slideDown(o,function(){i.bannerShown=!0,n(),_iub.cs.fireCallback("onBannerShown"),setTimeout(function(){i.delayAfterBannerShow=!1},i.cs.options.banner.consentOnScrollDelay)}):(t.show(),i.bannerShown=!0,n(),setTimeout(function(){i.delayAfterBannerShow=!1},i.cs.options.banner.consentOnScrollDelay),_iub.cs.fireCallback("onBannerShown"));else if(e.Zepto){if(this.cs.options.banner.slideDown){var r=t.css("position");t.show(),t.css({position:"absolute",visibility:"hidden"});var s=t.height();t.css({position:r,visibility:"visible",overflow:"hidden",height:0}),t.hide().animate({height:s},o,function(){i.bannerShown=!0,_iub.cs.fireCallback("onBannerShown"),setTimeout(function(){i.delayAfterBannerShow=!1},i.cs.options.banner.consentOnScrollDelay)})}else t.show(),i.bannerShown=!0,_iub.cs.fireCallback("onBannerShown"),setTimeout(function(){i.delayAfterBannerShow=!1},i.cs.options.banner.consentOnScrollDelay);$("#iubenda-cs-banner").css({"transform-origin":"",opacity:"",transform:"",visibility:"",overflow:"",height:""})}},u.prototype.setUpBanner=function(){this.cs.debug("display the Banner ..."),this.banner=this.document.createElement("div"),this.banner.id="iubenda-cs-banner";var e,o,i="",r="",s="",a="",c=this.cs.options.banner.cookiePolicyLinkCaption||_iub.i18nForBanner[this.cs.options.lang].banner.cookie_policy_caption,l=""+c+"",u=t.head||t.getElementsByTagName("head")[0];if(this.cs.options.banner.applyStyles){a="display:none; top: 0 !important; left: 0!important; position: fixed !important; width: 100% !important; z-index:"+this.cs.options.banner.zIndex+" !important; background-color: black;"; var p=this.cs.options.banner.fontSize?this.cs.options.banner.fontSize:this.cs.options.banner.fontSizeBody,h=this.cs.options.banner.fontSize?this.cs.options.banner.fontSize:this.cs.options.banner.fontSizeCloseButton;l=""+c+"",i="style='display:block; margin:0 auto; padding: 20px; width:auto; font-family: Helvetica,Arial,FreeSans,sans-serif!important;font-size:"+p+" !important;background:"+this.cs.options.banner.backgroundColor+";color:"+this.cs.options.banner.textColor+";'",r="style='max-width: 900px; position:relative; margin: 0 auto;'",s="style='margin:0 !important; text-decoration:none !important; font-size: "+h+" !important; color:"+this.cs.options.banner.textColor+" !important; position: absolute !important; top: 0 !important; right: 0 !important; border: none !important;'",o=t.createElement("style"),e=".iubenda-banner-content > p { font-size:"+p+" !important; color: "+this.cs.options.banner.textColor+" !important; font-family:Helvetica,Arial,FreeSans,sans-serif!important; line-height:1.5 !important; }",o.type="text/css",o.styleSheet?o.styleSheet.cssText=e:o.appendChild(t.createTextNode(e)),u.appendChild(o)}null==this.cs.options.banner.content?this.cs.options.banner.content="

"+_iub.i18nForBanner[this.cs.options.lang].banner.title+"

"+_iub.i18nForBanner[this.cs.options.lang].banner.paragraph_1+"
"+_iub.i18nForBanner[this.cs.options.lang].banner.paragraph_2+"

":null;var d=this.cs.options.banner.content.replace("%{cookie_policy_link}",l);this.isMobile&&(o=t.createElement("style"),e+=".iubenda-cs-content {",e+="padding:20px !important;",e+="box-sizing: border-box !important;",e+="max-width: auto !important;",e+=" }",e+=".iubenda-cs-close-btn {",this.cs.options.banner.applyStyles&&(e+="font-size:"+p+" !important;",e+="top:-5px !important;"),e+=" }",e+="",o.type="text/css",o.styleSheet?o.styleSheet.cssText=e:o.appendChild(t.createTextNode(e)),u.appendChild(o));var f=this.cs.options.banner.html;if(null===f){var g=this.cs.options.banner.innerHtmlCloseBtn;this.banner.innerHTML="
"+g+"
"+d+"
",""!==a&&this.setStyle(this.banner,a)}else-1!==f.indexOf("%{banner_content}")&&(f=f.replace("%{banner_content}",d)),this.banner.innerHTML=f;this.cs.options.banner.prependOnBody?this.document.body.insertBefore(this.banner,this.document.body.firstChild):this.document.body.appendChild(this.banner),this.customSlideDown(this.jQuery("#iubenda-cs-banner"));var m=this,m=this;n(this.document.getElementById("iubenda-cs-banner"),"click",function(e){m.bannerClicked(e)},!1)},u.prototype.bindButtons=function(){this.cs.debug("binding button of cookie policy link and close banner ..."),this.bindOpenCPBtns(),this.bindCloseBannerBtns()},u.prototype.bindOpenCPBtns=function(){var e=this,t=s(this.document,"iubenda-cs-cookie-policy-lnk");for(cs_policy_link in t)if(t.hasOwnProperty(cs_policy_link)){var o=t[cs_policy_link];!function(t){n(t,"click",function(o){e.bannerCookiePolicyClicked(t,o)},!0)}(o)}},u.prototype.bindCloseBannerBtns=function(){var e=this,t=s(this.document,"iubenda-cs-close-btn");for(close_btn in t)t.hasOwnProperty(close_btn)&&n(t[close_btn],"click",function(t){e.bannerCloseBtnClicked(t)},!0)},u.prototype.removeBanner=function(){this.cs.debug("closing banner ..."),this.jQuery("#iubenda-cs-banner").remove()},u.prototype.bindDocument=function(){this.cs.debug("binding document ...");var t=this;if(n(this.document,"click",function(e){t.clickOnDocument(e),!0}),this.isMobile){var o,i=0,r=0;n(this.document,"touchstart",function(e){t.cs.debug("touch start..."),i=e.touches?e.touches.length:2;var n=e.changedTouches?e.changedTouches[0]:e,s=n.pageY?n.pageY:n.clientY,a=n.pageX?n.pageX:n.clientX;o=a,r=s},!0),n(this.document,"touchmove",function(e){t.cs.debug("touch move ..."),t.documentTouchMoved(e,i,o,r)},!0)}else this.addEventListenerForScroll();if(this.isMobile){var s,a=0;n(e,"touchend",function(e){var o=(new Date).getTime(),i=o-a;clearTimeout(s),500>i&&i>0?(t.cs.debug("double tap ..."),t.lastZoomingRatio=t.evaluateZoomingRatio(),e.preventDefault()):s=setTimeout(function(){clearTimeout(s)},500),a=o})}n(e,"resize",function(){t.lastZoomingRatio=t.evaluateZoomingRatio()})},u.prototype.removeScrollObserver=function(){this.elementWatchingScroll.detachEvent?(this.elementWatchingScroll.detachEvent("onscroll",this.handlerScrollEvent,!0),this.elementWatchingScroll["scroll"+this.handlerScrollEvent]=null):this.elementWatchingScroll.removeEventListener("scroll",this.handlerScrollEvent,!0)},u.prototype.addEventListenerForScroll=function(){this.elementWatchingScroll=this.cs.options.consentOnScrollOnElement||this.document,n(this.elementWatchingScroll,"scroll",this.handlerScrollEvent,!0)},u.prototype.handlerScrollEvent=function(e){if(l.cs.options.consentOnScroll){var t=l.jQuery(e.target);if("undefined"==typeof t.attr&&(t=jQuery(t)),t.is("marquee"));else{var i=l.elementWatchingScroll.documentElement?l.elementWatchingScroll.documentElement.scrollTop:l.elementWatchingScroll.scrollTop,n=l.elementWatchingScroll.body?l.elementWatchingScroll.body.scrollTop:0;(i===o||0!==n)&&(i=n);var r=l.elementWatchingScroll.documentElement?l.elementWatchingScroll.documentElement.scrollLeft:l.elementWatchingScroll.scrollLeft,s=l.elementWatchingScroll.body?l.elementWatchingScroll.body.scrollLeft:0;(r===o||0!==s)&&(r=s),0!==i||0!==r&&l.cs.options.consentOnScrollHorizontal?l.documentScrolled(e):l.cs.debug("document not scrolled in Y axis. Consent is not given.")}}},u.prototype.bannerClicked=function(e){this.cs.debug("banner clicked"),this.stopEventPropagation(e)},u.prototype.bannerCookiePolicyClicked=function(e,t){this.cs.debug("banner's cookie policy link clicked"),this.cs.options.cookiePolicyInOtherWindow||(this.showingCookiePolicy=!0),t.preventDefault?t.preventDefault():t.returnValue=!1,this.showCP(this.cs.options.cookiePolicyInOtherWindow),this.stopEventPropagation(t)},u.prototype.showCP=function(o){if(o)e.open(this.getCookiePolicyHref(),"_blank");else{var i=this;this.CPiFrame=_iub.ifr_cc.iubendaStartIFrame({iFrUrl:this.getCookiePolicyHref(),inParent:!1,straightShow:!0,closeBtnUrl:this.iFrameCloseBtnUrl,embedP:t.getElementsByTagName("body")[0],disableESC:!0,baseZIndex:this.cs.options.banner.zIndex+1,scrolling:null!=this.cs.options.cookiePolicyUrl,footer:{message:_iub.i18nForBanner[this.cs.options.lang].footer.message,btnCaption:_iub.i18nForBanner[this.cs.options.lang].footer.btnCaption},onLoad:function(){i.cookiePolicyLoaded()},onClose:function(){i.cookiePolicyClosed()}})}},u.prototype.getCookiePolicyHref=function(){return this.cs.options.cookiePolicyUrl?this.cs.options.cookiePolicyUrl:"//www.iubenda.com/privacy-policy/"+this.cs.options.cookiePolicyId+"/cookie-policy?an=no&s_ck=false"},u.prototype.cookiePolicyLoaded=function(){this.cs.debug("cookie policy shown"),this.showingCookiePolicy=!0,this.cs.fireCallback("onCookiePolicyShown")},u.prototype.cookiePolicyClosed=function(){this.cs.debug("cookie policy closed"),this.tryConsentGiven({eventName:"cookiePolicyClosed"})},u.prototype.bannerCloseBtnClicked=function(e){this.cs.debug("banner X clicked"),this.tryConsentGiven({eventName:"bannerXClose"}),this.stopEventPropagation(e)},u.prototype.isValidURL=function(e){if(!e)return!1;var t=[/^(?:(?:https?|ftp):\/\/)(?:\S+(?::\S*)?@)?(?:(?!10(?:\.\d{1,3}){3})(?!127(?:\.\d{1,3}){3})(?!169\.254(?:\.\d{1,3}){2})(?!192\.168(?:\.\d{1,3}){2})(?!172\.(?:1[6-9]|2\d|3[0-1])(?:\.\d{1,3}){2})(?:[1-9]\d?|1\d\d|2[01]\d|22[0-3])(?:\.(?:1?\d{1,2}|2[0-4]\d|25[0-5])){2}(?:\.(?:[1-9]\d?|1\d\d|2[0-4]\d|25[0-4]))|(?:(?:[a-z\u00a1-\uffff0-9]+-?)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]+-?)*[a-z\u00a1-\uffff0-9]+)*(?:\.(?:[a-z\u00a1-\uffff]{2,})))(?::\d{2,5})?(?:\/[^\s]*)?$/i,/^(\/?)(\.?\.?)\/.*$/,/^((?:\/[a-zA-Z0-9]+(?:_[a-zA-Z0-9]+)*(?:\-[a-zA-Z0-9]+)*)+)$/,/^\bmailto:(.*)(\?.*)?\b$/,/^[a-zA-Z0-9]+\/$/];for(r in t)if("object"==typeof t[r]&&t[r].test(e))return!0;return!1},u.prototype.clickOnDocument=function(e){if("Firefox"!==_iub.cs.browserDetect.browser||2!==e.button){this.cs.debug("document clicked");var t,o;t=this.jQuery(e.target),"undefined"==typeof t.attr&&(t=jQuery(t)),t.closest("a")[0]?t=t.closest("a"):t.closest("button")[0]?t=t.closest("button"):t.closest(this.cs.options.consentOnElement)[0]?t=t.closest(this.cs.options.consentOnElement):this.cs.options.consentOnDocument||(t=null),o=t?t.attr("href"):null;var i=!1;t&&(i=t.is("a")?this.isValidURL(o)||_iub.cs.options.consentOnButton:t.is("button")?_iub.cs.options.consentOnButton:!0),i&&(this.cs.debug("document clicked"),this.tryConsentGiven({eventName:"documentClicked"}))}},u.prototype.documentScrolled=function(){return this.cs.debug("document scrolled"),this.showingCookiePolicy?!0:void(this.delayAfterBannerShow||this.tryConsentGiven({eventName:"documentScroll"}))},u.prototype.documentTouchMoved=function(e,t,o,i){if(this.cs.options.consentOnScroll)if("Explorer"==_iub.cs.browserDetect.browser){var n=e,r=marginX=10;if(i-n.clientY>r||i-n.clientY<-r){if(this.showingCookiePolicy)return!0;this.delayAfterBannerShow||this.tryConsentGiven({eventName:"documentMoved"})}}else if(1==e.touches.length&&1==t){var n=e.changedTouches[0],r=marginX=10;if("Safari"==_iub.cs.browserDetect.browser&&(r=15),i-n.pageY>r||i-n.pageY<-r){if(this.showingCookiePolicy)return!0;this.delayAfterBannerShow||this.tryConsentGiven({eventName:"documentMoved"})}}else this.lastZoomingRatio=this.evaluateZoomingRatio()},u.prototype.tryConsentGiven=function(e){e=e||{};var t=e.eventName||"documentClicked",o=e.force===!0;if(!this.bannerShown&&!o)return this.cs.debug("consent NOT given since the banner is not shown"),!0;if(this.freezed&&!o)return!0;switch(this.freezed=!0,t){case"documentClicked":this.documentClicked=!0;break;case"documentScroll":this.scrollDetected=!0;break;case"documentMoved":this.moveDetected=!0}this.removeBanner(),(!this.cs.isConsentGiven()||o)&&this.cs.consentGiven({global:!0,implicit:!0,eventName:t})},u.prototype.getDocHeight=function(){var t=e.document;return Math.max(Math.max(t.body.scrollHeight,t.documentElement.scrollHeight),Math.max(t.body.offsetHeight,t.documentElement.offsetHeight),Math.max(t.body.clientHeight,t.documentElement.clientHeight))},u.prototype.getInternetExplorerVersion=function(){return i()},u.prototype.setStyle=function(e,t){return a(e,t)},u.prototype.stopEventPropagation=function(t){t=t||e.event,t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},u.prototype.closeCPiFrame=function(){this.CPiFrame&&this.CPiFrame.closeIFrame(!1)},u.prototype.getElementsByClassName=function(e,t){return s(e,t)},u.prototype.checkForMobile=function(){this.isMobile=/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini|mini|windows\sce|palm/i.test(navigator.userAgent.toLowerCase())},u.prototype.evaluateZoomingRatio=function(){return{x:t.documentElement.clientWidth/e.innerWidth,y:t.documentElement.clientHeight/e.innerHeight}},e._iub.CookieSolutionUI=u,e._iub.i18nForBanner=i18nForBanner,e._iub.setStyle=function(e,t){return a(e,t)},e._iub.onLoadCall=function(e,t){return c(e,t)}}(window,document),function(e,t){"use strict";var o=function(e){var o=this,i=e.ui;o.consentGiven=function(e){e=e||{},i.tryConsentGiven(e)},o.showCP=function(){var e=null,o="click";t.createEvent?(e=t.createEvent("Event"),e.initEvent(o,!0,!1)):e=t.createEventObject(),i.bannerCookiePolicyClicked(null,e)},o.printErrors=function(){var t=e.state.errors;t.length||e.logger.log("info","No errors","info",!1);for(var o in t)t.hasOwnProperty(o)&&e.logger.log("info",t[o],"error",!1)},o.isConsentGiven=function(){return e.isConsentGiven()},o.activateSnippets=function(){e.startActivation()},o.setConsentOnScrollOnElement=function(t){i.removeScrollObserver(),e.configure({consentOnScrollOnElement:t}),i.addEventListenerForScroll()}};e._iub.Api=o}(window,document);var _iub=_iub||[];!function(e){var t=function(e){var t=this;t.settings={piwikSiteId:7,inDelay:100,ratio:{top:1e3,level:1001},influx:{serverUrl:"//hits-i.iubenda.com",dbName:"hits1",dbUser:"db1_user",dbPwd:"db1_user_pwd"}},t.state={enabled:!1},t.cs=e,t.enableCurrentByRatio=function(){t.state.enabled=t.doTrackByRatio()},t.start=function(e){t.enableCurrentByRatio(),setTimeout(function(){t.track("pageview",{2:["consent",e.toString()]},{e_c:t.cs.options.cookiePolicyId,e_a:e?"page_view_consent":"page_view_no_consent"})},t.settings.inDelay)},t.consentGiven=function(e,o){o=o||{};var i=o.force||!1;t.track("consent_given",{2:["consent","true"],3:["consent type",e]},{e_c:t.cs.options.cookiePolicyId,e_a:"consent_given",e_n:e},{force:i})},t.pageLeave=function(){return!0},t.track=function(e,o,i,n){n=n||{};var r=n.async||!1,s=n.force||!1;if(t.unsupported())return!0;if(!s&&!t.state.enabled)return!0;r=r===!1?!1:!0,o[1]=["ratio",t.getRatio()];try{var a="hits,cp="+i.e_c;if("pageview"===e)"page_view_consent"===i.e_a?a+=t.cs.options.priorConsent?",pv_cs=1":",pv_cs=1,pv_cs_nopc=1":"page_view_no_consent"===i.e_a&&(a+=t.cs.options.priorConsent?",pv_nocs=1":",pv_nocs=1,pv_nocs_nopc=1");else if("consent_given"===e){a+=",cg=1";var c=null;switch(i.e_n){case"documentScroll":c="cg_ds";break;case"documentMoved":c="cg_dm";break;case"bannerXClose":c="cg_bx";break;case"documentClicked":c="cg_dc";break;case"cookiePolicyClosed":c="cg_cpc";break;default:c="cg_na"}a+=","+c+"=1"}a+=" value=1";var l=jQuery||$;l.support.cors=!0,l.ajax({url:t.settings.influx.serverUrl+"/write?db="+t.settings.influx.dbName,data:a,cache:!1,type:"POST",async:!0,beforeSend:function(e){e.setRequestHeader("Authorization","Basic aGl0czFfdTpoaXRzMV91cHdk")},success:function(e){t.cs.debug(e)},error:function(e){t.cs.debug(e)}})}catch(u){t.cs.debug("Exception while hitting (I) for "+e+", parameters: (see below), async: "+r+", exception : "+(u.message||u)),t.cs.debug(o)}},t.makeBaseAuth=function(e,t){var o=e+":"+t,i=btoa(o);return"Basic "+i},t.getRatio=function(){return t.settings.ratio.level/t.settings.ratio.top},t.doTrackByRatio=function(){return t.random(1,t.settings.ratio.top)2&&(r.error=t,4==this.logLevels[n]&&(r.fatal=!0)),this.logLevels[n]>=this.logLevels[e])if("string"==typeof t){var s="".concat("[IUB|",n.toUpperCase(),"]: ",t);i?alert(s):console.log(s)}else console.dir(t);return r};var s=function(e){e=e||{},this.settings={version:"0.13.24",jQuery:{required:!1,minVersion:"1.4.4",targetVersion:"1.7.2","native":!0,maxTries:5,tryInterval:500},Zepto:{required:!0,"native":!0,maxTries:5,tryInterval:500},activate:{classDefault:"_iub_cs_activate",classInline:"_iub_cs_activate-inline",fbInitDelay:300,fbInitMaxTries:10},tracker:{url:"//hits.iubenda.com/piwik.php"},timeoutOnRemoteGet:1e3,timeoutBeforeReload:1e3,consentCookieNameBase:"_iub_cs-",keepLocalCookiesN:10,avoidRequestRemoteConf:!1,loadConfigurationVia:"js",timeoutLoadConfiguration:300,urlForRemoteConf:{js:"//www.iubenda.com/cookie-solution/confs/js/%{cookie_policy_id}.js",jsonp:"//www.iubenda.com/static_cookie_solution/confs/cookie_policy_%{cookie_policy_id}.jsonp?callback=loadConf",http:"//www.iubenda.com/static_cookie-solution/confs/%{cookie_policy_id}"}},this.options={testMode:!1,logLevel:"noLog",raiseOnException:!1,autoStart:!0,useSSL:!1,cookiePolicyId:null,siteId:null,priorConsent:!0,cookiePolicyUrl:null,cookiePolicyInOtherWindow:!1,skipSaveConsent:!1,logViaAlert:!1,lang:"it",banner:{content:null,cookiePolicyLinkCaption:null,zIndex:99999998,backgroundColor:"#000",textColor:"#fff",fontSize:null,fontSizeCloseButton:"20px",fontSizeBody:"14px",innerHtmlCloseBtn:"×",applyStyles:!0,html:null,slideDown:!0,consentOnScrollDelay:500,prependOnBody:!1},rebuildIframe:!1,preserveIubClasses:!1,preserveOriginalClasses:!1,footer:{message:null,btnCaption:null},callback:{onReady:null,onStartupFailed:null,onError:null,onFatalError:null,onBannerShown:null,onCookiePolicyShown:null,onConsentFirstGiven:null,onConsentGiven:null,onConsentRead:null},activateViaCallback:!0,preferenceCookie:{expireAfter:365},enableRemoteConsent:!1,loopbackServer:{iframeBridge:{host:"cdn.iubenda.com",iframePath:"/cookie_solution/iframe_bridge.html"},callback:{host:"www.iubenda.com",setRemoteCookiePath:"/cookie-consent/cookies/set",resetRemoteCookiePath:"/cookie-consent/cookies/reset",getRemoteCookiePath:"/cookie-consent/cookies/get"}},jsLibrary:"jquery",consentOnButton:!0,consentOnElement:"input, textarea, form",consentOnDocument:!1,consentOnScroll:!0,consentOnScrollHorizontal:!1,consentOnScrollOnElement:o,hideInIframe:!1,reloadOnConsent:!1,localConsentDomain:null,localConsentPath:"/",inlineDelay:800},this.state={jQuery:{loading:0,loaded:!1},Zepto:{loading:0,loaded:!1},preLoaded:!1,consentCookieNameRemote:null,consentCookieNameLocal:null,remoteCookieSet:!1,errors:[],fatalError:!1,inlineUniqId:0,fbInitTry:0,remote:{method:"iframe",get:{acknowledged:!1,timeoutOccurred:!1}},enabled:!0,inIframe:!1,consentFoundOnLoad:!1,reloadAfterRemoteSet:!1,reloadAfterLocaleSet:!1,storeClickLocal:!1,activatingNoPriorConsent:!1},this.logger=new r,this.applyTestMode(e.testMode),this.ui=new _iub.CookieSolutionUI(this),this.tracker=new _iub.CookieSolutionTracker(this),this.api=new _iub.Api(this),this.purposes=[],this.crossSiteConsent={},this.consent={consent:!1,timestamp:null,version:null},this.browserDetect.init(),this.checkIfInIframe()};s.prototype.isPriorConsent=function(){return _iub.cs.state.enabled?this.options.priorConsent:(this.info("Cookie policy NOT ENABLED, starting in priorConsent false mode."),!1)},s.prototype.jQuery=function(e){return _iub.cs&&"undefined"==typeof _iub.cs.jQuery&&(_iub.cs.jQuery=this.jQuery),"undefined"!=typeof $?$(e):jQuery(e)},s.prototype.checkIfInIframe=function(){try{this.state.inIframe=e.self!==e.top}catch(t){}},s.prototype.configure=function(e){this.debug("executing configure()...");for(var t in e)if("object"==typeof e[t]||"undefined"==typeof e[t])if("object"==typeof this.options[t])if("object"==typeof e[t])for(var o in e[t])"undefined"!=typeof this.options[t][o]?this.options[t][o]=e[t][o]:this.warn("".concat("configuration option ",t.toUpperCase(),".",o.toUpperCase()," [",e[t][o],"] NOT recognized"));else this.options[t]=e[t];else"undefined"==typeof this.options[t]?this.options[t]=e[t]:this.warn("".concat("configuration option ",t.toUpperCase()," [",e[t],"] MISMATCH"));else null!=this.options[t]&&"object"==typeof this.options[t]?this.warn("".concat("configuration option ",t.toUpperCase()," [",e[t],"] MISMATCH")):"undefined"!=typeof this.options[t]?this.options[t]=e[t]:this.warn("".concat("configuration option ",t.toUpperCase()," [",e[t],"] NOT recognized"));this.state.consentCookieNameRemote=this.settings.consentCookieNameBase+this.options.cookiePolicyId,this.state.consentCookieNameLocal=this.settings.consentCookieNameBase+this.options.cookiePolicyId,this.state.consentCookieNameLocalOld=this.settings.consentCookieNameBase+"local",this.applyTestMode()},s.prototype.setRemotemethod=function(){this.state.remote.method="Explorer"===this.browserDetect.browser&&this.browserDetect.version<9?"callback":"iframe"},s.prototype.preLoad=function(){return _iub.sw.lap("-- "+this.settings.loadConfigurationVia+" ----PRELOAD ---- "),this.debug("executing preLoad()..."),this.state.preLoaded?(this.debug("already preloaded, skipping ..."),!0):(this.options.cookiePolicyId||this.fatal("Cannot start IubendaCookieSolution: cookiePolicyId NOT PROVIDED."),this.setRemotemethod(),this.skipUnsupported()?!0:!this.settings.jQuery.required&&!this.settings.Zepto.required||this.checkJSLibrary()?this.browserDetect.isBot()?(this.info("BOT detected: activating snippet and avoid banner rendering."),void this.applyConsent(!0)):(this.loadConsent(),void(this.state.preLoaded=!0)):!1)},s.prototype.skipUnsupported=function(){return!this.browserDetect.isMobile()&&"Explorer"===this.browserDetect.browser&&this.browserDetect.version<7},s.prototype.setup=function(){return this.debug("executing setup() ..."),this.state.fatalError?(this.error("exiting setup() since in fatalError ..."),!1):!0},s.prototype.start=function(t){this.debug("executing start() ..."),t=t||{};var i=t.doConsentRewrite===o?!0: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.tracker.start(this.isConsentGiven());var n=this;n.isConsentGiven()&&(n.state.consentFoundOnLoad=!0),this.applyConsent(),this.isConsentGiven()&&i&&this.storeConsentLocal(),this.state.reloadAfterLocaleSet&&this.reloadPage(),e.onbeforeunload=function(){n.isConsentGiven()||n.tracker.pageLeave(!1)},this.isConsentGiven()?(this.ui.bindButtons(),_iub.cs.fireCallback("onReady")):(this.options.hideInIframe&&this.state.inIframe||this.ui.start(),this.isPriorConsent()||(this.state.activatingNoPriorConsent=!0,this.startActivation()))}else this.fatal("Cannot start IubendaCookieSolution")},s.prototype.applyConsent=function(e){var e=e===!0;this.debug("applying current consent [with force option: "+e+"] ..."),this.isConsentGiven()||e?(this.info("consent has been given ..."),this.state.activatingNoPriorConsent?this.info("snippets already activated ..."):this.startActivation(),_iub.cs.fireCallback("onConsentRead")):this.info("consent NOT given")},s.prototype.startActivation=function(){var t=this.jQuery;t=e.jQuery;var o=this,i="."+this.settings.activate.classDefault;i+=", ."+this.settings.activate.classDefault+"_iframe",i+=", ."+this.settings.activate.classDefault+"_notused",t(i).each(function(){o.activateSnippet(t(this))}),this.activateSnippetsInline()},s.prototype.fireCallback=function(e,t){var o=null;switch(e){case"onReady":_iub.sw.lap("-- "+this.settings.loadConfigurationVia+" ----ONREADY ---- "),o=this.options.callback.onReady,t=this.consent.consent;break;case"onError":o=this.options.callback.onError;break;case"onFatalError":o=this.options.callback.onFatalError;break;case"onBannerShown":o=this.options.callback.onBannerShown;break;case"onCookiePolicyShown":o=this.options.callback.onCookiePolicyShown;break;case"onConsentFirstGiven":o=this.options.callback.onConsentFirstGiven;break;case"onConsentRead":o=this.options.callback.onConsentRead,o||(o=this.options.callback.onConsentGiven)}if(null!=o)try{this.debug("invoking callback: "+o),o(t)}catch(i){if(this.options.raiseOnException)throw i;"onError"!=e?this.error("Exception while invoking callback "+e+": "+(i.message||i)):this.log("Exception while invoking callback "+e+": "+(i.message||i),"error")}},s.prototype.consentGiven=function(e){var e=e||{},t=e.eventName;this.consent.consent=!0,this.consent.timestamp=(new Date).toISOString(),this.consent.version=this.settings.version,"documentClicked"==t&&this.tracker.state.enabled&&(this.state.storeClickLocal=!0),this.storeConsent(),"documentClicked"!=t&&this.tracker.consentGiven(t),this.fireCallback("onConsentFirstGiven","documentClicked"),this.options.reloadOnConsent&&!this.state.consentFoundOnLoad?this.options.enableRemoteConsent?(this.state.reloadAfterRemoteSet=!0,setTimeout(function(){_iub.cs.reloadPage()},this.settings.timeoutBeforeReload)):this.reloadPage():this.applyConsent()},s.prototype.reloadPage=function(){this.info("Reloading page at consent given ..."),location.reload(!0)},s.prototype.storeConsent=function(){this.options.skipSaveConsent?this.info("NOT saving consent in cookie since options.skipSaveConsent is provided TRUE"):(this.storeConsentLocal(),this.storeConsentRemote())},s.prototype.storeConsentRemote=function(){if(this.options.enableRemoteConsent){this.info("store consent prefs into remote cookie ...");var e={};e[this.state.consentCookieNameRemote]=this.consent,this.setRemoteCookie(e)}else this.warn("skip saving remote consent since enableRemoteConsent option is provided FALSE")},s.prototype.storeConsentLocal=function(){this.info("store consent prefs into local cookie ...");var e=this.consent;e.id=this.options.cookiePolicyId,this.state.storeClickLocal&&(e.documentClicked=!0);try{this.setLocalCookie(this.state.consentCookieNameLocal,e)}catch(t){this.error("store_consent_loc: "+(t.message||t.toSource()))}},s.prototype.loadConsent=function(){this.loadConsentLocal()},s.prototype.loadConsentRemote=function(){this.options.enableRemoteConsent?this.getRemoteCookies():(this.compactRemoteCookies(),this.warn("skip loading remote consent since enableRemoteConsent option is provided FALSE"),this.start())},s.prototype.loadConsentRemoteCallback=function(e){e&&""!=e?(this.info("Remote prefs found!"),this.debug(e),this.consent=e,this.options.reloadOnConsent&&(this.info("page will be reloaded (reloadOnConsent==true) once local prefs are set"),this.state.reloadAfterLocaleSet=!0)):this.info("Remote prefs NOT found!"),this.start()},s.prototype.loadConsentLocal=function(){this.debug("loading local stored consent");var e=this.getLocalCookie(this.state.consentCookieNameLocal);if(""==e){var t=this.getLocalCookie(this.state.consentCookieNameLocalOld);""!=t&&(this.debug("legacy consent found"),t.id==this.options.cookiePolicyId&&(this.debug("legacy consent match"),e=t))}try{this.compactLocalCookie()}catch(o){this.debug("compacting local cookies failed, go on ...")}if(""!=e){this.info("local stored consent found:");var i=e.documentClicked;delete e.documentClicked,this.info(e);for(var n in e)this.consent[n]=e[n];i&&(this.tracker.consentGiven("documentClicked",{force:!0}),this.options.enableRemoteConsent&&this.storeConsentRemote()),this.start(),this.compactRemoteCookies()}else this.info("local stored consent NOT found"),this.loadConsentRemote()},s.prototype.isConsentGiven=function(){return this.consent.consent},s.prototype.version=function(){return this.settings.version},s.prototype.applyTestMode=function(e){e&&(this.options.testMode=e),this.options.testMode&&(this.options.logLevel="debug")},s.prototype.getDefaultLibraryToUse=function(){return"jquery"==this.options.jsLibrary.toLowerCase()?(this.debug("Loading jQuery as default library."),"//cdn.iubenda.com/cookie_solution/jquery-"+this.settings.jQuery.targetVersion+".min.js"):(this.debug("Loading Zepto as default library."),"//cdn-dev.iubenda.com/cookie_solution/zepto.min.js")},s.prototype.checkJSLibrary=function(){if(this.debug("executing checkJSLibrary() ..."),this.state.fatalError)return this.error("exiting checkJSLibrary() since in fatalError ..."),!1;if(this.state.jQuery.loaded)return this.info("jQuery loaded."),!0;if(this.state.Zepto.loaded)return this.info("Zepto loaded."),!0;if(e.jQuery){this.debug("jQuery available, checking its version...");var o=jQuery().jquery;this.debug("jQuery version found: "+o);for(var n=o.split("."),r=this.settings.jQuery.minVersion.split("."),s=!0,a=0;ac){s=!1;break}if(c>l)break}if(s){if(this.info("jQuery version OK."),this.state.jQuery.loaded=!0,!(this.state.jQuery.loading>0))return this.debug("jQuery has been found on page. Returning true to continue the preloading process."),!0;this.debug("jQuery has been loaded by IubendaCookieSolution. Calling preload() to start again the preloading process."),this.preLoad()}else this.fatal("".concat("In order to use IubendaCookieSolution, you need to use jQuery ",this.settings.jQuery.minVersion," or higher."))}else if(e.Zepto&&e.Zepto.fn.animate){if(this.debug("Zepto available, skip check version..."),this.state.Zepto.loaded=!0,!(this.state.Zepto.loading>0))return this.debug("Zepto has been found on page. Returning true to continue the preloading process."),!0;this.debug("Zepto has been loaded by IubendaCookieSolution. Calling preload() to start again the preloading process."),this.preLoad()}else if(this.info("jQuery | Zepto NOT available..."),0==this.state.jQuery.loading&&0==this.state.Zepto.loading){this.debug("jQuery | Zepto script not yet inserted, adding script tag...");var u=t.createElement("script"),p=this.getDefaultLibraryToUse();switch(u.setAttribute("src",p),u.setAttribute("type","text/javascript"),t.getElementsByTagName("head")[0].appendChild(u),this.options.jsLibrary.toLowerCase()){case"jquery":this.settings.jQuery["native"]=!1,this.state.jQuery.loading++;break;case"zepto":this.settings.Zepto["native"]=!1,this.state.Zepto.loading++}var h=this;if(null!=e.onload){this.debug("setting onLoad event after jQuery/Zepto script insertion: update current onload event handler");var d=e.onload;i(function(e){d(e),h.checkJSLibrary()}())}else this.debug("setting onLoad event after jQuery/Zepto script insertion: set new onload event handler"),i(h.checkJSLibrary())}else switch(this.options.jsLibrary.toLowerCase()){case"jquery":if(this.debug("jQuery script tag already inserted"),this.debug("current try to load jQuery: "+this.state.jQuery.loading),this.state.jQuery.loading0||(t.cookie="test;").indexOf.call(t.cookie,"test")>-1);return e}},s.prototype.log=function(e,t){if(this.state.fatalError);else{var o=this.logger.log(this.options.logLevel,e,t,this.options.logViaAlert);this.state.fatalError=o.fatal,this.state.errors.push(o.error),this.cleanArray(this.state.errors,null)}},s.prototype.debug=function(e){this.log(e,"debug")},s.prototype.info=function(e){this.log(e,"info")},s.prototype.warn=function(e){this.log(e,"warn")},s.prototype.error=function(e){this.log(e,"error"),this.fireCallback("onError",e)},s.prototype.fatal=function(e){this.log(e,"fatal"),this.fireCallback("onFatalError",e)},s.prototype.closeCP=function(){this.ui.closeCPiFrame()},s.prototype.resetCookies=function(e){var e=e||{},t=0==e.local?!1:!0,o=0==e.remote?!1:!0;if(t&&this.resetLocalCookie(this.state.consentCookieNameLocal),o){var i={};i[this.state.consentCookieNameRemote]={},this.resetRemoteCookie(i)}},s.prototype.stringEndsWith=function(e,t){return-1!==e.indexOf(t,e.length-t.length)},s.prototype.setUpDataString=function(t){var o=e.jQuery||e.Zepto,i="",n=o(t).data();for(var r in n)n.hasOwnProperty(r)&&(i+="data-"+r+'="'+n[r]+'" ');return i},s.prototype.getStandardAttributes=function(t,o){var o=o||!1,i={src:!0,suppressedsrc:!0,"data-suppressedsrc":!0,type:!0},n="",r=t[0].attributes||[],s=this.jQuery;return s=e.jQuery,s.each(r,function(e,t){if(!i[t.name])if("class"===t.name){if(_iub.cs.options.preserveOriginalClasses){var r="",a=t.value.split(" ")||[];s.each(a,function(e,t){_iub.cs.options.preserveIubClasses&&o?r+=t+" ":-1==t.indexOf("_iub_cs_activate")&&(r+=t+" ")}),n+='class="'+r.trim()+'" '}}else-1==t.name.indexOf("data-")&&(n+=t.name+'="'+t.value+'" ')}),n},s.prototype.activateSnippet=function(t){var o=e.jQuery||e.Zepto;_iub.cs.debug("activating script with source: "+o(t).attr("src"));try{if(o(t).is("script")||o(t).is("iframe")&&_iub.cs.options.rebuildIframe){var i=-1!=o(t).html().indexOf("FB.init")&&"undefined"==typeof FB;if(-1!=o(t).html().search(/connect\.facebook\.net\/[a-z0-9_]+\/sdk\.js/i)&&(i=!1),i&&(_iub.cs.state.fbInitTry++,_iub.cs.state.fbInitTry<=_iub.cs.settings.activate.fbInitMaxTries))return _iub.cs.debug("Skipping FB initialization [try: "+_iub.cs.state.fbInitTry+"]..."),o(t).removeClass("_iub_cs_activate"),setTimeout(function(){_iub.cs.activateSnippet(t)},_iub.cs.settings.activate.fbInitDelay),!0;var n=_iub.cs.setUpDataString(t),r=o(t).attr("suppressedsrc")||o(t).attr("src"),s=null,a=!1,c=_iub.cs.getStandardAttributes(t,!0);r?o(t).is("iframe")?(a=!0,s="'):s="':s="",_iub.cs.debug("Appending: "+s),o(t).after(s),a&&o(t).remove()}else o(t).attr("suppressedsrc")&&o(t).attr("src",o(t).attr("suppressedsrc"))}catch(l){if(this.options.raiseOnException)throw l;this.error("Exception while activating snippet: "+(l.message||l))}},s.prototype.activateSnippetsInline=function(){var o=this.jQuery;o=e.jQuery,o("script._iub_cs_activate-inline").first().each(function(){_iub.cs.debug("activating inline script ["+_iub.cs.state.inlineUniqId+"]");try{if(_iub.cs.state.inlineUniqId++,o(this).parents("body").length>0){var e="_iub_cs-container-"+_iub.cs.state.inlineUniqId;o(this).after('
'),t.write=function(t){_iub.cs.debug("document.write into #"+e),o("#"+e).append(t)},t.writeln=function(t){_iub.cs.debug("document.writeln into #"+e),o("#"+e).append(t)}}var i=_iub.cs.getStandardAttributes(o(this),!1),n=_iub.cs.setUpDataString(o(this)),r=null;r=o(this).attr("src")?"':"",_iub.cs.debug("Appending: "+r),o(this).after(r)}catch(s){if(_iub.cs.options.raiseOnException)throw s;_iub.cs.error("Exception while activating inline script: ["+_iub.cs.state.inlineUniqId+"]"+(s.message||s))}o(this).remove()}),o("script._iub_cs_activate-inline").length>0&&setTimeout(_iub.cs.activateSnippetsInline,_iub.cs.options.inlineDelay)},s.prototype.preLoadIubendaCookieSolution=function(){this.loaderConf=new _iub.RemoteConfLoader(_iub,function(){_iub.sw.lap("---- CALLBACK FROM REMOTE ---- "),_iub.cs.preLoad()}),_iub.sw.lap(" ---- START REMOTE CONF LOADER ---- "),this.loaderConf.start()},_iub.cs||(e._iub.cs=new s({testMode:!1})),"complete"==t.readyState?(e._iub.cs.debug("Document ready: auto-detect ASYNCH embedding"),_iub.csConfiguration?(_iub.csConfiguration.logLevel?_iub.cs.options.logLevel=_iub.csConfiguration.logLevel:null,_iub.cs.configure(_iub.csConfiguration)):e._iub.cs.warn("_iub.csConfiguration NOT found"),_iub.cs.preLoadIubendaCookieSolution()):(e._iub.cs.debug("Document NOT ready: auto-detect SYNCH embedding"),_iub.csConfiguration?(_iub.csConfiguration.logLevel?_iub.cs.options.logLevel=_iub.csConfiguration.logLevel:null,_iub.cs.configure(_iub.csConfiguration)):_iub.cs.warn("_iub.csConfiguration NOT found"),i(_iub.cs.preLoadIubendaCookieSolution()))}(window,document),Date.prototype.toISOString||!function(){function e(e){var t=String(e);return 1===t.length&&(t="0"+t),t}Date.prototype.toISOString=function(){return this.getUTCFullYear()+"-"+e(this.getUTCMonth()+1)+"-"+e(this.getUTCDate())+"T"+e(this.getUTCHours())+":"+e(this.getUTCMinutes())+":"+e(this.getUTCSeconds())+"."+String((this.getUTCMilliseconds()/1e3).toFixed(3)).slice(2,5)+"Z"}}();var _iub=_iub||[];_iub.ifr_cc=_iub.ifr_cc||[],function(e,t){function o(e){return new n(e)}function i(t){if(!t){if(!e.event)return null;t=e.event}return"number"==typeof t.keyCode?t.keyCode:"number"==typeof t.which?t.which:"number"==typeof t.charCode?t.charCode:null}var n=function(e){var e=e||{};return this.linkA=e.linkA,this.embedP=e.embedP,this.iFrUrl=e.iFrUrl,this.inParent=e.inParent,this.closeBtnUrl=e.closeBtnUrl,this.straightShow=e.straightShow,this.onLoad=e.onLoad,this.onClose=e.onClose,this.closeOn=e.closeOn,this.shortHeightBy=e.shortHeightBy,this.addClass=e.addClass,this.disableESC=e.disableESC,this.baseZIndex=e.baseZIndex||1e4,this.scrolling=e.scrolling||!1,this.footer=e.footer,this.isMobile=!1,this.mainDoc=null,this.mainC=null,this.iPPC=null,this.cOver=null,this.sp=null,this.IfrPup=null,this.iFr=null,this.iFrW=800,this.iFrH=800,this.vpWidth=null,this.vpHeight=null,this.heightReduction=0,this.scrollX=null,this.scrollY=null,this.mainL=null,this.mainT=null,this.margin=80,this.footerHeight=150,this.htmlOvr={},this.rsTimeout=null,this.checkForMobile(),this.embedP||(this.embedP=this.linkA),this.iFrUrl||(this.iFrUrl=this.linkA.href),"number"==typeof this.shortHeightBy&&(this.heightReduction+=this.shortHeightBy),this.footer&&(this.heightReduction+=this.footerHeight),this.straightShow?this.showDocument():this.bindAll(),this};n.prototype.showDocument=function(){var o=this;this.disableESC||(t.onkeydown=function(e){return o.keyPressed(e),!0}),this.mainDoc=this.inParent?parent.document:t,this.wipeOut();this.mainDoc.getElementsByTagName("html")[0];this.getViewPortSize(),this.setOverflow(this.vpHeight),this.setSizeAndPosition(),this.isMobile&&(clearTimeout(this.rsTimeout),this.rsTimeout=setTimeout(function(){var t=o.inParent?parent.window:e;_iub.cs.jQuery(t).on("resize scroll",function(){o.setSizeAndPosition(),o.applySizeAndPosition()})},50)),this.mainC=this.mainDoc.createElement("div"),this.mainC.id="iubenda-iframe","string"==typeof this.addClass&&(this.mainC.className=this.addClass),this.IfrPup=this.mainDoc.createElement("div"),this.IfrPup.id="iubenda-iframe-popup",this.setStyle(this.IfrPup,"position:relative; display:none"),this.mainC.appendChild(this.IfrPup);try{if("undefined"!=typeof parent.IubSpinner){var i={lines:8,length:2,width:2,radius:2,color:"#FFF",speed:1.2,trail:60,shadow:!1};this.sp=new parent.IubSpinner(i).spin(),this.setStyle(this.sp.el,"position:relative; left:"+this.iFrW/2+"px; top:100px;"),this.mainC.appendChild(this.sp.el)}}catch(n){}this.iPPC=this.mainDoc.createElement("div"),this.iPPC.id="iubenda-iframe-content",this.IfrPup.appendChild(this.iPPC),this.cOver=this.mainDoc.createElement("div"),this.cOver.id="iubenda-iframe-overlay";var r=this.isMobile?this.getDocHeight()+"px":"100%";if(this.setStyle(this.cOver,"position:fixed; top:0; left:0; width:100%; height:"+r+"; background-color:black; z-index:"+this.baseZIndex+"; opacity:.80; filter:alpha(opacity=80); overflow: hidden"),this.closeOn&&"overlay"!=this.closeOn||(this.cOver.onclick=function(e){return o.closeIFrame(e)}),!this.closeOn||"icon"==this.closeOn){var s=this.mainDoc.createElement("a");s.href="#",s.innerHTML="×";var a;a=this.isMobile?"width: 46px !important; height: 48px !important; font-size: 28px !important; line-height:48px!important; ":"width: 23px !important; height: 24px !important; font-size: 14px !important; line-height:24px!important; ";var c="background: none repeat scroll 0 0 white !important; border: none !important; border-radius: 50% !important; box-shadow: 0 2px 3px #888 !important;";c+="color: #333 !important; display: block !important; font-weight: bold !important; position: absolute !important;",c+="font-weight:bold !important; right: -9px !important; text-align: center !important; text-decoration: none !important; top: -10px !important; z-index: 10010 !important; font-family:monospace!important; "+a,this.setStyle(s,c),this.IfrPup.appendChild(s),s.onclick=function(e){return o.closeIFrame(e)}}this.iFr=this.mainDoc.createElement("IFRAME");var l=-1!=this.iFrUrl.indexOf("?")?this.iFrUrl+"&ifr=true&height="+this.iFrH:this.iFrUrl+"?ifr=true&height="+this.iFrH;if(this.iFr.setAttribute("src",l),this.iFr.setAttribute("scrolling",this.scrolling?"yes":"no"),this.iFr.setAttribute("frameBorder","0"),this.iFr.setAttribute("allowtransparency","true"),this.iFr.setAttribute("style","border: 1px solid rgba(0, 0, 0, 0.3); -webkit-border-radius: 6px 6px 0px 0px; -moz-border-radius: 6px 6px 0px 0px; border-radius: 6px 6px 0px 0px; -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); -webkit-background-clip: padding-box; -moz-background-clip: padding-box; background-clip: padding-box;"),this.inParent?parent._iub.onLoadCall(o.iFr,function(){o.iFrameLoaded()}):_iub.onLoadCall(o.iFr,function(){o.iFrameLoaded()}),this.iPPC.appendChild(this.iFr),this.embedP.appendChild(this.mainC),this.mainC.parentNode.insertBefore(this.cOver,this.mainC.nextSibling),this.footer&&this.footer.message&&this.footer.btnCaption){var c;c=this.isMobile?"width: 100%;":"width: 240px;";var u="";!_iub.cs.browserDetect.isMobile()&&"Explorer"===_iub.cs.browserDetect.browser&&_iub.cs.browserDetect.version<9,u="min-height:35px;";var p="";(_iub.cs.jQuery("#iubenda-iframe-content")||jQuery("#iubenda-iframe-content")).append(p);var h=t.getElementById("iubFooterBtn"),o=this;h.onclick=function(e){o.closeIFrame(e),o.footer.onClick&&o.footer.onClick()}}this.applySizeAndPosition()},n.prototype.getViewPortSize=function(){this.isMobile?(this.vpWidth=(this.inParent?parent.window.innerWidth:e.innerWidth)||this.mainDoc.documentElement.clientWidth,this.vpHeight=(this.inParent?parent.window.innerHeight:e.innerHeight)||this.mainDoc.documentElement.clientHeight):(this.vpWidth=Math.max(this.mainDoc.documentElement.clientWidth,e.innerWidth||0),this.vpHeight=Math.max(this.mainDoc.documentElement.clientHeight,e.innerHeight||0))},n.prototype.setSizeAndPositionOnMobile=function(){this.getViewPortSize(),this.margin=this.vpWidth>768?80:this.vpWidth>480?50:25,this.iFrW=Math.min(this.vpWidth-this.margin,800),this.iFrH=Math.min(this.vpHeight-this.margin,800)},n.prototype.setSizeAndPosition=function(){this.getViewPortSize(),this.margin=this.vpWidth>768?80:this.vpWidth>480?50:25,this.iFrW=Math.min(this.vpWidth-this.margin,800),this.iFrH=Math.min(this.vpHeight-this.margin,800),this.heightReduction>0&&(this.iFrH=this.iFrH-this.heightReduction),this.scrollX=(this.inParent?parent.window.pageXOffset:e.pageXOffset)||this.mainDoc.documentElement.scrollLeft,this.scrollY=(this.inParent?parent.window.pageYOffset:e.pageYOffset)||this.mainDoc.documentElement.scrollTop,this.isMobile?(this.mainL=(this.vpWidth-this.iFrW)/2+this.scrollX,this.mainT=this.margin/2+this.scrollY):(this.mainL=(this.vpWidth-this.iFrW)/2+this.scrollX,this.mainT=50)},n.prototype.applySizeAndPosition=function(){null!=this.mainC&&this.setStyle(this.mainC,"top:"+this.mainT+"px; left:"+this.mainL+"px; position:fixed; z-index:"+(this.baseZIndex+1)+";"),null!=this.iFr&&(this.iFr.style.width=this.iFrW+"px",this.iFr.style.height=this.iFrH+"px",this.iPPC.style.width=this.iFrW+"px",this.iPPC.style.height=this.iFrH+"px")},n.prototype.getIFrameContainer=function(){return this.IfrPup},n.prototype.setStyle=function(e,t){this.inParent?parent._iub.setStyle(e,t):_iub.setStyle(e,t)},n.prototype.closeIFrame=function(t){this.embedP.removeChild(this.mainC),this.embedP.removeChild(this.cOver),this.resetOverflow(this.mainDoc.getElementsByTagName("html")[0]),t=t||e.event,t&&(this.stopEventPropagation(t),t.preventDefault?t.preventDefault():t.returnValue=!1,"function"==typeof this.onClose&&this.onClose())},n.prototype.wipeOut=function(){if(this.mainDoc){if(this.mainDoc.getElementById("iubenda-iframe")){var e=this.mainDoc.getElementById("iubenda-iframe");e.parentNode.removeChild(e)}if(this.mainDoc.getElementById("iubenda-iframe-overlay")){var e=this.mainDoc.getElementById("iubenda-iframe-overlay");e.parentNode.removeChild(e)}}},n.prototype.iFrameLoaded=function(){this.sp&&this.sp.stop(),this.IfrPup.style.display="block","function"==typeof this.onLoad&&this.onLoad()},n.prototype.keyPressed=function(e){27==i(e)&&this.closeIFrame(e)},n.prototype.getDocHeight=function(){var e=this.mainDoc;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))},n.prototype.setOverflow=function(e){var t=this.mainDoc.getElementsByTagName("html")[0];this.htmlOvr={general:t.style.overflow.replace("/s*/g"," "),X:t.style.overflowX.replace("/s*/g"," "),Y:t.style.overflowY.replace("/s*/g"," ")};var o=e?e-(this.heightReduction||0)>=550?"hidden":"auto":"hidden";t.style.overflow="",t.style.overflowX=o,t.style.overflowY=o},n.prototype.resetOverflow=function(){var e=this.mainDoc.getElementsByTagName("html")[0];e.style.overflow=this.htmlOvr.general,e.style.overflowX=this.htmlOvr.X,e.style.overflowY=this.htmlOvr.Y},n.prototype.checkForMobile=function(){this.isMobile=/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini|mini|windows\sce|palm/i.test(navigator.userAgent.toLowerCase())},n.prototype.stopEventPropagation=function(t){t=t||e.event,t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},n.prototype.bindAll=function(){var t=this;this.linkA.onclick=function(o){"undefined"==typeof o&&(o=e.event),o.ctrlKey||"undefined"!=typeof o.metaKey&&o.metaKey||(o.target||(o.target=o.srcElement),o.preventDefault?o.preventDefault():o.returnValue=!1,t.showDocument())}},e._iub.ifr_cc.iubendaStartIFrame=function(e){return o(e)}}(window,document);