1
2
|
/* Do not modify this file directly. It is compiled from other files. */
!function(e){function o(o){if(!s){s=!0,o&&o.preventDefault&&o.preventDefault(),a.hasClass("hide-on-scroll")&&e(window).off("scroll",t);var i=new Date;i.setTime(i.getTime()+2592e6),document.cookie="eucookielaw="+i.getTime()+";path=/;expires="+i.toGMTString(),a.fadeOut(400,function(){a.remove()})}}var i,t,n=document.cookie.replace(/(?:(?:^|.*;\s*)eucookielaw\s*\=\s*([^;]*).*$)|^.*$/,"$1"),a=e("#eu-cookie-law");""!==n&&a.remove(),e(".widget_eu_cookie_law_widget").appendTo("body").fadeIn(),a.find("form").on("submit",o),a.hasClass("hide-on-scroll")?(i=e(window).scrollTop(),t=function(){Math.abs(e(window).scrollTop()-i)>50&&o()},e(window).on("scroll",t)):a.hasClass("hide-on-time")&&setTimeout(o,1e3*a.data("hide-timeout"));var s=!1}(jQuery);
|