Files
onexbet/some js/store.701b5cb85d9318b1fdc761dba4410cf5.js

1 line
36 KiB
JavaScript
Raw Normal View History

2026-07-21 03:55:57 +03:00
window.BET_ON_YOUR_PAGE_URL_PREFIX="betsonyour";var store_global=new Vuex.Store({state:function state(){return{GLOBAL:{userId:typeof user_balance!=="undefined"?user_balance.getMainUserId():Number(Core.cookie.get("ua",0)),uhash:Core.cookie.get("uhash"),lng:Core.cookie.get("lng"),isSilentMode:window.user_settings?window.user_settings.get("isSilentMode"):Core.cookie.get("smd",false),cfdata:Core.cookie.get("cfdata",""),cfview:parseInt(Core.cookie.get("coefview",0)),tzo:Core.cookie.get("tzo",0),indicator:Number(Core.cookie.get("indicator",0)),countryId:typeof back_vars!=="undefined"?back_vars.countryId:0,show_slider_top_games:!parseInt(Core.cookie.get("hide_slider_top_games",0)),antisports_line:window.DISALLOWED_SPORTS_LINE||"",antisports_live:window.DISALLOWED_SPORTS_LIVE||"",lite_version:parseInt(window.Core.cookie.get("lite_version",0)),cyberSports:[42,85,86,89,90,91,93,94,96,97,98,99,100,101,103,104,106,107,108,109,110,114,115,116,117,120,121,123,125,127,128,129,130,131,134,135,136,139,141,143,144,145,148,150,152,154,158,160,162,165,167,166,169,170,172,168,177,178,179,181,183,184,187,190,191,192,193,194,195,196,199,200,201,205,207,208,209,211,212,213,214,215,218,219,221,223,224,225,227,228,229,231,232,233,237],cyber_blocked_refIds:[15,44,85,74,208,209,210,211],currSection:"",isLive:"",is_bet_on_your_page:window.location.pathname.indexOf(window.BET_ON_YOUR_PAGE_URL_PREFIX)!==-1,CONST_LINE:"line",CONST_LIVE:"live",CONST_SPORTS:"sports",CONST_CYBER:"cyber",CONST_MAIN:"",CONST_MULTI:"multi",CONST_CRICKET:"cricket",CONST_LIVEANONS:"liveanons",CONST_RESULTS:"results",CONST_MATCH_OF_DAYS:"matchofdays",CONST_CHAMPS:"champs",CONST_MAN_U:"manchester",CONST_TEAMS:"team",CONST_SPONSORS:"partnerclubs",CONST_HOURSERACE:"hourserace",CONST_UFC:"ufc",CONST_POLITICS:"politics",CONST_FINANCE:"finance",CONST_INFORMATION:"information",CONST_ASIA_LIVE:"live_asia",CONST_TOTAL:"total",CONST_TODAY:"today",CONST_OUTRIGHTS:"outrights",CONST_MONEYLINE:"moneyline",CONST_EARLY:"early",CONST_FIRSTHALF:"firsthalf",currSport:0,currLiga:"live_asia",asia_view:null,is_asia:!!parseInt(Core.cookie.get("asia_view",0)),CONST_BUILDER:"builder",CONST_ROULETTE:"roulette",CONST_EVENTS:"events",load_components:{builder:false,roulette:false},refId:window.REF_ID,partnerId:window.REF_ID===1?0:window.REF_ID,is_kassa:user_settings.isKassa(),openedSports:[],openedSportsSections:[],openedLeagues:[],openedGames:[],window_width:0,show_game_num:!!parseInt(Core.cookie.get("show_number_game",0)),express_of_day:{show_line:!parseInt(Core.cookie.get("disable_line_express",0)),show_live:!parseInt(Core.cookie.get("disable_live_express",0))},compact_view:!parseInt(Core.cookie.get("compact_vid_off",0))&&typeof IFRAME_REF_ID==="undefined",xhr_live:typeof IS_SOCKET_PROTOCOL_ACCESS_LIVE!=="undefined"?!IS_SOCKET_PROTOCOL_ACCESS_LIVE:true,xhr_line:typeof IS_SOCKET_PROTOCOL_ACCESS_LINE!=="undefined"?!IS_SOCKET_PROTOCOL_ACCESS_LINE:true,xhr:typeof IS_SOCKET_PROTOCOL_ACCESS!=="undefined"?!IS_SOCKET_PROTOCOL_ACCESS:true,rtl:Number(Core.cookie.get("is_rtl"))===2,iFrameId:typeof IFRAME_REF_ID!=="undefined"?IFRAME_REF_ID:0,CONST_IFRAME_METHODID_LIVE:1,CONST_IFRAME_METHODID_LINE:2,CONST_IFRAME_METHODID_FINANCE:6,has_fav:false,has_builder_buid:false},WebSocket:{uri:"wss://"+window.location.host+"/WsLive.svc/",instance:{},params:{LIVE:{URL:"/LiveR",HUB_NAME:"liveHub"},LINE:{URL:"/LineR",HUB_NAME:"lineHub"}},status:{SUCCESS:0},lastUIid:0,UIids:[],METHODS:{REGISTER:"RG",LEFT_MENU_SPORTS:"LS",LEFT_MENU_LEAGUES:"LC",LEFT_MENU_GAMES:"LG",DASHBOARD:"W1x2",GETGAME:"GG",SUB_GAMES:"SG"},ACT_STATUS:{CHANGE:0,DEL:1,ADD:2},opening_socket_timeout_id:null,get_params_by_storage_name:function get_params_by_storage_name(e){switch(e){case store_global.state.GLOBAL.CONST_LINE:return{URL:"/LineR",HUB_NAME:"lineHub"};default:return{URL:"/LiveR",HUB_NAME:"liveHub"};}},open:function open(t){var s=this;this.close(t);this.instance[t]={};return this.instance[t].promise=new ES6Promise(function(e,a){var o=s.get_params_by_storage_name(t),r=[78,51].indexOf(store_global.state.GLOBAL.refId)!==-1&&!window.DEBUG_MODE?":8080":"";s.i