define("@ali/lzdrwb-seometa/index-pc", [], 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-pc", [], function(require, exports, module) {"use strict";var e,a,t=require("@ali/lzdrwb-homepage-react/vendor.cjs.es5.production"),r=require("@ali/pnpm-react@18/index"),n=require("@ali/gcom-lzd-qs/index"),o=require("@ali/gcom-lang-i18n/index"),s=require("@ali/gcom-jsonp/index"),l=require("@ali/gcom-lzd-cookie/index"),i=require("@ali/pnpm-react-dom@18/client");function c(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}require("@ali/gcom-lzd-mtop/index"),require("@ali/pnpm-react-dom@18/index"),require("@ali/gcom-lzd-env/index"),require("@ali/gcom-lzd-resize/index"),require("@ali/pnpm-react@18/jsx-runtime");var d=c(o),p=c(s),u=function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"&",t=[];return(function e(a){for(var r in a)if(a.hasOwnProperty(r)){var n=a[r];"object"==typeof n&&null!==n?e(n):t.push("".concat(r,"=").concat(n))}return t})(e).join(a)};function m(e){var a,t,r,n,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"EXP",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};(null===(a=window)||void 0===a?void 0:a.goldlog)&&"function"==typeof(null===(r=window)||void 0===r?void 0:null===(t=r.goldlog)||void 0===t?void 0:t.record)?null===(n=window.goldlog)||void 0===n||n.record(e,o,encodeURIComponent(u(s))):(window.goldlog_queue||(window.goldlog_queue=[])).push({action:"goldlog.record",arguments:[e,o,u(s),"POST"]})}function h(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};m(e,"EXP",a)}function f(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};m(e,"CLK",a)}var g=function(e){var a,o,s,l,i,c=e.children,d=e.onAppear,p=e.onClick,u=e.onFirstAppear,m=e.onDisappear,g=e.className,_=void 0===g?"":g,v=e.style,x=e.href,j=e.urlParams,w=void 0===j?{}:j,b=e.trackInfo,y=e.clickTrackInfo,N=e.LinkComponent,z=void 0===N?"a":N;x&&(z="a");var k=function(e,a){if(null==e)return{};var t,r,n=function(e,a){if(null==e)return{};var t,r,n={},o=Object.keys(e);for(r=0;r<o.length;r++)t=o[r],a.indexOf(t)>=0||(n[t]=e[t]);return n}(e,a);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)t=o[r],!(a.indexOf(t)>=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(n[t]=e[t])}return n}(e,["children","onClick","onAppear","onFirstAppear","onDisappear","disabledExp","disabledClk","className","urlParams","trackInfo","clickTrackInfo","style","href","utData","logKey","LinkComponent"]),I=null===(i=e.utData)||void 0===i?void 0:i.spm,C=I.c,D=I.d,T=r.useRef(null),S=function(){var e=null==T?void 0:T.current;if(x&&e){var a=n.stringifyUrl(x,Object.assign({},w,{spm:t.getSpm(C,D)}));e.href=a}},P=function(){x&&f(e.logKey,Object.assign({},{clickTrackInfo:y,spm:t.getSpm(C,D)},k))},M=(a=function(){u&&u(),e.disabledExp||h(e.logKey,Object.assign({},{trackInfo:b,spm:t.getSpm(C,D)},k,w))},s=(o=t._sliced_to_array(r.useState(!1),2))[0],l=o[1],function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];if(!s)return l(!0),a.apply(void 0,t._to_consumable_array(r))});return r.useEffect(function(){var a=null==T?void 0:T.current,t=function(a){a.stopPropagation(),S(),e.disabledClk||P()};return a&&a.addEventListener("contextmenu",t,!1),function(){a&&a.removeEventListener("contextmenu",t)}},[e]),t.jsx(t.Appear,{onAppear:function(){d&&d(),M()},onDisappear:m,children:t.jsx(z,t._object_spread_props(t._object_spread({className:t.classNames("pc-custom-link",_),style:v,onClick:function(a){a.stopPropagation(),p&&p(a),S(),e.disabledClk||P()},ref:T,href:x,"data-spm-protocol":"i"},k),{children:c}))})};function _(e){var a=e.appDownloadPCData;if(!Object.keys(a||{}).length)return null;var n=a||{},o=n.downloadConfig,s=n.titleAndContent,l=[{icon:"https://img.lazcdn.com/g/tps/imgextra/i2/O1CN01n3PMa828kJZVuCbPp_!!6000000007970-2-tps-72-72.png",text:null==s?void 0:s.iconText1},{icon:"https://img.lazcdn.com/g/tps/imgextra/i3/O1CN01J03SMW1lebTE7xkaN_!!6000000004844-2-tps-72-72.png",text:null==s?void 0:s.iconText2}],i=function(e){f("/lzdhome.desktop.app_download_module",{type:e,venture:t.regionID})};return r.useEffect(function(){h("/lzdhome.desktop.app_download_module",{venture:t.regionID})},[]),t.jsxs("div",{className:"pc-download-module",children:[t.jsxs("div",{className:"flex flex-row flex-items-center",children:[t.jsx(t.Picture,{className:"logo",compress:{width:42,height:42},src:null==s?void 0:s.titleLogoUrl}),t.jsx("span",{className:"title two-line-clamp",children:null==s?void 0:s.titleText})]}),t.jsxs("div",{className:"module-content",children:[t.jsxs("div",{className:"score flex flex-row flex-items-center",children:[t.jsx(t.Picture,{className:"star",compress:{height:20,width:20},src:"https://img.lazcdn.com/g/tps/imgextra/i4/O1CN01cAMOjU1zqQJZU8EbT_!!6000000006765-2-tps-19-18.png"}),t.jsx("span",{className:"rated-txt",children:null==s?void 0:s.appScore})]}),t.jsx("div",{className:"enjoy-tips-wrap flex flex-justify-center",children:t.jsx("span",{className:"enjoy-tips two-line-clamp",children:null==s?void 0:s.subTitleText})}),t.jsx("div",{className:"free-voucher-icons",children:l.map(function(e){return t.jsxs("div",{className:"icon-item flex flex-row flex-items-center",children:[t.jsx(t.Picture,{className:"badge",compress:{height:72,width:72},src:e.icon}),t.jsx("span",{className:"txt two-line-clamp",children:e.text})]})})})]}),t.jsxs("div",{className:"module-qr",children:[t.jsxs("div",{className:"content flex flex-row flex-items-center",children:[t.jsx(t.Picture,{compress:{height:180,width:180},className:"qr-code-image",src:null==o?void 0:o.qrCodeForDownload}),t.jsxs("div",{className:"download-btn flex flex-col flex-justify-between",children:[t.jsx("a",{href:null==o?void 0:o.downloadUrlForIos,className:"btn btn-1",onClick:function(){return i("ios")}}),t.jsx("a",{href:null==o?void 0:o.downloadUrlForAndroid,className:"btn btn-2",onClick:function(){return i("android")}})]})]}),t.jsx("span",{className:"download-tips two-line-clamp",children:null==o?void 0:o.downloadGuidedText})]})]})}function v(e){var a=e.settings,r=e.appDownloadPCData,n=(a||{}).data,o=void 0===n?[]:n,s=function(e,a){var r=e.bannerBackgroundColor;return t.jsx(t.SwiperSlide,{children:t.jsx(g,t._object_spread_props(t._object_spread({},t.getTrackData("bannerSliderDesktop","d_".concat(a+1),{bannerTitle:e.bannerTitle})),{href:e.bannerUrl?e.bannerUrl:null,className:"pc-each-banner-container",style:{backgroundColor:r},children:t.jsx(t.Picture,{src:e.bannerImg,compress:{width:988,height:344}})}))})};return Array.isArray(o)&&!o.length?null:t.jsx(g,t._object_spread_props(t._object_spread({},t.getTrackData("bannerSliderDesktop","d_0")),{className:"pc-banner-slider-container",LinkComponent:"div",children:t.jsxs("div",{className:"banner-container-inner flex flex-row flex-justify-between",children:[t.jsx("div",{className:t.classNames("swiper-wrap",{daraz:t.isInDrz,"shop-mm":t.isInDrzShop}),children:t.jsxs(t.Swiper,{modules:[t.Autoplay,t.Navigation,t.Pagination],centeredSlides:!0,loop:!0,autoplay:{delay:5e3,disableOnInteraction:!1,pauseOnMouseEnter:!0},navigation:{enabled:!0,nextEl:".swiper-button-next.custom",prevEl:".swiper-button-prev.custom"},pagination:{clickable:!0},children:[t.jsx("div",{className:"swiper-button-prev custom"}),o.map(function(e,a){return s(e,a)}),t.jsx("div",{className:"swiper-button-next custom"})]})}),t.jsx(_,{appDownloadPCData:(null==r?void 0:r.settings)||{}})]})}))}function x(e){var a=(e||{}).data,r=void 0===a?[]:a;return Array.isArray(r)&&!r.length?null:t.jsx(g,t._object_spread_props(t._object_spread({},t.getTrackData("bottomBannerPC","d_0",{})),{className:"hp-mod-card card-bottom-banner",LinkComponent:"div",children:t.jsx("div",{className:"hp-mod-card-content",children:t.jsx("div",{className:"card-bottom-banner-ul flex flex-row",children:(r||[]).slice(0,3).map(function(e,a){return t.jsx(g,t._object_spread_props(t._object_spread({},t.getTrackData("bottomBannerPC","d_".concat(a+1),{name:null==e?void 0:e.bannerTitle})),{className:"card-bottom-banner-li align-left hp-mod-card-hover",href:e.bannerUrl,children:t.jsx(t.Picture,{className:"image",compress:{width:776,height:194},src:e.bannerImg,alt:e.bannerTitle})}))})})})}))}var j={label:{title:d.default.get("voyager#@#lzd.homepage-new.flashmodule.title","Flash Sale"),fontColorDesktop:"#424242",fontColor:"#424242"},shopMore:{shopMoreText:d.default.get("voyager#@#lzd.homepage-new.common-module.shopMore","Shop More"),shopMoreUrl:{MY:"https://pages.lazada.com.my/wow/gcp/route/lazada/my/upr_1000345_lazada/channel/my/upr-router/my?wh_pid=/lazada/channel/my/shopping-guide/lazflash&hybrid=1&data_prefetch=true&hide_h5_title=true&at_iframe=1&lzd_navbar_hidden=true&disable_pull_refresh=true&prefetch_replace=1&",SG:"https://pages.lazada.sg/wow/gcp/route/lazada/sg/upr_1000345_lazada/channel/sg/upr-router/sg?wh_pid=/lazada/channel/sg/shopping-guide/lazflash&hybrid=1&data_prefetch=true&hide_h5_title=true&at_iframe=1&lzd_navbar_hidden=true&disable_pull_refresh=true&prefetch_replace=1&",ID:"https://pages.lazada.co.id/wow/gcp/route/lazada/id/upr_1000345_lazada/channel/id/upr-router/id_upr?wh_pid=/lazada/channel/id/shopping-guide/lazflash&hybrid=1&data_prefetch=true&hide_h5_title=true&at_iframe=1&lzd_navbar_hidden=true&disable_pull_refresh=true&prefetch_replace=1&",TH:"https://pages.lazada.co.th/wow/gcp/route/lazada/th/upr_1000345_lazada/channel/th/upr-router/th?wh_pid=/lazada/channel/th/shopping-guide/lazflash&hybrid=1&data_prefetch=true&hide_h5_title=true&at_iframe=1&lzd_navbar_hidden=true&disable_pull_refresh=true&prefetch_replace=1&",VN:"https://pages.lazada.vn/wow/gcp/route/lazada/vn/upr_1000345_lazada/channel/vn/upr-router/vn?wh_pid=/lazada/channel/vn/shopping-guide/lazflash&hybrid=1&data_prefetch=true&hide_h5_title=true&at_iframe=1&lzd_navbar_hidden=true&disable_pull_refresh=true&prefetch_replace=1&",PH:"https://pages.lazada.com.ph/wow/gcp/route/lazada/ph/upr_1000345_lazada/channel/ph/upr-router/render?wh_pid=/lazada/channel/ph/shopping-guide/lazflash&hybrid=1&data_prefetch=true&hide_h5_title=true&at_iframe=1&lzd_navbar_hidden=true&disable_pull_refresh=true&prefetch_replace=1&",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/flashsale/7cdarZ6wBa&hide_h5_title=true&lzd_navbar_hidden=true&disable_pull_refresh=true&",BD:"https://pages.daraz.com.bd/wow/gcp/route/daraz/mm/upr/router?hybrid=1&data_prefetch=true&prefetch_replace=1&at_iframe=1&wh_pid=/lazada/channel/bd/flashsale/8r7TbxhpSH&hide_h5_title=true&lzd_navbar_hidden=true&disable_pull_refresh=true&",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/flashsale/KWaXTb7kCy&hide_h5_title=true&lzd_navbar_hidden=true&disable_pull_refresh=true&",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/flashsale/eBQX2YfTXs&hide_h5_title=true&lzd_navbar_hidden=true&disable_pull_refresh=true&",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/flashsale/txhaEAMMDk&hide_h5_title=true&lzd_navbar_hidden=true&disable_pull_refresh=true&"}[t.regionID],fontColorDesktop:"#f57224",fontColor:"#f57224"},countdownBanner:{backgroundColorDesktop:"#fff",backgroundColor:"#f57224",backgroundImgDesktop:"",backgroundImg:"",timeTabTextColorDesktop:"#424242",timeStatusTextColorDesktop:"#f57224",countDownBgColorDesktop:"#d3232a",countDownTextColorDesktop:"#fff"}},w={label:{title:d.default.get("voyager#@#lzd.homepage-new.category-module.title","Categories")},shopMore:{shopMoreText:d.default.get("voyager#@#lzd.homepage-new.common-module.shopMore","Shop More"),shopMoreUrl:"//m.lazada.search/list?key=13123131"}},b={label:{title:d.default.get("voyager#@#lzd.homepage-new.lazmall-module.title","LazMall"),fontColor:"#424242",fontColorDesktop:"#424242"},shopMore:{shopMoreText:d.default.get("voyager#@#lzd.homepage-new.common-module.shopMore","Shop More"),shopMoreUrl:{MY:"https://pages.lazada.com.my/wow/i/my/LandingPage/lazmall?wh_weex=true&wx_navbar_transparent=true&data_prefetch=true&",SG:"https://pages.lazada.sg/wow/i/sg/LandingPage/lazmall?wh_weex=true&wx_navbar_transparent=true&data_prefetch=true&",ID:"https://pages.lazada.co.id/wow/i/id/LandingPage/lazmall?wh_weex=true&wx_navbar_transparent=true&data_prefetch=true&",TH:"https://pages.lazada.co.th/wow/i/th/LandingPage/lazmall-home?wh_weex=true&wx_navbar_transparent=true&data_prefetch=true&",VN:"https://pages.lazada.vn/wow/i/vn/LandingPage/lazmall?wh_weex=true&wx_navbar_transparent=true&data_prefetch=true&",PH:""}[t.regionID],fontColor:"#1a9cb7",fontColorDesktop:"#1a9cb7"},background:{backgroundColor:"red"}};function y(e){var a=e.datas,r=void 0===a?[]:a,n=(w||{}).label;return Array.isArray(r)&&!r.length?null:t.jsxs(g,t._object_spread_props(t._object_spread({},t.getTrackData("categoriesPC","d_0",{})),{className:"hp-mod-card card-categories-comp-container",id:"js_categories",LinkComponent:"div",children:[t.jsx("div",{className:"hp-mod-card-header",children:t.jsx("p",{className:"hp-mod-card-title",children:(null==n?void 0:n.title)||"Categories"})}),t.jsx("div",{className:"card-categories-ul flex flex-row flex-wrap",children:(r||[]).slice(0,16).map(function(e,a){return t.jsxs(g,t._object_spread_props(t._object_spread({className:"card-categories-li hp-mod-card-hover",href:e.categoryUrl},t.getTrackData("categoriesPC","d_".concat(a+1,"_").concat(null==e?void 0:e.categoryId),{id:null==e?void 0:e.categoryId,name:null==e?void 0:e.categoryName})),{children:[t.jsx(t.Picture,{compress:{width:80,height:80},className:"card-categories-image img-w100p",src:e.categoryImg}),t.jsx("div",{className:"card-categories-name text text-center two-line-clamp",children:e.categoryName})]}),e.categoryId)})})]}))}function N(e){var a=(e.settings||{}).data,r=void 0===a?{}:a;return(null==r?void 0:r.bannerUrl)?t.jsx(g,t._object_spread_props(t._object_spread({className:"hp-mod-card card-countdown",href:null==r?void 0:r.bannerUrl},t.getTrackData("countdownPC","d_0",{})),{children:t.jsx(t.Picture,{className:"countdown-module-img",compress:{width:1188,height:140},src:r.bannerImgDesktop})})):null}var z=function(){},k=function(e){return e<=0?"00":e<10?"0".concat(e):e},I=function(e,a){var t=new Date(e),r=new Date(a),n=new Date(a).getHours(),o=new Date(a).getMinutes(),s=t.getDate()!==r.getDate()?d.default.get("voyager#@#lzd.homepage-new.flashmodule.tomorrow","Tomorrow"):d.default.get("voyager#@#lzd.homepage-new.flashmodule.today","Today");return"".concat(k(n),":").concat(k(o)," ").concat(s)},C=function(e,a,t){var r=t<=a?a-t:e-t,n=t>a;if(r<=0)return[!0,"00","00","00",n];var o=r%3456e5,s=k(Math.max(Math.floor(o/36e5),0)),l=o%36e5;return[!1,s,k(Math.max(Math.floor(l/6e4),0)),k(Math.max(Math.floor(l%6e4/1e3),0)),n]},D=function(e){var a="",r=t.regionID,n=e;if(/\//g.test(e)){if(!a)switch(r){case"VN":case"ID":case"TH":a="+07:00";break;default:a="+08:00"}n="".concat(e.replace(/\//g,"-").replace(" ","T"),".000").concat(a)}return new Date(n).getTime()},T=function(e){return e?"string"==typeof e?D(e):e:null};function S(e){var a=e.countDownBgColorDesktop,n=e.countDownTextColorDesktop,o=e.countDown,s=void 0===o?{endTime:0,startTime:0,serverTime:0}:o,l=e.onCallRunning,i=s.startTime,c=s.endTime,d=s.serverTime,u=t._sliced_to_array(r.useState(0),2),m=u[0],h=u[1],f=t._sliced_to_array(r.useState(d),2),g=f[0],_=f[1],v=function(){new Promise(function(e){var a=window.__bl||null,t=new Date().getTime();return a&&(a.api=a.api||z),p.default("https://time-ak.lazcdn.com/t/gettime").then(function(e){return e.json()}).then(function(r){var n=new Date().getTime(),o=r?r.time:0;o*=1e3,document.querySelector(".J_data")&&(o=new Date("2018-07-10T19:00:00.000+08:00").getTime()),a&&a.api("akamai time api",!0,n-t,"success"),e(parseInt(o,10))}).catch(function(e){var r=new Date().getTime();a&&a.api("akamai time api",!1,r-t,JSON.stringify(e))})}).then(function(e){e&&(_(e),h(0))})};r.useEffect(function(){d||v()},[d]),r.useEffect(function(){var e=m+g>i;l&&l(e)},[m,i,g]);var x=t._sliced_to_array(r.useMemo(function(){return C(c,i,m+g)},[i,c]),4),j=x[0],w=x[1],b=x[2],y=x[3],N=t._sliced_to_array(r.useState(w),2),k=N[0],I=N[1],D=t._sliced_to_array(r.useState(b),2),T=D[0],S=D[1],P=t._sliced_to_array(r.useState(y),2),M=P[0],E=P[1],L=t._sliced_to_array(r.useState(j),2),A=L[0],U=L[1];return r.useEffect(function(){var e=setInterval(function(){var e=t._sliced_to_array(C(c,i,m+g),4),a=e[0],r=e[1],n=e[2],o=e[3];U(a),I(r),S(n),E(o);var s=m;h(s+=1e3)},1e3);return 18e4===m&&(v(),clearInterval(e)),A&&(clearInterval(e),h(0)),function(){clearInterval(e)}},[m,g]),t.jsxs(r.Fragment,{children:[t.jsx("div",{className:"fs-timer-count",style:{backgroundColor:a,color:n},children:k}),t.jsxs("div",{className:"fs-timer-colon",style:{color:a},children:[" ",":"," "]}),t.jsx("div",{className:"fs-timer-count",style:{backgroundColor:a,color:n},children:T}),t.jsxs("div",{className:"fs-timer-colon",style:{color:a},children:[" ",":"," "]}),t.jsx("div",{className:"fs-timer-count",style:{backgroundColor:a,color:n},children:M})]})}function P(e){var a=e.isStart,r=void 0===a||a,n=e.currentTime,o=e.startTime,s=e.countdownBanner,l=e.shopMore,i=void 0===l?{}:l,c=e.items,p=(void 0===s?{}:s)||{},u=p.backgroundImgDesktop,m=p.backgroundColorDesktop,h=p.timeStatusTextColorDesktop,f=p.timeTabTextColorDesktop,_=i.shopMoreUrl,v=i.fontColor,x=i.fontColorDesktop,j=r?d.default.get("voyager#@#lzd.homepage-new.flashmodule.end","Ending in"):d.default.get("voyager#@#lzd.homepage-new.flashmodule.start","Start at"),w=r?d.default.get("voyager#@#lzd.homepage-new.flashmodule.onsalenow","On Sale Now"):I(n,o);return t.jsxs("div",{className:"card-fs-content-header flex flex-justify-between",style:{backgroundImage:"url(".concat(u,")"),backgroundColor:m},children:[t.jsxs("div",{className:"flex flex-items-center",children:[t.jsx("div",{className:"card-fs-content-header-left-status flex flex-justify-center",children:t.jsx("div",{className:"fs-status-text",style:{color:h},children:w})}),t.isInDrz?null:t.jsxs("div",{className:"card-fs-content-header-left-timer flex flex-items-center",children:[t.jsx("div",{className:"fs-timer-text",style:{color:f},children:j}),t.jsx(S,t._object_spread({},e))]})]}),_&&t.jsx(g,t._object_spread_props(t._object_spread({className:"shopMoreBtn text text-center",style:{borderColor:x},href:"".concat(_,"skuIds=").concat(((void 0===c?[]:c)||[]).map(function(e){return e.itemId}).join(","))},t.getTrackData("FlashSale","d_shopMore",{id:0,name:d.default.get("voyager#@#lzd.homepage-new.flashmodule.shopAllPro","SHOP ALL PRODUCTS")})),{children:t.jsx("span",{style:{fontSize:"14px",color:v},children:d.default.get("voyager#@#lzd.homepage-new.flashmodule.shopAllPro","SHOP ALL PRODUCTS").toUpperCase()})}))]})}function M(e,a,n){return e&&a&&void 0!==n?1===parseInt(n)?t.jsxs(r.Fragment,{children:[t.jsx("span",{className:"currency",children:e}),t.jsx("span",{className:"price",children:a})]}):t.jsxs(r.Fragment,{children:[t.jsx("span",{className:"price",children:a}),t.jsxs("span",{className:"currency",children:[" ",e]})]}):""}function E(e){var a=e.item,r=(e.firstIsRunning,d.default.get("voyager#@#lzd.homepage-new.flashmodule.sold","sold"),d.default.get("voyager#@#lzd.homepage-new.flashmodule.sold-out","sold out").toUpperCase());return t.jsxs(g,t._object_spread_props(t._object_spread({href:a.itemUrl,className:"card-fs-content-body-unit hp-mod-card-hover"},t.getTrackData("FlashSale","d_".concat(a.itemId),{id:a.itemId,name:a.itemTitle})),{children:[0==+(null==a?void 0:a.itemHavestock)&&t.jsx("div",{className:"fs-card-img-layer text text-center",children:r}),t.jsx(t.Picture,{compress:{width:188,height:188},className:"fs-card-img img-w100p",src:a.itemImg}),t.jsxs("div",{className:"fs-card-text",children:[t.jsx("p",{className:"fs-card-title two-line-clamp",children:a.itemTitle}),t.jsx("div",{className:"fs-card-price flex flex-row",children:((null==a?void 0:a.itemDiscountPrice)||(null==a?void 0:a.currency))&&M(a.currency,a.itemDiscountPrice,a.isCurrencyLeft)}),t.jsxs("div",{className:"fs-card-origin-price flex flex-row",children:[t.jsx("div",{className:"fs-origin-price flex flex-row",children:((null==a?void 0:a.itemPrice)||(null==a?void 0:a.currency)||(null==a?void 0:a.itemDiscount))&&M(a.currency,a.itemPrice,a.isCurrencyLeft)}),t.jsx("span",{className:"itemDiscount",children:a.itemPrice&&a.currency&&a.itemDiscount?"-".concat(a.itemDiscount):""})]}),t.jsx("div",{className:"fs-card-sold flex flex-row",children:(a.itemSoldCnt,"")})]})]}),a.itemId)}function L(e){var a=e.datas,n=e.serverTime,o=j.label,s=((void 0===a?[]:a)||[]).map(function(e){var a=((null==e?void 0:e.items)||[]).map(function(a){return Object.assign({},a,{itemSoldCnt:e.isShowSoldCnt?a.itemSoldCnt:""})}),t=T(e.__startDate),r=T(e.__expiredDate);return Object.assign({},e,{items:a,startTime:t,endTime:r})}),l=(null==s?void 0:s[0])||{},i=l.items,c=void 0===i?[]:i,d=l.startTime,p=l.endTime,u=t._sliced_to_array(r.useState(n>d),2),m=u[0],h=u[1],f=t._sliced_to_array(r.useState({endTime:p,startTime:d,serverTime:n}),1)[0];return Array.isArray(c)&&!c.length?null:t.jsxs(g,t._object_spread_props(t._object_spread({className:"hp-mod-card flash-sale-comp-container",id:"js_flashSale",LinkComponent:"div"},t.getTrackData("FlashSale","d_0",{})),{children:[t.jsx("div",{className:"hp-mod-card-header",children:t.jsx("p",{className:"hp-mod-card-title one-line-clamp",style:{color:o.fontColor},children:o.title})}),t.jsxs("div",{className:"cardFsContent",children:[t.jsx(P,{isStart:m,countDown:f,shopMore:j.shopMore,currentTime:n,startTime:f.startTime,countdownBanner:j.countdownBanner,items:c,onCallRunning:function(e){h(e)}}),t.jsx("div",{className:"flex",children:c.slice(0,6).map(function(e){return t.jsx(E,{item:e,firstIsRunning:m},null==e?void 0:e.itemId)})})]})]}))}var A=t.lzdEnv.regionID,U=t.lzdEnv.language,O=new URLSearchParams(location.href),F=l.getCookie("cna"),B={api:"mtop.lazada.ald.homepage.common.service",v:"1.0",ecode:0,dataType:"json",isIcmsMtop:!0},q=(e=t._async_to_generator(function(e){var a,r,n,o;return t._ts_generator(this,function(s){switch(s.label){case 0:a=e.appId,s.label=1;case 1:return s.trys.push([1,3,,4]),o=t._object_spread_props(t._object_spread({},t.defaultParams),{appId:a,extend:O.get("webPreviewId")?JSON.stringify({webPreviewId:O.get("webPreviewId")}):void 0}),[4,t.request(t._object_spread_props(t._object_spread({},B),{data:o}))];case 2:return[2,(null===(n=t._sliced_to_array.apply(void 0,[s.sent(),1])[0])||void 0===n?void 0:null===(r=n.data)||void 0===r?void 0:r[0])||{}];case 3:return console.log(s.sent()),[3,4];case 4:return[2]}})}),function(a){return e.apply(this,arguments)}),R=(a=t._async_to_generator(function(e){var a,r,n,o,s,l,i;return t._ts_generator(this,function(c){switch(c.label){case 0:return l={appId:s=t.isInDrz?"41701":"32104",params:JSON.stringify({appId:s,isbackup:!0,newTileEnable:!0,language:U,region_id:A,platform:"pc",scene:"homepage",appVersion:"7.48.0",anonymous_id:F,pageSize:50,userId:0,pageNo:e})},i={api:"mtop.relationrecommend.LazadaRecommend.recommend",v:"1.0",ecode:0,type:"GET"},[4,t.request(t._object_spread_props(t._object_spread({},i),{data:l}))];case 1:return[2,(null===(o=t._sliced_to_array.apply(void 0,[c.sent(),1])[0])||void 0===o?void 0:null===(n=o.data)||void 0===n?void 0:null===(r=n.result[0])||void 0===r?void 0:null===(a=r.resultValue)||void 0===a?void 0:a[s])||{}]}})}),function(e){return a.apply(this,arguments)});function J(e){var a=e.itemRatingScore,r=e.itemReviews;return a?t.jsxs("div",{className:"flex flex-row flex-items-end",children:[t.jsxs("div",{className:"card-jfy-ratings",children:[t.jsxs("div",{className:"card-jfy-rating-layer top-layer checked",style:{width:a?"".concat(11*a/55*100,"%"):"0%"},children:[t.jsx("span",{className:"rating lazada-ic-Star0 lazada-icon"}),t.jsx("span",{className:"rating lazada-ic-Star0 lazada-icon"}),t.jsx("span",{className:"rating lazada-ic-Star0 lazada-icon"}),t.jsx("span",{className:"rating lazada-ic-Star0 lazada-icon"}),t.jsx("span",{className:"rating lazada-ic-Star0 lazada-icon"})]}),t.jsxs("div",{className:"card-jfy-rating-layer",children:[t.jsx("span",{className:"rating lazada-ic-Star0 lazada-icon"}),t.jsx("span",{className:"rating lazada-ic-Star0 lazada-icon"}),t.jsx("span",{className:"rating lazada-ic-Star0 lazada-icon"}),t.jsx("span",{className:"rating lazada-ic-Star0 lazada-icon"}),t.jsx("span",{className:"rating lazada-ic-Star0 lazada-icon"})]})]}),void 0!==r&&""!==r?t.jsxs("div",{className:"card-jfy-ratings-comment",children:["(",r,")"]}):""]}):null}function H(e){return e.itemRatingScore?t.jsx(J,t._object_spread({},e)):t.jsx("div",{className:"footer-placeholder",style:{height:"21.8px"}})}function Y(e){var a=e.itemDiscountPrice||"",r=M(e.currency,a,e.isCurrencyLeft);return t.jsx("div",{className:"hp-mod-price flex",children:t.jsxs("div",{className:"hp-mod-price-first-line",children:[r,e.itemDiscount?t.jsxs("span",{className:"hp-mod-discount align-left",children:[" ","-",e.itemDiscount]}):null]})})}function V(e){var a,r=e.tagIcons,n=e.itemTitle;return t.jsxs("div",{className:"card-jfy-title two-line-clamp",children:[null===(a=(void 0===r?[]:r)||[])||void 0===a?void 0:a.map(function(e){return t.jsx(t.Picture,{className:"card-jfy-campaign-icon",compress:{config:{size:"x32",alpha:!0}},src:e.tagIconUrl},e.tagIconUrl)}),n]})}function K(e){var a=e.item;return t.jsxs(g,t._object_spread_props(t._object_spread({href:a.itemUrl,LinkComponent:"a",className:"jfy-item hp-mod-card-hover"},t.getTrackData("just4u","d_".concat(a.itemId),{id:a.itemId,name:a.itemTitle})),{children:[t.jsx(t.Picture,{className:"jfy-item-image img-w100p",compress:{width:189,height:189},src:a.itemImg}),t.jsxs("div",{className:"card-jfy-item-desc",children:[t.jsx(V,t._object_spread({},a)),t.jsx(Y,t._object_spread({},a)),t.jsx(H,t._object_spread({},a))]})]}),a.itemId)}function W(e){var a=e.loading;return t.jsx("div",{className:t.classNames("card-jfy-loading flex flex-center",{show:void 0!==a&&a}),children:t.jsx("div",{className:t.classNames(t.isInDrz?t.isInDrzShop?"shop-loading-container":"daraz-loading-container":"lazada-loading-container")})})}function X(){var e=Array(24).fill(1);return t.jsx("div",{className:"card-jfy-wrapper flex flex-row flex-wrap card-jfy-ul-placeholder",children:e.map(function(e,a){return t.jsx("div",{className:"card-jfy-item-wrapper hp-mod-card-hover inline",children:t.jsxs("div",{className:"card-jfy-item",children:[t.jsx("div",{className:t.classNames("img-wrap card-jfy-image card-jfy-image-background",{"img-wrap-drz":t.isInDrz,"img-wrap-shop":t.isInDrzShop})}),t.jsxs("div",{className:"card-jfy-item-desc",children:[t.jsx("div",{className:"card-jfy-segment no-data",children:t.jsx("div",{className:"card-jfy-segment-icon no-data",children:t.jsx("br",{})})}),t.jsx("div",{className:"card-jfy-title no-data",children:t.jsx("br",{})}),t.jsxs("div",{className:"hp-mod-price flex no-data",children:[t.jsx("div",{className:"hp-mod-price-first-line no-data",children:t.jsx("br",{})}),t.jsx("div",{className:"hp-mod-price-second-line no-data",children:t.jsx("br",{})})]}),t.jsx("div",{className:"card-jfy-service-icons no-data",children:t.jsx("br",{})}),t.jsx("div",{className:"card-jfy-ratings no-data",children:t.jsx("br",{})})]})]})},a)})})}function G(){var e=t._sliced_to_array(r.useState([]),2),a=e[0],n=e[1],o=t._sliced_to_array(r.useState(12),2),s=o[0],l=o[1],i=t._sliced_to_array(r.useState(!0),2),c=i[0],p=i[1],u=t._sliced_to_array(r.useState(0),2),m=u[0],h=u[1];r.useEffect(function(){R(m).then(function(e){var r;if(Array.isArray(null==e?void 0:e.data)&&(null==e?void 0:null===(r=e.data)||void 0===r?void 0:r.length)){var o,s=e.data.filter(function(e){return"skuV2"===e.dataType});n(t._to_consumable_array(a).concat(t._to_consumable_array(s))),l(null==e?void 0:null===(o=e.paging)||void 0===o?void 0:o.totalPage)}p(!1)}).catch(function(){p(!1)})},[m]);var f=r.useMemo(function(){return a.length<200&&m<s-1},[a,m,s]),_=Array.isArray(a)&&!!a.length;return t.jsxs(g,t._object_spread_props(t._object_spread({className:"hp-mod-card jfy-comp-container",LinkComponent:"div",id:"js_jfy"},t.getTrackData("just4u","d_0",{})),{children:[t.jsx("div",{className:"hp-mod-card-header",children:t.jsx("span",{className:"hp-mod-card-title",children:d.default.get("voyager#@#lzd.homepage-new.jfymodule.jfy-title","Just For You")})}),t.jsxs("div",{className:"hp-mod-card-content",children:[t.jsx("div",{className:"card-jfy-wrapper flex flex-row flex-wrap",children:(a||[]).map(function(e){return t.jsx(K,{item:e},e.itemId)})}),!_&&t.jsx(X,{}),f&&!c?t.jsx("div",{className:"jfy-card-load-more",children:t.jsx("div",{className:"load-more-button",onClick:function(){h(m+1),p(!0)},children:d.default.get("voyager#@#lzd.homepage-new.jfymodule.load-more","Load More")})}):null,t.jsx(W,{loading:c}),!f&&!c&&t.jsxs("div",{className:"card-jfy-bottom",children:[t.jsx("i",{className:"strike-line",children:" "}),t.jsx("span",{className:"text",children:d.default.get("voyager#@#lzd.homepage-new.jfymodule.jfy-list-end","You have reached the end. \\n Do a search to keep exploring!").replace("\\n","\n")})]})]})]}))}function Z(e){var a=e.data,n=e.onClick,o=e.activeItem,s=e.visiable,l=t._sliced_to_array(r.useState(!0),2),i=l[0],c=l[1],d=function(e){n&&n(e),f("/lzdhome.desktop.navigation_bar",{module:e.moduleName,venture:t.regionID})};return r.useEffect(function(){s&&i&&(h("/lzdhome.desktop.navigation_bar",{venture:t.regionID}),c(!1))},[s,i]),t.jsx(r.Fragment,{children:(a||[]).map(function(e){return t.jsx("div",{onClick:function(){return d(e)},className:"hp-pc-lift-nav-box",children:t.jsxs("div",{className:"hp-pc-lift-nav-text",children:[t.jsx("i",{className:t.classNames("J_LazadaIcon","lazada-icon",e.iconFont,{active:(null==e?void 0:e.dataId)===o}),"icon-id":e.dataId}),t.jsx("div",{className:"hovered-text",children:e.title})]})},e.dataId)})})}var Q=function(e){return Math.pow(e,3)},$=function(){var e=document.documentElement||document.body,a=Date.now(),t=e.scrollTop,r=window.requestAnimationFrame||function(e){return setTimeout(e,16)},n=function(){var o=(Date.now()-a)/500;o<1?(e.scrollTop=t*(1-(o<.5?Q(2*o)/2:1-Q((1-o)*2)/2)),r(n)):e.scrollTop=0};r(n)},ee={redMart:{dataId:"hp-redmart",matchId:"js_redMart",title:"RedMart",iconFont:"lazada-ic-RedMart"},flashSalePC:{dataId:"hp-flash-sale",matchId:"js_flashSale",iconFont:"lazada-ic-Flashsale &#xe708;",title:d.default.get("voyager#@#lzd.homepage-new.flashmodule.title","Flash Sale")},officialStorePC:{dataId:"hp-official-stores",matchId:"js_officialStores",iconFont:"lazada-ic-channel-LazMall &#xe601;",title:d.default.get("voyager#@#lzd.homepage-new.lazmall-module.title","LazMall")},categoriesPC:{dataId:"hp-categories",matchId:"js_categories",iconFont:"lazada-ic-Categories &#xe6fd;",title:d.default.get("voyager#@#lzd.homepage-new.category-module.title","Categories")},justForYou:{dataId:"hp-just-for-you",matchId:"js_jfy",iconFont:"lazada-ic-JustforYou &#xe61a;",title:d.default.get("voyager#@#lzd.homepage-new.jfymodule.jfy-title","Just For You"),moduleName:"justForYou"}};function ea(e){var a=e.layout,n=void 0===a?[]:a,o=r.useRef(new Date().valueOf()-30),s=t._sliced_to_array(r.useState([]),2),l=s[0],i=s[1],c=t._sliced_to_array(r.useState(0),2),d=c[0],p=c[1],u=t._sliced_to_array(r.useState(0),2),m=u[0],h=u[1],f=t._sliced_to_array(r.useState(""),2),g=f[0],_=f[1],v=t._sliced_to_array(r.useState(!1),2),x=v[0],j=v[1],w=function(){var e=[];return(l||[]).forEach(function(a){var t,r=(null===(t=document.getElementById("".concat(a.matchId)))||void 0===t?void 0:t.offsetTop)||0;e.push({top:r,matchId:a.matchId,dataId:a.dataId})}),e.sort(function(e,a){return e.top-a.top})},b=function(){var e,a,t,r,n,s,l,i,c,d,u=new Date().valueOf();if(!(u-o.current<=30)){o.current=u;var m=(document.documentElement||document.body).scrollTop;p(m),h((null===(e=document.getElementById("js_officialStores"))||void 0===e?void 0:e.offsetTop)||0);for(var f=w(),g=f.length,v=0;v<f.length;v++)m+125>=(null===(a=f[v])||void 0===a?void 0:a.top)&&m+125<(null===(t=f[v+1])||void 0===t?void 0:t.top)?(_(null===(n=f[v])||void 0===n?void 0:n.dataId),window.location.hash!=="#".concat(null===(s=f[v])||void 0===s?void 0:s.dataId)&&(window.location.hash="#".concat(null===(l=f[v])||void 0===l?void 0:l.dataId))):m+125>=(null===(r=f[g-1])||void 0===r?void 0:r.top)&&(_(null===(i=f[g-1])||void 0===i?void 0:i.dataId),window.location.hash!=="#".concat(null===(c=f[g-1])||void 0===c?void 0:c.dataId)&&(window.location.hash="#".concat(null===(d=f[g-1])||void 0===d?void 0:d.dataId)));m>=120?j(!0):(window.location.hash="?",_(""),j(!1))}};return r.useEffect(function(){return window.removeEventListener("scroll",b),window.addEventListener("scroll",b),b(),function(){window.removeEventListener("scroll",b)}},[l]),r.useEffect(function(){var e=[];(n||[]).forEach(function(a){var r,n=a.moduleId,o=a.fields,s=null==o?void 0:null===(r=o.settings)||void 0===r?void 0:r.label;Object.entries(ee).forEach(function(a){n===a[0]&&e.push(t._object_spread_props(t._object_spread({},a[1]),{title:(null==s?void 0:s.title)||a[1].title,moduleName:a[0]}))})}),i(e.filter(function(e){return"justForYou"!==e.moduleName}).concat(ee.justForYou))},[n]),t.jsxs("div",{className:t.classNames("hp-pc-lift-nav-container",{show:x}),children:[t.jsx("div",{className:t.classNames("scroll-to-top-box",{show:d>m&&x}),children:t.jsx("div",{className:"hp-pc-lift-nav-text",onClick:function(){$()},children:t.jsx("i",{className:"J_LazadaIcon lazada-icon lazada-ic-Arrow-Up",children:" "})})}),t.jsx(Z,{onClick:function(e){var a,t=(null===(a=document.getElementById("".concat(null==e?void 0:e.matchId)))||void 0===a?void 0:a.offsetTop)||125;(document.documentElement||document.body).scrollTo({top:+t+20-125,behavior:"smooth"}),window.location.hash="#".concat(null==e?void 0:e.dataId),_(null==e?void 0:e.dataId)},activeItem:g,visiable:x,data:l})]})}function et(e){var a=e.shopUrl,r=e.itemId,n=e.shopImg,o=e.brandLogo,s=e.shopName,l=e.shopSlogan,i=e.shopId;return t.jsxs(g,t._object_spread_props(t._object_spread({href:a,className:"card-official-stores-box hp-mod-card-hover"},t.getTrackData("officialStorePC","d_".concat(r),{itemId:r,id:i,name:s})),{children:[t.jsx(t.Picture,{compress:{width:188,height:188},src:n,className:"card-official-stores-brand-img img-w100p",alt:s}),t.jsx(t.Picture,{compress:{height:44,width:44},src:o,className:"card-official-stores-shop-img",alt:s}),t.jsxs("p",{className:"card-official-stores-h1 text text-center one-line-clamp",children:[" ",s||""," "]}),t.jsxs("p",{className:"card-official-stores-p text text-center one-line-clamp",children:[" ",l||""," "]})]}))}function er(e){var a,r,n,o=e.datas,s=void 0===o?[]:o,l=b||{},i=l.label,c=l.shopMore;return Array.isArray(s)&&!s.length?null:t.jsxs(g,t._object_spread_props(t._object_spread({className:"hp-mod-card card-official-stores-comp-container",id:"js_officialStores",LinkComponent:"div"},t.getTrackData("officialStorePC","d_0",{})),{children:[t.jsxs("div",{className:"hp-mod-card-header flex flex-justify-between",children:[t.jsx("p",{className:"hp-mod-card-title",style:{color:null==i?void 0:i.fontColorDesktop},children:(null==i?void 0:i.title)||"LazMall"}),(null==c?void 0:c.shopMoreUrl)&&t.jsxs(g,t._object_spread_props(t._object_spread({href:(a=(c.shopMoreUrl||"").includes("?")?"".concat(c.shopMoreUrl,"&"):"".concat(c.shopMoreUrl,"?"),r=[],(s||[]).forEach(function(e){e.algArgs&&r.push(e.algArgs)}),n=r.join(","),a+"algArgs=".concat(n)),className:"hp-mod-card-shop-all flex flex-row",style:{color:c.fontColorDesktop}},t.getTrackData("officialStorePC","d_shopMore",{})),{children:[t.jsx("span",{className:"text",style:{color:c.fontColorDesktop},children:c.shopMoreText}),t.jsx("i",{className:"lazada-icon lazada-ic-IOS-Next-copy"})]}))]}),t.jsx("div",{className:"card-official-stores-wrapper flex flex-row",children:(s||[]).slice(0,6).map(function(e){return t.jsx(et,t._object_spread({},e),e.itemId)})})]}))}function en(e){var a=e.channelUrl,n=e.channelColor,o=e.channelImg,s=e.channelLogoImg,l=e.channelName,i=e.channelDesc1,c=e.index,d=t._sliced_to_array(r.useState(),2),p=d[0],u=d[1],m=function(e,a){e.stopPropagation(),u({color:a})};return t.jsx(g,t._object_spread_props(t._object_spread({},t.getTrackData("pcChannels","d_".concat(c),{channelName:l})),{className:"channel-item-v2 flex flex-col",href:a,children:t.jsxs("div",{onMouseLeave:function(e){e.stopPropagation(),u({})},onMouseEnter:function(e){return m(e,n)},className:"channel-content-v2 flex flex-justify-between",children:[t.jsxs("div",{className:"channel-content-info-v2",children:[s?t.jsx(t.Picture,{className:"channel-icon-v2",src:s,compress:{width:138,height:24}}):t.jsx("p",{style:p,className:"channel-name-v2",children:l}),i&&t.jsx("p",{style:p,className:"channel-desc-v2 three-line-clamp",children:i})]}),o&&t.jsx(t.Picture,{className:"channel-image-v2",src:o,compress:{width:138,height:130}})]})}))}function eo(e){var a=((null==e?void 0:e.settings)||{}).data,r=void 0===a?[]:a;return Array.isArray(r)&&!r.length?null:t.jsx(g,t._object_spread_props(t._object_spread({className:"hp-mod-card pc-channel-component",LinkComponent:"div"},t.getTrackData("pcChannels","d_0")),{children:t.jsx("div",{className:"hp-mod-card-content-v2 flex flex-row flex-items-center flex-justify-between",children:(r||[]).map(function(e,a){return t.jsx(en,t._object_spread({index:a+1},e),e.channelUrl)})})}))}function es(e){var a=(null==e?void 0:e.data)||{},r=a.bannerBackgroundColor,n=a.bannerUrl,o=a.bannerImg,s=a.bannerTitle,l=e.close;return t.jsx(g,t._object_spread_props(t._object_spread({className:"hp-mod-card card-platform-campaign-banner-container",style:{background:r},href:n},t.getTrackData("platformCampaignBanner","d_0",{})),{children:o&&t.jsxs("div",{className:"hp-mod-card-content card-platform-campaign-banner-content",children:[t.jsx("div",{className:"card-platform-campaign-banner-link",children:t.jsx(t.Picture,{className:"image",src:o,alt:s,compress:{width:1188,height:80}})}),t.jsx(g,t._object_spread_props(t._object_spread({className:"card-platform-campaign-banner-close",onClick:function(e){e.preventDefault(),e.stopPropagation(),l&&l()},LinkComponent:"div"},t.getTrackData("platformCampaignBanner","d_close",{})),{children:t.jsx("i",{className:"lazada-icon lazada-ic-Close1"})}))]})}))}function el(e){var a,n=r.useRef(),o=function(){if(null==n?void 0:n.current)try{document.body.removeChild(n.current)}catch(e){}},s=function(){o()},l=function(){var r;(a=document.createElement("div")).setAttribute("id","J_CampaignBanner"),n.current=a,document.body.insertBefore(a,document.body.firstChild),i.createRoot(a).render(t.jsx(es,{close:s,data:(null==e?void 0:null===(r=e.settings)||void 0===r?void 0:r.data)||{}}))},c=function(){var e=(document.documentElement||document.body).scrollTop,a=document.getElementById("topActionHeader"),t=document.getElementById("topActionHeaderWrapper"),r=document.getElementById("J_CampaignBanner"),n=(null==r?void 0:r.getBoundingClientRect().height)||80;a&&t&&e>0&&e<=n&&(a.className="lzd-header-content-wrap J_NavScroll",t.className="lzd-header")};return r.useEffect(function(){var a;return((null==e?void 0:null===(a=e.settings)||void 0===a?void 0:a.data)||{}).bannerImg&&(l(),window.addEventListener("scroll",c)),function(){window.removeEventListener("scroll",c),s()}},[e]),t.jsx("div",{})}function ei(e){var a=e.itemImg,r=e.title,n=e.jumpUrl,o=e.pcJumpUrl,s=e.index,l=e.itemId,i=e.categoryId;return t.jsxs(g,t._object_spread_props(t._object_spread({},t.getTrackData("redMart","d_category_".concat(s,"_").concat(i),{itemId:l,title:r,categoryId:i})),{className:"category-item flex flex-row flex-items-center",href:o||n,children:[t.jsx(t.Picture,{className:"category-item-image img-w100p",compress:{width:80,height:80},src:a}),t.jsx("span",{className:"category-title two-line-clamp",children:r})]}))}function ec(e){var a=e.type,n=[1,2,3,4];return"category"===a?t.jsx(r.Fragment,{children:n.map(function(e){return t.jsxs("div",{className:"category-item category-placeholder",children:[t.jsx("div",{className:"img-wrap"}),t.jsx("div",{className:"category-title no-data"})]},e)})}):t.jsx(r.Fragment,{children:n.map(function(e){return t.jsxs("div",{className:"product-item product-placeholder",children:[t.jsx("div",{className:"img-wrap"}),t.jsx("div",{className:"product-title no-data"}),t.jsx("div",{className:"price-wrapper no-data"}),t.jsx("div",{className:"product-desc no-data"})]},e)})})}function ed(e){var a=e.itemImg,r=e.itemTitle,n=void 0===r?"":r,o=e.title,s=void 0===o?"":o,l=e.jumpUrl,i=e.pcJumpUrl,c=e.itemPrice,d=void 0===c?"":c,p=e.itemDiscountPrice,u=void 0===p?"":p,m=e.itemPackageSize,h=e.index,f=e.itemId;return t.jsxs(g,t._object_spread_props(t._object_spread({},t.getTrackData("redMart","d_product_".concat(h,"_").concat(f),{itemId:f,title:n||s})),{className:"product-item flex flex-col",href:i||l,children:[t.jsx(t.Picture,{className:"product-item-image img-w100p",compress:{width:118,height:116},src:a}),t.jsx("p",{className:"product-title two-line-clamp",children:n||s}),t.jsxs("div",{className:"price-wrapper flex flex-items-center",children:[u&&t.jsxs("span",{className:"current-price",children:["$",u]}),t.jsx("span",{className:"origin-price",children:d&&u!==d?"$".concat(d):""})]}),t.jsx("span",{className:"product-desc",children:void 0===m?"":m})]}))}function ep(e){var a=e.datas,r=void 0===a?[]:a,n=e.settings||{},o=n.label,s=void 0===o?{}:o,l=n.shopMore,i=void 0===l?{}:l,c=n.pcBanner,d=void 0===c?{}:c,p=(null==r?void 0:r[0])||{},u=p.redmartCateoryList,m=void 0===u?[]:u,h=p.redmartItemList,f=void 0===h?[]:h;return Array.isArray(r)&&!r.length?null:t.jsxs(g,t._object_spread_props(t._object_spread({},t.getTrackData("redMart","d_0")),{className:"hp-mod-card card-redmart redMart-comp-container",id:"js_redMart",LinkComponent:"div",children:[t.jsxs("div",{className:"hp-mod-card-header flex flex-row flex-justify-between",children:[t.jsxs("div",{className:"flex flex-row flex-items-center",children:[s.titleIcon?t.jsx(t.Picture,{className:"title-icon",compress:{width:90,height:20},src:s.titleIcon}):t.jsx("p",{className:"hp-mod-card-subtitle",style:{fontWeight:500,fontSize:"14px",color:"#111"},children:s.title}),t.jsx("p",{className:"hp-mod-card-subtitle",children:s.subTitle})]}),i.shopMoreUrl&&t.jsxs(g,t._object_spread_props(t._object_spread({},t.getTrackData("redMart","d_shopMore")),{href:i.shopMoreUrl,className:"hp-mod-card-shop-all flex flex-row",LinkComponent:"div",style:{color:i.shopMoreTextColor},children:[t.jsx("span",{className:"text",style:{color:i.shopMoreTextColor},children:i.shopMoreText}),t.jsx("i",{className:"lazada-icon lazada-ic-IOS-Next-copy"})]}))]}),t.jsxs("div",{className:"card-redmart-content-wrap flex flex-row",children:[t.jsx(g,t._object_spread_props(t._object_spread({},t.getTrackData("redMart","d_pcBanner")),{className:"card-content  ",LinkComponent:"div",href:d.url,children:t.jsx(t.Picture,{className:"content-banner",compress:{height:268,width:188},src:d.image})})),t.jsxs("div",{className:"card-content content-category",children:[t.jsx("p",{className:"card-title",children:s.categoryTitle}),t.jsxs("div",{className:"category-wrapper flex flex-row flex-items-center flex-wrap",children:[!(null==m?void 0:m.length)&&t.jsx(ec,{type:"category"}),(m||[]).map(function(e,a){return t.jsx(ei,t._object_spread({index:a},e),a)})]})]}),t.jsxs("div",{className:"card-content content-items",children:[t.jsx("p",{className:"card-title",children:s.productTitle}),t.jsxs("div",{className:"product-wrapper flex flex-row",children:[!(null==f?void 0:f.length)&&t.jsx(ec,{}),(f||[]).map(function(e,a){return t.jsx(ed,t._object_spread({index:a},e),a)})]})]})]})]}))}module.exports=function(e){var a,n,o=e.data,s=o.pcHomepageData,l=void 0===s?{}:s,i=o.blackAndWhiteThemeConfig,c=t._sliced_to_array(r.useState((null==l?void 0:l.sections)||[]),2),d=c[0],p=c[1],u=t._sliced_to_array(r.useState((null==l?void 0:null===(a=l.meta)||void 0===a?void 0:a.serverTime)||0),2),m=u[0],h=u[1];r.useEffect(function(){Array.isArray(d)&&!d.length&&q({appId:t.isInDrz?"33935728":"31374205"}).then(function(e){var a;p((null==e?void 0:e.sections)||[]),h((null==e?void 0:null===(a=e.meta)||void 0===a?void 0:a.serverTime)||0)})},[d]);var f=r.useMemo(function(){var e={},a=[];return d.forEach(function(r){var n=r.moduleId,o=r.fields;switch(n){case"flashSalePC":return a.push(t.jsx(L,t._object_spread_props(t._object_spread({},o),{serverTime:m})));case"platformCampaignBanner":return a.push(t.jsx(el,t._object_spread({},o)));case"categoriesPC":return a.push(t.jsx(y,t._object_spread({},o)));case"officialStorePC":return a.push(t.jsx(er,t._object_spread({},o)));case"redMart":return a.push(t.jsx(ep,t._object_spread({},o)));default:return e[n]=o}}),{compData:e,modules:a}},[d]),g=f.compData,_=f.modules,j=t.isTrue(null==i?void 0:i.isActive)&&"TH"===t.regionID;return t.jsxs("div",{className:t.classNames("page-container",{"grayscale-theme":j}),children:[t.jsx(v,t._object_spread({appDownloadPCData:g.appDownloadPC},g.bannerSliderDesktop)),t.jsx(eo,t._object_spread({},g.pcChannelsV2||{})),t.jsx(N,t._object_spread({},g.countdownPCV2||{})),_,t.jsx(G,{}),t.jsx(x,t._object_spread({},null===(n=g.bottomBannerPC)||void 0===n?void 0:n.settings)),t.jsx(ea,{layout:d}),t.jsx(t.Portal,{themeConfig:i,imgStyle:{height:432,width:648},closeStyle:{height:60,marginTop:30,width:60}})]})};
;        (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/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');    });
