'use client';
import{jsxs as e,jsx as t,Fragment as r}from"react/jsx-runtime";import{useMemo as o}from"react";import{useEditorMode as i,makeStyleResponsive as a}from"@gem-sdk/core";import d from"next/dynamic";let l=d(()=>import("./LooxReviewsSampleContent.js")),s=({setting:d,styles:s})=>{let c=i(),{widgetType:n}=d??{},m=o(()=>{switch(n){case"carousel_widget":return{id:"loox-default-carousel"};case"reviews_widget_all_stores":return{id:"looxReviews","data-loox-aggregate":""}}},[n]);return e("div",{style:{...a("ta",s?.align)},children:["edit"===c&&t(l,{setting:d,styles:s}),t("div",{...m,children:"carousel_widget"===n&&t(r,{children:t("div",{className:"loox-v2-carousel-container",id:"LOOX-V2_CAROUSEL-card","data-slide-type":"card",children:" "})})})]})};export{s as default};
