'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime"),React=require("react"),core=require("@gem-sdk/core"),dynamic=require("next/dynamic");const LooxReviewsSampleContent=dynamic(()=>Promise.resolve().then(function(){return require("./LooxReviewsSampleContent.js")})),LooxReviewsWithoutProduct=({setting:e,styles:t})=>{let r=core.useEditorMode(),{widgetType:s}=e??{},i=React.useMemo(()=>{switch(s){case"carousel_widget":return{id:"loox-default-carousel"};case"reviews_widget_all_stores":return{id:"looxReviews","data-loox-aggregate":""}}},[s]);return jsxRuntime.jsxs("div",{style:{...core.makeStyleResponsive("ta",t?.align)},children:["edit"===r&&jsxRuntime.jsx(LooxReviewsSampleContent,{setting:e,styles:t}),jsxRuntime.jsx("div",{...i,children:"carousel_widget"===s&&jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsx("div",{className:"loox-v2-carousel-container",id:"LOOX-V2_CAROUSEL-card","data-slide-type":"card",children:" "})})})]})};exports.default=LooxReviewsWithoutProduct;
