{"version":3,"sources":["../src/components/Toast/ToastContainer/ToastContainer.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport type { ToastContainerProps } from './ToastContainer.types';\nimport { useToastContainer } from './useToastContainer';\nimport { useToastContainerContextValues } from './useToastContainerContextValues';\nimport { renderToastContainer } from './renderToastContainer';\n\n/**\n * Wraps a Toast and provides context for its content and behavior.\n *\n * The ToastContainer should be rendered inside a Toaster, which manages the stacking and positioning of multiple ToastContainers.\n */\nexport const ToastContainer: ForwardRefComponent<ToastContainerProps> = React.forwardRef((props, ref) => {\n  const state = useToastContainer(props, ref);\n  const contextValues = useToastContainerContextValues(state);\n  return renderToastContainer(state, contextValues);\n});\n\nToastContainer.displayName = 'ToastContainer';\n"],"names":["ToastContainer","React","forwardRef","props","ref","state","useToastContainer","contextValues","useToastContainerContextValues","renderToastContainer","displayName"],"mappings":"AAAA;;;;;+BAcaA;;;eAAAA;;;;iEAZU;mCAGW;gDACa;sCACV;AAO9B,MAAMA,+BAA2DC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IAC/F,MAAMC,QAAQC,IAAAA,oCAAiB,EAACH,OAAOC;IACvC,MAAMG,gBAAgBC,IAAAA,8DAA8B,EAACH;IACrD,OAAOI,IAAAA,0CAAoB,EAACJ,OAAOE;AACrC;AAEAP,eAAeU,WAAW,GAAG"}