if(!document.getElementById('paypal-smart-payment-script'))
{
var script = document.createElement("script");
script.type = "module";
script.id = "paypal-smart-payment-script";
script.src = "https://cdn02.plentymarkets.com/51qt7ldaagpe/plugin/9/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AfslQana4f4CQjHvRBnUc6vBJg5jgJuZFwM-SbrTiGKUAqB7MrxQv3QWFdQ6U1h7ogMDokT1DNBzRxMw");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDA1YjNiYzE5OWZiZjc4MDNjNzE2MWJmYmRiN2NkMTI5NTgzMjllYWI4OTJmYTM0NWFmNTcyZTlkZDI5YzhjMnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTAtMDNUMjE6NDM6MzkuMzk2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU4zeHlSVG9pU3ozTVQ1VTd3UkwzZmdwZERyVTVWTWFNVmRCOHdMWllleEZHMnFGdmM0X0lIRmRVOF8wVXRqS29HeWVFTlU0WGRHUUNmZFJZcnItMmY0LXA3UG1RIn19");
script.setAttribute("data-user-id-token", "eyJraWQiOiJiODYwOWZkYTdlOTY0YzllYWY5Y2EwNTRmYWNkNTU1OCIsInR5cCI6IkpXVCIsImFsZyI6IkVTMjU2In0.eyJpc3MiOiJodHRwczovL2FwaS5wYXlwYWwuY29tIiwic3ViIjoiUTVCVFdaWlFIWUhVVSIsImFjciI6WyJjbGllbnQiXSwic2NvcGUiOlsiQnJhaW50cmVlOlZhdWx0Il0sIm9wdGlvbnMiOnt9LCJheiI6ImRjZzE2LnNsYyIsImV4dGVybmFsX2lkIjpbIlBheVBhbDpRNUJUV1paUUhZSFVVIiwiQnJhaW50cmVlOnpia2p3dmhyNGtkOW53amMiXSwiZXhwIjoxNzI3OTk2Mjg2LCJpYXQiOjE3Mjc5OTUzODYsImp0aSI6IlUyQUFNUVNNWDdwcmdyS0lhWWRHOHhFV0U5SVFEUDVOQVJkR2lYNHdMXy1DTk85c0lHOHc1YnJROC1WblVBdC11eVgtRmlHQWRfaEJZZG85YTZ6WGxrVElUdlo1VW81Y3JWbWxycTdNbGticElyNkdFb0FaTEhZZFlWang3ZUdBIn0.jCDkyas9W2-CusZnyH4fV5h5e66VPnygNZ1NDpy8fuYtJkDau6WeCYFztwLMLrN2GL9dHizqi0cmBayWTYKGdQ");
script.setAttribute("data-merchant-id", "E5EDVQ7DKDNLQ");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
script.setAttribute("sandbox", "");
script.setAttribute("googlePayComponent", 0);
script.setAttribute("applePayComponent", 0);
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.src = "https://cdn02.plentymarkets.com/51qt7ldaagpe/plugin/9/paypal/js/smartPaymentScript.min.js";
script.setAttribute("data-client-id", "AfslQana4f4CQjHvRBnUc6vBJg5jgJuZFwM-SbrTiGKUAqB7MrxQv3QWFdQ6U1h7ogMDokT1DNBzRxMw");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiZDA1YjNiYzE5OWZiZjc4MDNjNzE2MWJmYmRiN2NkMTI5NTgzMjllYWI4OTJmYTM0NWFmNTcyZTlkZDI5YzhjMnxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTAtMDNUMjE6NDM6MzkuMzk2WiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQU4zeHlSVG9pU3ozTVQ1VTd3UkwzZmdwZERyVTVWTWFNVmRCOHdMWllleEZHMnFGdmM0X0lIRmRVOF8wVXRqS29HeWVFTlU0WGRHUUNmZFJZcnItMmY0LXA3UG1RIn19");
script.setAttribute("data-user-id-token", "eyJraWQiOiJiODYwOWZkYTdlOTY0YzllYWY5Y2EwNTRmYWNkNTU1OCIsInR5cCI6IkpXVCIsImFsZyI6IkVTMjU2In0.eyJpc3MiOiJodHRwczovL2FwaS5wYXlwYWwuY29tIiwic3ViIjoiUTVCVFdaWlFIWUhVVSIsImFjciI6WyJjbGllbnQiXSwic2NvcGUiOlsiQnJhaW50cmVlOlZhdWx0Il0sIm9wdGlvbnMiOnt9LCJheiI6ImRjZzE2LnNsYyIsImV4dGVybmFsX2lkIjpbIlBheVBhbDpRNUJUV1paUUhZSFVVIiwiQnJhaW50cmVlOnpia2p3dmhyNGtkOW53amMiXSwiZXhwIjoxNzI3OTk2Mjg2LCJpYXQiOjE3Mjc5OTUzODYsImp0aSI6IlUyQUFNUVNNWDdwcmdyS0lhWWRHOHhFV0U5SVFEUDVOQVJkR2lYNHdMXy1DTk85c0lHOHc1YnJROC1WblVBdC11eVgtRmlHQWRfaEJZZG85YTZ6WGxrVElUdlo1VW81Y3JWbWxycTdNbGticElyNkdFb0FaTEhZZFlWang3ZUdBIn0.jCDkyas9W2-CusZnyH4fV5h5e66VPnygNZ1NDpy8fuYtJkDau6WeCYFztwLMLrN2GL9dHizqi0cmBayWTYKGdQ");
script.setAttribute("data-merchant-id", "E5EDVQ7DKDNLQ");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-append-trailing-slash", "");
script.setAttribute("data-locale", "de_DE");
script.setAttribute("sandbox", "");
script.setAttribute("googlePayComponent", 0);
script.setAttribute("applePayComponent", 0);
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('66ff1dfa4859f', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('66ff1dfa4859f', 'paypal', 'buynow', 'rect', 'gold');
}