/* Copyright © 2024 Melbet - All Rights Reserved */ import{useGlobalStore as p,BettingPageType as g,BettingType as a}from"./entry-Bl6dkD65.js";import{computed as s,unref as e}from"../../../../shared-assets/__shared_vue_deps_SRT2KB67.js";import{useBettingChangeRouteMethods as c}from"./BMeLkXmUL-Ra.js";const L=(o,u)=>{const m=p(),{getBettingRouteUrl:i}=c();return{gameRouteLink:s(()=>{var t,r,n,l;return!e(o).sportNameForUrl||!((t=e(o))!=null&&t.champNameForUrl)||!((r=e(o))!=null&&r.gameNameForUrl)?"":i({lng:m.getLanguage,pageType:g.CHAMP,section:e(u)?a.LIVE:a.LINE,sport:e(o).sportNameForUrl,champ:(n=e(o))==null?void 0:n.champNameForUrl,game:(l=e(o))==null?void 0:l.gameNameForUrl})})}};export{L as useGameRouteLink};