'use client';
import{jsx as e,Fragment as t}from"react/jsx-runtime";import{useMemo as i}from"react";import r from"../../configs/Bogos.js";import a from"../ThirdPartyPreview.js";let mapWidgetLabel={icon:"Gift icon",thumnail:"Gift thumbnail",slider:"Gift slider",message:"Cart message","classic-bundle":"Classic bundle","quantity-break":"Quantity break","mix-match":"Mix and match",fbt:"Frequently Bought Together"},BogosSampleContent=({setting:o})=>{let l=o?.widgetType&&mapWidgetLabel[o.widgetType],s=i(()=>l?`${r.label} - ${l}`:r.label,[l]);return e(t,{children:e("div",{className:"p-2",children:e(a,{setting:{label:s,iconSvg:`<img class="gp-w-[24px] border border-[#494949] rounded-[3px]" src="${r.logoUrl}">`}})})})};export{BogosSampleContent as default};
