!function(e){function t(t){for(var r=t[0],n=t[1],i,a,c=0,l=[];c=14:r.version>=14:r.version>=y[r.type],o()({},r,{supportWebp:n})):null},b=!p.d&&null;function w(){var e=new Image;e.onload=function(){var t,r;b=e.width>0&&e.height>0,null===(t=window)||void 0===t||null===(r=t.localStorage)||void 0===r||r.setItem("ae_u_webp","1")},e.onerror=function(){var e,t;b=!1,null===(e=window)||void 0===e||null===(t=e.localStorage)||void 0===t||t.removeItem("ae_u_webp")},e.src="data:image/webp;base64,UklGRiIAAABXRUJQVlA4IBYAAAAwAQCdASoBAAEADsD+JaQAA3AAAAAA"}function S(){if(p.d){var e=g(Object(m.c)());return Boolean(null==e?void 0:e.supportWebp)}if(null===b)try{var t,r;b=0===document.createElement("canvas").toDataURL("image/webp").indexOf("data:image/webp")||"1"===(null===(t=window)||void 0===t||null===(r=t.localStorage)||void 0===r?void 0:r.getItem("ae_u_webp"))}catch(e){b=!1}return b}function O(e){var t,r;return/^.+_\.webp$/.test(e)}function E(e){var t,r;return/(\.((jp(e)?g)|png)).+\1/.test(e)||O(e)}function j(){return S()}function _(e){var t=/(\.jpg|\.jpeg|\.png)/,r;return!!t.test(e)&&e.match(t)[0]}function x(e){var t=O(e),r;return j()&&!t?e+"_.webp":e}function k(e,t){var r=e.compressedHeight,n=e.compressedWidth,o=e.clipAsSquare,i,a=r+"x"+n,c;return void 0==={"960x10000":1,"640x10000":1,"220x10000":1,"960x960":1,"720x720":1,"640x640":1,"480x480":1,"350x350":1,"300x300":1,"250x250":1,"220x220":1,"200x200":1,"140x140":1,"120x120":1,"100x100":1,"80x80":1,"50x50":1}[a]&&(a="480x480"),t=o?a+"xz":a}function P(e,t){var r=e.compressQuality,n=e.quality,o=e.relativeQuality,i;return t+=r?o?"q"+n:"Q"+n:""}function C(e,t){var r=O(e),n=E(e),o,i=!/(ae0(1|2|3|4).alicdn.com\/kf)/.test(e),a=_(e),c=t.compressedHeight,l=t.compressedWidth,u=t.clipAsSquare,s=void 0!==u&&u,f=t.compressQuality,d=void 0!==f&&f,p=t.quality,m=void 0===p?90:p,v=t.relativeQuality,y=void 0!==v&&v,h=t.useWebp,g=void 0===h||h,b={compressedHeight:c,compressedWidth:l,clipAsSquare:s},w={compressQuality:d,quality:m,relativeQuality:y},S;if(i||!a)return e;if(n)return g&&!r?x(e):e;var C=e,N="",I,T;(c||l)&&(c||(b.compressedHeight=l),l||(b.compressedWidth=c),N=k(b,N)),/(\.jpg|\.jpeg)/.test(e)&&d&&(N=P(w,N));var L=_(e);if(g&&j()&&!r)C=N?C+"_"+N+L+"_.webp":C+"_.webp";else{if(!N)return e;C=C+"_"+N+L}return C}p.d||w(),r(140);var N=["src","compressedHeight","compressedWidth","clipAsSquare","compressQuality","quality","relativeQuality","useWebp"],I=function(e){function t(){return e.apply(this,arguments)||this}var r;return l()(t,e),t.prototype.render=function e(){var t=this.props,r=t.src,n=t.compressedHeight,i=t.compressedWidth,c=t.clipAsSquare,l=t.compressQuality,u=t.quality,f=t.relativeQuality,d=t.useWebp,p=a()(t,N),m,v=C(r,{compressedHeight:n,compressedWidth:i,clipAsSquare:c,compressQuality:l,quality:u,relativeQuality:f,useWebp:d});return s.a.createElement("img",o()({src:v},p))},t}(s.a.PureComponent);I.propTypes={src:d.a.string,className:d.a.string,compressedHeight:d.a.number,compressedWidth:d.a.number,clipAsSquare:d.a.bool,compressQuality:d.a.bool,quality:d.a.number,relativeQuality:d.a.bool,useWebp:d.a.bool},I.defaultProps={compressQuality:!1,clipAsSquare:!1,quality:90,relativeQuality:!1,useWebp:!0};var T=t.b=I},function(e,t,r){e.exports={"card-content":"cards--card-content--3TjMDdB","small-card-single":"cards--small-card-single--23ZA9wj","loop-btn":"cards--loop-btn--2ajLNuE","small-card-single-item":"cards--small-card-single-item--3C1fMCt",counter:"cards--counter--V92NciF","counter-point":"cards--counter-point--1A6lvWI",checked:"cards--checked--1c5kKwB","big-card":"cards--big-card--1JgWxXD","item-0":"cards--item-0--19BQ1Vl",rtl:"cards--rtl--Kz17YzO","small-card-four":"cards--small-card-four--3a7Jx65","small-items-wrap":"cards--small-items-wrap--3Ykht4S","item-small":"cards--item-small--2edquvC",item:"cards--item--1ZI_vr9","small-card-three":"cards--small-card-three--2Lb1Pp-","item-3":"cards--item-3--pSvmhC2","item-4":"cards--item-4--3jzS4pF"}},function(e,t,r){e.exports={loopBtn:"pc2023-greeting-pine--loopBtn--1KkTTys",loopBtnIcon:"pc2023-greeting-pine--loopBtnIcon--2-ban8v",counter:"pc2023-greeting-pine--counter--1KRfkx1","counter-point":"pc2023-greeting-pine--counter-point--14RdPWa",checked:"pc2023-greeting-pine--checked--N7nQivl","greeting-pine":"pc2023-greeting-pine--greeting-pine--1-qJxsf","product-container":"pc2023-greeting-pine--product-container--2T5lBMS","product-left":"pc2023-greeting-pine--product-left--3YbSVg_","product-right":"pc2023-greeting-pine--product-right--LK35EIW","product-sale-tag":"pc2023-greeting-pine--product-sale-tag--1BKUkkH",alignLeft:"pc2023-greeting-pine--alignLeft--od9Ud6W","product-title":"pc2023-greeting-pine--product-title--1YRduz9","product-image":"pc2023-greeting-pine--product-image--XSenLAx","main-venue":"pc2023-greeting-pine--main-venue--21clwEF",discount:"pc2023-greeting-pine--discount--e-_4aY-"}},function(e,t,r){var n=r(139)();e.exports=n;try{regeneratorRuntime=n}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=n:Function("r","regeneratorRuntime = r")(n)}},function(e,t,r){e.exports={"image-wrap":"rc-modules--image-wrap--54AJPgs",normal:"rc-modules--normal--3eO2vr9",image:"rc-modules--image--juUYhtJ",square:"rc-modules--square--1vk3B7N",width:"rc-modules--width--2vrT05f",height:"rc-modules--height--37xFEus",stars:"rc-modules--stars--o9mzAea",text:"rc-modules--text--3kpyr_j","selling-points":"rc-modules--selling-points--24Fyaud",img:"rc-modules--img--V3ede7s",discount:"rc-modules--discount--3epNNzM",services:"rc-modules--services--HAPwNRY",rtl:"rc-modules--rtl--23FsfPV",join:"rc-modules--join--1dOVeAE"}},function(e,t,r){"use strict";var n=r(71),o="object"==typeof self&&self&&self.Object===Object&&self,i=n.a||o||Function("return this")();t.a=i},function(e,t,r){e.exports={wrap:"es--wrap--1CJdhmA",char:"es--char--1Z3wUdt",char43:"es--char43--a-soeDd",char53:"es--char53--1WUyNUd",space2:"es--space2--2vD35mT"}},function(e,t,r){e.exports={"vb-main":"vertical-big-card--vb-main--1taSwvM","title-part":"vertical-big-card--title-part--1wCqSwm","line-1-title":"vertical-big-card--line-1-title--l8NACY_","img-title":"vertical-big-card--img-title--3OeZQ3_",title:"vertical-big-card--title--T1lBfmz","sub-title":"vertical-big-card--sub-title--2eNnF-2","line-2-title":"vertical-big-card--line-2-title--2hFjTca","choice-icon":"vertical-big-card--choice-icon--2qvGEiP","sec-title":"vertical-big-card--sec-title--2QhS1b_","col-shop-part":"vertical-big-card--col-shop-part--14JCV0e","left-shop":"vertical-big-card--left-shop--1gsG0Fp","col-price-part":"vertical-big-card--col-price-part--2EZXm6Z","right-shop":"vertical-big-card--right-shop--2d3KtpQ","vb-card":"vertical-big-card--vb-card--2aC0txc","row-shop-part":"vertical-big-card--row-shop-part--BJR2Yhh","top-part":"vertical-big-card--top-part--37wdA_7","top-price-part":"vertical-big-card--top-price-part--3aj7CJR","bottom-part":"vertical-big-card--bottom-part--gZz6_Fm"}},function(e,t,r){var n=r(128);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function r(e){return e&&e.__esModule?e:{default:e}}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function r(e,t,r,n,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void r(e)}c.done?t(l):Promise.resolve(l).then(n,o)}function n(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function c(e){r(a,o,i,c,l,"next",e)}function l(e){r(a,o,i,c,l,"throw",e)}c(void 0)}))}}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){var n=r(98);function o(e,t,r){return(t=n(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){var n=r(36);function o(e,t){if(null==e)return{};var r=n(e,t),o,i;if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){e.exports={"category-new-main":"pc2023-category-new--category-new-main--3_ybH1k",title:"pc2023-category-new--title--1GsulwZ","category-part":"pc2023-category-new--category-part--2QUY5Hl",item:"pc2023-category-new--item--1wh80l3","item-title":"pc2023-category-new--item-title--2PRbJou",loopBtn:"pc2023-category-new--loopBtn--2tn3pYs",loopBtnIcon:"pc2023-category-new--loopBtnIcon--1pxa5Gh","left-item":"pc2023-category-new--left-item--2IvtqT3","right-item":"pc2023-category-new--right-item--1t-lmQj","lucency-main":"pc2023-category-new--lucency-main--2iBZ60M","lucency-right-main":"pc2023-category-new--lucency-right-main--1ElRlH3"}},function(e,t,r){e.exports={root:"first-screen-card--root--iVX2g4D",fallback:"first-screen-card--fallback--2_hbH0M","single-line-text":"first-screen-card--single-line-text--233_8qz","title-wrap":"first-screen-card--title-wrap--30HPP6d","title-text":"first-screen-card--title-text--2cVKmL8","title-image":"first-screen-card--title-image--Ubarzat","sub-title-wrap":"first-screen-card--sub-title-wrap--3uNOoH0","choice-image":"first-screen-card--choice-image--2Yr7e1C","sub-title-text":"first-screen-card--sub-title-text--2RSCszm","sub-title-image":"first-screen-card--sub-title-image--2vL6L5p",content:"first-screen-card--content--79kV4LT",rtl:"first-screen-card--rtl--2uBmkjR"}},function(e,t,r){"use strict";var n=r(17),o=r.n(n),i=r(18),a=r.n(i),c=r(0),l=r.n(c),u="\n.comet-icon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.comet-icon * {\n line-height: 1;\n}\n\n.comet-icon svg {\n display: inline-block;\n}\n\n.comet-icon::before {\n display: none;\n}\n\n.comet-icon-loading,\n.comet-icon-loadingfill {\n -webkit-animation: cometLoading 2.5s infinite linear;\n animation: cometLoading 2.5s infinite linear;\n}\n\n@-webkit-keyframes cometLoading {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes cometLoading {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";function s(e){if(!document.querySelector("#comet-icon")){var t=document.querySelector("head"),r=document.createElement("style");r.setAttribute("type","text/css"),r.id="comet-icon",null==t||t.appendChild(r),r.textContent+=e}}var f=!1,d=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u;c.useEffect((function(){f||(s(t),f=!0)}),[])},p=["className","style","fontSize","children"];function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function v(e){for(var t=1;t=0||(r[o]=e[o]);return r}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){"use strict";r.d(t,"a",(function(){return l})),r.d(t,"c",(function(){return m})),r.d(t,"b",(function(){return v})),r.d(t,"d",(function(){return y}));var n=r(0),o=r.n(n),i=r(31),a=r(69),c=r(50),l=function e(t){return function(e){return i.d?o.a.createElement(o.a.Fragment,null):o.a.createElement(n.Suspense,{fallback:o.a.createElement(o.a.Fragment,null)},o.a.createElement(c.a,null,o.a.createElement(t,e)))}},u=Object(a.a)({resolved:{},chunkName:function e(){return"alife-zoro-count-down"},isReady:function e(t){var n=this.resolve(t);return!0===this.resolved[n]&&!!r.m[n]},importAsync:function e(){return Promise.all([r.e(2),r.e(4)]).then(r.t.bind(null,130,7))},requireAsync:function e(t){var r=this,n=this.resolve(t);return this.resolved[n]=!1,this.importAsync(t).then((function(e){return r.resolved[n]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 130}}),s=Object(a.a)({resolved:{},chunkName:function e(){return"alife-zoro-count-down-lib-simple"},isReady:function e(t){var n=this.resolve(t);return!0===this.resolved[n]&&!!r.m[n]},importAsync:function e(){return Promise.all([r.e(2),r.e(5)]).then(r.t.bind(null,131,7))},requireAsync:function e(t){var r=this,n=this.resolve(t);return this.resolved[n]=!1,this.importAsync(t).then((function(e){return r.resolved[n]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 131}}),f=Object(a.a)({resolved:{},chunkName:function e(){return"popover"},isReady:function e(t){var n=this.resolve(t);return!0===this.resolved[n]&&!!r.m[n]},importAsync:function e(){return Promise.all([r.e(0),r.e(1),r.e(8)]).then(r.bind(null,133))},requireAsync:function e(t){var r=this,n=this.resolve(t);return this.resolved[n]=!1,this.importAsync(t).then((function(e){return r.resolved[n]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 133}}),d=Object(a.a)({resolved:{},chunkName:function e(){return"alife-nano-batman-lib-thirdparty-lib-components-sns-entry"},isReady:function e(t){var n=this.resolve(t);return!0===this.resolved[n]&&!!r.m[n]},importAsync:function e(){return Promise.all([r.e(0),r.e(7)]).then(r.t.bind(null,132,7))},requireAsync:function e(t){var r=this,n=this.resolve(t);return this.resolved[n]=!1,this.importAsync(t).then((function(e){return r.resolved[n]=!0,e}))},requireSync:function e(t){var n=this.resolve(t);return r(n)},resolve:function e(){return 132}}),p=l(u),m=l(s),v=l(f),y=l(d)},function(e,t,r){"use strict";(function(e){var n=r(71),o="object"==typeof exports&&exports&&!exports.nodeType&&exports,i=o&&"object"==typeof e&&e&&!e.nodeType&&e,a,c=i&&i.exports===o&&n.a.process,l=function(){try{var e=i&&i.require&&i.require("util").types;return e||c&&c.binding&&c.binding("util")}catch(e){}}();t.a=l}).call(this,r(83)(e))},function(e,t,r){e.exports={"product-fix-sns":"fix-bar--product-fix-sns--2QBvZ9O","product-fix-wrap":"fix-bar--product-fix-wrap--KBcnwGk","product-fix-rtl-wrap":"fix-bar--product-fix-rtl-wrap--2zwLalV","sns-shares":"fix-bar--sns-shares--pfcx6O5","ui-fixed-panel-unit":"fix-bar--ui-fixed-panel-unit--pbNRFt_","prompt-num":"fix-bar--prompt-num--qhtz2bO"}},function(e,t,r){e.exports={container:"pc2023-home-banner--container--2-37Jg0",img:"pc2023-home-banner--img--2LcFczT",text:"pc2023-home-banner--text--1thuTLJ",firstTip:"pc2023-home-banner--firstTip--1ve0Cv1",secondTip:"pc2023-home-banner--secondTip--2MVKjVs",secondTipItem:"pc2023-home-banner--secondTipItem--2-TJAQq",bannerSecondTipArrowWrapper:"pc2023-home-banner--bannerSecondTipArrowWrapper--34pTBkU",countDown:"pc2023-home-banner--countDown--3jaNbyL"}},function(e,t,r){e.exports={"vs-main":"vertical-small-card--vs-main--2U8DUK0","slider-part":"vertical-small-card--slider-part--Ntifd1L","title-part":"vertical-small-card--title-part--1JOEl6e",title:"vertical-small-card--title--1ot37nb","sub-title":"vertical-small-card--sub-title--elFRbY6","new-card":"vertical-small-card--new-card--3eO8FSn","flag-none":"vertical-small-card--flag-none--3Cqbj0c"}},function(e,t,r){e.exports={"big-new-block":"pc2023-structure-4-new--big-new-block--l2AKNCB","small-new-block":"pc2023-structure-4-new--small-new-block--1jLtbrK","min-new-block":"pc2023-structure-4-new--min-new-block--13qMGMd",left:"pc2023-structure-4-new--left--1XNTXbe","login-part":"pc2023-structure-4-new--login-part--2bd8djf",login:"pc2023-structure-4-new--login--3U_aTL-","left-bottom":"pc2023-structure-4-new--left-bottom--2YcwGIy","main-mid":"pc2023-structure-4-new--main-mid--3ABqCCY","main-right":"pc2023-structure-4-new--main-right--hVeuj6F","right-top":"pc2023-structure-4-new--right-top--2e4xSYV","right-bottom":"pc2023-structure-4-new--right-bottom--n7xI_9V"}},function(e,t,r){e.exports={root:"more-to-love--root--1w6POii",title:"more-to-love--title--3gRpeAM",action:"more-to-love--action--2gSTocC","quick-view":"more-to-love--quick-view--q9_Xem7","show-more":"more-to-love--show-more--eN-9bKW"}},function(e,t,r){e.exports={"category-old-main":"pc2023-category-old--category-old-main--1VIkEpV",title:"pc2023-category-old--title--N6N3BfE","category-old-part":"pc2023-category-old--category-old-part--GAkY4zh",item:"pc2023-category-old--item--3nAAOSf","item-title":"pc2023-category-old--item-title--3adZuja",loopBtn:"pc2023-category-old--loopBtn--1mBXV4i",loopBtnIcon:"pc2023-category-old--loopBtnIcon--3g304qO"}},function(e,t,r){e.exports={container:"pc2023-home-big-sale-discount--container--15ja1AM",saleTip:"pc2023-home-big-sale-discount--saleTip--3AkAsf-",text:"pc2023-home-big-sale-discount--text--hZkfgZX",countDown:"pc2023-home-big-sale-discount--countDown--3Zdbl13",line1:"pc2023-home-big-sale-discount--line1--3tx5B8f",line2:"pc2023-home-big-sale-discount--line2--M_bODdO",line3:"pc2023-home-big-sale-discount--line3--2Gzd6oZ"}},function(e,t,r){e.exports={"site-main":"pc2023-site-info-v2--site-main--3nt6cR1",link:"pc2023-site-info-v2--link--3-eGgWU","site-image":"pc2023-site-info-v2--site-image--2j-lOB7","site-part":"pc2023-site-info-v2--site-part--29-0bOY","site-item":"pc2023-site-info-v2--site-item--2QQciFt","site-icon":"pc2023-site-info-v2--site-icon--HXKpUXj","site-text":"pc2023-site-info-v2--site-text--Y7FdX6Y","site-more":"pc2023-site-info-v2--site-more--2fpxzqG"}},function(e,t,r){e.exports={wrap:"pc2023-discover-more--wrap--1ipGIOj",box:"pc2023-discover-more--box--1olb_DG",content:"pc2023-discover-more--content--3TPIbus",keyword:"pc2023-discover-more--keyword--3GCp-DZ",open:"pc2023-discover-more--open--23Xz9mQ",close:"pc2023-discover-more--close--r_Sls-N"}},function(e,t,r){e.exports={"water-fall":"water-fall--water-fall--1mDxCdm",column:"water-fall--column--3h7IQUW",ele:"water-fall--ele--17TIGw2","same-height":"water-fall--same-height--3qZeF-a"}},function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,o=function e(t){var r=t.context,n=t.dataProxy,o=t.render;this.context=r,this.dataProxy=n,this.render=o};t.default=o},function(e,t,r){"use strict";r.d(t,"a",(function(){return O})),r.d(t,"b",(function(){return E}));var n=r(0),o=r.n(n),i=r(3),a=r.n(i);function c(e){return(c="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 l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var r=0;r0?1:0):0},E=function e(t){return t.centerMode?Math.floor((t.slidesToShow-1)/2)+1+(parseInt(t.centerPadding)>0?1:0):t.slidesToShow},j=function e(t){return t&&t.offsetWidth||0},_=function e(t){return t&&t.offsetHeight||0},x=function e(t,r){var n,o,i,a;return void 0===r&&(r=!1),n=t.startX-t.curX,o=t.startY-t.curY,i=Math.atan2(o,n),(a=Math.round(180*i/Math.PI))<0&&(a=360-Math.abs(a)),a<=45&&a>=0||a<=360&&a>=315?"left":a>=135&&a<=225?"right":!0===r?a>=35&&a<=135?"up":"down":"vertical"},k=function e(t){var r=!0;return t.infinite||(t.centerMode&&t.currentSlide>=t.slideCount-1||t.slideCount<=t.slidesToShow||t.currentSlide>=t.slideCount-t.slidesToShow)&&(r=!1),r},P=function e(t,r){var n={};return r.forEach((function(e){return n[e]=t[e]})),n},C=function e(t){var r=l.a.Children.count(t.children),n=t.listRef,i=Math.ceil(j(n)),a=t.trackRef&&t.trackRef.node,c=Math.ceil(j(a)),u;if(t.vertical)u=i;else{var s=t.centerMode&&2*parseInt(t.centerPadding);"string"==typeof t.centerPadding&&"%"===t.centerPadding.slice(-1)&&(s*=i/100),u=Math.ceil((i-s)/t.slidesToShow)}var f=n&&_(n.querySelector('[data-index="0"]')),d=f*t.slidesToShow,p=void 0===t.currentSlide?t.initialSlide:t.currentSlide;t.rtl&&void 0===t.currentSlide&&(p=r-1-t.initialSlide);var m=t.lazyLoadedList||[],v=g(o()({},t,{currentSlide:p,lazyLoadedList:m}));m.concat(v);var y={slideCount:r,slideWidth:u,listWidth:i,trackWidth:c,currentSlide:p,slideHeight:f,listHeight:d,lazyLoadedList:m};return null===t.autoplaying&&t.autoplay&&(y.autoplaying="playing"),y},N=function e(t){var r=t.waitForAnimate,n=t.animating,i=t.fade,a=t.infinite,c=t.index,l=t.slideCount,u=t.lazyLoadedList,s=t.lazyLoad,f=t.currentSlide,d=t.centerMode,p=t.slidesToScroll,m=t.slidesToShow,v=t.useCSS;if(r&&n)return{};var y=c,b,w,S,O={},E={},j=a?c:h(c,0,l-1);if(i){if(!a&&(c<0||c>=l))return{};c<0?y=c+l:c>=l&&(y=c-l),s&&u.indexOf(y)<0&&u.push(y),O={animating:!0,currentSlide:y,lazyLoadedList:u,targetSlide:y},E={animating:!1,targetSlide:y}}else b=y,y<0?(b=y+l,a?l%p!=0&&(b=l-l%p):b=0):!k(t)&&y>f?y=b=f:d&&y>=l?(y=a?l:l-1,b=a?0:l-1):y>=l&&(b=y-l,a?l%p!=0&&(b=0):b=l-m),!a&&y+m>=l&&(b=l-m),w=W(o()({},t,{slideIndex:y})),S=W(o()({},t,{slideIndex:b})),a||(w===S&&(y=b),w=S),s&&u.concat(g(o()({},t,{currentSlide:y}))),v?(O={animating:!0,currentSlide:b,trackStyle:U(o()({},t,{left:w})),lazyLoadedList:u,targetSlide:j},E={animating:!1,currentSlide:b,trackStyle:B(o()({},t,{left:S})),swipeLeft:null,targetSlide:j}):O={currentSlide:b,trackStyle:B(o()({},t,{left:S})),lazyLoadedList:u,targetSlide:j};return{state:O,nextState:E}},I=function e(t,r){var n,i,a,c,l,u=t.slidesToScroll,s=t.slidesToShow,f=t.slideCount,d=t.currentSlide,p=t.targetSlide,m=t.lazyLoad,v=t.infinite;if(n=(c=f%u!=0)?0:(f-d)%u,"previous"===r.message)l=d-(a=0===n?u:s-n),m&&!v&&(l=-1===(i=d-a)?f-1:i),v||(l=p-u);else if("next"===r.message)l=d+(a=0===n?u:n),m&&!v&&(l=(d+u)%f+n),v||(l=p+u);else if("dots"===r.message)l=r.index*r.slidesToScroll;else if("children"===r.message){if(l=r.index,v){var y=G(o()({},t,{targetSlide:l}));l>r.currentSlide&&"left"===y?l-=f:l10)return{scrolling:!0};l&&(w.swipeLength=I);var T=(u?-1:1)*(w.curX>w.startX?1:-1);l&&(T=w.curY>w.startY?1:-1);var L=Math.ceil(h/g),D=x(r.touchObject,l);j&&null!=_&&_.includes(D)?document.addEventListener("touchmove",y,{passive:!1}):document.removeEventListener("touchmove",y);var A=w.swipeLength;return b||(0===s&&"right"===D||s+1>=L&&"left"===D||!k(r)&&"left"===D)&&(A=w.swipeLength*f,!1===d&&p&&(p(D),C.edgeDragged=!0)),!m&&S&&(S(D),C.swiped=!0),P=a?N+A*(O/E)*T:u?N-A*T:N+A*T,l&&(P=N+A*T),C=o()({},C,{touchObject:w,swipeLeft:P,trackStyle:B(o()({},r,{left:P}))}),Math.abs(w.curX-w.startX)<.8*Math.abs(w.curY-w.startY)?C:(w.swipeLength>10&&(C.swiping=!0,t.preventDefault()),C)}},A=function e(t,r){var n=r.dragging,i=r.swipe,a=r.touchObject,c=r.listWidth,l=r.touchThreshold,u=r.verticalSwiping,s=r.listHeight,f=r.swipeToSlide,d=r.scrolling,p=r.onSwipe,m=r.targetSlide,v=r.currentSlide,h=r.infinite;if(!n)return i&&t.preventDefault(),{};var g=u?s/l:c/l,b=x(a,u);document.removeEventListener("touchmove",y);var w={dragging:!1,edgeDragged:!1,scrolling:!1,swiping:!1,swiped:!1,swipeLeft:null,touchObject:{}};if(d)return w;if(!a.swipeLength)return w;if(a.swipeLength>g){var S,O;t.preventDefault(),p&&p(b);var E=h?v:m;switch(b){case"left":case"up":O=E+z(r),S=f?R(r,O):O,w.currentDirection=0;break;case"right":case"down":O=E-z(r),S=f?R(r,O):O,w.currentDirection=1;break;default:S=E}w.triggerSlideHandler=S}else{var j=W(r);w.trackStyle=U(o()({},r,{left:j}))}return w},M=function e(t){for(var r=t.infinite?2*t.slideCount:t.slideCount,n=t.infinite?-1*t.slidesToShow:0,o=t.infinite?-1*t.slidesToShow:0,i=[];nn[n.length-1])r=n[n.length-1];else for(var i in n){if(r-1*t.swipeLeft)return n=e,!1}else if(e.offsetLeft-r+j(e)/2>-1*t.swipeLeft)return n=e,!1;return!0})),!n)return 0;var a=!0===t.rtl?t.slideCount-t.currentSlide:t.currentSlide,c;return Math.abs(n.dataset.index-a)||1}return t.slidesToScroll},F=function e(t,r){return r.reduce((function(e,r){return e&&t.hasOwnProperty(r)}),!0)?null:console.error("Keys Missing:",t)},B=function e(t){var r,n;F(t,["left","variableWidth","slideCount","slidesToShow","slideWidth"]);var i=t.slideCount+2*t.slidesToShow;t.vertical?n=i*t.slideHeight:r=V(t)*t.slideWidth;var a={opacity:1,transition:"",WebkitTransition:""};if(t.useTransform){var c=t.vertical?"translate3d(0px, "+t.left+"px, 0px)":"translate3d("+t.left+"px, 0px, 0px)",l=t.vertical?"translate3d(0px, "+t.left+"px, 0px)":"translate3d("+t.left+"px, 0px, 0px)",u=t.vertical?"translateY("+t.left+"px)":"translateX("+t.left+"px)";a=o()({},a,{WebkitTransform:c,transform:l,msTransform:u})}else t.vertical?a.top=t.left:a.left=t.left;return t.fade&&(a={opacity:1}),r&&(a.width=r),n&&(a.height=n),window&&!window.addEventListener&&window.attachEvent&&(t.vertical?a.marginTop=t.left+"px":a.marginLeft=t.left+"px"),a},U=function e(t){F(t,["left","variableWidth","slideCount","slidesToShow","slideWidth","speed","cssEase"]);var r=B(t);return t.useTransform?(r.WebkitTransition="-webkit-transform "+t.speed+"ms "+t.cssEase,r.transition="transform "+t.speed+"ms "+t.cssEase):t.vertical?r.transition="top "+t.speed+"ms "+t.cssEase:r.transition="left "+t.speed+"ms "+t.cssEase,r},W=function e(t){if(t.unslick)return 0;F(t,["slideIndex","trackRef","infinite","centerMode","slideCount","slidesToShow","slidesToScroll","slideWidth","listWidth","variableWidth","slideHeight"]);var r=t.slideIndex,n=t.trackRef,o=t.infinite,i=t.centerMode,a=t.slideCount,c=t.slidesToShow,l=t.slidesToScroll,u=t.slideWidth,s=t.listWidth,f=t.variableWidth,d=t.slideHeight,p=t.fade,m=t.vertical,v=0,y,h,g=0;if(p||1===t.slideCount)return 0;var b=0;if(o?(b=-H(t),a%l!=0&&r+l>a&&(b=-(r>a?c-(r-a):a%l)),i&&(b+=parseInt(c/2))):(a%l!=0&&r+l>a&&(b=c-a%l),i&&(b=parseInt(c/2))),y=m?r*d*-1+(g=b*d):r*u*-1+(v=b*u),!0===f){var w,S=n&&n.node;if(w=r+H(t),y=(h=S&&S.childNodes[w])?-1*h.offsetLeft:0,!0===i){w=o?r+H(t):r,h=S&&S.children[w],y=0;for(var O=0;Ot.currentSlide?t.targetSlide>t.currentSlide+Y(t)?"left":"right":t.targetSlide0&&(a+=1),o&&r%2==0&&(a+=1),a}return o?0:r-1},$=function e(t){var r=t.slidesToShow,n=t.centerMode,o=t.rtl,i=t.centerPadding;if(n){var a=(r-1)/2+1;return parseInt(i)>0&&(a+=1),o||r%2!=0||(a+=1),a}return o?r-1:0},K=function e(){return!("undefined"==typeof window||!window.document||!window.document.createElement)},X=function e(t){var r,n,o,i,a,c,l;return o=(a=t.rtl?t.slideCount-1-t.index:t.index)<0||a>=t.slideCount,t.centerMode?(i=Math.floor(t.slidesToShow/2),n=(a-t.currentSlide)%t.slideCount==0,a>t.currentSlide-i-1&&a<=t.currentSlide+i&&(r=!0)):r=t.currentSlide<=a&&a=t.slideCount?t.targetSlide-t.slideCount:t.targetSlide)}},J=function e(t){var r={};return void 0!==t.variableWidth&&!1!==t.variableWidth||(r.width=t.slideWidth),t.fade&&(r.position="relative",t.vertical?r.top=-t.index*parseInt(t.slideHeight):r.left=-t.index*parseInt(t.slideWidth),r.opacity=t.currentSlide===t.index?1:0,t.useCSS&&(r.transition="opacity "+t.speed+"ms "+t.cssEase+", visibility "+t.speed+"ms "+t.cssEase)),r},Z=function e(t,r){return t.key||r},Q=function e(t){var r,n=[],i=[],a=[],c=l.a.Children.count(t.children),u=w(t),s=S(t);return l.a.Children.forEach(t.children,(function(e,f){var d,p={message:"children",index:f,slidesToScroll:t.slidesToScroll,currentSlide:t.currentSlide};d=!t.lazyLoad||t.lazyLoad&&t.lazyLoadedList.indexOf(f)>=0?e:l.a.createElement("div",null);var m=J(o()({},t,{index:f})),y=d.props.className||"",h=X(o()({},t,{index:f}));if(n.push(l.a.cloneElement(d,{key:"original"+Z(d,f),"data-index":f,className:v()(h,y),tabIndex:"-1","aria-hidden":!h["slick-active"],style:o()({outline:"none"},d.props.style||{},m),onClick:function e(r){d.props&&d.props.onClick&&d.props.onClick(r),t.focusOnSelect&&t.focusOnSelect(p)}})),t.infinite&&!1===t.fade){var g=c-f;g<=H(t)&&c>t.slidesToShow&&((r=-g)>=u&&(d=e),h=X(o()({},t,{index:r})),i.push(l.a.cloneElement(d,{key:"precloned"+Z(d,r),"data-index":r,tabIndex:"-1",className:v()(h,y),"aria-hidden":!h["slick-active"],style:o()({},d.props.style||{},m),onClick:function e(r){d.props&&d.props.onClick&&d.props.onClick(r),t.focusOnSelect&&t.focusOnSelect(p)}}))),c>t.slidesToShow&&((r=c+f)=S&&f<=b:f===S}),E={message:"dots",index:y,slidesToScroll:c,currentSlide:f},j=this.clickHandler.bind(this,E);m=m.concat(l.a.createElement("li",{key:y,className:O},l.a.cloneElement(this.props.customPaging(y),{onClick:j})))}return l.a.cloneElement(this.props.appendDots(m),o()({className:this.props.dotsClass},p))},t}(l.a.PureComponent),ne=function(e){function t(){return e.apply(this,arguments)||this}a()(t,e);var r=t.prototype;return r.clickHandler=function e(t,r){r&&r.preventDefault(),this.props.clickHandler(t,r)},r.render=function e(){var t={"slick-arrow":!0,"slick-prev":!0,"slick-prev-default":!this.props.prevArrow},r=this.clickHandler.bind(this,{message:"previous"});!this.props.infinite&&(0===this.props.currentSlide||this.props.slideCount<=this.props.slidesToShow)&&(t["slick-disabled"]=!0,r=null),"outer"===this.props.arrowPosition&&(t["slick-outer"]=!0);var n={key:"0","data-role":"none",className:v()(t),style:{display:"block"},onClick:r},i={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},a;return a=this.props.prevArrow?l.a.cloneElement(this.props.prevArrow,o()({},n,i)):l.a.createElement("button",o()({key:"0",type:"button"},n)," ","Previous")},t}(l.a.PureComponent),oe=function(e){function t(){return e.apply(this,arguments)||this}a()(t,e);var r=t.prototype;return r.clickHandler=function e(t,r){r&&r.preventDefault(),this.props.clickHandler(t,r)},r.render=function e(){var t={"slick-arrow":!0,"slick-next":!0,"slick-next-default":!this.props.nextArrow},r=this.clickHandler.bind(this,{message:"next"});k(this.props)||(t["slick-disabled"]=!0,r=null),"outer"===this.props.arrowPosition&&(t["slick-outer"]=!0);var n={key:"1","data-role":"none",className:v()(t),style:{display:"block"},onClick:r},i={currentSlide:this.props.currentSlide,slideCount:this.props.slideCount},a;return a=this.props.nextArrow?l.a.cloneElement(this.props.nextArrow,o()({},n,i)):l.a.createElement("button",o()({key:"1",type:"button"},n)," ","Next")},t}(l.a.PureComponent);function ie(e){return(ie="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)}var ae=["animating"],ce=function(e){function t(t){var r;(r=e.call(this,t)||this).listRefHandler=function(e){return r.list=e},r.trackRefHandler=function(e){return r.track=e},r.adaptHeight=function(){if(r.props.adaptiveHeight&&r.list){var e=r.list.querySelector('[data-index="'+r.state.currentSlide+'"]');r.list.style.height=_(e)+"px"}},r.componentDidMount=function(){if(r.props.onInit&&r.props.onInit(),r.props.lazyLoad){var e=g(o()({},r.props,r.state));e.length>0&&(r.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),r.props.onLazyLoad&&r.props.onLazyLoad(e))}var t=o()({listRef:r.list,trackRef:r.track},r.props);r.updateState(t,!0,(function(){r.adaptHeight(),r.props.autoplay&&r.autoPlay("update")})),"progressive"===r.props.lazyLoad&&(r.lazyLoadTimer=setInterval(r.progressiveLazyLoad,1e3)),window.ResizeObserver&&(r.ro=new ResizeObserver((function(){r.state.animating?(r.onWindowResized(!1),r.callbackTimers.push(setTimeout((function(){return r.onWindowResized()}),r.props.speed))):r.onWindowResized()})),r.ro.observe(r.list)),Array.prototype.forEach.call(document.querySelectorAll(".slick-slide"),(function(e){e.onfocus=r.props.pauseOnFocus?r.onSlideFocus:null,e.onblur=r.props.pauseOnFocus?r.onSlideBlur:null})),window.addEventListener?window.addEventListener("resize",r.onWindowResized):window.attachEvent("onresize",r.onWindowResized)},r.componentWillUnmount=function(){r.animationEndCallback&&clearTimeout(r.animationEndCallback),r.lazyLoadTimer&&clearInterval(r.lazyLoadTimer),r.callbackTimers.length&&(r.callbackTimers.forEach((function(e){return clearTimeout(e)})),r.callbackTimers=[]),window.addEventListener?window.removeEventListener("resize",r.onWindowResized):window.detachEvent("onresize",r.onWindowResized),r.autoplayTimer&&clearInterval(r.autoplayTimer),r.ro&&r.ro.disconnect()},r.componentDidUpdate=function(e){if(r.checkImagesLoad(),r.props.onReInit&&r.props.onReInit(),r.props.lazyLoad){var t=g(o()({},r.props,r.state));t.length>0&&(r.setState((function(e){return{lazyLoadedList:e.lazyLoadedList.concat(t)}})),r.props.onLazyLoad&&r.props.onLazyLoad(t))}r.adaptHeight();var n=o()({listRef:r.list,trackRef:r.track},r.props,r.state),i=r.didPropsChange(e);i&&r.updateState(n,i,(function(){r.state.currentSlide>=l.a.Children.count(r.props.children)&&r.changeSlide({message:"index",index:l.a.Children.count(r.props.children)-r.props.slidesToShow,currentSlide:r.state.currentSlide}),r.props.autoplay?r.autoPlay("update"):r.pause("paused")}))},r.onWindowResized=function(e){r.debouncedResize&&r.debouncedResize.cancel(),r.debouncedResize=p((function(){return r.resizeWindow(e)}),50),r.debouncedResize()},r.resizeWindow=function(e){var t;if(void 0===e&&(e=!0),Boolean(r.track&&r.track.node)){var n=o()({listRef:r.list,trackRef:r.track},r.props,r.state);r.updateState(n,e,(function(){r.props.autoplay?r.autoPlay("update"):r.pause("paused")})),r.setState({animating:!1}),clearTimeout(r.animationEndCallback),delete r.animationEndCallback}},r.updateState=function(e,t,n){var i=C(e);e=o()({},e,i,{slideIndex:i.currentSlide});var a=W(e);e=o()({},e,{left:a});var c=B(e);(t||l.a.Children.count(r.props.children)!==l.a.Children.count(e.children))&&(i.trackStyle=c),r.setState(i,n)},r.ssrInit=function(){if(r.props.variableWidth){var e=0,t=0,n=[],i=H(o()({},r.props,r.state,{slideCount:r.props.children.length})),a=q(o()({},r.props,r.state,{slideCount:r.props.children.length}));r.props.children.forEach((function(t){n.push(t.props.style.width),e+=t.props.style.width}));for(var c=0;c=t&&r.onWindowResized()};if(e.onclick){var i=e.onclick;e.onclick=function(){i(),e.parentNode.focus()}}else e.onclick=function(){return e.parentNode.focus()};e.onload||(r.props.lazyLoad?e.onload=function(){r.adaptHeight(),r.callbackTimers.push(setTimeout(r.onWindowResized,r.props.speed))}:(e.onload=o,e.onerror=function(){o(),r.props.onLazyLoadError&&r.props.onLazyLoadError()}))}))},r.progressiveLazyLoad=function(){for(var e=[],t=o()({},r.props,r.state),n=r.state.currentSlide;n=-H(t);i--)if(r.state.lazyLoadedList.indexOf(i)<0){e.push(i);break}e.length>0?(r.setState((function(t){return{lazyLoadedList:t.lazyLoadedList.concat(e)}})),r.props.onLazyLoad&&r.props.onLazyLoad(e)):r.lazyLoadTimer&&(clearInterval(r.lazyLoadTimer),delete r.lazyLoadTimer)},r.slideHandler=function(e,t){void 0===t&&(t=!1);var n=r.props,i=n.asNavFor,a=n.beforeChange,c=n.onLazyLoad,l=n.speed,u=n.onChange,f=r.state.currentSlide,d=N(o()({index:e},r.props,r.state,{trackRef:r.track,useCSS:r.props.useCSS&&!t})),p=d.state,m=d.nextState;if(p){a&&a(f,p.currentSlide);var v=p.lazyLoadedList.filter((function(e){return r.state.lazyLoadedList.indexOf(e)<0}));c&&v.length>0&&c(v),!r.props.waitForAnimate&&r.animationEndCallback&&(clearTimeout(r.animationEndCallback),u&&u(f),delete r.animationEndCallback),r.setState(p,(function(){i&&r.asNavForIndex!==e&&(r.asNavForIndex=e,i.innerSlider.slideHandler(e)),m&&(r.animationEndCallback=setTimeout((function(){var e=m.animating,t=s()(m,ae);r.setState(t,(function(){r.callbackTimers.push(setTimeout((function(){return r.setState({animating:e})}),10)),u&&u(p.currentSlide),delete r.animationEndCallback}))}),l))}))}},r.changeSlide=function(e,t){void 0===t&&(t=!1);var n=o()({},r.props,r.state),i=I(n,e);if((0===i||i)&&(!0===t?r.slideHandler(i,t):r.slideHandler(i),r.props.autoplay&&r.autoPlay("update"),r.props.focusOnSelect)){var a=r.list.querySelectorAll(".slick-current");a[0]&&a[0].focus()}},r.clickHandler=function(e){!1===r.clickable&&(e.stopPropagation(),e.preventDefault()),r.clickable=!0},r.keyHandler=function(e){var t=T(e,r.props.accessibility,r.props.rtl);""!==t&&r.changeSlide({message:t})},r.selectHandler=function(e){r.changeSlide(e)},r.disableBodyScroll=function(){var e=function e(t){(t=t||window.event).preventDefault&&t.preventDefault(),t.returnValue=!1};window.ontouchmove=e},r.enableBodyScroll=function(){window.ontouchmove=null},r.swipeStart=function(e){r.props.verticalSwiping&&r.disableBodyScroll();var t=L(e,r.props.swipe,r.props.draggable);""!==t&&r.setState(t)},r.swipeMove=function(e){var t=D(e,o()({},r.props,r.state,{trackRef:r.track,listRef:r.list,slideIndex:r.state.currentSlide}));t&&(t.swiping&&(r.clickable=!1),r.setState(t))},r.swipeEnd=function(e){var t=A(e,o()({},r.props,r.state,{trackRef:r.track,listRef:r.list,slideIndex:r.state.currentSlide}));if(t){var n=t.triggerSlideHandler;delete t.triggerSlideHandler,r.setState(t),void 0!==n&&(r.slideHandler(n),r.props.verticalSwiping&&r.enableBodyScroll())}},r.touchEnd=function(e){r.swipeEnd(e),r.clickable=!0},r.slickPrev=function(){r.callbackTimers.push(setTimeout((function(){return r.changeSlide({message:"previous"})}),0))},r.slickNext=function(){r.callbackTimers.push(setTimeout((function(){return r.changeSlide({message:"next"})}),0))},r.slickGoTo=function(e,t){if(void 0===t&&(t=!1),e=Number(e),isNaN(e))return"";r.callbackTimers.push(setTimeout((function(){return r.changeSlide({message:"index",index:e,currentSlide:r.state.currentSlide},t)}),0))},r.play=function(){var e;if(r.props.rtl)e=r.state.currentSlide-r.props.slidesToScroll;else{if(!k(o()({},r.props,r.state)))return!1;e=r.state.currentSlide+r.props.slidesToScroll}r.slideHandler(e)},r.autoPlay=function(e){r.autoplayTimer&&clearInterval(r.autoplayTimer);var t=r.state.autoplaying;if("update"===e){if("hovered"===t||"focused"===t||"paused"===t)return}else if("leave"===e){if("paused"===t||"focused"===t)return}else if("blur"===e&&("paused"===t||"hovered"===t))return;r.autoplayTimer=setInterval(r.play,r.props.autoplaySpeed+50),r.setState({autoplaying:"playing"})},r.pause=function(e){r.autoplayTimer&&(clearInterval(r.autoplayTimer),r.autoplayTimer=null);var t=r.state.autoplaying;"paused"===e?r.setState({autoplaying:"paused"}):"focused"===e?"hovered"!==t&&"playing"!==t||r.setState({autoplaying:"focused"}):"playing"===t&&r.setState({autoplaying:"hovered"})},r.onDotsOver=function(){return r.props.autoplay&&r.pause("hovered")},r.onDotsLeave=function(){return r.props.autoplay&&"hovered"===r.state.autoplaying&&r.autoPlay("leave")},r.onTrackOver=function(){return r.props.autoplay&&r.pause("hovered")},r.onTrackLeave=function(){return r.props.autoplay&&"hovered"===r.state.autoplaying&&r.autoPlay("leave")},r.onSlideFocus=function(){return r.props.autoplay&&r.pause("focused")},r.onSlideBlur=function(){return r.props.autoplay&&"focused"===r.state.autoplaying&&r.autoPlay("blur")},r.render=function(){var e=v()("slick-slider",r.props.className,{"slick-vertical":r.props.vertical,"slick-initialized":!0}),t=o()({},r.props,r.state),n=P(t,["fade","cssEase","speed","infinite","centerMode","focusOnSelect","currentSlide","lazyLoad","lazyLoadedList","rtl","slideWidth","slideHeight","listHeight","vertical","slidesToShow","slidesToScroll","slideCount","trackStyle","variableWidth","unslick","centerPadding","targetSlide","useCSS"]),i=r.props.pauseOnHover,a,c,u;if(n=o()({},n,{onMouseEnter:i?r.onTrackOver:null,onMouseLeave:i?r.onTrackLeave:null,onMouseOver:i?r.onTrackOver:null,focusOnSelect:r.props.focusOnSelect&&r.clickable?r.selectHandler:null}),!0===r.props.dots&&r.state.slideCount>=r.props.slidesToShow){var s=P(t,["dotsClass","slideCount","slidesToShow","currentSlide","slidesToScroll","clickHandler","children","customPaging","infinite","appendDots"]),f=r.props.pauseOnDotsHover;s=o()({},s,{clickHandler:r.changeSlide,onMouseEnter:f?r.onDotsLeave:null,onMouseOver:f?r.onDotsOver:null,onMouseLeave:f?r.onDotsLeave:null}),a=l.a.createElement(re,s)}var d=P(t,["infinite","centerMode","currentSlide","slideCount","slidesToShow","prevArrow","nextArrow","arrowPosition"]);d.clickHandler=r.changeSlide,r.props.arrows&&(c=l.a.createElement(ne,d),u=l.a.createElement(oe,d));var p=null;r.props.vertical&&(p={height:r.state.listHeight});var m=null;!1===r.props.vertical?!0===r.props.centerMode&&(m={padding:"0px "+r.props.centerPadding}):!0===r.props.centerMode&&(m={padding:r.props.centerPadding+" 0px"});var y=o()({},p,m),h=r.props.touchMove,g={className:"slick-list",style:y,onClick:r.clickHandler,onMouseDown:h?r.swipeStart:null,onMouseMove:r.state.dragging&&h?r.swipeMove:null,onMouseUp:h?r.swipeEnd:null,onMouseLeave:r.state.dragging&&h?r.swipeEnd:null,onTouchStart:h?r.swipeStart:null,onTouchMove:r.state.dragging&&h?r.swipeMove:null,onTouchEnd:h?r.touchEnd:null,onTouchCancel:r.state.dragging&&h?r.swipeEnd:null,onKeyDown:r.props.accessibility?r.keyHandler:null},b={className:e,dir:"ltr",style:r.props.style};return r.props.unslick&&(g={className:"slick-list"},b={className:e}),l.a.createElement("div",b,r.props.unslick?"":c,l.a.createElement("div",o()({ref:r.listRefHandler},g),l.a.createElement(ee,o()({ref:r.trackRefHandler},n),r.props.children)),r.props.unslick?"":u,r.props.unslick?"":a)},r.list=null,r.track=null,r.state=o()({},d,{currentSlide:r.props.initialSlide,slideCount:l.a.Children.count(r.props.children)}),r.callbackTimers=[],r.clickable=!0,r.debouncedResize=null;var n=r.ssrInit();return r.state=o()({},r.state,n),r}var r;return a()(t,e),t.prototype.didPropsChange=function e(t){for(var r=!1,n=0,o=Object.keys(this.props);n1||r.slidesPerRow>1)&&(console.warn("variableWidth is not supported in case of rows > 1 or slidesPerRow > 1"),r.variableWidth=!1);for(var a=[],c=null,u=0;u=i.length));p+=1)d.push(l.a.cloneElement(i[p],{key:100*u+10*f+p,tabIndex:-1,style:{width:100/r.slidesPerRow+"%",display:"inline-block"}}));s.push(l.a.createElement("div",{key:10*u+f},d))}r.variableWidth?a.push(l.a.createElement("div",{key:u,style:{width:c}},s)):a.push(l.a.createElement("div",{key:u},s))}if("unslick"===r){var m="regular slider "+(this.props.className||"");return l.a.createElement("div",{className:m},i)}return a.length<=r.slidesToShow&&(r.unslick=!0),l.a.createElement(ce,o()({style:this.props.style,ref:this.innerSliderRefHandler},r),a)},t}(l.a.Component),me=r(152),ve=r(153);r(146);var ye=t.a=pe},function(e,t,r){"use strict";r.d(t,"a",(function(){return a}));var n=r(2),o=r.n(n),i=r(73),a=function e(t,r){return Object(i.default)(t,o()({ssr:!1},r))};a.lib=function(e,t){return i.default.lib(e,o()({ssr:!1},t))}},function(e,t,r){"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t-1}))}))&&(m||(m=!0,e()))}t.push=function(){r.apply(void 0,arguments),n()},n()})).then(e)}var A=P;A.lib=I;var M=C;M.lib=T;var R=h,z=t.default=A},function(e,t,r){e.exports={"site-main":"pc2023-site-info--site-main--2AaBJF1",link:"pc2023-site-info--link--2B_IZhI","site-image":"pc2023-site-info--site-image--kWOv6EV"}},function(e,t,r){var n=r(147),o=function(e){var t;return/[height|width]$/.test(e)},i=function(e){var t="",r=Object.keys(e);return r.forEach((function(i,a){var c=e[i];i=n(i),o(i)&&"number"==typeof c&&(c+="px"),t+=!0===c?i:!1===c?"not "+i:"("+i+": "+c+")",a=0||(r[o]=e[o]);return r}r.d(t,"a",(function(){return n}))},function(e,t,r){"use strict";var n=r(2),o=r.n(n),i=r(16),a=r.n(i),c=r(9),l=r.n(c),u=r(3),s=r.n(u),f=function(){var e=a()(l.a.mark((function e(t){var n,i,a,c;return l.a.wrap((function e(l){for(;;)switch(l.prev=l.next){case 0:if(n=o()({timeout:1e4},t),!(a=u.Module.get("rcmd"))){l.next=15;break}return l.next=5,a;case 5:if(l.t1=c=l.sent,l.t0=null===l.t1,l.t0){l.next=9;break}l.t0=void 0===c;case 9:if(!l.t0){l.next=13;break}l.t2=void 0,l.next=14;break;case 13:l.t2=c.rcmd;case 14:i=l.t2;case 15:return i=i||r(143).default,l.abrupt("return",i(o()({},n)).catch((function(e){})));case 17:case"end":return l.stop()}}),e)})));return function t(r){return e.apply(this,arguments)}}();t.a=f},function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},function(e,t,r){"use strict";e.exports=r(138)},function(e,t,r){e.exports={text:"view-more--text--3S9_Bas",img:"view-more--img--e-F-0hl"}},function(e,t,r){e.exports={link:"base--link--1KYjtuZ",wrap:"base--wrap--1bIxrfy"}},function(e,t,r){e.exports={"grid-main":"pc2023-four-grid--grid-main--tWy85D_"}},function(e,t,r){e.exports={"grid-main":"af2023-four-grid--grid-main--3bTlsRa"}},function(e,t,r){e.exports=r(186)},function(e,t){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){var n=r(98);function o(e,t){for(var r=0;r0}});else{var e=function(e){for(var t=e,r=o(t);r;)r=o(t=r.ownerDocument);return t}(window.document),t=[],r=null,n=null;a.prototype.THROTTLE_TIMEOUT=100,a.prototype.POLL_INTERVAL=null,a.prototype.USE_MUTATION_OBSERVER=!0,a._setupCrossOriginUpdater=function(){return r||(r=function(e,r){n=e&&r?v(e,r):{top:0,bottom:0,left:0,right:0,width:0,height:0},t.forEach((function(e){e._checkForIntersections()}))}),r},a._resetCrossOriginUpdater=function(){r=null,n=null},a.prototype.observe=function(e){var t;if(!this._observationTargets.some((function(t){return t.element==e}))){if(!e||1!=e.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(e.ownerDocument),this._checkForIntersections()}},a.prototype.unobserve=function(e){this._observationTargets=this._observationTargets.filter((function(t){return t.element!=e})),this._unmonitorIntersections(e.ownerDocument),0==this._observationTargets.length&&this._unregisterInstance()},a.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorAllIntersections(),this._unregisterInstance()},a.prototype.takeRecords=function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e},a.prototype._initThresholds=function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter((function(e,t,r){if("number"!=typeof e||isNaN(e)||e<0||e>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return e!==r[t-1]}))},a.prototype._parseRootMargin=function(e){var t,r=(e||"0px").split(/\s+/).map((function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}}));return r[1]=r[1]||r[0],r[2]=r[2]||r[0],r[3]=r[3]||r[1],r},a.prototype._monitorIntersections=function(t){var r=t.defaultView;if(r&&-1==this._monitoringDocuments.indexOf(t)){var n=this._checkForIntersections,i=null,a=null;this.POLL_INTERVAL?i=r.setInterval(n,this.POLL_INTERVAL):(u(r,"resize",n,!0),u(t,"scroll",n,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in r&&(a=new r.MutationObserver(n)).observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0})),this._monitoringDocuments.push(t),this._monitoringUnsubscribes.push((function(){var e=t.defaultView;e&&(i&&e.clearInterval(i),s(e,"resize",n,!0)),s(t,"scroll",n,!0),a&&a.disconnect()}));var c=this.root&&(this.root.ownerDocument||this.root)||e;if(t!=c){var l=o(t);l&&this._monitorIntersections(l.ownerDocument)}}},a.prototype._unmonitorIntersections=function(t){var r=this._monitoringDocuments.indexOf(t);if(-1!=r){var n=this.root&&(this.root.ownerDocument||this.root)||e,i;if(!this._observationTargets.some((function(e){var r=e.element.ownerDocument;if(r==t)return!0;for(;r&&r!=n;){var i=o(r);if((r=i&&i.ownerDocument)==t)return!0}return!1}))){var a=this._monitoringUnsubscribes[r];if(this._monitoringDocuments.splice(r,1),this._monitoringUnsubscribes.splice(r,1),a(),t!=n){var c=o(t);c&&this._unmonitorIntersections(c.ownerDocument)}}}},a.prototype._unmonitorAllIntersections=function(){var e=this._monitoringUnsubscribes.slice(0);this._monitoringDocuments.length=0,this._monitoringUnsubscribes.length=0;for(var t=0;t=0&&c>=0&&{top:r,bottom:n,left:o,right:i,width:a,height:c}||null}function d(e){var t;try{t=e.getBoundingClientRect()}catch(e){}return t?(t.width&&t.height||(t={top:t.top,right:t.right,bottom:t.bottom,left:t.left,width:t.right-t.left,height:t.bottom-t.top}),t):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function p(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function m(e){return!e||"x"in e?e:{top:e.top,y:e.top,bottom:e.bottom,left:e.left,x:e.left,right:e.right,width:e.width,height:e.height}}function v(e,t){var r=t.top-e.top,n=t.left-e.left;return{top:r,left:n,height:t.height,width:t.width,bottom:r+t.height,right:n+t.width}}function y(e,t){for(var r=t;r;){if(r==e)return!0;r=h(r)}return!1}function h(t){var r=t.parentNode;return 9==t.nodeType&&t!=e?o(t):(r&&r.assignedSlot&&(r=r.assignedSlot.parentNode),r&&11==r.nodeType&&r.host?r.host:r)}function g(e){return e&&9===e.nodeType}}()},function(e,t,r){"use strict";r.d(t,"b",(function(){return o})),r.d(t,"c",(function(){return i})),r.d(t,"a",(function(){return a})),r.d(t,"h",(function(){return c})),r.d(t,"f",(function(){return l})),r.d(t,"d",(function(){return u})),r.d(t,"g",(function(){return s})),r.d(t,"e",(function(){return f})),r.d(t,"i",(function(){return d}));var n=r(31);r.d(t,"j",(function(){return n.d}));var o=function e(){return n.d?Object(n.a)():location.href},i=function e(){return n.d?Object(n.c)():navigator.userAgent},a=/(phone|pad|pod|iPhone|iPod|iPad|ios|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone)/i,c=function e(){var t=i();return a.test(t)};function l(){var e=i();return/AliApp\(AE/.test(e)}var u=l;function s(){var e=i();return/iPhone/.test(e)||/\(i[^;]+;( U;)? CPU.+Mac OS X/.test(e)}function f(){var e=i();return/Android/.test(e)||/Adr/.test(e)}function d(){var e,t,r,n=null===(e=i())||void 0===e?void 0:e.toLowerCase(),o="MacIntel"===(null===(t=navigator)||void 0===t?void 0:t.platform)&&(null===(r=navigator)||void 0===r?void 0:r.maxTouchPoints)>1,a;return/(ipad|tablet|(android(?!.*mobile))|(windows(?!.*phone)(.*touch))|kindle|playbook|silk|(puffin(?!.*(IP|AP|WP))))/.test(n)||o}},function(e,t,r){"use strict";r.d(t,"c",(function(){return l})),r.d(t,"b",(function(){return u})),r.d(t,"a",(function(){return d}));var n=r(31),o=r(93),i=r(97),a=r(3),c=r.n(a),l=function e(t){var r;if(void 0===t&&(t=""),n.d)return"";var o=null===(r=t)||void 0===r?void 0:r.split("?");return null!=o&&o.length?encodeURIComponent(o[0]):t};function u(e){var t;void 0===e&&(e=[]);var r=a.cookie.getSite()||"glo";return null!==(t=e)&&void 0!==t&&t.includes(r)||!Object(o.h)()?Object(i.b)():Object(i.a)()}var s=function e(t){return t},f=function e(t){var r=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&r.push(t[n]);return r},d={active:"//ae01.alicdn.com/kf/S03af898f346a46ab80fc497af4d2b4a6j/18x48.png",inactive:"//ae01.alicdn.com/kf/S0e8ceb5d9e8f4da3b85e0b388e547d6bQ/18x48.png"}},function(e,t){function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){"use strict";function n(e,t){return(n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function e(t,r){return t.__proto__=r,t})(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)}r.d(t,"a",(function(){return o}))},function(e,t,r){"use strict";r.d(t,"a",(function(){return a})),r.d(t,"b",(function(){return c})),r.d(t,"c",(function(){return l}));var n=r(3),o=r.n(n),i={glo:{msite:"m.aliexpress.com",pc:"www.aliexpress.com"},rus:{msite:"m.aliexpress.ru",pc:"www.aliexpress.ru"},isr:{msite:"m.aliexpress.com",pc:"he.aliexpress.com"},usa:{msite:"m.aliexpress.us",pc:"www.aliexpress.us"},esp:"es",fra:"fr",bra:"pt",idn:"id",pol:"pl",nld:"nl",deu:"de",ita:"it",kor:"ko",jpn:"ja",tur:"tr",ara:"ar",tha:"th",vnm:"vi"};function a(){var e=n.cookie.getSite()||"glo";return"string"==typeof i[e]?"m."+i[e]+".aliexpress.com":i[e].msite}function c(){var e=n.cookie.getSite()||"glo";return"string"==typeof i[e]?i[e]+".aliexpress.com":i[e].pc}var l=function e(){var t=n.cookie.getLocale();return"ar_MA"==t||"iw_IL"==t}},function(e,t,r){var n=r(66).default,o=r(137);function i(e){var t=o(e,"string");return"symbol"==n(t)?t:String(t)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={},o=decodeURIComponent,i=encodeURIComponent;function a(e,t){var r={};if(c(e)&&e.length>0)for(var n=t?o:s,i=e.split(/;\s/g),a,l,u,f=0,d=i.length;f=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function h(e,t){if(e){if("string"==typeof e)return g(e,t);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(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?g(e,t):void 0}}function g(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=5&&(t.country=n[0],t.firstName=n[1].replace(//g,">"),t.lastName=n[2].replace(//g,">"),t.memberSeq=n[4]),t}},{key:"getMemberSeq",value:function e(){return this.getXUserObj().memberSeq}},{key:"isNewUser",value:function e(){return""===this.getXUserObj().memberSeq}},{key:"setHistory",value:function e(t){t&&c.default.logProduct({id:t})}},{key:"getHistory",value:function e(){return c.default.getProducts()}},{key:"setAETest",value:function e(){}},{key:"getAETest",value:function e(){return""}},{key:"getBerL",value:function e(){return this._getCookie("aep_usuc_t","ber_l")}},{key:"getZeroOrder",value:function e(){return this._getCookie("xman_us_f","zero_order")}},{key:"isZeroOrderUser",value:function e(){return"y"===this.getZeroOrder()}},{key:"getAeUps",value:function e(){return this._getCookie("aep_usuc_f","ae_u_p_s")}},{key:"setAeUps",value:function e(t){return this._setcookie("aep_usuc_f","ae_u_p_s",t)}},{key:"getAeUpsTime",value:function e(){return this._getCookie("aep_usuc_f","ups_u_t")}},{key:"setAeUpsTime",value:function e(t){return this._setcookie("aep_usuc_f","ups_u_t",t)}},{key:"getReSns",value:function e(){return this._getCookie("aep_usuc_f","re_sns")}},{key:"getCsrfToken",value:function e(){var t=this._getCookie("acs_usuc_t","x_csrf");return t||(window.__bl&&window.__bl.api?window.__bl.error(new Error("Cookie.getCsrfToken error")):window.__bl&&(window.__bl.pipe=window.__bl.pipe||[],window.__bl.pipe.push(["error",new Error("Cookie.getCsrfToken error")]))),t}},{key:"getXmanCookieChanged",value:function e(){return this._getCookie("xman_us_f","x_c_chg")}},{key:"setXmanCookieChanged",value:function e(t){return this._setcookie("xman_us_f","x_c_chg",""+t)}},{key:"getXmanCookieSynced",value:function e(){return this._getCookie("xman_us_f","x_c_synced")}},{key:"setXmanCookieSynced",value:function e(t){return this._setcookie("xman_us_f","x_c_synced",""+t)}},{key:"getACS_RT",value:function e(){return this._getCookie("xman_us_f","acs_rt")}},{key:"getX_AS_I",value:function e(){return this._getCookie("xman_us_f","x_as_i")}},{key:"getCNA",value:function e(){return a.default.get("cna",{domain:(0,l.getFixedDomainUrl)(),path:"/",raw:!0})||""}},{key:"getAliApacheId",value:function e(){return a.default.get("ali_apache_id",{domain:(0,l.getFixedDomainUrl)(),path:"/",raw:!0})||""}},{key:"getAeucid",value:function e(){return a.default.get("aeu_cid",{domain:(0,l.getFixedDomainUrl)(),path:"/",raw:!0})||""}}]),e}());window.lib=window.lib||{},window.lib.cookie=s;var f=s;t.default=f},function(e,t,r){var n=r(66).default;function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function e(n){return n?r:t})(e)}function i(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=n(e)&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var i={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var l=a?Object.getOwnPropertyDescriptor(e,c):null;l&&(l.get||l.set)?Object.defineProperty(i,c,l):i[c]=e[c]}return i.default=e,r&&r.set(e,i),i}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function r(t,n){return e.exports=r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function e(t,r){return t.__proto__=r,t},e.exports.__esModule=!0,e.exports.default=e.exports,r(t,n)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,r){var n=r(17);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t=0;--i){var c=this.tryEntries[i],l=c.completion;if("root"===c.tryLoc)return o("end");if(c.tryLoc<=this.prev){var u=a.call(c,"catchLoc"),s=a.call(c,"finallyLoc");if(u&&s){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&a.call(o,"finallyLoc")&&this.prev=0;--r){var n=this.tryEntries[r];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),T(n),b}},catch:function e(t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc===t){var o=n.completion;if("throw"===o.type){var i=o.arg;T(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function e(r,n,o){return this.delegate={iterator:D(r),resultName:n,nextLoc:o},"next"===this.method&&(this.arg=t),b}},r}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){},function(e,t,r){"use strict";var n=r(142);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},function(e,t,r){"use strict";var n="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";e.exports=n},function(e,t,r){"use strict";var n=r(15).default,o=r(127).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.getSpm=d;var i=n(r(18)),a=n(r(129)),c=n(r(57)),l=o(r(144)),u=["api","timeout","appId","platform","scenario","page","pageSize","recommendInfo"],s="affi_params=".concat(l.default.x_as_i,",ae_u_p_s=").concat(l.default.ae_u_p_s,",global_abtest=").concat(l.default.global_abtest),f;function d(){try{var e=window.location&&window.location.search?window.location.search.slice(1):"",t=/spm=(([a-zA-Z0-9]+(\.)?)+)/,r=e.match(t)?e.match(t)[0]:"",n;return r&&r.split("=").length>1?r.split("=")[1]:""}catch(e){return""}}function p(e){var t,r,n={spmUrl:d()||void 0,cna:l.default.cna||void 0,foreverRandomToken:l.default.acs_rt||void 0,pageId:l.isSSR?"":(null===(t=window)||void 0===t?void 0:t.dmtrack_pageid)||void 0};try{if(n=JSON.parse(JSON.stringify(n)),e){var o=JSON.parse(e);n=(0,a.default)((0,a.default)({},n),o)}}catch(e){}return JSON.stringify(n)}var m={DEBUG_:!l.isSSR&&!(!window.location||-1===window.location.href.indexOf("_mtopPrev_=_true_")),visitorId:l.default.cna||l.default.acs_rt,buyerAliId:l.default.memberSeq||l.default.alimid,lang:l.default.lang,locale:l.default.locale,shipToCountry:l.default.shipToCountry,currency:l.default.currency,"x-reqbiz-ext":encodeURIComponent(s),"x-appKey":24815441};function v(e){var t=e.api,r=void 0===t?"mtop.relationrecommend.AliexpressRecommend.recommend":t,n=e.timeout,o=void 0===n?5e3:n,l=e.appId,s=void 0===l?668:l,f=e.platform,d=void 0===f?"pc":f,v=e.scenario,y=e.page,h=e.pageSize,g=e.recommendInfo,b=void 0===g?"":g,w=(0,i.default)(e,u),S=(0,a.default)({platform:d,scenario:v,page:y,pageSize:h},w),O=p(b);"{}"!==b&&(S.recommendInfo=O);var E=(0,a.default)((0,a.default)({},m),S);return c.default.request({api:r,v:"1.0",appKey:24815441,timeout:o,type:"POST",data:{appId:s,params:JSON.stringify(E)}})}var y=t.default=v},function(e,t,r){"use strict";var n=r(15).default;Object.defineProperty(t,"__esModule",{value:!0}),t.isSSR=t.getGlobalAbtest=t.default=void 0;var o=n(r(126)),i=t.isSSR="undefined"==typeof window,a=t.getGlobalAbtest=function e(){var t={},r=o.default.get("AB_ALG"),n=o.default.get("AB_STG");if(r){var i,a=null===(i=decodeURIComponent(r))||void 0===i?void 0:i.split("=");2===a.length&&(t[a[0]]=a[1])}if(n){var c,l=null===(c=decodeURIComponent(n))||void 0===c?void 0:c.split(",");null==l||l.forEach((function(e){var r=e.split("#");2===r.length&&(t[r[0]]=r[1])}))}return encodeURIComponent(JSON.stringify(t))},c=i?{}:{cna:o.default.getCNA(),acs_rt:o.default.getACS_RT(),memberSeq:o.default.getMemberSeq(),alimid:o.default.getAlimid(),lang:o.default.getBuyerLocale(),locale:o.default.getBuyerLocale(),shipToCountry:(l=o.default.getRegion(),"CN"===l?"US":l),currency:o.default.getCurrency(),ae_u_p_s:o.default.getAeUps(),x_as_i:o.default.getX_AS_I(),global_abtest:a()},l,u=t.default=c},function(e,t,r){"use strict";var n=r(15);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(90)),i=n(r(91)),a=n(r(99)),c=r(100),l="aep_history",u="keywords",s="product_selloffer",f="\n\n",d="^\n",p="\t",m,v=new(function(){function e(){(0,o.default)(this,e),this.keywordsSize=8,this.productsSize=8,this.groups={},this.refresh()}return(0,i.default)(e,[{key:"getKeywords",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.groups||!this.groups.keywords)return[];var r=t.limit||0,n=this._sliceArray(this.groups.keywords,r).slice(0);return n}},{key:"getProducts",value:function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.groups||!this.groups[s])return[];for(var r=t.limit||0,n=this._sliceArray(this.groups[s],r),o=[],i=0,a=n.length;i=0&&r.splice(n,1),r.push(t)}}},{key:"_sliceArray",value:function e(t,r){return r>0?t.splice(0,r):t}},{key:"_parseGroups",value:function e(){var t={},r=a.default.get(l,{domain:(0,c.getFixedDomainUrl)(),path:"/"});if(r)for(var n=r.split("\n\n"),o=0,i=n.length;o=0&&(r=r.substring(n+t.length+"\t".length));var o=r.split("\t");return o=o.reverse(),o=this._uniqueArray(o)}},{key:"_uniqueArray",value:function e(t){for(var r=t,n=1;n=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function l(e,t){if(e){if("string"==typeof e)return u(e,t);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(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?u(e,t):void 0}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(e,t){if(e){if("string"==typeof e)return i(e,t);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(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function c(e,t){if(e){if("string"==typeof e)return l(e,t);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(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?l(e,t):void 0}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:{rootMargin:"-54px 0px",threshold:0},n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];b(this,e),O(this,"listeners",new Map),O(this,"intersectionObserverCallback",(function(e){e.forEach((function(e){if(e.isIntersecting){var r=t.listeners.get(e.target);t.once&&t.unobserve(e.target),r&&r()}}))})),this.once=n,this.intersectionObserver=new IntersectionObserver(this.intersectionObserverCallback,r)}return S(e,[{key:"observe",value:function e(t,r){this.intersectionObserver.observe(t),this.listeners.set(t,r)}},{key:"unobserve",value:function e(t){this.intersectionObserver.unobserve(t),this.listeners.delete(t)}}]),e}(),x=v.d?null:new _,k,P,C;function N(e){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function I(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function T(e){for(var t=1;t1&&void 0!==arguments[1])||arguments[1];t["spm-cnt"]?r&&H[t["spm-cnt"]]||(F(T({},t)),H[t["spm-cnt"]]=!0):console.error("spm-cnt can't empty!",t)},V=function e(t,r){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];null==x||x.observe(t,(function(){q(r),n&&(null==x||x.unobserve(t))}))},G=function e(t,r,n){var o=(null==r?void 0:r.length)||0;o1&&void 0!==arguments[1]?arguments[1]:{};try{R(t,T(T({},r),{},{et:"EXP",c1:"safe_fe"}))}catch(e){console.error(e)}},X=function e(t){var r=t.spmc,n=t.spmd;return"".concat(B,".").concat(U,".").concat(r,".").concat(n)};function J(e){return(J="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 Z(){return(Z=Object.assign?Object.assign.bind():function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:f.FLOOR,r=arguments.length>2?arguments[2]:void 0;q(ee(ee({},m),{},{exp_type:t,"spm-cnt":X({spmc:e.spmc,spmd:e.spmd}),object_type:r}))}function b(e,t){W(ee(ee({},y),{},{"spm-cnt":X({spmc:e.spmc,spmd:e.spmd}),ae_object_value:t}))}function w(e){var t,r,n,o,i;q(ee(ee({},v),{},{"spm-cnt":X({spmc:e.spmc,spmd:e.spmd}),"scm-cnt":null!==(t=e.scm)&&void 0!==t?t:"",exp_product:e.productId,biz_code:null!==(r=e.biz_code)&&void 0!==r?r:"",trace:null!==(n=e.trace)&&void 0!==n?n:"",utLogMap:null!==(o=e.utLogMap)&&void 0!==o?o:"",object_type:null!==(i=e.params)&&void 0!==i?i:""}))}function S(e){var t,r,n,o;W(ee(ee({},h),{},{"spm-cnt":X({spmc:e.spmc,spmd:e.spmd}),"scm-cnt":null!==(t=e.scm)&&void 0!==t?t:"",ae_object_value:e.params||e.productId,biz_code:null!==(r=e.biz_code)&&void 0!==r?r:"",trace:null!==(n=e.trace)&&void 0!==n?n:"",utLogMap:null!==(o=e.utLogMap)&&void 0!==o?o:""}))}return Object(n.useEffect)((function(){if(t.itemEmptyValidator){var e=t.itemEmptyValidator(i.data,i.originData),r=e.required,n=e.actual;ne.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1?arguments[1]:void 0,n=t&&t.length0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1?arguments[1]:void 0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"productIds";if(null===globalThis||void 0===globalThis||!globalThis.URLSearchParams)return he(new Error("URLSearchParams not support")),t;var o=t.split("?"),i=se(o,2),a=i[0],c=i[1],l=c?c.split("#"):"",u=se(l,2),s=u[0],f=u[1],d=new URLSearchParams(s);return r&&String(r).length&&d.set(n,encodeURIComponent(Array.isArray(r)?r.join(","):r)),a+"?"+d.toString()+(f?"#".concat(f):"")};function ke(){return(ke=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0;--a){var c=this.tryEntries[a],l=c.completion;if("root"===c.tryLoc)return i("end");if(c.tryLoc<=this.prev){var u=n.call(c,"catchLoc"),s=n.call(c,"finallyLoc");if(u&&s){if(this.prev=0;--o){var i=this.tryEntries[o];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--r){var n=this.tryEntries[r];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(n),y}},catch:function e(t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc===t){var o=n.completion;if("throw"===o.type){var i=o.arg;C(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function t(r,n,o){return this.delegate={iterator:I(r),resultName:n,nextLoc:o},"next"===this.method&&(this.arg=e),y}},t}function pt(e,t,r,n,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void r(e)}c.done?t(l):Promise.resolve(l).then(n,o)}function mt(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){pt(i,n,o,a,c,"next",e)}function c(e){pt(i,n,o,a,c,"throw",e)}a(void 0)}))}}function vt(e,t){return wt(e)||bt(e,t)||ht(e,t)||yt()}function yt(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function ht(e,t){if(e){if("string"==typeof e)return gt(e,t);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(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?gt(e,t):void 0}}function gt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0){var o=(new Date).getTime();window.scrollTo(0,r-(o-t)*r/400),St(n)}}n()},b=function e(){var t,r,n,o=null===(t=window)||void 0===t||null===(r=t.Comet)||void 0===r||null===(n=r.util)||void 0===n?void 0:n.login;if(o)return o.run({loginType:"common",tab:"login"}).then(mt(dt().mark((function e(){var t,r,n,o,i;return dt().wrap((function e(a){for(;;)switch(a.prev=a.next){case 0:return a.next=2,y.Module.get("Feedback");case 2:t=a.sent,r=t.default,n=y.cookie.getLocale(),o="en",(i=null==n?void 0:n.match(/(\w+)_(\w+)/))&&(o=i[1]),null==r||r.open({locale:o,sourceType:"desktop"});case 8:case"end":return a.stop()}}),e)})))).catch((function(){window.location.href="//login.aliexpress.com?return=".concat(encodeURIComponent(window.location.href))}));window.location.href="//login.aliexpress.com?return=".concat(encodeURIComponent(window.location.href))},w=function e(){var t;(window.pageYOffset||document.documentElement.scrollTop)>400?s||d(!0):d(!1)};return o.a.createElement("div",{className:ze.a["product-fix-sns"],id:"fixSns"},o.a.createElement("div",{className:ge?ze.a["product-fix-rtl-wrap"]:ze.a["product-fix-wrap"],id:"fixWrap"},o.a.createElement("a",{href:"//msg.aliexpress.com?tracelog=ws_topbar",className:ze.a["ui-fixed-panel-unit"],onClick:function e(){i({spmc:a,spmd:"message"})}},o.a.createElement(Ke,{fontSize:24}),v&&o.a.createElement("i",{className:ze.a["prompt-num"]})),o.a.createElement("div",{className:ze.a["sns-secondary"],onClick:function e(){b(),i({spmc:a,spmd:"feedback"})}},o.a.createElement("span",ft({className:ze.a["ui-fixed-panel-unit"]},Me),o.a.createElement(tt,{fontSize:24}),o.a.createElement("a",{href:"javascript:void(0);","aria-label":"feedback"}))),o.a.createElement("span",{className:ze.a["ui-fixed-panel-unit"],style:{visibility:s?"visible":"hidden"},onClick:g},o.a.createElement(ct,{fontSize:24}))))};Ot.ssrHeight=0;var Et=Ot,jt=r(37),_t=r(26),xt=r.n(_t),kt=r(110),Pt=r.n(kt);function Ct(e,t){return o.a.createElement("div",{ref:t,id:e.id,className:Te()(Pt.a.root,e.className),style:e.style},e.children)}var Nt=Object(n.forwardRef)(Ct),It=["className","fontSize","style"];function Tt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Lt(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r50&&(h(!0),C({spmc:P,spmd:"categorymore"},f.LINK)),z()}),[]);var z=function e(){for(var t,r,n=null!==(t=null==p||null===(r=p.current)||void 0===r?void 0:r.childNodes)&&void 0!==t?t:[],o=0;on[o-1].offsetTop){var i,a=null!==(i=null==R?void 0:R.slice(o))&&void 0!==i?i:[];a.map((function(e){C({spmc:P,spmd:encodeURIComponent("categorymore".concat(e.bizcode||e.bizCode))},f.LINK)})),_(a);break}},U=o.a.createElement("div",{className:xt.a["more-main"]},j&&j.map((function(e,t){return o.a.createElement("a",{key:t,className:xt.a["more-item"],target:"_blank",href:e.url,onClick:function t(){N({spmc:P,spmd:encodeURIComponent("categorymore".concat(e.bizcode||e.bizCode))})}},e.title)}))),W=null===globalThis||void 0===globalThis||null===(d=globalThis._global_header_23_interface_)||void 0===d?void 0:d.LoadableCategory,H=Object(jt.a)(W);return o.a.createElement("div",{"data-spc":P,className:xt.a.container},o.a.createElement(Nt,null,o.a.createElement("div",{className:xt.a["tabs-main"]},o.a.createElement("div",{className:xt.a["all-categories-part"]},H&&o.a.createElement(H,null)),o.a.createElement("div",{ref:p,className:xt.a["all-tabs-part"],"data-tabs":"true"},R.map((function(e){return o.a.createElement("a",{target:"_blank","data-spm":e.bizcode,key:e.title,className:xt.a["tab-item"],href:e.url,dangerouslySetInnerHTML:{__html:e.title},style:{color:e.color,fontWeight:e.color?"700":"normal"},onClick:function t(){N({spmc:P,spmd:encodeURIComponent("category".concat(e.bizcode||e.bizCode))})}})}))),y&&o.a.createElement(jt.b,{trigger:"hover",placement:"bottom-start",content:U,popupClassName:xt.a["more-list"],onVisibleChange:F,forceRender:!0,destroyOnClose:!0},o.a.createElement("div",{className:xt.a["more-tab"]},A,w?o.a.createElement(Mt,null):o.a.createElement(Wt,null))),null!=I&&I.sellerTitle&&null!=I&&I.sellerLink?o.a.createElement("a",{className:xt.a["seller-tab"],target:"_blank",href:null==I?void 0:I.sellerLink,onClick:function e(){N({spmc:P,spmd:encodeURIComponent("category".concat(null==I?void 0:I.sellerSpmd))})}},o.a.createElement("div",{className:xt.a["seller-line"]},null==I?void 0:I.sellerTitle)):null)))},Xt=r(32),Jt=r.n(Xt),Zt=["className","style","href","rtl","target","children"];function Qt(){return(Qt=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function tr(e,t){if(null==e)return{};var r={},n=Object.keys(e),o,i;for(i=0;i=0||(r[o]=e[o]);return r}function rr(e){var t=e.className,r=e.style,n=e.href,i=e.rtl,a=e.target,c=void 0===a?"_blank":a,l=e.children,u=er(e,Zt);return n?o.a.createElement("a",Qt({className:t,style:r,href:n,target:c},u),l):o.a.createElement("div",Qt({className:t,style:r},u),l)}var nr=r(85),or=r.n(nr),ir,ar=function e(t){var r,n,i=be(t.data.data,Zd.PC_I18N);return o.a.createElement(o.a.Fragment,null,o.a.createElement("span",{className:or.a.text},(null==i||null===(r=i.fields)||void 0===r?void 0:r.viewMore)||""),o.a.createElement("span",{className:or.a.img}))},cr=r(5),lr=r.n(cr),ur=["className","fontSize","style"];function sr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function fr(e){for(var t=1;tt.w?-1:1}))).find((function(e){return e.w<=l})))||void 0===t?void 0:t.i;void 0===i&&(i=r[r.length-1].i);var a=Mr[i];e(a),document.body.removeChild(c)}else e(Dr.a.char)}))})));case 10:case"end":return s.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();function zr(e){return(zr="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)}var Fr=function(e){var t,r=e||{},i=r.unit,a=void 0===i?"px":i,c=r.standardFontSize,l=r.autoFontSize,u=void 0!==l&&l,s=r.sameFontSize,f=void 0!==s&&s,d=r.disableNotranslate,p=void 0!==d&&d,m=r.wrapStyle,v=r.integerStrClassName,y=r.thousandsCharClassName,h=r.decimalPointCharClassName,g=r.decimalStrClassName,b=r.currencySymbolClassName,w=r.separatorStrClassName,S=r.backupNode,O=r.priceConfig,E=r.priceData,j=Object(n.useState)(""),_=j[0],x=j[1],k=Object(n.useRef)(null),P={};try{"string"==typeof O?Object.assign(P,JSON.parse(O)):"object"===zr(O)&&Object.assign(P,O)}catch(e){console.log(e)}var C=!0===(null==P?void 0:P.useful)?xr(P,E):[],N=!(null!=C&&C.length),I=(c||12)+"px";if("rem"===a?I=(c||24)/75+"rem":"vw"===a&&(I=(c||24)/7.5+"vw"),Object(n.useLayoutEffect)((function(){var e;if(!N&&u){var t=(null===(e=k.current)||void 0===e?void 0:e.getBoundingClientRect().width)+"px";Rr({data:C,baseFontSize:I,maxWidth:t,wrapStyle:m}).then((function(e){return x(e)}))}}),[P,E]),N){if(S)return S;var T=_r(P,E);return T?o.a.createElement("span",{className:Te()({notranslate:!p}),style:{fontSize:I}},T):null}return o.a.createElement(o.a.Fragment,null,u?o.a.createElement("div",{ref:k,style:{position:"relative",width:"100%"}}):null,!u||u&&_?o.a.createElement(Ar,{data:C,style:yr()({},m||{},{fontSize:I}),integerStrClassName:Te()((t={},t[Dr.a.char53]=!_&&!f,t[Dr.a.char]=!_&&f,t),v,_),thousandsCharClassName:Te()(Dr.a.char,y),decimalPointCharClassName:Te()(Dr.a.char,h),decimalStrClassName:Te()(Dr.a.char,g),currencySymbolClassName:Te()(Dr.a.char,b),separatorStrClassName:Te()(Dr.a.char,w),space2ClassName:Dr.a.space2,disableNotranslate:p}):null)},Br=r(111),Ur=r.n(Br),Wr=r(6);function Hr(e,t){return $r(e)||Yr(e,t)||Vr(e,t)||qr()}function qr(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Vr(e,t){if(e){if("string"==typeof e)return Gr(e,t);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(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Gr(e,t):void 0}}function Gr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r2&&void 0!==arguments[2]?arguments[2]:1,o=[[50,50],[80,80],[100,100],[120,120],[140,140],[200,200],[220,220],[250,250],[300,300],[350,350],[480,480],[640,640],[720,720],[960,960],[220,1e3],[640,1e4],[960,1e4]];if(!isNaN(t)&&!isNaN(r))return o.find((function(e){return e[0]>=t*n&&e[1]>=r*n}))},Jr,Zr=function e(t){var r=t.width,n=t.height,i=t.src,a=t.alt,c=t.className,l=Kr(i),u,s,f=Hr(Xr(r,n,1)||[],2),d,p,m={alt:a,src:l,useWebp:!0,compressedWidth:f[0],compressedHeight:f[1],compressQuality:!0,quality:90};return o.a.createElement("div",{className:Te()([c,Ur.a.wrap])},o.a.createElement(Wr.b,m))},Qr=r(10),en=r.n(Qr);function tn(e){return(tn="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 rn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function nn(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&o.a.createElement("div",{className:lr.a.cardFreeShipping},C.map((function(e){return e})))),o.a.createElement("div",{className:Te()(lr.a.cardFooter,S&&lr.a.bottomBorder)},o.a.createElement("button",{className:lr.a.btnQuick,onClick:function e(t){t.preventDefault(),t.stopPropagation(),N(f)}},p))))},Mn=function(e){var t;return null!=e&&null!==(t=e.cardInfo)&&void 0!==t&&t.__$$firstImg?o.a.createElement("div",{className:Te()(lr.a.firstImgWrapper,null==e?void 0:e.className)},o.a.createElement(Ln,{config:null==e?void 0:e.config,i:e.cardInfo})):o.a.createElement(An,e)},Rn=r(112),zn=r.n(Rn),Fn=function(e){return e.HORIZONTAL="horizontal",e.VERTICAL="vertical",e}({}),Bn={left:Fn.HORIZONTAL,right:Fn.HORIZONTAL,top:Fn.VERTICAL,bottom:Fn.VERTICAL},Un=500,Wn=function e(t){return setTimeout((function(){var e=performance.now();t(e)}),0)},Hn=(null===globalThis||void 0===globalThis?void 0:globalThis.requestAnimationFrame)||(null===globalThis||void 0===globalThis?void 0:globalThis.mozRequestAnimationFrame)||(null===globalThis||void 0===globalThis?void 0:globalThis.webkitRequestAnimationFrame)||(null===globalThis||void 0===globalThis?void 0:globalThis.msRequestAnimationFrame)||Wn;function qn(e,t,r,n){e.current=Hn((function(o){var i=Math.max(o-t,0);qn(e,t,r,n),null==n||n(i)}))}function Vn(e,t){var r,n,o=e.loop,i=void 0!==o&&o,a=Math.abs((null!==(r=e.initProgress)&&void 0!==r?r:0)%1),c=Math.abs(e.duration),l=Math.max(Math.abs(null!==(n=e.interval)&&void 0!==n?n:0),500-c),u={current:-1},s={current:-1},f={progress:a,time:a*c,loop:0},d=[];return{playing:function e(){return u.current>0||s.current>0},end:function e(){return!i&&!this.playing()&&1===f.progress},play:function e(t){var r=this;void 0===t&&(t=!1),this.playing()||this.end()||(l>0&&t?s.current=setTimeout((function(){s.current=-1,r.restart(),r.doPlay()}),l):this.doPlay())},doPlay:function e(){var r=this;1===f.progress&&(f.progress=0,f.time=0);var n=performance.now()-f.time;qn(u,n,c,(function(e){if(e>=c)for(r.pause(),f.time=c,f.progress=1,i&&(f.loop++,r.play(!0)),null==t||t({time:c,progress:1,loop:f.loop},r);d.length>0;)d.pop()(f,r);else f.time=e,f.progress=e/c,null==t||t(f,r)}))},pause:function e(){return cancelAnimationFrame(u.current),clearTimeout(s.current),u.current=-1,s.current=-1,f},restart:function e(){this.pause(),f.progress=0,f.time=0},reset:function e(){this.pause(),f.progress=0,f.time=0,f.loop=0},addFinishCallback:function e(t){d.push(t)}}}function Gn(e){return Number(e.replace("px",""))||0}function Yn(e,t){var r=t.direction;"right"===r&&t.rtl?r="left":"left"===r&&t.rtl&&(r="right");var n=Bn[r],o="top"===r||"left"===r?1:-1,i=t.isLoop?Math.round(e.children.length/2):e.children.length;function a(){return"horizontal"===n?e.clientWidth:e.clientHeight}function c(){return o*("horizontal"===n?e.scrollLeft:e.scrollTop)}function l(){return p(i-1)+m(i-1)}function u(){return t.isLoop?2*l()-a():l()-a()}function s(e,r){if(void 0===r&&(r=0),t.isLoop){var n=e%i;return n<0&&(n+=i),n+r<0&&(n+=i),n}var o=e%i;return o<0&&(o+=i),o}function f(e,t){if(0===t)return 0;var r=d(s(e,t));return 0===r||r===l()||r===-l()?t:t>0?t-1:t+1}function d(n){var o;switch(o=n<0?e.children.item(0):t.isLoop&&n>=2*i?e.children.item(2*i-1):!t.isLoop&&n>=i?e.children.item(i-1):e.children.item(n),r){case"left":return o.getBoundingClientRect().left-e.getBoundingClientRect().left-Gn(getComputedStyle(o).marginLeft);case"right":return e.getBoundingClientRect().right-o.getBoundingClientRect().right-Gn(getComputedStyle(o).marginRight);case"top":return o.getBoundingClientRect().top-e.getBoundingClientRect().top-Gn(getComputedStyle(o).marginTop);case"bottom":return e.getBoundingClientRect().bottom-o.getBoundingClientRect().bottom-Gn(getComputedStyle(o).marginBottom)}}function p(e){return d(e)-d(0)}function m(t){var n=s(t),o=e.children.item(n);switch(r){case"left":case"right":return o.getBoundingClientRect().width+Gn(getComputedStyle(o).marginLeft)+Gn(getComputedStyle(o).marginRight);case"top":case"bottom":return o.getBoundingClientRect().height+Gn(getComputedStyle(o).marginTop)+Gn(getComputedStyle(o).marginBottom)}}return{getCurrentPlayIndex:function e(){for(var t=c(),r=0;r<2*i;r++)if(p(r)>=t)return r;return 0},getLoopStartPosition:function e(t,r){void 0===r&&(r=0);var n=s(t,r),i=d(n)%l();return i<0&&(i+=l()),o*Math.round(d(n)-d(0)-i)},getLoopOffsetLength:function e(r,n){var o=f(r,n),i=s(r,o),a=d(i)%l();a<0&&(a+=l()),a>0&&n<0&&(a-=m(i));var p=a+d(i+o)-d(i);return!t.isLoop&&c()+p>u()?Math.round(u()-c()):Math.round(p)},scrollTo:function t(n,o){switch(r){case"left":null==e||e.scrollTo({left:n+o,top:e.scrollTop});break;case"right":null==e||e.scrollTo({left:n-o,top:e.scrollTop});break;case"top":null==e||e.scrollTo({left:e.scrollLeft,top:n+o});break;case"bottom":null==e||e.scrollTo({left:e.scrollLeft,top:n-o})}},isStart:function e(){return 0===c()},isEnd:function e(){return Math.abs(c()-u())<1}}}function $n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}var Kn=$n,Xn=r(11),Jn,Zn=function(){return Xn.a.Date.now()},Qn=/\s/;function eo(e){for(var t=e.length;t--&&Qn.test(e.charAt(t)););return t}var to=eo,ro=/^\s+/;function no(e){return e?e.slice(0,to(e)+1).replace(ro,""):e}var oo=no,io,ao=Xn.a.Symbol,co=Object.prototype,lo=co.hasOwnProperty,uo=co.toString,so=ao?ao.toStringTag:void 0;function fo(e){var t=lo.call(e,so),r=e[so];try{e[so]=void 0;var n=!0}catch(e){}var o=uo.call(e);return n&&(t?e[so]=r:delete e[so]),o}var po=fo,mo,vo=Object.prototype.toString;function yo(e){return vo.call(e)}var ho=yo,go="[object Null]",bo="[object Undefined]",wo=ao?ao.toStringTag:void 0;function So(e){return null==e?void 0===e?bo:go:wo&&wo in Object(e)?po(e):ho(e)}var Oo=So;function Eo(e){return null!=e&&"object"==typeof e}var jo=Eo,_o="[object Symbol]";function xo(e){return"symbol"==typeof e||jo(e)&&Oo(e)==_o}var ko=xo,Po=NaN,Co=/^[-+]0x[0-9a-f]+$/i,No=/^0b[01]+$/i,Io=/^0o[0-7]+$/i,To=parseInt;function Lo(e){if("number"==typeof e)return e;if(ko(e))return NaN;if(Kn(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Kn(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=oo(e);var r=No.test(e);return r||Io.test(e)?To(e.slice(2),r?2:8):Co.test(e)?NaN:+e}var Do=Lo,Ao="Expected a function",Mo=Math.max,Ro=Math.min;function zo(e,t,r){var n,o,i,a,c,l,u=0,s=!1,f=!1,d=!0;if("function"!=typeof e)throw new TypeError(Ao);function p(t){var r=n,i=o;return n=o=void 0,u=t,a=e.apply(i,r)}function m(e){return u=e,c=setTimeout(h,t),s?p(e):a}function v(e){var r,n,o=t-(e-l);return f?Ro(o,i-(e-u)):o}function y(e){var r=e-l,n;return void 0===l||r>=t||r<0||f&&e-u>=i}function h(){var e=Zn();if(y(e))return g(e);c=setTimeout(h,v(e))}function g(e){return c=void 0,d&&n?p(e):(n=o=void 0,a)}function b(){void 0!==c&&clearTimeout(c),u=0,n=l=o=c=void 0}function w(){return void 0===c?a:g(Zn())}function S(){var e=Zn(),r=y(e);if(n=arguments,o=this,l=e,r){if(void 0===c)return m(l);if(f)return clearTimeout(c),c=setTimeout(h,t),p(l)}return void 0===c&&(c=setTimeout(h,t)),a}return t=Do(t)||0,Kn(r)&&(s=!!r.leading,i=(f="maxWait"in r)?Mo(Do(r.maxWait)||0,t):i,d="trailing"in r?!!r.trailing:d),S.cancel=b,S.flush=w,S}var Fo=zo,Bo=function(){function e(e,t){var r=this;void 0===e&&(e={root:null,rootMargin:"0px",threshold:1}),void 0===t&&(t=!0),this.intersectionObserver=void 0,this.listeners=new Map,this.once=void 0,this.intersectionObserverCallback=function(e){e.forEach((function(e){if(e.isIntersecting){var t=r.listeners.get(e.target);r.once&&r.unobserve(e.target),t&&t()}}))},this.once=t,this.intersectionObserver=new IntersectionObserver(this.intersectionObserverCallback,yr()({root:null,rootMargin:"0px",threshold:1},e))}var t=e.prototype;return t.observe=function e(t,r){this.intersectionObserver.observe(t),this.listeners.set(t,r)},t.unobserve=function e(t){this.intersectionObserver.unobserve(t),this.listeners.delete(t)},e}();function Uo(){var e=Object(n.useState)(null),t=e[0],r=e[1],o=Object(n.useRef)(null),i=Object(n.useRef)([]);return Object(n.useEffect)((function(){if(t)for(o.current=new Bo({root:t});i.current.length;){var e=i.current.shift(),r=e.ele,n=e.callback;o.current.observe(r,n)}}),[t]),{initRoot:function e(t){t&&r(t)},observe:function e(t,r){o.current?o.current.observe(t,r):i.current.push({ele:t,callback:r})},unobserve:function e(t){o.current?o.current.unobserve(t):i.current.forEach((function(e,r){return e.ele===t&&(i.current.splice(r,1),!0)}))}}}function Wo(e,t){return!(!e||!t)&&(e===t||Wo(e.parentElement,t))}var Ho=globalThis.document?n.useLayoutEffect:n.useEffect,qo=500,Vo=function e(t){return t};function Go(e){var t,r,i,a,c,l,u,s,f,d,p,m,v,y,h,g,b,w,S,O,E,j,_,x,k,P=null===(t=e.options.loop)||void 0===t||t,C=Math.max(null!==(r=null===(i=e.options)||void 0===i?void 0:i.interval)&&void 0!==r?r:0,0),N=null!==(a=null===(c=e.options)||void 0===c?void 0:c.direction)&&void 0!==a?a:"left",I=Bn[N],T=null===(l=null===(u=e.options)||void 0===u?void 0:u.autoPlay)||void 0===l||l,L=null!==(s=null===(f=e.options)||void 0===f?void 0:f.manual)&&void 0!==s&&s,D=!(null===(d=e.options)||void 0===d||!d.stopOnHover)||L,A=Math.max(Math.max(500-C,0),null!==(p=null===(m=e.options)||void 0===m?void 0:m.duration)&&void 0!==p?p:0),M=Math.max(Math.max(500-C,0),null!==(v=null===(y=e.options)||void 0===y?void 0:y.manualDuration)&&void 0!==v?v:A),R=null!==(h=null===(g=e.options)||void 0===g?void 0:g.transitionCurve)&&void 0!==h?h:Vo,z=null!==(b=null===(w=e.options)||void 0===w?void 0:w.manualTransitionCurve)&&void 0!==b?b:R,F=null!==(S=null===(O=e.options)||void 0===O?void 0:O.oncePlayCount)&&void 0!==S?S:1,B=null!==(E=null===(j=e.options)||void 0===j?void 0:j.manualOncePlayCount)&&void 0!==E?E:1,U=Object(n.useRef)(null),W=Object(n.useRef)(null),H=Object(n.useRef)(0),q=Object(n.useRef)(0),V=Uo();Ho((function(){H.current=P?Math.round(U.current.children.length/2):U.current.children.length,V.initRoot(U.current),Array.from(U.current.children).forEach((function(t,r){V.observe(t,(function(){var n;if(V.unobserve(t),P)if(r>H.current-1){var o,i=U.current.children.item(r-H.current);V.unobserve(i),null===(o=e.onExposure)||void 0===o||o.call(e,r-H.current,i)}else{var a,c=U.current.children.item(r+H.current);V.unobserve(c),null===(a=e.onExposure)||void 0===a||a.call(e,r,t)}else null===(n=e.onExposure)||void 0===n||n.call(e,r,t)}))}))}),[]);var G=Object(n.useRef)(null),Y=Object(n.useRef)(null);function $(e){e.current&&(e.current.reset(),e.current=null)}function K(){return Vn({duration:A,interval:C,loop:P},X())}function X(){var t,r,n=Math.min(F,H.current),o=null===(t=W.current)||void 0===t?void 0:t.getLoopStartPosition(q.current,n),i=null===(r=W.current)||void 0===r?void 0:r.getLoopOffsetLength(q.current,n);return function(t){var r,a,c=R(t.progress)*i;null===(r=W.current)||void 0===r||r.scrollTo(o,c);var l=null===(a=W.current)||void 0===a?void 0:a.getCurrentPlayIndex(),u,s,f;q.current!=l&&(q.current=l,null===(u=e.onLoop)||void 0===u||u.call(e,q.current%H.current));1===t.progress&&(o=null===(s=W.current)||void 0===s?void 0:s.getLoopStartPosition(q.current,n),i=null===(f=W.current)||void 0===f?void 0:f.getLoopOffsetLength(q.current,n))}}function J(e){return Vn({duration:M,interval:0,loop:P},Z(e))}function Z(t){var r,n,o=Math.min(B,H.current);o=t?-o:o;var i=null===(r=W.current)||void 0===r?void 0:r.getLoopStartPosition(q.current,o),a=null===(n=W.current)||void 0===n?void 0:n.getLoopOffsetLength(q.current,o);return function(t,r){var n,o,c=z(t.progress)*a;null===(n=W.current)||void 0===n||n.scrollTo(i,c);var l=null===(o=W.current)||void 0===o?void 0:o.getCurrentPlayIndex(),u,s,f,d,p;q.current!=l&&(q.current=l,null===(u=e.onLoop)||void 0===u||u.call(e,q.current%H.current));"horizontal"===I&&e.rtl?(oe(!P&&(null===(s=W.current)||void 0===s?void 0:s.isEnd())),ce(!P&&(null===(f=W.current)||void 0===f?void 0:f.isStart()))):(oe(!P&&(null===(d=W.current)||void 0===d?void 0:d.isStart())),ce(!P&&(null===(p=W.current)||void 0===p?void 0:p.isEnd())));1===t.progress&&r.pause()}}function Q(){var e,t;(ee.current>0&&(clearTimeout(ee.current),ee.current=-1),null!==(e=G.current)&&void 0!==e&&e.playing()&&D)&&(null===(t=G.current)||void 0===t||t.pause())}Ho((function(){var t;return W.current=Yn(U.current,{direction:N,rtl:e.rtl,isLoop:P}),$(G),T?(G.current=K(),null===(t=G.current)||void 0===t||t.play(!0),function(){$(G)}):function(){}}),[T]);var ee=Object(n.useRef)(-1);function te(){var t;T&&D&&(ee.current=setTimeout((function(){var e,t,r;(ee.current=-1,G.current)?G.current.play():null!==(e=Y.current)&&void 0!==e&&e.playing()?null===(t=Y.current)||void 0===t||t.addFinishCallback((function(){var e;$(Y),G.current=K(),null===(e=G.current)||void 0===e||e.play(!0)})):(G.current=K(),null===(r=G.current)||void 0===r||r.play(!0))}),null!==(t=e.options.restoreInterval)&&void 0!==t?t:0))}var re=Object(n.useState)(!e.rtl&&!P),ne=re[0],oe=re[1],ie=Object(n.useState)(!!e.rtl&&!P),ae=ie[0],ce=ie[1];function le(t){var r;t.preventDefault(),$(G),null!==(r=Y.current)&&void 0!==r&&r.playing()||($(Y),Y.current=J(!e.rtl),Y.current.play())}function ue(t){var r;t.preventDefault(),$(G),null!==(r=Y.current)&&void 0!==r&&r.playing()||($(Y),Y.current=J(!!e.rtl),Y.current.play())}var se=Fo((function(){var e;q.current=null===(e=W.current)||void 0===e?void 0:e.getCurrentPlayIndex()}),100);return Ho((function(){var e=function e(t){Wo(t.target,U.current)&&Q()},t=function e(t){Wo(t.target,U.current)&&te()};return window.addEventListener("touchstart",e),window.addEventListener("touchend",t),function(){window.removeEventListener("touchstart",e),window.removeEventListener("touchend",t)}}),[]),o.a.createElement(o.a.Fragment,null,L&&o.a.createElement("div",{className:Te()(e.prevManualClassName,{disabled:ne}),style:e.prevManualStyle,onClick:le,onMouseEnter:Q,onMouseLeave:te},null===(_=e.renderManual)||void 0===_?void 0:_.call(e,"prev",ne)),o.a.createElement("div",{ref:U,className:Te()(zn.a.root,e.className),style:yr()({display:"flex",flexDirection:"horizontal"===I?"row":"column",direction:e.rtl?"rtl":"ltr"},null!==(x=e.style)&&void 0!==x?x:{}),onMouseEnter:Q,onMouseLeave:te,onScroll:se},e.children,(!L||P)&&e.children),L&&o.a.createElement("div",{className:Te()(e.nextManualClassName,{disabled:ae}),style:e.nextManualStyle,onClick:ue,onMouseEnter:Q,onMouseLeave:te},null===(k=e.renderManual)||void 0===k?void 0:k.call(e,"next",ae)))}function Yo(e){return(Yo="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 $o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ko(e){for(var t=1;t1,manual:!0,loop:!0,duration:1e3,direction:"top",interval:2e3}},m.map((function(e,t){return o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{key:t,className:vi.a.secondTipItem,style:bi({color:e.bannerSecondTipColor},e.bannerSecondTipFontSize?{fontSize:e.bannerSecondTipFontSize}:{})},e.bannerSecondTip,u&&o.a.createElement("a",{href:u,className:vi.a.bannerSecondTipArrowWrapper},o.a.createElement("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32"},o.a.createElement("path",{d:"M512 0c282.784 0 512 229.216 512 512s-229.216 512-512 512S0 794.784 0 512 229.216 0 512 0z m89.184 319.52a33.376 33.376 0 0 0-47.232 47.232l112.32 112.288-399.808-0.384-3.232 0.192a33.376 33.376 0 0 0 3.904 66.56l399.2 0.416-112.384 112.352a33.408 33.408 0 0 0-2.304 44.704l2.304 2.528a33.376 33.376 0 0 0 47.232 0l148.352-148.352A62.72 62.72 0 0 0 768 512.48a62.72 62.72 0 0 0-18.464-44.608z",fill:e.bannerSecondTipColor})))))})))),c&&o.a.createElement(jt.c,{className:vi.a.countDown,beforeTextStyle:{color:g},overStyle:{color:w},diceStyle:{color:O},splitStyle:{color:j},targetTime:+c,beforeText:l})))};return o.a.createElement(Nt,null,u?o.a.createElement("a",{href:u},o.a.createElement(_,null)," "):o.a.createElement(_,null))},ji=r(59),_i=r.n(ji);function xi(e){return(xi="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 ki(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Pi(e){for(var t=1;t").concat(c.amountCopyWriting,"")).replace("{1}","").concat(c.thresholdCopyWriting,"")).replace("{2}","").concat(c.maxDecreaseMoneyCopyWriting,""));return o.a.createElement(Nt,null,o.a.createElement("div",Pi(Pi({},t.floorExpStat),{},{exp_page_area:r,exp_type:"floor"}),o.a.createElement("a",{href:s,style:h,className:_i.a.box},o.a.createElement("div",{className:_i.a.item},o.a.createElement("span",{className:Te()(_i.a.text,_i.a["one-line"]),dangerouslySetInnerHTML:{__html:g}})))))},Di=r(8),Ai=r.n(Di),Mi=[[""",'"'],["&","&"],["<","<"],[">",">"],[" "," "]],Ri=function(e){return e&&"string"==typeof e?(Mi.forEach((function(t){e=e.replace(new RegExp("".concat(t[0]),"g"),t[1])})),e):""},zi=["className","fontSize","style"];function Fi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Bi(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function e(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i=!0,a=!1,c;return{s:function t(){r=r.call(e)},n:function e(){var t=r.next();return i=t.done,t},e:function e(t){a=!0,c=t},f:function e(){try{i||null==r.return||r.return()}finally{if(a)throw c}}}}function Gi(e,t){return Ji(e)||Xi(e,t)||$i(e,t)||Yi()}function Yi(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function $i(e,t){if(e){if("string"==typeof e)return Ki(e,t);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(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ki(e,t):void 0}}function Ki(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:{},r=t.containerId,o=Object(n.useState)(0),i=Gi(o,2),a=i[0],c=i[1];return Object(n.useEffect)((function(){var e=new ResizeObserver((function(e){var t=Vi(e),r;try{for(t.s();!(r=t.n()).done;){var n,o=r.value.contentRect.width;c(o)}}catch(e){t.e(e)}finally{t.f()}})),t="string"==typeof r?document.getElementById(r):r;return e.observe(null!=t?t:document.body),function(){e.disconnect()}}),[r]),{newWidth:a}};function ea(e){return(ea="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 ta(){return(ta=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r4?d(!0):d(!1)}),[m]),o.a.createElement(Nt,null,o.a.createElement("div",{id:"pine-slider"},o.a.createElement("div",ta({className:Te()(Ai.a["greeting-pine"])},na(na({},t.floorExpStat),{},{exp_page_area:k,exp_type:"floor"}),{id:"pc2023GreetingPine"}),o.a.createElement(Go,{rtl:t.rtl,style:{width:"100%",padding:"16px 0",position:"relative"},options:{autoPlay:f,manual:!0,loop:!0,duration:1e3,interval:2e3},prevManualClassName:Te()(Ai.a.loopBtn),nextManualClassName:Te()(Ai.a.loopBtn),prevManualStyle:{top:"calc(50% - 32px)",left:-16,backgroundPosition:"center"},nextManualStyle:{top:"calc(50% - 32px)",right:-16,backgroundPosition:"center",transform:"rotate(180deg)"},onLoop:function e(t){l(t)}},null==b?void 0:b.map((function(e,r){if("venue"===e.collectionType){var n,i,a=null==e||null===(n=e.products)||void 0===n?void 0:n[0],c=Ri(null==a?void 0:a.trace),l=na(na({},t.floorExpStat),{},{exp_page_area:k,exp_type:"item",ae_trace:c,biz_code:P}),u=na(na({},t.floorClickStat),{},{ae_page_area:k,ae_button_type:"item",ae_object_value:r,ae_trace:c,biz_code:P});if(j&&0===r&&(null===(i=e.products)||void 0===i?void 0:i.length)>=2){var s,f=null==e||null===(s=e.products)||void 0===s?void 0:s[1],d=Ri(null==f?void 0:f.trace),p=na(na({},l),{},{ae_trace:d}),m=na(na({},u),{},{ae_trace:d});return o.a.createElement("a",ta({key:r,href:"".concat(xe(e.collectionUrl,"".concat(null==a?void 0:a.id,",").concat(null==f?void 0:f.id)))},p,m),o.a.createElement("div",{style:C,className:Te()(Ai.a["product-container"]),key:e.title},o.a.createElement("div",{className:Ai.a["product-left"]},o.a.createElement("span",{className:Ai.a["product-sale-tag"]},E?o.a.createElement(Zr,{className:Ai.a.alignLeft,src:E,height:"28px"}):O&&o.a.createElement("span",null,O)),o.a.createElement("span",{className:Ai.a["product-title"],dangerouslySetInnerHTML:{__html:e.collectionTitle}})),o.a.createElement("div",{className:Ai.a["product-right"]},o.a.createElement("a",ta({href:"".concat(e.collectionUrl)},l,u),o.a.createElement(Zr,{width:88,height:88,className:Ai.a["product-image"]+" "+Ai.a["main-venue"],src:a.productImage,alt:e.collectionTitle})),o.a.createElement(Zr,{width:88,height:88,className:Ai.a["product-image"]+" "+Ai.a["main-venue"],src:f.productImage,alt:e.collectionTitle}),o.a.createElement("a",{href:_,target:"_blank"},o.a.createElement("span",{className:Ai.a.discount+" "+Ai.a["main-venue"]},x,o.a.createElement(Hi,{style:{transform:"rotate(180deg)",marginLeft:"4px"}}))))))}return a&&o.a.createElement("a",ta({href:"".concat(xe(e.collectionUrl,a.id))},l,u),o.a.createElement("div",{style:C,className:Te()(Ai.a["product-container"]),key:e.title},o.a.createElement("div",{className:Ai.a["product-left"]},o.a.createElement("span",{className:Ai.a["product-sale-tag"]},E?o.a.createElement(Zr,{className:Ai.a.alignLeft,src:E,height:"28px"}):O&&o.a.createElement("span",null,O)),o.a.createElement("span",{className:Ai.a["product-title"],dangerouslySetInnerHTML:{__html:e.collectionTitle}})),o.a.createElement("div",{className:Ai.a["product-right"]},o.a.createElement(Zr,{width:128,height:128,className:Ai.a["product-image"],src:a.productImage,alt:e.collectionTitle}),a.discount&&o.a.createElement("span",{className:Ai.a.discount}," -",a.discount,"%"))))}return null}))),(null!==(r=null==b?void 0:b.length)&&void 0!==r?r:0)>0&&o.a.createElement(qi,{rtl:t.rtl,className:Ai.a.counter},new Array(null==b?void 0:b.length).fill(0).map((function(e,t){return o.a.createElement("div",{key:t,className:Te()(Ai.a["counter-point"],oa({},Ai.a.checked,c===t))})}))))))},va=r(74),ya=r.n(va),ha=function e(t){var r=t.data,n=t.spmC,i=t.triggerFloorExpStat,a=t.triggerFloorClickStat,c=t.data,l,u=(void 0===c?{}:c).fields,s=void 0===u?{linkUrl:"",bigImage:""}:u;if(!r)return null;var f=s.linkUrl,d=s.bigImage;i({spmc:n,spmd:"0"});var p=function e(t){return Object(Wr.c)(t,{useWebp:!0})};return o.a.createElement("div",{style:{margin:"0 auto",padding:"24px 24px 0 24px",borderTopLeftRadius:"32px",borderTopRightRadius:"32px",backgroundColor:"#fff",maxWidth:"1664px",width:"fit-content"}},o.a.createElement(Nt,null,o.a.createElement("div",{"data-spc":n,className:ya.a["site-main"]},o.a.createElement("a",{href:f,target:"_blank",style:{cursor:f?"pointer":"default"},className:ya.a.link,onClick:function e(){a({spmc:n,spmd:"0"})}},o.a.createElement("img",{className:ya.a["site-image"],src:p(d),alt:""})))))};ha.ssrHeight=145;var ga=ha,ba=r(187),wa=r(51),Sa=r.n(wa);function Oa(e){var t=Object(n.useState)(),i=t[0],a=t[1];return Object(n.useEffect)((function(){var e;(y.Module.get("rcmd.gallery")||Promise.all([r.e(0),r.e(1),r.e(3)]).then(r.bind(null,297))).then((function(e){var t=e.default;a((function(){return t}))}))}),[]),i?o.a.createElement(i,e):null}function Ea(e,t){return Pa(e)||ka(e,t)||_a(e,t)||ja()}function ja(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _a(e,t){if(e){if("string"==typeof e)return xa(e,t);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(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?xa(e,t):void 0}}function xa(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r0?o.a.createElement("div",{className:Wa.a.discount},"-".concat(u,"%")):null,te&&o.a.createElement("div",{className:Wa.a["img-price"],id:"imgPrice",style:{backgroundImage:"url(".concat($("//ae01.alicdn.com/kf/Saf68e1c7f4d74bb59900d1dbded636adA/216x184.png"),")")}},o.a.createElement("span",{className:Wa.a["min-img-price"]},Y.localizedMinPriceString),o.a.createElement("span",{className:Wa.a["origin-img-price"]},Y.localizedOriMinPriceString)),ie&&u&&+u>0?o.a.createElement("div",{className:Wa.a["img-discount"],id:"imgDiscount",style:{backgroundImage:"url(".concat(se,")")}},o.a.createElement("span",{className:fe?Wa.a["discount-num"]:ge?Wa.a["discount-rtl-sub"]:Wa.a["discount-sub"],id:fe?"discountNum":ge?"discountRtlSub":"discountSub"},"".concat(u))):null))};function Qa(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=rc(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function e(){};return{s:o,n:function t(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function e(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i=!0,a=!1,c;return{s:function t(){r=r.call(e)},n:function e(){var t=r.next();return i=t.done,t},e:function e(t){a=!0,c=t},f:function e(){try{i||null==r.return||r.return()}finally{if(a)throw c}}}}function ec(e,t){return ic(e)||oc(e,t)||rc(e,t)||tc()}function tc(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function rc(e,t){if(e){if("string"==typeof e)return nc(e,t);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(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?nc(e,t):void 0}}function nc(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:{},r=t.containerId,o=t.defaultColumn,i=void 0===o?6:o,a=Object(n.useState)(i),c=ec(a,2),l=c[0],u=c[1],s=Object(n.useState)(0),f=ec(s,2),d=f[0],p=f[1],m=function e(t){u(t>=1680?i:i-1)};return Object(n.useEffect)((function(){var e=new ResizeObserver((function(e){var t=Qa(e),r;try{for(t.s();!(r=t.n()).done;){var n,o=r.value.contentRect.width;p(o),m(window.innerWidth)}}catch(e){t.e(e)}finally{t.f()}})),t="string"==typeof r?document.getElementById(r):r;return e.observe(null!=t?t:document.body),function(){e.disconnect()}}),[r]),{column:l,newWidth:d}};function lc(e){return(lc="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)}var uc=["spmc","title","titleImage","type","subTitle","backgroundColor","shopList","gop_biz_code","responsiveBlockId","handleClick","rowOptions","priceOptions","triggerProductExpStat","triggerProductClickStat","color"];function sc(){return(sc=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function hc(e,t){if(null==e)return{};var r={},n=Object.keys(e),o,i;for(i=0;i=0||(r[o]=e[o]);return r}var gc=function(e){var t=e.spmc,r=e.title,n=e.titleImage,i=e.type,a=e.subTitle,c=e.backgroundColor,l=void 0===c?"#F5F5F5":c,u=e.shopList,s=e.gop_biz_code,f=e.responsiveBlockId,d=void 0===f?"pc2023Structure":f,p=e.handleClick,m=e.rowOptions,v=e.priceOptions,y=e.triggerProductExpStat,h=e.triggerProductClickStat,g=e.color,b=void 0===g?"#191919":g,w=yc(e,uc),S,O=cc({containerId:d}).newWidth,E=9761185?o.a.createElement(x,null):o.a.createElement(k,null))},C=function e(){return o.a.createElement(x,null)};return o.a.createElement("div",{"data-spm":t,className:Ba.a["vn-main"],style:{backgroundColor:l}},o.a.createElement("div",{className:Ba.a["title-part"]},n?o.a.createElement("img",{className:Ba.a["img-title"],src:n,alt:""}):o.a.createElement(o.a.Fragment,null,r&&o.a.createElement("span",{className:Ba.a.title,style:{color:b}},r)),a&&o.a.createElement("span",{className:Ba.a["sub-title"]},a)),"old"===i?o.a.createElement(P,null):o.a.createElement(C,null))},bc=r(41),wc=r.n(bc),Sc=r(68);function Oc(){return(Oc=Object.assign?Object.assign.bind():function(e){for(var t=1;t1344&&f,h=(null==l?void 0:l[0])||"";return o.a.createElement("div",{"data-spm":t,className:wc.a["vs-main"],style:{backgroundColor:a}},o.a.createElement("div",{className:wc.a["title-part"]},n&&o.a.createElement("span",{className:wc.a.title},n),i&&o.a.createElement("span",{className:wc.a["sub-title"]},i)),o.a.createElement("div",{className:y?wc.a["slider-part"]:"".concat(wc.a["slider-part"]," ").concat(wc.a["flag-none"])},o.a.createElement(Sc.a,r,c&&c.map((function(e,r){d&&d({spmc:t,spmd:r,productId:e.productId,utLogMap:(null==e?void 0:e.trace)&&JSON.parse(e.trace).utLogMap||"",biz_code:h});var n={newProduct:e,option:{className:wc.a["new-card"],width:242,height:242,index:r,spmc:t,spmd:r+3,biz_code:h,isUseCorss:!0,isShowDiscountFlag:f,fallbackStyle:{currentStyle:{color:"#ff0000"}}}};return o.a.createElement(Za,Oc({key:r},n,{handleClick:p}))})))))},jc=r(114),_c=r.n(jc);function xc(e){return(xc="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 kc(){return(kc=Object.assign?Object.assign.bind():function(e){for(var t=1;t1344?o.a.createElement(S,null):o.a.createElement(O,null))};function qc(e){return(qc="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 Vc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Gc(e){for(var t=1;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function ll(e,t){if(null==e)return{};var r={},n=Object.keys(e),o,i;for(i=0;i=0||(r[o]=e[o]);return r}var ul=function(e){var t=e.spmc,r=e.type,n=e.title,i=e.titleColor,a=void 0===i?"#000":i,c=e.secTitle,l=e.titleImage,u=e.choiceIcon,s=e.subTitle,f=e.backgroundColor,d=e.shopList,p=e.gop_biz_code,m=e.responsiveBlockId,v=void 0===m?"pc2023Structure":m,y=e.triggerProductExpStat,h=e.triggerProductClickStat,g=cl(e,el),b,w=cc({containerId:v}).newWidth,S=w>1185?Zc.a["".concat(r,"-big-card")]:976=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Xl(e,t){if(null==e)return{};var r={},n=Object.keys(e),o,i;for(i=0;i=0||(r[o]=e[o]);return r}var Jl=function(e){var t=e.spmc,r=e.type,n=e.title,i=e.titleColor,a=void 0===i?"#191919":i,c=e.titleImage,l=e.choiceIcon,u=e.subTitle,s=e.secTitle,f=e.backgroundColor,d=e.shopList,p=e.gop_biz_code,m=e.responsiveBlockId,v=void 0===m?"pc2023Structure":m,y=e.triggerProductExpStat,h=e.triggerProductClickStat,g=Kl(e,Wl),b,w=cc({containerId:v}).newWidth,S=(null==p?void 0:p[0])||"",O=d&&_e(d,3).slice(0,3),E=w>1344?"big":11851344,m=r.spmc,v=r.fields;v.isShowDiscount=!1;var y=eu(eu({titleColor:"#FD384F",type:n,spmc:m},v),{},{shopList:null===(t=v.data[0])||void 0===t?void 0:t.products,isShowDiscount:null==v?void 0:v.isShowDiscount,isShowDiscountFlag:!v.isShowDiscount,triggerProductExpStat:c,triggerProductClickStat:l});return s("SD_small_data",y.shopList,3),i({spmc:m,spmd:y.title}),o.a.createElement("a",{href:null==v?void 0:v.url,target:"_blank",className:p?zl.a["SD-hori-small-content"]:"".concat(zl.a["SD-hori-small-content"]," ").concat(zl.a["flag-none"]),onClick:function e(){a({spmc:m,spmd:y.title})}},o.a.createElement(Jl,y))},iu=r(118),au=r.n(iu);function cu(e){return(cu="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 lu(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function uu(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);rMath.ceil(o)){var f=Math.max(Math.floor(Cs(a.fontSize)*o/c),7);l(f)}}}};return Is((function(){if(u.current&&u.current.parentNode){r.current=document.createElement("span"),r.current.style.position="fixed",r.current.style.visibility="hidden",u.current.parentNode.append(r.current);var e=new ResizeObserver((function(){s()})),t;return e.observe(u.current),new ResizeObserver((function(){s()})).observe(r.current),function(){u.current&&e.unobserve(u.current),r.current&&e.unobserve(r.current),r.current&&u.current&&u.current.parentNode&&u.current.parentNode.removeChild(r.current)}}}),[e]),o.a.createElement("span",{ref:u,className:e.className,style:Ds(Ds({},null!==(t=e.style)&&void 0!==t?t:{}),c?{fontSize:"".concat(c,"px")}:{})},e.children)}var Vs=function(e){var t=e.fields,r=e.trackInfo,i=t||{},a=i.saleTitleColor,c=i.saleTitle,l=i.saleIconImage,u=i.timeStamp,s=i.countDownBeforeText,f=i.countDownColor,d=i.countDownDateColor,p=i.splitDays,m=i.diceColor,v=i.splitColor,y=i.fullDiscountOffTextColor,h=i.fullDiscountMaxTextColor,g=i.fullDiscountEveryTextColor,b,w=i.tipsMap||{},S=w.acrossStoreFixedDiscountInfoCopyTemplateLine3,O=w.amountCopyWriting,E=w.acrossStoreFixedDiscountInfoCopyTemplateLine4,j=w.thresholdCopyWriting,_=w.acrossStoreFixedDiscountInfoCopyTemplateLine2,x=w.maxDecreaseMoneyCopyWriting;Object(n.useEffect)((function(){null==r||r.triggerFloorExpStat({spmc:r.discountSpmc,spmd:"floor"})}),[]);var k=null==S?void 0:S.replace(/\{0\}/g,O).replace(/\{1\}/g,j),P=null==E?void 0:E.replace(/\{0\}/g,O).replace(/\{1\}/g,j);return o.a.createElement("div",{className:Ps.a.container},o.a.createElement("div",{className:Ps.a.saleTip},l&&o.a.createElement("img",{src:l}),!l&&c&&o.a.createElement("span",{className:Ps.a.text,style:{color:a}},c),u&&o.a.createElement(jt.c,{splitDays:p,className:Ps.a.countDown,beforeTextStyle:{color:f},overStyle:{color:d},diceStyle:{color:m},splitStyle:{color:v},targetTime:+u,beforeText:s})),o.a.createElement(qs,{id:"big-sale-line1",className:Ps.a.line1,style:{color:y}},k),o.a.createElement(qs,{id:"big-sale-line2",className:Ps.a.line2,style:{color:g}},P),o.a.createElement("div",{className:Ps.a.line3,style:{color:h}},null==_?void 0:_.replace("{2}",x)))},Gs=r(119),Ys=r.n(Gs),$s=function(e){return e.COUPON="coupon",e.SD="SD",e.VENUE="venue",e.ENTRY="entry",e.RANKING="ranking",e}({}),Ks=r(86),Xs=r.n(Ks),Js=function e(t){return Object(Wr.c)(t,{compressQuality:!0,relativeQuality:!1,useWebp:!0})},Zs=function e(t){var r=t.spmd,n=t.triggerProductExpStat,o=t.spmc,i=t.i,a=t.biz_code,c=t.params,l={spmc:o,spmd:r,productId:null==i?void 0:i.id,trace:null==i?void 0:i.trace,biz_code:a,params:c};null==n||n(l)},Qs=function e(t){var r=t.triggerProductClickStat,n=t.spmc,o=t.spmd,i=t.i,a=t.biz_code,c=t.params,l={spmc:n,spmd:o,productId:null==i?void 0:i.id,trace:null==i?void 0:i.trace,biz_code:a,params:c};null==r||r(l)},ef=r(53),tf=r.n(ef),rf=function e(t){var r=t.collectionIcon,n=t.collectionTitle,i=t.collectionSubtitle,a=t.subTitleColor,c=t.titleColor;return o.a.createElement("div",{className:tf.a.header},o.a.createElement("div",{className:tf.a.titleWrap},o.a.createElement("img",{className:tf.a.icon,src:Js(r),alt:"icon"}),o.a.createElement("span",{title:n,className:tf.a.title,style:{color:c}},n)),o.a.createElement("div",{className:tf.a.text},o.a.createElement("div",{className:tf.a.subTitle,style:{color:a}},i)))},nf=function e(t){var r=t.common,n=t.children,i=t.bizCode,a=r||{},c=a.isSmallCard,l=a.collectionUrl;return o.a.createElement("a",{href:l,className:Xs.a.link,onClick:function e(){var t,n,o;null===(t=r.trackInfo)||void 0===t||null===(n=t.triggerFloorClickStat)||void 0===n||n.call(t,{spmc:null===(o=r.trackInfo)||void 0===o?void 0:o.mixedSpmc,spmd:"card_".concat(r.index)},null,"bizCode=".concat(i))}},o.a.createElement("div",{className:Xs.a.wrap,style:{width:c?"270px":"310px",margin:c?"0 14px":"0 16px"}},o.a.createElement(rf,r),n||null))},of=r(29),af=r.n(of);function cf(e){return(cf="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 lf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function uf(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r8;return null==Zs||Zs(jf({spmc:null===(n=r.trackInfo)||void 0===n?void 0:n.mixedSpmc,spmd:"card_"+r.index+"_product"+(Number(t)+1),i:e,params:"bizCode=SD;productId=".concat(e.id)},null==r?void 0:r.trackInfo)),o.a.createElement("a",{key:t,href:e.linkUrl,onClick:function n(){var o;null==Qs||Qs(jf({i:e,spmc:null===(o=r.trackInfo)||void 0===o?void 0:o.mixedSpmc,spmd:"card_"+r.index+"_product"+(Number(t)+1),params:"bizCode=SD;productId=".concat(e.id)},null==r?void 0:r.trackInfo))}},o.a.createElement("div",{className:Sf.a.cardWrap},o.a.createElement(Zr,{width:480,height:480,className:Sf.a.cardImg,src:e.productImage,alt:"product image"}),o.a.createElement("div",{className:Sf.a.content,style:{backgroundImage:"url(".concat(c?i:a,")"),fontSize:c?"18px":"14px",backgroundSize:"".concat(c?"128px":"110px"," auto")}},o.a.createElement(qs,{className:Sf.a.price,style:{color:null==r?void 0:r.sdProductTextColor,textAlign:"center",width:c?"110px":"92px"}},e.localizedMinPriceString))))})))},Cf=r(54),Nf=r.n(Cf);function If(e){return(If="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 Tf(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Lf(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r0})))}),[x.length]);var I={adaptiveHeight:!1,arrows:(null==C?void 0:C.length)>l,infinite:!0,rtl:ge,slidesToScroll:1,slidesToShow:l,touchMove:!0,autoplay:!0};return Object(n.useEffect)((function(){null==f||f.triggerFloorExpStat({spmc:f.mixedSpmc,spmd:"floor"})}),[]),!C||C.length<=0||!u?null:o.a.createElement("div",{className:i+" "+Ys.a.container,id:"bigSaleMixedContainer",style:{width:u}},o.a.createElement(Sc.a,Bf(Bf({},I),{},{className:"pc2023-default-slider"}),null==C?void 0:C.map((function(e,r){var n={collectionUrl:e.collectionUrl,collectionIcon:e.collectionIcon,collectionTitle:e.collectionTitle,collectionSubtitle:e.collectionSubtitle,subTitleColor:S,titleColor:w,venueProductTextColor:_,collectionId:e.collectionId,isSmallCard:s,trackInfo:f,index:e.index};return e.collectionBizCode===$s.COUPON?o.a.createElement(bf,{key:r,codeBackgroundImage1:p,codeBackgroundImage2:m,codeBackgroundImage3:v,codeBtnBgColor:g,codeBtnTextColor:h,codeTextColor:y,couponTip:b,coupons:e.coupons,common:n}):e.collectionBizCode===$s.SD?o.a.createElement(Pf,{key:r,url:t,sdPriceBigImg:O,sdPriceSmallImg:E,products:e.products,common:n}):e.collectionBizCode===$s.VENUE||e.collectionBizCode===$s.RANKING?o.a.createElement(Rf,{key:r,url:t,venueProductShowDiscount:j,products:e.products,common:n}):o.a.createElement(o.a.Fragment,null)}))))},Jf=r(61),Zf=r.n(Jf);function Qf(e){return(Qf="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 ed(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function td(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r=1680?(C(3),R("980px"),U(!1),L(y)):H>=1280?(R("654px"),C(2),U(!1),L(h)):(R("574px"),C(2),U(!0),L(g)))}),[H]),o.a.createElement("a",{href:b,onClick:function e(){c({spmc:null==s?void 0:s.spmc,spmd:"floor"})}},o.a.createElement("div",{id:"y2023-big-sale-card"},o.a.createElement(Nt,{style:{backgroundImage:"url(".concat(m,")"),backgroundColor:v,backgroundPosition:"center top",backgroundRepeat:"no-repeat",backgroundSize:"auto 100%",height:"600px"}},o.a.createElement("div",{className:sd.a.container},o.a.createElement("div",{className:sd.a.left,style:M?{maxWidth:"calc(100% - ".concat(M,")")}:{}},o.a.createElement(Vs,fd({},s,{trackInfo:d})),o.a.createElement(cd,{url:b,trackInfo:d,products:_,entryBtnImg:S,entryBtnColor:O})),o.a.createElement("div",{className:sd.a.right,style:{width:M}},o.a.createElement(ld,{className:sd.a.img,backgroundElementImg:T}),o.a.createElement(Xf,fd({trackInfo:d,isSmallCard:B,containerWidth:M,column:P,url:b,className:sd.a.card},f)))))))},bd=r(77),wd=r.n(bd),Sd=function(e){var t=e.data,r=e.spmC,i=e.triggerFloorExpStat,a=e.triggerFloorClickStat;if(!t)return null;var c=(null==t?void 0:t.fields)||{},l=c.image,u=c.link,s=c.height,f=c.bgColor;Object(n.useEffect)((function(){i({spmc:r,spmd:0})}),[]);var d=Object(Wr.c)(l,{useWebp:!0}),p,m;s&&(p={height:"".concat(s,"px"),with:"100%",background:"url(".concat(d,") no-repeat center center"),backgroundSize:"auto 100%"}),f&&(m={background:f});var v=function e(){a({spmc:r,spmd:"saleBanner"})};return o.a.createElement("div",{style:m},o.a.createElement(Nt,null,o.a.createElement("div",{className:wd.a.box,"data-spc":r},u?o.a.createElement("a",{className:wd.a.link,href:u,target:"_blank",style:p,onClick:v}):o.a.createElement("div",{className:wd.a.link,style:p}))))},Od=r(62),Ed=r.n(Od),jd=function e(t){var r=t.data,i=t.spmC,a=t.triggerFloorExpStat,c=t.triggerFloorClickStat;if(!r)return null;var l=(null==r?void 0:r.fields)||{},u=l.image,s=l.url,f=l.backgroundColor;if(!u)return null;Object(n.useEffect)((function(){a({spmc:i,spmd:"0"})}),[]);var d=Object(Wr.c)(u,{useWebp:!0}),p={width:"100%",background:"url(".concat(d,") no-repeat center center"),backgroundSize:"auto 100%"},m=function e(){c({spmc:i,spmd:"fullBanner"})};return o.a.createElement("a",{href:s,target:"_blank",className:Ed.a.container},o.a.createElement(Nt,{style:{backgroundColor:f,cursor:f?"pointer":"default"}},o.a.createElement("div",{className:Ed.a.box,"data-spc":i},s?o.a.createElement("img",{src:d,className:Ed.a.link,onClick:m}):o.a.createElement("div",{className:Ed.a.link,style:p}))))};jd.ssrHeight=160,jd.floorEmptyValidator=function(e){return!(null==e||!e.fields.image)};var _d=jd,xd=r(20),kd=r.n(xd);function Pd(e){return(Pd="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 Cd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Nd(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r16&&d(!0)}),[]),null!==(a=b)&&void 0!==a&&a.length?o.a.createElement(Nt,{"data-spm":"global-discover-more"},o.a.createElement("section",{className:zp.a.wrap},o.a.createElement("div",{className:zp.a.box,style:v?{height:"unset"}:{}},o.a.createElement("div",{className:zp.a.content,"data-role":"global-discover-more-content"},g?o.a.createElement("span",{className:zp.a.title},g):null,null===(c=b)||void 0===c?void 0:c.map((function(e,t){return o.a.createElement("span",{key:t,className:zp.a.keyword},o.a.createElement("a",{href:e.linkUrl},(null==e?void 0:e.keyword)||""))})))),f?o.a.createElement("img",{alt:"",className:v?zp.a.close:zp.a.open,src:"//ae01.alicdn.com/kf/Ha5a9d424edd045779172f9a4456d0e15t.png",onClick:S}):null)):null},Yp=r(120),$p=r.n(Yp),Kp=function(e){var t,r,n=(be(e.originData.data,Zd.PC2023_Home_Bottom_Banner)||{}).fields,i=void 0===n?{banner:"",url:""}:n;if(!i.banner)return null;var a=function e(t){return Object(Wr.c)(t,{compressQuality:!0,relativeQuality:!1,useWebp:!0})};return o.a.createElement(Nt,null,o.a.createElement("div",{className:$p.a.center},i.url?o.a.createElement("a",{href:xe(i.url),"aria-label":"banner"},o.a.createElement("img",{src:a(i.banner),alt:"home bottom banner"})):o.a.createElement("img",{src:a(i.banner),alt:"home bottom banner"})))},Xp=r(87),Jp=r.n(Xp),Zp=r(42),Qp=r.n(Zp),em=r(102),tm=r(154);function rm(e,t){return cm(e)||am(e,t)||om(e,t)||nm()}function nm(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function om(e,t){if(e){if("string"==typeof e)return im(e,t);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(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?im(e,t):void 0}}function im(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0?f(!0):(f(!1),c(!1))},m=function e(t){var r,n,o=null===globalThis||void 0===globalThis||null===(r=globalThis.Comet)||void 0===r||null===(n=r.util)||void 0===n?void 0:n.login;if(o)return o.run({loginType:"common",tab:t}).then((function(){window.location.reload()})).catch((function(){window.location.href="//login.aliexpress.com?return=".concat(encodeURIComponent(window.location.href))}));window.location.href="//login.aliexpress.com?return=".concat(encodeURIComponent(window.location.href))};return o.a.createElement("div",{className:"lgh-contain"},o.a.createElement("div",{className:"lgh-contain-btnbox"},o.a.createElement("div",{className:"lgh-contain-reg-btn ellipsis",onClick:function e(){return m(lm.Join)}},(null==t?void 0:t["user-join"])||"Register"),o.a.createElement("div",{className:"lgh-contain-pit"}),o.a.createElement("div",{className:"lgh-contain-login-btn ellipsis",onClick:function e(){return m(lm.Login)}},(null==t?void 0:t["user-sign"])||"Sign in")),s&&o.a.createElement("div",{className:"lgh-contain-sns-text ellipsis"},(null==t?void 0:t["other-sign"])||"Or continue with"),a&&o.a.createElement(jt.d,{afterLogin:d,snsDataCb:p,snsShowCount:4}))}var fm=sm;function dm(e){return(dm="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 pm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function mm(e){for(var t=1;t1344,m=r.spmc,v=r.fields;v.isShowDiscount=!1;var y=$m($m({type:n,spmc:m},v),{},{shopList:null===(t=v.data[0])||void 0===t?void 0:t.products,triggerProductExpStat:c,triggerProductClickStat:l});return s("weekly_data",y.shopList,3),i({spmc:m,spmd:y.title}),o.a.createElement("a",{href:null==v?void 0:v.url,className:p?Vm.a["SD-hori-small-content"]:"".concat(Vm.a["SD-hori-small-content"]," ").concat(Vm.a["flag-none"]),onClick:function e(){a({spmc:m,spmd:y.title})}},o.a.createElement(Jl,y))},Qm=r(43),ev=r.n(Qm);function tv(e,t){return av(e)||iv(e,t)||nv(e,t)||rv()}function rv(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function nv(e,t){if(e){if("string"==typeof e)return ov(e,t);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(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ov(e,t):void 0}}function ov(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:300,r=Object(n.useState)(t),o=tv(r,1),i=o[0],a=Object(n.useRef)(e),c=Object(n.useState)(e),l=tv(c,2),u=l[0],s=l[1],f=Object(n.useRef)(0);function d(e){a.current!==e&&(a.current=e,e?f.current=window.setTimeout((function(){s(!0)}),i):(f.current>0&&(clearTimeout(f.current),f.current=0),s(!1)))}return{get loading(){return a.current},showLoading:u,setLoading:d}}const lv=undefined;var uv={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let sv;const fv=new Uint8Array(16);function dv(){if(!sv&&(sv="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!sv))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return sv(fv)}var pv=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function mv(e){return"string"==typeof e&&pv.test(e)}var vv=mv;const yv=[];for(let e=0;e<256;++e)yv.push((e+256).toString(16).slice(1));function hv(e,t=0){return yv[e[t+0]]+yv[e[t+1]]+yv[e[t+2]]+yv[e[t+3]]+"-"+yv[e[t+4]]+yv[e[t+5]]+"-"+yv[e[t+6]]+yv[e[t+7]]+"-"+yv[e[t+8]]+yv[e[t+9]]+"-"+yv[e[t+10]]+yv[e[t+11]]+yv[e[t+12]]+yv[e[t+13]]+yv[e[t+14]]+yv[e[t+15]]}function gv(e,t=0){const r=hv(e,t);if(!vv(r))throw TypeError("Stringified UUID is invalid");return r}var bv=gv;function wv(e,t,r){if(uv.randomUUID&&!t&&!e)return uv.randomUUID();const n=(e=e||{}).random||(e.rng||dv)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(let e=0;e<16;++e)t[r+e]=n[e];return t}return hv(n)}var Sv=wv,Ov;function Ev(e){return(Ev="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 jv(e,t,r,n,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void r(e)}c.done?t(l):Promise.resolve(l).then(n,o)}function _v(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){jv(i,n,o,a,c,"next",e)}function c(e){jv(i,n,o,a,c,"throw",e)}a(void 0)}))}}function xv(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */xv=function e(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function e(t,r,n){return t[r]=n}}function s(e,t,r,n){var i=t&&t.prototype instanceof h?t:h,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:x(e,r,c)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var d="suspendedStart",p="suspendedYield",m="executing",v="completed",y={};function h(){}function g(){}function b(){}var w={};u(w,a,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(I([])));O&&O!==r&&n.call(O,a)&&(w=O);var E=b.prototype=h.prototype=Object.create(w);function j(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function r(o,i,a,c){var l=f(e[o],e,i);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==Ev(s)&&n.call(s,"__await")?t.resolve(s.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(s).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var i;o(this,"_invoke",{value:function e(n,o){function a(){return new t((function(e,t){r(n,o,e,t)}))}return i=i?i.then(a,a):a()}})}function x(t,r,n){var o=d;return function(i,a){if(o===m)throw new Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var l=k(c,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=m;var u=f(t,r,n);if("normal"===u.type){if(o=n.done?v:p,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=v,n.method="throw",n.arg=u.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function I(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--a){var c=this.tryEntries[a],l=c.completion;if("root"===c.tryLoc)return i("end");if(c.tryLoc<=this.prev){var u=n.call(c,"catchLoc"),s=n.call(c,"finallyLoc");if(u&&s){if(this.prev=0;--o){var i=this.tryEntries[o];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--r){var n=this.tryEntries[r];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(n),y}},catch:function e(t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc===t){var o=n.completion;if("throw"===o.type){var i=o.arg;C(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function t(r,n,o){return this.delegate={iterator:I(r),resultName:n,nextLoc:o},"next"===this.method&&(this.arg=e),y}},t}function kv(e){return new Nv(e,0)}function Pv(e){return function(){return new Cv(e.apply(this,arguments))}}function Cv(e){var t,r;function n(t,r){try{var i=e[t](r),a=i.value,c=a instanceof Nv;Promise.resolve(c?a.v:a).then((function(r){if(c){var l="return"===t?"return":"next";if(!a.k||r.done)return n(l,r);r=e[l](r).value}o(i.done?"return":"normal",r)}),(function(e){n("throw",e)}))}catch(e){o("throw",e)}}function o(e,o){switch(e){case"return":t.resolve({value:o,done:!0});break;case"throw":t.reject(o);break;default:t.resolve({value:o,done:!1})}(t=t.next)?n(t.key,t.arg):r=null}this._invoke=function(e,o){return new Promise((function(i,a){var c={key:e,arg:o,resolve:i,reject:a,next:null};r?r=r.next=c:(t=r=c,n(e,o))}))},"function"!=typeof e.return&&(this.return=void 0)}function Nv(e,t){this.v=e,this.k=t}Cv.prototype["function"==typeof Symbol&&Symbol.asyncIterator||"@@asyncIterator"]=function(){return this},Cv.prototype.next=function(e){return this._invoke("next",e)},Cv.prototype.throw=function(e){return this._invoke("throw",e)},Cv.prototype.return=function(e){return this._invoke("return",e)};var Iv="30000",Tv=Sv(),Lv=null===(Ov=y.cookie.getLocale())||void 0===Ov?void 0:Ov.split("_")[0],Dv=y.cookie.getLocale(),Av="CN"===y.cookie.getRegion()?"US":y.cookie.getRegion(),Mv=y.cookie.getCurrency();function Rv(){return zv.apply(this,arguments)}function zv(){return(zv=Pv(xv().mark((function e(){var t,r;return xv().wrap((function e(n){for(;;)switch(n.prev=n.next){case 0:return t=1,n.next=3,kv(Fv(t++));case 3:r=n.sent;case 4:return n.next=7,r;case 7:return n.prev=7,n.next=10,kv(Fv(t++));case 10:r=n.sent,n.next=17;break;case 13:n.prev=13,n.t0=n.catch(7),r={scm:"",result:[]},t--;case 17:n.next=4;break;case 19:case"end":return n.stop()}}),e,null,[[7,13]])})))).apply(this,arguments)}function Fv(e){return Bv.apply(this,arguments)}function Bv(){return(Bv=_v(xv().mark((function e(t){var r,n;return xv().wrap((function e(o){for(;;)switch(o.prev=o.next){case 0:return r={sceneId:Iv,appId:Iv,page:t,pageIndex:t,pageId:(null===globalThis||void 0===globalThis?void 0:globalThis.dmtrack_pageid)||"",pageSize:30,clientType:"pc",trafficType:"AFFILIATE",platform:"pc",shipToCountry:Av,shipTo:Av,countryId:Av,lang:Lv,locale:Dv,currency:Mv,afMoreToLoveNewCard:!0,scenario:"pcBestMore2Love",needSummaryFields:"image_names,marketing_imgs,total_tranpro3,average_star,wishlist_30d,free_ship_to,free_return,subject,subject_ml",streamId:Tv,acs_rt:y.cookie.get("xman_us_f","acs_rt"),cna:y.cookie.get("cna")||y.cookie.get("xman_us_f","acs_rt"),visitorId:y.cookie.get("cna")||y.cookie.get("xman_us_f","acs_rt"),userId:y.cookie.getMemberId(),buyerAliId:y.cookie.getMemberId(),"x-reqbiz-ext":encodeURIComponent("affi_params=".concat(y.cookie.get("xman_us_f","x_as_i"))),recommendInfo:JSON.stringify({cna:y.cookie.get("cna")||y.cookie.get("xman_us_f","acs_rt"),foreverRandomToken:y.cookie.get("xman_us_f","acs_rt")})},o.next=3,y.mtop.request({api:"mtop.relationrecommend.aliexpressrecommend.recommend",v:"1.0",timeout:1e4,data:{appId:Iv,params:JSON.stringify(r)},type:"POST"});case 3:return n=o.sent,o.abrupt("return",n.data);case 5:case"end":return o.stop()}}),e)})))).apply(this,arguments)}function Uv(e){return(Uv="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 Wv(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Hv(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:[];s.current>0&&(clearInterval(s.current),s.current=-1),0!==p.current.length&&v(r)||(p.current=r,l(new Array(Math.max(e.columns||1,1)).fill(0).map((function(){return[]}))),u.current=0,h.current=0),s.current=setInterval((function(){if(u.current>=r.length)return clearInterval(s.current),void(s.current=-1);y(r[u.current]),u.current++}),null!==(t=e.showInterval)&&void 0!==t?t:0)}function v(t){return e.indexKey?p.current.length<=t.length&&p.current.every((function(r,n){return r[e.indexKey]===t[n][e.indexKey]})):p.current.length<=t.length}function y(e){var t,r=null===(t=f.current)||void 0===t?void 0:t.children;if(r){var n=0;if("auto"===d){var o=r[0].scrollHeight;Array.from(r).forEach((function(e,t){o>e.scrollHeight&&(o=e.scrollHeight,n=t)})),c[n].push(e),l(ly(c))}else if("fixed"===d){var i=c[0].length;c.forEach((function(e,t){i>e.length&&(i=e.length,n=t)})),c[n].push(e),l(ly(c))}else"same"===d&&(c[0].push(e),l(ly(c)))}}Is((function(){f.current&&m(e.dataSource)}),[e.dataSource,f.current,c.length]),Object(n.useEffect)((function(){p.current=[],f.current&&m(e.dataSource)}),[e.columns]);var h=Object(n.useRef)(0);function g(){var t;return null===(t=e.renderLoading)||void 0===t?void 0:t.call(e)}return o.a.createElement(o.a.Fragment,null,o.a.createElement("div",{className:Te()(ty.a["water-fall"],e.className,iy(iy({},ty.a.rtl,e.rtl),ty.a["same-height"],e.sameHeight)),style:oy({},null!==(t=e.style)&&void 0!==t?t:{}),ref:f},e.sameHeight?null===(r=c[0])||void 0===r?void 0:r.map((function(t,r){var n,i,a,c,l,u,s,f,d=r%(null!==(n=e.columns)&&void 0!==n?n:1),p=Math.floor(r/(null!==(i=e.columns)&&void 0!==i?i:1));return o.a.createElement(Qv,{key:t[e.indexKey]||p,className:Te()(ty.a.ele,e.wrapperClassName),style:oy(iy(iy({width:"calc((100% - ".concat((null!==(a=e.columns)&&void 0!==a?a:1)-1," * ").concat(null!==(c=e.columnGap)&&void 0!==c?c:0,") / ").concat(null!==(l=e.columns)&&void 0!==l?l:1,")")},e.rtl?"marginLeft":"marginRight",d===(null!==(u=e.columns)&&void 0!==u?u:1)-1?0:null!==(s=e.columnGap)&&void 0!==s?s:0),"opacity",0),null!==(f=e.wrapperStyle)&&void 0!==f?f:{}),loadedStyle:{opacity:1},onload:function t(){var r;return null===(r=e.onCardShow)||void 0===r?void 0:r.call(e,h.current++)}},e.renderCard(t,r,p,d))})):c.map((function(t,r){var n,i;return o.a.createElement("div",{key:"".concat(c.length,"-").concat(r),className:Te()(ty.a.column,e.columnClassName,iy({},ty.a.rtl,e.rtl)),style:oy(iy({width:"".concat(100/c.length,"%")},e.rtl?"marginLeft":"marginRight",r===c.length-1?0:null!==(n=e.columnGap)&&void 0!==n?n:0),null!==(i=e.columnStyle)&&void 0!==i?i:{})},t.map((function(t,n){var i,a;return o.a.createElement(Qv,{key:t[e.indexKey]||n,className:Te()(ty.a.ele,e.wrapperClassName),style:oy({opacity:0},null!==(i=e.wrapperStyle)&&void 0!==i?i:{}),loadedStyle:{opacity:1},onload:function t(){var r;return null===(r=e.onCardShow)||void 0===r?void 0:r.call(e,h.current++)}},e.renderCard(t,n*(null!==(a=e.columns)&&void 0!==a?a:1)+r,n,r))})))}))),g())}function by(e){return(by="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 wy(){return(wy=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&r(c)?t>1?Xy(c,t-1,r,n,o):My(o,c):n||(o[o.length]=c)}return o}var Jy=Xy;function Zy(e){var t;return(null==e?0:e.length)?Jy(e,1):[]}var Qy=Zy;function eh(e){return(eh="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 th(){return(th=Object.assign?Object.assign.bind():function(e){for(var t=1;t1)return o.a.createElement(Go,{className:Te()(e.className,en.a["selling-points"]),style:e.style,options:{direction:"top",duration:1e3,interval:3e3,transitionCurve:function e(t){return t}}},(null!==(c=e.datasource)&&void 0!==c?c:[]).map((function(e,t){return o.a.createElement(ch,th({key:t},e))})));var l=null===(i=e.datasource)||void 0===i?void 0:i[0];return l&&l.materials.length>0?o.a.createElement("div",{className:Te()(e.className,en.a["selling-points"]),style:e.style},o.a.createElement(ch,l)):null}var uh=r(103);function sh(e){return(sh="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 fh(e,t,r){return(t=dh(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function dh(e){var t=ph(e,"string");return"symbol"==sh(t)?t:String(t)}function ph(e,t){if("object"!=sh(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=sh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function mh(e){var t;return o.a.createElement("div",{className:Te()(en.a.services,e.className,fh({},en.a.rtl,e.rtl)),style:e.style},(null!==(t=e.datasource)&&void 0!==t?t:[]).map((function(e,t){switch(e.type){case m.TEXT:return o.a.createElement("span",{key:t,className:en.a.text,style:e.style},e.value);case m.IMAGE:return o.a.createElement("img",{key:t,className:en.a.img,style:e.style,src:e.value,alt:""});default:return null}})))}function vh(e){var t,r,n=e.src?Object(Wr.c)(e.src,{compressQuality:!0,quality:90,compressedHeight:480,compressedWidth:480,useWebp:!0}):"";return o.a.createElement("div",{className:Te()(en.a["image-wrap"],en.a[null!==(t=e.display)&&void 0!==t?t:"normal"],en.a[null!==(r=e.fillType)&&void 0!==r?r:"width"],e.className),title:e.title,style:e.style},e.lazy&&o.a.createElement(_n,{height:0,style:{display:"inline-block"}},o.a.createElement("img",{className:en.a.image,src:n,alt:e.title,fetchpriority:e.fetchPriority})),!e.lazy&&o.a.createElement("img",{className:en.a.image,src:n,alt:e.title,fetchpriority:e.fetchPriority}),e.children)}var yh=r(63),hh=r.n(yh);function gh(e){return(gh="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 bh(){return(bh=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r0||Number(v.sale)>0)&&o.a.createElement("div",{style:{display:"flex",marginTop:2,height:16}},Number(v.star)>0&&o.a.createElement(fn,{rtl:e.rtl,style:Ph({},e.rtl?"marginLeft":"marginRight",4),displayType:"star",score:v.star,starStyle:{width:12}}),o.a.createElement("div",{style:{fontSize:12,color:"#757575"}},v.sale,"\xa0",o.a.createElement("span",{className:"one-line-text"},null!==(i=null===(a=e.i18n)||void 0===a?void 0:a.sold)&&void 0!==i?i:"sold")),o.a.createElement(mh,{style:{display:"flex"},datasource:v.saleTag,rtl:e.rtl})),o.a.createElement("div",{style:{marginTop:8}},o.a.createElement(Dy,bh({rtl:e.rtl,showOrigin:!(null==v||null===(c=v.sellingPoints)||void 0===c||!c.find((function(e){return e.materials.find((function(e){return e.type===m.DISCOUNT}))}))),minStyle:{wrapper:{display:"inline-block",color:"#191919",fontWeight:"bold",fontSize:12,height:24,lineHeight:"24px"},price:{fontSize:24}},originStyle:{wrapper:{display:"inline-block",textDecoration:"line-through",color:"#757575",fontSize:12,margin:"0 4px"}}},v))),(null!==(l=null===(u=v.sellingPoints)||void 0===u?void 0:u.length)&&void 0!==l?l:0)>0&&o.a.createElement(lh,{style:{marginTop:2,height:18},rtl:e.rtl,loop:!0,datasource:v.sellingPoints}),(null!==(s=null===(f=v.services)||void 0===f?void 0:f.length)&&void 0!==s?s:0)>0&&o.a.createElement(mh,{style:{marginTop:4},datasource:v.services,rtl:e.rtl})),g,b=wh(Object(n.useState)(!0===e.cardMode),2),w=b[0],S=b[1];return o.a.createElement("div",{className:Te()(hh.a["card-wrap"],e.cardWrapClassName),style:kh({zIndex:w?2:1},null!==(d=e.cardWrapStyle)&&void 0!==d?d:{}),onMouseEnter:function t(){"hover"===e.cardMode&&S(!0)},onMouseLeave:function t(){"hover"===e.cardMode&&S(!1)}},h,w&&o.a.createElement(Qv,{loadOffset:0,style:{opacity:0,transition:"opacity 150ms ease-in-out"},loadedStyle:{opacity:1}},o.a.createElement("div",{className:hh.a.content,style:e.cardStyle},null===(p=e.renderCard)||void 0===p?void 0:p.call(e,v))))}function Lh(e){return(Lh="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 Dh(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Dh=function e(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",l=i.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function e(t,r,n){return t[r]=n}}function s(e,t,r,n){var i=t&&t.prototype instanceof h?t:h,a=Object.create(i.prototype),c=new N(n||[]);return o(a,"_invoke",{value:x(e,r,c)}),a}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=s;var d="suspendedStart",p="suspendedYield",m="executing",v="completed",y={};function h(){}function g(){}function b(){}var w={};u(w,a,(function(){return this}));var S=Object.getPrototypeOf,O=S&&S(S(I([])));O&&O!==r&&n.call(O,a)&&(w=O);var E=b.prototype=h.prototype=Object.create(w);function j(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,t){function r(o,i,a,c){var l=f(e[o],e,i);if("throw"!==l.type){var u=l.arg,s=u.value;return s&&"object"==Lh(s)&&n.call(s,"__await")?t.resolve(s.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(s).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(l.arg)}var i;o(this,"_invoke",{value:function e(n,o){function a(){return new t((function(e,t){r(n,o,e,t)}))}return i=i?i.then(a,a):a()}})}function x(t,r,n){var o=d;return function(i,a){if(o===m)throw new Error("Generator is already running");if(o===v){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var l=k(c,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=m;var u=f(t,r,n);if("normal"===u.type){if(o=n.done?v:p,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=v,n.method="throw",n.arg=u.arg)}}}function k(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,k(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=f(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function I(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o=0;--a){var c=this.tryEntries[a],l=c.completion;if("root"===c.tryLoc)return i("end");if(c.tryLoc<=this.prev){var u=n.call(c,"catchLoc"),s=n.call(c,"finallyLoc");if(u&&s){if(this.prev=0;--o){var i=this.tryEntries[o];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--r){var n=this.tryEntries[r];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(n),y}},catch:function e(t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc===t){var o=n.completion;if("throw"===o.type){var i=o.arg;C(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function t(r,n,o){return this.delegate={iterator:I(r),resultName:n,nextLoc:o},"next"===this.method&&(this.arg=e),y}},t}function Ah(e){return zh(e)||Rh(e)||$h(e)||Mh()}function Mh(){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 Rh(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function zh(e){if(Array.isArray(e))return Kh(e)}function Fh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Bh(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r0),l=[].concat(Ah(s),Ah(a)),f(l),u.next=15;break;case 12:u.prev=12,u.t0=u.catch(1),console.error(u.t0);case 15:return u.prev=15,c.setLoading(!1),u.finish(15);case 18:case"end":return u.stop()}}),e,null,[[1,12,15,18]])})))).apply(this,arguments)}function O(e){if(!c.loading){if(e)x(5);else if(_<=0)return;w().then((function(){x((function(e){return e-1}))}))}}Object(n.useEffect)((function(){t.triggerFloorExpStat({spmc:t.spmC,spmd:"0"})}),[]),Object(n.useEffect)((function(){O(!0)}),[]);var E,j=Gh(Object(n.useState)(0),2),_=j[0],x=j[1],k,P=Gh(Object(n.useState)(!1),2),C=P[0],N=P[1];function I(e){var r,n;null===(r=window._mini_detail_)||void 0===r||null===(n=r.openMiniDetail)||void 0===n||n.call(r,{spmC:t.spmC,enableAddToCart:!0,requestParams:{productId:e}})}function T(e){var t;return["choice_atm","choice_day_atm","new_user_platform_allowance_atm","real_super_deals_atm","bigSale_atm","bigSale_warmup_atm","bigSale_real_super_deals_atm","bigSale_real_super_deals_warmup_atm"].includes(null!==(t=null==e?void 0:e.atmosphereCode)&&void 0!==t?t:"")}return o.a.createElement(Nt,{id:"more-to-love",className:ev.a.root},o.a.createElement("div",{className:ev.a.title},null!==(i=null==a?void 0:a.title)&&void 0!==i?i:"More to love"),o.a.createElement(gy,{rtl:t.rtl,indexKey:"itemId",dataSource:s,showInterval:50,columns:p.column,columnGap:16,sameHeight:!0,onCardShow:function e(r){var n;t.triggerProductExpStat({spmc:t.spmC,spmd:"d".concat(r),scm:b.current,productId:s[r].itemId,trace:JSON.stringify(s[r].trace),biz_code:(null===(n=t.gop_biz_code)||void 0===n?void 0:n[0])||String(t.gop_biz_code)||""}),N(0===_&&r>=s.length-p.column),s.length-r<=p.column&&O(!1)},wrapperClassName:Te()(ev.a["card-wrap"],ev.a["card-wrap-".concat(p.column,"}")]),wrapperStyle:{width:"calc((100% - ".concat(16*(p.column-1),"px) / ").concat(p.column,")")},renderCard:function e(r,n){return o.a.createElement(Th,{i18n:t.i18n.map,style:{width:"100%",marginBottom:16},rtl:t.rtl,keyMap:{id:"itemId",mainImage:"itemImage",sale:"totalSale",star:"averageStar",minPrice:"price",oriMinPrice:"maxPrice",localizedMinPriceInfo:"priceInfo",localizedOriMinPriceInfo:"maxPriceInfo",discount:"DISCOUNT",saleTag:function e(t){var r;return Qy(null===(r=t.saleTag)||void 0===r?void 0:r.sort((function(e,t){return t.priority-e.priority})).map((function(e){return e.materials}))).map((function(e){var t;return null!==(t=Bh(Bh({},e),{},{style:{background:"#F5F5F5",color:"#757575",marginLeft:4}}))&&void 0!==t?t:[]}))},sellingPoints:function e(t){var r,n,o=t.sellingPoints,e=void 0===o?[{materials:[],priority:0,atmosphereCode:""}]:o,i=t.pricePoints;if(0===(null==e?void 0:e.length)&&0===(null==i?void 0:i.length))return[];var a=null==i||null===(r=i[0])||void 0===r||null===(n=r.materials)||void 0===n?void 0:n[0];return e.sort((function(e,t){return t.priority-e.priority})).map((function(e){var r,n=Bh(Bh({},e),{},{materials:e.materials.map((function(e){return Bh(Bh({},e),{},{style:{height:"100%"}})})),style:{maxWidth:"100%",color:"#FD384F",fontSize:14,height:18,fontWeight:"bold",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"}}),o=(T(e)||T(null===(r=t.pricePoints)||void 0===r?void 0:r[0]))&&t.DISCOUNT;return a&&n.materials.push(Bh(Bh({},a),{},{style:{color:"#FD384F",fontWeight:"bold"}})),o&&n.materials.push({type:m.DISCOUNT,style:{color:"#FD384F",fontWeight:"bold"},value:t.DISCOUNT}),n}))},services:function e(t){var r,n,o;return Qy(null===(r=[].concat(Ah(null!==(n=t.choice)&&void 0!==n?n:[]),Ah(null!==(o=t.services)&&void 0!==o?o:[])))||void 0===r?void 0:r.sort((function(e,t){return t.priority-e.priority})).map((function(e){return e.materials}))).map((function(e){var t;return null!==(t=Bh(Bh({},e),{},{style:{height:16,color:"#191919"}}))&&void 0!==t?t:[]}))}},value:r,cardMode:"hover",onAddCart:function e(t){I(t.id)},onClick:function e(){var o,i;t.triggerProductClickStat({spmc:t.spmC,spmd:"d".concat(n),scm:b.current,productId:r.itemId,trace:JSON.stringify(null!==(o=r.trace)&&void 0!==o?o:""),biz_code:(null===(i=t.gop_biz_code)||void 0===i?void 0:i[0])||String(t.gop_biz_code)||""})},cardStyle:{width:"calc(100% + 32px)",height:"calc(100% + 60px)"},renderCard:function e(r){return o.a.createElement("div",{className:Te()(ev.a.action,ev.a["quick-view"]),onClick:function e(){I(r.id)}},o.a.createElement("span",{className:"one-line-text"},t.i18n.get("quick-view")))}})},renderLoading:function e(){return o.a.createElement("div",{style:{display:"flex",justifyContent:"center"}},_<=0&&C||!h?o.a.createElement("div",{className:Te()(ev.a.action,ev.a["show-more"]),style:{marginTop:8,marginBottom:48},onClick:function e(){g(!0),x(5),O(!0)}},o.a.createElement("span",{className:"one-line-text"},t.i18n.get("show-more"))):o.a.createElement("img",{height:24,style:{marginTop:20,marginBottom:60},src:"//ae01.alicdn.com/kf/He6d0c154d38c41f8a1054f48bf404c52H.gif",alt:""}))}}))};eg.ssrHeight=0;var tg=eg,rg=r(24),ng=r.n(rg);function og(e){return(og="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 ig(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ag(e){for(var t=1;t=0;--a){var c=this.tryEntries[a],l=c.completion;if("root"===c.tryLoc)return i("end");if(c.tryLoc<=this.prev){var u=n.call(c,"catchLoc"),s=n.call(c,"finallyLoc");if(u&&s){if(this.prev=0;--o){var i=this.tryEntries[o];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--r){var n=this.tryEntries[r];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(n),y}},catch:function e(t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc===t){var o=n.completion;if("throw"===o.type){var i=o.arg;C(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function t(r,n,o){return this.delegate={iterator:I(r),resultName:n,nextLoc:o},"next"===this.method&&(this.arg=e),y}},t}function Cg(e,t,r,n,o,i,a){try{var c=e[i](a),l=c.value}catch(e){return void r(e)}c.done?t(l):Promise.resolve(l).then(n,o)}function Ng(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Cg(i,n,o,a,c,"next",e)}function c(e){Cg(i,n,o,a,c,"throw",e)}a(void 0)}))}}function Ig(e,t){return Mg(e)||Ag(e,t)||Lg(e,t)||Tg()}function Tg(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Lg(e,t){if(e){if("string"==typeof e)return Dg(e,t);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(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Dg(e,t):void 0}}function Dg(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r1185?"big":9761185?o.a.createElement(o.a.Fragment,null,c(m,g,Fg.a.left),o.a.createElement("div",{className:"".concat(Fg.a["main-mid"])},c(v,g,Fg.a["mid-top"]),c(y,g,Fg.a["mid-bottom"])),c(h,g,Fg.a["main-right"])):o.a.createElement(o.a.Fragment,null,c(m,g,Fg.a["small-left"]),o.a.createElement("div",{className:Fg.a["small-right-main"]},c(v,g,Fg.a["right-top"]),o.a.createElement("div",{className:Fg.a["".concat(b,"-right-bottom-part")]},c(y,g,Fg.a["left-bottom"]),c(h,g,Fg.a["right-bottom"])))))};function Ug(e){return(Ug="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 Wg(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Hg(e){for(var t=1;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function fb(e,t){if(null==e)return{};var r={},n=Object.keys(e),o,i;for(i=0;i=0||(r[o]=e[o]);return r}function db(e){var t,r,n,i=e.className,a=e.style,c=e.rtl,l=sb(e,nb),u=null!==(t=e.off)&&void 0!==t?t:"",s=u.replace("{0}",""),f=o.a.createElement("div",{className:Te()(eb.a["round-discount-content"],eb.a["type-1-full"])},o.a.createElement("div",{className:Te()(eb.a["discount-off"])},s),o.a.createElement("div",{className:Te()(eb.a["discount-number"])},e.discount,o.a.createElement("span",{className:eb.a["discount-percent"]},"%"))),d=o.a.createElement("div",{className:Te()(eb.a["round-discount-content"],eb.a["type-2-full"])},o.a.createElement("div",{className:Te()(eb.a["discount-number"])},e.discount,o.a.createElement("span",{className:eb.a["discount-percent"]},"%")),o.a.createElement("div",{className:Te()(eb.a["discount-off"])},s)),p=o.a.createElement("div",{className:Te()(eb.a["round-discount-content"],eb.a["type-2-single"])},o.a.createElement("div",{className:eb.a["discount-number"]},e.discount),o.a.createElement("div",null,o.a.createElement("div",{className:eb.a["discount-percent"]},"%"),o.a.createElement("div",{className:eb.a["discount-off"]},s))),m=o.a.createElement("div",{className:Te()(eb.a["round-discount-content"],eb.a["type-simple"])},o.a.createElement("span",{className:eb.a["discount-minus"]},"-"),o.a.createElement("span",{className:eb.a["discount-number"]},e.discount),o.a.createElement("span",{className:eb.a["discount-percent"]},"%")),v;return v=u.indexOf("{0}")===u.length-3?s.length>6?m:f:s.length<=3?p:s.length<=6?d:m,o.a.createElement(rr,{href:xe(l.detailUrl,l.id),rtl:c,className:Te()(i,eb.a["item-card-big"]),style:a,key:l.id},o.a.createElement(vh,{className:eb.a.image,src:l.mainImage,title:l.title,display:"square",rtl:c,lazy:e.lazy,fetchPriority:null==e?void 0:e.fetchPriority},e.showDiscount&&o.a.createElement(tb,{style:{float:c?"left":"right"},rtl:c},v)),o.a.createElement(xy,{maxLine:1,className:eb.a["title-wrap"],style:{lineHeight:"18px"},rtl:c},l.title),o.a.createElement(qi,{rtl:c,style:{display:"flex",alignItems:"center",lineHeight:"16px"}},o.a.createElement(fn,{rtl:c,score:l.star,style:cb({display:"inline-block",whiteSpace:"nowrap"},c?"marginLeft":"marginRight",4),starStyle:{width:10},margin:1}),o.a.createElement(qi,{style:{position:"relative",top:1,display:"inline-block",fontSize:12,lineHeight:"16px",color:"#757575",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},rtl:c,title:"".concat(l.sale," ").concat(e.sold)},l.sale,"\xa0",e.sold)),o.a.createElement(qi,{rtl:c,className:eb.a["price-wrap"],style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},o.a.createElement(Dy,ob({rtl:c,minStyle:{wrapper:ab({display:"inline-block",color:"#FD384F",fontWeight:"bold",fontSize:16,height:20,lineHeight:"20px"},null!==(r=l.minPriceStyle)&&void 0!==r?r:{})},originStyle:{wrapper:ab({display:"inline",textDecoration:"line-through",color:"#757575",fontSize:12,margin:"0 4px"},null!==(n=l.oriPriceStyle)&&void 0!==n?n:{})}},l))))}function pb(e){return(pb="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 mb(e,t,r){return(t=vb(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vb(e){var t=yb(e,"string");return"symbol"==pb(t)?t:String(t)}function yb(e,t){if("object"!=pb(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=pb(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function hb(){return(hb=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&o.a.createElement(qi,{rtl:e.rtl,className:Zg.a.counter},new Array(null===(a=e.products)||void 0===a?void 0:a.length).fill(0).map((function(e,t){return o.a.createElement("div",{key:t,className:Te()(Zg.a["counter-point"],mb({},Zg.a.checked,u===t))})}))))}function _b(e){return(_b="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)}var xb=["className","style","rtl"];function kb(){return(kb=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Db(e,t){if(null==e)return{};var r={},n=Object.keys(e),o,i;for(i=0;i=0||(r[o]=e[o]);return r}function Ab(e){var t,r,n=e.className,i=e.style,a=e.rtl,c=Lb(e,xb);return o.a.createElement(rr,{href:xe(c.detailUrl,c.id),rtl:a,className:Te()(n,eb.a["item-card-small-horizontal"]),style:Cb({display:"flex"},null!=i?i:{}),key:c.id},o.a.createElement(qi,{rtl:a,className:"item-image",style:Nb({position:"relative",height:"100%",flexShrink:0},a?"marginLeft":"marginRight",8)},o.a.createElement(vh,{className:eb.a.image,style:Nb({},a?"marginLeft":"marginRight",8),src:c.mainImage,title:c.title,display:"square"})),o.a.createElement(qi,{rtl:a,style:{overflow:"hidden",display:"flex",flexDirection:"column",justifyContent:"center"}},o.a.createElement(xy,{maxLine:1,style:{lineHeight:"18px"}},c.title),o.a.createElement(qi,{rtl:a,className:eb.a["star-wrap"],style:{display:"flex",alignItems:"center",lineHeight:"16px"}},o.a.createElement(fn,{rtl:a,className:eb.a.score,score:c.star,style:Nb({display:"inline-block",whiteSpace:"nowrap"},a?"marginLeft":"marginRight",4),starStyle:{width:10},margin:1}),o.a.createElement(qi,{style:{position:"relative",top:1,display:"inline-block",fontSize:12,lineHeight:"16px",color:"#757575",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},rtl:a,title:"".concat(c.sale," ").concat(e.sold)},c.sale,"\xa0",e.sold)),o.a.createElement(qi,{rtl:a,className:eb.a["price-wrap"]},o.a.createElement(Dy,kb({rtl:a,minStyle:{wrapper:Cb({color:"#FD384F",fontWeight:"bold",fontSize:16,height:20,lineHeight:"20px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},null!==(t=c.minPriceStyle)&&void 0!==t?t:{})},originStyle:{wrapper:Cb({textDecoration:"line-through",color:"#757575",fontSize:12,height:14,lineHeight:"14px",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},null!==(r=c.oriPriceStyle)&&void 0!==r?r:{})}},c)))))}function Mb(e){return(Mb="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 Rb(){return(Rb=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function Jb(e,t){if(null==e)return{};var r={},n=Object.keys(e),o,i;for(i=0;i=0||(r[o]=e[o]);return r}function Zb(e){var t,r,n=e.className,i=e.style,a=e.rtl,c=e.showDiscount,l=void 0!==c&&c,u=Xb(e,Hb);return o.a.createElement(rr,{href:xe(u.detailUrl,u.id),rtl:a,className:Te()(n,eb.a["item-card-small-vertical"]),style:i,key:u.id},o.a.createElement(vh,{style:Yb({},a?"borderBottomRightRadius":"borderBottomLeftRadius","4px"),className:eb.a.image,src:u.mainImage,title:u.title,display:"square"},l&&o.a.createElement(qi,{style:Yb({position:"absolute",display:"inline-block",color:"#fff",fontSize:12,fontWeight:700,borderRadius:4,background:"#FD384F",lineHeight:"16px",padding:"0 4px",bottom:0},a?"right":"left",0)},"-",u.discount,"%")),o.a.createElement(qi,{rtl:a,className:eb.a["price-wrap"],style:{marginTop:4,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},o.a.createElement(Dy,qb({rtl:a,minStyle:{wrapper:Gb({display:"inline-block",color:"#FD384F",fontWeight:"bold",fontSize:15,height:20,lineHeight:"20px"},null!==(t=u.minPriceStyle)&&void 0!==t?t:{})},originClassName:{wrapper:Te()(Yb({},eb.a["hide-on-small-screen"],e.hideOriginPriceOnSmallScreen))},originStyle:{wrapper:Gb({display:"inline",textDecoration:"line-through",color:"#757575",fontSize:12,margin:"0 4px"},null!==(r=u.oriPriceStyle)&&void 0!==r?r:{})}},u))),o.a.createElement(qi,{rtl:a,className:eb.a["star-wrap"],style:{display:"flex",alignItems:"center",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},o.a.createElement(fn,{rtl:a,className:eb.a.score,score:u.star,style:Yb({display:"inline",whiteSpace:"nowrap"},a?"marginLeft":"marginRight",4),starStyle:{width:10},margin:1}),o.a.createElement(qi,{className:eb.a.sale,style:{position:"relative",top:1,fontSize:12,lineHeight:"16px",color:"#757575",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},rtl:a,title:"".concat(u.sale," ").concat(e.sold)},u.sale,"\xa0",e.sold)))}function Qb(e){return(Qb="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 ew(){return(ew=Object.assign?Object.assign.bind():function(e){for(var t=1;t0&&o.a.createElement(db,aw({className:Zg.a["item-0"]},l[0],{rtl:a,off:null===(t=e.i18n)||void 0===t?void 0:t.off,sold:null===(r=e.i18n)||void 0===r?void 0:r.sold,fetchPriority:p.HIGH})),o.a.createElement(qi,{rtl:a,className:Zg.a["small-items-wrap"]},l.slice(1,5).map((function(t,r){var n;return o.a.createElement(Zb,aw({key:r,className:Te()(Zg.a["item-small"],Zg.a["item-".concat(r+1)]),rtl:a,sold:null===(n=e.i18n)||void 0===n?void 0:n.sold},t,{hideOriginPriceOnSmallScreen:e.hideOriginPriceOnSmallScreen}))}))))}function fw(e){return(fw="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 dw(){return(dw=Object.assign?Object.assign.bind():function(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r-1}var xS=_S;function kS(e,t){var r=this.__data__,n=gS(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var PS=kS;function CS(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991}var jE=EE,_E="[object Arguments]",xE="[object Array]",kE="[object Boolean]",PE="[object Date]",CE="[object Error]",NE="[object Function]",IE="[object Map]",TE="[object Number]",LE="[object Object]",DE="[object RegExp]",AE="[object Set]",ME="[object String]",RE="[object WeakMap]",zE="[object ArrayBuffer]",FE="[object DataView]",BE,UE="[object Float64Array]",WE="[object Int8Array]",HE="[object Int16Array]",qE="[object Int32Array]",VE="[object Uint8Array]",GE="[object Uint8ClampedArray]",YE="[object Uint16Array]",$E="[object Uint32Array]",KE={};function XE(e){return jo(e)&&jE(e.length)&&!!KE[Oo(e)]}KE["[object Float32Array]"]=KE[UE]=KE[WE]=KE[HE]=KE[qE]=KE[VE]=KE[GE]=KE[YE]=KE[$E]=!0,KE["[object Arguments]"]=KE[xE]=KE[zE]=KE[kE]=KE[FE]=KE[PE]=KE[CE]=KE["[object Function]"]=KE[IE]=KE[TE]=KE[LE]=KE[DE]=KE[AE]=KE[ME]=KE[RE]=!1;var JE=XE;function ZE(e){return function(t){return e(t)}}var QE=ZE,ej=r(38),tj=ej.a&&ej.a.isTypedArray,rj,nj=tj?QE(tj):JE,oj,ij=Object.prototype.hasOwnProperty;function aj(e,t){var r=Gy(e),n=!r&&qy(e),o=!r&&!n&&Object(hE.a)(e),i=!r&&!n&&!o&&nj(e),a=r||n||o||i,c=a?yE(e.length,String):[],l=c.length;for(var u in e)!t&&!ij.call(e,u)||a&&("length"==u||o&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||SE(u,l))||c.push(u);return c}var cj=aj,lj=Object.prototype;function uj(e){var t=e&&e.constructor,r;return e===("function"==typeof t&&t.prototype||lj)}var sj=uj;function fj(e,t){return function(r){return e(t(r))}}var dj=fj,pj,mj=dj(Object.keys,Object),vj,yj=Object.prototype.hasOwnProperty;function hj(e){if(!sj(e))return mj(e);var t=[];for(var r in Object(e))yj.call(e,r)&&"constructor"!=r&&t.push(r);return t}var gj=hj;function bj(e){return null!=e&&jE(e.length)&&!qS(e)}var wj=bj;function Sj(e){return wj(e)?cj(e):gj(e)}var Oj=Sj;function Ej(e,t){return e&&mE(t,Oj(t),e)}var jj=Ej;function _j(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}var xj=_j,kj,Pj=Object.prototype.hasOwnProperty;function Cj(e){if(!Kn(e))return xj(e);var t=sj(e),r=[];for(var n in e)("constructor"!=n||!t&&Pj.call(e,n))&&r.push(n);return r}var Nj=Cj;function Ij(e){return wj(e)?cj(e,!0):Nj(e)}var Tj=Ij;function Lj(e,t){return e&&mE(t,Tj(t),e)}var Dj=Lj,Aj=r(124);function Mj(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++re.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&void 0!==arguments[1]?arguments[1]:"vertical";switch(e){case xk.NEW_USER:return Xg.SINGLE;case xk.NN:return Xg.BIG;case xk.WD:case xk.SD:case xk.CHOICE:return"vertical"===t?Xg.FOUR:Xg.THREE;default:return Xg.FALLBACK}}function Ck(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:kk;return e===xk.NN?{fallbackImg:t.bigBackup,fallbackLink:t.bigUrl}:{fallbackImg:t.smallBackup,fallbackLink:t.smallUrl}}function Nk(e,t){return e.map((function(e){return{id:String(e.productId),title:e.productTitle,mainImage:e.productImage,detailUrl:t?xe(t,e.productId):e.productDetailUrl,sale:e.orders,star:e.productAverageStar,discount:e.discount,minPrice:e.minPrice,oriMinPrice:e.oriMinPrice}}))}function Ik(e,t){return e.map((function(e){return{id:String(e.id),title:e.productTitle,mainImage:e.productImage,detailUrl:t?xe(t,e.id):e.productDetailUrl,sale:e.tradeCount,star:e.reviewStar,discount:e.discount,minPrice:e.minPrice,oriMinPrice:e.oriMinPrice,localizedMinPriceInfo:e.localizedMinPriceInfo,localizedOriMinPriceInfo:e.localizedOriMinPriceInfo,localizedMinPriceString:e.localizedMinPriceString,localizedOriMinPriceString:e.localizedOriMinPriceString,priceLocalConfig:e.priceLocalConfig}}))}function Tk(e){var t,r,n,o,i,a=(null!==(t=null==e||null===(r=e.data)||void 0===r||null===(n=r.hierarchy)||void 0===n||null===(o=n.structure)||void 0===o?void 0:o[e.data.hierarchy.root])&&void 0!==t?t:[]).filter((function(e){return[xk.NEW_USER,xk.WD,xk.NN,xk.SD,xk.CHOICE].find((function(t){return 0===e.indexOf("".concat(t,"_"))}))}));if(0===a.length)return[];var c=null===(i=Se(e,xk.BACK_UP)[0])||void 0===i?void 0:i.fields,l=a.map((function(t){var r,n,o,i,a,l,u,s,f,d,p,m,v,y,h,g=wk(we(t),1)[0],b=null==e||null===(r=e.data)||void 0===r||null===(n=r.data)||void 0===n?void 0:n[t];if(!b)return g===xk.NN?yk({floorName:"pc2023-big-fallback_backup",type:Xg.FALLBACK},Ck(g,c)):yk({floorName:"pc2023-small-fallback_backup",type:Xg.FALLBACK},Ck(g,c));var w=null===(o=b.fields.type)||void 0===o||null===(i=o[0])||void 0===i?void 0:i.value,S;return yk(yk({floorName:"".concat(b.type,"_").concat(b.id),type:Pk(g,w)},Ck(g,c)),{},{hideOriginPriceOnSmallScreen:b.fields.hideOriginPriceOnSmallScreen,products:g===xk.NEW_USER?Nk(null!==(a=null===(l=b.fields.items)||void 0===l||null===(u=l[0])||void 0===u||null===(s=u.content)||void 0===s?void 0:s.productList)&&void 0!==a?a:[],null===(f=b.fields.items)||void 0===f||null===(d=f[0])||void 0===d||null===(p=d.content)||void 0===p?void 0:p.url):Ik(null!==(m=null===(v=b.fields.data)||void 0===v?void 0:v[0].products)&&void 0!==m?m:[],b.fields.url)})}));if(l.length<2)for(var u=l.length;u<2;u++)l.push(yk({floorName:"pc2023-small-fallback_backup",type:Xg.FALLBACK},Ck(xk.WD,c)));var s=l.findIndex((function(e){return e.type===Xg.BIG}));if(-1===s&&l.splice(1,0,yk({floorName:"pc2023-big-fallback_backup",type:Xg.FALLBACK},Ck(xk.NN,c))),1!==s){var f=l.splice(s,1);l.splice(1,0,f[0])}if(l.length<4)for(var d=l.length;d<4;d++)l.push(yk({floorName:"pc2023-small-fallback_backup",type:Xg.FALLBACK},Ck(xk.WD,c)));return l.length>4&&l.splice(4,l.length-4),l}function Lk(e){var t;if(Se(e,xk.NEW_USER)[0]){var r,n,o,i=pk(e),a=Se(i,xk.NEW_USER)[0];if(!a)return i;var c=null!==(r=null===(n=a.fields.items)||void 0===n?void 0:n[0])&&void 0!==r?r:{};return delete a.fields.items,a.fields=yk(yk({},a.fields),null!==(o=c.content)&&void 0!==o?o:{}),i}return e}function Dk(e){var t,r,i,a=e.originData,c=null!==(t=a.data)&&void 0!==t?t:{},l=c.data,u=c.hierarchy;if(!a.data||!l||!u)return null;Object(n.useEffect)((function(){try{var e,t,r;null===(e=window)||void 0===e||null===(t=e._side_cart_)||void 0===t||t.initSideCart({siteType:"followCartHomePage",scene:"home"}),$w(),Xw("gdpr"),Qw(null!==(r=null==a?void 0:a.abtest_key)&&void 0!==r?r:"")}catch(e){console.error(e)}}),[]);var s=null!==(r=null===(i=Se(e.originData,Zd.PC_I18N)[0])||void 0===i?void 0:i.fields)&&void 0!==r?r:{},f=Lk(e.originData),d=Tk(e.originData);return o.a.createElement("div",{className:"new-affiliate"},o.a.createElement("svg",{style:{position:"fixed",top:-99999,width:0,height:0}},o.a.createElement("defs",null,o.a.createElement("clipPath",{id:"star-clip"},o.a.createElement("path",{d:"M11.124,3.6915 L8.94499999,8.05000001 L4.07500001,8.74999999 C3.80252307,8.78870325 3.55018906,8.91548485 3.35650001,9.111 L3.26650001,9.213 C2.87600002,9.705 2.91550001,10.418 3.37900001,10.8645 L6.903,14.2575 L6.07150001,19.0495 C6.02486786,19.3186008 6.06938667,19.5955677 6.198,19.8365 L6.26800001,19.9525 C6.63012588,20.477873 7.32683839,20.6513009 7.893,20.357 L12.25,18.094 L16.6065,20.357 C16.8514098,20.4839722 17.1310252,20.5276785 17.403,20.4815 L17.528,20.4535 C18.1449076,20.2872539 18.5345094,19.679475 18.428,19.0495 L17.5955,14.2575 L21.1205,10.8645 C21.3185,10.6745 21.447,10.4245 21.487,10.155 L21.499,10.0285 C21.5224297,9.38976737 21.0581946,8.83713744 20.425,8.74999999 L15.554,8.05000001 L13.3755,3.6915 C13.2525684,3.44626753 13.0522327,3.24839214 12.8055,3.12850001 C12.184,2.82550001 11.431,3.07750001 11.124,3.6915 Z"})))),o.a.createElement(np,{originData:a}),o.a.createElement(rp,{originData:a}),o.a.createElement(Pp,{originData:a}),o.a.createElement(ap,{originData:a}),o.a.createElement(cp,{originData:a}),o.a.createElement(lp,{originData:a}),o.a.createElement(up,{originData:a}),o.a.createElement(sp,{originData:a}),o.a.createElement(fp,{originData:a}),o.a.createElement(fS,{originData:a}),0!==d.length&&o.a.createElement(Ow,{className:"margin-top-small",originData:f,wrapper:Np,dataSource:d,rtl:ge,i18n:s}),o.a.createElement(_g,{className:"margin-top-common",originData:a}),o.a.createElement(jg,{className:Te()("margin-top-common","choice-slider"),originData:a}),o.a.createElement(Eg,{className:"margin-top-common",originData:a}),o.a.createElement(tp,null))}var Ak,Mk,Rk,zk,Fk={gdpr:a,gopFloor:function e(t){var r=t.data;Object(n.useEffect)((function(){}),[]);var i=r.isAffiliate,a;return void 0===i||i?o.a.createElement(Dk,{originData:r}):o.a.createElement(cS,{originData:r})},crossLink:function e(t){var r=t.data;return o.a.createElement("div",null)}},Bk={};window._dida_config_=window._dida_config_||{},Object.assign(window._dida_config_,{componentMap:Fk,modelMap:Bk});var Uk=r(89),Wk=r(184);function Hk(){var e,t=Object(Uk.useData)().loading;return Object(n.useEffect)((function(){if(!t){var e=document.getElementById("placeholder-ele");e&&(e.style.display="none")}}),[t]),o.a.createElement(Uk.Container,null)}var qk=Hk;window._dida_engine_.render.runApp(qk)},function(e,t,r){"use strict";r.r(t),r.d(t,"engine",(function(){return W})),r.d(t,"Container",(function(){return q})),r.d(t,"runApp",(function(){return V})),r.d(t,"useData",(function(){return G}));var n=r(16),o=r.n(n),i=r(2),a=r.n(i),c=r(9),l=r.n(c),u=r(125),s=r.n(u),f=r(3),d=r(188),p=r(189);window._dida_config_=window._dida_config_||{};var m=window._dida_config_,v=m.pageName,y=m.pageVersion,h=m.passQuery,g=void 0!==h&&h,b=m.headers,w=void 0===b?{}:b,S=m.needLogin,O=void 0!==S&&S,E=m.autoLogin,j=void 0!==E&&E,_=m.group,x=m.data,k=void 0===x?{}:x,P=m.plugins,C=void 0===P?[]:P,N=m._init_data_,I=m.componentMap,T=m.modelMap,L="/fn/"+v+"/index";if(k.pageVersion=y,O&&(k.needLogin=!0),g){var D=Object(d.b)(location.search);Object.assign(k,D)}_&&(k.group=_);var A={url:L,withCredentials:!0,headers:w,data:k},M=Date.now(),R={requestWillRespond:function e(t){var r=t.data;return null!=r&&r.data?r.data:null},requestDidRespond:function e(t){var r;"init"===t.type&&(f.util.tracker.sendPagePerfDataComplete(),F?f.util.tracker.sendApiSuccess(L,"success",F.costTime):f.util.tracker.sendApiSuccess(L,"success",Date.now()-M))},requestDidError:function e(t){var r=t.type,n=t.error;"init"===r&&(f.util.tracker.sendPagePerfDataComplete(),F?f.util.tracker.sendApiError(L,F.msg,F.costTime):f.util.tracker.sendApiError(L,n,Date.now()-M))}},z={requestConfig:{requestLib:f.request,initParams:A,asyncParams:a()({},A,{method:"post"})},plugins:[R].concat(C),componentMap:I,modelMap:T},F,B;if(window.__INIT_DATA_CALLBACK__){var U=new Promise(window.__INIT_DATA_CALLBACK__);U.then((function(e){F=e})).catch((function(e){F=e})),Object.assign(z,{data:U})}(N&&Object.assign(z,{data:N}),O||j)&&(Object.assign(z,{loginConfig:{needLogin:O,autoLogin:j,loginHandle:{init:function e(){window.location.href="//login.aliexpress.com/?return_url="+encodeURIComponent(location.href)},async:function e(){return o()(l.a.mark((function e(){return l.a.wrap((function e(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,f.util.login.run();case 2:location.reload();case 3:case"end":return t.stop()}}),e)})))()}}}}),f.cookie.isLoggedIn()||z.loginConfig.loginHandle.init());var W=new s.a(z);window._dida_engine_=W,Object(p.a)(W.context.ultron.readyPromise.then((function(e){var t=null==e?void 0:e.global.experiments;return t?t.map((function(e){return e.UTABTest?e.UTABTest:"aliabtest"+e.releaseId+"_"+e.variationId})).join("."):""})));var H=W.render,q=H.Container,V=H.runApp,G=H.useModel,Y=t.default=W},function(e,t,r){"use strict";r.d(t,"a",(function(){return w}));var n=r(2),o=r.n(n),i=r(16),a=r.n(i),c=r(36),l=r.n(c),u=r(9),s=r.n(u),f=r(0),d=r.n(f),p=r(82),m=r(94),v=["data","style","type","extInfo","autoRequest","dataTransfer","afterRequest","replaceFirstResponseData"],y=["data"],h={page:1,pageSize:10,realReffer:Object(m.c)()};function g(e){var t,r,n,o;if(e){var i=e.modsStyle,a=null===(t=e.pageInfo)||void 0===t?void 0:t.displayStyle,c=(null===(r=e.mods)||void 0===r?void 0:r.listItems)||(null===(n=e.mods)||void 0===n||null===(o=n.itemList)||void 0===o?void 0:o.content)||[],l=e||{},u=l.pageInfo,s=l.extInfo,f,d;return{data:c,style:i,displayStyle:a,finished:(u||{}).finished,pageInfo:u,extInfo:s}}}var b=function(){function e(e,t){var r=this,n=e.data,i=e.style,c=e.type,u=e.extInfo,f=e.autoRequest,d=void 0===f||f,m=e.dataTransfer,b=e.afterRequest,w=e.replaceFirstResponseData,S=l()(e,v);this.error=!1,this.loading=!0,this.finished=!1,this.data=null,this.style=null,this.pageInfo=void 0,this.extInfo=void 0,this.res=void 0,this.isNew=void 0,this.afterRequest=void 0,this.type=void 0,this.dataTransfer=void 0,this.params=void 0,this.update=void 0,this.request=function(){var e=a()(s.a.mark((function e(t){var n,i;return s.a.wrap((function e(a){for(;;)switch(a.prev=a.next){case 0:return!r.loading&&(r.loading=!0,r.update()),a.next=3,Object(p.a)(o()({},r.params));case 3:i=a.sent,null===(n=r.afterRequest)||void 0===n||n.call(r,i),r.dataHandler(i,t),r.update();case 7:case"end":return a.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),this.dataHandler=function(e,t){var n=r.dataTransfer(e);r.isNew=!(null==n||!n.modsStyle),r.res=e;var o=g(n);if(o){var i,a,c=o.data,u=l()(o,y);r.error=!1,r.loading=!1,r.data=t?t(c):c,r.data=null===(i=r.data)||void 0===i?void 0:i.slice(0,r.params.page*r.params.pageSize),r.params.page+=1,r.params.streamId=null==u||null===(a=u.extInfo)||void 0===a?void 0:a.streamId,Object.assign(r,u)}else r.error=!0,r.loading=!1},this.loadMore=function(){r.request((function(e){return[].concat(r.data||[],e)}))},this.params=Object.assign({},h,S),this.extInfo=u,this.data=n,this.style=i,this.type=c,this.dataTransfer=m||function(e){var t,r;return null==e||null===(t=e.data)||void 0===t||null===(r=t.result)||void 0===r?void 0:r[0]},this.data&&(this.isNew=!!i),w&&this.dataHandler(w),this.afterRequest=b,this.loading=!n,this.update=t,w||this.data||!d||"undefined"==typeof window||this.request()}var t;return e.prototype.updateParams=function e(t){this.data=[],this.loading=!0,this.update(),this.params=Object.assign({},this.params,t),this.request()},e}();function w(e,t){void 0===e&&(e={});var r,n=Object(f.useReducer)((function(){return{}}),{})[1],o;return Object(f.useMemo)((function(){return t||new b(e,n)}),[])}},function(e,t,r){"use strict";r.d(t,"b",(function(){return o})),r.d(t,"a",(function(){return i}));var n=r(31),o=function e(t){var r=Object.create(null);return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach((function(e){var t=e.replace(/\+/g," ").split("="),n=t.shift(),o=t.length>0?t.join("="):void 0;if(void 0===o)o=null;else try{o=decodeURIComponent(o)}catch(e){}r[n]=o})),r):r},i=n.d?function(e){return Object(n.b)(e)}:function(e){var t,r=window.location.href;try{r=decodeURI(r)}catch(e){}var n=new RegExp("("+e+"=)(.*?)([;&?#]|$)");return(null===(t=r.match(n))||void 0===t?void 0:t[2])||""}},function(e,t,r){"use strict";r.d(t,"a",(function(){return v}));var n=r(16),o=r.n(n),i=r(9),a=r.n(i),c=r(31),l=r(2),u=r.n(l),s=function e(t){if(window.goldlog&&window.goldlog.getMetaInfo){var r=window.goldlog.getMetaInfo("aplus-exdata");r&&r.UTABTest&&-1===r.UTABTest.indexOf(t)?window.goldlog.appendMetaInfo("aplus-exdata",u()({},r,{UTABTest:r.UTABTest+"."+t})):window.goldlog.appendMetaInfo("aplus-exdata",{UTABTest:""+t});var n=window.goldlog.getMetaInfo("aplus-cpvdata");n&&n.UTABTest&&-1===n.UTABTest.indexOf(t)?window.goldlog.appendMetaInfo("aplus-cpvdata",u()({},n,{UTABTest:n.UTABTest+"."+t})):window.goldlog.appendMetaInfo("aplus-cpvdata",{UTABTest:""+t})}else{var o=window.goldlog_queue||(window.goldlog_queue=[]);if(Array.isArray(window.goldlog_queue)){var i=window.goldlog_queue.filter((function(e){var t;return"goldlog.appendMetaInfo"===(null==e?void 0:e.action)&&"aplus-exdata"===(null==e||null===(t=e.arguments)||void 0===t?void 0:t[0])}));if(null!=i&&i.length){var a=i[0].arguments[1].UTABTest;a&&-1===a.indexOf(t)&&(i[0].arguments[1].UTABTest=a+"."+t)}else o.push({action:"goldlog.appendMetaInfo",arguments:["aplus-exdata",{UTABTest:t}]})}if(Array.isArray(window.goldlog_queue)){var c=window.goldlog_queue.filter((function(e){var t;return"goldlog.appendMetaInfo"===(null==e?void 0:e.action)&&"aplus-cpvdata"===(null==e||null===(t=e.arguments)||void 0===t?void 0:t[0])}));if(null!=c&&c.length){var l=c[0].arguments[1].UTABTest;l&&-1===l.indexOf(t)&&(c[0].arguments[1].UTABTest=l+"."+t)}else o.push({action:"goldlog.appendMetaInfo",arguments:["aplus-cpvdata",{UTABTest:t}]})}}},f=function e(t){try{t&&s(t)}catch(e){console.error(e)}};function d(e){var t=window.goldlog_queue||(window.goldlog_queue=[]),r,n,o;(e&&f(e),Array.isArray(t))?r=t.some((function(e){return"goldlog.sendPV"===e.action})):r=(null===(n=window.goldlog)||void 0===n||null===(o=n._$)||void 0===o?void 0:o.send_pv_count)>0;!r&&t.push({action:"goldlog.sendPV",arguments:[{is_auto:!1}]})}function p(){return m.apply(this,arguments)}function m(){return(m=o()(a.a.mark((function e(){var t,r,n;return a.a.wrap((function e(o){for(;;)switch(o.prev=o.next){case 0:t=[];case 1:if(0===window._abTestQueue_.length){o.next=10;break}return r=window._abTestQueue_.slice(0),window._abTestQueue_.length=0,o.next=6,Promise.all(r.map((function(e){return e.catch((function(e){}))})));case 6:n=o.sent,t=t.concat(n),o.next=1;break;case 10:d(t.filter(Boolean).join("."));case 11:case"end":return o.stop()}}),e)})))).apply(this,arguments)}var v=function(){var e=o()(a.a.mark((function e(t){var r,n;return a.a.wrap((function e(o){for(;;)switch(o.prev=o.next){case 0:if(!c.d){o.next=2;break}return o.abrupt("return");case 2:document.querySelector('meta[name="aplus-waiting"]')||((r=document.createElement("meta")).setAttribute("name","aplus-waiting"),r.setAttribute("content","MAN"),document.head.appendChild(r)),Array.isArray(t)||(t=[t]),n=!window._abTestQueue_,window._abTestQueue_=(window._abTestQueue_||[]).concat(t),n&&p();case 7:case"end":return o.stop()}}),e)})));return function t(r){return e.apply(this,arguments)}}()},function(e,t){e.exports=Comet.request}]);