<script>
    function getInputValue() {
        var inputVal = document.getElementById("content").value;
        event.preventDefault();
	//alert(inputVal);
        showProcessingOverlay(); // Show processing overlay

        ai_meta_generate_meta_ajax(inputVal);
    }

    function ai_meta_generate_meta_ajax(inputVal) {
        jQuery.ajax({
            type: 'POST',
            url: 'https://wizzardzz.com/wp-admin/admin-ajax.php',
            data: {
                action: 'ai_meta_generate_meta_ajax', // Action hook
                content: inputVal // Data to be sent
            },
            success: function(response) {
                // Hide processing overlay on success
                hideProcessingOverlay();
                // Handle success response
                console.log(response.data);
            },
            error: function(error) {
                // Hide processing overlay on error
                hideProcessingOverlay();
                // Handle error response
                console.error('AJAX error:', error);
            }
        });
    }

    function showProcessingOverlay() {
        document.getElementById("processing-overlay").style.display = "block";
    }

    function hideProcessingOverlay() {
        document.getElementById("processing-overlay").style.display = "none";
    }
</script>
<style>
    #processing-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #d8dadcc4; /* semi-transparent black background */
    z-index: 9999; /* ensure the overlay is above other content */
    display: flex;
    justify-content: center;
    align-items: center;
}

#processing-modal {
    background-color: #d8dadcc4;
    padding: 15%;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* shadow effect */
}

.modal-content {
    text-align: center;
}

#processing-img {
    width: 500px; /* adjust the size of the processing image as needed */
    height: auto;
}
</style>
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//wizzardzz.com/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://wizzardzz.com/page-sitemap.xml</loc>
		<lastmod>2025-07-21T06:19:58+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->