'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),ThirdPartyPreview=require("../ThirdPartyPreview.js"),Opinew=require("../../configs/Opinew.js"),React=require("react"),index=require("../../settings/Opinew/index.js");const OpinewSampleContent=({setting:e})=>{let i=Object.fromEntries(index.WidgetOptions.map(({label:e,value:i})=>[i,e])),r=e?.widgetType&&i[e.widgetType],t=React.useMemo(()=>r?`${Opinew.default.label} - ${r}`:Opinew.default.label,[r]);return jsxRuntime.jsx("div",{className:"gp-p-2",children:jsxRuntime.jsx(ThirdPartyPreview.default,{setting:{label:t,iconSvg:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${Opinew.default.logoUrl}">`}})})};exports.default=OpinewSampleContent;
