text: !function(){"use strict";var p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function e(){}e.prototype.paramType=function(e){return Object.prototype.toString.call(e).replace("[object ","").replace("]","")},e.prototype.objHasKay=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},e.prototype.ArrayToObj=function(e){for(var t={},n=0;n<e.length;n++)t[e[n]]="";return t},e.prototype.keyValueToObje=function(e,t){var n={};return n[e]=t,n},e.prototype.toDeep=function(e){var t=null;if("Array"===this.paramType(e)){t=[];for(var n=0;n<e.length;n++)t.push(this.toDeep(e[n]))}else if("Object"===this.paramType(e))for(var r in t={},e)t[r]=this.toDeep(e[r]);else t=e;return t},e.prototype.toDeepObj=function(e,t){var n={};if("String"===this.paramType(e))return n=this.keyValueToObje(e,t);if("Array"===this.paramType(e))return n=this.ArrayToObj(e);if("Object"===this.paramType(e))for(var r in e)n[r]=this.toDeepObj(e[r]);return n},e.prototype.toDeep=function(e){var t=null;if("Array"===this.paramType(e)){t=[];for(var n=0;n<e.length;n++)t.push(this.toDeep(e[n]))}else if("Object"===this.paramType(e))for(var r in t={},e)t[r]=this.toDeep(e[r]);else t=e;return t},e.prototype.toObj=function(e,t){var n={};return"String"===this.paramType(e)?n=this.keyValueToObje(e,t):"Array"===this.paramType(e)?n=this.ArrayToObj(e):"Object"===this.paramType(e)?e:n},e.prototype.objMerge=function(e,t){if("Object"!==this.paramType(e)||"Object"!==this.paramType(t))return e;var n={};for(var r in e)n[r]=e[r];for(var o in t){var a=t[o],i=n[o],s=this.paramType(a),l=this.paramType(i);n[o]=i&&"Object"===l&&"Object"===s?this.objMerge(i,a):"Array"===l&&"Array"===s?this.arrayMergeUnique(i,a):"Function"===s&&"Function"===l?this.compose(i,a):a}return n},e.prototype.compose=function(){var n=arguments,r=n.length-1;return function(){for(var e=r,t=n[r].apply(this,arguments);e--;)t=n[e].call(this,t);return t}},e.prototype.fnMerge=function(e,t){return this.objMerge(e,t)},e.prototype.arrayUnique=function(e){for(var t=[],n={},r=0;r<e.length;r++)n[e[r]]||(n[e[r]]=!0,t.push(e[r]));return t},e.prototype.arrayMerge=function(e,t){for(var n=[],r=0;r<e.length;r++){var o=e[r];"Object"===this.paramType(e[r])&&(o=this.toDeep(e[r])),n.push(o)}for(var a=0;a<t.length;a++){var i=t[a];"Object"===this.paramType(t[a])&&(i=this.toDeep(t[a])),n.push(i)}return n},e.prototype.arrayMergeUnique=function(e,t){return e.push.apply(e,t),this.arrayUnique(e)},e.prototype.encode=function(e){var t,n,r,o,a,i,s,l="",c=0;for(e=function(e){e=e.replace(/\r\n/g,"\n");for(var t="",n=0;n<e.length;n++){var r=e.charCodeAt(n);r<128?t+=String.fromCharCode(r):(127<r&&r<2048?t+=String.fromCharCode(r>>6|192):(t+=String.fromCharCode(r>>12|224),t+=String.fromCharCode(r>>6&63|128)),t+=String.fromCharCode(63&r|128))}return t}(e);c<e.length;)o=(t=e.charCodeAt(c++))>>2,a=(3&t)<<4|(n=e.charCodeAt(c++))>>4,i=(15&n)<<2|(r=e.charCodeAt(c++))>>6,s=63&r,isNaN(n)?i=s=64:isNaN(r)&&(s=64),l=l+p.charAt(o)+p.charAt(a)+p.charAt(i)+p.charAt(s);return l},e.prototype.decode=function(e){var t,n,r,o,a,i,s="",l=0;for(e=e.replace(/[^A-Za-z0-9+/=]/g,"");l<e.length;)t=p.indexOf(e.charAt(l++))<<2|(o=p.indexOf(e.charAt(l++)))>>4,n=(15&o)<<4|(a=p.indexOf(e.charAt(l++)))>>2,r=(3&a)<<6|(i=p.indexOf(e.charAt(l++))),s+=String.fromCharCode(t),64!==a&&(s+=String.fromCharCode(n)),64!==i&&(s+=String.fromCharCode(r));return s=function(e){for(var t="",n=0,r=0,o=0,a=0;n<e.length;)(r=e.charCodeAt(n))<128?(t+=String.fromCharCode(r),n++):191<r&&r<224?(o=e.charCodeAt(n+1),t+=String.fromCharCode((31&r)<<6|63&o),n+=2):(o=e.charCodeAt(n+1),a=e.charCodeAt(n+2),t+=String.fromCharCode((15&r)<<12|(63&o)<<6|63&a),n+=3);return t}(s)},e.prototype.isEmptyObject=function(e){for(var t in e)return!1;return!0},e.prototype.format=function(e,t){var n=e.getTimezoneOffset(),r={"M+":(e=new Date(e.getTime()+60*n*1e3+288e5)).getMonth()+1,"d+":e.getDate(),"h+":e.getHours(),"m+":e.getMinutes(),"s+":e.getSeconds(),"q+":Math.floor((e.getMonth()+3)/3),"S+":e.getMilliseconds()};for(var o in/(y+)/.test(t)&&(t=t.replace(RegExp.$1,(e.getFullYear()+"").substr(4-RegExp.$1.length))),r)new RegExp("("+o+")").test(t)&&(t=t.replace(RegExp.$1,3===RegExp.$1.length?(""+r[o]).length<3?("00"+r[o]).substr(("00"+r[o]).length-3,("00"+r[o]).length):r[o]:("00"+r[o]).substr((""+r[o]).length)));return t},e.prototype.MD5=function(e,t){function l(e,t){return e<<t|e>>>32-t}function c(e,t){var n=2147483648&e,r=2147483648&t,o=1073741824&e,a=1073741824&t,i=(1073741823&e)+(1073741823&t);return o&a?2147483648^i^n^r:o|a?1073741824&i?3221225472^i^n^r:1073741824^i^n^r:i^n^r}function n(e,t,n,r,o,a,i){var s;return e=c(e,c(c((s=t)&n|~s&r,o),i)),c(l(e,a),t)}function r(e,t,n,r,o,a,i){var s;return e=c(e,c(c(t&(s=r)|n&~s,o),i)),c(l(e,a),t)}function o(e,t,n,r,o,a,i){return e=c(e,c(c(t^n^r,o),i)),c(l(e,a),t)}function a(e,t,n,r,o,a,i){return e=c(e,c(c(n^(t|~r),o),i)),c(l(e,a),t)}function i(e){for(var t="",n="",r=0;r<=3;r++)t+=(n="0"+(e>>>8*r&255).toString(16)).substr(n.length-2,2);return t}for(var s,p,d,u,h=function(e){for(var t,n=e.length,r=n+8,o=16*(1+(r-r%64)/64),a=Array(o-1),i=0,s=0;s<n;)i=s%4*8,a[t=(s-s%4)/4]=a[t]|e.charCodeAt(s)<<i,s++;return i=s%4*8,a[t=(s-s%4)/4]=a[t]|128<<i,a[o-2]=n<<3,a[o-1]=n>>>29,a}(e),g=1732584193,m=4023233417,f=2562383102,A=271733878,v=0;v<h.length;v+=16)g=n(s=g,p=m,d=f,u=A,h[v+0],7,3614090360),A=n(A,g,m,f,h[v+1],12,3905402710),f=n(f,A,g,m,h[v+2],17,606105819),m=n(m,f,A,g,h[v+3],22,3250441966),g=n(g,m,f,A,h[v+4],7,4118548399),A=n(A,g,m,f,h[v+5],12,1200080426),f=n(f,A,g,m,h[v+6],17,2821735955),m=n(m,f,A,g,h[v+7],22,4249261313),g=n(g,m,f,A,h[v+8],7,1770035416),A=n(A,g,m,f,h[v+9],12,2336552879),f=n(f,A,g,m,h[v+10],17,4294925233),m=n(m,f,A,g,h[v+11],22,2304563134),g=n(g,m,f,A,h[v+12],7,1804603682),A=n(A,g,m,f,h[v+13],12,4254626195),f=n(f,A,g,m,h[v+14],17,2792965006),g=r(g,m=n(m,f,A,g,h[v+15],22,1236535329),f,A,h[v+1],5,4129170786),A=r(A,g,m,f,h[v+6],9,3225465664),f=r(f,A,g,m,h[v+11],14,643717713),m=r(m,f,A,g,h[v+0],20,3921069994),g=r(g,m,f,A,h[v+5],5,3593408605),A=r(A,g,m,f,h[v+10],9,38016083),f=r(f,A,g,m,h[v+15],14,3634488961),m=r(m,f,A,g,h[v+4],20,3889429448),g=r(g,m,f,A,h[v+9],5,568446438),A=r(A,g,m,f,h[v+14],9,3275163606),f=r(f,A,g,m,h[v+3],14,4107603335),m=r(m,f,A,g,h[v+8],20,1163531501),g=r(g,m,f,A,h[v+13],5,2850285829),A=r(A,g,m,f,h[v+2],9,4243563512),f=r(f,A,g,m,h[v+7],14,1735328473),g=o(g,m=r(m,f,A,g,h[v+12],20,2368359562),f,A,h[v+5],4,4294588738),A=o(A,g,m,f,h[v+8],11,2272392833),f=o(f,A,g,m,h[v+11],16,1839030562),m=o(m,f,A,g,h[v+14],23,4259657740),g=o(g,m,f,A,h[v+1],4,2763975236),A=o(A,g,m,f,h[v+4],11,1272893353),f=o(f,A,g,m,h[v+7],16,4139469664),m=o(m,f,A,g,h[v+10],23,3200236656),g=o(g,m,f,A,h[v+13],4,681279174),A=o(A,g,m,f,h[v+0],11,3936430074),f=o(f,A,g,m,h[v+3],16,3572445317),m=o(m,f,A,g,h[v+6],23,76029189),g=o(g,m,f,A,h[v+9],4,3654602809),A=o(A,g,m,f,h[v+12],11,3873151461),f=o(f,A,g,m,h[v+15],16,530742520),g=a(g,m=o(m,f,A,g,h[v+2],23,3299628645),f,A,h[v+0],6,4096336452),A=a(A,g,m,f,h[v+7],10,1126891415),f=a(f,A,g,m,h[v+14],15,2878612391),m=a(m,f,A,g,h[v+5],21,4237533241),g=a(g,m,f,A,h[v+12],6,1700485571),A=a(A,g,m,f,h[v+3],10,2399980690),f=a(f,A,g,m,h[v+10],15,4293915773),m=a(m,f,A,g,h[v+1],21,2240044497),g=a(g,m,f,A,h[v+8],6,1873313359),A=a(A,g,m,f,h[v+15],10,4264355552),f=a(f,A,g,m,h[v+6],15,2734768916),m=a(m,f,A,g,h[v+13],21,1309151649),g=a(g,m,f,A,h[v+4],6,4149444226),A=a(A,g,m,f,h[v+11],10,3174756917),f=a(f,A,g,m,h[v+2],15,718787259),m=a(m,f,A,g,h[v+9],21,3951481745),g=c(g,s),m=c(m,p),f=c(f,d),A=c(A,u);return 32===t?i(g)+i(m)+i(f)+i(A):i(m)+i(f)},e.prototype.clientTimeZone=function(){var e=(new Date).getTimezoneOffset(),t=parseInt(e/60),n=e%60,r="-";return(t<=0||n<0)&&(r="+",t=-t,n<0&&(n=-n)),1===(t+="").length&&(t="0"+t),1===(n+="").length&&(n="0"+n),r+t+":"+n},e.prototype.delEmpty=function(e){var t={};for(var n in e){var r=!0,o=this.paramType(e[n]);"Object"!==o?(e[n]||"Number"===o&&!isNaN(e[n])||"Boolean"===o||(r=!1),!0===r&&(t[n]=e[n])):t[n]=this.delEmpty(e[n])}for(var a in t){var i=[];for(var s in t[a])i.push(t[a][s]);0===i.length&&t[a].constructor===Object&&delete t[a]}return t},e.prototype.addEvent=function(e,t,n,r){if(document.addEventListener)if("Array"!==this.paramType(e)&&"HTMLCollection"!==this.paramType(e)||!e.length||e===window)e.addEventListener(t,n,r);else for(var o=0;o<e.length;o++)this.addEvent(e[o],t,n,r);else if(e.length&&e!==window)for(var a=0;a<e.length;a++)this.addEvent(e[a],t,n);else e.attachEvent("on"+t,function(){return n.call(e,window.event)})},e.prototype.removeEvent=function(e,t,n,r){if(document.removeEventListener)if(e.length)for(var o=0;o<e.length;o++)this.removeEvent(e[o],t,n,r);else e.removeEventListener(t,n,r);else if(e.length)for(var a=0;a<e.length;a++)this.removeEvent(e[a],t,n);else e.detachEvent("on"+t,function(){return n.call(e,window.event)})},e.prototype.addEleLable=function(e,t,n,r){var o=document,a=o.createElement(e),i=r||o.body||o.getElementsByTagName("body")[0];return n&&(a.id=n),t&&(a.className=t),i.appendChild(a),a},e.prototype.addScript=function(e,t,n){var r=document,o=r.createElement("script"),a=r.getElementsByTagName("script");o.type="text/javascript",o.async=!0,o.id=e;var i="";if(t){if("Array"===this.paramType(t))return void(0,t[0])([t[1]],n);i="/"===t.charAt(t.length-1)?t:t+"/"}else if(r.getElementById("ARK_SDK"))i=r.getElementById("ARK_SDK").src;else for(var s=0;s<a.length;s++)if(a[s].src&&-1<a[s].src.indexOf("AnalysysAgent_JS_SDK")){i=a[s].src;break}var l=i.substring(0,i.lastIndexOf("/")+1);o.src=l+e+".min.js?v="+this.format(new Date,"yyyyMMddhhmm"),o.onload=setTimeout(n,500),a[0].parentNode.insertBefore(o,a[0])},e.prototype.GetUrlParam=function(e){var t=document.location.toString(),n=window.name;"String"===this.paramType(n)&&-1<n.indexOf(e)&&(t=n);var r,o=t.split("?");if(1<o.length){for(var a,i=[],s=1;s<o.length;s++)i.push.apply(i,o[s].split("&"));for(var l=0;l<i.length;l++)if(null!=(a=i[l].split("="))&&a[0]===e){var c=a[1];if(-1<a[1].indexOf("#")&&(c=c.split("#")[0]),-1<c.indexOf("%")){try{var p=decodeURI(c);if(r=p,new RegExp("[\\u4E00-\\u9FFF]+","g").test(r))return p}catch(d){}if("Object"===this.paramType(window.AnalysysModule)&&"Function"===this.paramType(window.AnalysysModule.decodeGBK))try{return window.AnalysysModule.decodeGBK(c,"gbk")}catch(d){}}return c}return""}return""},e.prototype.stringSlice=function(e,t){return e.slice(0,t)},e.prototype.trim=function(e){return"String"===this.paramType(e)?e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""):e},e.prototype.changeHash=function(e){var t=window.history.pushState,n=window.history.replaceState;window.history.pushState=function(){t.apply(window.history,arguments),e.apply(e)},window.history.replaceState=function(){n.apply(window.history,arguments),e.apply(e)};var r;"on"+(r=window.ActiveXObject||"ActiveXObject"in window?"hashchange":"popstate")in window&&this.addEvent(window,r,function(){setTimeout(e,0)})},e.prototype.deviceType=function(){var e=navigator.userAgent;return-1<e.indexOf("Tablet")&&e.indexOf("PC")<0||-1<e.indexOf("Pad")||-1<e.indexOf("Nexus 7")?"tablet":-1<e.indexOf("Mobi")||-1<e.indexOf("iPh")||-1<e.indexOf("480")?"phone":"desktop"},e.prototype.checkTypeList=function(e,t){var n=this.paramType(e);if("String"===n){var r=window.location.href,o=window.location.protocol+"//"+window.location.host,a=o+window.location.pathname;if(-1<[r,o,a+"index.html",a,a+window.location.hash].indexOf(e))return!0}else{if("Function"===n)return e.call(e,t);if("Array"===n)for(var i=0;i<e.length;i++)if(!0===this.checkTypeList(e[i],t))return!0}return!1},e.prototype.selectorAllEleList=function(e){var t=[],n=e.split(".")[0];if("Function"===this.paramType(document.querySelectorAll)&&e.indexOf("|")<0)try{return document.querySelectorAll(e)}catch(h){}var r="";if(-1<e.indexOf("#")){r=e.split(".")[0].split("#")[1];var o=document.getElementById(r);o&&t.push(o)}else{if(e.indexOf(".")<0)return document.getElementsByTagName(n);if(-1<e.indexOf("[")&&-1<e.indexOf("]"))for(var a=document.getElementsByTagName("*"),i=e.replace("[","").replace("]",""),s=0;s<a.length;s++){var l=a[s].getAttribute(i);"String"===this.paramType(l)&&t.push(o)}else for(var c=document.getElementsByTagName(n),p=0;p<c.length;p++){var d=c[p],u="String"===this.paramType(d.className)?d.className.split(" "):[];0<u.length&&-1<(n+"."+u.join(".")).indexOf(e)&&t.push(d)}}return t},e.prototype.getDomainFromUrl=function(e,t){if(""===t)return"";var n=(t=t||window.location.hostname).split("/");2<n.length&&(t=n[2]);if(!0===/^(\d+)\.(\d+)\.(\d+)\.(\d+)$/.test(t)||"localhost"===t)return"";var r=t.split("."),o=!0===e?2:r.length;("Number"!==this.paramType(o)||o<2)&&(o=2);var a=[];if(!(1<r.length))return"";r.length<o&&(o=r.length);for(var i=r.length-1;0<=i&&a.length!==o;i--)a.push(r[i]);return a.reverse().join(".")},e.prototype.isiOS=!!navigator.userAgent.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/),e.prototype.delNotHybrid=function(e){return delete e.$is_first_day,delete e.$session_id,delete e.$is_time_calibrated,delete e.$startup_time,e},e.prototype.getUrlPath=function(){var e=window.location.hash;return-1<e.indexOf("?")&&(e=e.split("?")[0]),window.location.host+window.location.pathname+e},e.prototype.detectZoom=function(){for(var e=this.selectorAllEleList("meta"),t=1,n=0;n<e.length;n++){var r=e[n].getAttribute("content");if(r&&-1<r.indexOf("initial-scale="))for(var o=r.split(","),a=0;a<o.length;a++)-1<o[a].indexOf("initial-scale")&&(t=parseFloat(o[a].split("=")[1]))}return t};var S=new e;function N(e,t){var n="";if("input"===e.tagName.toLowerCase()?n=e.value||"":"img"===e.tagName.toLowerCase()?n=e.getAttribute("alt")||e.getAttribute("title")||"":"a"===e.tagName.toLowerCase()&&(n=e.getAttribute("title")||""),!n)for(var r=e.childNodes,o=0;o<r.length;o++)3===r[o].nodeType&&(n+=r[o].nodeValue);return n=n&&"String"===S.paramType(n)?n.replace(/[\r\n]/g," ").replace(/[ ]+/g," "):"","input"===e.tagName.toLowerCase()&&!0!==t?"":n=S.trim(n)}var T={hashCode:"",width:0,height:0,aleft:0,atop:0,classes:[],clickable:!1,alpha:1,hidden:0,text:"",subviews:[],new_path:[],url:""},x={id:"","class":[],properties:{alpha:{values:[{value:1}]},userInteractionEnabled:{values:[{value:!0}]},enabled:{values:[{value:!0}]},hidden:{values:[{value:!1}]},subviews:{values:[{value:[]}]},superview:{values:[{value:0}]},frame:{values:[{value:{AX:0,AY:0,Height:0,Width:0}}]}},new_path:[],url:"",controlEvent:"64"},I=0,k=0,K=[];function C(e,t,n){if(1!==e.nodeType)return null;var r="web"+(0===I?k:k+""+I),o=e,a=[],i=[],s=e.tagName.toLowerCase(),l=!0;for(-1<["a","button","input","select","textarea"].indexOf(s)&&(l=!1);null!==o;){var c=o.children;if(!c)break;if(0<c.length)for(var p=0;p<c.length;p++)if(I++,1===c[p].nodeType&&c[p].tagName&&["canvas","svg","use","script","meta","style"].indexOf(c[p].tagName.toLowerCase())<0)if("TABLE"===c[p].tagName)for(var d=c[p].children,u=0;u<d.length;u++){I++;var h=C(d[u],r,l),g=D(d[u],"position");h&&("absolute"===g?i.push(h):a.push(h))}else{var m=C(c[p],r,l),f=D(c[p],"position");m&&("absolute"===f?i.push(m):a.push(m))}a=S.arrayMerge(a,i),o=o.children}var A,v,y,b,_,E,w,R,O={};return(O=!0===S.isiOS?function(e,t,n,r,o){var a=JSON.parse(JSON.stringify(x)),i=B(e);a.id=t,a.properties.frame.values[0].value.Width=(e.offsetWidth||e.scrollWidth||e.clientWidth)*L,a.properties.frame.values[0].value.Height=(e.offsetHeight||e.offsetHeight||e.clientHeight)*L,a.properties.frame.values[0].value.AX=i.left*L,a.properties.frame.values[0].value.AY=i.top*L;var s=P(e);a.new_path=s.newPath,a["class"]=e.className&&"String"===S.paramType(e.className)?e.className.split(" "):[],a.eg_text=N(e),a.properties.enabled.values[0].value=!0,a.properties.subviews.values[0].value=r,a.properties.superview.values[0].value=n,a.bodyWidth=(window.innerWidth||document.body.offsetWidth||document.body.scrollWidth||document.body.clientWidth)*L,a.bodyHeight=(window.innerHeight||document.body.offsetHeight||document.body.scrollHeight||document.body.clientHeight)*L,a.bodyScrollTop=i.bodyScrollTop*L,a.bodyScrollLeft=i.bodyScrollLeft*L,a.eleScrollTop=i.eleScrollTop*L,a.eleScrollLeft=i.eleScrollLeft*L;var l=(""!==e.style.filter?e.style.filter.match(/opacity:[/S/s]*?\)/)[0]:e.style.opacity)||1;a.properties.alpha.values[0].value=l,!1===o&&(a.properties.userInteractionEnabled.values[0].value=!1,a.properties.enabled.values[0].value=!1);return a}(e,r,t,a,n):(A=e,v=r,y=t,b=a,_=n,E=JSON.parse(JSON.stringify(T)),w=B(A),R=P(A),E.new_path=R.newPath,E.hashCode=v,E.parentid=y,E.bodyWidth=(window.innerWidth||document.body.offsetWidth||document.body.scrollWidth||document.body.clientWidth)*L,E.bodyHeight=(window.innerHeight||document.body.offsetHeight||document.body.scrollHeight||document.body.clientHeight)*L,E.innerHeight={innerHeight:window.innerHeight,scrollHeight:document.body.scrollHeight,offsetHeight:document.body.offsetHeight,clientHeight:document.body.clientHeight},E.width=(A.offsetWidth||A.scrollWidth||A.clientWidth)*L,E.height=(A.offsetHeight||A.scrollHeight||A.clientHeight)*L,E.aleft=(w.left-w.eleScrollLeft)*L,E.atop=(w.top-w.eleScrollTop)*L,E.bodyScrollTop=0,E.bodyScrollLeft=0,E.eleScrollTop=w.eleScrollTop*L,E.eleScrollLeft=w.eleScrollLeft*L,E.clickable=!1!==_,E.text=N(A),E.alpha=(""!==A.style.filter?A.style.filter.match(/opacity:[/S/s]*?\)/)[0]:A.style.opacity)||1,E.classes=A.className&&"String"===S.paramType(A.className)?A.className.split(" "):[],E.subviews=b,E)).url=S.getUrlPath(),O.root_id="web"+k,"TABLE"!==e.tagName&&K.push(O),r}var L=S.detectZoom();var _={visitorEventList:[],visitorProperties:{},getVisualDomList:function(e){if(K=[],k=e||+new Date,C(document.body,I),!(I=0)===S.isiOS)return JSON.stringify(K);window.AnalysysAgentHybrid.onVisualDomList(JSON.stringify(K))},onEventList:function(e){e=e||[],"String"===S.paramType(e)&&(e=JSON.parse(e));for(var t=[],n=0;n<e.length;n++)1!==e[n].isAll&&e[n].target_page&&e[n].target_page!==S.getUrlPath()||(e[n].bindings=e[n].props_binding,t.push(e[n]));_.visitorEventList=t},getProperty:function(e){"String"===S.paramType(e)&&(e=JSON.parse(e));var t=O(e);if(!0===S.isiOS)return JSON.stringify(t);window.AnalysysAgentHybrid.onProperty(JSON.stringify(t))},onProperty:function(e,t){if("Function"!==S.paramType(_.visitorProperties[t]))return!1;if("String"===S.paramType(e)&&(e=JSON.parse(e)),"Array"===S.paramType(e)){for(var n={},r=0;r<e.length;r++)n=S.objMerge(n,e[r]);e=n}return _.visitorProperties[t].call(_.visitorProperties[t],e),delete _.visitorProperties[t],!0}},t={base:{outer:["appid","xwho","xwhat","xwhen","xcontext"],xcontext:["$lib","$lib_version","$platform","$debug","$is_login"]},$startup:{xcontext:["$screen_width","$screen_height","$web_crawler","$time_zone","$language","$session_id","$is_first_time","$is_first_day","$utm_campaign_id","$utm_source","$utm_medium","$utm_term","$utm_content","$utm_campaign","$is_time_calibrated"]},$track:{xcontext:["$screen_width","$screen_height","$web_crawler","$time_zone","$language","$is_first_day","$session_id","$utm_campaign_id","$utm_source","$utm_medium","$utm_term","$utm_content","$utm_campaign","$is_time_calibrated"]},$pageview:{xcontext:["$screen_width","$screen_height","$web_crawler","$time_zone","$language","$session_id","$is_first_day","$referrer","$referrer_domain","$title","$url","$startup_time","$utm_campaign_id","$utm_source","$utm_medium","$utm_term","$utm_content","$utm_campaign","$is_time_calibrated"]},$alias:{xcontext:["$original_id"]},$getPresetProperties:{xcontext:["$screen_width","$screen_height","$time_zone","$session_id","$language"]}},h={base:{appid:"",$debug:0,uploadURL:"",auto:!0,autoProfile:!0,hash:!0,autoWebstay:!0,singlePage:!0,pageProperty:{},$lib_version:"4.5.4",cross_subdomain:!0,cross_subdomain_super:!0,allowTimeCheck:!1,isHybrid:!1,getDataTimeout:1e4,sendDataTimeout:1e4,isMessageSDK:!1},status:{code:200,FnName:"",key:"",value:"",errorCode:"",successCode:""},keywords:t.base.xcontext,baseJson:t.base.outer,sendNum:1800};function d(e){for(var t=e.tagName.toLowerCase(),n="",r="String"!==S.paramType(e.className)?[]:e.className.split(" "),o=0;o<r.length;o++)r[o]&&r[o].indexOf("ARK")<0&&(n+="."+r[o]);return{className:n,id:e.id||"",tagName:t}}function P(e,t){for(var n,r,o,a=[],i=[],s=e;null!=s;){1===s.nodeType?(n=d(s),!(r=null)!==t&&(r=function(e){var t=e.parentNode,n=0,r=!0,o=null;for(;null!==t&&!0===r;){if(1===t.nodeType){for(var a=t.children,i=[],s=[],l=0;l<a.length;l++){var c=d(a[l]);i.push(c),e===a[l]&&(s=c,n=l)}for(var p=0;p<a.length;p++)!0===m({newPath:i[p]},s)&&(o=n);r=!1}else t=t.parentNode}return{row:o,index:n}}(s)),a.push(n.tagName+(n.id?"#"+n.id:"")+n.className),o={id:n.id,tagName:n.tagName},null!==n.row?o.row=r.row:o.index=r.index,i.push(S.delEmpty(o)),s=s.parentNode):s=s.parentNode}return{path:a.join("<"),newPath:i}}function m(e,t,n){var r=e.newPath,o=S.arrayMerge([],r),a=S.arrayMerge([],t),i=S.arrayMerge([],r);if(o===a)return!0;if(o.length<a.length)return!1;if(e.ele&&o.length>a.length){if(!0===n)return!1;var s=o.length-a.length;o.splice(0,s);for(var l=e.ele,c=0;c<s;c++)l=l.parentNode||document.body;e.ele=l,i=S.arrayMerge([],o)}for(var p=!0,d=0;d<a.length;){var u=a[d],h=o[d];if(!0===S.objHasKay(h,"row")&&!1===S.objHasKay(u,"row")&&!1===S.objHasKay(h,"index")&&delete h.row,u.id&&u.id!==h.id||u.tagName!==h.tagName||"String"===S.paramType(u.className)&&(h.className.indexOf(u.className)<0||u.className.indexOf(h.className)<0)||h.index!==u.index||h.row!==u.row){p=!1;break}d++}return!0===p&&(e.newPath=i),p}function f(e,t){for(var n,r,o,a=0;a<t.length;a++){var i=t[a];if("text"===i.prop_name){if(N(e)!==i.value)return!1}else if("class"===i.prop_name&&(n=e,r=i.value,o=void 0,o=n?n.className:null,!("String"===S.paramType(o)&&"String"===S.paramType(r)&&(o=S.trim(o)||null,r=S.trim(r)||null,o&&r&&-1<o.indexOf(r)))))return!1}return!0}function E(e,t,n){var r=!0,o=!1;if(t.bindings=t.bindings||t.props_binding,e.newPath&&t.newPath&&(o=!0,r=m(e,t.newPath,n)),!0===r&&t.bindings&&0<t.bindings.length&&(o=!0,r=f(e.ele,t.bindings)),o)return r;var a=e.path||e.link,i=t.path||t.link,s=e.index||0,l=t.index||0,c=e.ele||null,p=t.isText||"";if(""!==p&&p!==N(c))return!1;if(a===i&&s===l)return!0;var d=a.split("<"),u=i.split("<");if(d.length<u.length)return!1;if(d.length>u.length){for(var h=d.length-u.length,d=d.splice(h),g=c;0<h&&g;)g=g.parentNode,h--;if(!g)return!1;s=w(g,d.join("<"))}return!(!function(e,t){for(var n=0;n<e.length;n++)if(e[n].split(".")[0]!==t[n].split(".")[0])return;return 1}(d,u)||s!==l)}function v(e){for(var t=e[0],n=t.id,r=t.className||"",o=t.tagName,a=n?"#"+n:o+r,i=S.selectorAllEleList(a),s=0,l=[];s<i.length;){var c=i[s],p=P(c);!0===X(p.newPath,e)&&!0===m(p,e)&&l.push(c),s++}return l}function A(e){var t=s(e);if(0!==t.length){var n=t[0];-1<n.elePath.indexOf("#")&&(n.elePath="#"+n.elePath.split("#")[1]);for(var r=S.selectorAllEleList(n.elePath),o=[],a=0;a<r.length;a++){!0===E({path:P(r[a],"noIndex").path},{path:e})&&o.push(r[a])}return o}}function s(e){var t=[];if(e.indexOf("<")<0)return[{elePath:e}];for(var n=e.split("<"),r=0;r<n.length;r++){var o=n[r];t.push({elePath:o})}return t}function B(e){for(var t=0,n=0,r=function(e){for(var t=0,n=0;null!=e&&e!==document.body;)t+=e.scrollTop||0,n+=e.scrollLeft||0,e=e.parentNode;return{scrollTop:t,scrollLeft:n}}(e),o=r.scrollTop,a=r.scrollLeft,i=!1;e&&e.tagName&&["canvas","svg","use","script","meta","style"].indexOf(e.tagName.toLowerCase())<0;){t+=e.offsetTop,n+=e.offsetLeft;try{var s=D(e,"transform");s&&"none"!==s&&(n+=parseFloat(s.substring(6).split(",")[4]),t+=parseFloat(s.substring(6).split(",")[5]))}catch(c){}try{var l=D(e,"position");l&&"fixed"===l&&(i=!0)}catch(c){}e=e.offsetParent}return!0===i&&(t+=o,n+=a,t+=document.body.scrollTop||document.documentElement.scrollTop||0,n+=document.body.scrollLeft||document.documentElement.scrollLeft||0),{top:t,left:n,hidden:!1,bodyScrollTop:document.documentElement.scrollTop||document.body.scrollTop||0,bodyScrollLeft:document.documentElement.scrollLeft||document.body.scrollLeft||0,eleScrollTop:o,eleScrollLeft:a}}var u=+new Date;function l(e,t){for(;e&&["BODY","HTML"].indexOf(e.tagName.toUpperCase())<0;){if("Array"===S.paramType(t)){for(var n=0;n<t.length;n++)if(e===t[n])return!0}else if(e===t)return!0;e=e.parentNode}return!1}function D(e,t){var n=document.defaultView;return n&&n.getComputedStyle?document.defaultView.getComputedStyle(e,null)[t]:e.currentStyle?e.currentStyle[t]:0}function w(e,t){var n=s(t);if(0===n.length)return 0;var r=n[0];-1<r.elePath.indexOf("#")&&(r.elePath="#"+r.elePath.split("#")[1]);for(var o=S.selectorAllEleList(r.elePath),a=0,i=0;i<o.length;i++){if(!0===E({path:P(o[i]).path},{path:t})){if(o[i]===e)return a;a++}}return 0}function y(e,t){var n=435,r=482,o=4;"debug"===t&&(n=260,r=270,o=4);var a=function(e){var t={top:0,left:0,hidden:!0};if(!e)return t;var n,r={top:(n=e.getBoundingClientRect()).top,left:n.left,hidden:!1};return(t={top:r.top,left:r.left,hidden:r.hidden})||{top:0,left:0,hidden:!0}}(e),i=a.top,s=a.left,l=e.offsetWidth,c=e.offsetHeight,p=s,d=i-r-o;return document.body.offsetWidth<p+n&&(p=s-n+l)<0&&(p=o),document.body.offsetHeight<d+r+o&&(d=i-r-o),d<0&&(d=i+c+o),{top:d,left:p}}function R(e,t){var n=S.arrayMerge([],e),r=S.arrayMerge([],t.h5_path),o=t.step;0!==o&&n.splice(0,o),r.splice(r.length-1,1);for(var a=0;a<n.length;a++)r.push(n[a]);return r}function O(e,t,n){if(!e)return{};"Object"===S.paramType(e)&&(e=[e]);for(var r,o={},a=[],i={},s=0;s<e.length;s++){var l,c,p,d=e[s],u=d.target.h5_path;u?(c=(l=v(u)[0])?N(l,!0):"",p=U(d.properties,c),o=S.objMerge(o,p)):a.push(d)}if(0<a.length){if(!1!==S.isiOS)return _.visitorProperties[n]=(r=o,function(e){r=S.objMerge(r,e),t(r)}),void(!0===window.AnalysysModule.moduleStatus?window.AnalysysModule.getPro(a,n):window.webkit.messageHandlers.AnalysysAgentGetProperty.postMessage([JSON.stringify(a),n]));i=window.AnalysysAgentHybrid.getProperty(JSON.stringify(a)),"String"===S.paramType(i)&&(i=JSON.parse(i)),o=S.objMerge(o,i)}else!0===S.isiOS&&!0===h.base.isHybrid&&t&&t(o);return o}function U(e,t){for(var n={},r=0;r<e.length;r++){var o=e[r],a=o.prop_type;t=!0===S.objHasKay(o,"value")?o.value:t;var i=o.regex,s=o.key;if(i)try{i=S.decode(i),t=new RegExp(i).exec(t)}catch(l){}if("number"===a)try{t=Number(t)}catch(l){}else if("bool"===a)"Boolean"!==S.paramType(t)&&("true"===t||"1"===t?t=!0:"false"!==t&&"0"!==t||(t=!1));else try{t=t.toString()}catch(l){}n[s]=t}return n}function V(e,t){for(var n=[],r=(t||document.body).childNodes,o=0;o<r.length;o++){var a=r[o],i="String"===S.paramType(a.className)?a.className:"";if(1===a.nodeType&&i.indexOf("ARK_")<0){for(var s,l=P(a),c={newPath:l.newPath,ele:a,path:l.path},p=0;p<e.length;p++){var d=e[p];1==X(c.newPath,d.newPath)&&!0===E(c,d,!0)&&(n.push({config:d,ele:a,newPath:l.newPath}),e[p].inPage=!0)}0<(a.childNodes||[]).length&&(0<(s=V(e,a)).length&&(n=S.arrayMerge(n,s)))}}return n}function i(e){for(var t=[],n=0;n<e.length;n++)t.push(e[n].tagName);return t.join(">")}function X(e,t){if(!t)return!!e;var n=JSON.parse(JSON.stringify(e)),r=JSON.parse(JSON.stringify(t));n.reverse(),r.reverse();var o=i(n),a=i(r);return-1<o.indexOf(a)}var g=window.ARK_VISUAL&&window.ARK_VISUAL.config;function M(e){console.log("发送可视化SDK初始化完毕消息===>",JSON.stringify(e,null,2)),"Object"===S.paramType(e)&&(e=JSON.stringify(e)),window.parent.postMessage(e,"*")}!function(e,t){void 0===t&&(t={});var n,r,o=t.insertAt;e&&"undefined"!=typeof document&&(n=document.head||document.getElementsByTagName("head")[0],(r=document.createElement("style")).type="text/css","top"===o&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=e:r.appendChild(document.createTextNode(e)))}(".ARK_BOX {\n    position: fixed;\n    width: 390px;\n    height: 100%;\n    background-color: #ffffff;\n    border-radius: 4px;\n    z-index: 10000000000 !important;\n    background: #ffffff;\n    color: #000000;\n    box-shadow: 0px 6px 18px 0px rgba(0, 0, 0, 0.15);\n    -webkit-box-shadow: 0px 6px 18px 0px rgba(0, 0, 0, 0.15);\n    -moz-box-shadow: 0px 6px 18px 0px rgba(0, 0, 0, 0.15);\n    padding: 20px 17px;\n    font-size: 16px;\n    top:0;\n    right: 0;\n    font-family: PingFangSC-Medium;\n}\n.ARK_BOX input[disabled]{\n    cursor: not-allowed;\n}\n.ARK_BOX .ARK_TITLE{\n    width: 72px;\n\tfont-size: 18px;\n\tfont-weight: normal;\n\tfont-stretch: normal;\n\tline-height: 18px;\n\tletter-spacing: 0px;\n    color: #333333;\n    font-family: inherit;\n    \n}\n.ARK_BOX .fl{\n    float: left;\n}\n.ARK_BOX .pb-20{\n    padding-bottom: 20px;\n}\n.ARK_BOX .textR{\n    text-align: right;\n}\n.ARK_BOX button{\n    border: 0;\n}\n.ARK_BOX button:focus,.ARK_BOX button:active{\n    border: 0;\n    outline:0;\n}\n.ARK_BOX .ARK_TITLE.MID{\n    font-size: 14px;\n    line-height: 14px;\n    color: #252d39;\n    font-weight: 500;\n    line-height: 1.1;\n    color: inherit;\n}\n.ARK_BOX .ARK_TITLE.SM{\n    font-size: 13px;\n    line-height: 33px;\n    color: #4c6072;\n    width: 56px;\n    display: inline-block;\n    text-align: right;\n}\n.ARK_BOX_HEADER {\n    font-size: 16px;\n    text-align: left;\n    color: #333333;\n    cursor: move;\n    z-index: 1;\n    position: absolute;\n    top: 0;\n    width: 100%;\n    padding: 20px 17px 29px 17px;\n    left: 0;\n    background-color: #ffffff;\n}\n.ARK_CONTENT{\n    height: 100%;\n    position: relative;\n    /* top: 170px; */\n    width: 100%;\n    left: 0;\n    /* padding: 0 17px; */\n    padding-top: 165px;\n}\n.ARK_EVENT{\n    position: absolute;\n    top: 70px;\n    width: 100%;\n    background-color: #ffffff;\n    left: 0;\n    padding: 0 17px 10px 17px;\n    z-index: 1;\n}\n.ARK_BOX_PAGE {\n    position: relative;\n    color: #666666;\n    font-size: 12px;\n}\n\n.ARK_BOX_EVENT_ID .v-radio-wrapper,.ARK_BOX_PAGE .v-radio-wrapper {\n    font-size: 14px;\n    line-height: 30px;\n        color: #252d39;\n    font-weight: 400;\n    font-stretch: normal;\n    cursor: pointer;\n    font-size: 14px;\n    display: inline-block;\n    margin-right: 16px;\n}\n\n.ARK_BOX_EVENT_ID label,.ARK_BOX_PAGE label {\n    font-size: 12px;\n    bottom: 0;\n    margin: 0;\n    max-width: 100%;\n}\n\n.ARK_BOX_EVENT_ID .v-radio-wrapper span ,.ARK_BOX_PAGE .v-radio-wrapper span {\n    font-size: 12px;\n    color: #999;\n    font-weight: 400;\n    font-stretch: normal;\n}\n\n.ARK_BOX_EVENT_ID .v-radio-wrapper span.wbText,.ARK_BOX_PAGE .v-radio-wrapper span.wbText {\n    font-size: 14px;\n    color: #333;\n    font-weight: 400;\n}\n\n.ARK_BOX_EVENT_ID .v-radio-ARK ,.ARK_BOX_PAGE .v-radio-ARK {\n    vertical-align: middle;\n    white-space: nowrap;\n    cursor: pointer;\n    outline: 0;\n    line-height: 1;\n    position: relative;\n    display: inline-block;\n    margin-right: 8px;\n}\n\n.ARK_BOX_EVENT_ID .boxRadio,.ARK_BOX_PAGE .boxRadio {\n    width: 270px;\n    display: inline-grid;\n}\n\n.ARK_BOX_PAGE .ml-24 {\n    margin-left: 24px;\n}\n\n.ARK_BOX_PAGE.mb-15 {\n    margin-bottom: 15px;\n}\n\n.ARK_BOX_PAGE.mb-16 {\n    margin-bottom: 16px;\n}\n.ARK_BOX_EVENT_ID.mb-40{\n    margin-bottom: 40px;\n}\n.ARK_BOX .ml-12{\n    margin-left: 12px;\n}\n.ARK_BOX .mr-12{\n    margin-right: 12px;\n}\n.ARK_BOX .mr-25{\n    margin-right: 25px;\n}\n.ARK_BOX .ml-8{\n    margin-left: 8px;\n}\n.ARK_BOX .fr{\n    float: right;\n}\n.ARK_BOX_EVENT_ID .v-radio-checked .v-radio-inner,.ARK_BOX_PAGE .v-radio-checked .v-radio-inner {\n    border-color: #0098e1;\n    background-color: #0098e1;\n}\n.ARK_BOX_EVENT_ID .v-radio-wrapper-disabled .v-radio-checked .v-radio-inner,.ARK_BOX_PAGE .v-radio-wrapper-disabled .v-radio-checked .v-radio-inner {\n    border-color: #ddd;\n    background-color:#ddd;\n}\n.ARK_BOX_EVENT_ID .v-radio-checked .v-radio-inner{\n    background-color: #fff;\n    border-radius: 7px;\n}\n.ARK_BOX_EVENT_ID .v-radio-checked .v-radio-inner:after{\n    background-color: #0098e1;\n}\n\n.ARK_BOX_EVENT_ID .v-radio-inner:after,.ARK_BOX_PAGE .v-radio-inner:after {\n    opacity: 1;\n    -webkit-transform: scale(1);\n    transform: scale(1);\n    -webkit-transition: all .2s ease-in-out;\n    transition: all .2s ease-in-out;\n    transition: all .2s ease-in-out;\n}\n\n.ARK_BOX_PAGE .v-radio-inner {\n    width: 14px;\n    height: 14px;\n    top: 0;\n    left: 0;\n    border: 1px solid #d7dde4;\n    border-radius: 2px;\n    background-color: #fff;\n    transition: #d7dde4 .2s ease-in-out, #fff .2s ease-in-out;\n    position: relative;\n    display: inline-block;\n}\n.ARK_BOX_EVENT_ID .v-radio-inner {\n    width: 14px;\n    height: 14px;\n    top: 0;\n    left: 0;\n    border: 1px solid #d7dde4;\n    border-radius: 7px;\n    background-color: #fff;\n    transition: #d7dde4 .2s ease-in-out, #fff .2s ease-in-out;\n    position: relative;\n    display: inline-block;\n}\n\n.ARK_BOX_PAGE .v-radio-checked .v-radio-inner:after {\n    transform: rotate(45deg) scale(.8);\n}\n\n.ARK_BOX_EVENT_ID .v-radio-wrapper.v-radio-wrapper-disabled ,.ARK_BOX_PAGE .v-radio-wrapper.v-radio-wrapper-disabled {\n    color: #ddd;\n}\n\n.ARK_BOX_EVENT_ID .v-radio-wrapper.v-radio-wrapper-disabled .wbText,.ARK_BOX_PAGE .v-radio-wrapper.v-radio-wrapper-disabled .wbText {\n    color: #ddd;\n}\n\n.ARK_BOX_EVENT_ID .v-radio-wrapper-disabled,.ARK_BOX_PAGE .v-radio-wrapper-disabled {\n    cursor: not-allowed;\n    color: #ddd;\n}\n\n.ARK_BOX_PAGE .v-radio-inner:after {\n    content: \"\";\n    display: inline-block;\n    width: 4px;\n    height: 8px;\n    position: absolute;\n    top: 1px;\n    left: 4px;\n    border: 2px solid #fff;\n    border-top: 0;\n    border-left: 0;\n    -ms-transform: rotate(45deg) scale(0);\n    transform: rotate(45deg) scale(0);\n    transition: all .2s ease-in-out;\n}\n.ARK_BOX_EVENT_ID .v-radio-inner:after{\n    content: \"\";\n    width: 8px;\n    height: 8px;\n    border-radius: 4px;\n    top: 2px;\n    left: 2px;\n    transition: all .2s ease-in-out;\n    display: inline-block;\n    position: absolute;\n    transition: all .2s ease-in-out;\n}\n\n\n.ARK_BOX_EVENT_ID input[type=checkbox],\n.ARK_BOX_EVENT_ID input[type=radio],\n.ARK_BOX_PAGE input[type=checkbox],\n.ARK_BOX_PAGE input[type=radio] {\n    margin: 4px 0 0;\n    margin-top: 1px;\n    line-height: normal;\n    -webkit-box-sizing: border-box;\n    -moz-box-sizing: border-box;\n    box-sizing: border-box;\n    padding: 0;\n}\n\n.ARK_BOX_EVENT_ID .v-radio-input,.ARK_BOX_PAGE .v-radio-input {\n    width: 100%;\n    height: 100%;\n    position: absolute;\n    top: 0;\n    bottom: 0;\n    left: 0;\n    right: 0;\n    z-index: 1;\n    cursor: pointer;\n    opacity: 0;\n}\n\n.ARK_BOX_CENTER {\n    line-height: 16px;\n    font-size: 16px;\n}\n\n.ARK_BOX_SMALL {\n    font-size: 12px;\n    line-height: 30px;\n    color: #999999;\n}\n\n.ARK_BOX_SMALL span {\n    color: #0097e0;\n}\n\n.ARK_BOX_EVENT_ID {\n    position: relative;\n    margin-bottom: 6px;\n}\n\n.ARK_BOX .ARK_title{\n    /* width: 70px; */\n    /* height: 36px; */\n    text-align: right;\n    /* display: inline-block; */\n    font-size: 14px;\n    line-height: 36px;\n    margin-right: 9px;\n    color: #666666;\n}\n\n.ARK_BOX ul,.ARK_BOX li{ \n\n    list-style:none;\n}\n.ARK_BOX .PROLIST{\n    margin: 0;\n    padding: 0;\n    margin-top: 10px;\n    max-height: 360px;\n    border: 1px solid transparent;\n}\n.ARK_BOX_EVENT_ID input ,.ARK_BOX_PAGE input ,.ARK_BOX_EVENT_ID select{\n    width: 274px;\n    height: 30px;\n    background-color: transparent;\n    border-radius: 0px;\n    border: 0;\n    border-bottom: 1px solid #d2d2d2;\n    color: #333333;\n    font-size: 14px;\n    line-height: 30px;\n    outline: 0 none !important;\n    margin-left: 16px;\n}\n\n.ARK_BOX_EVENT_ID input.error {\n    border-color: #e00000;\n}\n.ARK_BOX_EVENT_ID input.PROID{\n    width: 246px;\n    margin-left: 12px;\n    background-color: #f4f9fd;\n}\n.ARK_BOX_EVENT_ID input.PROVALUE{\n    width: 188px;\n    margin-left: 12px;\n    background-color: #f4f9fd;\n}\n.ARK_BOX_EVENT_ID input.PROVALUE.width246{\n    width: 246px;\n}\n.ARK_BOX_EVENT_ID input.PROREX{\n    width: 216px;\n    margin-left: 12px;\n    background-color: #f4f9fd;\n}\n.ARK_BOX .PROTYPE,.ARK_BOX .PAGETYPE{\n    width: 246px;\n    margin-left: 12px;\n    background-color: #f4f9fd;\n    background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAGCAYAAAD68A/GAAAAAXNSR0IArs4c6QAAAIxJREFUCB1jzG9dJv6f6Zf/pMqEWQxYQF77vBQmDtatTAyMfxT+//vXn9c6vwldXV77/FqG/4yT/n//L8c0sSruJDMTg+9/hv/FyIpBiv7/+1/BxPjfB6SGEWZKQfs8p7//GDYzMjD2MjAx/AYpAhkwoTJpH0gNXCGIA1MMYiMrAvExQG7bInsQRpcAAB00POpoifV7AAAAAElFTkSuQmCC) no-repeat scroll right center transparent;\n    cursor: pointer;\n}\n\n.ARK_BOX input::-webkit-input-placeholder {\n    font-size: 14px;\n    color:#bbbec4\n}\n.ARK_BOX input:-ms-input-placeholder {\n    font-size: 14px;\n    color:#bbbec4\n}\n.ARK_BOX input::placeholder {\n    font-size: 14px;\n    color:#bbbec4\n}\n.ARK_BOX input:focus,.ARK_BOX input:hover {\n    border-color:#57a3f3\n}\n.ARK_BOX input::-webkit-input-placeholder {\n    font-size: 14px;\n    color:#bbbec4\n}\n.ARK_BOX input:-ms-input-placeholder {\n    font-size: 14px;\n    color:#bbbec4\n}\n.ARK_BOX input::placeholder {\n    font-size: 14px;\n    color:#bbbec4\n}\n.ARK_BOX input:focus,#.ARK_BOX input:hover {\n    border-color:#57a3f3\n}\n.ARK_BOX_EVENT_ID_ERROR {\n    display: none;\n    position: absolute;\n    bottom: -19px;\n    left: 79px;\n    font-weight: 700;\n    font-size: 12px;\n    color: red;\n}\n\n.ARK_BOX_ChOICE {\n    width: 199px;\n    height: 95px;\n    float: left;\n    position: relative;\n    border-bottom: 1px solid #f1f1f1;\n}\n\n.ARK_BOX_ChOICE .ARK_BOX_LIKENUM {\n    font-size: 12px;\n    color: #0098e1;\n    line-height: 30px;\n    width: 100%;\n}\n\n.ARK_BOX_ChOICE span {\n    float: left;\n    margin-left: 18px;\n}\n\n.ARK_BOX_ChOICE input {\n    opacity: 0;\n    position: absolute;\n    right: 10px;\n    top: 0;\n    width: 20px;\n    height: 20px;\n    margin: 0;\n    padding: 0;\n}\n\n.ARK_BOX_ChOICE input+label {\n    position: absolute;\n    cursor: pointer;\n    right: 10px;\n    top: 0;\n    width: 20px;\n    height: 20px;\n    font-size: 18px;\n    line-height: 18px;\n    text-align: center;\n    color: #999999;\n}\n\n.ARK_BOX_ChOICE input+label:after {\n    content: '+';\n    position: absolute;\n    right: 10px;\n    top: 0;\n    width: 20px;\n    height: 20px;\n    border: 1px dashed #d4d4d4;\n}\n\n.ARK_BOX_ChOICE input+label:before {\n    content: '';\n    position: absolute;\n    right: 10px;\n    top: 0;\n    width: 20px;\n    height: 20px;\n    border: 1px dashed #d4d4d4;\n}\n\n.ARK_BOX_ChOICE input:checked+label:after {\n    content: '+';\n    color: #0098e1;\n    border: 1px dashed #0098e1;\n}\n\n.ARK_BOX_ChOICE input:checked+label:before {\n    content: '+';\n    color: #0098e1;\n    border: 1px dashed #0098e1;\n}\n\n.ARK_BOX_SAVE {\n    position: absolute;\n    bottom: 0;\n    left: 0;\n    width: 100%;\n    border-top: 1px solid #e5eef4;\n    height: 60px;\n    padding-top: 13px;\n    /* padding: 15px; */\n    background-color: #ffffff;\n    padding-left: 245px;\n}\n\n#ARK_BOX_SAVE {\n    -moz-user-select: none;\n    -ms-touch-action: manipulation;\n    -ms-user-select: none;\n    -o-transition: color .2s linear, background-color .2s linear, border .2s linear;\n    -webkit-transition: color .2s linear, background-color .2s linear, border .2s linear;\n    -webkit-user-select: none;\n    cursor: pointer;\n    display: inline-block;\n    font-size: 12px;\n    font-weight: 400;\n    line-height: 1.5;\n    margin-bottom: 0;\n    padding: 6px 15px;\n    text-align: center;\n    touch-action: manipulation;\n    transition: color .2s linear, background-color .2s linear, border .2s linear;\n    user-select: none;\n    vertical-align: middle;\n    white-space: nowrap;\n    width: 60px;\n    height: 32px;\n    border-radius: 15px;\n    cursor: pointer;\n    color: #ffffff;\n    border: 0;\n    background-color: #0098e1;\n    outline: 0 none !important;\n}\n\n#ARK_BOX_SAVE:active {\n    background-color: #0086c7;\n    border-color: #0086c7;\n    color: #f2f2f2\n}\n\n#ARK_BOX_SAVE:hover,\n#ARK_BOX_SAVE:focus {\n    background-color: #47c3ff;\n    border-color: #47c3ff;\n    color: #fff\n}\n\n#ARK_BOX_CANCEL {\n    /* margin-top: 15px; */\n    width: 60px;\n    height: 32px;\n    /* float: right; */\n    font-size: 14px;\n    line-height: 30px;\n    border: 0;\n    background-color: #ffffff;\n    color: #999999;\n    cursor: pointer;\n    outline: 0 none !important;\n}\n\n#ARK_BOX_CANCEL:focus,\n#ARK_BOX_SAVE:focus {\n    border: 0;\n}\n\n.ARK_EVENT_LIST {\n    border: 0;\n    border: 1px solid #eeeeee;\n    border-radius: 5px;\n    background: #ffffff;\n    color: #000000;\n    -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;\n    -moz-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;\n    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;\n    min-width: 80px;\n    min-height: 13px;\n    position: absolute;\n    top: 20px;\n    left: 500px;\n    padding: 0;\n    max-width: 250px;\n    z-index: 100000;\n}\n\n.ARK_EVENT_LIST a.ARK_EVENT {\n    max-width: 110px;\n    height: 24px;\n    line-height: 24px;\n    color: #0098e1;\n    margin: 5px;\n    text-align: center;\n    overflow: hidden;\n    text-overflow: ellipsis;\n    display: block;\n    text-decoration: underline !important;\n    cursor: pointer;\n}\n\n.ARK_SHOW {\n    display: block !important;\n    visibility: visible !important;\n}\n\n.debugLog {\n    top: 0;\n    left: 0;\n    position: absolute;\n    width: 260px;\n    min-height: 270px;\n    padding: 20px;\n    z-index: 999999999;\n}\n\n.debugLog .l-list {\n    position: relative;\n    overflow: hidden;\n}\n\n.debugLog .l-list div {\n    color: #ffffff;\n    font-size: 13px;\n    line-height: 24px;\n        word-break: break-word;\n}\n\n.debugLog .bg {\n    width: 100%;\n    height: 100%;\n    background-color: rgba(47, 50, 58, 0.8);\n    box-shadow: 0px 6px 18px 0px rgba(0, 0, 0, 0.12);\n    border-radius: 4px;\n    position: absolute;\n    top: 0;\n    left: 0;\n}\n\n.debugLog .cha {\n    position: absolute;\n    right: 20px;\n    color: rgba(255, 255, 255, 0.5);\n    top: 20px;\n    cursor: pointer;\n    font-size: 14px;\n    width: 10px;\n    height: 10px;\n    cursor: pointer;\n}\n.ARK_HOVER, .ARK_CLICK {\n    outline: 1px solid #e00000 !important;\n    outline-offset: -1px !important;\n    /*position: absolute;*/\n    /*background-color: red !important*/\n}\n\n.ARK_SHOW_DISPOSE{\n    position : absolute !important;\n    z-index: 999999999 !important;\n    background-color: rgba(20, 137, 226, 0.2);\n    border: dashed 3px #1489e2 !important;\n}\n.ARK_SHOW_DISPOSE.ARK_NO_LIGHT{\n    display: none !important;\n}\n.ARK_SHOW_DISPOSE:hover,.ARK_SHOW_DISPOSE.ARK_NO_LIGHT:hover {\n    background-color: rgba(20, 137, 226, 0);\n}\n.ARK_SAVE_DISPOSE{\n    position : absolute !important;\n    z-index: 999999999 !important;\n    background-color: rgba(20, 137, 226, 0.2);\n    border: solid 3px #1489e2;\n}\n.ARK_SAVE_CLICK{\n    position : absolute !important;\n    z-index: 999999999 !important;\n    background-color: transparent;\n    border: solid 3px #1489e2;\n}\n.ARK_IS_EDIT{\n    position: absolute !important;\n    bottom: -21px !important;\n    left: -3px !important;\n    background-color: #1489e2 !important;\n    font-size: 12px !important;\n    line-height: 12px !important;\n    color: #ffffff !important;\n    padding: 3px 5px !important;\n    white-space: nowrap;\n    margin: 0 !important;\n    display: block !important;\n}\n.ARK_SAVE_DISPOSE.ARK_NO_LIGHT{\n    display: none !important;\n}\n.ARK_SAVE_DISPOSE:hover,.ARK_SAVE_DISPOSE.ARK_NO_LIGHT:hover {\n    background-color: rgba(20, 137, 226, 0);\n}\n.ARK_SAVE_PRO{\n    position : absolute !important;\n    z-index: 999999999 !important;\n    background-color: rgba(255, 163, 0, 0.1);\n\tborder: solid 2px #ffa300;\n}\n.ARK_SAVE_PRO.ARK_NO_LIGHT{\n    display: none !important;\n}\n.ARK_NONE {\n    display: none ;\n}\n.ARK_CLICK_ELE{\n    position : absolute !important;\n    /* width : 2px;\n    height : 2px; */\n    z-index: 999999999 !important;\n    display :none;\n   /* background-color: rgba(0, 0, 0, 0.3); */\n    /* background-color: rgba(20, 137, 226, 0.2); */\n    border: solid 3px #1489e2;\n   /* transform:none */\n}\n.ARK_PRO_ELE{\n    position : absolute !important;\n    /* width : 2px;\n    height : 2px; */\n    z-index: 999999999 !important;\n    display :none;\n   /* background-color: rgba(0, 0, 0, 0.3); */\n    /* background-color: rgba(20, 137, 226, 0.2); */\n    border: solid 3px #ffa300;\n   /* transform:none */\n}\n.ARK_ADD_PRO{\n    width: 100%;\n    height: 40px;\n    background-color: #f4f9fd;\n    border:0;\n    border-radius: 4px;\n    margin-bottom: 20px;\n    margin-top: 10px;\n    color: #1489e2;\n}\n.ARK_ADD_PRO img{\n    margin-right: 9px;\n    margin-bottom: 3px;\n    width:11px;\n    height: 11px;\n    vertical-align: middle;\n    position: relative;\n    display: unset;\n    font-family: inherit;\n    font-size: inherit;\n    line-height: inherit;\n}\n.ARK_PRO_ITEM{\n    background-color: #f4f9fd;\n    border:0;\n    border-radius: 4px;\n    margin-top: 10px;\n    padding: 20px 16px;\n    display: inline-block;\n    position: relative;\n}\n.ARK_ICON{\n    width: 24px;\n\theight: 24px;\n    display: block;\n    margin-left: 4px;\n    margin-top: 6px;\n}\n.ARK_ICON.ICON_XQ{\n    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAelJREFUSA3VVs0rRFEUP+d6UdQg7PwBFmwsZGspbHxtNGJDFjNRU2bykZJBioyiLGawZC//gKyQj8X4LLKRkiym8N49zp28STPPu9M0s3Dqde89H7/fOfed++7Do5OrVkLYJKJayKMg4hMSDBkKXAAMNzfW7ecRHw5Pr9sAaRMOT+KUT+DfWAqbky+sFJzAyCb/wNJO2eeXNQ8E3YTEZeNuZVX1xMxwR0IXnxXB55cZJYJ2ELCBAEJKGHl9falmcK+OQLtFvvBuDYP3AooAEHr4KWaSIBH2ja7EKnQE2goM/Cg3uc+EkPfSgnXVciiwFSRv1ofh4eWbG4m2gpWQ95YBHhCKUr6CGRDwZjXY/+gGrmzaCpQTCtGFUpaqeVIkvRtFRo+9dBtTWbk5RUIDxyaUxW2fElF6uRz0ntlrtzErgnSAhEwE/HM79el6p3VOBEByktA694eje2MLsQYnYFuXG4GK5j7l9u02JZz5wluzNmD66PqSxxa3m6RlDUgQF4CJOz7JmcJEiNTJhqlMo6aLTClbGHQEQHLGTuE/OsK7v6yuW7QWGlzklp/+KzilF6TOiqO4EqiISGhwVkfChy53ghQJinGeZ3w9+Ug/Cyg+UH6O8v9vNHX7Jy9ox/pyVyrM5J9FoX9bvgFfDa+ln7mJKwAAAABJRU5ErkJggg==) no-repeat;\n}\n.ARK_ICON.ICON_XQ:hover{\n    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAd1JREFUSA3dljlLA1EQgGde4i2aIiESVPwB2tpbilYabUSwUqwEjQd4NCkkRhQsFFL4A7QX/4SFRyF4gEnwiuAFKnH3jbOrayRu9oWYNAaS3fdm5vvevF2yi77lRCfpEAOgRijqB5PogmG3AUeEkdRU804x+d5osot0ioE3Eqdign+yDLb4OVGK85IL3Pms2h+9rpH0vghEQUIgJNgq87hnL0cCL6r6vARSpjcBsJtQbAiQgi/aaPpR9zJ8UCVQblHD2pWPgf2IGBJEdQRYDogzDB5oWb33qATKDnRNqzchQp5LHdaBbSzr5O3CtHit49iDk0TZQWq86ZSJF7zyTK4wHHhyORaIO8GNmLIDEyBcvSChGkAzhyjFE7iozxwofjKrcki8CwX2XJV4bKXU1lcd3U407ltjp2NegmzA8+NLyB+Nt2bP240LEhDJOZ3wwBdJbPtXEm12YGuuIIFZzHcRAQV1DfZ9S8mwBcw+Ol7khpVEu6bRkABxKN/oLLv4W4TUw+fzdnFHgf4OHVw0KvkWAvNrhzDn7OUcctyi1HRThDMWcmK/Agw5zZXjKDCK7iabw0oJ/UFgSQTiNAL++vdEgBssr9jN1cG/eKJh0nhA52yxwMAnk98sSv3a8gEW3qVw8YWlQQAAAABJRU5ErkJggg==) no-repeat;\n}\n.ARK_ICON.ICON_XQ.active{\n    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAd5JREFUSA21VksvA1EYPbcvfUTr0SKUKIkm3SBIhA0bicR/YCFYCz9CIuwtLST+gKTCko2FV1dEE1rxiFIh02o7ve6dZph4zL2k/ZLJfczcc8733TMzlwSWE+NUxRpAgyhrkCSxYob4lxKJ+SFfsLvJUVb4o9scVvefkxauvNzgXGmPJpgGGUFlo+IENhn96WwRGycviN3n4XEQjLa7MN7lBpFYLCRQi8DKfhpPmSLGOl14UFRsxl5RpMBE2C2kEJboPJXDZbqA2X4v4k95BH12jIRc2IlnhOD8ASGBUijhUEJxzKwXPVcQqrUhU2CpSYSQIFxvg83KzExLFWeV0Wof8dsl4CUy8DgsmOv3gbAM9Ai4rZjs9epD01aYAV890FIFu+XTM5EGB2qcUkvFe/BVHq/91pnCXKV+vfXjWE6GYWk2TzWbLmynsH78ikcB0Z8JdK4CS2D3QsFiNIW9q6w+/a01fdEOb3I4vctptlTp5yYbUbhbj27fMNzmNE5/9E0JDq6zpup0lICH+fiXMC3RdJ8Xg60/KzPiNf6XgDuTfyJEJP8m4Cp1ktEOl9Y3Kuf9Zq8Vobrf32rTPdDBOMlUT7V26XOyrekeyIKYPccISJL/oMsdJUx2sqj0seUdh92PWTODHHwAAAAASUVORK5CYII=) no-repeat;\n}\n\n.ARK_ICON.ICON_REX{\n    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAphJREFUSA3VVk1oE0EUnrfZxpRqCoVajCKJMbWIpa2mklLQm9CKF1HwIIgitAdPoicFo1i8K168CSIIgvTi1VOTCpIfQkvW0qQk0Vil21Rl02ySfb4Rp7i7LkpJDg7svnlv3vu+N29mZxbiCWUCgT1BxH2sRQ0Y0xjArLRTmoZYUilKjE1FRg69bhE+S6c/dWlG5REi09lcIoutAv4dZz6T66PkVyn59rTI4IFVKvvuthGItNtOIAsmq6TpSVTDtwyYF5DVaDzm9njuhg/7y3PJ7DPSR3kMH5M75NPHBw8WuW5tjgQrKytucg7v6PN2Ges1b72m39Rrmy/JNg4Ix8Al3ZABFxrNDmP0iL9kBRa6I4FwCPt8GvW1bPZLVK2qlXw+7ymv64y2YGl0qD8n/JzkP60BL9d6VT3LkOUCgcAmB6PA3kS24Hu3vNztBM7tf50B38ux1Pvv9HXmJNl1QYAZRvNpVdN0YLBItglht0obAZVi15qmRsnxFgAYBPAQGZ53e+Vz4WBwYwtAck2OD4eSQp9LKjOdnZ2Pjw7s/yhsXNpKpOrqXmA4LZzGRvpniOSN/rU+y+sv7DaJeLFeqwatdhsBZU3VMLex4dB1hlAoV/TnfD1+jmLzZDy9dGY+tXTK7G3WbARi2O/36/QN3Oc6cSLN5AqVajGTKXTT6fuCrCfQMC7zJ7ZQ7BFxVmlbA8qQDj8+DzDI+Y4IIL1B/du/9KiwC0mHpuiapI2gx93zYa2pSvGkchVcrq1FNEVZFDQaQTTYHmRS3jJk36YDA73f4inlkoF4jzWajlM3A8EGSHAtMhQqme2ktes+4EQc23GRbZls0/D/EvArk3beZ4lepfmkMrnNCvwxjF/62NAf0JH7Ctr92/ID4uMOd90r/84AAAAASUVORK5CYII=) no-repeat;\n}\n.ARK_ICON.ICON_REX:hover{\n    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAApdJREFUSA3VVk1oE1EQnnmbxNTSVEq3wSQFsQcvXsR6VbwUWtGDKHgQbEVIDyK2te1BwSgWSSoiahE9aAURBEF68aonwZO3gpco2STabq2GNml+d5wHfSW72yCU5ODCMv/fvJl5+96ifs8YpBo8A6AINOlBwAIiLAT8u0exO24YLETNqd73TcKH4OzPdsuqPiK0ytAdT1GzgOtxeh4sBfWEsSTqlc3kl68Gl4iop2UJ1GJbnsCjMjlpjEg8njU+I2GAbSVC+gTetlsrY/qP7oTxCgmObMaUvB5xIjsRNpwYUm5Ywfw8+ICg37tHOwS4a0AQ5LFcfLsJclgIcU34fIOaz3MqMx5KbwcudQ0rUAHZaKjAfOFA3Iz9guKffS/Iv26mwRKQNseCSemHY8rbTRtWUO8q27WqlU4jQPL7CBalDWuo98bN0P6nq531vk7+nxXIvTyXMNYJIQma55wCIKi+3IBauZiDRdYNKr2TuhJwKzp+w0aMHa/zOi1AfMizOBvobD+TjHbltgA0bWhlIvxFyXoiNeOntjljWs8qnaSuFq1plTABjionczIyw+fUh7VcfkH2X+mdlAjPF7HS59S7EpAG3Gr7szzVO84tSuXN9Gs5D2kli44FZzMnexLZAbu3XXIlUObhYSgLhDtSRkQ62B+5CESLz5/kOnnLvkGioxZZI8Rv5L7RpeKc1DUDrHHH+byNIfcf4KYK+Hgcq8zf2JRjSq8on8qKtVFXgo6aN7OKVcFf6yUQ2tYQbVEOAcnq40r2+vzWN4fJ/aF9ndbX9ETmAgfdBqvWsHQ7EPHuEpczVyJpu56lVt0HMpHEbjhk10p2qPh/E8grk7f3MleAaT5vhnbYgW3D5KVPpcpdAnqHrf5t+QvWh/ZinlE//gAAAABJRU5ErkJggg==) no-repeat;\n}\n\n.ARK_ICON.ICON_REX.active{\n    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAoVJREFUSA3VVj1oFEEUfm9m9/aye3eJcgkELxLsTGklqI2doqJga2UTRIyVYqUoFsEfLAQxomBnJ7axsbGzsbMxSi6/Rwioud292533nDEZk+zeiYZc4YPlzcz73vvem7czuzh4v36CFUwBcA12SRAwRIQ3laI/jtXJet136N5wH7zfpfjQUk5xKeJrKdCiMJnvZnCTpCfTuOqrx7qSc5qgNxIIWGXmoZ4R2LR7TuBYpqxmgfj1B7wExkCXmkiBHweK/Kxf8sqXprgDDGPGx9iqRZqouLicjWHmXQkSEC4RjdV8Ohprkm8tuLAa4mR/mS8y8cHAEY+8As4gMlUEdwz+RwKbjSch9oBjH2BqNsJ3bSELAATC4caAVPMW103/VQ/MdjUSPK4Pz3yBVNsEUynvWWu71TaIUrfgZr3rFlmnz2s4vXEy58tFecNkbyRSeCtM01QkODMawBWLz+pcBUmK/mxTXF0HIhWEeIUM4b4Arg86yScboOTBxIEynxoN6FfweoiXTEXWbnWOICQaSonPW8CIr15IwR8Wmvhgff+tZbtOFJwMKX+f5QhAyu2eerY/4IcIvLTwne+afhhAK8FDy5E8thTh4ZzDloU8wYbRBUoKAp5bbK0EtyXyTJvdUgFxWld5KFJ8pkV4Ok64YnFZnW+yUgAoAYl4JOCn1kEyqZEAngC3QZPp632r6KLirfPNcY7AF6KxwizmQjzrFZzfTd10yY/SRNUYuNrn0kLWmiNwHQ59KW7GBOOtOO3POnSa6/zXPEdMlqVqZO05AgMY9umtVub5B9Fb20G6NrkDdkdL/y9Bk2Av6itMV4BzixEc2VH9XZzMR38llJf1m/Uae/3b8hNICftztdejQwAAAABJRU5ErkJggg==) no-repeat;\n}\n.ARK_ICON.ICON_NUM{\n    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAnZJREFUSA3tVjtok1EU/s5NalJDsa0PUHTwgXRQbAuCUESdfA26mEERjJaqg0Fj0NAuWaxVqaFRESsmoEPBDopD0ElRqi5GB5EaERE7GPERaQyJ+N/juSkJiSV1SLL1LOf+//3u95177rkPehZ/u50Jw8y8FDU0IpogRo/dkCvg8IbOtlgN+TH2MrETxMMYi49zLYlLuQy3BF9fmxX4b37tMyGkdOn42WiPBjaBKaeI7gz1Hrhnxvgv3FyU+235CVgBhYmGhjmhQf++j//ykVnprs42wU03b390UER8BHolvU0MXqlg26+bFo5iMvmOCAvA/AKEdQz6Y3e6VoV87u8Fphmr6PTA7XlCfkQ2TCzc5+loXYI1AH3QpE9R+stegJfJRuoO9x3cqAi7RajFyma6C+QFX7GKMjrbLqC5Ev0DAw56PFmZ5kMhWgvobeafanTdN7454Hkk4lmG7jLfpVZRwAZrvgFqwrfCANmRU22m1SDiiyf2/DB9QSItaUqJSH5MAW98RYFSUDXtigIWbPloFaMYlaRoqk2ckFSRLzTaYsSDLCcCo1nWpTjbQlBlZXosHHOoX8lDcki9d8L5PGOlM1I5WwUcNn08mdwilfNaJi65127OZUzfSGogulm8U9L2VHyZlc1Apb+2a81X2KJL5wLun6RwTSpph7c/Eqf05zcS4XLJ8/nWxTwi/pNmvuE9E3miGXelGFJ2h+t6Gbt8lAk0ki0hEUYFfNUAhwKek6ToqCzuuGTksSK1K9zruWUqSsGxnhmXRSgpkUeUQkfpHigKzR7XxVRUaJStQQVMVb/rL2Bu//wFXVWc0wcbzvzLot7Plr8avfRhA7RvpQAAAABJRU5ErkJggg==) no-repeat;\n}\n.ARK_ICON.ICON_NUM:hover,.ARK_ICON.ICON_NUM.active{\n    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAlxJREFUSA3tVktoE2EQ/mY3acSgtTUPsNmCRQRBoT14kqKe6uOgZ/GilNaKFzUm117TBAs+qK2oBw8efRyKnhQFT6IeRKQHH9ktGoPVKGpisjvOn3ZDIm4tJPXUvczs/8983+x88+8uhTPmXrYxBXAMLb3IIh1DPgVOhOF8onu6lfihtLWfbZ5CKJXlVgLXYylsrX5hOfwVgn921bdYBDNTNDM7BOadDC5prN/MJbvuqJxo+kPERjlOjB65tXyaPv4+vuHdn3iLahAdMzOO41ySMdsiif027NuRtHl40zkO2Fx+IuAnhDwq+0fLduVZ7KzZuWSCnsm5dgYdI6LpfMLoC4aNrXJe3rCDRKFkHhJgQyMM5pPd/TrRQQHu+FXB4JIJvha+90pbVoNwTyW9PUJFgO7L2jY42KPW/DruKjsS73pAQNEB71D39ZdnizQN61UgOfjkJjAt+ESbQcTmydhntTdKEkX4IiTVHDdeWU+C+qBmfE8CZ6FyOeu1qkTUeZ95RjQgY9zqUOSjLFGMdSJ27WndohoI1HREUtnjkUx2YG178DmBfkjigApWe/LG3S2iv5Dnrva+WOHq3kRmdpeAryKmxy6waxsIvpWsXge4yA6dfz3cWZA2T8pZ2BdOmU8LP82XzNgoIGPBkHFDNDClgCvhVPaRzXxLaRDw47IL7NoGgkBwzQxBuybjOaECcmeM0xq0ERnPVwLwUId+4GMydl1NlNbWtl1EvyBEORH3qs/v77NOGXMucM2uvK5rrfBwGjTwiGlq+X8QkKU+0E2V+ZfkeUz5s1ju35bf6GXjj9JSLtoAAAAASUVORK5CYII=) no-repeat;\n}\n.ARK_ICON.ICON_DEL{\n    position: absolute;\n    top: 11px;\n    right: 11px;\n    width: 8px;\n    height: 8px;\n    margin: 0;\n    padding: 0;\n    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAAXNSR0IArs4c6QAAAIxJREFUGBlNjjESwjAMBE8y/IfkD/SuQs0DGGjgC5mh4gcZSqjo+QPDf4htcsnII1Xn2/NJcuyHswS8b5f9F24O/b0BcqOE+Yfn6TpsjFNLzo8Q8BGaNBjSNTq+TbN1DtTQiBcKMAWjrVTCOhNE/bK4c8CtiLpC9DeJg53Vek9LwpbHGWQxdVHdpYT2D69xRVCaoaWHAAAAAElFTkSuQmCC) no-repeat;\n}\n.ARK_ICON.ICON_I{\n    position: absolute;\n    top: 9px;\n    left: 60px;\n    width: 15px;\n    height: 15px;\n    margin: 0;\n    padding: 0;\n    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAYAAAA71pVKAAAAAXNSR0IArs4c6QAAAc5JREFUKBV9Uj1PG0EQ3dkjCidcpKBIqIESQYXgT6QgcpEIoQPRINlgCF+mth0+FL4qBDJGSCBZAlHxExBUQAmiJwgQFJjzAXeTeTbrnJDDSnczO++9ud03R+o/a3Rm/bP3bNV//ODfzI45f6rR6G1xMJ3rY+ZxVtwk2IM8EUXqgkhNL032roX5FfHI3Fb9k+flhNikiZJUax0sJLovh+Y3v3DR7+SAM6zUeYR0TybZc4smNabT85O3Id3vrNq61vnhqGvqaCD5TuJ3ft8vFlYLHKzI/htwjVc8nXOka6MI+8PCWCor5fJCHbjsWmLpjX9iud8EjhoWGlE4AidNk8RBAnUNVxVzM+4YJiJfnuqteGIw8JhUez6ftzTGIcDD690MpxTDxzZAicfsHl+4nzSpmmsBInDVEN6LY9PbDYrIbmu07/Xi1PcrOdsZxvGeyGBe4HVIfhiNRv2S29IpFTCnZRy2IVWLwDFvS6k54BVD4qnsrjR5fDsu0wRCzBmapaTzA/XylyWxrYiDwkuxcDKYyXUZDxCx993CqcBk67oB8LAqXy5v5Yf5lf2qfPWTiTpkhC7MIVZH4uzsQtLZM7yqYgNijhgHXIU5ph6OfwHgJr3gZ7nUAgAAAABJRU5ErkJggg==) no-repeat;\n    cursor: pointer;\n}\n.ARK_SCROLLBAR{\n    overflow-y: auto;\n    overflow-x: hidden;\n}\n.ARK_DROPDOWN{\n    width: 238px;\n    will-change: top, left;\n    display: none;\n    left: 68px;\n    top: 33px;\n    height: auto;\n    border-radius: 2px;\n    -webkit-box-shadow: 0 2px 8px 0 rgba(0,0,0,.14);\n    box-shadow: 0 2px 8px 0 rgba(0,0,0,.14);\n    z-index: 500;\n    background: #fff;\n    position: absolute;\n    padding: 6px 0 !important;\n    max-height: 230px;\n    overflow-y: auto;\n    margin-inline-start: 0px;\n    margin-inline-end: 0px;\n    padding-inline-start: 40px;\n}\n.ARK_DROPDOWN.TOP{\n    top: -120px;\n}\n.ARK_DROPDOWN li{\n    position: relative;\n    cursor: pointer;\n}\n.ARK_DROPDOWN span:hover{\n    background: #f0f6fc;\n}\n.ARK_DROPDOWN span{\n    display: block;\n    height: 34px;\n    margin: 0 1px;\n    padding: 0 9px;\n    font-size: 14px;\n    line-height: 34px;\n    color: #4c6072;\n    background: #fff;\n    overflow: hidden;\n    text-overflow: ellipsis;\n    white-space: nowrap;\n    -webkit-transition: background .2s;\n    transition: background .2s;\n}\n.ARK_DROPDOWN .selected span{\n        color: #1489e2;\n}\n\n\n.ARK_SCROLLBAR::-webkit-scrollbar {\n    width: 4px;\n    height: 4px;\n}\n\n.ARK_SCROLLBAR:hover::-webkit-scrollbar-thumb{\n    background: #e4eaf1;\n}\n.ARK_SCROLLBAR:hover::-webkit-scrollbar-thumb{\n    background: #e4eaf1;\n    min-width: 200px;\n}\n\n.ARK_SCROLLBAR::-webkit-scrollbar-thumb{\n    background: hsla(0,0%,100%,0);\n    border-radius: 2px;\n}\n.ARK_SCROLLBAR::-webkit-scrollbar-thumb{\n    background: hsla(0,0%,100%,0);\n    border-radius: 2px;\n}\n.ARK_SCROLLBAR ::-webkit-scrollbar-thumb {\n    background: hsla(0,0%,100%,0);\n    border-radius: 2px;\n    -webkit-transition: background .2s ease-in-out;\n    transition: background .2s ease-in-out;\n}\n.ARKTOOLTIP{\n    padding: 8px 16px;\n    position: absolute;\n    z-index: 1070;\n    font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n    font-size: 12px;\n    font-style: normal;\n    font-weight: 400;\n    line-height: 1.42857143;\n    text-align: left;\n    text-align: start;\n    text-decoration: none;\n    text-shadow: none;\n    text-transform: none;\n    letter-spacing: normal;\n    word-break: normal;\n    word-spacing: normal;\n    word-wrap: normal;\n    white-space: normal;\n    filter: alpha(opacity=0);\n    opacity: 1;\n    line-break: auto;\n    background: rgba(37,45,57,.95);\n    -webkit-box-shadow: 0 2px 8px 0 rgba(0,0,0,.14);\n    box-shadow: 0 2px 8px 0 rgba(0,0,0,.14);\n    border-radius: 6px;\n    -moz-box-shadow: 0 2px 8px 0 rgba(0,0,0,.14);\n    -webkit-box-shadow: 0 2px 8px 0 rgba(0,0,0,.14);\n    box-shadow:0 2px 8px 0 rgba(0,0,0,.14);\n    border: 1px solid #D8E0E9;\n}\n\n.ARKTOOLTIP .ARROW {\n    position: absolute;\n    width: 0;\n    height: 0;\n    border-color: transparent;\n    border-style: solid;\n    bottom: -5px;\n    left: 50%;\n    margin-top: -10px;\n    border-width: 5px 5px 0px;\n    border-top-color: rgba(37,45,57,.95);\n    /* right: 0; */\n    margin-left: -5px;\n}\n.ARKTOOLTIP .ARROW.ARKTOP{\n    border-width: 5px 5px 0px;\n    border-top-color: rgba(37,45,57,.95);\n}\n.ARKTOOLTIP .ARROW.ARKRIGHT{\n    left: 1px;\n    bottom: unset;\n    top: 38%;\n    margin-left: -5px;\n    border-top-color: unset;\n    border-right-color: rgba(37,45,57,.95);\n    border-width: 6px 4px 6px 0;\n    border-color: transparent rgba(37,45,57,.95) transparent transparent;\n}\n.ARKTOOLTIP .ARROW.ARKBOTTOM{\n    border-width: 0 5px 5px;\n    border-bottom-color: rgba(37,45,57,.95);\n    border-top-color: unset;\n    bottom: unset;\n    top: 5px;\n}\n\n.ARKTOOLTIP .WORDS {\n    max-width: 200px;\n    color: #ecf3f8;\n    text-align: center;\n    border-radius: 4px;\n    /* white-space: nowrap; */\n    line-height: 21px;\n}\n.ARK_FIXED_BOX {\n    display: none;\n    width: 100%;\n    height: 100%;\n    position: absolute;\n    top: 0;\n    left: 0;\n    z-index: 1000;\n    background-color: rgba(255,255,255,0.4);\n}");var b='<div class="ARK_BOX_HEADER" id="ARK_BOX_HEADER"><span class="ARK_TITLE" id="ARK_BOX_TITLE">{CHANGETEXT}</span><span class="ARK_BOX_CENTER ARK_BOX_SMALL">(可拖动)</span></div>',j='<div class="ARK_EVENT"><span class="ARK_TITLE MID">定义事件</span><div class="ARK_BOX_EVENT_ID"><span class="ARK_TITLE SM">事件ID</span><input id="ARK_BOX_EVENT_ID" type="text" placeholder="事件唯一标识，仅支持字母、数字和下划线" value="{EVENTID}" autocomplete="off"><span class="ARK_BOX_EVENT_ID_ERROR" id="ARK_BOX_EVENT_ID_ERROR">仅支持字母、数字和下划线,且以字母开头</span></div><div class="ARK_BOX_EVENT_ID"><span class="ARK_TITLE SM">事件名称</span><input id="ARK_BOX_EVENT_NAME" type="text" placeholder="事件显示名称，用于分析时方便查看" value="{EVENTNAME}" autocomplete="off"><span class="ARK_BOX_EVENT_ID_ERROR" id="ARK_BOX_EVENT_NAME_ERROR">建议您命名不超过50个字符,便于阅读</span></div><span class="ARK_TITLE MID">事件属性</span></div>',H='<li class="ARK_PRO_ITEM"><div class="ARK_BOX_EVENT_ID"><span class="ARK_TITLE SM">属性ID</span><input class="PROID" type="text" placeholder="请输入..." value="{PRONAME}" autocomplete="off"><ul class="ARK_SCROLLBAR ARK_DROPDOWN"><li data-type="string" class="selected"><span>字符串</span></li><li data-type="number"><span>数值</span></li><li data-type="bool"><span>布尔值</span></li></ul><span class="ARK_BOX_EVENT_ID_ERROR">建议您命名不超过50个字符,便于阅读</span></div><div class="ARK_BOX_EVENT_ID fl"><span class="ARK_TITLE SM fl mr-12">属性值</span><label class="v-radio-wrapper fl" for="ARK_BOX_PRO_ITEM"><span class="v-radio-ARK {ISINPUTCLASS}"><span class="v-radio-inner"></span> <input type="radio" class="v-radio-input" name="ARK_BOX_PRO_ITEM" id="ARK_PRO_INPUT"></span>手动输入值</label><label class="v-radio-wrapper fl" for="ARK_BOX_PRO_ITEM"><span class="v-radio-ARK {ISPROELECLASS}"><span class="v-radio-inner"></span> <input type="radio" class="v-radio-input" id="ARK_PRO_ELEMENT" name="ARK_BOX_PRO_ITEM"></span>从页面选择</label></div><div class="ARK_BOX_EVENT_ID fr textR"><input class="PROVALUE fl" type="text" placeholder="请输入属性值" value="{PROVALUE}" autocomplete="off" {PROVALUEDISABLED} data-ark-value="{PROBASEVALUE}"><span class="ARK_BOX_EVENT_ID_ERROR" id="ARK_BOX_EVENT_NAME_ERROR">建议您命名不超过50个字符,便于阅读</span><button class="ARK_ICON ICON_XQ fl  ml-8 "></button><button class="ARK_ICON ICON_REX fl {PROREXACTIVE}"></button></div><div class="ARK_BOX_EVENT_ID fr textR "><input class="PROREX fl" type="text" placeholder="输入正则表达式" value="{PROREXVALUE}" autocomplete="off"><span class="ARK_BOX_EVENT_ID_ERROR" id="ARK_BOX_EVENT_NAME_ERROR">建议您命名不超过50个字符,便于阅读</span><button class="ARK_ICON ICON_NUM fl  ml-8 "></button></div><div class="ARK_BOX_EVENT_ID fl"><span class="ARK_TITLE SM fl">数据类型</span><input class="PROTYPE" type="text" readonly="readonly" autocomplete="off" value="{PROTYPE}" autocomplete="off" data-type="{PROTYPEDATA}"/><ul class="ARK_SCROLLBAR ARK_DROPDOWN"><li data-type="string"><span>字符串</span></li><li data-type="number"><span>数值</span></li><li data-type="bool"><span>布尔值</span></li></ul></div><button class="ARK_ICON ICON_DEL"></button><div class="ARK_FIXED_BOX"></div>',G='<div class="ARK_CONTENT ARK_SCROLLBAR"><div  class="ARK_BOX_EVENT_ID"><ul class="PROLIST ARK_SCROLLBAR" id="ARK_PRO_LIST">',J='</ul><div  class="ARK_BOX_EVENT_ID"><button class="ARK_ADD_PRO" id="ARK_ADD_PRO"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAYAAACprHcmAAAAAXNSR0IArs4c6QAAACtJREFUGBljYMACRDof/ccizMCETRCX2CBRzIjLM7jcjSGOy4BB4kGSnAEAOzgHjMbmwEkAAAAASUVORK5CYII="/>添加属性</button></div></div>',F='<span class="ARK_TITLE MID">生效范围</span><div class="ARK_BOX_PAGE fl mb-15 pb-20"><span class="ARK_TITLE SM fl mr-25">圈定元素</span><i class="ARK_ICON ICON_I" data-ark-tip="页面上每个可点击的位置都被视为元素，通过选择元素来圈定当前定义的事件生效范围，即点击哪些位置会上报定义的事件。<br>1 当前文本：指定内容，不区分元素类型，当文本发生变化时，埋点失效。<br>一般用于给某个特定内容文本埋点，<br>比如：<br>圈中按钮上的文字【登录】，当仅选择当前文本时，如果页面上有个非按钮的链接也叫【登录】，则在两处触发点击时，都会上报该事件。<br>2 当前位置：指定位置的元素，当内容发生变化时，埋点仍然有效，页面结构发生变化时，埋点失效。<br>一般用于给某个特定位置埋点。<br>3 同级元素：指与埋点元素的所有父级元素标签类型及元素个数相同的元素，一般用于给列表埋点，可以添加属性，区分同级别但不同内容的元素。<br>4 同类型元素：指与当前埋点元素的Class属性值相同或包含当前埋点元素的Class属性值的元素，点击相同类型的元素时会上报同一个事件，通常可以添加属性，区分同类型但不同内容的元素点击数据。<br>四个选项可以结合使用，<br>比如：<br>可选择当前位置+当前文本来给特定位置上的特定内容埋点<br>可选择当前文本+同类型元素来给相同控件相同名称的" data-ark-tip-pos="{\'top\':\'-209px\',\'left\':\'81px\',\'pos\':\'right\'}"></i><div class="boxRadio"><label class="v-radio-wrapper" for="ARK_PATH_ISPAGE"><span class="v-radio-ARK {ISPATHPAGE}"><span class="v-radio-inner"></span> <input type="checkbox" class="v-radio-input" name="ARK_PATH_ISPAGE" id="ARK_PATH_ISPAGE"></span>当前位置</label><label class="v-radio-wrapper" for="ARK_CONTENT_ISPAGE" title="{EVENTTEXTTITLE}"><span class="v-radio-ARK {ISCONTENTPAGE}"><span class="v-radio-inner"></span> <input type="checkbox" class="v-radio-input" name="ARK_CONTENT_ISPAGE" id="ARK_CONTENT_ISPAGE" ></span>当前内容:{EVENTTEXT}</label><label class="v-radio-wrapper" for="ARK_CLASS_ISPAGE"><span class="v-radio-ARK {ISCLASSPAGE}"><span class="v-radio-inner"></span> <input type="checkbox" class="v-radio-input" name="ARK_CLASS_ISPAGE" id="ARK_CLASS_ISPAGE"></span>同类型元素</label><label class="v-radio-wrapper" for="ARK_LIST_ISPAGE"><span class="v-radio-ARK {ISLISTPAGE}"><span class="v-radio-inner"></span> <input type="checkbox" class="v-radio-input" name="ARK_LIST_ISPAGE" id="ARK_LIST_ISPAGE"></span>同级元素</label></div><div class="ARK_BOX_EVENT_ID fl mb-40"><span class="ARK_TITLE SM mr-12">生效页面</span><i class="ARK_ICON ICON_I" data-ark-tip="可以选择埋点生效的页面：<br>1 当前页面：指仅在当前页面(URL) 点击相应元素才触发上报该事件<br>2 全部页面：指在所有接入SDK的页面中点击相应元素，都触发上报该事件。比如有非常多的商品详情页，每个页面上都有【加入购物车】按钮，即可选择全部页面，那在任何详情页上点击加入购物车，都会上报到同一个事件中，方便统计分析。" data-ark-tip-pos="{\'top\':\'-68px\',\'left\':\'81px\',\'pos\':\'right\'}"></i><input class="PAGETYPE" type="text" readonly="readonly" autocomplete="off" value="{PAGENAME}" autocomplete="off" id="ARK_BOX_ISPAGE" data-type="{PAGENAMETYPE}"/><ul class="ARK_DROPDOWN" ><li data-type="isPage"><span>当前页面</span></li><li data-type="isAll"><span>全部页面</span></li></ul></div></div></div></div>',$='<div class="ARK_BOX_EVENT_ID ARK_BOX_SAVE fl"><button id="ARK_BOX_CANCEL">取消</button><button id="ARK_BOX_SAVE">确认</button></div>';var r="",o="";try{r="object"==typeof window.localStorage?window.localStorage:"",o="object"==typeof window.sessionStorage?window.sessionStorage:""}catch(Vn){}function n(){this.localName="FZ_STROAGE",this.sessionName="FZ_SESSION",this.cookieName="FZ_STROAGE."+S.getDomainFromUrl(h.base.cross_subdomain),this.checkSubdomain(),this.localObj=this.getLocal(),this.sessionObj=this.getSession()}n.prototype.checkSubdomain=function(){var e,t,n,r,o=window.AnalysysAgent||[];if("Array"===S.paramType(o))for(var a=0;a<o.length;a++)"cross_subdomain"===o[a][0]&&"Boolean"===S.paramType(o[a][1])&&(h.base.cross_subdomain=o[a][1]);o&&S.objHasKay(o.config||{},"cross_subdomain")&&(h.base.cross_subdomain=o.config.cross_subdomain),!0===h.base.cross_subdomain&&(r=this.getCookie(this.cookieName)||S.encode("{}"),r=JSON.parse(S.decode(decodeURIComponent(r))),"Object"!==S.paramType(r)||S.isEmptyObject(r)||(e=r.ARK_ID,t={},!0===S.objHasKay(r,"ARKSUPER")&&(t=r.ARKSUPER,delete r.ARKSUPER),n=S.objMerge(this.localObj||{},r),!0!==h.base.cross_subdomain_super||S.isEmptyObject(t)||(n=S.objMerge({ARKSUPER:t},n)),this.setLocal(this.localName,n),this.setCookie("ARK_ID",e)))},n.prototype.setLocal=function(e,t){this.localObj=this.getLocal(),e===this.localName?this.localObj=t:this.localObj[e]=t;try{var n;r?(r.setItem(this.localName,S.encode(JSON.stringify(this.localObj))),o.setItem(this.localName,S.encode(JSON.stringify(this.localObj)))):"POSTDATA"!==e&&this.setCookie(this.cookieName,encodeURIComponent(S.encode(JSON.stringify(this.localObj)))),"POSTDATA"!==e&&!0===h.base.cross_subdomain&&(delete(n=S.toDeep(this.localObj)).POSTDATA,this.setCookie(this.cookieName,encodeURIComponent(S.encode(JSON.stringify(n)))))}catch(Vn){}},n.prototype.getLocal=function(e){try{var t=S.encode("{}");return r?(t=r.getItem(this.localName))||o.getItem(this.localName)&&(t=o.getItem(this.localName),r.setItem(this.localName,t)):t=(t=this.getCookie(this.cookieName))?decodeURIComponent(t):S.encode(JSON.stringify(this.localObj)),this.localObj=JSON.parse(S.decode(t)),e?this.localObj[e]:this.localObj}catch(Vn){return e?"":{}}},n.prototype.removeLocal=function(e){var t;if(this.localObj=this.getLocal(),S.objHasKay(this.localObj,e)&&delete this.localObj[e],S.isEmptyObject(this.localObj))try{r&&(r.removeItem(this.localName),o.removeItem(this.localName)),this.removeCookie(this.cookieName)}catch(Vn){}else r&&(r.setItem(this.localName,S.encode(JSON.stringify(this.localObj))),o.setItem(this.localName,S.encode(JSON.stringify(this.localObj)))),"POSTDATA"!==e&&"ARK_ID"!==e&&!0===h.base.cross_subdomain&&(delete(t=S.toDeep(this.localObj)).POSTDATA,delete t.ARK_ID,this.setCookie(this.cookieName,S.encode(JSON.stringify(t))))},n.prototype.setSession=function(e,t){this.sessionObj=this.getSession(),this.sessionObj[e]=t;try{o?(o.setItem(this.sessionName,S.encode(JSON.stringify(this.sessionObj))),this.removeCookie(this.sessionName)):"POSTDATA"!==e&&this.setCookie(this.sessionName,S.encode(JSON.stringify(this.sessionObj)),"session")}catch(Vn){}},n.prototype.getSession=function(e){try{var t=S.encode("{}");return o?(t=o.getItem(this.sessionName)||S.encode("{}"),this.removeCookie(this.sessionName)):t=(t=this.getCookie(this.sessionName))||S.encode(JSON.stringify(this.sessionObj)),this.sessionObj=JSON.parse(S.decode(t)),e?this.sessionObj[e]:this.sessionObj}catch(Vn){return{}}},n.prototype.removeSession=function(e){if(this.sessionObj=this.getSession(),S.objHasKay(this.sessionObj,e)&&delete this.sessionObj[e],S.isEmptyObject(this.sessionObj))try{o&&o.removeItem(this.sessionName),this.removeCookie(this.sessionName)}catch(Vn){}else o&&o.setItem(this.sessionName,S.encode(JSON.stringify(this.sessionObj)))},n.prototype.setCookie=function(e,t,n){var r,o="."+S.getDomainFromUrl(h.base.cross_subdomain),a=o?"; domain="+o:"",i="";"session"!==n&&((r=new Date).setTime(r.getTime()+31536e6),i="; expires="+r.toGMTString()),document.cookie=e+"="+t+i+"; path=/"+a},n.prototype.getCookie=function(e){e=e||this.localName;var t=document.cookie;if("string"!=typeof t)return"";for(var n,r=e+"=",o=t.split(/[;&]/),a=0;a<o.length;a++){for(n=o[a];" "===n.charAt(0);)n=n.substring(1,n.length);if(0===n.indexOf(r))return n.substring(r.length,n.length)||""}},n.prototype.removeCookie=function(e,t,n){t="Boolean"===S.paramType(t)?t:h.base.cross_subdomain;var r,o,a="."+S.getDomainFromUrl(t),i=a?"; domain="+a:"";"session"!==n&&((r=new Date).setTime(r.getTime()-94608e6),o="; expires="+r.toGMTString()),document.cookie=e+"="+o+"; path=/"+i};var c=new n,a={utm_campaign_id:S.GetUrlParam("campaign_id"),utm_source:S.GetUrlParam("utm_source")||S.GetUrlParam("hmsr"),utm_medium:S.GetUrlParam("utm_medium")||S.GetUrlParam("hmpl"),utm_term:S.GetUrlParam("utm_term")||S.GetUrlParam("hmkw"),utm_content:S.GetUrlParam("utm_content")||S.GetUrlParam("hmci"),utm_campaign:S.GetUrlParam("utm_campaign")||S.GetUrlParam("hmcu")};function z(){a={utm_campaign_id:"",utm_source:"",utm_medium:"",utm_term:"",utm_content:"",utm_campaign:""}}function Y(){this.sessionId=c.getLocal("SEESIONID")||this.setId(),this.sessionDate=c.getLocal("SEESIONDATE")||0}Y.prototype.setId=function(){var e=+new Date;return this.sessionId=S.MD5("JS"+e.toString()+1e7*Math.random()),this.sessionDate=e,c.setLocal("SEESIONID",this.sessionId),c.setLocal("SEESIONDATE",this.sessionDate),this.sessionId},Y.prototype.getId=function(){var e=new Date,t=e.getTime(),n=e.getTimezoneOffset(),r=new Date(t+60*n*1e3+288e5).getDate();this.sessionDate=c.getLocal("SEESIONDATE")||0;var o=0===this.sessionDate?0:new Date(this.sessionDate+60*n*1e3+288e5).getDate();return this.sessionId&&this.sessionDate&&!(18e5<Number(t)-Number(this.sessionDate))&&r===o||(z(),this.setId()),this.sessionDate=t,c.setLocal("SEESIONDATE",t),this.sessionId=c.getLocal("SEESIONID")||this.setId(),this.sessionId};var W=new Y,Q=navigator.userAgent.toLowerCase();function Z(){var e=(new Date).getTime().toString()+(1e4*Math.random()).toString(),t="JS"+S.MD5(e.toString(),32)+S.MD5(e.toString(),32).slice(0,4);return c.setCookie("ARK_ID",t),t}function q(){var e=c.getLocal("ARK_ID");return e||(e=Z(),c.setLocal("ARK_ID",e)),e}function ee(){return c.getLocal("ARK_TRACKID")}var te=h.base;var ne="GMT"+S.clientTimeZone(),re=(navigator.language||navigator.browserLanguage).toLowerCase();var oe=document.referrer||"";function ae(){return te.$lib_version}var ie=c.getSession("ARK_UTM")||"";a.utm_campaign||a.utm_source||a.utm_medium||a.utm_campaign_id||a.utm_term||a.utm_content?(ie!==JSON.stringify(a)&&W.setId(),c.setSession("ARK_UTM",JSON.stringify(a))):(z(),c.removeSession("ARK_UTM"));var se={resetKeywords:["appid","$debug","uploadUrl"],uploadURL:{valueType:0,value:function(){return"/"!==te.uploadURL.charAt(te.uploadURL.length-1)&&(te.uploadURL+="/"),te.uploadURL},check:{value:["isString","nimLength","isUrl"],errorCode:"60007",successCode:"20008"}},appid:{valueType:0,value:function(){return te.appid},check:{value:["isString","nimLength"],errorCode:"60006",successCode:"20006"}},hash:{check:{value:["isBoolean"],errorCode:"60003"}},auto:{check:{value:["isBoolean"],errorCode:"60003"}},autoProfile:{check:{value:["isBoolean"],errorCode:"60003"}},pageProperty:{check:{value:["isObject"],errorCode:"600016"}},xwho:{valueType:0,value:function(){var e=c.getLocal("ARK_LOGINID")||c.getLocal("ARK_TRACKID")||c.getLocal("ARK_ID");return e&&"[object Object]"!==e||(e=Z(),c.setLocal("ARK_ID",e)),c.setCookie("ARK_ID",ee()||q()),e},check:{value:["isString","nimLength"]}},xwhen:{valueType:0,value:function(){return+new Date+(c.getLocal("ANSSERVERTIME")?Number(c.getLocal("ANSSERVERTIME")):0)}},xwhat:{valueType:0,value:function(){return h.status.FnName},check:{value:["isString","nimLength"]}},xcontext:{$lib:{valueType:1,value:"JS"},$lib_version:{valueType:0,value:ae,check:{value:["isString"],successCode:"20007"}},$platform:{valueType:1,value:"JS"},$debug:{valueType:0,value:function(){return te.$debug},check:{value:["isNumber","isDebug"]}},$is_login:{valueType:0,value:function(){var e=!1;return(c.getLocal("ARK_LOGINID")||c.getLocal("ARK_TRACK_LOGIN"))&&(e=!0),e},check:{value:["isBoolean"]}},$screen_width:{valueType:0,value:function(){return"Number"===S.paramType(Number(window.screen.width))?Number(window.screen.width):0},check:{value:["isNumber"]}},$screen_height:{valueType:0,value:function(){return"Number"===S.paramType(Number(window.screen.height))?Number(window.screen.height):0},check:{value:["isNumber"]}},$time_zone:{valueType:1,value:ne},$language:{valueType:1,value:re},$session_id:{valueType:0,value:function(){return W.getId()}},$is_first_time:{valueType:0,value:function(){var e=c.getLocal("FRISTIME");return c.setLocal("FRISTIME",!1),e}},$is_first_day:{valueType:0,value:function(){var e=new Date,t=e.getFullYear(),n=(n=e.getMonth()+1)<10?"0"+n:n,r=e.getDate(),o=t+""+n+(r=r<10?"0"+r:r),a=c.getLocal("FRISTDAY");return!a||o===a}},$referrer:{valueType:0,value:function(){var e=oe;try{e=decodeURIComponent(oe)}catch(Vn){}return!0===h.base.isHybrid&&(e=encodeURIComponent(e)),e}},$referrer_domain:{valueType:0,value:function(){return S.getDomainFromUrl(!1,oe)}},$title:{valueType:0,value:function(){return document.title}},$url:{valueType:0,value:function(){var e=window.location.href;try{e=decodeURIComponent(e)}catch(Vn){}return!0===h.base.isHybrid&&(e=encodeURIComponent(e)),e}},$startup_time:{valueType:0,value:function(){return c.getSession("STARTUPTIME")||""}},$web_crawler:{valueType:0,value:function(){return!!Q.match(/(bot|crawler|spider|scrapy|dnspod|ia_archiver|jiankongbao|slurp|transcoder|networkbench|oneapm|PhantomJS|BingPreview)/i)}},$original_id:{valueType:0,value:function(){return ee()||q()}},$utm_campaign_id:{valueType:0,value:function(){return a.utm_campaign_id}},$utm_source:{valueType:0,value:function(){return a.utm_source}},$utm_medium:{valueType:0,value:function(){return a.utm_medium}},$utm_term:{valueType:0,value:function(){return a.utm_term}},$utm_content:{valueType:0,value:function(){return a.utm_content}},$utm_campaign:{valueType:0,value:function(){return a.utm_campaign}},$is_time_calibrated:{valueType:0,value:function(){return!!c.getLocal("ANSSERVERTIME")}}},xcontextCommonRule:{check:{key:["isString","length99","notSpecialCharacters","keywords"],value:["notObject","isArrayString","length255"]}},$track:{check:{key:["isString","notSpecialCharacters","length99"]}},$alias:{check:{key:["isString","keyLength255"]}},$profile_increment:{check:{key:["isString","length99","notSpecialCharacters"],value:["isNumber"]}},$profile_unset:{check:{key:["isString","length99","notSpecialCharacters"]}},$pageview:{check:{key:["isString","keyLength255"]}}};function le(e){if("String"!==S.paramType(e))return"Object"===S.paramType(e)?e:{code:200};-1<e.indexOf("\n")&&(e=e.replace(/[\r\n]/g,""));try{return JSON.parse(e)}catch(Vn){}try{return window.AnalysysModule.zipInflate(e)}catch(Vn){}return"H4sIAAAAAAAAAKtWSs5PSVWyMjIwqAUAVAOW6gwAAAA="===e?{code:200}:"H4sIAAAAAAAAAKtWSs5PSVWyMjUwqAUA7TtBdwwAAAA="===e?{code:500}:"H4sIAAAAAAAAAKtWSs5PSVWyMjEy0FHKLU5XslJySSxJVHBJTS6qLChRcC0qyi/S01OqBQBdATGSKQAAAA=="===e?{code:420}:{code:200}}function ce(){var e=null;if(window.XDomainRequest)return new window.XDomainRequest;if(window.XMLHttpRequest)e=new window.XMLHttpRequest;else try{e=new window.ActiveXObject("Microsoft.XMLHTTP")}catch(Vn){try{e=new window.ActiveXObject("Msxml2.XMLHTTP")}catch(t){e=new window.XMLHttpRequest}}return e}function pe(e){var n,r,t,o=!1,a=new ce;a.onload=function(){o||(o=!0,e.success(le(a.responseText),a))},a.onerror=function(){o||(o=!0,e.error(le(a.responseText),a))},a.onreadystatechange=(n=a,r=e,function(){if(4===n.readyState){try{var e,t;(-1<n.getAllResponseHeaders().indexOf("Date")||-1<n.getAllResponseHeaders().indexOf("date"))&&(e=+new Date,(t=n.getResponseHeader("Date")||n.getResponseHeader("date"))&&!0===h.base.allowTimeCheck?c.setLocal("ANSSERVERTIME",new Date(t)-e):c.setLocal("ANSSERVERTIME",0))}catch(Vn){}if(200<=n.status&&n.status<300||304===n.status){if(o)return;o=!0,r.success(le(n.responseText),n)}else{if(o)return;o=!0,r.error()}n.onreadystatechange=null,n.onload=null}});try{a.open(e.type,e.url,!0),a.setRequestHeader("Content-Type","application/x-www-form-urlencoded");var i=h.base.sendDataTimeout;"GET"===e.type?(i=h.base.getDataTimeout,a.send(null)):a.send(e.data),"Number"===S.paramType(i)&&("Number"===S.paramType(a.timeout)?a.timeout=i:(t=a,setTimeout(function(){t.abort()},i)))}catch(Vn){}}function de(){this.url="",this.data="",this.type="GET",this.success=function(){},this.error=function(){}}de.prototype.get=function(e){var t=[];for(var n in e.data)t.push(n+"="+encodeURIComponent(e.data[n]));var r=-1<e.url.indexOf("?")?e.url+"&"+t.join("&"):e.url+"?"+t.join("&");this.url=r,this.data=e.data,this.type="GET",this.success=e.success||function(){},this.error=e.error||function(){},pe(this)},de.prototype.post=function(e){this.url=e.url,this.data=e.data,this.type="POST",this.success=e.success||function(){},this.error=e.error||function(){},pe(this)};var ue={},he=/\d{13}/g,ge={path:"",index:0,ele:null,newPath:{},elePostion:{}};function me(){var r,t=[],n=function n(e){window.AnalysysModule&&window.AnalysysModule.visual?window.AnalysysModule.visual.msg(e):t.push(e)},o=function o(){if(window.AnalysysModule&&window.AnalysysModule.visual)for(var e=0;e<t.length;e++)window.AnalysysModule.visual.msg(t[e])};S.addScript("AnalysysAgent_JS_SDK_VISUAL",ue.SDKFileDirectory,o),window.ARK_VISUAL={config:ue},c.setSession("visitor",!0),r=n,S.addEvent(window,"message",function(e){var t=e.data;try{"String"===S.paramType(t)&&(t=JSON.parse(t))}catch(n){}console.log("获取可视化消息===>",JSON.stringify(t,null,2)),r(t)})}function fe(e){return e.split("").reverse().join("")}function Ae(){!0===ue.isHybrid&&(ve=_.visitorEventList);for(var e,t,n,r,o=0;o<ve.length;o++){var a=S.toDeep(ve[o]),i=a.path,s=a.index,l=a.new_path,c=a.bindings,p=a.elePath,d=a.eleClass,u=ge.ele,h=!1,g=a.appEventId||a.event_id,m=a.isText,f={path:i,index:s,newPath:l,bindings:c,isText:m};if((l||c)&&1==X(ge.newPath,l)){if(!0===E(ge,f)){var A="Track"+ +new Date,v=function(t,n,r){return function(e){e=e||{},n&&0<n.length&&(e=S.objMerge(e,U(n))),e=S.delEmpty(e),!0===ue.isHybrid?!0===window.AnalysysModule.moduleStatus?window.AnalysysModule.track(t,e,r):!0===S.isiOS?(window.webkit.messageHandlers.AnalysysAgentTrack.postMessage([t,JSON.stringify(e),JSON.stringify(r)]),console.log("触发的埋点发送到ios",[t,JSON.stringify(e),JSON.stringify(r)])):(window.AnalysysAgentHybrid.AnalysysAgentTrack(t,JSON.stringify(e),JSON.stringify(r)),console.log("触发的埋点发送到android",[t,JSON.stringify(e),JSON.stringify(r)])):window.AnalysysAgent.track(t,e)}}(g,a.properties,ge.elePostion);if(a.related&&0<a.related.length)for(var y=0;y<a.related.length;y++){var b=a.related[y].target;b.h5_path&&(b.path=b.h5_path,a.related[y].target.h5_path=R(ge.newPath,b))}else a.related=[];if(!0===S.isiOS&&!0===ue.isHybrid)return void O(a.related,v,A);v(O(a.related))}}else l||c||!ge.ele||!0!=(e=ge.elePath,t=p,n=void 0,n=fe(e),r=fe(t),-1<n.indexOf(r))||(ge.index=w(ge.ele,ge.path),(d===ge.eleClass&&s===ge.index||!0===E(ge,f))&&(h=!0),!0===h&&(m&&m!==N(u)||window.AnalysysAgent.track(g)))}}var ve=[];function ye(){var e,t,n,r,u,o,a;!0===ue.isHybrid?!0===window.AnalysysModule.moduleStatus?window.AnalysysModule.eventList():!0===S.isiOS&&window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.AnalysysAgentGetEventList?window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.AnalysysAgentGetEventList.postMessage([]):!window.AnalysysAgentHybrid||(e=window.AnalysysAgentHybrid.getEventList())&&_.onEventList(e):ue.visitorConfigURL&&((t=window.location.hash)&&-1<t.indexOf("?")&&(t=t.split("?")[0]),n=window.location.protocol+"//"+window.location.host+window.location.pathname+t,ve=[],r=n,u=ue.visitorConfigURL+"configure",o=function(e){if(0===e.code){for(var t=ve,n=[],r=0;r<e.data.length;r++){var o=e.data[r],a=be(o.link),i=o.index,s=a.clickClass,l=a.clickPath,c=o.isText,p=o.link;!0===he.test(p)&&(p=p.replace(he,"")),t.push({index:i,eleClass:s,elePath:l,isText:c,path:p,appEventId:o.appEventId,new_path:o.new_path,bindings:o.props_binding,related:o.related,properties:o.properties});var d={eventID:o.appEventId,eventName:o.appEventName||""};n.push(d)}ve=t,Kt("Get Visual Event List from "+u),Kt(JSON.stringify(n,null,2))}},a={url:u,data:{appkey:ue.appid,lib:"Js",url:r},success:o,error:function(){}},(new de).get(a))}function be(e){for(var t=e.split("<"),n=t[0].split(".")[1]||"",r=[],o=0;o<t.length;o++)r.push(t[o].split(".")[0]);return{"class":n,clickPath:r.join("<")}}var _e=window.location.href,Ee=S.detectZoom();function we(e){e.touches&&0<e.touches.length&&(e=e.touches[0]);var t=e.target,n=P(t),r=n.path,o=be(r),a=o.clickClass,i=o.clickPath;(ge={index:0,eleClass:a,elePath:i,path:r,newPath:n.newPath,ele:t}).elePostion={$pos_left:e.clientX*Ee,$pos_top:e.clientY*Ee,$pos_width:t.offsetWidth*Ee,$pos_height:t.offsetHeight*Ee},Ae(),ge={}}var Re={__proto__:null,fieldRules:{"visitorConfigURL ":{check:{value:["isUrl"]}}},fieldTemplate:{},lifecycle:{AnalysysAgent:{init:function(e){return(ue=e).visitorConfigURL=S.trim(ue.visitorConfigURL),!1===e.isHybrid&&(S.GetUrlParam("visual")||!0===c.getSession("visitor")&&window.location.href.indexOf("arkheatmap=true")<0)?me():ue.visitorConfigURL&&("/"!==ue.visitorConfigURL.charAt(ue.visitorConfigURL.length-1)&&(ue.visitorConfigURL+="/"),ye(),"desktop"===S.deviceType()&&!1===ue.isHybrid?S.addEvent(document,"mousedown",we,!0):S.addEvent(document,"touchstart",we,!0),S.changeHash(function(){_e!==window.location.href&&(_e=window.location.href,ye())})),e}}}},Oe=+new Date,Ne=null;var Te,xe,Se,Ie,ke={autoWebstay:{check:{value:["isBoolean"]}},xcontext:{$viewport_width:{valueType:0,value:function(){return document.documentElement.clientWidth||document.body.clientWidth}},$viewport_position:{valueType:0,value:function(){return Ne.scrollTop||document.documentElement.scrollTop||document.body.scrollTop}},$viewport_height:{valueType:0,value:function(){return document.documentElement.clientHeight||document.body.clientHeight}},$event_duration:{valueType:0,value:function(){var e=+new Date,t=e-Oe;if(Oe=e,"Number"===S.paramType(h.base.webstayDuration)&&0<h.base.webstayDuration){if(t>h.base.webstayDuration)return h.base.webstayDuration}else if(18e6<t)return 18e6;return t}},$device_type:{valueType:0,value:function(){return S.deviceType()}}}},Ke={ele:"",click_x:0,click_y:0,clickEle:""};function Ce(){return document.documentElement.scrollWidth}function Le(){return document.documentElement.scrollHeight}function Pe(){return function(e){for(var t=[],n=e;null!=n;){var r=0;if(n.parentNode){var o=n.parentNode.children;if(o)for(var a=0;a<o.length;a++)o[a]===n&&(r=a)}var i=n.tagName;if(i){i=i.toLowerCase();var s=n.id?"#"+n.id:"",l=n.className&&"String"===S.paramType(n.className)?n.className.split(" "):[];if(0<l.length){for(var c="",p=0;p<l.length;p++)l[p]&&l[p].indexOf("ARK")<0&&(c+="."+l[p]);t.push(i+s+c+"|"+r)}else t.push(i+s+"|"+r);n=n.parentNode}else n=n.parentNode}return t.join("<")}(Ke.ele)}function Be(){var e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.hash;try{e=decodeURIComponent(e)}catch(Vn){}return!0===h.base.isHybrid&&(e=encodeURIComponent(e)),e}function De(){return Ke.ele.tagName.toLowerCase()}function Ue(){return Ke.ele&&null!==Ke.ele.getAttribute("data-ark-click")}function Ve(e){if(!e||"Array"===S.paramType(e)&&0===e.length||"String"===S.paramType(e)&&""===e)return!1;var t=Ke.ele;if("String"===S.paramType(e)){var n=t.tagName.toLowerCase(),r="String"===S.paramType(t.className)?"."+t.className.split(" ").join("."):"",o=t.id?"#"+t.id:"";if(n===e.toLowerCase()||r===e||o===e||n+r===e||n+o===e||o+r===e||n+o+r===e)return!0}else if("Array"===S.paramType(e)){for(var a=0;a<e.length;a++)if(!0===Ve(e[a]))return!0}else{if("Function"===S.paramType(e))return e.call(e,t)||!1;if("object"==typeof e&&e===t)return!0}return!1}function Xe(){for(var e=Ke.ele;null!=Ke.ele;)if(1===Ke.ele.nodeType){if("Function"===S.paramType(Ke.ele.onclick)||1===Me()||Ue()||Ve(h.base.trackList)){e=Ke.ele;break}Ke.ele=Ke.ele.parentNode}else Ke.ele=Ke.ele.parentNode;Ke.ele=e}function Me(){var e=De();if(-1<["a","button","input","select","textarea","svg"].indexOf(e)||Ue()||Ve(h.base.trackList)){if("svg"===e&&Ke.ele.children&&0<Ke.ele.children.length){for(var t=0,n=Ke.ele.children,r=0;r<n.length;r++)"use"===n[r].tagName.toLowerCase()&&(n[r].getAttribute("xlink:href")||Ue()||Ve(h.base.trackList))&&(t=1);return t}return 1}return 0}function je(){return N(Ke.ele)}function He(){return S.deviceType()}function Ge(){return Ke.ele.id||Ke.ele.getAttribute("id")||""}function Je(){return Ke.ele.getAttribute("name")||""}function Fe(){var e=Ke.ele.getAttribute("class")||"";if(e){for(var t=e.split(" "),n=[],r=0;r<t.length;r++)""!==t[r]&&n.push(t[r]);return e="."+n.join(".")}return""}function $e(){var e=Ke.ele.getAttribute("href");if(e&&e.indexOf("javascript:")<0){try{e=decodeURIComponent(e)}catch(Vn){}return!0===h.base.isHybrid&&(e=encodeURIComponent(e)),e}return""}function ze(e){try{return e.defaultView&&e.defaultView.frameElement||null}catch(Vn){return null}}function Ye(e){this.time=e.time,this.target=e.target,this.rootBounds=tt(e.rootBounds),this.boundingClientRect=tt(e.boundingClientRect),this.intersectionRect=tt(e.intersectionRect||et()),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,n=t.width*t.height,r=this.intersectionRect,o=r.width*r.height;this.intersectionRatio=n?Number((o/n).toFixed(4)):this.isIntersecting?1:0}function We(e,t){var n,r,o,a=t||{};if("function"!=typeof e)throw new Error("callback must be a function");if(a.root&&1!=a.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),r=this.THROTTLE_TIMEOUT,o=null,function(){o=o||setTimeout(function(){n(),o=null},r)}),this._callback=e,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(a.rootMargin),this.thresholds=this._initThresholds(a.threshold),this.root=a.root||null,this.rootMargin=this._rootMarginValues.map(function(e){return e.value+e.unit}).join(" "),this._monitoringDocuments=[],this._monitoringUnsubscribes=[]}function Qe(e,t,n,r){"function"==typeof e.addEventListener?e.addEventListener(t,n,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on"+t,n)}function Ze(e,t,n,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,n,r||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on"+t,n)}function qe(e){var t;try{t=e.getBoundingClientRect()}catch(n){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):et()}function et(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function tt(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function nt(e,t){var n=t.top-e.top,r=t.left-e.left;return{top:n,left:r,height:t.height,width:t.width,bottom:n+t.height,right:r+t.width}}function rt(e,t){for(var n=t;n;){if(n==e)return!0;n=ot(n)}return!1}function ot(e){var t=e.parentNode;return 9==e.nodeType&&e!=Te?ze(e):t&&11==t.nodeType&&t.host?t.host:t&&t.assignedSlot?t.assignedSlot.parentNode:t}"object"==typeof window&&("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype?"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return 0<this.intersectionRatio}}):(Te=function(){for(var e=window.document,t=ze(e);t;)t=ze(e=t.ownerDocument);return e}(),xe=[],Ie=Se=null,We.prototype.THROTTLE_TIMEOUT=100,We.prototype.POLL_INTERVAL=null,We.prototype.USE_MUTATION_OBSERVER=!0,We._setupCrossOriginUpdater=function(){return Se=Se||function(e,t){Ie=e&&t?nt(e,t):et(),xe.forEach(function(e){e._checkForIntersections()})}},We._resetCrossOriginUpdater=function(){Ie=Se=null},We.prototype.observe=function(t){if(!this._observationTargets.some(function(e){return e.element==t})){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(t.ownerDocument),this._checkForIntersections()}},We.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter(function(e){return e.element!=t}),this._unmonitorIntersections(t.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},We.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},We.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},We.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(e,t,n){if("number"!=typeof e||isNaN(e)||e<0||1<e)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==n[t-1]})},We.prototype._parseRootMargin=function(e){var t=(e||"0px").split(/\s+/).map(function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t},We.prototype._monitorIntersections=function(t){var n,r,o,e,a=t.defaultView;a&&-1==this._monitoringDocuments.indexOf(t)&&(n=this._checkForIntersections,o=r=null,this.POLL_INTERVAL?r=a.setInterval(n,this.POLL_INTERVAL):(Qe(a,"resize",n,!0),Qe(t,"scroll",n,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in a&&(o=new a.MutationObserver(n)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push(function(){var e=t.defaultView;e&&(r&&e.clearInterval(r),Ze(e,"resize",n,!0)),Ze(t,"scroll",n,!0),o&&o.disconnect()}),t==(this.root&&this.root.ownerDocument||Te)||(e=ze(t))&&this._monitorIntersections(e.ownerDocument))},We.prototype._unmonitorIntersections=function(r){var o,e,t,n=this._monitoringDocuments.indexOf(r);-1!=n&&(o=this.root&&this.root.ownerDocument||Te,this._observationTargets.some(function(e){if((t=e.element.ownerDocument)==r)return!0;for(;t&&t!=o;){var t,n=ze(t);if((t=n&&n.ownerDocument)==r)return!0}return!1})||(e=this._monitoringUnsubscribes[n],this._monitoringDocuments.splice(n,1),this._monitoringUnsubscribes.splice(n,1),e(),r==o||(t=ze(r))&&this._unmonitorIntersections(t.ownerDocument)))},We.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0;for(var t=this._monitoringUnsubscribes.length=0;t<e.length;t++)e[t]()},We.prototype._checkForIntersections=function(){var s,l;!this.root&&Se&&!Ie||(s=this._rootIsInDom(),l=s?this._getRootRect():et(),this._observationTargets.forEach(function(e){var t=e.element,n=qe(t),r=this._rootContainsTarget(t),o=e.entry,a=s&&r&&this._computeTargetAndRootIntersection(t,n,l),i=e.entry=new Ye({time:window.performance&&performance.now&&performance.now(),target:t,boundingClientRect:n,rootBounds:Se&&!this.root?null:l,intersectionRect:a});o?s&&r?this._hasCrossedThreshold(o,i)&&this._queuedEntries.push(i):o&&o.isIntersecting&&this._queuedEntries.push(i):this._queuedEntries.push(i)},this),this._queuedEntries.length&&this._callback(this.takeRecords(),this))},We.prototype._computeTargetAndRootIntersection=function(e,t,n){if("none"!=window.getComputedStyle(e).display){for(var r,o,a,i,s,l,c,p,d=t,u=ot(e),h=!1;!h&&u;){var g,m,f,A,v=null,y=1==u.nodeType?window.getComputedStyle(u):{};if("none"==y.display)return null;if(u==this.root||9==u.nodeType?(h=!0,u==this.root||u==Te?Se&&!this.root?!Ie||0==Ie.width&&0==Ie.height?d=v=u=null:v=Ie:v=n:(m=(g=ot(u))&&qe(g),f=g&&this._computeTargetAndRootIntersection(g,m,n),m&&f?(u=g,v=nt(m,f)):d=u=null)):u!=(A=u.ownerDocument).body&&u!=A.documentElement&&"visible"!=y.overflow&&(v=qe(u)),v&&(r=v,o=d,0,a=Math.max(r.top,o.top),i=Math.min(r.bottom,o.bottom),s=Math.max(r.left,o.left),l=Math.min(r.right,o.right),p=i-a,d=0<=(c=l-s)&&0<=p?{top:a,bottom:i,left:s,right:l,width:c,height:p}:null),!d)break;u=u&&ot(u)}return d}},We.prototype._getRootRect=function(){var e,t,n;return n=this.root?qe(this.root):(e=Te.documentElement,t=Te.body,{top:0,left:0,right:e.clientWidth||t.clientWidth,width:e.clientWidth||t.clientWidth,bottom:e.clientHeight||t.clientHeight,height:e.clientHeight||t.clientHeight}),this._expandRectByRootMargin(n)},We.prototype._expandRectByRootMargin=function(n){var e=this._rootMarginValues.map(function(e,t){return"px"==e.unit?e.value:e.value*(t%2?n.width:n.height)/100}),t={top:n.top-e[0],right:n.right+e[1],bottom:n.bottom+e[2],left:n.left-e[3]};return t.width=t.right-t.left,t.height=t.bottom-t.top,t},We.prototype._hasCrossedThreshold=function(e,t){var n=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(n!==r)for(var o=0;o<this.thresholds.length;o++){var a=this.thresholds[o];if(a==n||a==r||a<n!=a<r)return!0}},We.prototype._rootIsInDom=function(){return!this.root||rt(Te,this.root)},We.prototype._rootContainsTarget=function(e){return rt(this.root||Te,e)&&(!this.root||this.root.ownerDocument==e.ownerDocument)},We.prototype._registerInstance=function(){xe.indexOf(this)<0&&xe.push(this)},We.prototype._unregisterInstance=function(){var e=xe.indexOf(this);-1!=e&&xe.splice(e,1)},window.IntersectionObserver=We,window.IntersectionObserverEntry=Ye));var at=function at(e){return e.replace(/-+(.)?/g,function(e,t){return t?t.toUpperCase():""})};function it(e,t){var n,r,o,a,i;if(e){if(n=window.getComputedStyle(e,""),"string"==typeof t)return e.style[at(t)]||n.getPropertyValue(t);if(Array.isArray(t)){for(a={},i=0,r=t.length;i<r;i++)a[o=t[i]]=e.style[at(o)]||n.getPropertyValue(o);return a}}}var st=null,lt=0;function ct(e){for(var t=(e||document.body).childNodes,n=document.body,r=0;r<t.length;r++)if(1===t[r].nodeType){if(!0===function(e){var t=0,n=0,r=document.body.scrollHeight;n=e?(t=e.scrollHeight,e.clientHeight):(t=document.body.scrollHeight,window.innerHeight||document.documentElement.clientHeight);return n<t&&r<t}(t[r]))return dt=!1,t[r];n=ct(t[r])}return n}var pt=null,dt=!0;function ut(e){var t,n,r=null;function o(){return!0===dt?document.documentElement.scrollTop||document.body.scrollTop:pt.scrollTop||0}function a(){var e=o();lt===e&&(clearTimeout(st),st=null,window.AnalysysAgent&&window.AnalysysAgent.freeApi?window.AnalysysAgent.freeApi("$webstay"):setTimeout(function(){a()},100))}!0===e.autoHeatmap&&!0===e.autoWebstay&&!1===e.isHybrid&&((t=e.webstayRootEle)&&("String"===S.paramType(t)?0<(n=S.selectorAllEleList(t)).length&&(r=n[0]):"Function"===S.paramType(t)?r=t.call(t)||null:"object"==typeof t&&1===t.nodeType&&(r=t)),(pt=r?(dt=!1,r):ct())!==document.body&&pt||(pt=window),Ne=pt||document.body,S.addEvent(pt,"scroll",function(){clearTimeout(st),st=setTimeout(a,1e3),lt=o()}))}var ht={__proto__:null,fieldRules:ke,fieldTemplate:{$webstay:{xcontext:["$referrer","$referrer_domain","$title","$url","$viewport_width","$viewport_position","$viewport_height","$event_duration","$device_type","$session_id","$is_time_calibrated","$is_first_day"]}},lifecycle:{AnalysysAgent:{init:function Xn(e){return-1<window.location.href.indexOf("visual=true")||-1<window.location.href.indexOf("arkheatmap=true")||(0==!!(document&&document.documentElement&&document.getElementsByTagName&&document.getElementById&&document.body&&0!==document.documentElement.scrollWidth)?setTimeout(function(){Xn(e)},300):ut(e)),e}}}},gt={};function mt(){document.body&&document.getElementsByTagName("body")[0]?(S.addScript("AnalysysAgent_JS_SDK_HEATMAP",gt.SDKFileDirectory),window.ARK_HEATMAP={config:gt}):setTimeout(mt,50)}function ft(e){var t=e||window.event;t.touches&&0<t.touches.length&&(t=t.touches[0]);var n,r,o,a,i,s,l=t.target||t.srcElement;S.checkTypeList(gt.heatMapBlackList,l)||gt.heatMapWhiteList&&!S.checkTypeList(gt.heatMapWhiteList,l)||(n=document.documentElement.scrollLeft||document.body.scrollLeft,r=document.documentElement.scrollTop||document.body.scrollTop,o=t.pageX||t.clientX+n,a=t.pageY||t.clientY+r,Ke.click_x=o,Ke.click_y=a,Ke.clickEle=Ke.ele=l,Xe(),i=function(e){for(var t=0,n=0;null!=e&&e!==document.body;)1===e.nodeType&&(t+=e.scrollTop,n+=e.scrollLeft),e=e.parentNode;return{scrollLeft:n,scrollTop:t}}(Ke.ele),s=function(e){for(var t=0,n=0,r=!1,o=!1;null!=e;)t+=e.offsetTop,n+=e.offsetLeft,r=r||!("none"!==it(e,"display")&&"0px"!==it(e,"width")&&"0px"!==it(e,"height")),"fixed"===it(e,"position")&&(o=!0),e=e.offsetParent;return!0===o&&(t+=document.documentElement.scrollTop||document.body.scrollTop,n+=document.documentElement.scrollLeft||document.body.scrollLeft),{top:t,left:n,hidden:r}}(Ke.ele),Ke.elementX=o-(s.left-i.scrollLeft),Ke.elementY=a-(s.top-i.scrollTop),!o||!a||o<=0||a<=0||(window.AnalysysAgent&&window.AnalysysAgent.freeApi?window.AnalysysAgent.freeApi("$web_click"):setTimeout(function(){ft(e)},100)))}for(var At={__proto__:null,fieldRules:{autoHeatmap:{check:{value:["isBoolean"]}},xcontext:{$page_width:{valueType:0,value:Ce},$page_height:{valueType:0,value:Le},$click_x:{valueType:0,value:function(){return Ke.click_x}},$click_y:{valueType:0,value:function(){return Ke.click_y}},$element_path:{valueType:0,value:Pe},$url_path:{valueType:0,value:Be},$element_x:{valueType:0,value:function(){return Ke.elementX}},$element_y:{valueType:0,value:function(){return Ke.elementY}},$element_type:{valueType:0,value:De},$element_clickable:{valueType:0,value:Me},$element_content:{valueType:0,value:je},$device_type:{valueType:0,value:He},$element_id:{valueType:0,value:Ge},$element_name:{valueType:0,value:Je},$element_target_url:{valueType:0,value:$e},$element_class_name:{valueType:0,value:Fe}}},fieldTemplate:{$web_click:{xcontext:["$page_width","$page_height","$click_x","$click_y","$element_path","$url_path","$url","$title","$session_id","$device_type","$session_id","$is_time_calibrated","$element_x","$element_y","$element_type","$element_clickable","$element_content","$is_first_day","$element_id","$element_name","$element_target_url","$element_class_name"]}},lifecycle:{AnalysysAgent:{init:function(e){return gt=e,-1<window.location.href.indexOf("arkheatmap=true")||-1<window.name.indexOf("arkheatmap=true")?(""===window.name&&(window.name=window.location.href),mt()):!0===e.autoHeatmap&&!1===e.isHybrid&&("desktop"==S.deviceType()?S.addEvent(document,"click",ft):S.addEvent(document,"touchstart",ft)),e}}}},vt={xcontext:{$user_agent:{valueType:1,value:encodeURIComponent(window.navigator.userAgent)}}},yt={},bt=["$startup","$track","$pageview","$webstay","$web_click","$errorLog","$user_click"],_t={xcontext:["$user_agent"]},Et=0;Et<bt.length;Et++)yt[bt[Et]]=_t;var wt={};function Rt(e){var t;(t=e||window.event).touches&&0<t.touches.length&&(t=t.touches[0]);var n=t.target||t.srcElement;if(!(S.checkTypeList(wt.autoClickBlackList,n)||wt.autoClickWhiteList&&!S.checkTypeList(wt.autoClickWhiteList,n))&&(Ke.ele=n,Xe(),1===Me())){var r=wt.user_click_property,o={};if("Object"===S.paramType(r)){for(var a in r)"Function"===S.paramType(r[a])&&(r[a]=r[a].call(r[a],n));o=r}else"Function"===S.paramType(r)&&(o=r.call(r,n));var i=Ke.ele.getAttribute("data-ark-click")||{};if("String"===S.paramType(i))try{i=JSON.parse(i)}catch(t){}"Object"!==S.paramType(i)&&(i={}),"Object"===S.paramType(o)&&(i=S.objMerge(o,i)),window.AnalysysAgent.freeApi("$user_click",i)}}for(var Ot=[Re,ht,At,{__proto__:null,fieldRules:vt,fieldTemplate:yt},{__proto__:null,fieldRules:{xcontext:{$page_width:{valueType:0,value:Ce},$page_height:{valueType:0,value:Le},$element_path:{valueType:0,value:Pe},$url_path:{valueType:0,value:Be},$element_type:{valueType:0,value:De},$element_clickable:{valueType:0,value:Me},$element_content:{valueType:0,value:je},$device_type:{valueType:0,value:He},$element_id:{valueType:0,value:Ge},$element_name:{valueType:0,value:Je},$element_target_url:{valueType:0,value:$e},$element_class_name:{valueType:0,value:Fe}}},fieldTemplate:{$user_click:{xcontext:["$url_path","$url","$title","$is_first_day","$session_id","$is_time_calibrated","$device_type","$element_type","$element_path","$element_content","$element_id","$element_name","$element_target_url","$element_class_name"]}},lifecycle:{AnalysysAgent:{init:function(e){return!0===(wt=e).autoTrack&&("desktop"===S.deviceType()?S.addEvent(document,"mousedown",Rt):S.addEvent(document,"touchstart",Rt)),e}}}}],Nt=se,Tt=t,xt={},St=0;St<Ot.length;St++)Ot[St].fieldRules&&(Nt=S.objMerge(Nt,Ot[St].fieldRules)),Ot[St].fieldTemplate&&(Tt=S.objMerge(Tt,Ot[St].fieldTemplate)),Ot[St].lifecycle&&(xt=S.fnMerge(xt,Ot[St].lifecycle));var It={common:"{FN}:Property key invalid, nonsupport value: $lib/$lib_version/$platform/$first_visit_time/$debug/$is_login \ncurrent KEY:{KEY}",60001:"{FN}:Property key invalid, support type: String \ncurrent key:{KEY}\n",60002:"{FN}:Property value invalid of key[{KEY}], support type: Number \ncurrent value:{VALUE}\ncurrent type: {VALUETYPE}",60003:"{FN}:Property value invalid of key[{KEY}], support type: Boolean \ncurrent value:{VALUE}\ncurrent type: {VALUETYPE}",60004:"{FN}:Property value invalid of key[{KEY}], support type: Array \ncurrent value:{VALUE}\ncurrent type: {VALUETYPE}",60005:"{FN}:The length of the property[{KEY}] value (string[{VALUE}]) needs to be 1-255 !",60006:"Please set appkey first.",60007:"Please set uploadURL first.",60008:"Send message failed.",60009:"{FN}:The length of the property key (string[{KEY}]) needs to be 1-125 !",600010:"{FN}:The length of the property key (string[{KEY}]) needs to be 1-99 !",600011:"{FN}:[{KEY}] does not conform to naming rules!",600012:"{FN}:Property key invalid, nonsupport value: $lib/$lib_version/$platform/$first_visit_time/$debug/$is_login \ncurrent KEY:{KEY}",600013:"{FN}:Property value invalid of key[{KEY}], support type: Array with String as its internal element \ncurrent value:{VALUE}\ncurrent type: {VALUETYPE}",600016:"{FN}:Property value invalid of key[{KEY}], support type: Object \ncurrent value:{VALUE}\ncurrent type: {VALUETYPE}",600017:"{FN}:The length of the property key (string[{KEY}]) needs to be 1-255 !",600018:"{FN}:Property value invalid of key[{KEY}] invalid, support type: String \ncurrent value:{VALUE}\ncurrent type: {VALUETYPE}",600019:"{FN}:The length of the property[{KEY}] value (string[{VALUE}]) needs to be 1-255 !",600020:"{FN}:Property value invalid of key[{KEY}], support type: Boolean/Array/String/Number \ncurrent value:{VALUE}\ncurrent type: {VALUETYPE}"},kt={common:"",20001:"Send message success",20002:"{FN}: set success ({VALUE})",20003:"{FN}:({VALUE}) delete success",20004:"{FN}:clear success",20005:"{FN}:reset success",20006:"set appkey success. current appkey : {VALUE}",20007:"Init Analysys JS sdk success, version : {VALUE}",20008:"set uploadURL success. current uploadURL : {VALUE}",20009:"{FN}:[{KEY}] : get failed",20010:"{FN}:[{KEY}] : get success. ({VALUE})",20011:"{FN}:({VALUE}) delete failed"};function Kt(e){var t,n,r,o,a,i,s;1!==h.base.$debug&&2!==h.base.$debug||(n=(t=h.status).successCode,r=t.FnName,o=t.key,a=t.value,i=kt[n]||kt.common,"String"===S.paramType(o)&&30<o.length&&(o=S.stringSlice(o,30)+"..."),"String"===S.paramType(r)&&30<r.length&&(r=S.stringSlice(r,30)+"..."),s=i.replace("{FN}",r).replace("{KEY}",o).replace("{VALUE}",a),e&&(s=e),s&&console.log(s))}function Ct(){var e,t,n,r,o,a,i,s;1!==h.base.$debug&&2!==h.base.$debug||(t=(e=h.status).errorCode,n=e.FnName,r=e.key,o=e.value,"Object"===S.paramType(o)&&(o=JSON.stringify(o)),a=S.paramType(o),"600018"!==t||r||(t="600011"),"60005"!==t||r||(t="600017"),("600017"===t||"600019"===t||"60009"===t||"600010"===t||"60005"===t)&&"String"===S.paramType(o)&&o.length&&30<o.length&&(o=S.stringSlice(o,30)+"..."),"String"===S.paramType(r)&&30<r.length&&(r=S.stringSlice(r,30)+"..."),"String"===S.paramType(n)&&30<n.length&&(n=S.stringSlice(n,30)+"..."),i=(It[t]||It.common).replace("{FN}",n).replace("{KEY}",r).replace("{VALUE}",o).replace("{VALUETYPE}",a),console.warn(i),xt.errorLog&&xt.errorLog.init&&"60008"!==t&&(s=h.status.FnName,xt.errorLog.init(i),h.status.FnName=s))}var Lt=function Lt(){};Lt.prototype=S,Lt.prototype.isString=function(e){return h.status.errorCode="60001","String"===S.paramType(e)},Lt.prototype.isNumber=function(e){return h.status.errorCode="60002","Number"===S.paramType(e)},Lt.prototype.isBoolean=function(e){return h.status.errorCode="60003","Boolean"===S.paramType(e)},Lt.prototype.isObject=function(e){return"Object"===this.paramType(e)},Lt.prototype.lengthRule=function(e,t,n){this.isNumber(n)||(n=Infinity);var r=!0;return this.isNumber(t)&&e.length&&e.length>t&&e.length<n+1||(r=!(h.status.errorCode="60005")),r},Lt.prototype.nimLength=function(e){return this.lengthRule(e,0)},Lt.prototype.length99=function(e){var t=this.lengthRule(e,0,99);return t||(h.status.errorCode="600010"),t},Lt.prototype.length125=function(e){var t=this.lengthRule(e,0,125);return t||(h.status.errorCode="60009"),t},Lt.prototype.length255=function(e){if(!(e||this.isString(e)||this.isNumber(e)||this.isBoolean(e)))return!(h.status.errorCode="60005");"String"!==this.paramType(e)&&(e=e.toString());var t=this.lengthRule(e,0,255);return t||(h.status.errorCode="600019"),t},Lt.prototype.keyLength255=function(e){var t=this.length255(e);return t||(h.status.errorCode="600017"),t},Lt.prototype.isUrl=function(e){var t=e;return!0===new RegExp(/http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w- ./?%&=]*)?/).test(t)||!(h.status.errorCode="60006")},Lt.prototype.isDebug=function(e){return!(!this.isNumber(e)||0!==e&&1!==e&&2!==e)},Lt.prototype.notObject=function(e){var t=!this.isObject(e);return t||(h.status.errorCode="600020"),t},Lt.prototype.notSpecialCharacters=function(e){return!(new RegExp("[\\u4E00-\\u9FA5]|[\\uFE30-\\uFFA0]","gi").test(e)||!/^[$a-zA-Z][a-zA-Z0-9_$]{0,}$/.test(e))||!(h.status.errorCode="600011")},Lt.prototype.isArrayString=function(e){if("Array"===this.paramType(e))for(var t=0;t<e.length;t++){if("String"!==this.paramType(e[t]))return!(h.status.errorCode="600013");if(!this.length255(e[t]))return e[t]&&500<e[t].length&&(e[t]=S.stringSlice(e[t],499)+"$"),h.status.value=e[t],!1}return!0},Lt.prototype.keywords=function(e){return!(-1<h.keywords.indexOf(e))||!(h.status.errorCode="600012")};var Pt=new Lt;function Bt(e,t){for(var n=0;n<t.length;n++){if(!Pt[t[n]](e))return!1}return!0}function Dt(e,t,n){h.status={code:200,FnName:h.status.FnName,key:"",value:"",errorCode:"",successCode:""};var r=Nt[t]||Nt.xcontextCommonRule;if("Object"!==S.paramType(e)||!0===n){var o=r.check.key,a=Bt(S.trim(e),o);if(h.status.key=e,!a)return Ct(),!1}else for(var i in e){(function(e,t,n){var r=n.check,o=!0;if(!r)return o;var a=r.key,i=r.value||Nt.xcontextCommonRule.value;return a&&(h.status.code=200,o=Bt(e,a),h.status.key=e,o||(h.status.code=400,Ct())),i&&(h.status.code=200,o=Bt(t,i),"Array"!==S.paramType(t)&&(h.status.value=t),o||(h.status.code=400,Ct())),o})(i,e[i],r)||"600019"===h.status.errorCode&&"String"===S.paramType(e[i])&&500<e[i].length&&(e[i]=S.stringSlice(e[i],499)+"$")}return!0}var Ut='<div id="ARK_DEBUG_BOX" class="debugLog" style="top:{TOP}px;left:{LEFT}px;position:fixed;"><div class="bg"></div><div class="l-list">{LOGLIST}</div><img class="cha" id="ARK_DEBUG_CHA" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyhpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTQwIDc5LjE2MDQ1MSwgMjAxNy8wNS8wNi0wMTowODoyMSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTggKE1hY2ludG9zaCkiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDcwM0Y3NzQ3MzJEMTFFODhFNDFEQjRCQTQ3NDU1ODYiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDcwM0Y3NzU3MzJEMTFFODhFNDFEQjRCQTQ3NDU1ODYiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDo1NTlBNDc3RjcyQzgxMUU4OEU0MURCNEJBNDc0NTU4NiIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDo1NTlBNDc4MDcyQzgxMUU4OEU0MURCNEJBNDc0NTU4NiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PtVAdZIAAACKSURBVHjadI/dDcMwCIRxxD5Jn6N0gqRdpMvlZ4NUeU08ETkqkJDlIh3G5jPikoh8iOgLXVSPFhoapB2aoO4P9IYORsr2+LLTJ3c2YIVOtkeFkzU8tN4U0guHxhUAipBGU+yUQi2xESc+oBFaws7iHrgC5fDZDWY2SPeaC8gN/iYr2Feg0uDzFmAA00Ef4tAWMJcAAAAASUVORK5CYII="/></div>';var Vt=new function(){var o=this;function t(e){var t;e.preventDefault(),t=e.touches?e.touches[0]:e,o.touchOption={x:t.clientX,y:t.clientY},o.parentOption={x:o.parent.offsetLeft,y:o.parent.offsetTop},S.addEvent(document,"touchmove",function(){e.preventDefault()},!1),S.addEvent(document,"mousemove",n,!1),S.addEvent(document,"mouseup",r,!1),S.addEvent(document,"touchmove",n,!1),S.addEvent(document,"touchend",r,!1)}function n(e){var t=e.touches?e.touches[0]:e,n=o.parentOption.x+t.clientX-o.touchOption.x,r=o.parentOption.y+t.clientY-o.touchOption.y;o.parent.style.left=n+"px",o.parent.style.top=r+"px"}function r(e){S.removeEvent(document,"touchmove",function(){e.preventDefault()},!1),S.removeEvent(document,"touchmove",n,!1),S.removeEvent(document,"touchend",r,!1),S.removeEvent(document,"mousemove",n,!1),S.removeEvent(document,"mouseup",r,!1)}this.ele=null,this.parent=null,this.parentOption={x:0,y:0},this.touchOption={x:0,y:0},this.init=function(e){this.ele=e,this.parent=this.ele.parentNode,S.addEvent(o.ele,"mousedown",t,!1),S.addEvent(o.ele,"touchstart",t,!1)},this.remove=function(){this.ele&&(S.removeEvent(document,"mousedown",t,!1),S.removeEvent(document,"touchstart",t,!1))}};var Xt=null,Mt=0;function jt(){if(Mt=0,yn.ele){var e=(Xt=S.toDeep(yn)).ele;nn();var t=e.tagName,n=window.location.hash;-1<n.indexOf("?")&&(n=n.split("?")[0]);var r={id:0,url:window.location.protocol+"//"+window.location.host+window.location.pathname+n,tagName:t,appEventId:"",appEventName:"",isAll:0,allVersion:0,dispose:0,isText:"",link:Xt.path,index:Xt.index,content:N(e),classes:"String"===S.paramType(e.className)?e.className:"",isChange:!1,related:[],properties:[],props_binding:[]},o=e.getAttribute("data-ark-attr");if(o){o=JSON.parse(o),(r=S.objMerge(r,o)).isChange=!0,r.new_path=o.new_path,r.related=o.related||[],r.props_binding=o.props_binding||[],r.properties=o.properties||[];for(var a=0;a<r.props_binding.length;a++)"class"===r.props_binding[a].prop_name&&(r.classes=r.props_binding[a].value)}r.newPath=S.arrayMerge([],Xt.newPath),(h=fn(e,"ARK_SAVE_CLICK","ARK_SAVE_CLICK")).innerHTML='<span class="ARK_IS_EDIT">编辑中</span>',(e.parentNode||document.body).appendChild(h);var i=r.related||[];if(Mt=i.length,Qt(),0<i.length)for(var s=0;s<i.length;s++){var l,c,p,d=i[s].target;d.newPath=d.h5_path,!d.h5_path||(l=v(R(r.newPath,d))[0])&&(c=l?N(l,!0):"",i[s].properties[0].value=c,p=fn(l,r.id+"pro"+s,"ARK_SAVE_PRO"),l.parentNode.appendChild(p))}r.url=window.location.protocol+"//"+window.location.host+window.location.pathname+n;var u=function(e){var t=(e=e||{}).content&&10<e.content.length?e.content.substring(0,10)+"...":e.content,n=e.related||[],r=e.properties||[],o=e.props_binding||[],a="",i=!1;if(e.new_path&&e.newPath&&JSON.stringify(e.new_path).indexOf('"row"')<0&&-1<JSON.stringify(e.newPath).indexOf('"row"')&&(i=!0),0<n.length)for(var s=0;s<n.length;s++){var l=n[s].properties[0].prop_type,c="字符串";"bool"===l?c="布尔值":"number"===l&&(c="数值");var p=n[s].properties[0].value,d=n[s].properties[0].regex;if(d){try{d=S.decode(d);var u=new RegExp(d).exec(p);u&&0<u.length&&(p=u[0])}catch(y){}n[s].properties[0].regex=d}a+=H.replace("{PRONAME}",n[s].properties[0].key).replace("{PROVALUE}",p||"--").replace("{PROVALUEDISABLED}","disabled").replace("{ISPROELECLASS}","v-radio-checked").replace("{PROREXACTIVE}",n[s].properties[0].regex?"active":"").replace("{PROREXVALUE}",n[s].properties[0].regex||"").replace("{PROBASEVALUE}",n[s].properties[0].value).replace("{PROTYPE}",c).replace("{PROTYPEDATA}",l)}if(0<r.length)for(var h=0;h<r.length;h++){var g=r[h].prop_type,m="字符串";"bool"===g?m="布尔值":"number"===g&&(m="数值"),a+=H.replace("{PRONAME}",r[h].key).replace("{PROVALUE}",r[h].value||"").replace("{ISINPUTCLASS}","v-radio-checked").replace("{PROVALUEDISABLED}","").replace("{ISPROELECLASS}","").replace("{PROTYPE}",m).replace("{PROTYPEDATA}",g).replace("{PROREXVALUE}","").replace("{PROBASEVALUE}","")}for(var f=(b+j+G+a+J+F+$).replace("{CHANGETEXT}",e.isChange?"编辑事件":"创建事件").replace("{EVENTID}",e.appEventId||"").replace(/{EVENTNAME}/g,e.appEventName||"").replace("{PAGENAME}",1===e.isAll?"全部页面":"当前页面").replace("{PAGENAMETYPE}",1===e.isAll?"isAll":"isPage").replace(/{EVENTTEXT}/g,t||"").replace(/{EVENTTEXTTITLE}/,e.content||"").replace("{ISPATHPAGE}",e.new_path?"v-radio-checked":""),A=0;A<o.length;A++){var v=o[A];"class"===v.prop_name?f=f.replace("{ISCLASSPAGE}","v-radio-checked"):"text"===v.prop_name&&(f=f.replace("{ISCONTENTPAGE}","v-radio-checked"))}return f=f.replace(/{ISCLASSPAGE}/g,"").replace(/{ISCONTENTPAGE}/g,"").replace(/{ISLISTPAGE}/g,!0===i?"v-radio-checked":"")}(r),h=document.createElement("div");h.className="ARK_BOX",h.id="ARK_BOX",h.innerHTML=u,null!==tn.left&&null!==tn.top&&(h.style.left=tn.left,h.style.top=tn.top),document.body.appendChild(h),function(_){var e=document.getElementById("ARK_BOX_SAVE"),t=document.getElementById("ARK_BOX_CANCEL"),E=document.getElementById("ARK_CONTENT_ISPAGE"),r=document.getElementById("ARK_CLASS_ISPAGE"),o=document.getElementById("ARK_PATH_ISPAGE"),a=document.getElementById("ARK_LIST_ISPAGE"),w=document.getElementById("ARK_BOX_ISPAGE"),R=document.getElementById("ARK_BOX_EVENT_ID"),O=document.getElementById("ARK_BOX_EVENT_ID_ERROR"),N=document.getElementById("ARK_BOX_EVENT_NAME"),T=document.getElementById("ARK_BOX_EVENT_NAME_ERROR"),n=document.getElementById("ARK_BOX_HEADER"),i=document.getElementById("ARK_ADD_PRO");0!==_.dispose&&(R.setAttribute("disabled","disabled"),R.setAttribute("data-ark-tip","已部署埋点不可修改事件ID"),R.setAttribute("data-ark-tip-pos",JSON.stringify({left:"120px",pos:"bottom"})));if(!0!==Kn.newVision){var s="此功能要求方舟平台版本在5.1及以上";i.setAttribute("disabled","disabled"),i.parentNode.setAttribute("data-ark-tip",s),i.parentNode.setAttribute("data-ark-tip-pos",JSON.stringify({left:"70px"})),document.getElementById("ARK_PRO_LIST").setAttribute("data-ark-tip",s),document.getElementById("ARK_PRO_LIST").setAttribute("data-ark-tip-pos",JSON.stringify({left:"70px"}));for(var l=[o,a,r],c=0;c<l.length;c++){var p=l[c].parentNode.parentNode;p.className+=" v-radio-wrapper-disabled",p.setAttribute("disabled","disabled"),l[c].setAttribute("disabled","disabled")}}i.onclick=Ft;for(var d=document.getElementsByClassName("ARK_PRO_ITEM"),u=0;u<d.length;u++){!0!==Kn.newVision&&($t(d[u],"ARK_FIXED_BOX").style.display="block"),Wt(d[u],_.related[u])}""===_.content&&(E.parentNode.parentNode.style.display="none");""===_.classes&&(r.parentNode.parentNode.style.display="none");_.newPath&&JSON.stringify(_.newPath).indexOf('"row"')<0&&(a.parentNode.parentNode.style.display="none");var h=w.nextSibling;S.addEvent(w,"click",function(){h.style.display="block",h.style.left="80px"});for(var g=w.getAttribute("data-type"),m=0;m<h.childNodes.length;m++){var f=h.childNodes[m];f.className=("String"===S.paramType(f.className)?f.className:"").replace(/selected/g,"");var A=f.getAttribute("data-type");g===A&&(f.className+="selected"),S.addEvent(f,"click",function(r){return function(){for(var e=0;e<h.childNodes.length;e++){var t=h.childNodes[e];t.className=("String"===S.paramType(t.className)?t.className:"").replace(/selected/g,"")}var n=r.getAttribute("data-type");w.value=r.innerText,r.className+="selected",w.setAttribute("data-type",n),h.style.display="none"}}(f))}for(var v=0;v<_.props_binding.length;v++){var y=_.props_binding[v];"class"===y.prop_name?r.setAttribute("checked","checked"):"text"===y.prop_name&&E.setAttribute("checked","checked")}_.new_path&&o.setAttribute("checked","checked");_.new_path&&_.newPath&&JSON.stringify(_.new_path).indexOf('"row"')<0&&-1<JSON.stringify(_.newPath).indexOf('"row"')&&a.setAttribute("checked","checked");function b(e){e&&Ht(e);var t=o.parentNode.parentNode;"checked"!==E.getAttribute("checked")&&"checked"!==r.getAttribute("checked")&&"checked"!==a.getAttribute("checked")&&"checked"!==o.getAttribute("checked")&&(Ht({target:o}),_.new_path=_.newPath);var n=[];"checked"===E.getAttribute("checked")&&n.push({prop_name:"text",prop_type:"string",value:_.content}),"checked"===r.getAttribute("checked")&&n.push({prop_name:"class",prop_type:"string",value:_.classes}),"checked"===a.getAttribute("checked")?(_.new_path=function(e){for(var t=S.arrayMerge([],e),n=0;n<t.length;n++)delete t[n].row;return t}(_.newPath),"checked"!==o.getAttribute("checked")&&Ht({target:o}),t.className+=" v-radio-wrapper-disabled",t.setAttribute("disabled","disabled"),o.setAttribute("disabled","disabled")):!0===Kn.newVision&&(t.className=t.className.replace(/ v-radio-wrapper-disabled/g,""),t.removeAttribute("disabled"),o.removeAttribute("disabled"),_.new_path=_.newPath),"checked"!==o.getAttribute("checked")&&(_.new_path=null),_.props_binding=n,function(e){en();for(var t=V([{newPath:e.new_path?S.arrayMerge([],e.new_path):null,bindings:S.arrayMerge([],e.props_binding)}]),n=0;n<t.length;n++)Xt.ele!==t[n].ele&&function(e){var t=e.getAttribute("data-ark-id"),n=document.getElementById(t);{var r,o;n?n.className+=" ARK_SHOW_DISPOSE":(r=e.parentNode||document.body,o=fn(e,"","ARK_SHOW_DISPOSE"),r.appendChild(o))}}(t[n].ele)}(_)}{var x;b(),S.addEvent([o,a,r,E],"click",b),R.focus(),"Undefined"!==S.paramType(R.createTextRange)?((x=R.createTextRange()).moveStart("character",R.value.length),x.collapse(!0),x.select()):"Undefined"!==S.paramType(R.selectionStart)&&(R.selectionStart=R.value.length)}N.onblur=R.onblur=Gt,S.addEvent([N,R],"focus",Jt),e.onclick=function(){if(Gt({target:R}),!(O.style.display&&"none"!==O.style.display||T.style.display&&"none"!==T.style.display)){for(var e=N.value||"",t=R.value||"",n=document.getElementsByClassName("PROVALUE"),r=document.getElementsByClassName("PROTYPE"),o=document.getElementsByClassName("PROID"),a=document.getElementsByClassName("PROREX"),i=[],s=[],l=0;l<n.length;l++){var c=n[l],p=r[l],d=o[l],u=a[l],h=c.getAttribute("data-ark-related"),g=p.getAttribute("data-type"),m=c.value,f=d.value,A=u.value;h&&""!==f?((h=JSON.parse(h)).properties=[{key:f,prop_name:"text",prop_type:g}],""!==A&&(h.properties[0].regex=S.encode(A)),delete h.target.path,delete h.target.newPath,i.push(h)):""!==m&&""!==f&&s.push({key:f,prop_name:"text",prop_type:g,value:m})}_.related=i,_.properties=s;var v="isAll"===w.getAttribute("data-type")?1:0,y="checked"===E.getAttribute("checked")?1:0,b=(_=S.objMerge(_,{appEventId:t,appEventName:e,isAll:v,isText:1==y?_.content:""})).isChange;delete _.content,delete _.isChange,delete _.newPath,delete _.classes,delete _.bindings,M({type:b?"change_update":"change_request",payload:{path:[_]}}),nn()}},t.onclick=function(){nn(),Rn(wn)},Vt.init(n)}(r),M({type:"pointList",close:!0})}}function Ht(e){var t=(e||window.event).target,n=t.parentNode;"checked"!==t.getAttribute("checked")?(n.className+=" v-radio-checked",t.setAttribute("checked","checked")):(n.className=n.className?n.className.replace(/ v-radio-checked/g,""):"",t.removeAttribute("checked"))}function Gt(e){var t=e.target,n=t.nextSibling,r=t.value||"",o=!0;"ARK_BOX_EVENT_ID"===t.id?o=Dt(r,"$track",!0):r&&50<r.length&&(o=!1),o||(t.className+=" error",n.style.display="block")}function Jt(e){var t=e.target,n=t.nextSibling;t.className=t.className?t.className.replace(/ error/g,""):"",n.style.display="none"}function Ft(){var e=H.replace("{PRONAME}","").replace("{PROVALUE}","").replace("{ISINPUTCLASS}","v-radio-checked").replace("{PROVALUEDISABLED}","").replace("{PROTYPE}","字符串").replace("{PROTYPEDATA}","string").replace("{PROREXVALUE}","").replace("{PROBASEVALUE}",""),t=document.createElement("div");t.innerHTML=e;var n=t.childNodes[0],r=document.getElementById("ARK_PRO_LIST");r.appendChild(n),r.scrollTop=r.scrollHeight,Wt(n,{}),Qt()}function $t(e,t){for(var n=e.childNodes,r=null,o=0;o<n.length;o++)1===n[o].nodeType&&("String"===S.paramType(n[o].className)&&-1<n[o].className.split(" ").indexOf(t)&&(r=n[o]),!r&&0<n[o].childNodes.length&&(r=$t(n[o],t)));return r}var zt=!1,Yt=null;function Wt(a,e){var p=a.getElementsByClassName("v-radio-wrapper"),t=$t(a,"PROID"),d=$t(a,"PROVALUE"),u=$t(a,"PROREX"),i=$t(a,"PROTYPE"),h=$t(a,"ICON_XQ"),g=$t(a,"ICON_REX"),m=$t(a,"ICON_NUM"),n=$t(a,"ICON_DEL");d.setAttribute("data-ark-related",JSON.stringify(e));for(var r=0;r<p.length;r++){var o=$t(p[r],"v-radio-ARK"),s=$t(p[r],"v-radio-input");-1<o.className.indexOf("v-radio-checked")&&0===r?(s.setAttribute("checked","checked"),d.className+=" width246",u.style.display="none",h.style.display="none",g.style.display="none",m.style.display="none",h.className=h.className.replace(/ active/g,""),g.className=g.className.replace(/ active/g,""),m.className=m.className.replace(/ active/g,""),d.removeAttribute("disabled"),d.removeAttribute("data-ark-related"),d.removeAttribute("data-ark-value")):-1<o.className.indexOf("v-radio-checked")&&1===r&&(s.setAttribute("checked","checked"),d.setAttribute("disabled","disabled"),h.style.display="block",g.style.display="block",""===u.value&&(g.className=g.className.replace(/ active/g,"")),d.className=d.className.replace(/ width246/g,""),e.properties[0].regex&&""!==e.properties[0].regex||(u.style.display="none",m.style.display="none"))}function f(){zt=!0,h.className+=" active";var e,t,n,r=(Yt=d).getAttribute("data-ark-related"),o=!1;return"checked"===d.getAttribute("checked")&&(o=!0),r&&((e=JSON.parse(r).target).h5_path&&(!(t=v(R(S.arrayMerge([],Xt.newPath),e))[0])||(n=$t(t.parentNode,"ARK_SAVE_PRO"))&&n.parentNode.removeChild(n)),o=!0),o}function A(){zt=!1;for(var e=document.getElementsByClassName("ICON_XQ"),t=0;t<e.length;t++)e[t].className=e[t].className.replace(/ active/g,"");Yt=null}S.addEvent(t,"input",qt),S.addEvent(u,"input",function(){var e=d.getAttribute("data-ark-value"),t=u.value;try{var n=e||d.value;if(!n)return;if(!t)return void(d.value=n);var r=new RegExp(t).exec(n);r&&0<r.length?d.value=r[0]:d.value=n}catch(Vn){d.value=n}}),S.addEvent(h,"click",function(){(!0===zt?A:f)()}),S.addEvent(g,"click",function(){A(),"none"!==m.style.display?(m.style.display="none",u.style.display="none",g.className=g.className.replace(/ active/g,"")):(m.style.display="block",u.style.display="block",g.className+=" active"),u.value=""}),S.addEvent(m,"click",function(){A();var e=d.getAttribute("data-ark-value"),t="[\\d.]+";u.value=t;try{var n=e||d.value,r=new RegExp(t).exec(n);0<r.length&&(d.value=r[0])}catch(Vn){}});for(var l=0;l<p.length;l++)S.addEvent(p[l],"click",function(c){return function(){var e,t,n,r,o,a,i=p[c],s=$t(i,"v-radio-input"),l=$t(i,"v-radio-ARK");l.className.indexOf("v-radio-checked")<0&&!0!==s.disabled&&(l.className+=" v-radio-checked",s.setAttribute("checked","checked"),e=i.nextSibling,"ARK_PRO_ELEMENT"===s.id?(f(),e=i.previousSibling,d.setAttribute("placeholder","--"),d.setAttribute("disabled","disabled"),d.value="",u.value="",h.style.display="block",g.style.display="block",g.className=g.className.replace(/ active/g,""),d.className=d.className.replace(/ width246/g,""),Mt++):(A(),d.setAttribute("placeholder","请输入属性值"),d.value="",u.value="",d.className+=" width246",u.style.display="none",h.style.display="none",g.style.display="none",m.style.display="none",h.className.replace(/ active/g,""),g.className.replace(/ active/g,""),m.className.replace(/ active/g,""),d.removeAttribute("disabled"),!(t=d.getAttribute("data-ark-related"))||(n=JSON.parse(t).target).h5_path&&(!(r=v(R(S.arrayMerge([],Xt.newPath),n))[0])||(o=$t(r.parentNode,"ARK_SAVE_PRO"))&&o.parentNode.removeChild(o)),d.removeAttribute("data-ark-related"),d.removeAttribute("data-ark-value"),Mt--),a=$t(e,"v-radio-input"),$t(e,"v-radio-ARK").className=l.className.replace(/ v-radio-checked/g,""),a.removeAttribute("checked"),Qt())}}(l));S.addEvent(n,"click",function(){!0===f()&&Mt--,zt=!1,a.parentNode.removeChild(a),Qt()}),S.addEvent(i,"click",function(){var r=i.nextSibling;r.className=r.className.replace(/ TOP/g,"");var e=i.getAttribute("data-type");a.nextSibling||(r.className+=" TOP"),r.style.display="block";for(var o=r.childNodes,t=0;t<o.length;t++){var n=o[t].getAttribute("data-type");o[t].className=o[t].className.replace(/selected/g,""),e===n&&(o[t].className+="selected"),o[t].onclick=function(n){return function(){for(var e=n.getAttribute("data-type"),t=0;t<o.length;t++)o[t].className=o[t].className.replace(/selected/g,"");i.value=n.innerText,n.className+="selected",i.setAttribute("data-type",e),r.style.display="none"}}(o[t])}})}function Qt(){var e=!1;5<=Mt&&(e=!0);var t=document.getElementById("ARK_PRO_LIST");if(t)for(var n=t.getElementsByClassName("ARK_PRO_ITEM"),r=0;r<n.length;r++){var o,a=n[r].getElementsByClassName("v-radio-input"),i=a[0],s=a[1];"checked"===i.getAttribute("checked")&&(o=s.parentNode.parentNode,e?o.className.indexOf(" v-radio-wrapper-disabled")<0&&(o.className+=" v-radio-wrapper-disabled",s.setAttribute("disabled","disabled"),o.setAttribute("data-ark-tip","关联元素个数达到上限，最多可关联5个元素！"),o.setAttribute("data-ark-tip-pos",JSON.stringify({left:"45px"}))):(o.className=o.className.replace(/ v-radio-wrapper-disabled/g,""),s.removeAttribute("disabled","disabled"),o.removeAttribute("data-ark-tip")))}}var Zt=[];function qt(e){var o,t,a=(e||window.event).target,n=a.value,i=a.nextSibling,s=a.parentNode.parentNode.getElementsByClassName("PROTYPE")[0];s.removeAttribute("disabled"),i.innerHTML="",i.style.display="none",i.style.maxHeight="130px",""!==n&&(o=function o(e){var t=e.data;if(0<t.length){for(var n=0;n<t.length;n++){var r=document.createElement("li");r.innerHTML="<span>"+t[n].code+"</span>",i.appendChild(r),r.onclick=function(n){return function(){var e=n.dataType,t="字符串";a.value=n.code,i.style.display="none","boolean"===e?(e="bool",t="布尔值"):"number"===e&&(t="数值"),s.value=t,s.setAttribute("data-type",e),s.setAttribute("disabled","disabled")}}(t[n])}i.style.display="block"}},t=+new Date,Zt.push({id:t,callback:o}),M({code:200,type:"pro_like",id:t,key:a.value}))}function en(){for(var e=document.getElementsByClassName("ARK_SHOW_DISPOSE");0<e.length;){e[0].getAttribute("data-ark-attr")?e[0].className=e[0].className.replace(/ ARK_SHOW_DISPOSE/g,""):(e[0].parentNode||document.body).removeChild(e[0])}}var tn={top:null,left:null};function nn(){en(),rn("ARK_SAVE_PRO"),rn("ARK_PRO_ELE"),rn("debugLog");var e=document.getElementById("ARK_BOX");e&&(tn.left=e.style.left,tn.top=e.style.top,(e.parentNode||document.body).removeChild(e));var t=document.getElementById("ARK_IS_CLICK");t&&(t.parentNode||document.body).removeChild(t);var n=document.getElementById("ARK_SAVE_CLICK");n&&(n.parentNode||document.body).removeChild(n)}function rn(e){for(var t=document.getElementsByClassName(e);0<t.length;){(t[0].parentNode||document.body).removeChild(t[0])}zt=!1}function on(e,t,n){e.setAttribute("data-ark-attr",JSON.stringify(t));var r,o,a,i=mn(e),s=i.width,l=i.height;s&&l&&("String"===S.paramType(e.className)&&-1<e.className.indexOf("ARK_")?e.className=e.className.replace(/ ARK_NO_LIGHT/g,""):(a=null,(r=e.getAttribute("data-ark-id"))&&(a=document.getElementById(r)),a?(a.style.left=i.x+"px",a.style.top=i.y+"px",a.style.width=i.width+"px",a.style.height=i.height+"px"):(r=+new Date+""+Math.floor(1e6*Math.random()),e.setAttribute("data-ark-id",r),o=e.parentNode||document.body,a=fn(e,"","ARK_SAVE_DISPOSE"),o.appendChild(a)),a.setAttribute("data-ark-attr",JSON.stringify(t)),a.id=r,n&&(_n(e),jt())))}function an(e){nn(),e.removeAttribute("data-ark-attr");var t,n,r=e.getAttribute("data-ark-id");r&&(e.removeAttribute("data-ark-id"),e.removeAttribute("data-ark-attr"),(t=document.getElementById("ARK_CLICK"))&&(t.parentNode||document.body).removeChild(t),(n=document.getElementById(r))&&(n.parentNode||document.body).removeChild(n))}var sn=null,ln=/\d{13}/g;function cn(e){for(var t=null,n=null,r=e,o=null;r;)"TABLE"===r.tagName&&(o=r),-1===navigator.userAgent.indexOf("MSIE 8.0")&&(t+=r.clientLeft,n+=r.clientTop),t+=r.offsetLeft,n+=r.offsetTop,r=r.offsetParent;return{left:t,top:n,eleTable:o}}var pn=0,dn=0,un=[];function hn(e){var t=e.target;if(t.id&&("ARK_PRO"===t.id||"ARK_SAVE_CLICK"===t.id)||"String"===S.paramType(t.className)&&(-1<t.className.indexOf("ARK_SAVE_DISPOSE")||"ARK_SAVE_PRO"===t.className)||"ARK_SHOW_DISPOSE"===t.className)return t.style.display="none",un.push(t),!0;if(l(t,document.getElementById("ARK_SAVE_CLICK")))return document.getElementById("ARK_SAVE_CLICK").style.display="none",un.push(document.getElementById("ARK_SAVE_CLICK")),!0;var n=t.tagName;if(l(t,document.getElementById("ARK_BOX"))||l(t,document.getElementById("ARK_DEBUG_BOX"))||-1<["html","body","hr","br","canvas","svg","use"].indexOf(n.toLowerCase())){var r=document.getElementById("ARK_CLICK");return r&&(r.parentNode||document.body).removeChild(r),!0}var o,a,i=!0===zt?bn.ele:yn.ele;(An=!0===zt?document.getElementById("ARK_PRO"):document.getElementById("ARK_CLICK"))&&(2<Math.abs(e.clientX-pn)||2<Math.abs(e.clientY-dn))&&(An.style.display="none"),t!==An&&i!==t&&(o=t.parentNode||document.body,_n(i=t),!0!==Tn&&(An&&(An.parentNode||document.body).removeChild(An),a=!0===zt?fn(i,"ARK_PRO","ARK_PRO_ELE"):fn(i,"ARK_CLICK","ARK_CLICK_ELE"),o.appendChild(a)),function(){for(var e=yn.ele,t=wn,n=e.childNodes||[],r=0;r<n.length;r++)for(var o=0;o<t.length;o++){var a=t[o];1==X(yn.newPath,a.newPath)&&!0===E(yn,a,!0)&&on(e,a)}}()),clearTimeout(vn),vn=null,vn=setTimeout(function(){An&&(An.style.display="block")},20)}function gn(e){var t=(e||window.event).target;if(!(t.id&&"ARK_PRO"===t.id||"String"===S.paramType(t.className)&&-1<t.className.indexOf("ARK_"))){for(var n=0;n<un.length;n++)un[n].style.display="block";un=[]}}function mn(e){var t=e.offsetParent||document.body,n=cn(e),r=cn(t),o=n.top-r.top,a=n.left-r.left;return null!==n.eleTable&&(r=cn(n.eleTable.offsetParent),a=n.left-r.left,o=n.top-r.top),{x:a-1.5,y:o-1.5,width:e.offsetWidth,height:e.offsetHeight}}function fn(e,t,n){var r=document.createElement("div");r.id=t,r.className=n;var o=mn(e);return r.style.top=o.y+"px",r.style.left=o.x+"px",r.style.width=o.width+"px",r.style.height=o.height+"px",r}S.addEvent(document,"click",function(e){for(var t=(e||window.evnet).target,n=document.getElementsByClassName("ARK_DROPDOWN"),r=0;r<n.length;r++)n[r].style.display="none";return!(!1!==On&&!l(t,document.getElementById("ARK_BOX")))||(!0===Tn?!1!==l(t,document.getElementById("ARK_DEBUG_BOX"))||(e.stopPropagation(),e.preventDefault(),Sn(),function(){var e=yn.ele.getAttribute("data-ark-attr");if(!e)return;var t=JSON.parse(e).appEventId,n=window.location.hash;-1<n.indexOf("?")&&(n=n.split("?")[0]);var r=window.location.protocol+"//"+window.location.host+window.location.pathname+n;M({event_info:{$event_id:t,$lib_version:ae,$screen_width:window.screen.width,$screen_height:window.screen.height},type:"debug",target_page:r})}(),!1):(Sn(),!0===zt&&bn.ele?(e.stopPropagation(),e.preventDefault(),function(){for(var e=0,t=S.arrayMerge([],bn.newPath),n=(n=S.arrayMerge([],Xt.newPath)).reverse(),t=t.reverse(),r=!0;e<n.length&&!0===r;){if(n[e]&&t[e])for(var o in n[e])n[e][o]!==t[e][o]&&(r=!1);else r=!1;if(!1===r)break;e++}0<e&&t.splice(0,e-1),0===e&&(t[0]=n[0]);var a=Xt.newPath.length-e,i={target:{h5_path:t.reverse(),step:a}};Yt.setAttribute("data-ark-related",JSON.stringify(i));var s=N(bn.ele,!0);Yt.value=s||"--",s&&Yt.setAttribute("data-ark-value",s);var l=Yt.parentNode.getElementsByClassName("ICON_XQ");0<l.length&&((l=l[0]).className=l.className.replace(/ active/g,""));for(var c=document.getElementsByClassName("ARK_SAVE_DISPOSE"),p=0;p<c.length;p++)c[p].style.display="block";var d=fn(bn.ele,"","ARK_SAVE_PRO");bn.ele.parentNode.appendChild(d);var u=document.getElementById("ARK_PRO");u&&(u.parentNode||document.body).removeChild(u),zt=!1}(),!1):!1===l(t,document.getElementById("ARK_BOX"))?(e.stopPropagation(),e.preventDefault(),nn(),jt(),!1):void 0))},!0);var An=null,vn=null,yn={},bn={};function _n(e){var t=P(e),n=t.path,r=w(e,t.path);!0===zt?bn={index:r,elePath:sn,path:n,newPath:t.newPath,ele:e}:yn={index:r,elePath:sn,path:n,newPath:t.newPath,ele:e}}function En(){nn(),S.addEvent(document,"mousemove",hn,!0),S.addEvent(document,"mouseout",gn,!0);for(var e=document.getElementsByClassName("ARK_SAVE_DISPOSE"),t=0;t<e.length;t++)e[t].className=e[t].className.replace(" ARK_NO_LIGHT","")}var wn=[];function Rn(e){var t=[],n=window.location.hash;-1<n.indexOf("?")&&(n=n.split("?")[0]);for(var r,o,a,i,s,l=window.location.protocol+"//"+window.location.host+window.location.pathname+n,c=[],p=0;p<e.length;p++){e[p].inPage=!1,l!==e[p].url&&1!==e[p].isAll||(r=e[p].link,o=e[p].new_path,a=e[p].props_binding,o||a?(e[p].newPath=o,c.push(e[p])):(i=e[p].index,!0===ln.test(r)&&(r=r.replace(ln,"")),(s=A(r)[i])&&(on(s,e[p]),e[p].inPage=!0)),t.push(e[p]))}if(0<c.length){for(var d=V(c),u=0;u<d.length;u++)on(d[u].ele,d[u].config);for(var h=0;h<e.length;h++)for(var g=0;g<c.length;g++)e[h].appEventId===c[g].newEvent&&!1===e[h].inPage&&1===e[p].isAll&&(e[h].inPage=c[g].inPage)}return wn=t,e}var On=!0;function Nn(e){nn(),e?(On=!0,En()):(On=!1,function(){nn(),S.removeEvent(document,"mousemove",hn,!0);var e=document.getElementById("ARK_CLICK");e&&(e.parentNode||document.body).removeChild(e);for(var t=document.getElementsByClassName("ARK_SAVE_DISPOSE"),n=0;n<t.length;n++)t[n].className+=" ARK_NO_LIGHT"}())}var Tn=!1;function xn(e){Tn=e}function Sn(){var e=document.getElementById("ARK_DEBUG_BOX");e&&e.parentNode.removeChild(e)}function In(e){var t=yn.ele,n=t.getAttribute("data-ark-attr"),r=(n=JSON.parse(n)).related||[],o=n.properties||[],a=y(t,"debug"),i={top:a.top,left:a.left,list:e.event_info||[],newPath:P(t).newPath};if(0<r.length)for(var s=0;s<r.length;s++){var l=S.toDeep(r[s].target);if(l.path=l.h5_path,l.h5_path){var c=v(R(i.newPath,l))[0];if(c){var p=c?N(c,!0):"";if(""!==p){var d=r[s].properties[0].regex;if(d)try{d=S.decode(d);var u=new RegExp(d).exec(p);u&&0<u.length&&(p=u[0])}catch(Vn){}i.list.push({title:r[s].properties[0].key,val:p})}}}}for(var h=0;h<o.length;h++)i.list.push({title:o[h].key,val:o[h].value});var g=function(e){if(e){for(var t="",n=0;n<e.list.length;n++)t+="<div>"+e.list[n].title+":"+e.list[n].val+"<br></div>";return Ut.replace("{TOP}",e.top).replace("{LEFT}",e.left).replace("{LOGLIST}",t)}}(i),m=document.createElement("div");m.innerHTML=g,document.body.appendChild(m.childNodes[0]);var f=document.getElementById("ARK_DEBUG_CHA");S.addEvent(f,"click",Sn)}function kn(){var e=document.getElementById("ARKTOOLTIP");e&&((e.parentNode||document.body).removeChild(e),Kn.ele=null)}var Kn={},Cn=null;S.addEvent(document,"mouseover",function(e){clearTimeout(Cn);var t=(e||window.event).target,n=t.getAttribute("data-ark-tip"),r=t.getAttribute("data-ark-tip-pos")||{};if("String"===S.paramType(r)&&(r=r.replace(/'/g,'"'),r=JSON.parse(r)),n){Kn.ele=t,kn();try{n=JSON.parse(n)}catch(e){}var o="",a="ARKTOP";"String"===S.paramType(n)&&(o=n),"Object"!==S.paramType(n)&&"Object"!==S.paramType(r)||(o=n.msg||o,"right"!==n.pos&&"right"!==r.pos||(a="ARKRIGHT"),"bottom"!==n.pos&&"bottom"!==r.pos||(a="ARKBOTTOM")),kn();var i=fn(t,"ARKTOOLTIP","ARKTOOLTIP");"ARKBOTTOM"===a?(i.style.bottom="-44px",i.style.top="unset"):i.style.top=t.offsetTop-44+"px",r.left&&(i.style.left=r.left),r.top&&(i.style.top=r.top),i.style.width="auto",i.style.height="auto",i.innerHTML='<div div class="ARROW '+a+'" ></div ><span class="WORDS">'+o+"</span>",t.parentNode.appendChild(i)}else Cn=setTimeout(function(){!1===l(t,Kn.ele)&&!1===l(t,document.getElementById("ARKTOOLTIP"))&&kn()},200)});var Ln=!0,Pn=!1,Bn=!0;function Dn(){S.changeHash(function(){Pn=Bn=!0,function(){var e=document.getElementById("ARK_CLICK");e&&(e.parentNode||document.body).removeChild(e);for(var t=document.getElementsByClassName("ARK_SAVE_DISPOSE");0<t.length;){(t[0].parentNode||document.body).removeChild(t[0])}for(var n=S.selectorAllEleList("[data-ark-id]"),r=0;r<n.length;r++)n[r].removeAttribute("data-ark-id"),n[r].removeAttribute("data-ark-attr")}(),Nn(!0),Un()})}function Un(){M({type:"change_page_now",code:200,msg:"跳转埋点页面",url:window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.hash})}Dn(),window.AnalysysModule=S.objMerge(window.AnalysysModule||{},{visual:{init:Dn,msg:function Mn(e){if(Ln){var t,n,r,o,a,i,s,l,c=[],p=e.type,d=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.hash;switch(p){case"INIT":if(e.appid!==g.appid)return M({code:400,type:"INIT",msg:"appkey不相同"}),void(Ln=!1);M({code:200,type:"INIT",isNewVisual:!0}),M({type:"checkUrl",code:200,url:d,skip:!0}),l=e.isNewVisual||!1,Kn.newVision=l,Un();break;case"point_list":if(c=e.data||[],!1===Bn)return;if(!(document.documentElement&&0!==document.documentElement.scrollWidth&&"complete"===document.readyState||5e3<new Date-u)||"complete"!==document.readyState)return void setTimeout(function(){Mn(e)},1e3);M({type:"check_points",list:Rn(c)});break;case"EVENT_URL":M({type:"checkUrl",code:200,url:d,skip:e.url===d});break;case"VISUAL":if(!1===Bn)return void(Pn=e.visual||!1);!0===e.visual?xn(!1):!0===e.debugmode&&xn(!0),!0===Bn&&En();break;case"change_update":if(!1===Bn)return;e.path&&0<e.path.length&&(t=e.path[0],a=t.new_path,i=t.props_binding,s=null,t.isPage=!0,a||i?0<(n=V([t])).length&&(s=n[0].ele):(r=t.link,o=t.index,s=A(r)[o]),s&&on(s,t,!0));break;case"change_delete":!1===Pn&&xn(!1),e.path&&0<e.path.length?(function(e){var t,n,r=e.new_path,o=e.props_binding,a=null,i=[];r||o?i=V([e]):(t=e.link,n=e.index,a=A(t)[n]),a&&an(a);for(var s=0;s<i.length;s++)an(i[s].ele)}(e.path[0]),M({code:200,type:"change_delete"})):M({code:400,type:"change_delete",msg:"删除失败"});break;case"add_success":M({code:200,type:"add_success",msg:"添加成功"});break;case"success_update":e.path&&0<e.path.length&&Rn(e.path);break;case"debug":In(e);break;case"highlight":Nn(Bn=e.highlight);break;case"like_pro":!function(e){for(var t=null,n=0;n<Zt.length;n++)e.id===Zt[n].id&&(Zt[n].callback(e),t=1);Zt.splice(t,1)}(e)}}},version:"4.5.0"}})}();
  