!function t(e,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports._cross_page_loader_=n():e._cross_page_loader_=n()}(window,(function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var o=e[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(i,o,function(e){return t[e]}.bind(null,o));return i},n.n=function(t){var e=t&&t.__esModule?function e(){return t.default}:function e(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="./dist/",n(n.s=0)}([function(t,e,n){t.exports=n(1)},function(t,e,n){"use strict";function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function o(t,e,n){return(e=a(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t){var e=r(t,"string");return"symbol"==i(e)?e:e+""}function r(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var o=n.call(t,e||"default");if("object"!=i(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}n.r(e);var d={},c=function(t,e,n){return new Promise((function(i){var a="".concat(t,"@").concat(e),r=d[a];r?i(r):fetch(t).then((function(t){return t.json()})).then((function(t){var r=null==t?void 0:t[e];r?(Object.assign(d,o({},a,r)),i(r)):i(n)})).catch((function(t){i(n),console.error(t)}))}))},s,_,u="https://assets.aliexpress-media.com/g",l="https://dev.g.alicdn.com",f="https://o.alicdn.com",w="https://dev.o.alicdn.com",m=(null===(_=null===(s=document.currentScript)||void 0===s?void 0:s.getAttribute)||void 0===_?void 0:_.call(s,"src"))||"",p=function t(){var e=location.hostname||"";return e.startsWith("pre-www")||e.startsWith("pre-fn")||m.startsWith("https://dev.g.alicdn.com")},g=function t(){return p()?l:u},v=function t(){return p()?w:f},h=function t(e,n){var i=document.createElement("script");return i.setAttribute("defer",""),i.setAttribute("crossorigin","anonymous"),i.setAttribute("src",e),i.onload=function(){return n(e)},i},b=function t(e,n){var i=document.createElement("link");return i.setAttribute("rel","stylesheet"),i.setAttribute("type","text/css"),i.setAttribute("href",e),i.onload=function(){return n(e)},i},S=function t(e,n){var i=[],o=document.createDocumentFragment(),a=function t(e,n){i.push(new Promise((function(t){o.appendChild(n(e,t))})))};return(null==e?void 0:e.length)&&e.forEach((function(t){return a(t,h)})),(null==n?void 0:n.length)&&n.forEach((function(t){return a(t,b)})),document.head.appendChild(o),Promise.all(i)},j="0.2.48",y="0.0.35";window._mini_detail_=window._mini_detail_||{},Object.assign(window._mini_detail_,{_loadState:"notloaded",_msiteLoadState:"notloaded"}),window._mini_detail_.openMiniDetail=function(t){if("notloaded"===window._mini_detail_._loadState){window._mini_detail_._loadState="loading";var e=function e(){return window._mini_detail_.openMiniDetail(t)};(window.LWSC?Promise.resolve():S(["https://assets.alicdn.com/g/lzd_sec/LWSC-G/index.js"],[])).then((function(){return c("".concat(v(),"/ae-fe/diamond/detail.json"),"miniDetailVersion","0.2.48")})).then((function(t){return S(["".concat(g(),"/ae-fe/pdp-pc/").concat(t,"/js/mini.js")],["".concat(g(),"/ae-fe/pdp-pc/").concat(t,"/css/mini.css")])})).then((function(){window._mini_detail_._loadState="loaded",e()}))}},window._mini_detail_.openMsiteMiniDetail=function(t){if("notloaded"===window._mini_detail_._msiteLoadState){window._mini_detail_._msiteLoadState="loading";var e=function e(){return window._mini_detail_.openMsiteMiniDetail(t)};(window.LWSC?Promise.resolve():S(["https://assets.alicdn.com/g/lzd_sec/LWSC-G/index.js"],[])).then((function(){return c("".concat(v(),"/ae-fe/diamond/detail.json"),"msiteMiniDetailVersion","0.0.35")})).then((function(t){return S(["".concat(g(),"/ae-fe/pdp-m/").concat(t,"/js/mini.js")],["".concat(g(),"/ae-fe/pdp-m/").concat(t,"/css/mini.css")])})).then((function(){window._mini_detail_._msiteLoadState="loaded",e()}))}},window._side_cart_=window._side_cart_||{},Object.assign(window._side_cart_,{_loadState:"notloaded"}),window._side_cart_.initSideCart=function(t){if("notloaded"===window._side_cart_._loadState){window._side_cart_._loadState="loading";var e=function e(){return window._side_cart_.initSideCart(t)};S(["https://assets.aliexpress-media.com/g/ae-dida/shoppingcart/1.0.42/sidecart.js"],["https://assets.aliexpress-media.com/g/ae-dida/shoppingcart/1.0.42/sidecart.css"]).then((function(){window._side_cart_._loadState="loaded",e()}))}},window._side_cart_.callAddItem=function(t){return new Promise((function(e){var n=function i(o){"loaded"!==window._side_cart_._loadState?o>100?e(Promise.reject("error")):setTimeout((function(){n(o+1)}),100):e(window._side_cart_.callAddItem(t))};n(0)}))},window._cart_=window._cart_||{},Object.assign(window._cart_,{_loadState:"notloaded"}),window._cart_.initSubcart=function(t){if("notloaded"===window._cart_._loadState){window._cart_._loadState="loading";var e=function e(){return window._cart_.initSubcart(t)};S(["https://assets.aliexpress-media.com/g/ae-dida/shoppingcart-subcart-pc/0.0.8/index.js"],["https://assets.aliexpress-media.com/g/ae-dida/shoppingcart-subcart-pc/0.0.8/index.css"]).then((function(){window._cart_._loadState="loaded",e()}))}},window._cart_.callAddItem=function(t){return new Promise((function(e){var n=function i(o){"loaded"!==window._cart_._loadState?o>100?e(Promise.reject("error")):setTimeout((function(){n(o+1)}),100):e(window._cart_.callAddItem(t))};n(0)}))},window._cart_fmcg_=window._cart_fmcg_||{},Object.assign(window._cart_fmcg_,{_loadState:"notloaded"}),window._cart_fmcg_.initSubcart=function(t){if("notloaded"===window._cart_fmcg_._loadState){window._cart_fmcg_._loadState="loading";var e=function e(){return window._cart_fmcg_.initSubcart(t)};S(["https://assets.aliexpress-media.com/g/ae-dida/shoppingcart-subcart-pc-fmcg/0.0.2/index.js"],["https://assets.aliexpress-media.com/g/ae-dida/shoppingcart-subcart-pc-fmcg/0.0.2/index.css"]).then((function(){window._cart_fmcg_._loadState="loaded",e()}))}},window._cart_fmcg_.callAddItem=function(t){return new Promise((function(e){var n=function i(o){"loaded"!==window._cart_fmcg_._loadState?o>100?e(Promise.reject("error")):setTimeout((function(){n(o+1)}),100):e(window._cart_fmcg_.callAddItem(t))};n(0)}))};var x="0.0.7";window._fusion_page_=window._fusion_page_||{},Object.assign(window._fusion_page_,{_loadState:"notloaded"}),window._fusion_page_.openFusionPage=function(t){if("notloaded"===window._fusion_page_._loadState){window._fusion_page_._loadState="loading";var e=function e(){return window._fusion_page_.openFusionPage(t)};c("https://o.alicdn.com/ae-fe/diamond/fusion.json","fusionPageVersion","0.0.7").then((function(t){S(["https://assets.aliexpress-media.com/g/ae-dida/fusion-page/".concat(t,"/fusion.js")],["https://assets.aliexpress-media.com/g/ae-dida/fusion-page/".concat(t,"/fusion.css")]).then((function(){window._fusion_page_._loadState="loaded",e()}))}))}},window._service_promise_=window._service_promise_||{},Object.assign(window._service_promise_,{_loadState:"notloaded"}),window._service_promise_.openPromisePopup=function(t){if("notloaded"===window._service_promise_._loadState){window._service_promise_._loadState="loading";var e=function e(){return window._service_promise_.openPromisePopup(t)};S(["https://assets.aliexpress-media.com/g/ae-dida/service-mindset/0.0.15/promise.js"],["https://assets.aliexpress-media.com/g/ae-dida/service-mindset/0.0.15/promise.css"]).then((function(){window._service_promise_._loadState="loaded",e()}))}}}])}));