import{makeStyleResponsive as e,template as a}from"@gem-sdk/core";let i=({setting:i,advanced:d})=>{let{widgetType:t,align:s}=i??{};return a`
    <div
      class="${d?.cssClass}"
      style="${{...e("ta",s)}}"
    >
      {% assign widget = '${t}' %}
      {% case widget %}
        {% when "reviews" %}
          <div id="wc_review_section" class="wc_review_main_content" data-url="{{ shop.url }}" data-handle="{{ product.handle }}" data-product_id="{{ product.id }}" data-limit="0"></div>
        {% when "badge" %}
          <div class="wc_product_review_badge" data-handle="{{ product.handle }}" data-product_id="{{ product.id }}"></div>
        {% when "testimonials" %}
          <div class="wc_testimonial_section"></div>
        {% when "allReviewsPage" %}
          <div id="wc_all_review_page" class="wc_review_main_content" data-url="{{ shop.url }}" data-limit="{{ratingsLimit}}"></div>
      {% endcase %}
    </div>
  `};export{i as default};
