'use client';
import{jsx as e,Fragment as r}from"react/jsx-runtime";import i from"../ThirdPartyPreview.js";import t from"../../configs/JudgemeReviews.js";import{useMemo as d}from"react";let o={single_product_preview_badge:"Preview Badge (Stars)",review_widget:"Review Widget",reviews_carousel:"Reviews Carousel",reviews_text:"Reviews Text",section_for_medals:"Section for Medals",ugc_media_grid:"UGC Media Grid",verified_reviews_count_badge:"Verified Review Widget"},s=({setting:s})=>{let g=s?.widgetType&&o[s.widgetType],a=d(()=>g?`${t.label} - ${g}`:t.label,[g]);return e(r,{children:e("div",{className:"gp-p-2",children:e(i,{setting:{label:a,iconSvg:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${t.logoUrl}">`}})})})};export{s as default};
