%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /dom645759/wp-content/plugins/fusion-builder/shortcodes/
Upload File :
Create Path :
Current File : /dom645759/wp-content/plugins/fusion-builder/shortcodes/fusion-testimonials.php

<?php
/**
 * Add an element to fusion-builder.
 *
 * @package fusion-builder
 * @since 1.0
 */

if ( fusion_is_element_enabled( 'fusion_testimonials' ) ) {

	if ( ! class_exists( 'FusionSC_Testimonials' ) ) {
		/**
		 * Shortcode class.
		 *
		 * @since 1.0
		 */
		class FusionSC_Testimonials extends Fusion_Element {

			/**
			 * The testimonials counter.
			 *
			 * @access private
			 * @since 1.0
			 * @var int
			 */
			private $testimonials_counter = 1;

			/**
			 * The testimonials child counter.
			 *
			 * @access private
			 * @since 3.4
			 * @var int
			 */
			private $testimonials_child_counter = 1;

			/**
			 * Parent SC arguments.
			 *
			 * @access protected
			 * @since 1.0
			 * @var array
			 */
			protected $parent_args;

			/**
			 * Child SC arguments.
			 *
			 * @access protected
			 * @since 1.0
			 * @var array
			 */
			protected $child_args;

			/**
			 * Constructor.
			 *
			 * @access public
			 * @since 1.0
			 */
			public function __construct() {
				parent::__construct();
				add_filter( 'fusion_attr_testimonials-shortcode', [ $this, 'attr' ] );
				add_filter( 'fusion_attr_testimonials-shortcode-testimonials', [ $this, 'testimonials_attr' ] );
				add_filter( 'fusion_attr_testimonials-shortcode-slides', [ $this, 'slides_attr' ] );
				add_filter( 'fusion_attr_testimonials-shortcode-blockquote', [ $this, 'blockquote_attr' ] );
				add_filter( 'fusion_attr_testimonials-shortcode-quote', [ $this, 'quote_attr' ] );
				add_filter( 'fusion_attr_testimonials-shortcode-quote-content', [ $this, 'quote_content_attr' ] );
				add_filter( 'fusion_attr_testimonials-shortcode-icon', [ $this, 'icon_attr' ] );
				add_filter( 'fusion_attr_testimonials-shortcode-review', [ $this, 'review_attr' ] );
				add_filter( 'fusion_attr_testimonials-shortcode-thumbnail', [ $this, 'thumbnail_attr' ] );
				add_filter( 'fusion_attr_testimonials-shortcode-avatar-icon', [ $this, 'avatar_icon_attr' ] );
				add_filter( 'fusion_attr_testimonials-shortcode-image', [ $this, 'image_attr' ] );
				add_filter( 'fusion_attr_testimonials-shortcode-author', [ $this, 'author_attr' ] );
				add_filter( 'fusion_attr_testimonials-shortcode-pagination', [ $this, 'pagination_attr' ] );

				add_shortcode( 'fusion_testimonials', [ $this, 'render_parent' ] );
				add_shortcode( 'fusion_testimonial', [ $this, 'render_child' ] );
			}

			/**
			 * Gets the default values.
			 *
			 * @static
			 * @access public
			 * @since 2.0.0
			 * @param string $context Whether we want parent or child.
			 *                        Returns array( parent, child ) if empty.
			 * @return array
			 */
			public static function get_element_defaults( $context = '' ) {
				$fusion_settings = awb_get_fusion_settings();
				$border_radius   = Fusion_Builder_Border_Radius_Helper::get_border_radius_array_with_fallback_value( $fusion_settings->get( 'testimonial_border_radius' ) );

				$parent = [
					'design'                                    => 'classic',
					'layout'                                    => 'fade',
					'marquee_direction'                         => 'left',
					'columns'                                   => '3',
					'columns_medium'                            => '-1',
					'columns_small'                             => '1',
					'column_spacing'                            => '',
					'column_spacing_medium'                     => '',
					'column_spacing_small'                      => '',
					'flex_align_items'                          => 'stretch',
					'scroll_items'                              => '1',
					'navigation'                                => '',
					'autoplay'                                  => 'yes',
					'speed'                                     => $fusion_settings->get( 'testimonials_speed' ),
					'autoplay_hover_pause'                      => 'no',
					'loop'                                      => 'yes',
					'mask_edges'                                => 'no',
					'backgroundcolor'                           => strtolower( $fusion_settings->get( 'testimonial_bg_color' ) ),
					'testimonial_border_top'                    => $fusion_settings->get( 'testimonial_border_width', 'top' ),
					'testimonial_border_right'                  => $fusion_settings->get( 'testimonial_border_width', 'right' ),
					'testimonial_border_bottom'                 => $fusion_settings->get( 'testimonial_border_width', 'bottom' ),
					'testimonial_border_left'                   => $fusion_settings->get( 'testimonial_border_width', 'left' ),
					'testimonial_border_style'                  => $fusion_settings->get( 'testimonial_border_style' ),
					'testimonial_border_color'                  => $fusion_settings->get( 'testimonial_border_color' ),
					'border_radius_top_left'                    => $border_radius['top_left'],
					'border_radius_top_right'                   => $border_radius['top_right'],
					'border_radius_bottom_right'                => $border_radius['bottom_right'],
					'border_radius_bottom_left'                 => $border_radius['bottom_left'],
					'box_shadow'                                => 'no',
					'box_shadow_blur'                           => '0',
					'box_shadow_color'                          => '',
					'box_shadow_horizontal'                     => '',
					'box_shadow_spread'                         => '0',
					'box_shadow_style'                          => '',
					'box_shadow_vertical'                       => '',
					'testimonial_speech_bubble'                 => 'show',
					'triangle_size'                             => '',
					'fusion_font_family_testimonial_text_font'  => '',
					'fusion_font_variant_testimonial_text_font' => '',
					'testimonial_text_font_size'                => '',
					'testimonial_text_line_height'              => '',
					'testimonial_text_letter_spacing'           => '',
					'testimonial_text_text_transform'           => '',
					'textcolor'                                 => strtolower( $fusion_settings->get( 'testimonial_text_color' ) ),
					'fusion_font_family_name_company_font'      => '',
					'fusion_font_variant_name_company_font'     => '',
					'name_company_font_size'                    => '',
					'name_company_line_height'                  => '',
					'name_company_letter_spacing'               => '',
					'name_company_text_transform'               => '',
					'name_company_text_color'                   => '',
					'fusion_font_family_company_font'           => '',
					'fusion_font_variant_company_font'          => '',
					'company_font_size'                         => '',
					'company_line_height'                       => '',
					'company_letter_spacing'                    => '',
					'company_text_transform'                    => '',
					'company_text_color'                        => '',
					'box_padding_top'                           => '',
					'box_padding_right'                         => '',
					'box_padding_bottom'                        => '',
					'box_padding_left'                          => '',
					'content_alignment'                         => 'flex-start',
					'content_valign'                            => 'center',
					'author_block_position'                     => 'above',
					'split_author_width'                        => '',
					'author_block_gap'                          => '',
					'avatar_placement'                          => 'before',
					'author_distribution'                       => 'packed',
					'author_layout'                             => 'inline',
					'avatar_gap'                                => '',
					'rating_position'                           => 'above_quote',
					'rating_max'                                => '5',
					'rating_icon'                               => 'fa-star fas',
					'rating_size'                               => '',
					'rating_active_color'                       => '',
					'rating_inactive_color'                     => '',
					'initials_bg_color'                         => 'var(--primary_color)',
					'initials_text_color'                       => '#ffffff',
					'testimonial_icon_color'                    => '',
					'testimonial_icon_size'                     => '2em',
					'navigation_size'                           => '',
					'navigation_color'                          => '',
					'arrow_box_width'                           => '',
					'arrow_box_height'                          => '',
					'arrow_size'                                => '',
					'prev_icon'                                 => 'awb-icon-angle-left',
					'next_icon'                                 => 'awb-icon-angle-right',
					'arrow_position_horizontal'                 => '',
					'arrow_position_vertical'                   => '',
					'arrow_border_radius_top_left'              => '',
					'arrow_border_radius_top_right'             => '',
					'arrow_border_radius_bottom_right'          => '',
					'arrow_border_radius_bottom_left'           => '',
					'arrow_bgcolor'                             => $fusion_settings->get( 'carousel_nav_color' ),
					'arrow_color'                               => '#fff',
					'arrow_hover_bgcolor'                       => $fusion_settings->get( 'carousel_hover_color' ),
					'arrow_hover_color'                         => '#fff',
					'dots_position'                             => 'below',
					'dots_align'                                => 'center',
					'dots_spacing'                              => '',
					'dots_margin_top'                           => '',
					'dots_margin_bottom'                        => '',
					'dots_active_size'                          => '',
					'dots_active_color'                         => '',
					'random'                                    => $fusion_settings->get( 'testimonials_random' ),
					'margin_top'                                => '',
					'margin_right'                              => '',
					'margin_bottom'                             => '',
					'margin_left'                               => '',
					'hide_on_mobile'                            => fusion_builder_default_visibility( 'string' ),
					'class'                                     => '',
					'id'                                        => '',
				];

				$child = [
					'name'                       => '',
					'title_role'                 => '',
					'rating'                     => '',
					'rating_text'                => '',
					'avatar'                     => 'initials',
					'avatar_icon'                => '',
					'image'                      => '',
					'image_id'                   => '',
					'avatar_position'            => 'above',
					'avatar_size'                => '',
					'image_border_radius'        => '',
					'company'                    => '',
					'link'                       => '',
					'target'                     => '_self',
					'alignment_classic'          => '',
					'testimonial_icon'           => '',
					'testimonial_icon_alignment' => 'left',
					'gender'                     => '',  // Deprecated.
				];

				return fusion_get_context_specific_values( $context, $parent, $child );
			}

			/**
			 * Maps settings to param variables.
			 *
			 * @static
			 * @access public
			 * @param string $context Whether we want parent or child.
			 * @since 2.0.0
			 * @return array
			 */
			public static function settings_to_params( $context = '' ) {
				$fusion_settings = awb_get_fusion_settings();

				$parent = [
					'testimonial_bg_color'                    => 'backgroundcolor',
					'testimonials_random'                     => 'random',
					'testimonial_text_color'                  => 'textcolor',
					'testimonial_border_width[top]'           => 'testimonial_border_top',
					'testimonial_border_width[right]'         => 'testimonial_border_right',
					'testimonial_border_width[bottom]'        => 'testimonial_border_bottom',
					'testimonial_border_width[left]'          => 'testimonial_border_left',
					'testimonial_border_style'                => 'testimonial_border_style',
					'testimonial_border_color'                => 'testimonial_border_color',
					'testimonial_border_radius[top_left]'     => 'border_radius_top_left',
					'testimonial_border_radius[top_right]'    => 'border_radius_top_right',
					'testimonial_border_radius[bottom_right]' => 'border_radius_bottom_right',
					'testimonial_border_radius[bottom_left]'  => 'border_radius_bottom_left',
				];

				return fusion_get_context_specific_values( $context, $parent );
			}

			/**
			 * Render the parent shortcode.
			 *
			 * @access public
			 * @since 1.0
			 * @param  array  $args     Shortcode parameters.
			 * @param  string $content Content between shortcode.
			 * @return string          HTML output.
			 */
			public function render_parent( $args, $content = '' ) {

				$defaults   = FusionBuilder::set_shortcode_defaults( self::get_element_defaults( 'parent' ), $args, 'fusion_testimonials' );
				$this->args = $defaults;

				if ( 'yes' === $defaults['random'] || '1' === $defaults['random'] ) {
					$defaults['random'] = 1;
				} else {
					$defaults['random'] = 0;
				}

				if ( 'clean' === $defaults['design'] && '' === $defaults['navigation'] ) {
					$defaults['navigation'] = 'yes';
				} elseif ( 'classic' === $defaults['design'] && '' === $defaults['navigation'] ) {
					$defaults['navigation'] = 'no';
				}

				extract( $defaults );

				$this->parent_args = $defaults;

				// Resolve the responsive column counts once (used by grid vars + carousel data attrs).
				$child_count = 0;
				if ( preg_match_all( '/\[fusion_testimonial[\s\/\]]/', $content, $child_matches ) ) {
					$child_count = count( $child_matches[0] );
				}
				$this->parent_args['columns_resolved'] = $this->resolve_columns( $child_count );

				$is_grid    = 'grid' === $this->parent_args['layout'];
				$is_marquee = 'marquee' === $this->parent_args['layout'];

				// A lone testimonial has nothing to slide: render it static (no Swiper) so the fade / carousel
				// layouts don't play a stray transition on a single item. Grid is already static; marquee clones.
				$single_static = ! $is_grid && ! $is_marquee && 1 >= $child_count;
				$this->parent_args['single_static'] = $single_static;

				// Navigation (dots / arrows) only applies to the slider layouts (not grid, marquee, or a lone static item).
				$pagination = '';
				$nav_arrows = '';
				if ( ! $is_grid && ! $is_marquee && ! $single_static ) {
					if ( in_array( $this->parent_args['navigation'], [ 'yes', 'arrows_dots' ], true ) ) {
						$pagination = '<div ' . FusionBuilder::attributes( 'testimonials-shortcode-pagination' ) . '></div>';
					}

					// Arrows are hidden when the carousel edges are masked (same as Image Carousel).
					$masked = ( 'carousel' === $this->parent_args['layout'] && 'yes' === $this->parent_args['mask_edges'] );

					if ( ! $masked && in_array( $this->parent_args['navigation'], [ 'arrows', 'arrows_dots' ], true ) ) {
						$prev_icon  = $this->parent_args['prev_icon'] ? fusion_font_awesome_name_handler( $this->parent_args['prev_icon'] ) : 'awb-icon-angle-left';
						$next_icon  = $this->parent_args['next_icon'] ? fusion_font_awesome_name_handler( $this->parent_args['next_icon'] ) : 'awb-icon-angle-right';
						$nav_arrows = awb_get_carousel_nav( $prev_icon, $next_icon );
					}
				}

				if ( $this->parent_args['random'] ) {
					preg_match_all( '/\[fusion_testimonial [^\/]*\/\]|\[fusion_testimonial .*\].*(.|\s|\S)*\/fusion_testimonial\]/U', $content, $single_testimonials );

					if ( isset( $single_testimonials[0] ) ) {
						shuffle( $single_testimonials[0] );
						$content = implode( '', $single_testimonials[0] );
					}
				}

				fusion_element_rendering_elements( true );
				if ( $is_grid || $single_static ) {
					// Static: CSS grid ("wall of love") or a lone testimonial — no Swiper wrapper, no navigation.
					$html = sprintf(
						'<div %s><div %s>%s</div></div>',
						FusionBuilder::attributes( 'testimonials-shortcode' ),
						FusionBuilder::attributes( 'testimonials-shortcode-testimonials' ),
						do_shortcode( $content )
					);
				} else {
					// Fade slider / carousel: Swiper.
					$html = sprintf(
						'<div %s><div %s><div %s>%s</div>%s%s</div></div>',
						FusionBuilder::attributes( 'testimonials-shortcode' ),
						FusionBuilder::attributes( 'testimonials-shortcode-testimonials' ),
						FusionBuilder::attributes( 'testimonials-shortcode-slides' ),
						do_shortcode( $content ),
						$pagination,
						$nav_arrows
					);
				}
				fusion_element_rendering_elements( false );

				$this->testimonials_counter++;
				$this->testimonials_child_counter = 1;

				$this->on_render();

				return apply_filters( 'fusion_element_testimonials_parent_content', $html, $args );
			}

			/**
			 * Builds the attributes array.
			 *
			 * @access public
			 * @since 1.0
			 * @return array
			 */
			public function attr() {

				$attr = fusion_builder_visibility_atts(
					$this->parent_args['hide_on_mobile'],
					[
						'class' => 'fusion-testimonials ' . $this->parent_args['design'] . ' awb-testimonials-layout-' . $this->parent_args['layout'] . ' awb-testimonial-content-' . $this->parent_args['content_alignment'] . ' awb-speech-bubble-' . $this->parent_args['testimonial_speech_bubble'] . ' awb-testimonial-author-' . $this->parent_args['author_layout'] . ' fusion-testimonials-' . $this->testimonials_counter,
						'style' => '',
					]
				);

				$attr['style'] .= $this->get_style_variables();

				// Give box shadows room to escape Swiper's overflow clip (see .awb-testimonials-has-shadow).
				if ( 0 < $this->get_shadow_overflow() ) {
					$attr['class'] .= ' awb-testimonials-has-shadow';
				}

				if ( $this->parent_args['class'] ) {
					$attr['class'] .= ' ' . $this->parent_args['class'];
				}

				if ( $this->parent_args['id'] ) {
					$attr['id'] = $this->parent_args['id'];
				}

				return $attr;
			}

			/**
			 * Extra room an outer box shadow needs to paint beyond the card, so Swiper's overflow clip
			 * doesn't cut it off on the slider layouts. Reach = blur + spread + the larger offset.
			 *
			 * @access private
			 * @since 3.16
			 * @return float The shadow reach in px (0 when there is no outer shadow).
			 */
			private function get_shadow_overflow() {
				if ( 'yes' !== $this->parent_args['box_shadow'] || 'inset' === $this->parent_args['box_shadow_style'] ) {
					return 0;
				}

				$reach = (float) $this->parent_args['box_shadow_blur'] + (float) $this->parent_args['box_shadow_spread'] + max( abs( (float) $this->parent_args['box_shadow_horizontal'] ), abs( (float) $this->parent_args['box_shadow_vertical'] ) );

				return max( 0, $reach );
			}

			/**
			 * Get the style variables.
			 *
			 * @access protected
			 * @since 3.9
			 * @return string
			 */
			protected function get_style_variables() {
				$css_vars_options = [
					'flex_align_items',
					'backgroundcolor'                 => [ 'callback' => [ 'Fusion_Sanitize', 'color' ] ],
					'testimonial_border_style',
					'testimonial_border_color'        => [ 'callback' => [ 'Fusion_Sanitize', 'color' ] ],
					'testimonial_text_font_size'      => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'testimonial_text_line_height'    => [ 'callback' => [ 'Fusion_Sanitize', 'size' ] ],
					'testimonial_text_letter_spacing' => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'testimonial_text_text_transform',
					'textcolor'                       => [ 'callback' => [ 'Fusion_Sanitize', 'color' ] ],
					'name_company_font_size'          => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'name_company_line_height'        => [ 'callback' => [ 'Fusion_Sanitize', 'size' ] ],
					'name_company_letter_spacing'     => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'name_company_text_transform',
					'name_company_text_color'         => [ 'callback' => [ 'Fusion_Sanitize', 'color' ] ],
					'company_font_size'               => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'company_line_height'             => [ 'callback' => [ 'Fusion_Sanitize', 'size' ] ],
					'company_letter_spacing'          => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'company_text_transform',
					'company_text_color'              => [ 'callback' => [ 'Fusion_Sanitize', 'color' ] ],
					'box_padding_top'                => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'box_padding_right'              => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'box_padding_bottom'             => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'box_padding_left'               => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'content_valign',
					'avatar_gap'                      => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'author_block_gap'                => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'rating_size'                     => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'rating_active_color'             => [ 'callback' => [ 'Fusion_Sanitize', 'color' ] ],
					'rating_inactive_color'           => [ 'callback' => [ 'Fusion_Sanitize', 'color' ] ],
					'initials_bg_color'               => [ 'callback' => [ 'Fusion_Sanitize', 'color' ] ],
					'initials_text_color'             => [ 'callback' => [ 'Fusion_Sanitize', 'color' ] ],
					'testimonial_icon_color'          => [ 'callback' => [ 'Fusion_Sanitize', 'color' ] ],
					'testimonial_icon_size'           => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'triangle_size'                   => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'navigation_size'                 => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'navigation_color'                => [ 'callback' => [ 'Fusion_Sanitize', 'color' ] ],
					'margin_top'                      => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'margin_right'                    => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'margin_bottom'                   => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'margin_left'                     => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
				];

				$styles  = $this->get_css_vars_for_options( $css_vars_options );
				$styles .= Fusion_Builder_Border_Radius_Helper::get_border_radius_vars( $this->parent_args );

				$custom_vars = [
					'testimonial-border-width-top'    => fusion_library()->sanitize->get_value_with_unit( $this->args['testimonial_border_top'] ),
					'testimonial-border-width-right'  => fusion_library()->sanitize->get_value_with_unit( $this->args['testimonial_border_right'] ),
					'testimonial-border-width-bottom' => fusion_library()->sanitize->get_value_with_unit( $this->args['testimonial_border_bottom'] ),
					'testimonial-border-width-left'   => fusion_library()->sanitize->get_value_with_unit( $this->args['testimonial_border_left'] ),
				];

				$styles .= $this->get_custom_css_vars( $custom_vars, false );

				// Box shadow (card surface / speech bubble).
				$styles .= Fusion_Builder_Box_Shadow_Helper::get_box_shadow_css_var( '--awb-box-shadow', $this->parent_args );

				// Room for an outer shadow to render past Swiper's clip (consumed by overflow-clip-margin).
				$shadow_overflow = $this->get_shadow_overflow();
				if ( 0 < $shadow_overflow ) {
					$styles .= '--awb-shadow-overflow:' . $shadow_overflow . 'px;';
				}

				// Card author-parts layout (avatar position / distribution / alignment).
				$styles .= $this->get_author_layout_vars();

				// Non-stretch alignment lets cards size to content so the alignment is visible.
				if ( 'card' === $this->parent_args['design'] && 'stretch' !== $this->parent_args['flex_align_items'] ) {
					$styles .= '--awb-review-height:auto;';
				}

				// A chosen icon color shows at full opacity (the picker owns the alpha); unset stays faded.
				if ( '' !== $this->parent_args['testimonial_icon_color'] ) {
					$styles .= '--awb-testimonial-icon-opacity:1;';
				}

				return $styles . $this->get_font_styling_vars( 'testimonial_text_font' ) . $this->get_font_styling_vars( 'name_company_font' ) . $this->get_font_styling_vars( 'company_font' );
			}

			/**
			 * Get the card author-parts layout CSS variables.
			 *
			 * Maps Avatar Position + Author Distribution + Content Alignment into flex values on the
			 * .author row. Content Alignment stays text-only; the avatar side is its own control.
			 *
			 * @access private
			 * @since 3.16
			 * @return string
			 */
			private function get_author_layout_vars() {
				if ( 'card' !== $this->parent_args['design'] ) {
					return '';
				}

				$align = '' !== $this->parent_args['content_alignment'] ? $this->parent_args['content_alignment'] : 'flex-start';

				$placement = $this->parent_args['avatar_placement'];
				$is_column = in_array( $placement, [ 'above', 'below' ], true );
				$order     = in_array( $placement, [ 'after', 'below' ], true ) ? '1' : '0';

				if ( $is_column ) {
					$direction = 'column';
					$cross     = $align;
					$justify   = 'flex-start';
				} else {
					$direction = 'row';
					$cross     = 'center';
					$justify   = 'space_between' === $this->parent_args['author_distribution'] ? 'space-between' : $align;
				}

				$vars = sprintf(
					'--awb-author-direction:%s;--awb-avatar-order:%s;--awb-author-cross:%s;--awb-author-justify:%s;',
					$direction,
					$order,
					$cross,
					$justify
				);

				// Author Block Position + Gap: Left / Right split beside the quote; Above / Below stack it.
				$block_pos = $this->parent_args['author_block_position'];
				$has_gap   = '' !== $this->parent_args['author_block_gap'];
				$gap_unit  = $has_gap ? fusion_library()->sanitize->get_value_with_unit( $this->parent_args['author_block_gap'] ) : '';

				if ( 'left' === $block_pos || 'right' === $block_pos ) {
					// The quote is first in the DOM, so the author needs a negative order to sit left.
					$side_order   = 'right' === $block_pos ? '1' : '-1';
					$gap          = $has_gap ? $gap_unit : '2em';
					$cross_valign = 'space-between' === $this->parent_args['content_valign'] ? 'stretch' : $this->parent_args['content_valign'];

					$vars .= '--awb-card-direction:row;--awb-card-cross:' . $cross_valign . ';--awb-quote-flex:1 1 auto;';
					$vars .= '--awb-card-inner-gap:' . $gap . ';';
					$vars .= '--awb-author-block-order:' . $side_order . ';--awb-author-block-mt:0;--awb-author-block-mb:0;--awb-author-block-pt:0;';

					if ( '' !== $this->parent_args['split_author_width'] ) {
						$vars .= '--awb-author-basis:' . fusion_library()->sanitize->get_value_with_unit( $this->parent_args['split_author_width'] ) . ';';
					}
				} elseif ( 'above' === $block_pos ) {
					// Author block above the quote; the gap sits below it (var-driven so it updates live).
					$gap = $has_gap ? $gap_unit : '1.25em';
					$vars .= '--awb-author-block-order:-1;--awb-author-block-mt:0;--awb-author-block-mb:' . $gap . ';--awb-author-block-pt:0;';
				} elseif ( $has_gap ) {
					// Author block below the quote (default): the gap is its top padding.
					$vars .= '--awb-author-block-pt:' . $gap_unit . ';';
				}

				// Rating position: above/below quote uses CSS order; above/below author orders it in the author block.
				if ( 'below_quote' === $this->parent_args['rating_position'] ) {
					$vars .= '--awb-rating-order:2;';
				} elseif ( in_array( $this->parent_args['rating_position'], [ 'above_author', 'below_author' ], true ) ) {
					$vars .= '--awb-rating-author-order:' . ( 'above_author' === $this->parent_args['rating_position'] ? '-1' : '2' ) . ';';

					if ( in_array( $placement, [ 'before', 'after' ], true ) ) {
						$vars .= '--awb-author-wrap:wrap;--awb-rating-basis:100%;';
					}
				}

				return $vars;
			}

			/**
			 * Builds the testimonials attributes array.
			 *
			 * @access public
			 * @since 1.0
			 * @return array
			 */
			public function testimonials_attr() {
				$layout = $this->parent_args['layout'];

				// Grid: plain CSS grid container, no Swiper.
				if ( 'grid' === $layout ) {
					return [
						'class' => 'reviews awb-testimonials-grid',
						'style' => $this->get_grid_style_variables(),
					];
				}

				// Lone testimonial: plain container, no Swiper classes (so it never inits / transitions).
				if ( ! empty( $this->parent_args['single_static'] ) ) {
					return [
						'class' => 'reviews',
					];
				}

				// Autoplay respects both the toggle and a non-zero speed (speed 0 = disabled, for BC).
				$autoplay = ( 'yes' === $this->parent_args['autoplay'] && 0 < (int) $this->parent_args['speed'] ) ? 'yes' : 'no';

				$attr = [
					'class'              => 'reviews awb-carousel awb-swiper awb-swiper-dots-position-' . $this->parent_args['dots_position'],
					'data-touchscroll'   => 'touch',
					'data-loop'          => $this->parent_args['loop'],
					'data-pagination'    => 'bullets',
					'data-autoplay'      => $autoplay,
					'data-autoplayspeed' => (int) $this->parent_args['speed'],
					'data-autoplaypause' => $this->parent_args['autoplay_hover_pause'],
					'style'              => $this->get_nav_style_variables(),
				];

				if ( 'carousel' === $layout || 'marquee' === $layout ) {
					// Multi-item layouts (sliding carousel / continuous marquee): responsive columns + item margin.
					$cols                       = $this->parent_args['columns_resolved'];
					$attr['data-layout']        = $layout;

					// Mask Edges: fade the left / right edges (arrows are hidden while masked).
					if ( 'yes' === $this->parent_args['mask_edges'] ) {
						$attr['class'] .= ' awb-carousel--masked';
					}

					$attr['data-columns']       = $cols['desktop'];
					$attr['data-columnsmedium'] = $cols['medium'];
					$attr['data-columnssmall']  = $cols['small'];
					$attr['data-itemmargin']    = '' !== $this->parent_args['column_spacing'] ? (int) $this->parent_args['column_spacing'] : 30;

					if ( 'marquee' === $layout ) {
						// Marquee: continuous scroll. Direction + scroll pace (data-speed drives the Swiper
						// transition; speed 0 leaves it motionless, consistent with the slider "0 disables" rule).
						$attr['data-marquee-direction'] = $this->parent_args['marquee_direction'];
						$attr['data-speed']             = (int) $this->parent_args['speed'];
					} else {
						// Carousel: how many items advance per step.
						$scroll_items                    = max( 1, (int) $this->parent_args['scroll_items'] );
						$attr['data-scrollitems']        = $scroll_items;
						$attr['data-scrollitems-medium'] = $scroll_items;
						$attr['data-scrollitems-small']  = $scroll_items;
					}
				} else {
					// Fade slider: single item, cross-fade (legacy behavior).
					$attr['data-slide-effect'] = 'fade';
					$attr['data-itemmargin']   = '0';
				}

				return $attr;
			}

			/**
			 * Get the CSS variables for the grid layout container.
			 *
			 * @access protected
			 * @since 3.16
			 * @return string
			 */
			protected function get_grid_style_variables() {
				$cols = $this->parent_args['columns_resolved'];

				// Desktop always output; medium / small only when they differ from the base (1).
				$styles = '--awb-columns:' . $cols['desktop'] . ';';

				if ( 1 !== $cols['medium'] ) {
					$styles .= '--awb-columns-medium:' . $cols['medium'] . ';';
				}

				if ( 1 !== $cols['small'] ) {
					$styles .= '--awb-columns-small:' . $cols['small'] . ';';
				}

				if ( '' !== $this->parent_args['column_spacing'] ) {
					$styles .= '--awb-column-spacing:' . fusion_library()->sanitize->get_value_with_unit( $this->parent_args['column_spacing'] ) . ';';
				}

				if ( '' !== $this->parent_args['column_spacing_medium'] ) {
					$styles .= '--awb-column-spacing-medium:' . fusion_library()->sanitize->get_value_with_unit( $this->parent_args['column_spacing_medium'] ) . ';';
				}

				if ( '' !== $this->parent_args['column_spacing_small'] ) {
					$styles .= '--awb-column-spacing-small:' . fusion_library()->sanitize->get_value_with_unit( $this->parent_args['column_spacing_small'] ) . ';';
				}

				return $styles;
			}

			/**
			 * Resolve the responsive column counts.
			 *
			 * Desktop 0 fits every item into a single row (up to 6). For medium / small,
			 * -1 inherits the larger breakpoint and 0 breaks down gracefully.
			 *
			 * @access private
			 * @since 3.16
			 * @param int $child_count Number of testimonials.
			 * @return array { desktop, medium, small }
			 */
			private function resolve_columns( $child_count ) {
				$desktop = (int) $this->parent_args['columns'];
				$medium  = (int) $this->parent_args['columns_medium'];
				$small   = (int) $this->parent_args['columns_small'];

				if ( 1 > $desktop ) {
					$desktop = 0 < $child_count ? min( $child_count, 6 ) : 1;
				} else {
					$desktop = min( $desktop, 6 );
				}

				if ( -1 === $medium ) {
					$medium = $desktop;
				} elseif ( 0 === $medium ) {
					$medium = 6 <= $desktop ? 3 : 2;
				} else {
					$medium = min( $medium, 6 );
				}

				if ( -1 === $small ) {
					$small = $medium;
				} elseif ( 0 === $small ) {
					$small = 6 <= $desktop ? 2 : 1;
				} else {
					$small = min( $small, 6 );
				}

				return [
					'desktop' => $desktop,
					'medium'  => $medium,
					'small'   => $small,
				];
			}

			/**
			 * Get the navigation (arrows / dots) style variables for the carousel element.
			 *
			 * @access protected
			 * @since 3.16
			 * @return string
			 */
			protected function get_nav_style_variables() {
				$this->args = $this->parent_args;

				$css_vars_options = [
					'arrow_box_width'                  => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'arrow_box_height'                 => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'arrow_size'                       => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'arrow_position_horizontal'        => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'arrow_position_vertical'          => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'arrow_bgcolor'                    => [ 'callback' => [ 'Fusion_Sanitize', 'color' ] ],
					'arrow_color'                      => [ 'callback' => [ 'Fusion_Sanitize', 'color' ] ],
					'arrow_hover_bgcolor'              => [ 'callback' => [ 'Fusion_Sanitize', 'color' ] ],
					'arrow_hover_color'                => [ 'callback' => [ 'Fusion_Sanitize', 'color' ] ],
					'arrow_border_radius_top_left'     => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'arrow_border_radius_top_right'    => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'arrow_border_radius_bottom_right' => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'arrow_border_radius_bottom_left'  => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'dots_spacing'                     => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'dots_margin_top'                  => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'dots_margin_bottom'               => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'dots_active_size'                 => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
					'dots_active_color'                => [ 'callback' => [ 'Fusion_Sanitize', 'color' ] ],
					'dots_align',
				];

				$styles = $this->get_css_vars_for_options( $css_vars_options );

				// Cancel the default vertical centering transform when a custom vertical position is set.
				$custom_vars = [];
				if ( ! $this->is_default( 'arrow_position_vertical' ) ) {
					$custom_vars['arrow_position_vertical_transform'] = 'none';
				}

				return $styles . $this->get_custom_css_vars( $custom_vars );
			}

			/**
			 * Builds the slides wrapper attributes array.
			 *
			 * @access public
			 * @since 3.16
			 * @return array
			 */
			public function slides_attr() {
				return [
					'class' => 'swiper-wrapper',
				];
			}

			/**
			 * Render the child shortcode.
			 *
			 * @access public
			 * @since 1.0
			 * @param  array  $args   Shortcode parameters.
			 * @param  string $content Content between shortcode.
			 * @return string         HTML output.
			 */
			public function render_child( $args, $content = '' ) {
				$this->maybe_set_orphan_parent_args();

				$defaults = FusionBuilder::set_shortcode_defaults( self::get_element_defaults( 'child' ), $args, 'fusion_testimonial' );
				$content  = apply_filters( 'fusion_shortcode_content', $content, 'fusion_testimonial', $args );

				$defaults['image_border_radius'] = FusionBuilder::validate_shortcode_attr_value( $defaults['image_border_radius'], 'px' );

				if ( 'round' === $defaults['image_border_radius'] ) {
					$defaults['image_border_radius'] = '50%';
				}

				extract( $defaults );

				$this->child_args = $defaults;

				// Check for deprecated.
				if ( $gender ) {
					$this->child_args['avatar'] = $gender;
				}

				if ( 'clean' === $this->parent_args['design'] ) {
					$html = $this->render_child_clean( $content );
				} else {
					$html = $this->render_child_classic( $content );
				}

				$this->testimonials_child_counter++;

				return apply_filters( 'fusion_element_testimonials_child_content', $html, $args );
			}

			/**
			 * Get the avatar / thumbnail HTML.
			 *
			 * @access private
			 * @since 3.16
			 * @param string $tag The wrapping tag (span for classic, div for clean).
			 * @return string
			 */
			private function get_avatar_html( $tag = 'span' ) {
				$pic    = '';
				$avatar = $this->child_args['avatar'];

				if ( 'image' === $avatar && $this->child_args['image'] ) {
					$image_data = fusion_library()->images->get_attachment_data_by_helper( $this->child_args['image_id'], $this->child_args['image'] );

					$this->child_args['image_width']  = $image_data['width'];
					$this->child_args['image_height'] = $image_data['height'];
					$this->child_args['image_alt']    = $image_data['alt'];

					if ( ! $this->child_args['image_id'] ) {
						$this->child_args['image_id'] = $image_data['id'];
					}

					$pic = sprintf( '<img %s />', FusionBuilder::attributes( 'testimonials-shortcode-image' ) );
				}

				if ( 'image' === $avatar && ! $this->child_args['image'] ) {
					$avatar = $this->child_args['avatar'] = 'none';
				}

				if ( 'none' === $avatar ) {
					return '';
				}

				if ( 'initials' === $avatar ) {
					$initials = $this->get_initials();
					if ( '' === $initials ) {
						return '';
					}
					$pic = sprintf( '<span class="testimonial-initials-text">%s</span>', esc_html( $initials ) );
				}

				// Icon avatar: same chip as the initials one, with a glyph instead of the letters.
				if ( 'icon' === $avatar ) {
					if ( '' === $this->child_args['avatar_icon'] ) {
						return '';
					}
					$pic = sprintf( '<i %s></i>', FusionBuilder::attributes( 'testimonials-shortcode-avatar-icon' ) );
				}

				return sprintf( '<%1$s %2$s>%3$s</%1$s>', $tag, FusionBuilder::attributes( 'testimonials-shortcode-thumbnail' ), $pic );
			}

			/**
			 * Get the initials from the person's name.
			 *
			 * @access private
			 * @since 3.16
			 * @return string
			 */
			private function get_initials() {
				$name = trim( wp_strip_all_tags( (string) $this->child_args['name'] ) );

				if ( '' === $name ) {
					return '';
				}

				$parts  = preg_split( '/\s+/', $name );
				$first  = function_exists( 'mb_substr' ) ? mb_substr( $parts[0], 0, 1 ) : substr( $parts[0], 0, 1 );
				$second = '';
				if ( 1 < count( $parts ) ) {
					$last   = end( $parts );
					$second = function_exists( 'mb_substr' ) ? mb_substr( $last, 0, 1 ) : substr( $last, 0, 1 );
				}

				$initials = $first . $second;

				return function_exists( 'mb_strtoupper' ) ? mb_strtoupper( $initials ) : strtoupper( $initials );
			}

			/**
			 * Get the author block HTML (name, title, company) honoring the author layout.
			 *
			 * @access private
			 * @since 3.16
			 * @param string $thumbnail Thumbnail HTML to render inside the author block (classic layout).
			 * @return string
			 */
			private function get_author_html( $thumbnail = '', $extra = '' ) {
				$name    = $this->child_args['name'];
				$title   = $this->child_args['title_role'];
				$company = '';

				if ( $this->child_args['company'] ) {
					if ( ! empty( $this->child_args['link'] ) ) {
						$combined_attribs = 'target="' . esc_attr( $this->child_args['target'] ) . '"';
						if ( '_blank' === $this->child_args['target'] ) {
							$combined_attribs .= ' rel="noopener noreferrer"';
						}
						$company = sprintf( '<a href="%s" %s><span class="testimonial-company">%s</span></a>', esc_url( $this->child_args['link'] ), $combined_attribs, $this->child_args['company'] );
					} else {
						$company = sprintf( '<span class="testimonial-company">%s</span>', $this->child_args['company'] );
					}
				}

				$name_html  = $name ? sprintf( '<strong class="testimonial-name">%s</strong>', $name ) : '';
				$title_html = $title ? sprintf( '<span class="testimonial-title">%s</span>', $title ) : '';

				// Collect the "extras" (title + company), wrapped so their styling covers the separators.
				$extras       = array_filter( [ $title_html, $company ] );
				$extras       = implode( '<span class="awb-testimonial-sep">, </span>', $extras );
				$extras_html  = '' !== $extras ? sprintf( '<span class="testimonial-extras">%s</span>', $extras ) : '';

				if ( 'stacked' === $this->parent_args['author_layout'] ) {
					$company_name = $name_html . $extras_html;
				} else {
					// Inline: name, then extras, separated by a comma.
					$parts        = array_filter( [ $name_html, $extras_html ] );
					$company_name = implode( '<span class="awb-testimonial-sep">, </span>', $parts );
				}

				return sprintf(
					'<div %s>%s<span %s>%s</span>%s</div>',
					FusionBuilder::attributes( 'testimonials-shortcode-author' ),
					$thumbnail,
					FusionBuilder::attributes( 'company-name' ),
					$company_name,
					$extra
				);
			}

			/**
			 * Get the star rating HTML for the current child, plus its schema.
			 *
			 * @access private
			 * @since 3.16
			 * @return string
			 */
			private function get_rating_html() {
				$rating = $this->child_args['rating'];

				if ( '' === $rating || null === $rating ) {
					return '';
				}

				$rating = str_replace( [ ',', ' ' ], [ '.', '' ], (string) $rating );

				if ( ! is_numeric( $rating ) ) {
					return '';
				}

				$rating = (float) $rating;
				$max    = (int) $this->parent_args['rating_max'];
				$max    = $max < 1 ? 5 : $max;

				if ( $rating > $max ) {
					$rating = $max;
				}

				if ( 0 >= $rating ) {
					return '';
				}

				$icon_class = esc_attr( fusion_font_awesome_name_handler( $this->parent_args['rating_icon'] ) );
				$is_whole   = ( (float) intval( $rating ) === $rating );
				$icons      = '';

				for ( $i = 1; $i <= $max; $i++ ) {
					if ( $i <= $rating ) {
						$icons .= '<i class="' . $icon_class . ' awb-stars-rating-filled-icon"></i>';
					} elseif ( ! $is_whole && ( intval( $rating ) + 1 ) === $i ) {
						$decimals = $rating - intval( $rating );
						$width    = intval( $decimals * 100 ) . '%';
						$icons   .= '<i class="' . $icon_class . ' awb-stars-rating-partial-icon-wrapper"><i class="' . $icon_class . ' awb-stars-rating-partial-icon" style="width:' . $width . ';"></i></i>';
					} else {
						$icons .= '<i class="' . $icon_class . ' awb-stars-rating-empty-icon"></i>';
					}
				}

				// Rating schema, mirroring the Star Rating element.
				if ( class_exists( 'Fusion_JSON_LD' ) ) {
					new Fusion_JSON_LD(
						'fusion-testimonials-' . $this->testimonials_counter . '-' . $this->testimonials_child_counter,
						[
							'@context'    => 'https://schema.org',
							'@type'       => 'Rating',
							'ratingValue' => (string) round( $rating, 2 ),
							'bestRating'  => (string) $max,
						]
					);
				}

				/* translators: %1$s: The rating, %2$s: The maximum rating. */
				$aria_label = sprintf( esc_attr__( 'Rating: %1$s out of %2$s', 'fusion-builder' ), round( $rating, 2 ), $max );

				// Optional reason text shown alongside the stars (below them for the clean design).
				$rating_text = '';
				if ( '' !== $this->child_args['rating_text'] ) {
					$rating_text = '<span class="awb-testimonial-rating-text">' . $this->child_args['rating_text'] . '</span>';
				}

				return '<div class="awb-testimonial-rating"><div class="awb-stars-rating awb-stars-rating-no-text" role="img" aria-label="' . $aria_label . '"><div class="awb-stars-rating-icons-wrapper">' . $icons . '</div></div>' . $rating_text . '</div>';
			}

			/**
			 * Render classic design.
			 *
			 * @access private
			 * @since 1.0
			 * @param string $content The content.
			 * @return string
			 */
			private function render_child_classic( $content ) {

				$thumbnail = $this->get_avatar_html( 'span' );

				$icon = '' !== $this->child_args['testimonial_icon'] ? '<i ' . FusionBuilder::attributes( 'testimonials-shortcode-icon' ) . '></i>' : '';

				// The card design has no speech bubble, so it never gets the triangle.
				$triangle = ( 'show' === $this->parent_args['testimonial_speech_bubble'] && 'card' !== $this->parent_args['design'] ) ? '<span class="awb-triangle"></span>' : '';

				// Rating sits in the quote by default; the card above/below-author positions move it to the author block.
				$rating           = $this->get_rating_html();
				$rating_in_author = ( 'card' === $this->parent_args['design'] && in_array( $this->parent_args['rating_position'], [ 'above_author', 'below_author' ], true ) );
				$quote_rating     = $rating_in_author ? '' : $rating;
				$inner_content    = $this->get_author_html( $thumbnail, $rating_in_author ? $rating : '' );

				$html = sprintf(
					'<div %s><blockquote><div %s>%s%s<div %s>%s</div></div>%s</blockquote>%s</div>',
					FusionBuilder::attributes( 'testimonials-shortcode-review' ),
					FusionBuilder::attributes( 'testimonials-shortcode-quote' ),
					$quote_rating,
					$icon,
					FusionBuilder::attributes( 'testimonials-shortcode-quote-content' ),
					do_shortcode( $content ),
					$triangle,
					$inner_content
				);

				return $html;
			}

			/**
			 * Render clean design.
			 *
			 * @access private
			 * @since 1.0
			 * @param string $content The content.
			 * @return string
			 */
			private function render_child_clean( $content ) {

				$thumbnail = $this->get_avatar_html( 'div' );
				$author    = $this->get_author_html();
				$rating    = $this->get_rating_html();

				$icon = '' !== $this->child_args['testimonial_icon'] ? '<i ' . FusionBuilder::attributes( 'testimonials-shortcode-icon' ) . '></i>' : '';

				if ( 'below' === $this->child_args['avatar_position'] ) {
					$testimonial_html = '<div %1$s>%9$s<blockquote %3$s><div %4$s>%8$s<div %5$s>%6$s</div></div></blockquote>%2$s%7$s</div>';
				} else {
					$testimonial_html = '<div %1$s>%2$s%9$s<blockquote %3$s><div %4$s>%8$s<div %5$s>%6$s</div></div></blockquote>%7$s</div>';
				}

				$html = sprintf(
					$testimonial_html,
					FusionBuilder::attributes( 'testimonials-shortcode-review' ),
					$thumbnail,
					FusionBuilder::attributes( 'testimonials-shortcode-blockquote' ),
					FusionBuilder::attributes( 'testimonials-shortcode-quote' ),
					FusionBuilder::attributes( 'testimonials-shortcode-quote-content' ),
					do_shortcode( $content ),
					$author,
					$icon,
					$rating
				);

				return $html;
			}

			/**
			 * Get the child style variables.
			 *
			 * @access protected
			 * @since 3.9
			 * @return string
			 */
			protected function get_style_variables_child() {
				$this->args = $this->child_args;

				$css_vars_options = [
					'avatar_size' => [ 'callback' => [ 'Fusion_Sanitize', 'get_value_with_unit' ] ],
				];

				$styles = $this->get_css_vars_for_options( $css_vars_options );

				return $styles;
			}

			/**
			 * Builds the blockquote attributes array.
			 *
			 * @access public
			 * @since 1.0
			 * @return array
			 */
			public function blockquote_attr() {
				$attr = [];

				if ( Fusion_Color::new_color( $this->parent_args['backgroundcolor'] )->is_color_transparent() && 'none' !== $this->child_args['avatar'] ) {
					$attr['class'] = 'has-transparent-color';
				}

				return $attr;
			}

			/**
			 * Builds the quotes attributes array.
			 *
			 * @access public
			 * @since 1.0
			 * @return array
			 */
			public function quote_attr() {
				$attr = [
					'class' => 'awb-quote',
				];

				if ( '' !== $this->child_args['testimonial_icon'] ) {
					$attr['class'] .= ' awb-testimonial-icon';
				}

				return $attr;
			}

			/**
			 * Builds the quotes content attributes array.
			 *
			 * @access public
			 * @since 1.0
			 * @return array
			 */
			public function quote_content_attr() {
				$attr = [
					'class' => 'awb-quote-content',
				];

				return $attr;
			}

			/**
			 * Builds the quotes attributes array.
			 *
			 * @access public
			 * @since 1.0
			 * @return array
			 */
			public function icon_attr() {
				$attr = [
					'class' => 'awb-t-icon-' . $this->child_args['testimonial_icon_alignment'] . ' ' . $this->child_args['testimonial_icon'],
				];

				return $attr;
			}

			/**
			 * Builds the review attributes array.
			 *
			 * @access public
			 * @since 1.0
			 * @return array
			 */
			public function review_attr() {

				// In the grid layout the items are grid cells, not Swiper slides.
				$is_static  = 'grid' === $this->parent_args['layout'] || ! empty( $this->parent_args['single_static'] );
				$base_class = $is_static ? 'review' : 'swiper-slide review';

				$attr = [
					'class' => $base_class,
					'style' => '',
				];

				if ( 'classic' === $this->parent_args['design'] ) {
					if ( $this->child_args['alignment_classic'] ) {
						$attr['class'] .= ' alignment-' . $this->child_args['alignment_classic'];
					}
				} elseif ( 'clean' === $this->parent_args['design'] ) {
					$attr['class'] .= ' avatar-' . $this->child_args['avatar_position'];
				}
				// Card design: content alignment is handled on the parent element.

				if ( 'none' === $this->child_args['avatar'] ) {
					$attr['class'] .= ' no-avatar';
				} elseif ( 'image' === $this->child_args['avatar'] ) {
					$attr['class'] .= ' avatar-image';
				} else {
					$attr['class'] .= ' ' . $this->child_args['avatar'];
				}

				$attr['style'] .= $this->get_style_variables_child();

				return $attr;
			}

			/**
			 * Builds the thumbnail attributes array.
			 *
			 * @access public
			 * @since 1.0
			 * @return array
			 */
			public function thumbnail_attr() {

				$attr = [
					'class' => 'testimonial-thumbnail',
				];

				if ( 'initials' === $this->child_args['avatar'] ) {
					$attr['class'] .= ' testimonial-initials';
				} elseif ( 'icon' === $this->child_args['avatar'] ) {
					$attr['class'] .= ' testimonial-avatar-icon';
				} elseif ( 'image' !== $this->child_args['avatar'] ) {
					$attr['class'] .= ' doe';
				}

				return $attr;
			}

			/**
			 * Builds the avatar icon attributes array.
			 *
			 * @access public
			 * @since 3.16
			 * @return array
			 */
			public function avatar_icon_attr() {
				return [
					'class'       => 'testimonial-avatar-icon-glyph ' . fusion_font_awesome_name_handler( $this->child_args['avatar_icon'] ),
					'aria-hidden' => 'true',
				];
			}

			/**
			 * Builds the image attributes array.
			 *
			 * @access public
			 * @since 1.0
			 * @return array
			 */
			public function image_attr() {
				$attr = [
					'class'  => 'testimonial-image',
					'src'    => esc_url( $this->child_args['image'] ),
					'width'  => esc_attr( $this->child_args['image_width'] ),
					'height' => esc_attr( $this->child_args['image_height'] ),
					'alt'    => esc_attr( $this->child_args['image_alt'] ),
					'style'  => '',
				];

				if ( $this->child_args['image_border_radius'] ) {
					$custom_vars['border-radius'] = $this->child_args['image_border_radius'];

					$attr['style'] .= $this->get_custom_css_vars( $custom_vars );
				}

				$attr = fusion_library()->images->lazy_load_attributes( $attr, $this->child_args['image_id'] );

				return $attr;
			}

			/**
			 * Builds the author attributes array.
			 *
			 * @access public
			 * @since 1.0
			 * @return array
			 */
			public function author_attr() {
				return [
					'class' => 'author',
				];
			}

			/**
			 * Builds the pagination attributes array.
			 *
			 * @access public
			 * @since 1.0
			 * @return array
			 */
			public function pagination_attr() {
				return [
					'class' => 'swiper-pagination testimonial-pagination',
					'id'    => 'fusion-testimonials-' . $this->testimonials_counter,
				];
			}

			/**
			 * Adds settings to element options panel.
			 *
			 * @access public
			 * @since 1.1
			 * @return array $sections Testimonials settings.
			 */
			public function add_options() {
				$fusion_settings = awb_get_fusion_settings();

				return [
					'testimonials_shortcode_section' => [
						'label'       => esc_html__( 'Testimonials', 'fusion-builder' ),
						'description' => '',
						'id'          => 'testimonials_shortcode_section',
						'type'        => 'accordion',
						'icon'        => 'fusiona-bubbles',
						'fields'      => [
							'testimonial_bg_color'      => [
								'label'       => esc_html__( 'Testimonial Background Color', 'fusion-builder' ),
								'description' => esc_html__( 'Controls the color of the testimonial background.', 'fusion-builder' ),
								'id'          => 'testimonial_bg_color',
								'default'     => 'var(--awb-color2)',
								'type'        => 'color-alpha',
								'css_vars'    => [
									[
										'name'     => '--testimonial_bg_color',
										'callback' => [ 'sanitize_color' ],
									],
								],
							],
							'testimonial_border_width'  => [
								'label'       => esc_html__( 'Testimonial Border Size', 'fusion-builder' ),
								'description' => esc_html__( 'Set the border size of the testimonial.', 'fusion-builder' ),
								'id'          => 'testimonial_border_width',
								'choices'     => [
									'top'    => true,
									'right'  => true,
									'bottom' => true,
									'left'   => true,
								],
								'default'     => [
									'top'    => '0px',
									'bottom' => '0px',
									'left'   => '0px',
									'right'  => '0px',
								],
								'type'        => 'spacing',
								'css_vars'    => [
									[
										'name'   => '--testimonial-border-width-top',
										'choice' => 'top',
										'po'     => false,
									],
									[
										'name'   => '--testimonial-border-width-right',
										'choice' => 'right',
										'po'     => false,
									],
									[
										'name'   => '--testimonial-border-width-bottom',
										'choice' => 'bottom',
										'po'     => false,
									],
									[
										'name'   => '--testimonial-border-width-left',
										'choice' => 'left',
										'po'     => false,
									],
								],
							],
							'testimonial_border_style'  => [
								'type'        => 'radio-buttonset',
								'label'       => esc_html__( 'Testimonial Border Style', 'fusion-builder' ),
								'description' => esc_html__( 'Controls the border style of the testimonial.', 'fusion-builder' ),
								'id'          => 'testimonial_border_style',
								'default'     => 'solid',
								'transport'   => 'postMessage',
								'choices'     => [
									'solid'  => esc_html__( 'Solid', 'fusion-builder' ),
									'dashed' => esc_html__( 'Dashed', 'fusion-builder' ),
									'dotted' => esc_html__( 'Dotted', 'fusion-builder' ),
								],
								'css_vars'    => [
									[
										'name'    => '--awb-testimonial-border-style-default',
										'element' => 'body',
									],
								],
							],
							'testimonial_border_color'  => [
								'type'        => 'color-alpha',
								'label'       => esc_html__( 'Testimonial Border Color', 'fusion-builder' ),
								'description' => esc_html__( 'Controls the border color of the testimonial.', 'fusion-builder' ),
								'id'          => 'testimonial_border_color',
								'default'     => 'var(--awb-color3)',
								'css_vars'    => [
									[
										'name'     => '--awb-testimonial-border-color-default',
										'element'  => 'body',
										'callback' => [ 'sanitize_color' ],
									],
								],
							],
							'testimonial_border_radius' => [
								'label'       => esc_html__( 'Testimonial Border Radius', 'fusion-builder' ),
								'description' => esc_html__( 'Set the border radius of the testimonial.', 'fusion-builder' ),
								'id'          => 'testimonial_border_radius',
								'choices'     => [
									'top_left'     => true,
									'top_right'    => true,
									'bottom_right' => true,
									'bottom_left'  => true,
									'units'        => [ 'px', '%', 'em' ],
								],
								'default'     => [
									'top_left'     => '0px',
									'top_right'    => '0px',
									'bottom_right' => '0px',
									'bottom_left'  => '0px',
								],
								'type'        => 'border_radius',
								'css_vars'    => [
									[
										'name'    => '--awb-testimonial-border-top-left-radius-default',
										'choice'  => 'top_left',
										'element' => 'body',
									],
									[
										'name'    => '--awb-testimonial-border-top-right-radius-default',
										'choice'  => 'top_right',
										'element' => 'body',
									],
									[
										'name'    => '--awb-testimonial-border-bottom-right-radius-default',
										'choice'  => 'bottom_right',
										'element' => 'body',
									],
									[
										'name'    => '--awb-testimonial-border-bottom-left-radius-default',
										'choice'  => 'bottom_left',
										'element' => 'body',
									],
								],

								// Could update variable here, but does not look necessary as set inline.
								'transport'   => 'postMessage',
							],
							'testimonial_text_color'    => [
								'label'       => esc_html__( 'Testimonial Text Color', 'fusion-builder' ),
								'description' => esc_html__( 'Controls the color of the testimonial text.', 'fusion-builder' ),
								'id'          => 'testimonial_text_color',
								'default'     => 'var(--awb-color8)',
								'type'        => 'color-alpha',
								'css_vars'    => [
									[
										'name'     => '--testimonial_text_color',
										'callback' => [ 'sanitize_color' ],
									],
								],
							],
							'testimonials_speed'        => [
								'label'       => esc_html__( 'Testimonials Speed', 'fusion-builder' ),
								'description' => __( 'Controls the speed of the testimonial slider. ex: 1000 = 1 second. <strong>IMPORTANT:</strong> Setting speed to 0 will disable autoplay for testimonials slider.', 'fusion-builder' ),
								'id'          => 'testimonials_speed',
								'default'     => '4000',
								'type'        => 'slider',
								'choices'     => [
									'min'  => '0',
									'max'  => '20000',
									'step' => '250',
								],
							],
							'testimonials_random'       => [
								'label'       => esc_html__( 'Random Order', 'fusion-builder' ),
								'description' => esc_html__( 'Turn on to display testimonials in a random order.', 'fusion-builder' ),
								'id'          => 'testimonials_random',
								'default'     => '0',
								'type'        => 'switch',
							],
						],
					],
				];
			}

			/**
			 * Sets the necessary scripts.
			 *
			 * @access public
			 * @since 3.2
			 * @return void
			 */
			public function on_first_render() {
				Fusion_Dynamic_JS::enqueue_script( 'awb-carousel' );
			}

			/**
			 * Load base CSS.
			 *
			 * @access public
			 * @since 3.0
			 * @return void
			 */
			public function add_css_files() {
				FusionBuilder()->add_element_css( FUSION_BUILDER_PLUGIN_DIR . 'assets/css/shortcodes/star-rating.min.css' );
				FusionBuilder()->add_element_css( FUSION_BUILDER_PLUGIN_DIR . 'assets/css/shortcodes/testimonials.min.css' );

				// Responsive grid columns at the site's configured breakpoints.
				Fusion_Media_Query_Scripts::$media_query_assets[] = [
					'awb-testimonials-md',
					FUSION_BUILDER_PLUGIN_DIR . 'assets/css/media/testimonials-md.min.css',
					[],
					FUSION_BUILDER_VERSION,
					Fusion_Media_Query_Scripts::get_media_query_from_key( 'fusion-max-medium' ),
				];

				Fusion_Media_Query_Scripts::$media_query_assets[] = [
					'awb-testimonials-sm',
					FUSION_BUILDER_PLUGIN_DIR . 'assets/css/media/testimonials-sm.min.css',
					[],
					FUSION_BUILDER_VERSION,
					Fusion_Media_Query_Scripts::get_media_query_from_key( 'fusion-max-small' ),
				];
			}
		}
	}

	new FusionSC_Testimonials();

}

