import{s as e}from"./chunk-Bj-mKKzh.js";import{n as t}from"./jsx-runtime-CiQ1k8xo.js";import{lt as n}from"./vscode-api-DjORcpSo.js";var r=e(t(),1),i=r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;if(!i)throw Error(`Missing react shared internals. Check version.`);function a(){let e=i?.H;return e!=null&&e.useState!==e.useReducer}var o=n();function s(e){let t=(0,o.c)(4),n=(0,r.useRef)(e),i,s;t[0]===e?(i=t[1],s=t[2]):(i=()=>{n.current=e},s=[e],t[0]=e,t[1]=i,t[2]=s),(0,r.useInsertionEffect)(i,s);let l;return t[3]===Symbol.for(`react.memo_cache_sentinel`)?(l=(...e)=>{let t=e;a()&&c();let{current:r}=n;return r(...t)},t[3]=l):l=t[3],l}function c(){throw Error(`A function wrapped in useStableCallback can't be called during rendering.`)}export{s as t};
//# sourceMappingURL=use-stable-callback-CvFJzJNa.js.map