'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("../ThirdPartyPreview.js"),t=require("../../configs/LooxReviews.js"),i=require("react");const s={rating_widget:"Rating widget",reviews_widget:"Reviews widget",carousel_widget:"Carousel widget"};exports.default=({setting:d})=>{let g=d?.widgetType&&s[d.widgetType],a=i.useMemo(()=>g?`${t.default.label} - ${g}`:t.default.label,[g]);return e.jsx(e.Fragment,{children:e.jsx("div",{className:"gp-p-2",children:e.jsx(r.default,{setting:{label:a,iconSvg:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${t.default.logoUrl}">`}})})})};
