'use client';
import{jsx as r,Fragment as e}from"react/jsx-runtime";import o from"../ThirdPartyPreview.js";import i from"../../configs/BoldSubscription.js";import{useMemo as t}from"react";let p={v1:"Version 1","bsub-widget-block":"Version 2"},l=({setting:l})=>{let s=l?.widgetType&&p[l.widgetType],d=t(()=>s?`${i.label} - ${s}`:i.label,[s]);return r(e,{children:r("div",{className:"gp-p-2",children:r(o,{setting:{label:d,iconSvg:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${i.logoUrl}">`}})})})};export{l as default};
