/*! 2023-08-01 19:38:25 v8.15.22 */ !function(e){function i(n){if(o[n])return o[n].exports;var r=o[n]={exports:{},id:n,loaded:!1};return e[n].call(r.exports,r,r.exports,i),r.loaded=!0,r.exports}var o={};return i.m=e,i.c=o,i.p="",i(0)}([function(e,i){"use strict";var o=window,n=document;!function(){var e=2,r="ali_analytics";if(o[r]&&o[r].ua&&e<=o[r].ua.version)return void(i.info=o[r].ua);var t,a,d,s,c,u,h,l,m,b,f,v,p,w,g,x,z,O=o.navigator,k=O.appVersion,T=O&&O.userAgent||"",y=function(e){var i=0;return parseFloat(e.replace(/\./g,function(){return 0===i++?".":""}))},_=function(e,i){var o,n;i[o="trident"]=.1,(n=e.match(/Trident\/([\d.]*)/))&&n[1]&&(i[o]=y(n[1])),i.core=o},N=function(e){var i,o;return(i=e.match(/MSIE ([^;]*)|Trident.*; rv(?:\s|:)?([0-9.]+)/))&&(o=i[1]||i[2])?y(o):0},P=function(e){return e||"other"},M=function(e){function i(){for(var i=[["Windows NT 5.1","winXP"],["Windows NT 6.1","win7"],["Windows NT 6.0","winVista"],["Windows NT 6.2","win8"],["Windows NT 10.0","win10"],["iPad","ios"],["iPhone;","ios"],["iPod","ios"],["Macintosh","mac"],["Android","android"],["Ubuntu","ubuntu"],["Linux","linux"],["Windows NT 5.2","win2003"],["Windows NT 5.0","win2000"],["Windows","winOther"],["rhino","rhino"]],o=0,n=i.length;o",w=n&&n.createElement("div"),g=[],x={webkit:void 0,edge:void 0,trident:void 0,gecko:void 0,presto:void 0,chrome:void 0,safari:void 0,firefox:void 0,ie:void 0,ieMode:void 0,opera:void 0,mobile:void 0,core:void 0,shell:void 0,phantomjs:void 0,os:void 0,ipad:void 0,iphone:void 0,ipod:void 0,ios:void 0,android:void 0,nodejs:void 0,extraName:void 0,extraVersion:void 0};if(w&&w.getElementsByTagName&&(w.innerHTML=p.replace(v,""),g=w.getElementsByTagName("s")),g.length>0){for(_(e,x),s=f[0],c=f[1];s<=c;s++)if(w.innerHTML=p.replace(v,s),g.length>0){x[b="ie"]=s;break}!x.ie&&(d=N(e))&&(x[b="ie"]=d)}else((a=e.match(/AppleWebKit\/*\s*([\d.]*)/i))||(a=e.match(/Safari\/([\d.]*)/)))&&a[1]?(x[m="webkit"]=y(a[1]),(a=e.match(/OPR\/(\d+\.\d+)/))&&a[1]?x[b="opera"]=y(a[1]):(a=e.match(/Chrome\/([\d.]*)/))&&a[1]?x[b="chrome"]=y(a[1]):(a=e.match(/\/([\d.]*) Safari/))&&a[1]?x[b="safari"]=y(a[1]):x.safari=x.webkit,(a=e.match(/Edge\/([\d.]*)/))&&a[1]&&(m=b="edge",x[m]=y(a[1])),/ Mobile\//.test(e)&&e.match(/iPad|iPod|iPhone/)?(x.mobile="apple",a=e.match(/OS ([^\s]*)/),a&&a[1]&&(x.ios=y(a[1].replace("_","."))),t="ios",a=e.match(/iPad|iPod|iPhone/),a&&a[0]&&(x[a[0].toLowerCase()]=x.ios)):/ Android/i.test(e)?(/Mobile/.test(e)&&(t=x.mobile="android"),a=e.match(/Android ([^\s]*);/),a&&a[1]&&(x.android=y(a[1]))):(a=e.match(/NokiaN[^\/]*|Android \d\.\d|webOS\/\d\.\d/))&&(x.mobile=a[0].toLowerCase()),(a=e.match(/PhantomJS\/([^\s]*)/))&&a[1]&&(x.phantomjs=y(a[1]))):(a=e.match(/Presto\/([\d.]*)/))&&a[1]?(x[m="presto"]=y(a[1]),(a=e.match(/Opera\/([\d.]*)/))&&a[1]&&(x[b="opera"]=y(a[1]),(a=e.match(/Opera\/.* Version\/([\d.]*)/))&&a[1]&&(x[b]=y(a[1])),(a=e.match(/Opera Mini[^;]*/))&&a?x.mobile=a[0].toLowerCase():(a=e.match(/Opera Mobi[^;]*/))&&a&&(x.mobile=a[0]))):(d=N(e))?(x[b="ie"]=d,_(e,x)):(a=e.match(/Gecko/))&&(x[m="gecko"]=.1,(a=e.match(/rv:([\d.]*)/))&&a[1]&&(x[m]=y(a[1]),/Mobile|Tablet/.test(e)&&(x.mobile="firefox")),(a=e.match(/Firefox\/([\d.]*)/))&&a[1]&&(x[b="firefox"]=y(a[1])));t||(t=i());var z,O,T;if(!r("type","application/vnd.chromium.remoting-viewer")){z="scoped"in n.createElement("style"),T="v8Locale"in o;try{O=o.external||void 0}catch(e){}if(a=e.match(/360SE/))u="360";else if((a=e.match(/SE\s([\d.]*)/))||O&&"SEVersion"in O)u="sougou",h=y(a[1])||.1;else if((a=e.match(/Maxthon(?:\/)+([\d.]*)/))&&O){u="maxthon";try{h=y(O.max_version||a[1])}catch(e){h=.1}}else z&&T?u="360se":z||T||!/Gecko\)\s+Chrome/.test(k)||x.opera||x.edge||(u="360ee")}(a=e.match(/TencentTraveler\s([\d.]*)|QQBrowser\/([\d.]*)/))?(u="tt",h=y(a[2])||.1):(a=e.match(/LBBROWSER/))||O&&"LiebaoGetVersion"in O?u="liebao":(a=e.match(/TheWorld/))?(u="theworld",h=3):(a=e.match(/TaoBrowser\/([\d.]*)/))?(u="taobao",h=y(a[1])||.1):(a=e.match(/UCBrowser\/([\d.]*)/))&&(u="uc",h=y(a[1])||.1),x.os=t,x.core=x.core||m,x.shell=b,x.ieMode=x.ie&&n.documentMode||x.ie,x.extraName=u,x.extraVersion=h;var P=o.screen.width,M=o.screen.height;return x.resolution=P+"x"+M,x},S=function(e){function i(e){return Object.prototype.toString.call(e)}function o(e,o,n){if("[object Function]"==i(o)&&(o=o(n)),!o)return null;var r={name:e,version:""},t=i(o);if(o===!0)return r;if("[object String]"===t){if(n.indexOf(o)!==-1)return r}else if(o.exec){var a=o.exec(n);if(a)return a.length>=2&&a[1]?r.version=a[1].replace(/_/g,"."):r.version="",r}}var n={name:"other",version:""};e=(e||"").toLowerCase();for(var r=[["nokia",function(e){return e.indexOf("nokia ")!==-1?/\bnokia ([0-9]+)?/:/\bnokia([a-z0-9]+)?/}],["samsung",function(e){return e.indexOf("samsung")!==-1?/\bsamsung(?:[ \-](?:sgh|gt|sm))?-([a-z0-9]+)/:/\b(?:sgh|sch|gt|sm)-([a-z0-9]+)/}],["wp",function(e){return e.indexOf("windows phone ")!==-1||e.indexOf("xblwp")!==-1||e.indexOf("zunewp")!==-1||e.indexOf("windows ce")!==-1}],["pc","windows"],["ipad","ipad"],["ipod","ipod"],["iphone",/\biphone\b|\biph(\d)/],["mac","macintosh"],["mi",/\bmi[ \-]?([a-z0-9 ]+(?= build|\)))/],["hongmi",/\bhm[ \-]?([a-z0-9]+)/],["aliyun",/\baliyunos\b(?:[\-](\d+))?/],["meizu",function(e){return e.indexOf("meizu")>=0?/\bmeizu[\/ ]([a-z0-9]+)\b/:/\bm([0-9x]{1,3})\b/}],["nexus",/\bnexus ([0-9s.]+)/],["huawei",function(e){var i=/\bmediapad (.+?)(?= build\/huaweimediapad\b)/;return e.indexOf("huawei-huawei")!==-1?/\bhuawei\-huawei\-([a-z0-9\-]+)/:i.test(e)?i:/\bhuawei[ _\-]?([a-z0-9]+)/}],["lenovo",function(e){return e.indexOf("lenovo-lenovo")!==-1?/\blenovo\-lenovo[ \-]([a-z0-9]+)/:/\blenovo[ \-]?([a-z0-9]+)/}],["zte",function(e){return/\bzte\-[tu]/.test(e)?/\bzte-[tu][ _\-]?([a-su-z0-9\+]+)/:/\bzte[ _\-]?([a-su-z0-9\+]+)/}],["vivo",/\bvivo(?: ([a-z0-9]+))?/],["htc",function(e){return/\bhtc[a-z0-9 _\-]+(?= build\b)/.test(e)?/\bhtc[ _\-]?([a-z0-9 ]+(?= build))/:/\bhtc[ _\-]?([a-z0-9 ]+)/}],["oppo",/\boppo[_]([a-z0-9]+)/],["konka",/\bkonka[_\-]([a-z0-9]+)/],["sonyericsson",/\bmt([a-z0-9]+)/],["coolpad",/\bcoolpad[_ ]?([a-z0-9]+)/],["lg",/\blg[\-]([a-z0-9]+)/],["android",/\bandroid\b|\badr\b/],["blackberry",function(e){return e.indexOf("blackberry")>=0?/\bblackberry\s?(\d+)/:"bb10"}]],t=0;t0?o.ratio:r.jsErrorRecordRatio}),e=["Message: "+o.message,"Error object: "+o.error,"Url: "+location.href].join(" - "),c=goldlog.spm_ab||[],i=location.hostname+location.pathname;t.run({code:110,page:i,msg:"record_jserror_by"+s+"_"+o.message,spm_a:c[0],spm_b:c[1],c1:e,c2:o.filename,c3:location.protocol+"//"+i,c4:goldlog.pvid||"",c5:o.logid||""})}catch(o){a.logger({msg:o})}},do_tracker_lostpv:function(o){var t=!1;try{if(o&&o.page){var e=o.spm_ab?o.spm_ab.split("."):[],c="record_lostpv_by"+s+"_"+o.msg,i=new n({ratio:o.ratio||r.lostPvRecordRatio});i.run({code:102,page:o.page,msg:c,spm_a:e[0],spm_b:e[1],c1:o.duration,c2:o.page_url}),t=!0}}catch(o){a.logger({msg:o})}return t},do_tracker_obsolete_inter:function(o){var t=!1;try{if(o&&o.page){var e=o.spm_ab?o.spm_ab.split("."):[],c="record_obsolete interface be called by"+s,i=new n({ratio:o.ratio||r.obsoleteInterRecordRatio});i.run({code:109,page:o.page,msg:c,spm_a:e[0],spm_b:e[1],c1:o.interface_name,c2:o.interface_params},1),t=!0}}catch(o){a.logger({msg:o})}return t},do_tracker_browser_support:function(o){var t=!1;try{if(o&&o.page){var e=o.spm_ab?o.spm_ab.split("."):[],c=new n({ratio:o.ratio||r.browserSupportRatio}),i=goldlog._aplus_client||{},l=i.ua_info||{};c.run({code:111,page:o.page,msg:o.msg+"_by"+s,spm_a:e[0],spm_b:e[1],c1:[l.o,l.b,l.w].join("_"),c2:o.etag||"",c3:o.cna||""}),t=!0}}catch(o){a.logger({msg:o})}return t},do_tracker_common_analysis:function(o){var t=!1;try{if(o&&o.page){var e=o.spm_ab?o.spm_ab.split("."):[],c=new n({ratio:o.ratio||r.browserSupportRatio}),i=goldlog._aplus_client||{},l=i.ua_info||{};c.run({code:113,page:o.page,msg:o.msg+"_by"+s,spm_a:e[0],spm_b:e[1],c1:[l.o,l.b,l.w].join("_"),c2:o.init_time||"",c3:o.wspv_time||0,c4:o.load_time||0,c5:o.channel_type}),t=!0}}catch(o){a.logger({msg:o})}return t}}}},function(o,t){"use strict";t.lostPvRecordRatio="0.01",t.obsoleteInterRecordRatio="0.001",t.jsErrorRecordRatio="0.001",t.browserSupportRatio="0.001",t.goldlogQueueRatio="0.01"},function(o,t){"use strict";var e=function(o){var t=o.level||"warn";window.console&&window.console[t]&&window.console[t](o.msg)};t.logger=e,t.assign=function(o,t){if("function"!=typeof Object.assign){var e=function(o){if(null===o)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(o),e=1;e-1}var f=window;e.assign=o,e.makeCacheNum=function(){return Math.floor(268435456*Math.random()).toString(16)},e.each=n(10),e.isStartWith=function(t,e){return 0===t.indexOf(e)},e.isEndWith=function(t,e){var n=t.length,o=e.length;return n>=o&&t.indexOf(e)==n-o},e.any=function(t,e){var n,o=t.length;for(n=0;n-1&&(r=1),a.setTime(a.getTime()+365*r*24*60*60*1e3),e+="; expires="+a.toUTCString()}e+="; path="+(n.path?n.path:"/"),e+="; domain="+n.domain,s.cookie=t+"="+e;var i=0;try{var u=navigator.userAgent.match(/Chrome\/\d+/);u&&u[0]&&(i=u[0].split("/")[1],i&&(i=parseInt(i)))}catch(t){}return n.SameSite&&i>=80&&(e+="; SameSite="+n.SameSite,e+="; Secure",s.cookie=t+"="+e),o(t)}function r(t,e,n){try{if(n||(n={}),n.domain)a(t,e,n);else for(var o=l.getDomains(),r=0;r0&&(n=i[0])}return n||(n=r.is_terminal?"m.gif":"v.gif"),n},run:function(){var t=!!this.options.context.is_single;if(!t){var e=this.getAplusMetaByKey("aplus-rhost-v"),n=this.options.context.where_to_sendpv||{},a=n.url||"",r=this.getGifPath(n.urlRule,a),i=o.getPvUrl({metaName:"aplus-rhost-v",metaValue:e,gifPath:r,url:o.filterIntUrl(a)});n.url=i,this.options.context.where_to_sendpv=n}}}}},function(t,e,n){"use strict";function o(t){t=(t||"").split("#")[0].split("?")[0];var e=t.length,n=function(t){var e,n=t.length,o=0;for(e=0;e1&&e===r[0]?r[1]:"":r.length>1?r[1]:""}return decodeURIComponent(n)}return""},setLsCna:function(t,e,n){n&&a.set&&a.test()&&a.set(t,e+"_"+encodeURIComponent(n))},getUrl:function(t){var e=t||"//log.mmstat.com/eg.js";try{var n=goldlog.getMetaInfo("aplus-rhost-v"),o=/[[a-z|0-9\.]+[a-z|0-9]/,a=n.match(o);a&&a[0]&&(e=e.replace(o,a[0]))}catch(t){}return e}}},function(t,e){"use strict";function n(t){return"string"==typeof t?t.replace(/^\s+|\s+$/g,""):""}e.trim=n},function(t,e){"use strict";t.exports={set:function(t,e){try{return localStorage.setItem(t,e),!0}catch(t){return!1}},get:function(t){try{return localStorage.getItem(t)}catch(t){return""}},test:function(){var t="grey_test_key";try{return localStorage.setItem(t,1),localStorage.removeItem(t),!0}catch(t){return!1}},remove:function(t){localStorage.removeItem(t)}}},function(t,e,n){"use strict";var o=n(9),a=function(){if(goldlog.aplusDebug){var t=location.protocol;return"http:"!==t&&"https:"!==t&&(t="https:"),t}return"https:"};e.getProtocal=a,e.isStartWithProtocol=function(t){for(var e=["javascript:","tel:","sms:","mailto:","tmall://","#"],n=0,a=e.length;n-1},l=0;l0?n.param2obj(t.substring(0,u)):{};delete p[""],s=n.obj2param(c.assign(p,r))+"&"+t.substring(u,t.length)}else s=n.obj2param(r)+"&"+o;return s}return a}catch(t){return a}};e.mergeExparams=d},function(t,e,n){"use strict";var o=n(32),a=n(3),r=n(11),i=n(30),s=n(19),u=n(33),c=n(34),l=n(25),p=n(4);t.exports=function(){return{init:function(t){this.options=t;var e=this.options.context.etag||{};this.cna=e.cna||r.getCookie("cna"),this.setTag(0),this.setStag(-1),this.setLsTag("-1"),this.setEtag(this.cna||""),this.requesting=!1,this.today=u.getFormatDate()},setLsTag:function(t){this.lstag=t,this.options.context.etag.lstag=t},setTag:function(t){this.tag=t,this.options.context.etag.tag=t},setStag:function(t){this.stag=t,this.options.context.etag.stag=t},setEtag:function(t){t&&(this.etag=t,this.options.context.etag.cna=t,r.getCookie("cna")!==t&&(o.publishCNA(t),r.setCookie("cna",t,{SameSite:"none"})))},setLscnaStatus:function(t){this.options.context.etag.lscnastatus=t},run:function(t,e){var n=this;if(n.cna)return void n.setTag(1);var o=null,r=c.getUrl(this.options.context.etag||{});n.requesting=!0;var u=function(){setTimeout(function(){e()},20),clearTimeout(o)};return i.loadScript(r,function(t){var e,o;if(t&&"error"===t.type?(n.setStag(-3),a.do_tracker_jserror({message:"loadError",error:"",filename:"etag_ls"})):(e=l.getGoldlogVal("Etag"),o=l.getGoldlogVal("stag"),"undefined"!=typeof o&&n.setStag(o)),!n.requesting)return void n.setEtag(e);if(2===o||4===o){var r=s.getLsCna(p.LS_CNA_KEY);r?(n.setLsTag(1),n.setEtag(r)):(n.setLsTag(0),s.setLsCna(p.LS_CNA_KEY,n.today,e),n.setEtag(e))}else n.setEtag(e);u()}),o=setTimeout(function(){n.requesting=!1,n.setStag(-2),e()},1500),2e3}}}},function(t,e){"use strict";var n="function",o=function(){var t=window.goldlog||{},e=t.aplus_pubsub||{},o=typeof e.publish===n;return o?e:""},a=function(t){var e=o();e&&typeof e.publish===n&&e.publish.apply(e,t)};e.doPubMsg=a;var r=function(t){var e=o();e&&typeof e.cachePubs===n&&e.cachePubs.apply(e,t)};e.doCachePubs=r,e.doSubMsg=function(t,e){var a=o();a&&typeof a.subscribe===n&&a.subscribe(t,e)},e.doSubOnceMsg=function(t,e){var a=o();a&&typeof a.subscribeOnce===n&&a.subscribeOnce(t,e)},e.publishCNA=function(t){if(t){var e=["CNA",{value:t}];a(e),r(e)}}},function(t,e){"use strict";function n(t,e,n){var o=""+Math.abs(t),a=e-o.length,r=t>=0;return(r?n?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+o}e.getFormatDate=function(t){var e=new Date;try{return[e.getFullYear(),n(e.getMonth()+1,2,0),n(e.getDate(),2,0)].join(t||"")}catch(t){return""}}},function(t,e,n){"use strict";var o=n(19);e.getUrl=function(t){var e=(new Date).getTime(),n=o.getUrl(t&&t.egUrl?t.egUrl:"gj.mmstat.com/eg.js"),a=n.match(/[\w+\.]+[a-z|A-Z|0-9]+\/(eg|ge).js/);return 0!==n.indexOf("http")&&a&&a.length>0&&(n="//"+a[0]),n+"?t="+e}},function(t,e,n){"use strict";var o=n(19),a=n(30),r=n(34),i=n(4),s=n(33),u=n(21);t.exports=function(){return{init:function(t){this.options=t,this.today=s.getFormatDate()},run:function(){var t=this;if(u.test()){var e=o.getLsCna(i.LS_CNA_KEY,t.today);e||setTimeout(function(){var e=r.getUrl(t.options.context.etag||{});a.loadScript(e,function(e){e&&"error"!==e.type&&o.setLsCna(i.LS_CNA_KEY,t.today,goldlog.Etag)})},1e3)}}}}},function(t,e,n){"use strict";e.plugins_pv=[{name:"etag",enable:!0,path:n(37)},{name:"when_to_sendpv",enable:!0,path:n(38)},{name:"where_to_sendlog_ut",enable:!0,path:n(39)},{name:"is_single",enable:!0,path:n(41)},{name:"what_to_pvhash",enable:!0,path:n(45)},{name:"what_to_sendpv",enable:!0,path:n(46)},{name:"what_to_sendpv_userdata",enable:!0,path:n(50),deps:["what_to_sendpv"]},{name:"what_to_sendpv_etag",enable:!0,path:n(55),deps:["etag","what_to_sendpv"]},{name:"what_to_sendpv_ut2",enable:n(56),path:n(57),deps:["where_to_sendlog_ut","is_single"]},{name:"what_to_sendpv_ut",enable:!0,path:n(58),deps:["where_to_sendlog_ut","is_single"]},{name:"what_to_pv_slog",enable:!0,path:n(59),deps:["what_to_sendpv"]},{name:"can_to_sendpv",enable:!0,path:n(60)},{name:"where_to_sendpv",enable:!0,path:n(17),deps:["is_single"]},{name:"do_sendpv",enable:!0,path:n(61),deps:["is_single","what_to_sendpv","where_to_sendpv"]},{name:"do_sendpv_ut2",enable:n(56),path:n(62),deps:["what_to_sendpv_ut2","where_to_sendlog_ut"]},{name:"do_sendpv_ut",enable:n(56),path:n(63),deps:["what_to_sendpv_ut","where_to_sendlog_ut"]},{name:"after_pv",enable:!0,path:n(64)}]},function(t,e,n){"use strict";var o=n(32);t.exports=function(){return{init:function(t){this.options=t},run:function(){var t=this;o.doSubOnceMsg("aplusInitContext",function(e){e.etag&&(t.options.context.etag=e.etag)})}}}},function(t,e,n){"use strict";var o=n(25),a=n(23),r=n(26);t.exports=function(){return{init:function(t){this.options=t},getMetaInfo:function(){var t=o.getGoldlogVal("_$")||{},e=t.meta_info||r.getInfo();return e},getAplusWaiting:function(){var t=this.getMetaInfo()||{};return t["aplus-waiting"]},run:function(t,e){var n=this.options.config||{},o=this.getAplusWaiting();if(o&&n.is_auto)switch(o=this.getAplusWaiting()+"",this.options.context.when_to_sendpv={aplusWaiting:o},o){case"MAN":return"done";case"1":return this.options.context.when_to_sendpv.isWait=!0,a.sleep(6e3,function(){e()}),6e3;default:var r=1*o;if(r+""!="NaN")return this.options.context.when_to_sendpv.isWait=!0,a.sleep(r,function(){e()}),r}}}}},function(t,e,n){"use strict";var o=n(40);t.exports=function(){return{init:function(t){this.options=t},getAplusToUT:function(t){return{toUT2:o.getAplusToUT("toUT2",t),toUT:o.getAplusToUT("toUT",t)}},run:function(){if("Umeng4Aplus"===goldlog.aplusBridgeName)this.options.context.where_to_sendlog_ut.toUTName="toUT2";else{var t=this.getAplusToUT(this.options.config.recordType);this.options.context.where_to_sendlog_ut.aplusToUT=t}}}}},function(t,e){"use strict";var n=navigator.userAgent,o=/WindVane/i.test(n);e.is_WindVane=o;var a=function(){var t=goldlog.getMetaInfo("aplus_chnl");return!(!t||!t.isAvailable||"function"!=typeof t.toUT2&&"function"!=typeof t.toUT)&&t};e.isAplusChnl=a,e.getAplusToUT=function(t,e){var n={},r=a();if("object"==typeof r)n.bridgeName=r.bridgeName||"customBridge",n.bridgeVersion=r.bridgeVersion||r.version||"",n.isAvailable=r.isAvailable,n.toUT2=r.toUT2||r.toUT;else{var i=window.WindVane||{};if(o&&i&&i.isAvailable&&"function"==typeof i.call){var s=t||"toUT",u=goldlog.getMetaInfo("aplus-toUT")+"";"toUT2HC"===u&&"PV"===e&&(s=u),n={bridgeName:"WindVane",bridgeVersion:i.version||"",isAvailable:!0,toUT2:function(t,e,n,o){return i.call("WVTBUserTrack",s,t,e,n,o)}}}}return n}},function(t,e,n){"use strict";var o=n(25),a=n(42),r=n(43),i=n(4);t.exports=function(){return{init:function(t){this.options=t,this._$=o.getGoldlogVal("_$")||{},this.isBoth="1"===this._$.meta_info["aplus-both-request"],this.is_WindVane=this._$.is_WindVane},isSingle_pv:function(t){return t?!this.isBoth:!(!this.is_WindVane||!r.isSingleUaVersion()||this.isBoth)},isSingle_hjlj:function(t,e){return e?!this.isBoth:!(!this.is_WindVane||!r.isSingleSendLog(t)||this.isBoth)},isSingle_uhjlj:function(t,e){return(!t||!/^\/aplus\.99\.(\d)+$/.test(t.logkey))&&(e?!this.isBoth:!(!(this.is_WindVane&&t&&t.logkey&&r.isSingleUaVersion())||this.isBoth))},run:function(){var t=this.options.context||{},e=this.options.config||{},n=t.where_to_sendlog_ut.aplusToUT||{},o=n.toUT||{},r=n.toUT2||{},s=a.isNative4Aplus(),u=!!(o.isAvailable||r.isAvailable||s),c=t.userdata||{},l=!!t.is_single;switch(e.recordType){case i.recordTypes.uhjlj:l=this.isSingle_uhjlj(c,s);break;case i.recordTypes.hjlj:l=this.isSingle_hjlj(c,s);break;case i.recordTypes.pv:l=this.isSingle_pv(s);break;default:l=this.isSingle_pv(s)}this.options.context.is_single=u&&l,this.options.context.ut_is_available=u}}}},function(t,e){"use strict";var n="UT4Aplus",o="Umeng4Aplus";e.isNative4Aplus=function(){var t=goldlog.getMetaInfo("aplus-toUT"),e=goldlog.aplusBridgeName;return e===n&&t===n||e===o},e.haveNativeFlagInUA=function(){var t=goldlog.aplusBridgeName;if(!t&&"boolean"!=typeof t){var e=new RegExp([n,o].join("|"),"i"),a=navigator.userAgent.match(e);t=!!a&&a[0],goldlog.aplusBridgeName=t}return!!t}},function(t,e,n){"use strict";var o=n(44),a=n(42),r=function(t){var e=t.logkey.toLowerCase();0===e.indexOf("/")&&(e=e.substr(1));var n=t.gmkey?t.gmkey.toUpperCase():"OTHER";switch(n){case"EXP":return"2201";case"CLK":return"2101";case"SLD":return"19999";case"OTHER":default:return"19999"}},i=/\sA2U\/x/.test(window.navigator.userAgent),s=function(){var t=window.navigator.userAgent,e=!1,n=/AliApp\((DM|DY|DingTalk|CN|LA)\/(\d+[._]\d+[._]\d+)/i,r=n.test(t);return e=r,i||a.haveNativeFlagInUA()||e||o.webviewIsAbove({version_ios_tb:[5,11,7],version_ios_tm:[5,24,1],version_android_tb:[5,11,7],version_android_tm:[5,24,1]})};e.isSingleUaVersion=s,e.isSingleSendLog=function(t){return(!t||!/^\/fsp\.1\.1$/.test(t.logkey))&&!!(t&&t.logkey&&s())},e.getFunctypeValue=function(t){return e.isSingleSendLog(t)?r(t):"2101"},e.getFunctypeValue2=function(t){return r(t)}},function(t,e){"use strict";var n=function(t){var e=[0,0,0];try{if(t){var n=t[1],o=n.split(".");if(o.length>2)for(var a=0;ae[0],a=t[1]>e[1],r=t[2]>e[2],i=t[0]===e[0],s=t[1]===e[1],u=t[2]===e[2];n=!!o||(!(!i||!a)||(!!(i&&s&&r)||!!(i&&s&&u)))}catch(t){n=!1}finally{return n}};e.isAboveVersion=o,e.webviewIsAbove=function(t,e){var a=!1;try{e||(e=navigator.userAgent);var r=e.match(/AliApp\(TB\/(\d+[._]\d+[._]\d+)/i),i=n(r),s=e.match(/AliApp\(TM\/(\d+[._]\d+[._]\d+)/i),u=n(s),c=/iPhone|iPad|iPod|ios/i.test(e),l=/android/i.test(e);c?r&&i?a=o(i,t.version_ios_tb):s&&u&&(a=o(u,t.version_ios_tm)):l&&(r&&i?a=o(i,t.version_android_tb):s&&u&&(a=o(u,t.version_android_tm)))}catch(t){a=!1}return a},e.webviewIsEqual=function(t,e){var n=!1;try{e||(e=navigator.userAgent);var o=e.match(/AliApp\(CN\/(\d+[._]\d+[._]\d+)/i),a=o?o[1]:"0.0.0",r=e.match(/AliApp\(DingTalk\/(\d+[._]\d+[._]\d+)/i),i=r?r[1]:"0.0.0",s=/iPhone|iPad|iPod|ios/i.test(e),u=/android/i.test(e);s?o&&a?n=t.version_ios_cn===a:r&&i&&(n=t.version_ios_dd===i):u&&(o&&a?n=t.version_android_cn===a:r&&i&&(n=t.version_android_dd===i))}catch(t){n=!1}return n},e.webviewIsBelow=function(t,e){var a=!1;try{e||(e=navigator.userAgent);var r=e.match(/AliApp\(CN\/(\d+[._]\d+[._]\d+)/i),i=n(r),s=/iPhone|iPad|iPod|ios/i.test(e),u=/android/i.test(e);s?r&&i&&(a=!o(i,t.version_ios_cn)):u&&r&&i&&(a=!o(i,t.version_android_cn))}catch(t){a=!1}return a}},function(t,e,n){"use strict";var o=n(25);t.exports=function(){return{init:function(t){this.options=t},run:function(){var t=this.options.context.what_to_pvhash||{},e=o.getGoldlogVal("_$")||{},n=e.meta_info||{},a=n["aplus-pvhash"]||"",r=[];"1"===a&&(r=["_aqx_uri",encodeURIComponent(location.href)]),t.hash=r,this.options.context.what_to_pvhash=t}}}},function(t,e,n){"use strict";var o=n(18),a=n(9),r=n(30),i=n(25),s=n(27),u=n(11),c=n(47),l=n(48),p=n(49);t.exports=function(){return a.assign(p,{init:function(t){this.options=t,this.cookie_data||(this.cookie_data=u.getData()),this.client_info||(this.client_info=i.getClientInfo()||{}); var e=location.hash;e&&0===e.indexOf("#")&&(e=e.substr(1)),this.loc_hash=e},getExParams:function(){var t=window,e=document,n=[],u=parent!==t.self,l=e.getElementById("beacon-aplus")||e.getElementById("tb-beacon-aplus"),p=s.tryToGetAttribute(l,"exparams"),g=r.mergeExparams(p,r.getExParamsFromMeta(),o)||"";g=g.replace(/&/g,"&");var f,d,_=["taobao.com","tmall.com","etao.com","hitao.com","taohua.com","juhuasuan.com","alimama.com"],h=i.getGoldlogVal("_$")||{},m=h.meta_info||{};if(u&&!m["aplus-ifr-pv"]){for(d=_.length,f=0;f=0&&t.splice(r,1)}function r(t,e,n,o){var a,r,i=t.length,s=-1,u="function"==typeof n;for(a=0;a-1?t.splice(s,0,[e,n]):t.push([e,n]))}t.exports={updateSPMCnt:n,updateSPMUrl:o,updateKey:r,removeKey:a}},function(t,e,n){"use strict";function o(t,e){var n,o=2146271213;for(n=0;n2&&(g[1]=l,e.spm_cnt=g.join("."))}}var f=function(t){if("object"==typeof t)for(var e in t)"object"!=typeof t[e]&&"function"!=typeof t[e]&&c.push([e,t[e]])};f(goldlog.getMetaInfo("aplus-cpvdata")),f(r);var d=i.getCookie("workno")||i.getCookie("emplId");d&&c.push(["workno",d]);var _=i.getHng();_&&c.push(["_hng",i.getHng()]);var h=this.getPageInfo();return h&&(c.push(["_pw",h.width]),c.push(["_ph",h.height])),c},processLodashDollar:function(){var t=this.options.config||{},e=a.getGoldlogVal("_$")||{};t&&t.referrer&&(e.page_referrer=t.referrer),a.setGoldlogVal("_$",e)},updatePre:function(t){var e=a.getGoldlogVal("_$")||{};return e.page_referrer&&r.updateKey(t,"pre",e.page_referrer),t},run:function(){var t=this.options.context.what_to_sendpv.pvdata,e=this.getUserdata();this.processLodashDollar();var n=t,o=this.options.context.what_to_pvhash.hash;o&&o.length>0&&n.push(o),n=n.concat(e),n=this.updatePre(n);var a=this.getPageId();a&&r.updateSPMCnt(n,a),this.options.context.what_to_sendpv.pvdata=n,this.options.context.userdata=e}}}},function(t,e,n){"use strict";function o(){if(!s.data.a||!s.data.b){var t=r._SPM_a,e=r._SPM_b;if(t&&e)return t=t.replace(/^{(\w+\/)}$/g,"$1"),e=e.replace(/^{(\w+\/)}$/g,"$1"),s.is_wh_in_page=!0,void c.setAB(t,e);var n=goldlog._$.meta_info;t=n["data-spm"]||n["spm-id"]||"0";var o=t.split(".");o.length>1&&(t=o[0],e=o[1]),c.setA(t),e&&c.setB(e);var a=i.getElementsByTagName("body");a=a&&a.length?a[0]:null,a&&(e=l.tryToGetAttribute(a,"data-spm"),e?c.setB(e):1===o.length&&c.setAB("0","0"))}}function a(){var t=s.data.a,e=s.data.b;t&&e&&(goldlog.spm_ab=[t,e])}var r=window,i=document,s={},u={};s.data=u;var c={},l=n(27),p=n(52),g=location.href,f=n(53).getRefer(),d=n(4);c.setA=function(t){s.data.a=t,a()},c.setB=function(t){s.data.b=t,a()},c.setAB=function(t,e){s.data.a=t,s.data.b=e,a()};var _=p.getSPMFromUrl,h=function(){var t=d.utilPvid.makePVId();return d.mustSpmE?t||goldlog.pvid||"":t||""},m=function(t,e){var n=t.goldlog||window.goldlog||{},a=n.meta_info||{};s.meta_protocol=a.spm_protocol;var r,i=n.spm_ab||[],u=i[0]||"0",c=i[1]||"0";"0"===u&&"0"===c&&(o(),u=s.data.a||"0",c=s.data.b||"0"),r=[s.data.a,s.data.b].join("."),s.spm_cnt=(r||"0.0")+".0.0";var l=t.send_pv_count>0?h():n.pvid;l&&(s.spm_cnt+="."+l),n._$.spm=s,"function"==typeof e&&e(l)};c.spaInit=function(t,e,n,o){var a="function"==typeof o?o:function(){},r=s.spm_url,i=window.g_SPM||{},u=t._$||{},c=u.send_pv_count;m({goldlog:t,meta_info:e,send_pv_count:c},function(t){s.spm_cnt=s.data.a+"."+s.data.b+".0.0"+(t?"."+t:"");var o=e["aplus-spm-fixed"];if("1"!==o){s.spm_pre=_(f),s.origin_spm_pre=s.spm_pre,s.spm_url=_(location.href),s.origin_spm_url=s.spm_url;var u=i._current_spm||{};u&&u.a&&"0"!==u.a&&u.b&&"0"!==u.b?(s.spm_url=[u.a,u.b,u.c,u.d,u.e].join("."),s.spm_pre=r):c>0&&n&&"0"!==n[0]&&"0"!==n[1]&&(s.spm_url=n.concat(["0","0"]).join("."),s.spm_pre=r),i._current_spm={}}a()})},c.init=function(t,e,n){s.spm_url=_(g),s.spm_pre=_(f),m({goldlog:t,meta_info:e},function(){"function"==typeof n&&n()})},c.resetSpmCntPvid=function(){var t=goldlog.spm_ab;if(t&&2===t.length){var e=t.join(".")+".0.0",n=h();n&&(e=e+"."+n),s.spm_cnt=e,s.spm_url=e,goldlog._$.spm=s}},t.exports=c},function(t,e){"use strict";function n(t,e){if(!t||!e)return"";var n,o="";try{var a=new RegExp("[?|&]+"+t+"=([^&|#|?|/]+)");if("spm"===t||"scm"===t){var r=new RegExp("\\?.*"+t+"=([\\w\\.\\-\\*/]+)"),i=e.match(a),s=e.match(r),u=i&&2===i.length?i[1]:"",c=s&&2===s.length?s[1]:"";o=u>c?u:c,o=decodeURIComponent(o)}else n=e.match(a),o=n&&2===n.length?n[1]:""}catch(t){}finally{return o}}e.getParamFromUrl=n,e.getSPMFromUrl=function(t){return n("spm",t)}},function(t,e,n){"use strict";var o=n(54).nameStorage,a=n(5);e.getRefer=function(){var t=a.KEY||{},e=t.NAME_STORAGE||{};return document.referrer||o.getItem(e.REFERRER)||""}},function(t,e){"use strict";var n=function(){function t(){var t,e=[],r=!0;for(var l in p)p.hasOwnProperty(l)&&(r=!1,t=p[l]||"",e.push(c(l)+s+c(t)));n.name=r?o:a+c(o)+i+e.join(u)}function e(t,e,n){t&&(t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent&&t.attachEvent("on"+e,function(e){n.call(t,e)}))}var n=window;if(n.nameStorage)return n.nameStorage;var o,a="nameStorage:",r=/^([^=]+)(?:=(.*))?$/,i="?",s="=",u="&",c=encodeURIComponent,l=decodeURIComponent,p={},g={};return function(t){if(t&&0===t.indexOf(a)){var e=t.split(/[:?]/);e.shift(),o=l(e.shift())||"";for(var n,i,s,c=e.join(""),g=c.split(u),f=0,d=g.length;f0&&(this.options.context.what_to_sendpv.pvdata=t.concat(n))},run:function(){this.updateBasicParams(),this.addTagParams()}}}},function(t,e,n){"use strict";var o=n(44),a=n(40),r=n(42),i=/\sA2U\/x/.test(window.navigator.userAgent),s=function(t){t||(t=window.navigator.userAgent);var e=goldlog.getMetaInfo("aplus-toUT")+"",n=a.isAplusChnl(),s=/AliApp\((DM|DY|DingTalk|CN|LA)\/(\d+[._]\d+[._]\d+)/i,u=s.test(t),c=o.webviewIsAbove({version_ios_tb:[6,6,0],version_ios_tm:[5,28,0],version_android_tb:[6,6,2],version_android_tm:[5,32,0]},t);return c||(c=r.haveNativeFlagInUA()||i||"2"===e||"toUT2HC"===e||u),n&&"AliBCBridge"!==n.bridgeName&&(c=!!n.toUT2),c};e.isToUT2=s,e.isEnable=function(t,e){var n=s(e),o=!0;switch(t){case"what_to_hjlj_ut2":case"do_sendhjlj_ut2":case"what_to_sendpv_ut2":case"do_sendpv_ut2":o=!!n;break;case"what_to_hjlj_ut":case"do_sendhjlj_ut":case"what_to_sendpv_ut":case"do_sendpv_ut":o=!n}return o}},function(t,e,n){"use strict";function o(t){var e,n,o,a,r=[],s={};for(e=t.length-1;e>=0;e--)n=t[e],o=n[0],o&&o.indexOf(i.s_plain_obj)==-1&&s.hasOwnProperty(o)||(a=n[1],("aplus"==o||a)&&(r.unshift([o,a]),s[o]=1));return r}function a(t){var e,n,o,a,r=[],u={logtype:!0,cache:!0,scr:!0,"spm-cnt":!0};for(e=t.length-1;e>=0;e--)if(n=t[e],o=n[0],a=n[1],!(s.isStartWith(o,i.s_plain_obj)&&!s.isStartWith(o,i.mkPlainKeyForExparams())||u[o]))if(s.isStartWith(o,i.mkPlainKeyForExparams())){var c=i.param2arr(a);if("object"==typeof c&&c.length>0)for(var l=c.length-1;l>=0;l--){var p=c[l];p&&p[1]&&r.unshift([p[0],p[1]])}}else r.unshift([o,a]);return r}function r(){var t={isonepage:"-1",urlpagename:""},e=g.qGet();if(e&&e.hasOwnProperty("isonepage_data"))t.isonepage=e.isonepage_data.isonepage,t.urlpagename=e.isonepage_data.urlpagename;else{var n=c.getMetaCnt("isonepage")||"-1",o=n.split("|");t.isonepage=o[0],t.urlpagename=o[1]?o[1]:""}return t}var i=n(18),s=n(9),u=n(25),c=n(28),l=n(52),p=n(42),g=n(26),f=n(4),d=n(11);t.exports=function(){return{init:function(t){this.options=t},keyIsAvailable:function(t){var e=["functype","funcId","spm-cnt","spm-url","spm-pre","_ish5","_is_g2u","_h5url","cna","isonepage","lver","jsver"];return i.indexof(e,t)===-1},valIsAvailable:function(t){return"object"!=typeof t&&"function"!=typeof t},upUtData:function(t,e){var n=this;if(t=t?t:{},e&&"object"==typeof e)for(var o in e){var a=e[o];o&&n.valIsAvailable(a)&&n.keyIsAvailable(o)&&(t[o]=a)}return t},getToUtData:function(t){var e=u.getGoldlogVal("_$")||{},n=e.spm||{},s=this.options.context||{},c=!!s.is_single,p=s.what_to_sendpv||{},g=a(o(p.exparams||[]));g=i.arr2obj(g);var _=i.arr2obj(p.pvdata),h=a(o(s.userdata||[]));h=i.arr2obj(h);var m=location.href,v={},b=l.getParamFromUrl("scm",m)||"";b&&(v.scm=b);var y=l.getParamFromUrl("pg1stepk",m)||"";y&&(v.pg1stepk=y);var w=l.getParamFromUrl("point",m)||"";w&&(v.issb=1),_&&_.mansndlog&&(v.mansndlog=_.mansndlog),v=this.upUtData(v,g),v=this.upUtData(v,h);var x=r();v.functype="page",v.funcId="2001",v.url=goldlog.getMetaInfo("aplus-pagename")||location.origin+location.pathname,v._ish5="1",v._h5url=m,v._toUT=2,v._bridgeName=t.bridgeName||"",v._bridgeVersion=t.bridgeVersion||"",v["spm-cnt"]=n.spm_cnt||"",v["spm-url"]=n.spm_url||"",v["spm-pre"]=n.spm_pre||"",v.cna=d.getCookie("cna"),v.lver=goldlog.lver||f.lver,v.jsver=f.script_name,v.pver=goldlog.aplus_cplugin_ver,v.isonepage=x.isonepage;var T=goldlog.getMetaInfo("aplus-utparam");return T&&(v["utparam-cnt"]=JSON.stringify(T)),v._is_g2u_=c?1:2,v},run:function(){var t=this.options.context||{},e=t.what_to_sendpv_ut2||{},n=t.where_to_sendlog_ut||{},o=n.aplusToUT||{},a=o.toUT2||{};(a&&a.isAvailable&&"function"==typeof a.toUT2||p.haveNativeFlagInUA())&&(e.pvdataToUt=this.getToUtData(a),this.options.context.what_to_sendpv_ut2=e)}}}},function(t,e,n){"use strict";function o(t){var e,n,o,a,i=[],s={};for(e=t.length-1;e>=0;e--)n=t[e],o=n[0],o&&o.indexOf(r.s_plain_obj)==-1&&s.hasOwnProperty(o)||(a=n[1],("aplus"==o||a)&&(i.unshift([o,a]),s[o]=1));return i}function a(t){var e,n,o,a,s=[],u={logtype:!0,cache:!0,scr:!0,"spm-cnt":!0};for(e=t.length-1;e>=0;e--)if(n=t[e],o=n[0],a=n[1],!(i.isStartWith(o,r.s_plain_obj)&&!i.isStartWith(o,r.mkPlainKeyForExparams())||u[o]))if(i.isStartWith(o,r.mkPlainKeyForExparams())){var c=r.param2arr(a);if("object"==typeof c&&c.length>0)for(var l=c.length-1;l>=0;l--){var p=c[l];p&&p[1]&&s.unshift([p[0],p[1]])}}else s.unshift([o,a]);return s}var r=n(18),i=n(9),s=n(25),u=n(28),c=n(42),l=n(26),p=n(4),g=n(11);t.exports=function(){return{init:function(t){this.options=t},getToUtData:function(t,e){var n,i=s.getGoldlogVal("_$")||{},c=i.spm||{},f=a(o(t)),d={};try{var _=r.arr2obj(f);_._toUT=1,_._bridgeName=e.bridgeName||"",_._bridgeVersion=e.bridgeVersion||"",n=JSON.stringify(_)}catch(t){n='{"_toUT":1}'}var h=u.getOnePageInfo(l);d.functype="2001",d.urlpagename=h.urlpagename,d.url=location.href,d.spmcnt=c.spm_cnt||"",d.spmurl=c.spm_url||"",d.spmpre=c.spm_pre||"",d.lzsid="",d.cna=g.getCookie("cna"),d.extendargs=n,d.isonepage=h.isonepage;var m=this.options.context||{},v=!!m.is_single;return d._is_g2u_=v?1:2,d.version=p.toUtVersion,d.lver=goldlog.lver||p.lver,d.jsver=p.script_name,d},run:function(){var t=this.options.context||{},e=t.what_to_sendpv||{},n=e.pvdata||[],o=t.what_to_sendpv_ut||{},a=t.where_to_sendlog_ut||{},r=a.aplusToUT||{},i=r.toUT||{};(i&&i.isAvailable&&"function"==typeof i.toUT2||c.haveNativeFlagInUA())&&(o.pvdataToUt=this.getToUtData(n,i),this.options.context.what_to_sendpv_ut=o)}}}},function(t,e){"use strict";t.exports=function(){return{init:function(t){this.options=t},run:function(){var t=this.options.context||{},e=t.is_single?"1":"0";if(t.what_to_sendpv_ut2.pvdataToUt._slog=e,t.what_to_sendpv_ut.pvdataToUt._slog=e,t.what_to_sendpv.pvdata.push(["_slog",e]),t.ut_is_available){var n=t.is_single?"1":"2";t.what_to_sendpv.pvdata.push(["_is_g2u",n])}}}}},function(t,e,n){"use strict";var o=n(25);t.exports=function(){return{init:function(t){this.options=t},run:function(){var t=o.getGoldlogVal("_$")||{},e=this.options.context.can_to_sendpv||{},n=t.send_pv_count||0,a=this.options.config||{};return a.is_auto&&n>0?"done":(e.flag="YES",this.options.context.can_to_sendpv=e,t.send_pv_count=++n,void o.setGoldlogVal("_$",t))}}}},function(t,e,n){"use strict";var o=n(25),a=n(18);t.exports=function(){return{init:function(t){this.options=t},run:function(){var t=this.options.context||{},e=!!t.is_single;if(!e){var n=t.what_to_sendpv||{},r=t.where_to_sendpv||{},i=n.pvdata||[],s=goldlog.getMetaInfo("aplus-channel");if("WS-ONLY"!==s){var u=location.hostname+location.pathname,c="www.taobao.com/"===u||"www.aliyun.com/"===u,l=goldlog.send(r.url,c?a.arr2param(i):a.arr2obj(i),c?"POST":"");o.setGoldlogVal("req",l)}}}}}},function(t,e,n){"use strict";var o=n(42);t.exports=function(){return{init:function(t){this.options=t},run:function(t,e){var n=this,a=this.options.context||{},r=a.what_to_sendpv_ut2||{},i=a.where_to_sendlog_ut||{},s=r.pvdataToUt||{},u=i.aplusToUT||{},c=u.toUT2;if(o.isNative4Aplus())return u.toutflag="toUT2",i.toUTName="toUT2",void(n.options.context.what_to_sendpv_ut2.isSuccess=!0);if(c&&"function"==typeof c.toUT2&&c.isAvailable)try{u.toutflag="toUT2",c.toUT2(s,function(){n.options.context.what_to_sendpv_ut2.isSuccess=!0,e("done")},function(t){n.options.context.what_to_sendpv_ut2.errorMsg=t,e()},2e3)}catch(t){e()}finally{return"pause"}}}}},function(t,e,n){"use strict";var o=n(42);t.exports=function(){return{init:function(t){this.options=t},run:function(t,e){var n=this,a=this.options.context||{},r=a.what_to_sendpv_ut||{},i=a.where_to_sendlog_ut||{},s=r.pvdataToUt||{},u=i.aplusToUT||{},c=u.toUT;if(o.isNative4Aplus())return u.toutflag="toUT",i.toUTName="toUT",void(n.options.context.what_to_sendpv_ut.isSuccess=!0);if(c&&"function"==typeof c.toUT2&&c.isAvailable)try{u.toutflag="toUT",c.toUT2(s,function(){n.options.context.what_to_sendpv_ut.isSuccess=!0,e()},function(t){n.options.context.what_to_sendpv_ut.errorMsg=t,e()},2e3)}catch(t){e()}finally{return"pause"}}}}},function(t,e,n){"use strict";var o=n(32),a=n(25);t.exports=function(){return{init:function(t){this.options=t},run:function(){var t=goldlog._$||{},e=this.options.context||{};a.setGoldlogVal("pv_context",e);var n=goldlog.spm_ab||[],r=n.join("."),i=t.send_pv_count,s={cna:e.etag.cna,count:i,spmab_pre:goldlog.spmab_pre};o.doPubMsg(["sendPV","complete",r,s]),o.doCachePubs(["sendPV","complete",r,s])}}}},function(t,e){"use strict";e.plugins_prepv=[]},function(t,e,n){"use strict";function o(){var t=i.getGoldlogVal("_$")||{},e="//gm.mmstat.com/";return t.is_terminal&&(e="//wgo.mmstat.com/"),{where_to_hjlj:{url:e,ac_atpanel:"//ac.mmstat.com/",tblogUrl:"//log.mmstat.com/"}}}function a(){return r.assign(new s,new o)}var r=n(9),i=n(25),s=n(67);t.exports=a},function(t,e,n){"use strict";function o(){return{compose:{},basic_params:{cna:a.getCookie("cna")},where_to_hjlj:{url:"//gm.mmstat.com/",ac_atpanel:"//ac.mmstat.com/",tblogUrl:"//log.mmstat.com/"},userdata:{},what_to_hjlj:{logdata:{}},what_to_pvhash:{hash:[]},what_to_hjlj_exinfo:{EXPARAMS_FLAG:"EXPARAMS",exinfo:[],exparams_key_names:["uidaplus","pc_i","pu_i"]},what_to_hjlj_ut:{logdataToUT:{}},what_to_hjlj_ut2:{isSuccess:!1,logdataToUT:{}},where_to_sendlog_ut:{aplusToUT:{},toUTName:"toUT"},network:{connType:"UNKNOWN"},is_single:!1}}var a=n(11);t.exports=o},function(t,e,n){"use strict";e.plugins_hjlj=[{name:"etag",enable:!0,path:n(37)},{name:"where_to_sendlog_ut",enable:!0,path:n(39)},{name:"is_single",enable:!0,path:n(41)},{name:"what_to_hjlj_exinfo",enable:!0,path:n(69)},{name:"what_to_pvhash",enable:!0,path:n(45)},{name:"what_to_hjlj",enable:!0,path:n(70),deps:["what_to_hjlj_exinfo","what_to_pvhash"]},{name:"what_to_hjlj_ut2",enable:n(56),path:n(71),deps:["is_single","what_to_hjlj_exinfo"]},{name:"what_to_hjlj_ut",enable:n(56),path:n(72),deps:["is_single","what_to_hjlj_exinfo"]},{name:"what_to_hjlj_slog",enable:!0,path:n(73),deps:["what_to_hjlj"]},{name:"where_to_hjlj",enable:!0,path:n(74),deps:["is_single","what_to_hjlj"]},{name:"do_sendhjlj",enable:!0,path:n(75),deps:["is_single","what_to_hjlj","where_to_hjlj"]},{name:"do_sendhjlj_ut2",enable:n(56),path:n(76),deps:["what_to_hjlj","what_to_hjlj_ut2","where_to_sendlog_ut"]},{name:"do_sendhjlj_ut",path:n(77),deps:["what_to_hjlj","what_to_hjlj_ut","where_to_sendlog_ut"]}]},function(t,e,n){"use strict";var o=n(18),a=n(30),r=n(25),i=n(25),s=n(12),u=n(11);t.exports=function(){return{init:function(t){this.options=t},getCookieUserInfo:function(){var t=[],e=u.getCookie("workno")||u.getCookie("emplId");e&&t.push("workno="+e);var n=u.getHng();return n&&t.push("_hng="+u.getHng()),t},filterExinfo:function(t){var e="";try{t&&("string"==typeof t?e=t.replace(/&/g,"&").replace(/\buser(i|I)d=/,"uidaplus=").replace(/&aplus&/,"&"):"object"==typeof t&&(e=o.obj2param(t,!0)))}catch(t){e=t.message?t.message:""}return e},getExparamsFlag:function(){var t=this.options.context||{},e=t.what_to_hjlj_exinfo||{};return e.EXPARAMS_FLAG||"EXPARAMS"},getCustomExParams:function(t){var e="";return t!==this.getExparamsFlag()&&(e=this.filterExinfo(t)||""),e?e.split("&"):[]},getBeaconExparams:function(t,e){var n=[],r=a.getExParams(o)||"";r=r.replace(/&aplus&/,"&");for(var i=o.param2arr(r)||[],u=function(e){return s.indexof(t,e)>-1},c=0;c=0||a.indexOf("login.tmall.com")>=0),p=s.getRefer();l&&p?(t=p,e=r.getItem(o.REFERRER_PV_ID)):(t=a,e=goldlog.pvid),r.setItem(o.REFERRER,t),r.setItem(o.REFERRER_PV_ID,e)}}var a=n(79),r=n(54).nameStorage,i=n(4),s=n(53),u="https:"==location.protocol,c=parent!==self;e.run=function(){var t="beforeunload";a.on(window,t,function(){o()})}},function(t,e,n){"use strict";function o(t,e,n){var o=goldlog._$||{},a=o.meta_info||{},r=a.aplus_ctap||{},i=a["aplus-touch"];if(r&&"function"==typeof r.on)r.on(t,e);else{var u="ontouchend"in document.createElement("div");!u||"tap"!==i&&"tapSpm"!==n?s(t,u?"touchstart":"mousedown",e):c.on(t,e)}}function a(t){try{p.documentElement.doScroll("left")}catch(e){return void setTimeout(function(){a(t)},1)}t()}function r(t){var e=0,n=function(){0===e&&t(),e++};"complete"===p.readyState&&n();var o;if(p.addEventListener)o=function(){p.removeEventListener("DOMContentLoaded",o,!1),n()},p.addEventListener("DOMContentLoaded",o,!1),window.addEventListener("load",n,!1);else if(p.attachEvent){o=function(){"complete"===p.readyState&&(p.detachEvent("onreadystatechange",o),n())},p.attachEvent("onreadystatechange",o),window.attachEvent("onload",n);var r=!1;try{r=null===window.frameElement}catch(t){}p.documentElement.doScroll&&r&&a(n)}}function i(t){"complete"===p.readyState?t():s(l,"load",t)}function s(){var t=arguments;if(2===t.length)"DOMReady"===t[0]&&r(t[1]),"onload"===t[0]&&i(t[1]);else if(3===t.length){var e=t[0],n=t[1],a=t[2];"tap"===n||"tapSpm"===n?o(e,a,n):e[_]((g?"on":"")+n,function(t){t=t||l.event;var e=t.target||t.srcElement;"function"==typeof a&&a(t,e); },!!u(n)&&{passive:!0})}}var u=n(80),c=n(81),l=window,p=document,g=!!p.attachEvent,f="attachEvent",d="addEventListener",_=g?f:d;e.DOMReady=r,e.onload=i,e.on=s},function(t,e){var n;t.exports=function(t){if("boolean"==typeof n)return n;if(!/touch|mouse|scroll|wheel/i.test(t))return!1;n=!1;try{var e=Object.defineProperty({},"passive",{get:function(){n=!0}});window.addEventListener("test",null,e)}catch(t){}return n}},function(t,e){"use strict";function n(t,e){return t+Math.floor(Math.random()*(e-t+1))}function o(t,e,n){var o=l.createEvent("HTMLEvents");if(o.initEvent(e,!0,!0),"object"==typeof n)for(var a in n)o[a]=n[a];t.dispatchEvent(o)}function a(t){0===Object.keys(g).length&&(p.addEventListener(_,r,!1),p.addEventListener(d,i,!1),p.addEventListener(m,i,!1));for(var e=0;e10&&(o.status="panning")}}function i(t){for(var e=0;e0&&setTimeout(function(){for(;n=a.shift();)p(n)},100)}}try{e()}catch(t){u.do_tracker_jserror({message:t&&t.message,error:encodeURIComponent(t.stack),filename:"processGoldlogQueue"})}};e.processGoldlogQueue=g;var f=i.extend({push:function(t){this.length++,p(t)}});e.init_watchGoldlogQueue=function(t){try{var e=a[c]||[];if(t){var n=o(e,t);a[c]=n.queue,g(n.formatQueue)}else a[c]=f.create({startLength:e.length,length:0}),s.init_loadAplusPlugin(),g(e)}catch(t){u.do_tracker_jserror({message:t&&t.message,error:encodeURIComponent(t.stack),filename:"init_watchGoldlogQueue"})}}},function(t,e){"use strict";function n(){}n.prototype.extend=function(){},n.prototype.create=function(){},n.extend=function(t){return this.prototype.extend.call(this,t)},n.prototype.create=function(t){var e=new this;for(var n in t)e[n]=t[n];return e},n.prototype.extend=function(t){var e=function(){};try{"function"!=typeof Object.create&&(Object.create=function(t){function e(){}return e.prototype=t,new e}),e.prototype=Object.create(this.prototype);for(var n in t)e.prototype[n]=t[n];e.prototype.constructor=e,e.extend=e.prototype.extend,e.create=e.prototype.create}catch(t){console.log(t)}finally{return e}},t.exports=n},function(t,e,n){"use strict";var o=n(30),a=n(28),r=n(6),i=function(){var t=goldlog.getCdnPath()+"/alilog/s/"+r.lver+"/plugin/";return{aplus_ae_path:t+"aplus_ae.js",aplus_ac_path:t+"aplus_ac.js"}},s={},u="aplus-auto-exp",c="aplus-auto-clk",l=function(t,e){var n=i(),r=goldlog&&goldlog.getMetaInfo?goldlog.getMetaInfo(t):"",l=e||r||a.getMetaCnt(t),p={};p[u]=n.aplus_ae_path,p[c]=n.aplus_ac_path,l&&p[t]&&!s[t]&&(o.addScript(p[t]),s[t]=!0)};e.init_loadAplusPlugin=function(){try{!goldlog._aplus_auto_exp&&l(u),!goldlog._aplus_ac&&l(c),goldlog.aplus_pubsub.subscribe("setMetaInfo",function(t,e){t!==u||goldlog._aplus_auto_exp||l(t,e),t!==c||goldlog._aplus_ac||l(t,e)})}catch(t){}}},function(t,e){"use strict";function n(t,e){return t.indexOf(e)>-1}function o(t,e){for(var o=0,a=t.length;o=1e3&&n<=1e4&&(t=n)}}catch(t){}return t}var u=window,c=document,l=n(84),p=n(18),g=n(79),f=n(30),d=n(24),_=n(32),h=n(9),m=n(25),v=n(22),b=n(51),y=n(26),w=y.getInfo(),x=n(4),T=n(3),j=n(88),A=n(11),P=n(91),S=n(93),k=[],U=[],E=[],I=[],M="//g.alicdn.com",C="//g-assets.daily.taobao.net",N="//assets.alicdn.com/g",O="//s.alicdn.com/@g/",V="//u.alicdn.com",G="//laz-g-cdn.alicdn.com";e.run=l.extend({getCdnPath:function(){var t=f.getCurrentNode(),e=M,n=[N,O,C,V,G],o=new RegExp(V);if(t)for(var a=0;a-1;return t||"int"===this.getMetaInfo("aplus-env")},getCookie:function(t){return A.getCookie(t)},getParam:function(t){var e=u.WindVane||{},n=e&&"function"==typeof e.getParam?e.getParam(t):"";return n},beforeSendPV:function(t){k.push(t)},afterSendPV:function(t){U.push(t)},send:function(t,e,n){var o;if(0===t.indexOf("//")){var a=v.getProtocal();t=a+t}return o="POST"===n&&navigator&&navigator.sendBeacon?S.postData(t,e):S.sendImg(p.makeUrl(t,e),s())},launch:function(t,e){var n;try{e=h.assign(e,t),n=goldlog._$._sendPV(e,t);var o=goldlog.spm_ab?goldlog.spm_ab.join("."):"0.0";T.do_tracker_obsolete_inter({page:location.hostname+location.pathname,spm_ab:o,interface_name:"goldlog.launch",interface_params:"userdata = "+JSON.stringify(t)+", config = "+JSON.stringify(e)})}catch(t){}finally{return d.logger({msg:"warning: This interface is deprecated, please use goldlog.sendPV instead! API: http://log.alibaba-inc.com/log/info.htm?type=2277&id=31"}),n}},_$:{_sendPV:function(t,e){if(t=t||{},h.any(k,function(e){return e(goldlog,t)===!1}))return!1;var o=n(94).SendPV,a=new o;return"undefined"==typeof t.recordType&&(t.recordType=x.recordTypes.pv),a.run(t,e,{fn_after_pv:U}),!0},_sendPseudo:function(t,e){t||(t={});var o=n(95).SendPrePV,a=new o;return"undefined"==typeof t.recordType&&(t.recordType=x.recordTypes.prepv),a.run(t,e,{},function(){_.doPubMsg(["sendPrePV","complete"])}),!0}},sendPV:function(t,e){return e=e||{},e.pageName&&goldlog.setMetaInfo("aplus-pagename",e.pageName),goldlog._$._sendPV(t,e)},updatePageProperties:function(t){t&&"object"==typeof t?(t._page&&(t.pageName=t._page,delete t._page),t.pageName&&(goldlog.setMetaInfo("aplus-pagename",t.pageName),delete t.pageName),goldlog.appendMetaInfo("aplus-cpvdata",t)):d.logger({msg:"warning: typeof updatePageProperties's params must be object"})},beforeRecord:function(t){E.push(t)},afterRecord:function(t){I.push(t)},record:function(t,e,n,o,a){if(!h.any(E,function(t){return t(goldlog)===!1}))return"POST"!==o&&"WS"!==o&&"WS-ONLY"!==o&&(o="GET"),j.run({recordType:x.recordTypes.hjlj,method:o},{logkey:t,gmkey:e,gokey:n},{fn_after_record:I},function(){"function"==typeof a&&a()}),!0},recordUdata:function(t,e,n,o,a){var r=m.getGoldlogVal("_$")||{},i=r.spm||{};"POST"!==o&&"WS"!==o&&"WS-ONLY"!==o&&(o="GET"),j.run({ignore_chksum:!0,method:o,recordType:x.recordTypes.uhjlj},{logkey:t,gmkey:e,gokey:n,"spm-cnt":i.spm_cnt,"spm-pre":i.spm_pre},{},function(){h.isFunction(a)&&a()})},setPageSPM:function(t,e,n){var o="setPageSPM",a=goldlog.getMetaInfo("aplus-spm-fixed"),s="function"==typeof n?n:function(){};goldlog.spm_ab=goldlog.spm_ab||[];var u=h.cloneObj(goldlog.spm_ab);if(t&&(goldlog.spm_ab[0]=""+t,goldlog._$.spm.data.a=""+t),e&&(goldlog.spm_ab[1]=""+e,goldlog._$.spm.data.b=""+e),b.spaInit(goldlog,w,u),"1"!==a){var c=u.join(".");goldlog.spmab_pre=c}var l=goldlog.spm_ab.join(".");_.doPubMsg([o,{spmab_pre:goldlog.spmab_pre,spmab:l}]),_.doCachePubs([o,{spmab_pre:goldlog.spmab_pre,spmab:l}]),r(),i(),s()},setMetaInfo:function(t,e,n){if(y.setMetaInfo(t,e,n)){var o=m.getGoldlogVal("_$")||{};o.meta_info=y.qGet();var a=m.setGoldlogVal("_$",o),r=P.isDisablePvid()+"";return"aplus-disable-pvid"===t&&r!==e+""&&b.resetSpmCntPvid(),_.doPubMsg(["setMetaInfo",t,e,n]),_.doCachePubs(["setMetaInfo",t,e,n]),a}},appendMetaInfo:y.appendMetaInfo,getMetaInfo:function(t){return y.getMetaInfo(t)},on:g.on,cloneDeep:h.cloneDeep,getPvId:P.getPvId})},function(t,e,n){"use strict";var o=n(9),a=n(25),r=n(32),i=n(24),s=n(89),u=n(90),c=n(4);e.run=function(t,e,n,l){var p=new u;p.init({middleware:[],config:t,plugins:c.plugins_hjlj});var g=p.run(),f=new c.context_hjlj;f.userdata=e,f.logger=i.logger;var d={context:f,pubsub:a.getGoldlogVal("aplus_pubsub"),pubsubType:"hjlj"},_=new s;_.create(d),_.wrap(g,function(){d.context.status="complete",d.context.method=t.method,r.doPubMsg(["mw_change_hjlj",d.context]),n&&n.fn_after_record&&o.each(n.fn_after_record,function(t){t(window.goldlog)}),"function"==typeof l&&l()})()}},function(t,e,n){"use strict";function o(){}var a=n(12),r=n(23),i=n(24),s=n(3),u=n(11);o.prototype.create=function(t){for(var e in t)"undefined"==typeof this[e]&&(this[e]=t[e]);return this},o.prototype.pubsubInfo=function(t,e){try{t&&t.pubsub&&t.pubsub.publish("mw_change_"+t.pubsubType,t.context,e)}catch(t){}},o.prototype.calledList=[],o.prototype.setCalledList=function(t){a.indexof(this.calledList,t)===-1&&this.calledList.push(t)},o.prototype.resetCalledList=function(){this.calledList=[]},o.prototype.wrap=function(t,e){var n=this,o=this.context||{},c=o.compose||{},l=c.maxTimeout||1e4;return function(o){var c,p=t.length,g=0,f=0,d=function(){if(n.pubsubInfo(n,t[g]),g===p)return o="done",n.resetCalledList(),"function"==typeof e&&e.call(n,o),void clearTimeout(c);if(a.indexof(n.calledList,g)===-1){if(n.setCalledList(g),!t[g]||"function"!=typeof t[g][0])return;try{o=t[g][0].call(n,o,function(){g++,f=1,clearTimeout(c),d(g)})}catch(e){s.do_tracker_jserror({message:e?e.message:"compose middleware error",error:encodeURIComponent(e.stack),filename:t[g][1]})}}var _="number"==typeof o;if("pause"===o||_){f=0;var h=_?o:l,m=t[g]?t[g][1]:"";c=r.sleep(h,function(){if(0===f){var t="jump the middleware about "+m+", because waiting timeout maxTimeout = "+h+"ms!";i.logger({msg:t});var e=window.goldlog_queue||(window.goldlog_queue=[]);e.push({action:"goldlog._aplus_cplugin_m.do_tracker_browser_support",arguments:[{msg:t,spmab:goldlog.spm_ab,page:location.href,etag:n.context?JSON.stringify(n.context.etag):"",cna:document.cookie?u.getCookie("cna"):""}]}),o=null,g++,d(g)}})}else"done"===o?(g=p,d(g)):(g++,d(g))};return n.calledList&&n.calledList.length>0&&n.resetCalledList(),d(g)}},t.exports=o},function(t,e,n){"use strict";var o=n(12);t.exports=function(){return{init:function(t){this.opts=t,t&&"object"==typeof t.middleware&&t.middleware.length>0?this.middleware=t.middleware:this.middleware=[],this.plugins_name=[]},pubsubInfo:function(t,e){try{var n=t.pubsub;n&&n.publish("plugins_change_"+t.pubsubType,e)}catch(t){}},checkPluginLoader:function(t,e){var n=!0;if("object"==typeof e.enable&&"function"==typeof e.enable.isEnable?n=e.enable.isEnable(e.name):"boolean"==typeof e.enable&&(n=!!e.enable),!n)return!1;if(n&&e.deps&&e.deps.length>0)for(var a=0;a0){var r=a[t];if(this.checkPluginLoader(a,r)&&(this.plugins_name.push(r.name),n.push([function(t,n){e.pubsubInfo(this,r);var a=new r.path;return a.init({context:this.context,config:o.config}),a.run(t,n)},r.name])),t++,a[t])return this.run(t)}else window.console&&console.log("aplus plugins "+JSON.stringify(a)+" must be object of array!");return n}}}},function(t,e,n){"use strict";function o(){var t="true"===l.disablePvid;try{var e=goldlog.getMetaInfo("aplus-disable-pvid")+"";"true"===e?t=!0:"false"===e&&(t=!1)}catch(t){}return t}function a(t){function e(t){var e="0123456789abcdefhijklmnopqrstuvwxyzABCDEFHIJKLMNOPQRSTUVWXYZ",n="0123456789abcdefghijkmnopqrstuvwxyzABCDEFGHIJKMNOPQRSTUVWXYZ";return 1==t?e.substr(Math.floor(60*Math.random()),1):2==t?n.substr(Math.floor(60*Math.random()),1):"0"}for(var n,o="",a="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",r=!1;o.length=0;o--)a=t.charCodeAt(o),r^=(r<<5)+a+(r>>2);var i=(2147483647&r).toString(16);return i}},function(t,e,n){"use strict";function o(t){if(!t)return"";var e=decodeURIComponent(t).match(/cache=\w+/);return e&&1===e.length?e[0].split("=")[1]:void 0}var a=n(3),r=window;e.sendImg=function(t,e){var n=new Image,i="_img_"+Math.random();r[i]=n;var s=function(){if(r[i])try{delete r[i]}catch(t){r[i]=void 0}};return n.onload=function(){s()},n.onerror=function(){a.do_tracker_jserror({message:"loadError",error:"",filename:"sendImg",logid:o(t)}),s()},setTimeout(function(){window[i]&&(a.do_tracker_jserror({message:"loadTimeout",error:e,filename:"sendImg",logid:o(t)}),window[i].src="",s())},e||3e3),n.src=t,n=null,t},e.postData=function(t,e){var n;if("string"==typeof e)n=e;else{for(var o in e)["cna"].indexOf(o)===-1&&(e[o]=encodeURIComponent(e[o]));n=JSON.stringify(e)}return navigator.sendBeacon(t,n),t}},function(t,e,n){"use strict";var o=n(9),a=n(25),r=n(32),i=n(24),s=n(89),u=n(90),c=n(4),l=function(){};l.prototype.run=function(t,e,n){var l=new u;l.init({middleware:[],config:t,plugins:c.plugins_pv});var p=l.run(),g=new c.context;g.userdata=e,g.logger=i.logger;var f={context:g,pubsub:a.getGoldlogVal("aplus_pubsub"),pubsubType:"pv"},d=new s;d.create(f),d.wrap(p,function(){var e=f.context.can_to_sendpv||{};f.context.status="YES"===e.flag?"complete":"skip",f.context.method=t.method||"GET",r.doPubMsg(["mw_change_pv",f.context]),n&&n.fn_after_pv&&o.each(n.fn_after_pv,function(e){e(window.goldlog,t)})})()},e.SendPV=l},function(t,e,n){"use strict";var o=n(9),a=n(25),r=n(32),i=n(24),s=n(89),u=n(90),c=n(4),l=function(){};l.prototype.run=function(t,e,n,l){var p=new u;p.init({middleware:[],config:t,plugins:c.plugins_prepv});var g=p.run(),f=new c.context_prepv;f.userdata=e,f.logger=i.logger;var d={context:f,pubsub:a.getGoldlogVal("aplus_pubsub"),pubsubType:"prepv"},_=new s;_.create(d),_.wrap(g,function(){d.context.status="complete",r.doPubMsg(["mw_change_prepv",d.context]),n&&n.fn_after_record&&o.each(n.fn_after_pv,function(e){e(window.goldlog,t)}),a.setGoldlogVal("prepv_context",f),"function"==typeof l&&l()})()},e.SendPrePV=l},function(t,e,n){"use strict";!function(){var t=window.goldlog||(window.goldlog={}),e=n(97);t.aplus_pubsub||(t.aplus_pubsub=e.create())}()},function(t,e,n){"use strict";function o(t){if("function"!=typeof t)throw new TypeError(t+" is not a function");return t}var a=n(84),r=function(t){for(var e=t.length,n=new Array(e-1),o=1;o0){for(var a=0;a0)for(var a=0;a1?a.pop():"",i>0&&(n=r.pop(),t=r.join("?")),n&&i>1&&n.indexOf("&")==-1&&n.indexOf("%")!==-1&&(c="%26");var l="";if(t=t+"?spm="+l+e+(n?c+n:"")+(o?"#"+o:""),u=h.isContain(s,".")?s.split(".").pop().toLowerCase():""){if({png:1,jpg:1,jpeg:1,gif:1,bmp:1,swf:1}.hasOwnProperty(u))return 0;!n&&i<=1&&(o||{htm:1,html:1,php:1,aspx:1,shtml:1,xhtml:1}.hasOwnProperty(u)||(t+="&file="+s))}return t}}function s(t,e){if(!goldlog.isUT4Aplus||"UT4Aplus"!==goldlog.getMetaInfo("aplus-toUT")){var n,o=t.innerHTML;o&&o.indexOf("<")==-1&&(n=document.createElement("b"),n.style.display="none",t.appendChild(n)),t.href=e,n&&t.removeChild(n)}}function u(t,e,n){if(!/^0\.0\.?/.test(e)){var o=y.tryToGetHref(t),r=a(),u=w.is_ignore_spm(t);if(u){var c=_.param2obj(o);if(c.spm&&c.spm.split)for(var l=c.spm.split("."),p=e.split("."),g=0;g<3&&p[g]===l[g];g++)2===g&&l[3]&&(e=c.spm)}t.setAttribute("data-spm-anchor-id",e);var f=goldlog.getPvId();f&&(e+="."+f);var d="0.0";(f||r&&r!=d)&&(u||n||(o=i(o,e))&&s(t,o))}}function c(t){var e=v.tryToGetAttribute(t,A),n=m.parseSemicolonContent(e)||{};return n}function l(t){var e,n=b.getGoldlogVal("_$")||{},o=n.spm.data;return"0"==o.a&&"0"==o.b?e="0":(e=v.tryToGetAttribute(t,j),e&&e.match(/^d\w+$/)||(e="")),e}function p(t,e){for(var n=[],o=m.nodeListToArray(t.getElementsByTagName("a")),a=m.nodeListToArray(t.getElementsByTagName("area")),r=o.concat(a),i=0;i0&&(d+="&"),d+=v.length>0?v.join("&"):"",goldlog&&s.isFunction(goldlog.recordUdata)?goldlog.recordUdata(m,f,d,"GET",function(){}):l.logger({msg:"goldlog.recordUdata is not function!"}),i.tryToSetAttribute(t,"data-spm-anchor-id",h)}function a(t,e){var n=e;window.g_SPM&&(g_SPM._current_spm=p.spm_getSPMParam(e));for(var a;e&&"HTML"!==e.tagName;){a=i.tryToGetAttribute(e,"data-spm-click");{if(a){o(e,a,"mousedown"===t.type?t.type:"tap");break}e=e.parentNode}}if(!a){var r=g.getGlobalSPMId(),s=goldlog.getMetaInfo("aplus-getspmcd");"function"==typeof s&&s(n,t,r)}}var r=n(79),i=n(27),s=n(9),u=n(19),c=n(12),l=n(24),p=n(104),g=n(105);e.run=function(t){t&&t.isTouchEnabled?r.on(document,"tap",a):r.on(document,"mousedown",a)}},function(t,e,n){"use strict";function o(){for(var t=document.getElementsByTagName("iframe"),e=0;e10&&(n=3e3),o(),setTimeout(t,n)}var e=0,n=500;t()}var r=n(27),i=n(105),s=n(104);e.run=function(t){t&&!t.isTerminal&&a()}},function(t,e,n){"use strict";function o(t,e){for(var n,o=window;e&&(n=e.tagName);){if("A"===n||"AREA"===n){r.spm_spmAnchorChk(e,!1);var a=o.g_SPM||(o.g_SPM={}),i=a._current_spm=r.spm_getSPMParam(e),s=[];try{s=[i.a,i.b,i.c,i.d];var u=i.e||goldlog.pvid||"";u&&s.push(u)}catch(t){}break}if("BODY"==n||"HTML"==n)break;e=e.parentNode}}var a=n(79),r=n(104);e.run=function(t){var e=document;t&&t.isTouchEnabled?a.on(e,"tapSpm",o):(a.on(e,"mousedown",o),a.on(e,"keydown",o))}},function(t,e,n){"use strict";function o(t,e){if(e||(e=p),p.evaluate)return e.evaluate(t,p,null,9,null).singleNodeValue;for(var n,a=t.split("/");!n&&a.length>0;)n=a.shift();var r,i=/^.+?\[@id='(.+?)']$/i,s=/^(.+?)\[(\d+)]$/i;return(r=n.match(i))?e=e.getElementById(r[1]):(r=n.match(s))&&(e=e.getElementsByTagName(r[1])[parseInt(r[2])-1]),e?0===a.length?e:o(a.join("/"),e):null}function a(){var t={};for(var e in l)if(l.hasOwnProperty(e)){var n=o(e);if(n){t[e]=1;var a=l[e],r="A"===n.tagName?a.spmd:a.spmc;s.tryToSetAttribute(n,"data-spm",r||"")}}for(var i in t)t.hasOwnProperty(i)&&delete l[i]}function r(){if(!c&&g.spmData){c=!0;var t=g.spmData.data;if(t&&i.isArray(t)){for(var e=0;e1?a.pop():"",o>0&&(r=i.pop(),t=i.join("?")),r&&o>1&&r.indexOf("&")==-1&&r.indexOf("%")!=-1&&(s="%26"),t=t+"?spm="+e+(r?s+r:"")+(n?"#"+n:""),p=c.indexOf(".")>-1?c.split(".").pop().toLowerCase():""){if({png:1,jpg:1,jpeg:1,gif:1,bmp:1,swf:1}.hasOwnProperty(p))return 0;!r&&o<=1&&(n||{htm:1,html:1,php:1}.hasOwnProperty(p)||(t+="&file="+c))}return t}function n(t){function e(t){return t=t.replace(/refpos[=(%3D)]\w*/gi,c).replace(i,"%3D"+n+"%26"+a.replace("=","%3D")).replace(o,n),a.length>0&&(t+="&"+a),t}var r=window.location.href,n=r.match(/mm_\d{0,24}_\d{0,24}_\d{0,24}/i),a=r.match(/[&\?](pvid=[^&]*)/i),i=new RegExp("%3Dmm_\\d+_\\d+_\\d+","ig"),o=new RegExp("mm_\\d+_\\d+_\\d+","ig");a=a&&a[1]?a[1]:"";var c=r.match(/(refpos=(\d{0,24}_\d{0,24}_\d{0,24})?(,[a-z]+)?)(,[a-z]+)?/i);return c=c&&c[0]?c[0]:"",n?(n=n[0],e(t)):t}function a(e){var r=s.KISSY;r?r.ready(e):s.jQuery?jQuery(m).ready(e):"complete"===m.readyState?e():t(s,"load",e)}function i(t,e){return t&&t.getAttribute?t.getAttribute(e)||"":""}function o(t){if(t){var e,r=g.length;for(e=0;e-1)return!0;return!1}}function c(t,e){if(t&&/&?\bspm=[^&#]*/.test(t)&&(t=t.replace(/&?\bspm=[^&#]*/g,"").replace(/&{2,}/g,"&").replace(/\?&/,"?").replace(/\?$/,"")),!e)return t;var r,n,a,i,o,c,p,s="&";if(t.indexOf("#")!=-1&&(a=t.split("#"),t=a.shift(),n=a.join("#")),i=t.split("?"),o=i.length-1,a=i[0].split("//"),a=a[a.length-1].split("/"),c=a.length>1?a.pop():"",o>0&&(r=i.pop(),t=i.join("?")),r&&o>1&&r.indexOf("&")==-1&&r.indexOf("%")!=-1&&(s="%26"),t=t+"?spm="+e+(r?s+r:"")+(n?"#"+n:""),p=c.indexOf(".")>-1?c.split(".").pop().toLowerCase():""){if({png:1,jpg:1,jpeg:1,gif:1,bmp:1,swf:1}.hasOwnProperty(p))return 0;!r&&o<=1&&(n||{htm:1,html:1,shtml:1,php:1}.hasOwnProperty(p)||(t+="&__file="+c))}return t}function p(t){if(o(t.href)){var r=i(t,u);if(!r){var n=l()(t),a=[n.a,n.b,n.c,n.d].join(".");n.e&&(n+="."+n.e),d&&(a=[n.a||"0",n.b||"0",n.c||"0",n.d||"0"].join("."),a=(e()||"0.0.0.0.0")+"_"+a),t.href=c(t.href,a),t.setAttribute(u,a)}}}var s=window,m=document;if(1!==s.aplus_spmact){s.aplus_spmact=1;var f=function(){return{a:0,b:0,c:0,d:0,e:0}},l=function(){return s.g_SPM&&s.g_SPM.getParam?s.g_SPM.getParam:f},d=!0;try{d=self.location!=top.location}catch(t){}var u="data-spm-act-id",g=["mclick.simba.taobao.com","click.simba.taobao.com","click.tanx.com","click.mz.simba.taobao.com","click.tz.simba.taobao.com","redirect.simba.taobao.com","rdstat.tanx.com","stat.simba.taobao.com","s.click.taobao.com"],h=!!m.attachEvent,b="attachEvent",v="addEventListener",_=h?b:v;t(m,"mousedown",function(t,e){for(var r,n=0;e&&(r=e.tagName);){if("A"==r||"AREA"==r){p(e);break}if("BODY"==r||"HTML"==r)break;e=e.parentNode,n+=1}}),a(function(){for(var t,a,o=document.getElementsByTagName("iframe"),c=0;c