{"release_id":"01a2309f-d47d-0000-29bc-a17a97e31fa5","chunk_id":"01a2309f-d5b6-7123-81c1-ae60925a8625","file":"CwUlsiOC.mjs","mappings":"wVAYO,MAAMA,EAAkBC,EAAkB,EAAK,EAQzCC,EAAoBD,EAA6B,IAAI,EACrDE,EAAkBF,EAAkB,EAAK","names":["groupCreateOpen","writable","mobileInboxSearch","inboxSearchOpen"],"sources":["../../../../../../src/lib/stores/chatUi.ts"],"sourcesContent":["import { writable } from 'svelte/store';\nimport type { InboxSearch } from '$lib/components/chat/inbox-search.svelte';\n\n/**\n * RAT-337: cross-component UI state for the chat module.\n *\n * `groupCreateOpen` is flipped to `true` by the Navbar's \"+ group chat\"\n * pill (only rendered on /c mobile) and watched by the (chat) layout,\n * which then surfaces its create-room modal. Same mechanic could be\n * used later to open the settings panel from outside the thread page\n * (e.g. a quick \"members\" link in the sidebar).\n */\nexport const groupCreateOpen = writable<boolean>(false);\n\n/**\n * K-1395: the mobile inbox search lives in the Navbar (its magnifier swaps the\n * header row for the field) while the results render in the /c page. The page\n * publishes its InboxSearch here on mount (client only, so nothing is shared\n * between requests on the server) and both sides read `inboxSearchOpen`.\n */\nexport const mobileInboxSearch = writable<InboxSearch | null>(null);\nexport const inboxSearchOpen = writable<boolean>(false);\n"],"version":3}