Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

a:2:{s:20:"loginpress_custom_js";s:6829:"[Element.prototype,Document.prototype,DocumentFra..

Decoded Output download

<?  a:2:{s:20:"loginpress_custom_js";s:6829:"[Element.prototype,Document.prototype,DocumentFragment.prototype].forEach((function(e){e.hasOwnProperty("append")||Object.defineProperty(e,"append",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=Array.prototype.slice.call(arguments),t=document.createDocumentFragment();e.forEach((function(e){var o=e instanceof Node;t.appendChild(o?e:document.createTextNode(String(e)))})),this.appendChild(t)}})})),[Element.prototype,Document.prototype,DocumentFragment.prototype].forEach((function(e){e.hasOwnProperty("prepend")||Object.defineProperty(e,"prepend",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=Array.prototype.slice.call(arguments),t=document.createDocumentFragment();e.forEach((function(e){var o=e instanceof Node;t.appendChild(o?e:document.createTextNode(String(e)))})),this.insertBefore(t,this.firstChild)}})})),function(){"use strict";var e={head:document.querySelector("head"),body:document.querySelector("body"),login:document.getElementById("login"),loginForm:document.getElementById("loginform")};window.custom_loginpress_customize={cached:e,tryRunFunctions:function(){for(var e=0;e<arguments.length;e++)try{arguments[e]()}catch(e){console.log(e)}},isScript:function(e){return"SCRIPT"===(e=e.tagName.toUpperCase())||"STYLE"===e},onReady:function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)},loadCss:function(){for(var t=0;t<arguments.length;t++){var o=document.createElement("link");o.className="custom custom___css_link",o.rel="stylesheet",o.href=arguments[t],e.head.append(o)}},loadJs:function(){for(var t=0;t<arguments.length;t++){var o=document.createElement("script");o.setAttribute("src",arguments[t]),e.body.append(o)}},getCookie:function(e){var t=document.cookie,o=(e+="=",t.indexOf("; "+e));if(-1==o){if(0!=(o=t.indexOf(e)))return null}else{o+=2;var n=document.cookie.indexOf(";",o);-1==n&&(n=t.length)}return decodeURI(t.substring(o+e.length,n))}}}(),function(){"use strict";custom_loginpress_customize.LOGIN_DISCLAIMER='O responsvel pelo tratamento dos seus dados pessoais  a LOral Portugal Unipessoal Lda. Esta informao ser utilizada para lhe enviar informaes sobre os nossos eventos Family and Friends. Para mais informao sobre como iremos tratar os seus dados, por favor consulte a nossa poltica de privacidade disponvel <a href="/store/wp-content/uploads/fsd_2023-1/invitations/privacy_policy.html">aqui</a>. A LOral poder partilhar os seus dados pessoais com subcontratantes autorizados ou com outras marcas do Grupo LOral. Caso deseje que no o/a voltemos a contactar, ou para exercer os seus direitos de acesso, retificao, oposio, limitao e apagamento, envie-nos um e-mail para [email protected] ou uma carta para LOral Portugal Unipessoal Lda., Servio Apoio ao Consumidor, Remessa Livre 1900, 2795-999 Linda-a-Velha (envio gratuito).'}(),function(e){"use strict";e.createBg=function(){var t=document.createElement("div");t.className="custom custom___the_bg animate__animated animate__fadeIn",e.cached.body.prepend(t)}}(custom_loginpress_customize),function(e){"use strict";e.createLoginLayout=function(){for(var t,o,n,a,r=[],s=0;s<e.cached.login.children.length;s++)e.isScript(e.cached.login.children[s])||(e.cached.login.children[s].classList.add("custom___default_element"),r.push(e.cached.login.children[s]));for((o=document.createElement("div")).className="custom custom___inner",e.cached.login.prepend(o),o.append(((n=document.createElement("div")).className="custom custom___loginform_backdrop animate__animated animate__fadeIn",n)),e.cached.loginForm.prepend(((n=document.createElement("div")).className="custom custom___loginform_warn",n.innerHTML="<br>&nbsp;<br>",n)),e.cached.loginForm.prepend(((n=document.createElement("div")).className="custom custom___loginform_title",n.innerText="Iniciar sesso",n)),e.cached.loginForm.append(((n=document.createElement("div")).className="custom custom___loginform_disclaimer",n.innerHTML=e.LOGIN_DISCLAIMER,n)),s=0;s<r.length;s++)o.append(r[s]);n=document.getElementById("nav"),e.cached.loginForm.append(n),(a=document.querySelector("a.privacy-policy-link")).href="https://familyandfriendsday.loreal.pt/store/wp-content/uploads/fsd_2023-1/invitations/privacy_policy.html",(t=document.createElement("span")).innerHTML="&nbsp;&nbsp;|&nbsp;&nbsp;",n.append(t),n.append(a),n.querySelector('a[href$="/my-account/lost-password/"]').href="https://familyandfriendsday.loreal.pt/store/ptbid-create-account/recover_password.php";try{var c=document.createElement("span");c.style.color="#424242",c.style.marginLeft="10px",c.style.opacity="0.8",c.innerText="(Em minsculas)",document.querySelector('label[for="user_pass"]').append(c)}catch(t){}e.cached.loginForm.classList.add("animate__animated"),e.cached.loginForm.classList.add("animate__fadeIn")}}(custom_loginpress_customize),function(){"use strict";var e=document.getElementById("user_login"),t=document.getElementById("user_pass");e.setAttribute("required","required"),e.setAttribute("maxlength","60"),t.setAttribute("required","required"),t.setAttribute("maxlength","100")}(),function(){"use strict";custom_loginpress_customize.installCookieConsent=function(){window.OptanonWrapper=function(){};var e=document.createElement("script");e.setAttribute("src","https://cdn.cookielaw.org/scripttemplates/otSDKStub.js"),e.setAttribute("data-document-language","true"),e.setAttribute("data-domain-script","a9268d0b-d73a-4e30-a75e-327e04a6f0ce"),document.querySelector("body").append(e)}}(),function(e){"use strict";e.installFbMsg=function(){var t,o,n;(t=document.createElement("div")).id="fb-root",e.cached.body.append(t),(t=document.createElement("div")).className="fb-customerchat",t.setAttribute("attribution","setup_tool"),t.setAttribute("page_id","265045206959890"),t.setAttribute("logged_in_greeting","Ol! Como podemos ajudar? "),t.setAttribute("logged_out_greeting","Ol! Como podemos ajudar? "),e.cached.body.append(t),window.fbAsyncInit=function(){FB.init({xfbml:!0,version:"v8.0"})},o="facebook-jssdk",n=(t=document).getElementsByTagName("script")[0],t.getElementById(o)||((t=t.createElement("script")).id=o,t.src="https://connect.facebook.net/pt_PT/sdk/xfbml.customerchat.js",n.parentNode.insertBefore(t,n))}}(custom_loginpress_customize),function(e){"use strict";e.onReady((function(){e.installCookieConsent();var t=!1;setInterval((function(){t||e.getCookie("OptanonAlertBoxClosed")&&(e.installFbMsg(),t=!0)}),1e3),e.tryRunFunctions(e.createBg,e.createLoginLayout),setInterval((function(){jQuery(".wp-hide-pw").off("click"),jQuery(".wp-hide-pw").click((function(){var e=jQuery("#user_pass");"password"===e.attr("type")?e.attr("type","text"):e.attr("type","password")}))}),2e3)}))}(custom_loginpress_customize),custom_loginpress_customize;";s:21:"loginpress_custom_css";s:4712:":root{--animate-duration:1s;--animate-delay:1s;--animate-repeat:1}.animate__animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-duration:var(--animate-duration);animation-duration:var(--animate-duration);-webkit-animation-fill-mode:both;animation-fill-mode:both}@media print,(prefers-reduced-motion:reduce){.animate__animated{-webkit-animation-duration:1ms !important;animation-duration:1ms !important;-webkit-transition-duration:1ms !important;transition-duration:1ms !important;-webkit-animation-iteration-count:1 !important;animation-iteration-count:1 !important}.animate__animated[class*='Out']{opacity:0}}@-webkit-keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}.animate__fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}*,*:before,*:after{box-sizing:border-box !important}*,html,body{font-family:Roboto,"Helvetica Neue",Arial,Helvetica,sans-serif !important;color:#0a0a0a !important;box-sizing:border-box !important}body{background:#fff !important}#login{position:fixed !important;top:0 !important;left:0 !important;right:0 !important;bottom:0 !important;min-width:100% !important;max-width:100% !important;width:100% !important;box-shadow:none !important;margin:0 !important;padding:0 !important;background:transparent !important;overflow:none !important;border-radius:0 !important}.dashicons{font-family:dashicons !important}h1.custom___default_element,.loginpress-show-love,.footer-wrapper{display:none !important;visibility:hidden !important;opacity:0 !important}.custom___loginform_warn{font-size:12px !important;text-align:center;padding-top:15px;padding-bottom:20px;margin-top:-10px}.custom___the_bg{background:#cfd8dc;position:fixed;top:0;left:0;right:0;bottom:0}#loginform{max-width:1000% !important;min-width:0 !important;max-height:1000% !important;min-height:0 !important;margin:0 !important;position:absolute !important;top:50% !important;width:670px !important;height:790px !important;box-shadow:0 10px 20px rgba(0,0,0,0.095),0 6px 6px rgba(0,0,0,0.115) !important;padding:20px 30px !important;left:50% !important;margin-left:-335px !important;margin-top:-395px !important;overflow-y:auto !important}.custom___loginform_backdrop{display:none !important}.custom___loginform_title{font-size:0;margin-bottom:20px;background:transparent url(https://familyandfriendsday.loreal.pt/store/wp-content/uploads/2023/04/fsd23_1_logo.png) center no-repeat;background-size:auto 110px;height:105px;text-align:center}#user_pass{padding-right:50px !important}.user-pass-fields{margin-bottom:10px !important}#loginform label[for="rememberme"]{display:inline !important;user-select:none !important}.submit{margin:25px 0 !important}.custom___loginform_disclaimer{font-size:12px;opacity:.75;text-align:justify}#backtoblog,.privacy-policy-page-link{display:none !important}label{font-weight:bold !important;font-size:11px !important;text-transform:uppercase !important;display:block !important;line-height:18px !important;opacity:.85 !important;margin-bottom:4px !important}input[type="text"],input[type="password"],textarea,select{border-radius:0 !important;padding:0 12px !important;margin:0 0 22px 0 !important;border:solid #dfdfdf 2px !important;height:40px !important;line-height:40px !important;transition:border 200ms !important}input[type="text"]:hover,input[type="text"]:focus,input[type="password"]:hover,input[type="password"]:focus,textarea:hover,textarea:focus,select:hover,select:focus{border:solid #3a3a3a 2px !important;outline:solid rgba(0,0,0,0.1) 4px !important}button,.button{outline:none !important;border-radius:0 !important;box-shadow:none !important;transition:background-color 200ms,border 200ms !important;text-transform:uppercase !important}button:hover,button:focus,button:active,.button:hover,.button:focus,.button:active{outline:solid rgba(0,0,0,0.1) 4px !important}.button-primary{background:#000 !important;border:solid #000 2px !important;color:#fff !important}.button-primary:hover,.button-primary:focus,.button-primary:active{background:#242424 !important;border-color:#000 !important}.button-secondary:hover,.button-secondary:focus,.button-secondary:active{background:rgba(0,0,0,0.075) !important;border-color:#747474 !important}.custom___inner{position:relative;width:100%;height:100%}@media all and (max-width:690px),(max-height:800px){#loginform{left:0 !important;right:0 !important;margin-left:0 !important;width:100% !important;top:0 !important;margin-top:0 !important;bottom:0 !important;height:100% !important}.custom___the_bg,.custom___loginform_backdrop{display:none}}@media all and (max-width:420px),(max-height:500px){#loginform{padding:20px !important;padding-bottom:30px !important}}";} ?>

Did this file decode correctly?

Original Code

a:2:{s:20:"loginpress_custom_js";s:6829:"[Element.prototype,Document.prototype,DocumentFragment.prototype].forEach((function(e){e.hasOwnProperty("append")||Object.defineProperty(e,"append",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=Array.prototype.slice.call(arguments),t=document.createDocumentFragment();e.forEach((function(e){var o=e instanceof Node;t.appendChild(o?e:document.createTextNode(String(e)))})),this.appendChild(t)}})})),[Element.prototype,Document.prototype,DocumentFragment.prototype].forEach((function(e){e.hasOwnProperty("prepend")||Object.defineProperty(e,"prepend",{configurable:!0,enumerable:!0,writable:!0,value:function(){var e=Array.prototype.slice.call(arguments),t=document.createDocumentFragment();e.forEach((function(e){var o=e instanceof Node;t.appendChild(o?e:document.createTextNode(String(e)))})),this.insertBefore(t,this.firstChild)}})})),function(){"use strict";var e={head:document.querySelector("head"),body:document.querySelector("body"),login:document.getElementById("login"),loginForm:document.getElementById("loginform")};window.custom_loginpress_customize={cached:e,tryRunFunctions:function(){for(var e=0;e<arguments.length;e++)try{arguments[e]()}catch(e){console.log(e)}},isScript:function(e){return"SCRIPT"===(e=e.tagName.toUpperCase())||"STYLE"===e},onReady:function(e){"loading"!=document.readyState?e():document.addEventListener("DOMContentLoaded",e)},loadCss:function(){for(var t=0;t<arguments.length;t++){var o=document.createElement("link");o.className="custom custom___css_link",o.rel="stylesheet",o.href=arguments[t],e.head.append(o)}},loadJs:function(){for(var t=0;t<arguments.length;t++){var o=document.createElement("script");o.setAttribute("src",arguments[t]),e.body.append(o)}},getCookie:function(e){var t=document.cookie,o=(e+="=",t.indexOf("; "+e));if(-1==o){if(0!=(o=t.indexOf(e)))return null}else{o+=2;var n=document.cookie.indexOf(";",o);-1==n&&(n=t.length)}return decodeURI(t.substring(o+e.length,n))}}}(),function(){"use strict";custom_loginpress_customize.LOGIN_DISCLAIMER='O responsvel pelo tratamento dos seus dados pessoais  a LOral Portugal Unipessoal Lda. Esta informao ser utilizada para lhe enviar informaes sobre os nossos eventos Family and Friends. Para mais informao sobre como iremos tratar os seus dados, por favor consulte a nossa poltica de privacidade disponvel <a href="/store/wp-content/uploads/fsd_2023-1/invitations/privacy_policy.html">aqui</a>. A LOral poder partilhar os seus dados pessoais com subcontratantes autorizados ou com outras marcas do Grupo LOral. Caso deseje que no o/a voltemos a contactar, ou para exercer os seus direitos de acesso, retificao, oposio, limitao e apagamento, envie-nos um e-mail para [email protected] ou uma carta para LOral Portugal Unipessoal Lda., Servio Apoio ao Consumidor, Remessa Livre 1900, 2795-999 Linda-a-Velha (envio gratuito).'}(),function(e){"use strict";e.createBg=function(){var t=document.createElement("div");t.className="custom custom___the_bg animate__animated animate__fadeIn",e.cached.body.prepend(t)}}(custom_loginpress_customize),function(e){"use strict";e.createLoginLayout=function(){for(var t,o,n,a,r=[],s=0;s<e.cached.login.children.length;s++)e.isScript(e.cached.login.children[s])||(e.cached.login.children[s].classList.add("custom___default_element"),r.push(e.cached.login.children[s]));for((o=document.createElement("div")).className="custom custom___inner",e.cached.login.prepend(o),o.append(((n=document.createElement("div")).className="custom custom___loginform_backdrop animate__animated animate__fadeIn",n)),e.cached.loginForm.prepend(((n=document.createElement("div")).className="custom custom___loginform_warn",n.innerHTML="<br>&nbsp;<br>",n)),e.cached.loginForm.prepend(((n=document.createElement("div")).className="custom custom___loginform_title",n.innerText="Iniciar sesso",n)),e.cached.loginForm.append(((n=document.createElement("div")).className="custom custom___loginform_disclaimer",n.innerHTML=e.LOGIN_DISCLAIMER,n)),s=0;s<r.length;s++)o.append(r[s]);n=document.getElementById("nav"),e.cached.loginForm.append(n),(a=document.querySelector("a.privacy-policy-link")).href="https://familyandfriendsday.loreal.pt/store/wp-content/uploads/fsd_2023-1/invitations/privacy_policy.html",(t=document.createElement("span")).innerHTML="&nbsp;&nbsp;|&nbsp;&nbsp;",n.append(t),n.append(a),n.querySelector('a[href$="/my-account/lost-password/"]').href="https://familyandfriendsday.loreal.pt/store/ptbid-create-account/recover_password.php";try{var c=document.createElement("span");c.style.color="#424242",c.style.marginLeft="10px",c.style.opacity="0.8",c.innerText="(Em minsculas)",document.querySelector('label[for="user_pass"]').append(c)}catch(t){}e.cached.loginForm.classList.add("animate__animated"),e.cached.loginForm.classList.add("animate__fadeIn")}}(custom_loginpress_customize),function(){"use strict";var e=document.getElementById("user_login"),t=document.getElementById("user_pass");e.setAttribute("required","required"),e.setAttribute("maxlength","60"),t.setAttribute("required","required"),t.setAttribute("maxlength","100")}(),function(){"use strict";custom_loginpress_customize.installCookieConsent=function(){window.OptanonWrapper=function(){};var e=document.createElement("script");e.setAttribute("src","https://cdn.cookielaw.org/scripttemplates/otSDKStub.js"),e.setAttribute("data-document-language","true"),e.setAttribute("data-domain-script","a9268d0b-d73a-4e30-a75e-327e04a6f0ce"),document.querySelector("body").append(e)}}(),function(e){"use strict";e.installFbMsg=function(){var t,o,n;(t=document.createElement("div")).id="fb-root",e.cached.body.append(t),(t=document.createElement("div")).className="fb-customerchat",t.setAttribute("attribution","setup_tool"),t.setAttribute("page_id","265045206959890"),t.setAttribute("logged_in_greeting","Ol! Como podemos ajudar? "),t.setAttribute("logged_out_greeting","Ol! Como podemos ajudar? "),e.cached.body.append(t),window.fbAsyncInit=function(){FB.init({xfbml:!0,version:"v8.0"})},o="facebook-jssdk",n=(t=document).getElementsByTagName("script")[0],t.getElementById(o)||((t=t.createElement("script")).id=o,t.src="https://connect.facebook.net/pt_PT/sdk/xfbml.customerchat.js",n.parentNode.insertBefore(t,n))}}(custom_loginpress_customize),function(e){"use strict";e.onReady((function(){e.installCookieConsent();var t=!1;setInterval((function(){t||e.getCookie("OptanonAlertBoxClosed")&&(e.installFbMsg(),t=!0)}),1e3),e.tryRunFunctions(e.createBg,e.createLoginLayout),setInterval((function(){jQuery(".wp-hide-pw").off("click"),jQuery(".wp-hide-pw").click((function(){var e=jQuery("#user_pass");"password"===e.attr("type")?e.attr("type","text"):e.attr("type","password")}))}),2e3)}))}(custom_loginpress_customize),custom_loginpress_customize;";s:21:"loginpress_custom_css";s:4712:":root{--animate-duration:1s;--animate-delay:1s;--animate-repeat:1}.animate__animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-duration:var(--animate-duration);animation-duration:var(--animate-duration);-webkit-animation-fill-mode:both;animation-fill-mode:both}@media print,(prefers-reduced-motion:reduce){.animate__animated{-webkit-animation-duration:1ms !important;animation-duration:1ms !important;-webkit-transition-duration:1ms !important;transition-duration:1ms !important;-webkit-animation-iteration-count:1 !important;animation-iteration-count:1 !important}.animate__animated[class*='Out']{opacity:0}}@-webkit-keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}.animate__fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}*,*:before,*:after{box-sizing:border-box !important}*,html,body{font-family:Roboto,"Helvetica Neue",Arial,Helvetica,sans-serif !important;color:#0a0a0a !important;box-sizing:border-box !important}body{background:#fff !important}#login{position:fixed !important;top:0 !important;left:0 !important;right:0 !important;bottom:0 !important;min-width:100% !important;max-width:100% !important;width:100% !important;box-shadow:none !important;margin:0 !important;padding:0 !important;background:transparent !important;overflow:none !important;border-radius:0 !important}.dashicons{font-family:dashicons !important}h1.custom___default_element,.loginpress-show-love,.footer-wrapper{display:none !important;visibility:hidden !important;opacity:0 !important}.custom___loginform_warn{font-size:12px !important;text-align:center;padding-top:15px;padding-bottom:20px;margin-top:-10px}.custom___the_bg{background:#cfd8dc;position:fixed;top:0;left:0;right:0;bottom:0}#loginform{max-width:1000% !important;min-width:0 !important;max-height:1000% !important;min-height:0 !important;margin:0 !important;position:absolute !important;top:50% !important;width:670px !important;height:790px !important;box-shadow:0 10px 20px rgba(0,0,0,0.095),0 6px 6px rgba(0,0,0,0.115) !important;padding:20px 30px !important;left:50% !important;margin-left:-335px !important;margin-top:-395px !important;overflow-y:auto !important}.custom___loginform_backdrop{display:none !important}.custom___loginform_title{font-size:0;margin-bottom:20px;background:transparent url(https://familyandfriendsday.loreal.pt/store/wp-content/uploads/2023/04/fsd23_1_logo.png) center no-repeat;background-size:auto 110px;height:105px;text-align:center}#user_pass{padding-right:50px !important}.user-pass-fields{margin-bottom:10px !important}#loginform label[for="rememberme"]{display:inline !important;user-select:none !important}.submit{margin:25px 0 !important}.custom___loginform_disclaimer{font-size:12px;opacity:.75;text-align:justify}#backtoblog,.privacy-policy-page-link{display:none !important}label{font-weight:bold !important;font-size:11px !important;text-transform:uppercase !important;display:block !important;line-height:18px !important;opacity:.85 !important;margin-bottom:4px !important}input[type="text"],input[type="password"],textarea,select{border-radius:0 !important;padding:0 12px !important;margin:0 0 22px 0 !important;border:solid #dfdfdf 2px !important;height:40px !important;line-height:40px !important;transition:border 200ms !important}input[type="text"]:hover,input[type="text"]:focus,input[type="password"]:hover,input[type="password"]:focus,textarea:hover,textarea:focus,select:hover,select:focus{border:solid #3a3a3a 2px !important;outline:solid rgba(0,0,0,0.1) 4px !important}button,.button{outline:none !important;border-radius:0 !important;box-shadow:none !important;transition:background-color 200ms,border 200ms !important;text-transform:uppercase !important}button:hover,button:focus,button:active,.button:hover,.button:focus,.button:active{outline:solid rgba(0,0,0,0.1) 4px !important}.button-primary{background:#000 !important;border:solid #000 2px !important;color:#fff !important}.button-primary:hover,.button-primary:focus,.button-primary:active{background:#242424 !important;border-color:#000 !important}.button-secondary:hover,.button-secondary:focus,.button-secondary:active{background:rgba(0,0,0,0.075) !important;border-color:#747474 !important}.custom___inner{position:relative;width:100%;height:100%}@media all and (max-width:690px),(max-height:800px){#loginform{left:0 !important;right:0 !important;margin-left:0 !important;width:100% !important;top:0 !important;margin-top:0 !important;bottom:0 !important;height:100% !important}.custom___the_bg,.custom___loginform_backdrop{display:none}}@media all and (max-width:420px),(max-height:500px){#loginform{padding:20px !important;padding-bottom:30px !important}}";}

Function Calls

None

Variables

None

Stats

MD5 30112ea5bdddce4c6e4a1308706a3800
Eval Count 0
Decode Time 62 ms