function getViewport(){return bit.getViewport()}function setViewport(n){bit.viewport=n}function setViewports(n){bit.viewports=n}function getViewportItem(n){return bit.getViewportItem(n)}function getElementsByAttribute(n,t){return bit.getElementsByAttribute(n,t)}function handleLazyLoad(){var n={range:800};if(typeof cmsConfiguration!="undefined"&&cmsConfiguration.lazyLoad&&cmsConfiguration.lazyLoad.init){if(cmsConfiguration.lazyLoad.init.enabled===!1)return;cmsConfiguration.lazyLoad.options!=="undefined"&&(n=cmsConfiguration.lazyLoad.options?cmsConfiguration.lazyLoad.options:n)}$($("#sb-site").length>0?"#sb-site":"body").lazyLoad(n);$.fn.matchHeight!=undefined&&$(".match-height").length>0&&updateMatchHeight()}function updateMatchHeight(){$(document.body).on("lazyLoadItemSuccess.lazyload",".match-height img",function(n,t){t&&$.fn.matchHeight._update()})}function closeCookieDisclaimer(){$.get("/close-cookie-disclaimer/",{async:!0,cache:!1,contentType:"application/xml; charset=utf-8",success:function(){$(".cookie-disclaimer").hide()}}).done(function(){$(".cookie-disclaimer").hide()})}var bit=new function(){var n=this;this.viewport={};this.viewports={s:{name:"s",start:0,end:500},m:{name:"m",start:501,end:800},l:{name:"l",start:801,end:940},xl:{name:"xl",start:941,end:null}};this.initViewports=function(){this.viewport={width:0,height:0,orientations:{landscape:"landscape",portrait:"portrait"},orientation:null,currentViewport:null,viewports:this.viewports};this.updateViewport()};this.getViewportItem=function(n){return viewport.viewports===null?null:viewport.viewports[n]};this.updateViewport=function(){var i=$(window).width(),f=$(window).height(),r,u,t,n;for(this.viewport.width=i,this.viewport.height=f,this.viewport.orientation=i>=f?this.viewport.orientations.landscape:this.viewport.orientations.portrait,r=i,u=Object.keys(this.viewport.viewports),t=0;t<u.length;t++)if(n=this.viewport.viewports[u[t]],r>=n.start&&(n.end==null||r<=n.end)){n!=this.viewport.currentViewport&&(this.viewport.currentViewport=n,$(document).trigger("viewportChange",n));break}};this.initViewports();$(window).on("resize.viewport orientationchange.viewport",function(){bit.updateViewport()});this.getElementsByAttribute=function(n,t){return selector=t===null||typeof t=="undefined"?"["+n+"]":"["+n+"='"+t+"']",$(selector)}},viewport=bit.viewport,viewports=bit.viewports,prm,cmsConfiguration;$(document).ready(function(){window.addEventListener("touchstart",function(){$("body").addClass("bit-touch")})}),function(n){n.className=n.className.replace(/\bbit-no-js\b/,"bit-js")}(document.documentElement),function(n){function o(r){var u=n.Deferred();return u.done(function(i){i===undefined?i={}:i.bindings!==undefined&&(i.bindings=i.bindings.concat(n.fn.lazyLoad.defaults.bindings));t=n.extend({},n.fn.lazyLoad.defaults,i);var r=s();n(t.bindings).each(function(t,i){var u="",r=[];if(i!=null&&i!=undefined){n(i.events).each(function(n,t){u=u+" "+t.name;r[t.name]=t.timer&&t.timer==!0?!0:undefined});n(i.element).on(u,function(n){r[n.type]===undefined?f(n):(r[n.type]&&clearTimeout(r[n.type]),r[n.type]=setTimeout(function(){f(n)},100))})}})}).done(function(){n(i).on("lazyLoadViewportComplete.lazyload",function(t,i){i.amountTotal==i.amountLazyLoaded&&i.amountTotal==0&&(h(),n(this).trigger("lazyLoadComplete.lazyload",i))})}),u.resolve(r),u}function s(){n(i).find("img[data-src]").attr("data-lazy-load","true");n(i).find("img[data-src]").on("error.lazyload load.lazyload",function(i){switch(i.type){case"load":var r=n(this).attr("src");r==n(this).attr("data-src")?(n(this).trigger("lazyLoadItemSuccess.lazyload",n(this).prop("lazyLoadData")),n(this).attr("data-lazy-load","false"),e(n(this).next("img[data-src][data-lazy-load=true]"),i)):r!=n.fn.lazyLoad.defaults.placeholder&&t.placeholder!=n.fn.lazyLoad.defaults.placeholder&&r!=t.placeholder?(n(this).trigger("lazyLoadItemPlaceholderReset.lazyload",i),n(this).attr("src",t.placeholder)):n(this).attr("data-lazy-load")!="false"&&n(this).attr("data-lazy-load","true");break;case"error":n(this).attr("data-lazy-load.lazyload","false");n(this).trigger("lazyLoadItemError",i);n(this).attr("src",t.placeholder)}})}function h(){n(t.bindings).each(function(t,r){if(r!=null&&r!=undefined){var u="";n(r.events).each(function(n,t){u=u+" "+t.name});n(r.element).off(u);n(i).trigger("lazyLoadDeactivate.lazyload")}})}function f(t){var s;if(u==n(window).height()&&r===n(document).scrollTop())return!1;var f=0,o=n(i).find("img[data-src][data-lazy-load=true]"),h=o.length;o.each(function(n,i){f=e(i,t)==!0?f+1:f});s={amountTotal:h,amountLazyLoaded:f};n(i).trigger("lazyLoadViewportComplete.lazyload",s)}function e(f){var o,h,s,c,e;return n(f).attr("data-lazy-load")=="false"||n(f).prop("lazyLoadLock")==!0||n(f).offset()===undefined?!1:(u=n(window).height(),r=n(document).scrollTop(),o=r-t.range-n(f).height(),o=o<0?0:o,h=r+u+t.range,s=Math.floor(n(f).offset().top),!t.enabled||(t.loadImagesBeforeViewport||s>=o)&&s<=h)?(c={targetElement:n(i),displayOnLoad:r==0?!0:!1,elementTop:s,viewportHeight:u,boundaryTop:o,boundaryBottom:h,scrollTop:r},e=n(f).attr("data-src"),e.indexOf("\\")>-1&&(e=e.replace(/\\/g,"/")),e.indexOf("~")>-1&&(e=e.substr(e.indexOf("~")+1,e.length)),n(f).prop("lazyLoadLock",!0).attr("src",e).prop("lazyLoadData",c),!0):!1}var i,t,u,r;n.fn.lazyLoad=function(r){i=this;var u=n.Deferred();return u.done(function(){o(r)}).done(function(){t.debug==!0&&n.fn.lazyLoad.debug();n(i).trigger("lazyLoadInit.lazyLoad",t);f()}),u.resolve(),n(i)};n.fn.lazyLoad.defaults={debug:!1,placeholder:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",range:0,enabled:!0,loadImagesBeforeViewport:!0,bindings:[{element:window,events:[{name:"load.lazyload"},{name:"orientationchange.lazyload"},{name:"scroll.lazyload",timer:!1},{name:"resize.lazyload",timer:!1}]},]};n.fn.lazyLoad.loadAll=function(){t.enabled=!1;f()};n.fn.lazyLoad.debug=function(){if(console!=undefined&&console.log!=undefined&&console.groupCollapsed!=undefined){n(i).on("lazyLoadInit lazyLoadViewportComplete lazyLoadComplete lazyLoadDeactivate",function(t,i){var r=n(this).attr("id"),u=n(this).attr("class");console.groupCollapsed(t.type+": "+(r!=undefined?r:u));console.log("Element: ",n(this));console.log("Event: ",t);console.log("Parameters: ",i);console.groupEnd()});n("img[data-src]").on("lazyLoadItemPlaceholderReset lazyLoadItemSuccess lazyLoadItemError",function(t,i){console.groupCollapsed(t.type+": "+n(this).attr("data-src"));console.log("Element: ",n(this));console.log("LazyLoadData:",n(this).prop("lazyLoadData"));console.log("Event: ",t);console.log("Event parameters: ",i);console.groupEnd()})}}}(jQuery);$(document).ready(function(){handleLazyLoad()});Sys&&Sys.WebForms&&Sys.WebForms.PageRequestManager&&(prm=Sys.WebForms.PageRequestManager.getInstance(),prm.add_endRequest(function(){handleLazyLoad()})),function(n){function i(i){var u=n(i),o=u.attr("placeholder"),e;o.length<1||(e=r(u,o),f(e,u),t(e,u))}function r(t,i){return $placeholder=n("<span>").addClass("placeholder").html(i).width(t.outerWidth()).height(t.outerHeight()).css({display:t.css("block"),"font-size":t.css("font-size"),"line-height":t.css("line-height"),"padding-top":t.css("padding-top"),"padding-right":t.css("padding-right"),"padding-bottom":t.css("padding-bottom"),"padding-left":t.css("padding-left"),position:"absolute","z-index":parseInt(t.css("z-index")+1)}).insertBefore(t)}function u(n,t){n.width(t.outerWidth()).height(t.outerHeight()).css("top",t.position().top).css("left",t.position().left)}function f(i,r){i.on("mousedown.placeholder",function(){r.is(":enabled")&&r.trigger("focus")});r.on("focus.placeholder",function(){i.hide()});r.on("blur.placeholder",function(){t(i,r)});r[0].onpropertychange=function(n){n!=undefined&&n.propertyName==="value"&&t(i,r)};n(window).on("resize.placeholder",function(){u(i,r)})}function t(t,i){t.toggle(!n.trim(i.val()).length)}n.fn.placeholder=function(n){if(!("placeholder"in document.createElement("input"))){var t=this;return t.each(function(){i(this,n)}),this}}}(jQuery);$(document).ready(function(){"placeholder"in document.createElement("input")||$("input[placeholder], textarea[placeholder]").placeholder()}),function(n){function b(i){e=i;k();tt();nt();d();g();t.attr("autocomplete","off");n(window).on("resize",function(){ut()})}function h(t){if(n(r.children().get(0)).text()==u.textNoMatchingDataFound){n(r.children().get(t)).removeClass("autocomplete-preselect");return}t<-1&&(t=-1);var i=r.children().length;t>=r.children().length&&(t=r.children().length-1);r.find(".autocomplete-preselect").removeClass("autocomplete-preselect");t>-1&&n(r.children().get(t)).addClass("autocomplete-preselect");c=t}function k(){e===undefined&&(e={});u=n.extend({},n.fn.autocomplete.defaults,e);u.getData!=null&&typeof u.getData=="function"&&(t.getData=u.getData);t.highlightHandler=u.highlightHandler!=null&&typeof u.highlightHandler=="function"?u.highlightHandler:function(n){return rt(n)}}function d(){if(e.ajaxSetup==null||e.ajaxSetup==!1||e.ajaxSetup==undefined){u.ajaxSetup=null;return}u.ajaxSetup=n.extend({},n.fn.autocomplete.ajaxSetup,e.ajaxSetup);u.ajaxSetup.context=t.get(0);u.ajaxSetup.success=function(n){var n=t.filterResult(n);v(n)};t.filterResult=typeof u.ajaxSetup.filterResult=="function"?u.ajaxSetup.filterResult:function(n){return n!=undefined&&n.length>0?n:undefined};t.prop("ajaxSetup",u.ajaxSetup)}function a(i){t=n(i).prop("customAutocompleter");r=n(i).prop("customAutocompleter.datalist");u=n(i).prop("customAutocompleter.settings");f=n(i).prop("customAutocompleter.data")}function g(){t.on("focus keypress keyup change paste",function(i){var e,s,f;if(i.type=="focus"&&n(n(window).prop("bit.autocompleters")).each(function(t,r){if(!n(i.target).is(r)){var u=n(r).prop("customAutocompleter.datalist");n(u).hide()}}),a(i.target),e={Enter:13,Up:38,Down:40},s=i.keyCode||i.which,s==e.Enter&&i.type=="keypress"){if(i.preventDefault(),r.is(":visible")){if(f=r.find(".autocomplete-preselect:first"),f.length>0&&f.attr("data-autocomplete-listitem-custom-handler")=="true")return t.trigger("selectedCustom.autocomplete",f.text()),f.text()!==t.val()&&f.removeClass("autocomplete-preselect"),r.hide(),!1;if(f.length==0){t.trigger("selectedNotInResult.autocomplete",t.val());r.hide();return}if(u.context!==null&&t.trigger("selected.autocomplete",f.text()),r.hide(),u.preventSubmitOnEnterSelected)return f.length>0&&t.val(f.text()),!1;if(u.submitOnEnter==!0){r.hide();return}return f.removeClass("autocomplete-preselect"),r.hide(),!1}return}if(n.inArray(s,[e.Up,e.Down])>-1&&i.type=="keyup"&&r!=undefined)return i.preventDefault(),s==e.Down?h(c+1):s==e.Up&&h(c-1),!1;n.inArray(i.type,["focus","keypress","keyup","change","paste"]>-1)&&s!=e.Enter&&(u.showListOnFocus||!u.showListOnFocus&&(o!=undefined?o.toLowerCase():o)!=t.val().toLowerCase())&&(previousValue=o,o=t.val(),p(i))});t.on("blur.autocomplete",function(){a(this);u.autoSelectFirstItem==!1&&r.find(".autocomplete-preselect").removeClass("autocomplete-preselect");setTimeout(function(){t.is(":focus")||r==undefined||r.length!=1||r.hide()},300)});t.on("selected.autocomplete",function(n,i){a(this);i!=u.textNoMatchingDataFound&&t.val(i);p();t.trigger("focus.autocomplete")});t.get(0).addEventListener("keydown",y,!1);t.get(0).addEventListener("keypress",y,!1)}function nt(){t.getCurrentValue=function(){return t.val()};t.getAmount=function(){return u.amount};t.getContextKey=function(){return u.contextKey==undefined?"":u.contextKey};t.get(0).addListItem=function(i,u){if(!(r.find(n(i))>0)){if(u==!0){n(i).attr("data-autocomplete-listitem-custom-handler","true");n(i).on("mousedown.autocomplete",function(){t.trigger("selectedCustom.autocomplete",n(i).text())});n(i).on("mouseover.autocomplete",function(){h(n(this).index())})}r.append(n(i))}};t.get(0).update=function(n,t){n=="data"&&v(t)}}function p(){var e,i,f;if((o==null||o==undefined||o.length<u.minimalCharactherLength)&&r!=undefined&&u.showListOnFocus==!1){r.hide();return}s!==undefined&&s!=null&&s.readystate!=4&&s.abort();t.addClass("autocomplete-loading");r!=undefined&&r.addClass("autocomplete-loading");typeof t.getData=="function"?(e=t.getData(),v(e),r.removeClass("autocomplete-loading")):u.ajaxSetup&&(i=t.prop("ajaxSetup"),f=n.extend(!0,{},i),f.data=typeof i!="undefined"&&typeof i.data=="function"?i.data(t):i.data,s=n.ajax(f).always(function(){s=null;t.removeClass("autocomplete-loading");r!=undefined&&r.removeClass("autocomplete-loading")}))}function tt(){var i=t.attr("id")+"_autocomplete";r=n("<ul><\/ul>").attr("id",i).addClass("autocomplete-list").width(t.outerWidth()).css("top",t.position().top+t.outerHeight()).css("left",t.position().left);t.after(r)}function v(n){var i=it(n);f!=undefined&&(i&&(u.autoSelectFirstItem?f.length>0&&h(0):r.find(".autocomplete-preselect").length==0&&h(-1),t.trigger("changedList.autocomplete",r)),r.find("[data-autocomplete-result-index]").length>0&&!(f.length==1&&f[0].toLowerCase()==t.val().toLowerCase())?r.show():f.length==1&&f[0].toLowerCase()==t.val().toLowerCase()?r.hide():r.hide())}function it(i){if(f=i,t.prop("customAutocompleter.data",f),f!=undefined){var e=r.children("[data-autocomplete-result-index]");f.length<e.length&&e.slice(f.length-e.length).remove();n(f).each(function(i,f){$currentOption=n(r.find("li[data-autocomplete-result-index="+i+"]"));$currentOption.length>0&&$currentOption.remove();var e=u.highlightResult==!0?t.highlightHandler(f):f;$li=n('<li data-autocomplete-result-index="'+i+'">'+e+"<\/li>").on("mouseover.autocomplete",function(){h(n(this).attr("data-autocomplete-result-index"))}).on("mousedown.autocomplete",function(){var n=jQuery.Event("keypress");n.which=13;n.keyCode=13;t.trigger(n)});r.append($li)})}return!0}function rt(n){var f=n.split(","),r=[t.val()],u;if(t.val().indexOf(!1)&&(r=t.val().split(",")),u="",r.length==1||f.length==1)u=w(r[0],n);else if(r.length>1&&r.length<=f.length)for(i=0;i<r.length;i++)u+=(u!=""?",":"")+w(r[i],n.split(",")[i]);else u=n;return u}function w(n,t){if(n=n.trim(),t.trim()==""||n=="")return t;var i=new RegExp(n,"gi");return t.replace(i,function(n){return'<span class="auto-complete-list-item-highlight-text">'+n+"<\/span>"})}function ut(){n(n(window).prop("bit.autocompleters")).each(function(t,i){var r=n(i).prop("customAutocompleter.datalist");n(r).width(n(i).outerWidth()).css("top",n(i).position().top+n(i).outerHeight()).css("left",n(i).position().left)})}var t=null,r,e,u,s,o,f,c=-1,l=!1,y;n.fn.autocomplete=function(i,f){return t=n(this),b(i,f),t.prop("customAutocompleter",t),t.prop("customAutocompleter.datalist",r),t.prop("customAutocompleter.settings",u),n(window).prop("bit.autocompleters")==undefined&&n(window).prop("bit.autocompleters",[]),n(window).prop("bit.autocompleters").push(t.get(0)),r.hide(),t};n.fn.autocomplete.defaults={minimalCharactherLength:0,getData:null,ajaxSetup:null,preventSubmitOnEnterSelected:!1,amount:20,autoSelectFirstItem:!0,showListOnFocus:!1,submitOnEnter:!1,highlightResult:!0,highlightHandler:null,textNoMatchingDataFound:"no matching data found",context:null};n.fn.autocomplete.ajaxSetup={url:"",accepts:"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8",contentType:"application/json; charset=utf-8",method:"POST",data:{prefixText:"",count:n.fn.autocomplete.defaults.amount,contextKey:""}};y=function(n){if(l){n.preventDefault();return}if(n.keyCode==38||n.keyCode==40){var t=this.selectionStart;this.selectionStart=t;this.selectionEnd=t;l=!0;setTimeout(function(){l=!1},1);n.preventDefault()}}}(jQuery);cmsConfiguration={lazyLoad:{init:{enabled:!0},options:{range:2e4}}};!function(n){n.slidebars=function(t){function g(){!o.disableOver||"number"==typeof o.disableOver&&o.disableOver>=b?(p=!0,n("html").addClass("sb-init"),o.hideControlClasses&&rt.removeClass("sb-hide"),nt()):"number"==typeof o.disableOver&&o.disableOver<b&&(p=!1,n("html").removeClass("sb-init"),o.hideControlClasses&&rt.addClass("sb-hide"),c.css("minHeight",""),(u||f)&&e())}function nt(){c.css("minHeight","");c.css("minHeight",n("html").height()+"px");i&&i.hasClass("sb-width-custom")&&i.css("width",i.attr("data-sb-width"));r&&r.hasClass("sb-width-custom")&&r.css("width",r.attr("data-sb-width"));i&&(i.hasClass("sb-style-push")||i.hasClass("sb-style-overlay"))&&i.css("marginLeft","-"+i.css("width"));r&&(r.hasClass("sb-style-push")||r.hasClass("sb-style-overlay"))&&r.css("marginRight","-"+r.css("width"));o.scrollLock&&n("html").addClass("sb-scroll-lock")}function w(n,t,i){var r,u;(r=n.hasClass("sb-style-push")?c.add(n).add(ut):n.hasClass("sb-style-overlay")?n:c.add(ut),"translate"===v)?r.css("transform","translate("+t+")"):"side"===v?("-"===t[0]&&(t=t.substr(1)),"0px"!==t&&r.css(i,"0px"),setTimeout(function(){r.css(i,t)},1)):"jQuery"===v&&("-"===t[0]&&(t=t.substr(1)),u={},u[i]=t,r.stop().animate(u,400));setTimeout(function(){"0px"===t&&(r.removeAttr("style"),nt())},400)}function h(t){function o(){p&&"left"===t&&i?(n("html").addClass("sb-active sb-active-left"),i.addClass("sb-active"),w(i,i.css("width"),"left"),setTimeout(function(){u=!0},400)):p&&"right"===t&&r&&(n("html").addClass("sb-active sb-active-right"),r.addClass("sb-active"),w(r,"-"+r.css("width"),"right"),setTimeout(function(){f=!0},400))}"left"===t&&i&&f||"right"===t&&r&&u?(e(),setTimeout(o,400)):o()}function e(t){(u||f)&&(u&&(w(i,"0px","left"),u=!1),f&&(w(r,"0px","right"),f=!1),setTimeout(function(){n("html").removeClass("sb-active sb-active-left sb-active-right");i&&i.removeClass("sb-active");r&&r.removeClass("sb-active");"undefined"!=typeof t&&(window.location=t)},400))}function k(n){"left"===n&&i&&(u?e():h("left"));"right"===n&&r&&(f?e():h("right"))}function l(n,t){n.stopPropagation();n.preventDefault();"touchend"===n.type&&t.off("click")}var o=n.extend({siteClose:!0,scrollLock:!1,disableOver:!1,hideControlClasses:!1},t),s=document.createElement("div").style,tt=!1,it=!1,c,i,u,r,f,v;(""===s.MozTransition||""===s.WebkitTransition||""===s.OTransition||""===s.transition)&&(tt=!0);(""===s.MozTransform||""===s.WebkitTransform||""===s.OTransform||""===s.transform)&&(it=!0);var a=navigator.userAgent,y=!1,d=!1;/Android/.test(a)?y=a.substr(a.indexOf("Android")+8,3):/(iPhone|iPod|iPad)/.test(a)&&(d=a.substr(a.indexOf("OS ")+3,3).replace("_","."));(y&&3>y||d&&5>d)&&n("html").addClass("sb-static");c=n("#sb-site, .sb-site-container");n(".sb-left").length&&(i=n(".sb-left"),u=!1);n(".sb-right").length&&(r=n(".sb-right"),f=!1);var p=!1,b=n(window).width(),rt=n(".sb-toggle-left, .sb-toggle-right, .sb-open-left, .sb-open-right, .sb-close"),ut=n(".sb-slide");g();n(window).resize(function(){var t=n(window).width();b!==t&&(b=t,g(),u&&h("left"),f&&h("right"))});tt&&it?(v="translate",y&&4.4>y&&(v="side")):v="jQuery";this.slidebars={open:h,close:e,toggle:k,init:function(){return p},active:function(n){return"left"===n&&i?u:"right"===n&&r?f:void 0},destroy:function(n){"left"===n&&i&&(u&&e(),setTimeout(function(){i.remove();i=!1},400));"right"===n&&r&&(f&&e(),setTimeout(function(){r.remove();r=!1},400))}};n(".sb-toggle-left").on("touchend click",function(t){l(t,n(this));k("left")});n(".sb-toggle-right").on("touchend click",function(t){l(t,n(this));k("right")});n(".sb-open-left").on("touchend click",function(t){l(t,n(this));h("left")});n(".sb-open-right").on("touchend click",function(t){l(t,n(this));h("right")});n(".sb-close").on("touchend click",function(t){if(n(this).is("a")||n(this).children().is("a")){if("click"===t.type){t.preventDefault();var i=n(this).is("a")?n(this).attr("href"):n(this).find("a").attr("href");e(i)}}else l(t,n(this)),e()});c.on("touchend click",function(t){o.siteClose&&(u||f)&&(l(t,n(this)),e())})}}(jQuery),function(n){function s(r){var u=n.Deferred();return u.done(function(i){i===undefined?i={}:i.bindings!==undefined&&(i.bindings=i.bindings.concat(n.fn.bitAnimate.defaults.bindings));t=n.extend({},n.fn.bitAnimate.defaults,i);n.trim(t.selector)!=""&&n(t.selector).addClass(t.addClass);n("."+t.addClass).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend transitionend OTransitionEnd webkitTransitionEnd",function(){l(this)});n(t.bindings).each(function(t,i){var u="",r=[];if(i!=null&&i!=undefined){n(i.events).each(function(n,t){u=u+" "+t.name;r[t.name]=t.timer&&t.timer==!0?!0:undefined});n(i.element).on(u,function(n){r[n.type]===undefined?e(n):(r[n.type]&&clearTimeout(r[n.type]),r[n.type]=setTimeout(function(){e(n)},100))})}})}).done(function(){n(i).on("bitAnimateViewportComplete.bitAnimate",function(t,i){i.amountTotal==i.amountAnimated&&i.amountTotal==0&&n(this).trigger("bitAnimateComplete.bitAnimate",i)})}),u.resolve(r),u}function e(e){var s,a,l,v;if(u===n(window).height()&&r===n(document).scrollTop()||o==!0&&t.mobile==!0)return!1;f=r==undefined||n(document).scrollTop()>=r?"down":"up";s=0;a=[];f==="down"?(l=n(i).find("."+t.addClass),l.each(function(n,t){var i=h(t,e)==!0;s=i?s+1:s;i&&a.push(t)})):(l=n(i).find("."+t.prefixClass+"done"),l.each(function(n,t){var i=c(t,e)==!0;s=i?s+1:s;i&&a.push(t)}));v={amountTotal:l.length,amountAnimated:s,items:a,scrollDirection:f};n(i).trigger("bitAnimateViewportComplete.bitAnimate",v)}function h(i){var f,s,e,o;return(n(i).prop("bitAnimationLockReverse",!1),n(i).prop("bitAnimationLock")==!0||n(i).offset()===undefined)?!1:(u=n(window).height(),r=n(document).scrollTop(),f=r-t.range-n(i).height(),f=f<0?0:f,s=r+u+t.range,e=0,t.percentageVisibleBeforeLoad>0&&(e=n(i).outerHeight()/100*t.percentageVisibleBeforeLoad),o=Math.floor(n(i).offset().top),!t.enabled||(t.loadAnimationBeforeViewport||o+e>=f)&&o+e<=s)?(n(i).addClass("bit-animation-start bit-transition-start").prop("bitAnimationLock",!0),!0):!1}function c(i){var f,e,o,s;return(n(i).prop("bitAnimationLock",!1),n(i).attr("data-bit-animation-reverse")=="false"||n(".bit-animate:first")[0]===i||n(i).prop("bitAnimationLockReverse")==!0||n(i).offset()===undefined)?!1:(u=n(window).height(),r=n(document).scrollTop(),f=r-t.range,f=f<0?0:f,e=r+u-t.range,o=0,t.percentageVisibleBeforeLoad>0&&(o=n(i).outerHeight()/100*t.percentageVisibleBeforeLoad),s=Math.floor(n(i).offset().top+n(i).height()),!t.enabled||s>e)?(n(i).addClass("bit-animation-reverse").removeClass("bit-transition-start").prop("bitAnimationLockReverse",!0),!0):!1}function l(i){n(i).addClass(t.prefixClass+"done")}function a(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}var i,t,u,r,f,o=!1;n.fn.bitAnimate=function(r){var f,u;return i=this,f=null,o=a(),u=n.Deferred(),u.done(function(){s(r)}).done(function(){t.debug==!0&&n.fn.bitAnimate.debug();n(i).trigger("init.bitAnimate",t);e()}),u.resolve(),n(i)};n.fn.bitAnimate.defaults={debug:!0,selector:"",addClass:"bit-animate",prefixClass:"bit-animation-",range:0,enabled:!0,mobile:!0,percentageVisibleBeforeLoad:0,loadAnimationBeforeViewport:!0,bindings:[{element:window,events:[{name:"load.bitAnimate"},{name:"orientationchange.bitAnimate"},{name:"scroll.bitAnimate",timer:!1},{name:"resize.bitAnimate",timer:!1}]},]};n.fn.bitAnimate.debug=function(){if(console!=undefined&&console.log!=undefined&&console.groupCollapsed!=undefined){n(i).on("bitAnimate bitAnimateViewportComplete bitAnimateComplete bitAnimateDeactivate",function(t,i){var r=n(this).attr("id"),u=n(this).attr("class");console.groupCollapsed(t.type+": "+(r!=undefined?r:u));console.log("Element: ",n(this));console.log("Event: ",t);console.log("Parameters: ",i);console.groupEnd()});n("img[data-src]").on("bitAnimateItemPlaceholderReset bitAnimateItemSuccess bitAnimateItemError",function(t,i){console.groupCollapsed(t.type+": "+n(this).attr("data-src"));console.log("Element: ",n(this));console.log("bitAnimateData:",n(this).prop("bitAnimateData"));console.log("Event: ",t);console.log("Event parameters: ",i);console.groupEnd()})}}}(jQuery);$(document).ready(function(){$("body").bitAnimate({selector:".snp-premium-selection-image, .snp-logo-selection-inner, .snp-company-in-numbers .grid-cols, .snp-image-carroussel-box, .snp-content-l-r, .snp-client-card-wrapper",percentageVisibleBeforeLoad:10,mobile:!1})}),function(n){var f=-1,r=-1,i=function(n){return parseFloat(n)||0},o=function(t){var f=1,e=n(t),u=null,r=[];return e.each(function(){var t=n(this),e=t.offset().top-i(t.css("margin-top")),o=r.length>0?r[r.length-1]:null;o===null?r.push(t):Math.floor(Math.abs(u-e))<=f?r[r.length-1]=o.add(t):r.push(t);u=e}),r},e=function(t){var i={byRow:!0,property:"height",target:null,remove:!1};return typeof t=="object"?n.extend(i,t):(typeof t=="boolean"?i.byRow=t:t==="remove"&&(i.remove=!0),i)},t=n.fn.matchHeight=function(i){var r=e(i),u;return r.remove?(u=this,this.css(r.property,""),n.each(t._groups,function(n,t){t.elements=t.elements.not(u)}),this):this.length<=1&&!r.target?this:(t._groups.push({elements:this,options:r}),t._apply(this,r),this)},u;t._groups=[];t._throttle=80;t._maintainScroll=!1;t._beforeUpdate=null;t._afterUpdate=null;t._apply=function(r,u){var f=e(u),s=n(r),c=[s],l=n(window).scrollTop(),a=n("html").outerHeight(!0),h=s.parents().filter(":hidden");return h.each(function(){var t=n(this);t.data("style-cache",t.attr("style"))}),h.css("display","block"),f.byRow&&!f.target&&(s.each(function(){var t=n(this),i=t.css("display");i!=="inline-block"&&i!=="inline-flex"&&(i="block");t.data("style-cache",t.attr("style"));t.css({display:i,"padding-top":"0","padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px"})}),c=o(s),s.each(function(){var t=n(this);t.attr("style",t.data("style-cache")||"")})),n.each(c,function(t,r){var u=n(r),e=0;if(f.target)e=f.target.outerHeight(!1);else{if(f.byRow&&u.length<=1){u.css(f.property,"");return}u.each(function(){var t=n(this),i=t.css("display"),r;i!=="inline-block"&&i!=="inline-flex"&&(i="block");r={display:i};r[f.property]="";t.css(r);t.outerHeight(!1)>e&&(e=t.outerHeight(!1));t.css("display","")})}u.each(function(){var t=n(this),r=0;f.target&&t.is(f.target)||(t.css("box-sizing")!=="border-box"&&(r+=i(t.css("border-top-width"))+i(t.css("border-bottom-width")),r+=i(t.css("padding-top"))+i(t.css("padding-bottom"))),t.css(f.property,e-r+"px"))})}),h.each(function(){var t=n(this);t.attr("style",t.data("style-cache")||null)}),t._maintainScroll&&n(window).scrollTop(l/a*n("html").outerHeight(!0)),this};t._applyDataApi=function(){var t={};n("[data-match-height], [data-mh]").each(function(){var i=n(this),r=i.attr("data-mh")||i.attr("data-match-height");t[r]=r in t?t[r].add(i):i});n.each(t,function(){this.matchHeight(!0)})};u=function(i){t._beforeUpdate&&t._beforeUpdate(i,t._groups);n.each(t._groups,function(){t._apply(this.elements,this.options)});t._afterUpdate&&t._afterUpdate(i,t._groups)};t._update=function(i,e){if(e&&e.type==="resize"){var o=n(window).width();if(o===f)return;f=o}i?r===-1&&(r=setTimeout(function(){u(e);r=-1},t._throttle)):u(e)};n(t._applyDataApi);n(window).bind("load",function(n){t._update(!1,n)});n(window).bind("resize orientationchange",function(n){t._update(!0,n)})}(jQuery);$("document").ready(function(){$(".js-close-cookie-disclaimer").on("click",function(n){n.preventDefault();closeCookieDisclaimer()})});$(function(){$(".snp-parallax .parallax").parallax({minWidth:801})}),function(n){n.fn.parallax=function(t){var i=n(window).width(),r=null;return this.each(function(){function e(){var t=u.height()>0?u.height():u.children("img").height(),h=f.height(),y=f.css("top"),c=h-t,l=u.offset().top+t,o=u.offset().top,i=n(window).scrollTop(),e=window.innerHeight,a=i+e,v=(a-o)/(t+e),s=Math.round(c*v);l>i&&o<i+e&&(r==null&&(r=s),f.css("transform","translate3D(-50%,"+s+"px, 0)"))}var u=n(this),o,f;u.addClass("parallax");o=u.offset().top;f=u.children("img").first();u.children("img").one("load",function(){t&&t.minWidth&&i>t.minWidth&&e()}).each(function(){this.complete&&n(this).load()});n(window).load(function(){r=null;i=n(window).width();t&&t.minWidth&&i>t.minWidth&&e()});n(window).scroll(function(){t&&t.minWidth&&i>t.minWidth&&e()});n(window).resize(function(){r=null;i=n(window).width();t&&t.minWidth&&i<t.minWidth?f.css("transform",""):e()});n(window).on("orientationchange",function(){i=n(window).width();t&&t.minWidth&&i<t.minWidth?f.css({transform:"","-webkit-transform":""}):e()})})}}(jQuery)