/*! 2022-04-24 15:29:40 aplus_204164368.js */
!function(t){function e(a){if(n[a])return n[a].exports;var o=n[a]={exports:{},id:a,loaded:!1};return t[a].call(o.exports,o,o.exports,e),o.loaded=!0,o.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){t.exports=n(1)},function(t,e,n){"use strict";n(2).initGlobal(window),function(){var t=n(4);n(127)(t)}()},function(t,e,n){"use strict";var a,o=n(3),r=o.APLUS,i=o.APLUS_QUEUE,s=o.GOLDLOG,u=o.GOLDLOG_QUEUE,c=!1;try{window&&(a=window,c=!0)}catch(t){a={},c=!1}e.getContext=function(){return a},e.isWeb=function(){return window},e.initGlobal=function(t){a=t?t:{v:1,aplus:{},aplus_queue:[]};var e,n;if(c)try{e=a.aplus||a.goldlog||(a.aplus={});var o=a.goldlog_queue||(a.goldlog_queue=[]);n=a.aplus_queue||(a.aplus_queue=[]),n=o.concat(n)}catch(t){}else e=a.aplus,n=a.aplus_queue;return a.aplus=a.goldlog=e,a.aplus_queue=a.goldlog_queue=n,a};var l=function(t){if(t===r||t===s){var e=a[r]||a[s];return e||(e=a[r]=a[s]={}),e}var n=u,o=i;if(t===o||t===n){var c=a[o]||a[n];return c||(c=a[o]=a[n]=[]),c}};e.getGlobalValue=l,e.setGlobalValue=function(t,e){a[t]=e};var p=function(t){var e;try{var n=l(r);e=n[t]}catch(t){e=""}finally{return e}};e.getGoldlogVal=p;var f=function(t,e){var n=!1;try{var a=l(r);t&&(a[t]=e,n=!0)}catch(t){n=!1}finally{return n}};e.setGoldlogVal=f,e.getClientInfo=function(){return p("_aplus_client")||{}}},function(t,e){var n="aplus",a="goldlog",o=n+"_queue",r=a+"_queue",i="mw_change",s="MetaInfo",u="append"+s,c="set"+s,l="http",p="_pubsub",f="other",g="2101",d="2201",h="2202",_="19999",m="1023",v="1010",b=3e4,y=18e5,A="ekvs",E=1e4,w=1,S=1,P=3e3,T="$$_page_start",x="$$_page_end",I="$$_app_start",M="$$_app_end",C="aplus_user_profile",O="imprint",k="aplus-idtype",L="aplus-jsbridge-only",U="aplus-page-config",N="aplus-skip-apv-rules",R="aplus-rhost-v",j="aplus-rhost-g";t.exports={PAGE_ENTER:"PAGE_ENTER",CURRENT_PAGE_CONFIG:"CURRENT_PAGE_CONFIG",_ANONY_ID:"_anony_id",_USER_ID:"_user_id",DEFAULT_CODE:f,OTHER:_,EVENT_MAP:{2101:"click",2201:"exposure",2202:"exposure",19999:f,1023:"app_show",1010:"app_hide_or_unload"},EVENT_ID_MAP:{EXP:d,IMPEXP:h,CLK:g,OTHER:_,SHOW:m,H_OR_U:v},APLUS:n,GOLDLOG:a,UNSUBSCRIBE:n+"."+n+p+".unsubscribe",SUBSCRIBE:n+"."+n+p+".subscribe",PUBLISH:n+"."+n+p+".publish",CACHE_PUBS:n+"."+n+p+".cachePubs",APLUS_UNIVERSAL:n+"_universal",APLUS_QUEUE:o,GOLDLOG_QUEUE:r,COMPLETE:"complete",PV_CODE:"2001",EXP_CODE:d,CLK_CODE:g,OTHER_CODE:_,CLK:"CLK",EXP:"EXP",SPM_CNT:"spm-cnt",SPM_URL:"spm-url",SPM_PRE:"spm-pre",MW_CHANGE_PV:i+"_pv",MW_CHANGE_HJLJ:i+"_hjlj",HTTP:l+":",HTTPS:"https:",APPEND_META_INFO:u,SET_META_INFO:c,APLUS_APPEND_META_INFO:n+"."+u,APLUS_SET_META_INFO:n+"."+c,PVID:"pvid",APLUS_LOG_PIPE:"aplus-log-pipe",openAPIs:["send","enter","sendPV","record","combineRecord","recordUdata","requestVTConfig","requestRemoteConfig","setPageSPM","setMetaInfo","appendMetaInfo","updatePageProperties","updateNextPageProperties","updatePageUtparam","updateNextPageUtparam","pageAppear","pageDisappear","skipPage","updateSessionProperties","getPageSpmUrl","getPageSpmPre","setPageName","getElementSPM","recordAppLink"],SESSION_INTERVAL:b,SESSION_PAUSE_TIME:"session_pause_time",IMPRINT:"imprint",CURRENT_SESSION:"current_session",MAX_EVENTID_LENGTH:128,MAX_PROPERTY_KEY_LENGTH:256,MAX_PROPERTY_KEYS_COUNT:100,FAILED_REQUESTS:"failed_requests",REQUESTS:"requests",SHARES:"shares",APLUS_SSRC:"_aplus_ssrc",EKVS:A,EVENT_MAX_COUNT:E,MEMORY_MAX_COUNT:w,MAX_QUEUE_COUNT:S,EVENT_SEND_DEFAULT_INTERVAL:P,PAGE_START:T,PAGE_END:x,APP_START:I,APP_END:M,USER_PROFILE_KEY:C,SHARE_CACHE_INTERVAL:y,IMPRINT:O,ID_TYPE:k,GLOBAL_PROPERTY:"globalproperty",JSBRIDGE_ONLY:L,PAGE_CONFIG:U,APLUS_SKIP_APV_RULES:N,APLUS_PV_DOMAIN:R,APLUS_EKV_DOMAIN:j,APLUS_IMPRINT_VERSION:"APLUS_IMPRINT_VERSION",APLUS_REMOTE_CONFIG:"APLUS_REMOTE_CONFIG",RANK:"ekv_rank",WEB_EVENT_SUFFIX:"/web_logs",WEB_PC_PV_SUFFIX:"v.gif",WEB_WAP_PV_SUFFIX:"m.gif",PAGE_LEAVE:"$$_page_leave",APLUS_AUTOTRACK_ENABLED:"aplus-autotrack-enabled",APLUS_AUTOTRACK_ENABLED_REMOTE:"aplus-autotrack-enabled-remote",APLUS_AUTOTRACK_CONFIG:"aplus-autotrack-config",APLUS_AUTOTRACK_CONFIG_REMOTE:"aplus-autotrack-config-remote",APLUS_DISABLE_AUTOEVENT:"aplus-disable-autoevent",APLUS_DISABLE_AUTOEVENT_REMOTE:"aplus-disable-autoevent",APLUS_DISABLE_AUTOPV:"aplus-disable-apv",APLUS_DISABLE_AUTOPV_REMOTE:"aplus-disable-apv-remote",APLUS_DEVICE_ENABLE:"aplus-device-enable",PERFORMANCE_WARING:"$$_perf_warning",START_ID:"START_ID"}},function(t,e,n){t.exports={metaInfo:{"aplus-ifr-pv":"1","aplus-rhost-v":"log.mmstat.com","aplus-rhost-g":"gm.mmstat.com","aplus-channel":"WS",appId:"",sdkId:"customSdkId","aplus-cpvdata":{},"aplus-exdata":{},"aplus-globaldata":{},"aplus-mmstat-timeout":"10000","aplus-toUT":"",customSdkId:"204164368_20220424_152938"},globalConfig:{isAli:!0,APLUS_QUEUE:"aplus_queue",ETAG_STORAGE_KEY:"__ETAG__CNA__ID__",script_name:"aplus.js",lver:"1.9.15",NAME_STORAGE_KEYS:{REFERRER:"wm_referrer",REFERRER_PV_ID:"refer_pv_id",LOST_PV_PAGE_DURATION:"lost_pv_page_duration",LOST_PV_PAGE_SPMAB:"lost_pv_page_spmab",LOST_PV_PAGE:"lost_pv_page",LOST_PV_PAGE_MSG:"lost_pv_page_msg"}},plugins:[{name:"aplus_body_ready",path:n(5)},{name:"pubsub",path:n(6)},{name:"aplus_client",path:n(11)},{name:"aplus_meta_inject",path:n(15)},{name:"aplus_remote_control",path:n(38)},{name:"aplus_ac",path:n(41)},{name:"aplus_ae",path:n(55)},{name:"name_storage",path:n(63)},{name:"aplus_web_http_ali",path:n(66)},{name:"aplus_log_inject",path:n(69),deps:["aplus_meta_inject"],config:{plugins:{pv:[{name:"etag",path:n(70)},{name:"pha_trackinfo",path:n(75)},{name:"when_to_sendpv",path:n(76),config:{aplusWaiting:""}},{name:"where_to_send",path:n(77),config:{method:"GET",url:"//log.mmstat.com/v.gif"}},{name:"what_to_send",path:n(79),config:{pvdataToUt:{}}},{name:"cookie_data",path:n(80)},{name:"what_to_sendpv_userdata",path:n(81),deps:["what_to_send"]},{name:"what_to_sendpv_userdata_web",path:n(83),deps:["what_to_send","what_to_sendpv_userdata"]},{name:"what_to_sendpv_ut2",path:n(86),deps:["what_to_send"]},{name:"can_to_sendpv",path:n(87),config:{flag:"NO"}},{name:"after_pv",path:n(93)}],hjlj:[{name:"etag",path:n(70)},{name:"pha_trackinfo",path:n(75)},{name:"where_to_send",path:n(77),deps:[],config:{method:"GET",url:"//gm.mmstat.com/",ac_atpanel:"//ac.mmstat.com/",tblogUrl:"//log.mmstat.com/"}},{name:"what_to_send",path:n(79),deps:[]},{name:"cookie_data",path:n(80)},{name:"what_to_hjlj_userdata",path:n(94),deps:["what_to_send"]},{name:"what_to_hjlj_userdata_web",path:n(95),deps:["what_to_send","what_to_hjlj_userdata"]},{name:"what_to_hjlj_ut2",path:n(96),deps:["what_to_send"]}]}}},{name:"aplus_spm_inject",path:n(97)},{name:"aplus_api",path:n(111)},{name:"meta_queue",path:n(119)},{name:"etag",path:n(70)},{name:"etag_web_sync",path:n(121)},{name:"aplus_queue",path:n(122)},{name:"hot_loader",path:n(123),config:{urlRules:[{rule:"aplus_webvt_messager",cdnPath:["https://d.alicdn.com/alilog/mlog/aplus_webvt_messager.js","https://d.alicdn.com/alilog/mlog/aplus_track_debug.js"]},{rule:"aplus_track_debug_id",cdnPath:["https://d.alicdn.com/alilog/mlog/aplus_track_debug.js"]},{rule:"__aplus__analytics__=true",cdnPath:["https://g.alicdn.com/alilog/aplus-design/1.3.0/analytics_index.bundle.js"]}]}},{name:"hot_sufei_pc",path:n(124),config:{cdnPath:"//g.alicdn.com"}},{name:"aplus_apv",path:n(125),deps:["aplus_log_inject","aplus_api"]}]}},function(t,e){"use strict";t.exports=function(){return{run:function(t,e){var n=setInterval(function(){document.getElementsByTagName("body").length&&(clearInterval(n),n=null,e())},50);return setTimeout(function(){n&&clearInterval(n)},1e3),1e3}}}},function(t,e,n){var a=n(7),o=n(2);t.exports=function(){return{run:function(){var t=o.getGlobalValue("aplus");t.aplus_pubsub||(t.aplus_pubsub=a.create())}}}},function(t,e,n){var a=n(8);t.exports=a.extend({subscribeOnce:function(t,e){this.callable(e);var n,a=this;return this.subscribe.call(this,t,n=function(){a.unsubscribe.call(a,t,n);var o=Array.prototype.slice.call(arguments);e.apply(a,o)}),this}})},function(t,e,n){"use strict";var a=n(9),o=n(10),r=function(t){for(var e=t.length,n=new Array(e-1),a=1;a<e;a++)n[a-1]=t[a];return n},i=o.extend({callable:function(t){if(!a(t))throw new TypeError(t+" is not a function");return t},create:function(t){var e=new this;for(var n in t)e[n]=t[n];return e.handlers=[],e.pubs={},e},setHandlers:function(t){this.handlers=t},subscribe:function(t,e){this.callable(e);var n=this,a=n.pubs||{},o=a[t]||[];if(o)for(var r=0;r<o.length;r++){var i=o[r]();e.apply(n,i)}var s=n.handlers||[];return t in s||(s[t]=[]),s[t].push(e),n.setHandlers(s),n},unsubscribe:function(t,e){this.callable(e);try{var n=this.handlers[t];if(!n)return this;if("object"==typeof n&&n.length>0){for(var a=0;a<n.length;a++){var o=e.toString(),r=n[a].toString();o===r&&n.splice(a,1)}this.handlers[t]=n}else delete this.handlers[t]}catch(t){}return this},publish:function(t){var e=r(arguments),n=this.handlers||[],o=n[t]?n[t].length:0;if(o>0)for(var i=0;i<o;i++){var s=n[t][i];a(s)&&s.apply(this,e)}return this},cachePubs:function(t){var e=this.pubs||{},n=r(arguments);e[t]||(e[t]=[]),e[t].push(function(){return n})}});t.exports=i},function(t,e){"use strict";t.exports=function(t){return"function"==typeof t}},function(t,e,n){"use strict";function a(){}var o=n(9);a.prototype.extend=function(){},a.prototype.create=function(){},a.extend=function(t){return this.prototype.extend.call(this,t)},a.prototype.create=function(t){var e=new this;for(var n in t)e[n]=t[n];return e},a.prototype.extend=function(t){var e=function(){};try{o(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&&console.log(t)}finally{return e}},t.exports=a},function(t,e,n){"use strict";t.exports=function(){return{run:function(){var t=window.aplus||(window.aplus={});t._aplus_client=n(12)()}}}},function(t,e,n){function a(t){function e(){for(var e=[["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"]],n=0,a=e.length;n<a;++n)if(t.indexOf(e[n][0])!==-1)return e[n][1];return"other"}function n(t,e,n,a){var o,r=c.navigator.mimeTypes;try{for(o in r)if(r.hasOwnProperty(o)&&r[o][t]==e){if(void 0!==n&&a.test(r[o][n]))return!0;if(void 0===n)return!0}return!1}catch(t){return!1}}var a,o,r,i,s,l,f,_="",m=_,v=_,b=[6,9],y="{{version}}",A="<!--[if IE "+y+"]><s></s><![endif]-->",E=u&&u.createElement("div"),w=[],S={isAliapp:!1,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(E&&E.getElementsByTagName&&(E.innerHTML=A.replace(y,""),w=E.getElementsByTagName("s")),w.length>0){for(d(t,S),i=b[0],s=b[1];i<=s;i++)if(E.innerHTML=A.replace(y,i),w.length>0){S[v="ie"]=i;break}!S.ie&&(r=h(t))&&(S[v="ie"]=r)}else((o=t.match(/AppleWebKit\/*\s*([\d.]*)/i))||(o=t.match(/Safari\/([\d.]*)/)))&&o[1]?(S[m="webkit"]=g(o[1]),(o=t.match(/OPR\/(\d+\.\d+)/))&&o[1]?S[v="opera"]=g(o[1]):(o=t.match(/Chrome\/([\d.]*)/))&&o[1]?S[v="chrome"]=g(o[1]):(o=t.match(/\/([\d.]*) Safari/))&&o[1]?S[v="safari"]=g(o[1]):S.safari=S.webkit,(o=t.match(/Edge\/([\d.]*)/))&&o[1]&&(m=v="edge",S[m]=g(o[1])),/ Mobile\//.test(t)&&t.match(/iPad|iPod|iPhone/)?(S.mobile="apple",o=t.match(/OS ([^\s]*)/),o&&o[1]&&(S.ios=g(o[1].replace("_","."))),a="ios",o=t.match(/iPad|iPod|iPhone/),o&&o[0]&&(S[o[0].toLowerCase()]=S.ios)):/ Android/i.test(t)?(/Mobile/.test(t)&&(a=S.mobile="android"),o=t.match(/Android ([^\s]*);/),o&&o[1]&&(S.android=g(o[1]))):(o=t.match(/NokiaN[^\/]*|Android \d\.\d|webOS\/\d\.\d/))&&(S.mobile=o[0].toLowerCase()),(o=t.match(/PhantomJS\/([^\s]*)/))&&o[1]&&(S.phantomjs=g(o[1]))):(o=t.match(/Presto\/([\d.]*)/))&&o[1]?(S[m="presto"]=g(o[1]),(o=t.match(/Opera\/([\d.]*)/))&&o[1]&&(S[v="opera"]=g(o[1]),(o=t.match(/Opera\/.* Version\/([\d.]*)/))&&o[1]&&(S[v]=g(o[1])),(o=t.match(/Opera Mini[^;]*/))&&o?S.mobile=o[0].toLowerCase():(o=t.match(/Opera Mobi[^;]*/))&&o&&(S.mobile=o[0]))):(r=h(t))?(S[v="ie"]=r,d(t,S)):(o=t.match(/Gecko/))&&(S[m="gecko"]=.1,(o=t.match(/rv:([\d.]*)/))&&o[1]&&(S[m]=g(o[1]),/Mobile|Tablet/.test(t)&&(S.mobile="firefox")),(o=t.match(/Firefox\/([\d.]*)/))&&o[1]&&(S[v="firefox"]=g(o[1])));if(!S[v]){var P=t.match(/Ali\w+\(\w+\/(\d+\.)+\d+\)/);if(P){S.isAliapp=!0;var T=P[0],x="",I="",M=T.match(/(\d+\.)+\d+/);M&&(x=M[0],I=T.replace("/"+x,"").replace(/\(|\)/g,"")),S[v=I]=x}}a||(a=e());var C,O,k;if(!n("type","application/vnd.chromium.remoting-viewer")){C="scoped"in u.createElement("style"),k="v8Locale"in c;try{O=c.external||void 0}catch(t){}if(o=t.match(/360SE/))l="360";else if((o=t.match(/SE\s([\d.]*)/))||O&&"SEVersion"in O)l="sougou",f=g(o[1])||.1;else if((o=t.match(/Maxthon(?:\/)+([\d.]*)/))&&O){l="maxthon";try{f=g(O.max_version||o[1])}catch(t){f=.1}}else C&&k?l="360se":C||k||!/Gecko\)\s+Chrome/.test(p)||S.opera||S.edge||(l="360ee")}(o=t.match(/TencentTraveler\s([\d.]*)|QQBrowser\/([\d.]*)/))?(l="tt",f=g(o[2])||.1):(o=t.match(/LBBROWSER/))||O&&"LiebaoGetVersion"in O?l="liebao":(o=t.match(/TheWorld/))?(l="theworld",f=3):(o=t.match(/TaoBrowser\/([\d.]*)/))?(l="taobao",f=g(o[1])||.1):(o=t.match(/UCBrowser\/([\d.]*)/))&&(l="uc",f=g(o[1])||.1),S.os=a,S.core=S.core||m,S.shell=v,S.ieMode=S.ie&&u.documentMode||S.ie,S.extraName=l,S.extraVersion=f;var L=c.screen.width,U=c.screen.height;return S.resolution=L+"x"+U,S}function o(t){function e(t){return Object.prototype.toString.call(t)}function n(t,n,a){if("[object Function]"==e(n)&&(n=n(a)),!n)return null;var o={name:t,version:""},r=e(n);if(n===!0)return o;if("[object String]"===r){if(a.indexOf(n)!==-1)return o}else if(n.exec){var i=n.exec(a);if(i)return i.length>=2&&i[1]?o.version=i[1].replace(/_/g,"."):o.version="",o}}var a={name:"other",version:""};t=(t||"").toLowerCase();for(var o=[["nokia",function(t){return t.indexOf("nokia ")!==-1?/\bnokia ([0-9]+)?/:/\bnokia([a-z0-9]+)?/}],["samsung",function(t){return t.indexOf("samsung")!==-1?/\bsamsung(?:[ \-](?:sgh|gt|sm))?-([a-z0-9]+)/:/\b(?:sgh|sch|gt|sm)-([a-z0-9]+)/}],["wp",function(t){return t.indexOf("windows phone ")!==-1||t.indexOf("xblwp")!==-1||t.indexOf("zunewp")!==-1||t.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(t){return t.indexOf("meizu")>=0?/\bmeizu[\/ ]([a-z0-9]+)\b/:/\bm([0-9x]{1,3})\b/}],["nexus",/\bnexus ([0-9s.]+)/],["huawei",function(t){var e=/\bmediapad (.+?)(?= build\/huaweimediapad\b)/;return t.indexOf("huawei-huawei")!==-1?/\bhuawei\-huawei\-([a-z0-9\-]+)/:e.test(t)?e:/\bhuawei[ _\-]?([a-z0-9]+)/}],["lenovo",function(t){return t.indexOf("lenovo-lenovo")!==-1?/\blenovo\-lenovo[ \-]([a-z0-9]+)/:/\blenovo[ \-]?([a-z0-9]+)/}],["zte",function(t){return/\bzte\-[tu]/.test(t)?/\bzte-[tu][ _\-]?([a-su-z0-9\+]+)/:/\bzte[ _\-]?([a-su-z0-9\+]+)/}],["vivo",/\bvivo(?: ([a-z0-9]+))?/],["htc",function(t){return/\bhtc[a-z0-9 _\-]+(?= build\b)/.test(t)?/\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(t){return t.indexOf("blackberry")>=0?/\bblackberry\s?(\d+)/:"bb10"}]],r=0;r<o.length;r++){var i=o[r][0],s=o[r][1],u=n(i,s,t);if(u){a=u;break}}return a}function r(){try{var t=a(f),e=o(f),n=t.os,r=t.shell,i=t.extraName,s=t.extraVersion,u={o:n?n+(t[n]?t[n]:""):"",w:t.core,s:t.resolution,m:i?i+(s?parseInt(s):""):"",ism:e.name+e.version,p:1};return u.b=r?r+parseInt(t[r]):"other",u}catch(t){}}var i=n(13),s=n(14),u=document,c=window,l=c.navigator,p=l.appVersion,f=l?l.userAgent:"",g=function(t){var e=0;return parseFloat(t.replace(/\./g,function(){return 0===e++?".":""}))},d=function(t,e){var n,a;e[n="trident"]=.1,(a=t.match(/Trident\/([\d.]*)/))&&a[1]&&(e[n]=g(a[1])),e.core=n},h=function(t){var e,n;return(e=t.match(/MSIE ([^;]*)|Trident.*; rv(?:\s|:)?([0-9.]+)/))&&(n=e[1]||e[2])?g(n):0};t.exports=function(){var t=s();return i(t,r())}},function(t,e){t.exports=function(t,e){return"function"!=typeof Object.assign?function(t){for(var e=Object(t),n=1;n<arguments.length;n++){var a=arguments[n];if(null!==a)for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(e[o]=a[o])}return e}(t,e):Object.assign({},t,e)}},function(t,e){"use strict";function n(t){for(var e=[["Windows NT 5.1","winXP"],["Windows NT 6.1","win7"],["Windows NT 6.0","winVista"],["Windows NT 6.2","win8"],["Windows NT 6.3","win8.1"],["Windows NT 10.0","win10"],["Ubuntu","ubuntu"],["Linux","linux"],["Windows NT 5.2","win2003"],["Windows NT 5.0","win2000"],["Windows","winOther"],["rhino","rhino"]],n=0,a=e.length;n<a;++n){var o=e[n][0];if(t.indexOf(o)!==-1){var r=o.split(" ")[0];return{device_model:r,os:r,os_version:e[n][1]}}}var i="other";return{device_model:i,os:i,os_version:i}}function a(t,e){var n=t.substring(t.indexOf("(")+1,t.indexOf(")")),a={device_model:e},o=e.toLowerCase();switch(o){case"ipad":case"iphone":case"ipod":case"macintosh":"macintosh"===o?/Mac OS X/.test(n)?a.os="Mac OS X":a.os="Mac OS":a.os="IOS",a.os_version=n.match(/[0-9_.]+/)[0];break;case"android":a.os="Android",a.os_version=n.match(/[0-9.]+/)[0]}return a.os_version=a.os_version.replace(/_/g,"."),a}t.exports=function(){var t=navigator.userAgent,e={},o=t.match(/iphone|ipad|android|macintosh/i),r=t.match(/Darwin/i);if(o)e=a(t,o[0]);else if(r){var i=t.split(" ")[2];e={os:"Darwin",os_version:i.match(/[0-9.]+/)[0],device_model:"Darwin"}}else e=n(t);var s=screen||{};return e.screenWidth=s.width,e.screenHeight=s.height,navigator&&(e.userAgent=navigator.userAgent||"-",e.language=navigator.language||navigator.userLanguage||"-"),e}},function(t,e,n){"use strict";t.exports=function(){return{run:function(){n(16)(this.options.context.aplus_config)}}}},function(t,e,n){"use strict";function a(){var t=document,e="//g.alicdn.com";if(t){var n=t.getElementById("beacon-aplus")||t.getElementById("tb-beacon-aplus"),a=["//assets.alicdn.com/g","//g-assets.daily.taobao.net","//alidt.oss-cn-hangzhou.aliyuncs.com"];if(n)for(var o=0;o<a.length;o++){var r=new RegExp(a[o]);if(r.test(n.src)){e=a[o];break}}}return e}function o(){s||(s=a());var t="//assets.alicdn.com/g"===s||"//laz-g-cdn.alicdn.com"===s;return t||"int"===f.getMetaInfo("aplus-env")}function r(){if(navigator&&navigator.userAgent){var t=/iphone|android/i.test(navigator.userAgent),e=t||/TB\-PD/i.test(navigator.userAgent);return e}return!0}function i(){var t,e=c.getParamFromUrl("utparamcnt",location.href);if(e)try{t=e=JSON.parse(decodeURIComponent(e))}catch(t){}return t}var s,u=n(2),c=n(17),l=n(24),p=n(25),f=n(26);t.exports=function(t){var e=u.getGlobalValue("aplus"),s=t.globalConfig.NAME_STORAGE_KEYS,c=n(37).getRefer(s);e.nameStorage=p.nameStorage,l.haveNativeFlagInUA();var g=e._$=e._$||{};g.is_terminal=r(),g.send_pv_count=0,g.page_referrer=c,g.spm={data:{},page_referrer:c},e.globalConfig=t.globalConfig;var d=i();g.meta_info=f.qGet()||{};for(var h in t.metaInfo)if(!g.meta_info.hasOwnProperty(h)){var _=t.metaInfo[h];"aplus-utparam"===h?(d&&f.appendMetaInfo(h,d),f.appendMetaInfo(h,_)):f.setMetaInfo(h,_)}e._$=g,e.isInternational=o,e.getCdnPath=a}},function(t,e,n){"use strict";function a(t,e){if(!t||!e)return"";var n,a="";try{var o=new RegExp(t+"=([^&|#|?|/]+)");if("spm"===t||"scm"===t){var r=new RegExp("\\?.*"+t+"=([\\w\\.\\-\\*/]+)"),i=e.match(o),s=e.match(r),u=i&&2===i.length?i[1]:"",c=s&&2===s.length?s[1]:"";a=u>c?u:c,a=decodeURIComponent(a)}else n=e.match(o),a=n&&2===n.length?n[1]:""}catch(t){}finally{return a}}function o(t,e){var n,a,o,r,i,u=e||location.href,c="&",l=[];return s(t,function(t,e){new RegExp(t+"=").test(u)||l.push(t+"="+e)}),0===l.length?u:(u.indexOf("#")!==-1&&(o=u.split("#"),u=o.shift(),a=o.join("#")),r=u.split("?"),i=r.length-1,o=r[0].split("//"),o=o[o.length-1].split("/"),i>0&&(n=r.pop(),u=r.join("?")),n&&i>1&&n.indexOf("&")==-1&&n.indexOf("%")!==-1&&(c="%26"),u=u+"?"+l.join("&")+(n?c+n:"")+(a?"#"+a:""))}function r(t){var e=location.hash+"";u.pushIntoGoldlogQueue("aplus.on",[window,"hashchange",function(){e!==location.hash&&(e=location.hash+"",t&&"function"==typeof t&&t(e,l))}])}function i(t){function e(e){var a="";if(e){a=e&&e.arguments&&e.arguments.length>2&&e.arguments[2];var o=/^http|https/.test(a)?a:location.protocol+"//"+location.host+a;location.href!==o&&t&&"function"==typeof t&&t(a,p)}else a=location.pathname+location.search,a!==n&&setTimeout(function(){t&&"function"==typeof t&&t(a,p)},0);n=a}var n=location.pathname+location.search;if(history.pushState&&window.addEventListener){u.pushIntoGoldlogQueue("aplus.on",[window,"pushState",function(t){e(t)}]),u.pushIntoGoldlogQueue("aplus.on",[window,"popstate",function(){e()}]);var a=c.getMetaCnt("aplus-track-replacestate")||aplus.getMetaInfo("aplus-track-replacestate");a&&u.pushIntoGoldlogQueue("aplus.on",[window,"replaceState",function(t){e(t)}])}}var s=n(18);e.addParamsIntoUrl=o,e.getParamFromUrl=a,e.getSPMFromUrl=function(t){return a("spm",t)},e.getQueryFromUrl=function(){function t(t){for(var e=decodeURIComponent(t),n=e.indexOf("?")+1,a=e.substring(n),o=Object.create(null),r=a.split("&"),i=0;i<r.length;i++)o[r[i].split("=")[0]]=decodeURIComponent(r[i].split("=")[1]);return o}try{var e=location&&location.hash,a=location&&location.search;if(e&&e.indexOf("?")!==-1)return t(e);if(a&&a.indexOf("?")!==-1)return t(a)}catch(t){var o=n(20);o().w("url error === ",location.href)}};var u=n(21),c=n(22),l="hash",p="history";e.watchHashChange=r,e.watchHistoryChange=i},function(t,e,n){"use strict";var a=n(19);t.exports=function(t,e){if(a(t)&&void 0===t.length)for(var n in t)t.hasOwnProperty(n)&&e(n,t[n],t);else{var o,r=t.length;for(o=0;o<r;o++){var i=e(t[o],o);if("break"===i)break}}}},function(t,e){t.exports=function(t){if("object"!=typeof t||null===t)return!1;for(var e=t;null!==Object.getPrototypeOf(e);)e=Object.getPrototypeOf(e);return Object.getPrototypeOf(t)===e}},function(t,e){var n="[APLUS] -- ";t.exports=function(){function t(){this.setDebug=function(t){a=t},this.i=function(){if(a)try{"string"==typeof arguments[0]&&(arguments[0]=n+arguments[0]),console.info.apply(console,arguments)}catch(t){}},this.e=function(){if(a)try{"string"==typeof arguments[0]&&(arguments[0]=n+arguments[0]),console.error.apply(console,arguments)}catch(t){}},this.w=function(){if(a)try{"string"==typeof arguments[0]&&(arguments[0]=n+arguments[0]),console.warn.apply(console,arguments)}catch(t){}},this.v=function(){try{"string"==typeof arguments[0]&&(arguments[0]=n+arguments[0]),console.warn.apply(console,arguments)}catch(t){}},this.tip_w=function(t){try{console.log("%c "+n+t,"background:red; padding: 4px; padding-right: 8px; border-radius: 4px; color: #fff;")}catch(t){}},this.repeat=function(t){for(var e=t;e.length<86;)e+=t;return e}}var e=null,a=!1;return function(){return null===e&&(e=new t),e}}()},function(t,e,n){"use strict";var a=n(2);e.pushIntoGoldlogQueue=function(t,e){var n=a.getGlobalValue("aplus_queue"),o=a.getGlobalValue("aplus"),r=t.split("."),i=o[r[1]],s=i?i[r[2]]:null;o&&2===r.length&&i?i.apply(o,e):3===r.length&&s?s.apply(i,e):n.push({action:t,arguments:e})}},function(t,e,n){"use strict";function a(t){return i=i||document.getElementsByTagName("head")[0],s&&!t?s:i?s=i.getElementsByTagName("meta"):[]}function o(t,e){var n,o,r,i=a(),s=i.length;for(n=0;n<s;n++)o=i[n],u.tryToGetAttribute(o,"name")===t&&(r=u.tryToGetAttribute(o,e||"content"));return r||""}function r(t){var e={isonepage:"-1",urlpagename:""},n=t.qGet();if(n&&n.hasOwnProperty("isonepage_data"))e.isonepage=n.isonepage_data.isonepage,e.urlpagename=n.isonepage_data.urlpagename;else{var a=o("isonepage")||"-1",r=a.split("|");e.isonepage=r[0],e.urlpagename=r[1]?r[1]:""}return e}var i,s,u=n(23);e.getMetaTags=a,e.getMetaCnt=o,e.getOnePageInfo=r},function(t,e){"use strict";e.tryToGetAttribute=function(t,e){return t&&t.getAttribute?t.getAttribute(e)||"":""};var n=function(t,e,n){if(t&&t.setAttribute)try{t.setAttribute(e,n)}catch(t){}};e.tryToSetAttribute=n,e.tryToRemoveAttribute=function(t,e){if(t&&t.removeAttribute)try{t.removeAttribute(e)}catch(a){n(t,e,"")}}},function(t,e,n){"use strict";var a=n(2),o="UT4Aplus",r="Umeng4Aplus";e.isNative4Aplus=function(){var t=a.getGlobalValue("aplus"),e=t.getMetaInfo("aplus-toUT"),n=t.aplusBridgeName;return n===o&&e===o||n===r},e.haveNativeFlagInUA=function(){var t=a.getGlobalValue("aplus"),e=t.aplusBridgeName;if(!e&&"boolean"!=typeof e&&navigator&&navigator.userAgent){var n=new RegExp([o,r].join("|"),"i"),i=navigator.userAgent.match(n);e=!!i&&i[0],t.aplusBridgeName=e}return!!e}},function(t,e,n){"use strict";var a=n(2),o=function(){function t(){var t,e=[],n=!0;for(var a in f)f.hasOwnProperty(a)&&(n=!1,t=f[a]||"",e.push(l(a)+u+l(t)));window.name=n?o:r+l(o)+s+e.join(c)}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=a.getGlobalValue("nameStorage");if(n)return n;var o,r="nameStorage:",i=/^([^=]+)(?:=(.*))?$/,s="?",u="=",c="&",l=encodeURIComponent,p=decodeURIComponent,f={},g={};return function(t){if(t&&0===t.indexOf(r)){var e=t.split(/[:?]/);e.shift(),o=p(e.shift())||"";for(var n,a,s,u=e.join(""),l=u.split(c),g=0,d=l.length;g<d;g++)n=l[g].match(i),n&&n[1]&&(a=p(n[1]),s=p(n[2])||"",f[a]=s)}else o=t||""}(window.name),g.setItem=function(e,n){e&&"undefined"!=typeof n&&(f[e]=String(n),t())},g.getItem=function(t){return f.hasOwnProperty(t)?f[t]:null},g.removeItem=function(e){f.hasOwnProperty(e)&&(f[e]=null,delete f[e],t())},g.clear=function(){f={},t()},g.valueOf=function(){return f},g.toString=function(){var t=window.name;return 0===t.indexOf(r)?t:r+t},e(window,"beforeunload",function(){t()}),g}();e.nameStorage=o},function(t,e,n){"use strict";function a(t){var e,n,a,o=t.length,r={};for(v._microscope_data=r,e=0;e<o;e++)n=t[e],"microscope-data"===h.tryToGetAttribute(n,"name")&&(a=h.tryToGetAttribute(n,"content"),f.parseSemicolonContent(a,r),v.is_head_has_meta_microscope_data=!0);v._microscope_data_params=l.obj2param(r),v.ms_data_page_id=r.pageId,v.ms_data_shop_id=r.shopId,v.ms_data_instance_id=r.siteInstanceId,v.ms_data_siteCategoryId=r.siteCategory,v.ms_prototype_id=r.prototypeId,v.site_instance_id_or_shop_id=v.ms_data_instance_id||v.ms_data_shop_id,v._atp_beacon_data={},v._atp_beacon_data_params=""}function o(t){var e,n=function(){var e;return document.querySelector&&(e=document.querySelector("meta[name=data-spm]")),d(t,function(t){"data-spm"===h.tryToGetAttribute(t,"name")&&(e=t)}),e},a=n();return a&&(e=h.tryToGetAttribute(a,"data-spm-protocol")),e}function r(t){var e=t.isonepage||"-1",n=e.split("|"),a=n[0],o=n[1]?n[1]:"";t.isonepage_data={isonepage:a,urlpagename:o}}function i(){if(document){var t=_.getMetaTags();a(t),d(t,function(t){var e=h.tryToGetAttribute(t,"name");if(/^aplus/.test(e)&&(v[e]=_.getMetaCnt(e),e===b))try{u=v[e]=JSON.parse(_.getMetaCnt(e))}catch(t){}}),d(y,function(t){v[t]=_.getMetaCnt(t)}),v.spm_protocol=o(t),u&&(v=p.assign(v,u));var e,n,i=["aplus-rate-ahot"],s=i.length;for(e=0;e<s;e++)n=i[e],v[n]=parseFloat(v[n]);r(v)}return c=v||{},v}function s(t){g.logger({msg:"please do not repeat setPriorityMetaInfo "+t})}var u,c,l=n(27),p=n(28),f=n(29),g=n(34),d=n(18),h=n(23),_=n(22),m=n(2),v={},b="aplus-x-settings",y=["ahot-aplus","isonepage","spm-id","data-spm","microscope-data"];e.getInfo=i,e.qGet=function(){return c||i()},e.setMetaInfo=function(t,e){if(c||(c={}),"object"==typeof u&&u[t])return s(t),!0;if(t===b){if(u)s(t);else try{u="object"==typeof e?e:JSON.parse(e),c=p.assign(c,u)}catch(t){console&&console.log(t)}return!0}return"aplus-exinfo"===t?c[t]="object"==typeof e?e:l.param2obj(e):c[t]=e,!0};var A=function(t){return c||(c={}),c[t]||""};e.getMetaInfo=A,e.appendMetaInfo=function(t,e){var n=m.getGlobalValue("aplus");if(t&&e){var a,o=function(n){try{var a="string"==typeof e?JSON.parse(e):e;s(t,p.assign(n,a))}catch(t){}},r=function(n){try{var a="string"==typeof e?JSON.parse(e):e;s(t,n.concat(a))}catch(t){}},i=function(t){t.constructor===Array?r(t):o(t)},s=function(t,e){n.setMetaInfo(t,e,{from:"appendMetaInfo"})},u=function(n){var a=l.param2obj(e);s(t,p.assign(n,a))},c=n.getMetaInfo(t);if("aplus-exinfo"===t&&(u(c),a=!0),c)if("object"==typeof c)i(c),a=!0;else try{var f=JSON.parse(c);"object"==typeof f&&(i(f),a=!0)}catch(t){}a||s(t,e)}}},function(t,e){"use strict";function n(t,e){var n,o,r,i=[],s=t.length;for(r=0;r<s;r++){n=t[r][0],o=t[r][1];var u=0===n.indexOf(a),c=u||e?o:encodeURIComponent(o);i.push(u?c:n+"="+c)}return i.join("&")}e.arr2obj=function(t){var e,n,a,o={},r=t.length;for(a=0;a<r;a++)e=t[a][0],n=t[a][1],o[e]=n;return o},e.param2obj=function(t){if("object"==typeof t)return t;var e={};if(!t||"string"!=typeof t)return e;for(var n=t.split("&"),a=0;a<n.length;a++){var o=n[a],r=o.indexOf("="),i=o.split("="),s=o.length;if(2===i.length)e[i[0]]=i[1]||"";else if(r>0){var u=o.slice(0,r),c=o.slice(r+1,s)||"";e[u]=c}else e[i[0]]=""}return e};var a="::-plain-::";e.s_plain_obj=a,e.arr2param=n,e.obj2param=function(t,e){var n,o,r,i=[];for(n in t)n&&t.hasOwnProperty(n)&&("object"==typeof t[n]?(o=""+this.obj2param(t[n]),r=o):(o=""+t[n],r=n+"="+o),e?i.push(r):i.push(0===n.indexOf(a)?o:r));return i.join("&")},e.encodeGokeyValue=function(t){return t}},function(t,e,n){"use strict";e.assign=n(13),e.makeCacheNum=function(){return Math.floor(268435456*Math.random()).toString(16)},e.isStartWith=function(t,e){return 0===t.indexOf(e)},e.isEndWith=function(t,e){var n=t.length,a=e.length;return n>=a&&t.indexOf(e)==n-a},e.any=function(t,e){var n,a=t.length;for(n=0;n<a;n++)if(e(t[n]))return!0;return!1},e.isNumber=function(t){return"number"==typeof t},e.isNaN=function(t){return isNaN?isNaN(t):t!==t},e.isContain=function(t,e){return t.indexOf(e)>-1};var a=function(t){var e,n=t.constructor===Array?[]:{};if("object"==typeof t){if(JSON&&JSON.parse)e=JSON.stringify(t),n=JSON.parse(e);else for(var o in t)n[o]="object"==typeof t[o]?a(t[o]):t[o];return n}};e.cloneDeep=a;var o=function(){for(var t,e=/[?&]([^=#]+)=([^&#]*)/g,n=window.location.href,a={};t=e.exec(n);)a[t[1]]=t[2];return a};e.getUrlParams=o;var r=function(t){if(!t)return!0;for(var e in t)if(Object.prototype.hasOwnProperty.call(t,e))return!1;return!0};e.isEmptyObject=r},function(t,e,n){"use strict";var a=n(30),o=n(31),r=n(2),i=n(28),s=n(32),u=n(33);t.exports={tryToDecodeURIComponent:function(t,e){var n=e||"";if(t)try{n=decodeURIComponent(t)}catch(t){}return n},parseSemicolonContent:function(t,e,n){e=e||{};var o,r,i=t.split(";"),s=i.length;for(o=0;o<s;o++){r=i[o].split("=");var u=a.trim(r.slice(1).join("="));e[a.trim(r[0])||""]=n?u:this.tryToDecodeURIComponent(u)}return e},nodeListToArray:function(t){var e,n;try{return e=[].slice.call(t)}catch(o){e=[],n=t.length;for(var a=0;a<n;a++)e.push(t[a]);return e}},getLsCna:function(t,e){if(o.get&&o.test()){var n="",a=o.get(t);if(a){var r=a.split("_")||[];n=e?r.length>1&&e===r[0]?r[1]:"":r.length>1?r[1]:""}return decodeURIComponent(n)}return""},setLsCna:function(t,e,n){n&&o.set&&o.test()&&o.set(t,e+"_"+encodeURIComponent(n))},getLsImpv:function(t,e){if(o.get&&o.test()){var n="",a=o.get(t);if(a){var r=a.split("||")||[];n=e?r.length>1&&e===r[0]?r[1]:"":r.length>1?r[1]:""}return decodeURIComponent(n)}return""},setLsImpv:function(t,e,n){n&&o.set&&o.test()&&o.set(t,e+"||"+encodeURIComponent(n))},setLsRemoteCfg:function(t,e,n){if(n&&o.set&&o.test()){var a=i.cloneDeep(n);"object"==typeof a&&(a=JSON.stringify(a)),
o.set(t,e+"||"+encodeURIComponent(a))}},getLsRemoteCfg:function(t,e){if(o.get&&o.test()){var n="",a=o.get(t);if(a){var r=a.split("||")||[];n=e?r.length>1&&e===r[0]?r[1]:"":r.length>1?r[1]:""}return s.parse(decodeURIComponent(n))}return""},getUrl:function(t){var e=r.getGlobalValue("aplus"),a=n(3),o=t||"//log.mmstat.com/eg.js";try{var i=e.getMetaInfo(a.APLUS_PV_DOMAIN);i=u.fixDomain(i).replace(/\/\w+.gif$/,""),o=i+"/eg.js"}catch(t){}return o}}},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){e.stringfy=function(t){if(t)try{return JSON.stringify(t)}catch(t){}return""},e.parse=function(t){if(t)try{return JSON.parse(t)}catch(t){}return null},e.parseToArray=function(t){if(t)try{return JSON.parse(t)}catch(t){}return[]}},function(t,e,n){"use strict";function a(t){var e,n,a,r=[],i=t.length;for(a=0;a<i;a++)e=t[a][0],n=t[a][1],r.push(0===e.indexOf(o)?n:e+"="+encodeURIComponent(n));return r.join("&")}var o="::-plain-::";e.mkPlainKey=function(){return o+Math.random()},e.s_plain_obj=o,e.mkPlainKeyForExparams=function(t){var e=t||o;return e+"exparams"},e.arr2param=a,e.param2arr=function(t){for(var e,n=t.split("&"),a=0,o=n.length,r=[];a<o;a++)e=n[a].split("="),r.push([e.shift(),e.join("=")]);return r},e.arr2obj=function(t){var e,n,a,o={},r=t.length;for(a=0;a<r;a++)e=t[a][0],n=t[a][1],o[e]=n;return o},e.jsonLikeStr2JSON=function(t){if(!t||"string"!=typeof t)return{};for(var e=t.replace(/['"{}]+/g,""),n=e.split(","),a=[],o=0;o<n.length;o++)a.push(n[o].split(":"));var r=this.arr2obj(a);return r},e.fixDomain=function(t){return t.indexOf("https://")!==-1||t.indexOf("http://")!==-1?t:(t=(/^\/\//.test(t)?"":"//")+t,/^\/\/(\d+\.){3,}\d+/.test(t)?"http:"+t:"https:"+t)},e.getAppKey=function(){var t=n(2).getGlobalValue("aplus");return t.getMetaInfo("appkey")||t.getMetaInfo("appId")||t.getMetaInfo("appKey")},e.checkEmptyObj=function(t){return"object"!=typeof t||0===Object.keys(t).length},e.checkDomain=function(t){var e=new RegExp(/^((http|https|''):\/\/)?([a-zA-Z0-9][-a-zA-Z0-9]{0,62}(\.[a-zA-Z0-9][-a-zA-Z0-9]{0,62})+(:[0-9]{1,5})*)$/),a=(t.match(e)||[])[0];if(!t||!a){var o=n(20);return o().tip_w(o().repeat("!")),o().tip_w("trackDomain error, please check aplus-rhost-v setting, current value is: "+t||"undefined"),o().tip_w("we accept these three patterns:"),o().tip_w("eg1: https://test-qtracking-xxx.com:port, port is optional"),o().tip_w("eg2: http://test-qtracking-xxx.com:port, port is optional"),o().tip_w("eg3: test-qtracking-xxx.com:port, port is optional"),o().tip_w(o().repeat("!")),!1}return!0},e.checkOpenid=function(t){if(!t){var e=n(20);return e().tip_w(e().repeat("!")),e().tip_w("QT need an unique id as QT's deviceid!!"),e().tip_w("setting examples: aplus_queue.push({action: 'aplus.setMetaInfo', arguments: ['_anony_id', xxxxxx]});"),e().tip_w("referrence document: https://t.tb.cn/1dTHjTTQF0UjOTNHiCkaCS"),e().tip_w(e().repeat("!")),!1}return!0};var r=n(18);e.mapEventSampleRates=function(t){var e=[];return r(t,function(t){t.eventIds&&t.eventIds.length>0&&r(t.eventIds,function(n){e.push({eventId:n,samplingRate:t.samplingRate})})}),e}},function(t,e,n){"use strict";var a=n(35),o="[APLUS] -- ";e.logger=function(t){t||(t={});var e=t.level||"warn";console&&console[e]&&console[e](o+t.msg)},e.log=function(){var t=a&&a.getMetaInfo("debug");t&&console.log.apply(console,[o].concat(Array.prototype.slice.apply(arguments)))},e.debugLog=function(t){var e=n(2).getGlobalValue("aplus");e&&e.aplusDebug&&this.logger(t)}},function(t,e,n){"use strict";function a(){return i=f||{},f}function o(){return i||a()}function r(t,e){return i||(i={}),"aplus-inject-record-gokey"===t&&(h("the API aplus-inject-record-gokey is deprecated, if needed please concat APLUS SDK supporter"),p.record("/inject.record.gokey","OTHER","")),i[t]=e,!0}var i,s=n(36),u=n(27),c=n(2),l=n(3),p=c.getGlobalValue(l.APLUS),f={},g="object",d="string";e.getInfo=a,e.qGet=o,e.setMetaInfo=r;var h=function(t){try{console&&console.error(t)}catch(t){}};e.catchException=h;var _=function(t){return i||(i={}),i[t]||""};e.getMetaInfo=_;var m=function(t){var e=_("aplus-inject-record-gokey");return"function"==typeof e?e(t):t.gokey};e.getUserInjectGokey=m;var v=function(t,e){if(t&&e){var n,a=function(n){try{var a=typeof e===d?JSON.parse(e):e;i(t,Object.assign({},n,a))}catch(t){}},o=function(n){try{var a=typeof e===d?JSON.parse(e):e;i(t,n.concat(a))}catch(t){}},r=function(t){t.constructor===Array?o(t):a(t)},i=function(t,e){b(t,e,{from:"appendMetaInfo"})},s=_(t);if("aplus-exinfo"===t&&(i(t,Object.assign({},s,u.param2obj(e))),n=!0),"aplus-page-properties"===t){var c=e;if(s)for(var l in s)e[l]?c[l]=Object.assign({},s[l],e[l]):c[l]=s[l];i(t,c),n=!0}if(s)if(typeof s===g)r(s),n=!0;else try{var p=JSON.parse(s);typeof p===g&&(r(p),n=!0)}catch(t){}n||i(t,e)}};e.appendMetaInfo=v;var b=function(t,e){var n,a,i="OVERWRITE",u=i;if("object"==typeof t?(n=t.metaName,a=t.metaValue,u=t.mode||i):(n=t,a=e),u!==i)return v(n,a);if(r(n,a)){var l=c.getGoldlogVal("_$")||{};l.meta_info=o();var p=c.setGoldlogVal("_$",l),f=["setMetaInfo",n,a,{}];return s.doPubMsg(f),s.doCachePubs(f),p}};e._setMetaInfo=b},function(t,e,n){"use strict";var a=n(2),o="function",r=function(){var t=a.getGlobalValue("aplus"),e=t.aplus_pubsub||{},n=typeof e.publish===o;return n?e:""};e.doPubMsg=function(t){var e=r();e&&typeof e.publish===o&&e.publish.apply(e,t)},e.doCachePubs=function(t){var e=r();e&&typeof e.cachePubs===o&&e.cachePubs.apply(e,t)},e.doSubMsg=function(t,e){var n=r();n&&typeof n.subscribe===o&&n.subscribe(t,e)}},function(t,e,n){"use strict";var a=n(25).nameStorage;e.getRefer=function(t){return document.referrer||a.getItem(t.REFERRER)||""}},function(t,e,n){var a=n(18),o=n(39),r=n(2),i=n(40),s=n(34);t.exports=function(){return{getConfigFileUrls:function(){var t=location.hostname.replace(/\./g,"_")+".json",e=["https://d.alicdn.com/alilog/tra_rate/"],n=[];return a(e,function(e){n.push(e+t)}),n},toJson:function(t){if(i(t))try{return JSON.parse(t)}catch(t){s.logger({level:"error",msg:t.message})}return t},configLoadedCallback:function(t,e){var n=r.getGlobalValue("aplus_queue");if(/alilog\/tra_rate/.test(t)){var a=this.toJson(e);a&&n.push({action:"aplus.setMetaInfo",arguments:["aplus-report-rate",a]})}},run:function(){var t=this.getConfigFileUrls(),e=this;a(t,function(t){o.request(t,function(n){e.configLoadedCallback(t,n)})})}}}},function(t,e,n){"use strict";var a=n(3),o={base:1e4,timeout:1e4},r=function(t,e,n,r){/^\/\//.test(t)&&(t=a.HTTPS+t);var i=!0,s=r&&r.timeout?r.timeout:o.timeout;setTimeout(function(){i&&(i=!1,n({timeout:s}))},s),window.fetch(t).then(function(t){return/application\/json/.test(t.headers.get("content-type"))?t.json():t.text()}).then(function(t){i&&(e(t),i=!1)}).catch(function(t){i&&n(t)})},i=function(t,e,n,a){var r,i="GET",s=function(){r.responseText?e(r.responseText):n()},u=window.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest;u?(r=new XMLHttpRequest,r.open(i,t,!0)):(r=new window.XDomainRequest,r.open(i,t));var c=a&&a.timeout?a.timeout:o.timeout;r.timeout=c,r.onload=s,r.onerror=n,r.ontimeout=n,r.send()},s=function(t,e,n,a){window.fetch?r(t,e,n,a):i(t,e,n,a)},u=function(t,e){t=t||{},t.method=(t.method||"POST").toUpperCase(),t.url=t.url||"",t.data=t.data||null,t.success=t.success||function(){},t.error=t.error||function(){};var n=new XMLHttpRequest,a=[];for(var o in t.data)a.push(o+"="+encodeURIComponent(t.data[o]));var r=a.join("&"),i=JSON.stringify(t.data||{});"POST"===t.method?(n.open(t.method,t.url,!0),n.setRequestHeader("Content-Type",e||"application/json")):"GET"===t.method&&n.open(t.method,t.url+"?"+r,!0),n.withCredentials=!0,n.timeout=3e3,n.onreadystatechange=function(){if(4==n.readyState&&200==n.status){var e={};try{e=JSON.parse(n.responseText)}catch(t){}t.success(e)}else 4==n.readyState&&t.error(n.staus)},"POST"===t.method?n.send(i):n.send()};e.request=s,e.request4um=u},function(t,e){function n(t){return"[object String]"===Object.prototype.toString.call(t)}t.exports=n},function(t,e,n){"use strict";t.exports=function(){return{run:function(){n(42)()}}}},function(t,e,n){"use strict";function a(t){var e,n=window.aplus||(window.aplus={}),a=!1,l=function(){a||(o.wrap(function(){e=c.getAutoClkConfig();var t;e&&e.length>0&&(t=u.create({autoClkConfig:e}),t.init(),s.watch_clk()),n.aplus_pubsub.subscribe("setMetaInfo",function(n,a,o){if("aplus-auto-clk"===n){var r=c.getAutoClkConfig(a);if(JSON.stringify(r)===JSON.stringify(e))return;e=r,s.clear(),o||(o={from:"setMetaInfo"}),t&&t.clear(o),t&&t.clearDom({autoClkConfig:e},o),a&&(t?t.reset({autoClkConfig:e},o):(t=u.create({autoClkConfig:e}),t.init()),s.watch_clk())}})},"do_init"),a=!0)};setTimeout(function(){a||i().w("aplus_ac_init failed! please check whether aplusJs is loaded correctly!")},5e3);var p=n._$||{},f=window.g_SPM||{};"complete"===p.status&&f.spm&&l();var g=window.aplus_queue||(window.aplus_queue=[]);g.push({action:r.SUBSCRIBE,arguments:["aplusReady",function(t){"complete"===t&&l("aplusReady")}]}),"function"==typeof t&&t()}var o=n(43),r=n(3),i=n(20),s=n(44),u=n(54),c=n(53);t.exports=function(){var t=window.aplus||window.goldlog||(window.aplus={});t._aplus_ac||(t._aplus_ac={status:"init",elementSelectorSizeMap:{}},a(function(){t._aplus_ac.status="complete"}))}},function(t,e,n){"use strict";var a=n(2),o=function(t,e){var n=a.getGlobalValue("aplus_queue",[]);n.push({action:"aplus._aplus_cplugin_track_deb.monitor",arguments:[{key:"APLUS_PLUGIN_DEBUG",title:"aplus_core",msg:["_error_:methodName="+e+",params="+JSON.stringify(t)],type:"updateMsg",description:e||"aplus_core"}]})},r=function(t,e,n){var o=a.getGlobalValue("aplus_queue",[]);o.push({action:["aplus","_aplus_cplugin_m",e].join("."),arguments:[t,n]})};e.do_tracker_jserror=function(t,e){var n="do_tracker_jserror";r(t,n,e),o(t,n);var i=a.getGlobalValue("aplus");i&&i.aplusDebug&&console&&console.warn(t)},e.wrap=function(t){if("function"==typeof t)try{t()}catch(t){o({msg:t.message||t},"exception")}finally{}}},function(t,e,n){"use strict";var a=n(45),o=n(23),r=n(46),i=n(2),s=n(28),u=n(47),c=n(18),l=n(48),p=n(50),f=n(53),g=window,d=["iframe","html","body","head"],h=f.DATA_APLUS_AC_KEY,_=function(t){var e=[],n=t?o.tryToGetAttribute(t,h):"";if(n){var a=i.getGoldlogVal("_aplus_ac")||{},r=a._acHashMap||{};u(r,function(t,a){c(a,function(t){t.hash_value===n&&e.push(t.clkConfig)})})}return{clkConfigs:e,el:t}},m=function(t){var e=_(t);if(e&&e.clkConfigs&&e.clkConfigs.length>0)return e;for(;(t=t.parentNode)&&a.indexof(d,t.tagName?t.tagName.toLowerCase():"html")===-1;)if(e=_(t),e&&e.clkConfigs&&e.clkConfigs.length>0)return e},v=function(t){t=t||g.event;var e=t.target||t.srcElement,n=m(e)||{},a=n.clkConfigs;n&&a&&n.el&&c(a,function(a){var o=a;e=n.el;var r=aplus.spm_ab?aplus.spm_ab.join("."):"0.0",i=r+".0.0",u="";g.g_SPM&&"function"==typeof g.g_SPM.spm&&(i=g.g_SPM.spm(e));var c=[],l={},d=p.fillPropsData(o,e,l);d=p.fillFilterData(o,e,l),d=p.fillSpmData(o,e,l),d=s.assign(d,p.getDataTrackerParams(e));var h=f.getAutoClkUserFn();if(h){var _=p.autoUserFnHandler(h,e,o.elementSelector,t);if("object"==typeof _)"object"==typeof _.userdata&&(d=s.assign(d,_.userdata)),_.spm&&(i=_.spm),_.scm&&(u=_.scm);else if(_===!1)return}if(aplus.globalConfig.isAli)c.push("clkdata="+JSON.stringify([{exargs:d,scm:u,spm:i,aplusContentId:""}]));else for(var m in d)c.push(m+"="+d[m]);c.push("_is_auto_clk=1");var v=o.method||"POST";aplus.globalConfig.isAli||c.push("is_auto=1"),"$$_APLUS"!==o.logkey&&aplus_queue.push({action:"aplus.record",arguments:[o.logkey,"CLK",c.join("&"),v]})})};e.watch_clk=function(){r.isTouch()?l.on(document,"tap",v):l.on(document,"mousedown",v)},e.clear=function(){r.isTouch()?l.un(document,"tap",v):l.un(document,"mousedown",v)}},function(t,e){"use strict";function n(t){return Array.isArray?Array.isArray(t):/Array/.test(Object.prototype.toString.call(t))}function a(t){var e=[];if(n(t))for(var o=0;o<t.length;o++){var r=t[o];n(r)?(t[o]=a(r),e=e.concat(t[o])):e.push(r)}return e}function o(t,e){try{return t.find(e)}catch(o){for(var n=0;n<t.length;n++){var a=e(t[n]);if(a)return t[n]}}}e.indexof=function(t,e){var n=-1;try{n=t.indexOf(e)}catch(o){for(var a=0;a<t.length;a++)t[a]===e&&(n=a)}finally{return n}},e.itemMatch=function(t,e){var n=!1;try{if(!this.isArray(t))return n;n=t.some(function(t){return t&&t.length>0&&e.indexOf(t)!==-1})}catch(o){for(var a=0;a<t.length;a++)if(e.indexOf(t[a])!==-1){n=!0;break}}return n},e.isArray=n,e.flat=a,e.find=o},function(t,e,n){"use strict";function a(){return i||(i=document.getElementById("beacon-aplus")||document.getElementById("tb-beacon-aplus")),i}function o(t){var e=a(),n=s.tryToGetAttribute(e,"cspx");t&&n&&(t.nonce=n)}var r,i,s=n(23),u=n(3),c=n(18);e.getCurrentNode=a,e.addScript=function(t,e,n){var i="script",s=document.createElement(i);s.type="text/javascript",s.async=!0;var c=a(),l=c&&c.hasAttribute("crossorigin");l&&(s.crossOrigin="anonymous");var p=u.HTTPS===location.protocol?e||t:t;0===p.indexOf("//")&&(p=u.HTTPS+p),s.src=p,n&&(s.id=n),o(s);var f=document.getElementsByTagName(i)[0];r=r||document.getElementsByTagName("head")[0],f?f.parentNode.insertBefore(s,f):r&&r.appendChild(s)},e.loadScript=function(t,e){function n(t){a.onreadystatechange=a.onload=a.onerror=null,a=null,e(t)}var a=document.createElement("script");if(r=r||document.getElementsByTagName("head")[0],a.async=!0,"onload"in a)a.onload=n;else{var i=function(){/loaded|complete/.test(a.readyState)&&n()};a.onreadystatechange=i,i()}if(a.onerror=function(t){n(t)},a.src=t,o(a),aplus.globalConfig.isUM){a.id="aplus-setting",a.type="text/javascript",a.charset="utf-8";var s=document.getElementsByTagName("script");s&&s.length>0&&c(s,function(t){t&&"aplus-setting"===t.id&&r.removeChild(t)})}r.appendChild(a)},e.isTouch=function(){return"ontouchend"in document.createElement("div")}},function(t,e){"use strict";t.exports=function(t,e){if(Object&&Object.keys)for(var n=Object.keys(t),a=n.length,o=0;o<a;o++){var r=n[o];e(r,t[r])}else for(var i in t)e(i,t[i])}},function(t,e,n){"use strict";function a(){var t=aplus._$||{},e=t.meta_info||{},n=e.aplus_ctap||{};return n&&"function"==typeof n.on?n:null}function o(t,e){var n=a();n?n.on(t,e):s.on(t,e)}function r(t,e){var n=a();n?n.un(t,e):s.un(t,e)}var i=!!document.attachEvent,s=n(49);e.on=function(t,e,n){return"tap"===e?void o(t,n):void(i?t.attachEvent(e,n):t.addEventListener(e,n))},e.un=function(t,e,n){return"tap"===e?void r(t,n):void(i?t.detachEvent(e,n):t.removeEventListener(e,n))}},function(t,e){"use strict";function n(t,e){return t+Math.floor(Math.random()*(e-t+1))}function a(t,e,n){var a=document.createEvent("HTMLEvents");if(a.initEvent(e,!0,!0),"object"==typeof n)for(var o in n)a[o]=n[o];t.dispatchEvent(a)}function o(t){var e=document.documentElement;0===Object.keys(l).length&&(e.addEventListener(g,r,!1),e.addEventListener(f,i,!1),e.addEventListener(h,i,!1));for(var n=0;n<t.changedTouches.length;n++){var a=t.changedTouches[n],o={};for(var s in a)o[s]=a[s];var u={startTouch:o,startTime:Date.now(),status:d,element:t.srcElement||t.target};l[a.identifier]=u}}function r(t){for(var e=0;e<t.changedTouches.length;e++){var n=t.changedTouches[e],a=l[n.identifier];if(!a)return;var o=n.clientX-a.startTouch.clientX,r=n.clientY-a.startTouch.clientY,i=Math.sqrt(Math.pow(o,2)+Math.pow(r,2));(a.status===d||"pressing"===a.status)&&i>10&&(a.status="panning")}}function i(t){for(var e=0;e<t.changedTouches.length;e++){var n=t.changedTouches[e],o=n.identifier,s=l[o];s&&(s.status===d&&t.type===f&&(s.timestamp=Date.now(),a(s.element,_,{touch:n,touchEvent:t})),delete l[o])}var u=document.documentElement;0===Object.keys(l).length&&(u.removeEventListener(g,r,!1),u.removeEventListener(f,i,!1),u.removeEventListener(h,i,!1))}function s(t){t.__fixTouchEvent||(t.addEventListener(p,function(){},!1),t.__fixTouchEvent=!0)}function u(){if(!c){var t=document.documentElement;t.addEventListener(p,o,!1),c=!0}}var c=!1,l={},p="touchstart",f="touchend",g="touchmove",d="tapping",h="touchcancel",_="aplus_tap"+n(1,1e5);t.exports={on:function(t,e){u(),t&&t.addEventListener&&e&&(s(t),t.addEventListener(_,e._aplus_tap_callback=function(t){e(t,t.target)},!1))},un:function(t,e){t&&t.removeEventListener&&e&&e._aplus_tap_callback&&t.removeEventListener(_,e._aplus_tap_callback,!1)}}},function(t,e,n){"use strict";function a(t,e,n){var a=e.hash_value,o=i.getGoldlogVal(n)||{};if(o.hash_value||(o.hash_value={}),o.hash_value[t]||(o.hash_value[t]=r.Map?new r.Map:{}),r.Map){var s=o.hash_value[t].get(a);s?++s:s=1,o.hash_value[t].set(a,s)}else o.hash_value[t][a]?++o.hash_value[t][a]:o.hash_value[t][a]=1;i.setGoldlogVal(n,o)}var o=document,r=window,i=n(2),s=n(20),u=n(51),c=n(18),l=n(47),p=n(52),f=n(53),g=function(t){return"[object Array]"===Object.prototype.toString.call(t)};e.isArray=g,e.getXPath=function(t){var e,n,a,r,i,s,u=o.getElementsByTagName("*");for(e=[];t&&1==t.nodeType;t=t.parentNode)if(t.id){for(s=t.id,r=0,n=0;n<u.length;n++)if(i=u[n],i.id&&i.id==s){r++;break}if(e.unshift(t.tagName.toLowerCase()+'[@id="'+s+'"]'),1==r)return e.unshift("/"),e.join("/")}else{for(n=1,a=t.previousSibling;a;a=a.previousSibling)a.tagName==t.tagName&&n++;e.unshift(t.tagName.toLowerCase()+"["+n+"]")}return e.length?"/"+e.join("/"):null};var d=function(t,e){if(e&&0!==e.length||(e=[]),t&&t.length>0)for(var n=0;n<t.length;n++)e.push(t[n]);return e};e.nodelistToArray=d,e.getElements=function(t,e){var n=e||o,a=[];if(n.querySelectorAll)a=d(n.querySelectorAll(t.elementSelector)||[]);else for(var r=document.getElementsByTagName(t.tag),i=t.filter.split("="),s=i.length>0?i[0].trim():"",u=i.length>1?i[1].trim():"",c=0;c<r.length;c++){var l=r[c],p=l.getAttribute(s),f=l.hasAttribute(s);!f||u&&u!==p||a.push(l)}return a};var h=function(){return/aplusDebug=true/.test(location.search)},_=h();e.IS_DEBUG=_,e.fillPropsData=function(t,e,n){n||(n={});try{var a=t.props||[];if(a&&g(a)&&a.length>0)for(var o=0;o<a.length;o++)if(e&&e.getAttribute){var r=a[o],i=e.getAttribute(r);if(void 0!==typeof i&&null!==i&&""!==i){var u=r.toLowerCase().replace(/^data-/,"");aplus.globalConfig&&aplus.globalConfig.isUM?n[u]=i:n[u]=encodeURIComponent(i)}}}catch(t){s().w(t&&t.message)}return n};var m=function(t,e,n){n||(n={});try{var a=t.filter||"",o=a.split("=");if(g(o)&&o[1])n[o[0]]=o[1];else if(o[0]&&e&&e.getAttribute){var r=e.getAttribute(o[0])||"";void 0!==typeof r&&null!==r&&""!==r&&(n[o[0]]=r)}}catch(t){s().w(t&&t.message)}return n};e.fillFilterData=m;var v="data-tracker-params";e.getDataTrackerParams=function(t){var e={};try{var n=m({filter:v},t);n&&n[v]&&(e=JSON.parse(n[v]))}catch(t){}return e},e.fillSpmData=function(t,e,n){n||(n={});var a,o,r;return a=t&&t.spmB?t.spmB:document.body.dataset&&document.body.dataset.pagename,o=t&&t.spmC?t.spmC:e.parentNode&&e.parentNode.dataset&&e.parentNode.dataset.spmc,r=t&&t.spmD?t.spmD:e.dataset&&e.dataset.spmd,e.dataset&&e.dataset.aplusVtPos&&(r+="_"+e.dataset.aplusVtPos),a&&(n.spmB=a),o&&(n.spmC=o),r&&(n.spmD=r),n};var b=function(t){return!!/^POST|GET$/i.test(t)};e.isMethod=b;var y=function(t){var e=!!/^\d+$/.test(t);return!!(e&&parseInt(t)>0)};e.isPkgSize=y,e.filterExpConfigRequestCfg=function(t){var e=f.getDefaultRequestCfg()||{};try{var n=t||{};b(n.method)&&(e.method=n.method),y(n.pkgSize)&&(e.pkgSize=parseInt(n.pkgSize))}catch(t){s().w(t&&t.message)}return e};var A=function(t){var e=t.split("&"),n={};return e.length>0&&c(e,function(t){var e=t.split("=");2===e.length&&(n[e[0]]=p.tryToEncodeURIComponent(e[1]))}),n};e.autoUserFnHandler=function(t,e,n,a){var o={userdata:{},spm:"",scm:""};try{var r=t(e,n,a);r&&("string"==typeof r?o.userdata=A(r):"object"==typeof r&&"object"==typeof r.userdata&&(l(r.userdata,function(t,e){o.userdata[t]=p.tryToEncodeURIComponent(e)}),o.spm=r.spm,o.scm=r.scm))}catch(t){s().w(t)}return o};var E=function(t,e){var n="";if(t&&e){var a=[t.getAttribute(e.filter)],o=e.props||[];if(o)for(var r=0;r<o.length;r++)a.push(t.getAttribute(o[r]));n=a.join("_")}return n},w=function(t){var e=t.getAttribute("data-spm-anchor-id");if(e){var n=e.split(".");return{a:n[0],b:n[1],c:n[2],d:n[3],e:n[4]}}};e.getSpmObj=w,e.getElementHash=function(t,e){var n={};"aplus_webvt"!==t.source&&(n=w(e.ele)||(window.g_SPM?window.g_SPM.getParam(e.ele):{}));var a="",o="x"+e.index;if(n.a&&n.b&&n.c&&n.d){var r=/^i/.test(n.d)?o:n.d;a=n.a+"_"+n.b+"_"+n.c+"_"+r,n.e&&(a+="_"+n.e)}else a=o,aplus.pvid&&(a+=aplus.pvid);e.ignore_attr||(a+=t.logkey+"_",a+=t.elementSelector+"_",a+=E(e.ele,t));var i=o+"_"+u.hash(a);return i},e.filterUnloadAttr=function(t){return t&&(t=t.replace(/(href|style|data-spm-anchor-id)=[\'|\"][\w|\W|\.]+[\'|\"]/,""),t=t.replace(/\s\>/g,">"),t=t.replace(new RegExp(f.DATA_APLUS_AE_KEY+"=[\\'|\\\"]\\w+[\\'|\\\"]"),""),t=t.replace(new RegExp(f.DATA_APLUS_AC_KEY+"=[\\'|\\\"]\\w+[\\'|\\\"]"),"")),t};var S=function(t,e){for(var n,a=0,o=t.length;a<o;){var r=t[a]||{};if(r.hash_value===e.hash_value)return t[a]=e,n=!0,t;a++}return n||t.push(e),t},P=function(t,e,n,o){if(n||(n="ADD"),t&&"object"==typeof e){var r=i.getGoldlogVal(o)||{},s=r._acHashMap||{},u=s[t]||[],c=function(){for(var t=0,n=u.length;t<n;){var a=u[t]||{};if(a.hash_value===e.hash_value)return t;t++}return-1},l=c();"ADD"===n&&l===-1?(u.push(e),a(t,e,o)):"CLEAR"===n&&l>-1?u.splice(l,1):"UPDATE"===n&&(u=S(u,e)),s[t]=u,r._acHashMap=s,i.setGoldlogVal(o,r)}};e.updateExpHashMap=function(t,e,n){P(t,e,n,"_aplus_auto_exp")},e.updateClkHashMap=function(t,e,n){P(t,e,n,"_aplus_ac")};var T=function(){return(new Date).getTime()};e.throttle=function(t,e,n){var a,o,r,i,s=0;n||(n={});var u=function(){s=n.leading===!1?0:T(),a=null,i=t.apply(o,r),a||(o=r=null)},c=function(){var c=T();s||n.leading!==!1||(s=c);var l=e-(c-s);return o=this,r=arguments,l<=0||l>e?(a&&(clearTimeout(a),a=null),s=c,i=t.apply(o,r),a||(o=r=null)):a||n.trailing===!1||(a=setTimeout(u,l)),i};return c.cancel=function(){clearTimeout(a),s=0,a=o=r=null},c},e.checkIsInHashMap=function(t){var e=i.getGoldlogVal(t.aplusKey)||{},n=e.hash_value||{},a=n[t.logkey]||(r.Map?new r.Map:{}),o=a&&a.get?a.get(t.hash_value):a[t.hash_value];if(o>1)return!0;for(var s=e._acHashMap||{},u=s[t.logkey]||[],c=u.length,l=0;l<c;l++)if(u[l].hash_value===t.hash_value)return!0;return!1},e.setRecordSuccess=function(t,e){try{var n=t?t.element:{},a=t.hash_value||"";n&&n.setAttribute&&n.setAttribute(e,a)}catch(t){}}},function(t,e){"use strict";e.hash=function(t,e){var n,a,o=1315423911,r=e||o;for(n=t.length-1;n>=0;n--)a=t.charCodeAt(n),r^=(r<<5)+a+(r>>2);var i=(2147483647&r).toString(16);return i}},function(t,e){"use strict";e.tryToEncodeURIComponent=function(t){var e=t||"";if(t)try{e=encodeURIComponent(decodeURIComponent(t))}catch(t){}return e}},function(t,e,n){"use strict";function a(t){return aplus&&aplus.getMetaInfo?aplus.getMetaInfo(t):r.getMetaCnt(t)}var o=n(45),r=n(22),i=n(20);e.DATA_APLUS_AE_KEY="data-aplus-ae",e.DATA_APLUS_AC_KEY="data-aplus-clk",e.DATA_APLUS_SPM_ANCHOR_ID_KEY="data-spm-anchor-id",e.DATA_APLUS_VT_ITEM_INDEX_KEY="data-aplus-vt-pos",e.LOOP_TIME=1e3,e.getDefaultRequestCfg=function(){return{method:"POST",pkgSize:10}};var s=function(t){var e=t;try{var n=a("aplus-auto-exp-visible");n&&(e=parseFloat(n)),e<=0&&(e=t)}catch(n){e=t}finally{return e}};e.AUTO_AT_VIEW_RATE=s(.3);var u=function(t){var e=t;try{var n=a("aplus-auto-exp-duration"),o=parseInt(n);o+""!="NaN"&&(e=o)}catch(t){}finally{return e}};e.EXP_DURATION=u(300);var c=function(t,e){var n,r=[],s=[];try{n=e||a(t);var u=[];if(n&&"string"==typeof n)try{u=JSON.parse(n)}catch(t){u=JSON.parse(n.replace(/'/g,'"'))}else"object"==typeof n&&n.constructor===Array&&(u=n);if(u&&u.constructor===Array)for(var c=0;c<u.length;c++){var l=u[c]||{},p=l.logkey||"",f=l.tag?l.tag:"",g=l.filter,d=l.cssSelector,h=d||f&&g;if(!p||!h)throw new Error("meta "+t+" config error, "+JSON.stringify(l));g="string"==typeof g?g.split("="):[];var _=f;if(g.length>=2?_+="["+g.shift()+'="'+decodeURIComponent(g.join(""))+'"]':1==g.length&&g[0]&&(_+="["+decodeURIComponent(g[0])+"]"),d&&(_+=d),l.elementSelector=_,o.indexof(s,_)>-1)throw new Error("meta "+t+" config error, tag_filter_cssSelector "+_+" repeated");s.push(_),r.push(l)}}catch(t){i().w(t)}finally{return r}};e.getAutoExpConfig=function(t){return c("aplus-auto-exp",t)||[]},e.getAutoExpUserFn=function(){var t=a("aplus-auto-exp-userfn");if(t){var e=window[t]||t;if("function"==typeof e)return e}return null},e.isThrottleWatchDom=function(){var t=!1;try{t="throttle"===a("aplus-auto-exp-watchdom")}catch(t){}return t},e.getAutoClkConfig=function(t){return c("aplus-auto-clk",t)||[]},e.getAutoClkUserFn=function(){var t=a("aplus-auto-clk-userfn");if(t){var e=window[t]||t;if("function"==typeof e)return e}return null}},function(t,e,n){"use strict";var a=n(10),o=n(43),r=n(20),i=n(48),s=n(50),u=n(53),c=window,l=document,p=a.extend({eachElements:function(t,e){for(var n=e.logkey||"",a=0;a<t.length;a++){var o=t[a];e._pos_id&&!o.getAttribute("data-aplus-pos-id")&&o.setAttribute("data-aplus-pos-id",e._pos_id);var r=o.getAttribute(u.DATA_APLUS_AC_KEY);if(!(r&&r.indexOf("_")>0)){isNaN(parseInt(r))&&(r=aplus._aplus_ac.elementSelectorSizeMap[e.elementSelector]++,o.setAttribute(u.DATA_APLUS_AC_KEY,r)),!aplus.globalConfig.isAli&&e.spmB&&e.spmC&&e.spmD&&(o.setAttribute(u.DATA_APLUS_SPM_ANCHOR_ID_KEY,[e.spmB,e.spmC,e.spmD+"_"+(a+1)].join(".")),o.setAttribute(u.DATA_APLUS_VT_ITEM_INDEX_KEY,""+(a+1)));var i=s.getElementHash(e,{ignore_attr:!1,index:r,ele:o});if(!s.checkIsInHashMap({logkey:n,hash_value:i,aplusKey:"_aplus_ac"})){var c={clkConfig:e,hash_value:i,element:o,status:0,elementSelector:e.elementSelector};s.updateClkHashMap(n,c,"ADD"),s.setRecordSuccess(c,u.DATA_APLUS_AC_KEY)}}}},handler_dom_change:function(){for(var t=this,e=t.autoClkConfig||[],n=0;n<e.length;n++){var a=e[n];aplus._aplus_ac.elementSelectorSizeMap[a.elementSelector]||(aplus._aplus_ac.elementSelectorSizeMap[a.elementSelector]=1);var o=s.getElements(a,l);t.eachElements(o,a)}},throttle_handler_dom_change:s.throttle(function(){this.handler_dom_change()},200),init_observer:function(t,e){var n=new t(function(){o.wrap(function(){var t=aplus._aplus_ac||{};++t.observer_times,e()},"init_observer_init_elements")}),a={attributes:!0,childList:!0,characterData:!0,subtree:!0};n.observe(l.body,a),s.IS_DEBUG&&r().w("aplus_ac init MutationObserver success!"),this._observer=n},init_watch_dom:function(){var t=this,e=aplus._aplus_ac||{};t._loop_observer=setTimeout(function(){"blur"!==e.current_win_status?(s.IS_DEBUG&&r().w("watch_dom in ac LOOP_TIME is "+u.LOOP_TIME+"ms total: "+ ++e.watch_times),t.throttle_handler_dom_change(),t.init_watch_dom()):e.watch_dom_running=!1},u.LOOP_TIME)},onFocusHandler:function(){var t=this,e=aplus._aplus_ac||{};e.current_win_status="focus",e.watch_dom_running||t.init_watch_dom()},onBlurHandler:function(){var t=aplus._aplus_ac||{};t.current_win_status="blur"},onVisibilityChange:function(){var t=this;"visible"===l.visibilityState?t.onFocusHandler():"hidden"===l.visibilityState&&t.onBlurHandler()},addAllListener:function(){var t=this,e=aplus._aplus_ac||{};e.watch_times=0,e.watch_dom_running=!0,t.init_watch_dom(),c.WindVane&&l.addEventListener&&(i.on(l,"WV.Event.APP.Active",t.onFocusHandler,!1),i.on(l,"WV.Event.APP.Background",t.onBlurHandler,!1)),"hidden"in l?i.on(c,"visibilitychange",t.onVisibilityChange):(i.on(c,"blur",t.onBlurHandler),i.on(c,"focus",t.onFocusHandler))},removeAllListener:function(){var t=this;c.WindVane&&l.removeEventListener&&(i.un(l,"WV.Event.APP.Active",t.onFocusHandler,!1),i.un(l,"WV.Event.APP.Background",t.onBlurHandler,!1)),"hidden"in l?i.un(c,"visibilitychange",t.onVisibilityChange):(i.un(c,"blur",t.onBlurHandler),i.un(c,"focus",t.onFocusHandler))},init:function(){var t=this,e=aplus._aplus_ac||{};t.throttle_handler_dom_change();var n=c.MutationObserver||c.WebKitMutationObserver||c.MozMutationObserver;n?(e.observer_times=0,t.init_observer(n,function(){t.throttle_handler_dom_change()})):t.addAllListener()},clearDom:function(t,e){var n=this.autoClkConfig||[];if(e&&"appendMetaInfo"!==e.from)for(var a=0;a<n.length;a++)try{for(var o=n[a].elementSelector,r=l.querySelectorAll(o),i=0;i<r.length;i++)r[i].setAttribute(u.DATA_APLUS_AC_KEY,"")}catch(t){}this.autoClkConfig=t&&t.autoClkConfig},clear:function(t){if(!t||"appendMetaInfo"!==t.from){var e=aplus._aplus_ac||{};e._acHashMap&&(e._acHashMap={}),e.hash_value&&(e.hash_value={}),aplus._aplus_ac=e,this._loop_observer&&(clearTimeout(this._loop_observer),this._loop_observer=null),this._observer?this._observer.disconnect():this.removeAllListener()}},reset:function(t,e){this.clearDom(t,e),this.init()}});t.exports=p},function(t,e,n){"use strict";t.exports=function(){return{run:function(){n(56)()}}}},function(t,e,n){"use strict";function a(){r=n(57),i=n(window.IntersectionObserver?59:61),s=n(62),u=n(53)}function o(t){var e,n=window.aplus||(window.aplus={}),a=!1,o=!1,f=function(t){o||(o=t,a||(c.wrap(function(){e=u.getAutoExpConfig()||[],p().w("aplus-auto-exp metaValue init: "+JSON.stringify(e));var t;e&&e.length>0&&(s.watch_data_change(),i.watch_exposure_change(e),t=r.create({isThrottleWatch:u.isThrottleWatchDom(),autoExpConfig:e}),t.init({type:"init"})),n.aplus_pubsub.subscribe("setMetaInfo",function(n,a,o){if("aplus-auto-exp"===n){p().w("aplus-auto-exp metaVaue change: "+JSON.stringify(a));var c=u.getAutoExpConfig(a);if(JSON.stringify(c)===JSON.stringify(e))return;if(e=c,s.clear(),o||(o={from:"setMetaInfo"}),i.clear(e,o),t&&t.clear(o),a&&e&&e.length>0){s.watch_data_change(),i.watch_exposure_change(e);var l={isThrottleWatch:u.isThrottleWatchDom(),autoExpConfig:e};t?t.reset(l,o):(t=r.create(l),t.init({type:"init"}))}}})},"do_init"),a=!0))};setTimeout(function(){a||p().w("aplus_auto_exp_init failed! please check whether aplusJs is loaded correctly!")},5e3);var g=n._$||{},d=window.g_SPM||{};"complete"===g.status&&d.spm&&f();var h=window.aplus_queue||(window.aplus_queue=[]);h.push({action:l.SUBSCRIBE,arguments:["aplusReady",function(t){"complete"===t&&f("aplusReady")}]}),"function"==typeof t&&t()}var r,i,s,u,c=n(43),l=n(3),p=n(20);t.exports=function(){var t=window.aplus||window.goldlog||(window.aplus={});t._aplus_auto_exp||(t._aplus_auto_exp={tags:{},status:"init",exp_times:0,elementSelectorSizeMap:{}},a(),o(function(){t._aplus_auto_exp.status="complete"}))}},function(t,e,n){"use strict";var a=n(10),o=n(43),r=n(20),i=n(48),s=n(58),u=n(50),c=n(53),l=window,p=document,f=a.extend({eachElements:function(t,e){for(var n=e.logkey||"",a=0;a<t.length;a++){var o=t[a],r=o.getAttribute(c.DATA_APLUS_AE_KEY);if(!(r&&r.indexOf("_")>0)){isNaN(parseInt(r))&&(r=aplus._aplus_auto_exp.elementSelectorSizeMap[e.elementSelector]++,o.setAttribute(c.DATA_APLUS_AE_KEY,r)),!aplus.globalConfig.isAli&&e.spmB&&e.spmC&&e.spmD&&(o.setAttribute(c.DATA_APLUS_SPM_ANCHOR_ID_KEY,[e.spmB,e.spmC,e.spmD+"_"+(a+1)].join(".")),o.setAttribute(c.DATA_APLUS_VT_ITEM_INDEX_KEY,""+(a+1)));var i=u.getElementHash(e,{ignore_attr:!1,index:r,ele:o}),l=s.checkIsRecord(o,i,c.DATA_APLUS_AE_KEY),p=u.checkIsInHashMap({logkey:n,hash_value:i,aplusKey:"_aplus_auto_exp"});if(!l&&!p){var f={expConfig:e,hash_value:i,element:o,status:0,elementSelector:e.elementSelector};u.updateExpHashMap(n,f,"ADD")}}}},handler_dom_change:function(t,e){try{for(var n=this.autoExpConfig||[],a=0;a<n.length;a++){var o=n[a],i=u.getElements(o,p);aplus._aplus_auto_exp.elementSelectorSizeMap[o.elementSelector]||(aplus._aplus_auto_exp.elementSelectorSizeMap[o.elementSelector]=1),this.eachElements(i,o)}aplus.aplus_pubsub.publish("APLUS_AE_DOM_CHANGE",e||{})}catch(t){r().w(t&&t.message)}},throttle_handler_dom_change:u.throttle(function(t,e){this.handler_dom_change(t,e)},200),init_watch_dom:function(){var t=this,e=aplus._aplus_auto_exp||{};t._loop_observer=setTimeout(function(){"blur"!==e.current_win_status?(r().w("watch_dom in ae LOOP_TIME is "+c.LOOP_TIME+"ms total: "+ ++e.watch_times),
t.handler_dom_change(null,{type:"polling"}),t.init_watch_dom()):e.watch_dom_running=!1},c.LOOP_TIME)},onFocusHandler:function(){var t=this,e=aplus._aplus_auto_exp||{};e.current_win_status="focus",e.watch_dom_running||t.init_watch_dom()},onBlurHandler:function(){var t=aplus._aplus_auto_exp||{};t.current_win_status="blur"},onVisibilityChange:function(){var t=this;"visible"===p.visibilityState?t.onFocusHandler():"hidden"===p.visibilityState&&t.onBlurHandler()},addAllListener:function(){var t=this,e=aplus._aplus_auto_exp||{};e.watch_times=0,e.watch_dom_running=!0,t.init_watch_dom(),l.WindVane&&p.addEventListener&&(i.on(p,"WV.Event.APP.Active",t.onFocusHandler,!1),i.on(p,"WV.Event.APP.Background",t.onBlurHandler,!1)),"hidden"in p?i.on(l,"visibilitychange",t.onVisibilityChange):(i.on(l,"blur",t.onBlurHandler),i.on(l,"focus",t.onFocusHandler))},removeAllListener:function(){var t=this;l.WindVane&&p.removeEventListener&&(i.un(p,"WV.Event.APP.Active",t.onFocusHandler,!1),i.un(p,"WV.Event.APP.Background",t.onBlurHandler,!1)),"hidden"in p?i.un(l,"visibilitychange",t.onVisibilityChange):(i.un(l,"blur",t.onBlurHandler),i.un(l,"focus",t.onFocusHandler))},init_observer:function(t,e){var n=["IFRAME","BODY","OBJECT","SCRIPT","NOSCRIPT","LINK","STYLE","#comment"],a=["class","style"],i=function(t){return"characterData"===t.type?[t.target]:"attributes"===t.type&&a.indexOf(t.attributeName)>-1?[t.target]:"childList"!==t.type?[]:void 0},s=function(t,a){if(t&&t.length>0)for(var r=0;r<t.length;r++){var i=t[r]||{},s=i.nodeName,u=aplus._aplus_auto_exp.tags||{};u[s]||(u[s]=0),u[s]++,aplus._aplus_auto_exp.tags=u,n.indexOf(s)===-1&&o.wrap(function(){var t=aplus._aplus_auto_exp||{};++t.observer_times;var n=a.attributeName;e(i,{type:a.type+(n?"_"+n:"")})},"init_observer_init_elements")}};this._observer||(this._observer=new t(function(t){if(t&&t.length>0)for(var e=0;e<t.length;e++){var n=t[e]||{},a=u.nodelistToArray(n.addedNodes||[]);a=u.nodelistToArray(i(n),a),s(a,n)}}));var c={attributes:!0,childList:!0,characterData:!0,subtree:!0};this._observer.observe(p.body,c),u.IS_DEBUG&&r().w("aplus_auto_exp init MutationObserver success!")},init:function(t){var e=this,n=aplus._aplus_auto_exp||{};t&&"reset"!==t.type&&!n.hash_value&&(n.hash_value={}),e.handler_dom_change(null,{type:"aplus_init"});var a=l.MutationObserver||l.WebKitMutationObserver||l.MozMutationObserver;a?(n.observer_times=0,e.init_observer(a,function(t,n){var a=t&&t.parentElement?t.parentElement:t;e.throttle_handler_dom_change(a,n)})):e.addAllListener()},clear:function(t){if(!t||"appendMetaInfo"!==t.from){var e=aplus._aplus_auto_exp||{};e._acHashMap&&(e._acHashMap={}),e.hash_value&&(e.hash_value={}),aplus._aplus_auto_exp=e,this._loop_observer&&(clearTimeout(this._loop_observer),this._loop_observer=null),this._observer?(this._observer.takeRecords(),this._observer.disconnect()):this.removeAllListener()}},clearDom:function(t,e){var n=this.autoExpConfig||[];if(e&&"appendMetaInfo"!==e.from)for(var a=0;a<n.length;a++)try{for(var o=n[a].elementSelector,r=p.querySelectorAll(o),i=0;i<r.length;i++)r[i].setAttribute(c.DATA_APLUS_AE_KEY,"")}catch(t){}this.autoExpConfig=t&&t.autoExpConfig?t.autoExpConfig:[]},reset:function(t,e){this.clearDom(t,e),this.init({type:"reset"})}});t.exports=f},function(t,e){"use strict";var n=document,a=function(t,e){return e.x>=t.pLeftTop[0]&&e.x<=t.pRightBottom[0]&&e.y>=t.pLeftTop[1]&&e.y<=t.pRightBottom[1]},o=function(t,e){var n=0,o=a(t,e),r=a(t,{x:e.x+e.width,y:e.y}),i=a(t,{x:e.x,y:e.y+e.height}),s=a(t,{x:e.x+e.width,y:e.y+e.height}),u=function(){var t=0;return o&&s&&(t=e.size/e.size),t},c=function(){var n=0,a=0;return o&&r&&!i&&!s?(n=e.width,a=t.pLeftBottom[1]-e.y):!o&&r&&!i&&s?(n=t.pLeftTop[0]-e.x,a=e.y):!o&&!r&&i&&s?(n=e.width,a=e.height-Math.abs(t.pLeftTop[1]-e.y)):o&&!r&&i&&!s&&(n=t.pRightTop[0]-e.x,a=e.height),e.size>0?Math.abs(n*a)/e.size:0},l=function(){var n=0,a=0;return!o||r||i||s?o||!r||i||s?o||r||!i||s?o||r||i||!s||(n=t.pLeftTop[0]-e.x,a=t.pLeftTop[1]-e.y):(n=t.pRightTop[0]-e.x,a=t.pRightTop[1]-e.y):(n=t.pLeftBottom[0]-e.x,a=t.pLeftBottom[1]-e.y):(n=t.pRightBottom[0]-e.x,a=t.pRightBottom[1]-e.y),e.size>0?Math.abs(n*a)/e.size:0};return n=u(),n>0?n:(n=c(),n>0?n:(n=l(),n>0?n:n))};e.wrapViewabilityRate=function(t,e,n){var a=0;if(t)for(var r=0;r<t.length;r++)if(a=o(t[r],e),a<n)return!1;return a};var r=function(t){return"number"==typeof t&&NaN!==t},i=function(t){var e={};return t&&("function"==typeof t.getBoundingClientRect&&(e=t.getBoundingClientRect()||{}),r(e.x)||r(e.left)&&(e.x=e.left),r(e.y)||r(e.top)&&(e.y=e.top),r(e.width)||(e.width=t.offsetWidth),r(e.height)||(e.height=t.offsetHeight)),e};e.getElementPosition=i,e.getWinPositions=function(t){var e=[];if(t&&"function"==typeof document.querySelector){var a=document.querySelector(t);if(a){var o=i(a)||{};r(o.x)&&r(o.y)&&r(o.width)&&r(o.height)&&e.push({pLeftTop:[o.x,o.y],pRightTop:[o.x+o.width,o.y],pLeftBottom:[o.x,o.y+o.height],pRightBottom:[o.x+o.width,o.y+o.height]})}}var s=n.documentElement,u=n.body,c=s.clientWidth||u.offsetWidth||0,l=s.clientHeight||u.offsetHeight||0;return e.push({pLeftTop:[0,0],pRightTop:[c,0],pLeftBottom:[0,l],pRightBottom:[c,l]}),e},e.checkIsRecord=function(t,e,n){var a;try{if(t&&t.getAttribute){var o=t.getAttribute(n)||"";a=e?o===e:!!o}}catch(t){}return a},e.getViewabilityRateInWindow=function(t,e,n){var a=0;if(t)for(var o=0;o<t.length;o++)if(a=e/t[o].size,a>=n)return a;return a}},function(t,e,n){"use strict";function a(t,e,n){var a=p.getWinPositions(),o=0,r=u.getGoldlogVal("_aplus_auto_exp")||{},i=r._acHashMap||{};for(var c in i)for(var l=i[c]||[],_=0;_<l.length;_++){var m=l[_]||{};m.eventType="IObserver";var v=!!n||m.element===e.target;if(0===m.status&&m.expConfig&&v){var b=e.boundingClientRect||{};if(b.width||b.height||(b=e.target.getBoundingClientRect()||{}),b.width&&b.height){m=s.assign(m,b),m.x=b.x||b.left,m.y=b.y||b.top,m.width=b.width,m.height=b.height,m.size=b.width*b.height;var y=p.checkIsRecord(m.element,m.hash_value,"_aplus_auto_exp"),A=m.width*m.height*e.intersectionRatio,E=p.getViewabilityRateInWindow(a,A,h);if(!y){var w=e.intersectionRatio>=d;if(w||E>=h){m.exposureTime=t,m.status=1;var S=f.getAutoExpUserFn();S&&(m.userParams=g.autoUserFnHandler(S,m.element,m.elementSelector)),m.viewabilityRate=w?e.intersectionRatio:E,m.viewability=w?"intersection":"fillwindow",f.EXP_DURATION||(m.status=2),g.updateExpHashMap(c,m,"UPDATE"),++o}else E&&g.updateExpHashMap(c,s.assign(l[_],{lastEventType:m.eventType}),"UPDATE")}}}}return o}function o(t,e){var n="APLUS_AE_EXPOSURE_CHANGE",o=t&&t.type?t.type:"IObserver",r=(new Date).getTime(),i=0;i=e?l.filterStartExposureSize(r,t):a(r,t),i>0&&(f.EXP_DURATION?setTimeout(function(){i=l.filterEndExposureSize(r,o),i>0&&aplus.aplus_pubsub.publish(n,{size:i,eventType:o})},f.EXP_DURATION):aplus.aplus_pubsub.publish(n,{size:i,eventType:o}))}function r(t){var e={root:null,rootMargin:"0px",threshold:d};return new m(function(t){c(t,function(t){t.intersectionRatio>0&&o(t)})},s.assign(e,t))}function i(t){if(m){v.io_base||(v.io_base=r());var e=u.getGoldlogVal("_aplus_auto_exp")||{},n=e._acHashMap||{};for(var a in n)for(var o=n[a]||[],i=0;i<o.length;i++){var s=o[i]||{};if(!s.inObserver){var c,l="io_v_"+encodeURIComponent(s.positionSelector);s.positionSelector&&!v[l]&&(c=r({root:document.querySelector(s.positionSelector),expConfig:t}),v[l]=c),c?c.observe(s.element):v.io_base.observe(s.element),s.inObserver=!0}}}return!0}var s=n(28),u=n(2),c=n(18),l=n(60),p=n(58),f=n(53),g=n(50),d=f.AUTO_AT_VIEW_RATE,h=f.AUTO_AT_VIEW_RATE_IN_WINDOW,_=window,m=_.IntersectionObserver,v={};aplus._aplus_auto_exp.iobserverMap=v,e.watch_exposure_change=function(t){aplus.aplus_pubsub.subscribe("APLUS_AE_DOM_CHANGE",function(){i(t)}),i(t)},e.clear=function(t,e){if(e&&"appendMetaInfo"!==e.from)for(var n in v){var a=v[n];a.disconnect()}}},function(t,e,n){"use strict";var a,o=n(2),r=n(58),i=n(53),s=n(50),u=i.AUTO_AT_VIEW_RATE,c=i.AUTO_AT_VIEW_RATE_IN_WINDOW,l=function(t){for(var e;t&&"HTML"!==t.tagName;){e=t.style.display;{if("none"===e)break;t=t.parentNode}}return"none"===e};e.filterStartExposureSize=function(t,e){var n=0,a=r.getWinPositions(),p=o.getGoldlogVal("_aplus_auto_exp")||{},f=p._acHashMap||{};for(var g in f)for(var d=f[g]||[],h=0;h<d.length;h++){var _=d[h]||{};if(0===_.status&&_.expConfig&&!l(_.element)){var m=r.getElementPosition(_.element);if(m.width&&m.height){_.x=m.x,_.y=m.y,_.eventType=e,_.width=m.width,_.height=m.height,_.size=m.width*m.height;var v;_.expConfig.positionSelector&&(v=r.getWinPositions(_.expConfig.positionSelector));var b=r.wrapViewabilityRate(v||a,_,u),y=b>=u,A=b;v&&(A=r.wrapViewabilityRate(a,_,u));var E=_.width*_.height*A,w=r.getViewabilityRateInWindow(a,E,c),S=r.checkIsRecord(_.element,_.hash_value,"_aplus_auto_exp");if((y||w>=c)&&!S){_.exposureTime=t,_.status=1;var P=i.getAutoExpUserFn();P&&(_.userParams=s.autoUserFnHandler(P,_.element,_.elementSelector)),i.EXP_DURATION||(_.viewabilityRate=y?b:w,_.viewability=y?"intersection":"fillwindow",_.status=2),s.updateExpHashMap(g,_,"UPDATE"),++n}}}}return n},e.filterEndExposureSize=function(t,e){var n=0;a||(a=r.getWinPositions());var i=o.getGoldlogVal("_aplus_auto_exp")||{},c=i._acHashMap||{};for(var l in c)for(var p=c[l]||[],f=0;f<p.length;f++){var g=p[f]||{};if(1===g.status&&g.exposureTime===t&&g.expConfig){g.eventType=e,g.expConfig.positionSelector&&(a=r.getWinPositions(g.expConfig.positionSelector));var d=r.wrapViewabilityRate(a,g,u),h=r.checkIsRecord(g.element,g.hash_value,"_aplus_auto_exp");d&&!h?(g.viewabilityRate=d,g.status=2,s.updateExpHashMap(l,g,"UPDATE"),++n):(g.status=0,g.exposureTime="",s.updateExpHashMap(l,g,"UPDATE"))}}return n}},function(t,e,n){"use strict";var a=n(48),o=n(60),r=n(50),i=n(53),s=function(t){var e="APLUS_AE_EXPOSURE_CHANGE",n=t&&t.type?t.type:"init",a=(new Date).getTime(),r=o.filterStartExposureSize(a,n);r>0&&(i.EXP_DURATION?setTimeout(function(){r=o.filterEndExposureSize(a,n),r>0&&aplus.aplus_pubsub.publish(e,{size:r,eventType:n})},i.EXP_DURATION):aplus.aplus_pubsub.publish(e,{size:r,eventType:n}))},u=r.throttle(function(t){s(t)},100),c={},l=function(t,e){if(t&&t.forEach&&Object.keys&&document.querySelector){t.forEach(function(t){t.positionSelector&&document.querySelector(t.positionSelector)&&(c[t.positionSelector]=!0)});var n=Object.keys(c);n.forEach(function(t){a[e]&&a[e](document.querySelector(t),"scroll",function(t){u(t)})})}};e.watch_exposure_change=function(t){aplus.aplus_pubsub.subscribe("APLUS_AE_DOM_CHANGE",s),a.on(window,"touchmove",u),a.on(window,"scroll",u),a.on(window,"resize",s),l(t,"on")},e.clear=function(t){a.un(window,"touchmove",u),a.un(window,"scroll",u),a.un(window,"resize",s),l(t,"un")}},function(t,e,n){"use strict";function a(t,e,n){var a="0";if(n){if("spmc"===t){var o=n.split(".");a=o[2]?o[2]:o[3],/^(\i|\d)[0-9]+$/.test(a)&&(a="0"),n=[o[0],o[1],a].join(".")}}else{n="";var r=window.g_SPM||{};if("function"==typeof r.getParam){var i=r.getParam(e);"spmc"===t?(a=e.getAttribute("data-spm")||"0",n=[i.a,i.b,a].join(".")):n=[i.a,i.b,i.c,i.d].join(".")}}return n}function o(){i||(i=!0,aplus.on(window,"beforeunload",function(){clearInterval(r);for(var t=0;t<m.length;t++)aplus_queue.push(m[t])}))}var r,i,s=n(43),u=n(28),c=n(2),l=n(20),p=n(47),f=n(50),g=n(53),d=function(){var t=aplus.aplusDebug,e={},n=g.getDefaultRequestCfg(),o=c.getGoldlogVal("_aplus_auto_exp")||{},r=o._acHashMap||{};return p(r,function(r,i){for(var s=i||[],c=0,p=s.length;c<p;c++){var g=s[c]||{};if(2===g.status){g.status=3,f.updateExpHashMap(r,g,"UPDATE"),o.exp_times++;var d,h=g.expConfig||{},_=goldlog.spm_ab?goldlog.spm_ab.join("."):"0.0.0.0",m=a(h.eltype,g.element)||_,v="";try{var b=new Number(g.viewabilityRate);d=b.toFixed(2)}catch(t){d=g.viewabilityRate}var y={_w:g.width,_h:g.height,_x:g.x,_y:g.y,_rate:d,_viewability:g.viewability};"object"==typeof g.userParams&&("object"==typeof g.userParams.userdata&&(y=u.assign(y,g.userParams.userdata)),g.userParams.spm&&(m=a(h.eltype,"",g.userParams.spm)),g.userParams.scm&&(v=g.userParams.scm)),(f.isMethod(h.method)||f.isPkgSize(h.pkgSize))&&(n=f.filterExpConfigRequestCfg(h));var A={scm:v,spm:m,aplusContentId:""},E=f.fillPropsData(h,g.element,y);if(E=f.fillFilterData(h,g.element,y),E=u.assign(E,f.getDataTrackerParams(g.element)),aplus.globalConfig.isAli)A.exargs=E;else{var w=f.fillSpmData(h,g.element,y);E=u.assign(E,w),A=E}e[r]||(e[r]=[]),e[r].push(A),t&&l().w("logkey = "+r+", params = "+decodeURIComponent(JSON.stringify(A)))}}}),{logkeyContainer:e,request_cfg:n}},h=function(t){for(var e=[],n=0,a=t.length;n<a;n++){var o=t[n]||{},r={};p(o,function(t,e){"element"!==t&&(r[t]=e)});var i=u.cloneDeep(r);i.element=o.element,e.push(i)}return e},_=function(t){var e=c.getGoldlogVal("_aplus_auto_exp")||{},n=e._acHashMap||{},a=[];p(n,function(e,n){for(var o=h(n)||[],r=0,i=o.length;r<i;r++){var s=o[r]||{},u=n[r]||{};if(3===s.status)try{f.setRecordSuccess(u,g.DATA_APLUS_AE_KEY),aplus.aplus_pubsub.publish("APLUS_ELEMENT_EXPOSURE",{logkey:e,v_origin:u,options:t}),a.push(u)}catch(t){l().w(t&&t.message)}}for(;a.length>0;)f.updateExpHashMap(e,a.pop(),"CLEAR")})},m=[],v=function(){r=setInterval(function(){m.length>0?aplus_queue.push(m.pop()):(clearInterval(r),r=null)},200)},b=function(t,e,n){var a=t.logkeyContainer||[],o=t.request_cfg||{};s.wrap(function(){p(a,function(t,a){if(a&&a.length>0){for(var r=0;r<a.length;){var i=[],s=JSON.stringify(a.slice(r,r+o.pkgSize));i.push("expdata="+s),i.push("_is_auto_exp=1"),i.push("_eventType="+e.eventType),i.push("_method="+o.method),i.push("_pkgSize="+o.pkgSize);var u=o.method||"POST";m.push({action:"aplus.record",arguments:[t,"EXP",i.join("&"),u]}),r+=o.pkgSize}n(e)}})},"recordAplusAtForAli")},y=function(t,e,n){var a=t.logkeyContainer||[],o=t.request_cfg||{};s.wrap(function(){p(a,function(t,a){if(a&&a.length>0){for(var r=0;r<a.length;){var i={_is_auto_exp:1,_eventType:e.eventType,_method:o.method,is_auto:1},s=a[r];for(var u in s)i[u]=s[u];var c=o.method||"POST";aplus_queue.push({action:"aplus.record",arguments:[t,"EXP",i,c]}),r+=1}n(e)}})},"recordAplusAtForAliyun")},A=function(t){if(t.size>0){r||v();var e=d()||{};aplus.globalConfig.isAli?b(e,t,_):y(e,t,_)}};e.watch_data_change=function(){aplus.aplus_pubsub.subscribe("APLUS_AE_EXPOSURE_CHANGE",A),o()},e.clear=function(){aplus.aplus_pubsub.unsubscribe("APLUS_AE_EXPOSURE_CHANGE",A)}},function(t,e,n){"use strict";var a=n(64),o=n(3),r=n(25).nameStorage,i=n(37);t.exports=function(){return{recordValInWindowName:function(){var t,e,n=o.HTTPS==location.protocol,a=aplus.globalConfig.NAMESTORAGE_KEYS||{},s=parent!==self;if(!s&&n){var u=location.href,c=n&&(u.indexOf("login.taobao.com")>=0||u.indexOf("login.tmall.com")>=0),l=i.getRefer(a);c&&l?(t=l,e=r.getItem(a.REFERRER_PV_ID)):(t=u,e=aplus.pvid),r.setItem(a.REFERRER,t),r.setItem(a.REFERRER_PV_ID,e)}},run:function(){var t=this;a.on(window,"beforeunload",function(){t.recordValInWindowName()})}}}},function(t,e,n){"use strict";function a(t,e,n){var a=aplus._$||{},o=a.meta_info||{},r=o.aplus_ctap||{},i=o["aplus-touch"];if(r&&"function"==typeof r.on)r.on(t,e);else{var s="ontouchend"in document.createElement("div");!s||"tap"!==i&&"tapSpm"!==n&&"tap"!==n?u(t,s?"touchstart":"mousedown",e):l.on(t,e)}}function o(t){try{document.documentElement.doScroll("left")}catch(e){return void setTimeout(function(){o(t)},1)}t()}function r(t){var e=0,n=function(){0===e&&t(),e++};"complete"===document.readyState&&n();var a;if(document.addEventListener)a=function(){document.removeEventListener("DOMContentLoaded",a,!1),n()},document.addEventListener("DOMContentLoaded",a,!1),window.addEventListener("load",n,!1);else if(document.attachEvent){a=function(){"complete"===document.readyState&&(document.detachEvent("onreadystatechange",a),n())},document.attachEvent("onreadystatechange",a),window.attachEvent("onload",n);var r=!1;try{r=null===window.frameElement}catch(t){}document.documentElement.doScroll&&r&&o(n)}}function i(t){"complete"===document.readyState?t():u(window,"load",t)}function s(t){var e=history[t];return function(){var n;try{n=new Event(t),n.arguments=arguments}catch(e){n=document.createEvent("Event"),n.initEvent(t,!0,!0)}window.dispatchEvent(n);var a=e.apply(this,arguments);return a}}function u(){var t=window,e=arguments;if(2===e.length)"DOMReady"===e[0]&&r(e[1]),"onload"===e[0]&&i(e[1]);else if(3===e.length){var n=e[0],o=e[1],u=e[2];if("tap"===o||"tapSpm"===o)a(n,u,o);else{["pushState","replaceState"].indexOf(o)>-1&&(history[o]=s(o));var l=document.attachEvent?"attachEvent":"addEventListener",p=!!document.attachEvent;n[l]((p?"on":"")+o,function(e){e=e||t.event;var n=e.target||e.srcElement;"function"==typeof u&&u(e,n)},!!c(o)&&{passive:!0})}}}var c=n(65),l=n(49);e.DOMReady=r,e.onload=i,e.on=u},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,n){"use strict";t.exports=function(){return{run:function(){var t=n(67),e=t.create({WS:null,format:"ALI"});e.run(this.options)}}}},function(t,e,n){"use strict";var a=n(10),o=n(68),r=n(21),i=n(3),s=n(2),u=s.getGlobalValue("aplus");t.exports=a.extend({subscribeLogs:function(t,e){var n=this;r.pushIntoGoldlogQueue(i.SUBSCRIBE,[t,function(t){t.status===i.COMPLETE&&n._canSendToGroup()&&e(t)}])},getLogicSymbol:function(){return"ALI"===this.format?"&":"||"},watchLOG:function(){var t=this,e=function(t,e){var n,a=o.getHttpBasicParams(t.what_to_send.logdata),r=t.where_to_send.method,i=u.getMetaInfo("aplus-first-tracking"),s=r;"POST"===r&&navigator&&navigator.sendBeacon?(s="POST",n="pv"===e?a.objStr:JSON.stringify(a.obj)):(s="GET",n=a.objStr),i&&"pv"===e&&u.send(t.where_to_send.url,a.objStr.replace(/a21dvn\.b28762401\.0\.0/,"a1z1d1.26790227.0.0"),"GET"),u.send(t.where_to_send.url,n,s)},n=navigator?navigator.userAgent:"";/WindVane/.test(n)||/UT4Aplus/.test(n)||/AtmAnalytics/.test(n)||/A2U\/x/.test(n)||(t.subscribeLogs("mw_change_pv",function(t){e(t,"pv")}),t.subscribeLogs("mw_change_hjlj",function(t){e(t,"aplus")}))},_canSendToGroup:function(){var t=u.getMetaInfo(i.APLUS_LOG_PIPE);return""===t||/ALIGROUP/.test(t)},run:function(){this.watchLOG()}})},function(t,e,n){"use strict";function a(t,e){var n=t.client||{},a=n.screenWidth||"",o=n.screenHeight||"",r=a+e+o;return a&&o?r:"-"}function o(t,e){return d(e,function(e){delete t[e]}),t}function r(){if("boolean"!=typeof h){var t=navigator.userAgent;h=/Trident/.test(t)}return h}function i(t,e){var n=f.cloneDeep(t.gokey);return n.cache=t.cache,n=f.assign(n,t.sdk_info),n=f.assign(n,t.client),n=f.assign(n,t.etag),delete n.egUrl,n=o(n,["userAgent","pvid","cna","screenWidth","screenHeight",l.SPM_CNT,l.SPM_URL,l.SPM_PRE]),"LOG"===e&&(n._g_encode||(n._g_encode="utf-8")),p.encodeGokeyValue(f.cloneDeep(n))}function s(t,e){return _(t,[[l.SPM_CNT,e[l.SPM_CNT]],[l.SPM_URL,e[l.SPM_URL]],[l.SPM_PRE,e[l.SPM_PRE]]]),t}function u(t){var e=g.getGoldlogVal("_$")||{},n=e.meta_info||{},o=t.logtype,u=n["aplus-ifr-pv"]+""=="1",c=parent!==self;o=c&&!u?"0":"1";var f=[["logtype",o],["title",t.title],["pre",t.pre],["scr",a(t,"x")]];r()||f.push(["_p_url",t.url]),_(f,[[p.s_plain_obj,"cna="+t.cna],["nick",t._user_nick],["wm_pageid",n.ms_data_page_id],["wm_prototypeid",n.ms_prototype_id],["wm_sid",n.ms_data_shop_id]]),f=s(f,t.gokey||{});var d=t.exparams||"";d.indexOf("&aplus&")===-1?f.push([p.s_plain_obj,l.APLUS]):f.push([p.s_plain_obj,d]);var h=i(t,"PV");for(var m in h)_(f,[[m,h[m]]]);var v=p.arr2param(f);return{objStr:v,obj:p.param2obj(v)}}function c(t){var e=[["gmkey",t.gmkey]],n=i(t,"LOG");_(e,[["gokey",p.obj2param(n)],[p.s_plain_obj,"cna="+t.cna]]),e=s(e,t.gokey||{});var a=p.param2obj(t.exparams).uidaplus;_(e,[["_gr_uid_",a],["uidaplus",a],["logtype",t.logtype]]),r()||e.push(["_p_url",t.url]);var o=p.arr2param(e);return{objStr:o,obj:p.param2obj(o)}}var l=n(3),p=n(27),f=n(28),g=n(2),d=n(18);e.getKeyIndex=function(t){var e={protocol:1,event_args:25};return e[t]};var h,_=function(t,e){var n,a,o,r,i=e.length;for(n=0;n<i;n++)a=e[n],o=a[0],r=a[1],r&&t.push([o,r])};e.getHttpBasicParams=function(t){return"1"===t.logtype?u(t):c(t)},e.getWSBasicParams=function(t){var e=t.exparams,n=t.sdk_info||{},r=t.client.language||"",i=p.param2obj(e),u=f.assign(i,t.gokey);u=f.assign(u,n),u=f.assign(u,t.client),u=f.assign(u,t.etag),u=o(u,["userAgent","aplus","cna"]),u.jsver=n.jsver,u.lver=n.lver;var c=p.param2obj(e).uidaplus||"",l=[["cna",t.cna]];return _(l,[["gmkey",t.gmkey],["gokey",p.obj2param(u)],["lang",r],["logkey",t.logkey],["logtype",t.logtype],["nick",t._user_nick],["pre",t.pre],["scr",a(t,"x")],["title",t.title],["ua",t.client.userAgent]]),l=s(l,t.gokey||{}),l.push(["uidaplus",c]),_(l,[["_p_url",t.url]]),p.arr2obj(l)}},function(t,e,n){"use strict";var a=n(18);t.exports=function(){return{getLogConfig:function(){var t={},e=this.options.config.plugins;for(var n in e)t[n]={plugins:e[n],context:{}},a(e[n],function(e){t[n].context[e.name]=e.config||{}});return t},run:function(){this.options.context.logConfig=this.getLogConfig(),this.options.context.logConfig.pageLoadTime=this.options.context.PAGE_LOAD_TIME}}}},function(t,e,n){"use strict";var a=n(71),o=n(29),r=n(73),i=n(74),s=n(2),u=n(28),c=n(33);t.exports=function(){var t=n(46);return{init:function(t){this.options=t;var e=this.options.context.etag||{};this.cna=e.cna||a.getCookieCna("cna"),this.setTag(0),this.setStag(-1),this.setLsTag("-1"),this.setEtag(this.cna||""),this.requesting=!1,this.today=r.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){this.etag=t,this.options.context.etag.cna=t,a.getCookieCna("cna")!==t&&a.setCookieCna("cna",t,{SameSite:"none"})},setLscnaStatus:function(t){this.options.context.etag.lscnastatus=t},run:function(e,n){var a=this,r=s.getGlobalValue("aplus");if(a.cna)return void a.setTag(1);var l=null,p=r._$.meta_info["aplus-rhost-v"];if(p){this.options.context.etag.egUrl=p.replace(/\/\w+.gif$/,"")+"/eg.js";var f=i.getUrl(this.options.context.etag||{});r.globalConfig.isUM&&(f=f+"?ak="+c.getAppKey()),a.requesting=!0;var g=function(){setTimeout(function(){n()},20),clearTimeout(l)},d=this.options.context.etag.unittest,h=d||t.loadScript;h(f,function(t){var e,n;if(t&&"error"===t.type?a.setStag(-3):(e=s.getGoldlogVal("Etag"),e&&a.setEtag(e),n=s.getGoldlogVal("stag"),"undefined"!=typeof n&&a.setStag(n)),a.requesting){var i=r.globalConfig||{};if(2===n||4===n){var u=o.getLsCna(i.ETAG_STORAGE_KEY);u?(a.setLsTag(1),a.setEtag(u)):(a.setLsTag(0),o.setLsCna(i.ETAG_STORAGE_KEY,a.today,e))}g()}});var _=r.getMetaInfo("aplus-etag-timeout"),m=200,v=m;try{v=parseInt(_),(u.isNaN(v)||v<200)&&(v=m)}catch(t){}return l=setTimeout(function(){a.requesting=!1,a.setStag(-2),n()},v),v}}}}},function(t,e,n){"use strict";function a(t){if(!document)return"";var e=document.cookie.match(new RegExp("(?:^|;)\\s*"+t+"=([^;]+)"));return e?e[1]:""}function o(t){var e=new Date,n="";if("session"===t.expires);else if(t.expires&&("number"==typeof t.expires||t.expires.toUTCString))"number"==typeof t.expires?e.setTime(e.getTime()+24*t.expires*60*60*1e3):e=t.expires,n="expires="+e.toUTCString();else{var a=20;c.indexof(["v.youku.com","www.youku.com","player.youku.com"],location.hostname)>-1&&(a=1),e.setTime(e.getTime()+365*a*24*60*60*1e3),n="expires="+e.toUTCString()}return n}function r(t,e,n){if(document){n||(n={}),e+=";"+(n.expires||o(n)),e+="; path="+(n.path?n.path:"/"),e+="; domain="+n.domain,document.cookie=t+"="+e;var r=0;try{var i=navigator.userAgent.match(/Chrome\/\d+/);i&&i[0]&&(r=i[0].split("/")[1],r&&(r=parseInt(r)))}catch(t){}return n.SameSite&&r>=80&&(e+="; SameSite="+n.SameSite,e+="; Secure",document.cookie=t+"="+e),a(t)}}function i(t,e,n){try{if(!document)return"";if(n||(n={}),n.domain)r(t,e,n);else for(var a=u.getDomains(),o=0;o<a.length;)n.domain=a[o],r(t,e,n)?o=a.length:o++}catch(t){}}var s=n(18),u=n(72),c=n(45);e.getCookie=a,e.trySetCookie=r,e.setCookie=i;var l=["tracknick","thw","cna"];e.getData=function(){var t={};if(s(l,function(e){t[e]=a(e)}),location){var e=location.hostname;t.cnaui=/\btanx\.com$/.test(e)?a("cnaui"):""}return t},e.getHng=function(){return encodeURIComponent(a("hng")||"")},e.getCookieCna=function(t){return a(t)||a("_"+t)},e.setCookieCna=function(t,e,n){for(var a=u.getDomains(),i=0;i<a.length;)if(n.domain=a[i],r(t,e,n))i=a.length;else{if(i===a.length-1){var s=e+";"+o(n);s+="; path=/",document.cookie="_"+t+"="+s}i++}}},function(t,e){"use strict";e.getDomains=function(){var t=[];try{for(var e=location.hostname,n=e.split("."),a=2;a<=n.length;)t.push(n.slice(n.length-a).join(".")),a++}catch(t){}return t}},function(t,e){"use strict";function n(t,e,n){var a=""+Math.abs(t),o=e-a.length,r=t>=0;return(r?n?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+a}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 a=n(29);e.getUrl=function(t){var e=a.getUrl(t&&t.egUrl);return e}},function(t,e){"use strict";t.exports=function(){return{getMiniAppTrackInfo:function(t){var e=window;e.__megabilityBridge("TinyApp","getMiniAppTrackInfo",{},function(e){var n=(e.data||{}).result,a={_aplus_luid:n.luid,_aplus_lunick:n.lunick,_aplus_lusite:n.lusite,_aplus_uid:n.uid,_aplus_unick:n.unick,_aplus_usite:n.usite,mini_app_id:n.miniapp_id};t(a)},function(){t({})})},run:function(t,e){var n=this,a=window,o=a&&"undefined"!=typeof a.__megabilityBridge,r="{}"!==JSON.stringify(n.options.context.pha_trackinfo);if(!r&&a.pha&&a.pha.environment&&"object"==typeof a.pha.environment.miniappAppInfo&&o)return n.getMiniAppTrackInfo(function(t){n.options.context.pha_trackinfo&&(n.options.context.pha_trackinfo=t),e()}),200}}}},function(t,e,n){"use strict";var a=n(2),o=n(3);t.exports=function(){return{getMetaInfo:function(){var t=a.getGoldlogVal("_$")||{},e=t.meta_info;return e},getAplusWaiting:function(){var t=this.getMetaInfo()||{};return t["aplus-waiting"]},run:function(t,e){var n=this.options.config||{},a=this.getAplusWaiting();if(a&&n.is_auto)switch(a=this.getAplusWaiting()+"",this.options.context.when_to_sendpv={aplusWaiting:a},a){case o._USER_ID:case o._ANONY_ID:case"MAN":return"done";case"1":return this.options.context.when_to_sendpv.isWait=!0,setTimeout(function(){e()},6e3),6e3;default:var r=1*a;if(r+""!="NaN")return this.options.context.when_to_sendpv.isWait=!0,setTimeout(function(){e()},r),r}}}}},function(t,e,n){"use strict";var a=n(78),o=n(2),r=n(20),i="POST",s="GET";t.exports=function(){return{getMetaInfo:function(){var t=o.getGoldlogVal("_$")||{},e=t.meta_info;return e},getAplusMetaByKey:function(t){var e=this.getMetaInfo()||{};return e[t]},getRhost:function(t){var e="",n="";return"PV"===t?(n="aplus-rhost-v",e=this.getAplusMetaByKey(n)):(n="aplus-rhost-g",e=this.getAplusMetaByKey(n),a.isMobile()&&/gm/.test(e)&&(e="wgo.mmstat.com"),!a.isMobile()&&/wgo/.test(e)&&(e="gm.mmstat.com")),e},getHjljHostUrl:function(t){var e=/^\/\//.test(t)?"":"//",n=/\/$/.test(t)?"":"/",a=e+t+n,o=this.options.context.userdata||{},i=o.logkey;return i?a+=/^(\/)/.test(i)?i.substr(1):i:r().w("eventCode "+i+' is invalid, suggestion: "/aplus.1.1"'),a},getPvHostUrl:function(t){var e=/^\/\//.test(t)?"":"//",n=/\/$/.test(t)?"":"/",r=o.getGoldlogVal("_$")||{},i=r.meta_info||{},s=i["aplus-ifr-pv"]+""=="1",u=parent!==self;if(/\.gif$/.test(t))return e+t;var c="v.gif";return a.isMobile()&&(c="m.gif"),u&&!s&&(c="y.gif"),e+t+n+c},getChannel:function(t){var e,n=this.getAplusMetaByKey("aplus-channel"),a=["WS","WS-ONLY",s,i];return a.indexOf(t)>-1&&(e=t),!e&&a.indexOf(n)>-1&&(e=n),e},run:function(){var t=!!this.options.context.is_single;if(!t){var e=this.options.config.recordType,n=this.getRhost(e);if(!n)return"done";var a;a="PV"===e?this.getPvHostUrl(n):this.getHjljHostUrl(n);var o=this.options.config||{},r=this.getChannel(o.method)||i;r!==i||navigator&&navigator.sendBeacon||(r=s),this.options.context.where_to_send.method=o.method,this.options.context.where_to_send.url=a}}}}},function(t,e){"use strict";e.isMobile=function(){var t=navigator?navigator.userAgent:"",e=/AliApp|Yunos|cyclone/i.test(t),n=/iPhone|iPad|iPod/i.test(t),a=/Android/i.test(t),o=/Windows Phone/i.test(t)||/IEMobile/i.test(t)||/WPDesktop/i.test(t),r=/BlackBerry/i.test(t),i=/Opera Mini/i.test(t);return e||n||a||o||r||i}},function(t,e,n){"use strict";var a=n(71),o=n(17),r=n(28),i=n(78),s=n(2),u=n(3),c=s.getGlobalValue("aplus");t.exports=function(){return{getCommonParams:function(){var t=this.options.context||{},e=t.etag||{},n=t.userdata||{},u=s.getGoldlogVal("_$")||{},l=u.spm||{},p=this.options.config||{},f=i.isMobile()?"WAP":"PC",g=c.getMetaInfo("aplus-first-tracking"),d={_f_t:!!g};t.pha_trackinfo&&(d=r.assign(d,t.pha_trackinfo));var h={};c.globalConfig.isAli&&(h={"spm-url":l.spm_url||"","spm-pre":l.spm_pre||"","spm-cnt":l.spm_cnt||"",pvid:c.pvid||""});var _=(c.globalConfig.isDecodeUrl?"DC_":"")+Math.floor(268435456*Math.random()).toString(16),m={appId:c.getMetaInfo("appKey")||c.getMetaInfo("appId"),cache:_,cna:e.cna||a.getCookieCna("cna"),etag:e,pre:u.page_referrer||"-",sdk_info:{jsver:c.globalConfig.script_name,lver:c.globalConfig.lver,customSdkId:c.getMetaInfo("customSdkId")||"",platformType:f.toLowerCase()},trackerEventCode:p.trackerEventCode,title:p.title||document&&document.title,url:p.pageUrl||(location?location.href:"-"),client:c._aplus_client||{},gokey:r.assign(h,d),_user_nick:c.getMetaInfo("_user_nick")||a.getCookie("tracknick"),gmkey:n.gmkey||"",method:this.options.context.where_to_send.method},v=o.getParamFromUrl("scm",location.href)||"";return v&&(m.scm=v),n.gokey&&n.gokey.alsc_spm_url&&(m.gokey["spm-url"]=n.gokey.alsc_spm_url),n.gokey&&n.gokey.alsc_spm_pre&&(m.gokey["spm-pre"]=n.gokey.alsc_spm_pre),n.gokey&&n.gokey.alsc_page_name&&(m.title=n.gokey.alsc_page_name),m},getPvParams:function(){var t=this.options.context.where_to_send.url,e=this.getCommonParams();this.options.config.is_auto||(e.sdk_info.mansndlog=1);var n="/v.gif";return/yt\.gif$/.test(t)?n="yt.gif":i.isMobile()&&(n="/m.gif"),r.assign(e,{event_code:"2001",logtype:"1",logkey:n,event_timestamp:c._$.send_pv_count>0?new Date:c.logConfig.pageLoadTime})},getHjljParams:function(){var t=this.options.context||{},e=t.userdata||{},n={event_code:u.EVENT_ID_MAP[e.gmkey]||u.OTHER,logtype:"2",logkey:e.logkey,event_timestamp:new Date};return e["spm-cnt"]&&(n["spm-cnt"]=e["spm-cnt"]),e["spm-pre"]&&(n["spm-pre"]=e["spm-pre"]),r.assign(this.getCommonParams(),n)},run:function(){var t={};t="PV"===this.options.config.recordType?this.getPvParams():this.getHjljParams(),this.options.context.what_to_send.logdata=t}}}},function(t,e,n){"use strict";var a=n(28),o=n(71);t.exports=function(){return{run:function(){var t={},e=o.getCookie("workno")||o.getCookie("emplId");e&&(t.workno=e);var n=o.getHng();n&&(t._hng=o.getHng());var r;r=this.options.context.what_to_send.logdata,r.gokey=a.assign(r.gokey,t)}}}},function(t,e,n){"use strict";var a=n(27),o=n(82),r=n(28),i=n(2);t.exports=function(){return{getUserdata:function(){var t=i.getGlobalValue("aplus"),e=this.options.config||{},n={};e&&!e.is_auto&&e.gokey&&("string"==typeof e.gokey?n=a.param2obj(e.gokey):"object"==typeof e.gokey&&(n=e.gokey));var s=function(t){o(t)?t.forEach(function(t){n=r.assign(n,t)}):n=r.assign(n,t)};s(t.getMetaInfo("aplus-globaldata")),s(t.getMetaInfo("aplus-cpvdata"));var u=this.options.context||{},c=u.userdata||{};return s(c),n},processLodashDollar:function(){var t=this.options.config||{},e=i.getGoldlogVal("_$")||{};t&&t.referrer&&(e.page_referrer=t.referrer),i.setGoldlogVal("_$",e)},updatePre:function(t){var e=i.getGoldlogVal("_$")||{};return e.page_referrer&&(t.pre=e.page_referrer),t},run:function(){var t=this.options.context.what_to_send.logdata,e=r.assign(this.getUserdata(),t.userdata||{});this.processLodashDollar(),t.gokey=r.assign(t.gokey,e),t=this.updatePre(t),this.options.context.what_to_send.logdata=t,this.options.context.userdata=t.gokey;
}}}},function(t,e){"use strict";t.exports=function(t){return Array.isArray?Array.isArray(t):/Array/.test(Object.prototype.toString.call(t))}},function(t,e,n){"use strict";var a=n(84),o=n(85),r=n(2),i=n(13);t.exports=function(){return{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},resetSpmB:function(){var t=r.getGlobalValue("aplus");if(t.spmAPI){var e=r.getGoldlogVal("_$")||{},n=e.spm||{},a=n.data.b;if(a){var o=this.getPageId();a=o?a.split("/")[0]+"/"+o:a.split("/")[0],t.spmAPI&&t.spmAPI.setB(a);var i=n.spm_cnt.split(".");i&&i.length>2&&(i[1]=a,n.spm_cnt=i.join("."))}}},getExParamsInfo:function(){var t=a.getExParams();return this.options.context.what_to_send.logdata.exparams=t,o(t)},run:function(){this.resetSpmB();var t=this.options.context.what_to_send.logdata.gokey;t=i(this.getExParamsInfo(),t),this.options.context.what_to_send.logdata.gokey=t}}}},function(t,e,n){"use strict";function a(t){for(var e,n=t.split("&"),a=0,o=n.length,r=[];a<o;a++)e=n[a].split("="),r.push([e.shift(),e.join("=")]);return r}function o(t,e){var n="aplus&sidx=aplusSidex&ckx=aplusCkx",a=t||n;try{if(e){var o=u.param2obj(e),r=[d.APLUS,"cna",d.SPM_CNT,d.SPM_URL,d.SPM_PRE,"logtype","pre","uidaplus","asid","sidx","trid","gokey"];s(r,function(t){o.hasOwnProperty(t)&&(g().w("Can not inject keywords: "+t),delete o[t])}),delete o[""];var i="";if(t){var l=t.match(/aplus&/).index,p=l>0?u.param2obj(t.substring(0,l)):{};delete p[""],i=u.obj2param(c.assign(p,o))+"&"+t.substring(l,t.length)}else i=u.obj2param(o)+"&"+n;return i}return a}catch(t){return a}}function r(){var t=aplus&&aplus._$?aplus._$:{},e=t.meta_info||{};return e["aplus-exparams"]||""}function i(){var t=l.getCurrentNode(),e=p.tryToGetAttribute(t,"exparams"),n=o(e,r())||"";return n&&n.replace(/&amp;/g,"&").replace(/\buser(i|I)d=/,"uidaplus=")}var s=n(18),u=n(27),c=n(28),l=n(46),p=n(23),f=n(45),g=n(20),d=n(3);e.mergeExparams=o,e.getExParams=i,e.getExparamsInfos=function(t,e){var n={},o=t||["uidaplus","pc_i","pu_i"],r=i()||"";r=r.replace(/&aplus&/,"&");for(var s=a(r)||[],u=function(t){return f.indexof(o,t)>-1},c=0;c<s.length;c++){var l=s[c],p=l[0]||"",g=l[1]||"";p&&g&&("EXPARAMS"===e||u(p))&&(n[p]=g)}return n}},function(t,e,n){var a=n(27);t.exports=function(t){var e={};try{var n=a.param2obj(t.replace(/&amp;/g,"&").replace(/\buser(i|I)d=/,"uidaplus=").replace(/&aplus&/,"&"));n.uidaplus&&(e.uidaplus=n.uidaplus),e.pc_i=n.pc_i,e.pu_i=n.pu_i}catch(t){console&&console.log(t)}return e}},function(t,e,n){"use strict";function a(t){var e,n,a,o,i=[],s={};for(e=t.length-1;e>=0;e--)n=t[e],a=n[0],a&&a.indexOf(r.s_plain_obj)==-1&&s.hasOwnProperty(a)||(o=n[1],("aplus"==a||o)&&(i.unshift([a,o]),s[a]=1));return i}function o(t){var e,n,a,o,i=[],u={logtype:!0,cache:!0,scr:!0,"spm-cnt":!0};for(e=t.length-1;e>=0;e--)if(n=t[e],a=n[0],o=n[1],!(s.isStartWith(a,r.s_plain_obj)&&!s.isStartWith(a,r.mkPlainKeyForExparams())||u[a]))if(s.isStartWith(a,r.mkPlainKeyForExparams())){var c=r.param2arr(o);if("object"==typeof c&&c.length>0)for(var l=c.length-1;l>=0;l--){var p=c[l];p&&p[1]&&i.unshift([p[0],p[1]])}}else i.unshift([a,o]);return i}var r=n(33),i=n(45),s=n(28),u=n(2),c=n(71),l=n(17),p=n(3);t.exports=function(){return{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 a in e){var o=e[a];a&&n.valIsAvailable(o)&&n.keyIsAvailable(a)&&(t[a]=o)}return t},getToUtData:function(){var t=u.getGoldlogVal("_$")||{},e=u.getGlobalValue(p.APLUS),n=t.spm||{},i=this.options.context||{},s=i.what_to_send||{},f=s.logdata||{},g=f.sdk_info||{},d=this.options.context.etag||{},h=o(a(f.exparams||[]));h=r.arr2obj(h);var _=i.userdata,m=location.href,v={},b=l.getParamFromUrl("scm",m)||"";b&&(v.scm=b);var y=l.getParamFromUrl("pg1stepk",m)||"";y&&(v.pg1stepk=y);var A=l.getParamFromUrl("point",m)||"";A&&(v.issb=1),g&&g.mansndlog&&(v.mansndlog=g.mansndlog),v=this.upUtData(v,h),v=this.upUtData(v,f.gokey),v=this.upUtData(v,_),v.functype="page",v.funcId="2001",e&&e.globalConfig&&e.globalConfig.isAli?v.url=(location.protocol||"https:")+"//"+location.host+location.pathname:v.url=location.href,v._ish5="1",v._h5url=m,v._toUT=2,v._bridgeName="WindVane",v._bridgeVersion="3.0.4",n.spm_cnt&&(v[p.SPM_CNT]=n.spm_cnt||""),n.spm_url&&(v[p.SPM_URL]=n.spm_url||""),n.spm_pre&&(v[p.SPM_PRE]=n.spm_pre||""),v.cna=d.cna||c.getCookieCna("cna"),v.lver=g.lver,v.jsver=g.jsver,v.pver="1.0.0",v.isonepage=-1;var E=e.getMetaInfo("aplus-utparam");return E&&(v["utparam-cnt"]=JSON.stringify(E)),v._is_g2u_=1,v._slog=1,v},run:function(){var t=this.options.context||{},e=t.what_to_send||{};e.pvdataToUt=this.getToUtData(),this.options.context.what_to_send=e}}}},function(t,e,n){"use strict";var a=n(2),o=n(88);t.exports=function(){return{run:function(){var t=a.getGoldlogVal("_$")||{},e=this.options.context.can_to_sendpv||{},n=t.send_pv_count||0,r=this.options.config||{};return r.is_auto&&n>0||!o.canSendPV(r.track_type)?"done":(e.flag="YES",this.options.context.can_to_sendpv=e,t.send_pv_count=++n,void a.setGoldlogVal("_$",t))}}}},function(t,e,n){function a(t){var e=r.getGlobalValue(i.APLUS),n=e.getMetaInfo(i.APLUS_EVENT_LIMITRATES);if(n&&n.length>0){var a=c.find(n,function(e){return e.eventId===t});if(a){var o=Math.ceil(1e3*Math.random());return o<1e3*a.samplingRate}return!0}return!0}function o(){var t=r.getGlobalValue("aplus"),e=t.globalConfig.isUM;return!!e}var r=n(2),i=n(3),s=n(89),u=n(92),c=n(45),l=n(91),p=n(28),f=n(33);e.canToSendHJLJ=function(t,e){var n=s.getDeviceStatus();if(!n)try{var o=l.getContext();return p.isEmptyObject(o)?void 0:e===i.APP_START||e===i.APP_END}catch(t){}var r=s.getAutoTrackStatus(),c=s.getAutoEventStatus(),g=u.getAutoTrackStatus(),d={};if(d="string"==typeof t?f.arr2obj(f.param2arr(t)):t,d.auto_element){if(2===c||2===r)return;if(!r&&!g)return}if(a(e))return!0},e.canSendPV=function(t){if(!o())return!0;var e=s.getDeviceStatus(),n=s.getAutoPageStatus(),a=u.localAutoPVDisabled(),r=!0;if(e){if("1"===t)return!(2===n||!n&&a)}else r=!1;return r}},function(t,e,n){"use strict";function a(t){var e;return e=l.isWeb()?p.getLsRemoteCfg(g):f().getSync(c.APLUS_REMOTE_CONFIG),e&&e[t]}function o(t){var e=l.getContext();e.aplus_queue.push({action:"aplus.setMetaInfo",arguments:[c.APLUS_DISABLE_AUTOEVENT_REMOTE,t]})}function r(t){var e=l.getContext();e.aplus_queue.push({action:"aplus.setMetaInfo",arguments:[c.APLUS_DEVICE_ENABLE,t]})}function i(t){var e=l.getContext();e.aplus_queue.push({action:"aplus.setMetaInfo",arguments:[c.APLUS_DISABLE_AUTOPV_REMOTE,t]})}function s(t){var e=l.getContext();e.aplus_queue.push({action:"aplus.setMetaInfo",arguments:[c.APLUS_AUTOTRACK_ENABLED_REMOTE,t]})}var u=n(33),c=n(3),l=n(2),p=n(29),f=n(90),g="APLUS_REMOTE_CONFIG";e.getAutoEventStatus=function(){var t=l.getGlobalValue("aplus"),e=t.getMetaInfo(c.APLUS_DISABLE_AUTOEVENT_REMOTE)||a("codelessClickEventStatus");return e},e.getDeviceStatus=function(){var t=l.getGlobalValue("aplus");return a("currentDeviceEnable")||t.getMetaInfo(c.APLUS_DEVICE_ENABLE)},e.getAutoPageStatus=function(){var t=l.getGlobalValue("aplus"),e=t.getMetaInfo(c.APLUS_DISABLE_AUTOPV_REMOTE)||a("codelessCollectorPageStatus");return e},e.getAutoTrackStatus=function(){var t=l.getGlobalValue("aplus"),e=t.getMetaInfo(c.APLUS_AUTOTRACK_ENABLED_REMOTE)||a("codelessStatus");return e},e.enableCfg=function(t){var e=l.getContext();t&&(o(t.codelessClickEventStatus),i(t.codelessCollectorPageStatus),s(t.codelessStatus),r(t.currentDeviceEnable),t.eventSamplingRate&&t.eventSamplingRate.length>0&&e.aplus_queue.push({action:"aplus.setMetaInfo",arguments:[c.APLUS_EVENT_LIMITRATES,u.mapEventSampleRates(t.eventSamplingRate)]}),t.codelessIgnoreComponent&&t.codelessIgnoreComponent.length>0&&e.aplus_queue.push({action:"aplus.setMetaInfo",arguments:[c.APLUS_AUTOTRACK_CONFIG_REMOTE,t.codelessIgnoreComponent]}))}},function(t,e,n){var a=n(91),o=n(9),r=n(32),i=n(20),s=n(33),u=n(3);t.exports=function(){function t(){var t=a.getContext();this.load=function(e){c?(t.removeStorage({key:n}),o(e)&&e()):(n="aplus_cache_"+s.getAppKey()||"",t.getStorage({key:n,success:function(a){c=a&&a.data?r.parse(a.data)||{}:{},l=!0,t.removeStorage({key:n}),o(e)&&e()},fail:function(a){i().w(n+": "+a.errMsg),c={},l=!0,t.removeStorage({key:n}),o(e)&&e()}}))},this.save=function(){c&&t.setStorage({key:n,data:r.stringfy(c)})},this.set=function(t,e){c&&(c[t]=e)},this.get=function(t){return(c||{})[t]},this.remove=function(t){c&&c[t]&&delete c[t]},this.getAll=function(){return c},this.clear=function(){c=null},this.has=function(t){return!!this.get(t)},this.isLoaded=function(){return l},this.getSync=function(t){try{var e=a.getContext(),n=e.getStorageSync(t);return t===u.APLUS_IMPRINT_VERSION?n:"string"==typeof n?r.parse(n):n}catch(t){}},this.setSync=function(t,e){try{var n=a.getContext();"object"==typeof e?n.setStorageSync(t,JSON.stringify(e)):n.setStorageSync(t,e)}catch(t){}}}var e=null,n="",c=null,l=!1;return function(){return e||(e=new t),e}}()},function(t,e,n){"use strict";function a(){if("boolean"==typeof u)return u;var t=!1;try{var e=navigator?navigator.userAgent||navigator.swuserAgent:"";if(t=!!/AliApp/i.test(e),/AliApp\((AP|DingTalk|AMAP|UC|QUARK)/i.test(e)&&(t=!1),/AliApp\(KB/i.test(e)&&(t=!!/Mist/.test(e)),/AlipayIDE Taobao/.test(e)&&(t=!0),t){var n=c().ctx;r(n.canIUse)&&(t=!!n.canIUse("callUserTrack"))}}catch(t){}return u=t,t}function o(){return"boolean"==typeof u?!!u:a()}var r=n(9),i=n(2),s=n(33);e.getCurrentPage=function(){var t=getCurrentPages();return t[t.length-1]||{}},e.getReferrerPage=function(){var t=getCurrentPages();return t[t.length-2]||{}};var u;e.resetIsTB=function(t){u=t},e.initIsTB=a;var c=function(){try{return{ctx:dd,platType:"dd",sdkType:"ddmp",logDomain:"/ddm_logs"}}catch(t){try{return{ctx:my,platType:my&&my.tb?"taobao":"my",sdkType:my&&my.tb?"taobaomp":"mymp",logDomain:"/alipaym_logs"}}catch(t){try{return{ctx:tt,platType:"tt",sdkType:"ttmp",logDomain:"/bytedancem_logs"}}catch(t){try{return{ctx:swan,platType:"bd",sdkType:"bdmp",logDomain:"/baidum_logs"}}catch(t){try{return{ctx:wx,platType:"wx",sdkType:"wxmp",logDomain:"/wxm_logs"}}catch(t){return{ctx:{},platType:"UNKNOW",sdkType:"UNKNOW"}}}}}}};e.isTB=o,e.getPlatformType=function(){return c().platType},e.getSdkType=function(){return c().sdkType},e.getContext=function(){return c().ctx},e.getLogDomain=function(){return c().logDomain};var l="httpRequest",p="request",f=function(){};e.request=function(t,e,n,a){var o=c().ctx;r(a)||(a=f),r(n)||(n=f);var u=e.requestMethodName||p,g=o[u];r(g)||u===p||(u=p,g=o[u]),r(g)||u===l||(u=l,g=o[u]);var d,h=e&&e.dataType?e.dataType:"base64",_=e&&e.timeout?e.timeout:3e3,m=e.method||"GET";t=s.fixDomain(t);var v;if(r(g)){var b={url:t,method:m,dataType:h,timeout:_,success:function(t){d||(d=!0,n(t))},fail:function(t){d||(d=!0,a({failure:!0,data:t}))}};"POST"===m&&"object"==typeof e.data&&(b.url=b.url.split("?")[0],l===u?(b.headers={"Content-Type":"application/json"},b.dataType="json",b.data=JSON.stringify(e.data)):b.data=e.data);var y=i.getGlobalValue("aplus"),A=y.getMetaInfo("aplus-request-extinfo");"object"==typeof A&&(b._extInfo=A),g(b)}else d||(d=!0,a({failure:!0,data:v}));setTimeout(function(){d||(d=!0,v='aplus log request"'+t+' timeout", time spend'+_+"ms",console&&console.warn(v),a({failure:!0,data:v}))},_)}},function(t,e,n){"use strict";var a=n(3),o=n(2);e.localAutoEventDisabled=function(){var t=o.getGlobalValue("aplus");return!!t.getMetaInfo(a.APLUS_DISABLE_AUTOEVENT)},e.localAutoPVDisabled=function(){var t=o.getGlobalValue("aplus");return!(!t.getMetaInfo(a.APLUS_DISABLE_AUTOPV)&&"MAN"!==t.getMetaInfo("aplus-waiting"))},e.getAutoTrackStatus=function(){var t=o.getGlobalValue("aplus");return!!t.getMetaInfo(a.APLUS_AUTOTRACK_ENABLED)}},function(t,e,n){"use strict";var a=n(36),o=n(2);t.exports=function(){return{run:function(){var t=o.getGlobalValue("aplus"),e=t._$||{},n=this.options.context||{};o.setGoldlogVal("pv_context",n);var r=t.spm_ab||[],i=r.join("."),s=e.send_pv_count,u={cna:n.etag?n.etag.cna:"",count:s,spmab_pre:t.spmab_pre};a.doPubMsg(["sendPV","complete",i,u]),a.doCachePubs(["sendPV","complete",i,u])}}}},function(t,e,n){"use strict";var a=n(27),o=n(82),r=n(28),i=n(2);t.exports=function(){return{getUserData:function(){var t=i.getGlobalValue("aplus"),e=this.options.context||{},n=e.userdata||{},s=e.what_to_send.logdata.gokey;s=r.assign(s,t.getMetaInfo("aplus-globaldata")),s=r.assign(s,a.param2obj(n.gokey));var u=t.getMetaInfo("aplus-exinfo");u&&(s=r.assign(s,a.param2obj(u)));var c=t.getMetaInfo("aplus-exdata");return o(c)?c.forEach(function(t){s=r.assign(s,t)}):s=r.assign(s,t.getMetaInfo("aplus-exdata")),s},run:function(){this.options.context.what_to_send.logdata.gokey=this.getUserData()}}}},function(t,e,n){"use strict";var a=n(84),o=n(85),r=n(28);t.exports=function(){return{getExParamsInfo:function(){var t=a.getExParams();return this.options.context.what_to_send.logdata.exparams=t,o(t)},run:function(){var t=this.options.context.what_to_send.logdata.gokey;t=r.assign(this.getExParamsInfo(),t),this.options.context.what_to_send.logdata.gokey=t}}}},function(t,e,n){"use strict";var a=n(2),o=n(3);t.exports=function(){return{getToUtData:function(){var t=a.getGoldlogVal("_$")||{},e=a.getGlobalValue(o.APLUS),n=t.spm||{},r=this.options.context||{},i=r.userdata||{},s=r.etag||{},u=r.what_to_send||{},c=u.logdata||{},l=c.sdk_info||{},p=c.gokey||{},f=[],g="";for(var d in p)if([o.SPM_CNT,o.SPM_URL,o.SPM_PRE].indexOf(d)===-1){var h=p[d];"undefined"!==p[d]&&void 0!==p[d]||(h=""),f.push(d+"="+h)}f.length>0&&(g=f.join("&"));var _=location.href,m={};m.functype="ctrl",m.funcId=c.event_code,e&&e.globalConfig&&e.globalConfig.isAli?m.url=(location.protocol||"https:")+"//"+location.host+location.pathname:m.url=location.href,m.logkey=c.logkey,m.gokey=encodeURIComponent(g),m.gmkey=c.gmkey,m._ish5="1",m._h5url=_,m._is_g2u_=1,m._slog=1,m._toUT=2,m._bridgeName="WindVane",m._bridgeVersion="3.0.4",n.spm_cnt&&(m[o.SPM_CNT]=n.spm_cnt||""),n.spm_url&&(m[o.SPM_URL]=n.spm_url||""),n.spm_pre&&(m[o.SPM_PRE]=n.spm_pre||""),m.cna=s.cna,m.lver=l.lver,m.jsver=l.jsver,i.hasOwnProperty("autosend")&&(m.autosend=i.autosend);var v=e.getMetaInfo("aplus-utparam");return v&&(m["utparam-cnt"]=JSON.stringify(v)),m},run:function(){var t=this.options.context||{},e=t.what_to_send||{};e.pvdataToUt=this.getToUtData(),this.options.context.what_to_send=e}}}},function(t,e,n){"use strict";t.exports=function(){return{run:function(){n(98)()}}}},function(t,e,n){"use strict";var a=n(46),o=n(2),r=n(99),i=n(106),s=n(107),u=n(108),c=n(109),l=n(110);t.exports=function(){var t=o.getGoldlogVal("_$")||{},e=t.meta_info,n=e["aplus-touch"],p={isTouchEnabled:a.isTouch()||"1"===n||"tap"===n,isTerminal:t.is_terminal||/WindVane/i.test(navigator.userAgent)};window.g_SPM={spm_d_for_ad:{},resetModule:r.spm_resetModule,anchorBeacon:r.spm_spmAnchorChk,getParam:r.spm_getSPMParam,spm:r.spm_forwap},o.setGoldlogVal("spmAPI",l.run()),i.run(p),s.run(p),u.run(p),c.run(p)}},function(t,e,n){"use strict";function a(t){if(t&&1===t.nodeType){s.tryToRemoveAttribute(t,"data-spm-max-idx"),s.tryToRemoveAttribute(t,"data-auto-spmd-max-idx");for(var e=c.nodeListToArray(t.getElementsByTagName("a")),n=c.nodeListToArray(t.getElementsByTagName("area")),a=e.concat(n),o=0;o<a.length;o++)s.tryToRemoveAttribute(a[o],p)}}function o(t,e){var n=s.tryToGetAttribute(t,p),a="0";if(n&&l.spm_isSPMAnchorIdMatch(n))l.spm_anchorEnsureSPMId_inHref(t,n,e);else{var o=l.spm_spmGetParentSPMId(t.parentNode);if(a=o.spm_c,!a)return void l.spm_dealNoneSPMLink(t,e);l.spm_initSPMModule(o.el,a,e),l.spm_initSPMModule(o.el,a,e,!0)}}function r(t){var e,n=t.tagName;"A"!==n&&"AREA"!==n?e=l.spm_getParamForAD(t):(o(t,!0),e=s.tryToGetAttribute(t,p)),e||(e="0.0.0.0");var a=u.getPvId();4===e.split(".").length&&a&&(e+="."+a),"A"!==n&&"AREA"!==n&&s.tryToSetAttribute(t,p,e),e=e.split(".");var r={a:e[0],b:e[1],c:e[2],d:e[3]};return e[4]&&(r.e=e[4]),r}function i(t,e){var n=r(t),a=[n.a,n.b,n.c,n.d];return e&&n.e&&a.push(n.e),a.join(".")}var s=n(23),u=n(100),c=n(29),l=n(102),p="data-spm-anchor-id";e.spm_resetModule=a,e.spm_spmAnchorChk=o,e.spm_getSPMParam=r,e.spm_forwap=i},function(t,e,n){"use strict";function a(){var t,e=i.getGlobalValue("aplus");try{var n=e.getMetaInfo("aplus-disable-pvid")+"";"true"===n?t=!0:"false"===n&&(t=!1)}catch(t){}return t}function o(){var t=i.getGlobalValue("aplus");return a()?"":t.pvid}var r=n(36),i=n(2),s=n(101);e.isDisablePvid=a,e.makePVId=function(){var t=i.getGlobalValue("aplus"),e=t.pvid,n=location&&location.href,u=document&&document.title;t.pvid=s.getLogId(n,u),t.getPvId=o;var c=["pvidChange",{pre_pvid:e,pvid:t.pvid}];return r.doPubMsg(c),r.doCachePubs(c),a()?"":t.pvid},e.getPvId=o},function(t,e,n){"use strict";function a(t,e,n){return t?o.hash(encodeURIComponent(t)).substr(0,e):n}var o=n(51),r=function(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,a="",o="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",r=!1;a.length<t;)n=o.substr(Math.floor(62*Math.random()),1),!r&&a.length<=2&&("g"==n.toLowerCase()||"l"==n.toLowerCase())&&(0===a.length&&"g"==n.toLowerCase()?Math.random()<.5&&(n=e(1),r=!0):1==a.length&&"l"==n.toLowerCase()&&"g"==a.charAt(0).toLowerCase()&&(n=e(2),r=!0)),a+=n;return a};e.getLogId=function(t,e){var n=r(8),o=n.substr(0,4),i=n.substr(0,6);return[a(t,4,o),a(e,4,o),i].join("")}},function(t,e,n){"use strict";function a(t){for(var e,n="data-spm-ab-max-idx",a={},o="";t&&t.tagName!=S&&t.tagName!=w;){if(!o&&(o=v.tryToGetAttribute(t,"data-spm-ab"))){e=parseInt(v.tryToGetAttribute(t,n))||0,a.a_spm_ab=o,a.ab_idx=++e,t.setAttribute(n,e);break}if(v.tryToGetAttribute(t,"data-spm"))break;t=t.parentNode}return a}function o(){var t=b.getGoldlogVal("_$")||{},e=t.spm.data;return[e.a,e.b].join(".")}function r(t){var e=o(),n=t.split(".");return n[0]+"."+n[1]==e}function i(t,e){var n=b.getGlobalValue("aplus")||{};if(!n.isUT4Aplus||"UT4Aplus"!==n.getMetaInfo("aplus-toUT")){if(t&&/&?\bspm=[^&#]*/.test(t)&&(t=t.replace(/&?\bspm=[^&#]*/g,"").replace(/&{2,}/g,"&").replace(/\?&/,"?").replace(/\?$/,"")),!e)return t;var a,o,r,i,s,u,c,l="&";t.indexOf("#")!==-1&&(r=t.split("#"),t=r.shift(),o=r.join("#")),i=t.split("?"),s=i.length-1,r=i[0].split("//"),r=r[r.length-1].split("/"),u=r.length>1?r.pop():"",s>0&&(a=i.pop(),t=i.join("?")),a&&s>1&&a.indexOf("&")==-1&&a.indexOf("%")!==-1&&(l="%26");var p="";if(t=t+"?spm="+p+e+(a?l+a:"")+(o?"#"+o:""),c=_.isContain(u,".")?u.split(".").pop().toLowerCase():""){if({png:1,jpg:1,jpeg:1,gif:1,bmp:1,swf:1}.hasOwnProperty(c))return 0;!a&&s<=1&&(o||{htm:1,html:1,php:1,aspx:1,shtml:1,xhtml:1}.hasOwnProperty(c)||(t+="&file="+u))}return t}}function s(t,e){var n=b.getGlobalValue("aplus")||{};if(!n.isUT4Aplus||"UT4Aplus"!==n.getMetaInfo("aplus-toUT")){var a,o=t.innerHTML;o&&o.indexOf("<")==-1&&(a=document.createElement("b"),a.style.display="none",t.appendChild(a)),t.href=e,a&&t.removeChild(a)}}function u(t,e,n){if(!/^0\.0\.?/.test(e)){var a=y.tryToGetHref(t),r=o(),u=E.is_ignore_spm(t);if(u){var c=h.param2obj(a);if(c.spm&&c.spm.split)for(var l=c.spm.split("."),p=e.split("."),f=0;f<3&&p[f]===l[f];f++)2===f&&l[3]&&(e=c.spm)}t.setAttribute("data-spm-anchor-id",e);var g=A.getPvId();g&&(e+="."+g);var d="0.0";(g||r&&r!=d)&&(u||n||(a=i(a,e))&&s(t,a))}}function c(t){var e=v.tryToGetAttribute(t,T),n=m.parseSemicolonContent(e)||{};return n}function l(t){var e,n=b.getGoldlogVal("_$")||{},a=n.spm.data;return"0"==a.a&&"0"==a.b?e="0":(e=v.tryToGetAttribute(t,P),e&&e.match(/^d\w+$/)||(e="")),e}function p(t,e){for(var n=[],a=m.nodeListToArray(t.getElementsByTagName("a")),o=m.nodeListToArray(t.getElementsByTagName("area")),r=a.concat(o),i=0;i<r.length;i++){for(var s=!1,u=r[i],c=r[i];(u=u.parentNode)&&u!=t;)if(v.tryToGetAttribute(u,P)){s=!0;break}if(!s){var l=v.tryToGetAttribute(c,x);e||"t"===l?e&&"t"===l&&n.push(c):n.push(c)}}return n}function f(t){for(var e,n=t;t&&t.tagName!==S&&t.tagName!==w&&t.getAttribute;){var a=t.getAttribute(P);if(a){e=a,n=t;break}if(!(t=t.parentNode))break}return e&&!/^[\w\-\.\/]+$/.test(e)&&(e="0"),{spm_c:e,el:n}}function g(t,e){var n=parent!==self;if(!n&&e)return[t,e].join(".");if(t&&e)return t+".i"+e;var a=window.g_SPM||(window.g_SPM={}),o=a.spm_d_for_ad||{};return"number"==typeof o[t]?o[t]++:o[t]=0,a.spm_d_for_ad=o,t+".i"+o[t]}function d(t){var e;return t&&(e=t.match(/&?\bspm=([^&#]*)/))?e[1]:""}var h=n(27),_=n(28),m=n(29),v=n(23),b=n(2),y=n(103),A=n(100),E=n(104),w="BODY",S="HTML",P="data-spm",T="data-spm-click",x="data-auto-spmd",I="data-spm-anchor-id";e.getGlobalSPMId=o,e.spm_isSPMAnchorIdMatch=r,e.spm_updateHrefWithSPMId=i,e.spm_writeHref=s,e.spm_anchorEnsureSPMId_inHref=u,e.getElDataSpm=c,e.spm_getAnchor4thId_spm_d=l,e.spm_getModuleLinks=p,e.spm_spmGetParentSPMId=f,e.get_spm_for_ad=g,e.spm_getParamForAD=function(t){var e=v.tryToGetAttribute(t,I);if(!e){var n=o(),a=t.parentNode;if(!a)return"";var r=c(t)||{},i=r.locaid||"",s=t.getAttribute(P)||i,u=f(a),l=u.spm_c||0;l&&l.indexOf(".")!==-1&&(l=l.split("."),l=l[l.length-1]),e=g(n+"."+l,s)}return e},e.spm_initSPMModule=function(t,e,n,i){var s;if(e=e||t.getAttribute("data-spm")||""){var f=p(t,i);if(0!==f.length){var g=e.split("."),d=_.isStartWith(e,"110")&&3==g.length;d&&(s=g[2],g[2]="w"+(s||"0"),e=g.join("."));var h=o();if(h&&h.match(/^[\w\-\*]+(\.[\w\-\*\/]+)?$/))if(_.isContain(e,".")){if(!_.isStartWith(e,h)){var m=h.split(".");g=e.split(".");for(var b=0;b<m.length;b++)g[b]=m[b];e=g.join(".")}}else _.isContain(h,".")||(h+=".0"),e=h+"."+e;if(e.match&&e.match(/^[\w\-\*]+\.[\w\-\*\/]+\.[\w\-\*\/]+$/)){for(var A="data-auto-spmd-max-idx",E="data-spm-max-idx",w=i?A:E,S=parseInt(v.tryToGetAttribute(t,w))||0,P=0;P<f.length;P++){var x=f[P],M=y.tryToGetHref(x),C=v.tryToGetAttribute(x,T);if(i||M||C){d&&x.setAttribute("data-spm-wangpu-module-id",s);var O=x.getAttribute(I);if(O&&r(O))u(x,O,n);else{var k,L,U=a(x.parentNode);U.a_spm_ab?(L=U.a_spm_ab,k=U.ab_idx):(L=void 0,S++,k=S);var N,R=c(x)||{},j=R.locaid||"";j?N=j:(N=l(x)||k,i&&(N="at"+((_.isNumber(N)?1e3:"")+N))),O=L?e+"-"+L+"."+N:e+"."+N,u(x,O,n)}}}t.setAttribute(w,S)}}}},e.spm_dealNoneSPMLink=function(t,e){var n=b.getGlobalValue("aplus")||{},a=n.getMetaInfo("aplus-getspmcd"),r=o(),i=y.tryToGetHref(t),c=d(i),p=null,f=r&&2==r.split(".").length;if(f){var g;return"function"==typeof a&&(g=a(t,null,r)),p=g&&"0"!==g.spm_c?[r,g.spm_c,g.spm_d]:[r,0,l(t)||0],void u(t,p.join("."),e)}i&&c&&(i=i.replace(/&?\bspm=[^&#]*/g,"").replace(/&{2,}/g,"&").replace(/\?&/,"?").replace(/\?$/,"").replace(/\?#/,"#"),s(t,i))}},function(t,e,n){"use strict";var a=n(30);e.tryToGetHref=function(t){var e;try{e=a.trim(t.getAttribute("href",2))}catch(t){}return e||""}},function(t,e,n){"use strict";function a(t){return!!t&&!!t.match(/^[^\?]*\balipay\.(?:com|net)\b/i)}function o(t){return!!t&&!!t.match(/^[^\?]*\balipay\.(?:com|net)\/.*\?.*\bsign=.*/i)}function r(t){var e=location.href;return t&&e.split("#")[0]===t.split("#")[0]}function i(t){for(var e;(t=t.parentNode)&&"BODY"!==t.tagName;)if(e=u.tryToGetAttribute(t,g))return e;return""}function s(t){for(var e=["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"],n=0;n<e.length;n++)if(t.indexOf(e[n])!==-1)return!0;return!1}var u=n(23),c=n(28),l=n(103),p=n(2),f=n(105),g="data-spm-protocol";e.is_ignore_spm=function(t){var e=p.getGoldlogVal("_$")||{},n=e.meta_info||{},d=l.tryToGetHref(t),h=i(t),_=u.tryToGetAttribute(t,g),m="i"===(_||h||n.spm_protocol);if(!d||s(d))return!0;var v=r(d)||f.isStartWithProtocol(d.toLowerCase()),b=a(d)||o(d),y=v||b;return!(m||!c.isStartWith(d,"#")&&!y)||m}},function(t,e,n){var a=n(28);e.isStartWithProtocol=function(t){for(var e=["javascript:","tel:","sms:","mailto:","tmall://","#"],n=0,o=e.length;n<o;n++)if(a.isStartWith(t,e[n]))return!0;return!1}},function(t,e,n){"use strict";function a(t,e,n){var a=u.parseSemicolonContent(e,{},!0),o=a.gostr||"",r=a.locaid||"",f=t.getAttribute("data-spm")||r,g="CLK",d=a.gokey||"",h=p.spm_getSPMParam(t),_=[h.a,h.b,h.c,f].join("."),m=o+"."+_;0!==m.indexOf("/")&&(m="/"+m);var v=[],b=["gostr","locaid","gmkey","gokey","spm-cnt","cna"];for(var y in a)a.hasOwnProperty(y)&&c.indexof(b,y)===-1&&v.push(y+"="+a[y]);v.push("_g_et="+n),v.push("autosend=1"),d&&v.length>0&&(d+="&"),d+=v.length>0?v.join("&"):"",aplus&&s(aplus.recordUdata)?aplus.recordUdata(m,g,d,"GET",function(){}):l().w("aplus.recordUdata is not function!"),i.tryToSetAttribute(t,"data-spm-anchor-id",_)}function o(t,e){var n=e;window.g_SPM&&(g_SPM._current_spm=p.spm_getSPMParam(e));for(var o;e&&"HTML"!==e.tagName;){o=i.tryToGetAttribute(e,"data-spm-click");{if(o){a(e,o,"mousedown"===t.type?t.type:"tap");break}e=e.parentNode}}if(!o){var r=f.getGlobalSPMId(),s=aplus.getMetaInfo("aplus-getspmcd");"function"==typeof s&&s(n,t,r)}}var r=n(64),i=n(23),s=n(9),u=n(29),c=n(45),l=n(20),p=n(99),f=n(102);e.run=function(t){t&&t.isTouchEnabled?r.on(document,"tap",o):r.on(document,"mousedown",o)}},function(t,e,n){"use strict";function a(){for(var t=document.getElementsByTagName("iframe"),e=0;e<t.length;e++){var n=t[e],a=r.tryToGetAttribute(n,"data-spm-src");if(!n.src&&a){var o=s.spm_getSPMParam(n);if(o){var u=[o.a,o.b,o.c,o.d];o.e&&u.push(o.e),o=u.join("."),n.src=i.spm_updateHrefWithSPMId(a,o)}else n.src=a}}}function o(){function t(){e++,e>10&&(n=3e3),a(),setTimeout(t,n)}var e=0,n=500;t()}var r=n(23),i=n(102),s=n(99);e.run=function(t){t&&!t.isTerminal&&o()}},function(t,e,n){"use strict";function a(t,e){for(var n,a=window;e&&(n=e.tagName);){if("A"===n||"AREA"===n){r.spm_spmAnchorChk(e,!1);var o=a.g_SPM||(a.g_SPM={}),i=o._current_spm=r.spm_getSPMParam(e),s=[];try{s=[i.a,i.b,i.c,i.d];var u=i.e||aplus.pvid||"";u&&s.push(u)}catch(t){}break}if("BODY"==n||"HTML"==n)break;e=e.parentNode}}var o=n(64),r=n(99);e.run=function(t){var e=document;t&&t.isTouchEnabled?o.on(e,"tapSpm",a):(o.on(e,"mousedown",a),o.on(e,"keydown",a))}},function(t,e,n){"use strict";function a(t,e){if(e||(e=p),p.evaluate)return e.evaluate(t,p,null,9,null).singleNodeValue;for(var n,o=t.split("/");!n&&o.length>0;)n=o.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===o.length?e:a(o.join("/"),e):null}function o(){var t={};for(var e in l)if(l.hasOwnProperty(e)){var n=a(e);if(n){t[e]=1;var o=l[e],r="A"===n.tagName?o.spmd:o.spmc;s.tryToSetAttribute(n,"data-spm",r||"")}}for(var i in t)t.hasOwnProperty(i)&&delete l[i]}function r(){if(!c&&f.spmData){c=!0;var t=f.spmData.data;if(t&&i.isArray(t)){for(var e=0;e<t.length;e++){var n=t[e],a=n.xpath;a=a.replace(/^id\('(.+?)'\)(.*)/g,"//*[@id='$1']$2"),l[a]={spmc:n.spmc,spmd:n.spmd}}o()}}}var i=n(45),s=n(23),u=n(64),c=!1,l={},p=document,f=window;e.wh_updateXPathElements=o,e.init_wh=r,e.run=function(){u.DOMReady(function(){r()})}},function(t,e,n){"use strict";function a(){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=aplus._$.meta_info;t=n["data-spm"]||n["spm-id"]||"0";var a=t.split(".");a.length>1&&(t=a[0],e=a[1]),c.setA(t),e&&c.setB(e);var o=i.getElementsByTagName("body");o=o&&o.length?o[0]:null,o&&(e=l.tryToGetAttribute(o,"data-spm"),e?c.setB(e):1===a.length&&c.setAB("0","0"))}}function o(){var t=s.data.a,e=s.data.b;t&&e&&(aplus.spm_ab=[t,e])}var r=window,i=document,s={},u={};s.data=u;var c={},l=n(23),p=n(17),f=n(100),g=n(37),d=location.href;c.setA=function(t){s.data.a=t,o()},c.setB=function(t){s.data.b=t,o()},c.setAB=function(t,e){s.data.a=t,s.data.b=e,o()};var h=function(t){var e=t.aplus||window.aplus||{},n=e.meta_info||{};s.meta_protocol=n.spm_protocol;var o,r=e.spm_ab||[],i=r[0]||"0",u=r[1]||"0";"0"===i&&"0"===u&&(a(),i=s.data.a||"0",u=s.data.b||"0"),o=[s.data.a,s.data.b].join("."),s.spm_cnt=(o||"0.0")+".0.0";var c=t.send_pv_count>0?f.makePVId():e.pvid;return c&&(s.spm_cnt+="."+c),e._$.spm=s,c};c.spaInit=function(t,e,n){var a=s.spm_url,o=window.g_SPM||{},r=t._$||{},i=r.send_pv_count,u=h({aplus:t,meta_info:e,send_pv_count:i});s.spm_cnt=s.data.a+"."+s.data.b+".0.0"+(u?"."+u:"");var c=e["aplus-spm-fixed"];if("1"!==c){s.spm_pre=p.getSPMFromUrl(g.getRefer(t.globalConfig.NAME_STORAGE_KEYS)),s.origin_spm_pre=s.spm_pre,s.spm_url=p.getSPMFromUrl(location.href),s.origin_spm_url=s.spm_url;var l=o._current_spm||{};l&&l.a&&"0"!==l.a&&l.b&&"0"!==l.b?(s.spm_url=[l.a,l.b,l.c,l.d,l.e].join("."),s.spm_pre=a):i>0&&n&&"0"!==n[0]&&"0"!==n[1]&&(s.spm_url=n.concat(["0","0"]).join("."),s.spm_pre=a),o._current_spm={}}},c.init=function(t,e){return s.spm_url=p.getSPMFromUrl(d),s.spm_pre=p.getSPMFromUrl(g.getRefer(t.globalConfig.NAME_STORAGE_KEYS)),h({aplus:t,meta_info:e})},c.resetSpmCntPvid=function(){var t=aplus.spm_ab;if(t&&2===t.length){var e=t.join(".")+".0.0",n=f.makePVId();n&&(e=e+"."+n),s.spm_cnt=e,s.spm_url=e,aplus._$.spm=s}},e.run=function(){var t=aplus._$||{},e=t.meta_info;return c.init(aplus,e),c}},function(t,e,n){"use strict";t.exports=function(){return{run:function(){n(112)(this.options.context.logConfig)}}}},function(t,e,n){"use strict";var a=n(36),o=n(2);t.exports=function(t){var e=o.getGlobalValue("aplus");if(!e._aplus_api){e._aplus_api={status:"complete"};var r=n(113).run.create({logConfig:t});for(var i in r)e[i]=r[i];n(100).makePVId();var s=["aplusReady","complete"];a.doPubMsg(s),a.doCachePubs(s)}}},function(t,e,n){"use strict";function a(){var t=5e3;try{var e=g.getGlobalValue("aplus"),n=e.getMetaInfo("aplus-mmstat-timeout");if(n){var a=parseInt(n);a>=1e3&&a<=1e4&&(t=a)}}catch(t){}return t}function o(t,e,n){var a=t[0],o=t[1],r=(n||{}).spm,i=(n||{}).logkey,s=1;if(r&&r[a]){var u=r[a];s=u.cp,u[o]&&(s=u[o].cp)}else i&&i[e]&&(s=i[e]);var c=Math.ceil(Math.random()*Math.floor(1/s));return c}var r=document,i=n(10),s=n(71),u=n(64),c=n(34),l=n(20),p=n(36),f=n(28),g=n(2),d=n(9),h=n(3),_=n(21),m=n(114),v=n(45),b=n(88),y=n(117),A=n(26),E=n(118),w=[],S=[],P=[],T=[],x=function(){};e.run=i.extend({beforeSendPV:function(t){w.push(t)},afterSendPV:function(t){S.push(t)},launch:function(){c.logger({msg:"warning: This interface is deprecated, can not send pv log, please use goldlog.sendPV instead! API: http://log.alibaba-inc.com/log/info.htm?type=2277&id=31"})},send:function(t,e,n){var o,r=g.getGlobalValue("aplus");if(/^\/\//.test(t)){var i=h.HTTPS;/^\/\/(\d+\.){3,}\d+/.test(t)&&(i="http:"),t=i+t}return o="POST"===n&&navigator&&navigator.sendBeacon?E.postData(t,e):E.sendImg(t+"?"+e,a()),r.req=o,o},sendPV:function(t,e){if(t=t||{},f.any(w,function(e){return e(n,t)===!1}))return!1;var n=g.getGlobalValue("aplus"),a=n.getMetaInfo(h.APLUS_SKIP_APV_RULES)||[];if(!v.itemMatch(a,location.href)||!t.is_auto){var o=new m;t.recordType="PV";var r=n.globalConfig.isUM,i=n.globalConfig.isAli;(i||r)&&"GET"!==t.method&&(t.method="POST");var s=n.logConfig.pv;return o.run({plugins:s.plugins,context:f.cloneDeep(s.context)},{config:t,userdata:e,pubsubType:"pv",messageFnQueue:S,middlewareMessageKey:"mw_change_pv"}),!0}},pageEnter:function(t){_.pushIntoGoldlogQueue(h.PUBLISH,[h.PAGE_ENTER,t]),_.pushIntoGoldlogQueue(h.CACHE_PUBS,[h.PAGE_ENTER,t])},getParam:function(t){var e=window.WindVane||{},n=e&&"function"==typeof e.getParam?e.getParam(t):"";return n},beforeRecord:function(t){P.push(t)},afterRecord:function(t){T.push(t)},record:function(t,e,n,a,r){var i=g.getGlobalValue("aplus"),s=i.globalConfig.isAli,u=i.globalConfig.isUM;if(t&&0!==t.indexOf("/")&&s&&(t="/"+t),f.any(P,function(t){return t(i)===!1}))return!1;var c=1,l=i.spm_ab instanceof Array;if(s&&l&&i.spm_ab.length>1&&(c=o(i.spm_ab,t,i.getMetaInfo("aplus-report-rate"))),
1===c){var p=new m,h=i.logConfig.hjlj;return u?(b.canToSendHJLJ(n,t)&&p.run({plugins:h.plugins,context:f.cloneDeep(h.context)},{config:{recordType:"COMMON_HJLJ",method:u?a||"POST":a},userdata:{logkey:t,gmkey:e,gokey:n||{}},pubsubType:"hjlj",messageFnQueue:T,middlewareMessageKey:"mw_change_hjlj"},function(){d(r)&&r()}),!0):(p.run({plugins:h.plugins,context:f.cloneDeep(h.context)},{config:{recordType:"COMMON_HJLJ",method:u?a||"POST":a},userdata:{logkey:t,gmkey:e,gokey:n||{}},pubsubType:"hjlj",messageFnQueue:T,middlewareMessageKey:"mw_change_hjlj"},function(){d(r)&&r()}),!0)}return!1},recordUdata:function(t,e,n,a,o){var r=g.getGlobalValue("aplus"),i=new m,s=r.logConfig.hjlj,u=r.globalConfig.isAli;return i.run({plugins:s.plugins,context:f.cloneDeep(s.context)},{config:{recordType:"DATACLICK_HJLJ",method:u?a:a||"POST"},userdata:{logkey:t,gmkey:e,gokey:n||{}},pubsubType:"hjlj",messageFnQueue:T,middlewareMessageKey:"mw_change_hjlj"},function(){d(o)&&o()}),!0},setPageSPM:function(t,e,n){var a=g.getGlobalValue("aplus"),o=a.getMetaInfo("aplus-spm-fixed"),r="function"==typeof n?n:function(){};a.spm_ab=a.spm_ab||[];var i=f.cloneDeep(a.spm_ab);t&&(a.spm_ab[0]=""+t,a._$.spm.data.a=""+t),e&&(a.spm_ab[1]=""+e,a._$.spm.data.b=""+e);var s=A.qGet();if(a.spmAPI&&a.spmAPI.spaInit(a,s,i),"1"!==o){var u=i.join(".");a.spmab_pre=u}var c=["setPageSPM",{spmab_pre:a.spmab_pre,spmab:a.spm_ab.join(".")}];p.doPubMsg(c),p.doCachePubs(c),y.resetMetaAndBody(),y.resetModules(),r()},getPageSPM:function(){var t=g.getGlobalValue("aplus");return t.spm_ab},setMetaInfo:function(t,e,n){var a,o,r="OVERWRITE",i=r;if("object"==typeof t?(a=t.metaName,o=t.metaValue,i=t.mode||r):(a=t,o=e),i!==r)return this.appendMetaInfo(a,o);if(A.setMetaInfo(a,o,n)){var s=g.getGoldlogVal("_$")||{};s.meta_info=A.qGet();var u=g.setGoldlogVal("_$",s),c=["setMetaInfo",a,o,n];return p.doPubMsg(c),p.doCachePubs(c),u}},appendMetaInfo:A.appendMetaInfo,updatePageProperties:function(t){var e=g.getGlobalValue("aplus");t&&"object"==typeof t?(t._page&&(t.pageName=t._page,e.setMetaInfo("aplus-pagename",t.pageName),delete t._page),e.appendMetaInfo("aplus-cpvdata",t)):l().w("warning: typeof updatePageProperties's params must be object")},updateNextPageProperties:function(t){var e=g.getGlobalValue("aplus");"object"==typeof t?e.appendMetaInfo("aplus-nextpage-properties",t):l().w("warning: typeof updateNextPageProperties's params must be object")},getMetaInfo:function(t){return A.getMetaInfo(t)},on:u.on,cloneDeep:f.cloneDeep,setCookie:s.setCookie,getCookie:s.getCookie,pageAppear:x,pageDisappear:x,updatePageUtparam:x,updateNextPageUtparam:x,updateSessionProperties:function(t){var e=g.getGlobalValue("aplus");"object"==typeof t&&e.setMetaInfo("_session_args",t)},setPageName:function(t){if(!t||"string"!=typeof t)return void l().w("setPageName failed:  pagename="+t);var e=r.querySelector("body");try{e.setAttribute("data-pagename",t)}catch(t){l().w("setPageName failed:  err="+t)}},getPageName:function(){return window.document.body&&window.document.body.dataset&&window.document.body.dataset.pagename?window.document.body.dataset.pagename:""},getElementSPM:function(t){if(t&&t.dataset)return t.getAttribute("data-spm-anchor-id")},recordAppLink:function(t,e,n){if(!t.targetAppKey)return l().w("send $$_app_link failed: targetAppKey is null"),!1;var a=g.getGlobalValue("aplus");return a.record("$$_app_link","OTHER",t,e,n)}})},function(t,e,n){"use strict";var a=n(18),o=n(2),r=n(9),i=n(36),s=n(34),u=n(3),c=n(115),l=n(116),p=function(){};p.prototype.run=function(t,e,n){var p=new l;p.init({middleware:[],config:e.config,plugins:t.plugins});var f=p.run(),g=r(t.context)?new t.context:t.context;g.userdata=e.userdata,g.logger=s.logger;var d={context:g,pubsub:o.getGoldlogVal("aplus_pubsub"),pubsubType:e&&e.pubsubType},h=new c;h.create(d),h.wrap(f,function(){d.context.status=u.COMPLETE,e&&(e.middlewareMessageKey&&i.doPubMsg([e.middlewareMessageKey,d.context]),e.messageFnQueue&&a(e.messageFnQueue,function(e){e(o.getGlobalValue(u.APLUS),t)})),r(n)&&n(d.context)})()},t.exports=p},function(t,e,n){"use strict";function a(){}var o=n(9),r=n(45),i=n(20);a.prototype.create=function(t){for(var e in t)"undefined"==typeof this[e]&&(this[e]=t[e]);return this},a.prototype.calledList=[],a.prototype.setCalledList=function(t){r.indexof(this.calledList,t)===-1&&this.calledList.push(t)},a.prototype.resetCalledList=function(){this.calledList=[]},a.prototype.wrap=function(t,e){var n=this,a=this.context||{},s=a.compose||{},u=s.maxTimeout||1e4;return function(a){var s,c=t.length,l=0,p=0,f=function(g,d){if(l===c)return a="done",n.resetCalledList(),o(e)&&d!==a&&e.call(n,a),void clearTimeout(s);if(r.indexof(n.calledList,l)===-1){if(n.setCalledList&&n.setCalledList(l),!(t&&t[l]&&o(t[l][0])))return;try{a=t[l][0].call(n,a,function(){l++,p=1,f(l)})}catch(t){i().w(t)}}var h="number"==typeof a;if("pause"===a||h){p=0;var _=h?a:u,m=t[l]?t[l][1]:"";s=setTimeout(function(){0===p&&(i().w("jump the middleware about "+m+", because waiting timeout maxTimeout = "+_),a=null,l++,f(l))},_)}else"done"===a?(l=c,f(l,a)):(l++,f(l))};return n.calledList&&n.calledList.length>0&&n.resetCalledList(),f(l)}},t.exports=a},function(t,e,n){"use strict";var a=n(13),o=n(20);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){o().w(t)}},run:function(t){t||(t=0);var e=this,n=this.middleware,o=this.opts||{},r=o.plugins;if(r&&"object"==typeof r&&r.length>0){var i=r[t];if(this.plugins_name.push(i.name),n.push([function(t,n){e.pubsubInfo(this,i);var r=new i.path;return r.init||(r.init=function(t){this.options=t}),r.init({context:this.context,config:a(i.config||{},o.config)}),r.run(t,function(t){setTimeout(function(){n(i,t)},1)})},i.name]),t++,r[t])return this.run(t)}return n}}}},function(t,e,n){function a(t){var e,n,a,o,r=u.getElementsByTagName("meta");for(e=0,n=r.length;e<n;e++)if(a=r[e],o=a.getAttribute("name"),o===t)return a}function o(){var t=u.createElement("meta");t.setAttribute("name","data-spm");var e=u.getElementsByTagName("head")[0];return e&&e.insertBefore(t,e.firstChild),t}function r(){var t=s.getGlobalValue("aplus"),e=a("data-spm"),n=a("spm-id"),r=e||n;r||(e=o()),e&&e.setAttribute("content",t.spm_ab[0]||""),n&&n.setAttribute("content",(t.spm_ab||[]).join("."));var i=u.getElementsByTagName("body")[0];i&&i.setAttribute("data-spm",t.spm_ab[1]||"")}function i(){var t,e,n,a=u.getElementsByTagName("*");for(t=0,e=a.length;t<e;t++)n=a[t],n.getAttribute("data-spm-max-idx")&&n.setAttribute("data-spm-max-idx",""),n.getAttribute("data-spm-anchor-id")&&n.setAttribute("data-spm-anchor-id","")}var s=n(2),u=document;e.resetMetaAndBody=r,e.resetModules=i},function(t,e){"use strict";e.sendImg=function(t,e){var n=window||{},a=new Image,o="_img_"+Math.random();n[o]=a;var r=function(){if(n[o])try{delete n[o]}catch(t){n[o]=void 0}};return a.onload=function(){r()},a.onerror=function(){r()},setTimeout(function(){window[o]&&(window[o].src="",r())},e||5e3),a.src=t,a=null,t},e.postData=function(t,e){return navigator.sendBeacon(t,e),t}},function(t,e,n){"use strict";var a=n(120),o=n(2);t.exports=function(){return{run:function(){var t=this.options.context.aplus_config,e=t.globalConfig.APLUS_QUEUE,n=o.getContext(),r=n[e]||[],i=a.getFormatQueue(r,"metaQueue");n[e]=i.queue,a.processGoldlogQueue(i.formatQueue,this.options.config)}}}},function(t,e,n){function a(){var t=u.getGoldlogVal("_$")||{},e=t.meta_info;return e}function o(){var t=a()||{},e=t.uaid+"";return"1"!==e||t._anony_id?t._hold||t["aplus-waiting"]:"BLOCK"}function r(t){var e=o(),n=a()||{},r=!0,i=t.arguments||[],s=i[0],u=i[1],c="START";if("_hold"===s&&u===c)return c;if("_anony_id"===s&&u)return c;if(t&&/sendPV|record|setPageSPM|setMetaInfo|appendMetaInfo$/.test(t.action))switch(e){case"BLOCK":n[e]||(_.push(t),r=!1)}return r}function i(t){g(d,t),g(h,t),g(_,t)}function s(t,e){return e&&f.openAPIs.indexOf(t)>-1&&(t="_"+t),t}var u=n(2),c=n(45),l=n(9),p=n(20),f=n(3),g=function(t,e){function n(){if(t&&c.isArray(t)&&t.length){for(var n=v(t).queue,a={},o=[];a=n.shift();)m(a,e,function(t){o.push(t)});o.length>0&&setTimeout(function(){for(;a=o.shift();)m(a,e)},100)}}try{n()}catch(t){p().w(t)}};e.processGoldlogQueue=g;var d=[],h=[],_=[];e.subscribeAndProcessQueue=function(t,e){var n=u.getGlobalValue(t);n.push({action:f.SUBSCRIBE,arguments:[f.SET_META_INFO,function(t,n){t===f._USER_ID&&n?g(d,e):t===f._ANONY_ID&&n?g(h,e):"_hold"===t&&"START"===n&&i(e)}]})};var m=function(t,e,n){var a=!!e.isOpenApi,o=t?t.action:"",f=t?t.arguments:"",g=r(t);if(g){var d=u.getContext();try{if(o&&f&&c.isArray(f)){var h,_=o.split("."),m=d,v=d;if(3===_.length)m=d[_[0]][_[1]]||{},h=s(_[2],a),v=m[h]?m[h]:"";else for(;_.length;)if(h=s(_.shift(),a),v=m=m[h],!m)return void(l(n)&&n(t));l(v)&&v.apply(m,f),"START"===g&&i(e)}}catch(t){p().w(t)}}};e.processTask=m;var v=function(t,e){for(var n={subscribeMwChangeQueue:[],subscribeMetaQueue:[],subscribeQueue:[],metaQueue:[],othersQueue:[]},a=[],o={};o=t.shift();)try{var r=o.action,i=o.arguments[0];/subscribe/.test(r)?"setMetaInfo"===i?n.subscribeMetaQueue.push(o):i===f.MW_CHANGE_PV||i===f.MW_CHANGE_HJLJ?n.subscribeMwChangeQueue.push(o):n.subscribeQueue.push(o):/MetaInfo/.test(r)?n.metaQueue.push(o):n.othersQueue.push(o)}catch(t){p().w(t),n.othersQueue.push(o)}var s;return e&&n[e]&&(s=n[e],n[e]=[]),a=n.subscribeMwChangeQueue.concat(n.metaQueue),a=a.concat(n.subscribeQueue),a=a.concat(n.subscribeMetaQueue,n.othersQueue),{queue:a,formatQueue:s}};e.getFormatQueue=v},function(t,e,n){"use strict";var a=n(29),o=n(46),r=n(74),i=n(31);t.exports=function(){return{run:function(){var t=this,e=this.options.context.aplus_config;if(i.test()){var n=a.getLsCna(e.globalConfig.ETAG_STORAGE_KEY,t.today);n||setTimeout(function(){var n=aplus._$.meta_info["aplus-rhost-v"];if(n){t.options.context.etag.egUrl=n.replace(/\/\w+.gif$/,"")+"/eg.js";var i=r.getUrl(t.options.context.etag||{});o.loadScript(i,function(n){n&&"error"!==n.type&&a.setLsCna(e.globalConfig.ETAG_STORAGE_KEY,t.today,aplus.Etag)})}},1e3)}}}}},function(t,e,n){"use strict";var a=n(10),o=n(2),r=n(120),i=a.extend({push:function(t){this.length++,r.processTask(t,this.opts)}});t.exports=function(){return{processAplusQueue:function(t){var e=this.options.config||{},n=o.getGlobalValue(t);r.processGoldlogQueue(n,e),o.setGlobalValue(t,i.create({opts:e,startLength:n.length,length:0}))},run:function(){var t=this.options.context.aplus_config,e=t.globalConfig.APLUS_QUEUE;this.processAplusQueue(e),"aplus_queue"===e&&this.processAplusQueue("goldlog_queue"),r.subscribeAndProcessQueue(e,this.options.config)}}}},function(t,e,n){"use strict";var a=n(18),o=n(46),r=n(45);t.exports=function(){return{init:function(t){this.options=t},addStyle:function(t,e){var n=t+"_style",a=document.getElementById(n);a||(a=document.createElement("link"),a.id=n,a.href=e,a.rel="stylesheet",a.type="text/css",document.getElementsByTagName("head").item(0).appendChild(a))},run:function(){var t=this,e=parent!==self,n=this.options.config||{};!e&&n.urlRules&&a(n.urlRules,function(e){var n,i=new RegExp(e.rule);try{n=e.id?window.sessionStorage.getItem(e.id):""}catch(t){}if(i.test(location.href)||n){try{window.sessionStorage.setItem(e.id,!0)}catch(t){}r.isArray(e.cdnPath)?a(e.cdnPath,function(n){/\.css$/.test(n)?t.addStyle(e.id,n):/\.js/.test(n)&&o.addScript(n)}):o.addScript(e.cdnPath)}})}}}},function(t,e,n){"use strict";var a=n(46),o=n(64),r=document;t.exports=function(){return{run:function(){var t=this.options.config||{},e=(new Date).getTime(),n=Math.floor(e/72e5),i=r.getElementById("aplus-sufei"),s=aplus._$||{},u=aplus&&aplus.getCdnPath?aplus.getCdnPath():t.cdnPath,c=u+"/alilog/aplus_plugin_xwj/index.js?t="+n,l=u+"/alilog/oneplus/entry.js?t="+n,p=u+"/alilog/stat/a.js?t="+n,f=u+"/secdev/entry/index.js?t="+n,g=u+"/alilog/mlog/wp_beacon.js?t="+n,d=u+"/sd/baxia-entry/index.js?t="+n,h=s.meta_info,_=function(){a.addScript(p),a.addScript(g),a.addScript(c),a.addScript(l)},m=function(){Math.random()<.01&&a.addScript(p),h.ms_data_instance_id&&h.ms_prototype_id&&h.ms_prototype_id.match(/^[124]$/)&&h.ms_data_shop_id&&a.addScript(g);var t=h["aplus-rate-ahot"];(Math.random()<t||h["ahot-aplus"])&&a.addScript(c),a.addScript(l)},v=h["aplus-xplug"];o.onload(function(){try{switch(v){case"NONE":break;case"ALL":_();break;default:m()}}catch(t){}}),"NONE"!==v&&(a.addScript(d,"","aplus-baxia"),setTimeout(function(){i&&"script"==i.tagName.toLowerCase()||a.addScript(f,"","aplus-sufei")},10))}}}},function(t,e,n){"use strict";t.exports=function(){return{run:function(){aplus._aplus_cplugin_webvt||n(126)()}}}},function(t,e,n){"use strict";var a=n(2);t.exports=function(){var t=a.getGlobalValue("aplus"),e=a.getGlobalValue("aplus_queue");t._aplus_apv||(t._aplus_apv={status:"complete"},e.push({action:"aplus.sendPV",arguments:[{is_auto:!0}]}))}},function(t,e,n){"use strict";t.exports=function(t){try{var e=window,a="g_tb_aplus_loaded";if(e[a])return;e[a]=1,n(128).isDebugAplus();var o=n(20),r=n(36),i=n(28),s=n(18),u=n(129),c="running",l=["aplusReady",c];r.doPubMsg(l),u.run({plugins:t.plugins,context:function(){var e={PAGE_LOAD_TIME:new Date},n=[];return s(t.plugins,function(t){e[t.name]=t.config||{},"aplus_log_inject"===t.name&&t.config&&t.config.plugins&&(n=t.config.plugins.pv,s(n,function(t){e[t.name]=t.config}))}),i.assign(e,{aplus_config:t})}},function(){o().v("APLUS INIT SUCCESS")})}catch(t){}}},function(t,e,n){"use strict";var a,o=n(2),r=n(20);e.isDebugAplus=function(t){if("boolean"==typeof a)return a;if("boolean"==typeof t&&(a=t),localStorage&&location){var e=location.href.match(/aplusDebug=(true|false)/);e&&e.length>0&&localStorage.setItem("aplusDebug",e[1]),a="true"===localStorage.getItem("aplusDebug")}else a=!1;return o.setGoldlogVal("aplusDebug",a),a&&r().setDebug(a),a}},function(t,e,n){"use strict";var a=n(114),o=n(9),r=n(36);e.run=function(t,e){var n=new a;n.run({plugins:t.plugins,context:t.context},{config:{},userdata:{},pubsubType:"aplusinit",messageFnQueue:[],middlewareMessageKey:"mw_change_aplusinit"},function(t){var n=["aplusInitContext",t];r.doPubMsg(n),r.doCachePubs(n),o(e)&&e(t)})}}]);