'use strict';
'use client';
import { jsx } from 'react/jsx-runtime';
import { Toaster as Toaster$1 } from 'sonner';
import { getToasterId } from './Toaster.funcs.js';

var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", {
  value,
  configurable: true
});
function Toaster() {
  return /* @__PURE__ */jsx(Toaster$1, {
    id: getToasterId(),
    richColors: true,
    closeButton: true,
    position: "bottom-right",
    expand: false,
    className: "toaster group",
    toastOptions: {
      classNames: {
        toast: "group toast group-[.toaster]:bg-background group-[.toaster]:text-foreground group-[.toaster]:shadow-lg",
        description: "group-[.toast]:text-muted-foreground",
        actionButton: "group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",
        cancelButton: "group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"
      }
    }
  });
}
__name(Toaster, "Toaster");

export { Toaster };
