/*! For license information please see behaviour.min.js.LICENSE.txt */ (()=>{var e={712:(e,t,i)=>{!function(e){"use strict";e(document).ready((function(){e(".entry-content, .article-body").fitVids({customSelector:["iframe[src^='http://www.facebook.com/plugins/video.php']","iframe[src^='http://www.brightcove.com']","iframe[src^='http://bcove.me']","iframe[src^='http://link.brightcove.com']","iframe[src^='http://blip.tv']","iframe[src^='http://d.yimg.com']","iframe[src^='http://www.dailymotion.com']","iframe[src^='https://www.facebook.com/plugins/video.php']","iframe[src^='https://www.brightcove.com']","iframe[src^='https://bcove.me']","iframe[src^='https://link.brightcove.com']","iframe[src^='https://blip.tv']","iframe[src^='https://d.yimg.com']","iframe[src^='https://www.dailymotion.com']"].join(",")}),e(".faq-list").each((function(){var t=e(this);t.children("li").click((function(){t.addClass("running"),e(this).addClass("active").siblings().removeClass("active")}))}));var t,i=e("body");e('input[name="menu-toggle"]').on("change",(function(){clearTimeout(t),"full"===e(this).val()?t=setTimeout((function(){i.addClass("overlayed")}),250):i.removeClass("overlayed")}));var o,n=e("#sub-menu-off"),a=e(window),r=a.width();a.on("resize",window,(function(){clearTimeout(o),o=setTimeout((function(){var e=a.width();(r<768&&e>=768||r>=768&&e<768)&&(r=e,n.prop("checked",!0).trigger("change"))}),200)})),e('.article-body a[rel^="attachment"], .article-body a[rel*=" attachment"]').each((function(){var t=e(this),i=t.children("img.alignleft, img.alignright");i.length&&(i.hasClass("alignleft")?(t.addClass("alignleft"),i.removeClass("alignleft")):(t.addClass("alignright"),i.removeClass("alignright")))}));var s="function"==typeof window.history.replaceState&&(window.history.replaceState({page:1,href:location.href},document.title),!0),l=function(t){e(document).find('a[href="'+window.location.hash+'"]').first().focus(),!s||window.history.state&&1===window.history.state.page?window.location.hash="":window.history.go(-1)};e(document).on("click",".ol-close.iconned",(function(e){l(),e.preventDefault(e)})),e(document).keyup((function(e){27!==e.keyCode||"#navigation"!==window.location.hash&&"#login"!==window.location.hash&&"#search"!==window.location.hash||l()})),e(".report-content table").wrap("
")}))}(i(669))},358:(e,t,i)=>{!function(e){"use strict";e(document).ready((function(){e(".search-form").each((function(){var t,i=e(this),o=i.find(".filters select"),n=function(){var t=e(this).data("name");o.filter('[name="'+t+'"]').val(0).trigger("change")},a=function(){e("input[id=search_query_string]").val(""),console.log("ciao1"),o.val(0).trigger("change"),console.log("ciao")},r=e(''),s=e(' '),l=function(){var t,l,c=(t={},o.each((function(){var i=e(this),o=i.get(0).nodeName.toLowerCase();void 0!==i.attr("name")&&(t[i.attr("name")]={value:i.val()||0,text:"select"===o?i.find(":selected").text():i.text(),name:i.attr("name"),node:o})})),t);if(0!==Object.keys(c).length)for(var d in 0===i.find(r).length&&r.appendTo(i),r.find(".filter-button").off().remove(),c)!c.hasOwnProperty(d)||parseInt(c[d].value,10)<=0||(0===r.find(s).length&&s.data({name:"clear-all"}).on("click",a).appendTo(r),e(' ")).data({name:c[d].name}).on("click",n).appendTo(r))};function c(t){0===r.find(s).length&&e("input[id=search_query_string]").val().trim()&&s.data({name:"clear-all"}).on("click",a).appendTo(r)}l(),i.on("change",".filters select, input[name=sort_results]",(function(e){l(),clearTimeout(t),e.preventDefault(),i.find(".icon-magnification").first().addClass("search-loading"),t=setTimeout((function(){i.submit()}),500)}));var d=e("input[id=search_query_string]");void 0!==d.val()&&(d.keyup(function(e,t){var i=0;return function(){var o=this,n=arguments;clearTimeout(i),i=setTimeout((function(){e.apply(o,n)}),t||0)}}(c,600)),c())}))}))}(i(669))},366:()=>{let e=0;document.addEventListener("scroll",(()=>{document.body.style.setProperty("--scroll-dir",window.scrollY-e<=0?"up":"down"),document.body.classList.remove(window.scrollY-e<=0?"scroll-down":"scroll-up"),document.body.classList.add(window.scrollY-e<=0?"scroll-up":"scroll-down"),e=window.scrollY}))},635:()=>{const e=document.querySelectorAll(".faq__question");e.forEach((t=>{t.addEventListener("toggle",(()=>{t.open&&e.forEach((e=>{e!==t&&(e.open=!1)}))}))}))},177:(e,t,i)=>{!function(e){"use strict";var t=function(e){var t={};return(e||window.location.search).replace(new RegExp("([^?=&]+)(=([^&]*))?","g"),(function(e,i,o,n){t[i]=n})),t};e.fn.extend({campaingTracking:function(i){var o=e.extend({},{get:[],host:"",time:86400,overwrite:!1},i),n=t(),a={},r=new RegExp("^.*"+o.host+".*","gi");if("function"==typeof Cookies){for(var s in o.get)o.get.hasOwnProperty(s)&&(void 0!==n[o.get[s]]&&Cookies.set(o.get[s],n[o.get[s]],{expires:o.time>0?o.time/86400:0}),Cookies.get(o.get[s])&&(a[o.get[s]]=Cookies.get(o.get[s])));return this.each((function(i,n){var s=e(n),l=s.get(0).search,c=s.get(0).hash,d=s.prop("href").replace(l,"").replace(c,"");return s.is("a")?(d.match(r)&&Object.keys(a).length&&s.on("click",(function(i){var n=a;i.preventDefault(),l.length&&(n=o.overwrite?e.extend(t(l),n):e.extend(n,t(l))),Object.keys(n).length&&(l=e.map(n,(function(e,t){return e&&t?t+"="+e:null})).join("&")),l.length&&!l.match(/^\?/)&&(l="?"+l),window.location=d+l+c})),n):n}))}console.log("js.cookie not loaded.")}})}(i(669))},170:(e,t,i)=>{var o,n;!function(a){if(void 0===(n="function"==typeof(o=a)?o.call(t,i,t,e):o)||(e.exports=n),e.exports=a(),!!0){var r=window.Cookies,s=window.Cookies=a();s.noConflict=function(){return window.Cookies=r,s}}}((function(){function e(){for(var e=0,t={};e'+n.options.errorMessage+"