(self.webpackChunklite=self.webpackChunklite||[]).push([[9152],{69054:(e,n,t)=>{"use strict";t.r(n),t.d(n,{NavigationTimingReporter:()=>m});var a=t(67294),r=t(6443),o=t(2998),u=t(6402),i=t(92661),l=t(85663);function m(e){var n=e.to,t=e.from,m=(0,a.useRef)(null),f=(0,o.Av)(),v=(0,i.dh)(),c=(0,r.H)(),p=c.loading,d=c.error,h=!!c.value;return(0,a.useEffect)((function(){if(!p&&!d)if(m.current||n.pathname===t.pathname){if(m.current){var e=m.current.pathname,a=m.current.time;requestAnimationFrame((function(){setTimeout((function(){var t,r,o,i,c=Date.now();m.current=null;var p={to:null!==(t=null===(r=v(n.pathname))||void 0===r?void 0:r.route.name)&&void 0!==t?t:"unknown",from:null!==(o=null===(i=v(e))||void 0===i?void 0:i.route.name)&&void 0!==o?o:"unknown",loggedIn:h};f&&f.reportClientNav(p,new l.jb(a,c)),u.k.debug({duration:c-a,to:n.pathname,toRouteName:p.to,from:e,fromRouteName:p.from,loggedIn:p.loggedIn},"client navigation")}),0)}))}}else m.current={pathname:t.pathname,time:Date.now()},performance.mark("nav-start")}),[n.pathname,t.pathname,p,d,h]),null}}}]); //# sourceMappingURL=https://stats.medium.build/lite/sourcemaps/reporting.2021fe63.chunk.js.map