/*! 2019-03-20 10:16:09 v0.0.27 */ !(function (e) { function n (t) { if (o[t]) return o[t].exports; var a = o[t] = {exports: {}, id: t, loaded: !1}; return e[t].call(a.exports, a, a.exports, n), a.loaded = !0, a.exports } var o = {}; return n.m = e, n.c = o, n.p = '', n(0) }([function (e, n, o) { !(function(){var e=window.dmtrack||{};window.dmtrack=e,e.frontInit||(e.frontInit=!0,o(1),o(2),o(3),o(4))}()) }, function (e, n) { var o, t, a, i, r = 'uns_unc_f', c = 'trfc_i', d = new RegExp(r + '=([^;]+)', 'i'), u = new RegExp(c + '=[^&]*', 'i'), s = document.cookie; window.AFFILIATE_ESCODE && (o = c + '=' + window.AFFILIATE_ESCODE, t = s.match(d), t!=null && (t = t[1], o = u.test(t) ? t.replace(u, o):t + '&' + o), i = new Date(), i.setDate(i.getDate() + 24820), i = i.toUTCString(), a = r + '=' + o + ';expires=' + i + ';domain=alibaba.com;path=/', document.cookie = a) }, function (e, n) { String.prototype.Trim = function () { return this.replace(/(^\s*)|(\s*$)/g, '') }; var o = {}, t = document.getElementById('beacon-aplus'), a = t && t.getAttribute && t.getAttribute('exparams') || ''; a && (a = String(a), a.replace(/([^=&]+)\s*(?:=(\s*[^&]*))?(&|$)/g, function (e, n, t) { n && (o[n] = decodeURIComponent(t || '')) })), window.dmtrack_pageid = o.pageid || '', window.dmtrack_hostname = o.hn || ''; var i = window.dmtrack_c = o.dmtrack_c || '', r = window.dmtrack || {}; r.get_cookie = function (e) { var n = '(?:; )?' + e + '=([^;]*);?', o = new RegExp(n); if (o.test(document.cookie)) { var t = decodeURIComponent(RegExp.$1); return t.Trim().length > 0 ? t:'-' }return '-' }, r.getRand = function () { var e; try { e = dmtrack_pageid }catch (n) { e = '' } if(e) { var n = e.substring(0, 16), o = e.substring(16, 26), t = /^[\-+]?[0-9]+$/.test(o) ? parseInt(o, 10):o; e = n + t.toString(16) } else e = r.get_cookie('cna') || '001', e = e.toLowerCase().replace(/[^a-z\d]/g, ''), e = e.substring(0, 16); for (var a = (new Date()).getTime(), i = [e, a.toString(16)].join(''), c = 1; c < 10; c++) { var d = parseInt(Math.round(1e10 * Math.random()), 10).toString(16); i += d } return i = i.substr(0, 42) }, window.dmtrack_pageid = r.getRand(), o.pageid = dmtrack_pageid; var c = [], d = parent !== self; c.push('ifm=' + (d ? 1:0)); var u = r.get_cookie('xman_us_t'), s = u.match(/(?:^|&)\s*sign\s*=\s*([^&]+)/); c.push('login=' + (s && 'y' === s[1] ? 1:0)), o.dmtrack_b = '{' + c.join('|') + '}', r.addCookieC = function () { var e = i.substring(1, i.length - 1), n = []; '-' != e && '' != e && (n = e.split('|')); for (var o in window.beaconData)n.push(o + '=' + window.beaconData[o]); try { var t = r.get_cookie('uns_unc_f'), a = t.match(/(?:^|&)trfc_i=(.*?)(&|$)/); a!==null && n.push('trfc_i=' + a[1]) } catch(e) {} try{ var c = r.get_cookie('xman_us_f'); if ('' != c || '-' != c) { var d = 0, u = c.length - 1, s = c.indexOf('"'), l = c.lastIndexOf('"'); u == l && (c = c.substring(0, u)), d == s && (c = c.substring(1)); var g = 'x_as_i', p = '', _ = c.split('&'), f = []; if (_.length > 0)for (var o = 0; o < _.length; o++) if(f = _[o].split('='), f[0] == g) { p = f[1]; break }if ('' != p) { p = decodeURIComponent(p); var w = JSON.parse(p), m = 'src', h = 'af', v = 'cv', k = 'tp1', b = 'cpt', y = 'vd', x = 'affiliateKey', I = w[m], C = w[h], E = w[v], S = w[k], A = w[b], R = w[y], B = w[x]; I && '' != I && (n.push(m + '=' + I), n.push(h + '=' + C), n.push(v + '=' + E), n.push(k + '=' + S), n.push(b + '=' + A), n.push(y + '=' + R), n.push(x + '=' + B)) } } }catch (e) {}try { var j = r.get_cookie('aep_usuc_f'); if ('' != j || '-' != j) { var U = encodeURIComponent(j); n.push('aep_usuc_f=' + U) } }catch (e) {}try { var T = r.get_cookie('aeu_cid'); if ('' != T || '-' != T) { var q = encodeURIComponent(T); n.push('aeu_cid=' + q) } }catch (e) {} return n = n.length==0 ? '-':n.join('|'), '{' + n + '}' }, i = r.addCookieC(), o.dmtrack_c = i; var l = r.get_cookie('ali_beacon_id'); l && (o.ali_beacon_id = l); var g = r.get_cookie('ali_apache_id'); g && (o.ali_apache_id = g); var p = r.get_cookie('ali_apache_track'); p && (o.ali_apache_track = p); var _ = r.get_cookie('ali_apache_tracktmp'); _ && (o.ali_apache_tracktmp = _); var f = []; for (var w in o)f.push(encodeURIComponent(w) + '=' + encodeURIComponent(o[w])); t.setAttribute('exparams', f.join('&')); for (var m = window.dmtrack_queue || (window.dmtrack_queue = []), h = ['tracking', 'clickstat', 'dotstat'], v = 0; v < h.length; v++)!(function(e){r[e]=function(){m.push({action:"dmtrack."+e,arguments:arguments})}}(h[v])); window.sk_dmtracking_core = function () { r.isDmTracked || r.tracking() }, window.sk_dmtracking = function () { window.sk_dmtracking_core() }; var k = '0.0.14'; t.setAttribute('plugins', 'aplus_plugin_icbu/' + k + '/index.js'), m = window.goldlog_queue || (window.goldlog_queue = []), m.push({action: 'goldlog.setMetaInfo', arguments: ['aplus-rhost-v', 'gj.mmstat.com/7.gif']}); var b = r.get_cookie('sc_g_cfg_f'), y = encodeURIComponent(b.replace(/=/g, ':')); m.push({action: 'goldlog.appendMetaInfo', arguments: ['aplus-cpvdata', {lang_cookie: y}]}), m.push({action: 'goldlog.appendMetaInfo', arguments: ['aplus-exdata', {lang_cookie: y}]}) }, function (e, n) { function o () { return window.$flasher ? 'flasher':window.$flasherGroup || 'normal' } function t () { try { return window.__BB && window.__BB.exposed && window.__BB.exposed - window.performance.timing.navigationStart || -1 } catch(e) { return -1 } } function a () { var e = ''; if (window.__APLUS_ABRATE__) try{ e = JSON.stringify(window.__APLUS_ABRATE__) } catch(n) { e = '' } return encodeURIComponent(e) } function i () { window.__BB && Object.defineProperty && Object.defineProperty(window.__BB, 'exposed', {enumerable: !0, configurable: !0, get: function () { return this._exposed }, set: function (e) { try { var n = window.goldlog_queue || (window.goldlog_queue = []); n.push({action: 'goldlog.appendMetaInfo', arguments: ['aplus-exdata', {fp_expose: e - window.performance.timing.navigationStart}]}) }catch (e) {} this._exposed = e }}) } function r () { var e = window.goldlog_queue || (window.goldlog_queue = []), n = o(), r = t(), c = a(); e.push({action: 'goldlog.appendMetaInfo', arguments: ['aplus-cpvdata', {flasher_group: n, local_ab_params: c}]}), e.push({action: 'goldlog.appendMetaInfo', arguments: ['aplus-exdata', {flasher_group: n, local_ab_params: c, fp_expose: r}]}), r === -1 && i() }r() }, function (e, n, o) { function t (e) { try { localStorage.setItem(l, e) }catch (e) {} } function a (e, n) { var o = w.createElement('script'); o.type = 'text/javascript', o.crossOrigin = 'anonymous', o.src = e; var t = function (e) { e = e || f.event, ('load' === e.type || /loaded|complete/.test(o.readyState) && (!w.documentMode || w.documentMode < 9)) && (o.onload = o.onreadystatechange = o.onerror = null, n()) }, a = function (e) { o.onload = o.onreadystatechange = o.onerror = null, n(e) }; o.onload = o.onreadystatechange = t, o.onerror = a; var i = w.head || w.getElementsByTagName('head')[0]; i.insertBefore(o, i.lastChild) } function i (e) { var n = !1; a(g, function (o) { o ? e(o):window.AWSC && window.AWSC.use ? window.AWSC.use('um', function (o, t) { 'loaded' === o ? t.init({appName: p, serviceLocation: 'us'}, function (o, t) { if ('success' === o && t && t.tn) { if (!n) { var a = t.tn; e(null, a), n = !0 } } else e(new Error('token init failed')) }):e(new Error('token load failed')) }):e(new Error('no AWSC available')) }) } function r (e, n, o) { var t = setTimeout(function () { o(new Error('getUmid.do timeout')), window.__umid_tiny_jsonp_callback__ = void 0 }, 3e3); window.__umid_tiny_jsonp_callback__ = function (e) { e && parseInt(e.code)===200 ? e.data && e.data.umid ? o(null, e.data.umid):o(new Error('umid empty')):o(new Error('umid code error')), window.__umid_tiny_jsonp_callback__ = void 0, clearTimeout(t) }; var a = w.createElement('script'); a.type = 'text/javascript', a.src = e + '?token=' + n.token + '&channel=' + n.channel + '&args=' + n.args + '&callback=__umid_tiny_jsonp_callback__'; var i = w.head || w.getElementsByTagName('head')[0]; i.insertBefore(a, i.lastChild) } function c (e) { i(function (n, o) { n ? e(n):r(_, {token: o, channel: 'aplus', args: '-'}, function (n, o) { e(n, o) }) }) } function d (e) { try { var n = localStorage.getItem(l); n ? e(null, n):c(function (n, o) { e(n, o), n || t(o) }) } catch(n) { e(n) } } function u () { d(function (e, n) { if (e)s.error(e); else { var o = window.goldlog_queue || (window.goldlog_queue = []); o.push({action: 'goldlog.appendMetaInfo', arguments: ['aplus-cpvdata', {web_umid: n}]}), o.push({action: 'goldlog.appendMetaInfo', arguments: ['aplus-exdata', {web_umid: n}]}) } }) } var s = o(5), l = '__web_umid_key__', g = 'https://aeis.alicdn.com/AWSC/AWSC/awsc.js', p = 'buyerbops', _ = 'https://buyercentral.alibaba.com/buyer/umid/getUmid.do', f = window, w = f.document; u() }, function (e, n) { function o (e, n) { var o = 'msg=' + encodeURIComponent(n); if (window.goldlog)window.goldlog.record && window.goldlog.record(e, 'CLK', o, 'GET'); else { var t = window.goldlog_queue || (window.goldlog_queue = []); t.push({action: 'goldlog.record', arguments: [e, 'CLK', o]}) } }n.info = function (e) { o('/icbu-aplus.1.log', e) }, n.error = function (e) { o('/sc.aplus.err', e && e.toString()) } }])); /* @license v8.13.7,8.14.0,1 2020-04-21 17:04:58 */!function e(t,n,r){function a(i,u){if(!n[i]){if(!t[i]){var s="function"==typeof require&&require;if(!u&&s)return s(i,!0);if(o)return o(i,!0);throw new Error("Cannot find module '"+i+"'")}var l=n[i]={exports:{}};t[i][0].call(l.exports,function(e){var n=t[i][1][e];return a(n?n:e)},l,l.exports,e,t,n,r)}return n[i].exports}for(var o="function"==typeof require&&require,i=0;is;s++){var l=i[s];r(l,"name")===e&&(n=r(l,t||"content"))}return n||""}var i,u,s=e("@ali/grey-publish").util;n.tryToGetAttribute=r,n.getMetaTags=a,n.getMetaCnt=o,n.indexof=function(e,t){for(var n=0;n0)for(var n=new RegExp("^"+t),r=0;r=t.size&&(u(e,a),l(o,e.LS_KEY_CLUSTER,e.LS_PREFIX),_.set(e.LS_KEY_CLUSTER,JSON.stringify([o])),_.set(o,a),n=!0),i=e.base||u(e)?(t=e.grey,n.type="grey",r=e.greySize):(t=e.stable,n.type="stable",r=e.stableSize);try{h.isFunction(e.isLoadDevVersion)&&e.isLoadDevVersion()&&(t=e.dev,n.type="dev",r=e.devSize)}catch(s){}return n.url=t,h.isFunction(e.before)?e.before(n,function(t){v(t,e,r)}):v(t,e,r),h.isFunction(e.after)&&(e.after=i(e.after,n)),this},b.config=function(e){return o(m,e||{}),this},t.exports=b},{"./util":4}],4:[function(e,t,n){"use strict";var r=function(e){return"function"==typeof e};n.isFunction=r;var a=function(e,t,n){var a=document,o=a.getElementsByTagName("script")[0],i=a.getElementsByTagName("head")[0],u=a.createElement("script");u.type="text/javascript",u.async=!0,u.src=e,u.onerror=function(){r(n)&&n()},o?o.parentNode.insertBefore(u,o):i&&i.appendChild(u),r(t)&&t.call(this,{from:"script"})};n.addScript=a,n.getCookie=function(e){var t=document,n=t.cookie.match(new RegExp("(?:^|;)\\s*"+e+"=([^;]+)"));return n?n[1]:""};var o={base:1e4,timeout:1e4},i=function(e,t,n){fetch(e).then(function(e){return/application\/json/.test(e.headers.get("content-type"))?e.json():e.text()}).then(function(e){t(e)})["catch"](function(e){n(e)})},u=function(e,t,n){var r,a="GET",i=function(){r.responseText?t(r.responseText):n()},u=window.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest;u?(r=new XMLHttpRequest,r.open(a,e,!0)):(r=new XDomainRequest,r.open(a,e)),r.timeout=o.timeout,r.onload=i,r.onerror=n,r.ontimeout=n,r.send()},s=function(e,t,n){window.fetch?i(e,t,n):u(e,t,n)};n.request=s,n.requestJS=function(e,t,n,r){return/blitz/i.test(t)?void r():void s(e,n,r)},n.hash=function(e){var t,n,r=1315423911;for(t=e.length-1;t>=0;t--)n=e.charCodeAt(t),r^=(r<<5)+n+(r>>2);return(2147483647&r).toString(16)}},{}],5:[function(e,t,n){"use strict";!function(){try{var t=window,n="g_aplus_grey_launched";if(t[n])return;t[n]=1;var r=e("./for_aplus_fns"),a=e("@ali/grey-publish").util,o=function(){var n=t.goldlog||(t.goldlog={}),a=e("@ali/grey-publish").grey,o=!0;try{var i=t.location.href.match(/aplusDebug=(true|false)/);i&&i.length>0&&t.localStorage.setItem("aplusDebug",i[1]),o="true"===t.localStorage.getItem("aplusDebug"),n.aplusDebug=o}catch(u){}var s={"aplus_o.js":{stable_version:{value:"8.13.7"},grey_version:{value:"8.14.0"},dev_version:{}},"aplus_std.js":{stable_version:{value:"8.13.7"},grey_version:{value:"8.14.0"},dev_version:{}},"aplus_wap.js":{stable_version:{value:"8.13.7"},grey_version:{value:"8.14.0"},dev_version:{}},"aplus_int.js":{stable_version:{value:"8.13.7"},grey_version:{value:"8.14.0"},dev_version:{}},"aplus_u.js":{stable_version:{value:"8.13.7"},grey_version:{value:"8.14.0"},dev_version:{}}},l="APLUS_S_CORE_0.21.2_20200421170458_",c=e("../grey/util"),g=t.location.protocol;0!==g.indexOf("http")&&(g="https:");var f=c.getCdnpath();n.getCdnPath=c.getCdnpath;var p=g+f+"/alilog",v=r.getAplusBuVersion(),d=v.v,h=v.BU,_=1e4,m=[],b=function(){var e="";if(m&&m.length>0)for(var t=c.getDateMin(),n=0;n=r&&(e=Math.floor(1e4*m[n].value))}return e},y=e("./utilPlugins"),S=function(e){var t,n=o?[]:y.getFrontPlugins({version:e,fn:d,BU:h,isDebug:o}),r=[["s",e,d].join("/")],a=o?[]:y.getPlugins({version:e,fn:d,BU:h}),i=0;try{var u=[].concat(n,r,a);t=p+"/??"+u.join(",")+"?v=20200421170458",i=u.length}catch(s){t=p+"/??"+r.join(","),i=r.length}return{size:i,url:t}},w=b();w&&(_=w),n.aplus_cplugin_ver="0.7.11",n.record||(n.record=function(e,n,r,a){(t.goldlog_queue||(t.goldlog_queue=[])).push({action:"goldlog.record",arguments:[e,n,r,a]})});var j=s[d]||{},C=j.stable_version||{},E=j.grey_version||{},L=j.dev_version||{},V=C.value||"8.5.9",k=E.value||V,B=L.value||k,A=S(B),P=S(V),x=S(k),M=c.getCurrentNode(),R=M?M.getAttribute("cspx"):"",U={LS_KEY_CLUSTER:"APLUS_LS_KEY",LS_KEY:l,LS_PREFIX:"APLUS_S_CORE",isDebug:o,isLoadDevVersion:!1,dev:A.url,devSize:A.size,stable:P.url,stableSize:P.size,grey:x.url,greySize:x.size,ratio:_,nonce:R,before:function(e,t){switch(e.type){case"grey":n.lver=B;break;case"stable":n.lver=V;break;case"dev":n.lver=B}if(o){var r={version:n.lver,fn:d,BU:h,isDebug:o};c.loopAddScript(p,y.getFrontPlugins(r))}if("function"==typeof t){var a=S(n.lver);t(a.url)}}};o&&(U.after=function(){var e=0,r=function(){if(!(e>=100)){e++;var a=n._$||{};t.setTimeout(function(){"complete"===a.status?c.loopAddScript(p,y.getPlugins({version:n.lver,fn:d,BU:h})):r()},100)}};r()}),a.load(U)},i=r.getNewCdnpathByMeta();i?a.addScript(i,function(){},function(){o()}):o()}catch(u){}}()},{"../grey/util":1,"./for_aplus_fns":6,"./utilPlugins":9,"@ali/grey-publish":2}],6:[function(e,t,n){"use strict";var r,a=e("./util"),o=a.aplusVersions,i=[o.V_O,o.V_S,o.V_I,o.V_W,o.V_U],u=function(){for(var e,t,n=[{version:o.V_O,domains:[/^https?:\/\/(.*\.)?youku\.com/i,/^https?:\/\/(.*\.)?tudou\.com/i,/^https?:\/\/(.*\.)?soku\.com/i,/^https?:\/\/(.*\.)?laifeng\.com/i],BU:"YT"}],r=0;r-1?e:null};n.getNewCdnpathByMeta=function(){r||(r=a.getMetaCnt("aplus-version"));var e,t=r,n=t.split("@");return 2===n.length&&(e="//d.alicdn.com/alilog/mlog/aplus.js?id="+n[1]),e};var l=function(){try{for(var e=document,t=e.getElementsByTagName("script"),n=0;n0&&(e=n[0])}}catch(r){e=""}finally{return e}};n.getAplusBuVersion=function(){var e,t;try{e=o.V_S;var n=c();n&&(e=n);var r=u();r&&r.v&&(e=r.v),t=r.BU;var a=s();a&&(e=a),e===o.V_2&&(e=o.V_S)}catch(i){e=e===o.V_O?o.V_W:o.V_S}finally{return{v:e,BU:t}}}},{"./util":8}],7:[function(e,t,n){"use strict";function r(){var e="",t=/Umeng4Aplus|UT4Aplus/i.test(v);return t&&(e="aplus4native.js"),e}function a(e){return d&&!g.WindVane&&e.fn!==p.V_O}function o(e){return(h||d&&!g.WindVane)&&e.fn===p.V_O}function i(e,t){var n=e.trackerCfg||{},r=n.points||[];if(r.length>0)for(var a=new RegExp(t),o=0;o0)e.setItem(t,r[1]);else{var a=c.referrer||"",o=a.match(n);if(o&&o.length>0)e.setItem(t,o[1]);else{var i=g.name||"",u=i.match(n);u&&u.length>0&&e.setItem(t,u[1])}}var s=e.getItem(t)||"";return s&&s.length>50?!0:!1}catch(l){return!1}},y=function(){try{return!!/lazada/.test(location.host)}catch(e){return!1}},S=function(e){try{if("function"==typeof g.WebSocket){var t=/alibaba-inc|aliway|alibabacorp\.com/.test(location.hostname),n=f.getMetaCnt("aplus-channel"),r=/aplus_ws=true/.test(location.search)||"WS"===n||"WS-ONLY"===n,a=location.host,o=/tmall|taobao\.com/g.test(a),i=/Qianniu\/\d/.test(v),u=t||r||o&&!f.isMobile(v)&&!i&&e.fn!==p.V_W;return u&&(goldlog.aplusChannel="WS"),u}return!1}catch(s){return!1}};n.getFrontPlugins=function(e){var t="s/"+e.version+"/plugin",n=goldlog.aplus_cplugin_ver,i=r(e.isDebug);return[{enable:a(e),path:[t,"aplus_windvane2.js"].join("/")},{enable:o(e),path:[t,"aplus_bcbridge.js"].join("/")},{enable:!!i,path:["aplus_cplugin",n,i].join("/")},{enable:l(),path:[t,"aplus_webvt.js"].join("/")},{enable:!0,path:[t,"aplus_client.js"].join("/")},{enable:!0,path:["aplus_cplugin",n,"toolkit.js"].join("/")},{enable:!0,path:["aplus_cplugin",n,"monitor.js"].join("/")},{enable:b(),path:["aplus_cplugin",n,"track_deb.js"].join("/")},{enable:y(),path:["aplus_plugin_lazada","lazadalog.js"].join("/")},{enable:S(e),path:[t,"aplus_ws.js"].join("/")},{enable:u(e),path:[t,"aplus_ae.js"].join("/")},{enable:s(e),path:[t,"aplus_ac.js"].join("/")}]},n.getPlugins=function(e){var t="s/"+e.version+"/plugin";return[{enable:_(e),path:"aplus_plugin_guide/index.js"},{enable:m(e),path:[t,"aplus_spmact.js"].join("/")}]}},{"./util":8,"@ali/grey-publish":2}],8:[function(e,t,n){t.exports=e(1)},{"@ali/grey-publish":2}],9:[function(e,t,n){"use strict";var r=e("./plugins"),a=e("./util"),o=(document,a.getCurrentNode()),i=function(e){var t=[];try{if(o){var n=o.getAttribute(e||t);t=n.split(",")}}catch(r){t=[]}finally{return t}},u=function(e){var t=[];if(e)for(var n=0;n