5 lines
135 KiB
JavaScript
5 lines
135 KiB
JavaScript
|
|
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():t()}(this,function(){function e(e,t,r){if(null==e)return!1;if(Qt&&e.forEach===Qt)e.forEach(t,r);else if(ir(e)&&e.length===+e.length){for(var n=0,i=e.length;n<i;n++)if(n in e&&t.call(r,e[n],n,e)===nr)return!1}else for(var a in e)if(rr.call(e,a)&&t.call(r,e[a],a,e)===nr)return!1}function t(t,r){var n=[];return null==t?n:Array.prototype.map&&t.map===Array.prototype.map?t.map(r):(e(t,function(e,t,i){n.push(r(e,t,i))}),n)}function r(t){return e(Yt.call(arguments,1),function(e){for(var r in e)rr.call(e,r)&&void 0!==e[r]&&(t[r]=e[r])}),t}function n(t){return e(Yt.call(arguments,1),function(e){for(var n in e)void 0!==e[n]&&(_(e[n])&&_(t[n])?r(t[n],e[n]):t[n]=e[n])}),t}function i(t){return e(Yt.call(arguments,1),function(e){for(var r in e)void 0!==e[r]&&void 0===t[r]&&(t[r]=e[r])}),t}function a(e){if(!e)return!1;var t=tr.call(e);return"[object Function]"==t||"[object AsyncFunction]"==t}function s(e){return!(!e||!rr.call(e,"callee"))}function l(e){return e?e.toArray?e.toArray():ir(e)?Yt.call(e):s(e)?Yt.call(e):c(e):[]}function c(t){var r=[];return null==t?r:(e(t,function(e){r[r.length]=e}),r)}function u(e,t){var r=e.indexOf;if(r)return r.call(e,t);for(var n=0;n<e.length;n++)if(t===e[n])return n;return-1}function p(e,t,r){var n=Object.prototype.hasOwnProperty;if(e.filter)return e.filter(t);for(var i=[],a=0;a<e.length;a++)if(n.call(e,a)){var s=e[a];t.call(r,s,a,e)&&i.push(s)}return i}function d(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}function _(e){return null!=e&&"[object Object]"==tr.call(e)}function f(e){if(_(e)){for(var t in e)if(rr.call(e,t))return!1;return!0}return!1}function g(e){return void 0===e}function h(e){return"[object String]"==tr.call(e)}function v(e){return"[object Date]"==tr.call(e)}function y(e){return"[object Boolean]"==tr.call(e)}function w(e){return"[object Number]"==tr.call(e)&&/[\d\.]+/.test(String(e))}function S(e){return!(!e||1!==e.nodeType)}function b(e){try{JSON.parse(e)}catch(t){return!1}return!0}function k(e){var t=null;try{t=JSON.parse(e)}catch(r){return!1}return t}function P(e,t,r){var n,i,a,s=null,o=0;r||(r={});var l=function(){o=r.leading===!1?0:sr(),s=null,a=e.apply(n,i),s||(n=i=null)};return function(){var c=sr();o||r.leading!==!1||(o=c);var u=t-(c-o);return n=this,i=arguments,u<=0||u>t?(s&&(clearTimeout(s),s=null),o=c,a=e.apply(n,i),s||(n=i=null)):s||r.trailing===!1||(s=setTimeout(l,u)),a}}function N(e){if("string"!=typeof e)return 0;var t=0,r=null;if(0==e.length)return t;for(var n=0;n<e.length;n++)r=e.charCodeAt(n),t=(t<<5)-t+r,t&=t;return t}function $(e){var t=9007199254740992,r=-9007199254740992,n=31,i=0;if(e.length>0)for(var a=e.split(""),s=0;s<a.length;s++){var o=a[s].charCodeAt(),l=n*i+o;if(l>t)for(i=r+i;l=n*i+o,l<r;)i=i/2+o;if(l<r)for(i=t+i;l=n*i+o,l>t;)i=i/2+o;i=n*i+o}return i}function C(){if("function"==typeof Uint32Array){var e="";if("undefined"!=typeof crypto?e=crypto:"undefined"!=typeof msCrypto&&(e=msCrypto),_(e)&&e.getRandomValues){var t=new Uint32Array(1),r=e.getRandomValues(t)[0],n=Math.pow(2,32);return r/n}}return ar(1e19)/1e19}function j(e){try{return JSON.stringify(e,null," ")}catch(t){return JSON.stringify(e)}}function A(e){for(var t,r=[],n={},i=0;i<e.length;i++)t=e[i],t in n||(n[t]=!0,r.push(t));return r}function D(e){var t="";try{t=btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,function(e,t){return String.fromCharCode("0x"+t)}))}catch(r){t=e}return t}function O(e){var r=[];try{r=t(atob(e).split(""),function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})}catch(n){r=[]}try{return decodeURIComponent(r.join(""))}catch(n){return r.join("")}}function T(e,t){e=String(e),t="number"==typeof t?t:13;for(var r=126,n=e.split(""),i=0,a=n.length;i<a;i++){var s=n[i].charCodeAt(0);s<r&&(n[i]=String.fromCharCode((n[i].charCodeAt(0)+t)%r))}return n.join("")}function x(e){var t=13,r=126;return e=String(e),T(e,r-t)}function I(e){var t="t6KJCZa5pDdQ9khoEM3Tj70fbP2eLSyc4BrsYugARqFIw1mzlGNVXOHiWvxUn8",r=t.length-1,n={},i=0;for(i=0;i<t.length;i++)n[t.charAt(i)]=t.charAt(r-i);
|
||
|
|
}function it(e){Tr.send({type:"profile_delete"},e),Cr.set("distinct_id",fr()),Cr.set("first_id","")}function at(t,r){var n=t,i={};h(t)&&(t=[],t.push(n)),ir(t)?(e(t,function(e){h(e)?i[e]=!0:Xt.log("profile_unset\u7ed9\u7684\u6570\u7ec4\u91cc\u9762\u7684\u503c\u5fc5\u987b\u65f6string,\u5df2\u7ecf\u8fc7\u6ee4\u6389",e)}),Tr.send({type:"profile_unset",properties:i},r)):Xt.log("profile_unset\u7684\u53c2\u6570\u662f\u6570\u7ec4")}function st(e,t){"number"==typeof e&&(e=String(e));var r=Cr.getFirstId();if("undefined"==typeof e){var n=fr();r?Cr.set("first_id",n):Cr.set("distinct_id",n),Xt.store.identities.set("identify",n)}else Tr.check({distinct_id:e})&&(t===!0?r?Cr.set("first_id",e):Cr.set("distinct_id",e):r?Cr.change("first_id",e):Cr.change("distinct_id",e),Xt.store.identities.set("identify",e))}function ot(e,t,r,n){var i=Cr.getFirstId()||Cr.getDistinctId();Cr.set("distinct_id",e),Tr.send({original_id:i,distinct_id:e,type:"track_signup",event:t,properties:r},n)}function lt(e,t,r,n){"number"==typeof e&&(e=String(e)),Tr.check({distinct_id:e,event:t,properties:r})&&ot(e,t,r,n)}function ct(e){Tr.check({properties:e})?r(hr.currentProps,e):Xt.log("register\u8f93\u5165\u7684\u53c2\u6570\u6709\u8bef")}function ut(e){Cr.clearAllProps(e)}function pt(e){var t;if(ir(e)&&e.length>0)for(t=0;t<e.length;t++)h(e[t])&&e[t]in hr.currentProps&&delete hr.currentProps[e[t]];else if(e===!0)for(t in hr.currentProps)delete hr.currentProps[t]}function dt(e){Tr.check({properties:e})?Cr.setProps(e):Xt.log("register\u8f93\u5165\u7684\u53c2\u6570\u6709\u8bef")}function _t(e){Tr.check({properties:e})?Cr.setPropsOnce(e):Xt.log("registerOnce\u8f93\u5165\u7684\u53c2\u6570\u6709\u8bef")}function ft(e){Tr.check({properties:e})?Cr.setSessionProps(e):Xt.log("registerSession\u8f93\u5165\u7684\u53c2\u6570\u6709\u8bef")}function gt(e){Tr.check({properties:e})?Cr.setSessionPropsOnce(e):Xt.log("registerSessionOnce\u8f93\u5165\u7684\u53c2\u6570\u6709\u8bef")}function ht(e,t){if("number"==typeof e&&(e=String(e)),Tr.check({distinct_id:e})&&e!==Xt.store.getDistinctId()){if(_(Xt.store._state.identities)&&Xt.store._state.identities.hasOwnProperty(Xt.para.login_id_key)&&e===Xt.store._state.first_id)return a(t)&&t(),!1;var r=Xt.store._state.history_login_id.name!==Xt.para.login_id_key||e!==Xt.store._state.history_login_id.value;if(r){Xt.store._state.identities[Xt.para.login_id_key]=e;var n=Cr.getFirstId(),i=Cr.getDistinctId();n||Cr.set("first_id",i),ot(e,"$SignUp",{},t),Xt.store.identities.set("login",e),Xt.store.set("history_login_id",{name:Xt.para.login_id_key,value:e})}}else a(t)&&t()}function mt(e){var t=Cr.getFirstId();if(t)if(Cr.set("first_id",""),e===!0){var r=fr();Cr.set("distinct_id",r)}else Cr.set("distinct_id",t);Xt.store.identities.set("logout"),Xt.store.set("history_login_id",{name:"",value:""})}function vt(){function t(){var t=hr.campaignParams(),r={};return e(t,function(e,t,n){(" "+Xt.source_channel_standard+" ").indexOf(" "+t+" ")!==-1?r["$"+t]=n[t]:r[t]=n[t]}),r}var n={$is_first_day:mr.getNewUser(),$is_first_time:$r.is_page_first_visited,$referrer:hr.pageProp.referrer||"",$referrer_host:hr.pageProp.referrer?Q(hr.pageProp.referrer):"",$url:G(),$url_path:location.pathname,$title:document.title||"",_distinct_id:Cr.getDistinctId()},i=r({},hr.properties(),Xt.store.getProps(),t(),n);return Xt.para.preset_properties.latest_referrer&&Xt.para.preset_properties.latest_referrer_host&&(i.$latest_referrer_host=""===i.$latest_referrer?"":Q(i.$latest_referrer)),i}function yt(){var t="",r=" { cursor: pointer; -webkit-tap-highlight-color: rgba(0,0,0,0); }";Xt.heatmap&&ir(Xt.heatmap.otherTags)&&e(Xt.heatmap.otherTags,function(e){t+=e+r}),Xt._.isIOS()&&Xt._.getIOSVersion()&&Xt._.getIOSVersion()<13&&(Xt.para.heatmap&&Xt.para.heatmap.collect_tags&&Xt.para.heatmap.collect_tags.div&&Xt._.setCssStyle("div, [data-sensors-click]"+r),Xt.para.heatmap&&Xt.para.heatmap.track_attr&&Xt._.setCssStyle("["+Xt.para.heatmap.track_attr.join("], [")+"]"+r),""!==t&&Xt._.setCssStyle(t))}function wt(e,t){var r=Jr.encodeTrackData(t);return e.indexOf("?")!==-1?e+"&"+r:e+"?"+r}function St(e){return Jr.
|
||
|
|
e&&this._events[e]?this._events[e]=[]:this._events={}},Sr.listeners=function(e){return e&&"string"==typeof e?this._events[e]:this._events};var br=function(){this._events=[],this.pendingEvents=[]};br.prototype={emit:function(t){var r=[].slice.call(arguments,1);e(this._events,function(e){e.type===t&&e.callback.apply(e.context,r)}),this.pendingEvents.push({type:t,data:r}),this.pendingEvents.length>20?this.pendingEvents.shift():null},on:function(t,r,n,i){"function"==typeof r&&(this._events.push({type:t,callback:r,context:n||this}),i=i!==!1,this.pendingEvents.length>0&&i&&e(this.pendingEvents,function(e){e.type===t&&r.apply(n,e.data)}))},tempAdd:function(e,t){if(t&&e)return this.emit(e,t)},isReady:function(){}};var kr="data:enc;",Pr="dfm-enc-",Nr={__proto__:null,each:e,map:t,extend:r,extend2Lev:n,coverExtend:i,isArray:ir,isFunction:a,isArguments:s,toArray:l,values:c,indexOf:u,filter:p,trim:d,isObject:_,isEmptyObject:f,isUndefined:g,isString:h,isDate:v,isBoolean:y,isNumber:w,isElement:S,isJSONString:b,safeJSONParse:k,throttle:P,hashCode:N,getRandomBasic:ar,getRandom:C,formatJsonString:j,unique:A,base64Decode:O,base64Encode:D,now:sr,rot13obfs:T,rot13defs:x,dfmapping:I,strToUnicode:E,hashCode53:$,hasAttributes:J,hasAttribute:B,getElementContent:U,loadScript:R,ry:M,setCssStyle:q,getDomBySelector:V,decodeURIComponent:K,decodeURI:F,getQueryParam:z,urlParse:W,getURLSearchParams:X,URL:Z,getHostname:Q,getQueryParamsFromUrl:Y,urlSafeBase64:ur,secCheck:cr,getURL:G,encodeDates:ee,formatDate:te,searchObjDate:re,mediaQueriesSupported:ye,getScreenOrientation:we,cookie:mr,localStorage:vr,sessionStorage:wr,isSupportCors:Se,isIOS:be,getUA:Pe,getIOSVersion:ke,isSupportBeaconSend:Ne,memory:yr,parseSuperProperties:ne,searchConfigData:ie,strip_empty_properties:ae,UUID:fr,getCurrentDomain:se,getEleInfo:oe,isBaiduTraffic:le,getReferrerEqid:ce,getReferrerEqidType:ue,getBaiduKeyword:gr,getCookieTopLevelDomain:pe,isReferralTraffic:de,getReferrer:_e,getKeywordFromReferrer:ge,getWxAdIdFromUrl:he,getReferSearchEngine:fe,getSourceFromReferrer:me,info:hr,autoExeQueue:ve,addEvent:$e,addHashEvent:Ce,listenPageState:je,bindReady:Ae,xhr:De,ajax:Oe,jsonp:Te,EventEmitter:Ie,EventEmitterSa:br,encrypt:He,decryptIfNeeded:Le},$r={checkIsAddSign:function(e){"track"===e.type&&(mr.getNewUser()?e.properties.$is_first_day=!0:e.properties.$is_first_day=!1)},is_first_visit_time:!1,is_page_first_visited:!1,checkIsFirstTime:function(e){"track"===e.type&&"$pageview"===e.event&&(this.is_first_visit_time?(e.properties.$is_first_time=!0,this.is_first_visit_time=!1):e.properties.$is_first_time=!1)},setDeviceId:function(e){var t=null,r=mr.get("sensorsdata2015jssdkcross"+Xt.para.sdk_id);r=Le(r);var n={};null!=r&&b(r)&&(n=JSON.parse(r),n.$device_id&&(t=n.$device_id)),t=t||e,Xt.para.cross_subdomain===!0?Xt.store.set("$device_id",t):(n.$device_id=t,n=JSON.stringify(n),Xt.para.encrypt_cookie&&(n=He(n)),mr.set("sensorsdata2015jssdkcross"+Xt.para.sdk_id,n,null,!0)),Xt.para.is_track_device_id&&(hr.currentProps.$device_id=t)},storeInitCheck:function(){if(Xt.is_first_visitor){var e=new Date,t={h:23-e.getHours(),m:59-e.getMinutes(),s:59-e.getSeconds()};mr.isSupport()?mr.set(mr.getCookieName("new_user"),"1",3600*t.h+60*t.m+t.s+"s"):yr.set(yr.getMemoryName("new_user"),"1",3600*t.h+60*t.m+t.s+"s"),this.is_first_visit_time=!0,this.is_page_first_visited=!0}else mr.getNewUser()||(this.checkIsAddSign=function(e){"track"===e.type&&(e.properties.$is_first_day=!1)}),this.checkIsFirstTime=function(e){"track"===e.type&&"$pageview"===e.event&&(e.properties.$is_first_time=!1)}},checkIsFirstLatest:function(){var t=hr.pageProp.url_domain,r={};""===t&&(t="url\u89e3\u6790\u5931\u8d25");var n=ge(document.referrer,!0);if(Xt.para.preset_properties.search_keyword_baidu?de(document.referrer)&&(!le()||_(n)&&n.active?Xt.store._state&&Xt.store._state.props&&(Xt.store._state.props.$search_keyword_id&&delete Xt.store._state.props.$search_keyword_id,Xt.store._state.props.$search_keyword_id_type&&delete Xt.store._state.props.$search_keyword_id_type,Xt.store._state.props.$search_keyword_id_hash&&delete Xt.store._state.pro
|
||
|
|
Xt.para.preset_properties.latest_landing_page&&!h(t.properties.$latest_landing_page)&&(t.properties.$latest_landing_page="\u53d6\u503c\u5f02\u5e38"),"not_collect"===Xt.para.preset_properties.latest_wx_ad_click_id?(delete t.properties._latest_wx_ad_click_id,delete t.properties._latest_wx_ad_hash_key,delete t.properties._latest_wx_ad_callbacks):Xt.para.preset_properties.latest_wx_ad_click_id&&!h(t.properties._latest_wx_ad_click_id)&&(t.properties._latest_wx_ad_click_id="\u53d6\u503c\u5f02\u5e38",t.properties._latest_wx_ad_hash_key="\u53d6\u503c\u5f02\u5e38",t.properties._latest_wx_ad_callbacks="\u53d6\u503c\u5f02\u5e38"),h(t.properties._latest_wx_ad_click_id)&&(t.properties.$url=G())),t.properties.$time&&v(t.properties.$time)?(t.time=1*t.properties.$time,delete t.properties.$time):t.time=1*new Date,Xt.vtrackBase.addCustomProps(t),ne(t),$r.checkIsAddSign(t),$r.checkIsFirstTime(t),Xt.addReferrerHost(t),Xt.addPropsHook(t),Or.stage.process("formatData",t),t},Jr.sendData=function(e,t){var r=ie(e.properties);Xt.para.debug_mode===!0?(Xt.log(e),Xt.saEvent.debugPath(JSON.stringify(e),t)):Xt.sendState.getSendCall(e,r,t)},Jr.encodeTrackData=function(e){var t=D(e),r="crc="+N(t);return"data="+encodeURIComponent(t)+"&ext="+encodeURIComponent(r)};var Br=function(e){this.callback=e.callback,this.img=document.createElement("img"),this.img.width=1,this.img.height=1,Xt.para.img_use_crossorigin&&(this.img.crossOrigin="anonymous"),this.data=e.data,this.server_url=wt(e.server_url,e.data)};Br.prototype.start=function(){var e=this;Xt.para.ignore_oom&&(this.img.onload=function(){this.onload=null,this.onerror=null,this.onabort=null,e.isEnd()},this.img.onerror=function(){this.onload=null,this.onerror=null,this.onabort=null,e.isEnd()},this.img.onabort=function(){this.onload=null,this.onerror=null,this.onabort=null,e.isEnd()}),this.img.src=this.server_url},Br.prototype.lastClear=function(){var e=Pe();void 0!==e.ie?this.img.src="about:blank":this.img.src=""};var Ur=function(e){this.callback=e.callback,this.server_url=e.server_url,this.data=St(e.data)};Ur.prototype.start=function(){var e=this;Oe({url:this.server_url,type:"POST",data:this.data,credentials:!1,timeout:Xt.para.datasend_timeout,cors:!0,success:function(){e.isEnd()},error:function(){e.isEnd()}})};var Rr=function(e){this.callback=e.callback,this.server_url=e.server_url,this.data=St(e.data)};Rr.prototype.start=function(){var e=this;"object"==typeof navigator&&"function"==typeof navigator.sendBeacon&&navigator.sendBeacon(this.server_url,this.data),setTimeout(function(){e.isEnd()},40)};var Mr={};Mr.queue=ve(),Mr.getSendCall=function(e,t,r){if(Xt.is_heatmap_render_mode)return!1;if(Xt.readyState.state<3)return Xt.log("\u521d\u59cb\u5316\u6ca1\u6709\u5b8c\u6210"),!1;e._track_id=Number(String(C()).slice(2,5)+String(C()).slice(2,4)+String((new Date).getTime()).slice(-4)),e._flush_time=(new Date).getTime();var n=e;e=JSON.stringify(e);var i={data:n,config:t,callback:r};return Xt.events.tempAdd("send",n),!Xt.para.app_js_bridge&&Xt.para.batch_send&&localStorage.length<200?(Xt.log(n),Xt.batchSend.add(i.data),!1):("item_set"===n.type||"item_delete"===n.type?this.prepareServerUrl(i):Xt.bridge.dataSend(i,this,r),void Xt.log(n))},Mr.prepareServerUrl=function(e){if("object"==typeof e.config&&e.config.server_url)this.sendCall(e,e.config.server_url,e.callback);else if(ir(Xt.para.server_url)&&Xt.para.server_url.length)for(var t=0;t<Xt.para.server_url.length;t++)this.sendCall(e,Xt.para.server_url[t]);else"string"==typeof Xt.para.server_url&&""!==Xt.para.server_url?this.sendCall(e,Xt.para.server_url,e.callback):Xt.log("\u5f53\u524d server_url \u4e3a\u7a7a\u6216\u4e0d\u6b63\u786e\uff0c\u53ea\u5728\u63a7\u5236\u53f0\u6253\u5370\u65e5\u5fd7\uff0cnetwork \u4e2d\u4e0d\u4f1a\u53d1\u6570\u636e\uff0c\u8bf7\u914d\u7f6e\u6b63\u786e\u7684 server_url\uff01")},Mr.sendCall=function(e,t,r){var n={server_url:t,data:JSON.stringify(e.data),callback:r,config:e.config};_(Xt.para.jsapp)&&!Xt.para.jsapp.isOnline&&"function"==typeof Xt.para.jsapp.setData?(delete n.callback,n=JSON.stringify(n),Xt.para.jsapp.setData(n)):this.realtimeSend(n
|
||
|
|
};window.addEventListener&&window.addEventListener("message",e,!1),tn.postMessage()}},rn=["setItem","deleteItem","getAppStatus","track","quick","register","registerPage","registerOnce","trackSignup","setProfile","setOnceProfile","appendProfile","incrementProfile","deleteProfile","unsetProfile","identify","login","logout","trackLink","clearAllRegister","clearPageRegister"],nn={track:function(e,t,r){},quick:function(e,t,r,n){},register:function(e){},registerPage:function(e){},registerOnce:function(e){},clearAllRegister:function(e){},trackSignup:function(e,t,r,n){},setProfile:function(e,t){},setOnceProfile:function(e,t){},appendProfile:function(e,t){},incrementProfile:function(e,t){},deleteProfile:function(e){},unsetProfile:function(e,t){},identify:function(e,t){},login:function(e,t){},logout:function(e){},trackLink:function(e,t,r){},deleteItem:function(e,t){},setItem:function(e,t,r){},getAppStatus:function(e){},clearPageRegister:function(e){}};Lt.prototype.process=function(e,t){if(!(e&&e in this.processDef))return void H("process ["+e+"] is not supported");var r=this.registeredInterceptors[e];if(r&&ir(r)&&r.length>0)for(var n={current:0,total:r.length},i=new Et(t,n,Xt),a=0;a<r.length;a++)try{if(n.current=a+1,t=r[a].call(null,t,i)||t,i.cancelationToken.getCanceled()){H("process ["+e+"] has been canceled.");break}}catch(s){H("interceptor error:"+s)}return this.processDef[e]&&this.processDef[e]in this.processDef&&(t=this.process(this.processDef[e],t)),t},Lt.prototype.registerStageImplementation=function(e){e&&e.init&&a(e.init)&&(e.init(this),e.interceptor&&this.registerInterceptor(e.interceptor))},Lt.prototype.registerInterceptor=function(e){if(e)for(var t in e){var r=e[t];if(r&&_(r)&&a(r.entry)){w(r.priority)||(r.priority=1e7),this.registeredInterceptors[t]||(this.registeredInterceptors[t]=[]);var n=this.registeredInterceptors[t],i=r.priority,s=r.entry;switch(!0){case i<=0:n.unshift(s);break;case i>=n.length:n.push(s);break;default:n.splice(i,0,s)}}}};var an={addCustomProps:"formatData",formatData:null},sn=new Lt(an),on={init:function(){},interceptor:{formatData:{priority:0,entry:function(e){return Ft(e),e}}}},ln=window.sensors_data_pre_config,cn=!!_(ln)&&ln.is_compliance_enabled;Xt.init=function(e){return!(Xt.readyState&&Xt.readyState.state&&Xt.readyState.state>=2)&&(cn&&Wt(!0),Xt.ee.initSystemEvent(),Xt.setInitVar(),Xt.readyState.setState(2),Xt.initPara(e),Xt.bridge.supportAppCallJs(),Xt.detectMode(),void Xt.iOSWebClickPolyfill())},cn?Wt(!1):(Wt(!0),xt());var un=Xt;try{Xt.modules={},"string"==typeof window.sensorsDataAnalytic201505?(Xt.para=window[sensorsDataAnalytic201505].para,Xt._q=window[sensorsDataAnalytic201505]._q,window[sensorsDataAnalytic201505]=Xt,window.sensorsDataAnalytic201505=Xt,Xt.init()):"undefined"==typeof window.sensorsDataAnalytic201505?window.sensorsDataAnalytic201505=Xt:un=window.sensorsDataAnalytic201505}catch(pn){if("object"==typeof console&&console.log)try{console.log(pn)}catch(dn){Xt.log(dn)}}var _n=un;return _n});
|