"use client";
import { type Lang } from "@/lib/config";

// Direct imports instead of lazy loading to fix webpack HMR error
import AIAgentsShowcase from "./AIAgentsShowcase";
import AnimatedStats from "./AnimatedStats";
import IndustrySolutions from "./IndustrySolutions";
import HeroEnhanced from "./HeroEnhanced";
import WhatsAppPower from "./WhatsAppPower";

// Direct component exports (lazy loading removed to fix webpack HMR error)
export function LazyAIAgentsShowcase({ lang }: { lang: Lang }) {
  return <AIAgentsShowcase lang={lang} />;
}

export function LazyAnimatedStats({ lang }: { lang: Lang }) {
  return <AnimatedStats lang={lang} />;
}

export function LazyIndustrySolutions({ lang }: { lang: Lang }) {
  return <IndustrySolutions lang={lang} />;
}

export function LazyHeroEnhanced({ lang }: { lang: Lang }) {
  return <HeroEnhanced lang={lang} />;
}

export function LazyWhatsAppPower({ lang }: { lang: Lang }) {
  return <WhatsAppPower lang={lang} />;
}
