{"version":3,"file":"ssr-context-D31DG4qB.cjs","sources":["../src/ssr-context.ts"],"sourcesContent":["/**\n * Shared SSR mode flag.\n * Set to true during renderToString() — prevents client-only lifecycle\n * (onMount, onDestroy microtask) from running in a server context.\n */\nlet _isSSR = false;\n\nexport function setSSRMode(value: boolean): void {\n  _isSSR = value;\n}\n\nexport function isSSRMode(): boolean {\n  return _isSSR;\n}\n\n/** Temporary store for head config captured during SSR rendering. */\nlet _ssrHeadConfig: string | null = null;\n\nexport function setSSRHeadOutput(html: string): void {\n  _ssrHeadConfig = html;\n}\n\nexport function getSSRHeadOutput(): string | null {\n  return _ssrHeadConfig;\n}\n\nexport function clearSSRHeadOutput(): void {\n  _ssrHeadConfig = null;\n}\n"],"names":["_isSSR","setSSRMode","value","isSSRMode","_ssrHeadConfig","setSSRHeadOutput","html","getSSRHeadOutput","clearSSRHeadOutput"],"mappings":"aAKA,IAAIA,EAAS,GAEN,SAASC,EAAWC,EAAsB,CAC/CF,EAASE,CACX,CAEO,SAASC,GAAqB,CACnC,OAAOH,CACT,CAGA,IAAII,EAAgC,KAE7B,SAASC,EAAiBC,EAAoB,CACnDF,EAAiBE,CACnB,CAEO,SAASC,GAAkC,CAChD,OAAOH,CACT,CAEO,SAASI,GAA2B,CACzCJ,EAAiB,IACnB"}