"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core"),types=require("../types.js");const Wiser=({setting:e,advanced:t})=>{let{wiserVersion:r,widgetType:s,widgetTypeV2:d,align:a}=e??{};return core.template`
    <div
      class="${t?.cssClass}"
      style="${{...core.makeStyleResponsive("ta",a)}}"
    >
    ${r===types.WISER_VERSION.V1?core.template`{% include 'wiser_${s}' %}`:core.template`<div class="${d} ws_inr_main_wgt" data-wiser-widget="${"evm-related-product"===d?"related_products":d}" data-widget-rendered="true"></div>`}
    </div>
  `};exports.default=Wiser;
