{#<section class="home-banner">#}
{# {% if isMobile %}#}
{# <div class="slider-1 home-slider blaze-slider overflow-visible">#}
{# <div class="blaze-container">#}
{# <div class="blaze-track-container">#}
{# <div class="blaze-track">#}
{# {% set items = block.content | json_decode %}#}
{# {% for itm in items %}#}
{# {% set youtube = '' %}#}
{# {% set video = '' %}#}
{# {% set videoSrc = '' %}#}
{# {% if itm.videoUrl is not empty %}#}
{# {% set youtube = 'youtube' %}#}
{# {% set video = 'video' %}#}
{# {% set videoSrc = itm.videoUrl %}#}
{# {% endif %}#}
{# {% if itm.videoFile is not empty %}#}
{# {% set youtube = '' %}#}
{# {% set video = 'video' %}#}
{# {% set videoSrc = itm.videoFile %}#}
{# {% endif %}#}
{# <a {% if itm.url is not empty %}href="{{ itm.url }}" {% endif%} class="item {{ video }} {{ youtube }}" {% if videoSrc is not empty %} video-src="{{ videoSrc }}{% endif %}">#}
{# {% if videoSrc is not empty %}#}
{# <i class="zmdi zmdi-youtube-play"></i>#}
{# {% endif %}#}
{# <picture class="d-block w-100 picture-lazy">#}
{# {% if isMobile %}#}
{# <img loading="lazy" class="img-fluid"#}
{# src="{{ asset('themes/ismart') }}/img/compressed.webp"#}
{# src="{{ getImageWebp(getImageBySize(itm.image,'small')) }}"#}
{# data-src="{{ getImageWebp(getImageBySize(itm.image,'thumb')) }}">#}
{# {% else %}#}
{# <img loading="lazy" class="img-fluid"#}
{# src="{{ getImageWebp(getImageBySize(itm.image,'small')) }}"#}
{# data-src="{{ getImageWebp(getImageBySize(itm.image,'feature')) }}">#}
{# {% endif %}#}
{# </picture>#}
{# </a>#}
{# {% endfor %}#}
{# </div>#}
{# </div>#}
{# <button class="blaze-prev" aria-label="Go to previous slide">#}
{# <svg data-name="Layer 1" id="Layer_1" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><title/><path d="M12.5,32,45.17,0,51.5,6.62,25.24,32,51.5,57.38,45.17,64Z" data-name="<Compound Path>" id="_Compound_Path_"/></svg>#}
{# </button>#}
{# <button class="blaze-next" aria-label="Go to next slide">#}
{# <svg data-name="Layer 1" id="Layer_1" viewBox="0 0 64 64" xmlns="http://www.w3.org/2000/svg"><title/><path d="M51.66,32,19,0,12.66,6.62,38.91,32,12.66,57.38,19,64Z" data-name="<Compound Path>" id="_Compound_Path_"/></svg>#}
{# </button>#}
{# <div class="blaze-pagination d-flex align-items-center justify-content-center flex-row"></div>#}
{# </div>#}
{# </div>#}
{# {% else %}#}
{# <div class="slider-1">#}
{# {% set items = block.content | json_decode %}#}
{# {% for itm in items %}#}
{# {% set youtube = '' %}#}
{# {% set video = '' %}#}
{# {% set videoSrc = '' %}#}
{# {% if itm.videoUrl is not empty %}#}
{# {% set youtube = 'youtube' %}#}
{# {% set video = 'video' %}#}
{# {% set videoSrc = itm.videoUrl %}#}
{# {% endif %}#}
{# {% if itm.videoFile is not empty %}#}
{# {% set youtube = '' %}#}
{# {% set video = 'video' %}#}
{# {% set videoSrc = itm.videoFile %}#}
{# {% endif %}#}
{# <a {% if itm.url is not empty %}href="{{ itm.url }}" {% endif%} class="item {{ video }} {{ youtube }}" {% if videoSrc is not empty %} video-src="{{ videoSrc }}{% endif %}">#}
{# {% if videoSrc is not empty %}#}
{# <i class="zmdi zmdi-youtube-play"></i>#}
{# {% endif %}#}
{# <picture class="d-block w-100 picture-lazy">#}
{# <img loading="lazy" class="img-fluid"#}
{# src="{{ itm.image }}" />#}
{# src="{{ getImageWebp(getImageBySize(itm.image,'small')) }}"#}
{# data-src="{{ getImageWebp(itm.image) }}">#}
{# </picture>#}
{# </a>#}
{# {% endfor %}#}
{# </div>#}
{# {% endif %}#}
{#</section>#}
<section class="home-banner">
<div class="slider-1">
{% set items = block.content | json_decode %}
{% for itm in items %}
{% set youtube = '' %}
{% set video = '' %}
{% set videoSrc = '' %}
{% if itm.videoUrl is not empty %}
{% set youtube = 'youtube' %}
{% set video = 'video' %}
{% set videoSrc = itm.videoUrl %}
{% endif %}
{% if itm.videoFile is not empty %}
{% set youtube = '' %}
{% set video = 'video' %}
{% set videoSrc = itm.videoFile %}
{% endif %}
<a {% if itm.url is not empty %}href="{{ itm.url }}" {% endif%} class="item {{ video }} {{ youtube }}" {% if videoSrc is not empty %} video-src="{{ videoSrc }}{% endif %}">
{% if videoSrc is not empty %}
<i class="zmdi zmdi-youtube-play"></i>
{% endif %}
<img src="{{ itm.image }}" class="img-fluid d-none d-sm-block" alt="" />
<img src="{{ itm.image }}" class="img-fluid d-block d-sm-none" alt="" />
</a>
{% endfor %}
</div>
</section>