<?php
/**
 * Pagination Preloader Template
 *
 * Displays animated placeholder elements for pagination.
 * Prevents layout shift during initial page load.
 *
 * @package     Havenlytics
 * @subpackage  Templates/Preloaders
 * @since       2.2.0
 */

if ( ! defined( 'ABSPATH' ) ) {
    exit;
}

$hvnly_animation_class = hvnly_get_preloader_animation_class();
?>

<div class="hvnly-pagination-preloader hvnly-preloader-container" id="hvnly-pagination-preloader"
    data-component="pagination" aria-label="<?php esc_attr_e( 'Loading pagination...', 'havenlytics' ); ?>">
    <div class="hvnly-preloader-pagination">
        <div class="hvnly-preloader-pagination-info <?php echo esc_attr( $hvnly_animation_class ); ?>"></div>
        <div class="hvnly-preloader-pagination-list">
            <div class="hvnly-preloader-pagination-item <?php echo esc_attr( $hvnly_animation_class ); ?>"></div>
            <div class="hvnly-preloader-pagination-item <?php echo esc_attr( $hvnly_animation_class ); ?>"></div>
            <div class="hvnly-preloader-pagination-item <?php echo esc_attr( $hvnly_animation_class ); ?>"></div>
            <div class="hvnly-preloader-pagination-item <?php echo esc_attr( $hvnly_animation_class ); ?>"></div>
            <div class="hvnly-preloader-pagination-item <?php echo esc_attr( $hvnly_animation_class ); ?>"></div>
        </div>
    </div>
</div>