webpackJsonp([6],{ENeJ:function(t,e){},NHnr:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});a("j1ja");var n=a("7+uW"),o={render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"app"}},[e("router-view")],1)},staticRenderFns:[]};var i=a("VU/8")({name:"App"},o,!1,function(t){a("wm/Q")},null,null).exports,c=a("/ocq");n.default.use(c.a);var r=new c.a({routes:[{path:"/",name:"home",component:function(t){return Promise.all([a.e(0),a.e(1)]).then(function(){var e=[a("tHxJ")];t.apply(null,e)}.bind(this)).catch(a.oe)}},{path:"/PersonalCenter",name:"PersonalCenter",component:function(t){return Promise.all([a.e(0),a.e(4)]).then(function(){var e=[a("RYJU")];t.apply(null,e)}.bind(this)).catch(a.oe)}},{path:"/ResultMatch",name:"ResultMatch",component:function(t){return Promise.all([a.e(0),a.e(2)]).then(function(){var e=[a("XaWd")];t.apply(null,e)}.bind(this)).catch(a.oe)}},{path:"/RuleMatch",name:"RuleMatch",component:function(t){return Promise.all([a.e(0),a.e(3)]).then(function(){var e=[a("UUCm")];t.apply(null,e)}.bind(this)).catch(a.oe)}}],scrollBehavior:function(t,e,a){return a||{x:0,y:0}}});r.beforeEach(function(t,e,a){"/StRollBallpage"==t.path&&(t.query.isTrue=!0),a()});var u=r,s=a("NYxO"),l=a("BO1k"),d=a.n(l),f=a("mvHQ"),h=a.n(f),m=(a("gAs1"),{setCache:function(t,e){if(e instanceof Array){var a=h()(e);window.sessionStorage.setItem(t,a)}else window.sessionStorage.setItem(t,e)},getCache:function(t){return window.sessionStorage.getItem(t)},setItem:function(t,e){if(e instanceof Array){var a=h()(e);localStorage.setItem(t,a)}else localStorage.setItem(t,e)},getItem:function(t){return localStorage.getItem(t)},timer:function(t,e,a){setInterval(function(){++e<10&&(e="0"+e),60==e&&(t++,e="00"),a&&a(t,e)},1e3)},publicBetMethod:function(t,e,a,n,o,i,c,r,u,s,l,d,f,h){var m=!0,g=!0,p=!1;t[n].home_team=i.home,t[n].guest_team=i.guest,t[n].playName=c,t[n].name=r,t[n].match_id=u,t[n].ballId=s,t[n].oddsType=f;var y={title:e,data:[t[n]]};o.length>0?(o.forEach(function(i){i.title==e&&(i.data.forEach(function(t,e){t.id==a&&(i.data.splice(e,1),g=!1)}),g&&(l>=10?p=!0:(2==d&&o.forEach(function(t){if(t.data.length>0)for(var e=0;e=10?p=!0:(2==d&&o.forEach(function(t){if(t.data.length>0)for(var e=0;e0?(c.forEach(function(c){c.title==e&&(c.data.forEach(function(t,e){t.id==a&&(c.data.splice(e,1),p=!1)}),p&&(h>=10?y=!0:c.data.push(t[n].matchData[o].oddsData[i])),g=!1)}),g&&(h>=10?y=!0:c.push(w))):c.push(w),m&&m(c,y)},strandPublicBetting:function(t,e,a,n,o,i,c,r,u,s,l,d,f,h,m,g){var p=!0,y=!0,w=!1;t[n].matchData[o].oddsData[i].playName=s,t[n].matchData[o].oddsData[i].home_team=f,t[n].matchData[o].oddsData[i].guest_team=h,t[n].matchData[o].oddsData[i].name=l,t[n].matchData[o].oddsData[i].ballId=d,t[n].matchData[o].oddsData[i].match_id=u,t[n].matchData[o].oddsData[i].oddsType=r;var v={title:e,data:[t[n].matchData[o].oddsData[i]]};c.length>0?(c.forEach(function(r){r.title==e&&(r.data.forEach(function(t,e){t.id==a&&(r.data.splice(e,1),y=!1)}),y&&(m>=10?w=!0:(c.forEach(function(t){if(t.data.length>0)for(var e=0;e=10?w=!0:(c.forEach(function(t){if(t.data.length>0)for(var e=0;e1&&void 0!==arguments[1]?arguments[1]:1e4,a=setInterval(function(){t&&t(a)},e)},betPlay:function(t,e){var a=0,n=e.length;return a=this.oddsAlgorithm(t,e),function(t){return{title:t+"串1",index:function(t){for(var e=1,a=n;a>n-t;a--)e*=a;return e}(t)/function(t){for(var e=1,a=t;a>1;a--)e*=a;return e}(t),odds:a}}(t)},oddsAlgorithm:function(t,e){var a=[],n=t,o=[];e.forEach(function(t){a.push(t.odds)});for(var i=0;i>u&1&&(c++,r+=a[u]+",");if(c==n){var s=r.split(",");s.pop(),o.push(s)}}var l=0;return o.forEach(function(t){var e=1;t.forEach(function(t){e*=1+1*t}),l+=1*e-1}),l},oddsDataUpdate:function(t,e,a,n){e=JSON.parse(e),"1"==a?(t.forEach(function(t){e.forEach(function(a,n){t.lg_id==a.lg_id&&(t.matchData.forEach(function(t){a.matchData.forEach(function(e,n){t.match_id==e.match_id&&(t.oddsData.forEach(function(t){e.oddsData.forEach(function(a){t.mark==a.mark&&(t.odds>a.odds?t.change="rising":t.oddse.odds?t.change="rising":t.odds"})},tvR6:function(t,e){},"wm/Q":function(t,e){}},["NHnr"]); //# sourceMappingURL=app.26f059cf2f82a4c42595.js.map