'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),ThirdPartyPreview=require("../ThirdPartyPreview.js"),Stamped=require("../../configs/Stamped.js"),React=require("react");const mapWidgetLabel={"main-widget":"Main Widget","badge-single":"Badge Single","badge-double":"Badge Double","badge-ribbon":"Badge Ribbon","product-rating":"Product Rating",carousel:"Carousel","full-page":"Full Page","visual-gallery":"Visual Gallery","wall-photos":"Wall Photos","site-badge":"Site Badge","instagram-feed":"Instagram Feed","checkout-reviews":"Checkout Reviews","single-highlight":"Single Highlight","top-rated":"Top Rated","star-rating-badge":"Star Rating"},mapWidgetLabelV2={"main-widget":"Main Widget","product-rating-image":"Product Rating","badge-double-image":"Badge Double","badge-ribbon-image":"Badge Ribbon","badge-single-image":"Badge Single",carousel:"Carousel","full-page":"Full Page","site-badge":"Site Badge","star-rating-badge":"Star Rating","visual-gallery":"Visual Gallery","wall-photos":"Wall Photos","instagram-feed":"Instagram Feed","single-highlight":"Single Highlight","top-rated":"Top Rated","checkout-comments":"Checkout Comments"},StampedSampleContent=({setting:e})=>{let a=e?.version,t="v1"===a?e?.widgetType&&mapWidgetLabel[e.widgetType]:e?.widgetTypeV2&&mapWidgetLabelV2[e.widgetTypeV2],i=React.useMemo(()=>t?`${Stamped.default.label} - ${t}`:Stamped.default.label,[t]);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="${Stamped.default.logoUrl}">`}})})})};exports.default=StampedSampleContent;
