'use client';'use strict';

var css = require('@onbeam/styled-system/css');
var sonner = require('sonner');
var reactDom = require('react-dom');
var utils = require('@onbeam/utils');
var jsxRuntime = require('react/jsx-runtime');

var t=({toastOptions:r={},...s})=>utils.useIsMounted()?reactDom.createPortal(jsxRuntime.jsx(sonner.Toaster,{position:"bottom-right",offset:8,gap:8,className:css.css({pointerEvents:"auto"}),toastOptions:{duration:7e3,unstyled:!0,className:css.css({w:"full"}),...r},...s}),document.body):null;t.displayName="Toaster";

exports.a = t;
//# sourceMappingURL=out.js.map
//# sourceMappingURL=chunk-VTROV3PK.cjs.map