Files
2026-11-16 01:39:59 +07:00

1 line
79 KiB
Plaintext

!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={19:0,18:0,40:0},o={19:0,18:0,40: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]&&{2:1,3:1,4:1,5:1,6:1,7:1,8:1,10:1,12:1,13:1,15:1,17:1,20:1,23:1,35:1,36:1,37:1,39:1}[e]&&t.push(r[e]=new Promise((function(t,n){for(var o=({0:"comet-pro-shipto-bLCM2~gallery-9g91h~list-88mY4~login~rcmd-9jQqC~scene-login~scene-login-service~shi~b67d9e51",1:"gallery-9g91h~list-88mY4~login~rcmd-9jQqC~slider-kTGCl~waterfall-VLHdM",2:"comet-pro-shipto-bLCM2~login~scene-login~scene-login-service~ship-to-setting",3:"gallery-9g91h",4:"comet-pro-shipto-bLCM2~login~ship-to-setting",5:"comet-pro-shipto-bLCM2~maddress~ship-to-setting",6:"login",7:"scene-login-service",8:"webpush-ui",9:"affiliate-tracker",10:"bind-email",12:"comet-pro-shipto-bLCM2",13:"cpf",14:"email-join-verify",15:"feedback",16:"gep-sdk",17:"has-login",20:"list-88mY4",21:"loader",22:"local-data",23:"maddress",24:"mtop",25:"nano-ppc-media-tracking-YnuuQ",26:"new-email-join-verify",27:"new-phone-join",28:"page-collect",29:"phone-join",30:"phone-password",31:"pop-layer",32:"rcmd-9jQqC",33:"rsa",34:"scene-login",35:"scene-login-panel",36:"ship-to-setting",37:"slider-kTGCl",38:"smart-link",39:"waterfall-VLHdM",40:"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+""+({0:"comet-pro-shipto-bLCM2~gallery-9g91h~list-88mY4~login~rcmd-9jQqC~scene-login~scene-login-service~shi~b67d9e51",1:"gallery-9g91h~list-88mY4~login~rcmd-9jQqC~slider-kTGCl~waterfall-VLHdM",2:"comet-pro-shipto-bLCM2~login~scene-login~scene-login-service~ship-to-setting",3:"gallery-9g91h",4:"comet-pro-shipto-bLCM2~login~ship-to-setting",5:"comet-pro-shipto-bLCM2~maddress~ship-to-setting",6:"login",7:"scene-login-service",8:"webpush-ui",9:"affiliate-tracker",10:"bind-email",12:"comet-pro-shipto-bLCM2",13:"cpf",14:"email-join-verify",15:"feedback",16:"gep-sdk",17:"has-login",20:"list-88mY4",21:"loader",22:"local-data",23:"maddress",24:"mtop",25:"nano-ppc-media-tracking-YnuuQ",26:"new-email-join-verify",27:"new-phone-join",28:"page-collect",29:"phone-join",30:"phone-password",31:"pop-layer",32:"rcmd-9jQqC",33:"rsa",34:"scene-login",35:"scene-login-panel",36:"ship-to-setting",37:"slider-kTGCl",38:"smart-link",39:"waterfall-VLHdM",40:"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.213/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=56)}([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(2)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){var r=n(20).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 _?t:_,i=Object.create(o.prototype),a=new L(r||[]);return u(i,"_invoke",{value:j(e,n,a)}),i}function g(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=p;var h="suspendedStart",v="executing",m="completed",y={};function _(){}function w(){}function b(){}var x={};d(x,s,(function(){return this}));var k=Object.getPrototypeOf,C=k&&k(k(I([])));C&&C!==i&&a.call(C,s)&&(x=C);var E=b.prototype=_.prototype=Object.create(x);function A(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=g(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=h;return function(i,a){if(o===v)throw new Error("Generator is already running");if(o===m){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=S(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===h)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=v;var s=g(e,n,r);if("normal"===s.type){if(o=r.done?m:"suspendedYield",s.arg===y)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(o=m,r.method="throw",r.arg=s.arg)}}}function S(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,S(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=g(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 T(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 P(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function L(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,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 w.prototype=b,u(E,"constructor",{value:b,configurable:!0}),u(b,"constructor",{value:w,configurable:!0}),w.displayName=d(b,f,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"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(E),e},n.awrap=function(e){return{__await:e}},A(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()}))},A(E),d(E,f,"Generator"),d(E,s,(function(){return this})),d(E,"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(P),!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),P(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;P(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){"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";(function(e){n.d(t,"g",(function(){return r})),n.d(t,"e",(function(){return i})),n.d(t,"c",(function(){return a})),n.d(t,"d",(function(){return u})),n.d(t,"a",(function(){return c})),n.d(t,"f",(function(){return s})),n.d(t,"b",(function(){return l}));var r="undefined"==typeof window,o={},i=function(){var e;return null===(e=o.ext)||void 0===e?void 0:e["user-agent"]},a=function(){return o.principal.url},u=function(e){var t;return null===(t=o.principal.query)||void 0===t?void 0:t[e]},c=function(){return o.principal.accountId},s=function(){return o.principal.signedIn},l=function(){return o.env}}).call(this,n(30))},function(e,t,n){"use strict";var r={};n.r(r),n.d(r,"set",(function(){return m})),n.d(r,"get",(function(){return y})),n.d(r,"getSite",(function(){return _})),n.d(r,"setSite",(function(){return w})),n.d(r,"getRegion",(function(){return b})),n.d(r,"setRegion",(function(){return x})),n.d(r,"getProvince",(function(){return k})),n.d(r,"setProvince",(function(){return C})),n.d(r,"getCity",(function(){return E})),n.d(r,"setCity",(function(){return A})),n.d(r,"getCurrency",(function(){return O})),n.d(r,"setCurrency",(function(){return j})),n.d(r,"getLocale",(function(){return S})),n.d(r,"setLocale",(function(){return T})),n.d(r,"isLoggedIn",(function(){return P})),n.d(r,"getMemberId",(function(){return L})),n.d(r,"getCsrfToken",(function(){return I})),n.d(r,"getGdpr",(function(){return M})),n.d(r,"setGdpr",(function(){return U}));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"),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(23),g=n(3).a.use("config.cookie",p.a),h={get:function(e){return d.get(e,{domain:g.current.domain,path:"/",raw:!0})||""},set:function(e,t){d.set(e,t,{domain:g.current.domain,path:"/",expires:365,raw:!0})},validate:function(e,t){return!t||e&&t.test(e)},_getCookie:function(e){if(o.g)return v(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;if(t&&(!e||this.validate(e,o)))if(r){var i=this.get(n);i=new RegExp("(.*&?"+r+"=)(.*?)(&.*|$)").test(i)?RegExp.$1+e+RegExp.$3:(i?i+"&":"")+r+"="+e,this.set(n,i)}else this.set(n,e)},isTrue:function(e){var t;return this.getCookie(e)===(null!==(t=null==e?void 0:e.trueValue)&&void 0!==t?t:"y")}},v=function(e){var t=Object(o.b)();switch(e){case g.current.cookie.site:return t.site;case g.current.cookie.region:return t.country;case g.current.cookie.province:return t.province;case g.current.cookie.city:return t.city;case g.current.cookie.currency:return t.currency;case g.current.cookie.locale:return t.locale;case g.current.cookie.sign:return Object(o.f)();case g.current.cookie.memberId:return Object(o.a)();default:return}};function m(e,t,n,r){return h.setCookie(e,{name:t,key:n,rule:r})}function y(e,t){return h.getCookie({name:e,key:t})}function _(){return h.getCookie(g.current.cookie.site)}function w(e){return h.setCookie(e,g.current.cookie.site)}function b(){return h.getCookie(g.current.cookie.region)}function x(e){return h.setCookie(e,g.current.cookie.region)}function k(){return h.getCookie(g.current.cookie.province)}function C(e){return h.setCookie(e,g.current.cookie.province)}function E(){return h.getCookie(g.current.cookie.city)}function A(e){return h.setCookie(e,g.current.cookie.city)}function O(){return h.getCookie(g.current.cookie.currency)}function j(e){return h.setCookie(e,g.current.cookie.currency)}function S(){return h.getCookie(g.current.cookie.locale)}function T(e){return h.setCookie(e,g.current.cookie.locale)}function P(){return h.isTrue(g.current.cookie.sign)}function L(){return h.getCookie(g.current.cookie.memberId)}function I(){return h.getCookie(g.current.cookie.csrfToken)}function M(){return h.getCookie(g.current.cookie.gdpr)}function U(e){return h.setCookie(e,g.current.cookie.gdpr)}t.a=r},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.r(t);var r=n(3);n.d(t,"Module",(function(){return r.a}));var o=n(14);n.d(t,"request",(function(){return o.a}));var i=n(6);n.d(t,"cookie",(function(){return i.a}));var a=n(26);n.d(t,"mtop",(function(){return a.a}));var u=n(15);n.d(t,"util",(function(){return u}))},function(e,t,n){"use strict";var r,o,i,a=n(7),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))&&(u.page=a.a.campaign),t.a=u},function(e,t,n){"use strict";n.r(t);var r=n(24);n.d(t,"awsc",(function(){return r.a}));var o=n(23);n.d(t,"cookie",(function(){return o.a}));var i=n(9);n.d(t,"env",(function(){return i.a}));var a=n(25);n.d(t,"mtop",(function(){return a.a}));var u=n(7);n.d(t,"page",(function(){return u.a}))},function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var r=n(5),o=r.g?function(e){return Object(r.d)(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";n.d(t,"a",(function(){return i})),n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return u}));var r=n(19),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){"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,g=new XMLHttpRequest;g.open(n,u(r,o),!0),g.timeout=f,g.onreadystatechange=function(){if(g&&4===g.readyState&&0!==g.status){var e;if(g.status>=200&&g.status<300)try{e="json"===s?JSON.parse(g.responseText):g.responseText,d&&d(e)}catch(e){p&&p(e)}else p&&p(status);g=null}},l&&Object.keys(l).forEach((function(e){g[e]=l[e]})),"setRequestHeader"in g&&Object.keys(c).forEach((function(e){g.setRequestHeader(e,c[e])})),g.onabort=function(){g&&(p&&p(new Error("request aborted")),g=null)},g.onerror=function(){p&&p(new Error("network error")),g=null},g.ontimeout=function(){p&&p(new Error("timeout")),g=null},g.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,g=void 0===p?"callback":p,h=r.jsonpCallbackName,v=void 0===h?"_comet_request_"+(f?window._comet_request_jsonp_count_++:s++):h,m=r.timeout,y=r.success,_=r.error,c=u(c,o()(((i={})[g]=v,i),d)),window[v]=function(e){a=e,delete window[v]},void l({url:c,timeout:m,success:function(){y(a)},error:_});var r,i,a,c,d,p,g,h,v,m,y,_}))}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.r(t),n.d(t,"awsc",(function(){return x})),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 E})),n.d(r,"exp",(function(){return A})),n.d(r,"setConfig",(function(){return C.s})),n.d(r,"sendPV",(function(){return C.j})),n.d(r,"sendInteractionObject",(function(){return C.h})),n.d(r,"sendInteractionObjects",(function(){return C.i})),n.d(r,"click",(function(){return C.a})),n.d(r,"exposure",(function(){return C.b})),n.d(r,"sendAEClick",(function(){return C.c})),n.d(r,"sendAEExposure",(function(){return C.d})),n.d(r,"sendPluginEvent",(function(){return C.o})),n.d(r,"sendPagePref",(function(){return C.n})),n.d(r,"sendPagePerfCfpt",(function(){return C.k})),n.d(r,"sendPagePerfDidMount",(function(){return C.m})),n.d(r,"sendPagePerfDataComplete",(function(){return C.l})),n.d(r,"sendCustomError",(function(){return C.g})),n.d(r,"sendApiError",(function(){return C.e})),n.d(r,"sendApiSuccess",(function(){return C.f})),n.d(r,"sendResourceError",(function(){return C.p})),n.d(r,"sendWhitePageEvent",(function(){return C.r})),n.d(r,"sendSafeEvent",(function(){return C.q})),n.d(r,"weexGepTracker",(function(){return C.t}));var o={};n.r(o),n.d(o,"isLogin",(function(){return j})),n.d(o,"run",(function(){return T}));var i,a,u,c,s=n(0),l=n.n(s),f=n(1),d=n.n(f),p=n(14),g=n(24),h=n(3),v=h.a.use("config.awsc",g.a),m=function(e){return new Promise((function(t){setTimeout((function(){t(!0)}),e)}))},y="",_=function(){return""},w=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",_());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,m(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 w},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?v.current.baxiaUrl:v.current.awscUrl,type:"script"});case 4:if(window.AWSC){t.next=7;break}return i(),t.abrupt("return");case 7:return c={appName:v.current.appName,serviceLocation:v.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:_=s.getUA.bind(s),y=s.umidToken,i();case 19:case"end":return t.stop()}}),t)})))()}},x=b,k=n(18),C=n(22),E=function(e){var t,n,r=null===(t=h.a.get("util"))||void 0===t||null===(n=t.tracker)||void 0===n?void 0:n.clk;return r?r(e):Object(k.a)(e)},A=function(e){var t,n,r=null===(t=h.a.get("util"))||void 0===t||null===(n=t.tracker)||void 0===n?void 0:n.exp;return r?r(e):Object(k.b)(e)},O=n(6);function j(){return S.apply(this,arguments)}function S(){return(S=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=h.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 T(){for(var e,t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(null===(e=h.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";Object.defineProperty(t,"__esModule",{value:!0}),t.syncCookieFunc=t.init=void 0;var r=n(8),o=function(){if(window.headerConfig&&window.headerConfig.disableSyncCookie)return Promise.resolve([!0,!0]);/(iPhone|Android)/.test(navigator.userAgent);var e={fromApp:!1,currency:r.cookie.getCurrency(),region:r.cookie.getRegion(),bLocale:r.cookie.getLocale(),site:r.cookie.getSite(),province:r.cookie.getProvince(),city:r.cookie.getCity()},t=window.location.host,n=!1,o=[{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"}].slice(0);o.forEach((function(e,r){e.regex.test(t)&&(n=!0,o.splice(r,1))}));var i=[];return n&&o.forEach((function(t){var n,o,a;i.push((n=t.requestUrl,o=e,(a=function(){return new Promise((function(e){(0,r.request)({url:n,data:o,timeout:5e3,withCredentials:!0}).then((function(t){"success"===t.message?e(!0):e(!1)})).catch((function(){e(!1)}))}))})().then((function(e){return e||a()})).then((function(e){return e||console.error("sync cookie twice fail: "+n+" "+JSON.stringify(o)),e})).catch((function(e){return console.error(e),!1}))))})),Promise.all(i).then((function(e){return e&&2===e.length&&!0===e[0]&&!0===e[1]&&r.cookie.set("0","xman_us_f","x_c_chg"),e}))};t.init=function(){var e=r.cookie.get("xman_us_f","x_c_chg");"1"===r.cookie.get("xman_us_f","x_c_synced")?(r.cookie.set("0","xman_us_f","x_c_chg"),r.cookie.set("0","xman_us_f","x_c_synced")):"1"===e&&o().then((function(e){console.log("get finally result:",e)})).catch((function(e){console.error("catch error:",e)}))},t.syncCookieFunc=o},function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(6),o=n(16),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.syncCookieFunc)()}catch(e){}}({region:"ID",locale:"in_ID",site:"idn"},{region:"MY",locale:"en_US",site:"glo"})}},function(e,t,n){"use strict";n.d(t,"a",(function(){return u})),n.d(t,"b",(function(){return c}));var r=n(11);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])||"";if("click"!==e.type||i.ae_page_type||(i.ae_page_type=c),"exposure"!==e.type||i.exp_page||(i.exp_page=c),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]))||"")}}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(e){i((function(){o({type:"click",path:"/ae.pc_click.statweb_ae_click",event:"CLK",params:e})}))}function c(e){i((function(){o({type:"exposure",path:"/ae.pc_ctr.statweb_ae_ctr",event:"EXP",params:e})}))}},function(e,t,n){var r=n(34),o=n(35),i=n(31),a=n(36);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){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,"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";n.d(t,"s",(function(){return s})),n.d(t,"j",(function(){return l})),n.d(t,"h",(function(){return f})),n.d(t,"i",(function(){return d})),n.d(t,"a",(function(){return p})),n.d(t,"b",(function(){return g})),n.d(t,"c",(function(){return h})),n.d(t,"d",(function(){return v})),n.d(t,"o",(function(){return m})),n.d(t,"n",(function(){return y})),n.d(t,"k",(function(){return _})),n.d(t,"m",(function(){return w})),n.d(t,"l",(function(){return b})),n.d(t,"g",(function(){return x})),n.d(t,"e",(function(){return k})),n.d(t,"f",(function(){return C})),n.d(t,"p",(function(){return E})),n.d(t,"r",(function(){return A})),n.d(t,"q",(function(){return O})),n.d(t,"t",(function(){return j}));var r=n(13),o=n.n(r);n(37);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 g(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 h(e){c("sendAEClick",[e])}function v(e){c("sendAEExposure",[e])}function m(){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)},_=function(){y("cfpt")},w=function(){y("didMount")},b=function(){y("dataComplete")},x=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];c("sendCustomError",t)},k=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)},E=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];c("sendResourceError",t)},A=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(38).weexGepTracker},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(9),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=n(11),o=n(9),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(1),u=n.n(a),c=n(25),s=n(3).a.use("config.mtop",c.a),l=n(15);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 g=!1,h={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(24).then(n.bind(null,1064));case 3:return g||(g=!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",h);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,h.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=h},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 E(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 g(){}var h={};c(h,i,(function(){return this}));var v=Object.getPrototypeOf,m=v&&v(v(A([])));m&&m!==t&&n.call(m,i)&&(h=m);var y=g.prototype=d.prototype=Object.create(h);function _(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function w(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=x(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 x(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,x(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 k(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 E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(k,this),this.reset(!0)}function A(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=g,r(y,"constructor",{value:g,configurable:!0}),r(g,"constructor",{value:p,configurable:!0}),p.displayName=c(g,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,g):(e.__proto__=g,c(e,u,"GeneratorFunction")),e.prototype=Object.create(y),e},e.awrap=function(e){return{__await:e}},_(w.prototype),c(w.prototype,a,(function(){return this})),e.AsyncIterator=w,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new w(s(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},_(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=A,E.prototype={constructor:E,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:A(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";var r;n.r(t),r=n(52).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(32);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(27),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){},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 g})),n.d(t,"weexGepTracker",(function(){return h}));var r=n(13),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,g=void 0===p?document.title:p,h=t.username,v=t.user_type,m=t.sid,y=t.pv_id,_=t.hash,w=t.dim1,b=t.dim2,x=t.dim3,k=t.dim4,C=t.dim5,E=t.dim6,A=t.dim7,O=t.dim8,j=t.dim9,S=t.dim10;if(!n)return!1;var T=encodeURIComponent(f(e)),P=encodeURIComponent(f({pid:n,sampling:o,times:a,page_id:c,sdk_version:d,title:g,username:h,user_type:v,sid:m,pv_id:y,hash:_,dim1:w,dim2:b,dim3:x,dim4:k,dim5:C,dim6:E,dim7:A,dim8:O,dim9:j,dim10:S,msg:T}));window.userTrack&&window.userTrack.commitut("expose",2201,"UT","","/aes.1.1","","",{gokey:P,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 g=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}}()}])},h={sendPV:d,sendPluginEvent:p,sendSafeEvent:g}},function(e,t,n){"use strict";var r={};n.r(r),n.d(r,"isLogin",(function(){return v})),n.d(r,"run",(function(){return y}));var o=n(2),i=n.n(o),a=n(0),u=n.n(a),c=n(8),s=n(14),l=n(26),f=n(3),d=n(10),p=n(9),g=n(7),h=n(6);function v(){return m.apply(this,arguments)}function m(){return(m=u()(i()().mark((function e(){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!0===h.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 y(e){return _.apply(this,arguments)}function _(){return(_=u()(i()().mark((function e(t){var r,o;return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(6)]).then(n.bind(null,1085));case 2:return r=e.sent,o=r.run,e.abrupt("return",o(t));case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var w,b,x=n(12),k=n(17);window.Comet=c,window.lib=window.lib||{},window.lib.Request=s.a,window.lib.MtopRequest=l.a;var C=f.a,E=s.a;C.set("config",d),C.set("util",{login:r});var A=window.navigator&&window.navigator.userAgent;-1!==(null==A?void 0:A.indexOf("Aliexpress"))||-1!==(null==A?void 0:A.indexOf("AE"))||p.a.page===g.a.campaign||Object(x.c)(["_randl_currency","_randl_shipto"]),Object(k.a)(),C.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,E({type:"script",url:"https://assets.alicdn.com/g/ae-fe/global/0.0.3/index.js",attrs:{crossOrigin:"anonymous"}});case 3:return t=n(21),(0,t.setDefaultPrefix)("cosmos"),e.abrupt("return",window.React);case 6:case"end":return e.stop()}}),e)})))),C.set("Feedback",(function(){return n.e(15).then(n.bind(null,1072))}));var O=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,C.get("Global");case 2:return e.abrupt("return",Promise.all([n.e(0),n.e(1),n.e(2),n.e(4),n.e(6)]).then(n.bind(null,1085)));case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();C.set("Batman",O),C.set("login",O),C.set("rcmd.gallery",(function(){return Promise.all([n.e(0),n.e(1),n.e(3)]).then(n.bind(null,162))})),C.set("rcmd.waterfall",(function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(39)]).then(n.bind(null,1088))})),C.set("rcmd.list",(function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(20)]).then(n.bind(null,1089))})),C.set("rcmd.slider",(function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(37)]).then(n.bind(null,1090))})),C.set("rcmd",(function(){return Promise.all([n.e(0),n.e(1),n.e(3),n.e(32)]).then(n.bind(null,1063))})),C.set("rcmd.similar",(function(){return Promise.all([n.e(0),n.e(1),n.e(3)]).then(n.bind(null,1049))})),C.set("smartlink",(function(){return n.e(38).then(n.bind(null,1079))})),C.set("webpush",u()(i()().mark((function e(){return i()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,C.get("Global");case 2:return e.abrupt("return",Promise.all([n.e(8),n.e(40)]).then(n.bind(null,1081)));case 3:case"end":return e.stop()}}),e)})))),C.set("CometProShipto",(function(){return Promise.all([n.e(0),n.e(2),n.e(4),n.e(5),n.e(12)]).then(n.bind(null,1075))})),C.set("ppcMediaTracking",(function(){return n.e(25).then(n.bind(null,1086))}));if(["home","detail","new_account_index","shopcart","category"].some((function(e){return e===p.a.page}))){var j,S,T=new Promise((function(e){j=function(t){t.preventDefault(),e(t),S=t},window.addEventListener("beforeinstallprompt",j)}));window._pwa_prompt_={promise:T,open:function(){var e;null===(e=S)||void 0===e||e.prompt()},unBind:function(){window.removeEventListener("beforeinstallprompt",j)}}}null===(w=(b=window)._CosmosReadyResolve_)||void 0===w||w.call(b)},,function(e,t,n){"use strict";var r=n(42).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n(43)),i=r(n(44)),a=r(n(48)),u=n(49),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,"&lt;").replace(/>/g,"&gt;"),e.lastName=t[2].replace(/</g,"&lt;").replace(/>/g,"&gt;"),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){e.exports=function(e){return e&&e.__esModule?e:{default: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){var r=n(46);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=ReactDOM},function(e,t,n){var r=n(20).default,o=n(47);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(20).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";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){e.exports=Comet.request},function(e,t){e.exports=Comet},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,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"default",(function(){return B})),n.d(r,"initGAbtest",(function(){return D})),n.d(r,"getExpMappings",(function(){return G})),n.d(r,"clearAbtestCache",(function(){return X})),n.d(r,"getExpMappingByExpId",(function(){return z})),n.d(r,"getAbExpIds",(function(){return V})),n.d(r,"getGAbRequestHeader",(function(){return H})),n.d(r,"setRequestHeader",(function(){return J})),n.d(r,"setGAbtestAplusMeta",(function(){return W})),n.d(r,"appendAplusMetaInfo",(function(){return Z})),n.d(r,"getAsyncAbtestCacheItems",(function(){return Y}));n(33),n(39);var o=n(6),i=n(4),a=n.n(i),u=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",a()({},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",a()({},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 i=o[0].arguments[1].UTABTest;i&&-1===i.indexOf(e)&&(o[0].arguments[1].UTABTest=i+"."+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)}},c=n(21),s="icbu-messenger",l="postMessage"in window;function f(e,t){this.target=e,this.name=t}function d(e,t){this.targets={},this.name=e,this.listenFunc=[],s=t||s,this.initListen()}f.prototype.send=l?function(e){this.target.postMessage(s+e,"*")}:function(e){var t=window.navigator[s+this.name];if("function"!=typeof t)throw new Error("target callback function is not defined");t(s+e,window)},d.prototype.addTarget=function(e,t){var n=new f(e,t);this.targets[t]=n},d.prototype.initListen=function(){var e=this,t=function(t){if("object"==typeof t&&t.data&&(t=t.data),"string"==typeof t&&-1!=t.indexOf(s)){t=t.slice(s.length);for(var n=0;n<e.listenFunc.length;n++)e.listenFunc[n](t)}};l?"addEventListener"in document?window.addEventListener("message",t,!1):"attachEvent"in document&&window.attachEvent("onmessage",t):window.navigator[s+this.name]=t},d.prototype.listen=d.prototype.on=function(e){this.listenFunc.push(e)},d.prototype.clear=function(){this.listenFunc=[]},d.prototype.send=function(e){var t,n=this.targets;for(t in n)n.hasOwnProperty(t)&&n[t].send(e)};var p=d,g="//is.alicdn.com/js/6v/biz/common/store-proxy/store-proxy2.html?iframe_delete=true";void 0===window.__StoreProxyReady2&&(window.__StoreProxyReady2=!1);window.__StoreProxyReady2;void 0===window.__StoreProxyExec2&&(window.__StoreProxyExec2=[]);var h,v=window.__StoreProxyExec2;function m(e){var t,n="localstorage-proxy-ifr-alibabadotcom2",r=function(e){return document.getElementById(e)}(n);r?window.__StoreProxyReady2?e([r]):v.push(e):(-1===g.indexOf("iframe_delete")&&(g+=g.indexOf("?")>-1?"&":"?",g+="iframe_delete=true"),(r=document.createElement("iframe")).id=n,r.src=g,r.style.display="none",r.style.visibility="hidden",t=setInterval((function(){if(r&&r.contentWindow&&r.Messenger){for(var e=0,n=v.length;e<n;e++)v[e]([r]);v.length=0,window.__StoreProxyReady2=!0,!0,clearInterval(t),t=0}}),50),r.onload=function(){if(t&&(clearInterval(t),t=0),window.__StoreProxyReady2)!0;else{for(var e=0,n=v.length;e<n;e++)v[e]([r]);v.length=0,window.__StoreProxyReady2=!0,!0}},v.push(e),document.body.appendChild(r))}var y={},_=0;function w(e){e=e||function(){},h?e(h):m((function(t){h||((h=new p("parent","store-proxy")).addTarget(t[0].contentWindow,"proxy"),h.listen((function(e){!function(e){var t=e.split("T_T");e=t[0];var n=t[1]||null,r=t[2]||void 0;y[e]&&y[e](n,r)}(e)}))),e(h)}))}function b(e,t,n,r){var o=[e,t,n];return"set"!=e&&(r=n,o.pop(),o.push(_++)),o=o.join("-_-"),y[o]=r,o}function x(e){return"[object Function]"===Object.prototype.toString.call(e)}function k(e){return"[object String]"===Object.prototype.toString.call(e)}var C={get:function(e){var t,n;arguments.length>1&&(x(arguments[arguments.length-1])&&(n=arguments[arguments.length-1]),arguments[1]!==n&&(t=arguments[1])),n=n||function(){},w((function(r){r.targets.proxy.send(b("get",e,(function(e,r){!e&&t&&t.filter&&(r=t.filter(r)),n(e,r)})))}))},set:function(e,t){var n,r;if(arguments.length>2&&(x(arguments[arguments.length-1])&&(r=arguments[arguments.length-1]),arguments[2]!==r&&(n=arguments[2])),r=r||function(){},n&&n.filter&&(t=n.filter(t)),!k(t))throw new Error('value must be String in "storeProxy2.set"!');w((function(n){n.targets.proxy.send(b("set",e,t,r))}))},remove:function(e,t){t=t||function(){},w((function(n){n.targets.proxy.send(b("remove",e,t))}))}},E={get:function(e,t){C.get(e,(function(n,r){if(!n&&r){var o=r.split("+__+");if(2!==o.length)return t("parse error",null),void C.remove(e);var i=o[0],a=o[1],u=0;try{i=JSON.parse(i),u=parseInt(a)}catch(n){return C.remove(e),void t("parse error",null)}if((new Date).getTime()>u)return C.remove(e),void t("over time",null);t(null,i,u)}else t(n,null)}))},set:function(e,t,n){"string"!=typeof t&&(t=JSON.stringify(t)),n||(n=31536e6);var r=(new Date).getTime()+1e3*n;C.set(e,t+"+__+"+r)},remove:C.remove};function A(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return O(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function j(){return!window.localStorage}function S(){if(window.localStorage){var e=window.localStorage.getItem("_g_abtest_cache_key");if(e)try{return JSON.parse(e)}catch(e){return console.log(e),null}}return null}function T(e){return E.get("_g_abtest_cache_key",(function(t,n,r){t||!n?e(null):e(n,r)})),null}function P(e){e?window.localStorage.setItem("_g_abtest_cache_key",JSON.stringify(e)):T((function(e){e&&window.localStorage.setItem("_g_abtest_cache_key",JSON.stringify(e))}))}function L(e){var t,n,r,o=S();o&&e?(o=o.filter((function(t){return-1===e.indexOf(t.expId)}))).length?(E.set("_g_abtest_cache_key",o,14400),null===(t=window.localStorage)||void 0===t||t.setItem("_g_abtest_cache_key",JSON.stringify(o))):(E.remove("_g_abtest_cache_key",(function(){})),null===(n=window.localStorage)||void 0===n||n.removeItem("_g_abtest_cache_key")):(E.remove("_g_abtest_cache_key",(function(){})),null===(r=window.localStorage)||void 0===r||r.removeItem("_g_abtest_cache_key"))}function I(){if(!j()){var e=S();return e?e.map((function(e){return e.expId})):null}}var M=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",a()({},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",a()({},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 i=o[0].arguments[1].UTABTest;i&&-1===i.indexOf(e)&&(o[0].arguments[1].UTABTest=i+"."+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}]})}}},U=function(e){var t=XMLHttpRequest.prototype.send;XMLHttpRequest.prototype.send=function(){var n,r;this.openParams&&-1!==(null===(n=this.openParams[1])||void 0===n?void 0:n.indexOf("acs.aliexpress"))&&-1!==(null===(r=this.openParams[1])||void 0===r?void 0:r.indexOf("isGAbHeader=1"))&&this.setRequestHeader("x-reqbiz-ext",e["x-reqbiz-ext"]),t.apply(this,arguments)}},R=n(14),F=function(e){var t=/^m.([^\.]+\.)*aliexpress.com$/.test(window.location.hostname)?"msite":"pc",n=a()({},e);return n.platform=t,n.__log=1,Object(R.a)({url:"https://www.aliexpress.com/fn/abtest-service/index",method:"GET",type:"jsonp",data:n})};function q(){var e=S();if(e&&0!==e.length){var t=e.map((function(e){return"aliabtest"+e.releaseId+"_"+e.variationId}));t&&M(t.join("."))}}function N(e){window.dispatchEvent&&window.dispatchEvent(new CustomEvent("_g_window_abtest_event_key",{detail:e}))}if(!Event);function $(e,t){var n=e&&t?{spma:e,spmb:t}:function(){var e={spma:"",spmb:""},t=document.querySelector("meta[name=data-spm]");t&&(e.spma=t.getAttribute("content")||"");var n=document.querySelector("body");return n&&(e.spmb=n.getAttribute("data-spm")||""),e}();if(n&&n.spma&&n.spmb)return new Promise((function(e,t){if(window._global_abtest_is_requested)return window._g_window_abtest_cache_key?e(window._g_window_abtest_cache_key):void 0;var r;window._global_abtest_is_requested=1,q(),(r=H())&&U(r),window.addEventListener("_g_window_abtest_event_key",(function(t){e(null==t?void 0:t.detail)}),!1);var o=function(){var e=I();F({spma:n.spma,spmb:n.spmb,abExpIds:(null==e?void 0:e.join(""))||""}).then((function(e){if(window._g_window_abtest_cache_key=e,e.success&&e.data){var t=e.data,n=[],r=[];Object.keys(t).forEach((function(e){var o=t[e];!1===o.open?n.push(o.expId):r.push(o)})),n.length&&L(n),r.length&&function(e){var t=S();if(t&&t.length)return e.forEach((function(e,n){for(var r=!1,o=0;o<t.length;o++)if(t[o].expId===e.expId){t[o]=e,r=!0;break}r||t.push(e)})),E.set("_g_abtest_cache_key",t,14400),void P(t);E.set("_g_abtest_cache_key",e,14400),P(e)}(r)}N(e)}),(function(e){N({})})).catch((function(){N({})}))};!function(e,t){T((function(n,r){n?(P(n),t(n),r-(new Date).getTime()<=3e5&&e()):e()}))}((function(){o()}),(function(e){N(e)}))}));console.error("missing spma and spmb, please set data-spm of meta tag and data-spm attribute of body tag")}var B=$,D=$,G=function(){if(j())return null;var e=S();if(e){var t=e.map((function(e){return e.mappings}));return null==t?void 0:t.reduce((function(e,t){return a()({},e,t)}),{})}return null},X=L,z=function(e){if(!j()){var t=S();if(t)for(var n,r=A(t);!(n=r()).done;){var o=n.value;if(o.expId===e)return o.mappings}return null}},V=I,H=function(){var e=(S()||[]).reduce((function(e,t){return Object.keys(t.mappings).forEach((function(n){e[n]=t.mappings[n]})),e}),{});return e&&Object.keys(e).length?{"x-reqbiz-ext":JSON.stringify({global_abtest:{combine_exp:e,global_union_ab_exp:e}})}:null},J=U,W=q,Z=M,Y=T,Q=n(58);n(54),n(55);function K(){var e;!function(){var e,t,n=D;window.aeGlobalAbtest=r;var o,i=null===(e=window._page_config_)||void 0===e||null===(t=e.globalAbtest)||void 0===t?void 0:t.spm;window._is_close_global_abtest?X&&X(V()):null!==(o=window._page_config_)&&void 0!==o&&o.disableAutoGlobalAbtest||(i?n(i[0],i[1]):n())}(),e=o.a.get("cna")?"old":"new",window.AES_CONFIG=window.AES_CONFIG||{},Object.assign(window.AES_CONFIG,{dim7:e}),function(){if(!Object(Q.c)()){var e=o.a.get("AB_DATA_TRACK");if(e&&"string"==typeof e){var t=e.split(".").map((function(e){return"aliabtest"+e})).join(".");u(t)}}}(),Object(c.setDefaultPrefix)("cosmos")}var ee=n(29),te=n(2),ne=n.n(te),re=n(0),oe=n.n(re),ie=n(28),ae=n(3),ue=n(12),ce=function(){var e=oe()(ne()().mark((function e(){var t;return ne()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,n.e(21).then(n.bind(null,1091));case 2:t=e.sent,(0,t.default)();case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),se=function(){var e=oe()(ne()().mark((function e(){var t;return ne()().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t={paused:!1,pause:function(){t.paused=!0},load:ce,useLoader:function(e){Object(ie.useLayoutEffect)((function(){t.pause()}),[]),Object(ie.useEffect)((function(){e&&t.load()}),[e])}},ae.a.set("loader",t),e.next=4,ue.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)}}(),le=n(41),fe=n.n(le);K(),null===ee.default||void 0===ee.default||Object(ee.default)(),se(),window.lib.cookie=fe.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}));var r=n(5),o=function(){return r.g?Object(r.e)():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)}}]);