chunk-65aa3ab4.40f75d29.js 11.1 KB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-65aa3ab4","chunk-ad8465b0"],{"0e9b":function(n,t,e){"use strict";e.d(t,"l",(function(){return o})),e.d(t,"d",(function(){return u})),e.d(t,"o",(function(){return l})),e.d(t,"p",(function(){return d})),e.d(t,"m",(function(){return s})),e.d(t,"n",(function(){return c})),e.d(t,"f",(function(){return _})),e.d(t,"b",(function(){return f})),e.d(t,"a",(function(){return v})),e.d(t,"k",(function(){return g})),e.d(t,"j",(function(){return y})),e.d(t,"h",(function(){return p})),e.d(t,"g",(function(){return m})),e.d(t,"e",(function(){return q})),e.d(t,"c",(function(){return h})),e.d(t,"i",(function(){return b}));e("0643"),e("2382");var i=e("cee4");const a="https://m.ydn.com/graphql",r={headers:{"Content-Type":"application/json"}};async function o({yiqiu_id:n=0,info_id:t=0,game_id:e=0}){var o;if(!n||"0"==n)return{};const u=`\n    query{\n        get_soccer_game_info(yiqiu_id:${n},info_id:${t},game_id:${e})\n      }\n    `;let l=await i["a"].post(a+"/get_soccer_game_info",`{"query":${JSON.stringify(u)},"variables":null}`,r),d=null===l||void 0===l||null===(o=l.data)||void 0===o||null===(o=o.data)||void 0===o?void 0:o.get_soccer_game_info;return null==d||null!=d.error?{}:d}async function u({yiqiu_id:n=0,pageIndex:t=1,pageSize:e=10}){var o,u;if(!n||"0"==n)return{};const l=`\n    query{\n      get_expert_schemes(yiqiu_game_id:${n}, page_size: ${e}, page_index: ${t})\n      }\n    `;let d=await i["a"].post(a+"/get_expert_schemes_list",`{"query":${JSON.stringify(l)},"variables":null}`,r),s=null===d||void 0===d||null===(o=d.data)||void 0===o||null===(o=o.data)||void 0===o?void 0:o.get_expert_schemes;var c,_;null!==s&&void 0!==s&&null!==(u=s.result)&&void 0!==u&&u.data_list&&(s.result.data_list=null===(c=s.result.data_list)||void 0===c||null===(_=c.filter)||void 0===_?void 0:_.call(c,n=>"千嗨资讯"!=(null===n||void 0===n?void 0:n.type1)));return s}async function l({yiqiu_id:n=0}){var t;if(!n||"0"==n)return{};const e=`\n    query{\n        nm_competition_team_point_rank_list(yiqiu_id:${n})\n      }\n    `;let o=await i["a"].post(a+"/nm_competition_team_point_rank_list",`{"query":${JSON.stringify(e)},"variables":null}`,r),u=null===o||void 0===o||null===(t=o.data)||void 0===t||null===(t=t.data)||void 0===t?void 0:t.nm_competition_team_point_rank_list;return u}async function d({yiqiu_id:n=0}){var t;if(!n||"0"==n)return{};const e=`\n    query{\n        nm_team_point_rank(yiqiu_id:${n})\n      }\n    `;let o=await i["a"].post(a+"/nm_team_point_rank",`{"query":${JSON.stringify(e)},"variables":null}`,r),u=null===o||void 0===o||null===(t=o.data)||void 0===t||null===(t=t.data)||void 0===t?void 0:t.nm_team_point_rank;return u}async function s({yiqiu_id:n=0,info_id:t=0,game_id:e=0}){var o;if(!n||"0"==n)return{};const u=`\n    query{\n        get_soccer_game_info(yiqiu_id:${n},info_id:${t},game_id:${e})\n        nm_match_detail(yiqiu_match_id:${n})\n      }\n    `;let l=await i["a"].post(a+"/get_soccer_game_info_nm_detail",`{"query":${JSON.stringify(u)},"variables":null}`,r),d=null===l||void 0===l||null===(o=l.data)||void 0===o?void 0:o.data;return null==d||null!=d.error?{}:d}async function c({sporttery_id:n=0}){var t;const e=`\n    query{\n        get_sporttery_pool(sporttery_id:${n})\n      }\n    `;let o=await i["a"].post(a+"/get_sporttery_pool",`{"query":${JSON.stringify(e)},"variables":null}`,r),u=null===o||void 0===o||null===(t=o.data)||void 0===t||null===(t=t.data)||void 0===t?void 0:t.get_sporttery_pool;return u}async function _({game_id:n=0}){var t;const e=`\n    query{\n        getgameanalyse(gameid:${n})\n      }\n    `;let o=await i["a"].post(a+"/getgameanalyse",`{"query":${JSON.stringify(e)},"variables":null}`,r),u=null===o||void 0===o||null===(t=o.data)||void 0===t||null===(t=t.data)||void 0===t?void 0:t.getgameanalyse;return u}async function f({competition_id:n=0}){var t;const e=`\n    query{\n        getcompetitionstanding(competitionid:${n})\n      }\n    `;let o=await i["a"].post(a+"/getcompetitionstanding",`{"query":${JSON.stringify(e)},"variables":null}`,r),u=null===o||void 0===o||null===(t=o.data)||void 0===t||null===(t=t.data)||void 0===t?void 0:t.getcompetitionstanding;return u}async function v({competition_id:n=0}){var t;const e=`\n    query{\n        getcompetitionschedule(competitionid:${n}){\n          Mode\n          SubMode\n          Team\n          Schedule\n          Competition\n          Period\n        }\n      }\n    `;let o=await i["a"].post(a+"/getcompetitionschedule",`{"query":${JSON.stringify(e)},"variables":null}`,r),u=null===o||void 0===o||null===(t=o.data)||void 0===t||null===(t=t.data)||void 0===t?void 0:t.getcompetitionschedule;return u}async function g(){var n;const t="\n    query{\n      get_predict_datas\n      }\n    ";let e=await i["a"].post(a+"/get_predict_datas",`{"query":${JSON.stringify(t)},"variables":null}`,r),o=null===e||void 0===e||null===(n=e.data)||void 0===n||null===(n=n.data)||void 0===n?void 0:n.get_predict_datas;return o}async function y({yiqiu_id:n=0}){var t;const e=`\n    query{\n      get_game_ssyc_detail(yiqiu_id:${n})\n      }\n    `;let o=await i["a"].post(a+"/get_game_ssyc_detail",`{"query":${JSON.stringify(e)},"variables":null}`,r),u=null===o||void 0===o||null===(t=o.data)||void 0===t||null===(t=t.data)||void 0===t?void 0:t.get_game_ssyc_detail;return u}async function p({yiqiu_id:n=0}){var t;const e=`\n    query{\n      get_game_nnjq_detail(yiqiu_id:${n})\n      }\n    `;let o=await i["a"].post(a+"/get_game_nnjq_detail",`{"query":${JSON.stringify(e)},"variables":null}`,r),u=null===o||void 0===o||null===(t=o.data)||void 0===t||null===(t=t.data)||void 0===t?void 0:t.get_game_nnjq_detail;return u}async function m({yiqiu_id:n=0}){var t;const e=`\n    query{\n      get_game_hwyc_detail(yiqiu_id:${n})\n      }\n    `;let o=await i["a"].post(a+"/get_game_hwyc_detail",`{"query":${JSON.stringify(e)},"variables":null}`,r),u=null===o||void 0===o||null===(t=o.data)||void 0===t||null===(t=t.data)||void 0===t?void 0:t.get_game_hwyc_detail;return u}async function q({yiqiu_id:n=0}){var t;const e=`\n    query{\n      get_game_2c1_list(yiqiu_id:${n})\n      }\n    `;let o=await i["a"].post(a+"/get_game_2c1_list",`{"query":${JSON.stringify(e)},"variables":null}`,r),u=null===o||void 0===o||null===(t=o.data)||void 0===t||null===(t=t.data)||void 0===t?void 0:t.get_game_2c1_list;return u}async function h({yiqiu_id:n=0}){var t;const e=`\n    query{\n      get_expert_schemes(yiqiu_game_id:${n})\n      get_game_2c1_list(yiqiu_id:${n})\n      }\n    `;let o=await i["a"].post(a+"/get_expert_schemes_2c1_list",`{"query":${JSON.stringify(e)},"variables":null}`,r),u=null===o||void 0===o||null===(t=o.data)||void 0===t?void 0:t.data;return u}async function b({yiqiu_id:n=0,game_id:t=0}){var e;const o=`\n    query{\n      get_game_odds(yiqiu_id:${n},game_id:${t})\n      }\n    `;let u=await i["a"].post(a+"/get_game_odds",`{"query":${JSON.stringify(o)},"variables":null}`,r),l=null===u||void 0===u||null===(e=u.data)||void 0===e||null===(e=e.data)||void 0===e?void 0:e.get_game_odds;return l}i["a"].defaults.timeout=2e4},"13d5":function(n,t,e){"use strict";var i=e("23e7"),a=e("d58f").left,r=e("a640"),o=e("1212"),u=e("9adc"),l=!u&&o>79&&o<83,d=l||!r("reduce");i({target:"Array",proto:!0,forced:d},{reduce:function(n){var t=arguments.length;return a(this,n,t,t>1?arguments[1]:void 0)}})},1419:function(n,t,e){"use strict";var i=e("7a23");const a={class:"no-data"},r={class:"message"};function o(n,t,e,o,u,l){return Object(i["openBlock"])(),Object(i["createElementBlock"])("div",a,[t[0]||(t[0]=Object(i["createElementVNode"])("div",{class:"bg"},null,-1)),Object(i["createElementVNode"])("div",r,Object(i["toDisplayString"])(e.nodata_message),1)])}var u={name:"NoData",props:{nodata_message:{type:String,default:""}}},l=(e("aa9b"),e("6b0d")),d=e.n(l);const s=d()(u,[["render",o]]);t["a"]=s},2382:function(n,t,e){"use strict";e("910d")},"4e3e":function(n,t,e){"use strict";e("7d54")},"7d54":function(n,t,e){"use strict";var i=e("23e7"),a=e("2266"),r=e("59ed"),o=e("825a"),u=e("46c4");i({target:"Iterator",proto:!0,real:!0},{forEach:function(n){o(this),r(n);var t=u(this),e=0;a(t,(function(t){n(t,e++)}),{IS_RECORD:!0})}})},"81d6":function(n,t,e){"use strict";e.d(t,"e",(function(){return r})),e.d(t,"f",(function(){return o})),e.d(t,"a",(function(){return u})),e.d(t,"d",(function(){return l})),e.d(t,"b",(function(){return d})),e.d(t,"c",(function(){return s}));e("a573");var i=e("c1df"),a=e.n(i);function r(n){if(!n)return"异常日期";const t=["日","一","二","三","四","五","六"],e=new Date(n).getDay();return"周"+t[e]}function o(n,t){n=n.replace("#",""),3===n.length&&(n=n.split("").map((function(n){return n+n})).join(""));const e=parseInt(n.substring(0,2),16),i=parseInt(n.substring(2,4),16),a=parseInt(n.substring(4,6),16);return`rgba(${e}, ${i}, ${a}, ${t})`}function u(n,t){let e;return function(...i){clearTimeout(e),e=setTimeout(()=>{n.apply(this,i),clearTimeout(e)},t)}}function l(n){let t=a.a(n).day();switch(t){case 1:return"周一";case 2:return"周二";case 3:return"周三";case 4:return"周四";case 5:return"周五";case 6:return"周六";case 0:return"周日"}}function d(n){return n?`this.src='${n}';this.onerror=null`:"this.src='https://img2.ydniu.com/app/images/team_logo.png';this.onerror=null"}function s(n){return n||"https://img2.ydniu.com/app/images/team_logo.png"}},8558:function(n,t,e){"use strict";var i=e("cfe9"),a=e("b5db"),r=e("c6b6"),o=function(n){return a.slice(0,n.length)===n};n.exports=function(){return o("Bun/")?"BUN":o("Cloudflare-Workers")?"CLOUDFLARE":o("Deno/")?"DENO":o("Node.js/")?"NODE":i.Bun&&"string"==typeof Bun.version?"BUN":i.Deno&&"object"==typeof Deno.version?"DENO":"process"===r(i.process)?"NODE":i.window&&i.document?"BROWSER":"REST"}()},"87ec":function(n,t,e){},"910d":function(n,t,e){"use strict";var i=e("23e7"),a=e("c65b"),r=e("59ed"),o=e("825a"),u=e("46c4"),l=e("c5cc"),d=e("9bdd"),s=e("c430"),c=l((function(){var n,t,e,i=this.iterator,r=this.predicate,u=this.next;while(1){if(n=o(a(u,i)),t=this.done=!!n.done,t)return;if(e=n.value,d(i,r,[e,this.counter++],!0))return e}}));i({target:"Iterator",proto:!0,real:!0,forced:s},{filter:function(n){return o(this),r(n),new c(u(this),{predicate:n})}})},9485:function(n,t,e){"use strict";var i=e("23e7"),a=e("2266"),r=e("59ed"),o=e("825a"),u=e("46c4"),l=TypeError;i({target:"Iterator",proto:!0,real:!0},{reduce:function(n){o(this),r(n);var t=u(this),e=arguments.length<2,i=e?void 0:arguments[1],d=0;if(a(t,(function(t){e?(e=!1,i=t):i=n(i,t,d),d++}),{IS_RECORD:!0}),e)throw new l("Reduce of empty iterator with no initial value");return i}})},"9adc":function(n,t,e){"use strict";var i=e("8558");n.exports="NODE"===i},"9d4a":function(n,t,e){"use strict";e("9485")},a640:function(n,t,e){"use strict";var i=e("d039");n.exports=function(n,t){var e=[][n];return!!e&&i((function(){e.call(null,t||function(){return 1},1)}))}},aa9b:function(n,t,e){"use strict";e("87ec")},d58f:function(n,t,e){"use strict";var i=e("59ed"),a=e("7b0b"),r=e("44ad"),o=e("07fa"),u=TypeError,l="Reduce of empty array with no initial value",d=function(n){return function(t,e,d,s){var c=a(t),_=r(c),f=o(c);if(i(e),0===f&&d<2)throw new u(l);var v=n?f-1:0,g=n?-1:1;if(d<2)while(1){if(v in _){s=_[v],v+=g;break}if(v+=g,n?v<0:f<=v)throw new u(l)}for(;n?v>=0:f>v;v+=g)v in _&&(s=e(s,_[v],v,c));return s}};n.exports={left:d(!1),right:d(!0)}}}]);