
<script>
document.addEventListener('DOMContentLoaded', function () {

    function toggleFields(wrapper) {
        const typeSelect = wrapper.querySelector('select[name*="[type]"]');
        if (!typeSelect) return;

        const crypto = wrapper.querySelector('.aiota-crypto-fields');
        const stripe = wrapper.querySelector('.aiota-stripe-fields');

        function update() {
            const val = typeSelect.value;

            if (crypto) crypto.style.display = (val === 'crypto_manual') ? 'block' : 'none';
            if (stripe) stripe.style.display = (val === 'stripe') ? 'block' : 'none';
        }

        typeSelect.addEventListener('change', update);
        update();
    }

    document.querySelectorAll('.wrap form > div').forEach(function(wrapper){
        toggleFields(wrapper);
    });

});
</script>
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="https://aiota.trade/wp-sitemap-index.xsl" ?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><sitemap><loc>https://aiota.trade/wp-sitemap-posts-page-1.xml</loc></sitemap><sitemap><loc>https://aiota.trade/wp-sitemap-users-1.xml</loc></sitemap></sitemapindex>
