HEX
Server: Apache
System: Linux sg241.singhost.net 2.6.32-896.16.1.lve1.4.51.el6.x86_64 #1 SMP Wed Jan 17 13:19:23 EST 2018 x86_64
User: honghock (909)
PHP: 8.0.30
Disabled: passthru,system,shell_exec,show_source,exec,popen,proc_open
Upload Files
File: /home/honghock/public_html/wp-content/plugins/be-gdpr/public/js/be-gdpr-public.min.js
!function(g){"use strict";g(function(){function p(){0<g(".mfp-popup").length&&g(".mfp-popup").magnificPopup({type:"inline",midClick:!0,closeBtnInside:!0})}function e(e){for(var t=e+"=",r=document.cookie.split(";"),n=0;n<r.length;n++){for(var i=r[n];" "==i.charAt(0);)i=i.substring(1,i.length);if(0==i.indexOf(t))return i.substring(t.length,i.length)}return null}function o(e,t){var r=new Date;r.setTime(r.getTime()+31536e6);r="; expires="+r.toGMTString();document.cookie=e+"="+t+r+"; path=/"}(window.be_gdpr_magnific_popup_retrigger=p)();var t,r,n=g(".be-gdpr-switch-input"),i=e("be_gdpr_privacy")||[];for(t in n)n.hasOwnProperty(t)&&(r=n[t],0<=i.indexOf(r.value)&&r.setAttribute("checked",!0));function d(e){return window.hasOwnProperty("beGdprConcerns")&&!window.beGdprConcerns.hasOwnProperty(e)||0<=i.indexOf(e)}window.triggerBeGdpr=function(){g(".be-gdpr-consent-required").each(function(e,t){var r,n=g(this).attr("data-gdpr-atts");if(!(!(r=n)||"string"!=typeof r)&&(r=r.replace(/\\./g,"@").replace(/"[^"\\\n\r]*"/g,""),/^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$/.test(r))){var i=[],o=[],s=[],c={};if(!d((n=JSON.parse(n)).concern)){for(var a in"object"==typeof n.remove&&(i=n.remove.class||[],o=n.remove.atts||[]),"object"==typeof n.add&&(s=n.add.class||[],c=n.add.atts||{}),i)g(this).removeClass(i[a]);for(var a in o)g(this).removeAttr(o[a]);for(var a in s)g(this).addClass(s[a]);for(var a in c)g(this).attr(a,c[a]);p()}}}),g(".be-gdpr-consent-replace").each(function(e,t){var r,n=g(this).data("gdpr-concern"),i=g(this).data("gdpr-replace");d(n)?g(this).siblings(".be-gdpr-consent-message ").remove():"parent"===i?(r=g(this).children(),i=g(this).siblings(".be-gdpr-consent-message "),g(this).wrap(i),g(this).parent().siblings(".be-gdpr-consent-message ").remove(),r.unwrap()):((r=g(this).siblings(".be-gdpr-consent-message ")).css("display","block"),r.length&&g(this).replaceWith(r))})},triggerBeGdpr(),window.gdprSaveBtnClick=function(e){var t,r=[],n=g(e.target).closest(".be-gdpr-modal").find(".be-gdpr-switch-input");for(t in n){var i=n[t];i.checked&&r.push(i.value)}o("be_gdpr_privacy",""),o("be_gdpr_privacy",JSON.stringify(r)),window.location.reload()},"1"!==e("be_gdpr_cookie_accept")&&g(".be-gdpr-cookie-notice-bar").css("bottom","0"),g(".be-gdpr-cookie-notice-button").click(function(){g(".be-gdpr-cookie-notice-bar").css("bottom","-100%"),o("be_gdpr_cookie_accept","1")})})}(jQuery);