{% assign swapped_groups = 'd1cc8cb4-fc5b-48b3-8e85-2f4faaf982dd, 0ecc1170-5761-4b5b-9047-5992232ceff4, 172784c9-7c26-4ffd-891f-4dbe8fda324f, 13765f3c-f1ee-4196-b846-1f07f63b3b64, c2caaef8-bebf-46b7-857b-79934a667495, 33842d33-6e9d-4dd6-a07c-49f2ce62b752, 011e1a52-beeb-4369-b030-a9ee3a0efe21, 216f8729-c6c6-4708-ad2c-fc732ef2d505, c1862cc1-a933-42bd-81cc-ebab4ec8d3d2'  %}
{% assign is_in_group = false %}

  {% for group in current_person.groups %}
    {% if swapped_groups contains group.id %}
        {% assign is_in_group = true %}
        {% break %}
    {% endif %}
  {% endfor %}

  {% if is_in_group%}
    <div class="np-learning-paths-resources">
      {% if items.any? %}
        {% for learning_path in items %}
          {% if learning_path.name contains "Workforce"%}
            {% include "cards_learning_path" with learning_path %}
          {% endif %}
        {% endfor %}
        {% for learning_path in items %}
          {% if learning_path.name contains "CoreHR"%}
            {% include "cards_learning_path" with learning_path %}
          {% endif %}
        {% endfor %}
        {% for learning_path in items %}
          {% unless learning_path.name contains "CoreHR"%}
            {% unless learning_path.name contains "Workforce"%}
              {% include "cards_learning_path" with learning_path %}
            {% endunless%}
          {% endunless %}
        {% endfor %}
      {% else %}
        <div class="np-learning-paths-resources-container">
          <div class="np-zero-state-text">
            {% t .empty %}
          </div>
          <img class="np-zero-state-learning-paths" alt="{% t .empty %}" />
        </div>
      {% endif %}
    </div> 
    {%else%}
    <div class="np-learning-paths-resources">
      {% if items.any? %}
        {% for learning_path in items %}
          {% include "cards_learning_path" with learning_path %}
        {% endfor %}
        {% else %}
        <div class="np-learning-paths-resources-container">
          <div class="np-zero-state-text">
            {% t .empty %}
          </div>
          <img class="np-zero-state-learning-paths" alt="{% t .empty %}" />
        </div>
      {% endif %}
    </div>   
  {% endif %}
