'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),ThirdPartyPreview=require("../ThirdPartyPreview.js"),BoldSubscription=require("../../configs/BoldSubscription.js"),React=require("react");const mapWidgetLabel={v1:"Version 1","bsub-widget-block":"Version 2"},BoldSubscriptionsSampleContent=({setting:e})=>{let r=e?.widgetType&&mapWidgetLabel[e.widgetType],i=React.useMemo(()=>r?`${BoldSubscription.default.label} - ${r}`:BoldSubscription.default.label,[r]);return jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsx("div",{className:"gp-p-2",children:jsxRuntime.jsx(ThirdPartyPreview.default,{setting:{label:i,iconSvg:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${BoldSubscription.default.logoUrl}">`}})})})};exports.default=BoldSubscriptionsSampleContent;
