{"version":3,"names":["FloatingRootStore","PopupTriggerMap","getEmptyRootContext","open","transitionStatus","undefined","floatingElement","referenceElement","triggerElements","floatingId","syncOnly","nested","onOpenChange"],"sources":["get-empty-root-context.ts"],"sourcesContent":["/**\n * Stage 3 port of Base UI React's `getEmptyRootContext`\n * (`packages/react/src/floating-ui-react/utils/getEmptyRootContext.ts`).\n *\n * Factory for a structurally valid, no-op `FloatingRootStore`. Used when\n * an API requires a `FloatingRootContext` but the caller has no real\n * floating surface mounted yet. The returned store responds to every\n * method call, but `setOpen` has no `onOpenChange` to forward to and\n * there are no reference / floating elements seeded.\n */\n\nimport { FloatingRootStore } from \"../components/floating-root-store\";\nimport { PopupTriggerMap } from \"../popup-trigger-map\";\nimport type { FloatingRootContext } from \"../types\";\n\nexport function getEmptyRootContext(): FloatingRootContext {\n\treturn new FloatingRootStore({\n\t\topen: false,\n\t\ttransitionStatus: undefined,\n\t\tfloatingElement: null,\n\t\treferenceElement: null,\n\t\ttriggerElements: new PopupTriggerMap(),\n\t\tfloatingId: \"\",\n\t\tsyncOnly: false,\n\t\tnested: false,\n\t\tonOpenChange: undefined,\n\t});\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,SAASA,iBAAiB,QAAQ,mCAAmC;AACrE,SAASC,eAAe,QAAQ,sBAAsB;AAGtD,OAAO,SAASC,mBAAmBA,CAAA,EAAwB;EAC1D,OAAO,IAAIF,iBAAiB,CAAC;IAC5BG,IAAI,EAAE,KAAK;IACXC,gBAAgB,EAAEC,SAAS;IAC3BC,eAAe,EAAE,IAAI;IACrBC,gBAAgB,EAAE,IAAI;IACtBC,eAAe,EAAE,IAAIP,eAAe,CAAC,CAAC;IACtCQ,UAAU,EAAE,EAAE;IACdC,QAAQ,EAAE,KAAK;IACfC,MAAM,EAAE,KAAK;IACbC,YAAY,EAAEP;EACf,CAAC,CAAC;AACH","ignoreList":[]}