<commit_before><?php
$queried_object = get_queried_object();
$slideshow = get_field("slideshow");
$featured_image = is_singular() ? get_the_post_thumbnail($post->ID, "hero", array("class" => "hero_image")) : (is_archive() ? get_field("featured_image", $queried_object) : false);
$title = is_singular() ? get_the_title() : (is_archive() ? get_the_archive_title() : (is_404() ? __("404: Page Not Found", "new_site") : false));

if ($slideshow || $featured_image || $title) {
    echo "<div class='hero_container -fullbleed' role='banner'><div class='hero-block'>";

    if ($slideshow) {
        echo "<div class='hero_swiper-container swiper-container'>";
        echo "<div class='swiper-wrapper'>";

        $i = 0;

        while (have_rows("slideshow")) {
            the_row();

            $image = get_sub_field("image");

            if ($image) {
                $i++;

                $img_alt = $image["alt"] ? " alt='{$image["alt"]}'" : "";
                $img_src_mobile = $image["sizes"]["hero"] ? $image["sizes"]["hero"]: "";
                $img_src_tablet = $image["sizes"]["hero"] ? $image["sizes"]["hero_medium"] : "";
                $img_src_desktop = $image["sizes"]["hero"] ? $image["sizes"]["hero_large"] : "";
                $img_title = $image["title"];
                $img_caption = $image["caption"];
                $helper = $i > 1 ? "_noncrtical" : "";

                echo "<figure class='hero_figure swiper-slide{$helper}'>";

                if ($img_src_mobile) {<commit_msg>Remove _noncritical helper from slides > 1<commit_after><?php
$queried_object = get_queried_object();
$slideshow = get_field("slideshow");
$featured_image = is_singular() ? get_the_post_thumbnail($post->ID, "hero", array("class" => "hero_image")) : (is_archive() ? get_field("featured_image", $queried_object) : false);
$title = is_singular() ? get_the_title() : (is_archive() ? get_the_archive_title() : (is_404() ? __("404: Page Not Found", "new_site") : false));

if ($slideshow || $featured_image || $title) {
    echo "<div class='hero_container -fullbleed' role='banner'><div class='hero-block'>";

    if ($slideshow) {
        echo "<div class='hero_swiper-container swiper-container'>";
        echo "<div class='swiper-wrapper'>";

        $i = 0;

        while (have_rows("slideshow")) {
            the_row();

            $image = get_sub_field("image");

            if ($image) {
                $i++;

                $img_alt = $image["alt"] ? " alt='{$image["alt"]}'" : "";
                $img_src_mobile = $image["sizes"]["hero"] ? $image["sizes"]["hero"]: "";
                $img_src_tablet = $image["sizes"]["hero"] ? $image["sizes"]["hero_medium"] : "";
                $img_src_desktop = $image["sizes"]["hero"] ? $image["sizes"]["hero_large"] : "";
                $img_title = $image["title"];
                $img_caption = $image["caption"];

                echo "<figure class='hero_figure swiper-slide'>";

                if ($img_src_mobile) {
{'fraction_non_alphanumeric': 0.1995987963891675, 'fraction_numerical': 0.005349381477766633, 'mean_word_length': 3.032345013477089, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 19, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '5072050', 'n_tokens_mistral': 997, 'n_tokens_neox': 968, 'n_words': 165}