import{t as e}from"./useAnalytics-D7ict_xi.js";import"./src-CD6Jsigc.js";var t={"/postgame-generator":`statistics`,"/broadcast?phase=setup":`current_match`,"/broadcast?phase=ingame":`ingame_caster`,"/broadcast?phase=postgame":`postgame_caster`};function n(n,r){let i=t[n];i&&e(`LeagueBroadcast`).trackFeatureUsage(`navigation`,`caster_page_open`,{page:i,source:r})}var r={"edit-game":`edit_game`,game:`current_match`};function i(t,n){if(!t||n===null)return;let i=r[t];if(!i)return;let a=Date.now()-n;a<0||a>6e5||e(`LeagueBroadcast`).trackFeatureUsage(`navigation`,`post_game_check`,{page:i,seconds_since_game_end:Math.round(a/1e3)})}export{i as n,n as t};