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