import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import "./index.css";
import App from "./App.tsx";
import { Bounce, ToastContainer } from "react-toastify";
import { HelmetProvider } from "react-helmet-async";

// Verify deployment version
console.log("🚀 Build Version: 2026-01-24 T15:45");
console.log("🔧 Optimization: Hero Images fetchPriority='high' (ALL)");

createRoot(document.getElementById("root")!).render(
  <StrictMode>
    <HelmetProvider>
      <ToastContainer
        position="top-center"
        autoClose={5000}
        hideProgressBar={false}
        newestOnTop={false}
        closeOnClick={false}
        rtl={false}
        pauseOnFocusLoss
        draggable
        pauseOnHover
        theme="light"
        transition={Bounce}
      />

      <App />
    </HelmetProvider>
  </StrictMode>
);
