<?php if(isset($settings['lists_lv2']) && !empty($settings['lists_lv2']) && count($settings['lists_lv2'])):
$is_new = \Elementor\Icons_Manager::is_migration_allowed(); ?>
    <div class="pxl-meta pxl-meta2">
    	<div class="pxl-meta-inner">
    		<?php foreach ($settings['lists_lv2'] as $key => $value):
    			$icon_key = $widget->get_repeater_setting_key( 'pxl_icon_lv2', 'icons', $key );
	            $widget->add_render_attribute( $icon_key, [
	                'class' => $value['pxl_icon_lv2'],
	                'aria-hidden' => 'true',
	            ] );
	            $link_key = $widget->get_repeater_setting_key( 'link_lv2', 'value', $key );
	            if ( ! empty( $value['link_lv2']['url'] ) ) {
	                $widget->add_render_attribute( $link_key, 'href', $value['link_lv2']['url'] );

	                if ( $value['link_lv2']['is_external'] ) {
	                    $widget->add_render_attribute( $link_key, 'target', '_blank' );
	                }

	                if ( $value['link_lv2']['nofollow'] ) {
	                    $widget->add_render_attribute( $link_key, 'rel', 'nofollow' );
	                }
	            }
	            $link_attributes = $widget->get_render_attribute_string( $link_key ); 
    		 	?>
	            <div class="pxl-item <?php echo esc_attr($settings['pxl_animate']); ?>" data-wow-delay="<?php echo esc_attr($settings['pxl_animate_delay']); ?>ms">
	            	<?php if ( ! empty( $value['pxl_icon_lv2'] ) ) : ?>
                        <div class="pxl-item--icon pxl-mr-20">
                            <?php if ( $is_new ):
                                \Elementor\Icons_Manager::render_icon( $value['pxl_icon_lv2'], [ 'aria-hidden' => 'true' ] );
                            elseif(!empty($value['pxl_icon_lv2'])): ?>
                                <i class="<?php echo esc_attr( $value['pxl_icon_lv2'] ); ?>" aria-hidden="true"></i>
                            <?php endif; ?>
                        </div>
                    <?php endif; ?>
                    <div class="pxl-item-content">
                    	<div class="pxl-item-desc">
                    		<?php echo pxl_print_html($value['sub_title'])?>
                    	</div>
                    	<a class="pxl-item--title" <?php echo implode( ' ', [ $link_attributes ] ); ?>>
		                    <?php echo pxl_print_html($value['title_lv2'])?>
		                </a>
                    </div>
	            </div>
	        <?php endforeach; ?>
    	</div>
    </div>
<?php endif; ?>