'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),t=require("../ThirdPartyPreview.js"),r=require("../../configs/Vitals.js"),s=require("react");const o={productReviews:"Product Reviews",productBundles:"Product Bundles",volumeDiscounts:"Volume Discounts",stockScarcity:"Stock Scarcity",goToWishlist:"Go to Wishlist",paymentLogos:"Payment Logos",recentlyViewed:"Recently Viewed",shoppableInstagramFeed:"Shoppable Instagram Feed",trustSealsAndBadges:"Trust Seals and Badges",addToWishlist:"Add to Wishlist",sizeChart:"Size Chart",upsellBuilderBogo:"Buy X Get Y",bundleCountdownBox:"Countdown Timer",reviewsUnderTitle:"Review under product title",productReviewsCarousel:"Reviews Carousel",shippingBox:"Shipping Information",currencyConverter:"Currency Converter",relatedProducts:"Related Products",backInStock:"Back In Stock"};exports.default=({setting:i})=>{let d=i?.widgetType&&o[i.widgetType],l=s.useMemo(()=>d?`${r.default.label} - ${d}`:r.default.label,[d]);return e.jsx(e.Fragment,{children:e.jsx("div",{className:"gp-p-2",children:e.jsx(t.default,{setting:{label:l,iconSvg:`<img class="gp-w-[24px] gp-border gp-border-[#494949] gp-rounded-[3px]" src="${r.default.logoUrl}">`}})})})};
