!function(e){function t(r){if(n[r])return n[r].exports;var a=n[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get: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=18)}([function(e,t,n){"use strict";e.exports.randomString=function(e){for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n="",r=0;r<e;r++){var a=Math.floor(Math.random()*t.length);n+=t.substring(a,a+1)}return n},e.exports.getVenture=function(){return document.location.hostname.split(".").pop()},e.exports.loadScript=function(e,t){var n=document.getElementsByTagName("script")[0],r=document.createElement("script");r.type="text/javascript",r.async=!0,r.onload=function(){"function"==typeof t&&t()},r.src=e,n.parentNode.insertBefore(r,n)},e.exports.getUrlParam=function(e,t){void 0===t&&(t=document.location.href);var n=new RegExp("(\\?|&)"+e+"=([^&?]*)","i"),r=t.match(n);return r?decodeURIComponent(r[2]):null},e.exports.getPath=function(e,t,n){var r=t;if(e)for(var a=e.split("."),o=0;o<a.length;o++)try{r=r[a[o]]}catch(e){return void 0!==n?n:void 0}return r||n};var r=function(e){if(void 0===e||null===e)throw new TypeError("Cannot convert first argument to object");for(var t=Object(e),n=1;n<arguments.length;n++){var r=arguments[n];if(void 0!==r&&null!==r){r=Object(r);for(var a=Object.keys(r),o=0,i=a.length;o<i;o++){var u=a[o],s=Object.getOwnPropertyDescriptor(r,u);void 0!==s&&s.enumerable&&(t[u]=r[u])}}}return t};e.exports.mergeObjects=r,e.exports.once=function(e,t){var n;return function(){return e&&(n=e.apply(t||this,arguments),e=null),n}},e.exports.getOrderItemsInfo=function(e){var t={},n=e.reduce(function(e,t){return e+parseFloat(t.price)*parseInt(t.quantity,10)},0);return e.forEach(function(e){t[e.sku_id]=t[e.sku_id]||r({},e,{price:0,quantity:0}),t[e.sku_id].price+=parseFloat(e.price),t[e.sku_id].quantity+=parseInt(e.quantity,10)}),{items:t,revenue:n}},e.exports.getDomainExpression=function(){return new RegExp(SITE_NAME+"|shop.com")};var a=function(e,t,n){for(var r=document.getElementsByTagName(e),a=0;a<r.length;a++)if(r[a].getAttribute(t)===n)return r[a];return""};e.exports.getMetaContent=function(e){var t=a("meta","name",e);return t?t.getAttribute("content"):""},e.exports.getCanonicalUrl=function(){var e=a("link","rel","canonical");return e?e.getAttribute("href"):""}},function(e,t,n){var r=n(0),a=n(8),o={gtm_tag_id:"GTM-N3BTJWR",add_to_cart_event:"add_to_cart",screen_view_event:"page_view",event_argument_key:"arguments",remarkting_api_endpoint:"http://buyer.lazada.test/user/api/getUserTrackInfo",order_success_page_type:"success",seo_domains:a.getSeoDomains(),siteNames:{daraz:"daraz",lazada:"lazada"}},i={sg:{gtm_tag_id:"GTM-M7GZ77C",remarkting_api_endpoint:"https://member.lazada.sg/user/api/getUserTrackInfo"},th:{gtm_tag_id:"GTM-W4HWZLD",remarkting_api_endpoint:"https://member.lazada.co.th/user/api/getUserTrackInfo"},vn:{gtm_tag_id:"GTM-MF7W5HK",remarkting_api_endpoint:"https://member.lazada.vn/user/api/getUserTrackInfo"},id:{gtm_tag_id:"GTM-P2JS8VH",remarkting_api_endpoint:"https://member.lazada.co.id/user/api/getUserTrackInfo"},ph:{gtm_tag_id:"GTM-WWMQZKH",remarkting_api_endpoint:"https://member.lazada.com.ph/user/api/getUserTrackInfo"},my:{gtm_tag_id:"GTM-KTVS7D9",remarkting_api_endpoint:"https://member.lazada.com.my/user/api/getUserTrackInfo"},pk:{gtm_tag_id:"GTM-KJ7SN2Q",remarkting_api_endpoint:"https://member.daraz.pk/user/api/getUserTrackInfo"},bd:{gtm_tag_id:"GTM-M2M4QT3",remarkting_api_endpoint:"https://member.daraz.com.bd/user/api/getUserTrackInfo"},mm:{gtm_tag_id:"GTM-TNNFXJ8",remarkting_api_endpoint:"https://member.shop.com.mm/user/api/getUserTrackInfo"},np:{gtm_tag_id:"GTM-5TLW42C",remarkting_api_endpoint:"https://member.daraz.com.np/user/api/getUserTrackInfo"},lk:{gtm_tag_id:"GTM-PBFNKK2",remarkting_api_endpoint:"https://member.daraz.lk/user/api/getUserTrackInfo"}};e.exports.get=function(e,t){var n=r.getVenture();return i[n]&&i[n][e]?i[n][e]:t||o[e]},e.exports.init=function(){return!0}},function(e,t,n){"use strict";for(var r=["sg","com.my","co.th","co.id","vn","com.ph","lk","com.bd","com.mm","com.np","pk"],a=document.location.hostname,o=a.split("."),i=[];o.length;)if(i.unshift(o.pop()),-1!==r.indexOf(i.join("."))){i.unshift(o.pop()),a="."+i.join(".");break}var u={get:function(e,t){var n=document.cookie.match("(^|;)\\s*"+e+"\\s*=\\s*([^;]+)");return n?n.pop():t},set:function(e,t,n){var r="";if(n){var o=new Date;o.setTime(o.getTime()+1e3*n),r="; expires="+o.toUTCString()}const i=0===document.location.href.toLowerCase().indexOf("https");document.cookie=i?e+"="+t+r+"; path=/; domain="+a+"; SameSite=None; Secure":e+"="+t+r+"; path=/; domain="+a},remove:function(e){document.cookie=e+"=1; expires=Thu, 01-Jan-1970 00:00:01 GMT"}};e.exports=u},function(e,t,n){"use strict";window.dataLayer=window.dataLayer||[];var r=n(2),a=n(0),o=[],i=function(e){var t=arguments,n=Array.prototype.push.apply(this,arguments);return o.forEach(function(e){e.apply(void 0,t)}),n},u=function(){var e=c("page",{}),t={medium:"utm_r_m",source:"utm_r_s",content:"utm_r_cn",term:"utm_r_t",origin:"utm_origin",channel:"utm_channel"},n={};for(var a in t){var o=t[a],i=r.get(o,"");i&&(n[a]=i)}e.referral=n;var u={page:e,anon_uid:r.get("t_uid"),sess_uid:r.get("t_sid")};window.dataLayer.push(u)},s=function(){var e=(window.dataLayer||[]).slice();window.dataLayer.push=i,e.forEach(function(e){o.forEach(function(t){t(e)})}),window.dataLayer.push({"gtm.start":(new Date).getTime(),event:"gtm.js"})},c=function(e,t){var n=(window.dataLayer||[]).reduce(function(e,t){return a.mergeObjects(e,t)},{}),r=a.getPath(e,n,t);return"undefined"===r?t:r},p=function(e){return(window.dataLayer||[]).filter(function(t){return!1!==a.getPath(e,t,!1)}).reduce(function(t,n){return t.push(a.getPath(e,n)),t},[])},d=function(e,t){var n={},r=p("page.xParams");return Array.prototype.forEach.call(r,function(e){e.split("&").forEach(function(e){var t=(e+"").split("=");n[t[0]]=decodeURIComponent(t[1])})}),void 0!==n[e]?n[e]:t};e.exports.addPushCallback=function(e){o.push(e)};var l=function(){return c("v_voya",!1)};e.exports.initDefaults=u,e.exports.getValue=c,e.exports.getAllValues=p,e.exports.isVoyager=l,e.exports.isGTMEnabled=function(){return c("gtm_enable",l())},e.exports.getDlXParams=d,e.exports.init=s},,function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},,,function(e,t){e.exports.getSeoDomains=function(){return[".google.",".bing.",".yahoo.",".duckduckgo.",".ask.",".yandex.",".rambler.",".baidu.",".naver.",".globo.",".avg.",".daum.",".go.mail.ru.",".aol.",".haosou.com.",".incredimail.",".msn.",".search-results.",".so.com.",".sogou.",".babylon.",".goo.ne.",".search.smt.docomo.",".seznam.",".onet.",".startsiden.",".centrum.cz.",".rakuten."]}},function(e,t,n){var r=n(3),a=n(10),o=n(11),i=n(12),u=n(1),s=n(13),c=n(14),p=n(15),d=n(16),l=function(){c.init(),o.init(),a.init(),u.init(),r.initDefaults(),p.init(),d.init(),r.isGTMEnabled()&&!r.getValue("is_mobile_app",!1)&&i.init(u.get("gtm_tag_id")),r.init(),s.init()};e.exports.run=l},function(e,t,n){"use strict";function r(e,t){void 0===t&&(t=window.location.href);for(var n=null,r=[],a=decodeURIComponent(t.slice(t.indexOf("?")+1)),o=a.split("&"),i=0;i<o.length;i++)r=o[i].split("="),r[0]===e&&(n=decodeURIComponent(r[1]));return n}var a=n(2),o=n(1),i=n(0),u=i.getDomainExpression(),s={utm_source_from_url:{cookie_name:"utm_r_s",value:function(e,t){return r("utm_source",e)||r("affiliate_id",e)}},utm_medium_from_url:{cookie_name:"utm_r_m",value:function(e,t){return r("offer_id",e)?SITE_NAME+"_affiliate_program":r("utm_medium",e)}},utm_content_from_url:{cookie_name:"utm_r_cn",value:function(e,t){return r("utm_content",e)||r("offer_id",e)}},utm_term_from_url:{cookie_name:"utm_r_t",value:function(e,t){return r("utm_term",e)||r("offer_ref")}},utm_origin:{cookie_name:"utm_origin",value:function(e,t){if(t.length&&!u.test(t))return t}},utm_channnel:{cookie_name:"utm_channel",value:function(e,t){var n=t.length&&t.split("/")[2],r=a.get("utm_channel",!1);return new RegExp(o.get("seo_domains").join("|")).test(n)?r="SEO":"SEO"!==r&&"NA"!==r&&n&&!u.test(n)?r="Referral":r||(r="NA"),r}}},c=function(e,t){void 0===e&&(e=window.location.href),void 0===t&&(t=window.document.referrer),Object.keys(s).forEach(function(n){var r=s[n],o=r.value(e,t),i=o||a.get(r.cookie_name);i&&o&&a.set(r.cookie_name,i,r.expiry||1800)})};e.exports.config=s,e.exports.init=c},function(e,t,n){"use strict";var r=n(2),a=n(0),o=function(){r.get("t_fv")||r.set("t_fv",Date.now(),31104e4)},i=function(){var e=r.get("t_uid"),t=r.get("anon_uid");e||r.set("t_uid",t||a.randomString(32),31104e4)},u=function(){var e=r.get("t_sid",a.randomString(32));r.set("t_sid",e,1800)},s=function(){o(),i(),u()};e.exports.init=s},function(e,t,n){"use strict";var r=n(0),a=n(3),o=function(e){var t="shadowDatalayer"+r.randomString(4);return window[t]=[],function(e,t,n,r,a){e[r]=e[r]||[];var o=t.getElementsByTagName(n)[0],i=t.createElement(n),u="dataLayer"!=r?"&l="+r:"";i.async=!0,i.src="https://www.googletagmanager.com/gtm.js?id="+a+u,o.parentNode.insertBefore(i,o)}(window,document,"script",t,e),t},i=function(e){var t=o(e);a.addPushCallback(function(e){e&&(window[t].push.apply(window[t],arguments),void 0!==e.cart_items?window.dataLayer.push({event:"cart_edit"}):void 0!==e.orderInfo?window.dataLayer.push({event:"checkout_success"}):void 0!==e.cart_item_list&&window.dataLayer.push({event:"cart_page"}))})};e.exports.init=i},function(e,t,n){"use strict";var r=n(3),a=n(0),o=n(2),i=function(e){return e._s_bucket_id=r.getValue("page.bucket_id"),e._s_reqNo=r.getValue("page.rn"),e._s_resultNr=r.getValue("page.resultNr"),e._s_internal_term=r.getValue("page.internalSearchTerm"),e._s_internal_type=r.getValue("page.internalSearchResultType"),e._s_filters=r.getValue("page.filters",[]).filter(function(e){return e.filterCheckedValues}).map(function(e){return[e.filterName,e.filterCheckedValues].join("::")}).join("||"),e},u=function(e){var t=[],n=r.getValue("orderInfo.orderItems",[]);for(var a in n)-1===t.indexOf(n[a].simple_sku)&&t.push(n[a].simple_sku);return e._p_ord_id=r.getValue("orderInfo.order_id"),e.ord_number=r.getValue("orderInfo.order_id"),e._p_ord_prods=t.join("//"),e},s=function(){return"1"===a.getMetaContent("aplus-encode-referrer-hjlj")},c=function(){var e={};e.ps_i=r.getValue("sess_uid"),e.pc_i=r.getValue("anon_uid"),e.lzd_pg_type=r.getValue("pagetype"),e._p_lang=r.getValue("core.language"),e._p_ref=document.referrer,e.lzd_layout=r.getValue("core.layoutType"),e.pu_i=r.getValue("visitor.customerID"),e._s_engine=r.getValue("search_engine_used"),e._p_reg_cateId=r.getValue("page.regCategoryId"),e._p_usertype=r.getValue("visitor.type"),e.miidlaz=o.get("miidlaz"),r.getValue("search_engine_used",!1)&&(e=i(e)),"desktop"===r.getValue("core.layoutType","")&&"success"===r.getValue("pagetype")&&(e=u(e));var t=r.getValue("page.referral",{}),n={medium:"utm_r_m",source:"utm_r_s",content:"utm_r_cn",term:"utm_r_t",origin:"utm_origin",channel:"utm_channel"};for(var a in n){var s=n[a];t[a]&&(e[s]=t[a])}e.affi_x=o.get("ho_postclick_value"),e.affi_y=o.get("ho_lastclick_value");var c=r.getAllValues("page.xParams");return Array.prototype.forEach.call(c,function(t){t.split("&").forEach(function(t){var n=(t+"").split("=");e[n[0]]=decodeURIComponent(n[1])})}),r.isVoyager()?e._p_voya=r.getValue("v_voya"):e.ab_cookie=o.get("__utmx",""),Object.keys(e).forEach(function(t){void 0===e[t]&&delete e[t]}),e},p=function(e,t){var n=[];for(var r in t)n.push(r);for(var a=0;a<n.length;a++){var o=n[a],i=t[o];if(i){var u=new RegExp(o+"=([^&]+)"),s=o+"="+encodeURIComponent(i);u.test(e)?e=e.replace(u,s):e+="&"+s}}return e},d=function(){var e=c();return e._p_meta_desc=a.getMetaContent("description").slice(0,200),e._p_meta_robots=a.getMetaContent("robots"),e._p_canonical=a.getCanonicalUrl(),e},l=function(){var e=c();return s()&&(e._p_ref=encodeURIComponent(document.referrer)),e},g=function(){return document.getElementById("beacon-aplus")||document.getElementById("tb-beacon-aplus")},_=function(e){var t=g();if(t){var n=t.getAttribute("exparams")||"";n=p(n,e),t.setAttribute("exparams",n)}};t.init=function(){r.addPushCallback(function(e){if(e&&e.page&&e.page.xParams){var t=c();_(t)}});var e=window.goldlog_queue||(window.goldlog_queue=[]);e.push({action:"goldlog.appendMetaInfo",arguments:["aplus-cpvdata",d()]}),e.push({action:"goldlog.appendMetaInfo",arguments:["aplus-exdata",l()]})}},function(e,t,n){"use strict";var r=n(1),a=function(){var e=r.get("siteNames");switch(SITE_NAME){case e.daraz:return"dz.mmstat.com";default:return"sg.mmstat.com"}};t.init=function(){var e=window.goldlog_queue||(window.goldlog_queue=[]),t=a();e.push({action:"goldlog.setMetaInfo",arguments:["aplus-xplug","NONE"]}),e.push({action:"goldlog.setMetaInfo",arguments:["aplus-rhost-v",t]}),e.push({action:"goldlog.setMetaInfo",arguments:["aplus-rhost-g",t]}),e.push({action:"goldlog.setMetaInfo",arguments:["aplus-exinfo","EXPARAMS"]}),e.push({action:"goldlog.setMetaInfo",arguments:["aplus-ifr-pv","1"]}),e.push({action:"goldlog.setMetaInfo",arguments:["aplus-p-url",window.location.href.substring(0,2048)]})}},function(e,t,n){"use strict";window.dataLayer=window.dataLayer||[];var r=function(){var e=/AliApp\(LA|AliApp\(DZ/,t=e.test(navigator.userAgent),n=window.appInfo&&window.appInfo.appName;(t||n)&&window.dataLayer.push({is_mobile_app:1})};e.exports.init=r},function(e,t,n){var r=n(3),a=n(2),o=n(0),i=n(1),u=function(){var e=parseInt(a.get("t_fv",Date.now()),10);return Date.now()-e>36e5?"returning":"new"},s=o.once(function(){var e=i.get("remarkting_api_endpoint"),t=new Image;t.addEventListener("load",p),t.addEventListener("error",p),t.setAttribute("src",e)}),c=function(e){return-1===[void 0,"9999-99-99"].indexOf(e)},p=function(){var e=a.get("lzd_uid",a.get("lzd_anon_id",a.get("t_lid",0))),t={fpd:a.get("t_fpd",void 0),lpd:a.get("t_lpd",void 0),cnt:0};try{t=JSON.parse(decodeURIComponent(a.get("lzd_uti",encodeURIComponent("{lzd_uti not exists}"))))}catch(e){}var n={firstPurchaseDate:"fpd",lastPurchaseDate:"lpd",transaction_count:"cnt"},i=r.getValue("visitor",{}),p=o.mergeObjects({},i);if(p.customerID=e,e){var d=!1;for(var l in n){var g=n[l];c(t[g])?p[l]=t[g]:d=!0}d&&s()}c(p.firstPurchaseDate)&&!c(p.lastPurchaseDate)&&(p.lastPurchaseDate=p.firstPurchaseDate),c(p.lastPurchaseDate)&&!c(p.firstPurchaseDate)&&(p.firstPurchaseDate=p.lastPurchaseDate),p.loggedIn=!!e,p.type=u();var _=p.transaction_count||0;window.dataLayer.push({visitor:p,customer_first_purchase:_&&0!==parseInt(_)?0:1,event:_>0?"return_purchase":"first_purchase"})};e.exports.init=p},,function(e,t,n){"use strict";(function(e){var t=n(1);!function(){try{e.SITE_NAME=(t.get("siteNames")||{}).lazada;var r=n(9),a=window.goldlog||(window.goldlog={}),o=a._APLUS_PLUGIN_LAZADALOG||(a._APLUS_PLUGIN_LAZADALOG={});"complete"!==o.status&&(o._build={compile_time:"Mon Mar 20 2023 11:16:03 GMT+0800 (China Standard Time)",branch:"develop",message:"Merge branch 'feat/encode_referrer' into develop\n\n* feat/encode_referrer:\n  feat: allow to enable the URL encoding of hjlj _p_ref param",commit_long:"2e2366b7e3caa2f17b3212478e027a4f4c90f9b7",plugin_version:"1.0.56"},o.status="init",r.run(),o.status="complete")}catch(e){var i=window.goldlog_queue||(window.goldlog_queue=[]);i.push({action:"goldlog._aplus_cplugin_m.do_tracker_jserror",arguments:[{message:e.message,filename:"lazadalog.js",error:e.name}]})}}()}).call(t,n(5))}]);/*! 2025-12-02 11:27:26 aplus_wap.js */
!function(e){function t(n){if(a[n])return a[n].exports;var o=a[n]={exports:{},id:n,loaded:!1};return e[n].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var a={};return t.m=e,t.c=a,t.p="",t(0)}([function(e,t,a){e.exports=a(1)},function(e,t,a){"use strict";a(2).initGlobal(window),function(){var e=a(4);a(165)(e)}()},function(e,t,a){"use strict";var n,o=a(3),r=o.APLUS,i=o.APLUS_QUEUE,s=o.GOLDLOG,u=o.GOLDLOG_QUEUE,l=!1;try{"undefined"!=typeof window&&(n=window,l=!0)}catch(e){n={},l=!1}t.getContext=function(){return n},t.isWeb=function(){return"undefined"!=typeof window&&window},t.initGlobal=function(e){n=e?e:{v:1,aplus:{},aplus_queue:[]};var t,a;if(l)try{t=n.aplus||n.goldlog||(n.aplus={});var o=n.goldlog_queue||(n.goldlog_queue=[]);a=n.aplus_queue||(n.aplus_queue=[]),a=o.concat(a)}catch(e){}else t=n.aplus,a=n.aplus_queue;return n.aplus=n.goldlog=t,n.aplus_queue=n.goldlog_queue=a,n};var c=function(e){if(e===r||e===s){var t=n[r]||n[s];return t||(t=n[r]=n[s]={}),t}var a=u,o=i;if(e===o||e===a){var l=n[o]||n[a];return l||(l=n[o]=n[a]=[]),l}};t.getGlobalValue=c,t.setGlobalValue=function(e,t){n[e]=t};var p=function(e){var t;try{var a=c(r);t=a[e]}catch(e){t=""}finally{return t}};t.getGoldlogVal=p;var f=function(e,t){var a=!1;try{var n=c(r);e&&(n[e]=t,a=!0)}catch(e){a=!1}finally{return a}};t.setGoldlogVal=f,t.getClientInfo=function(){return p("_aplus_client")||{}}},function(e,t){var a="aplus",n="goldlog",o=a+"_queue",r=n+"_queue",i="mw_change",s="MetaInfo",u="append"+s,l="set"+s,c="http",p="_pubsub",f="other",g="2101",d="2201",m="2202",_="19999",h="1023",v="1010",b=3e4,y=18e5,A="ekvs",P=1e4,S=1,w=1,E=3e3,T="$$_page_start",I="$$_page_end",x="$$_app_start",C="$$_app_end",N="aplus_user_profile",U="imprint",M=a+"-idtype",k=a+"-jsbridge-only",L=a+"-page-config",O=a+"-skip-apv-rules",R=a+"-rhost-v",V=a+"-rhost-g",D=a+"-forward-domain",G=a+"-forward-event-filter",j="autoGetOpenid",B=a+"-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: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:a,APLUS_CONFIG:"APLUS_CONFIG",GOLDLOG:n,UNSUBSCRIBE:a+"."+a+p+".unsubscribe",SUBSCRIBE:a+"."+a+p+".subscribe",PUBLISH:a+"."+a+p+".publish",CACHE_PUBS:a+"."+a+p+".cachePubs",APLUS_UNIVERSAL:a+"_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:c+":",HTTPS:"https:",APPEND_META_INFO:u,SET_META_INFO:l,APLUS_APPEND_META_INFO:a+"."+u,APLUS_SET_META_INFO:a+"."+l,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:A,EVENT_MAX_COUNT:P,MEMORY_MAX_COUNT:S,MAX_QUEUE_COUNT:w,EVENT_SEND_DEFAULT_INTERVAL:E,PAGE_START:T,PAGE_END:I,APP_START:x,APP_END:C,USER_PROFILE_KEY:N,SHARE_CACHE_INTERVAL:y,IMPRINT:U,ID_TYPE:M,GLOBAL_PROPERTY:"globalproperty",JSBRIDGE_ONLY:k,PAGE_CONFIG:L,APLUS_SKIP_APV_RULES:O,APLUS_PV_DOMAIN:R,APLUS_EKV_DOMAIN:V,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:G,APLUS_FORWARD_APPKEY:B,APLUS_RHOST_V:a+"-rhost-v",APLUS_CPVDATA:a+"-cpvdata",APLUS_EXDATA:a+"-exdata",APLUS_EXINFO:a+"-exinfo",APLUS_LOG_PIPE:a+"-log-pipe",APLUS_TRACK_COMBINE:a+"-track-combine",APLUS_COOKIES:a+"-cookies",APLUS_CODELESS_TRACK_CONFIG:"_"+a+"_codeless_track_config",APLUS_AUTO_CLK:a+"-auto-clk",APLUS_AUTO_EXP:a+"-auto-exp",APLUS_AUTO_PV:a+"-auto-pv",APLUS_BRIDGE_NAME:a+"-bridge-name",APLUS_MINI_REQUEST_TIMEOUT:a+"-request-timeout",APLUS_VT_CONFIG_URL:a+"-vt-cfg-url",APLUS_EXPOSURE_EVENT_CAN_REPEAT:a+"-exposure-event-can-repeat",APLUS_IGNORE_LIFECYCLES:a+"-ignore-lifecycles",APLUS_TRACK_DEBUG_ID:a+"-track-debug-id",APLUS_SINGLE_RECORD_LOGKEYS:a+"-single-record-logkeys",APLUS_GOKEY_ISOLATE:a+"-gokey-isolate",APLUS_AUTOTRACK_ENABLED:a+"-autotrack-enabled",APLUS_AUTOTRACK_ENABLED_REMOTE:a+"-autotrack-enabled-remote",APLUS_AUTOTRACK_CONFIG:a+"-autotrack-config",APLUS_AUTO_TRACK_CONFIG_IMPORT:a+"-auto-track-config-import",APLUS_AUTOTRACK_CONFIG_REMOTE:a+"-autotrack-config-remote",APLUS_EVENT_LIMITRATES:a+"-event-limitrates",APLUS_DISABLE_AUTOEVENT:a+"-disable-autoevent",APLUS_DISABLE_AUTOEVENT_REMOTE:a+"-disable-autoevent",APLUS_DISABLE_AUTOPV:a+"-disable-apv",APLUS_DISABLE_AUTOPV_REMOTE:a+"-disable-apv-remote",APLUS_DEVICE_ENABLE:a+"-device-enable",APLUS_USER_PROFILE:a+"-user-profile",APLUS_CNA_ENABLE:a+"-cna-enable",APLUS_CNA_MODE:a+"-cna-mode",APLUS_ETAG_TIMEOUT:a+"-etag-timeout",APLUS_SPA_TYPE:a+"-spa-type",APLUS_MONITOR_ENABLE:a+"-monitor-enable",APLUS_OBSERVATIONS:"_"+a+"_observations",APLUS_REPORT_RATE:a+"-report-rate",APLUS_CNA_MONITOR:a+"-cna-monitor",APLUS_MMSTAT_TIMEOUT:a+"-mmstat-timeout",APLUS_REMOTE_CONTROL:a+"-remote-control",APLUS_CNA_STABILITY:a+"-cna-stability",APLUS_AUTO_PID:a+"-auto-pid"}},function(e,t,a){e.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"},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:a(5)},{name:"pubsub",path:a(6)},{name:"aplus_client",path:a(11)},{name:"aplus_meta_inject",path:a(15)},{name:"aplus_observer",path:a(49)},{name:"aplus_ac",path:a(51)},{name:"aplus_ae",path:a(70)},{name:"name_storage",path:a(78)},{name:"record_lost_pv",path:a(81),config:{lostPvRecordRatio:.01}},{name:"aplus_monitor",path:a(83),config:{obsoleteInterRecordRatio:"0.01",jsErrorRecordRatio:"0.01",browserSupportRatio:"0.01"}},{name:"aplus_web_http_ali",path:a(90)},{name:"aplus_log_inject",path:a(93),deps:["aplus_meta_inject"],config:{plugins:{pv:[{name:"etag",path:a(94)},{name:"pha_trackinfo",path:a(99)},{name:"when_to_sendpv",path:a(100),config:{aplusWaiting:""}},{name:"where_to_send",path:a(101),config:{method:"GET",url:"//log.mmstat.com/v.gif"}},{name:"what_to_send",path:a(102),config:{pvdataToUt:{}}},{name:"cookie_data",path:a(103)},{name:"what_to_sendpv_userdata",path:a(104),deps:["what_to_send"]},{name:"what_to_sendpv_userdata_web",path:a(105),deps:["what_to_send","what_to_sendpv_userdata"]},{name:"what_to_sendpv_ut2",path:a(107),deps:["what_to_send"]},{name:"can_to_sendpv",path:a(108),config:{flag:"NO"}},{name:"after_pv",path:a(113)}],hjlj:[{name:"etag",path:a(94)},{name:"pha_trackinfo",path:a(99)},{name:"where_to_send",path:a(101),deps:[],config:{method:"GET",url:"//gm.mmstat.com/",ac_atpanel:"//ac.mmstat.com/",tblogUrl:"//log.mmstat.com/"}},{name:"what_to_send",path:a(102),deps:[]},{name:"cookie_data",path:a(103)},{name:"what_to_hjlj_userdata",path:a(114),deps:["what_to_send"]},{name:"what_to_hjlj_userdata_web",path:a(115),deps:["what_to_send","what_to_hjlj_userdata"]},{name:"what_to_hjlj_ut2",path:a(116),deps:["what_to_send"]}]}}},{name:"aplus_spm_inject",path:a(117)},{name:"aplus_api",path:a(131)},{name:"aplus_web_params",path:a(140),deps:["aplus_api"]},{name:"aplus4my",path:a(141),deps:["aplus_api"]},{name:"meta_queue",path:a(142)},{name:"etag",path:a(94)},{name:"etag_web_sync",path:a(144)},{name:"aplus4uni_toUT",path:a(145),deps:["aplus_api"]},{name:"aplus_queue",path:a(159)},{name:"hot_loader",path:a(160),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_wap",path:a(161)},{name:"aplus_apv",path:a(162),deps:["aplus_log_inject","aplus_api"]}]}},function(e,t){"use strict";e.exports=function(){return{run:function(e,t){var a=setInterval(function(){document.getElementsByTagName("body").length&&(clearInterval(a),a=null,t())},50);return setTimeout(function(){a&&clearInterval(a)},1e3),1e3}}}},function(e,t,a){var n=a(7),o=a(2);e.exports=function(){return{run:function(){var e=o.getGlobalValue("aplus");e.aplus_pubsub||(e.aplus_pubsub=n.create())}}}},function(e,t,a){var n=a(8);e.exports=n.extend({subscribeOnce:function(e,t){this.callable(t);var a,n=this;return this.subscribe.call(this,e,a=function(){n.unsubscribe.call(n,e,a);var o=Array.prototype.slice.call(arguments);t.apply(n,o)}),this}})},function(e,t,a){"use strict";var n=a(9),o=a(10),r=function(e){for(var t=e.length,a=new Array(t-1),n=1;n<t;n++)a[n-1]=e[n];return a},i=o.extend({callable:function(e){if(!n(e))throw new TypeError(e+" is not a function");return e},create:function(e){var t=new this;for(var a in e)t[a]=e[a];return t.handlers=[],t.pubs={},t},setHandlers:function(e){this.handlers=e},subscribe:function(e,t){this.callable(t);var a=this,n=a.pubs||{},o=a.handlers||[];e in o||(o[e]=[]),o[e].push(t),a.setHandlers(o);for(var r=n[e]||[],i=0;i<r.length;i++){var s=r[i]();t.apply(a,s)}return a},unsubscribe:function(e,t){this.callable(t);try{var a=this.handlers[e];if(!a)return this;if("object"==typeof a&&a.length>0){for(var n=0;n<a.length;n++)t===a[n]&&a.splice(n,1);this.handlers[e]=a}else delete this.handlers[e]}catch(e){}return this},publish:function(e){var t=r(arguments),a=this.handlers||[],o=a[e]?a[e].length:0;if(o>0)for(var i=0;i<o;i++){var s=a[e][i];n(s)&&s.apply(this,t)}return this},cachePubs:function(e){var t=this.pubs||{},a=r(arguments);t[e]||(t[e]=[]),t[e].push(function(){return a})}});e.exports=i},function(e,t){"use strict";e.exports=function(e){return"function"==typeof e}},function(e,t,a){"use strict";function n(){}var o=a(9);n.prototype.extend=function(){},n.prototype.create=function(){},n.extend=function(e){return this.prototype.extend.call(this,e)},n.prototype.create=function(e){var t=new this;for(var a in e)t[a]=e[a];return t},n.prototype.extend=function(e){var t=function(){};try{o(Object.create)||(Object.create=function(e){function t(){}return t.prototype=e,new t}),t.prototype=Object.create(this.prototype);for(var a in e)t.prototype[a]=e[a];t.prototype.constructor=t,t.extend=t.prototype.extend,t.create=t.prototype.create}catch(e){console&&console.log(e)}finally{return t}},e.exports=n},function(e,t,a){"use strict";e.exports=function(){return{run:function(){var e=window.aplus||(window.aplus={});e._aplus_client=a(12)()}}}},function(e,t,a){function n(e){function t(){for(var t=[["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"]],a=0,n=t.length;a<n;++a)if(e.indexOf(t[a][0])!==-1)return t[a][1];return"other"}function a(e,t,a,n){var o,r=l.navigator.mimeTypes;try{for(o in r)if(r.hasOwnProperty(o)&&r[o][e]==t){if(void 0!==a&&n.test(r[o][a]))return!0;if(void 0===a)return!0}return!1}catch(e){return!1}}var n,o,r,i,s,c,f,_="",h=_,v=_,b=[6,9],y="{{version}}",A="<!--[if IE "+y+"]><s></s><![endif]-->",P=u&&u.createElement("div"),S=[],w={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(P&&P.getElementsByTagName&&(P.innerHTML=A.replace(y,""),S=P.getElementsByTagName("s")),S.length>0){for(d(e,w),i=b[0],s=b[1];i<=s;i++)if(P.innerHTML=A.replace(y,i),S.length>0){w[v="ie"]=i;break}!w.ie&&(r=m(e))&&(w[v="ie"]=r)}else((o=e.match(/AppleWebKit\/*\s*([\d.]*)/i))||(o=e.match(/Safari\/([\d.]*)/)))&&o[1]?(w[h="webkit"]=g(o[1]),(o=e.match(/OPR\/(\d+\.\d+)/))&&o[1]?w[v="opera"]=g(o[1]):(o=e.match(/Chrome\/([\d.]*)/))&&o[1]?w[v="chrome"]=g(o[1]):(o=e.match(/\/([\d.]*) Safari/))&&o[1]?w[v="safari"]=g(o[1]):w.safari=w.webkit,(o=e.match(/Edge\/([\d.]*)/))&&o[1]&&(h=v="edge",w[h]=g(o[1])),/ Mobile\//.test(e)&&e.match(/iPad|iPod|iPhone/)?(w.mobile="apple",o=e.match(/OS ([^\s]*)/),o&&o[1]&&(w.ios=g(o[1].replace("_","."))),n="ios",o=e.match(/iPad|iPod|iPhone/),o&&o[0]&&(w[o[0].toLowerCase()]=w.ios)):/ Android/i.test(e)?(/Mobile/.test(e)&&(n=w.mobile="android"),o=e.match(/Android ([^\s]*);/),o&&o[1]&&(w.android=g(o[1]))):(o=e.match(/NokiaN[^\/]*|Android \d\.\d|webOS\/\d\.\d/))&&(w.mobile=o[0].toLowerCase()),(o=e.match(/PhantomJS\/([^\s]*)/))&&o[1]&&(w.phantomjs=g(o[1]))):(o=e.match(/Presto\/([\d.]*)/))&&o[1]?(w[h="presto"]=g(o[1]),(o=e.match(/Opera\/([\d.]*)/))&&o[1]&&(w[v="opera"]=g(o[1]),(o=e.match(/Opera\/.* Version\/([\d.]*)/))&&o[1]&&(w[v]=g(o[1])),(o=e.match(/Opera Mini[^;]*/))&&o?w.mobile=o[0].toLowerCase():(o=e.match(/Opera Mobi[^;]*/))&&o&&(w.mobile=o[0]))):(r=m(e))?(w[v="ie"]=r,d(e,w)):(o=e.match(/Gecko/))&&(w[h="gecko"]=.1,(o=e.match(/rv:([\d.]*)/))&&o[1]&&(w[h]=g(o[1]),/Mobile|Tablet/.test(e)&&(w.mobile="firefox")),(o=e.match(/Firefox\/([\d.]*)/))&&o[1]&&(w[v="firefox"]=g(o[1])));if(!w[v]){var E=e.match(/Ali\w+\(\w+\/(\d+\.)+\d+\)/);if(E){w.isAliapp=!0;var T=E[0],I="",x="",C=T.match(/(\d+\.)+\d+/);C&&(I=C[0],x=T.replace("/"+I,"").replace(/\(|\)/g,"")),w[v=x]=I}}n||(n=t());var N,U,M;if(!a("type","application/vnd.chromium.remoting-viewer")){N="scoped"in u.createElement("style"),M="v8Locale"in l;try{U=l.external||void 0}catch(e){}if(o=e.match(/360SE/))c="360";else if((o=e.match(/SE\s([\d.]*)/))||U&&"SEVersion"in U)c="sougou",f=g(o[1])||.1;else if((o=e.match(/Maxthon(?:\/)+([\d.]*)/))&&U){c="maxthon";try{f=g(U.max_version||o[1])}catch(e){f=.1}}else N&&M?c="360se":N||M||!/Gecko\)\s+Chrome/.test(p)||w.opera||w.edge||(c="360ee")}(o=e.match(/TencentTraveler\s([\d.]*)|QQBrowser\/([\d.]*)/))?(c="tt",f=g(o[2])||.1):(o=e.match(/LBBROWSER/))||U&&"LiebaoGetVersion"in U?c="liebao":(o=e.match(/TheWorld/))?(c="theworld",f=3):(o=e.match(/TaoBrowser\/([\d.]*)/))?(c="taobao",f=g(o[1])||.1):(o=e.match(/UCBrowser\/([\d.]*)/))&&(c="uc",f=g(o[1])||.1),w.os=n,w.core=w.core||h,w.shell=v,w.ieMode=w.ie&&u.documentMode||w.ie,w.extraName=c,w.extraVersion=f;var k=l.screen.width,L=l.screen.height;return w.resolution=k+"x"+L,w}function o(e){function t(e){return Object.prototype.toString.call(e)}function a(e,a,n){if("[object Function]"==t(a)&&(a=a(n)),!a)return null;var o={name:e,version:""},r=t(a);if(a===!0)return o;if("[object String]"===r){if(n.indexOf(a)!==-1)return o}else if(a.exec){var i=a.exec(n);if(i)return i.length>=2&&i[1]?o.version=i[1].replace(/_/g,"."):o.version="",o}}var n={name:"other",version:""};e=(e||"").toLowerCase();for(var o=[["nokia",function(e){return e.indexOf("nokia ")!==-1?/\bnokia ([0-9]+)?/:/\bnokia([a-z0-9]+)?/}],["samsung",function(e){return e.indexOf("samsung")!==-1?/\bsamsung(?:[ \-](?:sgh|gt|sm))?-([a-z0-9]+)/:/\b(?:sgh|sch|gt|sm)-([a-z0-9]+)/}],["wp",function(e){return e.indexOf("windows phone ")!==-1||e.indexOf("xblwp")!==-1||e.indexOf("zunewp")!==-1||e.indexOf("windows ce")!==-1}],["pc","windows"],["ipad","ipad"],["ipod","ipod"],["iphone",/\biphone\b|\biph(\d)/],["mac","macintosh"],["mi",/\bmi[ \-]?([a-z0-9 ]+(?= build|\)))/],["hongmi",/\bhm[ \-]?([a-z0-9]+)/],["aliyun",/\baliyunos\b(?:[\-](\d+))?/],["meizu",function(e){return e.indexOf("meizu")>=0?/\bmeizu[\/ ]([a-z0-9]+)\b/:/\bm([0-9x]{1,3})\b/}],["nexus",/\bnexus ([0-9s.]+)/],["huawei",function(e){var t=/\bmediapad (.+?)(?= build\/huaweimediapad\b)/;return e.indexOf("huawei-huawei")!==-1?/\bhuawei\-huawei\-([a-z0-9\-]+)/:t.test(e)?t:/\bhuawei[ _\-]?([a-z0-9]+)/}],["lenovo",function(e){return e.indexOf("lenovo-lenovo")!==-1?/\blenovo\-lenovo[ \-]([a-z0-9]+)/:/\blenovo[ \-]?([a-z0-9]+)/}],["zte",function(e){return/\bzte\-[tu]/.test(e)?/\bzte-[tu][ _\-]?([a-su-z0-9\+]+)/:/\bzte[ _\-]?([a-su-z0-9\+]+)/}],["vivo",/\bvivo(?: ([a-z0-9]+))?/],["htc",function(e){return/\bhtc[a-z0-9 _\-]+(?= build\b)/.test(e)?/\bhtc[ _\-]?([a-z0-9 ]+(?= build))/:/\bhtc[ _\-]?([a-z0-9 ]+)/}],["oppo",/\boppo[_]([a-z0-9]+)/],["konka",/\bkonka[_\-]([a-z0-9]+)/],["sonyericsson",/\bmt([a-z0-9]+)/],["coolpad",/\bcoolpad[_ ]?([a-z0-9]+)/],["lg",/\blg[\-]([a-z0-9]+)/],["android",/\bandroid\b|\badr\b/],["blackberry",function(e){return e.indexOf("blackberry")>=0?/\bblackberry\s?(\d+)/:"bb10"}]],r=0;r<o.length;r++){var i=o[r][0],s=o[r][1],u=a(i,s,e);if(u){n=u;break}}return n}function r(){try{var e=n(f),t=o(f),a=e.os,r=e.shell,i=e.extraName,s=e.extraVersion,u={o:a?a+(e[a]?e[a]:""):"",w:e.core,s:e.resolution,scr:e.resolution,m:i?i+(s?parseInt(s):""):"",ism:t.name+t.version,p:1};return u.b=r?r+parseInt(e[r]):"other",u}catch(e){}}var i=a(13),s=a(14),u=document,l=window,c=l.navigator,p=c.appVersion,f=c?c.userAgent:"",g=function(e){var t=0;return parseFloat(e.replace(/\./g,function(){return 0===t++?".":""}))},d=function(e,t){var a,n;t[a="trident"]=.1,(n=e.match(/Trident\/([\d.]*)/))&&n[1]&&(t[a]=g(n[1])),t.core=a},m=function(e){var t,a;return(t=e.match(/MSIE ([^;]*)|Trident.*; rv(?:\s|:)?([0-9.]+)/))&&(a=t[1]||t[2])?g(a):0};e.exports=function(){var e=s();return i(e,r())}},function(e,t){e.exports=function(e,t){return"function"!=typeof Object.assign?function(e){for(var t=Object(e),a=1;a<arguments.length;a++){var n=arguments[a];if(null!==n)for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t}(e,t):Object.assign({},e,t)}},function(e,t){"use strict";function a(e){for(var t=[["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"]],a=0,n=t.length;a<n;++a){var o=t[a][0];if(e.indexOf(o)!==-1){var r=o.split(" ")[0];return{device_model:r,os:r,os_version:t[a][1]}}}var i="other";return{device_model:i,os:i,os_version:i}}function n(e,t){var a=e.substring(e.indexOf("(")+1,e.indexOf(")")),n={device_model:t},o=t.toLowerCase();switch(o){case"ipad":case"iphone":case"ipod":case"macintosh":"macintosh"===o?/Mac OS X/.test(a)?n.os="Mac OS X":n.os="Mac OS":n.os="IOS",n.os_version=a.match(/[0-9_.]+/)[0];break;case"android":n.os="Android",n.os_version=a.match(/[0-9.]+/)[0]}return n.os_version=n.os_version.replace(/_/g,"."),n}e.exports=function(){var e=navigator.userAgent,t={},o=e.match(/iphone|ipad|android|macintosh/i),r=e.match(/Darwin/i);if(o)t=n(e,o[0]);else if(r){var i=e.split(" ")[2];t={os:"Darwin",os_version:i.match(/[0-9.]+/)[0],device_model:"Darwin"}}else t=a(e);var s=screen||{};return t.screenWidth=s.width,t.screenHeight=s.height,navigator&&(t.userAgent=navigator.userAgent||"-",t.language=navigator.language||navigator.userLanguage||"-"),t}},function(e,t,a){"use strict";e.exports=function(){return{run:function(){a(16)(this.options.context.aplus_config)}}}},function(e,t,a){"use strict";function n(){var e=document,t="//g.alicdn.com";if(e){var a=e.getElementById("beacon-aplus")||e.getElementById("tb-beacon-aplus"),n=["//assets.alicdn.com/g","//g-assets.daily.taobao.net","//alidt.oss-cn-hangzhou.aliyuncs.com"];if(a)for(var o=0;o<n.length;o++){var r=new RegExp(n[o]);if(r.test(a.src)){t=n[o];break}}}return t}function o(){u||(u=n());var e="//assets.alicdn.com/g"===u||"//laz-g-cdn.alicdn.com"===u;return e||"int"===g.getMetaInfo("aplus-env")}function r(){if(navigator&&navigator.userAgent){var e=/iphone|android|arkweb/i.test(navigator.userAgent),t=e||/TB\-PD/i.test(navigator.userAgent);return t}return!0}function i(){var e,t=c.getParamFromUrl("utparamcnt",location.href);if(t)try{e=t=JSON.parse(decodeURIComponent(t))}catch(e){}return e}function s(){var e=document.querySelector("meta[name=referrer]");if(!e){var t=document.createElement("meta");t.name="referrer",t.content="no-referrer-when-downgrade",document.head.appendChild(t)}}var u,l=a(2),c=a(17),p=a(24),f=a(25),g=a(26);e.exports=function(e){s();var t=l.getGlobalValue("aplus"),u=e.globalConfig.NAME_STORAGE_KEYS,c=a(48).getRefer(u);t.nameStorage=f.nameStorage,p.haveNativeFlagInUA();var d=t._$=t._$||{};d.is_terminal=r(),d.send_pv_count=0,d.page_referrer=c,d.spm={data:{},page_referrer:c},t.globalConfig=e.globalConfig;var m=i();d.meta_info=g.qGet()||{};for(var _ in e.metaInfo)if(!d.meta_info.hasOwnProperty(_)){var h=e.metaInfo[_];"aplus-utparam"===_?(m&&g.appendMetaInfo(_,m),g.appendMetaInfo(_,h)):g.setMetaInfo(_,h)}t._$=d,t.isInternational=o,t.getCdnPath=n}},function(e,t,a){"use strict";function n(e,t){if(!e||!t)return"";var a,n="";try{var o=new RegExp(e+"=([^&|#|?|/]+)");if("spm"===e||"scm"===e){var r=new RegExp("\\?.*"+e+"=([\\w\\.\\-\\*/]+)"),i=t.match(o),s=t.match(r),u=i&&2===i.length?i[1]:"",l=s&&2===s.length?s[1]:"";n=u.length>l.length?u:l,n=decodeURIComponent(n)}else a=t.match(o),n=a&&2===a.length?a[1]:""}catch(e){}finally{return n}}function o(e,t){var a,n,o,r,i,s=t||location.href,l="&",c=[];return u(e,function(e,t){new RegExp(e+"=").test(s)||c.push(e+"="+t)}),0===c.length?s:(s.indexOf("#")!==-1&&(o=s.split("#"),s=o.shift(),n=o.join("#")),r=s.split("?"),i=r.length-1,o=r[0].split("//"),o=o[o.length-1].split("/"),i>0&&(a=r.pop(),s=r.join("?")),a&&i>1&&a.indexOf("&")==-1&&a.indexOf("%")!==-1&&(l="%26"),s=s+"?"+c.join("&")+(a?l+a:"")+(n?"#"+n:""))}function r(e){var t=s(location.hash)+"";l.pushIntoGoldlogQueue("aplus.on",[window,"hashchange",function(){t!==s(location.hash)&&(t=s(location.hash)+"",e&&"function"==typeof e&&e(t,p))}])}function i(e){function t(t){var n="";if(t){n=t&&t.arguments&&t.arguments.length>2&&t.arguments[2];var o=/^http|https/.test(n)?n:location.protocol+"//"+location.host+n;location.href!==o&&setTimeout(function(){e&&"function"==typeof e&&e(n,f)},0)}else n=location.pathname+location.search,n!==a&&setTimeout(function(){e&&"function"==typeof e&&e(n,f)},0);a=n}var a=location.pathname+location.search;if(history.pushState&&window.addEventListener){l.pushIntoGoldlogQueue("aplus.on",[window,"pushState",function(e){t(e)}]),l.pushIntoGoldlogQueue("aplus.on",[window,"popstate",function(){t()}]);var n=c.getMetaCnt("aplus-track-replacestate")||aplus.getMetaInfo&&aplus.getMetaInfo("aplus-track-replacestate");n&&l.pushIntoGoldlogQueue("aplus.on",[window,"replaceState",function(e){t(e)}])}}function s(e){var t="";return e&&(t=e.indexOf("?")!=-1?e.split("?")[0]:e),t}var u=a(18);t.addParamsIntoUrl=o,t.getParamFromUrl=n,t.getSPMFromUrl=function(e){return n("spm",e)},t.getQueryFromUrl=function(){function e(e){for(var t=decodeURIComponent(e),a=t.indexOf("?")+1,n=t.substring(a),o=Object.create(null),r=n.split("&"),i=0;i<r.length;i++)o[r[i].split("=")[0]]=decodeURIComponent(r[i].split("=")[1]);return o}try{var t=location&&location.hash,n=location&&location.search;if(t&&t.indexOf("?")!==-1)return e(t);if(n&&n.indexOf("?")!==-1)return e(n)}catch(e){var o=a(20);o().w("url error === ",location.href)}};var l=a(21),c=a(22),p="hash",f="history";t.watchHashChange=r,t.watchHistoryChange=i,t.retrenchHash=s},function(e,t,a){"use strict";var n=a(19);e.exports=function(e,t){if(n(e)&&void 0===e.length)for(var a in e)e.hasOwnProperty(a)&&t(a,e[a],e);else{var o,r=e.length;for(o=0;o<r;o++){var i=t(e[o],o);if("break"===i)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){var a="[APLUS] -- ";e.exports=function(){function e(){this.setDebug=function(e){n=e},this.i=function(){if(n)try{"string"==typeof arguments[0]&&(arguments[0]=a+arguments[0]),console.info.apply(console,arguments)}catch(e){}},this.e=function(){if(n)try{"string"==typeof arguments[0]&&(arguments[0]=a+arguments[0]),console.error.apply(console,arguments)}catch(e){}},this.w=function(){if(n)try{"string"==typeof arguments[0]&&(arguments[0]=a+arguments[0]),console.warn.apply(console,arguments)}catch(e){}},this.v=function(){try{"string"==typeof arguments[0]&&(arguments[0]=a+arguments[0]),console.warn.apply(console,arguments)}catch(e){}},this.tip_w=function(e){try{console.log("%c "+a+e,"background:red; padding: 4px; padding-right: 8px; border-radius: 4px; color: #fff;")}catch(e){}},this.tip_i=function(e){try{console.log("%c "+a+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,n=!1;return function(){return null===t&&(t=new e),t}}()},function(e,t,a){"use strict";var n=a(2);t.pushIntoGoldlogQueue=function(e,t){var a=n.getGlobalValue("aplus_queue"),o=n.getGlobalValue("aplus"),r=e.split("."),i=o[r[1]],s=i?i[r[2]]:null;o&&2===r.length&&i?i.apply(o,t):3===r.length&&s?s.apply(i,t):a.push({action:e,arguments:t})}},function(e,t,a){"use strict";function n(e){return i=i||document.getElementsByTagName("head")[0],s&&!e?s:i?s=i.getElementsByTagName("meta"):[]}function o(e,t){var a,o,r,i=n(),s=i.length;for(a=0;a<s;a++)o=i[a],u.tryToGetAttribute(o,"name")===e&&(r=u.tryToGetAttribute(o,t||"content"));return r||""}function r(e){var t={isonepage:"-1",urlpagename:""},a=e.qGet();if(a&&a.hasOwnProperty("isonepage_data"))t.isonepage=a.isonepage_data.isonepage,t.urlpagename=a.isonepage_data.urlpagename;else{var n=o("isonepage")||"-1",r=n.split("|");t.isonepage=r[0],t.urlpagename=r[1]?r[1]:""}return t}var i,s,u=a(23);t.getMetaTags=n,t.getMetaCnt=o,t.getOnePageInfo=r},function(e,t){"use strict";t.tryToGetAttribute=function(e,t){return e&&e.getAttribute?e.getAttribute(t)||"":""};var a=function(e,t,a){if(e&&e.setAttribute)try{e.setAttribute(t,a)}catch(e){}};t.tryToSetAttribute=a,t.tryToRemoveAttribute=function(e,t){if(e&&e.removeAttribute)try{e.removeAttribute(t)}catch(n){a(e,t,"")}}},function(e,t,a){"use strict";var n=a(2),o="UT4Aplus",r="Umeng4Aplus";t.isNative4Aplus=function(){var e=n.getGlobalValue("aplus"),t=e.getMetaInfo("aplus-toUT"),a=e.aplusBridgeName;return a===o&&t===o||a===r},t.haveNativeFlagInUA=function(){var e=n.getGlobalValue("aplus"),t=e.aplusBridgeName;if(!t&&"boolean"!=typeof t&&navigator&&navigator.userAgent){var a=new RegExp([o,r].join("|"),"i"),i=navigator.userAgent.match(a);t=!!i&&i[0],e.aplusBridgeName=t}return!!t}},function(e,t,a){"use strict";var n=a(2),o=function(){function e(){var e,t=[],a=!0;for(var n in f)f.hasOwnProperty(n)&&(a=!1,e=f[n]||"",t.push(c(n)+u+c(e)));window.name=a?o:r+c(o)+s+t.join(l)}function t(e,t,a){e&&(e.addEventListener?e.addEventListener(t,a,!1):e.attachEvent&&e.attachEvent("on"+t,function(t){a.call(e,t)}))}var a=n.getGlobalValue("nameStorage");if(a)return a;var o,r="nameStorage:",i=/^([^=]+)(?:=(.*))?$/,s="?",u="=",l="&",c=encodeURIComponent,p=decodeURIComponent,f={},g={};return function(e){if(e&&0===e.indexOf(r)){var t=e.split(/[:?]/);t.shift(),o=p(t.shift())||"";for(var a,n,s,u=t.join(""),c=u.split(l),g=0,d=c.length;g<d;g++)a=c[g].match(i),a&&a[1]&&(n=p(a[1]),s=p(a[2])||"",f[n]=s)}else o=e||""}(window.name),g.setItem=function(t,a){t&&"undefined"!=typeof a&&(f[t]=String(a),e())},g.getItem=function(e){return f.hasOwnProperty(e)?f[e]:null},g.removeItem=function(t){f.hasOwnProperty(t)&&(f[t]=null,delete f[t],e())},g.clear=function(){f={},e()},g.valueOf=function(){return f},g.toString=function(){var e=window.name;return 0===e.indexOf(r)?e:r+e},t(window,"beforeunload",function(){e()}),g}();t.nameStorage=o},function(e,t,a){"use strict";function n(e){var t,a,n,o=e.length,r={};for(A._microscope_data=r,t=0;t<o;t++)a=e[t],"microscope-data"===_.tryToGetAttribute(a,"name")&&(n=_.tryToGetAttribute(a,"content"),f.parseSemicolonContent(n,r),A.is_head_has_meta_microscope_data=!0);A._microscope_data_params=c.obj2param(r),A.ms_data_page_id=r.pageId,A.ms_data_shop_id=r.shopId,A.ms_data_instance_id=r.siteInstanceId,A.ms_data_siteCategoryId=r.siteCategory,A.ms_prototype_id=r.prototypeId,A.site_instance_id_or_shop_id=A.ms_data_instance_id||A.ms_data_shop_id,A._atp_beacon_data={},A._atp_beacon_data_params=""}function o(e){var t,a=function(){var t;return document.querySelector&&(t=document.querySelector("meta[name=data-spm]")),d(e,function(e){"data-spm"===_.tryToGetAttribute(e,"name")&&(t=e)}),t},n=a();return n&&(t=_.tryToGetAttribute(n,"data-spm-protocol")),t}function r(e){var t=e.isonepage||"-1",a=t.split("|"),n=a[0],o=a[1]?a[1]:"";e.isonepage_data={isonepage:n,urlpagename:o}}function i(){if(document){var e=h.getMetaTags();n(e),d(e,function(e){var t=_.tryToGetAttribute(e,"name");if(/^aplus/.test(t)){var a=h.getMetaCnt(t);if(A[t]=a,[b.APLUS_CPVDATA,b.APLUS_EXDATA,b.APLUS_EXINFO,b.APLUS_USER_PROFILE].indexOf(t)>-1)try{A[t]=JSON.parse(a)}catch(e){g.logger({msg:"the content of meta<"+t+"> is invalid json string"})}if(t===P)try{u=A[t]=JSON.parse(h.getMetaCnt(t))}catch(e){}}}),d(S,function(e){A[e]=h.getMetaCnt(e)}),A.spm_protocol=o(e),u&&(A=p.assign(A,u));var t,a,i=["aplus-rate-ahot"],s=i.length;for(t=0;t<s;t++)a=i[t],A[a]=parseFloat(A[a]);r(A);var c=y.getInitialUserProfile();m(c)&&(A[b.APLUS_USER_PROFILE]=p.assign(A[b.APLUS_USER_PROFILE]||{},c))}return l=A||{},A}function s(e){g.logger({msg:"please do not repeat setPriorityMetaInfo "+e})}var u,l,c=a(27),p=a(28),f=a(29),g=a(34),d=a(18),m=a(19),_=a(23),h=a(22),v=a(2),b=a(3),y=a(39),A={},P="aplus-x-settings",S=["ahot-aplus","isonepage","spm-id","data-spm","microscope-data"];t.getInfo=i,t.qGet=function(){return l||i()},t.setMetaInfo=function(e,t){if(l||(l={}),"object"==typeof u&&u[e])return s(e),!0;if(e===P){if(u)s(e);else try{u="object"==typeof t?t:JSON.parse(t),l=p.assign(l,u)}catch(e){console&&console.log(e)}return!0}return"aplus-exinfo"===e?l[e]="object"==typeof t?t:c.param2obj(t):l[e]=t,
!0};var w=function(e){return l||(l={}),l[e]||""};t.getMetaInfo=w,t.appendMetaInfo=function(e,t){var a=v.getGlobalValue("aplus");if(e&&t){var n,o=function(a){try{var n="string"==typeof t?JSON.parse(t):t;s(e,p.assign(a,n))}catch(e){}},r=function(a){try{var n="string"==typeof t?JSON.parse(t):t;s(e,a.concat(n))}catch(e){}},i=function(e){e.constructor===Array?r(e):o(e)},s=function(e,t){a.setMetaInfo(e,t,{from:"appendMetaInfo"})},u=function(a){var n=c.param2obj(t);s(e,p.assign(a,n))},l=a.getMetaInfo(e);if("aplus-exinfo"===e&&(u(l),n=!0),l)if("object"==typeof l)i(l),n=!0;else try{var f=JSON.parse(l);"object"==typeof f&&(i(f),n=!0)}catch(e){}n||s(e,t)}}},function(e,t){"use strict";function a(e,t){var a,o,r,i=[],s=e.length;for(r=0;r<s;r++){a=e[r][0],o=e[r][1];var u=0===a.indexOf(n),l=u||t?o:encodeURIComponent(o);i.push(u?l:a+"="+l)}return i.join("&")}t.arr2obj=function(e){var t,a,n,o={},r=e.length;for(n=0;n<r;n++)t=e[n][0],a=e[n][1],o[t]=a;return o},t.param2obj=function(e){if("object"==typeof e)return e;var t={};if(!e||"string"!=typeof e)return t;for(var a=e.split("&"),n=0;n<a.length;n++){var o=a[n],r=o.indexOf("="),i=o.split("="),s=o.length;if(2===i.length)t[i[0]]=i[1]||"";else if(r>0){var u=o.slice(0,r),l=o.slice(r+1,s)||"";t[u]=l}else t[i[0]]=""}return t};var n="::-plain-::";t.s_plain_obj=n,t.arr2param=a,t.obj2param=function(e,t){var a,o,r,i=[];for(a in e)a&&e.hasOwnProperty(a)&&("object"==typeof e[a]?(o=""+this.obj2param(e[a]),r=o):(o=""+e[a],r=a+"="+o),t?i.push(r):i.push(0===a.indexOf(n)?o:r));return i.join("&")},t.encodeGokeyValue=function(e){return e}},function(e,t,a){"use strict";t.assign=a(13),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 a=e.length,n=t.length;return a>=n&&e.substring(a-n)===t},t.any=function(e,t){var a,n=e.length;for(a=0;a<n;a++)if(t(e[a]))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 n=function(e){var t,a=e.constructor===Array?[]:{};if("object"==typeof e){if(JSON&&JSON.parse)t=JSON.stringify(e),a=JSON.parse(t);else for(var o in e)a[o]="object"==typeof e[o]?n(e[o]):e[o];return a}};t.cloneDeep=n;var o=function(){for(var e,t=/[?&]([^=#]+)=([^&#]*)/g,a=window.location.href,n={};e=t.exec(a);)n[e[1]]=e[2];return n};t.getUrlParams=o;var r=function(e){if(!e)return!0;for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0};t.isEmptyObject=r},function(e,t,a){"use strict";var n=a(30),o=a(31),r=a(2),i=a(19),s=a(28),u=a(32),l=a(33),c=a(3);e.exports={tryToDecodeURIComponent:function(e,t){var a=t||"";if(e)try{a=decodeURIComponent(e)}catch(e){}return a},parseSemicolonContent:function(e,t,a){t=t||{};var o,r,i=e.split(";"),s=i.length;for(o=0;o<s;o++){r=i[o].split("=");var u=n.trim(r.slice(1).join("="));t[n.trim(r[0])||""]=a?u:this.tryToDecodeURIComponent(u)}return t},nodeListToArray:function(e){var t,a;try{return t=[].slice.call(e)}catch(o){t=[],a=e.length;for(var n=0;n<a;n++)t.push(e[n]);return t}},getLsCna:function(e,t){if(o.get&&o.test()){var a="",n=o.get(e);if(n){var r=n.split("_")||[];a=t?r.length>1&&t===r[0]?r[1]:"":r.length>1?r[1]:""}return decodeURIComponent(a)}return""},setLsCna:function(e,t,a){a&&o.set&&o.test()&&o.set(e,t+"_"+encodeURIComponent(a))},getLsImpv:function(e,t){if(o.get&&o.test()){var a="",n=o.get(e);if(n){var r=n.split("||")||[];a=t?r.length>1&&t===r[0]?r[1]:"":r.length>1?r[1]:""}return decodeURIComponent(a)}return""},setLsImpv:function(e,t,a){a&&o.set&&o.test()&&o.set(e,t+"||"+encodeURIComponent(a))},setLsRemoteCfg:function(e,t,a){if(a&&o.set&&o.test()){var n=s.cloneDeep(a);"object"==typeof n&&(n=JSON.stringify(n)),o.set(e,t+"||"+encodeURIComponent(n))}},getLsRemoteCfg:function(e,t){if(o.get&&o.test()){var a="",n=o.get(e);if(n){var r=n.split("||")||[];a=t?r.length>1&&t===r[0]?r[1]:"":r.length>1?r[1]:""}return u.parse(decodeURIComponent(a))}return""},getUrl:function(e){var t=r.getGlobalValue("aplus"),a=r.getGoldlogVal(c.APLUS_CNA),n=e||"//log.mmstat.com/eg.js";try{var o=t.getMetaInfo(c.APLUS_PV_DOMAIN);o=l.fixDomain(o).replace(/\/\w+.gif$/,"");var s="";i(a)&&(s="?ts="+a.timestamp+"&rd="+a.randomNum),n=o+"/eg.js",s&&(n+=s)}catch(e){}return n}}},function(e,t){"use strict";function a(e){return"string"==typeof e?e.replace(/^\s+|\s+$/g,""):""}t.trim=a},function(e,t){"use strict";e.exports={set:function(e,t){try{return localStorage.setItem(e,t),!0}catch(e){return!1}},get:function(e){try{return localStorage.getItem(e)}catch(e){return""}},test:function(){var e="grey_test_key";try{return localStorage.setItem(e,1),localStorage.removeItem(e),!0}catch(e){return!1}},remove:function(e){localStorage.removeItem(e)}}},function(e,t){t.stringfy=function(e){if(e)try{return JSON.stringify(e)}catch(e){}return""},t.parse=function(e){if(e)try{return JSON.parse(e)}catch(e){}return null},t.parseToArray=function(e){if(e)try{return JSON.parse(e)}catch(e){}return[]}},function(e,t,a){"use strict";function n(e){var t,a,n,r=[],i=e.length;for(n=0;n<i;n++)t=e[n][0],a=e[n][1],r.push(0===t.indexOf(o)?a:t+"="+encodeURIComponent(a));return r.join("&")}var o="::-plain-::";t.mkPlainKey=function(){return o+Math.random()},t.s_plain_obj=o,t.mkPlainKeyForExparams=function(e){var t=e||o;return t+"exparams"},t.arr2param=n,t.param2arr=function(e){for(var t,a=e.split("&"),n=0,o=a.length,r=[];n<o;n++)t=a[n].split("="),r.push([t.shift(),t.join("=")]);return r},t.arr2obj=function(e){var t,a,n,o={},r=e.length;for(n=0;n<r;n++)t=e[n][0],a=e[n][1],o[t]=a;return o},t.jsonLikeStr2JSON=function(e){if(!e||"string"!=typeof e)return{};for(var t=e.replace(/['"{}]+/g,""),a=t.split(","),n=[],o=0;o<a.length;o++)n.push(a[o].split(":"));var r=this.arr2obj(n);return r},t.fixDomain=function(e){return e.indexOf("https://")!==-1||e.indexOf("http://")!==-1?e:(e=(/^\/\//.test(e)?"":"//")+e,/^\/\/(\d+\.){3,}\d+/.test(e)?"http:"+e:"https:"+e)},t.getAppKey=function(){var e=a(2).getGlobalValue("aplus");return e.getMetaInfo("appkey")||e.getMetaInfo("appId")||e.getMetaInfo("appKey")},t.checkEmptyObj=function(e){return"object"!=typeof e||0===Object.keys(e).length},t.checkDomain=function(e,t){var n=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=(e&&e.match(n)||[])[0];if(!e||!o){var r=a(20);return r().tip_w(r().repeat("!")),r().tip_w("trackDomain error, please check "+t+" setting, current value is: "+e||"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},t.checkOpenid=function(e){if(!e){var t=a(20);return t().tip_w(t().repeat("!")),t().tip_w("QT need an unique id as QT's deviceid!!"),t().tip_w("setting examples: aplus_queue.push({action: 'aplus.setMetaInfo', arguments: ['_anony_id', xxxxxx]});"),t().tip_w("referrence document: https://t.tb.cn/1dTHjTTQF0UjOTNHiCkaCS"),t().tip_w(t().repeat("!")),!1}return!0};var r=a(18);t.mapEventSampleRates=function(e){var t=[];return r(e,function(e){e.eventIds&&e.eventIds.length>0&&r(e.eventIds,function(a){t.push({eventId:a,samplingRate:e.samplingRate})})}),t}},function(e,t,a){"use strict";var n=a(35),o="[APLUS] -- ";t.logger=function(e){e||(e={});var t=e.level||"warn";console&&console[t]&&console[t](o+e.msg)},t.log=function(){var e=n&&n.getMetaInfo("debug");e&&console.log.apply(console,[o].concat(Array.prototype.slice.apply(arguments)))},t.debugLog=function(e){var t=a(2).getGlobalValue("aplus");t&&t.aplusDebug&&this.logger(e)}},function(e,t,a){"use strict";function n(){return i=g||{},g}function o(){return i||n()}function r(e,t){return i||(i={}),"aplus-inject-record-gokey"===e&&(_("the API aplus-inject-record-gokey is deprecated, if needed please concat APLUS SDK supporter"),p.record("/inject.record.gokey","OTHER","")),i[e]=t,!0}var i,s=a(36),u=a(27),l=a(2),c=a(3),p=l.getGlobalValue(c.APLUS),f=a(37),g={},d="object",m="string";t.getInfo=n,t.qGet=o,t.setMetaInfo=r;var _=function(e){try{console&&console.error(e)}catch(e){}};t.catchException=_;var h=function(e){return i||(i={}),i[e]||""};t.getMetaInfo=h;var v=function(e){var t=h("aplus-inject-record-gokey");return"function"==typeof t?t(e):e.gokey};t.getUserInjectGokey=v;var b=function(e,t){if(e&&t){var a,n=function(a){try{var n=typeof t===m?JSON.parse(t):t;i(e,Object.assign({},a,n))}catch(e){}},o=function(a){try{var n=typeof t===m?JSON.parse(t):t;i(e,a.concat(n))}catch(e){}},r=function(e){e.constructor===Array?o(e):n(e)},i=function(e,t){y(e,t,{from:"appendMetaInfo"})},s=h(e);if("aplus-exinfo"===e&&(i(e,Object.assign({},s,u.param2obj(t))),a=!0),"aplus-page-properties"===e){var l=t;if(s)for(var c in s)t[c]?l[c]=Object.assign({},s[c],t[c]):l[c]=s[c];i(e,l),a=!0}if(s)if(typeof s===d)r(s),a=!0;else try{var p=JSON.parse(s);typeof p===d&&(r(p),a=!0)}catch(e){}a||i(e,t)}};t.appendMetaInfo=b;var y=function(e,t){var a,n,i="OVERWRITE",u=i;if("object"==typeof e?(a=e.metaName,n=e.metaValue,u=e.mode||i):(a=e,n=t),u!==i)return b(a,n);if(r(a,n)){var g=l.getGoldlogVal("_$")||{};g.meta_info=o();var d=l.setGoldlogVal("_$",g),m=["setMetaInfo",a,n,{}];return s.doPubMsg(m),s.doCachePubs(m),p.globalConfig&&!p.globalConfig.isAli&&(a===c._ANONY_ID||a===c._DEV_ID||a===c._USER_ID?f.setStorageSync(a,n?n:""):(!f.getStorageSync(c._ANONY_ID)&&g.meta_info[c._ANONY_ID]&&f.setStorageSync(c._ANONY_ID,g.meta_info[c._ANONY_ID]),!f.getStorageSync(c._DEV_ID)&&g.meta_info[c._DEV_ID]&&f.setStorageSync(c._DEV_ID,g.meta_info[c._DEV_ID]),!f.getStorageSync(c._USER_ID)&&g.meta_info[c._USER_ID]&&f.setStorageSync(c._USER_ID,g.meta_info[c._USER_ID]))),d}};t._setMetaInfo=y},function(e,t,a){"use strict";var n=a(2),o="function",r=function(){var e=n.getGlobalValue("aplus"),t=e.aplus_pubsub||{},a=typeof t.publish===o;return a?t:""};t.doPubMsg=function(e){var t=r();t&&typeof t.publish===o&&t.publish.apply(t,e)},t.doCachePubs=function(e){var t=r();t&&typeof t.cachePubs===o&&t.cachePubs.apply(t,e)},t.doSubMsg=function(e,t){var a=r();a&&typeof a.subscribe===o&&a.subscribe(e,t)}},function(e,t,a){"use strict";function n(){if("boolean"==typeof d)return d;var e=!1;try{var t=navigator?navigator.userAgent||navigator.swuserAgent:"";if(e=!!/AliApp/i.test(t),/(AliApp\((AP|AMAP|UC|QUARK))|DingTalkIDE/i.test(t)&&(e=!1),/AlipayIDE Taobao/.test(t)&&(e=!0),e){var a=m().ctx;s(a.canIUse)&&(e=!!a.canIUse("callUserTrack"))}}catch(e){}return d=e,e}function o(){return"boolean"==typeof d?!!d:n()}function r(e){e=f(e)?e:{};var t=e["Set-Cookie"]||e["set-cookie"]||"",a=g(t)?t:t.split(","),n={};return c(a,function(e){var t=(e||"").split(";");c(t,function(e){if(/[a-z]+=/.test(e)&&!/(path|domain|expires)=/.test(e)){var t=e.split("="),a=t[0].trim(),o=t[1];n[a]=o}})}),n}function i(e){var t=[];return c(e,function(e,a){t.push(e+"="+a)}),t.join("; ")}var s=a(9),u=a(2),l=a(33),c=a(18),p=a(3),f=a(19),g=a(38);t.getCurrentPage=function(){var e=getCurrentPages();return e[e.length-1]||{}},t.getReferrerPage=function(){var e=getCurrentPages();return e[e.length-2]||{}};var d;t.resetIsTB=function(e){d=e},t.initIsTB=n;var m=function(){try{return{ctx:dd,platType:"dd",sdkType:"ddmp",logDomain:"/ddm_logs"}}catch(e){try{return{ctx:my,platType:my&&my.tb?"taobao":"my",sdkType:my&&my.tb?"taobaomp":"mymp",logDomain:"/alipaym_logs"}}catch(e){try{return{ctx:tt,platType:"tt",sdkType:"ttmp",logDomain:"/bytedancem_logs"}}catch(e){try{return{ctx:swan,platType:"bd",sdkType:"bdmp",logDomain:"/baidum_logs"}}catch(e){try{return{ctx:xhs,platType:"xhs",sdkType:"xhsmp",logDomain:"/xhsm_logs"}}catch(e){try{return{ctx:wx,platType:"wx",sdkType:"wxmp",logDomain:"/wxm_logs"}}catch(e){return{ctx:{},platType:"UNKNOW",sdkType:"UNKNOW"}}}}}}}};t.isTB=o,t.getPlatformType=function(){return m().platType},t.getSdkType=function(){return m().sdkType},t.getContext=function(){return m().ctx},t.getLogDomain=function(){return m().logDomain};var _="httpRequest",h="request",v=function(){};t.request=function(e,t,a,n){var o=u.getGlobalValue("aplus"),c=m().ctx;s(n)||(n=v),s(a)||(a=v);var g=t.requestMethodName||h,d=c[g];s(d)||g===h||(g=h,d=c[g]),s(d)||g===_||(g=_,d=c[g]);var b,y=t&&t.dataType?t.dataType:"base64",A=t&&t.timeout?t.timeout:3e3,P=t.method||"GET",S=o.getMetaInfo(p.APLUS_MINI_REQUEST_TIMEOUT);e=l.fixDomain(e);var w;if(s(d)){var E={url:e,method:P,header:{},dataType:y,timeout:S||A,success:function(e){var t=e.header||e.headers||{},n=r(t);o.appendMetaInfo(p.APLUS_COOKIES,n),b||(b=!0,a(e))},fail:function(e){b||(b=!0,n({failure:!0,data:e}))}},T=o.getMetaInfo(p.APLUS_COOKIES);if(f(T)){var I=i(T);I&&(E.header.cookie=I)}"POST"===P&&t.data&&(E.data=t.data);var x=o.getMetaInfo("aplus-request-extinfo");"object"==typeof x&&(E._extInfo=x),d(E)}else b||(b=!0,n({failure:!0,data:w}));setTimeout(function(){b||(b=!0,w='aplus log request"'+e+' timeout", time spend'+A+"ms",console&&console.warn(w),n({failure:!0,data:w}))},A)},t.setStorageSync=function(e,t){try{var a=m().platType,n=m().ctx;"my"===a||"taobao"===a?n.setStorageSync({key:e,data:t}):n.setStorageSync(e,t)}catch(e){}},t.getStorageSync=function(e){try{var t=m().platType,a=m().ctx;return"my"===t||"taobao"===t?a.getStorageSync({key:e}).data:a.getStorageSync(e)}catch(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,a){"use strict";function n(){var e=s.getGlobalValue("aplus"),t=e._$||{},a=t.meta_info||{},n=a[g];return n}function o(e){return function(){var t=n(),a=r(),o="";return o=f(t)?a[e]||"":t[e]||""}}function r(){var e=i.getExParams(),t=u.param2obj(e),a=p.getUserId()||t.uidaplus,n=p.getUserNick()||t.nick||c.getCookie("tracknick"),o={uidaplus:a,nick:n};return o}var i=a(40),s=a(2),u=a(27),l=a(3),c=a(43),p=a(45),f=a(47),g=l.APLUS_USER_PROFILE;t.getInitialUserProfile=r,t.getUserId=o("uidaplus"),t.getUserNick=o("nick")},function(e,t,a){"use strict";function n(e){for(var t,a=e.split("&"),n=0,o=a.length,r=[];n<o;n++)t=a[n].split("="),r.push([t.shift(),t.join("=")]);return r}function o(e,t){var a="aplus&sidx=aplusSidex&ckx=aplusCkx",n=e||a;try{if(t){var o=u.param2obj(t),r=[d.APLUS,"cna",d.SPM_CNT,d.SPM_URL,d.SPM_PRE,"logtype","pre","uidaplus","asid","sidx","trid","gokey"];s(r,function(e){o.hasOwnProperty(e)&&(g().w("Can not inject keywords: "+e),delete o[e])}),delete o[""];var i="";if(e){var c=e.match(/aplus&/).index,p=c>0?u.param2obj(e.substring(0,c)):{};delete p[""],i=u.obj2param(l.assign(p,o))+"&"+e.substring(c,e.length)}else i=u.obj2param(o)+"&"+a;return i}return n}catch(e){return n}}function r(){var e=aplus&&aplus._$?aplus._$:{},t=e.meta_info||{};return t["aplus-exparams"]||""}function i(){var e=c.getCurrentNode(),t=p.tryToGetAttribute(e,"exparams"),a=o(t,r())||"";return a&&a.replace(/&amp;/g,"&").replace(/\buser(i|I)d=/,"uidaplus=")}var s=a(18),u=a(27),l=a(28),c=a(41),p=a(23),f=a(42),g=a(20),d=a(3);t.mergeExparams=o,t.getExParams=i,t.getExparamsInfos=function(e,t){var a={},o=e||["uidaplus","pc_i","pu_i"],r=i()||"";r=r.replace(/&aplus&/,"&");for(var s=n(r)||[],u=function(e){return f.indexof(o,e)>-1},l=0;l<s.length;l++){var c=s[l],p=c[0]||"",g=c[1]||"";p&&g&&("EXPARAMS"===t||u(p))&&(a[p]=g)}return a}},function(e,t,a){"use strict";function n(){return i||(i=document.getElementById("beacon-aplus")||document.getElementById("tb-beacon-aplus")),i}function o(e){var t=n(),a=s.tryToGetAttribute(t,"cspx");e&&a&&(e.nonce=a)}var r,i,s=a(23),u=a(3),l=a(18);t.getCurrentNode=n,t.addScript=function(e,t,a){var i="script",s=document.createElement(i);s.type="text/javascript";var l=/x-ssr=true/.test(location.search);l?s.defer=!0:s.async=!0;var c=n(),p=c&&c.hasAttribute("crossorigin");p&&(s.crossOrigin="anonymous");var f=u.HTTPS===location.protocol?t||e:e;0===f.indexOf("//")&&(f=u.HTTPS+f),s.src=f,a&&(s.id=a),o(s);var g=document.getElementsByTagName(i)[0];r=r||document.getElementsByTagName("head")[0],g?g.parentNode.insertBefore(s,g):r&&r.appendChild(s)},t.loadScript=function(e,t){function a(e){n.onreadystatechange=n.onload=n.onerror=null,n=null,t(e)}var n=document.createElement("script");if(r=r||document.getElementsByTagName("head")[0],n.async=!0,n.crossOrigin="anonymous","onload"in n)n.onload=a;else{var i=function(){/loaded|complete/.test(n.readyState)&&a()};n.onreadystatechange=i,i()}if(n.onerror=function(e){a(e)},n.src=e,o(n),aplus.globalConfig.isUM){n.id="aplus-setting",n.type="text/javascript",n.charset="utf-8";var s=document.getElementsByTagName("script");s&&s.length>0&&l(s,function(e){e&&"aplus-setting"===e.id&&r.removeChild(e)})}r.appendChild(n)},t.isTouch=function(){return"ontouchend"in document.createElement("div")},t.isEditableElement=function(e){for(;e&&"HTML"!==e.tagName;){var t=s.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,a){"use strict";function n(e){var t=[];if(l(e))for(var a=0;a<e.length;a++){var o=e[a];l(o)?(e[a]=n(o),t=t.concat(e[a])):t.push(o)}return t}function o(e,t){try{return e.find(t)}catch(o){for(var a=0;a<e.length;a++){var n=t(e[a]);if(n)return e[a]}}}function r(e,t){if(l(e)){if(u(e.some))return e.some(t);for(var a=!1,n=0;n<e.length&&!(a=u(t)&&t(e[n],n,e));n++);return a}}function i(e,t){if(l(e)){if(u(e.filter))return e.filter(t);for(var a=[],n=0;n<e.length;n++){var o=e[n],r=u(t)&&t(o,n,e);r&&a.push(o)}return a}}function s(e,t,a){if(!l(e))return[];if(u(e.slice))return e.slice(t,a);var n=e.length,o=[];t=t||0,t<0&&(t=Math.max(0,n+t)),a="undefined"==typeof a?n:a<0?Math.max(0,n+a):Math.min(a,n);for(var r=t;r<a;r++)o.push(e[r]);return o}var u=a(9),l=a(38);t.indexof=function(e,t){var a=-1;try{a=e.indexOf(t)}catch(o){for(var n=0;n<e.length;n++)e[n]===t&&(a=n)}finally{return a}},t.itemMatch=function(e,t){var a=!1;try{if(!l(e))return a;a=e.some(function(e){return e&&e.length>0&&t.indexOf(e)!==-1})}catch(o){for(var n=0;n<e.length;n++)if(t.indexOf(e[n])!==-1){a=!0;break}}return a},t.isArray=l,t.flat=n,t.find=o,t.some=r,t.filter=i,t.slice=s},function(e,t,a){"use strict";function n(e){if(!document)return"";var t=(document.cookie||"").match(new RegExp("(?:^|;)\\s*"+e+"=([^;]+)"));return t?t[1]:""}function o(e){var t=new Date,a="";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,a="expires="+t.toUTCString();else{var n=20;l.indexof(["v.youku.com","www.youku.com","player.youku.com"],location.hostname)>-1&&(n=1),t.setTime(t.getTime()+365*n*24*60*60*1e3),a="expires="+t.toUTCString()}return a}function r(e,t,a){if(document){a||(a={}),t+=";"+(a.expires||o(a)),t+="; path="+(a.path?a.path:"/"),t+="; domain="+a.domain,document.cookie=e+"="+t;var r=0;try{var i=navigator.userAgent.match(/Chrome\/\d+/);i&&i[0]&&(r=i[0].split("/")[1],r&&(r=parseInt(r)))}catch(e){}return a.SameSite&&r>=80&&(t+="; SameSite="+a.SameSite,t+="; Secure",document.cookie=e+"="+t),n(e)}}function i(e,t,a){try{if(!document)return"";if(a||(a={}),a.domain)r(e,t,a);else for(var n=u.getDomains(),o=0;o<n.length;)a.domain=n[o],r(e,t,a)?o=n.length:o++}catch(e){}}var s=a(18),u=a(44),l=a(42);t.getCookie=n,t.trySetCookie=r,t.setCookie=i;var c=["tracknick","thw","cna"];t.getData=function(){var e={};if(s(c,function(t){e[t]=n(t)}),location){var t=location.hostname;e.cnaui=/\btanx\.com$/.test(t)?n("cnaui"):""}return e},t.getHng=function(){return encodeURIComponent(n("hng")||"")},t.getCookieCna=function(e){return n(e)||n("_"+e)},t.setCookieCna=function(e,t,a){for(var n=u.getDomains(),i=0;i<n.length;)if(a.domain=n[i],r(e,t,a))i=n.length;else{if(i===n.length-1){var s=t+";"+o(a);s+="; path=/",document.cookie="_"+e+"="+s}i++}}},function(e,t){"use strict";t.getDomains=function(){var e=[];try{for(var t=location.hostname,a=t.split("."),n=2;n<=a.length;)e.push(a.slice(a.length-n).join(".")),n++}catch(e){}return e}},function(e,t,a){"use strict";function n(e){var t=o.APLUS_CONFIG,a=window[t]||(window[t]={});return r(e)?a[e]:a}var o=a(3),r=a(46),i=a(2),s=a(9);t.getConfig=n,t.getPid=function(){var e=i.getGlobalValue(o.APLUS),t=location.hostname||"",a=s(e.getMetaInfo)&&"on"===e.getMetaInfo(o.APLUS_AUTO_PID)?t.replace(/[^a-zA-Z0-9_]/g,"_"):"",r=n("pid");return r||a},t.getUserId=function(){var e=n(),t=e.userProfile||{};return t.uidaplus||e.uidaplus||e.userId||e.userid},t.getUserNick=function(){var e=n(),t=e.userProfile||{};return t.nick||e.nick||e.userNick||e.usernick}},function(e,t){function a(e){return"[object String]"===Object.prototype.toString.call(e)}e.exports=a},function(e,t){e.exports=function(e){return"undefined"==typeof e}},function(e,t,a){"use strict";var n=a(25).nameStorage;t.getRefer=function(e){return document.referrer||n.getItem(e.REFERRER)||""}},function(e,t,a){"use strict";e.exports=function(){return{run:function(){a(50)()}}}},function(e,t,a){"use strict";function n(){function e(e){var t=o.getGlobalValue("aplus_queue"),a={pathname:e};t.push({action:"aplus.aplus_pubsub.publish",arguments:[i.APLUS_PAGE_CHANGE,a]})}var t=s._$||{},a=t.meta_info,n=a[i.APLUS_SPA_TYPE];"history"===n?r.watchHistoryChange(e):"hash"===n&&r.watchHashChange(e)}var o=a(2),r=a(17),i=a(3),s=o.getGlobalValue("aplus");e.exports=function(){n()}},function(e,t,a){"use strict";e.exports=function(){return{run:function(){a(52)()}}}},function(e,t,a){"use strict";function n(e){var t,a=i.getGlobalValue("aplus"),n=!1,f=function(){n||(o.wrap(function(){t=p.getAutoClkConfig();var e;u(t)&&t.length>0&&(e=c.create({autoClkConfig:t}),e.init(),l.watch_clk()),a.aplus_pubsub.subscribe("setMetaInfo",function(a,n,o){if([r.APLUS_AUTO_CLK,r.APLUS_AUTO_TRACK_CONFIG_IMPORT].indexOf(a)>-1){if(a===r.APLUS_AUTO_TRACK_CONFIG_IMPORT){if("on"!==n)return;n=void 0}var i=p.getAutoClkConfig(n);if(JSON.stringify(i)===JSON.stringify(t))return;t=i,l.clear(),o||(o={from:"setMetaInfo"}),e&&e.clear(o),e&&e.clearDom({autoClkConfig:t},o),u(t)&&t.length>0&&(e?e.reset({autoClkConfig:t},o):(e=c.create({autoClkConfig:t}),e.init()),l.watch_clk())}})},"do_init"),n=!0)};setTimeout(function(){n||s().w("aplus_ac_init failed! please check whether aplusJs is loaded correctly!")},5e3);var g=a._$||{},d=window.g_SPM||{};"complete"===g.status&&d.spm&&f();var m=i.getGlobalValue("aplus_queue");m.push({action:r.SUBSCRIBE,arguments:["aplusReady",function(e){"complete"===e&&f("aplusReady")}]}),"function"==typeof e&&e()}var o=a(53),r=a(3),i=a(2),s=a(20),u=a(38),l=a(54),c=a(69),p=a(65);e.exports=function(){var e=i.getGlobalValue("aplus");e._aplus_ac||(e._aplus_ac={status:"init",elementSelectorSizeMap:{}},n(function(){e._aplus_ac.status="complete"}))}},function(e,t,a){"use strict";var n=a(2),o=a(3),r=a(9),i=function(e,t){var a=n.getGlobalValue("aplus_queue",[]);a.push({action:"aplus._aplus_cplugin_track_deb.monitor",arguments:[{key:"APLUS_PLUGIN_DEBUG",title:"aplus_core",msg:["_error_:methodName="+t+",params="+JSON.stringify(e)],type:"updateMsg",description:t||"aplus_core"}]})},s=function(e,t,a){var o=n.getGlobalValue("aplus_queue",[]);o.push({action:["aplus","_aplus_cplugin_m",t].join("."),arguments:[e,a]})};t.do_tracker_jserror=function(e,t){var a="do_tracker_jserror";s(e,a,t),i(e,a);var o=n.getGlobalValue("aplus");o&&o.aplusDebug&&console&&console.warn(e)},t.wrap=function(e){if("function"==typeof e)try{e()}catch(e){i({msg:e.message||e},"exception")}finally{}},t.logCnaLoadInfo=function(e){function t(){var e=/^https?/.test(location.protocol),t=n.getGlobalValue("aplus"),a=r(t.getMetaInfo)?t.getMetaInfo(o.APLUS_CNA_MONITOR):"off",i=["www.taobao.com"].indexOf(location.hostname)>-1||"on"===a;return e&&i}var a={success:0,failed:0};return function(o,r){var i=n.getGlobalValue("aplus_queue",[]);a[o]=a[o]||0;var s=a[o]<e&&t();s&&("success"===o?(i.push({action:"aplus.record",arguments:["/aplus.monitor.load_cna_success","OTHER",r]}),a[o]++):"failed"===o&&(i.push({action:"aplus.record",arguments:["/aplus.monitor.load_cna_error","OTHER",r]}),a[o]++))}}(1)},function(e,t,a){"use strict";function n(e){for(var t,a;e&&"BODY"!==e.tagName&&m.getDefaultClkConfig(e);)t=m.getDefaultClkConfig(e),a=e,e=e.parentNode;if(t&&a)return{el:a,clkConfigs:[t]}}var o=a(42),r=a(23),i=a(41),s=a(2),u=a(28),l=a(55),c=a(18),p=a(9),f=a(38),g=a(56),d=a(58),m=a(65),_=window,h=["iframe","html","body","head"],v=m.DATA_APLUS_AC_KEY,b=function(e){var t=[],a=e?r.tryToGetAttribute(e,v):"";if(a){var n=s.getGoldlogVal("_aplus_ac")||{},i=n._acHashMap||{};l(i,function(e,n){c(n,function(e){e.hash_value===a&&t.push(e.clkConfig)})})}var u=o.filter(t,function(e){return!e.ignoreWhenMatchOtherConfig});return{clkConfigs:u.length>0?u:t,el:e}},y=function(e){for(var t=[];e&&o.indexof(h,e.tagName?e.tagName.toLowerCase():"html")===-1;){var a=b(e),n=!1;if(a&&a.clkConfigs&&a.clkConfigs.length>0&&(t.push(a),n=o.some(a.clkConfigs,function(e){return!e.enableEventBubble})),n)break;e=e.parentNode}if(t.length>1){var r=o.filter(t,function(e){var t=o.some(e.clkConfigs,function(e){return!e.ignoreWhenMatchOtherConfig});return t});t=r.length>0?r:o.slice(t,0,1)}return t},A=function(e){e=e||_.event;var t=e.target||e.srcElement,a=y(t);if(f(a)){if(0===a.length&&m.isAutoTrackEnable()){var o=n(t);o&&a.push(o)}c(a,function(a){var n=a.clkConfigs;a&&n&&a.el&&c(n,function(n){var o=n;t=a.el;var r=d.canRecord({target:t,gmkey:"CLK",config:o});if(r){var i=aplus.getElementSPM(t,o.eltype),s="",l=[],c={},f=d.fillPropsData(o,t,c);f=d.fillFilterData(o,t,c),f=d.fillSpmData(o,t,c),f=u.assign(f,d.getDataTrackerParams(t));var g=m.getAutoClkUserFn();if(g){var _=d.autoUserFnHandler(g,t,o.elementSelector,o,e);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)l.push(h+"="+f[h]);l.push("_is_auto_clk=1");var v=o.method||"POST",b=d.getDefaultLogkey({target:t,config:o});d.isAutoLogLogkey(b)&&p(o.getLogkey)&&(b=o.getLogkey(t,f),l.push("_is_auto_logkey=1"),i=aplus.getAutoElementSPM(t,o.eltype)),l.push("spm="+i),l.push("scm="+s),aplus_queue.push({action:"aplus.record",arguments:[b,"CLK",l.join("&"),v]})}})})}};t.watch_clk=function(){i.isTouch()?g.on(document,"tap",A):g.on(document,"mousedown",A)},t.clear=function(){i.isTouch()?g.un(document,"tap",A):g.un(document,"mousedown",A)}},function(e,t){"use strict";e.exports=function(e,t){if(Object&&Object.keys)for(var a=Object.keys(e),n=a.length,o=0;o<n;o++){var r=a[o];t(r,e[r])}else for(var i in e)t(i,e[i])}},function(e,t,a){"use strict";function n(){var e=aplus._$||{},t=e.meta_info||{},a=t.aplus_ctap||{};return a&&"function"==typeof a.on?a:null}function o(e,t){var a=n();a?a.on(e,t):s.on(e,t)}function r(e,t){var a=n();a?a.un(e,t):s.un(e,t)}var i=!!document.attachEvent,s=a(57);t.on=function(e,t,a){return"tap"===t?void o(e,a):void(i?e.attachEvent(t,a):e.addEventListener(t,a))},t.un=function(e,t,a){return"tap"===t?void r(e,a):void(i?e.detachEvent(t,a):e.removeEventListener(t,a))}},function(e,t){"use strict";function a(e,t){return e+Math.floor(Math.random()*(t-e+1))}function n(e,t,a){var n=document.createEvent("HTMLEvents");if(n.initEvent(t,!0,!0),"object"==typeof a)for(var o in a)n[o]=a[o];e.dispatchEvent(n)}function o(e){var t=document.documentElement;0===Object.keys(c).length&&(t.addEventListener(g,r,!1),t.addEventListener(f,i,!1),t.addEventListener(m,i,!1));for(var a=0;a<e.changedTouches.length;a++){var n=e.changedTouches[a],o={};for(var s in n)o[s]=n[s];var u={startTouch:o,startTime:Date.now(),status:d,element:e.srcElement||e.target};c[n.identifier]=u}}function r(e){for(var t=0;t<e.changedTouches.length;t++){var a=e.changedTouches[t],n=c[a.identifier];if(!n)return;var o=a.clientX-n.startTouch.clientX,r=a.clientY-n.startTouch.clientY,i=Math.sqrt(Math.pow(o,2)+Math.pow(r,2));(n.status===d||"pressing"===n.status)&&i>10&&(n.status="panning")}}function i(e){for(var t=0;t<e.changedTouches.length;t++){var a=e.changedTouches[t],o=a.identifier,s=c[o];s&&(s.status===d&&e.type===f&&(s.timestamp=Date.now(),n(s.element,_,{touch:a,touchEvent:e})),delete c[o])}var u=document.documentElement;0===Object.keys(c).length&&(u.removeEventListener(g,r,!1),u.removeEventListener(f,i,!1),u.removeEventListener(m,i,!1))}function s(e){e.__fixTouchEvent||(e.addEventListener(p,function(){},!1),e.__fixTouchEvent=!0)}function u(){if(!l){var e=document.documentElement;e.addEventListener(p,o,!1),l=!0}}var l=!1,c={},p="touchstart",f="touchend",g="touchmove",d="tapping",m="touchcancel",_="aplus_tap"+a(1,1e5);e.exports={on:function(e,t){u(),e&&e.addEventListener&&t&&(s(e),e.addEventListener(_,t._aplus_tap_callback=function(e){t(e,e.target)},!1))},un:function(e,t){e&&e.removeEventListener&&t&&t._aplus_tap_callback&&e.removeEventListener(_,t._aplus_tap_callback,!1)}}},function(e,t,a){"use strict";function n(e,t,a){var n=t.hash_value,o=i.getGoldlogVal(a)||{};o.hash_value||(o.hash_value={}),o.hash_value[e]||(o.hash_value[e]={}),o.hash_value[e][n]?++o.hash_value[e][n]:o.hash_value[e][n]=1,i.setGoldlogVal(a,o)}var o=document,r=a(3),i=a(2),s=a(20),u=a(59),l=a(61),c=a(18),p=a(55),f=a(62),g=a(41),d=a(46),m=a(9),_=a(19),h=a(63),v=a(38),b=a(47),y=a(64),A=a(65),P={ATTRIBUTES:"attributes"},S=i.getGlobalValue(r.APLUS,{});t.isArray=v,t.getXPath=l,t.getDefaultLogkey=function(e){var t=e||{},a=t.config||{},n=t.target,o=a.logkey;if(m(n.getAttribute)){var r=n.getAttribute("data-logkey");h(r)||(o=r)}return o},t.isAutoLogLogkey=function(e){return/^\/aplus.autolog/.test(e)},t.isCombineRecordLogkey=function(e){var t="on"===S.getMetaInfo(r.APLUS_TRACK_COMBINE),a=S.getMetaInfo(r.APLUS_SINGLE_RECORD_LOGKEYS)||[];return t&&a.indexOf(e)<0},t.canRecord=function(e){var t=e||{},a=t.gmkey,n=t.target,o=t.config||{};if(m(o.filter))return o.filter(n,o);if(m(n.getAttribute)){var r=n.getAttribute("data-gmkey"),i=(h(r)||r===a)&&"off"!==n.getAttribute("data-auto-track");return i}};var w=function(e,t){if(t&&0!==t.length||(t=[]),e&&e.length>0)for(var a=0;a<e.length;a++)t.push(e[a]);return t};t.nodelistToArray=w,t.getElements=function(e,t){var a=t||o,n=[];if(a.querySelectorAll)try{n=w(a.querySelectorAll(e.elementSelector)||[])}catch(e){s().w(e&&e.message)}else for(var r=document.getElementsByTagName(e.tag),i=e.filter.split("="),u=i.length>0?i[0].trim():"",l=i.length>1?i[1].trim():"",c=0;c<r.length;c++){var p=r[c],f=p.getAttribute(u),g=p.hasAttribute(u);!g||l&&l!==f||n.push(p)}return n};var E=function(){return/aplusDebug=true/.test(location.search)},T=E();t.IS_DEBUG=T,t.fillPropsData=function(e,t,a){a||(a={});try{var n=e.props||[],o=e.formatter;if(n&&v(n)&&n.length>0)for(var r=0;r<n.length;r++){var i=n[r];if(d(i)&&(i={source:P.ATTRIBUTES,from:i,to:i.toLowerCase().replace(/^data-/,"")}),b(i.value)){if(m(i.getValue))a[i.to]=i.getValue(t,e);else if(i.source===P.ATTRIBUTES&&t&&t.getAttribute){var u=t.getAttribute(i.from);void 0!==typeof u&&null!==u&&""!==u&&(S.globalConfig&&S.globalConfig.isUM?a[i.to]=u:a[i.to]=encodeURIComponent(u))}}else a[i.to]=i.value}m(o)&&(a=o(a,t,e,S)||{})}catch(e){s().w(e&&e.message)}return a};var I=function(e,t,a){a||(a={});try{var n=e.filter||"";if(d(n)){var o=n.split("=");if(v(o)&&o[1])a[o[0]]=o[1];else if(o[0]&&t&&t.getAttribute){var r=t.getAttribute(o[0])||"";void 0!==typeof r&&null!==r&&""!==r&&(a[o[0]]=r)}}}catch(e){s().w(e&&e.message)}return a};t.fillFilterData=I;var x="data-tracker-params";t.getDataTrackerParams=function(e){var t={};try{var a=I({filter:x},e);a&&a[x]&&(t=JSON.parse(a[x]))}catch(e){}return t},t.fillSpmData=function(e,t,a){a||(a={});var n,o,r;return n=e&&e.spmB?e.spmB:document.body.dataset&&document.body.dataset.pagename,o=e&&e.spmC?e.spmC:t.parentNode&&t.parentNode.dataset&&t.parentNode.dataset.spmc,r=e&&e.spmD?e.spmD:t.dataset&&t.dataset.spmd,t.dataset&&t.dataset.aplusVtPos&&(r+="_"+t.dataset.aplusVtPos),n&&(a.spmB=n),o&&(a.spmC=o),r&&(a.spmD=r),a};var C=function(e){return!!/^POST|GET$/i.test(e)};t.isMethod=C;
var N=function(e){var t=!!/^\d+$/.test(e);return!!(t&&parseInt(e)>0)};t.isPkgSize=N,t.filterExpConfigRequestCfg=function(e){var t=A.getDefaultRequestCfg()||{};try{var a=e||{};C(a.method)&&(t.method=a.method),N(a.pkgSize)&&(t.pkgSize=parseInt(a.pkgSize))}catch(e){s().w(e&&e.message)}return t};var U=function(e){var t=e.split("&"),a={};return t.length>0&&c(t,function(e){var t=e.split("=");2===t.length&&(a[t[0]]=f.tryToEncodeURIComponent(t[1]))}),a};t.autoUserFnHandler=function(e,t,a,n,o){var r={userdata:{},spm:"",scm:""};try{var i=e(t,a,n,o);i&&("string"==typeof i?r.userdata=U(i):"object"==typeof i&&"object"==typeof i.userdata&&(p(i.userdata,function(e,t){S.globalConfig&&S.globalConfig.isUM?r.userdata[e]=t:r.userdata[e]=f.tryToEncodeURIComponent(t)}),r.spm=i.spm,r.scm=i.scm))}catch(e){s().w(e)}return r};var M=function(e,t){var a="";if(e&&t){var n=[];d(t.filter)&&n.push(e.getAttribute(t.filter));var o=t.props||[];c(o,function(t){d(t)?n.push(e.getAttribute(t)):_(t)&&t.source===P.ATTRIBUTES&&d(t.from)&&n.push(e.getAttribute(t.from))}),a=n.join("_")}return a},k=function(e){var t=e.getAttribute("data-spm-anchor-id");if(t){var a=t.split(".");return{a:a[0],b:a[1],c:a[2],d:a[3],e:a[4]}}};t.getSpmObj=k,t.getElementHash=function(e,t){var a={};"aplus_webvt"!==e.source&&(a=k(t.ele)||(window.g_SPM?window.g_SPM.getParam(t.ele):{}));var n="",o="x"+t.index;if(a.a&&a.b&&a.c&&a.d){var r=/^i/.test(a.d)?o:a.d;n=a.a+"_"+a.b+"_"+a.c+"_"+r,a.e&&(n+="_"+a.e)}else n=o,S.pvid&&(n+=S.pvid);t.ignore_attr||(n+=e.logkey+"_",n+=e.elementSelector+"_",n+=M(t.ele,e));var i=o+"_"+u.hash(n);return i},t.filterUnloadAttr=function(e){return e&&(e=e.replace(/(href|style|data-spm-anchor-id)=[\'|\"][\w|\W|\.]+[\'|\"]/,""),e=e.replace(/\s\>/g,">"),e=e.replace(new RegExp(A.DATA_APLUS_AE_KEY+"=[\\'|\\\"]\\w+[\\'|\\\"]"),""),e=e.replace(new RegExp(A.DATA_APLUS_AC_KEY+"=[\\'|\\\"]\\w+[\\'|\\\"]"),"")),e};var L=function(e,t){for(var a,n=0,o=e.length;n<o;){var r=e[n]||{};if(r.hash_value===t.hash_value)return e[n]=t,a=!0,e;n++}return a||e.push(t),e},O=function(e,t,a,o){if(a||(a="ADD"),e&&"object"==typeof t){var r=i.getGoldlogVal(o)||{},s=r._acHashMap||{},u=s[e]||[],l=function(){for(var e=0,a=u.length;e<a;){var n=u[e]||{};if(n.hash_value===t.hash_value)return e;e++}return-1},c=l();"ADD"===a&&c===-1?(u.push(t),n(e,t,o)):"CLEAR"===a&&c>-1?u.splice(c,1):"UPDATE"===a&&(u=L(u,t)),s[e]=u,r._acHashMap=s,i.setGoldlogVal(o,r)}};t.updateExpHashMap=function(e,t,a){O(e,t,a,"_aplus_auto_exp")},t.updateClkHashMap=function(e,t,a){O(e,t,a,"_aplus_ac")},t.throttle=y,t.checkIsInHashMap=function(e){var t=i.getGoldlogVal(e.aplusKey)||{},a=t.hash_value||{},n=a[e.logkey]||{},o=n[e.hash_value];if(o>1)return!0;for(var r=t._acHashMap||{},s=r[e.logkey]||[],u=s.length,l=0;l<u;l++){var c=s[l],p=c.hash_value===e.hash_value,f=c.element===e.element;if(p||!p&&f)return!0}return!1},t.clearInvalidElements=function(e){var t=i.getGoldlogVal(e)||{};t&&t.hash_value&&t._acHashMap&&c(t._acHashMap,function(e,a){var n=[];v(a)&&c(a,function(a){if(g.elementContains(document.body,a.element))n.push(a);else{var o=t.hash_value[e];delete o[a.hash_value]}}),t._acHashMap[e]=n})},t.setRecordSuccess=function(e,t){try{var a=e?e.element:{},n=e.hash_value||"";a&&a.setAttribute&&a.setAttribute(t,n)}catch(e){}}},function(e,t,a){"use strict";function n(){function e(e,t){return Math.floor(Math.random()*(t-e+1))+e}var t,a,n,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=e(r.first[0],r.first[1]);return t=169===i?255===r.second[0]?255:e(r.second[0],r.second[1]):172===i?32===r.second[0]?e(32,255):e(r.second[0],r.second[1]):192===i&&169===r.second[0]?e(169,255):e(r.second[0],r.second[1]),a=e(r.third[0],r.third[1]),n=e(r.fourth[0],r.fourth[1]),[i,t,a,n].join(".")}function o(e){for(var t=e.split("."),a="",n=0;n<t.length;n++){var o=t[n],r=parseInt(o).toString(16);a+=1===r.length?"0"+r:r}return a}const r=a(19),i=a(18),s=a(60);t.hash=function(e,t){var a,n,o=1315423911,r=t||o;for(a=e.length-1;a>=0;a--)n=e.charCodeAt(a),r^=(r<<5)+n+(r>>2);var i=(2147483647&r).toString(16);return i},t.mockEagleeyeTraceId=function(){var e=9e3,t=1e3,a=t;return function(){var r=n(),i=s.getCurrentTimestamp(),u=o(r),l="d",c="51fc",p=u+i+a+l+c;return a++,a>e&&(a=t),p}}(),t.generateHexString=function(e,t){var a=new Array(e),n="0123456789abcdef";r(t)&&i(t,function(e,t){a[e]=t});for(var o=0;o<e;o++)void 0===a[o]&&(a[o]=n[Math.floor(Math.random()*n.length)]);return a.join("")}},function(e,t){"use strict";function a(e,t,a){var n=""+Math.abs(e),o=t-n.length,r=e>=0;return(r?a?"+":"":"-")+Math.pow(10,Math.max(0,o)).toString().substr(1)+n}t.getFormatDate=function(e){var t=new Date;try{return[t.getFullYear(),a(t.getMonth()+1,2,0),a(t.getDate(),2,0)].join(e||"")}catch(e){return""}},t.getCurrentTimestamp=function(){return(new Date).getTime()}},function(e,t){"use strict";e.exports=function(e){var t,a,n,o,r,i,s=document.getElementsByTagName("*");for(t=[];e&&1==e.nodeType;e=e.parentNode)if(null===e.getAttribute("data-aplus-visual-box-id"))if(e.id){for(i=e.id,o=0,a=0;a<s.length;a++)if(r=s[a],r.id&&r.id===i){o++;break}if(t.unshift(e.tagName.toLowerCase()+'[@id="'+i+'"]'),1===o)return t.unshift("/"),t.join("/")}else if("svg"===e.tagName)t.unshift("/*[name()='svg']");else{for(a=1,n=e.previousSibling;n;n=n.previousSibling)n.tagName===e.tagName&&null===n.getAttribute("data-aplus-visual-box-id")&&a++;t.unshift(e.tagName.toLowerCase()+"["+a+"]")}return t.length?"/"+t.join("/"):null}},function(e,t){"use strict";t.tryToEncodeURIComponent=function(e){var t=e||"";if(e)try{t=encodeURIComponent(decodeURIComponent(e))}catch(e){}return t}},function(e,t){"use strict";e.exports=function(e){return null===e}},function(e,t){"use strict";function a(){return(new Date).getTime()}e.exports=function(e,t,n){var o,r,i,s,u=0;n||(n={});var l=function(){u=n.leading===!1?0:a(),o=null,s=e.apply(r,i),o||(r=i=null)},c=function(){var c=a();u||n.leading!==!1||(u=c);var p=t-(c-u);return r=this,i=arguments,p<=0||p>t?(o&&(clearTimeout(o),o=null),u=c,s=e.apply(r,i),o||(r=i=null)):o||n.trailing===!1||(o=setTimeout(l,p)),s};return c.cancel=function(){clearTimeout(o),u=0,o=r=i=null},c}},function(e,t,a){"use strict";function n(e){return w&&w.getMetaInfo?w.getMetaInfo(e):f.getMetaCnt(e)}function o(){return"on"===n(b.APLUS_AUTO_TRACK_CONFIG_IMPORT)}function r(e){for(var t="",a=["alt","title","placeholder","src"],n=0;n<a.length;n++){var o=a[n],r=p.tryToGetAttribute(e,o);if(""!==t)break;h(r)||(t=r)}return t}function i(e){var t=r(e);return e.innerText||t||e.defaultValue||e.value||""}function s(e){var t=v.getPid(),a=w.getPageSPM()||[],n=t||a[0]||y.hash(location.host),o=a[1]||y.hash(location.host+location.pathname),r=P.getElementHash(e);return"/"+[n,o,r].join(".")}function u(e){var t="aplus-auto-clk"===e,a=b.APLUS_CODELESS_TRACK_CONFIG+(t?"_clk":"_exp"),n=[{scope:["aplus-auto-clk","aplus-auto-exp"],config:{logkey:"/aplus.autolog."+(e+"").split("-").pop(),getLogkey:s,cssSelector:"[data-autolog]",enableEventBubble:!0,formatter:function(e,t){var a=p.tryToGetAttribute(t,"data-autolog"),n=p.tryToGetAttribute(t,"data-logkey");if(!n){var o=i(t);e.xpath=A(t),h(e.text)&&(e.text=o)}return d(a.split("&"),function(t){var a=t.split("=");e[a[0]]=a[1]}),e}}}];t&&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(e){n.push({scope:["aplus-auto-clk"],config:{logkey:"/aplus.autolog.clk",getLogkey:s,cssSelector:e,enableEventBubble:!0,ignoreWhenMatchOtherConfig:!0,formatter:function(e,t){var a=t.tagName.toLocaleLowerCase(),n="",o=i(t),r=p.tryToGetAttribute(t,"role");if(r)n="role";else if("img"===a)n="image","pointer"===S(t,"cursor")&&(n="icon-button");else if(["a","area"].indexOf(a)>-1)n="link";else if("svg"===a&&"pointer"===S(t,"cursor"))n="icon-button";else if("label"===a){var s=t.querySelector("input");s&&["radio","checkbox"].indexOf(s.type)>-1&&(n="inputType")}else if("input"===a){var u=p.tryToGetAttribute(t,"type");n=["submit","button"].indexOf(u)>-1?"button":u||a}else n="select"===a?"select":a;return d([{key:"feature",value:n},{key:"text",value:o}],function(t){var a=t.key,n=t.value;!h(n)&&h(e[a])&&(e[a]=n)}),e.xpath=A(t),e},filter:function(e){var t="off"===p.tryToGetAttribute(e,"data-auto-track");return!t}}})});var r=[];return d(n,function(t){var a=t.scope||[];a.indexOf(e)>-1&&r.push(t.config)}),w[a]=r,r}var l=a(2),c=a(42),p=a(23),f=a(22),g=a(20),d=a(18),m=a(38),_=a(46),h=a(66),v=a(45),b=a(3),y=a(59),A=a(61),P=a(67),S=a(68),w=l.getGlobalValue("aplus");t.DATA_APLUS_AE_KEY="data-aplus-ae",t.DATA_APLUS_AC_KEY="data-aplus-clk",t.DATA_APLUS_SPM_ANCHOR_ID_KEY="data-spm-anchor-id",t.DATA_APLUS_VT_ITEM_INDEX_KEY="data-aplus-vt-pos",t.LOOP_TIME=1e3,t.getDefaultRequestCfg=function(){return{method:"POST",pkgSize:10}},t.isAutoTrackEnable=o;var E=function(e){if(e&&e.tagName){var t=S(e,"cursor"),a=e.tagName.toLocaleLowerCase();if("div"===a&&"pointer"===t)return{logkey:"/aplus.autolog.clk",getLogkey:s,formatter:function(e,t){var a="clickable",n=i(t);return d([{key:"feature",value:a},{key:"text",value:n}],function(t){var a=t.key,n=t.value;!h(n)&&h(e[a])&&(e[a]=n)}),e.xpath=A(t),e},filter:function(e){var t="off"===p.tryToGetAttribute(e,"data-auto-track");return!t}}}};t.getDefaultClkConfig=E;var T=function(e){var t=e;try{var a=n("aplus-auto-exp-visible");a&&(t=parseFloat(a)),t<=0&&(t=e)}catch(a){t=e}finally{return t}};t.AUTO_AT_VIEW_RATE=T(.3);var I=function(e){var t=e;try{var a=n("aplus-auto-exp-duration"),o=parseInt(a);o+""!="NaN"&&(t=o)}catch(e){}finally{return t}};t.EXP_DURATION=I(300);var x=function(e,t){var a,o=[],r=[],i=[];try{a=t||n(e);var s=[];if(a&&"string"==typeof a)try{s=JSON.parse(a)}catch(e){s=JSON.parse(a.replace(/'/g,'"'))}else"object"==typeof a&&a.constructor===Array&&(s=a);if(m(s)){var l=u(e);s=s.concat(l);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 "+e+" config error, "+JSON.stringify(f));v=_(v)?v.split("="):[];var A=h;if(v.length>=2?A+="["+v.shift()+'="'+decodeURIComponent(v.join(""))+'"]':1==v.length&&v[0]&&(A+="["+decodeURIComponent(v[0])+"]"),b&&(A+=b),f.elementSelector=A,c.indexof(i,A)>-1)throw new Error("meta "+e+" config error, tag_filter_cssSelector "+A+" repeated");i.push(A),f.enableMultipleConfig?r.push(f):o.push(f)}}}catch(e){g().w(e)}finally{var P=[].concat(o,r);return P}};t.getAutoExpConfig=function(e){return x("aplus-auto-exp",e)||[]},t.getAutoExpUserFn=function(){var e=n("aplus-auto-exp-userfn");if(e){var t=window[e]||e;if("function"==typeof t)return t}return null},t.isThrottleWatchDom=function(){var e=!1;try{e="throttle"===n("aplus-auto-exp-watchdom")}catch(e){}return e},t.getAutoClkConfig=function(e){return x("aplus-auto-clk",e)||[]},t.getAutoClkUserFn=function(){var e=n("aplus-auto-clk-userfn");if(e){var t=window[e]||e;if("function"==typeof t)return t}return null}},function(e,t){"use strict";e.exports=function(e){return null===e||"undefined"==typeof e}},function(e,t,a){"use strict";function n(e){return o.hash(r(e).trim())}var o=a(59),r=a(61);t.getElementHash=n},function(e,t,a){"use strict";var n=a(9);e.exports=function(e,t){if(e){var a=e.style||{};return n(window.getComputedStyle)&&(a=window.getComputedStyle(e)||{}),a[t]}}},function(e,t,a){"use strict";var n=a(10),o=a(53),r=a(20),i=a(56),s=a(58),u=a(65),l=window,c=document,p=n.extend({updateHashMapAndElementHashTag:function(e){var t=e.clkConfig,a=e.hash_value,n=e.element,o=e.isUpdateElementHashTag,r=t.logkey||"";if(!s.checkIsInHashMap({logkey:r,hash_value:a,aplusKey:"_aplus_ac"})){var i={clkConfig:t,hash_value:a,element:n,status:0,elementSelector:t.elementSelector};s.updateClkHashMap(r,i,"ADD"),o&&s.setRecordSuccess(i,u.DATA_APLUS_AC_KEY)}},eachElements:function(e,t){for(var a=this,n=0;n<e.length;n++){var o=e[n];t._pos_id&&!o.getAttribute("data-aplus-pos-id")&&o.setAttribute("data-aplus-pos-id",t._pos_id);var r=o.getAttribute(u.DATA_APLUS_AC_KEY);if(r&&r.indexOf("_")>0)t.enableMultipleConfig&&a.updateHashMapAndElementHashTag({clkConfig:t,hash_value:r,element:o,isUpdateElementHashTag:!1});else{isNaN(parseInt(r))&&(r=aplus._aplus_ac.elementSelectorSizeMap[t.elementSelector]++,o.setAttribute(u.DATA_APLUS_AC_KEY,r)),!aplus.globalConfig.isAli&&t.spmB&&t.spmC&&t.spmD&&(o.setAttribute(u.DATA_APLUS_SPM_ANCHOR_ID_KEY,[t.spmB,t.spmC,t.spmD+"_"+(n+1)].join(".")),o.setAttribute(u.DATA_APLUS_VT_ITEM_INDEX_KEY,""+(n+1)));var i=s.getElementHash(t,{ignore_attr:!1,index:r,ele:o});a.updateHashMapAndElementHashTag({clkConfig:t,hash_value:i,element:o,isUpdateElementHashTag:!0})}}},handler_dom_change:function(){s.clearInvalidElements("_aplus_ac");for(var e=this,t=e.autoClkConfig||[],a=0;a<t.length;a++){var n=t[a];aplus._aplus_ac.elementSelectorSizeMap[n.elementSelector]||(aplus._aplus_ac.elementSelectorSizeMap[n.elementSelector]=1);var o=s.getElements(n,c);e.eachElements(o,n)}},throttle_handler_dom_change:s.throttle(function(){this.handler_dom_change()},200),init_observer:function(e,t){var a=new e(function(){o.wrap(function(){var e=aplus._aplus_ac||{};++e.observer_times,t()},"init_observer_init_elements")}),n={attributes:!0,childList:!0,characterData:!0,subtree:!0};a.observe(c.body,n),s.IS_DEBUG&&r().w("aplus_ac init MutationObserver success!"),this._observer=a},init_watch_dom:function(){var e=this,t=aplus._aplus_ac||{};e._loop_observer=setTimeout(function(){"blur"!==t.current_win_status?(s.IS_DEBUG&&r().w("watch_dom in ac LOOP_TIME is "+u.LOOP_TIME+"ms total: "+ ++t.watch_times),e.throttle_handler_dom_change(),e.init_watch_dom()):t.watch_dom_running=!1},u.LOOP_TIME)},onFocusHandler:function(){var e=this,t=aplus._aplus_ac||{};t.current_win_status="focus",t.watch_dom_running||e.init_watch_dom()},onBlurHandler:function(){var e=aplus._aplus_ac||{};e.current_win_status="blur"},onVisibilityChange:function(){var e=this;"visible"===c.visibilityState?e.onFocusHandler():"hidden"===c.visibilityState&&e.onBlurHandler()},addAllListener:function(){var e=this,t=aplus._aplus_ac||{};t.watch_times=0,t.watch_dom_running=!0,e.init_watch_dom(),l.WindVane&&c.addEventListener&&(i.on(c,"WV.Event.APP.Active",e.onFocusHandler,!1),i.on(c,"WV.Event.APP.Background",e.onBlurHandler,!1)),"hidden"in c?i.on(l,"visibilitychange",e.onVisibilityChange):(i.on(l,"blur",e.onBlurHandler),i.on(l,"focus",e.onFocusHandler))},removeAllListener:function(){var e=this;l.WindVane&&c.removeEventListener&&(i.un(c,"WV.Event.APP.Active",e.onFocusHandler,!1),i.un(c,"WV.Event.APP.Background",e.onBlurHandler,!1)),"hidden"in c?i.un(l,"visibilitychange",e.onVisibilityChange):(i.un(l,"blur",e.onBlurHandler),i.un(l,"focus",e.onFocusHandler))},init:function(){var e=this,t=aplus._aplus_ac||{};e.throttle_handler_dom_change();var a=l.MutationObserver||l.WebKitMutationObserver||l.MozMutationObserver;a?(t.observer_times=0,e.init_observer(a,function(){e.throttle_handler_dom_change()})):e.addAllListener()},clearDom:function(e,t){var a=this.autoClkConfig||[];if(t&&"appendMetaInfo"!==t.from)for(var n=0;n<a.length;n++)try{for(var o=a[n].elementSelector,r=c.querySelectorAll(o),i=0;i<r.length;i++)r[i].setAttribute(u.DATA_APLUS_AC_KEY,"")}catch(e){}this.autoClkConfig=e&&e.autoClkConfig},clear:function(e){if(!e||"appendMetaInfo"!==e.from){var t=aplus._aplus_ac||{};t._acHashMap&&(t._acHashMap={}),t.hash_value&&(t.hash_value={}),aplus._aplus_ac=t,this._loop_observer&&(clearTimeout(this._loop_observer),this._loop_observer=null),this._observer?this._observer.disconnect():this.removeAllListener()}},reset:function(e,t){this.clearDom(e,t),this.init()}});e.exports=p},function(e,t,a){"use strict";e.exports=function(){return{run:function(){a(71)()}}}},function(e,t,a){"use strict";function n(e,t){l.watch_data_change(),u.watch_exposure_change(e);var a={isThrottleWatch:c.isThrottleWatchDom(),autoExpConfig:e};p?p.reset(a,t):(p=s.create(a),p.init({type:"init"}))}function o(e,t){l.clear(),u.clear(e,t),p&&p.clear(t)}function r(){s=a(72),u=a(window.IntersectionObserver?74:76),l=a(77),c=a(65)}function i(e){var t,a=d.getGlobalValue("aplus"),r=!1,i=!1,s=function(e){i||(i=e,r||(f.wrap(function(){t=c.getAutoExpConfig()||[],_().w("aplus-auto-exp metaValue init: "+JSON.stringify(t)),t&&t.length>0&&n(t),a.aplus_pubsub.subscribe("setMetaInfo",function(e,a,r){if("aplus-auto-exp"===e){_().w("aplus-auto-exp metaVaue change: "+JSON.stringify(a));var i=c.getAutoExpConfig(a);if(JSON.stringify(i)===JSON.stringify(t))return;t=i,r||(r={from:"setMetaInfo"}),o(t,r,p),a&&t&&t.length>0&&n(t,r)}})},"do_init"),r=!0))};setTimeout(function(){r||_().w("aplus_auto_exp_init failed! please check whether aplusJs is loaded correctly!")},5e3);var u=a._$||{},l=window.g_SPM||{};"complete"===u.status&&l.spm&&s();var m=d.getGlobalValue("aplus_queue");m.push({action:g.SUBSCRIBE,arguments:["aplusReady",function(e){"complete"===e&&s("aplusReady")}]}),"function"==typeof e&&e()}var s,u,l,c,p,f=a(53),g=a(3),d=a(2),m=a(17),_=a(20);e.exports=function(){var e=d.getGlobalValue("aplus");if(!e._aplus_auto_exp&&(e._aplus_auto_exp={tags:{},status:"init",exp_times:0,elementSelectorSizeMap:{}},r(),i(function(){e._aplus_auto_exp.status="complete"}),e&&!e.globalConfig.isAli)){var t=d.getGlobalValue("aplus_queue");t.push({action:g.SUBSCRIBE,arguments:["aplusReady",function(t){if("complete"===t)try{var a=e.getMetaInfo(g.APLUS_EXPOSURE_EVENT_CAN_REPEAT);a&&(m.watchHistoryChange(function(){var e=c.getAutoExpConfig()||[];o(e,{from:"routeChange"}),n(e,{from:"routerChange"})}),m.watchHashChange(function(){var e=c.getAutoExpConfig()||[];o(e,{from:"routeChange"}),n(e,{from:"routerChange"})}))}catch(e){}}]})}}},function(e,t,a){"use strict";var n=a(10),o=a(53),r=a(20),i=a(2),s=a(3),u=a(58),l=a(65),c=a(56),p=a(73),f=window,g=document,d=n.extend({hasExpEventSendTag:function(e){return!!(e&&e.indexOf("_")>0)},eachElements:function(e,t){for(var a=t.logkey||"",n=0;n<e.length;n++){var o=e[n],r=o.getAttribute(l.DATA_APLUS_AE_KEY);if(!this.hasExpEventSendTag(r)){isNaN(parseInt(r))&&(r=aplus._aplus_auto_exp.elementSelectorSizeMap[t.elementSelector]++,o.setAttribute(l.DATA_APLUS_AE_KEY,r)),!aplus.globalConfig.isAli&&t.spmB&&t.spmC&&t.spmD&&(o.setAttribute(l.DATA_APLUS_SPM_ANCHOR_ID_KEY,[t.spmB,t.spmC,t.spmD+"_"+(n+1)].join(".")),o.setAttribute(l.DATA_APLUS_VT_ITEM_INDEX_KEY,""+(n+1)));var i=u.getElementHash(t,{ignore_attr:!1,index:r,ele:o}),s=p.checkIsRecord(o,i,l.DATA_APLUS_AE_KEY),c=u.checkIsInHashMap({logkey:a,hash_value:i,aplusKey:"_aplus_auto_exp",element:o});if(!s&&!c){var f={expConfig:t,hash_value:i,element:o,status:0,elementSelector:t.elementSelector};u.updateExpHashMap(a,f,"ADD")}}}},handler_dom_change:function(e,t){try{u.clearInvalidElements("_aplus_auto_exp");for(var a=this.autoExpConfig||[],n=0;n<a.length;n++){var o=a[n],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",t||{})}catch(e){r().w(e&&e.message)}},throttle_handler_dom_change:u.throttle(function(e,t){this.handler_dom_change(e,t)},200),init_watch_dom:function(){var e=this,t=aplus._aplus_auto_exp||{};e._loop_observer=setTimeout(function(){"blur"!==t.current_win_status?(r().w("watch_dom in ae LOOP_TIME is "+l.LOOP_TIME+"ms total: "+ ++t.watch_times),e.handler_dom_change(null,{type:"polling"}),e.init_watch_dom()):t.watch_dom_running=!1},l.LOOP_TIME)},onFocusHandler:function(){var e=this,t=aplus._aplus_auto_exp||{};t.current_win_status="focus",t.watch_dom_running||e.init_watch_dom()},onBlurHandler:function(){var e=aplus._aplus_auto_exp||{};e.current_win_status="blur"},onVisibilityChange:function(){var e=this;"visible"===g.visibilityState?e.onFocusHandler():"hidden"===g.visibilityState&&e.onBlurHandler()},addAllListener:function(){var e=this,t=aplus._aplus_auto_exp||{};t.watch_times=0,t.watch_dom_running=!0,e.init_watch_dom(),f.WindVane&&g.addEventListener&&(c.on(g,"WV.Event.APP.Active",e.onFocusHandler,!1),c.on(g,"WV.Event.APP.Background",e.onBlurHandler,!1)),"hidden"in g?c.on(f,"visibilitychange",e.onVisibilityChange):(c.on(f,"blur",e.onBlurHandler),c.on(f,"focus",e.onFocusHandler))},removeAllListener:function(){var e=this;f.WindVane&&g.removeEventListener&&(c.un(g,"WV.Event.APP.Active",e.onFocusHandler,!1),c.un(g,"WV.Event.APP.Background",e.onBlurHandler,!1)),"hidden"in g?c.un(f,"visibilitychange",e.onVisibilityChange):(c.un(f,"blur",e.onBlurHandler),c.un(f,"focus",e.onFocusHandler))},init_observer:function(e,t){var a=["IFRAME","BODY","OBJECT","SCRIPT","NOSCRIPT","LINK","STYLE","#comment"],n=["class","style"],l=function(e){return"characterData"===e.type?[e.target]:"attributes"===e.type&&n.indexOf(e.attributeName)>-1?[e.target]:"childList"!==e.type?[]:void 0},c=function(e,n){if(e&&e.length>0)for(var r=0;r<e.length;r++){var i=e[r]||{},s=i.nodeName,u=aplus._aplus_auto_exp.tags||{};u[s]||(u[s]=0),u[s]++,aplus._aplus_auto_exp.tags=u,a.indexOf(s)===-1&&o.wrap(function(){var e=aplus._aplus_auto_exp||{};++e.observer_times;var a=n.attributeName;t(i,{type:n.type+(a?"_"+a:"")})},"init_observer_init_elements")}};this._observer||(this._observer=new e(function(e){var t=i.getGlobalValue("aplus_queue");if(t.push({action:"aplus.aplus_pubsub.publish",arguments:[s.APLUS_DOM_CHANGE,e]}),e&&e.length>0)for(var a=0;a<e.length;a++){var n=e[a]||{},o=u.nodelistToArray(n.addedNodes||[]);o=u.nodelistToArray(l(n),o),c(o,n)}}));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(e){var t=this,a=aplus._aplus_auto_exp||{};e&&"reset"!==e.type&&!a.hash_value&&(a.hash_value={}),t.handler_dom_change(null,{type:"aplus_init"});var n=f.MutationObserver||f.WebKitMutationObserver||f.MozMutationObserver;n?(a.observer_times=0,t.init_observer(n,function(e,a){var n=e&&e.parentElement?e.parentElement:e;t.throttle_handler_dom_change(n,a)})):t.addAllListener()},clear:function(e){if(!e||"appendMetaInfo"!==e.from){var t=aplus._aplus_auto_exp||{};t._acHashMap&&(t._acHashMap={}),t.hash_value&&(t.hash_value={}),"routeChange"===e.from&&t.elementSelectorSizeMap&&(t.elementSelectorSizeMap={}),aplus._aplus_auto_exp=t,this._loop_observer&&(clearTimeout(this._loop_observer),this._loop_observer=null),this._observer?(this._observer.takeRecords(),this._observer.disconnect()):this.removeAllListener()}},clearDom:function(e,t){var a=this.autoExpConfig||[];if(t&&"appendMetaInfo"!==t.from)for(var n=0;n<a.length;n++)try{for(var o=a[n].elementSelector,r=g.querySelectorAll(o),i=0;i<r.length;i++)r[i].setAttribute(l.DATA_APLUS_AE_KEY,"")}catch(e){}this.autoExpConfig=e&&e.autoExpConfig?e.autoExpConfig:[]},reset:function(e,t){this.clearDom(e,t),this.init({type:"reset"})}});e.exports=d},function(e,t){"use strict";var a=document,n=function(e,t){return t.x>=e.pLeftTop[0]&&t.x<=e.pRightBottom[0]&&t.y>=e.pLeftTop[1]&&t.y<=e.pRightBottom[1]},o=function(e,t){var a=0,o=n(e,t),r=n(e,{x:t.x+t.width,y:t.y}),i=n(e,{x:t.x,y:t.y+t.height}),s=n(e,{x:t.x+t.width,y:t.y+t.height}),u=function(){var e=0;return o&&s&&(e=t.size/t.size),e},l=function(){var a=0,n=0;return o&&r&&!i&&!s?(a=t.width,n=e.pLeftBottom[1]-t.y):!o&&r&&!i&&s?(a=e.pLeftTop[0]-t.x,n=t.y):!o&&!r&&i&&s?(a=t.width,n=t.height-Math.abs(e.pLeftTop[1]-t.y)):o&&!r&&i&&!s&&(a=e.pRightTop[0]-t.x,n=t.height),t.size>0?Math.abs(a*n)/t.size:0},c=function(){var a=0,n=0;return!o||r||i||s?o||!r||i||s?o||r||!i||s?o||r||i||!s||(a=e.pLeftTop[0]-t.x,n=e.pLeftTop[1]-t.y):(a=e.pRightTop[0]-t.x,n=e.pRightTop[1]-t.y):(a=e.pLeftBottom[0]-t.x,n=e.pLeftBottom[1]-t.y):(a=e.pRightBottom[0]-t.x,n=e.pRightBottom[1]-t.y),t.size>0?Math.abs(a*n)/t.size:0};return a=u(),a>0?a:(a=l(),a>0?a:(a=c(),a>0?a:a))};t.wrapViewabilityRate=function(e,t,a){var n=0;if(e)for(var r=0;r<e.length;r++)if(n=o(e[r],t),n<a)return!1;return n};var r=function(e){return"number"==typeof e&&NaN!==e},i=function(e){var t={};return e&&("function"==typeof e.getBoundingClientRect&&(t=e.getBoundingClientRect()||{}),r(t.x)||r(t.left)&&(t.x=t.left),r(t.y)||r(t.top)&&(t.y=t.top),r(t.width)||(t.width=e.offsetWidth),r(t.height)||(t.height=e.offsetHeight)),t};t.getElementPosition=i,t.getWinPositions=function(e){var t=[];if(e&&"function"==typeof document.querySelector){var n=document.querySelector(e);if(n){var o=i(n)||{};r(o.x)&&r(o.y)&&r(o.width)&&r(o.height)&&t.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=a.documentElement,u=a.body,l=s.clientWidth||u.offsetWidth||0,c=s.clientHeight||u.offsetHeight||0;return t.push({pLeftTop:[0,0],pRightTop:[l,0],pLeftBottom:[0,c],pRightBottom:[l,c]}),t},t.checkIsRecord=function(e,t,a){var n;try{if(e&&e.getAttribute){var o=e.getAttribute(a)||"";n=t?o===t:!!o}}catch(e){}return n},t.getViewabilityRateInWindow=function(e,t,a){var n=0;if(e)for(var o=0;o<e.length;o++)if(n=t/e[o].size,n>=a)return n;return n}},function(e,t,a){"use strict";function n(e,t,a){var n=g.getWinPositions(),o=0,r=c.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=!!a||f.element===t.target;if(0===f.status&&f.expConfig&&v){var b=t.boundingClientRect||{};if(b.width||b.height||(b=t.target.getBoundingClientRect()||{}),b.width&&b.height){f=l.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"),A=f.width*f.height*t.intersectionRatio,P=g.getViewabilityRateInWindow(n,A,h);if(!y){var S=t.intersectionRatio>=_;if(S||P>=h){f.exposureTime=e,f.status=1;var w=d.getAutoExpUserFn();w&&(f.userParams=m.autoUserFnHandler(w,f.element,f.elementSelector,f.expConfig)),f.viewabilityRate=S?t.intersectionRatio:P,f.viewability=S?"intersection":"fillwindow",d.EXP_DURATION||(f.status=2),m.updateExpHashMap(s,f,"UPDATE"),++o}else P&&m.updateExpHashMap(s,l.assign(u[p],{lastEventType:f.eventType}),"UPDATE")}}}}return o}function o(e,t){var a="APLUS_AE_EXPOSURE_CHANGE",o=e&&e.type?e.type:"IObserver",r=(new Date).getTime(),i=0;i=t?f.filterStartExposureSize(r,e):n(r,e),i>0&&(d.EXP_DURATION?setTimeout(function(){i=f.filterEndExposureSize(r,o),i>0&&aplus.aplus_pubsub.publish(a,{size:i,eventType:o})},d.EXP_DURATION):aplus.aplus_pubsub.publish(a,{size:i,eventType:o}))}function r(e){var t={root:null,rootMargin:"0px",threshold:_};return new b(function(e){p(e,function(e){if(e.intersectionRatio>0){o(e);var t=e.target.getBoundingClientRect();t.width&&t.height||s(e.target)}})},l.assign(t,e))}function i(e){if(b){y.io_base||(y.io_base=r());var t=c.getGoldlogVal("_aplus_auto_exp")||{},a=t._acHashMap||{};for(var n in a)for(var o=a[n]||[],i=0;i<o.length;i++){var s=o[i]||{};if(!s.inObserver){var u,l="io_v_"+encodeURIComponent(s.positionSelector);s.positionSelector&&!y[l]&&(u=r({root:document.querySelector(s.positionSelector),expConfig:e}),y[l]=u),u?u.observe(s.element):y.io_base.observe(s.element),s.inObserver=!0}}}return!0}function s(e){window.ResizeObserver&&(u||(u=new window.ResizeObserver(function(e){e.forEach(function(e){var t=e.target;e.contentRect.height&&e.contentRect.width&&(y.io_base.unobserve(t),y.io_base.observe(t),u.unobserve(t))})})),u.observe(e))}var u,l=a(28),c=a(2),p=a(18),f=a(75),g=a(73),d=a(65),m=a(58),_=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,t.watch_exposure_change=function(e){aplus.aplus_pubsub.subscribe("APLUS_AE_DOM_CHANGE",function(){i(e)}),i(e)},t.clear=function(e,t){if(t&&"appendMetaInfo"!==t.from)for(var a in y){var n=y[a];n.disconnect()}}},function(e,t,a){"use strict";var n,o=a(2),r=a(73),i=a(65),s=a(58),u=i.AUTO_AT_VIEW_RATE,l=i.AUTO_AT_VIEW_RATE_IN_WINDOW,c=function(e){for(var t;e&&"HTML"!==e.tagName;){t=e.style.display;{if("none"===t)break;e=e.parentNode}}return"none"===t};t.filterStartExposureSize=function(e,t){var a=0,n=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&&!c(_.element)){var h=r.getElementPosition(_.element);if(h.width&&h.height){_.x=h.x,_.y=h.y,_.eventType=t,_.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||n,_,u),y=b>=u,A=b;v&&(A=r.wrapViewabilityRate(n,_,u));var P=_.width*_.height*A,S=r.getViewabilityRateInWindow(n,P,l),w=r.checkIsRecord(_.element,_.hash_value,"_aplus_auto_exp");if((y||S>=l)&&!w){_.exposureTime=e,_.status=1;var E=i.getAutoExpUserFn();E&&(_.userParams=s.autoUserFnHandler(E,_.element,_.elementSelector,_.expConfig)),i.EXP_DURATION||(_.viewabilityRate=y?b:S,_.viewability=y?"intersection":"fillwindow",_.status=2),s.updateExpHashMap(g,_,"UPDATE"),++a}}}}return a},t.filterEndExposureSize=function(e,t){var a=0;n||(n=r.getWinPositions());var i=o.getGoldlogVal("_aplus_auto_exp")||{},l=i._acHashMap||{};for(var c in l)for(var p=l[c]||[],f=0;f<p.length;f++){var g=p[f]||{};if(1===g.status&&g.exposureTime===e&&g.expConfig){g.eventType=t,g.expConfig.positionSelector&&(n=r.getWinPositions(g.expConfig.positionSelector));var d=r.wrapViewabilityRate(n,g,u),m=r.checkIsRecord(g.element,g.hash_value,"_aplus_auto_exp");d&&!m?(g.viewabilityRate=d,g.status=2,s.updateExpHashMap(c,g,"UPDATE"),++a):(g.status=0,g.exposureTime="",s.updateExpHashMap(c,g,"UPDATE"))}}return a}},function(e,t,a){"use strict";var n=a(56),o=a(75),r=a(58),i=a(65),s=function(e){var t="APLUS_AE_EXPOSURE_CHANGE",a=e&&e.type?e.type:"init",n=(new Date).getTime(),r=o.filterStartExposureSize(n,a);r>0&&(i.EXP_DURATION?setTimeout(function(){r=o.filterEndExposureSize(n,a),r>0&&aplus.aplus_pubsub.publish(t,{size:r,eventType:a})},i.EXP_DURATION):aplus.aplus_pubsub.publish(t,{size:r,eventType:a}))},u=r.throttle(function(e){s(e)},100),l={},c=function(e,t){if(e&&e.forEach&&Object.keys&&document.querySelector){e.forEach(function(e){e.positionSelector&&document.querySelector(e.positionSelector)&&(l[e.positionSelector]=!0)});var a=Object.keys(l);a.forEach(function(e){n[t]&&n[t](document.querySelector(e),"scroll",function(e){u(e)})})}};t.watch_exposure_change=function(e){aplus.aplus_pubsub.subscribe("APLUS_AE_DOM_CHANGE",s),n.on(window,"touchmove",u),n.on(window,"scroll",u),n.on(window,"resize",s),c(e,"on")},t.clear=function(e){n.un(window,"touchmove",u),n.un(window,"scroll",u),n.un(window,"resize",s),c(e,"un")}},function(e,t,a){"use strict";function n(e,t,a){var n="0";if(a){if("spmc"===e){var o=a.split(".");n=o[2]?o[2]:o[3],/^(\i|\d)[0-9]+$/.test(n)&&(n="0"),a=[o[0],o[1],n].join(".")}}else a=aplus.getElementSPM(t,e);return a}function o(){i||(i=!0,aplus.on(window,"beforeunload",function(){clearInterval(r),r=null;for(var e=0;e<y.length;e++)aplus_queue.push(y[e]);y=[]}))}var r,i,s=a(53),u=a(28),l=a(2),c=a(20),p=a(55),f=a(9),g=a(38),d=a(18),m=a(58),_=a(65),h=function(){var e=aplus.aplusDebug,t={},a=_.getDefaultRequestCfg(),o=l.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 l,p=i.expConfig||{},g=n(p.eltype,i.element),d="";try{var _=new Number(i.viewabilityRate);l=_.toFixed(2)}catch(e){l=i.viewabilityRate}var h={_w:i.width,_h:i.height,_x:i.x,_y:i.y,_rate:l,_viewability:i.viewability};"object"==typeof i.userParams&&("object"==typeof i.userParams.userdata&&(h=u.assign(h,i.userParams.userdata)),i.userParams.spm&&(g=n(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))&&(a=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)),t[r]||(t[r]=[]),t[r].push(v),e&&c().w("logkey = "+r+", params = "+decodeURIComponent(JSON.stringify(v)))}})}),{logkeyContainer:t,request_cfg:a}},v=function(e){for(var t=[],a=0,n=e.length;a<n;a++){var o=e[a]||{},r={};p(o,function(e,t){"element"!==e&&(r[e]=t)});var i=u.cloneDeep(r);i.element=o.element,t.push(i)}return t},b=function(e){var t=l.getGoldlogVal("_aplus_auto_exp")||{},a=t._acHashMap||{},n=[];p(a,function(t,a){for(var o=v(a)||[],r=0,i=o.length;r<i;r++){var s=o[r]||{},u=a[r]||{};if(3===s.status)try{m.setRecordSuccess(u,_.DATA_APLUS_AE_KEY),aplus.aplus_pubsub.publish("APLUS_ELEMENT_EXPOSURE",{logkey:t,v_origin:u,options:e}),n.push(u)}catch(e){c().w(e&&e.message)}}for(;n.length>0;)m.updateExpHashMap(t,n.pop(),"CLEAR")})},y=[],A=function(){r=setInterval(function(){y.length>0?aplus_queue.push(y.pop()):(clearInterval(r),r=null)},200)},P=function(e,t,a){var n=e.logkeyContainer||[],o=e.request_cfg||{};s.wrap(function(){p(n,function(e,n){var r=m.isCombineRecordLogkey(e);if(g(n)&&n.length>0){for(var i=0;i<n.length;){var s=o.method||"POST",u="EXP";if(r){var l=n.slice(i,i+o.pkgSize);y.push({action:"aplus.combineRecord",arguments:[e,u,l,s]}),i+=o.pkgSize}else{var c={_is_auto_exp:1,_eventType:t.eventType,_method:o.method,is_auto:1},p=n[i];d(p,function(e,t){c[e]=t}),aplus_queue.push({action:"aplus.record",arguments:[e,u,c,s]}),i+=1}}a(t)}})})},S=function(e){if(e.size>0){r||A();var t=h()||{};P(t,e,b)}};t.watch_data_change=function(){aplus.aplus_pubsub.subscribe("APLUS_AE_EXPOSURE_CHANGE",S),o()},t.clear=function(){aplus.aplus_pubsub.unsubscribe("APLUS_AE_EXPOSURE_CHANGE",S)}},function(e,t,a){"use strict";var n=a(79),o=a(3),r=a(25).nameStorage,i=a(48);e.exports=function(){return{recordValInWindowName:function(){var e,t,a=o.HTTPS==location.protocol,n=aplus.globalConfig.NAMESTORAGE_KEYS||{},s=parent!==self;if(!s&&a){var u=location.href,l=a&&(u.indexOf("login.taobao.com")>=0||u.indexOf("login.tmall.com")>=0),c=i.getRefer(n);l&&c?(e=c,t=r.getItem(n.REFERRER_PV_ID)):(e=u,t=aplus.pvid),r.setItem(n.REFERRER,e),r.setItem(n.REFERRER_PV_ID,t)}},run:function(){var e=this;n.on(window,"beforeunload",function(){e.recordValInWindowName()})}}}},function(e,t,a){"use strict";function n(e,t,a){var n=aplus._$||{},o=n.meta_info||{},r=o.aplus_ctap||{},i=o["aplus-touch"];if(r&&"function"==typeof r.on)r.on(e,t);else{var s="ontouchend"in document.createElement("div");!s||"tap"!==i&&"tapSpm"!==a&&"tap"!==a?u(e,s?"touchstart":"mousedown",t):c.on(e,t)}}function o(e){try{document.documentElement.doScroll("left")}catch(t){return void setTimeout(function(){o(e)},1)}e()}function r(e){var t=0,a=function(){0===t&&e(),t++};"complete"===document.readyState&&a();var n;if(document.addEventListener)n=function(){document.removeEventListener("DOMContentLoaded",n,!1),a()},document.addEventListener("DOMContentLoaded",n,!1),window.addEventListener("load",a,!1);else if(document.attachEvent){n=function(){"complete"===document.readyState&&(document.detachEvent("onreadystatechange",n),a())},document.attachEvent("onreadystatechange",n),window.attachEvent("onload",a);var r=!1;try{r=null===window.frameElement}catch(e){}document.documentElement.doScroll&&r&&o(a)}}function i(e){"complete"===document.readyState?e():u(window,"load",e)}function s(e){var t=history[e];return function(){var a;try{a=new Event(e),a.arguments=arguments}catch(t){a=document.createEvent("Event"),a.initEvent(e,!0,!0)}window.dispatchEvent(a);var n=t.apply(this,arguments);return n}}function u(){var e=window,t=arguments;if(2===t.length)"DOMReady"===t[0]&&r(t[1]),"onload"===t[0]&&i(t[1]);else if(3===t.length){var a=t[0],o=t[1],u=t[2];if("tap"===o||"tapSpm"===o)n(a,u,o);else{["pushState","replaceState"].indexOf(o)>-1&&(history[o]=s(o));var c=document.attachEvent?"attachEvent":"addEventListener",p=!!document.attachEvent;a[c]((p?"on":"")+o,function(t){t=t||e.event;var a=t.target||t.srcElement;"function"==typeof u&&u(t,a)},!!l(o)&&{passive:!0})}}}var l=a(80),c=a(57);t.DOMReady=r,t.onload=i,t.on=u},function(e,t){var a;e.exports=function(e){if("boolean"==typeof a)return a;if(!/touch|mouse|scroll|wheel/i.test(e))return!1;a=!1;try{var t=Object.defineProperty({},"passive",{get:function(){a=!0}});window.addEventListener("test",null,t)}catch(e){}return a}},function(e,t,a){"use strict";var n=a(79),o=a(82);e.exports=function(){return{do_tracker_lostpv:function(e){if(e&&e.page){var t=e.spm_ab?e.spm_ab.split("."):[],a=navigator&&navigator.sendBeacon?"post":"get",n="record_lostpv_by"+a+"_"+e.msg,r=new o({ratio:e.ratio||this.options.config.lostPvRecordRatio});r.run({code:102,page:e.page,msg:n,spm_a:t[0],spm_b:t[1],c1:e.duration,c2:e.page_url})}},recordLostPv:function(e){var t=window.aplus||{},a=t._$=t._$||{},n=t.spm_ab?t.spm_ab.join("."):"0.0",o=a.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:e,spm_ab:n,msg:"dom_state="+document.readyState})}},run:function(){var e=this,t=new Date;n.on(window,"beforeunload",function(){var a=new Date,n=a.getTime()-t.getTime();e.recordLostPv(n)})}}}},function(e,t,a){var n=a(27),o=a(28),r=a(34),i={ratio:1,logkey:"fsp.1.1",gmkey:"",chksum:"H46747615"},s=function(e){e&&"object"==typeof e||(e=i),this.opts=e,this.opts.ratio=e.ratio||i.ratio,this.opts.logkey=e.logkey||i.logkey,this.opts.gmkey=e.gmkey||i.gmkey,this.opts.chksum=e.chksum||i.chksum},u=s.prototype;u.getRandom=function(){return Math.floor(100*Math.random())+1},u.run=function(e,t){var a,i,s={pid:"aplus",code:101,msg:"异常内容"},u="";try{var l=window.aplus||{},c=l._$||{},p=c.meta_info||{},f=parseFloat(p["aplus-tracker-rate"]);if(a=this.opts||{},"number"==typeof f&&f+""!="NaN"||(f=a.ratio),i=this.getRandom(),t||i<=100*f){u="//gm.mmstat.com/"+a.logkey,e.rel=l.globalConfig.script_name+"@"+l.globalConfig.lver,e.type=e.code,e.uid=encodeURIComponent(l.getCookieCna("cna")),e=o.assign(s,e);var g=n.obj2param(e);l.tracker=l.send(u,{cache:o.makeCacheNum(),gokey:g,logtype:"2"},"POST")}}catch(e){r.logger({msg:"tracker.run() exec error: "+e})}},e.exports=s},function(e,t,a){"use strict";var n=a(2),o=a(3),r=a(84),i=a(86),s=a(88);e.exports=function(){return{run:function(){var e=n.getGlobalValue(o.APLUS),t=e._$||{},u=t.meta_info||{},l="on"===u[o.APLUS_MONITOR_ENABLE];if(!e._aplus_cplugin_m){var c=this.options.config;e._aplus_cplugin_m=a(89).run(c),(l||["www.taobao.com"].indexOf(location.hostname)>-1)&&i(),(l||/alibaba-inc\.com$/.test(location.hostname))&&r(),["chat.qwen.ai","pre-chat.qwen.ai"].indexOf(location.hostname)>-1&&s()}}}}},function(e,t,a){function n(e){var t=["goldlog","aplus"];e=e||{};for(var a=e.message,n=e.filename,o=e.stack,r=((a||"")+" "+(n||"")+" "+(o||"")).toLowerCase(),i=0;i<t.length;i++)if(r.indexOf(t[i])>-1)return!0;return!1}function o(e){if(l(e)){var t="https://"+u.getReportHost()+"/aes.1.1",a={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:e.file,ts:s.getCurrentTimestamp(),message:e.message,lineno:e.lineno,colno:e.colno,stack:e.stack})},n={gmkey:"EXP",gokey:u.safeEncodeURIComponent(u.buildQueryString(a)),logtype:"2"};window.navigator.sendBeacon?u.reportByBeacon(t,n):u.reportByImg(t,n)}}function r(e){var t={message:e.message,lineno:e.lineno,colno:e.colno,filename:e.filename};e.error&&e.error.stack&&(t.stack=e.error.stack),o(t)}function i(){window.addEventListener&&window.addEventListener("error",r,!1)}var s=a(60),u=a(85),l=function(){var e=0,t=3;return function(a){return e++,!(e>t)&&("object"==typeof a&&n(a))}}();e.exports=i},function(e,t,a){function n(){var e=l.getGlobalValue("aplus"),t=e.globalConfig||{};return t.lver}function o(e,t){if(!e||"object"!=typeof e)return"";var a=[];for(var n in e)if(e.hasOwnProperty&&e.hasOwnProperty(n)){var o=e[n],r="";if(null===o||void 0===o)r="";else if("object"==typeof o)try{r=JSON.stringify(o)}catch(e){r="[object]"}else r=String(o);t&&r.length>200&&(r=r.substring(0,197)+"...");try{a.push(n+"="+encodeURIComponent(r))}catch(e){a.push(n+"="+r)}}return a.join("&")}function r(e,t){var a=t||{};window.navigator.sendBeacon(e,JSON.stringify(a))}function i(e,t){var a=new window.Image,n=o(t,!0);a.src=e+(e.indexOf("?")>-1?"&":"?")+n}function s(e){if(p(e))try{return encodeURIComponent(e)}catch(t){return e}return""}function u(){var e=l.getGlobalValue("aplus"),t=e._$||{},a=t.meta_info||{};return a["aplus-rhost-g"]||"gm.mmstat.com"}var l=a(2),c=a(43),p=a(46);t.getUid=function(){var e="aplus_mock_uid_"+Math.random().toString(36).substring(2);return function(){return c.getCookie("cna")||e}}(),t.getAplusVersion=n,t.buildQueryString=o,t.reportByBeacon=r,t.reportByImg=i,t.safeEncodeURIComponent=s,t.getReportHost=u},function(e,t,a){function n(){var e=s.getDomains();if(e.length>0){var t=e[0];return{goldlogSendDomain:"g.aplus."+t,pvSendDomain:"v.aplus."+t}}}var o=a(2),r=a(87),i=a(13),s=a(44);e.exports=function(){var e=o.getGlobalValue("aplus"),t=o.getGlobalValue("aplus_queue"),a=e._$||{},s=a.meta_info||{},u=n(),l=u?u.goldlogSendDomain:"unknow",c=s["aplus-rhost-g"],p=r.isMobile()?"mobile":"pc",f={clientType:p};l!==c&&(t.push({action:"aplus.record",arguments:["/aplus.monitor.intercept_expect","OTHER",i({logSendDomain:l},f)]}),t.push({action:"aplus.record",arguments:["/aplus.monitor.intercept_actual","OTHER",i({logSendDomain:c},f)]}))}},function(e,t){"use strict";t.isMobile=function(){var e=navigator?navigator.userAgent:"",t=/AliApp|Yunos|cyclone/i.test(e),a=/iPhone|iPad|iPod/i.test(e),n=/Android/i.test(e),o=/ArkWeb/i.test(e),r=/Windows Phone/i.test(e)||/IEMobile/i.test(e)||/WPDesktop/i.test(e),i=/BlackBerry/i.test(e),s=/Opera Mini/i.test(e);return t||a||n||o||r||i||s}},function(e,t,a){function n(e){var t=[];return i(e,function(e,a){null!==a&&("object"==typeof a&&(a=JSON.stringify(a)),t.push(encodeURIComponent(e)+"="+encodeURIComponent(String(a))))}),t.join("&")}function o(e,t){var a=t||{};navigator.sendBeacon(e,JSON.stringify(a))}var r=a(13),i=a(18),s=a(60),u=a(59);e.exports=function(){var e=location.hostname,t="https://aplus.qwen.ai/service.stability.log_arrival_rate",a="https://ss.qwen.ai/ss.compare.service",i="https://"+e+"/api/v2/users/status",l="aplus.qwen.ai",c="ss.qwen.ai",p="tongyiLogService",f="5.0.0",g={logId:u.generateHexString(36),timestamp:s.getCurrentTimestamp(),domain:e,testTag:"compareLogService",testVersion:f};o(t+"?logId="+g.logId,{gmkey:"OTHER",gokey:n(r(g,{serviceName:l,requestType:"sendBeacon"}))}),o(a+"?logId="+g.logId,{gmkey:"OTHER",gokey:n(r(g,{serviceName:c,requestType:"sendBeacon"}))}),o(i,{typarms:r(g,{serviceName:p,requestType:"sendBeacon"})})}},function(e,t,a){"use strict";var n=a(34),o=a(82),r=navigator&&navigator.sendBeacon?"post":"get";t.run=function(e){return{status:"complete",do_tracker_jserror:function(t){try{var a=new o({logkey:t?t.logkey:"",ratio:t&&"number"==typeof t.ratio&&t.ratio>0?t.ratio:e.jsErrorRecordRatio}),i=["Message: "+t.message,"Error object: "+t.error].join(" - "),s=aplus.spm_ab||[],u=location?location.hostname+location.pathname:"";a.run({code:110,page:u,msg:"record_jserror_by"+r+"_"+t.message,spm_a:s[0],spm_b:s[1],c1:i,c2:t.filename,c3:location?location.protocol+"//"+u:""})}catch(e){n.logger({msg:e})}},do_tracker_browser_support:function(t){var a=!1;try{if(t&&t.page){var i=t.spm_ab?t.spm_ab.split("."):[],s=new o({ratio:t.ratio||e.browserSupportRatio}),u=aplus._aplus_client||{},l=u.ua_info||{};s.run({code:111,page:t.page,msg:t.msg+"_by"+r,spm_a:i[0],spm_b:i[1],c1:[l.o,l.b,l.w].join("_"),c2:t.etag||"",c3:t.cna||""}),a=!0}}catch(e){n.logger({msg:e})}return a}}}},function(e,t,a){"use strict";e.exports=function(){return{run:function(){var e=a(91),t=e.create({WS:null,format:"ALI"});t.run(this.options)}}}},function(e,t,a){"use strict";var n=a(10),o=a(92),r=a(21),i=a(3),s=a(2),u=s.getGlobalValue("aplus");e.exports=n.extend({subscribeLogs:function(e,t){var a=this;r.pushIntoGoldlogQueue(i.SUBSCRIBE,[e,function(e){e.status===i.COMPLETE&&a._canSendToGroup()&&t(e)}])},getLogicSymbol:function(){return"ALI"===this.format?"&":"||"},watchLOG:function(){var e=this,t=function(e,t){var a=u.getMetaInfo(i.APLUS_BRIDGE_NAME);if(!a){var n,r=o.getHttpBasicParams(e.what_to_send.logdata),s=e.where_to_send.method,l=u.getMetaInfo("aplus-first-tracking"),c=s;"POST"===s&&navigator&&navigator.sendBeacon?(c="POST",n="pv"===t?r.objStr:JSON.stringify(r.obj)):(c="GET",n=r.objStr),l&&"pv"===t&&u.send(e.where_to_send.url,r.objStr.replace(/a21dvn\.b28762401\.0\.0/,"a1z1d1.26790227.0.0"),"GET"),u.send(e.where_to_send.url,n,c)}};e.subscribeLogs("mw_change_pv",function(e){t(e,"pv")}),e.subscribeLogs("mw_change_hjlj",function(e){t(e,"aplus")})},_canSendToGroup:function(){var e=u.getMetaInfo(i.APLUS_LOG_PIPE);return""===e||/ALIGROUP/.test(e)},run:function(){this.watchLOG()}})},function(e,t,a){"use strict";function n(e,t){var a=e.client||{},n=a.screenWidth||"",o=a.screenHeight||"",r=n+t+o;return n&&o?r:"-"}function o(e,t){return m(t,function(t){delete e[t]}),e}function r(){if("boolean"!=typeof v){var e=navigator.userAgent;v=/Trident/.test(e)}return v}function i(e){var t=g.cloneDeep(e.gokey);return t.cache=e.cache,t=g.assign(t,e.sdk_info),t=g.assign(t,e.client),t=g.assign(t,e.etag),delete t.egUrl,t=o(t,["userAgent","pvid","cna","screenWidth","screenHeight"]),t._g_encode||(t._g_encode="utf-8"),f.encodeGokeyValue(g.cloneDeep(t))}function s(e,t){return b(e,[[p.SPM_CNT,t[p.SPM_CNT]],[p.SPM_URL,t[p.SPM_URL]],[p.SPM_PRE,t[p.SPM_PRE]]]),e}function u(e,t){var a=e;if(e.indexOf("uidaplus=")>-1){var n=e.split("uidaplus=");if("&"===n[1][0])a=e.replace(/uidaplus=/,"uidaplus="+t);else{var o=n[1].split("&");o[0]=t,a=n[0]+"uidaplus="+o.join("&")}}else a="uidaplus="+t+"&"+e;return a}function l(e){var t=d.getGoldlogVal("_$")||{},a=t.meta_info||{},o=e.logtype,l=e.cna_info,c=a["aplus-ifr-pv"]+""=="1",g=parent!==self;o=g&&!c?"0":"1";var m=[["logtype",o],["title",e.title],["pre",e.pre],["scr",n(e,"x")]];r()||m.push(["_p_url",e.url]),h(l)&&(m.push(["ts",l.timestamp]),m.push(["rd",l.randomNum])),b(m,[[f.s_plain_obj,"cna="+e.cna],["nick",e._user_nick],["wm_pageid",a.ms_data_page_id],["wm_prototypeid",a.ms_prototype_id],["wm_sid",a.ms_data_shop_id]]),m=s(m,e.gokey||{});var v=e.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 A=i(e,"PV");for(var P in A)b(m,[[P,A[P]]]);var S=f.arr2param(m);return{objStr:S,obj:f.param2obj(S)}}function c(e){var t=e.cna_info,a=[["gmkey",e.gmkey]],n=i(e,"LOG");h(t)&&(a.push(["ts",t.timestamp]),a.push(["rd",t.randomNum])),b(a,[["gokey",f.obj2param(n)],[f.s_plain_obj,"cna="+e.cna]]),a=s(a,e.gokey||{});var o=_.getUserId();b(a,[["_gr_uid_",o],["uidaplus",o],["logtype",e.logtype],["nick",e._user_nick],["scr",e.client.scr]]),n._isCombine&&a.push(["_isCombine",1]),r()||a.push(["_p_url",e.url]);var u=f.arr2param(a);return{objStr:u,obj:f.param2obj(u)}}var p=a(3),f=a(27),g=a(28),d=a(2),m=a(18),_=a(39),h=a(19);t.getKeyIndex=function(e){var t={protocol:1,event_args:25};return t[e]};var v,b=function(e,t){var a,n,o,r,i=t.length;for(a=0;a<i;a++)n=t[a],o=n[0],r=n[1],r&&e.push([o,r])};t.getHttpBasicParams=function(e){return"1"===e.logtype?l(e):c(e)},t.getWSBasicParams=function(e){var t=e.exparams,a=e.sdk_info||{},r=e.client.language||"",i=f.param2obj(t),u=g.assign(i,e.gokey);u=g.assign(u,a),u=g.assign(u,e.client),u=g.assign(u,e.etag),u=o(u,["userAgent","aplus","cna"]),u.jsver=a.jsver,u.lver=a.lver;var l=_.getUserId(),c=[["cna",e.cna]];return b(c,[["gmkey",e.gmkey],["gokey",f.obj2param(u)],["lang",r],["logkey",e.logkey],["logtype",e.logtype],["nick",e._user_nick],["pre",e.pre],["scr",n(e,"x")],["title",e.title],["ua",e.client.userAgent]]),c=s(c,e.gokey||{}),c.push(["uidaplus",l]),b(c,[["_p_url",e.url]]),f.arr2obj(c)}},function(e,t,a){"use strict";var n=a(18);e.exports=function(){return{getLogConfig:function(){var e={},t=this.options.config.plugins;for(var a in t)e[a]={plugins:t[a],context:{}},n(t[a],function(t){e[a].context[t.name]=t.config||{}});return e},run:function(){this.options.context.logConfig=this.getLogConfig(),this.options.context.logConfig.pageLoadTime=this.options.context.PAGE_LOAD_TIME}}}},function(e,t,a){"use strict";var n=a(43),o=a(29),r=a(60),i=a(95),s=a(2),u=a(28),l=a(96),c=a(97),p=a(53),f=a(3);e.exports=function(){return{init:function(e){var t=s.getGoldlogVal("globalConfig")||{},a=e.context.etag||{},i=c.getCnaMode(),u="LS"===i?o.getLsCna(t.ETAG_STORAGE_KEY):n.getCookieCna("cna");this.options=e,this.cna=a.cna||u,this.setTag(0),this.setStag(-1),this.setLsTag("-1"),this.setEtag(this.cna||""),this.requesting=!1,this.today=r.getFormatDate()},setLsTag:function(e){this.lstag=e,this.options.context.etag.lstag=e},setTag:function(e){this.tag=e,this.options.context.etag.tag=e},setStag:function(e){this.stag=e,this.options.context.etag.stag=e},setEtag:function(e){this.etag=e,this.options.context.etag.cna=e,n.getCookieCna("cna")!==e&&n.setCookieCna("cna",e,{SameSite:"none"})},setLscnaStatus:function(e){this.options.context.etag.lscnastatus=e},run:function(e,t){var a=this,n=s.getGlobalValue("aplus"),g="on"===n.getMetaInfo(f.APLUS_CNA_STABILITY);!n[f.APLUS_CNA]&&g&&(n[f.APLUS_CNA]={timestamp:r.getCurrentTimestamp(),randomNum:c.getRandomNum()});var d=c.isCnaEnable();if(d){if(a.cna)return void a.setTag(1);var m=null,_=n.getMetaInfo(f.APLUS_RHOST_V);if(_){this.options.context.etag.egUrl=_.replace(/\/\w+.gif$/,"")+"/eg.js";var h=i.getUrl(this.options.context.etag||{});a.requesting=!0;var v=function(){setTimeout(function(){t()},20),clearTimeout(m)},b=this.options.context.etag.unittest,y=b||c.requestCna,A=r.getCurrentTimestamp(),P=n.getMetaInfo("aplus-etag-timeout"),S=200,w=S;try{w=parseInt(P),(u.isNaN(w)||w<200)&&(w=S)}catch(e){}return y(h,function(e){var t,n,i=r.getCurrentTimestamp();if(e&&"error"===e.type?(l.toDynamicsNetwork(!0),a.setStag(-3),p.logCnaLoadInfo("failed",{loadUrl:h,loadType:"sync",errMsg:e.message})):(t=s.getGoldlogVal("Etag"),t&&a.setEtag(t),n=s.getGoldlogVal("stag"),"undefined"!=typeof n&&a.setStag(n),p.logCnaLoadInfo("success",{loadUrl:h,loadType:"sync",expectDuration:w,actualDuration:i-A})),a.requesting){var u=s.getGoldlogVal("globalConfig")||{};if(2===n||4===n){var c=o.getLsCna(u.ETAG_STORAGE_KEY);c?(a.setLsTag(1),a.setEtag(c)):(a.setLsTag(0),o.setLsCna(u.ETAG_STORAGE_KEY,a.today,t))}v()}}),m=setTimeout(function(){a.requesting=!1,a.setStag(-2),t()},w),w}}}}}},function(e,t,a){"use strict";var n=a(29);t.getUrl=function(e){var t=n.getUrl(e&&e.egUrl);return t}},function(e,t,a){"use strict";function n(e,t){if("dynamics"===t){var a=["gm.mmstat.com","wgo.mmstat.com"];return a.indexOf(e)>-1?"d-"+e:e}}function o(e){function t(){var e=r.getGlobalValue("aplus"),t=e.getMetaInfo("aplus-rhost-g"),a=n(t,o);a!==t&&e.setMetaInfo("aplus-rhost-g",a)}e=e||{};var a=e.maxCount||1,o=e.networkType||"static",s=e.directSwitch||!1,u=0;return function(e){e=e||s,e?t():(++u,u>=a&&(i.logger({lever:"warn",msg:"日志上报失败，注意，要切成动态网络啦!"}),t(),u=0))}}var r=a(2),i=a(34);t.toDynamicsNetwork=o({maxCount:1,networkType:"dynamics",directSwitch:!1})},function(e,t,a){"use strict";function n(){var e=s.getGlobalValue("aplus"),t=e.getMetaInfo(i.APLUS_CNA_MODE);return t}function o(){var e=s.getGlobalValue("aplus");return"on"===e.getMetaInfo(i.APLUS_CNA_ENABLE)}function r(){var e=4294967296*Math.random()>>>0,t=e>>>1;return t}var i=a(3),s=a(2),u=a(9),l=a(46),c=a(98),p=a(18),f=a(29),g=a(41),d=a(60);t.getCnaMode=n,t.isCnaEnable=o,t.requestCna=function(e,t){function a(e){u(t)&&t(e)}var o=n();"LS"===o?c.request(e,function(e){if(l(e)){var t=e.split(";");p(t,function(e){if(/^goldlog\.Etag/.test(e)){var t=e.split("=")[1].replace(/\"/g,""),a=s.getGoldlogVal("globalConfig")||{},n=d.getFormatDate();s.setGoldlogVal("Etag",t),f.setLsCna(a.ETAG_STORAGE_KEY,n,t)}else if(/^goldlog\.stag/.test(e)){var o=+e.split("=")[1];s.setGoldlogVal("stag",o)}})}a()},function(e){"object"==typeof e&&(e.type="error"),a(e)}):g.loadScript(e,function(e){a(e)})},t.getRandomNum=r},function(e,t,a){"use strict";var n=a(3),o=a(9),r={base:1e4,timeout:1e4},i=function(e,t,a,i){/^\/\//.test(e)&&(e=n.HTTPS+e);var s=!0,u=i&&i.timeout?i.timeout:r.timeout;setTimeout(function(){s&&(s=!1,o(a)&&a({timeout:u}))},u),window.fetch(e).then(function(e){return/application\/json/.test(e.headers.get("content-type"))?e.json():e.text()}).then(function(e){s&&(t(e),s=!1)}).catch(function(e){s&&a(e)})},s=function(e,t,a,n){var o,i="GET",s=function(){o.responseText?t(o.responseText):a()},u=window.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest;u?(o=new XMLHttpRequest,o.open(i,e,!0)):(o=new window.XDomainRequest,o.open(i,e));var l=n&&n.timeout?n.timeout:r.timeout;o.timeout=l,o.onload=s,o.onerror=a,o.ontimeout=a,o.send()},u=function(e,t,a,n){window.fetch?i(e,t,a,n):s(e,t,a,n)},l=function(e,t){e=e||{},e.method=(e.method||"POST").toUpperCase(),e.url=e.url||"",e.data=e.data||null,e.success=e.success||function(){},e.error=e.error||function(){};var a=new XMLHttpRequest,n=[];for(var o in e.data)n.push(o+"="+encodeURIComponent(e.data[o]));var r=n.join("&"),i=JSON.stringify(e.data||{});"POST"===e.method?(a.open(e.method,e.url,!0),a.setRequestHeader("Content-Type",t||"application/json")):"GET"===e.method&&a.open(e.method,e.url+"?"+r,!0),a.withCredentials=!0,a.timeout=3e3,a.onreadystatechange=function(){if(4==a.readyState&&200==a.status){var t={};try{t=JSON.parse(a.responseText)}catch(e){}e.success(t)}else 4==a.readyState&&e.error(a.staus)},"POST"===e.method?a.send(i):a.send()};t.request=u,t.request4um=l},function(e,t){"use strict";e.exports=function(){return{getMiniAppTrackInfo:function(e){var t=window;t.__megabilityBridge("TinyApp","getMiniAppTrackInfo",{},function(t){var a=(t.data||{}).result,n={_aplus_luid:a.luid,_aplus_lunick:a.lunick,_aplus_lusite:a.lusite,_aplus_uid:a.uid,_aplus_unick:a.unick,_aplus_usite:a.usite,mini_app_id:a.miniapp_id};e(n)},function(){e({})})},run:function(e,t){var a=this,n=window,o=n&&"undefined"!=typeof n.__megabilityBridge,r="{}"!==JSON.stringify(a.options.context.pha_trackinfo);if(!r&&n.pha&&n.pha.environment&&"object"==typeof n.pha.environment.miniappAppInfo&&o)return a.getMiniAppTrackInfo(function(e){a.options.context.pha_trackinfo&&(a.options.context.pha_trackinfo=e),t()}),200}}}},function(e,t,a){"use strict";var n=a(2);e.exports=function(){return{getMetaInfo:function(){var e=n.getGoldlogVal("_$")||{},t=e.meta_info;return t},getAplusWaiting:function(){var e=this.getMetaInfo()||{};return e["aplus-waiting"]},run:function(e,t){var a=this.options.config||{},o=this.getAplusWaiting(),r=!0,i=n.getGlobalValue("aplus"),s="default";if(i.globalConfig.isAli&&(s=window.APLUS_CONFIG&&window.APLUS_CONFIG.pvTrack||s,"off"===s&&(r=!1)),a.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(){t()},6e3),6e3;default:var u=1*o;if(u+""!="NaN")return this.options.context.when_to_sendpv.isWait=!0,setTimeout(function(){t()},u),u}}}}}},function(e,t,a){"use strict";var n=a(87),o=a(2),r=a(63),i=a(19),s=a(20),u="POST",l="GET";e.exports=function(){return{getMetaInfo:function(){var e=o.getGoldlogVal("_$")||{},t=e.meta_info;return t},getAplusMetaByKey:function(e){var t=this.getMetaInfo()||{};return t[e]},getRhost:function(e){var t="",a="";if("PV"===e)a="aplus-rhost-v",t=this.getAplusMetaByKey(a);else if(a="aplus-rhost-g",t=this.getAplusMetaByKey(a),["wgo.mmstat.com","gm.mmstat.com"].indexOf(t)>-1)n.isMobile()&&/gm/.test(t)&&(t="wgo.mmstat.com"),!n.isMobile()&&/wgo/.test(t)&&(t="gm.mmstat.com");else if(n.isMobile()){var o=t.match(/\/[a-z]+$/);r(o)?t+="/wap":t=t.replace(o[0],"/wap"+o[0])}return t},getHjljHostUrl:function(e){var t=this.options.context,a=t.userdata||{},n=a.gokey||{};e=i(n)&&n.logSendDomain?n.logSendDomain:e;var o=/^\/\//.test(e)?"":"//",r=/\/$/.test(e)?"":"/",u=o+e+r,l=this.options.context.userdata||{},c=l.logkey;return c?u+=/^(\/)/.test(c)?c.substr(1):c:s().w("eventCode "+c+' is invalid, suggestion: "/aplus.1.1"'),u},getPvHostUrl:function(e){var t=this.options.config;e=t.logSendDomain||e;var a=/^\/\//.test(e)?"":"//",r=/\/$/.test(e)?"":"/",i=o.getGoldlogVal("_$")||{},s=i.meta_info||{},u=s["aplus-ifr-pv"]+""=="1",l=parent!==self;if(/\.gif$/.test(e))return a+e;var c="v.gif";return n.isMobile()&&(c="m.gif"),l&&!u&&(c="y.gif"),a+e+r+c},getChannel:function(e){var t,a=this.getAplusMetaByKey("aplus-channel"),n=["WS","WS-ONLY",l,u];return n.indexOf(e)>-1&&(t=e),!t&&n.indexOf(a)>-1&&(t=a),t},run:function(){var e=!!this.options.context.is_single;if(!e){var t=this.options.config.recordType,a=this.getRhost(t);if(!a)return"done";var n;n="PV"===t?this.getPvHostUrl(a):this.getHjljHostUrl(a);var o=this.options.config||{},r=this.getChannel(o.method)||u;r!==u||navigator&&navigator.sendBeacon||(r=l),this.options.context.where_to_send.method=o.method,this.options.context.where_to_send.url=n}}}}},function(e,t,a){"use strict";var n=a(43),o=a(17),r=a(28),i=a(87),s=a(2),u=a(45),l=a(39),c=a(3),p=s.getGlobalValue("aplus");e.exports=function(){return{getPageId:function(){var e=this.options.config||{},t=this.options.context||{},a=t.userdata||{};return e.page_id||e.pageid||e.pageId||a.page_id},resetSpmB:function(){var e=this.options.config||{},t=s.getGlobalValue("aplus");if(!e.is_auto&&t.spmAPI){var a=s.getGoldlogVal("_$")||{},n=a.spm||{},o=n.data.b;if(o){var r=this.getPageId();o=r?o.split("/")[0]+"/"+r:o.split("/")[0],t.spmAPI.setB(o);var i=n.spm_cnt.split(".");i&&i.length>2&&(i[1]=o,n.spm_cnt=i.join("."))}}},getCommonParams:function(){var e=this.options.context||{},t=e.etag||{},a=e.userdata||{},f=s.getGoldlogVal("_$")||{},g=s.getGoldlogVal(c.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(c.APLUS_TRACK_DEBUG_ID),A={_f_t:!!h};v&&(A.pid=v),y&&(A.aplus_track_debug_id=y),b&&(A.code_version=b),e.pha_trackinfo&&(A=r.assign(A,e.pha_trackinfo));var P={};p.globalConfig.isAli&&(P={"spm-url":d.spm_url||"","spm-pre":d.spm_pre||"","spm-cnt":d.spm_cnt||"",pvid:p.pvid||""});var S=(p.globalConfig.isDecodeUrl?"DC_":"")+Math.floor(268435456*Math.random()).toString(16),w={appId:p.getMetaInfo("appKey")||p.getMetaInfo("appId"),cache:S,cna:t.cna||n.getCookieCna("cna"),etag:t,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(P,A),_user_nick:l.getUserNick(),gmkey:a.gmkey||"",method:this.options.context.where_to_send.method},E=o.getParamFromUrl("scm",location.href)||"";return E&&(w.scm=E),a.gokey&&a.gokey.alsc_spm_url&&(w.gokey["spm-url"]=a.gokey.alsc_spm_url),a.gokey&&a.gokey.alsc_spm_pre&&(w.gokey["spm-pre"]=a.gokey.alsc_spm_pre),a.gokey&&a.gokey.alsc_page_name&&(w.title=a.gokey.alsc_page_name),w},getPvParams:function(){var e=this.options.context.where_to_send.url,t=this.getCommonParams();this.options.config.is_auto||(t.sdk_info.mansndlog=1);var a="/v.gif";return/yt\.gif$/.test(e)?a="yt.gif":i.isMobile()&&(a="/m.gif"),r.assign(t,{event_code:"2001",logtype:"1",logkey:a,event_timestamp:p._$.send_pv_count>0?new Date:p.logConfig.pageLoadTime})},checkEventCodeLegality:function(e){return/^(([0-9])|([1-9][0-9]{1,5}))$/.test(e)},getHjljParams:function(){var e=this.options.context||{},t=e.userdata||{},a=this.checkEventCodeLegality(t.gmkey)?t.gmkey:c.OTHER,n={event_code:c.EVENT_ID_MAP[t.gmkey]||a,logtype:"2",logkey:t.logkey,event_timestamp:new Date};return t["spm-cnt"]&&(n["spm-cnt"]=t["spm-cnt"]),t["spm-pre"]&&(n["spm-pre"]=t["spm-pre"]),r.assign(this.getCommonParams(),n)},run:function(){var e={};"PV"===this.options.config.recordType?(this.resetSpmB(),e=this.getPvParams()):e=this.getHjljParams(),this.options.context.what_to_send.logdata=e}}}},function(e,t,a){"use strict";var n=a(28),o=a(43);e.exports=function(){return{run:function(){var e={},t=o.getCookie("workno")||o.getCookie("emplId");t&&(e.workno=t);var a=o.getHng();a&&(e._hng=o.getHng());var r;r=this.options.context.what_to_send.logdata,r.gokey=n.assign(r.gokey,e)}}}},function(e,t,a){"use strict";var n=a(27),o=a(38),r=a(28),i=a(2),s=a(3),u=a(47);e.exports=function(){return{getUserdata:function(){var e=i.getGlobalValue("aplus"),t=this.options.config||{},a={};t&&!t.is_auto&&t.gokey&&("string"==typeof t.gokey?a=n.param2obj(t.gokey):"object"==typeof t.gokey&&(a=t.gokey));var s=function(e){o(e)?e.forEach(function(e){a=r.assign(a,e)}):a=r.assign(a,e)};s(e.getMetaInfo("aplus-globaldata")),s(e.getMetaInfo("aplus-cpvdata"));var u=this.options.context||{},l=u.userdata||{};return s(l),a},processLodashDollar:function(){var e=this.options.config||{},t=i.getGoldlogVal("_$")||{};e&&e.referrer&&(t.page_referrer=e.referrer),i.setGoldlogVal("_$",t)},updatePre:function(e){var t=i.getGoldlogVal("_$")||{};return t.page_referrer&&(e.pre=t.page_referrer),e},updateSpmUrl:function(e){var t=this.options.config||{},a=t[s.SPM_URL]||t.spmUrl;if(!u(a)){e.gokey[s.SPM_URL]=a;var n=i.getGlobalValue("aplus");n._$.spm.spm_url=a}return e},run:function(){var e=this.options.context.what_to_send.logdata,t=r.assign(this.getUserdata(),e.userdata||{});this.processLodashDollar(),e.gokey=r.assign(e.gokey,t),e=this.updatePre(e),e=this.updateSpmUrl(e),this.options.context.what_to_send.logdata=e,this.options.context.userdata=e.gokey,this.options.context.pure_userdata=t}}}},function(e,t,a){"use strict";var n=a(40),o=a(106),r=a(13);e.exports=function(){return{getExParamsInfo:function(){var e=n.getExParams();return this.options.context.what_to_send.logdata.exparams=e,o(e)},run:function(){var e=this.options.context.what_to_send.logdata.gokey;e=r(this.getExParamsInfo(),e),this.options.context.what_to_send.logdata.gokey=e}}}},function(e,t,a){var n=a(27);e.exports=function(e){var t={};try{var a=n.param2obj(e.replace(/&amp;/g,"&").replace(/\buser(i|I)d=/,"uidaplus=").replace(/&aplus&/,"&"));a.uidaplus&&(t.uidaplus=a.uidaplus),t.pc_i=a.pc_i,t.pu_i=a.pu_i}catch(e){console&&console.log(e)}return t}},function(e,t,a){"use strict";function n(e){var t,a,n,o,i=[],s={};for(t=e.length-1;t>=0;t--)a=e[t],n=a[0],n&&n.indexOf(r.s_plain_obj)==-1&&s.hasOwnProperty(n)||(o=a[1],("aplus"==n||o)&&(i.unshift([n,o]),s[n]=1));return i}function o(e){var t,a,n,o,i=[],u={logtype:!0,cache:!0,scr:!0,"spm-cnt":!0};for(t=e.length-1;t>=0;t--)if(a=e[t],n=a[0],o=a[1],!(s.isStartWith(n,r.s_plain_obj)&&!s.isStartWith(n,r.mkPlainKeyForExparams())||u[n]))if(s.isStartWith(n,r.mkPlainKeyForExparams())){var l=r.param2arr(o);if("object"==typeof l&&l.length>0)for(var c=l.length-1;c>=0;c--){var p=l[c];p&&p[1]&&i.unshift([p[0],p[1]])}}else i.unshift([n,o]);return i}var r=a(33),i=a(42),s=a(28),u=a(2),l=a(43),c=a(17),p=a(3);e.exports=function(){return{keyIsAvailable:function(e){var t=["functype","funcId","spm-cnt","spm-url","spm-pre","_ish5","_is_g2u","_h5url","cna","isonepage","lver","jsver"];return i.indexof(t,e)===-1},valIsAvailable:function(e){
return"object"!=typeof e&&"function"!=typeof e},upUtData:function(e,t){var a=this;if(e=e?e:{},t&&"object"==typeof t)for(var n in t){var o=t[n];n&&a.valIsAvailable(o)&&a.keyIsAvailable(n)&&(e[n]=o)}return e},getToUtData:function(){var e=u.getGoldlogVal("_$")||{},t=u.getGlobalValue(p.APLUS),a=e.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(n(g.exparams||[]));_=r.arr2obj(_);var h=i.userdata,v=location.href,b={},y=c.getParamFromUrl("scm",v)||"";y&&(b.scm=y);var A=c.getParamFromUrl("pg1stepk",v)||"";A&&(b.pg1stepk=A);var P=c.getParamFromUrl("point",v)||"";P&&(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",t&&t.globalConfig&&t.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",a.spm_cnt&&(b[p.SPM_CNT]=a.spm_cnt||""),a.spm_url&&(b[p.SPM_URL]=a.spm_url||""),a.spm_pre&&(b[p.SPM_PRE]=a.spm_pre||""),b.cna=m.cna||l.getCookieCna("cna"),b.lver=d.lver,b.jsver=d.jsver,b.pver="1.0.0",b.isonepage=-1;var S=t.getMetaInfo("aplus-utparam");return S&&(b["utparam-cnt"]=JSON.stringify(S)),b._is_g2u_=1,b._slog=1,b},run:function(){var e=this.options.context||{},t=e.what_to_send||{};t.pvdataToUt=this.getToUtData(),this.options.context.what_to_send=t}}}},function(e,t,a){"use strict";var n=a(2),o=a(109);e.exports=function(){return{run:function(){var e=n.getGoldlogVal("_$")||{},t=this.options.context.can_to_sendpv||{},a=e.send_pv_count||0,r=this.options.config||{},i=!!r.updateOnly;return e.cur_pv_update=i,o.canSendPV(r.track_type)?(t.flag="YES",this.options.context.can_to_sendpv=t,e.send_pv_count=++a,void n.setGoldlogVal("_$",e)):"done"}}}},function(e,t,a){function n(e){var t=r.getGlobalValue(i.APLUS),a=t.getMetaInfo(i.APLUS_EVENT_LIMITRATES);if(a&&a.length>0){var n=l.find(a,function(t){return t.eventId===e});if(n){var o=Math.ceil(1e3*Math.random());return o<1e3*n.samplingRate}return!0}return!0}function o(){var e=r.getGlobalValue("aplus"),t=e.globalConfig.isUM;return!!t}var r=a(2),i=a(3),s=a(110),u=a(112),l=a(42),c=a(37),p=a(28),f=a(33);t.canToSendHJLJ=function(e,t){var a=s.getDeviceStatus();if(!a)try{var o=c.getContext();return p.isEmptyObject(o)?void 0:t===i.APP_START||t===i.APP_END}catch(e){}var r=s.getAutoTrackStatus(),l=s.getAutoEventStatus(),g=u.getAutoTrackStatus(),d={};if(d="string"==typeof e?f.arr2obj(f.param2arr(e)):e,d.auto_element){if(2===l||2===r)return;if(!r&&!g)return}if(n(t))return!0},t.canSendPV=function(e){if(!o())return!0;var t=s.getDeviceStatus(),a=s.getAutoPageStatus(),n=u.localAutoPVDisabled(),r=!0;if(t){if("1"===e)return!(2===a||!a&&n)}else r=!1;return r}},function(e,t,a){"use strict";function n(e){var t;return t=c.isWeb()?p.getLsRemoteCfg(d):f().getSync(l.APLUS_REMOTE_CONFIG),t&&t[e]}function o(e){var t=c.getContext();t.aplus_queue.push({action:"aplus.setMetaInfo",arguments:[l.APLUS_DISABLE_AUTOEVENT_REMOTE,e]})}function r(e){var t=c.getContext();t.aplus_queue.push({action:"aplus.setMetaInfo",arguments:[l.APLUS_DEVICE_ENABLE,e]})}function i(e){var t=c.getContext();t.aplus_queue.push({action:"aplus.setMetaInfo",arguments:[l.APLUS_DISABLE_AUTOPV_REMOTE,e]})}function s(e){var t=c.getContext();t.aplus_queue.push({action:"aplus.setMetaInfo",arguments:[l.APLUS_AUTOTRACK_ENABLED_REMOTE,e]})}var u=a(33),l=a(3),c=a(2),p=a(29),f=a(111),g=a(28),d="APLUS_REMOTE_CONFIG";t.getAutoEventStatus=function(){var e=c.getGlobalValue("aplus"),t=e.getMetaInfo(l.APLUS_DISABLE_AUTOEVENT_REMOTE)||n("codelessClickEventStatus");return t},t.getDeviceStatus=function(){var e=c.getGlobalValue("aplus");return n("currentDeviceEnable")||e.getMetaInfo(l.APLUS_DEVICE_ENABLE)},t.getAutoPageStatus=function(){var e=c.getGlobalValue("aplus"),t=e.getMetaInfo(l.APLUS_DISABLE_AUTOPV_REMOTE)||n("codelessCollectorPageStatus");return t},t.getAutoTrackStatus=function(){var e=c.getGlobalValue("aplus"),t=e.getMetaInfo(l.APLUS_AUTOTRACK_ENABLED_REMOTE)||n("codelessStatus");return t},t.enableCfg=function(e){var t=c.getContext();e&&!g.isEmptyObject(e)&&(o(e.codelessClickEventStatus),i(e.codelessCollectorPageStatus),s(e.codelessStatus),r(e.currentDeviceEnable),e.eventSamplingRate&&e.eventSamplingRate.length>0&&t.aplus_queue.push({action:"aplus.setMetaInfo",arguments:[l.APLUS_EVENT_LIMITRATES,u.mapEventSampleRates(e.eventSamplingRate)]}),e.codelessIgnoreComponent&&e.codelessIgnoreComponent.length>0&&t.aplus_queue.push({action:"aplus.setMetaInfo",arguments:[l.APLUS_AUTOTRACK_CONFIG_REMOTE,e.codelessIgnoreComponent]}))}},function(e,t,a){var n=a(37),o=a(9),r=a(32),i=a(33),s=a(3);e.exports=function(){function e(){var e=n.getContext();this.load=function(t){u?(e.removeStorage({key:a}),o(t)&&t()):(a="aplus_cache_"+i.getAppKey()||"",e.getStorage({key:a,success:function(n){u=n&&n.data?r.parse(n.data)||{}:{},l=!0,e.removeStorage({key:a}),o(t)&&t()},fail:function(){u={},l=!0,e.removeStorage({key:a}),o(t)&&t()}}))},this.save=function(){u&&e.setStorage({key:a,data:r.stringfy(u)})},this.set=function(e,t){u&&(u[e]=t)},this.get=function(e){return(u||{})[e]},this.remove=function(e){u&&u[e]&&delete u[e]},this.getAll=function(){return u},this.clear=function(){u=null},this.has=function(e){return!!this.get(e)},this.isLoaded=function(){return l},this.getSync=function(e){try{var t=n.getStorageSync(e);return e===s.APLUS_IMPRINT_VERSION?t:"string"==typeof t?r.parse(t):t}catch(e){}},this.setSync=function(e,t){try{"object"==typeof t?n.setStorageSync(e,JSON.stringify(t)):n.setStorageSync(e,t)}catch(e){}}}var t=null,a="",u=null,l=!1;return function(){return t||(t=new e),t}}()},function(e,t,a){"use strict";var n=a(3),o=a(2);t.localAutoEventDisabled=function(){var e=o.getGlobalValue("aplus");return!!e.getMetaInfo(n.APLUS_DISABLE_AUTOEVENT)},t.localAutoPVDisabled=function(){var e=o.getGlobalValue("aplus");return!(!e.getMetaInfo(n.APLUS_DISABLE_AUTOPV)&&"MAN"!==e.getMetaInfo("aplus-waiting"))},t.getAutoTrackStatus=function(){var e=o.getGlobalValue("aplus");return!!e.getMetaInfo(n.APLUS_AUTOTRACK_ENABLED)}},function(e,t,a){"use strict";var n=a(36),o=a(2);e.exports=function(){return{run:function(){var e=o.getGlobalValue("aplus"),t=e._$||{},a=this.options.context||{};o.setGoldlogVal("pv_context",a);var r=e.spm_ab||[],i=r.join("."),s=t.send_pv_count,u={cna:a.etag?a.etag.cna:"",count:s,spmab_pre:e.spmab_pre};n.doPubMsg(["sendPV","complete",i,u]),n.doCachePubs(["sendPV","complete",i,u])}}}},function(e,t,a){"use strict";var n=a(27),o=a(38),r=a(28),i=a(2);e.exports=function(){return{getUserData:function(){var e=i.getGlobalValue("aplus"),t=this.options.context||{},a=t.userdata||{},s=t.what_to_send.logdata.gokey,u=e.getMetaInfo("aplus-exinfo");s=r.assign(s,e.getMetaInfo("aplus-globaldata")),u&&(s=r.assign(s,n.param2obj(u)));var l=e.getMetaInfo("aplus-exdata");return o(l)?l.forEach(function(e){s=r.assign(s,e)}):s=r.assign(s,e.getMetaInfo("aplus-exdata")),s=r.assign(s,n.param2obj(a.gokey))},run:function(){this.options.context.what_to_send.logdata.gokey=this.getUserData()}}}},function(e,t,a){"use strict";var n=a(40),o=a(106),r=a(28);e.exports=function(){return{getExParamsInfo:function(){var e=n.getExParams();return this.options.context.what_to_send.logdata.exparams=e,o(e)},run:function(){var e=this.options.context.what_to_send.logdata.gokey;e=r.assign(this.getExParamsInfo(),e),this.options.context.what_to_send.logdata.gokey=e}}}},function(e,t,a){"use strict";var n=a(2),o=a(3),r=a(13),i=a(18),s=a(19),u=a(66);e.exports=function(){return{formatGokey:function(e,t){if(s(e)){var a={},n=[];return i(e,function(e,t){var o=t;("undefined"===o||u(o))&&(o=""),a[e]=o,n.push(e+"="+o)}),"object"===t?a:n.join("&")}return e},getToUtData:function(){var e=n.getGoldlogVal("_$")||{},t=n.getGlobalValue(o.APLUS),a=e.spm||{},i=e.meta_info||{},s="off"===i[o.APLUS_GOKEY_ISOLATE],u=this.options.context||{},l=u.userdata||{},c=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,t&&t.globalConfig&&t.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",a.spm_cnt&&(_[o.SPM_CNT]=a.spm_cnt||""),a.spm_url&&(_[o.SPM_URL]=a.spm_url||""),a.spm_pre&&(_[o.SPM_PRE]=a.spm_pre||""),_.cna=c.cna,_.lver=g.lver,_.jsver=g.jsver,l.hasOwnProperty("autosend")&&(_.autosend=l.autosend);var h=t.getMetaInfo("aplus-utparam");return h&&(_["utparam-cnt"]=JSON.stringify(h)),_},run:function(){var e=this.options.context||{},t=e.what_to_send||{};t.pvdataToUt=this.getToUtData(),this.options.context.what_to_send=t}}}},function(e,t,a){"use strict";e.exports=function(){return{run:function(){a(118)()}}}},function(e,t,a){"use strict";var n=a(41),o=a(2),r=a(119),i=a(126),s=a(127),u=a(128),l=a(129),c=a(130);e.exports=function(){var e=o.getGoldlogVal("_$")||{},t=e.meta_info,p=t["aplus-touch"],f={isTouchEnabled:n.isTouch()||"1"===p||"tap"===p,isTerminal:e.is_terminal||/WindVane|Themis/i.test(navigator.userAgent)};a(120).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",c.run()),i.run(f),s.run(f),u.run(f),l.run(f)}},function(e,t,a){"use strict";function n(e){if(e&&1===e.nodeType){s.tryToRemoveAttribute(e,"data-spm-max-idx"),s.tryToRemoveAttribute(e,"data-auto-spmd-max-idx");for(var t=l.nodeListToArray(e.getElementsByTagName("a")),a=l.nodeListToArray(e.getElementsByTagName("area")),n=t.concat(a),o=0;o<n.length;o++)s.tryToRemoveAttribute(n[o],p)}}function o(e,t){var a=s.tryToGetAttribute(e,p),n="0";if(a&&c.spm_isSPMAnchorIdMatch(a))c.spm_anchorEnsureSPMId_inHref(e,a,t);else{var o=c.spm_spmGetParentSPMId(e.parentNode);if(n=o.spm_c,!n)return void c.spm_dealNoneSPMLink(e,t);c.spm_initSPMModule(o.el,n,t),c.spm_initSPMModule(o.el,n,t,!0)}}function r(e){var t,a=e.tagName;"A"!==a&&"AREA"!==a?t=c.spm_getParamForAD(e):(o(e,!0),t=s.tryToGetAttribute(e,p)),t||(t="0.0.0.0");var n=u.getPvId();4===t.split(".").length&&n&&(t+="."+n),"A"!==a&&"AREA"!==a&&s.tryToSetAttribute(e,p,t),t=t.split(".");var r={a:t[0],b:t[1],c:t[2],d:t[3]};return t[4]&&(r.e=t[4]),r}function i(e,t){var a=r(e),n=[a.a,a.b,a.c,a.d];return t&&a.e&&n.push(a.e),n.join(".")}var s=a(23),u=a(120),l=a(29),c=a(122),p="data-spm-anchor-id";t.spm_resetModule=n,t.spm_spmAnchorChk=o,t.spm_getSPMParam=r,t.spm_forwap=i},function(e,t,a){"use strict";function n(){var e,t=i.getGlobalValue("aplus");try{var a=t.getMetaInfo("aplus-disable-pvid")+"";"true"===a?e=!0:"false"===a&&(e=!1)}catch(e){}return e}function o(){var e=i.getGlobalValue("aplus");return n()?"":e.pvid}var r=a(36),i=a(2),s=a(121);t.isDisablePvid=n,t.makePVId=function(){var e=i.getGlobalValue("aplus"),t=e.pvid,a=location&&location.href,u=document&&document.title;e.pvid=s.getLogId(a,u),e.getPvId=o;var l=["pvidChange",{pre_pvid:t,pvid:e.pvid}];return r.doPubMsg(l),r.doCachePubs(l),n()?"":e.pvid},t.getPvId=o},function(e,t,a){"use strict";function n(e,t,a){return e?o.hash(encodeURIComponent(e)).substr(0,t):a}var o=a(59),r=function(e){function t(e){var t="0123456789abcdefhijklmnopqrstuvwxyzABCDEFHIJKLMNOPQRSTUVWXYZ",a="0123456789abcdefghijkmnopqrstuvwxyzABCDEFGHIJKMNOPQRSTUVWXYZ";return 1==e?t.substr(Math.floor(60*Math.random()),1):2==e?a.substr(Math.floor(60*Math.random()),1):"0"}for(var a,n="",o="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",r=!1;n.length<e;)a=o.substr(Math.floor(62*Math.random()),1),!r&&n.length<=2&&("g"==a.toLowerCase()||"l"==a.toLowerCase())&&(0===n.length&&"g"==a.toLowerCase()?Math.random()<.5&&(a=t(1),r=!0):1==n.length&&"l"==a.toLowerCase()&&"g"==n.charAt(0).toLowerCase()&&(a=t(2),r=!0)),n+=a;return n};t.getLogId=function(e,t){var a=r(8),o=a.substr(0,4),i=a.substr(0,6);return[n(e,4,o),n(t,4,o),i].join("")}},function(e,t,a){"use strict";function n(e){for(var t,a="data-spm-ab-max-idx",n={},o="";e&&e.tagName!=T&&e.tagName!=E;){if(!o&&(o=v.tryToGetAttribute(e,"data-spm-ab"))){t=parseInt(v.tryToGetAttribute(e,a))||0,n.a_spm_ab=o,n.ab_idx=++t,e.setAttribute(a,t);break}if(v.tryToGetAttribute(e,"data-spm"))break;e=e.parentNode}return n}function o(){var e=b.getGoldlogVal("_$")||{},t=e.spm.data;return[t.a,t.b].join(".")}function r(e){var t=o(),a=e.split(".");return a[0]+"."+a[1]==t}function i(e,t){var a=b.getGlobalValue("aplus");if(!a.isUT4Aplus||"UT4Aplus"!==a.getMetaInfo("aplus-toUT")){if(e&&/&?\bspm=[^&#]*/.test(e)&&(e=e.replace(/&?\bspm=[^&#]*/g,"").replace(/&{2,}/g,"&").replace(/\?&/,"?").replace(/\?$/,"")),!t)return e;var n,o,r,i,s,u,l,c="&";e.indexOf("#")!==-1&&(r=e.split("#"),e=r.shift(),o=r.join("#")),i=e.split("?"),s=i.length-1,r=i[0].split("//"),r=r[r.length-1].split("/"),u=r.length>1?r.pop():"",s>0&&(n=i.pop(),e=i.join("?")),n&&s>1&&n.indexOf("&")==-1&&n.indexOf("%")!==-1&&(c="%26");var p="";if(e=e+"?spm="+p+t+(n?c+n:"")+(o?"#"+o:""),l=_.isContain(u,".")?u.split(".").pop().toLowerCase():""){if({png:1,jpg:1,jpeg:1,gif:1,bmp:1,swf:1}.hasOwnProperty(l))return 0;!n&&s<=1&&(o||{htm:1,html:1,php:1,aspx:1,shtml:1,xhtml:1}.hasOwnProperty(l)||(e+="&file="+u))}return e}}function s(e,t){var a=b.getGlobalValue("aplus");if(!a.isUT4Aplus||"UT4Aplus"!==a.getMetaInfo("aplus-toUT")){var n,o=e.innerHTML;o&&o.indexOf("<")==-1&&(n=document.createElement("b"),n.style.display="none",e.appendChild(n)),e.href=t,n&&e.removeChild(n)}}function u(e,t,a){if(!/^0\.0\.?/.test(t)){var n=y.tryToGetHref(e),r=o(),u=w.is_ignore_spm(e);if(u){var l=m.param2obj(n);if(l.spm&&l.spm.split)for(var c=l.spm.split("."),p=t.split("."),f=0;f<3&&p[f]===c[f];f++)2===f&&c[3]&&(t=l.spm)}e.setAttribute("data-spm-anchor-id",t);var g=A.getPvId();g&&(t+="."+g);var d="0.0";(g||r&&r!=d)&&(u||a||(n=i(n,t))&&s(e,n))}}function l(e){var t=v.tryToGetAttribute(e,x),a=h.parseSemicolonContent(t)||{};return a}function c(e){var t,a=b.getGoldlogVal("_$")||{},n=a.spm.data;return"0"==n.a&&"0"==n.b?t="0":(t=v.tryToGetAttribute(e,I),t&&t.match(/^d\w+$/)||(t="")),t}function p(e,t){for(var a=[],n=h.nodeListToArray(e.getElementsByTagName("a")),o=h.nodeListToArray(e.getElementsByTagName("area")),r=n.concat(o),i=0;i<r.length;i++){for(var s=!1,u=r[i],l=r[i];(u=u.parentNode)&&u!=e;)if(v.tryToGetAttribute(u,I)){s=!0;break}if(!s){var c=v.tryToGetAttribute(l,C);t||"t"===c?t&&"t"===c&&a.push(l):a.push(l)}}return a}function f(e){for(var t,a=e;e&&e.tagName!==T&&e.tagName!==E&&e.getAttribute;){var n=e.getAttribute(I);if(n){t=n,a=e;break}if(!(e=e.parentNode))break}return t&&!/^[\w\-\.\/]+$/.test(t)&&(t="0"),{spm_c:t,el:a}}function g(e,t){var a=parent!==self,n=b.getGlobalValue("aplus"),o="on"===n.getMetaInfo("aplus-iframe-ignore-i"),r="true"===P.getParamFromUrl("aplus_heat",location.href)||!!S.getCookie("aplus_heat");if((!a||o||r)&&t)return[e,t].join(".");if(e&&t)return e+".i"+t;var i=window.g_SPM||(window.g_SPM={}),s=i.spm_d_for_ad||{};return"number"==typeof s[e]?s[e]++:s[e]=0,i.spm_d_for_ad=s,e+".i"+s[e]}function d(e){var t;return e&&(t=e.match(/&?\bspm=([^&#]*)/))?t[1]:""}var m=a(27),_=a(28),h=a(29),v=a(23),b=a(2),y=a(123),A=a(120),P=a(17),S=a(43),w=a(124),E="BODY",T="HTML",I="data-spm",x="data-spm-click",C="data-auto-spmd",N="data-spm-anchor-id";t.getGlobalSPMId=o,t.spm_isSPMAnchorIdMatch=r,t.spm_updateHrefWithSPMId=i,t.spm_writeHref=s,t.spm_anchorEnsureSPMId_inHref=u,t.getElDataSpm=l,t.spm_getAnchor4thId_spm_d=c,t.spm_getModuleLinks=p,t.spm_spmGetParentSPMId=f,t.get_spm_for_ad=g,t.spm_getParamForAD=function(e){var t=v.tryToGetAttribute(e,N);if(!t){var a=o(),n=e.parentNode;if(!n)return"";var r=l(e)||{},i=r.locaid||"",s=e.getAttribute(I)||i,u=f(n),c=u.spm_c||0;c&&c.indexOf(".")!==-1&&(c=c.split("."),c=c[c.length-1]),t=g(a+"."+c,s)}return t},t.spm_initSPMModule=function(e,t,a,i){var s;if(t=t||e.getAttribute("data-spm")||""){var f=p(e,i);if(0!==f.length){var g=t.split("."),d=_.isStartWith(t,"110")&&3==g.length;d&&(s=g[2],g[2]="w"+(s||"0"),t=g.join("."));var m=o();if(m&&m.match(/^[\w\-\*]+(\.[\w\-\*\/]+)?$/))if(_.isContain(t,".")){if(!_.isStartWith(t,m)){var h=m.split(".");g=t.split(".");for(var b=0;b<h.length;b++)g[b]=h[b];t=g.join(".")}}else _.isContain(m,".")||(m+=".0"),t=m+"."+t;if(t.match&&t.match(/^[\w\-\*]+\.[\w\-\*\/]+\.[\w\-\*\/]+$/)){for(var A="data-auto-spmd-max-idx",P="data-spm-max-idx",S=i?A:P,w=parseInt(v.tryToGetAttribute(e,S))||0,E=0;E<f.length;E++){var T=f[E],I=y.tryToGetHref(T),C=v.tryToGetAttribute(T,x);if(i||I||C){d&&T.setAttribute("data-spm-wangpu-module-id",s);var U=T.getAttribute(N);if(U&&r(U))u(T,U,a);else{var M,k,L=n(T.parentNode);L.a_spm_ab?(k=L.a_spm_ab,M=L.ab_idx):(k=void 0,w++,M=w);var O,R=l(T)||{},V=R.locaid||"";V?O=V:(O=c(T)||M,i&&(O="at"+((_.isNumber(O)?1e3:"")+O))),U=k?t+"-"+k+"."+O:t+"."+O,u(T,U,a)}}}e.setAttribute(S,w)}}}},t.spm_dealNoneSPMLink=function(e,t){var a=b.getGlobalValue("aplus"),n=a.getMetaInfo("aplus-getspmcd"),r=o(),i=y.tryToGetHref(e),l=d(i),p=null,f=r&&2==r.split(".").length;if(f){var g;return"function"==typeof n&&(g=n(e,null,r)),p=g&&"0"!==g.spm_c?[r,g.spm_c,g.spm_d]:[r,0,c(e)||0],void u(e,p.join("."),t)}i&&l&&(i=i.replace(/&?\bspm=[^&#]*/g,"").replace(/&{2,}/g,"&").replace(/\?&/,"?").replace(/\?$/,"").replace(/\?#/,"#"),s(e,i))}},function(e,t,a){"use strict";var n=a(30);t.tryToGetHref=function(e){var t;try{t=n.trim(e.getAttribute("href",2))}catch(e){}return t||""}},function(e,t,a){"use strict";function n(e){return!!e&&!!e.match(/^[^\?]*\balipay\.(?:com|net)\b/i)}function o(e){return!!e&&!!e.match(/^[^\?]*\balipay\.(?:com|net)\/.*\?.*\bsign=.*/i)}function r(e){var t=location.href;return e&&t.split("#")[0]===e.split("#")[0]}function i(e){for(var t;(e=e.parentNode)&&"BODY"!==e.tagName;)if(t=u.tryToGetAttribute(e,g))return t;return""}function s(e){for(var t=["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"],a=0;a<t.length;a++)if(e.indexOf(t[a])!==-1)return!0;return!1}var u=a(23),l=a(28),c=a(123),p=a(2),f=a(125),g="data-spm-protocol";t.is_ignore_spm=function(e){var t=p.getGoldlogVal("_$")||{},a=t.meta_info||{},d=c.tryToGetHref(e),m=i(e),_=u.tryToGetAttribute(e,g),h="i"===(_||m||a.spm_protocol);if(!d||s(d))return!0;var v=r(d)||f.isStartWithProtocol(d.toLowerCase()),b=n(d)||o(d),y=v||b;return!(h||!l.isStartWith(d,"#")&&!y)||h}},function(e,t,a){var n=a(28);t.isStartWithProtocol=function(e){for(var t=["javascript:","tel:","sms:","mailto:","tmall://","#"],a=0,o=t.length;a<o;a++)if(n.isStartWith(e,t[a]))return!0;return!1}},function(e,t,a){"use strict";function n(e,t,a){var n=u.parseSemicolonContent(t,{},!0),o=n.gostr||"",r=n.locaid||"",c=e.getAttribute("data-spm")||r,g="CLK",d=n.gokey||"",m=f.spm_getSPMParam(e),_=[m.a,m.b,m.c,c].join("."),h=o+"."+_;0!==h.indexOf("/")&&(h="/"+h);var v=[],b=["gostr","locaid","gmkey","gokey","spm-cnt","cna"];for(var y in n)n.hasOwnProperty(y)&&l.indexof(b,y)===-1&&v.push(y+"="+n[y]);v.push("_g_et="+a),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(e,"data-spm-anchor-id",_)}function o(e,t){if(!c.isEditableElement(t)){var a=t;window.g_SPM&&(g_SPM._current_spm=f.spm_getSPMParam(t));for(var o;t&&"HTML"!==t.tagName;){o=i.tryToGetAttribute(t,"data-spm-click");{if(o){n(t,o,"mousedown"===e.type?e.type:"tap");break}t=t.parentNode}}if(!o){var r=g.getGlobalSPMId(),s=aplus.getMetaInfo("aplus-getspmcd");"function"==typeof s&&s(a,e,r)}}}var r=a(79),i=a(23),s=a(9),u=a(29),l=a(42),c=a(41),p=a(20),f=a(119),g=a(122);t.run=function(e){e&&e.isTouchEnabled?r.on(document,"tap",o):r.on(document,"mousedown",o)}},function(e,t,a){"use strict";function n(){for(var e=document.getElementsByTagName("iframe"),t=0;t<e.length;t++){var a=e[t],n=r.tryToGetAttribute(a,"data-spm-src");if(!a.src&&n){var o=s.spm_getSPMParam(a);if(o){var u=[o.a,o.b,o.c,o.d];o.e&&u.push(o.e),o=u.join("."),a.src=i.spm_updateHrefWithSPMId(n,o)}else a.src=n}}}function o(){function e(){t++,t>10&&(a=3e3),n(),setTimeout(e,a)}var t=0,a=500;e()}var r=a(23),i=a(122),s=a(119);t.run=function(e){e&&!e.isTerminal&&o()}},function(e,t,a){"use strict";function n(e,t){for(var a,n=window;t&&(a=t.tagName);){if("A"===a||"AREA"===a){r.spm_spmAnchorChk(t,!1);var o=n.g_SPM||(n.g_SPM={}),i=o._current_spm=r.spm_getSPMParam(t),s=[];try{s=[i.a,i.b,i.c,i.d];var u=i.e||aplus.pvid||"";u&&s.push(u)}catch(e){}break}if("BODY"==a||"HTML"==a)break;t=t.parentNode}}var o=a(79),r=a(119);t.run=function(e){var t=document;e&&e.isTouchEnabled?o.on(t,"tapSpm",n):(o.on(t,"mousedown",n),o.on(t,"keydown",n))}},function(e,t,a){"use strict";function n(e,t){if(t||(t=p),p.evaluate)return t.evaluate(e,p,null,9,null).singleNodeValue;for(var a,o=e.split("/");!a&&o.length>0;)a=o.shift();var r,i=/^.+?\[@id='(.+?)']$/i,s=/^(.+?)\[(\d+)]$/i;return(r=a.match(i))?t=t.getElementById(r[1]):(r=a.match(s))&&(t=t.getElementsByTagName(r[1])[parseInt(r[2])-1]),t?0===o.length?t:n(o.join("/"),t):null}function o(){var e={};for(var t in c)if(c.hasOwnProperty(t)){var a=n(t);if(a){e[t]=1;var o=c[t],r="A"===a.tagName?o.spmd:o.spmc;s.tryToSetAttribute(a,"data-spm",r||"")}}for(var i in e)e.hasOwnProperty(i)&&delete c[i]}function r(){if(!l&&f.spmData){l=!0;var e=f.spmData.data;if(e&&i.isArray(e)){for(var t=0;t<e.length;t++){var a=e[t],n=a.xpath;n=n.replace(/^id\('(.+?)'\)(.*)/g,"//*[@id='$1']$2"),c[n]={spmc:a.spmc,spmd:a.spmd}}o()}}}var i=a(42),s=a(23),u=a(79),l=!1,c={},p=document,f=window;t.wh_updateXPathElements=o,t.init_wh=r,t.run=function(){u.DOMReady(function(){r()})}},function(e,t,a){"use strict";function n(){if(!s.data.a||!s.data.b){var e=r._SPM_a,t=r._SPM_b;if(e&&t)return e=e.replace(/^{(\w+\/)}$/g,"$1"),t=t.replace(/^{(\w+\/)}$/g,"$1"),s.is_wh_in_page=!0,void l.setAB(e,t);var a=aplus._$.meta_info;e=a["data-spm"]||a["spm-id"]||"0";var n=e.split(".");n.length>1&&(e=n[0],t=n[1]),l.setA(e),t&&l.setB(t);var o=i.getElementsByTagName("body");o=o&&o.length?o[0]:null,o&&(t=c.tryToGetAttribute(o,"data-spm"),t?l.setB(t):1===n.length&&l.setAB("0","0"))}}function o(){var e=s.data.a,t=s.data.b;e&&t&&(aplus.spm_ab=[e,t])}var r=window,i=document,s={},u={};s.data=u;var l={},c=a(23),p=a(17),f=a(120),g=a(48),d=location.href;l.setA=function(e){s.data.a=e,o()},l.setB=function(e){s.data.b=e,o()},l.setAB=function(e,t){s.data.a=e,s.data.b=t,o()};var m=function(e){var t=e.aplus||window.aplus||{},a=t.meta_info||{};s.meta_protocol=a.spm_protocol;var o,r=t.spm_ab||[],i=r[0]||"0",u=r[1]||"0";"0"===i&&"0"===u&&(n(),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 l=e.send_pv_count>0?f.makePVId():t.pvid;return l&&(s.spm_cnt+="."+l),t._$.spm=s,l};l.spaInit=function(e,t,a){var n=s.spm_url,o=window.g_SPM||{},r=e._$||{},i=r.send_pv_count,u=m({aplus:e,meta_info:t,send_pv_count:i});s.spm_cnt=s.data.a+"."+s.data.b+".0.0"+(u?"."+u:"");var l=t["aplus-spm-fixed"];if("1"!==l){s.spm_pre=p.getSPMFromUrl(g.getRefer(e.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 c=o._current_spm||{};c&&c.a&&"0"!==c.a&&c.b&&"0"!==c.b?(s.spm_url=[c.a,c.b,c.c,c.d,c.e].join("."),s.spm_pre=n):i>0&&a&&"0"!==a[0]&&"0"!==a[1]&&(s.spm_url=a.concat(["0","0"]).join("."),s.spm_pre=n),o._current_spm={}}},l.init=function(e,t){return s.spm_url=p.getSPMFromUrl(d),s.spm_pre=p.getSPMFromUrl(g.getRefer(e.globalConfig.NAME_STORAGE_KEYS)),m({aplus:e,meta_info:t})},l.resetSpmCntPvid=function(){var e=aplus.spm_ab;if(e&&2===e.length){var t=e.join(".")+".0.0",a=f.makePVId();a&&(t=t+"."+a),s.spm_cnt=t,s.spm_url=t,aplus._$.spm=s}},t.run=function(){var e=aplus._$||{},t=e.meta_info;return l.init(aplus,t),l}},function(e,t,a){"use strict";e.exports=function(){return{run:function(){a(132)(this.options.context.logConfig)}}}},function(e,t,a){"use strict";var n=a(36),o=a(2);e.exports=function(e){var t=o.getGlobalValue("aplus");if(!t._aplus_api){t._aplus_api={status:"complete"},t._$.status="complete";var r=a(133).run.create({logConfig:e});for(var i in r)t[i]=r[i];var s=["aplusReady","complete"];n.doPubMsg(s),n.doCachePubs(s)}}},function(e,t,a){"use strict";function n(e,t){var a=t.context,n=a.what_to_send,o=n.logdata,r=o.gokey;w(M,function(e){e(r)})}function o(e,t){var a=t.context,n=a.what_to_send,o=n.logdata,r={logkey:o.logkey,gmkey:o.gmkey,gokey:o.gokey,method:o.method};w(L,function(e){e(r)})}function r(){var e=5e3;try{var t=m.getGlobalValue("aplus"),a=t.getMetaInfo(_.APLUS_MMSTAT_TIMEOUT);if(a){var n=parseInt(a);n>=1e3&&n<=5e4&&(e=n)}}catch(e){}return e}function i(e,t,a){var n=e[0],o=e[1],r=(a||{}).spm,i=(a||{}).logkey,s=1;if(r&&r[n]){var u=r[n];s=u.cp,u[o]&&(s=u[o].cp)}else i&&i[t]&&(s=i[t]);var l=Math.ceil(Math.random()*Math.floor(1/s));return l}var s=a(10),u=a(43),l=a(23),c=a(79),p=a(34),f=a(20),g=a(36),d=a(28),m=a(2),_=a(3),h=a(13),v=a(21),b=a(134),y=a(42),A=a(137),P=a(38),S=a(138),w=a(18),E=a(19),T=a(9),I=a(59),x=a(67),C=a(26),N=a(139),U=[],M=[],k=[],L=[];t.run=s.extend({beforeSendPV:function(e){U.push(e)},afterSendPV:function(e){M.push(e)},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(e){T(e)&&e()},send:function(e,t,a){var n,o=m.getGlobalValue("aplus"),i=r();if(/^\/\//.test(e)){var s=_.HTTPS;/^\/\/(\d+\.){3,}\d+/.test(e)&&(s="http:"),e=s+e}return n="POST"===a&&navigator&&navigator.sendBeacon?N.postData(e,t,{timeout:i}):N.sendImg(e+"?"+t,i),o.req=n,n},sendPV:function(e,t){if(e=e||{},d.any(U,function(t){return t(a,e)===!1}))return!1;var a=m.getGlobalValue("aplus"),o=a.getMetaInfo(_.APLUS_SKIP_APV_RULES)||[];if(!y.itemMatch(o,location.href)||!e.is_auto){var r=new b;e.recordType="PV","GET"!==e.method&&(e.method="POST");var i=a.logConfig.pv;return r.run({plugins:i.plugins,context:d.cloneDeep(i.context)},{config:e,userdata:t,pubsubType:"pv",messageFnQueue:[n],middlewareMessageKey:"mw_change_pv"}),a._last_pv_info={datetime:(new Date).toString(),pageConfig:e,pageParams:t},!0}},pageEnter:function(e){v.pushIntoGoldlogQueue(_.PUBLISH,[_.PAGE_ENTER,e]),v.pushIntoGoldlogQueue(_.CACHE_PUBS,[_.PAGE_ENTER,e])},getParam:function(e){var t=window.WindVane||{},a=t&&"function"==typeof t.getParam?t.getParam(e):"";return a},beforeRecord:function(e){k.push(e)},afterRecord:function(e){L.push(e)},record:function(e,t,a,n,r){var s=m.getGlobalValue("aplus");if(d.any(k,function(e){return e(s)===!1}))return!1;var u=1;if(P(s.spm_ab)&&s.spm_ab.length>1&&(u=i(s.spm_ab,e,s.getMetaInfo(_.APLUS_REPORT_RATE))),1===u){var l=new b,c=s.logConfig.hjlj;return l.run({plugins:c.plugins,context:d.cloneDeep(c.context)},{config:{recordType:"COMMON_HJLJ",method:n},userdata:{logkey:e,gmkey:t,gokey:a||{}},pubsubType:"hjlj",messageFnQueue:[o],middlewareMessageKey:"mw_change_hjlj"},function(){T(r)&&r()}),!0}return!1},recordUdata:function(e,t,a,n,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:n},userdata:{logkey:e,gmkey:t,gokey:a||{}},pubsubType:"hjlj",messageFnQueue:L,middlewareMessageKey:"mw_change_hjlj"},function(){T(o)&&o()}),!0},combineRecord:function(e,t,a,n){var o=m.getGlobalValue(_.APLUS),r="EXP",i="CLK",s="OTHER";if([i,r,s].indexOf(t)>-1||/^\d+$/.test(t))if(P(a)){n||(n="POST");var u=[];a.forEach(function(e){u.push({exargs:E(e.exargs)?e.exargs:{},scm:e.scm,spm:e.spm,aplusContentId:e.aplusContentId})});var l=[];[i,r].indexOf(t)>-1?(l.push((t===r?"expdata=":"clkdata=")+JSON.stringify(u)),l.push(t===r?"_is_auto_exp=1":"_is_auto_clk=1")):l.push("combinedata="+JSON.stringify(u)),l.push("_eventType=custom"),l.push("_method="+n),l.push("_pkgSize="+a.length),l.push("_isCombine=1"),o.record(e,t,l.join("&"),n)}else f().w("type of gokeys must be ArrayObject!");else f().w("only support EXP or CLK log to combile record!")},setPageSPM:function(e,t,a){var n=m.getGlobalValue("aplus"),o=n.getMetaInfo("aplus-spm-fixed");n.spm_ab=n.spm_ab||[];var r=d.cloneDeep(n.spm_ab);e&&(n.spm_ab[0]=""+e,n._$.spm.data.a=""+e),t&&(n.spm_ab[1]=""+t,n._$.spm.data.b=""+t);var i=C.qGet();if(n.spmAPI&&n.spmAPI.spaInit(n,i,r),"1"!==o){var s=r.join(".");n.spmab_pre=s}var u=["setPageSPM",{spmab_pre:n.spmab_pre,spmab:n.spm_ab.join(".")}];g.doPubMsg(u),g.doCachePubs(u),A.resetMetaAndBody(),A.resetModules(),"function"==typeof a&&a()},getPageSPM:function(){var e=m.getGlobalValue("aplus");return e.spm_ab||[]},getPageSpmUrl:function(e){var t=m.getGlobalValue("aplus"),a=t._$||{},n=a.spm||{},o=n.spm_url;if("object"!=typeof e&&(e={}),"undefined"!=typeof window&&window.__megability_bridge__&&!o){var r=window.__megability_bridge__.syncCall("ut","getPageSpmUrl",e);r&&0===r.statusCode&&r.data&&r.data.spmUrl&&(o=r.data.spmUrl)}return o},getPageSpmPre:function(e){var t=m.getGlobalValue("aplus"),a=t._$||{},n=a.spm||{},o=n.spm_pre;if("object"!=typeof e&&(e={}),"undefined"!=typeof window&&window.__megability_bridge__&&!o){var r=window.__megability_bridge__.syncCall("ut","getPageSpmPre",e);r&&0===r.statusCode&&r.data&&r.data.spmPre&&(o=r.data.spmPre)}return o},requestPageAllProperties:function(e){var t=m.getGlobalValue("aplus");e&&"object"==typeof e?t.setMetaInfo("aplus-allpage-properties",e):f().w("warning: typeof requestPageAllProperties's params must be object")},setMetaInfo:function(e,t,a){var n,o,r="OVERWRITE",i=r;if("object"==typeof e?(n=e.metaName,o=e.metaValue,i=e.mode||r):(n=e,o=t),i!==r)return this.appendMetaInfo(n,o);if(C.setMetaInfo(n,o,a)){var s=m.getGoldlogVal("_$")||{};s.meta_info=C.qGet();var u=m.setGoldlogVal("_$",s),l=["setMetaInfo",n,o,a];return g.doPubMsg(l),g.doCachePubs(l),u}},appendMetaInfo:C.appendMetaInfo,updatePageProperties:function(e){var t=m.getGlobalValue("aplus");e&&"object"==typeof e?(e._page&&(e.pageName=e._page,t.setMetaInfo("aplus-pagename",e.pageName),delete e._page),t.setMetaInfo("aplus-page-properties",e),t.appendMetaInfo("aplus-cpvdata",e)):f().w("warning: typeof updatePageProperties's params must be object")},updateNextPageProperties:function(e){var t=m.getGlobalValue("aplus");"object"==typeof e?t.appendMetaInfo("aplus-nextpage-properties",e):f().w("warning: typeof updateNextPageProperties's params must be object")},updatePageName:function(e){var t=m.getGlobalValue("aplus");e&&"object"==typeof e?t.setMetaInfo("aplus-pagename",e):f().w("warning: typeof updatePageName's params must be object")},updatePageUrl:function(e){var t=m.getGlobalValue("aplus");e&&"object"==typeof e?t.setMetaInfo("aplus-pageurl",e):f().w("warning: typeof updatePageUrl's params must be object")},updatePageUtparam:function(e){var t=m.getGlobalValue("aplus");e&&"object"==typeof e?t.setMetaInfo("aplus-page-utparam",e):f().w("warning: typeof updatePageUtparam's params must be object")},updateNextPageUtparam:function(e){var t=m.getGlobalValue("aplus");e&&"object"==typeof e?t.setMetaInfo("aplus-nextpage-utparam",e):f().w("warning: typeof updateNextPageUtparam's params must be object")},updateNextPageUtparamCnt:function(e){var t=m.getGlobalValue("aplus");e&&"object"==typeof e?t.setMetaInfo("aplus-nextpage-utparamcnt",e):f().w("warning: typeof updateNextPageUtparamCnt's params must be object")},setUserProfile:function(e){var t=m.getGlobalValue("aplus");E(e)?t.setMetaInfo(_.APLUS_USER_PROFILE,e):f().w("warning: typeof setUserProfile's params must be object")},getUserProfile:function(){var e=m.getGlobalValue("aplus");return e.getMetaInfo(_.APLUS_USER_PROFILE)||{}},getMetaInfo:function(e){return C.getMetaInfo(e)},on:c.on,cloneDeep:d.cloneDeep,setCookie:u.setCookie,getCookie:u.getCookie,
pageDisappear:function(e){var t=m.getGlobalValue("aplus");"object"!=typeof e&&(e={}),t.setMetaInfo("aplus-page-disappear",e)},pageDisAppear:function(e){var t=m.getGlobalValue("aplus");"object"!=typeof e&&(e={}),t.setMetaInfo("aplus-page-disappear",e)},pageAppear:function(e){var t=m.getGlobalValue("aplus");"object"!=typeof e&&(e={});var a={usePageAppearDontSkip:!0};a=d.assign(a,e),t.setMetaInfo("aplus-page-appear",a)},skipPage:function(e){var t=m.getGlobalValue("aplus");"object"!=typeof e&&(e={}),t.setMetaInfo("aplus-skip-page",e)},updateSessionProperties:function(e){var t=m.getGlobalValue("aplus");"object"==typeof e?t.setMetaInfo("aplus-session-properties",e):f().w("warning: typeof updateSessionProperties's params must be object")},getAutoElementSPM:function(e,t){var a="",n="";if(e){var o=l.tryToGetAttribute(e,"data-eltype")||t;if(window.g_SPM&&T(window.g_SPM.getParam)){var r=g_SPM.getParam(e);if("spmc"===o)n=l.tryToGetAttribute(e,"data-spm")||"cauto",a=[r.a,r.b,n].join(".");else{var i="dauto-"+x.getElementHash(e),s=l.tryToGetAttribute(e,"data-spm");n="0"===r.c?"cauto":r.c;var u=r.d===s?r.d:i;a=[r.a,r.b,n,u].join(".")}}}return a},getElementSPM:function(e,t){var a="";if(e){var n=l.tryToGetAttribute(e,"data-eltype")||t;if(window.g_SPM&&T(window.g_SPM.getParam)){var o=g_SPM.getParam(e);if("spmc"===n){var r=l.tryToGetAttribute(e,"data-spm")||"0";a=[o.a,o.b,r].join(".")}else a=[o.a,o.b,o.c,o.d].join(".")}}return a},generateTraceId:function(){var e=I.mockEagleeyeTraceId();return e+"00"},generateObservationId:function(){return I.generateHexString(16)},startObserve:function(e){if(!E(e))return f().w("warning: typeof startObserve's params must be object"),!1;S(e.observation_id)&&f().w("warning: typeof startObserve's params must have observation_id"),S(e.trace_id)&&f().w("warning: typeof startObserve's params must have trace_id");var t=e.observation_id,a=e.trace_id,n=e.parent_observation_id,o=m.getGlobalValue("aplus");E(o[_.APLUS_OBSERVATIONS])||(o[_.APLUS_OBSERVATIONS]={});var r=o[_.APLUS_OBSERVATIONS];r[t]={trace_id:a,parent_observation_id:n,start_time:Date.now()}},endObserve:function(e,t){if(S(e))return void f().w("warning: typeof endObserve's params must have observation_id");if(!T(t))return void f().w("warning: typeof endObserve's params must have callback");var a=m.getGlobalValue("aplus"),n=a[_.APLUS_OBSERVATIONS]||{},o=n[e],r={observation_id:e,end_time:Date.now()};E(o)&&(r=h(r,o)),T(t)&&t(r)}})},function(e,t,a){"use strict";var n=a(18),o=a(2),r=a(9),i=a(36),s=a(34),u=a(3),l=a(135),c=a(136),p=function(){};p.prototype.run=function(e,t,a){var p=new c;p.init({middleware:[],config:t.config,plugins:e.plugins});var f=p.run(),g=r(e.context)?new e.context:e.context;g.userdata=t.userdata,g.logger=s.logger;var d={context:g,pubsub:o.getGoldlogVal("aplus_pubsub"),pubsubType:t&&t.pubsubType},m=new l;m.create(d),m.wrap(f,function(){d.context.status=u.COMPLETE,t&&(t.middlewareMessageKey&&i.doPubMsg([t.middlewareMessageKey,d.context]),t.messageFnQueue&&n(t.messageFnQueue,function(t){t(o.getGlobalValue(u.APLUS),e)})),r(a)&&a(d.context)})()},e.exports=p},function(e,t,a){"use strict";function n(){}var o=a(9),r=a(42),i=a(20);n.prototype.create=function(e){for(var t in e)"undefined"==typeof this[t]&&(this[t]=e[t]);return this},n.prototype.calledList=[],n.prototype.setCalledList=function(e){r.indexof(this.calledList,e)===-1&&this.calledList.push(e)},n.prototype.resetCalledList=function(){this.calledList=[]},n.prototype.wrap=function(e,t){var a=this,n=this.context||{},s=n.compose||{},u=s.maxTimeout||1e4;return function(n){var s,l=e.length,c=0,p=0,f=function(g,d){if(c===l)return n="done",a.resetCalledList(),o(t)&&d!==n&&t.call(a,n),void clearTimeout(s);if(r.indexof(a.calledList,c)===-1){if(a.setCalledList&&a.setCalledList(c),!(e&&e[c]&&o(e[c][0])))return;try{n=e[c][0].call(a,n,function(){c++,p=1,f(c)})}catch(e){i().w(e)}}var m="number"==typeof n;if("pause"===n||m){p=0;var _=m?n:u,h=e[c]?e[c][1]:"";s=setTimeout(function(){0===p&&(i().w("jump the middleware about "+h+", because waiting timeout maxTimeout = "+_),n=null,c++,f(c))},_)}else"done"===n?(c=l,f(c,n)):(c++,f(c))};return a.calledList&&a.calledList.length>0&&a.resetCalledList(),f(c)}},e.exports=n},function(e,t,a){"use strict";var n=a(13),o=a(20);e.exports=function(){return{init:function(e){this.opts=e,e&&"object"==typeof e.middleware&&e.middleware.length>0?this.middleware=e.middleware:this.middleware=[],this.plugins_name=[]},pubsubInfo:function(e,t){try{var a=e.pubsub;a&&a.publish("plugins_change_"+e.pubsubType,t)}catch(e){o().w(e)}},run:function(e){e||(e=0);var t=this,a=this.middleware,o=this.opts||{},r=o.plugins;if(r&&"object"==typeof r&&r.length>0){var i=r[e];if(this.plugins_name.push(i.name),a.push([function(e,a){t.pubsubInfo(this,i);var r=new i.path;return r.init||(r.init=function(e){this.options=e}),r.init({context:this.context,config:n(i.config||{},o.config)}),r.run(e,function(e){setTimeout(function(){a(i,e)},1)})},i.name]),e++,r[e])return this.run(e)}return a}}}},function(e,t,a){function n(e){var t,a,n,o,r=u.getElementsByTagName("meta");for(t=0,a=r.length;t<a;t++)if(n=r[t],o=n.getAttribute("name"),o===e)return n}function o(){var e=u.createElement("meta");e.setAttribute("name","data-spm");var t=u.getElementsByTagName("head")[0];return t&&t.insertBefore(e,t.firstChild),e}function r(){var e=s.getGlobalValue("aplus"),t=n("data-spm"),a=n("spm-id"),r=t||a;r||(t=o()),t&&t.setAttribute("content",e.spm_ab[0]||""),a&&a.setAttribute("content",(e.spm_ab||[]).join("."));var i=u.getElementsByTagName("body")[0];i&&i.setAttribute("data-spm",e.spm_ab[1]||"")}function i(){var e,t,a,n=u.getElementsByTagName("*");for(e=0,t=n.length;e<t;e++)a=n[e],a.getAttribute("data-spm-max-idx")&&a.setAttribute("data-spm-max-idx",""),a.getAttribute("data-spm-anchor-id")&&a.setAttribute("data-spm-anchor-id","")}var s=a(2),u=document;t.resetMetaAndBody=r,t.resetModules=i},function(e,t){function a(e){return null===e||void 0===e||""===e}e.exports=a},function(e,t,a){"use strict";function n(e,t,a,n){var o=window||{},r=new Image,i="_img_"+Math.random();o[i]=r;var s=function(){if(o[i])try{delete o[i]}catch(e){o[i]=void 0}};return r.onload=function(){s(),a&&a()},r.onerror=function(){s(),n&&n()},setTimeout(function(){window[i]&&(window[i].src="",s())},t||5e3),r.src=e,r=null,e}function o(e,t){var a=function(){i.log("日志上报成功！")},o=function(){r.toDynamicsNetwork()};n(e,t,a,o)}var r=a(96),i=a(34),s=a(27),u=a(20);t.sendImgCore=n,t.sendImg=o,t.postData=function(e,t,a){a=a||{};var n=a.timeout||5e3,r=navigator.sendBeacon(e,t);if(!r)try{var i=JSON.parse(t),l=s.obj2param(i);o(e+"?"+l,n)}catch(e){u().err("sendBeacon retry by sendImg error",e)}return e}},function(e,t,a){function n(e,t){var a=e||location.href,n=s.getGoldlogVal("_$")||{},o=n.meta_info||{},r=o["aplus-pass-through-params"]||[{key:"bc_fl_src",test:"(micromessenger)|(qq\\/)"},{key:"bxsign",test:"(micromessenger)|(qq\\/)"}],i={};return c(r,function(e){if(g(e)&&new RegExp(e.test).test(navigator.userAgent.toLocaleLowerCase())){var t=u.getParamFromUrl(e.key,location.href);""!==t&&(i[e.key]=t)}else f(e)&&(i[e]=u.getParamFromUrl(e,location.href))}),t&&(i=p(i,t)),u.addParamsIntoUrl(i,a)}function o(e){var t=e||location.href,a=s.getGoldlogVal("_$")||{},o=a.spm||{},r=o.spm_cnt,i={};return/spm=/.test(t)||(i.spm=r),n(t,i)}var r=a(79),i=a(41),s=a(2),u=a(17),l=a(123),c=a(18),p=a(13),f=a(46),g=a(19);e.exports=function(){return{handleParams:function(e,t){for(;t;){var a=t.tagName;if("A"===a&&l.tryToGetHref(t)){t.setAttribute("href",n(l.tryToGetHref(t)));break}if("BODY"===a||"HTML"===a)break;t=t.parentNode}},run:function(){var e=document,t=s.getGoldlogVal("_$")||{},a=s.getGlobalValue("aplus");a.getJumpLink=o;var n=t.meta_info||{},u=n["aplus-touch"],l=i.isTouch()||"1"===u||"tap"===u;l?r.on(e,"tapSpm",this.handleParams):(r.on(e,"mousedown",this.handleParams),r.on(e,"keydown",this.handleParams))}}}},function(e,t,a){var n=a(2),o=a(38),r=a(46),i=a(3),s=a(9);e.exports=function(){return{ready:function(e){window.AlipayJSBridge?e&&e():document.addEventListener("AlipayJSBridgeReady",e,!1)},createTimer:function(e,t){var a=setTimeout(function(){s(e)&&e(),clearTimeout(a),a=null},t?t:1e3)},canSendToMy:function(){var e=n.getGlobalValue(i.APLUS,{}),t=e.getMetaInfo(i.APLUS_LOG_PIPE);return!t||/ANT/.test(t)},getActionId:function(e,t){var a={EXP:"exposure",CLK:"clicked"},n=t._aplus_actionid;return"OTHER"===e?n:a[e]},toGroup:function(){var e=this,t=!1;AlipayJSBridge.call("handleLoggingAction",{actionType:"getAntLogInfo"},function(a){var o=n.getGlobalValue(i.APLUS,{});t=!0;var r=a.data,s=a.status;if("success"===s&&r){o._$.spm.spm_url||(o._$.spm.spm_url=r[i.SPM_URL]),o._$.spm.spm_orign=r[i.SPM_URL];var u={};r.deviceId&&(u.pc_i=r.deviceId),r.sessionId&&(u.ps_i=r.sessionId),r.userId&&(u.pu_i=r.userId),o.appendMetaInfo("aplus-exdata",u),o.appendMetaInfo("aplus-cpvdata",u)}e.toHold("START")}),this.createTimer(function(){t||e.toHold("START")})},getSpmAB:function(e){return r(e)?e.split(".").slice(0,2).join("."):""},toMy:function(){var e=n.getGlobalValue(i.APLUS,{}),t=n.getGlobalValue(i.APLUS_QUEUE,[]),a=this;t.push({action:i.SUBSCRIBE,arguments:["mw_change_pv",function(t){if("complete"===t.status&&a.canSendToMy()){var n=t.what_to_send||{},o=n.logdata||{},r=Object.assign({},o.gokey);r[i.SPM_CNT]&&(r[i.SPM_CNT]=a.getSpmAB(r[i.SPM_CNT]));var s=Object.assign({},r,{_logType:"aplus",_aplus_spm_pre:r[i.SPM_PRE],_aplus_spm_url:r[i.SPM_URL],_aplus_page_name:o.title,_aplus_page_url:o.url,_aplus_log_key:o.logkey,_aplus_log_referurl:o.pre}),u={spm:{url:o.url,bizType:r.bizType?r.bizType:i.APLUS,isSPM:!0,spmId:r[i.SPM_CNT],chInfo:r.chInfo},spmDetail:s};e.aplusDebug&&console.log("reportData params is ",u),AlipayJSBridge.call("reportData",u)}}]}),t.push({action:i.SUBSCRIBE,arguments:["mw_change_hjlj",function(t){if("complete"===t.status&&a.canSendToMy()){var n=t.what_to_send||{},r=n.logdata||{},s=r.gmkey,u=Object.assign({},r.gokey),l=a.getActionId(s,u);if(l){u[i.SPM_CNT]&&(u[i.SPM_CNT]=a.getSpmAB(u[i.SPM_CNT]));var c={_logType:i.APLUS,_aplus_spm_pre:u[i.SPM_PRE],_aplus_spm_url:u[i.SPM_URL],_aplus_page_name:r.title,_aplus_page_url:r.url,_aplus_log_key:r.logkey,_aplus_log_referurl:r.pre};if("EXP"===s&&u.expdata){var p=JSON.parse(u.expdata);o(p)&&p.forEach(function(e){var t=Object.assign({},u,e,c),a={type:"behavior",bizType:u.bizType?u.bizType:i.APLUS,spmId:e.spm||u.spm,scm:e.scm||u.scm,eventTime:Date.now(),actionId:l,param4:t};AlipayJSBridge.call("remoteLog",a)})}else{var f=Object.assign({},u,c),g={type:"behavior",bizType:u.bizType?u.bizType:i.APLUS,spmId:u.spm,scm:u.scm,eventTime:Date.now(),actionId:l,param4:f};e.aplusDebug&&console.log("remoteLog params is ",g),AlipayJSBridge.call("remoteLog",g)}}}}]})},toHold:function(e){var t=n.getGlobalValue(i.APLUS);t.setMetaInfo("_hold",e)},run:function(){var e=this;if(this.toHold("BLOCK"),/Nebula/.test(navigator.userAgent)){var t=!1;e.ready(function(){t=!0,e.toGroup(),e.toMy()}),e.createTimer(function(){t||e.toHold("START")})}else e.toHold("START")}}}},function(e,t,a){"use strict";var n=a(143),o=a(2);e.exports=function(){return{run:function(){var e=this.options.context.aplus_config,t=e.globalConfig.APLUS_QUEUE,a=o.getContext(),r=a[t]||[],i=n.getFormatQueue(r,"metaQueue");a[t]=i.queue,n.processGoldlogQueue(i.formatQueue,this.options.config)}}}},function(e,t,a){function n(){var e=u.getGoldlogVal("_$")||{},t=e.meta_info;return t}function o(){var e=n()||{},t=e.uaid+"";return"1"!==t||e._anony_id?e._hold||e["aplus-waiting"]:"BLOCK"}function r(e){var t=o(),a=n()||{},r=!0,i=e.arguments||[],s=i[0],u=i[1],l="START";if("_hold"===s&&u===l)return l;if("_anony_id"===s&&u)return l;if(e&&/sendPV|record|combineRecord|setPageSPM|setMetaInfo|appendMetaInfo$/.test(e.action))switch(t){case"BLOCK":a[t]||(_.push(e),r=!1)}return r}function i(e){g(d,e),g(m,e),g(_,e)}function s(e,t){return t&&f.openAPIs.indexOf(e)>-1&&(e="_"+e),e}var u=a(2),l=a(42),c=a(9),p=a(20),f=a(3),g=function(e,t){function a(){if(e&&l.isArray(e)&&e.length){for(var a=v(e).queue,n={},o=[];n=a.shift();)h(n,t,function(e){o.push(e)});o.length>0&&setTimeout(function(){for(;n=o.shift();)h(n,t)},100)}}try{a()}catch(e){p().w(e)}};t.processGoldlogQueue=g;var d=[],m=[],_=[];t.subscribeAndProcessQueue=function(e,t){var a=u.getGlobalValue(e);a.push({action:f.SUBSCRIBE,arguments:[f.SET_META_INFO,function(e,a){e===f._USER_ID&&a?g(d,t):e===f._ANONY_ID&&a?g(m,t):"_hold"===e&&"START"===a&&i(t)}]})};var h=function(e,t,a){var n=!!t.isOpenApi,o=e?e.action:"",f=e?e.arguments:"",g=r(e);if(g){var d=u.getContext();try{if(o&&f&&l.isArray(f)){var m,_=o.split("."),h=d,v=d;if(3===_.length)h=d[_[0]][_[1]]||{},m=s(_[2],n),v=h[m]?h[m]:"";else for(;_.length;)if(m=s(_.shift(),n),v=h=h[m],!h)return void(c(a)&&a(e));c(v)&&v.apply(h,f),"START"===g&&i(t)}}catch(e){p().w(e)}}};t.processTask=h;var v=function(e,t){for(var a={subscribeMwChangeQueue:[],subscribeMetaQueue:[],installPluginQueue:[],subscribeQueue:[],metaQueue:[],othersQueue:[]},n=[],o={};o=e.shift();)try{var r=o.action,i=o.arguments[0];/subscribe/.test(r)?"setMetaInfo"===i?a.subscribeMetaQueue.push(o):i===f.MW_CHANGE_PV||i===f.MW_CHANGE_HJLJ?a.subscribeMwChangeQueue.push(o):a.subscribeQueue.push(o):/MetaInfo/.test(r)?a.metaQueue.push(o):/installPlugin/.test(r)?a.installPluginQueue.push(o):a.othersQueue.push(o)}catch(e){p().w(e),a.othersQueue.push(o)}var s;return t&&a[t]&&(s=a[t],a[t]=[]),n=a.subscribeMwChangeQueue.concat(a.metaQueue),n=n.concat(a.installPluginQueue),n=n.concat(a.subscribeQueue),n=n.concat(a.subscribeMetaQueue,a.othersQueue),{queue:n,formatQueue:s}};t.getFormatQueue=v},function(e,t,a){"use strict";var n=a(60),o=a(29),r=a(95),i=a(31),s=a(3),u=a(2),l=a(97),c=a(53);e.exports=function(){return{init:function(e){this.options=e,this.today=n.getFormatDate()},run:function(){var e=this,t=u.getGlobalValue("aplus"),a=l.isCnaEnable();if(a){var p=u.getGoldlogVal("globalConfig");if(i.test()){var f=o.getLsCna(p.ETAG_STORAGE_KEY,e.today);if(!f){var g=t.getMetaInfo(s.APLUS_RHOST_V);if(g){e.options.context.etag.egUrl=g.replace(/\/\w+.gif$/,"")+"/eg.js";var d=r.getUrl(e.options.context.etag||{}),m=n.getCurrentTimestamp();l.requestCna(d,function(t){var a=u.getGoldlogVal("Etag"),r=n.getCurrentTimestamp();t&&"error"===t.type?c.logCnaLoadInfo("failed",{loadUrl:d,loadType:"async",errMsg:t.message}):(o.setLsCna(p.ETAG_STORAGE_KEY,e.today,a),c.logCnaLoadInfo("success",{loadUrl:d,loadType:"async",actualDuration:r-m}))})}}}}}}}},function(e,t,a){var n=a(2),o=a(9),r=a(19);e.exports=function(){return{getAvailableAplusbridges:function(){var e=window.navigator.userAgent,t=[];return"undefined"!=typeof window&&window.__megability_bridge__&&"onload"in window&&("object"==typeof pha||/Themis/.test(e))&&t.push({name:"Mega",run:a(146)().run}),/WindVane/.test(e)&&t.push({name:"WindVane",run:a(149)().run}),/UT4Aplus/.test(e)&&t.push({name:"UT4Aplus",run:a(151)}),/AplusBridgeLite/.test(e)&&t.push({name:"AplusBridgeLite",run:a(158)().run}),t},findAplusBridge:function(e){"2"===e&&(e="WindVane");var t,a=this.getAvailableAplusbridges();if(a.length>0){t=a[0];for(var n=0;n<a.length;n++){var o=a[n];if(o.name===e){t=o;break}}}return t},run:function(){var e=n.getGoldlogVal("_$")||{},t=e.meta_info||{},a=t["aplus-toUT"];if("off"!==a){var i=this.findAplusBridge(a);if(r(i)){var s=i.name,u=i.run;s&&o(u)&&u()}}}}}},function(e,t,a){"use strict";function n(e,t){g.aplus_pubsub.subscribe(e,function(e){"complete"===e.status&&t(e)})}function o(e){g&&g.aplusDebug&&console&&console.log(e)}function r(e,t){if("undefined"!=typeof window&&window.__megability_bridge__){"object"!=typeof t&&(t={});var a="object"==typeof pha;a&&(t.useTopVisiblePage=!0);var n=o;return t.onResult&&(n=t.onResult,delete t.onResult),g&&g.aplusDebug&&console&&(console.log("methodName",e),console.log("params",t)),window.__megability_bridge__.asyncCall(m,e,t,function(e){[2,99].includes(e.statusCode)||n(e)})}o("asyncCall: Mega is not supported on the runtime,"+m+","+e+","+t)}function i(e){try{var t=g.getMetaInfo("aplus-only-update-page-properties"),a=g.getMetaInfo("aplus-spm-from-url"),n=g._$.cur_pv_update,o=e.what_to_send||{},i=d.processMegaPvData(o.pvdataToUt)||{};if(r("updatePageUrl",{url:i.utData._h5url}),"off"===t&&!n&&g._$.send_pv_count>1){r("pageDisAppear",{});var s=/Android/.test(navigator.userAgent)?"pageAppearDonotSkip":"pageAppear";r(s,{})}"off"===a&&(delete i.utData["spm-url"],delete i.utData["spm-pre"]),r("updatePageProperties",{utData:i.utData}),i.utData.pageName&&r("updatePageName",{pageName:i.utData.pageName})}catch(e){console.log(e)}}function s(e){try{var t=e.what_to_send||{},a=d.processMegaLogData(t.pvdataToUt)||{};r("commitEvent",a)}catch(e){console.log(e)}}function u(){n("mw_change_pv",i),n("mw_change_hjlj",s)}function l(){g.aplus_pubsub.subscribe("setMetaInfo",function(e,t){"aplus-session-properties"!==e&&"_session_args"!==e||"object"!=typeof t?"aplus-pagename"===e?"object"==typeof t?r("updatePageName",t):"string"==typeof t&&r("updatePageName",{pageName:t}):"aplus-pageurl"===e&&"object"==typeof t?r("updatePageUrl",t):"aplus-allpage-properties"===e&&"object"==typeof t?r("requestPageAllProperties",t):"aplus-page-utparam"===e&&"object"==typeof t?r("updatePageUtparam",t):"aplus-nextpage-utparam"===e&&"object"==typeof t?r("updateNextPageUtparam",t):"aplus-page-properties"===e&&"object"==typeof t?r("updatePageProperties",d.processPageProperties(t)):"aplus-nextpage-properties"===e&&"object"==typeof t?r("updateNextPageProperties",d.processPageProperties(t)):"aplus-nextpage-utparamcnt"===e&&"object"==typeof t?r("updateNextPageUtparamCnt",t):"aplus-page-appear"===e&&"object"==typeof t?r(/Android/.test(navigator.userAgent)&&t.usePageAppearDontSkip?"pageAppearDonotSkip":"pageAppear",t):"aplus-page-disappear"===e&&"object"==typeof t?r("pageDisAppear",t):"aplus-skip-page"===e&&"object"==typeof t&&r("skipPage",t):r("updateSessionProperties",d.processPageProperties(t))})}function c(){return"undefined"!=typeof window&&window.__megability_bridge__}var p=a(2),f=a(3),g=p.getGlobalValue(f.APLUS,{}),d=a(147),m="ut";e.exports=function(){return{watchCallUTByMethod:l,watchHjljLog:s,watchPvLog:i,checkIsMega:c,run:function(){var e=c();e&&(g.setMetaInfo(f.APLUS_BRIDGE_NAME,"mega"),u(),l())}}}},function(e,t,a){"use strict";function n(e){var t={};for(var a in e)if(e.hasOwnProperty(a)){var n=typeof e[a];t[a]=r.indexof(["number","boolean"],n)>-1?String(e[a]):e[a]}return t}var o=a(148),r=a(42),i={2101:"click",2201:"componentExposure",2202:"componentExposure"};t.processMegaPvData=function(e){var t=o(e);t._isMega="1",t.pageName=t.url,t._bridgeName="Mega",t["ut-spm-url-fix"]="1",delete t._bridgeVersion;var a={utData:n(t)};return a},t.processMegaLogData=function(e){var t=o(e);t._isMega="1",t._bridgeName="Mega",delete t._bridgeVersion;var a={action:i[t.funcId]||"custom",eventId:t.funcId,pageName:t.url,args:n(t),arg1:t.logkey,useCustomBuilder:!0};return a},t.processPageProperties=function(e){var t={};if(e.utData)e.utData=n(e.utData),t=e;else{var a=e.onResult||"";delete e.onResult,t={utData:n(e),onResult:a}}return t},t.processAplusBridgeLiteData=function(e){var t=o(e);t._isAplusBridgeLite="1",t._bridgeName="AplusBridgeLite",delete t._bridgeVersion;var a=n(t);return/Android/.test(navigator.userAgent)?JSON.stringify(a):a}},function(e,t){function a(e){var t,n=Array.isArray(e)?[]:{};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]?a(e[o]):e[o];return n}}e.exports=a},function(e,t,a){"use strict";function n(e,t){c.aplus_pubsub.subscribe(e,function(e){"complete"===e.status&&t(e)})}function o(e){c&&c.aplusDebug&&console&&console.log(e)}function r(e,t){window.WindVane.call(p,e,t,o,o,5e3)}function i(){n("mw_change_pv",function(e){var t=e.what_to_send||{},a=t.pvdataToUt||{};r("toUT2",a)}),n("mw_change_hjlj",function(e){var t=e.what_to_send||{},a=t.pvdataToUt||{};r("toUT2",a)})}function s(){c.aplus_pubsub.subscribe("setMetaInfo",function(e,t){"aplus-session-properties"!==e&&"_session_args"!==e||"object"!=typeof t||r("updateSessionProperties",/Android/.test(navigator.userAgent)?JSON.stringify(t):t)})}var u=a(2),l=a(3),c=u.getGlobalValue(l.APLUS,{}),p="WVTBUserTrack";e.exports=function(){return{run:function(){window.WindVane||a(150)();var e=/WindVane/i.test(window.navigator.userAgent);e&&(c.setMetaInfo(l.APLUS_BRIDGE_NAME,"WindVane"),i(),s())}}}},function(e,t){"use strict";function a(e,t){function a(e,t){e=e.toString().split("."),t=t.toString().split(".");for(var a=0;a<e.length||a<t.length;a++){var n=parseInt(e[a],10),o=parseInt(t[a],10);if(window.isNaN(n)&&(n=0),window.isNaN(o)&&(o=0),n<o)return-1;if(n>o)return 1}return 0}var n=e.Promise,o=e.document,r=e.navigator.userAgent,i=/Windows\sPhone\s(?:OS\s)?[\d\.]+/i.test(r)||/Windows\sNT\s[\d\.]+/i.test(r),s=i&&e.WindVane_Win_Private&&e.WindVane_Win_Private.call,u=/iPhone|iPad|iPod/i.test(r),l=/Android/i.test(r),c=r.match(/WindVane[\/\s](\d+[._]\d+[._]\d+)/),p=Object.prototype.hasOwnProperty,f=t.windvane=e.WindVane||(e.WindVane={version:"3.0.7"}),g=Math.floor(65536*Math.random()),d=1,m=[],_=3,h="hybrid",v="wv_hybrid",b="iframe_",y="param_",A=6e5,P=6e4;c=c?(c[1]||"0.0.0").replace(/\_/g,"."):"0.0.0";var S={isAvailable:1===a(c,"0"),isNewBridgeAvailable:1===a(c,l?"8.3.0":"8.2.0"),call2:function(e,t,a,n,o){var r=e.indexOf(".");return S.call(e.substr(0,r),e.substr(r+1),t,a,n,o)},call:function(t,a,o,r,i,s){var u,c;"number"==typeof arguments[arguments.length-1]&&(s=arguments[arguments.length-1]),"function"!=typeof r&&(r=null),"function"!=typeof i&&(i=null),!n||r||i||(c=new n(function(e,t){r=e,i=t}));var p=(""+a).indexOf(".")>-1;if((!l||!p)&&S.isNewBridgeAvailable&&e.__windvane__&&(!e.__windvane__.call&&e.__windvane__.windVaneCoreJs&&new Function(e.__windvane__.windVaneCoreJs())(),e.__windvane__.call))return e.__windvane__.call(t+"."+a,o,r,i,s),c;u=w.getSid();var f={success:r,failure:i};return s>0&&(f.timeout=setTimeout(function(){S.onFailure(u,{ret:"HY_TIMEOUT"})},s)),w.registerCall(u,f),w.registerGC(u,s),S.isAvailable?w.callMethod(t,a,o,u):S.onFailure(u,{ret:"HY_NOT_IN_WINDVANE"}),c},fireEvent:function(e,t){var a=o.createEvent("HTMLEvents");a.initEvent(e,!1,!0),a.param=w.parseData(t),o.dispatchEvent(a)},getParam:function(e){return w.getParam(e)},setData:function(){},find:function(e,t){t||w.unregisterCall(e,!1)},onSuccess:function(e,t,a){w.onComplete(e,t,"success",a)},onFailure:function(e,t){w.onComplete(e,t,"failure")}};S.isNewBridgeAvailable&&e.__windvane__&&e.__windvane__.callSync&&(S.callSync=function(t,a){if(u)return e.__windvane__.callSync(t,a);if(l){var n={name:t};a&&(n.params=JSON.stringify(a));var o=e.__windvane__.callSync(n);if(o)try{return JSON.parse(o)}catch(e){}}});var w={params:{},calls:{},getSid:function(){return(g+d++)%65536+""},buildParam:function(e){return e&&"object"==typeof e?JSON.stringify(e):e||""},getParam:function(e){return this.params[y+e]||""},setParam:function(e,t){this.params[y+e]=t},parseData:function(e){var t;if(e&&"string"==typeof e)try{t=JSON.parse(e)}catch(a){t={ret:"HY_RESULT_PARSE_ERROR",originValue:e}}else t=e||{};return t},registerCall:function(e,t){this.calls[e]=t},unregisterCall:function(e,t){var a=this.calls[e]||{},n=a.timeout;return n&&clearTimeout(n),t||delete this.calls[e],a},useIframe:function(e,t){var a=b+e,n=m.pop();n||(n=o.createElement("iframe"),n.setAttribute("frameborder","0"),n.style.cssText="width:0;height:0;border:0;display:none;"),n.setAttribute("id",a),n.setAttribute("src",t),n.parentNode||setTimeout(function(){o.body.appendChild(n)},5)},retrieveIframe:function(e){var t=b+e,a=o.querySelector("#"+t);if(a)if(m.length>=_)try{o.body.removeChild(a)}catch(e){}else m.indexOf(a)<0&&m.push(a)},callMethod:function(t,a,n,o){var r=w.buildParam(n);if(i)s?e.WindVane_Win_Private.call(t,a,o,r):this.onComplete(o,{ret:"HY_NO_HANDLER_ON_WP"},"failure");else{var c;if(u)this.setParam(o,r),c=h+"://"+t+":"+o+"/"+a+"?"+encodeURIComponent(r),this.useIframe(o,c);else if(l){this.setParam(o,n),c=h+"://"+t+":"+o+"/"+a+"?"+r;var p=v+":";window.prompt(c,p)}else this.onComplete(o,{ret:"HY_NOT_SUPPORT_DEVICE"},"failure")}},registerGC:function(e,t){var a=this,n=Math.max(t||0,A),o=Math.max(t||0,P);setTimeout(function(){a.unregisterCall(e)},n),u&&setTimeout(function(){a.params[y+e]&&delete a.params[y+e]},o)},onComplete:function(e,t,a,n){var o=this.unregisterCall(e,n),r=o.success,i=o.failure;t=this.parseData(t);var s=t.ret;"string"==typeof s&&(t=t.value||t,t.ret||(t.ret=[s])),"success"===a?r&&r(t):"failure"===a&&i&&i(t),u&&(this.retrieveIframe(e),this.params[y+e]&&delete this.params[y+e])}};for(var E in S)p.call(f,E)||(f[E]=S[E])}e.exports=function(){var e=window.navigator.userAgent,t=/WindVane/i.test(e);!window.WindVane&&t&&a(window,window.lib||(window.lib={}))}},function(e,t,a){e.exports=function(){function e(e,a){if(e)try{n._aplus4native={status:"complete"};var r=o.match(new RegExp(a+"/(\\d+\\.\\d+\\.\\d+)","i"));n._aplus4native.bridgeName=a;var i=r&&r.length>1?r[1]:"";n._aplus4native.bridgeVersion=i}catch(e){t.console&&t.console.log(e)}return e}var t=window,n=t.aplus||(t.aplus={});if(!n._aplus4native){var o=t.navigator.userAgent,r={UT:{nativeVariableKey:"UT4Aplus",webVariableKey:"Aplus4UT",envMethodName:"UTEnv",callbackName:"onUTCallBack",customEventName:"utCustomEvent"},UM:{nativeVariableKey:"Umeng4Aplus",webVariableKey:"Aplus4Native",envMethodName:"env",callbackName:"onCallBack",customEventName:"customEvent"}},i=r.UT.nativeVariableKey,s=r.UM.nativeVariableKey,u=!0,l=new RegExp(s,"i").test(o),c=e(u,i)||e(l,s);if(c)try{a(152).run(u?r.UT:r.UM)}catch(e){t.console&&t.console.log(e)}else n._aplus4native={status:"NO_SDK"}}}},function(e,t,a){"use strict";function n(e,t){var a=0;if("object"==typeof t){for(var n in t)a++,t[n]=decodeURIComponent(t[n]);e.prePageParams=g.cloneDeep(t)}else e.prePageParams={};return{size:a,aplusParams:t}}function o(e){var t=e.target_expression,a=e.current_referrer,n=location.href.replace(location.hash,"");return t!==location.href&&(a===location.href||a===n)}function r(e){return e.current_url===location.href}function i(e){var t;return e.target_expression!==location.href&&e.current_url!==P||(t=!0),!!t}function s(e){e.setAplus4NativeVariable("getPageSpmUrl",function(t,a){e.getPageSpmUrl(t,a)}),e.setAplus4NativeVariable("getPageSpmPre",function(t,a){e.getPageSpmPre(t,a)}),e.setAplus4NativeVariable("updateSessionProperties",function(t,a,n){e.updateSessionProperties(t,a,n)}),e.setAplus4NativeVariable("updatePageProperties",function(t,a){e.updatePageProperties(t,a)}),e.setAplus4NativeVariable("updatePageName",function(t){e.updatePageName(t)}),e.setAplus4NativeVariable("turnOnRealtimeDebug",function(t,a){e.turnOnRealtimeDebug(t,a)}),w.aplus_pubsub.subscribe("setMetaInfo",function(t,a){"aplus-cpvdata"===t&&a?e.updatePageProperties(a):"aplus-pagename"===t&&a?"object"==typeof a?e.updatePageName(a.pageName):e.updatePageName(a):"aplus-nextpage-properties"===t&&a?e.updateNextPageProperties(a):"aplus-session-properties"===t&&a&&e.updateSessionProperties(a)})}function u(e){e.initWebView(),e.getAplus4NativeVariableValue("isAvailable")&&(s(e),e.setAplus4UT(),e.getAplusParams(function(t){try{e.removeAplusParams(),e.setAplusParams(h.getBaseParams());var a=t&&0===t.code?t.result:"",s=n(e,a),u="isForward";s&&s.size>0&&(o(a)&&(u="isBack"),i(a)&&(u="isForward"),r(a)&&(u="isRefresh")),e.startLifeCycle({caseName:u,eventType:"init"})}catch(e){console.log(e),h.track({errorInfo:e.message,methodName:"aplus4ut_main_init"})}},1e3))}function l(e){if(!f)try{f=!0,P=document.referrer;var t,a=v.init(e),n=function(){a.setAplus4NativeVariable(S,!0),u(a,e),w.setMetaInfo(m.APLUS_BRIDGE_NAME,e.nativeVariableKey);var t=[S,"complete"];d.doPubMsg(t),d.doCachePubs(t)},o=0;a.initAplus4NativeIsAvailable()?n():t=setInterval(function(){o>50&&(clearInterval(t),h.track({errorInfo:"timeout",methodName:"aplus4native_main_run_timeout"})),o++,!a.getAplus4NativeVariableValue(S)&&a.initAplus4NativeIsAvailable()&&(clearInterval(t),n())},200)}catch(e){console.log(e),h.track({errorInfo:e.message,methodName:"aplus4native_main_run"})}}function c(e){var t=b.aplus_queue||(b.aplus_queue=[]);t.push({action:m.SUBSCRIBE,arguments:["setMetaInfo",function(t,a){"aplus-toUT"===t&&a===e.nativeVariableKey&&l(e)}]})}function p(e){if(!E){E=!0;var t=function(){};h.setWinVariableKeyValue(e.webVariableKey,e.callbackName,t),h.setWinVariableKeyValue(e.webVariableKey,"onPageShow",t),h.setWinVariableKeyValue(e.webVariableKey,"onPageHide",t)}}var f,g=a(28),d=a(36),m=a(3),_=a(2),h=a(153),v=a(154),b=window,y=document,A=b.navigator.userAgent,P=y.referrer,S="Native4AplusExecReady",w=_.getGlobalValue(m.APLUS,{}),E=!1;t.run=function(e){p(e);var t=b.aplus_queue||(b.aplus_queue=[]);t.push({action:m.SUBSCRIBE,arguments:["aplusReady",function(t){if("complete"===t){var a=new RegExp(e.nativeVariableKey,"i").test(A);a?l(e):c(e)}}]})}},function(e,t,a){"use strict";function n(e,t){return 0===e.indexOf(t)}function o(e){var t;try{e&&"object"!=typeof e&&(e=JSON.parse(e)),t=e}catch(a){_({errorInfo:a.message,methodName:"util_parseUtParam",params:e}),t={}}return t}function r(){var e=aplus.getMetaInfo("isonepage_data"),t=aplus.getMetaInfo("aplus-waiting"),a=aplus._$||{};return"1"===e.isonepage||"MAN"===t&&a.send_pv_count>1}function i(){var e=aplus.getMetaInfo("isonepage")||"",t=e.split("|");return t&&2===t.length?t[1]:""}function s(e){try{var t=p.g_SPM||(p.g_SPM={}),a=[],n=t.getParam(e);if(n.a+""=="0"||n.b+""=="0")return"";a=[n.a,n.b,n.c,n.d];var o=n.e||aplus.pvid||"";return o&&a.push(o),a.join(".")}catch(t){_({errorInfo:t.message,methodName:"util_getElementSpm",params:encodeURIComponent(e.outerHTML)})}}function u(){var e=(new Date).getTime();return{id:aplus.pvid+"_"+e,timestamp:e,log_id:aplus.pvid,current_url:location.href,current_referrer:document.referrer,isSPA:r()}}function l(){var e={isonepage:"-1",urlpagename:""},t=aplus._$.meta_info;if(t&&t.hasOwnProperty("isonepage_data"))e.isonepage=t.isonepage_data.isonepage,e.urlpagename=t.isonepage_data.urlpagename;else{var a=d.getMetaCnt("isonepage")||"-1",n=a.split("|");e.isonepage=n[0],e.urlpagename=n[1]?n[1]:""}return e}function c(e,t){var a=l(),n=aplus._aplus4native||{},o=f(e);if(o._aplusfrom="toUT2",o._bridgeName=n.bridgeName,o._bridgeVersion=n.bridgeVersion,o._webviewType=t,/^0.0/.test(o["spm-cnt"])&&delete o["spm-cnt"],a.isonepage){o.isonepage=a.isonepage;var r=i();r&&(o.urlpagename=r)}return o}var p=window,f=a(148),g=a(21),d=a(22),m=a(3),_=function(e){try{var t=location.protocol+"//wgo.mmstat.com/mm.ut4aplus.toutTrack";aplus.send(t,e,"POST")}catch(e){}};t.track=_,t.aplustrack=function(e){var t=window.aplus_queue||(window.aplus_queue=[]);t.push({action:"aplus._aplus_cplugin_track_deb.monitor",arguments:[{key:"APLUS_PLUGIN_DEBUG",title:"aplus4ut",msg:["_info_:methodName="+e.methodName+",params="+JSON.stringify(e.params)],type:"updateMsg",description:e.methodName||"aplus4ut"}]})},t.isStartWith=n,t.parseUtParam=o,t.getUtparamFromMetaInfo=function(e){var t=aplus.getMetaInfo(e);return o(t)},t.isOnePage=r,t.getElementSpm=s,t.getBaseParams=u,t.getAllParams=function(e,t){var a=s(e);if(!a)return"";var o="href",r=e.getAttribute(o);r||(o="data-href",r=e.getAttribute(o)),r&&n(r,"//")&&(r=location.protocol+r);var i=u();return i.target_expression_type=o,i.target_expression=r,i.spm_id=a||"",t&&t.spm_id&&"undefined"!==i.spm_pre&&(i.spm_pre=t.spm_id),i.tracking_param="",i},t.subscribeLogs=function(e,t){g.pushIntoGoldlogQueue(m.SUBSCRIBE,[e,function(e){e.status===m.COMPLETE&&t(e)}])},t.processData=function(e,t){var a=c(e,t);for(var n in a)null!==a[n]&&void 0!==a[n]&&""!==a[n]||delete a[n];return a},t.objSize=function(e){if("object"==typeof e){if(Object.keys)return Object.keys(e).length;var t=[];for(var a in e)t.push(a);return t.length}return 0},t.processLogData=function(e,t,a){var n=aplus._aplus4native||{},o=f(e);return t.pageSpmUrl&&(o["spm-url"]=t.pageSpmUrl),t.pageSpmPre&&(o["spm-pre"]=t.pageSpmPre),o._bridgeName=n.bridgeName,o._bridgeVersion=n.bridgeVersion,o._webviewType=a,{eventId:o.funcId,pageName:i()||o.url,args:o,arg1:o.logkey}};var h=function(e){return p[e]||(p[e]={})};t.getWinVariable=h,t.setWinVariableKeyValue=function(e,t,a){
var n=h(e);n[t]=a}},function(e,t,a){"use strict";function n(){var e=u.getGlobalValue("aplus"),t="on"===e.getMetaInfo("aplus-prompt-mode-enable");return t}function o(e){return e.extend({spmObj:{},isRefresh:!1,isBack:!1,isWatch:!1,lastPostData:"",lastClickAllParams:{},prePageParams:{},pageStatus:"",getAplus4NativeVariable:function(){return l.getWinVariable(this.webVariableKey)},getAplus4NativeVariableValue:function(e){var t=l.getWinVariable(this.webVariableKey);return t[e]},setAplus4NativeVariable:function(e,t){l.setWinVariableKeyValue(this.webVariableKey,e,t)},getNative4AplusVariable:function(){return l.getWinVariable(this.nativeVariableKey)},watchPageShow:function(){var e=this,t=function(t){var a=l.isOnePage();a&&(t.isSPA=!0),t.isPrompt=n();var o=e.pageAppear(t);o&&e.lastPostData&&e.updateAllProperties(e.lastPostData)};e.setAplus4NativeVariable("onPageShow",function(){t({caseName:"isBack",eventType:"webviewPageShow"}),"webviewPageHide"===e.pageStatus&&(e.pageStatus="webviewPageShow",e.setAplusParams(l.getBaseParams()))}),"onpageshow"in f&&f.addEventListener("pageshow",function(){t({caseName:"isBack",eventType:"pageshow"})},!1)},resetCurrentSpm:function(){window.g_SPM&&window.g_SPM._current_spm&&(window.g_SPM._current_spm={})},watchPageHide:function(){var e=this;e.setAplus4NativeVariable("onPageHide",function(){e.resetCurrentSpm(),e.pageStatus="webviewPageHide",e.pageDisAppear({eventType:"webviewPageHide",isPrompt:n()}),e.removeAplusParams()}),aplus.on(f,"beforeunload",function(){e.resetCurrentSpm(),e.pageDisAppear({eventType:"beforeunload",isPrompt:n()})}),aplus.on(f,"pagehide",function(){e.resetCurrentSpm(),e.pageDisAppear({eventType:"pagehide",isPrompt:n()})})},updateAllProperties:function(e){this.updatePageProperties(e,{isBack:this.isBack,isRefresh:this.isRefresh}),this.updatePageName({pageName:e.pageName||e.urlpagename||location.protocol+"//"+location.hostname+location.pathname}),this.updatePageURL({pageURL:e._h5url}),this.updatePageUtparam(l.getUtparamFromMetaInfo("aplus-utparam")),this.updateNextPageUtparam(l.getUtparamFromMetaInfo("aplus-nextpage-utparam"))},initAplus4Native:function(){var e=this;e.setAplus4NativeVariable(e.callbackName,function(t,a){var n;try{n="object"==typeof a?a:JSON.parse(a)}catch(e){}e.publish(t,n)})},updateNextParams:function(e,t,a){var n=this;if(e&&e.id&&n.setAplusParams(e),a){var o={pre:location.href};e.spm_id&&!/^0.0/.test(e.spm_id)&&(o["spm-url"]=e.spm_id),e.spm_pre&&!/^0.0/.test(e.spm_pre)&&(o["spm-pre"]=e.spm_pre),o._aplusinsource=t,n.updateNextPageProperties(o)}},handlerClick:function(e,t){for(var a,n=e;n.parentNode;){if("A"===n.tagName||n.getAttribute("data-href")){a=!0;break}n=n.parentNode}t(n,a)},initLinkClickParams:function(e,t){this.lastClickAllParams=l.getAllParams(e,this.prePageParams),this.lastClickAllParams&&this.updateNextParams(this.lastClickAllParams,t,!0)},watchClick:function(){var e,t=this;aplus.on(document,"tap",function(a,n){if("mousedown"!==a.type||!e){e=!1;var o=[];"touchstart"===a.type&&n&&"querySelectorAll"in n&&(o=n.querySelectorAll("a")),t.handlerClick(n,function(n,r){r?(e=!0,t.initLinkClickParams(n,a.type)):"touchstart"===a.type&&1===o.length&&(e=!0,t.initLinkClickParams(o[0],a.type+"_child")),r||"mousedown"!==a.type||t.removeAplusParams()})}})},watchSPM:function(){var e=this;aplus.aplus_pubsub.subscribe("setPageSPM",function(){e.lastClickAllParams.target_expression=location.href;var t=aplus._$||{},a=t.spm||{};a.spm_url&&(e.lastClickAllParams.spm_id=a.spm_url),a.spm_pre&&(e.lastClickAllParams.spm_pre=a.spm_pre),e.updateNextParams(e.lastClickAllParams,"watchSPM",!1)})},handlerPV:function(e,t,a,o){var s=this;if("complete"===a.status){var u=a.what_to_send.pvdataToUt,c=n();if("pv"===e&&u){var p=l.isOnePage(),f={isPrompt:c},g={isPrompt:c};p?(g.eventType="spaSwitch",f.isSPA=p,f.caseName=s.isBack?"isBack":"isForward",f.eventType="spaSwitch"):(g.eventType="pageinit",f=r.assign(f,t)),s.pageDisAppear(g),s.pageAppear(f);var d=s.getAplus4NativeVariableValue("webviewType")||"";s.lastPostData=l.processData(u,d),s.updateAllProperties(s.lastPostData),i(o)&&o.call(this,!0)}else i(o)&&o.call(this,!1)}},getPageSpm:function(e){var t=this;t.spmObj&&t.spmObj.pageSpmUrl?e(t.spmObj):t.getPageSpmUrl(function(a){var n=a&&a.result?a.result:{};t.spmObj.pageSpmUrl=n.pageSpmUrl||"",t.getPageSpmPre(function(a){var n=a&&a.result?a.result:{};t.spmObj.pageSpmPre=n.pageSpmPre||"",e(t.spmObj)},500)},500)},watchLOG:function(){var e=this;l.subscribeLogs(s.MW_CHANGE_HJLJ,function(t){e.getPageSpm(function(a){var n=e.getAplus4NativeVariableValue("webviewType")||"",o=t.what_to_send.pvdataToUt||{},r=l.processLogData(o,a,n);e.customEvent(r)})})},watchCallUTByMethod:function(){var e=this;aplus.aplus_pubsub.subscribe("setMetaInfo",function(t,a){"aplus-session-properties"!==t&&"_session_args"!==t||"object"!=typeof a||e.updateSessionProperties(a)})},startLifeCycle:function(e){var t=this;t.isRefresh=!!e.isRefresh,t.isBack=!!e.isBack,t.observerUT4AplusReady(),t.watchClick(),t.watchLOG(),t.watchPV(e,function(e){e&&!t.isWatch&&(t.isWatch=!0,t.watchSPM(),t.watchPageShow(),t.watchPageHide(),t.watchCallUTByMethod())})}})}var r=a(28),i=a(9),s=a(3),u=a(2),l=a(153),c=a(155),p=a(157),f=window,g=f.navigator.userAgent;t.init=function(e){var t,a=/iPhone|iPad|iPod/i,n=a.test(g)||a.test(navigator.platform);t=n?c:p;var i=o(t).create(r.assign({isPageDisAppear:!0,isPageAppear:!1},e));return i.initAplus4Native(),i}},function(e,t,a){"use strict";var n=a(9),o=a(3),r=a(153),i=a(156),s=window,u="complete",l="0.0.5";e.exports=i.extend({logsQueue:[],UT4AplusReadyStatus:"",observerUT4AplusReady:function(){var e=this,t=this.getNative4AplusVariable();if(t.bridgeVersion>=l){var a=function(){if(e.logsQueue.length>0)for(var t=0;t<e.logsQueue.length;t++)e.logsQueue[t].call(e)};e.ut4aplusReady(function(t){var n=t?t.result:{};n&&n.status===u?(e.UT4AplusReadyStatus=u,a()):document.addEventListener("ut4aplusReady",function(t){var n=t.detail||{};n.status===u&&(e.UT4AplusReadyStatus=u,a())})},1e3)}},filterHandlerPV:function(e,t,a,n){var o=this,r=this.getNative4AplusVariable();r.bridgeVersion>=l?o.UT4AplusReadyStatus===u?o.handlerPV(e,t,a,n):o.logsQueue.push(function(){o.handlerPV(e,t,a,n)}):o.handlerPV(e,t,a,n)},watchPV:function(e,t){var a=this;aplus.pv_context&&a.filterHandlerPV("pv",e,aplus.pv_context,t),r.subscribeLogs(o.MW_CHANGE_PV,function(n){a.filterHandlerPV("pv",e,n,t)})},CALL:function(e){var t=this.getAplus4NativeVariable(),a=this.getNative4AplusVariable();"WKWebView"===t.webviewType?this.getWkNative4Aplus().postMessage(e):"UIWebView"===t.webviewType&&a.CALL(e)},getWkNative4Aplus:function(){var e=s.webkit||{},t=e.messageHandlers||{};return t[this.nativeVariableKey]||{}},initAplus4NativeIsAvailable:function(){var e=this.getNative4AplusVariable(),t=e&&n(e.CALL),a=this.getWkNative4Aplus(),o=n(a.postMessage)||t;return this.setAplus4NativeVariable("isAvailable",o),o},initWebView:function(){var e=this.getNative4AplusVariable();this.setAplus4NativeVariable("webviewType",e[this.envMethodName]);var t=e.bridgeVersion;this.setAplus4NativeVariable("bridgeVersion",t),aplus._aplus4native.bridgeVersion=t,"WKWebView"===e[this.envMethodName]&&(e.CALL=this.getWkNative4Aplus().postMessage),this.setAplus4NativeVariable("toUT",this.toUT.bind(this))}})},function(e,t,a){"use strict";var n=a(9),o=a(7),r=a(153);e.exports=o.extend({id:1,isPageDisAppear:!0,isPageAppear:!1,CALL:function(){},observerUT4AplusReady:function(){},setAplus4UT:function(){},nativeVariableKey:"UT4Aplus",webVariableKey:"Aplus4UT",callbackName:"onUTCallBack",envMethodName:"UTEnv",customEventName:"utCustomEvent",getCallbackName:function(){return[this.webVariableKey,this.callbackName].join(".")},toUT:function(e,t,a){var o,i=this,s=!1;e.sid||(e.sid=this.getSid(e)),aplus.aplusDebug&&(window.console.log(JSON.stringify(e)),navigator.sendBeacon&&navigator.sendBeacon("//log.mmstat.com/toUT?methodName="+e.methodName)),this.subscribeOnce(e.sid,function(a){!s&&n(t)&&(aplus.aplusDebug&&window.console.log(JSON.stringify(e)+", result is "+JSON.stringify(a)),s=!0,o&&clearTimeout(o),r.aplustrack({methodName:i.callbackName,params:e.params?JSON.stringify(e.params):""}),t(a))});var u=a||5e3;o=setTimeout(function(){!s&&n(t)&&(aplus.aplusDebug&&window.console.log(JSON.stringify(e)+", wait timeout "+u),r.aplustrack({methodName:e.methodName+"_timeout_"+u,params:e.params?JSON.stringify(e.params):""}),s=!0,t())},u),this.CALL(e),r.aplustrack({methodName:e.methodName,params:e.params})},getId:function(){return this.id+=1,this.id>1e5&&(this.id=1),this.id},getRandom:function(){return Math.floor(1e5*Math.random())},getSid:function(e){return[e.methodName,this.getId(),this.getRandom()].join("_")},pageDisAppear:function(e){if(this.getAplus4NativeVariableValue("isAvailable")&&this.isPageAppear){this.isPageDisAppear=!0,this.isPageAppear=!1;var t={className:this.nativeVariableKey,methodName:"pageDisAppear"};e&&(t.params=e),this.toUT(t)}},pageAppear:function(e){if(this.getAplus4NativeVariableValue("isAvailable")&&this.isPageDisAppear){this.isPageDisAppear=!1,this.isPageAppear=!0;var t={className:this.nativeVariableKey,methodName:"pageAppear",callback:this.getCallbackName()};return"object"==typeof e&&(t.params=e),this.toUT(t),!0}return!1},getParams:function(e,t){this.toUT({className:this.nativeVariableKey,methodName:"getParams",callback:this.getCallbackName()},e,t)},getAplusParams:function(e,t){this.toUT({className:this.nativeVariableKey,methodName:"getAplusParams",callback:this.getCallbackName()},e,t)},setAplusParams:function(e){for(var t in e)e[t]=encodeURIComponent(e[t]);this.toUT({className:this.nativeVariableKey,methodName:"setAplusParams",params:e,callback:this.getCallbackName()})},removeAplusParams:function(){this.toUT({className:this.nativeVariableKey,methodName:"removeAplusParams",callback:this.getCallbackName()})},updateNextPageUtparam:function(e){this.toUT({className:this.nativeVariableKey,methodName:"updateNextPageUtparam",params:e})},updatePageProperties:function(e){this.toUT({className:this.nativeVariableKey,methodName:"updatePageProperties",params:e,callback:this.getCallbackName()})},updatePageName:function(e){this.toUT({className:this.nativeVariableKey,methodName:"updatePageName",params:e,callback:this.getCallbackName()})},updatePageURL:function(e){this.toUT({className:this.nativeVariableKey,methodName:"updatePageURL",params:e,callback:this.getCallbackName()})},updatePageUtparam:function(e){this.toUT({className:this.nativeVariableKey,methodName:"updatePageUtparam",params:e,callback:this.getCallbackName()})},updateNextPageProperties:function(e){this.toUT({className:this.nativeVariableKey,methodName:"updateNextPageProperties",params:e})},customEvent:function(e){this.toUT({className:this.nativeVariableKey,methodName:this.customEventName,params:e,callback:this.getCallbackName()})},getPageSpmUrl:function(e,t){this.toUT({className:this.nativeVariableKey,methodName:"getPageSpmUrl",callback:this.getCallbackName()},e,t)},getPageSpmPre:function(e,t){this.toUT({className:this.nativeVariableKey,methodName:"getPageSpmPre",callback:this.getCallbackName()},e,t)},updateSessionProperties:function(e,t,a){this.toUT({className:this.nativeVariableKey,methodName:"updateSessionProperties",params:e,callback:this.getCallbackName()},t,a)},ut4aplusReady:function(e,t){this.toUT({className:this.nativeVariableKey,methodName:"ut4aplusReady",params:{},callback:this.getCallbackName()},e,t)},turnOnRealtimeDebug:function(e,t,a){this.toUT({className:this.nativeVariableKey,methodName:"turnOnRealtimeDebug",params:e,callback:this.getCallbackName()},t,a)}})},function(e,t,a){"use strict";var n=a(9),o=a(3),r=a(156),i=a(153);e.exports=r.extend({CALL:function(e){var t=this.getNative4AplusVariable();t.CALL(JSON.stringify(e))},watchPV:function(e,t){var a=this;aplus.pv_context&&a.handlerPV("pv",e,aplus.pv_context,t),i.subscribeLogs(o.MW_CHANGE_PV,function(n){a.handlerPV("pv",e,n,t)})},initAplus4NativeIsAvailable:function(){var e=this.getNative4AplusVariable(),t=e&&n(e.CALL);return this.setAplus4NativeVariable("isAvailable",t),t},initWebView:function(){var e=this.getNative4AplusVariable(),t="AndroidWebview";if(e&&("function"==typeof e[this.envMethodName]&&(t=e[this.envMethodName]()),"function"==typeof e.bridgeVersion)){var a=e.bridgeVersion();this.setAplus4NativeVariable("bridgeVersion",a),aplus._aplus4native.bridgeVersion=a}this.setAplus4NativeVariable("webviewType",t),this.setAplus4NativeVariable("toUT",this.toUT.bind(this))},updatePageProperties:function(e,t){t&&(t.isBack||t.isRefresh)&&(e["spm-cnt"]&&(e["force-spm-cnt"]=e["spm-cnt"],delete e["spm-cnt"]),e["spm-url"]&&(e["force-spm-url"]=e["spm-url"],delete e["spm-url"])),this.toUT({className:this.nativeVariableKey,methodName:"updatePageProperties",params:e,callback:this.getCallbackName()})},setAplus4UT:function(){this.toUT({className:this.nativeVariableKey,methodName:"setAplus4UT",params:{},callback:this.getCallbackName()})}})},function(e,t,a){"use strict";function n(e,t){c.aplus_pubsub.subscribe(e,function(e){"complete"===e.status&&t(e)})}function o(e){c&&c.aplusDebug&&console&&console.log(e)}function r(e,t){c&&c.aplusDebug&&console&&(console.log("methodName",e),console.log("params",t)),window.AplusBridgeLite.call(p,e,t,o,o,5e3)}function i(){n("mw_change_pv",function(e){var t=e.what_to_send||{},a=l.processAplusBridgeLiteData(t.pvdataToUt)||{};r("toUT2",a)}),n("mw_change_hjlj",function(e){var t=e.what_to_send||{},a=l.processAplusBridgeLiteData(t.pvdataToUt)||{};r("toUT2",a)})}var s=a(2),u=a(3),l=a(147),c=s.getGlobalValue(u.APLUS,{}),p="AplusBridgeLite";e.exports=function(){return{run:function(){var e=/AplusBridgeLite/i.test(window.navigator.userAgent);e&&(c.setMetaInfo(u.APLUS_BRIDGE_NAME,"AplusBridgeLite"),i())}}}},function(e,t,a){"use strict";var n=a(10),o=a(2),r=a(143),i=n.extend({push:function(e){this.length++,r.processTask(e,this.opts)}});e.exports=function(){return{processAplusQueue:function(e){var t=this.options.config||{},a=o.getGlobalValue(e);o.setGlobalValue(e,i.create({opts:t,startLength:a.length,length:0})),r.processGoldlogQueue(a,t)},run:function(){var e=this.options.context.aplus_config,t=e.globalConfig.APLUS_QUEUE;this.processAplusQueue(t),"aplus_queue"===t&&this.processAplusQueue("goldlog_queue"),r.subscribeAndProcessQueue(t,this.options.config)}}}},function(e,t,a){"use strict";var n=a(18),o=a(41),r=a(42),i=a(43),s=a(20);e.exports=function(){return{init:function(e){this.options=e},addStyle:function(e,t){var a=e+"_style",n=document.getElementById(a);n||(n=document.createElement("link"),n.id=a,n.href=t,n.rel="stylesheet",n.type="text/css",document.getElementsByTagName("head").item(0).appendChild(n))},writeCookie:function(e,t){try{var a=new Date;a.setTime(a.getTime()+864e5),i.setCookie(e,t,{SameSite:"none",expires:"expires="+a.toUTCString()})}catch(e){s().w(e)}},getCache:function(e,t){return"cookie"===e?parent!==self?i.getCookie(t):"":"sessionStorage"===e?window.sessionStorage.getItem(t):void 0},setCache:function(e,t){"cookie"===e?parent!==self&&this.writeCookie(t,"on"):"sessionStorage"===e&&window.sessionStorage.setItem(t,"on")},run:function(){var e=this,t=parent!==self,a=this.options.config||{};r.isArray(a.urlRules)&&n(a.urlRules,function(a){if(!t||a.allowIframeLoad){var i,s=new RegExp(a.rule);try{i=a.id?e.getCache(a.cacheType,a.id):""}catch(e){}if(s.test(location.href)||i){try{e.setCache(a.cacheType,a.id)}catch(e){}r.isArray(a.cdnPath)?n(a.cdnPath,function(t){/\.css$/.test(t)?e.addStyle(a.id,t):/\.js/.test(t)&&o.addScript(t)}):o.addScript(a.cdnPath)}}})}}}},function(e,t,a){"use strict";var n=a(3),o=a(41),r=a(79),i=a(2);e.exports=function(){return{run:function(){var e=i.getGlobalValue(n.APLUS),t=e._$||{},a=t.meta_info||{},s="https://o.alicdn.com/baxia/baxia-entry-gray/index.js";r.onload(function(){var e=a["aplus-xplug"];"NONE"!==e&&o.addScript(s,"","aplus-baxia")})}}}},function(e,t,a){"use strict";e.exports=function(){return{run:function(){aplus._aplus_cplugin_webvt||a(163)()}}}},function(e,t,a){"use strict";function n(e){var t=m.getQueryFromUrl()||{},a=f({},t);return delete a.spm,delete a.utparam,"config"===e?a._is_config_pv="1":a._is_auto_pv="1",a}function o(){var e=c.getGlobalValue("aplus"),t=e.getMetaInfo("data-spm")||g.hash(location.host),a=g.hash(location.pathname);return[t,a]}function r(){var e=c.getGlobalValue("aplus_queue"),t=o();e.push({action:"aplus.setPageSPM",arguments:t})}function i(){var e=c.getGlobalValue("aplus"),t=n("auto"),a=e.getPageSPM()||[];"0"===a[1]&&r(),aplus_queue.push({action:"aplus.sendPV",arguments:[{is_auto:!0},t]})}function s(){var e=c.getGlobalValue("aplus"),t=c.getGlobalValue("aplus_queue"),a=e.getMetaInfo(p.APLUS_SPA_TYPE);["history","hash"].indexOf(a)>-1?(i(),t.push({action:"aplus.aplus_pubsub.subscribe",arguments:[p.APLUS_PAGE_CHANGE,function(){r();var e=n("auto");t.push({action:"aplus.sendPV",arguments:[{is_auto:!0},e]})}]})):i()}function u(e){for(var t=c.getGlobalValue("aplus"),a=c.getGlobalValue("aplus_queue"),r=t.getMetaInfo(p.APLUS_AUTO_PV)||[],i=n("config"),s=0;s<r.length;s++){var u=r[s],l=u.match,f=h(l)&&l(e)||v(l)&&l.test(e.pathname);if(f){var g=u.pageSPM||h(u.getPageSPM)&&u.getPageSPM(e)||o(),d=h(u.formatter)&&u.formatter(i,e)||{};d._is_config_pv="1",a.push({action:"aplus.setPageSPM",arguments:g}),a.push({action:"aplus.sendPV",arguments:[{is_auto:!1},d]});break}}}function l(){var e=c.getGlobalValue("aplus"),t=e.getMetaInfo(p.APLUS_SPA_TYPE);u({pathname:location.pathname}),["history","hash"].indexOf(t)>-1&&aplus_queue.push({action:"aplus.aplus_pubsub.subscribe",arguments:[p.APLUS_PAGE_CHANGE,function(e){u(e)}]}),aplus_queue.push({action:"aplus.aplus_pubsub.subscribe",arguments:["setMetaInfo",function(e){e===p.APLUS_AUTO_PV&&u({pathname:location.pathname})}]})}var c=a(2),p=a(3),f=a(13),g=a(59),d=a(45),m=a(17),_=a(79),h=a(9),v=a(164),b=a(19);e.exports=function(){var e=c.getGlobalValue("aplus"),t=c.getGlobalValue("aplus_queue"),a=d.getConfig()||{},n=e.getMetaInfo("aplus-waiting"),o=e.getMetaInfo("aplus-cross-day-auto-pv"),r=a.pvTrack;e._aplus_apv||(e._aplus_apv={status:"complete"},"off"===r||"MAN"===n?l():s(),"on"===o&&_.on(document.body,"click",function(){var a=e._last_pv_info;if(b(a)){var n=new Date,o=new Date(a.datetime);if(n.getFullYear()>o.getFullYear()||n.getMonth()>o.getMonth()||n.getDate()>o.getDate()){var r=a.pageConfig||{},i=a.pageParams||{};i._is_cross_day_auto_pv="1",t.push({action:"aplus.sendPV",arguments:[r,i]})}}}))}},function(e,t){function a(e){return"[object RegExp]"===Object.prototype.toString.call(e)}e.exports=a},function(e,t,a){"use strict";e.exports=function(e){try{var t=window,n="g_tb_aplus_loaded";if(t[n])return;t[n]=1,a(166).isDebugAplus();var o=a(20),r=a(36),i=a(28),s=a(18),u=a(167),l="running",c=["aplusReady",l];r.doPubMsg(c),u.run({plugins:e.plugins,context:function(){var t={PAGE_LOAD_TIME:new Date},a=[];return s(e.plugins,function(e){t[e.name]=e.config||{},"aplus_log_inject"===e.name&&e.config&&e.config.plugins&&(a=e.config.plugins.pv,s(a,function(e){t[e.name]=e.config}))}),i.assign(t,{aplus_config:e})}},function(){o().tip_i("APLUS INIT SUCCESS")})}catch(e){}}},function(e,t,a){"use strict";var n,o=a(2),r=a(20);t.isDebugAplus=function(e){if("boolean"==typeof n)return n;if("boolean"==typeof e&&(n=e),localStorage&&location){var t=location.href.match(/aplusDebug=(true|false)/);t&&t.length>0&&localStorage.setItem("aplusDebug",t[1]),n="true"===localStorage.getItem("aplusDebug")}else n=!1;return o.setGoldlogVal("aplusDebug",n),n&&r().setDebug(n),n}},function(e,t,a){"use strict";var n=a(134),o=a(9),r=a(36);t.run=function(e,t){var a=new n;a.run({plugins:e.plugins,context:e.context},{config:{},userdata:{},pubsubType:"aplusinit",messageFnQueue:[],middlewareMessageKey:"mw_change_aplusinit"},function(e){var a=["aplusInitContext",e];r.doPubMsg(a),r.doCachePubs(a),o(t)&&t(e)})}}]);/*! 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)}})}}()}]);