/*AGENT_VERSION=3.1.11-jinmao.2*/"use strict";function_defineProperty(t,e,n){returneint?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function_typeof(t){"@babel/helpers - typeof";return(_typeof="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==typeofSymbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft})(t)}window.TINGYUN=function(t,e){if(/(MSIE [0-8].\d+)/.test(navigator.userAgent)){return;}functionn(t){vare=!!t&&"length"int&&t.length,n=_typeof(t);return"function"===n?!1:"array"===n||0===e||"number"==typeofe&&e>0&&e-1int}functionr(t,e,r){vara,i=0;if(t)if(n(t))for(a=t.length;a>i&&e.call(t[i],t[i],i)!==!1;i++);elsefor(iint)if((r||Object.prototype.hasOwnProperty.call(t,i))&&e.call(t[i],t[i],i)===!1)break;returnt}functiona(t){vare=!1;try{/\{\s+\[nativecode\]/.test(Function.prototype.toString.call(t))&&(e=!0)}catch(n){}returne}functioni(t){returnJSON.parse(t)}functiono(t){returnJSON.stringify(t)}functions(t){returnfunction(e){return"Array"===t&&Array.isArray?Array.isArray(e):Object.prototype.toString.call(e)==="[object "+t+"]"}}functionu(t){returnnewFunction("return "+t)()}functionc(t){switch(_typeof(t)){case"object":if(!t)returnnull;if(tinstanceofArray){vare=Pr.call(t);returnr(e,function(t,n){e[n]=c(t)}),"["+e.join(",")+"]"}if(tinstanceofDate)returnt.getTime().toString();varn="";returnr(t,function(t,e){Tr(t)||(n+=c(e)+":"+c(t)+",")}),n&&(n=n.substr(0,n.length-1)),"{"+n+"}";case"string":returnDr+t.replace(Nr,"\\$1").replace(kr,"\\n")+Dr;case"number":returnisNaN(t)?null:t;case"boolean":returnt;case"function":returnc(t.toString());case"undefined":default:return'"undefined"'}}functionf(){vart=Or&&Or.stringify;if(!Tr(t)||!a(t))return!1;vare=!0;try{varn=[Boolean,Number,String,Object,Array];r(n,function(t){returnt.prototype.toJSON?(e=!1,!1):void0})}catch(i){}returne}functionl(){vart=Or&&Or.stringify;returnTr(t)&&a(t)}functiond(){_r=l()?i:u,Er=f()?o:c}functionp(t){returnt&&Sr(t)?_r(t):t}functionh(t,e,n,r){returnt.addEventListener(e,n,r)}functionm(t,e,n){returnt.removeEventListener(e,n)}functionv(t,e,n){returnt.attachEvent("on"+e,n)}functiong(t,e,n){returnt.detachEvent("on"+e,n)}functiony(t,e,n,r){vara=functioni(){returnjr(t,e,i),n.apply(this,arguments)};returnIr(t,e,a,r)}functionx(t,e){returnFunction.prototype.apply.apply(t,e)}functionb(t,e){returnfunction(){returnt.apply(e,arguments)}}function_(t){returnqr?qr(t):t}functionE(t){vare=arguments.length;if(2>e||!t)returnt;varn=Pr.call(arguments,1);returnr(n,function(e){r(e,function(e,n){t[n]=e})}),t}functionS(t,e){returnt?e?t.replace(/\{(\w+.?\w+)\}/g,function(t,n){returne[n]||""}).replace(/\{(\d+)\}/g,function(t,n){returne[n]||""}):t:""}functionC(t,e,n){varr;if(null==t)return-1;vara=Object(t),i=a.length>>>0;if(0===i)return-1;varo=+n||0;if(Math.abs(o)===1/0&&(o=0),o>=i)return-1;for(r=Math.max(o>=0?o:i-Math.abs(o),0);i>r;){if(rina&&a[r]===e)returnr;r++}return-1}functionT(t,e){varn=null==t?0:t.length;if(!n)return-1;for(varr=n;r--;)if(t[r]===e)returnr;returnr}functionw(t){returnsetTimeout(t,0,{__ty_ignore:!0})}functionA(){}functionR(){vart=window&&window.performance;returnt&&t.timing&&t.timing.navigationStart&&t.now?Math.round(t.timing.navigationStart+t.now()):+newDate}functionP(t){returnfunction(){if(null!==t){vare=t;t=null,e.apply(this,arguments)}}}functionD(e){returne?Sr(e)?e.length:t.ArrayBuffer&&einstanceofArrayBuffer?e.byteLength:t.Blob&&einstanceofBlob?e.size:e.length?e.length:0:0}functionN(){this.events={}}functionk(t,e){returnsetTimeout(t,e||0,{__ty_ignore:!0})}functionO(t,e){no[t]=e}functionI(){return0===ro.cpRemain.ajax&&0===ro.cpRemain.iframe}functionj(t){H(t,ao)}functionq(t){H(t,io)}functionH(t,e){varn="ok";returnt?voide.push(t):n=e.length?e.join("\n"):n}functionM(t){functione(t,e,r){vara=r||"log",i=n[t]||(n[t]={});i[a]=i[a]||"",i[a]+=e}varn={},a=j();if(e("Status",a,"ok"!==a),e("Debug",q()),r(oo,function(t,n){e("Timeline",n+": "+t.toString())}),!t&&so)console.log("[TingYun Agent Diagnosis]\n"),r(n,function(t,e){varn=console[e];r(n,function(t,e){console[e](t)})});else{if(t!==Vr)returnEr(n);Bi.href=Bi.href+"#"+Er(n)}}functionL(t,e){this.flags=0,Tr(t.create)&&(this.create=t.create,this.flags|=uo),Tr(t.before)&&(this.before=t.before,this.flags|=co),Tr(t.after)&&(this.after=t.after,this.flags|=fo),Tr(t.error)&&(this.error=t.error,this.flags|=lo),this.data=e}functionz(t,e){if(!ho){if(!wr(t)||!t)thrownewTypeError("callbacks arguments must be an object");returnho=newL(t,e)}}functionF(t){vare=ho.data;if(0!==(ho.flags&uo)){varn=ho.create(ho.data);void0!==n&&(e=n)}returnfunctionr(){0!==(ho.flags&co)&&ho.before(this,e);varn=r;n._&&(n._=1);try{vara=t.apply(this,arguments)}catch(i){throw0!==(ho.flags&lo)&&ho.error(e,i),i}return0!==(ho.flags&fo)&&ho.after(this,e),a}}functionB(t){returnfunction(){vare;try{e=t.apply(this,arguments)}finally{ro.context=null}returne}}functionU(t){return!ho||ho.flags<=0?t:F(t)}functionY(t){returnB(U(t))}functionG(t,e,n){if(t&&n&&Tr(n)){varr=t[e];if(!r||!r._wrapped){vara=n(r,e);returna&&(a._wrapped=!0),t[e]=a,a}}}functionJ(t){functione(){}returne.prototype=t,newe}functionK(){this.id=null,this.active=null,this._set=[]}functionW(){vart=newK;returnt.id=z({create:function(){returnt.active},before:function(e,n){n&&t.enter(n)},after:function(e,n){n&&t.exit(n)},error:function(e,n){if(e){try{varr="moduleId";n[r]=e[r]}catch(a){}t.exit(e)}}}),t}functionV(){returnyo||(mo=W(),yo=!0),mo}functionX(t){returnSr(t)||(t=Er(t)),t}function$(t,e){e=e||A;varn=newImage;Ir(n,Yr,function(){("loaded"==n.readyState||4==n.readyState)&&e(null)},!1),Ir(n,zr,function(){e(null)},!1),Ir(n,Lr,function(){e(Lr)},!1),n.src=t}functionZ(t,e){varn=t.url,r=t.data,a=(t.header,t.callback),i=newXDomainRequest;i.open(bo,n),i.onload=function(){a(null,i.responseText),e()},i.onerror=function(t){a(t),e()},i.send(X(r))}functionQ(t,e){varn=t.url,r=t.data,a=t.header,i=t.callback,o=P(i),s=newFi;s[Xr]=!0,s.overrideMimeType&&s.overrideMimeType("text/html"),s.onreadystatechange=function(){4==s.readyState&&200==s.status&&(o(null,s.responseText),e())},s.onerror=function(){o(),e()};try{s.open(bo,n,!0);for(varuina)s.setRequestHeader(u,a[u]);s.send(X(r))}catch(c){e()}}functiontt(t,e){varn=t.url,r=t.data,a=(t.header,t.callback),i=Ui.sendBeacon(n,X(r));i&&(a&&a(),e())}functionet(t){this.size=t||100,this.queue=[],this.running=!1}functionnt(){_o=vo=Q,Eo=!1}functionrt(t){go=newet(t)}functionat(t){go.add(t)}functionit(t){try{returnp(t)}catch(e){j(e&&e.message)}returnnull}functionot(t){vare=t||newDate,n=e.getFullYear()+"-",r=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",a=e.getDate()+" ";returnn+r+a}functionst(t,e,n){if(null==t[e]||Cr(t[e]))Cr(t[e])?t[e].push(n):t[e]=n;else{varr=t[e];t[e]=[r],t[e].push(n)}}functionut(t){returnt.send_protocol?t.send_protocol:Do!==No&&/^https/i.test(t&&t.protocol||Do)?"https:":No}functionct(t){vare={};if(t=t||Bi.href,!Sr(t))returne;varn=t.indexOf("?");returnn>=0&&(t=t.substring(n+1)),t?e=dt(t):e}functionft(t){returnt&&t.indexOf("?")&&t.lastIndexOf("=")&&t.lastIndexOf("=")>t.indexOf("?")?ct(t):{}}functionlt(t){vare={};returnt=t||"",Sr(t)&&t?e=dt(t):e}functiondt(t){vare={};returnt&&r(t.split("&"),function(t){varn=t.split("="),r=pt(n[0]),a=pt(n[1]);if(Sr(a)){vari=it(a);null!=i&&(a=i)}r&&null!=a&&st(e,r,a)}),e}functionpt(t){try{returndecodeURIComponent(t)}catch(e){}returnnull}functionht(t,e,n){vara=null;returnt&&e&&(a=Po+"//"+t+e,n&&(a+="?",r(n,function(t,e){varn=[_(e),"=",_(t),"&"];a+=n.join("")}))),a}functionmt(t){Po=ut(t)}functionvt(){vart=Co(Ci);returnt?t:To(Ci,Mr())}functiongt(){returnCo(Ei)}functionyt(t){if(null!=t){vare=gt();null!=e&&t!==e&&_t(),To(Ei,t)}}functionxt(){vart=Co(Si);returnt?t.split(wi):null}functionbt(t){t&&3===t.length&&To(Si,t.join(wi))}function_t(){vart=Et();Pt(t)}functionEt(){vart=R(),e=[Mr(),t,t];returnbt(e),e}functionSt(){vart=R(),e=xt();Ct(e)?_t():(e[2]=t,bt(e))}functionCt(t){return!t||3!==t.length||R()-+t[2]>Ti}functionTt(t,e){returnht(Vi.beacon,t,wt(e))}functionwt(t){vare=Dt();returnE({},Xi,e,t||{},Wi.baseInfo,Ao||{})}functionAt(t){returntinVi?Vi[t]:!0}functionRt(t){vare={};returnr(t,function(t){t&&C(e[t.type]||[],t.key)<0&&(e[t.type]=e[t.type]||[]).push(t.key)}),e}functionPt(t){t[0]&&(Xi.sid=t[0]),t[1]&&(Xi.__s=+t[1])}functionDt(){vart={did:vt()},e=gt();returne&&(t.uid=e),t}functionNt(e){varn={};if(Tr(e)){vara={};e(a),n=a.server}elsen=e;t[va]||(t[va]={hook:{}}),E(Ki.server,Ji,n||{},t[va].config||{}),E(Ki.appConf,{bizIdsRules:Rt(Vi.bizId_rule),customParamsRules:Rt(Vi.opt_param_rule),requestParamKeys:Rt(Vi.request_param_keys),corsDomains:Vi.cors_domains||[],optCustomParamRules:Rt(Vi.opt_custom_param_rule),ignoreNoFilePropError:At("ignore_err"),debuggable:At("debug"),sessionTimeout:Vi.session_timeout||Ti}),r(ko,function(e){Vi[e]&&(Wi.baseInfo[e]=Vi[e],t[Wr][e]=Vi[e])}),E(Xi,Dt());vari=xt();Ct(i)&&(i=Et()),Pt(i),Ki.server.event_timeout||(Ki.server.event_timeout=xa),Vi.appKey&&nt(),Vi.apm_arms&&(Vi.apm_headers||(Vi.apm_headers=[]),Vi.apm_headers.indexOf(qi)<0&&Vi.apm_headers.push(qi)),mt(Vi),rt(Vi.req_capacity)}functionkt(e){try{varn;if(!e||!e.data||0!==e.data.indexOf("_TINGYUN"))return;if(n=e.data.replace("_TINGYUN",""),it(n)){varr=it(n);if("gather"===r.type&&"APM"===r.fromJS&&!t[ji]){Gi.isGather=!0;vara=e.origin,i=zi.getElementsByTagName("head")[0],o=zi.createElement("script");o.type="text/javascript",o.src=a+"/assets/lib/gather/path-gather.min.js?version="+ot(newDate),i.appendChild(o)}}}catch(s){}}functionOt(){vart=this;t.xhrs={},t.errs=[],N.call(t)}functionIt(t){so&&console.warn(t||"Event key required!")}functionjt(t){t=t||{},this.key=t.key,this.type=t.type||Ni;vare=t.timeout||Pi;this.timeout=e,this.status=1,this.remain=0,this.xhrs=[],this.s=R(),this.e=null,this.called=this.sent=this.stored=!1}functionqt(t){t=t||{};vare=t.key;if(!e)returnnewIt;if(Ho[e])returnnewIt("event "+e+" is executing");Ho[e]=!0;varn=mo.createContext();mo.enter(n);varr=newjt(t);returnr._end=function(){vart=this;t.sent||t.stored||0!==t.remain||!t.called?t.stored&&this.refreshEventAndStore(n):t.finish().send(n)},r.end=function(t,e){varr=this;returnr.called?void(so&&console.warn("Event "+this.key+"has ended or failed!")):(r.called=!0,mo.exit(n),r.status=null!=t?t:1,void(e||r._end()))},r.finish=function(t){vare=this;returne.e=R(),e.i&&clearTimeout(e.i),deleteHo[e.key],e},r.fail=function(){this.end(0)},r.store=function(){this.end(null,!0),this.refreshEventAndStore(n),this.stored=!0},r.i=r.timeout?k(b(r.fail,r),r.timeout):null,mo.set("event",r),r}functionHt(e){if(t.TINGYUN&&t.TINGYUN.inited){varn=Co(Ai),r=it(n);if(r&&r.start&&(e=e||{},!e.key||r.key===e.key)){vara=e.timeout;if(a||(a=Ri),r.duration=R()-r.start,r.duration>a)returnvoidwo(Ai);vari=t.performance.timing;if(i.navigationStart&&(i.loadEventEnd||i.loadEventStart)&&i.navigationStart-r.start>=0){varo={req:"get "+document.URL,status:200,type:"PF",start:i.navigationStart-r.start,du:(i.loadEventEnd||i.loadEventStart)-i.navigationStart};r.xhrs||(r.xhrs=[]),r.xhrs.push(o)}vars=1;e.status&&(s=e.status===Oi?1:0),r.status=s,wo(Ai),Io.emit("send","/spe",null,r,A)}}}functionMt(e){if(!t.TINGYUN||!t.TINGYUN.inited)returnnewIt("Agent is not inited!");e=E(e||{},{type:Di});varn=qt(e);returne.autoEnd&&k(function(){e.status&&e.status===Ii?n.fail():n.end()},e.endDelay||ki),n}functionLt(e,n){t.TINGYUN&&t.TINGYUN.inited&&(wr(n)||(n={}),e&&e.beforeEach&&e.afterEach&&(e.beforeEach(function(t,e,r){vara=t.path;if(!Mo[a]||Mo[a].e){vari={key:a};n&&n.timeout&&(i.timeout=n.timeout),Mo[a]=Mt(i)}r()}),e.afterEach(function(t,e){varr=t.path;k(function(){vart=Mo[r];!t||t.called||t.e||(n&&n.status===Ii?t.fail():t.end())},n.endDelay||ki)})))}functionzt(t,e){varn;if(wr(t))n=t;else{if(!Sr(t)||void0===e)thrownewLi(Qi);n={},n[t]=e}returnr(n,function(t,e){einLo?to[Lo[e]]=t:to[e]=t}),this}functionFt(t){if(t){vare=to.firstScreenResources=to.firstScreenResources||[];Cr(t)||(t=[t]),r(t,function(t){if(Sr(t))e.push(t);elseif($i(t)){varn=t.src||t.href;n&&e.push(n)}})}}functionBt(t){Cr(t)||(t=[t]),r(t,function(t){if(t){if(!(tinstanceofRegExp))thrownewLi("parameter's type requires RegExp");(Wi.domains||(Wi.domains=[])).push(t)}})}functionUt(t,e){if(t){varn=t.split("_"),r=n[0],a=n[1];"ty"===r&&a&&O(a,{timestamp:R(),data:e})}}functionYt(t){Fo&&t()}functionGt(t){returnfunction(){Fo&&t.apply(this,arguments)}}functionJt(){Fo=!1}functionKt(){if(Object.defineProperty){vare=t[Kr];e&&Object.defineProperty(t,Kr,{get:function(){returnUo++>0&&t.console&&console.warn("window.%s is deprecated, use window.%s instead.",Kr,Wr),e}})}}functionWt(e){Yo.on(zr,P(function(){n();vart=R();Yt(function(){Bo.load=t}),e.loadEventEnd=t})),r([zr,Fr,Br,Ur],function(e){Ir(t,e,function(t){Yt(function(){(Bo.e[e]||(Bo.e[e]=[])).push(R())}),Yo.emit(e,t)})});varn=P(function(){vart=R();Yt(function(){Bo.end=t}),e.domContentLoadedEventStart=t,zi.querySelectorAll&&(eo.resources=eo.resources||[],r(zi.querySelectorAll("head>link,head>script"),function(t){vare;"LINK"==t.tagName?e=t.href:"SCRIPT"!=t.tagName||t.defer||t.async||(e=t.src),e&&eo.resources.push(e)}))});Ir(zi,"DOMContentLoaded",n),Ir(zi,Yr,function(t){zi.readyState===Gr&&n()});vara=P(function(){e.touch=R()});r(["scroll","click","keypress"],function(t){y(zi,t,a)});vari=t.requestAnimationFrame;!i||i.toString().indexOf("[native code]")<0||G(t,"requestAnimationFrame",function(n){returnfunction(){if(!e.firstPaint){varr=R();Yt(function(){Bo.an.count++,Bo.an.t=r}),e.firstPaint=r,t.requestAnimationFrame=n}returnn.apply(this,arguments)}})}functionVt(t,e,n){n||(n=e&&window[e]||zi.cookie||"");varr=n.match(newRegExp("(^|;\\s*)("+t+")=([^;]*)"));returnr?r[3]:null}functionXt(t,e,n,r,a){vari=t+"="+e;if(n){varo=newDate;o.setTime(o.getTime()+1e3*n),i+=";expires="+o.toGMTString()}r&&(i+=";path="+r),(a||zi).cookie=i}function$t(t,e){varn;returnt&&(n=!0,r(t,function(){returnn=!1},e)),!!n}functionZt(t){vare={},n={},r={},a={},i=ct(t);returni&&(e=Qt(i,Wi.bizIdsRules[Zr],Wi.bizIdsRules[ea]),n=Qt(i,Wi.customParamsRules[Zr],Wi.customParamsRules[ea]),r=Qt(i,Wi.requestParamKeys[na],Wi.requestParamKeys[ra]),a[aa]=re(i,Wi.optCustomParamRules[aa],!0)),{bizIdParams:e,params:n,requestParams:r,optCustomParams:ne(a)}}functionQt(t,e,n){vara={};returnt&&e&&e.length&&e.length>0&&r(e,function(e){varn=t[e];null!=n&&st(a,e,n)}),t&&n&&n.length&&n.length>0&&r(n,function(e){varn=te(fa,e),r=n(t);null!=r&&st(a,e,r)}),a}functionte(t,e){varn=t+"."+e;if(Go[n])returnGo[n];vara=(e||"").split("."),i="";e&&0!==e.indexOf("[")&&(i=".");varo=t;r(a,function(t,e){0===e&&(o+=i),o+=t.indexOf("-")>-1&&0!==t.indexOf("[")&&t.indexOf("]")!==t.length-1?"['"+t+"']":(e>0?".":"")+t});vars;try{s=newFunction(t,"try{return "+o+";}catch(e){}return null;")}catch(u){s=A}returnGo[n]=s,s}functionee(t){returnt+="",t&&t.substr(0,128)||""}functionne(t){vare={};returnr(t,function(t,n){$t(t)||(e[n]=t)}),e}functionre(t,e,n){vara={};returnt&&e&&e.length&&e.length>0&&r(e,function(e){varr=t[e];if(null!=r)st(a,e,r);elseif(n){vari=te(fa,e),r=i(t);null!=r&&st(a,e,r)}}),a}functionae(t){vare,n;if(t)if(0===t.indexOf(ma)){varr=t.substring(ma.length);try{n=Ko.decode(r),e=it(n)}catch(a){}}else{try{n=decodeURIComponent(t),e=it(n)}catch(a){}if(!e)try{n=decodeURIComponent(n),e=it(n)}catch(a){j(a&&a.message)}}returne}functionie(t){vare={};returnt&&wr(t)&&(e.s_id=t.id,e.s_tname=t.tname,e.s_tid=t.tid,e.s_rid=t.rid,e.s_duration=t.duration,"user"int&&(e.s_user=t.user),"bid"int&&(e.s_bid=ee(t.bid)),"ber"int&&(e.s_ber=t.ber),"isError"int&&(e.s_isError=t.isError)),e}functionoe(t){returnt[za]||t._end}functionse(t){returnt.loadEventEnd||t._end}functionue(t){vare=0,n=t.timing;returnn?t.getEntriesByName&&(e=n.domLoading,r(eo.resources,function(r){vara=t.getEntriesByName(r);if(1==a.length){vari=a[0].responseEnd+n.navigationStart;i>e&&(e=i)}}),e-=n.navigationStart):q("fp=0"),Yt(function(){Bo._fp=e}),Math.round(e)}functionce(e,n,a,i){varo=a||0,s=to.firstScreenResources;if(s&&s.length&&e.getEntriesByName)returnr(s,function(t){varn=e.getEntriesByName(t);if(n.length){varr=n[0],a=r.responseEnd;a>o&&(o=a)}}),i.fs_s=1,Math.round(o);varu=zi.createElement("img");if(!u.getBoundingClientRect)returnYt(function(){Bo.fs=o}),o;if(e.getEntriesByName){varc=t.innerHeight,f=t.innerWidth,l=[];r(zi.querySelectorAll("img"),function(t){t.src&&fe(le(t),c,f)&&!de(t)&&l.push(t.src)});vard=(n.loadEventEnd||Io.loadEventEnd)-n.navigationStart;r(l,function(t){varn=e.getEntriesByName(t);if(n.length){varr=n[0],a=r.responseEnd;r.fetchStart<=d&&a>o&&(o=a)}})}returnMath.round(o)}functionfe(e,n,r){if(e){vara=t.pageYOffset,i=e.top+(0===a?0:a||zi.scrollTop||0)-(zi.clientTop||0);if(i>=n)return!1;varo=e.left;returno>=0&&r>o}return!1}functionle(t){returnTr(t.getBoundingClientRect)?t.getBoundingClientRect():void0}functionde(t){returnVo.reliableHiddenOffsets()?t.offsetWidth<=0&&t.offsetHeight<=0&&!t.getClientRects().length:pe(t)}functionpe(t){for(;t&&1===t.nodeType;){if("none"===he(t)||"hidden"===t.type)return!0;t=t.parentNode}return!1}functionhe(t){returnt.style&&t.style.display}functionme(t){varn=e,r=0;returnt&&(n=t.navigationStart||n,r=t[za]||t.domInteractive||t.domLoading||r),r=r||Io._end,r-n}functionve(n,a){functioni(t){returnn[t]>0?n[t]-s:0}varo={},s=a?a.globalStart:e,u=a?a.window:t,c=(a?a.agent:Io)||{};if(n){Yt(function(){vart=Bo.t={};r(n,function(e,n){Tr(e)||(t[n]=e)},!0)}),s=n.navigationStart,o={ns:s,f:i(qa),qs:i(Ha),rs:i(Ma),re:i(La),os:i(za),oe:i(Fa),oi:i(Ba),oc:i(Ua),ls:i(Ya),le:i(Ga),tus:i(Ja),tue:i(Ka)};varf=i(Wa),l=i(Va),d=i(Xa),p=i($a),h=i(Za),m=i(Qa);if(o.cs=h,o.ce=m,o.ds=f,o.de=l,(p-d>0||p>0)&&(o.es=d,o.ee=p),0==o.le){varv=se(c);o.ue=v-s}c&&(c._le=o.ue||o.le);varg,y;if(n.msFirstPaint)g=n.msFirstPaint,a||Yt(function(){Bo.fp="m_"+g});elseif((y=u.chrome)&&u.chrome.loadTimes){varx=u.chrome.loadTimes();x&&x.firstPaintTime&&(g=1e3*x.firstPaintTime),a||Yt(function(){Bo.fp="c_"+x.firstPaintTime})}elsec&&c.firstPaint&&(g=c.firstPaint,a||Yt(function(){Bo.fp=g}));g&&(o.fp=Math.round(g-s),c.fp=o.fp),n[ti]?o.sl=i(ti):o.sl=0}elseo={t:s,os:oe(c)-s,ls:se(c)-s};returno.je=c&&c.errs&&c.errs.length||0,c&&c.ct&&(o.ct=c.ct-s),c&&c.touch&&(o.fi=c.touch-s),o}functionge(t,e){varn=ve(t,e);n.fp?t&&n.fp>n._le&&(n.fp=ue(performance),n.__fp=2):t?(n.fp=ue(performance),n.__fp=1):n.fp=n.__fp=0,n.dr=me(t),t?n.fs=ce(performance,t,n.fp,Io):n.__fs=0;varr={};returnn&&(r={f:n.f,fp:n.fp,fs:n.fs,dr:n.dr,le:n.le,je:n.je}),r}functionye(){return{optCustomParam:ro.opt_custom_param}}functionxe(t){returnt||(t=ye()),"".concat(Na).concat(Er(t))}functionbe(t,e,n,r){if(t){vara=_e(t);if(a)try{vari=a+Er(t),o=[i];o.unshift(e?e:xe());vars=o.join("\n");Io.emit("send","/action",{ps:r||a===Da?1:0},s,function(){t.type===Ca&&(Io.xhrs=Io.errs=null)},n)}catch(u){}}}function_e(t){vare="";returnt.type===ba?e=wa:t.type===_a?e=Aa:t.type===Sa?e=Pa:t.type===Ea?e=Ra:t.type===Ca&&(e=Da),e}functionEe(t){be(t)}functionSe(t){vare=ro.cpParent;if(e){if(t&&(ro.recordingCpActions=!1),!I())returnvoid(ro.tryEndCpActionsFailed=!0);varn=e.action,a=e.data,i=e.commonActionInfo,o=e.url;if(n&&a&&0!==a.length){vars=R(),u=[];r(ro.cpActions,function(t){t.data&&(t.data.crossPage=!0),u.push(t.data)}),a[a.length-1].items=u;for(varc=a.length-1;c>=0;c--){varf=a[c];f.type===ba||f.end||(f.end=s),a[c-1]&&(a[c-1].items=[f]);varl=void0;l=f.start&&f.end&&f.end-f.start>Vi.event_timeout?ja:f.type===ba?a[c+1]&&a[c+1].state||Ia:Ia,f.state=l}n.data=a[0],n.end=s;vard=xe(E(i||{},{cpOptCustomParam:ro.opt_custom_param,pageParam:wt()}));be(n,d,o,!0)}}}functionCe(){vart={};returnr(Xo,function(e){t[e]={current:0,children:0}}),t}functionTe(t,e,n){r(t,function(t){t.cid===e.id&&(t.items=e.items||[])})}functionwe(t,e){r(t,function(t){r(e,function(e){t.cid===e.id&&(t.state||(t.state=e.state),t.items=e.items||[])})}),r(e,function(t){we(t.items,t.children)})}functionAe(t,e,n,r,a,i){i=i||{},this.id=++ro.uniqueId,this.parent=t||null,this.children=[],this.name=e||"",this.type=n||ba,this.subType=this.type===ba?r||"click":r,this.items=[],this.remain=Ce(),this.s=i.s||R(),this.e=null,this.data=a,this.state=Oa,this.crossPage=i.crossPage||!1;varo=this;null==this.parent&&(this.i=k(function(){o.timeout()},Vi.event_timeout)),this.closed=!1,this.isTimeout=!1,this.cleared=!1,this.stateChanged=!1,this.actionCount={ajax:n===_a?1:0,iframe:n===Sa?1:0},null!=this.parent&&this.parent.children.push(this)}functionRe(t,e){if(Pe()){varn={rm:{},em:[],cpm:{}};e&&(n.rm.res=e.res||[]),t&&(n.cpm=t,n.cpm.ul=zi.URL),nbsJsBridge.logJsResult(Er(n))}}functionPe(){return"undefined"!=typeofnbsJsBridge&&nbsJsBridge.logJsResult}functionDe(){vart=0;try{t=window.performance.timing.loadEventEnd}catch(e){}returnt>0}functionNe(t,n){vara={tr:!1,tt:_(zi.title),charset:zi.characterSet};to.resources&&E(a,to.resources),Yt(function(){a.debug=Bo}),Jt();vari=Io.errs;r(i,function(t,r){vara=t.toObject();a.o=a.o-n&&n.navigationStart||e,i[r]=a}),a.err=i;varo,s="getEntriesByType";returnt[s]?o=t[s]("resource"):q(S(Zi,[s])),o&&(a.tr=!0,a.res=[],r(o,function(t){functione(e){varn=t[e];returnn>0?n:0}varn=t.initiatorType,i=t.name,o={o:e("startTime"),rt:n,n:i,f:e(qa),ds:e(Wa),de:e(Va),cs:e(Za),ce:e(Qa),sl:e(ti),qs:e(Ha),rs:e(Ma),re:e(La),ts:t.transferSize||0,es:t.encodedBodySize||0};if("xmlhttprequest"===n){vars=ke(i);r(s,function(t,e){0==e.indexOf("s_")&&(o[e]=t)})}a.res.push(o)})),a}functionke(t){vare;returnr(Io.xhrs,function(n,r){returnr&&t.indexOf(r)>-1?(e=n,!1):void0}),e}functionOe(e){if(!e.agent){varn=t._ty_rum;if(n&&n.agent)e.agent=n.agent;else{varr=Vt(da,la);r&&(e.agent=ae(r),Xt(da,"",-1e3,"/"))}}returne.agent}functionIe(t){if(t){vare=t.fetchStart;if(e)returne-t.navigationStart}}functionje(){vare={},n=0,a=t.performance;a&&a.getEntriesByType&&r(a.getEntriesByType("mark")||[],function(t){if(t&&t.name&&t.startTime&&0===t.name.indexOf(ga)){varr=t.name.substring(ga.length);r&&(e[r]=Math.round(t.startTime),n+=1)}});vari=t[va]&&t[va].data,o=E({},i||{},no||{});returno&&a.timing&&r(o,function(t,r){wr(t)&&t.timestamp&&(e[r]=t.timestamp-a.timing.navigationStart,n+=1)}),n>0?e:null}functionqe(t,e){varn=E({},t||{},{type:Ca});returne&&(n.body=e),n}functionHe(t,e){varn=Er(t),r=n?n.length:0;if(r>ya&&t.res&&t.res.length>0){t.res=t.res.slice(0,e);vara=Er(t),i=a?a.length:0;returni>ya?He(t,e-10>0?e-10:0):t}returnt}functionMe(){varn=P(function(){functionn(t){returnt?"1":"0"}if(!ro.pfSent){vara=t.performance,i=!!a;i||q(S(Zi,["pf"]));varo=Oe(Ki);o&&o.ulabel&&(to.ulabel=o.ulabel);vars=ie(o),u=a&&a.timing,c=E(ve(u),s,to),f=E({},Ao);f.ressize=!!u,Io.fp?(f.fp=Io.fp,i&&Io.fp>Io._le&&(q("fp>le"),f.fp=ue(a),f.__fp=2)):i?(f.fp=ue(a),f.__fp=1):f.fp=f.__fp=0,f.dr=me(u),i?f.fs=ce(a,u,f.fp,f):f.__fs=0;varl="",d=je(),p=E(c,f)||{};d&&r(d,function(t,e){Ar(t)&&t>=0&&(p[e]=t)});varh;if(i){varm="trace",v=Math.max(p.ls,0);v||(v=se(Io)-u.navigationStart||e),p[m]=v;varg=Ie(u);r(["fp","fs","dr",m],function(t){l+=n((g?p[t]-g:p[t])>=Vi[t+"_threshold"])}),deletep[m],l.indexOf("1")>-1&&(h=Ne(a,u)),d&&(h||(h={}),h.mark=d)}p.trflag=l||"0000",eo.pfStart=R(),deletep.firstScreenResources,deletep.resources;vary=Zt(zi.URL);if(h||(h={tr:!1,tt:_(zi.title),charset:zi.characterSet}),h.bizId_param=y.bizIdParams,h.opt_param=y.params,h.request_param=y.requestParams,ro.opt_custom_param=y.optCustomParams,h)try{h=He(h,150)}catch(x){}varb=qe(p,h),C=Ae.buildImmediateAction(Ca,"",b,ro.recordingCpActions);ro.recordingCpActions&&(C.crossPage=!0,ro.cpActions.push(C),k(function(){Se(!0)},$o));try{Re(p,h)}catch(x){}ro.pfSent=!0}});returnDe()&&!ro.pfSent&&n(),Yo.on(zr,function(){vart=0;if(Vi.pfDelay&&wr(Vi.pfDelay)){vare=je();r(Vi.pfDelay,function(n,r){(!e||null==e[r])&&Ar(n)&&n>t&&(t=n)})}if(ro.recordingCpActions){vara=Vi.cross_page_delay?Vi.cross_page_delay:si,i=a-t;0>i&&(i=0),$o=i}k(n,t)}).on([Fr,Br,Ur],n)}functionLe(t){vare=t;returnZo&&(Qo.setAttribute("href",e),e=Qo.href),Qo.setAttribute("href",e),{href:Qo.href,protocol:Qo.protocol?Qo.protocol.replace(/:$/,""):"",host:Qo.host,search:Qo.search?Qo.search.replace(/^\?/,""):"",hash:Qo.hash?Qo.hash.replace(/^#/,""):"",hostname:Qo.hostname,port:Qo.port,pathname:"/"===Qo.pathname.charAt(0)?Qo.pathname:"/"+Qo.pathname}}functionze(t){vare=!1;returnWi.corsDomains&&r(Wi.corsDomains,function(n){returnt.indexOf(n)>-1?(e=!0,!1):void0}),e}functionFe(t){vare=Le(t);returne.protocol===ts.protocol&&e.host===ts.host||ze(e.host)}functionBe(e,n){returnfunction(r){if(t[va].hook&&t[va].hook.eventCb&&$e(r)){vara={originalCallback:e,eventHandlerType:n};returnt[va].hook.eventCb.call(this,arguments,a)}returne.apply(this,arguments)}}functionUe(t,e,n){returnn===ns?Be(t,e):(t.handleEvent=Be(t.handleEvent,e),t)}functionYe(t){returnTr(t)}functionGe(t){returnwr(t)&&Tr(t.handleEvent)}functionJe(t){vare;returnYe(t)?e=ns:Ge(t)&&(e=rs),{isValid:t&&e,listenerType:e}}functionKe(t){returnfunction(){vare=arguments[0],n=arguments[1],r=arguments[2],a=!0;r&&wr(r)&&r[ci]&&(a=!1);vari=Je(n),o=i.isValid,s=i.listenerType;if(a&&es.indexOf(e)>-1&&o){varu;if(n[Hi]&&n[Hi][this])u=n[Hi][this];else{varc=Ue(n,di,s);s===ns&&(n[Hi]||(n[Hi]={},n[Hi][Mi]=0),n[Hi][this]={listener:c,options:arguments[2]},n[Hi][Mi]++,u=n[Hi][this])}u&&(u.listener&&(arguments[1]=u.listener),u.options&&(arguments[2]=u.options))}returnt&&t.apply(this,arguments)}}functionWe(t){returnfunction(e,n){varr;try{r=t&&t.apply(this,arguments)}finally{try{if(n&&es.indexOf(e)>-1){vara=n[Hi];a&&a[this]&&a[this].listener&&(null!=a[this].options?this.removeEventListener(e,a[this].listener,a[this].options):this.removeEventListener(e,a[this].listener),a[this]=null,a[Mi]--,a[Mi]<=0&&(n[Hi]=null,deleten[Hi]))}}catch(i){}}returnr}}functionVe(){t.EventTarget&&(G(t.EventTarget.prototype,"addEventListener",function(t){returnKe(t)}),G(t.EventTarget.prototype,"removeEventListener",function(t){returnWe(t)}))}functionXe(){Object.getOwnPropertyDescriptor&&Object.defineProperty&&es.forEach(function(e){varn="on"+e,r=Object.getOwnPropertyDescriptor(t.HTMLElement.prototype,n),a=r.get,i=r.set;Object.defineProperty(t.HTMLElement.prototype,n,{get:function(){returna.apply(this,arguments)},set:function(){vart=arguments[0];returnt&&(arguments[0]=Ue(t,pi,ns)),i&&i.apply(this,arguments)},configurable:!0,enumerable:!0})})}function$e(e){returne&&e.targetinstanceoft.HTMLElement&&e.currentTargetinstanceoft.HTMLElement}functionZe(t){return!!t.match(Ze.regex)}functionQe(t){returnt&&t.substr(0,256)||""}functiontn(t){try{if(!t)return"";for(vare=[],n=t.parentNode,r=function(){varr=t.tagName,a=void0;a=n.children;vari=void0;i=a?1===[].filter.call(a,function(t){returnt.tagName===r}).length?r:"".concat(r,":nth-child(").concat(1+[].indexOf.call(a,t),")"):r;varo=t.id?"#".concat(t.id):"",s=t.className&&Sr(t.className)?t.className.split(" ").map(function(t){return".".concat(t)}).join(""):"";e.unshift("".concat(i).concat(o).concat(s)),t=n,n=t.parentNode};n;)r();return"".concat(e.join(" > ")).toLowerCase()}catch(a){}}functionen(t,e,n){varr=t.target,a=r.nodeName,i=r.id,o=r.className,s=r.title,u=r.value,c=r.innerText,f=a+i,l={type:ba,id:i,nodeName:a,className:o,title:s,value:u,text:a===gi?"":Qe(c),path:tn(t.target)};if(mi===a){vard=t.target.getAttribute("src");d&&!Ze(d)&&(l.src=d)}if(vi===a){varp=t.target.getAttribute("href");p&&(l.href=p)}returnl.eventHandlerType=e,Ae.createEvent(null,f,ba,t.type||fi,l,n)}functionnn(t,e){ro.context=en(t,e)}functionrn(){vart=ro.context;t&&t.canEnd()&&t.end(),ro.context=null}functionan(t,e){varn=e.originalCallback,r=e.eventHandlerType,a=t[0],i=!a||!a.target||a[ui]||!(as.indexOf(a.type)>-1);if(!i)try{nn.call(this,a,r)}catch(o){}vars;try{s=n.apply(this,t)}finally{if(!i)try{ro.context&&!ro.context.canEnd()&&(a[ui]=!0),rn.apply(this)}catch(o){}}returns}functionon(){r(as,function(t){document.addEventListener(t,function(t){os.length>=ni&&os.shift(),os.push(t)},_defineProperty({capture:!0},ci,!0))})}functionsn(t){returnt.timeStamp?Math.round(t.timeStamp+performance.timing.navigationStart):R()}functionun(t){vare=os.filter(function(t){return!t[ui]}),n=e[e.length-1];if(n){varr=sn(n);if(Math.abs(r-t)<is)returnen(n,hi,{s:r})}}functioncn(t){vare=[];try{e=os.filter(function(e){return!e[ui]&&e.timeStamp===t.timeStamp&&t.target.nodeName===e.target.nodeName})}catch(n){}if(e.length>0){varr=e[0];returnen(r,hi,{s:sn(r)})}}functionfn(){Vi.inline_event_associate_threshold&&(is=Vi.inline_event_associate_threshold),t[va].hook&&(t[va].hook.eventCb=an),!t[va].listenerHooked&&t.HTMLElement&&(Ve(),Xe()),Vi.disableInlineEvent||on()}functionln(t,e,n){vara=Mr().replace(/-/g,""),i={};returnr(e,function(e){!e||n&&n[e]||(t.setRequestHeader(e,a),i[e]=a)}),i}functiondn(t){t.pcid=t.parentContext.id,t.parentContext.updateRemain(1,_a),t.parentContext.items.push(t.contextData)}functionpn(t){returnfunctione(n,r){vara=this,i=e;if(i._&&(i._=1),!a[Xr]){varo=a[Kr]={};o.method=n,o.url=r,o.id=us++,o.jserror=!1;vars=mo.get("event");s&&(o.key=s.key,s.remain++),yn(o,ro.context),o.parentContext=o.context.parent,o.contextData={type:_a,id:o.id,cid:o.context.id,method:o.method,url:o.url,state:o.state,ignore:!1,jserror:o.jserror},o.context&&o.context.setData(o.contextData),o.parentContext&&dn(o)}try{returnt.apply(a,arguments)}catch(u){}}}functionhn(t){returnfunctione(n,r){vara=this,i=e;if(i._&&(i._=1),!a[Xr]){varo=a[Kr],s=Dn(n,Wi.optCustomParamRules);Gi.isGather&&(o.wReqHeaderParam||(o.wReqHeaderParam={}),o.wReqHeaderParam[n]=r),o&&s&&(o.reqHeaderParam||(o.reqHeaderParam={}),o.reqHeaderParam[n]=r),o.headerRecord||(o.headerRecord={}),o.headerRecord[n]=r}try{returnt.apply(a,arguments)}catch(u){}}}functionmn(t){returnfunctione(n){varr=this,a=e;if(a._&&(a._=1),!r[Xr]){vari=r[Kr];if(i&&(i.start=R(),i.reqSize=D(n),i.requestData=n,i.contextData&&(i.contextData.start=i.start)),i.context&&null==i.context.parent){varo=un(i.start);o&&(i.context.parent=o,i.parentContext=i.context.parent,dn(i))}!i.parentContext&&ro.recordingCpActions&&(i.context.crossPage=!0,ro.cpRemain.ajax++,ro.cpActions.push(i.context)),En(r);vars=Fe(i.url);if(Vi.x_server_switch&&r.setRequestHeader&&Vi.key&&i&&s){varu=jn(),c="c=B|"+Vi.key;if(u&&(c+=";x="+u),r.setRequestHeader(pa,c),i.xTingyunSent=!0,Vi.apm_headers){varf=ln(r,Vi.apm_headers,i.headerRecord);i.apms=f}}}try{returnt.apply(r,arguments)}catch(l){}}}functionvn(t){r(cs,function(e,n){Ir(t,n,function(){gn(t,e,n)})})}functiongn(t,e,n){t&&t[Kr]&&(t[Kr].errorCode=e,t[Kr].errorEvent=n)}functionyn(t,e){if(!t.context){varn="".concat(t.url,"-").concat(t.id);t.context=Ae.createEvent(e,n,_a)}}functionxn(t,e){ro.context=t.context,ro.globalAsyncStore=t,ro.globalAjaxContext=e}functionbn(t){vare=t.context&&t.context.canEnd();e&&t.context.end(),t.contextData&&t.context.state===ja&&Vi.upload_timeout_ajax&&(t.contextData.brsOnly=!0,Ae.buildImmediateAction(_a,"",t.contextData,!1,{state:ja})),ro.globalAsyncStore=null,ro.globalAjaxContext=null}function_n(t,e){varn=t[ss];n&&!t[bi]&&(G(t,ss,e),t[bi]=!0);varr=t[fs];r&&!t[bi]&&(G(t,fs,e),t[bi]=!0)}functionEn(t){functione(e){returnY(functionn(){varr=n;r._&&(r._=1),Sn(t);vara;if(Tr(e)){vari=t[Kr];if(i&&4==t.readyState){varo=R();xn(i,t)}try{a=e.apply(this,arguments)}catch(s){throwi&&(i.jserror=!0),s}i&&4==t.readyState&&(i.cbTime=R()-o)}returna})}_n(t,e);try{vn(t)}catch(n){}if(!t[bi])try{Ir(t,Yr,Y(functionr(){vare=r;e._&&(e._=1),Sn(t)}))}catch(n){return}w(function(){_n(t,e)})}functionSn(t){vare=t[Kr];if(e&&(e.end=R(),e.readyState=t.readyState,4==t.readyState)){xn(e),e.status=t.status,e.text=Cn(t),e.resSize=D(e.text);varn=An(e,t),r=mo.get("event");w(function(){e.callbackEnd||(e.callbackEnd=!0,wn(e,n),r&&r.key==e.key&&(r.xhrs.push(n),0===--r.remain&&r._end()),Io.xhrs&&(Io.xhrs[e.url]=n),bn(e))})}}functionCn(t){vare="";if(""==t.responseType||"text"==t.responseType)e=t.responseText;elseif(t.response)e=t.response;elsetry{
e=t.responseText}catch(n){}returne||""}functionTn(t){returnt.data&&"event"===t.data.type?{text:t.data.text,path:t.data.path,nodeName:t.data.nodeName,items:t.items}:t.parent&&t.parent.data&&"event"===t.parent.data.type?{text:t.parent.data.text,path:t.parent.data.path,nodeName:t.parent.data.nodeName,items:t.parent.items}:t.parent&&t.parent.parent?Tn(t.parent):{text:"",path:"",nodeName:"",items:[]}}functionwn(t,e){t&&e&&t.jserror&&(e.jserror=t.jserror),t.errorCode&&!e.err&&(e.err=t.errorCode)}functionAn(e,n){if(e&&!e.composed){varr=e.status;if(Gi.isGather){vara=Tn(e.context);e.wCustom={fromJS:"agent",key:Vi.key,ajaxUrl:e.url,items:e.context.items,itemsTemp:a&&a.items,id:e.id,url:document.URL,text:a&&a.text,xpath:a&&a.path,nodeName:a&&a.nodeName,method:e.method,urlParams:ft(document.URL),ajaxUrlParams:ft(e.url),start:e.start,requestHeader:e.wReqHeaderParam,requestParams:e.requestData,responseHeader:n.getAllResponseHeaders()&&n.getAllResponseHeaders().split("\n"),responseBody:n.response,children:[]},t.top&&t.top.postMessage&&t.top.postMessage(Er(e.wCustom),"*"),deletee.wCustom,deletee.wReqHeaderParam}E(e.contextData,{end:e.end,du:r>0?e.end-e.start:0,cb:e.cbTime||0,status:r,err:e.errorCode?e.errorCode:0,rec:e.resSize,send:e.reqSize});vari=e.contextData,o={};o[ia]=e.reqHeaderParam||{};vars=Zt(e.url),u=s.bizIdParams,c=s.params,f=s.requestParams,l=s.optCustomParams,d=On(e.requestData,Wi.bizIdsRules[Zr],Wi.bizIdsRules[ea]),p=On(e.requestData,Wi.customParamsRules[Zr],Wi.customParamsRules[ea]),h=On(e.requestData,Wi.requestParamKeys[na],Wi.requestParamKeys[ra]);o[oa]=re(In(e.requestData),Wi.optCustomParamRules[oa],!0);varm=Nn(n,Wi.bizIdsRules),v=Nn(n,Wi.customParamsRules);o[sa]=Nn(n,Wi.optCustomParamRules,sa);varg={},y={},x=it(e.text);x&&(g=kn(x,Wi.bizIdsRules),y=kn(x,Wi.customParamsRules),o[ua]=re(x,Wi.optCustomParamRules[ua],!0)),i.bizId_param=E({},u,d,m,g),i.opt_param=E({},c,p,v,y),i.request_param=E({},f,h),i.opt_custom_param=ne(Rn(o,l));varb=e.xTingyunSent?it(Pn(n,ha)):null;if(b){if(i.hasServerHeader=!0,i.s_id=b.id,i.s_tname=b.tname,i.s_tid=b.tid,i.s_rid=b.rid,i.s_duration=b.duration,"user"inb){var_=b.user,S=_;if(null!=_&&0===_.indexOf(ma)){varC=_.substring(ma.length);try{S=Ko.decode(C)}catch(T){}}i.s_user=S}"bid"inb&&(i.s_bid=ee(b.bid)),"ber"inb&&(i.s_ber=b.ber),"isError"inIo&&(i.s_isError=b.isError)}elsei.hasServerHeader=!1;returne.apms&&(i.apms=e.apms),e.composed=!0,i}}functionRn(t,e){returnr(e,function(e,n){t[n]=E({},t[n]||{},e||{})}),t}functionPn(t,e){if(t&&t.getResponseHeader)try{returnt.getResponseHeader(e)}catch(n){}}functionDn(t,e){varn;returnr(e[ia],function(e){returnt===e?(n=!0,!1):void0}),n}functionNn(t,e,n){vara={};returnr(e[n||Qr],function(e){varn=Pn(t,e);null!=n&&st(a,e,n)}),a}functionkn(t,e,n){vara={};returnr(e[n||ta],function(e){varn=te(ca,e),r=n(t);null!=r&&st(a,e,r)}),a}functionOn(t,e,n){returnQt(In(t),e,n)}functionIn(t){vare=it(t);returne||(e=lt(t)),e}functionjn(){try{returnMr().replace(/-/g,"").substring(0,16)}catch(t){}}functionqn(){vare=Fi&&Fi.prototype;e?(G(e,"open",pn),G(e,"setRequestHeader",hn),G(e,"send",mn)):Fi&&(t.XMLHttpRequest=function(){vart=newFi;returnG(t,"open",pn),G(t,"setRequestHeader",hn),G(t,"send",mn),t})}functionHn(t){this.limit=t,this.reset()}functionMn(t,e,n,r,a){returnString(t)+String(e)+String(n)+String(r)+String(a)}functionLn(t,e,n,r){returnString(t)+String(e)+String(n)+String(r)}functionzn(t,e,n,r,a,i,o){vars=this;s.id=t,s.time=R(),s.msg=e,s.lineno=r,s.colno=a,s.filename=n,s.count=1,s.stack=i&&i.stack||"",s.module=o,s.fix();varu=Ln(e,r,a,o),c=hs[u];s.ep=c?0:1,hs[u]=!0,s.fep=0,this.recordFileName()}functionFn(t){varn=function(t){vare=[];returnr(t,function(t){e.push(t.toObject())}),e}(ps.c);if(!n||!n.length)returnnull;vara={fu:ds?ds:ds++,os:parseInt((R()-(eo.pfStart||e))/1e3)};to.ulabel&&(a.ulabel=to.ulabel),Io.emit("send","/err1",a,{datas:n}),ps.reset()}functionBn(t,e,n,a,i){if(e||!Wi.ignoreNoFilePropError){varo=!1;if(r(Wi.domains,function(t){returno=t.test(e),o?!1:void0}),!o){vars=i&&i.moduleId,u=Mn(e,t,n,a,s),c=ps.get(u);c?c.increase():(c=newzn(u,t,e,n,a,i,s),ps.add(u,c),Io.errs&&Io.errs.push(c))}}}functionUn(){vare=t.onerror;t.onerror=function(t,n,r,a,i){returnBn(t,n,r,a,i),Tr(e)?e.apply(this,arguments):void0},t.onerror._ty=!0}functionYn(){vare=t.onerror;e&&e._ty||Un()}functionGn(){vare=Hr();returne?Un():Ir(t,Lr,function(e){varn,r,a,i,o;(einstanceoft.Event||t.ErrorEvent&&einstanceoft.ErrorEvent)&&(n=e.message||e.error&&(e.error.message||e.error.constructor.name)||"",r=e.lineno||0,a=e.colno||0,i=e.filename||e.error&&e.error.filename||e.target&&e.target.baseURI||"",i==zi.URL&&(i="#"),o=e.error),Bn(n,i,r,a,o)}),Yo.on([zr,Fr,Br,Ur],function(t){Fn()}).on(zr,function(){e&&w(Yn)}),setInterval(Fn,ls,!0)}functionJn(t){t&&!t.composed&&(E(t.contextData,{end:t.end||R()}),t.composed=!0)}functionKn(){Vi.setTimeoutMaxDepth&&Vi.setTimeoutMaxDepth>0&&(gs=Vi.setTimeoutMaxDepth),G(window,"setTimeout",tr),G(window,"clearTimeout",er)}functionWn(t){t.context||(t.context=Ae.createEvent(ro.context,"".concat(t.name,"-").concat(t.id),Ea,t.name))}functionVn(t){ro.context=t.context,ro.globalAsyncStore=t}functionXn(t){vare=t.context&&t.context.canEnd();e&&t.context.end(),ro.globalAsyncStore=null}function$n(t){for(vare=0;null!=t&&5>e;)e+=t.type===Ea?1:0,t=t.parent;return5>e}functionZn(t){returnfunction(){returnU(t).apply(this,arguments)}}functionQn(t,e,n,r){vara=null,i=null;returnwr(r)&&r[xi]||null==ro.context?i=Zn(t):$n(ro.context)?(a={id:vs++,name:e,start:R(),delay:n,parentContext:ro.context},Wn(a),a.contextData={type:Ea,id:a.id,cid:a.context.id,name:a.name,start:a.start,delay:a.delay},a.context&&a.context.setData(a.contextData),a.parentContext&&(a.pcid=a.parentContext.id,a.parentContext.updateRemain(1,Ea),a.parentContext.items.push(a.contextData)),i=Y(function(){vare;try{Vn(a)}catch(n){}try{t&&(e=t.apply(this,arguments))}finally{try{a.end=R(),Jn(a),Xn(a)}catch(n){}}returne})):i=Zn(t),{store:a,cb:i}}functiontr(t,e){returnfunction(n){varr=Pr.call(arguments,0),a=null;if(!arguments[2]&&Tr(n)){vari=Qn(n,e,r[1],r[2]);i.cb&&(r[0]=i.cb),a=i.store}varo=t.apply(this,r);returna&&(ys[o]=a),o}}functioner(t){returnfunction(e){try{varn=ys[e];n&&n.context&&(n.context.removeFromParent(),ys[e]=null)}catch(r){}returnt.apply(this,arguments)}}functionnr(t){E(t.contextData,{pvid:t.pvid,end:t.end,url:t.url},t.serverData||{},t.pfData||{})}functionrr(t){t.context||(t.context=Ae.createEvent(t.parentContext,"".concat(t.src,"-").concat(t.id),Sa))}functionar(t,e,n){functionr(){if(a.end=R(),a.sameOrigin){a.sameOrigin=!0,a.url=this.contentDocument.URL;vare=Vt(da,la,this.contentWindow[la]||this.contentDocument.cookie||"");if(e){varn=ae(e);Xt(da,"",-1e3,"/",this.contentDocument),a.serverData=ie(n)}vari=this.contentWindow[Wr],o=this.contentWindow.performance&&this.contentWindow.performance.timing,s={window:this.contentWindow,globalStart:i?i.globalStart:o.navigationStart,agent:E({},i&&i.currentAgent?i.currentAgent:{})};i&&(a.pvid=i.pvid||"");varu;try{u=ge(o,s)}catch(c){u={}}a.pfData=u,a.pfData.le&&(a.end=o.navigationStart+a.pfData.le)}elsea.sameOrigin=!1;nr(a),ir(a),t.removeEventListener("load",r)}if(t){n||(n=t.src?_s:bs);vara={id:xs++,src:e,loadType:n,start:R(),parentContext:ro.context};a.sameOrigin=Fe(a.src),rr(a),a.contextData={type:Sa,loadType:a.loadType,id:a.id,cid:a.context.id,src:a.src,start:a.start,sameOrigin:a.sameOrigin},a.context&&a.context.setData(a.contextData),a.parentContext&&(a.pcid=a.parentContext.id,a.parentContext.updateRemain(1,Sa),a.parentContext.items.push(a.contextData)),!a.parentContext&&ro.recordingCpActions&&(a.context.crossPage=!0,ro.cpRemain.iframe++,ro.cpActions.push(a.context)),t.addEventListener("load",r)}}functionir(t){vare=t.context&&t.context.canEnd();e&&t.context.end(),ro.context=null}functionor(){functiont(t){returnfunction(e){return"IFRAME"===e.nodeName&&e.src&&ar(e,e.src,bs),t.apply(this,arguments)}}G(Node.prototype,"appendChild",t),G(Node.prototype,"insertBefore",t)}functionsr(){functiont(){vart=arguments[0],e=this;returnar(e,t),r.apply(this,arguments)}if(Object.getOwnPropertyDescriptor&&Object.defineProperty){vare=Object.getOwnPropertyDescriptor(HTMLIFrameElement.prototype,"src"),n=e.get,r=e.set;Object.defineProperty(HTMLIFrameElement.prototype,"src",{get:function(){returnn.apply(this,arguments)},set:t,enumerable:!0,configurable:!0})}}functionur(){or(),sr()}functioncr(t){To(ri,Er(t))}functionfr(){wo(ri)}functionlr(t){vare=Es++,n=t.url||"",r=R(),a=Ae.createEvent(ro.context,"".concat(n,"-").concat(e),Ta,t.subType||ai),i={type:Ta,subType:a.subType,id:e,cid:a.id,url:n,start:r};a&&a.setData(i);varo;returna.parent&&(a.parent.type===_a?An(ro.globalAsyncStore,ro.globalAjaxContext):a.parent.type===Ea&&Jn(ro.globalAsyncStore),o=a.collectCrossPageData(),t.delayStorage||cr(o),a.clear(),a=null),{storageData:o,context:a}}functiondr(t){returnfunction(){vare=arguments[0],n=lr({url:e,delayStorage:!0}),r=n.storageData,a=n.context;try{vari=t.apply(this,arguments);if(i){if(!r&&a){varo=un(a.data.start);o&&(a.parent=o,r=a.collectCrossPageData(),a.clear(),a=null)}cr(r)}returni}catch(s){}returnx(t,[this,arguments])}}functionpr(){G(t,"open",dr)}functionhr(){functiont(t){return{valid:vi===t.target.nodeName&&!t.defaultPrevented&&t.target.href,url:t.target.href,subType:ii}}functione(t){return{valid:gi===t.target.nodeName&&!t.defaultPrevented&&t.target.action,url:t.target.action,subType:oi}}r([fi,li],function(n){document.addEventListener(n,function(r){if(r){vara=n===fi?t(r):e(r);if(a.valid){vari=r.timeStamp?cn(r):un(sn(r));i&&(ro.context=i,lr({subType:a.subType,url:a.url}),ro.context=null)}}},_defineProperty({},ci,!0))})}functionmr(){Ir(t,Br,function(t){fr()})}functionvr(){pr(),hr(),mr()}functiongr(){Vi.disableHookEvent||fn(),Vi.disableHookTimer||Kn(),Vi.disableHookIframe||ur(),Vi.disableHookCrossPage||vr()}functionyr(){try{Ir(t,"message",kt)}catch(e){}Wt(Io),gr(),Me(),qn(),Gn(),Io._end=R(),Yt(function(){Bo._end=Io._end}),Kt();varn=Co(ri);n&&(ro.recordingCpActions=!0,ro.cpParent=it(n),wo(ri))}functionxr(e){t[Wr]&&t[Wr].inited||e&&(Tr(e)||wr(e))&&(Nt(e),(Vi.key||Vi.appKey)&&(yr(),t[Wr].inited=!0))}functionbr(){returnHr()?void0:window[Wr]&&3===window[Wr].mainVersion?window[Wr]:(zo.init=xr,zo)}var_r,Er,Sr=s("String"),Cr=s("Array"),Tr=s("Function"),wr=s("Object"),Ar=s("Number"),Rr=s("Undefined"),Pr=[].slice,Dr='"',Nr=/([\"\\])/g,kr=/\n/g,Or=t.JSON;d();varIr,jr;t.addEventListener?(Ir=h,jr=m):(Ir=v,jr=g);varqr=t.encodeURIComponent,Hr=function(){return!document.addEventListener},Mr=(t.location.protocol,function(){functiont(t){return0>t?NaN:30>=t?0|Math.random()*(1<<t):53>=t?(0|Math.random()*(1<<30))+(0|Math.random()*(1<<t-30))*(1<<30):NaN}functione(t,e){for(varn=t.toString(16),r=e-n.length,a="0";r>0;r>>>=1,a+=a)1&r&&(n=a+n);returnn}returnfunction(n){returnn||(n=""),e(t(32),8)+n+e(t(16),4)+n+e(16384|t(12),4)+n+e(32768|t(14),4)+n+e(t(48),12)}}());N.prototype={on:function(t,e){varn=this;returnSr(t)?(n.events[t]||(n.events[t]=[])).push(e):Cr(t)&&r(t,function(t){n.on(t,e)}),n},off:function(t,e){varn=arguments.length,r=this;if(0===n)returnr.events={},r;vara=r.events[t];if(!a)returnr;if(1===n)returnr.events[t]=null,r;for(vari,o=a.length;o--;)if(i=a[o],i===e){a.splice(o,1);break}returnr},emit:function(t){vare=[].slice.call(arguments,1),n=this.events[t];returnn&&r(n,function(t){returnt.apply(this,e)}),this},unshift:function(t,e){varn=this;return(n.events[t]||(n.events[t]=[])).unshift(e),n}};varLr="error",zr="load",Fr="unload",Br="beforeunload",Ur="pagehide",Yr="readystatechange",Gr="complete",Jr="on",Kr="_ty_rum",Wr="TINGYUN",Vr=2,Xr="__ign",$r="__ty_asyncWrap__",Zr="2",Qr="3",ta="4",ea="5",na="1",ra="2",aa="1",ia="2",oa="3",sa="4",ua="5",ca="body",fa="reqBody",la="TINGYUN_COOKIE_VALUE",da="TINGYUN_DATA",pa="X-Tingyun",ha="X-Tingyun-Data",ma="TY_BASE64",va="__TINGYUN",ga="ty_",ya=64512,xa=6e4,ba="event",_a="ajax",Ea="timer",Sa="iframe",Ca="pf",Ta="crossPage",wa="e",Aa="a",Ra="t",Pa="i",Da="p",Na="c",ka="finish",Oa="pending",Ia="finish",ja="timeout",qa="fetchStart",Ha="requestStart",Ma="responseStart",La="responseEnd",za="domContentLoadedEventStart",Fa="domContentLoadedEventEnd",Ba="domInteractive",Ua="domComplete",Ya="loadEventStart",Ga="loadEventEnd",Ja="unloadEventStart",Ka="unloadEventEnd",Wa="domainLookupStart",Va="domainLookupEnd",Xa="redirectStart",$a="redirectEnd",Za="connectStart",Qa="connectEnd",ti="secureConnectionStart",ei=5,ni=5,ri="__ty_crs_page_events",ai="window_open",ii="a_link",oi="form_submit",si=3e3,ui="__ty_event_patch_tag",ci="__ty_event_patch_disable",fi="click",li="submit",di="addEventListener",pi="onProperty",hi="inline",mi="IMG",vi="A",gi="FORM",yi=3,xi="__ty_ignore",bi="__ty_xhr_hooked",_i=200,Ei="TY_USER_ID",Si="TY_SESSION_N_ID",Ci="TY_DEVICE_N_ID",Ti=18e5,wi="|",Ai="__TY_SPE_STORE",Ri=6e4,Pi=6e5,Di="auto",Ni="defined",ki=200,Oi="success",Ii="fail",ji="TY_path_gather",qi="EagleEye-TraceID",Hi="__TY_ELEMENT_CB",Mi="__TY_CB_COUNTER",Li=t.Error,zi=t.document,Fi=t.XMLHttpRequest,Bi=t.location,Ui=t.navigator,Yi=t.HTMLElement,Gi={isGather:!1},Ji={fp_threshold:2e3,fs_threshold:4e3,dr_threshold:4e3},Ki={server:{},appConf:{pvid:Mr(),baseInfo:{}}},Wi=Ki.appConf,Vi=Ki.server,Xi={pvid:Wi.pvid,ref:zi.URL,referrer:zi.referrer,v:"3.1.11-jinmao.2",av:"3.1.11-jinmao.2"},$i=Yi?function(t){returntinstanceofYi}:function(t){t&&"object"===_typeof(t)&&1===t.nodeType&&Sr(t.nodeName)},Zi="{0} not support",Qi="illegal argument",to={},eo={},no={},ro={context:null,uniqueId:0,actions:[],opt_custom_param:{},unAssignedEvents:[],cpActions:[],recordingCpActions:!1,cpParent:null,cpRemain:{ajax:0,iframe:0},tryEndCpActionsFailed:!1,globalAsyncStore:null,globalAjaxContext:null,pfSent:!1},ao=[],io=[],oo={},so="undefined"!=typeoft.console,uo=1,co=2,fo=4,lo=8,po=L.prototype;po.create=po.before=po.after=po.error=null;varho;K.prototype={createContext:function(){returnObject.create?Object.create(this.active):J(this.active)},get:function(t){returnthis.active?this.active[t]:void0},set:function(t,e){returnthis.active?this.active[t]=e:void0},enter:function(t){if(!t)thrownewLi("context required!");this._set.push(this.active),this.active=t},exit:function(t){if(!t)thrownewLi("context required!");if(t===this.active)returnvoid(this.active=this._set.pop());vare=this._set.lastIndexOf?this._set.lastIndexOf(t):T(this._set,t);if(0>e)thrownewLi("context not currently entered!");this._set.splice(e,1)},bind:function(t,e){e||(e=this.active?this.active:this.createContext());varn=this;returnfunction(){n.enter(e);try{returnt.apply(this,arguments)}catch(r){try{vara="moduleId";r[a]=e[a]}catch(i){}throwr}finally{n.exit(e)}}}};varmo,vo,go,yo=!1,mo=V(),xo=function(){vare=t.navigator.standalone,n=t.navigator.userAgent.toLowerCase(),r=/safari/.test(n),a=/iphone|ipod|ipad/.test(n);returna&&!e&&!r},bo="POST",_o=$,Eo=!1;et.prototype.add=function(t){this.queue.length>=this.size||(this.queue.push(t),this.running||(this.running=!0,this.run()))},et.prototype.run=function(){vart=this,e=function(){t.queue.length>0?t.run():t.running=!1};this.handler(this.queue.shift(),e)},et.prototype.handler=function(t,e){vo(t,P(function(){e()}))},vo=t.XDomainRequest?Z:Q,Ui.sendBeacon&&(Eo=!0);varSo=xo();So&&(_o=vo=Q,Eo=!1),vo||(vo=function(t,e){e()},Eo=!1),Ir(t,Br,function(t){Eo&&(vo=tt)});varCo,To,wo;Co=function(e){try{returnt.localStorage.getItem(e)}catch(n){}},To=function(e,n){try{t.localStorage.setItem(e,n)}catch(r){}returnn},wo=function(e){try{t.localStorage.removeItem(e)}catch(n){}};varAo={},Ro=t.screen;Ro&&(Ao.sh=Ro.height,Ao.sw=Ro.width);varPo,Do=t.location.protocol,No="http:",ko=["id","key","appKey","token"],Oo=Ot.prototype;Oo.start=function(){if(!Vi.key)returnj("missing config, agent disabled!"),!1;vare=t[Wr];returne?(j("already loaded!"),!1):this},E(Oo,N.prototype);varIo=newOt;Io.on("send",function(t,e,n,r,a){St(),a||(a=Tt(t,e)),a+="__r="+R(),r=r||A,at({url:a,data:n,callback:r})});varjo=It.prototype;jo.fail=jo.end=jo.store=A;varqo=jt.prototype;qo.end=qo.finish=qo.fail=null,qo.send=function(t){this.sent=!0;vare=this.getEventData(t),n=this.timeout||Pi;e.duration<n&&Io.emit("send","/spe",null,e,A)},qo.getEventData=function(t){vare=this,n=t.event&&t.event.xhrs||[];returnr(n,function(t){t.startSpeOffset=t.start-e.s}),{key:e.key,start:e.s,duration:e.e-e.s,status:e.status,type:e.type,xhrs:n}},qo.refreshEventAndStore=function(t){this.finish();vare=this.getEventData(t);To(Ai,Er(e))};varHo={},Mo={},Lo={host:"cshst",url:"csurl"},zo={mainVersion:yi,version:"3.1.11-jinmao.2",key:Vi.key,pvid:Wi.pvid,config:zt,DIAGNOSE_HREF:Vr,diagnose:M,createEvent:Mt,logFirstScreen:Ft,addExcludedDomain:Bt,globalStart:e,currentAgent:Io,mark:Ut,wrapVueRouter:Lt,endSession:_t,setUid:yt,createAutoEvent:Mt,endStoreEvent:Ht},Fo=Wi.debuggable,Bo={start:e,e:{},an:{count:0},visible:[]},Uo=0;!function(){if(Wi.debuggable){vart,e,n="visibilitychange";Rr(zi.hidden)?Rr(zi.msHidden)?Rr(zi.webkitHidden)||(t="webkitHidden",e="webkit"+n):(t="msHidden",e="ms"+n):(t="hidden",e=n),Rr(zi.addEventListener)||Rr(zi[t])||Ir(zi,e,Gt(function(){Bo.visible.push([zi[t],R()])}))}}();varYo=newN,Go={},Jo=t,Ko=function(){vart="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=function(t){for(vare={},n=0,r=t.length;r>n;n++)e[t.charAt(n)]=n;returne}(t),n=String.fromCharCode,r=function(t){if(t.length<2){vare=t.charCodeAt(0);return128>e?t:2048>e?n(192|e>>>6)+n(128|63&e):n(224|e>>>12&15)+n(128|e>>>6&63)+n(128|63&e)}vare=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320);returnn(240|e>>>18&7)+n(128|e>>>12&63)+n(128|e>>>6&63)+n(128|63&e)},a=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,i=function(t){returnt.replace(a,r)},o=function(e){varn=[0,2,1][e.length%3],r=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0),a=[t.charAt(r>>>18),t.charAt(r>>>12&63),n>=2?"=":t.charAt(r>>>6&63),n>=1?"=":t.charAt(63&r)];returna.join("")},s=Jo.btoa?function(t){returnJo.btoa(t)}:function(t){returnt.replace(/[\s\S]{1,3}/g,o)},u=function(t){vare="[object Uint8Array]"===Object.prototype.toString.call(t);returne?t.toString("base64"):s(i(String(t)))},c=function(t,e){returne?u(String(t)).replace(/[+\/]/g,function(t){return"+"==t?"-":"_"}).replace(/=/g,""):u(t)},f=function(t){returnc(t,!0)},l=newRegExp(["[\xc0-\xdf][\x80-\xbf]","[\xe0-\xef][\x80-\xbf]{2}","[\xf0-\xf7][\x80-\xbf]{3}"].join("|"),"g"),d=function(t){switch(t.length){case4:vare=(7&t.charCodeAt(0))<<18|(63&t.charCodeAt(1))<<12|(63&t.charCodeAt(2))<<6|63&t.charCodeAt(3),r=e-65536;returnn((r>>>10)+55296)+n((1023&r)+56320);case3:returnn((15&t.charCodeAt(0))<<12|(63&t.charCodeAt(1))<<6|63&t.charCodeAt(2));default:returnn((31&t.charCodeAt(0))<<6|63&t.charCodeAt(1))}},p=function(t){returnt.replace(l,d)},h=function(t){varr=t.length,a=r%4,i=(r>0?e[t.charAt(0)]<<18:0)|(r>1?e[t.charAt(1)]<<12:0)|(r>2?e[t.charAt(2)]<<6:0)|(r>3?e[t.charAt(3)]:0),o=[n(i>>>16),n(i>>>8&255),n(255&i)];returno.length-=[0,0,2,1][a],o.join("")},m=Jo.atob?function(t){returnJo.atob(t)}:function(t){returnt.replace(/\S{1,4}/g,h)},v=function(t){returnm(String(t).replace(/[^A-Za-z0-9\+\/]/g,""))},g=function(t){returnp(m(t))},y=function(t){returng(String(t).replace(/[-_]/g,function(t){return"-"==t?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))};return{atob:v,btoa:s,utob:i,encode:c,encodeURI:f,btou:p,decode:y}}(),Wo=function(){try{vare=Mr();returnt.localStorage.setItem(e,e),t.localStorage.removeItem(e),!0}catch(n){return!1}}(),Vo={};Vo.localStorage=Wo,function(){functione(){vare,f,l=zi.documentElement;l.appendChild(u),c.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",n=a=s=!1,r=o=!0,t.getComputedStyle&&(f=t.getComputedStyle(c),n="1%"!==(f||{}).top,s="2px"===(f||{}).marginLeft,a="4px"===(f||{width:"4px"}).width,c.style.marginRight="50%",r="4px"===(f||{marginRight:"4px"}).marginRight,e=c.appendChild(zi.createElement("div")),e.style.cssText=c.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",e.style.marginRight=e.style.width="0",c.style.width="1px",o=!parseFloat((t.getComputedStyle(e)||{}).marginRight),c.removeChild(e)),c.style.display="none",i=0===c.getClientRects().length,i&&(c.style.display="",c.innerHTML="<table><tr><td></td><td>t</td></tr></table>",e=c.getElementsByTagName("td"),e[0].style.cssText="margin:0;border:0;padding:0;display:none",i=0===e[0].offsetHeight,i&&(e[0].style.display="",e[1].style.display="none",i=0===e[0].offsetHeight)),l.removeChild(u)}varn,r,a,i,o,s,u=(zi.documentElement,zi.createElement("div")),c=zi.createElement("div");c.style&&(c.style.cssText="float:left;opacity:.5",Vo.opacity="0.5"===c.style.opacity,Vo.cssFloat=!!c.style.cssFloat,c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",Vo.clearCloneStyle="content-box"===c.style.backgroundClip,u=zi.createElement("div"),u.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",c.innerHTML="",u.appendChild(c),Vo.boxSizing=""===c.style.boxSizing||""===c.style.MozBoxSizing||""===c.style.WebkitBoxSizing,Vo.reliableHiddenOffsets=function(){returnnull==n&&e(),i})}();varXo=[_a,Ea,Sa];Ae.prototype.end=function(t){if(this.closed)returnvoid(this.cleared||console.warn("Current context is already closed"));if(t&&(this.actionCount.ajax+=t.actionCount.ajax,this.actionCount.iframe+=t.actionCount.iframe,Te(this.items,t),this.updateRemain(-1,t.type)),this.isNoRemain()||this.isTimeout)if(this.e=R(),this.closed=!0,this.i&&clearTimeout(this.i),this.e-this.s>Vi.event_timeout&&(this.isTimeout=!0),this.setState(this.isTimeout?ja:Ia),this.data&&(this.data.state=this.state),this.parent)this.parent.end(this);else{vare;this.isTimeout&&(this.isRemainMeaningfulAction()||this.isMeaningfulAction())?e=this.composeTimeoutActionData():this.isMeaningfulAction()&&(e=this.composeActionData()),e&&(!this.crossPage||e.type!==_a&&e.type!==Sa?Ee(e):(ro.cpRemain[e.type]--,I()&&ro.tryEndCpActionsFailed&&Se())),ro.context=null}},Ae.prototype.isNoRemain=function(t){vare=!0;returnr(this.remain,function(n){varr=n.current<=0&&(t?!0:n.children<=0);returnr?void0:(e=!1,!1)}),e},Ae.prototype.clear=function(){this.closed=!0,this.cleared=!0,this.i&&clearTimeout(this.i)},Ae.prototype.isMeaningfulAction=function(){returnthis.actionCount.ajax>0||this.actionCount.iframe>0},Ae.prototype.isRemainMeaningfulAction=function(){returnthis.remain.ajax.current>0||this.remain.ajax.children>0||this.remain.iframe.current>0||this.remain.iframe.children>0},Ae.prototype.timeout=function(){this.isTimeout=!0,this.setState(ja),this.end(null,!0)},Ae.prototype.setData=function(t){this.data=t},Ae.prototype.composeActionData=function(){return{type:this.type,subType:this.subType,start:this.s,end:this.e,duration:this.e-this.s>0?this.e-this.s:0,data:E({},this.data||{},{items:(this.items||[]).slice()})}},Ae.prototype.composeTimeoutActionData=function(){returnthis.collectActionDataFromTop(),this.composeActionData()},Ae.prototype.collectActionDataFromTop=function(t){null==t&&(t=this),we(t.items,t.children)},Ae.prototype.collectCrossPageData=function(t){if(t||(t=[]),this.crossPage=!0,this.data&&(this.data.crossPage=!0),t.unshift(this.data),this.parent)returnthis.parent.collectCrossPageData(t);vare={type:this.type,subType:this.subType,start:this.s};return(this.isNoRemain()||1===this.children.length)&&this.clear(),{action:e,data:t,url:Tt("/action"),commonActionInfo:ye()}},Ae.prototype.canEnd=function(){return!this.closed&&this.isNoRemain(!0)},Ae.prototype.updateRemain=function(t,e){if(this.remain[e]){e||(e=_a);varn=t||0;this.remain[e].current=this.remain[e].current+n;for(varr=this.parent;r;)r.remain[e].children=r.remain[e].children+n,r=r.parent}},Ae.prototype.setState=function(t){returnthis.stateChanged?!1:(this.state=t,this.stateChanged=!0,!0)},Ae.prototype.current=function(){returnro.context},Ae.prototype.removeFromParent=function(){if(this.parent){vart=this.parent.children.indexOf(this);t>-1&&this.parent.children.splice(t,1);vare=this.parent.items.indexOf(this.data);e>-1&&this.parent.items.splice(e,1),this.parent.updateRemain(-1,this.type),this.parent.end()}},Ae.createEvent=function(t,e,n,r,a,i){returnnewAe(t,e,n||"event",r||null,a,i)},Ae.buildImmediateAction=function(t,e,n,r,a){vari=E({type:t,subType:e,state:ka,data:n},a||{});returni.data&&(i.data.state=i.state),r||Ee(i),i};var$o=0,Zo=/(msie|trident)/i.test(Ui.userAgent),Qo=zi.createElement("a"),ts=Le(Bi.href),es=[fi,li],ns=1,rs=2,as=[fi,li],is=_i,os=[];Ze.regex=/^\s*data:([a-z]+\/[a-z0-9-+.]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,([a-z0-9!$&',()*+;=\-._~:@\/?%\s]*)\s*$/i;varss="onload",us=0,cs={error:990,abort:905,timeout:903},fs=Jr+Yr,ls=1e4,ds=0;Hn.prototype={add:function(t,e){this.len>this.limit||this.get(t)||(this.c[t]=e,this.len++)},get:function(t){returnthis.c[t]},reset:function(){this.c={},this.len=0}};varps=newHn(100),hs={},ms={};zn.prototype={increase:function(){this.recordFileName(),this.count++},recordFileName:function(){vart=this.filename||"_";this.fep+=ms[t]?0:1,ms[t]=!0},fix:function(){vart=this,e=t.stack;if(e&&Sr(e)){e=e.split(/\n/);varn=[];r(e,function(t,e){-1==t.indexOf($r)&&n.push(t)}),t.stack=n.join("\n")}},toObject:function(){vart=this;return{o:t.time,e:t.msg,l:t.lineno,c:t.colno,r:t.filename,ec:t.count,s:t.stack,m:t.module,ep:t.ep,fep:t.fep}}};varvs=0,gs=ei,ys={},xs=0,bs="load",_s="reload",Es=0,Ss=br();returnSs}(window,+newDate);window.TINGYUN&&window.TINGYUN.init&&window.TINGYUN.init(function(ty_rum){ty_rum.server={id:'4gA5HRiCw8g',bizId_rule:[],opt_param_rule:[],x_server_switch:true,request_param_keys:[],ignore_err:false,filter_robot:true,beacon:'apm.chinajinmao.cn:8589',beacon_err:'apm.chinajinmao.cn:8589',key:'Ojgg79j_w6Y',token:'5768e5a6b11a42118905ad892a3ecc79',trace_threshold:7000,fp_threshold:2000,fs_threshold:4000,dr_threshold:4000};});/*TY_AGENT_END*/
/*AGENT_VERSION=3.1.11-jinmao.1*/"use strict";function_defineProperty(t,e,n){returneint?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function_typeof(t){return(_typeof="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(t){returntypeoft}:function(t){returnt&&"function"==typeofSymbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeoft})(t)}window.TINGYUN=function(t,e){if(/(MSIE [0-8].\d+)/.test(navigator.userAgent)){return;}functionn(t){returnJSON.parse(t)}functionr(t){returnJSON.stringify(t)}functiona(t){vare=!!t&&"length"int&&t.length,n=_typeof(t);return"function"===n?!1:"array"===n||0===e||"number"==typeofe&&e>0&&e-1int}functioni(t,e,n){varr,i=0;if(t)if(a(t))for(r=t.length;r>i&&e.call(t[i],t[i],i)!==!1;i++);elsefor(iint)if((n||Object.prototype.hasOwnProperty.call(t,i))&&e.call(t[i],t[i],i)===!1)break;returnt}functiono(t){returnfunction(e){return"Array"===t&&Array.isArray?Array.isArray(e):Object.prototype.toString.call(e)==="[object "+t+"]"}}functions(t){returnnewFunction("return "+t)()}functionu(t){switch(_typeof(t)){case"object":if(!t)returnnull;if(tinstanceofArray){vare=Tr.call(t);returni(e,function(t,n){e[n]=u(t)}),"["+e.join(",")+"]"}if(tinstanceofDate)returnt.getTime().toString();varn="";returni(t,function(t,e){_r(t)||(n+=u(e)+":"+u(t)+",")}),n&&(n=n.substr(0,n.length-1)),"{"+n+"}";case"string":returnwr+t.replace(Ar,"\\$1").replace(Rr,"\\n")+wr;case"number":returnisNaN(t)?null:t;case"boolean":returnt;case"function":returnu(t.toString());case"undefined":default:return'"undefined"'}}functionc(t){returnt&&xr(t)?gr(t):t}functionf(t,e,n,r){returnt.addEventListener(e,n,r)}functionl(t,e,n){returnt.removeEventListener(e,n)}functiond(t,e,n){returnt.attachEvent("on"+e,n)}functionp(t,e,n){returnt.detachEvent("on"+e,n)}functionh(t,e,n,r){vara=functioni(){returnNr(t,e,i),n.apply(this,arguments)};returnDr(t,e,a,r)}functionm(t,e){returnFunction.prototype.apply.apply(t,e)}functionv(t,e){returnfunction(){t.apply(e,arguments)}}functiong(t){returnkr?kr(t):t}functiony(t){vare=arguments.length;if(2>e||!t)returnt;varn=Tr.call(arguments,1);returni(n,function(e){i(e,function(e,n){t[n]=e})}),t}functionx(t,e){returnt?e?t.replace(/\{(\w+.?\w+)\}/g,function(t,n){returne[n]||""}).replace(/\{(\d+)\}/g,function(t,n){returne[n]||""}):t:""}functionb(t,e,n){varr;if(null==t)return-1;vara=Object(t),i=a.length>>>0;if(0===i)return-1;varo=+n||0;if(Math.abs(o)===1/0&&(o=0),o>=i)return-1;for(r=Math.max(o>=0?o:i-Math.abs(o),0);i>r;){if(rina&&a[r]===e)returnr;r++}return-1}function_(t,e){varn=null==t?0:t.length;if(!n)return-1;for(varr=n;r--;)if(t[r]===e)returnr;returnr}functionE(t){returnsetTimeout(t,0,{__ty_ignore:!0})}functionS(){}functionC(){vart=window&&window.performance;returnt&&t.timing&&t.timing.navigationStart&&t.now?Math.round(t.timing.navigationStart+t.now()):+newDate}functionT(t){returnfunction(){if(null!==t){vare=t;t=null,e.apply(this,arguments)}}}functionw(e){returne?xr(e)?e.length:t.ArrayBuffer&&einstanceofArrayBuffer?e.byteLength:t.Blob&&einstanceofBlob?e.size:e.length?e.length:0:0}functionA(){this.events={}}functionR(t,e){returnsetTimeout(t,e||0,{__ty_ignore:!0})}functionP(t,e){Zi[t]=e}functionD(){return0===Qi.cpRemain.ajax&&0===Qi.cpRemain.iframe}functionN(t){O(t,to)}functionk(t){O(t,eo)}functionO(t,e){varn="ok";returnt?voide.push(t):n=e.length?e.join("\n"):n}functionI(t){functione(t,e,r){vara=r||"log",i=n[t]||(n[t]={});i[a]=i[a]||"",i[a]+=e}varn={},r=N();if(e("Status",r,"ok"!==r),e("Debug",k()),i(no,function(t,n){e("Timeline",n+": "+t.toString())}),!t&&ro)console.log("[TingYun Agent Diagnosis]\n"),i(n,function(t,e){varn=console[e];i(n,function(t,e){console[e](t)})});else{if(t!==Gr)returnyr(n);Mi.href=Mi.href+"#"+yr(n)}}functionj(t,e){this.flags=0,_r(t.create)&&(this.create=t.create,this.flags|=ao),_r(t.before)&&(this.before=t.before,this.flags|=io),_r(t.after)&&(this.after=t.after,this.flags|=oo),_r(t.error)&&(this.error=t.error,this.flags|=so),this.data=e}functionq(t,e){if(!co){if(!Er(t)||!t)thrownewTypeError("callbacks arguments must be an object");returnco=newj(t,e)}}functionH(t){vare=co.data;if(0!==(co.flags&ao)){varn=co.create(co.data);void0!==n&&(e=n)}returnfunctionr(){0!==(co.flags&io)&&co.before(this,e);varn=r;n._&&(n._=1);try{vara=t.apply(this,arguments)}catch(i){throw0!==(co.flags&so)&&co.error(e,i),i}return0!==(co.flags&oo)&&co.after(this,e),a}}functionM(t){returnfunction(){vare;try{e=t.apply(this,arguments)}finally{Qi.context=null}returne}}functionL(t){return!co||co.flags<=0?t:H(t)}functionz(t){returnM(L(t))}functionF(t,e,n){if(t&&n&&_r(n)){varr=t[e];if(!r||!r._wrapped){vara=n(r,e);returna&&(a._wrapped=!0),t[e]=a,a}}}functionU(t){functione(){}returne.prototype=t,newe}functionB(){this.id=null,this.active=null,this._set=[]}functionY(){vart=newB;returnt.id=q({create:function(){returnt.active},before:function(e,n){n&&t.enter(n)},after:function(e,n){n&&t.exit(n)},error:function(e,n){if(e){try{varr="moduleId";n[r]=e[r]}catch(a){}t.exit(e)}}}),t}functionG(){returnho||(fo=Y(),ho=!0),fo}functionJ(t){returnxr(t)||(t=yr(t)),t}functionK(t,e){e=e||S;varn=newImage;Dr(n,zr,function(){("loaded"==n.readyState||4==n.readyState)&&e(null)},!1),Dr(n,qr,function(){e(null)},!1),Dr(n,jr,function(){e(jr)},!1),n.src=t}functionW(t,e){varn=t.url,r=t.data,a=(t.header,t.callback),i=newXDomainRequest;i.open(vo,n),i.onload=function(){a(null,i.responseText),e()},i.onerror=function(t){a(t),e()},i.send(J(r))}functionV(t,e){varn=t.url,r=t.data,a=t.header,i=t.callback,o=T(i),s=newHi;s[Jr]=!0,s.overrideMimeType&&s.overrideMimeType("text/html"),s.onreadystatechange=function(){4==s.readyState&&200==s.status&&(o(null,s.responseText),e())},s.onerror=function(){o(),e()};try{s.open(vo,n,!0);for(varuina)s.setRequestHeader(u,a[u]);s.send(J(r))}catch(c){e()}}functionX(t,e){varn=t.url,r=t.data,a=(t.header,t.callback),i=Li.sendBeacon(n,J(r));i&&(a&&a(),e())}function$(t){this.size=t||100,this.queue=[],this.running=!1}functionZ(){go=lo=V,yo=!1}functionQ(t){po=new$(t)}functiontt(t){po.add(t)}functionet(t){try{returnc(t)}catch(e){N(e&&e.message)}returnnull}functionnt(t){vare=t||newDate,n=e.getFullYear()+"-",r=(e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1)+"-",a=e.getDate()+" ";returnn+r+a}functionrt(t,e,n){if(null==t[e]||br(t[e]))br(t[e])?t[e].push(n):t[e]=n;else{varr=t[e];t[e]=[r],t[e].push(n)}}functionat(t){returnt.send_protocol?t.send_protocol:wo!==Ao&&/^https/i.test(t&&t.protocol||wo)?"https:":Ao}functionit(t){vare={};if(t=t||Mi.href,!xr(t))returne;varn=t.indexOf("?");returnn>=0&&(t=t.substring(n+1)),t?e=ut(t):e}functionot(t){returnt&&t.indexOf("?")&&t.lastIndexOf("=")&&t.lastIndexOf("=")>t.indexOf("?")?it(t):{}}functionst(t){vare={};returnt=t||"",xr(t)&&t?e=ut(t):e}functionut(t){vare={};returnt&&i(t.split("&"),function(t){varn=t.split("="),r=ct(n[0]),a=ct(n[1]);if(xr(a)){vari=et(a);null!=i&&(a=i)}r&&null!=a&&rt(e,r,a)}),e}functionct(t){try{returndecodeURIComponent(t)}catch(e){}returnnull}functionft(t,e,n){varr=null;returnt&&e&&(r=To+"//"+t+e,n&&(r+="?",i(n,function(t,e){varn=[g(e),"=",g(t),"&"];r+=n.join("")}))),r}functionlt(t){To=at(t)}functiondt(){vart=bo(bi);returnt?t:_o(bi,Ir())}functionpt(){returnbo(yi)}functionht(t){if(null!=t){vare=pt();null!=e&&t!==e&>(),_o(yi,t)}}functionmt(){vart=bo(xi);returnt?t.split(Ei):null}functionvt(t){t&&3===t.length&&_o(xi,t.join(Ei))}functiongt(){vart=yt();Tt(t)}functionyt(){vart=C(),e=[Ir(),t,t];returnvt(e),e}functionxt(){vart=C(),e=mt();bt(e)?gt():(e[2]=t,vt(e))}functionbt(t){return!t||3!==t.length||C()-+t[2]>_i}function_t(t,e){returnft(Gi.beacon,t,Et(e))}functionEt(t){vare=wt();returny({},Ji,e,t||{},Yi.baseInfo,So||{})}functionSt(t){returntinGi?Gi[t]:!0}functionCt(t){vare={};returni(t,function(t){t&&b(e[t.type]||[],t.key)<0&&(e[t.type]=e[t.type]||[]).push(t.key)}),e}functionTt(t){t[0]&&(Ji.sid=t[0]),t[1]&&(Ji.__s=+t[1])}functionwt(){vart={did:dt()},e=pt();returne&&(t.uid=e),t}functionAt(e){varn={};if(_r(e)){varr={};e(r),n=r.server}elsen=e;t[da]||(t[da]={hook:{}}),y(Bi.server,Ui,n||{},t[da].config||{}),y(Bi.appConf,{bizIdsRules:Ct(Gi.bizId_rule),customParamsRules:Ct(Gi.opt_param_rule),requestParamKeys:Ct(Gi.request_param_keys),corsDomains:Gi.cors_domains||[],optCustomParamRules:Ct(Gi.opt_custom_param_rule),ignoreNoFilePropError:St("ignore_err"),debuggable:St("debug"),sessionTimeout:Gi.session_timeout||_i}),i(Ro,function(e){Gi[e]&&(Yi.baseInfo[e]=Gi[e],t[Yr][e]=Gi[e])}),y(Ji,wt());vara=mt();bt(a)&&(a=yt()),Tt(a),Bi.server.event_timeout||(Bi.server.event_timeout=ma),Gi.appKey&&Z(),Gi.apm_arms&&(Gi.apm_headers||(Gi.apm_headers=[]),Gi.apm_headers.indexOf(ki)<0&&Gi.apm_headers.push(ki)),lt(Gi),Q(Gi.req_capacity)}functionRt(e){try{varn;if(!e||!e.data||0!==e.data.indexOf("_TINGYUN"))return;if(n=e.data.replace("_TINGYUN",""),et(n)){varr=et(n);if("gather"===r.type&&"APM"===r.fromJS&&!t[Ni]){Fi.isGather=!0;vara=e.origin,i=qi.getElementsByTagName("head")[0],o=qi.createElement("script");o.type="text/javascript",o.src=a+"/assets/lib/gather/path-gather.min.js?version="+nt(newDate),i.appendChild(o)}}}catch(s){}}functionPt(){vart=this;t.xhrs={},t.errs=[],A.call(t)}functionDt(t){ro&&console.warn(t||"Event key required!")}functionNt(t){t=t||{},this.key=t.key,this.type=t.type||Ai;vare=t.timeout||Ti;this.timeout=e,this.status=1,this.remain=0,this.xhrs=[],this.s=C(),this.e=null,this.called=this.sent=this.stored=!1}functionkt(t){t=t||{};vare=t.key;if(!e)returnnewDt;if(Oo[e])returnnewDt("event "+e+" is executing");Oo[e]=!0;varn=fo.createContext();fo.enter(n);varr=newNt(t);returnr._end=function(){vart=this;t.sent||t.stored||0!==t.remain||!t.called?t.stored&&this.refreshEventAndStore(n):t.finish().send(n)},r.end=function(t,e){varr=this;returnr.called?void(ro&&console.warn("Event "+this.key+"has ended or failed!")):(r.called=!0,fo.exit(n),r.status=null!=t?t:1,void(e||r._end()))},r.finish=function(t){vare=this;returne.e=C(),e.i&&clearTimeout(e.i),deleteOo[e.key],e},r.fail=function(){this.end(0)},r.store=function(){this.end(null,!0),this.refreshEventAndStore(n),this.stored=!0},r.i=r.timeout?R(v(r.fail,r),r.timeout):null,fo.set("event",r),r}functionOt(e){if(t.TINGYUN&&t.TINGYUN.inited){varn=bo(Si),r=et(n);if(r&&r.start&&(e=e||{},!e.key||r.key===e.key)){vara=e.timeout;if(a||(a=Ci),r.duration=C()-r.start,r.duration>a)returnvoidEo(Si);vari=t.performance.timing;if(i.navigationStart&&(i.loadEventEnd||i.loadEventStart)&&i.navigationStart-r.start>=0){varo={req:"get "+document.URL,status:200,type:"PF",start:i.navigationStart-r.start,du:(i.loadEventEnd||i.loadEventStart)-i.navigationStart};r.xhrs||(r.xhrs=[]),r.xhrs.push(o)}vars=1;e.status&&(s=e.status===Pi?1:0),r.status=s,Eo(Si),Do.emit("send","/spe",null,r,S)}}}functionIt(e){if(!t.TINGYUN||!t.TINGYUN.inited)returnnewDt("Agent is not inited!");e=y(e||{},{type:wi});varn=kt(e);returne.autoEnd&&R(function(){e.status&&e.status===Di?n.fail():n.end()},e.endDelay||Ri),n}functionjt(e,n){t.TINGYUN&&t.TINGYUN.inited&&(Er(n)||(n={}),e&&e.beforeEach&&e.afterEach&&(e.beforeEach(function(t,e,r){vara=t.path;if(!Io[a]||Io[a].e){vari={key:a};n&&n.timeout&&(i.timeout=n.timeout),Io[a]=It(i)}r()}),e.afterEach(function(t,e){varr=t.path;R(function(){vart=Io[r];!t||t.called||t.e||(n&&n.status===Di?t.fail():t.end())},n.endDelay||Ri)})))}functionqt(t,e){varn;if(Er(t))n=t;else{if(!xr(t)||void0===e)thrownewji(Vi);n={},n[t]=e}returni(n,function(t,e){einjo?Xi[jo[e]]=t:Xi[e]=t}),this}functionHt(t){if(t){vare=Xi.firstScreenResources=Xi.firstScreenResources||[];br(t)||(t=[t]),i(t,function(t){if(xr(t))e.push(t);elseif(Ki(t)){varn=t.src||t.href;n&&e.push(n)}})}}functionMt(t){br(t)||(t=[t]),i(t,function(t){if(t){if(!(tinstanceofRegExp))thrownewji("parameter's type requires RegExp");(Yi.domains||(Yi.domains=[])).push(t)}})}functionLt(t,e){if(t){varn=t.split("_"),r=n[0],a=n[1];"ty"===r&&a&&P(a,{timestamp:C(),data:e})}}functionzt(t){Ho&&t()}functionFt(t){returnfunction(){Ho&&t.apply(this,arguments)}}functionUt(){Ho=!1}functionBt(){if(Object.defineProperty){vare=t[Br];e&&Object.defineProperty(t,Br,{get:function(){returnLo++>0&&t.console&&console.warn("window.%s is deprecated, use window.%s instead.",Br,Yr),e}})}}functionYt(e){zo.on(qr,T(function(){n();vart=C();zt(function(){Mo.load=t}),e.loadEventEnd=t})),i([qr,Hr,Mr,Lr],function(e){Dr(t,e,function(t){zt(function(){(Mo.e[e]||(Mo.e[e]=[])).push(C())}),zo.emit(e,t)})});varn=T(function(){vart=C();zt(function(){Mo.end=t}),e.domContentLoadedEventStart=t,qi.querySelectorAll&&($i.resources=$i.resources||[],i(qi.querySelectorAll("head>link,head>script"),function(t){vare;"LINK"==t.tagName?e=t.href:"SCRIPT"!=t.tagName||t.defer||t.async||(e=t.src),e&&$i.resources.push(e)}))});Dr(qi,"DOMContentLoaded",n),Dr(qi,zr,function(t){qi.readyState===Fr&&n()});varr=T(function(){e.touch=C()});i(["scroll","click","keypress"],function(t){h(qi,t,r)});vara=t.requestAnimationFrame;!a||a.toString().indexOf("[native code]")<0||F(t,"requestAnimationFrame",function(n){returnfunction(){if(!e.firstPaint){varr=C();zt(function(){Mo.an.count++,Mo.an.t=r}),e.firstPaint=r,t.requestAnimationFrame=n}returnn.apply(this,arguments)}})}functionGt(t,e,n){n||(n=e&&window[e]||qi.cookie||"");varr=n.match(newRegExp("(^|;\\s*)("+t+")=([^;]*)"));returnr?r[3]:null}functionJt(t,e,n,r,a){vari=t+"="+e;if(n){varo=newDate;o.setTime(o.getTime()+1e3*n),i+=";expires="+o.toGMTString()}r&&(i+=";path="+r),(a||qi).cookie=i}functionKt(t,e){varn;returnt&&(n=!0,i(t,function(){returnn=!1},e)),!!n}functionWt(t){vare={},n={},r={},a={},i=it(t);returni&&(e=Vt(i,Yi.bizIdsRules[Wr],Yi.bizIdsRules[$r]),n=Vt(i,Yi.customParamsRules[Wr],Yi.customParamsRules[$r]),r=Vt(i,Yi.requestParamKeys[Zr],Yi.requestParamKeys[Qr]),a[ta]=Qt(i,Yi.optCustomParamRules[ta],!0)),{bizIdParams:e,params:n,requestParams:r,optCustomParams:Zt(a)}}functionVt(t,e,n){varr={};returnt&&e&&e.length&&e.length>0&&i(e,function(e){varn=t[e];null!=n&&rt(r,e,n)}),t&&n&&n.length&&n.length>0&&i(n,function(e){varn=Xt(oa,e),a=n(t);null!=a&&rt(r,e,a)}),r}functionXt(t,e){varn=t+"."+e;if(Fo[n])returnFo[n];varr=(e||"").split("."),a="";e&&0!==e.indexOf("[")&&(a=".");varo=t;i(r,function(t,e){0===e&&(o+=a),o+=t.indexOf("-")>-1&&0!==t.indexOf("[")&&t.indexOf("]")!==t.length-1?"['"+t+"']":(e>0?".":"")+t});vars;try{s=newFunction(t,"try{return "+o+";}catch(e){}return null;")}catch(u){s=S}returnFo[n]=s,s}function$t(t){returnt+="",t&&t.substr(0,128)||""}functionZt(t){vare={};returni(t,function(t,n){Kt(t)||(e[n]=t)}),e}functionQt(t,e,n){varr={};returnt&&e&&e.length&&e.length>0&&i(e,function(e){vara=t[e];if(null!=a)rt(r,e,a);elseif(n){vari=Xt(oa,e),a=i(t);null!=a&&rt(r,e,a)}}),r}functionte(t){vare,n;if(t)if(0===t.indexOf(la)){varr=t.substring(la.length);try{n=Bo.decode(r),e=et(n)}catch(a){}}else{try{n=decodeURIComponent(t),e=et(n)}catch(a){}if(!e)try{n=decodeURIComponent(n),e=et(n)}catch(a){N(a&&a.message)}}returne}functionee(t){vare={};returnt&&Er(t)&&(e.s_id=t.id,e.s_tname=t.tname,e.s_tid=t.tid,e.s_rid=t.rid,e.s_duration=t.duration,"user"int&&(e.s_user=t.user),"bid"int&&(e.s_bid=$t(t.bid)),"ber"int&&(e.s_ber=t.ber),"isError"int&&(e.s_isError=t.isError)),e}functionne(t){returnt[qa]||t._end}functionre(t){returnt.loadEventEnd||t._end}functionae(t){vare=0,n=t.timing;returnn?t.getEntriesByName&&(e=n.domLoading,i($i.resources,function(r){vara=t.getEntriesByName(r);if(1==a.length){vari=a[0].responseEnd+n.navigationStart;i>e&&(e=i)}}),e-=n.navigationStart):k("fp=0"),zt(function(){Mo._fp=e}),Math.round(e)}functionie(e,n,r,a){varo=r||0,s=Xi.firstScreenResources;if(s&&s.length&&e.getEntriesByName)returni(s,function(t){varn=e.getEntriesByName(t);if(n.length){varr=n[0],a=r.responseEnd;a>o&&(o=a)}}),a.fs_s=1,Math.round(o);varu=qi.createElement("img");if(!u.getBoundingClientRect)returnzt(function(){Mo.fs=o}),o;if(e.getEntriesByName){varc=t.innerHeight,f=t.innerWidth,l=[];i(qi.querySelectorAll("img"),function(t){t.src&&oe(se(t),c,f)&&!ue(t)&&l.push(t.src)});vard=(n.loadEventEnd||Do.loadEventEnd)-n.navigationStart;i(l,function(t){varn=e.getEntriesByName(t);if(n.length){varr=n[0],a=r.responseEnd;r.fetchStart<=d&&a>o&&(o=a)}})}returnMath.round(o)}functionoe(e,n,r){if(e){vara=t.pageYOffset,i=e.top+(0===a?0:a||qi.scrollTop||0)-(qi.clientTop||0);if(i>=n)return!1;varo=e.left;returno>=0&&r>o}return!1}functionse(t){return_r(t.getBoundingClientRect)?t.getBoundingClientRect():void0}functionue(t){returnGo.reliableHiddenOffsets()?t.offsetWidth<=0&&t.offsetHeight<=0&&!t.getClientRects().length:ce(t)}functionce(t){for(;t&&1===t.nodeType;){if("none"===fe(t)||"hidden"===t.type)return!0;t=t.parentNode}return!1}functionfe(t){returnt.style&&t.style.display}functionle(t){varn=e,r=0;returnt&&(n=t.navigationStart||n,r=t[qa]||t.domInteractive||t.domLoading||r),r=r||Do._end,r-n}functionde(n,r){functiona(t){returnn[t]>0?n[t]-s:0}varo={},s=r?r.globalStart:e,u=r?r.window:t,c=(r?r.agent:Do)||{};if(n){zt(function(){vart=Mo.t={};i(n,function(e,n){_r(e)||(t[n]=e)},!0)}),s=n.navigationStart,o={ns:s,f:a(ka),qs:a(Oa),rs:a(Ia),re:a(ja),os:a(qa),oe:a(Ha),oi:a(Ma),oc:a(La),ls:a(za),le:a(Fa),tus:a(Ua),tue:a(Ba)};varf=a(Ya),l=a(Ga),d=a(Ja),p=a(Ka),h=a(Wa),m=a(Va);if(o.cs=h,o.ce=m,o.ds=f,o.de=l,(p-d>0||p>0)&&(o.es=d,o.ee=p),0==o.le){varv=re(c);o.ue=v-s}c&&(c._le=o.ue||o.le);varg,y;if(n.msFirstPaint)g=n.msFirstPaint,r||zt(function(){Mo.fp="m_"+g});elseif((y=u.chrome)&&u.chrome.loadTimes){varx=u.chrome.loadTimes();x&&x.firstPaintTime&&(g=1e3*x.firstPaintTime),r||zt(function(){Mo.fp="c_"+x.firstPaintTime})}elsec&&c.firstPaint&&(g=c.firstPaint,r||zt(function(){Mo.fp=g}));g&&(o.fp=Math.round(g-s),c.fp=o.fp),n[Xa]?o.sl=a(Xa):o.sl=0}elseo={t:s,os:ne(c)-s,ls:re(c)-s};returno.je=c&&c.errs&&c.errs.length||0,c&&c.ct&&(o.ct=c.ct-s),c&&c.touch&&(o.fi=c.touch-s),o}functionpe(t,e){varn=de(t,e);n.fp?t&&n.fp>n._le&&(n.fp=ae(performance),n.__fp=2):t?(n.fp=ae(performance),n.__fp=1):n.fp=n.__fp=0,n.dr=le(t),t?n.fs=ie(performance,t,n.fp,Do):n.__fs=0;varr={};returnn&&(r={f:n.f,fp:n.fp,fs:n.fs,dr:n.dr,le:n.le,je:n.je}),r}functionhe(){return{optCustomParam:Qi.opt_custom_param}}functionme(t){returnt||(t=he()),"".concat(Aa).concat(yr(t))}functionve(t,e,n,r){if(t){vara=ge(t);if(a)try{vari=a+yr(t),o=[i];o.unshift(e?e:me());vars=o.join("\n");Do.emit("send","/action",{ps:r||a===wa?1:0},s,function(){t.type===ba&&(Do.xhrs=Do.errs=null)},n)}catch(u){}}}functionge(t){vare="";returnt.type===va?e=Ea:t.type===ga?e=Sa:t.type===xa?e=Ta:t.type===ya?e=Ca:t.type===ba&&(e=wa),e}functionye(t){ve(t)}functionxe(t){vare=Qi.cpParent;if(e){if(t&&(Qi.recordingCpActions=!1),!D())returnvoid(Qi.tryEndCpActionsFailed=!0);varn=e.action,r=e.data,a=e.commonActionInfo,o=e.url;if(n&&r&&0!==r.length){vars=C(),u=[];i(Qi.cpActions,function(t){t.data&&(t.data.crossPage=!0),u.push(t.data)}),r[r.length-1].items=u;for(varc=r.length-1;c>=0;c--){varf=r[c];f.type===va||f.end||(f.end=s),r[c-1]&&(r[c-1].items=[f]);varl=void0;l=f.start&&f.end&&f.end-f.start>Gi.event_timeout?Na:f.type===va?r[c+1]&&r[c+1].state||Da:Da,f.state=l}n.data=r[0],n.end=s;vard=me(y(a||{},{cpOptCustomParam:Qi.opt_custom_param,pageParam:Et()}));ve(n,d,o,!0)}}}functionbe(){vart={};returni(Jo,function(e){t[e]={current:0,children:0}}),t}function_e(t,e,n){i(t,function(t){t.cid===e.id&&(t.items=e.items||[])})}functionEe(t,e){i(t,function(t){i(e,function(e){t.cid===e.id&&(t.state||(t.state=e.state),t.items=e.items||[])})}),i(e,function(t){Ee(t.items,t.children)})}functionSe(t,e,n,r,a,i){i=i||{},this.id=++Qi.uniqueId,this.parent=t||null,this.children=[],this.name=e||"",this.type=n||va,this.subType=this.type===va?r||"click":r,this.items=[],this.remain=be(),this.s=i.s||C(),this.e=null,this.data=a,this.state=Pa,this.crossPage=i.crossPage||!1;varo=this;null==this.parent&&(this.i=R(function(){o.timeout()},Gi.event_timeout)),this.closed=!1,this.isTimeout=!1,this.cleared=!1,this.stateChanged=!1,this.actionCount={ajax:n===ga?1:0,iframe:n===xa?1:0},null!=this.parent&&this.parent.children.push(this)}functionCe(t,e){if(Te()){varn={rm:{},em:[],cpm:{}};e&&(n.rm.res=e.res||[]),t&&(n.cpm=t,n.cpm.ul=qi.URL),nbsJsBridge.logJsResult(yr(n))}}functionTe(){return"undefined"!=typeofnbsJsBridge&&nbsJsBridge.logJsResult}functionwe(){vart=0;try{t=window.performance.timing.loadEventEnd}catch(e){}returnt>0}functionAe(t,n){varr={tr:!1,tt:g(qi.title),charset:qi.characterSet};Xi.resources&&y(r,Xi.resources),zt(function(){r.debug=Mo}),Ut();vara=Do.errs;i(a,function(t,r){vari=t.toObject();i.o=i.o-n&&n.navigationStart||e,a[r]=i}),r.err=a;varo,s="getEntriesByType";returnt[s]?o=t[s]("resource"):k(x(Wi,[s])),o&&(r.tr=!0,r.res=[],i(o,function(t){functione(e){varn=t[e];returnn>0?n:0}varn=t.initiatorType,a=t.name,o={o:e("startTime"),rt:n,n:a,f:e(ka),ds:e(Ya),de:e(Ga),cs:e(Wa),ce:e(Va),sl:e(Xa),qs:e(Oa),rs:e(Ia),re:e(ja),ts:t.transferSize||0,es:t.encodedBodySize||0};if("xmlhttprequest"===n){vars=Re(a);i(s,function(t,e){0==e.indexOf("s_")&&(o[e]=t)})}r.res.push(o)})),r}functionRe(t){vare;returni(Do.xhrs,function(n,r){returnr&&t.indexOf(r)>-1?(e=n,!1):void0}),e}functionPe(e){if(!e.agent){varn=t._ty_rum;if(n&&n.agent)e.agent=n.agent;else{varr=Gt(ua,sa);r&&(e.agent=te(r),Jt(ua,"",-1e3,"/"))}}returne.agent}functionDe(t){if(t){vare=t.fetchStart;if(e)returne-t.navigationStart}}functionNe(){vare={},n=0,r=t.performance;r&&r.getEntriesByType&&i(r.getEntriesByType("mark")||[],function(t){if(t&&t.name&&t.startTime&&0===t.name.indexOf(pa)){varr=t.name.substring(pa.length);r&&(e[r]=Math.round(t.startTime),n+=1)}});vara=t[da]&&t[da].data,o=y({},a||{},Zi||{});returno&&r.timing&&i(o,function(t,a){Er(t)&&t.timestamp&&(e[a]=t.timestamp-r.timing.navigationStart,n+=1)}),n>0?e:null}functionke(t,e){varn=y({},t||{},{type:ba});returne&&(n.body=e),n}functionOe(t,e){varn=yr(t),r=n?n.length:0;if(r>ha&&t.res&&t.res.length>0){t.res=t.res.slice(0,e);vara=yr(t),i=a?a.length:0;returni>ha?Oe(t,e-10>0?e-10:0):t}returnt}functionIe(){varn=T(function(){functionn(t){returnt?"1":"0"}if(!Qi.pfSent){varr=t.performance,a=!!r;a||k(x(Wi,["pf"]));varo=Pe(Bi);o&&o.ulabel&&(Xi.ulabel=o.ulabel);vars=ee(o),u=r&&r.timing,c=y(de(u),s,Xi),f=y({},So);f.ressize=!!u,Do.fp?(f.fp=Do.fp,a&&Do.fp>Do._le&&(k("fp>le"),f.fp=ae(r),f.__fp=2)):a?(f.fp=ae(r),f.__fp=1):f.fp=f.__fp=0,f.dr=le(u),a?f.fs=ie(r,u,f.fp,f):f.__fs=0;varl="",d=Ne(),p=y(c,f)||{};d&&i(d,function(t,e){Sr(t)&&t>=0&&(p[e]=t)});varh;if(a){varm="trace",v=Math.max(p.ls,0);v||(v=re()-u.navigationStart||e),p[m]=v;varb=De(u);i(["fp","fs","dr",m],function(t){l+=n((b?p[t]-b:p[t])>=Gi[t+"_threshold"])}),deletep[m],l.indexOf("1")>-1&&(h=Ae(r,u)),d&&(h||(h={}),h.mark=d)}p.trflag=l||"0000",$i.pfStart=C(),deletep.firstScreenResources,deletep.resources;var_=Wt(qi.URL);if(h||(h={tr:!1,tt:g(qi.title),charset:qi.characterSet}),h.bizId_param=_.bizIdParams,h.opt_param=_.params,h.request_param=_.requestParams,Qi.opt_custom_param=_.optCustomParams,h)try{h=Oe(h,150)}catch(E){}varS=ke(p,h),T=Se.buildImmediateAction(ba,"",S,Qi.recordingCpActions);Qi.recordingCpActions&&(T.crossPage=!0,Qi.cpActions.push(T),R(function(){xe(!0)},Ko));try{Ce(p,h)}catch(E){}Qi.pfSent=!0}});returnwe()&&!Qi.pfSent&&n(),zo.on(qr,function(){vart=0;if(Gi.pfDelay&&Er(Gi.pfDelay)){vare=Ne();i(Gi.pfDelay,function(n,r){(!e||null==e[r])&&Sr(n)&&n>t&&(t=n)})}if(Qi.recordingCpActions){varr=Gi.cross_page_delay?Gi.cross_page_delay:ri,a=r-t;0>a&&(a=0),Ko=a}R(n,t)}).on([Hr,Mr,Lr],n)}functionje(t){vare=t;returnWo&&(Vo.setAttribute("href",e),e=Vo.href),Vo.setAttribute("href",e),{href:Vo.href,protocol:Vo.protocol?Vo.protocol.replace(/:$/,""):"",host:Vo.host,search:Vo.search?Vo.search.replace(/^\?/,""):"",hash:Vo.hash?Vo.hash.replace(/^#/,""):"",hostname:Vo.hostname,port:Vo.port,pathname:"/"===Vo.pathname.charAt(0)?Vo.pathname:"/"+Vo.pathname}}functionqe(t){vare=!1;returnYi.corsDomains&&i(Yi.corsDomains,function(n){returnt.indexOf(n)>-1?(e=!0,!1):void0}),e}functionHe(t){vare=je(t);returne.protocol===Xo.protocol&&e.host===Xo.host||qe(e.host)}functionMe(e,n){returnfunction(r){if(t[da].hook&&t[da].hook.eventCb&&Ke(r)){vara={originalCallback:e,eventHandlerType:n};returnt[da].hook.eventCb.call(this,arguments,a)}returne.apply(this,arguments)}}functionLe(t,e,n){returnn===Zo?Me(t,e):(t.handleEvent=Me(t.handleEvent,e),t)}functionze(t){return_r(t)}functionFe(t){returnEr(t)&&_r(t.handleEvent)}functionUe(t){vare;returnze(t)?e=Zo:Fe(t)&&(e=Qo),{isValid:t&&e,listenerType:e}}functionBe(t){returnfunction(){vare=arguments[0],n=arguments[1],r=arguments[2],a=!0;r&&Er(r)&&r[ii]&&(a=!1);vari=Ue(n),o=i.isValid,s=i.listenerType;if(a&&$o.indexOf(e)>-1&&o){varu;if(n[Oi]&&n[Oi][this])u=n[Oi][this];else{varc=Le(n,ui,s);s===Zo&&(n[Oi]||(n[Oi]={},n[Oi][Ii]=0),n[Oi][this]={listener:c,options:arguments[2]},n[Oi][Ii]++,u=n[Oi][this])}u&&(u.listener&&(arguments[1]=u.listener),u.options&&(arguments[2]=u.options))}returnt&&t.apply(this,arguments)}}functionYe(t){returnfunction(e,n){varr;try{r=t&&t.apply(this,arguments)}finally{try{if(n&&$o.indexOf(e)>-1){vara=n[Oi];a&&a[this]&&a[this].listener&&(null!=a[this].options?this.removeEventListener(e,a[this].listener,a[this].options):this.removeEventListener(e,a[this].listener),a[this]=null,a[Ii]--,a[Ii]<=0&&(n[Oi]=null,deleten[Oi]))}}catch(i){}}returnr}}functionGe(){t.EventTarget&&(F(t.EventTarget.prototype,"addEventListener",function(t){returnBe(t)}),F(t.EventTarget.prototype,"removeEventListener",function(t){returnYe(t)}))}functionJe(){Object.getOwnPropertyDescriptor&&Object.defineProperty&&$o.forEach(function(e){varn="on"+e,r=Object.getOwnPropertyDescriptor(t.HTMLElement.prototype,n),a=r.get,i=r.set;Object.defineProperty(t.HTMLElement.prototype,n,{get:function(){returna.apply(this,arguments)},set:function(){vart=arguments[0];returnt&&(arguments[0]=Le(t,ci,Zo)),i&&i.apply(this,arguments)},configurable:!0,enumerable:!0})})}functionKe(e){returne&&e.targetinstanceoft.HTMLElement&&e.currentTargetinstanceoft.HTMLElement}functionWe(t){return!!t.match(We.regex)}functionVe(t){returnt&&t.substr(0,256)||""}functionXe(t){try{if(!t)return"";for(vare=[],n=t.parentNode,r=function(){varr=t.tagName,a=void0;a=n.children;vari=void0;i=a?1===[].filter.call(a,function(t){returnt.tagName===r}).length?r:"".concat(r,":nth-child(").concat(1+[].indexOf.call(a,t),")"):r;varo=t.id?"#".concat(t.id):"",s=t.className&&xr(t.className)?t.className.split(" ").map(function(t){return".".concat(t)}).join(""):"";e.unshift("".concat(i).concat(o).concat(s)),t=n,n=t.parentNode};n;)r();return"".concat(e.join(" > ")).toLowerCase()}catch(a){}}function$e(t,e,n){varr=t.target,a=r.nodeName,i=r.id,o=r.className,s=r.title,u=r.value,c=r.innerText,f=a+i,l={type:va,id:i,nodeName:a,className:o,title:s,value:u,text:a===pi?"":Ve(c),path:Xe(t.target)};if(li===a){vard=t.target.getAttribute("src");d&&!We(d)&&(l.src=d)}if(di===a){varp=t.target.getAttribute("href");p&&(l.href=p)}returnl.eventHandlerType=e,Se.createEvent(null,f,va,t.type||oi,l,n)}functionZe(t,e){Qi.context=$e(t,e)}functionQe(){vart=Qi.context;t&&t.canEnd()&&t.end(),Qi.context=null}functiontn(t,e){varn=e.originalCallback,r=e.eventHandlerType,a=t[0],i=!a||!a.target||a[ai]||!(ts.indexOf(a.type)>-1);if(!i)try{Ze.call(this,a,r)}catch(o){}vars;try{s=n.apply(this,t)}finally{if(!i)try{Qi.context&&!Qi.context.canEnd()&&(a[ai]=!0),Qe.apply(this)}catch(o){}}returns}functionen(){i(ts,function(t){document.addEventListener(t,function(t){ns.length>=Za&&ns.shift(),ns.push(t)},_defineProperty({capture:!0},ii,!0))})}functionnn(t){returnt.timeStamp?Math.round(t.timeStamp+performance.timing.navigationStart):C()}functionrn(t){vare=ns.filter(function(t){return!t[ai]}),n=e[e.length-1];if(n){varr=nn(n);if(Math.abs(r-t)<es)return$e(n,fi,{s:r})}}functionan(t){vare=[];try{e=ns.filter(function(e){return!e[ai]&&e.timeStamp===t.timeStamp&&t.target.nodeName===e.target.nodeName})}catch(n){}if(e.length>0){varr=e[0];return$e(r,fi,{s:nn(r)})}}functionon(){Gi.inline_event_associate_threshold&&(es=Gi.inline_event_associate_threshold),t[da].hook&&(t[da].hook.eventCb=tn),!t[da].listenerHooked&&t.HTMLElement&&(Ge(),Je()),Gi.disableInlineEvent||en()}functionsn(t,e,n){varr=Ir().replace(/-/g,""),a={};returni(e,function(e){!e||n&&n[e]||(t.setRequestHeader(e,r),a[e]=r)}),a}functionun(t){t.pcid=t.parentContext.id,t.parentContext.updateRemain(1,ga),t.parentContext.items.push(t.contextData)}functioncn(t){returnfunctione(n,r){vara=this,i=e;if(i._&&(i._=1),!a[Jr]){varo=a[Br]={};o.method=n,o.url=r,o.id=as++,o.jserror=!1;vars=fo.get("event");s&&(o.key=s.key,s.remain++),hn(o,Qi.context),o.parentContext=o.context.parent,o.contextData={type:ga,id:o.id,cid:o.context.id,method:o.method,url:o.url,state:o.state,ignore:!1,jserror:o.jserror},o.context&&o.context.setData(o.contextData),o.parentContext&&un(o)}try{returnt.apply(a,arguments)}catch(u){}}}functionfn(t){returnfunctione(n,r){vara=this,i=e;if(i._&&(i._=1),!a[Jr]){varo=a[Br],s=wn(n,Yi.optCustomParamRules);Fi.isGather&&(o.wReqHeaderParam||(o.wReqHeaderParam={}),o.wReqHeaderParam[n]=r),o&&s&&(o.reqHeaderParam||(o.reqHeaderParam={}),o.reqHeaderParam[n]=r),o.headerRecord||(o.headerRecord={}),o.headerRecord[n]=r}try{returnt.apply(a,arguments)}catch(u){}}}functionln(t){returnfunctione(n){varr=this,a=e;if(a._&&(a._=1),!r[Jr]){vari=r[Br];if(i&&(i.start=C(),i.reqSize=w(n),i.requestData=n,i.contextData&&(i.contextData.start=i.start)),i.context&&null==i.context.parent){varo=rn(i.start);o&&(i.context.parent=o,i.parentContext=i.context.parent,un(i))}!i.parentContext&&Qi.recordingCpActions&&(i.context.crossPage=!0,Qi.cpRemain.ajax++,Qi.cpActions.push(i.context)),yn(r);vars=He(i.url);if(Gi.x_server_switch&&r.setRequestHeader&&Gi.key&&i&&s){varu=Nn(),c="c=B|"+Gi.key;if(u&&(c+=";x="+u),r.setRequestHeader(ca,c),i.xTingyunSent=!0,Gi.apm_headers){varf=sn(r,Gi.apm_headers,i.headerRecord);i.apms=f}}}try{returnt.apply(r,arguments)}catch(l){}}}functiondn(t){i(is,function(e,n){Dr(t,n,function(){pn(t,e,n)})})}functionpn(t,e,n){t&&t[Br]&&(t[Br].errorCode=e,t[Br].errorEvent=n)}functionhn(t,e){if(!t.context){varn="".concat(t.url,"-").concat(t.id);t.context=Se.createEvent(e,n,ga)}}functionmn(t,e){Qi.context=t.context,Qi.globalAsyncStore=t,Qi.globalAjaxContext=e}functionvn(t){vare=t.context&&t.context.canEnd();e&&t.context.end(),t.contextData&&t.context.state===Na&&Gi.upload_timeout_ajax&&(t.contextData.brsOnly=!0,Se.buildImmediateAction(ga,"",t.contextData,!1,{state:Na})),Qi.globalAsyncStore=null,Qi.globalAjaxContext=null}functiongn(t,e){varn=t[rs];n&&!t[vi]&&(F(t,rs,e),t[vi]=!0);varr=t[os];r&&!t[vi]&&(F(t,os,e),t[vi]=!0)}functionyn(t){functione(e){returnz(functionn(){varr=n;r._&&(r._=1),xn(t);vara;if(_r(e)){vari=t[Br];if(i&&4==t.readyState){varo=C();mn(i,t)}try{a=e.apply(this,arguments)}catch(s){throwi&&(i.jserror=!0),s}i&&4==t.readyState&&(i.cbTime=C()-o)}returna})}gn(t,e);try{dn(t)}catch(n){}if(!t[vi])try{Dr(t,zr,z(functionr(){vare=r;e._&&(e._=1),xn(t)}))}catch(n){return}E(function(){gn(t,e)})}functionxn(t){vare=t[Br];if(e&&(e.end=C(),e.readyState=t.readyState,4==t.readyState)){mn(e),e.status=t.status,e.text=bn(t),e.resSize=w(e.text);varn=Sn(e,t),r=fo.get("event");E(function(){e.callbackEnd||(e.callbackEnd=!0,En(e,n),r&&r.key==e.key&&(r.xhrs.push(n),0===--r.remain&&r._end()),Do.xhrs&&(Do.xhrs[e.url]=n),vn(e))})}}functionbn(t){vare="";if(""==t.responseType||"text"==t.responseType)e=t.responseText;elseif(t.response)e=t.response;elsetry{e=t.responseText}catch(n){}returne||""}function_n(t){returnt.data&&"event"===t.data.type?{text:t.data.text,path:t.data.path,nodeName:t.data.nodeName,items:t.items}:t.parent&&t.parent.data&&"event"===t.parent.data.type?{text:t.parent.data.text,path:t.parent.data.path,nodeName:t.parent.data.nodeName,items:t.parent.items}:t.parent&&t.parent.parent?_n(t.parent):{text:"",path:"",nodeName:"",items:[]
}}functionEn(t,e){t&&e&&t.jserror&&(e.jserror=t.jserror),t.errorCode&&!e.err&&(e.err=t.errorCode)}functionSn(e,n){if(e&&!e.composed){varr=e.status;if(Fi.isGather){vara=_n(e.context);e.wCustom={fromJS:"agent",key:Gi.key,ajaxUrl:e.url,items:e.context.items,itemsTemp:a&&a.items,id:e.id,url:document.URL,text:a&&a.text,xpath:a&&a.path,nodeName:a&&a.nodeName,method:e.method,urlParams:ot(document.URL),ajaxUrlParams:ot(e.url),start:e.start,requestHeader:e.wReqHeaderParam,requestParams:e.requestData,responseHeader:n.getAllResponseHeaders()&&n.getAllResponseHeaders().split("\n"),responseBody:n.response,children:[]},t.top&&t.top.postMessage&&t.top.postMessage(yr(e.wCustom),"*"),deletee.wCustom,deletee.wReqHeaderParam}y(e.contextData,{end:e.end,du:r>0?e.end-e.start:0,cb:e.cbTime||0,status:r,err:e.errorCode?e.errorCode:0,rec:e.resSize,send:e.reqSize});vari=e.contextData,o={};o[ea]=e.reqHeaderParam||{};vars=Wt(e.url),u=s.bizIdParams,c=s.params,f=s.requestParams,l=s.optCustomParams,d=Pn(e.requestData,Yi.bizIdsRules[Wr],Yi.bizIdsRules[$r]),p=Pn(e.requestData,Yi.customParamsRules[Wr],Yi.customParamsRules[$r]),h=Pn(e.requestData,Yi.requestParamKeys[Zr],Yi.requestParamKeys[Qr]);o[na]=Qt(Dn(e.requestData),Yi.optCustomParamRules[na],!0);varm=An(n,Yi.bizIdsRules),v=An(n,Yi.customParamsRules);o[ra]=An(n,Yi.optCustomParamRules,ra);varg={},x={},b=et(e.text);b&&(g=Rn(b,Yi.bizIdsRules),x=Rn(b,Yi.customParamsRules),o[aa]=Qt(b,Yi.optCustomParamRules[aa],!0)),i.bizId_param=y({},u,d,m,g),i.opt_param=y({},c,p,v,x),i.request_param=y({},f,h),i.opt_custom_param=Zt(Cn(o,l));var_=e.xTingyunSent?et(Tn(n,fa)):null;if(_){if(i.hasServerHeader=!0,i.s_id=_.id,i.s_tname=_.tname,i.s_tid=_.tid,i.s_rid=_.rid,i.s_duration=_.duration,"user"in_){varE=_.user,S=E;if(null!=E&&0===E.indexOf(la)){varC=E.substring(la.length);try{S=Bo.decode(C)}catch(T){}}i.s_user=S}"bid"in_&&(i.s_bid=$t(_.bid)),"ber"in_&&(i.s_ber=_.ber),"isError"inDo&&(i.s_isError=_.isError)}elsei.hasServerHeader=!1;returne.apms&&(i.apms=e.apms),e.composed=!0,i}}functionCn(t,e){returni(e,function(e,n){t[n]=y({},t[n]||{},e||{})}),t}functionTn(t,e){if(t&&t.getResponseHeader)try{returnt.getResponseHeader(e)}catch(n){}}functionwn(t,e){varn;returni(e[ea],function(e){returnt===e?(n=!0,!1):void0}),n}functionAn(t,e,n){varr={};returni(e[n||Vr],function(e){varn=Tn(t,e);null!=n&&rt(r,e,n)}),r}functionRn(t,e,n){varr={};returni(e[n||Xr],function(e){varn=Xt(ia,e),a=n(t);null!=a&&rt(r,e,a)}),r}functionPn(t,e,n){returnVt(Dn(t),e,n)}functionDn(t){vare=et(t);returne||(e=st(t)),e}functionNn(){try{returnIr().replace(/-/g,"").substring(0,16)}catch(t){}}functionkn(){vare=Hi&&Hi.prototype;e?(F(e,"open",cn),F(e,"setRequestHeader",fn),F(e,"send",ln)):Hi&&(t.XMLHttpRequest=function(){vart=newHi;returnF(t,"open",cn),F(t,"setRequestHeader",fn),F(t,"send",ln),t})}functionOn(t){this.limit=t,this.reset()}functionIn(t,e,n,r,a){returnString(t)+String(e)+String(n)+String(r)+String(a)}functionjn(t,e,n,r){returnString(t)+String(e)+String(n)+String(r)}functionqn(t,e,n,r,a,i,o){vars=this;s.id=t,s.time=C(),s.msg=e,s.lineno=r,s.colno=a,s.filename=n,s.count=1,s.stack=i&&i.stack||"",s.module=o,s.fix();varu=jn(e,r,a,o),c=fs[u];s.ep=c?0:1,fs[u]=!0,s.fep=0,this.recordFileName()}functionHn(t){varn=function(t){vare=[];returni(t,function(t){e.push(t.toObject())}),e}(cs.c);if(!n||!n.length)returnnull;varr={fu:us?us:us++,os:parseInt((C()-($i.pfStart||e))/1e3)};Xi.ulabel&&(r.ulabel=Xi.ulabel),Do.emit("send","/err1",r,{datas:n}),cs.reset()}functionMn(t,e,n,r,a){if(e||!Yi.ignoreNoFilePropError){varo=!1;if(i(Yi.domains,function(t){returno=t.test(e),o?!1:void0}),!o){vars=a&&a.moduleId,u=In(e,t,n,r,s),c=cs.get(u);c?c.increase():(c=newqn(u,t,e,n,r,a,s),cs.add(u,c),Do.errs&&Do.errs.push(c))}}}functionLn(){vare=t.onerror;t.onerror=function(t,n,r,a,i){returnMn(t,n,r,a,i),_r(e)?e.apply(this,arguments):void0},t.onerror._ty=!0}functionzn(){vare=t.onerror;e&&e._ty||Ln()}functionFn(){vare=Or();returne?Ln():Dr(t,jr,function(e){varn,r,a,i,o;(einstanceoft.Event||t.ErrorEvent&&einstanceoft.ErrorEvent)&&(n=e.message||e.error&&(e.error.message||e.error.constructor.name)||"",r=e.lineno||0,a=e.colno||0,i=e.filename||e.error&&e.error.filename||e.target&&e.target.baseURI||"",i==qi.URL&&(i="#"),o=e.error),Mn(n,i,r,a,o)}),zo.on([qr,Hr,Mr,Lr],function(t){Hn()}).on(qr,function(){e&&E(zn)}),setInterval(Hn,ss,!0)}functionUn(t){t&&!t.composed&&(y(t.contextData,{end:t.end||C()}),t.composed=!0)}functionBn(){Gi.setTimeoutMaxDepth&&Gi.setTimeoutMaxDepth>0&&(ps=Gi.setTimeoutMaxDepth),F(window,"setTimeout",Xn),F(window,"clearTimeout",$n)}functionYn(t){t.context||(t.context=Se.createEvent(Qi.context,"".concat(t.name,"-").concat(t.id),ya,t.name))}functionGn(t){Qi.context=t.context,Qi.globalAsyncStore=t}functionJn(t){vare=t.context&&t.context.canEnd();e&&t.context.end(),Qi.globalAsyncStore=null}functionKn(t){for(vare=0;null!=t&&5>e;)e+=t.type===ya?1:0,t=t.parent;return5>e}functionWn(t){returnfunction(){returnL(t).apply(this,arguments)}}functionVn(t,e,n,r){vara=null,i=null;returnEr(r)&&r[mi]||null==Qi.context?i=Wn(t):Kn(Qi.context)?(a={id:ds++,name:e,start:C(),delay:n,parentContext:Qi.context},Yn(a),a.contextData={type:ya,id:a.id,cid:a.context.id,name:a.name,start:a.start,delay:a.delay},a.context&&a.context.setData(a.contextData),a.parentContext&&(a.pcid=a.parentContext.id,a.parentContext.updateRemain(1,ya),a.parentContext.items.push(a.contextData)),i=z(function(){vare;try{Gn(a)}catch(n){}try{t&&(e=t.apply(this,arguments))}finally{try{a.end=C(),Un(a),Jn(a)}catch(n){}}returne})):i=Wn(t),{store:a,cb:i}}functionXn(t,e){returnfunction(n){varr=Tr.call(arguments,0),a=null;if(!arguments[2]&&_r(n)){vari=Vn(n,e,r[1],r[2]);i.cb&&(r[0]=i.cb),a=i.store}varo=t.apply(this,r);returna&&(hs[o]=a),o}}function$n(t){returnfunction(e){try{varn=hs[e];n&&n.context&&(n.context.removeFromParent(),hs[e]=null)}catch(r){}returnt.apply(this,arguments)}}functionZn(t){y(t.contextData,{pvid:t.pvid,end:t.end,url:t.url},t.serverData||{},t.pfData||{})}functionQn(t){t.context||(t.context=Se.createEvent(t.parentContext,"".concat(t.src,"-").concat(t.id),xa))}functiontr(t,e,n){functionr(){if(a.end=C(),a.sameOrigin){a.sameOrigin=!0,a.url=this.contentDocument.URL;vare=Gt(ua,sa,this.contentWindow[sa]||this.contentDocument.cookie||"");if(e){varn=te(e);Jt(ua,"",-1e3,"/",this.contentDocument),a.serverData=ee(n)}vari=this.contentWindow[Yr],o=this.contentWindow.performance&&this.contentWindow.performance.timing,s={window:this.contentWindow,globalStart:i?i.globalStart:o.navigationStart,agent:y({},i&&i.currentAgent?i.currentAgent:{})};i&&(a.pvid=i.pvid||"");varu;try{u=pe(o,s)}catch(c){u={}}a.pfData=u,a.pfData.le&&(a.end=o.navigationStart+a.pfData.le)}elsea.sameOrigin=!1;Zn(a),er(a),t.removeEventListener("load",r)}if(t){n||(n=t.src?gs:vs);vara={id:ms++,src:e,loadType:n,start:C(),parentContext:Qi.context};a.sameOrigin=He(a.src),Qn(a),a.contextData={type:xa,loadType:a.loadType,id:a.id,cid:a.context.id,src:a.src,start:a.start,sameOrigin:a.sameOrigin},a.context&&a.context.setData(a.contextData),a.parentContext&&(a.pcid=a.parentContext.id,a.parentContext.updateRemain(1,xa),a.parentContext.items.push(a.contextData)),!a.parentContext&&Qi.recordingCpActions&&(a.context.crossPage=!0,Qi.cpRemain.iframe++,Qi.cpActions.push(a.context)),t.addEventListener("load",r)}}functioner(t){vare=t.context&&t.context.canEnd();e&&t.context.end(),Qi.context=null}functionnr(){functiont(t){returnfunction(e){return"IFRAME"===e.nodeName&&e.src&&tr(e,e.src,vs),t.apply(this,arguments)}}F(Node.prototype,"appendChild",t),F(Node.prototype,"insertBefore",t)}functionrr(){functiont(){vart=arguments[0],e=this;returntr(e,t),r.apply(this,arguments)}if(Object.getOwnPropertyDescriptor&&Object.defineProperty){vare=Object.getOwnPropertyDescriptor(HTMLIFrameElement.prototype,"src"),n=e.get,r=e.set;Object.defineProperty(HTMLIFrameElement.prototype,"src",{get:function(){returnn.apply(this,arguments)},set:t,enumerable:!0,configurable:!0})}}functionar(){nr(),rr()}functionir(t){_o(Qa,yr(t))}functionor(){Eo(Qa)}functionsr(t){vare=ys++,n=t.url||"",r=C(),a=Se.createEvent(Qi.context,"".concat(n,"-").concat(e),_a,t.subType||ti),i={type:_a,subType:a.subType,id:e,cid:a.id,url:n,start:r};a&&a.setData(i);varo;returna.parent&&(a.parent.type===ga?Sn(Qi.globalAsyncStore,Qi.globalAjaxContext):a.parent.type===ya&&Un(Qi.globalAsyncStore),o=a.collectCrossPageData(),t.delayStorage||ir(o),a.clear(),a=null),{storageData:o,context:a}}functionur(t){returnfunction(){vare=arguments[0],n=sr({url:e,delayStorage:!0}),r=n.storageData,a=n.context;try{vari=t.apply(this,arguments);if(i){if(!r&&a){varo=rn(a.data.start);o&&(a.parent=o,r=a.collectCrossPageData(),a.clear(),a=null)}ir(r)}returni}catch(s){}returnm(t,[this,arguments])}}functioncr(){F(t,"open",ur)}functionfr(){functiont(t){return{valid:di===t.target.nodeName&&!t.defaultPrevented&&t.target.href,url:t.target.href,subType:ei}}functione(t){return{valid:pi===t.target.nodeName&&!t.defaultPrevented&&t.target.action,url:t.target.action,subType:ni}}i([oi,si],function(n){document.addEventListener(n,function(r){if(r){vara=n===oi?t(r):e(r);if(a.valid){vari=r.timeStamp?an(r):rn(nn(r));i&&(Qi.context=i,sr({subType:a.subType,url:a.url}),Qi.context=null)}}},_defineProperty({},ii,!0))})}functionlr(){Dr(t,Mr,function(t){or()})}functiondr(){cr(),fr(),lr()}functionpr(){Gi.disableHookEvent||on(),Gi.disableHookTimer||Bn(),Gi.disableHookIframe||ar(),Gi.disableHookCrossPage||dr()}functionhr(){try{Dr(t,"message",Rt)}catch(e){}Yt(Do),pr(),Ie(),kn(),Fn(),Do._end=C(),zt(function(){Mo._end=Do._end}),Bt();varn=bo(Qa);n&&(Qi.recordingCpActions=!0,Qi.cpParent=et(n),Eo(Qa))}functionmr(e){t[Yr]&&t[Yr].inited||e&&(_r(e)||Er(e))&&(At(e),(Gi.key||Gi.appKey)&&(hr(),t[Yr].inited=!0))}functionvr(){returnOr()?void0:window[Yr]&&3===window[Yr].mainVersion?window[Yr]:(qo.init=mr,qo)}vargr,yr,xr=o("String"),br=o("Array"),_r=o("Function"),Er=o("Object"),Sr=o("Number"),Cr=o("Undefined"),Tr=[].slice,wr='"',Ar=/([\"\\])/g,Rr=/\n/g,Pr=t.JSON;Pr&&Pr.parse&&Pr.stringify?(gr=n,yr=r):(gr=s,yr=u);varDr,Nr;t.addEventListener?(Dr=f,Nr=l):(Dr=d,Nr=p);varkr=t.encodeURIComponent,Or=function(){return!document.addEventListener},Ir=(t.location.protocol,function(){functiont(t){return0>t?NaN:30>=t?0|Math.random()*(1<<t):53>=t?(0|Math.random()*(1<<30))+(0|Math.random()*(1<<t-30))*(1<<30):NaN}functione(t,e){for(varn=t.toString(16),r=e-n.length,a="0";r>0;r>>>=1,a+=a)1&r&&(n=a+n);returnn}returnfunction(){returne(t(32),8)+"-"+e(t(16),4)+"-"+e(16384|t(12),4)+"-"+e(32768|t(14),4)+"-"+e(t(48),12)}}());A.prototype={on:function(t,e){varn=this;returnxr(t)?(n.events[t]||(n.events[t]=[])).push(e):br(t)&&i(t,function(t){n.on(t,e)}),n},off:function(t,e){varn=arguments.length,r=this;if(0===n)returnr.events={},r;vara=r.events[t];if(!a)returnr;if(1===n)returnr.events[t]=null,r;for(vari,o=a.length;o--;)if(i=a[o],i===e){a.splice(o,1);break}returnr},emit:function(t){vare=[].slice.call(arguments,1),n=this.events[t];returnn&&i(n,function(t){returnt.apply(this,e)}),this},unshift:function(t,e){varn=this;return(n.events[t]||(n.events[t]=[])).unshift(e),n}};varjr="error",qr="load",Hr="unload",Mr="beforeunload",Lr="pagehide",zr="readystatechange",Fr="complete",Ur="on",Br="_ty_rum",Yr="TINGYUN",Gr=2,Jr="__ign",Kr="__ty_asyncWrap__",Wr="2",Vr="3",Xr="4",$r="5",Zr="1",Qr="2",ta="1",ea="2",na="3",ra="4",aa="5",ia="body",oa="reqBody",sa="TINGYUN_COOKIE_VALUE",ua="TINGYUN_DATA",ca="X-Tingyun",fa="X-Tingyun-Data",la="TY_BASE64",da="__TINGYUN",pa="ty_",ha=64512,ma=6e4,va="event",ga="ajax",ya="timer",xa="iframe",ba="pf",_a="crossPage",Ea="e",Sa="a",Ca="t",Ta="i",wa="p",Aa="c",Ra="finish",Pa="pending",Da="finish",Na="timeout",ka="fetchStart",Oa="requestStart",Ia="responseStart",ja="responseEnd",qa="domContentLoadedEventStart",Ha="domContentLoadedEventEnd",Ma="domInteractive",La="domComplete",za="loadEventStart",Fa="loadEventEnd",Ua="unloadEventStart",Ba="unloadEventEnd",Ya="domainLookupStart",Ga="domainLookupEnd",Ja="redirectStart",Ka="redirectEnd",Wa="connectStart",Va="connectEnd",Xa="secureConnectionStart",$a=5,Za=5,Qa="__ty_crs_page_events",ti="window_open",ei="a_link",ni="form_submit",ri=3e3,ai="__ty_event_patch_tag",ii="__ty_event_patch_disable",oi="click",si="submit",ui="addEventListener",ci="onProperty",fi="inline",li="IMG",di="A",pi="FORM",hi=3,mi="__ty_ignore",vi="__ty_xhr_hooked",gi=200,yi="TY_USER_ID",xi="TY_SESSION_N_ID",bi="TY_DEVICE_N_ID",_i=18e5,Ei="|",Si="__TY_SPE_STORE",Ci=6e4,Ti=6e5,wi="auto",Ai="defined",Ri=200,Pi="success",Di="fail",Ni="TY_path_gather",ki="EagleEye-TraceID",Oi="__TY_ELEMENT_CB",Ii="__TY_CB_COUNTER",ji=t.Error,qi=t.document,Hi=t.XMLHttpRequest,Mi=t.location,Li=t.navigator,zi=t.HTMLElement,Fi={isGather:!1},Ui={fp_threshold:2e3,fs_threshold:4e3,dr_threshold:4e3},Bi={server:{},appConf:{pvid:Ir(),baseInfo:{}}},Yi=Bi.appConf,Gi=Bi.server,Ji={pvid:Yi.pvid,ref:qi.URL,referrer:qi.referrer,v:"3.1.11-jinmao.1",av:"3.1.11-jinmao.1"},Ki=zi?function(t){returntinstanceofzi}:function(t){t&&"object"===_typeof(t)&&1===t.nodeType&&xr(t.nodeName)},Wi="{0} not support",Vi="illegal argument",Xi={},$i={},Zi={},Qi={context:null,uniqueId:0,actions:[],opt_custom_param:{},unAssignedEvents:[],cpActions:[],recordingCpActions:!1,cpParent:null,cpRemain:{ajax:0,iframe:0},tryEndCpActionsFailed:!1,globalAsyncStore:null,globalAjaxContext:null,pfSent:!1},to=[],eo=[],no={},ro="undefined"!=typeoft.console,ao=1,io=2,oo=4,so=8,uo=j.prototype;uo.create=uo.before=uo.after=uo.error=null;varco;B.prototype={createContext:function(){returnObject.create?Object.create(this.active):U(this.active)},get:function(t){returnthis.active?this.active[t]:void0},set:function(t,e){returnthis.active?this.active[t]=e:void0},enter:function(t){if(!t)thrownewji("context required!");this._set.push(this.active),this.active=t},exit:function(t){if(!t)thrownewji("context required!");if(t===this.active)returnvoid(this.active=this._set.pop());vare=this._set.lastIndexOf?this._set.lastIndexOf(t):_(this._set,t);if(0>e)thrownewji("context not currently entered!");this._set.splice(e,1)},bind:function(t,e){e||(e=this.active?this.active:this.createContext());varn=this;returnfunction(){n.enter(e);try{returnt.apply(this,arguments)}catch(r){try{vara="moduleId";r[a]=e[a]}catch(i){}throwr}finally{n.exit(e)}}}};varfo,lo,po,ho=!1,fo=G(),mo=function(){vare=t.navigator.standalone,n=t.navigator.userAgent.toLowerCase(),r=/safari/.test(n),a=/iphone|ipod|ipad/.test(n);returna&&!e&&!r},vo="POST",go=K,yo=!1;$.prototype.add=function(t){this.queue.length>=this.size||(this.queue.push(t),this.running||(this.running=!0,this.run()))},$.prototype.run=function(){vart=this,e=function(){t.queue.length>0?t.run():t.running=!1};this.handler(this.queue.shift(),e)},$.prototype.handler=function(t,e){lo(t,T(function(){e()}))},lo=t.XDomainRequest?W:V,Li.sendBeacon&&(yo=!0);varxo=mo();xo&&(go=lo=V,yo=!1),lo||(lo=function(t,e){e()},yo=!1),Dr(t,Mr,function(t){yo&&(lo=X)});varbo,_o,Eo;bo=function(e){try{returnt.localStorage.getItem(e)}catch(n){}},_o=function(e,n){try{t.localStorage.setItem(e,n)}catch(r){}returnn},Eo=function(e){try{t.localStorage.removeItem(e)}catch(n){}};varSo={},Co=t.screen;Co&&(So.sh=Co.height,So.sw=Co.width);varTo,wo=t.location.protocol,Ao="http:",Ro=["id","key","appKey","token"],Po=Pt.prototype;Po.start=function(){if(!Gi.key)returnN("missing config, agent disabled!"),!1;vare=t[Yr];returne?(N("already loaded!"),!1):this},y(Po,A.prototype);varDo=newPt;Do.on("send",function(t,e,n,r,a){xt(),a||(a=_t(t,e)),a+="__r="+C(),r=r||S,tt({url:a,data:n,callback:r})});varNo=Dt.prototype;No.fail=No.end=No.store=S;varko=Nt.prototype;ko.end=ko.finish=ko.fail=null,ko.send=function(t){this.sent=!0;vare=this.getEventData(t),n=this.timeout||Ti;e.duration<n&&Do.emit("send","/spe",null,e,S)},ko.getEventData=function(t){vare=this,n=t.event&&t.event.xhrs||[];returni(n,function(t){t.startSpeOffset=t.start-e.s}),{key:e.key,start:e.s,duration:e.e-e.s,status:e.status,type:e.type,xhrs:n}},ko.refreshEventAndStore=function(t){this.finish();vare=this.getEventData(t);_o(Si,yr(e))};varOo={},Io={},jo={host:"cshst",url:"csurl"},qo={mainVersion:hi,version:"3.1.11-jinmao.1",key:Gi.key,pvid:Yi.pvid,config:qt,DIAGNOSE_HREF:Gr,diagnose:I,createEvent:It,logFirstScreen:Ht,addExcludedDomain:Mt,globalStart:e,currentAgent:Do,mark:Lt,wrapVueRouter:jt,endSession:gt,setUid:ht,createAutoEvent:It,endStoreEvent:Ot},Ho=Yi.debuggable,Mo={start:e,e:{},an:{count:0},visible:[]},Lo=0;!function(){if(Yi.debuggable){vart,e,n="visibilitychange";Cr(qi.hidden)?Cr(qi.msHidden)?Cr(qi.webkitHidden)||(t="webkitHidden",e="webkit"+n):(t="msHidden",e="ms"+n):(t="hidden",e=n),Cr(qi.addEventListener)||Cr(qi[t])||Dr(qi,e,Ft(function(){Mo.visible.push([qi[t],C()])}))}}();varzo=newA,Fo={},Uo=t,Bo=function(){vart="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=function(t){for(vare={},n=0,r=t.length;r>n;n++)e[t.charAt(n)]=n;returne}(t),n=String.fromCharCode,r=function(t){if(t.length<2){vare=t.charCodeAt(0);return128>e?t:2048>e?n(192|e>>>6)+n(128|63&e):n(224|e>>>12&15)+n(128|e>>>6&63)+n(128|63&e)}vare=65536+1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320);returnn(240|e>>>18&7)+n(128|e>>>12&63)+n(128|e>>>6&63)+n(128|63&e)},a=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,i=function(t){returnt.replace(a,r)},o=function(e){varn=[0,2,1][e.length%3],r=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0),a=[t.charAt(r>>>18),t.charAt(r>>>12&63),n>=2?"=":t.charAt(r>>>6&63),n>=1?"=":t.charAt(63&r)];returna.join("")},s=Uo.btoa?function(t){returnUo.btoa(t)}:function(t){returnt.replace(/[\s\S]{1,3}/g,o)},u=function(t){vare="[object Uint8Array]"===Object.prototype.toString.call(t);returne?t.toString("base64"):s(i(String(t)))},c=function(t,e){returne?u(String(t)).replace(/[+\/]/g,function(t){return"+"==t?"-":"_"}).replace(/=/g,""):u(t)},f=function(t){returnc(t,!0)},l=newRegExp(["[\xc0-\xdf][\x80-\xbf]","[\xe0-\xef][\x80-\xbf]{2}","[\xf0-\xf7][\x80-\xbf]{3}"].join("|"),"g"),d=function(t){switch(t.length){case4:vare=(7&t.charCodeAt(0))<<18|(63&t.charCodeAt(1))<<12|(63&t.charCodeAt(2))<<6|63&t.charCodeAt(3),r=e-65536;returnn((r>>>10)+55296)+n((1023&r)+56320);case3:returnn((15&t.charCodeAt(0))<<12|(63&t.charCodeAt(1))<<6|63&t.charCodeAt(2));default:returnn((31&t.charCodeAt(0))<<6|63&t.charCodeAt(1))}},p=function(t){returnt.replace(l,d)},h=function(t){varr=t.length,a=r%4,i=(r>0?e[t.charAt(0)]<<18:0)|(r>1?e[t.charAt(1)]<<12:0)|(r>2?e[t.charAt(2)]<<6:0)|(r>3?e[t.charAt(3)]:0),o=[n(i>>>16),n(i>>>8&255),n(255&i)];returno.length-=[0,0,2,1][a],o.join("")},m=Uo.atob?function(t){returnUo.atob(t)}:function(t){returnt.replace(/\S{1,4}/g,h)},v=function(t){returnm(String(t).replace(/[^A-Za-z0-9\+\/]/g,""))},g=function(t){returnp(m(t))},y=function(t){returng(String(t).replace(/[-_]/g,function(t){return"-"==t?"+":"/"}).replace(/[^A-Za-z0-9\+\/]/g,""))};return{atob:v,btoa:s,utob:i,encode:c,encodeURI:f,btou:p,decode:y}}(),Yo=function(){try{vare=Ir();returnt.localStorage.setItem(e,e),t.localStorage.removeItem(e),!0}catch(n){return!1}}(),Go={};Go.localStorage=Yo,function(){functione(){vare,f,l=qi.documentElement;l.appendChild(u),c.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",n=a=s=!1,r=o=!0,t.getComputedStyle&&(f=t.getComputedStyle(c),n="1%"!==(f||{}).top,s="2px"===(f||{}).marginLeft,a="4px"===(f||{width:"4px"}).width,c.style.marginRight="50%",r="4px"===(f||{marginRight:"4px"}).marginRight,e=c.appendChild(qi.createElement("div")),e.style.cssText=c.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",e.style.marginRight=e.style.width="0",c.style.width="1px",o=!parseFloat((t.getComputedStyle(e)||{}).marginRight),c.removeChild(e)),c.style.display="none",i=0===c.getClientRects().length,i&&(c.style.display="",c.innerHTML="<table><tr><td></td><td>t</td></tr></table>",e=c.getElementsByTagName("td"),e[0].style.cssText="margin:0;border:0;padding:0;display:none",i=0===e[0].offsetHeight,i&&(e[0].style.display="",e[1].style.display="none",i=0===e[0].offsetHeight)),l.removeChild(u)}varn,r,a,i,o,s,u=(qi.documentElement,qi.createElement("div")),c=qi.createElement("div");c.style&&(c.style.cssText="float:left;opacity:.5",Go.opacity="0.5"===c.style.opacity,Go.cssFloat=!!c.style.cssFloat,c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",Go.clearCloneStyle="content-box"===c.style.backgroundClip,u=qi.createElement("div"),u.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",c.innerHTML="",u.appendChild(c),Go.boxSizing=""===c.style.boxSizing||""===c.style.MozBoxSizing||""===c.style.WebkitBoxSizing,Go.reliableHiddenOffsets=function(){returnnull==n&&e(),i})}();varJo=[ga,ya,xa];Se.prototype.end=function(t){if(this.closed)returnvoid(this.cleared||console.warn("Current context is already closed"));if(t&&(this.actionCount.ajax+=t.actionCount.ajax,this.actionCount.iframe+=t.actionCount.iframe,_e(this.items,t),this.updateRemain(-1,t.type)),this.isNoRemain()||this.isTimeout)if(this.e=C(),this.closed=!0,this.i&&clearTimeout(this.i),this.e-this.s>Gi.event_timeout&&(this.isTimeout=!0),this.setState(this.isTimeout?Na:Da),this.data&&(this.data.state=this.state),this.parent)this.parent.end(this);else{vare;this.isTimeout&&(this.isRemainMeaningfulAction()||this.isMeaningfulAction())?e=this.composeTimeoutActionData():this.isMeaningfulAction()&&(e=this.composeActionData()),e&&(!this.crossPage||e.type!==ga&&e.type!==xa?ye(e):(Qi.cpRemain[e.type]--,D()&&Qi.tryEndCpActionsFailed&&xe())),Qi.context=null}},Se.prototype.isNoRemain=function(t){vare=!0;returni(this.remain,function(n){varr=n.current<=0&&(t?!0:n.children<=0);returnr?void0:(e=!1,!1)}),e},Se.prototype.clear=function(){this.closed=!0,this.cleared=!0,this.i&&clearTimeout(this.i)},Se.prototype.isMeaningfulAction=function(){returnthis.actionCount.ajax>0||this.actionCount.iframe>0},Se.prototype.isRemainMeaningfulAction=function(){returnthis.remain.ajax.current>0||this.remain.ajax.children>0||this.remain.iframe.current>0||this.remain.iframe.children>0},Se.prototype.timeout=function(){this.isTimeout=!0,this.setState(Na),this.end(null,!0)},Se.prototype.setData=function(t){this.data=t},Se.prototype.composeActionData=function(){return{type:this.type,subType:this.subType,start:this.s,end:this.e,duration:this.e-this.s>0?this.e-this.s:0,data:y({},this.data||{},{items:(this.items||[]).slice()})}},Se.prototype.composeTimeoutActionData=function(){returnthis.collectActionDataFromTop(),this.composeActionData()},Se.prototype.collectActionDataFromTop=function(t){null==t&&(t=this),Ee(t.items,t.children)},Se.prototype.collectCrossPageData=function(t){if(t||(t=[]),this.crossPage=!0,this.data&&(this.data.crossPage=!0),t.unshift(this.data),this.parent)returnthis.parent.collectCrossPageData(t);vare={type:this.type,subType:this.subType,start:this.s};return(this.isNoRemain()||1===this.children.length)&&this.clear(),{action:e,data:t,url:_t("/action"),commonActionInfo:he()}},Se.prototype.canEnd=function(){return!this.closed&&this.isNoRemain(!0)},Se.prototype.updateRemain=function(t,e){if(this.remain[e]){e||(e=ga);varn=t||0;this.remain[e].current=this.remain[e].current+n;for(varr=this.parent;r;)r.remain[e].children=r.remain[e].children+n,r=r.parent}},Se.prototype.setState=function(t){returnthis.stateChanged?!1:(this.state=t,this.stateChanged=!0,!0)},Se.prototype.current=function(){returnQi.context},Se.prototype.removeFromParent=function(){if(this.parent){vart=this.parent.children.indexOf(this);t>-1&&this.parent.children.splice(t,1);vare=this.parent.items.indexOf(this.data);e>-1&&this.parent.items.splice(e,1),this.parent.updateRemain(-1,this.type),this.parent.end()}},Se.createEvent=function(t,e,n,r,a,i){returnnewSe(t,e,n||"event",r||null,a,i)},Se.buildImmediateAction=function(t,e,n,r,a){vari=y({type:t,subType:e,state:Ra,data:n},a||{});returni.data&&(i.data.state=i.state),r||ye(i),i};varKo=0,Wo=/(msie|trident)/i.test(Li.userAgent),Vo=qi.createElement("a"),Xo=je(Mi.href),$o=[oi,si],Zo=1,Qo=2,ts=[oi,si],es=gi,ns=[];We.regex=/^\s*data:([a-z]+\/[a-z0-9-+.]+(;[a-z-]+=[a-z0-9-]+)?)?(;base64)?,([a-z0-9!$&',()*+;=\-._~:@\/?%\s]*)\s*$/i;varrs="onload",as=0,is={error:990,abort:905,timeout:903},os=Ur+zr,ss=1e4,us=0;On.prototype={add:function(t,e){this.len>this.limit||this.get(t)||(this.c[t]=e,this.len++)},get:function(t){returnthis.c[t]},reset:function(){this.c={},this.len=0}};varcs=newOn(100),fs={},ls={};qn.prototype={increase:function(){this.recordFileName(),this.count++},recordFileName:function(){vart=this.filename||"_";this.fep+=ls[t]?0:1,ls[t]=!0},fix:function(){vart=this,e=t.stack;if(e&&xr(e)){e=e.split(/\n/);varn=[];i(e,function(t,e){-1==t.indexOf(Kr)&&n.push(t)}),t.stack=n.join("\n")}},toObject:function(){vart=this;return{o:t.time,e:t.msg,l:t.lineno,c:t.colno,r:t.filename,ec:t.count,s:t.stack,m:t.module,ep:t.ep,fep:t.fep}}};vards=0,ps=$a,hs={},ms=0,vs="load",gs="reload",ys=0,xs=vr();returnxs}(window,+newDate);window.TINGYUN&&window.TINGYUN.init&&window.TINGYUN.init(function(ty_rum){ty_rum.server={id:'4gA5HRiCw8g',bizId_rule:[],opt_param_rule:[],x_server_switch:true,request_param_keys:[],ignore_err:false,filter_robot:true,beacon:'apm.chinajinmao.cn:8589',beacon_err:'apm.chinajinmao.cn:8589',key:'1miV8nhR6HY',token:'92b144a9cdf144d7bdfa3f94c7c6a537',trace_threshold:7000,fp_threshold:2000,fs_threshold:4000,dr_threshold:4000};});/*TY_AGENT_END*/