"use strict";const u=require("./useEffectEvent-DH-2wVX0.cjs.js"),$=require("react");function d(e,t,c,r){let a=u.$8ae05eaa5c114e9c$export$7f54fc3180508a52(c),f=c==null;$.useEffect(()=>{if(f||!e.current)return;let n=e.current;return n.addEventListener(t,a,r),()=>{n.removeEventListener(t,a,r)}},[e,t,r,f])}exports.$e9faafb641e167db$export$90fc3a17d93f704c=d;
//# sourceMappingURL=useEvent-DXB5yIJh.cjs.js.map
