'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("../ThirdPartyPreview.js"),t=require("../../configs/YotpoReviews.js"),i=require("react");const s={reviews:"Reviews","star-rating":"Star Badge",badge:"Star Badge",reviewHighlights:"Review Highlights"};exports.default=({setting:a})=>{let g=a?.widgetType&&s[a.widgetType],d=i.useMemo(()=>g?`${t.default.label} - ${g}`:t.default.label,[g]);return e.jsx(e.Fragment,{children:e.jsx("div",{className:"gp-p-2",children:e.jsx(r.default,{setting:{label:d,iconSvg:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${t.default.logoUrl}">`}})})})};
