"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core");const Rivyo=({setting:e,advanced:i})=>{let{widgetType:a,align:t}=e??{};return core.template`
    <div
      class="${i?.cssClass}"
      style="${{...core.makeStyleResponsive("ta",t)}}"
    >
      {% assign widget = '${a}' %}
      {% 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>
  `};exports.default=Rivyo;
