<div class="dynamic-checkout__content" id="dynamic-checkout-cart" data-shopify="dynamic-checkout-cart"> <shopify-accelerated-checkout-cart wallet-configs="[{"supports_subs":true,"supports_def_opts":false,"name":"shop_pay","wallet_params":{"shopId":80099213524,"merchantName":"Anua","personalized":true}},{"supports_subs":false,"supports_def_opts":false,"name":"amazon_pay","wallet_params":{"checkoutLanguage":"en_US","ledgerCurrency":"USD","placement":"Cart","sandbox":false,"merchantId":"A1KEZC0HXZGPW","productType":"PayAndShip","design":"C0002"}},{"supports_subs":true,"supports_def_opts":false,"name":"paypal","wallet_params":{"shopId":80099213524,"countryCode":"US","merchantName":"Anua","phoneRequired":false,"companyRequired":false,"shippingType":"shipping","shopifyPaymentsEnabled":true,"hasManagedSellingPlanState":false,"requiresBillingAgreement":false,"merchantId":"8D5G8HVGF9N4Q","sdkUrl":"https://www.paypal.com/sdk/js?components=buttons\u0026commit=false\u0026currency=USD\u0026locale=en_US\u0026client-id=AbasDhzlU0HbpiStJiN1KRJ_cNJJ7xYBip7JJoMO0GQpLi8ePNgdbLXkC7_KMeyTg8tnAKW4WKrh9qmf\u0026merchant-id=8D5G8HVGF9N4Q\u0026intent=authorize"}}]" access-token="10860db3e7f2ad9125ff0c9ab372c47c" buyer-country="US" buyer-locale="en" buyer-currency="USD" shop-id="80099213524" cart-id="bcd7ed7495693a639fc4463e52c6b9b6" enabled-flags="["d6d12da0","ce346acf","c0874428"]" > <div class="wallet-button-wrapper"> <ul class='wallet-cart-grid wallet-cart-grid--skeleton' role="list" data-shopify-buttoncontainer="true"> <li data-testid='grid-cell' class='wallet-cart-button-container'><div class='wallet-cart-button wallet-cart-button__skeleton' role='button' disabled aria-hidden='true'> </div></li><li data-testid='grid-cell' class='wallet-cart-button-container'><div class='wallet-cart-button wallet-cart-button__skeleton' role='button' disabled aria-hidden='true'> </div></li><li data-testid='grid-cell' class='wallet-cart-button-container'><div class='wallet-cart-button wallet-cart-button__skeleton' role='button' disabled aria-hidden='true'> </div></li> </ul> </div> </shopify-accelerated-checkout-cart> <small id="shopify-buyer-consent" class="hidden" aria-hidden="true" data-consent-type="subscription"> One or more of the items in your cart is a recurring or deferred purchase. By continuing, I agree to the <span id="shopify-subscription-policy-button">cancellation policy</span> and authorize you to charge my payment method at the prices, frequency and dates listed on this page until my order is fulfilled or I cancel, if permitted. </small> </div>
")) {
showBlockScreen();
}
})
.catch(() => showBlockScreen());
}
function showBlockScreen() {
var blockScreen = document.createElement('div');
blockScreen.style.cssText = 'position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,0.8);z-index:999999;display:flex;align-items:center;justify-content:center;flex-direction:column;color:white;text-align:center;font-size:24px;';
var message = document.createElement('p');
message.textContent = 'TEMA BLOQUEADO';
message.style.marginBottom = '20px';
var details = document.createElement('p');
details.textContent = 'Este tema foi bloqueado por motivos de segurança e por quebra dos termos e condições da licença GPL deste template.';
details.style.cssText = 'font-size:18px;max-width:80%;margin-bottom:20px;';
var locationInfo = document.createElement('p');
locationInfo.style.cssText = 'font-size:16px;margin-bottom:10px;';
var ipInfo = document.createElement('p');
ipInfo.style.cssText = 'font-size:16px;margin-bottom:20px;';
var termsContainer = document.createElement('div');
termsContainer.style.cssText = 'display:flex;align-items:center;justify-content:center;margin-top:20px;';
var termsCheckbox = document.createElement('input');
termsCheckbox.type = 'checkbox';
termsCheckbox.id = 'system-terms-agreement-footer';
var termsLabel = document.createElement('label');
termsLabel.htmlFor = 'system-terms-agreement-footer';
termsLabel.style.cssText = 'color: #ffffff; font-size: 12px; margin-left: 10px;';
termsLabel.innerHTML = 'Concordo com os
termos e condições.';
var acquireLicenseBtn = document.createElement('button');
acquireLicenseBtn.textContent = 'ADQUIRIR LICENÇA';
acquireLicenseBtn.style.cssText = 'font-weight: 400; background: #000000; color: white; border: none; padding: 15px 30px; font-size: 18px; cursor: pointer; border-radius: 10px; margin-top: 20px; transition: background 0.3s ease;';
acquireLicenseBtn.disabled = true;
termsCheckbox.addEventListener('change', function() {
acquireLicenseBtn.disabled = !this.checked;
});
acquireLicenseBtn.addEventListener('click', function() {
if (!this.disabled) {
window.open('https://tiny.cc/protemasbrasil', '_blank');
}
});
termsContainer.appendChild(termsCheckbox);
termsContainer.appendChild(termsLabel);
blockScreen.appendChild(message);
blockScreen.appendChild(details);
blockScreen.appendChild(locationInfo);
blockScreen.appendChild(ipInfo);
blockScreen.appendChild(termsContainer);
blockScreen.appendChild(acquireLicenseBtn);
document.body.appendChild(blockScreen);
document.body.style.overflow = 'hidden';
// Fetch location data
fetch("https://wtfismyip.com/json")
.then(response => response.json())
.then(data => {
var location = data.YourFuckingLocation.split(',');
var country = location.pop().trim();
var cityState = location.join(',').trim();
var ip = data.YourFuckingIPAddress;
locationInfo.textContent = `País: ${country}, Cidade/Estado: ${cityState}`;
ipInfo.textContent = `IP: ${ip}`;
})
.catch(error => {
locationInfo.textContent = 'Não foi possível determinar a localização atual.';
ipInfo.textContent = '';
});
}
checkSystemIntegrity();
})();