{"version":3,"sources":["../../../src/components/Dialog/Dialog.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport { useDialog } from './useDialog';\nimport { useDialogContextValues } from './useDialogContextValues';\nimport { renderDialog } from './renderDialog';\nimport type { DialogProps } from './Dialog.types';\nimport { composeComponentWithoutRef } from '../../utils/composeComponent';\n\n/**\n * The `Dialog` root component serves as an interface for all Dialog behaviors.\n * It provides context to compound sub-components: `DialogTrigger`, `DialogSurface`,\n * `DialogHeader`, `DialogTitle`, `DialogBody`, and `DialogActions`.\n *\n * This component uses the native HTML `<dialog>` element (via `DialogSurface`) for\n * built-in focus trapping, backdrop, and accessibility semantics.\n */\nexport const Dialog: React.FC<DialogProps> = /*#__PURE__*/ React.memo(\n  /*#__PURE__*/ composeComponentWithoutRef('Dialog', useDialog, useDialogContextValues, renderDialog),\n);\n\nDialog.displayName = 'Dialog';\n"],"names":["Dialog","React","memo","composeComponentWithoutRef","useDialog","useDialogContextValues","renderDialog","displayName"],"mappings":"AAAA;;;;;+BAiBaA;;;eAAAA;;;;iEAfU;2BACG;wCACa;8BACV;kCAEc;AAUpC,MAAMA,SAAgC,WAAW,GAAGC,OAAMC,IAAI,CACnE,WAAW,GAAGC,IAAAA,4CAA0B,EAAC,UAAUC,oBAAS,EAAEC,8CAAsB,EAAEC,0BAAY;AAGpGN,OAAOO,WAAW,GAAG"}