function n(n,i){var t=e(n,i);return{position:t,index:t?n[t].findIndex((n=>n.id===i)):-1}}var e=(n,e)=>{var i;return null==(i=Object.values(n).flat().find((n=>n.id===e)))?void 0:i.position};function i(n){var e="center";return n.includes("right")&&(e="flex-end"),n.includes("left")&&(e="flex-start"),{display:"flex",flexDirection:"column",alignItems:e}}export{n as findToast,e as getToastPosition,i as getToastStyle};
//# sourceMappingURL=toast.utils.js.map
