/*! js-cookie v3.0.0 | MIT */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self,function(){var n=e.Cookies,r=e.Cookies=t();r.noConflict=function(){return e.Cookies=n,r}}())}(this,(function(){"use strict";function e(e){for(var t=1;t 0 ) { $.magnificPopup.close(); } setTimeout( function(){ window.location.reload(); }, 500); return false; }); $('.gdpr-container').each( function(){ let element = $(this), elCookie = element.attr('data-cookie-name'), elContent = element.attr('data-cookie-content'), elContentAjax = element.attr('data-cookie-content-ajax'), getCookie = Cookies.get( elCookie ); if( typeof getCookie !== 'undefined' && getCookie == '1' ) { element.addClass('gdpr-content-active'); if( elContentAjax ) { element.load( elContentAjax ); } else { if( elContent ) { element.append( elContent ); } } SEMICOLON.initialize.resizeVideos({ parent: element }); } else { element.addClass('gdpr-content-blocked'); } }); };