define("@ali/lzdrwb-smart-banner/index", [], function(require, exports, module) {module.exports=function(e){var n={};function o(t){if(n[t])return n[t].exports;var i=n[t]={i:t,l:!1,exports:{}};return e[t].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=e,o.c=n,o.d=function(e,n,t){o.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,n){if(1&n&&(e=o(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(o.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)o.d(t,i,function(n){return e[n]}.bind(null,i));return t},o.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(n,"a",n),n},o.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},o.p="",o(o.s=13)}([function(e,n,o){"use strict";n.__esModule=!0,n._goldlog=a,n.click=function(e,n){void 0===n&&(n={});a(e,"CLK",t(t({},n||{}),r()))},n.exposure=function(e,n){void 0===n&&(n={});a(e,"EXP",t(t({},n||{}),r()))},n.region=void 0;var t=function(){return(t=Object.assign||function(e){for(var n,o=1,t=arguments.length;o<t;o++)for(var i in n=arguments[o])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e}).apply(this,arguments)},i=window.g_config&&window.g_config.regionID||"sg";n.region=i.toLowerCase();function a(e,n,o){var t,i;if(void 0===o&&(o={}),!e)throw new Error("logKey is required");var a=window.goldlog_queue||(window.goldlog_queue=[]),r=Object.keys(o),l=[];r.forEach((function(e){var n=encodeURIComponent(e),t=encodeURIComponent(o[n]);l.push("".concat(n,"=").concat(t))})),window.goldlog&&l.push("spm=".concat(null===(i=null===(t=window.goldlog)||void 0===t?void 0:t.spm_ab)||void 0===i?void 0:i.join("."))),a.push({action:"goldlog.record",arguments:[e,n,l.join("&")]})}var r=function(){var e,n,o,t,i,a;return{pageType:(null===(n=null===(e=window.__lzdCallApp)||void 0===e?void 0:e.options)||void 0===n?void 0:n.from)||"gcp",autoOpen:(null===(t=null===(o=window.__lzdCallApp)||void 0===o?void 0:o.strategy)||void 0===t?void 0:t.autoOpen)||"undefined",disableSmb:(null===(a=null===(i=window.__lzdCallApp)||void 0===i?void 0:i.strategy)||void 0===a?void 0:a.disableSmb)||"undefined"}}},function(e,n,o){"use strict";n.__esModule=!0,n.genEvokeLink=function(){var e=i("exlaz"),n=encodeURIComponent("".concat(window.location.href,"&dsource=smb").concat(e?"&exlaz=".concat(e):"")),o="lazada://".concat(t.region,"/web?url=").concat(n),a="intent://".concat(t.region,"/web?url=").concat(n,"#Intent;scheme=lazada;end");return{deeplink:o,intent:a}},n.getDate=void 0,n.getQueryStringByName=i,n.judgeClient=void 0;var t=o(0);n.judgeClient=function(){return/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?"iOS":/(Android)/i.test(navigator.userAgent)?"Android":"PC"},n.getDate=function(){var e=new Date,n=String(e.getDate()).padStart(2,"0"),o=String(e.getMonth()+1).padStart(2,"0"),t=e.getFullYear();return"".concat(t).concat(o).concat(n)};function i(e){var n=new RegExp("(^|&)"+e+"=([^&]*)(&|$)","i"),o=window.location.search.substr(1).match(n);return null!==o?unescape(o[2]):""}},function(e,n,o){"use strict";n.__esModule=!0,n.getExtraParams=function(){return["categoryAsc","category","brand","brandAsc","shop_category_ids","price","rating","ppath","service","tab","pfilter","promotion_tag","sb_sv_f","lel_level3_ids_filter","location"].map((function(e){var n=l(e);return n?"".concat(e,"=").concat(encodeURIComponent(n)):""})).filter((function(e){return e})).join("&")},n.getQuery=l,n.getSearchUrlkey=function(){var e=location.pathname,n=e;if(e.startsWith("/tag/")){if((i=(i=[].slice.call(document.head.getElementsByTagName("link"))).filter((function(e){return"alternate"===e.getAttribute("rel")}))).length){var o=i[0].getAttribute("href")||"",t=new URL(o);n=t.searchParams.get("url_key")||""}}else{n.endsWith("/")||(n+="/");var i=[],a=l("q");a&&i.push("q=".concat(a)),"wangpu"===l("from")&&i.push("from=wangpu"),i.length&&(n+="?".concat(i.join("&")))}return encodeURIComponent(n)},n.invalidHost=void 0,n.isDarazHostname=r,n.isDarazShopHostname=function(){return location.hostname.indexOf("shop.com.mm")>-1};var t=/AliApp\(LA/i.test(navigator.userAgent),i=/Skywalker/i.test(navigator.userAgent),a=/AliApp\(DZ|AliApp\(SM/i.test(navigator.userAgent);function r(){return Boolean(["daraz.com.bd","daraz.lk","shop.com.mm","daraz.com.np","daraz.pk"].find((function(e){return location.hostname.indexOf(e)>-1})))}n.invalidHost=function(){return r()||t||i||a};function l(e,n){var o=(n=n||window.location.search).indexOf("#");o>0&&(n=n.substr(0,o));var t=n.match(new RegExp("[?|&]".concat(encodeURIComponent(e),"=([^&]*)(&|$)")));return t&&"%s"===t[1]?t[1]:t?decodeURIComponent(t[1]):""}},function(e,n,o){"use strict";n.__esModule=!0,n.POPUP_INSTALL_KEY=n.POPUP_EXPOSURE_KEY=n.POPUP_CLOSE_KEY=n.BRUCE_EVOKE_KEY=n.BRUCE_EVOKE_INIT_KEY=n.BRUCE_EVOKE_FAILED_KEY=n.BEFORE_BRUCE_EVOKE_KEY=void 0;n.BRUCE_EVOKE_KEY="/smb.delivery.bruce_evoke",n.BEFORE_BRUCE_EVOKE_KEY="/smb.delivery.bf_bruce_evoke",n.BRUCE_EVOKE_FAILED_KEY="/smb.delivery.bruce_evoke_failed",n.BRUCE_EVOKE_INIT_KEY="/smb.delivery.bruce_evoke_init",n.POPUP_EXPOSURE_KEY="/smb.delivery.detain_popup_exposure",n.POPUP_CLOSE_KEY="/smb.delivery.detain_popup_close",n.POPUP_INSTALL_KEY="/smb.delivery.detain_popup_install"},function(e,n,o){"use strict";var t;n.__esModule=!0,n.registerIns=n.callAppIns=void 0,n.registerOnload=function(e){if(window.__lzdCallApp)return void e();if("function"==typeof window.__lzd_call_onload){var n=window.__lzd_call_onload;return void(window.__lzd_call_onload=[n,e])}if(Array.isArray(typeof window.__lzd_call_onload))return void window.__lzd_call_onload.push(e);window.__lzd_call_onload=[e]};n.registerIns=function(e){t=e},n.callAppIns=function(){if(window.__lzdCallApp)return window.__lzdCallApp;if(!t)try{t=new window.LzdCallApp({from:"smbhp"})}catch(e){}return t}},function(e,n){e.exports=require("@ali/rax-pkg-rax/index")},function(e,n,o){"use strict";n.__esModule=!0;var t=o(0);Object.keys(t).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===t[e]||(n[e]=t[e]))}));var i=o(7);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===i[e]||(n[e]=i[e]))}));var a=o(2);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===a[e]||(n[e]=a[e]))}));var r=o(1);Object.keys(r).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===r[e]||(n[e]=r[e]))}));var l=o(3);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===l[e]||(n[e]=l[e]))}));var c=o(8);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in n&&n[e]===c[e]||(n[e]=c[e]))}))},function(e,n,o){"use strict";n.__esModule=!0,n.getApplink=function(e){var n=function(e){var n=function(e){var n={url:encodeURIComponent(window.location.href)};if("shop"===e)n.sellerKey=function(){var e=window.location.pathname;if(e.indexOf("/shop/i/landing_page/")>-1)return"";var n=e.split("/");if("shop"===n[1]&&n[2])return n[2];return""}();else if("pdp"===e){var o=function(){var e,n;if(window.pdpTrackingData&&window.pdpTrackingData.page&&window.pdpTrackingData.page.xParams){var o=window.pdpTrackingData.page.xParams;e=(0,t.getQuery)("_p_prod",o),n=(0,t.getQuery)("_p_sku",o)}return{itemId:e,skuId:n}}(),i=o.itemId,a=o.skuId;n.itemId=i,n.skuId=a}else"search"===e&&(n.url_key=(0,t.getSearchUrlkey)(),n.extraParams=(0,t.getExtraParams)());return n}(e),o=n.url,a=n.sellerKey,r=n.itemId,l=n.skuId,c=n.url_key,d=n.extraParams;if(["hp","hp_new"].includes(e)||"/"===location.pathname)return"".concat("lazada","://").concat(i.region);if("shop"===e&&a)return"".concat("lazada","://").concat(i.region,"/shop/").concat(a);if("pdp"===e&&r)return"".concat("lazada","://").concat(i.region,"/d?itemId=").concat(r,"&skuId=").concat(l||"");if("search"===e&&c)return"".concat("lazada","://").concat(i.region,"/page?url_key=").concat(c,"&").concat(d);return"".concat("lazada","://").concat(i.region,"/web?url=").concat(o)}(e),o="".concat(n.replace("lazada://","intent://"),"#Intent;scheme=lazada;end");(0,t.isDarazShopHostname)()?(n=n.replace("lazada://","shop://"),o="".concat(n.replace("shop://","intent://"),"#Intent;scheme=shop;end")):(0,t.isDarazHostname)()&&(n=n.replace("lazada://","daraz://"),o="".concat(n.replace("daraz://","intent://"),"#Intent;scheme=daraz;end"));return{deeplink:n,intent:o}};var t=o(2),i=o(0)},function(e,n,o){"use strict";n.__esModule=!0,n.bruceEvokeMain=function(e,n){(0,i.exposure)(t.BRUCE_EVOKE_INIT_KEY),n&&(0,r.registerIns)(n);var o=!1,a=function(){var n;if(!o){if(o=!0,!(0,r.callAppIns)()||(null===(n=(0,r.callAppIns)().strategy)||void 0===n?void 0:n.disableSmb))return console.log("[smb] callapp not available"),void(0,i.exposure)(t.BRUCE_EVOKE_FAILED_KEY,{failedRes:"notavailable",hasCallApp:Boolean((0,r.callAppIns)()),hasGlobalCallApp:Boolean(window.__lzdCallApp)});(0,l.bruceEvoke)((function(){null==e||e(),(0,i.exposure)(t.POPUP_EXPOSURE_KEY)}))}};(0,r.registerOnload)(a),setTimeout(a,200)},n.handleManualOpen=function(){var e;(0,i.click)(t.POPUP_INSTALL_KEY),null===(e=(0,r.callAppIns)())||void 0===e||e.evokeApp(c({autoType:0},(0,a.genEvokeLink)()))};var t=o(3),i=o(0),a=o(1),r=o(4),l=o(9),c=function(){return(c=Object.assign||function(e){for(var n,o=1,t=arguments.length;o<t;o++)for(var i in n=arguments[o])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e}).apply(this,arguments)}},function(e,n,o){"use strict";n.__esModule=!0,n.bruceEvoke=void 0;var t=o(0),i=o(1),a=o(3),r=o(4),l=o(10),c=o(11),d=o(12),u=function(){return(u=Object.assign||function(e){for(var n,o=1,t=arguments.length;o<t;o++)for(var i in n=arguments[o])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e}).apply(this,arguments)},s=function(e){var n;(n=30,new Promise((function(e,o){var t=setTimeout((function(){e(1)}),1e3*n),i=function(){"visible"===document.visibilityState&&(clearTimeout(t),document.removeEventListener("visibilitychange",i),o(0))};document.addEventListener("visibilitychange",i)}))).then().catch((function(){e&&e()}))};n.bruceEvoke=function(e){var n,o;return(0,l.isEnvolvedPage)()?(0,l.isEnvolvedSystem)()?(0,c.isUnderLimit)()?(0,d.isOverInterval)()?((0,c.recordLimit)(),(0,d.recordInterval)(),(o=10,console.log("[smb] watch visibility"),new Promise((function(e,n){var t,i=setTimeout((function(){console.log("[smb] over time, abort"),n(0),document.removeEventListener("visibilitychange",t)}),1e3*o);t=function(){document.hidden&&(console.log("[smb] doc hidden. success"),clearTimeout(i),document.removeEventListener("visibilitychange",t),e(1))},document.addEventListener("visibilitychange",t)}))).then((function(){(0,t.click)(a.BRUCE_EVOKE_KEY),s(e)})).catch((function(){console.log("[smb] evoke app failed"),"Android"===(0,i.judgeClient)()&&(0,c.reduceLimit)()})),(0,t.exposure)(a.BEFORE_BRUCE_EVOKE_KEY),console.log("[smb] bruce evoke app"),void(null===(n=(0,r.callAppIns)())||void 0===n||n.evokeApp(u({autoType:1,needDownloadOnce:!1,hideDownload:!0},(0,i.genEvokeLink)())))):(console.log("[smb] still under interval. abort"),void(0,t.exposure)(a.BRUCE_EVOKE_FAILED_KEY,{failedRes:"underinterval"})):(console.log("[smb] over limit. abort"),void(0,t.exposure)(a.BRUCE_EVOKE_FAILED_KEY,{failedRes:"notunderlimit"})):(console.log("[smb] not envolved system. abort"),void(0,t.exposure)(a.BRUCE_EVOKE_FAILED_KEY,{failedRes:"notandroid"})):(console.log("[smb] not envolved page. abort"),void(0,t.exposure)(a.BRUCE_EVOKE_FAILED_KEY,{failedRes:"notenvolved"}))}},function(e,n,o){"use strict";n.__esModule=!0,n.isEnvolvedSystem=n.isEnvolvedPage=void 0;var t=o(1),i=o(2);n.isEnvolvedPage=function(){return!(0,i.invalidHost)()},n.isEnvolvedSystem=function(){return["Android","iOS"].includes((0,t.judgeClient)())}},function(e,n,o){"use strict";n.__esModule=!0,n.reduceLimit=n.recordLimit=n.isUnderLimit=void 0;var t=o(1),i="lzdug_smb_autoevoke_evo_tuid";n.isUnderLimit=function(){if(!localStorage)return!1;var e=localStorage.getItem(i)||"";if(!/\d{8}:\d{1}/.test(e))return!0;var n=(0,t.getDate)(),o=e.split(":",2),a=o[0],r=void 0===a?"0":a,l=o[1];return r<n||Number(void 0===l?"0":l)<2},n.recordLimit=function(){var e=(localStorage.getItem(i)||"".concat((0,t.getDate)(),":0")).split(":",2),n=e[0],o=void 0===n?"":n,a=e[1],r=void 0===a?"0":a,l=(0,t.getDate)(),c=Number(r);o<l&&(c=0);var d="".concat(l,":").concat(c+1);localStorage.setItem(i,d),console.log("[smb] save log ".concat(d))},n.reduceLimit=function(){var e=(localStorage.getItem(i)||"".concat((0,t.getDate)(),":0")).split(":",2)[1],n=void 0===e?"0":e,o=(0,t.getDate)(),a=Number(n)-1;a<0&&(a=0);var r="".concat(o,":").concat(a);localStorage.setItem(i,r),console.log("[smb] reduce log ".concat(r))}},function(e,n,o){"use strict";n.__esModule=!0,n.recordInterval=n.isOverInterval=void 0;n.isOverInterval=function(){if(!localStorage)return!1;var e=localStorage.getItem("lzdug_smb_autoevoke_evo_ts")||"";if(!/\d{13}/.test(e))return!0;var n=Date.now()-Number(e);return console.log("[smb] int diff: ",n),n>12e4},n.recordInterval=function(){if(localStorage){var e=Date.now();localStorage.setItem("lzdug_smb_autoevoke_evo_ts",e.toString())}}},function(e,n,o){e.exports=o(14)},function(e,n,o){"use strict";n.__esModule=!0,n.default=function(e){if(window.__isSSR)return;var n=e.data.bannerConfig,o=void 0===n?[]:n;if(!window.__lzd_call_app_config){var a=(r=o[0]||{},l=r.bannerImage,c=r.disableSticky,d={from:"gcp",bannerElemParent:r.bannerElemParent||"default"},l&&(d.img=l),c&&(d.sticky=!c),d);window.__lzd_call_app_config=a}var r,l,c,d;var u=(0,i.getApplink)(window.__lzd_call_app_config.from||"gcp"),s=u.deeplink,_=u.intent;return window.__lzd_call_app_config.deeplink=s,window.__lzd_call_app_config.intent=_,(0,t.useEffect)((function(){console.log("[gcp smb] trigger move smb"),null==window.__lzd_call_app_config_updated||window.__lzd_call_app_config_updated()}),[o]),(0,t.createElement)(t.Fragment,null)};var t=o(5),i=o(6)}]);;        (function (e, k, f, g, d) { if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {            if ((k(e).length === 2 && e[g](f) === !0) || (k(e).length === 1 && e[g](f) === !1)) {                module.exports = e[d];                module.exports[d] = module.exports;            }        } })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });
define("@ali/lzdrwb-seometa/index", [], function(require, exports, module) {module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){if(window.__isSSR)return;if(!e||!e.data)return;try{setTimeout((function(){(0,r.init)(e.data)}),0)}catch(t){console.error(t,e.data)}};n(2);var r=n(3)},function(e,t){e.exports=require("@ali/rax-pkg-rax/index")},function(e,t,n){"use strict";var r;function o(e,t){var n=document.createElement("meta");n.name=e,n.content=t,document.head.append(n)}function i(e,t){var n=document.createElement("link");n.rel=e,n.href=t,document.head.append(n)}t.__esModule=!0,t.init=function(e){if(r)return;r=!0,console.log("seometa init",e);var t=e.seometa,n=e.metalist,u=e.linklist;t&&function(e){var t=e.title,n=e.description,r=e.canonicalTag,u=e.metaIndex;t&&(document.title=t);if(n){var c=document.querySelector('[name="description"]');c?c.content=n:o("description",n)}if(r){var a=document.querySelector('[rel="canonical"]');a?a.href=r:i("canonical",r)}if(u){var f=document.querySelector('[name="robots"]');f?f.content=u:o("robots",u)}}(t);n&&n.length&&function(e){e.forEach((function(e){var t=e.name,n=e.content;t&&n&&o(t,n)}))}(n);u&&u.length&&function(e){e.forEach((function(e){var t=e.rel,n=e.href;t&&n&&i(t,n)}))}(u)}}]);;        (function (e, k, f, g, d) { if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {            if ((k(e).length === 2 && e[g](f) === !0) || (k(e).length === 1 && e[g](f) === !1)) {                module.exports = e[d];                module.exports[d] = module.exports;            }        } })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });
define("@ali/lzdrwb-homepage-react/index", [], function(require, exports, module) {"use strict";var e,a,t,r=require("@ali/lzdrwb-homepage-react/vendor.cjs.es5.production"),s=require("@ali/pnpm-react@18/index"),n=require("@ali/gcom-lzd-env/index"),l=require("@ali/gcom-lang-i18n/index"),i=require("@ali/gcom-lzd-react-link/index"),c=require("@ali/gcom-lzd-resize/index"),o=require("@ali/gcom-lzd-mtop/index"),d=require("@ali/gcom-lzd-sites/index"),u=require("@ali/gcom-lzd-cookie/index");function m(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("@ali/pnpm-react-dom@18/index"),require("@ali/gcom-lzd-qs/index"),require("@ali/pnpm-react@18/jsx-runtime");var h=m(n),p=m(l),f=m(i),x=m(c),g=m(o),v=m(d),A={};function j(e){var a=e.unitPattern,t=e.sign;A={isCurrencyLeft:0===(void 0===a?"":a).indexOf("%1$s"),currency:void 0===t?"":t}}function b(e){var a,t=(null===(a=window)||void 0===a?void 0:a._page_currency)||A,s=t.isCurrencyLeft,n=t.currency,l=e.className,i=void 0===l?"":l,c=[r.jsx("span",{className:r.classNames("price",i),children:e.price})],o=r.jsx("span",{className:r.classNames("currency",i),children:void 0===n?"₫":n});return void 0===s||s?c.unshift(o):c.push(o),c}var w=window.screen.height;function y(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=[],t=[];return e.forEach(function(e,r){(r+1)%2==0?t.push(e):a.push(e)}),[a,t]}function E(e,a,t){var r={alpha:!0,format:"jpg"};a&&t||(r.size="750x"),e.endsWith(".gif")?r.format="gif":e.endsWith(".png")&&(r.format="png"),console.log("bgImg",e,a,t,r);var s=x.default.getFitUrl(e,a||0,t||0,r);return{backgroundImage:"url(".concat(s,")")}}function N(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.bgImg,t=e.bgColor,r=e.width,s=e.height,n={};return a&&(n.backgroundImage=E(a,r,s).backgroundImage,n.backgroundSize="100% auto",n.backgroundPosition="top center",n.backgroundRepeat="no-repeat"),t&&(n.backgroundColor=t),n}function _(e){var a=e.diwen,t=e.value,n=e.isFocus,l=s.useRef();return s.useEffect(function(){var e,a,t,r;n?null==l||null===(a=l.current)||void 0===a||null===(e=a.swiper)||void 0===e||e.autoplay.stop():null==l||null===(r=l.current)||void 0===r||null===(t=r.swiper)||void 0===t||t.autoplay.start()},[n]),r.jsx("div",{className:r.classNames("search-diwen-container",{hidden:t}),children:r.jsx(r.Swiper,{className:r.classNames("search-diwen-wrap"),ref:l,loop:!0,modules:[r.Autoplay],autoplay:{delay:3e3},direction:"vertical",children:(void 0===a?[]:a).map(function(e){return r.jsx(r.SwiperSlide,{children:r.jsx("div",{className:"search-diwen-wrap-text",children:e})},e)})})})}var C=r.lzdEnv.regionID,I=r.lzdEnv.language,S="lzd_search_history",R=(e=r._async_to_generator(function(e){var a,t,s=arguments;return r._ts_generator(this,function(r){switch(r.label){case 0:return a=s.length>1&&void 0!==s[1]?s[1]:{},t=Object.assign({params:JSON.stringify(Object.assign({language:"".concat(I,"-").concat(C),region_id:C.toLowerCase(),platform:"m"},e))},a),[4,g.default.request({api:"mtop.relationrecommend.LazadaRecommend.recommend",v:"1.0",dataType:"json",type:"GET",data:t,ecode:1})];case 1:return[2,r.sent()]}})}),function(a){return e.apply(this,arguments)});function z(){try{return JSON.parse(localStorage.getItem(S))||[]}catch(e){return[]}}function k(e){if(!e)return localStorage.setItem(S,JSON.stringify([]));var a=z();a.every(function(a){return a.title!==e.title})&&(a.unshift(e),localStorage.setItem(S,JSON.stringify(a.slice(0,5))))}function T(e){var a=v.default[C].domain;return"//www.".concat(a,"/catalog/?q=").concat(encodeURIComponent(e))}function D(e){var a=e.title,t=e.url;return r.jsx(f.default,r._object_spread_props(r._object_spread({href:t,className:"chip one-line-clamp  hp-exp-class",onClick:function(){k({title:a,url:t})},LinkComponent:"a"},r.getTrackData("searchbar","diwen",{title:a})),{children:a}))}function B(e){var a=e.tit,t=e.children;return r.jsxs("div",{className:"chip-tit flex flex-between",children:[r.jsx("span",{className:"chip-tit-txt",children:a}),t]})}function L(e){var a,t=e.diwen,n=r._sliced_to_array(s.useState((void 0===t?[]:t)||[]),2),l=n[0],i=n[1],c=r._sliced_to_array(s.useState(z()),2),o=c[0],d=c[1],u=s.useRef(),m=function(){R({utdid:"",scene:"discovery",style:0,double_diwen:!1,user_profile:"Nonbuyer_HP"},{appId:"9802"}).then(function(e){var a;i(null==e?void 0:null===(a=e.data)||void 0===a?void 0:a.result.slice(0,5))})};return s.useEffect(function(){0===l.length&&m()},[l]),r.jsx("div",{className:"search-content--focus",ref:u,onClick:function(a){a.target===u.current&&(null==e||e.onChangeState())},children:r.jsxs("div",{className:"search-tips-wrap",children:[l.length>0&&r.jsx(s.Fragment,{children:r.jsx("div",{className:"chip-wrap flex flex-wrap",children:l.map(function(e){return r.jsx(D,{title:e.diwen||e,url:T(e.diwen||e)})})})}),o.length>0&&r.jsxs(s.Fragment,{children:[r.jsx(B,{tit:null===(a=p.default)||void 0===a?void 0:a.get("buymore.search_page.search_history_title","Search History"),children:r.jsx("svg",{onClick:function(){k(null),d([])},className:"cicon ic-search-tit",viewBox:"0 0 30 30",id:"ic-del",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.09091 3.45231C9.09091 1.56 10.6887 0 12.6269 0H17.3731C19.3113 0 20.9091 1.56 20.9091 3.45231V4.61538H28V6.92308H25.6364V26.5385C25.6364 28.44 24.0385 30 22.0909 30H7.90909C5.96145 30 4.36364 28.44 4.36364 26.5385V6.92308H2V4.61538H9.09091V3.45231ZM17.3731 2.30769H12.6269C11.9627 2.30769 11.4545 2.80385 11.4545 3.45231V4.61538H18.5455V3.45231C18.5455 2.80385 18.0373 2.30769 17.3731 2.30769ZM6.72727 6.92308H23.2727V26.5385C23.2727 27.1869 22.7551 27.6923 22.0909 27.6923H7.90909C7.59449 27.6961 7.29165 27.5757 7.06918 27.3585C6.84671 27.1413 6.72343 26.8456 6.72727 26.5385V6.92308ZM9.09091 21.8114V9.23077H11.4545V21.8114H9.09091ZM13.8182 9.23077V21.8114H16.1818V9.23077H13.8182ZM18.5455 21.8114V9.23077H20.9091V21.8114H18.5455Z",fill:"#858B9C"})})}),r.jsx("div",{className:"chip-wrap flex flex-wrap",children:o.map(function(e){return r.jsx(D,r._object_spread({},e))})})]})]})})}function P(e){var a=e.clickUrl,t=e.icon,s=e.title;return r.jsxs("a",{href:a,className:"search-st-item flex flex-items-center hp-exp-class",onClick:function(){k({title:s,url:a})},target:"_blank",rel:"noopener",children:[r.jsx(r.Picture,{className:"search-st-ic",src:t,compress:{width:36,height:36},alt:"hot store"}),s,r.jsx("svg",{className:"ic-direct-arrow","aria-hidden":"true",children:r.jsx("use",{xlinkHref:"#ic-direct-arrow"})})]})}function M(e){var a,t=e.result;return r.jsxs("div",{className:"search-st",children:[r.jsxs("div",{className:"search-st-tit flex flex-items-center",children:[r.jsx(r.Picture,{className:"search-st-tit-icon",src:"https://img.lazcdn.com/g/tps/imgextra/i4/O1CN01qIFuph1I1YfsdoPOX_!!6000000000833-2-tps-33-33.png",compress:{width:32,height:32},alt:"hot store"}),null===(a=p.default)||void 0===a?void 0:a.get("seach-dropdown-lazmall-flagship","LazMall Flagship Stores")]}),r.jsx("div",{className:"search-st-item-wrap flex flex-wrap",children:t.items.map(P)})]})}function F(){return[,,,,].fill(r.jsx("li",{className:"search-item"}))}function U(e){var a=e.title,t=T(a);return r.jsxs(f.default,r._object_spread_props(r._object_spread({href:t,className:"search-item flex flex-between flex-items-center hp-exp-class",LinkComponent:"div",onClick:function(){k({title:a,url:t})}},r.getTrackData("searchbar","d-list-pd")),{children:[r.jsx("span",{className:"search-item-tit",children:a}),r.jsx("svg",{className:"cicon ic-search-arrow",viewBox:"0 0 36 36",id:"ic-search-arrow",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:r.jsx("path",{d:"M27.0284 25.5134L11.5551 10.0401L25.2151 10.161C25.6987 10.161 26.0613 9.79831 26.0613 9.31477C26.0613 8.83123 25.6987 8.46857 25.2151 8.46857L9.56051 8.40813C9.07697 8.40813 8.71432 8.77078 8.71432 9.25432C8.71432 9.25432 8.77476 9.31477 8.71432 9.37521L8.65388 25.0298C8.65388 25.2716 8.77476 25.5134 8.89565 25.6343C9.07697 25.8156 9.2583 25.876 9.50007 25.876C9.98361 25.876 10.3463 25.5134 10.3463 25.0298L10.4067 11.3094L25.8196 26.7222C26.1822 27.0849 26.6658 27.0849 27.0284 26.7222C27.3911 26.3596 27.3911 25.876 27.0284 25.5134Z",fill:"#C6CAD2"})})]}))}function G(e){var a=s.useRef();return r.jsx("div",{className:"search-content--focus",ref:a,onClick:function(t){t.target===a.current&&(null==e||e.onChangeState())},children:r.jsx("div",{className:"search-content--list",children:function(){var a=e.list||[];if(a.length>0){var t=[],s=[];return(a.forEach(function(e){"ms_search_store_dropdown"===e.type?t.push(e):"nt-common"===e.type&&s.push(e)}),t.length>0)?[r.jsx(M,{result:t[0].result})].concat(s.slice(0,3).map(function(e){return r.jsx(U,{title:e.model.query})})):s.slice(0,4).map(function(e){return r.jsx(U,{title:e.model.query})})}return r.jsx(F,{})}()})})}var H=0;function V(e){var a=e.offsetTop;(document.querySelector("#recyclerview")||document).addEventListener("scroll",function(){H=(null===(t=document.querySelector("#recyclerview"))||void 0===t?void 0:t.scrollTop)||document.body.scrollTop||document.documentElement.scrollTop;var t,r=document.querySelector(".smart-banner-out");if(r&&H>0?r.setAttribute("style","display: none;"):r&&H<=0&&r.setAttribute("style","display: block;"),H>=a&&0!==H){if(e.dataset.fixed)return;e.setAttribute("data-fixed","fixed"),e.firstChild.classList.add("search-wrap-shadow")}else e.setAttribute("data-fixed",""),e.firstChild.classList.remove("search-wrap-shadow")},!1)}function Z(e){var a,t,n,l=e.atmosphereBG,i=e.data,c=l.topViewBgColor,o=l.imageUrl,d=void 0===o?"":o,u=((void 0===i?{}:i).searchTips||[]).map(function(e){return e.text})||[],m=r._sliced_to_array(s.useState(!1),2),h=m[0],x=m[1],g=r._sliced_to_array(s.useState(""),2),v=g[0],A=g[1],j=r._sliced_to_array(s.useState([]),2),b=j[0],w=j[1],y=s.useRef(),C=s.useMemo(function(){return c||d?N({bgColor:c,bgImg:d,width:750,height:750}):E("//img.lazcdn.com/g/tps/imgextra/i1/O1CN01Uz4Tvs1yUbd3VkjJs_!!6000000006582-2-tps-1125-147.png",375,74)},[c,d]),I=(a=r._async_to_generator(function(){return r._ts_generator(this,function(e){switch(e.label){case 0:return[4,R({area:"lazada_my_web",q:v.trim(),sversion:"5.6"},{q:v.trim(),appId:"15778",code:"utf-8"}).then(function(e){w(null==e?void 0:e.data.result)})];case 1:return e.sent(),[2]}})}),function(){return a.apply(this,arguments)}),S=function(e){var a;A(null==e?void 0:null===(a=e.target)||void 0===a?void 0:a.value),I()};s.useEffect(function(){if(!h){var e;document.body.style.overflow="auto",H<=0&&(null==y||null===(e=y.current)||void 0===e||e.setAttribute("data-fixed",""))}},[h]),s.useEffect(function(){V(y.current)},[]);var z=(t=r._async_to_generator(function(){var e,a,t,s=arguments;return r._ts_generator(this,function(n){return e=s.length>0&&void 0!==s[0]?s[0]:"",(a=v||u[0])&&(t=T(a),k({title:a,url:t}),location.href="".concat(t,"&spm=").concat(r.getSpm("searchbar",e||"btn"))),[2]})}),function(){return t.apply(this,arguments)});return r.jsxs("div",{className:"homepage-msite-search-wrap",ref:y,children:[r.jsx("div",{className:"search-inner",id:"search",style:C,children:r.jsxs("div",{className:"search-inner-box flex flex-row flex-between flex-items-center hp-exp-class",children:[r.jsx("span",{className:"search-inner-icon"}),r.jsxs("div",{className:"search-inner-content flex",children:[r.jsx("input",{type:"search",value:v,onChange:S,onInput:S,onFocus:function(){var e;x(!0),document.body.style.overflow="hidden",null==y||null===(e=y.current)||void 0===e||e.setAttribute("data-fixed","fixed"),V(y.current)},onKeyPress:function(e){13===e.nativeEvent.keyCode&&z("keyboard")},className:"search-inner-input"}),(null==u?void 0:u.length)>0&&r.jsx(_,{value:v,isFocus:h,diwen:u})]}),r.jsx(f.default,{className:r.classNames("search-inner-btn text text-center",{"search-inner-btn-daraz":r.isInDrz}),onClick:z,LinkComponent:"div",children:null===(n=p.default)||void 0===n?void 0:n.get("homepage.search.searchBtn_text","Search")})]})}),h&&(v?r.jsx(G,{onChangeState:function(){return x(!1)},list:b}):r.jsx(L,{onChangeState:function(){return x(!1)},diwen:u}))]})}var W=r.isInDrz?r.isInDrzShop?"https://img.drz.lazcdn.com/g/tps/imgextra/i1/O1CN01dewCmA1LSX3uRILNt_!!6000000001298-2-tps-120-120.png_80x80q80.png_.webp":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABaCAYAAAA4qEECAAAAAXNSR0IArs4c6QAAAIRlWElmTU0AKgAAAAgABQESAAMAAAABAAEAAAEaAAUAAAABAAAASgEbAAUAAAABAAAAUgEoAAMAAAABAAIAAIdpAAQAAAABAAAAWgAAAAAAAABIAAAAAQAAAEgAAAABAAOgAQADAAAAAQABAACgAgAEAAAAAQAAAFqgAwAEAAAAAQAAAFoAAAAAukbmtAAAAAlwSFlzAAALEwAACxMBAJqcGAAAAVlpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDYuMC4wIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6dGlmZj0iaHR0cDovL25zLmFkb2JlLmNvbS90aWZmLzEuMC8iPgogICAgICAgICA8dGlmZjpPcmllbnRhdGlvbj4xPC90aWZmOk9yaWVudGF0aW9uPgogICAgICA8L3JkZjpEZXNjcmlwdGlvbj4KICAgPC9yZGY6UkRGPgo8L3g6eG1wbWV0YT4KGV7hBwAAC0RJREFUeAHtnV+sHFUdx39ndubM7oVaiFUjEdoQIP6DSJU+yq0PEklAhOze2wfjg7HBxILGmlYwdqsYC7QJsTGQEiOakGpX64smEglUfVKpiUFSi5rwQPyTGq1YuvNnd47f79mdZe/t3nrduzM72zsn6Z3dmZ1zfudzfvM7v3PO70xFylQSKAmUBEoCJYF1TkDNYv1NXSpypThylXRVU5JZrEPhZTYiS5TD7BRv+bnCV6LoAh6jJiPFi+58UPceO3937R2pzASefi6PayOgrMlAHsGCfsZ8Upug4f07bOg96Xken58Xd23FZHO3k022k88V5kHkPWIP+JvIeZ5QG7SWA6HoU6839F2qJd3tJ6RjzUkTNrxAqZCtvyo+xNiVThiJ+K5cD6w/Chr6GaVktzoS/Z55WHNyRDow6r0GWlXG2fyoUK0+RhXZMXphV7phLB3fk9uA9MVgwXvsn3XZqI5ITMimAOZk1kGnbcNO0gXsmKrra3X/nPL+BBt+L3+gaE4AO7XlPJd3ulRAp9zoeZgwlMhz1CYAfxywT7Yb7nbCpg2fljt4qYEmcJoTHSeSwH7Hvqu2Vl3nufaC/l57sbplYE5y9r8vRdCEzcS6eWEHHWZHulVPFlTSPd1u6CZMiCZwaYrKy35fyqAtbfyhZ1WhdjtK6aqWfaGjXz6/oBc5fLf2OwftXg+gU+BeAv8bwCPfkc01V45idPl8tOBtHZiTntlJfz/R43oCTXAODLgeuINazbtKnYQ7eBjeClxwuIIZwV5voNORi3UHI7iDUQL/u6Y+Eza8w1aF69mMKNcd6GF7AO2lO6jC3nD+XkOvhC5gf/Jq+Ldr/byuQffhkUHiV6QSdDpb7LkzS6di+79b06EE3cNH35sOoV1EOGG/TPZPCXqyPFfMrQS9IprJXihBT5bnirmVoFdEM9kLJejJ8lwxtxL0imgme6EEPVmeK+Y2M6A5DyEvDQYSSTqWXrFmBbswM6DtQmurH5WkzFwvisPE4DkTkUqFXwW38w4YEtuJelDFTNsulahno7Zc5vvqli5WwbtGonTeomCKPBCnsBrN6UpqMSd5ODkf191bMcP2K8y0fSMxyS/8Y9G2KJQ9XWNeQ2yHtjUy0hnUrGAfCgd6ABg2mVrcvru6GdFIR13XOaErapsJ0AJOZQM5AvYj2vjXBZF50nNE+RqrKT3Y3YJxzmbuddxK2vW7Zs9MUJsBeJ/jdk9DYxftZH3XRKqnGhYkzEpNtc6dqR2LdwbGbAtj83PfF5czcZCB9hvtVoxUCBttGL71F6lYO3xCBIAb4Vl5GBq6pYMQGK73ARdk5SLIkhTZe7ly0ox/gyvzuHcH6B4A8GtgWki6f+/AY1mSQV5fpgqaZkJ2iotFUsJIokXv5iSRQ9qT7fQluL6H85TRxmtcAIWdZBOBYbjXPg3zWGxtRkfNLjke/F0/iFbZi8byooj9pdXuqdV3ajbadnR9O/zaDtmEQJcnYGZ/63tqO8O7aCoAip3cqmS0ATJNAGcHeljC2rHoy77j3IDGamlXKojPI2SGiFmzc0GjZXwi9xZOl4kG7lrdux9VbyKq6ApAMR2s4aHO1OCxDCzztebEmqLgFWTTaNerH1IqOQTtfp9B7giuyd0dzA30G5W3ZkKChn+bEvMoOrobE1T+DTvcg0zQ4yaYEw5ikoEP3gqew/ebEV7waaPkq1Wt3ozymFL7bb9k+WdVj+VaBbCPMypPbQvu8a9Hh3Xcd81P8UjfSMAM30IZ1OLlnd2aik59cDSyy/6g2oofr87F14WROVxBSYg+ZZkJPuJytilT0KwcNdk+znfIXLuuvy4V8wdo8ccYphUhXAvVY2UzlQMabmOkbYM/JWerx+L7wkRugjv4M9juSuaUs6wgIVNTUMkkqnsfD2r6j9Wq7MU5p28mHPwmN9NFfU3tNz2Uy1vRiwD+4aAjDwC2gyimTFOmmkTJEVT4lFdT30UY1lXwa9kJsUrUYjCfQmqi/BuGylbmTB5SZAKaGkNt5uABWvyJMDARIoLoy9Jdmw5gFDzsUp7bIW8LF7xva6WehBkzmYAYasFsHt239DoXgL2n57XaEZ3dujZUdm4fh11KyKTChvt51VX7tFaXw4yxI2bzZ6oAEwfNitjdUy0Ib8S3lZiSFo9wKe8IlXkE3sY7O3DsMGJMR56ZQiaDiYPug+0d4Cgv+Z7TF9vYQ0P7sK7fDf/5Ud8zt/eH9sBsJ55oynKRMVvQJtvHcVS72f4B89fCEeKdsiGsevtB8nPQYuHQvq+67IxzTdmCzrEqg1EgISO1G96nMHn3EFZh3orNQ4RMLea+8amk2QaNTndgJqDBJBg33A8mog6io7vFDu3hUuI0NTh3LaY8aZpN0Ko3knwV7uLVUF6aiXa9do2o7gG3IjtosPqDIno6vWWutMZTOs4eaKhwJenCGIhc3ZI2fePorN5rTOdBzAD6fXctnTuZEtYLi83aT7+wxPHPsB9LqMsdo65lNtxZFZ7VXOr6SsWxkGk+WKfCKVDhBCLAi6RKF10d1g0PBnW9C2uDN9E5gxan/vBU7fBF5C5ey19MWFxTHSOmotRG18XsG2YA+Xuoup6WN/E/5B1cnjWNtlwxaZLAo+CEG+dU8hlxDJCN92EWQbOmnGLlnsGZSbPUGc4M1FGClqBHUcngXAk6A6ijsixBj6KSwbkSdAZQR2VZgh5FJYNzJegMoI7KMlvQU1phGVXRaZ/LFvS0a1eg8icOGqO1we6pGRq5YQYFreJkN5qfOGirRHy3cy+d5BIoLEgvpLB/smCHDuLwnDAx/4lV5xRlm5/vhyBMUNAUyASzFNmPF2gzQ22iQ0Egr+iqmsNXzhXb9TxeK0DCwrhEgOy5VUrj7H/TUfmHXdxFGNuk5cvs6eZiKaM5X7977u2u23kCkaN3UnhMbRI4l5gyaWSWsYpEGTzES0sYmrP4vAeRpkdgPWy84Cru/79/klll03cTXXb8/F+xe+qjYVfdjpXol7jVAXObnHmjOaFlzDPxSePLYj2G7SJ895uBF19rITetTJnJk5lGp/T4FvM695r0wwCCBf+zyiRNrFJvxMoIO6EujHi207UoBaoa6woWaqFaCNd9Fi29W38//h3ltDF5/VX0VO5JHzMHnQr8AhZRP9CvjMGelTDxvoZ3zu2swIgAeAewKQtNyiQTNbQDqJ6HRS6U82cUsgdP2A9ZCAHn9R8y5AbaVowOCEO1+sARN/1+7Ag6VPXUrex+ou5E95aw43VgqhCPbQJl1EP6TPQwn6zlwTaULeuUK+i0Mgb2UNJ9hTjJ1Ww80QdgOzfH6KawRsXOiuZkHPlohxMEl3vsAYKuPF31KnvV0+1XcT4XM8FylqdxKrI8j7G/05US+KwK7pT5iPjRBv1FsHmAHSYec7pY/Lda+23NhHaw/Q13YNvyr5Hr7toPOr+kgDQTdDubKIvf805TBZ1Wdrgz4jueHZMcQMe1wOt0ByEk1whH2m9cY1gYzYSH3bJw1+Rvxpgv1Vrxt3j/cGPy+7RSIUCz8svNCWLotnfFOQjt3soYOuzcWmJO+oIj+gCb7T28tphXxRzyTdyEa3mO5/G0VFJvh1enmQoDOoWwvKPie/oBjXsDN8Gc0GhHUGFsshWDABqPJwD5x7iyu9oKTzOf4SckzXfax8KBToHYR/6E3aZs/nWXXFHT3n54gPdpmId0mAPwp+AhfwGAf8L78nTXUjlXeyws6LQCw9oZLuj3YlP+olLmSvjGL3jvir9jO9L+23E5Gk3vK49jEKD9xr+R3ofV4jHyzPuWwmv0MBBrvzkF+zKMB/cKFuR/DRqWsfxcEigJlARKAiWBksAKBP4LFR0CZpv8FfIAAAAASUVORK5CYII=":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABICAMAAABBaBKgAAADAFBMVEUAAAD8cwD2Ap74AKDrODr3TBz+BfL/GMD0F3P1cgf4bQn2Zw38GMPwZQjxFY74FJD2RkX4dAD7cQD2YAv4bgL7dQD0XwvzLk71CHj7dQD+iAD6aQf6S1T1XwH8dAD4bwX9FsL9gwD4ZAf8FdDxWQv1F1X/Irb1AJn6KJD9GbjzVAf6AZj/B/H2WAX3Rx/2BG7+J6j2B1L6AZX1QyX/EN73BW76O3f6cgDyCE37E5f/C+f9ILbzB1r5OXnwVgX1A4HzCknyBHLyOTTzCFDxBmP+hgD7GbvxCTrzCELzUwj5ZwD0B1X9Cdz+iAD3QiT5ZwX2A33+Gcn9hAD8N4P+Ja38QG34A4P5XCv/EN76Wy/+NIjyWwDzCUD0Rh75GpT8hQD5AZ7/A/jyWAX3Vjb1BHj9hwD2Qif1A4f9HMD5WDTzRCD4GJv3QGr+D9j+A/P/Bff+FtHzBmr5Vzb/jwD0CEfzB2D4T0byCT3zB1f0CE/6ApD6RGH5AZzwEjL/Bfb+hgD5A4T/jgD/kgD3Vjj/Cu7xTg/zXwD1A4L3aAD5bwD0YgDzQyH2AZj1AonyWwDwB1HvCUHxUwfvVgH2AY/yBmD1ZAD4bADwWQD0A3v2AZT2dgD1bwD1ZhL1XiP9H7f7L5H6cgD5QGjzBmbyBlzxCEzxCEnzODDzPynzQSfyShf4AJ/zA3f0BHTzBW/zBmjyB1jxB1buCTjvEjL0PSzyRhzxRxn0BXHvCEfuCjv+dAD8F8n3AZzyBWz4fAD1cQDzawP7ggD4eQD3Tkb8Jqf7K536NIT4SFb4TFD2VzD8G8L9G738IrH8JKz7KKH5PnD5RWD4R1r4TUv3UkD3VDz2Wyv1Yhr0aQvzbgD6LJj6M4n6N3/6OXn4PHX3Vjb8hQD6fwD9FM/5fQD+Cej9D9j9Dd39EtX9iQD+DeP+jQD7CML5Ba73Eov1RzP0UyD5GZ33IXr0FG7zFl71KVr5D6j3MWv3PVvzG0/zLEn0XRT7Hq33NXz4OnPvD0fwE0H1TjrvGjgLKMDIAAAAhXRSTlMAl0zLAwj+ByAXSiAREAxBQCfljHhsPxT89tfWxcPDqaBcWUEzLCoo+/rw6+fd1tPNxL67uqyimpmOhoGAdHJpY1ZNRzU0G/77+vb18/Lu7Ovp5+bl49rW0b++sq+opqalpJ6Vk4OBeHBmY11bWEsu+O/u7uvm5ODb2NfV08vJurmzjINr+rXObgAABChJREFUWMPt2GVUk1EYB3DEd4yYss1NASUMxA5AEAkREbu7u7u7dcBkqIyBbIoTxACxGxkbdnfrAnCSAnbrtY749rt3HD1Hns/3/M7/nv/98lyTsvnLA1lxGCRPsmqzqMhW1T0d+RwyJ1k1vZ28a5LGK1iWs1OpuJ6WFYhOMmuPa1L3fHf3cbWZpG7Yhudgq5NK5bYOPA5BZFOnXrEXLpw/3t1pchCxbFF9aA+NTiWVShVyriMIjhPZu8mli7GxgNZO69eiJkFwRpvRdkpNaup3WiG7W5VXC8K4XNDEIb1O/qSPazM7uU8OgnBkDn9pZ7VG95OWye7KujrWsEA7WdHaq8mpy7/pJ5lZIDgLu76hPdRqZUk67c7GqpUqMxCRzX0H1DkFo582cF81lYle32g7vV6thNMbb/cfbwWP7NFz8+Z7cDojo8HwKSy0+pbPzNar0ehNfUdaVilRn7PvgNP3UWkzsyUtEMEtVthlZ+sx6E23+q5kW0A/ijaf5NHzASZtBoLD7Oqds/HoczP6jxwfwGazJ/l69H70EIc26+Tk8iddTqPU49GPb96YUw3Mwt5XruDQGVk5ueWtYfQxuUqjxqXTr589c+3qli04dGZObmJieVMEHQpwJQ06C8ApYSmoNBi5zmD6SU5uWEwYJh0VFSpP1Wko01qtFsBiMS4dEhKlUFFP/Q0WiWPwaTBpCik1uu6LMJFIJCamJUJJiIwCXfdFjCg4mBwtEQqFEpmCHP3uWV7whmAKtEAgEKaRoE8COCmJIh0eDvA0AvpZns2uXUkbKNLAjhYIJXh0nTyb5OTDhtER0dECTLpOYdHu3ScMpaMjIta3f/sWjT5dWBQXGUePXr96dQGCfl9YFBkfT58GdsEf9IeXxcV798RHGoPeubPg3G/65fPitWuNRh86uCb/8w/61fPXW7cal16Tn59+9gyAPx5JMDa9Y3t++ps3n9atKw36wLYv+46WFr2/jP5vab7tMePQiYnDXGDrXDkuyE2fTqnvaloRviryHWzlNGkQepGXNZBhw6hcqWooTbr+sInm6HtdDUduFA26vutYFybmBsZz6GAoLV7gZc3C2xstPbkhBtAgtGtLc4hg8+fbd5BQp/sMMUXUh1qnUEiN7raspQs8MkadA7tSoW36jAIvjtxAtXj2wCZJd2vWCu3FYe/UIxqC2MT0YZvGYwOZ1H6IOH729cIJ6eTGo1pVIdaQdTYkoqc3w3pxxHXWw6PjGvsEIuojXaeffXtMejZRfcR1otJ7Ojb1cYZMaI2Vn1s9JL13XvPWiPoMqbMRnO7Y1B9Zn0F1ThjcpQSdkDC/eWsGFQC3zjGNdvyi280a5I+oj06dAYMbfafbtmvqEwgZ+f92gluXbfvbzkWpj36d7DFuiwf5O5uUwkBV2AHODJOy+RfnK5BZcKkKUt70AAAAAElFTkSuQmCC",X={PH:"https://pages.lazada.com.ph/wow/gcp/route/lazada/ph/upr_1000345_lazada/channel/ph/upr-router/render?hybrid=1&data_prefetch=true&prefetch_replace=1&at_iframe=1&wh_pid=/lazada/channel/ph/homepage/category-lp",ID:"https://pages.lazada.co.id/wow/gcp/route/lazada/id/upr_1000345_lazada/channel/id/upr-router/id_upr?hybrid=1&data_prefetch=true&prefetch_replace=1&at_iframe=1&wh_pid=/lazada/channel/id/homepage/category-lp",SG:"https://pages.lazada.sg/wow/gcp/route/lazada/sg/upr_1000345_lazada/channel/sg/upr-router/sg?hybrid=1&data_prefetch=true&prefetch_replace=1&at_iframe=1&wh_pid=/lazada/channel/sg/homepage/category-lp",TH:"https://pages.lazada.co.th/wow/gcp/route/lazada/th/upr_1000345_lazada/channel/th/upr-router/th?hybrid=1&data_prefetch=true&prefetch_replace=1&at_iframe=1&wh_pid=/lazada/channel/th/homepage/category-lp",MY:"https://pages.lazada.com.my/wow/gcp/route/lazada/my/upr_1000345_lazada/channel/my/upr-router/my?hybrid=1&data_prefetch=true&prefetch_replace=1&at_iframe=1&wh_pid=/lazada/channel/my/homepage/category-lp",VN:"https://pages.lazada.vn/wow/gcp/route/lazada/vn/upr_1000345_lazada/channel/vn/upr-router/vn?hybrid=1&data_prefetch=true&prefetch_replace=1&at_iframe=1&wh_pid=/lazada/channel/vn/homepage/category-lp",PK:"https://pages.daraz.pk/wow/gcp/route/daraz/pk/upr/router?hybrid=1&data_prefetch=true&prefetch_replace=1&at_iframe=1&wh_pid=/lazada/channel/pk/homepage/category-lp-pk",BD:"https://pages.daraz.com.bd/wow/gcp/route/daraz/bd/upr/router?hybrid=1&data_prefetch=true&prefetch_replace=1&at_iframe=1&wh_pid=/lazada/channel/bd/homepage/category-lp-bd",LK:"https://pages.daraz.lk/wow/gcp/route/daraz/lk/upr/router?hybrid=1&data_prefetch=true&prefetch_replace=1&at_iframe=1&wh_pid=/lazada/channel/lk/homepage/category-lp-lk",NP:"https://pages.daraz.com.np/wow/gcp/route/daraz/np/upr/router?hybrid=1&data_prefetch=true&prefetch_replace=1&at_iframe=1&wh_pid=/lazada/channel/np/homepage/category-lp-np",MM:"https://pages.shop.com.mm/wow/gcp/route/daraz/mm/upr/router?hybrid=1&data_prefetch=true&prefetch_replace=1&at_iframe=1&wh_pid=/lazada/channel/mm/homepage/category-lp-mm"}[(r.regionID||"").toLocaleUpperCase()],O=function(){var e=location.hostname,a=e.indexOf("pre")>-1,t=a?"-p.":".",s=e.replace(/^www\.|^pre\.|^pages\.|^pre-www\./,"member".concat(t)),n=(window.g_config.regionID||"").toLowerCase(),l="//".concat(e,"/wow/gcp/").concat(n,"/trade/cart").concat(a?"-test":"");return r.jsxs("nav",{className:"h2-tabbar flex",children:[r.jsxs(f.default,{LinkComponent:"div",className:"tabbar-item flex flex-col flex-center selected home hp-exp-class","data-spm-click":"gostr=/lzdhome.msite.clkx;locaid=home;",onClick:function(){window.scrollTo({top:0})},children:[r.jsx(r.Picture,{className:"tabbar-item-icon",alt:"home",compress:{width:30,height:24},src:W}),r.jsx("span",{className:"tabbar-text",children:"Home"})]}),r.jsxs(f.default,r._object_spread_props(r._object_spread({LinkComponent:"div",className:"tabbar-item flex flex-col flex-center categories",href:X},r.getTrackData("tabbar","tabbarCate")),{children:[r.jsx(r.Picture,{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABICAMAAABBaBKgAAAAhFBMVEUAAAARERESEhISEhISEhIVFRUUFBQ9PT0SEhIRERESEhITExMVFRUXFxcREREREREVFRUZGRkYGBgRERERERESEhISEhITExMSEhIeHh4RERESEhIRERESEhISEhISEhISEhITExMSEhIRERERERESEhISEhIRERESEhIRERETExMRERF4dZduAAAAK3RSTlMAz4HYfjAnBPbiel8kCvyoHxQPr6FjU08rCPDUxrttaEY8N+60nJB1V0pCX01AnQAAANxJREFUWMPt1smOwkAMBNAKw9BZOgtJgLAvs0/9//9BkNLilBhQX5DfrS4ly74YSqnn2CranuBDGZEMLTyYsxV30Szikcx4Voqqf7qYUy5K0SuNSK4KH9Uo6nXV4GYhY5k4KaGUUuo1lKcp/JiFzEbwYZLx4gAPErbc2E2+fhPaLtDvyFbSxYB3GLpRTXJj3OZXlMq+MOQv/jVwTDGRsSmUUkq9iOR7v4QXnyQDL93/bO1dTpt3oemdz8IupFiOfsW16/jIs5ANzT3/YLhzydabQKg6YIixSyillMgZs0c+z0Ij3wAAAAAASUVORK5CYII=",alt:"category",className:"tabbar-item-icon",compress:{width:30,height:24}}),r.jsx("span",{className:"tabbar-text",children:"Categories"})]})),r.jsxs(f.default,r._object_spread_props(r._object_spread({className:"tabbar-item flex flex-col flex-center cart",LinkComponent:"div",href:l},r.getTrackData("tabbar","cart")),{children:[r.jsx(r.Picture,{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABICAMAAABBaBKgAAAAmVBMVEUAAAASEhITExMWFhYUFBQSEhIdHR0RERESEhISEhITExMSEhIRERERERESEhIQEBARERETExMVFRUXFxczMzMREREeHh4RERESEhISEhITExMRERERERERERESEhISEhIRERERERESEhISEhIRERERERERERERERESEhITExMSEhIRERERERERERESEhISEhIUFBQSEhIRERGcDW4PAAAAMnRSTlMAoF8LMroRlNWAWoz3sHz7aEE9IAXjCMeYYhrow6WKb+2/VSzd0Zt1c0438bWSf0cmg1BFKdMAAAHfSURBVFjD7dfXcuJAEIXhxkoEIREkgUTGsATH/d//4bZcZe52J3StXFTZ322DwsyZ1oz8+HrBpvfhPC7kf/vFp8O4tUuTXtsZkMECjtKOZguP0o4VjKQdJ0ikHW+wlHY0KG2XI9uayFE7NmK0QG8mRjPYicI0y+FiW5elqLzAXExqSEVlD8+2iOSiUsNKjJ6gEY05ZNZ51DXWrvWPHWUXiSGvxCiDtShcrLmWPgxFYW1/pBC6ojCDi23MdMGucojFYgFT8TZ2edmlKn2ZbZnr0xdB3+X+A/FVPLkM416TvtDWMPXp28BKrAJN+oa2CdKnb2HZGunT9w5bMdGnr7ZNvT59HTiJiT59B7iKtJG+BtJCpI307Z03LyW8+35xfzvnv/ZqIFu4Oq/aZ/HwAAdxM829jh1BCZnHsWPpdUgpA3H0mMOrx/eFvojPz8/OmwTmPnMeAZ3AYVp2QFSIh2oHlKPKcuEkBYaVeAk6AOmwN3r4u/r0cgTIe4X46pc4mIWiUG26mKXDsWhN69d55x/W57dKvps4nISxqaQVJHxIAlNJJbgFpBuYShoJEA0iIDGVFOLPjtYHYlPJXwjRbescmkr+JredzgAmhtJ9PbXrWN9XQhxzfW+r0aWH/LgDfwCWrX+ukom9hgAAAABJRU5ErkJggg==",alt:"cart",className:"tabbar-item-icon",compress:{width:30,height:24}}),r.jsx("span",{className:"tabbar-text",children:"Cart"}),r.jsx("span",{className:"cart-num"})]})),r.jsxs(f.default,r._object_spread_props(r._object_spread({className:"tabbar-item flex flex-col flex-center account",LinkComponent:"div",href:"//".concat(s,"/user/account")},r.getTrackData("tabbar","account")),{children:[r.jsx(r.Picture,{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFoAAABICAMAAABBaBKgAAAApVBMVEUAAAAREREVFRU1NTURERESEhIZGRkREREgICARERESEhJ2dnYSEhIRERETExMTExMRERESEhIRERERERERERERERERERERERETExMWFhYVFRUTExMSEhIRERESEhISEhITExMYGBgRERESEhIRERESEhISEhISEhIRERESEhIREREWFhYRERESEhISEhISEhIRERESEhIRERESEhIRERERERERERGg6CSWAAAANnRSTlMA7jEE+/UPhwfhYwLLsE496qugkfjPtoQ1Ix0a5dRUOCcV2Y1nQyy9pVxIC8WbgXx3upVx269/hQZeAAACt0lEQVRYw+2Y2VLqQBCGCWQwm0AWgkRQFlkFxeV87/9oJ+jFyVCo3dGbU+V/Y1lMfdX9T3dPQ+NXteQtHteR77imN8vTYPhj3HawyrDkp1c/AZ6mhjPqd74Lvn98B4+eg27RbnnTZeewcjlqd/stcjCi1Hhg59/exIZScX3TvfVb6ttz/s+P9juLmuTrCPA34flPi8QF964W+epoRup9csAHnls1yAbc4PPi2R0N17sxgl73q8tIgAftDUYlWVAAc+BGh16D2xWcC3MwTVU9A4FsCozB9xQ9OIJUeHbowIsc/aiJ5A6ctngiGdiI42jN4EJ6OIV+KM/xBkwhnM8Gtg2FdjAQl8e4/KMK25edXMFAN9Qz6IoaMQPl+5QL231hpSe1cCcs6mft+wlZKBsfQUMpHyRdE1l3Ir75iSyCQoveg2T8OVZy4v6VrA4uqN+7gcxEUyPquSDqml4nMq/7x2NKXcoq5Ak6WnQfCplvA+377+J6shH5pETfCsdwAY6y+l4gkQ6ErZWuYDYIx84FrCv/dkx/ePrExX51/Z1AJmuFJZi2VbO9pb0PjiG2ezGWl9KDvbI6d2ElDR/cTiUHR16uGzDTCtsBos39+9bRyYHsxg56FgrR4RjmVYfGlDKr5GKfO5TqLar2GM2y2jnZU1sHwz+5afvkzY0acj2B37Zu7tDnXa+DiV3TgnXZIvUgPvGvWASHYDs5bcTM2vhklrCXFKoDUUs73CXRDEfQG9aY7iRf9Hi3B06zoVUYA9H1p0u7C6bON/XWHrsNT83IgZGKbEfF7IN2+ONaWWnVfaXU8txHk7fe8b7xc8iMDx5hz75Bvd2XH5dg0xGwBWQZW0+WsvVkKVtPVrD1ZD1bT9az9WQ9W0/Ws2OLLGFLl/2JRRaxt9KdduaqfgZr5klL/AxMG7/6n/QXkYFsym4cKFEAAAAASUVORK5CYII=",alt:"account",className:"tabbar-item-icon",compress:{width:30,height:24}}),r.jsx("span",{className:"tabbar-text",children:"Account"})]}))]})};function Y(e){var a=e.data,t=a.datas,s={width:375,height:118},n=N(a.style);return r.jsx("div",{className:"card-banner module-padding--sml",style:n,children:r.jsx(r.Swiper,{loop:!0,modules:[r.Autoplay,r.Pagination],pagination:{clickable:!0},direction:"horizontal",autoplay:{delay:5e3},children:t.map(function(e,a){return r.jsx(r.SwiperSlide,{children:r.jsx(f.default,r._object_spread_props(r._object_spread({LinkComponent:"div",className:"slider-item block-a hp-exp-class",href:e.bannerUrl},r.getTrackData("focuspic","d".concat(a),e)),{children:r.jsx(r.Picture,{className:"banner-img",src:e.bannerImg,compress:s,alt:e.bannerTitle})}),e.bannerUrl)},e.bannerUrl)})})})}function J(e){var a,t,s,n,l,i,c,o,d,u=e.title,m=e.label,h=e.trackData,p=m.shopMoreUrl,x=m.fontColor,g=function(e,a){return r.jsxs("div",{className:"card-more flex flex-row flex-items-center",children:[r.jsx("span",{className:"card-more-txt",style:e?{color:a||"#858B9C"}:{},children:e.replace(">","")}),r.jsx("svg",{className:"ic-direct-arrow",viewBox:"0 0 25 24",xmlns:"http://www.w3.org/2000/svg",children:r.jsx("path",{stroke:"#858B9C",d:"M8.3217199,5.26519656 C8.69632365,4.91940847 9.26420976,4.91437221 9.64399627,5.23483248 L9.73480344,5.3217199 L15.7348034,11.8217199 C16.0589326,12.1728598 16.0859433,12.6982524 15.8158357,13.0784344 L15.7348034,13.1782801 L9.73480344,19.6782801 C9.36019969,20.0841008 8.72754063,20.1094072 8.3217199,19.7348034 C7.94711614,19.3890154 7.89673765,18.8233458 8.1858397,18.4191768 L8.26519656,18.3217199 L13.639,12.499995 L8.26519656,6.6782801 C7.91940847,6.30367635 7.91437221,5.73579024 8.23483248,5.35600373 L8.3217199,5.26519656 Z"})})]})};return r.jsxs(f.default,r._object_spread_props(r._object_spread({href:p,className:"card-header flex flex-between flex-items-center",LinkComponent:"div"},r.getTrackData(null==h?void 0:h.spmc,null==h?void 0:h.spmd,null==h?void 0:h.other)),{children:[r.jsx("div",{className:"card-title flex flex-row flex-items-center one-line-clamp",style:x?{color:x}:{},children:u}),(a=e.swiperBadge,s=void 0===(t=m.shopMoreTextColor)?"":t,l=void 0===(n=m.shopMoreText)?"":n,c=void 0===(i=m.subtitleText)?"":i,d=void 0===(o=m.subtitleTextColor)?"":o,a||(c?g(c,d):g(l,s)))]}))}function Q(e){var a=e.itemImg,t=e.rankInfo,s=e.rankInfoColor,n=e.leftImg,l=e.rightImg,i=e.soldInfo,c=e.soldInfoColor,o=e.rankTitle,d=e.rankTitleColor,u=e.trackInfo,m=e.clickTrackInfo,h=e.clickUrl,p=e.index,x=N({bgImg:void 0===n?"":n}),g=N({bgImg:void 0===l?"":l});return r.jsxs(f.default,r._object_spread_props(r._object_spread({className:"bestseller-item flex flex-col flex-items-center hp-exp-class",LinkComponent:"div",href:h},r.getTrackData("bestseller",String(void 0===p?0:p),{trackInfo:u,clickTrackInfo:m})),{children:[r.jsx(r.Picture,{className:"bestseller-item--img img-layer img-w100p",compress:{width:103,height:103},src:a,alt:o,fit:"fill"}),r.jsxs("div",{className:"bestseller-item--bottom",children:[r.jsxs("div",{className:"bestseller-item--bottom--top flex flex-row flex-center",children:[r.jsx("span",{className:"bestseller-item--bottom-img",style:x}),r.jsxs("div",{className:"bestseller-item--bottom--top-text flex flex-col",children:[r.jsx("span",{className:"bestseller-item--bottom--top-text-rankInfo",style:{color:s},children:t}),r.jsx("span",{className:"bestseller-item--bottom--top-text-soldInfo",style:{color:c},children:i})]}),r.jsx("span",{className:"bestseller-item--bottom-img",style:g})]}),r.jsx("div",{className:"bestseller-item--bottom--text one-line-clamp",style:{color:d},children:o})]})]}))}function q(e){var a=e.title,t=e.titleImg;return r.jsx(s.Fragment,{children:a?r.jsx("div",{className:"bestseller-title",children:a}):r.jsx(r.Picture,{className:"bestseller-title",src:t||"//img.lazcdn.com/g/icms/images/ims-web/6c5edfab-ad9a-4d67-b586-b6e963a6f7c9.png",alt:a,compress:{width:100,height:28}})})}function K(e){var a=e.data,t=a.label,s=a.datas,n=a.style,l=function(e){var a=[],t=!0,r=!1,s=void 0;try{for(var n,l=e[Symbol.iterator]();!(t=(n=l.next()).done);t=!0){var i=n.value.list,c=!0,o=!1,d=void 0;try{for(var u,m=i[Symbol.iterator]();!(c=(u=m.next()).done);c=!0){var h=u.value;a.push(h)}}catch(e){o=!0,d=e}finally{try{c||null==m.return||m.return()}finally{if(o)throw d}}}}catch(e){r=!0,s=e}finally{try{t||null==l.return||l.return()}finally{if(r)throw s}}return a}(s),i=N(n);return r.jsx("div",{className:"bestseller module-padding--btm hp-exp-class",style:i,children:r.jsxs("div",{className:"bestseller-content",children:[r.jsx(J,{title:r.jsx(q,r._object_spread({},t)),label:t,trackData:{spmc:"bestSeller",spmd:"more_link"}}),r.jsx("div",{className:"bestseller-item-content flex flex-row flex-between",children:l.map(function(e,a){return r.jsx(Q,r._object_spread({index:a},e))})})]})})}function $(e,a){return r.jsxs(f.default,r._object_spread_props(r._object_spread({className:"category-item flex flex-col block-a hp-exp-class",LinkComponent:"div",href:e.categoryUrl},r.getTrackData("categories",String(a+1))),{children:[r.jsx(r.Picture,{className:"category-img img-layer img-w100p",src:e.categoryImg,alt:e.title,compress:{width:46,height:46}}),r.jsx("div",{className:"category-name two-line-clamp",children:e.title})]}),e.id)}function ee(e){var a=e.items,t=Math.ceil(a.length/2),s=a.slice(0,t),n=a.slice(t);return r.jsx("div",{className:"card-content-drz",children:r.jsxs("div",{className:"row-wrap scroll-x",children:[r.jsx("div",{className:"card-row flex flex-row",children:s.map($)}),r.jsx("div",{className:"card-row flex flex-row",children:n.map($)})]})})}function ea(e){var a=e.data,t=a.recommend,s=a.label,n=N(a.style);return r.jsxs("div",{className:"card-categories module-padding--btm",style:n,children:[r.jsx(J,{title:s.title,label:s,trackData:{spmc:"categories",spmd:"more_link"}}),r.isInDrz?r.jsx(ee,{items:t}):r.jsx("div",{className:"card-content flex flex-between flex-wrap",children:t.map($)})]})}var et=function(e){var a,t=(e||{}).data,n=r._sliced_to_array(s.useState(0),2),l=n[0],i=n[1],c=r._sliced_to_array(s.useState(0),2),o=c[0],d=c[1],u=r._sliced_to_array(s.useState(0),2),m=u[0],h=u[1],p=s.useRef(null),x=s.useRef(null),g=((null==t?void 0:t.datas)||[]).filter(function(e){return e.channelUrl&&-1===e.channelUrl.indexOf("/miniapp")&&e.channelId&&-1===e.channelUrl.indexOf("native.m.lazada.com")}),v=N(t.style);a="2"===(t.rowCount||"1")?g.length>=10?y(g):[g.slice(0,5),g.slice(5)]:[g];var A=function(e,a){var t=e.channelUrlMsite||e.channelUrl;return r.jsxs(f.default,r._object_spread_props(r._object_spread({href:t,className:"channel-item flex flex-col flex-items-center",LinkComponent:"div"},r.getTrackData("icons","d".concat(a+1,"_").concat(e.channelId),{})),{children:[r.jsx(r.Picture,{className:"channel-icon",src:e.channelImg,compress:{width:45,height:45,config:{format:"png"}}}),r.jsx("span",{className:"channel-name",children:e.channelFirstName})]}),e.href)};return s.useEffect(function(){var e=p.current,a=e.clientWidth,t=e.scrollWidth;if(a!==t){x.current.style.visibility="visible";var r=x.current.clientWidth,s=x.current.firstChild.clientWidth;d(t-a),h(r-s)}},[]),r.jsxs("div",{className:"card-channel module-padding--normal",style:v,children:[r.jsx("div",{className:"scroll-x",ref:p,onScroll:function(){var e=p.current.scrollLeft;i(Math.round(+((void 0===e?0:e)/o).toFixed(2)*m))},children:a.map(function(e){return r.jsx("div",{className:"channel-row flex",children:e.map(function(e,a){return A(e,a)})})})}),r.jsx("div",{className:"channel-scroll",ref:x,children:r.jsx("div",{className:"channel-scroll-bar",style:{transform:"translateX(".concat(l,"px)")}})})]})};function er(e){var a=e.data,t=a.datas[0],s=t.bannerUrl,n=t.bannerImg,l=N(a.style);return r.jsx("div",{className:"module-padding--sml",style:l,children:r.jsx(f.default,r._object_spread_props(r._object_spread({className:"card-countdown hp-exp-class",LinkComponent:"div",href:s},r.getTrackData("campaignbanner","1")),{children:r.jsx(r.Picture,{className:"image",fit:"fill",src:n,alt:"campaignbanner",compress:{width:345,height:180}})}))})}function es(e){var a=e.cpStyle.cpImg;return r.jsx(r.Picture,{className:"campaign",src:(void 0===a?"":a)||"https://gcp-img.slatic.net/lazada/f959acd0-7625-4bb5-83b3-3cee0014985d_MY-96-57.png",compress:{width:96,height:38},alt:"campaign"})}function en(e){var a=e.label,t=e.cpStyle,n=void 0===t?{}:t,l=n.cpImg;return r.jsxs(s.Fragment,{children:[(void 0===l?"":l)&&r.jsx(es,{cpStyle:n}),r.jsx(r.Picture,{className:"fs-title",src:a.titleImgUrl||"//img.lazcdn.com/g/icms/images/ims-web/3131a5f6-6cc4-43ce-bfb4-54527ef99f59.png",compress:{config:{size:"x36"}},alt:"flash sale"})]})}function el(e){var a=e.data,t=a.galleryType;return r.jsxs(f.default,r._object_spread_props(r._object_spread({className:"card-fs-item flex flex-col hp-exp-class",LinkComponent:"div",href:a.pdpUrl},r.getTrackData("flashSale","d".concat(a.spmd))),{children:["1"===t?r.jsxs("div",{className:"fs-arrow",style:E("//img.lazcdn.com/g/tps/imgextra/i3/O1CN01PhPpIg1EHoElt2E3v_!!6000000000327-2-tps-129-108.png",43,36),children:[r.jsx("p",{className:"fs-arrow-text",children:"SAVE"}),r.jsx("p",{className:"fs-arrow-num",children:a.itemDiscount.split("%")[0]})]}):(null==a?void 0:a.benefitImg)?r.jsx("div",{className:"fs-arrow",style:E(a.benefitImg,43,36)}):null,r.jsx(r.Picture,{className:"card-fs-img img-layer img-w100p",src:a.itemImg,compress:{width:110,height:110},alt:a.title}),r.jsx("div",{className:"fs-sale-price",children:r.jsx(b,{price:a.itemDiscountPriceNumber})}),"1"===t?r.jsx("span",{className:"fs-origin-price",children:a.itemPrice}):r.jsx("span",{className:"fs-origin-price fs-benefit-txt",children:a.benefitDesc}),r.jsxs("div",{className:"fs-progress",children:["1"===a.showHot&&r.jsx("div",{className:"fs-progress-hot"}),r.jsx("div",{className:"fs-progress-val",style:{width:Number(a.soldProgress)>=1?"100%":"".concat(100*Number(a.soldProgress),"%")},children:a.soldText})]})]}))}function ei(e){var a=e.data;return r.jsx(f.default,{className:"card-fs-banner hp-exp-class",LinkComponent:"div",href:a.itemUrl,"data-spm-click":"gostr=/lzdhome.msite.clkx;","data-spm":"d".concat(a.spmd),children:r.jsx(r.Picture,{className:"card-fs-banner-img",src:a.itemImg,compress:{width:206,height:360}})})}function ec(e){var a=e.data;return r.jsx("div",{className:"fs-swiper",children:r.jsx(r.Swiper,{loop:!0,spaceBetween:8,modules:[r.Autoplay],children:a.map(function(e){return r.jsx(r.SwiperSlide,{children:"2"===e.galleryType?r.jsx(ei,{data:e}):r.jsx(el,{data:e})},e.spmd)})})})}function eo(e){return e<10?"0".concat(e):e}var ed=null,eu=function(e){var a=r._sliced_to_array(s.useState({hh:"00",mm:"00",ss:"00"}),2),t=a[0],n=a[1],l=function(){var a=Number(e.startTS),t=Number(e.endTS),r=Date.now(),s=+new Date(t)-+new Date(a),l=function(){var e="",a="",t="";if(s<=0)e="00",a="00",t="00";else{var i=s-(Date.now()-r);i>0&&(ed=setTimeout(l,1e3));var c=i%864e5;e=eo(Math.max(Math.floor(c/36e5),0));var o=c%36e5;a=eo(Math.max(Math.floor(o/6e4),0)),t=eo(Math.max(Math.floor(o%6e4/1e3),0))}n({hh:e,mm:a,ss:t})};ed=setTimeout(l,1e3)};return s.useEffect(function(){return l(),function(){clearTimeout(ed)}},[]),r.jsxs("div",{className:"fs-time flex flex-row flex-items-center",children:[r.jsxs("span",{className:"white-span",children:[t.hh," : "]}),r.jsxs("span",{className:"white-span",children:[t.mm," : "]}),r.jsx("span",{className:"white-span",children:t.ss})]})};function em(e){var a=e.subtitleText,t=e.subtitleTextColor;return r.jsxs("div",{className:"card-subMore flex flex-items-center flex-justify-end",children:[r.jsx("span",{className:"card-subMore-txt",style:t?{color:t}:null,children:a}),r.jsx("svg",{className:"ic-direct-arrow",fill:"#858B9C","aria-hidden":"true",children:r.jsx("use",{xlinkHref:"#ic-direct-arrow"})})]})}function eh(e){var a=e.shopMoreText,t=e.shopMoreTextColor;return r.jsxs("div",{className:"card-more flex flex-items-center flex-justify-end",children:[r.jsx("span",{className:"card-more-txt",style:t?{color:t}:null,children:a.replace(">","")}),r.jsx("svg",{className:"ic-direct-arrow",viewBox:"0 0 25 24",xmlns:"http://www.w3.org/2000/svg",children:r.jsx("path",{stroke:t||"#858B9C",d:"M8.3217199,5.26519656 C8.69632365,4.91940847 9.26420976,4.91437221 9.64399627,5.23483248 L9.73480344,5.3217199 L15.7348034,11.8217199 C16.0589326,12.1728598 16.0859433,12.6982524 15.8158357,13.0784344 L15.7348034,13.1782801 L9.73480344,19.6782801 C9.36019969,20.0841008 8.72754063,20.1094072 8.3217199,19.7348034 C7.94711614,19.3890154 7.89673765,18.8233458 8.1858397,18.4191768 L8.26519656,18.3217199 L13.639,12.499995 L8.26519656,6.6782801 C7.91940847,6.30367635 7.91437221,5.73579024 8.23483248,5.35600373 L8.3217199,5.26519656 Z"})})]})}var ep=function(e){var a=e.label,t=a.subtitleText;return r.jsx("div",{children:a.serverTS&&a.endTS?r.jsxs(r.Swiper,{spaceBetween:1,loop:!0,modules:[r.Autoplay],autoplay:{delay:2400},direction:"vertical",className:"swiper-no-swiping swiper-badge",children:[r.jsx(r.SwiperSlide,{style:{display:"flex",justifyContent:"flex-end"},children:r.jsxs("div",{className:"timer-wrap flex flex-items-center",children:[r.jsx(eu,{startTS:a.serverTS,endTS:a.endTS}),r.jsx("svg",{className:"ic-direct-arrow",viewBox:"0 0 25 24",xmlns:"http://www.w3.org/2000/svg",children:r.jsx("path",{stroke:"#858B9C",d:"M8.3217199,5.26519656 C8.69632365,4.91940847 9.26420976,4.91437221 9.64399627,5.23483248 L9.73480344,5.3217199 L15.7348034,11.8217199 C16.0589326,12.1728598 16.0859433,12.6982524 15.8158357,13.0784344 L15.7348034,13.1782801 L9.73480344,19.6782801 C9.36019969,20.0841008 8.72754063,20.1094072 8.3217199,19.7348034 C7.94711614,19.3890154 7.89673765,18.8233458 8.1858397,18.4191768 L8.26519656,18.3217199 L13.639,12.499995 L8.26519656,6.6782801 C7.91940847,6.30367635 7.91437221,5.73579024 8.23483248,5.35600373 L8.3217199,5.26519656 Z"})})]})}),r.jsx(r.SwiperSlide,{children:t?em(a):eh(a)})]}):r.jsx("div",{children:t?em(a):eh(a)})})},ef=function(e){var a=(null==e?void 0:e.data)||{},t=a.label,s=a.items,n=a.style;return r.jsx("div",{className:"card-fs module-padding--btm",children:r.jsxs("div",{className:"card-fs-container",children:[r.jsx(J,{title:r.jsx(en,{label:t,cpStyle:n}),label:t,swiperBadge:r.jsx(ep,{label:t}),trackData:{spmc:"flashSale",spmd:"more_link"}},"fsTit"),r.jsx("div",{className:"card-fs-content flex flex-row",children:(s||[]).map(function(e){return e.length>1?r.jsx(ec,{data:e}):r.jsx(el,{data:e[0]},e[0].spmd)})})]})},"fs")};function ex(e){var a=e.text;return r.jsxs("div",{className:"price-badge",children:[r.jsx("svg",{className:"price-badge-ic","aria-hidden":"true",children:r.jsx("use",{xlinkHref:"#ic-price-badge"})}),r.jsx("span",{className:"price-badge-txt",children:a})]})}function eg(e){var a=e.clickUrl,t=e.logo,s=e.firstText,n=e.secondText;return r.jsxs(f.default,{className:"sku-btm flex flex-items-center",LinkComponent:"div",href:a,"data-spm":"rank",children:[r.jsxs("div",{className:"sku-btm-content flex flex-items-center one-line-clamp",children:[r.jsx(r.Picture,{className:"btm-rank-icon flex",src:t,compress:{width:30,height:30},alt:n}),r.jsxs("span",{className:"fir-txt",children:[s," "]}),r.jsx("span",{className:"sec-txt module-inside-tit one-line-clamp",children:n})]}),r.jsx("svg",{className:"ic-direct-arrow",viewBox:"0 0 25 24",xmlns:"http://www.w3.org/2000/svg",children:r.jsx("path",{stroke:"#858B9C",d:"M8.3217199,5.26519656 C8.69632365,4.91940847 9.26420976,4.91437221 9.64399627,5.23483248 L9.73480344,5.3217199 L15.7348034,11.8217199 C16.0589326,12.1728598 16.0859433,12.6982524 15.8158357,13.0784344 L15.7348034,13.1782801 L9.73480344,19.6782801 C9.36019969,20.0841008 8.72754063,20.1094072 8.3217199,19.7348034 C7.94711614,19.3890154 7.89673765,18.8233458 8.1858397,18.4191768 L8.26519656,18.3217199 L13.639,12.499995 L8.26519656,6.6782801 C7.91940847,6.30367635 7.91437221,5.73579024 8.23483248,5.35600373 L8.3217199,5.26519656 Z"})})]})}function ev(e){var a=e.text,t=e.type,s=e.imgUrl;switch(t){case"badge":return r.jsx("span",{className:"recommend-badge inner-space",children:a});case"platformFreeVoucher":return r.jsxs("div",{className:"recommend-voucher flex flex-items-center recommend-freev semi-circle inner-space",children:[r.jsx("span",{className:"recommend-tag flex flex-items-center",children:"Laz"}),a]});case"sellerVoucher":return r.jsx("div",{className:"recommend-voucher flex flex-items-center recommend-seller semi-circle inner-space",children:a});case"platformVoucher":return r.jsxs("div",{className:"recommend-voucher flex flex-items-center recommend-platform semi-circle inner-space",children:[r.jsx("span",{className:"recommend-tag flex flex-items-center",children:"Laz"}),a]});case"image":if(!s)return null;return r.jsx(r.Picture,{className:"recommend-img inner-space",compress:{config:{size:"x52"}},src:s});default:return null}}function eA(e){var a;return r.jsx(s.Fragment,{children:null==e?void 0:null===(a=e.tagIcons)||void 0===a?void 0:a.map(function(e){return r.jsx(r.Picture,{className:"jfy-card-tit--icon",src:e.tagIconUrl,compress:{config:{size:"x52"}}},e.tagIconUrl)})})}function ej(e){return"rank"===e.type?r.jsx(eg,r._object_spread({},e)):null}function eb(e){var a=e.data,t=a.itemUrl;return r.jsxs(f.default,r._object_spread_props(r._object_spread({href:t,className:"block-div jfy-card hp-exp-class",LinkComponent:"li"},r.getTrackData("jfy","d".concat(e.spmd))),{children:[r.jsx(r.Picture,{className:"jfy-card-img img-w100p",src:a.itemImg,compress:{height:168,width:168}}),r.jsxs("div",{className:"jfy-card-desc",children:[r.jsxs("div",{className:"jfy-card-tit two-line-clamp",children:[r.jsx(eA,{tagIcons:a.tagIcons}),a.itemTitle]}),a.priceBadge&&r.jsx(ex,{text:a.priceBadge}),r.jsx("div",{className:"jfy-card-price flex flex-row",children:r.jsx(b,{price:a.itemDiscountPrice})}),a.itemPrice&&r.jsx("div",{className:"jfy-card-price-o",children:r.jsx(b,{price:a.itemPrice})}),(a.recommendText||[]).length>0&&r.jsx("div",{className:"recommend flex flex-items-center flex-wrap",children:a.recommendText.map(function(e){return r.jsx(ev,r._object_spread({},e))})}),r.jsxs("div",{className:"jfy-card-rating flex flex-row flex-items-center",children:[a.itemRatingScore>0&&r.jsxs(s.Fragment,{children:[r.jsx("svg",{className:"star",viewBox:"0 0 18 18",id:"ic-star",xmlns:"http://www.w3.org/2000/svg",children:r.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.00003 14.7625L13.0717 17.364C13.8221 17.8434 14.7778 17.1767 14.5868 16.3068L13.4891 11.3073L17.2126 7.88892C17.852 7.30194 17.4913 6.23496 16.6269 6.15638L11.7745 5.71529L9.92848 1.10135C9.59318 0.263304 8.40688 0.263303 8.07158 1.10135L6.22558 5.71529L1.37319 6.15638C0.508787 6.23496 0.148054 7.30194 0.787438 7.88892L4.51094 11.3073L3.41325 16.3068C3.22227 17.1767 4.17793 17.8434 4.92839 17.364L9.00003 14.7625Z",fill:"#FFC83C"})}),r.jsx("span",{className:"rate-num inter-margin",children:a.itemRatingScore})]}),a.itemReviews>0&&r.jsxs("span",{className:"rate-review module-subtit inter-margin",children:["(",a.itemReviews,")"]}),a.itemSales>0&&r.jsxs("span",{className:"rate-sal inter-margin",children:["\xb7 ",a.itemSales]}),a.itemRegion&&r.jsx("span",{className:"rate-loca inter-margin",children:a.itemRegion})]})]}),r.jsx(ej,r._object_spread({},a.bottomInfo))]}))}var ew=s.forwardRef(function(e,a){var t=e.data,n=void 0===t?[]:t,l=e.onSlideChange,i=e.tabs,c=e.activeIndex,o=e.isFixed,d=s.useRef();s.useImperativeHandle(a,function(){return{swiper:null==d?void 0:d.current.swiper}}),s.useEffect(function(){var e;null==d||null===(e=d.current)||void 0===e||e.swiper.slideTo(c)},[c]);var u=function(a,t){var s=e.status,n=r._sliced_to_array(y((a||[]).filter(function(e){return e.dataType.indexOf("sku")>-1})),2),l=n[0],o=n[1],d=i[t]&&i[t].tabNameKey;return r.jsxs(r.SwiperSlide,{children:[r.jsxs("div",{className:"slide-grid flex flex-row flex-between",children:[r.jsx("ul",{className:"ul-grid odd",children:l.map(function(e,a){return r.jsx(eb,{data:e,spmd:"".concat(d,"_").concat(2*a)},e.itemId)})}),r.jsx("ul",{className:"ul-grid even",children:(o||[]).map(function(e,a){return r.jsx(eb,{data:e,spmd:"".concat(d,"_").concat(2*a+1)},e.itemId)})})]}),t===c&&"LOADING"===s&&r.jsx("div",{className:"jfy-loading",children:r.jsx(r.Picture,{compress:{width:40,height:40},src:r.isInDrz?r.isInDrzShop?"//img.lazcdn.com/g/tps/imgextra/i3/O1CN01vX8l9I1gUuuXkJg0L_!!6000000004146-1-tps-109-106.gif":"//img.lazcdn.com/g/tps/imgextra/i1/O1CN01dmW7OR1TUNRMBH0P4_!!6000000002385-1-tps-200-200.gif":"//img.lazcdn.com/g/tps/imgextra/i4/O1CN01Y3c8hr1nzmm59KVPu_!!6000000005161-1-tps-100-100.gif"})})]},d)};return r.jsx("div",{className:r.classNames("jfy-body",{"is-tab-fixed":void 0!==o&&o}),children:r.jsx(r.Swiper,{ref:d,onSlideChange:function(e){l&&l(e.activeIndex)},children:i.length>0?i.map(function(e,a){return u(n[a],a)}):u([],0)})})}),ey=function(e){var a=e.tab,t=e.index,s=e.activeIndex;return r.jsxs("li",{className:r.classNames("jfy-header-tab flex-col flex-center hp-exp-class",{"tab-actived":s===t}),"data-index":t,children:[r.jsx(r.Picture,{className:"jfy-header-icon",src:a.topImg,compress:{width:66,height:66},alt:a.title}),r.jsx("div",{className:"jfy-header-tit",children:a.title})]})};function eE(e){var a=e.onSlideChange,t=e.activeIndex,n=e.tabs,l=s.useRef(),i=s.useRef(),c=s.useRef(),o=s.useMemo(function(){var e=0,a=0;if(n&&n.length>0){var r=l.current,s=null==r?void 0:r.children,i=null==s?void 0:s[t];return e=null==i?void 0:i.clientWidth,a=null==i?void 0:i.offsetLeft,{width:"".concat(e,"px"),transform:"translateX(".concat(a,"px)")}}return{width:0}},[t]);return s.useEffect(function(){var e=0;try{if(n.length>1){var a=l.current,r=(null==a?void 0:a.children)[t],s=r.clientWidth,c=r.offsetLeft;e=s/2+c-window.screen.width/2,i.current.scrollLeft=e>0?e:0}}catch(e){}},[t]),r.jsx("div",{className:"jfy-header-wrap scroll-x",ref:i,children:r.jsxs("ul",{className:"jfy-header",ref:l,onClick:function(e){var t=Number(e.target.dataset.index);(0===t||t)&&a&&a(t)},children:[n.length>=2?n.map(function(e,a){return r.jsx(ey,{tab:e,index:a,activeIndex:t},e.tabId)}):r.jsx("div",{className:"card-header",children:r.jsx("span",{className:"card-title",children:p.default.get("voyager#@#lzd.homepage-new.jfymodule.jfy-title","Just For You")})}),r.jsx("li",{className:"jfy-header-bar",ref:c,style:o})]})})}var eN=r.lzdEnv.regionID,e_=r.lzdEnv.language,eC=new URLSearchParams(location.href),eI=u.getCookie("cna"),eS=r.isInDrz?"6576003":"6571151",eR={api:"mtop.lazada.ald.homepage.common.service",v:"1.0",ecode:1,dataType:"json",type:"GET",ext_headers:{msiteVersion:"99.99.98"}},ez=(a=r._async_to_generator(function(){var e,a,t,s,n,l,i,c=arguments;return r._ts_generator(this,function(o){switch(o.label){case 0:e=c.length>0&&void 0!==c[0]?c[0]:eS,o.label=1;case 1:return o.trys.push([1,3,,4]),i=r._object_spread_props(r._object_spread({},r.defaultParams),{extend:eC.get("webPreviewId")?JSON.stringify({webPreviewId:eC.get("webPreviewId")}):void 0,appId:e}),[4,r.request(r._object_spread_props(r._object_spread({},eR),{data:i}))];case 2:return[2,(null===(l=r._sliced_to_array.apply(void 0,[o.sent(),1])[0])||void 0===l?void 0:null===(n=l.data)||void 0===n?void 0:null===(s=n.resultValue)||void 0===s?void 0:null===(t=s[e])||void 0===t?void 0:null===(a=t.data)||void 0===a?void 0:a[0])||{}];case 3:return console.log(o.sent()),[3,4];case 4:return[2]}})}),function(){return a.apply(this,arguments)}),ek=(t=r._async_to_generator(function(e,a){var t,s,n,l,i,c,o;return r._ts_generator(this,function(d){switch(d.label){case 0:return c={appId:e,params:JSON.stringify(r._object_spread({appId:e,isbackup:!0,newTileEnable:!0,language:e_,region_id:eN,platform:"msite",scene:"homepage",appVersion:"0.0.0",anonymous_id:eI,userId:0},a))},o={api:"mtop.relationrecommend.LazadaRecommend.recommend",v:"1.0",ecode:0,type:"GET"},[4,r.request(r._object_spread_props(r._object_spread({},o),{data:c}))];case 1:return[2,(null===(i=r._sliced_to_array.apply(void 0,[d.sent(),1])[0])||void 0===i?void 0:null===(l=i.data)||void 0===l?void 0:null===(n=l.result)||void 0===n?void 0:null===(s=n[0])||void 0===s?void 0:null===(t=s.resultValue)||void 0===t?void 0:t[e])||{}]}})}),function(e,a){return t.apply(this,arguments)}),eT="LOADING",eD=r.isInDrz?[41701,41845]:[25718,25719],eB={},eL=0;function eP(e){var a,t=(null==e?void 0:e.msiteJfy)||{},n=((null==t?void 0:t.data)||[]).slice(0,6)||[],l=r._sliced_to_array(s.useState({}),2),i=l[0],c=l[1],o=r._sliced_to_array(s.useState((null==t?void 0:t.tabs)||[]),2),d=o[0],u=o[1],m=r._sliced_to_array(s.useState([n]),2),h=m[0],p=m[1],f=s.useRef(),x=s.useRef(null),g=r._sliced_to_array(s.useState(0),2),v=g[0],A=g[1],j=s.useRef({0:0}),b=r._sliced_to_array(s.useState("INITIAL"),2),y=b[0],E=b[1],N=r._sliced_to_array(s.useState(!1),2),_=N[0],C=N[1],I=r._sliced_to_array(s.useState(!1),2),S=I[0],R=I[1],z=function(e){j.current[e||v]?j.current[v]+=1:j.current[v]=1};s.useEffect(function(){var e;(null==t?void 0:null===(e=t.data)||void 0===e?void 0:e.length)>0?(p([null==t?void 0:t.data]),z(1)):C(!0)},[t]);var k=(a=r._async_to_generator(function(){var e,a,t,s,n,l,c,o=arguments;return r._ts_generator(this,function(m){switch(m.label){case 0:e=o.length>0&&void 0!==o[0]?o[0]:v,E(eT),m.label=1;case 1:return m.trys.push([1,,3,4]),[4,ek(eD[e>0?1:0],r._object_spread_props(r._object_spread({},i),{pageNo:j.current[e]||0}))];case 2:return a=m.sent(),0===d.length?(u((null===(t=a)||void 0===t?void 0:t.tabs)||[]),p([null===(s=a)||void 0===s?void 0:s.data]),l={},((null===(n=a)||void 0===n?void 0:n.tabs)||[]).forEach(function(e,a){l[a]=0}),j.current=l):((c=r._to_consumable_array(h))[e]=(c[e]||[]).concat(a.data||[]),p(c)),[3,4];case 3:return E("LOADED"),z(e),C(!1),[7];case 4:return[2]}})}),function(){return a.apply(this,arguments)}),T=function(e,a){var t,r=(null===(t=document.querySelector("#recyclerview"))||void 0===t?void 0:t.scrollTop)||document.documentElement.scrollTop;eB[a]=r;var s=eB[e]||eL;document.querySelector("#recyclerview")?document.querySelector("#recyclerview").scrollTop=s:document.documentElement.scrollTop=s},D=function(e){if(A(e),f.current.dataset.fixed&&T(e,v),e!==v){z(e);var a=d[e]||{};c({jump_args:a.jumpArgs,tabId:a.tabId,themeid:a.themeid}),C(!0)}},B=function(e){if(y!==eT){var a,t=null==x?void 0:null===(a=x.current)||void 0===a?void 0:a.swiper.slides[v].clientHeight;e+w>eL+t-200&&C(!0)}};return s.useEffect(function(){_&&k(v)},[_,v]),s.useEffect(function(){var e,a,t=null==f?void 0:f.current,r=document.querySelector("#search"),s=(null==r?void 0:r.clientHeight)||0;eL=eL>1?eL:(null==t?void 0:t.offsetTop)-2*s,t._ot=eL;var n=(e=function(){var e,a,s=(null===(e=document.querySelector("#recyclerview"))||void 0===e?void 0:e.scrollTop)||document.documentElement.scrollTop;(d||[]).length>=2&&function(e,a,t,r){var s=e.dataset.fixed,n=document.querySelector("#search").getBoundingClientRect(),l=n.top,i=n.height;if(r>=t){if(s)return;e.setAttribute("data-fixed","fixed"),e.style.top="".concat(Math.floor(l+i),"px"),a.classList.remove("search-wrap-shadow"),a.classList.add("search-bg-with-jfy")}else s&&(e.setAttribute("data-fixed",""),e.style.top="0px",a.classList.add("search-wrap-shadow"),a.classList.remove("search-bg-with-jfy"))}(t,r,eL,s),R((null==t?void 0:null===(a=t.dataset)||void 0===a?void 0:a.fixed)==="fixed"),B(s)},function(){var t=this,r=arguments;a||(a=setTimeout(function(){e.apply(t,r),a=null},300))});return(document.querySelector("#recyclerview")||document).addEventListener("scroll",n,!1),function(){(document.querySelector("#recyclerview")||document).removeEventListener("scroll",n)}},[h,d,e.needRefresh]),r.jsxs("div",{className:"jfy",children:[r.jsx("div",{className:r.classNames("jfy-header",{"jfy-header-fixed":d.length>=2&&S}),ref:f,children:r.jsx(eE,{tabs:d,activeIndex:v,onSlideChange:D})}),r.jsx(ew,{data:h,status:y,activeIndex:v,tabs:d,ref:x,isFixed:d.length>=2&&S,onSlideChange:D})]})}function eM(e){var a=e.jumpUrl,t=e.itemImg,s=e.brandImg,n=e.discount,l=e.title,i=void 0===l?"":l,c=e.index;return r.jsxs(f.default,r._object_spread_props(r._object_spread({className:"lazmall-item flex flex-center flex-col text text-center hp-exp-class",LinkComponent:"div",href:a},r.getTrackData("lazMall","d".concat(c+1),{})),{children:[r.jsx(r.Picture,{className:"lazmall-item--img img-layer img-w100p",compress:{width:72,height:72},src:t,alt:i}),s?r.jsx(r.Picture,{className:"lazmall-item--brand",compress:{width:21,height:21},src:s,alt:i}):r.jsx("div",{className:"lazmall-item-discount-conent flex flex-justify-center",children:r.jsx("span",{className:"lazmall-item-discount flex flex-items-center",children:void 0===n?"":n})}),i&&r.jsx("span",{className:"lazmall-item--tit flex flex-center module-inside-tit",children:i})]}))}function eF(e){var a=e.title,t=e.titleImg,n=e.cpStyle,l=(n||{}).cpImg;return r.jsxs(s.Fragment,{children:[(void 0===l?"":l)&&r.jsx(es,{cpStyle:n}),r.jsx(r.Picture,{className:"lazmall-title",src:t||"//img.lazcdn.com/g/icms/images/ims-web/6c5edfab-ad9a-4d67-b586-b6e963a6f7c9.png",alt:a,compress:{config:{size:"x80"}}})]})}function eU(e){var a,t=e.data,s=t.label,n=t.datas,l=t.style,i=N(l),c=n.slice(0,2),o=n.slice(2);return 0===n.length?null:r.jsx("div",{className:"lazmall module-padding--btm",style:i,children:r.jsxs("div",{className:"lazmall-container",children:[r.jsx(J,{title:r.jsx(eF,r._object_spread_props(r._object_spread({},s),{cpStyle:l})),label:s,trackData:{spmc:"lazMall",spmd:"more_link"}}),r.jsxs("div",{className:"lazmall-content flex flex-row",children:[c.map(function(e,a){return r.jsx(eM,r._object_spread_props(r._object_spread({},e),{index:a}))}),r.jsxs("div",{className:"lazmall-long flex flex-col text text-center",children:[r.jsx("div",{className:"lazmall-store flex flex-row",children:o.map(function(e,a){return r.jsx(eM,{jumpUrl:null==e?void 0:e.jumpUrl,itemImg:null==e?void 0:e.itemImg,brandImg:null==e?void 0:e.brandImg,index:a})})}),r.jsx("span",{className:"lazmall-long-tit text text-center module-inside-tit",children:!!o.length&&(null===(a=o[0])||void 0===a?void 0:a.title)})]})]})]})})}var eG={categoriesV2:"categories",newDarazScrollCategories:"categories",flashSaleV4:"flashSale",lazMallV2:"lazMall",bannerSlider:"bannerSlider",newDarazBannerSlider:"bannerSlider",scrollChannels:"channels",countdown:"countdown",bestSeller:"bestSeller"};function eH(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=[];return e.forEach(function(e){var t=eG[e.moduleId];t&&a.push({key:t,data:e.fields})}),a.push({key:"justForYou"}),a}module.exports=function(e){var a,t,n,l,i,c,o=(null==e?void 0:null===(t=e.data)||void 0===t?void 0:null===(a=t.msiteHomepageData)||void 0===a?void 0:a.global)||{},d=o.currency,u=o.searchBar,m=o.atmosphereBG,p=void 0===m?{}:m,f=null==e?void 0:e.data,x=f.seoInfo,g=f.msiteJfy,v=void 0===g?{}:g,A=f.blackAndWhiteThemeConfig,b=void 0===A?{}:A,w=h.default(),y=r._sliced_to_array(s.useState(!1),2),E=y[0],_=y[1],C=eH((null==e?void 0:null===(l=e.data)||void 0===l?void 0:null===(n=l.msiteHomepageData)||void 0===n?void 0:n.sections)||[]),I=r._sliced_to_array(s.useState(C||[]),2),S=I[0],R=I[1],z=r._sliced_to_array(s.useState(void 0===u?{}:u),2),k=z[0],T=z[1];d&&j(d),s.useEffect(function(){Array.isArray(C)&&C.length<=1&&ez().then(function(e){var a=(null==e?void 0:e.global)||{},t=a.currency,r=a.searchBar;R(eH((null==e?void 0:e.sections)||[])),j(t||{}),T(r||{}),_(!0)})},[]);var D=s.useMemo(function(){var e=p.imageUrl;return e?r._object_spread_props(r._object_spread({},N({bgImg:e,width:750,height:750})),{backgroundSize:"auto"}):{}},[p]);window.__lzd_call_app_config?window.__lzd_call_app_config.from="hp_new":window.__lzd_call_app_config={from:"hp_new"};var B=r.isTrue(null==b?void 0:b.isActive)&&"TH"===r.regionID;return r.jsxs("div",{className:r.classNames("page-container",{"grayscale-theme":B}),style:D,children:[r.jsx(Z,{data:k,atmosphereBG:p}),r.jsx(s.Fragment,{children:S.map(function(e){return function(e){var a=e.key,t=e.data,s=e.needRefresh,n=(null==e?void 0:e.msiteJfy)||{};switch(a){case"bannerSlider":return r.jsx(Y,{data:t},a);case"channels":return r.jsx(et,{data:t},a);case"countdown":return r.jsx(er,{data:t},a);case"flashSale":return r.jsx(ef,{data:t},a);case"categories":return r.jsx(ea,{data:t},a);case"lazMall":return r.jsx(eU,{data:t},a);case"justForYou":return r.jsx(eP,{needRefresh:s,msiteJfy:n},a);case"bestSeller":return r.jsx(K,{data:t},a);default:return null}}(r._object_spread_props(r._object_spread({},e),{needRefresh:E,msiteJfy:v}))})}),r.jsx(O,{}),r.jsx("div",{className:"seo-layout",dangerouslySetInnerHTML:{__html:"<div>".concat(null===(c=void 0===x?{}:x)||void 0===c?void 0:null===(i=c.seoList)||void 0===i?void 0:i.map(function(e){return e["paragraphs_".concat(w.language)]}),"</div>")}}),r.jsx(r.Portal,{themeConfig:b,imgStyle:{height:"460rpx",width:"702rpx"},closeStyle:{height:"60rpx",marginTop:"30rpx",width:"60rpx"}})]})};
;        (function(e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if (k(e).length === 2 && e[g](f) === !0 || k(e).length === 1 && e[g](f) === !1) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });
define("@ali/gcom-lang-i18n/index", [], function(require, exports, module) {"use strict";function e(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=Array(n);t<n;t++)r[t]=e[t];return r}function n(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function t(e){var t=void 0===e?"undefined":n(e);return null!=e&&("object"==t||"function"==t)}var r,o=/\/\/lang\.alicdn\.com\//,i=/_([-\w]+)\.js/,u={appName:"",pseudoEnableCookieKey:"_lang",pseudoEnableCookieKeyValue:"pd_KV"};module.exports={getConfig:function(){return function(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{},r=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.forEach(function(n){var r,o;r=e,o=t[n],n in r?Object.defineProperty(r,n,{value:o,enumerable:!0,configurable:!0,writable:!0}):r[n]=o})}return e}({},u)},setConfig:function(e){var n=e||{};Object.keys(u).forEach(function(e){void 0!==n[e]&&(u[e]=n[e])})},get:function(a,c,l,f){if(!a)return"";c=c||a;var d,s,y=f?f.customConfigKey:"flute_langs",p=t(window[y])?window[y]:{},b="",m=u.appName||window.medusa_app_name||"";if(a.indexOf("#@#")>0&&(m=(s=function(e){if(Array.isArray(e))return e}(d=a.split("#@#"))||function(e,n){var t,r,o=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=o){var i=[],u=!0,a=!1;try{for(o=o.call(e);!(u=(t=o.next()).done)&&(i.push(t.value),!n||i.length!==n);u=!0);}catch(e){a=!0,r=e}finally{try{u||null==o.return||o.return()}finally{if(a)throw r}}return i}}(d,2)||function(n,t){if(n){if("string"==typeof n)return e(n,t);var r=Object.prototype.toString.call(n).slice(8,-1);if("Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return e(n,t)}}(d,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],a=s[1]),p[m]&&(p=p[m]),!Object.keys(p).length){var v=document.scripts||[];Array.prototype.some.call(v,function(e){var n=e.src;if(o.test(n)&&i.test(n)){var t=n.match(i);return b=t&&t.length>0?t[1]:""}return!1}),m&&b&&(y="".concat(m,"_").concat(b.toLowerCase()),p=t(window[y])?window[y]:{})}var g=(void 0===p[a]||""===p[a]?c:p[a])||"";return(l&&"object"==typeof l&&(g=g.replace(/\{([^}]+)\}/g,function(){for(var e=arguments.length,n=Array(e),t=0;t<e;t++)n[t]=arguments[t];var r=n[1];return void 0===l[r]?n[0]:l[r]})),void 0===r&&(r=function(e){if(("undefined"==typeof window?"undefined":n(window))===void 0||("undefined"==typeof document?"undefined":n(document))===void 0)return"";for(var t=e+"=",r=document.cookie.split(";"),o=0;o<r.length;o++){var i=r[o];if(-1!=i.indexOf(t))return i.substring(t.length+1,i.length)}return""}(u.pseudoEnableCookieKey)===u.pseudoEnableCookieKeyValue),r)?"##@@@".concat(a,"##").concat(m,"@@@##").concat(g):g}};
;        (function(e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if (k(e).length === 2 && e[g](f) === !0 || k(e).length === 1 && e[g](f) === !1) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });
define("@ali/gcom-lzd-react-link/index", [], function(require, exports, module) {"use strict";var t,e,n,r,o,i,a,s,u,c,l=require("@ali/pnpm-react@18/index"),d=require("@ali/gcom-lzd-push/index"),f=require("@ali/pnpm-react-transition-group/index"),p=require("@ali/pnpm-react@18/jsx-runtime");function h(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(e){var r;r=n[e],e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r})}return t}function v(t,e){return e=null!=e?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):(function(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);n.push.apply(n,r)}return n})(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function g(t,e){if(null==t)return{};var n,r,o=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(r=0;r<i.length;r++)n=i[r],!(e.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(t,n)&&(o[n]=t[n])}return o}function m(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function y(t,e){if(t){if("string"==typeof t)return m(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return m(t,e)}}function b(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n,r,o=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=o){var i=[],a=!0,s=!1;try{for(o=o.call(t);!(a=(n=o.next()).done)&&(i.push(n.value),!e||i.length!==e);a=!0);}catch(t){s=!0,r=t}finally{try{a||null==o.return||o.return()}finally{if(s)throw r}}return i}}(t,e)||y(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(t){return t&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t}var _={},k="undefined"!=typeof window&&"onload"in window,E="undefined"!=typeof process&&!!(process.versions&&process.versions.node),I="undefined"!=typeof WXEnvironment&&"Web"!==WXEnvironment.platform,O="undefined"!=typeof __kraken__,T="undefined"!=typeof my&&null!==my&&void 0!==my.alert,M="undefined"!=typeof tt&&null!==tt&&void 0!==tt.showToast,R="undefined"!=typeof swan&&null!==swan&&void 0!==swan.showToast,A="undefined"!=typeof ks&&null!==ks&&void 0!==ks.showToast,S=!M&&"undefined"!=typeof wx&&null!==wx&&(void 0!==wx.request||void 0!==wx.miniProgram),j="undefined"!=typeof global&&null!==global&&void 0!==global.callNative&&!I,x=k&&"object"==typeof pha,P=T&&k&&my.isFRM,C="object"==typeof navigator?navigator.userAgent||navigator.swuserAgent:"",N=/.+AliApp\((\w+)\/((?:\d+\.)+\d+)\).* .*(WindVane)(?:\/((?:\d+\.)+\d+))?.*/.test(C)&&k&&"undefined"!=typeof WindVane&&void 0!==WindVane.call,L=function(t){if(t.__esModule)return t;var e=t.default;if("function"==typeof e){var n=function t(){return this instanceof t?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};n.prototype=e.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(t).forEach(function(e){var r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,r.get?r:{enumerable:!0,get:function(){return t[e]}})}),n}(Object.freeze({__proto__:null,isWeb:k,isNode:E,isWeex:I,isKraken:O,isMiniApp:T,isByteDanceMicroApp:M,isBaiduSmartProgram:R,isKuaiShouMiniProgram:A,isWeChatMiniProgram:S,isQuickApp:j,isPHA:x,isFRM:P,isWindVane:N,default:{isWeb:k,isNode:E,isWeex:I,isKraken:O,isMiniApp:T,isByteDanceMicroApp:M,isBaiduSmartProgram:R,isKuaiShouMiniProgram:A,isWeChatMiniProgram:S,isQuickApp:j,isPHA:x,isWindVane:N,isFRM:P}}));_.__esModule=!0,Object.keys(L).forEach(function(t){"default"!==t&&"__esModule"!==t&&(t in _&&_[t]===L[t]||(_[t]=L[t]))});var W=/"[^"]+"|'[^']+'|url\([^\)]+\)|(\d*\.?\d+)rpx/g,q=_.isWeb?"web":_.isWeex?"weex":_.isNode?"node":"",F=function(t,e){var n=Math.pow(10,e+1);return 10*Math.round(Math.floor(t*n)/10)/n},D=function(t,e){return e?parseFloat(t)*o+"px":t},B=function(t,e){return e?F(parseFloat(t)/(i/100),4)+"vw":t};void 0===o&&(o=1),void 0===i&&(i=750);var V=function(){function t(){this.__store={}}var e=t.prototype;return e.set=function(t,e){this.__store[t+"_"+(void 0===t?"undefined":w(t))]=e},e.get=function(t){return this.__store[t+"_"+(void 0===t?"undefined":w(t))]},e.has=function(t){return Object.prototype.hasOwnProperty.call(this.__store,t+"_"+(void 0===t?"undefined":w(t)))},t}(),z=(t=function(t,e,n){return n&&(q=n),"string"==typeof t&&W.test(t)?"web"===q||"node"===q?t.replace(W,B):"weex"===q?t.replace(W,D):t:t},e=new V,function(){var n=arguments.length<=0?void 0:arguments[0];return e.has(n)||e.set(n,t.apply(void 0,arguments)),e.get(n)});function H(t,e,n,r,o){return p.jsx(t,U(e),n,r,o)}function U(t){if(t&&"style"in t){var e=t.style;if("object"==typeof e){var n=Object.assign({},t),r={};for(var o in e)r[o]="string"==typeof e[o]?z(e[o]):e[o];return n.style=r,n}}return t}function X(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function K(t){this.time=t.time,this.target=t.target,this.rootBounds=t.rootBounds,this.boundingClientRect=t.boundingClientRect,this.intersectionRect=t.intersectionRect||J(),this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,r=this.intersectionRect,o=r.width*r.height;n?this.intersectionRatio=Number((o/n).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}var Y=function(){var t,e;function n(t,e){var r,o,i,a=this;!function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")}(this,n),this.THROTTLE_TIMEOUT=100,this.POLL_INTERVAL=null,this.USE_MUTATION_OBSERVER=!0,this._checkForIntersections=function(){var t=a._rootIsInDom(),e=t?a._getRootRect():J();a._observationTargets.forEach(function(n){var r=n.element,o=$(r),i=this._rootContainsTarget(r),a=n.entry,s=t&&i&&this._computeTargetAndRootIntersection(r,e),u=n.entry=new K({time:"undefined"!=typeof performance&&performance.now?performance.now():Date.now(),target:r,boundingClientRect:o,rootBounds:e,intersectionRect:s});a?t&&i?this._hasCrossedThreshold(a,u)&&this._queuedEntries.push(u):a&&a.isIntersecting&&this._queuedEntries.push(u):this._queuedEntries.push(u)},a),a._queuedEntries.length&&a._callback(a.takeRecords(),a)};var s=e||{};if("function"!=typeof t)throw Error("callback must be a function");if(s.root&&1!=s.root.nodeType)throw Error("root must be an Element");this._checkForIntersections=(r=this._checkForIntersections,o=this.THROTTLE_TIMEOUT,i=null,function(){i||(i=setTimeout(function(){r(),i=null},o))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(s.rootMargin),this.thresholds=this._initThresholds(s.threshold),this.root=s.root||null,this.rootMargin=this._rootMarginValues.map(function(t){return t.value+t.unit}).join(" ")}return t=[{key:"observe",value:function(t){if(!this._observationTargets.some(function(e){return e.element===t})){if(!(t&&1==t.nodeType))throw Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}}},{key:"unobserve",value:function(t){this._observationTargets=this._observationTargets.filter(function(e){return e.element!==t}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())}},{key:"disconnect",value:function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()}},{key:"takeRecords",value:function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t}},{key:"_initThresholds",value:function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter(function(t,e,n){if("number"!=typeof t||Number.isNaN(t)||t<0||t>1)throw Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]})}},{key:"_parseRootMargin",value:function(t){var e=(t||"0px").split(/\s+/).map(function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}});return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e}},{key:"_monitorIntersections",value:function(){!this._monitoringIntersections&&(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(G(window,"resize",this._checkForIntersections,!0),G(document,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))}},{key:"_unmonitorIntersections",value:function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,Q(window,"resize",this._checkForIntersections,!0),Q(document,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))}},{key:"_computeTargetAndRootIntersection",value:function(t,e){if("none"!=window.getComputedStyle(t).display){for(var n=$(t),r=te(t),o=!1;!o;){var i=null,a=1==r.nodeType?window.getComputedStyle(r):{};if("none"===a.display)return;if(r===this.root||r===document?(o=!0,i=e):r!==document.body&&r!==document.documentElement&&"visible"!==a.overflow&&(i=$(r)),i&&!(n=function(t,e){var n=Math.max(t.top,e.top),r=Math.min(t.bottom,e.bottom),o=Math.max(t.left,e.left),i=Math.min(t.right,e.right),a=i-o,s=r-n;return a>=0&&s>=0&&{top:n,bottom:r,left:o,right:i,width:a,height:s}}(i,n)))break;r=te(r)}return n}}},{key:"_getRootRect",value:function(){var t;if(this.root)t=$(this.root);else{var e=document.documentElement,n=document.body;t={top:0,left:0,right:e.clientWidth||n.clientWidth,width:e.clientWidth||n.clientWidth,bottom:e.clientHeight||n.clientHeight,height:e.clientHeight||n.clientHeight}}return this._expandRectByRootMargin(t)}},{key:"_expandRectByRootMargin",value:function(t){var e=this._rootMarginValues.map(function(e,n){return"px"===e.unit?e.value:e.value*(n%2?t.width:t.height)/100}),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n}},{key:"_hasCrossedThreshold",value:function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,r=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==r)for(var o=0;o<this.thresholds.length;o++){var i=this.thresholds[o];if(i==n||i==r||i<n!=i<r)return!0}}},{key:"_rootIsInDom",value:function(){return!this.root||Z(document,this.root)}},{key:"_rootContainsTarget",value:function(t){return Z(this.root||document,t)}},{key:"_registerInstance",value:function(){}},{key:"_unregisterInstance",value:function(){}}],X(n.prototype,t),e&&X(n,e),n}();function G(t,e,n,r){"function"==typeof t.addEventListener?t.addEventListener(e,n,r||!1):"function"==typeof t.attachEvent&&t.attachEvent("on".concat(e),n)}function Q(t,e,n,r){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,r||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on".concat(e),n)}function $(t){var e;try{e=t.getBoundingClientRect()}catch(t){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):J()}function J(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function Z(t,e){for(var n=e;n;){if(n===t)return!0;n=te(n)}return!1}function te(t){var e=t.parentNode;return e&&11==e.nodeType&&e.host?e.host:e&&e.assignedSlot?e.assignedSlot.parentNode:e}(n=a||(a={})).appear="appear",n.disappear="disappear",(r=s||(s={})).up="up",r.down="down";var tn="undefined"!=typeof window&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype?window.IntersectionObserver:Y,tr={root:null,rootMargin:"0px",threshold:function(t){for(var e=[],n=0;n<t;n++)e.push(n/t);return e}(10)};function to(t){t.forEach(function(t){var e=t.target,n=t.boundingClientRect,r=t.intersectionRatio,o=n.y||n.top,i=parseInt(e.getAttribute("data-before-current-y"),10)||o;!(r>.01)||ta(e.getAttribute("data-appeared"))||ti(e,a.appear)?0===r&&ta(e.getAttribute("data-appeared"))&&!ti(e,a.disappear)&&(e.setAttribute("data-appeared","false"),e.setAttribute("data-has-disappeared","true"),e.dispatchEvent(ts(a.disappear,{direction:o>i?s.up:s.down}))):(e.setAttribute("data-appeared","true"),e.setAttribute("data-has-appeared","true"),e.dispatchEvent(ts(a.appear,{direction:o>i?s.up:s.down}))),e.setAttribute("data-before-current-y",String(o))})}function ti(t,e){var n=ta(t.getAttribute("isonce"))||ta(t.getAttribute("data-once")),r=e===a.appear?"data-has-appeared":"data-has-disappeared";return n&&ta(t.getAttribute(r))}function ta(t){return t&&"false"!==t}function ts(t,e){return new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:e})}var tu=function(t){var e=t.onAppear,n=t.onDisappear,r=t.children,o=l.useRef(),i=r.ref&&"object"==typeof r.ref?r.ref:o;l.useEffect(function(){"function"==typeof r.ref&&r.ref(i.current)},[i,r]);var s=l.useCallback(function(t,e){var n=i.current;if(n&&"function"==typeof e){var r,o=n._nativeNode||n;r=o,u||function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tr;u=new tn(to,t)}(),r===document&&(r=document.documentElement),u.observe(r),o.addEventListener(t,e)}return function(){var n=i.current;n&&(n._nativeNode||n).removeEventListener(t,e)}},[i]);return l.useEffect(function(){return s(a.appear,e)},[i,e,s]),l.useEffect(function(){return s(a.disappear,n)},[i,n,s]),l.Children.only(v(h({},r),{ref:i}))},tc=function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.search,r=!(arguments.length>1)||void 0===arguments[1]||arguments[1],o=n;n.includes("?")&&(o=void 0===(t=b(n.split("?"),2)[1])?"":t),o.includes("#")&&(o=void 0===(e=b(o.split("#"),1)[0])?"":e);for(var i=o.split("&"),a={};i.length;){var s=b(i.shift().split("="),2),u=s[0],c=void 0===u?"":u,l=s[1],d=void 0===l?"":l;c&&(a[c]=r?decodeURIComponent(d):d)}return a},tl=function(){var t,e,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.location.href,r=b(n.split("?"),2),o=r[0],i=void 0===o?"":o,a=r[1],s=void 0===a?"":a,u="";return i.includes("#")?(i=(t=b(i.split("#"),2))[0],u=t[1]):s.includes("#")&&(s=(e=b(s.split("#"),2))[0],u=e[1]),{url:i,query:tc(s),hash:u}},td=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=[];return Object.keys(t).forEach(function(r){var o=t[r]||"";n.push("".concat(r,"=").concat(e?encodeURIComponent(o):o))}),n.join("&")},tf=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n="",r=tl(t),o=r.url,i=r.query,a=r.hash,s=td(Object.assign({},i,e));return s&&(n="".concat(o,"?").concat(s)),a&&(n="".concat(n,"#").concat(a)),n};function tp(t){return function(t){if(Array.isArray(t))return m(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||y(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var th=(null===(c=window)||void 0===c?void 0:c.__isSSR)?l.useLayoutEffect:l.useEffect;function tv(t){var e,n=l.useRef(t);return th(function(){n.current=t}),l.useCallback(function(){for(var t=arguments.length,r=Array(t),o=0;o<t;o++)r[o]=arguments[o];return(e=n).current.apply(e,tp(r))},[])}var tg=function(t){var e=t.in,n=t.onExited,r=t.rippleX,o=t.rippleY,i=t.rippleSize,a=b(l.useState(!1),2),s=a[0],u=a[1],c=tv(void 0===n?function(){}:n);return th(function(){if(!e){u(!0);var t=setTimeout(c,350);return function(){clearTimeout(t)}}},[c,e]),H("span",{className:"link-ripple link-ripple-visible",style:{width:i,height:i,top:-(i/2)+o,left:-(i/2)+r},children:H("span",{className:"link-ripple-child ".concat(s?"link-ripple-child-leaving":"")})})},tm=l.forwardRef(function(t,e){var n=t.center,r=void 0!==n&&n,o=t.className,i=b(l.useState([]),2),a=i[0],s=i[1],u=l.useRef(0),c=l.useRef(null);l.useEffect(function(){c.current&&(c.current(),c.current=null)},[a]);var d=l.useRef(!1),p=l.useRef(null),h=l.useRef(null),v=l.useRef(null);l.useEffect(function(){return function(){clearTimeout(p.current)}},[]);var g=l.useCallback(function(t){var e=t.rippleX,n=t.rippleY,r=t.rippleSize,o=t.cb;s(function(t){return tp(t).concat([H(tg,{rippleX:e,rippleY:n,rippleSize:r},u.current)])}),u.current+=1,c.current=o},[]),m=l.useCallback(function(){var t,e,n,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments.length>2?arguments[2]:void 0,s=i.center,u=void 0===s?r:s;if("mousedown"===o.type&&d.current){d.current=!1;return}"touchstart"===o.type&&(d.current=!0);var c=v.current,l=c.getBoundingClientRect();if(!u&&(0!==o.clientX||0!==o.clientY)&&(o.clientX||o.touches)){var f=o.touches?o.touches[0]:o,m=f.clientX,y=f.clientY;t=Math.round(m-l.left),e=Math.round(y-l.top)}else t=Math.round(l.width/2),e=Math.round(l.height/2);n=u?Math.sqrt((2*Math.pow(l.width,2)+Math.pow(l.height,2))/3):Math.sqrt(Math.pow(2*Math.max(Math.abs((c?c.clientWidth:0)-t),t)+2,2)+Math.pow(2*Math.max(Math.abs((c?c.clientHeight:0)-e),e)+2,2)),null===h.current&&(h.current=function(){g({rippleX:t,rippleY:e,rippleSize:n,cb:a})},p.current=setTimeout(function(){h.current&&(h.current(),h.current=null)},80))},[r,g]),y=l.useCallback(function(t,e){if(clearTimeout(p.current),"touchend"===t.type&&h.current){t.persist(),h.current(),h.current=null,p.current=setTimeout(function(){y(t,e)});return}h.current=null,s(function(t){return t.length>0?t.slice(1):t}),c.current=e},[]);return l.useImperativeHandle(e,function(){return{start:m,stop:y}},[m,y]),H("span",{className:"link-ripple-root ".concat(o),ref:v,children:H(f.TransitionGroup,{component:null,exit:!0,children:a})})}),ty=function(){var t="",e="";if(window.goldlog&&(t=(r=b(window.goldlog.spm_ab||[],2))[0],e=r[1]),t&&e||!window.aplus||(t=(o=b(window.aplus.spm_ab||[],2))[0],e=o[1]),(!t||!e)&&(null===(n=window)||void 0===n?void 0:n.__SPM_AB)&&(t=window.__SPM_AB.spma,e=window.__SPM_AB.spmb),!window.__isSSR&&(!t||!e)){var n,r,o,i,a=document.querySelector('meta[name="spm-id"]'),s=a&&a.getAttribute("content")||"";t=(i=b(s&&s.split("."),2))[0],e=i[1]}return[t,e]};function tb(t,e,n){(window.goldlog_queue||(window.goldlog_queue=[])).push({action:"goldlog.record",arguments:[t,e,n,"GET"]})}module.exports=function(t){var e,n,r,o,i,a,s,u,c,f,m,y,w,_=t.style;t.centerRipple;var k=t.children,E=t.className,I=t.LinkComponent,O=t.disabled,T=void 0!==O&&O,M=t.disabledExp,R=void 0!==M&&M,A=t.disabledClk,S=void 0!==A&&A,j=t.href,x=void 0===j?"":j,P=t.logKey,C=void 0===P?"":P,N=t.utData,L=t.urlParams,W=void 0===L?{}:L,q=t.trackInfo,F=t.clickTrackInfo,D=t.wyswyg,B=t.onClick,V=t.onTouchEnd,z=t.onTouchMove,X=t.onTouchStart,K=t.onAppear,Y=g(t,["style","centerRipple","children","className","LinkComponent","disabled","disabledExp","disabledClk","href","logKey","utData","urlParams","trackInfo","clickTrackInfo","wyswyg","onClick","onTouchEnd","onTouchMove","onTouchStart","onAppear"]),G=l.useRef(null),Q=l.useRef(null),$=(e=void 0===N?{}:N,n=ty(),o=void 0===(r=e.spm)?{}:r,g(e,["spm"]),a=void 0===(i=o.c)?0:i,u=void 0===(s=o.d)?0:s,n.concat([a,u]).join(".")),J=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:T;return tv(function(r){return e&&e(r),!n&&G.current&&G.current[t](r),!0})},Z=J("start",X),te=J("stop",V),tn=J("stop",z),tr=J("stop",V),to=function(t){if(!D)return{url:t};var e=null;try{var n,r=null===(n=Q.current.getElementsByClassName("image-wyswyg")[0])||void 0===n?void 0:n.children[0];console.log("imgDOM",r);var o=D.productDetail,i=D.isAddImageAtFirst;e={url:t,imgUrl:r.src,isAddImageAtFirst:i,productDetail:void 0===o?{}:o,transition:{scene:"NewLazLook",itemImgDOM:function(){return r}}}}catch(n){e={url:t}}return e},ti=(c=function(){!R&&(tb(C,"EXP",tf("",h({trackInfo:q,spm:$},Y,W)).slice(1)),K&&K())},m=(f=b(l.useState(!1),2))[0],y=f[1],function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];if(!m)return y(!0),c.apply(void 0,tp(e))}),ta=b(l.useState(!1),2),ts=ta[0],tc=ta[1];return l.useEffect(function(){tc(!0)},[]),H(tu,{onAppear:ti,children:(w=v(h({ref:Q,className:"link-ripple-container ".concat(E),style:void 0===_?{}:_,onClick:function(t){if(B&&B(),t.stopPropagation(),x){var e=tf(x,v(h({},W),{spm:$}));S||tb(C,"CLK",tf("",h({clickTrackInfo:F,spm:$},Y)).slice(1));var n=to(e);setTimeout(function(){d.LzdPush(n)},200)}},onTouchStart:Z,onTouchMove:tn,onTouchCancel:function(t){console.log("cancle"),tr(t)},onTouchEnd:te},Y),{children:[k,ts&&!T?H(tm,{ref:G}):null]}),p.jsxs(void 0===I?"button":I,U(w),void 0,void 0,void 0))})};
;        (function(e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if (k(e).length === 2 && e[g](f) === !0 || k(e).length === 1 && e[g](f) === !1) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });
define("@ali/pnpm-react-transition-group/index", [], function(require, exports, module) {module.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/",n(n.s=4)}([function(e,t){e.exports=require("@ali/pnpm-react@18/index")},function(e,t){e.exports=require("@ali/pnpm-react-dom@18/index")},,,function(e,t,n){e.exports=n(5)},function(e,t,n){"use strict";e.exports=n(6)},function(e,t,n){"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}function i(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}function o(e,t){return o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},o(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)}function s(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}n.r(t),n.d(t,"CSSTransition",(function(){return N})),n.d(t,"ReplaceTransition",(function(){return D})),n.d(t,"SwitchTransition",(function(){return $})),n.d(t,"TransitionGroup",(function(){return P})),n.d(t,"Transition",(function(){return C})),n.d(t,"config",(function(){return d}));var l=n(0),u=n.n(l),c=n(1),p=n.n(c),d={disabled:!1},f=u.a.createContext(null),h=function(e){return e.scrollTop},E="unmounted",m="exited",v="entering",x="entered",g="exiting",b=function(e){function t(t,n){var r,i=e.call(this,t,n)||this,o=n&&!n.isMounting?t.enter:t.appear;return i.appearStatus=null,t.in?o?(r=m,i.appearStatus=v):r=x:r=t.unmountOnExit||t.mountOnEnter?E:m,i.state={status:r},i.nextCallback=null,i}a(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===E?{status:m}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==v&&n!==x&&(t=v):n!==v&&n!==x||(t=g)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===v){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:p.a.findDOMNode(this);n&&h(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===m&&this.setState({status:E})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,i=this.props.nodeRef?[r]:[p.a.findDOMNode(this),r],o=i[0],a=i[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!n||d.disabled?this.safeSetState({status:x},(function(){t.props.onEntered(o)})):(this.props.onEnter(o,a),this.safeSetState({status:v},(function(){t.props.onEntering(o,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:x},(function(){t.props.onEntered(o,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:p.a.findDOMNode(this);t&&!d.disabled?(this.props.onExit(r),this.safeSetState({status:g},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:m},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:m},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:p.a.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=i[0],a=i[1];this.props.addEndListener(o,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===E)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,i(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return u.a.createElement(f.Provider,{value:null},"function"==typeof n?n(e,r):u.a.cloneElement(u.a.Children.only(n),r))},t}(u.a.Component);function y(){}b.contextType=f,b.propTypes={},b.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:y,onEntering:y,onEntered:y,onExit:y,onExiting:y,onExited:y},b.UNMOUNTED=E,b.EXITED=m,b.ENTERING=v,b.ENTERED=x,b.EXITING=g;var C=b,O=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=s(n.className,r):n.setAttribute("class",s(n.className&&n.className.baseVal||"",r)));var n,r}))},S=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1];t.removeClasses(i,"exit"),t.addClass(i,o?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1]?"appear":"enter";t.addClass(i,o,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),i=r[0],o=r[1]?"appear":"enter";t.removeClasses(i,o),t.addClass(i,o,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,i=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:i,activeClassName:r?i+"-active":n[e+"Active"],doneClassName:r?i+"-done":n[e+"Done"]}},t}a(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],i=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&i&&(r+=" "+i),"active"===n&&e&&h(e),r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,i=n.active,o=n.done;this.appliedClasses[t]={},r&&O(e,r),i&&O(e,i),o&&O(e,o)},n.render=function(){var e=this.props,t=(e.classNames,i(e,["classNames"]));return u.a.createElement(C,r({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(u.a.Component);S.defaultProps={classNames:""},S.propTypes={};var N=S;function k(e,t){var n=Object.create(null);return e&&l.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&Object(l.isValidElement)(e)?t(e):e}(e)})),n}function j(e,t,n){return null!=n[t]?n[t]:e.props[t]}function T(e,t,n){var r=k(e.children),i=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,i=Object.create(null),o=[];for(var a in e)a in t?o.length&&(i[a]=o,o=[]):o.push(a);var s={};for(var l in t){if(i[l])for(r=0;r<i[l].length;r++){var u=i[l][r];s[i[l][r]]=n(u)}s[l]=n(l)}for(r=0;r<o.length;r++)s[o[r]]=n(o[r]);return s}(t,r);return Object.keys(i).forEach((function(o){var a=i[o];if(Object(l.isValidElement)(a)){var s=o in t,u=o in r,c=t[o],p=Object(l.isValidElement)(c)&&!c.props.in;!u||s&&!p?u||!s||p?u&&s&&Object(l.isValidElement)(c)&&(i[o]=Object(l.cloneElement)(a,{onExited:n.bind(null,a),in:c.props.in,exit:j(a,"exit",e),enter:j(a,"enter",e)})):i[o]=Object(l.cloneElement)(a,{in:!1}):i[o]=Object(l.cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:j(a,"exit",e),enter:j(a,"enter",e)})}})),i}var A=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},R=function(e){function t(t,n){var r=e.call(this,t,n)||this,i=r.handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},r}a(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,i=t.children,o=t.handleExited;return{children:t.firstRender?(n=e,r=o,k(n.children,(function(e){return Object(l.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:j(e,"appear",n),enter:j(e,"enter",n),exit:j(e,"exit",n)})}))):T(e,i,o),firstRender:!1}},n.handleExited=function(e,t){var n=k(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=r({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=i(e,["component","childFactory"]),o=this.state.contextValue,a=A(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?u.a.createElement(f.Provider,{value:o},a):u.a.createElement(f.Provider,{value:o},u.a.createElement(t,r,a))},t}(u.a.Component);R.propTypes={},R.defaultProps={component:"div",childFactory:function(e){return e}};var P=R,L=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).handleEnter=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExited",1,n)},t}a(t,e);var n=t.prototype;return n.handleLifecycle=function(e,t,n){var r,i=this.props.children,o=u.a.Children.toArray(i)[t];if(o.props[e]&&(r=o.props)[e].apply(r,n),this.props[e]){var a=o.props.nodeRef?void 0:p.a.findDOMNode(this);this.props[e](a)}},n.render=function(){var e=this.props,t=e.children,n=e.in,r=i(e,["children","in"]),o=u.a.Children.toArray(t),a=o[0],s=o[1];return delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,u.a.createElement(P,r,n?u.a.cloneElement(a,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):u.a.cloneElement(s,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(u.a.Component);L.propTypes={};var M,w,D=L;var V="out-in",_="in-out",F=function(e,t,n){return function(){var r;e.props[t]&&(r=e.props)[t].apply(r,arguments),n()}},U=((M={})[V]=function(e){var t=e.current,n=e.changeState;return u.a.cloneElement(t,{in:!1,onExited:F(t,"onExited",(function(){n(v,null)}))})},M[_]=function(e){var t=e.current,n=e.changeState,r=e.children;return[t,u.a.cloneElement(r,{in:!0,onEntered:F(r,"onEntered",(function(){n(v)}))})]},M),I=((w={})[V]=function(e){var t=e.children,n=e.changeState;return u.a.cloneElement(t,{in:!0,onEntered:F(t,"onEntered",(function(){n(x,u.a.cloneElement(t,{in:!0}))}))})},w[_]=function(e){var t=e.current,n=e.children,r=e.changeState;return[u.a.cloneElement(t,{in:!1,onExited:F(t,"onExited",(function(){r(x,u.a.cloneElement(n,{in:!0}))}))}),u.a.cloneElement(n,{in:!0})]},w),G=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=e.call.apply(e,[this].concat(r))||this).state={status:x,current:null},t.appeared=!1,t.changeState=function(e,n){void 0===n&&(n=t.state.current),t.setState({status:e,current:n})},t}a(t,e);var n=t.prototype;return n.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){return null==e.children?{current:null}:t.status===v&&e.mode===_?{status:v}:!t.current||(n=t.current,r=e.children,n===r||u.a.isValidElement(n)&&u.a.isValidElement(r)&&null!=n.key&&n.key===r.key)?{current:u.a.cloneElement(e.children,{in:!0})}:{status:g};var n,r},n.render=function(){var e,t=this.props,n=t.children,r=t.mode,i=this.state,o=i.status,a=i.current,s={children:n,current:a,changeState:this.changeState,status:o};switch(o){case v:e=I[r](s);break;case g:e=U[r](s);break;case x:e=a}return u.a.createElement(f.Provider,{value:{isMounting:!this.appeared}},e)},t}(u.a.Component);G.propTypes={},G.defaultProps={mode:V};var $=G}]);;        (function (e, k, f, g, d) { if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {            if ((k(e).length === 2 && e[g](f) === !0) || (k(e).length === 1 && e[g](f) === !1)) {                module.exports = e[d];                module.exports[d] = module.exports;            }        } })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });
define("@ali/lzdrwb-homepage-react/vendor.cjs.es5.production", [], function(require, exports, module) {"use strict";var e,t,i,r,n,a,s,o,l,d,c,u,p,f,h,v=require("@ali/pnpm-react@18/index"),m=require("@ali/gcom-lzd-mtop/index"),g=require("@ali/pnpm-react-dom@18/index"),y=require("@ali/gcom-lzd-env/index"),b=require("@ali/gcom-lzd-qs/index"),w=require("@ali/gcom-lzd-resize/index"),S=require("@ali/pnpm-react@18/jsx-runtime"),E=require("@ali/gcom-lzd-cookie/index");function x(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var T=x(v),C=x(m),M=x(y),P=x(b),_=x(w);function k(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function O(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},r=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),r.forEach(function(t){k(e,t,i[t])})}return e}function I(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);i.push.apply(i,r)}return i})(Object(t)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))}),e}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,r=Array(t);i<t;i++)r[i]=e[i];return r}function A(e,t){if(e){if("string"==typeof e)return L(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if("Object"===i&&e.constructor&&(i=e.constructor.name),"Map"===i||"Set"===i)return Array.from(i);if("Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return L(e,t)}}function z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var i,r,n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a=[],s=!0,o=!1;try{for(n=n.call(e);!(s=(i=n.next()).done)&&(a.push(i.value),!t||a.length!==t);s=!0);}catch(e){o=!0,r=e}finally{try{s||null==n.return||n.return()}finally{if(o)throw r}}return a}}(e,t)||A(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function D(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}var N={},j="undefined"!=typeof window&&"onload"in window,R="undefined"!=typeof process&&!!(process.versions&&process.versions.node),G="undefined"!=typeof WXEnvironment&&"Web"!==WXEnvironment.platform,B="undefined"!=typeof __kraken__,F="undefined"!=typeof my&&null!==my&&void 0!==my.alert,V="undefined"!=typeof tt&&null!==tt&&void 0!==tt.showToast,H="undefined"!=typeof swan&&null!==swan&&void 0!==swan.showToast,q="undefined"!=typeof ks&&null!==ks&&void 0!==ks.showToast,W=!V&&"undefined"!=typeof wx&&null!==wx&&(void 0!==wx.request||void 0!==wx.miniProgram),X="undefined"!=typeof global&&null!==global&&void 0!==global.callNative&&!G,Y=j&&"object"==typeof pha,U=F&&j&&my.isFRM,K="object"==typeof navigator?navigator.userAgent||navigator.swuserAgent:"",Q=/.+AliApp\((\w+)\/((?:\d+\.)+\d+)\).* .*(WindVane)(?:\/((?:\d+\.)+\d+))?.*/.test(K)&&j&&"undefined"!=typeof WindVane&&void 0!==WindVane.call,$=function(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var i=function e(){return this instanceof e?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};i.prototype=t.prototype}else i={};return Object.defineProperty(i,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(i,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),i}(Object.freeze({__proto__:null,isWeb:j,isNode:R,isWeex:G,isKraken:B,isMiniApp:F,isByteDanceMicroApp:V,isBaiduSmartProgram:H,isKuaiShouMiniProgram:q,isWeChatMiniProgram:W,isQuickApp:X,isPHA:Y,isFRM:U,isWindVane:Q,default:{isWeb:j,isNode:R,isWeex:G,isKraken:B,isMiniApp:F,isByteDanceMicroApp:V,isBaiduSmartProgram:H,isKuaiShouMiniProgram:q,isWeChatMiniProgram:W,isQuickApp:X,isPHA:Y,isWindVane:Q,isFRM:U}}));N.__esModule=!0,Object.keys($).forEach(function(e){"default"!==e&&"__esModule"!==e&&(e in N&&N[e]===$[e]||(N[e]=$[e]))});var J=/"[^"]+"|'[^']+'|url\([^\)]+\)|(\d*\.?\d+)rpx/g,Z=N.isWeb?"web":N.isWeex?"weex":N.isNode?"node":"",ee=function(e,t){var i=Math.pow(10,t+1);return 10*Math.round(Math.floor(e*i)/10)/i},et=function(e,t){return t?parseFloat(e)*a+"px":e},ei=function(e,t){return t?ee(parseFloat(e)/(s/100),4)+"vw":e};void 0===a&&(a=1),void 0===s&&(s=750);var er=function(){function e(){this.__store={}}var t=e.prototype;return t.set=function(e,t){this.__store[e+"_"+(void 0===e?"undefined":D(e))]=t},t.get=function(e){return this.__store[e+"_"+(void 0===e?"undefined":D(e))]},t.has=function(e){return Object.prototype.hasOwnProperty.call(this.__store,e+"_"+(void 0===e?"undefined":D(e)))},e}(),en=(e=function(e,t,i){return i&&(Z=i),"string"==typeof e&&J.test(e)?"web"===Z||"node"===Z?e.replace(J,ei):"weex"===Z?e.replace(J,et):e:e},t=new er,function(){var i=arguments.length<=0?void 0:arguments[0];return t.has(i)||t.set(i,e.apply(void 0,arguments)),t.get(i)});function ea(e,t,i,r,n){return S.jsx(e,eo(t),i,r,n)}function es(e,t,i,r,n){return S.jsxs(e,eo(t),i,r,n)}function eo(e){if(e&&"style"in e){var t=e.style;if("object"==typeof t){var i=Object.assign({},e),r={};for(var n in t)r[n]="string"==typeof t[n]?en(t[n]):t[n];return i.style=r,i}}return e}var el={exports:{}};/*!
	Copyright (c) 2018 Jed Watson.
	Licensed under the MIT License (MIT), see
	http://jedwatson.github.io/classnames
*/el.exports,function(){var e={}.hasOwnProperty;function t(){for(var r="",n=0;n<arguments.length;n++){var a=arguments[n];a&&(r=i(r,function(r){if("string"==typeof r||"number"==typeof r)return r;if("object"!=typeof r)return"";if(Array.isArray(r))return t.apply(null,r);if(r.toString!==Object.prototype.toString&&!r.toString.toString().includes("[native code]"))return r.toString();var n="";for(var a in r)e.call(r,a)&&r[a]&&(n=i(n,a));return n}(a)))}return r}function i(e,t){return t?e?e+" "+t:e+t:e}el.exports?(t.default=t,el.exports=t):window.classNames=t}();var ed=(i=el.exports)&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i.default:i;function ec(e,t,i,r,n,a,s){try{var o=e[a](s),l=o.value}catch(e){i(e);return}o.done?t(l):Promise.resolve(l).then(r,n)}function eu(e){return function(){var t=this,i=arguments;return new Promise(function(r,n){var a=e.apply(t,i);function s(e){ec(a,r,n,s,o,"next",e)}function o(e){ec(a,r,n,s,o,"throw",e)}s(void 0)})}}function ep(e,t){var i,r,n,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]},s=Object.create(("function"==typeof Iterator?Iterator:Object).prototype),o=Object.defineProperty;return o(s,"next",{value:l(0)}),o(s,"throw",{value:l(1)}),o(s,"return",{value:l(2)}),"function"==typeof Symbol&&o(s,Symbol.iterator,{value:function(){return this}}),s;function l(o){return function(l){return function(o){if(i)throw TypeError("Generator is already executing.");for(;s&&(s=0,o[0]&&(a=0)),a;)try{if(i=1,r&&(n=2&o[0]?r.return:o[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,o[1])).done)return n;switch(r=0,n&&(o=[2&o[0],n.value]),o[0]){case 0:case 1:n=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(n=(n=a.trys).length>0&&n[n.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]<n[3])){a.label=o[1];break}if(6===o[0]&&a.label<n[1]){a.label=n[1],n=o;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(o);break}n[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{i=n=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}}var ef=function(){var e,t,i,r,n="",a="";if(window.goldlog){var s,o,l=(null===(o=window.goldlog)||void 0===o?void 0:o.spm_ab)||[];n=l[0],a=l[1]}if((!n||!a)&&window.aplus){var d,c=(null===(d=window.aplus)||void 0===d?void 0:d.spm_ab)||[];n=c[0],a=c[1]}return(!n||!a)&&(null===(s=window)||void 0===s?void 0:s.__SPM_AB)&&(n=null===(t=window)||void 0===t?void 0:null===(e=t.__SPM_AB)||void 0===e?void 0:e.spma,a=null===(r=window)||void 0===r?void 0:null===(i=r.__SPM_AB)||void 0===i?void 0:i.spmb),[n,a]},eh=y.isInLzdApp(),ev=M.default(),em=(ev.regionID||"").toUpperCase();function eg(){var e=navigator.userAgent.toLowerCase();return eh?e.indexOf("Android")>-1||e.indexOf("Adr")>-1||e.indexOf("android")>-1?"android":"ios":y.isMobile()?"m":"pc"}var ey={regionID:em,platform:eg(),isbackup:"true",backupParams:"language,regionID,platform"},eb=I(O({},ey),{language:"".concat(ev.language,"-").concat(em),terminalType:2,anonUID:E.getCookie("cna")}),ew=I(O({},ey),{language:ev.language,voyagerVersion:"2",terminalType:1,anonUID:E.getCookie("t_uid")}),eS=Object.assign({},"m"===eg()?eb:ew),eE=y.isDrz(),ex=y.isDrzShopMM();function eT(e){return function(e){if(Array.isArray(e))return L(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||A(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function eC(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function eM(e,t){void 0===e&&(e={}),void 0===t&&(t={});var i=["__proto__","constructor","prototype"];Object.keys(t).filter(function(e){return 0>i.indexOf(e)}).forEach(function(i){void 0===e[i]?e[i]=t[i]:eC(t[i])&&eC(e[i])&&Object.keys(t[i]).length>0&&eM(e[i],t[i])})}var eP={body:{},addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return null},querySelectorAll:function(){return[]},getElementById:function(){return null},createEvent:function(){return{initEvent:function(){}}},createElement:function(){return{children:[],childNodes:[],style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},createElementNS:function(){return{}},importNode:function(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function e_(){var e="undefined"!=typeof document?document:{};return eM(e,eP),e}var ek={document:eP,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState:function(){},pushState:function(){},go:function(){},back:function(){}},CustomEvent:function(){return this},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{getPropertyValue:function(){return""}}},Image:function(){},Date:function(){},screen:{},setTimeout:function(){},clearTimeout:function(){},matchMedia:function(){return{}},requestAnimationFrame:function(e){return"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0)},cancelAnimationFrame:function(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function eO(){var e="undefined"!=typeof window?window:{};return eM(e,ek),e}function eI(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function eL(){return Date.now()}function eA(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function ez(){for(var e=arguments,t=Object(arguments.length<=0?void 0:arguments[0]),i=["__proto__","constructor","prototype"],r=1;r<arguments.length;r+=1)!function(r){var n=r<0||e.length<=r?void 0:e[r];if(null!=n&&("undefined"!=typeof window&&void 0!==window.HTMLElement?!(n instanceof HTMLElement):!n||1!==n.nodeType&&11!==n.nodeType))for(var a=Object.keys(Object(n)).filter(function(e){return 0>i.indexOf(e)}),s=0,o=a.length;s<o;s+=1){var l=a[s],d=Object.getOwnPropertyDescriptor(n,l);void 0!==d&&d.enumerable&&(eA(t[l])&&eA(n[l])?n[l].__swiper__?t[l]=n[l]:ez(t[l],n[l]):!eA(t[l])&&eA(n[l])?(t[l]={},n[l].__swiper__?t[l]=n[l]:ez(t[l],n[l])):t[l]=n[l])}}(r);return t}function eD(e,t,i){e.style.setProperty(t,i)}function eN(e){var t,i=e.swiper,r=e.targetPosition,n=e.side,a=eO(),s=-i.translate,o=null,l=i.params.speed;i.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(i.cssModeFrameID);var d=r>s?"next":"prev",c=function(e,t){return"next"===d&&e>=t||"prev"===d&&e<=t},u=function(){t=new Date().getTime(),null===o&&(o=t);var e=s+(.5-Math.cos(Math.max(Math.min((t-o)/l,1),0)*Math.PI)/2)*(r-s);if(c(e,r)&&(e=r),i.wrapperEl.scrollTo(k({},n,e)),c(e,r)){i.wrapperEl.style.overflow="hidden",i.wrapperEl.style.scrollSnapType="",setTimeout(function(){i.wrapperEl.style.overflow="",i.wrapperEl.scrollTo(k({},n,e))}),a.cancelAnimationFrame(i.cssModeFrameID);return}i.cssModeFrameID=a.requestAnimationFrame(u)};u()}function ej(e,t){void 0===t&&(t="");var i=eO(),r=eT(e.children);return(i.HTMLSlotElement&&e instanceof HTMLSlotElement&&r.push.apply(r,eT(e.assignedElements())),t)?r.filter(function(e){return e.matches(t)}):r}function eR(e){try{console.warn(e);return}catch(e){}}function eG(e,t){void 0===t&&(t=[]);var i,r,n=document.createElement(e);return(r=n.classList).add.apply(r,eT(Array.isArray(t)?t:(void 0===(i=t)&&(i=""),i.trim().split(" ").filter(function(e){return!!e.trim()})))),n}function eB(e,t){return eO().getComputedStyle(e,null).getPropertyValue(t)}function eF(e){var t,i=e;if(i){for(t=0;null!==(i=i.previousSibling);)1===i.nodeType&&(t+=1);return t}}function eV(e,t){for(var i=[],r=e.parentElement;r;)t?r.matches(t)&&i.push(r):i.push(r),r=r.parentElement;return i}function eH(e,t,i){var r=eO();return i?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function eq(e){return(Array.isArray(e)?e:[e]).filter(function(e){return!!e})}function eW(e,t){void 0===t&&(t=""),"undefined"!=typeof trustedTypes?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:function(e){return e}}).createHTML(t):e.innerHTML=t}function eX(e,t,i,r){return e.params.createElements&&Object.keys(r).forEach(function(n){if(!i[n]&&!0===i.auto){var a=ej(e.el,".".concat(r[n]))[0];a||((a=eG("div",r[n])).className=r[n],e.el.append(a)),i[n]=a,t[n]=a}}),i}function eY(e){return void 0===e&&(e=""),".".concat(e.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,"."))}function eU(e,t){if(null==e)return{};var i,r,n,a={};if("undefined"!=typeof Reflect&&Reflect.ownKeys){for(n=0,i=Reflect.ownKeys(Object(e));n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r]);return a}if(a=function(e,t){if(null==e)return{};var i,r,n={},a=Object.getOwnPropertyNames(e);for(r=0;r<a.length;r++)i=a[r],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(e,i)&&(n[i]=e[i]);return n}(e,t),Object.getOwnPropertySymbols)for(n=0,i=Object.getOwnPropertySymbols(e);n<i.length;n++)r=i[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r]);return a}function eK(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function eQ(e,t){for(var i=0;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function e$(e,t,i){return t&&eQ(e.prototype,t),i&&eQ(e,i),e}function eJ(){if(!o){var e,t;e=eO(),o={smoothScroll:(t=e_()).documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}return o}function eZ(e){if(void 0===e&&(e={}),!l){var t,i,r,n,a,s,o,d,c,u,p,f,h,v;i=(void 0===(t=e)?{}:t).userAgent,r=eJ(),a=(n=eO()).navigator.platform,s=i||n.navigator.userAgent,o={ios:!1,android:!1},d=n.screen.width,c=n.screen.height,u=s.match(/(Android);?[\s\/]+([\d.]+)?/),p=s.match(/(iPad).*OS\s([\d_]+)/),f=s.match(/(iPod)(.*OS\s([\d_]+))?/),h=!p&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),v="MacIntel"===a,!p&&v&&r.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf("".concat(d,"x").concat(c))>=0&&((p=s.match(/(Version)\/([\d.]+)/))||(p=[0,1,"13_0_0"]),v=!1),u&&"Win32"!==a&&(o.os="android",o.android=!0),(p||h||f)&&(o.os="ios",o.ios=!0),l=o}return l}function e0(){return d||(d=function(){var e=eO(),t=eZ(),i=!1;function r(){var t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&0>t.indexOf("chrome")&&0>t.indexOf("android")}if(r()){var n=String(e.navigator.userAgent);if(n.includes("Version/")){var a=z(n.split("Version/")[1].split(" ")[0].split(".").map(function(e){return Number(e)}),2),s=a[0],o=a[1];i=s<16||16===s&&o<2}}var l=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),d=r(),c=d||l&&t.ios;return{isSafari:i||d,needPerspectiveFix:i,need3dFix:c,isWebView:l}}()),d}var e1=function(e,t,i){t&&!e.classList.contains(i)?e.classList.add(i):!t&&e.classList.contains(i)&&e.classList.remove(i)},e2=function(e,t,i){t&&!e.classList.contains(i)?e.classList.add(i):!t&&e.classList.contains(i)&&e.classList.remove(i)},e3=function(e,t){if(e&&!e.destroyed&&e.params){var i=t.closest(e.isElement?"swiper-slide":".".concat(e.params.slideClass));if(i){var r=i.querySelector(".".concat(e.params.lazyPreloaderClass));!r&&e.isElement&&(i.shadowRoot?r=i.shadowRoot.querySelector(".".concat(e.params.lazyPreloaderClass)):requestAnimationFrame(function(){i.shadowRoot&&(r=i.shadowRoot.querySelector(".".concat(e.params.lazyPreloaderClass)))&&r.remove()})),r&&r.remove()}}},e8=function(e,t){if(e.slides[t]){var i=e.slides[t].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")}},e4=function(e){if(e&&!e.destroyed&&e.params){var t=e.params.lazyPreloadPrevNext,i=e.slides.length;if(i&&t&&!(t<0)){t=Math.min(t,i);var r="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),n=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){var a=[n-t];a.push.apply(a,eT(Array.from({length:t}).map(function(e,t){return n+r+t}))),e.slides.forEach(function(t,i){a.includes(t.column)&&e8(e,i)});return}var s=n+r-1;if(e.params.rewind||e.params.loop)for(var o=n-t;o<=s+t;o+=1){var l=(o%i+i)%i;(l<n||l>s)&&e8(e,l)}else for(var d=Math.max(n-t,0);d<=Math.min(s+t,i-1);d+=1)d!==n&&(d>s||d<n)&&e8(e,d)}}};function e6(e){var t=e.swiper,i=e.runCallbacks,r=e.direction,n=e.step,a=t.activeIndex,s=t.previousIndex,o=r;o||(o=a>s?"next":a<s?"prev":"reset"),t.emit("transition".concat(n)),i&&"reset"===o?t.emit("slideResetTransition".concat(n)):i&&a!==s&&(t.emit("slideChangeTransition".concat(n)),"next"===o?t.emit("slideNextTransition".concat(n)):t.emit("slidePrevTransition".concat(n)))}function e5(e,t,i){var r=eO(),n=e.params,a=n.edgeSwipeDetection,s=n.edgeSwipeThreshold;return!a||!(i<=s)&&!(i>=r.innerWidth-s)||"prevent"===a&&(t.preventDefault(),!0)}function e7(e){var t,i,r,n,a=e_(),s=e;s.originalEvent&&(s=s.originalEvent);var o=this.touchEventsData;if("pointerdown"===s.type){if(null!==o.pointerId&&o.pointerId!==s.pointerId)return;o.pointerId=s.pointerId}else"touchstart"===s.type&&1===s.targetTouches.length&&(o.touchId=s.targetTouches[0].identifier);if("touchstart"===s.type){e5(this,s,s.targetTouches[0].pageX);return}var l=this.params,d=this.touches;if(this.enabled&&(l.simulateTouch||"mouse"!==s.pointerType)&&(!this.animating||!l.preventInteractionOnTransition)){!this.animating&&l.cssMode&&l.loop&&this.loopFix();var c=s.target;if(("wrapper"!==l.touchEventsTarget||(t=c,i=this.wrapperEl,r=eO(),!(!(n=i.contains(t))&&r.HTMLSlotElement&&i instanceof HTMLSlotElement)||(n=eT(i.assignedElements()).includes(t))||(n=function(e,t){for(var i=[t];i.length>0;){var r=i.shift();if(e===r)return!0;i.push.apply(i,eT(r.children).concat(eT(r.shadowRoot?r.shadowRoot.children:[]),eT(r.assignedElements?r.assignedElements():[])))}}(t,i)),n))&&(!("which"in s)||3!==s.which)&&(!("button"in s)||!(s.button>0))&&(!o.isTouched||!o.isMoved)){var u=!!l.noSwipingClass&&""!==l.noSwipingClass,p=s.composedPath?s.composedPath():s.path;u&&s.target&&s.target.shadowRoot&&p&&(c=p[0]);var f=l.noSwipingSelector?l.noSwipingSelector:".".concat(l.noSwipingClass),h=!!(s.target&&s.target.shadowRoot);if(l.noSwiping&&(h?function(e,t){return void 0===t&&(t=this),function t(i){if(!i||i===e_()||i===eO())return null;i.assignedSlot&&(i=i.assignedSlot);var r=i.closest(e);return r||i.getRootNode?r||t(i.getRootNode().host):null}(t)}(f,c):c.closest(f))){this.allowClick=!0;return}if(l.swipeHandler&&!c.closest(l.swipeHandler))return;d.currentX=s.pageX,d.currentY=s.pageY;var v=d.currentX,m=d.currentY;if(!e5(this,s,v))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),d.startX=v,d.startY=m,o.touchStartTime=eL(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,l.threshold>0&&(o.allowThresholdMove=!1);var g=!0;c.matches(o.focusableElements)&&(g=!1,"SELECT"===c.nodeName&&(o.isTouched=!1)),a.activeElement&&a.activeElement.matches(o.focusableElements)&&a.activeElement!==c&&("mouse"===s.pointerType||"mouse"!==s.pointerType&&!c.matches(o.focusableElements))&&a.activeElement.blur();var y=g&&this.allowTouchMove&&l.touchStartPreventDefault;(l.touchStartForcePreventDefault||y)&&!c.isContentEditable&&s.preventDefault(),l.freeMode&&l.freeMode.enabled&&this.freeMode&&this.animating&&!l.cssMode&&this.freeMode.onTouchStart(),this.emit("touchStart",s)}}}function e9(e){var t,i,r,n=e_(),a=this.touchEventsData,s=this.params,o=this.touches,l=this.rtlTranslate;if(this.enabled&&(s.simulateTouch||"mouse"!==e.pointerType)){var d=e;if(d.originalEvent&&(d=d.originalEvent),"pointermove"!==d.type||null===a.touchId&&d.pointerId===a.pointerId){if("touchmove"===d.type){if(!(t=eT(d.changedTouches).find(function(e){return e.identifier===a.touchId}))||t.identifier!==a.touchId)return}else t=d;if(!a.isTouched){a.startMoving&&a.isScrolling&&this.emit("touchMoveOpposite",d);return}var c=t.pageX,u=t.pageY;if(d.preventedByNestedSwiper){o.startX=c,o.startY=u;return}if(!this.allowTouchMove){d.target.matches(a.focusableElements)||(this.allowClick=!1),a.isTouched&&(Object.assign(o,{startX:c,startY:u,currentX:c,currentY:u}),a.touchStartTime=eL());return}if(s.touchReleaseOnEdges&&!s.loop){if(this.isVertical()){if(u<o.startY&&this.translate<=this.maxTranslate()||u>o.startY&&this.translate>=this.minTranslate()){a.isTouched=!1,a.isMoved=!1;return}}else if(l&&(c>o.startX&&-this.translate<=this.maxTranslate()||c<o.startX&&-this.translate>=this.minTranslate()))return;else if(!l&&(c<o.startX&&this.translate<=this.maxTranslate()||c>o.startX&&this.translate>=this.minTranslate()))return}if(n.activeElement&&n.activeElement.matches(a.focusableElements)&&n.activeElement!==d.target&&"mouse"!==d.pointerType&&n.activeElement.blur(),n.activeElement&&d.target===n.activeElement&&d.target.matches(a.focusableElements)){a.isMoved=!0,this.allowClick=!1;return}a.allowTouchCallbacks&&this.emit("touchMove",d),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=c,o.currentY=u;var p=o.currentX-o.startX,f=o.currentY-o.startY;if(!(this.params.threshold&&Math.sqrt(Math.pow(p,2)+Math.pow(f,2))<this.params.threshold)){if(void 0===a.isScrolling&&(this.isHorizontal()&&o.currentY===o.startY||this.isVertical()&&o.currentX===o.startX?a.isScrolling=!1:p*p+f*f>=25&&(i=180*Math.atan2(Math.abs(f),Math.abs(p))/Math.PI,a.isScrolling=this.isHorizontal()?i>s.touchAngle:90-i>s.touchAngle)),a.isScrolling&&this.emit("touchMoveOpposite",d),void 0===a.startMoving&&(o.currentX!==o.startX||o.currentY!==o.startY)&&(a.startMoving=!0),a.isScrolling||"touchmove"===d.type&&a.preventTouchMoveFromPointerMove){a.isTouched=!1;return}if(a.startMoving){this.allowClick=!1,!s.cssMode&&d.cancelable&&d.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&d.stopPropagation();var h=this.isHorizontal()?p:f,v=this.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;s.oneWayMovement&&(h=Math.abs(h)*(l?1:-1),v=Math.abs(v)*(l?1:-1)),o.diff=h,h*=s.touchRatio,l&&(h=-h,v=-v);var m=this.touchesDirection;this.swipeDirection=h>0?"prev":"next",this.touchesDirection=v>0?"prev":"next";var g=this.params.loop&&!s.cssMode,y="next"===this.touchesDirection&&this.allowSlideNext||"prev"===this.touchesDirection&&this.allowSlidePrev;if(!a.isMoved){if(g&&y&&this.loopFix({direction:this.swipeDirection}),a.startTranslate=this.getTranslate(),this.setTransition(0),this.animating){var b=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});this.wrapperEl.dispatchEvent(b)}a.allowMomentumBounce=!1,s.grabCursor&&(!0===this.allowSlideNext||!0===this.allowSlidePrev)&&this.setGrabCursor(!0),this.emit("sliderFirstMove",d)}if(new Date().getTime(),!1!==s._loopSwapReset&&a.isMoved&&a.allowThresholdMove&&m!==this.touchesDirection&&g&&y&&Math.abs(h)>=1){Object.assign(o,{startX:c,startY:u,currentX:c,currentY:u,startTranslate:a.currentTranslate}),a.loopSwapReset=!0,a.startTranslate=a.currentTranslate;return}this.emit("sliderMove",d),a.isMoved=!0,a.currentTranslate=h+a.startTranslate;var w=!0,S=s.resistanceRatio;if(s.touchReleaseOnEdges&&(S=0),h>0?(g&&y&&!r&&a.allowThresholdMove&&a.currentTranslate>(s.centeredSlides?this.minTranslate()-this.slidesSizesGrid[this.activeIndex+1]-("auto"!==s.slidesPerView&&this.slides.length-s.slidesPerView>=2?this.slidesSizesGrid[this.activeIndex+1]+this.params.spaceBetween:0)-this.params.spaceBetween:this.minTranslate())&&this.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),a.currentTranslate>this.minTranslate()&&(w=!1,s.resistance&&(a.currentTranslate=this.minTranslate()-1+Math.pow(-this.minTranslate()+a.startTranslate+h,S)))):h<0&&(g&&y&&!r&&a.allowThresholdMove&&a.currentTranslate<(s.centeredSlides?this.maxTranslate()+this.slidesSizesGrid[this.slidesSizesGrid.length-1]+this.params.spaceBetween+("auto"!==s.slidesPerView&&this.slides.length-s.slidesPerView>=2?this.slidesSizesGrid[this.slidesSizesGrid.length-1]+this.params.spaceBetween:0):this.maxTranslate())&&this.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:this.slides.length-("auto"===s.slidesPerView?this.slidesPerViewDynamic():Math.ceil(parseFloat(s.slidesPerView,10)))}),a.currentTranslate<this.maxTranslate()&&(w=!1,s.resistance&&(a.currentTranslate=this.maxTranslate()+1-Math.pow(this.maxTranslate()-a.startTranslate-h,S)))),w&&(d.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&a.currentTranslate<a.startTranslate&&(a.currentTranslate=a.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&a.currentTranslate>a.startTranslate&&(a.currentTranslate=a.startTranslate),this.allowSlidePrev||this.allowSlideNext||(a.currentTranslate=a.startTranslate),s.threshold>0){if(Math.abs(h)>s.threshold||a.allowThresholdMove){if(!a.allowThresholdMove){a.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,a.currentTranslate=a.startTranslate,o.diff=this.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY;return}}else{a.currentTranslate=a.startTranslate;return}}s.followFinger&&!s.cssMode&&((s.freeMode&&s.freeMode.enabled&&this.freeMode||s.watchSlidesProgress)&&(this.updateActiveIndex(),this.updateSlidesClasses()),s.freeMode&&s.freeMode.enabled&&this.freeMode&&this.freeMode.onTouchMove(),this.updateProgress(a.currentTranslate),this.setTranslate(a.currentTranslate))}}}}}function te(e){var t,i,r=this,n=r.touchEventsData,a=e;if(a.originalEvent&&(a=a.originalEvent),"touchend"===a.type||"touchcancel"===a.type){if(!(t=eT(a.changedTouches).find(function(e){return e.identifier===n.touchId}))||t.identifier!==n.touchId)return}else{if(null!==n.touchId||a.pointerId!==n.pointerId)return;t=a}if(!["pointercancel","pointerout","pointerleave","contextmenu"].includes(a.type)||["pointercancel","contextmenu"].includes(a.type)&&(r.browser.isSafari||r.browser.isWebView)){n.pointerId=null,n.touchId=null;var s=r.params,o=r.touches,l=r.rtlTranslate,d=r.slidesGrid;if(r.enabled&&(s.simulateTouch||"mouse"!==a.pointerType)){if(n.allowTouchCallbacks&&r.emit("touchEnd",a),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&s.grabCursor&&r.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}s.grabCursor&&n.isMoved&&n.isTouched&&(!0===r.allowSlideNext||!0===r.allowSlidePrev)&&r.setGrabCursor(!1);var c=eL(),u=c-n.touchStartTime;if(r.allowClick){var p=a.path||a.composedPath&&a.composedPath();r.updateClickedSlide(p&&p[0]||a.target,p),r.emit("tap click",a),u<300&&c-n.lastClickTime<300&&r.emit("doubleTap doubleClick",a)}if(n.lastClickTime=eL(),eI(function(){r.destroyed||(r.allowClick=!0)}),!n.isTouched||!n.isMoved||!r.swipeDirection||0===o.diff&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,i=s.followFinger?l?r.translate:-r.translate:-n.currentTranslate,s.cssMode)return;if(s.freeMode&&s.freeMode.enabled){r.freeMode.onTouchEnd({currentPos:i});return}for(var f=i>=-r.maxTranslate()&&!r.params.loop,h=0,v=r.slidesSizesGrid[0],m=0;m<d.length;m+=m<s.slidesPerGroupSkip?1:s.slidesPerGroup){var g=m<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;void 0!==d[m+g]?(f||i>=d[m]&&i<d[m+g])&&(h=m,v=d[m+g]-d[m]):(f||i>=d[m])&&(h=m,v=d[d.length-1]-d[d.length-2])}var y=null,b=null;s.rewind&&(r.isBeginning?b=s.virtual&&s.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1:r.isEnd&&(y=0));var w=(i-d[h])/v,S=h<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;if(u>s.longSwipesMs){if(!s.longSwipes){r.slideTo(r.activeIndex);return}"next"===r.swipeDirection&&(w>=s.longSwipesRatio?r.slideTo(s.rewind&&r.isEnd?y:h+S):r.slideTo(h)),"prev"===r.swipeDirection&&(w>1-s.longSwipesRatio?r.slideTo(h+S):null!==b&&w<0&&Math.abs(w)>s.longSwipesRatio?r.slideTo(b):r.slideTo(h))}else{if(!s.shortSwipes){r.slideTo(r.activeIndex);return}r.navigation&&(a.target===r.navigation.nextEl||a.target===r.navigation.prevEl)?a.target===r.navigation.nextEl?r.slideTo(h+S):r.slideTo(h):("next"===r.swipeDirection&&r.slideTo(null!==y?y:h+S),"prev"===r.swipeDirection&&r.slideTo(null!==b?b:h))}}}}function ti(){var e=this,t=e.params,i=e.el;if(!i||0!==i.offsetWidth){t.breakpoints&&e.setBreakpoint();var r=e.allowSlideNext,n=e.allowSlidePrev,a=e.snapGrid,s=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();var o=s&&t.loop;"auto"!==t.slidesPerView&&!(t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||o?e.params.loop&&!s?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(function(){e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=n,e.allowSlideNext=r,e.params.watchOverflow&&a!==e.snapGrid&&e.checkOverflow()}}function tr(e){this.enabled&&!this.allowClick&&(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function tn(){var e=this.wrapperEl,t=this.rtlTranslate;if(this.enabled){this.previousTranslate=this.translate,this.isHorizontal()?this.translate=-e.scrollLeft:this.translate=-e.scrollTop,0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();var i=this.maxTranslate()-this.minTranslate();(0===i?0:(this.translate-this.minTranslate())/i)!==this.progress&&this.updateProgress(t?-this.translate:this.translate),this.emit("setTranslate",this.translate,!1)}}function ta(e){e3(this,e.target),!this.params.cssMode&&("auto"===this.params.slidesPerView||this.params.autoHeight)&&this.update()}function ts(){!this.documentTouchHandlerProceeded&&(this.documentTouchHandlerProceeded=!0,this.params.touchReleaseOnEdges&&(this.el.style.touchAction="auto"))}var to=function(e,t){var i=e_(),r=e.params,n=e.el,a=e.wrapperEl,s=e.device,o=!!r.nested,l="on"===t?"addEventListener":"removeEventListener";n&&"string"!=typeof n&&(i[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:o}),n[l]("touchstart",e.onTouchStart,{passive:!1}),n[l]("pointerdown",e.onTouchStart,{passive:!1}),i[l]("touchmove",e.onTouchMove,{passive:!1,capture:o}),i[l]("pointermove",e.onTouchMove,{passive:!1,capture:o}),i[l]("touchend",e.onTouchEnd,{passive:!0}),i[l]("pointerup",e.onTouchEnd,{passive:!0}),i[l]("pointercancel",e.onTouchEnd,{passive:!0}),i[l]("touchcancel",e.onTouchEnd,{passive:!0}),i[l]("pointerout",e.onTouchEnd,{passive:!0}),i[l]("pointerleave",e.onTouchEnd,{passive:!0}),i[l]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&n[l]("click",e.onClick,!0),r.cssMode&&a[l]("scroll",e.onScroll),r.updateOnWindowResize?e[t](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",ti,!0):e[t]("observerUpdate",ti,!0),n[l]("load",e.onLoad,{capture:!0}))},tl=function(e,t){return e.grid&&t.grid&&t.grid.rows>1},td={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1},tc={eventsEmitter:{on:function(e,t,i){var r=this;if(!r.eventsListeners||r.destroyed||"function"!=typeof t)return r;var n=i?"unshift":"push";return e.split(" ").forEach(function(e){r.eventsListeners[e]||(r.eventsListeners[e]=[]),r.eventsListeners[e][n](t)}),r},once:function(e,t,i){var r=this;if(!r.eventsListeners||r.destroyed||"function"!=typeof t)return r;function n(){r.off(e,n),n.__emitterProxy&&delete n.__emitterProxy;for(var i=arguments.length,a=Array(i),s=0;s<i;s++)a[s]=arguments[s];t.apply(r,a)}return n.__emitterProxy=t,r.on(e,n,i)},onAny:function(e,t){return!this.eventsListeners||this.destroyed||"function"!=typeof e||0>this.eventsAnyListeners.indexOf(e)&&this.eventsAnyListeners[t?"unshift":"push"](e),this},offAny:function(e){if(!this.eventsListeners||this.destroyed||!this.eventsAnyListeners)return this;var t=this.eventsAnyListeners.indexOf(e);return t>=0&&this.eventsAnyListeners.splice(t,1),this},off:function(e,t){var i=this;return i.eventsListeners&&!i.destroyed&&i.eventsListeners&&e.split(" ").forEach(function(e){void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].forEach(function(r,n){(r===t||r.__emitterProxy&&r.__emitterProxy===t)&&i.eventsListeners[e].splice(n,1)})}),i},emit:function(){var e,t,i,r=this;if(!r.eventsListeners||r.destroyed||!r.eventsListeners)return r;for(var n=arguments.length,a=Array(n),s=0;s<n;s++)a[s]=arguments[s];return"string"==typeof a[0]||Array.isArray(a[0])?(e=a[0],t=a.slice(1,a.length),i=r):(e=a[0].events,t=a[0].data,i=a[0].context||r),t.unshift(i),(Array.isArray(e)?e:e.split(" ")).forEach(function(e){r.eventsAnyListeners&&r.eventsAnyListeners.length&&r.eventsAnyListeners.forEach(function(r){r.apply(i,[e].concat(eT(t)))}),r.eventsListeners&&r.eventsListeners[e]&&r.eventsListeners[e].forEach(function(e){e.apply(i,t)})}),r}},update:{updateSize:function(){var e,t,i=this.el;e=void 0!==this.params.width&&null!==this.params.width?this.params.width:i.clientWidth,t=void 0!==this.params.height&&null!==this.params.height?this.params.height:i.clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt(eB(i,"padding-left")||0,10)-parseInt(eB(i,"padding-right")||0,10),t=t-parseInt(eB(i,"padding-top")||0,10)-parseInt(eB(i,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){var e,t=this;function i(e,i){return parseFloat(e.getPropertyValue(t.getDirectionLabel(i))||0)}var r=t.params,n=t.wrapperEl,a=t.slidesEl,s=t.size,o=t.rtlTranslate,l=t.wrongRTL,d=t.virtual&&r.virtual.enabled,c=d?t.virtual.slides.length:t.slides.length,u=ej(a,".".concat(t.params.slideClass,", swiper-slide")),p=d?t.virtual.slides.length:u.length,f=[],h=[],v=[],m=r.slidesOffsetBefore;"function"==typeof m&&(m=r.slidesOffsetBefore.call(t));var g=r.slidesOffsetAfter;"function"==typeof g&&(g=r.slidesOffsetAfter.call(t));var y=t.snapGrid.length,b=t.slidesGrid.length,w=r.spaceBetween,S=-m,E=0,x=0;if(void 0!==s){"string"==typeof w&&w.indexOf("%")>=0?w=parseFloat(w.replace("%",""))/100*s:"string"==typeof w&&(w=parseFloat(w)),t.virtualSize=-w,u.forEach(function(e){o?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),r.centeredSlides&&r.cssMode&&(eD(n,"--swiper-centered-offset-before",""),eD(n,"--swiper-centered-offset-after",""));var T=r.grid&&r.grid.rows>1&&t.grid;T?t.grid.initSlides(u):t.grid&&t.grid.unsetSlides();for(var C="auto"===r.slidesPerView&&r.breakpoints&&Object.keys(r.breakpoints).filter(function(e){return void 0!==r.breakpoints[e].slidesPerView}).length>0,M=0;M<p;M+=1){e=0;var P=void 0;if(u[M]&&(P=u[M]),T&&t.grid.updateSlide(M,P,u),!u[M]||"none"!==eB(P,"display")){if("auto"===r.slidesPerView){C&&(u[M].style[t.getDirectionLabel("width")]="");var _=getComputedStyle(P),k=P.style.transform,O=P.style.webkitTransform;if(k&&(P.style.transform="none"),O&&(P.style.webkitTransform="none"),r.roundLengths)e=t.isHorizontal()?eH(P,"width",!0):eH(P,"height",!0);else{var I=i(_,"width"),L=i(_,"padding-left"),A=i(_,"padding-right"),z=i(_,"margin-left"),D=i(_,"margin-right"),N=_.getPropertyValue("box-sizing");if(N&&"border-box"===N)e=I+z+D;else{var j=P.clientWidth;e=I+L+A+z+D+(P.offsetWidth-j)}}k&&(P.style.transform=k),O&&(P.style.webkitTransform=O),r.roundLengths&&(e=Math.floor(e))}else e=(s-(r.slidesPerView-1)*w)/r.slidesPerView,r.roundLengths&&(e=Math.floor(e)),u[M]&&(u[M].style[t.getDirectionLabel("width")]="".concat(e,"px"));u[M]&&(u[M].swiperSlideSize=e),v.push(e),r.centeredSlides?(S=S+e/2+E/2+w,0===E&&0!==M&&(S=S-s/2-w),0===M&&(S=S-s/2-w),.001>Math.abs(S)&&(S=0),r.roundLengths&&(S=Math.floor(S)),x%r.slidesPerGroup==0&&f.push(S),h.push(S)):(r.roundLengths&&(S=Math.floor(S)),(x-Math.min(t.params.slidesPerGroupSkip,x))%t.params.slidesPerGroup==0&&f.push(S),h.push(S),S=S+e+w),t.virtualSize+=e+w,E=e,x+=1}}if(t.virtualSize=Math.max(t.virtualSize,s)+g,o&&l&&("slide"===r.effect||"coverflow"===r.effect)&&(n.style.width="".concat(t.virtualSize+w,"px")),r.setWrapperSize&&(n.style[t.getDirectionLabel("width")]="".concat(t.virtualSize+w,"px")),T&&t.grid.updateWrapperSize(e,f),!r.centeredSlides){for(var R=[],G=0;G<f.length;G+=1){var B=f[G];r.roundLengths&&(B=Math.floor(B)),f[G]<=t.virtualSize-s&&R.push(B)}f=R,Math.floor(t.virtualSize-s)-Math.floor(f[f.length-1])>1&&f.push(t.virtualSize-s)}if(d&&r.loop){var F=v[0]+w;if(r.slidesPerGroup>1)for(var V=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/r.slidesPerGroup),H=F*r.slidesPerGroup,q=0;q<V;q+=1)f.push(f[f.length-1]+H);for(var W=0;W<t.virtual.slidesBefore+t.virtual.slidesAfter;W+=1)1===r.slidesPerGroup&&f.push(f[f.length-1]+F),h.push(h[h.length-1]+F),t.virtualSize+=F}if(0===f.length&&(f=[0]),0!==w){var X=t.isHorizontal()&&o?"marginLeft":t.getDirectionLabel("marginRight");u.filter(function(e,t){return!r.cssMode||!!r.loop||t!==u.length-1}).forEach(function(e){e.style[X]="".concat(w,"px")})}if(r.centeredSlides&&r.centeredSlidesBounds){var Y=0;v.forEach(function(e){Y+=e+(w||0)});var U=(Y-=w)>s?Y-s:0;f=f.map(function(e){return e<=0?-m:e>U?U+g:e})}if(r.centerInsufficientSlides){var K=0;v.forEach(function(e){K+=e+(w||0)}),K-=w;var Q=(r.slidesOffsetBefore||0)+(r.slidesOffsetAfter||0);if(K+Q<s){var $=(s-K-Q)/2;f.forEach(function(e,t){f[t]=e-$}),h.forEach(function(e,t){h[t]=e+$})}}if(Object.assign(t,{slides:u,snapGrid:f,slidesGrid:h,slidesSizesGrid:v}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){eD(n,"--swiper-centered-offset-before","".concat(-f[0],"px")),eD(n,"--swiper-centered-offset-after","".concat(t.size/2-v[v.length-1]/2,"px"));var J=-t.snapGrid[0],Z=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(function(e){return e+J}),t.slidesGrid=t.slidesGrid.map(function(e){return e+Z})}if(p!==c&&t.emit("slidesLengthChange"),f.length!==y&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),h.length!==b&&t.emit("slidesGridLengthChange"),r.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!d&&!r.cssMode&&("slide"===r.effect||"fade"===r.effect)){var ee="".concat(r.containerModifierClass,"backface-hidden"),et=t.el.classList.contains(ee);p<=r.maxBackfaceHiddenSlides?et||t.el.classList.add(ee):et&&t.el.classList.remove(ee)}}},updateAutoHeight:function(e){var t,i=this,r=[],n=i.virtual&&i.params.virtual.enabled,a=0;"number"==typeof e?i.setTransition(e):!0===e&&i.setTransition(i.params.speed);var s=function(e){return n?i.slides[i.getSlideIndexByData(e)]:i.slides[e]};if("auto"!==i.params.slidesPerView&&i.params.slidesPerView>1){if(i.params.centeredSlides)(i.visibleSlides||[]).forEach(function(e){r.push(e)});else for(t=0;t<Math.ceil(i.params.slidesPerView);t+=1){var o=i.activeIndex+t;if(o>i.slides.length&&!n)break;r.push(s(o))}}else r.push(s(i.activeIndex));for(t=0;t<r.length;t+=1)if(void 0!==r[t]){var l=r[t].offsetHeight;a=l>a?l:a}(a||0===a)&&(i.wrapperEl.style.height="".concat(a,"px"))},updateSlidesOffset:function(){for(var e=this.slides,t=this.isElement?this.isHorizontal()?this.wrapperEl.offsetLeft:this.wrapperEl.offsetTop:0,i=0;i<e.length;i+=1)e[i].swiperSlideOffset=(this.isHorizontal()?e[i].offsetLeft:e[i].offsetTop)-t-this.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);var t=this.params,i=this.slides,r=this.rtlTranslate,n=this.snapGrid;if(0!==i.length){void 0===i[0].swiperSlideOffset&&this.updateSlidesOffset();var a=-e;r&&(a=e),this.visibleSlidesIndexes=[],this.visibleSlides=[];var s=t.spaceBetween;"string"==typeof s&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*this.size:"string"==typeof s&&(s=parseFloat(s));for(var o=0;o<i.length;o+=1){var l=i[o],d=l.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(d-=i[0].swiperSlideOffset);var c=(a+(t.centeredSlides?this.minTranslate():0)-d)/(l.swiperSlideSize+s),u=(a-n[0]+(t.centeredSlides?this.minTranslate():0)-d)/(l.swiperSlideSize+s),p=-(a-d),f=p+this.slidesSizesGrid[o],h=p>=0&&p<=this.size-this.slidesSizesGrid[o],v=p>=0&&p<this.size-1||f>1&&f<=this.size||p<=0&&f>=this.size;v&&(this.visibleSlides.push(l),this.visibleSlidesIndexes.push(o)),e1(l,v,t.slideVisibleClass),e1(l,h,t.slideFullyVisibleClass),l.progress=r?-c:c,l.originalProgress=r?-u:u}}},updateProgress:function(e){if(void 0===e){var t=this.rtlTranslate?-1:1;e=this&&this.translate&&this.translate*t||0}var i=this.params,r=this.maxTranslate()-this.minTranslate(),n=this.progress,a=this.isBeginning,s=this.isEnd,o=this.progressLoop,l=a,d=s;if(0===r)n=0,a=!0,s=!0;else{n=(e-this.minTranslate())/r;var c=1>Math.abs(e-this.minTranslate()),u=1>Math.abs(e-this.maxTranslate());a=c||n<=0,s=u||n>=1,c&&(n=0),u&&(n=1)}if(i.loop){var p=this.getSlideIndexByData(0),f=this.getSlideIndexByData(this.slides.length-1),h=this.slidesGrid[p],v=this.slidesGrid[f],m=this.slidesGrid[this.slidesGrid.length-1],g=Math.abs(e);(o=g>=h?(g-h)/m:(g+m-v)/m)>1&&(o-=1)}Object.assign(this,{progress:n,progressLoop:o,isBeginning:a,isEnd:s}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&this.updateSlidesProgress(e),a&&!l&&this.emit("reachBeginning toEdge"),s&&!d&&this.emit("reachEnd toEdge"),(l&&!a||d&&!s)&&this.emit("fromEdge"),this.emit("progress",n)},updateSlidesClasses:function(){var e,t,i,r=this.slides,n=this.params,a=this.slidesEl,s=this.activeIndex,o=this.virtual&&n.virtual.enabled,l=this.grid&&n.grid&&n.grid.rows>1,d=function(e){return ej(a,".".concat(n.slideClass).concat(e,", swiper-slide").concat(e))[0]};if(o){if(n.loop){var c=s-this.virtual.slidesBefore;c<0&&(c=this.virtual.slides.length+c),c>=this.virtual.slides.length&&(c-=this.virtual.slides.length),e=d('[data-swiper-slide-index="'.concat(c,'"]'))}else e=d('[data-swiper-slide-index="'.concat(s,'"]'))}else l?(e=r.find(function(e){return e.column===s}),i=r.find(function(e){return e.column===s+1}),t=r.find(function(e){return e.column===s-1})):e=r[s];e&&!l&&(i=function(e,t){for(var i=[];e.nextElementSibling;){var r=e.nextElementSibling;t?r.matches(t)&&i.push(r):i.push(r),e=r}return i}(e,".".concat(n.slideClass,", swiper-slide"))[0],n.loop&&!i&&(i=r[0]),t=function(e,t){for(var i=[];e.previousElementSibling;){var r=e.previousElementSibling;t?r.matches(t)&&i.push(r):i.push(r),e=r}return i}(e,".".concat(n.slideClass,", swiper-slide"))[0],n.loop),r.forEach(function(r){e2(r,r===e,n.slideActiveClass),e2(r,r===i,n.slideNextClass),e2(r,r===t,n.slidePrevClass)}),this.emitSlidesClasses()},updateActiveIndex:function(e){var t,i,r=this,n=r.rtlTranslate?r.translate:-r.translate,a=r.snapGrid,s=r.params,o=r.activeIndex,l=r.realIndex,d=r.snapIndex,c=e,u=function(e){var t=e-r.virtual.slidesBefore;return t<0&&(t=r.virtual.slides.length+t),t>=r.virtual.slides.length&&(t-=r.virtual.slides.length),t};if(void 0===c&&(c=function(e){for(var t,i=e.slidesGrid,r=e.params,n=e.rtlTranslate?e.translate:-e.translate,a=0;a<i.length;a+=1)void 0!==i[a+1]?n>=i[a]&&n<i[a+1]-(i[a+1]-i[a])/2?t=a:n>=i[a]&&n<i[a+1]&&(t=a+1):n>=i[a]&&(t=a);return r.normalizeSlideIndex&&(t<0||void 0===t)&&(t=0),t}(r)),a.indexOf(n)>=0)t=a.indexOf(n);else{var p=Math.min(s.slidesPerGroupSkip,c);t=p+Math.floor((c-p)/s.slidesPerGroup)}if(t>=a.length&&(t=a.length-1),c===o&&!r.params.loop){t!==d&&(r.snapIndex=t,r.emit("snapIndexChange"));return}if(c===o&&r.params.loop&&r.virtual&&r.params.virtual.enabled){r.realIndex=u(c);return}var f=r.grid&&s.grid&&s.grid.rows>1;if(r.virtual&&s.virtual.enabled&&s.loop)i=u(c);else if(f){var h=r.slides.find(function(e){return e.column===c}),v=parseInt(h.getAttribute("data-swiper-slide-index"),10);Number.isNaN(v)&&(v=Math.max(r.slides.indexOf(h),0)),i=Math.floor(v/s.grid.rows)}else if(r.slides[c]){var m=r.slides[c].getAttribute("data-swiper-slide-index");i=m?parseInt(m,10):c}else i=c;Object.assign(r,{previousSnapIndex:d,snapIndex:t,previousRealIndex:l,realIndex:i,previousIndex:o,activeIndex:c}),r.initialized&&e4(r),r.emit("activeIndexChange"),r.emit("snapIndexChange"),(r.initialized||r.params.runCallbacksOnInit)&&(l!==i&&r.emit("realIndexChange"),r.emit("slideChange"))},updateClickedSlide:function(e,t){var i,r=this.params,n=e.closest(".".concat(r.slideClass,", swiper-slide"));!n&&this.isElement&&t&&t.length>1&&t.includes(e)&&eT(t.slice(t.indexOf(e)+1,t.length)).forEach(function(e){!n&&e.matches&&e.matches(".".concat(r.slideClass,", swiper-slide"))&&(n=e)});var a=!1;if(n){for(var s=0;s<this.slides.length;s+=1)if(this.slides[s]===n){a=!0,i=s;break}}if(n&&a)this.clickedSlide=n,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(n.getAttribute("data-swiper-slide-index"),10):this.clickedIndex=i;else{this.clickedSlide=void 0,this.clickedIndex=void 0;return}r.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},translate:{getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t,i,r,n,a,s,o,l,d=this.params,c=this.rtlTranslate,u=this.translate,p=this.wrapperEl;if(d.virtualTranslate)return c?-u:u;if(d.cssMode)return u;var f=(void 0===(t=e)&&(t="x"),a=eO(),(o=eO()).getComputedStyle&&(s=o.getComputedStyle(p,null)),!s&&p.currentStyle&&(s=p.currentStyle),s||(s=p.style),l=s,a.WebKitCSSMatrix?((r=l.transform||l.webkitTransform).split(",").length>6&&(r=r.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),n=new a.WebKitCSSMatrix("none"===r?"":r)):i=(n=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(r=a.WebKitCSSMatrix?n.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(r=a.WebKitCSSMatrix?n.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),r||0);return f+=this.cssOverflowAdjustment(),c&&(f=-f),f||0},setTranslate:function(e,t){var i=this.rtlTranslate,r=this.params,n=this.wrapperEl,a=this.progress,s=0,o=0;this.isHorizontal()?s=i?-e:e:o=e,r.roundLengths&&(s=Math.floor(s),o=Math.floor(o)),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?s:o,r.cssMode?n[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-s:-o:r.virtualTranslate||(this.isHorizontal()?s-=this.cssOverflowAdjustment():o-=this.cssOverflowAdjustment(),n.style.transform="translate3d(".concat(s,"px, ").concat(o,"px, ").concat(0,"px)"));var l=this.maxTranslate()-this.minTranslate();(0===l?0:(e-this.minTranslate())/l)!==a&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,i,r,n){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),void 0===r&&(r=!0);var a=this,s=a.params,o=a.wrapperEl;if(a.animating&&s.preventInteractionOnTransition)return!1;var l=a.minTranslate(),d=a.maxTranslate();if(c=r&&e>l?l:r&&e<d?d:e,a.updateProgress(c),s.cssMode){var c,u,p=a.isHorizontal();if(0===t)o[p?"scrollLeft":"scrollTop"]=-c;else{if(!a.support.smoothScroll)return eN({swiper:a,targetPosition:-c,side:p?"left":"top"}),!0;o.scrollTo((k(u={},p?"left":"top",-c),k(u,"behavior","smooth"),u))}return!0}return 0===t?(a.setTransition(0),a.setTranslate(c),i&&(a.emit("beforeTransitionStart",t,n),a.emit("transitionEnd"))):(a.setTransition(t),a.setTranslate(c),i&&(a.emit("beforeTransitionStart",t,n),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,a.animating=!1,i&&a.emit("transitionEnd"))}),a.wrapperEl.addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){this.params.cssMode||(this.wrapperEl.style.transitionDuration="".concat(e,"ms"),this.wrapperEl.style.transitionDelay=0===e?"0ms":""),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);var i=this.params;i.cssMode||(i.autoHeight&&this.updateAutoHeight(),e6({swiper:this,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);var i=this.params;this.animating=!1,i.cssMode||(this.setTransition(0),e6({swiper:this,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e,t,i,r,n){void 0===e&&(e=0),void 0===i&&(i=!0),"string"==typeof e&&(e=parseInt(e,10));var a=this,s=e;s<0&&(s=0);var o=a.params,l=a.snapGrid,d=a.slidesGrid,c=a.previousIndex,u=a.activeIndex,p=a.rtlTranslate,f=a.wrapperEl;if(!a.enabled&&!r&&!n||a.destroyed||a.animating&&o.preventInteractionOnTransition)return!1;void 0===t&&(t=a.params.speed);var h=Math.min(a.params.slidesPerGroupSkip,s),v=h+Math.floor((s-h)/a.params.slidesPerGroup);v>=l.length&&(v=l.length-1);var m=-l[v];if(o.normalizeSlideIndex)for(var g=0;g<d.length;g+=1){var y=-Math.floor(100*m),b=Math.floor(100*d[g]),w=Math.floor(100*d[g+1]);void 0!==d[g+1]?y>=b&&y<w-(w-b)/2?s=g:y>=b&&y<w&&(s=g+1):y>=b&&(s=g)}if(a.initialized&&s!==u&&(!a.allowSlideNext&&(p?m>a.translate&&m>a.minTranslate():m<a.translate&&m<a.minTranslate())||!a.allowSlidePrev&&m>a.translate&&m>a.maxTranslate()&&(u||0)!==s))return!1;s!==(c||0)&&i&&a.emit("beforeSlideChangeStart"),a.updateProgress(m),E=s>u?"next":s<u?"prev":"reset";var S=a.virtual&&a.params.virtual.enabled;if(!(S&&n)&&(p&&-m===a.translate||!p&&m===a.translate))return a.updateActiveIndex(s),o.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==o.effect&&a.setTranslate(m),"reset"!==E&&(a.transitionStart(i,E),a.transitionEnd(i,E)),!1;if(o.cssMode){var E,x,T=a.isHorizontal(),C=p?m:-m;if(0===t)S&&(a.wrapperEl.style.scrollSnapType="none",a._immediateVirtual=!0),S&&!a._cssModeVirtualInitialSet&&a.params.initialSlide>0?(a._cssModeVirtualInitialSet=!0,requestAnimationFrame(function(){f[T?"scrollLeft":"scrollTop"]=C})):f[T?"scrollLeft":"scrollTop"]=C,S&&requestAnimationFrame(function(){a.wrapperEl.style.scrollSnapType="",a._immediateVirtual=!1});else{if(!a.support.smoothScroll)return eN({swiper:a,targetPosition:C,side:T?"left":"top"}),!0;f.scrollTo((k(x={},T?"left":"top",C),k(x,"behavior","smooth"),x))}return!0}var M=e0().isSafari;return S&&!n&&M&&a.isElement&&a.virtual.update(!1,!1,s),a.setTransition(t),a.setTranslate(m),a.updateActiveIndex(s),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,r),a.transitionStart(i,E),0===t?a.transitionEnd(i,E):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(i,E))}),a.wrapperEl.addEventListener("transitionend",a.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,i,r){void 0===e&&(e=0),void 0===i&&(i=!0),"string"==typeof e&&(e=parseInt(e,10));var n=this;if(!n.destroyed){void 0===t&&(t=n.params.speed);var a=n.grid&&n.params.grid&&n.params.grid.rows>1,s=e;if(n.params.loop){if(n.virtual&&n.params.virtual.enabled)s+=n.virtual.slidesBefore;else{if(a){var o,l=s*n.params.grid.rows;o=n.slides.find(function(e){return 1*e.getAttribute("data-swiper-slide-index")===l}).column}else o=n.getSlideIndexByData(s);var d=a?Math.ceil(n.slides.length/n.params.grid.rows):n.slides.length,c=n.params.centeredSlides,u=n.params.slidesPerView;"auto"===u?u=n.slidesPerViewDynamic():(u=Math.ceil(parseFloat(n.params.slidesPerView,10)),c&&u%2==0&&(u+=1));var p=d-o<u;if(c&&(p=p||o<Math.ceil(u/2)),r&&c&&"auto"!==n.params.slidesPerView&&!a&&(p=!1),p){var f=c?o<n.activeIndex?"prev":"next":o-n.activeIndex-1<n.params.slidesPerView?"next":"prev";n.loopFix({direction:f,slideTo:!0,activeSlideIndex:"next"===f?o+1:o-d+1,slideRealIndex:"next"===f?n.realIndex:void 0})}if(a){var h=s*n.params.grid.rows;s=n.slides.find(function(e){return 1*e.getAttribute("data-swiper-slide-index")===h}).column}else s=n.getSlideIndexByData(s)}}return requestAnimationFrame(function(){n.slideTo(s,t,i,r)}),n}},slideNext:function(e,t,i){void 0===t&&(t=!0);var r=this,n=r.enabled,a=r.params,s=r.animating;if(!n||r.destroyed)return r;void 0===e&&(e=r.params.speed);var o=a.slidesPerGroup;"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(o=Math.max(r.slidesPerViewDynamic("current",!0),1));var l=r.activeIndex<a.slidesPerGroupSkip?1:o,d=r.virtual&&a.virtual.enabled;if(a.loop){if(s&&!d&&a.loopPreventsSliding)return!1;if(r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft,r.activeIndex===r.slides.length-1&&a.cssMode)return requestAnimationFrame(function(){r.slideTo(r.activeIndex+l,e,t,i)}),!0}return a.rewind&&r.isEnd?r.slideTo(0,e,t,i):r.slideTo(r.activeIndex+l,e,t,i)},slidePrev:function(e,t,i){void 0===t&&(t=!0);var r,n=this,a=n.params,s=n.snapGrid,o=n.slidesGrid,l=n.rtlTranslate,d=n.enabled,c=n.animating;if(!d||n.destroyed)return n;void 0===e&&(e=n.params.speed);var u=n.virtual&&a.virtual.enabled;if(a.loop){if(c&&!u&&a.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}function p(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}var f=p(l?n.translate:-n.translate),h=s.map(function(e){return p(e)}),v=a.freeMode&&a.freeMode.enabled,m=s[h.indexOf(f)-1];void 0===m&&(a.cssMode||v)&&(s.forEach(function(e,t){f>=e&&(r=t)}),void 0!==r&&(m=v?s[r]:s[r>0?r-1:r]));var g=0;if(void 0!==m&&((g=o.indexOf(m))<0&&(g=n.activeIndex-1),"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(g=Math.max(g=g-n.slidesPerViewDynamic("previous",!0)+1,0))),a.rewind&&n.isBeginning){var y=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(y,e,t,i)}return a.loop&&0===n.activeIndex&&a.cssMode?(requestAnimationFrame(function(){n.slideTo(g,e,t,i)}),!0):n.slideTo(g,e,t,i)},slideReset:function(e,t,i){if(void 0===t&&(t=!0),!this.destroyed)return void 0===e&&(e=this.params.speed),this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(e,t,i,r){if(void 0===t&&(t=!0),void 0===r&&(r=.5),!this.destroyed){void 0===e&&(e=this.params.speed);var n=this.activeIndex,a=Math.min(this.params.slidesPerGroupSkip,n),s=a+Math.floor((n-a)/this.params.slidesPerGroup),o=this.rtlTranslate?this.translate:-this.translate;if(o>=this.snapGrid[s]){var l=this.snapGrid[s];o-l>(this.snapGrid[s+1]-l)*r&&(n+=this.params.slidesPerGroup)}else{var d=this.snapGrid[s-1];o-d<=(this.snapGrid[s]-d)*r&&(n-=this.params.slidesPerGroup)}return n=Math.min(n=Math.max(n,0),this.slidesGrid.length-1),this.slideTo(n,e,t,i)}},slideToClickedSlide:function(){var e,t=this;if(!t.destroyed){var i=t.params,r=t.slidesEl,n="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,a=t.getSlideIndexWhenGrid(t.clickedIndex),s=t.isElement?"swiper-slide":".".concat(i.slideClass),o=t.grid&&t.params.grid&&t.params.grid.rows>1;if(i.loop){if(t.animating)return;e=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),i.centeredSlides?t.slideToLoop(e):a>(o?(t.slides.length-n)/2-(t.params.grid.rows-1):t.slides.length-n)?(t.loopFix(),a=t.getSlideIndex(ej(r,"".concat(s,'[data-swiper-slide-index="').concat(e,'"]'))[0]),eI(function(){t.slideTo(a)})):t.slideTo(a)}else t.slideTo(a)}}},loop:{loopCreate:function(e,t){var i=this,r=i.params,n=i.slidesEl;if(r.loop&&(!i.virtual||!i.params.virtual.enabled)){var a,s=i.grid&&r.grid&&r.grid.rows>1;r.loopAddBlankSlides&&(r.slidesPerGroup>1||s)&&((a=ej(n,".".concat(r.slideBlankClass))).forEach(function(e){e.remove()}),a.length>0&&(i.recalcSlides(),i.updateSlides()));var o=r.slidesPerGroup*(s?r.grid.rows:1),l=i.slides.length%o!=0,d=s&&i.slides.length%r.grid.rows!=0,c=function(e){for(var t=0;t<e;t+=1){var n=i.isElement?eG("swiper-slide",[r.slideBlankClass]):eG("div",[r.slideClass,r.slideBlankClass]);i.slidesEl.append(n)}};l?r.loopAddBlankSlides?(c(o-i.slides.length%o),i.recalcSlides(),i.updateSlides()):eR("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"):d&&(r.loopAddBlankSlides?(c(r.grid.rows-i.slides.length%r.grid.rows),i.recalcSlides(),i.updateSlides()):eR("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)")),ej(n,".".concat(r.slideClass,", swiper-slide")).forEach(function(e,t){e.setAttribute("data-swiper-slide-index",t)}),i.loopFix({slideRealIndex:e,direction:r.centeredSlides?void 0:"next",initial:t})}},loopFix:function(e){var t=void 0===e?{}:e,i=t.slideRealIndex,r=t.slideTo,n=void 0===r||r,a=t.direction,s=t.setTranslate,o=t.activeSlideIndex,l=t.initial,d=t.byController,c=t.byMousewheel,u=this;if(u.params.loop){u.emit("beforeLoopFix");var p=u.slides,f=u.allowSlidePrev,h=u.allowSlideNext,v=u.slidesEl,m=u.params,g=m.centeredSlides,y=m.initialSlide;if(u.allowSlidePrev=!0,u.allowSlideNext=!0,u.virtual&&m.virtual.enabled){n&&(m.centeredSlides||0!==u.snapIndex?m.centeredSlides&&u.snapIndex<m.slidesPerView?u.slideTo(u.virtual.slides.length+u.snapIndex,0,!1,!0):u.snapIndex===u.snapGrid.length-1&&u.slideTo(u.virtual.slidesBefore,0,!1,!0):u.slideTo(u.virtual.slides.length,0,!1,!0)),u.allowSlidePrev=f,u.allowSlideNext=h,u.emit("loopFix");return}var b=m.slidesPerView;"auto"===b?b=u.slidesPerViewDynamic():(b=Math.ceil(parseFloat(m.slidesPerView,10)),g&&b%2==0&&(b+=1));var w=m.slidesPerGroupAuto?b:m.slidesPerGroup,S=g?Math.max(w,Math.ceil(b/2)):w;S%w!=0&&(S+=w-S%w),S+=m.loopAdditionalSlides,u.loopedSlides=S;var E=u.grid&&m.grid&&m.grid.rows>1;p.length<b+S||"cards"===u.params.effect&&p.length<b+2*S?eR("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):E&&"row"===m.grid.fill&&eR("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");var x=[],T=[],C=E?Math.ceil(p.length/m.grid.rows):p.length,M=l&&C-y<b&&!g,P=M?y:u.activeIndex;void 0===o?o=u.getSlideIndex(p.find(function(e){return e.classList.contains(m.slideActiveClass)})):P=o;var _="next"===a||!a,k="prev"===a||!a,L=0,A=0,z=(E?p[o].column:o)+(g&&void 0===s?-b/2+.5:0);if(z<S){L=Math.max(S-z,w);for(var D=0;D<S-z;D+=1){var N=D-Math.floor(D/C)*C;if(E)for(var j=C-N-1,R=p.length-1;R>=0;R-=1)p[R].column===j&&x.push(R);else x.push(C-N-1)}}else if(z+b>C-S){A=Math.max(z-(C-2*S),w),M&&(A=Math.max(A,b-C+y+1));for(var G=0;G<A;G+=1)!function(e){var t=e-Math.floor(e/C)*C;E?p.forEach(function(e,i){e.column===t&&T.push(i)}):T.push(t)}(G)}if(u.__preventObserver__=!0,requestAnimationFrame(function(){u.__preventObserver__=!1}),"cards"===u.params.effect&&p.length<b+2*S&&(T.includes(o)&&T.splice(T.indexOf(o),1),x.includes(o)&&x.splice(x.indexOf(o),1)),k&&x.forEach(function(e){p[e].swiperLoopMoveDOM=!0,v.prepend(p[e]),p[e].swiperLoopMoveDOM=!1}),_&&T.forEach(function(e){p[e].swiperLoopMoveDOM=!0,v.append(p[e]),p[e].swiperLoopMoveDOM=!1}),u.recalcSlides(),"auto"===m.slidesPerView?u.updateSlides():E&&(x.length>0&&k||T.length>0&&_)&&u.slides.forEach(function(e,t){u.grid.updateSlide(t,e,u.slides)}),m.watchSlidesProgress&&u.updateSlidesOffset(),n){if(x.length>0&&k){if(void 0===i){var B=u.slidesGrid[P],F=u.slidesGrid[P+L]-B;c?u.setTranslate(u.translate-F):(u.slideTo(P+Math.ceil(L),0,!1,!0),s&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-F,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-F))}else if(s){var V=E?x.length/m.grid.rows:x.length;u.slideTo(u.activeIndex+V,0,!1,!0),u.touchEventsData.currentTranslate=u.translate}}else if(T.length>0&&_){if(void 0===i){var H=u.slidesGrid[P],q=u.slidesGrid[P-A]-H;c?u.setTranslate(u.translate-q):(u.slideTo(P-A,0,!1,!0),s&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-q,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-q))}else{var W=E?T.length/m.grid.rows:T.length;u.slideTo(u.activeIndex-W,0,!1,!0)}}}if(u.allowSlidePrev=f,u.allowSlideNext=h,u.controller&&u.controller.control&&!d){var X={slideRealIndex:i,direction:a,setTranslate:s,activeSlideIndex:o,byController:!0};Array.isArray(u.controller.control)?u.controller.control.forEach(function(e){!e.destroyed&&e.params.loop&&e.loopFix(I(O({},X),{slideTo:e.params.slidesPerView===m.slidesPerView&&n}))}):u.controller.control instanceof u.constructor&&u.controller.control.params.loop&&u.controller.control.loopFix(I(O({},X),{slideTo:u.controller.control.params.slidesPerView===m.slidesPerView&&n}))}u.emit("loopFix")}},loopDestroy:function(){var e=this.params,t=this.slidesEl;if(e.loop&&t&&(!this.virtual||!this.params.virtual.enabled)){this.recalcSlides();var i=[];this.slides.forEach(function(e){i[void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex]=e}),this.slides.forEach(function(e){e.removeAttribute("data-swiper-slide-index")}),i.forEach(function(e){t.append(e)}),this.recalcSlides(),this.slideTo(this.realIndex,0)}}},grabCursor:{setGrabCursor:function(e){var t=this;if(t.params.simulateTouch&&(!t.params.watchOverflow||!t.isLocked)&&!t.params.cssMode){var i="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(function(){t.__preventObserver__=!1})}},unsetGrabCursor:function(){var e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(function(){e.__preventObserver__=!1}))}},events:{attachEvents:function(){var e=this.params;this.onTouchStart=e7.bind(this),this.onTouchMove=e9.bind(this),this.onTouchEnd=te.bind(this),this.onDocumentTouchStart=ts.bind(this),e.cssMode&&(this.onScroll=tn.bind(this)),this.onClick=tr.bind(this),this.onLoad=ta.bind(this),to(this,"on")},detachEvents:function(){to(this,"off")}},breakpoints:{setBreakpoint:function(){var e=this,t=e.realIndex,i=e.initialized,r=e.params,n=e.el,a=r.breakpoints;if(a&&(!a||0!==Object.keys(a).length)){var s=e_(),o="window"!==r.breakpointsBase&&r.breakpointsBase?"container":r.breakpointsBase,l=["window","container"].includes(r.breakpointsBase)||!r.breakpointsBase?e.el:s.querySelector(r.breakpointsBase),d=e.getBreakpoint(a,o,l);if(d&&e.currentBreakpoint!==d){var c=(d in a?a[d]:void 0)||e.originalParams,u=tl(e,r),p=tl(e,c),f=e.params.grabCursor,h=c.grabCursor,v=r.enabled;u&&!p?(n.classList.remove("".concat(r.containerModifierClass,"grid"),"".concat(r.containerModifierClass,"grid-column")),e.emitContainerClasses()):!u&&p&&(n.classList.add("".concat(r.containerModifierClass,"grid")),(c.grid.fill&&"column"===c.grid.fill||!c.grid.fill&&"column"===r.grid.fill)&&n.classList.add("".concat(r.containerModifierClass,"grid-column")),e.emitContainerClasses()),f&&!h?e.unsetGrabCursor():!f&&h&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(function(t){if(void 0!==c[t]){var i=r[t]&&r[t].enabled,n=c[t]&&c[t].enabled;i&&!n&&e[t].disable(),!i&&n&&e[t].enable()}});var m=c.direction&&c.direction!==r.direction,g=r.loop&&(c.slidesPerView!==r.slidesPerView||m),y=r.loop;m&&i&&e.changeDirection(),ez(e.params,c);var b=e.params.enabled,w=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),v&&!b?e.disable():!v&&b&&e.enable(),e.currentBreakpoint=d,e.emit("_beforeBreakpoint",c),i&&(g?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!y&&w?(e.loopCreate(t),e.updateSlides()):y&&!w&&e.loopDestroy()),e.emit("breakpoint",c)}}},getBreakpoint:function(e,t,i){if(void 0===t&&(t="window"),e&&("container"!==t||i)){var r=!1,n=eO(),a="window"===t?n.innerHeight:i.clientHeight,s=Object.keys(e).map(function(e){return"string"==typeof e&&0===e.indexOf("@")?{value:a*parseFloat(e.substr(1)),point:e}:{value:e,point:e}});s.sort(function(e,t){return parseInt(e.value,10)-parseInt(t.value,10)});for(var o=0;o<s.length;o+=1){var l=s[o],d=l.point,c=l.value;"window"===t?n.matchMedia("(min-width: ".concat(c,"px)")).matches&&(r=d):c<=i.clientWidth&&(r=d)}return r||"max"}}},checkOverflow:{checkOverflow:function(){var e=this.isLocked,t=this.params,i=t.slidesOffsetBefore;if(i){var r=this.slides.length-1,n=this.slidesGrid[r]+this.slidesSizesGrid[r]+2*i;this.isLocked=this.size>n}else this.isLocked=1===this.snapGrid.length;!0===t.allowSlideNext&&(this.allowSlideNext=!this.isLocked),!0===t.allowSlidePrev&&(this.allowSlidePrev=!this.isLocked),e&&e!==this.isLocked&&(this.isEnd=!1),e!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock")}},classes:{addClasses:function(){var e,t,i,r,n=this.classNames,a=this.params,s=this.rtl,o=this.el,l=this.device,d=(t=["initialized",a.direction,{"free-mode":this.params.freeMode&&a.freeMode.enabled},{autoheight:a.autoHeight},{rtl:s},{grid:a.grid&&a.grid.rows>1},{"grid-column":a.grid&&a.grid.rows>1&&"column"===a.grid.fill},{android:l.android},{ios:l.ios},{"css-mode":a.cssMode},{centered:a.cssMode&&a.centeredSlides},{"watch-progress":a.watchSlidesProgress}],i=a.containerModifierClass,r=[],t.forEach(function(e){"object"==typeof e?Object.keys(e).forEach(function(t){e[t]&&r.push(i+t)}):"string"==typeof e&&r.push(i+e)}),r);n.push.apply(n,eT(d)),(e=o.classList).add.apply(e,eT(n)),this.emitContainerClasses()},removeClasses:function(){var e,t=this.el,i=this.classNames;t&&"string"!=typeof t&&((e=t.classList).remove.apply(e,eT(i)),this.emitContainerClasses())}}},tu={},tp=function(){function e(){eK(this,e);for(var t,i,r,n,a=arguments.length,s=Array(a),o=0;o<a;o++)s[o]=arguments[o];1===s.length&&s[0].constructor&&"Object"===Object.prototype.toString.call(s[0]).slice(8,-1)?i=s[0]:(t=(r=z(s,2))[0],i=r[1]),i||(i={}),i=ez({},i),t&&!i.el&&(i.el=t);var l=e_();if(i.el&&"string"==typeof i.el&&l.querySelectorAll(i.el).length>1){var d=[];return l.querySelectorAll(i.el).forEach(function(t){var r=ez({},i,{el:t});d.push(new e(r))}),d}var c=this;c.__swiper__=!0,c.support=eJ(),c.device=eZ({userAgent:i.userAgent}),c.browser=e0(),c.eventsListeners={},c.eventsAnyListeners=[],c.modules=eT(c.__modules__),i.modules&&Array.isArray(i.modules)&&(n=c.modules).push.apply(n,eT(i.modules));var u={};c.modules.forEach(function(e){var t;e({params:i,swiper:c,extendParams:(t=i,function(e){void 0===e&&(e={});var i=Object.keys(e)[0],r=e[i];if("object"!=typeof r||null===r||(!0===t[i]&&(t[i]={enabled:!0}),"navigation"===i&&t[i]&&t[i].enabled&&!t[i].prevEl&&!t[i].nextEl&&(t[i].auto=!0),["pagination","scrollbar"].indexOf(i)>=0&&t[i]&&t[i].enabled&&!t[i].el&&(t[i].auto=!0),!(i in t&&"enabled"in r))){ez(u,e);return}"object"!=typeof t[i]||"enabled"in t[i]||(t[i].enabled=!0),t[i]||(t[i]={enabled:!1}),ez(u,e)}),on:c.on.bind(c),once:c.once.bind(c),off:c.off.bind(c),emit:c.emit.bind(c)})});var p=ez({},td,u);return c.params=ez({},p,tu,i),c.originalParams=ez({},c.params),c.passedParams=ez({},i),c.params&&c.params.on&&Object.keys(c.params.on).forEach(function(e){c.on(e,c.params.on[e])}),c.params&&c.params.onAny&&c.onAny(c.params.onAny),Object.assign(c,{enabled:c.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===c.params.direction},isVertical:function(){return"vertical"===c.params.direction},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment:function(){return 8388608*Math.trunc(this.translate/8388608)},allowSlideNext:c.params.allowSlideNext,allowSlidePrev:c.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:c.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:c.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),c.emit("_swiper"),c.params.init&&c.init(),c}return e$(e,[{key:"getDirectionLabel",value:function(e){return this.isHorizontal()?e:({width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"})[e]}},{key:"getSlideIndex",value:function(e){var t=this.slidesEl,i=this.params,r=eF(ej(t,".".concat(i.slideClass,", swiper-slide"))[0]);return eF(e)-r}},{key:"getSlideIndexByData",value:function(e){return this.getSlideIndex(this.slides.find(function(t){return 1*t.getAttribute("data-swiper-slide-index")===e}))}},{key:"getSlideIndexWhenGrid",value:function(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?e=Math.floor(e/this.params.grid.rows):"row"===this.params.grid.fill&&(e%=Math.ceil(this.slides.length/this.params.grid.rows))),e}},{key:"recalcSlides",value:function(){var e=this.slidesEl,t=this.params;this.slides=ej(e,".".concat(t.slideClass,", swiper-slide"))}},{key:"enable",value:function(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))}},{key:"disable",value:function(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))}},{key:"setProgress",value:function(e,t){e=Math.min(Math.max(e,0),1);var i=this.minTranslate(),r=(this.maxTranslate()-i)*e+i;this.translateTo(r,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()}},{key:"emitContainerClasses",value:function(){var e=this;if(e.params._emitClasses&&e.el){var t=e.el.className.split(" ").filter(function(t){return 0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)});e.emit("_containerClasses",t.join(" "))}}},{key:"getSlideClasses",value:function(e){var t=this;return t.destroyed?"":e.className.split(" ").filter(function(e){return 0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)}).join(" ")}},{key:"emitSlidesClasses",value:function(){var e=this;if(e.params._emitClasses&&e.el){var t=[];e.slides.forEach(function(i){var r=e.getSlideClasses(i);t.push({slideEl:i,classNames:r}),e.emit("_slideClass",i,r)}),e.emit("_slideClasses",t)}}},{key:"slidesPerViewDynamic",value:function(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);var i=this.params,r=this.slides,n=this.slidesGrid,a=this.slidesSizesGrid,s=this.size,o=this.activeIndex,l=1;if("number"==typeof i.slidesPerView)return i.slidesPerView;if(i.centeredSlides){for(var d,c=r[o]?Math.ceil(r[o].swiperSlideSize):0,u=o+1;u<r.length;u+=1)r[u]&&!d&&(c+=Math.ceil(r[u].swiperSlideSize),l+=1,c>s&&(d=!0));for(var p=o-1;p>=0;p-=1)r[p]&&!d&&(c+=r[p].swiperSlideSize,l+=1,c>s&&(d=!0))}else if("current"===e)for(var f=o+1;f<r.length;f+=1)(t?n[f]+a[f]-n[o]<s:n[f]-n[o]<s)&&(l+=1);else for(var h=o-1;h>=0;h-=1)n[o]-n[h]<s&&(l+=1);return l}},{key:"update",value:function(){var e,t=this;if(t&&!t.destroyed){var i=t.snapGrid,r=t.params;if(r.breakpoints&&t.setBreakpoint(),eT(t.el.querySelectorAll('[loading="lazy"]')).forEach(function(e){e.complete&&e3(t,e)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),r.freeMode&&r.freeMode.enabled&&!r.cssMode)a(),r.autoHeight&&t.updateAutoHeight();else{if(("auto"===r.slidesPerView||r.slidesPerView>1)&&t.isEnd&&!r.centeredSlides){var n=t.virtual&&r.virtual.enabled?t.virtual.slides:t.slides;e=t.slideTo(n.length-1,0,!1,!0)}else e=t.slideTo(t.activeIndex,0,!1,!0);e||a()}r.watchOverflow&&i!==t.snapGrid&&t.checkOverflow(),t.emit("update")}function a(){var e=Math.min(Math.max(t.rtlTranslate?-1*t.translate:t.translate,t.maxTranslate()),t.minTranslate());t.setTranslate(e),t.updateActiveIndex(),t.updateSlidesClasses()}}},{key:"changeDirection",value:function(e,t){void 0===t&&(t=!0);var i=this.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(this.el.classList.remove("".concat(this.params.containerModifierClass).concat(i)),this.el.classList.add("".concat(this.params.containerModifierClass).concat(e)),this.emitContainerClasses(),this.params.direction=e,this.slides.forEach(function(t){"vertical"===e?t.style.width="":t.style.height=""}),this.emit("changeDirection"),t&&this.update()),this}},{key:"changeLanguageDirection",value:function(e){(!this.rtl||"rtl"!==e)&&(this.rtl||"ltr"!==e)&&(this.rtl="rtl"===e,this.rtlTranslate="horizontal"===this.params.direction&&this.rtl,this.rtl?(this.el.classList.add("".concat(this.params.containerModifierClass,"rtl")),this.el.dir="rtl"):(this.el.classList.remove("".concat(this.params.containerModifierClass,"rtl")),this.el.dir="ltr"),this.update())}},{key:"mount",value:function(e){var t=this;if(t.mounted)return!0;var i=e||t.params.el;if("string"==typeof i&&(i=document.querySelector(i)),!i)return!1;i.swiper=t,i.parentNode&&i.parentNode.host&&i.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);var r=function(){return".".concat((t.params.wrapperClass||"").trim().split(" ").join("."))},n=i&&i.shadowRoot&&i.shadowRoot.querySelector?i.shadowRoot.querySelector(r()):ej(i,r())[0];return!n&&t.params.createElements&&(n=eG("div",t.params.wrapperClass),i.append(n),ej(i,".".concat(t.params.slideClass)).forEach(function(e){n.append(e)})),Object.assign(t,{el:i,wrapperEl:n,slidesEl:t.isElement&&!i.parentNode.host.slideSlots?i.parentNode.host:n,hostEl:t.isElement?i.parentNode.host:i,mounted:!0,rtl:"rtl"===i.dir.toLowerCase()||"rtl"===eB(i,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===i.dir.toLowerCase()||"rtl"===eB(i,"direction")),wrongRTL:"-webkit-box"===eB(n,"display")}),!0}},{key:"init",value:function(e){var t=this;if(t.initialized||!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();var i=eT(t.el.querySelectorAll('[loading="lazy"]'));return t.isElement&&i.push.apply(i,eT(t.hostEl.querySelectorAll('[loading="lazy"]'))),i.forEach(function(e){e.complete?e3(t,e):e.addEventListener("load",function(e){e3(t,e.target)})}),e4(t),t.initialized=!0,e4(t),t.emit("init"),t.emit("afterInit"),t}},{key:"destroy",value:function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var i=this,r=i.params,n=i.el,a=i.wrapperEl,s=i.slides;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),r.loop&&i.loopDestroy(),t&&(i.removeClasses(),n&&"string"!=typeof n&&n.removeAttribute("style"),a&&a.removeAttribute("style"),s&&s.length&&s.forEach(function(e){e.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(function(e){i.off(e)}),!1!==e&&(i.el&&"string"!=typeof i.el&&(i.el.swiper=null),function(e){Object.keys(e).forEach(function(t){try{e[t]=null}catch(e){}try{delete e[t]}catch(e){}})}(i)),i.destroyed=!0),null}}],[{key:"extendDefaults",value:function(e){ez(tu,e)}},{key:"extendedDefaults",get:function(){return tu}},{key:"defaults",get:function(){return td}},{key:"installModule",value:function(t){e.prototype.__modules__||(e.prototype.__modules__=[]);var i=e.prototype.__modules__;"function"==typeof t&&0>i.indexOf(t)&&i.push(t)}},{key:"use",value:function(t){return Array.isArray(t)?t.forEach(function(t){return e.installModule(t)}):e.installModule(t),e}}]),e}();Object.keys(tc).forEach(function(e){Object.keys(tc[e]).forEach(function(t){tp.prototype[t]=tc[e][t]})}),tp.use([function(e){var t=e.swiper,i=e.on,r=e.emit,n=eO(),a=null,s=null,o=function(){t&&!t.destroyed&&t.initialized&&(r("beforeResize"),r("resize"))},l=function(){t&&!t.destroyed&&t.initialized&&(a=new ResizeObserver(function(e){s=n.requestAnimationFrame(function(){var i=t.width,r=t.height,n=i,a=r;e.forEach(function(e){var i=e.contentBoxSize,r=e.contentRect,s=e.target;s&&s!==t.el||(n=r?r.width:(i[0]||i).inlineSize,a=r?r.height:(i[0]||i).blockSize)}),(n!==i||a!==r)&&o()})})).observe(t.el)},d=function(){s&&n.cancelAnimationFrame(s),a&&a.unobserve&&t.el&&(a.unobserve(t.el),a=null)},c=function(){t&&!t.destroyed&&t.initialized&&r("orientationchange")};i("init",function(){if(t.params.resizeObserver&&void 0!==n.ResizeObserver){l();return}n.addEventListener("resize",o),n.addEventListener("orientationchange",c)}),i("destroy",function(){d(),n.removeEventListener("resize",o),n.removeEventListener("orientationchange",c)})},function(e){var t=e.swiper,i=e.extendParams,r=e.on,n=e.emit,a=[],s=eO(),o=function(e,i){void 0===i&&(i={});var r=new(s.MutationObserver||s.WebkitMutationObserver)(function(e){if(!t.__preventObserver__){if(1===e.length){n("observerUpdate",e[0]);return}var i=function(){n("observerUpdate",e[0])};s.requestAnimationFrame?s.requestAnimationFrame(i):s.setTimeout(i,0)}});r.observe(e,{attributes:void 0===i.attributes||i.attributes,childList:t.isElement||(void 0===i.childList||i).childList,characterData:void 0===i.characterData||i.characterData}),a.push(r)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",function(){if(t.params.observer){if(t.params.observeParents)for(var e=eV(t.hostEl),i=0;i<e.length;i+=1)o(e[i]);o(t.hostEl,{childList:t.params.observeSlideChildren}),o(t.wrapperEl,{attributes:!1})}}),r("destroy",function(){a.forEach(function(e){e.disconnect()}),a.splice(0,a.length)})}]);var tf=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function th(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function tv(e,t){var i=["__proto__","constructor","prototype"];Object.keys(t).filter(function(e){return 0>i.indexOf(e)}).forEach(function(i){void 0===e[i]?e[i]=t[i]:th(t[i])&&th(e[i])&&Object.keys(t[i]).length>0?t[i].__swiper__?e[i]=t[i]:tv(e[i],t[i]):e[i]=t[i]})}function tm(e){return void 0===e&&(e={}),e.navigation&&void 0===e.navigation.nextEl&&void 0===e.navigation.prevEl}function tg(e){return void 0===e&&(e={}),e.pagination&&void 0===e.pagination.el}function ty(e){return void 0===e&&(e={}),e.scrollbar&&void 0===e.scrollbar.el}function tb(e){void 0===e&&(e="");var t=e.split(" ").map(function(e){return e.trim()}).filter(function(e){return!!e}),i=[];return t.forEach(function(e){0>i.indexOf(e)&&i.push(e)}),i.join(" ")}var tw=function(e){e&&!e.destroyed&&e.params.virtual&&(!e.params.virtual||e.params.virtual.enabled)&&(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.emit("_virtualUpdated"),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function tS(){return(tS=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(e[r]=i[r])}return e}).apply(this,arguments)}function tE(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function tx(e,t){return"undefined"==typeof window?v.useEffect(e,t):v.useLayoutEffect(e,t)}var tT=v.createContext(null),tC=v.createContext(null),tM=v.forwardRef(function(e,t){var i,r,n,a,s,o,l,d,c,u,p=void 0===e?{}:e,f=p.className,h=p.tag,m=void 0===h?"div":h,g=p.wrapperTag,y=void 0===g?"div":g,b=p.children,w=p.onSwiper,S=eU(p,["className","tag","wrapperTag","children","onSwiper"]),E=!1,x=z(v.useState("swiper"),2),C=x[0],M=x[1],P=z(v.useState(null),2),_=P[0],I=P[1],L=z(v.useState(!1),2),A=L[0],D=L[1],N=v.useRef(!1),j=v.useRef(null),R=v.useRef(null),G=v.useRef(null),B=v.useRef(null),F=v.useRef(null),V=v.useRef(null),H=v.useRef(null),q=v.useRef(null),W=(void 0===(i=S)&&(i={}),void 0===r&&(r=!0),a={},s={},tv(n={on:{}},td),n._emitClasses=!0,n.init=!1,o={},l=tf.map(function(e){return e.replace(/_/,"")}),Object.keys(Object.assign({},i)).forEach(function(e){void 0!==i[e]&&(l.indexOf(e)>=0?th(i[e])?(n[e]={},s[e]={},tv(n[e],i[e]),tv(s[e],i[e])):(n[e]=i[e],s[e]=i[e]):0===e.search(/on[A-Z]/)&&"function"==typeof i[e]?r?a["".concat(e[2].toLowerCase()).concat(e.substr(3))]=i[e]:n.on["".concat(e[2].toLowerCase()).concat(e.substr(3))]=i[e]:o[e]=i[e])}),["navigation","pagination","scrollbar"].forEach(function(e){!0===n[e]&&(n[e]={}),!1===n[e]&&delete n[e]}),{params:n,passedParams:s,rest:o,events:a}),X=W.params,Y=W.passedParams,U=W.rest,K=W.events,Q=(d=[],c={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]},T.default.Children.toArray(b).forEach(function(e){if(tE(e))d.push(e);else if(e.props&&e.props.slot&&c[e.props.slot])c[e.props.slot].push(e);else if(e.props&&e.props.children){var t=function e(t){var i=[];return T.default.Children.toArray(t).forEach(function(t){tE(t)?i.push(t):t.props&&t.props.children&&e(t.props.children).forEach(function(e){return i.push(e)})}),i}(e.props.children);t.length>0?t.forEach(function(e){return d.push(e)}):c["container-end"].push(e)}else c["container-end"].push(e)}),{slides:d,slots:c}),$=Q.slides,J=Q.slots,Z=function(){D(!A)};Object.assign(X.on,{_containerClasses:function(e,t){M(t)}});var ee=function(){Object.assign(X.on,K),E=!0;var e=O({},X);if(delete e.wrapperClass,R.current=new tp(e),R.current.virtual&&R.current.params.virtual.enabled){R.current.virtual.slides=$;var t={cache:!1,slides:$,renderExternal:I,renderExternalUpdate:!1};tv(R.current.params.virtual,t),tv(R.current.originalParams.virtual,t)}};j.current||ee(),R.current&&R.current.on("_beforeBreakpoint",Z);var et=function(){!E&&K&&R.current&&Object.keys(K).forEach(function(e){R.current.on(e,K[e])})},ei=function(){K&&R.current&&Object.keys(K).forEach(function(e){R.current.off(e,K[e])})};return v.useEffect(function(){return function(){R.current&&R.current.off("_beforeBreakpoint",Z)}}),v.useEffect(function(){!N.current&&R.current&&(R.current.emitSlidesClasses(),N.current=!0)}),tx(function(){if(t&&(t.current=j.current),j.current){var e,i,r,n,a,s,o;return R.current.destroyed&&ee(),i=(e={el:j.current,nextEl:F.current,prevEl:V.current,paginationEl:H.current,scrollbarEl:q.current,swiper:R.current}).el,r=e.nextEl,n=e.prevEl,a=e.paginationEl,s=e.scrollbarEl,o=e.swiper,tm(X)&&r&&n&&(o.params.navigation.nextEl=r,o.originalParams.navigation.nextEl=r,o.params.navigation.prevEl=n,o.originalParams.navigation.prevEl=n),tg(X)&&a&&(o.params.pagination.el=a,o.originalParams.pagination.el=a),ty(X)&&s&&(o.params.scrollbar.el=s,o.originalParams.scrollbar.el=s),o.init(i),w&&!R.current.destroyed&&w(R.current),function(){R.current&&!R.current.destroyed&&R.current.destroy(!0,!1)}}},[]),tx(function(){et();var e,t,i,r,n,a,s,o,l,d,c,u,p,f,h,v,m,g,y,b,w,S,E,x,T,C=function(e,t,i,r,n){var a=[];if(!t)return a;var s=function(e){0>a.indexOf(e)&&a.push(e)};if(i&&r){var o=r.map(n),l=i.map(n);o.join("")!==l.join("")&&s("children"),r.length!==i.length&&s("children")}return tf.filter(function(e){return"_"===e[0]}).map(function(e){return e.replace(/_/,"")}).forEach(function(i){if(i in e&&i in t){if(th(e[i])&&th(t[i])){var r=Object.keys(e[i]),n=Object.keys(t[i]);r.length!==n.length?s(i):(r.forEach(function(r){e[i][r]!==t[i][r]&&s(i)}),n.forEach(function(r){e[i][r]!==t[i][r]&&s(i)}))}else e[i]!==t[i]&&s(i)}}),a}(Y,G.current,$,B.current,function(e){return e.key});return G.current=Y,B.current=$,C.length&&R.current&&!R.current.destroyed&&(d=(e={swiper:R.current,slides:$,passedParams:Y,changedParams:C,nextEl:F.current,prevEl:V.current,scrollbarEl:q.current,paginationEl:H.current}).swiper,c=e.slides,u=e.passedParams,p=e.changedParams,f=e.nextEl,h=e.prevEl,v=e.scrollbarEl,m=e.paginationEl,g=p.filter(function(e){return"children"!==e&&"direction"!==e&&"wrapperClass"!==e}),y=d.params,b=d.pagination,w=d.navigation,S=d.scrollbar,E=d.virtual,x=d.thumbs,p.includes("thumbs")&&u.thumbs&&u.thumbs.swiper&&!u.thumbs.swiper.destroyed&&y.thumbs&&(!y.thumbs.swiper||y.thumbs.swiper.destroyed)&&(t=!0),p.includes("controller")&&u.controller&&u.controller.control&&y.controller&&!y.controller.control&&(i=!0),p.includes("pagination")&&u.pagination&&(u.pagination.el||m)&&(y.pagination||!1===y.pagination)&&b&&!b.el&&(r=!0),p.includes("scrollbar")&&u.scrollbar&&(u.scrollbar.el||v)&&(y.scrollbar||!1===y.scrollbar)&&S&&!S.el&&(n=!0),p.includes("navigation")&&u.navigation&&(u.navigation.prevEl||h)&&(u.navigation.nextEl||f)&&(y.navigation||!1===y.navigation)&&w&&!w.prevEl&&!w.nextEl&&(a=!0),T=function(e){d[e]&&(d[e].destroy(),"navigation"===e?(d.isElement&&(d[e].prevEl.remove(),d[e].nextEl.remove()),y[e].prevEl=void 0,y[e].nextEl=void 0,d[e].prevEl=void 0,d[e].nextEl=void 0):(d.isElement&&d[e].el.remove(),y[e].el=void 0,d[e].el=void 0))},p.includes("loop")&&d.isElement&&(y.loop&&!u.loop?s=!0:!y.loop&&u.loop?o=!0:l=!0),g.forEach(function(e){if(th(y[e])&&th(u[e]))Object.assign(y[e],u[e]),("navigation"===e||"pagination"===e||"scrollbar"===e)&&"enabled"in u[e]&&!u[e].enabled&&T(e);else{var t=u[e];(!0===t||!1===t)&&("navigation"===e||"pagination"===e||"scrollbar"===e)?!1===t&&T(e):y[e]=u[e]}}),g.includes("controller")&&!i&&d.controller&&d.controller.control&&y.controller&&y.controller.control&&(d.controller.control=y.controller.control),p.includes("children")&&c&&E&&y.virtual.enabled?(E.slides=c,E.update(!0)):p.includes("virtual")&&E&&y.virtual.enabled&&(c&&(E.slides=c),E.update(!0)),p.includes("children")&&c&&y.loop&&(l=!0),t&&x.init()&&x.update(!0),i&&(d.controller.control=y.controller.control),r&&(d.isElement&&(!m||"string"==typeof m)&&((m=document.createElement("div")).classList.add("swiper-pagination"),m.part.add("pagination"),d.el.appendChild(m)),m&&(y.pagination.el=m),b.init(),b.render(),b.update()),n&&(d.isElement&&(!v||"string"==typeof v)&&((v=document.createElement("div")).classList.add("swiper-scrollbar"),v.part.add("scrollbar"),d.el.appendChild(v)),v&&(y.scrollbar.el=v),S.init(),S.updateSize(),S.setTranslate()),a&&(d.isElement&&(f&&"string"!=typeof f||((f=document.createElement("div")).classList.add("swiper-button-next"),eW(f,d.hostEl.constructor.nextButtonSvg),f.part.add("button-next"),d.el.appendChild(f)),h&&"string"!=typeof h||((h=document.createElement("div")).classList.add("swiper-button-prev"),eW(h,d.hostEl.constructor.prevButtonSvg),h.part.add("button-prev"),d.el.appendChild(h))),f&&(y.navigation.nextEl=f),h&&(y.navigation.prevEl=h),w.init(),w.update()),p.includes("allowSlideNext")&&(d.allowSlideNext=u.allowSlideNext),p.includes("allowSlidePrev")&&(d.allowSlidePrev=u.allowSlidePrev),p.includes("direction")&&d.changeDirection(u.direction,!1),(s||l)&&d.loopDestroy(),(o||l)&&d.loopCreate(),d.update()),function(){ei()}}),tx(function(){tw(R.current)},[_]),T.default.createElement(m,tS({ref:j,className:tb("".concat(C).concat(f?" ".concat(f):""))},U),T.default.createElement(tC.Provider,{value:R.current},J["container-start"],T.default.createElement(y,{className:(void 0===(u=X.wrapperClass)&&(u=""),u)?u.includes("swiper-wrapper")?u:"swiper-wrapper ".concat(u):"swiper-wrapper"},J["wrapper-start"],X.virtual?function(e,t,i){if(!i)return null;for(var r=e.isHorizontal()?k({},e.rtlTranslate?"right":"left","".concat(i.offset,"px")):{top:"".concat(i.offset,"px")},n=i.from,a=i.to,s=e.params.loop?-t.length:0,o=e.params.loop?2*t.length:t.length,l=[],d=s;d<o;d+=1)d>=n&&d<=a&&l.push(t[function(e){var i=e;return e<0?i=t.length+e:i>=t.length&&(i-=t.length),i}(d)]);return l.map(function(t,i){return T.default.cloneElement(t,{swiper:e,style:r,key:t.props.virtualIndex||t.key||"slide-".concat(i)})})}(R.current,$,_):$.map(function(e,t){return T.default.cloneElement(e,{swiper:R.current,swiperSlideIndex:t})}),J["wrapper-end"]),tm(X)&&T.default.createElement(T.default.Fragment,null,T.default.createElement("div",{ref:V,className:"swiper-button-prev"}),T.default.createElement("div",{ref:F,className:"swiper-button-next"})),ty(X)&&T.default.createElement("div",{ref:q,className:"swiper-scrollbar"}),tg(X)&&T.default.createElement("div",{ref:H,className:"swiper-pagination"}),J["container-end"]))});tM.displayName="Swiper";var tP=v.forwardRef(function(e,t){var i=void 0===e?{}:e,r=i.tag,n=void 0===r?"div":r,a=i.children,s=i.className,o=void 0===s?"":s,l=i.swiper,d=i.zoom,c=i.lazy,u=i.virtualIndex,p=i.swiperSlideIndex,f=eU(i,["tag","children","className","swiper","zoom","lazy","virtualIndex","swiperSlideIndex"]),h=v.useRef(null),m=z(v.useState("swiper-slide"),2),g=m[0],y=m[1],b=z(v.useState(!1),2),w=b[0],S=b[1];function E(e,t,i){t===h.current&&y(i)}tx(function(){if(void 0!==p&&(h.current.swiperSlideIndex=p),t&&(t.current=h.current),h.current&&l){if(l.destroyed){"swiper-slide"!==g&&y("swiper-slide");return}return l.on("_slideClass",E),function(){l&&l.off("_slideClass",E)}}}),tx(function(){l&&h.current&&!l.destroyed&&y(l.getSlideClasses(h.current))},[l]);var x={isActive:g.indexOf("swiper-slide-active")>=0,isVisible:g.indexOf("swiper-slide-visible")>=0,isPrev:g.indexOf("swiper-slide-prev")>=0,isNext:g.indexOf("swiper-slide-next")>=0},C=function(){return"function"==typeof a?a(x):a};return T.default.createElement(n,tS({ref:h,className:tb("".concat(g).concat(o?" ".concat(o):"")),"data-swiper-slide-index":u,onLoad:function(){S(!0)}},f),d&&T.default.createElement(tT.Provider,{value:x},T.default.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"==typeof d?d:void 0},C(),c&&!w&&T.default.createElement("div",{className:"swiper-lazy-preloader"}))),!d&&T.default.createElement(tT.Provider,{value:x},C(),c&&!w&&T.default.createElement("div",{className:"swiper-lazy-preloader"})))});tP.displayName="SwiperSlide";var t_={venture:em};function tk(e){var t=e.style,i=e.compress,r=e.src,n=void 0===r?"":r,a=e.className,s=void 0===a?"":a,o=eU(e,["style","compress","src","className"]),l=_.default.getFitUrl(n,i.height,i.width,O({format:"jpg",alpha:!0},i.config));return ea("div",{style:t,className:ed("common-img",s),children:es("picture",{children:[w.isRightUrl(l)?es(S.Fragment,{children:[n.endsWith(".gif")?null:ea("source",{srcSet:"".concat(l,"_.avif"),type:"image/avif"}),ea("source",{srcSet:"".concat(l,"_.webp"),type:"image/webp"})]}):null,ea("img",O({src:l},o))]})})}function tO(){return(tO=eu(function(e){return ep(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,e];case 1:return[2,[t.sent(),null]];case 2:return[2,[null,t.sent()]];case 3:return[2]}})})).apply(this,arguments)}function tI(){return(tI=eu(function(e){return ep(this,function(t){return[2,function(e){return tO.apply(this,arguments)}(new Promise(function(t,i){return C.default.request(e,function(e){return t(e)},function(e){return i(e)})}))]})})).apply(this,arguments)}var tL={prefix:"",setPrefix:function(e){this.prefix=e},getKey:function(e){return this.prefix?"".concat(this.prefix,"-").concat(e):e},get:function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];try{t&&(e=this.getKey(e));var i=localStorage.getItem(e);if(!i)return null;return JSON.parse(i)}catch(e){return console.error("Storage get error: ".concat(e)),null}},set:function(e,t){var i=!(arguments.length>2)||void 0===arguments[2]||arguments[2];try{i&&(e=this.getKey(e)),localStorage.setItem(e,JSON.stringify(t))}catch(e){console.error("Storage set error: ".concat(e))}},delete:function(e){try{localStorage.removeItem(this.getKey(e))}catch(e){console.error("Storage delete error: ".concat(e))}}},tA=P.default.getQueryParams().wh_pid||"homepage",tz="th-grayscale-pop-show-".concat(y.isMobile()?"msite":"pc","-").concat(tA);if((null===(c=P.default.getQueryParams())||void 0===c?void 0:c.debug)==="true"||(null===(u=P.default.getQueryParams())||void 0===u?void 0:u.debug)===!0)try{localStorage.removeItem(tz)}catch(e){}function tD(e){this.time=e.time,this.target=e.target,this.rootBounds=e.rootBounds,this.boundingClientRect=e.boundingClientRect,this.intersectionRect=e.intersectionRect||tB(),this.isIntersecting=!!e.intersectionRect;var t=this.boundingClientRect,i=t.width*t.height,r=this.intersectionRect,n=r.width*r.height;i?this.intersectionRatio=Number((n/i).toFixed(4)):this.intersectionRatio=this.isIntersecting?1:0}var tN=function(){function e(t,i){var r,n,a,s=this;eK(this,e),this.THROTTLE_TIMEOUT=100,this.POLL_INTERVAL=null,this.USE_MUTATION_OBSERVER=!0,this._checkForIntersections=function(){var e=s._rootIsInDom(),t=e?s._getRootRect():tB();s._observationTargets.forEach(function(i){var r=i.element,n=tG(r),a=this._rootContainsTarget(r),s=i.entry,o=e&&a&&this._computeTargetAndRootIntersection(r,t),l=i.entry=new tD({time:"undefined"!=typeof performance&&performance.now?performance.now():Date.now(),target:r,boundingClientRect:n,rootBounds:t,intersectionRect:o});s?e&&a?this._hasCrossedThreshold(s,l)&&this._queuedEntries.push(l):s&&s.isIntersecting&&this._queuedEntries.push(l):this._queuedEntries.push(l)},s),s._queuedEntries.length&&s._callback(s.takeRecords(),s)};var o=i||{};if("function"!=typeof t)throw Error("callback must be a function");if(o.root&&1!=o.root.nodeType)throw Error("root must be an Element");this._checkForIntersections=(r=this._checkForIntersections,n=this.THROTTLE_TIMEOUT,a=null,function(){a||(a=setTimeout(function(){r(),a=null},n))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(o.rootMargin),this.thresholds=this._initThresholds(o.threshold),this.root=o.root||null,this.rootMargin=this._rootMarginValues.map(function(e){return e.value+e.unit}).join(" ")}return e$(e,[{key:"observe",value:function(e){if(!this._observationTargets.some(function(t){return t.element===e})){if(!(e&&1==e.nodeType))throw Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:e,entry:null}),this._monitorIntersections(),this._checkForIntersections()}}},{key:"unobserve",value:function(e){this._observationTargets=this._observationTargets.filter(function(t){return t.element!==e}),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())}},{key:"disconnect",value:function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()}},{key:"takeRecords",value:function(){var e=this._queuedEntries.slice();return this._queuedEntries=[],e}},{key:"_initThresholds",value:function(e){var t=e||[0];return Array.isArray(t)||(t=[t]),t.sort().filter(function(e,t,i){if("number"!=typeof e||Number.isNaN(e)||e<0||e>1)throw Error("threshold must be a number between 0 and 1 inclusively");return e!==i[t-1]})}},{key:"_parseRootMargin",value:function(e){var t=(e||"0px").split(/\s+/).map(function(e){var t=/^(-?\d*\.?\d+)(px|%)$/.exec(e);if(!t)throw Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(t[1]),unit:t[2]}});return t[1]=t[1]||t[0],t[2]=t[2]||t[0],t[3]=t[3]||t[1],t}},{key:"_monitorIntersections",value:function(){!this._monitoringIntersections&&(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(tj(window,"resize",this._checkForIntersections,!0),tj(document,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))}},{key:"_unmonitorIntersections",value:function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,tR(window,"resize",this._checkForIntersections,!0),tR(document,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))}},{key:"_computeTargetAndRootIntersection",value:function(e,t){if("none"!=window.getComputedStyle(e).display){for(var i=tG(e),r=tV(e),n=!1;!n;){var a=null,s=1==r.nodeType?window.getComputedStyle(r):{};if("none"===s.display)return;if(r===this.root||r===document?(n=!0,a=t):r!==document.body&&r!==document.documentElement&&"visible"!==s.overflow&&(a=tG(r)),a&&!(i=function(e,t){var i=Math.max(e.top,t.top),r=Math.min(e.bottom,t.bottom),n=Math.max(e.left,t.left),a=Math.min(e.right,t.right),s=a-n,o=r-i;return s>=0&&o>=0&&{top:i,bottom:r,left:n,right:a,width:s,height:o}}(a,i)))break;r=tV(r)}return i}}},{key:"_getRootRect",value:function(){var e;if(this.root)e=tG(this.root);else{var t=document.documentElement,i=document.body;e={top:0,left:0,right:t.clientWidth||i.clientWidth,width:t.clientWidth||i.clientWidth,bottom:t.clientHeight||i.clientHeight,height:t.clientHeight||i.clientHeight}}return this._expandRectByRootMargin(e)}},{key:"_expandRectByRootMargin",value:function(e){var t=this._rootMarginValues.map(function(t,i){return"px"===t.unit?t.value:t.value*(i%2?e.width:e.height)/100}),i={top:e.top-t[0],right:e.right+t[1],bottom:e.bottom+t[2],left:e.left-t[3]};return i.width=i.right-i.left,i.height=i.bottom-i.top,i}},{key:"_hasCrossedThreshold",value:function(e,t){var i=e&&e.isIntersecting?e.intersectionRatio||0:-1,r=t.isIntersecting?t.intersectionRatio||0:-1;if(i!==r)for(var n=0;n<this.thresholds.length;n++){var a=this.thresholds[n];if(a==i||a==r||a<i!=a<r)return!0}}},{key:"_rootIsInDom",value:function(){return!this.root||tF(document,this.root)}},{key:"_rootContainsTarget",value:function(e){return tF(this.root||document,e)}},{key:"_registerInstance",value:function(){}},{key:"_unregisterInstance",value:function(){}}]),e}();function tj(e,t,i,r){"function"==typeof e.addEventListener?e.addEventListener(t,i,r||!1):"function"==typeof e.attachEvent&&e.attachEvent("on".concat(t),i)}function tR(e,t,i,r){"function"==typeof e.removeEventListener?e.removeEventListener(t,i,r||!1):"function"==typeof e.detatchEvent&&e.detatchEvent("on".concat(t),i)}function tG(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):tB()}function tB(){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}function tF(e,t){for(var i=t;i;){if(i===e)return!0;i=tV(i)}return!1}function tV(e){var t=e.parentNode;return t&&11==t.nodeType&&t.host?t.host:t&&t.assignedSlot?t.assignedSlot.parentNode:t}(r=p||(p={})).appear="appear",r.disappear="disappear",(n=f||(f={})).up="up",n.down="down";var tH="undefined"!=typeof window&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype?window.IntersectionObserver:tN,tq={root:null,rootMargin:"0px",threshold:function(e){for(var t=[],i=0;i<e;i++)t.push(i/e);return t}(10)};function tW(e){e.forEach(function(e){var t=e.target,i=e.boundingClientRect,r=e.intersectionRatio,n=i.y||i.top,a=parseInt(t.getAttribute("data-before-current-y"),10)||n;!(r>.01)||tY(t.getAttribute("data-appeared"))||tX(t,p.appear)?0===r&&tY(t.getAttribute("data-appeared"))&&!tX(t,p.disappear)&&(t.setAttribute("data-appeared","false"),t.setAttribute("data-has-disappeared","true"),t.dispatchEvent(tU(p.disappear,{direction:n>a?f.up:f.down}))):(t.setAttribute("data-appeared","true"),t.setAttribute("data-has-appeared","true"),t.dispatchEvent(tU(p.appear,{direction:n>a?f.up:f.down}))),t.setAttribute("data-before-current-y",String(n))})}function tX(e,t){var i=tY(e.getAttribute("isonce"))||tY(e.getAttribute("data-once")),r=t===p.appear?"data-has-appeared":"data-has-disappeared";return i&&tY(e.getAttribute(r))}function tY(e){return e&&"false"!==e}function tU(e,t){return new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:t})}exports.Appear=function(e){var t=e.onAppear,i=e.onDisappear,r=e.children,n=v.useRef(),a=r.ref&&"object"==typeof r.ref?r.ref:n;v.useEffect(function(){"function"==typeof r.ref&&r.ref(a.current)},[a,r]);var s=v.useCallback(function(e,t){var i=a.current;if(i&&"function"==typeof t){var r,n=i._nativeNode||i;r=n,h||function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:tq;h=new tH(tW,e)}(),r===document&&(r=document.documentElement),h.observe(r),n.addEventListener(e,t)}return function(){var i=a.current;i&&(i._nativeNode||i).removeEventListener(e,t)}},[a]);return v.useEffect(function(){return s(p.appear,t)},[a,t,s]),v.useEffect(function(){return s(p.disappear,i)},[a,i,s]),v.Children.only(I(O({},r),{ref:a}))},exports.Autoplay=function(e){var t,i,r,n,a,s,o,l,d,c,u=e.swiper,p=e.extendParams,f=e.on,h=e.emit,v=e.params;u.autoplay={running:!1,paused:!1,timeLeft:0},p({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});var m=v&&v.autoplay?v.autoplay.delay:3e3,g=v&&v.autoplay?v.autoplay.delay:3e3,y=new Date().getTime();function b(e){u&&!u.destroyed&&u.wrapperEl&&e.target===u.wrapperEl&&(u.wrapperEl.removeEventListener("transitionend",b),!c&&(!e.detail||!e.detail.bySwiperTouchMove)&&M())}var w=function(){if(!u.destroyed&&u.autoplay.running){u.autoplay.paused?n=!0:n&&(g=r,n=!1);var e=u.autoplay.paused?r:y+g-new Date().getTime();u.autoplay.timeLeft=e,h("autoplayTimeLeft",e,e/m),i=requestAnimationFrame(function(){w()})}},S=function(){if(e=u.virtual&&u.params.virtual.enabled?u.slides.find(function(e){return e.classList.contains("swiper-slide-active")}):u.slides[u.activeIndex]){var e;return parseInt(e.getAttribute("data-swiper-autoplay"),10)}},E=function(e){if(!u.destroyed&&u.autoplay.running){cancelAnimationFrame(i),w();var n=void 0===e?u.params.autoplay.delay:e;m=u.params.autoplay.delay,g=u.params.autoplay.delay;var a=S();!Number.isNaN(a)&&a>0&&void 0===e&&(n=a,m=a,g=a),r=n;var s=u.params.speed,o=function(){u&&!u.destroyed&&(u.params.autoplay.reverseDirection?!u.isBeginning||u.params.loop||u.params.rewind?(u.slidePrev(s,!0,!0),h("autoplay")):u.params.autoplay.stopOnLastSlide||(u.slideTo(u.slides.length-1,s,!0,!0),h("autoplay")):!u.isEnd||u.params.loop||u.params.rewind?(u.slideNext(s,!0,!0),h("autoplay")):u.params.autoplay.stopOnLastSlide||(u.slideTo(0,s,!0,!0),h("autoplay")),u.params.cssMode&&(y=new Date().getTime(),requestAnimationFrame(function(){E()})))};return n>0?(clearTimeout(t),t=setTimeout(function(){o()},n)):requestAnimationFrame(function(){o()}),n}},x=function(){y=new Date().getTime(),u.autoplay.running=!0,E(),h("autoplayStart")},T=function(){u.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(i),h("autoplayStop")},C=function(e,i){if(!u.destroyed&&u.autoplay.running){clearTimeout(t),e||(d=!0);var n=function(){h("autoplayPause"),u.params.autoplay.waitForTransition?u.wrapperEl.addEventListener("transitionend",b):M()};if(u.autoplay.paused=!0,i){l&&(r=u.params.autoplay.delay),l=!1,n();return}r=(r||u.params.autoplay.delay)-(new Date().getTime()-y),u.isEnd&&r<0&&!u.params.loop||(r<0&&(r=0),n())}},M=function(){u.isEnd&&r<0&&!u.params.loop||u.destroyed||!u.autoplay.running||(y=new Date().getTime(),d?(d=!1,E(r)):E(),u.autoplay.paused=!1,h("autoplayResume"))},P=function(){if(!u.destroyed&&u.autoplay.running){var e=e_();"hidden"===e.visibilityState&&(d=!0,C(!0)),"visible"===e.visibilityState&&M()}},_=function(e){"mouse"===e.pointerType&&(d=!0,c=!0,u.animating||u.autoplay.paused||C(!0))},k=function(e){"mouse"===e.pointerType&&(c=!1,u.autoplay.paused&&M())},O=function(){u.params.autoplay.pauseOnMouseEnter&&(u.el.addEventListener("pointerenter",_),u.el.addEventListener("pointerleave",k))},I=function(){u.el&&"string"!=typeof u.el&&(u.el.removeEventListener("pointerenter",_),u.el.removeEventListener("pointerleave",k))},L=function(){e_().addEventListener("visibilitychange",P)},A=function(){e_().removeEventListener("visibilitychange",P)};f("init",function(){u.params.autoplay.enabled&&(O(),L(),x())}),f("destroy",function(){I(),A(),u.autoplay.running&&T()}),f("_freeModeStaticRelease",function(){(s||d)&&M()}),f("_freeModeNoMomentumRelease",function(){u.params.autoplay.disableOnInteraction?T():C(!0,!0)}),f("beforeTransitionStart",function(e,t,i){!u.destroyed&&u.autoplay.running&&(i||!u.params.autoplay.disableOnInteraction?C(!0,!0):T())}),f("sliderFirstMove",function(){if(!u.destroyed&&u.autoplay.running){if(u.params.autoplay.disableOnInteraction){T();return}a=!0,s=!1,d=!1,o=setTimeout(function(){d=!0,s=!0,C(!0)},200)}}),f("touchEnd",function(){if(!u.destroyed&&u.autoplay.running&&a){if(clearTimeout(o),clearTimeout(t),u.params.autoplay.disableOnInteraction){s=!1,a=!1;return}s&&u.params.cssMode&&M(),s=!1,a=!1}}),f("slideChange",function(){!u.destroyed&&u.autoplay.running&&(l=!0)}),Object.assign(u.autoplay,{start:x,stop:T,pause:C,resume:M})},exports.Navigation=function(e){var t=e.swiper,i=e.extendParams,r=e.on,n=e.emit;function a(e){var i;return e&&"string"==typeof e&&t.isElement&&(i=t.el.querySelector(e)||t.hostEl.querySelector(e))?i:(e&&("string"==typeof e&&(i=eT(document.querySelectorAll(e))),t.params.uniqueNavElements&&"string"==typeof e&&i&&i.length>1&&1===t.el.querySelectorAll(e).length?i=t.el.querySelector(e):i&&1===i.length&&(i=i[0])),e&&!i)?e:i}function s(e,i){var r=t.params.navigation;(e=eq(e)).forEach(function(e){if(e){var n;(n=e.classList)[i?"add":"remove"].apply(n,eT(r.disabledClass.split(" "))),"BUTTON"===e.tagName&&(e.disabled=i),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](r.lockClass)}})}function o(){var e=t.navigation,i=e.nextEl,r=e.prevEl;if(t.params.loop){s(r,!1),s(i,!1);return}s(r,t.isBeginning&&!t.params.rewind),s(i,t.isEnd&&!t.params.rewind)}function l(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),n("navigationPrev"))}function d(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),n("navigationNext"))}function c(){var e=t.params.navigation;if(t.params.navigation=eX(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),e.nextEl||e.prevEl){var i=a(e.nextEl),r=a(e.prevEl);Object.assign(t.navigation,{nextEl:i,prevEl:r}),i=eq(i),r=eq(r);var n=function(i,r){if(i&&i.addEventListener("click","next"===r?d:l),!t.enabled&&i){var n;(n=i.classList).add.apply(n,eT(e.lockClass.split(" ")))}};i.forEach(function(e){return n(e,"next")}),r.forEach(function(e){return n(e,"prev")})}}function u(){var e=t.navigation,i=e.nextEl,r=e.prevEl;i=eq(i),r=eq(r);var n=function(e,i){var r;e.removeEventListener("click","next"===i?d:l),(r=e.classList).remove.apply(r,eT(t.params.navigation.disabledClass.split(" ")))};i.forEach(function(e){return n(e,"next")}),r.forEach(function(e){return n(e,"prev")})}i({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null},r("init",function(){!1===t.params.navigation.enabled?p():(c(),o())}),r("toEdge fromEdge lock unlock",function(){o()}),r("destroy",function(){u()}),r("enable disable",function(){var e=t.navigation,i=e.nextEl,r=e.prevEl;if(i=eq(i),r=eq(r),t.enabled){o();return}eT(i).concat(eT(r)).filter(function(e){return!!e}).forEach(function(e){return e.classList.add(t.params.navigation.lockClass)})}),r("click",function(e,i){var r,a=t.navigation,s=a.nextEl,o=a.prevEl;s=eq(s),o=eq(o);var l=i.target,d=o.includes(l)||s.includes(l);if(t.isElement&&!d){var c=i.path||i.composedPath&&i.composedPath();c&&(d=c.find(function(e){return s.includes(e)||o.includes(e)}))}if(t.params.navigation.hideOnClick&&!d){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===l||t.pagination.el.contains(l)))return;s.length?r=s[0].classList.contains(t.params.navigation.hiddenClass):o.length&&(r=o[0].classList.contains(t.params.navigation.hiddenClass)),!0===r?n("navigationShow"):n("navigationHide"),eT(s).concat(eT(o)).filter(function(e){return!!e}).forEach(function(e){return e.classList.toggle(t.params.navigation.hiddenClass)})}});var p=function(){var e;(e=t.el.classList).add.apply(e,eT(t.params.navigation.navigationDisabledClass.split(" "))),u()};Object.assign(t.navigation,{enable:function(){var e;(e=t.el.classList).remove.apply(e,eT(t.params.navigation.navigationDisabledClass.split(" "))),c(),o()},disable:p,update:o,init:c,destroy:u})},exports.Pagination=function(e){var t,i=e.swiper,r=e.extendParams,n=e.on,a=e.emit,s="swiper-pagination";r({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:function(e){return e},formatFractionTotal:function(e){return e},bulletClass:"".concat(s,"-bullet"),bulletActiveClass:"".concat(s,"-bullet-active"),modifierClass:"".concat(s,"-"),currentClass:"".concat(s,"-current"),totalClass:"".concat(s,"-total"),hiddenClass:"".concat(s,"-hidden"),progressbarFillClass:"".concat(s,"-progressbar-fill"),progressbarOppositeClass:"".concat(s,"-progressbar-opposite"),clickableClass:"".concat(s,"-clickable"),lockClass:"".concat(s,"-lock"),horizontalClass:"".concat(s,"-horizontal"),verticalClass:"".concat(s,"-vertical"),paginationDisabledClass:"".concat(s,"-disabled")}}),i.pagination={el:null,bullets:[]};var o=0;function l(){return!i.params.pagination.el||!i.pagination.el||Array.isArray(i.pagination.el)&&0===i.pagination.el.length}function d(e,t){var r=i.params.pagination.bulletActiveClass;e&&(e=e["".concat("prev"===t?"previous":"next","ElementSibling")])&&(e.classList.add("".concat(r,"-").concat(t)),(e=e["".concat("prev"===t?"previous":"next","ElementSibling")])&&e.classList.add("".concat(r,"-").concat(t,"-").concat(t)))}function c(e){var t=e.target.closest(eY(i.params.pagination.bulletClass));if(t){e.preventDefault();var r=eF(t)*i.params.slidesPerGroup;if(i.params.loop){if(i.realIndex===r)return;var n,a,s,o=(n=i.realIndex,a=r,(n%=s=i.slides.length,(a%=s)===n+1)?"next":a===n-1?"previous":void 0);"next"===o?i.slideNext():"previous"===o?i.slidePrev():i.slideToLoop(r)}else i.slideTo(r)}}function u(){var e=i.rtl,r=i.params.pagination;if(!l()){var n=i.pagination.el;n=eq(n);var s=i.virtual&&i.params.virtual.enabled?i.virtual.slides.length:i.slides.length,c=i.params.loop?Math.ceil(s/i.params.slidesPerGroup):i.snapGrid.length;if(i.params.loop?(h=i.previousRealIndex||0,f=i.params.slidesPerGroup>1?Math.floor(i.realIndex/i.params.slidesPerGroup):i.realIndex):void 0!==i.snapIndex?(f=i.snapIndex,h=i.previousSnapIndex):(h=i.previousIndex||0,f=i.activeIndex||0),"bullets"===r.type&&i.pagination.bullets&&i.pagination.bullets.length>0){var u=i.pagination.bullets;if(r.dynamicBullets&&(t=eH(u[0],i.isHorizontal()?"width":"height",!0),n.forEach(function(e){e.style[i.isHorizontal()?"width":"height"]="".concat(t*(r.dynamicMainBullets+4),"px")}),r.dynamicMainBullets>1&&void 0!==h&&((o+=f-(h||0))>r.dynamicMainBullets-1?o=r.dynamicMainBullets-1:o<0&&(o=0)),g=((m=(v=Math.max(f-o,0))+(Math.min(u.length,r.dynamicMainBullets)-1))+v)/2),u.forEach(function(e){var t,i=eT(["","-next","-next-next","-prev","-prev-prev","-main"].map(function(e){return"".concat(r.bulletActiveClass).concat(e)})).map(function(e){return"string"==typeof e&&e.includes(" ")?e.split(" "):e}).flat();(t=e.classList).remove.apply(t,eT(i))}),n.length>1)u.forEach(function(e){var t,n,a=eF(e);a===f?(t=e.classList).add.apply(t,eT(r.bulletActiveClass.split(" "))):i.isElement&&e.setAttribute("part","bullet"),r.dynamicBullets&&(a>=v&&a<=m&&(n=e.classList).add.apply(n,eT("".concat(r.bulletActiveClass,"-main").split(" "))),a===v&&d(e,"prev"),a===m&&d(e,"next"))});else{var p=u[f];if(p&&(y=p.classList).add.apply(y,eT(r.bulletActiveClass.split(" "))),i.isElement&&u.forEach(function(e,t){e.setAttribute("part",t===f?"bullet-active":"bullet")}),r.dynamicBullets){for(var f,h,v,m,g,y,b,w=u[v],S=u[m],E=v;E<=m;E+=1)u[E]&&(b=u[E].classList).add.apply(b,eT("".concat(r.bulletActiveClass,"-main").split(" ")));d(w,"prev"),d(S,"next")}}if(r.dynamicBullets){var x=Math.min(u.length,r.dynamicMainBullets+4),T=(t*x-t)/2-g*t,C=e?"right":"left";u.forEach(function(e){e.style[i.isHorizontal()?C:"top"]="".concat(T,"px")})}}n.forEach(function(e,t){if("fraction"===r.type&&(e.querySelectorAll(eY(r.currentClass)).forEach(function(e){e.textContent=r.formatFractionCurrent(f+1)}),e.querySelectorAll(eY(r.totalClass)).forEach(function(e){e.textContent=r.formatFractionTotal(c)})),"progressbar"===r.type){n=r.progressbarOpposite?i.isHorizontal()?"vertical":"horizontal":i.isHorizontal()?"horizontal":"vertical";var n,s=(f+1)/c,o=1,l=1;"horizontal"===n?o=s:l=s,e.querySelectorAll(eY(r.progressbarFillClass)).forEach(function(e){e.style.transform="translate3d(0,0,0) scaleX(".concat(o,") scaleY(").concat(l,")"),e.style.transitionDuration="".concat(i.params.speed,"ms")})}"custom"===r.type&&r.renderCustom?(eW(e,r.renderCustom(i,f+1,c)),0===t&&a("paginationRender",e)):(0===t&&a("paginationRender",e),a("paginationUpdate",e)),i.params.watchOverflow&&i.enabled&&e.classList[i.isLocked?"add":"remove"](r.lockClass)})}}function p(){var e=i.params.pagination;if(!l()){var t=i.virtual&&i.params.virtual.enabled?i.virtual.slides.length:i.grid&&i.params.grid.rows>1?i.slides.length/Math.ceil(i.params.grid.rows):i.slides.length,r=i.pagination.el;r=eq(r);var n="";if("bullets"===e.type){var s=i.params.loop?Math.ceil(t/i.params.slidesPerGroup):i.snapGrid.length;i.params.freeMode&&i.params.freeMode.enabled&&s>t&&(s=t);for(var o=0;o<s;o+=1)e.renderBullet?n+=e.renderBullet.call(i,o,e.bulletClass):n+="<".concat(e.bulletElement," ").concat(i.isElement?'part="bullet"':"",' class="').concat(e.bulletClass,'"></').concat(e.bulletElement,">")}"fraction"===e.type&&(n=e.renderFraction?e.renderFraction.call(i,e.currentClass,e.totalClass):'<span class="'.concat(e.currentClass,'"></span>')+" / "+'<span class="'.concat(e.totalClass,'"></span>')),"progressbar"===e.type&&(n=e.renderProgressbar?e.renderProgressbar.call(i,e.progressbarFillClass):'<span class="'.concat(e.progressbarFillClass,'"></span>')),i.pagination.bullets=[],r.forEach(function(t){if("custom"!==e.type&&eW(t,n||""),"bullets"===e.type){var r;(r=i.pagination.bullets).push.apply(r,eT(t.querySelectorAll(eY(e.bulletClass))))}}),"custom"!==e.type&&a("paginationRender",r[0])}}function f(){i.params.pagination=eX(i,i.originalParams.pagination,i.params.pagination,{el:"swiper-pagination"});var e,t=i.params.pagination;t.el&&("string"==typeof t.el&&i.isElement&&(e=i.el.querySelector(t.el)),e||"string"!=typeof t.el||(e=eT(document.querySelectorAll(t.el))),e||(e=t.el),e&&0!==e.length&&(i.params.uniqueNavElements&&"string"==typeof t.el&&Array.isArray(e)&&e.length>1&&(e=eT(i.el.querySelectorAll(t.el))).length>1&&(e=e.find(function(e){return eV(e,".swiper")[0]===i.el})),Array.isArray(e)&&1===e.length&&(e=e[0]),Object.assign(i.pagination,{el:e}),(e=eq(e)).forEach(function(e){if("bullets"===t.type&&t.clickable){var r;(r=e.classList).add.apply(r,eT((t.clickableClass||"").split(" ")))}e.classList.add(t.modifierClass+t.type),e.classList.add(i.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(e.classList.add("".concat(t.modifierClass).concat(t.type,"-dynamic")),o=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&e.classList.add(t.progressbarOppositeClass),t.clickable&&e.addEventListener("click",c),i.enabled||e.classList.add(t.lockClass)})))}function h(){var e,t=i.params.pagination;if(!l()){var r=i.pagination.el;r&&(r=eq(r)).forEach(function(e){if(e.classList.remove(t.hiddenClass),e.classList.remove(t.modifierClass+t.type),e.classList.remove(i.isHorizontal()?t.horizontalClass:t.verticalClass),t.clickable){var r;(r=e.classList).remove.apply(r,eT((t.clickableClass||"").split(" "))),e.removeEventListener("click",c)}}),i.pagination.bullets&&i.pagination.bullets.forEach(function(i){return(e=i.classList).remove.apply(e,eT(t.bulletActiveClass.split(" ")))})}}n("changeDirection",function(){if(i.pagination&&i.pagination.el){var e=i.params.pagination,t=i.pagination.el;(t=eq(t)).forEach(function(t){t.classList.remove(e.horizontalClass,e.verticalClass),t.classList.add(i.isHorizontal()?e.horizontalClass:e.verticalClass)})}}),n("init",function(){!1===i.params.pagination.enabled?v():(f(),p(),u())}),n("activeIndexChange",function(){void 0===i.snapIndex&&u()}),n("snapIndexChange",function(){u()}),n("snapGridLengthChange",function(){p(),u()}),n("destroy",function(){h()}),n("enable disable",function(){var e=i.pagination.el;e&&(e=eq(e)).forEach(function(e){return e.classList[i.enabled?"remove":"add"](i.params.pagination.lockClass)})}),n("lock unlock",function(){u()}),n("click",function(e,t){var r=t.target,n=eq(i.pagination.el);if(i.params.pagination.el&&i.params.pagination.hideOnClick&&n&&n.length>0&&!r.classList.contains(i.params.pagination.bulletClass)){if(i.navigation&&(i.navigation.nextEl&&r===i.navigation.nextEl||i.navigation.prevEl&&r===i.navigation.prevEl))return;!0===n[0].classList.contains(i.params.pagination.hiddenClass)?a("paginationShow"):a("paginationHide"),n.forEach(function(e){return e.classList.toggle(i.params.pagination.hiddenClass)})}});var v=function(){i.el.classList.add(i.params.pagination.paginationDisabledClass);var e=i.pagination.el;e&&(e=eq(e)).forEach(function(e){return e.classList.add(i.params.pagination.paginationDisabledClass)}),h()};Object.assign(i.pagination,{enable:function(){i.el.classList.remove(i.params.pagination.paginationDisabledClass);var e=i.pagination.el;e&&(e=eq(e)).forEach(function(e){return e.classList.remove(i.params.pagination.paginationDisabledClass)}),f(),p(),u()},disable:v,render:p,update:u,init:f,destroy:h})},exports.Picture=tk,exports.Portal=function(e){var t=z(v.useState(!1),2),i=t[0],r=t[1],n=e||{},a=n.closeStyle,s=n.imgStyle,o=n.themeConfig||{},l=o.mSiteImg,d=o.pcImg,c="TH"===em&&d&&l,u=function(){!tL.get(tz,!1)&&c&&(r(!0),tL.set(tz,!0))};return v.useEffect(function(){u()},[]),i?g.createPortal(es("div",{className:"portal-pop-wrapper",children:[ea("div",{style:void 0===s?{height:460,width:702}:s,children:ea(tk,{src:y.isMobile()?l:d,compress:{height:460,width:702}})}),ea(tk,{style:void 0===a?{height:54,width:54}:a,onClick:function(){r(!1)},src:"https://img.lazcdn.com/us/media/58c41807ab9eecb2b4905b1f3d731262-120-120.png",compress:{height:60,width:60}})]}),document.documentElement):null},exports.Swiper=tM,exports.SwiperSlide=tP,exports._async_to_generator=eu,exports._object_spread=O,exports._object_spread_props=I,exports._sliced_to_array=z,exports._to_consumable_array=eT,exports._ts_generator=ep,exports.classNames=ed,exports.defaultParams=eS,exports.getSpm=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=z(ef(),2),r=i[0],n=i[1];return"".concat(r,".").concat(n,".").concat(e||0,".").concat(t||0)},exports.getTrackData=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"unknownModule",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"0",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=Object.assign({},t_,i);return O({logKey:"/lzdlp.homepage.".concat(e),utData:O({spm:{c:e,d:t}},r)},r)},exports.isInDrz=eE,exports.isInDrzShop=ex,exports.isTrue=function(e){return!0===e||"true"===e||1===e||"1"===e},exports.jsx=ea,exports.jsxs=es,exports.lzdEnv=ev,exports.regionID=em,exports.request=function(e){return tI.apply(this,arguments)};
;        (function(e, k, f, g, d) {            if (d in e && e[d] !== null && e[d] !== undefined && e[f] === !0) {                if (k(e).length === 2 && e[g](f) === !0 || k(e).length === 1 && e[g](f) === !1) {                    module.exports = e[d];                    module.exports[d] = module.exports;                }            }        })(module.exports, Object.keys, '__esModule', 'propertyIsEnumerable', 'default');    });
