Sorry, your request has been blocked as it may cause potential threats to the server's security.
Your request ID is : ac11000117532355999682405e0086
ad-page') { localStorage.setItem('from', pathname); localStorage.setItem('href', window.location.href); window.location.href = '/download-page'; } // if(pathname.includes('race-page') || pathname.includes('newTask')) { if (pathname.includes('newTask')) { setTimeout(() => { document.getElementById("app").setAttribute('style', 'overflow: unset !important'); }, 1000); }
source:n,lineno:t,colno:i,error:a}),typeName:"TYLogUploadEventTypeIndex"}),!1),window.addEventListener("error",this.onErrorCb,!1),window.addEventListener("unhandledrejection",this.onunhandledrejection,!1)):(window.onerror=()=>!1,window.removeEventListener("error",this.onErrorCb,!1),window.removeEventListener("unhandledrejection",this.onunhandledrejection,!1))}async uploadAll(){if(!this.enable||!this.uploadQueue.length)return;const l=this.uploadQueue[0];await this.upload(l)}async upload(l,o={}){if(!this.enable)return!1;let n="",t="",i="";if(typeof l=="string")try{({eventName:n,params:t,typeName:i}=JSON.parse(l))}catch{return console.warn("埋点参数解析出错",l),!0}else({eventName:n,params:t,typeName:i}=l);if(!n||!i)return console.warn("埋点参数解析出错, 缺失 eventName 或 typeName",l),!0;const a={jsonInfo:{reportInfo:{eventName:n,params:t},baseInfo:{userAgent:navigator.userAgent,...this.baseInfo,pageUrl:window.location.href,typeName:i,requestTime:s(),uniqueKey:d(),...o}}};return a.jsonInfo.baseInfo.userName||(a.jsonInfo.baseInfo.userName=window.localStorage.getItem("userName")||""),this.log&&console.log("log: ",a),await r({url:u.url,data:a,retry:3,onSuccess:()=>{this.uploadErrorCount=0},onError:()=>{this.uploadErrorCount++}}),!0}}return V});