whatmore-react-assets 1.0.1232 → 1.0.1234
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +1 -1
- package/static/js/210.e86cb1a7.chunk.js +1 -0
- package/static/js/772.d392e74d.chunk.js +1 -0
- package/static/js/818.9e3ca82d.chunk.js +1 -0
- package/static/js/824.e346263c.chunk.js +2 -0
- package/static/js/{carousel-template-a.53316366.chunk.js → carousel-template-a.62fd1af8.chunk.js} +1 -1
- package/static/js/carousel-template-f.c1f4b4c2.chunk.js +1 -0
- package/static/js/carousel-template-feed.dc73715e.chunk.js +1 -0
- package/static/js/carousel-template-g.acccbf9f.chunk.js +1 -0
- package/static/js/{carousel-template-view-more.0d87a67a.chunk.js → carousel-template-view-more.5cd3c125.chunk.js} +1 -1
- package/static/js/homepage-carousel-view.72f8d04a.chunk.js +1 -0
- package/static/js/{product-page-view.19d632e1.chunk.js → product-page-view.554de6cf.chunk.js} +1 -1
- package/static/js/{spotlight-view.40cb15cd.chunk.js → spotlight-view.0d2f5306.chunk.js} +1 -1
- package/whatmore.js +2 -2
- package/static/js/305.97f5aed4.chunk.js +0 -1
- package/static/js/351.62a14617.chunk.js +0 -2
- package/static/js/818.a9d7e4c1.chunk.js +0 -1
- package/static/js/824.7521b794.chunk.js +0 -1
- package/static/js/carousel-template-f.edbc946b.chunk.js +0 -2
- package/static/js/carousel-template-feed.3cbb9f37.chunk.js +0 -2
- package/static/js/carousel-template-g.83982812.chunk.js +0 -1
- package/static/js/homepage-carousel-view.c9e4d335.chunk.js +0 -1
@@ -1 +0,0 @@
|
|
1
|
-
"use strict";(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[305],{1092:function(t,e,i){var n=i(237),o=i(9854),r=i(7753),l=i(6417);function a(t){return t<1e3?t:t<1e5?(t/1e3).toFixed(0)+"K":(t/1e5).toFixed(0)+"L"}e.Z=function(t){const e=(0,r.MO)("whatmoreUITheme"),i=(0,r.MO)("whatmoreShopId"),s=(0,r.MO)("whatmorePrimaryFont"),d=t.event,p=t.fontSize;if(d.total_views<=0)return(0,l.jsx)(l.Fragment,{});const c=(0,o.S_M)(i);return"template-icon"==c?(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{style:{width:"fit-content",padding:"2px",paddingLeft:"6px",paddingRight:"6px",backgroundColor:(0,o.XCH)(i),color:"white",borderRadius:"round"==e?"5px":"0px",borderWidth:(0,o.alU)(i),borderColor:(0,o.qPe)(i)},children:(0,l.jsxs)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"center",gap:"3px",alignItems:"center"},children:[(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,l.jsx)(n.Z,{sx:{color:(0,o.aLw)(i)+" !important",fontSize:p,fontWeight:"normal"}})}),(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,l.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,o.aLw)(i),"important"),t.style.setProperty("line-height","120%","important"),t.style.setProperty("font-family",s,"important"),t.style.setProperty("font-size",p,"important"),t.style.setProperty("min-height","0","important"),t.style.setProperty("display","inline","important"),t.style.setProperty("width","auto","important"))},style:{fontWeight:"normal"},children:" "+a(d.total_views)+" "})})]})})}):"template-text"==c?(0,l.jsx)(l.Fragment,{children:(0,l.jsx)("div",{style:{width:"fit-content",padding:"2px",paddingLeft:"6px",paddingRight:"6px",backgroundColor:(0,o.XCH)(i),color:"white",borderRadius:"round"==e?"5px":"0px",borderWidth:(0,o.alU)(i),borderColor:(0,o.qPe)(i)},children:(0,l.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"center",gap:"3px",alignItems:"center"},children:(0,l.jsx)("div",{style:{display:"flex",justifyContent:"center",alignItems:"center"},children:(0,l.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color",(0,o.aLw)(i),"important"),t.style.setProperty("line-height","120%","important"),t.style.setProperty("font-family",s,"important"))},style:{fontSize:p,fontWeight:"bold"},children:" "+a(d.total_views)+" views"})})})})}):void 0}},7129:function(t,e,i){i.d(e,{V:function(){return n}});const n=(0,i(7313).createContext)({tileTopMargin:10,tileBottomMMargin:10,tileLeftMargin:10,tileRightMargin:10,showPlayButton:!0})},4920:function(t,e,i){i.d(e,{Z:function(){return b}});var n=i(7313),o=i(9821),r=(i(3439),i(9723)),l=i(7753),a=i(4892),s=i(7129),d=i(6805),p=i(9854),c=i(1092),h=i(5945),m=i(9363),x=i(6417);var f=function(t){var e,i,r,a,[s,d]=(0,o.Z)();const c=(0,l.MO)("whatmoreUITheme"),[f]=(0,l.j1)("whatmorePrimaryFont"),[y,u]=(0,n.useState)(0),v=(0,l.MO)("whatmoreShopId"),w=t.event;if(0==w.products.length)return(0,x.jsx)(x.Fragment,{});const g=.3*d,j=g+"px",b=g+"px",P=.07*d,C=P+"px";return(0,x.jsx)("div",{style:{width:d+"px",height:"fit-content",backgroundImage:"linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.1), rgba(0,0,0,0.3)"},children:(0,x.jsxs)("div",{ref:t=>{t&&t.style.setProperty("height","fit-content","important")},style:{display:"flex",flexFlow:"row nowrap",width:"100%",justifyContent:"space-between",alignItems:"center",paddingLeft:"5px",paddingRight:"5px",paddingTop:"5px",paddingBottom:"5px",gap:"5px"},className:"whatmore-event-tile-product-scale-in-and-out-animation",children:[(0,x.jsx)("div",{ref:t=>{t&&t.style.setProperty("height",b,"important")},style:{width:(0,p.uNj)(v)?j:"auto",boxShadow:"round"==c?"0px 0px 5px 2px #B0B0B0":null,borderRadius:"round"==c?"5px":"0px",borderWidth:(0,p.alU)(v),borderColor:(0,p.qPe)(v),overflow:"hidden",backgroundColor:"rgb(220, 220, 220, 1)"},children:(0,x.jsx)("img",{ref:t=>{t&&(t.style.setProperty("object-fit",(0,p.yOX)(v),"important"),t.style.setProperty("max-width",j,"important"))},src:(0,m.s)(w.products[y].thumbnail_image,"&width=".concat(400,"&height=",400)),style:{width:"100%",height:"100%",borderRadius:"round"==c?"5px":"0px"},alt:"product image"})}),(0,x.jsxs)("div",{style:{width:d-5-g+"px",height:"100%",borderRadius:"round"==c?"5px":"0px",overflow:"visible"},children:[(0,x.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"fit-content",justifyContent:"center",alignItems:"center",paddingBottom:"4px"},children:(0,x.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color","white","important"),t.style.setProperty("font-size",C,"important"),t.style.setProperty("line-height","120%","important"),t.style.setProperty("font-family",f,"important"),t.style.setProperty("-webkit-line-clamp",3,"important"),t.style.setProperty("line-clamp",3,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("text-overflow","ellipsis","important"))},style:{textAlign:"left",fontWeight:"normal"},children:(0,h.s)(w.products[y].title)})}),(null===(e=w.products[y])||void 0===e||null===(i=e.product_metadata)||void 0===i?void 0:i.product_type)&&(0,x.jsx)("div",{style:{display:"flex",opacity:.8,width:"fit-content",maxWidth:d-5-g+"px",padding:"3px 6px",backgroundColor:"#D3D3D3",borderRadius:"round"==c?"3px":"0"},children:(0,x.jsx)("p",{ref:t=>{t&&(t.style.setProperty("color","#000","important"),t.style.setProperty("maxWidth",d-5-g+"px","important"),t.style.setProperty("font-size",.7*P+"px","important"),t.style.setProperty("font-family",f,"important"),t.style.setProperty("font-weight","bold","important"),t.style.setProperty("text-overflow","ellipsis","important"),t.style.setProperty("overflow","hidden","important"),t.style.setProperty("-webkit-line-clamp",1,"important"),t.style.setProperty("line-clamp",1,"important"),t.style.setProperty("-webkit-box-orient","vertical","important"),t.style.setProperty("display","-webkit-box","important"))},children:null===(r=w.products[y])||void 0===r||null===(a=r.product_metadata)||void 0===a?void 0:a.product_type})})]})]},y)})},y=i(3933),u=i(8984),v=i(9212);function w(t){var e,[i,a]=(0,o.Z)();const[d]=(0,l.j1)("whatmoreShopId"),[c,h,m]=(0,y.YD)({triggerOnce:!0});var v=(0,n.useContext)(s.V);const w=t.event,g=null!==(e=t.unfocusedDisplay)&&void 0!==e&&e,j=.5*a,b=(0,u.gE)()?t.isOnFocus:h;return(0,x.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"200%",overflow:"hidden",width:"100%",height:"100%",overflow:"hidden",backgroundColor:"transparent"},className:"whatmore-ios-css-relative-fix",children:(0,x.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",alignItems:"center",height:"100%",width:"100%"},children:[(0,x.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:(0,x.jsx)("p",{children:" "})}),v.showPlayButton&&!g?(0,x.jsx)("div",{style:{position:"relative",top:"10%",overflow:"hidden",marginLeft:"5px",marginRight:"5px",width:"100%"},children:(0,x.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",justifyContent:"center",alignItems:"center"},children:(0,x.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:"video"==w.event_type&&(0,x.jsx)(r.Z,{sx:{color:(0,p.Ya_)(d)+" !important",opacity:.8,fontSize:j,filter:"drop-shadow(0 0 15px black);"}})})})}):(0,x.jsx)(x.Fragment,{}),(0,x.jsx)("div",{ref:c,children:b&&(0,p.PWD)(d)?(0,x.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:(0,x.jsx)(f,{event:w})}):(0,x.jsx)("div",{height:"20px"})})]})})}function g(t){var[e,i]=(0,o.Z)();const[n]=(0,l.j1)("whatmorePrimaryFont"),r=t.event;return r.title.trim().length?(0,x.jsx)("div",{style:{width:"100%",height:"fit-content",backgroundImage:"linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.2), rgba(0,0,0,0.6))"},children:(0,x.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"flex-end",alignContent:"center",width:"100%",height:"100%"},children:(0,x.jsx)("div",{style:{width:"100%",padding:"2px"},children:(0,x.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"space-between",alignItems:"flex-start",marginLeft:"5px",marginRight:"5px",marginBottom:"2px"},children:[(0,x.jsx)("p",{style:{color:"white",fontSize:.08*i+"px",fontWeight:"normal",textAlign:"left"},children:" "}),(0,x.jsx)("p",{ref:t=>{t&&t.style.setProperty("font-family",n,"important")},style:{color:"white",fontSize:.08*i+"px",fontWeight:"normal",textAlign:"left"},children:r.title.substring(0,60)})]})})})}):(0,x.jsx)(x.Fragment,{})}function j(t){const[e,i,n,r,a]=(0,o.Z)(),[s]=(0,l.j1)("whatmoreShowViews"),h=(0,l.MO)("whatmoreShopId"),m=t.event,f=t.isOnFocus;return(0,x.jsx)("div",{style:{position:"relative",zIndex:1,bottom:"100%",overflow:"hidden",width:"100%",height:"100%",overflow:"hidden",backgroundColor:"transparent"},className:"whatmore-ios-css-relative-fix",children:(0,x.jsxs)("div",{style:{display:"flex",flexFlow:"column nowrap",width:"100%",height:"100%",justifyContent:"space-between",alignItems:"center"},children:[(0,x.jsx)("div",{style:{width:"100%",backgroundImage:"linear-gradient(to top, rgba(0,0,0,0), rgba(0,0,0,0.1), rgba(0,0,0,0.3))"},children:(0,x.jsx)("div",{style:{display:"flex",flexFlow:"column nowrap",justifyContent:"flex-start",alignItems:"center"},children:"show"===s&&"show"===(0,p.qcC)(h)?(0,x.jsx)("div",{style:{width:"100%",marginLeft:"5px",marginRight:"5px",marginTop:"10px"},children:(0,x.jsx)("div",{style:{display:"flex",flexFlow:"row nowrap",paddingLeft:"5px",width:"fit-content",height:"fit-content",justifyContent:"space-between",alignItems:"center"},children:(0,x.jsx)(c.Z,{event:m,fontSize:.07*i+"px"})})}):(0,x.jsx)(x.Fragment,{})})}),d.$w===a[d.YP]?(0,x.jsx)(x.Fragment,{}):f?(0,x.jsx)("div",{className:"whatmore-event-tile-component-fade-out-animation",children:(0,x.jsx)(g,{event:m})}):(0,x.jsx)("div",{className:"whatmore-event-tile-component-fade-in-animation",children:(0,x.jsx)(g,{event:m})})]})})}var b=function(t){var e,i,r;const[c,h,m,f,y]=(0,o.Z)();var u=(0,n.useContext)(s.V);const g=(0,l.MO)("whatmoreUITheme"),b=(0,l.MO)("whatmoreShopId"),[P]=(0,l.MO)("whatmorePrimaryFont"),C=t.event,I=t.onClick,F=null===(e=t.isOnFocus)||void 0===e||e,k=null!==(i=t.playOnUnfocus)&&void 0!==i&&i,M=null!==(r=t.animateOnFocus&&(0,p.iWI)(b))&&void 0!==r&&r,z=(0,p.nzC)(b);return(0,x.jsxs)("div",{ref:t=>{t&&(t.style.setProperty("margin-top",u.tileTopMargin+"px"),t.style.setProperty("margin-bottom",u.tileBottomMMargin+"px"))},style:{margin:"0 10px",width:"8968077397"==b||"19501891"==b?void 0:h,aspectRatio:"8968077397"==b||"19501891"==b?9/16:void 0,height:"8968077397"==b||"19501891"==b?"100%":c,borderRadius:"round"==g?"5px":"0px",boxShadow:"round"==g||"61187850326"==b||"19501891"==b?z:null,borderWidth:(0,p.alU)(b),borderColor:(0,p.qPe)(b),overflow:"hidden",cursor:"pointer",position:"relative"},className:M?F?"whatmore-event-tile-scale-out-animation":"whatmore-event-tile-scale-in-animation":"none",onClick:()=>{I(C)},children:[(0,x.jsx)(a.Z,{height:(0,p.dXm)(b)+" !important",width:"100%",url:C.thumbnail_image,isPlaying:F||k,event:C}),"51394281658"===b?(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("div",{style:{position:"absolute",bottom:"4%",left:"50%",transform:"translateX(-50%)",color:"white",padding:"0.5rem 0rem 0rem 0.5rem",zIndex:1,fontSize:"1.4rem",fontWeight:"600",width:"90%",maxWidth:"100%",wordWrap:"break-word",textShadow:"2px 2px 4px rgba(0, 0, 0, 0.5)",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:3,overflow:"hidden",textOverflow:"ellipsis",fontFamily:P+" !important"},children:null===C||void 0===C?void 0:C.title}),(0,x.jsx)("div",{style:{position:"absolute",top:"10px",right:"10px",zIndex:2},children:(0,x.jsx)(v.Z,{sx:{color:"white",fontSize:"1.3rem",filter:"drop-shadow(0 0 5px black)"}})})]}):(0,p.wxm)(b)&&(0,x.jsxs)("div",{style:{width:h,height:c},children:[(0,x.jsx)(j,{event:C,isOnFocus:F}),"87043703105"===b||"76467011883"===b||!F&&d.$w!==y[d.YP]?null:(0,x.jsx)(w,{event:C,unfocusedDisplay:!F,isOnFocus:F})]})]})}},9363:function(t,e,i){i.d(e,{$:function(){return l},s:function(){return r}});var n=i(9854),o=i(7753);function r(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const i=(0,o.MO)("whatmoreShopId");return"shopify"!=(0,n.Ipo)(i)?"STRNV8MHJTF"==i?t+"?format=webp":t:t+e}function l(t){var e;if(null!==t&&void 0!==t&&t.includes("https://w-media.b-cdn.net/process-media"))return"image";const i=null===t||void 0===t||null===(e=t.trim())||void 0===e?void 0:e.split("?")[0],n=/\.(jpeg|jpg|gif|png|svg|webp)$/i,o=/\.(mp4|mov|wmv|avi|flv|mkv)$/i;return null!==n&&void 0!==n&&n.test(i)?"image":null!==o&&void 0!==o&&o.test(i)?"video":void 0}},6805:function(t,e,i){i.d(e,{$I:function(){return a},$w:function(){return d},AK:function(){return r},AL:function(){return l},YP:function(){return o},me:function(){return n},rE:function(){return s}});const n="device_type",o="device_mode",r="mobile",l="tablet",a="desktop",s="portrait",d="landscape"},9821:function(t,e,i){var n=i(7753),o=i(8866),r=i(6805),l=i(9854);e.Z=function(t){const[e,i,a]=(0,o.Z)(),[s]=(0,n.j1)("whatmoreLandscapePadding"),[d]=(0,n.j1)("whatmoreShopId"),[p]=(0,n.j1)("whatmoreVideoTileSize"),[c]=(0,n.j1)("whatmoreVideoTileSizePortrait"),h=a>=1025,m="portrait"==e?c:p,x=!("portrait"!=e||!(a>=481)),f=m/100*1.3*.5,y=m/100;var u=Math.min(a,i),[v,w,g,j]=[.6*u*(16/9),.6*u,1.4,0];function b(t){return Math.round(10*t)/10}var P={DEVICE_TYPE:r.AK,DEVICE_MODE:r.rE};if(h){const t=w*f,e=v*f;[v,w,g,j]=[e,t,(a-2*s-2*(0,l.mZU)(d))/(1.1*t),s],P[r.me]=r.$I,P[r.YP]=r.$w}else if(x){var C=.8*w,I=.8*v;"portrait"==e?(C*=y,I*=y,[v,w,g,j]=[I,C,b(a/(1.2*C)),0],P[r.me]=r.AL,P[r.YP]=r.rE):([v,w,g,j]=[I,C,(a-2*s)/(1.1*C),s],P[r.me]=r.AL,P[r.YP]=r.$w)}else{C=w,I=v;"portrait"==e?(C=C*y*.9,I=I*y*.9,[v,w,g,j]=[I,C,b(a/(1.15*C)),0],P[r.me]=r.AK,P[r.YP]=r.rE):(C=.7*w,I=.7*v,[v,w,g,j]=[I,C,(a-2*s)/(1.1*C),s],P[r.me]=r.AK,P[r.YP]=r.$w)}return[v,w,g,j,P]}},9723:function(t,e,i){var n=i(5318);e.Z=void 0;var o=n(i(5045)),r=i(6417),l=(0,o.default)((0,r.jsx)("path",{d:"M8 6.82v10.36c0 .79.87 1.27 1.54.84l8.14-5.18c.62-.39.62-1.29 0-1.69L9.54 5.98C8.87 5.55 8 6.03 8 6.82z"}),"PlayArrowRounded");e.Z=l},9212:function(t,e,i){var n=i(5318);e.Z=void 0;var o=n(i(5045)),r=i(6417),l=(0,o.default)([(0,r.jsx)("path",{d:"M18 20H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2v12z",opacity:".3"},"0"),(0,r.jsx)("path",{d:"M18 6h-2c0-2.21-1.79-4-4-4S8 3.79 8 6H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-6-2c1.1 0 2 .9 2 2h-4c0-1.1.9-2 2-2zm6 16H6V8h2v2c0 .55.45 1 1 1s1-.45 1-1V8h4v2c0 .55.45 1 1 1s1-.45 1-1V8h2v12z"},"1")],"ShoppingBagTwoTone");e.Z=l},237:function(t,e,i){var n=i(5318);e.Z=void 0;var o=n(i(5045)),r=i(6417),l=(0,o.default)((0,r.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z"}),"Visibility");e.Z=l},3439:function(){},7244:function(){}}]);
|
@@ -1,2 +0,0 @@
|
|
1
|
-
/*! For license information please see 351.62a14617.chunk.js.LICENSE.txt */
|
2
|
-
(self.webpackChunkwhatmorelive_react=self.webpackChunkwhatmorelive_react||[]).push([[351],{6040:function(e,t,s){const n=s(500);e.exports=function(e){if("string"!==typeof e)return;const t=e.toUpperCase();return Object.prototype.hasOwnProperty.call(n,t)?n[t]:void 0},e.exports.currencySymbolMap=n},500:function(e){e.exports={AED:"\u062f.\u0625",AFN:"\u060b",ALL:"L",AMD:"\u058f",ANG:"\u0192",AOA:"Kz",ARS:"$",AUD:"$",AWG:"\u0192",AZN:"\u20bc",BAM:"KM",BBD:"$",BDT:"\u09f3",BGN:"\u043b\u0432",BHD:".\u062f.\u0628",BIF:"FBu",BMD:"$",BND:"$",BOB:"$b",BOV:"BOV",BRL:"R$",BSD:"$",BTC:"\u20bf",BTN:"Nu.",BWP:"P",BYN:"Br",BYR:"Br",BZD:"BZ$",CAD:"$",CDF:"FC",CHE:"CHE",CHF:"CHF",CHW:"CHW",CLF:"CLF",CLP:"$",CNH:"\xa5",CNY:"\xa5",COP:"$",COU:"COU",CRC:"\u20a1",CUC:"$",CUP:"\u20b1",CVE:"$",CZK:"K\u010d",DJF:"Fdj",DKK:"kr",DOP:"RD$",DZD:"\u062f\u062c",EEK:"kr",EGP:"\xa3",ERN:"Nfk",ETB:"Br",ETH:"\u039e",EUR:"\u20ac",FJD:"$",FKP:"\xa3",GBP:"\xa3",GEL:"\u20be",GGP:"\xa3",GHC:"\u20b5",GHS:"GH\u20b5",GIP:"\xa3",GMD:"D",GNF:"FG",GTQ:"Q",GYD:"$",HKD:"$",HNL:"L",HRK:"kn",HTG:"G",HUF:"Ft",IDR:"Rp",ILS:"\u20aa",IMP:"\xa3",INR:"\u20b9",IQD:"\u0639.\u062f",IRR:"\ufdfc",ISK:"kr",JEP:"\xa3",JMD:"J$",JOD:"JD",JPY:"\xa5",KES:"KSh",KGS:"\u043b\u0432",KHR:"\u17db",KMF:"CF",KPW:"\u20a9",KRW:"\u20a9",KWD:"KD",KYD:"$",KZT:"\u20b8",LAK:"\u20ad",LBP:"\xa3",LKR:"\u20a8",LRD:"$",LSL:"M",LTC:"\u0141",LTL:"Lt",LVL:"Ls",LYD:"LD",MAD:"MAD",MDL:"lei",MGA:"Ar",MKD:"\u0434\u0435\u043d",MMK:"K",MNT:"\u20ae",MOP:"MOP$",MRO:"UM",MRU:"UM",MUR:"\u20a8",MVR:"Rf",MWK:"MK",MXN:"$",MXV:"MXV",MYR:"RM",MZN:"MT",NAD:"$",NGN:"\u20a6",NIO:"C$",NOK:"kr",NPR:"\u20a8",NZD:"$",OMR:"\ufdfc",PAB:"B/.",PEN:"S/.",PGK:"K",PHP:"\u20b1",PKR:"\u20a8",PLN:"z\u0142",PYG:"Gs",QAR:"\ufdfc",RMB:"\uffe5",RON:"lei",RSD:"\u0414\u0438\u043d.",RUB:"\u20bd",RWF:"R\u20a3",SAR:"\ufdfc",SBD:"$",SCR:"\u20a8",SDG:"\u062c.\u0633.",SEK:"kr",SGD:"S$",SHP:"\xa3",SLL:"Le",SOS:"S",SRD:"$",SSP:"\xa3",STD:"Db",STN:"Db",SVC:"$",SYP:"\xa3",SZL:"E",THB:"\u0e3f",TJS:"SM",TMT:"T",TND:"\u062f.\u062a",TOP:"T$",TRL:"\u20a4",TRY:"\u20ba",TTD:"TT$",TVD:"$",TWD:"NT$",TZS:"TSh",UAH:"\u20b4",UGX:"USh",USD:"$",UYI:"UYI",UYU:"$U",UYW:"UYW",UZS:"\u043b\u0432",VEF:"Bs",VES:"Bs.S",VND:"\u20ab",VUV:"VT",WST:"WS$",XAF:"FCFA",XBT:"\u0243",XCD:"$",XOF:"CFA",XPF:"\u20a3",XSU:"Sucre",XUA:"XUA",YER:"\ufdfc",ZAR:"R",ZMW:"ZK",ZWD:"Z$",ZWL:"$"}},8507:function(e,t){"use strict";function s(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var n in s)e[n]=s[n]}return e}var n=function e(t,n){function i(e,i,a){if("undefined"!==typeof document){"number"===typeof(a=s({},n,a)).expires&&(a.expires=new Date(Date.now()+864e5*a.expires)),a.expires&&(a.expires=a.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var r="";for(var o in a)a[o]&&(r+="; "+o,!0!==a[o]&&(r+="="+a[o].split(";")[0]));return document.cookie=e+"="+t.write(i,e)+r}}return Object.create({set:i,get:function(e){if("undefined"!==typeof document&&(!arguments.length||e)){for(var s=document.cookie?document.cookie.split("; "):[],n={},i=0;i<s.length;i++){var a=s[i].split("="),r=a.slice(1).join("=");try{var o=decodeURIComponent(a[0]);if(n[o]=t.read(r,o),e===o)break}catch(l){}}return e?n[e]:n}},remove:function(e,t){i(e,"",s({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,s({},this.attributes,t))},withConverter:function(t){return e(s({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"});t.Z=n},2210:function(e,t,s){"use strict";s.d(t,{tq:function(){return y},o5:function(){return S}});var n=s(7313),i=s(8486);function a(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function r(e,t){const s=["__proto__","constructor","prototype"];Object.keys(t).filter((e=>s.indexOf(e)<0)).forEach((s=>{"undefined"===typeof e[s]?e[s]=t[s]:a(t[s])&&a(e[s])&&Object.keys(t[s]).length>0?t[s].__swiper__?e[s]=t[s]:r(e[s],t[s]):e[s]=t[s]}))}function o(e){return void 0===e&&(e={}),e.navigation&&"undefined"===typeof e.navigation.nextEl&&"undefined"===typeof e.navigation.prevEl}function l(e){return void 0===e&&(e={}),e.pagination&&"undefined"===typeof e.pagination.el}function d(e){return void 0===e&&(e={}),e.scrollbar&&"undefined"===typeof e.scrollbar.el}function c(e){void 0===e&&(e="");const t=e.split(" ").map((e=>e.trim())).filter((e=>!!e)),s=[];return t.forEach((e=>{s.indexOf(e)<0&&s.push(e)})),s.join(" ")}const p=["modules","init","_direction","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","_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","_preloadImages","updateOnImagesReady","_loop","_loopAdditionalSlides","_loopedSlides","_loopFillGroupWithBlank","loopPreventsSlide","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideBlankClass","slideActiveClass","slideDuplicateActiveClass","slideVisibleClass","slideDuplicateClass","slideNextClass","slideDuplicateNextClass","slidePrevClass","slideDuplicatePrevClass","wrapperClass","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","lazy","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom"];function u(e,t){let s=t.slidesPerView;if(t.breakpoints){const e=i.ZP.prototype.getBreakpoint(t.breakpoints),n=e in t.breakpoints?t.breakpoints[e]:void 0;n&&n.slidesPerView&&(s=n.slidesPerView)}let n=Math.ceil(parseFloat(t.loopedSlides||s,10));return n+=t.loopAdditionalSlides,n>e.length&&(n=e.length),n}function f(e){const t=[];return n.Children.toArray(e).forEach((e=>{e.type&&"SwiperSlide"===e.type.displayName?t.push(e):e.props&&e.props.children&&f(e.props.children).forEach((e=>t.push(e)))})),t}function h(e){const t=[],s={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return n.Children.toArray(e).forEach((e=>{if(e.type&&"SwiperSlide"===e.type.displayName)t.push(e);else if(e.props&&e.props.slot&&s[e.props.slot])s[e.props.slot].push(e);else if(e.props&&e.props.children){const n=f(e.props.children);n.length>0?n.forEach((e=>t.push(e))):s["container-end"].push(e)}else s["container-end"].push(e)})),{slides:t,slots:s}}function m(e){let{swiper:t,slides:s,passedParams:n,changedParams:i,nextEl:o,prevEl:l,scrollbarEl:d,paginationEl:c}=e;const p=i.filter((e=>"children"!==e&&"direction"!==e)),{params:u,pagination:f,navigation:h,scrollbar:m,virtual:g,thumbs:v}=t;let w,b,y,C,S;i.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&u.thumbs&&!u.thumbs.swiper&&(w=!0),i.includes("controller")&&n.controller&&n.controller.control&&u.controller&&!u.controller.control&&(b=!0),i.includes("pagination")&&n.pagination&&(n.pagination.el||c)&&(u.pagination||!1===u.pagination)&&f&&!f.el&&(y=!0),i.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||d)&&(u.scrollbar||!1===u.scrollbar)&&m&&!m.el&&(C=!0),i.includes("navigation")&&n.navigation&&(n.navigation.prevEl||l)&&(n.navigation.nextEl||o)&&(u.navigation||!1===u.navigation)&&h&&!h.prevEl&&!h.nextEl&&(S=!0);if(p.forEach((e=>{if(a(u[e])&&a(n[e]))r(u[e],n[e]);else{const i=n[e];!0!==i&&!1!==i||"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e?u[e]=n[e]:!1===i&&t[s=e]&&(t[s].destroy(),"navigation"===s?(u[s].prevEl=void 0,u[s].nextEl=void 0,t[s].prevEl=void 0,t[s].nextEl=void 0):(u[s].el=void 0,t[s].el=void 0))}var s})),p.includes("controller")&&!b&&t.controller&&t.controller.control&&u.controller&&u.controller.control&&(t.controller.control=u.controller.control),i.includes("children")&&g&&u.virtual.enabled?(g.slides=s,g.update(!0)):i.includes("children")&&t.lazy&&t.params.lazy.enabled&&t.lazy.load(),w){v.init()&&v.update(!0)}b&&(t.controller.control=u.controller.control),y&&(c&&(u.pagination.el=c),f.init(),f.render(),f.update()),C&&(d&&(u.scrollbar.el=d),m.init(),m.updateSize(),m.setTranslate()),S&&(o&&(u.navigation.nextEl=o),l&&(u.navigation.prevEl=l),h.init(),h.update()),i.includes("allowSlideNext")&&(t.allowSlideNext=n.allowSlideNext),i.includes("allowSlidePrev")&&(t.allowSlidePrev=n.allowSlidePrev),i.includes("direction")&&t.changeDirection(n.direction,!1),t.update()}function g(e,t){return"undefined"===typeof window?(0,n.useEffect)(e,t):(0,n.useLayoutEffect)(e,t)}const v=(0,n.createContext)(null),w=(0,n.createContext)(null);function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n])}return e},b.apply(this,arguments)}const y=(0,n.forwardRef)((function(e,t){let{className:s,tag:f="div",wrapperTag:v="div",children:y,onSwiper:C,...S}=void 0===e?{}:e,T=!1;const[E,x]=(0,n.useState)("swiper"),[M,P]=(0,n.useState)(null),[k,O]=(0,n.useState)(!1),L=(0,n.useRef)(!1),D=(0,n.useRef)(null),A=(0,n.useRef)(null),I=(0,n.useRef)(null),z=(0,n.useRef)(null),B=(0,n.useRef)(null),N=(0,n.useRef)(null),_=(0,n.useRef)(null),G=(0,n.useRef)(null),{params:$,passedParams:R,rest:F,events:H}=function(e){void 0===e&&(e={});const t={on:{}},s={},n={};r(t,i.ZP.defaults),r(t,i.ZP.extendedDefaults),t._emitClasses=!0,t.init=!1;const o={},l=p.map((e=>e.replace(/_/,"")));return Object.keys(e).forEach((i=>{l.indexOf(i)>=0?a(e[i])?(t[i]={},n[i]={},r(t[i],e[i]),r(n[i],e[i])):(t[i]=e[i],n[i]=e[i]):0===i.search(/on[A-Z]/)&&"function"===typeof e[i]?s["".concat(i[2].toLowerCase()).concat(i.substr(3))]=e[i]:o[i]=e[i]})),["navigation","pagination","scrollbar"].forEach((e=>{!0===t[e]&&(t[e]={}),!1===t[e]&&delete t[e]})),{params:t,passedParams:n,rest:o,events:s}}(S),{slides:j,slots:V}=h(y),W=()=>{O(!k)};Object.assign($.on,{_containerClasses(e,t){x(t)}});const Y=()=>{if(Object.assign($.on,H),T=!0,A.current=new i.ZP($),A.current.loopCreate=()=>{},A.current.loopDestroy=()=>{},$.loop&&(A.current.loopedSlides=u(j,$)),A.current.virtual&&A.current.params.virtual.enabled){A.current.virtual.slides=j;const e={cache:!1,slides:j,renderExternal:P,renderExternalUpdate:!1};r(A.current.params.virtual,e),r(A.current.originalParams.virtual,e)}};D.current||Y(),A.current&&A.current.on("_beforeBreakpoint",W);return(0,n.useEffect)((()=>()=>{A.current&&A.current.off("_beforeBreakpoint",W)})),(0,n.useEffect)((()=>{!L.current&&A.current&&(A.current.emitSlidesClasses(),L.current=!0)})),g((()=>{if(t&&(t.current=D.current),D.current)return A.current.destroyed&&Y(),function(e,t){let{el:s,nextEl:n,prevEl:i,paginationEl:a,scrollbarEl:r,swiper:c}=e;o(t)&&n&&i&&(c.params.navigation.nextEl=n,c.originalParams.navigation.nextEl=n,c.params.navigation.prevEl=i,c.originalParams.navigation.prevEl=i),l(t)&&a&&(c.params.pagination.el=a,c.originalParams.pagination.el=a),d(t)&&r&&(c.params.scrollbar.el=r,c.originalParams.scrollbar.el=r),c.init(s)}({el:D.current,nextEl:B.current,prevEl:N.current,paginationEl:_.current,scrollbarEl:G.current,swiper:A.current},$),C&&C(A.current),()=>{A.current&&!A.current.destroyed&&A.current.destroy(!0,!1)}}),[]),g((()=>{!T&&H&&A.current&&Object.keys(H).forEach((e=>{A.current.on(e,H[e])}));const e=function(e,t,s,n){const i=[];if(!t)return i;const r=e=>{i.indexOf(e)<0&&i.push(e)},o=n.map((e=>e.key)),l=s.map((e=>e.key));return o.join("")!==l.join("")&&r("children"),n.length!==s.length&&r("children"),p.filter((e=>"_"===e[0])).map((e=>e.replace(/_/,""))).forEach((s=>{if(s in e&&s in t)if(a(e[s])&&a(t[s])){const n=Object.keys(e[s]),i=Object.keys(t[s]);n.length!==i.length?r(s):(n.forEach((n=>{e[s][n]!==t[s][n]&&r(s)})),i.forEach((n=>{e[s][n]!==t[s][n]&&r(s)})))}else e[s]!==t[s]&&r(s)})),i}(R,I.current,j,z.current);return I.current=R,z.current=j,e.length&&A.current&&!A.current.destroyed&&m({swiper:A.current,slides:j,passedParams:R,changedParams:e,nextEl:B.current,prevEl:N.current,scrollbarEl:G.current,paginationEl:_.current}),()=>{H&&A.current&&Object.keys(H).forEach((e=>{A.current.off(e,H[e])}))}})),g((()=>{var e;!(e=A.current)||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.lazy&&e.params.lazy.enabled&&e.lazy.load(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())}),[M]),n.createElement(f,b({ref:D,className:c("".concat(E).concat(s?" ".concat(s):""))},F),n.createElement(w.Provider,{value:A.current},V["container-start"],n.createElement(v,{className:"swiper-wrapper"},V["wrapper-start"],$.virtual?function(e,t,s){if(!s)return null;const i=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:"".concat(s.offset,"px")}:{top:"".concat(s.offset,"px")};return t.filter(((e,t)=>t>=s.from&&t<=s.to)).map((t=>n.cloneElement(t,{swiper:e,style:i})))}(A.current,j,M):!$.loop||A.current&&A.current.destroyed?j.map((e=>n.cloneElement(e,{swiper:A.current}))):function(e,t,s){const i=t.map(((t,s)=>n.cloneElement(t,{swiper:e,"data-swiper-slide-index":s})));function a(e,t,i){return n.cloneElement(e,{key:"".concat(e.key,"-duplicate-").concat(t,"-").concat(i),className:"".concat(e.props.className||""," ").concat(s.slideDuplicateClass)})}if(s.loopFillGroupWithBlank){const e=s.slidesPerGroup-i.length%s.slidesPerGroup;if(e!==s.slidesPerGroup)for(let t=0;t<e;t+=1){const e=n.createElement("div",{className:"".concat(s.slideClass," ").concat(s.slideBlankClass)});i.push(e)}}"auto"!==s.slidesPerView||s.loopedSlides||(s.loopedSlides=i.length);const r=u(i,s),o=[],l=[];return i.forEach(((e,t)=>{t<r&&l.push(a(e,t,"prepend")),t<i.length&&t>=i.length-r&&o.push(a(e,t,"append"))})),e&&(e.loopedSlides=r),[...o,...i,...l]}(A.current,j,$),V["wrapper-end"]),o($)&&n.createElement(n.Fragment,null,n.createElement("div",{ref:N,className:"swiper-button-prev"}),n.createElement("div",{ref:B,className:"swiper-button-next"})),d($)&&n.createElement("div",{ref:G,className:"swiper-scrollbar"}),l($)&&n.createElement("div",{ref:_,className:"swiper-pagination"}),V["container-end"]))}));function C(){return C=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n])}return e},C.apply(this,arguments)}y.displayName="Swiper";const S=(0,n.forwardRef)((function(e,t){let{tag:s="div",children:i,className:a="",swiper:r,zoom:o,virtualIndex:l,...d}=void 0===e?{}:e;const p=(0,n.useRef)(null),[u,f]=(0,n.useState)("swiper-slide");function h(e,t,s){t===p.current&&f(s)}g((()=>{if(t&&(t.current=p.current),p.current&&r){if(!r.destroyed)return r.on("_slideClass",h),()=>{r&&r.off("_slideClass",h)};"swiper-slide"!==u&&f("swiper-slide")}})),g((()=>{r&&p.current&&!r.destroyed&&f(r.getSlideClasses(p.current))}),[r]);const m={isActive:u.indexOf("swiper-slide-active")>=0||u.indexOf("swiper-slide-duplicate-active")>=0,isVisible:u.indexOf("swiper-slide-visible")>=0,isDuplicate:u.indexOf("swiper-slide-duplicate")>=0,isPrev:u.indexOf("swiper-slide-prev")>=0||u.indexOf("swiper-slide-duplicate-prev")>=0,isNext:u.indexOf("swiper-slide-next")>=0||u.indexOf("swiper-slide-duplicate-next")>=0},w=()=>"function"===typeof i?i(m):i;return n.createElement(s,C({ref:p,className:c("".concat(u).concat(a?" ".concat(a):"")),"data-swiper-slide-index":l},d),n.createElement(v.Provider,{value:m},o?n.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"===typeof o?o:void 0},w()):w()))}));S.displayName="SwiperSlide"},8486:function(e,t,s){"use strict";function n(e){return null!==e&&"object"===typeof e&&"constructor"in e&&e.constructor===Object}function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};Object.keys(t).forEach((s=>{"undefined"===typeof e[s]?e[s]=t[s]:n(t[s])&&n(e[s])&&Object.keys(t[s]).length>0&&i(e[s],t[s])}))}s.d(t,{pt:function(){return oe},lI:function(){return ue},SH:function(){return de},Gk:function(){return se},W_:function(){return ie},tl:function(){return re},ZP:function(){return te}});const a={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function r(){const e="undefined"!==typeof document?document:{};return i(e,a),e}const o={document:a,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"===typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!==typeof setTimeout&&clearTimeout(e)}};function l(){const e="undefined"!==typeof window?window:{};return i(e,o),e}class d extends Array{constructor(e){"number"===typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this))}}function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const t=[];return e.forEach((e=>{Array.isArray(e)?t.push(...c(e)):t.push(e)})),t}function p(e,t){return Array.prototype.filter.call(e,t)}function u(e,t){const s=l(),n=r();let i=[];if(!t&&e instanceof d)return e;if(!e)return new d(i);if("string"===typeof e){const s=e.trim();if(s.indexOf("<")>=0&&s.indexOf(">")>=0){let e="div";0===s.indexOf("<li")&&(e="ul"),0===s.indexOf("<tr")&&(e="tbody"),0!==s.indexOf("<td")&&0!==s.indexOf("<th")||(e="tr"),0===s.indexOf("<tbody")&&(e="table"),0===s.indexOf("<option")&&(e="select");const t=n.createElement(e);t.innerHTML=s;for(let s=0;s<t.childNodes.length;s+=1)i.push(t.childNodes[s])}else i=function(e,t){if("string"!==typeof e)return[e];const s=[],n=t.querySelectorAll(e);for(let i=0;i<n.length;i+=1)s.push(n[i]);return s}(e.trim(),t||n)}else if(e.nodeType||e===s||e===n)i.push(e);else if(Array.isArray(e)){if(e instanceof d)return e;i=e}return new d(function(e){const t=[];for(let s=0;s<e.length;s+=1)-1===t.indexOf(e[s])&&t.push(e[s]);return t}(i))}u.fn=d.prototype;const f="resize scroll".split(" ");function h(e){return function(){for(var t=arguments.length,s=new Array(t),n=0;n<t;n++)s[n]=arguments[n];if("undefined"===typeof s[0]){for(let t=0;t<this.length;t+=1)f.indexOf(e)<0&&(e in this[t]?this[t][e]():u(this[t]).trigger(e));return this}return this.on(e,...s)}}h("click"),h("blur"),h("focus"),h("focusin"),h("focusout"),h("keyup"),h("keydown"),h("keypress"),h("submit"),h("change"),h("mousedown"),h("mousemove"),h("mouseup"),h("mouseenter"),h("mouseleave"),h("mouseout"),h("mouseover"),h("touchstart"),h("touchend"),h("touchmove"),h("resize"),h("scroll");const m={addClass:function(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];const n=c(t.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.add(...n)})),this},removeClass:function(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];const n=c(t.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.remove(...n)})),this},hasClass:function(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];const n=c(t.map((e=>e.split(" "))));return p(this,(e=>n.filter((t=>e.classList.contains(t))).length>0)).length>0},toggleClass:function(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];const n=c(t.map((e=>e.split(" "))));this.forEach((e=>{n.forEach((t=>{e.classList.toggle(t)}))}))},attr:function(e,t){if(1===arguments.length&&"string"===typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let s=0;s<this.length;s+=1)if(2===arguments.length)this[s].setAttribute(e,t);else for(const t in e)this[s][t]=e[t],this[s].setAttribute(t,e[t]);return this},removeAttr:function(e){for(let t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},transform:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transform=e;return this},transition:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!==typeof e?"".concat(e,"ms"):e;return this},on:function(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];let[n,i,a,r]=t;function o(e){const t=e.target;if(!t)return;const s=e.target.dom7EventData||[];if(s.indexOf(e)<0&&s.unshift(e),u(t).is(i))a.apply(t,s);else{const e=u(t).parents();for(let t=0;t<e.length;t+=1)u(e[t]).is(i)&&a.apply(e[t],s)}}function l(e){const t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),a.apply(this,t)}"function"===typeof t[1]&&([n,a,r]=t,i=void 0),r||(r=!1);const d=n.split(" ");let c;for(let p=0;p<this.length;p+=1){const e=this[p];if(i)for(c=0;c<d.length;c+=1){const t=d[c];e.dom7LiveListeners||(e.dom7LiveListeners={}),e.dom7LiveListeners[t]||(e.dom7LiveListeners[t]=[]),e.dom7LiveListeners[t].push({listener:a,proxyListener:o}),e.addEventListener(t,o,r)}else for(c=0;c<d.length;c+=1){const t=d[c];e.dom7Listeners||(e.dom7Listeners={}),e.dom7Listeners[t]||(e.dom7Listeners[t]=[]),e.dom7Listeners[t].push({listener:a,proxyListener:l}),e.addEventListener(t,l,r)}}return this},off:function(){for(var e=arguments.length,t=new Array(e),s=0;s<e;s++)t[s]=arguments[s];let[n,i,a,r]=t;"function"===typeof t[1]&&([n,a,r]=t,i=void 0),r||(r=!1);const o=n.split(" ");for(let l=0;l<o.length;l+=1){const e=o[l];for(let t=0;t<this.length;t+=1){const s=this[t];let n;if(!i&&s.dom7Listeners?n=s.dom7Listeners[e]:i&&s.dom7LiveListeners&&(n=s.dom7LiveListeners[e]),n&&n.length)for(let t=n.length-1;t>=0;t-=1){const i=n[t];a&&i.listener===a||a&&i.listener&&i.listener.dom7proxy&&i.listener.dom7proxy===a?(s.removeEventListener(e,i.proxyListener,r),n.splice(t,1)):a||(s.removeEventListener(e,i.proxyListener,r),n.splice(t,1))}}}return this},trigger:function(){const e=l();for(var t=arguments.length,s=new Array(t),n=0;n<t;n++)s[n]=arguments[n];const i=s[0].split(" "),a=s[1];for(let r=0;r<i.length;r+=1){const t=i[r];for(let n=0;n<this.length;n+=1){const i=this[n];if(e.CustomEvent){const n=new e.CustomEvent(t,{detail:a,bubbles:!0,cancelable:!0});i.dom7EventData=s.filter(((e,t)=>t>0)),i.dispatchEvent(n),i.dom7EventData=[],delete i.dom7EventData}}}return this},transitionEnd:function(e){const t=this;return e&&t.on("transitionend",(function s(n){n.target===this&&(e.call(this,n),t.off("transitionend",s))})),this},outerWidth:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){const e=l();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){const e=l(),t=r(),s=this[0],n=s.getBoundingClientRect(),i=t.body,a=s.clientTop||i.clientTop||0,o=s.clientLeft||i.clientLeft||0,d=s===e?e.scrollY:s.scrollTop,c=s===e?e.scrollX:s.scrollLeft;return{top:n.top+d-a,left:n.left+c-o}}return null},css:function(e,t){const s=l();let n;if(1===arguments.length){if("string"!==typeof e){for(n=0;n<this.length;n+=1)for(const t in e)this[n].style[t]=e[t];return this}if(this[0])return s.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"===typeof e){for(n=0;n<this.length;n+=1)this[n].style[e]=t;return this}return this},each:function(e){return e?(this.forEach(((t,s)=>{e.apply(t,[t,s])})),this):this},html:function(e){if("undefined"===typeof e)return this[0]?this[0].innerHTML:null;for(let t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if("undefined"===typeof e)return this[0]?this[0].textContent.trim():null;for(let t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){const t=l(),s=r(),n=this[0];let i,a;if(!n||"undefined"===typeof e)return!1;if("string"===typeof e){if(n.matches)return n.matches(e);if(n.webkitMatchesSelector)return n.webkitMatchesSelector(e);if(n.msMatchesSelector)return n.msMatchesSelector(e);for(i=u(e),a=0;a<i.length;a+=1)if(i[a]===n)return!0;return!1}if(e===s)return n===s;if(e===t)return n===t;if(e.nodeType||e instanceof d){for(i=e.nodeType?[e]:e,a=0;a<i.length;a+=1)if(i[a]===n)return!0;return!1}return!1},index:function(){let e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if("undefined"===typeof e)return this;const t=this.length;if(e>t-1)return u([]);if(e<0){const s=t+e;return u(s<0?[]:[this[s]])}return u([this[e]])},append:function(){let e;const t=r();for(let s=0;s<arguments.length;s+=1){e=s<0||arguments.length<=s?void 0:arguments[s];for(let s=0;s<this.length;s+=1)if("string"===typeof e){const n=t.createElement("div");for(n.innerHTML=e;n.firstChild;)this[s].appendChild(n.firstChild)}else if(e instanceof d)for(let t=0;t<e.length;t+=1)this[s].appendChild(e[t]);else this[s].appendChild(e)}return this},prepend:function(e){const t=r();let s,n;for(s=0;s<this.length;s+=1)if("string"===typeof e){const i=t.createElement("div");for(i.innerHTML=e,n=i.childNodes.length-1;n>=0;n-=1)this[s].insertBefore(i.childNodes[n],this[s].childNodes[0])}else if(e instanceof d)for(n=0;n<e.length;n+=1)this[s].insertBefore(e[n],this[s].childNodes[0]);else this[s].insertBefore(e,this[s].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&u(this[0].nextElementSibling).is(e)?u([this[0].nextElementSibling]):u([]):this[0].nextElementSibling?u([this[0].nextElementSibling]):u([]):u([])},nextAll:function(e){const t=[];let s=this[0];if(!s)return u([]);for(;s.nextElementSibling;){const n=s.nextElementSibling;e?u(n).is(e)&&t.push(n):t.push(n),s=n}return u(t)},prev:function(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&u(t.previousElementSibling).is(e)?u([t.previousElementSibling]):u([]):t.previousElementSibling?u([t.previousElementSibling]):u([])}return u([])},prevAll:function(e){const t=[];let s=this[0];if(!s)return u([]);for(;s.previousElementSibling;){const n=s.previousElementSibling;e?u(n).is(e)&&t.push(n):t.push(n),s=n}return u(t)},parent:function(e){const t=[];for(let s=0;s<this.length;s+=1)null!==this[s].parentNode&&(e?u(this[s].parentNode).is(e)&&t.push(this[s].parentNode):t.push(this[s].parentNode));return u(t)},parents:function(e){const t=[];for(let s=0;s<this.length;s+=1){let n=this[s].parentNode;for(;n;)e?u(n).is(e)&&t.push(n):t.push(n),n=n.parentNode}return u(t)},closest:function(e){let t=this;return"undefined"===typeof e?u([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){const t=[];for(let s=0;s<this.length;s+=1){const n=this[s].querySelectorAll(e);for(let e=0;e<n.length;e+=1)t.push(n[e])}return u(t)},children:function(e){const t=[];for(let s=0;s<this.length;s+=1){const n=this[s].children;for(let s=0;s<n.length;s+=1)e&&!u(n[s]).is(e)||t.push(n[s])}return u(t)},filter:function(e){return u(p(this,e))},remove:function(){for(let e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}};Object.keys(m).forEach((e=>{Object.defineProperty(u.fn,e,{value:m[e],writable:!0})}));var g=u;function v(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function w(){return Date.now()}function b(e,t){void 0===t&&(t="x");const s=l();let n,i,a;const r=function(e){const t=l();let s;return t.getComputedStyle&&(s=t.getComputedStyle(e,null)),!s&&e.currentStyle&&(s=e.currentStyle),s||(s=e.style),s}(e);return s.WebKitCSSMatrix?(i=r.transform||r.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map((e=>e.replace(",","."))).join(", ")),a=new s.WebKitCSSMatrix("none"===i?"":i)):(a=r.MozTransform||r.OTransform||r.MsTransform||r.msTransform||r.transform||r.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),n=a.toString().split(",")),"x"===t&&(i=s.WebKitCSSMatrix?a.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(i=s.WebKitCSSMatrix?a.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),i||0}function y(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function C(e){return"undefined"!==typeof window&&"undefined"!==typeof window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function S(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let s=1;s<arguments.length;s+=1){const n=s<0||arguments.length<=s?void 0:arguments[s];if(void 0!==n&&null!==n&&!C(n)){const s=Object.keys(Object(n)).filter((e=>t.indexOf(e)<0));for(let t=0,i=s.length;t<i;t+=1){const i=s[t],a=Object.getOwnPropertyDescriptor(n,i);void 0!==a&&a.enumerable&&(y(e[i])&&y(n[i])?n[i].__swiper__?e[i]=n[i]:S(e[i],n[i]):!y(e[i])&&y(n[i])?(e[i]={},n[i].__swiper__?e[i]=n[i]:S(e[i],n[i])):e[i]=n[i])}}}return e}function T(e,t,s){e.style.setProperty(t,s)}function E(e){let{swiper:t,targetPosition:s,side:n}=e;const i=l(),a=-t.translate;let r,o=null;const d=t.params.speed;t.wrapperEl.style.scrollSnapType="none",i.cancelAnimationFrame(t.cssModeFrameID);const c=s>a?"next":"prev",p=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,u=()=>{r=(new Date).getTime(),null===o&&(o=r);const e=Math.max(Math.min((r-o)/d,1),0),l=.5-Math.cos(e*Math.PI)/2;let c=a+l*(s-a);if(p(c,s)&&(c=s),t.wrapperEl.scrollTo({[n]:c}),p(c,s))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[n]:c})})),void i.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=i.requestAnimationFrame(u)};u()}let x,M,P;function k(){return x||(x=function(){const e=l(),t=r();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const s=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,s)}catch(s){}return t}(),gestures:"ongesturestart"in e}}()),x}function O(e){return void 0===e&&(e={}),M||(M=function(e){let{userAgent:t}=void 0===e?{}:e;const s=k(),n=l(),i=n.navigator.platform,a=t||n.navigator.userAgent,r={ios:!1,android:!1},o=n.screen.width,d=n.screen.height,c=a.match(/(Android);?[\s\/]+([\d.]+)?/);let p=a.match(/(iPad).*OS\s([\d_]+)/);const u=a.match(/(iPod)(.*OS\s([\d_]+))?/),f=!p&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===i;let m="MacIntel"===i;return!p&&m&&s.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf("".concat(o,"x").concat(d))>=0&&(p=a.match(/(Version)\/([\d.]+)/),p||(p=[0,1,"13_0_0"]),m=!1),c&&!h&&(r.os="android",r.android=!0),(p||f||u)&&(r.os="ios",r.ios=!0),r}(e)),M}function L(){return P||(P=function(){const e=l();return{isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),P}var D={on(e,t,s){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!==typeof t)return n;const i=s?"unshift":"push";return e.split(" ").forEach((e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][i](t)})),n},once(e,t,s){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!==typeof t)return n;function i(){n.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var s=arguments.length,a=new Array(s),r=0;r<s;r++)a[r]=arguments[r];t.apply(n,a)}return i.__emitterProxy=t,n.on(e,i,s)},onAny(e,t){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!==typeof e)return s;const n=t?"unshift":"push";return s.eventsAnyListeners.indexOf(e)<0&&s.eventsAnyListeners[n](e),s},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const s=t.eventsAnyListeners.indexOf(e);return s>=0&&t.eventsAnyListeners.splice(s,1),t},off(e,t){const s=this;return!s.eventsListeners||s.destroyed?s:s.eventsListeners?(e.split(" ").forEach((e=>{"undefined"===typeof t?s.eventsListeners[e]=[]:s.eventsListeners[e]&&s.eventsListeners[e].forEach(((n,i)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&s.eventsListeners[e].splice(i,1)}))})),s):s},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,s,n;for(var i=arguments.length,a=new Array(i),r=0;r<i;r++)a[r]=arguments[r];"string"===typeof a[0]||Array.isArray(a[0])?(t=a[0],s=a.slice(1,a.length),n=e):(t=a[0].events,s=a[0].data,n=a[0].context||e),s.unshift(n);return(Array.isArray(t)?t:t.split(" ")).forEach((t=>{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(n,[t,...s])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(n,s)}))})),e}};var A={updateSize:function(){const e=this;let t,s;const n=e.$el;t="undefined"!==typeof e.params.width&&null!==e.params.width?e.params.width:n[0].clientWidth,s="undefined"!==typeof e.params.height&&null!==e.params.height?e.params.height:n[0].clientHeight,0===t&&e.isHorizontal()||0===s&&e.isVertical()||(t=t-parseInt(n.css("padding-left")||0,10)-parseInt(n.css("padding-right")||0,10),s=s-parseInt(n.css("padding-top")||0,10)-parseInt(n.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(s)&&(s=0),Object.assign(e,{width:t,height:s,size:e.isHorizontal()?t:s}))},updateSlides:function(){const e=this;function t(t){return e.isHorizontal()?t:{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"}[t]}function s(e,s){return parseFloat(e.getPropertyValue(t(s))||0)}const n=e.params,{$wrapperEl:i,size:a,rtlTranslate:r,wrongRTL:o}=e,l=e.virtual&&n.virtual.enabled,d=l?e.virtual.slides.length:e.slides.length,c=i.children(".".concat(e.params.slideClass)),p=l?e.virtual.slides.length:c.length;let u=[];const f=[],h=[];let m=n.slidesOffsetBefore;"function"===typeof m&&(m=n.slidesOffsetBefore.call(e));let g=n.slidesOffsetAfter;"function"===typeof g&&(g=n.slidesOffsetAfter.call(e));const v=e.snapGrid.length,w=e.slidesGrid.length;let b=n.spaceBetween,y=-m,C=0,S=0;if("undefined"===typeof a)return;"string"===typeof b&&b.indexOf("%")>=0&&(b=parseFloat(b.replace("%",""))/100*a),e.virtualSize=-b,r?c.css({marginLeft:"",marginBottom:"",marginTop:""}):c.css({marginRight:"",marginBottom:"",marginTop:""}),n.centeredSlides&&n.cssMode&&(T(e.wrapperEl,"--swiper-centered-offset-before",""),T(e.wrapperEl,"--swiper-centered-offset-after",""));const E=n.grid&&n.grid.rows>1&&e.grid;let x;E&&e.grid.initSlides(p);const M="auto"===n.slidesPerView&&n.breakpoints&&Object.keys(n.breakpoints).filter((e=>"undefined"!==typeof n.breakpoints[e].slidesPerView)).length>0;for(let T=0;T<p;T+=1){x=0;const i=c.eq(T);if(E&&e.grid.updateSlide(T,i,p,t),"none"!==i.css("display")){if("auto"===n.slidesPerView){M&&(c[T].style[t("width")]="");const a=getComputedStyle(i[0]),r=i[0].style.transform,o=i[0].style.webkitTransform;if(r&&(i[0].style.transform="none"),o&&(i[0].style.webkitTransform="none"),n.roundLengths)x=e.isHorizontal()?i.outerWidth(!0):i.outerHeight(!0);else{const e=s(a,"width"),t=s(a,"padding-left"),n=s(a,"padding-right"),r=s(a,"margin-left"),o=s(a,"margin-right"),l=a.getPropertyValue("box-sizing");if(l&&"border-box"===l)x=e+r+o;else{const{clientWidth:s,offsetWidth:a}=i[0];x=e+t+n+r+o+(a-s)}}r&&(i[0].style.transform=r),o&&(i[0].style.webkitTransform=o),n.roundLengths&&(x=Math.floor(x))}else x=(a-(n.slidesPerView-1)*b)/n.slidesPerView,n.roundLengths&&(x=Math.floor(x)),c[T]&&(c[T].style[t("width")]="".concat(x,"px"));c[T]&&(c[T].swiperSlideSize=x),h.push(x),n.centeredSlides?(y=y+x/2+C/2+b,0===C&&0!==T&&(y=y-a/2-b),0===T&&(y=y-a/2-b),Math.abs(y)<.001&&(y=0),n.roundLengths&&(y=Math.floor(y)),S%n.slidesPerGroup===0&&u.push(y),f.push(y)):(n.roundLengths&&(y=Math.floor(y)),(S-Math.min(e.params.slidesPerGroupSkip,S))%e.params.slidesPerGroup===0&&u.push(y),f.push(y),y=y+x+b),e.virtualSize+=x+b,C=x,S+=1}}if(e.virtualSize=Math.max(e.virtualSize,a)+g,r&&o&&("slide"===n.effect||"coverflow"===n.effect)&&i.css({width:"".concat(e.virtualSize+n.spaceBetween,"px")}),n.setWrapperSize&&i.css({[t("width")]:"".concat(e.virtualSize+n.spaceBetween,"px")}),E&&e.grid.updateWrapperSize(x,u,t),!n.centeredSlides){const t=[];for(let s=0;s<u.length;s+=1){let i=u[s];n.roundLengths&&(i=Math.floor(i)),u[s]<=e.virtualSize-a&&t.push(i)}u=t,Math.floor(e.virtualSize-a)-Math.floor(u[u.length-1])>1&&u.push(e.virtualSize-a)}if(0===u.length&&(u=[0]),0!==n.spaceBetween){const s=e.isHorizontal()&&r?"marginLeft":t("marginRight");c.filter(((e,t)=>!n.cssMode||t!==c.length-1)).css({[s]:"".concat(b,"px")})}if(n.centeredSlides&&n.centeredSlidesBounds){let e=0;h.forEach((t=>{e+=t+(n.spaceBetween?n.spaceBetween:0)})),e-=n.spaceBetween;const t=e-a;u=u.map((e=>e<0?-m:e>t?t+g:e))}if(n.centerInsufficientSlides){let e=0;if(h.forEach((t=>{e+=t+(n.spaceBetween?n.spaceBetween:0)})),e-=n.spaceBetween,e<a){const t=(a-e)/2;u.forEach(((e,s)=>{u[s]=e-t})),f.forEach(((e,s)=>{f[s]=e+t}))}}if(Object.assign(e,{slides:c,snapGrid:u,slidesGrid:f,slidesSizesGrid:h}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){T(e.wrapperEl,"--swiper-centered-offset-before","".concat(-u[0],"px")),T(e.wrapperEl,"--swiper-centered-offset-after","".concat(e.size/2-h[h.length-1]/2,"px"));const t=-e.snapGrid[0],s=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+s))}if(p!==d&&e.emit("slidesLengthChange"),u.length!==v&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),f.length!==w&&e.emit("slidesGridLengthChange"),n.watchSlidesProgress&&e.updateSlidesOffset(),!l&&!n.cssMode&&("slide"===n.effect||"fade"===n.effect)){const t="".concat(n.containerModifierClass,"backface-hidden"),s=e.$el.hasClass(t);p<=n.maxBackfaceHiddenSlides?s||e.$el.addClass(t):s&&e.$el.removeClass(t)}},updateAutoHeight:function(e){const t=this,s=[],n=t.virtual&&t.params.virtual.enabled;let i,a=0;"number"===typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const r=e=>n?t.slides.filter((t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e))[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||g([])).each((e=>{s.push(e)}));else for(i=0;i<Math.ceil(t.params.slidesPerView);i+=1){const e=t.activeIndex+i;if(e>t.slides.length&&!n)break;s.push(r(e))}else s.push(r(t.activeIndex));for(i=0;i<s.length;i+=1)if("undefined"!==typeof s[i]){const e=s[i].offsetHeight;a=e>a?e:a}(a||0===a)&&t.$wrapperEl.css("height","".concat(a,"px"))},updateSlidesOffset:function(){const e=this,t=e.slides;for(let s=0;s<t.length;s+=1)t[s].swiperSlideOffset=e.isHorizontal()?t[s].offsetLeft:t[s].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,s=t.params,{slides:n,rtlTranslate:i,snapGrid:a}=t;if(0===n.length)return;"undefined"===typeof n[0].swiperSlideOffset&&t.updateSlidesOffset();let r=-e;i&&(r=e),n.removeClass(s.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let o=0;o<n.length;o+=1){const e=n[o];let l=e.swiperSlideOffset;s.cssMode&&s.centeredSlides&&(l-=n[0].swiperSlideOffset);const d=(r+(s.centeredSlides?t.minTranslate():0)-l)/(e.swiperSlideSize+s.spaceBetween),c=(r-a[0]+(s.centeredSlides?t.minTranslate():0)-l)/(e.swiperSlideSize+s.spaceBetween),p=-(r-l),u=p+t.slidesSizesGrid[o];(p>=0&&p<t.size-1||u>1&&u<=t.size||p<=0&&u>=t.size)&&(t.visibleSlides.push(e),t.visibleSlidesIndexes.push(o),n.eq(o).addClass(s.slideVisibleClass)),e.progress=i?-d:d,e.originalProgress=i?-c:c}t.visibleSlides=g(t.visibleSlides)},updateProgress:function(e){const t=this;if("undefined"===typeof e){const s=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*s||0}const s=t.params,n=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:a,isEnd:r}=t;const o=a,l=r;0===n?(i=0,a=!0,r=!0):(i=(e-t.minTranslate())/n,a=i<=0,r=i>=1),Object.assign(t,{progress:i,isBeginning:a,isEnd:r}),(s.watchSlidesProgress||s.centeredSlides&&s.autoHeight)&&t.updateSlidesProgress(e),a&&!o&&t.emit("reachBeginning toEdge"),r&&!l&&t.emit("reachEnd toEdge"),(o&&!a||l&&!r)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){const e=this,{slides:t,params:s,$wrapperEl:n,activeIndex:i,realIndex:a}=e,r=e.virtual&&s.virtual.enabled;let o;t.removeClass("".concat(s.slideActiveClass," ").concat(s.slideNextClass," ").concat(s.slidePrevClass," ").concat(s.slideDuplicateActiveClass," ").concat(s.slideDuplicateNextClass," ").concat(s.slideDuplicatePrevClass)),o=r?e.$wrapperEl.find(".".concat(s.slideClass,'[data-swiper-slide-index="').concat(i,'"]')):t.eq(i),o.addClass(s.slideActiveClass),s.loop&&(o.hasClass(s.slideDuplicateClass)?n.children(".".concat(s.slideClass,":not(.").concat(s.slideDuplicateClass,')[data-swiper-slide-index="').concat(a,'"]')).addClass(s.slideDuplicateActiveClass):n.children(".".concat(s.slideClass,".").concat(s.slideDuplicateClass,'[data-swiper-slide-index="').concat(a,'"]')).addClass(s.slideDuplicateActiveClass));let l=o.nextAll(".".concat(s.slideClass)).eq(0).addClass(s.slideNextClass);s.loop&&0===l.length&&(l=t.eq(0),l.addClass(s.slideNextClass));let d=o.prevAll(".".concat(s.slideClass)).eq(0).addClass(s.slidePrevClass);s.loop&&0===d.length&&(d=t.eq(-1),d.addClass(s.slidePrevClass)),s.loop&&(l.hasClass(s.slideDuplicateClass)?n.children(".".concat(s.slideClass,":not(.").concat(s.slideDuplicateClass,')[data-swiper-slide-index="').concat(l.attr("data-swiper-slide-index"),'"]')).addClass(s.slideDuplicateNextClass):n.children(".".concat(s.slideClass,".").concat(s.slideDuplicateClass,'[data-swiper-slide-index="').concat(l.attr("data-swiper-slide-index"),'"]')).addClass(s.slideDuplicateNextClass),d.hasClass(s.slideDuplicateClass)?n.children(".".concat(s.slideClass,":not(.").concat(s.slideDuplicateClass,')[data-swiper-slide-index="').concat(d.attr("data-swiper-slide-index"),'"]')).addClass(s.slideDuplicatePrevClass):n.children(".".concat(s.slideClass,".").concat(s.slideDuplicateClass,'[data-swiper-slide-index="').concat(d.attr("data-swiper-slide-index"),'"]')).addClass(s.slideDuplicatePrevClass)),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,s=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:n,snapGrid:i,params:a,activeIndex:r,realIndex:o,snapIndex:l}=t;let d,c=e;if("undefined"===typeof c){for(let e=0;e<n.length;e+=1)"undefined"!==typeof n[e+1]?s>=n[e]&&s<n[e+1]-(n[e+1]-n[e])/2?c=e:s>=n[e]&&s<n[e+1]&&(c=e+1):s>=n[e]&&(c=e);a.normalizeSlideIndex&&(c<0||"undefined"===typeof c)&&(c=0)}if(i.indexOf(s)>=0)d=i.indexOf(s);else{const e=Math.min(a.slidesPerGroupSkip,c);d=e+Math.floor((c-e)/a.slidesPerGroup)}if(d>=i.length&&(d=i.length-1),c===r)return void(d!==l&&(t.snapIndex=d,t.emit("snapIndexChange")));const p=parseInt(t.slides.eq(c).attr("data-swiper-slide-index")||c,10);Object.assign(t,{snapIndex:d,realIndex:p,previousIndex:r,activeIndex:c}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),o!==p&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){const t=this,s=t.params,n=g(e).closest(".".concat(s.slideClass))[0];let i,a=!1;if(n)for(let r=0;r<t.slides.length;r+=1)if(t.slides[r]===n){a=!0,i=r;break}if(!n||!a)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=n,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(g(n).attr("data-swiper-slide-index"),10):t.clickedIndex=i,s.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}};var I={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:s,translate:n,$wrapperEl:i}=this;if(t.virtualTranslate)return s?-n:n;if(t.cssMode)return n;let a=b(i[0],e);return s&&(a=-a),a||0},setTranslate:function(e,t){const s=this,{rtlTranslate:n,params:i,$wrapperEl:a,wrapperEl:r,progress:o}=s;let l,d=0,c=0;s.isHorizontal()?d=n?-e:e:c=e,i.roundLengths&&(d=Math.floor(d),c=Math.floor(c)),i.cssMode?r[s.isHorizontal()?"scrollLeft":"scrollTop"]=s.isHorizontal()?-d:-c:i.virtualTranslate||a.transform("translate3d(".concat(d,"px, ").concat(c,"px, ").concat(0,"px)")),s.previousTranslate=s.translate,s.translate=s.isHorizontal()?d:c;const p=s.maxTranslate()-s.minTranslate();l=0===p?0:(e-s.minTranslate())/p,l!==o&&s.updateProgress(e),s.emit("setTranslate",s.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,s,n,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===s&&(s=!0),void 0===n&&(n=!0);const a=this,{params:r,wrapperEl:o}=a;if(a.animating&&r.preventInteractionOnTransition)return!1;const l=a.minTranslate(),d=a.maxTranslate();let c;if(c=n&&e>l?l:n&&e<d?d:e,a.updateProgress(c),r.cssMode){const e=a.isHorizontal();if(0===t)o[e?"scrollLeft":"scrollTop"]=-c;else{if(!a.support.smoothScroll)return E({swiper:a,targetPosition:-c,side:e?"left":"top"}),!0;o.scrollTo({[e?"left":"top"]:-c,behavior:"smooth"})}return!0}return 0===t?(a.setTransition(0),a.setTranslate(c),s&&(a.emit("beforeTransitionStart",t,i),a.emit("transitionEnd"))):(a.setTransition(t),a.setTranslate(c),s&&(a.emit("beforeTransitionStart",t,i),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,s&&a.emit("transitionEnd"))}),a.$wrapperEl[0].addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onTranslateToWrapperTransitionEnd))),!0}};function z(e){let{swiper:t,runCallbacks:s,direction:n,step:i}=e;const{activeIndex:a,previousIndex:r}=t;let o=n;if(o||(o=a>r?"next":a<r?"prev":"reset"),t.emit("transition".concat(i)),s&&a!==r){if("reset"===o)return void t.emit("slideResetTransition".concat(i));t.emit("slideChangeTransition".concat(i)),"next"===o?t.emit("slideNextTransition".concat(i)):t.emit("slidePrevTransition".concat(i))}}var B={slideTo:function(e,t,s,n,i){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===s&&(s=!0),"number"!==typeof e&&"string"!==typeof e)throw new Error("The 'index' argument cannot have type other than 'number' or 'string'. [".concat(typeof e,"] given."));if("string"===typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. [".concat(e,"] given."));e=t}const a=this;let r=e;r<0&&(r=0);const{params:o,snapGrid:l,slidesGrid:d,previousIndex:c,activeIndex:p,rtlTranslate:u,wrapperEl:f,enabled:h}=a;if(a.animating&&o.preventInteractionOnTransition||!h&&!n&&!i)return!1;const m=Math.min(a.params.slidesPerGroupSkip,r);let g=m+Math.floor((r-m)/a.params.slidesPerGroup);g>=l.length&&(g=l.length-1),(p||o.initialSlide||0)===(c||0)&&s&&a.emit("beforeSlideChangeStart");const v=-l[g];if(a.updateProgress(v),o.normalizeSlideIndex)for(let b=0;b<d.length;b+=1){const e=-Math.floor(100*v),t=Math.floor(100*d[b]),s=Math.floor(100*d[b+1]);"undefined"!==typeof d[b+1]?e>=t&&e<s-(s-t)/2?r=b:e>=t&&e<s&&(r=b+1):e>=t&&(r=b)}if(a.initialized&&r!==p){if(!a.allowSlideNext&&v<a.translate&&v<a.minTranslate())return!1;if(!a.allowSlidePrev&&v>a.translate&&v>a.maxTranslate()&&(p||0)!==r)return!1}let w;if(w=r>p?"next":r<p?"prev":"reset",u&&-v===a.translate||!u&&v===a.translate)return a.updateActiveIndex(r),o.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==o.effect&&a.setTranslate(v),"reset"!==w&&(a.transitionStart(s,w),a.transitionEnd(s,w)),!1;if(o.cssMode){const e=a.isHorizontal(),s=u?v:-v;if(0===t){const t=a.virtual&&a.params.virtual.enabled;t&&(a.wrapperEl.style.scrollSnapType="none",a._immediateVirtual=!0),f[e?"scrollLeft":"scrollTop"]=s,t&&requestAnimationFrame((()=>{a.wrapperEl.style.scrollSnapType="",a._swiperImmediateVirtual=!1}))}else{if(!a.support.smoothScroll)return E({swiper:a,targetPosition:s,side:e?"left":"top"}),!0;f.scrollTo({[e?"left":"top"]:s,behavior:"smooth"})}return!0}return a.setTransition(t),a.setTranslate(v),a.updateActiveIndex(r),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,n),a.transitionStart(s,w),0===t?a.transitionEnd(s,w):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.$wrapperEl[0].removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].removeEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(s,w))}),a.$wrapperEl[0].addEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.$wrapperEl[0].addEventListener("webkitTransitionEnd",a.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,s,n){if(void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===s&&(s=!0),"string"===typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. [".concat(e,"] given."));e=t}const i=this;let a=e;return i.params.loop&&(a+=i.loopedSlides),i.slideTo(a,t,s,n)},slideNext:function(e,t,s){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const n=this,{animating:i,enabled:a,params:r}=n;if(!a)return n;let o=r.slidesPerGroup;"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(o=Math.max(n.slidesPerViewDynamic("current",!0),1));const l=n.activeIndex<r.slidesPerGroupSkip?1:o;if(r.loop){if(i&&r.loopPreventsSlide)return!1;n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft}return r.rewind&&n.isEnd?n.slideTo(0,e,t,s):n.slideTo(n.activeIndex+l,e,t,s)},slidePrev:function(e,t,s){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);const n=this,{params:i,animating:a,snapGrid:r,slidesGrid:o,rtlTranslate:l,enabled:d}=n;if(!d)return n;if(i.loop){if(a&&i.loopPreventsSlide)return!1;n.loopFix(),n._clientLeft=n.$wrapperEl[0].clientLeft}function c(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=c(l?n.translate:-n.translate),u=r.map((e=>c(e)));let f=r[u.indexOf(p)-1];if("undefined"===typeof f&&i.cssMode){let e;r.forEach(((t,s)=>{p>=t&&(e=s)})),"undefined"!==typeof e&&(f=r[e>0?e-1:e])}let h=0;if("undefined"!==typeof f&&(h=o.indexOf(f),h<0&&(h=n.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(h=h-n.slidesPerViewDynamic("previous",!0)+1,h=Math.max(h,0))),i.rewind&&n.isBeginning){const i=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(i,e,t,s)}return n.slideTo(h,e,t,s)},slideReset:function(e,t,s){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,s)},slideToClosest:function(e,t,s,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===n&&(n=.5);const i=this;let a=i.activeIndex;const r=Math.min(i.params.slidesPerGroupSkip,a),o=r+Math.floor((a-r)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[o]){const e=i.snapGrid[o];l-e>(i.snapGrid[o+1]-e)*n&&(a+=i.params.slidesPerGroup)}else{const e=i.snapGrid[o-1];l-e<=(i.snapGrid[o]-e)*n&&(a-=i.params.slidesPerGroup)}return a=Math.max(a,0),a=Math.min(a,i.slidesGrid.length-1),i.slideTo(a,e,t,s)},slideToClickedSlide:function(){const e=this,{params:t,$wrapperEl:s}=e,n="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,a=e.clickedIndex;if(t.loop){if(e.animating)return;i=parseInt(g(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?a<e.loopedSlides-n/2||a>e.slides.length-e.loopedSlides+n/2?(e.loopFix(),a=s.children(".".concat(t.slideClass,'[data-swiper-slide-index="').concat(i,'"]:not(.').concat(t.slideDuplicateClass,")")).eq(0).index(),v((()=>{e.slideTo(a)}))):e.slideTo(a):a>e.slides.length-n?(e.loopFix(),a=s.children(".".concat(t.slideClass,'[data-swiper-slide-index="').concat(i,'"]:not(.').concat(t.slideDuplicateClass,")")).eq(0).index(),v((()=>{e.slideTo(a)}))):e.slideTo(a)}else e.slideTo(a)}};var N={loopCreate:function(){const e=this,t=r(),{params:s,$wrapperEl:n}=e,i=n.children().length>0?g(n.children()[0].parentNode):n;i.children(".".concat(s.slideClass,".").concat(s.slideDuplicateClass)).remove();let a=i.children(".".concat(s.slideClass));if(s.loopFillGroupWithBlank){const e=s.slidesPerGroup-a.length%s.slidesPerGroup;if(e!==s.slidesPerGroup){for(let n=0;n<e;n+=1){const e=g(t.createElement("div")).addClass("".concat(s.slideClass," ").concat(s.slideBlankClass));i.append(e)}a=i.children(".".concat(s.slideClass))}}"auto"!==s.slidesPerView||s.loopedSlides||(s.loopedSlides=a.length),e.loopedSlides=Math.ceil(parseFloat(s.loopedSlides||s.slidesPerView,10)),e.loopedSlides+=s.loopAdditionalSlides,e.loopedSlides>a.length&&(e.loopedSlides=a.length);const o=[],l=[];a.each(((t,s)=>{const n=g(t);s<e.loopedSlides&&l.push(t),s<a.length&&s>=a.length-e.loopedSlides&&o.push(t),n.attr("data-swiper-slide-index",s)}));for(let r=0;r<l.length;r+=1)i.append(g(l[r].cloneNode(!0)).addClass(s.slideDuplicateClass));for(let r=o.length-1;r>=0;r-=1)i.prepend(g(o[r].cloneNode(!0)).addClass(s.slideDuplicateClass))},loopFix:function(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:s,loopedSlides:n,allowSlidePrev:i,allowSlideNext:a,snapGrid:r,rtlTranslate:o}=e;let l;e.allowSlidePrev=!0,e.allowSlideNext=!0;const d=-r[t]-e.getTranslate();if(t<n){l=s.length-3*n+t,l+=n;e.slideTo(l,0,!1,!0)&&0!==d&&e.setTranslate((o?-e.translate:e.translate)-d)}else if(t>=s.length-n){l=-s.length+t+n,l+=n;e.slideTo(l,0,!1,!0)&&0!==d&&e.setTranslate((o?-e.translate:e.translate)-d)}e.allowSlidePrev=i,e.allowSlideNext=a,e.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:e,params:t,slides:s}=this;e.children(".".concat(t.slideClass,".").concat(t.slideDuplicateClass,",.").concat(t.slideClass,".").concat(t.slideBlankClass)).remove(),s.removeAttr("data-swiper-slide-index")}};function _(e){const t=this,s=r(),n=l(),i=t.touchEventsData,{params:a,touches:o,enabled:d}=t;if(!d)return;if(t.animating&&a.preventInteractionOnTransition)return;!t.animating&&a.cssMode&&a.loop&&t.loopFix();let c=e;c.originalEvent&&(c=c.originalEvent);let p=g(c.target);if("wrapper"===a.touchEventsTarget&&!p.closest(t.wrapperEl).length)return;if(i.isTouchEvent="touchstart"===c.type,!i.isTouchEvent&&"which"in c&&3===c.which)return;if(!i.isTouchEvent&&"button"in c&&c.button>0)return;if(i.isTouched&&i.isMoved)return;!!a.noSwipingClass&&""!==a.noSwipingClass&&c.target&&c.target.shadowRoot&&e.path&&e.path[0]&&(p=g(e.path[0]));const u=a.noSwipingSelector?a.noSwipingSelector:".".concat(a.noSwipingClass),f=!(!c.target||!c.target.shadowRoot);if(a.noSwiping&&(f?function(e,t){return void 0===t&&(t=this),function t(s){if(!s||s===r()||s===l())return null;s.assignedSlot&&(s=s.assignedSlot);const n=s.closest(e);return n||s.getRootNode?n||t(s.getRootNode().host):null}(t)}(u,p[0]):p.closest(u)[0]))return void(t.allowClick=!0);if(a.swipeHandler&&!p.closest(a.swipeHandler)[0])return;o.currentX="touchstart"===c.type?c.targetTouches[0].pageX:c.pageX,o.currentY="touchstart"===c.type?c.targetTouches[0].pageY:c.pageY;const h=o.currentX,m=o.currentY,v=a.edgeSwipeDetection||a.iOSEdgeSwipeDetection,b=a.edgeSwipeThreshold||a.iOSEdgeSwipeThreshold;if(v&&(h<=b||h>=n.innerWidth-b)){if("prevent"!==v)return;e.preventDefault()}if(Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=h,o.startY=m,i.touchStartTime=w(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,a.threshold>0&&(i.allowThresholdMove=!1),"touchstart"!==c.type){let e=!0;p.is(i.focusableElements)&&(e=!1,"SELECT"===p[0].nodeName&&(i.isTouched=!1)),s.activeElement&&g(s.activeElement).is(i.focusableElements)&&s.activeElement!==p[0]&&s.activeElement.blur();const n=e&&t.allowTouchMove&&a.touchStartPreventDefault;!a.touchStartForcePreventDefault&&!n||p[0].isContentEditable||c.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!a.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",c)}function G(e){const t=r(),s=this,n=s.touchEventsData,{params:i,touches:a,rtlTranslate:o,enabled:l}=s;if(!l)return;let d=e;if(d.originalEvent&&(d=d.originalEvent),!n.isTouched)return void(n.startMoving&&n.isScrolling&&s.emit("touchMoveOpposite",d));if(n.isTouchEvent&&"touchmove"!==d.type)return;const c="touchmove"===d.type&&d.targetTouches&&(d.targetTouches[0]||d.changedTouches[0]),p="touchmove"===d.type?c.pageX:d.pageX,u="touchmove"===d.type?c.pageY:d.pageY;if(d.preventedByNestedSwiper)return a.startX=p,void(a.startY=u);if(!s.allowTouchMove)return g(d.target).is(n.focusableElements)||(s.allowClick=!1),void(n.isTouched&&(Object.assign(a,{startX:p,startY:u,currentX:p,currentY:u}),n.touchStartTime=w()));if(n.isTouchEvent&&i.touchReleaseOnEdges&&!i.loop)if(s.isVertical()){if(u<a.startY&&s.translate<=s.maxTranslate()||u>a.startY&&s.translate>=s.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(p<a.startX&&s.translate<=s.maxTranslate()||p>a.startX&&s.translate>=s.minTranslate())return;if(n.isTouchEvent&&t.activeElement&&d.target===t.activeElement&&g(d.target).is(n.focusableElements))return n.isMoved=!0,void(s.allowClick=!1);if(n.allowTouchCallbacks&&s.emit("touchMove",d),d.targetTouches&&d.targetTouches.length>1)return;a.currentX=p,a.currentY=u;const f=a.currentX-a.startX,h=a.currentY-a.startY;if(s.params.threshold&&Math.sqrt(f**2+h**2)<s.params.threshold)return;if("undefined"===typeof n.isScrolling){let e;s.isHorizontal()&&a.currentY===a.startY||s.isVertical()&&a.currentX===a.startX?n.isScrolling=!1:f*f+h*h>=25&&(e=180*Math.atan2(Math.abs(h),Math.abs(f))/Math.PI,n.isScrolling=s.isHorizontal()?e>i.touchAngle:90-e>i.touchAngle)}if(n.isScrolling&&s.emit("touchMoveOpposite",d),"undefined"===typeof n.startMoving&&(a.currentX===a.startX&&a.currentY===a.startY||(n.startMoving=!0)),n.isScrolling)return void(n.isTouched=!1);if(!n.startMoving)return;s.allowClick=!1,!i.cssMode&&d.cancelable&&d.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&d.stopPropagation(),n.isMoved||(i.loop&&!i.cssMode&&s.loopFix(),n.startTranslate=s.getTranslate(),s.setTransition(0),s.animating&&s.$wrapperEl.trigger("webkitTransitionEnd transitionend"),n.allowMomentumBounce=!1,!i.grabCursor||!0!==s.allowSlideNext&&!0!==s.allowSlidePrev||s.setGrabCursor(!0),s.emit("sliderFirstMove",d)),s.emit("sliderMove",d),n.isMoved=!0;let m=s.isHorizontal()?f:h;a.diff=m,m*=i.touchRatio,o&&(m=-m),s.swipeDirection=m>0?"prev":"next",n.currentTranslate=m+n.startTranslate;let v=!0,b=i.resistanceRatio;if(i.touchReleaseOnEdges&&(b=0),m>0&&n.currentTranslate>s.minTranslate()?(v=!1,i.resistance&&(n.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+n.startTranslate+m)**b)):m<0&&n.currentTranslate<s.maxTranslate()&&(v=!1,i.resistance&&(n.currentTranslate=s.maxTranslate()+1-(s.maxTranslate()-n.startTranslate-m)**b)),v&&(d.preventedByNestedSwiper=!0),!s.allowSlideNext&&"next"===s.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!s.allowSlidePrev&&"prev"===s.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),s.allowSlidePrev||s.allowSlideNext||(n.currentTranslate=n.startTranslate),i.threshold>0){if(!(Math.abs(m)>i.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);if(!n.allowThresholdMove)return n.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,n.currentTranslate=n.startTranslate,void(a.diff=s.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY)}i.followFinger&&!i.cssMode&&((i.freeMode&&i.freeMode.enabled&&s.freeMode||i.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),s.params.freeMode&&i.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(n.currentTranslate),s.setTranslate(n.currentTranslate))}function $(e){const t=this,s=t.touchEventsData,{params:n,touches:i,rtlTranslate:a,slidesGrid:r,enabled:o}=t;if(!o)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),s.allowTouchCallbacks&&t.emit("touchEnd",l),s.allowTouchCallbacks=!1,!s.isTouched)return s.isMoved&&n.grabCursor&&t.setGrabCursor(!1),s.isMoved=!1,void(s.startMoving=!1);n.grabCursor&&s.isMoved&&s.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const d=w(),c=d-s.touchStartTime;if(t.allowClick){const e=l.path||l.composedPath&&l.composedPath();t.updateClickedSlide(e&&e[0]||l.target),t.emit("tap click",l),c<300&&d-s.lastClickTime<300&&t.emit("doubleTap doubleClick",l)}if(s.lastClickTime=w(),v((()=>{t.destroyed||(t.allowClick=!0)})),!s.isTouched||!s.isMoved||!t.swipeDirection||0===i.diff||s.currentTranslate===s.startTranslate)return s.isTouched=!1,s.isMoved=!1,void(s.startMoving=!1);let p;if(s.isTouched=!1,s.isMoved=!1,s.startMoving=!1,p=n.followFinger?a?t.translate:-t.translate:-s.currentTranslate,n.cssMode)return;if(t.params.freeMode&&n.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:p});let u=0,f=t.slidesSizesGrid[0];for(let v=0;v<r.length;v+=v<n.slidesPerGroupSkip?1:n.slidesPerGroup){const e=v<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;"undefined"!==typeof r[v+e]?p>=r[v]&&p<r[v+e]&&(u=v,f=r[v+e]-r[v]):p>=r[v]&&(u=v,f=r[r.length-1]-r[r.length-2])}let h=null,m=null;n.rewind&&(t.isBeginning?m=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(h=0));const g=(p-r[u])/f,b=u<n.slidesPerGroupSkip-1?1:n.slidesPerGroup;if(c>n.longSwipesMs){if(!n.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(g>=n.longSwipesRatio?t.slideTo(n.rewind&&t.isEnd?h:u+b):t.slideTo(u)),"prev"===t.swipeDirection&&(g>1-n.longSwipesRatio?t.slideTo(u+b):null!==m&&g<0&&Math.abs(g)>n.longSwipesRatio?t.slideTo(m):t.slideTo(u))}else{if(!n.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(l.target===t.navigation.nextEl||l.target===t.navigation.prevEl)?l.target===t.navigation.nextEl?t.slideTo(u+b):t.slideTo(u):("next"===t.swipeDirection&&t.slideTo(null!==h?h:u+b),"prev"===t.swipeDirection&&t.slideTo(null!==m?m:u))}}function R(){const e=this,{params:t,el:s}=e;if(s&&0===s.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:i,snapGrid:a}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=i,e.allowSlideNext=n,e.params.watchOverflow&&a!==e.snapGrid&&e.checkOverflow()}function F(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function H(){const e=this,{wrapperEl:t,rtlTranslate:s,enabled:n}=e;if(!n)return;let i;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const a=e.maxTranslate()-e.minTranslate();i=0===a?0:(e.translate-e.minTranslate())/a,i!==e.progress&&e.updateProgress(s?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let j=!1;function V(){}const W=(e,t)=>{const s=r(),{params:n,touchEvents:i,el:a,wrapperEl:o,device:l,support:d}=e,c=!!n.nested,p="on"===t?"addEventListener":"removeEventListener",u=t;if(d.touch){const t=!("touchstart"!==i.start||!d.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};a[p](i.start,e.onTouchStart,t),a[p](i.move,e.onTouchMove,d.passiveListener?{passive:!1,capture:c}:c),a[p](i.end,e.onTouchEnd,t),i.cancel&&a[p](i.cancel,e.onTouchEnd,t)}else a[p](i.start,e.onTouchStart,!1),s[p](i.move,e.onTouchMove,c),s[p](i.end,e.onTouchEnd,!1);(n.preventClicks||n.preventClicksPropagation)&&a[p]("click",e.onClick,!0),n.cssMode&&o[p]("scroll",e.onScroll),n.updateOnWindowResize?e[u](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",R,!0):e[u]("observerUpdate",R,!0)};var Y={attachEvents:function(){const e=this,t=r(),{params:s,support:n}=e;e.onTouchStart=_.bind(e),e.onTouchMove=G.bind(e),e.onTouchEnd=$.bind(e),s.cssMode&&(e.onScroll=H.bind(e)),e.onClick=F.bind(e),n.touch&&!j&&(t.addEventListener("touchstart",V),j=!0),W(e,"on")},detachEvents:function(){W(this,"off")}};const X=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var U={setBreakpoint:function(){const e=this,{activeIndex:t,initialized:s,loopedSlides:n=0,params:i,$el:a}=e,r=i.breakpoints;if(!r||r&&0===Object.keys(r).length)return;const o=e.getBreakpoint(r,e.params.breakpointsBase,e.el);if(!o||e.currentBreakpoint===o)return;const l=(o in r?r[o]:void 0)||e.originalParams,d=X(e,i),c=X(e,l),p=i.enabled;d&&!c?(a.removeClass("".concat(i.containerModifierClass,"grid ").concat(i.containerModifierClass,"grid-column")),e.emitContainerClasses()):!d&&c&&(a.addClass("".concat(i.containerModifierClass,"grid")),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===i.grid.fill)&&a.addClass("".concat(i.containerModifierClass,"grid-column")),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{const s=i[t]&&i[t].enabled,n=l[t]&&l[t].enabled;s&&!n&&e[t].disable(),!s&&n&&e[t].enable()}));const u=l.direction&&l.direction!==i.direction,f=i.loop&&(l.slidesPerView!==i.slidesPerView||u);u&&s&&e.changeDirection(),S(e.params,l);const h=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),p&&!h?e.disable():!p&&h&&e.enable(),e.currentBreakpoint=o,e.emit("_beforeBreakpoint",l),f&&s&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-n+e.loopedSlides,0,!1)),e.emit("breakpoint",l)},getBreakpoint:function(e,t,s){if(void 0===t&&(t="window"),!e||"container"===t&&!s)return;let n=!1;const i=l(),a="window"===t?i.innerHeight:s.clientHeight,r=Object.keys(e).map((e=>{if("string"===typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:a*t,point:e}}return{value:e,point:e}}));r.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let o=0;o<r.length;o+=1){const{point:e,value:a}=r[o];"window"===t?i.matchMedia("(min-width: ".concat(a,"px)")).matches&&(n=e):a<=s.clientWidth&&(n=e)}return n||"max"}};var q={addClasses:function(){const e=this,{classNames:t,params:s,rtl:n,$el:i,device:a,support:r}=e,o=function(e,t){const s=[];return e.forEach((e=>{"object"===typeof e?Object.keys(e).forEach((n=>{e[n]&&s.push(t+n)})):"string"===typeof e&&s.push(t+e)})),s}(["initialized",s.direction,{"pointer-events":!r.touch},{"free-mode":e.params.freeMode&&s.freeMode.enabled},{autoheight:s.autoHeight},{rtl:n},{grid:s.grid&&s.grid.rows>1},{"grid-column":s.grid&&s.grid.rows>1&&"column"===s.grid.fill},{android:a.android},{ios:a.ios},{"css-mode":s.cssMode},{centered:s.cssMode&&s.centeredSlides},{"watch-progress":s.watchSlidesProgress}],s.containerModifierClass);t.push(...o),i.addClass([...t].join(" ")),e.emitContainerClasses()},removeClasses:function(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}};var K={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,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:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!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-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function Z(e,t){return function(s){void 0===s&&(s={});const n=Object.keys(s)[0],i=s[n];"object"===typeof i&&null!==i?(["navigation","pagination","scrollbar"].indexOf(n)>=0&&!0===e[n]&&(e[n]={auto:!0}),n in e&&"enabled"in i?(!0===e[n]&&(e[n]={enabled:!0}),"object"!==typeof e[n]||"enabled"in e[n]||(e[n].enabled=!0),e[n]||(e[n]={enabled:!1}),S(t,s)):S(t,s)):S(t,s)}}const J={eventsEmitter:D,update:A,translate:I,transition:{setTransition:function(e,t){const s=this;s.params.cssMode||s.$wrapperEl.transition(e),s.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const s=this,{params:n}=s;n.cssMode||(n.autoHeight&&s.updateAutoHeight(),z({swiper:s,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const s=this,{params:n}=s;s.animating=!1,n.cssMode||(s.setTransition(0),z({swiper:s,runCallbacks:e,direction:t,step:"End"}))}},slide:B,loop:N,grabCursor:{setGrabCursor:function(e){const t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const s="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;s.style.cursor="move",s.style.cursor=e?"grabbing":"grab"},unsetGrabCursor:function(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:Y,breakpoints:U,checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:s}=e,{slidesOffsetBefore:n}=s;if(n){const t=e.slides.length-1,s=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*n;e.isLocked=e.size>s}else e.isLocked=1===e.snapGrid.length;!0===s.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===s.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:q,images:{loadImage:function(e,t,s,n,i,a){const r=l();let o;function d(){a&&a()}g(e).parent("picture")[0]||e.complete&&i?d():t?(o=new r.Image,o.onload=d,o.onerror=d,n&&(o.sizes=n),s&&(o.srcset=s),t&&(o.src=t)):d()},preloadImages:function(){const e=this;function t(){"undefined"!==typeof e&&null!==e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let s=0;s<e.imagesToLoad.length;s+=1){const n=e.imagesToLoad[s];e.loadImage(n,n.currentSrc||n.getAttribute("src"),n.srcset||n.getAttribute("srcset"),n.sizes||n.getAttribute("sizes"),!0,t)}}}},Q={};class ee{constructor(){let e,t;for(var s=arguments.length,n=new Array(s),i=0;i<s;i++)n[i]=arguments[i];if(1===n.length&&n[0].constructor&&"Object"===Object.prototype.toString.call(n[0]).slice(8,-1)?t=n[0]:[e,t]=n,t||(t={}),t=S({},t),e&&!t.el&&(t.el=e),t.el&&g(t.el).length>1){const e=[];return g(t.el).each((s=>{const n=S({},t,{el:s});e.push(new ee(n))})),e}const a=this;a.__swiper__=!0,a.support=k(),a.device=O({userAgent:t.userAgent}),a.browser=L(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],t.modules&&Array.isArray(t.modules)&&a.modules.push(...t.modules);const r={};a.modules.forEach((e=>{e({swiper:a,extendParams:Z(t,r),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})}));const o=S({},K,r);return a.params=S({},o,Q,t),a.originalParams=S({},a.params),a.passedParams=S({},t),a.params&&a.params.on&&Object.keys(a.params.on).forEach((e=>{a.on(e,a.params.on[e])})),a.params&&a.params.onAny&&a.onAny(a.params.onAny),a.$=g,Object.assign(a,{enabled:a.params.enabled,el:e,classNames:[],slides:g(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===a.params.direction,isVertical:()=>"vertical"===a.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return a.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},a.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},a.support.touch||!a.params.simulateTouch?a.touchEventsTouch:a.touchEventsDesktop}(),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:a.params.focusableElements,lastClickTime:w(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const s=this;e=Math.min(Math.max(e,0),1);const n=s.minTranslate(),i=(s.maxTranslate()-n)*e+n;s.translateTo(i,"undefined"===typeof t?0:t),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each((s=>{const n=e.getSlideClasses(s);t.push({slideEl:s,classNames:n}),e.emit("_slideClass",s,n)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:s,slides:n,slidesGrid:i,slidesSizesGrid:a,size:r,activeIndex:o}=this;let l=1;if(s.centeredSlides){let e,t=n[o].swiperSlideSize;for(let s=o+1;s<n.length;s+=1)n[s]&&!e&&(t+=n[s].swiperSlideSize,l+=1,t>r&&(e=!0));for(let s=o-1;s>=0;s-=1)n[s]&&!e&&(t+=n[s].swiperSlideSize,l+=1,t>r&&(e=!0))}else if("current"===e)for(let d=o+1;d<n.length;d+=1){(t?i[d]+a[d]-i[o]<r:i[d]-i[o]<r)&&(l+=1)}else for(let d=o-1;d>=0;d-=1){i[o]-i[d]<r&&(l+=1)}return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:s}=e;function n(){const t=e.rtlTranslate?-1*e.translate:e.translate,s=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let i;s.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode&&e.params.freeMode.enabled?(n(),e.params.autoHeight&&e.updateAutoHeight()):(i=("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),i||n()),s.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const s=this,n=s.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(s.$el.removeClass("".concat(s.params.containerModifierClass).concat(n)).addClass("".concat(s.params.containerModifierClass).concat(e)),s.emitContainerClasses(),s.params.direction=e,s.slides.each((t=>{"vertical"===e?t.style.width="":t.style.height=""})),s.emit("changeDirection"),t&&s.update()),s}mount(e){const t=this;if(t.mounted)return!0;const s=g(e||t.params.el);if(!(e=s[0]))return!1;e.swiper=t;const n=()=>".".concat((t.params.wrapperClass||"").trim().split(" ").join("."));let i=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=g(e.shadowRoot.querySelector(n()));return t.children=e=>s.children(e),t}return s.children?s.children(n()):g(s).children(n())})();if(0===i.length&&t.params.createElements){const e=r().createElement("div");i=g(e),e.className=t.params.wrapperClass,s.append(e),s.children(".".concat(t.params.slideClass)).each((e=>{i.append(e)}))}return Object.assign(t,{$el:s,el:e,$wrapperEl:i,wrapperEl:i[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===s.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===s.css("direction")),wrongRTL:"-webkit-box"===i.css("display")}),!0}init(e){const t=this;if(t.initialized)return t;return!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const s=this,{params:n,$el:i,$wrapperEl:a,slides:r}=s;return"undefined"===typeof s.params||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),n.loop&&s.loopDestroy(),t&&(s.removeClasses(),i.removeAttr("style"),a.removeAttr("style"),r&&r.length&&r.removeClass([n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),s.emit("destroy"),Object.keys(s.eventsListeners).forEach((e=>{s.off(e)})),!1!==e&&(s.$el[0].swiper=null,function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(s){}try{delete t[e]}catch(s){}}))}(s)),s.destroyed=!0),null}static extendDefaults(e){S(Q,e)}static get extendedDefaults(){return Q}static get defaults(){return K}static installModule(e){ee.prototype.__modules__||(ee.prototype.__modules__=[]);const t=ee.prototype.__modules__;"function"===typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>ee.installModule(e))),ee):(ee.installModule(e),ee)}}Object.keys(J).forEach((e=>{Object.keys(J[e]).forEach((t=>{ee.prototype[t]=J[e][t]}))})),ee.use([function(e){let{swiper:t,on:s,emit:n}=e;const i=l();let a=null,r=null;const o=()=>{t&&!t.destroyed&&t.initialized&&(n("beforeResize"),n("resize"))},d=()=>{t&&!t.destroyed&&t.initialized&&n("orientationchange")};s("init",(()=>{t.params.resizeObserver&&"undefined"!==typeof i.ResizeObserver?t&&!t.destroyed&&t.initialized&&(a=new ResizeObserver((e=>{r=i.requestAnimationFrame((()=>{const{width:s,height:n}=t;let i=s,a=n;e.forEach((e=>{let{contentBoxSize:s,contentRect:n,target:r}=e;r&&r!==t.el||(i=n?n.width:(s[0]||s).inlineSize,a=n?n.height:(s[0]||s).blockSize)})),i===s&&a===n||o()}))})),a.observe(t.el)):(i.addEventListener("resize",o),i.addEventListener("orientationchange",d))})),s("destroy",(()=>{r&&i.cancelAnimationFrame(r),a&&a.unobserve&&t.el&&(a.unobserve(t.el),a=null),i.removeEventListener("resize",o),i.removeEventListener("orientationchange",d)}))},function(e){let{swiper:t,extendParams:s,on:n,emit:i}=e;const a=[],r=l(),o=function(e,t){void 0===t&&(t={});const s=new(r.MutationObserver||r.WebkitMutationObserver)((e=>{if(1===e.length)return void i("observerUpdate",e[0]);const t=function(){i("observerUpdate",e[0])};r.requestAnimationFrame?r.requestAnimationFrame(t):r.setTimeout(t,0)}));s.observe(e,{attributes:"undefined"===typeof t.attributes||t.attributes,childList:"undefined"===typeof t.childList||t.childList,characterData:"undefined"===typeof t.characterData||t.characterData}),a.push(s)};s({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=t.$el.parents();for(let t=0;t<e.length;t+=1)o(e[t])}o(t.$el[0],{childList:t.params.observeSlideChildren}),o(t.$wrapperEl[0],{attributes:!1})}})),n("destroy",(()=>{a.forEach((e=>{e.disconnect()})),a.splice(0,a.length)}))}]);var te=ee;function se(e){let{swiper:t,extendParams:s,on:n,emit:i}=e;const a=l();let r;s({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),t.mousewheel={enabled:!1};let o,d=w();const c=[];function p(){t.enabled&&(t.mouseEntered=!0)}function u(){t.enabled&&(t.mouseEntered=!1)}function f(e){return!(t.params.mousewheel.thresholdDelta&&e.delta<t.params.mousewheel.thresholdDelta)&&(!(t.params.mousewheel.thresholdTime&&w()-d<t.params.mousewheel.thresholdTime)&&(e.delta>=6&&w()-d<60||(e.direction<0?t.isEnd&&!t.params.loop||t.animating||(t.slideNext(),i("scroll",e.raw)):t.isBeginning&&!t.params.loop||t.animating||(t.slidePrev(),i("scroll",e.raw)),d=(new a.Date).getTime(),!1)))}function h(e){let s=e,n=!0;if(!t.enabled)return;const a=t.params.mousewheel;t.params.cssMode&&s.preventDefault();let l=t.$el;if("container"!==t.params.mousewheel.eventsTarget&&(l=g(t.params.mousewheel.eventsTarget)),!t.mouseEntered&&!l[0].contains(s.target)&&!a.releaseOnEdges)return!0;s.originalEvent&&(s=s.originalEvent);let d=0;const p=t.rtlTranslate?-1:1,u=function(e){let t=0,s=0,n=0,i=0;return"detail"in e&&(s=e.detail),"wheelDelta"in e&&(s=-e.wheelDelta/120),"wheelDeltaY"in e&&(s=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=s,s=0),n=10*t,i=10*s,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(n=e.deltaX),e.shiftKey&&!n&&(n=i,i=0),(n||i)&&e.deltaMode&&(1===e.deltaMode?(n*=40,i*=40):(n*=800,i*=800)),n&&!t&&(t=n<1?-1:1),i&&!s&&(s=i<1?-1:1),{spinX:t,spinY:s,pixelX:n,pixelY:i}}(s);if(a.forceToAxis)if(t.isHorizontal()){if(!(Math.abs(u.pixelX)>Math.abs(u.pixelY)))return!0;d=-u.pixelX*p}else{if(!(Math.abs(u.pixelY)>Math.abs(u.pixelX)))return!0;d=-u.pixelY}else d=Math.abs(u.pixelX)>Math.abs(u.pixelY)?-u.pixelX*p:-u.pixelY;if(0===d)return!0;a.invert&&(d=-d);let h=t.getTranslate()+d*a.sensitivity;if(h>=t.minTranslate()&&(h=t.minTranslate()),h<=t.maxTranslate()&&(h=t.maxTranslate()),n=!!t.params.loop||!(h===t.minTranslate()||h===t.maxTranslate()),n&&t.params.nested&&s.stopPropagation(),t.params.freeMode&&t.params.freeMode.enabled){const e={time:w(),delta:Math.abs(d),direction:Math.sign(d)},n=o&&e.time<o.time+500&&e.delta<=o.delta&&e.direction===o.direction;if(!n){o=void 0,t.params.loop&&t.loopFix();let l=t.getTranslate()+d*a.sensitivity;const p=t.isBeginning,u=t.isEnd;if(l>=t.minTranslate()&&(l=t.minTranslate()),l<=t.maxTranslate()&&(l=t.maxTranslate()),t.setTransition(0),t.setTranslate(l),t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses(),(!p&&t.isBeginning||!u&&t.isEnd)&&t.updateSlidesClasses(),t.params.freeMode.sticky){clearTimeout(r),r=void 0,c.length>=15&&c.shift();const s=c.length?c[c.length-1]:void 0,n=c[0];if(c.push(e),s&&(e.delta>s.delta||e.direction!==s.direction))c.splice(0);else if(c.length>=15&&e.time-n.time<500&&n.delta-e.delta>=1&&e.delta<=6){const s=d>0?.8:.2;o=e,c.splice(0),r=v((()=>{t.slideToClosest(t.params.speed,!0,void 0,s)}),0)}r||(r=v((()=>{o=e,c.splice(0),t.slideToClosest(t.params.speed,!0,void 0,.5)}),500))}if(n||i("scroll",s),t.params.autoplay&&t.params.autoplayDisableOnInteraction&&t.autoplay.stop(),l===t.minTranslate()||l===t.maxTranslate())return!0}}else{const s={time:w(),delta:Math.abs(d),direction:Math.sign(d),raw:e};c.length>=2&&c.shift();const n=c.length?c[c.length-1]:void 0;if(c.push(s),n?(s.direction!==n.direction||s.delta>n.delta||s.time>n.time+150)&&f(s):f(s),function(e){const s=t.params.mousewheel;if(e.direction<0){if(t.isEnd&&!t.params.loop&&s.releaseOnEdges)return!0}else if(t.isBeginning&&!t.params.loop&&s.releaseOnEdges)return!0;return!1}(s))return!0}return s.preventDefault?s.preventDefault():s.returnValue=!1,!1}function m(e){let s=t.$el;"container"!==t.params.mousewheel.eventsTarget&&(s=g(t.params.mousewheel.eventsTarget)),s[e]("mouseenter",p),s[e]("mouseleave",u),s[e]("wheel",h)}function b(){return t.params.cssMode?(t.wrapperEl.removeEventListener("wheel",h),!0):!t.mousewheel.enabled&&(m("on"),t.mousewheel.enabled=!0,!0)}function y(){return t.params.cssMode?(t.wrapperEl.addEventListener(event,h),!0):!!t.mousewheel.enabled&&(m("off"),t.mousewheel.enabled=!1,!0)}n("init",(()=>{!t.params.mousewheel.enabled&&t.params.cssMode&&y(),t.params.mousewheel.enabled&&b()})),n("destroy",(()=>{t.params.cssMode&&b(),t.mousewheel.enabled&&y()})),Object.assign(t.mousewheel,{enable:b,disable:y})}function ne(e,t,s,n){const i=r();return e.params.createElements&&Object.keys(n).forEach((a=>{if(!s[a]&&!0===s.auto){let r=e.$el.children(".".concat(n[a]))[0];r||(r=i.createElement("div"),r.className=n[a],e.$el.append(r)),s[a]=r,t[a]=r}})),s}function ie(e){let{swiper:t,extendParams:s,on:n,emit:i}=e;function a(e){let s;return e&&(s=g(e),t.params.uniqueNavElements&&"string"===typeof e&&s.length>1&&1===t.$el.find(e).length&&(s=t.$el.find(e))),s}function r(e,s){const n=t.params.navigation;e&&e.length>0&&(e[s?"addClass":"removeClass"](n.disabledClass),e[0]&&"BUTTON"===e[0].tagName&&(e[0].disabled=s),t.params.watchOverflow&&t.enabled&&e[t.isLocked?"addClass":"removeClass"](n.lockClass))}function o(){if(t.params.loop)return;const{$nextEl:e,$prevEl:s}=t.navigation;r(s,t.isBeginning&&!t.params.rewind),r(e,t.isEnd&&!t.params.rewind)}function l(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&t.slidePrev()}function d(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&t.slideNext()}function c(){const e=t.params.navigation;if(t.params.navigation=ne(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!e.nextEl&&!e.prevEl)return;const s=a(e.nextEl),n=a(e.prevEl);s&&s.length>0&&s.on("click",d),n&&n.length>0&&n.on("click",l),Object.assign(t.navigation,{$nextEl:s,nextEl:s&&s[0],$prevEl:n,prevEl:n&&n[0]}),t.enabled||(s&&s.addClass(e.lockClass),n&&n.addClass(e.lockClass))}function p(){const{$nextEl:e,$prevEl:s}=t.navigation;e&&e.length&&(e.off("click",d),e.removeClass(t.params.navigation.disabledClass)),s&&s.length&&(s.off("click",l),s.removeClass(t.params.navigation.disabledClass))}s({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,$nextEl:null,prevEl:null,$prevEl:null},n("init",(()=>{!1===t.params.navigation.enabled?u():(c(),o())})),n("toEdge fromEdge lock unlock",(()=>{o()})),n("destroy",(()=>{p()})),n("enable disable",(()=>{const{$nextEl:e,$prevEl:s}=t.navigation;e&&e[t.enabled?"removeClass":"addClass"](t.params.navigation.lockClass),s&&s[t.enabled?"removeClass":"addClass"](t.params.navigation.lockClass)})),n("click",((e,s)=>{const{$nextEl:n,$prevEl:a}=t.navigation,r=s.target;if(t.params.navigation.hideOnClick&&!g(r).is(a)&&!g(r).is(n)){if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===r||t.pagination.el.contains(r)))return;let e;n?e=n.hasClass(t.params.navigation.hiddenClass):a&&(e=a.hasClass(t.params.navigation.hiddenClass)),i(!0===e?"navigationShow":"navigationHide"),n&&n.toggleClass(t.params.navigation.hiddenClass),a&&a.toggleClass(t.params.navigation.hiddenClass)}}));const u=()=>{t.$el.addClass(t.params.navigation.navigationDisabledClass),p()};Object.assign(t.navigation,{enable:()=>{t.$el.removeClass(t.params.navigation.navigationDisabledClass),c(),o()},disable:u,update:o,init:c,destroy:p})}function ae(e){return void 0===e&&(e=""),".".concat(e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,"."))}function re(e){let{swiper:t,extendParams:s,on:n,emit:i}=e;const a="swiper-pagination";let r;s({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:e=>e,formatFractionTotal:e=>e,bulletClass:"".concat(a,"-bullet"),bulletActiveClass:"".concat(a,"-bullet-active"),modifierClass:"".concat(a,"-"),currentClass:"".concat(a,"-current"),totalClass:"".concat(a,"-total"),hiddenClass:"".concat(a,"-hidden"),progressbarFillClass:"".concat(a,"-progressbar-fill"),progressbarOppositeClass:"".concat(a,"-progressbar-opposite"),clickableClass:"".concat(a,"-clickable"),lockClass:"".concat(a,"-lock"),horizontalClass:"".concat(a,"-horizontal"),verticalClass:"".concat(a,"-vertical"),paginationDisabledClass:"".concat(a,"-disabled")}}),t.pagination={el:null,$el:null,bullets:[]};let o=0;function l(){return!t.params.pagination.el||!t.pagination.el||!t.pagination.$el||0===t.pagination.$el.length}function d(e,s){const{bulletActiveClass:n}=t.params.pagination;e[s]().addClass("".concat(n,"-").concat(s))[s]().addClass("".concat(n,"-").concat(s,"-").concat(s))}function c(){const e=t.rtl,s=t.params.pagination;if(l())return;const n=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,a=t.pagination.$el;let c;const p=t.params.loop?Math.ceil((n-2*t.loopedSlides)/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(c=Math.ceil((t.activeIndex-t.loopedSlides)/t.params.slidesPerGroup),c>n-1-2*t.loopedSlides&&(c-=n-2*t.loopedSlides),c>p-1&&(c-=p),c<0&&"bullets"!==t.params.paginationType&&(c=p+c)):c="undefined"!==typeof t.snapIndex?t.snapIndex:t.activeIndex||0,"bullets"===s.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const n=t.pagination.bullets;let i,l,p;if(s.dynamicBullets&&(r=n.eq(0)[t.isHorizontal()?"outerWidth":"outerHeight"](!0),a.css(t.isHorizontal()?"width":"height","".concat(r*(s.dynamicMainBullets+4),"px")),s.dynamicMainBullets>1&&void 0!==t.previousIndex&&(o+=c-(t.previousIndex-t.loopedSlides||0),o>s.dynamicMainBullets-1?o=s.dynamicMainBullets-1:o<0&&(o=0)),i=Math.max(c-o,0),l=i+(Math.min(n.length,s.dynamicMainBullets)-1),p=(l+i)/2),n.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>"".concat(s.bulletActiveClass).concat(e))).join(" ")),a.length>1)n.each((e=>{const t=g(e),n=t.index();n===c&&t.addClass(s.bulletActiveClass),s.dynamicBullets&&(n>=i&&n<=l&&t.addClass("".concat(s.bulletActiveClass,"-main")),n===i&&d(t,"prev"),n===l&&d(t,"next"))}));else{const e=n.eq(c),a=e.index();if(e.addClass(s.bulletActiveClass),s.dynamicBullets){const e=n.eq(i),r=n.eq(l);for(let t=i;t<=l;t+=1)n.eq(t).addClass("".concat(s.bulletActiveClass,"-main"));if(t.params.loop)if(a>=n.length){for(let e=s.dynamicMainBullets;e>=0;e-=1)n.eq(n.length-e).addClass("".concat(s.bulletActiveClass,"-main"));n.eq(n.length-s.dynamicMainBullets-1).addClass("".concat(s.bulletActiveClass,"-prev"))}else d(e,"prev"),d(r,"next");else d(e,"prev"),d(r,"next")}}if(s.dynamicBullets){const i=Math.min(n.length,s.dynamicMainBullets+4),a=(r*i-r)/2-p*r,o=e?"right":"left";n.css(t.isHorizontal()?o:"top","".concat(a,"px"))}}if("fraction"===s.type&&(a.find(ae(s.currentClass)).text(s.formatFractionCurrent(c+1)),a.find(ae(s.totalClass)).text(s.formatFractionTotal(p))),"progressbar"===s.type){let e;e=s.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const n=(c+1)/p;let i=1,r=1;"horizontal"===e?i=n:r=n,a.find(ae(s.progressbarFillClass)).transform("translate3d(0,0,0) scaleX(".concat(i,") scaleY(").concat(r,")")).transition(t.params.speed)}"custom"===s.type&&s.renderCustom?(a.html(s.renderCustom(t,c+1,p)),i("paginationRender",a[0])):i("paginationUpdate",a[0]),t.params.watchOverflow&&t.enabled&&a[t.isLocked?"addClass":"removeClass"](s.lockClass)}function p(){const e=t.params.pagination;if(l())return;const s=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,n=t.pagination.$el;let a="";if("bullets"===e.type){let i=t.params.loop?Math.ceil((s-2*t.loopedSlides)/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&!t.params.loop&&i>s&&(i=s);for(let s=0;s<i;s+=1)e.renderBullet?a+=e.renderBullet.call(t,s,e.bulletClass):a+="<".concat(e.bulletElement,' class="').concat(e.bulletClass,'"></').concat(e.bulletElement,">");n.html(a),t.pagination.bullets=n.find(ae(e.bulletClass))}"fraction"===e.type&&(a=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):'<span class="'.concat(e.currentClass,'"></span>')+" / "+'<span class="'.concat(e.totalClass,'"></span>'),n.html(a)),"progressbar"===e.type&&(a=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):'<span class="'.concat(e.progressbarFillClass,'"></span>'),n.html(a)),"custom"!==e.type&&i("paginationRender",t.pagination.$el[0])}function u(){t.params.pagination=ne(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let s=g(e.el);0!==s.length&&(t.params.uniqueNavElements&&"string"===typeof e.el&&s.length>1&&(s=t.$el.find(e.el),s.length>1&&(s=s.filter((e=>g(e).parents(".swiper")[0]===t.el)))),"bullets"===e.type&&e.clickable&&s.addClass(e.clickableClass),s.addClass(e.modifierClass+e.type),s.addClass(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(s.addClass("".concat(e.modifierClass).concat(e.type,"-dynamic")),o=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&s.addClass(e.progressbarOppositeClass),e.clickable&&s.on("click",ae(e.bulletClass),(function(e){e.preventDefault();let s=g(this).index()*t.params.slidesPerGroup;t.params.loop&&(s+=t.loopedSlides),t.slideTo(s)})),Object.assign(t.pagination,{$el:s,el:s[0]}),t.enabled||s.addClass(e.lockClass))}function f(){const e=t.params.pagination;if(l())return;const s=t.pagination.$el;s.removeClass(e.hiddenClass),s.removeClass(e.modifierClass+e.type),s.removeClass(t.isHorizontal()?e.horizontalClass:e.verticalClass),t.pagination.bullets&&t.pagination.bullets.removeClass&&t.pagination.bullets.removeClass(e.bulletActiveClass),e.clickable&&s.off("click",ae(e.bulletClass))}n("init",(()=>{!1===t.params.pagination.enabled?h():(u(),p(),c())})),n("activeIndexChange",(()=>{(t.params.loop||"undefined"===typeof t.snapIndex)&&c()})),n("snapIndexChange",(()=>{t.params.loop||c()})),n("slidesLengthChange",(()=>{t.params.loop&&(p(),c())})),n("snapGridLengthChange",(()=>{t.params.loop||(p(),c())})),n("destroy",(()=>{f()})),n("enable disable",(()=>{const{$el:e}=t.pagination;e&&e[t.enabled?"removeClass":"addClass"](t.params.pagination.lockClass)})),n("lock unlock",(()=>{c()})),n("click",((e,s)=>{const n=s.target,{$el:a}=t.pagination;if(t.params.pagination.el&&t.params.pagination.hideOnClick&&a.length>0&&!g(n).hasClass(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&n===t.navigation.nextEl||t.navigation.prevEl&&n===t.navigation.prevEl))return;const e=a.hasClass(t.params.pagination.hiddenClass);i(!0===e?"paginationShow":"paginationHide"),a.toggleClass(t.params.pagination.hiddenClass)}}));const h=()=>{t.$el.addClass(t.params.pagination.paginationDisabledClass),t.pagination.$el&&t.pagination.$el.addClass(t.params.pagination.paginationDisabledClass),f()};Object.assign(t.pagination,{enable:()=>{t.$el.removeClass(t.params.pagination.paginationDisabledClass),t.pagination.$el&&t.pagination.$el.removeClass(t.params.pagination.paginationDisabledClass),u(),p(),c()},disable:h,render:p,update:c,init:u,destroy:f})}function oe(e){let t,{swiper:s,extendParams:n,on:i,emit:a}=e;function o(){const e=s.slides.eq(s.activeIndex);let n=s.params.autoplay.delay;e.attr("data-swiper-autoplay")&&(n=e.attr("data-swiper-autoplay")||s.params.autoplay.delay),clearTimeout(t),t=v((()=>{let e;s.params.autoplay.reverseDirection?s.params.loop?(s.loopFix(),e=s.slidePrev(s.params.speed,!0,!0),a("autoplay")):s.isBeginning?s.params.autoplay.stopOnLastSlide?d():(e=s.slideTo(s.slides.length-1,s.params.speed,!0,!0),a("autoplay")):(e=s.slidePrev(s.params.speed,!0,!0),a("autoplay")):s.params.loop?(s.loopFix(),e=s.slideNext(s.params.speed,!0,!0),a("autoplay")):s.isEnd?s.params.autoplay.stopOnLastSlide?d():(e=s.slideTo(0,s.params.speed,!0,!0),a("autoplay")):(e=s.slideNext(s.params.speed,!0,!0),a("autoplay")),(s.params.cssMode&&s.autoplay.running||!1===e)&&o()}),n)}function l(){return"undefined"===typeof t&&(!s.autoplay.running&&(s.autoplay.running=!0,a("autoplayStart"),o(),!0))}function d(){return!!s.autoplay.running&&("undefined"!==typeof t&&(t&&(clearTimeout(t),t=void 0),s.autoplay.running=!1,a("autoplayStop"),!0))}function c(e){s.autoplay.running&&(s.autoplay.paused||(t&&clearTimeout(t),s.autoplay.paused=!0,0!==e&&s.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach((e=>{s.$wrapperEl[0].addEventListener(e,u)})):(s.autoplay.paused=!1,o())))}function p(){const e=r();"hidden"===e.visibilityState&&s.autoplay.running&&c(),"visible"===e.visibilityState&&s.autoplay.paused&&(o(),s.autoplay.paused=!1)}function u(e){s&&!s.destroyed&&s.$wrapperEl&&e.target===s.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach((e=>{s.$wrapperEl[0].removeEventListener(e,u)})),s.autoplay.paused=!1,s.autoplay.running?o():d())}function f(){s.params.autoplay.disableOnInteraction?d():(a("autoplayPause"),c()),["transitionend","webkitTransitionEnd"].forEach((e=>{s.$wrapperEl[0].removeEventListener(e,u)}))}function h(){s.params.autoplay.disableOnInteraction||(s.autoplay.paused=!1,a("autoplayResume"),o())}s.autoplay={running:!1,paused:!1},n({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),i("init",(()=>{if(s.params.autoplay.enabled){l();r().addEventListener("visibilitychange",p),s.params.autoplay.pauseOnMouseEnter&&(s.$el.on("mouseenter",f),s.$el.on("mouseleave",h))}})),i("beforeTransitionStart",((e,t,n)=>{s.autoplay.running&&(n||!s.params.autoplay.disableOnInteraction?s.autoplay.pause(t):d())})),i("sliderFirstMove",(()=>{s.autoplay.running&&(s.params.autoplay.disableOnInteraction?d():c())})),i("touchEnd",(()=>{s.params.cssMode&&s.autoplay.paused&&!s.params.autoplay.disableOnInteraction&&o()})),i("destroy",(()=>{s.$el.off("mouseenter",f),s.$el.off("mouseleave",h),s.autoplay.running&&d();r().removeEventListener("visibilitychange",p)})),Object.assign(s.autoplay,{pause:c,run:o,start:l,stop:d})}function le(e){const{effect:t,swiper:s,on:n,setTranslate:i,setTransition:a,overwriteParams:r,perspective:o,recreateShadows:l,getEffectParams:d}=e;let c;n("beforeInit",(()=>{if(s.params.effect!==t)return;s.classNames.push("".concat(s.params.containerModifierClass).concat(t)),o&&o()&&s.classNames.push("".concat(s.params.containerModifierClass,"3d"));const e=r?r():{};Object.assign(s.params,e),Object.assign(s.originalParams,e)})),n("setTranslate",(()=>{s.params.effect===t&&i()})),n("setTransition",((e,n)=>{s.params.effect===t&&a(n)})),n("transitionEnd",(()=>{if(s.params.effect===t&&l){if(!d||!d().slideShadows)return;s.slides.each((e=>{s.$(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").remove()})),l()}})),n("virtualUpdate",(()=>{s.params.effect===t&&(s.slides.length||(c=!0),requestAnimationFrame((()=>{c&&s.slides&&s.slides.length&&(i(),c=!1)})))}))}function de(e){let{swiper:t,extendParams:s,on:n}=e;s({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const i=(e,t,s)=>{let n=s?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),i=s?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===n.length&&(n=g('<div class="swiper-slide-shadow-'.concat(s?"left":"top",'"></div>')),e.append(n)),0===i.length&&(i=g('<div class="swiper-slide-shadow-'.concat(s?"right":"bottom",'"></div>')),e.append(i)),n.length&&(n[0].style.opacity=Math.max(-t,0)),i.length&&(i[0].style.opacity=Math.max(t,0))};le({effect:"cube",swiper:t,on:n,setTranslate:()=>{const{$el:e,$wrapperEl:s,slides:n,width:a,height:r,rtlTranslate:o,size:l,browser:d}=t,c=t.params.cubeEffect,p=t.isHorizontal(),u=t.virtual&&t.params.virtual.enabled;let f,h=0;c.shadow&&(p?(f=s.find(".swiper-cube-shadow"),0===f.length&&(f=g('<div class="swiper-cube-shadow"></div>'),s.append(f)),f.css({height:"".concat(a,"px")})):(f=e.find(".swiper-cube-shadow"),0===f.length&&(f=g('<div class="swiper-cube-shadow"></div>'),e.append(f))));for(let t=0;t<n.length;t+=1){const e=n.eq(t);let s=t;u&&(s=parseInt(e.attr("data-swiper-slide-index"),10));let a=90*s,r=Math.floor(a/360);o&&(a=-a,r=Math.floor(-a/360));const d=Math.max(Math.min(e[0].progress,1),-1);let f=0,m=0,g=0;s%4===0?(f=4*-r*l,g=0):(s-1)%4===0?(f=0,g=4*-r*l):(s-2)%4===0?(f=l+4*r*l,g=l):(s-3)%4===0&&(f=-l,g=3*l+4*l*r),o&&(f=-f),p||(m=f,f=0);const v="rotateX(".concat(p?0:-a,"deg) rotateY(").concat(p?a:0,"deg) translate3d(").concat(f,"px, ").concat(m,"px, ").concat(g,"px)");d<=1&&d>-1&&(h=90*s+90*d,o&&(h=90*-s-90*d)),e.transform(v),c.slideShadows&&i(e,d,p)}if(s.css({"-webkit-transform-origin":"50% 50% -".concat(l/2,"px"),"transform-origin":"50% 50% -".concat(l/2,"px")}),c.shadow)if(p)f.transform("translate3d(0px, ".concat(a/2+c.shadowOffset,"px, ").concat(-a/2,"px) rotateX(90deg) rotateZ(0deg) scale(").concat(c.shadowScale,")"));else{const e=Math.abs(h)-90*Math.floor(Math.abs(h)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),s=c.shadowScale,n=c.shadowScale/t,i=c.shadowOffset;f.transform("scale3d(".concat(s,", 1, ").concat(n,") translate3d(0px, ").concat(r/2+i,"px, ").concat(-r/2/n,"px) rotateX(-90deg)"))}const m=d.isSafari||d.isWebView?-l/2:0;s.transform("translate3d(0px,0,".concat(m,"px) rotateX(").concat(t.isHorizontal()?0:h,"deg) rotateY(").concat(t.isHorizontal()?-h:0,"deg)")),s[0].style.setProperty("--swiper-cube-translate-z","".concat(m,"px"))},setTransition:e=>{const{$el:s,slides:n}=t;n.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),t.params.cubeEffect.shadow&&!t.isHorizontal()&&s.find(".swiper-cube-shadow").transition(e)},recreateShadows:()=>{const e=t.isHorizontal();t.slides.each((t=>{const s=Math.max(Math.min(t.progress,1),-1);i(g(t),s,e)}))},getEffectParams:()=>t.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function ce(e,t,s){const n="swiper-slide-shadow".concat(s?"-".concat(s):""),i=e.transformEl?t.find(e.transformEl):t;let a=i.children(".".concat(n));return a.length||(a=g('<div class="swiper-slide-shadow'.concat(s?"-".concat(s):"",'"></div>')),i.append(a)),a}function pe(e,t){return e.transformEl?t.find(e.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):t}function ue(e){let{swiper:t,extendParams:s,on:n}=e;s({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0,transformEl:null}});le({effect:"coverflow",swiper:t,on:n,setTranslate:()=>{const{width:e,height:s,slides:n,slidesSizesGrid:i}=t,a=t.params.coverflowEffect,r=t.isHorizontal(),o=t.translate,l=r?e/2-o:s/2-o,d=r?a.rotate:-a.rotate,c=a.depth;for(let t=0,p=n.length;t<p;t+=1){const e=n.eq(t),s=i[t],o=(l-e[0].swiperSlideOffset-s/2)/s,p="function"===typeof a.modifier?a.modifier(o):o*a.modifier;let u=r?d*p:0,f=r?0:d*p,h=-c*Math.abs(p),m=a.stretch;"string"===typeof m&&-1!==m.indexOf("%")&&(m=parseFloat(a.stretch)/100*s);let g=r?0:m*p,v=r?m*p:0,w=1-(1-a.scale)*Math.abs(p);Math.abs(v)<.001&&(v=0),Math.abs(g)<.001&&(g=0),Math.abs(h)<.001&&(h=0),Math.abs(u)<.001&&(u=0),Math.abs(f)<.001&&(f=0),Math.abs(w)<.001&&(w=0);const b="translate3d(".concat(v,"px,").concat(g,"px,").concat(h,"px) rotateX(").concat(f,"deg) rotateY(").concat(u,"deg) scale(").concat(w,")");if(pe(a,e).transform(b),e[0].style.zIndex=1-Math.abs(Math.round(p)),a.slideShadows){let t=r?e.find(".swiper-slide-shadow-left"):e.find(".swiper-slide-shadow-top"),s=r?e.find(".swiper-slide-shadow-right"):e.find(".swiper-slide-shadow-bottom");0===t.length&&(t=ce(a,e,r?"left":"top")),0===s.length&&(s=ce(a,e,r?"right":"bottom")),t.length&&(t[0].style.opacity=p>0?p:0),s.length&&(s[0].style.opacity=-p>0?-p:0)}}},setTransition:e=>{const{transformEl:s}=t.params.coverflowEffect;(s?t.slides.find(s):t.slides).transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}}}]);
|