"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@gem-sdk/core");exports.default=({setting:s,advanced:d})=>{let{widgetType:i,align:t}=s??{};return e.template`
    <div
      class="${d?.cssClass}"
      style="${{...e.makeStyleResponsive("ta",t)}}"
    >
      <div>
        {% assign widget = '${i}' %}
        {% if widget == 'reviews' %}
          <div id="shopify-product-reviews" data-id="{{product.id}}">{{ product.metafields.spr.reviews }}</div>
        {% else %}
          <span class="shopify-product-reviews-badge" data-id="{{ product.id }}"></span>
        {% endif %}
      </div>
    </div>
  `};
