{"version":3,"sources":["../src/components/TeachingPopover/useTeachingPopover.ts"],"sourcesContent":["'use client';\n\nimport { usePopover } from '../Popover/usePopover';\nimport type { TeachingPopoverProps, TeachingPopoverState } from './TeachingPopover.types';\n\n/**\n * Returns the state for a TeachingPopover component.\n *\n * Built on top of the headless `Popover` and defaults `withArrow` to `true`,\n * matching the v9 TeachingPopover convention.\n */\nexport const useTeachingPopover = (props: TeachingPopoverProps): TeachingPopoverState => {\n  return usePopover({ withArrow: true, ...props });\n};\n"],"names":["useTeachingPopover","props","usePopover","withArrow"],"mappings":"AAAA;;;;;+BAWaA;;;eAAAA;;;4BATc;AASpB,MAAMA,qBAAqB,CAACC;IACjC,OAAOC,IAAAA,sBAAU,EAAC;QAAEC,WAAW;QAAM,GAAGF,KAAK;IAAC;AAChD"}