// {"framework" : "Rax"}
!function(e){if("function"==typeof define)define("aemod/ae-wl-fullPieceDiscountPromo/index.web",["rax","rax-view","rax-text","rax-picture","@weex-module/userTrack","npm/@ali/universal-alienv/index","@weex-module/user","@weex-module/navigator","@weex-module/windvane","@weex-module/globalEvent","@weex-module/appConfig"],function(require,exports,module){module.exports=e(require("rax"),require("rax-view"),require("rax-text"),require("rax-picture"),require("npm/@ali/universal-alienv/index"))});else if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e(require("rax"),require("rax-view"),require("rax-text"),require("rax-picture"),require("npm/@ali/universal-alienv/index"));else{var t;(t="undefined"!=typeof window?window:"undefined"!=typeof self?self:"undefined"!=typeof global?global:this).AeWlFullPieceDiscountPromo=e(t.rax,t["rax-view"],t["rax-text"],t["rax-picture"],t["npm/@ali/universal-alienv/index"])}}(function(e,t,n,r,o){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var module=t[r]={i:r,l:!1,exports:{}};return e[r].call(module.exports,module,module.exports,n),module.l=!0,module.exports}return n.m=e,n.c=t,n.d=function(exports,e,t){n.o(exports,e)||Object.defineProperty(exports,e,{enumerable:!0,get:t})},n.r=function(exports){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(exports,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(module){var e=module&&module.__esModule?function(){return module.default}:function(){return module};return n.d(e,"a",e),e},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=197)}([function(module,exports){module.exports=e},function(module,exports){module.exports=t},function(module,exports){module.exports=n},function(module,exports,e){exports.__esModule=!0;var t=e(30);Object.keys(t).forEach(function(e){"default"===e||"__esModule"===e||e in exports&&exports[e]===t[e]||(exports[e]=t[e])})},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.isRTL=t,exports.getRTLCSS=function(e,n,r){var o=n[r],i=Object.assign({},o,n[r+"-rtl"]);return t(e)?i:o};var e=["ar","he","Arabic","Hebrew"];function t(t){var n=t.lang,r=void 0===n?"":n;return e.includes(r)}},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.isRTL=t,exports.getRTLCSS=function(e,n,r){var o=n[r],i=Object.assign({},o,n[r+"-rtl"]);return t(e)?i:o};var e=["ar","he","Arabic","Hebrew"];function t(t){var n=t.lang,r=void 0===n?"":n;return e.includes(r)}},function(module,exports){module.exports=r},function(module,exports,e){var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(exports,"__esModule",{value:!0}),exports.addGlobalEventListener=exports.callWindVaneHandler=exports.openWindow=void 0,exports.formatSales=function(e){var t=Math.floor,n=parseFloat(e.replace(/,/g,"").replace(/[^0-9.-]/g,"")),r=e.match(/[^\d.,-]*$/),o=r?r[0].trim():"";if("number"!=typeof n||isNaN(n))return e;var i="";n<500?i=n.toString():n<1e3?i=100*t(n/100)+"+":n>=1e6?i=(n/1e6).toFixed(n>=1e7?0:1)+"M+":n>=1e5?i=(n/1e6).toFixed(1)+"M+":n>=1e4?i=t(n/1e3)+"k+":n>=1e3&&(i=(n/1e3).toFixed(1)+"k+");var a=o.replace(/\++/g,"").trim();return i+(a?" "+a:"")};var n=e(3);exports.openWindow=function(t){if(n.isWeex)try{(n.isWeex&&e(63)).push({url:t},function(){})}catch(e){console.warn("[error] openWindow failed "+JSON.stringify(e))}else location.href=t},exports.callWindVaneHandler=function(r,o,i,a,l){if(n.isWeex)try{(n.isWeex&&e(64)).call2(r+"."+o,t({},i),a,function(e){console.warn("[error] getWindVane failed "+r+"."+o+" "+JSON.stringify(e)),l(e)})}catch(e){console.warn("[error] getWindVane failed "+JSON.stringify(e)),l(e)}else"undefined"!=typeof WindVane&&window.WindVane.call(r,o,i,a,function(){})},exports.addGlobalEventListener=function(t,r){if(n.isWeex)try{(n.isWeex&&e(65)).addEventListener(t,r),console.warn("[info] addGlobalEventListener "+t)}catch(e){console.warn("[error] globalEvent failed "+JSON.stringify(e))}else"undefined"!=typeof document&&document.addEventListener(t,r)}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.isIOS=exports.isAndroid=void 0,exports.debug=function(){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=console).log.apply(e,["[shop-wl-item-card]"].concat(n))};var t=e(3);exports.isAndroid=function(){return t.isWeex?"android"===navigator.platform.toLowerCase():!!navigator.userAgent.match(/android/i)},exports.isIOS=function(){return t.isWeex?"ios"===navigator.platform.toLowerCase():!!navigator.userAgent.match(/(iphone|ipod|ipad)/i)}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=e(139);Object.keys(t).forEach(function(e){"default"===e||"__esModule"===e||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return t[e]}})});var n=e(38);Object.keys(n).forEach(function(e){"default"===e||"__esModule"===e||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return n[e]}})});var r=e(140);Object.keys(r).forEach(function(e){"default"===e||"__esModule"===e||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return r[e]}})})},function(module,exports,e){var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};Object.defineProperty(exports,"__esModule",{value:!0}),exports.addGlobalEventListener=exports.callWindVaneHandler=exports.openWindow=void 0,exports.formatSales=function(e){var t=Math.floor;if(/^\d+[KkMm]\+?/.test(e.trim()))return e.trim();var n=parseFloat(e.replace(/,/g,"").replace(/[^0-9.-]/g,"")),r=e.match(/[^\d.,-]*$/),o=r?r[0].trim():"";if("number"!=typeof n||isNaN(n))return e;var i="";n<500?i=n.toString():n<1e3?i=100*t(n/100)+"+":n>=1e6?i=(n/1e6).toFixed(n>=1e7?0:1)+"M+":n>=1e5?i=(n/1e6).toFixed(1)+"M+":n>=1e4?i=t(n/1e3)+"k+":n>=1e3&&(i=(n/1e3).toFixed(1)+"k+");var a=o.replace(/\++/g,"").trim();return i+(a?" "+a:"")};var n=e(9);exports.openWindow=function(e){window.location.href=e},exports.callWindVaneHandler=function(e,r,o,i,a){if(console.log("[info] callWindVaneHandler isADC:"+(0,n.isADC)()+" isWindVane:"+(0,n.isWindVane)()),(0,n.isADC)()&&(0,n.isWindVane)())try{console.log("[info] callWindVaneHandler "+e+"."+r),window.WindVane.call(e,r,t({},o),i,function(t){console.warn("[error] callWindVaneHandler failed "+e+"."+r+" "+JSON.stringify(t)),a(t)})}catch(e){console.warn("[error] callWindVaneHandler failed "+JSON.stringify(e)),a(e)}},exports.addGlobalEventListener=function(e,t){if((0,n.isADC)())try{console.log("[info] addGlobalEventListener "+JSON.stringify({event:e})),window.adc.globalEvent.addEventListener({event:e},t)}catch(e){console.warn("[error] addGlobalEventListener failed "+JSON.stringify(e))}else"undefined"!=typeof document&&document.addEventListener(e,t)}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t,n=e(77),r=(t=n)&&t.__esModule?t:{default:t};exports.default={show:function(e){new r.default(e).show()}},module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=e(19);Object.defineProperty(exports,"sendClickUT",{enumerable:!0,get:function(){return t.sendClickUT}}),Object.defineProperty(exports,"sendExposeUT",{enumerable:!0,get:function(){return t.sendExposeUT}}),Object.defineProperty(exports,"sendPVUT",{enumerable:!0,get:function(){return t.sendPVUT}});var n=e(45);Object.defineProperty(exports,"ModuleExpose",{enumerable:!0,get:function(){return n.ModuleExpose}});var r=e(46);Object.defineProperty(exports,"ItemExpose",{enumerable:!0,get:function(){return r.ItemExpose}})},function(module,exports){module.exports=require("@weex-module/userTrack")},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=e(20);Object.defineProperty(exports,"sendClickUT",{enumerable:!0,get:function(){return t.sendClickUT}}),Object.defineProperty(exports,"sendExposeUT",{enumerable:!0,get:function(){return t.sendExposeUT}}),Object.defineProperty(exports,"sendPVUT",{enumerable:!0,get:function(){return t.sendPVUT}});var n=e(57);Object.defineProperty(exports,"ModuleExpose",{enumerable:!0,get:function(){return n.ModuleExpose}});var r=e(58);Object.defineProperty(exports,"ItemExpose",{enumerable:!0,get:function(){return r.ItemExpose}})},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.AddCart=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(7),o=e(4),i=u(e(68)),a=e(0),l=u(e(6)),d=u(e(2)),s=u(e(1)),c=e(3);function u(e){return e&&e.__esModule?e:{default:e}}exports.AddCart=function(e){function u(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,e));return t.refreshAddCartNum=function(){(0,r.callWindVaneHandler)("AEWVCartIslandBar","queryIslandBarData",{siteType:"island"},function(e){var n=(e||{}).selectedItem,r=+(n=(n="string"==typeof n?JSON.parse(n):n)||{})[""+t.data.id]||0;r>0&&t.setState({addCartNum:r})})},t.openSKUPanel=function(){var e="https://m.aliexpress.com/app/sku.html";e+="?channel=store",e+="&productId="+t.data.id,(0,r.openWindow)(e)},t.data=e.data,t.gdc=e.gdc,t.state={addCartNum:0},t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(u,a.Component),n(u,[{key:"componentDidMount",value:function(){var e=this;c.isWeex&&(this.refreshAddCartNum(),(0,r.addGlobalEventListener)("AEDefaultCartDataDidUpdate",function(t){console.warn("[debug] AEDefaultCartDataDidUpdate "+JSON.stringify(t)),e.refreshAddCartNum()}))}},{key:"render",value:function(){return(0,a.createElement)(s.default,{style:t({},i.default.addCart,{left:(0,o.isRTL)(this.gdc)?0:null,right:(0,o.isRTL)(this.gdc)?null:0})},(0,a.createElement)(s.default,{style:i.default.addCartIcon,onClick:this.openSKUPanel},(0,a.createElement)(s.default,{style:i.default.addCartIconImgWrapper},(0,a.createElement)(l.default,{style:i.default.addCartIconImg,source:{uri:"https://ae01.alicdn.com/kf/S6b514b1d2d86437ba6c31bbfd4653f8d5/32x31.png"},autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1}),this.state.addCartNum>0&&(0,a.createElement)(d.default,{style:i.default.addCartNum},this.state.addCartNum>99?"99+":this.state.addCartNum))))}}]),u}()},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.getTppOldPrice=exports.getNewPrice=exports.defaultStyleConfig=void 0;var t=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),n=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r=e(4),o=exports.defaultStyleConfig={integerPriceTextStyle:{fontSize:30,fontWeight:700},priceTextStyle:{fontSize:30,fontWeight:700},priceStyle:{color:"#191919"},salePriceStyle:{textDecoration:"line-through",color:"#979797"},bigSalePriceStyle:{color:"#FD384F"}},i=function(){for(var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t||{},l=a.decimalPointChar,d=a.thousandsChar,s=a.currencySymbolPosition,c=a.integerStr,u=a.decimalStr,f=a.currencySymbol,p=[],g=c.length;g>0;g-=3)e=c.substring(Math.max(0,g-3),g),p.push({text:e,style:n({},o.integerPriceTextStyle)}),g>3&&p.push({text:d,style:n({},o.integerPriceTextStyle)});p.reverse(),u&&(p.push({text:l,style:n({},o.decimalPriceTextStyle)}),p.push({text:u,style:n({},o.decimalPriceTextStyle)}));var m={text:f,style:n({},o.decimalPriceTextStyle,{marginRight:"0"})};return(0,r.isRTL)(i)?p.unshift(m):"end"===s?p.push(m):p.unshift(m),p},a=function(){var e,r,o,i,a,l,d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=arguments[1];return s?n({},d.single||{},(r=(e=s)&&e.split("|")||[],o=t(r,3),i=o[0],a=o[1],l=o[2],{formatPrice:i||"",integerStr:a||"",decimalStr:l||""})):{}};exports.getNewPrice=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];if(e.promotionPiecePriceStructure){var r=a(t,e.promotionPiecePriceStructure),l={currentPrice:i(r,n)};if(e.piecePriceStructure){var d=a(t,e.piecePriceStructure);l.subPrice={text:i(d,{}).map(function(e){return e.text}).join(""),style:o.salePriceStyle}}return l}},exports.getTppOldPrice=function(e,i){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e&&e.salePrice){var l=e.currencySymbol,d=(i||{}).prices||(i||{}).price||{},s={mods:{Price:{}}},c=function(e,i){for(var a,s=(""+e.minPrice).split("."),c=t(s,2),u=c[0],f=c[1],p=[],g=u.length;g>0;g-=3)a=u.substring(Math.max(0,g-3),g),p.push({text:a,style:n({},o.integerPriceTextStyle)}),g>3&&p.push({text:(d||{}).comma_style,style:n({},o.priceTextStyle)});p.reverse(),f&&(p.push({text:(d||{}).decimal_point,style:n({},o.priceTextStyle)}),p.push({text:f,style:n({},o.priceTextStyle)}));var m={text:l,style:n({},o.priceTextStyle,{marginRight:"0"})};return(0,r.isRTL)(i)?p.unshift(m):"left"===(d||{}).symbol_position?p.unshift(m):p.push(m),p},u=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n({},o.priceStyle),i=arguments[3],a=c(t,i).map(function(e){return e.text}).join("");s.mods.Price[e]=[{text:a,style:r}];var l=t.priceStyles,d={text:(l||{}).suffix||(l||{}).prefix||(l||{}).full,style:{color:(l||{}).textColor}};(l||{}).suffix?s.mods.Price[e].push(d):(l||{}).prefix?s.mods.Price[e].unshift(d):(l||{}).full&&(s.mods.Price[e]=[d]),2==s.mods.Price[e].length&&s.mods.Price[e].splice(1,0,{text:" ",style:{}})};return s.mods.Price={salePrice:c(e.salePrice,a)},e.bigSalePrice&&u("bigSalePrice",e.bigSalePrice,o.bigSalePriceStyle,a),e.originalPrice&&u("originalPrice",e.originalPrice,o.salePriceStyle,{}),s.mods.Price}}},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.debug=function(){if(/card_debug=1/gi.test(window.location.href)){for(var e,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];(e=console).log.apply(e,["[shop-adc-item-card]"].concat(n))}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.getTppOldPrice=exports.getNewPrice=exports.defaultStyleConfig=void 0;var t=function(){return function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var n=[],r=!0,o=!1,i=void 0;try{for(var a,l=e[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&l.return&&l.return()}finally{if(o)throw i}}return n}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),n=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r=e(5),o=exports.defaultStyleConfig={integerPriceTextStyle:{fontSize:30,fontWeight:700},priceTextStyle:{fontSize:30,fontWeight:700},priceStyle:{color:"#191919"},salePriceStyle:{textDecoration:"line-through",color:"#979797"},bigSalePriceStyle:{color:"#FD384F"}},i=function(){for(var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=t||{},l=a.decimalPointChar,d=a.thousandsChar,s=a.currencySymbolPosition,c=a.integerStr,u=a.decimalStr,f=a.currencySymbol,p=[],g=c.length;g>0;g-=3)e=c.substring(Math.max(0,g-3),g),p.push({text:e,style:n({},o.integerPriceTextStyle)}),g>3&&p.push({text:d,style:n({},o.integerPriceTextStyle)});p.reverse(),u&&(p.push({text:l,style:n({},o.decimalPriceTextStyle)}),p.push({text:u,style:n({},o.decimalPriceTextStyle)}));var m={text:f,style:n({},o.decimalPriceTextStyle,{marginRight:"0"})};return(0,r.isRTL)(i)?p.unshift(m):"end"===s?p.push(m):p.unshift(m),p},a=function(){var e,r,o,i,a,l,d=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=arguments[1];return s?n({},d.single||{},(r=(e=s)&&e.split("|")||[],o=t(r,3),i=o[0],a=o[1],l=o[2],{formatPrice:i||"",integerStr:a||"",decimalStr:l||""})):{}};exports.getNewPrice=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments[2];if(e.promotionPiecePriceStructure){var r=a(t,e.promotionPiecePriceStructure),l={currentPrice:i(r,n)};if(e.piecePriceStructure){var d=a(t,e.piecePriceStructure);l.subPrice={text:i(d,{}).map(function(e){return e.text}).join(""),style:o.salePriceStyle}}return l}},exports.getTppOldPrice=function(e,i){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(e&&e.salePrice){var l=e.currencySymbol,d=(i||{}).prices||(i||{}).price||{},s={mods:{Price:{}}},c=function(e,i){for(var a,s=(""+e.minPrice).split("."),c=t(s,2),u=c[0],f=c[1],p=[],g=u.length;g>0;g-=3)a=u.substring(Math.max(0,g-3),g),p.push({text:a,style:n({},o.integerPriceTextStyle)}),g>3&&p.push({text:(d||{}).comma_style,style:n({},o.priceTextStyle)});p.reverse(),f&&(p.push({text:(d||{}).decimal_point,style:n({},o.priceTextStyle)}),p.push({text:f,style:n({},o.priceTextStyle)}));var m={text:l,style:n({},o.priceTextStyle,{marginRight:"0"})};return(0,r.isRTL)(i)?p.unshift(m):"left"===(d||{}).symbol_position?p.unshift(m):p.push(m),p},u=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:n({},o.priceStyle),i=arguments[3],a=c(t,i).map(function(e){return e.text}).join("");s.mods.Price[e]=[{text:a,style:r}];var l=t.priceStyles,d={text:(l||{}).suffix||(l||{}).prefix||(l||{}).full,style:{color:(l||{}).textColor}};(l||{}).suffix?s.mods.Price[e].push(d):(l||{}).prefix?s.mods.Price[e].unshift(d):(l||{}).full&&(s.mods.Price[e]=[d]),2==s.mods.Price[e].length&&s.mods.Price[e].splice(1,0,{text:" ",style:{}})};return s.mods.Price={salePrice:c(e.salePrice,a)},e.bigSalePrice&&u("bigSalePrice",e.bigSalePrice,o.bigSalePriceStyle,a),e.originalPrice&&u("originalPrice",e.originalPrice,o.salePriceStyle,{}),s.mods.Price}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.sendPVUT=exports.sendExposeUT=exports.sendClickUT=exports.encodeExtParams=exports.getURLParam=exports.isWindVane=exports.isADC=void 0;var t,n=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r="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},o=e(39),i=(t=o)&&t.__esModule?t:{default:t};var a=exports.isADC=function(){return"undefined"!=typeof adc},l=(exports.isWindVane=function(){return"undefined"!=typeof WindVane},exports.getURLParam=function(e){try{return new URL(location.href).searchParams.get(e)||""}catch(e){return""}},exports.encodeExtParams=function(e){var t={};return Object.keys(e).forEach(function(n){var o=e[n];"string"==typeof o||"number"==typeof o||"boolean"==typeof o?t[n]=""+o:"object"===(void 0===o?"undefined":r(o))&&null!==o&&(t[n]=encodeURIComponent(JSON.stringify(o)))}),t});exports.sendClickUT=function(e,t,r,o,d){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};s=l(s);var c=n({"spm-cnt":e,"spm-url":t,pageId:r,pageName:o,comName:d},s);if(a()){var u={pageName:o,comName:d,params:c};window.adc.userTrack.click(u,function(){console.log("[shop-adc-aplus] sendClickUT success",u)},function(){console.warn("[shop-adc-aplus] sendClickUT failed",u)})}else{var f=encodeURIComponent(Object.keys(s).map(function(e){return e+"="+s[e]}).join(";"));i.default.record("/ae.pc_click.statweb_ae_click","CLK","spm-cnt="+e+"&spm-url="+t+"&st_page_id="+r+"$ae_button_type="+o+"&ae_page_area="+d+"&ae_object_value="+f)}},exports.sendExposeUT=function(e,t,r,o,d){var s=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};s=l(s);var c=n({"spm-cnt":e,"spm-url":t,pageId:r,pageName:o,arg1:d},s);if(a()){var u={pageName:o,arg1:d,arg2:"",arg3:"",params:c};window.adc.userTrack.expose(u,function(){console.log("[shop-adc-aplus] sendExposeUT success",u)},function(){console.warn("[shop-adc-aplus] sendExposeUT failed",u)})}else{var f=encodeURIComponent(Object.keys(s).map(function(e){return e+"="+s[e]}).join(";"));i.default.record("/ae.pc_ctr.statweb_ae_ctr","EXP","spm-cnt="+e+"&spm-url="+t+"&st_page_id="+r+"$exp_type="+o+"&exp_page_area="+d+"&exp_attribute="+f)}},exports.sendPVUT=function(e,t,r,o,i,d){var s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{};s=l(s);var c=n({"spm-cnt":e,"spm-url":t,"spm-pre":r,pageId:o,referPageId:i,pageName:d},s);if(a()){var u={pageName:d,spmUrl:t,params:c};window.adc.userTrack.pageEnter(u,function(){console.log("[shop-adc-aplus] sendPVUT success",u)},function(){console.warn("[shop-adc-aplus] sendPVUT failed",u)})}else{(window.goldlog_queue||(window.goldlog_queue=[])).push({action:"goldlog.sendPV",arguments:[{is_auto:!1},n({},s)]})}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.sendPVUT=exports.sendExposeUT=exports.sendClickUT=exports.encodeExtParams=exports.getURLParam=void 0;var t,n=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r="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},o=e(48),i=(t=o)&&t.__esModule?t:{default:t},a=e(3);exports.getURLParam=function(e){try{return new URL(location.href).searchParams.get(e)||""}catch(e){return""}};var l=exports.encodeExtParams=function(e){var t={};return Object.keys(e).forEach(function(n){var o=e[n];"string"==typeof o||"number"==typeof o||"boolean"==typeof o?t[n]=""+o:"object"===(void 0===o?"undefined":r(o))&&null!==o&&(t[n]=encodeURIComponent(JSON.stringify(o)))}),t};exports.sendClickUT=function(t,r,o,d,s){var c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};c=l(c);var u=n({"spm-cnt":t,"spm-url":r,pageId:o,pageName:d,comName:s},c);if(a.isWeex){var f=e(13);f.commitut?f.commitut("click",2101,d,s,s,"","",u):f.commit("click",d,s,u)}else{var p=encodeURIComponent(Object.keys(c).map(function(e){return e+"="+c[e]}).join(";"));i.default.record("/ae.pc_click.statweb_ae_click","CLK","spm-cnt="+t+"&spm-url="+r+"&st_page_id="+o+"$ae_button_type="+d+"&ae_page_area="+s+"&ae_object_value="+p)}},exports.sendExposeUT=function(t,r,o,d,s){var c=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{};c=l(c);var u=n({"spm-cnt":t,"spm-url":r,pageId:o,pageName:d,arg1:s},c);if(a.isWeex){var f=e(13);f.commitut?f.commitut("expose",2201,d,"",s,"","",u):f.commit("expose",d,s,u)}else{var p=encodeURIComponent(Object.keys(c).map(function(e){return e+"="+c[e]}).join(";"));i.default.record("/ae.pc_ctr.statweb_ae_ctr","EXP","spm-cnt="+t+"&spm-url="+r+"&st_page_id="+o+"$exp_type="+d+"&exp_page_area="+s+"&exp_attribute="+p)}},exports.sendPVUT=function(t,r,o,i,d,s){var c=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{};c=l(c);var u=n({"spm-cnt":t,"spm-url":r,"spm-pre":o,pageId:i,referPageId:d,pageName:s},c);if(a.isWeex){var f=e(13);f.commitut?f.commitut("enter",2001,s,"","","","",u):f.commit("enter",s,"",u)}else{(window.goldlog_queue||(window.goldlog_queue=[])).push({action:"goldlog.sendPV",arguments:[{is_auto:!1},n({},c)]})}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.getSpaceFromIndent=exports.sortTags=exports.convertTppSellingPointsToShopAtmosphere=exports.getPositionTags=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=e(94),r=(exports.getPositionTags=function(e,n,r){if(!e)return[];var o=e.filter(function(e){return e.position&&+e.position===n}),i=[];if(o&&o.forEach(function(e){e.atmosphereDTOList&&e.atmosphereDTOList.forEach(function(n){var r={};n.materials&&n.materials.forEach(function(o){if(1===n.materials.length){var a=t({tagText:o.value,atmosphereCode:n.atmosphereCode,position:e.position},o);i.push(a)}else"search_item_text"===o.materialCode&&(r=t({tagText:o.value},o,r)),"search_item_icon"===o.materialCode&&(r=t({tagImgUrl:o.value},o,r))}),r.value&&(r.materialCode="search_item_text_icon",i.push(r))})}),("3in1"===r||"1in1"===r)&&i.length){var a=i.find(function(e){return"choice_atm"===e.atmosphereCode});return a?[a]:[i[0]]}return i},exports.convertTppSellingPointsToShopAtmosphere=function(e){return e?e.map(function(e){var t=e.tagStyleType,n=e.position,r=e.tagContent,o=e.source,i=(r||{}).tagStyle,a=n||i.position,l=r.displayTagType;if(!a||!l)return"null";var d={channel:t,position:a,atmosphereDTOList:[{atmosphereCode:o,materials:[]}]};if("text"===l)d.atmosphereDTOList[0].materials.push({materialCode:"search_item_text",type:"TEXT",value:r.tagText,tagStyle:i});else if("image"===l)d.atmosphereDTOList[0].materials.push({materialCode:"search_item_icon",type:"IMAGE",width:r.tagImgWidth,height:r.tagImgHeight,value:r.tagImgUrl,tagStyle:i});else{if("image_text"!==l)return"null";d.atmosphereDTOList[0].materials.push({materialCode:"search_item_icon",type:"IMAGE",width:r.tagImgWidth,height:r.tagImgHeight,value:r.tagImgUrl,tagStyle:i}),d.atmosphereDTOList[0].materials.push({materialCode:"search_item_text",type:"TEXT",value:r.tagText,tagStyle:i})}return d}).filter(function(e){return null!=e}):[]},exports.sortTags=function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).sort(function(e,t){if("string"==typeof e)return 1;var n=e.materialCode,r=t.materialCode;return n===r?0:"search_item_icon"===n?-1:"search_item_icon"===r?1:0})},(0,n.getAEShopCustomFont)());exports.getSpaceFromIndent=function(){var e=Math.floor,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n="",o=Math.ceil(t/2);if("TTNormsPro"===r){o+=e(o/10);for(var i=1;i<o;i++)i%3==0&&(n+=" ");return n}if("CairoDisplay"===r){o+=e(o/5);for(var a=1;a<o;a++)a%3==0&&(n+=" ");return n}for(var l=1;l<o;l++)l%3==0&&(n+=" ");return n}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=e(130);Object.keys(t).forEach(function(e){"default"===e||"__esModule"===e||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return t[e]}})});var n=e(23);Object.keys(n).forEach(function(e){"default"===e||"__esModule"===e||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return n[e]}})});var r=e(36);Object.keys(r).forEach(function(e){"default"===e||"__esModule"===e||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return r[e]}})});var o=e(132);Object.keys(o).forEach(function(e){"default"===e||"__esModule"===e||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return o[e]}})});var i=e(133);Object.keys(i).forEach(function(e){"default"===e||"__esModule"===e||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return i[e]}})})},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.weexCookie=o,exports.queryCookie=i,exports.getCookie=function(e,t){var n="";n=r.isWeex?o(e):function(e){if(document.cookie.length>0){var t=document.cookie.indexOf(e+"=");if(-1!==t){t=t+e.length+1;var n=document.cookie.indexOf(";",t);-1===n&&(n=document.cookie.length);var r="",o=document.cookie.substring(t,n);try{r=decodeURIComponent(o)}catch(e){}return r}}return""}(e);return t?i(n,t):n};var t,n,r=e(3);function o(e,r){void 0===r&&(r=!1);var o=function(e){return!e&&n?n:(t||(t=weex.requireModule("cookie")),t&&(n=t.get()),n||"")}(r);if(o){var i,a=new RegExp("(^| )"+e+"=([^;]*)(;|$)");if(i=o.match(a))return unescape(i[2])}return""}function i(e,t){var n=new RegExp("(.*&?"+t+"=)(.*?)(&.*|$)"),r=e.match(n);return r?r[2]:""}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.AddCart=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(9),o=e(10),i=e(5),a=c(e(153)),l=e(0),d=c(e(2)),s=c(e(1));function c(e){return e&&e.__esModule?e:{default:e}}exports.AddCart=function(e){function c(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,e));return t.refreshAddCartNum=function(){(0,o.callWindVaneHandler)("AEWVCartIslandBar","queryIslandBarData",{siteType:"island"},function(e){var n=(e||{}).selectedItem,r=+(n=(n="string"==typeof n?JSON.parse(n):n)||{})[""+t.data.id]||0;r>0&&t.setState({addCartNum:r})})},t.openSKUPanel=function(e){e.stopPropagation();var n="https://m.aliexpress.com/app/sku.html";n+="?channel=store",n+="&productId="+t.data.id,(0,o.openWindow)(n)},t.data=e.data,t.gdc=e.gdc,t.state={addCartNum:0},t.imageSize=e.imageSize||343,t.type=e.type||"vert",t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(c,l.Component),n(c,[{key:"componentDidMount",value:function(){var e=this;(0,r.isADC)()&&(this.refreshAddCartNum(),(0,o.addGlobalEventListener)("AEDefaultCartDataDidUpdate",function(t){console.log("[info] AEDefaultCartDataDidUpdate "+JSON.stringify(t)),e.refreshAddCartNum()}))}},{key:"render",value:function(){var e=(0,i.isRTL)(this.gdc)?0:null,n=(0,i.isRTL)(this.gdc)?null:0;return"hoz"===this.type&&(e=(0,i.isRTL)(this.gdc)?"63.25%":this.imageSize-88,n=null),(0,l.createElement)(s.default,{style:t({},a.default.addCart,{left:e,right:n,top:this.imageSize-88})},(0,l.createElement)(s.default,{style:a.default.addCartIcon,onClick:this.openSKUPanel},(0,l.createElement)(s.default,{style:a.default.addCartIconImgWrapper},(0,l.createElement)("img",{style:a.default.addCartIconImg,src:"https://ae01.alicdn.com/kf/S6b514b1d2d86437ba6c31bbfd4653f8d5/32x31.png"}),this.state.addCartNum>0&&(0,l.createElement)(d.default,{style:a.default.addCartNum},this.state.addCartNum>99?"99+":this.state.addCartNum))))}}]),c}()},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0});var e=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e};exports.getPositionTags=function(t,n,r){if(!t)return[];var o=t.filter(function(e){return e.position&&+e.position===n}),i=[];if(o&&o.forEach(function(t){t.atmosphereDTOList&&t.atmosphereDTOList.forEach(function(n){var r={};n.materials&&n.materials.forEach(function(o){if(1===n.materials.length){var a=e({tagText:o.value,atmosphereCode:n.atmosphereCode,position:t.position},o);i.push(a)}else"search_item_text"===o.materialCode&&(r=e({tagText:o.value},o,r)),"search_item_icon"===o.materialCode&&(r=e({tagImgUrl:o.value},o,r))}),r.value&&(r.materialCode="search_item_text_icon",i.push(r))})}),("3in1"===r||"1in1"===r)&&i.length){var a=i.find(function(e){return"choice_atm"===e.atmosphereCode});return a?[a]:[i[0]]}return i},exports.convertTppSellingPointsToShopAtmosphere=function(e){return e?e.map(function(e){var t=e.tagStyleType,n=e.position,r=e.tagContent,o=e.source,i=(r||{}).tagStyle,a=n||i.position,l=r.displayTagType;if(!a||!l)return"null";var d={channel:t,position:a,atmosphereDTOList:[{atmosphereCode:o,materials:[]}]};if("text"===l)d.atmosphereDTOList[0].materials.push({materialCode:"search_item_text",type:"TEXT",value:r.tagText,tagStyle:i});else if("image"===l)d.atmosphereDTOList[0].materials.push({materialCode:"search_item_icon",type:"IMAGE",width:r.tagImgWidth,height:r.tagImgHeight,value:r.tagImgUrl,tagStyle:i});else{if("image_text"!==l)return"null";d.atmosphereDTOList[0].materials.push({materialCode:"search_item_icon",type:"IMAGE",width:r.tagImgWidth,height:r.tagImgHeight,value:r.tagImgUrl,tagStyle:i}),d.atmosphereDTOList[0].materials.push({materialCode:"search_item_text",type:"TEXT",value:r.tagText,tagStyle:i})}return d}).filter(function(e){return null!=e}):[]},exports.sortTags=function(){(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).sort(function(e,t){if("string"==typeof e)return 1;var n=e.materialCode,r=t.materialCode;return n===r?0:"search_item_icon"===n?-1:"search_item_icon"===r?1:0})}},function(module,exports,e){(function(e){var t="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};function n(e){return(n="function"==typeof Symbol&&"symbol"===t(Symbol.iterator)?function(e){return void 0===e?"undefined":t(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":void 0===e?"undefined":t(e)})(e)}Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.isReactNative=exports.isWeex=exports.isNode=exports.isWeb=void 0;var r="object"===("undefined"==typeof navigator?"undefined":n(navigator))&&("Mozilla"===navigator.appCodeName||"Gecko"===navigator.product);exports.isWeb=r;var o=void 0!==e&&!(!e.versions||!e.versions.node);exports.isNode=o;var i="function"==typeof callNative||"object"===("undefined"==typeof WXEnvironment?"undefined":n(WXEnvironment))&&"Web"!==WXEnvironment.platform;exports.isWeex=i;var a="undefined"!=typeof __fbBatchedBridgeConfig;exports.isReactNative=a,exports.default=module.exports;var l=module.exports;exports.default=l}).call(this,e(27))},function(module,exports){var e,t,n=module.exports={};function r(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function i(t){if(e===setTimeout)return setTimeout(t,0);if((e===r||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(n){try{return e.call(null,t,0)}catch(n){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:r}catch(t){e=r}try{t="function"==typeof clearTimeout?clearTimeout:o}catch(e){t=o}}();var a,l=[],d=!1,s=-1;function c(){d&&a&&(d=!1,a.length?l=a.concat(l):s=-1,l.length&&u())}function u(){if(!d){var e=i(c);d=!0;for(var n=l.length;n;){for(a=l,l=[];++s<n;)a&&a[s].run();s=-1,n=l.length}a=null,d=!1,function(e){if(t===clearTimeout)return clearTimeout(e);if((t===o||!t)&&clearTimeout)return t=clearTimeout,clearTimeout(e);try{t(e)}catch(n){try{return t.call(null,e)}catch(n){return t.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function p(){}n.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new f(e,t)),1!==l.length||d||i(u)},f.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=p,n.addListener=p,n.once=p,n.off=p,n.removeListener=p,n.removeAllListeners=p,n.emit=p,n.prependListener=p,n.prependOnceListener=p,n.listeners=function(){return[]},n.binding=function(){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},function(module,exports){var e,t="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=function(){return this}();try{e=e||new Function("return this")()}catch(n){"object"===("undefined"==typeof window?"undefined":t(window))&&(e=window)}module.exports=e},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports._=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}},function(module,exports,e){(function(e,t){Object.defineProperty(exports,"__esModule",{value:!0});var 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},r=exports.isWeb="undefined"!=typeof window&&"onload"in window,o=exports.isNode=void 0!==e&&!(!e.versions||!e.versions.node),i=exports.isWeex="undefined"!=typeof WXEnvironment&&"Web"!==WXEnvironment.platform,a=exports.isKraken="undefined"!=typeof __kraken__,l=exports.isMiniApp="undefined"!=typeof my&&null!==my&&void 0!==my.alert,d=exports.isByteDanceMicroApp="undefined"!=typeof tt&&null!==tt&&void 0!==tt.showToast,s=exports.isBaiduSmartProgram="undefined"!=typeof swan&&null!==swan&&void 0!==swan.showToast,c=exports.isKuaiShouMiniProgram="undefined"!=typeof ks&&null!==ks&&void 0!==ks.showToast,u=exports.isWeChatMiniProgram=!d&&"undefined"!=typeof wx&&null!==wx&&(void 0!==wx.request||void 0!==wx.miniProgram),f=exports.isQuickApp=void 0!==t&&null!==t&&void 0!==t.callNative&&!i,p=exports.isPHA=r&&"object"===("undefined"==typeof pha?"undefined":n(pha)),g=exports.isFRM=l&&r&&my.isFRM,m="object"===("undefined"==typeof navigator?"undefined":n(navigator))?navigator.userAgent||navigator.swuserAgent:"",h=exports.isWindVane=/.+AliApp\((\w+)\/((?:\d+\.)+\d+)\).* .*(WindVane)(?:\/((?:\d+\.)+\d+))?.*/.test(m)&&r&&"undefined"!=typeof WindVane&&void 0!==WindVane.call;exports.default={isWeb:r,isNode:o,isWeex:i,isKraken:a,isMiniApp:l,isByteDanceMicroApp:d,isBaiduSmartProgram:s,isKuaiShouMiniProgram:c,isWeChatMiniProgram:u,isQuickApp:f,isPHA:p,isWindVane:h,isFRM:g}}).call(this,e(27),e(28))},function(module,exports){module.exports=o},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.uaMatch=exports.uaIncludes=exports.ua=void 0,exports.isUndef=function(e){return"undefined"===e};var t=e(3);var n=exports.ua=t.isWeex?weex.config.env.userAgent||"":(window?window.navigator:null).userAgent||"";exports.uaIncludes=function(e){return n.indexOf(e)>-1},exports.uaMatch=function(e){return n.match(e)}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.appVersion=exports.appName=exports.osVersion=exports.osName=exports.isDingTalkApp=exports.isTMGApp=exports.isAEApp=exports.isAliApp=exports.isIPad=exports.isIPhone=exports.isAndroid=exports.isIOS=exports.isMobile=void 0;var t=e(3),n=e(34),r=e(131),o=exports.isMobile=!1,i=exports.isIOS=!1,a=exports.isAndroid=!1,l=exports.isIPhone=!1,d=exports.isIPad=!1,s=exports.isAliApp=!1,c=exports.isAEApp=!1,u=exports.isTMGApp=!1,f=exports.isDingTalkApp=!1,p=exports.osName="",g=exports.osVersion="",m=exports.appName="",h=exports.appVersion="";if(t.isWeex){var y=window.__weex_env__;exports.osName=p=y.osName.toLowerCase(),exports.isIOS=i="ios"===p,exports.isAndroid=a="android"===p,exports.isMobile=o=!0,y.deviceModel&&(exports.isIPhone=l=y.deviceModel.indexOf("iPhone")>-1,exports.isIPad=d=y.deviceModel.indexOf("iPad")>-1),exports.isAliApp=s="AliApp"===y.appGroup,exports.appName=m=y.appName,exports.isAEApp=c="AliExpress"===m,exports.isTMGApp=u="TMG"===m,exports.isDingTalkApp=f="DingTalk"===m,exports.osVersion=g=y.osVersion,exports.appVersion=h=y.appVersion}else{exports.isMobile=o=!!(0,n.uaMatch)(/AppleWebKit.*Mobile.*/),exports.isIOS=i=!!(0,n.uaMatch)(/\(i[^;]+;( U;)? CPU.+Mac OS X/)||(0,n.uaIncludes)("iPhone"),exports.isAndroid=a=(0,n.uaIncludes)("Android")||(0,n.uaIncludes)("Adr"),exports.osName=p=i?"ios":"android",exports.isIPhone=l=(0,n.uaIncludes)("iPhone"),exports.isIPad=d=(0,n.uaIncludes)("iPad"),exports.isAliApp=s=(0,n.uaIncludes)("AliApp"),exports.isAEApp=c=s&&((0,n.uaIncludes)("Aliexpress")||(0,n.uaIncludes)("AE")),exports.isTMGApp=u=s&&(0,n.uaIncludes)("TMG"),exports.isDingTalkApp=f=s&&(0,n.uaIncludes)("DingTalk"),exports.osVersion=g=i?r.iosVersion:r.androidVersion;var b=(0,n.uaMatch)(/AliApp\((.*?)\/(.*?)\)/g);(null==b?void 0:b.length)>0&&b.map(function(e){if(-1===e.indexOf("AliexpressAndroid")){var t=e.match(/AliApp\((.*?)\/(.*?)\)/);(null==t?void 0:t.length)>1&&(exports.appName=m=t[1],exports.appVersion=h=t[2])}})}exports.default={isMobile:o,isIOS:i,isAndroid:a,isIPhone:l,isIPad:d,isAliApp:s,isAEApp:c,isTMGApp:u,osName:p,osVersion:g,appName:m,appVersion:h,isDingTalkApp:f}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.uaMatch=exports.uaIncludes=exports.ua=void 0,exports.isUndef=function(e){return"undefined"===e};var t=e(3);var n=exports.ua=t.isWeex?weex.config.env.userAgent||"":(window?window.navigator:null).userAgent||"";exports.uaIncludes=function(e){return n.indexOf(e)>-1},exports.uaMatch=function(e){return n.match(e)}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.callHaweLogin=exports.callHaweAppinfo=exports.callHaweIsLogin=void 0,exports.checkHawe=n;var t=e(3);function n(e){if(t.isWeb&&!e)throw Error("需要在页面中引入 Hawe")}exports.callHaweIsLogin=function(e){return void 0===e&&(e=window.Hawe),n(e),new Promise(function(n,r){try{t.isWeb&&e&&e.call("aecmd://webapp/system/islogin?method=fromH5",{success:function(e){n(e&&"true"===e.isLoggedIn)},failure:function(e){r(e)}})}catch(e){r(e)}})},exports.callHaweAppinfo=function(e){return void 0===e&&(e=window.Hawe),n(e),new Promise(function(n,r){try{t.isWeb&&e&&e.appinfo(function(e){var t=e.lang,r=void 0===t?"":t,o=e.currency,i=void 0===o?"":o,a=r.split("_");n({aeLocale:r,aeRegion:a.length>1?a[1]:"",aeCurrency:i})})}catch(e){r(e)}})},exports.callHaweLogin=function(e){return void 0===e&&(e=window.Hawe),n(e),new Promise(function(n,r){try{t.isWeb&&e.login(function(e){n(e)})}catch(e){r(e)}})}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.isLogin=i,exports.login=function(r){return new Promise(function(a){i().then(function(i){if(i)return a(i);if(!t.isWeex)return n.isAliApp&&!n.isDingTalkApp?a((0,o.callHaweLogin)(r)):void(window.location.href="https://login.aliexpress.com?return_url="+encodeURIComponent(window.location.href));var l={};try{l=e(37)}catch(e){}l.login&&l.login(function(e){!0===e.isLogin&&a(e.isLogin)})})})};var t=e(3),n=e(33),r=e(23),o=e(35);function i(i){return t.isWeex?new Promise(function(t,n){try{var r=e(37);r.getUserInfo&&r.getUserInfo(function(e){t(e&&!0===e.isLogin)})}catch(e){n(e)}}):n.isAliApp&&!n.isDingTalkApp?(0,o.callHaweIsLogin)(i):Promise.resolve("y"===(0,r.getCookie)("xman_us_t","sign"))}},function(module,exports){module.exports=require("@weex-module/user")},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.getShopMeta=exports.isAndroid=exports.isIOS=exports.getEnv=exports.isWindVane=exports.isADC=void 0;var t=e(22),n=exports.isADC=function(){return"undefined"!=typeof adc},r=(exports.isWindVane=function(){return"undefined"!=typeof WindVane},exports.getEnv=function(){var e={};return n&&Object.assign(e,window.adc.config.env||{},window.adc.environment||{}),e});exports.isIOS=function(){return n()?"ios"===(""+r().platform).toLowerCase():!!navigator.userAgent.match(/(iphone|ipod|ipad)/i)},exports.isAndroid=function(){return n()?"android"===(""+r().platform).toLowerCase():!!navigator.userAgent.match(/android/i)},exports.getShopMeta=function(){var e={_locale:"",_currency:"",_lang:"",_country:""};if(n()){var o=r(),i=o.aeCountry,a=o.aeLanguage,l=o.aeCurrency,d=o.aeLocale;Object.assign(e,{_locale:d,_currency:l,_lang:a,_country:i})}else{var s=(0,t.getCookie)("aep_usuc_f"),c=new URLSearchParams(s);Object.assign(e,{_locale:c.get("b_locale"),_currency:c.get("c_tp"),_lang:(c.get("b_locale")||"").split("_")[0],_country:c.get("region")})}return e._locale||(e._locale="en_US"),e._currency||(e._currency="USD"),e._lang||(e._lang="en_US"),e._country||(e._country="US"),e}},function(module,exports,e){module.exports=e(40)},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t,n=e(41),r=e(43),o=(t=r)&&t.__esModule?t:{default:t};var i={CLK:"click",EXP:"expose",OTHER:"other"};exports.default={record:function(t,r,o,a){if(n.isWeex){var l=function(e){for(var t={},n=(e="string"==typeof e?e:"").split("&"),r=0;r<n.length;r++){var o=n[r].split("="),i=o[0],a=o[1];i&&(t[i]=a)}return t}(o);l.weex=l.weex?l.weex:"1",l.autosend="1";var d=i[r];d=d||"click";var s={logkey:t,weex:1,autosend:1,urlpagename:"",url:l.url||location&&location.href||"",cna:"",extendargs:JSON.stringify({}),isonepage:0,_lka:JSON.stringify({gmkey:r,gokey:o})},c=e(13);if(c.commitut){var u=l.name||s.url,f=t;switch(d){case"expose":c.commitut(d,2201,u,"",f,"","",s);break;case"other":c.commitut(d,19999,u,"",f,"","",s);break;case"click":default:c.customAdvance?c.customAdvance(u,2101,f,"","",s):c.commitut(d,2101,u,f,"","","",s)}}else c.commit&&c.commit(d,t,t,s)}else n.isWeb&&window.goldlog&&goldlog.record(t,r,o,a)},launch:function(t){var r,i,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(o.default.setPageSPM(t[0],t[1]),n.isWeex){var l=e(13);a.url=a.url||location&&location.href||"",a["spm-cnt"]=o.default.getPageSPM().join(".")+".0.0",a["spm-url"]=(r=a.url,i="0.0.0.0",(r.split("?")[1]||"").split("&").forEach(function(e){0===e.indexOf("spm=")&&(i=e.substr(4))}),i),a.cna="",a.weex=1;var d=a.name||a.url;d.indexOf("_wx_tpl")>0&&(d=d.substring(d.indexOf("_wx_tpl=")+8,d.indexOf(".js")+3)),l.enterEvent?l.enterEvent(d,a):l.commit&&l.commit("enter",d,"",a)}else n.isWeb&&window.goldlog&&goldlog.launch(a)}},module.exports=exports.default},function(module,exports,e){module.exports=e(42)},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=e(26);Object.keys(t).forEach(function(e){"default"===e||"__esModule"===e||Object.defineProperty(exports,e,{enumerable:!0,get:function(){return t[e]}})})},function(module,exports,e){module.exports=e(44)},function(module,exports,e){(function(t){Object.defineProperty(exports,"__esModule",{value:!0});var n=e(26),r=void 0;if(n.isNode&&(t.window={}),void 0!==window.__UNIVERSAL_SPM__)r=window.__UNIVERSAL_SPM__;else{var o=["0","0"];r={getPageSPM:function(){if(n.isWeb&&window.goldlog){var e=window.goldlog.spm_ab;o=e&&Array.isArray(e)&&"0.0"!==e.join(".")?e:o}return[o[0],o[1]]},getSPM:function(e,t){return[].concat(this.getPageSPM(),e||0,t||0)},getSPMQueryString:function(e,t){return"spm="+this.getSPM(e,t).join(".")},setPageSPM:function(e,t){if(o[0]=e,o[1]=t,n.isWeex);else if(n.isWeb)if(window.goldlog&&window.goldlog.setPageSPM)window.goldlog.setPageSPM(e,t);else{(window.goldlog_queue||(window.goldlog_queue=[])).push({action:"goldlog.setPageSPM",arguments:[e,t]})}else;}},window.__UNIVERSAL_SPM__=r}exports.default=r,module.exports=exports.default}).call(this,e(28))},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.ModuleExpose=void 0;var t,n=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=e(19),i=e(0),a=e(1),l=(t=a)&&t.__esModule?t:{default:t};var d=exports.ModuleExpose=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.sendExpose=function(){var e=r.props,t=e.gdc,i=void 0===t?{}:t,a=e.mds,l=void 0===a?{}:a,d=e.extParams,s=i.sellerId,c=i.spm_cnt,u=i.sellerAdminSeq,f=i.pageId,p=i.shopId,g=i.pageName,m=i.userId,h=l.moduleName,y=void 0===h?"default":h,b=c+"."+y,w=n({seller_id:""+s,shop_id:""+p,user_id:""+m,sellerAdminSeq:u,spm_cnt:b,spm:b,pageId:f},d);(0,o.sendExposeUT)(b,"",f,g,y+"_Exposure_Event",w)},r.exposed=!1,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),r(t,[{key:"componentDidMount",value:function(){this.exposed||(this.sendExpose(),this.exposed=!0)}},{key:"render",value:function(){var e=this,t=this.props,r=t.mds,a=void 0===r?{}:r,d=t.extParams,s=void 0===d?{}:d,c=a.moduleName,u=void 0===c?"default":c,f={};if(!(0,o.isADC)()){var p=Object.keys(s).map(function(e){return e+"="+s[e]}).join(";");f={st_page_id:window.dmtrack_pageid,exp_type:u+"_Exposure_Event",exp_attribute:p}}return(0,i.createElement)(l.default,n({},f,{onAppear:function(){e.exposed||(e.sendExpose(),e.exposed=!0)}}))}}]),t}();exports.default=d},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.ItemExpose=void 0;var t,n=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=e(19),i=e(0),a=e(1),l=(t=a)&&t.__esModule?t:{default:t};var d="Product_Exposure_Event",s=exports.ItemExpose=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.sendExpose=function(){var e=r.props,t=e.gdc,i=void 0===t?{}:t,a=e.mds,l=void 0===a?{}:a,s=e.extParams,c=i.sellerId,u=i.spm_cnt,f=i.sellerAdminSeq,p=i.pageId,g=i.shopId,m=i.pageName,h=i.userId,y=l.moduleName,b=u+"."+(void 0===y?"default":y),w=n({seller_id:""+c,shop_id:""+g,user_id:""+h,sellerAdminSeq:f,spm_cnt:b,spm:b,pageId:p},s);(0,o.sendExposeUT)(b,"",p,m,d,w)},r.exposed=!1,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),r(t,[{key:"componentDidMount",value:function(){this.exposed||(this.sendExpose(),this.exposed=!0)}},{key:"render",value:function(){var e=this,t=this.props.extParams,r=void 0===t?{}:t,a={};if(!(0,o.isADC)()){var s=Object.keys(r).map(function(e){return e+"="+r[e]}).join(";");a={st_page_id:window.dmtrack_pageid,exp_type:d,exp_attribute:s}}return(0,i.createElement)(l.default,n({},a,{onAppear:function(){e.exposed||(e.sendExpose(),e.exposed=!0)}}))}}]),t}();exports.default=s},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=e(0),r=a(e(1)),o=e(14),i=a(e(59));function a(e){return e&&e.__esModule?e:{default:e}}var l=function(e){function a(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(a.__proto__||Object.getPrototypeOf(a)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,n.Component),t(a,[{key:"render",value:function(){if("undefined"!=typeof window){var e=new URL(window.location.href).searchParams;e.has("_layout")&&e.get("_layout")}this.props.gdc.aeShopLayout&&this.props.gdc.aeShopLayout;var t;return t=(0,n.createElement)(i.default,this.props),(0,n.createElement)(r.default,null,(0,n.createElement)(o.ModuleExpose,{gdc:this.props.gdc,mds:this.props.mds}),t)}}]),a}();exports.default=l,module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.updatePageProperties=a,exports.record=l,exports.setPageSPM=d,exports.getPageSPM=s,exports.sendPV=c,exports.subscribeAplusPubsub=u,exports.getNameStorage=f,exports.launch=p;var t=e(49),n=e(51),r=e(56),o=e(30),i=[];function a(e){g("updatePageProperties",[e])}function l(e,t,n){g("record",[e,t,n,arguments.length>3&&void 0!==arguments[3]?arguments[3]:"GET"])}function d(e,t,n){g("setPageSPM",[e,t,n])}function s(){return window.goldlog&&window.goldlog.spm_ab}function c(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];g("sendPV",t)}function u(e,t){g("aplus_pubsub.subscribe",[e,t])}function f(){return window.goldlog&&window.goldlog.nameStorage}function p(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!o.isPHA||o.isWeb){if(e&&o.isPHA&&o.isWeb){var i=window.pha.config.bundleUrl||r.url||"",a=(/spm=([^&]+)/.exec(i)||["","0.0.0.0"])[1],l=e[0]||"0",s=e[1]||"0",u=i.indexOf("?");if(window.WindVane&&window.WindVane.call){var f=i.substring(0,-1===u?i.length:u);return void window.WindVane.call("PHAJSBridge","userTrack.pageEnter",{pageName:r.pageName||f,params:(0,t._)({_toUT:2,autosend:"1",url:f,_h5url:i,"spm-cnt":"".concat(l,".").concat(s,".0.0"),"spm-url":a},r)},function(){})}console.error("windvane is not ready, use goldlog launch api")}d.apply(void 0,(0,n._)(e)),c({pageName:r.name,pageUrl:r.url,spmUrl:r["spm-url"],referrer:r.referrer},r)}}function g(e,t){void 0===window.goldlog?i.push({action:e,arguments:t}):m(e,t)}function m(e,t){var n=window.goldlog[e];"function"==typeof n?n.apply(window.goldlog,t):console.error("API ".concat(e," is not found in window.goldlog."))}if(o.isWeb){var h=function(){i.forEach(function(e){m(e.action,e.arguments)})};if(location.search.indexOf("auto-insert-aplus=false")>-1)h();else{var y=function(){var e=document.createElement("script");return e.src=r.APLUS_MOBILE_CDN,e.async=!0,e}();document.head.appendChild(y),y.addEventListener("load",function(){h()})}}exports.default={updatePageProperties:a,record:l,setPageSPM:d,getPageSPM:s,subscribeAplusPubsub:u,getNameStorage:f,sendPV:c,launch:p}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports._=void 0;var t=e(50);exports._=function(e){for(var n=1;n<arguments.length;n++){var r=null==arguments[n]?{}:arguments[n],o=Object.keys(r);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(r).filter(function(e){return Object.getOwnPropertyDescriptor(r,e).enumerable}))),o.forEach(function(n){(0,t._)(e,n,r[n])})}return e}},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports._=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports._=void 0;var t=e(52),n=e(53),r=e(54),o=e(55);exports._=function(e){return(0,t._)(e)||(0,n._)(e)||(0,o._)(e)||(0,r._)()}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports._=void 0;var t=e(29);exports._=function(e){if(Array.isArray(e))return(0,t._)(e)}},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports._=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports._=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.")}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports._=void 0;var t=e(29);exports._=function(e,n){if(e){if("string"==typeof e)return(0,t._)(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?(0,t._)(e,n):void 0}}},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.APLUS_MOBILE_CDN="//g.alicdn.com/alilog/mlog/aplus_wap.js"},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.ModuleExpose=void 0;var t,n=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=e(20),i=e(0),a=e(1),l=(t=a)&&t.__esModule?t:{default:t},d=e(3);var s=exports.ModuleExpose=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.sendExpose=function(){var e=r.props,t=e.gdc,i=void 0===t?{}:t,a=e.mds,l=void 0===a?{}:a,d=e.extParams,s=i.sellerId,c=i.spm_cnt,u=i.sellerAdminSeq,f=i.pageId,p=i.shopId,g=i.pageName,m=i.userId,h=l.moduleName,y=void 0===h?"default":h,b=c+"."+y,w=n({seller_id:""+s,shop_id:""+p,user_id:""+m,sellerAdminSeq:u,spm_cnt:b,spm:b,pageId:f},d);(0,o.sendExposeUT)(b,"",f,g,y+"_Exposure_Event",w)},r.exposed=!1,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),r(t,[{key:"componentDidMount",value:function(){this.exposed||(this.sendExpose(),this.exposed=!0)}},{key:"render",value:function(){var e=this,t=this.props,r=t.mds,o=void 0===r?{}:r,a=t.extParams,s=void 0===a?{}:a,c=o.moduleName,u=void 0===c?"default":c,f={};if(d.isWeb){var p=Object.keys(s).map(function(e){return e+"="+s[e]}).join(";");f={st_page_id:window.dmtrack_pageid,exp_type:u+"_Exposure_Event",exp_attribute:p}}return(0,i.createElement)(l.default,n({},f,{onAppear:function(){e.exposed||(e.sendExpose(),e.exposed=!0)}}))}}]),t}();exports.default=s},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.ItemExpose=void 0;var t,n=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=e(20),i=e(0),a=e(1),l=(t=a)&&t.__esModule?t:{default:t},d=e(3);var s="Product_Exposure_Event",c=exports.ItemExpose=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.sendExpose=function(){var e=r.props,t=e.gdc,i=void 0===t?{}:t,a=e.mds,l=void 0===a?{}:a,d=e.extParams,c=i.sellerId,u=i.spm_cnt,f=i.sellerAdminSeq,p=i.pageId,g=i.shopId,m=i.pageName,h=i.userId,y=l.moduleName,b=u+"."+(void 0===y?"default":y),w=n({seller_id:""+c,shop_id:""+g,user_id:""+h,sellerAdminSeq:f,spm_cnt:b,spm:b,pageId:p},d);(0,o.sendExposeUT)(b,"",p,m,s,w)},r.exposed=!1,r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,i.Component),r(t,[{key:"componentDidMount",value:function(){this.exposed||(this.sendExpose(),this.exposed=!0)}},{key:"render",value:function(){var e=this,t=this.props.extParams,r=void 0===t?{}:t,o={};if(d.isWeb){var a=Object.keys(r).map(function(e){return e+"="+r[e]}).join(";");o={st_page_id:window.dmtrack_pageid,exp_type:s,exp_attribute:a}}return(0,i.createElement)(l.default,n({},o,{onAppear:function(){e.exposed||(e.sendExpose(),e.exposed=!0)}}))}}]),t}();exports.default=c},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(0),o=f(e(1)),i=f(e(2)),a=f(e(6)),l=e(31),d=f(e(60)),s=e(125),c=f(e(126)),u=e(127);function f(e){return e&&e.__esModule?e:{default:e}}var p={autoWebp:!1,autoScaling:!1,autoCompress:!1,autoReplaceDomain:!1},g=["ar","he","Arabic","Hebrew"],m=function(e){return[].concat(["SA","AE","QA","KW","BH","OM"],["AU"]).includes(e)},h=function(f){function h(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,e));return n.getData=function(e){var t=n.state.gdc,r=t.shopId,o=t.locale,i=void 0===o?"en_US":o,a=t.country,d=void 0===a?"US":a,c=t.currency,u=void 0===c?"USD":c,f=t.lang,p=void 0===f?"en":f,g={scenario:l.isWeex?"appFullPieceDiscount":"pcFullPieceDiscount",locale:i,shipToCountry:d,lang:p,currency:u,streamId:"",visitorId:l.isWeex?e:(0,s.getCookie)("cna"),pageIndex:1,pageSize:10,recommendInfo:JSON.stringify({storeId:r}),platform:l.isWeex?"app":"pc",sversion:3.6};l.isWeex?(g.app_client_v=(0,s.getVersion)(),g.clientType=l.isAndroid?"android":"iphone"):g.clientType="msite";var m={appId:668,params:JSON.stringify(g)};n.pageUtils.Mtop.request({api:"mtop.relationrecommend.AliexpressRecommend.recommend",v:"1.0",data:m},function(e){var t=e.data&&e.data.result&&e.data.result[0]||{},r=t.mods&&t.mods.listItems||[];r&&r.length>=3&&n.setState({dataSource:r.slice(0,3),modsStyle:t&&t.modsStyle,showDataStatus:!0,showNoDataStatus:!1})},function(e){console.error("appFullPieceDiscount-ERROR",JSON.stringify(e))})},n.getColorText=function(e,t,n){var r=e||t,o=[];return-1===r.indexOf("{x}%")?(o=r.split("%{x}")).splice(o.length-1,0,"%"+n+" "):(o=r.split("{x}%")).splice(o.length-1,0," "+n+"%"),o},n.getSubTitle=function(){var e=n.state,a=e.gdc,d=void 0===a?{}:a,s=e.mds,c=e.isSale,u=d.translation,f=void 0===u?{}:u,p=d.translate,g=void 0===p?{}:p,h=s.moduleData,y=(void 0===h?{}:h).fullPieceLevelList,b=void 0===y?[]:y,w=[g["module.mobile.BundleDealsDefaultTitle"]||"Buy more to save more!"];b&&b.length>0&&(w=n.getColorText(f["module.wireless.fullPieceDiscountItemList.subTitle"]||g["module.wireless.fullPieceDiscountItemList.subTitle"],"Buy more to save up to {x}%",b[0]&&b[0].discount||0));var v="#666666";return c&&(v="#ffffff",m(d.country)&&(v="#000000")),(0,r.createElement)(o.default,{style:t({},n.getDirCss("subTitle"))},w.map(function(e){return l.isWeb,(0,r.createElement)(i.default,{style:{fontSize:24,color:v}},e)}))},n.getDirCss=function(e){var t=c.default[e],r=Object.assign({},t,c.default[e+"-dir"]);return n.isDir()?r:t},n.isDir=function(){var e=n.state.gdc,t=(void 0===e?{}:e).lang,r=void 0===t?"":t;return g.includes(r)},n.goTargetUrl=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=n.state.mds,o={url:e,nid:t,widgetId:r.widgetId,moduleName:r.moduleName};n.pageUtils.goTargetUrl&&n.pageUtils.goTargetUrl(o)},n.getProductUrl=function(e,t){var n=[];return e&&(e.detailPage&&Object.keys(e.detailPage).forEach(function(t){n.push({key:t,value:encodeURIComponent(e.detailPage[t])})}),e.pdpParams&&["pdp_ext_f","pdp_pi"].forEach(function(t){e.pdpParams[t]&&n.push({key:t,value:e.pdpParams[t]})})),"https://www.aliexpress.com/item/"+t+".html?"+n.map(function(e){return e.key+"="+e.value.substring(0,131072)}).join("&")},n.renderCell=function(e){var t=n.state.isSale;return(0,r.createElement)(o.default,{style:c.default.list},e.map(function(i,a){var s="dsaRiskImg"===i.image.maskType,c=(i.trace||{}).utLogMap,u=n.state.gdc.useNewItemLayout?"US":"OLDUS";return(0,r.createElement)(o.default,{style:{marginRight:a===e.length-1?0:12}},(0,r.createElement)(d.default,{showAddCart:l.isWeex&&t,layout:u,mode:"3in1",priceMode:"tpp",tagsMode:"tpp",showMask:s,pageUtils:n.props.pageUtils,gdc:n.props.gdc,mds:n.props.mds,modsStyle:n.state.modsStyle,cardBg:t?"#fff":"transparent",data:{id:i.productId,image:(i.image||{}).imgUrl,title:(i.title||{}).displayTitle,sales:(i.trade||{}).tradeDesc,stars:(i.evaluation||{}).starRating,prices:i.prices,sellingPoints:i.sellingPoints,utLogMap:c}}))}))},n.renderList=function(){var e=n.state.dataSource;if(e.length>=3)return n.renderCell(e.slice(0,3))},n.pageUtils=e.pageUtils,n.state={mds:e.mds||{},gdc:e.gdc||{},showDataStatus:!1,showNoDataStatus:e.gdc.preView||!1,dataSource:[],modsStyle:{},appearTime:null,isSale:(0,s.getUrlParams)("pagePath")&&(0,s.getUrlParams)("pagePath").includes("promotion-")||e.gdc.bigSalePage||!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(h,r.Component),n(h,[{key:"componentWillMount",value:function(){var t=this,n=this.state.mds,r=n.moduleData,o=void 0===r?{}:r,i=n.widgetId;o.fullPieceLevelList;if(console.log({widgetId:i}),i)if(l.isWeex){e(135).getAppConfig(function(e){var n=e.deviceId;t.getData(n)})}else this.getData()}},{key:"render",value:function(){var e=this,n=this.state,d=n.mds,s=n.gdc,f=void 0===s?{}:s,g=n.showDataStatus,h=n.showNoDataStatus,y=n.isSale,b=f.translation,w=void 0===b?{}:b,v=f.translate,x=void 0===v?{}:v,C=d.moduleData,S=void 0===C?{}:C,_=d.moduleName,A=void 0===_?"":_,T=S.bundleDealsWeexPageUrl,P=void 0===T?"":T,E=S.bundleDealsMSitePageUrl,O=void 0===E?"":E,M=(f.shopId,f.sellerId,l.isWeex?P:O),k="https://ae01.alicdn.com/kf/Sbf97bf05061f4fe8a41ac88c8549d741p/32x32.png";y&&(k="https://ae01.alicdn.com/kf/S2593d71af54e4a6abf48c5f5617855544/32x32.png",m(f.country)&&(k="https://ae01.alicdn.com/kf/Sbf97bf05061f4fe8a41ac88c8549d741p/32x32.png"));var j="#000000";if(y&&(j="#ffffff",m(f.country)&&(j="#000000")),g){var I={exp_trigger:"",st_page_id:window.dmtrack_pageid,exp_type:A+"_Exposure_Event",exp_attribute:""};return(0,r.createElement)(o.default,t({},I,{style:t({},c.default.container,{backgroundColor:y?"transparent":"#fff"}),"data-role":d.moduleName,"data-spmc":d.moduleName+"_"+d.widgetId}),(0,r.createElement)(o.default,{style:(0,u.getRTLCSS)(f,c.default,"titleWrapper"),onClick:function(){e.goTargetUrl(M,0)}},(0,r.createElement)(o.default,{style:(0,u.getRTLCSS)(f,c.default,"topContainer")},(0,r.createElement)(o.default,{style:(0,u.getRTLCSS)(f,c.default,"titleContainer")},(0,r.createElement)(i.default,{style:t({},c.default.title,{color:j})},w["module.wireless.fullPieceDiscountPageTitle.title"]||x["module.wireless.fullPieceDiscountPageTitle.title"]||"Bundle Deals"),(0,r.createElement)(o.default,{style:c.default.arrowContainer,"data-role":d.moduleName,"data-spmc":d.moduleName+"_"+d.widgetId,"data-spmd":d.moduleName+"_"+d.widgetId+"_arrow"},(0,r.createElement)(a.default,t({},p,{style:t({},this.getDirCss("arrowImage")),source:{uri:k},lazyload:!1})))),this.getSubTitle())),this.renderList())}return h?(0,r.createElement)(a.default,t({},p,{style:t({},c.default.defaultImage,{width:d.defaultImageWidth||750,height:d.defaultImageHeight||400}),source:{uri:d.defaultImage},lazyload:!1})):null}}]),h}();exports.default=h,module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=l(e(61)),r=l(e(82)),o=l(e(97)),i=l(e(111)),a=e(0);function l(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function l(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(l.__proto__||Object.getPrototypeOf(l)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(l,a.Component),t(l,[{key:"render",value:function(){switch(this.props.layout){case"US":return(0,a.createElement)(o.default,this.props);case"OLDUS":return(0,a.createElement)(i.default,this.props);case"KR":return(0,a.createElement)(r.default,this.props);case"COMPARE":return(0,a.createElement)(n.default,this.props);default:return null}}}]),l}();exports.default=d,module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(62),o=e(7),i=e(8),a=e(4),l=e(67),d=e(70),s=e(74),c=h(e(76)),u=h(e(11)),f=e(14),p=e(0),g=h(e(1)),m=e(3);function h(e){return e&&e.__esModule?e:{default:e}}var y=function(e){function h(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,e));return n.broadcastChannel=function(){new BroadcastChannel("popMobileConfirm").onmessage=function(){n.setState({showMask:!1})}},n.getProductUrl=function(e,t){var n=[];return t&&(t.detailPage&&Object.keys(t.detailPage).forEach(function(e){n.push({key:e,value:encodeURIComponent(t.detailPage[e])})}),t.pdpParams&&["pdp_ext_f","pdp_pi"].forEach(function(e){t.pdpParams[e]&&n.push({key:e,value:t.pdpParams[e]})})),"https://www.aliexpress.com/item/"+e+".html?"+n.map(function(e){return e.key+"="+e.value.substring(0,131072)}).join("&")},n.goTargetUrl=function(e,t,r){e||(e=n.getProductUrl(t,n.data.trace));var i=n.gdc,a=i.spm_cnt,l=i.pageId,d=i.pageName,s=i.sellerId,c=i.shopId,u=i.userId,p=n.mds,g=p.widgetId,m=p.moduleName,h={url:e,nid:t||0,widgetId:g,moduleName:m,target:r||null};n.data.utLogMap&&(0,f.sendClickUT)(a+"."+m,"",l,d,"Product_Click_Event",{seller_id:""+s,shop_id:""+c,user_id:""+u,utLogMap:n.data.utLogMap}),n.pageUtils.goTargetUrl?n.pageUtils.goTargetUrl(h):(0,o.openWindow)(e)},n.open=function(e,t){var r=n.state.showMask;if("true"!==r&&!0!==r)n.goTargetUrl(e,t);else if(m.isWeex)(0,o.callWindVaneHandler)("AEWVPrivacy","euSafetyFilter",{},function(r){r.wantedSee&&(new BroadcastChannel("popMobileConfirm").postMessage(r),setTimeout(function(){n.goTargetUrl(e,t)},100))},function(e){console.warn(e)});else{var i=n.gdc.locale;u.default.show({isRtl:!1,locale:i,fetcher:window.lib.mtop.request,onOk:function(r){console.log(r);var o=r.success,i=r.errMsg;o?(new BroadcastChannel("popMobileConfirm").postMessage(r),setTimeout(function(){n.goTargetUrl(e,t)},100)):console.warn(i)},onCancel:function(){}})}},n.render3In1Card=function(){var e=n.data,o=e.id,i=e.url,u=(e.title,n.state.showMask);return(0,p.createElement)(g.default,t({},n.expProps,{style:t({},(0,a.getRTLCSS)(n.gdc,c.default,"cardWrapper"),{width:226},n.style)}),(0,p.createElement)(f.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,p.createElement)(g.default,t({},n.clkProps,{style:c.default.cardInner,onClick:function(){n.open(i,o)}}),(0,p.createElement)(l.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:226,showMask:u,showAddCart:n.showAddCart}),(0,p.createElement)(g.default,{style:c.default.cardContent},(0,p.createElement)(s.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}),(0,p.createElement)(d.Meta,{mode:n.mode,gdc:n.gdc,tagsMode:n.tagsMode,data:n.data}),n.showAddCart&&(0,p.createElement)(r.AddCart,{style:{marginTop:12},data:n.data,gdc:n.gdc}))))},n.pageUtils=e.pageUtils||{},n.gdc=e.gdc||{},n.mds=e.mds||{},n.mode="3in1",n.modsStyle=e.modsStyle||{},n.priceMode=e.priceMode||"shop",n.tagsMode=e.tagsMode||"shop",n.showAddCart=e.showAddCart||!1,n.data=e.data,n.data.modsStyle&&(n.modsStyle=n.data.modsStyle),(0,i.debug)("data",n.data),n.expProps=e.expProps||{},n.clkProps=e.clkProps||{},n.style=e.style||{},n.state={showMask:e.showMask},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(h,p.Component),n(h,[{key:"componentDidMount",value:function(){this.broadcastChannel()}},{key:"render",value:function(){return this.data?this.render3In1Card():null}}]),h}();exports.default=y,module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.AddCart=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(7),o=s(e(66)),i=e(0),a=s(e(2)),l=s(e(1)),d=e(3);function s(e){return e&&e.__esModule?e:{default:e}}exports.AddCart=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));t.refreshAddCartNum=function(){(0,r.callWindVaneHandler)("AEWVCartIslandBar","queryIslandBarData",{siteType:"island"},function(e){var n=(e||{}).selectedItem,r=+(n=(n="string"==typeof n?JSON.parse(n):n)||{})[""+t.data.id]||0;r>0&&t.setState({addCartNum:r})})},t.openSKUPanel=function(){var e="https://m.aliexpress.com/app/sku.html";e+="?channel=store",e+="&productId="+t.data.id,(0,r.openWindow)(e)},t.data=e.data,t.gdc=e.gdc,t.state={addCartNum:0};var n=t.gdc||{},o=n.translation,i=void 0===o?{}:o,a=n.translate,l=void 0===a?{}:a;return Object.assign(i,l),t.translation=i,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,i.Component),n(s,[{key:"componentDidMount",value:function(){var e=this;d.isWeex&&(this.refreshAddCartNum(),(0,r.addGlobalEventListener)("AEDefaultCartDataDidUpdate",function(t){console.warn("[debug] AEDefaultCartDataDidUpdate "+JSON.stringify(t)),e.refreshAddCartNum()}))}},{key:"render",value:function(){return(0,i.createElement)(l.default,{style:t({},o.default.addCart,this.props.style)},(0,i.createElement)(l.default,{style:o.default.addCartIcon,onClick:this.openSKUPanel},(0,i.createElement)(l.default,{style:o.default.addCartIconImgWrapper},(0,i.createElement)(a.default,{style:o.default.addCartIconText},this.translation["module.wireless.compareSelling.addToCart"]||"Add to cart"),this.state.addCartNum>0&&(0,i.createElement)(a.default,{style:o.default.addCartNum},this.state.addCartNum>99?"99+":this.state.addCartNum))))}}]),s}()},function(module,exports){module.exports=require("@weex-module/navigator")},function(module,exports){module.exports=require("@weex-module/windvane")},function(module,exports){module.exports=require("@weex-module/globalEvent")},function(module,exports){module.exports={addCart:{position:"relative",height:48},addCartIcon:{height:48,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImgWrapper:{backgroundColor:"rgb(25,25,25)",height:48,paddingTop:0,paddingRight:16,paddingBottom:0,paddingLeft:16,borderRadius:32,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconText:{color:"rgb(255,255,255)",fontSize:20,fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"},addCartNum:{backgroundColor:"rgb(253,56,79)",color:"rgb(255,255,255)",position:"absolute",right:-12,top:-4,width:28,height:28,borderRadius:14,fontSize:20,textAlign:"center",borderWidth:"1px",borderStyle:"solid",borderColor:"rgb(255,255,255)"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Image=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=(e(15),e(4)),o=s(e(69)),i=e(0),a=s(e(6)),l=s(e(2)),d=s(e(1));function s(e){return e&&e.__esModule?e:{default:e}}exports.Image=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return t.gdc=e.gdc,t.data=e.data,t.mode=e.mode,t.showAddCart=e.showAddCart||!1,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,i.Component),n(s,[{key:"render",value:function(){if(!this.data)return null;var e,n=this.data,s=n.image,c=n.title,u=n.cornorMark||{},f=u.value,p=u.color,g=u.bgColor,m=this.props.showMask;e=!0===m||"true"===m?"https://ae01.alicdn.com/kf/S1e0b5f59d44845c89d23644878384c33Z/504x504.png":s;var h=268;return"2in1"===this.mode&&(h=343),"3in1"===this.mode&&(h=226),"2in1"===this.mode&&this.data.discount&&"0"!==this.data.discount&&"undefined"!==this.data.discount&&"null"!==this.data.discount&&(f=this.data.discount,g="#FD384F",p="#ffffff"),(0,i.createElement)(d.default,{style:"2in1"===this.mode||"3in1"===this.mode?o.default.imgOuter:(0,r.getRTLCSS)(this.gdc,o.default,"imgOuterHoz")},(0,i.createElement)(d.default,{style:t({},o.default.imgWrapper,{width:h,height:h})},(0,i.createElement)(a.default,{style:t({},o.default.itemImg,{width:h,height:h}),source:{uri:e},alt:c,autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1,resizeMode:"cover"}),(0,i.createElement)(d.default,{style:t({},o.default.bgMask,{width:h,height:h})}),!!f&&(0,i.createElement)(d.default,{style:t({},(0,r.getRTLCSS)(this.gdc,o.default,"mark"),{backgroundColor:g||"#FD384F"})},(0,i.createElement)(l.default,{style:t({},o.default.markText,{color:p||"#ffffff"})},f))))}}]),s}()},function(module,exports){module.exports={addCart:{position:"absolute",bottom:0,paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12,width:88,height:88},addCartIcon:{width:64,height:64,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImgWrapper:{backgroundColor:"rgb(25,25,25)",width:64,height:64,borderRadius:32,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImg:{width:32,height:32,backgroundColor:"rgb(25,25,25)",marginTop:2,marginRight:2},addCartNum:{backgroundColor:"rgb(253,56,79)",color:"rgb(255,255,255)",position:"absolute",right:0,top:0,width:28,height:28,borderRadius:14,fontSize:20,textAlign:"center",borderWidth:"1px",borderStyle:"solid",borderColor:"rgb(255,255,255)"}}},function(module,exports){module.exports={imgOuter:{overflow:"hidden"},imgOuterHoz:{flex:"0 0 auto",marginRight:16,overflow:"hidden"},"imgOuterHoz-rtl":{marginRight:0,marginLeft:16},imgWrapper:{position:"relative",outline:"none",borderStyle:"none",textDecoration:"none",borderRadius:8,borderBottomLeftRadius:0,borderBottomRightRadius:0,overflow:"hidden"},itemImg:{display:"block",position:"relative",userSelect:"none",pointerEvents:"none",outline:"none",borderStyle:"none",objectFit:"cover"},mark:{position:"absolute",left:0,top:0,height:48,paddingTop:0,paddingRight:12,paddingBottom:0,paddingLeft:12,borderTopLeftRadius:8,borderBottomRightRadius:8,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"mark-rtl":{left:"unset",right:0,borderTopLeftRadius:"unset",borderBottomRightRadius:"unset",borderTopRightRadius:8,borderBottomLeftRadius:8},bgMask:{position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"rgba(0,0,0,0.03)"},markText:{fontFamily:"AEShopCustomFont-Bold",fontWeight:"700",fontSize:28},addCart:{position:"absolute",right:0,bottom:0,paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12,width:88,height:88},addCartIcon:{width:64,height:64,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImgWrapper:{backgroundColor:"rgb(25,25,25)",width:64,height:64,borderRadius:32,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImg:{width:32,height:32,backgroundColor:"rgb(25,25,25)",marginTop:2,marginRight:2},addCartNum:{backgroundColor:"rgb(253,56,79)",color:"rgb(255,255,255)",position:"absolute",right:0,top:0,width:28,height:28,borderRadius:14,fontSize:20,textAlign:"center",borderWidth:"1px",borderStyle:"solid",borderColor:"rgb(255,255,255)"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Meta=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=e(4),r=d(e(71)),o=e(72),i=e(0),a=d(e(2)),l=d(e(1));function d(e){return e&&e.__esModule?e:{default:e}}exports.Meta=function(e){function d(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,e));return t.gdc=e.gdc,t.mode=e.mode,t.data=e.data,t.tagsMode=e.tagsMode,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(d,i.Component),t(d,[{key:"render",value:function(){if(!this.data)return null;var e=this.data,t=e.stars,d=e.sales;if(!t&&!d)return null;var s=r.default.itemMeta;return"3in1"===this.mode&&(s=r.default.itemMeta3in1),"2in1"===this.mode&&(s=r.default.itemMeta2in1),(0,i.createElement)(l.default,{style:s},!!d&&(0,i.createElement)(a.default,{style:(0,n.getRTLCSS)(this.gdc,r.default,"itemOrders")},d),(0,i.createElement)(o.Star,{gdc:this.gdc,num:t}))}}]),d}()},function(module,exports){module.exports={itemMeta:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemMeta3in1:{display:"flex",marginTop:0,flexDirection:"column",alignItems:"center",justifyContent:"center"},itemMeta2in1:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemOrders:{fontSize:24,color:"rgb(25,25,25)",marginRight:8,fontFamily:"AEShopCustomFont-Demibold",fontWeight:"600"},"itemOrders-rtl":{marginLeft:0,marginRight:0},topSelling:{display:"block"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Star=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=l(e(73)),r=e(0),o=l(e(6)),i=l(e(2)),a=l(e(1));function l(e){return e&&e.__esModule?e:{default:e}}exports.Star=function(e){function l(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,e));return t.gdc=e.gdc,t.num=e.num,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(l,r.Component),t(l,[{key:"render",value:function(){if(void 0===this.num||null===this.num)return null;var e=Math.floor(this.num);e>5&&(e=5);var t=5-e;return(0,r.createElement)(a.default,{style:n.default.starWrapper},Array(e).fill(1).map(function(){return(0,r.createElement)(o.default,{style:n.default.starImage,source:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAATCAYAAACdkl3yAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAE2SURBVHgBpVTBTQMxENxxlBMBHtcBpgKSZ8QDrgPoACoIqSCiE6gkIBTxBCrIleAPCOWSmPVGwPk455xjJEtre3Y09tpL1AA7O7hyo4mHrSLPe5rWai4TlRxjaPIQV20TYpHJb1zcUBtHnpsNDC3YVWYM7eRo1RlVVlJKFkFXYSHYi5rVkZ2maT39hTc+Ck6ymqdHvNbn2JF1XQJZPqLCKweG4zfOyUl1H2Bn+/NgUjyMYtVH+jdwDzlzUkzZap/aAHzMXjeT8rcWA+XUSwYYGCNVk7ehVpeysYsIksyJuOlP+TH8zGnZGVM8xuUv478jtdQUDetxfSHgjGIBdRIWstAUi7VfmIqjStXk8nEt428htE/9NlP+7S7J4han73dlsjQ42Ak/4o1IqEdJN3w6PKcG1HXNLyUobuoTnHiPAAAAAElFTkSuQmCC"},autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1})}),Array(t).fill(1).map(function(){return(0,r.createElement)(o.default,{style:n.default.starImage,source:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKKADAAQAAAABAAAAKAAAAAB65masAAAC9UlEQVRYCc2Y2ZHaQBCGLSAAOQKLCAzF8WrIYB2B5QjWGaw3AxOBtSFsBOy+chTKYHEE1juX/18lUbMj9SCNJMNUUXP29Det7pYG50NNZbVa3WOrn47jRKiDwWDwWMfWTh2bLJfLCcDm6l6n02k6Go1e1DGbdstGSJdptVrf9DEAP+hjNv3KFtxsNt7hcHjLU95ut7v9fn+bN1d0rLIFj8ejaCmA/ygKIq2rZEGT9RKFUWJFBo5VqWRBWC/jexqFu9/vK1mxEiBgfA0o00Ww3MPSbmai4IA14Hq99pFKvAJ6aEW/wLrcJdaA2E0MDl0T0hCTuFWxAixhvRiKlmYytyG0AoTCS8GRYbFN3BfTDB18t9t5SBc9RK0LRV+g/S5DUGAAsgH2+IM6xCGjTqcTIpEbU1AMSAgk1QkfBfzlE2voS3/WEViAmUsIuOUP4FseAO0Q8Fu+hRx8hdAav/FrGgQqyhU8Nd+Bw78lFisn/X9WRy3A3Zzl1LMzip/UgVtqw3izOEjghwHASqeOhg/zNBwO/RiQigA5RzVh+wZKCLg+Oc6JGhHzFf3wFuDAMk05zhbkAPKhhzw0v1ZUMw8iD0/Vr/B3gNeEzIMjTwbwGpASnAjIicVi0YO5GThN50leC/BU8y9X5yAhlFrG43EIf6SzRup43W3qkOCoSwTkJCFRvbDdREEwPic6xO2NgImUJ0pXnIDvfb60RW6QpELJZ9jftN9EDf/7iEcsupHRgrjs9JqAUvfkx7Da19tGQCxuHBAWNOowAsJHPP1EdfcRKPaAgLnoxDUAG3UYLQjlxtPVAMctjDpEQL5JIOyWhIj42iop4/IjRZIRAfGaE4VyNovgS49w+C7++u0C8nsZUNwoRSt2cpTFQ3ReKJGm03GCzXBF/KXmMkAGWBDwHwjUD1jjoRaLaV4EBJwn7oj3cx6Yvr4oKJ6WGCgiIAB4kdZ1FgLThQqAvuoyaT9DkE6wVi5TIWBniSJ1iVVbefQMwmdejqSN/gHVRDr0HXEQwAAAAABJRU5ErkJggg=="},autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1})}),(0,r.createElement)(i.default,{style:n.default.starText},this.num?""+(+this.num).toFixed(1):"-"))}}]),l}()},function(module,exports){module.exports={starWrapper:{display:"flex",flexDirection:"row",alignItems:"center",position:"relative"},starText:{color:"rgb(25,25,25)",fontSize:24,fontFamily:"AEShopCustomFont",fontWeight:"450",marginRight:4},starImage:{width:18,height:18,marginRight:4}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Price=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(16),o=e(4),i=s(e(75)),a=e(0),l=s(e(2)),d=s(e(1));function s(e){return e&&e.__esModule?e:{default:e}}exports.Price=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return t.mode=e.mode,t.gdc=e.gdc,t.data=e.data,t.priceMode=e.priceMode,t.modsStyle=e.data.modsStyle||e.modsStyle,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,a.Component),n(s,[{key:"render",value:function(){var e=this;if(!this.data)return null;var n=(this.mode,30);this.mode;if("tpp"===this.priceMode){if(!this.data.prices)return null;var s=(0,r.getTppOldPrice)(this.data.prices,this.modsStyle,this.gdc)||{},c=s.salePrice,u=s.originalPrice;return c||u?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",marginRight:8,color:"#191919",alignItems:"center"}},c&&c.map(function(r){return(0,a.createElement)(l.default,{style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:"#191919",fontSize:n})},r.text)}))):null}if(!this.data.prices&&!this.data.priceLocalInfo)return null;var f=(0,r.getNewPrice)(this.data.priceLocalInfo,this.data.priceLocalConfig,this.gdc)||{},p=f.currentPrice;f.subPrice;return p?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",marginRight:8,alignItems:"center"}},p&&p.map(function(r,d){return(0,a.createElement)(l.default,{key:d,style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:"#191919",fontSize:n})},r.text)}))):null}}]),s}()},function(module,exports){module.exports={priceWrapper:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",marginRight:8,flexWrap:"nowrap"},"priceWrapper-rtl":{marginRight:0,marginLeft:8},priceWrapper2in1:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",flexWrap:"nowrap"},"priceWrapper2in1-rtl":{marginRight:0,marginLeft:8},priceWrapper3in1:{display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",flexDirection:"row",flexWrap:"wrap"},"priceWrapper3in1-rtl":{marginRight:0,marginLeft:8},priceText:{color:"rgb(25,25,25)",fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"},"priceText-rtl":{},subPriceText:{color:"rgb(151,151,151)",fontFamily:"AEShopCustomFont",fontWeight:"450",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0},"subPriceText-rtl":{}}},function(module,exports){module.exports={cardWrapper:{boxSizing:"border-box",display:"block",position:"relative",borderRadius:8,fontFamily:"AEShopCustomFont"},"cardWrapper-rtl":{direction:"rtl"},cardInner:{boxSizing:"border-box",display:"block",position:"relative",height:"100%",cursor:"pointer",textDecoration:"none"},cardInnerHoz:{flexDirection:"row",boxSizing:"border-box",display:"flex",position:"relative",cursor:"pointer",height:"100%",textDecoration:"none"},cardContent:{paddingTop:8,paddingLeft:8,paddingRight:8,paddingBottom:16,flexShrink:1,backgroundColor:"rgb(245,245,245)",borderBottomLeftRadius:8,borderBottomRightRadius:8},cardContentHoz:{paddingTop:0,paddingRight:8,flexShrink:1,width:418,height:268,position:"relative"},itemTitle:{fontSize:24,color:"rgb(25,25,25)",wordBreak:"break-all",textOverflow:"ellipsis",fontFamily:"AEShopCustomFont",fontWeight:"450"},itemTitleHoz:{width:410,fontSize:23,marginTop:7,marginRight:0,marginBottom:3,marginLeft:0},itemTitle3in1:{width:210,marginTop:2,marginRight:0,marginBottom:4,marginLeft:0},itemTitle2in1:{width:327,marginTop:0,marginRight:0,marginBottom:4,marginLeft:0},hozMeta:{flexDirection:"row",alignItems:"flex-end",paddingTop:6,paddingRight:0,paddingBottom:12,paddingLeft:0,flexWrap:"wrap",position:"absolute",bottom:0,left:0,width:410}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=i(e(78)),r=i(e(79)),o=i(e(81));function i(e){return e&&e.__esModule?e:{default:e}}var a=function(){function e(t){var i=this;(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.options=t;var a=this.options,l=a.isRtl,d=a.locale,s=a.fetcher,c=a.onOk,u=a.onCancel,f=new n.default(d),p=navigator.userAgent.match(/.*(iPhone|iPad|Android|ios|SymbianOS|Windows Phone).*/i),g=document.createElement("div");g.className="J_SAFETY_FILER_MODAL",g.style.cssText=["z-index:2147483647","position: fixed","top:0","right:0","bottom:0","left:0","background: rgba(0,0,0,.7)","color: #191919","display: block",l?"direction: rtl":""].join(";");var m=new r.default(p,l,f,function(){var e={success:!0,errMsg:""},t=function(){c&&c(e),i.hide()};s({api:"mtop.ae.dsa.authorized.save",v:"1.0",appKey:"24815441",data:{site:"AE",tenant:"AE_GLOBAL",terminal:p?"MSITE":"PC",deviceId:(0,o.default)("cna"),itemList:'[{"scene":"RISK","subScenes":[{"scene":"RISK.SAFETY_FILTER","isAgree":"false"}]}]'}}).then(t).catch(function(){e.success=!1,e.errMsg=f.get("errMsg"),t()})},function(){u&&u(),i.hide()});g.appendChild(m.node),this.node=g}return t(e,[{key:"show",value:function(){document.body.appendChild(this.node),this.options.onShow&&this.options.onShow(this.node)}},{key:"hide",value:function(){document.body.removeChild(this.node)}}]),e}();exports.default=a,module.exports=exports.default},function(module,exports){var e=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();Object.defineProperty(exports,"__esModule",{value:!0});var t={en_US:{title:"Notifications",description:"Display may include products appropriate only for adults. Please confirm:",pcOkButton:"Confirm",pcCancelButton:"Cancel",h5OkButton:"Yes, I want to see.",h5CancelButton:"No, I don't want to see. ",info1:"You can change this option by going to",info2:"Buyer center >Safety filter",errMsg:"Network problem. Please retry."},es_ES:{title:"Notificaciones",description:"La visualización puede incluir artículos apropiados solo para adultos. Por favor, confirma:",pcOkButton:"Confirmar",pcCancelButton:"Cancelar",h5OkButton:"Si, quiero verlo.",h5CancelButton:"No lo quiero ver.",info1:"Puedes cambiar esta opción yendo a",info2:"Centro del comprador >Filtro de seguridad",errMsg:"Problema de red. Por favor, inténtalo de nuevo."},nl_NL:{title:"Meldingen",description:"De weergave kan items bevatten die alleen geschikt zijn voor volwassenen. Gelieve te bevestigen:",pcOkButton:"Bevestigen",pcCancelButton:"Annuleren",h5OkButton:"Ja, ik wil deze bekijken.",h5CancelButton:"Nee, ik wil deze niet bekijken.",info1:"U kunt deze optie wijzigen door te gaan naar",info2:"Koperscentrum >Veiligheidsfilter",errMsg:"Netwerkprobleem. Probeer het opnieuw."},pl_PL:{title:"Powiadomienia",description:"Wśród wyświetlanych produktów mogą znajdować się artykuły odpowiednie tylko dla osób dorosłych. Potwierdź:",pcOkButton:"Potwierdź",pcCancelButton:"Anuluj",h5OkButton:"Tak, chcę zobaczyć produkty.",h5CancelButton:"Nie, nie chcę zobaczyć produktów.",info1:"Możesz zmienić tę opcję, przechodząc do",info2:"Centrum kupującego > Filtr bezpieczeństwa",errMsg:"Problem z siecią. Spróbuj ponownie."},uk_UA:{title:"Сповіщення",description:"Можуть бути показані, зокрема, товари, призначені лише для дорослих. Підтвердьте:",pcOkButton:"Підтвердити",pcCancelButton:"Скасувати",h5OkButton:"Так, я хочу подивитися.",h5CancelButton:"Ні, я не хочу дивитися.",info1:"Щоб змінити це налаштування, перейдіть сюди:",info2:'"Центр покупців" > "Фільтр безпеки"',errMsg:"Проблема з мережею. Повторіть спробу."},tr_TR:{title:"Bildirimler",description:"Yalnızca yetişkinler için uygun olan ürünler görüntülenebilir. Lütfen onaylayın:",pcOkButton:"Onayla",pcCancelButton:"İptal et",h5OkButton:"Evet, görmek istiyorum.",h5CancelButton:"Hayır, görmek istemiyorum.",info1:"Şuraya giderek bu seçeneği değiştirebilirsiniz:",info2:"Alıcı merkezi > Güvenlik filtresi",errMsg:"Ağ sorunu. Lütfen tekrar deneyin."},ar_AR:{title:"الإشعارات",description:"قد يشمل العرض منتجات مناسبة للكبار فقط. الرجاء التأكيد:",pcOkButton:"تأكيد",pcCancelButton:"إلغاء",h5OkButton:"نعم، أريد رؤيتها.",h5CancelButton:"لا، لا أريد رؤيتها.",info1:"يمكنك تغيير هذا الخيار عن طريق الذهاب إلى",info2:"مركز المشتري> مرشح الأمان",errMsg:"مشكلة في الشبكة. يرجى إعادة المحاولة."},it_IT:{title:"Notifiche",description:"La visualizzazione può contenere articoli adatti solo agli adulti. Confermare:",pcOkButton:"Conferma",pcCancelButton:"Annulla",h5OkButton:"Sì, voglio vedere. ",h5CancelButton:"No, non voglio vedere. ",info1:"Puoi cambiare questa opzione tramite",info2:"Centro acquirente> filtro di sicurezza",errMsg:"Problema di rete. Prova di nuovo."},fr_FR:{title:"Notifications",description:"Des articles destinés aux adultes uniquement peuvent apparaître. Veuillez confirmer :",pcOkButton:"Confirmer",pcCancelButton:"Abbrechen",h5OkButton:"Oui, je veux voir",h5CancelButton:"Non, je ne veux pas voir",info1:"Vous pouvez changer cette option en allant dans",info2:"Compte > Filtre de sécurité",errMsg:"Problème de réseau. Veuillez réessayer."},de_DE:{title:"Benachrichtigungen",description:"Der angezeigt Inhalt kann Elemente enthalten, die nur für Erwachsene geeignet sind. Möchten Sie es wirklich anzeigen lassen?",pcOkButton:"Bestätigen",pcCancelButton:"Abbrechen",h5OkButton:"Ja, möchte ich.",h5CancelButton:"Nein, möchte ich nicht.",info1:"Sie können diese Option ändern unter",info2:"Käufercenter -> Sicherheitsfilter",errMsg:"Netzwerkproblem. Bitte versuchen Sie es erneut."},ru_RU:{title:"Уведомления",description:"Могут быть показаны товары, предназначенные только для взрослых. Пожалуйста, подтвердите:",pcOkButton:"Подтвердить",pcCancelButton:"Отменить",h5OkButton:"Да, я хочу посмотреть.",h5CancelButton:"Нет, я не хочу смотреть.",info1:"Вы можете изменить этот параметр, перейдя в",info2:"«Центр покупателей» > «Фильтр безопасности»",errMsg:"Ошибка сети. Пожалуйста повторите попытку."}},n=function(){function n(e){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,n),this.locale=t[e]?e:"en_US"}return e(n,[{key:"get",value:function(e){return t[this.locale][e]||""}}]),n}();exports.default=n,module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t,n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(80),o=(t=r)&&t.__esModule?t:{default:t};var i=function(){function e(t,n,r,i,a){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.isMobile=t,this.isRtl=n,this.i18n=r,this.onOk=i,this.onCancel=a;var l=document.createElement("div");l.style.cssText=["position: absolute","top: 50%","left: 50%","transform: translate(-50%, -50%)","background-color: #ffffff","border-radius: "+(this.isMobile?(0,o.default)(24):"16px"),"width: "+(this.isMobile?(0,o.default)(590):"520px")].join(";"),l.appendChild(this.getHeader()),l.appendChild(this.getDescription()),l.appendChild(this.getButtons()),l.appendChild(this.getInfo()),this.node=l}return n(e,[{key:"getHeader",value:function(){var e=document.createElement("div");e.style.cssText=["position: relative","width: 100%","height: "+(this.isMobile?(0,o.default)(104):"56px"),"font-size: "+(this.isMobile?(0,o.default)(36):"20px"),"font-weight: 700","line-height: "+(this.isMobile?(0,o.default)(104):"56px"),"text-align: "+(this.isMobile?this.isRtl?"right":"left":"center")].join(";");var t=document.createElement("span");t.innerHTML=this.i18n.get("title"),t.style.cssText=["margin-"+(this.isRtl?"right":"left")+": "+(this.isMobile?(0,o.default)(32):0)].join(";");var n=document.createElement("img");return n.src=this.isMobile?"https://img.alicdn.com/imgextra/i2/O1CN01dzR7s21ysQS4SZlhS_!!6000000006634-2-tps-96-96.png":"https://img.alicdn.com/imgextra/i1/O1CN01aKOmHE26qbo6gMPVj_!!6000000007713-2-tps-48-49.png",n.style.cssText=["position: absolute","top: "+(this.isMobile?(0,o.default)(32):"16px"),(this.isRtl?"left":"right")+": "+(this.isMobile?(0,o.default)(24):"16px"),"width: "+(this.isMobile?(0,o.default)(48):"24px"),"height: "+(this.isMobile?(0,o.default)(48):"24px"),"cursor: pointer"].join(";"),n.addEventListener("click",this.onCancel,!1),e.appendChild(t),e.appendChild(n),e}},{key:"getDescription",value:function(){var e=document.createElement("div");e.style.cssText=["font-size: "+(this.isMobile?(0,o.default)(26):"16px"),"font-weight: 450","padding: "+(this.isMobile?"0 "+(0,o.default)(32)+" "+(0,o.default)(24):"16px 32px")].join(";");var t=document.createElement("span");return t.innerHTML=this.i18n.get("description"),e.appendChild(t),e}},{key:"getButtons",value:function(){var e=document.createElement("div");e.style.cssText=["display: flex","flex-direction: column","padding: 16px 32px 32px","align-items: center"].join(";");var t=document.createElement("div");t.innerHTML=this.i18n.get("h5OkButton"),t.style.cssText=["display: flex","align-items: center","justify-content: center","border: 2px solid "+(this.isMobile?"#191919":"#000000"),"border-radius: "+(this.isMobile?(0,o.default)(40):"24px"),"width: "+(this.isMobile?(0,o.default)(526):"400px"),"height: "+(this.isMobile?(0,o.default)(64):"48px"),"font-size: "+(this.isMobile?(0,o.default)(24):"18px"),"font-weight: 700","text-align: center","cursor: pointer"].join(";"),t.addEventListener("click",this.onOk,!1);var n=document.createElement("div");return n.innerHTML=this.i18n.get("h5CancelButton"),n.style.cssText=["display: flex","align-items: center","justify-content: center","margin-top: "+(this.isMobile?(0,o.default)(16):"16px"),"border: 2px solid "+(this.isMobile?"#191919":"#000000"),"border-radius: "+(this.isMobile?(0,o.default)(40):"24px"),"width: "+(this.isMobile?(0,o.default)(526):"400px"),"height: "+(this.isMobile?(0,o.default)(64):"48px"),"font-size: "+(this.isMobile?(0,o.default)(24):"18px"),"font-weight: 700","text-align: center","cursor: pointer"].join(";"),n.addEventListener("click",this.onCancel,!1),e.appendChild(t),e.appendChild(n),e}},{key:"getInfo",value:function(){var e=document.createElement("div");e.style.cssText=["text-align: "+(this.isMobile?this.isRtl?"right":"left":"center"),"color: #979797","font-weight: 450","font-size: "+(this.isMobile?(0,o.default)(24):"14px"),"padding: "+(this.isMobile?(0,o.default)(24):"24px")].join(";");var t=document.createElement("span");return t.innerHTML=this.i18n.get("info1")+"<br/>"+this.i18n.get("info2"),e.appendChild(t),e}}]),e}();exports.default=i,module.exports=exports.default},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(e){return 100/750*e+"vw"},module.exports=exports.default},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(e){var t=new RegExp("(?:(?:^|.*;\\s*)"+encodeURIComponent(e)+"\\s*\\=\\s*([^;]*).*$)|^.*$");return decodeURIComponent(document.cookie.replace(t,"$1"))||""},module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(7),o=e(8),i=e(4),a=e(83),l=e(85),d=e(87),s=e(91),c=h(e(93)),u=h(e(96)),f=e(14),p=e(0),g=h(e(2)),m=h(e(1));function h(e){return e&&e.__esModule?e:{default:e}}var y=function(e){function h(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,e));return n.getProductUrl=function(e,t){var n=[];return t&&(t.detailPage&&Object.keys(t.detailPage).forEach(function(e){n.push({key:e,value:encodeURIComponent(t.detailPage[e])})}),t.pdpParams&&["pdp_ext_f","pdp_pi"].forEach(function(e){t.pdpParams[e]&&n.push({key:e,value:t.pdpParams[e]})})),"https://www.aliexpress.com/item/"+e+".html?"+n.map(function(e){return e.key+"="+e.value.substring(0,131072)}).join("&")},n.goTargetUrl=function(e,t,o){e||(e=n.getProductUrl(t,n.data.trace));var i=n.gdc,a=i.spm_cnt,l=i.pageId,d=i.pageName,s=i.sellerId,c=i.shopId,u=i.userId,p=n.mds,g=p.widgetId,m=p.moduleName,h={url:e,nid:t||0,widgetId:g,moduleName:m,target:o||null};n.data.utLogMap&&(0,f.sendClickUT)(a+"."+m,"",l,d,"Product_Click_Event",{seller_id:""+s,shop_id:""+c,user_id:""+u,utLogMap:n.data.utLogMap}),n.pageUtils.goTargetUrl?n.pageUtils.goTargetUrl(h):(0,r.openWindow)(e)},n.renderHozCard=function(){var e=n.data,r=e.id,o=e.url,a=e.title;return(0,p.createElement)(m.default,t({},n.expProps,{style:t({},(0,i.getRTLCSS)(n.gdc,u.default,"cardWrapper"),n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,p.createElement)(f.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,p.createElement)(m.default,t({},n.clkProps,{style:u.default.cardInnerHoz,onClick:function(){n.goTargetUrl(o,r)}}),(0,p.createElement)(l.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:268,showAddCart:n.showAddCart}),(0,p.createElement)(m.default,{style:u.default.cardContentHoz},!!a&&(0,p.createElement)(g.default,{style:t({},u.default.itemTitle,u.default.itemTitleHoz),numberOfLines:2},a.split("").join("\ufeff")),(0,p.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode}),(0,p.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"selling",mode:n.mode}),(0,p.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"shipping",mode:n.mode}),(0,p.createElement)(m.default,{style:u.default.hozMeta},(0,p.createElement)(s.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,tagsMode:n.tagsMode,data:n.data}),(0,p.createElement)(d.Meta,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data})))))},n.render2In1Card=function(){var e=n.data,r=e.id,o=e.url,a=e.title;return(0,p.createElement)(m.default,t({},n.expProps,{style:t({},(0,i.getRTLCSS)(n.gdc,u.default,"cardWrapper"),{width:343},n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,p.createElement)(f.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,p.createElement)(m.default,t({},n.clkProps,{style:n.state.showShadow?u.default.cardInnerWithShadow:u.default.cardInner,onClick:function(){n.goTargetUrl(o,r)}}),(0,p.createElement)(l.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:343,showAddCart:n.showAddCart}),(0,p.createElement)(m.default,{style:u.default.cardContent},(0,p.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode,titleMode:!0,title:a}),(0,p.createElement)(m.default,{style:u.default.priceMeta},(0,p.createElement)(s.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,tagsMode:n.tagsMode,data:n.data}),(0,p.createElement)(d.Meta,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,mode:n.mode})),(0,p.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"selling+shipping",mode:n.mode}))))},n.render3In1Card=function(){var e=n.data,r=e.id,o=e.url,c=e.title;return(0,p.createElement)(m.default,t({},n.expProps,{style:t({},(0,i.getRTLCSS)(n.gdc,u.default,"cardWrapper"),{width:226},n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,p.createElement)(f.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,p.createElement)(m.default,t({},n.clkProps,{style:u.default.cardInner,onClick:function(){n.goTargetUrl(o,r)}}),(0,p.createElement)(l.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:226,showAddCart:n.showAddCart}),(0,p.createElement)(m.default,{style:u.default.cardContent},!!c&&(0,p.createElement)(g.default,{style:t({},u.default.itemTitle,u.default.itemTitle3in1),numberOfLines:1},c.split("").join("\ufeff")),(0,p.createElement)(d.Meta,{mode:n.mode,gdc:n.gdc,tagsMode:n.tagsMode,data:n.data}),(0,p.createElement)(s.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,tagsMode:n.tagsMode,data:n.data}),(0,p.createElement)(a.Discount,{data:n.data}))))},n.pageUtils=e.pageUtils||{},n.gdc=e.gdc||{},n.mds=e.mds||{},n.mode=e.mode||"2in1",n.modsStyle=e.modsStyle||{},n.priceMode=e.priceMode||"shop",n.tagsMode=e.tagsMode||"shop",n.showAddCart=e.showAddCart||!1,n.data=e.data,n.data.modsStyle&&(n.modsStyle=n.data.modsStyle),(0,o.debug)("data",n.data),n.expProps=e.expProps||{},n.clkProps=e.clkProps||{},n.style=e.style||{},n.state={},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(h,p.Component),n(h,[{key:"render",value:function(){return this.data?"2in1"===this.mode?this.render2In1Card():"3in1"===this.mode?this.render3In1Card():this.renderHozCard():null}}]),h}();exports.default=y,module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Discount=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=a(e(84)),r=e(0),o=a(e(2)),i=a(e(1));function a(e){return e&&e.__esModule?e:{default:e}}exports.Discount=function(e){function a(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return t.data=e.data,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r.Component),t(a,[{key:"render",value:function(){return this.data.discount&&"0"!==this.data.discount&&"undefined"!==this.data.discount&&"null"!==this.data.discount?(0,r.createElement)(i.default,{style:n.default.container},(0,r.createElement)(i.default,{style:n.default.discount},(0,r.createElement)(o.default,{style:n.default.text},this.data.discount))):null}}]),a}()},function(module,exports){module.exports={container:{display:"flex",flexDirection:"row",marginTop:8},discount:{height:38,borderRadius:19,backgroundColor:"rgb(211,3,28)",paddingTop:0,paddingRight:20,paddingBottom:0,paddingLeft:20,display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center"},text:{color:"rgb(255,255,255)",fontSize:20,fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Image=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(15),o=e(4),i=c(e(86)),a=e(0),l=c(e(6)),d=c(e(2)),s=c(e(1));function c(e){return e&&e.__esModule?e:{default:e}}exports.Image=function(e){function c(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,e));return t.gdc=e.gdc,t.data=e.data,t.mode=e.mode,t.showAddCart=e.showAddCart||!1,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(c,a.Component),n(c,[{key:"render",value:function(){if(!this.data)return null;var e=this.data,n=e.image,c=e.title,u=e.cornorMark||{},f=u.value,p=u.color,g=u.bgColor,m=268;return"2in1"===this.mode&&(m=343),"3in1"===this.mode&&(m=226),"2in1"===this.mode&&this.data.discount&&"0"!==this.data.discount&&"undefined"!==this.data.discount&&"null"!==this.data.discount&&(f=this.data.discount,g="#FD384F",p="#ffffff"),(0,a.createElement)(s.default,{style:"2in1"===this.mode||"3in1"===this.mode?i.default.imgOuter:(0,o.getRTLCSS)(this.gdc,i.default,"imgOuterHoz")},(0,a.createElement)(s.default,{style:t({},i.default.imgWrapper,{width:m,height:m})},(0,a.createElement)(l.default,{style:t({},i.default.itemImg,{width:m,height:m}),source:{uri:n},alt:c,autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1,resizeMode:"cover"}),(0,a.createElement)(s.default,{style:t({},i.default.bgMask,{width:m,height:m})}),!!f&&(0,a.createElement)(s.default,{style:t({},(0,o.getRTLCSS)(this.gdc,i.default,"mark"),{backgroundColor:g||"#FD384F"})},(0,a.createElement)(d.default,{style:t({},i.default.markText,{color:p||"#ffffff"})},f)),this.showAddCart&&(0,a.createElement)(r.AddCart,{data:this.data,gdc:this.gdc})))}}]),c}()},function(module,exports){module.exports={imgOuter:{overflow:"hidden"},imgOuterHoz:{flex:"0 0 auto",marginRight:16,overflow:"hidden"},"imgOuterHoz-rtl":{marginRight:0,marginLeft:16},imgWrapper:{position:"relative",outline:"none",borderStyle:"none",textDecoration:"none",borderRadius:8,overflow:"hidden"},itemImg:{display:"block",position:"relative",userSelect:"none",pointerEvents:"none",outline:"none",borderStyle:"none",objectFit:"cover"},mark:{position:"absolute",left:0,top:0,height:48,paddingTop:0,paddingRight:12,paddingBottom:0,paddingLeft:12,borderTopLeftRadius:8,borderBottomRightRadius:8,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"mark-rtl":{left:"unset",right:0,borderTopLeftRadius:"unset",borderBottomRightRadius:"unset",borderTopRightRadius:8,borderBottomLeftRadius:8},bgMask:{position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"rgba(0,0,0,0.04)"},markText:{fontFamily:"AEShopCustomFont-Bold",fontWeight:"700",fontSize:28},addCart:{position:"absolute",right:0,bottom:0,paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12,width:88,height:88},addCartIcon:{width:64,height:64,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImgWrapper:{backgroundColor:"rgb(25,25,25)",width:64,height:64,borderRadius:32,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImg:{width:32,height:32,backgroundColor:"rgb(25,25,25)",marginTop:2,marginRight:2},addCartNum:{backgroundColor:"rgb(253,56,79)",color:"rgb(255,255,255)",position:"absolute",right:0,top:0,width:28,height:28,borderRadius:14,fontSize:20,textAlign:"center",borderWidth:"1px",borderStyle:"solid",borderColor:"rgb(255,255,255)"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Meta=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=e(4),r=d(e(88)),o=e(89),i=e(0),a=d(e(2)),l=d(e(1));function d(e){return e&&e.__esModule?e:{default:e}}exports.Meta=function(e){function d(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,e));return t.gdc=e.gdc,t.mode=e.mode,t.data=e.data,t.tagsMode=e.tagsMode,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(d,i.Component),t(d,[{key:"render",value:function(){if(!this.data)return null;var e=this.data,t=e.stars,d=e.sales;if(!t&&!d)return null;var s=r.default.itemMeta;return"3in1"===this.mode&&(s=r.default.itemMeta3in1),"2in1"===this.mode&&(s=r.default.itemMeta2in1),(0,i.createElement)(l.default,{style:s},!!d&&(0,i.createElement)(a.default,{style:(0,n.getRTLCSS)(this.gdc,r.default,"itemOrders")},d),(0,i.createElement)(o.Star,{gdc:this.gdc,num:t}))}}]),d}()},function(module,exports){module.exports={itemMeta:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemMeta3in1:{display:"flex",alignItems:"center",marginTop:0,flexDirection:"row",flexWrap:"wrap"},itemMeta2in1:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemOrders:{fontSize:22,color:"rgb(151,151,151)",marginRight:8,fontFamily:"AEShopCustomFont",fontWeight:"450"},"itemOrders-rtl":{marginLeft:0,marginRight:0},topSelling:{display:"block"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Star=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=l(e(90)),r=e(0),o=l(e(6)),i=l(e(2)),a=l(e(1));function l(e){return e&&e.__esModule?e:{default:e}}exports.Star=function(e){function l(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,e));return t.gdc=e.gdc,t.num=e.num,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(l,r.Component),t(l,[{key:"render",value:function(){return this.num?+this.num<.1?null:(0,r.createElement)(a.default,{style:n.default.starWrapper},(0,r.createElement)(o.default,{style:n.default.starImage,source:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAAoCAYAAABjPNNTAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKaADAAQAAAABAAAAKAAAAAD9QK3vAAAC+ElEQVRYCdWY3ZHaMBDHzya8u4OYCkIqiHlkGD5cQXwV5KgA6ICr4JIKGGAYHs8lUIJKcJ75yn8dKyN0lmTLhnGY8ehjV6ufVl5pzdPTf/Bz6mJcrVZeq9WKrter57puPBwO47ps1wK53W4ngHsDlCeALUej0VRoW1crQ8KDPjz37jiOL1MAfDEej+dyf9m2W3aArI8tDvIASQ/9P2R9m3ZlSHhrppnYw6sQaOSFRJUgCUDlRT67YRFcTVtWggTAd631v8Jgt9t1C+gpVawhKWBgNVJaFgSn02kiNEtXrSERMIWDggKIztHSdNkAa0hsdRnvpAf9QyERMDNTwOQAWXuz1GFOW4ZtpiPnJQeiSBfD4p7LXpn/ICkCz+dzFzN52EoPxj5ndZ9KtOmdoqeWH+ZgMJTAbkIlHoa+32jTQpi4kBRys9m8QSnC06Qfw66Fg8Hg4ND7hRXMm0QnsCTY3Y57uVwiobNpVYqBiYv995tGJvF4dE7GUmejmnDigTy5aBSVAINYeaUoT6M7O37eIa/tiBHmsqoSIBLmFxqcXosU5oiirxAwK4s1DwIHZfQpIJlOPcnnwI2i/BTgOg8op/g2Worz3ECSILv66HCfiIoPqNPtE4o3DZ/zAyQXrNfrJQYVTsf4OMuStdvtXr/fZ3njlZCk/CBQLSBxaPNJ3EZz6CSkeMffQuVBPqcWMgxDAjxw5XuUOFWM9rWQ94CysVkEsmtjuOgYJBCBSVcLmX3YeyYjVeT4i+aLabwWEif/Xb1IcAjOoBIkzslvJgM1yP39fu/r7Gg9iVXe3ZMEdzweAytIyozgSV83uC6Z6bX6pJoo+3JUiVX9MQQJTVpygdrXSrndptVJlDHu3g6ylx6eEGlWB/IpbDBJL7eJBXUpsckVolMJCZlykGCMvpEJ7ENyQOkW3ukeQH8J+lZVJSTOr586i5h8QYlyXmrFx+FaZfBqhIWEBq/G2RXMh96Uzk1LaiiyINraZ1NSIJlKm7A3B/BMkhmzoD/dvA/269VBNwAAAABJRU5ErkJggg=="},autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1}),(0,r.createElement)(i.default,{style:n.default.starText},""+(+this.num).toFixed(1))):null}}]),l}()},function(module,exports){module.exports={starWrapper:{display:"flex",flexDirection:"row",alignItems:"center",position:"relative"},starText:{color:"rgb(151,151,151)",fontSize:22,fontFamily:"AEShopCustomFont",fontWeight:"450"},starImage:{width:20,height:20,marginRight:4}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Price=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(16),o=e(4),i=s(e(92)),a=e(0),l=s(e(2)),d=s(e(1));function s(e){return e&&e.__esModule?e:{default:e}}exports.Price=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return t.getPriceColor=function(){if(t.data&&t.data.config&&t.data.config.prices){var e=t.data.config.prices.color;if(e)return e}var n="#191919";if("tpp"===t.tagsMode){for(var r,o=t.data.sellingPoints||[],i=0;i<o.length;i++)if((r=o[i])&&r.source&&/hundreds_of_billions/gi.test(r.source)){n="#FD384F";break}}else if("shop"===t.tagsMode)for(var a,l=t.data.atmosphere||[],d=0;d<l.length;d++)if((a=l[d])&&a.atmosphereDTOList)for(var s,c=a.atmosphereDTOList,u=void 0===c?[]:c,f=0;f<u.length;f++)if((s=u[f])&&s.atmosphereCode&&/hundreds_of_billions/gi.test(s.atmosphereCode)){n="#FD384F";break}return n},t.mode=e.mode,t.gdc=e.gdc,t.data=e.data,t.priceMode=e.priceMode,t.tagsMode=e.tagsMode,t.modsStyle=e.data.modsStyle||e.modsStyle,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,a.Component),n(s,[{key:"render",value:function(){var e=this;if(!this.data)return null;var n="3in1"===this.mode?26:28;this.mode;if("tpp"===this.priceMode){if(!this.data.prices)return null;var s=(0,r.getTppOldPrice)(this.data.prices,this.modsStyle,this.gdc)||{},c=s.salePrice,u=s.originalPrice;return c||u?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",marginRight:8,color:this.getPriceColor(),alignItems:"center"}},c&&c.map(function(r){return(0,a.createElement)(l.default,{style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:e.getPriceColor(),fontSize:n})},r.text)}))):null}if(!this.data.prices&&!this.data.priceLocalInfo)return null;var f=((0,r.getNewPrice)(this.data.priceLocalInfo,this.data.priceLocalConfig,this.gdc)||{}).currentPrice;return f?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",marginRight:8,alignItems:"center"}},f&&f.map(function(r,d){return(0,a.createElement)(l.default,{key:d,style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:e.getPriceColor(),fontSize:n})},r.text)}))):null}}]),s}()},function(module,exports){module.exports={priceWrapper:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",marginRight:8,flexWrap:"nowrap"},"priceWrapper-rtl":{marginRight:0,marginLeft:8},priceWrapper2in1:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",flexWrap:"nowrap"},"priceWrapper2in1-rtl":{marginRight:0,marginLeft:8},priceWrapper3in1:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",marginRight:8,flexWrap:"wrap"},"priceWrapper3in1-rtl":{marginRight:0,marginLeft:8},priceText:{color:"rgb(25,25,25)",fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"},"priceText-rtl":{},subPriceText:{color:"rgb(151,151,151)",fontFamily:"AEShopCustomFont",fontWeight:"450",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0},"subPriceText-rtl":{}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(8),o=e(4),i=e(21),a=f(e(95)),l=e(0),d=f(e(6)),s=f(e(2)),c=f(e(1)),u=e(3);function f(e){return e&&e.__esModule?e:{default:e}}function p(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var g=function(e){function f(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f);var n,p=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(f.__proto__||Object.getPrototypeOf(f)).call(this,e));return p.renderTag=function(e,n){if((e.tagImgUrl||e.value)&&e.height&&+e.height>30){var r=+e.height,f=+e.width;e.height=30,e.width=f/r*30}if(e)switch(e.materialCode){case"search_item_text_icon":var g=(30*(+e.width+8)/+e.height||30)+6,m=(0,i.getSpaceFromIndent)(g);return{tagWidth:p.tagContainerWidth,tagHeight:30,TagComponent:(0,l.createElement)(c.default,{key:n,style:t({},a.default.withIcon,{width:p.tagContainerWidth,flexDirection:p.isAndroidRTL?"row":a.default.withIcon.flexDirection})},(0,l.createElement)(d.default,{style:t({},(0,o.getRTLCSS)(p.gdc,a.default,"tagImg"),a.default.withIconImg,{width:+e.width+1,height:+e.height+1,left:(0,o.isRTL)(p.gdc)?null:0,right:(0,o.isRTL)(p.gdc)?0:null}),source:{uri:e.tagImgUrl||e.value},autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1}),u.isWeex?(0,l.createElement)(s.default,{style:t({},a.default.tagText,p.textStyle,{color:e.tagStyle&&e.tagStyle.color||p.textStyle.color,width:p.isAndroidRTL?null:p.tagContainerWidth}),numberOfLines:p.isAndroidRTL?1:2},(""+m+e.tagText+(p.isAndroidRTL?m:"")).split("").join("\ufeff")):(0,l.createElement)(s.default,{style:t({},a.default.tagText,p.textStyle,{textIndent:g,color:e.tagStyle&&e.tagStyle.color||p.textStyle.color,width:p.tagContainerWidth}),numberOfLines:2},(""+e.tagText).split("").join("\ufeff")))};case"search_item_icon":return{tagWidth:+e.width+1,tagHeight:+e.height+1,TagComponent:(0,l.createElement)(d.default,{key:n,style:t({},(0,o.getRTLCSS)(p.gdc,a.default,"promotionTagImg"),{width:+e.width+1,height:+e.height+1}),source:{uri:e.tagImgUrl||e.value},autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1})};case"search_item_text":return{tagWidth:p.tagContainerWidth,tagHeight:30,TagComponent:(0,l.createElement)(s.default,{key:n,style:t({},a.default.tagText,p.textStyle,{width:null,color:e.tagStyle&&e.tagStyle.color||p.textStyle.color,marginRight:(0,o.isRTL)(p.gdc)?0:6,marginLeft:(0,o.isRTL)(p.gdc)?6:0})},(""+e.tagText).split("").join("\ufeff"))};default:return{TagComponent:null}}},p.gdc=e.gdc,p.data=e.data,p.mode=e.mode,p.type=e.type,p.tagsMode=e.tagsMode,p.textStyle="metadata"===p.type?{color:"#FD384F",fontWeight:400}:"selling"===p.type?{color:"#FD384F",fontWeight:400}:"shipping"===p.type?{color:"#191919",fontWeight:400}:{},"2in1"===p.mode&&(n=327),"hoz"===p.mode&&(n=410),p.tagContainerWidth=n,p.titleMode=e.titleMode,p.title=e.title,p.isAndroidRTL=u.isWeex&&(0,r.isAndroid)()&&(0,o.isRTL)(p.gdc),p}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(f,l.Component),n(f,[{key:"render",value:function(){var e=this;if(!this.data||"tpp"===this.tagsMode&&!this.data.sellingPoints||"shop"===this.tagsMode&&!this.data.atmosphere)return null;var n=[],r="tpp"===this.tagsMode?(0,i.convertTppSellingPointsToShopAtmosphere)(this.data.sellingPoints):this.data.atmosphere;if("metadata"===this.type)n=[].concat(p((0,i.getPositionTags)(r,1)));else if("selling"===this.type){var o=[].concat(p((0,i.getPositionTags)(r,2)));n=o&&o.length>1?o.slice(0,1):o}else if("shipping"===this.type){var d=[].concat(p((0,i.getPositionTags)(r,3)),p((0,i.getPositionTags)(r,4)));n=d&&d.length>1?d.slice(0,1):d}else"selling+shipping"===this.type&&((n=[].concat(p((0,i.getPositionTags)(r,2)))).length&&(n=n.slice(0,1),this.textStyle={color:"#FD384F",fontWeight:400}),n.length||(n=[].concat(p((0,i.getPositionTags)(r,3)),p((0,i.getPositionTags)(r,4)))).length&&(n=n.slice(0,1),this.textStyle={color:"#191919",fontWeight:400}),n.length&&(n=[n[0]]));if(!n.length&&!this.titleMode)return null;this.titleMode&&(n=n.filter(function(e){return"search_item_icon"===e.materialCode}));for(var f=[],g=0;g<n.length;g++)f.push(n[g]);(0,i.sortTags)(f);var m=0,h=0,y=f.map(function(t,n){var r=e.renderTag(t,n);return m+=r.tagWidth+4,h=Math.max(h,r.tagHeight),r.TagComponent}),b=(30*+m/+h||30)+6,w=(0,i.getSpaceFromIndent)(b);return n.length||(m=0,h=0,b=0,w=""),(0,l.createElement)(c.default,{style:t({},a.default.horizontalTags,"metadata"===this.type?a.default.metaTagsAlter:{},this.textStyle,{width:this.tagContainerWidth})},(0,l.createElement)(c.default,{style:t({},a.default.horizontalTagsWrapper,{width:this.titleMode?m:this.tagContainerWidth,height:this.titleMode?h:null,position:this.titleMode?"absolute":"relative",top:this.titleMode?0:null,flexWrap:this.titleMode?null:"wrap"})},y),this.titleMode&&(u.isWeex?(0,l.createElement)(s.default,{style:t({},a.default.itemTagTitle,{width:this.tagContainerWidth}),numberOfLines:2},(""+w+this.title).split("").join("\ufeff")):(0,l.createElement)(s.default,{style:t({},a.default.itemTagTitle,{width:this.tagContainerWidth,textIndent:b}),numberOfLines:2},(""+this.title).split("").join("\ufeff"))))}}]),f}();exports.default=g,module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.getAEShopCustomFont=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},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},r=e(3),o=["en","ru","es","fr","pt","id","tr","it","de","pl","nl","vi","uk"],i=["ar"];exports.getAEShopCustomFont=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(e)return e;var a={};if(r.isWeex&&"object"===("undefined"==typeof WXEnvironment?"undefined":n(WXEnvironment)))a=t({},a,WXEnvironment);else if(r.isWeex&&"object"===("undefined"==typeof weex?"undefined":n(weex))&&weex.config&&weex.config.env)a=t({},a,weex.config.env);else if(r.isWeb)try{var l=function(e){if(document.cookie.length>0){var t=document.cookie.indexOf(e+"="),n=0;if(-1!==t)return t=t+e.length+1,-1===(n=document.cookie.indexOf(";",t))&&(n=document.cookie.length),unescape(document.cookie.substring(t,n))}return null}("aep_usuc_f"),d=new URLSearchParams(l);a=t({},a,{aeCountry:d.get("region")||"",aeLanguage:(d.get("b_locale")||"").split("_")[0]||""})}catch(e){console.error("[shop-font-getter]",e)}var s=a,c=s.aeFontFamily,u=s.aeCountry,f=s.aeLanguage,p="OpenSans";return r.isWeex&&(("TT Norms Pro"===c||"TTNormsPro"===c)&&(p="TTNormsPro"),("Cairo Display"===c||"CairoDisplay"===c)&&(p="CairoDisplay")),(r.isWeb||r.isWeex&&void 0===c)&&(o.indexOf(f)>-1&&(p="TTNormsPro"),i.indexOf(f)>-1&&(p="CairoDisplay"),("ko"===f||"KR"===u)&&(p="OpenSans")),console.warn("[shop-font-getter] aeCountry:'"+u+"' aeLanguage:'"+f+"' aeFontFamily:'"+c+"' finalFontName:'"+p+"'"),p}},function(module,exports){module.exports={promotionTagImg:{height:32,marginRight:4,verticalAlign:"middle",display:"inline"},"promotionTagImg-rtl":{marginRight:0,marginLeft:4},tagImg:{height:32,marginRight:2,verticalAlign:"middle",display:"inline"},"tagImg-rtl":{marginRight:0,marginLeft:2},tagText:{color:"rgb(102,102,102)",fontSize:22,fontFamily:"AEShopCustomFont",fontWeight:"450",overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-all"},tagDot:{display:"inline",fontFamily:"AEShopCustomFont",fontWeight:"450"},horizontalTags:{position:"relative",display:"flex",flexDirection:"row",wordBreak:"break-all",alignItems:"center",justifyContent:"flex-start",flexWrap:"wrap"},metaTagsAlter:{display:"flex",flexDirection:"row",flexWrap:"wrap",wordBreak:"break-all"},withIcon:{position:"relative",overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-all",display:"flex",flexDirection:"row",justifyContent:"flex-start"},withIconImg:{position:"absolute",top:0},itemTagTitle:{fontSize:24,color:"rgb(25,25,25)",wordBreak:"break-all",textOverflow:"ellipsis",fontFamily:"AEShopCustomFont",fontWeight:"450"},horizontalTagsWrapper:{display:"flex",flexDirection:"row",alignContent:"center"}}},function(module,exports){module.exports={cardWrapper:{boxSizing:"border-box",display:"block",position:"relative",borderRadius:8,fontFamily:"AEShopCustomFont"},"cardWrapper-rtl":{direction:"rtl"},cardInner:{boxSizing:"border-box",display:"block",position:"relative",height:"100%",cursor:"pointer",textDecoration:"none"},cardInnerHoz:{flexDirection:"row",boxSizing:"border-box",display:"flex",position:"relative",cursor:"pointer",height:"100%",textDecoration:"none"},cardContent:{paddingTop:8,paddingLeft:8,paddingRight:8,paddingBottom:16,flexShrink:1},cardContentHoz:{paddingTop:0,paddingRight:8,flexShrink:1,width:418,height:268,position:"relative"},itemTitle:{fontSize:24,color:"rgb(25,25,25)",wordBreak:"break-all",textOverflow:"ellipsis",fontFamily:"AEShopCustomFont",fontWeight:"450"},itemTitleHoz:{width:410,fontSize:23,marginTop:7,marginRight:0,marginBottom:3,marginLeft:0},itemTitle3in1:{width:210,marginTop:2,marginRight:0,marginBottom:4,marginLeft:0},itemTitle2in1:{width:327,marginTop:0,marginRight:0,marginBottom:4,marginLeft:0},hozMeta:{flexDirection:"row",alignItems:"flex-end",paddingTop:6,paddingRight:0,paddingBottom:12,paddingLeft:0,flexWrap:"wrap",position:"absolute",bottom:0,left:0,width:410},priceMeta:{display:"flex",flexDirection:"row",flexWrap:"wrap"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(7),o=e(8),i=e(4),a=e(98),l=e(100),d=e(102),s=e(106),c=b(e(108)),u=b(e(110)),f=b(e(11)),p=e(14),g=e(0),m=b(e(2)),h=b(e(1)),y=e(3);function b(e){return e&&e.__esModule?e:{default:e}}var w=function(e){function b(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,b);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(b.__proto__||Object.getPrototypeOf(b)).call(this,e));return n.broadcastChannel=function(){new BroadcastChannel("popMobileConfirm").onmessage=function(){n.setState({showMask:!1})}},n.getProductUrl=function(e,t){var n=[];return t&&(t.detailPage&&Object.keys(t.detailPage).forEach(function(e){n.push({key:e,value:encodeURIComponent(t.detailPage[e])})}),t.pdpParams&&["pdp_ext_f","pdp_pi"].forEach(function(e){t.pdpParams[e]&&n.push({key:e,value:t.pdpParams[e]})})),"https://www.aliexpress.com/item/"+e+".html?"+n.map(function(e){return e.key+"="+e.value.substring(0,131072)}).join("&")},n.goTargetUrl=function(e,t,o){e||(e=n.getProductUrl(t,n.data.trace));var i=n.gdc,a=i.spm_cnt,l=i.pageId,d=i.pageName,s=i.sellerId,c=i.shopId,u=i.userId,f=n.mds,g=f.widgetId,m=f.moduleName,h={url:e,nid:t||0,widgetId:g,moduleName:m,target:o||null};n.data.utLogMap&&(0,p.sendClickUT)(a+"."+m,"",l,d,"Product_Click_Event",{seller_id:""+s,shop_id:""+c,user_id:""+u,utLogMap:n.data.utLogMap}),n.pageUtils.goTargetUrl?n.pageUtils.goTargetUrl(h):(0,r.openWindow)(e)},n.open=function(e,t){var o=n.state.showMask;if("true"!==o&&!0!==o)n.goTargetUrl(e,t);else if(y.isWeex)(0,r.callWindVaneHandler)("AEWVPrivacy","euSafetyFilter",{},function(r){r.wantedSee&&(new BroadcastChannel("popMobileConfirm").postMessage(r),setTimeout(function(){n.goTargetUrl(e,t)},100))},function(e){console.warn(e)});else{var i=n.gdc.locale;f.default.show({isRtl:!1,locale:i,fetcher:window.lib.mtop.request,onOk:function(r){console.log(r);var o=r.success,i=r.errMsg;o?(new BroadcastChannel("popMobileConfirm").postMessage(r),setTimeout(function(){n.goTargetUrl(e,t)},100)):console.warn(i)},onCancel:function(){}})}},n.renderHozCard=function(){var e=n.data,r=e.id,o=e.url,a=e.title,f=n.state.showMask;return(0,g.createElement)(h.default,t({},n.expProps,{style:t({},(0,i.getRTLCSS)(n.gdc,u.default,"cardWrapper"),n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,g.createElement)(p.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,g.createElement)(h.default,t({},n.clkProps,{style:u.default.cardInnerHoz,onClick:function(){return n.open(o,r)}}),(0,g.createElement)(l.Image,{gdc:n.gdc,data:n.data,mode:n.mode,showMask:f,size:268,showAddCart:n.showAddCart}),(0,g.createElement)(h.default,{style:u.default.cardContentHoz},!!a&&(0,g.createElement)(m.default,{style:t({},u.default.itemTitle,u.default.itemTitleHoz),numberOfLines:2},a.split("").join("\ufeff")),(0,g.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode}),(0,g.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"selling",mode:n.mode}),(0,g.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"shipping",mode:n.mode}),(0,g.createElement)(h.default,{style:u.default.hozMeta},(0,g.createElement)(s.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}),(0,g.createElement)(d.Meta,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data})))))},n.render1In1Card=function(){var e=n.data,r=e.id,o=e.url,a=e.title,f=n.state.showMask;return(0,g.createElement)(h.default,t({},n.expProps,{style:t({},(0,i.getRTLCSS)(n.gdc,u.default,"cardWrapper"),{width:276},n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,g.createElement)(p.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,g.createElement)(h.default,t({},n.clkProps,{style:u.default.cardInner,onClick:function(){return n.open(o,r)}}),(0,g.createElement)(l.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:276,showMask:f,showAddCart:n.showAddCart}),(0,g.createElement)(h.default,{style:u.default.cardContent},(0,g.createElement)(h.default,{style:u.default.firstLine},(0,g.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode,titleMode:!0,title:a})),!!a&&!n.data.sellingPoints&&!n.data.atmosphere&&(0,g.createElement)(m.default,{style:t({},u.default.itemTitle,u.default.itemTitle1in1),numberOfLines:1},a.split("").join("\ufeff")),(0,g.createElement)(d.Meta,{mode:n.mode,gdc:n.gdc,tagsMode:n.tagsMode,data:n.data}),(0,g.createElement)(s.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}))))},n.render2In1Card=function(){var e=n.data,r=e.id,o=e.url,a=e.title,f=n.state.showMask;return(0,g.createElement)(h.default,t({},n.expProps,{style:t({},(0,i.getRTLCSS)(n.gdc,u.default,"cardWrapper"),{width:343},n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,g.createElement)(p.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,g.createElement)(h.default,t({},n.clkProps,{style:n.state.showShadow?u.default.cardInnerWithShadow:u.default.cardInner,onClick:function(){return n.open(o,r)}}),(0,g.createElement)(l.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:343,showMask:f,showAddCart:n.showAddCart}),(0,g.createElement)(h.default,{style:u.default.cardContent},(0,g.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode,title:a,titleMode:!0}),!!a&&!n.data.sellingPoints&&!n.data.atmosphere&&(0,g.createElement)(m.default,{style:t({},u.default.itemTitle,u.default.itemTitle2in1),numberOfLines:1},a.split("").join("\ufeff")),(0,g.createElement)(h.default,{style:u.default.firstLine},(0,g.createElement)(s.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}),(0,g.createElement)(d.Meta,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,mode:n.mode,style:{marginLeft:8}})),(0,g.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"selling",mode:n.mode}),(0,g.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"shipping",mode:n.mode}))))},n.render3In1Card=function(){var e=n.data,r=e.id,o=e.url,f=e.title,y=n.state.showMask;return(0,g.createElement)(h.default,t({},n.expProps,{style:t({},(0,i.getRTLCSS)(n.gdc,u.default,"cardWrapper"),{width:226},n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,g.createElement)(p.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,g.createElement)(h.default,t({},n.clkProps,{style:u.default.cardInner,onClick:function(){return n.open(o,r)}}),(0,g.createElement)(l.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:226,showMask:y,showAddCart:n.showAddCart}),(0,g.createElement)(h.default,{style:u.default.cardContent},(0,g.createElement)(h.default,{style:u.default.firstLine},(0,g.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode,titleMode:!0,title:f})),!!f&&!n.data.sellingPoints&&!n.data.atmosphere&&(0,g.createElement)(m.default,{style:t({},u.default.itemTitle,u.default.itemTitle3in1),numberOfLines:1},f.split("").join("\ufeff")),(0,g.createElement)(d.Meta,{mode:n.mode,gdc:n.gdc,tagsMode:n.tagsMode,data:n.data}),(0,g.createElement)(s.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}),(0,g.createElement)(a.Discount,{data:n.data}))))},n.pageUtils=e.pageUtils||{},n.gdc=e.gdc||{},n.mds=e.mds||{},n.mode=e.mode||"2in1",n.modsStyle=e.modsStyle||{},n.priceMode=e.priceMode||"shop",n.tagsMode=e.tagsMode||"shop",n.showAddCart=e.showAddCart||!1,n.data=e.data,n.data.modsStyle&&(n.modsStyle=n.data.modsStyle),(0,o.debug)("data",n.data),n.expProps=e.expProps||{},n.clkProps=e.clkProps||{},n.style=e.style||{},n.state={showMask:e.showMask},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(b,g.Component),n(b,[{key:"componentDidMount",value:function(){this.broadcastChannel()}},{key:"render",value:function(){return this.data?"1in1"===this.mode?this.render1In1Card():"2in1"===this.mode?this.render2In1Card():"3in1"===this.mode?this.render3In1Card():this.renderHozCard():null}}]),b}();exports.default=w,module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Discount=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=a(e(99)),r=e(0),o=a(e(2)),i=a(e(1));function a(e){return e&&e.__esModule?e:{default:e}}exports.Discount=function(e){function a(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return t.data=e.data,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r.Component),t(a,[{key:"render",value:function(){return this.data.discount&&"0"!==this.data.discount&&"undefined"!==this.data.discount&&"null"!==this.data.discount?(0,r.createElement)(i.default,{style:n.default.container},(0,r.createElement)(i.default,{style:n.default.discount},(0,r.createElement)(o.default,{style:n.default.text},this.data.discount))):null}}]),a}()},function(module,exports){module.exports={container:{display:"flex",flexDirection:"row",marginTop:8},discount:{height:38,borderRadius:19,backgroundColor:"rgb(211,3,28)",paddingTop:0,paddingRight:20,paddingBottom:0,paddingLeft:20,display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center"},text:{color:"rgb(255,255,255)",fontSize:20,fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Image=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(15),o=e(4),i=s(e(101)),a=e(0),l=s(e(6)),d=(s(e(2)),s(e(1)));function s(e){return e&&e.__esModule?e:{default:e}}exports.Image=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return t.gdc=e.gdc,t.data=e.data,t.mode=e.mode,t.showAddCart=e.showAddCart||!1,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,a.Component),n(s,[{key:"render",value:function(){if(!this.data)return null;var e,n=this.data,s=n.image,c=n.title,u=n.cornorMark,f=this.props.showMask;e=!0===f||"true"===f?"https://ae01.alicdn.com/kf/S1e0b5f59d44845c89d23644878384c33Z/504x504.png":s;var p=u||{},g=(p.value,p.color,p.bgColor,268);return"2in1"===this.mode&&(g=343),"3in1"===this.mode&&(g=226),"2in1"===this.mode&&this.data.discount&&"0"!==this.data.discount&&"undefined"!==this.data.discount&&"null"!==this.data.discount&&(this.data.discount,"#FD384F","#ffffff"),(0,a.createElement)(d.default,{style:"2in1"===this.mode||"3in1"===this.mode?i.default.imgOuter:(0,o.getRTLCSS)(this.gdc,i.default,"imgOuterHoz")},(0,a.createElement)(d.default,{style:t({},i.default.imgWrapper,{width:g,height:g})},(0,a.createElement)(l.default,{style:t({},i.default.itemImg,{width:g,height:g}),source:{uri:e},alt:c,autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1,resizeMode:"cover"}),(0,a.createElement)(d.default,{style:t({},i.default.bgMask,{width:g,height:g})}),this.showAddCart&&(0,a.createElement)(r.AddCart,{data:this.data,gdc:this.gdc})))}}]),s}()},function(module,exports){module.exports={imgOuter:{overflow:"hidden"},imgOuterHoz:{flex:"0 0 auto",marginRight:16,overflow:"hidden"},"imgOuterHoz-rtl":{marginRight:0,marginLeft:16},imgWrapper:{position:"relative",outline:"none",borderStyle:"none",textDecoration:"none",borderRadius:8,overflow:"hidden"},itemImg:{display:"block",position:"relative",userSelect:"none",pointerEvents:"none",outline:"none",borderStyle:"none",objectFit:"cover"},mark:{position:"absolute",left:0,top:0,height:48,paddingTop:0,paddingRight:12,paddingBottom:0,paddingLeft:12,borderTopLeftRadius:8,borderBottomRightRadius:8,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"mark-rtl":{left:"unset",right:0,borderTopLeftRadius:"unset",borderBottomRightRadius:"unset",borderTopRightRadius:8,borderBottomLeftRadius:8},bgMask:{position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"rgba(0,0,0,0.04)"},markText:{fontFamily:"AEShopCustomFont-Bold",fontWeight:"700",fontSize:28},addCart:{position:"absolute",right:0,bottom:0,paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12,width:88,height:88},addCartIcon:{width:64,height:64,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImgWrapper:{backgroundColor:"rgb(25,25,25)",width:64,height:64,borderRadius:32,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImg:{width:32,height:32,backgroundColor:"rgb(25,25,25)",marginTop:2,marginRight:2},addCartNum:{backgroundColor:"rgb(253,56,79)",color:"rgb(255,255,255)",position:"absolute",right:0,top:0,width:28,height:28,borderRadius:14,fontSize:20,textAlign:"center",borderWidth:"1px",borderStyle:"solid",borderColor:"rgb(255,255,255)"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Meta=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(4),o=c(e(103)),i=e(104),a=e(0),l=c(e(2)),d=c(e(1)),s=e(7);function c(e){return e&&e.__esModule?e:{default:e}}exports.Meta=function(e){function c(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,e));return t.gdc=e.gdc,t.mode=e.mode,t.data=e.data,t.tagsMode=e.tagsMode,t.style=e.style,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(c,a.Component),n(c,[{key:"render",value:function(){if(!this.data)return null;var e=this.data,n=e.stars,c=e.sales;if(!n&&!c)return null;var u=o.default.itemMeta;return"3in1"===this.mode&&(u=o.default.itemMeta3in1),"2in1"===this.mode&&(u=o.default.itemMeta2in1),(0,a.createElement)(d.default,{style:t({},u,this.style)},!!c&&(0,a.createElement)(l.default,{style:(0,r.getRTLCSS)(this.gdc,o.default,"itemOrders")},(0,s.formatSales)(c)),(0,a.createElement)(i.Star,{gdc:this.gdc,stars:n,num:n}))}}]),c}()},function(module,exports){module.exports={itemMeta:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemMeta3in1:{display:"flex",alignItems:"center",marginTop:0,flexDirection:"row",flexWrap:"wrap"},itemMeta2in1:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemOrders:{fontSize:24,color:"rgb(151,151,151)",marginRight:8,fontFamily:"AEShopCustomFont",fontWeight:"450"},"itemOrders-rtl":{marginLeft:0,marginRight:0},topSelling:{display:"block"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Star=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=l(e(105)),r=e(0),o=l(e(6)),i=l(e(2)),a=l(e(1));function l(e){return e&&e.__esModule?e:{default:e}}exports.Star=function(e){function l(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,e));return t.gdc=e.gdc,t.num=e.num,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(l,r.Component),t(l,[{key:"render",value:function(){return this.num?+this.num<3.5?null:(0,r.createElement)(a.default,{style:n.default.starWrapper},(0,r.createElement)(o.default,{style:n.default.starImage,source:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAATCAYAAACdkl3yAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAE2SURBVHgBpVTBTQMxENxxlBMBHtcBpgKSZ8QDrgPoACoIqSCiE6gkIBTxBCrIleAPCOWSmPVGwPk455xjJEtre3Y09tpL1AA7O7hyo4mHrSLPe5rWai4TlRxjaPIQV20TYpHJb1zcUBtHnpsNDC3YVWYM7eRo1RlVVlJKFkFXYSHYi5rVkZ2maT39hTc+Ck6ymqdHvNbn2JF1XQJZPqLCKweG4zfOyUl1H2Bn+/NgUjyMYtVH+jdwDzlzUkzZap/aAHzMXjeT8rcWA+XUSwYYGCNVk7ehVpeysYsIksyJuOlP+TH8zGnZGVM8xuUv478jtdQUDetxfSHgjGIBdRIWstAUi7VfmIqjStXk8nEt428htE/9NlP+7S7J4han73dlsjQ42Ak/4o1IqEdJN3w6PKcG1HXNLyUobuoTnHiPAAAAAElFTkSuQmCC"},autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1}),(0,r.createElement)(i.default,{style:n.default.starText},""+(+this.num).toFixed(1))):null}}]),l}()},function(module,exports){module.exports={starWrapper:{display:"flex",flexDirection:"row",alignItems:"center",position:"relative"},starText:{color:"rgb(151,151,151)",fontSize:24,fontFamily:"AEShopCustomFont",fontWeight:"450"},starImage:{width:18,height:18,marginRight:4}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Price=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(16),o=e(4),i=s(e(107)),a=e(0),l=s(e(2)),d=s(e(1));function s(e){return e&&e.__esModule?e:{default:e}}exports.Price=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return t.mode=e.mode,t.gdc=e.gdc,t.data=e.data,t.priceMode=e.priceMode,t.modsStyle=e.data.modsStyle||e.modsStyle,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,a.Component),n(s,[{key:"render",value:function(){var e=this;if(!this.data)return null;var n="3in1"===this.mode?26:30,s="3in1"===this.mode?22:24;if("tpp"===this.priceMode){if(!this.data.prices)return null;var c=(0,r.getTppOldPrice)(this.data.prices,this.modsStyle,this.gdc)||{},u=c.salePrice,f=c.originalPrice;return u||f?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",color:"#191919",alignItems:"center",marginLeft:(0,o.isRTL)(this.gdc)?8:0}},u&&u.map(function(r){return(0,a.createElement)(l.default,{style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:"#191919",fontSize:n})},r.text)})),f&&"3in1"===this.mode&&"1in1"===this.mode?f.map(function(n,r){return(0,a.createElement)(l.default,{key:r,style:t({},n.style,(0,o.getRTLCSS)(e.gdc,i.default,"subPriceText"),{fontSize:s})},n.text)}):null):null}if(!this.data.prices&&!this.data.priceLocalInfo)return null;var p=this.data.priceLocalInfo&&this.data.priceLocalInfo.promotionPiecePriceStructure&&-1!==this.data.priceLocalInfo.promotionPiecePriceStructure.indexOf("|")?(0,r.getNewPrice)(this.data.priceLocalInfo,this.data.priceLocalConfig,this.gdc)||{}:(0,r.getTppOldPrice)(this.data.prices,this.modsStyle,this.gdc)||{},g=p.currentPrice,m=p.subPrice;return g?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",alignItems:"center",marginLeft:(0,o.isRTL)(this.gdc)?8:0}},g&&g.map(function(r,d){return(0,a.createElement)(l.default,{key:d,style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:"#191919",fontSize:n})},r.text)})),m&&"3in1"===this.mode&&"1in1"===this.mode?(0,a.createElement)(l.default,{style:t({},(0,o.getRTLCSS)(this.gdc,i.default,"subPriceText"),m.style,{fontSize:s})},m.text):null):null}}]),s}()},function(module,exports){module.exports={priceWrapper:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",marginRight:8,flexWrap:"nowrap"},"priceWrapper-rtl":{marginRight:0,marginLeft:8},priceWrapper2in1:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",flexWrap:"nowrap"},"priceWrapper2in1-rtl":{marginRight:0,marginLeft:8},priceWrapper3in1:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",marginRight:8,flexWrap:"wrap"},"priceWrapper3in1-rtl":{marginRight:0,marginLeft:8},priceText:{color:"rgb(25,25,25)",fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"},"priceText-rtl":{},subPriceText:{color:"rgb(151,151,151)",fontFamily:"AEShopCustomFont",fontWeight:"450",marginTop:2,marginRight:0,marginBottom:2,marginLeft:8},"subPriceText-rtl":{}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(8),o=e(4),i=e(21),a=f(e(109)),l=e(0),d=f(e(6)),s=f(e(2)),c=f(e(1)),u=e(3);function f(e){return e&&e.__esModule?e:{default:e}}function p(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var g=function(e){function f(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f);var n,p=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(f.__proto__||Object.getPrototypeOf(f)).call(this,e));return p.renderTag=function(e,n){if((e.tagImgUrl||e.value)&&e.height&&+e.height>30){var r=+e.height,f=+e.width;e.height=30,e.width=f/r*30}if(e)switch(e.materialCode){case"search_item_text_icon":var g=(30*(+e.width+8)/+e.height||30)+6,m=(0,i.getSpaceFromIndent)(g);return{tagWidth:p.tagContainerWidth,tagHeight:30,TagComponent:(0,l.createElement)(c.default,{key:n,style:t({},a.default.withIcon,{width:p.tagContainerWidth,flexDirection:p.isAndroidRTL?"row":a.default.withIcon.flexDirection})},(0,l.createElement)(d.default,{style:t({},(0,o.getRTLCSS)(p.gdc,a.default,"tagImg"),a.default.withIconImg,{width:+e.width+1,height:+e.height+1,left:(0,o.isRTL)(p.gdc)?null:0,right:(0,o.isRTL)(p.gdc)?0:null}),source:{uri:e.tagImgUrl||e.value},autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1}),u.isWeex?(0,l.createElement)(s.default,{style:t({},a.default.tagText,p.textStyle,{color:e.tagStyle&&e.tagStyle.color||p.textStyle.color,width:p.isAndroidRTL?null:p.tagContainerWidth}),numberOfLines:1},(""+m+e.tagText+(p.isAndroidRTL?m:"")).split("").join("\ufeff")):(0,l.createElement)(s.default,{style:t({},a.default.tagText,p.textStyle,{textIndent:g,color:e.tagStyle&&e.tagStyle.color||p.textStyle.color,width:p.tagContainerWidth}),numberOfLines:1},(""+e.tagText).split("").join("\ufeff")))};case"search_item_icon":return{tagWidth:+e.width+1,tagHeight:+e.height+1,TagComponent:(0,l.createElement)(d.default,{key:n,style:t({},(0,o.getRTLCSS)(p.gdc,a.default,"promotionTagImg"),{width:+e.width+1,height:+e.height+1}),source:{uri:e.tagImgUrl||e.value},autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1})};case"search_item_text":return{tagWidth:p.tagContainerWidth,tagHeight:30,TagComponent:(0,l.createElement)(s.default,{key:n,style:t({},a.default.tagText,p.textStyle,{width:"2in1"===p.mode?327:null,color:e.tagStyle&&e.tagStyle.color||p.textStyle.color,marginRight:(0,o.isRTL)(p.gdc)?0:6,marginLeft:(0,o.isRTL)(p.gdc)?6:0}),numberOfLines:1},(""+e.tagText).split("").join("\ufeff"))};default:return{TagComponent:null}}},p.gdc=e.gdc,p.data=e.data,p.mode=e.mode,p.type=e.type,p.tagsMode=e.tagsMode,p.textStyle="metadata"===p.type?{color:"#FD384F",fontWeight:400}:"selling"===p.type?{color:"#FD384F",fontWeight:400}:"shipping"===p.type?{color:"#191919",fontWeight:400}:{},"2in1"===p.mode&&(n=327),"1in1"===p.mode&&(n=253),"3in1"===p.mode&&(n=210),"hoz"===p.mode&&(n=410),p.tagContainerWidth=n,p.titleMode=e.titleMode,p.title=e.title,p.isAndroidRTL=u.isWeex&&(0,r.isAndroid)()&&(0,o.isRTL)(p.gdc),p}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(f,l.Component),n(f,[{key:"render",value:function(){var e=this;if(!this.data||"tpp"===this.tagsMode&&!this.data.sellingPoints||"shop"===this.tagsMode&&!this.data.atmosphere)return null;var n=[],r="tpp"===this.tagsMode?(0,i.convertTppSellingPointsToShopAtmosphere)(this.data.sellingPoints,this.mode):this.data.atmosphere;if("metadata"===this.type)n=[].concat(p((0,i.getPositionTags)(r,1,this.mode)));else if("selling"===this.type){var o=[].concat(p((0,i.getPositionTags)(r,2)));n=o&&o.length>1?o.slice(0,1):o}else if("shipping"===this.type){var d=[].concat(p((0,i.getPositionTags)(r,3)),p((0,i.getPositionTags)(r,4)));n=d&&d.length>1?d.slice(0,1):d}if(!n.length&&!this.titleMode)return null;this.titleMode&&(n=n.filter(function(e){return"search_item_icon"===e.materialCode}));for(var f=[],g=0;g<n.length;g++)f.push(n[g]);(0,i.sortTags)(f);var m=0,h=0,y=f.map(function(t,n){var r=e.renderTag(t,n);return m+=r.tagWidth+4,h=Math.max(h,r.tagHeight),r.TagComponent}),b=(30*+m/+h||30)+6,w=(0,i.getSpaceFromIndent)(b);return n.length||(m=0,h=0,b=0,w=""),(0,l.createElement)(c.default,{style:t({},a.default.horizontalTags,"metadata"===this.type?a.default.metaTagsAlter:{},this.textStyle,{width:this.tagContainerWidth})},(0,l.createElement)(c.default,{style:t({},a.default.horizontalTagsWrapper,{width:this.titleMode?m:this.tagContainerWidth,height:this.titleMode?h:null,position:this.titleMode?"absolute":"relative",top:this.titleMode?0:null,flexWrap:this.titleMode?null:"wrap"})},y),this.titleMode&&(u.isWeex?(0,l.createElement)(s.default,{style:t({},a.default.itemTagTitle,{width:this.tagContainerWidth}),numberOfLines:1},(""+w+this.title).split("").join("\ufeff")):(0,l.createElement)(s.default,{style:t({},a.default.itemTagTitle,{width:this.tagContainerWidth,textIndent:b}),numberOfLines:1},(""+this.title).split("").join("\ufeff"))))}}]),f}();exports.default=g,module.exports=exports.default},function(module,exports){module.exports={promotionTagImg:{height:32,marginRight:4,verticalAlign:"middle",display:"inline"},"promotionTagImg-rtl":{marginRight:0,marginLeft:4},tagImg:{height:32,marginRight:2,verticalAlign:"middle",display:"inline"},"tagImg-rtl":{marginRight:0,marginLeft:2},tagText:{color:"rgb(102,102,102)",fontSize:22,fontFamily:"AEShopCustomFont",fontWeight:"450",overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-all"},tagDot:{display:"inline",fontFamily:"AEShopCustomFont",fontWeight:"450"},horizontalTags:{position:"relative",display:"flex",flexDirection:"row",wordBreak:"break-all",alignItems:"center",justifyContent:"flex-start",flexWrap:"wrap"},metaTagsAlter:{display:"flex",flexDirection:"row",flexWrap:"wrap",wordBreak:"break-all"},withIcon:{position:"relative",overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-all",display:"flex",flexDirection:"row",justifyContent:"flex-start"},withIconImg:{position:"absolute",top:0},itemTagTitle:{fontSize:24,color:"rgb(25,25,25)",wordBreak:"break-all",textOverflow:"ellipsis",fontFamily:"AEShopCustomFont",fontWeight:"450"},horizontalTagsWrapper:{display:"flex",flexDirection:"row",alignContent:"center"},itemTitle2in1:{width:327,marginTop:0,marginRight:0,marginBottom:4,marginLeft:0}}},function(module,exports){module.exports={cardWrapper:{boxSizing:"border-box",display:"block",position:"relative",borderRadius:8,fontFamily:"AEShopCustomFont"},"cardWrapper-rtl":{direction:"rtl"},cardInner:{boxSizing:"border-box",display:"block",position:"relative",height:"100%",cursor:"pointer",textDecoration:"none"},cardInnerHoz:{flexDirection:"row",boxSizing:"border-box",display:"flex",position:"relative",cursor:"pointer",height:"100%",textDecoration:"none"},cardContent:{paddingTop:8,paddingLeft:8,paddingRight:8,paddingBottom:16,flexShrink:1},cardContentHoz:{paddingTop:0,paddingRight:8,flexShrink:1,width:418,height:268,position:"relative"},itemTitle:{fontSize:24,color:"rgb(25,25,25)",wordBreak:"break-all",textOverflow:"ellipsis",fontFamily:"AEShopCustomFont",fontWeight:"450"},itemTitleHoz:{width:410,fontSize:23,marginTop:7,marginRight:0,marginBottom:3,marginLeft:0},itemTitle3in1:{width:226,marginTop:2,marginRight:0,marginBottom:4,marginLeft:0},itemTitle2in1:{width:327,marginTop:0,marginRight:0,marginBottom:4,marginLeft:0},itemTitle1in1:{width:276,marginTop:0,marginRight:0,marginBottom:4,marginLeft:0},hozMeta:{flexDirection:"row",alignItems:"flex-end",paddingTop:6,paddingRight:0,paddingBottom:12,paddingLeft:0,flexWrap:"wrap",position:"absolute",bottom:0,left:0,width:410},firstLine:{display:"flex",flexDirection:"row",flexWrap:"nowrap"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(7),o=e(8),i=e(4),a=e(112),l=e(114),d=e(116),s=e(120),c=b(e(122)),u=b(e(124)),f=b(e(11)),p=e(14),g=e(0),m=b(e(2)),h=b(e(1)),y=e(3);function b(e){return e&&e.__esModule?e:{default:e}}var w=function(e){function b(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,b);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(b.__proto__||Object.getPrototypeOf(b)).call(this,e));return n.broadcastChannel=function(){new BroadcastChannel("popMobileConfirm").onmessage=function(){n.setState({showMask:!1})}},n.getProductUrl=function(e,t){var n=[];return t&&(t.detailPage&&Object.keys(t.detailPage).forEach(function(e){n.push({key:e,value:encodeURIComponent(t.detailPage[e])})}),t.pdpParams&&["pdp_ext_f","pdp_pi"].forEach(function(e){t.pdpParams[e]&&n.push({key:e,value:t.pdpParams[e]})})),"https://www.aliexpress.com/item/"+e+".html?"+n.map(function(e){return e.key+"="+e.value.substring(0,131072)}).join("&")},n.goTargetUrl=function(e,t,o){e||(e=n.getProductUrl(t,n.data.trace));var i=n.gdc,a=i.spm_cnt,l=i.pageId,d=i.pageName,s=i.sellerId,c=i.shopId,u=i.userId,f=n.mds,g=f.widgetId,m=f.moduleName,h={url:e,nid:t||0,widgetId:g,moduleName:m,target:o||null};n.data.utLogMap&&(0,p.sendClickUT)(a+"."+m,"",l,d,"Product_Click_Event",{seller_id:""+s,shop_id:""+c,user_id:""+u,utLogMap:n.data.utLogMap}),n.pageUtils.goTargetUrl?n.pageUtils.goTargetUrl(h):(0,r.openWindow)(e)},n.open=function(e,t){var o=n.state.showMask;if("true"!==o&&!0!==o)n.goTargetUrl(e,t);else if(y.isWeex)(0,r.callWindVaneHandler)("AEWVPrivacy","euSafetyFilter",{},function(r){r.wantedSee&&(new BroadcastChannel("popMobileConfirm").postMessage(r),setTimeout(function(){n.goTargetUrl(e,t)},100))},function(e){console.warn(e)});else{var i=n.gdc.locale;f.default.show({isRtl:!1,locale:i,fetcher:window.lib.mtop.request,onOk:function(r){console.log(r);var o=r.success,i=r.errMsg;o?(new BroadcastChannel("popMobileConfirm").postMessage(r),setTimeout(function(){n.goTargetUrl(e,t)},100)):console.warn(i)},onCancel:function(){}})}},n.renderHozCard=function(){var e=n.data,r=e.id,o=e.url,a=e.title,f=n.state.showMask;return(0,g.createElement)(h.default,t({},n.expProps,{style:t({},(0,i.getRTLCSS)(n.gdc,u.default,"cardWrapper"),n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,g.createElement)(p.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,g.createElement)(h.default,t({},n.clkProps,{style:u.default.cardInnerHoz,onClick:function(){return n.open(o,r)}}),(0,g.createElement)(l.Image,{gdc:n.gdc,data:n.data,mode:n.mode,showMask:f,size:268,showAddCart:n.showAddCart}),(0,g.createElement)(h.default,{style:u.default.cardContentHoz},!!a&&(0,g.createElement)(m.default,{style:t({},u.default.itemTitle,u.default.itemTitleHoz),numberOfLines:2},a.split("").join("\ufeff")),(0,g.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode}),(0,g.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"selling",mode:n.mode}),(0,g.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"shipping",mode:n.mode}),(0,g.createElement)(h.default,{style:u.default.hozMeta},(0,g.createElement)(s.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}),(0,g.createElement)(d.Meta,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data})))))},n.render2In1Card=function(){var e=n.data,r=e.id,o=e.url,a=e.title,f=n.state.showMask;return(0,g.createElement)(h.default,t({},n.expProps,{style:t({},(0,i.getRTLCSS)(n.gdc,u.default,"cardWrapper"),{width:343},n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,g.createElement)(p.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,g.createElement)(h.default,t({},n.clkProps,{style:n.state.showShadow?u.default.cardInnerWithShadow:u.default.cardInner,onClick:function(){return n.open(o,r)}}),(0,g.createElement)(l.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:343,showMask:f,showAddCart:n.showAddCart}),(0,g.createElement)(h.default,{style:u.default.cardContent},(0,g.createElement)(s.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}),(0,g.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"selling",mode:n.mode}),(0,g.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode}),(0,g.createElement)(d.Meta,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,mode:n.mode}),!!a&&(0,g.createElement)(m.default,{style:t({},u.default.itemTitle,u.default.itemTitle2in1),numberOfLines:1},a.split("").join("\ufeff")),(0,g.createElement)(c.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"shipping",mode:n.mode}))))},n.render3In1Card=function(){var e=n.data,r=e.id,o=e.url,c=e.title,f=n.state.showMask;return(0,g.createElement)(h.default,t({},n.expProps,{style:t({},(0,i.getRTLCSS)(n.gdc,u.default,"cardWrapper"),{width:226},n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,g.createElement)(p.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,g.createElement)(h.default,t({},n.clkProps,{style:u.default.cardInner,onClick:function(){return n.open(o,r)}}),(0,g.createElement)(l.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:226,showMask:f,showAddCart:n.showAddCart}),(0,g.createElement)(h.default,{style:u.default.cardContent},!!c&&(0,g.createElement)(m.default,{style:t({},u.default.itemTitle,u.default.itemTitle3in1),numberOfLines:1},c.split("").join("\ufeff")),(0,g.createElement)(d.Meta,{mode:n.mode,gdc:n.gdc,tagsMode:n.tagsMode,data:n.data}),(0,g.createElement)(s.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}),(0,g.createElement)(a.Discount,{data:n.data}))))},n.pageUtils=e.pageUtils||{},n.gdc=e.gdc||{},n.mds=e.mds||{},n.mode=e.mode||"2in1",n.modsStyle=e.modsStyle||{},n.priceMode=e.priceMode||"shop",n.tagsMode=e.tagsMode||"shop",n.showAddCart=e.showAddCart||!1,n.data=e.data,n.data.modsStyle&&(n.modsStyle=n.data.modsStyle),(0,o.debug)("data",n.data),n.expProps=e.expProps||{},n.clkProps=e.clkProps||{},n.style=e.style||{},n.state={showMask:e.showMask},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(b,g.Component),n(b,[{key:"componentDidMount",value:function(){this.broadcastChannel()}},{key:"render",value:function(){return this.data?"2in1"===this.mode?this.render2In1Card():"3in1"===this.mode?this.render3In1Card():this.renderHozCard():null}}]),b}();exports.default=w,module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Discount=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=a(e(113)),r=e(0),o=a(e(2)),i=a(e(1));function a(e){return e&&e.__esModule?e:{default:e}}exports.Discount=function(e){function a(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return t.data=e.data,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r.Component),t(a,[{key:"render",value:function(){return this.data.discount&&"0"!==this.data.discount&&"undefined"!==this.data.discount&&"null"!==this.data.discount?(0,r.createElement)(i.default,{style:n.default.container},(0,r.createElement)(i.default,{style:n.default.discount},(0,r.createElement)(o.default,{style:n.default.text},this.data.discount))):null}}]),a}()},function(module,exports){module.exports={container:{display:"flex",flexDirection:"row",marginTop:8},discount:{height:38,borderRadius:19,backgroundColor:"rgb(211,3,28)",paddingTop:0,paddingRight:20,paddingBottom:0,paddingLeft:20,display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center"},text:{color:"rgb(255,255,255)",fontSize:20,fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Image=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(15),o=e(4),i=c(e(115)),a=e(0),l=c(e(6)),d=c(e(2)),s=c(e(1));function c(e){return e&&e.__esModule?e:{default:e}}exports.Image=function(e){function c(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,e));return t.gdc=e.gdc,t.data=e.data,t.mode=e.mode,t.showAddCart=e.showAddCart||!1,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(c,a.Component),n(c,[{key:"render",value:function(){if(!this.data)return null;var e,n=this.data,c=n.image,u=n.title,f=n.cornorMark,p=this.props.showMask;e=!0===p||"true"===p?"https://ae01.alicdn.com/kf/S1e0b5f59d44845c89d23644878384c33Z/504x504.png":c;var g=f||{},m=g.value,h=g.color,y=g.bgColor,b=268;return"2in1"===this.mode&&(b=343),"3in1"===this.mode&&(b=226),"2in1"===this.mode&&this.data.discount&&"0"!==this.data.discount&&"undefined"!==this.data.discount&&"null"!==this.data.discount&&(m=this.data.discount,y="#FD384F",h="#ffffff"),(0,a.createElement)(s.default,{style:"2in1"===this.mode||"3in1"===this.mode?i.default.imgOuter:(0,o.getRTLCSS)(this.gdc,i.default,"imgOuterHoz")},(0,a.createElement)(s.default,{style:t({},i.default.imgWrapper,{width:b,height:b})},(0,a.createElement)(l.default,{style:t({},i.default.itemImg,{width:b,height:b}),source:{uri:e},alt:u,autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1,resizeMode:"cover"}),(0,a.createElement)(s.default,{style:t({},i.default.bgMask,{width:b,height:b})}),!!m&&(0,a.createElement)(s.default,{style:t({},(0,o.getRTLCSS)(this.gdc,i.default,"mark"),{backgroundColor:y||"#FD384F"})},(0,a.createElement)(d.default,{style:t({},i.default.markText,{color:h||"#ffffff"})},m)),this.showAddCart&&(0,a.createElement)(r.AddCart,{data:this.data,gdc:this.gdc})))}}]),c}()},function(module,exports){module.exports={imgOuter:{overflow:"hidden"},imgOuterHoz:{flex:"0 0 auto",marginRight:16,overflow:"hidden"},"imgOuterHoz-rtl":{marginRight:0,marginLeft:16},imgWrapper:{position:"relative",outline:"none",borderStyle:"none",textDecoration:"none",borderRadius:8,overflow:"hidden"},itemImg:{display:"block",position:"relative",userSelect:"none",pointerEvents:"none",outline:"none",borderStyle:"none",objectFit:"cover"},mark:{position:"absolute",left:0,top:0,height:48,paddingTop:0,paddingRight:12,paddingBottom:0,paddingLeft:12,borderTopLeftRadius:8,borderBottomRightRadius:8,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"mark-rtl":{left:"unset",right:0,borderTopLeftRadius:"unset",borderBottomRightRadius:"unset",borderTopRightRadius:8,borderBottomLeftRadius:8},bgMask:{position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"rgba(0,0,0,0.04)"},markText:{fontFamily:"AEShopCustomFont-Bold",fontWeight:"700",fontSize:28},addCart:{position:"absolute",right:0,bottom:0,paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12,width:88,height:88},addCartIcon:{width:64,height:64,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImgWrapper:{backgroundColor:"rgb(25,25,25)",width:64,height:64,borderRadius:32,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImg:{width:32,height:32,backgroundColor:"rgb(25,25,25)",marginTop:2,marginRight:2},addCartNum:{backgroundColor:"rgb(253,56,79)",color:"rgb(255,255,255)",position:"absolute",right:0,top:0,width:28,height:28,borderRadius:14,fontSize:20,textAlign:"center",borderWidth:"1px",borderStyle:"solid",borderColor:"rgb(255,255,255)"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Meta=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=e(4),r=d(e(117)),o=e(118),i=e(0),a=d(e(2)),l=d(e(1));function d(e){return e&&e.__esModule?e:{default:e}}exports.Meta=function(e){function d(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,e));return t.gdc=e.gdc,t.mode=e.mode,t.data=e.data,t.tagsMode=e.tagsMode,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(d,i.Component),t(d,[{key:"render",value:function(){if(!this.data)return null;var e=this.data,t=e.stars,d=e.sales;if(!t&&!d)return null;var s=r.default.itemMeta;return"3in1"===this.mode&&(s=r.default.itemMeta3in1),"2in1"===this.mode&&(s=r.default.itemMeta2in1),(0,i.createElement)(l.default,{style:s},!!d&&(0,i.createElement)(a.default,{style:(0,n.getRTLCSS)(this.gdc,r.default,"itemOrders")},d),(0,i.createElement)(o.Star,{gdc:this.gdc,num:t}))}}]),d}()},function(module,exports){module.exports={itemMeta:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemMeta3in1:{display:"flex",alignItems:"center",marginTop:0,flexDirection:"row",flexWrap:"wrap"},itemMeta2in1:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemOrders:{fontSize:24,color:"rgb(151,151,151)",marginRight:8,fontFamily:"AEShopCustomFont",fontWeight:"450"},"itemOrders-rtl":{marginLeft:0,marginRight:0},topSelling:{display:"block"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Star=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=l(e(119)),r=e(0),o=l(e(6)),i=l(e(2)),a=l(e(1));function l(e){return e&&e.__esModule?e:{default:e}}exports.Star=function(e){function l(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(l.__proto__||Object.getPrototypeOf(l)).call(this,e));return t.gdc=e.gdc,t.num=e.num,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(l,r.Component),t(l,[{key:"render",value:function(){return this.num?+this.num<.1?null:(0,r.createElement)(a.default,{style:n.default.starWrapper},(0,r.createElement)(o.default,{style:n.default.starImage,source:{uri:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAATCAYAAACdkl3yAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAE2SURBVHgBpVTBTQMxENxxlBMBHtcBpgKSZ8QDrgPoACoIqSCiE6gkIBTxBCrIleAPCOWSmPVGwPk455xjJEtre3Y09tpL1AA7O7hyo4mHrSLPe5rWai4TlRxjaPIQV20TYpHJb1zcUBtHnpsNDC3YVWYM7eRo1RlVVlJKFkFXYSHYi5rVkZ2maT39hTc+Ck6ymqdHvNbn2JF1XQJZPqLCKweG4zfOyUl1H2Bn+/NgUjyMYtVH+jdwDzlzUkzZap/aAHzMXjeT8rcWA+XUSwYYGCNVk7ehVpeysYsIksyJuOlP+TH8zGnZGVM8xuUv478jtdQUDetxfSHgjGIBdRIWstAUi7VfmIqjStXk8nEt428htE/9NlP+7S7J4han73dlsjQ42Ak/4o1IqEdJN3w6PKcG1HXNLyUobuoTnHiPAAAAAElFTkSuQmCC"},autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1}),(0,r.createElement)(i.default,{style:n.default.starText},""+(+this.num).toFixed(1))):null}}]),l}()},function(module,exports){module.exports={starWrapper:{display:"flex",flexDirection:"row",alignItems:"center",position:"relative"},starText:{color:"rgb(151,151,151)",fontSize:24,fontFamily:"AEShopCustomFont",fontWeight:"450"},starImage:{width:18,height:18,marginRight:4}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Price=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(16),o=e(4),i=s(e(121)),a=e(0),l=s(e(2)),d=s(e(1));function s(e){return e&&e.__esModule?e:{default:e}}exports.Price=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return t.mode=e.mode,t.gdc=e.gdc,t.data=e.data,t.priceMode=e.priceMode,t.modsStyle=e.data.modsStyle||e.modsStyle,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,a.Component),n(s,[{key:"render",value:function(){var e=this;if(!this.data)return null;var n="3in1"===this.mode?26:30,s="3in1"===this.mode?22:24;if("tpp"===this.priceMode){if(!this.data.prices)return null;var c=(0,r.getTppOldPrice)(this.data.prices,this.modsStyle,this.gdc)||{},u=c.salePrice,f=c.originalPrice;return u||f?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",color:"#191919",alignItems:"center",marginLeft:(0,o.isRTL)(this.gdc)?8:0}},u&&u.map(function(r){return(0,a.createElement)(l.default,{style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:"#191919",fontSize:n})},r.text)})),f&&f.map(function(n,r){return(0,a.createElement)(l.default,{key:r,style:t({},n.style,(0,o.getRTLCSS)(e.gdc,i.default,"subPriceText"),{fontSize:s})},n.text)})):null}if(!this.data.prices&&!this.data.priceLocalInfo)return null;var p=this.data.priceLocalInfo&&this.data.priceLocalInfo.promotionPiecePriceStructure&&-1!==this.data.priceLocalInfo.promotionPiecePriceStructure.indexOf("|")?(0,r.getNewPrice)(this.data.priceLocalInfo,this.data.priceLocalConfig,this.gdc)||{}:(0,r.getTppOldPrice)(this.data.prices,this.modsStyle,this.gdc)||{},g=p.currentPrice,m=p.subPrice;return g?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",alignItems:"center",marginLeft:(0,o.isRTL)(this.gdc)?8:0}},g&&g.map(function(r,d){return(0,a.createElement)(l.default,{key:d,style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:"#191919",fontSize:n})},r.text)})),m&&(0,a.createElement)(l.default,{style:t({},(0,o.getRTLCSS)(this.gdc,i.default,"subPriceText"),m.style,{fontSize:s})},m.text)):null}}]),s}()},function(module,exports){module.exports={priceWrapper:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",marginRight:8,flexWrap:"nowrap"},"priceWrapper-rtl":{marginRight:0,marginLeft:8},priceWrapper2in1:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",flexWrap:"nowrap"},"priceWrapper2in1-rtl":{marginRight:0,marginLeft:8},priceWrapper3in1:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",marginRight:8,flexWrap:"wrap"},"priceWrapper3in1-rtl":{marginRight:0,marginLeft:8},priceText:{color:"rgb(25,25,25)",fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"},"priceText-rtl":{},subPriceText:{color:"rgb(151,151,151)",fontFamily:"AEShopCustomFont",fontWeight:"450",marginTop:2,marginRight:0,marginBottom:2,marginLeft:8},"subPriceText-rtl":{}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(8),o=e(4),i=e(21),a=f(e(123)),l=e(0),d=f(e(6)),s=f(e(2)),c=f(e(1)),u=e(3);function f(e){return e&&e.__esModule?e:{default:e}}function p(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var g=function(e){function f(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,f);var n,p=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(f.__proto__||Object.getPrototypeOf(f)).call(this,e));return p.renderTag=function(e,n){if((e.tagImgUrl||e.value)&&e.height&&+e.height>30){var r=+e.height,f=+e.width;e.height=30,e.width=f/r*30}if(e)switch(e.materialCode){case"search_item_text_icon":var g=(30*(+e.width+8)/+e.height||30)+6,m=(0,i.getSpaceFromIndent)(g);return{tagWidth:p.tagContainerWidth,tagHeight:30,TagComponent:(0,l.createElement)(c.default,{key:n,style:t({},a.default.withIcon,{width:p.tagContainerWidth,flexDirection:p.isAndroidRTL?"row":a.default.withIcon.flexDirection})},(0,l.createElement)(d.default,{style:t({},(0,o.getRTLCSS)(p.gdc,a.default,"tagImg"),a.default.withIconImg,{width:+e.width+1,height:+e.height+1,left:(0,o.isRTL)(p.gdc)?null:0,right:(0,o.isRTL)(p.gdc)?0:null}),source:{uri:e.tagImgUrl||e.value},autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1}),u.isWeex?(0,l.createElement)(s.default,{style:t({},a.default.tagText,p.textStyle,{color:e.tagStyle&&e.tagStyle.color||p.textStyle.color,width:p.isAndroidRTL?null:p.tagContainerWidth}),numberOfLines:p.isAndroidRTL?1:2},(""+m+e.tagText+(p.isAndroidRTL?m:"")).split("").join("\ufeff")):(0,l.createElement)(s.default,{style:t({},a.default.tagText,p.textStyle,{textIndent:g,color:e.tagStyle&&e.tagStyle.color||p.textStyle.color,width:p.tagContainerWidth}),numberOfLines:2},(""+e.tagText).split("").join("\ufeff")))};case"search_item_icon":return{tagWidth:+e.width+1,tagHeight:+e.height+1,TagComponent:(0,l.createElement)(d.default,{key:n,style:t({},(0,o.getRTLCSS)(p.gdc,a.default,"promotionTagImg"),{width:+e.width+1,height:+e.height+1}),source:{uri:e.tagImgUrl||e.value},autoReplaceDomain:!1,autoWebp:!1,autoScaling:!1,autoCompress:!1})};case"search_item_text":return{tagWidth:p.tagContainerWidth,tagHeight:30,TagComponent:(0,l.createElement)(s.default,{key:n,style:t({},a.default.tagText,p.textStyle,{width:null,color:e.tagStyle&&e.tagStyle.color||p.textStyle.color,marginRight:(0,o.isRTL)(p.gdc)?0:6,marginLeft:(0,o.isRTL)(p.gdc)?6:0})},(""+e.tagText).split("").join("\ufeff"))};default:return{TagComponent:null}}},p.gdc=e.gdc,p.data=e.data,p.mode=e.mode,p.type=e.type,p.tagsMode=e.tagsMode,p.textStyle="metadata"===p.type?{color:"#FD384F",fontWeight:400}:"selling"===p.type?{color:"#FD384F",fontWeight:400}:"shipping"===p.type?{color:"#191919",fontWeight:400}:{},"2in1"===p.mode&&(n=327),"hoz"===p.mode&&(n=410),p.tagContainerWidth=n,p.titleMode=e.titleMode,p.title=e.title,p.isAndroidRTL=u.isWeex&&(0,r.isAndroid)()&&(0,o.isRTL)(p.gdc),p}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(f,l.Component),n(f,[{key:"render",value:function(){var e=this;if(!this.data||"tpp"===this.tagsMode&&!this.data.sellingPoints||"shop"===this.tagsMode&&!this.data.atmosphere)return null;var n=[],r="tpp"===this.tagsMode?(0,i.convertTppSellingPointsToShopAtmosphere)(this.data.sellingPoints):this.data.atmosphere;if("metadata"===this.type)n=[].concat(p((0,i.getPositionTags)(r,1)));else if("selling"===this.type){var o=[].concat(p((0,i.getPositionTags)(r,2)));n=o&&o.length>1?o.slice(0,1):o}else if("shipping"===this.type){var d=[].concat(p((0,i.getPositionTags)(r,3)),p((0,i.getPositionTags)(r,4)));n=d&&d.length>1?d.slice(0,1):d}if(!n.length&&!this.titleMode)return null;this.titleMode&&(n=n.filter(function(e){return"search_item_icon"===e.materialCode}));for(var f=[],g=0;g<n.length;g++)f.push(n[g]);(0,i.sortTags)(f);var m=0,h=0,y=f.map(function(t,n){var r=e.renderTag(t,n);return m+=r.tagWidth+4,h=Math.max(h,r.tagHeight),r.TagComponent}),b=(30*+m/+h||30)+6,w=(0,i.getSpaceFromIndent)(b);return n.length||(m=0,h=0,b=0,w=""),(0,l.createElement)(c.default,{style:t({},a.default.horizontalTags,"metadata"===this.type?a.default.metaTagsAlter:{},this.textStyle,{width:this.tagContainerWidth})},(0,l.createElement)(c.default,{style:t({},a.default.horizontalTagsWrapper,{width:this.titleMode?m:this.tagContainerWidth,height:this.titleMode?h:null,position:this.titleMode?"absolute":"relative",top:this.titleMode?0:null,flexWrap:this.titleMode?null:"wrap"})},y),this.titleMode&&(u.isWeex?(0,l.createElement)(s.default,{style:t({},a.default.itemTagTitle,{width:this.tagContainerWidth}),numberOfLines:2},(""+w+this.title).split("").join("\ufeff")):(0,l.createElement)(s.default,{style:t({},a.default.itemTagTitle,{width:this.tagContainerWidth,textIndent:b}),numberOfLines:2},(""+this.title).split("").join("\ufeff"))))}}]),f}();exports.default=g,module.exports=exports.default},function(module,exports){module.exports={promotionTagImg:{height:32,marginRight:4,verticalAlign:"middle",display:"inline"},"promotionTagImg-rtl":{marginRight:0,marginLeft:4},tagImg:{height:32,marginRight:2,verticalAlign:"middle",display:"inline"},"tagImg-rtl":{marginRight:0,marginLeft:2},tagText:{color:"rgb(102,102,102)",fontSize:22,fontFamily:"AEShopCustomFont",fontWeight:"450",overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-all"},tagDot:{display:"inline",fontFamily:"AEShopCustomFont",fontWeight:"450"},horizontalTags:{position:"relative",display:"flex",flexDirection:"row",wordBreak:"break-all",alignItems:"center",justifyContent:"flex-start",flexWrap:"wrap"},metaTagsAlter:{display:"flex",flexDirection:"row",flexWrap:"wrap",wordBreak:"break-all"},withIcon:{position:"relative",overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-all",display:"flex",flexDirection:"row",justifyContent:"flex-start"},withIconImg:{position:"absolute",top:0},itemTagTitle:{fontSize:24,color:"rgb(25,25,25)",wordBreak:"break-all",textOverflow:"ellipsis",fontFamily:"AEShopCustomFont",fontWeight:"450"},horizontalTagsWrapper:{display:"flex",flexDirection:"row",alignContent:"center"}}},function(module,exports){module.exports={cardWrapper:{boxSizing:"border-box",display:"block",position:"relative",borderRadius:8,fontFamily:"AEShopCustomFont"},"cardWrapper-rtl":{direction:"rtl"},cardInner:{boxSizing:"border-box",display:"block",position:"relative",height:"100%",cursor:"pointer",textDecoration:"none"},cardInnerHoz:{flexDirection:"row",boxSizing:"border-box",display:"flex",position:"relative",cursor:"pointer",height:"100%",textDecoration:"none"},cardContent:{paddingTop:8,paddingLeft:8,paddingRight:8,paddingBottom:16,flexShrink:1},cardContentHoz:{paddingTop:0,paddingRight:8,flexShrink:1,width:418,height:268,position:"relative"},itemTitle:{fontSize:24,color:"rgb(25,25,25)",wordBreak:"break-all",textOverflow:"ellipsis",fontFamily:"AEShopCustomFont",fontWeight:"450"},itemTitleHoz:{width:410,fontSize:23,marginTop:7,marginRight:0,marginBottom:3,marginLeft:0},itemTitle3in1:{width:210,marginTop:2,marginRight:0,marginBottom:4,marginLeft:0},itemTitle2in1:{width:327,marginTop:0,marginRight:0,marginBottom:4,marginLeft:0},hozMeta:{flexDirection:"row",alignItems:"flex-end",paddingTop:6,paddingRight:0,paddingBottom:12,paddingLeft:0,flexWrap:"wrap",position:"absolute",bottom:0,left:0,width:410}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.getVersion=void 0;var t=e(31);exports.__=function(e,t,n){var r=e||t;for(var o in n){var i=n[o];r=r.replace(new RegExp("\\{\\w?"+o+"\\w?\\}","g"),i)}return r},exports.getUrlParams=function(e){var t=location.search||"",n=location.href.indexOf("?");n>-1&&!t&&(t=location.href.slice(n));for(var r=t.match(/[^&?]+=[^&]+/g)||[],o={},i=0;i<r.length;i++){var a=r[i].split(/=/),l=a[1].replace(/%25/g,"%");o[a[0]]=decodeURIComponent(l)}return o[e]||null},exports.getCookie=function(e){if(document.cookie.length>0){var t=document.cookie.indexOf(e+"="),n=0;if(-1!==t)return t=t+e.length+1,-1===(n=document.cookie.indexOf(";",t))&&(n=document.cookie.length),unescape(document.cookie.substring(t,n))}return null};exports.getVersion=function(){if(t.isWeex)return navigator.appVersion.toString();var e=navigator.userAgent.match(/AliApp\(([A-Z\-]+)\/([\d\.]+)\)/i);return e&&e[2]}},function(module,exports){module.exports={container:{width:750,position:"relative",backgroundColor:"rgb(255,255,255)",paddingBottom:24,fontFamily:"AEShopCustomFont"},titleWrapper:{display:"flex",flexDirection:"row",alignItems:"center",paddingTop:24,paddingRight:24,paddingBottom:24,paddingLeft:24},"titleWrapper-rtl":{justifyContent:"flex-end"},topContainer:{flexDirection:"column",justifyContent:"space-between"},titleContainer:{flexDirection:"row"},"titleContainer-rtl":{flexDirection:"row-reverse"},title:{fontSize:32,lineHeight:43,maxWidth:582,fontFamily:"AEShopCustomFont-Bold",fontWeight:"700",flexDirection:"row",justifyContent:"flex-start",color:"rgb(25,25,25)"},"title-dir":{textAlign:"right"},subTitle:{fontSize:24,fontFamily:"AEShopCustomFont",color:"rgb(102,102,102)",lineHeight:33,flexDirection:"row",justifyContent:"flex-start",whiteSpace:"pre"},arrowContainer:{justifyContent:"center"},list:{paddingLeft:24,paddingRight:24,display:"flex",flexDirection:"row",justifyContent:"flex-start"},listItem:{width:218,borderRadius:16,overflow:"hidden",marginRight:16},productTitle:{width:423,height:96,lineHeight:32,fontSize:24,fontFamily:"AEShopCustomFont",color:"rgb(102,102,102)"},defaultImage:{width:750},image:{position:"relative",width:218,height:218,borderRadius:12},coverImage:{position:"absolute",backgroundColor:"rgba(0,0,0,0.04)",width:218,height:218,borderRadius:12},arrowImage:{width:36,height:36},"arrowImage-dir":{transform:"rotate(180deg)"},productDetails:{width:218,marginTop:8,paddingRight:8,paddingLeft:8,overflow:"hidden"},priceWrapper:{fontSize:28,fontFamily:"AEShopCustomFont",fontWeight:"bold",display:"flex",flexDirection:"row",height:44,maxWidth:202,lineHeight:44,overflow:"hidden",alignItems:"flex-end",textOverflow:"ellipsis",whiteSpace:"nowrap",alignSelf:"start"},"discount-dir":{direction:"ltr"},"priceWrapper-dir":{direction:"ltr"},"subTitle-dir":{direction:"ltr"},"priceDiscount-dir":{direction:"ltr"},discount:{textDecoration:"line-through",alignSelf:"start",fontWeight:"400",fontSize:24,fontFamily:"AEShopCustomFont",color:"rgb(117,117,117)",lineHeight:32},priceDiscount:{display:"flex",position:"absolute",zIndex:6,top:0,left:0,height:40,lineHeight:40,width:80,backgroundColor:"rgb(253,56,79)",borderTopLeftRadius:12,borderBottomRightRadius:12,fontWeight:"700",fontSize:24,fontFamily:"AEShopCustomFont-Bold",color:"rgb(255,255,255)",textAlign:"center"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.getRTLCSS=exports.isRTL=exports.bottomBarHeight=exports.isIphoneXSeries=exports.statusBarHeight=void 0;var t="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},n=e(128),r=e(22),o=e(3),i=e(134),a=40,l=!1,d=0;if(o.isWeex){var s="object"===("undefined"==typeof WXEnvironment?"undefined":t(WXEnvironment))?WXEnvironment:{deviceModel:"",deviceHeight:"",aeStatusHeight:"40"},c=s.deviceModel,u=s.deviceHeight,f=s.aeStatusHeight;n.isIOS?((-1!==["iPhone15,2","iPhone15,3","iPhone15,4","iPhone15,5","iPhone16,1","iPhone16,2"].indexOf(c)||-1!==["2556","2796"].indexOf(u+""))&&(exports.isIphoneXSeries=l=!0,exports.statusBarHeight=a=106,exports.bottomBarHeight=d=40),(-1!==["iPhone10,3","iPhone10,6","iPhone11,2","iPhone11,4","iPhone11,6","iPhone11,8","iPhone12,1","iPhone12,3","iPhone12,5","iPhone13,1","iPhone13,2","iPhone13,3","iPhone13,4","iPhone14,2","iPhone14,3","iPhone14,4","iPhone14,5","iPhone14,7","iPhone14,8"].indexOf(c)||-1!==["2436","2688","1792","2340","2532","2778"].indexOf(u+""))&&(exports.isIphoneXSeries=l=!0,exports.statusBarHeight=a=88,exports.bottomBarHeight=d=40)):f&&(exports.statusBarHeight=a=parseInt(f,10))}else{if(n.isIOS){var p=window.screen,g=p.width,m=p.height;(375==+g&&812==+m||414==+g&&896==+m||390==+g&&844==+m||428==+g&&926==+m)&&(exports.isIphoneXSeries=l=!0)}var h=r.qs.parse(location.href);exports.statusBarHeight=a=parseInt(h.statusBarHeight,10)||0}exports.statusBarHeight=a,exports.isIphoneXSeries=l,exports.bottomBarHeight=d,exports.isRTL=i.isRTL,exports.getRTLCSS=i.getRTLCSS},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.appVersion=exports.appName=exports.osVersion=exports.osName=exports.isDingTalkApp=exports.isTMGApp=exports.isAEApp=exports.isAliApp=exports.isIPad=exports.isIPhone=exports.isAndroid=exports.isIOS=exports.isMobile=void 0;var t=e(3),n=e(32),r=e(129),o=exports.isMobile=!1,i=exports.isIOS=!1,a=exports.isAndroid=!1,l=exports.isIPhone=!1,d=exports.isIPad=!1,s=exports.isAliApp=!1,c=exports.isAEApp=!1,u=exports.isTMGApp=!1,f=exports.isDingTalkApp=!1,p=exports.osName="",g=exports.osVersion="",m=exports.appName="",h=exports.appVersion="";if(t.isWeex){var y=window.__weex_env__;exports.osName=p=y.osName.toLowerCase(),exports.isIOS=i="ios"===p,exports.isAndroid=a="android"===p,exports.isMobile=o=!0,y.deviceModel&&(exports.isIPhone=l=y.deviceModel.indexOf("iPhone")>-1,exports.isIPad=d=y.deviceModel.indexOf("iPad")>-1),exports.isAliApp=s="AliApp"===y.appGroup,exports.appName=m=y.appName,exports.isAEApp=c="AliExpress"===m,exports.isTMGApp=u="TMG"===m,exports.isDingTalkApp=f="DingTalk"===m,exports.osVersion=g=y.osVersion,exports.appVersion=h=y.appVersion}else{exports.isMobile=o=!!(0,n.uaMatch)(/AppleWebKit.*Mobile.*/),exports.isIOS=i=!!(0,n.uaMatch)(/\(i[^;]+;( U;)? CPU.+Mac OS X/)||(0,n.uaIncludes)("iPhone"),exports.isAndroid=a=(0,n.uaIncludes)("Android")||(0,n.uaIncludes)("Adr"),exports.osName=p=i?"ios":"android",exports.isIPhone=l=(0,n.uaIncludes)("iPhone"),exports.isIPad=d=(0,n.uaIncludes)("iPad"),exports.isAliApp=s=(0,n.uaIncludes)("AliApp"),exports.isAEApp=c=s&&((0,n.uaIncludes)("Aliexpress")||(0,n.uaIncludes)("AE")),exports.isTMGApp=u=s&&(0,n.uaIncludes)("TMG"),exports.isDingTalkApp=f=s&&(0,n.uaIncludes)("DingTalk"),exports.osVersion=g=i?r.iosVersion:r.androidVersion;var b=(0,n.uaMatch)(/AliApp\((.*?)\/(.*?)\)/g);(null==b?void 0:b.length)>0&&b.map(function(e){if(-1===e.indexOf("AliexpressAndroid")){var t=e.match(/AliApp\((.*?)\/(.*?)\)/);(null==t?void 0:t.length)>1&&(exports.appName=m=t[1],exports.appVersion=h=t[2])}})}exports.default={isMobile:o,isIOS:i,isAndroid:a,isIPhone:l,isIPad:d,isAliApp:s,isAEApp:c,isTMGApp:u,osName:p,osVersion:g,appName:m,appVersion:h,isDingTalkApp:f}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.androidVersion=exports.iosVersion=void 0;var t=e(32);var n;exports.iosVersion=(n=t.ua.toLowerCase().match(/cpu iphone os (.*?) like mac os/))&&Array.isArray(n)&&n.length>0&&n[1]?n[1].replace(/_/gi,"."):"",exports.androidVersion=function(){var e=t.ua.toLowerCase().match(/android [\d._]+/gi);return t.ua.toLowerCase().indexOf("android")>0?(e+"").replace(/[^0-9|_.]/gi,"").replace(/_/gi,"."):""}()},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.getAEInfoByHawe=void 0,exports.getAEWeexEnv=c,exports.getAECommonEnv=u,exports.getAEEnv=f,exports.getAEEnvIncludeHawe=p,exports.getAEInfo=function(){var e,n,o,i,a,l,f,p,g,m=!1;try{if(i=(0,r.getCookie)("aep_usuc_f"),a=(0,r.getCookie)("cna"),l=(0,r.queryCookie)(i,"x_alimid"),f=(0,r.queryCookie)(i,"acs_rt"),t.isWeex){var h=c();e=h.aeLocale,n=h.aeRegion,o=h.aeCurrency,g=h.aeDirection}else{p="y"===(0,r.getCookie)("xman_us_t","sign");var y=u();e=y.aeLocale,n=y.aeRegion,o=y.aeCurrency,g=y.aeDirection}m=g===d.RTL}catch(e){console.error(e)}return{aeLocale:e=s[e]||e,aeRegion:n,aeCurrency:o,aeDirection:g,isRtl:m,aep_usuc_f:i,cna:a,buyerAliId:l,acs_rt:f,isWebLogin:p}},exports.getAEInfoIncludeHawe=g;var t=e(3),n=e(33),r=e(23),o=e(35),i=e(36),a={locale:"en_US",country:"US",currency:"USD",direction:"rtl"},l=["ar_SA","ar_MA","he_IL","iw_IL"],d={RTL:"rtl",LTR:"ltr"},s={iw_IL:"he_IL",ar_MA:"ar_SA",in_ID:"id_ID"};function c(){var e=weex.config.env,t=e.aeLocale,n=void 0===t?a.locale:t,r=e.aeCountry,o=void 0===r?a.country:r,i=e.aeCurrency,l=void 0===i?a.currency:i,d=e.aeDirection;return{aeLocale:n,aeRegion:o,aeCurrency:l,aeDirection:void 0===d?a.direction:d}}function u(){var e=(0,r.getCookie)("aep_usuc_f"),t=(0,r.queryCookie)(e,"b_locale")||a.locale;return{aeLocale:t,aeRegion:(0,r.queryCookie)(e,"region")||a.country,aeCurrency:(0,r.queryCookie)(e,"c_tp")||a.currency,aeDirection:-1===l.indexOf(t)?d.LTR:d.RTL}}function f(){return t.isWeex?c():u()}function p(e){return new Promise(function(r,i){try{n.isAEApp&&!t.isWeex?(0,o.callHaweAppinfo)(e).then(function(e){var t=e.aeLocale,n=e.aeRegion,o=e.aeCurrency;if(!t||!n||!o){var i=u();t=i.aeLocale,n=i.aeRegion,o=i.aeCurrency}r({aeLocale:t,aeRegion:n,aeCurrency:o,aeDirection:-1===l.indexOf(t)?d.LTR:d.RTL})}):r(f())}catch(e){i(e)}})}function g(e){var o,a,l,c,u,f,g,m,h=!1;return(t.isWeex||!n.isAEApp)&&(c=(0,r.getCookie)("aep_usuc_f"),u=(0,r.getCookie)("cna"),f=(0,r.queryCookie)(c,"x_alimid"),g=(0,r.queryCookie)(c,"acs_rt")),new Promise(function(t){return(0,i.isLogin)().then(function(n){return p(e).then(function(e){o=e.aeLocale,a=e.aeRegion,l=e.aeCurrency,m=e.aeDirection,h=m===d.RTL,o=s[o]||o,t({isWebLogin:n,aeLocale:o,aeRegion:a,aeCurrency:l,isRtl:h,aep_usuc_f:c,cna:u,buyerAliId:f,acs_rt:g})})})})}exports.getAEInfoByHawe=g},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.androidVersion=exports.iosVersion=void 0;var t=e(34);var n;exports.iosVersion=(n=t.ua.toLowerCase().match(/cpu iphone os (.*?) like mac os/))&&Array.isArray(n)&&n.length>0&&n[1]?n[1].replace(/_/gi,"."):"",exports.androidVersion=function(){var e=t.ua.toLowerCase().match(/android [\d._]+/gi);return t.ua.toLowerCase().indexOf("android")>0?(e+"").replace(/[^0-9|_.]/gi,"").replace(/_/gi,"."):""}()},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.qs={parse:function(e){var t={},n=null,r=/[?&](.*?)=([^&#]*)/g;for(n=r.exec(e);n;){try{t[n[1]]=decodeURIComponent(n[2])}catch(e){try{t[n[1]]=unescape(n[2])}catch(e){t[n[1]]=n[2]}}n=r.exec(e)}return t},stringify:function(e){return e?Object.keys(e).map(function(t){return t+"="+encodeURIComponent(e[t])}).join("&"):""}}},function(module,exports){var e="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};function t(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}Object.defineProperty(exports,"__esModule",{value:!0});exports.Url=function(){function n(){this._params=void 0,this._hash=void 0,this._url=void 0,this.protocol=void 0,this.username=void 0,this.password=void 0,this.host=void 0,this.port=void 0,this.hostname=void 0,this.pathname=void 0,this.origin=void 0,this._params={},this._hash=""}var r,o,i,a=n.prototype;return a.parse=function(e){void 0===e&&(e="");var t=e.split("?"),n=/^([a-z0-9-]+:)?[/]{2}(?:([^@/:?]+)(?::([^@/:]+))?@)?([^:/?#]+)(?:[:]([0-9]+))?([/][^?#]*)?(?:[?]([^?#]*))?(#[^#]*)?$/i,r=e.match(n)||t[0].match(n);if(!r)throw console.error("wrong url scheme"),new Error("parse url error");return t.shift(),this.protocol=r[1]||"",this.username=r[2]||"",this.password=r[3]||"",this.hostname=r[4]||"",this.host=r[4]||"",this.port=r[5]||"",this.pathname=r[6]||"/",this.search=r[7]||t.join("?")||"",this.hash=r[8]||"",this.origin=this.protocol+"//"+this.hostname,this._url=e,this},a.toString=function(){var e=this.protocol?this.protocol+"//":"//";return this.username&&(e+=this.username,this.password&&(e+=":"+this.password),e+="@"),e+=this.host?this.host:"",this.port&&"80"!==this.port&&(e+=":"+this.port),this.pathname&&(e+=this.pathname),e?(this.search&&(e+=this.search),this.hash&&(e+=this.hash),e):this._url},r=n,(o=[{key:"params",get:function(){return this._params},set:function(t){"object"===(void 0===t?"undefined":e(t))&&(this._params=t)}},{key:"search",get:function(){var e=[];for(var t in this.params)if(this.params[t])try{e.push(encodeURIComponent(t)+"="+encodeURIComponent(this.params[t]))}catch(e){}else try{e.push(encodeURIComponent(t))}catch(e){}return e.length?"?"+e.join("&"):""},set:function(e){if("string"==typeof e){0===e.indexOf("?")&&(e=e.substr(1));var t=e.split("&");for(var n in this.params)delete this.params[n];for(var r,o=0;o<t.length;o++)if((r=t[o].split("="))[0])try{this.params[decodeURIComponent(r[0])]=decodeURIComponent(r[1]||"")}catch(e){this.params[r[0]]=r[1]||""}}}},{key:"hash",get:function(){return this._hash},set:function(e){"string"==typeof e&&(e&&e.indexOf("#")<0&&(e="#"+e),this._hash=e||"")}}])&&t(r.prototype,o),i&&t(r,i),Object.defineProperty(r,"prototype",{writable:!1}),n}()},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.isRTL=t,exports.getRTLCSS=function(e,n,r){var o=n[r],i=Object.assign({},o,n[r+"-dir"],n[r+"-rtl"]);return t(e)?i:o};var e=["ar","he","Arabic","Hebrew"];function t(t){var n=t.lang,r=void 0===n?"":n;return e.includes(r)}},function(module,exports){module.exports=require("@weex-module/appConfig")},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(0),o=c(e(1)),i=c(e(2)),a=c(e(137)),l=e(195),d=c(e(196)),s=e(9);function c(e){return e&&e.__esModule?e:{default:e}}var u=["ar","he","Arabic","Hebrew"],f=function(e){return[].concat(["SA","AE","QA","KW","BH","OM"],["AU"]).includes(e)},p=function(e){function c(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,c);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,e));return n.getData=function(e){var t=n.state.gdc,r=t.shopId,o=t.locale,i=void 0===o?"en_US":o,a=t.country,d=void 0===a?"US":a,c=t.currency,u=void 0===c?"USD":c,f=t.lang,p=void 0===f?"en":f,g={scenario:(0,s.isADC)()?"appFullPieceDiscount":"pcFullPieceDiscount",locale:i,shipToCountry:d,lang:p,currency:u,streamId:"",visitorId:(0,s.isADC)()?e:(0,l.getCookie)("cna"),pageIndex:1,pageSize:10,recommendInfo:JSON.stringify({storeId:r}),platform:(0,s.isADC)()?"app":"pc",sversion:3.6};(0,s.isADC)()?(g.app_client_v=(0,l.getVersion)(),g.clientType=(0,s.isAndroid)()?"android":"iphone"):g.clientType="msite";var m={appId:668,params:JSON.stringify(g)};n.pageUtils.Mtop.request({api:"mtop.relationrecommend.AliexpressRecommend.recommend",v:"1.0",data:m},function(e){var t=e.data&&e.data.result&&e.data.result[0]||{},r=t.mods&&t.mods.listItems||[];r&&r.length>=3&&n.setState({dataSource:r.slice(0,3),modsStyle:t&&t.modsStyle,showDataStatus:!0,showNoDataStatus:!1})},function(e){console.error("appFullPieceDiscount-ERROR",JSON.stringify(e))})},n.getColorText=function(e,t,n){var r=e||t,o=[];return-1===r.indexOf("{x}%")?(o=r.split("%{x}")).splice(o.length-1,0,"%"+n+" "):(o=r.split("{x}%")).splice(o.length-1,0," "+n+"%"),o},n.getSubTitle=function(){var e=n.state,a=e.gdc,l=void 0===a?{}:a,d=e.mds,s=e.isSale,c=l.translation,u=void 0===c?{}:c,p=l.translate,g=void 0===p?{}:p,m=d.moduleData,h=(void 0===m?{}:m).fullPieceLevelList,y=void 0===h?[]:h,b=[g["module.mobile.BundleDealsDefaultTitle"]||"Buy more to save more!"];y&&y.length>0&&(b=n.getColorText(u["module.wireless.fullPieceDiscountItemList.subTitle"]||g["module.wireless.fullPieceDiscountItemList.subTitle"],"Buy more to save up to {x}%",y[0]&&y[0].discount||0));var w="#666666";return s&&(w="#ffffff",f(l.country)&&(w="#000000")),(0,r.createElement)(o.default,{style:t({},n.getDirCss("subTitle"))},b.map(function(e,t){return(0,r.createElement)(i.default,{key:t,style:{fontSize:24,color:w}},e)}))},n.getDirCss=function(e){var t=d.default[e],r=Object.assign({},t,d.default[e+"-dir"]);return n.isDir()?r:t},n.isDir=function(){var e=n.state.gdc,t=(void 0===e?{}:e).lang,r=void 0===t?"":t;return u.includes(r)},n.goTargetUrl=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=n.state.mds,o={url:e,nid:t,widgetId:r.widgetId,moduleName:r.moduleName};n.pageUtils.goTargetUrl&&n.pageUtils.goTargetUrl(o)},n.getProductUrl=function(e,t){var n=[];return e&&(e.detailPage&&Object.keys(e.detailPage).forEach(function(t){n.push({key:t,value:encodeURIComponent(e.detailPage[t])})}),e.pdpParams&&["pdp_ext_f","pdp_pi"].forEach(function(t){e.pdpParams[t]&&n.push({key:t,value:e.pdpParams[t]})})),"https://www.aliexpress.com/item/"+t+".html?"+n.map(function(e){return e.key+"="+e.value.substring(0,131072)}).join("&")},n.renderCell=function(e){var t=n.state.isSale;return(0,r.createElement)(o.default,{style:d.default.list},e.map(function(i,l){var d="dsaRiskImg"===i.image.maskType,c=(i.trace||{}).utLogMap,u=n.state.gdc.useNewItemLayout?"US":"OLDUS";return(0,r.createElement)(o.default,{key:l,style:{marginRight:l===e.length-1?0:12}},(0,r.createElement)(a.default,{showAddCart:(0,s.isADC)()&&t,layout:u,mode:"3in1",priceMode:"tpp",tagsMode:"tpp",showMask:d,pageUtils:n.props.pageUtils,gdc:n.props.gdc,mds:n.props.mds,modsStyle:n.state.modsStyle,cardBg:t?"#fff":"transparent",data:{id:i.productId,image:(i.image||{}).imgUrl,title:(i.title||{}).displayTitle,sales:(i.trade||{}).tradeDesc,stars:(i.evaluation||{}).starRating,prices:i.prices,sellingPoints:i.sellingPoints,utLogMap:c}}))}))},n.renderList=function(){var e=n.state.dataSource;if(e.length>=3)return n.renderCell(e.slice(0,3))},n.pageUtils=e.pageUtils,n.state={mds:e.mds||{},gdc:e.gdc||{},showDataStatus:!1,showNoDataStatus:e.gdc.preView||!1,dataSource:[],modsStyle:{},appearTime:null,isSale:(0,l.getUrlParams)("pagePath")&&(0,l.getUrlParams)("pagePath").includes("promotion-")||e.gdc.bigSalePage||!1},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(c,r.Component),n(c,[{key:"componentWillMount",value:function(){if(this.state.mds.widgetId)if((0,s.isADC)()){var e=(0,s.getEnv)();this.getData(e.deviceId)}else this.getData()}},{key:"render",value:function(){var e=this,n=this.state,a=n.mds,l=n.gdc,c=void 0===l?{}:l,u=n.showDataStatus,p=n.showNoDataStatus,g=n.isSale,m=c.translation,h=void 0===m?{}:m,y=c.translate,b=void 0===y?{}:y,w=a.moduleName,v=void 0===w?"":w,x="https://ae01.alicdn.com/kf/Sbf97bf05061f4fe8a41ac88c8549d741p/32x32.png";g&&(x="https://ae01.alicdn.com/kf/S2593d71af54e4a6abf48c5f5617855544/32x32.png",f(c.country)&&(x="https://ae01.alicdn.com/kf/Sbf97bf05061f4fe8a41ac88c8549d741p/32x32.png"));var C="#000000";if(g&&(C="#ffffff",f(c.country)&&(C="#000000")),u){var S={exp_trigger:"",st_page_id:window.dmtrack_pageid,exp_type:v+"_Exposure_Event",exp_attribute:""};return(0,r.createElement)(o.default,t({},S,{style:t({},d.default.container,{backgroundColor:g?"transparent":"#fff"}),"data-role":a.moduleName,"data-spmc":a.moduleName+"_"+a.widgetId}),(0,r.createElement)(o.default,{style:(0,s.getRTLCSS)(c,d.default,"titleWrapper"),onClick:function(){var t=e.props.mds,n=void 0===t?{}:t,r=new URL(window.location.href);r.searchParams.set("pagePath","bundle-deals.htm"),console.log("going to "+r.toString());var o={url:r.toString(),nid:0,widgetId:n.widgetId,moduleName:n.moduleName,target:"_blank"};(0,s.isADC)()&&(0,s.isWindVane)()?/^aecmd:/.test(r)?window.location.href=r:(0,s.isIOS)()?window.WindVane.call("AEWVNavigator","openWindow",{url:r}):window.open(r,"_blank"):e.pageUtils.goTargetUrl&&e.pageUtils.goTargetUrl(o)}},(0,r.createElement)(o.default,{style:(0,s.getRTLCSS)(c,d.default,"topContainer")},(0,r.createElement)(o.default,{style:(0,s.getRTLCSS)(c,d.default,"titleContainer")},(0,r.createElement)(i.default,{style:t({},d.default.title,{color:C})},h["module.wireless.fullPieceDiscountPageTitle.title"]||b["module.wireless.fullPieceDiscountPageTitle.title"]||"Bundle Deals"),(0,r.createElement)(o.default,{style:d.default.arrowContainer,"data-role":a.moduleName,"data-spmc":a.moduleName+"_"+a.widgetId,"data-spmd":a.moduleName+"_"+a.widgetId+"_arrow"},(0,r.createElement)("img",{style:t({},this.getDirCss("arrowImage")),src:x}))),this.getSubTitle())),this.renderList())}return p?(0,r.createElement)("img",{style:t({},d.default.defaultImage,{width:a.defaultImageWidth||750,height:a.defaultImageHeight||400}),src:a.defaultImage}):null}}]),c}();exports.default=p,module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=l(e(138)),r=l(e(152)),o=l(e(167)),i=l(e(181)),a=e(0);function l(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function l(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(l.__proto__||Object.getPrototypeOf(l)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(l,a.Component),t(l,[{key:"render",value:function(){switch(this.props.layout){case"US":return(0,a.createElement)(o.default,this.props);case"OLDUS":return(0,a.createElement)(i.default,this.props);case"KR":return(0,a.createElement)(r.default,this.props);case"COMPARE":return(0,a.createElement)(n.default,this.props);default:return null}}}]),l}();exports.default=d,module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(9),o=e(141),i=e(10),a=e(17),l=e(5),d=e(143),s=e(145),c=e(149),u=h(e(151)),f=h(e(11)),p=e(12),g=e(0),m=h(e(1));function h(e){return e&&e.__esModule?e:{default:e}}var y=function(e){function h(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,h);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(h.__proto__||Object.getPrototypeOf(h)).call(this,e));return n.broadcastChannel=function(){new BroadcastChannel("popMobileConfirm").onmessage=function(){n.setState({showMask:!1})}},n.getProductUrl=function(e,t){var n=[];return t&&(t.detailPage&&Object.keys(t.detailPage).forEach(function(e){n.push({key:e,value:encodeURIComponent(t.detailPage[e])})}),t.pdpParams&&["pdp_ext_f","pdp_pi"].forEach(function(e){t.pdpParams[e]&&n.push({key:e,value:t.pdpParams[e]})})),"https://www.aliexpress.com/item/"+e+".html?"+n.map(function(e){return e.key+"="+e.value.substring(0,131072)}).join("&")},n.goTargetUrl=function(e,t,r){e||(e=n.getProductUrl(t,n.data.trace));var o=n.gdc,a=o.spm_cnt,l=o.pageId,d=o.pageName,s=o.sellerId,c=o.shopId,u=o.userId,f=n.mds,g=f.widgetId,m=f.moduleName,h={url:e,nid:t||0,widgetId:g,moduleName:m,target:r||null};n.data.utLogMap&&(0,p.sendClickUT)(a+"."+m,"",l,d,"Product_Click_Event",{seller_id:""+s,shop_id:""+c,user_id:""+u,utLogMap:n.data.utLogMap}),n.pageUtils.goTargetUrl?n.pageUtils.goTargetUrl(h):(0,i.openWindow)(e)},n.open=function(e,t){var o=n.state.showMask;if("true"!==o&&!0!==o)n.goTargetUrl(e,t);else if((0,r.isADC)())(0,i.callWindVaneHandler)("AEWVPrivacy","euSafetyFilter",{},function(r){r.wantedSee&&(new BroadcastChannel("popMobileConfirm").postMessage(r),setTimeout(function(){n.goTargetUrl(e,t)},100))},function(e){console.warn(e)});else{var a=n.gdc.locale;f.default.show({isRtl:!1,locale:a,fetcher:window.lib.mtop.request,onOk:function(r){console.log(r);var o=r.success,i=r.errMsg;o?(new BroadcastChannel("popMobileConfirm").postMessage(r),setTimeout(function(){n.goTargetUrl(e,t)},100)):console.warn(i)},onCancel:function(){}})}},n.render3In1Card=function(){var e=n.data,r=e.id,i=e.url,a=n.state.showMask;return(0,g.createElement)(m.default,t({},n.expProps,{style:t({},(0,l.getRTLCSS)(n.gdc,u.default,"cardWrapper"),{width:226},n.style)}),(0,g.createElement)(p.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,g.createElement)(m.default,t({},n.clkProps,{style:u.default.cardInner,onClick:function(){n.open(i,r)}}),(0,g.createElement)(d.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:226,showMask:a,showAddCart:n.showAddCart}),(0,g.createElement)(m.default,{style:u.default.cardContent},(0,g.createElement)(c.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}),(0,g.createElement)(s.Meta,{mode:n.mode,gdc:n.gdc,tagsMode:n.tagsMode,data:n.data}),n.showAddCart&&(0,g.createElement)(m.default,{style:{marginTop:12,height:48}}))),n.showAddCart&&(0,g.createElement)(o.AddCart,{style:{marginTop:12},data:n.data,gdc:n.gdc,wrapperWidth:226}))},n.pageUtils=e.pageUtils||{},n.gdc=e.gdc||{},n.mds=e.mds||{},n.mode="3in1",n.modsStyle=e.modsStyle||{},n.priceMode=e.priceMode||"shop",n.tagsMode=e.tagsMode||"shop",n.showAddCart=e.showAddCart||!1,n.data=e.data,n.data.modsStyle&&(n.modsStyle=n.data.modsStyle),(0,a.debug)("data",n.data),n.expProps=e.expProps||{},n.clkProps=e.clkProps||{},n.style=e.style||{},n.state={showMask:e.showMask},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(h,g.Component),n(h,[{key:"componentDidMount",value:function(){this.broadcastChannel()}},{key:"render",value:function(){return this.data?this.render3In1Card():null}}]),h}();exports.default=y,module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.bottomBarHeight=exports.isIphoneXSeries=exports.statusBarHeight=void 0;var t=e(38),n=e(22),r=40,o=!1,i=0;if((0,t.isADC)()){var a=(0,t.getEnv)(),l=a.deviceModel,d=a.adcDeviceHeight,s=a.adcStatusBarHeight;(0,t.isIOS)()?((-1!==["iPhone15,2","iPhone15,3","iPhone15,4","iPhone15,5","iPhone16,1","iPhone16,2"].indexOf(l)||-1!==["2556","2796"].indexOf(d+""))&&(exports.isIphoneXSeries=o=!0,exports.statusBarHeight=r=106,exports.bottomBarHeight=i=40),(-1!==["iPhone10,3","iPhone10,6","iPhone11,2","iPhone11,4","iPhone11,6","iPhone11,8","iPhone12,1","iPhone12,3","iPhone12,5","iPhone13,1","iPhone13,2","iPhone13,3","iPhone13,4","iPhone14,2","iPhone14,3","iPhone14,4","iPhone14,5","iPhone14,7","iPhone14,8"].indexOf(l)||-1!==["2436","2688","1792","2340","2532","2778"].indexOf(d+""))&&(exports.isIphoneXSeries=o=!0,exports.statusBarHeight=r=88,exports.bottomBarHeight=i=40)):s&&(exports.statusBarHeight=r=parseInt(s,10))}else{if((0,t.isIOS)()){var c=window.screen,u=c.width,f=c.height;(375==+u&&812==+f||414==+u&&896==+f||390==+u&&844==+f||428==+u&&926==+f)&&(exports.isIphoneXSeries=o=!0)}var p=n.qs.parse(window.location.href);exports.statusBarHeight=r=parseInt(p.statusBarHeight,10)||0}exports.statusBarHeight=r,exports.isIphoneXSeries=o,exports.bottomBarHeight=i},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.isRTL=t,exports.getRTLCSS=function(e,n,r){var o=n[r],i=Object.assign({},o,n[r+"-dir"],n[r+"-rtl"]);return t(e)?i:o};var e=["ar","he","Arabic","Hebrew"];function t(t){var n=t.lang,r=void 0===n?"":n;return e.includes(r)}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.AddCart=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(9),o=e(10),i=s(e(142)),a=e(0),l=s(e(2)),d=s(e(1));function s(e){return e&&e.__esModule?e:{default:e}}exports.AddCart=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));t.refreshAddCartNum=function(){(0,o.callWindVaneHandler)("AEWVCartIslandBar","queryIslandBarData",{siteType:"island"},function(e){var n=(e||{}).selectedItem,r=+(n=(n="string"==typeof n?JSON.parse(n):n)||{})[""+t.data.id]||0;r>0&&t.setState({addCartNum:r})})},t.openSKUPanel=function(e){e.stopPropagation();var n="https://m.aliexpress.com/app/sku.html";n+="?channel=store",n+="&productId="+t.data.id,(0,o.openWindow)(n)},t.data=e.data,t.gdc=e.gdc,t.state={addCartNum:0};var n=t.gdc||{},r=n.translation,i=void 0===r?{}:r,a=n.translate,l=void 0===a?{}:a;return Object.assign(i,l),t.translation=i,t.wrapperWidth=t.props.wrapperWidth||226,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,a.Component),n(s,[{key:"componentDidMount",value:function(){var e=this;(0,r.isADC)()&&(this.refreshAddCartNum(),(0,o.addGlobalEventListener)("AEDefaultCartDataDidUpdate",function(t){console.warn("[debug] AEDefaultCartDataDidUpdate "+JSON.stringify(t)),e.refreshAddCartNum()}))}},{key:"render",value:function(){return(0,a.createElement)(d.default,{style:t({},i.default.addCart,this.props.style,{width:this.wrapperWidth})},(0,a.createElement)(d.default,{style:i.default.addCartIcon},(0,a.createElement)(d.default,{style:i.default.addCartIconImgWrapper,onClick:this.openSKUPanel},(0,a.createElement)(l.default,{style:i.default.addCartIconText},this.translation["module.wireless.compareSelling.addToCart"]||"Add to cart"),this.state.addCartNum>0&&(0,a.createElement)(l.default,{style:i.default.addCartNum},this.state.addCartNum>99?"99+":this.state.addCartNum))))}}]),s}()},function(module,exports){module.exports={addCart:{position:"absolute",height:48,bottom:16,left:0,right:0},addCartIcon:{height:48,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImgWrapper:{backgroundColor:"rgb(25,25,25)",height:48,paddingTop:0,paddingRight:16,paddingBottom:0,paddingLeft:16,borderRadius:32,justifyContent:"center",alignItems:"center",position:"relative",cursor:"pointer"},addCartIconText:{color:"rgb(255,255,255)",fontSize:20,fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"},addCartNum:{backgroundColor:"rgb(253,56,79)",color:"rgb(255,255,255)",position:"absolute",right:-12,top:-4,width:28,height:28,borderRadius:14,fontSize:20,textAlign:"center",borderWidth:"1px",borderStyle:"solid",borderColor:"rgb(255,255,255)"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Image=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(5),o=d(e(144)),i=e(0),a=d(e(2)),l=d(e(1));function d(e){return e&&e.__esModule?e:{default:e}}exports.Image=function(e){function d(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,e));return t.gdc=e.gdc,t.data=e.data,t.mode=e.mode,t.showAddCart=e.showAddCart||!1,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(d,i.Component),n(d,[{key:"render",value:function(){if(!this.data)return null;var e,n=this.data,d=n.image,s=n.title,c=n.cornorMark||{},u=c.value,f=c.color,p=c.bgColor,g=this.props.showMask;e=!0===g||"true"===g?"https://ae01.alicdn.com/kf/S1e0b5f59d44845c89d23644878384c33Z/504x504.png":d;var m=268;return"2in1"===this.mode&&(m=343),"3in1"===this.mode&&(m=226),"2in1"===this.mode&&this.data.discount&&"0"!==this.data.discount&&"undefined"!==this.data.discount&&"null"!==this.data.discount&&(u=this.data.discount,p="#FD384F",f="#ffffff"),(0,i.createElement)(l.default,{style:"2in1"===this.mode||"3in1"===this.mode?o.default.imgOuter:(0,r.getRTLCSS)(this.gdc,o.default,"imgOuterHoz")},(0,i.createElement)(l.default,{style:t({},o.default.imgWrapper,{width:m,height:m})},(0,i.createElement)("img",{style:t({},o.default.itemImg,{width:m,height:m,objectFit:"cover"}),src:e,alt:s}),(0,i.createElement)(l.default,{style:t({},o.default.bgMask,{width:m,height:m})}),!!u&&(0,i.createElement)(l.default,{style:t({},(0,r.getRTLCSS)(this.gdc,o.default,"mark"),{backgroundColor:p||"#FD384F"})},(0,i.createElement)(a.default,{style:t({},o.default.markText,{color:f||"#ffffff"})},u))))}}]),d}()},function(module,exports){module.exports={imgOuter:{overflow:"hidden"},imgOuterHoz:{flex:"0 0 auto",marginRight:16,overflow:"hidden"},"imgOuterHoz-rtl":{marginRight:0,marginLeft:16},imgWrapper:{position:"relative",outline:"none",borderStyle:"none",textDecoration:"none",borderRadius:8,borderBottomLeftRadius:0,borderBottomRightRadius:0,overflow:"hidden"},itemImg:{display:"block",position:"relative",userSelect:"none",pointerEvents:"none",outline:"none",borderStyle:"none",objectFit:"cover"},mark:{position:"absolute",left:0,top:0,height:48,paddingTop:0,paddingRight:12,paddingBottom:0,paddingLeft:12,borderTopLeftRadius:8,borderBottomRightRadius:8,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"mark-rtl":{left:"unset",right:0,borderTopLeftRadius:"unset",borderBottomRightRadius:"unset",borderTopRightRadius:8,borderBottomLeftRadius:8},bgMask:{position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"rgba(0,0,0,0.03)"},markText:{fontFamily:"AEShopCustomFont-Bold",fontWeight:"700",fontSize:28},addCart:{position:"absolute",right:0,bottom:0,paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12,width:88,height:88},addCartIcon:{width:64,height:64,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImgWrapper:{backgroundColor:"rgb(25,25,25)",width:64,height:64,borderRadius:32,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImg:{width:32,height:32,backgroundColor:"rgb(25,25,25)",marginTop:2,marginRight:2},addCartNum:{backgroundColor:"rgb(253,56,79)",color:"rgb(255,255,255)",position:"absolute",right:0,top:0,width:28,height:28,borderRadius:14,fontSize:20,textAlign:"center",borderWidth:"1px",borderStyle:"solid",borderColor:"rgb(255,255,255)"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Meta=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=e(5),r=d(e(146)),o=e(147),i=e(0),a=d(e(2)),l=d(e(1));function d(e){return e&&e.__esModule?e:{default:e}}exports.Meta=function(e){function d(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,e));return t.gdc=e.gdc,t.mode=e.mode,t.data=e.data,t.tagsMode=e.tagsMode,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(d,i.Component),t(d,[{key:"render",value:function(){if(!this.data)return null;var e=this.data,t=e.stars,d=e.sales;if(!t&&!d)return null;var s=r.default.itemMeta;return"3in1"===this.mode&&(s=r.default.itemMeta3in1),"2in1"===this.mode&&(s=r.default.itemMeta2in1),(0,i.createElement)(l.default,{style:s},!!d&&(0,i.createElement)(a.default,{style:(0,n.getRTLCSS)(this.gdc,r.default,"itemOrders")},d),(0,i.createElement)(o.Star,{gdc:this.gdc,num:t}))}}]),d}()},function(module,exports){module.exports={itemMeta:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemMeta3in1:{display:"flex",marginTop:0,flexDirection:"column",alignItems:"center",justifyContent:"center"},itemMeta2in1:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemOrders:{fontSize:24,color:"rgb(25,25,25)",marginRight:8,fontFamily:"AEShopCustomFont-Demibold",fontWeight:"600"},"itemOrders-rtl":{marginLeft:0,marginRight:0},topSelling:{display:"block"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Star=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=a(e(148)),r=e(0),o=a(e(2)),i=a(e(1));function a(e){return e&&e.__esModule?e:{default:e}}exports.Star=function(e){function a(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return t.gdc=e.gdc,t.num=e.num,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r.Component),t(a,[{key:"render",value:function(){if(void 0===this.num||null===this.num)return null;var e=Math.floor(this.num);e>5&&(e=5);var t=5-e;return(0,r.createElement)(i.default,{style:n.default.starWrapper},Array(e).fill(1).map(function(e,t){return(0,r.createElement)("img",{key:"star0-"+t,style:n.default.starImage,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAATCAYAAACdkl3yAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAE2SURBVHgBpVTBTQMxENxxlBMBHtcBpgKSZ8QDrgPoACoIqSCiE6gkIBTxBCrIleAPCOWSmPVGwPk455xjJEtre3Y09tpL1AA7O7hyo4mHrSLPe5rWai4TlRxjaPIQV20TYpHJb1zcUBtHnpsNDC3YVWYM7eRo1RlVVlJKFkFXYSHYi5rVkZ2maT39hTc+Ck6ymqdHvNbn2JF1XQJZPqLCKweG4zfOyUl1H2Bn+/NgUjyMYtVH+jdwDzlzUkzZap/aAHzMXjeT8rcWA+XUSwYYGCNVk7ehVpeysYsIksyJuOlP+TH8zGnZGVM8xuUv478jtdQUDetxfSHgjGIBdRIWstAUi7VfmIqjStXk8nEt428htE/9NlP+7S7J4han73dlsjQ42Ak/4o1IqEdJN3w6PKcG1HXNLyUobuoTnHiPAAAAAElFTkSuQmCC"})}),Array(t).fill(1).map(function(e,t){return(0,r.createElement)("img",{key:"star1-"+t,style:n.default.starImage,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKKADAAQAAAABAAAAKAAAAAB65masAAAC9UlEQVRYCc2Y2ZHaQBCGLSAAOQKLCAzF8WrIYB2B5QjWGaw3AxOBtSFsBOy+chTKYHEE1juX/18lUbMj9SCNJMNUUXP29Det7pYG50NNZbVa3WOrn47jRKiDwWDwWMfWTh2bLJfLCcDm6l6n02k6Go1e1DGbdstGSJdptVrf9DEAP+hjNv3KFtxsNt7hcHjLU95ut7v9fn+bN1d0rLIFj8ejaCmA/ygKIq2rZEGT9RKFUWJFBo5VqWRBWC/jexqFu9/vK1mxEiBgfA0o00Ww3MPSbmai4IA14Hq99pFKvAJ6aEW/wLrcJdaA2E0MDl0T0hCTuFWxAixhvRiKlmYytyG0AoTCS8GRYbFN3BfTDB18t9t5SBc9RK0LRV+g/S5DUGAAsgH2+IM6xCGjTqcTIpEbU1AMSAgk1QkfBfzlE2voS3/WEViAmUsIuOUP4FseAO0Q8Fu+hRx8hdAav/FrGgQqyhU8Nd+Bw78lFisn/X9WRy3A3Zzl1LMzip/UgVtqw3izOEjghwHASqeOhg/zNBwO/RiQigA5RzVh+wZKCLg+Oc6JGhHzFf3wFuDAMk05zhbkAPKhhzw0v1ZUMw8iD0/Vr/B3gNeEzIMjTwbwGpASnAjIicVi0YO5GThN50leC/BU8y9X5yAhlFrG43EIf6SzRup43W3qkOCoSwTkJCFRvbDdREEwPic6xO2NgImUJ0pXnIDvfb60RW6QpELJZ9jftN9EDf/7iEcsupHRgrjs9JqAUvfkx7Da19tGQCxuHBAWNOowAsJHPP1EdfcRKPaAgLnoxDUAG3UYLQjlxtPVAMctjDpEQL5JIOyWhIj42iop4/IjRZIRAfGaE4VyNovgS49w+C7++u0C8nsZUNwoRSt2cpTFQ3ReKJGm03GCzXBF/KXmMkAGWBDwHwjUD1jjoRaLaV4EBJwn7oj3cx6Yvr4oKJ6WGCgiIAB4kdZ1FgLThQqAvuoyaT9DkE6wVi5TIWBniSJ1iVVbefQMwmdejqSN/gHVRDr0HXEQwAAAAABJRU5ErkJggg=="})}),(0,r.createElement)(o.default,{style:n.default.starText},this.num?""+(+this.num).toFixed(1):"-"))}}]),a}()},function(module,exports){module.exports={starWrapper:{display:"flex",flexDirection:"row",alignItems:"center",position:"relative"},starText:{color:"rgb(25,25,25)",fontSize:24,fontFamily:"AEShopCustomFont",fontWeight:"450",marginRight:4},starImage:{width:18,height:18,marginRight:4}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Price=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(18),o=e(5),i=s(e(150)),a=e(0),l=s(e(2)),d=s(e(1));function s(e){return e&&e.__esModule?e:{default:e}}exports.Price=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return t.mode=e.mode,t.gdc=e.gdc,t.data=e.data,t.priceMode=e.priceMode,t.modsStyle=e.data.modsStyle||e.modsStyle,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,a.Component),n(s,[{key:"render",value:function(){var e=this;if(!this.data)return null;var n=(this.mode,30);if("tpp"===this.priceMode){if(!this.data.prices)return null;var s=(0,r.getTppOldPrice)(this.data.prices,this.modsStyle,this.gdc)||{},c=s.salePrice,u=s.originalPrice;return c||u?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",marginRight:8,color:"#191919",alignItems:"center"}},c&&c.map(function(r,d){return(0,a.createElement)(l.default,{key:"salePrice-"+d,style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:"#191919",fontSize:n})},r.text)}))):null}if(!this.data.prices&&!this.data.priceLocalInfo)return null;var f=(0,r.getNewPrice)(this.data.priceLocalInfo,this.data.priceLocalConfig,this.gdc)||{},p=f.currentPrice;f.subPrice;return p?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",marginRight:8,alignItems:"center"}},p&&p.map(function(r,d){return(0,a.createElement)(l.default,{key:"currentPrice-"+d,style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:"#191919",fontSize:n})},r.text)}))):null}}]),s}()},function(module,exports){module.exports={priceWrapper:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",marginRight:8,flexWrap:"nowrap"},"priceWrapper-rtl":{marginRight:0,marginLeft:8},priceWrapper2in1:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",flexWrap:"nowrap"},"priceWrapper2in1-rtl":{marginRight:0,marginLeft:8},priceWrapper3in1:{display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",flexDirection:"row",flexWrap:"wrap"},"priceWrapper3in1-rtl":{marginRight:0,marginLeft:8},priceText:{color:"rgb(25,25,25)",fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"},"priceText-rtl":{},subPriceText:{color:"rgb(151,151,151)",fontFamily:"AEShopCustomFont",fontWeight:"450",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0},"subPriceText-rtl":{}}},function(module,exports){module.exports={cardWrapper:{boxSizing:"border-box",display:"block",position:"relative",borderRadius:8,fontFamily:"AEShopCustomFont"},"cardWrapper-rtl":{direction:"rtl"},cardInner:{boxSizing:"border-box",display:"block",position:"relative",height:"100%",cursor:"pointer",textDecoration:"none"},cardInnerHoz:{flexDirection:"row",boxSizing:"border-box",display:"flex",position:"relative",cursor:"pointer",height:"100%",textDecoration:"none"},cardContent:{paddingTop:8,paddingLeft:8,paddingRight:8,paddingBottom:16,flexShrink:1,backgroundColor:"rgb(245,245,245)",borderBottomLeftRadius:8,borderBottomRightRadius:8},cardContentHoz:{paddingTop:0,paddingRight:8,flexShrink:1,width:418,height:268,position:"relative"},itemTitle:{fontSize:24,color:"rgb(25,25,25)",wordBreak:"break-all",textOverflow:"ellipsis",fontFamily:"AEShopCustomFont",fontWeight:"450"},itemTitleHoz:{width:410,fontSize:23,marginTop:7,marginRight:0,marginBottom:3,marginLeft:0},itemTitle3in1:{width:210,marginTop:2,marginRight:0,marginBottom:4,marginLeft:0},itemTitle2in1:{width:327,marginTop:0,marginRight:0,marginBottom:4,marginLeft:0},hozMeta:{flexDirection:"row",alignItems:"flex-end",paddingTop:6,paddingRight:0,paddingBottom:12,paddingLeft:0,flexWrap:"wrap",position:"absolute",bottom:0,left:0,width:410}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(24),o=e(10),i=e(17),a=e(5),l=e(154),d=e(156),s=e(158),c=e(162),u=y(e(164)),f=y(e(166)),p=e(12),g=e(0),m=y(e(2)),h=y(e(1));function y(e){return e&&e.__esModule?e:{default:e}}var b=function(e){function y(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,y);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(y.__proto__||Object.getPrototypeOf(y)).call(this,e));return n.getProductUrl=function(e,t){var n=[];return t&&(t.detailPage&&Object.keys(t.detailPage).forEach(function(e){n.push({key:e,value:encodeURIComponent(t.detailPage[e])})}),t.pdpParams&&["pdp_ext_f","pdp_pi"].forEach(function(e){t.pdpParams[e]&&n.push({key:e,value:t.pdpParams[e]})})),"https://www.aliexpress.com/item/"+e+".html?"+n.map(function(e){return e.key+"="+e.value.substring(0,131072)}).join("&")},n.goTargetUrl=function(e,t,r){e||(e=n.getProductUrl(t,n.data.trace));var i=n.gdc,a=i.spm_cnt,l=i.pageId,d=i.pageName,s=i.sellerId,c=i.shopId,u=i.userId,f=n.mds,g=f.widgetId,m=f.moduleName,h={url:e,nid:t||0,widgetId:g,moduleName:m,target:r||null};n.data.utLogMap&&(0,p.sendClickUT)(a+"."+m,"",l,d,"Product_Click_Event",{seller_id:""+s,shop_id:""+c,user_id:""+u,utLogMap:n.data.utLogMap}),n.pageUtils.goTargetUrl?n.pageUtils.goTargetUrl(h):(0,o.openWindow)(e)},n.renderHozCard=function(){var e=n.data,o=e.id,i=e.url,l=e.title;return(0,g.createElement)(h.default,t({},n.expProps,{style:t({},(0,a.getRTLCSS)(n.gdc,f.default,"cardWrapper"),n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,g.createElement)(p.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,g.createElement)(h.default,t({},n.clkProps,{style:f.default.cardInnerHoz,onClick:function(){n.goTargetUrl(i,o)}}),(0,g.createElement)(d.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:268}),(0,g.createElement)(h.default,{style:f.default.cardContentHoz},!!l&&(0,g.createElement)(m.default,{style:t({},f.default.itemTitle,f.default.itemTitleHoz),numberOfLines:2},l.split("").join("\ufeff")),(0,g.createElement)(u.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode}),(0,g.createElement)(u.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"selling",mode:n.mode}),(0,g.createElement)(u.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"shipping",mode:n.mode}),(0,g.createElement)(h.default,{style:f.default.hozMeta},(0,g.createElement)(c.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,tagsMode:n.tagsMode,data:n.data}),(0,g.createElement)(s.Meta,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data})))),n.showAddCart&&(0,g.createElement)(r.AddCart,{data:n.data,gdc:n.gdc,imageSize:268,type:"hoz"}))},n.render2In1Card=function(){var e=n.data,o=e.id,i=e.url,l=e.title;return(0,g.createElement)(h.default,t({},n.expProps,{style:t({},(0,a.getRTLCSS)(n.gdc,f.default,"cardWrapper"),{width:343},n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,g.createElement)(p.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,g.createElement)(h.default,t({},n.clkProps,{style:n.state.showShadow?f.default.cardInnerWithShadow:f.default.cardInner,onClick:function(){n.goTargetUrl(i,o)}}),(0,g.createElement)(d.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:343}),(0,g.createElement)(h.default,{style:f.default.cardContent},(0,g.createElement)(u.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode,titleMode:!0,title:l}),(0,g.createElement)(h.default,{style:f.default.priceMeta},(0,g.createElement)(c.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,tagsMode:n.tagsMode,data:n.data}),(0,g.createElement)(s.Meta,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,mode:n.mode})),(0,g.createElement)(u.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"selling+shipping",mode:n.mode}))),n.showAddCart&&(0,g.createElement)(r.AddCart,{data:n.data,gdc:n.gdc,imageSize:343,type:"vert"}))},n.render3In1Card=function(){var e=n.data,o=e.id,i=e.url,u=e.title;return(0,g.createElement)(h.default,t({},n.expProps,{style:t({},(0,a.getRTLCSS)(n.gdc,f.default,"cardWrapper"),{width:226},n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,g.createElement)(p.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,g.createElement)(h.default,t({},n.clkProps,{style:f.default.cardInner,onClick:function(){n.goTargetUrl(i,o)}}),(0,g.createElement)(d.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:226}),(0,g.createElement)(h.default,{style:f.default.cardContent},!!u&&(0,g.createElement)(m.default,{style:t({},f.default.itemTitle,f.default.itemTitle3in1),numberOfLines:1},u.split("").join("\ufeff")),(0,g.createElement)(s.Meta,{mode:n.mode,gdc:n.gdc,tagsMode:n.tagsMode,data:n.data}),(0,g.createElement)(c.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,tagsMode:n.tagsMode,data:n.data}),(0,g.createElement)(l.Discount,{data:n.data}))),n.showAddCart&&(0,g.createElement)(r.AddCart,{data:n.data,gdc:n.gdc,imageSize:226,type:"vert"}))},n.pageUtils=e.pageUtils||{},n.gdc=e.gdc||{},n.mds=e.mds||{},n.mode=e.mode||"2in1",n.modsStyle=e.modsStyle||{},n.priceMode=e.priceMode||"shop",n.tagsMode=e.tagsMode||"shop",n.showAddCart=e.showAddCart||!1,n.data=e.data,n.data.modsStyle&&(n.modsStyle=n.data.modsStyle),(0,i.debug)("data",n.data),n.expProps=e.expProps||{},n.clkProps=e.clkProps||{},n.style=e.style||{},n.state={},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(y,g.Component),n(y,[{key:"render",value:function(){return this.data?"2in1"===this.mode?this.render2In1Card():"3in1"===this.mode?this.render3In1Card():this.renderHozCard():null}}]),y}();exports.default=b,module.exports=exports.default},function(module,exports){module.exports={addCart:{position:"absolute",paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12,width:88,height:88,zIndex:10},addCartIcon:{width:64,height:64,justifyContent:"center",alignItems:"center",position:"relative",cursor:"pointer"},addCartIconImgWrapper:{backgroundColor:"rgb(25,25,25)",width:64,height:64,borderRadius:32,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImg:{width:32,height:32,backgroundColor:"rgb(25,25,25)",marginTop:2,marginRight:2},addCartNum:{backgroundColor:"rgb(253,56,79)",color:"rgb(255,255,255)",position:"absolute",right:0,top:0,width:28,height:28,borderRadius:14,fontSize:20,textAlign:"center",borderWidth:"1px",borderStyle:"solid",borderColor:"rgb(255,255,255)"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Discount=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=a(e(155)),r=e(0),o=a(e(2)),i=a(e(1));function a(e){return e&&e.__esModule?e:{default:e}}exports.Discount=function(e){function a(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return t.data=e.data,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r.Component),t(a,[{key:"render",value:function(){return this.data.discount&&"0"!==this.data.discount&&"undefined"!==this.data.discount&&"null"!==this.data.discount?(0,r.createElement)(i.default,{style:n.default.container},(0,r.createElement)(i.default,{style:n.default.discount},(0,r.createElement)(o.default,{style:n.default.text},this.data.discount))):null}}]),a}()},function(module,exports){module.exports={container:{display:"flex",flexDirection:"row",marginTop:8},discount:{height:38,borderRadius:19,backgroundColor:"rgb(211,3,28)",paddingTop:0,paddingRight:20,paddingBottom:0,paddingLeft:20,display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center"},text:{color:"rgb(255,255,255)",fontSize:20,fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Image=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(5),o=d(e(157)),i=e(0),a=d(e(2)),l=d(e(1));function d(e){return e&&e.__esModule?e:{default:e}}exports.Image=function(e){function d(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,e));return t.gdc=e.gdc,t.data=e.data,t.mode=e.mode,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(d,i.Component),n(d,[{key:"render",value:function(){if(!this.data)return null;var e=this.data,n=e.image,d=e.title,s=e.cornorMark||{},c=s.value,u=s.color,f=s.bgColor,p=268;return"2in1"===this.mode&&(p=343),"3in1"===this.mode&&(p=226),"2in1"===this.mode&&this.data.discount&&"0"!==this.data.discount&&"undefined"!==this.data.discount&&"null"!==this.data.discount&&(c=this.data.discount,f="#FD384F",u="#ffffff"),(0,i.createElement)(l.default,{style:"2in1"===this.mode||"3in1"===this.mode?o.default.imgOuter:(0,r.getRTLCSS)(this.gdc,o.default,"imgOuterHoz")},(0,i.createElement)(l.default,{style:t({},o.default.imgWrapper,{width:p,height:p})},(0,i.createElement)("img",{style:t({},o.default.itemImg,{width:p,height:p,objectFit:"cover"}),src:n,alt:d}),(0,i.createElement)(l.default,{style:t({},o.default.bgMask,{width:p,height:p})}),!!c&&(0,i.createElement)(l.default,{style:t({},(0,r.getRTLCSS)(this.gdc,o.default,"mark"),{backgroundColor:f||"#FD384F"})},(0,i.createElement)(a.default,{style:t({},o.default.markText,{color:u||"#ffffff"})},c))))}}]),d}()},function(module,exports){module.exports={imgOuter:{overflow:"hidden"},imgOuterHoz:{flex:"0 0 auto",marginRight:16,overflow:"hidden"},"imgOuterHoz-rtl":{marginRight:0,marginLeft:16},imgWrapper:{position:"relative",outline:"none",borderStyle:"none",textDecoration:"none",borderRadius:8,overflow:"hidden"},itemImg:{display:"block",position:"relative",userSelect:"none",pointerEvents:"none",outline:"none",borderStyle:"none",objectFit:"cover"},mark:{position:"absolute",left:0,top:0,height:48,paddingTop:0,paddingRight:12,paddingBottom:0,paddingLeft:12,borderTopLeftRadius:8,borderBottomRightRadius:8,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"mark-rtl":{left:"unset",right:0,borderTopLeftRadius:"unset",borderBottomRightRadius:"unset",borderTopRightRadius:8,borderBottomLeftRadius:8},bgMask:{position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"rgba(0,0,0,0.04)"},markText:{fontFamily:"AEShopCustomFont-Bold",fontWeight:"700",fontSize:28},addCart:{position:"absolute",right:0,bottom:0,paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12,width:88,height:88},addCartIcon:{width:64,height:64,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImgWrapper:{backgroundColor:"rgb(25,25,25)",width:64,height:64,borderRadius:32,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImg:{width:32,height:32,backgroundColor:"rgb(25,25,25)",marginTop:2,marginRight:2},addCartNum:{backgroundColor:"rgb(253,56,79)",color:"rgb(255,255,255)",position:"absolute",right:0,top:0,width:28,height:28,borderRadius:14,fontSize:20,textAlign:"center",borderWidth:"1px",borderStyle:"solid",borderColor:"rgb(255,255,255)"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Meta=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=e(5),r=d(e(159)),o=e(160),i=e(0),a=d(e(2)),l=d(e(1));function d(e){return e&&e.__esModule?e:{default:e}}exports.Meta=function(e){function d(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,e));return t.gdc=e.gdc,t.mode=e.mode,t.data=e.data,t.tagsMode=e.tagsMode,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(d,i.Component),t(d,[{key:"render",value:function(){if(!this.data)return null;var e=this.data,t=e.stars,d=e.sales;if(!t&&!d)return null;var s=r.default.itemMeta;return"3in1"===this.mode&&(s=r.default.itemMeta3in1),"2in1"===this.mode&&(s=r.default.itemMeta2in1),(0,i.createElement)(l.default,{style:s},!!d&&(0,i.createElement)(a.default,{style:(0,n.getRTLCSS)(this.gdc,r.default,"itemOrders")},d),(0,i.createElement)(o.Star,{gdc:this.gdc,num:t}))}}]),d}()},function(module,exports){module.exports={itemMeta:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemMeta3in1:{display:"flex",alignItems:"center",marginTop:0,flexDirection:"row",flexWrap:"wrap"},itemMeta2in1:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemOrders:{fontSize:22,color:"rgb(151,151,151)",marginRight:8,fontFamily:"AEShopCustomFont",fontWeight:"450"},"itemOrders-rtl":{marginLeft:0,marginRight:0},topSelling:{display:"block"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Star=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=a(e(161)),r=e(0),o=a(e(2)),i=a(e(1));function a(e){return e&&e.__esModule?e:{default:e}}exports.Star=function(e){function a(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return t.gdc=e.gdc,t.num=e.num,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r.Component),t(a,[{key:"render",value:function(){return this.num?+this.num<.1?null:(0,r.createElement)(i.default,{style:n.default.starWrapper},(0,r.createElement)("img",{style:n.default.starImage,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAAoCAYAAABjPNNTAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAKaADAAQAAAABAAAAKAAAAAD9QK3vAAAC+ElEQVRYCdWY3ZHaMBDHzya8u4OYCkIqiHlkGD5cQXwV5KgA6ICr4JIKGGAYHs8lUIJKcJ75yn8dKyN0lmTLhnGY8ehjV6ufVl5pzdPTf/Bz6mJcrVZeq9WKrter57puPBwO47ps1wK53W4ngHsDlCeALUej0VRoW1crQ8KDPjz37jiOL1MAfDEej+dyf9m2W3aArI8tDvIASQ/9P2R9m3ZlSHhrppnYw6sQaOSFRJUgCUDlRT67YRFcTVtWggTAd631v8Jgt9t1C+gpVawhKWBgNVJaFgSn02kiNEtXrSERMIWDggKIztHSdNkAa0hsdRnvpAf9QyERMDNTwOQAWXuz1GFOW4ZtpiPnJQeiSBfD4p7LXpn/ICkCz+dzFzN52EoPxj5ndZ9KtOmdoqeWH+ZgMJTAbkIlHoa+32jTQpi4kBRys9m8QSnC06Qfw66Fg8Hg4ND7hRXMm0QnsCTY3Y57uVwiobNpVYqBiYv995tGJvF4dE7GUmejmnDigTy5aBSVAINYeaUoT6M7O37eIa/tiBHmsqoSIBLmFxqcXosU5oiirxAwK4s1DwIHZfQpIJlOPcnnwI2i/BTgOg8op/g2Worz3ECSILv66HCfiIoPqNPtE4o3DZ/zAyQXrNfrJQYVTsf4OMuStdvtXr/fZ3njlZCk/CBQLSBxaPNJ3EZz6CSkeMffQuVBPqcWMgxDAjxw5XuUOFWM9rWQ94CysVkEsmtjuOgYJBCBSVcLmX3YeyYjVeT4i+aLabwWEif/Xb1IcAjOoBIkzslvJgM1yP39fu/r7Gg9iVXe3ZMEdzweAytIyozgSV83uC6Z6bX6pJoo+3JUiVX9MQQJTVpygdrXSrndptVJlDHu3g6ylx6eEGlWB/IpbDBJL7eJBXUpsckVolMJCZlykGCMvpEJ7ENyQOkW3ukeQH8J+lZVJSTOr586i5h8QYlyXmrFx+FaZfBqhIWEBq/G2RXMh96Uzk1LaiiyINraZ1NSIJlKm7A3B/BMkhmzoD/dvA/269VBNwAAAABJRU5ErkJggg=="}),(0,r.createElement)(o.default,{style:n.default.starText},""+(+this.num).toFixed(1))):null}}]),a}()},function(module,exports){module.exports={starWrapper:{display:"flex",flexDirection:"row",alignItems:"center",position:"relative"},starText:{color:"rgb(151,151,151)",fontSize:22,fontFamily:"AEShopCustomFont",fontWeight:"450"},starImage:{width:20,height:20,marginRight:4}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Price=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(18),o=e(5),i=s(e(163)),a=e(0),l=s(e(2)),d=s(e(1));function s(e){return e&&e.__esModule?e:{default:e}}exports.Price=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return t.getPriceColor=function(){if(t.data&&t.data.config&&t.data.config.prices){var e=t.data.config.prices.color;if(e)return e}var n="#191919";if("tpp"===t.tagsMode){for(var r,o=t.data.sellingPoints||[],i=0;i<o.length;i++)if((r=o[i])&&r.source&&/hundreds_of_billions/gi.test(r.source)){n="#FD384F";break}}else if("shop"===t.tagsMode)for(var a,l=t.data.atmosphere||[],d=0;d<l.length;d++)if((a=l[d])&&a.atmosphereDTOList)for(var s,c=a.atmosphereDTOList,u=void 0===c?[]:c,f=0;f<u.length;f++)if((s=u[f])&&s.atmosphereCode&&/hundreds_of_billions/gi.test(s.atmosphereCode)){n="#FD384F";break}return n},t.mode=e.mode,t.gdc=e.gdc,t.data=e.data,t.priceMode=e.priceMode,t.tagsMode=e.tagsMode,t.modsStyle=e.data.modsStyle||e.modsStyle,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,a.Component),n(s,[{key:"render",value:function(){var e=this;if(!this.data)return null;var n="3in1"===this.mode?26:28;if("tpp"===this.priceMode){if(!this.data.prices)return null;var s=(0,r.getTppOldPrice)(this.data.prices,this.modsStyle,this.gdc)||{},c=s.salePrice,u=s.originalPrice;return c||u?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",marginRight:8,color:this.getPriceColor(),alignItems:"center"}},c&&c.map(function(r,d){return(0,a.createElement)(l.default,{key:"salePrice-"+d,style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:e.getPriceColor(),fontSize:n})},r.text)}))):null}if(!this.data.prices&&!this.data.priceLocalInfo)return null;var f=((0,r.getNewPrice)(this.data.priceLocalInfo,this.data.priceLocalConfig,this.gdc)||{}).currentPrice;return f?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",marginRight:8,alignItems:"center"}},f&&f.map(function(r,d){return(0,a.createElement)(l.default,{key:"currentPrice-"+d,style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:e.getPriceColor(),fontSize:n})},r.text)}))):null}}]),s}()},function(module,exports){module.exports={priceWrapper:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",marginRight:8,flexWrap:"nowrap"},"priceWrapper-rtl":{marginRight:0,marginLeft:8},priceWrapper2in1:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",flexWrap:"nowrap"},"priceWrapper2in1-rtl":{marginRight:0,marginLeft:8},priceWrapper3in1:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",marginRight:8,flexWrap:"wrap"},"priceWrapper3in1-rtl":{marginRight:0,marginLeft:8},priceText:{color:"rgb(25,25,25)",fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"},"priceText-rtl":{},subPriceText:{color:"rgb(151,151,151)",fontFamily:"AEShopCustomFont",fontWeight:"450",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0},"subPriceText-rtl":{}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(5),o=e(25),i=s(e(165)),a=e(0),l=s(e(2)),d=s(e(1));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var u=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var n,o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return o.renderTag=function(e,n){if((e.tagImgUrl||e.value)&&e.height&&+e.height>30){var s=+e.height,c=+e.width;e.height=30,e.width=c/s*30}if(e)switch(e.materialCode){case"search_item_text_icon":var u=(30*(+e.width+8)/+e.height||30)+6;return{tagWidth:o.tagContainerWidth,tagHeight:30,TagComponent:(0,a.createElement)(d.default,{key:"tags0-"+n,style:t({},i.default.withIcon,{width:o.tagContainerWidth,flexDirection:o.isAndroidRTL?"row":i.default.withIcon.flexDirection})},(0,a.createElement)("img",{style:t({},(0,r.getRTLCSS)(o.gdc,i.default,"tagImg"),i.default.withIconImg,{width:+e.width+1,height:+e.height+1,left:(0,r.isRTL)(o.gdc)?null:0,right:(0,r.isRTL)(o.gdc)?0:null}),src:e.tagImgUrl||e.value}),(0,a.createElement)(l.default,{style:t({},i.default.tagText,o.textStyle,{textIndent:u,color:e.tagStyle&&e.tagStyle.color||o.textStyle.color,width:o.tagContainerWidth}),numberOfLines:2},(""+e.tagText).split("").join("\ufeff")))};case"search_item_icon":return{tagWidth:+e.width+1,tagHeight:+e.height+1,TagComponent:(0,a.createElement)("img",{key:"tags1-"+n,style:t({},(0,r.getRTLCSS)(o.gdc,i.default,"promotionTagImg"),{width:+e.width+1,height:+e.height+1}),src:e.tagImgUrl||e.value})};case"search_item_text":return{tagWidth:o.tagContainerWidth,tagHeight:30,TagComponent:(0,a.createElement)(l.default,{key:"tags2-"+n,style:t({},i.default.tagText,o.textStyle,{width:null,color:e.tagStyle&&e.tagStyle.color||o.textStyle.color,marginRight:(0,r.isRTL)(o.gdc)?0:6,marginLeft:(0,r.isRTL)(o.gdc)?6:0})},(""+e.tagText).split("").join("\ufeff"))};default:return{TagComponent:null}}},o.gdc=e.gdc,o.data=e.data,o.mode=e.mode,o.type=e.type,o.tagsMode=e.tagsMode,o.textStyle="metadata"===o.type?{color:"#FD384F",fontWeight:400}:"selling"===o.type?{color:"#FD384F",fontWeight:400}:"shipping"===o.type?{color:"#191919",fontWeight:400}:{},"2in1"===o.mode&&(n=327),"hoz"===o.mode&&(n=410),o.tagContainerWidth=n,o.titleMode=e.titleMode,o.title=e.title,o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,a.Component),n(s,[{key:"render",value:function(){var e=this;if(!this.data||"tpp"===this.tagsMode&&!this.data.sellingPoints||"shop"===this.tagsMode&&!this.data.atmosphere)return null;var n=[],r="tpp"===this.tagsMode?(0,o.convertTppSellingPointsToShopAtmosphere)(this.data.sellingPoints):this.data.atmosphere;if("metadata"===this.type)n=[].concat(c((0,o.getPositionTags)(r,1)));else if("selling"===this.type){var s=[].concat(c((0,o.getPositionTags)(r,2)));n=s&&s.length>1?s.slice(0,1):s}else if("shipping"===this.type){var u=[].concat(c((0,o.getPositionTags)(r,3)),c((0,o.getPositionTags)(r,4)));n=u&&u.length>1?u.slice(0,1):u}else"selling+shipping"===this.type&&((n=[].concat(c((0,o.getPositionTags)(r,2)))).length&&(n=n.slice(0,1),this.textStyle={color:"#FD384F",fontWeight:400}),n.length||(n=[].concat(c((0,o.getPositionTags)(r,3)),c((0,o.getPositionTags)(r,4)))).length&&(n=n.slice(0,1),this.textStyle={color:"#191919",fontWeight:400}),n.length&&(n=[n[0]]));if(!n.length&&!this.titleMode)return null;this.titleMode&&(n=n.filter(function(e){return"search_item_icon"===e.materialCode}));for(var f=[],p=0;p<n.length;p++)f.push(n[p]);(0,o.sortTags)(f);var g=0,m=0,h=f.map(function(t,n){var r=e.renderTag(t,n);return g+=r.tagWidth+4,m=Math.max(m,r.tagHeight),r.TagComponent}),y=(30*+g/+m||30)+6;return n.length||(g=0,m=0,y=0),(0,a.createElement)(d.default,{style:t({},i.default.horizontalTags,"metadata"===this.type?i.default.metaTagsAlter:{},this.textStyle,{width:this.tagContainerWidth})},(0,a.createElement)(d.default,{style:t({},i.default.horizontalTagsWrapper,{width:this.titleMode?g:this.tagContainerWidth,height:this.titleMode?m:null,position:this.titleMode?"absolute":"relative",top:this.titleMode?0:null,flexWrap:this.titleMode?null:"wrap"})},h),this.titleMode&&(0,a.createElement)(l.default,{style:t({},i.default.itemTagTitle,{width:this.tagContainerWidth,textIndent:y}),numberOfLines:2},(""+this.title).split("").join("\ufeff")))}}]),s}();exports.default=u,module.exports=exports.default},function(module,exports){module.exports={promotionTagImg:{height:32,marginRight:4,verticalAlign:"middle",display:"inline"},"promotionTagImg-rtl":{marginRight:0,marginLeft:4},tagImg:{height:32,marginRight:2,verticalAlign:"middle",display:"inline"},"tagImg-rtl":{marginRight:0,marginLeft:2},tagText:{color:"rgb(102,102,102)",fontSize:22,fontFamily:"AEShopCustomFont",fontWeight:"450",overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-all"},tagDot:{display:"inline",fontFamily:"AEShopCustomFont",fontWeight:"450"},horizontalTags:{position:"relative",display:"flex",flexDirection:"row",wordBreak:"break-all",alignItems:"center",justifyContent:"flex-start",flexWrap:"wrap"},metaTagsAlter:{display:"flex",flexDirection:"row",flexWrap:"wrap",wordBreak:"break-all"},withIcon:{position:"relative",overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-all",display:"flex",flexDirection:"row",justifyContent:"flex-start"},withIconImg:{position:"absolute",top:0},itemTagTitle:{fontSize:24,color:"rgb(25,25,25)",wordBreak:"break-all",textOverflow:"ellipsis",fontFamily:"AEShopCustomFont",fontWeight:"450"},horizontalTagsWrapper:{display:"flex",flexDirection:"row",alignContent:"center"}}},function(module,exports){module.exports={cardWrapper:{boxSizing:"border-box",display:"block",position:"relative",borderRadius:8,fontFamily:"AEShopCustomFont"},"cardWrapper-rtl":{direction:"rtl"},cardInner:{boxSizing:"border-box",display:"block",position:"relative",height:"100%",cursor:"pointer",textDecoration:"none"},cardInnerHoz:{flexDirection:"row",boxSizing:"border-box",display:"flex",position:"relative",cursor:"pointer",height:"100%",textDecoration:"none"},cardContent:{paddingTop:8,paddingLeft:8,paddingRight:8,paddingBottom:16,flexShrink:1},cardContentHoz:{paddingTop:0,paddingRight:8,flexShrink:1,width:418,height:268,position:"relative"},itemTitle:{fontSize:24,color:"rgb(25,25,25)",wordBreak:"break-all",textOverflow:"ellipsis",fontFamily:"AEShopCustomFont",fontWeight:"450"},itemTitleHoz:{width:410,fontSize:23,marginTop:7,marginRight:0,marginBottom:3,marginLeft:0},itemTitle3in1:{width:210,marginTop:2,marginRight:0,marginBottom:4,marginLeft:0},itemTitle2in1:{width:327,marginTop:0,marginRight:0,marginBottom:4,marginLeft:0},hozMeta:{flexDirection:"row",alignItems:"flex-end",paddingTop:6,paddingRight:0,paddingBottom:12,paddingLeft:0,flexWrap:"wrap",position:"absolute",bottom:0,left:0,width:410},priceMeta:{display:"flex",flexDirection:"row",flexWrap:"wrap"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(9),o=e(10),i=e(17),a=e(5),l=e(168),d=e(170),s=e(172),c=e(174),u=e(176),f=v(e(178)),p=v(e(180)),g=v(e(11)),m=e(12),h=e(0),y=v(e(2)),b=v(e(1)),w=e(24);function v(e){return e&&e.__esModule?e:{default:e}}var x=function(e){function v(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,v);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(v.__proto__||Object.getPrototypeOf(v)).call(this,e));return n.broadcastChannel=function(){new BroadcastChannel("popMobileConfirm").onmessage=function(){n.setState({showMask:!1})}},n.getProductUrl=function(e,t){var n=[];return t&&(t.detailPage&&Object.keys(t.detailPage).forEach(function(e){n.push({key:e,value:encodeURIComponent(t.detailPage[e])})}),t.pdpParams&&["pdp_ext_f","pdp_pi"].forEach(function(e){t.pdpParams[e]&&n.push({key:e,value:t.pdpParams[e]})})),"https://www.aliexpress.com/item/"+e+".html?"+n.map(function(e){return e.key+"="+e.value.substring(0,131072)}).join("&")},n.goTargetUrl=function(e,t,r){e||(e=n.getProductUrl(t,n.data.trace));var i=n.gdc,a=i.spm_cnt,l=i.pageId,d=i.pageName,s=i.sellerId,c=i.shopId,u=i.userId,f=n.mds,p=f.widgetId,g=f.moduleName,h={url:e,nid:t||0,widgetId:p,moduleName:g,target:r||null};n.data.utLogMap&&(0,m.sendClickUT)(a+"."+g,"",l,d,"Product_Click_Event",{seller_id:""+s,shop_id:""+c,user_id:""+u,utLogMap:n.data.utLogMap}),n.pageUtils.goTargetUrl?n.pageUtils.goTargetUrl(h):(0,o.openWindow)(e)},n.open=function(e,t){var i=n.state.showMask;if("true"!==i&&!0!==i)n.goTargetUrl(e,t);else if((0,r.isADC)())(0,o.callWindVaneHandler)("AEWVPrivacy","euSafetyFilter",{},function(r){r.wantedSee&&(new BroadcastChannel("popMobileConfirm").postMessage(r),setTimeout(function(){n.goTargetUrl(e,t)},100))},function(e){console.warn(e)});else{var a=n.gdc.locale;g.default.show({isRtl:!1,locale:a,fetcher:window.lib.mtop.request,onOk:function(r){console.log(r);var o=r.success,i=r.errMsg;o?(new BroadcastChannel("popMobileConfirm").postMessage(r),setTimeout(function(){n.goTargetUrl(e,t)},100)):console.warn(i)},onCancel:function(){}})}},n.renderHozCard=function(){var e=n.data,r=e.id,o=e.url,i=e.title,l=n.state.showMask;return(0,h.createElement)(b.default,t({},n.expProps,{style:t({},(0,a.getRTLCSS)(n.gdc,p.default,"cardWrapper"),n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,h.createElement)(m.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,h.createElement)(b.default,t({},n.clkProps,{style:p.default.cardInnerHoz,onClick:function(){return n.open(o,r)}}),(0,h.createElement)(d.Image,{gdc:n.gdc,data:n.data,mode:n.mode,showMask:l,size:268}),(0,h.createElement)(b.default,{style:p.default.cardContentHoz},!!i&&(0,h.createElement)(y.default,{style:t({},p.default.itemTitle,p.default.itemTitleHoz),numberOfLines:2},i.split("").join("\ufeff")),(0,h.createElement)(f.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode}),(0,h.createElement)(f.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"selling",mode:n.mode}),(0,h.createElement)(f.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"shipping",mode:n.mode}),(0,h.createElement)(b.default,{style:p.default.hozMeta},(0,h.createElement)(c.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}),(0,h.createElement)(s.Meta,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data})))),n.showAddCart&&(0,h.createElement)(w.AddCart,{data:n.data,gdc:n.gdc,imageSize:268,type:"hoz"}))},n.render1In1Card=function(){var e=n.data,r=e.id,o=e.url,i=e.title,l=n.state.showMask;return(0,h.createElement)(b.default,t({},n.expProps,{style:t({},(0,a.getRTLCSS)(n.gdc,p.default,"cardWrapper"),{width:276},n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,h.createElement)(m.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,h.createElement)(b.default,t({},n.clkProps,{style:p.default.cardInner,onClick:function(){return n.open(o,r)}}),(0,h.createElement)(d.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:276,showMask:l}),(0,h.createElement)(b.default,{style:p.default.cardContent},(0,h.createElement)(b.default,{style:p.default.firstLine},(0,h.createElement)(f.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode,titleMode:!0,title:i})),!!i&&!n.data.sellingPoints&&!n.data.atmosphere&&(0,h.createElement)(y.default,{style:t({},p.default.itemTitle,p.default.itemTitle1in1),numberOfLines:1},i.split("").join("\ufeff")),(0,h.createElement)(s.Meta,{mode:n.mode,gdc:n.gdc,tagsMode:n.tagsMode,data:n.data}),(0,h.createElement)(c.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}))),n.showAddCart&&(0,h.createElement)(w.AddCart,{data:n.data,gdc:n.gdc,imageSize:276,type:"vert"}))},n.render2In1Card=function(){var e=n.data,r=e.id,o=e.url,i=e.title,l=n.state.showMask;return(0,h.createElement)(b.default,t({},n.expProps,{style:t({},(0,a.getRTLCSS)(n.gdc,p.default,"cardWrapper"),{width:343},n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,h.createElement)(m.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,h.createElement)(b.default,t({},n.clkProps,{style:n.state.showShadow?p.default.cardInnerWithShadow:p.default.cardInner,onClick:function(e){e.stopPropagation(),n.open(o,r)}}),(0,h.createElement)(d.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:343,showMask:l}),(0,h.createElement)(b.default,{style:p.default.cardContent},(0,h.createElement)(f.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode,title:i,titleMode:!0}),!!i&&!n.data.sellingPoints&&!n.data.atmosphere&&(0,h.createElement)(y.default,{style:t({},p.default.itemTitle,p.default.itemTitle2in1),numberOfLines:1},i.split("").join("\ufeff")),(0,h.createElement)(b.default,{style:t({},p.default.firstLine,p.default.itemTitle2in1)},(0,h.createElement)(c.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}),(0,h.createElement)(s.Meta,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,mode:n.mode,style:{marginLeft:8}}),(0,h.createElement)(u.Star,{gdc:n.gdc,stars:n.data.stars,num:n.data.stars})),(0,h.createElement)(f.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"selling_shipping",mode:n.mode}))),n.showAddCart&&(0,h.createElement)(w.AddCart,{data:n.data,gdc:n.gdc,imageSize:343,type:"vert"}))},n.render3In1Card=function(){var e=n.data,r=e.id,o=e.url,i=e.title,g=n.state.showMask;return(0,h.createElement)(b.default,t({},n.expProps,{style:t({},(0,a.getRTLCSS)(n.gdc,p.default,"cardWrapper"),{width:226},n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,h.createElement)(m.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,h.createElement)(b.default,t({},n.clkProps,{style:p.default.cardInner,onClick:function(){return n.open(o,r)}}),(0,h.createElement)(d.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:226,showMask:g}),(0,h.createElement)(b.default,{style:p.default.cardContent},(0,h.createElement)(f.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode,titleMode:!0,title:i}),!!i&&!n.data.sellingPoints&&!n.data.atmosphere&&(0,h.createElement)(y.default,{style:t({},p.default.itemTitle,p.default.itemTitle3in1),numberOfLines:1},i.split("").join("\ufeff")),n.data.stars&&0!=+n.data.stars||n.data.sales?(0,h.createElement)(b.default,{style:p.default.firstLine},(0,h.createElement)(s.Meta,{mode:n.mode,gdc:n.gdc,tagsMode:n.tagsMode,data:n.data}),(0,h.createElement)(u.Star,{gdc:n.gdc,stars:n.data.stars,num:n.data.stars})):null,(0,h.createElement)(c.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}),(0,h.createElement)(l.Discount,{data:n.data}))),n.showAddCart&&(0,h.createElement)(w.AddCart,{data:n.data,gdc:n.gdc,imageSize:226,type:"vert"}))},n.pageUtils=e.pageUtils||{},n.gdc=e.gdc||{},n.mds=e.mds||{},n.mode=e.mode||"2in1",n.modsStyle=e.modsStyle||{},n.priceMode=e.priceMode||"shop",n.tagsMode=e.tagsMode||"shop",n.showAddCart=e.showAddCart||!1,n.data=e.data,n.data.modsStyle&&(n.modsStyle=n.data.modsStyle),(0,i.debug)("data",n.data),n.expProps=e.expProps||{},n.clkProps=e.clkProps||{},n.style=e.style||{},n.state={showMask:e.showMask},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(v,h.Component),n(v,[{key:"componentDidMount",value:function(){this.broadcastChannel()}},{key:"render",value:function(){return this.data?"1in1"===this.mode?this.render1In1Card():"2in1"===this.mode?this.render2In1Card():"3in1"===this.mode?this.render3In1Card():this.renderHozCard():null}}]),v}();exports.default=x,module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Discount=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=a(e(169)),r=e(0),o=a(e(2)),i=a(e(1));function a(e){return e&&e.__esModule?e:{default:e}}exports.Discount=function(e){function a(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return t.data=e.data,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r.Component),t(a,[{key:"render",value:function(){return this.data.discount&&"0"!==this.data.discount&&"undefined"!==this.data.discount&&"null"!==this.data.discount?(0,r.createElement)(i.default,{style:n.default.container},(0,r.createElement)(i.default,{style:n.default.discount},(0,r.createElement)(o.default,{style:n.default.text},this.data.discount))):null}}]),a}()},function(module,exports){module.exports={container:{display:"flex",flexDirection:"row",marginTop:8},discount:{height:38,borderRadius:19,backgroundColor:"rgb(211,3,28)",paddingTop:0,paddingRight:20,paddingBottom:0,paddingLeft:20,display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center"},text:{color:"rgb(255,255,255)",fontSize:20,fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Image=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(5),o=d(e(171)),i=e(0),a=d(e(2)),l=d(e(1));function d(e){return e&&e.__esModule?e:{default:e}}exports.Image=function(e){function d(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,e));return t.gdc=e.gdc,t.data=e.data,t.mode=e.mode,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(d,i.Component),n(d,[{key:"render",value:function(){if(!this.data)return null;var e,n=this.data,d=n.image,s=n.title,c=n.cornorMark,u=this.props.showMask;e=!0===u||"true"===u?"https://ae01.alicdn.com/kf/S1e0b5f59d44845c89d23644878384c33Z/504x504.png":d;var f=c||{},p=f.value,g=f.color,m=f.bgColor,h=268;return"2in1"===this.mode&&(h=343),"3in1"===this.mode&&(h=226),"2in1"===this.mode&&this.data.discount&&"0"!==this.data.discount&&"undefined"!==this.data.discount&&"null"!==this.data.discount&&(p=this.data.discount,m="#FD384F",g="#ffffff"),(0,i.createElement)(l.default,{style:"2in1"===this.mode||"3in1"===this.mode?o.default.imgOuter:(0,r.getRTLCSS)(this.gdc,o.default,"imgOuterHoz")},(0,i.createElement)(l.default,{style:t({},o.default.imgWrapper,{width:h,height:h})},(0,i.createElement)("img",{style:t({},o.default.itemImg,{width:h,height:h,objectFit:"cover"}),src:e,alt:s}),(0,i.createElement)(l.default,{style:t({},o.default.bgMask,{width:h,height:h})}),!!p&&"3in1"===this.mode&&(0,i.createElement)(l.default,{style:t({},(0,r.getRTLCSS)(this.gdc,o.default,"mark"),{backgroundColor:m||"#FD384F"})},(0,i.createElement)(a.default,{style:t({},o.default.markText,{color:g||"#ffffff"})},p))))}}]),d}()},function(module,exports){module.exports={imgOuter:{overflow:"hidden"},imgOuterHoz:{flex:"0 0 auto",marginRight:16,overflow:"hidden"},"imgOuterHoz-rtl":{marginRight:0,marginLeft:16},imgWrapper:{position:"relative",outline:"none",borderStyle:"none",textDecoration:"none",borderRadius:8,overflow:"hidden"},itemImg:{display:"block",position:"relative",userSelect:"none",pointerEvents:"none",outline:"none",borderStyle:"none",objectFit:"cover"},mark:{position:"absolute",left:0,top:0,height:48,paddingTop:0,paddingRight:12,paddingBottom:0,paddingLeft:12,borderTopLeftRadius:8,borderBottomRightRadius:8,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"mark-rtl":{left:"unset",right:0,borderTopLeftRadius:"unset",borderBottomRightRadius:"unset",borderTopRightRadius:8,borderBottomLeftRadius:8},bgMask:{position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"rgba(0,0,0,0.04)"},markText:{fontFamily:"AEShopCustomFont-Bold",fontWeight:"700",fontSize:28}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Meta=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(5),o=s(e(173)),i=e(0),a=s(e(2)),l=s(e(1)),d=e(10);function s(e){return e&&e.__esModule?e:{default:e}}exports.Meta=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return t.gdc=e.gdc,t.mode=e.mode,t.data=e.data,t.tagsMode=e.tagsMode,t.style=e.style,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,i.Component),n(s,[{key:"render",value:function(){if(!this.data)return null;var e=this.data.sales;if(!e)return null;var n=o.default.itemMeta;return"3in1"===this.mode&&(n=o.default.itemMeta3in1),"2in1"===this.mode&&(n=o.default.itemMeta2in1),(0,i.createElement)(l.default,{style:t({},n,this.style)},!!e&&(0,i.createElement)(a.default,{style:(0,r.getRTLCSS)(this.gdc,o.default,"itemOrders"),numberOfLines:1},(0,d.formatSales)(e)))}}]),s}()},function(module,exports){module.exports={itemMeta:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemMeta3in1:{display:"flex",alignItems:"center",marginTop:0,flexDirection:"row",flexWrap:"wrap"},itemMeta2in1:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemOrders:{fontSize:24,color:"rgb(151,151,151)",marginRight:8,fontFamily:"AEShopCustomFont",fontWeight:"450"},"itemOrders-rtl":{marginLeft:0,marginRight:0},topSelling:{display:"block"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Price=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(18),o=e(5),i=s(e(175)),a=e(0),l=s(e(2)),d=s(e(1));function s(e){return e&&e.__esModule?e:{default:e}}exports.Price=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return t.mode=e.mode,t.gdc=e.gdc,t.data=e.data,t.priceMode=e.priceMode,t.modsStyle=e.data.modsStyle||e.modsStyle,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,a.Component),n(s,[{key:"render",value:function(){var e=this;if(!this.data)return null;var n="3in1"===this.mode?26:30,s="3in1"===this.mode?22:24;if("tpp"===this.priceMode){if(!this.data.prices)return null;var c=(0,r.getTppOldPrice)(this.data.prices,this.modsStyle,this.gdc)||{},u=c.salePrice,f=c.originalPrice;return u||f?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",color:"#191919",alignItems:"center",marginLeft:(0,o.isRTL)(this.gdc)?8:0}},u&&u.map(function(r,d){return(0,a.createElement)(l.default,{key:d,style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:"#191919",fontSize:n})},r.text)})),!f||"3in1"!==this.mode&&"1in1"!==this.mode?null:f.map(function(n,r){return(0,a.createElement)(l.default,{key:r,style:t({},n.style,(0,o.getRTLCSS)(e.gdc,i.default,"subPriceText"),{fontSize:s})},n.text)})):null}if(!this.data.prices&&!this.data.priceLocalInfo)return null;var p=this.data.priceLocalInfo&&this.data.priceLocalInfo.promotionPiecePriceStructure&&-1!==this.data.priceLocalInfo.promotionPiecePriceStructure.indexOf("|")?(0,r.getNewPrice)(this.data.priceLocalInfo,this.data.priceLocalConfig,this.gdc)||{}:(0,r.getTppOldPrice)(this.data.prices,this.modsStyle,this.gdc)||{},g=p.currentPrice,m=p.subPrice;return g?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",alignItems:"center",marginLeft:(0,o.isRTL)(this.gdc)?8:0}},g&&g.map(function(r,d){return(0,a.createElement)(l.default,{key:d,style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:"#191919",fontSize:n})},r.text)})),!m||"3in1"!==this.mode&&"1in1"!==this.mode?null:(0,a.createElement)(l.default,{style:t({},(0,o.getRTLCSS)(this.gdc,i.default,"subPriceText"),m.style,{fontSize:s})},m.text)):null}}]),s}()},function(module,exports){module.exports={priceWrapper:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",marginRight:8,flexWrap:"nowrap"},"priceWrapper-rtl":{marginRight:0,marginLeft:8},priceWrapper2in1:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",flexWrap:"nowrap"},"priceWrapper2in1-rtl":{marginRight:0,marginLeft:8},priceWrapper3in1:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",marginRight:8,flexWrap:"wrap"},"priceWrapper3in1-rtl":{marginRight:0,marginLeft:8},priceText:{color:"rgb(25,25,25)",fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"},"priceText-rtl":{},subPriceText:{color:"rgb(151,151,151)",fontFamily:"AEShopCustomFont",fontWeight:"450",marginTop:2,marginRight:0,marginBottom:2,marginLeft:8},"subPriceText-rtl":{}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Star=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=a(e(177)),r=e(0),o=a(e(2)),i=a(e(1));function a(e){return e&&e.__esModule?e:{default:e}}exports.Star=function(e){function a(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return t.gdc=e.gdc,t.num=e.num,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r.Component),t(a,[{key:"render",value:function(){return this.num&&0!=+this.num?+this.num<3.5?null:(0,r.createElement)(i.default,{style:n.default.starWrapper},(0,r.createElement)("img",{style:n.default.starImage,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAATCAYAAACdkl3yAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAE2SURBVHgBpVTBTQMxENxxlBMBHtcBpgKSZ8QDrgPoACoIqSCiE6gkIBTxBCrIleAPCOWSmPVGwPk455xjJEtre3Y09tpL1AA7O7hyo4mHrSLPe5rWai4TlRxjaPIQV20TYpHJb1zcUBtHnpsNDC3YVWYM7eRo1RlVVlJKFkFXYSHYi5rVkZ2maT39hTc+Ck6ymqdHvNbn2JF1XQJZPqLCKweG4zfOyUl1H2Bn+/NgUjyMYtVH+jdwDzlzUkzZap/aAHzMXjeT8rcWA+XUSwYYGCNVk7ehVpeysYsIksyJuOlP+TH8zGnZGVM8xuUv478jtdQUDetxfSHgjGIBdRIWstAUi7VfmIqjStXk8nEt428htE/9NlP+7S7J4han73dlsjQ42Ak/4o1IqEdJN3w6PKcG1HXNLyUobuoTnHiPAAAAAElFTkSuQmCC"}),(0,r.createElement)(o.default,{style:n.default.starText},""+(+this.num).toFixed(1))):null}}]),a}()},function(module,exports){module.exports={starWrapper:{display:"flex",flexDirection:"row",alignItems:"center",position:"relative"},starText:{color:"rgb(151,151,151)",fontSize:24,fontFamily:"AEShopCustomFont",fontWeight:"450"},starImage:{width:18,height:18,marginRight:4}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(5),o=e(25),i=s(e(179)),a=e(0),l=s(e(2)),d=s(e(1));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var u=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var n,u=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return u.sliderInterval=function(e){u.timer=setInterval(u.loopTime.bind(u,e),3e3)},u.loopTime=function(e){var t=u.state.step;e.length>1?u.setState({step:t>=e.length?0:t+1},function(){setTimeout(function(){u.state.step===e.length-1&&u.setState({step:0})},500)}):clearInterval(u.timer)},u.renderTag=function(e,n){if((e.tagImgUrl||e.value)&&e.height&&+e.height>30){var o=+e.height,s=+e.width;e.height=30,e.width=s/o*30}if(e)switch(e.materialCode){case"search_item_text_icon":var c=(30*(+e.width+8)/+e.height||30)+6;return{tagWidth:u.tagContainerWidth,tagHeight:30,TagComponent:(0,a.createElement)(d.default,{key:"tags0-"+n,style:t({},i.default.withIcon,{width:u.tagContainerWidth,flexDirection:u.isAndroidRTL?"row":i.default.withIcon.flexDirection})},(0,a.createElement)("img",{style:t({},(0,r.getRTLCSS)(u.gdc,i.default,"tagImg"),i.default.withIconImg,{width:+e.width+1,height:+e.height+1,left:(0,r.isRTL)(u.gdc)?null:0,right:(0,r.isRTL)(u.gdc)?0:null}),src:e.tagImgUrl||e.value}),(0,a.createElement)(l.default,{style:t({},i.default.tagText,u.textStyle,{textIndent:c,color:e.tagStyle&&e.tagStyle.color||u.textStyle.color,width:u.tagContainerWidth}),numberOfLines:1},(""+e.tagText).split("").join("\ufeff")))};case"search_item_icon":return{tagWidth:+e.width+1,tagHeight:+e.height+1,TagComponent:(0,a.createElement)("img",{key:"tags1-"+n,style:t({},(0,r.getRTLCSS)(u.gdc,i.default,"promotionTagImg"),{width:+e.width+1,height:+e.height+1}),src:e.tagImgUrl||e.value})};case"search_item_text":return{tagWidth:u.tagContainerWidth,tagHeight:30,TagComponent:(0,a.createElement)(l.default,{key:"tags2-"+n,style:t({},i.default.tagText,u.textStyle,{width:"2in1"===u.mode?327:null,color:e.tagStyle&&e.tagStyle.color||u.textStyle.color,marginRight:(0,r.isRTL)(u.gdc)?0:6,marginLeft:(0,r.isRTL)(u.gdc)?6:0}),numberOfLines:1},(""+e.tagText).split("").join("\ufeff"))};default:return{TagComponent:null}}},u.getTagsData=function(){var e=[],t="tpp"===u.tagsMode?(0,o.convertTppSellingPointsToShopAtmosphere)(u.data.sellingPoints,u.mode):u.data.atmosphere;if("metadata"===u.type?e=[].concat(c((0,o.getPositionTags)(t,1,u.mode))):"selling_shipping"===u.type&&(e=[].concat(c((0,o.getPositionTags)(t,2)),c((0,o.getPositionTags)(t,3)),c((0,o.getPositionTags)(t,4)))),!e.length&&!u.titleMode)return null;u.titleMode&&(e=e.filter(function(e){return"search_item_icon"===e.materialCode}));for(var n=[],r=0;r<e.length;r++)n.push(e[r]);(0,o.sortTags)(n);var i=0,a=0,l=n.map(function(e,t){var n=u.renderTag(e,t);return i+=n.tagWidth+4,a=Math.max(a,n.tagHeight),n.TagComponent}),d=(30*+i/+a||30)+6;return e.length||(i=0,a=0,d=0),{renderedTags:l,renderedTagHeight:a,textIndent:d,renderedTagWidth:i}},u.gdc=e.gdc,u.data=e.data,u.mode=e.mode,u.type=e.type,u.timer=null,u.tagsMode=e.tagsMode,u.textStyle="metadata"===u.type?{color:"#FD384F",fontWeight:400}:"selling"===u.type?{color:"#FD384F",fontWeight:400}:"shipping"===u.type?{color:"#191919",fontWeight:400}:{},"2in1"===u.mode&&(n=327),"1in1"===u.mode&&(n=253),"3in1"===u.mode&&(n=210),"hoz"===u.mode&&(n=410),u.tagContainerWidth=n,u.titleMode=e.titleMode,u.title=e.title,u.state={step:0,renderedTags:[],stepHeight:28},u}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,a.Component),n(s,[{key:"componentDidMount",value:function(){var e=this,t=this.getTagsData();this.setState({tag:t},function(){var t=e.state.tag,n=t&&t.renderedTags?t.renderedTags:null;"selling_shipping"===e.type&&n&&n.length>1&&(n.push(n[0]),e.setState({renderedTags:n},function(){!e.timer&&n.length>1&&e.sliderInterval(n)}))})}},{key:"render",value:function(){var e=this;if(!this.data||"tpp"===this.tagsMode&&!this.data.sellingPoints||"shop"===this.tagsMode&&!this.data.atmosphere)return null;var n=this.state.tag,r=n&&n.renderedTags?n.renderedTags:null,o=n&&n.renderedTagHeight?n.renderedTagHeight:null,s=n&&n.renderedTagWidth?n.renderedTagWidth:null,c=n&&n.textIndent?n.textIndent:null,u=this.state,f=u.step,p={position:"absolute",left:0,right:"unset",top:-f*u.stepHeight,transition:0===f?"":"all 0.5s"};return(0,a.createElement)(d.default,{style:t({},i.default.horizontalTags,"metadata"===this.type?i.default.metaTagsAlter:{},this.textStyle,{width:this.tagContainerWidth})},"selling_shipping"===this.type&&r&&r.length>1?(0,a.createElement)(d.default,{style:{height:30,width:this.tagContainerWidth,overflow:"hidden",position:"relative"}},(0,a.createElement)(d.default,{style:{height:34,width:1}}),(0,a.createElement)(d.default,{style:t({},p)},r.map(function(t,n){return(0,a.createElement)(d.default,{key:"tags-"+n,style:{height:30,width:e.tagContainerWidth}},t)}))):(0,a.createElement)(d.default,{style:t({},i.default.horizontalTagsWrapper,{width:this.titleMode?s:this.tagContainerWidth,height:this.titleMode?o:null,position:this.titleMode?"absolute":"relative",top:this.titleMode?0:null,flexWrap:this.titleMode?null:"wrap"})},r),this.titleMode&&(0,a.createElement)(l.default,{style:t({},i.default.itemTagTitle,{width:this.tagContainerWidth,textIndent:c}),numberOfLines:1},(""+this.title).split("").join("\ufeff")))}}]),s}();exports.default=u,module.exports=exports.default},function(module,exports){module.exports={promotionTagImg:{height:32,marginRight:4,verticalAlign:"middle",display:"inline"},"promotionTagImg-rtl":{marginRight:0,marginLeft:4},tagImg:{height:32,marginRight:2,verticalAlign:"middle",display:"inline"},"tagImg-rtl":{marginRight:0,marginLeft:2},tagText:{color:"rgb(102,102,102)",fontSize:22,fontFamily:"AEShopCustomFont",fontWeight:"450",overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-all"},tagDot:{display:"inline",fontFamily:"AEShopCustomFont",fontWeight:"450"},horizontalTags:{position:"relative",display:"flex",flexDirection:"row",wordBreak:"break-all",alignItems:"center",justifyContent:"flex-start",flexWrap:"wrap"},metaTagsAlter:{display:"flex",flexDirection:"row",flexWrap:"wrap",wordBreak:"break-all"},withIcon:{position:"relative",overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-all",display:"flex",flexDirection:"row",justifyContent:"flex-start"},withIconImg:{position:"absolute",top:0},itemTagTitle:{fontSize:24,color:"rgb(25,25,25)",wordBreak:"break-all",textOverflow:"ellipsis",fontFamily:"AEShopCustomFont",fontWeight:"450"},horizontalTagsWrapper:{display:"flex",flexDirection:"row",alignContent:"center"},itemTitle2in1:{width:327,marginTop:0,marginRight:0,marginBottom:4,marginLeft:0}}},function(module,exports){module.exports={cardWrapper:{boxSizing:"border-box",display:"block",position:"relative",borderRadius:8,fontFamily:"AEShopCustomFont"},"cardWrapper-rtl":{direction:"rtl"},cardInner:{boxSizing:"border-box",display:"block",position:"relative",height:"100%",cursor:"pointer",textDecoration:"none"},cardInnerHoz:{flexDirection:"row",boxSizing:"border-box",display:"flex",position:"relative",cursor:"pointer",height:"100%",textDecoration:"none"},cardContent:{paddingTop:8,paddingLeft:8,paddingRight:8,paddingBottom:16,flexShrink:1},cardContentHoz:{paddingTop:0,paddingRight:8,flexShrink:1,width:418,height:268,position:"relative"},itemTitle:{fontSize:24,color:"rgb(25,25,25)",wordBreak:"break-all",textOverflow:"ellipsis",fontFamily:"AEShopCustomFont",fontWeight:"450"},itemTitleHoz:{width:410,fontSize:23,marginTop:7,marginRight:0,marginBottom:3,marginLeft:0},itemTitle3in1:{width:226,marginTop:2,marginRight:0,marginBottom:4,marginLeft:0},itemTitle2in1:{width:327,marginTop:0,marginRight:0,marginBottom:4,marginLeft:0},itemTitle1in1:{width:276,marginTop:0,marginRight:0,marginBottom:4,marginLeft:0},hozMeta:{flexDirection:"row",alignItems:"flex-end",paddingTop:6,paddingRight:0,paddingBottom:12,paddingLeft:0,flexWrap:"wrap",position:"absolute",bottom:0,left:0,width:410},firstLine:{display:"flex",flexDirection:"row",flexWrap:"wrap",height:38,overflow:"hidden"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(9),o=e(10),i=e(17),a=e(5),l=e(182),d=e(184),s=e(186),c=e(190),u=w(e(192)),f=w(e(194)),p=w(e(11)),g=e(12),m=e(0),h=w(e(2)),y=w(e(1)),b=e(24);function w(e){return e&&e.__esModule?e:{default:e}}var v=function(e){function w(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,w);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(w.__proto__||Object.getPrototypeOf(w)).call(this,e));return n.broadcastChannel=function(){new BroadcastChannel("popMobileConfirm").onmessage=function(){n.setState({showMask:!1})}},n.getProductUrl=function(e,t){var n=[];return t&&(t.detailPage&&Object.keys(t.detailPage).forEach(function(e){n.push({key:e,value:encodeURIComponent(t.detailPage[e])})}),t.pdpParams&&["pdp_ext_f","pdp_pi"].forEach(function(e){t.pdpParams[e]&&n.push({key:e,value:t.pdpParams[e]})})),"https://www.aliexpress.com/item/"+e+".html?"+n.map(function(e){return e.key+"="+e.value.substring(0,131072)}).join("&")},n.goTargetUrl=function(e,t,r){e||(e=n.getProductUrl(t,n.data.trace));var i=n.gdc,a=i.spm_cnt,l=i.pageId,d=i.pageName,s=i.sellerId,c=i.shopId,u=i.userId,f=n.mds,p=f.widgetId,m=f.moduleName,h={url:e,nid:t||0,widgetId:p,moduleName:m,target:r||null};n.data.utLogMap&&(0,g.sendClickUT)(a+"."+m,"",l,d,"Product_Click_Event",{seller_id:""+s,shop_id:""+c,user_id:""+u,utLogMap:n.data.utLogMap}),n.pageUtils.goTargetUrl?n.pageUtils.goTargetUrl(h):(0,o.openWindow)(e)},n.open=function(e,t){var i=n.state.showMask;if("true"!==i&&!0!==i)n.goTargetUrl(e,t);else if((0,r.isADC)())(0,o.callWindVaneHandler)("AEWVPrivacy","euSafetyFilter",{},function(r){r.wantedSee&&(new BroadcastChannel("popMobileConfirm").postMessage(r),setTimeout(function(){n.goTargetUrl(e,t)},100))},function(e){console.warn(e)});else{var a=n.gdc.locale;p.default.show({isRtl:!1,locale:a,fetcher:window.lib.mtop.request,onOk:function(r){console.log(r);var o=r.success,i=r.errMsg;o?(new BroadcastChannel("popMobileConfirm").postMessage(r),setTimeout(function(){n.goTargetUrl(e,t)},100)):console.warn(i)},onCancel:function(){}})}},n.renderHozCard=function(){var e=n.data,r=e.id,o=e.url,i=e.title,l=n.state.showMask;return(0,m.createElement)(y.default,t({},n.expProps,{style:t({},(0,a.getRTLCSS)(n.gdc,f.default,"cardWrapper"),n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,m.createElement)(g.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,m.createElement)(y.default,t({},n.clkProps,{style:f.default.cardInnerHoz,onClick:function(){return n.open(o,r)}}),(0,m.createElement)(d.Image,{gdc:n.gdc,data:n.data,mode:n.mode,showMask:l,size:268}),(0,m.createElement)(y.default,{style:f.default.cardContentHoz},!!i&&(0,m.createElement)(h.default,{style:t({},f.default.itemTitle,f.default.itemTitleHoz),numberOfLines:2},i.split("").join("\ufeff")),(0,m.createElement)(u.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode}),(0,m.createElement)(u.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"selling",mode:n.mode}),(0,m.createElement)(u.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"shipping",mode:n.mode}),(0,m.createElement)(y.default,{style:f.default.hozMeta},(0,m.createElement)(c.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}),(0,m.createElement)(s.Meta,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data})))),n.showAddCart&&(0,m.createElement)(b.AddCart,{data:n.data,gdc:n.gdc,imageSize:268,type:"hoz"}))},n.render2In1Card=function(){var e=n.data,r=e.id,o=e.url,i=e.title,l=n.state.showMask;return(0,m.createElement)(y.default,t({},n.expProps,{style:t({},(0,a.getRTLCSS)(n.gdc,f.default,"cardWrapper"),{width:343},n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,m.createElement)(g.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,m.createElement)(y.default,t({},n.clkProps,{style:n.state.showShadow?f.default.cardInnerWithShadow:f.default.cardInner,onClick:function(){return n.open(o,r)}}),(0,m.createElement)(d.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:343,showMask:l}),(0,m.createElement)(y.default,{style:f.default.cardContent},(0,m.createElement)(c.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}),(0,m.createElement)(u.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"selling",mode:n.mode}),(0,m.createElement)(u.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"metadata",mode:n.mode}),(0,m.createElement)(s.Meta,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,mode:n.mode}),!!i&&(0,m.createElement)(h.default,{style:t({},f.default.itemTitle,f.default.itemTitle2in1),numberOfLines:1},i.split("").join("\ufeff")),(0,m.createElement)(u.default,{gdc:n.gdc,tagsMode:n.tagsMode,data:n.data,type:"shipping",mode:n.mode}))),n.showAddCart&&(0,m.createElement)(b.AddCart,{data:n.data,gdc:n.gdc,imageSize:343,type:"vert"}))},n.render3In1Card=function(){var e=n.data,r=e.id,o=e.url,i=e.title,u=n.state.showMask;return(0,m.createElement)(y.default,t({},n.expProps,{style:t({},(0,a.getRTLCSS)(n.gdc,f.default,"cardWrapper"),{width:226},n.style,{backgroundColor:n.props.cardBg||"transparent"})}),(0,m.createElement)(g.ItemExpose,{gdc:n.gdc,mds:n.mds,extParams:{utLogMap:n.data.utLogMap}}),(0,m.createElement)(y.default,t({},n.clkProps,{style:f.default.cardInner,onClick:function(){return n.open(o,r)}}),(0,m.createElement)(d.Image,{gdc:n.gdc,data:n.data,mode:n.mode,size:226,showMask:u}),(0,m.createElement)(y.default,{style:f.default.cardContent},!!i&&(0,m.createElement)(h.default,{style:t({},f.default.itemTitle,f.default.itemTitle3in1),numberOfLines:1},i.split("").join("\ufeff")),(0,m.createElement)(s.Meta,{mode:n.mode,gdc:n.gdc,tagsMode:n.tagsMode,data:n.data}),(0,m.createElement)(c.Price,{mode:n.mode,gdc:n.gdc,modsStyle:n.modsStyle,priceMode:n.priceMode,data:n.data}),(0,m.createElement)(l.Discount,{data:n.data}))),n.showAddCart&&(0,m.createElement)(b.AddCart,{data:n.data,gdc:n.gdc,imageSize:226,type:"vert"}))},n.pageUtils=e.pageUtils||{},n.gdc=e.gdc||{},n.mds=e.mds||{},n.mode=e.mode||"2in1",n.modsStyle=e.modsStyle||{},n.priceMode=e.priceMode||"shop",n.tagsMode=e.tagsMode||"shop",n.showAddCart=e.showAddCart||!1,n.data=e.data,n.data.modsStyle&&(n.modsStyle=n.data.modsStyle),(0,i.debug)("data",n.data),n.expProps=e.expProps||{},n.clkProps=e.clkProps||{},n.style=e.style||{},n.state={showMask:e.showMask},n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(w,m.Component),n(w,[{key:"componentDidMount",value:function(){this.broadcastChannel()}},{key:"render",value:function(){return this.data?"2in1"===this.mode?this.render2In1Card():"3in1"===this.mode?this.render3In1Card():this.renderHozCard():null}}]),w}();exports.default=v,module.exports=exports.default},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Discount=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=a(e(183)),r=e(0),o=a(e(2)),i=a(e(1));function a(e){return e&&e.__esModule?e:{default:e}}exports.Discount=function(e){function a(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return t.data=e.data,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r.Component),t(a,[{key:"render",value:function(){return this.data.discount&&"0"!==this.data.discount&&"undefined"!==this.data.discount&&"null"!==this.data.discount?(0,r.createElement)(i.default,{style:n.default.container},(0,r.createElement)(i.default,{style:n.default.discount},(0,r.createElement)(o.default,{style:n.default.text},this.data.discount))):null}}]),a}()},function(module,exports){module.exports={container:{display:"flex",flexDirection:"row",marginTop:8},discount:{height:38,borderRadius:19,backgroundColor:"rgb(211,3,28)",paddingTop:0,paddingRight:20,paddingBottom:0,paddingLeft:20,display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center"},text:{color:"rgb(255,255,255)",fontSize:20,fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Image=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(5),o=d(e(185)),i=e(0),a=d(e(2)),l=d(e(1));function d(e){return e&&e.__esModule?e:{default:e}}exports.Image=function(e){function d(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,e));return t.gdc=e.gdc,t.data=e.data,t.mode=e.mode,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(d,i.Component),n(d,[{key:"render",value:function(){if(!this.data)return null;var e,n=this.data,d=n.image,s=n.title,c=n.cornorMark,u=this.props.showMask;e=!0===u||"true"===u?"https://ae01.alicdn.com/kf/S1e0b5f59d44845c89d23644878384c33Z/504x504.png":d;var f=c||{},p=f.value,g=f.color,m=f.bgColor,h=268;return"2in1"===this.mode&&(h=343),"3in1"===this.mode&&(h=226),"2in1"===this.mode&&this.data.discount&&"0"!==this.data.discount&&"undefined"!==this.data.discount&&"null"!==this.data.discount&&(p=this.data.discount,m="#FD384F",g="#ffffff"),(0,i.createElement)(l.default,{style:"2in1"===this.mode||"3in1"===this.mode?o.default.imgOuter:(0,r.getRTLCSS)(this.gdc,o.default,"imgOuterHoz")},(0,i.createElement)(l.default,{style:t({},o.default.imgWrapper,{width:h,height:h})},(0,i.createElement)("img",{style:t({},o.default.itemImg,{width:h,height:h,objectFit:"cover"}),src:e,alt:s}),(0,i.createElement)(l.default,{style:t({},o.default.bgMask,{width:h,height:h})}),!!p&&"3in1"===this.mode&&(0,i.createElement)(l.default,{style:t({},(0,r.getRTLCSS)(this.gdc,o.default,"mark"),{backgroundColor:m||"#FD384F"})},(0,i.createElement)(a.default,{style:t({},o.default.markText,{color:g||"#ffffff"})},p))))}}]),d}()},function(module,exports){module.exports={imgOuter:{overflow:"hidden"},imgOuterHoz:{flex:"0 0 auto",marginRight:16,overflow:"hidden"},"imgOuterHoz-rtl":{marginRight:0,marginLeft:16},imgWrapper:{position:"relative",outline:"none",borderStyle:"none",textDecoration:"none",borderRadius:8,overflow:"hidden"},itemImg:{display:"block",position:"relative",userSelect:"none",pointerEvents:"none",outline:"none",borderStyle:"none",objectFit:"cover"},mark:{position:"absolute",left:0,top:0,height:48,paddingTop:0,paddingRight:12,paddingBottom:0,paddingLeft:12,borderTopLeftRadius:8,borderBottomRightRadius:8,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},"mark-rtl":{left:"unset",right:0,borderTopLeftRadius:"unset",borderBottomRightRadius:"unset",borderTopRightRadius:8,borderBottomLeftRadius:8},bgMask:{position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"rgba(0,0,0,0.04)"},markText:{fontFamily:"AEShopCustomFont-Bold",fontWeight:"700",fontSize:28},addCart:{position:"absolute",right:0,bottom:0,paddingTop:12,paddingRight:12,paddingBottom:12,paddingLeft:12,width:88,height:88},addCartIcon:{width:64,height:64,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImgWrapper:{backgroundColor:"rgb(25,25,25)",width:64,height:64,borderRadius:32,justifyContent:"center",alignItems:"center",position:"relative"},addCartIconImg:{width:32,height:32,backgroundColor:"rgb(25,25,25)",marginTop:2,marginRight:2},addCartNum:{backgroundColor:"rgb(253,56,79)",color:"rgb(255,255,255)",position:"absolute",right:0,top:0,width:28,height:28,borderRadius:14,fontSize:20,textAlign:"center",borderWidth:"1px",borderStyle:"solid",borderColor:"rgb(255,255,255)"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Meta=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=e(5),r=d(e(187)),o=e(188),i=e(0),a=d(e(2)),l=d(e(1));function d(e){return e&&e.__esModule?e:{default:e}}exports.Meta=function(e){function d(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,d);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(d.__proto__||Object.getPrototypeOf(d)).call(this,e));return t.gdc=e.gdc,t.mode=e.mode,t.data=e.data,t.tagsMode=e.tagsMode,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(d,i.Component),t(d,[{key:"render",value:function(){if(!this.data)return null;var e=this.data,t=e.stars,d=e.sales;if(!t&&!d)return null;var s=r.default.itemMeta;return"3in1"===this.mode&&(s=r.default.itemMeta3in1),"2in1"===this.mode&&(s=r.default.itemMeta2in1),(0,i.createElement)(l.default,{style:s},!!d&&(0,i.createElement)(a.default,{style:(0,n.getRTLCSS)(this.gdc,r.default,"itemOrders")},d),(0,i.createElement)(o.Star,{gdc:this.gdc,num:t}))}}]),d}()},function(module,exports){module.exports={itemMeta:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemMeta3in1:{display:"flex",alignItems:"center",marginTop:0,flexDirection:"row",flexWrap:"wrap"},itemMeta2in1:{display:"flex",alignItems:"center",marginTop:2,marginRight:0,marginBottom:2,marginLeft:0,flexDirection:"row",flexWrap:"nowrap"},itemOrders:{fontSize:24,color:"rgb(151,151,151)",marginRight:8,fontFamily:"AEShopCustomFont",fontWeight:"450"},"itemOrders-rtl":{marginLeft:0,marginRight:0},topSelling:{display:"block"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Star=void 0;var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=a(e(189)),r=e(0),o=a(e(2)),i=a(e(1));function a(e){return e&&e.__esModule?e:{default:e}}exports.Star=function(e){function a(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(a.__proto__||Object.getPrototypeOf(a)).call(this,e));return t.gdc=e.gdc,t.num=e.num,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(a,r.Component),t(a,[{key:"render",value:function(){return this.num?+this.num<.1?null:(0,r.createElement)(i.default,{style:n.default.starWrapper},(0,r.createElement)("img",{style:n.default.starImage,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAATCAYAAACdkl3yAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAE2SURBVHgBpVTBTQMxENxxlBMBHtcBpgKSZ8QDrgPoACoIqSCiE6gkIBTxBCrIleAPCOWSmPVGwPk455xjJEtre3Y09tpL1AA7O7hyo4mHrSLPe5rWai4TlRxjaPIQV20TYpHJb1zcUBtHnpsNDC3YVWYM7eRo1RlVVlJKFkFXYSHYi5rVkZ2maT39hTc+Ck6ymqdHvNbn2JF1XQJZPqLCKweG4zfOyUl1H2Bn+/NgUjyMYtVH+jdwDzlzUkzZap/aAHzMXjeT8rcWA+XUSwYYGCNVk7ehVpeysYsIksyJuOlP+TH8zGnZGVM8xuUv478jtdQUDetxfSHgjGIBdRIWstAUi7VfmIqjStXk8nEt428htE/9NlP+7S7J4han73dlsjQ42Ak/4o1IqEdJN3w6PKcG1HXNLyUobuoTnHiPAAAAAElFTkSuQmCC"}),(0,r.createElement)(o.default,{style:n.default.starText},""+(+this.num).toFixed(1))):null}}]),a}()},function(module,exports){module.exports={starWrapper:{display:"flex",flexDirection:"row",alignItems:"center",position:"relative"},starText:{color:"rgb(151,151,151)",fontSize:24,fontFamily:"AEShopCustomFont",fontWeight:"450"},starImage:{width:18,height:18,marginRight:4}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0}),exports.Price=void 0;var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(18),o=e(5),i=s(e(191)),a=e(0),l=s(e(2)),d=s(e(1));function s(e){return e&&e.__esModule?e:{default:e}}exports.Price=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var t=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return t.mode=e.mode,t.gdc=e.gdc,t.data=e.data,t.priceMode=e.priceMode,t.modsStyle=e.data.modsStyle||e.modsStyle,t}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,a.Component),n(s,[{key:"render",value:function(){var e=this;if(!this.data)return null;var n="3in1"===this.mode?26:30,s="3in1"===this.mode?22:24;if("tpp"===this.priceMode){if(!this.data.prices)return null;var c=(0,r.getTppOldPrice)(this.data.prices,this.modsStyle,this.gdc)||{},u=c.salePrice,f=c.originalPrice;return u||f?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",color:"#191919",alignItems:"center",marginLeft:(0,o.isRTL)(this.gdc)?8:0}},u&&u.map(function(r,d){return(0,a.createElement)(l.default,{key:"salePrice-"+d,style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:"#191919",fontSize:n})},r.text)})),f&&f.map(function(n,r){return(0,a.createElement)(l.default,{key:"originalPrice-"+r,style:t({},n.style,(0,o.getRTLCSS)(e.gdc,i.default,"subPriceText"),{fontSize:s})},n.text)})):null}if(!this.data.prices&&!this.data.priceLocalInfo)return null;var p=this.data.priceLocalInfo&&this.data.priceLocalInfo.promotionPiecePriceStructure&&-1!==this.data.priceLocalInfo.promotionPiecePriceStructure.indexOf("|")?(0,r.getNewPrice)(this.data.priceLocalInfo,this.data.priceLocalConfig,this.gdc)||{}:(0,r.getTppOldPrice)(this.data.prices,this.modsStyle,this.gdc)||{},g=p.currentPrice,m=p.subPrice;return g?(0,a.createElement)(d.default,{style:(0,o.getRTLCSS)(this.gdc,i.default,"2in1"===this.mode?"priceWrapper2in1":"3in1"===this.mode?"priceWrapper3in1":"priceWrapper")},(0,a.createElement)(d.default,{style:{flexDirection:(0,o.isRTL)(this.gdc)?"row-reverse":"row",alignItems:"center",marginLeft:(0,o.isRTL)(this.gdc)?8:0}},g&&g.map(function(r,d){return(0,a.createElement)(l.default,{key:"currentPrice-"+d,style:t({},(0,o.getRTLCSS)(e.gdc,i.default,"priceText"),r.style,{color:"#191919",fontSize:n})},r.text)})),m&&(0,a.createElement)(l.default,{style:t({},(0,o.getRTLCSS)(this.gdc,i.default,"subPriceText"),m.style,{fontSize:s})},m.text)):null}}]),s}()},function(module,exports){module.exports={priceWrapper:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",marginRight:8,flexWrap:"nowrap"},"priceWrapper-rtl":{marginRight:0,marginLeft:8},priceWrapper2in1:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",flexWrap:"nowrap"},"priceWrapper2in1-rtl":{marginRight:0,marginLeft:8},priceWrapper3in1:{display:"flex",alignItems:"flex-end",overflow:"hidden",flexDirection:"row",marginRight:8,flexWrap:"wrap"},"priceWrapper3in1-rtl":{marginRight:0,marginLeft:8},priceText:{color:"rgb(25,25,25)",fontFamily:"AEShopCustomFont-Bold",fontWeight:"700"},"priceText-rtl":{},subPriceText:{color:"rgb(151,151,151)",fontFamily:"AEShopCustomFont",fontWeight:"450",marginTop:2,marginRight:0,marginBottom:2,marginLeft:8},"subPriceText-rtl":{}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},n=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=e(5),o=e(25),i=s(e(193)),a=e(0),l=s(e(2)),d=s(e(1));function s(e){return e&&e.__esModule?e:{default:e}}function c(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var u=function(e){function s(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s);var n,o=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(s.__proto__||Object.getPrototypeOf(s)).call(this,e));return o.renderTag=function(e,n){if((e.tagImgUrl||e.value)&&e.height&&+e.height>30){var s=+e.height,c=+e.width;e.height=30,e.width=c/s*30}if(e)switch(e.materialCode){case"search_item_text_icon":var u=(30*(+e.width+8)/+e.height||30)+6;return{tagWidth:o.tagContainerWidth,tagHeight:30,TagComponent:(0,a.createElement)(d.default,{key:"tags0-"+n,style:t({},i.default.withIcon,{width:o.tagContainerWidth,flexDirection:o.isAndroidRTL?"row":i.default.withIcon.flexDirection})},(0,a.createElement)("img",{style:t({},(0,r.getRTLCSS)(o.gdc,i.default,"tagImg"),i.default.withIconImg,{width:+e.width+1,height:+e.height+1,left:(0,r.isRTL)(o.gdc)?null:0,right:(0,r.isRTL)(o.gdc)?0:null}),src:e.tagImgUrl||e.value}),(0,a.createElement)(l.default,{style:t({},i.default.tagText,o.textStyle,{textIndent:u,color:e.tagStyle&&e.tagStyle.color||o.textStyle.color,width:o.tagContainerWidth}),numberOfLines:2},(""+e.tagText).split("").join("\ufeff")))};case"search_item_icon":return{tagWidth:+e.width+1,tagHeight:+e.height+1,TagComponent:(0,a.createElement)("img",{key:"tags1-"+n,style:t({},(0,r.getRTLCSS)(o.gdc,i.default,"promotionTagImg"),{width:+e.width+1,height:+e.height+1}),src:e.tagImgUrl||e.value})};case"search_item_text":return{tagWidth:o.tagContainerWidth,tagHeight:30,TagComponent:(0,a.createElement)(l.default,{key:"tags2-"+n,style:t({},i.default.tagText,o.textStyle,{width:null,color:e.tagStyle&&e.tagStyle.color||o.textStyle.color,marginRight:(0,r.isRTL)(o.gdc)?0:6,marginLeft:(0,r.isRTL)(o.gdc)?6:0})},(""+e.tagText).split("").join("\ufeff"))};default:return{TagComponent:null}}},o.gdc=e.gdc,o.data=e.data,o.mode=e.mode,o.type=e.type,o.tagsMode=e.tagsMode,o.textStyle="metadata"===o.type?{color:"#FD384F",fontWeight:400}:"selling"===o.type?{color:"#FD384F",fontWeight:400}:"shipping"===o.type?{color:"#191919",fontWeight:400}:{},"2in1"===o.mode&&(n=327),"hoz"===o.mode&&(n=410),o.tagContainerWidth=n,o.titleMode=e.titleMode,o.title=e.title,o}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(s,a.Component),n(s,[{key:"render",value:function(){var e=this;if(!this.data||"tpp"===this.tagsMode&&!this.data.sellingPoints||"shop"===this.tagsMode&&!this.data.atmosphere)return null;var n=[],r="tpp"===this.tagsMode?(0,o.convertTppSellingPointsToShopAtmosphere)(this.data.sellingPoints):this.data.atmosphere;if("metadata"===this.type)n=[].concat(c((0,o.getPositionTags)(r,1)));else if("selling"===this.type){var s=[].concat(c((0,o.getPositionTags)(r,2)));n=s&&s.length>1?s.slice(0,1):s}else if("shipping"===this.type){var u=[].concat(c((0,o.getPositionTags)(r,3)),c((0,o.getPositionTags)(r,4)));n=u&&u.length>1?u.slice(0,1):u}if(!n.length&&!this.titleMode)return null;this.titleMode&&(n=n.filter(function(e){return"search_item_icon"===e.materialCode}));for(var f=[],p=0;p<n.length;p++)f.push(n[p]);(0,o.sortTags)(f);var g=0,m=0,h=f.map(function(t,n){var r=e.renderTag(t,n);return g+=r.tagWidth+4,m=Math.max(m,r.tagHeight),r.TagComponent}),y=(30*+g/+m||30)+6;return n.length||(g=0,m=0,y=0),(0,a.createElement)(d.default,{style:t({},i.default.horizontalTags,"metadata"===this.type?i.default.metaTagsAlter:{},this.textStyle,{width:this.tagContainerWidth})},(0,a.createElement)(d.default,{style:t({},i.default.horizontalTagsWrapper,{width:this.titleMode?g:this.tagContainerWidth,height:this.titleMode?m:null,position:this.titleMode?"absolute":"relative",top:this.titleMode?0:null,flexWrap:this.titleMode?null:"wrap"})},h),this.titleMode&&(0,a.createElement)(l.default,{style:t({},i.default.itemTagTitle,{width:this.tagContainerWidth,textIndent:y}),numberOfLines:2},(""+this.title).split("").join("\ufeff")))}}]),s}();exports.default=u,module.exports=exports.default},function(module,exports){module.exports={promotionTagImg:{height:32,marginRight:4,verticalAlign:"middle",display:"inline"},"promotionTagImg-rtl":{marginRight:0,marginLeft:4},tagImg:{height:32,marginRight:2,verticalAlign:"middle",display:"inline"},"tagImg-rtl":{marginRight:0,marginLeft:2},tagText:{color:"rgb(102,102,102)",fontSize:22,fontFamily:"AEShopCustomFont",fontWeight:"450",overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-all"},tagDot:{display:"inline",fontFamily:"AEShopCustomFont",fontWeight:"450"},horizontalTags:{position:"relative",display:"flex",flexDirection:"row",wordBreak:"break-all",alignItems:"center",justifyContent:"flex-start",flexWrap:"wrap"},metaTagsAlter:{display:"flex",flexDirection:"row",flexWrap:"wrap",wordBreak:"break-all"},withIcon:{position:"relative",overflow:"hidden",textOverflow:"ellipsis",wordBreak:"break-all",display:"flex",flexDirection:"row",justifyContent:"flex-start"},withIconImg:{position:"absolute",top:0},itemTagTitle:{fontSize:24,color:"rgb(25,25,25)",wordBreak:"break-all",textOverflow:"ellipsis",fontFamily:"AEShopCustomFont",fontWeight:"450"},horizontalTagsWrapper:{display:"flex",flexDirection:"row",alignContent:"center"}}},function(module,exports){module.exports={cardWrapper:{boxSizing:"border-box",display:"block",position:"relative",borderRadius:8,fontFamily:"AEShopCustomFont"},"cardWrapper-rtl":{direction:"rtl"},cardInner:{boxSizing:"border-box",display:"block",position:"relative",height:"100%",cursor:"pointer",textDecoration:"none"},cardInnerHoz:{flexDirection:"row",boxSizing:"border-box",display:"flex",position:"relative",cursor:"pointer",height:"100%",textDecoration:"none"},cardContent:{paddingTop:8,paddingLeft:8,paddingRight:8,paddingBottom:16,flexShrink:1},cardContentHoz:{paddingTop:0,paddingRight:8,flexShrink:1,width:418,height:268,position:"relative"},itemTitle:{fontSize:24,color:"rgb(25,25,25)",wordBreak:"break-all",textOverflow:"ellipsis",fontFamily:"AEShopCustomFont",fontWeight:"450"},itemTitleHoz:{width:410,fontSize:23,marginTop:7,marginRight:0,marginBottom:3,marginLeft:0},itemTitle3in1:{width:210,marginTop:2,marginRight:0,marginBottom:4,marginLeft:0},itemTitle2in1:{width:327,marginTop:0,marginRight:0,marginBottom:4,marginLeft:0},hozMeta:{flexDirection:"row",alignItems:"flex-end",paddingTop:6,paddingRight:0,paddingBottom:12,paddingLeft:0,flexWrap:"wrap",position:"absolute",bottom:0,left:0,width:410}}},function(module,exports){Object.defineProperty(exports,"__esModule",{value:!0});exports.__=function(e,t,n){var r=e||t;for(var o in n){var i=n[o];r=r.replace(new RegExp("\\{\\w?"+o+"\\w?\\}","g"),i)}return r},exports.getUrlParams=function(e){var t=location.search||"",n=location.href.indexOf("?");n>-1&&!t&&(t=location.href.slice(n));for(var r=t.match(/[^&?]+=[^&]+/g)||[],o={},i=0;i<r.length;i++){var a=r[i].split(/=/),l=a[1].replace(/%25/g,"%");o[a[0]]=decodeURIComponent(l)}return o[e]||null},exports.getCookie=function(e){if(document.cookie.length>0){var t=document.cookie.indexOf(e+"="),n=0;if(-1!==t)return t=t+e.length+1,-1===(n=document.cookie.indexOf(";",t))&&(n=document.cookie.length),unescape(document.cookie.substring(t,n))}return null},exports.getVersion=function(){var e=navigator.userAgent.match(/AliApp\(([A-Z-]+)\/([\d.]+)\)/i);return e&&e[2]}},function(module,exports){module.exports={container:{width:750,position:"relative",backgroundColor:"rgb(255,255,255)",paddingBottom:24,fontFamily:"AEShopCustomFont"},titleWrapper:{display:"flex",flexDirection:"row",alignItems:"center",paddingTop:24,paddingRight:24,paddingBottom:24,paddingLeft:24},"titleWrapper-rtl":{justifyContent:"flex-end"},topContainer:{flexDirection:"column",justifyContent:"space-between"},titleContainer:{flexDirection:"row"},"titleContainer-rtl":{flexDirection:"row-reverse"},title:{fontSize:32,lineHeight:43,maxWidth:582,fontFamily:"AEShopCustomFont-Bold",fontWeight:"700",flexDirection:"row",justifyContent:"flex-start",color:"rgb(25,25,25)"},"title-dir":{textAlign:"right"},subTitle:{fontSize:24,fontFamily:"AEShopCustomFont",color:"rgb(102,102,102)",lineHeight:33,flexDirection:"row",justifyContent:"flex-start",whiteSpace:"pre"},arrowContainer:{justifyContent:"center"},list:{paddingLeft:24,paddingRight:24,display:"flex",flexDirection:"row",justifyContent:"flex-start"},listItem:{width:218,borderRadius:16,overflow:"hidden",marginRight:16},productTitle:{width:423,height:96,lineHeight:32,fontSize:24,fontFamily:"AEShopCustomFont",color:"rgb(102,102,102)"},defaultImage:{width:750},image:{position:"relative",width:218,height:218,borderRadius:12},coverImage:{position:"absolute",backgroundColor:"rgba(0,0,0,0.04)",width:218,height:218,borderRadius:12},arrowImage:{width:36,height:36},"arrowImage-dir":{transform:"rotate(180deg)"},productDetails:{width:218,marginTop:8,paddingRight:8,paddingLeft:8,overflow:"hidden"},priceWrapper:{fontSize:28,fontFamily:"AEShopCustomFont",fontWeight:"bold",display:"flex",flexDirection:"row",height:44,maxWidth:202,lineHeight:44,overflow:"hidden",alignItems:"flex-end",textOverflow:"ellipsis",whiteSpace:"nowrap",alignSelf:"start"},"discount-dir":{direction:"ltr"},"priceWrapper-dir":{direction:"ltr"},"subTitle-dir":{direction:"ltr"},"priceDiscount-dir":{direction:"ltr"},discount:{textDecoration:"line-through",alignSelf:"start",fontWeight:"400",fontSize:24,fontFamily:"AEShopCustomFont",color:"rgb(117,117,117)",lineHeight:32},priceDiscount:{display:"flex",position:"absolute",zIndex:6,top:0,left:0,height:40,lineHeight:40,width:80,backgroundColor:"rgb(253,56,79)",borderTopLeftRadius:12,borderBottomRightRadius:12,fontWeight:"700",fontSize:24,fontFamily:"AEShopCustomFont-Bold",color:"rgb(255,255,255)",textAlign:"center"}}},function(module,exports,e){Object.defineProperty(exports,"__esModule",{value:!0});var t=function(){function e(e,t){for(var n,r=0;r<t.length;r++)(n=t[r]).enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),n=e(0),r=l(e(1)),o=e(12),i=l(e(47)),a=l(e(136));function l(e){return e&&e.__esModule?e:{default:e}}var d=function(e){function l(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(l.__proto__||Object.getPrototypeOf(l)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(l,n.Component),t(l,[{key:"render",value:function(){var e=!1;try{new URL(window.location.href).searchParams.has("pha_manifest")&&(e=!0),window.adcGray&&(e=!0)}catch(e){}return e?(0,n.createElement)(r.default,{"data-container":"adc"},(0,n.createElement)(o.ModuleExpose,{gdc:this.props.gdc,mds:this.props.mds}),(0,n.createElement)(a.default,this.props)):(0,n.createElement)(i.default,this.props)}}]),l}();exports.default=d,module.exports=exports.default}])});