1 line
106 KiB
JavaScript
1 line
106 KiB
JavaScript
!function(e){function t(t){for(var n,r,i=t[0],a=t[1],u=0,c=[];u<i.length;u++)r=i[u],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&c.push(o[r][0]),o[r]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(s&&s(t);c.length;)c.shift()()}var n={},r={23:0,22:0,40:0,45:0},o={23:0,22:0,40:0,45:0};function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(e){var t=[];r[e]?t.push(r[e]):0!==r[e]&&{1:1,2:1,3:1,4:1,6:1,7:1,8:1,10:1,12:1,15:1,16:1,17:1,18:1,19:1,24:1,29:1,32:1,35:1,37:1,39:1,41:1,42:1,44:1}[e]&&t.push(r[e]=new Promise((function(t,n){for(var o=({1:"findSimilar-3hO2L~gallery-9g91h~list-88mY4~rcmd-9jQqC~slider-kTGCl~waterfall-VLHdM",2:"comet-pro-shipto-bLCM2~login~ship-to-setting",3:"comet-pro-shipto-bLCM2~maddress~ship-to-setting",4:"findSimilar-3hO2L",5:"loader~login",6:"login~slider-kTGCl",7:"comet-pro-shipto-bLCM2~ship-to-setting",8:"login",9:"pop-layer~service-E5p6Y",10:"webpush-ui",11:"affiliate-tracker",12:"bind-email",14:"comet-pro-shipto-bLCM2",15:"cpf",16:"email-join-verification",17:"feedback",18:"gallery-9g91h",19:"gdpr",20:"gep-sdk",21:"global-format",24:"list-88mY4",25:"loader",26:"local-data",27:"login-channel-update",28:"login-join-verify-check",29:"maddress",30:"mtop",31:"nano-ppc-media-tracking-YnuuQ",32:"new-email-join-verify",33:"new-phone-join",34:"page-collect",35:"phone-join-verification",36:"pop-layer",37:"rcmd-9jQqC",38:"rsa",39:"scene-login-panel",40:"service-E5p6Y",41:"ship-to-setting",42:"slider-kTGCl",43:"smart-link",44:"waterfall-VLHdM",45:"webpush-msite"}[e]||e)+".css",a=i.p+o,u=document.getElementsByTagName("link"),c=0;c<u.length;c++){var s=(f=u[c]).getAttribute("data-href")||f.getAttribute("href");if("stylesheet"===f.rel&&(s===o||s===a))return t()}var l=document.getElementsByTagName("style");for(c=0;c<l.length;c++){var f;if((s=(f=l[c]).getAttribute("data-href"))===o||s===a)return t()}var d=document.createElement("link");d.rel="stylesheet",d.type="text/css",d.onload=t,d.onerror=function(t){var o=t&&t.target&&t.target.src||a,i=new Error("Loading CSS chunk "+e+" failed.\n("+o+")");i.code="CSS_CHUNK_LOAD_FAILED",i.request=o,delete r[e],d.parentNode.removeChild(d),n(i)},d.href=a,0!==d.href.indexOf(window.location.origin+"/")&&(d.crossOrigin="anonymous"),document.getElementsByTagName("head")[0].appendChild(d)})).then((function(){r[e]=0})));var n=o[e];if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((function(t,r){n=o[e]=[t,r]}));t.push(n[2]=a);var u,c=document.createElement("script");c.charset="utf-8",c.timeout=120,i.nc&&c.setAttribute("nonce",i.nc),c.src=function(e){return i.p+""+({1:"findSimilar-3hO2L~gallery-9g91h~list-88mY4~rcmd-9jQqC~slider-kTGCl~waterfall-VLHdM",2:"comet-pro-shipto-bLCM2~login~ship-to-setting",3:"comet-pro-shipto-bLCM2~maddress~ship-to-setting",4:"findSimilar-3hO2L",5:"loader~login",6:"login~slider-kTGCl",7:"comet-pro-shipto-bLCM2~ship-to-setting",8:"login",9:"pop-layer~service-E5p6Y",10:"webpush-ui",11:"affiliate-tracker",12:"bind-email",14:"comet-pro-shipto-bLCM2",15:"cpf",16:"email-join-verification",17:"feedback",18:"gallery-9g91h",19:"gdpr",20:"gep-sdk",21:"global-format",24:"list-88mY4",25:"loader",26:"local-data",27:"login-channel-update",28:"login-join-verify-check",29:"maddress",30:"mtop",31:"nano-ppc-media-tracking-YnuuQ",32:"new-email-join-verify",33:"new-phone-join",34:"page-collect",35:"phone-join-verification",36:"pop-layer",37:"rcmd-9jQqC",38:"rsa",39:"scene-login-panel",40:"service-E5p6Y",41:"ship-to-setting",42:"slider-kTGCl",43:"smart-link",44:"waterfall-VLHdM",45:"webpush-msite"}[e]||e)+".js"}(e),0!==c.src.indexOf(window.location.origin+"/")&&(c.crossOrigin="anonymous");var s=new Error;u=function(t){c.onerror=c.onload=null,clearTimeout(l);var n=o[e];if(0!==n){if(n){var r=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;s.message="Loading chunk "+e+" failed.\n("+r+": "+i+")",s.name="ChunkLoadError",s.type=r,s.request=i,n[1](s)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:c})}),12e4);c.onerror=c.onload=u,document.head.appendChild(c)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="//assets.alicdn.com/g/ae-fe/cosmos/0.0.387/pc/",i.oe=function(e){throw console.error(e),e};var a=window["webpackJsonp-ae-fe/cosmos-1"]=window["webpackJsonp-ae-fe/cosmos-1"]||[],u=a.push.bind(a);a.push=t,a=a.slice();for(var c=0;c<a.length;c++)t(a[c]);var s=u;i(i.s=77)}([function(e,t){function n(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){return void n(e)}u.done?t(c):Promise.resolve(c).then(r,o)}e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(o,i){var a=e.apply(t,r);function u(e){n(a,o,i,u,c,"next",e)}function c(e){n(a,o,i,u,c,"throw",e)}u(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(22).default;function o(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e.exports=o=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var t,n={},i=Object.prototype,a=i.hasOwnProperty,u=Object.defineProperty||function(e,t,n){e[t]=n.value},c="function"==typeof Symbol?Symbol:{},s=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",f=c.toStringTag||"@@toStringTag";function d(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(t){d=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var o=t&&t.prototype instanceof w?t:w,i=Object.create(o.prototype),a=new L(r||[]);return u(i,"_invoke",{value:j(e,n,a)}),i}function v(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=p;var m="suspendedStart",g="executing",h="completed",y={};function w(){}function _(){}function b(){}var k={};d(k,s,(function(){return this}));var x=Object.getPrototypeOf,C=x&&x(x(I([])));C&&C!==i&&a.call(C,s)&&(k=C);var S=b.prototype=w.prototype=Object.create(k);function E(e){["next","throw","return"].forEach((function(t){d(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function n(o,i,u,c){var s=v(e[o],e,i);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==r(f)&&a.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,u,c)}),(function(e){n("throw",e,u,c)})):t.resolve(f).then((function(e){l.value=e,u(l)}),(function(e){return n("throw",e,u,c)}))}c(s.arg)}var o;u(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}})}function j(e,n,r){var o=m;return function(i,a){if(o===g)throw new Error("Generator is already running");if(o===h){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var u=r.delegate;if(u){var c=P(u,r);if(c){if(c===y)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===m)throw o=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=g;var s=v(e,n,r);if("normal"===s.type){if(o=r.done?h:"suspendedYield",s.arg===y)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=h,r.method="throw",r.arg=s.arg)}}}function P(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,P(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),y;var i=v(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,y;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,y):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function T(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function L(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function I(e){if(e||""===e){var n=e[s];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(a.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(r(e)+" is not iterable")}return _.prototype=b,u(S,"constructor",{value:b,configurable:!0}),u(b,"constructor",{value:_,configurable:!0}),_.displayName=d(b,f,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===_||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,d(e,f,"GeneratorFunction")),e.prototype=Object.create(S),e},n.awrap=function(e){return{__await:e}},E(O.prototype),d(O.prototype,l,(function(){return this})),n.AsyncIterator=O,n.async=function(e,t,r,o,i){void 0===i&&(i=Promise);var a=new O(p(e,t,r,o),i);return n.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},E(S),d(S,f,"Generator"),d(S,s,(function(){return this})),d(S,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},n.values=I,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(T),!e)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return u.type="throw",u.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=a.call(i,"catchLoc"),s=a.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,y):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),T(n),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;T(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:I(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),y}},n}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(1)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){"use strict";var r="undefined"!=typeof window,o={};r&&(window._comet_module_=window._comet_module_||{},o=window._comet_module_);var i={get:function(e){return"function"==typeof o[e]?o[e]():o[e]},load:function(e){return"undefined"==typeof window?i.get(e):(window._CosmosReadyPromise_=window._CosmosReadyPromise_||new Promise((function(e){window._CosmosReadyResolve_=e})),window.Comet?i.get(e):window._CosmosReadyPromise_.then((function(){return i.get(e)})))},set:function(e,t){o[e]=t},use:function(e,t){var n={};return Object.defineProperty(n,"current",{get:function(){return function(e,t){for(var n=t.split("."),r=n.length,o=0;null!=e&&o<r;)e=e[n[o++]];return o&&o==r?e:void 0}(o,e)||t}}),n}};t.a=i},function(e,t){function n(){return e.exports=n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,n.apply(this,arguments)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";n.r(t),function(e){n.d(t,"isSSR",(function(){return r})),n.d(t,"setContext",(function(){return i})),n.d(t,"getUserAgent",(function(){return a})),n.d(t,"getPageUrl",(function(){return u})),n.d(t,"getQueryString",(function(){return c})),n.d(t,"getAccountId",(function(){return s})),n.d(t,"isLogin",(function(){return l})),n.d(t,"getEnv",(function(){return f}));var r="undefined"==typeof window,o={},i=function(t){if(o=t,r){var n=u();e.location=new URL("/"!==n?n:"http://localhost"),e.navigator={userAgent:a()}}},a=function(){var e;return null===(e=o.ext)||void 0===e?void 0:e["user-agent"]},u=function(){return o.principal.url},c=function(e){var t;return null===(t=o.principal.query)||void 0===t?void 0:t[e]},s=function(){return o.principal.accountId},l=function(){return o.principal.signedIn},f=function(){return o.env}}.call(this,n(41))},function(e,t,n){"use strict";n.r(t);var r=n(3);n.d(t,"Module",(function(){return r.a}));var o=n(15);n.d(t,"request",(function(){return o.a}));var i=n(7);n.d(t,"cookie",(function(){return i.a}));var a=n(34);n.d(t,"mtop",(function(){return a.a}));var u=n(20);n.d(t,"util",(function(){return u}))},function(e,t,n){"use strict";var r={};n.r(r),n.d(r,"set",(function(){return y})),n.d(r,"get",(function(){return w})),n.d(r,"getSite",(function(){return _})),n.d(r,"setSite",(function(){return b})),n.d(r,"getRegion",(function(){return k})),n.d(r,"setRegion",(function(){return x})),n.d(r,"getProvince",(function(){return C})),n.d(r,"setProvince",(function(){return S})),n.d(r,"getCity",(function(){return E})),n.d(r,"setCity",(function(){return O})),n.d(r,"getCurrency",(function(){return j})),n.d(r,"setCurrency",(function(){return P})),n.d(r,"getLocale",(function(){return A})),n.d(r,"setLocale",(function(){return T})),n.d(r,"isLoggedIn",(function(){return L})),n.d(r,"getMemberId",(function(){return I})),n.d(r,"getCsrfToken",(function(){return R})),n.d(r,"getGdpr",(function(){return U})),n.d(r,"setGdpr",(function(){return M}));var o=n(5),i={},a=decodeURIComponent,u=encodeURIComponent;function c(e){return"string"==typeof e}function s(e){return c(e)&&""!==e}function l(e){if(!s(e))throw new TypeError("Cookie name must be a non-empty string")}function f(e){return e}i.get=function(e,t){l(e),t="function"==typeof t?{converter:t}:t||{};var n=function(e,t){var n={};if(c(e)&&e.length>0)for(var r,o,i,u=t?a:f,s=e.split(/;\s/g),l=0,d=s.length;l<d;l++){if((i=s[l].match(/([^=]+)=/i))instanceof Array)try{r=a(i[1]),o=u(s[l].substring(i[1].length+1))}catch(e){}else r=a(s[l]),o="";r&&(n[r]=o)}return n}(document.cookie,!t.raw);return(t.converter||f)(n[e])},i.set=function(e,t,n){l(e);var r=(n=n||{}).expires,o=n.domain,i=n.path;n.raw||(t=u(String(t)));var a=e+"="+t,c=r;return"number"==typeof c&&(c=new Date).setDate(c.getDate()+r),c instanceof Date&&(a+="; expires="+c.toUTCString()),s(o)&&(a+="; domain="+o),s(i)&&(a+="; path="+i),n.secure&&(a+="; secure"),n.sameSite&&(a+="; samesite="+n.sameSite),document.cookie=a,a},i.remove=function(e,t){return(t=t||{}).expires=new Date(0),this.set(e,"",t)};var d=i,p=n(32),v=n(3).a.use("config.cookie",p.a),m={get:function(e){return d.get(e,{domain:v.current.domain,path:"/",raw:!0})||""},set:function(e,t,n){d.set(e,t,{domain:v.current.domain,path:"/",expires:365,raw:!0,sameSite:null==n?void 0:n.sameSite})},validate:function(e,t){return!t||e&&t.test(e)},_getCookie:function(e){if(o.isSSR)return g(e)||"";var t=e.name,n=e.key,r=e.rule,i=this.get(t);if(!n)return this.validate(i,r)?i:"";var a=new RegExp("(.*&?"+n+"=)(.*?)(&.*|$)");i.match(a);var u=RegExp.$2;return a.test(i)&&this.validate(u,r)?u:""},getCookie:function(e){return e?e.transform?e.transform(this._getCookie(e)):this._getCookie(e):""},setCookie:function(e,t){var n=t.name,r=t.key,o=t.rule,i=t.sameSite;if(t&&(!e||this.validate(e,o)))if(r){var a=this.get(n);a=new RegExp("(.*&?"+r+"=)(.*?)(&.*|$)").test(a)?RegExp.$1+e+RegExp.$3:(a?a+"&":"")+r+"="+e,this.set(n,a,{sameSite:i})}else this.set(n,e,{sameSite:i})},isTrue:function(e){var t;return this.getCookie(e)===(null!==(t=null==e?void 0:e.trueValue)&&void 0!==t?t:"y")}},g=function(e){var t=Object(o.getEnv)();switch(e){case v.current.cookie.site:return t.site;case v.current.cookie.region:return t.country;case v.current.cookie.province:return t.province;case v.current.cookie.city:return t.city;case v.current.cookie.currency:return t.currency;case v.current.cookie.locale:return t.locale;case v.current.cookie.sign:return Object(o.isLogin)();case v.current.cookie.memberId:return Object(o.getAccountId)();default:return}},h={xman_us_f:"None"};function y(e,t,n,r,o){var i;return m.setCookie(e,{name:t,key:n,rule:r,sameSite:null!==(i=null==o?void 0:o.sameSite)&&void 0!==i?i:h[t]})}function w(e,t){return m.getCookie({name:e,key:t})}function _(){return m.getCookie(v.current.cookie.site)}function b(e){return m.setCookie(e,v.current.cookie.site)}function k(){return m.getCookie(v.current.cookie.region)}function x(e){return m.setCookie(e,v.current.cookie.region)}function C(){return m.getCookie(v.current.cookie.province)}function S(e){return m.setCookie(e,v.current.cookie.province)}function E(){return m.getCookie(v.current.cookie.city)}function O(e){return m.setCookie(e,v.current.cookie.city)}function j(){return m.getCookie(v.current.cookie.currency)}function P(e){return m.setCookie(e,v.current.cookie.currency)}function A(){return m.getCookie(v.current.cookie.locale)}function T(e){return m.setCookie(e,v.current.cookie.locale)}function L(){return m.isTrue(v.current.cookie.sign)}function I(){return m.getCookie(v.current.cookie.memberId)}function R(){return m.getCookie(v.current.cookie.csrfToken)}function U(){return m.getCookie(v.current.cookie.gdpr)}function M(e){return m.setCookie(e,v.current.cookie.gdpr)}t.a=r},function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var r={home:"home",best:"best",search:"productlist",category:"category",detail:"detail",shopcart:"shopcart",account:"new_account_index",searchStore:"search-store",searchBar:"searchbar-amp",payresult:"payresult",seoSearch:Symbol("seoSearch"),seoDetail:Symbol("seoDetail"),campaign:Symbol("campaign")};t.a=r},function(e,t,n){"use strict";n.d(t,"b",(function(){return w})),n.d(t,"a",(function(){return _}));var r=n(1),o=n.n(r),i=n(18),a=n.n(i),u=n(0),c=n.n(u),s=n(28),l=n.n(s),f=n(27),d=n.n(f),p=n(15),v=n(26),m=n(13);var g="https://o.alicdn.com/gcom/ug-member-config/config.json",h="https://dev.o.alicdn.com/gcom/ug-member-config/config.json",y={};function w(e,t){v.tracker.sendSafeEvent({eventId:"cosmos-load-batman",eventName:e,extra:JSON.parse(t)})}var _=new(function(){return d()((function e(){l()(this,e),this.Comp=null,this.jsUrl="",this.cssUrl=""}),[{key:"load",value:(e=c()(o()().mark((function e(){var t,n,r,i,u,c,s,l,f,d;return o()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(this.jsUrl&&this.cssUrl){e.next=8;break}return e.next=3,_=void 0,Object(p.a)({type:"json",url:"pre"==(_=location.host,"pre"===Object(m.a)("batman_env")||_.includes("pre-")?"pre":"online")?h:g}).then((function(e){return e})).catch((function(e){return console.log("fetch member config error",e),w("json-config",JSON.stringify({error:e})),{}}));case 3:if(null!=(u=e.sent)&&null!==(t=u.batmanResource)&&void 0!==t&&t.js&&null!=u&&null!==(n=u.batmanResource)&&void 0!==n&&n.css){e.next=6;break}return e.abrupt("return",Promise.reject(!1));case 6:this.jsUrl=null==u||null===(r=u.batmanResource)||void 0===r?void 0:r.js,this.cssUrl=null==u||null===(i=u.batmanResource)||void 0===i?void 0:i.css;case 8:if(!y[this.jsUrl]){e.next=10;break}return e.abrupt("return",Promise.resolve(y[this.jsUrl]));case 10:return c=Date.now(),e.prev=11,e.next=14,Promise.all([this.loadJs(),this.loadCss()]);case 14:if(s=e.sent,l=a()(s,1),!(f=l[0])){e.next=21;break}return this.Comp=f,y[this.jsUrl]=f,e.abrupt("return",f);case 21:return e.abrupt("return",null);case 24:return e.prev=24,e.t0=e.catch(11),e.abrupt("return",e.t0);case 27:return e.prev=27,d=Date.now(),o=Math.floor(d-c),v.tracker.sendSafeEvent({eventId:"cosmos-load-batman",eventName:"".concat(o)}),e.finish(27);case 31:case"end":return e.stop()}var o,_}),e,this,[[11,24,27,31]])}))),function(){return e.apply(this,arguments)})},{key:"loadJs",value:function(){var e=this;return new Promise((function(t,n){var r=document.createElement("script");r.src=e.jsUrl,r.crossOrigin="anonymous",r.onload=function(){var e,r,o;console.log("load succ");var i=null===(e=window)||void 0===e||null===(r=e.__ug_resource)||void 0===r||null===(o=r.batman)||void 0===o?void 0:o.default;i?t(i):n("load end, but no resource")},r.onerror=function(e){console.log("load error"),w("assets-js",JSON.stringify({error:e})),n(e)},document.getElementsByTagName("head")[0].appendChild(r)}))}},{key:"loadCss",value:function(){var e=this;return new Promise((function(t,n){var r=document.createElement("link");r.href=e.cssUrl,r.rel="stylesheet",r.onload=function(e){console.log("load css succ"),t(e)},r.onerror=function(e){console.log("load css error",e),w("assets-css",JSON.stringify({error:e})),n(e)},document.getElementsByTagName("body")[0].appendChild(r)}))}}]);var e}())},function(e,t,n){"use strict";n.r(t);var r=n(31);n.d(t,"awsc",(function(){return r.a}));var o=n(32);n.d(t,"cookie",(function(){return o.a}));var i=n(12);n.d(t,"env",(function(){return i.a}));var a=n(33);n.d(t,"mtop",(function(){return a.a}));var u=n(9);n.d(t,"page",(function(){return u.a}))},function(e,t,n){"use strict";var r,o,i,a=n(9),u={env:(/\.test$/.test(location.host)?"daily":/^(localhost|127.0.0.1)/.test(location.host)?"local":null===(r=location.host.match(/(.*?)-www/))||void 0===r?void 0:r[1])||"prod",domain:(null===(o=location.hostname.match(/.*\.(.*\..*$)/))||void 0===o?void 0:o[1])||"aliexpress.com",page:"undefined"==typeof window?"":document.body.getAttribute("data-spm")||"",path:(null===(i=location.pathname.match(/\/(.*?)\//))||void 0===i?void 0:i[1])||"",jsDomain:"//assets.alicdn.com/g",imageDomain:"//ae01.alicdn.com/kf",isMobile:!!navigator.userAgent.match(/(phone|pad|pod|iPhone|iPod|iPad|ios|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i)};u.page===a.a.search&&-1!==["popular","promotion","price","reviews","cheap"].indexOf(u.path)?u.page=a.a.seoSearch:u.page===a.a.detail&&"i"===u.path&&(u.page=a.a.seoDetail),(/^campaign\.aliexpress\.com/.test(location.host)||/^pre-wormhole\.aliexpress\.com/.test(location.host)||/^\/campaign/.test(location.pathname)||/aliexpress\.com\/sp\/campaign\/wow\/gcp-plus/.test(location.href)||/aliexpress\.com\/(gcp|ssr)/.test(location.href))&&(u.page=a.a.campaign),t.a=u},function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return i}));var r=n(5),o=function(e){var t=Object.create(null);return(e=e.trim().replace(/^(\?|#|&)/,""))?(e.split("&").forEach((function(e){var n=e.replace(/\+/g," ").split("="),r=n.shift(),o=n.length>0?n.join("="):void 0;if(void 0===o)o=null;else try{o=decodeURIComponent(o)}catch(e){}t[r]=o})),t):t},i=r.isSSR?function(e){return Object(r.getQueryString)(e)}:function(e){var t,n=window.location.href;try{n=decodeURI(n)}catch(e){}var r=new RegExp("("+e+"=)(.*?)([;&?#]|$)");return(null===(t=n.match(r))||void 0===t?void 0:t[2])||""}},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r="undefined"!=typeof window,o={};r&&(window._comet_module_=window._comet_module_||{},o=window._comet_module_);var i={get:function(e){return"function"==typeof o[e]?o[e]():o[e]},load:function(e){return"undefined"==typeof window?i.get(e):(window._CosmosReadyPromise_=window._CosmosReadyPromise_||new Promise((function(e){window._CosmosReadyResolve_=e})),window.Comet?i.get(e):window._CosmosReadyPromise_.then((function(){return i.get(e)})))},set:function(e,t){o[e]=t},use:function(e,t){var n={};return Object.defineProperty(n,"current",{get:function(){return function(e,t){for(var n=t.split("."),r=n.length,o=0;null!=e&&o<r;)e=e[n[o++]];return o&&o==r?e:void 0}(o,e)||t}}),n}};t.default=i},function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var r=n(4),o=n.n(r),i=n(3);function a(e){if(!e)return"";var t=[];return Object.keys(e).forEach((function(n){t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]))})),t.join("&")}function u(e,t){var n=a(t),r=-1!==e.indexOf("?")?"&":"?";return e+(n?r+n:"")}function c(e){var t=e=function(e){return(e=Object.assign({},e)).type&&(e.responseType=e.type,delete e.type),e.withCredentials&&(e.xhrFields=Object.assign({},e.xhrFields,{withCredentials:e.withCredentials})),-1!==["GET","OPTIONS","HEAD"].indexOf(e.method.toUpperCase())&&(e.params=e.data,delete e.data),e.headers["Content-Type"]&&-1!==e.headers["Content-Type"].indexOf("application/x-www-form-urlencoded")&&"object"==typeof e.data?e.data=a(e.data):null!==e.data&&"object"==typeof e.data&&(e.headers["Content-Type"]="application/json;charset=utf-8",e.data=JSON.stringify(e.data)),e}(e),n=t.method,r=t.url,o=t.params,i=t.data,c=t.headers,s=t.responseType,l=t.xhrFields,f=t.timeout,d=t.success,p=t.error,v=new XMLHttpRequest;v.open(n,u(r,o),!0),v.timeout=f,v.onreadystatechange=function(){if(v&&4===v.readyState&&0!==v.status){var e;if(v.status>=200&&v.status<300)try{e="json"===s?JSON.parse(v.responseText):v.responseText,d&&d(e)}catch(e){p&&p(e)}else p&&p(status);v=null}},l&&Object.keys(l).forEach((function(e){v[e]=l[e]})),"setRequestHeader"in v&&Object.keys(c).forEach((function(e){v.setRequestHeader(e,c[e])})),v.onabort=function(){v&&(p&&p(new Error("request aborted")),v=null)},v.onerror=function(){p&&p(new Error("network error")),v=null},v.ontimeout=function(){p&&p(new Error("timeout")),v=null},v.send(i)}var s,l=function(e){var t,n=e.url,r=e.data,o=e.attrs,i=void 0===o?{}:o,a=e.timeout,c=void 0===a?5e3:a,s=e.success,l=e.error,f=document.createElement("script");f.async=!0,f.type="text/javascript";var d=function(){!function(e){e&&e.parentNode&&e.parentNode.removeChild(e)}(f),f=null,clearTimeout(t),l&&l()};Object.keys(i).forEach((function(e){f.setAttribute(e,i[e])})),f.onload=function(){f=null,clearTimeout(t),s&&s()},f.onerror=d,t=setTimeout(d,c),f.src=u(n,r),document.getElementsByTagName("head")[0].appendChild(f)},f="undefined"!=typeof window;function d(e){return new Promise((function(t,n){return r=o()({},e,{success:t,error:n}),c=r.url,d=r.data,p=r.jsonpCallback,v=void 0===p?"callback":p,m=r.jsonpCallbackName,g=void 0===m?"_comet_request_"+(f?window._comet_request_jsonp_count_++:s++):m,h=r.timeout,y=r.success,w=r.error,c=u(c,o()(((i={})[v]=g,i),d)),window[g]=function(e){a=e,delete window[g]},void l({url:c,timeout:h,success:function(){y(a)},error:w});var r,i,a,c,d,p,v,m,g,h,y,w}))}function p(e){var t,n=(null===(t=i.a.get("config"))||void 0===t?void 0:t.request)||{};return n.transformRequest&&(e=n.transformRequest(e)),"jsonp"===(e=function(e){return(e=Object.assign({},{method:"get",type:"json",timeout:1e4,headers:{}},e)).method=e.method.toLowerCase(),e.type=e.type.toLowerCase(),e}(e)).type?d(e):"script"===e.type?function(e){return new Promise((function(t,n){return l(o()({},e,{success:t,error:n}))}))}(e):function(e){return new Promise((function(t,n){return c(o()({},e,{success:t,error:n}))}))}(e)}f?window._comet_request_jsonp_count_=window._comet_request_jsonp_count_||1:s=0},function(e,t,n){"use strict";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return u}));var r=n(18),o=n.n(r),i=(new Promise((function(e){window.addEventListener("load",(function(){e(!0)}))})),new Promise((function(e){"complete"===document.readyState?e(!0):document.addEventListener("DOMContentLoaded",e)}))),a=function(e,t){var n=(t||window.location.href).split("?");if(Array.isArray(n)){var r=n[n.length-1].split("&"),i={};return r.forEach((function(e){var t=e.split("="),n=o()(t,2),r=n[0],a=n[1];i[r]=a})),i[e]||null}return null},u=function(e){try{var t=location.href;if(e&&e.forEach){var n=!1;e.forEach((function(e){t.indexOf(e)>-1&&(t=t.replace(new RegExp(e+"=((.*?&)|.*)","g"),""),n=!0)})),n&&(t=t.replace(new RegExp("[?&]$"),""),window.history.replaceState(null,"",t))}}catch(e){console.log("removeUrlParams: error")}}},function(e,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(46),o=n(47),i=n(43),a=n(48);e.exports=function(e,t){return r(e)||o(e,t)||i(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";function r(e){if(!e)return"";var t=[];return Object.keys(e).forEach((function(n){t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]))})),t.join("&")}t.__esModule=!0,t.normalizeAjaxOptions=function(e){(e=Object.assign({},e)).type&&(e.responseType=e.type,delete e.type);e.withCredentials&&(e.xhrFields=Object.assign({},e.xhrFields,{withCredentials:e.withCredentials}));-1!==["GET","OPTIONS","HEAD"].indexOf(e.method.toUpperCase())&&(e.params=e.data,delete e.data);e.headers["Content-Type"]&&-1!==e.headers["Content-Type"].indexOf("application/x-www-form-urlencoded")&&"object"==typeof e.data?e.data=r(e.data):null!==e.data&&"object"==typeof e.data&&(e.headers["Content-Type"]="application/json;charset=utf-8",e.data=JSON.stringify(e.data));return e},t.normalizeOptions=function(e){return(e=Object.assign({},{method:"get",type:"json",timeout:1e4,headers:{}},e)).method=e.method.toLowerCase(),e.type=e.type.toLowerCase(),e},t.toQueryString=r,t.urlQueryJoin=function(e,t){var n=r(t),o=-1!==e.indexOf("?")?"&":"?";return e+(n?o+n:"")}},function(e,t,n){"use strict";n.r(t),n.d(t,"awsc",(function(){return k})),n.d(t,"tracker",(function(){return r})),n.d(t,"login",(function(){return o}));var r={};n.r(r),n.d(r,"clk",(function(){return S})),n.d(r,"exp",(function(){return E})),n.d(r,"setConfig",(function(){return C.setConfig})),n.d(r,"sendPV",(function(){return C.sendPV})),n.d(r,"sendInteractionObject",(function(){return C.sendInteractionObject})),n.d(r,"sendInteractionObjects",(function(){return C.sendInteractionObjects})),n.d(r,"click",(function(){return C.click})),n.d(r,"exposure",(function(){return C.exposure})),n.d(r,"sendAEClick",(function(){return C.sendAEClick})),n.d(r,"sendAEExposure",(function(){return C.sendAEExposure})),n.d(r,"sendPluginEvent",(function(){return C.sendPluginEvent})),n.d(r,"sendPagePref",(function(){return C.sendPagePref})),n.d(r,"sendPagePerfCfpt",(function(){return C.sendPagePerfCfpt})),n.d(r,"sendPagePerfDidMount",(function(){return C.sendPagePerfDidMount})),n.d(r,"sendPagePerfDataComplete",(function(){return C.sendPagePerfDataComplete})),n.d(r,"sendCustomError",(function(){return C.sendCustomError})),n.d(r,"sendApiError",(function(){return C.sendApiError})),n.d(r,"sendApiSuccess",(function(){return C.sendApiSuccess})),n.d(r,"sendResourceError",(function(){return C.sendResourceError})),n.d(r,"sendWhitePageEvent",(function(){return C.sendWhitePageEvent})),n.d(r,"sendSafeEvent",(function(){return C.sendSafeEvent})),n.d(r,"weexGepTracker",(function(){return C.weexGepTracker}));var o={};n.r(o),n.d(o,"isLogin",(function(){return j})),n.d(o,"run",(function(){return A}));var i,a,u,c,s=n(0),l=n.n(s),f=n(2),d=n.n(f),p=n(15),v=n(31),m=n(3),g=m.a.use("config.awsc",v.a),h=function(e){return new Promise((function(t){setTimeout((function(){t(!0)}),e)}))},y="",w=function(){return""},_=new Promise((function(e){i=e})),b={getBaxia:(c=l()(d.a.mark((function e(){return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b.ready();case 2:return e.abrupt("return",window.baxiaCommon);case 3:case"end":return e.stop()}}),e)}))),function(){return c.apply(this,arguments)}),getUA:(u=l()(d.a.mark((function e(){return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,b.ready();case 2:return e.abrupt("return",w());case 3:case"end":return e.stop()}}),e)}))),function(){return u.apply(this,arguments)}),getUmidToken:(a=l()(d.a.mark((function e(t){var n,r;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(void 0===t?{}:t).time,r=void 0===n?1e3:n,e.next=3,b.ready();case 3:if(!y){e.next=5;break}return e.abrupt("return",y);case 5:return e.next=7,h(r);case 7:return e.abrupt("return",y);case 8:case"end":return e.stop()}}),e)}))),function(e){return a.apply(this,arguments)}),ready:function(){return _},init:function(e){return l()(d.a.mark((function t(){var n,r,o,a,u,c,s;return d.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=(n=void 0===e?{}:e).baxia,o=void 0!==r&&r,a=n.appName,u=n.serviceLocation,window.AWSC){t.next=4;break}return t.next=4,Object(p.a)({url:o?g.current.baxiaUrl:g.current.awscUrl,type:"script"});case 4:if(window.AWSC){t.next=7;break}return i(),t.abrupt("return");case 7:return c={appName:g.current.appName,serviceLocation:g.current.serviceLocation},a&&(c.appName=a),u&&(c.serviceLocation=u),t.next=12,new Promise((function(e){window.AWSC.configFY((function(t){e(t)}),c)}));case 12:if(s=t.sent){t.next=16;break}return i(),t.abrupt("return");case 16:w=s.getUA.bind(s),y=s.umidToken,i();case 19:case"end":return t.stop()}}),t)})))()}},k=b,x=n(21),C=n(23),S=function(e){var t,n,r=null===(t=m.a.get("util"))||void 0===t||null===(n=t.tracker)||void 0===n?void 0:n.clk;return r?r(e):Object(x.click)(e)},E=function(e){var t,n,r=null===(t=m.a.get("util"))||void 0===t||null===(n=t.tracker)||void 0===n?void 0:n.exp;return r?r(e):Object(x.exposure)(e)},O=n(7);function j(){return P.apply(this,arguments)}function P(){return(P=l()(d.a.mark((function e(){var t,n;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(null===(t=m.a.get("util"))||void 0===t||null===(n=t.login)||void 0===n?void 0:n.isLogin())||O.a.isLoggedIn());case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function A(){for(var e,t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(null===(e=m.a.get("util"))||void 0===e||null===(t=e.login)||void 0===t?void 0:t.run.apply(t,r))||(location.href="//login.aliexpress.com")}},function(e,t,n){"use strict";n.r(t),n.d(t,"getPageId",(function(){return u})),n.d(t,"click",(function(){return c})),n.d(t,"exposure",(function(){return s}));var r=n(13);function o(e){e=function(e){var t,n,o=null===(t=window.goldlog.spm_ab)||void 0===t?void 0:t.join("."),i=e.params=e.params||{},u=i["spm-cnt-cd"];i.st_page_id||(i.st_page_id=window.dmtrack_pageid||""),delete i["spm-cnt-cd"],u&&!i["spm-cnt"]&&(i["spm-cnt"]="".concat(o,".").concat(u)),i["spm-url"]||(i["spm-url"]=Object(r.a)("spm-url")||"");var c=(null===(n=window.goldlog.spm_ab)||void 0===n?void 0:n[1])||"";"click"!==e.type||i.ae_page_type||(i.ae_page_type=c),"exposure"!==e.type||i.exp_page||(i.exp_page=c);try{if(i.ali_apache_track=encodeURIComponent(a("ali_apache_track"))||"",!i.ali_apache_track){var s=a("xman_us_t");if(s){var l=s.match(/x_lid=([^&]+)/);l&&(i.ali_apache_track=encodeURIComponent("mid=".concat(l[1]))||"")}}}catch(e){console.error(e)}try{if(!i.dmtrack_c){var f=a("xman_us_f");if(f){var d=f.match(/x_lid=([^&]+)/);d&&(i.dmtrack_c=encodeURIComponent("mid=".concat(d[1]))||"")}}}catch(e){console.error(e)}return e}(e);var t=Object.keys(e.params).map((function(t){return t+"="+e.params[t]})).join("&");window.goldlog&&window.goldlog.record(e.path,e.event,t,"POST")}function i(e){try{window.goldlog?e():(window.goldlog_queue||(window.goldlog_queue=[])).push({action:"goldlog.aplus_pubsub.subscribe",arguments:["goldlogReady",function(){e()}]})}catch(e){}}function a(e){var t=document.cookie,n=new RegExp("(?:(?:^|.*;\\s*)".concat(e,"\\s*\\=\\s*([^;]*).*$)|^.*$")),r=t.replace(n,"$1");return decodeURIComponent(r)}function u(){return new Promise((function(e){i((function(){e()}))})).then((function(){return window.dmtrack_pageid}))}function c(e){i((function(){o({type:"click",path:e.goldlog_path||"/ae.pc_click.statweb_ae_click",event:"CLK",params:e})}))}function s(e){i((function(){o({type:"exposure",path:e.goldlog_path||"/ae.pc_ctr.statweb_ae_ctr",event:"EXP",params:e})}))}},function(e,t){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";n.r(t),n.d(t,"setConfig",(function(){return s})),n.d(t,"sendPV",(function(){return l})),n.d(t,"sendInteractionObject",(function(){return f})),n.d(t,"sendInteractionObjects",(function(){return d})),n.d(t,"click",(function(){return p})),n.d(t,"exposure",(function(){return v})),n.d(t,"sendAEClick",(function(){return m})),n.d(t,"sendAEExposure",(function(){return g})),n.d(t,"sendPluginEvent",(function(){return h})),n.d(t,"sendPagePref",(function(){return y})),n.d(t,"sendPagePerfCfpt",(function(){return w})),n.d(t,"sendPagePerfDidMount",(function(){return _})),n.d(t,"sendPagePerfDataComplete",(function(){return b})),n.d(t,"sendCustomError",(function(){return k})),n.d(t,"sendApiError",(function(){return x})),n.d(t,"sendApiSuccess",(function(){return C})),n.d(t,"sendResourceError",(function(){return S})),n.d(t,"sendWhitePageEvent",(function(){return E})),n.d(t,"sendSafeEvent",(function(){return O})),n.d(t,"weexGepTracker",(function(){return j}));var r=n(17),o=n.n(r);n(56);var i=["eventId","eventName","eventType","jsVersion","region"];try{var a,u=(null===(a=document.querySelector('meta[name="aplus-exinfo"]'))||void 0===a?void 0:a.getAttribute("content"))||"";(null==u?void 0:u.split("&")).forEach((function(e){var t=e.split("=");"pid"===t[0]&&(window.goldlog_queue||(window.goldlog_queue=[])).push({action:"goldlog.setMetaInfo",arguments:["aplus-cpvdata",{pid:t[1]}]})}))}catch(e){}var c=function(e,t){window.gep_queue||(window.gep_queue=[]),window.gep_queue.push({action:e,arguments:t})};function s(e){window.AES&&window.AES.setConfig?window.AES.setConfig(e):c("setConfig",[e])}function l(e,t){void 0===e&&(e={}),void 0===t&&(t={}),c("sendPV",[Object.assign({},e),t])}function f(e){c("sendInteractionObject",[e])}function d(e,t){c("sendInteractionObject",[e,t])}function p(e){var t;f(((t={interaction_type:"EXP",object_type:e.ae_object_type,object_value:e.ae_object_value,biz_type:e.ae_button_type})["spm-cnt"]=e["spm-cnt"],t))}function v(e){var t;f(((t={interaction_type:"EXP",object_type:e.object_type,object_value:e.object_type,biz_type:e.exp_type})["spm-cnt"]=e["spm-cnt"],t))}function m(e){c("sendAEClick",[e])}function g(e){c("sendAEExposure",[e])}function h(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];c("sendPluginEvent",t)}var y=function(e){var t,n,r,o;(null===(t=window)||void 0===t||null===(n=t.performance)||void 0===n?void 0:n.mark)&&performance.mark("mark-"+e),(null===(r=window)||void 0===r||null===(o=r.performance)||void 0===o?void 0:o.measure)&&performance.measure(e,"fetchStart","mark-"+e)},w=function(){y("cfpt")},_=function(){y("didMount")},b=function(){y("dataComplete")},k=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];c("sendCustomError",t)},x=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];c("sendApiError",t)},C=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];c("sendApiSuccess",t)},S=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];c("sendResourceError",t)},E=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];c("sendWhitePageEvent",t)},O=function(e){var t=e.eventId,n=e.eventName,r=e.eventType,a=void 0===r?"EXP":r,u=e.jsVersion,s=e.region,l=o()(e,i);c("sendPluginEvent",[t,{et:a,c1:"safe_fe",c2:u,c3:s,c4:n,c6:function(){try{return JSON.stringify(l)}catch(e){return null}}()}])},j=n(57).weexGepTracker},function(e,t,n){"use strict";n.d(t,"b",(function(){return f})),n.d(t,"a",(function(){return s}));var r,o=n(7),i=n(15),a=n(4),u=n.n(a),c=null===o.a||void 0===o.a||null===(r=o.a.getRegion())||void 0===r?void 0:r.toUpperCase(),s=function(e,t,n){void 0===e&&(e=""),void 0===t&&(t=function(){}),void 0===n&&(n={});var r=n||{},i=r.forceSyncCookie,a=void 0!==i&&i,s=r.cookieInfo,l=void 0===s?{}:s;if(function(e){var t,n=null===o.a||void 0===o.a||null===(t=o.a.getRegion())||void 0===t?void 0:t.toUpperCase();if(e)return!0;if("US"===n)return!0;if("US"===c&&"US"!==n||"US"!==c&&"US"===n)return!0;var r=/\.aliexpress\.us/.test(window.location.hostname),i="US"===n;return!!(/\.aliexpress\.com/.test(window.location.hostname)&&i||r&&!i)}(a)){var f=u()({fromApp:!1,currency:o.a.getCurrency(),region:o.a.getRegion(),bLocale:o.a.getLocale(),site:o.a.getSite(),province:o.a.getProvince(),city:o.a.getCity(),return:encodeURIComponent(e||window.location.href)},l);window.location.href=(/\.aliexpress\.com/.test(window.location.hostname)?"https://login.aliexpress.us/setCommonCookie.htm?":"https://login.aliexpress.com/setCommonCookie.htm?")+Object.keys(f).map((function(e){return e+"="+f[e]})).join("&")}else{var d;null===(d=t)||void 0===d||d()}},l="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789/+",f=function(){if(window.headerConfig&&window.headerConfig.disableSyncCookie)return Promise.resolve([!0,!0]);/(iPhone|Android)/.test(navigator.userAgent);var e={fromApp:!1,currency:o.a.getCurrency(),region:o.a.getRegion(),bLocale:o.a.getLocale(),site:o.a.getSite(),province:o.a.getProvince(),city:o.a.getCity()},t=[{regex:/(.*\.)?aliexpress\.com/,requestUrl:"//login.aliexpress.com/setCommonCookie.htm"},{regex:/(.*\.)?aliexpress\.ru/,requestUrl:"//login.aliexpress.ru/setCommonCookie.htm"},{regex:/(.*\.)?aliexpress\.us/,requestUrl:"//login.aliexpress.us/setCommonCookie.htm"}];(function(e){if(void 0===e&&(e=0),100==e)return!0;var t=o.a.get("cna")||"";if(!t||!e)return!1;var n=t.slice(-1);if(!n||!l.includes(n))return!1;var r=Math.floor(l.length*(e/100));return l.substring(0,r).includes(n)})(window._disable_ru_cookie_async_percent_)&&(t=[{regex:/(.*\.)?aliexpress\.com/,requestUrl:"//login.aliexpress.com/setCommonCookie.htm"},{regex:/(.*\.)?aliexpress\.us/,requestUrl:"//login.aliexpress.us/setCommonCookie.htm"}]);var n=window.location.host,r=!1,a=t.slice(0);a.forEach((function(e,t){e.regex.test(n)&&(r=!0,a.splice(t,1))}));var u=[];return r&&a.forEach((function(t){var n,r,o;u.push((n=t.requestUrl,r=e,(o=function(){return new Promise((function(e){Object(i.a)({url:n,data:r,timeout:5e3,withCredentials:!0}).then((function(t){"success"===t.message?e(!0):e(!1)})).catch((function(){e(!1)}))}))})().then((function(e){return e||o()})).then((function(e){return e||console.error("sync cookie twice fail: "+n+" "+JSON.stringify(r)),e})).catch((function(e){return console.error(e),!1}))))})),Promise.all(u).then((function(e){return e&&2===e.length&&!0===e[0]&&!0===e[1]&&o.a.set("0","xman_us_f","x_c_chg"),e}))}},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(7),o=n(24),i=function(){!function(e,t){try{var n=r.a.getRegion(),i=r.a.getLocale(),a=r.a.getSite(),u=!1;e.region===n&&(r.a.setRegion(t.region),u=!0),e.locale===i&&(r.a.setLocale(t.locale),e.site===a&&r.a.setSite(t.site),u=!0),u&&Object(o.a)()}catch(e){}}({region:"ID",locale:"in_ID",site:"idn"},{region:"MY",locale:"en_US",site:"glo"})}},function(e,t,n){"use strict";var r=n(8);t.__esModule=!0,t.tracker=t.login=t.awsc=void 0;var o=r(n(50));t.awsc=o.default;var i=c(n(55));t.tracker=i;var a=c(n(58));function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}function c(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=e[i]}return r.default=e,n&&n.set(e,r),r}t.login=a},function(e,t,n){var r=n(42);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,r(o.key),o)}}e.exports=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";n.r(t),n.d(t,"defaultConfig",(function(){return r})),n.d(t,"defaultGetPrefixCls",(function(){return o})),n.d(t,"setDefaultPrefix",(function(){return i}));var r={defaultPrefix:"comet",locale:"en_US",direction:"ltr",mobile:!1},o=function(e,t){if(t)return t;var n=r.defaultPrefix;return e?"".concat(n,"-").concat(e):n},i=function(e){return r.defaultPrefix=e}},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=n(19);t.default=function(e){var t,n=e.url,o=e.data,i=e.attrs,a=void 0===i?{}:i,u=e.timeout,c=void 0===u?5e3:u,s=e.success,l=e.error,f=document.createElement("script");f.async=!0,f.type="text/javascript";var d=function(){!function(e){e&&e.parentNode&&e.parentNode.removeChild(e)}(f),f=null,clearTimeout(t),l&&l()};Object.keys(a).forEach((function(e){f.setAttribute(e,a[e])})),f.onload=function(){f=null,clearTimeout(t),s&&s()},f.onerror=d,t=setTimeout(d,c),f.src=(0,r.urlQueryJoin)(n,o),document.getElementsByTagName("head")[0].appendChild(f)}},function(e,t,n){"use strict";var r=n(12),o={appName:"ctl",serviceLocation:"us",awscUrl:r.a.jsDomain+"/AWSC/AWSC/awsc.js",baxiaUrl:r.a.jsDomain+"/??/AWSC/AWSC/awsc.js,/sd/baxia-entry/baxiaCommon.js"};t.a=o},function(e,t,n){"use strict";var r,o="aep_usuc_f",i="xman_us_t",a="xman_us_f",u="acs_usuc_t",c={domain:(null===(r=location.host.match(/.*\.(.*\..*$)/))||void 0===r?void 0:r[1])||"aliexpress.com",cookie:{site:{name:o,key:"site",rule:/^[a-z]{3}(_[a-z]{1})?$/},region:{name:o,key:"region",rule:/^[A-Z]{2,3}$/},province:{name:o,key:"province",rule:/^[0-9]{18}$/},city:{name:o,key:"city",rule:/^[0-9]{18}$/},currency:{name:o,key:"c_tp",rule:/^[A-Z]{3}$/},locale:{name:o,key:"b_locale",rule:/^[a-z]{2}[_|-][A-Z]{2}$/},sign:{name:i,key:"sign",transform:function(e){return e?"y":"n"}},memberId:{name:a,key:"x_user",transform:function(e){var t;return null==e||null===(t=e.match(/\|(\d*)?$/))||void 0===t?void 0:t[1]}},csrfToken:{name:u,key:"x_csrf"}}};t.a=c},function(e,t,n){"use strict";var r=n(13),o=n(12),i="acs",a=Object(r.a)("_mtopPrev_");/^(\w+-)?pre-acs$/.test(a)&&(i=a);var u={prefix:i,subDomain:"",mainDomain:o.a.domain};/AliApp\(AE/.test(navigator.userAgent)?(u.WindVaneRequest=!0,u.H5Request=!1):(u.WindVaneRequest=!1,u.H5Request=!0);var c=Object(r.a)("_projectTag_"),s=Object(r.a)("_dpath_");u.options={},c&&(u.options.tb_eagleeyex_scm_project=c),s&&(u.options.tb_eagleeyex_dpath_env=s),t.a=u},function(e,t,n){"use strict";var r,o=n(0),i=n.n(o),a=n(2),u=n.n(a),c=n(33),s=n(3).a.use("config.mtop",c.a),l=n(20);function f(e){return void 0===e&&(e={}),r||(r=l.login.run(e)).then((function(){r=null})),r}function d(e){return p.apply(this,arguments)}function p(){return(p=i()(u.a.mark((function e(t){var n,r,o;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=(n=this).params,o=n.options,!0!==r.needLogin){e.next=6;break}return e.next=6,f();case 6:return e.abrupt("return",t().then(i()(u.a.mark((function e(){var t,i;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=o.retJson,(i=t.ret)instanceof Array&&(i=i.join(",")),!0===r.needLogin){e.next=5;break}return e.abrupt("return");case 5:if(!(i.indexOf("SESSION_EXPIRED")>-1||i.indexOf("SID_INVALID")>-1||i.indexOf("AUTH_REJECT")>-1||i.indexOf("NEED_LOGIN")>-1)){e.next=9;break}return e.next=8,f({forceLogin:!0});case 8:return e.abrupt("return",n.__sequence([n.__processToken,n.__processRequestUrl,n.__processUnitPrefix,n.middlewares,n.__processRequest]));case 9:case"end":return e.stop()}}),e)})))));case 7:case"end":return e.stop()}}),e,this)})))).apply(this,arguments)}var v=!1,m={load:function(){return i()(u.a.mark((function e(){var t;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!==(t=window.lib)&&void 0!==t&&t.mtop){e.next=3;break}return e.next=3,n.e(30).then(n.bind(null,1216));case 3:return v||(v=!0,window.lib.mtop.middlewares.push(d)),Object.keys(s.current).forEach((function(e){"options"!==e&&(window.lib.mtop.config[e]=s.current[e])})),e.abrupt("return",m);case 6:case"end":return e.stop()}}),e)})))()},request:function(e,t,n){return i()(u.a.mark((function r(){var o;return u.a.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,m.load();case 2:if(o=Object.assign({},e,s.current.options||{}),!t){r.next=7;break}return r.abrupt("return",window.lib.mtop.request(o,t,n));case 7:return r.abrupt("return",window.lib.mtop.request(o));case 8:case"end":return r.stop()}}),r)})))()}};t.a=m},function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,"a",(function(){return r}))},function(e,t,n){var r=function(e){"use strict";var t=Object.prototype,n=t.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function s(e,t,n,o){var i=t&&t.prototype instanceof d?t:d,a=Object.create(i.prototype),u=new S(o||[]);return r(a,"_invoke",{value:b(e,n,u)}),a}function l(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var f={};function d(){}function p(){}function v(){}var m={};c(m,i,(function(){return this}));var g=Object.getPrototypeOf,h=g&&g(g(E([])));h&&h!==t&&n.call(h,i)&&(m=h);var y=v.prototype=d.prototype=Object.create(m);function w(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){var o;r(this,"_invoke",{value:function(r,i){function a(){return new t((function(o,a){!function r(o,i,a,u){var c=l(e[o],e,i);if("throw"!==c.type){var s=c.arg,f=s.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,u)}),(function(e){r("throw",e,a,u)})):t.resolve(f).then((function(e){s.value=e,a(s)}),(function(e){return r("throw",e,a,u)}))}u(c.arg)}(r,i,o,a)}))}return o=o?o.then(a,a):a()}})}function b(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return{value:void 0,done:!0}}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var u=k(a,n);if(u){if(u===f)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=l(e,t,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function k(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,k(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var o=l(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function x(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function E(e){if(e||""===e){var t=e[i];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r<e.length;)if(n.call(e,r))return t.value=e[r],t.done=!1,t;return t.value=void 0,t.done=!0,t};return o.next=o}}throw new TypeError(typeof e+" is not iterable")}return p.prototype=v,r(y,"constructor",{value:v,configurable:!0}),r(v,"constructor",{value:p,configurable:!0}),p.displayName=c(v,u,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===p||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,c(e,u,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},w(_.prototype),c(_.prototype,a,(function(){return this})),e.AsyncIterator=_,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new _(s(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},w(y),c(y,u,"Generator"),c(y,i,(function(){return this})),c(y,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},e.values=E,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!e)for(var t in this)"t"===t.charAt(0)&&n.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(u&&c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),C(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;C(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:E(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},e}(e.exports);try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(e,t){e.exports=React},,function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(66);function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){Object(r.a)(e,t,n[t])}))}return e}},function(e,t,n){"use strict";var r;n.r(t),r=n(73).default,t.default=r},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(22).default,o=n(49);e.exports=function(e){var t=o(e,"string");return"symbol"===r(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(44);e.exports=function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var r=n(36),o=n.n(r);window.regeneratorRuntime=o.a;var i=function(e){var t=/(\d{1,3}\.\d{1,3}\.\d{1,3}\/).*/;return t.test(e)?e.replace(t,"$1"):"/"}(function(){var e=document.currentScript;if(null!=e&&e.src)return e.src;var t=document.getElementsByTagName("script"),n=t[t.length-1].src;return n||""}())+"pc/";n.p=i},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(22).default;e.exports=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var r=n(8);t.__esModule=!0,t.default=void 0;var o,i,a,u,c=r(n(2)),s=r(n(0)),l=r(n(51)),f=r(n(54)),d=function(e){return new Promise((function(t){setTimeout((function(){t(!0)}),e)}))},p="",v=function(){return""},m=new Promise((function(e){o=e})),g={getBaxia:(u=(0,s.default)(c.default.mark((function e(){return c.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g.ready();case 2:return e.abrupt("return",window.baxiaCommon);case 3:case"end":return e.stop()}}),e)}))),function(){return u.apply(this,arguments)}),getUA:(a=(0,s.default)(c.default.mark((function e(){return c.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,g.ready();case 2:return e.abrupt("return",v());case 3:case"end":return e.stop()}}),e)}))),function(){return a.apply(this,arguments)}),getUmidToken:(i=(0,s.default)(c.default.mark((function e(t){var n,r;return c.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=(void 0===t?{}:t).time,r=void 0===n?1e3:n,e.next=3,g.ready();case 3:if(!p){e.next=5;break}return e.abrupt("return",p);case 5:return e.next=7,d(r);case 7:return e.abrupt("return",p);case 8:case"end":return e.stop()}}),e)}))),function(e){return i.apply(this,arguments)}),ready:function(){return m},init:function(e){return(0,s.default)(c.default.mark((function t(){var n,r,i,a,u,s,d;return c.default.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(r=(n=void 0===e?{}:e).baxia,i=void 0!==r&&r,a=n.appName,u=n.serviceLocation,window.AWSC){t.next=4;break}return t.next=4,(0,l.default)({url:i?f.default.current.baxiaUrl:f.default.current.awscUrl,type:"script"});case 4:if(window.AWSC){t.next=7;break}return o(),t.abrupt("return");case 7:return s={appName:f.default.current.appName,serviceLocation:f.default.current.serviceLocation},a&&(s.appName=a),u&&(s.serviceLocation=u),t.next=12,new Promise((function(e){window.AWSC.configFY((function(t){e(t)}),s)}));case 12:if(d=t.sent){t.next=16;break}return o(),t.abrupt("return");case 16:v=d.getUA.bind(d),p=d.umidToken,o();case 19:case"end":return t.stop()}}),t)})))()}};t.default=g},function(e,t,n){"use strict";var r=n(8);t.__esModule=!0,t.ajax=d,t.default=function(e){var t,n=(null===(t=i.default.get("config"))||void 0===t?void 0:t.request)||{};n.transformRequest&&(e=n.transformRequest(e));return"jsonp"===(e=(0,a.normalizeOptions)(e)).type?l(e):"script"===e.type?f(e):d(e)},t.jsonp=l,t.script=f;var o=r(n(4)),i=r(n(14)),a=n(19),u=r(n(52)),c=r(n(30)),s=r(n(53));function l(e){return new Promise((function(t,n){return(0,s.default)((0,o.default)({},e,{success:t,error:n}))}))}function f(e){return new Promise((function(t,n){return(0,c.default)((0,o.default)({},e,{success:t,error:n}))}))}function d(e){return new Promise((function(t,n){return(0,u.default)((0,o.default)({},e,{success:t,error:n}))}))}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){var t=e=(0,r.normalizeAjaxOptions)(e),n=t.method,o=t.url,i=t.params,a=t.data,u=t.headers,c=t.responseType,s=t.xhrFields,l=t.timeout,f=t.success,d=t.error,p=new XMLHttpRequest;p.open(n,(0,r.urlQueryJoin)(o,i),!0),p.timeout=l,p.onreadystatechange=function(){if(p&&4===p.readyState&&0!==p.status){var e;if(p.status>=200&&p.status<300)try{e="json"===c?JSON.parse(p.responseText):p.responseText,f&&f(e)}catch(e){d&&d(e)}else d&&d(status);p=null}},s&&Object.keys(s).forEach((function(e){p[e]=s[e]}));"setRequestHeader"in p&&Object.keys(u).forEach((function(e){p.setRequestHeader(e,u[e])}));p.onabort=function(){p&&(d&&d(new Error("request aborted")),p=null)},p.onerror=function(){d&&d(new Error("network error")),p=null},p.ontimeout=function(){d&&d(new Error("timeout")),p=null},p.send(a)};var r=n(19)},function(e,t,n){"use strict";var r=n(8);t.__esModule=!0,t.default=function(e){var t,n,r=e.url,s=e.data,l=e.jsonpCallback,f=void 0===l?"callback":l,d=e.jsonpCallbackName,p=void 0===d?"_comet_request_"+(c?window._comet_request_jsonp_count_++:o++):d,v=e.timeout,m=e.success,g=e.error;r=(0,u.urlQueryJoin)(r,(0,i.default)(((t={})[f]=p,t),s)),window[p]=function(e){n=e,delete window[p]},(0,a.default)({url:r,timeout:v,success:function(){m(n)},error:g})};var o,i=r(n(4)),a=r(n(30)),u=n(19),c="undefined"!=typeof window;c?window._comet_request_jsonp_count_=window._comet_request_jsonp_count_||1:o=0},function(e,t,n){"use strict";var r=n(8);t.__esModule=!0,t.default=void 0;var o=n(11),i=r(n(14)).default.use("config.awsc",o.awsc);t.default=i},function(e,t,n){"use strict";var r=n(8);t.__esModule=!0;var o={clk:!0,exp:!0};t.exp=t.clk=void 0;var i=n(21),a=r(n(14)),u=n(23);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(o,e)||e in t&&t[e]===u[e]||(t[e]=u[e]))}));t.clk=function(e){var t,n,r=null===(t=a.default.get("util"))||void 0===t||null===(n=t.tracker)||void 0===n?void 0:n.clk;return r?r(e):(0,i.click)(e)},t.exp=function(e){var t,n,r=null===(t=a.default.get("util"))||void 0===t||null===(n=t.tracker)||void 0===n?void 0:n.exp;return r?r(e):(0,i.exposure)(e)}},function(e,t){},function(e,t,n){"use strict";n.r(t),n.d(t,"sendPV",(function(){return d})),n.d(t,"sendPluginEvent",(function(){return p})),n.d(t,"sendSafeEvent",(function(){return v})),n.d(t,"weexGepTracker",(function(){return m}));var r=n(17),o=n.n(r),i=n(4),a=n.n(i),u=["eventId","eventName","eventType","jsVersion","region"],c=function(e,t){var n;switch(e){case"sendPluginEvent":n=a()({type:"event",p1:t[0]},t[1]);break;case"sendPV":n={type:"pv"};break;default:n=!1}return n&&l(n),!1},s=function(){window.AES_CONFIG=window.AES_CONFIG||{},window.AES_CONFIG.pv_id||(window.AES_CONFIG.pv_id=function e(t,n){return void 0===t&&(t=20),n=n||"",t?e(--t,"0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz".charAt(Math.floor(60*Math.random()))+n):n}(20,""))},l=function(e){s();var t=window.AES_CONFIG,n=t.pid,r=t.sampling,o=void 0===r?1:r,i=t.times,a=void 0===i?1:i,u=t.page_id,c=void 0===u?encodeURIComponent(window.location.href):u,l=t.sdk_version,d=void 0===l?"2.1.6":l,p=t.title,v=void 0===p?document.title:p,m=t.username,g=t.user_type,h=t.sid,y=t.pv_id,w=t.hash,_=t.dim1,b=t.dim2,k=t.dim3,x=t.dim4,C=t.dim5,S=t.dim6,E=t.dim7,O=t.dim8,j=t.dim9,P=t.dim10;if(!n)return!1;var A=encodeURIComponent(f(e)),T=encodeURIComponent(f({pid:n,sampling:o,times:a,page_id:c,sdk_version:d,title:v,username:m,user_type:g,sid:h,pv_id:y,hash:w,dim1:_,dim2:b,dim3:k,dim4:x,dim5:C,dim6:S,dim7:E,dim8:O,dim9:j,dim10:P,msg:A}));window.userTrack&&window.userTrack.commitut("expose",2201,"UT","","/aes.1.1","","",{gokey:T,gmkey:"EXP"})},f=function(e){var t=[];for(var n in e)e[n]&&t.push(n+"="+e[n]);return t.join("&")};function d(e){c("sendPV",e)}function p(e,t,n,r,o,i,a,u,s){c("sendPluginEvent","string"!=typeof t?[e,t]:[e,{et:t,path:n,c1:r,c2:o,c3:i,c4:a,c5:u,c6:s}])}var v=function(e){var t=e.eventId,n=e.eventName,r=e.eventType,i=void 0===r?"EXP":r,a=e.jsVersion,s=e.region,l=o()(e,u);c("sendPluginEvent",[t,{et:i,c1:"safe_fe",c2:a,c3:s,c4:n,c6:function(){try{return JSON.stringify(l)}catch(e){return null}}()}])},m={sendPV:d,sendPluginEvent:p,sendSafeEvent:v}},function(e,t,n){"use strict";var r=n(8);t.__esModule=!0,t.isLogin=function(){return c.apply(this,arguments)},t.run=function(){for(var e,t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(null===(e=u.default.get("util"))||void 0===e||null===(t=e.login)||void 0===t?void 0:t.run.apply(t,r))||(location.href="//login.aliexpress.com")};var o=r(n(2)),i=r(n(0)),a=r(n(59)),u=r(n(14));function c(){return(c=(0,i.default)(o.default.mark((function e(){var t,n;return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",(null===(t=u.default.get("util"))||void 0===t||null===(n=t.login)||void 0===n?void 0:n.isLogin())||a.default.isLoggedIn());case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=o(t);if(n&&n.has(e))return n.get(e);var r={__proto__:null},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var u=i?Object.getOwnPropertyDescriptor(e,a):null;u&&(u.get||u.set)?Object.defineProperty(r,a,u):r[a]=e[a]}return r.default=e,n&&n.set(e,r),r}(n(60));function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(o=function(e){return e?n:t})(e)}t.default=r},function(e,t,n){"use strict";var r=n(8);t.__esModule=!0,t.get=function(e,t){return u.getCookie({name:e,key:t})},t.getCity=function(){return u.getCookie(a.default.current.cookie.city)},t.getCsrfToken=function(){return u.getCookie(a.default.current.cookie.csrfToken)},t.getCurrency=function(){return u.getCookie(a.default.current.cookie.currency)},t.getGdpr=function(){return u.getCookie(a.default.current.cookie.gdpr)},t.getLocale=function(){return u.getCookie(a.default.current.cookie.locale)},t.getMemberId=function(){return u.getCookie(a.default.current.cookie.memberId)},t.getProvince=function(){return u.getCookie(a.default.current.cookie.province)},t.getRegion=function(){return u.getCookie(a.default.current.cookie.region)},t.getSite=function(){return u.getCookie(a.default.current.cookie.site)},t.isLoggedIn=function(){return u.isTrue(a.default.current.cookie.sign)},t.set=function(e,t,n,r,o){var i;return u.setCookie(e,{name:t,key:n,rule:r,sameSite:null!==(i=null==o?void 0:o.sameSite)&&void 0!==i?i:s[t]})},t.setCity=function(e){return u.setCookie(e,a.default.current.cookie.city)},t.setCurrency=function(e){return u.setCookie(e,a.default.current.cookie.currency)},t.setGdpr=function(e){return u.setCookie(e,a.default.current.cookie.gdpr)},t.setLocale=function(e){return u.setCookie(e,a.default.current.cookie.locale)},t.setProvince=function(e){return u.setCookie(e,a.default.current.cookie.province)},t.setRegion=function(e){return u.setCookie(e,a.default.current.cookie.region)},t.setSite=function(e){return u.setCookie(e,a.default.current.cookie.site)};var o=n(5),i=r(n(61)),a=r(n(62)),u={get:function(e){return i.default.get(e,{domain:a.default.current.domain,path:"/",raw:!0})||""},set:function(e,t,n){i.default.set(e,t,{domain:a.default.current.domain,path:"/",expires:365,raw:!0,sameSite:null==n?void 0:n.sameSite})},validate:function(e,t){return!t||e&&t.test(e)},_getCookie:function(e){if(o.isSSR)return c(e)||"";var t=e.name,n=e.key,r=e.rule,i=this.get(t);if(!n)return this.validate(i,r)?i:"";var a=new RegExp("(.*&?"+n+"=)(.*?)(&.*|$)");i.match(a);var u=RegExp.$2;return a.test(i)&&this.validate(u,r)?u:""},getCookie:function(e){return e?e.transform?e.transform(this._getCookie(e)):this._getCookie(e):""},setCookie:function(e,t){var n=t.name,r=t.key,o=t.rule,i=t.sameSite;if(t&&(!e||this.validate(e,o)))if(r){var a=this.get(n);a=new RegExp("(.*&?"+r+"=)(.*?)(&.*|$)").test(a)?RegExp.$1+e+RegExp.$3:(a?a+"&":"")+r+"="+e,this.set(n,a,{sameSite:i})}else this.set(n,e,{sameSite:i})},isTrue:function(e){var t;return this.getCookie(e)===(null!==(t=null==e?void 0:e.trueValue)&&void 0!==t?t:"y")}},c=function(e){var t=(0,o.getEnv)();switch(e){case a.default.current.cookie.site:return t.site;case a.default.current.cookie.region:return t.country;case a.default.current.cookie.province:return t.province;case a.default.current.cookie.city:return t.city;case a.default.current.cookie.currency:return t.currency;case a.default.current.cookie.locale:return t.locale;case a.default.current.cookie.sign:return(0,o.isLogin)();case a.default.current.cookie.memberId:return(0,o.getAccountId)();default:return}},s={xman_us_f:"None"}},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r={},o=decodeURIComponent,i=encodeURIComponent;function a(e){return"string"==typeof e}function u(e){return a(e)&&""!==e}function c(e){if(!u(e))throw new TypeError("Cookie name must be a non-empty string")}function s(e){return e}r.get=function(e,t){c(e),t="function"==typeof t?{converter:t}:t||{};var n=function(e,t){var n={};if(a(e)&&e.length>0)for(var r,i,u,c=t?o:s,l=e.split(/;\s/g),f=0,d=l.length;f<d;f++){if((u=l[f].match(/([^=]+)=/i))instanceof Array)try{r=o(u[1]),i=c(l[f].substring(u[1].length+1))}catch(e){}else r=o(l[f]),i="";r&&(n[r]=i)}return n}(document.cookie,!t.raw);return(t.converter||s)(n[e])},r.set=function(e,t,n){c(e);var r=(n=n||{}).expires,o=n.domain,a=n.path;n.raw||(t=i(String(t)));var s=e+"="+t,l=r;return"number"==typeof l&&(l=new Date).setDate(l.getDate()+r),l instanceof Date&&(s+="; expires="+l.toUTCString()),u(o)&&(s+="; domain="+o),u(a)&&(s+="; path="+a),n.secure&&(s+="; secure"),n.sameSite&&(s+="; samesite="+n.sameSite),document.cookie=s,s},r.remove=function(e,t){return(t=t||{}).expires=new Date(0),this.set(e,"",t)};t.default=r},function(e,t,n){"use strict";var r=n(8);t.__esModule=!0,t.default=void 0;var o=n(11),i=r(n(14)).default.use("config.cookie",o.cookie);t.default=i},function(e,t,n){},function(e,t,n){"use strict";var r={};n.r(r),n.d(r,"isLogin",(function(){return h})),n.d(r,"run",(function(){return w}));var o=n(1),i=n.n(o),a=n(0),u=n.n(a),c=n(6),s=n(15),l=n(34),f=n(3),d=n(11),p=n(12),v=n(9),m=n(7),g=n(10);function h(){return y.apply(this,arguments)}function y(){return(y=u()(i()().mark((function e(){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!0===m.a.isLoggedIn()){e.next=2;break}return e.abrupt("return",!1);case 2:return e.abrupt("return",!0);case 3:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function w(e){return _.apply(this,arguments)}function _(){return(_=u()(i()().mark((function e(t){var r,o,a,u,c,s,l,f;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g.a.load();case 3:if(!(c=null===(r=window)||void 0===r||null===(o=r.__ug_resource)||void 0===o||null===(a=o.batman)||void 0===a?void 0:a.run)){e.next=6;break}return e.abrupt("return",c(t));case 6:return Object(g.b)("no-run-register","{}"),e.next=9,Promise.all([n.e(0),n.e(2),n.e(6),n.e(5),n.e(8)]).then(n.bind(null,1228));case 9:return s=e.sent,e.abrupt("return",null===(u=s.run)||void 0===u?void 0:u.call(s,t));case 13:return e.prev=13,e.t0=e.catch(0),console.log("remote load batman error",e.t0),Object(g.b)("run-register",JSON.stringify({error:e.t0})),e.next=19,Promise.all([n.e(0),n.e(2),n.e(6),n.e(5),n.e(8)]).then(n.bind(null,1228));case 19:return f=e.sent,e.abrupt("return",null===(l=f.run)||void 0===l?void 0:l.call(f,t));case 21:case"end":return e.stop()}}),e,null,[[0,13]])})))).apply(this,arguments)}var b,k,x,C,S,E,O=n(16),j=n(25),P=function(){var e=u()(i()().mark((function e(){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.e(27).then(n.bind(null,202));case 2:e.sent.updateChannel();case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),A=function(){var e=u()(i()().mark((function e(){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,f.a.get("Global");case 3:return e.next=5,n.e(28).then(n.bind(null,314));case 5:e.sent.joinVerifyCheckShow(),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(0),console.error("import batman join-verify-check error:",e.t0);case 12:case"end":return e.stop()}}),e,null,[[0,9]])})));return function(){return e.apply(this,arguments)}}();function T(){return L.apply(this,arguments)}function L(){return(L=u()(i()().mark((function e(){var t,r,o;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g.a.load();case 3:if(!(o=null===(t=window)||void 0===t||null===(r=t.__ug_resource)||void 0===r?void 0:r.batman)){e.next=6;break}return e.abrupt("return",o);case 6:return Object(g.b)("remote-load-module-no-comp","{}"),e.abrupt("return",Promise.all([n.e(0),n.e(2),n.e(6),n.e(5),n.e(8)]).then(n.bind(null,1228)));case 10:return e.prev=10,e.t0=e.catch(0),Object(g.b)("load-module",JSON.stringify({error:e.t0})),e.abrupt("return",Promise.all([n.e(0),n.e(2),n.e(6),n.e(5),n.e(8)]).then(n.bind(null,1228)));case 14:case"end":return e.stop()}}),e,null,[[0,10]])})))).apply(this,arguments)}window.Comet=c,window.lib=window.lib||{},window.lib.Request=s.a,window.lib.MtopRequest=l.a;var I=f.a,R=s.a;I.set("config",d),I.set("util",{login:r});var U=window.navigator&&window.navigator.userAgent;-1!==(null==U?void 0:U.indexOf("Aliexpress"))||-1!==(null==U?void 0:U.indexOf("AE"))||p.a.page===v.a.campaign||Object(O.c)(["_randl_currency","_randl_shipto"]),Object(j.a)(),P(),I.set("Global",u()(i()().mark((function e(){var t;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(window.React){e.next=3;break}return e.next=3,R({type:"script",url:"https://assets.aliexpress-media.com/g/ae-fe/global/0.0.3/index.js",attrs:{crossOrigin:"anonymous"}});case 3:return t=n(29),(0,t.setDefaultPrefix)("cosmos"),e.abrupt("return",window.React);case 6:case"end":return e.stop()}}),e)})))),A(),I.set("Feedback",(function(){return n.e(17).then(n.bind(null,1224))}));var M=function(){var e=u()(i()().mark((function e(){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,I.get("Global");case 2:return e.abrupt("return",T());case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();I.set("Batman",M),I.set("login",M),I.set("rcmd.gallery",(function(){return Promise.all([n.e(1),n.e(18)]).then(n.bind(null,143))})),I.set("rcmd.waterfall",(function(){return Promise.all([n.e(1),n.e(44)]).then(n.bind(null,503))})),I.set("rcmd.list",(function(){return Promise.all([n.e(1),n.e(24)]).then(n.bind(null,1238))})),I.set("rcmd.slider",(function(){return Promise.all([n.e(1),n.e(6),n.e(42)]).then(n.bind(null,1236))})),I.set("rcmd",(function(){return Promise.all([n.e(1),n.e(37)]).then(n.bind(null,1211))})),I.set("rcmd.similar",(function(){return Promise.all([n.e(1),n.e(0),n.e(4)]).then(n.bind(null,1226))})),I.set("smartlink",(function(){return n.e(43).then(n.bind(null,1227))})),I.set("webpush",u()(i()().mark((function e(){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,I.get("Global");case 2:return e.abrupt("return",Promise.all([n.e(10),n.e(45)]).then(n.bind(null,1232)));case 3:case"end":return e.stop()}}),e)})))),I.set("CometProShipto",(function(){return Promise.all([n.e(0),n.e(2),n.e(3),n.e(7),n.e(14)]).then(n.bind(null,1201))})),I.set("ppcMediaTracking",(function(){return n.e(31).then(n.bind(null,1237))})),I.set("globalFormat",(function(){return n.e(21).then(n.t.bind(null,1215,7))})),I.set("aeFontFamily",(null===(b=window)||void 0===b||null===(k=b.adc)||void 0===k||null===(x=k.environment)||void 0===x?void 0:x.aeFontFamily)||(null===(C=window)||void 0===C?void 0:C.aeFontFamily)||""),I.set("poplayer.link",(function(){return Promise.all([n.e(9),n.e(40)]).then(n.bind(null,1204))}));if(["home","detail","new_account_index","shopcart","category"].some((function(e){return e===p.a.page}))){var q,N,F=new Promise((function(e){q=function(t){t.preventDefault(),e(t),N=t},window.addEventListener("beforeinstallprompt",q)}));window._pwa_prompt_={promise:F,open:function(){var e;null===(e=N)||void 0===e||e.prompt()},unBind:function(){window.removeEventListener("beforeinstallprompt",q)}}}null===(S=(E=window)._CosmosReadyResolve_)||void 0===S||S.call(E)},function(e,t,n){"use strict";var r=n(8).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(28)),i=r(n(27)),a=r(n(71)),u=n(72),c=new(function(){function e(){(0,o.default)(this,e),this.siteFormat=/^[a-z]{3}(_[a-z]{1})?$/,this.x_localeFormat=/^[a-z]{2}_[A-Z]{2}$/,this.s_localeFormat=/^[a-z]{2}_[A-Z]{2}$/,this.b_localeFormat=/^[a-z]{2}_[A-Z]{2}$/,this.c_tpFormat=/^[A-Z]{3}$/,this.regionFormat=/^[A-Z]{2,3}$/,this.provinceFormat=/^[0-9]{18}$/,this.cityFormat=/^[0-9]{18}$/,this.siFormat=/^(glo|rus|bra|esp|idn|fra|deu|ita)$/,this.signFormat=/^(y|n)$/,this.rmb_ppFormat=/^.*$/,this.x_userFormat=/^.*$/,this.issFormat=/^(y)$/,this.isbFormat=/^(y)$/,this.ispmFormat=/^(y)$/,this.isksFormat=/^(y)$/,this.isgclFormat=/^(y)$/,this.reg_verFormat=/^(new|old)$/,this.x_lFormat=/^[01]{1}$/,this.ber_lFormat=/^A\d$/,this.zero_orderFormat=/^(y)$/,this.ae_u_p_sFormat=/^[012]{1}$/,this.ups_dFormat=/^[01\|]{7,}$/,this.ups_u_tFormat=/^[0-9]{13,}$/,this.re_snsFormat=/^.*$/,this.x_csrfFormat=/^.*$/,this.x_c_chgFormat=/^[01]{1}$/,this.x_c_syncedFormat=/^[01]{1}$/,this.acs_rtFormat=/^[A-Za-z0-9]+$/,this.alimidFormat=/^[0-9]+$/,this.x_as_iFormat=/^([A-Za-z0-9]|(%))+/,this.x_lidFormat=/^[A-Za-z0-9]+$/}return(0,i.default)(e,[{key:"get",value:function(e,t){return a.default.get(e,t)}},{key:"_setcookie",value:function(e,t,n){if(n&&!this.validate(t,n))return!1;var r=a.default.get(e,{domain:(0,u.getFixedDomainUrl)(),path:"/",raw:!0})||"";r=new RegExp("(.*&?"+t+"=)(.*?)(&.*|$)").test(r)?RegExp.$1+n+RegExp.$3:(r?r+"&":"")+t+"="+n,a.default.set(e,r,{domain:(0,u.getFixedDomainUrl)(),path:"/",expires:3650,raw:!0})}},{key:"_getCookie",value:function(e,t){var n=a.default.get(e,{domain:(0,u.getFixedDomainUrl)(),path:"/",raw:!0})||"",r=new RegExp("(.*&?"+t+"=)(.*?)(&.*|$)");n.match(r);var o=RegExp.$2;return r.test(n)&&this.validate(t,o)?o:""}},{key:"validate",value:function(e,t){return!/(&|=)/.test(t)&&!!(t&&this[e+"Format"]&&this[e+"Format"].test(t))}},{key:"getMSite",value:function(e,t){var n=a.default.get(e,{domain:"m.aliexpress.com",path:"/",raw:!0})||"",r=new RegExp("(.*&?"+t+"=)(.*?)(&.*|$)");n.match(r);var o=RegExp.$2;return r.test(n)&&this.validate(t,o)?o:""}},{key:"setSite",value:function(e){this._setcookie("aep_usuc_f","site",e)}},{key:"getSite",value:function(){return this._getCookie("aep_usuc_f","site")}},{key:"setRegion",value:function(e){this._setcookie("aep_usuc_f","region",e)}},{key:"getRegion",value:function(){return this._getCookie("aep_usuc_f","region")}},{key:"setProvince",value:function(e){this._setcookie("aep_usuc_f","province",e)}},{key:"getProvince",value:function(){return this._getCookie("aep_usuc_f","province")}},{key:"setCity",value:function(e){this._setcookie("aep_usuc_f","city",e)}},{key:"getCity",value:function(){return this._getCookie("aep_usuc_f","city")}},{key:"getAlimid",value:function(){return this._getCookie("aep_usuc_f","alimid")}},{key:"getMsiteProvince",value:function(){return a.default.get("ae-msite-province",{domain:(0,u.getFixedDomainUrl)(),path:"/",raw:!0})||""}},{key:"getMsiteCity",value:function(){return a.default.get("ae-msite-city",{domain:(0,u.getFixedDomainUrl)(),path:"/",raw:!0})||""}},{key:"setCurrency",value:function(e){this._setcookie("aep_usuc_f","c_tp",e)}},{key:"getCurrency",value:function(){return this._getCookie("aep_usuc_f","c_tp")}},{key:"setLocale",value:function(e){this._setcookie("xman_us_f","x_locale",e)}},{key:"getLocale",value:function(){return this._getCookie("xman_us_f","x_locale")}},{key:"setSellerLocale",value:function(e){a.default.set("intl_locale",e,{domain:(0,u.getFixedDomainUrl)(),path:"/",expires:365,raw:!0}),this.setLocale(e),this._setcookie("aep_usuc_f","s_locale",e)}},{key:"getSellerLocale",value:function(){return this._getCookie("aep_usuc_f","s_locale")}},{key:"setBuyerLocale",value:function(e){this.setLocale(e),this._setcookie("aep_usuc_f","b_locale",e)}},{key:"getBuyerLocale",value:function(){return this._getCookie("aep_usuc_f","b_locale")}},{key:"getSign",value:function(){return this._getCookie("xman_us_t","sign")}},{key:"isLoggedIn",value:function(){return"y"==this.getSign()}},{key:"getLoginId",value:function(){return this._getCookie("xman_us_t","rmb_pp")}},{key:"getIss",value:function(){return this._getCookie("aep_usuc_f","iss")}},{key:"isSeller",value:function(){return"y"===this.getIss()}},{key:"getIsb",value:function(){return this._getCookie("aep_usuc_f","isb")}},{key:"isBuyer",value:function(){return"y"===this.getIsb()}},{key:"getIsks",value:function(){return this._getCookie("aep_usuc_f","isks")}},{key:"isKaSeller",value:function(){return"y"===this.getIsks()}},{key:"getIsgcl",value:function(){return this._getCookie("aep_usuc_f","isgcl")}},{key:"isGreenChannel",value:function(){return"y"===this.getIsgcl()}},{key:"getIspm",value:function(){return this._getCookie("aep_usuc_f","ispm")}},{key:"isPremiumMember",value:function(){return"y"===this.getIspm()}},{key:"getIsfm",value:function(){return this._getCookie("aep_usuc_f","isfm")}},{key:"isFreeMember",value:function(){return"y"===this.getIsfm()}},{key:"getRegVer",value:function(){return this._getCookie("aep_usuc_f","reg_ver")}},{key:"getOversea",value:function(){return this._getCookie("xman_us_f","x_l")}},{key:"isOversea",value:function(){return"1"!==this.getOversea()}},{key:"_getXUserRaw",value:function(){return this._getCookie("xman_us_f","x_user")}},{key:"getXUserObj",value:function(){var e={country:"",firstName:"",lastName:"",memberSeq:""},t=(this._getXUserRaw()||"").split("|");return t.length>=5&&(e.country=t[0],e.firstName=t[1].replace(/</g,"<").replace(/>/g,">"),e.lastName=t[2].replace(/</g,"<").replace(/>/g,">"),e.memberSeq=t[4]),e}},{key:"getMemberSeq",value:function(){return this.getXUserObj().memberSeq}},{key:"isNewUser",value:function(){return""===this.getXUserObj().memberSeq}},{key:"setAETest",value:function(){}},{key:"getAETest",value:function(){return""}},{key:"getBerL",value:function(){return this._getCookie("aep_usuc_t","ber_l")}},{key:"getZeroOrder",value:function(){return this._getCookie("xman_us_f","zero_order")}},{key:"isZeroOrderUser",value:function(){return"y"===this.getZeroOrder()}},{key:"getAeUps",value:function(){return this._getCookie("aep_usuc_f","ae_u_p_s")}},{key:"setAeUps",value:function(e){return this._setcookie("aep_usuc_f","ae_u_p_s",e)}},{key:"getAeUpsDetail",value:function(){return this._getCookie("aep_usuc_f","ups_d")}},{key:"setAeUpsDetail",value:function(e){return this._setcookie("aep_usuc_f","ups_d",e)}},{key:"getAeUpsTime",value:function(){return this._getCookie("aep_usuc_f","ups_u_t")}},{key:"setAeUpsTime",value:function(e){return this._setcookie("aep_usuc_f","ups_u_t",e)}},{key:"getReSns",value:function(){return this._getCookie("aep_usuc_f","re_sns")}},{key:"getCsrfToken",value:function(){var e=this._getCookie("acs_usuc_t","x_csrf");return e||(window.__bl&&window.__bl.api?window.__bl.error(new Error("Cookie.getCsrfToken error")):window.__bl&&(window.__bl.pipe=window.__bl.pipe||[],window.__bl.pipe.push(["error",new Error("Cookie.getCsrfToken error")]))),e}},{key:"getXmanCookieChanged",value:function(){return this._getCookie("xman_us_f","x_c_chg")}},{key:"setXmanCookieChanged",value:function(e){return this._setcookie("xman_us_f","x_c_chg",""+e)}},{key:"getXmanCookieSynced",value:function(){return this._getCookie("xman_us_f","x_c_synced")}},{key:"setXmanCookieSynced",value:function(e){return this._setcookie("xman_us_f","x_c_synced",""+e)}},{key:"getACS_RT",value:function(){return this._getCookie("xman_us_f","acs_rt")}},{key:"getX_AS_I",value:function(){return this._getCookie("xman_us_f","x_as_i")}},{key:"getCNA",value:function(){return a.default.get("cna",{domain:(0,u.getFixedDomainUrl)(),path:"/",raw:!0})||""}},{key:"getAliApacheId",value:function(){return a.default.get("ali_apache_id",{domain:(0,u.getFixedDomainUrl)(),path:"/",raw:!0})||""}},{key:"getAeucid",value:function(){return a.default.get("aeu_cid",{domain:(0,u.getFixedDomainUrl)(),path:"/",raw:!0})||""}}]),e}());window.lib=window.lib||{},window.lib.cookie=c;var s=c;t.default=s},function(e,t,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";function r(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):function(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})),e}n.d(t,"a",(function(){return r}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(35);function o(e,t){if(e){if("string"==typeof e)return Object(r.a)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Object(r.a)(e,t):void 0}}},function(e,t){e.exports=ReactDOM},function(e,t){e.exports=Comet},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={},o=decodeURIComponent,i=encodeURIComponent;function a(e){return"string"==typeof e}function u(e){return a(e)&&""!==e}function c(e){if(!u(e))throw new TypeError("Cookie name must be a non-empty string")}function s(e){return e}r.get=function(e,t){c(e),t="function"==typeof t?{converter:t}:t||{};var n=function(e,t){var n={};if(a(e)&&e.length>0)for(var r,i,u,c=t?o:s,l=e.split(/;\s/g),f=0,d=l.length;f<d;f++){if((u=l[f].match(/([^=]+)=/i))instanceof Array)try{r=o(u[1]),i=c(l[f].substring(u[1].length+1))}catch(e){}else r=o(l[f]),i="";r&&(n[r]=i)}return n}(document.cookie,!t.raw);return(t.converter||s)(n[e])},r.set=function(e,t,n){c(e);var r=(n=n||{}).expires,o=n.domain,a=n.path;n.raw||(t=i(String(t)));var s=e+"="+t,l=r;return"number"==typeof l&&(l=new Date).setDate(l.getDate()+r),l instanceof Date&&(s+="; expires="+l.toUTCString()),u(o)&&(s+="; domain="+o),u(a)&&(s+="; path="+a),n.secure&&(s+="; secure"),document.cookie=s,s},r.remove=function(e,t){return(t=t||{}).expires=new Date(0),this.set(e,"",t)};var l=r;t.default=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getFixedDomainUrl=function(){return o};var r,o="aliexpress.com";"object"==typeof window&&(r=window.location.host.match(/(\w+\.\w+)$/))&&(o=r[1])},function(e,t,n){"use strict";function r(){}n.r(t),n.d(t,"default",(function(){return r}))},function(e,t){e.exports=Comet.mtop},function(e,t){e.exports=Comet.request},function(e,t,n){},function(e,t,n){"use strict";n.r(t);n(45),n(64);var r=n(7),o=n(4),i=n.n(o),a=function(e){try{e&&function(e){if(window.goldlog&&window.goldlog.getMetaInfo){var t=window.goldlog.getMetaInfo("aplus-exdata");t&&t.UTABTest&&-1===t.UTABTest.indexOf(e)?window.goldlog.appendMetaInfo("aplus-exdata",i()({},t,{UTABTest:t.UTABTest+"."+e})):window.goldlog.appendMetaInfo("aplus-exdata",{UTABTest:""+e});var n=window.goldlog.getMetaInfo("aplus-cpvdata");n&&n.UTABTest&&-1===n.UTABTest.indexOf(e)?window.goldlog.appendMetaInfo("aplus-cpvdata",i()({},n,{UTABTest:n.UTABTest+"."+e})):window.goldlog.appendMetaInfo("aplus-cpvdata",{UTABTest:""+e})}else{var r=window.goldlog_queue||(window.goldlog_queue=[]);if(Array.isArray(window.goldlog_queue)){var o=window.goldlog_queue.filter((function(e){var t;return"goldlog.appendMetaInfo"===(null==e?void 0:e.action)&&"aplus-exdata"===(null==e||null===(t=e.arguments)||void 0===t?void 0:t[0])}));if(null!=o&&o.length){var a=o[0].arguments[1].UTABTest;a&&-1===a.indexOf(e)&&(o[0].arguments[1].UTABTest=a+"."+e)}else r.push({action:"goldlog.appendMetaInfo",arguments:["aplus-exdata",{UTABTest:e}]})}if(Array.isArray(window.goldlog_queue)){var u=window.goldlog_queue.filter((function(e){var t;return"goldlog.appendMetaInfo"===(null==e?void 0:e.action)&&"aplus-cpvdata"===(null==e||null===(t=e.arguments)||void 0===t?void 0:t[0])}));if(null!=u&&u.length){var c=u[0].arguments[1].UTABTest;c&&-1===c.indexOf(e)&&(u[0].arguments[1].UTABTest=c+"."+e)}else r.push({action:"goldlog.appendMetaInfo",arguments:["aplus-cpvdata",{UTABTest:e}]})}}}(e)}catch(e){console.error(e)}},u=n(29),c=n(79),s=n(35);var l=n(68);function f(e){return function(e){if(Array.isArray(e))return Object(s.a)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Object(l.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var d=-1,p=function(e){addEventListener("pageshow",(function(t){t.persisted&&(d=t.timeStamp,e(t))}),!0)},v=function(){var e=self.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},m=function(){var e=v();return e&&e.activationStart||0},g=function(e,t){var n=v(),r="navigate";return d>=0?r="back-forward-cache":n&&(document.prerendering||m()>0?r="prerender":document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v4-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},h=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver((function(e){Promise.resolve().then((function(){t(e.getEntries())}))}));return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},y=function(e,t,n,r){var o,i;return function(a){t.value>=0&&(a||r)&&((i=t.value-(o||0))||void 0===o)&&(o=t.value,t.delta=i,t.rating=function(e,t){return e>t[1]?"poor":e>t[0]?"needs-improvement":"good"}(t.value,n),e(t))}},w=function(e){requestAnimationFrame((function(){return requestAnimationFrame((function(){return e()}))}))},_=function(e){document.addEventListener("visibilitychange",(function(){"hidden"===document.visibilityState&&e()}))},b=function(e){var t=!1;return function(){t||(e(),t=!0)}},k=-1,x=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},C=function(e){"hidden"===document.visibilityState&&k>-1&&(k="visibilitychange"===e.type?e.timeStamp:0,E())},S=function(){addEventListener("visibilitychange",C,!0),addEventListener("prerenderingchange",C,!0)},E=function(){removeEventListener("visibilitychange",C,!0),removeEventListener("prerenderingchange",C,!0)},O=function(){return k<0&&(k=x(),S(),p((function(){setTimeout((function(){k=x(),S()}),0)}))),{get firstHiddenTime(){return k}}},j=function(e){document.prerendering?addEventListener("prerenderingchange",(function(){return e()}),!0):e()},P=(new Map,function(e){var t=self.requestIdleCallback||self.setTimeout,n=-1;return e=b(e),"hidden"===document.visibilityState?e():(n=t(e),_(e)),n}),A=[2500,4e3],T={};new Date;var L=function(){try{var e,t=null===(e=function(e){var t,n,r={};if(function(e){return"string"==typeof e}(e)&&e.length>0){var o,i,a,u=e.split(/;\s/g);try{for(var c=0,s=u.length;c<s;c++)a=u[c].match(/([^=]+)=/i),t=a,(null!=(n=Array)&&"undefined"!=typeof Symbol&&n[Symbol.hasInstance]?n[Symbol.hasInstance](t):t instanceof n)?(o=decodeURIComponent(a[1]),i=decodeURIComponent(u[c].substring(a[1].length+1))):(o=decodeURIComponent(u[c]),i=""),o&&(r[o]=i)}catch(e){}}return r}(document.cookie))||void 0===e?void 0:e.aep_usuc_f;if(!t)return"";var n=t.match(/region=([a-zA-Z]{2,3})/);return n?n[1]:""}catch(e){}return""},I=function(){var e,t;if(window.PerformanceNavigationTiming&&"function"==typeof(null===(t=window)||void 0===t||null===(e=t.performance)||void 0===e?void 0:e.getEntriesByType)){var n=performance.getEntriesByType("navigation")[0],r={};for(var o in n)"number"==typeof n[o]?r[o]=J(n[o]):"object"==typeof n[o]?r[o]=JSON.stringify(n[o]):r[o]=n[o];return r}},R=function(){return I()},U=function(){var e=R()||{};return W.map((function(t){return e[t]})).join("|")},M=n(39),q=n(67),N=function(){return!Q()&&"safari"===function(e){var t,n,r=e.toLowerCase();try{if(n=r.match(/rv:([\d.]+)\) like gecko/)){var o=0,i=n[1],a=i.match(/(\d+)\./);a&&(o=parseInt(a[1])),t={type:"ie",versionStr:i,version:o}}else if(n=r.match(/msie ([\d\.]+)/)){var u=0,c=n[1],s=c.match(/(\d+)\./);s&&(u=parseInt(s[1])),t={type:"ie",versionStr:c,version:u}}else if(n=r.match(/edge?\/([\d\.]+)/)){var l=0,f=n[1],d=f.match(/(\d+)\./);d&&(l=parseInt(d[1])),t={type:"edge",versionStr:f,version:l}}else if(n=r.match(/firefox\/([\d\.]+)/)){var p=0,v=n[1],m=v.match(/(\d+)\./);m&&(p=parseInt(m[1])),t={type:"firefox",versionStr:v,version:p}}else if(n=r.match(/(?:opera|opr).([\d\.]+)/)){var g=0,h=n[1],y=h.match(/(\d+)\./);y&&(g=parseInt(y[1])),t={type:"opera",versionStr:h,version:g}}else if(n=r.match(/chrome\/([\d\.]+)/)){var w=0,_=n[1],b=_.match(/(\d+)\./);b&&(w=parseInt(b[1])),t={type:"chrome",versionStr:_,version:w}}else if(n=r.match(/version\/([\d\.]+).*safari/)){var k=0,x=n[1],C=x.match(/(\d+)\./);C&&(k=parseInt(C[1])),t={type:"safari",versionStr:x,version:k}}}catch(e){console.error(e)}return t=Object(q.a)(Object(M.a)({},t),{ua:r})}(navigator.userAgent).type},F=["ec","ea","el","et"];function D(e){var t,n=["msg="+e],r=Object(M.a)({},function(){var e,t,n,r,o,i=function(){if(window.goldlog&&window.goldlog.spm_ab)return window.goldlog.spm_ab;var e,t=document.querySelector('meta[name="spm-id"]')||document.querySelector('meta[name="data-spm"]');if(t&&(e=t.content)&&-1!==e.indexOf("."))return e.split(".");var n=document.body&&document.body.getAttribute("data-spm");return e&&n?[e,n]:[]}();return{spm_a:i[0],spm_b:i[1],hash:location.hash,is_top:window.top===window,nav_t:null===(t=window.performance)||void 0===t||null===(e=t.navigation)||void 0===e?void 0:e.type,visible:!0!==document.hidden,memory:null===(n=navigator)||void 0===n?void 0:n.deviceMemory,cpu:navigator.hardwareConcurrency,dpi:window.devicePixelRatio,sr:"".concat(window.screen.width,"x").concat(window.screen.height),title:document.title,sdk_version:(null===(r=window)||void 0===r?void 0:r.AES.getConfig("sdk_version"))||"0.0.0",pv_id:null===(o=window)||void 0===o?void 0:o.AES.getConfig("pv_id")}}(),null===(t=window)||void 0===t?void 0:t.AES_CONFIG);for(var o in r)-1===o.indexOf("plugin_")&&"requiredFields"!==o&&"maxUrlLength"!==o&&r.hasOwnProperty(o)&&(r[o]||0===r[o])&&n.push(o+"="+encodeURIComponent(r[o]));return n.join("&")}var $=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e){t.ts=t.ts||(new Date).getTime(),t.type=e;var n=[];for(var r in t){var o=t[r],i=Object.prototype.toString.call(o);"[object String]"!==i&&"[object Number]"!==i&&"[object Boolean]"!==i&&"[object Object]"!==i&&"[object Array]"!==i||("[object Object]"!==i&&"[object Array]"!==i||(o=JSON.stringify(o)),n.push("".concat(r,"=").concat(encodeURIComponent(o))))}return t=encodeURIComponent(n.join("&"))}};function G(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o,i,a={};if(0!==n.length){for(var u=0;u<n.length;u++){var c,s,l,f=n[u];if(0!==u&&"object"==typeof f&&u!==n.length-1)return void(null===(l=e)||void 0===l||null===(s=l.console)||void 0===s||null===(c=s.warn)||void 0===c||c.call(s,"[AES tracker-plugin-event]","Only the last argument can be object type"));if("string"==typeof f||"number"==typeof f)a[F[u]]=f;else if("object"==typeof f&&u===n.length-1)for(var d in f)f.hasOwnProperty(d)&&(a[d]=f[d])}var p=a.ec,v=a.ea,m=a.el,g=a.et,h=void 0===g?"CLK":g,y=a.xpath;delete a.ec,delete a.ea,delete a.el,delete a.et,delete a.xpath,a.p1=p,a.p2=v,a.p3=m,a.p4=h,a.p5=y;var w=$("event",a);return w}null===(i=e.console)||void 0===i||null===(o=i.warn)||void 0===o||o.call(i,"[AES tracker-plugin-event]","At lease one augument")};try{var a=i.apply(void 0,f(r));a&&t.send(D(a))}catch(e){console.error(e)}}var B=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r;return G.apply(void 0,[window,null===(r=window)||void 0===r?void 0:r.AES].concat(f(t)))},J=function(e){return Math.floor(1e5*e)/1e5},z=function(e){if(!e)return"";var t=["workerStart","redirectStart","redirectEnd","fetchStart","domainLookupStart","domainLookupEnd","connectStart","connectEnd","secureConnectionStart","requestStart","responseStart","responseEnd"];return["initiatorType","nextHopProtocol","deliveryType","workerStart","redirectStart","redirectEnd","fetchStart","domainLookupStart","domainLookupEnd","connectStart","connectEnd","secureConnectionStart","requestStart","responseStart","responseEnd","transferSize","encodedBodySize","decodedBodySize","serverTiming","responseStatus","firstInterimResponseStart","renderBlockingStatus","entryType","startTime","duration"].map((function(n){return"number"==typeof e[n]?t.indexOf(n)>-1?0==e[n]?e[n]:J(e[n]-e.startTime):J(e[n]):e[n]})).join("|")},W=["startTime","redirectStart","redirectEnd","workerStart","fetchStart","domainLookupStart","domainLookupEnd","connectStart","secureConnectionStart","connectEnd","requestStart","responseStart","unloadEventStart","unloadEventEnd","responseEnd","domInteractive","domContentLoadedEventStart","domContentLoadedEventEnd","domComplete","loadEventStart","loadEventEnd","transferSize","encodedBodySize","decodedBodySize","serverTiming","nextHopProtocol","deliveryType","firstInterimResponseStart","renderBlockingStatus","entryType","duration"],Q=function(){return"undefined"==typeof window},V=function(){var e;return Q()?"":null===(e=document.querySelector("body"))||void 0===e?void 0:e.getAttribute("data-spm")},H=function(){var e,t,n;return(null===(n=location)||void 0===n||null===(t=n.search)||void 0===t||null===(e=t.indexOf)||void 0===e?void 0:e.call(t,"perf=y"))>0},X=function(e,t){var n,r;(null===(n=window)||void 0===n?void 0:n.AES)&&(null===(r=window)||void 0===r?void 0:r.AES_CONFIG)?B.apply(void 0,f(t)):(window.gep_queue||(window.gep_queue=[]),window.gep_queue.push({action:e,arguments:t}))},Y=!1,Z=function(e){var t=function(){if(e.traceId&&!Y){e.performance=U();var t,n=R().startTime;n&&(e.startTime=n),e.onRequestEnd&&e.onRequestStart&&e.onRequestEnd>e.onRequestStart&&(e.allDataTime=e.onRequestEnd-e.onRequestStart),e.onRequestEnd||e.onRequestStart||(e.allDataTime=(t=I())&&"number"==typeof t.requestStart&&"number"==typeof t.responseEnd&&t.responseEnd>t.requestStart?t.responseEnd-t.requestStart:""),e.shipTo=L(),Y=!0,H()&&console.log("perf catch:",e),X("sendPluginEvent",["FirstPageSendEvent",{et:"OTHER",c3:e.TTI,c4:e.LCP,c5:e.traceId,c6:JSON.stringify(e),p7:e.apiPerformance}])}};(e.LCP&&e.TTI||N()&&e.TTI)&&t()},K=function(){!function(e,t){t=t||{},j((function(){var n,r=O(),o=g("LCP"),i=function(e){t.reportAllChanges||(e=e.slice(-1)),e.forEach((function(e){e.startTime<r.firstHiddenTime&&(o.value=Math.max(e.startTime-m(),0),o.entries=[e],n())}))},a=h("largest-contentful-paint",i);if(a){n=y(e,o,A,t.reportAllChanges);var u=b((function(){T[o.id]||(i(a.takeRecords()),a.disconnect(),T[o.id]=!0,n(!0))}));["keydown","click"].forEach((function(e){addEventListener(e,(function(){return P(u)}),!0)})),_(u),p((function(r){o=g("LCP"),n=y(e,o,A,t.reportAllChanges),w((function(){o.value=performance.now()-r.timeStamp,T[o.id]=!0,n(!0)}))}))}}))}((function(e){window.GepTrackerPerfQueue=window.GepTrackerPerfQueue||[],window.GepTrackerPerfQueue.push(["LCP",Math.round(e.value)])}))},ee=function(e){try{if(o=V(),!new RegExp("aliexpress.com/ssr/\\d{9}").test(location.href)&&-1==["best","home","productlist","detail","cart","shopcart"].indexOf(o))return;if(performance){var t,n=function(t){var n;(null===(n=t)||void 0===n?void 0:n.length)&&t.forEach((function(t){if("resource"===t.entryType){var n=((e||[]).find((function(e){var n;return null===(n=e.reg)||void 0===n?void 0:n.test(t.name)}))||{}).type;if(n){var r,o,i={et:"OTHER"};i.c1=t.name,i.c2=t.transferSize,i.c3=t.fetchStart,t.responseEnd&&t.fetchStart&&(i.c4=Math.floor(t.responseEnd-t.fetchStart)),t.responseEnd&&t.requestStart&&(i.c5=Math.floor(t.responseEnd-t.requestStart)),i.c6=z(t),r="sendPluginEvent",o=["".concat(n,"_resource_event"),i],window.gep_queue||(window.gep_queue=[]),window.gep_queue.push({action:r,arguments:o}),H()&&console.log("".concat(n,"_resource_event"),i)}}}))},r=performance.getEntries();if((null===(t=r)||void 0===t?void 0:t.length)&&n(r),"function"==typeof PerformanceObserver)new PerformanceObserver((function(e){var t,r=e.getEntries();(null===(t=r)||void 0===t?void 0:t.length)&&n(r)})).observe({entryTypes:["resource"]})}}catch(e){console.error(e)}var o},te=function(e){return z(function(e){var t=new RegExp(e),n=performance.getEntries().filter((function(e){return t.test(e.name)}));return n.length?n[n.length-1]:null}(e))},ne=["complete"],re=function(e,t){return new Promise((function(n){e&&"function"!=typeof e&&(t=e,e=null),t=t||window.document;var r=function(){return n(void(e&&setTimeout(e)))};ne.includes(t.readyState)?r():window.addEventListener("DOMContentLoaded",r)}))},oe=function(){var e;if(!Q()&&!window._gep_tracker_perf_listener_status_){window._gep_tracker_perf_listener_status_=!0;var t={};window.GepTrackerPerfQueue=window.GepTrackerPerfQueue||[],window.GepTrackerPerfQueue.forEach((function(e){Array.isArray(e)&&(t[e[0]]=e[1])})),(null===(e=window.GepTrackerPerfQueue)||void 0===e?void 0:e.isProxy)||(window.GepTrackerPerfQueue=new Proxy(window.GepTrackerPerfQueue||[],{set:function(e,n,r,o){var i;return Array.isArray(r)&&!t[null===(i=r)||void 0===i?void 0:i[0]]&&"length"!==n&&(t[r[0]]=r[1]||Date.now(),"onRequestEnd"===r[0]&&(t.apiPerformance=te(t.apiName)),Z(t)),Reflect.set(e,n,r,o)},get:function(e,t,n){return"isProxy"===t||Reflect.get(e,t,n)}})),K(),/AliApp\(AE/.test(navigator.userAgent)||re((function(){(1e3*Math.random()<2||H())&&ee([{type:"img",reg:/(\/\/(ae0[1-4]|img)\.alicdn\.com|ae\-pic\-a1\.aliexpress\-media\.com)/},{type:"css_js",reg:/(\/\/(assets|g|o|aeis)\.alicdn\.com|assets\.aliexpress\-media\.com)/}])}))}};n(76),n(63);function ie(){var e;e=r.a.get("cna")?"old":"new",window.AES_CONFIG=window.AES_CONFIG||{},Object.assign(window.AES_CONFIG,{dim7:e}),function(){if(!Object(c.c)()){var e=r.a.get("AB_DATA_TRACK");if(e&&"string"==typeof e){var t=e.split(".").map((function(e){return"aliabtest"+e})).join(".");a(t)}}}(),Object(u.setDefaultPrefix)("cosmos"),oe()}var ae=n(40),ue=n(1),ce=n.n(ue),se=n(0),le=n.n(se),fe=n(37),de=n(3),pe=n(16),ve=function(){var e=le()(ce()().mark((function e(){var t;return ce()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([n.e(5),n.e(25)]).then(n.bind(null,1240));case 2:t=e.sent,(0,t.default)();case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),me=function(){var e=le()(ce()().mark((function e(){var t;return ce()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t={paused:!1,pause:function(){t.paused=!0},load:ve,useLoader:function(e){Object(fe.useLayoutEffect)((function(){t.pause()}),[]),Object(fe.useEffect)((function(){e&&t.load()}),[e])}},de.a.set("loader",t),e.next=4,pe.a;case 4:if(!t.paused){e.next=6;break}return e.abrupt("return");case 6:t.load();case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ge=n(65),he=n.n(ge);ie(),null===ae.default||void 0===ae.default||Object(ae.default)(),me(),window.lib.cookie=he.a},,function(e,t,n){"use strict";n.d(t,"a",(function(){return o})),n.d(t,"e",(function(){return a})),n.d(t,"c",(function(){return u})),n.d(t,"d",(function(){return c})),n.d(t,"b",(function(){return s})),n.d(t,"f",(function(){return l}));var r=n(5),o=function(){return r.isSSR?Object(r.getUserAgent)():navigator.userAgent},i=/(phone|pad|pod|iPhone|iPod|iPad|ios|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i,a=function(){var e=o();return i.test(e)};function u(){var e=o();return/AliApp\(AE/.test(e)}function c(){var e=o();return/iPhone/.test(e)||/\(i[^;]+;( U;)? CPU.+Mac OS X/.test(e)}function s(){var e=o();return/Android/.test(e)||/Adr/.test(e)}function l(){var e,t,n,r=null===(e=o())||void 0===e?void 0:e.toLowerCase(),i="MacIntel"===(null===(t=navigator)||void 0===t?void 0:t.platform)&&(null===(n=navigator)||void 0===n?void 0:n.maxTouchPoints)>1;return/(ipad|tablet|(android(?!.*mobile))|(windows(?!.*phone)(.*touch))|kindle|playbook|silk|(puffin(?!.*(IP|AP|WP))))/.test(r)||i}}]); |