
<script>
// Sync Private Lessons functionality
document.addEventListener('DOMContentLoaded', function() {
    const syncButton = document.getElementById('sync-private-lessons');
    const syncStatus = document.getElementById('sync-status');
    
    if (syncButton && syncStatus) {
        syncButton.addEventListener('click', function() {
            syncStatus.textContent = 'Syncing...';
            syncButton.disabled = true;
            
            // Find all Private Lesson classes
            const privateLessonColumn = document.querySelector('.class-dashboard-column h2');
            if (privateLessonColumn && privateLessonColumn.textContent.trim() === 'Private Lessons') {
                const privateLessonContainer = privateLessonColumn.parentElement;
                const classButtons = privateLessonContainer.querySelectorAll('button.toggle-class');
                
                let hiddenCount = 0;
                let totalCount = 0;
                
                classButtons.forEach(function(button) {
                    totalCount++;
                    const classId = button.getAttribute('data-target');
                    if (classId) {
                        const classIdNum = classId.split('-')[1];
                        
                        // Check if this class has any students by looking for booking buttons
                        const classContainer = document.getElementById(classId);
                        if (classContainer) {
                            const bookingButtons = classContainer.querySelectorAll('button.open-booking-modal');
                            
                            // If no booking buttons (no students), hide the class
                            if (bookingButtons.length === 0) {
                                button.style.display = 'none';
                                classContainer.style.display = 'none';
                                hiddenCount++;
                            }
                        }
                    }
                });
                
                syncStatus.textContent = 'Sync complete! Hidden ' + hiddenCount + ' out of ' + totalCount + ' Private Lesson classes with no students.';
            } else {
                syncStatus.textContent = 'No Private Lessons column found.';
            }
            
            syncButton.disabled = false;
        });
    }
});
</script><?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//staging.internationaltactical.com/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://staging.internationaltactical.com/post-sitemap.xml</loc>
		<lastmod>2024-07-11T22:47:59+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.internationaltactical.com/page-sitemap.xml</loc>
		<lastmod>2026-03-06T01:22:14+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.internationaltactical.com/jet-woo-builder-sitemap.xml</loc>
		<lastmod>2026-03-18T04:55:34+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.internationaltactical.com/product-sitemap.xml</loc>
		<lastmod>2026-03-24T13:00:42+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.internationaltactical.com/jupiterx-codes-sitemap.xml</loc>
		<lastmod>2025-02-24T04:35:28+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://staging.internationaltactical.com/category-sitemap.xml</loc>
		<lastmod>2024-07-11T22:47:59+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Rank Math SEO Plugin (c) Rank Math - rankmath.com -->