try{let e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`1dd69e4f-f781-43e4-918e-0513228f0c9d`,e._sentryDebugIdIdentifier=`sentry-dbid-1dd69e4f-f781-43e4-918e-0513228f0c9d`)}catch{}import{o as e}from"./rolldown-runtime-nx40z1zs.js";import{Ag as t,jg as n,ng as r}from"./entry.client-mpghtlrl.js";var i=t(),a=e(n(),1),o=r(),s=(0,a.createContext)(null);function c(){return(0,a.useContext)(s)}var l=e=>{let t=(0,i.c)(7),{host:n,children:r}=e,{supportsDrop:a,createWidget:c,beginDrag:l}=n,u,d;t[0]!==a||t[1]!==c||t[2]!==l?(d={supportsDrop:a,createWidget:c,beginDrag:l},t[0]=a,t[1]=c,t[2]=l,t[3]=d):d=t[3],u=d;let f=u,p;return t[4]!==f||t[5]!==r?(p=(0,o.jsx)(s.Provider,{value:f,children:r}),t[4]=f,t[5]=r,t[6]=p):p=t[6],p};export{c as n,l as t};