<commit_before>{% extends "template.twig" %}
{% block section %}event{% endblock %}
{% block page %}index {% if is_mobile %}mobile{% endif %}{% endblock %}
{% block og_image %}{% if event.photosFeatured|length > 0 %}{% set photo = event.photosFeatured[0] %}https://farm{{ photo.farm }}.staticflickr.com/{{ photo.server }}/{{ photo.id }}_{{ photo.secret }}_b.jpg{% endif %}{% endblock %}

{% block heroraw %}
    {% if not is_mobile %}{# Don't use the bandwidth #}
        <video class="video-background" preload muted autoplay loop>
            <source src="/assets/mp4/event-bg.mp4" type="video/mp4" />
        </video>
    {% endif %}
    <div class="wrap"><div class="wrap-inner">
        <article class="details">
            <span class="date">{{ event.starts_at|date('F j') }}-{{ event.ends_at|date('j') }}</span>
            <span class="time">{{ i18n('common.noon-noon') }}</span>
        </article>
        <article class="lead">
            <h2>{{ i18n('event.build', {'region': event.region_name}) }}</h2>
        </article>
        <span class="wistia_embed wistia_async_n6xc4pm90n popover=true popoverAnimateThumbnail=true popoverContent=link videoFoam=true" style="display:inline"><a href="#" class="video-play-link">&#xf196;</a></span>
        <article class="action">
            {% if event and event.registration_info.is_open and event.registration_info.remaining > 0 %}
                <a href="{{ langPrefix }}/{{ event.webname }}/register{% if promo_code != null %}?promo={{ promo_code }}{% endif %}" class="register">
                    {% if event.registration_info.remaining < (event.registration_info.max * 0.10) %}
                        {{ i18n('event.cta-ticket-warn', {'remaining': event.registration_info.remaining}) }}
                    {% else %}
                        {{ i18n('event.cta-ticket-normal') }}
                    {% endif %}</a>
            {% elseif event and event.registration_info.is_open and event.registration_info.remaining == 0 %}
                <span class="sold-out">{{ i18n('event.cta-ticket-out')|raw }}</span>
            {% else %}
                <span class="notify-label">{{ i18n('event.cta-notify' ) }}</span>
                <form action="/{{ event.webname }}/notify" method="post" class="notify-signup">
                    <input type="email" name="email" id="email" placeholder="{{ i18n('common.email-sample') }}" />{#
                    #}<input type="submit" value="{{ i18n('event.notify-signup') }}">
                </form>
            {% endif %}
            {% if event.venue and event.registration_info.is_open and event.registration_info.remaining > 0 %}
                <span class="venue">{{ i18n('common.hosted-at', {'link': 'https://www.google.com/maps/place/'~(event.venue.full_address|url_encode), 'name': event.venue.name}) }}</span>
            {% endif %}

            {% if event.related_events %}
                <section class="nearby">
                    {% if event and event.registration_info.is_open and event.registration_info.remaining == 0 %}
                        <span class="sold-out-label">{{ i18n('event.cta-ticket-out-near') }}</span>
                    {% else %}
                        <span class="label">{{ i18n('event.nearby') }}</span>
                    {% endif %}
                    {% for related_event in event.related_events %}
                        <a href="{{ langPrefix }}/{{ related_event.webname }}" class="event">{{ related_event.region_name }}</a>
                    {% endfor %}
                </section>
            {% endif %}
        </article>
    </div></div>
{% endblock %}

{% block content %}
    <article class="what-is">
        <section class="details"><commit_msg>Show venue when there's a venue<commit_after>{% extends "template.twig" %}
{% block section %}event{% endblock %}
{% block page %}index {% if is_mobile %}mobile{% endif %}{% endblock %}
{% block og_image %}{% if event.photosFeatured|length > 0 %}{% set photo = event.photosFeatured[0] %}https://farm{{ photo.farm }}.staticflickr.com/{{ photo.server }}/{{ photo.id }}_{{ photo.secret }}_b.jpg{% endif %}{% endblock %}

{% block heroraw %}
    {% if not is_mobile %}{# Don't use the bandwidth #}
        <video class="video-background" preload muted autoplay loop>
            <source src="/assets/mp4/event-bg.mp4" type="video/mp4" />
        </video>
    {% endif %}
    <div class="wrap"><div class="wrap-inner">
        <article class="details">
            <span class="date">{{ event.starts_at|date('F j') }}-{{ event.ends_at|date('j') }}</span>
            <span class="time">{{ i18n('common.noon-noon') }}</span>
        </article>
        <article class="lead">
            <h2>{{ i18n('event.build', {'region': event.region_name}) }}</h2>
        </article>
        <span class="wistia_embed wistia_async_n6xc4pm90n popover=true popoverAnimateThumbnail=true popoverContent=link videoFoam=true" style="display:inline"><a href="#" class="video-play-link">&#xf196;</a></span>
        <article class="action">
            {% if event and event.registration_info.is_open and event.registration_info.remaining > 0 %}
                <a href="{{ langPrefix }}/{{ event.webname }}/register{% if promo_code != null %}?promo={{ promo_code }}{% endif %}" class="register">
                    {% if event.registration_info.remaining < (event.registration_info.max * 0.10) %}
                        {{ i18n('event.cta-ticket-warn', {'remaining': event.registration_info.remaining}) }}
                    {% else %}
                        {{ i18n('event.cta-ticket-normal') }}
                    {% endif %}</a>
            {% elseif event and event.registration_info.is_open and event.registration_info.remaining == 0 %}
                <span class="sold-out">{{ i18n('event.cta-ticket-out')|raw }}</span>
            {% else %}
                <span class="notify-label">{{ i18n('event.cta-notify' ) }}</span>
                <form action="/{{ event.webname }}/notify" method="post" class="notify-signup">
                    <input type="email" name="email" id="email" placeholder="{{ i18n('common.email-sample') }}" />{#
                    #}<input type="submit" value="{{ i18n('event.notify-signup') }}">
                </form>
            {% endif %}
            {% if event.venue %}
                <span class="venue">{{ i18n('common.hosted-at', {'link': 'https://www.google.com/maps/place/'~(event.venue.full_address|url_encode), 'name': event.venue.name}) }}</span>
            {% endif %}

            {% if event.related_events %}
                <section class="nearby">
                    {% if event and event.registration_info.is_open and event.registration_info.remaining == 0 %}
                        <span class="sold-out-label">{{ i18n('event.cta-ticket-out-near') }}</span>
                    {% else %}
                        <span class="label">{{ i18n('event.nearby') }}</span>
                    {% endif %}
                    {% for related_event in event.related_events %}
                        <a href="{{ langPrefix }}/{{ related_event.webname }}" class="event">{{ related_event.region_name }}</a>
                    {% endfor %}
                </section>
            {% endif %}
        </article>
    </div></div>
{% endblock %}

{% block content %}
    <article class="what-is">
        <section class="details">
{'fraction_non_alphanumeric': 0.18529571351058058, 'fraction_numerical': 0.011530113944655453, 'mean_word_length': 2.3181818181818183, 'pattern_counts': {'":': 0, '<': 95, '<?xml version=': 0, '>': 98, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, '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': '633871', 'n_tokens_mistral': 2413, 'n_tokens_neox': 2136, 'n_words': 423}