T.ME/BIBIL_0DAY
CasperSecurity


Server : Apache/2
System : Linux server-15-235-50-60 5.15.0-164-generic #174-Ubuntu SMP Fri Nov 14 20:25:16 UTC 2025 x86_64
User : gositeme ( 1004)
PHP Version : 8.2.29
Disable Function : exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Directory :  /home/gositeme/.cursor-server/data/User/History/-7f37a327/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/gositeme/.cursor-server/data/User/History/-7f37a327/hHG8.js
/**
 * The Land - Village Discovery JavaScript
 */

(function() {
    'use strict';

    // Auto-submit form on filter change
    document.addEventListener('DOMContentLoaded', function() {
        const form = document.getElementById('searchForm');
        if (!form) return;

        const selects = form.querySelectorAll('.filter-select');
        selects.forEach(select => {
            select.addEventListener('change', function() {
                form.submit();
            });
        });

        // Debounce search input
        const searchInput = form.querySelector('.search-input');
        let searchTimeout;
        
        if (searchInput) {
            searchInput.addEventListener('input', function() {
                clearTimeout(searchTimeout);
                searchTimeout = setTimeout(() => {
                    // Only auto-submit if user stops typing for 1 second
                    if (this.value.length === 0 || this.value.length >= 3) {
                        form.submit();
                    }
                }, 1000);
            });

            // Submit on Enter
            searchInput.addEventListener('keypress', function(e) {
                if (e.key === 'Enter') {
                    e.preventDefault();
                    clearTimeout(searchTimeout);
                    form.submit();
                }
            });
        }
    });

    // Add hover effects to village cards
    document.querySelectorAll('.village-card-airbnb').forEach(card => {
        card.addEventListener('mouseenter', function() {
            this.style.transition = 'all 0.3s ease';
        });
    });

})();


CasperSecurity Mini