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