/*! * Project: WP-ZEP - Zero-day exploit Prevention for wp-admin * Copyright (c) 2015-2016 tokkonopapa (tokkonopapa@yahoo.com) * This software is released under the MIT License. */ var IP_GEO_BLOCK_ZEP={auth:"ip-geo-block-auth-nonce",nonce:IP_GEO_BLOCK_AUTH.nonce||"",redirect:function(d){-1!==location.href.indexOf(d)&&(this.nonce&&(d+=(0<=d.indexOf("?")?"&":"?")+this.auth+"="+this.nonce),window.location.href=d)}};(function(d,p){function q(a){return a?a.toString().replace(/[&<>"']/g,function(a){return{"&":"&","<":"<",">":">",'"':""","'":"'"}[a]}):""}function f(a){a=decodeURIComponent(a?a.toString():"");a=a.match(/^(?:([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(?:\?([^#]*))?(?:#(.*))?/);return{scheme:a[1]||"",relative:a[2]||"",authority:a[3]||"",path:a[4]||"",query:a[5]||"",fragment:a[6]||""}}function m(a){return encodeURIComponent(a).replace(/[!'()*]/g,function(a){return"%"+a.charCodeAt(0).toString(16)})}function k(a,c){"object"!==typeof a&&(a=f(a||location.href));for(var b=a.query?a.query.split("&"):[],e=b.length;0e.length||""!==b[c])&&e.push(b[c]));c=e.join("/").replace(/\/\//g,"/");if(/https?/.test(a.scheme)||!a.scheme){if(a.authority&&a.authority!==location.host.toLowerCase())return-1;if((a.scheme||a.path||a.query)&&r.test(c))return 1}return 0}function n(a,c,b){var e=c.split(/\s+/);a.each(function(){for(var a=0;af.indexOf("nofollow")?a:"nofollow"));else if(-1===h)return b=window.open(),b.document.write(''),b.document.close(),!1});c.onFirst("submit","form",function(b){b=d(this);var c=b.attr("action");1===l(c)&&b.attr("action",k(c,a))})}})})(jQuery,document);