(function(window, $) {var epp = function(o){var self = this;var ACCEPTED = false;var onConsent = $.Callbacks('once unique');var global = $.extend(true, {style: {slideFrom: 'top'}}, window._epp || {});var init = function (){$(window.document).on('click', '[data-epp]', function(e){switch ($(this).data('epp')){case 'accept':e.preventDefault();fns.accept();break;case 'policy':e.preventDefault();lightbox.open(o.api_policy);break;}});$('[data-epp-autolock] iframe').each(function(){$(this).attr('data-epp-src', $(this).attr('src'));$(this).attr('src', '');});onConsent.add(function(){fns.activateIframe();fns.activateScripts();});if(cookie.exists()){fns.accept();}else {bar.create();$('a').on('click', function(e){if (bar.active && !bar.active.has(e.target).length){fns.accept();$(this).off(e);}});setTimeout(function(){var scrollCount = 0;var scrollTime = false;$(window).on('scroll', function(e){if (scrollTime === false){scrollTime = e.timeStamp;}if(scrollCount > 1){ fns.accept(); }else if (scrollTime + 1000 > e.timeStamp){ scrollCount++; }else { scrollCount = 0; }scrollTime = e.timeStamp;});}, 250);}};var fns = {accept: function(){if (ACCEPTED === true){ return; }cookie.set();bar.close();onConsent.fire();ACCEPTED = true;},activateIframe: function(){$('iframe[data-epp-src]').each(function(){$(this).attr('src', $(this).data('epp-src'));});},activateScripts: function(){$('script[data-epp-onconsent]').each(function(){$('