'use client';
import{jsx as e,Fragment as t}from"react/jsx-runtime";import{useMemo as r}from"react";import i from"../../configs/Bogos.js";import a from"../ThirdPartyPreview.js";let o={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"},l=({setting:l})=>{let s=l?.widgetType&&o[l.widgetType],n=r(()=>s?`${i.label} - ${s}`:i.label,[s]);return e(t,{children:e("div",{className:"p-2",children:e(a,{setting:{label:n,iconSvg:`<img class="gp-w-[24px] border border-[#494949] rounded-[3px]" src="${i.logoUrl}">`}})})})};export{l as default};
