/**
 * Guard Dog - Cloudflare Turnstile JavaScript
 * 
 * Handles Cloudflare Turnstile CAPTCHA functionality
 * 
 * @package GuardDog
 * @since 1.2.0
 */

(function() {
    'use strict';
    
    // Cloudflare Turnstile is handled automatically by their script
    // No additional JavaScript needed for basic functionality
    
    // Optional: Add callback for when CAPTCHA is completed
    window.guard_dog_turnstile_callback = function(response) {
        
    };
    
    // Optional: Add callback for when CAPTCHA expires
    window.guard_dog_turnstile_expired = function() {

    };
    
    // Optional: Add callback for when CAPTCHA has an error
    window.guard_dog_turnstile_error = function(error) {
        console.error('Guard Dog: Cloudflare Turnstile error:', error);
    };
    
})(); 