<commit_before>{# BUTTONS MENU #}

{% if is_woocommerce_active == true %}

  {# WooCommerce "My account" menu item #}

  {% include './woocommerce/menu-item-my-account.twig' %}

  {# WooCommerce cart menu-item/button (desktop AND mobile) #}

  {% include './woocommerce/menu-item-cart.twig' %}

{% endif %}

{# Search button (mobile only) #}

{% if CONFIG.search %}
  <li class="menu-item menu-item--button menu-item--search hidden-expanded">

    <button type="button" class="menu-item-link"
      data-toggle="#topbar, body" data-toggle-classname="topbar-expanded"
    >
      <span class="sr-only">Toggle search</span>
      <i class="fa fa-fw fa-lg fa-search"></i>
    </button>

  </li>
{% endif %}

{# Hamburger button (mobile only) #}

<li class="menu-item menu-item--button menu-item--hamburger hidden-expanded">

  <button type="button" class="menu-item-link"
    data-panel-toggle data-panel-target="panel-menu"
  >
    <span class="sr-only">Toggle navigation</span>
    <div class="hamburger-wrapper">
      <div class="hamburger"></div>
    </div>
  </button>

</li>

{# Toggle topbar on (collapsed) desktop navbar (desktop only) #}

<li class="menu-item menu-item--button menu-item--compress visible-expanded">

  <button type="button" class="menu-item-link"
    data-toggle="body" data-toggle-classname="header-uncompressed"
  >
    <span class="sr-only">Toggle topbar</span>
    <i class="fa fa-fw fa-lg fa-plus"></i>
  </button>

</li>
<commit_msg>[TPL] Control buttons: WIP mobile/navbar menu/search/plus buttons<commit_after>{# BUTTONS MENU #}

{% if is_woocommerce_active == true %}

  {# WooCommerce "My account" menu item #}

  {% include './woocommerce/menu-item-my-account.twig' %}

  {# WooCommerce cart menu-item/button (desktop AND mobile) #}

  {% include './woocommerce/menu-item-cart.twig' %}

{% endif %}

{# Search button (mobile only) #}

{% if CONFIG.search %}
  <li class="menu-item menu-item--button menu-item--search hidden-expanded">

    <button type="button" class="menu-item-link"
      data-toggle="#topbar, body" data-toggle-classname="topbar-expanded"
    >
      <span class="sr-only">Toggle search</span>
      <i class="fa fa-fw fa-lg fa-search"></i>
    </button>

    {# <button class="btn btn-ctrl btn-ctrl-search" data-toggle="#topbar, body" data-toggle-classname="topbar-expanded">
      <span class="sr-only">Toggle search</span>
    </button> #}

  </li>
{% endif %}

{# Hamburger button (mobile only) #}

<li class="menu-item menu-item--button menu-item--hamburger hidden-expanded">

  <button type="button" class="menu-item-link" data-panel-toggle="data-panel-toggle" data-panel-target="panel-menu">
    <span class="sr-only">Toggle navigation</span>
    <div class="hamburger-wrapper">
      <div class="hamburger"></div>
    </div>
  </button>

  {# <button class="btn btn-ctrl btn-ctrl-menu" data-panel-toggle="data-panel-toggle" data-panel-target="panel-menu">
      <span class="btn-ctrl-extra"></span>
    <span class="sr-only">Toggle navigation</span>
  </button> #}

</li>

{# Toggle topbar on (collapsed) desktop navbar (desktop only) #}

<li class="menu-item menu-item--button menu-item--compress visible-expanded">

  <button type="button" class="menu-item-link"
    data-toggle="body" data-toggle-classname="header-uncompressed"
  >
    <span class="sr-only">Toggle topbar</span>
    <i class="fa fa-fw fa-lg fa-plus"></i>
  </button>

  {# <button class="btn btn-ctrl btn-ctrl-plus" data-toggle="body" data-toggle-classname="header-uncompressed">
    <span class="sr-only">Toggle topbar</span>
  </button> #}

</li>
{'fraction_non_alphanumeric': 0.18531956461066146, 'fraction_numerical': 0.0, 'mean_word_length': 3.765957446808511, 'pattern_counts': {'":': 0, '<': 69, '<?xml version=': 0, '>': 69, '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': '2640205', 'n_tokens_mistral': 1295, 'n_tokens_neox': 1233, 'n_words': 243}