{"version":3,"file":"ToastPending.mjs","sources":["../../../packages/toast/ToastPending.tsx"],"sourcesContent":["import { toast, ToastOptions } from 'react-toastify'\nimport {\n  ToastPendingLoaderStyle,\n  ToastPendingStyle,\n  ToastPendingTextStyle,\n} from './ToastPendingStyles.js'\nimport { TOASTS_PENDING_OPTIONS } from './toastsDefaultOptions.js'\n\nexport function ToastPending(content: JSX.Element, options?: ToastOptions) {\n  return toast(\n    <ToastPendingStyle>\n      <ToastPendingLoaderStyle />\n      {/* eslint-disable-next-line */}\n      <ToastPendingTextStyle>{content as any}</ToastPendingTextStyle>\n    </ToastPendingStyle>,\n    { ...TOASTS_PENDING_OPTIONS, ...(options || {}) },\n  )\n}\n"],"names":["ToastPending","content","options","toast","_jsxs","ToastPendingStyle","children","_jsx","ToastPendingLoaderStyle","ToastPendingTextStyle","TOASTS_PENDING_OPTIONS"],"mappings":";;;;;AAQO,SAASA,YAAYA,CAACC,OAAoB,EAAEC,OAAsB,EAAE;AACzE,EAAA,OAAOC,KAAK,cACVC,IAAA,CAACC,iBAAiB,EAAA;IAAAC,QAAA,EAAA,cAChBC,GAAA,CAACC,uBAAuB,IAAE,CAAC,eAE3BD,GAAA,CAACE,qBAAqB,EAAA;AAAAH,MAAAA,QAAA,EAAEL,OAAAA;AAAO,KAA+B,CAAC,CAAA;AAAA,GAC9C,CAAC,EACpB;AAAE,IAAA,GAAGS,sBAAsB;IAAE,IAAIR,OAAO,IAAI,EAAE,CAAA;AAAE,GAClD,CAAC,CAAA;AACH;;;;"}