{"version":3,"file":"constants.cjs","names":["globalContext"],"sources":["../../src/GlobalContext/constants.ts"],"sourcesContent":["import { globalContext } from '@pastweb/tools';\nimport { createContext } from 'react';\nimport type { GlobalContext } from './types';\n\n/**\n * React context used internally by {@link GlobalContext}.\n *\n * It is initialized with the framework-agnostic `globalContext` from\n * `@pastweb/tools`, so hooks can still resolve a root context even when no local\n * provider is mounted.\n */\nexport const GLOBAL_CONTEXT = createContext<GlobalContext>(globalContext);\n"],"mappings":";;;;;;;;;;;AAWA,MAAa,kBAAA,GAAA,MAAA,cAAA,CAA8CA,eAAAA,aAAa"}