(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["main"],{"0a10":function(e,t,n){"use strict";n.d(t,"c",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"a",(function(){return r}));var o=n("c88c");function i(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(Object(o["a"])())return!1;if(!window.localStorage||"undefined"===typeof window.localStorage)return!1;var i="";try{i=JSON.stringify(t)}catch(a){}return!!i&&(n||(n=2592e6),localStorage["vue_da|".concat(e)]=i,localStorage["vue_ep|".concat(e)]=Date.now()+n,!0)}function a(e){if(!Object(o["a"])()&&window.localStorage&&"undefined"!==typeof window.localStorage){if(localStorage["vue_ep|".concat(e)]/g,">"),t=t.replace(/0&&void 0!==arguments[0]?arguments[0]:f;if("undefined"!==typeof emonitor)h(e);else{var t="https://image-1251917893.file.myqcloud.com/igame/common/js/emonitor_custom_46f41566.js";Object(u["a"])(t,(function(){h(e)}))}},h=function(e){emonitor.create({name:e,atta:{name:"pmd_h5"},mode:"007",delay:1500,cgi:{sampling:1,code:["r"],msg:["msg"]},cdn:{sampling:0},logs:{sampling:1},onBeforeSend:function(e){return!(e.isErr&&e.source&&e.source.err_msg&&-1!=e.source.err_msg.toString().indexOf("igameAppWebPressBack"))&&{s_uuid:g.a.get("msdk_uid")||g.a.get("tip_uid")}}})},v={initPerformance:m,DEFAULT_NAME:f},w=n("d4ec"),b=n("bee2"),_=n("c88c"),y=n("d53f"),x=function(){function e(){Object(w["a"])(this,e),this.getReportSource()}return Object(b["a"])(e,[{key:"reportUrl",value:function(t){var n,o,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"main",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"主页",c="os";a||(a="main"),r||(r="主页"),null!==(n=window.app)&&void 0!==n&&null!==(o=n.getConfig)&&void 0!==o&&null!==(i=o.call(n))&&void 0!==i&&i.projectName&&(c=window.app.getConfig().projectName),window.setSite={siteType:c,pageType:"".concat(a.replace("_","-")),pageName:"".concat(r),project:"other",osact:0},Object(u["a"])(e.reportSdkUrl,(function(){var e,n;null===(e=(n=window).pgvMain)||void 0===e||e.call(n,{virtualURL:t,repeatApplay:"true"})}))}},{key:"report",value:function(e){var t=this;if("undefined"===typeof e||null==e||""==e)return!1;var n={hottag:e};if(window.PTTRun)this.sendClick(n);else var o=setInterval((function(){window.PTTRun&&(t.sendClick(n),clearInterval(o))}),20)}},{key:"reportHotTag",value:function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(t){var i=document.location.pathname.replace(/\//g,"_").replace("index.html","").replace("_","");if(o){var a=window.app.$router.currentRoute.name||"other";t=n?"".concat(i,".").concat(a,".").concat(t,".").concat(e.reportSource):"".concat(i,".").concat(a,".").concat(t)}else t=n?"".concat(i,".").concat(t,".").concat(e.reportSource):"".concat(i,".").concat(t)}this.report(t)}},{key:"reportAdTag",value:function(t){var n=document.location.pathname.replace(/\//g,"_").replace("index.html","").replace("_",""),o="".concat(n,".channel.").concat(t,".").concat(e.reportSource);this.report(o)}},{key:"initDomHotTagReport",value:function(){var e=this,t=function(t){var n=t.target.getAttribute("hottag");n&&e.reportHotTag(n)};document.addEventListener("click",t,!0)}},{key:"sendClick",value:function(e){try{window.pgvSendClickForPTT(e)}catch(t){}try{window.PTTSendClick("btn",e.hottag)}catch(t){}}},{key:"getReportSource",value:function(){var t=Object(_["f"])();t.isMsdk?e.reportSource="msdk":t.isSlugSdk?e.reportSource="isslugsdk":t.isMiniProgram?e.reportSource="miniProgram":t.isWeixin?e.reportSource="weixin":t.isQQ?e.reportSource="qq":t.isPvpApp?e.reportSource="pvpapp":t.isGHelper20004?e.reportSource="gphelper":t.isGHelper?e.reportSource="ghelper":t.isLolApp?e.reportSource="lolapp":null!==Object(y["c"])("tipdzdialog")&&(e.reportSource="dialog"),null!==Object(y["c"])("channel")?e.reportSource=Object(y["c"])("channel"):null!==Object(y["c"])("adtag")?e.reportSource=Object(y["c"])("adtag"):null!==Object(y["c"])("ad_tag")&&(e.reportSource=Object(y["c"])("ad_tag"))}}],[{key:"getInstance",value:function(){return e.instance||(e.instance=new e),e.instance}}]),e}();x.reportSdkUrl="https://ossweb-img.qq.com/images/js/PTT/ping_tcss_tgideas_https_min.js",x.reportSource="other";var O=x.getInstance(),k=n("5404"),S=n("c767"),C=S["a"].axios_interp,j=n("a78e"),T={namespaced:!0,state:{},getters:{},actions:{},mutations:{}};T.state.tiplogin_ticket="",T.getters.tiplogin_ticket=function(e){return e.tiplogin_ticket},T.mutations.set_tiplogin_ticket=function(e,t){e.tiplogin_ticket=t},T.state.limitLoginTypes=[],T.getters.limitLoginTypes=function(e){return e.limitLoginTypes},T.mutations.set_limitLoginTypes=function(e,t){e.limitLoginTypes=t},T.state.limitLoginDirect=!1,T.getters.limitLoginDirect=function(e){return e.limitLoginDirect},T.mutations.set_limitLoginDirect=function(e,t){e.limitLoginDirect=t},T.state.loginType="",T.getters.loginType=function(e){return e.loginType},T.mutations.set_loginType=function(e,t){e.loginType=t},T.state.loginUrl="",T.getters.loginUrl=function(e){return e.loginUrl||""},T.mutations.set_loginUrl=function(e,t){e.loginUrl=t||""},T.state.loginTypeList={WX:{loginType:"tiploginwx",typeName:"微信",typeImg:"https://game.gtimg.cn/images/user/cp/gamesystem20170725/png_ico/ico_wexin.png"},QQ:{loginType:"tiploginqq",typeName:"QQ",typeImg:"https://game.gtimg.cn/images/user/cp/gamesystem20170725/png_ico/ico_qq.png"},OA:{loginType:"tiploginoa",typeName:"OA",typeImg:"http://igame-10037599.image.myqcloud.com/e7b971ac-8c9d-44c6-8384-79ef8a74d6bb"},WXPC:{loginType:"tiploginwxwc",typeName:"电脑微信",typeImg:"https://game.gtimg.cn/images/user/cp/gamesystem20170725/png_ico/ico_wexin.png"}},T.getters.loginTypeList=function(e){return e.loginTypeList||""},T.mutations.set_loginTypeList=function(e,t){e.loginTypeList=t||""},T.state.env=void 0,T.getters.env=function(e){return e.env},T.mutations.set_env=function(e,t){t&&(t.lasttime=Date.now()),e.env=t},T.state.authQuery=void 0,T.getters.authQuery=function(e){return e.authQuery},T.mutations.set_authQuery=function(e,t){e.authQuery=t},T.state.loginInfo=void 0,T.getters.loginInfo=function(e){return e.loginInfo},T.mutations.set_loginInfo=function(e,t){t&&(t.lasttime=Date.now()),e.loginInfo=t},T.state.wxSignature=void 0,T.getters.wxSignature=function(e){return e.wxSignature},T.mutations.set_wxSignature=function(e,t){t&&(t.lasttime=Date.now()),e.wxSignature=t},T.actions.getEnvLoginInfo=function(e,t){t.rootStore,t.router;var n=t.backurl,o=e.commit,i=e.state;n=encodeURIComponent(n||""),o("set_env",k["a"].initEnv()),""==i.loginType&&(i.loginType=j.get("tiplogin_type")||""),i.loginType;var a="";a=location.hostname.indexOf(".oa.com")>0?"/pmd/comm/getloginurl?backurl=".concat(n):"igame.qq.com"===location.hostname?"//m.igame.qq.com/pvp/comm/loginmgr/getloginurl?backurl=".concat(n):"test.igame.qq.com"===location.hostname?"//mtest.igame.qq.com/pvp/comm/loginmgr/getloginurl?backurl=".concat(n):"/pvp/comm/loginmgr/getloginurl?backurl=".concat(n);var r=C(!1).get(a,{responseType:"json"}).then((function(e){return i.loginTypeList=e.data.data.list,i.loginInfo=e.data.data.loginInfo,e})).catch((function(e){"ajax getlogininfo failed,".concat(e.message||"")}));return r},T.actions.getWxSignature=function(e,t){t.rootStore,t.router;var n=e.commit,o=e.state;if(0==k["a"].checkNodeEnv()&&o.wxSignature)return Promise.resolve({data:o.wxSignature});var i="https://m.igame.qq.com/pvp/share/get_share_cfg",a=C(!1).get(i,{responseType:"json"}).then((function(e){return n("set_loginUrl",e.data.url),n("set_wxSignature",e.data),e})).catch((function(e){"ajax getWxSignature failed,".concat(e.message||"")}));return a},T.actions.gotoLogin=function(e){e.state};var q=T,I={namespaced:!0,state:{},getters:{},actions:{},mutations:{}};I.state.uploadhash="",I.getters.uploadhash=function(e){return e.uploadhash,e.uploadhash},I.mutations.set_uploadhash=function(e,t){e.uploadhash=t},I.state.uploadhashing=!1,I.getters.uploadhashing=function(e){return e.uploadhashing},I.mutations.set_uploadhashing=function(e,t){e.uploadhashing=t};var L=I,E=n("dae4"),D={beforeRouteUpdate:function(e,t,n){var o=this.$options.asyncData;o?o({store:this.$store,router:this.$router}).then(n).catch(n):n()}},U=n("53ca"),A=(n("4ec9"),n("1276"),function(e){if(!e||"number"===typeof e)return e;if(-1===e.indexOf("px")&&-1===e.indexOf("rem"))return parseFloat(e,10);if(e.indexOf("px")>-1)return parseFloat(e.replace("px",""),10);var t=50;try{t=parseFloat(document.documentElement.style.fontSize.replace("px",""),10),isNaN(t)&&(t=50)}catch(n){}return e.indexOf("rem")>-1?parseFloat(e.replace("rem",""),10)*t:void 0}),R="game.gtimg.cn",N="image.myqcloud.com",P="wx.qlogo.cn",M="thirdqq.qlogo.cn",H="thirdwx.qlogo.cn",W="q.qlogo.cn",F="ossweb-img.qq.com",G=new Map([["igame-10037599.cos.ap-shanghai.myqcloud.com","igame-10037599.file.myqcloud.com"],["image-1251917893.cos.ap-guangzhou.myqcloud.com","image-1251917893.file.myqcloud.com"],["igame-10037599.image.myqcloud.com","igame-10037599.file.myqcloud.com"]]),Q=function(e){return e&&(-1!==e.indexOf(R)||-1!==e.indexOf(N)||-1!==e.indexOf(P)||-1!==e.indexOf(M)||-1!==e.indexOf(W)||-1!==e.indexOf(H)||-1!==e.indexOf(F))},J=function(e){var t=/http:/;return t.test(e)},z=function(e){return J(e)&&Q(e)&&(e=e.replace("http","https")),e},B=function(e){if(!e)return e;var t=e.split("/");if(t&&t.length>2){var n=t[2];return G.has(n)&&(e=e.replace(n,G.get(n))),e}},$=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if("object"===Object(U["a"])(e)&&(t=e.width?e.width:0,n=e.height?e.height:0,e=e.url?e.url:""),e&&-1!==e.indexOf(".myqcloud.com/")&&-1===e.indexOf("?")){var o=0,i=0;return t&&n&&(o=t>0?2*t:0,i=n>0?2*n:0),o=V(o,1,!0),i=V(i,1,!0),o>200&&i>200&&o===i&&(i=0),o<10&&i<10&&(o=0,i=0),o>150||i>150?e="".concat(e,"?imageMogr2/format/yjpeg/quality/80/thumbnail/!").concat(o>0?o.toString():"","x").concat(i>0?i.toString():"","r"):(o>0||i>0)&&(e="".concat(e,"?imageMogr2/thumbnail/!").concat(o>0?o.toString():"","x").concat(i>0?i.toString():"","r")),e}return e},V=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=String(e).length;if(o<=t)return e;var i=Math.pow(10,t);return n?Math.ceil(e/i)*i:Math.floor(e/i)*i},X=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return e=z(e),e=B(e),e=$(e,t,n),e},Y={handleImgUnit:A,getHttpsUrl:z,getCdnUrl:B,getCompressImgUrl:$,tinyImage:X},K=n("74f3"),Z=function(e){Object(K["a"])({reqData:e,showMsgToast:!1,url:"/merc.merccgi.merc.comm/MercReportTlog"}).then((function(e){})).catch((function(e){}))},ee=function(e){Object(K["a"])({reqData:e,showMsgToast:!1,url:"/merc.merccgi.merc.comm/MercTaskReportList"}).then((function(e){})).catch((function(e){}))},te=function(e){var t={uid:window.app.tip_uid,utype:parseInt(window.app.tip_utype,10),event_time:Math.round((new Date).getTime()/1e3),plat:window.app.env.isAndroid?"1":"2",gid:window.app.tip_gid,lat:window.app.position?window.app.position.lat:0,lng:window.app.position?window.app.position.lng:0,oper_name:e.oper_name||"merchant_h5tqk",channel:"".concat(window.app.reportChannel,"@").concat(e.second_channel),ptype:e.plugin_type,brand_id:e.brand_id,merchant_id:e.merchant_id},n={};if(n={event_id:e.event_id,source:e.source||window.app.reportSource,ad_tag:window.app.getAdTag()||"",user_tag:window.app.getUserTag()||""},"merchant_h5tqk"==t.oper_name)n=Object(i["a"])({report_type:0,tab_type:e.tab_type?parseInt(e.tab_type,10):0,act_id:e.act_id,element_id:e.element_id,page_url:e.page_url||"",event_duration:e.event_duration?parseInt(e.event_duration,10):0,list_id:e.list_id,list_type:e.list_type,status:e.status,rank:e.rank,gift_id:e.gift_id||""},n);else if("merchant_goocvt"==t.oper_name){var o=[{goods_id:e.goods_id,goods_type:e.goods_type,create_channel:"".concat(e.create_first_channel,"@").concat(e.create_second_channel),target_page:"".concat(e.target_page_first_channel,"@").concat(e.target_page_second_channel),target_type:e.target_type}],a={act_id:e.act_id,act_type:e.act_type,gift_id:e.gift_id,goods_list:o};n=Object(i["a"])({act_info:a},n)}else"merchant_subpush"==t.oper_name&&(n=Object(i["a"])({chan_number:e.chan_number,msg_data:{msg_type_id:window.sessionStorage.getItem("tip_mail_keyid"),msg_type_kind:parseInt(window.sessionStorage.getItem("tip_mail_type")||"",10)}},n));Z({head:t,body:{content:JSON.stringify(n)}})},ne=n("15fd"),oe=(n("fb6a"),function(){var e,t,n,o,i={};i.first_channel=window.app.firstChannel,i.source=window.app.reportSource,i.gid=window.app.tip_gid,i.business_type=window.app.businessType||1,window.app.position&&(i.lat=window.app.position.lat,i.lng=window.app.position.lng,i.province_id=window.app.position.provinceId,i.city_id=window.app.position.cityId,i.district_id=""),i.ad_tag=(null===(e=(t=window.app).getAdTag)||void 0===e?void 0:e.call(t))||"",i.user_tag=(null===(n=(o=window.app).getUserTag)||void 0===n?void 0:n.call(o))||"";var a=(new Date).getTime();return i.event_time=Math.round(a/1e3),i.report_type=2,window.app&&(i.trace_id=ae()),i}),ie=function(e,t){var n={};return n.second_channel="".concat(t),n.event_id="brand_exposure",n.event_content=JSON.stringify({brand_id:e}),n},ae=function(){var e,t,n,o,i="".concat((new Date).getTime()).slice(-8),a=null===(e=window.app)||void 0===e||null===(t=e.reportSource)||void 0===t?void 0:t.replace(/-/g,"").slice(-4),r=null===(n=window.app)||void 0===n||null===(o=n.tip_uid)||void 0===o?void 0:o.slice(-4);return"".concat(a||"none").concat(r||"none").concat(i)},re=function(e,t,n){var o={};return o.second_channel="".concat(n),o.event_id="merchant_exposure",o.event_content=JSON.stringify({brand_id:t,merchant_id:e}),o},ce=function(e,t){var n={};return n.second_channel="".concat(t),n.event_id="task_exposure",n.user_tag=e.userTag,n.event_content=JSON.stringify({act_id:e.actId,brand_id:e.brandId,merchant_id:e.merchantId,element_id:e.elementId,act_type:"daily_task",gift_id:e.giftId?"".concat(e.giftId):""}),n},se=function(e,t){var n={};return n.second_channel="".concat(t),n.event_id="award_exposure",n.event_content=JSON.stringify({brand_id:e.brandId,gift_id:e.giftId,element_id:e.elementId,goods_id:e.goodsId?"".concat(e.goodsId):"",goods_type:e.goodsType?"".concat(e.goodsType):"",act_type:e.actType?"".concat(e.actType):""}),n},de=function(e){var t={};return t.second_channel="".concat(e),t.event_id="ad_exposure",t},le=function(e){var t={};switch(e.eventId){case"task_exposure":t=ce(e.task,e.module);break;case"brand_exposure":t=ie(e.brandid,e.module);break;case"merchant_exposure":t=re(e.merchantid,e.brandid,e.module);break;case"award_exposure":t=se(e.award,e.module);break;case"ad_exposure":t=de(e.module);break;default:t=e;break}var n=oe();return t=Object(i["a"])(Object(i["a"])({},n),t),t},ue="pvpapp";window.location.href.indexOf("nes.smoba.qq.com")>-1&&(ue="wzry"),window.location.href.indexOf("igame.qq.com")>-1&&(ue="pvpapp"),window.location.href.indexOf("nes.slol.qq.com")>-1&&(ue="slol");var pe=function(e){var t={cookie:document.cookie,headers:["Referer: ".concat(location.protocol,"//").concat(location.hostname).concat(location.pathname)],app_name:ue,list:Array.isArray(e)?e:[e]},n=location.href.indexOf("test")>-1||location.href.indexOf("dev")>-1?"https://atest.igame.qq.com/tipmp.user.commreport.commreport/CommReport":"https://a.igame.qq.com/tipmp.user.commreport.commreport/CommReport";Object(K["a"])({url:n,reqData:t,showMsgToast:!1}).then((function(e){"report response: ".concat(JSON.stringify(e))})).catch((function(e){"report error: ".concat(JSON.stringify(e))}))},ge=["second_channel","event_id","page_url","event_duration","source","business_type"],fe=function(){function e(){Object(w["a"])(this,e)}return Object(b["a"])(e,[{key:"reportUserStatics",value:function(e){var t=oe();t.first_channel=e.firstChannel,t.second_channel="mainpage",t.gid=e.gid,t.source=e.source,t.ad_tag=e.adTag,t.user_tag=e.userTag,t.event_id="active",t.business_type=e.businessType,t.trace_id=ae(),pe(t)}},{key:"reportBrandExposure",value:function(e,t){var n=oe();n.second_channel="".concat(e),n.event_id="brand_exposure",n.event_content=JSON.stringify({brand_id:t}),pe(n)}},{key:"reportMerchantExposure",value:function(e,t,n){var o=oe();o.second_channel="".concat(e),o.event_id="merchant_exposure",o.event_content=JSON.stringify({brand_id:n,merchant_id:t}),pe(o)}},{key:"reportTaskExposure",value:function(e,t){var n=oe();n.second_channel="".concat(e),n.event_id="brand_exposure",n.user_tag=t.userTag,n.event_content=JSON.stringify({act_id:t.actId,brand_id:t.brandId,merchant_id:t.merchantId,element_id:t.elementId}),pe(n)}},{key:"reportAwardExposure",value:function(e,t){var n=oe();n.second_channel="".concat(e),n.event_id="award_exposure",n.event_content=JSON.stringify({gift_id:t.giftId,goods_id:t.goodsId,goods_type:t.goodsType,brand_id:t.brandId,element_id:t.elementId,act_type:t.actType}),pe(n)}},{key:"reportPageExposure",value:function(e,t){var n=oe();n.second_channel="".concat(e),n.event_id="page_exposure",n.event_content=JSON.stringify({element_id:"".concat(t)}),pe(n)}},{key:"reportClick",value:function(e,t,n){var o=oe();o.second_channel="".concat(e),o.event_id="".concat(t),o.event_content=JSON.stringify({element_id:"".concat(n)}),pe(o)}},{key:"reportCommData",value:function(e){var t=oe(),n=e.second_channel,o=e.event_id,i=e.page_url,a=e.event_duration,r=(e.source,e.business_type),c=Object(ne["a"])(e,ge);t.second_channel="".concat(n),t.event_id="".concat(o),t.page_url=i?"".concat(i):"",t.event_duration=a||0,t.business_type=r||1;try{t.event_content=JSON.stringify(c)}catch(s){}pe(t)}}]),e}(),me=function(){var e={};return e.channel=window.app.reportChannel,e.source=window.app.reportSource,e.gid=window.app.tip_gid,e.plat=window.app.env.isAndroid?"1":"2",window.app.position&&(e.lat=window.app.position.lat,e.lng=window.app.position.lng),e.ad_tag=window.app.getAdTag()||"",e.user_tag=window.app.getUserTag()||"",e.eventTime=Math.round((new Date).getTime()/1e3),e};function he(e){return!("string"===typeof e&&e.length>0)}function ve(e){var t="";return Object.keys(e).forEach((function(n){he(e[n])&&(t+="".concat(n,"为空"))})),t}function we(e){ve(e)&&"%c 注意:缺失数据!!".concat(ve(e))}var be=function(e,t){var n={eventId:"brand_exposure",brandId:e||"",module:t||""};return n},_e=function(e,t,n){var o={eventId:"merchant_exposure",merchantId:e||"",brandId:t||"",module:n||""};return o},ye=function(e,t){var n={eventId:"task_exposure",actId:e.actId||"",brandId:e.brandId||"",merchantId:e.merchantId||"",module:t||"",element_id:e.elementId||""};return e.userTag&&(n.user_tag=e.userTag),n},xe=function(e,t){var n=[{goods_id:e.goodsId?"".concat(e.goodsId):"",goods_type:e.goodsType?"".concat(e.goodsType):""}],o={eventId:"award_exposure",brandId:e.brandId||"",module:t||"",gift_id:e.giftId?"".concat(e.giftId):"",goods_list:n,element_id:e.elementId||"",actType:e.actType||""};return o},Oe=function(e){var t={eventId:"ad_exposure",module:e||""};return t},ke=function(e){var t={};switch(e.eventId){case"task_exposure":t=ye(e.task,e.module);break;case"brand_exposure":t=be(e.brandid,e.module);break;case"merchant_exposure":t=_e(e.merchantid,e.brandid,e.module);break;case"award_exposure":t=xe(e.award,e.module);break;case"ad_exposure":t=Oe(e.module);break;default:t=e;break}we(t);var n=me();return t=Object(i["a"])(Object(i["a"])({},n),t),t},Se=function(){function e(){Object(w["a"])(this,e)}return Object(b["a"])(e,[{key:"reportUserStatics",value:function(e){}},{key:"reportBrandExposure",value:function(e,t){var n=me(),o=be(t,e),a=Object(i["a"])(Object(i["a"])({},n),o);ee({reportList:[a]})}},{key:"reportMerchantExposure",value:function(e,t,n){var o=me(),a=_e(t,n,e),r=Object(i["a"])(Object(i["a"])({},o),a);ee({reportList:[r]})}},{key:"reportTaskExposure",value:function(e,t){var n=me(),o=ye(t,e),a=Object(i["a"])(Object(i["a"])({},n),o);ee({reportList:[a]})}},{key:"reportAwardExposure",value:function(e,t){var n=me(),o=xe(t,e),a=Object(i["a"])(Object(i["a"])({},n),o);ee({reportList:[a]})}},{key:"reportPageExposure",value:function(e,t){te({second_channel:e,event_id:"page_exposure",element_id:t})}},{key:"reportClick",value:function(e,t,n){te({second_channel:e,event_id:t,element_id:n})}},{key:"reportCommData",value:function(e){te(e)}}]),e}(),Ce=new Se,je=new fe,Te=function(e){je.reportUserStatics(e)},qe=function(e,t){Ce.reportPageExposure(e,t),je.reportPageExposure(e,t)},Ie=function(e,t,n){Ce.reportClick(e,t,n),je.reportClick(e,t,n)},Le=function(e){Ce.reportCommData(e),je.reportCommData(e)},Ee={data:function(){return{keyBackPressedTimeStamp:0,env:k["a"].initEnv(),tipUid:"",tipUtype:2,tipNick:"",tipHead:"",tipMsdkSuffix:"",tip_role:null,tip_gid:this.getConfig().game?this.getConfig().game.gid:0,tip_game:this.getConfig().game?this.getConfig().game.name:""}},mounted:function(){var e=Object(y["c"])("adtag")||Object(y["c"])("ad_tag");e&&window.sessionStorage.setItem("tip_report_ad_tag",e)},activated:function(){var e=document.querySelector(".keep-position-wrap"),t=document.querySelector(".keep-position-wrap-b");this.$route&&this.$route.meta&&this.$route.meta.keepPosition&&(e&&this.$route.meta.$scrollTop&&"function"===typeof e.scrollTo&&e.scrollTo(0,this.$route.meta.$scrollTop),t&&this.$route.meta.$scrollTopB&&"function"===typeof t.scrollTo&&t.scrollTo(0,this.$route.meta.$scrollTopB))},computed:{tip_uid:{get:function(){return this.env.isInGame&&g.a.get("msdk_uid")?this.tipUid=g.a.get("msdk_uid"):g.a.get("tip_uid")&&(this.tipUid=g.a.get("tip_uid")),this.tipUid},set:function(e){g.a.set("tip_uid",e,{expires:7}),this.tipUid=e}},slol_uid:{get:function(){return g.a.get("slol_uid")&&(this.tipUid=g.a.get("slol_uid")),this.tipUid},set:function(e){g.a.set("slol_uid",e,{expires:7}),this.tipUid=e}},tip_utype:{get:function(){return this.env.isInGame&&g.a.get("msdk_utype")?this.tipUtype=g.a.get("msdk_utype"):g.a.get("tip_utype")&&(this.tipUtype=g.a.get("tip_utype")),this.tipUtype},set:function(e){g.a.set("tip_utype",e,{expires:7}),this.tipUtype=e}},tip_nick:{get:function(){return this.tipNick=g.a.get("tiplogin_nick")?decodeURIComponent(g.a.get("tiplogin_nick")):"",this.tipNick||(this.tipNick=g.a.get("tip_nick")?decodeURIComponent(g.a.get("tip_nick")):""),this.tipNick},set:function(e){this.tipNick=e}},tip_head:{get:function(){return this.tipHead=g.a.get("tiplogin_headurl"),this.tipHead||(this.tipHead=g.a.get("tip_headurl")),this.tipHead},set:function(e){this.tipHead=e}},tip_msdk_suffix:{get:function(){return this.env.isInGame?(this.tipMsdkSuffix=window.sessionStorage.getItem("tip_msdk_suffix"),this.tipMsdkSuffix):""},set:function(e){this.tipMsdkSuffix=e,window.sessionStorage.setItem("tip_msdk_suffix",e)}},routerHistory:{get:function(){return JSON.parse(window.sessionStorage.getItem("routerHistory"))},set:function(e){window.sessionStorage.setItem("routerHistory",JSON.stringify(e))}}},methods:{getConfig:function(){return{}},getAdTag:function(){return Object(y["c"])("inner_adtag")||window.sessionStorage.getItem("tip_report_ad_tag")||""},getUserTag:function(){return window.sessionStorage.getItem("tip_report_user_tag")||""},getHttpsUrl:function(e){return Y.getHttpsUrl(e)},tinyImage:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;return Y.tinyImage(e,t,n)},jumpToPage:function(e){if(window.app.env.isLolApp){var t="qtpage://news_detail?url=".concat(encodeURIComponent(e));window.location.href=t}else self!=top?top.location.href=e:window.location.href=e},goBack:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];1!=e&&0!=e&&(e=!1),(new Date).getTime()-this.keyBackPressedTimeStamp>500?this.routerHistory&&this.routerHistory.length>1&&!e?(window.sessionStorage.setItem("isBack","1"),this.routerHistory.pop(),window.sessionStorage.setItem("routerHistory",JSON.stringify(this.routerHistory)),this.$router.back()):e||""!=document.referrer?window.history.go(-1):this.closeWebView():this.closeWebView(),this.keyBackPressedTimeStamp=(new Date).getTime()},closeWebView:function(){if(this.env.isMsdkV5&&window.msdkCall){var e='{"MsdkMethod":"closeWebView"}';window.msdkCall(e)}else this.env.isMsdk&&window.msdkCloseWebview?(!this.env.isIOS||this.env.isIOS&&window.msdkiOSHandler)&&window.msdkCloseWebview():this.env.isSlugSdk&&window.customBrowserInterface&&window.customBrowserInterface.closeWebview()},goBackRouter:function(){app.$router.back()},reportDataToCenterData:function(e){te(e)},reportPageExposure:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";qe(e,t)},reportClick:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";Ie(e,t,n)},reportCommData:function(e){Le(e)}}},De={data:function(){return{}},methods:{reportHotTag:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];O.reportHotTag(e,t,n)}},created:function(){this.env.isAndroid&&(window.igameAppWebPressBack=function(){window.history.back()})},destroyed:function(){document.removeEventListener("click",this.handleClickEvent,!0)}},Ue={};function Ae(e){var t=e.$options.title;if(t)return"function"===typeof t?t.call(e):t}Ue.serverTitleMixin={created:function(){var e=Ae(this);e&&(this.$ssrContext.title=e)}},Ue.clientTitleMixin={mounted:function(){var e=Ae(this);e&&(document.title=e)}};var Re=Ue,Ne=function(e){var t=new e({methods:{emit:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o=3&&(n=o[2]||"",t=t.replace(n,"hostplaceholder"))}var i=/[a-zA-z]+\.[a-zA-z]+\.[a-zA-z]+\.[a-zA-z]+/;return i.test(t)},Ge=function(){return window.location.origin.indexOf("nes.smoba.qq.com")>=0},Qe=function(){return"undefined"!==typeof node_mockwindow&&"undefined"!==typeof node_mockwindow.node_cookie?node_mockwindow.node_cookie:We()?window.document.cookie:""},Je=function(e){1e5!==e.data.r&&1e5!==e.data.retcode||e.data&&e.data.url&&e.data.url.length>0&&(window.location.href=e.data.url)},ze=function(e,t){var n=Qe(),o="";"undefined"!==typeof t&&(o=t);var i=new RegExp("".concat(e,"=(.*?)(;|$)")),a=n.match(i);return a&&a[1]&&(o=a[1]),o},Be=function(e){if("string"===typeof e)try{e=new Function("","return ".concat(e))()}catch(t){try{e=JSON.parse(e)}catch(t){}}return e},$e=window.location.protocol,Ve=window.location.host,Xe=-1!==Ve.indexOf("oa.com")?Ve:-1!=window.location.origin.indexOf("test.igame.qq.com")?"mtest.igame.qq.com":"m.igame.qq.com";He.defaults.baseURL="".concat($e,"//").concat(Xe);var Ye=function(){return navigator.userAgent.match(/miniprogram/i)||"miniprogram"===window.__wxjs_environment},Ke=function(){return-1!=window.location.origin.indexOf("nes.slol.qq.com")},Ze=function(e){Ye()&&k["a"].getUrlPara("_ticket")&&k["a"].getUrlPara("openid")&&(He.defaults.headers["Tip-Channel"]="wxproc");var t=Object(i["a"])(Object(i["a"])({},e),{},{withCredentials:!0,transformResponse:[Be]}),n=He.create(t);return n},et=function(e){"undefined"===typeof e.params&&(e.params={});var t=window.sessionStorage.getItem("tip_debug_cgi_env"),n=window.location.host,o=n;if(!0===window.forwardNetworkReq){var i=e.url;if(0!==i.indexOf("http"))if(1==localStorage.getItem("preview_env")){var a=Fe(i)?"atest.igame.qq.com":"mtest.igame.qq.com";i="https://".concat(a,"/").concat(0===i.indexOf("/")?i.substring(1):i)}else{var r=Fe(i)?"a.igame.qq.com":"m.igame.qq.com";i="https://".concat(r).concat(0===i.indexOf("/")?i.substring(1):i)}"string"===typeof e.data?e.data=e.data?"".concat(e.data,"&url=").concat(i):"url=".concat(i):e.data.url=i,e.url="/lowcode-web-api/forward-api"}else-1!==n.indexOf("oa.com")?o=n:Ge()?(o="api.nes.smoba.qq.com",-1!=window.location.origin.indexOf("h5-dev.nes.smoba.qq.com")&&"prod"!=t&&(o="api-dev.nes.smoba.qq.com"),-1!=window.location.origin.indexOf("h5-test.nes.smoba.qq.com")&&"prod"!=t&&(o="api-test.nes.smoba.qq.com")):o=Fe(e.url)?-1!=window.location.origin.indexOf("test")&&"prod"!=t?"atest.igame.qq.com":"a.igame.qq.com":-1!=window.location.origin.indexOf("test")&&"prod"!=t?"mtest.igame.qq.com":"m.igame.qq.com";if(e.baseURL="".concat($e,"//").concat(o),e.params.g_app_tk=ze("tip_token",""),Ye()&&k["a"].getUrlPara("_ticket")&&k["a"].getUrlPara("openid")&&1==k["a"].getUrlPara("utype")&&(k["a"].getUrlPara("_ticket")&&(e.params._ticket=k["a"].getUrlPara("_ticket")),-1!=window.location.origin.indexOf("test.igame.qq.com")&&(e.params._test_flag_=1),k["a"].getUrlPara("openid")&&(e.params.openid=k["a"].getUrlPara("openid")),k["a"].getUrlPara("uid")&&(e.params.uid=k["a"].getUrlPara("uid")),k["a"].getUrlPara("utype")&&(e.params.utype=k["a"].getUrlPara("utype")),k["a"].getUrlPara("_wxNickName")&&g.a.set("tip_nick",k["a"].getUrlPara("_wxNickName")),k["a"].getUrlPara("_wxNvatarUrl")&&g.a.set("tip_headurl",decodeURIComponent(k["a"].getUrlPara("_wxNvatarUrl")))),Ke()){var c=ze("acctype",""),s=ze("comm_utype",1);e.params.acctype=c,"pt"===c?(ze("skey","")&&(e.params.skey=ze("skey","")),ze("uin","")&&(e.params.uin=ze("uin",""))):"wx"===c?(ze("appid","")&&(e.params.appid=ze("appid","")),ze("openid","")&&(e.params.openid=ze("openid","")),ze("access_token","")&&(e.params.access_token=ze("access_token",""))):(e.params.acctype=1==s?"qq":"wx",ze("tip_oappid","")&&(e.params.appid=ze("tip_oappid","")),ze("tip_ouid","")&&(e.params.openid=ze("tip_ouid","")),ze("tip_access_token","")&&(e.params.access_token=ze("tip_access_token","")),ze("tip_login_type","")&&(e.params.source_login_type=ze("tip_login_type","")))}return We()&&e.url&&(0==e.url.indexOf("https://")&&(e.url=e.url.substr(6)),0==e.url.indexOf("http://")&&(e.url=e.url.substr(5))),-1!==e.url.indexOf("?")?e.url+="&tstamp=".concat((new Date).getTime()).concat(k["a"].msdkSuffix().replace("?","&")).concat(k["a"].getExtPlatParams().replace("?","&")):e.url+="?tstamp=".concat((new Date).getTime()).concat(k["a"].msdkSuffix().replace("?","&")).concat(k["a"].getExtPlatParams().replace("?","&")),e},tt=function(e){var t,n=e.data;if(n&&null==n.r)if(null==n.ret)n.r=0;else{if(n.r=n.ret,1e5==n.ret&&null!=e.headers.logininfo){var o=JSON.parse(e.headers.logininfo);null!=(null===o||void 0===o?void 0:o.jumpLoginUrl)&&(n.url=o.jumpLoginUrl)}null==n.msg&&null!=n.err_desc&&""!=n.err_desc?n.msg=decodeURIComponent(n.err_desc):null==n.msg&&null!=n.err_msg&&""!=n.err_msg&&(n.msg=decodeURIComponent(n.err_msg)),1e5==n.r&&(n.msg="")}if(null!==(t=e.headers)&&void 0!==t&&t.logininfo)try{var i=JSON.parse(e.headers.logininfo);i.utype&&g.a.set("tip_utype",i.utype,{expires:7}),-1!==i.domain.indexOf("nes.slol.qq.com")&&i.uid?(g.a.set("slol_uid",i.uid,{expires:7}),i.ouid&&g.a.set("tip_ouid",i.ouid,{expires:7}),i.accesstoken&&g.a.set("tip_access_token",i.accesstoken,{expires:7}),i.oappid&&g.a.set("tip_oappid",i.oappid,{expires:7}),i.logintype&&g.a.set("tip_login_type",i.logintype,{expires:7})):i.uid&&g.a.set("tip_uid",i.uid,{expires:7}),window.app&&window.app.$ebus.emit("initLoginInfo")}catch(a){"parse loginInfo e: ".concat(JSON.stringify(a))}},nt=function(e,t){var n=e.data;return tt(e),!n||1e5!=n.r&&1e5!=n.retcode||!n.url&&!n.bindcode?(We()&&e.config&&e.config.persist&&k["a"].savePersist(e.config.url,n,e.config.persist_time||0),t&&n&&0!=n.r&&19!=n.r&&1e5!=n.r&&(n.msg?Me["a"].showFail(n.msg):Me["a"].showFail("连接失败,请重试!(".concat(n.r,")"))),e):(window.sessionStorage.removeItem("tip_uid"),window.sessionStorage.removeItem("tip_utype"),void("function"===typeof window.globalGotoLogin?window.globalGotoLogin(e):Je(e)))},ot=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e4,o=Ze({timeout:n});return window.globalGotoLogin=t,o.interceptors.request.use(et,(function(e){return Promise.reject(e)})),o.interceptors.response.use((function(t){return nt(t,e)}),(function(e){return null!==e&&void 0!==e&&e.message&&e.message.indexOf("timeout")>-1&&Me["a"].showFail("接口超时,稍后试试吧"),Promise.reject(e)})),o},it={isCloudCGI:Fe,isPvpEsport:Ge,axios_interp:ot,axiosInterp:ot,requestInterceptor:et,responseInterceptor:nt,defaultGotoLogin:Je,getAxiosInstance:Ze},at={};at.axios=it.axiosInterp,at.axios_ori=it.getAxiosInstance;var rt=function(e){e.prototype.$globals=at,e.prototype.axios=at.axios,e.prototype.axios_ori=at.axios_ori},ct=rt,st=n("9236"),dt=n.n(st),lt=!1,ut=[];window.addEventListener("load",(function(){lt=!0,ut.forEach((function(e){"loading"!==e.el.getAttribute("lazy")&&e.src&&(e.el.src=e.src)}))}));var pt={preLoad:1.3,attempt:1,filter:{loading:function(e){var t,n,o;null!==(t=window)&&void 0!==t&&null!==(n=t.app)&&void 0!==n&&null!==(o=n.getConfig)&&void 0!==o&&o.call(n).loadingImg&&(e.loading=window.app.getConfig().loadingImg)},https:function(e){e.src=z(e.src)},compress:function(e){var t,n;e.src=$(e.src,null!==(t=e.el)&&void 0!==t&&t.width?e.el.width:0,null!==(n=e.el)&&void 0!==n&&n.height?e.el.height:0)},cdn:function(e){e.src=B(e.src)},stopBeforeLoad:function(e){lt||(ut.push({el:e.el,src:e.src}),e.stoppedSrc=e.src,e.src="")}},adapter:{error:function(e){lt&&e.stoppedSrc&&e.stoppedSrc.length>0&&(e.src=e.stoppedSrc,e.attempt=e.attempt-1,e.load())}}},gt=n("0a10"),ft="tip-to-observe",mt="tip-to-report",ht=function(){var e=[];return Object.keys(window.sessionStorage).forEach((function(t){t.indexOf(ft)>-1&&e.push(JSON.parse(window.sessionStorage.getItem(t)||"{}"))})),e},vt=function(){var e=[];return window.localStorage&&Object.keys(window.localStorage).forEach((function(t){if(t.indexOf(mt)>-1&&t.indexOf("vue_da|")>-1){var n=t.replace("vue_da|","");e.push(JSON.parse(Object(gt["b"])(n)))}})),e},wt=function(e){var t=window.sessionStorage.getItem("".concat(ft,"-").concat(e));return t?JSON.parse(t):null},bt=function(e){window.sessionStorage.setItem("".concat(ft,"-").concat(e.id),JSON.stringify(e))},_t=function(e){window.sessionStorage.removeItem("".concat(ft,"-").concat(e))},yt=function(e){Object(gt["c"])("".concat(mt,"-").concat(e.id),JSON.stringify(e))},xt=function(){window.localStorage&&Object.keys(window.localStorage).forEach((function(e){if(e.indexOf(mt)>-1&&e.indexOf("vue_da|")>-1){var t=e.replace("vue_da|","");Object(gt["a"])(t)}}))},Ot=function(){function e(){Object(w["a"])(this,e)}return Object(b["a"])(e,null,[{key:"startReport",value:function(){var e=this;setTimeout((function(){setInterval((function(){var t=vt();if(t.length){try{e.postReportDataV2(t)}catch(n){}try{e.postReportDataV3(t)}catch(n){}xt()}}),e.reportRepeatTime)}),this.delayReportTime)}},{key:"postReportDataV2",value:function(e){if(e){var t=[];e.forEach((function(e){var n=[];if(e.data)try{n=JSON.parse(e.data)}catch(o){console.info("reportData.data JSON.parse ERROR",o,e.data)}else console.info("no reportData.data");Array.isArray(n)||(n=[n]),n.forEach((function(e){t.push(e.v2Data)}))})),ee({reportList:t})}}},{key:"postReportDataV3",value:function(e){if(e){var t=[];e.forEach((function(e){var n=[];if(e.data)try{n=JSON.parse(e.data)}catch(o){console.info("reportData.data JSON.parse ERROR",o,e.data)}else console.info("no reportData.data");Array.isArray(n)||(n=[n]),n.forEach((function(e){t.push(e.v3Data)}))})),pe(t)}}}]),e}();Ot.reportRepeatTime=1e3,Ot.delayReportTime=2e3;var kt=function(){function e(t){var n=this;Object(w["a"])(this,e),this.minObserverTime=500,this.observeRepeatTime=500,this.exposureCallBack=t,this.intersectionObserver=new IntersectionObserver((function(e){e.forEach((function(e){e.isIntersecting?n.handleEnter(e):n.handleExit(e)}))})),this.initInterval(),Ot.startReport()}return Object(b["a"])(e,[{key:"observe",value:function(e,t){var n=[],o=[];t&&(n=t,Array.isArray(n)||(n=[n]),n.forEach((function(e){var t=ke(e),n=le(e);o.push({v2Data:t,v3Data:n})}))),e.setAttribute("report-data",JSON.stringify(o)),e.setAttribute("guid",this.guid()),this.intersectionObserver.observe(e)}},{key:"guid",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var t=16*Math.random()|0,n="x"==e?t:3&t|8;return n.toString(16)}))}},{key:"initInterval",value:function(){var e=this;setInterval((function(){ht().forEach((function(t){var n=(new Date).getTime();n-t.stime>=e.minObserverTime&&!t.hasObserve&&(t.hasObserve=!0,bt(t),e.exposureCallBack(t))}))}),this.observeRepeatTime)}},{key:"handleEnter",value:function(e){var t=e.target,n=t.getAttribute("report-data"),o=t.getAttribute("guid"),i=(new Date).getTime(),a=!1,r={id:o,data:n,stime:i,hasObserve:a};wt(o)||bt(r)}},{key:"handleExit",value:function(e){var t=e.target,n=t.getAttribute("guid"),o=(new Date).getTime(),i=wt(n);i&&o-i.stime>=this.minObserverTime&&!i.hasObserve&&this.exposureCallBack(i),_t(n)}}],[{key:"getInstance",value:function(t){return this.instance||(this.instance=new e(t)),this.instance}}]),e}(),St={bind:function(e,t){"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype&&setTimeout((function(){kt.getInstance(Ct).observe(e,t.value)}),50)}},Ct=function(e){yt(e)},jt=function(e){e.directive("treport",St)};window.Vue&&(window.treport=St,Vue.use(jt)),St.install=jt;var Tt=St;r.a.use(Pe),r.a.use(ct),r.a.use(dt.a,pt),r.a.use(Tt);var qt={};qt.consoleExpose={mounted:function(){"undefined"!==typeof window&&"undefined"!==typeof window.document&&this.$options&&this.$options.name&&0===this.$options.name.indexOf("view-")&&(window.cvm=this)}},qt.titleMixins=Re.clientTitleMixin,qt.beforeRouteUpdate=D,qt.commonMixins=Ee,qt.tcssReportMixins=De;var It=qt,Lt=n("b544");function Et(){var e=Object(y["c"])("vconsole")||"";if(!(e.indexOf("false")>-1)&&!app.consoleLog)if(app.consoleLog=1,-1!==window.location.href.indexOf("test.igame.qq.com")||-1!==window.location.href.indexOf("h5-dev.nes.smoba.qq.com")||-1!==window.location.href.indexOf("h5-test.nes.slol.qq.com"))Dt();else{if(-1!==window.location.href.indexOf("h5.nes.slol.qq.com"))return;var t=sessionStorage.getItem("vConsole_no_delay");if("1"==t)return void Dt();setTimeout((function(){window.app.tip_uid&&-1===window.location.href.indexOf(".oa.com/")&&-1===window.location.href.indexOf(".woa.com/")&&-1===window.location.href.indexOf(".qb.qq.com")&&Pt().then((function(){Dt()})).catch((function(e){}))}),10)}}function Dt(){"undefined"===typeof VConsole?Object(u["a"])("https://image-1251917893.file.myqcloud.com/igame/npm/vconsole%403.4.0/vconsole.min.js",(function(){Ut()}),"",null):Ut()}function Ut(){var e=At(),t=Rt(),n=Ht(),o=Wt(),i=Ft(),a=Gt();window.vConsole=new VConsole,window.vConsole.addPlugin(t),window.vConsole.addPlugin(e),window.vConsole.addPlugin(n),window.vConsole.addPlugin(o),window.vConsole.addPlugin(i),window.vConsole.addPlugin(a)}var At=function(){var e=new VConsole.VConsolePlugin("tip_tool","切换环境");e.on("init",(function(){this.list=[]}));var t="
------------------欢迎使用TIP调试插件------------------
";return e.on("renderTab",(function(e){e(t)})),e.on("addTool",(function(e){var t=[];t.push({name:"测试环境",global:!1,onClick:function(){window.sessionStorage.setItem("tip_debug_cgi_env","test"),setTimeout((function(){location.reload()}),1e3)}}),t.push({name:"现网环境",global:!1,onClick:function(){window.sessionStorage.setItem("tip_debug_cgi_env","prod"),setTimeout((function(){location.reload()}),1e3)}}),e(t)})),e},Rt=function(){var e=new VConsole.VConsolePlugin("tip_login","反馈");e.on("init",(function(){this.list=[]}));var t=window.location.href,n=app.tip_uid,o=navigator.userAgent,i=document,a=i.cookie,r='

URL:'.concat(t,'

\n

uid:').concat(n,'

\n

UA:').concat(o,'

\n

cookie:').concat(a,"

");e.on("renderTab",(function(e){e(r)}));var c=[];return c.push({name:"复制用户信息",global:!1,onClick:function(){var e={url:t,uid:n,UA:o,cookie:a};Nt(JSON.stringify(e))}}),c.push({name:"复制网络请求",global:!1,onClick:function(){var e=window.vConsole.pluginList.network.reqList,t=[];Object.keys(e).forEach((function(n){var o=e[n];t.push({url:o.url,status:o.status,getParam:o.getData,postParam:o.postData,costTime:o.costTime,response:o.response})})),Nt(JSON.stringify(t))}}),c.push({name:"复制日志",global:!1,onClick:function(){var e=window.vConsole.pluginList.default.$tabbox.innerText;Nt(e)}}),e.on("addTool",(function(e){e(c)})),e},Nt=function(e){var t=document.createElement("textarea");t.innerHTML=e,document.body.appendChild(t),t.select();var n=document.execCommand("copy");document.body.removeChild(t),n?alert("已复制,开去粘贴吧~"):alert("当前环境暂不支持复制,请长按选择复制~\r\n".concat(e))};function Pt(){return new Promise((function(e,t){app.isDevListUser?e():Mt().then((function(){app.isDevListUser?e():t()})).catch((function(e){t(e)}))}))}function Mt(){return new Promise((function(e,t){var n="/esport.esport_cgi.commcgi.commcgi/CheckInH5WhiteList";if(window.location.origin.indexOf("nes.smoba.qq.com")>=0&&(n="/pvpesport.cgi.commcgi.commcgi/CheckInH5WhiteList"),window.location.origin.indexOf("nes.slol.qq.com")>=0){var o="https://api-test.nes.slol.qq.com",i="https://api.nes.slol.qq.com";n="".concat(-1!==window.location.origin.indexOf("text")?o:i,"/slolnes.cgi.commcgi.commcgi/CheckInH5WhiteList")}Object(K["a"])({url:n,showMsgToast:!1,reqData:{keys:["white_list","dev_list","match_white_list"]}}).then((function(t){t.kv_list&&t.kv_list.forEach((function(e){switch(e.key){case"white_list":1===e.value&&(app.isWhiteListUser=!0);break;case"dev_list":1===e.value&&(app.isDevListUser=!0);break;case"match_white_list":1===e.value&&(app.isMatchWhiteListUser=!0);break}})),e({isWhiteListUser:app.isWhiteListUser,isDevListUser:app.isDevListUser,isMatchWhiteListUser:app.isMatchWhiteListUser})})).catch((function(e){t()}))}))}function Ht(){var e=new VConsole.VConsolePlugin("destory_vconsole","隐藏vConsole"),t="点击destory将会隐藏vconsole";e.on("renderTab",(function(e){e(t)}));var n=[];return n.push({name:"隐藏vConsole",global:!1,onClick:function(){var e=document.querySelector("#__vconsole");e&&(e.style="display:none;")}}),e.on("addTool",(function(e){e(n)})),e}function Wt(){var e=new VConsole.VConsolePlugin("load_delay","去掉vConsole加载延迟"),t="点击将去除vConsole下次的加载延迟";e.on("renderTab",(function(e){e(t)}));var n=[];return n.push({name:"去除延迟",global:!1,onClick:function(){sessionStorage.setItem("vConsole_no_delay","1")}}),n.push({name:"恢复延迟",global:!1,onClick:function(){sessionStorage.removeItem("vConsole_no_delay")}}),n.push({name:"刷新页面",global:!1,onClick:function(){window.location.reload()}}),e.on("addTool",(function(e){e(n)})),e}function Ft(){var e=new VConsole.VConsolePlugin("version","版本信息");return e.on("renderTab",(function(e){window.igameVersion?e("构建时间:".concat(Object(Lt["a"])(new Date(+window.igameVersion.version),"yyyy-MM-dd hh:mm:ss"))):e("无构建信息")})),e}function Gt(){var e=new VConsole.VConsolePlugin("performance","性能数据");return e.on("renderTab",(function(e){setTimeout((function(){var t=Qt(),n=t.dnsTime,o=t.tcpTime,i=t.backendTime,a=t.respTime,r=t.domTime,c=t.firstRenderTime,s=t.wholePageTime,d=t.parseDomTime,l="\n
DNS连接耗时:".concat(n,"ms
\n
TCP连接耗时:").concat(o,"ms
\n
后端响应时间:").concat(i,"ms
\n
HTML页面下载时间:").concat(a,"ms
\n
DOM时间:").concat(r,"ms
\n
首次加载耗时:").concat(c,"ms
\n
整页耗时:").concat(s,"ms
\n
解析DOM树耗时:").concat(d,"ms
\n ");e(l)}),2e3)})),e}function Qt(){var e,t,n=performance.timing||{},o=(null===(e=performance)||void 0===e||null===(t=e.wx)||void 0===t?void 0:t.timeOrigin)||n.fetchStart;n.loadEventEnd,n.loadEventEnd;var i=n.domainLookupEnd-n.domainLookupStart,a=n.connectEnd-n.connectStart,r=n.responseStart-n.requestStart,c=n.responseEnd-n.responseStart,s=n.domContentLoadedEventStart-n.responseEnd,d=n.domLoading-o,l=n.loadEventEnd-o,u=n.domComplete-n.domInteractive;return{timeOrigin:o,timing:n,dnsTime:i,tcpTime:a,backendTime:r,respTime:c,domTime:s,firstRenderTime:d,wholePageTime:l,parseDomTime:u}}n("b680");var Jt="https://ossweb-img.qq.com/images/pmd/pvp/logo/defaulthead.png",zt=function(e){return"undefined"===typeof e?"0.0%":(e*=100,"".concat(e.toFixed(1),"%"))},Bt=function(e){return"undefined"===typeof e?"0.00%":(e*=100,"".concat(e.toFixed(2),"%"))},$t=function(e,t){return e=1*(e||0),e.toFixed(t)},Vt=function(e){return e||Jt},Xt={DEFAULT_HEAD_URL:Jt,defaulthead:Vt,percentage1:zt,percentage2:Bt,fixDPoint:$t,dateFormat:Lt["g"]},Yt=(n("1da1"),n("96cf"),n("9911"),n("94be")),Kt=n("12e5"),Zt=Yt["a"].extend;function en(){var e="";return"undefined"!==typeof nodeUserAgent?e=nodeUserAgent:"undefined"!==typeof window&&window.navigator.userAgent&&(e=window.navigator.userAgent),e}var tn="",nn="";function on(e,t){var n="gamelife://jsapi/".concat(e,"?p=").concat(encodeURIComponent(JSON.stringify(t)||"")),o=document.createElement("iframe");o.setAttribute("width",0),o.setAttribute("height",0),o.setAttribute("style","display: none;"),document.body.appendChild(o),o.src=n,setTimeout((function(){document.body.removeChild(o)}),0)}function an(e,t,n){Zt(t,{callback:n}),on(e,t)}function rn(e,t){var n="";return n=t.indexOf("Android")>-1||t.indexOf("Linux")>-1?e.indexOf("http://")>-1||e.indexOf("https://")>-1?"tencent://gamelife.app/open?url=".concat(encodeURIComponent(e),"&v=").concat((new Date).getTime()):"tencent://gamelife.app/open?".concat(e,"&v=").concat((new Date).getTime()):e.indexOf("http://")>-1||e.indexOf("https://")>-1?"GameLife://".concat(encodeURIComponent(e)):"GameLife://?".concat(e),n}function cn(){WeixinJSBridge.invoke("launchApplication",{schemeUrl:tn},(function(e){window.location.href=nn}))}function sn(e,t,n){var o=en(),i=o;"undefined"!==typeof e&&""!=e||(e=window.location.href),tn=rn(e,i),nn="http://igame.qq.com/tip/download/index.php?_t=1",t&&(nn+="&adtag=".concat(t)),n=n||!1,n&&(nn+="&view=download");var a=o.match(/MicroMessenger\/([\d.]+)/i),r=a&&a[1]&&parseInt(a[1].replace(/\./g,""))||0;if(!a||r<656){var c=Date.now(),s=document.createElement("div");s.style.visibility="hidden",s.innerHTML=''),document.body.appendChild(s),setTimeout((function(){var e=Date.now()-c;e<1e3&&(window.location.href=nn)}),800)}else r>656&&("undefined"===typeof WeixinJSBridge?document.addEventListener?document.addEventListener("WeixinJSBridgeReady",cn,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",cn),document.attachEvent("onWeixinJSBridgeReady",cn)):cn())}var dn={openURL:on,invoke:an,openApp:sn,getGSSchema:rn,_wechatOpenApp:cn};dn.ddzopenApp=Yt["a"].ddzopenApp,dn.openAppNotDownload=Yt["a"].openAppNotDownload;var ln,un=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:e.isDialogShow,expression:"isDialogShow"}]},[n("div",[n("div",{staticClass:"tip-toc-dialog-wrap",on:{click:e.remove}},[n("div",{staticClass:"tip-toc-tipsdialog"},[n("h4",{staticClass:"tip-toc-dialog-title"},[e._v("\n "+e._s(e.title)+"\n ")]),e._v(" "),n("div",{staticClass:"tip-toc-dialog-content"},[n("p",{staticClass:"tip-toc-content-tips-normal"},[e._v("\n "+e._s(e.content)+"\n ")])]),e._v(" "),n("div",{staticClass:"tip-toc-dialogtextbtn"},[e.cancelText.length>0?n("a",{staticClass:"tip-textbtn-primary",staticStyle:{color:"#9b9b9b","border-right":"1px solid #d8d8d8"},attrs:{id:"cancel_btn"},on:{click:e.cancel}},[e._v(e._s(e.cancelText))]):e._e(),e._v(" "),n("a",{staticClass:"tip-textbtn-primary",attrs:{id:"confirm_btn"},on:{click:e.confirm}},[e._v(e._s(e.confirmText))])])])])])])},pn=[],gn={props:{title:{type:String,default:"温馨提示",required:!1},content:{type:String,default:"请在QQ、微信中打开活动页面",required:!1},confirmText:{type:String,default:"确定",required:!1},cancelText:{type:String,default:"",required:!1}},data:function(){return{isDialogShow:!1,resolve:"",reject:"",promise:""}},methods:{confirm:function(){this.isDialogShow=!1,this.resolve("confirm"),this.remove()},cancel:function(){this.isDialogShow=!1,this.reject("cancel"),this.remove()},showDialog:function(){var e=this;return this.isDialogShow=!0,this.promise=new Promise((function(t,n){e.resolve=t,e.reject=n})),this.promise},remove:function(){var e=this;setTimeout((function(){e.destroy()}),100)},destroy:function(){this.$destroy(),document.body.contains(this.$el)&&document.body.removeChild(this.$el)}}},fn=gn,mn=(n("7d46"),n("2877")),hn=Object(mn["a"])(fn,un,pn,!1,null,"8d95facc",null),vn=hn.exports;function wn(e){return document.body.contains(e)}function bn(){ln&&ln.$destroy();var e="tip-dialog-showTipsDialog",t=document.getElementById(e);t&&document.body.removeChild(t);var n=document.createElement("div");n.id=e,document.body.appendChild(n),ln=new(r.a.extend(vn))({el:n})}function _n(e){ln&&wn(ln.$el)||bn(),Object.assign(ln,_n.currentOptions,e)}_n.defaultOptions={show:!0,title:"温馨提示",content:"",confirmText:"确认",cancelText:""},_n.setDefaultOptions=function(e){Object.assign(_n.currentOptions,e)},_n.resetDefaultOptions=function(){_n.currentOptions=Object(i["a"])({},_n.defaultOptions)},_n.resetDefaultOptions(),_n.show=function(e){return _n(Object(i["a"])({},e)),ln.showDialog().then((function(e){return ln=null,Promise.resolve(e)})).catch((function(e){return ln=null,Promise.reject(e)}))},_n.install=function(){r.a.use(vn)},_n.Component=vn;n("b311");var yn=n("6d29"),xn=n.n(yn),On=(n("73b2"),function(e,t){return new Promise((function(n,o){Object(u["a"])("https://res.wx.qq.com/open/js/jweixin-1.6.0.js",(function(){return kn(e,t).then((function(e){n(e)})).catch((function(e){"configWx error : ".concat(e),o(e)}))}))}))}),kn=function(e,t){return new Promise((function(n,o){var i=window,a=i.wx;Sn().then((function(o){a.config({beta:!0,debug:!1,appId:o.wxappid,timestamp:o.timestamp,nonceStr:o.noncestr,signature:o.signature,jsApiList:e,openTagList:t}),a.ready((function(){n(a)})),a.error((function(e){console.warn("wx config error : ",e)}))})).catch((function(e){o(e),"get_share_cfg error : ".concat(e)}))}))},Sn=function(){return new Promise((function(e,t){var n="https://m.igame.qq.com/pvp/share/get_share_cfg";location.origin.indexOf("smoba.qq.com")>-1?n="/pvpesport.sgamenes.commcgi.commcgi/GetWxApiSignature":-1!==window.location.host.indexOf("slol")?n=location.host.indexOf("h5-test")>-1?"https://api-test.nes.slol.qq.com/slolnes.cgi.rift.rift/GetWXJSConfig":location.host.indexOf("h5-dev")>-1?"https://api-dev.nes.slol.qq.com/slolnes.cgi.rift.rift/GetWXJSConfig":"https://api.nes.slol.qq.com/slolnes.cgi.rift.rift/GetWXJSConfig":-1!==window.location.host.indexOf("test")&&(n="https://mtest.igame.qq.com/pvp/share/get_share_cfg");var o=encodeURIComponent("".concat(window.location.protocol,"//").concat(window.location.host).concat(window.location.pathname));Object(K["a"])({url:"".concat(n,"?referpath=").concat(o),oldCGI:!0}).then((function(n){console.warn("initWeixinShare res : ",n),0===n.r||"0"===n.r?(console.warn("initWeixinShare success : ",n),e(n)):(console.warn("initWeixinShare fail : ",n),t("error"))})).catch((function(e){"post_get_share_cfg error : ".concat(e),t(e)}))}))};r.a.component("van-toast",xn.a);function Cn(e){function t(){if(GameHelper.setCustomShareParams&&"function"===typeof GameHelper.setCustomShareParams){var t={url:e};GameHelper.setCustomShareParams(JSON.stringify(t))}}"undefined"===typeof GameHelper&&document.addEventListener?document.addEventListener("GameHelperReady",t,!1):t()}var jn,Tn,qn={ReportUrl:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"main",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"主页";O.reportUrl(e,t,n)},ReportBase:function(e){O.report(e)},ReportHotTag:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];O.reportHotTag(e,t,n)},ReportAdTag:function(e){O.reportAdTag(e)}},In=qn,Ln="tip-page-duration",En=3e3,Dn=function(){function e(){Object(w["a"])(this,e)}return Object(b["a"])(e,null,[{key:"initTimeOnPageReport",value:function(e){this.lastTimeStamp=-1,this.initRouterListener(e),this.initCloseWindowListener(),this.initReportToDataCenter()}},{key:"initRouterListener",value:function(e){var t=this;e.afterEach((function(e,n){try{var o=(new Date).getTime();if(-1!=t.lastTimeStamp&&t.lastRouteName){t.lastRouteName=n.name;var i=Math.ceil((o-t.lastTimeStamp)/1e3);t.lastRouteName&&t.saveDurationData(t.lastRouteName,i,t.lastTimeStamp)}t.lastRouteName=e.name,t.lastTimeStamp=o}catch(a){}}))}},{key:"initCloseWindowListener",value:function(){var e=this,t="onpagehide"in window?"pagehide":"unload";window.addEventListener(t,(function(){var t=(new Date).getTime(),n=Math.ceil((t-e.lastTimeStamp)/1e3);e.lastRouteName&&e.saveDurationData(e.lastRouteName,n,e.lastTimeStamp),e.lastTimeStamp=t}))}},{key:"saveDurationData",value:function(e,t,n){var o={routeName:e,duration:t,projectName:window.app.getConfig().projectName||"other"};Object(gt["c"])("".concat(Ln,"-").concat(n),JSON.stringify(o),0)}},{key:"initReportToDataCenter",value:function(){var e=this;setInterval((function(){var t,n=e.getReportList();n.length&&null!==(t=window)&&void 0!==t&&t.app.tip_uid&&(e.clearReportList(),n.forEach((function(e){In.ReportBase("page_duration.".concat(e.projectName,".").concat(e.routeName,".").concat(e.duration)),Le({event_id:"page_duration",second_channel:"other",page_url:"".concat(e.routeName),event_duration:parseInt(e.duration,10)})})))}),En)}},{key:"getReportList",value:function(){var e=[];if(window.localStorage)for(var t=0;t-1&&n.indexOf("vue_da|")>-1){var o=n.replace("vue_da|","");e.push(JSON.parse(Object(gt["b"])(o)))}}return e}},{key:"clearReportList",value:function(){if(window.localStorage)for(var e=0;e-1&&t.indexOf("vue_da|")>-1){var n=t.replace("vue_da|","");Object(gt["a"])(n)}}}}]),e}(),Un=Dn,An={};for(var Rn in r.a.config.productionTip=!1,r.a.config.devtools=!0,r.a.config.ignoredElements=["wx-open-launch-app","wx-open-launch-weapp"],Object.keys(Xt).forEach((function(e){r.a.filter(e,Xt[e])})),It)It.hasOwnProperty(Rn)&&r.a.mixin(It[Rn]);function Nn(e){if(e=Object(i["a"])(Object(i["a"])({},e),e.config),"undefined"!==typeof e.App){Pn(e),e.projectMixins&&r.a.mixin(e.projectMixins),Mn(),"function"===typeof e.beforeStart&&e.beforeStart(jn,Tn),jn.beforeEach((function(e,t,n){var o=Object(_["f"])();if(o.isGHelper){var i="".concat(window.location.origin).concat(window.location.pathname,"#").concat(e.path);Cn(i)}1!=sessionStorage.getItem("vConsole_no_delay")?n():Object(u["a"])("https://image-1251917893.file.myqcloud.com/igame/npm/vconsole%403.4.0/vconsole.min.js",(function(){n()}),"",null)}));var t=!1;(e.noreport||"localhost"===window.location.hostname||-1!==window.location.hostname.indexOf(".oa.com")||-1!==window.location.hostname.indexOf(".woa.com"))&&(t=!0),t||(Hn(e),-1!==window.location.host.indexOf("igame.qq.com")&&Un.initTimeOnPageReport(jn)),jn.afterEach((function(){Et(),Object(E["a"])(e.loginType)})),jn.afterEach(Wn),Fn(e)}return{router:jn}}function Pn(e){if(!jn&&!Tn){r.a.use(l.a),r.a.use(s.a),"undefined"===typeof e.routerMap&&(e.routerMap=[]);var t,a=[{path:"/login",name:"login",meta:{needLogin:!1},hidden:!0,component:function(){return n.e("chunk-a37a2744").then(n.bind(null,"9b37"))}}].concat(),c=Object(o["a"])(e.routerMap);try{for(c.s();!(t=c.n()).done;){var d=t.value,u=!1,p=void 0;for(p in a)if(d.path==a[p].path){u=!0;break}u?a[p]=d:a.push(d)}}catch(f){c.e(f)}finally{c.f()}jn=new l.a({mode:"hash",fallback:!1,routes:a,scrollBehavior:function(e,t,n){return n||{x:0,y:0}}});var g={login:q,global:L};"undefined"===typeof e.vxModule&&(e.vxModule={}),"undefined"===typeof e.vxModuleGetter&&(e.vxModuleGetter={}),Tn=new s.a.Store({modules:Object(i["a"])(Object(i["a"])({},g),e.vxModule),getters:e.vxModuleGetter})}}function Mn(){jn.beforeEach((function(e,t,n){t.fullPath;var o=JSON.parse(window.sessionStorage.getItem("routerHistory"));o&&""!==o&&"/"!==t.fullPath||(o=[]),"0"===window.sessionStorage.getItem("isBack")?o.push(e.path):0===o.length&&o.push(t.fullPath),window.sessionStorage.setItem("routerHistory",JSON.stringify(o)),window.sessionStorage.setItem("isBack","0"),n()}))}function Hn(e){var t,n=null;null!==(t=e.report)&&void 0!==t&&t.report007Name&&(n=e.report.report007Name),v.initPerformance(n),jn.beforeEach((function(e,t,n){var o;null!==(o=e.meta)&&void 0!==o&&o.title&&(document.title=e.meta.title),O.reportUrl("".concat(document.location.pathname.replace("index.html",""),"/").concat(e.name),e.name,document.title),O.reportAdTag(e.name),O.initDomHotTagReport(),n()}))}function Wn(e,t){var n=document.querySelector(".keep-position-wrap"),o=document.querySelector(".keep-position-wrap-b");if(t.meta&&t.meta.keepPosition){if(n){var i=n.scrollTop;t.meta.$scrollTop=i}if(o){var a=o.scrollTop;t.meta.$scrollTopB=a}}}function Fn(e){var t,n,o,i,a,c=new r.a({el:"#app",i18n:e.i18n,router:jn,store:Tn,render:function(t){return t(e.App)}});window.app=c,null!==(t=e.report)&&void 0!==t&&t.reportDataCenterChannel&&(window.app.reportChannel=e.report.reportDataCenterChannel),null!==(n=e.report)&&void 0!==n&&n.firstChannel?window.app.firstChannel=e.report.firstChannel:null!==(o=e.report)&&void 0!==o&&o.reportDataCenterChannel&&(window.app.firstChannel=e.report.reportDataCenterChannel),null!==(i=e.report)&&void 0!==i&&i.businessType&&(window.app.businessType=e.report.businessType),e.projectName?window.app.reportSource=e.projectName:null!==(a=e.report)&&void 0!==a&&a.reportSource&&(window.app.reportSource=e.report.reportSource),e.loginType&&(window.app.loginType=e.loginType),e.loginFunction&&(window.app.loginFunction=e.loginFunction,window.globalGotoLogin=e.loginFunction)}An.StartApp=Nn,An.router=jn,An.store=Tn;var Gn=An,Qn=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticStyle:{height:"100%"},attrs:{id:"app"}},[n("keep-alive",{attrs:{include:"IGameIndex"}},[n("router-view")],1)],1)},Jn=[],zn=function(){Object(u["a"])("https://image-1251917893.file.myqcloud.com/igame/common/js/adapter.js")},Bn=function(){return new Promise((function(e){var t=navigator.userAgent.toLowerCase();-1!=t.indexOf(" msdk/5")?Object(u["a"])("https://image-1251917893.file.myqcloud.com/igame/common/js/msdkJsAdapterV5.js",(function(){e()})):-1!=t.indexOf(" msdk/")?Object(u["a"])("https://img.ssl.msdk.qq.com/wiki/msdkJsAdapter.js",(function(){e()})):-1!=t.indexOf("ingame")&&Object(u["a"])("https://ossweb-img.qq.com/htdocs/images/js/ingame_sdk/browser_adapt.js",(function(){e()}))}))},$n=function(){var e=navigator.userAgent.toLowerCase();if(-1!=e.indexOf(" msdk/5"))if(-1!=e.indexOf("android")){var t='{"MsdkMethod":"setFullScreen","isFullScreen":"true"}';window.msdkCall(t)}else if(window.WebViewJavascriptBridge){var n='{"MsdkMethod":"setFullScreen","isFullScreen":"true"}';window.msdkCall(n)}else document.addEventListener("WebViewJavascriptBridgeReady",(function(){var e='{"MsdkMethod":"setFullScreen","isFullScreen":"true"}';window.msdkCall(e)}),!1);else if(-1!=e.indexOf(" msdk/"))if(-1!=e.indexOf("android")){var o='{"MsdkMethod":"WGSetFullScreen","isFullScreen":"true"}';window.msdkCall("WGSetFullScreen",o)}else if(window.WebViewJavascriptBridge){var i='{"MsdkMethod":"WGSetFullScreen","isFullScreen":"true"}';window.msdkCall("WGSetFullScreen",i)}else document.addEventListener("WebViewJavascriptBridgeReady",(function(){var e='{"MsdkMethod":"WGSetFullScreen","isFullScreen":"true"}';window.msdkCall("WGSetFullScreen",e)}),!1)},Vn=function(){var e=!0;document.body.addEventListener("focusin",(function(){e=!1})),document.body.addEventListener("focusout",(function(){e=!0,setTimeout((function(){e&&window.scroll(0,0)}),300)}))},Xn={callJsFontSizeAdapter:zn,callJsBrowserAdapter:Bn,callJsSoftKeyboard:Vn,callJsSetFullScreen:$n},Yn={data:function(){return{}},computed:{},mounted:function(){var e=this;this.getConfig()&&this.getConfig().jsAdapter&&this.getConfig().jsAdapter.callJsFontSizeAdapter&&Xn.callJsFontSizeAdapter(),Xn.callJsSoftKeyboard(),Xn.callJsBrowserAdapter().then((function(){var t;e.getConfig().jsAdapter.callJsSetFullScreen&&Xn.callJsSetFullScreen(),null===(t=e.jsBrowserAdapterCallBack)||void 0===t||t.call(e)}))},methods:{}},Kn=function(e,t){e.merc_id&&e.module_id&&Object(K["a"])({reqData:e,oldCGI:!0,url:"/pvp/comm/report/stat_daily_number",showMsgToast:!1}).then((function(e){})).catch((function(e){})),t.firstChannel&&Te(t)},Zn={reportStatDaily:Kn},eo={data:function(){return{}},computed:{},mounted:function(){var e=this;setTimeout((function(){e.reportStat()}),600)},methods:{reportStat:function(){if(this.getConfig()&&this.getConfig().report&&(this.getConfig().report.merchantId&&this.getConfig().report.moduleId||this.getConfig().report.firstChannel)){var e,t="";this.getConfig().projectName?t=this.getConfig().projectName:null!==(e=this.getConfig().report)&&void 0!==e&&e.reportSource&&(t=this.getConfig().report.reportSource);var n={firstChannel:this.getConfig().report.firstChannel,businessType:this.getConfig().report.businessType,source:t,gid:this.getConfig().game.gid,adTag:this.getAdTag(),userTag:this.getUserTag(),uid:this.tip_uid};if(10040==this.getConfig().report.moduleId){var o={plat:this.env.isIos?2:1,gid:this.getConfig().game.gid};331==this.getConfig().game.gid?(o.merc_id="wx95a3a4d7c627e07d",o.module_id=10006,o.oper_id=100,o.sresv1=this.getConfig().report.sresv1||"wzh5"):411==this.getConfig().game.gid?(o.merc_id=this.getConfig().report.merchantId,o.module_id=10026,o.oper_id=1002601,o.sresv1=""):323==this.getConfig().game.gid?(o.merc_id="wx76fc280041c16519",o.module_id=10006,o.oper_id=100,o.sresv1=""):304==this.getConfig().game.gid?(o.merc_id="ingame_majiang",o.module_id=10006,o.oper_id=100,o.sresv1=""):(o.merc_id=this.getConfig().report.merchantId,o.module_id=10006,o.oper_id=100,o.sresv1=this.getConfig().report.sresv1),Zn.reportStatDaily(o,n)}else{var i={plat:this.env.isIos?2:1,merc_id:this.getConfig().report.merchantId,module_id:this.getConfig().report.moduleId,oper_id:this.getConfig().report.opId,sresv1:this.getConfig().report.sresv1,gid:this.getConfig().game.gid};Zn.reportStatDaily(i,n)}}}}},to=eo,no=n("cebe"),oo=n.n(no),io=n("af2c"),ao={},ro="PBDBZ-NC5WP-KRBDR-LUV7Z-OKLOT-LVFQE";ao.LocationSuccess=1,ao.LocationIpSuccess=2,ao.LocationSuccss=1,ao.LocationIpSuccss=2,ao.LocationFailed=3,ao.fallback={lat:22.548178,lng:113.944866};var co=432e5;ao.localExpireMs=co,ao.GEO_KEY="",ao.GEO_REFERER="",ao.WEIXIN_CONF_URL="";var so=!0,lo=!0,uo=3e3,po=!1,go=!1,fo=!0;function mo(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=!1,i=!1;function a(t){e&&(t&&"ip"!==t.type?e(t,ao.LocationSuccss):e(t,ao.LocationIpSuccss)),t&&_o(t)}function r(){yo(e)}function c(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(t.coords&&t.coords.latitude&&t.coords.longitude){var n=t.coords,i=n.latitude,r=n.longitude,c=n.accuracy,s={accuracy:c,latitude:i,longitude:r,lat:i,lng:r,type:"h5"};return o=!0,void a(s)}bo(e)}function s(t){t&&t.code,i=!0,bo(e)}function d(){Object(u["a"])("https://3gimg.qq.com/lightmap/components/geolocation/geolocation.min.js",(function(){var e=new qq.maps.Geolocation(ao.GEO_KEY,ao.GEO_REFERER),n={timeout:t};e.getLocation(a,r,n)}))}n?d():(setTimeout((function(){o||i||bo(e)}),t),navigator&&navigator.geolocation&&navigator.geolocation.getCurrentPosition?navigator.geolocation.getCurrentPosition(c,s,{timeout:t}):bo(e))}function ho(e){On(["getLocation","openLocation"],[]).then((function(t){var n={type:"gcj02",success:function(t){var n={lat:parseFloat(t.latitude),lng:parseFloat(t.longitude)};_o(n),e&&e(n,ao.LocationSuccss)},fail:function(t){e&&e(ao.fallback,ao.LocationFailed)}};t.getLocation(n)})).catch((function(t){"initWeChatLocation error : ".concat(t),e&&e(ao.fallback,ao.LocationFailed)}))}function vo(e,t,n){var o=function(){n?mo(e,t):e&&e(ao.fallback,ao.LocationFailed)};Object(K["a"])({url:"https://a.igame.qq.com/pmdtrpc.commcgi.user.user/GetUserLbsInfo",cloudCGI:!0,showMsgToast:!1,oldCGIPostJsonObject:!0,timeout:3e3}).then((function(t){if(t.lbsinfo)if(t.lbsinfo.gpsinfo&&t.lbsinfo.gpsinfo.lat&&t.lbsinfo.gpsinfo.lng){var n={lat:parseFloat(t.lbsinfo.gpsinfo.lat),lng:parseFloat(t.lbsinfo.gpsinfo.lng)};_o(n),e&&e(n,ao.LocationSuccss)}else if(t.lbsinfo.netinfo&&t.lbsinfo.netinfo.iplat&&t.lbsinfo.netinfo.iplng){var i={lat:parseFloat(t.lbsinfo.netinfo.iplat),lng:parseFloat(t.lbsinfo.netinfo.iplng)};_o(i),e&&e(i,ao.LocationIpSuccss)}else o();else o()})).catch((function(e){o()}))}ao.initConfig=function(e){ao.GEO_KEY=e.geo_key,ao.GEO_REFERER=e.geo_referer,ao.WEIXIN_CONF_URL=e.wx_conf_url},ao.startLocation=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:so,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:lo,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:uo,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:po,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:go,r=arguments.length>6&&void 0!==arguments[6]?arguments[6]:co,c=arguments.length>7&&void 0!==arguments[7]?arguments[7]:fo;if(!window.__PRERENDER_INJECTED||window.__PRERENDER_INJECTED.initLocation)if(ao.localExpireMs=r,t&&window.sessionStorage.getItem("position")){var s=JSON.parse(window.sessionStorage.getItem("position"));e(s,ao.LocationSuccss)}else{if(a){var d=Object(gt["b"])("position");if(d){var l=JSON.parse(d);return void e(l,ao.LocationSuccss)}}var u=navigator.userAgent.toLowerCase(),p=-1!=u.indexOf("micromessenger"),g=-1!=u.indexOf(" msdk/")||-1!=u.indexOf("ingame")||null!==Object(y["c"])("tipdzdialog")||window.sessionStorage.getItem("tipdzdialog");n&&p?ho(e):i&&g?vo(e,o,c):mo(e,o,c)}else e&&e(ao.fallback,ao.LocationFailed)},ao.baseGetLocation=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.cache,i=void 0===o?so:o,a=n.useWxSdk,r=void 0===a?lo:a,c=n.timeout,s=void 0===c?uo:c,d=n.useTipSdk,l=void 0===d?po:d,u=n.localCache,p=void 0===u?go:u,g=n.localExpireMs,f=void 0===g?co:g,m=n.useTencentMap,h=void 0===m?fo:m,v=n.extraCallBack,w=void 0===v?null:v;ao.initConfig({geo_key:ro,geo_referer:"tip",wx_conf_url:"https://m.igame.qq.com/pvp/share/get_share_cfg"}),ao.startLocation((function(t,n){if(app.position=t,app.position.province&&app.position.city){var o=Object(io["c"])(app.position.province,app.position.city);o.length>1&&(app.position.provinceId=o[0]||0,app.position.cityId=o[1]||0)}e({location:t,flag:n}),"function"===typeof w&&w(t,n)}),i,r,s,l,p,f,h)};var wo=ao;function bo(e){oo.a.get("https://apis.map.qq.com/ws/location/v1/ip?key=".concat(ro)).then((function(t){var n=t&&t.data&&t.data.result||{},o=n&&n.location||{};if(o.lat&&o.lng&&e){var i={lat:o.lat,lng:o.lng,ip:n.ip,type:"ip",adInfo:n.ad_info};return _o(i),void e(i,ao.LocationIpSuccss)}yo(e)})).catch((function(t){yo(e)}))}function _o(e){window.sessionStorage.setItem("position",JSON.stringify(e)),Object(gt["c"])("position",JSON.stringify(e),ao.localExpireMs)}function yo(e){e&&e(ao.fallback,ao.LocationFailed)}var xo,Oo={mixins:[Yn,to],data:function(){return{}},mounted:function(){this.getLocation().then((function(e){e.location;var t=e.flag;t===wo.LocationSuccess||wo.LocationIpSuccess}))}},ko=Oo,So=Object(mn["a"])(ko,Qn,Jn,!1,null,null,null),Co=So.exports,jo=[{path:"/",name:"index",redirect:"/index"},{path:"/index",name:"index",component:function(){return n.e("chunk-450938b3").then(n.bind(null,"a6308"))}}],To=jo;(function(e){e[e["LocationSuccss"]=1]="LocationSuccss",e[e["LocationIpSuccss"]=2]="LocationIpSuccss",e[e["LocationFailed"]=3]="LocationFailed"})(xo||(xo={}));var qo={GEO_KEY:"PBDBZ-NC5WP-KRBDR-LUV7Z-OKLOT-LVFQE",GEO_KEY_PLUS:"6APBZ-I6NCW-EH7RN-R3PJI-JSZA7-B6FMV",GEO_REFERER:"tip"},Io=function e(){Object(w["a"])(this,e)};Io.defaultLocation={lat:22.548178,lng:113.944866},Io.defaultTimeout=3e3,Io.defaultUseWxSdk=!0,Io.defaultUseTipSdk=!1,Io.defaultUseTencentMapIfFail=!0,Io.defaultUseTencentMapApi=!1,Io.defaultCache=!0,Io.defaultLocalCache=!1,Io.defaultLocalExpireMs=432e5;var Lo=function(){function e(){Object(w["a"])(this,e)}return Object(b["a"])(e,null,[{key:"getLocationFromSessionStorage",value:function(){if(window.sessionStorage.getItem("position"))try{var e=JSON.parse(window.sessionStorage.getItem("position"));return e}catch(t){return null}return null}},{key:"getLocationFromLocalStorage",value:function(){if(Object(gt["b"])("position"))try{var e=JSON.parse(Object(gt["b"])("position"));return e}catch(t){return null}return null}},{key:"setLocationToStorage",value:function(e,t){window.sessionStorage.setItem("position",JSON.stringify(e)),Object(gt["c"])("position",JSON.stringify(e),t)}}]),e}(),Eo=n("ec41"),Do=function(){function e(){Object(w["a"])(this,e)}return Object(b["a"])(e,[{key:"getLocation",value:function(){return new Promise((function(e,t){Object(K["a"])({url:"/pmdtrpc.commcgi.tipcgi.tipcgi/GetLBS",showMsgToast:!1}).then((function(n){var o=(null===n||void 0===n?void 0:n.ip_result)||{},i=(null===o||void 0===o?void 0:o.location)||{};if(null!==i&&void 0!==i&&i.lat&&i.lng){var a={lat:i.lat,lng:i.lng,ip:o.ip,type:"ip",adInfo:o.ad_info};e({location:a,flag:xo.LocationIpSuccss})}else t()})).catch((function(e){t()}))}))}}],[{key:"getAreaInfoByLatAndLng",value:function(e,t){return new Promise((function(n,o){oo.a.get("https://apis.map.qq.com/ws/geocoder/v1/?location=".concat(e,",").concat(t,"&key=").concat(qo.GEO_KEY_PLUS)).then((function(e){if(e.data){var t=e.data;t.city=Object(Eo["a"])(t,"result.ad_info.city"),t.province=Object(Eo["a"])(t,"result.ad_info.province");var i=Object(io["c"])(t.province,t.city);i.length>1&&(t.provinceId=i[0]||0,t.cityId=i[1]||0),n(t)}else o()})).catch((function(e){o(e)}))}))}}]),e}(),Uo=function(){function e(){Object(w["a"])(this,e)}return Object(b["a"])(e,[{key:"getLocation",value:function(e){return new Promise((function(t,n){function o(e){if(e.province&&e.city){var o=Object(io["c"])(e.province,e.city);o.length>1&&(e.provinceId=o[0]||0,e.cityId=o[1]||0)}e&&"ip"!==e.type?t({location:e,flag:xo.LocationSuccss}):e?t({location:e,flag:xo.LocationIpSuccss}):n()}function i(){n()}Object(u["a"])("https://3gimg.qq.com/lightmap/components/geolocation/geolocation.min.js",(function(){var t=new window.qq.maps.Geolocation(qo.GEO_KEY,qo.GEO_REFERER),n={timeout:e.timeout};t.getLocation(o,i,n)}))}))}}]),e}(),Ao=function(){function e(){Object(w["a"])(this,e)}return Object(b["a"])(e,[{key:"getLocation",value:function(e){return new Promise((function(t,n){Object(K["a"])({url:"https://a.igame.qq.com/pmdtrpc.commcgi.user.user/GetUserLbsInfo",showMsgToast:!1,timeout:e.timeout}).then((function(e){var o,i;if(e.lbsinfo)if(null!==(o=e.lbsinfo.gpsinfo)&&void 0!==o&&o.lat&&e.lbsinfo.gpsinfo.lng){var a={lat:parseFloat(e.lbsinfo.gpsinfo.lat),lng:parseFloat(e.lbsinfo.gpsinfo.lng)};t({location:a,flag:xo.LocationSuccss})}else if(null!==(i=e.lbsinfo.netinfo)&&void 0!==i&&i.iplat&&e.lbsinfo.netinfo.iplng){var r={lat:parseFloat(e.lbsinfo.netinfo.iplat),lng:parseFloat(e.lbsinfo.netinfo.iplng)};t({location:r,flag:xo.LocationIpSuccss})}else n();else n()})).catch((function(e){n()}))}))}}]),e}(),Ro=function(){function e(){Object(w["a"])(this,e)}return Object(b["a"])(e,[{key:"getLocation",value:function(){return new Promise((function(e,t){On(["getLocation","openLocation"],[]).then((function(n){var o={type:"gcj02",success:function(t){var n={lat:parseFloat(t.latitude),lng:parseFloat(t.longitude)};e({location:n,flag:xo.LocationSuccss})},fail:function(e){t()}};n.getLocation(o)})).catch((function(e){t()}))}))}}]),e}(),No=function(){function e(){Object(w["a"])(this,e)}return Object(b["a"])(e,[{key:"getLocation",value:function(){return new Promise((function(e,t){function n(n){if(n){var o={lat:n.coords.latitude,lng:n.coords.longitude};e({location:o,flag:xo.LocationSuccss})}else t()}function o(e){"getPosError:".concat(e.code,",").concat(navigator.geolocation,",").concat(e.message),t()}navigator.geolocation.getCurrentPosition(n,o)}))}}]),e}(),Po=function(){function e(){Object(w["a"])(this,e),e.env=Object(_["f"])(),this.locationHandle=new Uo}return Object(b["a"])(e,null,[{key:"getInstance",value:function(){return this.instance}},{key:"getLocation",value:function(t){var n,o,i,a,r,c,s,d,l=this;return t.timeout=null!==(n=t.timeout)&&void 0!==n?n:Io.defaultTimeout,t.useWxSdk=null!==(o=t.useWxSdk)&&void 0!==o?o:Io.defaultUseWxSdk,t.useTipSdk=null!==(i=t.useTipSdk)&&void 0!==i?i:Io.defaultUseTipSdk,t.useTencentMapIfFail=null!==(a=t.useTencentMapIfFail)&&void 0!==a?a:Io.defaultUseTencentMapIfFail,t.useTencentMapApi=null!==(r=t.useTencentMapApi)&&void 0!==r?r:Io.defaultUseTencentMapApi,t.sessionCache=null!==(c=t.sessionCache)&&void 0!==c?c:Io.defaultCache,t.localCache=null!==(s=t.localCache)&&void 0!==s?s:Io.defaultLocalCache,t.localExpireMs=null!==(d=t.localExpireMs)&&void 0!==d?d:Io.defaultLocalExpireMs,new Promise((function(n){if(t.sessionCache&&Lo.getLocationFromSessionStorage()){var o=xo.LocationSuccss;return"ip"===Lo.getLocationFromSessionStorage().type&&(o=xo.LocationIpSuccss),void n({location:Lo.getLocationFromSessionStorage(),flag:o})}if(t.localCache&&Lo.getLocationFromLocalStorage()){var i=xo.LocationSuccss;return"ip"===Lo.getLocationFromLocalStorage().type&&(i=xo.LocationIpSuccss),void n({location:Lo.getLocationFromLocalStorage(),flag:i})}t.useWxSdk&&e.env.isWeixin?l.getInstance().locationHandle=new Ro:t.useTipSdk&&e.env.isInGame?l.getInstance().locationHandle=new Ao:t.useTencentMapApi?l.getInstance().locationHandle=new Do:t.useH5Geolocation&&(l.getInstance().locationHandle=new No),l.getInstance().locationHandle.getLocation(t).then((function(e){n(e),e.location&&Lo.setLocationToStorage(e.location,t.localExpireMs)})).catch((function(e){a(e)}));var a=function(e){t.useTencentMapIfFail&&l.getInstance().locationHandle instanceof Ao?(l.getInstance().locationHandle=new Uo,l.getInstance().locationHandle.getLocation(t).then((function(e){n(e),e.location&&Lo.setLocationToStorage(e.location,t.localExpireMs)})).catch((function(e){n({location:Io.defaultLocation,flag:xo.LocationFailed})}))):n({location:Io.defaultLocation,flag:xo.LocationFailed})}}))}},{key:"getAreaInfoByLatAndLng",value:function(e,t){return Do.getAreaInfoByLatAndLng(e,t)}}]),e}();Po.locationFlag=xo,Po.instance=new Po;var Mo=Po,Ho={methods:{getLocation:function(){var e=this;return new Promise((function(t,n){if(e.getConfig()&&e.getConfig().location){var o=e.getConfig().location;Mo.getLocation(o).then((function(n){e.getConfig().location.defaultLocation&&n.flag===xo.LocationFailed&&(n.location=e.getConfig().location.defaultLocation),window.app.position=n.location,t(n)})).catch((function(o){if(e.getConfig().location.defaultLocation){var i=e.getConfig().location.defaultLocation;t({location:i,flag:xo.LocationFailed})}n(o)}))}}))}}},Wo=n("afc8"),Fo={mixins:[Ho],data:function(){return{}},computed:{},mounted:function(){},methods:{getConfig:function(){return Wo}}},Go=n("afc8"),Qo=function(e,t){};Gn.StartApp({App:Co,routerMap:To,projectMixins:Fo,beforeStart:Qo,config:Go})},"1ff2":function(e,t,n){var o=n("24fb");t=o(!1),t.push([e.i,".tip-toc-dialog-wrap[data-v-8d95facc],.tip-toc-operating-layer[data-v-8d95facc],.tip-toc-sharetips[data-v-8d95facc]{position:fixed;z-index:9999;height:100%;width:100%;left:0;top:0;background:rgba(0,0,0,.8)}.tip-toc-dialog[data-v-8d95facc],.tip-toc-sharedialog[data-v-8d95facc],.tip-toc-tipsdialog[data-v-8d95facc]{position:fixed;background:#fff;z-index:10000;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.tip-toc-dialog[data-v-8d95facc]{width:5.6rem;padding-top:.32rem;border-radius:4px}.tip-toc-tipsdialog[data-v-8d95facc]{width:5rem;padding-top:.48rem;border-radius:4px}.tip-toc-sharedialog[data-v-8d95facc]{width:6.3rem;border-radius:2px}.tip-toc-dialog-close[data-v-8d95facc]{width:.5rem;height:.5rem;position:absolute;right:.16rem;top:.16rem;display:block;background:url(https://image-1251917893.file.myqcloud.com/TIP_GameSystem_2020/toB/icon/ico-close.png) 50% no-repeat;background-size:.3rem .3rem}.tip-toc-dialog-title[data-v-8d95facc]{font-size:.32rem;line-height:.44rem;text-align:center;color:#4a4a4a;font-weight:700}.tip-toc-dialog-texttips[data-v-8d95facc]{margin:.16rem auto -.36rem;font-size:.24rem;line-height:.34rem;color:#9b9b9b;text-align:center}.tip-toc-dialog-content[data-v-8d95facc]{padding:.12rem .6rem .24rem}.tip-toc-content-tips-normal[data-v-8d95facc],.tip-toc-content-tips-warn[data-v-8d95facc]{font-size:.28rem;line-height:.4rem;text-align:center}.tip-toc-content-tips-normal[data-v-8d95facc]{color:#999}.tip-toc-dialogtextbtn[data-v-8d95facc]{border-top:1px solid #d8d8d8;display:-webkit-box;display:-ms-flexbox;display:flex}.tip-textbtn-cancel[data-v-8d95facc],.tip-textbtn-primary[data-v-8d95facc]{width:100%;height:.88rem;display:block;line-height:.88rem;text-align:center;font-size:.28rem}.tip-textbtn-primary[data-v-8d95facc]{color:#d49b38}.tip-textbtn-cancel[data-v-8d95facc]{color:#4a4a4a;border-right:1px solid #d8d8d8}",""]),e.exports=t},5404:function(e,t,n){"use strict";n.d(t,"c",(function(){return g})),n.d(t,"b",(function(){return f}));n("ac1f"),n("841c");var o=n("a78e"),i=n.n(o),a=n("b544"),r=n("d53f"),c=n("db24"),s=n("c88c"),d=n("af2c"),l=n("0a10"),u=n("e1ae"),p=function(){var e=Object(s["f"])();return e.isInGame?Object(r["c"])("partition")||Object(r["c"])("partition",window.sessionStorage.getItem("tip_msdk_suffix"))||Object(r["c"])("partition",i.a.get("tokenParams")):e.isGHelper?Object(r["c"])("serverId")||Object(r["c"])("serverId",window.sessionStorage.getItem("tip_msdk_suffix")):null},g=function(){var e=i.a.get("msdk_uid"),t=i.a.get("msdk_skey"),n=Object(s["f"])(),o=!!Object(r["c"])("accesstoken")&&!!Object(r["c"])("areaid")&&!Object(r["c"])("msdkEncodeParam")&&!Object(r["c"])("sig");if(null!=e&&null!=t||null!=Object(r["c"])("msdkEncodeParam")&&null!=Object(r["c"])("sig")||null!=Object(r["c"])("itopencodeparam")&&null!=Object(r["c"])("sig")||n.isGHelper||n.isMsdk||n.isInGame||null!=Object(r["c"])("tipdzdialog")||null!=Object(r["c"])("tipcommlogin")||null!=Object(r["c"])("acctype")||o){var a=window.location.search;if(!a){var c=location,d=c.hash;d&&d.indexOf("?")>0&&(a=d.substring(d.indexOf("?")))}if(o){var l=a,u=Object(r["c"])("accesstoken"),p=1==Object(r["c"])("areaid")?"wx":"qc";return l+="&access_token=".concat(u),l+="&acctype=".concat(p),window.sessionStorage.setItem("ddz_ingame",1),l}return a}return""},f=function(){var e=Object(r["c"])("extplat_type");if("bindcode"===e||"livelink"===e){var t=window.location.search;if(!t){var n=location,o=n.hash;o&&o.indexOf("?")>0&&(t=o.substring(o.indexOf("?")))}if(t)return t}return""};t["a"]={getZeroTimestamp:a["f"],getLastTimestamp:a["b"],getTimeAgo:a["c"],getTodayZero:a["e"],dateFormat:a["a"],getUrlPara:r["c"],getQueryObj:r["b"],composeUrlQuery:r["a"],getUserAgent:c["c"],getEnvUAType:c["b"],checkUAIsIOS:c["a"],checkNodeEnv:s["a"],getEnvCurrPage:s["b"],getEnvLoginType:s["c"],getLoginInfo:s["e"],getEnvVersion:s["d"],initEnv:s["f"],Cookies:u["a"],areaDataAll:d["b"],areaData:d["a"],getAreaCode:d["c"],getAreaName:d["d"],getProvName:d["f"],getCityName:d["e"],savePersist:l["c"],getPersist:l["b"],clearPersist:l["a"],msdkSuffix:g,getPvpPartition:p,getExtPlatParams:f}},5880:function(e,t){e.exports=Vuex},6389:function(e,t){e.exports=VueRouter},6443:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var o=n("d4ec"),i=n("bee2"),a=n("262e"),r=n("2caf"),c=(n("99af"),n("ac1f"),n("2ca0"),n("1276"),n("5319"),n("c2a8")),s=function(e){Object(a["a"])(n,e);var t=Object(r["a"])(n);function n(){return Object(o["a"])(this,n),t.apply(this,arguments)}return Object(i["a"])(n,[{key:"checkHandle",value:function(e){return n.isCloudCGI(e.url)}},{key:"handler",value:function(e){if(-1===e.url.indexOf("http")){var t=-1!==window.location.origin.indexOf("test")&&"prod"!==this.getDebugCGIEnv()?"atest.igame.qq.com":"a.igame.qq.com";e.baseURL="".concat(window.location.protocol,"//").concat(t)}else if(-1!==e.url.indexOf("http")){var n=/^http(s)?:\/\/(.*?)\//,o=n.exec(e.url),i=o&&o.length>2?o[2]:"";e.baseURL="".concat(window.location.protocol,"//").concat(i)}}}],[{key:"isCloudCGI",value:function(e){var t=e,n="";if(e.startsWith("http")){var o=e.split("/");o.length>=3&&(n=o[2]||"",t=t.replace(n,"hostplaceholder"))}var i=/[a-zA-z]+\.[a-zA-z]+\.[a-zA-z]+\.[a-zA-z]+/;return i.test(t)}}]),n}(c["a"])},"74f3":function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));n("d3b7");var o=n("c767"),i=n("6443"),a=n("dae4"),r=n("4328"),c=n.n(r),s=function(e){var t=e.data.url||"",n="";e.headers&&e.headers.logininfo&&(n=e.headers.logininfo);var o=e.data.bindcode||"";Object(a["c"])(t,n,o)};function d(e){var t,n=e.url,a=void 0===n?"/commcgi/route/index":n,r=e.command,d=void 0===r?"":r,l=e.reqData,u=void 0===l?{}:l,p=e.oldCGI,g=void 0!==p&&p,f=e.showMsgToast,m=void 0===f||f,h=e.timeout,v=void 0===h?1e4:h;if(-1!==a.indexOf("/commcgi/route/index")||-1!==a.indexOf("/commcgi/route/ulogin-index")){var w={command:d,req_data:encodeURIComponent(JSON.stringify(u))};t=c.a.stringify(w)}else if(i["a"].isCloudCGI(a))t=u;else if(g){var b=u;t=c.a.stringify(b)}else{var _={req_data:encodeURIComponent(JSON.stringify(u))};d&&d.length>0&&(_.command=d),t=c.a.stringify(_)}return o["a"].axios_interp(m,s,v)({method:"post",url:a,dataType:"json",data:t})}function l(e){return new Promise((function(t,n){d(e).then((function(e){0==e.data.r?t(e.data):n(e.data)})).catch((function(e){var t={};e&&e.response&&e.response.status&&(t.r=e.response.status),e&&e.response&&e.response.statusText&&(t.msg=e.response.statusText),null==t.msg&&null!=e&&(null!=e.message?t.msg=e.message:null!=e.stack&&(t.msg=e.stack)),n(t)}))}))}},7714:function(e,t,n){var o=n("24fb");t=o(!1),t.push([e.i,'.el-dialog[data-v-1d30e621]{width:675px!important;height:438px;padding:0 16px}.el-dialog__header[data-v-1d30e621]{position:relative;padding:16px 0 12px;border-bottom:1px solid #ececec}.el-dialog__header[data-v-1d30e621]:before{content:"";display:block;width:90px;height:2px;position:absolute;bottom:0;left:0;background:#0073ff}.el-dialog__title[data-v-1d30e621]{display:inline-block;font-size:20px;font-weight:700;color:#3c3c3c;width:90px;text-align:center}.el-icon-close[data-v-1d30e621]:before{font-size:30px}.dialog-login-contant[data-v-1d30e621]{margin:20px 0 0;text-align:center}.el-login-ewm[data-v-1d30e621]{position:relative;width:186px;height:186px;margin:auto;padding:2px}.el-login-ewm img[data-v-1d30e621]{display:block;height:100%;-o-object-fit:contain;object-fit:contain;background-color:grey}.dialog-login-timeout[data-v-1d30e621]{position:absolute;left:0;right:0;top:0;bottom:0;margin:auto;background:rgba(#000,.7);font-size:14px;color:#fff;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.dialog-login-timeout a[data-v-1d30e621]{font-size:14px;color:#fff;text-decoration:underline}.dialog-login-tips[data-v-1d30e621]{font-size:14px;color:#3c3c3c;margin:13px 0 0}.dialog-login-tips span[data-v-1d30e621]{font-size:18px;color:#3c3c3c;display:block;font-weight:700}.el-button--success[data-v-1d30e621]{margin-right:5px}.tip-wx-login-dialog-layout[data-v-1d30e621]{position:fixed;z-index:9999;height:100%;width:100%;left:0;top:0;background:rgba(0,0,0,.8)}.tip-wx-login-dialog-content[data-v-1d30e621]{-webkit-transform:none;transform:none;left:0;position:relative;margin:0 auto;margin-top:15vh;background:#fff;border-radius:2px;-webkit-box-shadow:0 1px 3px rgb(0 0 0/30%);box-shadow:0 1px 3px rgb(0 0 0/30%);-webkit-box-sizing:border-box;box-sizing:border-box;width:675px!important;height:468px;padding:0 16px}.el-dialog__headerbtn[data-v-1d30e621]{position:absolute;top:0;right:20px;padding:0;background:transparent;border:none;outline:none;cursor:pointer;font-size:16px}.el-dialog__headerbtn .el-dialog__close[data-v-1d30e621]{color:#909399}.el-icon-close[data-v-1d30e621]:before{content:"\\00D7";top:8px;right:5px;font-size:40px}',""]),e.exports=t},"7d46":function(e,t,n){"use strict";n("d4a8")},"8bbf":function(e,t){e.exports=Vue},9236:function(e,t){e.exports=VueLazyload},"94be":function(e,t,n){"use strict";n("99af"),n("ac1f"),n("466d"),n("5319");var o=n("12e5"),i=n("db24"),a="",r="";function c(){var e=navigator.userAgent.toLowerCase(),t=Object(i["b"])(e),n=t.isQQ,o=t.isWeixin,a=window,r=a.mqq,c=a.wx;n&&"undefined"!==typeof r?r&&r.ui&&r.ui.popBack():o&&"undefined"!==typeof c&&c&&c.closeWindow()}function s(e,t,n){var o;for(o in t)(t.hasOwnProperty(o)&&!(o in e)||n)&&(e[o]=t[o]);return e}function d(e,t){var n="igameapp://jsapi/".concat(e,"?p=").concat(encodeURIComponent(JSON.stringify(t)||"")),o=document.createElement("iframe");o.setAttribute("width",0),o.setAttribute("height",0),o.setAttribute("style","display: none;"),document.body.appendChild(o),o.src=n,setTimeout((function(){document.body.removeChild(o)}),0)}var l=function(e,t,n){s(t,{callback:n}),d(e,t)};function u(){WeixinJSBridge.invoke("launchApplication",{schemeUrl:a},(function(e){window.location.href=r}))}function p(e,t){var n="";return n=t.indexOf("Android")>-1||t.indexOf("Linux")>-1?e.indexOf("http://")>-1||e.indexOf("https://")>-1?"tencent://igame.app/open?url=".concat(encodeURIComponent(e),"&v=").concat((new Date).getTime()):"tencent://igame.app/open?url=".concat(e,"&v=").concat((new Date).getTime()):e.indexOf("http://")>-1||e.indexOf("https://")>-1?"IGame1042198954://".concat(encodeURIComponent(e)):"IGame1042198954://?".concat(e),n}function g(e,t){var n="http://igame.qq.com/pvp/download/index.php?_t=1";return e&&(n+="&adtag=".concat(e)),t=t||!1,t&&(n+="&view=download"),n}function f(e){var t=document.createElement("div");t.style.visibility="hidden",t.innerHTML=''),document.body.appendChild(t)}var m=function(e,t,n){var o=navigator.userAgent;"undefined"!==typeof e&&""!=e||(e=window.location.href),a=p(e,o),r=g(t,n);var i=800,s=navigator.userAgent.match(/MicroMessenger\/([\d.]+)/i),d=s&&s[1]&&parseInt(s[1].replace(/\./g,""))||0;if(!s||d<656){var l=Date.now();f(a),setTimeout((function(){var e=Date.now()-l;e656&&("undefined"===typeof WeixinJSBridge?document.addEventListener?document.addEventListener("WeixinJSBridgeReady",u,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",u),document.attachEvent("onWeixinJSBridgeReady",u)):u())};function h(e,t){var n="";return t=t||navigator.userAgent,"undefined"!==typeof e&&""!=e||(e=window.location.href),n=t.indexOf("Android")>-1||t.indexOf("Linux")>-1?e.indexOf("http://")>-1||e.indexOf("https://")>-1?"tencent://igame.app/open?url=".concat(encodeURIComponent(e)):"tencent://igame.app/open?".concat(e):e.indexOf("http://")>-1||e.indexOf("https://")>-1?"IGame1042198954://".concat(encodeURIComponent(e)):"IGame1042198954://?".concat(e),n}var v=function(e,t){var n=navigator.userAgent,o=h(e,n);t&&(r+="?adtag=".concat(t)),f(o);var i=Date.now(),a=1e3;setTimeout((function(){var e=Date.now()-i;if(e-1||t.indexOf("Linux")>-1?e.indexOf("http://")>-1||e.indexOf("https://")>-1?"scheme://tencent://igame.app/open?url=".concat(encodeURIComponent(e)):"pkg://com.tencent.igame":e.indexOf("http://")>-1||e.indexOf("https://")>-1?"IGame1042198954://".concat(encodeURIComponent(e)):"IGame1042198954://?".concat(e),n}var b=function(e){var t=navigator.userAgent,n=w(e,t);t.indexOf("Android")>-1||t.indexOf("Linux")>-1?confirm(n):f(n)};t["a"]={getGSSchema:p,getGSSchemaWithoutStamp:h,getddzoneSchema:w,getGSDownload:g,createIframe:f,extend:s,openURL:d,closeWXQQWebView:c,_wechatOpenApp:u,invoke:l,openApp:m,openAppNotDownload:v,ddzopenApp:b}},af2c:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return a})),n.d(t,"c",(function(){return r})),n.d(t,"d",(function(){return c})),n.d(t,"f",(function(){return s})),n.d(t,"e",(function(){return d}));n("159b"),n("b64b"),n("ac1f"),n("5319");var o={provData:{11:"北京",12:"天津",13:"河北",14:"山西",15:"内蒙古",21:"辽宁",22:"吉林",23:"黑龙江",31:"上海",32:"江苏",33:"浙江",34:"安徽",35:"福建",36:"江西",37:"山东",41:"河南",42:"湖北",43:"湖南",44:"广东",45:"广西",46:"海南",50:"重庆",51:"四川",52:"贵州",53:"云南",54:"西藏",61:"陕西",62:"甘肃",63:"青海",64:"宁夏",65:"新疆",71:"台湾",81:"香港",82:"澳门"},cityData:{11:["北京"],12:["天津"],13:{1:"石家庄",2:"唐山",3:"秦皇岛",4:"邯郸",5:"邢台",6:"保定",7:"张家口",8:"承德",9:"沧州",10:"廊坊",11:"衡水"},14:{1:"太原",2:"大同",3:"阳泉",4:"长治",5:"晋城",6:"朔州",7:"晋中",8:"运城",9:"忻州",10:"临汾",11:"吕梁",12:"太谷"},15:{1:"呼和浩特",2:"包头",3:"乌海",4:"赤峰",5:"通辽",6:"鄂尔多斯",7:"呼伦贝尔",8:"巴彦淖尔",9:"乌兰察布",22:"兴安",25:"锡林郭勒",29:"阿拉善",30:"集宁"},21:{1:"沈阳",2:"大连",3:"鞍山",4:"抚顺",5:"本溪",6:"丹东",7:"锦州",8:"营口",9:"阜新",10:"辽阳",11:"盘锦",12:"铁岭",13:"朝阳",14:"葫芦岛"},22:{1:"长春",2:"吉林",3:"四平",4:"辽源",5:"通化",6:"白山",7:"松原",8:"白城",24:"延边",25:"延吉"},23:{1:"哈尔滨",2:"齐齐哈尔",3:"鸡西",4:"鹤岗",5:"双鸭山",6:"大庆",7:"伊春",8:"佳木斯",9:"七台河",10:"牡丹江",11:"黑河",12:"绥化",27:"大兴安岭"},31:["上海"],32:{1:"南京",2:"无锡",3:"徐州",4:"常州",5:"苏州",6:"南通",7:"连云港",8:"淮安",9:"盐城",10:"扬州",11:"镇江",12:"泰州",13:"宿迁"},33:{1:"杭州",2:"宁波",3:"温州",4:"嘉兴",5:"湖州",6:"绍兴",7:"金华",8:"衢州",9:"舟山",10:"台州",11:"丽水"},34:{1:"合肥",2:"芜湖",3:"蚌埠",4:"淮南",5:"马鞍山",6:"淮北",7:"铜陵",8:"安庆",10:"黄山",11:"滁州",12:"阜阳",13:"宿州",14:"巢湖",15:"六安",16:"亳州",17:"池州",18:"宣城"},35:{1:"福州",2:"厦门",3:"莆田",4:"三明",5:"泉州",6:"漳州",7:"南平",8:"龙岩",9:"宁德"},36:{1:"南昌",2:"景德镇",3:"萍乡",4:"九江",5:"新余",6:"鹰潭",7:"赣州",8:"吉安",9:"宜春",10:"抚州",11:"上饶"},37:{1:"济南",2:"青岛",3:"淄博",4:"枣庄",5:"东营",6:"烟台",7:"潍坊",8:"济宁",9:"泰安",10:"威海",11:"日照",12:"莱芜",13:"临沂",14:"德州",15:"聊城",16:"滨州",17:"菏泽"},41:{1:"郑州",2:"开封",3:"洛阳",4:"平顶山",5:"安阳",6:"鹤壁",7:"新乡",8:"焦作",9:"濮阳",10:"许昌",11:"漯河",12:"三门峡",13:"南阳",14:"商丘",15:"信阳",16:"周口",17:"驻马店",18:"济源",19:"新郑"},42:{1:"武汉",2:"黄石",3:"十堰",5:"宜昌",6:"襄樊",7:"鄂州",8:"荆门",9:"孝感",10:"荆州",11:"黄冈",12:"咸宁",13:"随州",28:"恩施",94:"仙桃",95:"潜江",96:"天门",A21:"神农架"},43:{1:"长沙",2:"株洲",3:"湘潭",4:"衡阳",5:"邵阳",6:"岳阳",7:"常德",8:"张家界",9:"益阳",10:"郴州",11:"永州",12:"怀化",13:"娄底",31:"湘西"},44:{1:"广州",2:"韶关",3:"深圳",4:"珠海",5:"汕头",6:"佛山",7:"江门",8:"湛江",9:"茂名",12:"肇庆",13:"惠州",14:"梅州",15:"汕尾",16:"河源",17:"阳江",18:"清远",19:"东莞",20:"中山",51:"潮州",52:"揭阳",53:"云浮"},45:{1:"南宁",2:"柳州",3:"桂林",4:"梧州",5:"北海",6:"防城港",7:"钦州",8:"贵港",9:"玉林",10:"百色",11:"贺州",12:"河池",13:"来宾",14:"崇左"},46:{1:"海口",2:"三亚",91:"五指山",92:"琼海",93:"儋州",95:"文昌",96:"万宁",97:"东方",A25:"定安",A26:"屯昌",A27:"澄迈",A28:"临高",A30:"白沙",A31:"昌江",A33:"乐东",A34:"陵水",A35:"保亭",A36:"琼中",A37:"西沙",A38:"南沙",A39:"中沙"},50:["重庆"],51:{1:"成都",3:"自贡",4:"攀枝花",5:"泸州",6:"德阳",7:"绵阳",8:"广元",9:"遂宁",10:"内江",11:"乐山",13:"南充",14:"眉山",15:"宜宾",16:"广安",17:"达州",18:"雅安",19:"巴中",20:"资阳",32:"阿坝",33:"甘孜",34:"凉山"},52:{1:"贵阳",2:"六盘水",3:"遵义",4:"安顺",22:"铜仁",23:"黔西南",24:"毕节",26:"黔东南",27:"黔南",31:"清镇",32:"赤水",33:"仁怀",34:"凯里",35:"都匀",36:"兴义",37:"福泉"},53:{1:"昆明",3:"曲靖",4:"玉溪",5:"保山",6:"昭通",7:"丽江",8:"普洱",9:"临沧",23:"楚雄",25:"红河",26:"文山",28:"西双版纳",29:"大理",31:"德宏",33:"怒江",34:"迪庆"},54:{1:"拉萨",21:"昌都",22:"山南",23:"日喀则",24:"那曲",25:"阿里",26:"林芝"},61:{1:"西安",2:"铜川",3:"宝鸡",4:"咸阳",5:"渭南",6:"延安",7:"汉中",8:"榆林",9:"安康",10:"商洛"},62:{1:"兰州",2:"嘉峪关",3:"金昌",4:"白银",5:"天水",6:"武威",7:"张掖",8:"平凉",9:"酒泉",10:"庆阳",11:"定西",12:"陇南",29:"临夏",30:"甘南"},63:{1:"西宁",21:"海东",22:"海北",23:"黄南",25:"海南",26:"果洛",27:"玉树",28:"海西"},64:{1:"银川",2:"石嘴山",3:"吴忠",4:"固原",5:"中卫"},65:{1:"乌鲁木齐",2:"克拉玛依",21:"吐鲁番",22:"哈密",23:"昌吉",27:"博尔塔拉",28:"巴音郭楞",29:"阿克苏",30:"克孜勒苏",31:"喀什",32:"和田",40:"伊犁",42:"塔城",43:"阿勒泰",91:"石河子",92:"阿拉尔",93:"图木舒克",94:"五家渠"},71:["台湾"],81:["香港"],82:["澳门"]}};function i(){var e=[],t={text:"全国",code:"0",children:[{text:"不限",code:"0"}]};return e.push(t),a(o,e,!0),e}function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=e.cityData,a=e.provData;return Object.keys(a).forEach((function(e){var n={};n.text=a[e],n.code=e,t.push(n)})),Object.keys(i).forEach((function(e){var o=i[e],a=[];if(Array.isArray(o)){var r={};r.text=o[0],r.code="0",a.push(r)}else n&&a.push({text:"全省",code:"0"}),Object.keys(o).forEach((function(e){var t={};t.text=o[e],t.code=e,a.push(t)}));for(var c=0;c0?"前":"后";t=Math.abs(t);for(var o=["年","个月","星期","天","小时","分钟","秒"],i=[31536e3,2592e3,604800,86400,3600,60,1],a=0;a<7;a++){var r=Math.floor(t/i[a]);if(0!=r)return r+o[a]+n}}function u(e,t){e=10==="".concat(e).length?1e3*parseInt(e):+e;var n=new Date(e),o=Date.now(),i=(o-n)/1e3;return i<30?"刚刚":i<3600?"".concat(Math.ceil(i/60),"分钟前"):i<86400?"".concat(Math.ceil(i/3600),"小时前"):i<172800?"1天前":t?r(e,t):"".concat(n.getMonth()+1,"月").concat(n.getDate(),"日").concat(n.getHours(),"时").concat(n.getMinutes(),"分")}},bdbe:function(e,t,n){var o=n("7714");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var i=n("499e").default;i("4ea0be61",o,!0,{sourceMap:!1,shadowMode:!1})},c2a8:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var o=n("d4ec"),i=n("bee2"),a=function(){function e(){Object(o["a"])(this,e),this.nextHandler=null}return Object(i["a"])(e,[{key:"setNextHandler",value:function(e){return this.nextHandler=e,this.nextHandler}},{key:"getDebugCGIEnv",value:function(){return window.sessionStorage.getItem("tip_debug_cgi_env")}},{key:"handleRequest",value:function(e){this.checkHandle(e)&&this.handler(e),this.nextHandler&&this.nextHandler.handleRequest(e)}},{key:"handleRequestOnce",value:function(e){this.checkHandle(e)?this.handler(e):this.nextHandler&&this.nextHandler.handleRequestOnce(e)}}]),e}()},c685:function(e,t,n){var o=n("24fb");t=o(!1),t.push([e.i,".tip-toc-dialog-wrap[data-v-571dbfcb],.tip-toc-operating-layer[data-v-571dbfcb],.tip-toc-sharetips[data-v-571dbfcb]{position:fixed;z-index:9999;height:100%;width:100%;left:0;top:0;background:rgba(0,0,0,.8)}.tip-toc-bottomdialog[data-v-571dbfcb]{padding:.32rem 0 0;background:#fff;position:fixed;z-index:10000;bottom:0;left:0;right:0}.tip-toc-bottomdialog .tip-toc-dialogbtn[data-v-571dbfcb]{padding:0 .24rem .32rem}.tip-toc-bottomdialog .tip-toc-dialogbtn a[data-v-571dbfcb]{width:3rem}.tip-toc-dialog-close[data-v-571dbfcb]{width:.5rem;height:.5rem;position:absolute;right:.16rem;top:.16rem;display:block;background:url(https://image-1251917893.file.myqcloud.com/TIP_GameSystem_2020/toB/icon/ico-close.png) 50% no-repeat;background-size:.3rem .3rem}.tip-toc-dialog-title[data-v-571dbfcb]{font-size:.32rem;line-height:.44rem;text-align:center;color:#4a4a4a;font-weight:700}.tip-toc-dialog-content[data-v-571dbfcb]{height:3rem;padding:.12rem .4rem .24rem;text-align:center}.tip-toc-content-tips-normal[data-v-571dbfcb]{font-size:.32rem;margin-top:1rem;line-height:.4rem;color:#4a4a4a}.tip-toc-login[data-v-571dbfcb]{width:80%;margin:.4rem auto;text-align:center;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start}.tip-toc-login a[data-v-571dbfcb]{width:100%;padding:.2rem 0 .6rem}.tip-toc-login a img[data-v-571dbfcb]{width:1.4rem;height:1.4rem;display:block;margin:0 auto}.tip-toc-login a span[data-v-571dbfcb]{display:block;color:#333;font-size:.28rem;line-height:.4rem;padding-top:.12rem}.tip-toc-dialog-return[data-v-571dbfcb]{width:.32rem;height:.32rem;text-indent:-100rem;background:url(https://image-1251917893.file.myqcloud.com/tipcomm/public_dialog-img/icon-return.png) no-repeat;background-size:100% 100%;position:absolute;left:.4rem;top:.35rem}.tip-toc-dialog-role[data-v-571dbfcb]{padding:.32rem 0 0;background:#fff;position:fixed;left:0;right:0;bottom:0}.tip-toc-wechat-login[data-v-571dbfcb]{width:85%;margin:auto;text-align:center;padding:.3rem 0 .5rem}.tip-toc-wechat-login-img[data-v-571dbfcb]{width:2rem;height:2rem;padding:.14}.tip-toc-wechat-login-tips[data-v-571dbfcb]{font-size:.28rem;color:#9b9b9b;line-height:.4rem;white-space:normal}.tip-toc-press-save[data-v-571dbfcb]{color:#4a4a4a}",""]),e.exports=t},c6bf:function(e,t,n){"use strict";var o={},i=0,a=function(e){var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)},r=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"utf-8",c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;t&&"function"!==typeof t&&(c=t.context||c,n=t.setup,t=t.callback);var s,d,l=!1,u=function(){var e;l||(l=!0,null===(e=d)||void 0===e||e(),t&&t.call(c,s))},p=function(){s=new Error(e||"EMPTY"),u()},g=document.querySelector('script[src="'.concat(e,'"]'));if(g)var f=setInterval((function(){g.isready&&(u(),clearInterval(f))}),20);else{var m=document.createElement("script");if(m.isready=!1,m.readyState&&!("async"in m)){i+=1;var h=i,v={loaded:!0,complete:!0},w=!1;d=function(){m.onreadystatechange=null,m.onerror=null,o[h]=void 0},m.onreadystatechange=function(){var e=m.readyState;if(!s){if(!w&&v[e]&&(w=!0,a(m)),"loaded"===e&&(m.children,"loading"===m.readyState))return p();"complete"===m.readyState&&(u(),m.isready=!0)}},m.onerror=p,o[h]=m,n&&n.call(c,m),m.src=e}else d=function(){m.onload=null,m.onerror=null},m.onerror=p,m.onload=function(){u(),m.isready=!0},m.async=!0,m.charset=r||"utf-8",n&&n.call(c,m),m.src=e,a(m)}};t["a"]=r},c767:function(e,t,n){"use strict";var o=n("5530"),i=(n("d3b7"),n("d53f")),a=n("d529"),r=n("cebe"),c=n.n(r),s=n("d4ec"),d=n("bee2"),l=n("262e"),u=n("2caf"),p=n("c2a8"),g=(n("2ca0"),n("ac1f"),n("1276"),n("5319"),n("99af"),function(e){Object(l["a"])(n,e);var t=Object(u["a"])(n);function n(){return Object(s["a"])(this,n),t.apply(this,arguments)}return Object(d["a"])(n,[{key:"checkHandle",value:function(){return!0===window.forwardNetworkReq}},{key:"isCloudCGI",value:function(e){var t=e,n="";if(e.startsWith("http")){var o=e.split("/");o.length>=3&&(n=o[2]||"",t=t.replace(n,"hostplaceholder"))}var i=/[a-zA-z]+\.[a-zA-z]+\.[a-zA-z]+\.[a-zA-z]+/;return i.test(t)}},{key:"handler",value:function(e){var t=e.url;if(0!==t.indexOf("http"))if(0==window.localStorage.getItem("preview_env")){var n=this.isCloudCGI(t)?"atest.igame.qq.com":"mtest.igame.qq.com";t="https://".concat(n,"/").concat(0===t.indexOf("/")?t.substring(1):t)}else{var o=this.isCloudCGI(t)?"a.igame.qq.com":"m.igame.qq.com";t="https://".concat(o,"/").concat(0===t.indexOf("/")?t.substring(1):t)}"string"===typeof e.data?e.data=e.data?"".concat(e.data,"&url=").concat(t):"url=".concat(t):e.data.url=t,e.url="/lowcode-web-api/forward-api",e.baseURL="".concat(window.location.protocol,"//").concat(window.location.host)}}]),n}(p["a"])),f=function(e){Object(l["a"])(n,e);var t=Object(u["a"])(n);function n(){return Object(s["a"])(this,n),t.apply(this,arguments)}return Object(d["a"])(n,[{key:"checkHandle",value:function(){return-1!==window.location.host.indexOf("oa.com")}},{key:"handler",value:function(e){e.baseURL="".concat(window.location.protocol,"//").concat(window.location.host)}}]),n}(p["a"]),m=function(e){Object(l["a"])(n,e);var t=Object(u["a"])(n);function n(){return Object(s["a"])(this,n),t.apply(this,arguments)}return Object(d["a"])(n,[{key:"checkHandle",value:function(){return-1!==window.location.origin.indexOf("nes.smoba.qq.com")}},{key:"handler",value:function(e){var t="api.nes.smoba.qq.com";-1!==window.location.origin.indexOf("h5-dev.nes.smoba.qq.com")&&"prod"!==this.getDebugCGIEnv()&&(t="api-dev.nes.smoba.qq.com"),-1!==window.location.origin.indexOf("h5-test.nes.smoba.qq.com")&&"prod"!==this.getDebugCGIEnv()&&(t="api-test.nes.smoba.qq.com"),e.baseURL="".concat(window.location.protocol,"//").concat(t)}}]),n}(p["a"]),h=n("6443"),v=function(e){Object(l["a"])(n,e);var t=Object(u["a"])(n);function n(){return Object(s["a"])(this,n),t.apply(this,arguments)}return Object(d["a"])(n,[{key:"checkHandle",value:function(){return!0}},{key:"handler",value:function(e){var t=-1!=window.location.origin.indexOf("test")&&"prod"!=this.getDebugCGIEnv()?"mtest.igame.qq.com":"m.igame.qq.com";e.baseURL="".concat(window.location.protocol,"//").concat(t)}}]),n}(p["a"]),w=function(e){Object(l["a"])(n,e);var t=Object(u["a"])(n);function n(){var e;return Object(s["a"])(this,n),e=t.call(this),e.urlHandlerChain=new g,e.urlHandlerChain.setNextHandler(new f).setNextHandler(new m).setNextHandler(new h["a"]).setNextHandler(new v),e}return Object(d["a"])(n,[{key:"checkHandle",value:function(){return!0}},{key:"handler",value:function(e){this.urlHandlerChain.handleRequestOnce(e)}}]),n}(p["a"]),b=n("a78e"),_=n.n(b),y=function(e){Object(l["a"])(n,e);var t=Object(u["a"])(n);function n(){return Object(s["a"])(this,n),t.apply(this,arguments)}return Object(d["a"])(n,[{key:"checkHandle",value:function(){return!0}},{key:"handler",value:function(e){"undefined"===typeof e.params&&(e.params={}),e.params.g_app_tk=_.a.get("tip_token")}}]),n}(p["a"]),x=n("c88c"),O=function(e){Object(l["a"])(n,e);var t=Object(u["a"])(n);function n(){return Object(s["a"])(this,n),t.apply(this,arguments)}return Object(d["a"])(n,[{key:"checkHandle",value:function(){return-1!==window.location.origin.indexOf("nes.slol.qq.com")}},{key:"handler",value:function(e){var t=Object(x["f"])(),n=_.a.get("acctype");t.isLolApp?"undefined"===typeof n||""==n||"pt"===n?(e.params.acctype="pt",_.a.get("skey")&&(e.params.skey=_.a.get("skey")),_.a.get("uin")&&(e.params.uin=_.a.get("uin"))):"wx"===n&&(e.params.acctype="wx",_.a.get("appid")&&(e.params.appid=_.a.get("appid")),_.a.get("openid")&&(e.params.openid=_.a.get("openid")),_.a.get("access_token")&&(e.params.access_token=_.a.get("access_token"))):(t.isQQ||t.isWeixin)&&(e.params.acctype=t.isQQ?"qq":"wx",_.a.get("tip_oappid")&&(e.params.appid=_.a.get("tip_oappid")),_.a.get("tip_ouid")&&(e.params.openid=_.a.get("tip_ouid")),_.a.get("tip_access_token")&&(e.params.access_token=_.a.get("tip_access_token")),_.a.get("tip_login_type")&&(e.params.source_login_type=_.a.get("tip_login_type")))}}]),n}(p["a"]),k=n("5404"),S=function(e){Object(l["a"])(n,e);var t=Object(u["a"])(n);function n(){return Object(s["a"])(this,n),t.apply(this,arguments)}return Object(d["a"])(n,[{key:"checkHandle",value:function(){return!0}},{key:"handler",value:function(e){-1!==e.url.indexOf("?")?e.url+="&tstamp=".concat((new Date).getTime()).concat(Object(k["c"])().replace("?","&")):e.url+="?tstamp=".concat((new Date).getTime()).concat(Object(k["c"])().replace("?","&"))}}]),n}(p["a"]),C=function(e){Object(l["a"])(n,e);var t=Object(u["a"])(n);function n(){return Object(s["a"])(this,n),t.apply(this,arguments)}return Object(d["a"])(n,[{key:"checkHandle",value:function(){var e=Object(x["f"])();return e.isMiniProgram&&null!==Object(i["c"])("_ticket")&&null!==Object(i["c"])("openid")&&"1"===Object(i["c"])("utype")}},{key:"handler",value:function(e){Object(i["c"])("_ticket")&&(e.params._ticket=Object(i["c"])("_ticket")),-1!=window.location.origin.indexOf("test.igame.qq.com")&&(e.params._test_flag_=1),Object(i["c"])("openid")&&(e.params.openid=Object(i["c"])("openid")),Object(i["c"])("uid")&&(e.params.uid=Object(i["c"])("uid")),Object(i["c"])("utype")&&(e.params.utype=Object(i["c"])("utype")),Object(i["c"])("_wxNickName")&&_.a.set("tip_nick",Object(i["c"])("_wxNickName")),Object(i["c"])("_wxNvatarUrl")&&_.a.set("tip_headurl",decodeURIComponent(Object(i["c"])("_wxNvatarUrl")))}}]),n}(p["a"]),j=function(e){Object(l["a"])(n,e);var t=Object(u["a"])(n);function n(){return Object(s["a"])(this,n),t.apply(this,arguments)}return Object(d["a"])(n,[{key:"checkHandle",value:function(){return!0}},{key:"handler",value:function(e){-1!==e.url.indexOf("?")?e.url+="&".concat(Object(k["b"])().replace("?","&")):e.url+="?".concat(Object(k["b"])().replace("?","&"))}}]),n}(p["a"]),T=function(e){Object(l["a"])(n,e);var t=Object(u["a"])(n);function n(){var e;return Object(s["a"])(this,n),e=t.call(this),e.paramsHandlerChain=new y,e.paramsHandlerChain.setNextHandler(new O).setNextHandler(new S).setNextHandler(new C).setNextHandler(new j),e}return Object(d["a"])(n,[{key:"checkHandle",value:function(){return!0}},{key:"handler",value:function(e){this.paramsHandlerChain.handleRequest(e)}}]),n}(p["a"]),q=function(e){Object(l["a"])(n,e);var t=Object(u["a"])(n);function n(){return Object(s["a"])(this,n),t.apply(this,arguments)}return Object(d["a"])(n,[{key:"checkHandle",value:function(){return!0}},{key:"handler",value:function(e){var t=e.data;if(t&&null==t.r)if(null==t.ret)t.r=0;else{if(t.r=t.ret,1e5==t.ret&&null!=e.headers.logininfo){var n=JSON.parse(e.headers.logininfo);null!=(null===n||void 0===n?void 0:n.jumpLoginUrl)&&(t.url=n.jumpLoginUrl)}null==t.msg&&null!=t.err_desc&&""!=t.err_desc?t.msg=decodeURIComponent(t.err_desc):null==t.msg&&null!=t.err_msg&&""!=t.err_msg&&(t.msg=decodeURIComponent(t.err_msg)),1e5==t.r&&(t.msg="")}}}]),n}(p["a"]),I=function(e){Object(l["a"])(n,e);var t=Object(u["a"])(n);function n(){return Object(s["a"])(this,n),t.apply(this,arguments)}return Object(d["a"])(n,[{key:"checkHandle",value:function(){return!0}},{key:"handler",value:function(e){var t;if(null!==(t=e.headers)&&void 0!==t&&t.logininfo)try{var n=JSON.parse(e.headers.logininfo);n.utype&&_.a.set("tip_utype",n.utype,{expires:7}),n.uid&&_.a.set("tip_uid",n.uid,{expires:7}),-1!==n.domain.indexOf("nes.slol.qq.com")&&n.uid&&(_.a.set("slol_uid",n.uid,{expires:7}),n.ouid&&_.a.set("tip_ouid",n.ouid,{expires:7}),n.accesstoken&&_.a.set("tip_access_token",n.accesstoken,{expires:7}),n.oappid&&_.a.set("tip_oappid",n.oappid,{expires:7}),n.logintype&&_.a.set("tip_login_type",n.logintype,{expires:7})),window.app&&window.app.$ebus.emit("initLoginInfo")}catch(i){"parse loginInfo e: ".concat(JSON.stringify(i))}var o=e.data;!o||1e5!=o.r&&1e5!=o.retcode||!o.url&&!o.bindcode||(window.sessionStorage.removeItem("tip_uid"),window.sessionStorage.removeItem("tip_utype"),"function"===typeof window.globalGotoLogin?window.globalGotoLogin(e):this.defaultGotoLogin(e))}},{key:"defaultGotoLogin",value:function(e){var t;1e5!==e.data.r&&1e5!==e.data.retcode||null!==(t=e.data)&&void 0!==t&&t.url&&e.data.url.length>0&&(window.location.href=e.data.url)}}]),n}(p["a"]),L=function(e){Object(l["a"])(n,e);var t=Object(u["a"])(n);function n(){return Object(s["a"])(this,n),t.apply(this,arguments)}return Object(d["a"])(n,[{key:"checkHandle",value:function(e){var t=e.data;return e.autoShowErrorToast&&t&&0!=t.r&&19!=t.r&&1e5!=t.r}},{key:"handler",value:function(e){var t=e.data;t.msg?a["a"].showFail(t.msg):a["a"].showFail("连接失败,请重试!(".concat(t.r,")"))}}]),n}(p["a"]),E=function(){function e(){Object(s["a"])(this,e)}return Object(d["a"])(e,[{key:"checkHandle",value:function(){var e=Object(x["f"])();return e.isPc&&_.a.get("tiplogin_refreshtoken")&&!_.a.get("tiplogin_accesstoken")&&"1"===_.a.get("refresh_login")}},{key:"handler",value:function(e){return this.checkHandle()?new Promise((function(t){c()({url:"".concat(window.location.origin,"/tipcomm/acts/pc/agtrc/agtrclogin.php?op=11")}).then((function(){_.a.set("tiplogin_type","WXPC",{domain:".igame.qq.com",expires:1}),_.a.set("refresh_login","0",{domain:".igame.qq.com",expires:1/6}),t(e)})).catch((function(){_.a.set("tiplogin_type","WXPC",{domain:".igame.qq.com",expires:1}),_.a.set("refresh_login","0",{domain:".igame.qq.com",expires:1/6}),t(e)}))})):e}}]),e}(),D=Object(x["f"])(),U=function(e){if("string"===typeof e)try{e=new Function("","return ".concat(e))()}catch(t){try{e=JSON.parse(e)}catch(t){}}return e},A=function(e){D.isMiniProgram&&Object(i["c"])("_ticket")&&Object(i["c"])("openid")&&"1"===Object(i["c"])("utype")&&(c.a.defaults.headers["Tip-Channel"]="wxproc");var t=Object(o["a"])(Object(o["a"])({},e),{},{withCredentials:!0,transformResponse:[U]}),n=c.a.create(t);return n},R=function(e){var t=new w;return t.setNextHandler(new T),t.handleRequest(e),e},N=function(e,t){var n=new q;return n.setNextHandler(new I).setNextHandler(new L),e.autoShowErrorToast=t,n.handleRequest(e),e},P=function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1e4,o=A({timeout:n});return t&&(window.globalGotoLogin=t),o.interceptors.request.use((function(e){return(new E).handler(e)})),o.interceptors.request.use(R,(function(e){return Promise.reject(e)})),o.interceptors.response.use((function(t){return N(t,e)}),(function(t){return null!==t&&void 0!==t&&t.message&&t.message.indexOf("timeout")>-1&&e&&a["a"].showFail("接口超时,稍后试试吧"),null!==t&&void 0!==t&&t.message&&t.message.indexOf("Network Error")>-1&&e&&a["a"].showFail("网络不好,请稍后重试"),Promise.reject(t)})),o};t["a"]={axiosInterp:P,axios_interp:P,requestInterceptor:R,responseInterceptor:N,getAxiosInstance:A}},c88c:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return s})),n.d(t,"c",(function(){return d})),n.d(t,"e",(function(){return l})),n.d(t,"d",(function(){return u})),n.d(t,"f",(function(){return p}));var o=n("5530"),i=(n("ac1f"),n("466d"),n("99af"),n("e1ae")),a=n("db24"),r=n("d53f");function c(){return!("undefined"!==typeof window&&window.navigator)}function s(){var e="";return"undefined"!==typeof node_url?e=node_url:"undefined"!==typeof window&&window.location&&(e=window.location.href),e}function d(e){var t="";e.isQQ&&(t="tiploginqq"),e.isWeixin&&(t="tiploginwx"),e.isPvpApp&&(t="tiploginpvp"),e.isTipApp&&(t="tiplogintip"),e.isMsdk&&(t="tiploginmsdk"),e.isGHelper&&(t="tiploginghelper");var n=i["a"].get("tiplogin_type");return n&&(t=n),t}function l(){var e={};return e.tiplogin_openid=i["a"].get("tiplogin_openid")||"",e.isLogin=e.tiplogin_openid?1:0,e.tiplogin_nick=i["a"].get("tiplogin_nick")||"",e.tiplogin_headurl=decodeURIComponent(i["a"].get("tiplogin_headurl")||""),e.tiplogin_gender=i["a"].get("tiplogin_gender")||"1",e.tiplogin_ticket=i["a"].get("tiplogin_ticket")||"",e}function u(e){var t="",n=e.match(/micromessenger\/([\d.]+)/i),o=e.match(/ qq\/([\d.]+)/i),i=e.match(/ igameapp\/([\d.]+)/i),a=e.match(/ gamelife\/([\d.]+)/i);return n&&n[1]&&(t=n[1]),o&&o[1]&&(t=o[1]),i&&i[1]&&(t=i[1]),a&&a[1]&&(t=a[1]),t}function p(){var e="",t=Object(a["c"])();e=t.toLowerCase();var n=Object(o["a"])({ua:e,currPage:s()},Object(a["b"])(e));if(n.version=u(e),n.loginType=d(e),n.authQuery=Object(r["b"])(n.currPage),n.urlmodule="tipcomm","undefined"!==typeof n.authQuery.tipmdl&&""!=n.authQuery.tipmdl&&(n.urlmodule=n.authQuery.tipmdl),n.vconsole=i["a"].get("vconsole")||0,!n.vconsole&&n.currPage){var c=n.currPage.match(/vconsole=([0-9]*?)(&|$)/);c&&c[1]&&(n.vconsole=c[1])}if(n.isQQ){var l=new Date;l.setTime(l.getTime()+6048e5);var p=".nes.smoba.qq.com",g="/";document.cookie="tiplogin_type=QQ;expires=".concat(l.toGMTString(),";domain=").concat(p,";path=").concat(g)}return n}},cebe:function(e,t){e.exports=axios},d4a8:function(e,t,n){var o=n("1ff2");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[e.i,o,""]]),o.locals&&(e.exports=o.locals);var i=n("499e").default;i("f2c7da06",o,!0,{sourceMap:!1,shadowMode:!1})},d529:function(e,t,n){"use strict";var o=n("8bbf"),i=n.n(o),a=n("6d29"),r=n.n(a);n("73b2"),n("7565"),n("949e");i.a.component("van-toast",r.a),r.a.allowMultiple();var c={show:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e4;r()({message:e,zIndex:t})},showSuccess:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e4;r.a.success({message:e,zIndex:t})},showFail:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e4;r.a.fail({message:e,zIndex:t})}},s={};c.showLoading=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"加载中",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e4;s.clear&&s.clear(),s=r.a.loading({message:e,duration:0,zIndex:t})},c.dismissLoading=function(){s.clear&&s.clear()},t["a"]=c},d53f:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return r})),n.d(t,"a",(function(){return c}));var o=n("5530"),i=n("b85c");n("ac1f"),n("1276"),n("841c"),n("99af"),n("5319");function a(e){var t,n={},o=e.substr(e.indexOf("?")>-1?e.indexOf("?")+1:e.length);o=o.split("&");var a,r=Object(i["a"])(o);try{for(r.s();!(a=r.n()).done;){var c=a.value;t=c.split("="),2==t.length&&(n[t[0]]=t[1])}}catch(s){r.e(s)}finally{r.f()}return n}function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(t||(t=window.location.search),!t){var n=location,o=n.hash;t=o?o.substring(o.indexOf("?")):""}for(var i=t.substring(1),a=i.split("&"),r=0;r-1?e.indexOf("?"):e.length);i+="?";var r=Object(o["a"])(Object(o["a"])({},n),t);for(var c in r)i+="".concat(c,"=").concat(r[c],"&");return i.substr(0,i.length-1)}},dae4:function(e,t,n){"use strict";n.d(t,"c",(function(){return R})),n.d(t,"b",(function(){return P})),n.d(t,"a",(function(){return W}));n("ac1f"),n("466d"),n("5319"),n("99af"),n("d3b7"),n("3ca3"),n("ddb0");var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"tip-dialog-login"}},[e.showDialogLoginChoose?n("div",{staticClass:"tip-toc-dialog-wrap"},[n("div",{staticClass:"tip-toc-bottomdialog"},[n("a",{staticClass:"tip-toc-dialog-close",on:{click:e.closeDialog}}),e._v(" "),n("h4",{staticClass:"tip-toc-dialog-title"},[e._v("\n 登录游戏账号\n ")]),e._v(" "),n("div",{staticClass:"tip-toc-login"},[e.showQQ?n("a",{on:{click:e.jumpToLoginQQ}},[n("img",{attrs:{src:"https://game.gtimg.cn/images/user/cp/a20170922tipYYB/ico-qq.png"}}),e._v(" "),n("span",{staticClass:"public-text"},[e._v("QQ区登录")])]):e._e(),e._v(" "),e.showWX?n("a",{on:{click:e.jumpToLoginWx}},[n("img",{attrs:{src:"https://game.gtimg.cn/images/user/cp/a20170922tipYYB/ico-wx.png"}}),e._v(" "),n("span",{staticClass:"public-text"},[e._v("微信区登录")])]):e._e()])])]):e._e(),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.showDialogLoginWx,expression:"showDialogLoginWx"}],staticClass:"tip-toc-dialog-wrap"},[n("div",{staticClass:"tip-toc-dialog-role"},[n("a",{staticClass:"tip-toc-dialog-return",on:{click:function(t){e.showDialogLoginWx=!1,e.showDialogLoginChoose=!0}}},[e._v("返回")]),e._v(" "),n("h3",{staticClass:"tip-toc-dialog-title"},[e._v("\n 请使用"+e._s("QQ"==e.scanCodeType?"QQ":"微信")+"扫码打开页面\n ")]),e._v(" "),n("a",{staticClass:"tip-toc-dialog-close",on:{click:function(t){e.showDialogLoginWx=!1,e.showDialogLoginChoose=!0}}}),e._v(" "),n("div",{staticClass:"tip-toc-wechat-login"},[n("div",{directives:[{name:"show",rawName:"v-show",value:!e.hideCanvas,expression:"!hideCanvas"}],staticClass:"tip-toc-wechat-login-img",attrs:{id:"qrcodeid"}}),e._v(" "),e.qrcodeSrc?n("img",{staticClass:"tip-toc-wechat-login-img",staticStyle:{display:"inline-block"},attrs:{src:e.qrcodeSrc}}):e._e(),e._v(" "),n("div",{staticClass:"tip-toc-wechat-login-tips"},[n("p",{staticClass:"tip-toc-press-save"},[e._v("\n 长按保存图片\n ")]),e._v(" "),n("span",[e._v("使用"+e._s("QQ"==e.scanCodeType?"QQ":"微信")+"扫码打开访问页面")])])])])]),e._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:e.showDialogLoginQq,expression:"showDialogLoginQq"}],staticClass:"tip-toc-dialog-wrap"},[n("div",{staticClass:"tip-toc-dialog-role"},[n("a",{staticClass:"tip-toc-dialog-return",on:{click:function(t){e.showDialogLoginQq=!1,e.showDialogLoginChoose=!0}}},[e._v("返回")]),e._v(" "),n("h3",{staticClass:"tip-toc-dialog-title"},[e._v("\n 微信中不支持QQ区账号登录\n ")]),e._v(" "),n("a",{staticClass:"tip-toc-dialog-close",on:{click:function(t){e.showDialogLoginQq=!1,e.showDialogLoginChoose=!0}}},[e._v("关闭")]),e._v(" "),n("div",{staticClass:"tip-toc-wechat-login"},[n("img",{staticClass:"tip-toc-qq-login-img",attrs:{src:e.qqTipImage}})])])])])},i=[],a=(n("7db0"),n("c6bf")),r=n("c88c"),c={props:{url:{type:String,default:"",required:!1},plat:{type:String,default:"",required:!1},onlyScanCode:{type:Boolean,default:!1,required:!1}},data:function(){return{env:Object(r["f"])(),redirectUrl:"",qrcodeSrc:"",hideCanvas:!1,showDialogLoginChoose:!1,showDialogLoginWx:!1,showDialogLoginQq:!1,qqTipImage:"https://image-1251917893.file.myqcloud.com/tipcomm/public_dialog-img/wx-zy.jpg",showQQ:!0,showWX:!0,scanCodeType:"wx"}},mounted:function(){this.init()},methods:{init:function(){var e=this;this.redirectUrl=this.url,this.showDialogLoginChoose=!0,"qq"==this.plat&&(this.showWX=!1),"wx"==this.plat&&(this.showQQ=!1),Object(a["a"])("https://image-1251917893.file.myqcloud.com/commjs/qrcode.min.js",(function(){new QRCode("qrcodeid",{text:e.getCurrentUrl(),width:90,height:90,correctLevel:QRCode.CorrectLevel.M});var t=window.document.getElementById("qrcodeid");if(t){var n=t.getElementsByTagName("canvas");n&&n.length>0&&n[0]&&(e.qrcodeSrc=n[0].toDataURL("image/png"),e.hideCanvas=!0)}})),this.redirectUrl||P().then((function(t){var n="";if(e.env.isWeixin){var o=t.find((function(e){return"WX"==e.LoginType}));o&&(n=o.LoginUrl)}else{var i=t.find((function(e){return"QQ"==e.LoginType}));i&&(n=i.LoginUrl)}e.redirectUrl=n}))},jumpToNext:function(){this.closeDialog(),this.redirectUrl&&this.redirectUrl.length>0&&(window.location.href=this.redirectUrl)},showScanCodeTipDialog:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"wx";this.showDialogLoginChoose=!1,this.scanCodeType=e,this.showDialogLoginWx=!0},showQqDialog:function(){this.showDialogLoginChoose=!1,this.showDialogLoginQq=!0},closeDialog:function(){var e="tip-dialog-login",t=document.getElementById(e);t&&t.parentNode.removeChild(t),this.showDialogLoginChoose=!1,this.showDialogLoginWx=!1,this.showDialogLoginQq=!1,this.$emit("dialogVisibleEvent",!1)},getCurrentUrl:function(){return window.app.loginUrl||window.location.href},jumpToLoginQQ:function(){this.onlyScanCode?this.showScanCodeTipDialog("QQ"):this.env.isWeixin?this.showQqDialog():this.jumpToNext()},jumpToLoginWx:function(){this.env.isWeixin?this.jumpToNext():this.showScanCodeTipDialog("wx")}}},s=c,d=(n("0ec6"),n("2877")),l=Object(d["a"])(s,o,i,!1,null,"571dbfcb",null),u=l.exports,p=u,g=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tip-wx-login-dialog-layout",attrs:{id:"tip-dialog-login"}},[n("div",{staticClass:"tip-wx-login-dialog-content"},[n("div",{staticClass:"el-dialog__header"},[n("span",{staticClass:"el-dialog__title"},[e._v("微信登录")]),e._v(" "),n("button",{staticClass:"el-dialog__headerbtn"},[n("i",{staticClass:"el-dialog__close el-icon el-icon-close",on:{click:function(t){return t.stopPropagation(),e.closeDialog(t)}}})])]),e._v(" "),e._m(0)])])},f=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"dialog-login-contant"},[n("div",{staticClass:"login-content"},[n("div",{staticClass:"login_container",attrs:{id:"login_container"}})])])}],m=n("a78e"),h=n.n(m),v={props:{url:{type:String,default:"",required:!0}},data:function(){return{redirectQQUrl:"",redirectWxUrl:"",qrcodeSrc:"",hideCanvas:!1,showDialogLoginChoose:!1,showDialogLoginWx:!1}},mounted:function(){this.init()},methods:{init:function(){h.a.set("refresh_login","1",{domain:".igame.qq.com",expires:1/6}),this.redirectQQUrl=this.getLoginUrl(this.url,!1),this.redirectWxUrl=this.getLoginUrl(this.url,!0),this.showDialogLoginChoose=!0,new window.WxLogin({id:"login_container",self_redirect:!1,appid:"wx224053afb6d8a600",scope:"snsapi_login",redirect_uri:encodeURIComponent(this.redirectWxUrl),state:"7a6d6ed5589082dd6c41d64d5206b064",style:"black",href:"https://image-1251917893.file.myqcloud.com/igame-admin/weixinlogin.css"})},jumpToNext:function(){this.closeDialog(),this.redirectQQUrl&&this.redirectQQUrl.length>0&&(window.location.href=this.redirectQQUrl)},showWxDialog:function(){this.showDialogLoginChoose=!1,this.showDialogLoginWx=!0},getLoginUrl:function(e,t){var n="";if(t)n="https://igame.qq.com/tipcomm/loginmgr/authlogin.php?_ltype=tiploginwxpc&_jumpurl=".concat(encodeURIComponent(e));else{var o="https://igame.qq.com/tipcomm/loginmgr/authlogin.php?_ltype=tiploginqq&_jumpurl=".concat(encodeURIComponent(e));n="https://graph.qq.com/oauth2.0/authorize?response_type=code&client_id=101425236&redirect_uri=".concat(encodeURIComponent(o),"&scope=get_user_info&state=7&display=pc")}return n},closeDialog:function(){var e="tip-dialog-login",t=document.getElementById(e);t&&document.body.removeChild(t)},getCurrentUrl:function(){return window.location.href}}},w=v,b=(n("ec69"),Object(d["a"])(w,g,f,!1,null,"1d30e621",null)),_=b.exports,y=_,x=n("8bbf"),O=n.n(x),k=n("e1ae"),S=n("6821");function C(e){var t=e.isWeixin,n=e.isWorkWeixin,o=e.isQQ,i=e.isPvpApp,a=e.isTipApp,r=e.isMsdk,c=e.isGHelper,s=e.isInGame,d=e.isSlugSdk,l=e.isGHelper20004,u=-1!==window.location.host.indexOf("oa.com");return t||n||o||i||a||r||d||s||c||l||u}var j,T,q=function(e,t){if(e.indexOf("graph.qq.com")<0&&e.indexOf("open.weixin.qq.com")<0)return e;var n=e.match(/redirect_uri=(.*?)&/);if(!n||!n[1])return e;var o=decodeURIComponent(n[1]),i="";n=o.match(/_ltype=(.*?)&/),i=n&&n[1]||"tiploginqq",o=o.replace(/_jumpurl=.*$/,"_jumpurl=".concat(encodeURIComponent(t))),e=e.replace(/redirect_uri=(.*?)&/,"redirect_uri=".concat(encodeURIComponent(o),"&"));var a=S("".concat(i,"@").concat(t));return e=e.replace(/state=(.*?)(&|#)/,"state=".concat(a,"$2")),e};function I(e){j&&j.$destroy();var t="tip-dialog-login-select-mobile",n=document.getElementById(t);n&&document.body.removeChild(n);var o=document.createElement("div");o.id=t,document.body.appendChild(o),j=new(O.a.extend(p))({el:o,propsData:e})}function L(e){j&&j.$destroy();var t="tip-dialog-login-select-wxpc",n=document.getElementById(t);n&&document.body.removeChild(n);var o=document.createElement("div");o.id=t,document.body.appendChild(o),j=new(O.a.extend(y))({el:o,propsData:e})}function E(e){return document.body.contains(e)}var D=function(e){j&&E(j.$el)||I(e)},U=function(e){T&&E(T.$el)||Promise.all([n.e("chunk-bc85656e"),n.e("chunk-54764cee")]).then(n.bind(null,"2df9")).then((function(t){var n="tip-dialog-band-code-login-select-mobile",o=document.getElementById(n);o&&document.body.removeChild(o);var i=document.createElement("div");i.id=n,document.body.appendChild(i),T=new(O.a.extend(t.default))({el:i,propsData:e})}))},A=function(){j&&E(j.$el)||L({url:window.location.href})},R=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=window.location.href;e=q(e,o);var i=Object(r["f"])()||{};if(app.loginFunction)app.loginFunction(e);else if("WXPC"===app.loginType)A();else if("QQPC"===app.loginType)window.location.href=e;else if("QQINPUT"===app.loginType)window.location.href=N();else if("ONLYQQ"===app.loginType)i.isQQ?window.location.href=e:D({url:e,plat:"qq"});else if("ONLYWX"===app.loginType)i.isWeixin?window.location.href=e:D({url:e,plat:"wx"});else if(n)U({code:n});else if("SCANCODE"===app.loginType)C(i)?window.location.href=e:D({url:e,onlyScanCode:!0});else{var a=!1;if(t)try{var c=JSON.parse(t);c&&"EXTERNALPLAT"===c.logintype&&(a=!0)}catch(s){"parse loginInfo e: ".concat(JSON.stringify(s))}e&&e.length>0&&(a?U({code:e}):C(i)?window.location.href=e:D({url:e}))}},N=function(){return"https://ui.ptlogin2.qq.com/cgi-bin/login?style=9&appid=21000401&daid=0&s_url=".concat(encodeURIComponent(window.location.href),"&pt_no_onekey=1&low_login=0")},P=function(){return new Promise((function(e,t){app.$store.dispatch("login/getEnvLoginInfo",{rootStore:app.$store,router:app.$router,backurl:window.location.href}).then((function(){var t=app.$store.state.login.loginTypeList,n=N();t.push({LoginType:"QQINPUT",LoginUrl:n}),e(t)})).catch((function(e){t(e)}))}))},M=function(){k["a"].clearAll()};function H(){M(),app.tip_uid="",app.tip_utype=0,window.location.reload()}var W=function(e){"ONLYWX"!=e&&"WXPC"!=e||!app.tip_uid||2==app.tip_utype||H(),"ONLYQQ"==e&&app.tip_uid&&1!=app.tip_utype&&H()}},db24:function(e,t,n){"use strict";n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a}));n("ac1f"),n("466d");function o(){var e="";return"undefined"!==typeof node_userAgent?e=node_userAgent:"undefined"!==typeof window&&window.navigator.userAgent&&(e=window.navigator.userAgent),e}function i(e){var t=e||navigator.userAgent;return/iphone|ipod|ipad|Mac OS X/i.test(t)||!!t.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/)}function a(e){var t=-1!==e.indexOf("micromessenger"),n=-1!==e.indexOf("wxwork"),o=-1!==e.indexOf(" qq/"),a=-1!==e.indexOf(" igameapp/"),r=-1!==e.indexOf(" gamelife/"),c=-1!==e.indexOf("android"),s=i(e),d=s,l=-1!==e.indexOf(" msdk/"),u=-1!==e.indexOf(" msdk/5"),p=-1!==e.indexOf("ingame"),g=l||p,f=-1!==e.indexOf("gamehelper"),m=-1!==e.indexOf("gamehelper_20004"),h=-1!==e.indexOf("miniprogram")||"miniprogram"===window.__wxjs_environment,v=-1!==e.indexOf("lolapp"),w=/(?:Windows Phone)/.test(e),b=/(?:SymbianOS)/.test(e)||w,_=!e.match(/(phone|pad|pod|iphone|ipod|ios|ipad|android|mobile|blackberry|iemobile|mqqbrowser|juc|fennec|wosbrowser|browserng|webos|symbian|windows phone)/i);return{isWeixin:t,isWorkWeixin:n,isQQ:o,isPvpApp:a,isTipApp:r,isAndroid:c,isIos:s,isIOS:d,isMsdk:l,isMsdkV5:u,isSlugSdk:p,isInGame:g,isGHelper:f,isGHelper20004:m,isMiniProgram:h,isLolApp:v,isWindowsPhone:w,isSymbian:b,isPc:_}}},e1ae:function(e,t,n){"use strict";n("4d63"),n("ac1f"),n("25f0"),n("466d"),n("99af"),n("1276");var o={};function i(e,t){var n="";"undefined"!==typeof node_cookie?n=node_cookie:"undefined"!==typeof window&&window.document&&(n=window.document.cookie);var o="";"undefined"!==typeof t&&(o=t);var i=new RegExp("".concat(e,"=(.*?)(;|$)")),a=n.match(i);return a&&a[1]&&(o=a[1]),o}function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,o=new Date,i=n;o.setTime(o.getTime()+24*i*3600*1e3),document.cookie="".concat(e,"=").concat(t,";expires=").concat(o.toGMTString())}function r(e){a(e,"",-1)}function c(){var e="igame.qq.com";-1!==location.host.indexOf("oa.com")&&(e="pmd.oa.com");for(var t=document.cookie.split(";"),n=0;n-1?o.substr(0,i):o;document.cookie="".concat(a,"=;expires=Thu, 01 Jan 1970 00:00:00 GMT; Domain=.").concat(e,"; path=/")}}o.get=i,o.set=a,o.clear=r,o.clearAll=c,t["a"]=o},ec69:function(e,t,n){"use strict";n("bdbe")}},[["1b06","runtime","chunk-libs"]]]);