'use client';
import{jsx as e,Fragment as r}from"react/jsx-runtime";import i from"../ThirdPartyPreview.js";import t from"../../configs/Growave.js";import{useMemo as o}from"react";let a={reviews:"Reviews",badge:"Star Badge",productListBadge:"Product List Badge",wishList:"Wish List",socialShare:"Social Share",favorite:"Favorite Icon"},s=({setting:s})=>{let d=s?.widgetType&&a[s.widgetType],p=o(()=>d?`${t.label} - ${d}`:t.label,[d]);return e(r,{children:e("div",{className:"gp-p-2",children:e(i,{setting:{label:p,iconSvg:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${t.logoUrl}">`}})})})};export{s as default};
