"use client";
'use strict';

const jsxRuntime = require('react/jsx-runtime');
const LucideIcons = require('lucide-react');
const index = require('../../../../node_modules/.pnpm/next-themes@0.4.6_react-dom@19.2.0_react@19.2.0__react@19.2.0/node_modules/next-themes/dist/index.cjs');
const sonner = require('sonner');

const Toaster = ({ ...props }) => {
  const { theme = "system" } = index.useTheme();
  return /* @__PURE__ */ jsxRuntime.jsx(
    sonner.Toaster,
    {
      theme,
      className: "toaster group",
      icons: {
        success: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.CircleCheckIcon, { className: "size-4" }),
        info: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.InfoIcon, { className: "size-4" }),
        warning: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.TriangleAlertIcon, { className: "size-4" }),
        error: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.OctagonXIcon, { className: "size-4" }),
        loading: /* @__PURE__ */ jsxRuntime.jsx(LucideIcons.Loader2Icon, { className: "size-4 animate-spin" })
      },
      style: {
        "--normal-bg": "var(--popover)",
        "--normal-text": "var(--popover-foreground)",
        "--normal-border": "var(--border)",
        "--border-radius": "var(--radius)"
      },
      ...props
    }
  );
};

exports.Toaster = Toaster;
