'use client';
import{jsx as r}from"react/jsx-runtime";import{useContext as e,createContext as o}from"react";import{useProductOfferSubscriptionBlocksObserver as t}from"../hooks/useProductOfferSubscriptionBlocksObserver.js";let i=o(void 0),c=({children:e,containerRef:o})=>{let c=t(o);return r(i.Provider,{value:c,children:e})},s=()=>{let r=e(i);if(!r)throw Error("useProductOfferSubscriptionPresence must be used within a ProductOfferSubscriptionPresenceProvider");return r};export{i as ProductOfferSubscriptionPresenceContext,c as ProductOfferSubscriptionPresenceProvider,s as useProductOfferSubscriptionPresence};
