import{makeStyleResponsive as o,template as t}from"@gem-sdk/core";let e=({setting:e,advanced:r})=>{let{widgetType:a,align:i}=e??{};return t`
      <div
        class="${r?.cssClass}"
        style="${{...o("ta",i)}}"
      >
        <klarna-placement
          data-key=${(()=>{switch(a){case"topStripPromotionBadge":default:return"top-strip-promotion-badge";case"topStripPromotionAutoSize":return"top-strip-promotion-auto-size";case"footerPromotionAutoSize":return"footer-promotion-auto-size";case"infoPage":return"info-page";case"creditPromotionBadge":return"credit-promotion-badge";case"creditPromotionAutoSize":return"credit-promotion-auto-size"}})()}
          data-locale={{ request.locale.iso_code }}-{{ localization.country.iso_code }}
        ></klarna-placement>
      </div>
    `};export{e as default};
