'use client';
import{jsx as e}from"react/jsx-runtime";import{makeStyleResponsive as i}from"@gem-sdk/core";import t from"./ThirdPartyPreview.js";import r from"../configs/TrustshopProductReviews.js";let widgetTypeOptions=[{label:"Widget Product Rating",value:"widget-product-rating"},{label:"All Reviews",value:"all-reviews"},{label:"Widget Box",value:"widget-box"},{label:"Review Testimonial",value:"review-testimonial"}],TrustshopProductReviews=({setting:l})=>{let o=widgetTypeOptions.find(e=>e.value===l?.widgetType);return e("div",{style:{...i("ta",l?.align)},children:e("div",{className:"gp-p-2",children:e(t,{setting:{label:"TrustShop: Product Reviews - "+o?.label,iconSvg:`<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="${r.logoUrl}">`}})})})};export{TrustshopProductReviews as default};
