{"version":3,"sources":["../src/react/host-slot.ts"],"sourcesContent":["\"use client\";\n\n/**\n * `@ai-matrx/meet/host-slot` — the Meet host CONTEXT and nothing else (a few hundred bytes).\n *\n * A host app that must keep `<MeetProvider>`'s whole engine out of its first load (the app shell\n * mounts Meet on every signed-in route, but nothing renders until a call arrives) renders this\n * context's Provider itself, immediately, with an inert `null` — and a lazily loaded core mounts\n * `<MeetProvider>` as a null-rendering sibling that publishes its live `MeetHost` up through\n * `onHost`. Children never remount; every `useMeetHost()` reader sees `null` (inert) until the\n * engine is ready, which is the state it already handles for a signed-out visitor.\n *\n * ONE CONTEXT across entries: the object lives in the globalThis slot (see provider.tsx S1), so\n * this entry, `/react` and `/skins/meet` all resolve the same one.\n */\n\nimport { createContext } from \"react\";\nimport { globalSlot } from \"@ai-matrx/kit/global-slot\";\nimport type { MeetHost } from \"./provider\";\n\nexport type { MeetHost } from \"./provider\";\n\nexport const MeetHostContext = globalSlot(\"ai-matrx.meet.react.context\", () => createContext<MeetHost | null>(null));\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAgBA,mBAA8B;AAC9B,yBAA2B;AAKpB,IAAM,sBAAkB,+BAAW,+BAA+B,UAAM,4BAA+B,IAAI,CAAC;","names":[]}