{"version":3,"file":"HydrationContext.mjs","sources":["../../../src/lib/contexts/HydrationContext.ts"],"sourcesContent":["/**\n * @file Hydration Context\n * @description Context for hydration management (Fast Refresh compliant).\n */\n\nimport { createContext } from 'react';\n\n/**\n * Hydration status\n */\nexport type HydrationStatus = 'pending' | 'hydrating' | 'hydrated' | 'error';\n\n/**\n * Hydration priority\n */\nexport type HydrationPriority = 'immediate' | 'high' | 'normal' | 'low' | 'idle';\n\n/**\n * Hydration boundary ID\n */\nexport type HydrationBoundaryId = string;\n\n/**\n * Hydration context value\n */\nexport interface HydrationContextValue {\n  isHydrated: boolean;\n  isHydrating: boolean;\n  registerBoundary: (id: HydrationBoundaryId, priority: HydrationPriority) => void;\n  unregisterBoundary: (id: HydrationBoundaryId) => void;\n  getBoundaryStatus: (id: HydrationBoundaryId) => HydrationStatus | undefined;\n  requestHydration: (id: HydrationBoundaryId) => void;\n  pauseHydration: () => void;\n  resumeHydration: () => void;\n}\n\n/**\n * Hydration context - extracted for Fast Refresh compliance\n */\nexport const HydrationContext = createContext<HydrationContextValue | null>(null);\n\nHydrationContext.displayName = 'HydrationContext';\n"],"names":["HydrationContext","createContext"],"mappings":";AAuCO,MAAMA,IAAmBC,EAA4C,IAAI;AAEhFD,EAAiB,cAAc;"}