/*! 2025-12-02 11:27:13 aplus_pc.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(156)(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{"undefined"!=typeof window&&(a=window,c=!0)}catch(t){a={},c=!1}e.getContext=function(){return a},e.isWeb=function(){return"undefined"!=typeof window&&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",m="2202",_="19999",h="1023",v="1010",b=3e4,y=18e5,S="ekvs",A=1e4,E=1,T=1,I=3e3,P="$$_page_start",w="$$_page_end",C="$$_app_start",M="$$_app_end",x="aplus_user_profile",O="imprint",L=n+"-idtype",U=n+"-jsbridge-only",k=n+"-page-config",R=n+"-skip-apv-rules",N=n+"-rhost-v",G=n+"-rhost-g",D=n+"-forward-domain",V=n+"-forward-event-filter",j="autoGetOpenid",F=n+"-forward-appkey";t.exports={PAGE_ENTER:"PAGE_ENTER",ETAG_EVENT_NAME:"etag",CURRENT_PAGE_CONFIG:"CURRENT_PAGE_CONFIG",_ANONY_ID:"_anony_id",_DEV_ID:"_dev_id",_USER_ID:"_user_id",_CNA:"cna",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:m,CLK:g,OTHER:_,SHOW:h,H_OR_U:v},APLUS:n,APLUS_CONFIG:"APLUS_CONFIG",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",openAPIs:["send","enter","sendPV","record","combineRecord","recordUdata","requestVTConfig","requestRemoteConfig","setPageSPM","setMetaInfo","appendMetaInfo","updatePageProperties","updateNextPageProperties","updatePageUtparam","updateNextPageUtparam","pageAppear","pageDisappear","pageDisAppear","skipPage","updatePageName","updatePageUrl","requestPageAllProperties","updateSessionProperties","getPageSpmUrl","getPageSpmPre","updateNextPageUtparamCnt","setPageName","getElementSPM","getAutoElementSPM","setUserProfile","getUserProfile","getCna"],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",ARMS_TRACE:"_arms_trace",EKVS:S,EVENT_MAX_COUNT:A,MEMORY_MAX_COUNT:E,MAX_QUEUE_COUNT:T,EVENT_SEND_DEFAULT_INTERVAL:I,PAGE_START:P,PAGE_END:w,APP_START:C,APP_END:M,USER_PROFILE_KEY:x,SHARE_CACHE_INTERVAL:y,IMPRINT:O,ID_TYPE:L,GLOBAL_PROPERTY:"globalproperty",JSBRIDGE_ONLY:U,PAGE_CONFIG:k,APLUS_SKIP_APV_RULES:R,APLUS_PV_DOMAIN:N,APLUS_EKV_DOMAIN:G,APLUS_FORWARD_DOMAIN:D,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_DOM_CHANGE:"APLUS_DOM_CHANGE",APLUS_PAGE_CHANGE:"APLUS_PAGE_CHANGE",PERFORMANCE_WARING:"$$_perf_warning",START_ID:"START_ID",AUTO_GET_OPENID:j,APLUS_LATEAST_UTM:"APLUS_LATEAST_UTM",APLUS_FORWARD_EVENT_FILTER:V,APLUS_FORWARD_APPKEY:F,APLUS_RHOST_V:n+"-rhost-v",APLUS_CPVDATA:n+"-cpvdata",APLUS_EXDATA:n+"-exdata",APLUS_EXINFO:n+"-exinfo",APLUS_LOG_PIPE:n+"-log-pipe",APLUS_TRACK_COMBINE:n+"-track-combine",APLUS_COOKIES:n+"-cookies",APLUS_CODELESS_TRACK_CONFIG:"_"+n+"_codeless_track_config",APLUS_AUTO_CLK:n+"-auto-clk",APLUS_AUTO_EXP:n+"-auto-exp",APLUS_AUTO_PV:n+"-auto-pv",APLUS_BRIDGE_NAME:n+"-bridge-name",APLUS_MINI_REQUEST_TIMEOUT:n+"-request-timeout",APLUS_VT_CONFIG_URL:n+"-vt-cfg-url",APLUS_EXPOSURE_EVENT_CAN_REPEAT:n+"-exposure-event-can-repeat",APLUS_IGNORE_LIFECYCLES:n+"-ignore-lifecycles",APLUS_TRACK_DEBUG_ID:n+"-track-debug-id",APLUS_SINGLE_RECORD_LOGKEYS:n+"-single-record-logkeys",APLUS_GOKEY_ISOLATE:n+"-gokey-isolate",APLUS_AUTOTRACK_ENABLED:n+"-autotrack-enabled",APLUS_AUTOTRACK_ENABLED_REMOTE:n+"-autotrack-enabled-remote",APLUS_AUTOTRACK_CONFIG:n+"-autotrack-config",APLUS_AUTO_TRACK_CONFIG_IMPORT:n+"-auto-track-config-import",APLUS_AUTOTRACK_CONFIG_REMOTE:n+"-autotrack-config-remote",APLUS_EVENT_LIMITRATES:n+"-event-limitrates",APLUS_DISABLE_AUTOEVENT:n+"-disable-autoevent",APLUS_DISABLE_AUTOEVENT_REMOTE:n+"-disable-autoevent",APLUS_DISABLE_AUTOPV:n+"-disable-apv",APLUS_DISABLE_AUTOPV_REMOTE:n+"-disable-apv-remote",APLUS_DEVICE_ENABLE:n+"-device-enable",APLUS_USER_PROFILE:n+"-user-profile",APLUS_CNA_ENABLE:n+"-cna-enable",APLUS_CNA_MODE:n+"-cna-mode",APLUS_ETAG_TIMEOUT:n+"-etag-timeout",APLUS_SPA_TYPE:n+"-spa-type",APLUS_MONITOR_ENABLE:n+"-monitor-enable",APLUS_OBSERVATIONS:"_"+n+"_observations",APLUS_REPORT_RATE:n+"-report-rate",APLUS_CNA_MONITOR:n+"-cna-monitor",APLUS_MMSTAT_TIMEOUT:n+"-mmstat-timeout",APLUS_REMOTE_CONTROL:n+"-remote-control",APLUS_CNA_STABILITY:n+"-cna-stability",APLUS_AUTO_PID:n+"-auto-pid"}},function(t,e,n){t.exports={metaInfo:{"aplus-ifr-pv":"0","aplus-rhost-v":"log.mmstat.com","aplus-rhost-g":"gm.mmstat.com","aplus-channel":"WS",appId:"60506758",sdkId:"customSdkId","aplus-cpvdata":{},"aplus-exdata":{},"aplus-globaldata":{},"aplus-mmstat-timeout":"10000","aplus-toUT":"auto","aplus-track-combine":"on","aplus-vt-auto-userfn-enable":"on","aplus-cna-enable":"on","aplus-cna-mode":"CK","aplus-auto-track-config-import":"off","aplus-form-track":"off","aplus-gokey-isolate":"on","aplus-only-update-page-properties":"off","aplus-spm-from-url":"on","aplus-user-profile":{},"aplus-report-rate":{},"aplus-single-record-logkeys":[],"aplus-cross-day-auto-pv":"off","aplus-cna-monitor":"off","aplus-cna-stability":"off","aplus-auto-pid":"on","aplus-monitor-enable":"off","aplus-remote-control":"on"},globalConfig:{isAli:!0,APLUS_QUEUE:"aplus_queue",ETAG_STORAGE_KEY:"__ETAG__CNA__ID__",script_name:"aplus.js",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"},lver:"1.13.27"},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(49)},{name:"aplus_observer",path:n(51)},{name:"aplus_ac",path:n(53)},{name:"aplus_ae",path:n(72)},{name:"name_storage",path:n(80)},{name:"record_lost_pv",path:n(83),config:{lostPvRecordRatio:.01}},{name:"aplus_monitor",path:n(85),config:{obsoleteInterRecordRatio:"0.01",jsErrorRecordRatio:"0.01",browserSupportRatio:"0.01"}},{name:"aplus_web_http_ali",path:n(92)},{name:"aplus_log_inject",path:n(95),deps:["aplus_meta_inject"],config:{plugins:{pv:[{name:"etag",path:n(96)},{name:"pha_trackinfo",path:n(100)},{name:"when_to_sendpv",path:n(101),config:{aplusWaiting:""}},{name:"where_to_send",path:n(102),config:{method:"GET",url:"//log.mmstat.com/v.gif"}},{name:"what_to_send",path:n(103),config:{pvdataToUt:{}}},{name:"cookie_data",path:n(104)},{name:"what_to_sendpv_userdata",path:n(105),deps:["what_to_send"]},{name:"what_to_sendpv_userdata_web",path:n(106),deps:["what_to_send","what_to_sendpv_userdata"]},{name:"what_to_sendpv_ut2",path:n(108),deps:["what_to_send"]},{name:"can_to_sendpv",path:n(109),config:{flag:"NO"}},{name:"after_pv",path:n(114)}],hjlj:[{name:"etag",path:n(96)},{name:"pha_trackinfo",path:n(100)},{name:"where_to_send",path:n(102),deps:[],config:{method:"GET",url:"//gm.mmstat.com/",ac_atpanel:"//ac.mmstat.com/",tblogUrl:"//log.mmstat.com/"}},{name:"what_to_send",path:n(103),deps:[]},{name:"cookie_data",path:n(104)},{name:"what_to_hjlj_userdata",path:n(115),deps:["what_to_send"]},{name:"what_to_hjlj_userdata_web",path:n(116),deps:["what_to_send","what_to_hjlj_userdata"]},{name:"what_to_hjlj_ut2",path:n(117),deps:["what_to_send"]}]}}},{name:"aplus_spm_inject",path:n(118)},{name:"aplus_api",path:n(132)},{name:"meta_queue",path:n(141)},{name:"etag",path:n(96)},{name:"etag_web_sync",path:n(143)},{name:"aplus_queue",path:n(144)},{name:"hot_loader",path:n(145),config:{urlRules:[{id:"aplus_webvt_messager",rule:"aplus_webvt_messager",cacheType:"sessionStorage",cdnPath:["https://d.alicdn.com/alilog/mlog/aplus_webvt_messager.js","https://d.alicdn.com/alilog/mlog/aplus_track_debug.js"]},{id:"aplus_track_debug_id",cacheType:"sessionStorage",rule:"aplus_track_debug_id",cdnPath:["https://d.alicdn.com/alilog/mlog/aplus_track_debug.js"]},{id:"aplus_auto_register",rule:"aplus_auto_register=true",cacheType:"sessionStorage",allowIframeLoad:!0,cdnPath:["https://d.alicdn.com/alilog/aplus/1.13.9/plugin/aplus_auto_register.js"]},{id:"aplus_heat",rule:"aplus_heat=true",cacheType:"cookie",allowIframeLoad:!0,cdnPath:["https://o.alicdn.com/alilog/aplus-visual-client/heat.js"]}]}},{name:"hot_sufei_pc",path:n(146)},{name:"aplus_apv",path:n(147),deps:["aplus_log_inject","aplus_api"]},{name:"aplus_form_track",path:n(150)}]}},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=n.handlers||[];t in o||(o[t]=[]),o[t].push(e),n.setHandlers(o);for(var r=a[t]||[],i=0;i<r.length;i++){var s=r[i]();e.apply(n,s)}return 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++)e===n[a]&&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,_="",h=_,v=_,b=[6,9],y="{{version}}",S="<!--[if IE "+y+"]><s></s><![endif]-->",A=u&&u.createElement("div"),E=[],T={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(A&&A.getElementsByTagName&&(A.innerHTML=S.replace(y,""),E=A.getElementsByTagName("s")),E.length>0){for(d(t,T),i=b[0],s=b[1];i<=s;i++)if(A.innerHTML=S.replace(y,i),E.length>0){T[v="ie"]=i;break}!T.ie&&(r=m(t))&&(T[v="ie"]=r)}else((o=t.match(/AppleWebKit\/*\s*([\d.]*)/i))||(o=t.match(/Safari\/([\d.]*)/)))&&o[1]?(T[h="webkit"]=g(o[1]),(o=t.match(/OPR\/(\d+\.\d+)/))&&o[1]?T[v="opera"]=g(o[1]):(o=t.match(/Chrome\/([\d.]*)/))&&o[1]?T[v="chrome"]=g(o[1]):(o=t.match(/\/([\d.]*) Safari/))&&o[1]?T[v="safari"]=g(o[1]):T.safari=T.webkit,(o=t.match(/Edge\/([\d.]*)/))&&o[1]&&(h=v="edge",T[h]=g(o[1])),/ Mobile\//.test(t)&&t.match(/iPad|iPod|iPhone/)?(T.mobile="apple",o=t.match(/OS ([^\s]*)/),o&&o[1]&&(T.ios=g(o[1].replace("_","."))),a="ios",o=t.match(/iPad|iPod|iPhone/),o&&o[0]&&(T[o[0].toLowerCase()]=T.ios)):/ Android/i.test(t)?(/Mobile/.test(t)&&(a=T.mobile="android"),o=t.match(/Android ([^\s]*);/),o&&o[1]&&(T.android=g(o[1]))):(o=t.match(/NokiaN[^\/]*|Android \d\.\d|webOS\/\d\.\d/))&&(T.mobile=o[0].toLowerCase()),(o=t.match(/PhantomJS\/([^\s]*)/))&&o[1]&&(T.phantomjs=g(o[1]))):(o=t.match(/Presto\/([\d.]*)/))&&o[1]?(T[h="presto"]=g(o[1]),(o=t.match(/Opera\/([\d.]*)/))&&o[1]&&(T[v="opera"]=g(o[1]),(o=t.match(/Opera\/.* Version\/([\d.]*)/))&&o[1]&&(T[v]=g(o[1])),(o=t.match(/Opera Mini[^;]*/))&&o?T.mobile=o[0].toLowerCase():(o=t.match(/Opera Mobi[^;]*/))&&o&&(T.mobile=o[0]))):(r=m(t))?(T[v="ie"]=r,d(t,T)):(o=t.match(/Gecko/))&&(T[h="gecko"]=.1,(o=t.match(/rv:([\d.]*)/))&&o[1]&&(T[h]=g(o[1]),/Mobile|Tablet/.test(t)&&(T.mobile="firefox")),(o=t.match(/Firefox\/([\d.]*)/))&&o[1]&&(T[v="firefox"]=g(o[1])));if(!T[v]){var I=t.match(/Ali\w+\(\w+\/(\d+\.)+\d+\)/);if(I){T.isAliapp=!0;var P=I[0],w="",C="",M=P.match(/(\d+\.)+\d+/);M&&(w=M[0],C=P.replace("/"+w,"").replace(/\(|\)/g,"")),T[v=C]=w}}a||(a=e());var x,O,L;if(!n("type","application/vnd.chromium.remoting-viewer")){x="scoped"in u.createElement("style"),L="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 x&&L?l="360se":x||L||!/Gecko\)\s+Chrome/.test(p)||T.opera||T.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),T.os=a,T.core=T.core||h,T.shell=v,T.ieMode=T.ie&&u.documentMode||T.ie,T.extraName=l,T.extraVersion=f;var U=c.screen.width,k=c.screen.height;return T.resolution=U+"x"+k,T}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,scr: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},m=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(){u||(u=a());var t="//assets.alicdn.com/g"===u||"//laz-g-cdn.alicdn.com"===u;return t||"int"===g.getMetaInfo("aplus-env")}function r(){if(navigator&&navigator.userAgent){var t=/iphone|android|arkweb/i.test(navigator.userAgent),e=t||/TB\-PD/i.test(navigator.userAgent);return e}return!0}function i(){var t,e=l.getParamFromUrl("utparamcnt",location.href);if(e)try{t=e=JSON.parse(decodeURIComponent(e))}catch(t){}return t}function s(){var t=document.querySelector("meta[name=referrer]");if(!t){var e=document.createElement("meta");e.name="referrer",e.content="no-referrer-when-downgrade",document.head.appendChild(e)}}var u,c=n(2),l=n(17),p=n(24),f=n(25),g=n(26);t.exports=function(t){s();var e=c.getGlobalValue("aplus"),u=t.globalConfig.NAME_STORAGE_KEYS,l=n(48).getRefer(u);e.nameStorage=f.nameStorage,p.haveNativeFlagInUA();var d=e._$=e._$||{};d.is_terminal=r(),d.send_pv_count=0,d.page_referrer=l,d.spm={data:{},page_referrer:l},e.globalConfig=t.globalConfig;var m=i();d.meta_info=g.qGet()||{};for(var _ in t.metaInfo)if(!d.meta_info.hasOwnProperty(_)){var h=t.metaInfo[_];"aplus-utparam"===_?(m&&g.appendMetaInfo(_,m),g.appendMetaInfo(_,h)):g.setMetaInfo(_,h)}e._$=d,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.length>c.length?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,s=e||location.href,c="&",l=[];return u(t,function(t,e){new RegExp(t+"=").test(s)||l.push(t+"="+e)}),0===l.length?s:(s.indexOf("#")!==-1&&(o=s.split("#"),s=o.shift(),a=o.join("#")),r=s.split("?"),i=r.length-1,o=r[0].split("//"),o=o[o.length-1].split("/"),i>0&&(n=r.pop(),s=r.join("?")),n&&i>1&&n.indexOf("&")==-1&&n.indexOf("%")!==-1&&(c="%26"),s=s+"?"+l.join("&")+(n?c+n:"")+(a?"#"+a:""))}function r(t){var e=s(location.hash)+"";c.pushIntoGoldlogQueue("aplus.on",[window,"hashchange",function(){e!==s(location.hash)&&(e=s(location.hash)+"",t&&"function"==typeof t&&t(e,p))}])}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&&setTimeout(function(){t&&"function"==typeof t&&t(a,f)},0)}else a=location.pathname+location.search,a!==n&&setTimeout(function(){t&&"function"==typeof t&&t(a,f)},0);n=a}var n=location.pathname+location.search;if(history.pushState&&window.addEventListener){c.pushIntoGoldlogQueue("aplus.on",[window,"pushState",function(t){e(t)}]),c.pushIntoGoldlogQueue("aplus.on",[window,"popstate",function(){e()}]);var a=l.getMetaCnt("aplus-track-replacestate")||aplus.getMetaInfo&&aplus.getMetaInfo("aplus-track-replacestate");a&&c.pushIntoGoldlogQueue("aplus.on",[window,"replaceState",function(t){e(t)}])}}function s(t){var e="";return t&&(e=t.indexOf("?")!=-1?t.split("?")[0]:t),e}var u=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 c=n(21),l=n(22),p="hash",f="history";e.watchHashChange=r,e.watchHistoryChange=i,e.retrenchHash=s},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.tip_i=function(t){try{console.log("%c "+n+t,"background:#3B82FE; 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(S._microscope_data=r,e=0;e<o;e++)n=t[e],"microscope-data"===_.tryToGetAttribute(n,"name")&&(a=_.tryToGetAttribute(n,"content"),f.parseSemicolonContent(a,r),S.is_head_has_meta_microscope_data=!0);S._microscope_data_params=l.obj2param(r),S.ms_data_page_id=r.pageId,S.ms_data_shop_id=r.shopId,S.ms_data_instance_id=r.siteInstanceId,S.ms_data_siteCategoryId=r.siteCategory,S.ms_prototype_id=r.prototypeId,S.site_instance_id_or_shop_id=S.ms_data_instance_id||S.ms_data_shop_id,S._atp_beacon_data={},S._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"===_.tryToGetAttribute(t,"name")&&(e=t)}),e},a=n();return a&&(e=_.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=h.getMetaTags();a(t),d(t,function(t){var e=_.tryToGetAttribute(t,"name");if(/^aplus/.test(e)){var n=h.getMetaCnt(e);if(S[e]=n,[b.APLUS_CPVDATA,b.APLUS_EXDATA,b.APLUS_EXINFO,b.APLUS_USER_PROFILE].indexOf(e)>-1)try{S[e]=JSON.parse(n)}catch(t){g.logger({msg:"the content of meta<"+e+"> is invalid json string"})}if(e===A)try{u=S[e]=JSON.parse(h.getMetaCnt(e))}catch(t){}}}),d(E,function(t){S[t]=h.getMetaCnt(t)}),S.spm_protocol=o(t),u&&(S=p.assign(S,u));var e,n,i=["aplus-rate-ahot"],s=i.length;for(e=0;e<s;e++)n=i[e],S[n]=parseFloat(S[n]);r(S);var l=y.getInitialUserProfile();m(l)&&(S[b.APLUS_USER_PROFILE]=p.assign(S[b.APLUS_USER_PROFILE]||{},l))}return c=S||{},S}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),m=n(19),_=n(23),h=n(22),v=n(2),b=n(3),y=n(39),S={},A="aplus-x-settings",E=["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===A){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 T=function(t){return c||(c={}),c[t]||""};e.getMetaInfo=T,
e.appendMetaInfo=function(t,e){var n=v.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){if(String.prototype.endsWith)return t.endsWith(e);var n=t.length,a=e.length;return n>=a&&t.substring(n-a)===e},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(19),s=n(28),u=n(32),c=n(33),l=n(3);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=s.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 u.parse(decodeURIComponent(n))}return""},getUrl:function(t){var e=r.getGlobalValue("aplus"),n=r.getGoldlogVal(l.APLUS_CNA),a=t||"//log.mmstat.com/eg.js";try{var o=e.getMetaInfo(l.APLUS_PV_DOMAIN);o=c.fixDomain(o).replace(/\/\w+.gif$/,"");var s="";i(n)&&(s="?ts="+n.timestamp+"&rd="+n.randomNum),a=o+"/eg.js",s&&(a+=s)}catch(t){}return a}}},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,e){var a=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})*)$/),o=(t&&t.match(a)||[])[0];if(!t||!o){var r=n(20);return r().tip_w(r().repeat("!")),r().tip_w("trackDomain error, please check "+e+" setting, current value is: "+t||"undefined"),r().tip_w("we accept these three patterns:"),r().tip_w("eg1: https://test-qtracking-xxx.com:port, port is optional"),r().tip_w("eg2: http://test-qtracking-xxx.com:port, port is optional"),r().tip_w("eg3: test-qtracking-xxx.com:port, port is optional"),r().tip_w(r().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=g||{},g}function o(){return i||a()}function r(t,e){return i||(i={}),"aplus-inject-record-gokey"===t&&(_("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=n(37),g={},d="object",m="string";e.getInfo=a,e.qGet=o,e.setMetaInfo=r;var _=function(t){try{console&&console.error(t)}catch(t){}};e.catchException=_;var h=function(t){return i||(i={}),i[t]||""};e.getMetaInfo=h;var v=function(t){var e=h("aplus-inject-record-gokey");return"function"==typeof e?e(t):t.gokey};e.getUserInjectGokey=v;var b=function(t,e){if(t&&e){var n,a=function(n){try{var a=typeof e===m?JSON.parse(e):e;i(t,Object.assign({},n,a))}catch(t){}},o=function(n){try{var a=typeof e===m?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){y(t,e,{from:"appendMetaInfo"})},s=h(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===d)r(s),n=!0;else try{var p=JSON.parse(s);typeof p===d&&(r(p),n=!0)}catch(t){}n||i(t,e)}};e.appendMetaInfo=b;var y=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 b(n,a);if(r(n,a)){var g=c.getGoldlogVal("_$")||{};g.meta_info=o();var d=c.setGoldlogVal("_$",g),m=["setMetaInfo",n,a,{}];return s.doPubMsg(m),s.doCachePubs(m),p.globalConfig&&!p.globalConfig.isAli&&(n===l._ANONY_ID||n===l._DEV_ID||n===l._USER_ID?f.setStorageSync(n,a?a:""):(!f.getStorageSync(l._ANONY_ID)&&g.meta_info[l._ANONY_ID]&&f.setStorageSync(l._ANONY_ID,g.meta_info[l._ANONY_ID]),!f.getStorageSync(l._DEV_ID)&&g.meta_info[l._DEV_ID]&&f.setStorageSync(l._DEV_ID,g.meta_info[l._DEV_ID]),!f.getStorageSync(l._USER_ID)&&g.meta_info[l._USER_ID]&&f.setStorageSync(l._USER_ID,g.meta_info[l._USER_ID]))),d}};e._setMetaInfo=y},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";function a(){if("boolean"==typeof d)return d;var t=!1;try{var e=navigator?navigator.userAgent||navigator.swuserAgent:"";if(t=!!/AliApp/i.test(e),/(AliApp\((AP|AMAP|UC|QUARK))|DingTalkIDE/i.test(e)&&(t=!1),/AlipayIDE Taobao/.test(e)&&(t=!0),t){var n=m().ctx;s(n.canIUse)&&(t=!!n.canIUse("callUserTrack"))}}catch(t){}return d=t,t}function o(){return"boolean"==typeof d?!!d:a()}function r(t){t=f(t)?t:{};var e=t["Set-Cookie"]||t["set-cookie"]||"",n=g(e)?e:e.split(","),a={};return l(n,function(t){var e=(t||"").split(";");l(e,function(t){if(/[a-z]+=/.test(t)&&!/(path|domain|expires)=/.test(t)){var e=t.split("="),n=e[0].trim(),o=e[1];a[n]=o}})}),a}function i(t){var e=[];return l(t,function(t,n){e.push(t+"="+n)}),e.join("; ")}var s=n(9),u=n(2),c=n(33),l=n(18),p=n(3),f=n(19),g=n(38);e.getCurrentPage=function(){var t=getCurrentPages();return t[t.length-1]||{}},e.getReferrerPage=function(){var t=getCurrentPages();return t[t.length-2]||{}};var d;e.resetIsTB=function(t){d=t},e.initIsTB=a;var m=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:xhs,platType:"xhs",sdkType:"xhsmp",logDomain:"/xhsm_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 m().platType},e.getSdkType=function(){return m().sdkType},e.getContext=function(){return m().ctx},e.getLogDomain=function(){return m().logDomain};var _="httpRequest",h="request",v=function(){};e.request=function(t,e,n,a){var o=u.getGlobalValue("aplus"),l=m().ctx;s(a)||(a=v),s(n)||(n=v);var g=e.requestMethodName||h,d=l[g];s(d)||g===h||(g=h,d=l[g]),s(d)||g===_||(g=_,d=l[g]);var b,y=e&&e.dataType?e.dataType:"base64",S=e&&e.timeout?e.timeout:3e3,A=e.method||"GET",E=o.getMetaInfo(p.APLUS_MINI_REQUEST_TIMEOUT);t=c.fixDomain(t);var T;if(s(d)){var I={url:t,method:A,header:{},dataType:y,timeout:E||S,success:function(t){var e=t.header||t.headers||{},a=r(e);o.appendMetaInfo(p.APLUS_COOKIES,a),b||(b=!0,n(t))},fail:function(t){b||(b=!0,a({failure:!0,data:t}))}},P=o.getMetaInfo(p.APLUS_COOKIES);if(f(P)){var w=i(P);w&&(I.header.cookie=w)}"POST"===A&&e.data&&(I.data=e.data);var C=o.getMetaInfo("aplus-request-extinfo");"object"==typeof C&&(I._extInfo=C),d(I)}else b||(b=!0,a({failure:!0,data:T}));setTimeout(function(){b||(b=!0,T='aplus log request"'+t+' timeout", time spend'+S+"ms",console&&console.warn(T),a({failure:!0,data:T}))},S)},e.setStorageSync=function(t,e){try{var n=m().platType,a=m().ctx;"my"===n||"taobao"===n?a.setStorageSync({key:t,data:e}):a.setStorageSync(t,e)}catch(t){}},e.getStorageSync=function(t){try{var e=m().platType,n=m().ctx;return"my"===e||"taobao"===e?n.getStorageSync({key:t}).data:n.getStorageSync(t)}catch(t){}}},function(t,e){"use strict";t.exports=function(t){return Array.isArray?Array.isArray(t):"[object Array]"===Object.prototype.toString.call(t)}},function(t,e,n){"use strict";function a(){var t=s.getGlobalValue("aplus"),e=t._$||{},n=e.meta_info||{},a=n[g];return a}function o(t){return function(){var e=a(),n=r(),o="";return o=f(e)?n[t]||"":e[t]||""}}function r(){var t=i.getExParams(),e=u.param2obj(t),n=p.getUserId()||e.uidaplus,a=p.getUserNick()||e.nick||l.getCookie("tracknick"),o={uidaplus:n,nick:a};return o}var i=n(40),s=n(2),u=n(27),c=n(3),l=n(43),p=n(45),f=n(47),g=c.APLUS_USER_PROFILE;e.getInitialUserProfile=r,e.getUserId=o("uidaplus"),e.getUserNick=o("nick")},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(41),p=n(23),f=n(42),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){"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";var c=/x-ssr=true/.test(location.search);c?s.defer=!0:s.async=!0;var l=a(),p=l&&l.hasAttribute("crossorigin");p&&(s.crossOrigin="anonymous");var f=u.HTTPS===location.protocol?e||t:t;0===f.indexOf("//")&&(f=u.HTTPS+f),s.src=f,n&&(s.id=n),o(s);var g=document.getElementsByTagName(i)[0];r=r||document.getElementsByTagName("head")[0],g?g.parentNode.insertBefore(s,g):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,a.crossOrigin="anonymous","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")},e.isEditableElement=function(t){for(;t&&"HTML"!==t.tagName;){var e=s.tryToGetAttribute(t,"contenteditable");if("true"===e)return!0;t=t.parentNode}return!1},e.elementContains=function(t,e){if(t.contains)return t.contains(e)&&t!==e;if(t.compareDocumentPosition)return!!(16&t.compareDocumentPosition(e));for(;e=e.parentNode;)if(e===t)return!0;return!1}},function(t,e,n){"use strict";function a(t){var e=[];if(c(t))for(var n=0;n<t.length;n++){var o=t[n];c(o)?(t[n]=a(o),e=e.concat(t[n])):e.push(o)}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]}}}function r(t,e){if(c(t)){if(u(t.some))return t.some(e);for(var n=!1,a=0;a<t.length&&!(n=u(e)&&e(t[a],a,t));a++);return n}}function i(t,e){if(c(t)){if(u(t.filter))return t.filter(e);for(var n=[],a=0;a<t.length;a++){var o=t[a],r=u(e)&&e(o,a,t);r&&n.push(o)}return n}}function s(t,e,n){if(!c(t))return[];if(u(t.slice))return t.slice(e,n);var a=t.length,o=[];e=e||0,e<0&&(e=Math.max(0,a+e)),n="undefined"==typeof n?a:n<0?Math.max(0,a+n):Math.min(n,a);for(var r=e;r<n;r++)o.push(t[r]);return o}var u=n(9),c=n(38);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(!c(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=c,e.flat=a,e.find=o,e.some=r,e.filter=i,e.slice=s},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(44),c=n(42);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,n){"use strict";function a(t){var e=o.APLUS_CONFIG,n=window[e]||(window[e]={});return r(t)?n[t]:n}var o=n(3),r=n(46),i=n(2),s=n(9);e.getConfig=a,e.getPid=function(){var t=i.getGlobalValue(o.APLUS),e=location.hostname||"",n=s(t.getMetaInfo)&&"on"===t.getMetaInfo(o.APLUS_AUTO_PID)?e.replace(/[^a-zA-Z0-9_]/g,"_"):"",r=a("pid");return r||n},e.getUserId=function(){var t=a(),e=t.userProfile||{};return e.uidaplus||t.uidaplus||t.userId||t.userid},e.getUserNick=function(){var t=a(),e=t.userProfile||{};return e.nick||t.nick||t.userNick||t.usernick}},function(t,e){function n(t){return"[object String]"===Object.prototype.toString.call(t)}t.exports=n},function(t,e){t.exports=function(t){return"undefined"==typeof t}},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(3),o=n(18),r=n(38),i=n(19),s=n(50),u=n(2),c=n(46),l=n(34),p=n(42);t.exports=function(){return{getConfigFileUrls:function(){var t=[];return t.push("https://alidt.alicdn.com/alilog/configs/sdk/common.json"),t},toJson:function(t){if(c(t))try{return JSON.parse(t)}catch(t){l.logger({level:"error",msg:t.message})}else if(i(t))return t;return{}},parseTrackConfig:function(t){var e=u.getGlobalValue("aplus_queue"),n=this.toJson(t);n&&e.push({action:"aplus.setMetaInfo",arguments:[a.APLUS_REPORT_RATE,n]})},parseSdkConfig:function(t){var e=u.getGlobalValue("aplus_queue"),n=this.toJson(t),o=n.autoTrackDisabledScope||[],i=n.autoTrackEnableScope||[];if(r(o)){var s=p.some(o,function(t){return location.hostname.indexOf(t)>-1});if(s)return}var c=!1;r(i)&&(c=p.some(i,function(t){return location.hostname.indexOf(t)>-1})),c&&e.push({action:"aplus.setMetaInfo",arguments:[a.APLUS_AUTO_TRACK_CONFIG_IMPORT,"on"]})},configLoadedCallback:function(t,e){/alilog\/tra_rate/.test(t)?this.parseTrackConfig(e):t.indexOf("/configs/sdk/common.json")>-1&&this.parseSdkConfig(e)},run:function(){var t=this,e=u.getGoldlogVal("_$")||{},n=e.meta_info||{},r="on"===n[a.APLUS_REMOTE_CONTROL];if(r){var i=t.getConfigFileUrls();o(i,function(e){s.request(e,function(n){t.configLoadedCallback(e,n)},function(){})})}}}}},function(t,e,n){"use strict";var a=n(3),o=n(9),r={base:1e4,timeout:1e4},i=function(t,e,n,i){/^\/\//.test(t)&&(t=a.HTTPS+t);var s=!0,u=i&&i.timeout?i.timeout:r.timeout;setTimeout(function(){s&&(s=!1,o(n)&&n({timeout:u}))},u),window.fetch(t).then(function(t){return/application\/json/.test(t.headers.get("content-type"))?t.json():t.text()}).then(function(t){s&&(e(t),s=!1)}).catch(function(t){s&&n(t)})},s=function(t,e,n,a){var o,i="GET",s=function(){o.responseText?e(o.responseText):n()},u=window.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest;u?(o=new XMLHttpRequest,o.open(i,t,!0)):(o=new window.XDomainRequest,o.open(i,t));var c=a&&a.timeout?a.timeout:r.timeout;o.timeout=c,o.onload=s,o.onerror=n,o.ontimeout=n,o.send()},u=function(t,e,n,a){window.fetch?i(t,e,n,a):s(t,e,n,a)},c=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=u,e.request4um=c},function(t,e,n){"use strict";t.exports=function(){return{run:function(){n(52)()}}}},function(t,e,n){"use strict";function a(){function t(t){var e=o.getGlobalValue("aplus_queue"),n={pathname:t};e.push({action:"aplus.aplus_pubsub.publish",arguments:[i.APLUS_PAGE_CHANGE,n]})}var e=s._$||{},n=e.meta_info,a=n[i.APLUS_SPA_TYPE];"history"===a?r.watchHistoryChange(t):"hash"===a&&r.watchHashChange(t)}var o=n(2),r=n(17),i=n(3),s=o.getGlobalValue("aplus");t.exports=function(){a()}},function(t,e,n){"use strict";t.exports=function(){return{run:function(){n(54)()}}}},function(t,e,n){"use strict";function a(t){var e,n=i.getGlobalValue("aplus"),a=!1,f=function(){a||(o.wrap(function(){e=p.getAutoClkConfig();var t;u(e)&&e.length>0&&(t=l.create({autoClkConfig:e}),t.init(),c.watch_clk()),n.aplus_pubsub.subscribe("setMetaInfo",function(n,a,o){if([r.APLUS_AUTO_CLK,r.APLUS_AUTO_TRACK_CONFIG_IMPORT].indexOf(n)>-1){if(n===r.APLUS_AUTO_TRACK_CONFIG_IMPORT){if("on"!==a)return;a=void 0}var i=p.getAutoClkConfig(a);if(JSON.stringify(i)===JSON.stringify(e))return;e=i,c.clear(),o||(o={from:"setMetaInfo"}),t&&t.clear(o),t&&t.clearDom({autoClkConfig:e},o),u(e)&&e.length>0&&(t?t.reset({autoClkConfig:e},o):(t=l.create({autoClkConfig:e}),t.init()),c.watch_clk())}})},"do_init"),a=!0)};setTimeout(function(){a||s().w("aplus_ac_init failed! please check whether aplusJs is loaded correctly!")},5e3);var g=n._$||{},d=window.g_SPM||{};"complete"===g.status&&d.spm&&f();var m=i.getGlobalValue("aplus_queue");m.push({action:r.SUBSCRIBE,arguments:["aplusReady",function(t){"complete"===t&&f("aplusReady")}]}),"function"==typeof t&&t()}var o=n(55),r=n(3),i=n(2),s=n(20),u=n(38),c=n(56),l=n(71),p=n(67);t.exports=function(){var t=i.getGlobalValue("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=n(3),r=n(9),i=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"}]})},s=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";s(t,n,e),i(t,n);var o=a.getGlobalValue("aplus");o&&o.aplusDebug&&console&&console.warn(t)},e.wrap=function(t){if("function"==typeof t)try{t()}catch(t){i({msg:t.message||t},"exception")}finally{}},e.logCnaLoadInfo=function(t){function e(){var t=/^https?/.test(location.protocol),e=a.getGlobalValue("aplus"),n=r(e.getMetaInfo)?e.getMetaInfo(o.APLUS_CNA_MONITOR):"off",i=["www.taobao.com"].indexOf(location.hostname)>-1||"on"===n;return t&&i}var n={success:0,failed:0};return function(o,r){var i=a.getGlobalValue("aplus_queue",[]);n[o]=n[o]||0;var s=n[o]<t&&e();s&&("success"===o?(i.push({action:"aplus.record",arguments:["/aplus.monitor.load_cna_success","OTHER",r]}),n[o]++):"failed"===o&&(i.push({action:"aplus.record",arguments:["/aplus.monitor.load_cna_error","OTHER",r]}),n[o]++))}}(1)},function(t,e,n){"use strict";function a(t){for(var e,n;t&&"BODY"!==t.tagName&&m.getDefaultClkConfig(t);)e=m.getDefaultClkConfig(t),n=t,t=t.parentNode;if(e&&n)return{el:n,clkConfigs:[e]}}var o=n(42),r=n(23),i=n(41),s=n(2),u=n(28),c=n(57),l=n(18),p=n(9),f=n(38),g=n(58),d=n(60),m=n(67),_=window,h=["iframe","html","body","head"],v=m.DATA_APLUS_AC_KEY,b=function(t){var e=[],n=t?r.tryToGetAttribute(t,v):"";if(n){var a=s.getGoldlogVal("_aplus_ac")||{},i=a._acHashMap||{};c(i,function(t,a){l(a,function(t){t.hash_value===n&&e.push(t.clkConfig)})})}var u=o.filter(e,function(t){return!t.ignoreWhenMatchOtherConfig});return{clkConfigs:u.length>0?u:e,el:t}},y=function(t){for(var e=[];t&&o.indexof(h,t.tagName?t.tagName.toLowerCase():"html")===-1;){var n=b(t),a=!1;if(n&&n.clkConfigs&&n.clkConfigs.length>0&&(e.push(n),a=o.some(n.clkConfigs,function(t){return!t.enableEventBubble})),a)break;t=t.parentNode}if(e.length>1){var r=o.filter(e,function(t){var e=o.some(t.clkConfigs,function(t){return!t.ignoreWhenMatchOtherConfig});return e});e=r.length>0?r:o.slice(e,0,1)}return e},S=function(t){t=t||_.event;var e=t.target||t.srcElement,n=y(e);if(f(n)){if(0===n.length&&m.isAutoTrackEnable()){var o=a(e);o&&n.push(o)}l(n,function(n){var a=n.clkConfigs;n&&a&&n.el&&l(a,function(a){var o=a;e=n.el;var r=d.canRecord({target:e,gmkey:"CLK",config:o});if(r){var i=aplus.getElementSPM(e,o.eltype),s="",c=[],l={},f=d.fillPropsData(o,e,l);f=d.fillFilterData(o,e,l),f=d.fillSpmData(o,e,l),f=u.assign(f,d.getDataTrackerParams(e));var g=m.getAutoClkUserFn();if(g){var _=d.autoUserFnHandler(g,e,o.elementSelector,o,t);if("object"==typeof _)"object"==typeof _.userdata&&(f=u.assign(f,_.userdata)),_.spm&&(i=_.spm),_.scm&&(s=_.scm);else if(_===!1)return}for(var h in f)c.push(h+"="+f[h]);c.push("_is_auto_clk=1");var v=o.method||"POST",b=d.getDefaultLogkey({target:e,config:o});d.isAutoLogLogkey(b)&&p(o.getLogkey)&&(b=o.getLogkey(e,f),c.push("_is_auto_logkey=1"),i=aplus.getAutoElementSPM(e,o.eltype)),c.push("spm="+i),c.push("scm="+s),aplus_queue.push({action:"aplus.record",arguments:[b,"CLK",c.join("&"),v]})}})})}};e.watch_clk=function(){i.isTouch()?g.on(document,"tap",S):g.on(document,"mousedown",S)},e.clear=function(){i.isTouch()?g.un(document,"tap",S):g.un(document,"mousedown",S)}},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(59);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(m,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(m,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",m="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)||{};o.hash_value||(o.hash_value={}),o.hash_value[t]||(o.hash_value[t]={}),o.hash_value[t][a]?++o.hash_value[t][a]:o.hash_value[t][a]=1,i.setGoldlogVal(n,o)}var o=document,r=n(3),i=n(2),s=n(20),u=n(61),c=n(63),l=n(18),p=n(57),f=n(64),g=n(41),d=n(46),m=n(9),_=n(19),h=n(65),v=n(38),b=n(47),y=n(66),S=n(67),A={
ATTRIBUTES:"attributes"},E=i.getGlobalValue(r.APLUS,{});e.isArray=v,e.getXPath=c,e.getDefaultLogkey=function(t){var e=t||{},n=e.config||{},a=e.target,o=n.logkey;if(m(a.getAttribute)){var r=a.getAttribute("data-logkey");h(r)||(o=r)}return o},e.isAutoLogLogkey=function(t){return/^\/aplus.autolog/.test(t)},e.isCombineRecordLogkey=function(t){var e="on"===E.getMetaInfo(r.APLUS_TRACK_COMBINE),n=E.getMetaInfo(r.APLUS_SINGLE_RECORD_LOGKEYS)||[];return e&&n.indexOf(t)<0},e.canRecord=function(t){var e=t||{},n=e.gmkey,a=e.target,o=e.config||{};if(m(o.filter))return o.filter(a,o);if(m(a.getAttribute)){var r=a.getAttribute("data-gmkey"),i=(h(r)||r===n)&&"off"!==a.getAttribute("data-auto-track");return i}};var T=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=T,e.getElements=function(t,e){var n=e||o,a=[];if(n.querySelectorAll)try{a=T(n.querySelectorAll(t.elementSelector)||[])}catch(t){s().w(t&&t.message)}else for(var r=document.getElementsByTagName(t.tag),i=t.filter.split("="),u=i.length>0?i[0].trim():"",c=i.length>1?i[1].trim():"",l=0;l<r.length;l++){var p=r[l],f=p.getAttribute(u),g=p.hasAttribute(u);!g||c&&c!==f||a.push(p)}return a};var I=function(){return/aplusDebug=true/.test(location.search)},P=I();e.IS_DEBUG=P,e.fillPropsData=function(t,e,n){n||(n={});try{var a=t.props||[],o=t.formatter;if(a&&v(a)&&a.length>0)for(var r=0;r<a.length;r++){var i=a[r];if(d(i)&&(i={source:A.ATTRIBUTES,from:i,to:i.toLowerCase().replace(/^data-/,"")}),b(i.value)){if(m(i.getValue))n[i.to]=i.getValue(e,t);else if(i.source===A.ATTRIBUTES&&e&&e.getAttribute){var u=e.getAttribute(i.from);void 0!==typeof u&&null!==u&&""!==u&&(E.globalConfig&&E.globalConfig.isUM?n[i.to]=u:n[i.to]=encodeURIComponent(u))}}else n[i.to]=i.value}m(o)&&(n=o(n,e,t,E)||{})}catch(t){s().w(t&&t.message)}return n};var w=function(t,e,n){n||(n={});try{var a=t.filter||"";if(d(a)){var o=a.split("=");if(v(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=w;var C="data-tracker-params";e.getDataTrackerParams=function(t){var e={};try{var n=w({filter:C},t);n&&n[C]&&(e=JSON.parse(n[C]))}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 M=function(t){return!!/^POST|GET$/i.test(t)};e.isMethod=M;var x=function(t){var e=!!/^\d+$/.test(t);return!!(e&&parseInt(t)>0)};e.isPkgSize=x,e.filterExpConfigRequestCfg=function(t){var e=S.getDefaultRequestCfg()||{};try{var n=t||{};M(n.method)&&(e.method=n.method),x(n.pkgSize)&&(e.pkgSize=parseInt(n.pkgSize))}catch(t){s().w(t&&t.message)}return e};var O=function(t){var e=t.split("&"),n={};return e.length>0&&l(e,function(t){var e=t.split("=");2===e.length&&(n[e[0]]=f.tryToEncodeURIComponent(e[1]))}),n};e.autoUserFnHandler=function(t,e,n,a,o){var r={userdata:{},spm:"",scm:""};try{var i=t(e,n,a,o);i&&("string"==typeof i?r.userdata=O(i):"object"==typeof i&&"object"==typeof i.userdata&&(p(i.userdata,function(t,e){E.globalConfig&&E.globalConfig.isUM?r.userdata[t]=e:r.userdata[t]=f.tryToEncodeURIComponent(e)}),r.spm=i.spm,r.scm=i.scm))}catch(t){s().w(t)}return r};var L=function(t,e){var n="";if(t&&e){var a=[];d(e.filter)&&a.push(t.getAttribute(e.filter));var o=e.props||[];l(o,function(e){d(e)?a.push(t.getAttribute(e)):_(e)&&e.source===A.ATTRIBUTES&&d(e.from)&&a.push(t.getAttribute(e.from))}),n=a.join("_")}return n},U=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=U,e.getElementHash=function(t,e){var n={};"aplus_webvt"!==t.source&&(n=U(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,E.pvid&&(a+=E.pvid);e.ignore_attr||(a+=t.logkey+"_",a+=t.elementSelector+"_",a+=L(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(S.DATA_APLUS_AE_KEY+"=[\\'|\\\"]\\w+[\\'|\\\"]"),""),t=t.replace(new RegExp(S.DATA_APLUS_AC_KEY+"=[\\'|\\\"]\\w+[\\'|\\\"]"),"")),t};var k=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},R=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=k(u,e)),s[t]=u,r._acHashMap=s,i.setGoldlogVal(o,r)}};e.updateExpHashMap=function(t,e,n){R(t,e,n,"_aplus_auto_exp")},e.updateClkHashMap=function(t,e,n){R(t,e,n,"_aplus_ac")},e.throttle=y,e.checkIsInHashMap=function(t){var e=i.getGoldlogVal(t.aplusKey)||{},n=e.hash_value||{},a=n[t.logkey]||{},o=a[t.hash_value];if(o>1)return!0;for(var r=e._acHashMap||{},s=r[t.logkey]||[],u=s.length,c=0;c<u;c++){var l=s[c],p=l.hash_value===t.hash_value,f=l.element===t.element;if(p||!p&&f)return!0}return!1},e.clearInvalidElements=function(t){var e=i.getGoldlogVal(t)||{};e&&e.hash_value&&e._acHashMap&&l(e._acHashMap,function(t,n){var a=[];v(n)&&l(n,function(n){if(g.elementContains(document.body,n.element))a.push(n);else{var o=e.hash_value[t];delete o[n.hash_value]}}),e._acHashMap[t]=a})},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,n){"use strict";function a(){function t(t,e){return Math.floor(Math.random()*(e-t+1))+t}var e,n,a,o=[{first:[1,9],second:[0,255],third:[0,255],fourth:[1,254]},{first:[11,126],second:[0,255],third:[0,255],fourth:[1,254]},{first:[128,169],second:[0,253],third:[0,255],fourth:[1,254]},{first:[169,169],second:[255,255],third:[0,255],fourth:[1,254]},{first:[170,172],second:[0,15],third:[0,255],fourth:[1,254]},{first:[172,172],second:[32,255],third:[0,255],fourth:[1,254]},{first:[173,192],second:[0,167],third:[0,255],fourth:[1,254]},{first:[192,192],second:[169,255],third:[0,255],fourth:[1,254]},{first:[193,223],second:[0,255],third:[0,255],fourth:[1,254]}],r=o[Math.floor(Math.random()*o.length)],i=t(r.first[0],r.first[1]);return e=169===i?255===r.second[0]?255:t(r.second[0],r.second[1]):172===i?32===r.second[0]?t(32,255):t(r.second[0],r.second[1]):192===i&&169===r.second[0]?t(169,255):t(r.second[0],r.second[1]),n=t(r.third[0],r.third[1]),a=t(r.fourth[0],r.fourth[1]),[i,e,n,a].join(".")}function o(t){for(var e=t.split("."),n="",a=0;a<e.length;a++){var o=e[a],r=parseInt(o).toString(16);n+=1===r.length?"0"+r:r}return n}const r=n(19),i=n(18),s=n(62);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},e.mockEagleeyeTraceId=function(){var t=9e3,e=1e3,n=e;return function(){var r=a(),i=s.getCurrentTimestamp(),u=o(r),c="d",l="51fc",p=u+i+n+c+l;return n++,n>t&&(n=e),p}}(),e.generateHexString=function(t,e){var n=new Array(t),a="0123456789abcdef";r(e)&&i(e,function(t,e){n[t]=e});for(var o=0;o<t;o++)void 0===n[o]&&(n[o]=a[Math.floor(Math.random()*a.length)]);return n.join("")}},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""}},e.getCurrentTimestamp=function(){return(new Date).getTime()}},function(t,e){"use strict";t.exports=function(t){var e,n,a,o,r,i,s=document.getElementsByTagName("*");for(e=[];t&&1==t.nodeType;t=t.parentNode)if(null===t.getAttribute("data-aplus-visual-box-id"))if(t.id){for(i=t.id,o=0,n=0;n<s.length;n++)if(r=s[n],r.id&&r.id===i){o++;break}if(e.unshift(t.tagName.toLowerCase()+'[@id="'+i+'"]'),1===o)return e.unshift("/"),e.join("/")}else if("svg"===t.tagName)e.unshift("/*[name()='svg']");else{for(n=1,a=t.previousSibling;a;a=a.previousSibling)a.tagName===t.tagName&&null===a.getAttribute("data-aplus-visual-box-id")&&n++;e.unshift(t.tagName.toLowerCase()+"["+n+"]")}return e.length?"/"+e.join("/"):null}},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){"use strict";t.exports=function(t){return null===t}},function(t,e){"use strict";function n(){return(new Date).getTime()}t.exports=function(t,e,a){var o,r,i,s,u=0;a||(a={});var c=function(){u=a.leading===!1?0:n(),o=null,s=t.apply(r,i),o||(r=i=null)},l=function(){var l=n();u||a.leading!==!1||(u=l);var p=e-(l-u);return r=this,i=arguments,p<=0||p>e?(o&&(clearTimeout(o),o=null),u=l,s=t.apply(r,i),o||(r=i=null)):o||a.trailing===!1||(o=setTimeout(c,p)),s};return l.cancel=function(){clearTimeout(o),u=0,o=r=i=null},l}},function(t,e,n){"use strict";function a(t){return T&&T.getMetaInfo?T.getMetaInfo(t):f.getMetaCnt(t)}function o(){return"on"===a(b.APLUS_AUTO_TRACK_CONFIG_IMPORT)}function r(t){for(var e="",n=["alt","title","placeholder","src"],a=0;a<n.length;a++){var o=n[a],r=p.tryToGetAttribute(t,o);if(""!==e)break;h(r)||(e=r)}return e}function i(t){var e=r(t);return t.innerText||e||t.defaultValue||t.value||""}function s(t){var e=v.getPid(),n=T.getPageSPM()||[],a=e||n[0]||y.hash(location.host),o=n[1]||y.hash(location.host+location.pathname),r=A.getElementHash(t);return"/"+[a,o,r].join(".")}function u(t){var e="aplus-auto-clk"===t,n=b.APLUS_CODELESS_TRACK_CONFIG+(e?"_clk":"_exp"),a=[{scope:["aplus-auto-clk","aplus-auto-exp"],config:{logkey:"/aplus.autolog."+(t+"").split("-").pop(),getLogkey:s,cssSelector:"[data-autolog]",enableEventBubble:!0,formatter:function(t,e){var n=p.tryToGetAttribute(e,"data-autolog"),a=p.tryToGetAttribute(e,"data-logkey");if(!a){var o=i(e);t.xpath=S(e),h(t.text)&&(t.text=o)}return d(n.split("&"),function(e){var n=e.split("=");t[n[0]]=n[1]}),t}}}];e&&o()&&d(["img","area","a","button","svg","input","textarea","label:has(input)","select","[role=button]","[role=checkbox]","[role=link]","[role=menuitem]","[role=radio]","[role=tab]","[role=combobox]","[role=search]","[role=option]","div:has(>i)",'div[class$="button"]','div[class$="card"]','div[class$="tab"]','div:has(>span[role="img"])','span:has(>span[role="img"])','div:has(>div[class*="ant-card"])','div:has(>div[class*="ant-select-selector"])','span[class*="ant-tag"]'],function(t){a.push({scope:["aplus-auto-clk"],config:{logkey:"/aplus.autolog.clk",getLogkey:s,cssSelector:t,enableEventBubble:!0,ignoreWhenMatchOtherConfig:!0,formatter:function(t,e){var n=e.tagName.toLocaleLowerCase(),a="",o=i(e),r=p.tryToGetAttribute(e,"role");if(r)a="role";else if("img"===n)a="image","pointer"===E(e,"cursor")&&(a="icon-button");else if(["a","area"].indexOf(n)>-1)a="link";else if("svg"===n&&"pointer"===E(e,"cursor"))a="icon-button";else if("label"===n){var s=e.querySelector("input");s&&["radio","checkbox"].indexOf(s.type)>-1&&(a="inputType")}else if("input"===n){var u=p.tryToGetAttribute(e,"type");a=["submit","button"].indexOf(u)>-1?"button":u||n}else a="select"===n?"select":n;return d([{key:"feature",value:a},{key:"text",value:o}],function(e){var n=e.key,a=e.value;!h(a)&&h(t[n])&&(t[n]=a)}),t.xpath=S(e),t},filter:function(t){var e="off"===p.tryToGetAttribute(t,"data-auto-track");return!e}}})});var r=[];return d(a,function(e){var n=e.scope||[];n.indexOf(t)>-1&&r.push(e.config)}),T[n]=r,r}var c=n(2),l=n(42),p=n(23),f=n(22),g=n(20),d=n(18),m=n(38),_=n(46),h=n(68),v=n(45),b=n(3),y=n(61),S=n(63),A=n(69),E=n(70),T=c.getGlobalValue("aplus");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}},e.isAutoTrackEnable=o;var I=function(t){if(t&&t.tagName){var e=E(t,"cursor"),n=t.tagName.toLocaleLowerCase();if("div"===n&&"pointer"===e)return{logkey:"/aplus.autolog.clk",getLogkey:s,formatter:function(t,e){var n="clickable",a=i(e);return d([{key:"feature",value:n},{key:"text",value:a}],function(e){var n=e.key,a=e.value;!h(a)&&h(t[n])&&(t[n]=a)}),t.xpath=S(e),t},filter:function(t){var e="off"===p.tryToGetAttribute(t,"data-auto-track");return!e}}}};e.getDefaultClkConfig=I;var P=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=P(.3);var w=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=w(300);var C=function(t,e){var n,o=[],r=[],i=[];try{n=e||a(t);var s=[];if(n&&"string"==typeof n)try{s=JSON.parse(n)}catch(t){s=JSON.parse(n.replace(/'/g,'"'))}else"object"==typeof n&&n.constructor===Array&&(s=n);if(m(s)){var c=u(t);s=s.concat(c);for(var p=0;p<s.length;p++){var f=s[p]||{},d=f.logkey||"",h=f.tag?f.tag:"",v=f.filter,b=f.cssSelector,y=b||h&&v;if(!d||!y)throw new Error("meta "+t+" config error, "+JSON.stringify(f));v=_(v)?v.split("="):[];var S=h;if(v.length>=2?S+="["+v.shift()+'="'+decodeURIComponent(v.join(""))+'"]':1==v.length&&v[0]&&(S+="["+decodeURIComponent(v[0])+"]"),b&&(S+=b),f.elementSelector=S,l.indexof(i,S)>-1)throw new Error("meta "+t+" config error, tag_filter_cssSelector "+S+" repeated");i.push(S),f.enableMultipleConfig?r.push(f):o.push(f)}}}catch(t){g().w(t)}finally{var A=[].concat(o,r);return A}};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){"use strict";t.exports=function(t){return null===t||"undefined"==typeof t}},function(t,e,n){"use strict";function a(t){return o.hash(r(t).trim())}var o=n(61),r=n(63);e.getElementHash=a},function(t,e,n){"use strict";var a=n(9);t.exports=function(t,e){if(t){var n=t.style||{};return a(window.getComputedStyle)&&(n=window.getComputedStyle(t)||{}),n[e]}}},function(t,e,n){"use strict";var a=n(10),o=n(55),r=n(20),i=n(58),s=n(60),u=n(67),c=window,l=document,p=a.extend({updateHashMapAndElementHashTag:function(t){var e=t.clkConfig,n=t.hash_value,a=t.element,o=t.isUpdateElementHashTag,r=e.logkey||"";if(!s.checkIsInHashMap({logkey:r,hash_value:n,aplusKey:"_aplus_ac"})){var i={clkConfig:e,hash_value:n,element:a,status:0,elementSelector:e.elementSelector};s.updateClkHashMap(r,i,"ADD"),o&&s.setRecordSuccess(i,u.DATA_APLUS_AC_KEY)}},eachElements:function(t,e){for(var n=this,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)e.enableMultipleConfig&&n.updateHashMapAndElementHashTag({clkConfig:e,hash_value:r,element:o,isUpdateElementHashTag:!1});else{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});n.updateHashMapAndElementHashTag({clkConfig:e,hash_value:i,element:o,isUpdateElementHashTag:!0})}}},handler_dom_change:function(){s.clearInvalidElements("_aplus_ac");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(73)()}}}},function(t,e,n){"use strict";function a(t,e){c.watch_data_change(),u.watch_exposure_change(t);var n={isThrottleWatch:l.isThrottleWatchDom(),autoExpConfig:t};p?p.reset(n,e):(p=s.create(n),p.init({type:"init"}))}function o(t,e){c.clear(),u.clear(t,e),p&&p.clear(e)}function r(){s=n(74),u=n(window.IntersectionObserver?76:78),c=n(79),l=n(67)}function i(t){var e,n=d.getGlobalValue("aplus"),r=!1,i=!1,s=function(t){i||(i=t,r||(f.wrap(function(){e=l.getAutoExpConfig()||[],_().w("aplus-auto-exp metaValue init: "+JSON.stringify(e)),e&&e.length>0&&a(e),n.aplus_pubsub.subscribe("setMetaInfo",function(t,n,r){if("aplus-auto-exp"===t){_().w("aplus-auto-exp metaVaue change: "+JSON.stringify(n));var i=l.getAutoExpConfig(n);if(JSON.stringify(i)===JSON.stringify(e))return;e=i,r||(r={from:"setMetaInfo"}),o(e,r,p),n&&e&&e.length>0&&a(e,r)}})},"do_init"),r=!0))};setTimeout(function(){r||_().w("aplus_auto_exp_init failed! please check whether aplusJs is loaded correctly!")},5e3);var u=n._$||{},c=window.g_SPM||{};"complete"===u.status&&c.spm&&s();var m=d.getGlobalValue("aplus_queue");m.push({action:g.SUBSCRIBE,arguments:["aplusReady",function(t){"complete"===t&&s("aplusReady")}]}),"function"==typeof t&&t()}var s,u,c,l,p,f=n(55),g=n(3),d=n(2),m=n(17),_=n(20);t.exports=function(){var t=d.getGlobalValue("aplus");if(!t._aplus_auto_exp&&(t._aplus_auto_exp={tags:{},status:"init",exp_times:0,elementSelectorSizeMap:{}},r(),i(function(){t._aplus_auto_exp.status="complete"}),t&&!t.globalConfig.isAli)){var e=d.getGlobalValue("aplus_queue");e.push({action:g.SUBSCRIBE,arguments:["aplusReady",function(e){if("complete"===e)try{var n=t.getMetaInfo(g.APLUS_EXPOSURE_EVENT_CAN_REPEAT);n&&(m.watchHistoryChange(function(){var t=l.getAutoExpConfig()||[];o(t,{from:"routeChange"}),a(t,{from:"routerChange"})}),m.watchHashChange(function(){var t=l.getAutoExpConfig()||[];o(t,{from:"routeChange"}),a(t,{from:"routerChange"})}))}catch(t){}}]})}}},function(t,e,n){"use strict";var a=n(10),o=n(55),r=n(20),i=n(2),s=n(3),u=n(60),c=n(67),l=n(58),p=n(75),f=window,g=document,d=a.extend({hasExpEventSendTag:function(t){return!!(t&&t.indexOf("_")>0)},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(!this.hasExpEventSendTag(r)){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}),s=p.checkIsRecord(o,i,c.DATA_APLUS_AE_KEY),l=u.checkIsInHashMap({logkey:n,hash_value:i,aplusKey:"_aplus_auto_exp",element:o});if(!s&&!l){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{u.clearInvalidElements("_aplus_auto_exp");for(var n=this.autoExpConfig||[],a=0;a<n.length;a++){var o=n[a],i=u.getElements(o,g);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"===g.visibilityState?t.onFocusHandler():"hidden"===g.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(),f.WindVane&&g.addEventListener&&(l.on(g,"WV.Event.APP.Active",t.onFocusHandler,!1),l.on(g,"WV.Event.APP.Background",t.onBlurHandler,!1)),"hidden"in g?l.on(f,"visibilitychange",t.onVisibilityChange):(l.on(f,"blur",t.onBlurHandler),l.on(f,"focus",t.onFocusHandler))},removeAllListener:function(){var t=this;f.WindVane&&g.removeEventListener&&(l.un(g,"WV.Event.APP.Active",t.onFocusHandler,!1),l.un(g,"WV.Event.APP.Background",t.onBlurHandler,!1)),"hidden"in g?l.un(f,"visibilitychange",t.onVisibilityChange):(l.un(f,"blur",t.onBlurHandler),l.un(f,"focus",t.onFocusHandler))},init_observer:function(t,e){var n=["IFRAME","BODY","OBJECT","SCRIPT","NOSCRIPT","LINK","STYLE","#comment"],a=["class","style"],c=function(t){return"characterData"===t.type?[t.target]:"attributes"===t.type&&a.indexOf(t.attributeName)>-1?[t.target]:"childList"!==t.type?[]:void 0},l=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){var e=i.getGlobalValue("aplus_queue");if(e.push({action:"aplus.aplus_pubsub.publish",arguments:[s.APLUS_DOM_CHANGE,t]}),t&&t.length>0)for(var n=0;n<t.length;n++){var a=t[n]||{},o=u.nodelistToArray(a.addedNodes||[]);o=u.nodelistToArray(c(a),o),l(o,a)}}));var p={attributes:!0,childList:!0,characterData:!0,subtree:!0};this._observer.observe(g.body,p),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=f.MutationObserver||f.WebKitMutationObserver||f.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={}),"routeChange"===t.from&&e.elementSelectorSizeMap&&(e.elementSelectorSizeMap={}),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=g.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=d},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=g.getWinPositions(),o=0,r=l.getGoldlogVal("_aplus_auto_exp")||{},i=r._acHashMap||{};for(var s in i)for(var u=i[s]||[],p=0;p<u.length;p++){var f=u[p]||{};f.eventType="IObserver";var v=!!n||f.element===e.target;if(0===f.status&&f.expConfig&&v){var b=e.boundingClientRect||{};if(b.width||b.height||(b=e.target.getBoundingClientRect()||{}),b.width&&b.height){f=c.assign(f,b),f.x=b.x||b.left,f.y=b.y||b.top,f.width=b.width,f.height=b.height,f.size=b.width*b.height;var y=g.checkIsRecord(f.element,f.hash_value,"_aplus_auto_exp"),S=f.width*f.height*e.intersectionRatio,A=g.getViewabilityRateInWindow(a,S,h);if(!y){var E=e.intersectionRatio>=_;if(E||A>=h){f.exposureTime=t,f.status=1;var T=d.getAutoExpUserFn();T&&(f.userParams=m.autoUserFnHandler(T,f.element,f.elementSelector,f.expConfig)),f.viewabilityRate=E?e.intersectionRatio:A,f.viewability=E?"intersection":"fillwindow",d.EXP_DURATION||(f.status=2),m.updateExpHashMap(s,f,"UPDATE"),++o}else A&&m.updateExpHashMap(s,c.assign(u[p],{lastEventType:f.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?f.filterStartExposureSize(r,t):a(r,t),i>0&&(d.EXP_DURATION?setTimeout(function(){i=f.filterEndExposureSize(r,o),i>0&&aplus.aplus_pubsub.publish(n,{size:i,eventType:o})},d.EXP_DURATION):aplus.aplus_pubsub.publish(n,{size:i,eventType:o}))}function r(t){var e={root:null,rootMargin:"0px",threshold:_};return new b(function(t){p(t,function(t){if(t.intersectionRatio>0){o(t);var e=t.target.getBoundingClientRect();e.width&&e.height||s(t.target)}})},c.assign(e,t))}function i(t){if(b){y.io_base||(y.io_base=r());var e=l.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 u,c="io_v_"+encodeURIComponent(s.positionSelector);s.positionSelector&&!y[c]&&(u=r({root:document.querySelector(s.positionSelector),expConfig:t}),y[c]=u),u?u.observe(s.element):y.io_base.observe(s.element),s.inObserver=!0}}}return!0}function s(t){window.ResizeObserver&&(u||(u=new window.ResizeObserver(function(t){t.forEach(function(t){var e=t.target;t.contentRect.height&&t.contentRect.width&&(y.io_base.unobserve(e),y.io_base.observe(e),u.unobserve(e))})})),u.observe(t))}var u,c=n(28),l=n(2),p=n(18),f=n(77),g=n(75),d=n(67),m=n(60),_=d.AUTO_AT_VIEW_RATE,h=d.AUTO_AT_VIEW_RATE_IN_WINDOW,v=window,b=v.IntersectionObserver,y={};aplus._aplus_auto_exp.iobserverMap=y,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 y){var a=y[n];a.disconnect()}}},function(t,e,n){"use strict";var a,o=n(2),r=n(75),i=n(67),s=n(60),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]||[],m=0;m<d.length;m++){var _=d[m]||{};if(0===_.status&&_.expConfig&&!l(_.element)){var h=r.getElementPosition(_.element);if(h.width&&h.height){_.x=h.x,_.y=h.y,_.eventType=e,_.width=h.width,_.height=h.height,_.size=h.width*h.height;var v;_.expConfig.positionSelector&&(v=r.getWinPositions(_.expConfig.positionSelector));var b=r.wrapViewabilityRate(v||a,_,u),y=b>=u,S=b;v&&(S=r.wrapViewabilityRate(a,_,u));var A=_.width*_.height*S,E=r.getViewabilityRateInWindow(a,A,c),T=r.checkIsRecord(_.element,_.hash_value,"_aplus_auto_exp");
if((y||E>=c)&&!T){_.exposureTime=t,_.status=1;var I=i.getAutoExpUserFn();I&&(_.userParams=s.autoUserFnHandler(I,_.element,_.elementSelector,_.expConfig)),i.EXP_DURATION||(_.viewabilityRate=y?b:E,_.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),m=r.checkIsRecord(g.element,g.hash_value,"_aplus_auto_exp");d&&!m?(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(58),o=n(77),r=n(60),i=n(67),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=aplus.getElementSPM(e,t);return n}function o(){i||(i=!0,aplus.on(window,"beforeunload",function(){clearInterval(r),r=null;for(var t=0;t<y.length;t++)aplus_queue.push(y[t]);y=[]}))}var r,i,s=n(55),u=n(28),c=n(2),l=n(20),p=n(57),f=n(9),g=n(38),d=n(18),m=n(60),_=n(67),h=function(){var t=aplus.aplusDebug,e={},n=_.getDefaultRequestCfg(),o=c.getGoldlogVal("_aplus_auto_exp")||{},r=o._acHashMap||{};return p(r,function(r,i){var s=i||[];d(s,function(i){if(2===i.status){i.status=3;var s=m.canRecord({target:i.element,gmkey:"EXP",config:i.expConfig});if(!s)return;m.updateExpHashMap(r,i,"UPDATE"),o.exp_times++;var c,p=i.expConfig||{},g=a(p.eltype,i.element),d="";try{var _=new Number(i.viewabilityRate);c=_.toFixed(2)}catch(t){c=i.viewabilityRate}var h={_w:i.width,_h:i.height,_x:i.x,_y:i.y,_rate:c,_viewability:i.viewability};"object"==typeof i.userParams&&("object"==typeof i.userParams.userdata&&(h=u.assign(h,i.userParams.userdata)),i.userParams.spm&&(g=a(p.eltype,"",i.userParams.spm)),i.userParams.scm&&(d=i.userParams.scm));var v={scm:d,spm:g};(m.isMethod(p.method)||m.isPkgSize(p.pkgSize))&&(n=m.filterExpConfigRequestCfg(p));var b=m.fillPropsData(p,i.element,h);b=m.fillFilterData(p,i.element,h),b=u.assign(b,m.getDataTrackerParams(i.element)),m.isCombineRecordLogkey(r)?v.exargs=b:v=u.assign(v,b),r=m.getDefaultLogkey({target:i.element,config:p}),m.isAutoLogLogkey(r)&&f(p.getLogkey)&&(r=p.getLogkey(i.element,b),v._is_auto_logkey="1",v.spm=aplus.getAutoElementSPM(i.element,p.eltype)),e[r]||(e[r]=[]),e[r].push(v),t&&l().w("logkey = "+r+", params = "+decodeURIComponent(JSON.stringify(v)))}})}),{logkeyContainer:e,request_cfg:n}},v=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},b=function(t){var e=c.getGoldlogVal("_aplus_auto_exp")||{},n=e._acHashMap||{},a=[];p(n,function(e,n){for(var o=v(n)||[],r=0,i=o.length;r<i;r++){var s=o[r]||{},u=n[r]||{};if(3===s.status)try{m.setRecordSuccess(u,_.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;)m.updateExpHashMap(e,a.pop(),"CLEAR")})},y=[],S=function(){r=setInterval(function(){y.length>0?aplus_queue.push(y.pop()):(clearInterval(r),r=null)},200)},A=function(t,e,n){var a=t.logkeyContainer||[],o=t.request_cfg||{};s.wrap(function(){p(a,function(t,a){var r=m.isCombineRecordLogkey(t);if(g(a)&&a.length>0){for(var i=0;i<a.length;){var s=o.method||"POST",u="EXP";if(r){var c=a.slice(i,i+o.pkgSize);y.push({action:"aplus.combineRecord",arguments:[t,u,c,s]}),i+=o.pkgSize}else{var l={_is_auto_exp:1,_eventType:e.eventType,_method:o.method,is_auto:1},p=a[i];d(p,function(t,e){l[t]=e}),aplus_queue.push({action:"aplus.record",arguments:[t,u,l,s]}),i+=1}}n(e)}})})},E=function(t){if(t.size>0){r||S();var e=h()||{};A(e,t,b)}};e.watch_data_change=function(){aplus.aplus_pubsub.subscribe("APLUS_AE_EXPOSURE_CHANGE",E),o()},e.clear=function(){aplus.aplus_pubsub.unsubscribe("APLUS_AE_EXPOSURE_CHANGE",E)}},function(t,e,n){"use strict";var a=n(81),o=n(3),r=n(25).nameStorage,i=n(48);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(82),l=n(59);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";var a=n(81),o=n(84);t.exports=function(){return{do_tracker_lostpv:function(t){if(t&&t.page){var e=t.spm_ab?t.spm_ab.split("."):[],n=navigator&&navigator.sendBeacon?"post":"get",a="record_lostpv_by"+n+"_"+t.msg,r=new o({ratio:t.ratio||this.options.config.lostPvRecordRatio});r.run({code:102,page:t.page,msg:a,spm_a:e[0],spm_b:e[1],c1:t.duration,c2:t.page_url})}},recordLostPv:function(t){var e=window.aplus||{},n=e._$=e._$||{},a=e.spm_ab?e.spm_ab.join("."):"0.0",o=n.send_pv_count||0;if(o<1&&navigator&&navigator.sendBeacon){var r=location.hostname+location.pathname;this.do_tracker_lostpv({page:r,page_url:location.protocol+"//"+r,duration:t,spm_ab:a,msg:"dom_state="+document.readyState})}},run:function(){var t=this,e=new Date;a.on(window,"beforeunload",function(){var n=new Date,a=n.getTime()-e.getTime();t.recordLostPv(a)})}}}},function(t,e,n){var a=n(27),o=n(28),r=n(34),i={ratio:1,logkey:"fsp.1.1",gmkey:"",chksum:"H46747615"},s=function(t){t&&"object"==typeof t||(t=i),this.opts=t,this.opts.ratio=t.ratio||i.ratio,this.opts.logkey=t.logkey||i.logkey,this.opts.gmkey=t.gmkey||i.gmkey,this.opts.chksum=t.chksum||i.chksum},u=s.prototype;u.getRandom=function(){return Math.floor(100*Math.random())+1},u.run=function(t,e){var n,i,s={pid:"aplus",code:101,msg:"异常内容"},u="";try{var c=window.aplus||{},l=c._$||{},p=l.meta_info||{},f=parseFloat(p["aplus-tracker-rate"]);if(n=this.opts||{},"number"==typeof f&&f+""!="NaN"||(f=n.ratio),i=this.getRandom(),e||i<=100*f){u="//gm.mmstat.com/"+n.logkey,t.rel=c.globalConfig.script_name+"@"+c.globalConfig.lver,t.type=t.code,t.uid=encodeURIComponent(c.getCookieCna("cna")),t=o.assign(s,t);var g=a.obj2param(t);c.tracker=c.send(u,{cache:o.makeCacheNum(),gokey:g,logtype:"2"},"POST")}}catch(t){r.logger({msg:"tracker.run() exec error: "+t})}},t.exports=s},function(t,e,n){"use strict";var a=n(2),o=n(3),r=n(86),i=n(88),s=n(90);t.exports=function(){return{run:function(){var t=a.getGlobalValue(o.APLUS),e=t._$||{},u=e.meta_info||{},c="on"===u[o.APLUS_MONITOR_ENABLE];if(!t._aplus_cplugin_m){var l=this.options.config;t._aplus_cplugin_m=n(91).run(l),(c||["www.taobao.com"].indexOf(location.hostname)>-1)&&i(),(c||/alibaba-inc\.com$/.test(location.hostname))&&r(),["chat.qwen.ai","pre-chat.qwen.ai"].indexOf(location.hostname)>-1&&s()}}}}},function(t,e,n){function a(t){var e=["goldlog","aplus"];t=t||{};for(var n=t.message,a=t.filename,o=t.stack,r=((n||"")+" "+(a||"")+" "+(o||"")).toLowerCase(),i=0;i<e.length;i++)if(r.indexOf(e[i])>-1)return!0;return!1}function o(t){if(c(t)){var e="https://"+u.getReportHost()+"/aes.1.1",n={pid:"aplus-sdk-web",uid:u.getUid(),env:"prod",origin_url:location.href,title:document.title||"",version:u.getAplusVersion(),msg:u.buildQueryString({type:"js_error",url:t.file,ts:s.getCurrentTimestamp(),message:t.message,lineno:t.lineno,colno:t.colno,stack:t.stack})},a={gmkey:"EXP",gokey:u.safeEncodeURIComponent(u.buildQueryString(n)),logtype:"2"};window.navigator.sendBeacon?u.reportByBeacon(e,a):u.reportByImg(e,a)}}function r(t){var e={message:t.message,lineno:t.lineno,colno:t.colno,filename:t.filename};t.error&&t.error.stack&&(e.stack=t.error.stack),o(e)}function i(){window.addEventListener&&window.addEventListener("error",r,!1)}var s=n(62),u=n(87),c=function(){var t=0,e=3;return function(n){return t++,!(t>e)&&("object"==typeof n&&a(n))}}();t.exports=i},function(t,e,n){function a(){var t=c.getGlobalValue("aplus"),e=t.globalConfig||{};return e.lver}function o(t,e){if(!t||"object"!=typeof t)return"";var n=[];for(var a in t)if(t.hasOwnProperty&&t.hasOwnProperty(a)){var o=t[a],r="";if(null===o||void 0===o)r="";else if("object"==typeof o)try{r=JSON.stringify(o)}catch(t){r="[object]"}else r=String(o);e&&r.length>200&&(r=r.substring(0,197)+"...");try{n.push(a+"="+encodeURIComponent(r))}catch(t){n.push(a+"="+r)}}return n.join("&")}function r(t,e){var n=e||{};window.navigator.sendBeacon(t,JSON.stringify(n))}function i(t,e){var n=new window.Image,a=o(e,!0);n.src=t+(t.indexOf("?")>-1?"&":"?")+a}function s(t){if(p(t))try{return encodeURIComponent(t)}catch(e){return t}return""}function u(){var t=c.getGlobalValue("aplus"),e=t._$||{},n=e.meta_info||{};return n["aplus-rhost-g"]||"gm.mmstat.com"}var c=n(2),l=n(43),p=n(46);e.getUid=function(){var t="aplus_mock_uid_"+Math.random().toString(36).substring(2);return function(){return l.getCookie("cna")||t}}(),e.getAplusVersion=a,e.buildQueryString=o,e.reportByBeacon=r,e.reportByImg=i,e.safeEncodeURIComponent=s,e.getReportHost=u},function(t,e,n){function a(){var t=s.getDomains();if(t.length>0){var e=t[0];return{goldlogSendDomain:"g.aplus."+e,pvSendDomain:"v.aplus."+e}}}var o=n(2),r=n(89),i=n(13),s=n(44);t.exports=function(){var t=o.getGlobalValue("aplus"),e=o.getGlobalValue("aplus_queue"),n=t._$||{},s=n.meta_info||{},u=a(),c=u?u.goldlogSendDomain:"unknow",l=s["aplus-rhost-g"],p=r.isMobile()?"mobile":"pc",f={clientType:p};c!==l&&(e.push({action:"aplus.record",arguments:["/aplus.monitor.intercept_expect","OTHER",i({logSendDomain:c},f)]}),e.push({action:"aplus.record",arguments:["/aplus.monitor.intercept_actual","OTHER",i({logSendDomain:l},f)]}))}},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=/ArkWeb/i.test(t),r=/Windows Phone/i.test(t)||/IEMobile/i.test(t)||/WPDesktop/i.test(t),i=/BlackBerry/i.test(t),s=/Opera Mini/i.test(t);return e||n||a||o||r||i||s}},function(t,e,n){function a(t){var e=[];return i(t,function(t,n){null!==n&&("object"==typeof n&&(n=JSON.stringify(n)),e.push(encodeURIComponent(t)+"="+encodeURIComponent(String(n))))}),e.join("&")}function o(t,e){var n=e||{};navigator.sendBeacon(t,JSON.stringify(n))}var r=n(13),i=n(18),s=n(62),u=n(61);t.exports=function(){var t=location.hostname,e="https://aplus.qwen.ai/service.stability.log_arrival_rate",n="https://ss.qwen.ai/ss.compare.service",i="https://"+t+"/api/v2/users/status",c="aplus.qwen.ai",l="ss.qwen.ai",p="tongyiLogService",f="5.0.0",g={logId:u.generateHexString(36),timestamp:s.getCurrentTimestamp(),domain:t,testTag:"compareLogService",testVersion:f};o(e+"?logId="+g.logId,{gmkey:"OTHER",gokey:a(r(g,{serviceName:c,requestType:"sendBeacon"}))}),o(n+"?logId="+g.logId,{gmkey:"OTHER",gokey:a(r(g,{serviceName:l,requestType:"sendBeacon"}))}),o(i,{typarms:r(g,{serviceName:p,requestType:"sendBeacon"})})}},function(t,e,n){"use strict";var a=n(34),o=n(84),r=navigator&&navigator.sendBeacon?"post":"get";e.run=function(t){return{status:"complete",do_tracker_jserror:function(e){try{var n=new o({logkey:e?e.logkey:"",ratio:e&&"number"==typeof e.ratio&&e.ratio>0?e.ratio:t.jsErrorRecordRatio}),i=["Message: "+e.message,"Error object: "+e.error].join(" - "),s=aplus.spm_ab||[],u=location?location.hostname+location.pathname:"";n.run({code:110,page:u,msg:"record_jserror_by"+r+"_"+e.message,spm_a:s[0],spm_b:s[1],c1:i,c2:e.filename,c3:location?location.protocol+"//"+u:""})}catch(t){a.logger({msg:t})}},do_tracker_browser_support:function(e){var n=!1;try{if(e&&e.page){var i=e.spm_ab?e.spm_ab.split("."):[],s=new o({ratio:e.ratio||t.browserSupportRatio}),u=aplus._aplus_client||{},c=u.ua_info||{};s.run({code:111,page:e.page,msg:e.msg+"_by"+r,spm_a:i[0],spm_b:i[1],c1:[c.o,c.b,c.w].join("_"),c2:e.etag||"",c3:e.cna||""}),n=!0}}catch(t){a.logger({msg:t})}return n}}}},function(t,e,n){"use strict";t.exports=function(){return{run:function(){var t=n(93),e=t.create({WS:null,format:"ALI"});e.run(this.options)}}}},function(t,e,n){"use strict";var a=n(10),o=n(94),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=u.getMetaInfo(i.APLUS_BRIDGE_NAME);if(!n){var a,r=o.getHttpBasicParams(t.what_to_send.logdata),s=t.where_to_send.method,c=u.getMetaInfo("aplus-first-tracking"),l=s;"POST"===s&&navigator&&navigator.sendBeacon?(l="POST",a="pv"===e?r.objStr:JSON.stringify(r.obj)):(l="GET",a=r.objStr),c&&"pv"===e&&u.send(t.where_to_send.url,r.objStr.replace(/a21dvn\.b28762401\.0\.0/,"a1z1d1.26790227.0.0"),"GET"),u.send(t.where_to_send.url,a,l)}};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 m(e,function(e){delete t[e]}),t}function r(){if("boolean"!=typeof v){var t=navigator.userAgent;v=/Trident/.test(t)}return v}function i(t){var e=g.cloneDeep(t.gokey);return e.cache=t.cache,e=g.assign(e,t.sdk_info),e=g.assign(e,t.client),e=g.assign(e,t.etag),delete e.egUrl,e=o(e,["userAgent","pvid","cna","screenWidth","screenHeight"]),e._g_encode||(e._g_encode="utf-8"),f.encodeGokeyValue(g.cloneDeep(e))}function s(t,e){return b(t,[[p.SPM_CNT,e[p.SPM_CNT]],[p.SPM_URL,e[p.SPM_URL]],[p.SPM_PRE,e[p.SPM_PRE]]]),t}function u(t,e){var n=t;if(t.indexOf("uidaplus=")>-1){var a=t.split("uidaplus=");if("&"===a[1][0])n=t.replace(/uidaplus=/,"uidaplus="+e);else{var o=a[1].split("&");o[0]=e,n=a[0]+"uidaplus="+o.join("&")}}else n="uidaplus="+e+"&"+t;return n}function c(t){var e=d.getGoldlogVal("_$")||{},n=e.meta_info||{},o=t.logtype,c=t.cna_info,l=n["aplus-ifr-pv"]+""=="1",g=parent!==self;o=g&&!l?"0":"1";var m=[["logtype",o],["title",t.title],["pre",t.pre],["scr",a(t,"x")]];r()||m.push(["_p_url",t.url]),h(c)&&(m.push(["ts",c.timestamp]),m.push(["rd",c.randomNum])),b(m,[[f.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]]),m=s(m,t.gokey||{});var v=t.exparams||"",y=_.getUserId();y&&(v=u(v,y)),v.indexOf("&aplus&")===-1?m.push([f.s_plain_obj,"uidaplus="+y+"&"+p.APLUS]):m.push([f.s_plain_obj,v]);var S=i(t,"PV");for(var A in S)b(m,[[A,S[A]]]);var E=f.arr2param(m);return{objStr:E,obj:f.param2obj(E)}}function l(t){var e=t.cna_info,n=[["gmkey",t.gmkey]],a=i(t,"LOG");h(e)&&(n.push(["ts",e.timestamp]),n.push(["rd",e.randomNum])),b(n,[["gokey",f.obj2param(a)],[f.s_plain_obj,"cna="+t.cna]]),n=s(n,t.gokey||{});var o=_.getUserId();b(n,[["_gr_uid_",o],["uidaplus",o],["logtype",t.logtype],["nick",t._user_nick],["scr",t.client.scr]]),a._isCombine&&n.push(["_isCombine",1]),r()||n.push(["_p_url",t.url]);var u=f.arr2param(n);return{objStr:u,obj:f.param2obj(u)}}var p=n(3),f=n(27),g=n(28),d=n(2),m=n(18),_=n(39),h=n(19);e.getKeyIndex=function(t){var e={protocol:1,event_args:25};return e[t]};var v,b=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?c(t):l(t)},e.getWSBasicParams=function(t){var e=t.exparams,n=t.sdk_info||{},r=t.client.language||"",i=f.param2obj(e),u=g.assign(i,t.gokey);u=g.assign(u,n),u=g.assign(u,t.client),u=g.assign(u,t.etag),u=o(u,["userAgent","aplus","cna"]),u.jsver=n.jsver,u.lver=n.lver;var c=_.getUserId(),l=[["cna",t.cna]];return b(l,[["gmkey",t.gmkey],["gokey",f.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]),b(l,[["_p_url",t.url]]),f.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(43),o=n(29),r=n(62),i=n(97),s=n(2),u=n(28),c=n(98),l=n(99),p=n(55),f=n(3);t.exports=function(){return{init:function(t){var e=s.getGoldlogVal("globalConfig")||{},n=t.context.etag||{},i=l.getCnaMode(),u="LS"===i?o.getLsCna(e.ETAG_STORAGE_KEY):a.getCookieCna("cna");this.options=t,this.cna=n.cna||u,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(t,e){var n=this,a=s.getGlobalValue("aplus"),g="on"===a.getMetaInfo(f.APLUS_CNA_STABILITY);!a[f.APLUS_CNA]&&g&&(a[f.APLUS_CNA]={timestamp:r.getCurrentTimestamp(),randomNum:l.getRandomNum()});var d=l.isCnaEnable();if(d){if(n.cna)return void n.setTag(1);var m=null,_=a.getMetaInfo(f.APLUS_RHOST_V);if(_){this.options.context.etag.egUrl=_.replace(/\/\w+.gif$/,"")+"/eg.js";var h=i.getUrl(this.options.context.etag||{});n.requesting=!0;var v=function(){setTimeout(function(){e()},20),clearTimeout(m)},b=this.options.context.etag.unittest,y=b||l.requestCna,S=r.getCurrentTimestamp(),A=a.getMetaInfo("aplus-etag-timeout"),E=200,T=E;try{T=parseInt(A),(u.isNaN(T)||T<200)&&(T=E)}catch(t){}return y(h,function(t){var e,a,i=r.getCurrentTimestamp();if(t&&"error"===t.type?(c.toDynamicsNetwork(!0),n.setStag(-3),p.logCnaLoadInfo("failed",{loadUrl:h,loadType:"sync",errMsg:t.message})):(e=s.getGoldlogVal("Etag"),e&&n.setEtag(e),a=s.getGoldlogVal("stag"),"undefined"!=typeof a&&n.setStag(a),p.logCnaLoadInfo("success",{loadUrl:h,loadType:"sync",expectDuration:T,actualDuration:i-S})),n.requesting){var u=s.getGoldlogVal("globalConfig")||{};if(2===a||4===a){var l=o.getLsCna(u.ETAG_STORAGE_KEY);l?(n.setLsTag(1),n.setEtag(l)):(n.setLsTag(0),o.setLsCna(u.ETAG_STORAGE_KEY,n.today,e))}v()}}),m=setTimeout(function(){n.requesting=!1,n.setStag(-2),e()},T),T}}}}}},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,n){"use strict";function a(t,e){if("dynamics"===e){var n=["gm.mmstat.com","wgo.mmstat.com"];return n.indexOf(t)>-1?"d-"+t:t}}function o(t){function e(){var t=r.getGlobalValue("aplus"),e=t.getMetaInfo("aplus-rhost-g"),n=a(e,o);n!==e&&t.setMetaInfo("aplus-rhost-g",n)}t=t||{};var n=t.maxCount||1,o=t.networkType||"static",s=t.directSwitch||!1,u=0;return function(t){t=t||s,t?e():(++u,u>=n&&(i.logger({lever:"warn",msg:"日志上报失败，注意，要切成动态网络啦!"}),e(),u=0))}}var r=n(2),i=n(34);e.toDynamicsNetwork=o({maxCount:1,networkType:"dynamics",directSwitch:!1})},function(t,e,n){"use strict";function a(){var t=s.getGlobalValue("aplus"),e=t.getMetaInfo(i.APLUS_CNA_MODE);return e}function o(){var t=s.getGlobalValue("aplus");return"on"===t.getMetaInfo(i.APLUS_CNA_ENABLE)}function r(){var t=4294967296*Math.random()>>>0,e=t>>>1;return e}var i=n(3),s=n(2),u=n(9),c=n(46),l=n(50),p=n(18),f=n(29),g=n(41),d=n(62);e.getCnaMode=a,e.isCnaEnable=o,e.requestCna=function(t,e){function n(t){u(e)&&e(t)}var o=a();"LS"===o?l.request(t,function(t){if(c(t)){var e=t.split(";");p(e,function(t){if(/^goldlog\.Etag/.test(t)){var e=t.split("=")[1].replace(/\"/g,""),n=s.getGoldlogVal("globalConfig")||{},a=d.getFormatDate();s.setGoldlogVal("Etag",e),f.setLsCna(n.ETAG_STORAGE_KEY,a,e)}else if(/^goldlog\.stag/.test(t)){var o=+t.split("=")[1];s.setGoldlogVal("stag",o)}})}n()},function(t){"object"==typeof t&&(t.type="error"),n(t)}):g.loadScript(t,function(t){n(t)})},e.getRandomNum=r},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);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||{},o=this.getAplusWaiting(),r=!0,i=a.getGlobalValue("aplus"),s="default";if(i.globalConfig.isAli&&(s=window.APLUS_CONFIG&&window.APLUS_CONFIG.pvTrack||s,"off"===s&&(r=!1)),n.is_auto){if(!r)return"done";if(o)switch(o=this.getAplusWaiting()+"",this.options.context.when_to_sendpv={aplusWaiting:o},o){case"MAN":return"default"===s?"done":void 0;case"1":return this.options.context.when_to_sendpv.isWait=!0,setTimeout(function(){e()},6e3),6e3;default:var u=1*o;if(u+""!="NaN")return this.options.context.when_to_sendpv.isWait=!0,setTimeout(function(){e()},u),u}}}}}},function(t,e,n){"use strict";var a=n(89),o=n(2),r=n(65),i=n(19),s=n(20),u="POST",c="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="";if("PV"===t)n="aplus-rhost-v",e=this.getAplusMetaByKey(n);else if(n="aplus-rhost-g",e=this.getAplusMetaByKey(n),["wgo.mmstat.com","gm.mmstat.com"].indexOf(e)>-1)a.isMobile()&&/gm/.test(e)&&(e="wgo.mmstat.com"),!a.isMobile()&&/wgo/.test(e)&&(e="gm.mmstat.com");else if(a.isMobile()){var o=e.match(/\/[a-z]+$/);r(o)?e+="/wap":e=e.replace(o[0],"/wap"+o[0])}return e},getHjljHostUrl:function(t){var e=this.options.context,n=e.userdata||{},a=n.gokey||{};t=i(a)&&a.logSendDomain?a.logSendDomain:t;var o=/^\/\//.test(t)?"":"//",r=/\/$/.test(t)?"":"/",u=o+t+r,c=this.options.context.userdata||{},l=c.logkey;return l?u+=/^(\/)/.test(l)?l.substr(1):l:s().w("eventCode "+l+' is invalid, suggestion: "/aplus.1.1"'),u},getPvHostUrl:function(t){var e=this.options.config;t=e.logSendDomain||t;var n=/^\/\//.test(t)?"":"//",r=/\/$/.test(t)?"":"/",i=o.getGoldlogVal("_$")||{},s=i.meta_info||{},u=s["aplus-ifr-pv"]+""=="1",c=parent!==self;if(/\.gif$/.test(t))return n+t;var l="v.gif";return a.isMobile()&&(l="m.gif"),c&&!u&&(l="y.gif"),n+t+r+l},getChannel:function(t){var e,n=this.getAplusMetaByKey("aplus-channel"),a=["WS","WS-ONLY",c,u];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)||u;r!==u||navigator&&navigator.sendBeacon||(r=c),this.options.context.where_to_send.method=o.method,this.options.context.where_to_send.url=a}}}}},function(t,e,n){"use strict";var a=n(43),o=n(17),r=n(28),i=n(89),s=n(2),u=n(45),c=n(39),l=n(3),p=s.getGlobalValue("aplus");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=this.options.config||{},e=s.getGlobalValue("aplus");if(!t.is_auto&&e.spmAPI){var n=s.getGoldlogVal("_$")||{},a=n.spm||{},o=a.data.b;if(o){var r=this.getPageId();o=r?o.split("/")[0]+"/"+r:o.split("/")[0],e.spmAPI.setB(o);var i=a.spm_cnt.split(".");i&&i.length>2&&(i[1]=o,a.spm_cnt=i.join("."))}}},getCommonParams:function(){var t=this.options.context||{},e=t.etag||{},n=t.userdata||{},f=s.getGoldlogVal("_$")||{},g=s.getGoldlogVal(l.APLUS_CNA),d=f.spm||{},m=this.options.config||{},_=i.isMobile()?"WAP":"PC",h=p.getMetaInfo("aplus-first-tracking"),v=u.getPid(),b=u.getConfig("codeVersion"),y=p.getMetaInfo(l.APLUS_TRACK_DEBUG_ID),S={_f_t:!!h};v&&(S.pid=v),y&&(S.aplus_track_debug_id=y),b&&(S.code_version=b),t.pha_trackinfo&&(S=r.assign(S,t.pha_trackinfo));var A={};p.globalConfig.isAli&&(A={"spm-url":d.spm_url||"","spm-pre":d.spm_pre||"","spm-cnt":d.spm_cnt||"",pvid:p.pvid||""});var E=(p.globalConfig.isDecodeUrl?"DC_":"")+Math.floor(268435456*Math.random()).toString(16),T={appId:p.getMetaInfo("appKey")||p.getMetaInfo("appId"),cache:E,cna:e.cna||a.getCookieCna("cna"),etag:e,cna_info:g,pre:f.page_referrer||"-",sdk_info:{jsver:p.globalConfig.script_name,lver:p.globalConfig.lver,customSdkId:p.getMetaInfo("customSdkId")||"",platformType:_.toLowerCase()},trackerEventCode:m.trackerEventCode,title:m.title||document&&document.title,url:m.pageUrl||(location?location.href:"-"),client:p._aplus_client||{},gokey:r.assign(A,S),_user_nick:c.getUserNick(),gmkey:n.gmkey||"",method:this.options.context.where_to_send.method},I=o.getParamFromUrl("scm",location.href)||"";return I&&(T.scm=I),n.gokey&&n.gokey.alsc_spm_url&&(T.gokey["spm-url"]=n.gokey.alsc_spm_url),n.gokey&&n.gokey.alsc_spm_pre&&(T.gokey["spm-pre"]=n.gokey.alsc_spm_pre),n.gokey&&n.gokey.alsc_page_name&&(T.title=n.gokey.alsc_page_name),T},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:p._$.send_pv_count>0?new Date:p.logConfig.pageLoadTime})},checkEventCodeLegality:function(t){return/^(([0-9])|([1-9][0-9]{1,5}))$/.test(t)},getHjljParams:function(){var t=this.options.context||{},e=t.userdata||{},n=this.checkEventCodeLegality(e.gmkey)?e.gmkey:l.OTHER,a={event_code:l.EVENT_ID_MAP[e.gmkey]||n,logtype:"2",logkey:e.logkey,event_timestamp:new Date};return e["spm-cnt"]&&(a["spm-cnt"]=e["spm-cnt"]),e["spm-pre"]&&(a["spm-pre"]=e["spm-pre"]),r.assign(this.getCommonParams(),a)},run:function(){var t={};"PV"===this.options.config.recordType?(this.resetSpmB(),t=this.getPvParams()):t=this.getHjljParams(),this.options.context.what_to_send.logdata=t}}}},function(t,e,n){"use strict";var a=n(28),o=n(43);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(38),r=n(28),i=n(2),s=n(3),u=n(47);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},updateSpmUrl:function(t){var e=this.options.config||{},n=e[s.SPM_URL]||e.spmUrl;if(!u(n)){t.gokey[s.SPM_URL]=n;var a=i.getGlobalValue("aplus");a._$.spm.spm_url=n}return 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),t=this.updateSpmUrl(t),this.options.context.what_to_send.logdata=t,this.options.context.userdata=t.gokey,this.options.context.pure_userdata=e}}}},function(t,e,n){"use strict";var a=n(40),o=n(107),r=n(13);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(this.getExParamsInfo(),t),this.options.context.what_to_send.logdata.gokey=t}}}},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(42),s=n(28),u=n(2),c=n(43),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=this.options.config||{},f=i.what_to_send||{},g=f.logdata||{},d=g.sdk_info||{},m=this.options.context.etag||{},_=o(a(g.exparams||[]));_=r.arr2obj(_);var h=i.userdata,v=location.href,b={},y=l.getParamFromUrl("scm",v)||"";y&&(b.scm=y);var S=l.getParamFromUrl("pg1stepk",v)||"";S&&(b.pg1stepk=S);var A=l.getParamFromUrl("point",v)||"";A&&(b.issb=1),d&&d.mansndlog&&(b.mansndlog=d.mansndlog),b=this.upUtData(b,_),b=this.upUtData(b,g.gokey),b=this.upUtData(b,h),b.functype="page",b.funcId="2001",e&&e.globalConfig&&e.globalConfig.isAli?b.url=(location.protocol||"https:")+"//"+location.host+location.pathname:b.url=location.href,s.pageName&&(b.url=s.pageName),b._ish5="1",b._h5url=v,b._toUT=2,b._bridgeName="WindVane",b._bridgeVersion="3.0.7",n.spm_cnt&&(b[p.SPM_CNT]=n.spm_cnt||""),n.spm_url&&(b[p.SPM_URL]=n.spm_url||""),n.spm_pre&&(b[p.SPM_PRE]=n.spm_pre||""),b.cna=m.cna||c.getCookieCna("cna"),b.lver=d.lver,b.jsver=d.jsver,b.pver="1.0.0",b.isonepage=-1;var E=e.getMetaInfo("aplus-utparam");return E&&(b["utparam-cnt"]=JSON.stringify(E)),b._is_g2u_=1,b._slog=1,b},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(110);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||{},i=!!r.updateOnly;return t.cur_pv_update=i,o.canSendPV(r.track_type)?(e.flag="YES",this.options.context.can_to_sendpv=e,t.send_pv_count=++n,void a.setGoldlogVal("_$",t)):"done"}}}},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(111),u=n(113),c=n(42),l=n(37),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(d):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(112),g=n(28),d="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&&!g.isEmptyObject(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(37),o=n(9),r=n(32),i=n(33),s=n(3);t.exports=function(){function t(){var t=a.getContext();this.load=function(e){u?(t.removeStorage({key:n}),o(e)&&e()):(n="aplus_cache_"+i.getAppKey()||"",t.getStorage({key:n,success:function(a){u=a&&a.data?r.parse(a.data)||{}:{},c=!0,t.removeStorage({key:n}),o(e)&&e()},fail:function(){u={},c=!0,t.removeStorage({key:n}),o(e)&&e()}}))},this.save=function(){u&&t.setStorage({key:n,data:r.stringfy(u)})},this.set=function(t,e){u&&(u[t]=e)},this.get=function(t){return(u||{})[t]},this.remove=function(t){u&&u[t]&&delete u[t]},this.getAll=function(){return u},this.clear=function(){u=null},this.has=function(t){return!!this.get(t)},this.isLoaded=function(){return c},this.getSync=function(t){try{var e=a.getStorageSync(t);return t===s.APLUS_IMPRINT_VERSION?e:"string"==typeof e?r.parse(e):e}catch(t){}},this.setSync=function(t,e){try{"object"==typeof e?a.setStorageSync(t,JSON.stringify(e)):a.setStorageSync(t,e)}catch(t){}}}var e=null,n="",u=null,c=!1;return function(){return e||(e=new t),e}}()},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(38),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,u=t.getMetaInfo("aplus-exinfo");s=r.assign(s,t.getMetaInfo("aplus-globaldata")),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=r.assign(s,a.param2obj(n.gokey))},run:function(){this.options.context.what_to_send.logdata.gokey=this.getUserData()}}}},function(t,e,n){"use strict";var a=n(40),o=n(107),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),r=n(13),i=n(18),s=n(19),u=n(68);t.exports=function(){return{formatGokey:function(t,e){if(s(t)){var n={},a=[];return i(t,function(t,e){var o=e;("undefined"===o||u(o))&&(o=""),n[t]=o,a.push(t+"="+o)}),"object"===e?n:a.join("&")}return t},getToUtData:function(){var t=a.getGoldlogVal("_$")||{},e=a.getGlobalValue(o.APLUS),n=t.spm||{},i=t.meta_info||{},s="off"===i[o.APLUS_GOKEY_ISOLATE],u=this.options.context||{},c=u.userdata||{},l=u.etag||{},p=u.what_to_send||{},f=p.logdata||{},g=f.sdk_info||{},d=f.gokey||{},m=location.href,_=s?r({},this.formatGokey(d,"object")):{};_.functype="ctrl",_.funcId=f.event_code,e&&e.globalConfig&&e.globalConfig.isAli?_.url=(location.protocol||"https:")+"//"+location.host+location.pathname:_.url=location.href,d.pageName&&(_.url=d.pageName),d._isCombine&&(_._isCombine=1),_.logkey=f.logkey,s||(_.gokey=encodeURIComponent(this.formatGokey(d,"string"))),_.gmkey=f.gmkey,_._ish5="1",_._h5url=m,_._is_g2u_=1,_._slog=1,_._toUT=2,_._bridgeName="WindVane",_._bridgeVersion="3.0.7",n.spm_cnt&&(_[o.SPM_CNT]=n.spm_cnt||""),n.spm_url&&(_[o.SPM_URL]=n.spm_url||""),n.spm_pre&&(_[o.SPM_PRE]=n.spm_pre||""),_.cna=l.cna,_.lver=g.lver,_.jsver=g.jsver,c.hasOwnProperty("autosend")&&(_.autosend=c.autosend);var h=e.getMetaInfo("aplus-utparam");return h&&(_["utparam-cnt"]=JSON.stringify(h)),_},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(119)()}}}},function(t,e,n){"use strict";var a=n(41),o=n(2),r=n(120),i=n(127),s=n(128),u=n(129),c=n(130),l=n(131);t.exports=function(){var t=o.getGoldlogVal("_$")||{},e=t.meta_info,p=e["aplus-touch"],f={isTouchEnabled:a.isTouch()||"1"===p||"tap"===p,isTerminal:t.is_terminal||/WindVane|Themis/i.test(navigator.userAgent)};n(121).makePVId(),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(f),s.run(f),u.run(f),c.run(f)}},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(121),c=n(29),l=n(123),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(122);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(61),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!=P&&t.tagName!=I;){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=T.is_ignore_spm(t);if(u){var c=m.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=S.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,C),n=h.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,w),e&&e.match(/^d\w+$/)||(e="")),e}function p(t,e){for(var n=[],a=h.nodeListToArray(t.getElementsByTagName("a")),o=h.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,w)){s=!0;break}if(!s){var l=v.tryToGetAttribute(c,M);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!==P&&t.tagName!==I&&t.getAttribute;){var a=t.getAttribute(w);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,a=b.getGlobalValue("aplus"),o="on"===a.getMetaInfo("aplus-iframe-ignore-i"),r="true"===A.getParamFromUrl("aplus_heat",location.href)||!!E.getCookie("aplus_heat");if((!n||o||r)&&e)return[t,e].join(".");if(t&&e)return t+".i"+e;var i=window.g_SPM||(window.g_SPM={}),s=i.spm_d_for_ad||{};return"number"==typeof s[t]?s[t]++:s[t]=0,i.spm_d_for_ad=s,t+".i"+s[t]}function d(t){var e;return t&&(e=t.match(/&?\bspm=([^&#]*)/))?e[1]:""}var m=n(27),_=n(28),h=n(29),v=n(23),b=n(2),y=n(124),S=n(121),A=n(17),E=n(43),T=n(125),I="BODY",P="HTML",w="data-spm",C="data-spm-click",M="data-auto-spmd",x="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,x);if(!e){var n=o(),a=t.parentNode;if(!a)return"";var r=c(t)||{},i=r.locaid||"",s=t.getAttribute(w)||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 m=o();if(m&&m.match(/^[\w\-\*]+(\.[\w\-\*\/]+)?$/))if(_.isContain(e,".")){if(!_.isStartWith(e,m)){var h=m.split(".");g=e.split(".");for(var b=0;b<h.length;b++)g[b]=h[b];e=g.join(".")}}else _.isContain(m,".")||(m+=".0"),e=m+"."+e;if(e.match&&e.match(/^[\w\-\*]+\.[\w\-\*\/]+\.[\w\-\*\/]+$/)){for(var S="data-auto-spmd-max-idx",A="data-spm-max-idx",E=i?S:A,T=parseInt(v.tryToGetAttribute(t,E))||0,I=0;I<f.length;I++){var P=f[I],w=y.tryToGetHref(P),M=v.tryToGetAttribute(P,C);if(i||w||M){d&&P.setAttribute("data-spm-wangpu-module-id",s);var O=P.getAttribute(x);if(O&&r(O))u(P,O,n);else{var L,U,k=a(P.parentNode);k.a_spm_ab?(U=k.a_spm_ab,L=k.ab_idx):(U=void 0,T++,L=T);var R,N=c(P)||{},G=N.locaid||"";G?R=G:(R=l(P)||L,i&&(R="at"+((_.isNumber(R)?1e3:"")+R))),O=U?e+"-"+U+"."+R:e+"."+R,u(P,O,n)}}}t.setAttribute(E,T)}}}},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(124),p=n(2),f=n(126),g="data-spm-protocol";e.is_ignore_spm=function(t){var e=p.getGoldlogVal("_$")||{},n=e.meta_info||{},d=l.tryToGetHref(t),m=i(t),_=u.tryToGetAttribute(t,g),h="i"===(_||m||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!(h||!c.isStartWith(d,"#")&&!y)||h}},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||"",l=t.getAttribute("data-spm")||r,g="CLK",d=a.gokey||"",m=f.spm_getSPMParam(t),_=[m.a,m.b,m.c,l].join("."),h=o+"."+_;0!==h.indexOf("/")&&(h="/"+h);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(h,g,d,"GET",function(){}):p().w("aplus.recordUdata is not function!"),i.tryToSetAttribute(t,"data-spm-anchor-id",_)}function o(t,e){if(!l.isEditableElement(e)){var n=e;window.g_SPM&&(g_SPM._current_spm=f.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=g.getGlobalSPMId(),s=aplus.getMetaInfo("aplus-getspmcd");"function"==typeof s&&s(n,t,r)}}}var r=n(81),i=n(23),s=n(9),u=n(29),c=n(42),l=n(41),p=n(20),f=n(120),g=n(123);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(123),s=n(120);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(81),r=n(120);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(42),s=n(23),u=n(81),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(121),g=n(48),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 m=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=m({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)),m({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(133)(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"},e._$.status="complete";var r=n(134).run.create({logConfig:t});for(var i in r)e[i]=r[i];var s=["aplusReady","complete"];a.doPubMsg(s),a.doCachePubs(s)}}},function(t,e,n){"use strict";function a(t,e){var n=e.context,a=n.what_to_send,o=a.logdata,r=o.gokey;T(L,function(t){t(r)})}function o(t,e){var n=e.context,a=n.what_to_send,o=a.logdata,r={logkey:o.logkey,gmkey:o.gmkey,gokey:o.gokey,method:o.method};T(k,function(t){t(r)})}function r(){var t=5e3;try{var e=m.getGlobalValue("aplus"),n=e.getMetaInfo(_.APLUS_MMSTAT_TIMEOUT);if(n){var a=parseInt(n);a>=1e3&&a<=5e4&&(t=a)}}catch(t){}return t}function i(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 s=n(10),u=n(43),c=n(23),l=n(81),p=n(34),f=n(20),g=n(36),d=n(28),m=n(2),_=n(3),h=n(13),v=n(21),b=n(135),y=n(42),S=n(138),A=n(38),E=n(139),T=n(18),I=n(19),P=n(9),w=n(61),C=n(69),M=n(26),x=n(140),O=[],L=[],U=[],k=[];e.run=s.extend({beforeSendPV:function(t){O.push(t)},afterSendPV:function(t){L.push(t)},launch:function(){p.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"})},installPlugin:function(t){P(t)&&t()},send:function(t,e,n){var a,o=m.getGlobalValue("aplus"),i=r();if(/^\/\//.test(t)){var s=_.HTTPS;/^\/\/(\d+\.){3,}\d+/.test(t)&&(s="http:"),t=s+t}return a="POST"===n&&navigator&&navigator.sendBeacon?x.postData(t,e,{timeout:i}):x.sendImg(t+"?"+e,i),o.req=a,a},sendPV:function(t,e){if(t=t||{},d.any(O,function(e){return e(n,t)===!1}))return!1;var n=m.getGlobalValue("aplus"),o=n.getMetaInfo(_.APLUS_SKIP_APV_RULES)||[];if(!y.itemMatch(o,location.href)||!t.is_auto){var r=new b;t.recordType="PV","GET"!==t.method&&(t.method="POST");var i=n.logConfig.pv;return r.run({plugins:i.plugins,context:d.cloneDeep(i.context)},{config:t,userdata:e,pubsubType:"pv",messageFnQueue:[a],middlewareMessageKey:"mw_change_pv"}),n._last_pv_info={datetime:(new Date).toString(),pageConfig:t,pageParams:e},!0}},pageEnter:function(t){v.pushIntoGoldlogQueue(_.PUBLISH,[_.PAGE_ENTER,t]),v.pushIntoGoldlogQueue(_.CACHE_PUBS,[_.PAGE_ENTER,t])},getParam:function(t){var e=window.WindVane||{},n=e&&"function"==typeof e.getParam?e.getParam(t):"";return n},beforeRecord:function(t){U.push(t)},afterRecord:function(t){k.push(t)},record:function(t,e,n,a,r){var s=m.getGlobalValue("aplus");if(d.any(U,function(t){return t(s)===!1}))return!1;var u=1;if(A(s.spm_ab)&&s.spm_ab.length>1&&(u=i(s.spm_ab,t,s.getMetaInfo(_.APLUS_REPORT_RATE))),1===u){var c=new b,l=s.logConfig.hjlj;return c.run({plugins:l.plugins,context:d.cloneDeep(l.context)},{config:{recordType:"COMMON_HJLJ",method:a},userdata:{logkey:t,gmkey:e,gokey:n||{}},pubsubType:"hjlj",messageFnQueue:[o],middlewareMessageKey:"mw_change_hjlj"},function(){P(r)&&r()}),!0}return!1},recordUdata:function(t,e,n,a,o){var r=m.getGlobalValue("aplus"),i=new b,s=r.logConfig.hjlj;return i.run({plugins:s.plugins,context:d.cloneDeep(s.context)},{config:{recordType:"DATACLICK_HJLJ",method:a},userdata:{logkey:t,gmkey:e,gokey:n||{}},pubsubType:"hjlj",messageFnQueue:k,middlewareMessageKey:"mw_change_hjlj"},function(){P(o)&&o()}),!0},combineRecord:function(t,e,n,a){var o=m.getGlobalValue(_.APLUS),r="EXP",i="CLK",s="OTHER";if([i,r,s].indexOf(e)>-1||/^\d+$/.test(e))if(A(n)){a||(a="POST");var u=[];n.forEach(function(t){u.push({exargs:I(t.exargs)?t.exargs:{},scm:t.scm,spm:t.spm,aplusContentId:t.aplusContentId})});var c=[];[i,r].indexOf(e)>-1?(c.push((e===r?"expdata=":"clkdata=")+JSON.stringify(u)),c.push(e===r?"_is_auto_exp=1":"_is_auto_clk=1")):c.push("combinedata="+JSON.stringify(u)),c.push("_eventType=custom"),c.push("_method="+a),c.push("_pkgSize="+n.length),c.push("_isCombine=1"),o.record(t,e,c.join("&"),a)}else f().w("type of gokeys must be ArrayObject!");else f().w("only support EXP or CLK log to combile record!")},setPageSPM:function(t,e,n){var a=m.getGlobalValue("aplus"),o=a.getMetaInfo("aplus-spm-fixed");a.spm_ab=a.spm_ab||[];var r=d.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 i=M.qGet();if(a.spmAPI&&a.spmAPI.spaInit(a,i,r),"1"!==o){var s=r.join(".");a.spmab_pre=s}var u=["setPageSPM",{spmab_pre:a.spmab_pre,spmab:a.spm_ab.join(".")}];g.doPubMsg(u),g.doCachePubs(u),S.resetMetaAndBody(),S.resetModules(),"function"==typeof n&&n()},getPageSPM:function(){var t=m.getGlobalValue("aplus");return t.spm_ab||[]},getPageSpmUrl:function(t){var e=m.getGlobalValue("aplus"),n=e._$||{},a=n.spm||{},o=a.spm_url;if("object"!=typeof t&&(t={}),"undefined"!=typeof window&&window.__megability_bridge__&&!o){var r=window.__megability_bridge__.syncCall("ut","getPageSpmUrl",t);r&&0===r.statusCode&&r.data&&r.data.spmUrl&&(o=r.data.spmUrl)}return o},getPageSpmPre:function(t){var e=m.getGlobalValue("aplus"),n=e._$||{},a=n.spm||{},o=a.spm_pre;if("object"!=typeof t&&(t={}),"undefined"!=typeof window&&window.__megability_bridge__&&!o){var r=window.__megability_bridge__.syncCall("ut","getPageSpmPre",t);r&&0===r.statusCode&&r.data&&r.data.spmPre&&(o=r.data.spmPre)}return o},requestPageAllProperties:function(t){var e=m.getGlobalValue("aplus");t&&"object"==typeof t?e.setMetaInfo("aplus-allpage-properties",t):f().w("warning: typeof requestPageAllProperties's params must be object")},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(M.setMetaInfo(a,o,n)){var s=m.getGoldlogVal("_$")||{};s.meta_info=M.qGet();var u=m.setGoldlogVal("_$",s),c=["setMetaInfo",a,o,n];return g.doPubMsg(c),g.doCachePubs(c),u}},appendMetaInfo:M.appendMetaInfo,updatePageProperties:function(t){var e=m.getGlobalValue("aplus");t&&"object"==typeof t?(t._page&&(t.pageName=t._page,e.setMetaInfo("aplus-pagename",t.pageName),delete t._page),e.setMetaInfo("aplus-page-properties",t),e.appendMetaInfo("aplus-cpvdata",t)):f().w("warning: typeof updatePageProperties's params must be object")},updateNextPageProperties:function(t){var e=m.getGlobalValue("aplus");"object"==typeof t?e.appendMetaInfo("aplus-nextpage-properties",t):f().w("warning: typeof updateNextPageProperties's params must be object")},updatePageName:function(t){var e=m.getGlobalValue("aplus");t&&"object"==typeof t?e.setMetaInfo("aplus-pagename",t):f().w("warning: typeof updatePageName's params must be object")},updatePageUrl:function(t){
var e=m.getGlobalValue("aplus");t&&"object"==typeof t?e.setMetaInfo("aplus-pageurl",t):f().w("warning: typeof updatePageUrl's params must be object")},updatePageUtparam:function(t){var e=m.getGlobalValue("aplus");t&&"object"==typeof t?e.setMetaInfo("aplus-page-utparam",t):f().w("warning: typeof updatePageUtparam's params must be object")},updateNextPageUtparam:function(t){var e=m.getGlobalValue("aplus");t&&"object"==typeof t?e.setMetaInfo("aplus-nextpage-utparam",t):f().w("warning: typeof updateNextPageUtparam's params must be object")},updateNextPageUtparamCnt:function(t){var e=m.getGlobalValue("aplus");t&&"object"==typeof t?e.setMetaInfo("aplus-nextpage-utparamcnt",t):f().w("warning: typeof updateNextPageUtparamCnt's params must be object")},setUserProfile:function(t){var e=m.getGlobalValue("aplus");I(t)?e.setMetaInfo(_.APLUS_USER_PROFILE,t):f().w("warning: typeof setUserProfile's params must be object")},getUserProfile:function(){var t=m.getGlobalValue("aplus");return t.getMetaInfo(_.APLUS_USER_PROFILE)||{}},getMetaInfo:function(t){return M.getMetaInfo(t)},on:l.on,cloneDeep:d.cloneDeep,setCookie:u.setCookie,getCookie:u.getCookie,pageDisappear:function(t){var e=m.getGlobalValue("aplus");"object"!=typeof t&&(t={}),e.setMetaInfo("aplus-page-disappear",t)},pageDisAppear:function(t){var e=m.getGlobalValue("aplus");"object"!=typeof t&&(t={}),e.setMetaInfo("aplus-page-disappear",t)},pageAppear:function(t){var e=m.getGlobalValue("aplus");"object"!=typeof t&&(t={});var n={usePageAppearDontSkip:!0};n=d.assign(n,t),e.setMetaInfo("aplus-page-appear",n)},skipPage:function(t){var e=m.getGlobalValue("aplus");"object"!=typeof t&&(t={}),e.setMetaInfo("aplus-skip-page",t)},updateSessionProperties:function(t){var e=m.getGlobalValue("aplus");"object"==typeof t?e.setMetaInfo("aplus-session-properties",t):f().w("warning: typeof updateSessionProperties's params must be object")},getAutoElementSPM:function(t,e){var n="",a="";if(t){var o=c.tryToGetAttribute(t,"data-eltype")||e;if(window.g_SPM&&P(window.g_SPM.getParam)){var r=g_SPM.getParam(t);if("spmc"===o)a=c.tryToGetAttribute(t,"data-spm")||"cauto",n=[r.a,r.b,a].join(".");else{var i="dauto-"+C.getElementHash(t),s=c.tryToGetAttribute(t,"data-spm");a="0"===r.c?"cauto":r.c;var u=r.d===s?r.d:i;n=[r.a,r.b,a,u].join(".")}}}return n},getElementSPM:function(t,e){var n="";if(t){var a=c.tryToGetAttribute(t,"data-eltype")||e;if(window.g_SPM&&P(window.g_SPM.getParam)){var o=g_SPM.getParam(t);if("spmc"===a){var r=c.tryToGetAttribute(t,"data-spm")||"0";n=[o.a,o.b,r].join(".")}else n=[o.a,o.b,o.c,o.d].join(".")}}return n},generateTraceId:function(){var t=w.mockEagleeyeTraceId();return t+"00"},generateObservationId:function(){return w.generateHexString(16)},startObserve:function(t){if(!I(t))return f().w("warning: typeof startObserve's params must be object"),!1;E(t.observation_id)&&f().w("warning: typeof startObserve's params must have observation_id"),E(t.trace_id)&&f().w("warning: typeof startObserve's params must have trace_id");var e=t.observation_id,n=t.trace_id,a=t.parent_observation_id,o=m.getGlobalValue("aplus");I(o[_.APLUS_OBSERVATIONS])||(o[_.APLUS_OBSERVATIONS]={});var r=o[_.APLUS_OBSERVATIONS];r[e]={trace_id:n,parent_observation_id:a,start_time:Date.now()}},endObserve:function(t,e){if(E(t))return void f().w("warning: typeof endObserve's params must have observation_id");if(!P(e))return void f().w("warning: typeof endObserve's params must have callback");var n=m.getGlobalValue("aplus"),a=n[_.APLUS_OBSERVATIONS]||{},o=a[t],r={observation_id:t,end_time:Date.now()};I(o)&&(r=h(r,o)),P(e)&&e(r)}})},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(136),l=n(137),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},m=new c;m.create(d),m.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(42),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 m="number"==typeof a;if("pause"===a||m){p=0;var _=m?a:u,h=t[l]?t[l][1]:"";s=setTimeout(function(){0===p&&(i().w("jump the middleware about "+h+", 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){function n(t){return null===t||void 0===t||""===t}t.exports=n},function(t,e,n){"use strict";function a(t,e,n,a){var o=window||{},r=new Image,i="_img_"+Math.random();o[i]=r;var s=function(){if(o[i])try{delete o[i]}catch(t){o[i]=void 0}};return r.onload=function(){s(),n&&n()},r.onerror=function(){s(),a&&a()},setTimeout(function(){window[i]&&(window[i].src="",s())},e||5e3),r.src=t,r=null,t}function o(t,e){var n=function(){i.log("日志上报成功！")},o=function(){r.toDynamicsNetwork()};a(t,e,n,o)}var r=n(98),i=n(34),s=n(27),u=n(20);e.sendImgCore=a,e.sendImg=o,e.postData=function(t,e,n){n=n||{};var a=n.timeout||5e3,r=navigator.sendBeacon(t,e);if(!r)try{var i=JSON.parse(e),c=s.obj2param(i);o(t+"?"+c,a)}catch(t){u().err("sendBeacon retry by sendImg error",t)}return t}},function(t,e,n){"use strict";var a=n(142),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|combineRecord|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(m,t),g(_,t)}function s(t,e){return e&&f.openAPIs.indexOf(t)>-1&&(t="_"+t),t}var u=n(2),c=n(42),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();)h(a,e,function(t){o.push(t)});o.length>0&&setTimeout(function(){for(;a=o.shift();)h(a,e)},100)}}try{n()}catch(t){p().w(t)}};e.processGoldlogQueue=g;var d=[],m=[],_=[];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(m,e):"_hold"===t&&"START"===n&&i(e)}]})};var h=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 m,_=o.split("."),h=d,v=d;if(3===_.length)h=d[_[0]][_[1]]||{},m=s(_[2],a),v=h[m]?h[m]:"";else for(;_.length;)if(m=s(_.shift(),a),v=h=h[m],!h)return void(l(n)&&n(t));l(v)&&v.apply(h,f),"START"===g&&i(e)}}catch(t){p().w(t)}}};e.processTask=h;var v=function(t,e){for(var n={subscribeMwChangeQueue:[],subscribeMetaQueue:[],installPluginQueue:[],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):/installPlugin/.test(r)?n.installPluginQueue.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.installPluginQueue),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(62),o=n(29),r=n(97),i=n(31),s=n(3),u=n(2),c=n(99),l=n(55);t.exports=function(){return{init:function(t){this.options=t,this.today=a.getFormatDate()},run:function(){var t=this,e=u.getGlobalValue("aplus"),n=c.isCnaEnable();if(n){var p=u.getGoldlogVal("globalConfig");if(i.test()){var f=o.getLsCna(p.ETAG_STORAGE_KEY,t.today);if(!f){var g=e.getMetaInfo(s.APLUS_RHOST_V);if(g){t.options.context.etag.egUrl=g.replace(/\/\w+.gif$/,"")+"/eg.js";var d=r.getUrl(t.options.context.etag||{}),m=a.getCurrentTimestamp();c.requestCna(d,function(e){var n=u.getGoldlogVal("Etag"),r=a.getCurrentTimestamp();e&&"error"===e.type?l.logCnaLoadInfo("failed",{loadUrl:d,loadType:"async",errMsg:e.message}):(o.setLsCna(p.ETAG_STORAGE_KEY,t.today,n),l.logCnaLoadInfo("success",{loadUrl:d,loadType:"async",actualDuration:r-m}))})}}}}}}}},function(t,e,n){"use strict";var a=n(10),o=n(2),r=n(142),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);o.setGlobalValue(t,i.create({opts:e,startLength:n.length,length:0})),r.processGoldlogQueue(n,e)},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(41),r=n(42),i=n(43),s=n(20);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))},writeCookie:function(t,e){try{var n=new Date;n.setTime(n.getTime()+864e5),i.setCookie(t,e,{SameSite:"none",expires:"expires="+n.toUTCString()})}catch(t){s().w(t)}},getCache:function(t,e){return"cookie"===t?parent!==self?i.getCookie(e):"":"sessionStorage"===t?window.sessionStorage.getItem(e):void 0},setCache:function(t,e){"cookie"===t?parent!==self&&this.writeCookie(e,"on"):"sessionStorage"===t&&window.sessionStorage.setItem(e,"on")},run:function(){var t=this,e=parent!==self,n=this.options.config||{};r.isArray(n.urlRules)&&a(n.urlRules,function(n){if(!e||n.allowIframeLoad){var i,s=new RegExp(n.rule);try{i=n.id?t.getCache(n.cacheType,n.id):""}catch(t){}if(s.test(location.href)||i){try{t.setCache(n.cacheType,n.id)}catch(t){}r.isArray(n.cdnPath)?a(n.cdnPath,function(e){/\.css$/.test(e)?t.addStyle(n.id,e):/\.js/.test(e)&&o.addScript(e)}):o.addScript(n.cdnPath)}}})}}}},function(t,e,n){"use strict";var a=n(3),o=n(41),r=n(81),i=n(2);t.exports=function(){return{run:function(){var t=i.getGlobalValue(a.APLUS),e=t._$||{},n=e.meta_info||{},s="//o.alicdn.com/baxia/baxia-entry-gray/index.js";r.onload(function(){var t=n["aplus-xplug"];"NONE"!==t&&o.addScript(s,"","aplus-baxia")})}}}},function(t,e,n){"use strict";t.exports=function(){return{run:function(){aplus._aplus_cplugin_webvt||n(148)()}}}},function(t,e,n){"use strict";function a(t){var e=m.getQueryFromUrl()||{},n=f({},e);return delete n.spm,delete n.utparam,"config"===t?n._is_config_pv="1":n._is_auto_pv="1",n}function o(){var t=l.getGlobalValue("aplus"),e=t.getMetaInfo("data-spm")||g.hash(location.host),n=g.hash(location.pathname);return[e,n]}function r(){var t=l.getGlobalValue("aplus_queue"),e=o();t.push({action:"aplus.setPageSPM",arguments:e})}function i(){var t=l.getGlobalValue("aplus"),e=a("auto"),n=t.getPageSPM()||[];"0"===n[1]&&r(),aplus_queue.push({action:"aplus.sendPV",arguments:[{is_auto:!0},e]})}function s(){var t=l.getGlobalValue("aplus"),e=l.getGlobalValue("aplus_queue"),n=t.getMetaInfo(p.APLUS_SPA_TYPE);["history","hash"].indexOf(n)>-1?(i(),e.push({action:"aplus.aplus_pubsub.subscribe",arguments:[p.APLUS_PAGE_CHANGE,function(){r();var t=a("auto");e.push({action:"aplus.sendPV",arguments:[{is_auto:!0},t]})}]})):i()}function u(t){for(var e=l.getGlobalValue("aplus"),n=l.getGlobalValue("aplus_queue"),r=e.getMetaInfo(p.APLUS_AUTO_PV)||[],i=a("config"),s=0;s<r.length;s++){var u=r[s],c=u.match,f=h(c)&&c(t)||v(c)&&c.test(t.pathname);if(f){var g=u.pageSPM||h(u.getPageSPM)&&u.getPageSPM(t)||o(),d=h(u.formatter)&&u.formatter(i,t)||{};d._is_config_pv="1",n.push({action:"aplus.setPageSPM",arguments:g}),n.push({action:"aplus.sendPV",arguments:[{is_auto:!1},d]});break}}}function c(){var t=l.getGlobalValue("aplus"),e=t.getMetaInfo(p.APLUS_SPA_TYPE);u({pathname:location.pathname}),["history","hash"].indexOf(e)>-1&&aplus_queue.push({action:"aplus.aplus_pubsub.subscribe",arguments:[p.APLUS_PAGE_CHANGE,function(t){u(t)}]}),aplus_queue.push({action:"aplus.aplus_pubsub.subscribe",arguments:["setMetaInfo",function(t){t===p.APLUS_AUTO_PV&&u({pathname:location.pathname})}]})}var l=n(2),p=n(3),f=n(13),g=n(61),d=n(45),m=n(17),_=n(81),h=n(9),v=n(149),b=n(19);t.exports=function(){var t=l.getGlobalValue("aplus"),e=l.getGlobalValue("aplus_queue"),n=d.getConfig()||{},a=t.getMetaInfo("aplus-waiting"),o=t.getMetaInfo("aplus-cross-day-auto-pv"),r=n.pvTrack;t._aplus_apv||(t._aplus_apv={status:"complete"},"off"===r||"MAN"===a?c():s(),"on"===o&&_.on(document.body,"click",function(){var n=t._last_pv_info;if(b(n)){var a=new Date,o=new Date(n.datetime);if(a.getFullYear()>o.getFullYear()||a.getMonth()>o.getMonth()||a.getDate()>o.getDate()){var r=n.pageConfig||{},i=n.pageParams||{};i._is_cross_day_auto_pv="1",e.push({action:"aplus.sendPV",arguments:[r,i]})}}}))}},function(t,e){function n(t){return"[object RegExp]"===Object.prototype.toString.call(t)}t.exports=n},function(t,e,n){"use strict";t.exports=function(){return{run:function(){n(151)()}}}},function(t,e,n){"use strict";function a(){var t=d.getGlobalValue("aplus_queue"),e=[];_(O,function(t,n){e.push(n)}),t.push({action:"aplus.appendMetaInfo",arguments:[m.APLUS_SINGLE_RECORD_LOGKEYS,e]})}function o(t,e){var n=[{to:"_form_id",getValue:function(){return t===O.INIT?e:T.getCurrentFormId()}}];return t!==O.INIT&&n.push({to:"_form_session",getValue:function(){var t=I.createFormBridgeByFormId(e);return t.getSessionId()}}),n}function r(t){var e=w.getMetaInfo(t),n=[];return y(e)&&_(e,function(t){t.from!==U&&n.push(t)}),n}function i(t){var e=t.logkey,n=t.cssSelector,a={logkey:e,cssSelector:n,props:o(e,t.formId),formatter:function(n,a){var o=Date.now(),r=e===O.INIT?t.formId:T.getCurrentFormId(),i=I.createFormBridgeByFormId(r),s=i.getTimestamp(L.FORM_INIT);if(e===O.INIT){a.setAttribute(N,r);var u=Math.random().toString(36).substring(2,10);i.setSessionId(u),n._form_session=u,i.reset(),i.setTimestamp(L.FORM_INIT,o),T.setCurrentFormId(r),i.setStatus(R.INACTIVATED)}else if(e===O.SUCCESS_SUBMIT)i.setTimestamp(L.FORM_LATEST_SUCCESS_SUBMIT,o),n._form_duration=o-s;else if(e===O.FAIL_SUBMIT)i.setTimestamp(L.FORM_LATEST_FAIL_SUBMIT,o),n._form_duration=o-s,n._form_error_text=a.innerText;else if(e===O.FIELD_VALIDATE_ERROR){i.setTimestamp(L.FORM_FIELD_LATEST_FAIL_INPUT,o);var c=i.loopGetFormFieldLabelDom(a);n._form_field_name=c&&c.innerText||"",n._form_field_error_text=a.innerText}return h().i(k,e,n),n},filter:function(n,a){var o=e===O.INIT?t.formId:T.getCurrentFormId();if(!A(o)){var r=I.createFormBridgeByFormId(o);if([O.FAIL_SUBMIT,O.FIELD_VALIDATE_ERROR,O.SUCCESS_SUBMIT].indexOf(a.logkey)>-1){var i=r.getTimestamp(L.FORM_INIT);return!A(i)}return!0}},from:U};return a}function s(t){var e=t.logkey,n=t.cssSelector,a={logkey:e,cssSelector:n,props:o(e,t.formId),enableMultipleConfig:!0,formatter:function(n,a){var o=Date.now(),r=e===O.INIT?t.formId:T.getCurrentFormId(),i=I.createFormBridgeByFormId(r),s=i.getTimestamp(L.FORM_INIT);if(s){if(T.setCurrentFormId(r),e===O.SUBMIT)i.setTimestamp(L.FORM_LATEST_FAIL_SUBMIT,void 0),i.setTimestamp(L.FORM_LATEST_SUCCESS_SUBMIT,void 0),i.setTimestamp(L.FORM_LATEST_SUBMIT,o),n._form_duration=o-s,i.recordLatestFieldInfo(o),i.setStatus(R.ACTIVATED);else if(e===O.FIELD_DURATION){var u=i.getLatestFieldInfo(o);n._form_field_name=u.latestFieldName,n._form_field_duration=u.latestFieldDuration,i.setTimestamp(L.FORM_FIELD_LATEST_START,o),i.setInputingFormItemDom(a)}return h().i(k,e,n),n}},filter:function(n,a){var o=e===O.INIT?t.formId:T.getCurrentFormId();if(!A(o)){var r=I.createFormBridgeByFormId(o),i=T.getCurrentFormId();if(A(i))return!1;var s=!1;if(a.logkey===O.FIELD_DURATION){var u=Date.now(),c=r.getInputingFormItemDom();A(c)&&(r.setTimestamp(L.FORM_FIELD_LATEST_START,u),r.setInputingFormItemDom(n)),r.setStatus(R.ACTIVATED),s=c&&c!==n}else if(a.logkey===O.SUBMIT){var l=document.querySelector(r.getFormElementQuerySelectorStr());s=!S(l)}else s=!0;return s}},from:U};return a}function u(t){var e=d.getGlobalValue("aplus_queue"),n=r(m.APLUS_AUTO_CLK);e.push({action:"aplus.setMetaInfo",arguments:[m.APLUS_AUTO_CLK,n.concat(t)]})}function c(t){var e=d.getGlobalValue("aplus_queue"),n=r(m.APLUS_AUTO_EXP);e.push({action:"aplus.setMetaInfo",arguments:[m.APLUS_AUTO_EXP,n.concat(t)]})}function l(){var t=d.getGlobalValue("aplus_queue"),e=v(function(){var e=T.getFormCacheMap();_(e,function(e){var n=e,a=I.createFormBridgeByFormId(e),o=a.getTimestamp(L.FORM_INIT),r=a.getTimestamp(L.FORM_LEAVE),i=a.getTimestamp(L.FORM_LATEST_SUBMIT),s=a.getTimestamp(L.FORM_LATEST_SUCCESS_SUBMIT),u=a.getTimestamp(L.FORM_LATEST_FAIL_SUBMIT),c=a.getTimestamp(L.FORM_FIELD_LATEST_FAIL_INPUT),l=document.querySelector(a.getFormElementQuerySelectorStr()),p=S(l)&&!A(o)&&A(r)&&(A(i)||c>i||!A(s)||!A(u));if(p){a.reset();var f=Date.now();a.setTimestamp(L.FORM_LEAVE,f);var g=O.LEAVE,d={_form_id:n,_form_session:a.getSessionId(),_form_duration:f-o,_form_status:a.getStatus().toLocaleLowerCase()};t.push({action:"aplus.record",arguments:[g,"CLK",d,"POST"]}),h().i(k,g,d)}})},200);return t.push({action:"aplus.aplus_pubsub.subscribe",arguments:[m.APLUS_DOM_CHANGE,e]}),function(){t.push({action:"aplus.aplus_pubsub.unsubscribe",arguments:[m.APLUS_DOM_CHANGE,e]})}}function p(){var t=d.getGlobalValue("aplus_queue");t.push({action:"aplus.aplus_pubsub.subscribe",arguments:[m.APLUS_PAGE_CHANGE,function(){g()}]})}function f(t,e){var n=!1;return _(t,function(t){t.cssSelector===e&&(n=!0)}),n}function g(){var t=P.getMatchedForms(w[M].formConfigs||[]);if(T.clearFormCache(),b(C)&&C(),C=l(),y(t)){a();var e=[],n=[];_(t,function(t){if(T.initFormCacheByFormConfig(t),t.formRootSelector&&!f(e,t.formRootSelector)&&e.push(i({cssSelector:t.formRootSelector,logkey:O.INIT,formId:t.formId})),t.formItemSelector&&!f(n,t.formItemSelector)&&n.push(s({cssSelector:t.formItemSelector,logkey:O.FIELD_DURATION,formId:t.formId})),t.formItemErrorInfoSelector&&!f(e,t.formItemErrorInfoSelector)&&e.push(i({cssSelector:t.formItemErrorInfoSelector,logkey:O.FIELD_VALIDATE_ERROR,formId:t.formId})),t.formSubmitButtonSelector&&!f(n,t.formSubmitButtonSelector)&&n.push(s({cssSelector:t.formSubmitButtonSelector,logkey:O.SUBMIT,formId:t.formId})),t.formSubmitSuccessFeature){var a=t.formSubmitSuccessFeature.type,o=t.formSubmitSuccessFeature.content;"layer"===a&&o&&!f(e,o)&&e.push(i({cssSelector:o,logkey:O.SUCCESS_SUBMIT,formId:t.formId}))}t.formSubmitFailureFeatureSelector&&!f(e,t.formSubmitFailureFeatureSelector)&&e.push(i({cssSelector:t.formSubmitFailureFeatureSelector,logkey:O.FAIL_SUBMIT,formId:t.formId}))}),u(n),c(e)}}var d=n(2),m=n(3),_=n(18),h=n(20),v=n(66),b=n(9),y=n(38),S=n(65),A=n(68),E=n(152),T=n(153),I=n(154),P=n(155),w=d.getGlobalValue("aplus"),C=null,M=E.CACHE_KEY,x=E.FORM_CACHE_MAP_KEY,O=E.ACTION_TYPE_LOGKEY_MAP,L=E.LIFECYCLE_TIMESTAMP_ANCHOR_MAP,U=E.FORM_TAG,k=E.FORM_LOG_PREFIX,R=E.FORM_STATUS,N=E.FORM_NODE_ATTRIBUTE_NAME;t.exports=function(){var t=d.getGlobalValue("aplus");b(t.getMetaInfo)&&"on"===t.getMetaInfo("aplus-form-track")&&(t[M]||(t[M]={status:"init"},t[M][x]={},P.fetchConfig(function(e){t[M].status="complete",t[M].formConfigs=e,g(),p()})))}},function(t,e){"use strict";var n="[form log] -- ",a="/aplus.form.",o="_aplus_form_track",r="formCacheMap",i="form_track",s="lifecycleTimestamp",u={FORM_INIT:"formInit",FORM_LATEST_SUBMIT:"formLatestSubmit",FORM_LATEST_SUCCESS_SUBMIT:"formLatestSuccessSubmit",FORM_FIELD_LATEST_FAIL_INPUT:"formFieldLatestFailInput",FORM_LATEST_FAIL_SUBMIT:"formLatestFailSubmit",FORM_LEAVE:"formLeave",FORM_FIELD_LATEST_START:"formFieldLatestStart"},c={INIT:a+"init",LEAVE:a+"leave",FIELD_VALIDATE_ERROR:a+"field_validate_error",FIELD_DURATION:a+"field_duration",SUBMIT:a+"submit",SUCCESS_SUBMIT:a+"success_submit",FAIL_SUBMIT:a+"fail_submit"},l={ACTIVATED:"ACTIVATED",INACTIVATED:"INACTIVATED"},p="data-aplus-form-id";t.exports={FORM_LOG_PREFIX:n,CACHE_KEY:o,FORM_CACHE_MAP_KEY:r,FORM_TAG:i,LIFECYCLE_TIMESTAMP:s,LIFECYCLE_TIMESTAMP_ANCHOR_MAP:u,ACTION_TYPE_LOGKEY_MAP:c,FORM_STATUS:l,FORM_NODE_ATTRIBUTE_NAME:p}},function(t,e,n){"use strict";var a=n(2),o=n(152),r=a.getGlobalValue("aplus"),i=o.CACHE_KEY,s=o.FORM_CACHE_MAP_KEY,u=o.LIFECYCLE_TIMESTAMP;t.exports={clearFormCache:function(){r[i][s]={}},initFormCacheByFormConfig:function(t){var e={labelSelector:t.formItemLabelSelector};e[u]={},r[i][s][t.formId]=e},getFormCacheMap:function(){var t=r[i][s]||(r[i][s]={});return t},getFormCacheByFormId:function(t){var e=this.getFormCacheMap(),n=e[t];return n},setCurrentFormId:function(t){r[i].currentFormId=t},getCurrentFormId:function(){return r[i].currentFormId}}},function(t,e,n){"use strict";var a=n(2),o=n(20),r=n(65),i=n(153),s=n(152),u=s.LIFECYCLE_TIMESTAMP,c=s.ACTION_TYPE_LOGKEY_MAP,l=s.LIFECYCLE_TIMESTAMP_ANCHOR_MAP,p=s.FORM_LOG_PREFIX,f=s.FORM_NODE_ATTRIBUTE_NAME;t.exports={createFormBridgeByFormId:function(t){var e=i.getFormCacheByFormId(t);return{getFormElementQuerySelectorStr:function(){return"["+f+'="'+t+'"]'},reset:function(){this.clearTimestamps(),this.setInputingFormItemDom(null)},setStatus:function(t){e.status=t},getStatus:function(){return e.status},getTimestamp:function(t){return e[u][t]},setTimestamp:function(t,n){e[u][t]=n},clearTimestamps:function(){e[u]={}},getSessionId:function(){return e.sessionId},setSessionId:function(t){e.sessionId=t},getInputingFormItemDom:function(){return e.inputingFormItemDom},setInputingFormItemDom:function(t){e.inputingFormItemDom=t},getLabelSelector:function(){return e.labelSelector},loopGetFormFieldLabelDom:function(t){for(var e=this,n=e.getLabelSelector(),a=t,o=10,i=0,s=null;a&&r(a.getAttribute(f))&&i<o&&(s=a.querySelector(n),r(s));)a=a.parentElement,i++;return s},setLabelSelector:function(t){e.labelSelector=t},getLatestFieldInfo:function(t){var e=this,n=e.getInputingFormItemDom();if(n){var a=e.loopGetFormFieldLabelDom(n),o=a&&a.innerText||"",r=t-e.getTimestamp(l.FORM_FIELD_LATEST_START);return{latestFieldName:o,latestFieldDuration:r}}},recordLatestFieldInfo:function(e){var n=a.getGlobalValue("aplus_queue"),r=this,i=r.getLatestFieldInfo(e);if(i){var s={_form_field_name:i.latestFieldName,_form_field_duration:i.latestFieldDuration};s._form_id=t,s._form_session=r.getSessionId();var u=c.FIELD_DURATION;n.push({action:"aplus.record",arguments:[u,"CLK",s,"POST"]}),o().i(p,u,s),r.setInputingFormItemDom(null)}}}}}},function(t,e,n){"use strict";function a(){var t=i.getPid(),e="alidt.alicdn.com",n="/alilog/configs/form/",a="//"+e+n+t+".json";return a}function o(t,e){var n=!0;return f(t)&&f(e)?s(e,function(e){p(t[e])&&(n=!1)}):n=!1,n}var r=n(50),i=n(45),s=n(18),u=n(27),c=n(38),l=n(9),p=n(47),f=n(19);e.fetchConfig=function(t){var e=a();r.request(e,function(e){l(t)&&t(e)},function(){})},e.getMatchedForms=function(t){var e=[];return c(t)&&s(t,function(t){var n=!1;if(c(t.rules))for(var a=0;a<t.rules.length;a++){var r=t.rules[a],i=r.type,s=r.content||"",l=location.host+location.pathname,p=location.protocol+"//"+l,f=/^http(s)?/.test(s)?p:l;if("simpleMatch"===i?n=f===s:"fullMatch"===i?n=f+location.search+location.hash===s:"hashMatch"===i?n=f+location.hash===s:"paramsMatch"===i?n=f===s.split("?")[0]&&o(u.param2obj(location.search.substring(1)),u.param2obj(s.split("?")[1]||"")):"regExpMatch"===i&&(n=new RegExp(r.content).test(location.href)),n)break}n&&c(t.forms)&&(e=e.concat(t.forms))}),e}},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(157).isDebugAplus();var o=n(20),r=n(36),i=n(28),s=n(18),u=n(158),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().tip_i("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(135),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)})}}]);/*! 2025-12-02 11:28:55 aplus_apm_trace.js */
!function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";!function(){var e=n(2),t=n(4),r=e.getGlobalValue("aplus_queue");r.push({action:"aplus.installPlugin",arguments:[t]})}()},function(e,t,n){"use strict";var r,o=n(3),i=o.APLUS,u=o.APLUS_QUEUE,a=o.GOLDLOG,c=o.GOLDLOG_QUEUE,f=!1;try{"undefined"!=typeof window&&(r=window,f=!0)}catch(e){r={},f=!1}t.getContext=function(){return r},t.isWeb=function(){return"undefined"!=typeof window&&window},t.initGlobal=function(e){r=e?e:{v:1,aplus:{},aplus_queue:[]};var t,n;if(f)try{t=r.aplus||r.goldlog||(r.aplus={});var o=r.goldlog_queue||(r.goldlog_queue=[]);n=r.aplus_queue||(r.aplus_queue=[]),n=o.concat(n)}catch(e){}else t=r.aplus,n=r.aplus_queue;return r.aplus=r.goldlog=t,r.aplus_queue=r.goldlog_queue=n,r};var l=function(e){if(e===i||e===a){var t=r[i]||r[a];return t||(t=r[i]=r[a]={}),t}var n=c,o=u;if(e===o||e===n){var f=r[o]||r[n];return f||(f=r[o]=r[n]=[]),f}};t.getGlobalValue=l,t.setGlobalValue=function(e,t){r[e]=t};var s=function(e){var t;try{var n=l(i);t=n[e]}catch(e){t=""}finally{return t}};t.getGoldlogVal=s;var d=function(e,t){var n=!1;try{var r=l(i);e&&(r[e]=t,n=!0)}catch(e){n=!1}finally{return n}};t.setGoldlogVal=d,t.getClientInfo=function(){return s("_aplus_client")||{}}},function(e,t){var n="aplus",r="goldlog",o=n+"_queue",i=r+"_queue",u="mw_change",a="MetaInfo",c="append"+a,f="set"+a,l="http",s="_pubsub",d="other",p="2101",m="2201",g="2202",y="19999",v="1023",h="1010",b=3e4,S=18e5,w="ekvs",_=1e4,E=1,x=1,P=3e3,T="$$_page_start",A="$$_page_end",O="$$_app_start",j="$$_app_end",U="aplus_user_profile",L="imprint",C=n+"-idtype",I=n+"-jsbridge-only",k=n+"-page-config",M=n+"-skip-apv-rules",R=n+"-rhost-v",N=n+"-rhost-g",F=n+"-forward-domain",D=n+"-forward-event-filter",G="autoGetOpenid",H=n+"-forward-appkey";e.exports={PAGE_ENTER:"PAGE_ENTER",ETAG_EVENT_NAME:"etag",CURRENT_PAGE_CONFIG:"CURRENT_PAGE_CONFIG",_ANONY_ID:"_anony_id",_DEV_ID:"_dev_id",_USER_ID:"_user_id",_CNA:"cna",DEFAULT_CODE:d,OTHER:y,EVENT_MAP:{2101:"click",2201:"exposure",2202:"exposure",19999:d,1023:"app_show",1010:"app_hide_or_unload"},EVENT_ID_MAP:{EXP:m,IMPEXP:g,CLK:p,OTHER:y,SHOW:v,H_OR_U:h},APLUS:n,APLUS_CONFIG:"APLUS_CONFIG",GOLDLOG:r,UNSUBSCRIBE:n+"."+n+s+".unsubscribe",SUBSCRIBE:n+"."+n+s+".subscribe",PUBLISH:n+"."+n+s+".publish",CACHE_PUBS:n+"."+n+s+".cachePubs",APLUS_UNIVERSAL:n+"_universal",APLUS_QUEUE:o,GOLDLOG_QUEUE:i,COMPLETE:"complete",PV_CODE:"2001",EXP_CODE:m,CLK_CODE:p,OTHER_CODE:y,CLK:"CLK",EXP:"EXP",SPM_CNT:"spm-cnt",SPM_URL:"spm-url",SPM_PRE:"spm-pre",MW_CHANGE_PV:u+"_pv",MW_CHANGE_HJLJ:u+"_hjlj",HTTP:l+":",HTTPS:"https:",APPEND_META_INFO:c,SET_META_INFO:f,APLUS_APPEND_META_INFO:n+"."+c,APLUS_SET_META_INFO:n+"."+f,PVID:"pvid",openAPIs:["send","enter","sendPV","record","combineRecord","recordUdata","requestVTConfig","requestRemoteConfig","setPageSPM","setMetaInfo","appendMetaInfo","updatePageProperties","updateNextPageProperties","updatePageUtparam","updateNextPageUtparam","pageAppear","pageDisappear","pageDisAppear","skipPage","updatePageName","updatePageUrl","requestPageAllProperties","updateSessionProperties","getPageSpmUrl","getPageSpmPre","updateNextPageUtparamCnt","setPageName","getElementSPM","getAutoElementSPM","setUserProfile","getUserProfile","getCna"],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",ARMS_TRACE:"_arms_trace",EKVS:w,EVENT_MAX_COUNT:_,MEMORY_MAX_COUNT:E,MAX_QUEUE_COUNT:x,EVENT_SEND_DEFAULT_INTERVAL:P,PAGE_START:T,PAGE_END:A,APP_START:O,APP_END:j,USER_PROFILE_KEY:U,SHARE_CACHE_INTERVAL:S,IMPRINT:L,ID_TYPE:C,GLOBAL_PROPERTY:"globalproperty",JSBRIDGE_ONLY:I,PAGE_CONFIG:k,APLUS_SKIP_APV_RULES:M,APLUS_PV_DOMAIN:R,APLUS_EKV_DOMAIN:N,APLUS_FORWARD_DOMAIN:F,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_DOM_CHANGE:"APLUS_DOM_CHANGE",APLUS_PAGE_CHANGE:"APLUS_PAGE_CHANGE",PERFORMANCE_WARING:"$$_perf_warning",START_ID:"START_ID",AUTO_GET_OPENID:G,APLUS_LATEAST_UTM:"APLUS_LATEAST_UTM",APLUS_FORWARD_EVENT_FILTER:D,APLUS_FORWARD_APPKEY:H,APLUS_RHOST_V:n+"-rhost-v",APLUS_CPVDATA:n+"-cpvdata",APLUS_EXDATA:n+"-exdata",APLUS_EXINFO:n+"-exinfo",APLUS_LOG_PIPE:n+"-log-pipe",APLUS_TRACK_COMBINE:n+"-track-combine",APLUS_COOKIES:n+"-cookies",APLUS_CODELESS_TRACK_CONFIG:"_"+n+"_codeless_track_config",APLUS_AUTO_CLK:n+"-auto-clk",APLUS_AUTO_EXP:n+"-auto-exp",APLUS_AUTO_PV:n+"-auto-pv",APLUS_BRIDGE_NAME:n+"-bridge-name",APLUS_MINI_REQUEST_TIMEOUT:n+"-request-timeout",APLUS_VT_CONFIG_URL:n+"-vt-cfg-url",APLUS_EXPOSURE_EVENT_CAN_REPEAT:n+"-exposure-event-can-repeat",APLUS_IGNORE_LIFECYCLES:n+"-ignore-lifecycles",APLUS_TRACK_DEBUG_ID:n+"-track-debug-id",APLUS_SINGLE_RECORD_LOGKEYS:n+"-single-record-logkeys",APLUS_GOKEY_ISOLATE:n+"-gokey-isolate",APLUS_AUTOTRACK_ENABLED:n+"-autotrack-enabled",APLUS_AUTOTRACK_ENABLED_REMOTE:n+"-autotrack-enabled-remote",APLUS_AUTOTRACK_CONFIG:n+"-autotrack-config",APLUS_AUTO_TRACK_CONFIG_IMPORT:n+"-auto-track-config-import",APLUS_AUTOTRACK_CONFIG_REMOTE:n+"-autotrack-config-remote",APLUS_EVENT_LIMITRATES:n+"-event-limitrates",APLUS_DISABLE_AUTOEVENT:n+"-disable-autoevent",APLUS_DISABLE_AUTOEVENT_REMOTE:n+"-disable-autoevent",APLUS_DISABLE_AUTOPV:n+"-disable-apv",APLUS_DISABLE_AUTOPV_REMOTE:n+"-disable-apv-remote",APLUS_DEVICE_ENABLE:n+"-device-enable",APLUS_USER_PROFILE:n+"-user-profile",APLUS_CNA_ENABLE:n+"-cna-enable",APLUS_CNA_MODE:n+"-cna-mode",APLUS_ETAG_TIMEOUT:n+"-etag-timeout",APLUS_SPA_TYPE:n+"-spa-type",APLUS_MONITOR_ENABLE:n+"-monitor-enable",APLUS_OBSERVATIONS:"_"+n+"_observations",APLUS_REPORT_RATE:n+"-report-rate",APLUS_CNA_MONITOR:n+"-cna-monitor",APLUS_MMSTAT_TIMEOUT:n+"-mmstat-timeout",APLUS_REMOTE_CONTROL:n+"-remote-control",APLUS_CNA_STABILITY:n+"-cna-stability",APLUS_AUTO_PID:n+"-auto-pid"}},function(e,t,n){"use strict";function r(e,t){s.pushIntoGoldlogQueue(d.SUBSCRIBE,[e,function(e){e.status===d.COMPLETE&&t(e)}])}function o(e,t){var n=p.getGlobalValue("aplus"),r=e.pure_userdata,o=!0,i=t.pvTrack;"off"===i&&(o=!1),o&&n.logPv(r)}function i(e){r("mw_change_pv",function(t){o(t,e)})}function u(){s.pushIntoGoldlogQueue(d.SUBSCRIBE,[d.SET_META_INFO,function(e,t){if(e===d.APLUS_USER_PROFILE){var n=aplus[d.ARMS_TRACE];n&&n.setConfig({uid:t.uidaplus,username:t.nick})}}])}function a(){c.getConfig(function(e){var t=e;if("configUnset"!==t){var r=p.getGlobalValue("aplus"),o=f.init(t);r[d.ARMS_TRACE]=o;var a=n(32).init(o);for(var c in a)r[c]=a[c];i(t),u()}else l().v("window.APLUS_CONFIG未配置或pid缺失")})}var c=n(5),f=n(28),l=n(22),s=n(31),d=n(3),p=n(2);e.exports=function(){try{a()}catch(e){l().v("性能错误采集插件error=",e)}}},function(e,t,n){"use strict";var r=n(6),o=n(7),i=n(8),u=n(9),a=n(10),c=n(25),f=n(16),l={getConfig:function(e){var t=a.getUserId(),n=a.getUserNick(),l=c.getConfig();if(l&&l.pid){var s=[],d={pid:l.pid||"",version:l.codeVersion||"",env:l.env||"prod",uid:t,username:n,aplusUrl:aplus._$.meta_info["aplus-rhost-g"]||"gm.mmstat.com"},p=[{configKey:"apiTrack",plugin:i,defaultConfig:{}},{configKey:"perfTrack",plugin:o,defaultConfig:{}},{configKey:"resourceErrorTrack",plugin:u,defaultConfig:{}},{configKey:"blankScreenTrack",plugin:r,defaultConfig:{detectedDom:["#app"]}}],m=l.jsErrorTrack||{};"off"===m?d.errorEnable=!1:d.ignoreErrors=m.ignoreErrors||[],p.forEach(function(e){if("off"!==l[e.configKey]){var t=f(e.defaultConfig,l[e.configKey]);s.push([e.plugin,t])}}),s.length&&(d.plugins=s),e(d)}else e("configUnset")}};e.exports=l},function(e,t,n){!function(t,n){e.exports=n()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(t){return e[t]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){return function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.r(t);var u=function(e){return!e||0===e.length||o(e).every(function(e){return a(e)})},a=function(e){if(!e)return!0;if("function"==typeof getComputedStyle){var t=getComputedStyle(e);if("hidden"===t.visibility||"none"===t.display)return!0;var n=e.getBoundingClientRect();if(0===n.height||0===n.width){if(0===n.height&&"hidden"===t.overflowY)return!0;if(0===n.width&&"hidden"===t.overflowX)return!0;if(u(e.childNodes))return!0}return!1}return 0===e.childNodes.length},c=function(e,t){if(e&&"object"===("undefined"==typeof window?"undefined":r(window))&&window){var n,i=t||{},u=i.detectedDom,c=void 0===u?[]:u,f=i.threshold,l=void 0===f?5:f,s=i.isPolling,d=function(e){try{var t=e.map(function(e){return document.querySelector(e)}).filter(function(e){return!!e});return!(n=t)||0===n.length||o(n).some(function(e){return a(e)})}catch(e){return!1}var n};return n=void 0!==s&&s?setTimeout(function t(){return d(c)?(clearTimeout(n),void e.logBlankScreen({})):void(n=setTimeout(t,1e3*l))},1e3*l):setTimeout(function(){d(c)&&e.logBlankScreen({})},1e3*l),function(){clearTimeout(n)}}};"object"===("undefined"==typeof window?"undefined":r(window))&&window&&(window.BlankScreenPlugin=c),t.default=c}]).default})},function(e,t,n){!function(t,n){e.exports=n()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(t){return e[t]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),u=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&i(t,e,n);return u(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});var c=a(n(1)),f=n(2),l=function(e){function t(){n=setTimeout(e)}var n;return"complete"===document.readyState?n=setTimeout(e):window.addEventListener("load",t),function(){n&&clearTimeout(n),window.removeEventListener("load",t)}},s=function(e,t){var n=e.enableLCP,i=e.force,u=void 0!==i&&i,a=this;this.getNavigationTiming=function(){var e,t,n;if((null===window||void 0===window?void 0:window.PerformanceNavigationTiming)&&(null===(e=null===window||void 0===window?void 0:window.performance)||void 0===e?void 0:e.getEntriesByType)){var r=performance.getEntriesByType("navigation");Array.isArray(r)&&(n=r[0])}"object"===o(n)&&n||!(null===(t=null===window||void 0===window?void 0:window.performance)||void 0===t?void 0:t.timing)||(n=window.performance.timing);var i={};return"object"===o(n)&&n&&f.perfKeys.forEach(function(e){i[e]="startTime"===e?"number"==typeof n[e]?n[e]:n.navigationStart:n[e]}),i},this.getPaintTiming=function(){var e;try{if(window.PerformanceNavigationTiming&&(null===(e=null===window||void 0===window?void 0:window.performance)||void 0===e?void 0:e.getEntriesByType)){var t=performance.getEntriesByType("paint")||[],n=t.filter(function(e){return"first-paint"===e.name})[0],r=n&&n.startTime||0,o=t.filter(function(e){return"first-contentful-paint"===e.name})[0];return{fp:r,fcp:o&&o.startTime||0}}}catch(e){return a.logError&&a.logError(e,{pid:"arms-debug",c1:a.core.getConfig("pid"),c2:"fcp采集"}),{fp:0,fcp:0}}},this.getConnection=function(){var e,t={},n=null===(e=null===window||void 0===window?void 0:window.navigator)||void 0===e?void 0:e.connection;return"object"===o(n)&&n&&(t={net_type:n.effectiveType||n.type||"",downlink:n.downlink||n.downlinkMax||n.bandwidth||""}),t},this.getCommonTiming=function(){var e,t,n=a.config.ignoredQueries,o=void 0===n?[]:n,i=a.config,u=i.pvId,f=i.uid,l=i.sid,s=c.getCommonInfo(o,a.config),d=c.getSpmAB();return u||(u=null===(e=a.core)||void 0===e?void 0:e.generatePvId()),l||(l=null===(t=a.core)||void 0===t?void 0:t.generateSid()),f||(f=a.core.generateUid()),s.pid=a.config.pid,s.uid=f,s.spm_a=d.a,s.spm_b=d.b,r(s,a.getNavigationTiming(),a.getPaintTiming(),a.getConnection())},this.observeLCP=function(){try{var e,t=new PerformanceObserver(function(t){var n=t.getEntries(),r=n[n.length-1];e=r.renderTime||r.loadTime,a.lcpTime=e});try{t.observe({type:"largest-contentful-paint",buffered:!0})}catch(e){t.observe({entryTypes:["largest-contentful-paint"]})}var n=function t(){var n;return e&&document.hidden?(a.sendTiming(),void removeEventListener("visibilitychange",t,!0)):void(null===(n=a.core)||void 0===n||n.logCustom({pid:"arms-debug",p1:"perf-plugin-log",c1:a.core.getConfig("pid"),c2:"触发上报但没有获取到lcp"}))};return addEventListener("beforeunload",function e(){a.sendTiming(a.force),removeEventListener("beforeunload",e)}),addEventListener("visibilitychange",n,!0),function(){removeEventListener("visibilitychange",n,!0)}}catch(e){return a.logError&&a.logError(e,{pid:"arms-debug",c1:a.core.getConfig("pid"),c2:"lcp采集"}),l(function(){a.sendTiming(!0)})}},this.sendTiming=function(e){if(void 0===e&&(e=!1),!0!==a.enableLCP&&!1===a.hasSendPerf&&a.commonTimes)return a.logPerf(a.commonTimes),void(a.hasSendPerf=!0);if("object"===o(a.commonTimes)&&!1===a.hasSendPerf&&("number"==typeof a.lcpTime||e)){var t=r({},a.commonTimes,{lcp:a.lcpTime});a.logPerf(t),a.hasSendPerf=!0,e&&a.lcpTime&&a.core.logCustom({pid:"arms-debug",p1:"perf-plugin-log",c1:a.core.getConfig("pid"),c2:"强制上报",c3:"".concat(a.lcpTime)})}},this.init=function(){a.uninstallHooks=[],a.uninstallHooks.push(l(function(){var e=a.getCommonTiming();a.commonTimes=e,!0!==a.enableLCP&&a.sendTiming()})),!0===a.enableLCP&&a.uninstallHooks.push(a.observeLCP())},this.hasSendPerf=!1,this.enableLCP=n,this.force=u,this.logPerf=t.logPerf,this.commonTimes=null,this.lcpTime=null,this.logError=t.logError,this.uninstallHooks=[],this.config=t.config,this.core=t},d=function(e,t){if(void 0===t&&(t={}),e&&window&&"function"==typeof e.logPerf)try{var n=new s({enableLCP:t.enableLCP,force:t.force},e);return n.init(),n.uninstallHooks}catch(t){console.warn(t),e.logError&&e.logError(t,{pid:"arms-debug",c1:e.core.getConfig("pid"),c2:"pref-plugin初始化"})}};window.TracePerfPlugin=d,t.default=d},function(e,t,n){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(t){return e[t]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=2)}([function(e,t,n){"use strict";(function(e){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){for(var t=(e&&e.stack||"").split("\n"),n=["","",""],r={},o=0;o<t.length;o++){var f=u,l=(t[o]||"").match(f);if(null===l&&(f=a,l=(t[o]||"").match(f)),null===l&&(f=c,l=(t[o]||"").match(f)),null!==l){var s=l[1],d=r[s];void 0===d&&(r[s]="#"+o+"#",d=r[s]),t[o]=t[o].replace(s,d)}}if(t.length>0){t.shift();var p="";for(o=0;p.length+(t[o]||"").length<i&&o<t.length;)p+=t[o]+"\n",o++;n[1]=p;for(var m="";m.length+(t[o]||"").length<i&&o<t.length;)m+=t[o]+"\n",o++;n[2]=m}var g="";for(s in r)r.hasOwnProperty(s)&&(g+=s+"@"+r[s]+";");return g=g.replace(/;$/,""),n[0]=g,n}n.d(t,"a",function(){return o});var i=4096,u=/^\s*at .*? ?\(((?:file|https?|blob|chrome-extension|native|eval|<anonymous>).*?)(?::\d+)?(?::\d+)?\)?\s*$/i,a=/^\s*.*?(?:\(.*?\))?(?:^|@)((?:file|https?|blob|chrome|resource|\[native).*?)(?::\d+)?(?::\d+)?\s*$/i,c=/^\s*at (?:(?:\[object object\])?.+ )?\(?((?:file|ms-appx|https?|blob):.*?):\d+(?::\d+)?\)?\s*$/i;void 0===e||r(e)}).call(this,n(1))},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(f===setTimeout)return setTimeout(e,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function i(){m&&d&&(m=!1,d.length?p=d.concat(p):g=-1,p.length&&u())}function u(){if(!m){var e=o(i);m=!0;for(var t=p.length;t;){for(d=p,p=[];++g<t;)d&&d[g].run();g=-1,t=p.length}d=null,m=!1,function(e){if(l===clearTimeout)return clearTimeout(e);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(e);try{return l(e)}catch(t){try{return l.call(null,e)}catch(t){return l.call(this,e)}}}(e)}}function a(e,t){this.fun=e,this.array=t}function c(){}var f,l,s=e.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:n}catch(e){f=n}try{l="function"==typeof clearTimeout?clearTimeout:r}catch(e){l=r}}();var d,p=[],m=!1,g=-1;s.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];p.push(new a(e,t)),1!==p.length||m||o(u)},a.prototype.run=function(){this.fun.apply(null,this.array)},s.title="browser",s.browser=!0,s.env={},s.argv=[],s.version="",s.versions={},s.on=c,s.addListener=c,s.once=c,s.off=c,s.removeListener=c,s.removeAllListeners=c,s.emit=c,s.prependListener=c,s.prependOnceListener=c,s.listeners=function(e){return[]},s.binding=function(e){throw new Error("process.binding is not supported")},s.cwd=function(){return"/"},s.chdir=function(e){throw new Error("process.chdir is not supported")},s.umask=function(){return 0}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){var t=e.message.match(/Uncaught (\w+):/);return t&&t[1]?t[1]:e.error_type?e.error_type:e.name?e.name:""}function i(e){var t=e.message,n=void 0===t?"":t,r=e.lineno,i=e.colno,u=e.stack,a=e.error,c=Object(b.a)(a&&a.stack||u)||["","",""];return{msg:n||e.msg||"",lineno:r,colno:i,file:e.filename||e.file||"",stack:a&&a.stack||u,stack1:c[0],stack2:c[1],stack3:c[2],errType:e.errType||o(e)||"",errCode:e.errCode||e.error_code}}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,u,a=[],c=!0,f=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){f=!0,o=e}finally{try{if(!c&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(f)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16,n=[],r=0;r<e;r++){var o=Math.floor(Math.random()*t);n[r]=o.toString(t)}return n.join("")}function l(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}function s(e,t,n,r,o){return e.addEventListener?(o=o||!1,e.addEventListener(t,function i(u){r&&e.removeEventListener(t,i,o),n.call(this,u)},o)):e.attachEvent&&e.attachEvent("on"+t,function o(i){r&&e.detachEvent("on"+t,o),n.call(this,i)}),this}function d(e,t,n,r,o){if(e.addEventListener){var i=function i(u){r&&e.removeEventListener(t,i,o),n.call(this,u)};return o=o||!1,e.addEventListener(t,i,o),function(){e.removeEventListener(t,i,o)}}if(e.attachEvent){var u=function o(i){r&&e.detachEvent("on"+t,o),n.call(this,i)};return e.attachEvent("on"+t,u),function(){e.detachEvent("on"+t,u)}}}function p(e,t){var n="perf"===e?h:v;return{APLUS_LOGKEY:n,APLUS_URL:"https://".concat(t&&"string"==typeof t?t:y).concat(n)}}function m(e){return"[object Array]"==={}.toString.call(e)}n.r(t),n.d(t,"shadowMerge",function(){return S}),n.d(t,"getRandomNum",function(){return f}),n.d(t,"uuid",function(){return l}),n.d(t,"ignoreFirstSpecialChara",function(){return w}),n.d(t,"checkWin",function(){return _}),n.d(t,"getUrl",function(){return E}),n.d(t,"getOriginUrl",function(){return x}),n.d(t,"getUrlHash",function(){return P}),n.d(t,"getUrlQuery",function(){return T}),n.d(t,"getSpmAB",function(){return A}),n.d(t,"toQueryParams",function(){return O}),n.d(t,"queryToObj",function(){return j}),n.d(t,"on",function(){return s}),n.d(t,"bindEvent",function(){return d}),n.d(t,"getSendInfo",function(){return p}),n.d(t,"getXPath",function(){return U}),n.d(t,"getWin",function(){return L}),n.d(t,"getPageMetaConfig",function(){return C}),n.d(t,"genRandomIp",function(){return I}),n.d(t,"genTraceId",function(){return k}),n.d(t,"checkSample",function(){return M}),n.d(t,"processError",function(){return R}),n.d(t,"getCommonInfo",function(){return F});var g,y="s-gm.mmstat.com",v="/arms.1.1",h="/arms.1.2",b=("https://s-gm.mmstat.com".concat(v),"https://s-gm.mmstat.com".concat(h),n(0)),S=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},w=function(e){return"string"==typeof e?e.replace(/^\?|#/,""):""},_=function(){return!("object"!==("undefined"==typeof window?"undefined":c(window))||!window.document)},E=function(){return _()?window.location.href.split("?")[0]:""},x=function(){return _()?window.location.href:""},P=function(){return _()?w(window.location.hash):""},T=function(){return _()?w(window.location.search):""},A=function(){if(!_())return{a:"",b:""};var e=window.goldlog,t=(null==e?void 0:e.spm_ab)||(null==e?void 0:e.spmAb)||[];return{a:t[0]||"",b:t[1]||""}},O=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[];for(var r in e){var o=e[r],i="".concat(encodeURIComponent(r),"=").concat(encodeURIComponent(t?encodeURIComponent(o):String(o).slice(0,512)));n.push(i)}return n.join("&")},j=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"&",n={};return e.split(t).forEach(function(e){var t=e.split("="),r=t[0];n[r]=t[1]}),n},U=function e(t,n){var r=t.id?"#"+t.id:"",o=t.className&&t.className.split?"."+t.className.split(" ").join("."):"",i=t.tagName.toLowerCase();return t.parentNode&&t.parentNode.tagName&&n-1!=0?e(t.parentNode,n-1)+" > "+i.toLowerCase()+r+o:i+r+o},L=function(){return"object"===("undefined"==typeof window?"undefined":c(window))&&window.document?window:void 0},C=function(){var e=_();try{if(e){var t=window.document.querySelector('meta[name="page-tag"]');if(t){var n=t.getAttribute("content")||"";return j(n,",")}}return{}}catch(e){return{}}},I=function(){for(var e=[],t=0;t<4;t++){var n=Math.floor(256*Math.random());e[t]=(n>15?"":"0")+n.toString(16)}return e.join("")},k=(g=1e3,function(){var e=I(),t=Date.now(),n=g,r=f(1),o=f(4);return g=g+1>1e4?1e3:g+1,e+t+n+r+o}),M=function(e){return e>Math.random()},R=function(e){var t={};return t="undefined"!=typeof PromiseRejectionEvent&&e instanceof PromiseRejectionEvent?function(e){if(e)try{var t="",n=0,o=0,u="",a="";"string"==typeof e?t=e:"object"===r(e.reason)?t=e.reason.message:"string"==typeof e.message&&(t=e.message);var c=e.reason;if("object"===r(c)){if("number"==typeof c.column?(o=c.column,n=c.line):c.stack&&(f=c.stack.match(/at\s+.+:(\d+):(\d+)/))&&(n=f[1],o=f[2]),c.sourceURL)u=c.sourceURL;else if(c.stack){var f;(f=c.stack.match(/at\s+(.+):\d+:\d+/))&&(u=f[1])}c.stack&&(a=c.stack)}return i({message:t,filename:u,lineno:n,colno:o,stack:a,error_type:e.constructor.name})}catch(e){}}(e)||{}:function(e,t,n,r,o){try{return i("string"==typeof e?{message:e,filename:t,lineno:n,colno:r,error:o}:e)}catch(e){}}(e)||{}},N=function(e,t){if(!e)return"";if(!(null==t?void 0:t.length))return e;var n=u(e.split("?"),2),r=n[0],o=n[1],i="?";return-1===(null==e?void 0:e.indexOf("?"))&&-1!==(null==e?void 0:e.indexOf("http"))?e:(-1===(null==e?void 0:e.indexOf("?"))&&(r="",o=e,i=""),"".concat(r).concat(i).concat(function(e,t){if(!e)return"";t=t||[];var n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(r);var o=[];n=n.sort();for(var i=0;i<n.length;++i){for(var u=e[r=n[i]],a=!1,c=0;c<t.length;++c)if(t[c]===r){a=!0;break}a||(u?o.push(r+"="+String(u).slice(0,512)):o.push(r))}return o.join("&")}(function(e){var t={};if("string"!=typeof e)return t;if(!(e=e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"").replace(/^(\?|#|&)/,"")))return t;for(var n=e.split("&"),r=0;r<n.length;++r){var o=n[r].replace(/\+/g," ").split("="),i=o.shift()||"",u=o.length>0?o.join("="):"";t[i]?m(t[i])?t[i].push(u):t[i]=[t[i],u]:t[i]=u}return t}(o),t)))},F=function(e,t){var n=L(),r={};if(n&&"onload"in n){var o=(n.navigator||{}).connection||{};r.url="function"==typeof t.getUrl?t.getUrl():N(E(),e),r.origin_url=N(x(),e),r.referrer=N(document.referrer,e),r.title=document.title,r.hash=P(),r.query=N(T(),e),r.dpr=n.devicePixelRatio||1,r.sr="object"===("undefined"==typeof screen?"undefined":c(screen))&&screen.width+"x"+screen.height||"",r.net_type=o.effectiveType||o.type||""}return r};t.default={shadowMerge:S,getRandomNum:f,uuid:l,ignoreFirstSpecialChara:w,checkWin:_,getUrl:E,getOriginUrl:x,getUrlHash:P,getUrlQuery:T,getSpmAB:A,toQueryParams:O,queryToObj:j,on:s,bindEvent:d,getSendInfo:p,getXPath:U,getWin:L,getPageMetaConfig:C,genRandomIp:I,genTraceId:k,checkSample:M,processError:R,getCommonInfo:F}}]).default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.perfKeys=void 0,t.perfKeys=["startTime","unloadEventStart","unloadEventEnd","redirectStart","responseEnd","fetchStart","domainLookupStart","domainLookupEnd","connectStart","secureConnectionStart","connectEnd","requestStart","responseStart","redirectEnd","domInteractive","domContentLoadedEventStart","domContentLoadedEventEnd","domComplete","loadEventStart","loadEventEnd"]}]).default})},function(e,t,n){!function(t,n){e.exports=n()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(t){return e[t]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=1)}([function(e,t,n){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(t){return e[t]}.bind(null,o));
return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=2)}([function(e,t,n){"use strict";(function(e){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){for(var t=(e&&e.stack||"").split("\n"),n=["","",""],r={},o=0;o<t.length;o++){var f=u,l=(t[o]||"").match(f);if(null===l&&(f=a,l=(t[o]||"").match(f)),null===l&&(f=c,l=(t[o]||"").match(f)),null!==l){var s=l[1],d=r[s];void 0===d&&(r[s]="#"+o+"#",d=r[s]),t[o]=t[o].replace(s,d)}}if(t.length>0){t.shift();var p="";for(o=0;p.length+(t[o]||"").length<i&&o<t.length;)p+=t[o]+"\n",o++;n[1]=p;for(var m="";m.length+(t[o]||"").length<i&&o<t.length;)m+=t[o]+"\n",o++;n[2]=m}var g="";for(s in r)r.hasOwnProperty(s)&&(g+=s+"@"+r[s]+";");return g=g.replace(/;$/,""),n[0]=g,n}n.d(t,"a",function(){return o});var i=4096,u=/^\s*at .*? ?\(((?:file|https?|blob|chrome-extension|native|eval|<anonymous>).*?)(?::\d+)?(?::\d+)?\)?\s*$/i,a=/^\s*.*?(?:\(.*?\))?(?:^|@)((?:file|https?|blob|chrome|resource|\[native).*?)(?::\d+)?(?::\d+)?\s*$/i,c=/^\s*at (?:(?:\[object object\])?.+ )?\(?((?:file|ms-appx|https?|blob):.*?):\d+(?::\d+)?\)?\s*$/i;void 0===e||r(e)}).call(this,n(1))},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(f===setTimeout)return setTimeout(e,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function i(){m&&d&&(m=!1,d.length?p=d.concat(p):g=-1,p.length&&u())}function u(){if(!m){var e=o(i);m=!0;for(var t=p.length;t;){for(d=p,p=[];++g<t;)d&&d[g].run();g=-1,t=p.length}d=null,m=!1,function(e){if(l===clearTimeout)return clearTimeout(e);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(e);try{return l(e)}catch(t){try{return l.call(null,e)}catch(t){return l.call(this,e)}}}(e)}}function a(e,t){this.fun=e,this.array=t}function c(){}var f,l,s=e.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:n}catch(e){f=n}try{l="function"==typeof clearTimeout?clearTimeout:r}catch(e){l=r}}();var d,p=[],m=!1,g=-1;s.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];p.push(new a(e,t)),1!==p.length||m||o(u)},a.prototype.run=function(){this.fun.apply(null,this.array)},s.title="browser",s.browser=!0,s.env={},s.argv=[],s.version="",s.versions={},s.on=c,s.addListener=c,s.once=c,s.off=c,s.removeListener=c,s.removeAllListeners=c,s.emit=c,s.prependListener=c,s.prependOnceListener=c,s.listeners=function(e){return[]},s.binding=function(e){throw new Error("process.binding is not supported")},s.cwd=function(){return"/"},s.chdir=function(e){throw new Error("process.chdir is not supported")},s.umask=function(){return 0}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){var t=e.message.match(/Uncaught (\w+):/);return t&&t[1]?t[1]:e.error_type?e.error_type:e.name?e.name:""}function i(e){var t=e.message,n=void 0===t?"":t,r=e.lineno,i=e.colno,u=e.stack,a=e.error,c=Object(b.a)(a&&a.stack||u)||["","",""];return{msg:n||e.msg||"",lineno:r,colno:i,file:e.filename||e.file||"",stack:a&&a.stack||u,stack1:c[0],stack2:c[1],stack3:c[2],errType:e.errType||o(e)||"",errCode:e.errCode||e.error_code}}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,u,a=[],c=!0,f=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){f=!0,o=e}finally{try{if(!c&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(f)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16,n=[],r=0;r<e;r++){var o=Math.floor(Math.random()*t);n[r]=o.toString(t)}return n.join("")}function l(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}function s(e,t,n,r,o){return e.addEventListener?(o=o||!1,e.addEventListener(t,function i(u){r&&e.removeEventListener(t,i,o),n.call(this,u)},o)):e.attachEvent&&e.attachEvent("on"+t,function o(i){r&&e.detachEvent("on"+t,o),n.call(this,i)}),this}function d(e,t,n,r,o){if(e.addEventListener){var i=function i(u){r&&e.removeEventListener(t,i,o),n.call(this,u)};return o=o||!1,e.addEventListener(t,i,o),function(){e.removeEventListener(t,i,o)}}if(e.attachEvent){var u=function o(i){r&&e.detachEvent("on"+t,o),n.call(this,i)};return e.attachEvent("on"+t,u),function(){e.detachEvent("on"+t,u)}}}function p(e,t){var n="perf"===e?h:v;return{APLUS_LOGKEY:n,APLUS_URL:"https://".concat(t&&"string"==typeof t?t:y).concat(n)}}function m(e){return"[object Array]"==={}.toString.call(e)}n.r(t),n.d(t,"shadowMerge",function(){return S}),n.d(t,"getRandomNum",function(){return f}),n.d(t,"uuid",function(){return l}),n.d(t,"ignoreFirstSpecialChara",function(){return w}),n.d(t,"checkWin",function(){return _}),n.d(t,"getUrl",function(){return E}),n.d(t,"getOriginUrl",function(){return x}),n.d(t,"getUrlHash",function(){return P}),n.d(t,"getUrlQuery",function(){return T}),n.d(t,"getSpmAB",function(){return A}),n.d(t,"toQueryParams",function(){return O}),n.d(t,"queryToObj",function(){return j}),n.d(t,"on",function(){return s}),n.d(t,"bindEvent",function(){return d}),n.d(t,"getSendInfo",function(){return p}),n.d(t,"getXPath",function(){return U}),n.d(t,"getWin",function(){return L}),n.d(t,"getPageMetaConfig",function(){return C}),n.d(t,"genRandomIp",function(){return I}),n.d(t,"genTraceId",function(){return k}),n.d(t,"checkSample",function(){return M}),n.d(t,"processError",function(){return R}),n.d(t,"getCommonInfo",function(){return F});var g,y="s-gm.mmstat.com",v="/arms.1.1",h="/arms.1.2",b=("https://s-gm.mmstat.com".concat(v),"https://s-gm.mmstat.com".concat(h),n(0)),S=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},w=function(e){return"string"==typeof e?e.replace(/^\?|#/,""):""},_=function(){return!("object"!==("undefined"==typeof window?"undefined":c(window))||!window.document)},E=function(){return _()?window.location.href.split("?")[0]:""},x=function(){return _()?window.location.href:""},P=function(){return _()?w(window.location.hash):""},T=function(){return _()?w(window.location.search):""},A=function(){if(!_())return{a:"",b:""};var e=window.goldlog,t=(null==e?void 0:e.spm_ab)||(null==e?void 0:e.spmAb)||[];return{a:t[0]||"",b:t[1]||""}},O=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[];for(var r in e){var o=e[r],i="".concat(encodeURIComponent(r),"=").concat(encodeURIComponent(t?encodeURIComponent(o):String(o).slice(0,512)));n.push(i)}return n.join("&")},j=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"&",n={};return e.split(t).forEach(function(e){var t=e.split("="),r=t[0];n[r]=t[1]}),n},U=function e(t,n){var r=t.id?"#"+t.id:"",o=t.className&&t.className.split?"."+t.className.split(" ").join("."):"",i=t.tagName.toLowerCase();return t.parentNode&&t.parentNode.tagName&&n-1!=0?e(t.parentNode,n-1)+" > "+i.toLowerCase()+r+o:i+r+o},L=function(){return"object"===("undefined"==typeof window?"undefined":c(window))&&window.document?window:void 0},C=function(){var e=_();try{if(e){var t=window.document.querySelector('meta[name="page-tag"]');if(t){var n=t.getAttribute("content")||"";return j(n,",")}}return{}}catch(e){return{}}},I=function(){for(var e=[],t=0;t<4;t++){var n=Math.floor(256*Math.random());e[t]=(n>15?"":"0")+n.toString(16)}return e.join("")},k=(g=1e3,function(){var e=I(),t=Date.now(),n=g,r=f(1),o=f(4);return g=g+1>1e4?1e3:g+1,e+t+n+r+o}),M=function(e){return e>Math.random()},R=function(e){var t={};return t="undefined"!=typeof PromiseRejectionEvent&&e instanceof PromiseRejectionEvent?function(e){if(e)try{var t="",n=0,o=0,u="",a="";"string"==typeof e?t=e:"object"===r(e.reason)?t=e.reason.message:"string"==typeof e.message&&(t=e.message);var c=e.reason;if("object"===r(c)){if("number"==typeof c.column?(o=c.column,n=c.line):c.stack&&(f=c.stack.match(/at\s+.+:(\d+):(\d+)/))&&(n=f[1],o=f[2]),c.sourceURL)u=c.sourceURL;else if(c.stack){var f;(f=c.stack.match(/at\s+(.+):\d+:\d+/))&&(u=f[1])}c.stack&&(a=c.stack)}return i({message:t,filename:u,lineno:n,colno:o,stack:a,error_type:e.constructor.name})}catch(e){}}(e)||{}:function(e,t,n,r,o){try{return i("string"==typeof e?{message:e,filename:t,lineno:n,colno:r,error:o}:e)}catch(e){}}(e)||{}},N=function(e,t){if(!e)return"";if(!(null==t?void 0:t.length))return e;var n=u(e.split("?"),2),r=n[0],o=n[1],i="?";return-1===(null==e?void 0:e.indexOf("?"))&&-1!==(null==e?void 0:e.indexOf("http"))?e:(-1===(null==e?void 0:e.indexOf("?"))&&(r="",o=e,i=""),"".concat(r).concat(i).concat(function(e,t){if(!e)return"";t=t||[];var n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(r);var o=[];n=n.sort();for(var i=0;i<n.length;++i){for(var u=e[r=n[i]],a=!1,c=0;c<t.length;++c)if(t[c]===r){a=!0;break}a||(u?o.push(r+"="+String(u).slice(0,512)):o.push(r))}return o.join("&")}(function(e){var t={};if("string"!=typeof e)return t;if(!(e=e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"").replace(/^(\?|#|&)/,"")))return t;for(var n=e.split("&"),r=0;r<n.length;++r){var o=n[r].replace(/\+/g," ").split("="),i=o.shift()||"",u=o.length>0?o.join("="):"";t[i]?m(t[i])?t[i].push(u):t[i]=[t[i],u]:t[i]=u}return t}(o),t)))},F=function(e,t){var n=L(),r={};if(n&&"onload"in n){var o=(n.navigator||{}).connection||{};r.url="function"==typeof t.getUrl?t.getUrl():N(E(),e),r.origin_url=N(x(),e),r.referrer=N(document.referrer,e),r.title=document.title,r.hash=P(),r.query=N(T(),e),r.dpr=n.devicePixelRatio||1,r.sr="object"===("undefined"==typeof screen?"undefined":c(screen))&&screen.width+"x"+screen.height||"",r.net_type=o.effectiveType||o.type||""}return r};t.default={shadowMerge:S,getRandomNum:f,uuid:l,ignoreFirstSpecialChara:w,checkWin:_,getUrl:E,getOriginUrl:x,getUrlHash:P,getUrlQuery:T,getSpmAB:A,toQueryParams:O,queryToObj:j,on:s,bindEvent:d,getSendInfo:p,getXPath:U,getWin:L,getPageMetaConfig:C,genRandomIp:I,genTraceId:k,checkSample:M,processError:R,getCommonInfo:F}}]).default},function(e,t,n){"use strict";function r(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=i(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,u=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw u}}}}function o(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||i(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){function n(n){var r=this.options,o=this.params,u=(new Date).getTime();return n().then(function(){var n,f,s,g=r.retJson.ret,y=(new Date).getTime()-u;g instanceof Array&&(g=g.join(","));var v,h,b,S=-1===g.indexOf("SUCCESS"),w=r.retJson.code||200,_=r.retJson.responseHeaders,E=(null===(n=r.retJson)||void 0===n?void 0:n.traceId)||"";if("string"==typeof _){E||(E=m("mtop",_,d));var x=_.match(/status:\s*(\d+)/);x&&(w=x[1])}if(g){var P=g.split("::");v=P[0],h=P[1]}try{b="function"==typeof(null==t?void 0:t.evaluate)?t.evaluate(g,g,"mtop",r):{}}catch(e){console.error(e)}var T=null===(f=r.postdata)||void 0===f?void 0:f.data,A=JSON.stringify((null===(s=r.retJson)||void 0===s?void 0:s.data)||{}),O={api:o.api,success:!S,msg:h,httpCode:w,code:v,time:y,traceId:E,params:c?T:"",response:!i||S?A:"",requestType:"mtop",sampling:S||"number"!=typeof l?1:l};"object"===a(b)&&null!==b&&p.a.shadowMerge(O,b),e.logApi(O)}).catch(function(e){})}var r=t||{},o=r.disableSnapshot,i=void 0===o||o,u=r.enableParams,c=void 0===u||u,f=r.sampling,l=void 0===f?.1:f,s=r.traceIdHeaderName,d=void 0===s?"":s;if(window&&window.lib){var g;return window.lib.mtop&&window.lib.mtop.middlewares?window.lib.mtop.middlewares.push(n):Object.defineProperty(window.lib,"mtop",{set:function(e){var t;(g=e).middlewares?-1===g.middlewares.indexOf(n)&&g.middlewares.push(n):Object.defineProperty(g,"middlewares",{set:function(e){-1===(t=e).indexOf(n)&&t.push(n)},get:function(){return t}})},get:function(){return g}}),function(){var e,t;if(null===(t=null===(e=null===window||void 0===window?void 0:window.lib)||void 0===e?void 0:e.mtop)||void 0===t?void 0:t.middlewares){var r=window.lib.mtop.middlewares.indexOf(n);r>=0&&window.lib.mtop.middlewares.splice(r,1)}}}}function f(){return f=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},f.apply(this,arguments)}function l(e){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function s(e){return"string"==typeof e}n.r(t),n.d(t,"traceApiPlugin",function(){return v});var d=n(0),p=n.n(d),m=function(e,t,n){try{var i=[],u=["eagleeye-traceid","x-eagleeye-id"];i=(i=n&&"string"==typeof n?[n].concat(u):Array.isArray(n)?[].concat(o(n),u):u).filter(function(e){return e&&String(e).trim()}).map(function(e){return String(e)});var a="";if("xhr"===e&&t&&"function"==typeof t.getAllResponseHeaders&&"function"==typeof t.getResponseHeader){var c,f=t.getAllResponseHeaders()&&t.getAllResponseHeaders().toLowerCase()||"",l=r(i);try{for(l.s();!(c=l.n()).done;){var s=c.value;if(-1!==(null==f?void 0:f.indexOf(s))){var d=t.getResponseHeader(s);if(d)return a=String(d)}}}catch(e){l.e(e)}finally{l.f()}}else if("fetch"===e&&t.headers&&"function"==typeof t.headers.get){var p,m=r(i);try{for(m.s();!(p=m.n()).done;){var g=p.value,y=t.headers.get(g);if(y)return a=String(y)}}catch(e){m.e(e)}finally{m.f()}}else if("mtop"===e){var v,h=r(i);try{for(h.s();!(v=h.n()).done;){var b=v.value,S=new RegExp("".concat(b,":\\s*([a-z0-9]+)")),w=t.match(S);if(w&&w[1])return a=String(w[1])}}catch(e){h.e(e)}finally{h.f()}}return a}catch(e){return console.warn(e),""}},g=[".bmp",".jpg",".png",".gif",".ogg",".mpeg4",".webm"],y=function(e,t,n){if(!e)return!1;var r="";try{r=location.origin?location.origin:location.protocol+"//"+location.hostname+(location.port?":"+location.port:"")}catch(e){r=""}var o=function(e,t){if(!t||!e)return!1;var n="//"+t.split("/")[2];return e===t||e.slice(0,t.length+1)===t+"/"||e===n||e.slice(0,n.length+1)===n+"/"||!/^(\/\/|http:|https:).*/.test(e)}(n,r);return t||o},v=function(e,t){var n,r,o,i,u=t||{},a=u.enableApiCors,d=void 0!==a&&a,v=u.enableTraceId,h=void 0!==v&&v,b=u.disableXhr,S=void 0!==b&&b,w=u.disableFetch,_=void 0!==w&&w,E=u.sampling,x=void 0===E?.1:E,P=u.disableMtop,T=void 0===P||P,A=(u.disableSnapshot,u.enableParams),O=void 0===A||A,j=u.ignore,U=void 0===j?[]:j,L=u.traceIdHeaderName,C=void 0===L?"":L,I=p.a.getWin(),k=function(e){return"function"==typeof U?U(e):"function"==typeof U.some&&U.some(function(t){return"string"==typeof t?-1!==(null==e?void 0:e.indexOf(t)):"object"===l(t)&&"function"==typeof t.test&&t.test(e)})};if(!S&&I){var M=I.XMLHttpRequest.prototype;n=M.open,r=M.send,M.open=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=y(h,d,String(t))?p.a.genTraceId():"";this.__recordInfo__={method:(e||"get").toUpperCase(),url:t,startTime:(new Date).getTime(),traceId:r},n.apply(this,arguments)},M.send=function(n){var o=this,i=o.__recordInfo__||{},u=i.traceId,a=void 0===u?"":u,c=i.url;if(!k(c)){a&&"function"==typeof o.setRequestHeader&&o.setRequestHeader("EagleEye-TraceID",a);var f=this.onreadystatechange,s=function(){var r,i,u,c,f;try{if(o.__recordInfo__&&4===o.readyState){var s="GET"===o.__recordInfo__.method,d=(null===(r=o.__recordInfo__)||void 0===r?void 0:r.url)||"";if(!T&&-1!==d.indexOf("api=")&&-1!==d.indexOf("v=")&&-1!==d.indexOf("jsv="))return;var y,v=d.split("?")[0]||"",h=d.split("?")[1],b=(new Date).getTime(),S=o.__recordInfo__.startTime;if(g.some(function(e){return-1!==(null==v?void 0:v.indexOf(e))}))return;if("function"==typeof o.getResponseHeader){var w=o.getResponseHeader("Content-Type");if(w&&!/(text)|(json)/.test(w))return}y=O?s||!n?h:"object"===l(n)?JSON.stringify(n):n:"";var _=o.status>=200&&o.status<300,E={api:v,httpCode:o.status,success:_,params:y,time:"number"==typeof b&&"number"==typeof S?b-S:void 0,requestType:"xhr",method:s?"GET":"POST",sampling:_&&"number"==typeof x?x:1};try{E.traceId=m("xhr",o,C)||a}catch(e){a&&(E.traceId=a),console.warn(e)}if("function"==typeof t.evaluate){if("[object Blob]"==={}.toString.call(o.response))return;var P;try{var A="string"==typeof o.response?JSON.parse(o.response):o.response;P=t.evaluate(A,o,"xhr",{method:o.__recordInfo__.method,url:d,data:n})}catch(e){"string"==typeof o.response&&(P={msg:null===(i=o.response)||void 0===i?void 0:i.substring(0,1e3)})}"object"===l(P)&&p.a.shadowMerge(E,P)}else try{var j=JSON.parse(o.response);E.code=j.errCode}catch(e){E.msg="string"==typeof o.response?null===(u=o.response)||void 0===u?void 0:u.substring(0,1e3):"response isn't type json"}e.logApi(E)}}catch(t){console.error(t),e.logCustom({pid:"arms-debug",p1:"api",c1:e.getConfig("pid"),c2:(null===(f=null===(c=o.__recordInfo__)||void 0===c?void 0:c.url)||void 0===f?void 0:f.split("?")[0])||"",c3:null==t?void 0:t.message})}};o.onreadystatechange=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];"function"==typeof f&&f.apply(o,t),s.apply(o)},this.__recordInfo__.startTime=(new Date).getTime()}r.call(this,n)}}return _||(o=null==I?void 0:I.fetch)&&!(null==o?void 0:o.polyfill)&&(I.fetch=function(n,r){var i,u;try{var a,c,v,b,S=(new Date).getTime();s(n)?(a=n,c=(null==r?void 0:r.headers)||{},v=(null===(i=null==r?void 0:r.method)||void 0===i?void 0:i.toUpperCase())||"GET",b=null==r?void 0:r.mode):(a=(null==n?void 0:n.url)||"",c=(null==n?void 0:n.headers)||{},v=(null===(u=null==n?void 0:n.method)||void 0===u?void 0:u.toUpperCase())||"GET",b=null==n?void 0:n.mode);var w="GET"===v,_=y(h,d,a),E=_?p.a.genTraceId():"",P=a.split("?")[0]||"",T=a.split("?")[1]||"",A="",j=g.some(function(e){return-1!==(null==P?void 0:P.indexOf(e))});if("HEAD"===v||"no-cors"===b||j||k(a))return o.call(this,n,r);if(O){if(s(n))A=w||!r?T:"object"===l(r)?JSON.stringify(r):r;else if(n instanceof Request)try{A=n.clone()}catch(t){null==e||e.logError(t,{pid:"arms-debug",c1:e.getConfig("pid"),c2:P}),A=""}}else A="";var U={api:P,params:A,requestType:"fetch",method:w?"GET":"POST"};return _&&("function"==typeof c.set?c.set("EagleEye-TraceID",E):c["EagleEye-TraceID"]=E,s(n)&&(r||(r={}),r.headers=c)),o.call(this,n,r).then(function(o){try{var i=o.headers;if(i&&"function"==typeof i.get){var u=i.get("content-type");if(u&&!/(text)|(json)/.test(u))return o}o.clone().text().then(function(i){var u;try{u="function"==typeof(null==t?void 0:t.evaluate)?t.evaluate(i,o,"fetch",{input:n,data:r}):{}}catch(e){console.error(e)}var a=o.status>=200&&o.status<300,c=(new Date).getTime();try{U.traceId=m("fetch",o,C)||E}catch(e){E&&(U.traceId=E),console.warn(e)}U.httpCode=o.status,U.success=a,U.headers=JSON.stringify(o.headers),U.time="number"==typeof c&&"number"==typeof S?c-S:void 0,U.sampling=a&&"number"==typeof x?x:1,"object"===l(u)&&null!==u&&p.a.shadowMerge(U,u),U.params instanceof Request?U.params.text().then(function(t){e.logApi(f(f({},U),{params:t}))}):e.logApi(U)})}catch(t){e.logCustom({pid:"arms-debug",p1:"api",c1:e.getConfig("pid"),c2:P,c3:null==t?void 0:t.message})}return o})}catch(t){console.error(t),e.logCustom({pid:"arms-debug",p1:"api",c1:e.getConfig("pid"),c3:null==t?void 0:t.message})}}),T||(i=c(e,t)),function(){try{if(n&&r){var e=I.XMLHttpRequest.prototype;e.open=n,e.send=r}o&&(I.fetch=o),i&&"function"==typeof i&&i()}catch(e){console.warn("[ARMS WARN]api插件卸载错误",e)}}};t.default=v}]).default})},function(e,t,n){!function(t,n){e.exports=n()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(t){return e[t]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=1)}([function(e,t,n){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(t){return e[t]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=2)}([function(e,t,n){"use strict";(function(e){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){for(var t=(e&&e.stack||"").split("\n"),n=["","",""],r={},o=0;o<t.length;o++){var f=u,l=(t[o]||"").match(f);if(null===l&&(f=a,l=(t[o]||"").match(f)),null===l&&(f=c,l=(t[o]||"").match(f)),null!==l){var s=l[1],d=r[s];void 0===d&&(r[s]="#"+o+"#",d=r[s]),t[o]=t[o].replace(s,d)}}if(t.length>0){t.shift();var p="";for(o=0;p.length+(t[o]||"").length<i&&o<t.length;)p+=t[o]+"\n",o++;n[1]=p;for(var m="";m.length+(t[o]||"").length<i&&o<t.length;)m+=t[o]+"\n",o++;n[2]=m}var g="";for(s in r)r.hasOwnProperty(s)&&(g+=s+"@"+r[s]+";");return g=g.replace(/;$/,""),n[0]=g,n}n.d(t,"a",function(){return o});var i=4096,u=/^\s*at .*? ?\(((?:file|https?|blob|chrome-extension|native|eval|<anonymous>).*?)(?::\d+)?(?::\d+)?\)?\s*$/i,a=/^\s*.*?(?:\(.*?\))?(?:^|@)((?:file|https?|blob|chrome|resource|\[native).*?)(?::\d+)?(?::\d+)?\s*$/i,c=/^\s*at (?:(?:\[object object\])?.+ )?\(?((?:file|ms-appx|https?|blob):.*?):\d+(?::\d+)?\)?\s*$/i;void 0===e||r(e)}).call(this,n(1))},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(f===setTimeout)return setTimeout(e,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function i(){m&&d&&(m=!1,d.length?p=d.concat(p):g=-1,p.length&&u())}function u(){if(!m){var e=o(i);m=!0;for(var t=p.length;t;){for(d=p,p=[];++g<t;)d&&d[g].run();g=-1,t=p.length}d=null,m=!1,function(e){if(l===clearTimeout)return clearTimeout(e);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(e);try{return l(e)}catch(t){try{return l.call(null,e)}catch(t){return l.call(this,e)}}}(e)}}function a(e,t){this.fun=e,this.array=t}function c(){}var f,l,s=e.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:n}catch(e){f=n}try{l="function"==typeof clearTimeout?clearTimeout:r}catch(e){l=r}}();var d,p=[],m=!1,g=-1;s.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];p.push(new a(e,t)),1!==p.length||m||o(u)},a.prototype.run=function(){this.fun.apply(null,this.array)},s.title="browser",s.browser=!0,s.env={},s.argv=[],s.version="",s.versions={},s.on=c,s.addListener=c,s.once=c,s.off=c,s.removeListener=c,s.removeAllListeners=c,s.emit=c,s.prependListener=c,s.prependOnceListener=c,s.listeners=function(e){return[]},s.binding=function(e){throw new Error("process.binding is not supported")},s.cwd=function(){return"/"},s.chdir=function(e){throw new Error("process.chdir is not supported")},s.umask=function(){return 0}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){var t=e.message.match(/Uncaught (\w+):/);return t&&t[1]?t[1]:e.error_type?e.error_type:e.name?e.name:""}function i(e){var t=e.message,n=void 0===t?"":t,r=e.lineno,i=e.colno,u=e.stack,a=e.error,c=Object(b.a)(a&&a.stack||u)||["","",""];return{msg:n||e.msg||"",lineno:r,colno:i,file:e.filename||e.file||"",stack:a&&a.stack||u,stack1:c[0],stack2:c[1],stack3:c[2],errType:e.errType||o(e)||"",errCode:e.errCode||e.error_code}}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,u,a=[],c=!0,f=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){f=!0,o=e}finally{try{if(!c&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(f)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16,n=[],r=0;r<e;r++){var o=Math.floor(Math.random()*t);n[r]=o.toString(t)}return n.join("")}function l(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}function s(e,t,n,r,o){return e.addEventListener?(o=o||!1,e.addEventListener(t,function i(u){r&&e.removeEventListener(t,i,o),n.call(this,u)},o)):e.attachEvent&&e.attachEvent("on"+t,function o(i){r&&e.detachEvent("on"+t,o),n.call(this,i)}),this}function d(e,t,n,r,o){if(e.addEventListener){var i=function i(u){r&&e.removeEventListener(t,i,o),n.call(this,u)};return o=o||!1,e.addEventListener(t,i,o),function(){e.removeEventListener(t,i,o)}}if(e.attachEvent){var u=function o(i){r&&e.detachEvent("on"+t,o),n.call(this,i)};return e.attachEvent("on"+t,u),function(){e.detachEvent("on"+t,u)}}}function p(e,t){var n="perf"===e?h:v;return{APLUS_LOGKEY:n,APLUS_URL:"https://".concat(t&&"string"==typeof t?t:y).concat(n)}}function m(e){return"[object Array]"==={}.toString.call(e)}n.r(t),n.d(t,"shadowMerge",function(){return S}),n.d(t,"getRandomNum",function(){return f}),n.d(t,"uuid",function(){return l}),n.d(t,"ignoreFirstSpecialChara",function(){return w}),n.d(t,"checkWin",function(){return _}),n.d(t,"getUrl",function(){return E}),n.d(t,"getOriginUrl",function(){return x}),n.d(t,"getUrlHash",function(){return P}),n.d(t,"getUrlQuery",function(){return T}),n.d(t,"getSpmAB",function(){return A}),n.d(t,"toQueryParams",function(){return O}),n.d(t,"queryToObj",function(){return j}),n.d(t,"on",function(){return s}),n.d(t,"bindEvent",function(){return d}),n.d(t,"getSendInfo",function(){return p}),n.d(t,"getXPath",function(){return U}),n.d(t,"getWin",function(){return L}),n.d(t,"getPageMetaConfig",function(){return C}),n.d(t,"genRandomIp",function(){return I}),n.d(t,"genTraceId",function(){return k}),n.d(t,"checkSample",function(){return M}),n.d(t,"processError",function(){return R}),n.d(t,"getCommonInfo",function(){return F});var g,y="s-gm.mmstat.com",v="/arms.1.1",h="/arms.1.2",b=("https://s-gm.mmstat.com".concat(v),"https://s-gm.mmstat.com".concat(h),n(0)),S=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},w=function(e){return"string"==typeof e?e.replace(/^\?|#/,""):""},_=function(){return!("object"!==("undefined"==typeof window?"undefined":c(window))||!window.document)},E=function(){return _()?window.location.href.split("?")[0]:""},x=function(){return _()?window.location.href:""},P=function(){return _()?w(window.location.hash):""},T=function(){return _()?w(window.location.search):""},A=function(){if(!_())return{a:"",b:""};var e=window.goldlog,t=(null==e?void 0:e.spm_ab)||(null==e?void 0:e.spmAb)||[];return{a:t[0]||"",b:t[1]||""}},O=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[];
for(var r in e){var o=e[r],i="".concat(encodeURIComponent(r),"=").concat(encodeURIComponent(t?encodeURIComponent(o):String(o).slice(0,512)));n.push(i)}return n.join("&")},j=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"&",n={};return e.split(t).forEach(function(e){var t=e.split("="),r=t[0];n[r]=t[1]}),n},U=function e(t,n){var r=t.id?"#"+t.id:"",o=t.className&&t.className.split?"."+t.className.split(" ").join("."):"",i=t.tagName.toLowerCase();return t.parentNode&&t.parentNode.tagName&&n-1!=0?e(t.parentNode,n-1)+" > "+i.toLowerCase()+r+o:i+r+o},L=function(){return"object"===("undefined"==typeof window?"undefined":c(window))&&window.document?window:void 0},C=function(){var e=_();try{if(e){var t=window.document.querySelector('meta[name="page-tag"]');if(t){var n=t.getAttribute("content")||"";return j(n,",")}}return{}}catch(e){return{}}},I=function(){for(var e=[],t=0;t<4;t++){var n=Math.floor(256*Math.random());e[t]=(n>15?"":"0")+n.toString(16)}return e.join("")},k=(g=1e3,function(){var e=I(),t=Date.now(),n=g,r=f(1),o=f(4);return g=g+1>1e4?1e3:g+1,e+t+n+r+o}),M=function(e){return e>Math.random()},R=function(e){var t={};return t="undefined"!=typeof PromiseRejectionEvent&&e instanceof PromiseRejectionEvent?function(e){if(e)try{var t="",n=0,o=0,u="",a="";"string"==typeof e?t=e:"object"===r(e.reason)?t=e.reason.message:"string"==typeof e.message&&(t=e.message);var c=e.reason;if("object"===r(c)){if("number"==typeof c.column?(o=c.column,n=c.line):c.stack&&(f=c.stack.match(/at\s+.+:(\d+):(\d+)/))&&(n=f[1],o=f[2]),c.sourceURL)u=c.sourceURL;else if(c.stack){var f;(f=c.stack.match(/at\s+(.+):\d+:\d+/))&&(u=f[1])}c.stack&&(a=c.stack)}return i({message:t,filename:u,lineno:n,colno:o,stack:a,error_type:e.constructor.name})}catch(e){}}(e)||{}:function(e,t,n,r,o){try{return i("string"==typeof e?{message:e,filename:t,lineno:n,colno:r,error:o}:e)}catch(e){}}(e)||{}},N=function(e,t){if(!e)return"";if(!(null==t?void 0:t.length))return e;var n=u(e.split("?"),2),r=n[0],o=n[1],i="?";return-1===(null==e?void 0:e.indexOf("?"))&&-1!==(null==e?void 0:e.indexOf("http"))?e:(-1===(null==e?void 0:e.indexOf("?"))&&(r="",o=e,i=""),"".concat(r).concat(i).concat(function(e,t){if(!e)return"";t=t||[];var n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(r);var o=[];n=n.sort();for(var i=0;i<n.length;++i){for(var u=e[r=n[i]],a=!1,c=0;c<t.length;++c)if(t[c]===r){a=!0;break}a||(u?o.push(r+"="+String(u).slice(0,512)):o.push(r))}return o.join("&")}(function(e){var t={};if("string"!=typeof e)return t;if(!(e=e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"").replace(/^(\?|#|&)/,"")))return t;for(var n=e.split("&"),r=0;r<n.length;++r){var o=n[r].replace(/\+/g," ").split("="),i=o.shift()||"",u=o.length>0?o.join("="):"";t[i]?m(t[i])?t[i].push(u):t[i]=[t[i],u]:t[i]=u}return t}(o),t)))},F=function(e,t){var n=L(),r={};if(n&&"onload"in n){var o=(n.navigator||{}).connection||{};r.url="function"==typeof t.getUrl?t.getUrl():N(E(),e),r.origin_url=N(x(),e),r.referrer=N(document.referrer,e),r.title=document.title,r.hash=P(),r.query=N(T(),e),r.dpr=n.devicePixelRatio||1,r.sr="object"===("undefined"==typeof screen?"undefined":c(screen))&&screen.width+"x"+screen.height||"",r.net_type=o.effectiveType||o.type||""}return r};t.default={shadowMerge:S,getRandomNum:f,uuid:l,ignoreFirstSpecialChara:w,checkWin:_,getUrl:E,getOriginUrl:x,getUrlHash:P,getUrlQuery:T,getSpmAB:A,toQueryParams:O,queryToObj:j,on:s,bindEvent:d,getSendInfo:p,getXPath:U,getWin:L,getPageMetaConfig:C,genRandomIp:I,genTraceId:k,checkSample:M,processError:R,getCommonInfo:F}}]).default},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,u,a=[],c=!0,f=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){f=!0,o=e}finally{try{if(!c&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(f)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.r(t);var u=n(0),a=function(e,t){var n=t||{},i=n.ignore,a=void 0===i?[]:i,c=n.ignoreQueries,f=void 0!==c&&c,l=u.bindEvent(window,"error",function(t){if(!(!t.target.tagName||t.message||t.filename||t.lineno||t.colno)){var n=t.target,i=function(e,t){var n,r,i=e.src||e.href,u="";if(i&&!e.getAttribute("src")&&!e.getAttribute("href"))return[i=e.outerHTML,u];if(t&&i)try{var a=o([-1!==(r=(n=i).indexOf("?"))?n.substring(0,r):n,-1!==r?n.substring(r+1):""],2);i=a[0],u=a[1]}catch(e){}if(void 0===i){var c="object"===e.tagName.toLowerCase(),f="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"===e.getAttribute("classid")||"application/x-shockwave-flash"===e.getAttribute("type");c&&f&&(i=e.getAttribute("data")||e.getAttribute("codebase")),void 0===i&&(i=e.outerHTML||e.innerHTML)}return[i,u]}(t.target,f),c=o(i,2),l=c[0],s=c[1];if(("IMG"!==t.target.tagName||!/\.mmstat\.com\/arms\./.test(l)&&!/\.mmstat\.com\/fsp\./.test(l))&&!function(e,t,n){return"function"==typeof n?n(e,t):"function"==typeof n.some&&n.some(function(t){return"string"==typeof t?-1!==(null==e?void 0:e.indexOf(t)):"object"===r(t)&&"function"==typeof t.test&&t.test(e)})}(l,t,a)){var d=n.tagName.toLowerCase();e.log({type:"resource_error",msg:"".concat(l," 资源报错"),sampling:1,p1:d,p2:u.getXPath(n,5),p3:l,p4:s})}}},!1,!0);return function(){try{l&&"function"==typeof l&&l()}catch(e){console.warn("[ARMS WARN]资源错误插件卸载错误",e)}}};window.TraceResourceErrorPlugin=a,t.default=a}]).default})},function(e,t,n){"use strict";function r(){var e=a.getGlobalValue("aplus"),t=e._$||{},n=t.meta_info||{},r=n[p];return r}function o(e){return function(){var t=r(),n=i(),o="";return o=d(t)?n[e]||"":t[e]||""}}function i(){var e=u.getExParams(),t=c.param2obj(e),n=s.getUserId()||t.uidaplus,r=s.getUserNick()||t.nick||l.getCookie("tracknick"),o={uidaplus:n,nick:r};return o}var u=n(11),a=n(2),c=n(14),f=n(3),l=n(23),s=n(25),d=n(27),p=f.APLUS_USER_PROFILE;t.getInitialUserProfile=i,t.getUserId=o("uidaplus"),t.getUserNick=o("nick")},function(e,t,n){"use strict";function r(e){for(var t,n=e.split("&"),r=0,o=n.length,i=[];r<o;r++)t=n[r].split("="),i.push([t.shift(),t.join("=")]);return i}function o(e,t){var n="aplus&sidx=aplusSidex&ckx=aplusCkx",r=e||n;try{if(t){var o=c.param2obj(t),i=[m.APLUS,"cna",m.SPM_CNT,m.SPM_URL,m.SPM_PRE,"logtype","pre","uidaplus","asid","sidx","trid","gokey"];a(i,function(e){o.hasOwnProperty(e)&&(p().w("Can not inject keywords: "+e),delete o[e])}),delete o[""];var u="";if(e){var l=e.match(/aplus&/).index,s=l>0?c.param2obj(e.substring(0,l)):{};delete s[""],u=c.obj2param(f.assign(s,o))+"&"+e.substring(l,e.length)}else u=c.obj2param(o)+"&"+n;return u}return r}catch(e){return r}}function i(){var e=aplus&&aplus._$?aplus._$:{},t=e.meta_info||{};return t["aplus-exparams"]||""}function u(){var e=l.getCurrentNode(),t=s.tryToGetAttribute(e,"exparams"),n=o(t,i())||"";return n&&n.replace(/&amp;/g,"&").replace(/\buser(i|I)d=/,"uidaplus=")}var a=n(12),c=n(14),f=n(15),l=n(17),s=n(18),d=n(19),p=n(22),m=n(3);t.mergeExparams=o,t.getExParams=u,t.getExparamsInfos=function(e,t){var n={},o=e||["uidaplus","pc_i","pu_i"],i=u()||"";i=i.replace(/&aplus&/,"&");for(var a=r(i)||[],c=function(e){return d.indexof(o,e)>-1},f=0;f<a.length;f++){var l=a[f],s=l[0]||"",p=l[1]||"";s&&p&&("EXPARAMS"===t||c(s))&&(n[s]=p)}return n}},function(e,t,n){"use strict";var r=n(13);e.exports=function(e,t){if(r(e)&&void 0===e.length)for(var n in e)e.hasOwnProperty(n)&&t(n,e[n],e);else{var o,i=e.length;for(o=0;o<i;o++){var u=t(e[o],o);if("break"===u)break}}}},function(e,t){e.exports=function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}},function(e,t){"use strict";function n(e,t){var n,o,i,u=[],a=e.length;for(i=0;i<a;i++){n=e[i][0],o=e[i][1];var c=0===n.indexOf(r),f=c||t?o:encodeURIComponent(o);u.push(c?f:n+"="+f)}return u.join("&")}t.arr2obj=function(e){var t,n,r,o={},i=e.length;for(r=0;r<i;r++)t=e[r][0],n=e[r][1],o[t]=n;return o},t.param2obj=function(e){if("object"==typeof e)return e;var t={};if(!e||"string"!=typeof e)return t;for(var n=e.split("&"),r=0;r<n.length;r++){var o=n[r],i=o.indexOf("="),u=o.split("="),a=o.length;if(2===u.length)t[u[0]]=u[1]||"";else if(i>0){var c=o.slice(0,i),f=o.slice(i+1,a)||"";t[c]=f}else t[u[0]]=""}return t};var r="::-plain-::";t.s_plain_obj=r,t.arr2param=n,t.obj2param=function(e,t){var n,o,i,u=[];for(n in e)n&&e.hasOwnProperty(n)&&("object"==typeof e[n]?(o=""+this.obj2param(e[n]),i=o):(o=""+e[n],i=n+"="+o),t?u.push(i):u.push(0===n.indexOf(r)?o:i));return u.join("&")},t.encodeGokeyValue=function(e){return e}},function(e,t,n){"use strict";t.assign=n(16),t.makeCacheNum=function(){return Math.floor(268435456*Math.random()).toString(16)},t.isStartWith=function(e,t){return 0===e.indexOf(t)},t.isEndWith=function(e,t){if(String.prototype.endsWith)return e.endsWith(t);var n=e.length,r=t.length;return n>=r&&e.substring(n-r)===t},t.any=function(e,t){var n,r=e.length;for(n=0;n<r;n++)if(t(e[n]))return!0;return!1},t.isNumber=function(e){return"number"==typeof e},t.isNaN=function(e){return isNaN?isNaN(e):e!==e},t.isContain=function(e,t){return e.indexOf(t)>-1};var r=function(e){var t,n=e.constructor===Array?[]:{};if("object"==typeof e){if(JSON&&JSON.parse)t=JSON.stringify(e),n=JSON.parse(t);else for(var o in e)n[o]="object"==typeof e[o]?r(e[o]):e[o];return n}};t.cloneDeep=r;var o=function(){for(var e,t=/[?&]([^=#]+)=([^&#]*)/g,n=window.location.href,r={};e=t.exec(n);)r[e[1]]=e[2];return r};t.getUrlParams=o;var i=function(e){if(!e)return!0;for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0};t.isEmptyObject=i},function(e,t){e.exports=function(e,t){return"function"!=typeof Object.assign?function(e){for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(null!==r)for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t}(e,t):Object.assign({},e,t)}},function(e,t,n){"use strict";function r(){return u||(u=document.getElementById("beacon-aplus")||document.getElementById("tb-beacon-aplus")),u}function o(e){var t=r(),n=a.tryToGetAttribute(t,"cspx");e&&n&&(e.nonce=n)}var i,u,a=n(18),c=n(3),f=n(12);t.getCurrentNode=r,t.addScript=function(e,t,n){var u="script",a=document.createElement(u);a.type="text/javascript";var f=/x-ssr=true/.test(location.search);f?a.defer=!0:a.async=!0;var l=r(),s=l&&l.hasAttribute("crossorigin");s&&(a.crossOrigin="anonymous");var d=c.HTTPS===location.protocol?t||e:e;0===d.indexOf("//")&&(d=c.HTTPS+d),a.src=d,n&&(a.id=n),o(a);var p=document.getElementsByTagName(u)[0];i=i||document.getElementsByTagName("head")[0],p?p.parentNode.insertBefore(a,p):i&&i.appendChild(a)},t.loadScript=function(e,t){function n(e){r.onreadystatechange=r.onload=r.onerror=null,r=null,t(e)}var r=document.createElement("script");if(i=i||document.getElementsByTagName("head")[0],r.async=!0,r.crossOrigin="anonymous","onload"in r)r.onload=n;else{var u=function(){/loaded|complete/.test(r.readyState)&&n()};r.onreadystatechange=u,u()}if(r.onerror=function(e){n(e)},r.src=e,o(r),aplus.globalConfig.isUM){r.id="aplus-setting",r.type="text/javascript",r.charset="utf-8";var a=document.getElementsByTagName("script");a&&a.length>0&&f(a,function(e){e&&"aplus-setting"===e.id&&i.removeChild(e)})}i.appendChild(r)},t.isTouch=function(){return"ontouchend"in document.createElement("div")},t.isEditableElement=function(e){for(;e&&"HTML"!==e.tagName;){var t=a.tryToGetAttribute(e,"contenteditable");if("true"===t)return!0;e=e.parentNode}return!1},t.elementContains=function(e,t){if(e.contains)return e.contains(t)&&e!==t;if(e.compareDocumentPosition)return!!(16&e.compareDocumentPosition(t));for(;t=t.parentNode;)if(t===e)return!0;return!1}},function(e,t){"use strict";t.tryToGetAttribute=function(e,t){return e&&e.getAttribute?e.getAttribute(t)||"":""};var n=function(e,t,n){if(e&&e.setAttribute)try{e.setAttribute(t,n)}catch(e){}};t.tryToSetAttribute=n,t.tryToRemoveAttribute=function(e,t){if(e&&e.removeAttribute)try{e.removeAttribute(t)}catch(r){n(e,t,"")}}},function(e,t,n){"use strict";function r(e){var t=[];if(f(e))for(var n=0;n<e.length;n++){var o=e[n];f(o)?(e[n]=r(o),t=t.concat(e[n])):t.push(o)}return t}function o(e,t){try{return e.find(t)}catch(o){for(var n=0;n<e.length;n++){var r=t(e[n]);if(r)return e[n]}}}function i(e,t){if(f(e)){if(c(e.some))return e.some(t);for(var n=!1,r=0;r<e.length&&!(n=c(t)&&t(e[r],r,e));r++);return n}}function u(e,t){if(f(e)){if(c(e.filter))return e.filter(t);for(var n=[],r=0;r<e.length;r++){var o=e[r],i=c(t)&&t(o,r,e);i&&n.push(o)}return n}}function a(e,t,n){if(!f(e))return[];if(c(e.slice))return e.slice(t,n);var r=e.length,o=[];t=t||0,t<0&&(t=Math.max(0,r+t)),n="undefined"==typeof n?r:n<0?Math.max(0,r+n):Math.min(n,r);for(var i=t;i<n;i++)o.push(e[i]);return o}var c=n(20),f=n(21);t.indexof=function(e,t){var n=-1;try{n=e.indexOf(t)}catch(o){for(var r=0;r<e.length;r++)e[r]===t&&(n=r)}finally{return n}},t.itemMatch=function(e,t){var n=!1;try{if(!f(e))return n;n=e.some(function(e){return e&&e.length>0&&t.indexOf(e)!==-1})}catch(o){for(var r=0;r<e.length;r++)if(t.indexOf(e[r])!==-1){n=!0;break}}return n},t.isArray=f,t.flat=r,t.find=o,t.some=i,t.filter=u,t.slice=a},function(e,t){"use strict";e.exports=function(e){return"function"==typeof e}},function(e,t){"use strict";e.exports=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===Object.prototype.toString.call(e)}},function(e,t){var n="[APLUS] -- ";e.exports=function(){function e(){this.setDebug=function(e){r=e},this.i=function(){if(r)try{"string"==typeof arguments[0]&&(arguments[0]=n+arguments[0]),console.info.apply(console,arguments)}catch(e){}},this.e=function(){if(r)try{"string"==typeof arguments[0]&&(arguments[0]=n+arguments[0]),console.error.apply(console,arguments)}catch(e){}},this.w=function(){if(r)try{"string"==typeof arguments[0]&&(arguments[0]=n+arguments[0]),console.warn.apply(console,arguments)}catch(e){}},this.v=function(){try{"string"==typeof arguments[0]&&(arguments[0]=n+arguments[0]),console.warn.apply(console,arguments)}catch(e){}},this.tip_w=function(e){try{console.log("%c "+n+e,"background:red; padding: 4px; padding-right: 8px; border-radius: 4px; color: #fff;")}catch(e){}},this.tip_i=function(e){try{console.log("%c "+n+e,"background:#3B82FE; padding: 4px; padding-right: 8px; border-radius: 4px; color: #fff;")}catch(e){}},this.repeat=function(e){for(var t=e;t.length<86;)t+=e;return t}}var t=null,r=!1;return function(){return null===t&&(t=new e),t}}()},function(e,t,n){"use strict";function r(e){if(!document)return"";var t=(document.cookie||"").match(new RegExp("(?:^|;)\\s*"+e+"=([^;]+)"));return t?t[1]:""}function o(e){var t=new Date,n="";if("session"===e.expires);else if(e.expires&&("number"==typeof e.expires||e.expires.toUTCString))"number"==typeof e.expires?t.setTime(t.getTime()+24*e.expires*60*60*1e3):t=e.expires,n="expires="+t.toUTCString();else{var r=20;f.indexof(["v.youku.com","www.youku.com","player.youku.com"],location.hostname)>-1&&(r=1),t.setTime(t.getTime()+365*r*24*60*60*1e3),n="expires="+t.toUTCString()}return n}function i(e,t,n){if(document){n||(n={}),t+=";"+(n.expires||o(n)),t+="; path="+(n.path?n.path:"/"),t+="; domain="+n.domain,document.cookie=e+"="+t;var i=0;try{var u=navigator.userAgent.match(/Chrome\/\d+/);u&&u[0]&&(i=u[0].split("/")[1],i&&(i=parseInt(i)))}catch(e){}return n.SameSite&&i>=80&&(t+="; SameSite="+n.SameSite,t+="; Secure",document.cookie=e+"="+t),r(e)}}function u(e,t,n){try{if(!document)return"";if(n||(n={}),n.domain)i(e,t,n);else for(var r=c.getDomains(),o=0;o<r.length;)n.domain=r[o],i(e,t,n)?o=r.length:o++}catch(e){}}var a=n(12),c=n(24),f=n(19);t.getCookie=r,t.trySetCookie=i,t.setCookie=u;var l=["tracknick","thw","cna"];t.getData=function(){var e={};if(a(l,function(t){e[t]=r(t)}),location){var t=location.hostname;e.cnaui=/\btanx\.com$/.test(t)?r("cnaui"):""}return e},t.getHng=function(){return encodeURIComponent(r("hng")||"")},t.getCookieCna=function(e){return r(e)||r("_"+e)},t.setCookieCna=function(e,t,n){for(var r=c.getDomains(),u=0;u<r.length;)if(n.domain=r[u],i(e,t,n))u=r.length;else{if(u===r.length-1){var a=t+";"+o(n);a+="; path=/",document.cookie="_"+e+"="+a}u++}}},function(e,t){"use strict";t.getDomains=function(){var e=[];try{for(var t=location.hostname,n=t.split("."),r=2;r<=n.length;)e.push(n.slice(n.length-r).join(".")),r++}catch(e){}return e}},function(e,t,n){"use strict";function r(e){var t=o.APLUS_CONFIG,n=window[t]||(window[t]={});return i(e)?n[e]:n}var o=n(3),i=n(26),u=n(2),a=n(20);t.getConfig=r,t.getPid=function(){var e=u.getGlobalValue(o.APLUS),t=location.hostname||"",n=a(e.getMetaInfo)&&"on"===e.getMetaInfo(o.APLUS_AUTO_PID)?t.replace(/[^a-zA-Z0-9_]/g,"_"):"",i=r("pid");return i||n},t.getUserId=function(){var e=r(),t=e.userProfile||{};return t.uidaplus||e.uidaplus||e.userId||e.userid},t.getUserNick=function(){var e=r(),t=e.userProfile||{};return t.nick||e.nick||e.userNick||e.usernick}},function(e,t){function n(e){return"[object String]"===Object.prototype.toString.call(e)}e.exports=n},function(e,t){e.exports=function(e){return"undefined"==typeof e}},function(e,t,n){"use strict";function r(){var e=c.getExParams(),t="&aplus&",n={};if(a(e)){var r=e.substring(e.indexOf(t)+t.length);n=f.param2obj(r)}return n}var o=n(29),i=n(30),u=n(2),a=n(26),c=n(11),f=n(14),l=n(16),s=u.getGlobalValue("aplus"),d={getCommonParams:function(){var e=i.isMobile()?"WAP":"PC",t=r(),n=l(t,{jsver:s.globalConfig.script_name,lver:s.globalConfig.lver,platformType:e.toLowerCase()});return n},init:function(e){var t=o(e),n=this;return t.install(),t.before("send",function(e){var t=Object.assign(e,n.getCommonParams());return t}),t}};e.exports=d},function(e,t,n){!function(t,n){e.exports=n()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(t){return e[t]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=3)}([function(e,t,n){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(t){return e[t]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=2)}([function(e,t,n){"use strict";(function(e){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){for(var t=(e&&e.stack||"").split("\n"),n=["","",""],r={},o=0;o<t.length;o++){var f=u,l=(t[o]||"").match(f);if(null===l&&(f=a,l=(t[o]||"").match(f)),null===l&&(f=c,l=(t[o]||"").match(f)),null!==l){var s=l[1],d=r[s];void 0===d&&(r[s]="#"+o+"#",d=r[s]),t[o]=t[o].replace(s,d)}}if(t.length>0){t.shift();var p="";for(o=0;p.length+(t[o]||"").length<i&&o<t.length;)p+=t[o]+"\n",o++;n[1]=p;for(var m="";m.length+(t[o]||"").length<i&&o<t.length;)m+=t[o]+"\n",o++;n[2]=m}var g="";for(s in r)r.hasOwnProperty(s)&&(g+=s+"@"+r[s]+";");return g=g.replace(/;$/,""),n[0]=g,n}n.d(t,"a",function(){return o});var i=4096,u=/^\s*at .*? ?\(((?:file|https?|blob|chrome-extension|native|eval|<anonymous>).*?)(?::\d+)?(?::\d+)?\)?\s*$/i,a=/^\s*.*?(?:\(.*?\))?(?:^|@)((?:file|https?|blob|chrome|resource|\[native).*?)(?::\d+)?(?::\d+)?\s*$/i,c=/^\s*at (?:(?:\[object object\])?.+ )?\(?((?:file|ms-appx|https?|blob):.*?):\d+(?::\d+)?\)?\s*$/i;void 0===e||r(e)}).call(this,n(1))},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(f===setTimeout)return setTimeout(e,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function i(){m&&d&&(m=!1,d.length?p=d.concat(p):g=-1,p.length&&u())}function u(){if(!m){var e=o(i);m=!0;for(var t=p.length;t;){for(d=p,p=[];++g<t;)d&&d[g].run();g=-1,t=p.length}d=null,m=!1,function(e){if(l===clearTimeout)return clearTimeout(e);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(e);try{return l(e)}catch(t){try{return l.call(null,e)}catch(t){return l.call(this,e)}}}(e)}}function a(e,t){this.fun=e,this.array=t}function c(){}var f,l,s=e.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:n}catch(e){f=n}try{l="function"==typeof clearTimeout?clearTimeout:r}catch(e){l=r}}();var d,p=[],m=!1,g=-1;s.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];p.push(new a(e,t)),1!==p.length||m||o(u)},a.prototype.run=function(){this.fun.apply(null,this.array)},s.title="browser",s.browser=!0,s.env={},s.argv=[],s.version="",s.versions={},s.on=c,s.addListener=c,s.once=c,s.off=c,s.removeListener=c,s.removeAllListeners=c,s.emit=c,s.prependListener=c,s.prependOnceListener=c,s.listeners=function(e){return[]},s.binding=function(e){throw new Error("process.binding is not supported")},s.cwd=function(){return"/"},s.chdir=function(e){throw new Error("process.chdir is not supported")},s.umask=function(){return 0}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){var t=e.message.match(/Uncaught (\w+):/);return t&&t[1]?t[1]:e.error_type?e.error_type:e.name?e.name:""}function i(e){var t=e.message,n=void 0===t?"":t,r=e.lineno,i=e.colno,u=e.stack,a=e.error,c=Object(b.a)(a&&a.stack||u)||["","",""];return{msg:n||e.msg||"",lineno:r,colno:i,file:e.filename||e.file||"",stack:a&&a.stack||u,stack1:c[0],stack2:c[1],stack3:c[2],errType:e.errType||o(e)||"",errCode:e.errCode||e.error_code}}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,u,a=[],c=!0,f=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){f=!0,o=e}finally{try{if(!c&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(f)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16,n=[],r=0;r<e;r++){var o=Math.floor(Math.random()*t);n[r]=o.toString(t)}return n.join("")}function l(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}function s(e,t,n,r,o){return e.addEventListener?(o=o||!1,e.addEventListener(t,function i(u){r&&e.removeEventListener(t,i,o),n.call(this,u)},o)):e.attachEvent&&e.attachEvent("on"+t,function o(i){r&&e.detachEvent("on"+t,o),n.call(this,i)}),this}function d(e,t,n,r,o){if(e.addEventListener){var i=function i(u){r&&e.removeEventListener(t,i,o),n.call(this,u)};return o=o||!1,e.addEventListener(t,i,o),function(){e.removeEventListener(t,i,o)}}if(e.attachEvent){var u=function o(i){r&&e.detachEvent("on"+t,o),n.call(this,i)};return e.attachEvent("on"+t,u),function(){e.detachEvent("on"+t,u)}}}function p(e,t){var n="perf"===e?h:v;return{APLUS_LOGKEY:n,APLUS_URL:"https://".concat(t&&"string"==typeof t?t:y).concat(n)}}function m(e){return"[object Array]"==={}.toString.call(e)}n.r(t),n.d(t,"shadowMerge",function(){return S}),n.d(t,"getRandomNum",function(){return f}),n.d(t,"uuid",function(){return l}),n.d(t,"ignoreFirstSpecialChara",function(){return w}),n.d(t,"checkWin",function(){return _}),n.d(t,"getUrl",function(){return E}),n.d(t,"getOriginUrl",function(){return x}),n.d(t,"getUrlHash",function(){return P}),n.d(t,"getUrlQuery",function(){return T}),n.d(t,"getSpmAB",function(){return A}),n.d(t,"toQueryParams",function(){return O}),n.d(t,"queryToObj",function(){return j}),n.d(t,"on",function(){return s}),n.d(t,"bindEvent",function(){return d}),n.d(t,"getSendInfo",function(){return p}),n.d(t,"getXPath",function(){return U}),n.d(t,"getWin",function(){return L}),n.d(t,"getPageMetaConfig",function(){return C}),n.d(t,"genRandomIp",function(){return I}),n.d(t,"genTraceId",function(){return k}),n.d(t,"checkSample",function(){return M}),n.d(t,"processError",function(){return R}),n.d(t,"getCommonInfo",function(){return F});var g,y="s-gm.mmstat.com",v="/arms.1.1",h="/arms.1.2",b=("https://s-gm.mmstat.com".concat(v),"https://s-gm.mmstat.com".concat(h),n(0)),S=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},w=function(e){return"string"==typeof e?e.replace(/^\?|#/,""):""},_=function(){return!("object"!==("undefined"==typeof window?"undefined":c(window))||!window.document)},E=function(){return _()?window.location.href.split("?")[0]:""},x=function(){return _()?window.location.href:""},P=function(){return _()?w(window.location.hash):""},T=function(){return _()?w(window.location.search):""},A=function(){if(!_())return{a:"",b:""};var e=window.goldlog,t=(null==e?void 0:e.spm_ab)||(null==e?void 0:e.spmAb)||[];return{a:t[0]||"",b:t[1]||""}},O=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[];for(var r in e){var o=e[r],i="".concat(encodeURIComponent(r),"=").concat(encodeURIComponent(t?encodeURIComponent(o):String(o).slice(0,512)));n.push(i)}return n.join("&")},j=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"&",n={};return e.split(t).forEach(function(e){var t=e.split("="),r=t[0];n[r]=t[1]}),n},U=function e(t,n){var r=t.id?"#"+t.id:"",o=t.className&&t.className.split?"."+t.className.split(" ").join("."):"",i=t.tagName.toLowerCase();return t.parentNode&&t.parentNode.tagName&&n-1!=0?e(t.parentNode,n-1)+" > "+i.toLowerCase()+r+o:i+r+o},L=function(){return"object"===("undefined"==typeof window?"undefined":c(window))&&window.document?window:void 0},C=function(){var e=_();try{if(e){var t=window.document.querySelector('meta[name="page-tag"]');if(t){var n=t.getAttribute("content")||"";return j(n,",")}}return{}}catch(e){return{}}},I=function(){for(var e=[],t=0;t<4;t++){var n=Math.floor(256*Math.random());e[t]=(n>15?"":"0")+n.toString(16)}return e.join("")},k=(g=1e3,function(){var e=I(),t=Date.now(),n=g,r=f(1),o=f(4);return g=g+1>1e4?1e3:g+1,e+t+n+r+o}),M=function(e){return e>Math.random()},R=function(e){var t={};return t="undefined"!=typeof PromiseRejectionEvent&&e instanceof PromiseRejectionEvent?function(e){if(e)try{var t="",n=0,o=0,u="",a="";"string"==typeof e?t=e:"object"===r(e.reason)?t=e.reason.message:"string"==typeof e.message&&(t=e.message);var c=e.reason;if("object"===r(c)){if("number"==typeof c.column?(o=c.column,n=c.line):c.stack&&(f=c.stack.match(/at\s+.+:(\d+):(\d+)/))&&(n=f[1],o=f[2]),c.sourceURL)u=c.sourceURL;else if(c.stack){var f;(f=c.stack.match(/at\s+(.+):\d+:\d+/))&&(u=f[1])}c.stack&&(a=c.stack)}return i({message:t,filename:u,lineno:n,colno:o,stack:a,error_type:e.constructor.name})}catch(e){}}(e)||{}:function(e,t,n,r,o){try{return i("string"==typeof e?{message:e,filename:t,lineno:n,colno:r,error:o}:e)}catch(e){}}(e)||{}},N=function(e,t){if(!e)return"";if(!(null==t?void 0:t.length))return e;var n=u(e.split("?"),2),r=n[0],o=n[1],i="?";return-1===(null==e?void 0:e.indexOf("?"))&&-1!==(null==e?void 0:e.indexOf("http"))?e:(-1===(null==e?void 0:e.indexOf("?"))&&(r="",o=e,i=""),"".concat(r).concat(i).concat(function(e,t){if(!e)return"";t=t||[];var n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(r);var o=[];n=n.sort();for(var i=0;i<n.length;++i){for(var u=e[r=n[i]],a=!1,c=0;c<t.length;++c)if(t[c]===r){a=!0;break}a||(u?o.push(r+"="+String(u).slice(0,512)):o.push(r))}return o.join("&")}(function(e){var t={};if("string"!=typeof e)return t;if(!(e=e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"").replace(/^(\?|#|&)/,"")))return t;for(var n=e.split("&"),r=0;r<n.length;++r){var o=n[r].replace(/\+/g," ").split("="),i=o.shift()||"",u=o.length>0?o.join("="):"";t[i]?m(t[i])?t[i].push(u):t[i]=[t[i],u]:t[i]=u}return t}(o),t)))},F=function(e,t){var n=L(),r={};if(n&&"onload"in n){var o=(n.navigator||{}).connection||{};r.url="function"==typeof t.getUrl?t.getUrl():N(E(),e),r.origin_url=N(x(),e),r.referrer=N(document.referrer,e),r.title=document.title,r.hash=P(),r.query=N(T(),e),r.dpr=n.devicePixelRatio||1,r.sr="object"===("undefined"==typeof screen?"undefined":c(screen))&&screen.width+"x"+screen.height||"",r.net_type=o.effectiveType||o.type||""}return r};t.default={shadowMerge:S,getRandomNum:f,uuid:l,ignoreFirstSpecialChara:w,checkWin:_,getUrl:E,getOriginUrl:x,getUrlHash:P,getUrlQuery:T,getSpmAB:A,toQueryParams:O,queryToObj:j,on:s,bindEvent:d,getSendInfo:p,getXPath:U,getWin:L,getPageMetaConfig:C,genRandomIp:I,genTraceId:k,checkSample:M,processError:R,getCommonInfo:F}}]).default},function(e,t,n){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};
return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(t){return e[t]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=3)}([function(e,t,n){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(t){return e[t]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=2)}([function(e,t,n){"use strict";(function(e){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){for(var t=(e&&e.stack||"").split("\n"),n=["","",""],r={},o=0;o<t.length;o++){var f=u,l=(t[o]||"").match(f);if(null===l&&(f=a,l=(t[o]||"").match(f)),null===l&&(f=c,l=(t[o]||"").match(f)),null!==l){var s=l[1],d=r[s];void 0===d&&(r[s]="#"+o+"#",d=r[s]),t[o]=t[o].replace(s,d)}}if(t.length>0){t.shift();var p="";for(o=0;p.length+(t[o]||"").length<i&&o<t.length;)p+=t[o]+"\n",o++;n[1]=p;for(var m="";m.length+(t[o]||"").length<i&&o<t.length;)m+=t[o]+"\n",o++;n[2]=m}var g="";for(s in r)r.hasOwnProperty(s)&&(g+=s+"@"+r[s]+";");return g=g.replace(/;$/,""),n[0]=g,n}n.d(t,"a",function(){return o});var i=4096,u=/^\s*at .*? ?\(((?:file|https?|blob|chrome-extension|native|eval|<anonymous>).*?)(?::\d+)?(?::\d+)?\)?\s*$/i,a=/^\s*.*?(?:\(.*?\))?(?:^|@)((?:file|https?|blob|chrome|resource|\[native).*?)(?::\d+)?(?::\d+)?\s*$/i,c=/^\s*at (?:(?:\[object object\])?.+ )?\(?((?:file|ms-appx|https?|blob):.*?):\d+(?::\d+)?\)?\s*$/i;void 0===e||r(e)}).call(this,n(1))},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(f===setTimeout)return setTimeout(e,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function i(){m&&d&&(m=!1,d.length?p=d.concat(p):g=-1,p.length&&u())}function u(){if(!m){var e=o(i);m=!0;for(var t=p.length;t;){for(d=p,p=[];++g<t;)d&&d[g].run();g=-1,t=p.length}d=null,m=!1,function(e){if(l===clearTimeout)return clearTimeout(e);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(e);try{return l(e)}catch(t){try{return l.call(null,e)}catch(t){return l.call(this,e)}}}(e)}}function a(e,t){this.fun=e,this.array=t}function c(){}var f,l,s=e.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:n}catch(e){f=n}try{l="function"==typeof clearTimeout?clearTimeout:r}catch(e){l=r}}();var d,p=[],m=!1,g=-1;s.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];p.push(new a(e,t)),1!==p.length||m||o(u)},a.prototype.run=function(){this.fun.apply(null,this.array)},s.title="browser",s.browser=!0,s.env={},s.argv=[],s.version="",s.versions={},s.on=c,s.addListener=c,s.once=c,s.off=c,s.removeListener=c,s.removeAllListeners=c,s.emit=c,s.prependListener=c,s.prependOnceListener=c,s.listeners=function(e){return[]},s.binding=function(e){throw new Error("process.binding is not supported")},s.cwd=function(){return"/"},s.chdir=function(e){throw new Error("process.chdir is not supported")},s.umask=function(){return 0}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){var t=e.message.match(/Uncaught (\w+):/);return t&&t[1]?t[1]:e.error_type?e.error_type:e.name?e.name:""}function i(e){var t=e.message,n=void 0===t?"":t,r=e.lineno,i=e.colno,u=e.stack,a=e.error,c=Object(b.a)(a&&a.stack||u)||["","",""];return{msg:n||e.msg||"",lineno:r,colno:i,file:e.filename||e.file||"",stack:a&&a.stack||u,stack1:c[0],stack2:c[1],stack3:c[2],errType:e.errType||o(e)||"",errCode:e.errCode||e.error_code}}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,u,a=[],c=!0,f=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){f=!0,o=e}finally{try{if(!c&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(f)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16,n=[],r=0;r<e;r++){var o=Math.floor(Math.random()*t);n[r]=o.toString(t)}return n.join("")}function l(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}function s(e,t,n,r,o){return e.addEventListener?(o=o||!1,e.addEventListener(t,function i(u){r&&e.removeEventListener(t,i,o),n.call(this,u)},o)):e.attachEvent&&e.attachEvent("on"+t,function o(i){r&&e.detachEvent("on"+t,o),n.call(this,i)}),this}function d(e,t,n,r,o){if(e.addEventListener){var i=function i(u){r&&e.removeEventListener(t,i,o),n.call(this,u)};return o=o||!1,e.addEventListener(t,i,o),function(){e.removeEventListener(t,i,o)}}if(e.attachEvent){var u=function o(i){r&&e.detachEvent("on"+t,o),n.call(this,i)};return e.attachEvent("on"+t,u),function(){e.detachEvent("on"+t,u)}}}function p(e,t){var n="perf"===e?h:v;return{APLUS_LOGKEY:n,APLUS_URL:"https://".concat(t&&"string"==typeof t?t:y).concat(n)}}function m(e){return"[object Array]"==={}.toString.call(e)}n.r(t),n.d(t,"shadowMerge",function(){return S}),n.d(t,"getRandomNum",function(){return f}),n.d(t,"uuid",function(){return l}),n.d(t,"ignoreFirstSpecialChara",function(){return w}),n.d(t,"checkWin",function(){return _}),n.d(t,"getUrl",function(){return E}),n.d(t,"getOriginUrl",function(){return x}),n.d(t,"getUrlHash",function(){return P}),n.d(t,"getUrlQuery",function(){return T}),n.d(t,"getSpmAB",function(){return A}),n.d(t,"toQueryParams",function(){return O}),n.d(t,"queryToObj",function(){return j}),n.d(t,"on",function(){return s}),n.d(t,"bindEvent",function(){return d}),n.d(t,"getSendInfo",function(){return p}),n.d(t,"getXPath",function(){return U}),n.d(t,"getWin",function(){return L}),n.d(t,"getPageMetaConfig",function(){return C}),n.d(t,"genRandomIp",function(){return I}),n.d(t,"genTraceId",function(){return k}),n.d(t,"checkSample",function(){return M}),n.d(t,"processError",function(){return R}),n.d(t,"getCommonInfo",function(){return F});var g,y="s-gm.mmstat.com",v="/arms.1.1",h="/arms.1.2",b=("https://s-gm.mmstat.com".concat(v),"https://s-gm.mmstat.com".concat(h),n(0)),S=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},w=function(e){return"string"==typeof e?e.replace(/^\?|#/,""):""},_=function(){return!("object"!==("undefined"==typeof window?"undefined":c(window))||!window.document)},E=function(){return _()?window.location.href.split("?")[0]:""},x=function(){return _()?window.location.href:""},P=function(){return _()?w(window.location.hash):""},T=function(){return _()?w(window.location.search):""},A=function(){if(!_())return{a:"",b:""};var e=window.goldlog,t=(null==e?void 0:e.spm_ab)||(null==e?void 0:e.spmAb)||[];return{a:t[0]||"",b:t[1]||""}},O=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[];for(var r in e){var o=e[r],i="".concat(encodeURIComponent(r),"=").concat(encodeURIComponent(t?encodeURIComponent(o):String(o).slice(0,512)));n.push(i)}return n.join("&")},j=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"&",n={};return e.split(t).forEach(function(e){var t=e.split("="),r=t[0];n[r]=t[1]}),n},U=function e(t,n){var r=t.id?"#"+t.id:"",o=t.className&&t.className.split?"."+t.className.split(" ").join("."):"",i=t.tagName.toLowerCase();return t.parentNode&&t.parentNode.tagName&&n-1!=0?e(t.parentNode,n-1)+" > "+i.toLowerCase()+r+o:i+r+o},L=function(){return"object"===("undefined"==typeof window?"undefined":c(window))&&window.document?window:void 0},C=function(){var e=_();try{if(e){var t=window.document.querySelector('meta[name="page-tag"]');if(t){var n=t.getAttribute("content")||"";return j(n,",")}}return{}}catch(e){return{}}},I=function(){for(var e=[],t=0;t<4;t++){var n=Math.floor(256*Math.random());e[t]=(n>15?"":"0")+n.toString(16)}return e.join("")},k=(g=1e3,function(){var e=I(),t=Date.now(),n=g,r=f(1),o=f(4);return g=g+1>1e4?1e3:g+1,e+t+n+r+o}),M=function(e){return e>Math.random()},R=function(e){var t={};return t="undefined"!=typeof PromiseRejectionEvent&&e instanceof PromiseRejectionEvent?function(e){if(e)try{var t="",n=0,o=0,u="",a="";"string"==typeof e?t=e:"object"===r(e.reason)?t=e.reason.message:"string"==typeof e.message&&(t=e.message);var c=e.reason;if("object"===r(c)){if("number"==typeof c.column?(o=c.column,n=c.line):c.stack&&(f=c.stack.match(/at\s+.+:(\d+):(\d+)/))&&(n=f[1],o=f[2]),c.sourceURL)u=c.sourceURL;else if(c.stack){var f;(f=c.stack.match(/at\s+(.+):\d+:\d+/))&&(u=f[1])}c.stack&&(a=c.stack)}return i({message:t,filename:u,lineno:n,colno:o,stack:a,error_type:e.constructor.name})}catch(e){}}(e)||{}:function(e,t,n,r,o){try{return i("string"==typeof e?{message:e,filename:t,lineno:n,colno:r,error:o}:e)}catch(e){}}(e)||{}},N=function(e,t){if(!e)return"";if(!(null==t?void 0:t.length))return e;var n=u(e.split("?"),2),r=n[0],o=n[1],i="?";return-1===(null==e?void 0:e.indexOf("?"))&&-1!==(null==e?void 0:e.indexOf("http"))?e:(-1===(null==e?void 0:e.indexOf("?"))&&(r="",o=e,i=""),"".concat(r).concat(i).concat(function(e,t){if(!e)return"";t=t||[];var n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(r);var o=[];n=n.sort();for(var i=0;i<n.length;++i){for(var u=e[r=n[i]],a=!1,c=0;c<t.length;++c)if(t[c]===r){a=!0;break}a||(u?o.push(r+"="+String(u).slice(0,512)):o.push(r))}return o.join("&")}(function(e){var t={};if("string"!=typeof e)return t;if(!(e=e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"").replace(/^(\?|#|&)/,"")))return t;for(var n=e.split("&"),r=0;r<n.length;++r){var o=n[r].replace(/\+/g," ").split("="),i=o.shift()||"",u=o.length>0?o.join("="):"";t[i]?m(t[i])?t[i].push(u):t[i]=[t[i],u]:t[i]=u}return t}(o),t)))},F=function(e,t){var n=L(),r={};if(n&&"onload"in n){var o=(n.navigator||{}).connection||{};r.url="function"==typeof t.getUrl?t.getUrl():N(E(),e),r.origin_url=N(x(),e),r.referrer=N(document.referrer,e),r.title=document.title,r.hash=P(),r.query=N(T(),e),r.dpr=n.devicePixelRatio||1,r.sr="object"===("undefined"==typeof screen?"undefined":c(screen))&&screen.width+"x"+screen.height||"",r.net_type=o.effectiveType||o.type||""}return r};t.default={shadowMerge:S,getRandomNum:f,uuid:l,ignoreFirstSpecialChara:w,checkWin:_,getUrl:E,getOriginUrl:x,getUrlHash:P,getUrlQuery:T,getSpmAB:A,toQueryParams:O,queryToObj:j,on:s,bindEvent:d,getSendInfo:p,getXPath:U,getWin:L,getPageMetaConfig:C,genRandomIp:I,genTraceId:k,checkSample:M,processError:R,getCommonInfo:F}}]).default},function(e,t,n){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(t){return e[t]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){"use strict";n.r(t),n.d(t,"logMap",function(){return r});var r={perf:{fp:"p1",fcp:"p2",lcp:"p3",startTime:"p4",unloadEventStart:"p5",unloadEventEnd:"p6",redirectStart:"p7",redirectEnd:"p8",fetchStart:"p9",domainLookupStart:"p10",domainLookupEnd:"p11",connectStart:"p12",secureConnectionStart:"p13",connectEnd:"p14",requestStart:"p15",responseStart:"p16",responseEnd:"p17",domInteractive:"p18",domContentLoadedEventStart:"p19",domContentLoadedEventEnd:"p20",domComplete:"p21",loadEventStart:"p22",loadEventEnd:"p23"},error:{file:"p1",lineno:"p2",colno:"p3",stack:"p4",errType:"p5",errCode:"p6",stack1:"p7",stack2:"p8",stack3:"p9"},api:{api:"p1",success:"p2",httpCode:"p3",code:"p4",time:"p5",traceId:"p6",params:"p7",response:"p8",header:"p9",requestType:"p10",method:"p11"},event:{id:"p1",eventType:"p2",xpath:"p3",success:"p4",time:"p5"},form:{formKey:"p1",feature:"p2",errors:"p3",status:"p4",fieldId:"p5",fieldLabel:"p6",url:"p7",submitCount:"p8",totalTime:"p9",pureTime:"p10",leaveTime:"p11",leaveCount:"p12",idleTime:"p13",idleCount:"p14",uuid:"p15",comps:"p16"},speed:{t1:"p1",t2:"p2",t3:"p3",t4:"p4",t5:"p5",t6:"p6",t7:"p7",t8:"p8",t9:"p9",t10:"p10"},calc:{method:"p1",key:"p2",value:"p3"},action:{action:"p3",actionType:"p4",result:"p5",actionCode:"p6",description:"p7",duration:"p8"}};t.default=r}]).default},function(e,t,n){/**
	 * @preserve
	 * JS Implementation of incremental MurmurHash3 (r150) (as of May 10, 2013)
	 *
	 * @author <a href="mailto:jensyt@gmail.com">Jens Taylor</a>
	 * @see http://github.com/homebrewing/brauhaus-diff
	 * @author <a href="mailto:gary.court@gmail.com">Gary Court</a>
	 * @see http://github.com/garycourt/murmurhash-js
	 * @author <a href="mailto:aappleby@gmail.com">Austin Appleby</a>
	 * @see http://sites.google.com/site/murmurhash/
	 */
!function(){function t(e,r){var o=this instanceof t?this:n;if(o.reset(r),"string"==typeof e&&e.length>0&&o.hash(e),o!==this)return o}var n;t.prototype.hash=function(e){var t,n,r,o,i;switch(i=e.length,this.len+=i,n=this.k1,r=0,this.rem){case 0:n^=i>r?65535&e.charCodeAt(r++):0;case 1:n^=i>r?(65535&e.charCodeAt(r++))<<8:0;case 2:n^=i>r?(65535&e.charCodeAt(r++))<<16:0;case 3:n^=i>r?(255&e.charCodeAt(r))<<24:0,n^=i>r?(65280&e.charCodeAt(r++))>>8:0}if(this.rem=i+this.rem&3,(i-=this.rem)>0){for(t=this.h1;t=5*(t=(t^=n=13715*(n=(n=11601*n+3432906752*(65535&n)&4294967295)<<15|n>>>17)+461832192*(65535&n)&4294967295)<<13|t>>>19)+3864292196&4294967295,!(r>=i);)n=65535&e.charCodeAt(r++)^(65535&e.charCodeAt(r++))<<8^(65535&e.charCodeAt(r++))<<16,n^=(255&(o=e.charCodeAt(r++)))<<24^(65280&o)>>8;switch(n=0,this.rem){case 3:n^=(65535&e.charCodeAt(r+2))<<16;case 2:n^=(65535&e.charCodeAt(r+1))<<8;case 1:n^=65535&e.charCodeAt(r)}this.h1=t}return this.k1=n,this},t.prototype.result=function(){var e,t;return e=this.k1,t=this.h1,e>0&&(t^=e=13715*(e=(e=11601*e+3432906752*(65535&e)&4294967295)<<15|e>>>17)+461832192*(65535&e)&4294967295),t^=this.len,t=51819*(t^=t>>>16)+2246770688*(65535&t)&4294967295,t=44597*(t^=t>>>13)+3266445312*(65535&t)&4294967295,(t^=t>>>16)>>>0},t.prototype.reset=function(e){return this.h1="number"==typeof e?e:0,this.rem=this.k1=this.len=0,this},n=new t,e.exports=t}()},function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e))return u(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||i(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o.apply(this,arguments)}function i(e,t){if(e){if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,(o=void 0,o=function(e,t){if("object"!==a(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!==a(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(r.key,"string"),"symbol"===a(o)?o:String(o)),r)}var o}function f(e,t,n){return t&&c(e.prototype,t),n&&c(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.r(t),n.d(t,"default",function(){return v});var l=n(0),s=n(1),d=n.n(s),p=n(2),m=n.n(p),g=["wrapperHooksFunc","addPlugin","executeHooks","install"],y=(new Date).getTime(),v=f(function e(t,n){var u=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.queue=[],this.pipe=[],this.requiredFieldQueue=[],this.pluginsToUninstall=[],this.setConfig=function(e){u.config=l.shadowMerge(u.config,e),u.sendRequiredFields(e)},this.getConfig=function(e){if("string"==typeof e)return u.config[e];if("object"===a(e)){var t,n={},r=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=i(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var u,a=!0,c=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){c=!0,u=e},f:function(){try{a||null==n.return||n.return()}finally{if(c)throw u}}}}(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;n[o]=u.config[o]}}catch(e){r.e(e)}finally{r.f()}return n}return u.config},this.generateRandomId=function(){return m()(l.getUrl()+l.uuid()+(new Date).getTime()).result()},this.generatePvId=function(){var e=u.generateRandomId();return u.setConfig({pvId:e}),e},this.generateSid=function(){var e=u.generateRandomId();return u.setConfig({sid:e}),e},this.generateUid=function(){var e=u.getUidFromCookie()||"";return u.setConfig({uid:e}),e},this.getUidFromCookie=function(){return""},this.before=function(e,t){var n="function"==typeof e?e:u[e];"function"==typeof n?Array.isArray(n.prototype.beforeHooks)?n.prototype.beforeHooks.push(t):n.prototype.beforeHooks=[t]:console.warn("currentFunc不是Core的方法")},this.after=function(e,t){var n="function"==typeof e?e:u[e];"function"==typeof n?Array.isArray(n.prototype.afterHooks)?n.prototype.afterHooks.push(t):n.prototype.afterHooks=[t]:console.warn("currentFunc不是Core的方法")},this.processSendData=function(e){var t={},n=l.getSpmAB(),r=u.config,i=r.pvId,c=r.uid,f=r.env,s=void 0===f?"prod":f,d=r.sid,p=r.version,m=r.grey,g=r.ignoredQueries,v=void 0===g?[]:g;i||(i=u.generatePvId()),d||(d=u.generateSid()),c||(c=u.generateUid()),t.pid=u.config.pid,t.ua="object"===("undefined"==typeof navigator?"undefined":a(navigator))&&navigator?navigator.userAgent:"",t.uid=c,t.username=u.config.username||"",t.spm_a=n.a,t.spm_b=n.b,t.pv_id=i,t.sid=d,t.env=s,t.version=p,t.grey=m,t.delay=parseFloat((((new Date).getTime()-y)/1e3).toFixed(2));var h=l.getCommonInfo(v,u.config),b=u.getExtInfo(v,u.config);for(var S in o(h,b),u.config)if(/^c[1-9]0?$/.test(S)){var w=S;t[w]=u.config[w]}t=o(h,t);var _=l.shadowMerge(t,e);for(var E in _)void 0===_[E]&&(_[E]="");return _},this.getExtInfo=function(){return{}},this.checkRequiredFields=function(e){var t;return null===(t=u.config.requiredFields)||void 0===t?void 0:t.every(function(t){return void 0!==e[t]})},this.filterRequiredFields=function(e){var t=u.config.requiredFields,n={};return null==t||t.forEach(function(t){Object.hasOwnProperty.call(e,t)&&(n[t]=e[t])}),n},this.sendRequiredFields=function(e){for(var t=u.requiredFieldQueue,n=t.length;n>0;){var r=t[--n];if(e){var o=u.filterRequiredFields(e),i=l.shadowMerge(r,o);if(u.checkRequiredFields(i)){t.splice(n,1);var a=u.processSendData(i);u.send(a)}}else{t.splice(n,1);var c=u.processSendData(r);u.send(c)}}},this.sendAll=function(){for(var e=u.queue,t=e.length;t>0;){var n=e[--t],r=u.processSendData(n),o=u.filterRequiredFields(u.config),i=l.shadowMerge(n,o),a=u.checkRequiredFields(i);e.splice(t,1),a?u.send(r):u.requiredFieldQueue.push(i)}},this.send=function(e){console.warn("[ARMS WARN]没有对应的发送方法")},this.log=function(e){var t=u.config,n=t.sampling,r=void 0===n?1:n,o=t.enableSend,i=void 0===o||o;if(r=+r||1,"object"!==a(e))return console.warn("data类型需要object");if(!1!==i){var c="number"==typeof e.sampling?e.sampling:r;Math.random()>c||(e.sampling=c,e.times=c<1&&c>0?Math.floor(1/c):1,u.queue.push(e),u.sendAll())}},this.transformLogParam=function(e,t){var n=t;n.type=e;var r=d.a[e];for(var o in r){var i=r[o];n[i]=n[o],i!==o&&delete n[o]}return n},this.logError=function(e,t){try{var n=l.processError(e)||{},r=n;"object"===a(t)&&(n=o(n,t));var i=u.transformLogParam("error",r);i.sampling=1,u.log(i)}catch(e){}},this.logPerf=function(e){try{var t=u.transformLogParam("perf",e);u.log(t)}catch(e){}},this.logPv=function(e){try{e?(!1!==e.changePage&&u.generatePvId(),delete e.changePage):e||u.generatePvId();var t=u.transformLogParam("pv",e||{});u.log(t)}catch(e){}},this.logApi=function(e){try{!e.api&&e.url&&(e.api=e.url);var t=u.transformLogParam("api",e);void 0===t.p2&&(t.p2=e.success),void 0===t.p10&&(t.p10="xhr"),!1===t.p2&&(t.sampling=1,t.times=1),u.log(t)}catch(e){}},this.logEvent=function(e){try{var t=u.transformLogParam("event",e);u.log(t)}catch(e){}},this.logSpeed=function(e){try{var t=u.transformLogParam("speed",e);u.log(t)}catch(e){}},this.logCalc=function(e){try{var t=u.transformLogParam("calc",e);u.log(t)}catch(e){}},this.logForm=function(e){try{var t=u.transformLogParam("form",e);u.log(t)}catch(e){}},this.logCustom=function(e){try{var t=u.transformLogParam("custom",e);u.log(t)}catch(e){}},this.logBlankScreen=function(e){try{var t=u.transformLogParam("blankScreen",e||{});t.sampling=1,u.log(t)}catch(e){}},this.addPlugin=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.apply(u,[u,t])},this.executeHooks=function(e){if(0!==e.length){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return e.reduce(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=(arguments.length>1?arguments[1]:void 0).apply(void 0,r(e));return void 0!==t&&e.push(t),e},n)}},this.wrapperHooksFunc=function(e){var t=function t(){for(var n=t.prototype.beforeHooks||[],r=t.prototype.afterHooks||[],o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];var c=u.executeHooks.apply(u,[n].concat(i)),f=e.apply(void 0,i.concat([c]));return u.executeHooks.apply(u,[r].concat(i,[f])),f};return t.prototype.beforeHooks=[],t.prototype.afterHooks=[],t},this.sendPipe=function(){var e=u.pipe;if(Array.isArray(e))try{if("string"==typeof e[0]){var t=e.shift(),n=t&&u[t];"function"==typeof n&&n.apply(u,e)}else for(;e.length;){var r=e.shift(),o=r.shift(),i=o&&u[o];"function"==typeof i&&i.apply(u,r)}}catch(e){console.warn("[ARMS WARN]sendPipe错误：",e)}},this.install=function(){for(var e in u){var t=u[e];"function"==typeof t&&-1===g.indexOf(e)&&(u[e]=u.wrapperHooksFunc(t))}u.pluginsToUninstall=[];for(var n=u.config.plugins||[],r=0;r<n.length;r++){var o=n[r];u.pluginsToUninstall.push(u.addPlugin(o[0],o[1]))}Array.isArray(u.pipe)&&u.pipe.length&&u.sendPipe()},this.uninstall=function(){!function e(t){t.forEach(function(t){try{t&&"function"==typeof t&&t.apply(u,[u]),t&&Array.isArray(t)&&e(t)}catch(e){console.warn("[ARMS WARN]SDK卸载错误",e)}})}(u.pluginsToUninstall),u.pluginsToUninstall=[]};var c=l.getPageMetaConfig(),f=l.shadowMerge({requiredFields:[],sampling:1},c);this.config=l.shadowMerge(f,t),n&&(this.pipe=n);var s=this.config.silentThreshold||5;setTimeout(function(){u.sendRequiredFields()},1e3*s)})}]).default},function(e,t,n){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(t){return e[t]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=0)}([function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),u=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&o(t,e,n);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0});var a=n(1),c=u(n(2)).bindEvent,f=function(e,t){if(e&&"object"===("undefined"==typeof window?"undefined":r(window))&&window){var n=t||{},o=n.ignoreErrors,i=n.enableAllRejection,u=void 0!==i&&i,f=function(t){if("object"===r(t)&&t&&(!Array.isArray(o)||!(0,a.ignoreByRule)((0,a.resolveMessage)(t),t,o)&&!(0,a.ignoreByRule)((0,a.decode)((0,a.resolveMessage)(t)),t,o))){var n=t.type;if("error"===n){var i=t.target||t.srcElement;if(i&&i.tagName&&!t.message&&!t.filename&&!t.lineno&&!t.colno)return;e.logError(t)}else if("unhandledrejection"===n){if(u)return t.message=t.message||t.reason||"",void e.logError(t);(0,a.isType)(t.reason,"Error")&&(0,a.checkAutoError)(t.reason)&&e.logError(t)}}},l=[];return l.push(c(window,"error",f)),l.push(c(window,"unhandledrejection",f)),l}};"object"===("undefined"==typeof window?"undefined":r(window))&&window&&(window.TraceJSErrorPlugin=f),t.default=f},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){var n=Object.prototype.toString.call(e).substring(8).replace("]","");return t?n===t:n}function i(e,t,n){if("function"!=typeof e)return n;try{return e.apply(this,t)}catch(e){return n}}Object.defineProperty(t,"__esModule",{value:!0}),t.resolveMessage=t.safetyCall=t.decode=t.ignoreByRule=t.checkAutoError=t.isType=t.on=t.win=void 0,t.win="object"===("undefined"==typeof window?"undefined":r(window))&&window.document?window:void 0,t.on=function(e,t,n,r,o){return e.addEventListener?(o=o||!1,e.addEventListener(t,function i(u){r&&e.removeEventListener(t,i,o),n.call(this,u)},o)):e.attachEvent&&e.attachEvent("on"+t,function o(i){r&&e.detachEvent("on"+t,o),n.call(this,i)}),this},t.isType=o,t.checkAutoError=function(e){return!(!e||!e.message||/failed[\w\s]+fetch/i.test(e.message))},t.ignoreByRule=function(e,t,n){if(!e||!n)return!1;if(("String"===o(n)||n.source||"Function"===o(n))&&(n=[n]),"Array"!==o(n))return console.warn("[arms] invalid rules of ignore config, (list of) String/RegExp/Funcitons are available"),!1;for(var r,u=[],a=0,c=n.length;a<c;a++)if("String"===o(r=n[a]))u.push(r.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1"));else if(r&&r.source)u.push(r.source);else if(r&&"Function"===o(r)&&!0===i(r,[e,t],!1))return!0;var f=new RegExp(u.join("|"),"i");return!!(u.length&&f.test&&f.test(e))},t.decode=function(e){try{e=decodeURIComponent(e)}catch(e){}return e},t.safetyCall=i,t.resolveMessage=function(e){var t;return e?"string"==typeof e.message?e.message:"string"==typeof e.reason?e.reason:"object"===r(e.reason)&&(null===(t=e.reason)||void 0===t?void 0:t.message)||"":""}},function(e,t,n){e.exports=function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(t){return e[t]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=2)}([function(e,t,n){"use strict";(function(e){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){for(var t=(e&&e.stack||"").split("\n"),n=["","",""],r={},o=0;o<t.length;o++){var f=u,l=(t[o]||"").match(f);if(null===l&&(f=a,l=(t[o]||"").match(f)),null===l&&(f=c,l=(t[o]||"").match(f)),null!==l){var s=l[1],d=r[s];void 0===d&&(r[s]="#"+o+"#",d=r[s]),t[o]=t[o].replace(s,d)}}if(t.length>0){t.shift();var p="";for(o=0;p.length+(t[o]||"").length<i&&o<t.length;)p+=t[o]+"\n",o++;n[1]=p;for(var m="";m.length+(t[o]||"").length<i&&o<t.length;)m+=t[o]+"\n",o++;n[2]=m}var g="";for(s in r)r.hasOwnProperty(s)&&(g+=s+"@"+r[s]+";");return g=g.replace(/;$/,""),n[0]=g,n}n.d(t,"a",function(){return o});var i=4096,u=/^\s*at .*? ?\(((?:file|https?|blob|chrome-extension|native|eval|<anonymous>).*?)(?::\d+)?(?::\d+)?\)?\s*$/i,a=/^\s*.*?(?:\(.*?\))?(?:^|@)((?:file|https?|blob|chrome|resource|\[native).*?)(?::\d+)?(?::\d+)?\s*$/i,c=/^\s*at (?:(?:\[object object\])?.+ )?\(?((?:file|ms-appx|https?|blob):.*?):\d+(?::\d+)?\)?\s*$/i;void 0===e||r(e)}).call(this,n(1))},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function r(){throw new Error("clearTimeout has not been defined")}function o(e){if(f===setTimeout)return setTimeout(e,0);if((f===n||!f)&&setTimeout)return f=setTimeout,setTimeout(e,0);try{return f(e,0)}catch(t){try{return f.call(null,e,0)}catch(t){return f.call(this,e,0)}}}function i(){m&&d&&(m=!1,d.length?p=d.concat(p):g=-1,p.length&&u())}function u(){if(!m){var e=o(i);m=!0;for(var t=p.length;t;){for(d=p,p=[];++g<t;)d&&d[g].run();g=-1,t=p.length}d=null,m=!1,function(e){if(l===clearTimeout)return clearTimeout(e);if((l===r||!l)&&clearTimeout)return l=clearTimeout,clearTimeout(e);try{return l(e)}catch(t){try{return l.call(null,e)}catch(t){return l.call(this,e)}}}(e)}}function a(e,t){this.fun=e,this.array=t}function c(){}var f,l,s=e.exports={};!function(){try{f="function"==typeof setTimeout?setTimeout:n}catch(e){f=n}try{l="function"==typeof clearTimeout?clearTimeout:r}catch(e){l=r}}();var d,p=[],m=!1,g=-1;s.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];p.push(new a(e,t)),1!==p.length||m||o(u)},a.prototype.run=function(){this.fun.apply(null,this.array)},s.title="browser",s.browser=!0,s.env={},s.argv=[],s.version="",s.versions={},s.on=c,s.addListener=c,s.once=c,s.off=c,s.removeListener=c,s.removeAllListeners=c,s.emit=c,s.prependListener=c,s.prependOnceListener=c,s.listeners=function(e){return[]},s.binding=function(e){throw new Error("process.binding is not supported")},s.cwd=function(){return"/"},s.chdir=function(e){throw new Error("process.chdir is not supported")},s.umask=function(){return 0}},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e){var t=e.message.match(/Uncaught (\w+):/);return t&&t[1]?t[1]:e.error_type?e.error_type:e.name?e.name:""}function i(e){var t=e.message,n=void 0===t?"":t,r=e.lineno,i=e.colno,u=e.stack,a=e.error,c=Object(b.a)(a&&a.stack||u)||["","",""];return{msg:n||e.msg||"",lineno:r,colno:i,file:e.filename||e.file||"",stack:a&&a.stack||u,stack1:c[0],stack2:c[1],stack3:c[2],errType:e.errType||o(e)||"",errCode:e.errCode||e.error_code}}function u(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,u,a=[],c=!0,f=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);c=!0);}catch(e){f=!0,o=e}finally{try{if(!c&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(f)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function f(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:16,n=[],r=0;r<e;r++){var o=Math.floor(Math.random()*t);n[r]=o.toString(t)}return n.join("")}function l(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}function s(e,t,n,r,o){return e.addEventListener?(o=o||!1,e.addEventListener(t,function i(u){r&&e.removeEventListener(t,i,o),n.call(this,u)},o)):e.attachEvent&&e.attachEvent("on"+t,function o(i){r&&e.detachEvent("on"+t,o),n.call(this,i)}),this}function d(e,t,n,r,o){if(e.addEventListener){var i=function i(u){r&&e.removeEventListener(t,i,o),n.call(this,u)};return o=o||!1,e.addEventListener(t,i,o),function(){e.removeEventListener(t,i,o)}}if(e.attachEvent){var u=function o(i){r&&e.detachEvent("on"+t,o),n.call(this,i)};return e.attachEvent("on"+t,u),function(){e.detachEvent("on"+t,u)}}}function p(e,t){var n="perf"===e?h:v;return{APLUS_LOGKEY:n,APLUS_URL:"https://".concat(t&&"string"==typeof t?t:y).concat(n)}}function m(e){return"[object Array]"==={}.toString.call(e)}n.r(t),n.d(t,"shadowMerge",function(){return S}),n.d(t,"getRandomNum",function(){return f}),n.d(t,"uuid",function(){return l}),n.d(t,"ignoreFirstSpecialChara",function(){return w}),n.d(t,"checkWin",function(){return _}),n.d(t,"getUrl",function(){return E}),n.d(t,"getOriginUrl",function(){return x}),n.d(t,"getUrlHash",function(){return P}),n.d(t,"getUrlQuery",function(){return T}),n.d(t,"getSpmAB",function(){return A}),n.d(t,"toQueryParams",function(){return O}),n.d(t,"queryToObj",function(){return j}),n.d(t,"on",function(){return s}),n.d(t,"bindEvent",function(){return d}),n.d(t,"getSendInfo",function(){return p}),n.d(t,"getXPath",function(){return U}),n.d(t,"getWin",function(){return L}),n.d(t,"getPageMetaConfig",function(){return C}),n.d(t,"genRandomIp",function(){return I}),n.d(t,"genTraceId",function(){return k}),n.d(t,"checkSample",function(){return M}),n.d(t,"processError",function(){return R}),n.d(t,"getCommonInfo",function(){return F});var g,y="s-gm.mmstat.com",v="/arms.1.1",h="/arms.1.2",b=("https://s-gm.mmstat.com".concat(v),"https://s-gm.mmstat.com".concat(h),n(0)),S=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},w=function(e){return"string"==typeof e?e.replace(/^\?|#/,""):""},_=function(){return!("object"!==("undefined"==typeof window?"undefined":c(window))||!window.document)},E=function(){return _()?window.location.href.split("?")[0]:""},x=function(){return _()?window.location.href:""},P=function(){return _()?w(window.location.hash):""},T=function(){return _()?w(window.location.search):""},A=function(){if(!_())return{a:"",b:""};var e=window.goldlog,t=(null==e?void 0:e.spm_ab)||(null==e?void 0:e.spmAb)||[];return{a:t[0]||"",b:t[1]||""}},O=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=[];for(var r in e){var o=e[r],i="".concat(encodeURIComponent(r),"=").concat(encodeURIComponent(t?encodeURIComponent(o):String(o).slice(0,512)));n.push(i)}return n.join("&")},j=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"&",n={};return e.split(t).forEach(function(e){var t=e.split("="),r=t[0];n[r]=t[1]}),n},U=function e(t,n){var r=t.id?"#"+t.id:"",o=t.className&&t.className.split?"."+t.className.split(" ").join("."):"",i=t.tagName.toLowerCase();return t.parentNode&&t.parentNode.tagName&&n-1!=0?e(t.parentNode,n-1)+" > "+i.toLowerCase()+r+o:i+r+o},L=function(){return"object"===("undefined"==typeof window?"undefined":c(window))&&window.document?window:void 0},C=function(){var e=_();try{if(e){var t=window.document.querySelector('meta[name="page-tag"]');if(t){var n=t.getAttribute("content")||"";return j(n,",")}}return{}}catch(e){return{}}},I=function(){for(var e=[],t=0;t<4;t++){var n=Math.floor(256*Math.random());e[t]=(n>15?"":"0")+n.toString(16)}return e.join("")},k=(g=1e3,function(){var e=I(),t=Date.now(),n=g,r=f(1),o=f(4);return g=g+1>1e4?1e3:g+1,e+t+n+r+o}),M=function(e){return e>Math.random()},R=function(e){var t={};return t="undefined"!=typeof PromiseRejectionEvent&&e instanceof PromiseRejectionEvent?function(e){if(e)try{var t="",n=0,o=0,u="",a="";"string"==typeof e?t=e:"object"===r(e.reason)?t=e.reason.message:"string"==typeof e.message&&(t=e.message);var c=e.reason;if("object"===r(c)){if("number"==typeof c.column?(o=c.column,n=c.line):c.stack&&(f=c.stack.match(/at\s+.+:(\d+):(\d+)/))&&(n=f[1],o=f[2]),c.sourceURL)u=c.sourceURL;else if(c.stack){var f;(f=c.stack.match(/at\s+(.+):\d+:\d+/))&&(u=f[1])}c.stack&&(a=c.stack)}return i({message:t,filename:u,lineno:n,colno:o,stack:a,error_type:e.constructor.name})}catch(e){}}(e)||{}:function(e,t,n,r,o){try{return i("string"==typeof e?{message:e,filename:t,lineno:n,colno:r,error:o}:e)}catch(e){}}(e)||{}},N=function(e,t){if(!e)return"";if(!(null==t?void 0:t.length))return e;var n=u(e.split("?"),2),r=n[0],o=n[1],i="?";return-1===(null==e?void 0:e.indexOf("?"))&&-1!==(null==e?void 0:e.indexOf("http"))?e:(-1===(null==e?void 0:e.indexOf("?"))&&(r="",o=e,i=""),"".concat(r).concat(i).concat(function(e,t){if(!e)return"";t=t||[];var n=[];for(var r in e)e.hasOwnProperty(r)&&n.push(r);var o=[];n=n.sort();for(var i=0;i<n.length;++i){for(var u=e[r=n[i]],a=!1,c=0;c<t.length;++c)if(t[c]===r){a=!0;break}a||(u?o.push(r+"="+String(u).slice(0,512)):o.push(r))}return o.join("&")}(function(e){var t={};if("string"!=typeof e)return t;if(!(e=e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"").replace(/^(\?|#|&)/,"")))return t;for(var n=e.split("&"),r=0;r<n.length;++r){var o=n[r].replace(/\+/g," ").split("="),i=o.shift()||"",u=o.length>0?o.join("="):"";t[i]?m(t[i])?t[i].push(u):t[i]=[t[i],u]:t[i]=u}return t}(o),t)))},F=function(e,t){var n=L(),r={};if(n&&"onload"in n){var o=(n.navigator||{}).connection||{};r.url="function"==typeof t.getUrl?t.getUrl():N(E(),e),r.origin_url=N(x(),e),r.referrer=N(document.referrer,e),r.title=document.title,r.hash=P(),r.query=N(T(),e),r.dpr=n.devicePixelRatio||1,r.sr="object"===("undefined"==typeof screen?"undefined":c(screen))&&screen.width+"x"+screen.height||"",r.net_type=o.effectiveType||o.type||""}return r};t.default={shadowMerge:S,getRandomNum:f,uuid:l,ignoreFirstSpecialChara:w,checkWin:_,getUrl:E,getOriginUrl:x,getUrlHash:P,getUrlQuery:T,getSpmAB:A,toQueryParams:O,queryToObj:j,on:s,bindEvent:d,getSendInfo:p,getXPath:U,getWin:L,getPageMetaConfig:C,genRandomIp:I,genTraceId:k,checkSample:M,processError:R,getCommonInfo:F}}]).default}]).default},function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.r(t);var u,a=n(1),c=n.n(a),f=n(0),l=("https://s-gm.mmstat.com".concat("/arms.1.1"),"arms_uid"),s=function(){var e;if("object"===("undefined"==typeof document?"undefined":r(document)))try{if(e=new RegExp(l+"=([^;]+)").exec(document.cookie))return e[1]||"";var t=o();return document.cookie="".concat(l,"=").concat(t,"; max-age=").concat(15552e3,"; SameSite=None; Secure; Path=/; Partitioned"),t}catch(e){return""}return""},d=function(){var e,t="object"===("undefined"==typeof wx?"undefined":r(wx))&&wx||"object"===("undefined"==typeof my?"undefined":r(my))&&my||"object"===("undefined"==typeof dd?"undefined":r(dd))&&dd;if(t&&"function"==typeof t.getStorageSync)try{var n="object"===("undefined"==typeof wx?"undefined":r(wx))?t.getStorageSync(l):null===(e=t.getStorageSync({key:l}))||void 0===e?void 0:e.data;if(n&&"string"==typeof n)return n;if("function"==typeof t.setStorageSync)return n=o(),"object"===("undefined"==typeof wx?"undefined":r(wx))?t.setStorageSync(l,n):t.setStorageSync({key:l,data:n}),n}catch(e){return""}return""},p=n(2),m=n.n(p),g="1.3.26";t.default=function(e,t){var n=f.shadowMerge({useSendBeacon:!0,errorEnable:!0,ignoreErrors:[],enableAllRejection:!1,singleton:!0},e),r=n.plugins||[],o=n.singleton;if(!0===n.errorEnable&&r.push([m.a,{ignoreErrors:n.ignoreErrors,enableAllRejection:n.enableAllRejection}]),n.plugins=r,o&&u)return u;var a=new c.a(n,t);o&&(u=a);var l="object"===("undefined"==typeof wx?"undefined":i(wx))&&wx||"object"===("undefined"==typeof my?"undefined":i(my))&&my||"object"===("undefined"==typeof dd?"undefined":i(dd))&&dd;return l&&"function"==typeof l.request&&function(e){try{var t=Function.prototype.toString.call(e),n=/\{(.*)\}/.exec(t);return""!==(n?n[1]:"")}catch(e){return!1}}(l.request)?(a.getUidFromCookie=d,a.send=function(t){t.sdk_version=g;var n=f.getSendInfo(t.type,e.aplusUrl).APLUS_URL,r=f.toQueryParams(t,!0);l.request({url:n,data:JSON.stringify({gmkey:"OTHER",gokey:r,logtype:"2"}),method:"post",dataType:"base64",header:{"content-type":"application/json"},success:function(e){}})}):n.useSendBeacon&&"object"===("undefined"==typeof navigator?"undefined":i(navigator))&&"function"==typeof navigator.sendBeacon?(a.getUidFromCookie=s,a.send=function(t){t.sdk_version=g;var n=f.getSendInfo(t.type,e.aplusUrl).APLUS_URL,r=f.toQueryParams(t,!0);navigator.sendBeacon(n,JSON.stringify({gmkey:"OTHER",gokey:r,logtype:"2"}))}):"object"===("undefined"==typeof window?"undefined":i(window))&&window&&"object"===("undefined"==typeof document?"undefined":i(document))&&document&&(a.getUidFromCookie=s,a.send=function(t){t.sdk_version=g;var n=f.getSendInfo(t.type,e.aplusUrl).APLUS_URL,r=f.toQueryParams(t,!1);(new Image).src=n+"?"+r}),a}}]).default})},function(e,t){"use strict";t.isMobile=function(){var e=navigator?navigator.userAgent:"",t=/AliApp|Yunos|cyclone/i.test(e),n=/iPhone|iPad|iPod/i.test(e),r=/Android/i.test(e),o=/ArkWeb/i.test(e),i=/Windows Phone/i.test(e)||/IEMobile/i.test(e)||/WPDesktop/i.test(e),u=/BlackBerry/i.test(e),a=/Opera Mini/i.test(e);return t||n||r||o||i||u||a}},function(e,t,n){"use strict";var r=n(2);t.pushIntoGoldlogQueue=function(e,t){var n=r.getGlobalValue("aplus_queue"),o=r.getGlobalValue("aplus"),i=e.split("."),u=o[i[1]],a=u?u[i[2]]:null;o&&2===i.length&&u?u.apply(o,t):3===i.length&&a?a.apply(u,t):n.push({action:e,arguments:t})}},function(e,t){"use strict";t.init=function(e){var t={logError:function(t){e.logError(t)},logApi:function(t){e.logApi(t)},logPv:function(t){e.logPv(t)},logPerf:function(t){e.logPerf(t)},logCustom:function(t){e.logCustom(t)},logSpeed:function(t){e.logSpeed(t)},logCalc:function(t){e.logCalc(t)},logEvent:function(t){e.logEvent(t)}};return t}}]);/*! 2025-12-02 11:28:20 aplus_spmact.js */
!function(t){function e(n){if(r[n])return r[n].exports;var a=r[n]={exports:{},id:n,loaded:!1};return t[n].call(a.exports,a,a.exports,e),a.loaded=!0,a.exports}var r={};return e.m=t,e.c=r,e.p="",e(0)}([function(t,e,r){t.exports=r(1)},function(t,e){"use strict";!function(){function t(t,e,r){t[_]((h?"on":"")+e,function(t){t=t||s.event;var e=t.target||t.srcElement;r(t,e)},!1)}function e(){return/&?\bspm=[^&#]*/.test(location.href)?location.href.match(/&?\bspm=[^&#]*/gi)[0].split("=")[1]:""}function r(t,e){if(t&&/&?\bspm=[^&#]*/.test(t)&&(t=t.replace(/&?\bspm=[^&#]*/g,"").replace(/&{2,}/g,"&").replace(/\?&/,"?").replace(/\?$/,"")),!e)return t;var r,n,a,i,o,c,p,s="&";if(t.indexOf("#")!=-1&&(a=t.split("#"),t=a.shift(),n=a.join("#")),i=t.split("?"),o=i.length-1,a=i[0].split("//"),a=a[a.length-1].split("/"),c=a.length>1?a.pop():"",o>0&&(r=i.pop(),t=i.join("?")),r&&o>1&&r.indexOf("&")==-1&&r.indexOf("%")!=-1&&(s="%26"),t=t+"?spm="+e+(r?s+r:"")+(n?"#"+n:""),p=c.indexOf(".")>-1?c.split(".").pop().toLowerCase():""){if({png:1,jpg:1,jpeg:1,gif:1,bmp:1,swf:1}.hasOwnProperty(p))return 0;!r&&o<=1&&(n||{htm:1,html:1,php:1}.hasOwnProperty(p)||(t+="&file="+c))}return t}function n(t){function e(t){return t=t.replace(/refpos[=(%3D)]\w*/gi,c).replace(i,"%3D"+n+"%26"+a.replace("=","%3D")).replace(o,n),a.length>0&&(t+="&"+a),t}var r=window.location.href,n=r.match(/mm_\d{0,24}_\d{0,24}_\d{0,24}/i),a=r.match(/[&\?](pvid=[^&]*)/i),i=new RegExp("%3Dmm_\\d+_\\d+_\\d+","ig"),o=new RegExp("mm_\\d+_\\d+_\\d+","ig");a=a&&a[1]?a[1]:"";var c=r.match(/(refpos=(\d{0,24}_\d{0,24}_\d{0,24})?(,[a-z]+)?)(,[a-z]+)?/i);return c=c&&c[0]?c[0]:"",n?(n=n[0],e(t)):t}function a(e){var r=s.KISSY;r?r.ready(e):s.jQuery?jQuery(m).ready(e):"complete"===m.readyState?e():t(s,"load",e)}function i(t,e){return t&&t.getAttribute?t.getAttribute(e)||"":""}function o(t){if(t){var e,r=g.length;for(e=0;e<r;e++)if(t.indexOf(g[e])>-1)return!0;return!1}}function c(t,e){if(t&&/&?\bspm=[^&#]*/.test(t)&&(t=t.replace(/&?\bspm=[^&#]*/g,"").replace(/&{2,}/g,"&").replace(/\?&/,"?").replace(/\?$/,"")),!e)return t;var r,n,a,i,o,c,p,s="&";if(t.indexOf("#")!=-1&&(a=t.split("#"),t=a.shift(),n=a.join("#")),i=t.split("?"),o=i.length-1,a=i[0].split("//"),a=a[a.length-1].split("/"),c=a.length>1?a.pop():"",o>0&&(r=i.pop(),t=i.join("?")),r&&o>1&&r.indexOf("&")==-1&&r.indexOf("%")!=-1&&(s="%26"),t=t+"?spm="+e+(r?s+r:"")+(n?"#"+n:""),p=c.indexOf(".")>-1?c.split(".").pop().toLowerCase():""){if({png:1,jpg:1,jpeg:1,gif:1,bmp:1,swf:1}.hasOwnProperty(p))return 0;!r&&o<=1&&(n||{htm:1,html:1,shtml:1,php:1}.hasOwnProperty(p)||(t+="&__file="+c))}return t}function p(t){if(o(t.href)){var r=i(t,u);if(!r){var n=l()(t),a=[n.a,n.b,n.c,n.d].join(".");n.e&&(n+="."+n.e),d&&(a=[n.a||"0",n.b||"0",n.c||"0",n.d||"0"].join("."),a=(e()||"0.0.0.0.0")+"_"+a),t.href=c(t.href,a),t.setAttribute(u,a)}}}var s=window,m=document;if(1!==s.aplus_spmact){s.aplus_spmact=1;var f=function(){return{a:0,b:0,c:0,d:0,e:0}},l=function(){return s.g_SPM&&s.g_SPM.getParam?s.g_SPM.getParam:f},d=!0;try{d=self.location!=top.location}catch(t){}var u="data-spm-act-id",g=["mclick.simba.taobao.com","click.simba.taobao.com","click.tanx.com","click.mz.simba.taobao.com","click.tz.simba.taobao.com","redirect.simba.taobao.com","rdstat.tanx.com","stat.simba.taobao.com","s.click.taobao.com"],h=!!m.attachEvent,b="attachEvent",v="addEventListener",_=h?b:v;t(m,"mousedown",function(t,e){for(var r,n=0;e&&(r=e.tagName);){if("A"==r||"AREA"==r){p(e);break}if("BODY"==r||"HTML"==r)break;e=e.parentNode,n+=1}}),a(function(){for(var t,a,o=document.getElementsByTagName("iframe"),c=0;c<o.length;c++){t=i(o[c],"mmsrc"),a=i(o[c],"mmworked");var p=l()(o[c]),s=[p.a||"0",p.b||"0",p.c||"0",p.d||"0",p.e||"0"].join(".");t&&!a?(d&&(s=[p.a||"0",p.b||"0",p.c||"0",p.d||"0"].join("."),s=e()+"_"+s),o[c].src=r(n(t),s),o[c].setAttribute("mmworked","mmworked")):o[c].setAttribute(u,s)}})}}()}]);