<commit_before><% extra_content = [] %>
<% extra_content_list = [] %>

<h1><%= _('Products/Services') %></h1>

<%= breadcrumb(@category) if params[:level] %>

<div class='l-sidebar-left-bar'>
  <ul>
    <% if @categories.size > 0 %>
      <% @categories.each do |category| %>
        <%= category_link(category) %>
        <%= category_sub_links(category) %>
      <% end %>
    <% else %>
      <%= content_tag('li', _('There are no sub-categories for %s') % @category.name, :style => 'color: #555753; padding-bottom: 0.5em;') %>
    <% end %>
  </ul>
</div>

<ul id="product-list" class="l-sidebar-left-content">
  <% @products.each do |product| %>
    <% extra_content = @plugins.dispatch(:catalog_item_extras, product).collect { |content| instance_eval(&content) } %>
    <% extra_content_list = @plugins.dispatch(:catalog_list_item_extras, product).collect { |content| instance_eval(&content) } %>

    <li class="product <%= "not-available" unless product.available %>">
      <ul>
        <li class="product-image-link">
          <% if product.image %><commit_msg>[catalog-categories] Adding css class on highlighted product<commit_after><% extra_content = [] %>
<% extra_content_list = [] %>

<h1><%= _('Products/Services') %></h1>

<%= breadcrumb(@category) if params[:level] %>

<div class='l-sidebar-left-bar'>
  <ul>
    <% if @categories.size > 0 %>
      <% @categories.each do |category| %>
        <%= category_link(category) %>
        <%= category_sub_links(category) %>
      <% end %>
    <% else %>
      <%= content_tag('li', _('There are no sub-categories for %s') % @category.name, :style => 'color: #555753; padding-bottom: 0.5em;') %>
    <% end %>
  </ul>
</div>

<ul id="product-list" class="l-sidebar-left-content">
  <% @products.each do |product| %>
    <% extra_content = @plugins.dispatch(:catalog_item_extras, product).collect { |content| instance_eval(&content) } %>
    <% extra_content_list = @plugins.dispatch(:catalog_list_item_extras, product).collect { |content| instance_eval(&content) } %>

    <% status = [] %>
    <% status << 'not-available' if !product.available %>
    <% status << 'highlighted' if product.highlighted %>

    <li class="product <%= status.join(' ') %>">
      <ul>
        <li class="product-image-link">
          <% if product.image %>
{'fraction_non_alphanumeric': 0.20260303687635575, 'fraction_numerical': 0.009544468546637744, 'mean_word_length': 3.6585858585858584, 'pattern_counts': {'":': 0, '<': 64, '<?xml version=': 0, '>': 64, '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': '492912', 'n_tokens_mistral': 828, 'n_tokens_neox': 735, 'n_words': 141}