!function(a){function b(){b.done||(b.done=!0,S=!0,N=!1,P.each(ba,function(a){a._dom_loaded()}))}function c(){try{o.documentElement.doScroll("left")}catch(a){return void setTimeout(c,1)}b()}function d(){var b={};b[D]=0,b[C]=Math.floor((new Date).getTime()/1e3),a.cookie.register(b)}function e(){var b={};b[F]=0,b[E]=Math.floor((new Date).getTime()/1e3),a&&a.cookie&&a.cookie.register&&a.cookie.register(b)}function f(){d(),e()}var g=Array.prototype,h=Function.prototype,i=Object.prototype,j=g.slice,k=i.toString,l=i.hasOwnProperty,m=window.console,n=window.navigator,o=window.document,p=n.userAgent,q="dplus",r="__cns",s="__cnso",t="__cna",u="__cnap",v="$set",w="$set_once",x="$add",y="$append",z="$people_distinct_id",A="__alias",B="__cmpns",C="$_sessionTime",D="$_sessionid",E="$_sessionPVTime",F="$dp",G=[r,s,t,u,z,A,B],H="https:"==o.location.protocol?"https://":"http://",I="a.cnzz.com",J="",K=null,L=a&&a.__SV||0,M=window.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,N=!M&&p.indexOf("MSIE")==-1&&p.indexOf("Mozilla")==-1,O="1612836197",P={},Q=!1,R={api_host:H+I,heartbeat_host:H+J,cross_subdomain_cookie:!0,cookie_name:"",localstorage:!1,loaded:function(){},save_initial:!0,test:!1,verbose:!1,img:!1,track_pageview:!1,debug:!1,track_timeout:3e3,cookie_expiration:365,upgrade:!1,disable_cookie:!1,secure_cookie:!1,store_google:!0,ip:!0,same_domain_host:[],session_timeout:1800,heartbeat:!1,heartbeat_interval:3600,heartbeat_last_day:3,web_lang:["zh","en"]},S=!1;!function(){var a=h.bind,b=g.forEach,c=g.indexOf,d=Array.isArray,e={};P.bind=function(b,c){var d,e;if(a&&b.bind===a)return a.apply(b,j.call(arguments,1));if(!P.isFunction(b))throw new TypeError;return d=j.call(arguments,2),e=function(){if(!(this instanceof e))return b.apply(c,d.concat(j.call(arguments)));ctor.prototype=b.prototype;var a=new ctor;ctor.prototype=null;var f=b.apply(a,d.concat(j.call(arguments)));return Object(f)===f?f:a}},P.bind_instance_methods=function(a){for(var b in a)"function"==typeof a[b]&&(a[b]=P.bind(a[b],a))};var f=P.each=function(a,c,d){if(null!=a)if(b&&a.forEach===b)a.forEach(c,d);else if(a.length===+a.length){for(var f=0,g=a.length;f/g,">").replace(/"/g,""").replace(/'/g,"'")),b},P.extend=function(a){return f(j.call(arguments,1),function(b){for(var c in b)b.hasOwnProperty(c)&&void 0!==b[c]&&(a[c]=b[c])}),a},P.isArray=d||function(a){return"[object Array]"===k.call(a)},P.isFunction=function(a){try{return/^\s*\bfunction\b/.test(a)}catch(a){return!1}},P.isArguments=function(a){return!(!a||!l.call(a,"callee"))},P.toArray=function(a){return a?a.toArray?a.toArray():P.isArray(a)?j.call(a):P.isArguments(a)?j.call(a):P.values(a):[]},P.values=function(a){var b=[];return null==a?b:(f(a,function(a){b[b.length]=a}),b)},P.identity=function(a){return a},P.include=function(a,b){var d=!1;return null==a?d:c&&a.indexOf===c?a.indexOf(b)!=-1:(f(a,function(a){if(d||(d=a===b))return e}),d)},P.includes=function(a,b){return a.indexOf(b)!==-1},P.isIE=function(){var a=o.createElement("b");return a.innerHTML="",1===a.getElementsByTagName("i").length}}(),P.inherit=function(a,b){return a.prototype=new b,a.prototype.constructor=a,a.superclass=b.prototype,a},P.isObject=function(a){return a===Object(a)&&!P.isArray(a)},P.isEmptyObject=function(a){if(P.isObject(a)){for(var b in a)if(l.call(a,b))return!1;return!0}return!1},P.isUndefined=function(a){return void 0===a},P.isString=function(a){return"[object String]"==k.call(a)},P.isDate=function(a){return"[object Date]"==k.call(a)},P.isNumber=function(a){return"[object Number]"==k.call(a)},P.encodeDates=function(a){return P.each(a,function(b,c){P.isDate(b)?a[c]=P.formatDate(b):P.isObject(b)&&(a[c]=P.encodeDates(b))}),a},P.formatDate=function(a){function b(a){return a<10?"0"+a:a}return a.getUTCFullYear()+"-"+b(a.getUTCMonth()+1)+"-"+b(a.getUTCDate())+"T"+b(a.getUTCHours())+":"+b(a.getUTCMinutes())+":"+b(a.getUTCSeconds())},P.safewrap=function(a){return function(){try{a.apply(this,arguments)}catch(a){T.critical("Implementation error. Please contact support@cnzz.com.")}}},P.safewrap_class=function(a,b){for(var c=0;c0&&(b[c]=a)}),b},P.truncate=function(a,b){var c;return"string"==typeof a?c=a.slice(0,b):P.isArray(a)?(c=[],P.each(a,function(a){c.push(P.truncate(a,b))})):P.isObject(a)?"[object HTMLLIElement]"==k.call(a)?c=a.innerHTML.slice(0,b):(c={},P.each(a,function(a,d){c[d]=P.truncate(a,b)})):c=a,c},P.JSONEncode=function(){return function(a){var b=a,c=function(a){var b=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,c={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return b.lastIndex=0,b.test(a)?'"'+a.replace(b,function(a){var b=c[a];return"string"==typeof b?b:"\\u"+("0000"+a.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+a+'"'},d=function(a,b){var e="",f=" ",g=0,h="",i="",j=0,m=e,n=[],o=b[a];switch(o&&"object"==typeof o&&"function"==typeof o.toJSON&&(o=o.toJSON(a)),typeof o){case"string":return c(o);case"number":return isFinite(o)?String(o):"null";case"boolean":case"null":return String(o);case"object":if(!o)return"null";if(e+=f,n=[],"[object Array]"===k.apply(o)){for(j=o.length,g=0;g="0"&&b<="9";)c+=b,g();if("."===b)for(c+=".";g()&&b>="0"&&b<="9";)c+=b;if("e"===b||"E"===b)for(c+=b,g(),"-"!==b&&"+"!==b||(c+=b,g());b>="0"&&b<="9";)c+=b,g();return a=+c,isFinite(a)?a:void f("Bad number")},i=function(){var a,c,d,h="";if('"'===b)for(;g();){if('"'===b)return g(),h;if("\\"===b)if(g(),"u"===b){for(d=0,c=0;c<4&&(a=parseInt(g(),16),isFinite(a));c+=1)d=16*d+a;h+=String.fromCharCode(d)}else{if("string"!=typeof e[b])break;h+=e[b]}else h+=b}f("Bad string")},j=function(){for(;b&&b<=" ";)g()},k=function(){switch(b){case"t":return g("t"),g("r"),g("u"),g("e"),!0;case"f":return g("f"),g("a"),g("l"),g("s"),g("e"),!1;case"n":return g("n"),g("u"),g("l"),g("l"),null}f("Unexpected '"+b+"'")},l=function(){var a=[];if("["===b){if(g("["),j(),"]"===b)return g("]"),a;for(;b;){if(a.push(d()),j(),"]"===b)return g("]"),a;g(","),j()}}f("Bad array")},m=function(){var a,c={};if("{"===b){if(g("{"),j(),"}"===b)return g("}"),c;for(;b;){if(a=i(),j(),g(":"),Object.hasOwnProperty.call(c,a)&&f('Duplicate key "'+a+'"'),c[a]=d(),j(),"}"===b)return g("}"),c;g(","),j()}}f("Bad object")};return d=function(){switch(j(),b){case"{":return m();case"[":return l();case'"':return i();case"-":return h();default:return b>="0"&&b<="9"?h():k()}},function(e){var g;return c=e,a=0,b=" ",g=d(),j(),b&&f("Syntax error"),g}}(),P.base64Encode=function(a){var b,c,d,e,f,g,h,i,j="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",k=0,l=0,m="",n=[];if(!a)return a;a=P.utf8Encode(a);do b=a.charCodeAt(k++),c=a.charCodeAt(k++),d=a.charCodeAt(k++),i=b<<16|c<<8|d,e=i>>18&63,f=i>>12&63,g=i>>6&63,h=63&i,n[l++]=j.charAt(e)+j.charAt(f)+j.charAt(g)+j.charAt(h);while(k127&&g<2048?String.fromCharCode(g>>6|192,63&g|128):String.fromCharCode(g>>12|224,g>>6&63|128,63&g|128),null!==h&&(c>b&&(e+=a.substring(b,c)),e+=h,b=c=d+1)}return c>b&&(e+=a.substring(b,a.length)),e},P.UUID=function(){var a=function(){for(var a=1*new Date,b=0;a==1*new Date;)b++;return a.toString(16)+b.toString(16)},b=function(){return Math.random().toString(16).replace(".","")},c=function(a){function b(a,b){var c,d=0;for(c=0;c=4&&(g=b(g,f),f=[]);return f.length>0&&(g=b(g,f)),g.toString(16)};return function(){var d=(screen.height*screen.width).toString(16);return a()+"-"+b()+"-"+c()+"-"+d+"-"+a()}}(),P.isBlockedUA=function(a){return!!/(google web preview|baiduspider|yandexbot|bingbot|googlebot|yahoo! slurp)/i.test(a)},P.HTTPBuildQuery=function(a,b){var c,d,e=[];return"undefined"==typeof b&&(b="&"),P.each(a,function(a,b){c=encodeURIComponent(a.toString()),d=encodeURIComponent(b),e[e.length]=d+"="+c}),e.join(b)},P.getQueryParam=function(a,b){b=b.replace(/[\[]/,"\\[").replace(/[\]]/,"\\]");var c="[\\?&]"+b+"=([^&#]*)",d=new RegExp(c),e=d.exec(a);return null===e||e&&"string"!=typeof e[1]&&e[1].length?"":decodeURIComponent(e[1]).replace(/\+/g," ")},P.register_event=function(){function a(a,c,d){var e=function(e){if(e=e||b(window.event)){var f,g,h=!0;return P.isFunction(d)&&(f=d(e)),g=c.call(a,e),!1!==f&&!1!==g||(h=!1),h}};return e}function b(a){return a&&(a.preventDefault=b.preventDefault,a.stopPropagation=b.stopPropagation),a}var c=function(b,c,d,e){if(!b)return void T.error("No valid element provided to register_event");if(b.addEventListener&&!e)b.addEventListener(c,d,!1);else{var f="on"+c,g=b[f];b[f]=a(b,d,g)}};return b.preventDefault=function(){this.returnValue=!1},b.stopPropagation=function(){this.cancelBubble=!0},c}(),P.dom_query=function(){function a(a){return a.all?a.all:a.getElementsByTagName("*")}function b(a,b){var c=" "+b+" ";return(" "+a.className+" ").replace(d," ").indexOf(c)>=0}function c(c){if(!o.getElementsByTagName)return new Array;for(var d,e=c.split(" "),f=new Array(o),g=0;g-1){var h=d.split("#"),i=h[0],j=h[1],k=o.getElementById(j);if(!k||i&&k.nodeName.toLowerCase()!=i)return new Array;f=new Array(k)}else if(d.indexOf(".")>-1){var h=d.split("."),i=h[0],l=h[1];i||(i="*");for(var m=new Array,n=0,p=0;p-1};break;default:x=function(a){return a.getAttribute(u)}}f=new Array,s=0;for(var t=0;t=3?b[2]:""},properties:function(){return P.extend({ali_lib:"web",referrer:o.referrer||"$direct"},P.info.screen())},screen:function(){return{screen_height:screen.height,screen_width:screen.width}},people_properties:function(){return P.strip_empty_properties({$os:P.info.os(),$browser:P.info.browser(p,n.vendor,window.opera)})},pageviewInfo:function(a){return P.strip_empty_properties({cn_page:a})}},P.inArray=function(a,b){if(a&&b&&b.length>0){for(var c=b.length-1;c>=0;c--)if(b[c]==a)return c;return-1}return-1},P.getDomain=function(a){var b=["gov.cn","org.cn","net.cn","com.cn"],c=a.split(".");if(c.length<3)return a;var d=c.slice(-2).join(".");return P.inArray(d,b)>-1?c.slice(-3).join("."):d};var T={log:function(){if(Q&&!P.isUndefined(m)&&m)try{m.log.apply(m,arguments)}catch(a){P.each(arguments,function(a){m.log(a)})}},error:function(){if(Q&&!P.isUndefined(m)&&m){var a=["dplus error:"].concat(P.toArray(arguments));try{m.error.apply(m,a)}catch(b){P.each(a,function(a){m.error(a)})}}},critical:function(){if(!P.isUndefined(m)&&m){var a=["dplus error:"].concat(P.toArray(arguments));try{m.error.apply(m,a)}catch(b){P.each(a,function(a){m.error(a)})}}}};!function(a){function b(){try{return g in a&&a[g]}catch(a){return!1}}function c(a){return a.replace(/^d/,"___$&").replace(l,"___")}var d,e={},f=a.document,g="localStorage",h="script";if(e.disabled=!1,e.version="1.3.17",e.set=function(a,b){},e.get=function(a,b){},e.has=function(a){return void 0!==e.get(a)},e.remove=function(a){},e.clear=function(){},e.transact=function(a,b,c){null==c&&(c=b,b=null),null==b&&(b={});var d=e.get(a,b);c(d),e.set(a,d)},e.getAll=function(){},e.forEach=function(){},e.serialize=function(a){return JSON.stringify(a)},e.deserialize=function(a){if("string"==typeof a)try{return JSON.parse(a)}catch(b){return a||void 0}},b())d=a[g],e.set=function(a,b){return void 0===b?e.remove(a):(d.setItem(a,e.serialize(b)),b)},e.get=function(a,b){var c=e.deserialize(d.getItem(a));return void 0===c?b:c},e.remove=function(a){d.removeItem(a)},e.clear=function(){d.clear()},e.getAll=function(){var a={};return e.forEach(function(b,c){a[b]=c}),a},e.forEach=function(a){for(var b=0;bdocument.w=window'),j.close(),i=j.w.frames[0].document,d=i.createElement("div")}catch(a){d=f.createElement("div"),i=f.body}var k=function(a){return function(){var b=Array.prototype.slice.call(arguments,0);b.unshift(d),i.appendChild(d),d.addBehavior("#default#userData"),d.load(g);var c=a.apply(e,b);return i.removeChild(d),c}},l=new RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");e.set=k(function(a,b,d){return b=c(b),void 0===d?e.remove(b):(a.setAttribute(b,e.serialize(d)),a.save(g),d)}),e.get=k(function(a,b,d){b=c(b);var f=e.deserialize(a.getAttribute(b));return void 0===f?d:f}),e.remove=k(function(a,b){b=c(b),a.removeAttribute(b),a.save(g)}),e.clear=k(function(a){var b=a.XMLDocument.documentElement.attributes;a.load(g);for(var c,d=0;c=b[d];d++)a.removeAttribute(c.name);a.save(g)}),e.getAll=function(a){var b={};return e.forEach(function(a,c){b[a]=c}),b},e.forEach=k(function(a,b){for(var c,d=a.XMLDocument.documentElement.attributes,f=0;c=d[f];++f)b(c.name,e.deserialize(a.getAttribute(c.name)))})}try{var m="__storejs__";e.set(m,m),e.get(m)!=m&&(e.disabled=!0),e.remove(m)}catch(a){e.disabled=!0}e.enabled=!e.disabled,P.localStorage=e}(window);var U=function(){return{get:function(a){for(var b=a+"=",c=o.cookie.split(";"),d=0;db&&delete a[c];P.isEmptyObject(a)&&delete this.props[B]}},Z.prototype.update_campaign_params=function(){this.campaign_params_saved||(this.register(P.info.campaignParams()),this.campaign_params_saved=!0)},Z.prototype.update_search_keyword=function(a){this.register(P.info.searchInfo(a))},Z.prototype.update_initial_info=function(a){this.register_once({initial_view_time:O,initial_referrer:a||"$direct",initial_referrer_domain:P.info.referringDomain(a)||"$direct"},""),this.update_recent_outside_referrer(a)},Z.prototype.update_recent_outside_referrer=function(a){if(a){var b=this.same_domain_host,c=function(a){var c=!1;if(b&&b.length>0)for(var d=0,e=b.length;d-1&&(c=!0);return c},d=o.createElement("a");d.href=a;var e=d.hostname,f=P.getDomain(e);f==P.getDomain(o.location.hostname)||c(f)||this.register({$recent_outside_referrer:e})}else this.register({$recent_outside_referrer:"$direct"})},Z.prototype.get_referrer_info=function(){return P.strip_empty_properties({initial_referrer:this.props.initial_referrer,initial_referring_domain:this.props.initial_referring_domain})},Z.prototype.safe_merge=function(a){return P.each(this.props,function(b,c){c in a||(a[c]=b)}),a},Z.prototype.update_config=function(a){this.default_expiry=this.expire_days=a.cookie_expiration,this.same_domain_host=a.same_domain_host||[],this.set_disabled(a.disable_cookie),this.set_cross_subdomain(a.cross_subdomain_cookie),this.set_secure(a.secure_cookie)},Z.prototype.set_disabled=function(a){this.disabled=a,this.disabled&&this.remove()},Z.prototype.set_cross_subdomain=function(a){a!==this.cross_subdomain&&(this.cross_subdomain=a,this.remove(),this.save())},Z.prototype.get_cross_subdomain=function(){return this.cross_subdomain},Z.prototype.set_secure=function(a){a!==this.secure&&(this.secure=!!a,this.remove(),this.save())},Z.prototype._add_to_people_queue=function(a,b){var c=this._get_queue_key(a),d=b[a],e=this._get_or_create_queue(v),f=this._get_or_create_queue(w),g=this._get_or_create_queue(x),h=this._get_or_create_queue(y,[]);c===r?(P.extend(e,d),this._pop_from_people_queue(x,d)):c===s?P.each(d,function(a,b){b in f||(f[b]=a)}):c===t?P.each(d,function(a,b){b in e?e[b]+=a:(b in g||(g[b]=0),g[b]+=a)},this):c===u&&h.push(d),T.log("ALIFENXI PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),T.log(b),this.save()},Z.prototype._pop_from_people_queue=function(a,b){var c=this._get_queue(a);P.isUndefined(c)||(P.each(b,function(a,b){delete c[b]},this),this.save())},Z.prototype._get_queue_key=function(a){return a===v?r:a===w?s:a===x?t:a===y?u:void T.error("Invalid queue:",a)},Z.prototype._get_queue=function(a){return this.props[this._get_queue_key(a)]},Z.prototype._get_or_create_queue=function(a,b){var c=this._get_queue_key(a),b=P.isUndefined(b)?{}:b;return this.props[c]||(this.props[c]=b)},Z.prototype.removeCookieKey=function(a){var b=this,c=U();try{var d=c.parse(b.name);delete d[a],c.set(b.name,P.JSONEncode(d),b.expire_days,b.cross_subdomain,b.secure)}catch(a){}};var $=function(){};$.prototype.init=function(b,c,d){var e;return"undefined"==typeof d||d===q?(e=window[q],this.set_config(P.extend({},this.config,c))):(e=aa(b,c,d),a[d]=e),e._loaded(),e},$.prototype._init=function(a,b,c){this.__loaded=!0,this.config={},this.set_config(P.extend({},R,b,{name:c,siteid:a,callback_fn:(c===q?c:q+"."+c)+"._jsc"})),this._jsc=function(){},this.__dom_loaded_queue=[],this.__request_queue=[],this.__disabled_events=[],this._flags={disable_all_events:!1,identify_called:!1},this.cookie=new Z(this.config);var d=U(),e=d.get("UM_distinctid");"string"==typeof e&&e.length>0||(e=P.UUID()),this.register_once({distinct_id:e},"")},$.prototype._loaded=function(){function a(){b._heartbeat(),K=setTimeout(a,1e3*b.get_config("heartbeat_interval"))}var b=this;this.get_config("loaded")(this),this.get_config("track_pageview")&&this.track_pageview(),this.get_config("heartbeat")&&a()},$.prototype._heartbeat=function(){var a=this,b=P.cookie.get("cn_heartbeat_time_"+a.get_config("siteid")),c=P.cookie.get("cn_heartbeat_notneed_"+a.get_config("siteid")),d="",e="",f=Math.floor((new Date).getTime()/1e3);return c?void(K&&clearTimeout(K)):void(b?(b=b.split("|"),e=b[0]-0,d=b[1]-0,f-d>=this.get_config("heartbeat_interval")&&f1900:h>4e3,j=P.isNumber(d)?d:this.get_config("track_timeout");if("img"in b){var k=o.createElement("img");k.src=a,o.body.appendChild(k)}else if(M){var l=new XMLHttpRequest,m=!1;i?(l.open("POST",f,!0),l.setRequestHeader("Content-type","application/x-www-form-urlencoded; charset=UTF-8")):l.open("GET",a,!0),l.withCredentials=!0,l.onreadystatechange=function(a){if(4===l.readyState)if(m=!0,200===l.status)c&&c(e?P.JSONDecode(l.responseText):Number(l.responseText));else{var b="Bad HTTP status: "+l.status+" "+l.statusText;T.error(b),c&&c(e?{status:0,error:b}:0)}},l.send(i?g:null),setTimeout(function(){m||l.abort()},j)}else{var q=o.createElement("script");q.type="text/javascript",q.async=!0,q.defer=!0,q.src=a;var r=o.getElementsByTagName("script")[0];r.parentNode.insertBefore(q,r)}},$.prototype._execute_array=function(a){var b,c=[],d=[],e=[];P.each(a,function(a){a&&(b=a[0],"function"==typeof a?a.call(this):P.isArray(a)&&"alias"===b?c.push(a):P.isArray(a)&&b.indexOf("track")!=-1&&"function"==typeof this[b]?e.push(a):d.push(a))},this);var f=function(a,b){P.each(a,function(a){this[a[0]].apply(this,a.slice(1))},b)};f(c,this),f(d,this),f(e,this)},$.prototype.push=function(a){this._execute_array([a])},$.prototype.disable=function(a){"undefined"==typeof a?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(a)},$.prototype.track_pageview=function(a){"undefined"==typeof a&&(a=o.location.href),this.track("cn_page_view",P.info.screen())},$.prototype.track_links=function(){return this._track_dom.call(this,X,arguments)},$.prototype.track_forms=function(){return this._track_dom.call(this,Y,arguments)},$.prototype.register=function(a,b){this.cookie.register(a,b)},$.prototype.register_once=function(a,b,c){this.cookie.register_once(a,b,c)},$.prototype.unregister=function(a){this.cookie.unregister(a)},$.prototype.clear=function(){this.cookie.clear();var a=U(),b=a.get("UM_distinctid");"string"==typeof b&&b.length>0||(b=P.UUID()),this.register_once({distinct_id:b},"")},$.prototype._register_single=function(a,b){var c={};c[a]=b,this.register(c)},$.prototype.identify=function(a,b,c,d,e){window.console.warn("为保证指标计算的一致性以及跨屏打通统计的考虑,【友盟+】dplus自2017.3.2日起,dplus.identify函数被禁用,其他用户自传distinct_id的方式也被禁用。")},$.prototype.get_distinct_id=function(){return this.get_property("distinct_id")},$.prototype.name_tag=function(a){this._register_single("cn_name_tag",a)},$.prototype.track=function(a,b,c,d){function e(a,b){b=b||{},delete b[F]}function f(){var a={},b=P.getQueryParam(window.location.href,"promt_source");b&&(a.promt_source=b);var c=h.config.same_domain_host.length,d=(o.referrer.match(/\/\/([^\/]*)\//)||[])[1];return d!=location.host&&(c?h.config.same_domain_host.indexOf(d)==-1&&(a.is_out=1):window.location.host!=d&&(a.is_out=1)),a}function g(a){return null!=a&&""!=a&&!isNaN(a)}var h=this;if("undefined"==typeof a)return void T.error("No event name provided to dplus.track");if(P.isBlockedUA(p)||this._flags.disable_all_events||P.include(this.__disabled_events,a))return void("undefined"!=typeof c&&c(0));var i=null;this._get_session_id(Math.floor((new Date).getTime()/1e3));if("object"==typeof b&&b.distinct_id&&delete b.distinct_id, P.isArray(a)){var j=a.length,k=this.get_config("siteid"),l=this.get_config("web_lang"),m=P.info.properties(),n=this.cookie.properties();i={common:{},events:[]},b&&P.isArray(b)||(b=b||{}),i.common=P.extend(m,n,{web_lang:l},b,f()),g(k)?i.common.siteid=k:i.common.token=k;for(var q=0;q=d.get_config("session_timeout"),k=function(){var a=!1,b=h;if(!Boolean(b)||!P.isNumber(b))return a;var d=new Date(1e3*b),e=new Date(1e3*c);return d.getDate()!==e.getDate()&&(a=!0),a};return i||j||k()?(f[a]=d.updateSession(a,b,c),a===D&&e()):(f[a]=parseInt(g,10)||1,d.cookie.register(f)),f[a]},$.prototype.updateSession=function(a,b,c){var d=this,e={},f=d.cookie.props[a];return e[a]=(parseInt(f,10)||0)+1,e[b]=c,d.cookie.register(e),e[a]};var _=function(){};_.prototype._init=function(a){this._dplus=a,this.custom_properties=null},_.prototype.get=function(){return this.custom_properties},_.prototype.set=function(a,b,c){var d={},e={};return P.isObject(a)?(P.each(a,function(a,b){"$distinct_id"!=b&&"$siteid"!=b&&(e[b]=a)}),c=b):e[a]=b,this.custom_properties=e,this._get_config("save_initial")&&this._dplus.cookie.update_initial_info(o.referrer),e=P.extend({},e),d[v]=e,this._send_request(d,c)},_.prototype.set_once=function(a,b,c){var d={},e={};return P.isObject(a)?(P.each(a,function(a,b){"$distinct_id"!=b&&"$siteid"!=b&&(e[b]=a)}),c=b):e[a]=b,d[w]=e,this._send_request(d,c)},_.prototype.increment=function(a,b,c){var d={},e={};return P.isObject(a)?(P.each(a,function(a,b){if("$distinct_id"!=b&&"$siteid"!=b)return isNaN(parseFloat(a))?void T.error("Invalid increment value passed to dplus.people.increment - must be a number"):void(e[b]=a)}),c=b):(P.isUndefined(b)&&(b=1),e[a]=b),d[x]=e,this._send_request(d,c)},_.prototype.append=function(a,b,c){var d={},e={};return P.isObject(a)?(P.each(a,function(a,b){"$distinct_id"!=b&&"$siteid"!=b&&(e[b]=a)}),c=b):e[a]=b,d[y]=e,this._send_request(d,c)},_.prototype.track_charge=function(a,b,c){return!P.isNumber(a)&&(a=parseFloat(a),isNaN(a))?void T.error("Invalid value passed to dplus.people.track_charge - must be a number"):this.append("$transactions",P.extend({$amount:a},b),c)},_.prototype.clear_charges=function(a){return this.set("$transactions",[],a)},_.prototype.delete_user=function(){if(!this._identify_called())return void T.error("dplus.people.delete_user() requires you to call identify() first");var a={$delete:this._dplus.get_distinct_id()};return this._send_request(a)},_.prototype.toString=function(){return this._dplus.toString()+".people"},_.prototype._send_request=function(a,b){a.$siteid=this._get_config("siteid"),a.$distinct_id=this._dplus.get_distinct_id();var c=P.encodeDates(a),d=P.truncate(c,255),e=P.JSONEncode(c),f=P.base64Encode(e);return this._identify_called()?(T.log("ALIFENXI PEOPLE REQUEST:"),T.log(d),this._dplus._send_request(this._get_config("api_host")+"/engage/",{data:f},this._dplus._prepare_callback(b,d)),d):(this._enqueue(a),P.isUndefined(b)||b(this._get_config("verbose")?{status:-1,error:null}:-1),d)},_.prototype._get_config=function(a){return this._dplus.get_config(a)},_.prototype._identify_called=function(){return this._dplus._flags.identify_called===!0},_.prototype._enqueue=function(a){v in a?this._dplus.cookie._add_to_people_queue(v,a):w in a?this._dplus.cookie._add_to_people_queue(w,a):x in a?this._dplus.cookie._add_to_people_queue(x,a):y in a?this._dplus.cookie._add_to_people_queue(y,a):T.error("Invalid call to _enqueue():",a)},_.prototype._flush=function(a,b,c,d){var e=this,f=P.extend({},this._dplus.cookie._get_queue(v)),g=P.extend({},this._dplus.cookie._get_queue(w)),h=P.extend({},this._dplus.cookie._get_queue(x)),i=this._dplus.cookie._get_queue(y);if(P.isUndefined(f)||!P.isObject(f)||P.isEmptyObject(f)||(e._dplus.cookie._pop_from_people_queue(v,f),this.set(f,function(b,c){0==b&&e._dplus.cookie._add_to_people_queue(v,f),P.isUndefined(a)||a(b,c)})),P.isUndefined(g)||!P.isObject(g)||P.isEmptyObject(g)||(e._dplus.cookie._pop_from_people_queue(w,g),this.set_once(g,function(a,b){0==a&&e._dplus.cookie._add_to_people_queue(w,g),P.isUndefined(d)||d(a,b)})),P.isUndefined(h)||!P.isObject(h)||P.isEmptyObject(h)||(e._dplus.cookie._pop_from_people_queue(x,h),this.increment(h,function(a,c){0==a&&e._dplus.cookie._add_to_people_queue(x,h),P.isUndefined(b)||b(a,c)})),!P.isUndefined(i)&&P.isArray(i)&&i.length){for(var j=i.length-1;j>=0;j--){var k=i.pop();e.append(k,function(a,b){0==a&&e._dplus.cookie._add_to_people_queue(y,k),P.isUndefined(c)||c(a,b)})}e._dplus.cookie.save()}},P.toArray=P.toArray,P.isObject=P.isObject,P.JSONEncode=P.JSONEncode,P.JSONDecode=P.JSONDecode,P.isBlockedUA=P.isBlockedUA,P.isEmptyObject=P.isEmptyObject,P.info=P.info,P.info.device=P.info.device,P.info.browser=P.info.browser,$.prototype.init=$.prototype.init,$.prototype.disable=$.prototype.disable,$.prototype.track=$.prototype.track,$.prototype.track_links=$.prototype.track_links,$.prototype.track_forms=$.prototype.track_forms,$.prototype.track_pageview=$.prototype.track_pageview,$.prototype.register=$.prototype.register,$.prototype.register_once=$.prototype.register_once,$.prototype.unregister=$.prototype.unregister,$.prototype.clear=$.prototype.clear,$.prototype.identify=$.prototype.identify,$.prototype.set_config=$.prototype.set_config,$.prototype.get_config=$.prototype.get_config,$.prototype.get_property=$.prototype.get_property,$.prototype.get_distinct_id=$.prototype.get_distinct_id,$.prototype.toString=$.prototype.toString,Z.prototype.properties=Z.prototype.properties,Z.prototype.update_search_keyword=Z.prototype.update_search_keyword,Z.prototype.update_initial_info=Z.prototype.update_initial_info,Z.prototype.get_cross_subdomain=Z.prototype.get_cross_subdomain,Z.prototype.clear=Z.prototype.clear,P.safewrap_class(Z,["_expire_notification_campaigns"]),P.safewrap_class($,["identify","_show_notification"]);var aa=function(b,c,d){var e,f=d===q?a:a[d];return f&&!P.isArray(f)?void T.error("You have already initialized "+d):(e=new $,e._init(b,c,d),e.people=new _,e.people._init(e),Q=Q||e.get_config("debug"),P.isUndefined(f)||(e._execute_array.call(e.people,f.people),e._execute_array(f)),e)};if(P.isUndefined(a))return void T.critical("'dplus' object not initialized. Ensure you are using the latest version of the Dplus JS Library along with the snippet we provide.");if(a.__loaded||a.config&&a.cookie)return void T.error("Dplus library has already been downloaded at least once.");if(L<1.1)return void T.critical("Version mismatch; please ensure you're using the latest version of the Dplus code snippet.");var ba={};P.each(a._i,function(a){var b,c;a&&P.isArray(a)&&(b=a[a.length-1],c=aa.apply(this,a),ba[b]=c)});var ca=function(){P.each(ba,function(b,c){c!==q&&(a[c]=b)}),a._=P};if(a.init=function(b,c,d){if(d)a[d]||(a[d]=ba[d]=create_mplib(b,c,d),a[d]._loaded());else{var e=a;ba[q]?e=ba[q]:b&&(e=create_mplib(b,c,q),e._loaded()),window[q]=a=e,ca()}},a.init(),P.each(ba,function(a){a._loaded()}),o.addEventListener)"complete"==o.readyState?b():o.addEventListener("DOMContentLoaded",b,!1);else if(o.attachEvent){o.attachEvent("onreadystatechange",b);var da=!1;try{da=null==window.frameElement}catch(a){}o.documentElement.doScroll&&da&&c()}P.register_event(window,"load",b,!0),!P.isIE()&&P.register_event(window,"beforeunload",f,!1)}(window.dplus);(function(){function p(){this.c="1260889951";this.ca="q";this.Y="";this.V="";this.X="";this.D="1612836197";this.$="z4.cnzz.com";this.W="";this.H="CNZZDATA"+this.c;this.G="_CNZZDbridge_"+this.c;this.O="_cnzz_CV"+this.c;this.P="CZ_UUID"+this.c;this.K="UM_distinctid";this.A="1";this.J={};this.a={};this.Ca()}function h(a, b){try{if(Math.random()<.01){var c=[];c.push("siteid=1260889951");c.push("name="+g(a.name));c.push("msg="+g(a.message));c.push("r="+g(l.referrer));c.push("page="+g(e.location.href));c.push("agent="+g(e.navigator.userAgent));c.push("ex="+g(b));c.push("top="+g(e.top===e?1:0));c.push("ts="+new Date().getTime());c.push("rnd="+Math.floor(2147483648*Math.random()));(new Image).src=q+"//jserr.cnzz.com/log.php?"+c.join("&")}}catch(d){}return!0}var q=function(){for(var a=document.getElementsByTagName("script"),b=0,c=a.length;bthis.a.b[b].h&&delete this.a.b[b];this.I()}catch(c){h(c, "cCV failed")}},I:function(){try{var a=[],b;for(b in this.a.b){var c=[];c.push(b);c.push(this.a.b[b].da);c.push(this.a.b[b].h);var d=c.join("|");a.push(d)}if(0===a.length)return!0;var f=new Date;f.setTime(f.getTime()+157248E5);var k=this.O+"=";this.b=g(a.join("&"));k+=this.b;k+="; expires="+f.toUTCString();l.cookie=k+"; path=/"}catch(n){h(n,"sCV failed")}},sa:function(){try{return this.N=e.location.href}catch(a){h(a,"gCP failed")}},o:function(){try{return this.a.Ha=l.referrer||""}catch(a){h(a,"gR failed")}}, ua:function(){try{return this.a.B=e.navigator.systemLanguage||e.navigator.language,this.a.B=this.a.B.toLowerCase(),this.a.B}catch(a){h(a,"gL failed")}},xa:function(){try{return this.a.ba=e.screen.width&&e.screen.height?e.screen.width+"x"+e.screen.height:"0x0",this.a.ba}catch(a){h(a,"gS failed")}},w:function(){try{return this.a.Da=this.i("ntime")||"none"}catch(a){h(a,"gLVST failed")}},T:function(){try{return this.a.ea=this.i("ltime")||(new Date).getTime()}catch(a){h(a,"gFVBT failed")}},wa:function(){try{var a= this.i("cnzz_a");if(null===a)a=0;else{var b=1E3*this.w(),c=new Date;c.setTime(b);(new Date).getDate()===c.getDate()?a++:a=0}return this.a.La=a}catch(d){h(d,"gRT failed")}},va:function(){try{return this.a.C=this.i("rtime"),null===this.a.C&&(this.a.C=0),0b;b++)if(-1