<commit_before>{# set picture #}
{# set width #}
{# set height #}
{# set filterMode (facultative) #}
{# set alt (facultative) #}
{# set emptyWebPath (facultative) #}
{# set attributes (facultative) #}
{# set imgClasses (facultative) #}
{# set noMicrodata (facultative) #}
{# set itemprop (facultative) #}
{# set noSizer (facultative) #}
{# set autoSizer (facultative) #}
{# set noLazyLoad (facultative) #}

{% set filterMode = filterMode|default('o') %}
{% set alt = picture is not empty and picture.legend is not empty ? picture.legend : alt is defined ? alt : 'L\'Air du Bois' %}
{% set emptyWebPath = emptyWebPath|default('empty.png') %}
{% set webPath = (picture is empty ? emptyWebPath : picture.webPath) %}
{% set filter = width~'x'~height~filterMode %}
{% set noMicrodata = (noMicrodata|default(false)) or picture is empty %}
{% set noSizer = noSizer|default(picture is not null and picture.width == 0) %}
{% set autoSizer = autoSizer is defined ? autoSizer : filterMode == 'i' %}
{% set noLazyLoad = noLazyLoad|default(false) %} #}

{% block img %}
    {% if not noSizer %}<div class="ladb-img-sizer{% if not autoSizer %} ladb-img-sizer-{{ filter }}{% endif %}"{% if autoSizer %} style="padding-top:{{ min(135.2, filterMode != 'i' and (picture.width < width or picture.height < height) ? min(picture.height, height) / min(picture.width, width) * 100 : (picture ? picture.heightRatio100 : 100)) }}%;"{% endif %}>{% endif %}
        <img {% if not noLazyLoad %}src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-{% endif %}src="{{ webPath|imagine_filter(filter) }}" alt="{{ alt }}"{% if attributes is defined %} {{ attributes|raw }}{% endif %}{% if not noMicrodata %} itemprop="{{ itemprop|default('image') }}"{% endif %}{% if imgClasses is defined %} class="{{ imgClasses }}"{% endif %}>
    {% if not noSizer %}</div>{% endif %}
{% endblock %}<commit_msg>+ lazyload<commit_after>{# set picture #}
{# set width #}
{# set height #}
{# set filterMode (facultative) #}
{# set alt (facultative) #}
{# set emptyWebPath (facultative) #}
{# set attributes (facultative) #}
{# set imgClasses (facultative) #}
{# set noMicrodata (facultative) #}
{# set itemprop (facultative) #}
{# set noSizer (facultative) #}
{# set autoSizer (facultative) #}
{# set noLazyLoad (facultative) #}

{% set filterMode = filterMode|default('o') %}
{% set alt = picture is not empty and picture.legend is not empty ? picture.legend : alt is defined ? alt : 'L\'Air du Bois' %}
{% set emptyWebPath = emptyWebPath|default('empty.png') %}
{% set webPath = (picture is empty ? emptyWebPath : picture.webPath) %}
{% set filter = width~'x'~height~filterMode %}
{% set noMicrodata = (noMicrodata|default(false)) or picture is empty %}
{% set noSizer = noSizer|default(picture is not null and picture.width == 0) %}
{% set autoSizer = autoSizer is defined ? autoSizer : filterMode == 'i' %}
{% set noLazyLoad = noLazyLoad|default(false) %}

{% block img %}
    {% if not noSizer %}<div class="ladb-img-sizer{% if not autoSizer %} ladb-img-sizer-{{ filter }}{% endif %}"{% if autoSizer %} style="padding-top:{{ min(135.2, filterMode != 'i' and (picture.width < width or picture.height < height) ? min(picture.height, height) / min(picture.width, width) * 100 : (picture ? picture.heightRatio100 : 100)) }}%;"{% endif %}>{% endif %}
        <img {% if not noLazyLoad %}src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-{% endif %}src="{{ webPath|imagine_filter(filter) }}" alt="{{ alt }}"{% if attributes is defined %} {{ attributes|raw }}{% endif %}{% if not noMicrodata %} itemprop="{{ itemprop|default('image') }}"{% endif %}{% if imgClasses is defined %} class="{{ imgClasses }}"{% endif %}>
    {% if not noSizer %}</div>{% endif %}
{% endblock %}
{'fraction_non_alphanumeric': 0.18825697735650343, 'fraction_numerical': 0.010005265929436546, 'mean_word_length': 5.097913322632424, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 2, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3751438', 'n_tokens_mistral': 1427, 'n_tokens_neox': 1286, 'n_words': 341}