'use client';
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react");exports.default=(t,r)=>{let[u,s]=e.useState(!1);return e.useEffect(()=>{let e;return t&&!u?s(!0):!t&&u&&(e=setTimeout(()=>s(!1),r)),()=>{clearTimeout(e)}},[r,t,u]),u};
