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/fi0nut8i0wa5/plugin/135/paypal/js/smartPaymentScript.js";
script.setAttribute("data-client-id", "AdPBdQUa97Z97n62Cjbyk3NVFoOJT036TF-w9ZoEIEY1XgMMcv4MHIHIwgHOCGYApo9wwBv8GY1dOcSb");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYmY0NjA5OWIzODlkZDgxMzg4OGY0NzE5Nzg4MGIyYzU4YzQ5NDIzYzcwNzFkMzA5MjVmNWJjMTBiZWVkOThlOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTEtMjBUMjM6MTk6NTIuMzYyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBITTYtSm1NUDFoRTFOeTFab0cwMHI1RmdyX1dzUW9ZMmItNjQwVHpWQ0lJUEZVRmJobUdWM2h6ZUl6YVAzbF90a2h1RWZzMTFIQk9nU0hOVndnNHJDQzg2dkpnIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "sk_SK");
document.body.appendChild(script);
} else {
var script = document.getElementById('paypal-smart-payment-script');
script.setAttribute("data-client-id", "AdPBdQUa97Z97n62Cjbyk3NVFoOJT036TF-w9ZoEIEY1XgMMcv4MHIHIwgHOCGYApo9wwBv8GY1dOcSb");
script.setAttribute("data-currency", "EUR");
script.setAttribute("data-client-token", "eyJicmFpbnRyZWUiOnsiYXV0aG9yaXphdGlvbkZpbmdlcnByaW50IjoiYmY0NjA5OWIzODlkZDgxMzg4OGY0NzE5Nzg4MGIyYzU4YzQ5NDIzYzcwNzFkMzA5MjVmNWJjMTBiZWVkOThlOXxtZXJjaGFudF9pZD1yd3dua3FnMnhnNTZobTJuJnB1YmxpY19rZXk9ajJmYzJqcHhkZzZ2cDg0ZiZjcmVhdGVkX2F0PTIwMjQtMTEtMjBUMjM6MTk6NTIuMzYyWiIsInZlcnNpb24iOiIzLXBheXBhbCJ9LCJwYXlwYWwiOnsiaWRUb2tlbiI6bnVsbCwiYWNjZXNzVG9rZW4iOiJBMjFBQVBITTYtSm1NUDFoRTFOeTFab0cwMHI1RmdyX1dzUW9ZMmItNjQwVHpWQ0lJUEZVRmJobUdWM2h6ZUl6YVAzbF90a2h1RWZzMTFIQk9nU0hOVndnNHJDQzg2dkpnIn19");
script.setAttribute("data-append-trailing-slash", "true");
script.setAttribute("data-locale", "sk_SK");
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('673e7c5382561', 'paylater', 'paypal', 'rect', 'gold');
});
} else {
renderPayPalButtons('673e7c5382561', 'paylater', 'paypal', 'rect', 'gold');
}
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') {
document.addEventListener('payPalScriptInitialized', () => {
renderPayPalButtons('673e7c5382561', 'paypal', 'buynow', 'rect', 'gold');
});
} else {
renderPayPalButtons('673e7c5382561', 'paypal', 'buynow', 'rect', 'gold');
}