"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var core=require("@gem-sdk/core");const Omnisend=({setting:e,advanced:s})=>{let{widgetType:i,landingPageLink:t,embeddedCode:n,align:d}=e??{};return core.template`
    <div
      class="${s?.cssClass}"
      style="${{...core.makeStyleResponsive("ta",d)}}"
    >
      {% assign widget = '${i}' %}
      {% case widget %}
        {% when "landing-page" %}
          {% if '${t}' %}
            <iframe src="${t}" width="100%" height="100%" style="position: absolute; border: medium none;" scrolling="no"></iframe>
          {% endif %}
        {% when "embedded" %}
          {% if '${n}' %}
            ${n}
          {% endif %}
      {% endcase %}
    </div>
  `};exports.default=Omnisend;