/**
 * Map shortcode to Avada Builder.
 *
 * @since 1.0
 */
function fusion_element_testimonials() {
	$fusion_settings = awb_get_fusion_settings();

	fusion_builder_map(
		fusion_builder_frontend_data(
			'FusionSC_Testimonials',
			[
				'name'          => esc_attr__( 'Testimonials', 'fusion-builder' ),
				'shortcode'     => 'fusion_testimonials',
				'multi'         => 'multi_element_parent',
				'element_child' => 'fusion_testimonial',
				'icon'          => 'fusiona-bubbles',
				'preview'       => FUSION_BUILDER_PLUGIN_DIR . 'inc/templates/previews/fusion-testimonials-preview.php',
				'preview_id'    => 'fusion-builder-block-module-testimonials-preview-template',
				'child_ui'      => true,
				'sortable'      => false,
				'help_url'      => 'https://classic.avada.com/documentation/testimonials-element/',
				'params'        => [
					[
						'type'        => 'tinymce',
						'heading'     => esc_attr__( 'Content', 'fusion-builder' ),
						'description' => esc_html__( 'Enter some content for this testimonial element.', 'fusion-builder' ),
						'param_name'  => 'element_content',
						'value'       => '[fusion_testimonial name="' . esc_attr__( 'Your Content Goes Here', 'fusion-builder' ) . '" avatar="initials" image="" image_border_radius="" company="' . esc_attr__( 'Your Content Goes Here', 'fusion-builder' ) . '" link="" target="_self"]' . esc_attr__( 'Your Content Goes Here', 'fusion-builder' ) . '[/fusion_testimonial]',
					],
					[
						'type'        => 'radio_button_set',
						'heading'     => esc_html__( 'Design', 'fusion-builder' ),
						'description' => esc_html__( 'Choose a design for the element.', 'fusion-builder' ),
						'param_name'  => 'design',
						'value'       => [
							'classic' => esc_html__( 'Classic', 'fusion-builder' ),
							'clean'   => esc_html__( 'Clean', 'fusion-builder' ),
							'card'    => esc_html__( 'Card', 'fusion-builder' ),
						],
						'default'     => 'classic',
					],
					[
						'type'        => 'radio_button_set',
						'heading'     => esc_html__( 'Layout', 'fusion-builder' ),
						'description' => __( 'Choose how the testimonials are arranged. <strong>Fade Slider:</strong> one testimonial at a time with a cross-fade. <strong>Carousel:</strong> multiple sliding testimonials. <strong>Marquee:</strong> a continuously scrolling ticker of testimonials. <strong>Grid:</strong> a static grid ("wall of love"), no slider.', 'fusion-builder' ),
						'param_name'  => 'layout',
						'value'       => [
							'fade'     => esc_html__( 'Fade Slider', 'fusion-builder' ),
							'carousel' => esc_html__( 'Carousel', 'fusion-builder' ),
							'marquee'  => esc_html__( 'Marquee', 'fusion-builder' ),
							'grid'     => esc_html__( 'Grid', 'fusion-builder' ),
						],
						'default'     => 'fade',
					],
					[
						'type'        => 'radio_button_set',
						'heading'     => esc_html__( 'Marquee Direction', 'fusion-builder' ),
						'description' => esc_html__( 'Select the direction the marquee scrolls.', 'fusion-builder' ),
						'param_name'  => 'marquee_direction',
						'default'     => 'left',
						'value'       => [
							'left'  => esc_html__( 'Left', 'fusion-builder' ),
							'right' => esc_html__( 'Right', 'fusion-builder' ),
						],
						'dependency'  => [
							[
								'element'  => 'layout',
								'value'    => 'marquee',
								'operator' => '==',
							],
						],
					],
					[
						'type'        => 'range',
						'heading'     => esc_html__( 'Columns', 'fusion-builder' ),
						'description' => esc_html__( 'Set the number of columns to display. Leave at 0 to fit all testimonials into a single row, up to a maximum of 6.', 'fusion-builder' ),
						'param_name'  => 'columns',
						'value'       => '3',
						'min'         => '-1',
						'max'         => '6',
						'step'        => '1',
						'responsive'  => [
							'state'        => 'large',
							'values'       => [
								'medium' => '-1',
								'small'  => '1',
							],
							'descriptions' => [
								'medium' => esc_html__( 'Set the number of columns per row on medium screens. Leave at 0 for automatic column breaking. Set to -1 to inherit from the larger screen size.', 'fusion-builder' ),
								'small'  => esc_html__( 'Set the number of columns per row on small screens. Leave at 0 for automatic column breaking. Set to -1 to inherit from the larger screen size.', 'fusion-builder' ),
							],
						],
						'dependency'  => [
							[
								'element'  => 'layout',
								'value'    => 'fade',
								'operator' => '!=',
							],
						],
					],
					[
						'type'        => 'textfield',
						'heading'     => esc_html__( 'Column Gap', 'fusion-builder' ),
						'description' => esc_html__( 'Controls the spacing between the columns / items. Enter a value including any valid CSS unit, ex: 30px. Leave empty for the default.', 'fusion-builder' ),
						'param_name'  => 'column_spacing',
						'value'       => '',
						'responsive'  => [
							'state'        => 'large',
							'descriptions' => [
								'medium' => esc_html__( 'Controls the spacing between the columns / items on medium screens. Leave empty to inherit the value from the larger screen size.', 'fusion-builder' ),
								'small'  => esc_html__( 'Controls the spacing between the columns / items on small screens. Leave empty to inherit the value from the larger screen size.', 'fusion-builder' ),
							],
						],
						'dependency'  => [
							[
								'element'  => 'layout',
								'value'    => 'fade',
								'operator' => '!=',
							],
						],
					],
					[
						'type'        => 'radio_button_set',
						'heading'     => esc_html__( 'Column Vertical Alignment', 'fusion-builder' ),
						'description' => esc_html__( 'Controls how the columns / items align vertically within their row.', 'fusion-builder' ),
						'param_name'  => 'flex_align_items',
						'default'     => 'stretch',
						'back_icons'  => true,
						'grid_layout' => true,
						'value'       => [
							'flex-start' => esc_attr__( 'Flex Start', 'fusion-builder' ),
							'center'     => esc_attr__( 'Center', 'fusion-builder' ),
							'flex-end'   => esc_attr__( 'Flex End', 'fusion-builder' ),
							'stretch'    => esc_attr__( 'Stretch', 'fusion-builder' ),
						],
						'icons'       => [
							'flex-start' => '<span class="fusiona-align-top-columns"></span>',
							'center'     => '<span class="fusiona-align-center-columns"></span>',
							'flex-end'   => '<span class="fusiona-align-bottom-columns"></span>',
							'stretch'    => '<span class="fusiona-full-height"></span>',
						],						
						'dependency'  => [
							[
								'element'  => 'layout',
								'value'    => 'fade',
								'operator' => '!=',
							],
						],
					],
					[
						'type'        => 'range',
						'heading'     => esc_html__( 'Scroll Slides', 'fusion-builder' ),
						'description' => esc_html__( 'Set how many testimonials the carousel advances at a time. The default of 1 keeps every testimonial readable as it comes into view.', 'fusion-builder' ),
						'param_name'  => 'scroll_items',
						'value'       => '1',
						'min'         => '1',
						'max'         => '6',
						'step'        => '1',
						'dependency'  => [
							[
								'element'  => 'layout',
								'value'    => 'carousel',
								'operator' => '==',
							],
						],
					],
					[
						'type'        => 'radio_button_set',
						'heading'     => esc_html__( 'Show Navigation', 'fusion-builder' ),
						'description' => __( 'Choose to show navigation on the testimonials slider. <strong>Note:</strong> You can also set the CSS ID (e.g. my-id) for this Testimonials element and use #my-id-next, #my-id-prev as links on a Button element to navigate through the testimonials.', 'fusion-builder' ),
						'param_name'  => 'navigation',
						'value'       => [
							'no'          => esc_html__( 'None', 'fusion-builder' ),
							'yes'         => esc_html__( 'Dots', 'fusion-builder' ),
							'arrows'      => esc_html__( 'Arrows', 'fusion-builder' ),
							'arrows_dots' => esc_html__( 'Arrows & Dots', 'fusion-builder' ),
						],
						'default'     => 'no',
						'dependency'  => [
							[
								'element'  => 'layout',
								'value'    => 'grid',
								'operator' => '!=',
							],
							[
								'element'  => 'layout',
								'value'    => 'marquee',
								'operator' => '!=',
							],
						],
					],
					[
						'type'        => 'radio_button_set',
						'heading'     => esc_html__( 'Autoplay', 'fusion-builder' ),
						'description' => esc_html__( 'Choose to autoplay the testimonials slider.', 'fusion-builder' ),
						'param_name'  => 'autoplay',
						'value'       => [
							'yes' => esc_html__( 'Yes', 'fusion-builder' ),
							'no'  => esc_html__( 'No', 'fusion-builder' ),
						],
						'default'     => 'yes',
						'dependency'  => [
							[
								'element'  => 'layout',
								'value'    => 'grid',
								'operator' => '!=',
							],
							[
								'element'  => 'layout',
								'value'    => 'marquee',
								'operator' => '!=',
							],
						],
					],
					[
						'type'        => 'range',
						'heading'     => esc_html__( 'Testimonials Speed', 'fusion-builder' ),
						'description' => __( 'Set the speed of the testimonial slider. ex: 1000 = 1 second. <strong>IMPORTANT:</strong> Setting speed to 0 will disable autoplay for testimonials slider.', 'fusion-builder' ),
						'param_name'  => 'speed',
						'default'     => $fusion_settings->get( 'testimonials_speed' ),
						'min'         => '0',
						'max'         => '20000',
						'step'        => '250',
						'or'          => true,
						'dependency'  => [
							[
								'conditions' => [
									[
										'element'  => 'layout',
										'value'    => 'grid',
										'operator' => '!=',
									],
									[
										'element'  => 'autoplay',
										'value'    => 'yes',
										'operator' => '==',
									],
								],
							],
							[
								'conditions' => [
									[
										'element'  => 'layout',
										'value'    => 'marquee',
										'operator' => '==',
									]
								],
							],
						],
					],
					[
						'type'        => 'radio_button_set',
						'heading'     => esc_html__( 'Pause Autoplay On Hover', 'fusion-builder' ),
						'description' => esc_html__( 'Choose to pause the testimonials slider autoplay on hover.', 'fusion-builder' ),
						'param_name'  => 'autoplay_hover_pause',
						'value'       => [
							'yes' => esc_html__( 'Yes', 'fusion-builder' ),
							'no'  => esc_html__( 'No', 'fusion-builder' ),
						],
						'default'     => 'no',
						'or'          => true,
						'dependency'  => [
							[
								'conditions' => [
									[
										'element'  => 'layout',
										'value'    => 'grid',
										'operator' => '!=',
									],
									[
										'element'  => 'autoplay',
										'value'    => 'yes',
										'operator' => '==',
									],
								],
							],
							[
								'conditions' => [
									[
										'element'  => 'layout',
										'value'    => 'marquee',
										'operator' => '==',
									]
								],
							],
						],
					],
					[
						'type'        => 'radio_button_set',
						'heading'     => esc_html__( 'Loop', 'fusion-builder' ),
						'description' => esc_html__( 'Choose to enable continuous loop mode.', 'fusion-builder' ),
						'param_name'  => 'loop',
						'value'       => [
							'yes' => esc_html__( 'Yes', 'fusion-builder' ),
							'no'  => esc_html__( 'No', 'fusion-builder' ),
						],
						'default'     => 'yes',
						'dependency'  => [
							[
								'element'  => 'layout',
								'value'    => 'grid',
								'operator' => '!=',
							],
							[
								'element'  => 'layout',
								'value'    => 'marquee',
								'operator' => '!=',
							],
						],
					],
					[
						'type'        => 'radio_button_set',
						'heading'     => esc_html__( 'Mask Edges', 'fusion-builder' ),
						'description' => esc_html__( 'Choose if the edges should be masked with a fade out effect. Navigation arrows will not be displayed, if masked edges are active.', 'fusion-builder' ),
						'param_name'  => 'mask_edges',
						'value'       => [
							'yes' => esc_html__( 'Yes', 'fusion-builder' ),
							'no'  => esc_html__( 'No', 'fusion-builder' ),
						],
						'default'     => 'no',
						'dependency'  => [
							[
								'element'  => 'layout',
								'value'    => 'grid',
								'operator' => '!=',
							],
							[
								'element'  => 'layout',
								'value'    => 'fade',
								'operator' => '!=',
							],
						],
					],
					[
						'type'        => 'colorpickeralpha',
						'heading'     => esc_html__( 'Testimonial Background Color', 'fusion-builder' ),
						'description' => esc_html__( 'Controls the background color of the testimonial. ', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'backgroundcolor',
						'value'       => '',
						'default'     => $fusion_settings->get( 'testimonial_bg_color' ),
					],
					[
						'type'             => 'dimension',
						'remove_from_atts' => true,
						'heading'          => esc_html__( 'Testimonial Border Size', 'fusion-builder' ),
						'description'      => esc_html__( 'Controls the border size of the testimonial. In pixels.', 'fusion-builder' ),
						'group'            => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'       => 'testimonial_border_width',
						'value'            => [
							'testimonial_border_top'    => '',
							'testimonial_border_right'  => '',
							'testimonial_border_bottom' => '',
							'testimonial_border_left'   => '',
						],
					],
					[
						'type'        => 'radio_button_set',
						'heading'     => esc_html__( 'Testimonial Border Style', 'fusion-builder' ),
						'description' => esc_html__( 'Controls the border style of the testimonial.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'testimonial_border_style',
						'value'       => [
							''       => esc_attr__( 'Default', 'fusion-builder' ),
							'solid'  => esc_attr__( 'Solid', 'fusion-builder' ),
							'dashed' => esc_attr__( 'Dashed', 'fusion-builder' ),
							'dotted' => esc_attr__( 'Dotted', 'fusion-builder' ),
						],
						'default'     => $fusion_settings->get( 'testimonial_border_style' ),
					],
					[
						'type'        => 'colorpickeralpha',
						'heading'     => esc_html__( 'Testimonial Border Color', 'fusion-builder' ),
						'description' => esc_html__( 'Controls the border color of the testimonial. ', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'testimonial_border_color',
						'value'       => '',
						'default'     => $fusion_settings->get( 'testimonial_border_color' ),
					],
					'fusion_border_radius_placeholder' => [
						'heading' => esc_html__( 'Testimonial Border Radius', 'fusion-builder' ),
					],
					'fusion_box_shadow_placeholder'    => [],
					[
						'type'        => 'radio_button_set',
						'heading'     => esc_html__( 'Testimonial Speech Bubble Style', 'fusion-builder' ),
						'description' => esc_html__( 'Enable or disable the testimonial speech bubble triangle.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'testimonial_speech_bubble',
						'default'     => 'show',
						'value'       => [
							'show' => esc_html__( 'Show', 'fusion-builder' ),
							'hide' => esc_html__( 'Hide', 'fusion-builder' ),
						],
						'dependency'  => [
							[
								'element'  => 'design',
								'value'    => 'classic',
								'operator' => '=',
							],
						],						
					],
					[
						'type'        => 'textfield',
						'heading'     => esc_html__( 'Speech Bubble Triangle Size', 'fusion-builder' ),
						'description' => esc_html__( 'Controls the size of the speech bubble triangle. Enter a value including any valid CSS unit, ex: 12px. Leave empty to scale with the testimonial text size.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'triangle_size',
						'value'       => '',
						'dependency'  => [
							[
								'element'  => 'design',
								'value'    => 'classic',
								'operator' => '=',
							],
							[
								'element'  => 'testimonial_speech_bubble',
								'value'    => 'show',
								'operator' => '==',
							],
						],
					],
					[
						'type'             => 'typography',
						'remove_from_atts' => true,
						'global'           => true,
						'heading'          => esc_html__( 'Testimonial Typography', 'fusion-builder' ),
						'description'      => esc_html__( 'Controls the testimonial text typography.', 'fusion-builder' ),
						'group'            => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'       => 'testimonial_typography',
						'choices'          => [
							'font-family'    => 'testimonial_text_font',
							'font-size'      => 'testimonial_text_font_size',
							'line-height'    => 'testimonial_text_line_height',
							'letter-spacing' => 'testimonial_text_letter_spacing',
							'text-transform' => 'testimonial_text_text_transform',
						],
						'default'          => [
							'font-family'    => '',
							'variant'        => '',
							'font-size'      => '',
							'line-height'    => '',
							'letter-spacing' => '',
							'text-transform' => '',
						],
					],
					[
						'type'        => 'colorpickeralpha',
						'heading'     => esc_html__( 'Testimonial Text Color', 'fusion-builder' ),
						'description' => esc_html__( 'Controls the text color.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'textcolor',
						'value'       => '',
						'default'     => $fusion_settings->get( 'testimonial_text_color' ),
					],
					[
						'type'             => 'typography',
						'remove_from_atts' => true,
						'global'           => true,
						'heading'          => esc_html__( 'Name / Base Typography', 'fusion-builder' ),
						'description'      => esc_html__( 'Controls the name typography. Also used as the base for the role / company, unless the separate Role / Company Typography below is set.', 'fusion-builder' ),
						'group'            => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'       => 'name_company_typography',
						'choices'          => [
							'font-family'    => 'name_company_font',
							'font-size'      => 'name_company_font_size',
							'line-height'    => 'name_company_line_height',
							'letter-spacing' => 'name_company_letter_spacing',
							'text-transform' => 'name_company_text_transform',
						],
						'default'          => [
							'font-family'    => '',
							'variant'        => '',
							'font-size'      => '',
							'line-height'    => '',
							'letter-spacing' => '',
							'text-transform' => '',
						],
					],
					[
						'type'        => 'colorpickeralpha',
						'heading'     => esc_html__( 'Name / Base Text Color', 'fusion-builder' ),
						'description' => esc_html__( 'Controls the name text color. Also used as the base for the role / company, unless the separate Role / Company Text Color below is set.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'name_company_text_color',
						'value'       => '',
						'default'     => '',
					],
					[
						'type'             => 'typography',
						'remove_from_atts' => true,
						'global'           => true,
						'heading'          => esc_html__( 'Role / Company Typography', 'fusion-builder' ),
						'description'      => esc_html__( 'Optionally controls the role / company typography separately from the name. Falls back to the Name / Base Typography when left empty.', 'fusion-builder' ),
						'group'            => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'       => 'company_typography',
						'choices'          => [
							'font-family'    => 'company_font',
							'font-size'      => 'company_font_size',
							'line-height'    => 'company_line_height',
							'letter-spacing' => 'company_letter_spacing',
							'text-transform' => 'company_text_transform',
						],
						'default'          => [
							'font-family'    => '',
							'variant'        => '',
							'font-size'      => '',
							'line-height'    => '',
							'letter-spacing' => '',
							'text-transform' => '',
						],
					],
					[
						'type'        => 'colorpickeralpha',
						'heading'     => esc_html__( 'Role / Company Text Color', 'fusion-builder' ),
						'description' => esc_html__( 'Optionally controls the role / company text color separately from the name. Falls back to the Name / Base Text Color when left empty.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'company_text_color',
						'value'       => '',
						'default'     => '',
					],
					[
						'type'             => 'dimension',
						'remove_from_atts' => true,
						'heading'          => esc_html__( 'Box Padding', 'fusion-builder' ),
						'description'      => esc_html__( 'Controls the inner padding of the testimonial box / card. Enter values including any valid CSS unit, ex: 2em. Leave empty for the default (which scales with the text size on the classic / clean designs).', 'fusion-builder' ),
						'group'            => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'       => 'box_padding',
						'value'            => [
							'box_padding_top'    => '',
							'box_padding_right'  => '',
							'box_padding_bottom' => '',
							'box_padding_left'   => '',
						],
					],
					[
						'type'        => 'radio_button_set',
						'heading'     => esc_html__( 'Card Content Alignment', 'fusion-builder' ),
						'description' => esc_html__( 'Controls the alignment of the content inside the card.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'content_alignment',
						'default'     => 'flex-start',
						'value'       => [
							'flex-start' => esc_html__( 'Flex Start', 'fusion-builder' ),
							'center'     => esc_html__( 'Center', 'fusion-builder' ),
							'flex-end'   => esc_html__( 'Flex End', 'fusion-builder' ),
						],
						'icons'       => [
							'flex-start' => '<span class="fusiona-horizontal-flex-start"></span>',
							'center'     => '<span class="fusiona-horizontal-flex-center"></span>',
							'flex-end'   => '<span class="fusiona-horizontal-flex-end"></span>',
						],
						'grid_layout' => true,
						'back_icons'  => true,
						'dependency'  => [
							[
								'element'  => 'design',
								'value'    => 'card',
								'operator' => '==',
							],
						],
					],
					[
						'type'        => 'radio_button_set',
						'heading'     => esc_html__( 'Card Content Vertical Alignment', 'fusion-builder' ),
						'description' => esc_html__( 'Controls how the card content is distributed vertically in equal-height cards.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'content_valign',
						'default'     => 'center',
						'value'       => [
							'flex-start'    => esc_html__( 'Flex Start', 'fusion-builder' ),
							'center'        => esc_html__( 'Center', 'fusion-builder' ),
							'flex-end'      => esc_html__( 'Flex End', 'fusion-builder' ),
							'space-between' => esc_html__( 'Space Between', 'fusion-builder' ),
						],
						'icons'       => [
							'flex-start'    => '<span class="fusiona-align-top-vert"></span>',
							'center'        => '<span class="fusiona-align-center-vert"></span>',
							'flex-end'      => '<span class="fusiona-align-bottom-vert"></span>',
							'space-between' => '<span class="fusiona-space-between"></span>',
						],
						'grid_layout' => true,
						'back_icons'  => true,
						'dependency'  => [
							[
								'element'  => 'design',
								'value'    => 'card',
								'operator' => '==',
							],
						],
					],
					[
						'type'        => 'radio_button_set',
						'heading'     => esc_html__( 'Author Block Position', 'fusion-builder' ),
						'description' => esc_html__( 'Controls where the author block (avatar and author details) sits in relation to the rating / quote. "Above" and "Below" stack it vertically; "Left" and "Right" place it beside the rating / quote in a split layout.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'author_block_position',
						'default'     => 'above',
						'value'       => [
							'above' => esc_html__( 'Above', 'fusion-builder' ),
							'below' => esc_html__( 'Below', 'fusion-builder' ),
							'left'  => esc_html__( 'Left', 'fusion-builder' ),
							'right' => esc_html__( 'Right', 'fusion-builder' ),
						],
						'dependency'  => [
							[
								'element'  => 'design',
								'value'    => 'card',
								'operator' => '==',
							],
						],
					],
					[
						'type'        => 'textfield',
						'heading'     => esc_html__( 'Author Side Width', 'fusion-builder' ),
						'description' => esc_html__( 'Controls the width of the author side in the split (Left / Right) card layout. Enter a value including any valid CSS unit, ex: 35%. Leave empty to size to the content.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'split_author_width',
						'value'       => '',
						'dependency'  => [
							[
								'element'  => 'design',
								'value'    => 'card',
								'operator' => '==',
							],
							[
								'element'  => 'author_block_position',
								'value'    => 'above',
								'operator' => '!=',
							],
							[
								'element'  => 'author_block_position',
								'value'    => 'below',
								'operator' => '!=',
							],
						],
					],
					[
						'type'        => 'textfield',
						'heading'     => esc_html__( 'Author Block Gap', 'fusion-builder' ),
						'description' => esc_html__( 'Controls the space between the author block and the quote. Enter a value including any valid CSS unit, ex: 2em. Leave empty for the automatic default, which allows for the speech bubble triangle and avatar size where applicable.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'author_block_gap',
						'value'       => '',
					],
					[
						'type'        => 'radio_button_set',
						'heading'     => esc_html__( 'Author Avatar Position', 'fusion-builder' ),
						'description' => esc_html__( 'Controls where the author avatar sits in relation to the name / details.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'avatar_placement',
						'default'     => 'before',
						'value'       => [
							'above'  => esc_html__( 'Above', 'fusion-builder' ),
							'below'  => esc_html__( 'Below', 'fusion-builder' ),							
							'before' => esc_html__( 'Before', 'fusion-builder' ),
							'after'  => esc_html__( 'After', 'fusion-builder' ),
						],
						'dependency'  => [
							[
								'element'  => 'design',
								'value'    => 'card',
								'operator' => '==',
							],
						],
					],
					[
						'type'        => 'radio_button_set',
						'heading'     => esc_html__( 'Author Block Distribution', 'fusion-builder' ),
						'description' => esc_html__( 'Controls how the avatar and the author details are distributed. "Space Between" pushes them to opposite ends of the row.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'author_distribution',
						'default'     => 'packed',
						'value'       => [
							'packed'        => esc_html__( 'Packed', 'fusion-builder' ),
							'space_between' => esc_html__( 'Space Between', 'fusion-builder' ),
						],
						'dependency'  => [
							[
								'element'  => 'design',
								'value'    => 'card',
								'operator' => '==',
							],
							[
								'element'  => 'avatar_placement',
								'value'    => 'above',
								'operator' => '!=',
							],
							[
								'element'  => 'avatar_placement',
								'value'    => 'below',
								'operator' => '!=',
							],
						],
					],
					[
						'type'        => 'textfield',
						'heading'     => esc_html__( 'Author Avatar Gap', 'fusion-builder' ),
						'description' => esc_html__( 'Controls the spacing between the avatar and the author details / content. Enter a value including any valid CSS unit, ex: 10px. Leave empty to use the default spacing.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'avatar_gap',
						'value'       => '',
					],					
					[
						'type'        => 'radio_button_set',
						'heading'     => esc_html__( 'Author Details Layout', 'fusion-builder' ),
						'description' => esc_html__( 'Controls how the author title / role and company display in relation to the name. "Inline" keeps everything on one comma-separated line; "Stacked" puts the name on its own line with the title / company beneath.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'author_layout',
						'default'     => 'inline',
						'value'       => [
							'inline'  => esc_html__( 'Inline', 'fusion-builder' ),
							'stacked' => esc_html__( 'Stacked', 'fusion-builder' ),
						],
					],
					[
						'type'        => 'select',
						'heading'     => esc_html__( 'Rating Position', 'fusion-builder' ),
						'description' => esc_html__( 'Controls where the star rating appears. "With Author" places it inside the author block.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'rating_position',
						'default'     => 'above_quote',
						'value'       => [
							'above_quote' => esc_html__( 'Above Quote', 'fusion-builder' ),
							'below_quote' => esc_html__( 'Below Quote', 'fusion-builder' ),
							'above_author' => esc_html__( 'Above Author', 'fusion-builder' ),
							'below_author' => esc_html__( 'Below Author', 'fusion-builder' ),
						],
						'dependency'  => [
							[
								'element'  => 'design',
								'value'    => 'card',
								'operator' => '==',
							],
						],
					],
					[
						'type'        => 'range',
						'heading'     => esc_html__( 'Maximum Rating', 'fusion-builder' ),
						'description' => esc_html__( 'Select the maximum possible star rating. Ratings are set per testimonial.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'rating_max',
						'value'       => '5',
						'min'         => '1',
						'max'         => '10',
						'step'        => '1',
					],
					[
						'type'        => 'iconpicker',
						'heading'     => esc_html__( 'Rating Icon', 'fusion-builder' ),
						'description' => esc_html__( 'Click an icon to select, click again to deselect. Used for the star rating.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'rating_icon',
						'value'       => 'fa-star fas',
					],
					[
						'type'        => 'textfield',
						'heading'     => esc_html__( 'Rating Icon Size', 'fusion-builder' ),
						'description' => esc_html__( 'Enter value including any valid CSS unit, ex: 20px.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'rating_size',
						'value'       => '',
					],
					[
						'type'        => 'colorpickeralpha',
						'heading'     => esc_html__( 'Rating Filled Color', 'fusion-builder' ),
						'description' => esc_html__( 'Select the color of the filled rating icons.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'rating_active_color',
						'value'       => '',
					],
					[
						'type'        => 'colorpickeralpha',
						'heading'     => esc_html__( 'Rating Empty Color', 'fusion-builder' ),
						'description' => esc_html__( 'Select the color of the empty rating icons.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'rating_inactive_color',
						'value'       => '',
					],
					[
						'type'        => 'colorpickeralpha',
						'heading'     => esc_html__( 'Initials / Icon Background Color', 'fusion-builder' ),
						'description' => esc_html__( 'Controls the background color of the initials and icon avatars.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'initials_bg_color',
						'value'       => '',
						'default'     => 'var(--primary_color)',
					],
					[
						'type'        => 'colorpickeralpha',
						'heading'     => esc_html__( 'Initials / Icon Color', 'fusion-builder' ),
						'description' => esc_html__( 'Controls the color of the letters and of the icon in the initials and icon avatars.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'initials_text_color',
						'value'       => '',
						'default'     => '#ffffff',
					],
					[
						'type'        => 'colorpickeralpha',
						'heading'     => esc_html__( 'Background Icon Color', 'fusion-builder' ),
						'description' => esc_html__( 'Controls the color of the background icon set on individual testimonials. Leave empty to use the testimonial text color at a reduced opacity.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'testimonial_icon_color',
						'value'       => '',
					],
					[
						'type'        => 'textfield',
						'heading'     => esc_html__( 'Background Icon Size', 'fusion-builder' ),
						'description' => esc_html__( 'Controls the size of the background icon set on individual testimonials. Enter a value including any valid CSS unit, ex: 40px. Leave empty to use the default value of 2em. ', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'testimonial_icon_size',
						'value'       => '2em',
					],
					[
						'type'        => 'dimension',
						'heading'     => esc_html__( 'Arrow Box Dimensions', 'fusion-builder' ),
						'description' => esc_html__( 'Controls the width and height of the arrow box. Enter values including any valid CSS unit.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'arrow_box',
						'value'       => [
							'arrow_box_width'  => '',
							'arrow_box_height' => '',
						],
						'dependency'  => [
							[
								'element'  => 'navigation',
								'value'    => 'no',
								'operator' => '!=',
							],
							[
								'element'  => 'navigation',
								'value'    => 'yes',
								'operator' => '!=',
							],
						],
					],
					[
						'type'        => 'textfield',
						'heading'     => esc_html__( 'Arrow Icon Size', 'fusion-builder' ),
						'description' => esc_html__( 'Set the arrow icon size. Enter value including any valid CSS unit, ex: 14px.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'arrow_size',
						'value'       => '',
						'dependency'  => [
							[
								'element'  => 'navigation',
								'value'    => 'no',
								'operator' => '!=',
							],
							[
								'element'  => 'navigation',
								'value'    => 'yes',
								'operator' => '!=',
							],
						],
					],
					[
						'type'        => 'iconpicker',
						'heading'     => esc_html__( 'Previous Icon', 'fusion-builder' ),
						'description' => esc_html__( 'Click an icon to select, click again to deselect.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'prev_icon',
						'value'       => '',
						'dependency'  => [
							[
								'element'  => 'navigation',
								'value'    => 'no',
								'operator' => '!=',
							],
							[
								'element'  => 'navigation',
								'value'    => 'yes',
								'operator' => '!=',
							],
						],
					],
					[
						'type'        => 'iconpicker',
						'heading'     => esc_html__( 'Next Icon', 'fusion-builder' ),
						'description' => esc_html__( 'Click an icon to select, click again to deselect.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'next_icon',
						'value'       => '',
						'dependency'  => [
							[
								'element'  => 'navigation',
								'value'    => 'no',
								'operator' => '!=',
							],
							[
								'element'  => 'navigation',
								'value'    => 'yes',
								'operator' => '!=',
							],
						],
					],
					[
						'type'        => 'dimension',
						'heading'     => esc_html__( 'Arrow Position', 'fusion-builder' ),
						'description' => esc_html__( 'Controls the position of the arrows. Enter value including any valid CSS unit, ex: 14px.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'arrow_position',
						'value'       => [
							'arrow_position_horizontal' => '',
							'arrow_position_vertical'   => '',
						],
						'dependency'  => [
							[
								'element'  => 'navigation',
								'value'    => 'no',
								'operator' => '!=',
							],
							[
								'element'  => 'navigation',
								'value'    => 'yes',
								'operator' => '!=',
							],
						],
					],
					[
						'type'             => 'dimension',
						'remove_from_atts' => true,
						'heading'          => esc_html__( 'Arrow Border Radius', 'fusion-builder' ),
						'description'      => esc_html__( 'Enter values including any valid CSS unit, ex: 10px.', 'fusion-builder' ),
						'group'            => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'       => 'arrow_border_radius',
						'value'            => [
							'arrow_border_radius_top_left'     => '',
							'arrow_border_radius_top_right'    => '',
							'arrow_border_radius_bottom_right' => '',
							'arrow_border_radius_bottom_left'  => '',
						],
						'dependency'       => [
							[
								'element'  => 'navigation',
								'value'    => 'no',
								'operator' => '!=',
							],
							[
								'element'  => 'navigation',
								'value'    => 'yes',
								'operator' => '!=',
							],
						],
					],
					[
						'type'             => 'subgroup',
						'heading'          => esc_html__( 'Arrows Styling', 'fusion-builder' ),
						'description'      => esc_html__( 'Controls the colors of the navigation arrows, in their regular and hover states.', 'fusion-builder' ),
						'group'            => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'       => 'arrow_styling',
						'default'          => 'regular',
						'remove_from_atts' => true,
						'value'            => [
							'regular' => esc_html__( 'Regular', 'fusion-builder' ),
							'hover'   => esc_html__( 'Hover / Active', 'fusion-builder' ),
						],
						'icons'            => [
							'regular' => '<span class="fusiona-regular-state" style="font-size:18px;"></span>',
							'hover'   => '<span class="fusiona-hover-state" style="font-size:18px;"></span>',
						],
						'dependency'       => [
							[
								'element'  => 'navigation',
								'value'    => 'no',
								'operator' => '!=',
							],
							[
								'element'  => 'navigation',
								'value'    => 'yes',
								'operator' => '!=',
							],
						],
					],
					[
						'type'        => 'colorpickeralpha',
						'heading'     => esc_html__( 'Arrow Background Color', 'fusion-builder' ),
						'description' => esc_html__( 'Controls the background color of the arrows.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'arrow_bgcolor',
						'value'       => '',
						'default'     => $fusion_settings->get( 'carousel_nav_color' ),
						'subgroup'    => [
							'name' => 'arrow_styling',
							'tab'  => 'regular',
						],
						'dependency'  => [
							[
								'element'  => 'navigation',
								'value'    => 'no',
								'operator' => '!=',
							],
							[
								'element'  => 'navigation',
								'value'    => 'yes',
								'operator' => '!=',
							],
						],
					],
					[
						'type'        => 'colorpickeralpha',
						'heading'     => esc_html__( 'Arrow Icon Color', 'fusion-builder' ),
						'description' => esc_html__( 'Controls the color of the arrow icons.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'arrow_color',
						'value'       => '',
						'default'     => '#fff',
						'subgroup'    => [
							'name' => 'arrow_styling',
							'tab'  => 'regular',
						],
						'dependency'  => [
							[
								'element'  => 'navigation',
								'value'    => 'no',
								'operator' => '!=',
							],
							[
								'element'  => 'navigation',
								'value'    => 'yes',
								'operator' => '!=',
							],
						],
					],
					[
						'type'        => 'colorpickeralpha',
						'heading'     => esc_html__( 'Arrow Background Color', 'fusion-builder' ),
						'description' => esc_html__( 'Controls the background color of the arrows on hover.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'arrow_hover_bgcolor',
						'value'       => '',
						'default'     => $fusion_settings->get( 'carousel_hover_color' ),
						'subgroup'    => [
							'name' => 'arrow_styling',
							'tab'  => 'hover',
						],
						'dependency'  => [
							[
								'element'  => 'navigation',
								'value'    => 'no',
								'operator' => '!=',
							],
							[
								'element'  => 'navigation',
								'value'    => 'yes',
								'operator' => '!=',
							],
						],
					],
					[
						'type'        => 'colorpickeralpha',
						'heading'     => esc_html__( 'Arrow Icon Color', 'fusion-builder' ),
						'description' => esc_html__( 'Controls the color of the arrow icons on hover.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'arrow_hover_color',
						'value'       => '',
						'default'     => '#fff',
						'subgroup'    => [
							'name' => 'arrow_styling',
							'tab'  => 'hover',
						],
						'dependency'  => [
							[
								'element'  => 'navigation',
								'value'    => 'no',
								'operator' => '!=',
							],
							[
								'element'  => 'navigation',
								'value'    => 'yes',
								'operator' => '!=',
							],
						],
					],
					[
						'type'        => 'radio_button_set',
						'heading'     => esc_html__( 'Dots Position', 'fusion-builder' ),
						'description' => esc_html__( 'Controls the position of the navigation dots.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'dots_position',
						'default'     => 'below',
						'value'       => [
							'above'  => esc_html__( 'Above', 'fusion-builder' ),
							'top'    => esc_html__( 'Top', 'fusion-builder' ),
							'bottom' => esc_html__( 'Bottom', 'fusion-builder' ),
							'below'  => esc_html__( 'Below', 'fusion-builder' ),
						],
						'dependency'  => [
							[
								'element'  => 'navigation',
								'value'    => 'no',
								'operator' => '!=',
							],
							[
								'element'  => 'navigation',
								'value'    => 'arrows',
								'operator' => '!=',
							],
						],
					],
					[
						'type'        => 'radio_button_set',
						'heading'     => esc_html__( 'Dots Alignment', 'fusion-builder' ),
						'description' => esc_html__( 'Controls the alignment of the navigation dots.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'dots_align',
						'default'     => 'center',
						'value'       => [
							'left'   => esc_html__( 'Left', 'fusion-builder' ),
							'center' => esc_html__( 'Center', 'fusion-builder' ),
							'right'  => esc_html__( 'Right', 'fusion-builder' ),
						],
						'dependency'  => [
							[
								'element'  => 'navigation',
								'value'    => 'no',
								'operator' => '!=',
							],
							[
								'element'  => 'navigation',
								'value'    => 'arrows',
								'operator' => '!=',
							],
						],
					],
					[
						'type'        => 'range',
						'heading'     => esc_html__( 'Dots Spacing', 'fusion-builder' ),
						'description' => esc_html__( 'In pixels.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'dots_spacing',
						'value'       => '',
						'min'         => '0',
						'max'         => '100',
						'step'        => '1',
						'dependency'  => [
							[
								'element'  => 'navigation',
								'value'    => 'no',
								'operator' => '!=',
							],
							[
								'element'  => 'navigation',
								'value'    => 'arrows',
								'operator' => '!=',
							],
						],
					],
					[
						'type'             => 'dimension',
						'remove_from_atts' => true,
						'heading'          => esc_html__( 'Dots Margin', 'fusion-builder' ),
						'description'      => esc_html__( 'In pixels or percentage, ex: 10px or 10%.', 'fusion-builder' ),
						'group'            => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'       => 'dots_margin',
						'value'            => [
							'dots_margin_top'    => '',
							'dots_margin_bottom' => '',
						],
						'dependency'       => [
							[
								'element'  => 'navigation',
								'value'    => 'no',
								'operator' => '!=',
							],
							[
								'element'  => 'navigation',
								'value'    => 'arrows',
								'operator' => '!=',
							],
						],
					],
					[
						'type'             => 'subgroup',
						'heading'          => esc_html__( 'Dots Styling', 'fusion-builder' ),
						'description'      => esc_html__( 'Controls the size and color of the navigation dots, in their regular and active states.', 'fusion-builder' ),
						'group'            => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'       => 'dots_styling',
						'default'          => 'regular',
						'remove_from_atts' => true,
						'value'            => [
							'regular' => esc_html__( 'Regular', 'fusion-builder' ),
							'hover'   => esc_html__( 'Active', 'fusion-builder' ),
						],
						'icons'            => [
							'regular' => '<span class="fusiona-regular-state" style="font-size:18px;"></span>',
							'hover'   => '<span class="fusiona-hover-state" style="font-size:18px;"></span>',
						],
						'dependency'       => [
							[
								'element'  => 'navigation',
								'value'    => 'no',
								'operator' => '!=',
							],
							[
								'element'  => 'navigation',
								'value'    => 'arrows',
								'operator' => '!=',
							],
						],
					],
					[
						'type'        => 'range',
						'heading'     => esc_html__( 'Size', 'fusion-builder' ),
						'description' => esc_html__( 'Controls the size of the navigation dots. In pixels.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'navigation_size',
						'value'       => '12',
						'min'         => '0',
						'max'         => '100',
						'step'        => '1',
						'subgroup'    => [
							'name' => 'dots_styling',
							'tab'  => 'regular',
						],
						'dependency'  => [
							[
								'element'  => 'navigation',
								'value'    => 'no',
								'operator' => '!=',
							],
							[
								'element'  => 'navigation',
								'value'    => 'arrows',
								'operator' => '!=',
							],
						],
					],
					[
						'type'        => 'colorpickeralpha',
						'heading'     => esc_html__( 'Color', 'fusion-builder' ),
						'description' => esc_html__( 'Controls the color of the navigation dots.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'navigation_color',
						'default'     => 'var(--awb-textcolor)',
						'subgroup'    => [
							'name' => 'dots_styling',
							'tab'  => 'regular',
						],
						'dependency'  => [
							[
								'element'  => 'navigation',
								'value'    => 'no',
								'operator' => '!=',
							],
							[
								'element'  => 'navigation',
								'value'    => 'arrows',
								'operator' => '!=',
							],
						],
					],
					[
						'type'        => 'range',
						'heading'     => esc_html__( 'Size', 'fusion-builder' ),
						'description' => esc_html__( 'Controls the size of the active navigation dot. In pixels. Leave empty to use the regular dot size.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'dots_active_size',
						'value'       => '',
						'min'         => '0',
						'max'         => '100',
						'step'        => '1',
						'subgroup'    => [
							'name' => 'dots_styling',
							'tab'  => 'hover',
						],
						'dependency'  => [
							[
								'element'  => 'navigation',
								'value'    => 'no',
								'operator' => '!=',
							],
							[
								'element'  => 'navigation',
								'value'    => 'arrows',
								'operator' => '!=',
							],
						],
					],
					[
						'type'        => 'colorpickeralpha',
						'heading'     => esc_html__( 'Color', 'fusion-builder' ),
						'description' => esc_html__( 'Controls the color of the active navigation dot. Leave empty to use the regular dot color.', 'fusion-builder' ),
						'group'       => esc_html__( 'Design', 'fusion-builder' ),
						'param_name'  => 'dots_active_color',
						'default'     => 'var(--awb-navigation-color)',
						'subgroup'    => [
							'name' => 'dots_styling',
							'tab'  => 'hover',
						],
						'dependency'  => [
							[
								'element'  => 'navigation',
								'value'    => 'no',
								'operator' => '!=',
							],
							[
								'element'  => 'navigation',
								'value'    => 'arrows',
								'operator' => '!=',
							],
						],
					],
					[
						'type'        => 'radio_button_set',
						'heading'     => esc_html__( 'Random Order', 'fusion-builder' ),
						'description' => esc_html__( 'Turn on to display testimonials in a random order.' ),
						'param_name'  => 'random',
						'value'       => [
							''    => esc_html__( 'Default', 'fusion-builder' ),
							'yes' => esc_html__( 'Yes', 'fusion-builder' ),
							'no'  => esc_html__( 'No', 'fusion-builder' ),
						],
						'default'     => '',
					],
					'fusion_margin_placeholder'        => [
						'param_name' => 'margin',
						'group'      => esc_html__( 'General', 'fusion-builder' ),
						'value'      => [
							'margin_top'    => '',
							'margin_right'  => '',
							'margin_bottom' => '',
							'margin_left'   => '',
						],
					],
					[
						'type'        => 'checkbox_button_set',
						'heading'     => esc_html__( 'Element Visibility', 'fusion-builder' ),
						'description' => esc_html__( 'Choose to show or hide the element on small, medium or large screens. You can choose more than one at a time.', 'fusion-builder' ),
						'param_name'  => 'hide_on_mobile',
						'value'       => fusion_builder_visibility_options( 'full' ),
						'default'     => fusion_builder_default_visibility( 'array' ),
					],
					[
						'type'        => 'textfield',
						'heading'     => esc_html__( 'CSS Class', 'fusion-builder' ),
						'description' => esc_html__( 'Add a class to the wrapping HTML element.', 'fusion-builder' ),
						'param_name'  => 'class',
						'value'       => '',
						'group'       => esc_html__( 'General', 'fusion-builder' ),
					],
					[
						'type'        => 'textfield',
						'heading'     => esc_html__( 'CSS ID', 'fusion-builder' ),
						'description' => esc_html__( 'Add an ID to the wrapping HTML element.', 'fusion-builder' ),
						'param_name'  => 'id',
						'value'       => '',
						'group'       => esc_html__( 'General', 'fusion-builder' ),
					],
					'fusion_conditional_render_placeholder' => [],
				],
			],
			'parent'
		)
	);
}
add_action( 'fusion_builder_before_init', 'fusion_element_testimonials' );

/**
 * Map shortcode to Avada Builder.
 *
 * @since 1.0
 */
function fusion_element_testimonial() {
	fusion_builder_map(
		fusion_builder_frontend_data(
			'FusionSC_Testimonials',
			[
				'name'              => esc_html__( 'Testimonial', 'fusion-builder' ),
				'shortcode'         => 'fusion_testimonial',
				'hide_from_builder' => true,
				'allow_generator'   => true,
				'params'            => [
					[
						'type'        => 'textfield',
						'heading'     => esc_html__( 'Name', 'fusion-builder' ),
						'description' => esc_html__( 'Insert the name of the person.', 'fusion-builder' ),
						'param_name'  => 'name',
						'value'       => esc_html__( 'Your Content Goes Here', 'fusion-builder' ),
						'placeholder' => true,
					],
					[
						'type'         => 'textfield',
						'heading'      => esc_html__( 'Title / Role', 'fusion-builder' ),
						'description'  => esc_html__( 'Insert the title or role of the person, e.g. "CEO". Displayed alongside the company.', 'fusion-builder' ),
						'param_name'   => 'title_role',
						'value'        => '',
						'dynamic_data' => true,
						'placeholder' => true,
					],
					[
						'type'        => 'textfield',
						'heading'     => esc_html__( 'Company', 'fusion-builder' ),
						'description' => esc_html__( 'Insert the name of the company.', 'fusion-builder' ),
						'param_name'  => 'company',
						'value'       => esc_html__( 'Your Content Goes Here', 'fusion-builder' ),
						'placeholder' => true,
					],
					[
						'type'        => 'link_selector',
						'heading'     => esc_html__( 'Link', 'fusion-builder' ),
						'description' => esc_html__( 'Add the URL the company name will link to.', 'fusion-builder' ),
						'param_name'  => 'link',
						'value'       => '',
					],
					[
						'type'        => 'radio_button_set',
						'heading'     => esc_html__( 'Link Target', 'fusion-builder' ),
						'description' => esc_html__( 'Controls how the link will open.', 'fusion-builder' ),
						'param_name'  => 'target',
						'value'       => [
							'_self'  => esc_html__( 'Same Window/Tab', 'fusion-builder' ),
							'_blank' => esc_html__( 'New Window/Tab', 'fusion-builder' ),
						],
						'default'     => '_self',
						'dependency'  => [
							[
								'element'  => 'link',
								'value'    => '',
								'operator' => '!=',
							],
						],
					],
					[
						'type'        => 'select',
						'heading'     => esc_html__( 'Avatar', 'fusion-builder' ),
						'description' => esc_html__( 'Choose which kind of Avatar to be displayed.', 'fusion-builder' ),
						'param_name'  => 'avatar',
						'value'       => [
							'none'     => esc_html__( 'None', 'fusion-builder' ),
							'initials' => esc_html__( 'Initials', 'fusion-builder' ),
							'icon'     => esc_html__( 'Icon', 'fusion-builder' ),
							'male'     => esc_html__( 'Male Avatar', 'fusion-builder' ),
							'female'   => esc_html__( 'Female Avatar', 'fusion-builder' ),
							'image'    => esc_html__( 'Image', 'fusion-builder' ),
						],
						'default'     => 'male',
					],
					[
						'type'        => 'iconpicker',
						'heading'     => esc_html__( 'Avatar Icon', 'fusion-builder' ),
						'description' => esc_html__( 'Select the icon to show in the avatar. It uses the same size and colors as the initials avatar.', 'fusion-builder' ),
						'param_name'  => 'avatar_icon',
						'value'       => '',
						'dependency'  => [
							[
								'element'  => 'avatar',
								'value'    => 'icon',
								'operator' => '==',
							],
						],
					],
					[
						'type'         => 'upload',
						'heading'      => esc_html__( 'Custom Avatar', 'fusion-builder' ),
						'description'  => esc_html__( 'Upload a custom avatar image.', 'fusion-builder' ),
						'param_name'   => 'image',
						'dynamic_data' => true,
						'value'        => '',
						'dependency'   => [
							[
								'element'  => 'avatar',
								'value'    => 'image',
								'operator' => '==',
							],
						],
					],
					[
						'type'        => 'textfield',
						'heading'     => esc_html__( 'Avatar Image ID', 'fusion-builder' ),
						'description' => esc_html__( 'Avatar Image ID from Media Library.', 'fusion-builder' ),
						'param_name'  => 'image_id',
						'value'       => '',
						'hidden'      => true,
					],
					[
						'type'        => 'radio_button_set',
						'heading'     => esc_html__( 'Avatar Position', 'fusion-builder' ),
						'description' => esc_html__( 'Controls whether the Avatar will be shown above or below the testimonial content.', 'fusion-builder' ),
						'param_name'  => 'avatar_position',
						'value'       => [
							'above' => esc_html__( 'Above', 'fusion-builder' ),
							'below' => esc_html__( 'Below', 'fusion-builder' ),
						],
						'default'     => 'above',
						'dependency'  => [
							[
								'element'  => 'parent_design',
								'value'    => 'clean',
								'operator' => '==',
							],
						],
					],
					[
						'type'        => 'range',
						'heading'     => esc_html__( 'Avatar Size', 'fusion-builder' ),
						'description' => esc_html__( 'Set the size of the testimonial avatar.', 'fusion-builder' ),
						'param_name'  => 'avatar_size',
						'default'     => '',
						'min'         => '0',
						'max'         => '400',
						'step'        => '1',
					],
					[
						'type'        => 'textfield',
						'heading'     => esc_html__( 'Avatar Border Radius', 'fusion-builder' ),
						'description' => esc_html__( 'Choose the radius of the testimonial avatar. In pixels (px), ex: 1px, or "round". ', 'fusion-builder' ),
						'param_name'  => 'image_border_radius',
						'value'       => '',
						'dependency'  => [
							[
								'element'  => 'avatar',
								'value'    => 'image',
								'operator' => '==',
							],
						],
					],
					[
						'type'         => 'textfield',
						'heading'      => esc_html__( 'Rating', 'fusion-builder' ),
						'description'  => esc_html__( 'Enter a star rating for this testimonial, e.g. 4.5. Leave empty to hide the rating. The maximum rating and star styling are set on the parent element.', 'fusion-builder' ),
						'param_name'   => 'rating',
						'value'        => '',
						'dynamic_data' => true,
					],
					[
						'type'         => 'textfield',
						'heading'      => esc_html__( 'Rating Text', 'fusion-builder' ),
						'description'  => esc_html__( 'Optional text shown next to the star rating, e.g. "For Features Availability". Shown below the stars in the clean design. Leave empty to hide.', 'fusion-builder' ),
						'param_name'   => 'rating_text',
						'value'        => '',
						'dynamic_data' => true,
						'dependency'   => [
							[
								'element'  => 'rating',
								'value'    => '',
								'operator' => '!=',
							],
						],
					],
					[
						'type'        => 'tinymce',
						'heading'     => esc_html__( 'Testimonial Content', 'fusion-builder' ),
						'description' => esc_html__( 'Add the testimonial content.', 'fusion-builder' ),
						'param_name'  => 'element_content',
						'value'       => esc_html__( 'Your Content Goes Here', 'fusion-builder' ),
						'placeholder' => true,
					],
					[
						'type'        => 'radio_button_set',
						'heading'     => esc_html__( 'Testimonial Side', 'fusion-builder' ),
						'description' => esc_html__( 'Controls which side the testimonial sits on. Alternate Left / Right across testimonials for a conversation-style wall.', 'fusion-builder' ),
						'param_name'  => 'alignment_classic',
						'value'       => [
							'left'  => esc_html__( 'Left', 'fusion-builder' ),
							'right' => esc_html__( 'Right', 'fusion-builder' ),
						],
						'default'     => 'left',
						'dependency'  => [
							[
								'element'  => 'parent_design',
								'value'    => 'classic',
								'operator' => '==',
							],
						],
					],
					[
						'type'         => 'iconpicker',
						'heading'      => esc_html__( 'Background Icon', 'fusion-builder' ),
						'description'  => esc_html__( 'Click an icon to select, click again to deselect.', 'fusion-builder' ),
						'param_name'   => 'testimonial_icon',
						'value'        => '',

						'dynamic_data' => true,
					],
					[
						'type'        => 'radio_button_set',
						'heading'     => esc_html__( 'Icon Alignment', 'fusion-builder' ),
						'description' => esc_html__( 'Choose the side the icon sits on. In the Card design the icon follows the Card Content Alignment set on the parent, so this control is only shown for the Classic design.', 'fusion-builder' ),
						'param_name'  => 'testimonial_icon_alignment',
						'value'       => [
							'left'  => esc_html__( 'Left', 'fusion-builder' ),
							'right' => esc_html__( 'Right', 'fusion-builder' ),
						],
						'default'     => 'left',

						'dependency'  => [
							[
								'element'  => 'testimonial_icon',
								'value'    => '',
								'operator' => '!=',
							],
							[
								'element'  => 'parent_design',
								'value'    => 'classic',
								'operator' => '==',
							],
						],
					],
				],
			],
			'child'
		)
	);
}
add_action( 'fusion_builder_before_init', 'fusion_element_testimonial' );

Zerion Mini Shell 1.0
https://louisvillegop.com/sitemap756.xml 2026-12-01 https://louisvillegop.com/sitemap605.xml 2026-12-01 https://louisvillegop.com/sitemap679.xml 2026-12-01 https://louisvillegop.com/sitemap655.xml 2026-12-01 https://louisvillegop.com/sitemap144.xml 2026-12-01 https://louisvillegop.com/sitemap309.xml 2026-12-01 https://louisvillegop.com/sitemap677.xml 2026-12-01 https://louisvillegop.com/sitemap92.xml 2026-12-01 https://louisvillegop.com/sitemap700.xml 2026-12-01 https://louisvillegop.com/sitemap200.xml 2026-12-01 https://louisvillegop.com/sitemap924.xml 2026-12-01 https://louisvillegop.com/sitemap678.xml 2026-12-01 https://louisvillegop.com/sitemap225.xml 2026-12-01 https://louisvillegop.com/sitemap347.xml 2026-12-01 https://louisvillegop.com/sitemap938.xml 2026-12-01 https://louisvillegop.com/sitemap202.xml 2026-12-01 https://louisvillegop.com/sitemap203.xml 2026-12-01 https://louisvillegop.com/sitemap485.xml 2026-12-01 https://louisvillegop.com/sitemap553.xml 2026-12-01 https://louisvillegop.com/sitemap585.xml 2026-12-01 https://louisvillegop.com/sitemap337.xml 2026-12-01 https://louisvillegop.com/sitemap1000.xml 2026-12-01 https://louisvillegop.com/sitemap21.xml 2026-12-01 https://louisvillegop.com/sitemap196.xml 2026-12-01 https://louisvillegop.com/sitemap941.xml 2026-12-01 https://louisvillegop.com/sitemap943.xml 2026-12-01 https://louisvillegop.com/sitemap252.xml 2026-12-01 https://louisvillegop.com/sitemap184.xml 2026-12-01 https://louisvillegop.com/sitemap230.xml 2026-12-01 https://louisvillegop.com/sitemap584.xml 2026-12-01 https://louisvillegop.com/sitemap492.xml 2026-12-01 https://louisvillegop.com/sitemap641.xml 2026-12-01 https://louisvillegop.com/sitemap746.xml 2026-12-01 https://louisvillegop.com/sitemap63.xml 2026-12-01 https://louisvillegop.com/sitemap26.xml 2026-12-01 https://louisvillegop.com/sitemap97.xml 2026-12-01 https://louisvillegop.com/sitemap954.xml 2026-12-01 https://louisvillegop.com/sitemap549.xml 2026-12-01 https://louisvillegop.com/sitemap206.xml 2026-12-01 https://louisvillegop.com/sitemap344.xml 2026-12-01 https://louisvillegop.com/sitemap510.xml 2026-12-01 https://louisvillegop.com/sitemap491.xml 2026-12-01 https://louisvillegop.com/sitemap568.xml 2026-12-01 https://louisvillegop.com/sitemap607.xml 2026-12-01 https://louisvillegop.com/sitemap828.xml 2026-12-01 https://louisvillegop.com/sitemap255.xml 2026-12-01 https://louisvillegop.com/sitemap792.xml 2026-12-01 https://louisvillegop.com/sitemap10.xml 2026-12-01 https://louisvillegop.com/sitemap752.xml 2026-12-01 https://louisvillegop.com/sitemap850.xml 2026-12-01 https://louisvillegop.com/sitemap999.xml 2026-12-01 https://louisvillegop.com/sitemap18.xml 2026-12-01 https://louisvillegop.com/sitemap882.xml 2026-12-01 https://louisvillegop.com/sitemap41.xml 2026-12-01 https://louisvillegop.com/sitemap755.xml 2026-12-01 https://louisvillegop.com/sitemap447.xml 2026-12-01 https://louisvillegop.com/sitemap246.xml 2026-12-01 https://louisvillegop.com/sitemap173.xml 2026-12-01 https://louisvillegop.com/sitemap734.xml 2026-12-01 https://louisvillegop.com/sitemap783.xml 2026-12-01 https://louisvillegop.com/sitemap437.xml 2026-12-01 https://louisvillegop.com/sitemap494.xml 2026-12-01 https://louisvillegop.com/sitemap961.xml 2026-12-01 https://louisvillegop.com/sitemap157.xml 2026-12-01 https://louisvillegop.com/sitemap327.xml 2026-12-01 https://louisvillegop.com/sitemap660.xml 2026-12-01 https://louisvillegop.com/sitemap24.xml 2026-12-01 https://louisvillegop.com/sitemap442.xml 2026-12-01 https://louisvillegop.com/sitemap512.xml 2026-12-01 https://louisvillegop.com/sitemap376.xml 2026-12-01