'use strict';

var chunkMWPJRLVU_cjs = require('./chunk-MWPJRLVU.cjs');
var icons = require('@onbeam/icons');
var sonner = require('sonner');
var jsxRuntime = require('react/jsx-runtime');

var i=(s,{icon:o,description:c,duration:e}={})=>sonner.toast.custom(r=>jsxRuntime.jsx(chunkMWPJRLVU_cjs.a,{icon:o,title:s,description:c,onClose:()=>sonner.toast.dismiss(r)}),{duration:e}),T=(s,o)=>i(s,{...o,icon:jsxRuntime.jsx(icons.SuccessIcon,{})}),p=(s,o)=>i(s,{...o,icon:jsxRuntime.jsx(icons.ErrorIcon,{})}),g=s=>sonner.toast.dismiss(s),D={message:i,success:T,error:p,dismiss:g};

exports.a = D;
//# sourceMappingURL=out.js.map
//# sourceMappingURL=chunk-5FGOQLMP.cjs.map