'use client';
import{jsx as e}from"react/jsx-runtime";import t from"../ThirdPartyPreview.js";import r from"../../configs/UltimateSalesBoost.js";import{useMemo as o}from"react";import{WidgetOptions as i}from"../../settings/UltimateSalesBoost/index.js";let s=({setting:s})=>{let l=Object.fromEntries(i.map(({label:e,value:t})=>[t,e])),m=s?.widgetType&&l[s.widgetType],a=o(()=>m?`${r.label} - ${m}`:r.label,[m]);return e("div",{className:"gp-p-2",children:e(t,{setting:{label:a,iconSvg:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${r.logoUrl}">`}})})};export{s as default};
