jQuery(document).ready(function(e){jQuery.fn.essb_privacy_button=function(){return this.each(function(){e(this).click(function(){var n=e(this);element_type=n.attr("data-button-type"),e.cookie("essb_socialprivacy_"+element_type,"user_activated",{expires:365}),location.reload(!0)})})},e(".essb-privacy-button").essb_privacy_button()}),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e("object"==typeof exports?require("jquery"):jQuery)}(function(e){function n(e){return u.raw?e:encodeURIComponent(e)}function t(e){return u.raw?e:decodeURIComponent(e)}function o(e){return n(u.json?JSON.stringify(e):String(e))}function i(e){0===e.indexOf('"')&&(e=e.slice(1,-1).replace(/\\"/g,'"').replace(/\\\\/g,"\\"));try{return e=decodeURIComponent(e.replace(c," ")),u.json?JSON.parse(e):e}catch(n){}}function r(n,t){var o=u.raw?n:i(n);return e.isFunction(t)?t(o):o}var c=/\+/g,u=e.cookie=function(i,c,a){if(arguments.length>1&&!e.isFunction(c)){if(a=e.extend({},u.defaults,a),"number"==typeof a.expires){var s=a.expires,p=a.expires=new Date;p.setTime(+p+864e5*s)}return document.cookie=[n(i),"=",o(c),a.expires?"; expires="+a.expires.toUTCString():"",a.path?"; path="+a.path:"",a.domain?"; domain="+a.domain:"",a.secure?"; secure":""].join("")}for(var f=i?void 0:{},d=document.cookie?document.cookie.split("; "):[],y=0,m=d.length;m>y;y++){var l=d[y].split("="),v=t(l.shift()),x=l.join("=");if(i&&i===v){f=r(x,c);break}i||void 0===(x=r(x))||(f[v]=x)}return f};u.defaults={},e.removeCookie=function(n,t){return void 0===e.cookie(n)?!1:(e.cookie(n,"",e.extend({},t,{expires:-1})),!e.cookie(n))}});