"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core");const FordeerProductLabels=({setting:e,advanced:d})=>{let{widgetType:t,align:a,badgeId:r,trustBadgeId:s}=e??{};return core.template`
      <div
        class="${d?.cssClass}"
        style="${{...core.makeStyleResponsive("ta",a)}}"
      >
        {% assign widget = '${t}' %}
        {% if widget == 'badge' %}
          <div class="fordeerbadge-badge" data-product-id={{ product.id }} data-current-page={{ request.page_type }} data-badge-id="${r}"></div>
        {% elsif widget == 'trustedBadge' %}
          <div class="fordeerbadge-trustbadge" data-product-id={{ product.id }} data-current-page={{ request.page_type }} data-trust-badge-id="${s}"></div>
        {% elsif widget == 'label' %}
          <div class="fordeerbadge-label" data-product-id={{product.id }}></div>
        {% endif %}
      </div>
    `};exports.default=FordeerProductLabels;
