'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),core=require("@gem-sdk/core"),ThirdPartyPreview=require("./ThirdPartyPreview.js"),TrustshopProductReviews$1=require("../configs/TrustshopProductReviews.js");const 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:e})=>{let r=widgetTypeOptions.find(r=>r.value===e?.widgetType);return jsxRuntime.jsx("div",{style:{...core.makeStyleResponsive("ta",e?.align)},children:jsxRuntime.jsx("div",{className:"gp-p-2",children:jsxRuntime.jsx(ThirdPartyPreview.default,{setting:{label:"TrustShop: Product Reviews - "+r?.label,iconSvg:`<img class="gp-w-6 gp-border gp-border-[#494949] gp-rounded-[3px]" src="${TrustshopProductReviews$1.default.logoUrl}">`}})})})};exports.default=TrustshopProductReviews;
