var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); /*! 2017-11-28 21:54:40 v7.6.23 */ !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){for(var a=0;a0)for(var a=0;a-1}var u=window;e.assign=n,e.makeCacheNum=function(){return Math.floor(268435456*Math.random()).toString(16)},e.each=function(t,e){var n,o=t.length;for(n=0;n=o&&t.indexOf(e)==n-o},e.any=function(t,e){var n,o=t.length;for(n=0;n0?n.param2obj(t.substring(0,u)):{};delete c[""],s=n.obj2param(l.assign(c,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(13),a=function(){var t=location.protocol;return"http:"!==t&&"https:"!==t&&(t="https:"),t};e.getProtocal=a,e.isStartWithProtocol=function(t){for(var e=["javascript:","tel:","sms:","mailto:","tmall://","#"],n=0,a=e.length;n-1?(g||(g={}),g[t]=e,!0):(v.logger({msg:"the "+t+" is invalid!"}),!1)}function l(t){return _.indexof(b,t)>-1?(g||(g={}),g[t]):void v.logger({msg:'the key "'+t+'" is invalid!'})}var p,g,f=n(31),d=n(13),h=n(20),m=n(34),_=n(33),v=n(23),b=["aplus-terminal","aplus-touch","ahot-aplus","aplus-rate-ahot","isonepage","spm-id","data-spm","microscope-data","atp-beacon","aplus-waiting","aplus-rhost-v","aplus-rhost-g","aplus-xplug","aplus-ifr-pv","aplus-exinfo","aplus-auto-exp","aplus-auto-exp-visible","aplus-auto-exp-userfn","aplus-auto-exp-duration",,"aplus-auto-clk","aplus-auto-clk-userfn","aplus-tracker-rate","aplus-disable-pvid","aplus-loadjs","aplus-cpvdata","aplus-getspmcd","aplus_ctap","aplus_chnl","aplus-aol","aplus-aol-ext","aplus-exparams","aplus-pvhash"],y={};e.setMetaInfo=c,e.getMetaInfo=l,e.getInfo=s,e.qGet=u},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;e2)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}},function(t,e,n){"use strict";var o=n(24);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(31),a=n(13),r=n(20),i=n(24),s=n(14),u=n(42),c=n(43),l=n(44);t.exports=function(){return a.assign(l,{init:function(t){this.options=t,this.cookie_data||(this.cookie_data=s.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=[],i=parent!==t.self,s=e.getElementById("beacon-aplus")||e.getElementById("tb-beacon-aplus"),c=r.tryToGetAttribute(s,"exparams"),l=r.mergeExparams(c,r.getExParamsFromMeta(),o)||"";l=l.replace(/&/g,"&");var p,g,f=["taobao.com","tmall.com","etao.com","hitao.com","taohua.com","juhuasuan.com","alimama.com"];if(i){for(g=f.length,p=0;p=0&&t.splice(r,1)}function s(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]))}var u=n(31),c=n(34);t.exports={checkIfSendPV:o,updateSPMCnt:a,updateSPMUrl:r,updateKey:s,removeKey:i}},function(t,e,n){"use strict";function o(t,e){var n,o=2146271213;for(n=0;n0&&(h=m.join("."))}return o.ifAdd(l,[["wm_pageid",i.ms_data_page_id],["wm_prototypeid",i.ms_prototype_id],["wm_sid",i.ms_data_shop_id],["spm-url",h],["spm-pre",n.spm_pre],["spm-cnt",n.spm_cnt],["cnaui",p.cnaui]]), l},getExParams:function(){return[]},getExtra:function(){return[]},getClientInfo:function(t){var e=[],n=r.getGoldlogVal("_$")||{},a=this.client_info||{},s=a.ua_info||{};if(t||!i.is_WindVane&&!i.isAplusChnl()){for(var c,l=[],p=["p","o","b","s","w","wx","ism"],g=0;c=p[g++];)s[c]&&l.push([c,s[c]]);o.ifAdd(e,l)}o.ifAdd(e,[["lver",goldlog.lver||u.lver],["jsver",n.script_name||u.script_name]]);var f=this.options.config||{},d=f.is_auto;return d||o.ifAdd(e,[["mansndlog",1]]),e},processLodashDollar:function(){var t=r.getGoldlogVal("_$")||{};t.page_url!==location.href&&(t.page_referrer=t.page_url,t.page_url=location.href),r.setGoldlogVal("_$",t)},getLsParams:function(){var t=r.getGoldlogVal("_$")||{},e=[];return t.lsparams&&t.lsparams.spm_id&&(e.push(["lsparams",t.lsparams.spm_id]),e.push(["lsparams_pre",t.lsparams.current_url])),e},run:function(){var t=this.getBasicParams()||[],e=this.getExParams()||[],n=this.getExtra()||[];this.processLodashDollar();var o=this.getLsParams()||[],a=[].concat(t,e,n,o);this.options.context.what_to_sendpv.pvdata=a,this.options.context.what_to_sendpv.exparams=e}}},function(t,e,n){"use strict";var o=n(31),a=n(24),r=n(23),i=n(42),s=n(14),u=n(46);t.exports=function(){return{init:function(t){this.options=t},getPageId:function(){var t=this.options.config||{},e=this.options.context||{},n=e.userdata||{};return t.page_id||t.pageid||t.pageId||n.page_id},getUserdata:function(){var t=a.getGoldlogVal("_$")||{},e=t.spm||{},n=this.options.context||{},i=n.userdata||{},c=this.options.config||{},l=[];if(c&&!c.is_auto){c.gokey&&l.push([o.mkPlainKey(),c.gokey]);var p=e.data.b;if(p){var g=this.getPageId();p=g?p.split("/")[0]+"/"+g:p.split("/")[0],u.setB(p)}}var f=function(t,e){try{var n;if(t)for(var o in t)"object"!=typeof t[o]&&"function"!=typeof t[o]?(n=t[o],t.hasOwnProperty(o)&&l.push([o,n])):r.logger({msg:e+" about "+o+":"+t[o]+" must be basicType, eg string number or boolean!"})}catch(t){}},d=goldlog.getMetaInfo("aplus-cpvdata");"object"==typeof d&&f(d,"meta:aplus-cpvdata"),f(i,"userdata");var h=s.getCookie("workno")||s.getCookie("emplId");return h&&l.push(["workno",h]),window._ua_popLayer&&l.push(["ispop",1]),l},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&&i.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&&i.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(20),p=n(47),g=location.href,f=n(48).getRefer(),d=n(8);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 h=p.getSPMFromUrl,m=function(){var t=d.utilPvid.makePVId();return d.mustSpmE?t||goldlog.pvid||"":t||""},_=function(t,e,n){s.meta_protocol=e.spm_protocol;var a,r=t.spm_ab||[],i=r[0]||"0",u=r[1]||"0";"0"===i&&"0"===u&&(o(),i=s.data.a||"0",u=s.data.b||"0"),a=[s.data.a,s.data.b].join("."),s.spm_cnt=(a||"0.0")+".0.0";var c=t._$||{},l=c.send_pv_count,p=l>0?m():t.pvid;p&&(s.spm_cnt+="."+p),t._$.spm=s,"function"==typeof n&&n(p)};c.spaInit=function(t,e,n,o){var a="function"==typeof o?o:function(){},r=s.spm_url;s.spm_pre=h(f),s.spm_url=h(location.href);var i=window.g_SPM||{};_(t,e,function(t){var e=d.utilPvid.getPvId()||"";s.spm_cnt=s.data.a+"."+s.data.b+".0.0"+(t?"."+t:"");var o=i._current_spm||{},u=n.join(".");o&&o.a&&o.b?(s.spm_url=[o.a,o.b,o.c,o.d,o.e].join("."),s.spm_pre=r):"0.0"!==u&&(s.spm_url=u+".0.0"+(e?"."+e:""),s.spm_pre=r),a()})},c.init=function(t,e,n){s.spm_url=h(g),s.spm_pre=h(f),_(t,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=m();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=null,a=n(7).nameStorage,r=n(9);e.getRefer=function(){if(null!==o)return o;var t=r.KEY||{},e=t.NAME_STORAGE||{};return o=document.referrer||a.getItem(e.REFERRER)||""}},function(t,e,n){"use strict";var o=n(42);t.exports=function(){return{init:function(t){this.options=t},updateBasicParams:function(){var t=this.options.context.what_to_sendpv.pvdata||[],e=this.options.context.etag||{};return e.cna&&(o.updateKey(t,"cna",e.cna),this.options.context.what_to_sendpv.pvdata=t),t},addTagParams:function(){var t=this.options.context.what_to_sendpv.pvdata||[],e=this.options.context.etag||{},n=[];(e.tag||0===e.tag)&&n.push(["tag",e.tag]),(e.stag||0===e.stag)&&n.push(["stag",e.stag]),(e.ltag||0===e.ltag)&&n.push(["ltag",e.ltag]),n.length>0&&(this.options.context.what_to_sendpv.pvdata=t.concat(n))},run:function(){this.updateBasicParams(),this.addTagParams()}}}},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(31),i=n(13),s=n(24),u=n(34),c=n(30),l=n(8),p=n(14);t.exports=function(){return{init:function(t){this.options=t},getToUtData:function(t,e){var n,i=s.getGoldlogVal("_$")||{},g=i.spm||{},f=a(o(t)),d={};try{var h=r.arr2obj(f);h._toUT=1,h._bridgeName=e.bridgeName||"",n=JSON.stringify(h)}catch(t){n='{"_toUT":1}'}var m=u.getOnePageInfo(c);return d.functype="2001",d.urlpagename=m.urlpagename,d.url=location.href,d.spmcnt=g.spm_cnt||"",d.spmpre=g.spm_pre||"",d.lzsid="",d.cna=p.getCookie("cna"),d.extendargs=n,d.isonepage=m.isonepage,d.version=l.toUtVersion,d.lver=goldlog.lver||l.lver,d.jsver=l.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&&(o.pvdataToUt=this.getToUtData(n,i),this.options.context.what_to_sendpv_ut=o)}}}},function(t,e,n){"use strict";var o=n(24);t.exports=function(){return{init:function(t){this.options=t},run:function(){var t=o.getGoldlogVal("_$")||{},e=t.send_pv_count||0,n=this.options.config||{};return n.is_auto&&e>0?"done":(t.send_pv_count=++e,void o.setGoldlogVal("_$",t))}}}},function(t,e,n){"use strict";var o=n(31),a=n(24),r=n(30);t.exports=function(){return{init:function(t){this.options=t},getMetaInfo:function(){var t=a.getGoldlogVal("_$")||{},e=t.meta_info||r.getInfo();return e},getAplusMetaByKey:function(t){var e=this.getMetaInfo()||{};return e[t]},getGifPath:function(t,e){var n,r=a.getGoldlogVal("_$")||{};if("function"==typeof t)n=t(location.hostname,r.is_terminal,o.is_in_iframe)+".gif";else if(!n&&e){var i=e.match(/\/\w+\.gif/);i&&i.length>0&&(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:a});n.url=i,this.options.context.where_to_sendpv=n}}}}},function(t,e,n){"use strict";var o=n(24),a=n(31);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.send(r.url,a.arr2obj(i));o.setGoldlogVal("req",s)}}}}},function(t,e,n){"use strict";var o=n(55);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(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){o.do_tracker_jserror({message:"do_sendpv_ut error",error:JSON.stringify(t),filename:"do_sendpv_ut"}),e()},5e3)}catch(t){e()}finally{return"pause"}}}}},function(t,e,n){"use strict";var o=n(23),a=function(t,e,n){try{var a=window.goldlog_queue||(window.goldlog_queue=[]);a.push({action:["goldlog","_aplus_cplugin_m",e].join("."),arguments:[t,n]})}catch(t){o.logger({msg:t})}};e.do_tracker_jserror=function(t,e){a(t,"do_tracker_jserror",e)},e.do_tracker_obsolete_inter=function(t,e){a(t,"do_tracker_obsolete_inter",e)},e.wrap=function(t){if("function"==typeof t)try{t()}catch(t){o.logger({msg:t.message||t})}finally{}}},function(t,e,n){"use strict";var o=n(5),a=n(24);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,n){"use strict";e.plugins_prepv=[{name:"etag",enable:!0,path:n(19)},{name:"what_to_prepv_exinfo",enable:!0,path:n(58)},{name:"what_to_prepv",enable:!0,path:n(59),deps:["what_to_prepv_exinfo"]},{name:"where_to_prepv",enable:!0,path:n(60),deps:["what_to_prepv"]},{name:"do_sendprepv",enable:!0,path:n(61),deps:["what_to_prepv","where_to_prepv"]}]},function(t,e,n){"use strict";var o=n(31),a=n(20),r=n(24),i=n(24),s=n(33),u=n(14);t.exports=function(){return{init:function(t){this.options=t},getCookieUserInfo:function(){var t=[],e=u.getCookie("workno")||u.getCookie("emplId");return e&&t.push("workno="+e),t},filterExinfo:function(t){var e="";try{t&&"string"==typeof t&&(e=t.replace(/&/g,"&").replace(/\buserid=/,"uidaplus=").replace(/&aplus&/,"&"))}catch(t){e=t.message?t.message:""}return e},getExparamsFlag:function(){var t=this.options.context||{},e=t.what_to_prepv_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;c0&&(t=t.concat(e)),t},run:function(){try{var t=this.options.context.what_to_prepv_exinfo||{},e=r.getGoldlogVal("_$")||{},n=e.meta_info||{},o=n["aplus-exinfo"]||"",a=[];a=this.doConcatArr(a,t.exinfo||[]),a=this.doConcatArr(a,this.getExinfo(o)),a=this.doConcatArr(a,this.getCookieUserInfo()),a=this.doConcatArr(a,this.getCustomExParams(o)),t.exinfo=a.join("&"),this.options.context.what_to_prepv_exinfo=t}catch(t){i.logger({msg:t?t.message:""})}}}}},function(t,e,n){"use strict";var o=n(31),a=n(13);t.exports=function(){return{init:function(t){this.options=t},getCna:function(){var t=this.options.context||{},e=t.etag||{};return e.cna||""},getParams:function(){var t=this.options.context||{},e=this.options.config||{},n=t.userdata||{},r=goldlog._$||{},i=r.spm||{},s=[["logtype",1],["cna",this.getCna()],["cache",a.makeCacheNum()],["spm-cnt",e["spm-cnt"]||"0.0.0.0"],["spm-url",e["spm-url"]||i.spm_cnt||"0.0.0.0"]];i.spm_url&&s.push(["spm-pre",i.spm_url||""]),s.push(["pre",location.href]),s.push(["aplus",""]),s.push(["_pseudo_url",e._pseudo_url]);var u=[];for(var c in n)u.push(c+"="+n[c]);var l=t.what_to_prepv_exinfo||{};return s.push([o.mkPlainKeyForExparams(),l.exinfo||""]),s.push(["_extend_args",u.join("&")]),s.push(["_is_pseudo",1]),s},run:function(){this.options.context.what_to_prepv.logdata=this.getParams()}}}},function(t,e,n){"use strict";var o=n(31),a=n(24),r=n(30);t.exports=function(){return{init:function(t){this.options=t},getMetaInfo:function(){var t=a.getGoldlogVal("_$")||{},e=t.meta_info||r.getInfo();return e},getAplusMetaByKey:function(t){var e=this.getMetaInfo()||{};return e[t]},getGifPath:function(t,e){var n,r=a.getGoldlogVal("_$")||{};if("function"==typeof t)n=t(location.hostname,r.is_terminal,o.is_in_iframe)+".gif";else if(!n&&e){var i=e.match(/\/\w+\.gif/);i&&i.length>0&&(n=i[0])}return n||(n=r.is_terminal?"m.gif":"v.gif"),n},run:function(){var t=this.getAplusMetaByKey("aplus-rhost-v"),e=this.options.context.where_to_prepv||{},n=e.url||"",a=this.getGifPath(e.urlRule,n),r=o.getPvUrl({metaName:"aplus-rhost-v",metaValue:t,gifPath:a,url:n});e.url=r,this.options.context.where_to_prepv=e}}}},function(t,e,n){"use strict";var o=n(24);t.exports=function(){return{init:function(t){this.options=t},run:function(){var t=this.options.context||{},e=this.options.config||{},n=t.logger||{},a=t.what_to_prepv||{},r=t.where_to_prepv||{},i=a.logdata||{},s=r.url||"";s||"function"!=typeof n||n({msg:"warning: where_to_prepv.url is null, goldlog.record failed!"});var u=goldlog.send(r.url,i,e.method||"GET");o.setGoldlogVal("req",u)}}}},function(t,e,n){"use strict";function o(){var t=i.getGoldlogVal("_$")||{},e="//web.archive.org/web/20211129155346/http://gm.mmstat.com/";return t.is_terminal&&(e="//web.archive.org/web/20211129155346/http://wgo.mmstat.com/"),{where_to_hjlj:{url:e,ac_atpanel:"//web.archive.org/web/20211129155346/http://ac.mmstat.com/",tblogUrl:"//web.archive.org/web/20211129155346/http://log.mmstat.com/"}}}function a(){return r.assign(new s,new o)}var r=n(13),i=n(24),s=n(63);t.exports=a},function(t,e,n){"use strict";function o(){var t=goldlog.getCdnPath(),e="//web.archive.org/web/20211129155346/http://assets.alicdn.com/g"===t;return{compose:{},basic_params:{cna:a.getCookie("cna")},where_to_hjlj:{url:e?"//web.archive.org/web/20211129155346/http://gj.mmstat.com/":"//web.archive.org/web/20211129155346/http://gm.mmstat.com/",ac_atpanel:e?"//web.archive.org/web/20211129155346/http://gj.mmstat.com/":"//web.archive.org/web/20211129155346/http://ac.mmstat.com/",tblogUrl:e?"//web.archive.org/web/20211129155346/http://gj.mmstat.com/":"//web.archive.org/web/20211129155346/http://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"},is_single:!1}}var a=n(14);t.exports=o},function(t,e,n){"use strict";e.plugins_hjlj=[{name:"where_to_sendlog_ut",enable:!0,path:n(35)},{name:"is_single",enable:!0,path:n(37)},{name:"what_to_hjlj_exinfo",enable:!0,path:n(65)},{name:"what_to_pvhash",enable:!0,path:n(40)},{name:"what_to_hjlj",enable:!0,path:n(66),deps:["what_to_hjlj_exinfo","what_to_pvhash"]},{name:"what_to_hjlj_ut",enable:!0,path:n(67),deps:["is_single","what_to_hjlj_exinfo"]},{name:"where_to_hjlj",enable:!0,path:n(68),deps:["is_single","what_to_hjlj"]},{name:"do_sendhjlj",enable:!0,path:n(69),deps:["is_single","what_to_hjlj","where_to_hjlj"]},{name:"do_sendhjlj_ut",enable:!0,path:n(70),deps:["what_to_hjlj","what_to_hjlj_ut","where_to_sendlog_ut"]}]},function(t,e,n){"use strict";var o=n(31),a=n(20),r=n(24),i=n(24),s=n(33),u=n(14);t.exports=function(){return{init:function(t){this.options=t},getCookieUserInfo:function(){var t=[],e=u.getCookie("workno")||u.getCookie("emplId");return e&&t.push("workno="+e),t},filterExinfo:function(t){var e="";try{t&&"string"==typeof t&&(e=t.replace(/&/g,"&").replace(/\buserid=/,"uidaplus=").replace(/&aplus&/,"&"))}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;c0&&(t=t.concat(e)),t},run:function(){try{var t=this.options.context.what_to_hjlj_exinfo||{},e=r.getGoldlogVal("_$")||{},n=e.meta_info||{},o=n["aplus-exinfo"]||"",a=[];a=this.doConcatArr(a,t.exinfo||[]),a=this.doConcatArr(a,this.getExinfo(o)),a=this.doConcatArr(a,this.getCookieUserInfo()),a=this.doConcatArr(a,this.getCustomExParams(o)),t.exinfo=a.join("&"),this.options.context.what_to_hjlj_exinfo=t}catch(t){i.logger({msg:t?t.message:""})}}}}},function(t,e,n){"use strict";var o=n(20),a=n(31),r=n(13);t.exports=function(){return{init:function(t){this.options=t},getParams:function(){var t=this.options.context||{},e=t.userdata||{},n=t.basic_params||{},i=t.what_to_hjlj_exinfo||{},s=i.exinfo||"";e.gokey&&s&&0!==s.indexOf("&")&&(s="&"+s);var u=n.cna,c=e.gmkey,l=e.gokey+s,p=t.what_to_pvhash||{},g=p.hash||[];g.length&&(l+="&"+g.join("="));var f={cache:r.makeCacheNum(),gmkey:c,gokey:l,cna:u};e["spm-cnt"]&&(f["spm-cnt"]=e["spm-cnt"]),e["spm-pre"]&&(f["spm-pre"]=e["spm-pre"]);try{var d=o.getExParams(a),h=a.param2obj(d).uidaplus;h&&(f._gr_uid_=h)}catch(t){}return f},run:function(){this.options.context.what_to_hjlj.logdata=this.getParams()}}}},function(t,e,n){"use strict";var o=n(38),a=n(14),r=n(24),i=n(8);t.exports=function(){return{init:function(t){this.options=t},getToUtData:function(t,e){var n=r.getGoldlogVal("_$")||{},s=n.spm||{},u=this.options.context||{},c=u.userdata||{},l=u.what_to_hjlj_exinfo||{},p=l.exinfo||"";c.gokey&&p&&0!==p.indexOf("&")&&(p="&"+p);var g=c.gokey+p,f={gmkey:c.gmkey,gokey:g,lver:i.lver,jsver:i.script_name,version:i.toUtVersion,spm_cnt:s.spm_cnt||"",spm_url:s.spm_url||"",spm_pre:s.spm_pre||""};t&&(f._is_g2u_=1),f._bridgeName=e.bridgeName||"",f._toUT=1;try{f=JSON.stringify(f),"{}"==f&&(f="")}catch(t){f=""}var d=n.meta_info.isonepage_data.isonepage,h=n.meta_info.isonepage_data.urlpagename,m={};return m.functype=o.getFunctypeValue({logkey:c.logkey,gmkey:c.gmkey,spm_ab:r.getGoldlogVal("spm_ab")}),m.spmcnt=s.spm_cnt||"",m.spmurl=s.spm_url||"",m.spmpre=s.spm_pre||"",m.logkey=c.logkey,m.logkeyargs=f,m.urlpagename=h,m.url=location.href,m.cna=a.getCookie("cna")||"",m.extendargs="",m.isonepage=d,m},run:function(){var t=this.options.context||{},e=!!t.is_single,n=t.what_to_hjlj_ut||{},o=t.where_to_sendlog_ut||{},a=o.aplusToUT||{},r=a.toUT||{};n.logdataToUT=this.getToUtData(e,r),this.options.context.what_to_hjlj_ut=n}}}},function(t,e,n){"use strict";var o=n(31),a=n(13),r=n(24),i=n(23),s=n(30);t.exports=function(){return{init:function(t){this.options=t},getMetaInfo:function(){var t=r.getGoldlogVal("_$")||{},e=t.meta_info||s.getInfo();return e},getAplusMetaByKey:function(t){var e=this.getMetaInfo()||{};return e[t]},cramUrl:function(t){var e=r.getGoldlogVal("_$")||{},n=e.spm||{},o=this.options.context.where_to_hjlj||{},i=o.ac_atpanel,s=o.tblogUrl,u=this.options.context.what_to_hjlj||{},c=this.options.context.userdata||{},l=!0,p=c.logkey;if(!p)return{url:t,logkey_available:!1};if("ac"==p)t=i+"1.gif";else if(a.isStartWith(p,"ac-"))t=i+p.substr(3);else if(a.isStartWith(p,"/")){t+=p.substr(1);var g=u.logdata||{};g["spm-cnt"]=n.spm_cnt,g.logtype=2;try{u.logdata=g,this.options.context.what_to_hjlj=u}catch(t){}}else a.isEndWith(p,".gif")?t=s+p:l=!1;return{url:t,logkey_available:l}},can_to_sendhjlj:function(t){var e=this.options.context||{},n=e.logger||function(){},o=this.options.context.userdata||{};return!!t.logkey_available||(n({msg:"logkey: "+o.logkey+" is not legal!"}),!1)},run:function(){var t=!!this.options.context.is_single;if(!t){var e,n,a=this.options.context.where_to_hjlj.url,r=this.getAplusMetaByKey("aplus-rhost-g"),s=r&&o.hostValidity(r);s&&(e=/^\/\//.test(r)?"":"//",n=/\/$/.test(r)?"":"/",a=e+r+n),r&&!s&&i.logger({msg:"aplus-rhost-g: "+r+' is invalid, suggestion: "xxx.mmstat.com"'});var u=this.cramUrl(a);return this.can_to_sendhjlj(u)?void(this.options.context.where_to_hjlj.url=u.url):"done"}}}}},function(t,e,n){"use strict";var o=n(24);t.exports=function(){return{init:function(t){this.options=t},run:function(){var t=this.options.context||{},e=this.options.config||{},n=!!t.is_single;if(!n){var a=t.logger||{},r=t.what_to_hjlj||{},i=t.where_to_hjlj||{},s=r.logdata||{},u=i.url||"";u||"function"!=typeof a||a({msg:"warning: where_to_hjlj.url is null, goldlog.record failed!"});var c=goldlog.send(i.url,s,e.method||"GET");o.setGoldlogVal("req",c)}}}}},function(t,e){"use strict";t.exports=function(){return{init:function(t){this.options=t},run:function(t,e){var n=this.options.context||{},o=n.what_to_hjlj_ut2.isSuccess,a=n.logger||function(){},r=!!n.is_single,i=n.where_to_sendlog_ut||{},s=n.what_to_hjlj_ut||{},u=s.logdataToUT||{},c=i.aplusToUT||{},l=c.toUT;if(!o&&l&&"function"==typeof l.toUT2&&l.isAvailable)try{c.toutflag="toUT",l.toUT2(u,function(){e()},function(){e()},5e3)}catch(t){r&&a({msg:"warning: singleSend toUTName = "+i.toUTName+" errorMsg:"+t.message})}finally{return"pause"}}}}},function(t,e,n){"use strict";function o(){var t,e,n=i.KEY||{},o=n.NAME_STORAGE||{};if(!c&&u){var a=location.href,l=u&&(a.indexOf("login.taobao.com")>=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(72),r=n(7).nameStorage,i=n(8),s=n(48),u="https:"==location.protocol,c=parent!==self;e.run=function(){a.on(window,"beforeunload",function(){o()})}},function(t,e){"use strict";function n(t,e){var n=goldlog._$||{},a=n.meta_info||{},r=a.aplus_ctap||{};if(r&&"function"==typeof r.on)r.on(t,e);else{var i="ontouchend"in document.createElement("div"),s=i?"touchstart":"mousedown";o(t,s,e)}}function o(t,e,o){return"tap"===e?void n(t,o):void t[c]((i?"on":"")+e,function(t){t=t||a.event;var e=t.target||t.srcElement;"function"==typeof o&&o(t,e)},!1)}var a=window,r=document,i=!!r.attachEvent,s="attachEvent",u="addEventListener",c=i?s:u;e.on=o;var l=function(t){try{r.documentElement.doScroll("left")}catch(e){return void setTimeout(function(){l(t)},1)}t()},p=function(t){var e=0,n=function(){0===e&&t(),e++};"complete"===r.readyState&&n();var o;if(r.addEventListener)o=function(){r.removeEventListener("DOMContentLoaded",o,!1),n()},r.addEventListener("DOMContentLoaded",o,!1),window.addEventListener("load",n,!1);else if(r.attachEvent){o=function(){"complete"===r.readyState&&(r.detachEvent("onreadystatechange",o),n())},r.attachEvent("onreadystatechange",o),window.attachEvent("onload",n);var a=!1;try{a=null===window.frameElement}catch(t){}r.documentElement.doScroll&&a&&l(n)}};e.DOMReady=function(t){p(t)},e.onload=function(t){"complete"===r.readyState?t():o(a,"load",t)}},function(t,e,n){"use strict";function o(){var t=window.goldlog||{},e=t._$||{},n=e.meta_info||{},o=(new Date).getTime(),s=Math.floor(o/72e5),u=a.getElementById("aplus-sufei"),c=t.getCdnPath(),l=c+"/alilog/aplus_plugin_xwj/index.js?t="+s,p=c+"/secdev/entry/index.js?t="+s,g=function(){var t=n["aplus-loadjs"];if(t)for(var e=0;e-1}function o(t,e){for(var o=0,a=t.length;o0&&!_.checkIfSendPV(t.checksum,e))return!1;if(f.any(S,function(e){return e(goldlog,t)===!1}))return!1;var a=n(84).SendPV,r=new a;return"undefined"==typeof t.recordType&&(t.recordType=w.recordTypes.pv),r.run(t,e,{fn_after_pv:A}),!0},_sendPseudo:function(t,e){t||(t={});var o=n(85).SendPrePV,a=new o;return"undefined"==typeof t.recordType&&(t.recordType=w.recordTypes.prepv),a.run(t,e,{},function(){g.doPubMsg(["sendPrePV","complete"])}),!0}},sendPV:function(t,e){return e=e||{},goldlog._$._sendPV(t,e)},beforeRecord:function(t){E.push(t)},afterRecord:function(t){C.push(t)},record:function(t,e,n,o,a){if(!f.any(E,function(t){return t(goldlog)===!1}))return j.run({recordType:w.recordTypes.hjlj,method:"POST"===o?"POST":"GET"},{logkey:t,gmkey:e,gokey:n},{fn_after_record:C},function(){"function"==typeof a&&a()}),!0},recordUdata:function(t,e,n,o,a){var r=d.getGoldlogVal("_$")||{},i=r.spm||{};j.run({ignore_chksum:!0,method:"POST"===o?"POST":"GET",recordType:w.recordTypes.hjlj},{logkey:t,gmkey:e,gokey:n,"spm-cnt":i.spm_cnt,"spm-pre":i.spm_pre},{},function(){f.isFunction(a)&&a()})},setPageSPM:function(t,e,n){var o="function"==typeof n?n:function(){};goldlog.spm_ab=goldlog.spm_ab||[];var a=f.cloneObj(goldlog.spm_ab);if(a[0]!==t+""||a[1]!==e+""){t&&(goldlog.spm_ab[0]=""+t,goldlog._$.spm.data.a=""+t),e&&(goldlog.spm_ab[1]=""+e,goldlog._$.spm.data.b=""+e),v.spaInit(goldlog,y,a);var s=a.join(".");goldlog.spmab_pre=s;var u=goldlog.spm_ab.join(".");g.doPubMsg(["setPageSPM",{spmab_pre:s,spmab:u}]),g.doCachePubs(["setPageSPM",{spmab_pre:s,spmab:u}]),r(),i()}o()},setMetaInfo:function(t,e){if(b.setMetaInfo(t,e)){var n=d.getGoldlogVal("_$")||{};n.meta_info=b.qGet();var o=d.setGoldlogVal("_$",n),a=T.isDisablePvid()+"";return"aplus-disable-pvid"===t&&a!==e+""&&v.resetSpmCntPvid(),g.doPubMsg(["setMetaInfo",t,e]),g.doCachePubs(["setMetaInfo",t,e]), o}},getMetaInfo:function(t){return b.getMetaInfo(t)},on:l.on,cloneDeep:f.cloneDeep,getPvId:T.getPvId};return e.getCdnPath=goldlog.getCdnPath?goldlog.getCdnPath:V,t.cdn_path=e.getCdnPath(),e}},function(t,e,n){"use strict";var o=n(13),a=n(24),r=n(5),i=n(23),s=n(80),u=n(81),c=n(8);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"},h=new s;h.create(d),h.wrap(g,function(){d.context.status="complete",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(33),r=n(29),i=n(23),s=n(55),u=n(14);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){try{t&&t.pubsub&&t.pubsub.publish("mw_change_"+t.pubsubType,t.context)}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),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 h="number"==typeof o;if("pause"===o||h){f=0;var m=h?o:l,_=t[g]?t[g][1]:"";c=r.sleep(m,function(){if(0===f){var t="jump the middleware about "+_+", because waiting timeout maxTimeout = "+m+"ms!";i.logger({msg:t}),goldlog_queue.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(33);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(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},e.getHashKey=function(t){try{var e=t||"",o=[],a="abcdefghijklmnopqrstuvwxyz",r=e.length;if(r>0)for(var i=r-1;i>=0;i--){var s=e[i].toLowerCase(),u=a.indexOf(s);if(u>-1&&o.length<10&&o.push(u>-1?u%10:s),10===o.length)return parseInt(o.join(""))}return o.length>0?parseInt(o.join("")):n}catch(t){return n}}},function(t,e,n){"use strict";var o=n(13),a=n(24),r=n(5),i=n(23),s=n(80),u=n(81),c=n(8),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(){f.context.status="complete",r.doPubMsg(["mw_change_pv",f.context]),n&&n.fn_after_record&&o.each(n.fn_after_pv,function(e){e(window.goldlog,t)})})()},e.SendPV=l},function(t,e,n){"use strict";var o=n(13),a=n(24),r=n(5),i=n(23),s=n(80),u=n(81),c=n(8),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"},h=new s;h.create(d),h.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";var o=n(36),a=n(8);e.init=function(){var t=n(8),e=goldlog._$,r=navigator.userAgent;r.match(/AliApp\(([A-Z\-]+)\/([\d\.]+)\)/i)&&(e.is_ali_app=!0),t.utilPvid.makePVId();var i=n(46);e.spm=i,e.is_WindVane=o.is_WindVane;var s=e.meta_info;e.page_url=location.href,e.page_referrer=n(48).getRefer(),i.init(goldlog,s,function(){t.initLoad.init_watchGoldlogQueue();var e=n(8).spmException,o=e.is_exception;o||n(87)}),goldlog.beforeSendPV(function(t,e){if(e.is_auto&&"1"===s["aplus-manual-pv"])return!1}),goldlog.afterSendPV(function(){window.g_SPM&&(g_SPM._current_spm="")}),a.is_auto_pv+""=="true"&&goldlog.sendPV({is_auto:!0}),t.initLoad.run(),t.beforeUnload.run()}},function(t,e,n){"use strict";!function(){var t,e=n(13),o=n(24),a=n(88),r=function(){t=!0;var n=window.g_SPM||{};e.isFunction(n.getParam)||e.isFunction(n.spm)||a.run()},i=window.goldlog||(window.goldlog={});i.aplus_pubsub&&"function"==typeof i.aplus_pubsub.publish&&i.aplus_pubsub.subscribe("goldlogReady",function(e){"complete"!==e||t||r()});var s=0,u=function(){if(!t){var e=o.getGoldlogVal("_$")||{};"complete"===e.status?r():s<50&&(++s,setTimeout(function(){u()},200))}};u()}()},function(t,e,n){"use strict";var o=n(31),a=n(33),r=n(32),i=n(13),s=n(20),u=n(72),c=n(24),l=n(23),p=n(21);e.run=function(){function t(t){var e=xt(t,ft),n=r.parseSemicolonContent(e)||{};return n}function e(){var t=X.spm.data;return[t.a,t.b].join(".")}function n(t,e){var n,o,a,r,i,s,u,c,l,p=[];for(n=wt(t.getElementsByTagName("a")),o=wt(t.getElementsByTagName("area")),r=n.concat(o),u=0,c=r.length;u1?a.pop():"",s>0&&(n=r.pop(),t=r.join("?")),n&&s>1&&n.indexOf("&")==-1&&n.indexOf("%")!=-1&&(l="%26"),t=t+"?spm="+_t+e+(n?l+n:"")+(o?"#"+o:""),c=i.isContain(u,".")?u.split(".").pop().toLowerCase():""){if({png:1,jpg:1,jpeg:1,gif:1,bmp:1,swf:1}.hasOwnProperty(c))return 0;!n&&s<=1&&(o||{htm:1,html:1,php:1,aspx:1}.hasOwnProperty(c)||(t+="&file="+u))}return t}function v(t){return t&&Y.split("#")[0]==t.split("#")[0]}function b(t){var e=s.tryToGetHref(t),n=m(t),o=xt(t,pt),a="i"===(o||n||ct);if(!e||f(e))return!0;var r=v(e)||p.isStartWithProtocol(e.toLowerCase())||d(e)||h(e);return!(a||!Tt(e,"#")&&!r)||a}function y(t,e){if(b(t)){var n=s.tryToGetHref(t);F==t&&goldlog.record("/tbspm.1.1","CLK","href="+n+"&spm="+e)}}function w(t,n,a){if(!/^0\.0\.?/.test(n)){var r=s.tryToGetHref(t),i=e(),u=b(t);if(u){var c=o.param2obj(r);if(c.spm&&c.spm.split)for(var l=c.spm.split("."),p=n.split("."),g=0;g<3&&p[g]===l[g];g++)2===g&&l[3]&&(n=c.spm)}t.setAttribute(bt,n),W=goldlog.getPvId(),W&&(n+="."+W),(W||i&&i!=nt)&&(u||a||(r=_(r,n))&&x(t,r))}}function x(t,e){var n,o=t.innerHTML;o&&o.indexOf("<")==-1&&(n=q.createElement("b"),n.style.display="none",t.appendChild(n)),t.href=e,n&&t.removeChild(n)}function j(t){var e,n=X.spm.data;return"0"==n.a&&"0"==n.b?e="0":(e=xt(t,lt),e&&e.match(/^d\w+$/)||(e="")),e}function P(t){for(var e,n,o=t;t&&t.tagName!=at&&t.tagName!=rt&&t.getAttribute;){if(n=t.getAttribute(lt)){e=n,o=t;break}if(!(t=t.parentNode))break}return e&&!/^[\w\-\.\/]+$/.test(e)&&(e="0"),{spm_c:e,el:o}}function T(t){for(var e,n={},o="";t&&t.tagName!=at&&t.tagName!=rt;){if(!o&&(o=xt(t,yt))){e=parseInt(xt(t,"data-spm-ab-max-idx"))||0,n.a_spm_ab=o,n.ab_idx=++e,t.setAttribute("data-spm-ab-max-idx",e);break}if(xt(t,lt))break;t=t.parentNode}return n}function k(t){var e;return t&&(e=t.match(/&?\bspm=([^&#]*)/))?e[1]:""}function S(t,n){var o=goldlog.getMetaInfo("aplus-getspmcd")||function(){},a=e(),r=s.tryToGetHref(t),i=k(r),u=null,c=a&&2==a.split(".").length;if(c){var l=o(t,null,a);return u=l&&"0"!==l.spm_c?[a,l.spm_c,l.spm_d]:[a,0,j(t)||0],void w(t,u.join("."),n)}r&&i&&(r=r.replace(/&?\bspm=[^&#]*/g,"").replace(/&{2,}/g,"&").replace(/\?&/,"?").replace(/\?$/,"").replace(/\?#/,"#"),x(t,r))}function A(t){var n=e(),o=t.split(".");return o[0]+"."+o[1]==n}function E(t,e){F=t,it&&M();var n,o,a=xt(t,bt);if(a&&A(a))w(t,a,e);else{if(n=P(t.parentNode),o=n.spm_c,!o)return void S(t,e);ot&&(o="0"),g(n.el,o,e),g(n.el,o,e,!0)}}function C(t){if(t&&1==t.nodeType){Pt(t,ht),Pt(t,mt);var e,n=wt(t.getElementsByTagName("a")),o=wt(t.getElementsByTagName("area")),a=n.concat(o),r=a.length;for(e=0;e0;)n=o.shift();var a,r=/^.+?\[@id="(.+?)"]$/i,i=/^(.+?)\[(\d+)]$/i;return(a=n.match(r))?e=e.getElementById(a[1]):(a=n.match(i))&&(e=e.getElementsByTagName(a[1])[parseInt(a[2])-1]),e?0===o.length?e:V(o.join("/"),e):null}function M(){var t,e,n,o={};for(t in st)st.hasOwnProperty(t)&&(e=V(t),e&&(o[t]=1,n=st[t],jt(e,lt,("A"==e.tagName?n.spmd:n.spmc)||"")));for(t in o)o.hasOwnProperty(t)&&delete st[t]}function G(){if(!ut&&K.spmData){ut=J;var t,e,n,o,a=K.spmData.data;if(a&&St(a)){for(t=0,e=a.length;t10&&(n=3e3),O(),setTimeout(t,n)}var e=0,n=500;t()}function L(t,e,n){var o=r.parseSemicolonContent(e,{},!0),s=o.gostr||"",u=o.locaid||"",c=o.gmkey||"",p=o.gokey||"",g=I(t),f=[g.a,g.b,g.c,u].join("."),d=s+"."+f;0!==d.indexOf("/")&&(d="/"+d);var h=[],m=["gostr","locaid","gmkey","gokey","spm-cnt","cna"];for(var _ in o)o.hasOwnProperty(_)&&a.indexof(m,_)===-1&&h.push(_+"="+o[_]);h.push("_g_et="+n),h.push("autosend=1"),p&&h.length>0&&(p+="&"),p+=h.length>0?h.join("&"):"",goldlog&&i.isFunction(goldlog.recordUdata)?goldlog.recordUdata(d,c,p,"GET",function(){}):l.logger({msg:"goldlog.recordUdata is not function!"}),jt(t,bt,f)}function R(t,n){var o=n;K.g_SPM&&(g_SPM._current_spm=I(n));for(var a;n&&n.tagName!=at;){a=xt(n,ft);{if(a){L(n,a,"mousedown"===t.type?t.button:"tap");break}n=n.parentNode}}if(!a){var r=e(),i=goldlog.getMetaInfo("aplus-getspmcd")||function(){};i(o,t,r)}}function $(t,e){for(var n,o=(new Date).getTime();e&&(n=e.tagName);){if("A"==n||"AREA"==n){E(e,z);var a=window.g_SPM||(window.g_SPM={}),r=a._current_spm=I(e),i=[];try{i=[r.a,r.b,r.c,r.d];var s=r.e||goldlog.pvid||"";s&&i.push(s),y(e,i.join(".")),B(e,o,i.join("."))}catch(t){}break}if(n==rt||n==at)break;e=e.parentNode}}function B(t,e,n){var o=t.getAttribute("href");i.isStartWith(o,"//")&&(o=location.protocol+o);var a={id:goldlog.pvid+"_"+e,timestamp:e,target_expression_type:"href",target_expression:o,spm_id:n,log_id:goldlog.pvid,current_url:location.href,current_referrer:goldlog._$.page_referrer,tracking_param:""},r=function(t){t&&"complete"===t.status&&"function"==typeof t.setLsParams&&t.setLsParams(a)};goldlog.aplus_pubsub.subscribeOnce("_aplus_cplugin_lsparams",r)}function D(t,e){var n=I(t),o=n.a+"."+n.b+"."+n.c+"."+n.d;return e&&(o+="."+n.e),o}var W,F,K=window,q=document,H=location,J=!0,z=!1,X=c.getGoldlogVal("_$")||{},Q=X.meta_info,Y=H.href,Z=X.is_terminal||/WindVane/i.test(navigator.userAgent),tt=s.isTouch()||"1"===Q["aplus-touch"],et={},nt="0.0",ot=!1,at="HTML",rt="BODY",it=z,st={},ut=z,ct=Q.spm_protocol,lt="data-spm",pt="data-spm-protocol",gt="data-spm-src",ft="data-spm-click",dt="data-auto-spmd",ht="data-spm-max-idx",mt="data-auto-spmd-max-idx",_t="",vt="data-spm-wangpu-module-id",bt="data-spm-anchor-id",yt="data-spm-ab",wt=r.nodeListToArray,xt=s.tryToGetAttribute,jt=s.tryToSetAttribute,Pt=s.tryToRemoveAttribute,Tt=i.isStartWith,kt=i.isString,St=i.isArray;u.DOMReady(function(){G()}),Z||N(),tt?u.on(q,"tap",R):u.on(q,"mousedown",R),tt?u.on(q,"tap",$):(u.on(q,"mousedown",$),u.on(q,"keydown",$)),K.g_SPM={resetModule:C,anchorBeacon:E,getParam:I,spm:D}}}]);/*! 2017-11-28 21:54:41 v7.6.23 */ !function(t){function e(n){if(o[n])return o[n].exports;var r=o[n]={exports:{},id:n,loaded:!1};return t[n].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var o={};return e.m=t,e.c=o,e.p="",e(0)}([function(t,e,o){!function(){function t(t){for(var e=[{name:"youku.com",fn:o(19)},{name:"soku.com",fn:o(19)},{name:"tudou.com",fn:o(25)},{name:"laifeng.com",fn:o(26)}],r=0;r-1}var u=window;e.assign=o,e.makeCacheNum=function(){return Math.floor(268435456*Math.random()).toString(16)},e.each=function(t,e){var o,n=t.length;for(o=0;o=n&&t.indexOf(e)==o-n},e.any=function(t,e){var o,n=t.length;for(o=0;o=0&&t.splice(i,1)}function s(t,e,o,n){var r,i,a=t.length,s=-1,u="function"==typeof o;for(r=0;r-1?t.splice(s,0,[e,o]):t.push([e,o]))}var u=o(6),c=o(14);t.exports={checkIfSendPV:n,updateSPMCnt:r,updateSPMUrl:i,updateKey:s,removeKey:a}},function(t,e,o){"use strict";function n(t){return a=a||document.getElementsByTagName("head")[0],s&&!t?s:a?s=a.getElementsByTagName("meta"):[]}function r(t){var e,o,r,i=n(),a=i.length;for(e=0;e0?o.param2obj(t.substring(0,u)):{};delete c[""],s=o.obj2param(p.assign(c,i))+"&"+t.substring(u,t.length)}else s=o.obj2param(i)+"&"+n;return s}return r}catch(t){return r}};e.mergeExparams=m},function(t,e,o){"use strict";var n=window,r=o(1),i=o(17),a=o(18);e.init_aplusQueue=function(){var t,e="_ap",o=n[e]=n[e]||[];o.push=t=function(){for(var t,e,n=0,a=arguments.length;n