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("PjRp")},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),g=(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)},bettingFunction:function(t,e,a,n,o,i,c,r,u){var s=!0,l=!1;t.forEach(function(n,o){e.id==n.id&&(a.forEach(function(a){e.id==a.id&&(r&&r(a,!1),t.splice(o,1))}),s=!1)}),s&&(c>=10?l=!0:(t.push(e),t.forEach(function(t){e.id==t.id&&a.forEach(function(t){e.id==t.id&&r&&r(t,!0)})})));var d={title:o,data:t},f=[];1e4!=i?n[i]=d:n?n.length>0&&n.push(d):f.push(d),u&&u(n,f,l)},publicBetMethod:function(t,e,a,n,o,i,c,r,u,s,l,d){var f=!0,h=!0,g=!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;var m={title:e,data:[t[n]]};o.length>0?(o.forEach(function(o){o.title==e&&(o.data.forEach(function(t,e){t.id==a&&(o.data.splice(e,1),h=!1)}),h&&(l>=10?g=!0:o.data.push(t[n])),f=!1)}),f&&(l>=10?g=!0:o.push(m))):o.push(m),d&&d(o,g)},publicBetting:function(t,e,a,n,o,i,c,r,u,s,l,d,f,h,g){var m=!0,p=!0,v=!1;t[n].matchData[o].oddsData[i].home_team=s.home,t[n].matchData[o].oddsData[i].guest_team=s.guest,t[n].matchData[o].oddsData[i].playName=l,t[n].matchData[o].oddsData[i].name=d,t[n].matchData[o].oddsData[i].ballId=f;var y={title:e,data:[t[n].matchData[o].oddsData[i]]};c.length>0?(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?v=!0:c.data.push(t[n].matchData[o].oddsData[i])),m=!1)}),m&&(h>=10?v=!0:c.push(y))):c.push(y),g&&g(c,v)},strandPublicBetting:function(t,e,a,n,o,i,c,r,u,s,l,d,f,h,g,m){var p=!0,v=!0,y=!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;var w={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),v=!1)}),v&&(g>=10?y=!0:(c.forEach(function(t){if(t.data.length>0)for(var e=0;e=10?y=!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){"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.id==a.id&&(t.odds>a.odds?t.change="rising":t.oddse.odds?t.change="rising":t.odds"})},PjRp:function(t,e){},tvR6:function(t,e){}},["NHnr"]); //# sourceMappingURL=app.8fd2c515aa5697e4f946.js.map