From 79fe7c2a4fde6cdaef0d82ebbe121c1a2533aabc Mon Sep 17 00:00:00 2001 From: a6_chris Date: Thu, 14 Feb 2019 16:10:08 +0000 Subject: [PATCH] Rebuild assets/js/gdpr-public.js --- .nvmrc | 1 + assets/js/gdpr-public.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100755 .nvmrc diff --git a/.nvmrc b/.nvmrc new file mode 100755 index 00000000..1f9205dd --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +6.14.4 diff --git a/assets/js/gdpr-public.js b/assets/js/gdpr-public.js index a45c7f5c..76925c62 100644 --- a/assets/js/gdpr-public.js +++ b/assets/js/gdpr-public.js @@ -1 +1 @@ -!function(e){"use strict";var r=location.search,o=location.protocol+"//"+location.host+location.pathname;function n(r,o,n,t){t=void 0!==t,n=void 0!==n?n:[{title:GDPR.i18n.ok,buttonClass:"gdpr-ok",callback:"closeNotification"}];var d=e(window).scrollTop();e(".gdpr-general-confirmation .gdpr-box-title h3").html(r),e(".gdpr-general-confirmation .gdpr-content p").html(o),e(".gdpr-general-confirmation .gdpr-close").show(),t&&e(".gdpr-general-confirmation .gdpr-close").hide();var a="";n.forEach(function(e){a+='"}),e(".gdpr-general-confirmation footer").html(a),e(".gdpr-overlay").fadeIn(400,function(){e(".gdpr.gdpr-general-confirmation .gdpr-wrapper").css({display:"flex"}).hide().fadeIn(),e("body").addClass("gdpr-noscroll").css("top",-d)})}window.has_consent=function(e){if(Cookies.get("gdpr[consent_types]")&&JSON.parse(Cookies.get("gdpr[consent_types]")).indexOf(e)>-1)return!0;return!1},window.is_allowed_cookie=function(e){if(Cookies.get("gdpr[allowed_cookies]")&&JSON.parse(Cookies.get("gdpr[allowed_cookies]")).indexOf(e)>-1)return!0;return!1},e(function(){var t={closeNotification:function(){var r=e("body").css("top");e(".gdpr-overlay").fadeOut(),e("body").removeClass("gdpr-noscroll"),e(window).scrollTop(Math.abs(parseInt(r,10))),e(".gdpr.gdpr-general-confirmation .gdpr-wrapper").fadeOut()},addToDeletionConfirmed:function(){e("form.gdpr-add-to-deletion-requests").addClass("confirmed"),e('form.gdpr-add-to-deletion-requests.confirmed input[type="submit"]').click(),t.closeNotification()},policyDisagreeOk:function(){e(".gdpr.gdpr-general-confirmation .gdpr-wrapper header .gdpr-box-title h3").html(GDPR.i18n.aborting),e(".gdpr.gdpr-general-confirmation .gdpr-wrapper .gdpr-content p").html(GDPR.i18n.logging_out),e(".gdpr.gdpr-general-confirmation .gdpr-wrapper footer button").hide(),window.location.href=GDPR.logouturl},policyDisagreeCancel:function(){e(".gdpr.gdpr-general-confirmation .gdpr-wrapper").fadeOut(),e(".gdpr.gdpr-reconsent .gdpr-wrapper").fadeIn()}};if(-1!==r.indexOf("notify=1")&&(window.history.replaceState({},document.title,o),e("body").addClass("gdpr-notification")),e(document).on("click",".gdpr.gdpr-general-confirmation button",function(r){var o=e(this).data("callback");t[o]()}),e(document).on("submit",".gdpr-privacy-preferences-frm",function(r){r.preventDefault();e(this);var o=e(this).serialize();e.post(GDPR.ajaxurl,o,function(r){if(r.success)if(Cookies.set("gdpr[privacy_bar]",1,{expires:365}),GDPR.refresh)window.location.reload();else{var o=e("body").css("top");e(".gdpr-overlay").fadeOut(),e("body").removeClass("gdpr-noscroll"),e(window).scrollTop(Math.abs(parseInt(o,10))),e(".gdpr.gdpr-privacy-preferences .gdpr-wrapper").fadeOut(),e(".gdpr-privacy-bar").fadeOut()}else n(r.data.title,r.data.content)})}),e(document).on("submit",".gdpr-request-form",function(r){if(r.preventDefault(),e(this).hasClass("confirmed")){var o=e(this).serialize();e.post(GDPR.ajaxurl,o,function(e){n(e.data.title,e.data.content)})}}),e(document).on("change",".gdpr-cookie-category",function(){var r=e(this).data("category"),o=e(this).prop("checked");e('[data-category="'+r+'"]').prop("checked",o)}),Cookies.get("gdpr[privacy_bar]")||0==e(".gdpr-reconsent-bar, .gdpr-reconsent").length&&e(".gdpr.gdpr-privacy-bar").delay(1e3).slideDown(600),e(".gdpr-reconsent-bar").length>0&&e(".gdpr.gdpr-reconsent-bar").delay(1e3).slideDown(600),e(".gdpr-reconsent").length>0&&e(".gdpr-overlay").fadeIn(400,function(){e(".gdpr.gdpr-reconsent .gdpr-wrapper").fadeIn(),e("body").addClass("gdpr-noscroll").delay(1e3)}),e(document).on("click",".gdpr.gdpr-privacy-bar .gdpr-agreement",function(){e(".gdpr-privacy-preferences-frm").submit()}),e(document).on("click",".gdpr.gdpr-reconsent-bar .gdpr-agreement",function(){var r=[];e('.gdpr-policy-list input[type="hidden"]').each(function(){r.push(e(this).val())}),e.post(GDPR.ajaxurl,{action:"agree_with_new_policies",nonce:e(this).data("nonce"),consents:r},function(r){r.success?GDPR.refresh?window.location.reload():(e(".gdpr-reconsent-bar").slideUp(600),Cookies.get("gdpr[privacy_bar]")||e(".gdpr.gdpr-privacy-bar").delay(1e3).slideDown(600)):n(r.data.title,r.data.content)})}),e(document).on("submit",".gdpr-reconsent-frm",function(r){r.preventDefault();var o=[],t=e(this).find("#agree-with-new-policies-nonce").val();e(this).find('[name="gdpr-updated-policy"]').each(function(){o.push(e(this).val())}),e.post(GDPR.ajaxurl,{action:"agree_with_new_policies",nonce:t,consents:o},function(r){if(r.success)if(GDPR.refresh)window.location.reload();else{var o=e("body").css("top");e(".gdpr-overlay").fadeOut(),e("body").removeClass("gdpr-noscroll"),e(window).scrollTop(Math.abs(parseInt(o,10))),e(".gdpr.gdpr-reconsent .gdpr-wrapper").fadeOut(),Cookies.get("gdpr[privacy_bar]")||e(".gdpr.gdpr-privacy-bar").delay(1e3).slideDown(600)}else n(r.data.title,r.data.content)})}),e(document).on("click",".gdpr.gdpr-privacy-bar .gdpr-close, .gdpr.gdpr-reconsent-bar .gdpr-close",function(){var r=e("body").css("top");e(".gdpr-overlay").fadeOut(),e("body").removeClass("gdpr-noscroll"),e(window).scrollTop(Math.abs(parseInt(r,10))),e(".gdpr.gdpr-privacy-bar, .gdpr.gdpr-reconsent-bar").slideUp(600)}),e(document).on("click",".gdpr.gdpr-general-confirmation .gdpr-close",function(){var r=e("body").css("top");e(".gdpr-overlay").fadeOut(),e("body").removeClass("gdpr-noscroll"),e(window).scrollTop(Math.abs(parseInt(r,10))),e(".gdpr.gdpr-general-confirmation .gdpr-wrapper").fadeOut()}),e(document).on("click",".gdpr-preferences",function(r){r.preventDefault();var o=e(window).scrollTop(),n=e(this).data("tab");e(".gdpr-overlay").fadeIn(),e("body").addClass("gdpr-noscroll").css("top",-o),e(".gdpr.gdpr-privacy-preferences .gdpr-wrapper").fadeIn(),n&&e('.gdpr.gdpr-privacy-preferences .gdpr-wrapper .gdpr-tabs [data-target="'+n+'"]').click()}),e(document).on("click",".gdpr.gdpr-privacy-preferences .gdpr-close",function(r){r.preventDefault();var o=e("body").css("top");e(".gdpr-reconsent .gdpr-wrapper").is(":visible")||(e(".gdpr-overlay").fadeOut(),e("body").removeClass("gdpr-noscroll"),e(window).scrollTop(Math.abs(parseInt(o,10)))),e(".gdpr.gdpr-privacy-preferences .gdpr-wrapper").fadeOut()}),e(document).on("click",".gdpr.gdpr-privacy-preferences .gdpr-tabs button, .gdpr.gdpr-reconsent .gdpr-tabs button",function(){var r="."+e(this).data("target");e(".gdpr.gdpr-privacy-preferences .gdpr-tab-content > div, .gdpr.gdpr-reconsent .gdpr-tab-content > div").removeClass("gdpr-active"),e(".gdpr.gdpr-privacy-preferences .gdpr-tab-content "+r+", .gdpr.gdpr-reconsent .gdpr-tab-content "+r).addClass("gdpr-active"),e(".gdpr.gdpr-privacy-preferences .gdpr-tabs, .gdpr.gdpr-reconsent .gdpr-tabs").hasClass("gdpr-mobile-expanded")&&(e(".gdpr.gdpr-privacy-preferences .gdpr-mobile-menu button, .gdpr.gdpr-reconsent .gdpr-mobile-menu button").removeClass("gdpr-active"),e(".gdpr.gdpr-privacy-preferences .gdpr-tabs, .gdpr.gdpr-reconsent .gdpr-tabs").toggle()),e(".gdpr.gdpr-privacy-preferences .gdpr-tabs button, .gdpr.gdpr-reconsent .gdpr-tabs button").removeClass("gdpr-active"),e(".gdpr-subtabs li button").removeClass("gdpr-active"),e(this).hasClass("gdpr-tab-button")?(e(this).addClass("gdpr-active"),e(this).hasClass("gdpr-cookie-settings")&&e(".gdpr-subtabs").find("li button").first().addClass("gdpr-active")):(e(".gdpr-cookie-settings").addClass("gdpr-active"),e(this).addClass("gdpr-active"))}),e(document).on("click",".gdpr.gdpr-privacy-preferences .gdpr-mobile-menu button, .gdpr.gdpr-reconsent .gdpr-mobile-menu button",function(r){e(this).toggleClass("gdpr-active"),e(".gdpr.gdpr-privacy-preferences .gdpr-tabs, .gdpr.gdpr-reconsent .gdpr-tabs").toggle().addClass("gdpr-mobile-expanded")}),e(window).resize(function(){e(window).width()>640&&e(".gdpr.gdpr-privacy-preferences .gdpr-tabs, .gdpr.gdpr-reconsent .gdpr-tabs").hasClass("gdpr-mobile-expanded")&&(e(".gdpr.gdpr-privacy-preferences .gdpr-mobile-menu button, .gdpr.gdpr-reconsent .gdpr-mobile-menu button").removeClass("gdpr-active"),e(".gdpr.gdpr-privacy-preferences .gdpr-tabs, .gdpr.gdpr-reconsent .gdpr-tabs").removeClass("gdpr-mobile-expanded").removeAttr("style"))}),e("form.gdpr-add-to-deletion-requests").on("submit",function(r){if(!e(this).hasClass("confirmed")){r.preventDefault();var o=[{title:GDPR.i18n.ok,buttonClass:"gdpr-ok",callback:"addToDeletionConfirmed"},{title:GDPR.i18n.cancel,buttonClass:"gdpr-cancel",callback:"closeNotification"}];n(GDPR.i18n.close_account,GDPR.i18n.close_account_warning,o)}}),e("body").hasClass("gdpr-notification")){var d=e(window).scrollTop();e(".gdpr-overlay").fadeIn(400,function(){e(".gdpr.gdpr-general-confirmation .gdpr-wrapper").css({display:"flex"}).hide().fadeIn(),e("body").addClass("gdpr-noscroll").css("top",-d)})}e(document).on("click",".gdpr-disagree a",function(r){e(".gdpr.gdpr-reconsent .gdpr-wrapper").fadeOut();var o=[{title:GDPR.i18n.ok,buttonClass:"gdpr-ok",callback:"policyDisagreeOk"},{title:GDPR.i18n.cancel,buttonClass:"gdpr-cancel",callback:"policyDisagreeCancel"}];n(GDPR.i18n.are_you_sure,GDPR.i18n.policy_disagree,o,!0)})})}(jQuery),function(e){var r=!1;if("function"==typeof define&&define.amd&&(define(e),r=!0),"object"==typeof exports&&(module.exports=e(),r=!0),!r){var o=window.Cookies,n=window.Cookies=e();n.noConflict=function(){return window.Cookies=o,n}}}(function(){function e(){for(var e=0,r={};e1){if("number"==typeof(d=e({path:"/"},n.defaults,d)).expires){var p=new Date;p.setMilliseconds(p.getMilliseconds()+864e5*d.expires),d.expires=p}d.expires=d.expires?d.expires.toUTCString():"";try{a=JSON.stringify(t),/^[\{\[]/.test(a)&&(t=a)}catch(e){}t=o.write?o.write(t,r):encodeURIComponent(String(t)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),r=(r=(r=encodeURIComponent(String(r))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var i="";for(var c in d)d[c]&&(i+="; "+c,!0!==d[c]&&(i+="="+d[c]));return document.cookie=r+"="+t+i}r||(a={});for(var s=document.cookie?document.cookie.split("; "):[],g=/(%[0-9A-Z]{2})+/g,l=0;l'+e.title+""}),e(".gdpr-general-confirmation footer").html(a),e(".gdpr-overlay").fadeIn(400,function(){e(".gdpr.gdpr-general-confirmation .gdpr-wrapper").css({display:"flex"}).hide().fadeIn(),e("body").addClass("gdpr-noscroll").css("top",-d)})}window.has_consent=function(e){if(Cookies.get("gdpr[consent_types]")&&JSON.parse(Cookies.get("gdpr[consent_types]")).indexOf(e)>-1)return!0;return!1},window.is_allowed_cookie=function(e){if(Cookies.get("gdpr[allowed_cookies]")&&JSON.parse(Cookies.get("gdpr[allowed_cookies]")).indexOf(e)>-1)return!0;return!1},e(function(){var t={closeNotification:function(){var r=e("body").css("top");e(".gdpr-overlay").fadeOut(),e("body").removeClass("gdpr-noscroll"),e(window).scrollTop(Math.abs(parseInt(r,10))),e(".gdpr.gdpr-general-confirmation .gdpr-wrapper").fadeOut()},addToDeletionConfirmed:function(){e("form.gdpr-add-to-deletion-requests").addClass("confirmed"),e('form.gdpr-add-to-deletion-requests.confirmed input[type="submit"]').click(),t.closeNotification()},policyDisagreeOk:function(){e(".gdpr.gdpr-general-confirmation .gdpr-wrapper header .gdpr-box-title h3").html(GDPR.i18n.aborting),e(".gdpr.gdpr-general-confirmation .gdpr-wrapper .gdpr-content p").html(GDPR.i18n.logging_out),e(".gdpr.gdpr-general-confirmation .gdpr-wrapper footer button").hide(),window.location.href=GDPR.logouturl},policyDisagreeCancel:function(){e(".gdpr.gdpr-general-confirmation .gdpr-wrapper").fadeOut(),e(".gdpr.gdpr-reconsent .gdpr-wrapper").fadeIn()}};if(-1!==r.indexOf("notify=1")&&(window.history.replaceState({},document.title,o),e("body").addClass("gdpr-notification")),e(document).on("click",".gdpr.gdpr-general-confirmation button",function(r){var o=e(this).data("callback");t[o]()}),e(document).on("submit",".gdpr-privacy-preferences-frm",function(r){r.preventDefault();var o=e(this).serialize();e.post(GDPR.ajaxurl,o,function(r,o,t){if(200===t.status)if(Cookies.set("gdpr[privacy_bar]",1,{expires:365}),GDPR.refresh)window.location.reload(!0);else{var d=e("body").css("top");e(".gdpr-overlay").fadeOut(),e("body").removeClass("gdpr-noscroll"),e(window).scrollTop(Math.abs(parseInt(d,10))),e(".gdpr.gdpr-privacy-preferences .gdpr-wrapper").fadeOut(),e(".gdpr-privacy-bar").fadeOut(),e(document).trigger("updatedPrivacyPreferences")}else n(r.data.title,r.data.content)})}),e(document).on("submit",".gdpr-request-form",function(r){if(r.preventDefault(),e(this).hasClass("confirmed")){var o=e(this).serialize();e.post(GDPR.ajaxurl,o,function(e){n(e.data.title,e.data.content)})}}),e(document).on("change",".gdpr-cookie-category",function(){var r=e(this).data("category"),o=e(this).prop("checked");e('[data-category="'+r+'"]').prop("checked",o)}),Cookies.get("gdpr[privacy_bar]")||0==e(".gdpr-reconsent-bar, .gdpr-reconsent").length&&e(".gdpr.gdpr-privacy-bar").delay(1e3).slideDown(600),e(".gdpr-reconsent-bar").length>0&&e(".gdpr.gdpr-reconsent-bar").delay(1e3).slideDown(600),e(".gdpr-reconsent").length>0&&e(".gdpr-overlay").fadeIn(400,function(){e(".gdpr.gdpr-reconsent .gdpr-wrapper").fadeIn(),e("body").addClass("gdpr-noscroll").delay(1e3)}),e(document).on("click",".gdpr.gdpr-privacy-bar .gdpr-agreement",function(){e(".gdpr-privacy-preferences-frm").submit()}),e(document).on("click",".gdpr.gdpr-reconsent-bar .gdpr-agreement",function(){var r=[];e('.gdpr-policy-list input[type="hidden"]').each(function(){r.push(e(this).val())}),e.post(GDPR.ajaxurl,{action:"agree_with_new_policies",nonce:e(this).data("nonce"),consents:r},function(r){r.success?GDPR.refresh?window.location.reload():(e(".gdpr-reconsent-bar").slideUp(600),Cookies.get("gdpr[privacy_bar]")||e(".gdpr.gdpr-privacy-bar").delay(1e3).slideDown(600)):n(r.data.title,r.data.content)})}),e(document).on("submit",".gdpr-reconsent-frm",function(r){r.preventDefault();var o=[],t=e(this).find("#agree-with-new-policies-nonce").val();e(this).find('[name="gdpr-updated-policy"]').each(function(){o.push(e(this).val())}),e.post(GDPR.ajaxurl,{action:"agree_with_new_policies",nonce:t,consents:o},function(r){if(r.success)if(GDPR.refresh)window.location.reload();else{var o=e("body").css("top");e(".gdpr-overlay").fadeOut(),e("body").removeClass("gdpr-noscroll"),e(window).scrollTop(Math.abs(parseInt(o,10))),e(".gdpr.gdpr-reconsent .gdpr-wrapper").fadeOut(),Cookies.get("gdpr[privacy_bar]")||e(".gdpr.gdpr-privacy-bar").delay(1e3).slideDown(600)}else n(r.data.title,r.data.content)})}),e(document).on("click",".gdpr.gdpr-privacy-bar .gdpr-close, .gdpr.gdpr-reconsent-bar .gdpr-close",function(){var r=e("body").css("top");e(".gdpr-overlay").fadeOut(),e("body").removeClass("gdpr-noscroll"),e(window).scrollTop(Math.abs(parseInt(r,10))),e(".gdpr.gdpr-privacy-bar, .gdpr.gdpr-reconsent-bar").slideUp(600)}),e(document).on("click",".gdpr.gdpr-general-confirmation .gdpr-close",function(){var r=e("body").css("top");e(".gdpr-overlay").fadeOut(),e("body").removeClass("gdpr-noscroll"),e(window).scrollTop(Math.abs(parseInt(r,10))),e(".gdpr.gdpr-general-confirmation .gdpr-wrapper").fadeOut()}),e(document).on("click",".gdpr-preferences",function(r){r.preventDefault();var o=e(window).scrollTop(),n=e(this).data("tab");e(".gdpr-overlay").fadeIn(),e("body").addClass("gdpr-noscroll").css("top",-o),e(".gdpr.gdpr-privacy-preferences .gdpr-wrapper").fadeIn(),n&&e('.gdpr.gdpr-privacy-preferences .gdpr-wrapper .gdpr-tabs [data-target="'+n+'"]').click()}),e(document).on("click",".gdpr.gdpr-privacy-preferences .gdpr-close",function(r){r.preventDefault();var o=e("body").css("top");e(".gdpr-reconsent .gdpr-wrapper").is(":visible")||(e(".gdpr-overlay").fadeOut(),e("body").removeClass("gdpr-noscroll"),e(window).scrollTop(Math.abs(parseInt(o,10)))),e(".gdpr.gdpr-privacy-preferences .gdpr-wrapper").fadeOut()}),e(document).on("click",".gdpr.gdpr-privacy-preferences .gdpr-tabs button, .gdpr.gdpr-reconsent .gdpr-tabs button",function(){var r="."+e(this).data("target");e(".gdpr.gdpr-privacy-preferences .gdpr-tab-content > div, .gdpr.gdpr-reconsent .gdpr-tab-content > div").removeClass("gdpr-active"),e(".gdpr.gdpr-privacy-preferences .gdpr-tab-content "+r+", .gdpr.gdpr-reconsent .gdpr-tab-content "+r).addClass("gdpr-active"),e(".gdpr.gdpr-privacy-preferences .gdpr-tabs, .gdpr.gdpr-reconsent .gdpr-tabs").hasClass("gdpr-mobile-expanded")&&(e(".gdpr.gdpr-privacy-preferences .gdpr-mobile-menu button, .gdpr.gdpr-reconsent .gdpr-mobile-menu button").removeClass("gdpr-active"),e(".gdpr.gdpr-privacy-preferences .gdpr-tabs, .gdpr.gdpr-reconsent .gdpr-tabs").toggle()),e(".gdpr.gdpr-privacy-preferences .gdpr-tabs button, .gdpr.gdpr-reconsent .gdpr-tabs button").removeClass("gdpr-active"),e(".gdpr-subtabs li button").removeClass("gdpr-active"),e(this).hasClass("gdpr-tab-button")?(e(this).addClass("gdpr-active"),e(this).hasClass("gdpr-cookie-settings")&&e(".gdpr-subtabs").find("li button").first().addClass("gdpr-active")):(e(".gdpr-cookie-settings").addClass("gdpr-active"),e(this).addClass("gdpr-active"))}),e(document).on("click",".gdpr.gdpr-privacy-preferences .gdpr-mobile-menu button, .gdpr.gdpr-reconsent .gdpr-mobile-menu button",function(r){e(this).toggleClass("gdpr-active"),e(".gdpr.gdpr-privacy-preferences .gdpr-tabs, .gdpr.gdpr-reconsent .gdpr-tabs").toggle().addClass("gdpr-mobile-expanded")}),e(window).resize(function(){e(window).width()>640&&e(".gdpr.gdpr-privacy-preferences .gdpr-tabs, .gdpr.gdpr-reconsent .gdpr-tabs").hasClass("gdpr-mobile-expanded")&&(e(".gdpr.gdpr-privacy-preferences .gdpr-mobile-menu button, .gdpr.gdpr-reconsent .gdpr-mobile-menu button").removeClass("gdpr-active"),e(".gdpr.gdpr-privacy-preferences .gdpr-tabs, .gdpr.gdpr-reconsent .gdpr-tabs").removeClass("gdpr-mobile-expanded").removeAttr("style"))}),e("form.gdpr-add-to-deletion-requests").on("submit",function(r){if(!e(this).hasClass("confirmed")){r.preventDefault();var o=[{title:GDPR.i18n.ok,buttonClass:"gdpr-ok",callback:"addToDeletionConfirmed"},{title:GDPR.i18n.cancel,buttonClass:"gdpr-cancel",callback:"closeNotification"}];n(GDPR.i18n.close_account,GDPR.i18n.close_account_warning,o)}}),e("body").hasClass("gdpr-notification")){var d=e(window).scrollTop();e(".gdpr-overlay").fadeIn(400,function(){e(".gdpr.gdpr-general-confirmation .gdpr-wrapper").css({display:"flex"}).hide().fadeIn(),e("body").addClass("gdpr-noscroll").css("top",-d)})}e(document).on("click",".gdpr-disagree a",function(r){e(".gdpr.gdpr-reconsent .gdpr-wrapper").fadeOut();var o=[{title:GDPR.i18n.ok,buttonClass:"gdpr-ok",callback:"policyDisagreeOk"},{title:GDPR.i18n.cancel,buttonClass:"gdpr-cancel",callback:"policyDisagreeCancel"}];n(GDPR.i18n.are_you_sure,GDPR.i18n.policy_disagree,o,!0)})})}(jQuery),function(e){var r=!1;if("function"==typeof define&&define.amd&&(define(e),r=!0),"object"==typeof exports&&(module.exports=e(),r=!0),!r){var o=window.Cookies,n=window.Cookies=e();n.noConflict=function(){return window.Cookies=o,n}}}(function(){function e(){for(var e=0,r={};e1){if("number"==typeof(d=e({path:"/"},n.defaults,d)).expires){var p=new Date;p.setMilliseconds(p.getMilliseconds()+864e5*d.expires),d.expires=p}d.expires=d.expires?d.expires.toUTCString():"";try{a=JSON.stringify(t),/^[\{\[]/.test(a)&&(t=a)}catch(e){}t=o.write?o.write(t,r):encodeURIComponent(String(t)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),r=(r=(r=encodeURIComponent(String(r))).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var i="";for(var c in d)d[c]&&(i+="; "+c,!0!==d[c]&&(i+="="+d[c]));return document.cookie=r+"="+t+i}r||(a={});for(var s=document.cookie?document.cookie.split("; "):[],g=/(%[0-9A-Z]{2})+/g,l=0;l