(function(Vr){typeof define=="function"&&define.amd?define(Vr):Vr()})(function(){"use strict";var Vr=document.createElement("style");Vr.textContent=`@media (min-width: 992px){html{overflow-x:clip}html.lenis,html.lenis body{height:auto}.lenis.lenis-smooth{scroll-behavior:auto!important}.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}.lenis.lenis-stopped{overflow:hidden}.lenis.lenis-smooth iframe{pointer-events:none}html::-webkit-scrollbar{display:none}html{-ms-overflow-style:none;scrollbar-width:none}}.mask{background-color:#0000;transition:background-color .3s ease}.mask--active{background-color:#000000bf}@font-face{font-family:swiper-icons;src:url(data:application/font-woff;charset=utf-8;base64,\\ d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA);font-weight:400;font-style:normal}:root{--swiper-theme-color: #007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function, initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-slide,.swiper-3d .swiper-cube-shadow{transform-style:preserve-3d}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:#00000026}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,#00000080,#0000)}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,#00000080,#0000)}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color, var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader,.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color: #fff}.swiper-lazy-preloader-black{--swiper-preloader-color: #000}@keyframes swiper-preloader-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.swiper-virtual .swiper-slide{-webkit-backface-visibility:hidden;transform:translateZ(0)}.swiper-virtual.swiper-css-mode .swiper-wrapper:after{content:"";position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper:after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper:after{width:1px;height:var(--swiper-virtual-size)}:root{--swiper-navigation-size: 44px}.swiper-button-prev,.swiper-button-next{position:absolute;top:var(--swiper-navigation-top-offset, 50%);width:calc(var(--swiper-navigation-size) / 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size) / 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color, var(--swiper-theme-color))}.swiper-button-prev.swiper-button-disabled,.swiper-button-next.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-prev.swiper-button-hidden,.swiper-button-next.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-prev,.swiper-navigation-disabled .swiper-button-next{display:none!important}.swiper-button-prev svg,.swiper-button-next svg{width:100%;height:100%;object-fit:contain;transform-origin:center}.swiper-rtl .swiper-button-prev svg,.swiper-rtl .swiper-button-next svg{transform:rotate(180deg)}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:var(--swiper-navigation-sides-offset, 10px);right:auto}.swiper-button-lock{display:none}.swiper-button-prev:after,.swiper-button-next:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:"prev"}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:var(--swiper-navigation-sides-offset, 10px);left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:"next"}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translateZ(0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal{bottom:var(--swiper-pagination-bottom, 8px);top:var(--swiper-pagination-top, auto);left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));height:var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));display:inline-block;border-radius:var(--swiper-pagination-bullet-border-radius, 50%);background:var(--swiper-pagination-bullet-inactive-color, #000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color, var(--swiper-theme-color))}.swiper-vertical>.swiper-pagination-bullets,.swiper-pagination-vertical.swiper-pagination-bullets{right:var(--swiper-pagination-right, 8px);left:var(--swiper-pagination-left, auto);top:50%;transform:translate3d(0,-50%,0)}.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap, 6px) 0;display:block}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap, 4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translate(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-fraction{color:var(--swiper-pagination-fraction-color, inherit)}.swiper-pagination-progressbar{background:var(--swiper-pagination-progressbar-bg-color, rgba(0, 0, 0, .25));position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color, var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite{width:100%;height:var(--swiper-pagination-progressbar-size, 4px);left:0;top:0}.swiper-vertical>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite{width:var(--swiper-pagination-progressbar-size, 4px);height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:var(--swiper-scrollbar-border-radius, 10px);position:relative;touch-action:none;background:var(--swiper-scrollbar-bg-color, rgba(0, 0, 0, .1))}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none!important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:var(--swiper-scrollbar-sides-offset, 1%);bottom:var(--swiper-scrollbar-bottom, 4px);top:var(--swiper-scrollbar-top, auto);z-index:50;height:var(--swiper-scrollbar-size, 4px);width:calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%))}.swiper-vertical>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-vertical{position:absolute;left:var(--swiper-scrollbar-left, auto);right:var(--swiper-scrollbar-right, 4px);top:var(--swiper-scrollbar-sides-offset, 1%);z-index:50;width:var(--swiper-scrollbar-size, 4px);height:calc(100% - 2 * var(--swiper-scrollbar-sides-offset, 1%))}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:var(--swiper-scrollbar-drag-bg-color, rgba(0, 0, 0, .5));border-radius:var(--swiper-scrollbar-border-radius, 10px);left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>img,.swiper-zoom-container>svg,.swiper-zoom-container>canvas{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed{cursor:move;touch-action:none}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active,.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper.swiper-cube{overflow:visible}.swiper-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-cube.swiper-rtl .swiper-slide{transform-origin:100% 0}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:"";background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-cube .swiper-slide-next+.swiper-slide{pointer-events:auto;visibility:visible}.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-top,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-cube.swiper-slide-shadow-right{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper.swiper-flip{overflow:visible}.swiper-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-top,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-flip.swiper-slide-shadow-right{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper.swiper-cards{overflow:visible}.swiper-cards .swiper-slide{transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden} `,document.head.appendChild(Vr);function Qa(n,e,t){return Math.max(n,Math.min(e,t))}class Pu{constructor(){this.isRunning=!1,this.value=0,this.from=0,this.to=0,this.currentTime=0}advance(e){var t;if(!this.isRunning)return;let i=!1;if(this.duration&&this.easing){this.currentTime+=e;const r=Qa(0,this.currentTime/this.duration,1);i=r>=1;const s=i?1:this.easing(r);this.value=this.from+(this.to-this.from)*s}else this.lerp?(this.value=function(s,a,o,l){return function(c,f,d){return(1-d)*c+d*f}(s,a,1-Math.exp(-o*l))}(this.value,this.to,60*this.lerp,e),Math.round(this.value)===this.to&&(this.value=this.to,i=!0)):(this.value=this.to,i=!0);i&&this.stop(),(t=this.onUpdate)===null||t===void 0||t.call(this,this.value,i)}stop(){this.isRunning=!1}fromTo(e,t,{lerp:i,duration:r,easing:s,onStart:a,onUpdate:o}){this.from=this.value=e,this.to=t,this.lerp=i,this.duration=r,this.easing=s,this.currentTime=0,this.isRunning=!0,a==null||a(),this.onUpdate=o}}class Fu{constructor(e,t,{autoResize:i=!0,debounce:r=250}={}){this.wrapper=e,this.content=t,this.width=0,this.height=0,this.scrollHeight=0,this.scrollWidth=0,this.resize=()=>{this.onWrapperResize(),this.onContentResize()},this.onWrapperResize=()=>{this.wrapper instanceof Window?(this.width=window.innerWidth,this.height=window.innerHeight):(this.width=this.wrapper.clientWidth,this.height=this.wrapper.clientHeight)},this.onContentResize=()=>{this.wrapper instanceof Window?(this.scrollHeight=this.content.scrollHeight,this.scrollWidth=this.content.scrollWidth):(this.scrollHeight=this.wrapper.scrollHeight,this.scrollWidth=this.wrapper.scrollWidth)},i&&(this.debouncedResize=function(a,o){let l;return function(...u){let c=this;clearTimeout(l),l=setTimeout(()=>{l=void 0,a.apply(c,u)},o)}}(this.resize,r),this.wrapper instanceof Window?window.addEventListener("resize",this.debouncedResize,!1):(this.wrapperResizeObserver=new ResizeObserver(this.debouncedResize),this.wrapperResizeObserver.observe(this.wrapper)),this.contentResizeObserver=new ResizeObserver(this.debouncedResize),this.contentResizeObserver.observe(this.content)),this.resize()}destroy(){var e,t;(e=this.wrapperResizeObserver)===null||e===void 0||e.disconnect(),(t=this.contentResizeObserver)===null||t===void 0||t.disconnect(),this.wrapper===window&&this.debouncedResize&&window.removeEventListener("resize",this.debouncedResize,!1)}get limit(){return{x:this.scrollWidth-this.width,y:this.scrollHeight-this.height}}}class Ka{constructor(){this.events={}}emit(e,...t){var i;let r=this.events[e]||[];for(let s=0,a=r.length;s{var r;this.events[e]=(r=this.events[e])===null||r===void 0?void 0:r.filter(s=>t!==s)}}off(e,t){var i;this.events[e]=(i=this.events[e])===null||i===void 0?void 0:i.filter(r=>t!==r)}destroy(){this.events={}}}const Ja=100/6,Ei={passive:!1};class ku{constructor(e,t={wheelMultiplier:1,touchMultiplier:1}){this.element=e,this.options=t,this.touchStart={x:0,y:0},this.lastDelta={x:0,y:0},this.window={width:0,height:0},this.emitter=new Ka,this.onTouchStart=i=>{const{clientX:r,clientY:s}=i.targetTouches?i.targetTouches[0]:i;this.touchStart.x=r,this.touchStart.y=s,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:i})},this.onTouchMove=i=>{const{clientX:r,clientY:s}=i.targetTouches?i.targetTouches[0]:i,a=-(r-this.touchStart.x)*this.options.touchMultiplier,o=-(s-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=r,this.touchStart.y=s,this.lastDelta={x:a,y:o},this.emitter.emit("scroll",{deltaX:a,deltaY:o,event:i})},this.onTouchEnd=i=>{this.emitter.emit("scroll",{deltaX:this.lastDelta.x,deltaY:this.lastDelta.y,event:i})},this.onWheel=i=>{let{deltaX:r,deltaY:s,deltaMode:a}=i;r*=a===1?Ja:a===2?this.window.width:1,s*=a===1?Ja:a===2?this.window.height:1,r*=this.options.wheelMultiplier,s*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:r,deltaY:s,event:i})},this.onWindowResize=()=>{this.window={width:window.innerWidth,height:window.innerHeight}},window.addEventListener("resize",this.onWindowResize,!1),this.onWindowResize(),this.element.addEventListener("wheel",this.onWheel,Ei),this.element.addEventListener("touchstart",this.onTouchStart,Ei),this.element.addEventListener("touchmove",this.onTouchMove,Ei),this.element.addEventListener("touchend",this.onTouchEnd,Ei)}on(e,t){return this.emitter.on(e,t)}destroy(){this.emitter.destroy(),window.removeEventListener("resize",this.onWindowResize,!1),this.element.removeEventListener("wheel",this.onWheel,Ei),this.element.removeEventListener("touchstart",this.onTouchStart,Ei),this.element.removeEventListener("touchmove",this.onTouchMove,Ei),this.element.removeEventListener("touchend",this.onTouchEnd,Ei)}}class Lu{constructor({wrapper:e=window,content:t=document.documentElement,eventsTarget:i=e,smoothWheel:r=!0,syncTouch:s=!1,syncTouchLerp:a=.075,touchInertiaMultiplier:o=35,duration:l,easing:u=y=>Math.min(1,1.001-Math.pow(2,-10*y)),lerp:c=.1,infinite:f=!1,orientation:d="vertical",gestureOrientation:p="vertical",touchMultiplier:m=1,wheelMultiplier:h=1,autoResize:v=!0,prevent:_,virtualScroll:w,__experimental__naiveDimensions:g=!1}={}){this._isScrolling=!1,this._isStopped=!1,this._isLocked=!1,this._preventNextNativeScrollEvent=!1,this._resetVelocityTimeout=null,this.time=0,this.userData={},this.lastVelocity=0,this.velocity=0,this.direction=0,this.animate=new Pu,this.emitter=new Ka,this.onPointerDown=y=>{y.button===1&&this.reset()},this.onVirtualScroll=y=>{if(typeof this.options.virtualScroll=="function"&&this.options.virtualScroll(y)===!1)return;const{deltaX:D,deltaY:E,event:b}=y;if(this.emitter.emit("virtual-scroll",{deltaX:D,deltaY:E,event:b}),b.ctrlKey)return;const C=b.type.includes("touch"),x=b.type.includes("wheel");if(this.isTouching=b.type==="touchstart"||b.type==="touchmove",this.options.syncTouch&&C&&b.type==="touchstart"&&!this.isStopped&&!this.isLocked)return void this.reset();const S=D===0&&E===0,O=this.options.gestureOrientation==="vertical"&&E===0||this.options.gestureOrientation==="horizontal"&&D===0;if(S||O)return;let M=b.composedPath();M=M.slice(0,M.indexOf(this.rootElement));const P=this.options.prevent;if(M.find(A=>{var L,F,T,B,$;return A instanceof HTMLElement&&(typeof P=="function"&&(P==null?void 0:P(A))||((L=A.hasAttribute)===null||L===void 0?void 0:L.call(A,"data-lenis-prevent"))||C&&((F=A.hasAttribute)===null||F===void 0?void 0:F.call(A,"data-lenis-prevent-touch"))||x&&((T=A.hasAttribute)===null||T===void 0?void 0:T.call(A,"data-lenis-prevent-wheel"))||((B=A.classList)===null||B===void 0?void 0:B.contains("lenis"))&&!(!(($=A.classList)===null||$===void 0)&&$.contains("lenis-stopped")))}))return;if(this.isStopped||this.isLocked)return void b.preventDefault();if(!(this.options.syncTouch&&C||this.options.smoothWheel&&x))return this.isScrolling="native",void this.animate.stop();b.preventDefault();let k=E;this.options.gestureOrientation==="both"?k=Math.abs(E)>Math.abs(D)?E:D:this.options.gestureOrientation==="horizontal"&&(k=D);const z=C&&this.options.syncTouch,I=C&&b.type==="touchend"&&Math.abs(k)>5;I&&(k=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+k,Object.assign({programmatic:!1},z?{lerp:I?this.options.syncTouchLerp:1}:{lerp:this.options.lerp,duration:this.options.duration,easing:this.options.easing}))},this.onNativeScroll=()=>{if(this._resetVelocityTimeout!==null&&(clearTimeout(this._resetVelocityTimeout),this._resetVelocityTimeout=null),this._preventNextNativeScrollEvent)this._preventNextNativeScrollEvent=!1;else if(this.isScrolling===!1||this.isScrolling==="native"){const y=this.animatedScroll;this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity,this.velocity=this.animatedScroll-y,this.direction=Math.sign(this.animatedScroll-y),this.isScrolling="native",this.emit(),this.velocity!==0&&(this._resetVelocityTimeout=setTimeout(()=>{this.lastVelocity=this.velocity,this.velocity=0,this.isScrolling=!1,this.emit()},400))}},window.lenisVersion="1.1.13",e&&e!==document.documentElement&&e!==document.body||(e=window),this.options={wrapper:e,content:t,eventsTarget:i,smoothWheel:r,syncTouch:s,syncTouchLerp:a,touchInertiaMultiplier:o,duration:l,easing:u,lerp:c,infinite:f,gestureOrientation:p,orientation:d,touchMultiplier:m,wheelMultiplier:h,autoResize:v,prevent:_,virtualScroll:w,__experimental__naiveDimensions:g},this.dimensions=new Fu(e,t,{autoResize:v}),this.updateClassName(),this.targetScroll=this.animatedScroll=this.actualScroll,this.options.wrapper.addEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.addEventListener("pointerdown",this.onPointerDown,!1),this.virtualScroll=new ku(i,{touchMultiplier:m,wheelMultiplier:h}),this.virtualScroll.on("scroll",this.onVirtualScroll)}destroy(){this.emitter.destroy(),this.options.wrapper.removeEventListener("scroll",this.onNativeScroll,!1),this.options.wrapper.removeEventListener("pointerdown",this.onPointerDown,!1),this.virtualScroll.destroy(),this.dimensions.destroy(),this.cleanUpClassName()}on(e,t){return this.emitter.on(e,t)}off(e,t){return this.emitter.off(e,t)}setScroll(e){this.isHorizontal?this.rootElement.scrollLeft=e:this.rootElement.scrollTop=e}resize(){this.dimensions.resize(),this.animatedScroll=this.targetScroll=this.actualScroll,this.emit()}emit(){this.emitter.emit("scroll",this)}reset(){this.isLocked=!1,this.isScrolling=!1,this.animatedScroll=this.targetScroll=this.actualScroll,this.lastVelocity=this.velocity=0,this.animate.stop()}start(){this.isStopped&&(this.isStopped=!1,this.reset())}stop(){this.isStopped||(this.isStopped=!0,this.animate.stop(),this.reset())}raf(e){const t=e-(this.time||e);this.time=e,this.animate.advance(.001*t)}scrollTo(e,{offset:t=0,immediate:i=!1,lock:r=!1,duration:s=this.options.duration,easing:a=this.options.easing,lerp:o=this.options.lerp,onStart:l,onComplete:u,force:c=!1,programmatic:f=!0,userData:d}={}){if(!this.isStopped&&!this.isLocked||c){if(typeof e=="string"&&["top","left","start"].includes(e))e=0;else if(typeof e=="string"&&["bottom","right","end"].includes(e))e=this.limit;else{let p;if(typeof e=="string"?p=document.querySelector(e):e instanceof HTMLElement&&(e!=null&&e.nodeType)&&(p=e),p){if(this.options.wrapper!==window){const h=this.rootElement.getBoundingClientRect();t-=this.isHorizontal?h.left:h.top}const m=p.getBoundingClientRect();e=(this.isHorizontal?m.left:m.top)+this.animatedScroll}}if(typeof e=="number"){if(e+=t,e=Math.round(e),this.options.infinite?f&&(this.targetScroll=this.animatedScroll=this.scroll):e=Qa(0,e,this.limit),e===this.targetScroll)return l==null||l(this),void(u==null||u(this));if(this.userData=d??{},i)return this.animatedScroll=this.targetScroll=e,this.setScroll(this.scroll),this.reset(),this.preventNextNativeScrollEvent(),this.emit(),u==null||u(this),void(this.userData={});f||(this.targetScroll=e),this.animate.fromTo(this.animatedScroll,e,{duration:s,easing:a,lerp:o,onStart:()=>{r&&(this.isLocked=!0),this.isScrolling="smooth",l==null||l(this)},onUpdate:(p,m)=>{this.isScrolling="smooth",this.lastVelocity=this.velocity,this.velocity=p-this.animatedScroll,this.direction=Math.sign(this.velocity),this.animatedScroll=p,this.setScroll(this.scroll),f&&(this.targetScroll=p),m||this.emit(),m&&(this.reset(),this.emit(),u==null||u(this),this.userData={},this.preventNextNativeScrollEvent())}})}}}preventNextNativeScrollEvent(){this._preventNextNativeScrollEvent=!0,requestAnimationFrame(()=>{this._preventNextNativeScrollEvent=!1})}get rootElement(){return this.options.wrapper===window?document.documentElement:this.options.wrapper}get limit(){return this.options.__experimental__naiveDimensions?this.isHorizontal?this.rootElement.scrollWidth-this.rootElement.clientWidth:this.rootElement.scrollHeight-this.rootElement.clientHeight:this.dimensions.limit[this.isHorizontal?"x":"y"]}get isHorizontal(){return this.options.orientation==="horizontal"}get actualScroll(){return this.isHorizontal?this.rootElement.scrollLeft:this.rootElement.scrollTop}get scroll(){return this.options.infinite?function(t,i){return(t%i+i)%i}(this.animatedScroll,this.limit):this.animatedScroll}get progress(){return this.limit===0?1:this.scroll/this.limit}get isScrolling(){return this._isScrolling}set isScrolling(e){this._isScrolling!==e&&(this._isScrolling=e,this.updateClassName())}get isStopped(){return this._isStopped}set isStopped(e){this._isStopped!==e&&(this._isStopped=e,this.updateClassName())}get isLocked(){return this._isLocked}set isLocked(e){this._isLocked!==e&&(this._isLocked=e,this.updateClassName())}get isSmooth(){return this.isScrolling==="smooth"}get className(){let e="lenis";return this.isStopped&&(e+=" lenis-stopped"),this.isLocked&&(e+=" lenis-locked"),this.isScrolling&&(e+=" lenis-scrolling"),this.isScrolling==="smooth"&&(e+=" lenis-smooth"),e}updateClassName(){this.cleanUpClassName(),this.rootElement.className=`${this.rootElement.className} ${this.className}`.trim()}cleanUpClassName(){this.rootElement.className=this.rootElement.className.replace(/lenis(-\w+)?/g,"").trim()}}function pi(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function eo(n,e){n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.__proto__=e}/*! * GSAP 3.12.2 * https://greensock.com * * @license Copyright 2008-2023, GreenSock. All rights reserved. * Subject to the terms at https://greensock.com/standard-license or for * Club GreenSock members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */var _t={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},vr={duration:.5,overwrite:!1,delay:0},xn,Qe,ye,Ot=1e8,ue=1/Ot,En=Math.PI*2,Ou=En/4,zu=0,to=Math.sqrt,Iu=Math.cos,Bu=Math.sin,ze=function(e){return typeof e=="string"},De=function(e){return typeof e=="function"},hi=function(e){return typeof e=="number"},Sn=function(e){return typeof e>"u"},ti=function(e){return typeof e=="object"},ft=function(e){return e!==!1},Tn=function(){return typeof window<"u"},As=function(e){return De(e)||ze(e)},io=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Ke=Array.isArray,Cn=/(?:-?\.?\d|\.)+/gi,ro=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,wr=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,An=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,so=/[+-]=-?[.\d]+/,no=/[^,'"\[\]\s]+/gi,Ru=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,he,zt,Mn,Pn,yt={},Ms={},ao,oo=function(e){return(Ms=Vi(e,yt))&>},Fn=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},Ps=function(e,t){return!t&&console.warn(e)},lo=function(e,t){return e&&(yt[e]=t)&&Ms&&(Ms[e]=t)||yt},Xr=function(){return 0},$u={suppressEvents:!0,isStart:!0,kill:!1},Fs={suppressEvents:!0,kill:!1},Nu={suppressEvents:!0},kn={},Si=[],Ln={},uo,Dt={},On={},co=30,ks=[],zn="",In=function(e){var t=e[0],i,r;if(ti(t)||De(t)||(e=[e]),!(i=(t._gsap||{}).harness)){for(r=ks.length;r--&&!ks[r].targetTest(t););i=ks[r]}for(r=e.length;r--;)e[r]&&(e[r]._gsap||(e[r]._gsap=new No(e[r],i)))||e.splice(r,1);return e},Hi=function(e){return e._gsap||In(Rt(e))[0]._gsap},fo=function(e,t,i){return(i=e[t])&&De(i)?e[t]():Sn(i)&&e.getAttribute&&e.getAttribute(t)||i},pt=function(e,t){return(e=e.split(",")).forEach(t)||e},Ce=function(e){return Math.round(e*1e5)/1e5||0},Ye=function(e){return Math.round(e*1e7)/1e7||0},_r=function(e,t){var i=t.charAt(0),r=parseFloat(t.substr(2));return e=parseFloat(e),i==="+"?e+r:i==="-"?e-r:i==="*"?e*r:e/r},Yu=function(e,t){for(var i=t.length,r=0;e.indexOf(t[r])<0&&++ro;)a=a._prev;return a?(t._next=a._next,a._next=t):(t._next=e[i],e[i]=t),t._next?t._next._prev=t:e[r]=t,t._prev=a,t.parent=t._dp=e,t},zs=function(e,t,i,r){i===void 0&&(i="_first"),r===void 0&&(r="_last");var s=t._prev,a=t._next;s?s._next=a:e[i]===t&&(e[i]=a),a?a._prev=s:e[r]===t&&(e[r]=s),t._next=t._prev=t.parent=null},Ti=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Xi=function(e,t){if(e&&(!t||t._end>e._dur||t._start<0))for(var i=e;i;)i._dirty=1,i=i.parent;return e},Vu=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},Bn=function(e,t,i,r){return e._startAt&&(Qe?e._startAt.revert(Fs):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,r))},Xu=function n(e){return!e||e._ts&&n(e.parent)},wo=function(e){return e._repeat?yr(e._tTime,e=e.duration()+e._rDelay)*e:0},yr=function(e,t){var i=Math.floor(e/=t);return e&&i===e?i-1:i},Is=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Bs=function(e){return e._end=Ye(e._start+(e._tDur/Math.abs(e._ts||e._rts||ue)||0))},Rs=function(e,t){var i=e._dp;return i&&i.smoothChildTiming&&e._ts&&(e._start=Ye(i._time-(e._ts>0?t/e._ts:((e._dirty?e.totalDuration():e._tDur)-t)/-e._ts)),Bs(e),i._dirty||Xi(i,e)),e},_o=function(e,t){var i;if((t._time||!t._dur&&t._initted||t._startue)&&t.render(i,!0)),Xi(e,t)._dp&&e._initted&&e._time>=e._dur&&e._ts){if(e._dur=0&&i.totalTime(i._tTime),i=i._dp;e._zTime=-ue}},ii=function(e,t,i,r){return t.parent&&Ti(t),t._start=Ye((hi(i)?i:i||e!==he?Bt(e,i,t):e._time)+t._delay),t._end=Ye(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),vo(e,t,"_first","_last",e._sort?"_start":0),Rn(t)||(e._recent=t),r||_o(e,t),e._ts<0&&Rs(e,e._tTime),e},yo=function(e,t){return(yt.ScrollTrigger||Fn("scrollTrigger",t))&&yt.ScrollTrigger.create(t,e)},Do=function(e,t,i,r,s){if(Wn(e,t,s),!e._initted)return 1;if(!i&&e._pt&&!Qe&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&uo!==bt.frame)return Si.push(e),e._lazy=[s,r],1},qu=function n(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||n(t))},Rn=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},Wu=function(e,t,i,r){var s=e.ratio,a=t<0||!t&&(!e._start&&qu(e)&&!(!e._initted&&Rn(e))||(e._ts<0||e._dp._ts<0)&&!Rn(e))?0:1,o=e._rDelay,l=0,u,c,f;if(o&&e._repeat&&(l=Ur(0,e._tDur,t),c=yr(l,o),e._yoyo&&c&1&&(a=1-a),c!==yr(e._tTime,o)&&(s=1-a,e.vars.repeatRefresh&&e._initted&&e.invalidate())),a!==s||Qe||r||e._zTime===ue||!t&&e._zTime){if(!e._initted&&Do(e,t,r,i,l))return;for(f=e._zTime,e._zTime=t||(i?ue:0),i||(i=t&&!f),e.ratio=a,e._from&&(a=1-a),e._time=0,e._tTime=l,u=e._pt;u;)u.r(a,u.d),u=u._next;t<0&&Bn(e,t,i,!0),e._onUpdate&&!i&&$t(e,"onUpdate"),l&&e._repeat&&!i&&e.parent&&$t(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===a&&(a&&Ti(e,1),!i&&!Qe&&($t(e,a?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},Uu=function(e,t,i){var r;if(i>t)for(r=e._first;r&&r._start<=i;){if(r.data==="isPause"&&r._start>t)return r;r=r._next}else for(r=e._last;r&&r._start>=i;){if(r.data==="isPause"&&r._start0&&!r&&Rs(e,e._tTime=e._tDur*o),e.parent&&Bs(e),i||Xi(e.parent,e),e},bo=function(e){return e instanceof ht?Xi(e):Dr(e,e._dur)},ju={_start:0,endTime:Xr,totalDuration:Xr},Bt=function n(e,t,i){var r=e.labels,s=e._recent||ju,a=e.duration()>=Ot?s.endTime(!1):e._dur,o,l,u;return ze(t)&&(isNaN(t)||t in r)?(l=t.charAt(0),u=t.substr(-1)==="%",o=t.indexOf("="),l==="<"||l===">"?(o>=0&&(t=t.replace(/=/,"")),(l==="<"?s._start:s.endTime(s._repeat>=0))+(parseFloat(t.substr(1))||0)*(u?(o<0?s:i).totalDuration()/100:1)):o<0?(t in r||(r[t]=a),r[t]):(l=parseFloat(t.charAt(o-1)+t.substr(o+1)),u&&i&&(l=l/100*(Ke(i)?i[0]:i).totalDuration()),o>1?n(e,t.substr(0,o-1),i)+l:a+l)):t==null?a:+t},Wr=function(e,t,i){var r=hi(t[1]),s=(r?2:1)+(e<2?0:1),a=t[s],o,l;if(r&&(a.duration=t[1]),a.parent=i,e){for(o=a,l=i;l&&!("immediateRender"in o);)o=l.vars.defaults||{},l=ft(l.vars.inherit)&&l.parent;a.immediateRender=ft(o.immediateRender),e<2?a.runBackwards=1:a.startAt=t[s-1]}return new Fe(t[0],a,t[s+1])},Ci=function(e,t){return e||e===0?t(e):t},Ur=function(e,t,i){return it?t:i},Je=function(e,t){return!ze(e)||!(t=Ru.exec(e))?"":t[1]},Zu=function(e,t,i){return Ci(i,function(r){return Ur(e,t,r)})},$n=[].slice,xo=function(e,t){return e&&ti(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&ti(e[0]))&&!e.nodeType&&e!==zt},Qu=function(e,t,i){return i===void 0&&(i=[]),e.forEach(function(r){var s;return ze(r)&&!t||xo(r,1)?(s=i).push.apply(s,Rt(r)):i.push(r)})||i},Rt=function(e,t,i){return ye&&!t&&ye.selector?ye.selector(e):ze(e)&&!i&&(Mn||!xr())?$n.call((t||Pn).querySelectorAll(e),0):Ke(e)?Qu(e,i):xo(e)?$n.call(e,0):e?[e]:[]},Nn=function(e){return e=Rt(e)[0]||Ps("Invalid scope")||{},function(t){var i=e.current||e.nativeElement||e;return Rt(t,i.querySelectorAll?i:i===e?Ps("Invalid scope")||Pn.createElement("div"):e)}},Eo=function(e){return e.sort(function(){return .5-Math.random()})},So=function(e){if(De(e))return e;var t=ti(e)?e:{each:e},i=qi(t.ease),r=t.from||0,s=parseFloat(t.base)||0,a={},o=r>0&&r<1,l=isNaN(r)||o,u=t.axis,c=r,f=r;return ze(r)?c=f={center:.5,edges:.5,end:1}[r]||0:!o&&l&&(c=r[0],f=r[1]),function(d,p,m){var h=(m||t).length,v=a[h],_,w,g,y,D,E,b,C,x;if(!v){if(x=t.grid==="auto"?0:(t.grid||[1,Ot])[1],!x){for(b=-Ot;b<(b=m[x++].getBoundingClientRect().left)&&xb&&(b=D),Dh?h-1:u?u==="y"?h/x:x:Math.max(x,h/x))||0)*(r==="edges"?-1:1),v.b=h<0?s-h:s,v.u=Je(t.amount||t.each)||0,i=i&&h<0?Bo(i):i}return h=(v[d]-v.min)/v.max||0,Ye(v.b+(i?i(h):h)*v.v)+v.u}},Yn=function(e){var t=Math.pow(10,((e+"").split(".")[1]||"").length);return function(i){var r=Ye(Math.round(parseFloat(i)/e)*e*t);return(r-r%1)/t+(hi(i)?0:Je(i))}},To=function(e,t){var i=Ke(e),r,s;return!i&&ti(e)&&(r=i=e.radius||Ot,e.values?(e=Rt(e.values),(s=!hi(e[0]))&&(r*=r)):e=Yn(e.increment)),Ci(t,i?De(e)?function(a){return s=e(a),Math.abs(s-a)<=r?s:a}:function(a){for(var o=parseFloat(s?a.x:a),l=parseFloat(s?a.y:0),u=Ot,c=0,f=e.length,d,p;f--;)s?(d=e[f].x-o,p=e[f].y-l,d=d*d+p*p):d=Math.abs(e[f]-o),dr?s-a:a)})},jr=function(e){for(var t=0,i="",r,s,a,o;~(r=e.indexOf("random(",t));)a=e.indexOf(")",r),o=e.charAt(r+7)==="[",s=e.substr(r+7,a-r-7).match(o?no:Cn),i+=e.substr(t,r-t)+Co(o?s:+s[0],o?0:+s[1],+s[2]||1e-5),t=a+1;return i+e.substr(t,e.length-t)},Mo=function(e,t,i,r,s){var a=t-e,o=r-i;return Ci(s,function(l){return i+((l-e)/a*o||0)})},rc=function n(e,t,i,r){var s=isNaN(e+t)?0:function(p){return(1-p)*e+p*t};if(!s){var a=ze(e),o={},l,u,c,f,d;if(i===!0&&(r=1)&&(i=null),a)e={p:e},t={p:t};else if(Ke(e)&&!Ke(t)){for(c=[],f=e.length,d=f-2,u=1;u(o=Math.abs(o))&&(l=a,s=o);return l},$t=function(e,t,i){var r=e.vars,s=r[t],a=ye,o=e._ctx,l,u,c;if(s)return l=r[t+"Params"],u=r.callbackScope||e,i&&Si.length&&Ls(),o&&(ye=o),c=l?s.apply(u,l):s.call(u),ye=a,c},Zr=function(e){return Ti(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Qe),e.progress()<1&&$t(e,"onInterrupt"),e},br,Fo=[],ko=function(e){if(Tn()&&e){e=!e.name&&e.default||e;var t=e.name,i=De(e),r=t&&!i&&e.init?function(){this._props=[]}:e,s={init:Xr,render:Zn,add:Xn,kill:_c,modifier:wc,rawVars:0},a={targetTest:0,get:0,getSetter:jn,aliases:{},register:0};if(xr(),e!==r){if(Dt[t])return;It(r,It(Os(e,s),a)),Vi(r.prototype,Vi(s,Os(e,a))),Dt[r.prop=t]=r,e.targetTest&&(ks.push(r),kn[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}lo(t,r),e.register&&e.register(gt,r,mt)}else e&&Fo.push(e)},ce=255,Qr={aqua:[0,ce,ce],lime:[0,ce,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,ce],navy:[0,0,128],white:[ce,ce,ce],olive:[128,128,0],yellow:[ce,ce,0],orange:[ce,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[ce,0,0],pink:[ce,192,203],cyan:[0,ce,ce],transparent:[ce,ce,ce,0]},Gn=function(e,t,i){return e+=e<0?1:e>1?-1:0,(e*6<1?t+(i-t)*e*6:e<.5?i:e*3<2?t+(i-t)*(2/3-e)*6:t)*ce+.5|0},Lo=function(e,t,i){var r=e?hi(e)?[e>>16,e>>8&ce,e&ce]:0:Qr.black,s,a,o,l,u,c,f,d,p,m;if(!r){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),Qr[e])r=Qr[e];else if(e.charAt(0)==="#"){if(e.length<6&&(s=e.charAt(1),a=e.charAt(2),o=e.charAt(3),e="#"+s+s+a+a+o+o+(e.length===5?e.charAt(4)+e.charAt(4):"")),e.length===9)return r=parseInt(e.substr(1,6),16),[r>>16,r>>8&ce,r&ce,parseInt(e.substr(7),16)/255];e=parseInt(e.substr(1),16),r=[e>>16,e>>8&ce,e&ce]}else if(e.substr(0,3)==="hsl"){if(r=m=e.match(Cn),!t)l=+r[0]%360/360,u=+r[1]/100,c=+r[2]/100,a=c<=.5?c*(u+1):c+u-c*u,s=c*2-a,r.length>3&&(r[3]*=1),r[0]=Gn(l+1/3,s,a),r[1]=Gn(l,s,a),r[2]=Gn(l-1/3,s,a);else if(~e.indexOf("="))return r=e.match(ro),i&&r.length<4&&(r[3]=1),r}else r=e.match(Cn)||Qr.transparent;r=r.map(Number)}return t&&!m&&(s=r[0]/ce,a=r[1]/ce,o=r[2]/ce,f=Math.max(s,a,o),d=Math.min(s,a,o),c=(f+d)/2,f===d?l=u=0:(p=f-d,u=c>.5?p/(2-f-d):p/(f+d),l=f===s?(a-o)/p+(ae&&(i+=_-t),r+=_,D=r-i,g=D-a,(g>0||w)&&(E=++f.frame,d=D-f.time*1e3,f.time=D=D/1e3,a+=g+(g>=s?4:s-g),y=1),w||(l=u(h)),y)for(p=0;p=_&&p--},_listeners:o},f}(),xr=function(){return!Kr&&bt.wake()},ie={},nc=/^[\d.\-M][\d.\-,\s]/,ac=/["']/g,oc=function(e){for(var t={},i=e.substr(1,e.length-3).split(":"),r=i[0],s=1,a=i.length,o,l,u;s1&&i.config?i.config.apply(null,~e.indexOf("{")?[oc(t[1])]:lc(e).split(",").map(ho)):ie._CE&&nc.test(e)?ie._CE("",e):i},Bo=function(e){return function(t){return 1-e(1-t)}},Ro=function n(e,t){for(var i=e._first,r;i;)i instanceof ht?n(i,t):i.vars.yoyoEase&&(!i._yoyo||!i._repeat)&&i._yoyo!==t&&(i.timeline?n(i.timeline,t):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=t)),i=i._next},qi=function(e,t){return e&&(De(e)?e:ie[e]||uc(e))||t},Wi=function(e,t,i,r){i===void 0&&(i=function(l){return 1-t(1-l)}),r===void 0&&(r=function(l){return l<.5?t(l*2)/2:1-t((1-l)*2)/2});var s={easeIn:t,easeOut:i,easeInOut:r},a;return pt(e,function(o){ie[o]=yt[o]=s,ie[a=o.toLowerCase()]=i;for(var l in s)ie[a+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=ie[o+"."+l]=s[l]}),s},$o=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},Hn=function n(e,t,i){var r=t>=1?t:1,s=(i||(e?.3:.45))/(t<1?t:1),a=s/En*(Math.asin(1/r)||0),o=function(c){return c===1?1:r*Math.pow(2,-10*c)*Bu((c-a)*s)+1},l=e==="out"?o:e==="in"?function(u){return 1-o(1-u)}:$o(o);return s=En/s,l.config=function(u,c){return n(e,u,c)},l},Vn=function n(e,t){t===void 0&&(t=1.70158);var i=function(a){return a?--a*a*((t+1)*a+t)+1:0},r=e==="out"?i:e==="in"?function(s){return 1-i(1-s)}:$o(i);return r.config=function(s){return n(e,s)},r};pt("Linear,Quad,Cubic,Quart,Quint,Strong",function(n,e){var t=e<5?e+1:e;Wi(n+",Power"+(t-1),e?function(i){return Math.pow(i,t)}:function(i){return i},function(i){return 1-Math.pow(1-i,t)},function(i){return i<.5?Math.pow(i*2,t)/2:1-Math.pow((1-i)*2,t)/2})}),ie.Linear.easeNone=ie.none=ie.Linear.easeIn,Wi("Elastic",Hn("in"),Hn("out"),Hn()),function(n,e){var t=1/e,i=2*t,r=2.5*t,s=function(o){return o0?i+(i+this._rDelay)*this._repeat:i):this.totalDuration()&&this._dur},e.totalDuration=function(i){return arguments.length?(this._dirty=0,Dr(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(i,r){if(xr(),!arguments.length)return this._tTime;var s=this._dp;if(s&&s.smoothChildTiming&&this._ts){for(Rs(this,i),!s._dp||s.parent||_o(s,this);s&&s.parent;)s.parent._time!==s._start+(s._ts>=0?s._tTime/s._ts:(s.totalDuration()-s._tTime)/-s._ts)&&s.totalTime(s._tTime,!0),s=s.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&i0||!this._tDur&&!i)&&ii(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!r||this._initted&&Math.abs(this._zTime)===ue||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),po(this,i,r)),this},e.time=function(i,r){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+wo(this))%(this._dur+this._rDelay)||(i?this._dur:0),r):this._time},e.totalProgress=function(i,r){return arguments.length?this.totalTime(this.totalDuration()*i,r):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio},e.progress=function(i,r){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+wo(this),r):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(i,r){var s=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(i-1)*s,r):this._repeat?yr(this._tTime,s)+1:1},e.timeScale=function(i){if(!arguments.length)return this._rts===-ue?0:this._rts;if(this._rts===i)return this;var r=this.parent&&this._ts?Is(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-ue?0:this._rts,this.totalTime(Ur(-Math.abs(this._delay),this._tDur,r),!0),Bs(this),Vu(this)},e.paused=function(i){return arguments.length?(this._ps!==i&&(this._ps=i,i?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(xr(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==ue&&(this._tTime-=ue)))),this):this._ps},e.startTime=function(i){if(arguments.length){this._start=i;var r=this.parent||this._dp;return r&&(r._sort||!this.parent)&&ii(r,this,i-this._delay),this}return this._start},e.endTime=function(i){return this._start+(ft(i)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(i){var r=this.parent||this._dp;return r?i&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Is(r.rawTime(i),this):this._tTime:this._tTime},e.revert=function(i){i===void 0&&(i=Nu);var r=Qe;return Qe=i,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(i),this.totalTime(-.01,i.suppressEvents)),this.data!=="nested"&&i.kill!==!1&&this.kill(),Qe=r,this},e.globalTime=function(i){for(var r=this,s=arguments.length?i:r.rawTime();r;)s=r._start+s/(r._ts||1),r=r._dp;return!this.parent&&this._sat?this._sat.vars.immediateRender?-1/0:this._sat.globalTime(i):s},e.repeat=function(i){return arguments.length?(this._repeat=i===1/0?-2:i,bo(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(i){if(arguments.length){var r=this._time;return this._rDelay=i,bo(this),r?this.time(r):this}return this._rDelay},e.yoyo=function(i){return arguments.length?(this._yoyo=i,this):this._yoyo},e.seek=function(i,r){return this.totalTime(Bt(this,i),ft(r))},e.restart=function(i,r){return this.play().totalTime(i?-this._delay:0,ft(r))},e.play=function(i,r){return i!=null&&this.seek(i,r),this.reversed(!1).paused(!1)},e.reverse=function(i,r){return i!=null&&this.seek(i||this.totalDuration(),r),this.reversed(!0).paused(!1)},e.pause=function(i,r){return i!=null&&this.seek(i,r),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(i){return arguments.length?(!!i!==this.reversed()&&this.timeScale(-this._rts||(i?-ue:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-ue,this},e.isActive=function(){var i=this.parent||this._dp,r=this._start,s;return!!(!i||this._ts&&this._initted&&i.isActive()&&(s=i.rawTime(!0))>=r&&s1?(r?(a[i]=r,s&&(a[i+"Params"]=s),i==="onUpdate"&&(this._onUpdate=r)):delete a[i],this):a[i]},e.then=function(i){var r=this;return new Promise(function(s){var a=De(i)?i:mo,o=function(){var u=r.then;r.then=null,De(a)&&(a=a(r))&&(a.then||a===r)&&(r.then=u),s(a),r.then=u};r._initted&&r.totalProgress()===1&&r._ts>=0||!r._tTime&&r._ts<0?o():r._prom=o})},e.kill=function(){Zr(this)},n}();It(Jr.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-ue,_prom:0,_ps:!1,_rts:1});var ht=function(n){eo(e,n);function e(i,r){var s;return i===void 0&&(i={}),s=n.call(this,i)||this,s.labels={},s.smoothChildTiming=!!i.smoothChildTiming,s.autoRemoveChildren=!!i.autoRemoveChildren,s._sort=ft(i.sortChildren),he&&ii(i.parent||he,pi(s),r),i.reversed&&s.reverse(),i.paused&&s.paused(!0),i.scrollTrigger&&yo(pi(s),i.scrollTrigger),s}var t=e.prototype;return t.to=function(r,s,a){return Wr(0,arguments,this),this},t.from=function(r,s,a){return Wr(1,arguments,this),this},t.fromTo=function(r,s,a,o){return Wr(2,arguments,this),this},t.set=function(r,s,a){return s.duration=0,s.parent=this,qr(s).repeatDelay||(s.repeat=0),s.immediateRender=!!s.immediateRender,new Fe(r,s,Bt(this,a),1),this},t.call=function(r,s,a){return ii(this,Fe.delayedCall(0,r,s),a)},t.staggerTo=function(r,s,a,o,l,u,c){return a.duration=s,a.stagger=a.stagger||o,a.onComplete=u,a.onCompleteParams=c,a.parent=this,new Fe(r,a,Bt(this,l)),this},t.staggerFrom=function(r,s,a,o,l,u,c){return a.runBackwards=1,qr(a).immediateRender=ft(a.immediateRender),this.staggerTo(r,s,a,o,l,u,c)},t.staggerFromTo=function(r,s,a,o,l,u,c,f){return o.startAt=a,qr(o).immediateRender=ft(o.immediateRender),this.staggerTo(r,s,o,l,u,c,f)},t.render=function(r,s,a){var o=this._time,l=this._dirty?this.totalDuration():this._tDur,u=this._dur,c=r<=0?0:Ye(r),f=this._zTime<0!=r<0&&(this._initted||!u),d,p,m,h,v,_,w,g,y,D,E,b;if(this!==he&&c>l&&r>=0&&(c=l),c!==this._tTime||a||f){if(o!==this._time&&u&&(c+=this._time-o,r+=this._time-o),d=c,y=this._start,g=this._ts,_=!g,f&&(u||(o=this._zTime),(r||!s)&&(this._zTime=r)),this._repeat){if(E=this._yoyo,v=u+this._rDelay,this._repeat<-1&&r<0)return this.totalTime(v*100+r,s,a);if(d=Ye(c%v),c===l?(h=this._repeat,d=u):(h=~~(c/v),h&&h===c/v&&(d=u,h--),d>u&&(d=u)),D=yr(this._tTime,v),!o&&this._tTime&&D!==h&&this._tTime-D*v-this._dur<=0&&(D=h),E&&h&1&&(d=u-d,b=1),h!==D&&!this._lock){var C=E&&D&1,x=C===(E&&h&1);if(h=o&&r>=0)for(p=this._first;p;){if(m=p._next,(p._act||d>=p._start)&&p._ts&&w!==p){if(p.parent!==this)return this.render(r,s,a);if(p.render(p._ts>0?(d-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(d-p._start)*p._ts,s,a),d!==this._time||!this._ts&&!_){w=0,m&&(c+=this._zTime=-ue);break}}p=m}else{p=this._last;for(var S=r<0?r:d;p;){if(m=p._prev,(p._act||S<=p._end)&&p._ts&&w!==p){if(p.parent!==this)return this.render(r,s,a);if(p.render(p._ts>0?(S-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(S-p._start)*p._ts,s,a||Qe&&(p._initted||p._startAt)),d!==this._time||!this._ts&&!_){w=0,m&&(c+=this._zTime=S?-ue:ue);break}}p=m}}if(w&&!s&&(this.pause(),w.render(d>=o?0:-ue)._zTime=d>=o?1:-1,this._ts))return this._start=y,Bs(this),this.render(r,s,a);this._onUpdate&&!s&&$t(this,"onUpdate",!0),(c===l&&this._tTime>=this.totalDuration()||!c&&o)&&(y===this._start||Math.abs(g)!==Math.abs(this._ts))&&(this._lock||((r||!u)&&(c===l&&this._ts>0||!c&&this._ts<0)&&Ti(this,1),!s&&!(r<0&&!o)&&(c||o||!l)&&($t(this,c===l&&r>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c0)&&this._prom())))}return this},t.add=function(r,s){var a=this;if(hi(s)||(s=Bt(this,s,r)),!(r instanceof Jr)){if(Ke(r))return r.forEach(function(o){return a.add(o,s)}),this;if(ze(r))return this.addLabel(r,s);if(De(r))r=Fe.delayedCall(0,r);else return this}return this!==r?ii(this,r,s):this},t.getChildren=function(r,s,a,o){r===void 0&&(r=!0),s===void 0&&(s=!0),a===void 0&&(a=!0),o===void 0&&(o=-Ot);for(var l=[],u=this._first;u;)u._start>=o&&(u instanceof Fe?s&&l.push(u):(a&&l.push(u),r&&l.push.apply(l,u.getChildren(!0,s,a)))),u=u._next;return l},t.getById=function(r){for(var s=this.getChildren(1,1,1),a=s.length;a--;)if(s[a].vars.id===r)return s[a]},t.remove=function(r){return ze(r)?this.removeLabel(r):De(r)?this.killTweensOf(r):(zs(this,r),r===this._recent&&(this._recent=this._last),Xi(this))},t.totalTime=function(r,s){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Ye(bt.time-(this._ts>0?r/this._ts:(this.totalDuration()-r)/-this._ts))),n.prototype.totalTime.call(this,r,s),this._forcing=0,this):this._tTime},t.addLabel=function(r,s){return this.labels[r]=Bt(this,s),this},t.removeLabel=function(r){return delete this.labels[r],this},t.addPause=function(r,s,a){var o=Fe.delayedCall(0,s||Xr,a);return o.data="isPause",this._hasPause=1,ii(this,o,Bt(this,r))},t.removePause=function(r){var s=this._first;for(r=Bt(this,r);s;)s._start===r&&s.data==="isPause"&&Ti(s),s=s._next},t.killTweensOf=function(r,s,a){for(var o=this.getTweensOf(r,a),l=o.length;l--;)Mi!==o[l]&&o[l].kill(r,s);return this},t.getTweensOf=function(r,s){for(var a=[],o=Rt(r),l=this._first,u=hi(s),c;l;)l instanceof Fe?Yu(l._targets,o)&&(u?(!Mi||l._initted&&l._ts)&&l.globalTime(0)<=s&&l.globalTime(l.totalDuration())>s:!s||l.isActive())&&a.push(l):(c=l.getTweensOf(o,s)).length&&a.push.apply(a,c),l=l._next;return a},t.tweenTo=function(r,s){s=s||{};var a=this,o=Bt(a,r),l=s,u=l.startAt,c=l.onStart,f=l.onStartParams,d=l.immediateRender,p,m=Fe.to(a,It({ease:s.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:s.duration||Math.abs((o-(u&&"time"in u?u.time:a._time))/a.timeScale())||ue,onStart:function(){if(a.pause(),!p){var v=s.duration||Math.abs((o-(u&&"time"in u?u.time:a._time))/a.timeScale());m._dur!==v&&Dr(m,v,0,1).render(m._time,!0,!0),p=1}c&&c.apply(m,f||[])}},s));return d?m.render(0):m},t.tweenFromTo=function(r,s,a){return this.tweenTo(s,It({startAt:{time:Bt(this,r)}},a))},t.recent=function(){return this._recent},t.nextLabel=function(r){return r===void 0&&(r=this._time),Po(this,Bt(this,r))},t.previousLabel=function(r){return r===void 0&&(r=this._time),Po(this,Bt(this,r),1)},t.currentLabel=function(r){return arguments.length?this.seek(r,!0):this.previousLabel(this._time+ue)},t.shiftChildren=function(r,s,a){a===void 0&&(a=0);for(var o=this._first,l=this.labels,u;o;)o._start>=a&&(o._start+=r,o._end+=r),o=o._next;if(s)for(u in l)l[u]>=a&&(l[u]+=r);return Xi(this)},t.invalidate=function(r){var s=this._first;for(this._lock=0;s;)s.invalidate(r),s=s._next;return n.prototype.invalidate.call(this,r)},t.clear=function(r){r===void 0&&(r=!0);for(var s=this._first,a;s;)a=s._next,this.remove(s),s=a;return this._dp&&(this._time=this._tTime=this._pTime=0),r&&(this.labels={}),Xi(this)},t.totalDuration=function(r){var s=0,a=this,o=a._last,l=Ot,u,c,f;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-r:r));if(a._dirty){for(f=a.parent;o;)u=o._prev,o._dirty&&o.totalDuration(),c=o._start,c>l&&a._sort&&o._ts&&!a._lock?(a._lock=1,ii(a,o,c-o._delay,1)._lock=0):l=c,c<0&&o._ts&&(s-=c,(!f&&!a._dp||f&&f.smoothChildTiming)&&(a._start+=c/a._ts,a._time-=c,a._tTime-=c),a.shiftChildren(-c,!1,-1/0),l=0),o._end>s&&o._ts&&(s=o._end),o=u;Dr(a,a===he&&a._time>s?a._time:s,1,1),a._dirty=0}return a._tDur},e.updateRoot=function(r){if(he._ts&&(po(he,Is(r,he)),uo=bt.frame),bt.frame>=co){co+=_t.autoSleep||120;var s=he._first;if((!s||!s._ts)&&_t.autoSleep&&bt._listeners.length<2){for(;s&&!s._ts;)s=s._next;s||bt.sleep()}}},e}(Jr);It(ht.prototype,{_lock:0,_hasPause:0,_forcing:0});var cc=function(e,t,i,r,s,a,o){var l=new mt(this._pt,e,t,0,1,qo,null,s),u=0,c=0,f,d,p,m,h,v,_,w;for(l.b=i,l.e=r,i+="",r+="",(_=~r.indexOf("random("))&&(r=jr(r)),a&&(w=[i,r],a(w,e,t),i=w[0],r=w[1]),d=i.match(An)||[];f=An.exec(r);)m=f[0],h=r.substring(u,f.index),p?p=(p+1)%5:h.substr(-5)==="rgba("&&(p=1),m!==d[c++]&&(v=parseFloat(d[c-1])||0,l._pt={_next:l._pt,p:h||c===1?h:",",s:v,c:m.charAt(1)==="="?_r(v,m)-v:parseFloat(m)-v,m:p&&p<4?Math.round:0},u=An.lastIndex);return l.c=u")}),y.duration();else{E={};for(C in m)C==="ease"||C==="easeEach"||hc(C,m[C],E,m.easeEach);for(C in E)for(P=E[C].sort(function(I,A){return I.t-A.t}),M=0,D=0;Dl-ue&&!c?l:ru&&(d=u)),_=this._yoyo&&m&1,_&&(y=this._yEase,d=u-d),v=yr(this._tTime,h),d===o&&!a&&this._initted)return this._tTime=f,this;m!==v&&(g&&this._yEase&&Ro(g,_),this.vars.repeatRefresh&&!_&&!this._lock&&(this._lock=a=1,this.render(Ye(h*m),!0).invalidate()._lock=0))}if(!this._initted){if(Do(this,c?r:d,a,s,f))return this._tTime=0,this;if(o!==this._time)return this;if(u!==this._dur)return this.render(r,s,a)}if(this._tTime=f,this._time=d,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=w=(y||this._ease)(d/u),this._from&&(this.ratio=w=1-w),d&&!o&&!s&&!m&&($t(this,"onStart"),this._tTime!==f))return this;for(p=this._pt;p;)p.r(w,p.d),p=p._next;g&&g.render(r<0?r:!d&&_?-ue:g._dur*g._ease(d/this._dur),s,a)||this._startAt&&(this._zTime=r),this._onUpdate&&!s&&(c&&Bn(this,r,s,a),$t(this,"onUpdate")),this._repeat&&m!==v&&this.vars.onRepeat&&!s&&this.parent&&$t(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(c&&!this._onUpdate&&Bn(this,r,!0,!0),(r||!u)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&Ti(this,1),!s&&!(c&&!o)&&(f||o||_)&&($t(this,f===l?"onComplete":"onReverseComplete",!0),this._prom&&!(f0)&&this._prom()))}return this},t.targets=function(){return this._targets},t.invalidate=function(r){return(!r||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(r),n.prototype.invalidate.call(this,r)},t.resetTo=function(r,s,a,o){Kr||bt.wake(),this._ts||this.play();var l=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||Wn(this,l),u=this._ease(l/this._dur),fc(this,r,s,a,o,u,l)?this.resetTo(r,s,a,o):(Rs(this,0),this.parent||vo(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(r,s){if(s===void 0&&(s="all"),!r&&(!s||s==="all"))return this._lazy=this._pt=0,this.parent?Zr(this):this;if(this.timeline){var a=this.timeline.totalDuration();return this.timeline.killTweensOf(r,s,Mi&&Mi.vars.overwrite!==!0)._first||Zr(this),this.parent&&a!==this.timeline.totalDuration()&&Dr(this,this._dur*this.timeline._tDur/a,0,1),this}var o=this._targets,l=r?Rt(r):o,u=this._ptLookup,c=this._pt,f,d,p,m,h,v,_;if((!s||s==="all")&&Hu(o,l))return s==="all"&&(this._pt=0),Zr(this);for(f=this._op=this._op||[],s!=="all"&&(ze(s)&&(h={},pt(s,function(w){return h[w]=1}),s=h),s=pc(o,s)),_=o.length;_--;)if(~l.indexOf(o[_])){d=u[_],s==="all"?(f[_]=s,m=d,p={}):(p=f[_]=f[_]||{},m=s);for(h in m)v=d&&d[h],v&&((!("kill"in v.d)||v.d.kill(h)===!0)&&zs(this,v,"_pt"),delete d[h]),p!=="all"&&(p[h]=1)}return this._initted&&!this._pt&&c&&Zr(this),this},e.to=function(r,s){return new e(r,s,arguments[2])},e.from=function(r,s){return Wr(1,arguments)},e.delayedCall=function(r,s,a,o){return new e(s,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:r,onComplete:s,onReverseComplete:s,onCompleteParams:a,onReverseCompleteParams:a,callbackScope:o})},e.fromTo=function(r,s,a){return Wr(2,arguments)},e.set=function(r,s){return s.duration=0,s.repeatDelay||(s.repeat=0),new e(r,s)},e.killTweensOf=function(r,s,a){return he.killTweensOf(r,s,a)},e}(Jr);It(Fe.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),pt("staggerTo,staggerFrom,staggerFromTo",function(n){Fe[n]=function(){var e=new ht,t=$n.call(arguments,0);return t.splice(n==="staggerFromTo"?5:4,0,0),e[n].apply(e,t)}});var Un=function(e,t,i){return e[t]=i},Vo=function(e,t,i){return e[t](i)},mc=function(e,t,i,r){return e[t](r.fp,i)},gc=function(e,t,i){return e.setAttribute(t,i)},jn=function(e,t){return De(e[t])?Vo:Sn(e[t])&&e.setAttribute?gc:Un},Xo=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},vc=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},qo=function(e,t){var i=t._pt,r="";if(!e&&t.b)r=t.b;else if(e===1&&t.e)r=t.e;else{for(;i;)r=i.p+(i.m?i.m(i.s+i.c*e):Math.round((i.s+i.c*e)*1e4)/1e4)+r,i=i._next;r+=t.c}t.set(t.t,t.p,r,t)},Zn=function(e,t){for(var i=t._pt;i;)i.r(e,i.d),i=i._next},wc=function(e,t,i,r){for(var s=this._pt,a;s;)a=s._next,s.p===r&&s.modifier(e,t,i),s=a},_c=function(e){for(var t=this._pt,i,r;t;)r=t._next,t.p===e&&!t.op||t.op===e?zs(this,t,"_pt"):t.dep||(i=1),t=r;return!i},yc=function(e,t,i,r){r.mSet(e,t,r.m.call(r.tween,i,r.mt),r)},Wo=function(e){for(var t=e._pt,i,r,s,a;t;){for(i=t._next,r=s;r&&r.pr>t.pr;)r=r._next;(t._prev=r?r._prev:a)?t._prev._next=t:s=t,(t._next=r)?r._prev=t:a=t,t=i}e._pt=s},mt=function(){function n(t,i,r,s,a,o,l,u,c){this.t=i,this.s=s,this.c=a,this.p=r,this.r=o||Xo,this.d=l||this,this.set=u||Un,this.pr=c||0,this._next=t,t&&(t._prev=this)}var e=n.prototype;return e.modifier=function(i,r,s){this.mSet=this.mSet||this.set,this.set=yc,this.m=i,this.mt=s,this.tween=r},n}();pt(zn+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(n){return kn[n]=1}),yt.TweenMax=yt.TweenLite=Fe,yt.TimelineLite=yt.TimelineMax=ht,he=new ht({sortChildren:!1,defaults:vr,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),_t.stringFilter=Io;var Ui=[],$s={},Dc=[],Uo=0,bc=0,Qn=function(e){return($s[e]||Dc).map(function(t){return t()})},Kn=function(){var e=Date.now(),t=[];e-Uo>2&&(Qn("matchMediaInit"),Ui.forEach(function(i){var r=i.queries,s=i.conditions,a,o,l,u;for(o in r)a=zt.matchMedia(r[o]).matches,a&&(l=1),a!==s[o]&&(s[o]=a,u=1);u&&(i.revert(),l&&t.push(i))}),Qn("matchMediaRevert"),t.forEach(function(i){return i.onMatch(i)}),Uo=e,Qn("matchMedia"))},jo=function(){function n(t,i){this.selector=i&&Nn(i),this.data=[],this._r=[],this.isReverted=!1,this.id=bc++,t&&this.add(t)}var e=n.prototype;return e.add=function(i,r,s){De(i)&&(s=r,r=i,i=De);var a=this,o=function(){var u=ye,c=a.selector,f;return u&&u!==a&&u.data.push(a),s&&(a.selector=Nn(s)),ye=a,f=r.apply(a,arguments),De(f)&&a._r.push(f),ye=u,a.selector=c,a.isReverted=!1,f};return a.last=o,i===De?o(a):i?a[i]=o:o},e.ignore=function(i){var r=ye;ye=null,i(this),ye=r},e.getTweens=function(){var i=[];return this.data.forEach(function(r){return r instanceof n?i.push.apply(i,r.getTweens()):r instanceof Fe&&!(r.parent&&r.parent.data==="nested")&&i.push(r)}),i},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(i,r){var s=this;if(i){var a=this.getTweens();this.data.forEach(function(l){l.data==="isFlip"&&(l.revert(),l.getChildren(!0,!0,!1).forEach(function(u){return a.splice(a.indexOf(u),1)}))}),a.map(function(l){return{g:l.globalTime(0),t:l}}).sort(function(l,u){return u.g-l.g||-1/0}).forEach(function(l){return l.t.revert(i)}),this.data.forEach(function(l){return!(l instanceof Fe)&&l.revert&&l.revert(i)}),this._r.forEach(function(l){return l(i,s)}),this.isReverted=!0}else this.data.forEach(function(l){return l.kill&&l.kill()});if(this.clear(),r)for(var o=Ui.length;o--;)Ui[o].id===this.id&&Ui.splice(o,1)},e.revert=function(i){this.kill(i||{})},n}(),xc=function(){function n(t){this.contexts=[],this.scope=t}var e=n.prototype;return e.add=function(i,r,s){ti(i)||(i={matches:i});var a=new jo(0,s||this.scope),o=a.conditions={},l,u,c;ye&&!a.selector&&(a.selector=ye.selector),this.contexts.push(a),r=a.add("onMatch",r),a.queries=i;for(u in i)u==="all"?c=1:(l=zt.matchMedia(i[u]),l&&(Ui.indexOf(a)<0&&Ui.push(a),(o[u]=l.matches)&&(c=1),l.addListener?l.addListener(Kn):l.addEventListener("change",Kn)));return c&&r(a),this},e.revert=function(i){this.kill(i||{})},e.kill=function(i){this.contexts.forEach(function(r){return r.kill(i,!0)})},n}(),Ns={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),i=0;i1){var r=e.map(function(c){return gt.quickSetter(c,t,i)}),s=r.length;return function(c){for(var f=s;f--;)r[f](c)}}e=e[0]||{};var a=Dt[t],o=Hi(e),l=o.harness&&(o.harness.aliases||{})[t]||t,u=a?function(c){var f=new a;br._pt=0,f.init(e,i?c+i:c,br,0,[e]),f.render(1,f),br._pt&&Zn(1,br)}:o.set(e,l);return a?u:function(c){return u(e,l,i?c+i:c,o,1)}},quickTo:function(e,t,i){var r,s=gt.to(e,Vi((r={},r[t]="+=0.1",r.paused=!0,r),i||{})),a=function(l,u,c){return s.resetTo(t,l,u,c)};return a.tween=s,a},isTweening:function(e){return he.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=qi(e.ease,vr.ease)),go(vr,e||{})},config:function(e){return go(_t,e||{})},registerEffect:function(e){var t=e.name,i=e.effect,r=e.plugins,s=e.defaults,a=e.extendTimeline;(r||"").split(",").forEach(function(o){return o&&!Dt[o]&&!yt[o]&&Ps(t+" effect requires "+o+" plugin.")}),On[t]=function(o,l,u){return i(Rt(o),It(l||{},s),u)},a&&(ht.prototype[t]=function(o,l,u){return this.add(On[t](o,ti(l)?l:(u=l)&&{},this),u)})},registerEase:function(e,t){ie[e]=qi(t)},parseEase:function(e,t){return arguments.length?qi(e,t):ie},getById:function(e){return he.getById(e)},exportRoot:function(e,t){e===void 0&&(e={});var i=new ht(e),r,s;for(i.smoothChildTiming=ft(e.smoothChildTiming),he.remove(i),i._dp=0,i._time=i._tTime=he._time,r=he._first;r;)s=r._next,(t||!(!r._dur&&r instanceof Fe&&r.vars.onComplete===r._targets[0]))&&ii(i,r,r._start-r._delay),r=s;return ii(he,i,0),i},context:function(e,t){return e?new jo(e,t):ye},matchMedia:function(e){return new xc(e)},matchMediaRefresh:function(){return Ui.forEach(function(e){var t=e.conditions,i,r;for(r in t)t[r]&&(t[r]=!1,i=1);i&&e.revert()})||Kn()},addEventListener:function(e,t){var i=$s[e]||($s[e]=[]);~i.indexOf(t)||i.push(t)},removeEventListener:function(e,t){var i=$s[e],r=i&&i.indexOf(t);r>=0&&i.splice(r,1)},utils:{wrap:tc,wrapYoyo:ic,distribute:So,random:Co,snap:To,normalize:ec,getUnit:Je,clamp:Zu,splitColor:Lo,toArray:Rt,selector:Nn,mapRange:Mo,pipe:Ku,unitize:Ju,interpolate:rc,shuffle:Eo},install:oo,effects:On,ticker:bt,updateRoot:ht.updateRoot,plugins:Dt,globalTimeline:he,core:{PropTween:mt,globals:lo,Tween:Fe,Timeline:ht,Animation:Jr,getCache:Hi,_removeLinkedListItem:zs,reverting:function(){return Qe},context:function(e){return e&&ye&&(ye.data.push(e),e._ctx=ye),ye},suppressOverwrites:function(e){return xn=e}}};pt("to,from,fromTo,delayedCall,set,killTweensOf",function(n){return Ns[n]=Fe[n]}),bt.add(ht.updateRoot),br=Ns.to({},{duration:0});var Ec=function(e,t){for(var i=e._pt;i&&i.p!==t&&i.op!==t&&i.fp!==t;)i=i._next;return i},Sc=function(e,t){var i=e._targets,r,s,a;for(r in t)for(s=i.length;s--;)a=e._ptLookup[s][r],a&&(a=a.d)&&(a._pt&&(a=Ec(a,r)),a&&a.modifier&&a.modifier(t[r],e,i[s],r))},Jn=function(e,t){return{name:e,rawVars:1,init:function(r,s,a){a._onInit=function(o){var l,u;if(ze(s)&&(l={},pt(s,function(c){return l[c]=1}),s=l),t){l={};for(u in s)l[u]=t(s[u]);s=l}Sc(o,s)}}}},gt=Ns.registerPlugin({name:"attr",init:function(e,t,i,r,s){var a,o,l;this.tween=i;for(a in t)l=e.getAttribute(a)||"",o=this.add(e,"setAttribute",(l||0)+"",t[a],r,s,0,0,a),o.op=a,o.b=l,this._props.push(a)},render:function(e,t){for(var i=t._pt;i;)Qe?i.set(i.t,i.p,i.b,i):i.r(e,i.d),i=i._next}},{name:"endArray",init:function(e,t){for(var i=t.length;i--;)this.add(e,i,e[i]||0,t[i],0,0,0,0,0,1)}},Jn("roundProps",Yn),Jn("modifiers"),Jn("snap",To))||Ns;Fe.version=ht.version=gt.version="3.12.2",ao=1,Tn()&&xr(),ie.Power0,ie.Power1,ie.Power2,ie.Power3,ie.Power4,ie.Linear,ie.Quad,ie.Cubic,ie.Quart,ie.Quint,ie.Strong,ie.Elastic,ie.Back,ie.SteppedEase,ie.Bounce,ie.Sine,ie.Expo,ie.Circ;/*! * CSSPlugin 3.12.2 * https://greensock.com * * Copyright 2008-2023, GreenSock. All rights reserved. * Subject to the terms at https://greensock.com/standard-license or for * Club GreenSock members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */var Zo,Pi,Er,ea,ji,Qo,ta,Tc=function(){return typeof window<"u"},mi={},Zi=180/Math.PI,Sr=Math.PI/180,Tr=Math.atan2,Ko=1e8,ia=/([A-Z])/g,Cc=/(left|right|width|margin|padding|x)/i,Ac=/[\s,\(]\S/,ri={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},ra=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Mc=function(e,t){return t.set(t.t,t.p,e===1?t.e:Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},Pc=function(e,t){return t.set(t.t,t.p,e?Math.round((t.s+t.c*e)*1e4)/1e4+t.u:t.b,t)},Fc=function(e,t){var i=t.s+t.c*e;t.set(t.t,t.p,~~(i+(i<0?-.5:.5))+t.u,t)},Jo=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},el=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},kc=function(e,t,i){return e.style[t]=i},Lc=function(e,t,i){return e.style.setProperty(t,i)},Oc=function(e,t,i){return e._gsap[t]=i},zc=function(e,t,i){return e._gsap.scaleX=e._gsap.scaleY=i},Ic=function(e,t,i,r,s){var a=e._gsap;a.scaleX=a.scaleY=i,a.renderTransform(s,a)},Bc=function(e,t,i,r,s){var a=e._gsap;a[t]=i,a.renderTransform(s,a)},me="transform",Vt=me+"Origin",Rc=function n(e,t){var i=this,r=this.target,s=r.style;if(e in mi&&s){if(this.tfm=this.tfm||{},e!=="transform")e=ri[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return i.tfm[a]=gi(r,a)}):this.tfm[e]=r._gsap.x?r._gsap[e]:gi(r,e);else return ri.transform.split(",").forEach(function(a){return n.call(i,a,t)});if(this.props.indexOf(me)>=0)return;r._gsap.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(Vt,t,"")),e=me}(s||t)&&this.props.push(e,t,s[e])},tl=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},$c=function(){var e=this.props,t=this.target,i=t.style,r=t._gsap,s,a;for(s=0;s=0?sl[a]:"")+e},na=function(){Tc()&&window.document&&(Zo=window,Pi=Zo.document,Er=Pi.documentElement,ji=sa("div")||{style:{}},sa("div"),me=Cr(me),Vt=me+"Origin",ji.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",rl=!!Cr("perspective"),ta=gt.core.reverting,ea=1)},aa=function n(e){var t=sa("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,r=this.nextSibling,s=this.style.cssText,a;if(Er.appendChild(t),t.appendChild(this),this.style.display="block",e)try{a=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=n}catch{}else this._gsapBBox&&(a=this._gsapBBox());return i&&(r?i.insertBefore(this,r):i.appendChild(this)),Er.removeChild(t),this.style.cssText=s,a},nl=function(e,t){for(var i=t.length;i--;)if(e.hasAttribute(t[i]))return e.getAttribute(t[i])},al=function(e){var t;try{t=e.getBBox()}catch{t=aa.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===aa||(t=aa.call(e,!0)),t&&!t.width&&!t.x&&!t.y?{x:+nl(e,["x","cx","x1"])||0,y:+nl(e,["y","cy","y1"])||0,width:0,height:0}:t},ol=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&al(e))},ts=function(e,t){if(t){var i=e.style;t in mi&&t!==Vt&&(t=me),i.removeProperty?((t.substr(0,2)==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),i.removeProperty(t.replace(ia,"-$1").toLowerCase())):i.removeAttribute(t)}},Fi=function(e,t,i,r,s,a){var o=new mt(e._pt,t,i,0,1,a?el:Jo);return e._pt=o,o.b=r,o.e=s,e._props.push(i),o},ll={deg:1,rad:1,turn:1},Nc={grid:1,flex:1},ki=function n(e,t,i,r){var s=parseFloat(i)||0,a=(i+"").trim().substr((s+"").length)||"px",o=ji.style,l=Cc.test(t),u=e.tagName.toLowerCase()==="svg",c=(u?"client":"offset")+(l?"Width":"Height"),f=100,d=r==="px",p=r==="%",m,h,v,_;return r===a||!s||ll[r]||ll[a]?s:(a!=="px"&&!d&&(s=n(e,t,i,"px")),_=e.getCTM&&ol(e),(p||a==="%")&&(mi[t]||~t.indexOf("adius"))?(m=_?e.getBBox()[l?"width":"height"]:e[c],Ce(p?s/m*f:s/100*m)):(o[l?"width":"height"]=f+(d?a:r),h=~t.indexOf("adius")||r==="em"&&e.appendChild&&!u?e:e.parentNode,_&&(h=(e.ownerSVGElement||{}).parentNode),(!h||h===Pi||!h.appendChild)&&(h=Pi.body),v=h._gsap,v&&p&&v.width&&l&&v.time===bt.time&&!v.uncache?Ce(s/v.width*f):((p||a==="%")&&!Nc[si(h,"display")]&&(o.position=si(e,"position")),h===e&&(o.position="static"),h.appendChild(ji),m=ji[c],h.removeChild(ji),o.position="absolute",l&&p&&(v=Hi(h),v.time=bt.time,v.width=h[c]),Ce(d?m*s/f:m&&s?f/m*s:0))))},gi=function(e,t,i,r){var s;return ea||na(),t in ri&&t!=="transform"&&(t=ri[t],~t.indexOf(",")&&(t=t.split(",")[0])),mi[t]&&t!=="transform"?(s=rs(e,r),s=t!=="transformOrigin"?s[t]:s.svg?s.origin:Gs(si(e,Vt))+" "+s.zOrigin+"px"):(s=e.style[t],(!s||s==="auto"||r||~(s+"").indexOf("calc("))&&(s=Ys[t]&&Ys[t](e,t,i)||si(e,t)||fo(e,t)||(t==="opacity"?1:0))),i&&!~(s+"").trim().indexOf(" ")?ki(e,t,s,i)+i:s},Yc=function(e,t,i,r){if(!i||i==="none"){var s=Cr(t,e,1),a=s&&si(e,s,1);a&&a!==i?(t=s,i=a):t==="borderColor"&&(i=si(e,"borderTopColor"))}var o=new mt(this._pt,e.style,t,0,1,qo),l=0,u=0,c,f,d,p,m,h,v,_,w,g,y,D;if(o.b=i,o.e=r,i+="",r+="",r==="auto"&&(e.style[t]=r,r=si(e,t)||r,e.style[t]=i),c=[i,r],Io(c),i=c[0],r=c[1],d=i.match(wr)||[],D=r.match(wr)||[],D.length){for(;f=wr.exec(r);)v=f[0],w=r.substring(l,f.index),m?m=(m+1)%5:(w.substr(-5)==="rgba("||w.substr(-5)==="hsla(")&&(m=1),v!==(h=d[u++]||"")&&(p=parseFloat(h)||0,y=h.substr((p+"").length),v.charAt(1)==="="&&(v=_r(p,v)+y),_=parseFloat(v),g=v.substr((_+"").length),l=wr.lastIndex-g.length,g||(g=g||_t.units[t]||y,l===r.length&&(r+=g,o.e+=g)),y!==g&&(p=ki(e,t,h,g)||0),o._pt={_next:o._pt,p:w||u===1?w:",",s:p,c:_-p,m:m&&m<4||t==="zIndex"?Math.round:0});o.c=l-1;)o=s[u],mi[o]&&(l=1,o=o==="transformOrigin"?Vt:me),ts(i,o);l&&(ts(i,me),a&&(a.svg&&i.removeAttribute("transform"),rs(i,1),a.uncache=1,tl(r)))}},Ys={clearProps:function(e,t,i,r,s){if(s.data!=="isFromStart"){var a=e._pt=new mt(e._pt,t,i,0,0,Hc);return a.u=r,a.pr=-10,a.tween=s,e._props.push(i),1}}},is=[1,0,0,1,0,0],cl={},dl=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},fl=function(e){var t=si(e,me);return dl(t)?is:t.substr(7).match(ro).map(Ce)},oa=function(e,t){var i=e._gsap||Hi(e),r=e.style,s=fl(e),a,o,l,u;return i.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,s=[l.a,l.b,l.c,l.d,l.e,l.f],s.join(",")==="1,0,0,1,0,0"?is:s):(s===is&&!e.offsetParent&&e!==Er&&!i.svg&&(l=r.display,r.display="block",a=e.parentNode,(!a||!e.offsetParent)&&(u=1,o=e.nextElementSibling,Er.appendChild(e)),s=fl(e),l?r.display=l:ts(e,"display"),u&&(o?a.insertBefore(e,o):a?a.appendChild(e):Er.removeChild(e))),t&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s)},la=function(e,t,i,r,s,a){var o=e._gsap,l=s||oa(e,!0),u=o.xOrigin||0,c=o.yOrigin||0,f=o.xOffset||0,d=o.yOffset||0,p=l[0],m=l[1],h=l[2],v=l[3],_=l[4],w=l[5],g=t.split(" "),y=parseFloat(g[0])||0,D=parseFloat(g[1])||0,E,b,C,x;i?l!==is&&(b=p*v-m*h)&&(C=y*(v/b)+D*(-h/b)+(h*w-v*_)/b,x=y*(-m/b)+D*(p/b)-(p*w-m*_)/b,y=C,D=x):(E=al(e),y=E.x+(~g[0].indexOf("%")?y/100*E.width:y),D=E.y+(~(g[1]||g[0]).indexOf("%")?D/100*E.height:D)),r||r!==!1&&o.smooth?(_=y-u,w=D-c,o.xOffset=f+(_*p+w*h)-_,o.yOffset=d+(_*m+w*v)-w):o.xOffset=o.yOffset=0,o.xOrigin=y,o.yOrigin=D,o.smooth=!!r,o.origin=t,o.originIsAbsolute=!!i,e.style[Vt]="0px 0px",a&&(Fi(a,o,"xOrigin",u,y),Fi(a,o,"yOrigin",c,D),Fi(a,o,"xOffset",f,o.xOffset),Fi(a,o,"yOffset",d,o.yOffset)),e.setAttribute("data-svg-origin",y+" "+D)},rs=function(e,t){var i=e._gsap||new No(e);if("x"in i&&!t&&!i.uncache)return i;var r=e.style,s=i.scaleX<0,a="px",o="deg",l=getComputedStyle(e),u=si(e,Vt)||"0",c,f,d,p,m,h,v,_,w,g,y,D,E,b,C,x,S,O,M,P,k,z,I,A,L,F,T,B,$,Y,X,N;return c=f=d=h=v=_=w=g=y=0,p=m=1,i.svg=!!(e.getCTM&&ol(e)),l.translate&&((l.translate!=="none"||l.scale!=="none"||l.rotate!=="none")&&(r[me]=(l.translate!=="none"?"translate3d("+(l.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(l.rotate!=="none"?"rotate("+l.rotate+") ":"")+(l.scale!=="none"?"scale("+l.scale.split(" ").join(",")+") ":"")+(l[me]!=="none"?l[me]:"")),r.scale=r.rotate=r.translate="none"),b=oa(e,i.svg),i.svg&&(i.uncache?(L=e.getBBox(),u=i.xOrigin-L.x+"px "+(i.yOrigin-L.y)+"px",A=""):A=!t&&e.getAttribute("data-svg-origin"),la(e,A||u,!!A||i.originIsAbsolute,i.smooth!==!1,b)),D=i.xOrigin||0,E=i.yOrigin||0,b!==is&&(O=b[0],M=b[1],P=b[2],k=b[3],c=z=b[4],f=I=b[5],b.length===6?(p=Math.sqrt(O*O+M*M),m=Math.sqrt(k*k+P*P),h=O||M?Tr(M,O)*Zi:0,w=P||k?Tr(P,k)*Zi+h:0,w&&(m*=Math.abs(Math.cos(w*Sr))),i.svg&&(c-=D-(D*O+E*P),f-=E-(D*M+E*k))):(N=b[6],Y=b[7],T=b[8],B=b[9],$=b[10],X=b[11],c=b[12],f=b[13],d=b[14],C=Tr(N,$),v=C*Zi,C&&(x=Math.cos(-C),S=Math.sin(-C),A=z*x+T*S,L=I*x+B*S,F=N*x+$*S,T=z*-S+T*x,B=I*-S+B*x,$=N*-S+$*x,X=Y*-S+X*x,z=A,I=L,N=F),C=Tr(-P,$),_=C*Zi,C&&(x=Math.cos(-C),S=Math.sin(-C),A=O*x-T*S,L=M*x-B*S,F=P*x-$*S,X=k*S+X*x,O=A,M=L,P=F),C=Tr(M,O),h=C*Zi,C&&(x=Math.cos(C),S=Math.sin(C),A=O*x+M*S,L=z*x+I*S,M=M*x-O*S,I=I*x-z*S,O=A,z=L),v&&Math.abs(v)+Math.abs(h)>359.9&&(v=h=0,_=180-_),p=Ce(Math.sqrt(O*O+M*M+P*P)),m=Ce(Math.sqrt(I*I+N*N)),C=Tr(z,I),w=Math.abs(C)>2e-4?C*Zi:0,y=X?1/(X<0?-X:X):0),i.svg&&(A=e.getAttribute("transform"),i.forceCSS=e.setAttribute("transform","")||!dl(si(e,me)),A&&e.setAttribute("transform",A))),Math.abs(w)>90&&Math.abs(w)<270&&(s?(p*=-1,w+=h<=0?180:-180,h+=h<=0?180:-180):(m*=-1,w+=w<=0?180:-180)),t=t||i.uncache,i.x=c-((i.xPercent=c&&(!t&&i.xPercent||(Math.round(e.offsetWidth/2)===Math.round(-c)?-50:0)))?e.offsetWidth*i.xPercent/100:0)+a,i.y=f-((i.yPercent=f&&(!t&&i.yPercent||(Math.round(e.offsetHeight/2)===Math.round(-f)?-50:0)))?e.offsetHeight*i.yPercent/100:0)+a,i.z=d+a,i.scaleX=Ce(p),i.scaleY=Ce(m),i.rotation=Ce(h)+o,i.rotationX=Ce(v)+o,i.rotationY=Ce(_)+o,i.skewX=w+o,i.skewY=g+o,i.transformPerspective=y+a,(i.zOrigin=parseFloat(u.split(" ")[2])||0)&&(r[Vt]=Gs(u)),i.xOffset=i.yOffset=0,i.force3D=_t.force3D,i.renderTransform=i.svg?Xc:rl?pl:Vc,i.uncache=0,i},Gs=function(e){return(e=e.split(" "))[0]+" "+e[1]},ua=function(e,t,i){var r=Je(t);return Ce(parseFloat(t)+parseFloat(ki(e,"x",i+"px",r)))+r},Vc=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,pl(e,t)},Qi="0deg",ss="0px",Ki=") ",pl=function(e,t){var i=t||this,r=i.xPercent,s=i.yPercent,a=i.x,o=i.y,l=i.z,u=i.rotation,c=i.rotationY,f=i.rotationX,d=i.skewX,p=i.skewY,m=i.scaleX,h=i.scaleY,v=i.transformPerspective,_=i.force3D,w=i.target,g=i.zOrigin,y="",D=_==="auto"&&e&&e!==1||_===!0;if(g&&(f!==Qi||c!==Qi)){var E=parseFloat(c)*Sr,b=Math.sin(E),C=Math.cos(E),x;E=parseFloat(f)*Sr,x=Math.cos(E),a=ua(w,a,b*x*-g),o=ua(w,o,-Math.sin(E)*-g),l=ua(w,l,C*x*-g+g)}v!==ss&&(y+="perspective("+v+Ki),(r||s)&&(y+="translate("+r+"%, "+s+"%) "),(D||a!==ss||o!==ss||l!==ss)&&(y+=l!==ss||D?"translate3d("+a+", "+o+", "+l+") ":"translate("+a+", "+o+Ki),u!==Qi&&(y+="rotate("+u+Ki),c!==Qi&&(y+="rotateY("+c+Ki),f!==Qi&&(y+="rotateX("+f+Ki),(d!==Qi||p!==Qi)&&(y+="skew("+d+", "+p+Ki),(m!==1||h!==1)&&(y+="scale("+m+", "+h+Ki),w.style[me]=y||"translate(0, 0)"},Xc=function(e,t){var i=t||this,r=i.xPercent,s=i.yPercent,a=i.x,o=i.y,l=i.rotation,u=i.skewX,c=i.skewY,f=i.scaleX,d=i.scaleY,p=i.target,m=i.xOrigin,h=i.yOrigin,v=i.xOffset,_=i.yOffset,w=i.forceCSS,g=parseFloat(a),y=parseFloat(o),D,E,b,C,x;l=parseFloat(l),u=parseFloat(u),c=parseFloat(c),c&&(c=parseFloat(c),u+=c,l+=c),l||u?(l*=Sr,u*=Sr,D=Math.cos(l)*f,E=Math.sin(l)*f,b=Math.sin(l-u)*-d,C=Math.cos(l-u)*d,u&&(c*=Sr,x=Math.tan(u-c),x=Math.sqrt(1+x*x),b*=x,C*=x,c&&(x=Math.tan(c),x=Math.sqrt(1+x*x),D*=x,E*=x)),D=Ce(D),E=Ce(E),b=Ce(b),C=Ce(C)):(D=f,C=d,E=b=0),(g&&!~(a+"").indexOf("px")||y&&!~(o+"").indexOf("px"))&&(g=ki(p,"x",a,"px"),y=ki(p,"y",o,"px")),(m||h||v||_)&&(g=Ce(g+m-(m*D+h*b)+v),y=Ce(y+h-(m*E+h*C)+_)),(r||s)&&(x=p.getBBox(),g=Ce(g+r/100*x.width),y=Ce(y+s/100*x.height)),x="matrix("+D+","+E+","+b+","+C+","+g+","+y+")",p.setAttribute("transform",x),w&&(p.style[me]=x)},qc=function(e,t,i,r,s){var a=360,o=ze(s),l=parseFloat(s)*(o&&~s.indexOf("rad")?Zi:1),u=l-r,c=r+u+"deg",f,d;return o&&(f=s.split("_")[1],f==="short"&&(u%=a,u!==u%(a/2)&&(u+=u<0?a:-a)),f==="cw"&&u<0?u=(u+a*Ko)%a-~~(u/a)*a:f==="ccw"&&u>0&&(u=(u-a*Ko)%a-~~(u/a)*a)),e._pt=d=new mt(e._pt,t,i,r,u,Mc),d.e=c,d.u="deg",e._props.push(i),d},hl=function(e,t){for(var i in t)e[i]=t[i];return e},Wc=function(e,t,i){var r=hl({},i._gsap),s="perspective,force3D,transformOrigin,svgOrigin",a=i.style,o,l,u,c,f,d,p,m;r.svg?(u=i.getAttribute("transform"),i.setAttribute("transform",""),a[me]=t,o=rs(i,1),ts(i,me),i.setAttribute("transform",u)):(u=getComputedStyle(i)[me],a[me]=t,o=rs(i,1),a[me]=u);for(l in mi)u=r[l],c=o[l],u!==c&&s.indexOf(l)<0&&(p=Je(u),m=Je(c),f=p!==m?ki(i,l,u,m):parseFloat(u),d=parseFloat(c),e._pt=new mt(e._pt,o,l,f,d-f,ra),e._pt.u=m||0,e._props.push(l));hl(o,r)};pt("padding,margin,Width,Radius",function(n,e){var t="Top",i="Right",r="Bottom",s="Left",a=(e<3?[t,i,r,s]:[t+s,t+i,r+i,r+s]).map(function(o){return e<2?n+o:"border"+o+n});Ys[e>1?"border"+n:n]=function(o,l,u,c,f){var d,p;if(arguments.length<4)return d=a.map(function(m){return gi(o,m,u)}),p=d.join(" "),p.split(d[0]).length===5?d[0]:p;d=(c+"").split(" "),p={},a.forEach(function(m,h){return p[m]=d[h]=d[h]||d[(h-1)/2|0]}),o.init(l,p,f)}});var ml={name:"css",register:na,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,i,r,s){var a=this._props,o=e.style,l=i.vars.startAt,u,c,f,d,p,m,h,v,_,w,g,y,D,E,b,C;ea||na(),this.styles=this.styles||il(e),C=this.styles.props,this.tween=i;for(h in t)if(h!=="autoRound"&&(c=t[h],!(Dt[h]&&Yo(h,t,i,r,e,s)))){if(p=typeof c,m=Ys[h],p==="function"&&(c=c.call(i,r,e,s),p=typeof c),p==="string"&&~c.indexOf("random(")&&(c=jr(c)),m)m(this,e,h,c,i)&&(b=1);else if(h.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(h)+"").trim(),c+="",Ai.lastIndex=0,Ai.test(u)||(v=Je(u),_=Je(c)),_?v!==_&&(u=ki(e,h,u,_)+_):v&&(c+=v),this.add(o,"setProperty",u,c,r,s,0,0,h),a.push(h),C.push(h,0,o[h]);else if(p!=="undefined"){if(l&&h in l?(u=typeof l[h]=="function"?l[h].call(i,r,e,s):l[h],ze(u)&&~u.indexOf("random(")&&(u=jr(u)),Je(u+"")||(u+=_t.units[h]||Je(gi(e,h))||""),(u+"").charAt(1)==="="&&(u=gi(e,h))):u=gi(e,h),d=parseFloat(u),w=p==="string"&&c.charAt(1)==="="&&c.substr(0,2),w&&(c=c.substr(2)),f=parseFloat(c),h in ri&&(h==="autoAlpha"&&(d===1&&gi(e,"visibility")==="hidden"&&f&&(d=0),C.push("visibility",0,o.visibility),Fi(this,o,"visibility",d?"inherit":"hidden",f?"inherit":"hidden",!f)),h!=="scale"&&h!=="transform"&&(h=ri[h],~h.indexOf(",")&&(h=h.split(",")[0]))),g=h in mi,g){if(this.styles.save(h),y||(D=e._gsap,D.renderTransform&&!t.parseTransform||rs(e,t.parseTransform),E=t.smoothOrigin!==!1&&D.smooth,y=this._pt=new mt(this._pt,o,me,0,1,D.renderTransform,D,0,-1),y.dep=1),h==="scale")this._pt=new mt(this._pt,D,"scaleY",D.scaleY,(w?_r(D.scaleY,w+f):f)-D.scaleY||0,ra),this._pt.u=0,a.push("scaleY",h),h+="X";else if(h==="transformOrigin"){C.push(Vt,0,o[Vt]),c=Gc(c),D.svg?la(e,c,0,E,0,this):(_=parseFloat(c.split(" ")[2])||0,_!==D.zOrigin&&Fi(this,D,"zOrigin",D.zOrigin,_),Fi(this,o,h,Gs(u),Gs(c)));continue}else if(h==="svgOrigin"){la(e,c,1,E,0,this);continue}else if(h in cl){qc(this,D,h,d,w?_r(d,w+c):c);continue}else if(h==="smoothOrigin"){Fi(this,D,"smooth",D.smooth,c);continue}else if(h==="force3D"){D[h]=c;continue}else if(h==="transform"){Wc(this,c,e);continue}}else h in o||(h=Cr(h)||h);if(g||(f||f===0)&&(d||d===0)&&!Ac.test(c)&&h in o)v=(u+"").substr((d+"").length),f||(f=0),_=Je(c)||(h in _t.units?_t.units[h]:v),v!==_&&(d=ki(e,h,u,_)),this._pt=new mt(this._pt,g?D:o,h,d,(w?_r(d,w+f):f)-d,!g&&(_==="px"||h==="zIndex")&&t.autoRound!==!1?Fc:ra),this._pt.u=_||0,v!==_&&_!=="%"&&(this._pt.b=u,this._pt.r=Pc);else if(h in o)Yc.call(this,e,h,u,w?w+c:c);else if(h in e)this.add(e,h,u||e[h],w?w+c:c,r,s);else if(h!=="parseTransform"){Fn(h,c);continue}g||(h in o?C.push(h,0,o[h]):C.push(h,1,u||e[h])),a.push(h)}}b&&Wo(this)},render:function(e,t){if(t.tween._time||!ta())for(var i=t._pt;i;)i.r(e,i.d),i=i._next;else t.styles.revert()},get:gi,aliases:ri,getSetter:function(e,t,i){var r=ri[t];return r&&r.indexOf(",")<0&&(t=r),t in mi&&t!==Vt&&(e._gsap.x||gi(e,"x"))?i&&Qo===i?t==="scale"?zc:Oc:(Qo=i||{})&&(t==="scale"?Ic:Bc):e.style&&!Sn(e.style[t])?kc:~t.indexOf("-")?Lc:jn(e,t)},core:{_removeProperty:ts,_getMatrix:oa}};gt.utils.checkPrefix=Cr,gt.core.getStyleSaver=il,function(n,e,t,i){var r=pt(n+","+e+","+t,function(s){mi[s]=1});pt(e,function(s){_t.units[s]="deg",cl[s]=1}),ri[r[13]]=n+","+e,pt(i,function(s){var a=s.split(":");ri[a[1]]=r[a[0]]})}("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"),pt("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(n){_t.units[n]="px"}),gt.registerPlugin(ml);var G=gt.registerPlugin(ml)||gt;G.core.Tween;function Uc(n,e){for(var t=0;tl?(s=r,r=m,o=a,a=v):i?r+=m:r=s+(m-s)/(v-o)*(a-o)},f=function(){s=r=i?0:r,o=a=0},d=function(m){var h=o,v=s,_=as();return(m||m===0)&&m!==r&&c(m),a===o||_-o>u?0:(r+(i?v:-v))/((i?_:a)-h)*1e3};return{update:c,reset:f,getVelocity:d}},ls=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Dl=function(e){var t=Math.max.apply(Math,e),i=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(i)?t:i},bl=function(){ns=Ge.core.globals().ScrollTrigger,ns&&ns.core&&Zc()},xl=function(e){return Ge=e||_l(),Ge&&typeof document<"u"&&document.body&&(xt=window,Li=document,Oi=Li.documentElement,Ar=Li.body,vl=[xt,Li,Oi,Ar],Ge.utils.clamp,wl=Ge.core.context||function(){},Ji="onpointerenter"in Ar?"pointer":"mouse",gl=be.isTouch=xt.matchMedia&&xt.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in xt||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,Xt=be.eventTypes=("ontouchstart"in Oi?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Oi?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return yl=0},500),bl(),ca=1),ca};at.op=Le,J.cache=0;var be=function(){function n(t){this.init(t)}var e=n.prototype;return e.init=function(i){ca||xl(Ge)||console.warn("Please gsap.registerPlugin(Observer)"),ns||bl();var r=i.tolerance,s=i.dragMinimum,a=i.type,o=i.target,l=i.lineHeight,u=i.debounce,c=i.preventDefault,f=i.onStop,d=i.onStopDelay,p=i.ignore,m=i.wheelSpeed,h=i.event,v=i.onDragStart,_=i.onDragEnd,w=i.onDrag,g=i.onPress,y=i.onRelease,D=i.onRight,E=i.onLeft,b=i.onUp,C=i.onDown,x=i.onChangeX,S=i.onChangeY,O=i.onChange,M=i.onToggleX,P=i.onToggleY,k=i.onHover,z=i.onHoverEnd,I=i.onMove,A=i.ignoreCheck,L=i.isNormalizer,F=i.onGestureStart,T=i.onGestureEnd,B=i.onWheel,$=i.onEnable,Y=i.onDisable,X=i.onClick,N=i.scrollSpeed,U=i.capture,j=i.allowClicks,Ee=i.lockAxis,Ae=i.onLockAxis;this.target=o=vt(o)||Oi,this.vars=i,p&&(p=Ge.utils.toArray(p)),r=r||1e-9,s=s||0,m=m||1,N=N||1,a=a||"wheel,touch,pointer",u=u!==!1,l||(l=parseFloat(xt.getComputedStyle(Ar).lineHeight)||22);var Re,Se,Mt,se,ve,qe,$e,R=this,We=0,Pt=0,Wt=Ii(o,at),pe=Ii(o,Le),Ft=Wt(),li=pe(),Ut=~a.indexOf("touch")&&!~a.indexOf("pointer")&&Xt[0]==="pointerdown",Ue=os(o),Me=o.ownerDocument||Li,jt=[0,0,0],Zt=[0,0,0],dr=0,bi=function(){return dr=as()},ui=function(W,le){return(R.event=W)&&p&&~p.indexOf(W.target)||le&&Ut&&W.pointerType!=="touch"||A&&A(W,le)},wt=function(){R._vx.reset(),R._vy.reset(),Se.pause(),f&&f(R)},fr=function(){var W=R.deltaX=Dl(jt),le=R.deltaY=Dl(Zt),Te=Math.abs(W)>=r,V=Math.abs(le)>=r;O&&(Te||V)&&O(R,W,le,jt,Zt),Te&&(D&&R.deltaX>0&&D(R),E&&R.deltaX<0&&E(R),x&&x(R),M&&R.deltaX<0!=We<0&&M(R),We=R.deltaX,jt[0]=jt[1]=jt[2]=0),V&&(C&&R.deltaY>0&&C(R),b&&R.deltaY<0&&b(R),S&&S(R),P&&R.deltaY<0!=Pt<0&&P(R),Pt=R.deltaY,Zt[0]=Zt[1]=Zt[2]=0),(se||Mt)&&(I&&I(R),Mt&&(w(R),Mt=!1),se=!1),qe&&!(qe=!1)&&Ae&&Ae(R),ve&&(B(R),ve=!1),Re=0},Yr=function(W,le,Te){jt[Te]+=W,Zt[Te]+=le,R._vx.update(W),R._vy.update(le),u?Re||(Re=requestAnimationFrame(fr)):fr()},Gr=function(W,le){Ee&&!$e&&(R.axis=$e=Math.abs(W)>Math.abs(le)?"x":"y",qe=!0),$e!=="y"&&(jt[2]+=W,R._vx.update(W,!0)),$e!=="x"&&(Zt[2]+=le,R._vy.update(le,!0)),u?Re||(Re=requestAnimationFrame(fr)):fr()},pr=function(W){if(!ui(W,1)){W=ls(W,c);var le=W.clientX,Te=W.clientY,V=le-R.x,ne=Te-R.y,Z=R.isDragging;R.x=le,R.y=Te,(Z||Math.abs(R.startX-le)>=s||Math.abs(R.startY-Te)>=s)&&(w&&(Mt=!0),Z||(R.isDragging=!0),Gr(V,ne),Z||v&&v(R))}},Yi=R.onPress=function(Q){ui(Q,1)||Q&&Q.button||(R.axis=$e=null,Se.pause(),R.isPressed=!0,Q=ls(Q),We=Pt=0,R.startX=R.x=Q.clientX,R.startY=R.y=Q.clientY,R._vx.reset(),R._vy.reset(),st(L?o:Me,Xt[1],pr,c,!0),R.deltaX=R.deltaY=0,g&&g(R))},Gi=R.onRelease=function(Q){if(!ui(Q,1)){nt(L?o:Me,Xt[1],pr,!0);var W=!isNaN(R.y-R.startY),le=R.isDragging&&(Math.abs(R.x-R.startX)>3||Math.abs(R.y-R.startY)>3),Te=ls(Q);!le&&W&&(R._vx.reset(),R._vy.reset(),c&&j&&Ge.delayedCall(.08,function(){if(as()-dr>300&&!Q.defaultPrevented){if(Q.target.click)Q.target.click();else if(Me.createEvent){var V=Me.createEvent("MouseEvents");V.initMouseEvent("click",!0,!0,xt,1,Te.screenX,Te.screenY,Te.clientX,Te.clientY,!1,!1,!1,!1,0,null),Q.target.dispatchEvent(V)}}})),R.isDragging=R.isGesturing=R.isPressed=!1,f&&!L&&Se.restart(!0),_&&le&&_(R),y&&y(R,le)}},ae=function(W){return W.touches&&W.touches.length>1&&(R.isGesturing=!0)&&F(W,R.isDragging)},hr=function(){return(R.isGesturing=!1)||T(R)},Qt=function(W){if(!ui(W)){var le=Wt(),Te=pe();Yr((le-Ft)*N,(Te-li)*N,1),Ft=le,li=Te,f&&Se.restart(!0)}},Kt=function(W){if(!ui(W)){W=ls(W,c),B&&(ve=!0);var le=(W.deltaMode===1?l:W.deltaMode===2?xt.innerHeight:1)*m;Yr(W.deltaX*le,W.deltaY*le,0),f&&!L&&Se.restart(!0)}},Jt=function(W){if(!ui(W)){var le=W.clientX,Te=W.clientY,V=le-R.x,ne=Te-R.y;R.x=le,R.y=Te,se=!0,(V||ne)&&Gr(V,ne)}},mr=function(W){R.event=W,k(R)},Hr=function(W){R.event=W,z(R)},xi=function(W){return ui(W)||ls(W,c)&&X(R)};Se=R._dc=Ge.delayedCall(d||.25,wt).pause(),R.deltaX=R.deltaY=0,R._vx=pa(0,50,!0),R._vy=pa(0,50,!0),R.scrollX=Wt,R.scrollY=pe,R.isDragging=R.isGesturing=R.isPressed=!1,wl(this),R.enable=function(Q){return R.isEnabled||(st(Ue?Me:o,"scroll",fa),a.indexOf("scroll")>=0&&st(Ue?Me:o,"scroll",Qt,c,U),a.indexOf("wheel")>=0&&st(o,"wheel",Kt,c,U),(a.indexOf("touch")>=0&&gl||a.indexOf("pointer")>=0)&&(st(o,Xt[0],Yi,c,U),st(Me,Xt[2],Gi),st(Me,Xt[3],Gi),j&&st(o,"click",bi,!1,!0),X&&st(o,"click",xi),F&&st(Me,"gesturestart",ae),T&&st(Me,"gestureend",hr),k&&st(o,Ji+"enter",mr),z&&st(o,Ji+"leave",Hr),I&&st(o,Ji+"move",Jt)),R.isEnabled=!0,Q&&Q.type&&Yi(Q),$&&$(R)),R},R.disable=function(){R.isEnabled&&(Mr.filter(function(Q){return Q!==R&&os(Q.target)}).length||nt(Ue?Me:o,"scroll",fa),R.isPressed&&(R._vx.reset(),R._vy.reset(),nt(L?o:Me,Xt[1],pr,!0)),nt(Ue?Me:o,"scroll",Qt,U),nt(o,"wheel",Kt,U),nt(o,Xt[0],Yi,U),nt(Me,Xt[2],Gi),nt(Me,Xt[3],Gi),nt(o,"click",bi,!0),nt(o,"click",xi),nt(Me,"gesturestart",ae),nt(Me,"gestureend",hr),nt(o,Ji+"enter",mr),nt(o,Ji+"leave",Hr),nt(o,Ji+"move",Jt),R.isEnabled=R.isPressed=R.isDragging=!1,Y&&Y(R))},R.kill=R.revert=function(){R.disable();var Q=Mr.indexOf(R);Q>=0&&Mr.splice(Q,1),vi===R&&(vi=0)},Mr.push(R),L&&os(o)&&(vi=R),R.enable(h)},jc(n,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),n}();be.version="3.12.2",be.create=function(n){return new be(n)},be.register=xl,be.getAll=function(){return Mr.slice()},be.getById=function(n){return Mr.filter(function(e){return e.vars.id===n})[0]},_l()&&Ge.registerPlugin(be);/*! * ScrollTrigger 3.12.2 * https://greensock.com * * @license Copyright 2008-2023, GreenSock. All rights reserved. * Subject to the terms at https://greensock.com/standard-license or for * Club GreenSock members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */var H,Pr,re,ge,qt,fe,El,qs,Ws,Fr,Us,js,et,Zs,ha,ot,Sl,Tl,kr,Cl,ma,Al,Et,Ml,Pl,Fl,Bi,ga,va,Lr,wa,_a,Qs=1,lt=Date.now,ya=lt(),Nt=0,us=0,kl=function(e,t,i){var r=St(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return i["_"+t+"Clamp"]=r,r?e.substr(6,e.length-7):e},Ll=function(e,t){return t&&(!St(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},Qc=function n(){return us&&requestAnimationFrame(n)},Ol=function(){return Zs=1},zl=function(){return Zs=0},ai=function(e){return e},cs=function(e){return Math.round(e*1e5)/1e5||0},Il=function(){return typeof window<"u"},Bl=function(){return H||Il()&&(H=window.gsap)&&H.registerPlugin&&H},er=function(e){return!!~El.indexOf(e)},Rl=function(e){return(e==="Height"?wa:re["inner"+e])||qt["client"+e]||fe["client"+e]},$l=function(e){return zi(e,"getBoundingClientRect")||(er(e)?function(){return dn.width=re.innerWidth,dn.height=wa,dn}:function(){return _i(e)})},Kc=function(e,t,i){var r=i.d,s=i.d2,a=i.a;return(a=zi(e,"getBoundingClientRect"))?function(){return a()[r]}:function(){return(t?Rl(s):e["client"+s])||0}},Jc=function(e,t){return!t||~ni.indexOf(e)?$l(e):function(){return dn}},wi=function(e,t){var i=t.s,r=t.d2,s=t.d,a=t.a;return Math.max(0,(i="scroll"+r)&&(a=zi(e,i))?a()-$l(e)()[s]:er(e)?(qt[i]||fe[i])-Rl(r):e[i]-e["offset"+r])},Ks=function(e,t){for(var i=0;i0){for(r-=a,o=0;o=r)return i[o];return i[o-1]}else for(o=i.length,r+=a;o--;)if(i[o]<=r)return i[o];return i[0]}:function(r,s,a){a===void 0&&(a=.001);var o=t(r);return!s||Math.abs(o-r)i&&(r*=t/100),e=e.substr(0,i-1)),e=r+(e in sn?sn[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},an=function(e,t,i,r,s,a,o,l){var u=s.startColor,c=s.endColor,f=s.fontSize,d=s.indent,p=s.fontWeight,m=ge.createElement("div"),h=er(i)||zi(i,"pinType")==="fixed",v=e.indexOf("scroller")!==-1,_=h?fe:i,w=e.indexOf("start")!==-1,g=w?u:c,y="border-color:"+g+";font-size:"+f+";color:"+g+";font-weight:"+p+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return y+="position:"+((v||l)&&h?"fixed;":"absolute;"),(v||l||!h)&&(y+=(r===Le?ba:xa)+":"+(a+parseFloat(d))+"px;"),o&&(y+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),m._isStart=w,m.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),m.style.cssText=y,m.innerText=t||t===0?e+"-"+t:e,_.children[0]?_.insertBefore(m,_.children[0]):_.appendChild(m),m._offset=m["offset"+r.op.d2],on(m,0,r,w),m},on=function(e,t,i,r){var s={display:"block"},a=i[r?"os2":"p2"],o=i[r?"p2":"os2"];e._isFlipped=r,s[i.a+"Percent"]=r?-100:0,s[i.a]=r?"1px":0,s["border"+a+zr]=1,s["border"+o+zr]=0,s[i.p]=t+"px",H.set(e,s)},K=[],Ca={},gs,Xl=function(){return lt()-Nt>34&&(gs||(gs=requestAnimationFrame(yi)))},Ir=function(){(!Et||!Et.isPressed||Et.startX>fe.clientWidth)&&(J.cache++,Et?gs||(gs=requestAnimationFrame(yi)):yi(),Nt||nr("scrollStart"),Nt=lt())},Aa=function(){Fl=re.innerWidth,Pl=re.innerHeight},vs=function(){J.cache++,!et&&!Al&&!ge.fullscreenElement&&!ge.webkitFullscreenElement&&(!Ml||Fl!==re.innerWidth||Math.abs(re.innerHeight-Pl)>re.innerHeight*.25)&&qs.restart(!0)},sr={},rd=[],ql=function n(){return Be(q,"scrollEnd",n)||or(!0)},nr=function(e){return sr[e]&&sr[e].map(function(t){return t()})||rd},Tt=[],Wl=function(e){for(var t=0;ts)&&r.setPositions(r.start,Math.max(r.start+1,s),!0)}),i.forEach(function(r){return r&&r.render&&r.render(-1)}),J.forEach(function(r){ut(r)&&(r.smooth&&requestAnimationFrame(function(){return r.target.style.scrollBehavior="smooth"}),r.rec&&r(r.rec))}),Ul(va,1),qs.pause(),ar++,ct=2,yi(2),K.forEach(function(r){return ut(r.vars.onRefresh)&&r.vars.onRefresh(r)}),ct=q.isRefreshing=!1,nr("refresh")},Pa=0,ln=1,ws,yi=function(e){if(!ct||e===2){q.isUpdating=!0,ws&&ws.update(0);var t=K.length,i=lt(),r=i-ya>=50,s=t&&K[0].scroll();if(ln=Pa>s?-1:1,ct||(Pa=s),r&&(Nt&&!Zs&&i-Nt>200&&(Nt=0,nr("scrollEnd")),Us=ya,ya=i),ln<0){for(ot=t;ot-- >0;)K[ot]&&K[ot].update(0,r);ln=1}else for(ot=0;ot20),i-=i-E}if(m&&(l[m]=e||-.001,e<0&&(e=0)),a){var C=e+i,x=a._isStart;v="scroll"+r.d2,on(a,C,r,x&&C>20||!x&&(f?Math.max(fe[v],qt[v]):a.parentNode[v])<=C+1),f&&(u=_i(o),f&&(a.style[r.op.p]=u[r.op.p]-r.op.m-a._offset+He))}return p&&w&&(v=_i(w),p.seek(d),_=_i(w),p._caScrollDist=v[r.p]-_[r.p],e=e/p._caScrollDist*d),p&&p.seek(h),p?e:Math.round(e)},ld=/(webkit|moz|length|cssText|inset)/i,Kl=function(e,t,i,r){if(e.parentNode!==t){var s=e.style,a,o;if(t===fe){e._stOrig=s.cssText,o=Gt(e);for(a in o)!+a&&!ld.test(a)&&o[a]&&typeof s[a]=="string"&&a!=="0"&&(s[a]=o[a]);s.top=i,s.left=r}else s.cssText=e._stOrig;H.core.getCache(e).uncache=1,t.appendChild(e)}},Jl=function(e,t,i){var r=t,s=r;return function(a){var o=Math.round(e());return o!==r&&o!==s&&Math.abs(o-r)>3&&Math.abs(o-s)>3&&(a=o,i&&i()),s=r,r=a,a}},fn=function(e,t,i){var r={};r[t.p]="+="+i,H.set(e,r)},eu=function(e,t){var i=Ii(e,t),r="_scroll"+t.p2,s=function a(o,l,u,c,f){var d=a.tween,p=l.onComplete,m={};u=u||i();var h=Jl(i,u,function(){d.kill(),a.tween=0});return f=c&&f||0,c=c||o-u,d&&d.kill(),l[r]=o,l.modifiers=m,m[r]=function(){return h(u+c*d.ratio+f*d.ratio*d.ratio)},l.onUpdate=function(){J.cache++,yi()},l.onComplete=function(){a.tween=0,p&&p.call(d)},d=a.tween=H.to(e,l),d};return e[r]=i,i.wheelHandler=function(){return s.tween&&s.tween.kill()&&(s.tween=0)},Ie(e,"wheel",i.wheelHandler),q.isTouch&&Ie(e,"touchmove",i.wheelHandler),s},q=function(){function n(t,i){Pr||n.register(H)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),ga(this),this.init(t,i)}var e=n.prototype;return e.init=function(i,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!us){this.update=this.refresh=this.kill=ai;return}i=Gl(St(i)||Js(i)||i.nodeType?{trigger:i}:i,rn);var s=i,a=s.onUpdate,o=s.toggleClass,l=s.id,u=s.onToggle,c=s.onRefresh,f=s.scrub,d=s.trigger,p=s.pin,m=s.pinSpacing,h=s.invalidateOnRefresh,v=s.anticipatePin,_=s.onScrubComplete,w=s.onSnapComplete,g=s.once,y=s.snap,D=s.pinReparent,E=s.pinSpacer,b=s.containerAnimation,C=s.fastScrollEnd,x=s.preventOverlaps,S=i.horizontal||i.containerAnimation&&i.horizontal!==!1?at:Le,O=!f&&f!==0,M=vt(i.scroller||re),P=H.core.getCache(M),k=er(M),z=("pinType"in i?i.pinType:zi(M,"pinType")||k&&"fixed")==="fixed",I=[i.onEnter,i.onLeave,i.onEnterBack,i.onLeaveBack],A=O&&i.toggleActions.split(" "),L="markers"in i?i.markers:rn.markers,F=k?0:parseFloat(Gt(M)["border"+S.p2+zr])||0,T=this,B=i.onRefreshInit&&function(){return i.onRefreshInit(T)},$=Kc(M,k,S),Y=Jc(M,k),X=0,N=0,U=0,j=Ii(M,S),Ee,Ae,Re,Se,Mt,se,ve,qe,$e,R,We,Pt,Wt,pe,Ft,li,Ut,Ue,Me,jt,Zt,dr,bi,ui,wt,fr,Yr,Gr,pr,Yi,Gi,ae,hr,Qt,Kt,Jt,mr,Hr,xi;if(T._startClamp=T._endClamp=!1,T._dir=S,v*=45,T.scroller=M,T.scroll=b?b.time.bind(b):j,Se=j(),T.vars=i,r=r||i.animation,"refreshPriority"in i&&(Cl=1,i.refreshPriority===-9999&&(ws=T)),P.tweenScroll=P.tweenScroll||{top:eu(M,Le),left:eu(M,at)},T.tweenTo=Ee=P.tweenScroll[S.p],T.scrubDuration=function(V){hr=Js(V)&&V,hr?ae?ae.duration(V):ae=H.to(r,{ease:"expo",totalProgress:"+=0",duration:hr,paused:!0,onComplete:function(){return _&&_(T)}}):(ae&&ae.progress(1).kill(),ae=0)},r&&(r.vars.lazy=!1,r._initted&&!T.isReverted||r.vars.immediateRender!==!1&&i.immediateRender!==!1&&r.duration()&&r.render(0,!0,!0),T.animation=r.pause(),r.scrollTrigger=T,T.scrubDuration(f),Yi=0,l||(l=r.vars.id)),y&&((!tr(y)||y.push)&&(y={snapTo:y}),"scrollBehavior"in fe.style&&H.set(k?[fe,qt]:M,{scrollBehavior:"auto"}),J.forEach(function(V){return ut(V)&&V.target===(k?ge.scrollingElement||qt:M)&&(V.smooth=!1)}),Re=ut(y.snapTo)?y.snapTo:y.snapTo==="labels"?td(r):y.snapTo==="labelsDirectional"?id(r):y.directional!==!1?function(V,ne){return Ta(y.snapTo)(V,lt()-N<500?0:ne.direction)}:H.utils.snap(y.snapTo),Qt=y.duration||{min:.1,max:2},Qt=tr(Qt)?Fr(Qt.min,Qt.max):Fr(Qt,Qt),Kt=H.delayedCall(y.delay||hr/2||.1,function(){var V=j(),ne=lt()-N<500,Z=Ee.tween;if((ne||Math.abs(T.getVelocity())<10)&&!Z&&!Zs&&X!==V){var te=(V-se)/pe,Ne=r&&!O?r.totalProgress():te,oe=ne?0:(Ne-Gi)/(lt()-Us)*1e3||0,Pe=H.utils.clamp(-te,1-te,Or(oe/2)*oe/.185),dt=te+(y.inertia===!1?0:Pe),je=Fr(0,1,Re(dt,T)),we=Math.round(se+je*pe),de=y,ei=de.onStart,_e=de.onInterrupt,kt=de.onComplete;if(V<=ve&&V>=se&&we!==V){if(Z&&!Z._initted&&Z.data<=Or(we-V))return;y.inertia===!1&&(Pe=je-te),Ee(we,{duration:Qt(Or(Math.max(Or(dt-Ne),Or(je-Ne))*.185/oe/.05||0)),ease:y.ease||"power3",data:Or(we-V),onInterrupt:function(){return Kt.restart(!0)&&_e&&_e(T)},onComplete:function(){T.update(),X=j(),Yi=Gi=r&&!O?r.totalProgress():T.progress,w&&w(T),kt&&kt(T)}},V,Pe*pe,we-V-Pe*pe),ei&&ei(T,Ee.tween)}}else T.isActive&&X!==V&&Kt.restart(!0)}).pause()),l&&(Ca[l]=T),d=T.trigger=vt(d||p!==!0&&p),xi=d&&d._gsap&&d._gsap.stRevert,xi&&(xi=xi(T)),p=p===!0?d:vt(p),St(o)&&(o={targets:d,className:o}),p&&(m===!1||m===Yt||(m=!m&&p.parentNode&&p.parentNode.style&&Gt(p.parentNode).display==="flex"?!1:ke),T.pin=p,Ae=H.core.getCache(p),Ae.spacer?Ft=Ae.pinState:(E&&(E=vt(E),E&&!E.nodeType&&(E=E.current||E.nativeElement),Ae.spacerIsNative=!!E,E&&(Ae.spacerState=cn(E))),Ae.spacer=Ue=E||ge.createElement("div"),Ue.classList.add("pin-spacer"),l&&Ue.classList.add("pin-spacer-"+l),Ae.pinState=Ft=cn(p)),i.force3D!==!1&&H.set(p,{force3D:!0}),T.spacer=Ue=Ae.spacer,pr=Gt(p),ui=pr[m+S.os2],jt=H.getProperty(p),Zt=H.quickSetter(p,S.a,He),ka(p,Ue,pr),Ut=cn(p)),L){Pt=tr(L)?Gl(L,Vl):Vl,R=an("scroller-start",l,M,S,Pt,0),We=an("scroller-end",l,M,S,Pt,0,R),Me=R["offset"+S.op.d2];var Q=vt(zi(M,"content")||M);qe=this.markerStart=an("start",l,Q,S,Pt,Me,0,b),$e=this.markerEnd=an("end",l,Q,S,Pt,Me,0,b),b&&(Hr=H.quickSetter([qe,$e],S.a,He)),!z&&!(ni.length&&zi(M,"fixedMarkers")===!0)&&(ed(k?fe:M),H.set([R,We],{force3D:!0}),fr=H.quickSetter(R,S.a,He),Gr=H.quickSetter(We,S.a,He))}if(b){var W=b.vars.onUpdate,le=b.vars.onUpdateParams;b.eventCallback("onUpdate",function(){T.update(0,0,1),W&&W.apply(b,le||[])})}if(T.previous=function(){return K[K.indexOf(T)-1]},T.next=function(){return K[K.indexOf(T)+1]},T.revert=function(V,ne){if(!ne)return T.kill(!0);var Z=V!==!1||!T.enabled,te=et;Z!==T.isReverted&&(Z&&(Jt=Math.max(j(),T.scroll.rec||0),U=T.progress,mr=r&&r.progress()),qe&&[qe,$e,R,We].forEach(function(Ne){return Ne.style.display=Z?"none":"block"}),Z&&(et=T,T.update(Z)),p&&(!D||!T.isActive)&&(Z?nd(p,Ue,Ft):ka(p,Ue,Gt(p),wt)),Z||T.update(Z),et=te,T.isReverted=Z)},T.refresh=function(V,ne,Z,te){if(!((et||!T.enabled)&&!ne)){if(p&&V&&Nt){Ie(n,"scrollEnd",ql);return}!ct&&B&&B(T),et=T,Ee.tween&&!Z&&(Ee.tween.kill(),Ee.tween=0),ae&&ae.pause(),h&&r&&r.revert({kill:!1}).invalidate(),T.isReverted||T.revert(!0,!0),T._subPinOffset=!1;var Ne=$(),oe=Y(),Pe=b?b.duration():wi(M,S),dt=pe<=.01,je=0,we=te||0,de=tr(Z)?Z.end:i.end,ei=i.endTrigger||d,_e=tr(Z)?Z.start:i.start||(i.start===0||!d?0:p?"0 0":"0 100%"),kt=T.pinnedContainer=i.pinnedContainer&&vt(i.pinnedContainer,T),ci=d&&Math.max(0,K.indexOf(T))||0,Lt=ci,Ze,it,gr,Dn,rt,Oe,di,Za,Mu,Ss,fi,Ts,bn;for(L&&tr(Z)&&(Ts=H.getProperty(R,S.p),bn=H.getProperty(We,S.p));Lt--;)Oe=K[Lt],Oe.end||Oe.refresh(0,1)||(et=T),di=Oe.pin,di&&(di===d||di===p||di===kt)&&!Oe.isReverted&&(Ss||(Ss=[]),Ss.unshift(Oe),Oe.revert(!0,!0)),Oe!==K[Lt]&&(ci--,Lt--);for(ut(_e)&&(_e=_e(T)),_e=kl(_e,"start",T),se=Ql(_e,d,Ne,S,j(),qe,R,T,oe,F,z,Pe,b,T._startClamp&&"_startClamp")||(p?-.001:0),ut(de)&&(de=de(T)),St(de)&&!de.indexOf("+=")&&(~de.indexOf(" ")?de=(St(_e)?_e.split(" ")[0]:"")+de:(je=nn(de.substr(2),Ne),de=St(_e)?_e:(b?H.utils.mapRange(0,b.duration(),b.scrollTrigger.start,b.scrollTrigger.end,se):se)+je,ei=d)),de=kl(de,"end",T),ve=Math.max(se,Ql(de||(ei?"100% 0":Pe),ei,Ne,S,j()+je,$e,We,T,oe,F,z,Pe,b,T._endClamp&&"_endClamp"))||-.001,je=0,Lt=ci;Lt--;)Oe=K[Lt],di=Oe.pin,di&&Oe.start-Oe._pinPush<=se&&!b&&Oe.end>0&&(Ze=Oe.end-(T._startClamp?Math.max(0,Oe.start):Oe.start),(di===d&&Oe.start-Oe._pinPush1&&(fi=(k?ge.scrollingElement||qt:M).style,fi={style:fi,value:fi["overflow"+S.a.toUpperCase()]},k&&Gt(fe)["overflow"+S.a.toUpperCase()]!=="scroll"&&(fi.style["overflow"+S.a.toUpperCase()]="scroll")),ka(p,Ue,Ze),Ut=cn(p),it=_i(p,!0),Za=z&&Ii(M,Dn?at:Le)(),m&&(wt=[m+S.os2,pe+we+He],wt.t=Ue,Lt=m===ke?Sa(p,S)+pe+we:0,Lt&&wt.push(S.d,Lt+He),Br(wt),kt&&K.forEach(function(Cs){Cs.pin===kt&&Cs.vars.pinSpacing!==!1&&(Cs._subPinOffset=!0)}),z&&j(Jt)),z&&(rt={top:it.top+(Dn?gr-se:Za)+He,left:it.left+(Dn?Za:gr-se)+He,boxSizing:"border-box",position:"fixed"},rt[ir]=rt["max"+zr]=Math.ceil(it.width)+He,rt[rr]=rt["max"+Ea]=Math.ceil(it.height)+He,rt[Yt]=rt[Yt+hs]=rt[Yt+fs]=rt[Yt+ms]=rt[Yt+ps]="0",rt[ke]=Ze[ke],rt[ke+hs]=Ze[ke+hs],rt[ke+fs]=Ze[ke+fs],rt[ke+ms]=Ze[ke+ms],rt[ke+ps]=Ze[ke+ps],li=od(Ft,rt,D),ct&&j(0)),r?(Mu=r._initted,ma(1),r.render(r.duration(),!0,!0),bi=jt(S.a)-dr+pe+we,Yr=Math.abs(pe-bi)>1,z&&Yr&&li.splice(li.length-2,2),r.render(0,!0,!0),Mu||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),ma(0)):bi=pe,fi&&(fi.value?fi.style["overflow"+S.a.toUpperCase()]=fi.value:fi.style.removeProperty("overflow-"+S.a));else if(d&&j()&&!b)for(it=d.parentNode;it&&it!==fe;)it._pinOffset&&(se-=it._pinOffset,ve-=it._pinOffset),it=it.parentNode;Ss&&Ss.forEach(function(Cs){return Cs.revert(!1,!0)}),T.start=se,T.end=ve,Se=Mt=ct?Jt:j(),!b&&!ct&&(Se0?K.slice(0,ne).reverse():K.slice(ne+1);return(St(V)?Z.filter(function(te){return te.vars.preventOverlaps===V}):Z).filter(function(te){return T.direction>0?te.end<=se:te.start>=ve})},T.update=function(V,ne,Z){if(!(b&&!Z&&!V)){var te=ct===!0?Jt:T.scroll(),Ne=V?0:(te-se)/pe,oe=Ne<0?0:Ne>1?1:Ne||0,Pe=T.progress,dt,je,we,de,ei,_e,kt,ci;if(ne&&(Mt=Se,Se=b?j():te,y&&(Gi=Yi,Yi=r&&!O?r.totalProgress():oe)),v&&!oe&&p&&!et&&!Qs&&Nt&&sePe?1:-1,T.progress=oe,ei&&!et&&(we=oe&&!Pe?0:oe===1?1:Pe===1?2:3,O&&(de=!_e&&A[we+1]!=="none"&&A[we+1]||A[we],ci=r&&(de==="complete"||de==="reset"||de in r))),x&&(_e||ci)&&(ci||f||!r)&&(ut(x)?x(T):T.getTrailing(x).forEach(function(gr){return gr.endAnimation()})),O||(ae&&!et&&!Qs?(ae._dp._time-ae._start!==ae._time&&ae.render(ae._dp._time-ae._start),ae.resetTo?ae.resetTo("totalProgress",oe,r._tTime/r._tDur):(ae.vars.totalProgress=oe,ae.invalidate().restart())):r&&r.totalProgress(oe,!!(et&&(N||V)))),p){if(V&&m&&(Ue.style[m+S.os2]=ui),!z)Zt(cs(dr+bi*oe));else if(ei){if(kt=!V&&oe>Pe&&ve+1>te&&te+1>=wi(M,S),D)if(!V&&(dt||kt)){var Lt=_i(p,!0),Ze=te-se;Kl(p,fe,Lt.top+(S===Le?Ze:0)+He,Lt.left+(S===Le?0:Ze)+He)}else Kl(p,Ue);Br(dt||kt?li:Ut),Yr&&oe<1&&dt||Zt(dr+(oe===1&&!kt?bi:0))}}y&&!Ee.tween&&!et&&!Qs&&Kt.restart(!0),o&&(_e||g&&oe&&(oe<1||!_a))&&Ws(o.targets).forEach(function(gr){return gr.classList[dt||g?"add":"remove"](o.className)}),a&&!O&&!V&&a(T),ei&&!et?(O&&(ci&&(de==="complete"?r.pause().totalProgress(1):de==="reset"?r.restart(!0).pause():de==="restart"?r.restart(!0):r[de]()),a&&a(T)),(_e||!_a)&&(u&&_e&&Da(T,u),I[we]&&Da(T,I[we]),g&&(oe===1?T.kill(!1,1):I[we]=0),_e||(we=oe===1?1:3,I[we]&&Da(T,I[we]))),C&&!dt&&Math.abs(T.getVelocity())>(Js(C)?C:2500)&&(ds(T.callbackAnimation),ae?ae.progress(1):ds(r,de==="reverse"?1:!oe,1))):O&&a&&!et&&a(T)}if(Gr){var it=b?te/b.duration()*(b._caScrollDist||0):te;fr(it+(R._isFlipped?1:0)),Gr(it)}Hr&&Hr(-te/b.duration()*(b._caScrollDist||0))}},T.enable=function(V,ne){T.enabled||(T.enabled=!0,Ie(M,"resize",vs),k||Ie(M,"scroll",Ir),B&&Ie(n,"refreshInit",B),V!==!1&&(T.progress=U=0,Se=Mt=X=j()),ne!==!1&&T.refresh())},T.getTween=function(V){return V&&Ee?Ee.tween:ae},T.setPositions=function(V,ne,Z,te){if(b){var Ne=b.scrollTrigger,oe=b.duration(),Pe=Ne.end-Ne.start;V=Ne.start+Pe*V/oe,ne=Ne.start+Pe*ne/oe}T.refresh(!1,!1,{start:Ll(V,Z&&!!T._startClamp),end:Ll(ne,Z&&!!T._endClamp)},te),T.update()},T.adjustPinSpacing=function(V){if(wt&&V){var ne=wt.indexOf(S.d)+1;wt[ne]=parseFloat(wt[ne])+V+He,wt[1]=parseFloat(wt[1])+V+He,Br(wt)}},T.disable=function(V,ne){if(T.enabled&&(V!==!1&&T.revert(!0,!0),T.enabled=T.isActive=!1,ne||ae&&ae.pause(),Jt=0,Ae&&(Ae.uncache=1),B&&Be(n,"refreshInit",B),Kt&&(Kt.pause(),Ee.tween&&Ee.tween.kill()&&(Ee.tween=0)),!k)){for(var Z=K.length;Z--;)if(K[Z].scroller===M&&K[Z]!==T)return;Be(M,"resize",vs),k||Be(M,"scroll",Ir)}},T.kill=function(V,ne){T.disable(V,ne),ae&&!ne&&ae.kill(),l&&delete Ca[l];var Z=K.indexOf(T);Z>=0&&K.splice(Z,1),Z===ot&&ln>0&&ot--,Z=0,K.forEach(function(te){return te.scroller===T.scroller&&(Z=1)}),Z||ct||(T.scroll.rec=0),r&&(r.scrollTrigger=null,V&&r.revert({kill:!1}),ne||r.kill()),qe&&[qe,$e,R,We].forEach(function(te){return te.parentNode&&te.parentNode.removeChild(te)}),ws===T&&(ws=0),p&&(Ae&&(Ae.uncache=1),Z=0,K.forEach(function(te){return te.pin===p&&Z++}),Z||(Ae.spacer=0)),i.onKill&&i.onKill(T)},K.push(T),T.enable(!1,!1),xi&&xi(T),r&&r.add&&!pe){var Te=T.update;T.update=function(){T.update=Te,se||ve||T.refresh()},H.delayedCall(.01,T.update),pe=.01,se=ve=0}else T.refresh();p&&sd()},n.register=function(i){return Pr||(H=i||Bl(),Il()&&window.document&&n.enable(),Pr=us),Pr},n.defaults=function(i){if(i)for(var r in i)rn[r]=i[r];return rn},n.disable=function(i,r){us=0,K.forEach(function(a){return a[r?"kill":"disable"](i)}),Be(re,"wheel",Ir),Be(ge,"scroll",Ir),clearInterval(js),Be(ge,"touchcancel",ai),Be(fe,"touchstart",ai),en(Be,ge,"pointerdown,touchstart,mousedown",Ol),en(Be,ge,"pointerup,touchend,mouseup",zl),qs.kill(),Ks(Be);for(var s=0;s0&&a.left+o0&&a.top+o=0&&Tt.splice(t,5),Tt.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),H.core.getCache(e),ga())}}):Tt},q.revert=function(n,e){return Ma(!n,e)},q.create=function(n,e){return new q(n,e)},q.refresh=function(n){return n?vs():(Pr||q.register())&&or(!0)},q.update=function(n){return++J.cache&&yi(n===!0?2:0)},q.clearScrollMemory=Ul,q.maxScroll=function(n,e){return wi(n,e?at:Le)},q.getScrollFunc=function(n,e){return Ii(vt(n),e?at:Le)},q.getById=function(n){return Ca[n]},q.getAll=function(){return K.filter(function(n){return n.vars.id!=="ScrollSmoother"})},q.isScrolling=function(){return!!Nt},q.snapDirectional=Ta,q.addEventListener=function(n,e){var t=sr[n]||(sr[n]=[]);~t.indexOf(e)||t.push(e)},q.removeEventListener=function(n,e){var t=sr[n],i=t&&t.indexOf(e);i>=0&&t.splice(i,1)},q.batch=function(n,e){var t=[],i={},r=e.interval||.016,s=e.batchMax||1e9,a=function(u,c){var f=[],d=[],p=H.delayedCall(r,function(){c(f,d),f=[],d=[]}).pause();return function(m){f.length||p.restart(!0),f.push(m.trigger),d.push(m),s<=f.length&&p.progress(1)}},o;for(o in e)i[o]=o.substr(0,2)==="on"&&ut(e[o])&&o!=="onRefreshInit"?a(o,e[o]):e[o];return ut(s)&&(s=s(),Ie(q,"refresh",function(){return s=e.batchMax()})),Ws(n).forEach(function(l){var u={};for(o in i)u[o]=i[o];u.trigger=l,t.push(q.create(u))}),t};var tu=function(e,t,i,r){return t>r?e(r):t<0&&e(0),i>r?(r-t)/(i-t):i<0?t/(t-i):1},La=function n(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(be.isTouch?" pinch-zoom":""):"none",e===qt&&n(fe,t)},pn={auto:1,scroll:1},ud=function(e){var t=e.event,i=e.target,r=e.axis,s=(t.changedTouches?t.changedTouches[0]:t).target,a=s._gsap||H.core.getCache(s),o=lt(),l;if(!a._isScrollT||o-a._isScrollT>2e3){for(;s&&s!==fe&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!(pn[(l=Gt(s)).overflowY]||pn[l.overflowX]));)s=s.parentNode;a._isScroll=s&&s!==i&&!er(s)&&(pn[(l=Gt(s)).overflowY]||pn[l.overflowX]),a._isScrollT=o}(a._isScroll||r==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},iu=function(e,t,i,r){return be.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:r=r&&ud,onPress:r,onDrag:r,onScroll:r,onEnable:function(){return i&&Ie(ge,be.eventTypes[0],su,!1,!0)},onDisable:function(){return Be(ge,be.eventTypes[0],su,!0)}})},cd=/(input|label|select|textarea)/i,ru,su=function(e){var t=cd.test(e.target.tagName);(t||ru)&&(e._gsapAllow=!0,ru=t)},dd=function(e){tr(e)||(e={}),e.preventDefault=e.isNormalizer=e.allowClicks=!0,e.type||(e.type="wheel,touch"),e.debounce=!!e.debounce,e.id=e.id||"normalizer";var t=e,i=t.normalizeScrollX,r=t.momentum,s=t.allowNestedScroll,a=t.onRelease,o,l,u=vt(e.target)||qt,c=H.core.globals().ScrollSmoother,f=c&&c.get(),d=Bi&&(e.content&&vt(e.content)||f&&e.content!==!1&&!f.smooth()&&f.content()),p=Ii(u,Le),m=Ii(u,at),h=1,v=(be.isTouch&&re.visualViewport?re.visualViewport.scale*re.visualViewport.width:re.outerWidth)/re.innerWidth,_=0,w=ut(r)?function(){return r(o)}:function(){return r||2.8},g,y,D=iu(u,e.type,!0,s),E=function(){return y=!1},b=ai,C=ai,x=function(){l=wi(u,Le),C=Fr(Bi?1:0,l),i&&(b=Fr(0,wi(u,at))),g=ar},S=function(){d._gsap.y=cs(parseFloat(d._gsap.y)+p.offset)+"px",d.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(d._gsap.y)+", 0, 1)",p.offset=p.cacheID=0},O=function(){if(y){requestAnimationFrame(E);var L=cs(o.deltaY/2),F=C(p.v-L);if(d&&F!==p.v+p.offset){p.offset=F-p.v;var T=cs((parseFloat(d&&d._gsap.y)||0)-p.offset);d.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+T+", 0, 1)",d._gsap.y=T+"px",p.cacheID=J.cache,yi()}return!0}p.offset&&S(),y=!0},M,P,k,z,I=function(){x(),M.isActive()&&M.vars.scrollY>l&&(p()>l?M.progress(1)&&p(l):M.resetTo("scrollY",l))};return d&&H.set(d,{y:"+=0"}),e.ignoreCheck=function(A){return Bi&&A.type==="touchmove"&&O()||h>1.05&&A.type!=="touchstart"||o.isGesturing||A.touches&&A.touches.length>1},e.onPress=function(){y=!1;var A=h;h=cs((re.visualViewport&&re.visualViewport.scale||1)/v),M.pause(),A!==h&&La(u,h>1.01?!0:i?!1:"x"),P=m(),k=p(),x(),g=ar},e.onRelease=e.onGestureStart=function(A,L){if(p.offset&&S(),!L)z.restart(!0);else{J.cache++;var F=w(),T,B;i&&(T=m(),B=T+F*.05*-A.velocityX/.227,F*=tu(m,T,B,wi(u,at)),M.vars.scrollX=b(B)),T=p(),B=T+F*.05*-A.velocityY/.227,F*=tu(p,T,B,wi(u,Le)),M.vars.scrollY=C(B),M.invalidate().duration(F).play(.01),(Bi&&M.vars.scrollY>=l||T>=l-1)&&H.to({},{onUpdate:I,duration:F})}a&&a(A)},e.onWheel=function(){M._ts&&M.pause(),lt()-_>1e3&&(g=0,_=lt())},e.onChange=function(A,L,F,T,B){if(ar!==g&&x(),L&&i&&m(b(T[2]===L?P+(A.startX-A.x):m()+L-T[1])),F){p.offset&&S();var $=B[2]===F,Y=$?k+A.startY-A.y:p()+F-B[1],X=C(Y);$&&Y!==X&&(k+=X-Y),p(X)}(F||L)&&yi()},e.onEnable=function(){La(u,i?!1:"x"),q.addEventListener("refresh",I),Ie(re,"resize",I),p.smooth&&(p.target.style.scrollBehavior="auto",p.smooth=m.smooth=!1),D.enable()},e.onDisable=function(){La(u,!0),Be(re,"resize",I),q.removeEventListener("refresh",I),D.kill()},e.lockAxis=e.lockAxis!==!1,o=new be(e),o.iOS=Bi,Bi&&!p()&&p(1),Bi&&H.ticker.add(ai),z=o._dc,M=H.to(o,{ease:"power4",paused:!0,scrollX:i?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:Jl(p,p(),function(){return M.pause()})},onUpdate:yi,onComplete:z.vars.onComplete}),o};q.sort=function(n){return K.sort(n||function(e,t){return(e.vars.refreshPriority||0)*-1e6+e.start-(t.start+(t.vars.refreshPriority||0)*-1e6)})},q.observe=function(n){return new be(n)},q.normalizeScroll=function(n){if(typeof n>"u")return Et;if(n===!0&&Et)return Et.enable();if(n===!1)return Et&&Et.kill();var e=n instanceof be?n:dd(n);return Et&&Et.target===e.target&&Et.kill(),er(e.target)&&(Et=e),e},q.core={_getVelocityProp:pa,_inputObserver:iu,_scrollers:J,_proxies:ni,bridge:{ss:function(){Nt||nr("scrollStart"),Nt=lt()},ref:function(){return et}}},Bl()&&H.registerPlugin(q);/*! * strings: 3.12.2 * https://greensock.com * * Copyright 2008-2023, GreenSock. All rights reserved. * Subject to the terms at https://greensock.com/standard-license or for * Club GreenSock members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */var fd=/([\uD800-\uDBFF][\uDC00-\uDFFF](?:[\u200D\uFE0F][\uD800-\uDBFF][\uDC00-\uDFFF]){2,}|\uD83D\uDC69(?:\u200D(?:(?:\uD83D\uDC69\u200D)?\uD83D\uDC67|(?:\uD83D\uDC69\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]\uFE0F|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC6F\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3C-\uDD3E\uDDD6-\uDDDF])\u200D[\u2640\u2642]\uFE0F|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F\u200D[\u2640\u2642]|(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642])\uFE0F|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\uD83D\uDC69\u200D[\u2695\u2696\u2708]|\uD83D\uDC68(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708]))\uFE0F|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83D\uDC69\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|\uD83D\uDC68(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]))|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDD1-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\u200D(?:(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDD1-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])?|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDEEB\uDEEC\uDEF4-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267B\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])\uFE0F)/;function nu(n){var e=n.nodeType,t="";if(e===1||e===9||e===11){if(typeof n.textContent=="string")return n.textContent;for(n=n.firstChild;n;n=n.nextSibling)t+=nu(n)}else if(e===3||e===4)return n.nodeValue;return t}/*! * SplitText: 3.12.2 * https://greensock.com * * @license Copyright 2008-2023, GreenSock. All rights reserved. * Subject to the terms at https://greensock.com/standard-license or for * Club GreenSock members, the agreement issued with that membership. * @author: Jack Doyle, jack@greensock.com */var Rr,Oa,au,_s,ou,hn,pd=/(?:\r|\n|\t\t)/g,hd=/(?:\s\s+)/g,lu=function(e){Rr=document,Oa=window,_s=_s||e||Oa.gsap||console.warn("Please gsap.registerPlugin(SplitText)"),_s&&(hn=_s.utils.toArray,ou=_s.core.context||function(){},au=1)},uu=function(e){return Oa.getComputedStyle(e)},za=function(e){return e.position==="absolute"||e.absolute===!0},md=function(e,t){for(var i=t.length,r;--i>-1;)if(r=t[i],e.substr(0,r.length)===r)return r.length},gd=" style='position:relative;display:inline-block;'",cu=function(e,t){e===void 0&&(e="");var i=~e.indexOf("++"),r=1;return i&&(e=e.split("++").join("")),function(){return"<"+t+gd+(e?" class='"+e+(i?r++:"")+"'>":">")}},du=function n(e,t,i){var r=e.nodeType;if(r===1||r===9||r===11)for(e=e.firstChild;e;e=e.nextSibling)n(e,t,i);else(r===3||r===4)&&(e.nodeValue=e.nodeValue.split(t).join(i))},Ia=function(e,t){for(var i=t.length;--i>-1;)e.push(t[i])},fu=function(e,t,i){for(var r;e&&e!==t;){if(r=e._next||e.nextSibling,r)return r.textContent.charAt(0)===i;e=e.parentNode||e._parent}},vd=function n(e){var t=hn(e.childNodes),i=t.length,r,s;for(r=0;rh&&(F.nodeName!=="BR"||I===0)&&($=[],b.push($),c=j),S&&(F._x=F.offsetLeft,F._y=j,F._w=F.offsetWidth,F._h=F.offsetHeight),b&&((F._isSplit&&B||!x&&B||C&&B||!C&&F.parentNode.parentNode===e&&!F.parentNode._isSplit)&&($.push(F),F._x-=u,fu(F,e,y)&&(F._wordEnd=!0)),F.nodeName==="BR"&&(F.nextSibling&&F.nextSibling.nodeName==="BR"||I===0)&&b.push([])));for(I=0;I-1;)P[I].parentNode.removeChild(P[I]);if(b){for(S&&(N=Rr.createElement(D),e.appendChild(N),U=N.offsetWidth+"px",j=N.offsetParent===e?0:e.offsetLeft,e.removeChild(N)),X=e.style.cssText,e.style.cssText="display:none;";e.firstChild;)e.removeChild(e.firstChild);for(Y=y===" "&&(!S||!C&&!x),I=0;Ie.clientHeight&&(e.style.height=o-p+"px",e.clientHeighte.clientWidth&&(e.style.width=a-m+"px",e.clientWidth",d=1,p=t.specialChars?typeof t.specialChars=="function"?t.specialChars:md:null,m,h,v,_,w,g,y,D,E=Rr.createElement("div"),b=e.parentNode;for(b.insertBefore(E,e),E.textContent=e.nodeValue,b.removeChild(e),e=E,m=nu(e),y=m.indexOf("<")!==-1,t.reduceWhiteSpace!==!1&&(m=m.replace(hd," ").replace(pd,"")),y&&(m=m.split("<").join("{{LT}}")),w=m.length,h=(m.charAt(0)===" "?c:"")+i(),v=0;v":g,v+=D-1;else if(g===u&&m.charAt(v-1)!==u&&v){for(h+=d?f:"",d=0;m.charAt(v+1)===u;)h+=c,v++;v===w-1?h+=c:m.charAt(v+1)!==")"&&(h+=c+i(),d=1)}else g==="{"&&m.substr(v,6)==="{{LT}}"?(h+=o?r()+"{{LT}}":"{{LT}}",v+=5):g.charCodeAt(0)>=55296&&g.charCodeAt(0)<=56319||m.charCodeAt(v+1)>=65024&&m.charCodeAt(v+1)<=65039?(_=((m.substr(v,12).split(fd)||[])[1]||"").length||2,h+=o&&g!==" "?r()+m.substr(v,_)+"":m.substr(v,_),v+=_-1):h+=o&&g!==" "?r()+g+"":g;e.outerHTML=h+(d?f:""),y&&du(b,"{{LT}}","<")},yd=function n(e,t,i,r){var s=hn(e.childNodes),a=s.length,o=za(t),l,u;if(e.nodeType!==3||a>1){for(t.absolute=!1,l=0;l-1;)c=this.elements[r],this._originals[r]=c.innerHTML,l=c.clientHeight,u=c.clientWidth,yd(c,i,a,o),wd(c,i,this.chars,this.words,this.lines,u,l);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this},e.revert=function(){var i=this._originals;if(!i)throw"revert() call wasn't scoped properly.";return this.elements.forEach(function(r,s){return r.innerHTML=i[s]}),this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},n.create=function(i,r){return new n(i,r)},n}();Ri.version="3.12.2",Ri.register=lu;var pu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Dd(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var hu={exports:{}},Ba={exports:{}},mu;function bd(){return mu||(mu=1,function(n){(function(e,t){n.exports?n.exports=t():e.EvEmitter=t()})(typeof window<"u"?window:pu,function(){function e(){}let t=e.prototype;return t.on=function(i,r){if(!i||!r)return this;let s=this._events=this._events||{},a=s[i]=s[i]||[];return a.includes(r)||a.push(r),this},t.once=function(i,r){if(!i||!r)return this;this.on(i,r);let s=this._onceEvents=this._onceEvents||{},a=s[i]=s[i]||{};return a[r]=!0,this},t.off=function(i,r){let s=this._events&&this._events[i];if(!s||!s.length)return this;let a=s.indexOf(r);return a!=-1&&s.splice(a,1),this},t.emitEvent=function(i,r){let s=this._events&&this._events[i];if(!s||!s.length)return this;s=s.slice(0),r=r||[];let a=this._onceEvents&&this._onceEvents[i];for(let o of s)a&&a[o]&&(this.off(i,o),delete a[o]),o.apply(this,r);return this},t.allOff=function(){return delete this._events,delete this._onceEvents,this},e})}(Ba)),Ba.exports}/*! * imagesLoaded v5.0.0 * JavaScript is all like "You images are done yet or what?" * MIT License */(function(n){(function(e,t){n.exports?n.exports=t(e,bd()):e.imagesLoaded=t(e,e.EvEmitter)})(typeof window<"u"?window:pu,function(t,i){let r=t.jQuery,s=t.console;function a(d){return Array.isArray(d)?d:typeof d=="object"&&typeof d.length=="number"?[...d]:[d]}function o(d,p,m){if(!(this instanceof o))return new o(d,p,m);let h=d;if(typeof d=="string"&&(h=document.querySelectorAll(d)),!h){s.error(`Bad element for imagesLoaded ${h||d}`);return}this.elements=a(h),this.options={},typeof p=="function"?m=p:Object.assign(this.options,p),m&&this.on("always",m),this.getImages(),r&&(this.jqDeferred=new r.Deferred),setTimeout(this.check.bind(this))}o.prototype=Object.create(i.prototype),o.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const l=[1,9,11];o.prototype.addElementImages=function(d){d.nodeName==="IMG"&&this.addImage(d),this.options.background===!0&&this.addElementBackgroundImages(d);let{nodeType:p}=d;if(!p||!l.includes(p))return;let m=d.querySelectorAll("img");for(let h of m)this.addImage(h);if(typeof this.options.background=="string"){let h=d.querySelectorAll(this.options.background);for(let v of h)this.addElementBackgroundImages(v)}};const u=/url\((['"])?(.*?)\1\)/gi;o.prototype.addElementBackgroundImages=function(d){let p=getComputedStyle(d);if(!p)return;let m=u.exec(p.backgroundImage);for(;m!==null;){let h=m&&m[2];h&&this.addBackground(h,d),m=u.exec(p.backgroundImage)}},o.prototype.addImage=function(d){let p=new c(d);this.images.push(p)},o.prototype.addBackground=function(d,p){let m=new f(d,p);this.images.push(m)},o.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length){this.complete();return}let d=(p,m,h)=>{setTimeout(()=>{this.progress(p,m,h)})};this.images.forEach(function(p){p.once("progress",d),p.check()})},o.prototype.progress=function(d,p,m){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!d.isLoaded,this.emitEvent("progress",[this,d,p]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,d),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&s&&s.log(`progress: ${m}`,d,p)},o.prototype.complete=function(){let d=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(d,[this]),this.emitEvent("always",[this]),this.jqDeferred){let p=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[p](this)}};function c(d){this.img=d}c.prototype=Object.create(i.prototype),c.prototype.check=function(){if(this.getIsImageComplete()){this.confirm(this.img.naturalWidth!==0,"naturalWidth");return}this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src},c.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},c.prototype.confirm=function(d,p){this.isLoaded=d;let{parentNode:m}=this.img,h=m.nodeName==="PICTURE"?m:this.img;this.emitEvent("progress",[this,h,p])},c.prototype.handleEvent=function(d){let p="on"+d.type;this[p]&&this[p](d)},c.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},c.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},c.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)};function f(d,p){this.url=d,this.element=p,this.img=new Image}return f.prototype=Object.create(c.prototype),f.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(this.img.naturalWidth!==0,"naturalWidth"),this.unbindEvents())},f.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},f.prototype.confirm=function(d,p){this.isLoaded=d,this.emitEvent("progress",[this,this.element,p])},o.makeJQueryPlugin=function(d){d=d||t.jQuery,d&&(r=d,r.fn.imagesLoaded=function(p,m){return new o(this,p,m).jqDeferred.promise(r(this))})},o.makeJQueryPlugin(),o})})(hu);var xd=hu.exports;const Ed=Dd(xd);function gu(n){return n!==null&&typeof n=="object"&&"constructor"in n&&n.constructor===Object}function Ra(n,e){n===void 0&&(n={}),e===void 0&&(e={}),Object.keys(e).forEach(t=>{typeof n[t]>"u"?n[t]=e[t]:gu(e[t])&&gu(n[t])&&Object.keys(e[t]).length>0&&Ra(n[t],e[t])})}const vu={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Ve(){const n=typeof document<"u"?document:{};return Ra(n,vu),n}const Sd={document:vu,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(n){return typeof setTimeout>"u"?(n(),null):setTimeout(n,0)},cancelAnimationFrame(n){typeof setTimeout>"u"||clearTimeout(n)}};function xe(){const n=typeof window<"u"?window:{};return Ra(n,Sd),n}function $i(n){return n===void 0&&(n=""),n.trim().split(" ").filter(e=>!!e.trim())}function Td(n){const e=n;Object.keys(e).forEach(t=>{try{e[t]=null}catch{}try{delete e[t]}catch{}})}function lr(n,e){return e===void 0&&(e=0),setTimeout(n,e)}function Ht(){return Date.now()}function Cd(n){const e=xe();let t;return e.getComputedStyle&&(t=e.getComputedStyle(n,null)),!t&&n.currentStyle&&(t=n.currentStyle),t||(t=n.style),t}function $a(n,e){e===void 0&&(e="x");const t=xe();let i,r,s;const a=Cd(n);return t.WebKitCSSMatrix?(r=a.transform||a.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map(o=>o.replace(",",".")).join(", ")),s=new t.WebKitCSSMatrix(r==="none"?"":r)):(s=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=s.toString().split(",")),e==="x"&&(t.WebKitCSSMatrix?r=s.m41:i.length===16?r=parseFloat(i[12]):r=parseFloat(i[4])),e==="y"&&(t.WebKitCSSMatrix?r=s.m42:i.length===16?r=parseFloat(i[13]):r=parseFloat(i[5])),r||0}function ys(n){return typeof n=="object"&&n!==null&&n.constructor&&Object.prototype.toString.call(n).slice(8,-1)==="Object"}function Ad(n){return typeof window<"u"&&typeof window.HTMLElement<"u"?n instanceof HTMLElement:n&&(n.nodeType===1||n.nodeType===11)}function Ct(){const n=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let t=1;te.indexOf(s)<0);for(let s=0,a=r.length;ss?"next":"prev",c=(d,p)=>u==="next"&&d>=p||u==="prev"&&d<=p,f=()=>{o=new Date().getTime(),a===null&&(a=o);const d=Math.max(Math.min((o-a)/l,1),0),p=.5-Math.cos(d*Math.PI)/2;let m=s+p*(t-s);if(c(m,t)&&(m=t),e.wrapperEl.scrollTo({[i]:m}),c(m,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[i]:m})}),r.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=r.requestAnimationFrame(f)};f()}function ur(n){return n.querySelector(".swiper-slide-transform")||n.shadowRoot&&n.shadowRoot.querySelector(".swiper-slide-transform")||n}function Xe(n,e){e===void 0&&(e="");const t=[...n.children];return n instanceof HTMLSlotElement&&t.push(...n.assignedElements()),e?t.filter(i=>i.matches(e)):t}function Md(n,e){const t=e.contains(n);return!t&&e instanceof HTMLSlotElement?[...e.assignedElements()].includes(n):t}function mn(n){try{console.warn(n);return}catch{}}function At(n,e){e===void 0&&(e=[]);const t=document.createElement(n);return t.classList.add(...Array.isArray(e)?e:$i(e)),t}function gn(n){const e=xe(),t=Ve(),i=n.getBoundingClientRect(),r=t.body,s=n.clientTop||r.clientTop||0,a=n.clientLeft||r.clientLeft||0,o=n===e?e.scrollY:n.scrollTop,l=n===e?e.scrollX:n.scrollLeft;return{top:i.top+o-s,left:i.left+l-a}}function Pd(n,e){const t=[];for(;n.previousElementSibling;){const i=n.previousElementSibling;e?i.matches(e)&&t.push(i):t.push(i),n=i}return t}function Fd(n,e){const t=[];for(;n.nextElementSibling;){const i=n.nextElementSibling;e?i.matches(e)&&t.push(i):t.push(i),n=i}return t}function Ni(n,e){return xe().getComputedStyle(n,null).getPropertyValue(e)}function bs(n){let e=n,t;if(e){for(t=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(t+=1);return t}}function cr(n,e){const t=[];let i=n.parentElement;for(;i;)e?i.matches(e)&&t.push(i):t.push(i),i=i.parentElement;return t}function xs(n,e){function t(i){i.target===n&&(e.call(n,i),n.removeEventListener("transitionend",t))}e&&n.addEventListener("transitionend",t)}function Na(n,e,t){const i=xe();return n[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(n,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(n,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function ee(n){return(Array.isArray(n)?n:[n]).filter(e=>!!e)}function vn(n){return e=>Math.abs(e)>0&&n.browser&&n.browser.need3dFix&&Math.abs(e)%90===0?e+.001:e}let Ya;function kd(){const n=xe(),e=Ve();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in n||n.DocumentTouch&&e instanceof n.DocumentTouch)}}function _u(){return Ya||(Ya=kd()),Ya}let Ga;function Ld(n){let{userAgent:e}=n===void 0?{}:n;const t=_u(),i=xe(),r=i.navigator.platform,s=e||i.navigator.userAgent,a={ios:!1,android:!1},o=i.screen.width,l=i.screen.height,u=s.match(/(Android);?[\s\/]+([\d.]+)?/);let c=s.match(/(iPad).*OS\s([\d_]+)/);const f=s.match(/(iPod)(.*OS\s([\d_]+))?/),d=!c&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=r==="Win32";let m=r==="MacIntel";const h=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&m&&t.touch&&h.indexOf(`${o}x${l}`)>=0&&(c=s.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),m=!1),u&&!p&&(a.os="android",a.android=!0),(c||d||f)&&(a.os="ios",a.ios=!0),a}function yu(n){return n===void 0&&(n={}),Ga||(Ga=Ld(n)),Ga}let Ha;function Od(){const n=xe(),e=yu();let t=!1;function i(){const o=n.navigator.userAgent.toLowerCase();return o.indexOf("safari")>=0&&o.indexOf("chrome")<0&&o.indexOf("android")<0}if(i()){const o=String(n.navigator.userAgent);if(o.includes("Version/")){const[l,u]=o.split("Version/")[1].split(" ")[0].split(".").map(c=>Number(c));t=l<16||l===16&&u<2}}const r=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(n.navigator.userAgent),s=i(),a=s||r&&e.ios;return{isSafari:t||s,needPerspectiveFix:t,need3dFix:a,isWebView:r}}function zd(){return Ha||(Ha=Od()),Ha}function Id(n){let{swiper:e,on:t,emit:i}=n;const r=xe();let s=null,a=null;const o=()=>{!e||e.destroyed||!e.initialized||(i("beforeResize"),i("resize"))},l=()=>{!e||e.destroyed||!e.initialized||(s=new ResizeObserver(f=>{a=r.requestAnimationFrame(()=>{const{width:d,height:p}=e;let m=d,h=p;f.forEach(v=>{let{contentBoxSize:_,contentRect:w,target:g}=v;g&&g!==e.el||(m=w?w.width:(_[0]||_).inlineSize,h=w?w.height:(_[0]||_).blockSize)}),(m!==d||h!==p)&&o()})}),s.observe(e.el))},u=()=>{a&&r.cancelAnimationFrame(a),s&&s.unobserve&&e.el&&(s.unobserve(e.el),s=null)},c=()=>{!e||e.destroyed||!e.initialized||i("orientationchange")};t("init",()=>{if(e.params.resizeObserver&&typeof r.ResizeObserver<"u"){l();return}r.addEventListener("resize",o),r.addEventListener("orientationchange",c)}),t("destroy",()=>{u(),r.removeEventListener("resize",o),r.removeEventListener("orientationchange",c)})}function Bd(n){let{swiper:e,extendParams:t,on:i,emit:r}=n;const s=[],a=xe(),o=function(c,f){f===void 0&&(f={});const d=a.MutationObserver||a.WebkitMutationObserver,p=new d(m=>{if(e.__preventObserver__)return;if(m.length===1){r("observerUpdate",m[0]);return}const h=function(){r("observerUpdate",m[0])};a.requestAnimationFrame?a.requestAnimationFrame(h):a.setTimeout(h,0)});p.observe(c,{attributes:typeof f.attributes>"u"?!0:f.attributes,childList:e.isElement||(typeof f.childList>"u"?!0:f).childList,characterData:typeof f.characterData>"u"?!0:f.characterData}),s.push(p)},l=()=>{if(e.params.observer){if(e.params.observeParents){const c=cr(e.hostEl);for(let f=0;f{s.forEach(c=>{c.disconnect()}),s.splice(0,s.length)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",l),i("destroy",u)}var Rd={on(n,e,t){const i=this;if(!i.eventsListeners||i.destroyed||typeof e!="function")return i;const r=t?"unshift":"push";return n.split(" ").forEach(s=>{i.eventsListeners[s]||(i.eventsListeners[s]=[]),i.eventsListeners[s][r](e)}),i},once(n,e,t){const i=this;if(!i.eventsListeners||i.destroyed||typeof e!="function")return i;function r(){i.off(n,r),r.__emitterProxy&&delete r.__emitterProxy;for(var s=arguments.length,a=new Array(s),o=0;o=0&&e.eventsAnyListeners.splice(t,1),e},off(n,e){const t=this;return!t.eventsListeners||t.destroyed||!t.eventsListeners||n.split(" ").forEach(i=>{typeof e>"u"?t.eventsListeners[i]=[]:t.eventsListeners[i]&&t.eventsListeners[i].forEach((r,s)=>{(r===e||r.__emitterProxy&&r.__emitterProxy===e)&&t.eventsListeners[i].splice(s,1)})}),t},emit(){const n=this;if(!n.eventsListeners||n.destroyed||!n.eventsListeners)return n;let e,t,i;for(var r=arguments.length,s=new Array(r),a=0;a{n.eventsAnyListeners&&n.eventsAnyListeners.length&&n.eventsAnyListeners.forEach(u=>{u.apply(i,[l,...t])}),n.eventsListeners&&n.eventsListeners[l]&&n.eventsListeners[l].forEach(u=>{u.apply(i,t)})}),n}};function $d(){const n=this;let e,t;const i=n.el;typeof n.params.width<"u"&&n.params.width!==null?e=n.params.width:e=i.clientWidth,typeof n.params.height<"u"&&n.params.height!==null?t=n.params.height:t=i.clientHeight,!(e===0&&n.isHorizontal()||t===0&&n.isVertical())&&(e=e-parseInt(Ni(i,"padding-left")||0,10)-parseInt(Ni(i,"padding-right")||0,10),t=t-parseInt(Ni(i,"padding-top")||0,10)-parseInt(Ni(i,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(n,{width:e,height:t,size:n.isHorizontal()?e:t}))}function Nd(){const n=this;function e(S,O){return parseFloat(S.getPropertyValue(n.getDirectionLabel(O))||0)}const t=n.params,{wrapperEl:i,slidesEl:r,size:s,rtlTranslate:a,wrongRTL:o}=n,l=n.virtual&&t.virtual.enabled,u=l?n.virtual.slides.length:n.slides.length,c=Xe(r,`.${n.params.slideClass}, swiper-slide`),f=l?n.virtual.slides.length:c.length;let d=[];const p=[],m=[];let h=t.slidesOffsetBefore;typeof h=="function"&&(h=t.slidesOffsetBefore.call(n));let v=t.slidesOffsetAfter;typeof v=="function"&&(v=t.slidesOffsetAfter.call(n));const _=n.snapGrid.length,w=n.slidesGrid.length;let g=t.spaceBetween,y=-h,D=0,E=0;if(typeof s>"u")return;typeof g=="string"&&g.indexOf("%")>=0?g=parseFloat(g.replace("%",""))/100*s:typeof g=="string"&&(g=parseFloat(g)),n.virtualSize=-g,c.forEach(S=>{a?S.style.marginLeft="":S.style.marginRight="",S.style.marginBottom="",S.style.marginTop=""}),t.centeredSlides&&t.cssMode&&(Ds(i,"--swiper-centered-offset-before",""),Ds(i,"--swiper-centered-offset-after",""));const b=t.grid&&t.grid.rows>1&&n.grid;b?n.grid.initSlides(c):n.grid&&n.grid.unsetSlides();let C;const x=t.slidesPerView==="auto"&&t.breakpoints&&Object.keys(t.breakpoints).filter(S=>typeof t.breakpoints[S].slidesPerView<"u").length>0;for(let S=0;S1&&d.push(n.virtualSize-s)}if(l&&t.loop){const S=m[0]+g;if(t.slidesPerGroup>1){const O=Math.ceil((n.virtual.slidesBefore+n.virtual.slidesAfter)/t.slidesPerGroup),M=S*t.slidesPerGroup;for(let P=0;P!t.cssMode||t.loop?!0:M!==c.length-1).forEach(O=>{O.style[S]=`${g}px`})}if(t.centeredSlides&&t.centeredSlidesBounds){let S=0;m.forEach(M=>{S+=M+(g||0)}),S-=g;const O=S>s?S-s:0;d=d.map(M=>M<=0?-h:M>O?O+v:M)}if(t.centerInsufficientSlides){let S=0;m.forEach(M=>{S+=M+(g||0)}),S-=g;const O=(t.slidesOffsetBefore||0)+(t.slidesOffsetAfter||0);if(S+O{d[k]=P-M}),p.forEach((P,k)=>{p[k]=P+M})}}if(Object.assign(n,{slides:c,snapGrid:d,slidesGrid:p,slidesSizesGrid:m}),t.centeredSlides&&t.cssMode&&!t.centeredSlidesBounds){Ds(i,"--swiper-centered-offset-before",`${-d[0]}px`),Ds(i,"--swiper-centered-offset-after",`${n.size/2-m[m.length-1]/2}px`);const S=-n.snapGrid[0],O=-n.slidesGrid[0];n.snapGrid=n.snapGrid.map(M=>M+S),n.slidesGrid=n.slidesGrid.map(M=>M+O)}if(f!==u&&n.emit("slidesLengthChange"),d.length!==_&&(n.params.watchOverflow&&n.checkOverflow(),n.emit("snapGridLengthChange")),p.length!==w&&n.emit("slidesGridLengthChange"),t.watchSlidesProgress&&n.updateSlidesOffset(),n.emit("slidesUpdated"),!l&&!t.cssMode&&(t.effect==="slide"||t.effect==="fade")){const S=`${t.containerModifierClass}backface-hidden`,O=n.el.classList.contains(S);f<=t.maxBackfaceHiddenSlides?O||n.el.classList.add(S):O&&n.el.classList.remove(S)}}function Yd(n){const e=this,t=[],i=e.virtual&&e.params.virtual.enabled;let r=0,s;typeof n=="number"?e.setTransition(n):n===!0&&e.setTransition(e.params.speed);const a=o=>i?e.slides[e.getSlideIndexByData(o)]:e.slides[o];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(o=>{t.push(o)});else for(s=0;se.slides.length&&!i)break;t.push(a(o))}else t.push(a(e.activeIndex));for(s=0;sr?o:r}(r||r===0)&&(e.wrapperEl.style.height=`${r}px`)}function Gd(){const n=this,e=n.slides,t=n.isElement?n.isHorizontal()?n.wrapperEl.offsetLeft:n.wrapperEl.offsetTop:0;for(let i=0;i{e&&!n.classList.contains(t)?n.classList.add(t):!e&&n.classList.contains(t)&&n.classList.remove(t)};function Hd(n){n===void 0&&(n=this&&this.translate||0);const e=this,t=e.params,{slides:i,rtlTranslate:r,snapGrid:s}=e;if(i.length===0)return;typeof i[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let a=-n;r&&(a=n),e.visibleSlidesIndexes=[],e.visibleSlides=[];let o=t.spaceBetween;typeof o=="string"&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*e.size:typeof o=="string"&&(o=parseFloat(o));for(let l=0;l=0&&p<=e.size-e.slidesSizesGrid[l],v=p>=0&&p1&&m<=e.size||p<=0&&m>=e.size;v&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(l)),Du(u,v,t.slideVisibleClass),Du(u,h,t.slideFullyVisibleClass),u.progress=r?-f:f,u.originalProgress=r?-d:d}}function Vd(n){const e=this;if(typeof n>"u"){const c=e.rtlTranslate?-1:1;n=e&&e.translate&&e.translate*c||0}const t=e.params,i=e.maxTranslate()-e.minTranslate();let{progress:r,isBeginning:s,isEnd:a,progressLoop:o}=e;const l=s,u=a;if(i===0)r=0,s=!0,a=!0;else{r=(n-e.minTranslate())/i;const c=Math.abs(n-e.minTranslate())<1,f=Math.abs(n-e.maxTranslate())<1;s=c||r<=0,a=f||r>=1,c&&(r=0),f&&(r=1)}if(t.loop){const c=e.getSlideIndexByData(0),f=e.getSlideIndexByData(e.slides.length-1),d=e.slidesGrid[c],p=e.slidesGrid[f],m=e.slidesGrid[e.slidesGrid.length-1],h=Math.abs(n);h>=d?o=(h-d)/m:o=(h+m-p)/m,o>1&&(o-=1)}Object.assign(e,{progress:r,progressLoop:o,isBeginning:s,isEnd:a}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&e.updateSlidesProgress(n),s&&!l&&e.emit("reachBeginning toEdge"),a&&!u&&e.emit("reachEnd toEdge"),(l&&!s||u&&!a)&&e.emit("fromEdge"),e.emit("progress",r)}const Va=(n,e,t)=>{e&&!n.classList.contains(t)?n.classList.add(t):!e&&n.classList.contains(t)&&n.classList.remove(t)};function Xd(){const n=this,{slides:e,params:t,slidesEl:i,activeIndex:r}=n,s=n.virtual&&t.virtual.enabled,a=n.grid&&t.grid&&t.grid.rows>1,o=f=>Xe(i,`.${t.slideClass}${f}, swiper-slide${f}`)[0];let l,u,c;if(s)if(t.loop){let f=r-n.virtual.slidesBefore;f<0&&(f=n.virtual.slides.length+f),f>=n.virtual.slides.length&&(f-=n.virtual.slides.length),l=o(`[data-swiper-slide-index="${f}"]`)}else l=o(`[data-swiper-slide-index="${r}"]`);else a?(l=e.filter(f=>f.column===r)[0],c=e.filter(f=>f.column===r+1)[0],u=e.filter(f=>f.column===r-1)[0]):l=e[r];l&&(a||(c=Fd(l,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!c&&(c=e[0]),u=Pd(l,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!u===0&&(u=e[e.length-1]))),e.forEach(f=>{Va(f,f===l,t.slideActiveClass),Va(f,f===c,t.slideNextClass),Va(f,f===u,t.slidePrevClass)}),n.emitSlidesClasses()}const wn=(n,e)=>{if(!n||n.destroyed||!n.params)return;const t=()=>n.isElement?"swiper-slide":`.${n.params.slideClass}`,i=e.closest(t());if(i){let r=i.querySelector(`.${n.params.lazyPreloaderClass}`);!r&&n.isElement&&(i.shadowRoot?r=i.shadowRoot.querySelector(`.${n.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{i.shadowRoot&&(r=i.shadowRoot.querySelector(`.${n.params.lazyPreloaderClass}`),r&&r.remove())})),r&&r.remove()}},Xa=(n,e)=>{if(!n.slides[e])return;const t=n.slides[e].querySelector('[loading="lazy"]');t&&t.removeAttribute("loading")},qa=n=>{if(!n||n.destroyed||!n.params)return;let e=n.params.lazyPreloadPrevNext;const t=n.slides.length;if(!t||!e||e<0)return;e=Math.min(e,t);const i=n.params.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(n.params.slidesPerView),r=n.activeIndex;if(n.params.grid&&n.params.grid.rows>1){const a=r,o=[a-e];o.push(...Array.from({length:e}).map((l,u)=>a+i+u)),n.slides.forEach((l,u)=>{o.includes(l.column)&&Xa(n,u)});return}const s=r+i-1;if(n.params.rewind||n.params.loop)for(let a=r-e;a<=s+e;a+=1){const o=(a%t+t)%t;(os)&&Xa(n,o)}else for(let a=Math.max(r-e,0);a<=Math.min(s+e,t-1);a+=1)a!==r&&(a>s||a=e[s]&&i=e[s]&&i=e[s]&&(r=s);return t.normalizeSlideIndex&&(r<0||typeof r>"u")&&(r=0),r}function Wd(n){const e=this,t=e.rtlTranslate?e.translate:-e.translate,{snapGrid:i,params:r,activeIndex:s,realIndex:a,snapIndex:o}=e;let l=n,u;const c=p=>{let m=p-e.virtual.slidesBefore;return m<0&&(m=e.virtual.slides.length+m),m>=e.virtual.slides.length&&(m-=e.virtual.slides.length),m};if(typeof l>"u"&&(l=qd(e)),i.indexOf(t)>=0)u=i.indexOf(t);else{const p=Math.min(r.slidesPerGroupSkip,l);u=p+Math.floor((l-p)/r.slidesPerGroup)}if(u>=i.length&&(u=i.length-1),l===s&&!e.params.loop){u!==o&&(e.snapIndex=u,e.emit("snapIndexChange"));return}if(l===s&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=c(l);return}const f=e.grid&&r.grid&&r.grid.rows>1;let d;if(e.virtual&&r.virtual.enabled&&r.loop)d=c(l);else if(f){const p=e.slides.filter(h=>h.column===l)[0];let m=parseInt(p.getAttribute("data-swiper-slide-index"),10);Number.isNaN(m)&&(m=Math.max(e.slides.indexOf(p),0)),d=Math.floor(m/r.grid.rows)}else if(e.slides[l]){const p=e.slides[l].getAttribute("data-swiper-slide-index");p?d=parseInt(p,10):d=l}else d=l;Object.assign(e,{previousSnapIndex:o,snapIndex:u,previousRealIndex:a,realIndex:d,previousIndex:s,activeIndex:l}),e.initialized&&qa(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(a!==d&&e.emit("realIndexChange"),e.emit("slideChange"))}function Ud(n,e){const t=this,i=t.params;let r=n.closest(`.${i.slideClass}, swiper-slide`);!r&&t.isElement&&e&&e.length>1&&e.includes(n)&&[...e.slice(e.indexOf(n)+1,e.length)].forEach(o=>{!r&&o.matches&&o.matches(`.${i.slideClass}, swiper-slide`)&&(r=o)});let s=!1,a;if(r){for(let o=0;ol?c=l:i&&na?o="next":s"u"&&(e=s.params.speed);const h=Math.min(s.params.slidesPerGroupSkip,a);let v=h+Math.floor((a-h)/s.params.slidesPerGroup);v>=l.length&&(v=l.length-1);const _=-l[v];if(o.normalizeSlideIndex)for(let D=0;D=b&&E=b&&E=b&&(a=D)}if(s.initialized&&a!==f&&(!s.allowSlideNext&&(d?_>s.translate&&_>s.minTranslate():_s.translate&&_>s.maxTranslate()&&(f||0)!==a))return!1;a!==(c||0)&&t&&s.emit("beforeSlideChangeStart"),s.updateProgress(_);let w;a>f?w="next":a0?(s._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[D?"scrollLeft":"scrollTop"]=E})):p[D?"scrollLeft":"scrollTop"]=E,g&&requestAnimationFrame(()=>{s.wrapperEl.style.scrollSnapType="",s._immediateVirtual=!1});else{if(!s.support.smoothScroll)return wu({swiper:s,targetPosition:E,side:D?"left":"top"}),!0;p.scrollTo({[D?"left":"top"]:E,behavior:"smooth"})}return!0}return s.setTransition(e),s.setTranslate(_),s.updateActiveIndex(a),s.updateSlidesClasses(),s.emit("beforeTransitionStart",e,i),s.transitionStart(t,w),e===0?s.transitionEnd(t,w):s.animating||(s.animating=!0,s.onSlideToWrapperTransitionEnd||(s.onSlideToWrapperTransitionEnd=function(E){!s||s.destroyed||E.target===this&&(s.wrapperEl.removeEventListener("transitionend",s.onSlideToWrapperTransitionEnd),s.onSlideToWrapperTransitionEnd=null,delete s.onSlideToWrapperTransitionEnd,s.transitionEnd(t,w))}),s.wrapperEl.addEventListener("transitionend",s.onSlideToWrapperTransitionEnd)),!0}function lf(n,e,t,i){n===void 0&&(n=0),t===void 0&&(t=!0),typeof n=="string"&&(n=parseInt(n,10));const r=this;if(r.destroyed)return;typeof e>"u"&&(e=r.params.speed);const s=r.grid&&r.params.grid&&r.params.grid.rows>1;let a=n;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)a=a+r.virtual.slidesBefore;else{let o;if(s){const d=a*r.params.grid.rows;o=r.slides.filter(p=>p.getAttribute("data-swiper-slide-index")*1===d)[0].column}else o=r.getSlideIndexByData(a);const l=s?Math.ceil(r.slides.length/r.params.grid.rows):r.slides.length,{centeredSlides:u}=r.params;let c=r.params.slidesPerView;c==="auto"?c=r.slidesPerViewDynamic():(c=Math.ceil(parseFloat(r.params.slidesPerView,10)),u&&c%2===0&&(c=c+1));let f=l-op.getAttribute("data-swiper-slide-index")*1===d)[0].column}else a=r.getSlideIndexByData(a)}return requestAnimationFrame(()=>{r.slideTo(a,e,t,i)}),r}function uf(n,e,t){e===void 0&&(e=!0);const i=this,{enabled:r,params:s,animating:a}=i;if(!r||i.destroyed)return i;typeof n>"u"&&(n=i.params.speed);let o=s.slidesPerGroup;s.slidesPerView==="auto"&&s.slidesPerGroup===1&&s.slidesPerGroupAuto&&(o=Math.max(i.slidesPerViewDynamic("current",!0),1));const l=i.activeIndex{i.slideTo(i.activeIndex+l,n,e,t)}),!0}return s.rewind&&i.isEnd?i.slideTo(0,n,e,t):i.slideTo(i.activeIndex+l,n,e,t)}function cf(n,e,t){e===void 0&&(e=!0);const i=this,{params:r,snapGrid:s,slidesGrid:a,rtlTranslate:o,enabled:l,animating:u}=i;if(!l||i.destroyed)return i;typeof n>"u"&&(n=i.params.speed);const c=i.virtual&&r.virtual.enabled;if(r.loop){if(u&&!c&&r.loopPreventsSliding)return!1;i.loopFix({direction:"prev"}),i._clientLeft=i.wrapperEl.clientLeft}const f=o?i.translate:-i.translate;function d(_){return _<0?-Math.floor(Math.abs(_)):Math.floor(_)}const p=d(f),m=s.map(_=>d(_));let h=s[m.indexOf(p)-1];if(typeof h>"u"&&r.cssMode){let _;s.forEach((w,g)=>{p>=w&&(_=g)}),typeof _<"u"&&(h=s[_>0?_-1:_])}let v=0;if(typeof h<"u"&&(v=a.indexOf(h),v<0&&(v=i.activeIndex-1),r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(v=v-i.slidesPerViewDynamic("previous",!0)+1,v=Math.max(v,0))),r.rewind&&i.isBeginning){const _=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(_,n,e,t)}else if(r.loop&&i.activeIndex===0&&r.cssMode)return requestAnimationFrame(()=>{i.slideTo(v,n,e,t)}),!0;return i.slideTo(v,n,e,t)}function df(n,e,t){e===void 0&&(e=!0);const i=this;if(!i.destroyed)return typeof n>"u"&&(n=i.params.speed),i.slideTo(i.activeIndex,n,e,t)}function ff(n,e,t,i){e===void 0&&(e=!0),i===void 0&&(i=.5);const r=this;if(r.destroyed)return;typeof n>"u"&&(n=r.params.speed);let s=r.activeIndex;const a=Math.min(r.params.slidesPerGroupSkip,s),o=a+Math.floor((s-a)/r.params.slidesPerGroup),l=r.rtlTranslate?r.translate:-r.translate;if(l>=r.snapGrid[o]){const u=r.snapGrid[o],c=r.snapGrid[o+1];l-u>(c-u)*i&&(s+=r.params.slidesPerGroup)}else{const u=r.snapGrid[o-1],c=r.snapGrid[o];l-u<=(c-u)*i&&(s-=r.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,r.slidesGrid.length-1),r.slideTo(s,n,e,t)}function pf(){const n=this;if(n.destroyed)return;const{params:e,slidesEl:t}=n,i=e.slidesPerView==="auto"?n.slidesPerViewDynamic():e.slidesPerView;let r=n.clickedIndex,s;const a=n.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(n.animating)return;s=parseInt(n.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?rn.slides.length-n.loopedSlides+i/2?(n.loopFix(),r=n.getSlideIndex(Xe(t,`${a}[data-swiper-slide-index="${s}"]`)[0]),lr(()=>{n.slideTo(r)})):n.slideTo(r):r>n.slides.length-i?(n.loopFix(),r=n.getSlideIndex(Xe(t,`${a}[data-swiper-slide-index="${s}"]`)[0]),lr(()=>{n.slideTo(r)})):n.slideTo(r)}else n.slideTo(r)}var hf={slideTo:of,slideToLoop:lf,slideNext:uf,slidePrev:cf,slideReset:df,slideToClosest:ff,slideToClickedSlide:pf};function mf(n){const e=this,{params:t,slidesEl:i}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;const r=()=>{Xe(i,`.${t.slideClass}, swiper-slide`).forEach((f,d)=>{f.setAttribute("data-swiper-slide-index",d)})},s=e.grid&&t.grid&&t.grid.rows>1,a=t.slidesPerGroup*(s?t.grid.rows:1),o=e.slides.length%a!==0,l=s&&e.slides.length%t.grid.rows!==0,u=c=>{for(let f=0;f1;u.length"u"?s=l.getSlideIndex(u.filter(P=>P.classList.contains(p.slideActiveClass))[0]):D=s;const E=i==="next"||!i,b=i==="prev"||!i;let C=0,x=0;const S=w?Math.ceil(u.length/p.grid.rows):u.length,M=(w?u[s].column:s)+(m&&typeof r>"u"?-h/2+.5:0);if(M<_){C=Math.max(_-M,v);for(let P=0;P<_-M;P+=1){const k=P-Math.floor(P/S)*S;if(w){const z=S-k-1;for(let I=u.length-1;I>=0;I-=1)u[I].column===z&&g.push(I)}else g.push(S-k-1)}}else if(M+h>S-_){x=Math.max(M-(S-_*2),v);for(let P=0;P{z.column===k&&y.push(I)}):y.push(k)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),b&&g.forEach(P=>{u[P].swiperLoopMoveDOM=!0,d.prepend(u[P]),u[P].swiperLoopMoveDOM=!1}),E&&y.forEach(P=>{u[P].swiperLoopMoveDOM=!0,d.append(u[P]),u[P].swiperLoopMoveDOM=!1}),l.recalcSlides(),p.slidesPerView==="auto"?l.updateSlides():w&&(g.length>0&&b||y.length>0&&E)&&l.slides.forEach((P,k)=>{l.grid.updateSlide(k,P,l.slides)}),p.watchSlidesProgress&&l.updateSlidesOffset(),t){if(g.length>0&&b){if(typeof e>"u"){const P=l.slidesGrid[D],z=l.slidesGrid[D+C]-P;o?l.setTranslate(l.translate-z):(l.slideTo(D+Math.ceil(C),0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-z,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-z))}else if(r){const P=w?g.length/p.grid.rows:g.length;l.slideTo(l.activeIndex+P,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(y.length>0&&E)if(typeof e>"u"){const P=l.slidesGrid[D],z=l.slidesGrid[D-x]-P;o?l.setTranslate(l.translate-z):(l.slideTo(D-x,0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-z,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-z))}else{const P=w?y.length/p.grid.rows:y.length;l.slideTo(l.activeIndex-P,0,!1,!0)}}if(l.allowSlidePrev=c,l.allowSlideNext=f,l.controller&&l.controller.control&&!a){const P={slideRealIndex:e,direction:i,setTranslate:r,activeSlideIndex:s,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(k=>{!k.destroyed&&k.params.loop&&k.loopFix({...P,slideTo:k.params.slidesPerView===p.slidesPerView?t:!1})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...P,slideTo:l.controller.control.params.slidesPerView===p.slidesPerView?t:!1})}l.emit("loopFix")}function vf(){const n=this,{params:e,slidesEl:t}=n;if(!e.loop||n.virtual&&n.params.virtual.enabled)return;n.recalcSlides();const i=[];n.slides.forEach(r=>{const s=typeof r.swiperSlideIndex>"u"?r.getAttribute("data-swiper-slide-index")*1:r.swiperSlideIndex;i[s]=r}),n.slides.forEach(r=>{r.removeAttribute("data-swiper-slide-index")}),i.forEach(r=>{t.append(r)}),n.recalcSlides(),n.slideTo(n.realIndex,0)}var wf={loopCreate:mf,loopFix:gf,loopDestroy:vf};function _f(n){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const t=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),t.style.cursor="move",t.style.cursor=n?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function yf(){const n=this;n.params.watchOverflow&&n.isLocked||n.params.cssMode||(n.isElement&&(n.__preventObserver__=!0),n[n.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",n.isElement&&requestAnimationFrame(()=>{n.__preventObserver__=!1}))}var Df={setGrabCursor:_f,unsetGrabCursor:yf};function bf(n,e){e===void 0&&(e=this);function t(i){if(!i||i===Ve()||i===xe())return null;i.assignedSlot&&(i=i.assignedSlot);const r=i.closest(n);return!r&&!i.getRootNode?null:r||t(i.getRootNode().host)}return t(e)}function xu(n,e,t){const i=xe(),{params:r}=n,s=r.edgeSwipeDetection,a=r.edgeSwipeThreshold;return s&&(t<=a||t>=i.innerWidth-a)?s==="prevent"?(e.preventDefault(),!0):!1:!0}function xf(n){const e=this,t=Ve();let i=n;i.originalEvent&&(i=i.originalEvent);const r=e.touchEventsData;if(i.type==="pointerdown"){if(r.pointerId!==null&&r.pointerId!==i.pointerId)return;r.pointerId=i.pointerId}else i.type==="touchstart"&&i.targetTouches.length===1&&(r.touchId=i.targetTouches[0].identifier);if(i.type==="touchstart"){xu(e,i,i.targetTouches[0].pageX);return}const{params:s,touches:a,enabled:o}=e;if(!o||!s.simulateTouch&&i.pointerType==="mouse"||e.animating&&s.preventInteractionOnTransition)return;!e.animating&&s.cssMode&&s.loop&&e.loopFix();let l=i.target;if(s.touchEventsTarget==="wrapper"&&!Md(l,e.wrapperEl)||"which"in i&&i.which===3||"button"in i&&i.button>0||r.isTouched&&r.isMoved)return;const u=!!s.noSwipingClass&&s.noSwipingClass!=="",c=i.composedPath?i.composedPath():i.path;u&&i.target&&i.target.shadowRoot&&c&&(l=c[0]);const f=s.noSwipingSelector?s.noSwipingSelector:`.${s.noSwipingClass}`,d=!!(i.target&&i.target.shadowRoot);if(s.noSwiping&&(d?bf(f,l):l.closest(f))){e.allowClick=!0;return}if(s.swipeHandler&&!l.closest(s.swipeHandler))return;a.currentX=i.pageX,a.currentY=i.pageY;const p=a.currentX,m=a.currentY;if(!xu(e,i,p))return;Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=p,a.startY=m,r.touchStartTime=Ht(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,s.threshold>0&&(r.allowThresholdMove=!1);let h=!0;l.matches(r.focusableElements)&&(h=!1,l.nodeName==="SELECT"&&(r.isTouched=!1)),t.activeElement&&t.activeElement.matches(r.focusableElements)&&t.activeElement!==l&&(i.pointerType==="mouse"||i.pointerType!=="mouse"&&!l.matches(r.focusableElements))&&t.activeElement.blur();const v=h&&e.allowTouchMove&&s.touchStartPreventDefault;(s.touchStartForcePreventDefault||v)&&!l.isContentEditable&&i.preventDefault(),s.freeMode&&s.freeMode.enabled&&e.freeMode&&e.animating&&!s.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",i)}function Ef(n){const e=Ve(),t=this,i=t.touchEventsData,{params:r,touches:s,rtlTranslate:a,enabled:o}=t;if(!o||!r.simulateTouch&&n.pointerType==="mouse")return;let l=n;if(l.originalEvent&&(l=l.originalEvent),l.type==="pointermove"&&(i.touchId!==null||l.pointerId!==i.pointerId))return;let u;if(l.type==="touchmove"){if(u=[...l.changedTouches].filter(E=>E.identifier===i.touchId)[0],!u||u.identifier!==i.touchId)return}else u=l;if(!i.isTouched){i.startMoving&&i.isScrolling&&t.emit("touchMoveOpposite",l);return}const c=u.pageX,f=u.pageY;if(l.preventedByNestedSwiper){s.startX=c,s.startY=f;return}if(!t.allowTouchMove){l.target.matches(i.focusableElements)||(t.allowClick=!1),i.isTouched&&(Object.assign(s,{startX:c,startY:f,currentX:c,currentY:f}),i.touchStartTime=Ht());return}if(r.touchReleaseOnEdges&&!r.loop){if(t.isVertical()){if(fs.startY&&t.translate>=t.minTranslate()){i.isTouched=!1,i.isMoved=!1;return}}else if(cs.startX&&t.translate>=t.minTranslate())return}if(e.activeElement&&e.activeElement.matches(i.focusableElements)&&e.activeElement!==l.target&&l.pointerType!=="mouse"&&e.activeElement.blur(),e.activeElement&&l.target===e.activeElement&&l.target.matches(i.focusableElements)){i.isMoved=!0,t.allowClick=!1;return}i.allowTouchCallbacks&&t.emit("touchMove",l),s.previousX=s.currentX,s.previousY=s.currentY,s.currentX=c,s.currentY=f;const d=s.currentX-s.startX,p=s.currentY-s.startY;if(t.params.threshold&&Math.sqrt(d**2+p**2)"u"){let E;t.isHorizontal()&&s.currentY===s.startY||t.isVertical()&&s.currentX===s.startX?i.isScrolling=!1:d*d+p*p>=25&&(E=Math.atan2(Math.abs(p),Math.abs(d))*180/Math.PI,i.isScrolling=t.isHorizontal()?E>r.touchAngle:90-E>r.touchAngle)}if(i.isScrolling&&t.emit("touchMoveOpposite",l),typeof i.startMoving>"u"&&(s.currentX!==s.startX||s.currentY!==s.startY)&&(i.startMoving=!0),i.isScrolling||l.type==="touchmove"&&i.preventTouchMoveFromPointerMove){i.isTouched=!1;return}if(!i.startMoving)return;t.allowClick=!1,!r.cssMode&&l.cancelable&&l.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&l.stopPropagation();let m=t.isHorizontal()?d:p,h=t.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;r.oneWayMovement&&(m=Math.abs(m)*(a?1:-1),h=Math.abs(h)*(a?1:-1)),s.diff=m,m*=r.touchRatio,a&&(m=-m,h=-h);const v=t.touchesDirection;t.swipeDirection=m>0?"prev":"next",t.touchesDirection=h>0?"prev":"next";const _=t.params.loop&&!r.cssMode,w=t.touchesDirection==="next"&&t.allowSlideNext||t.touchesDirection==="prev"&&t.allowSlidePrev;if(!i.isMoved){if(_&&w&&t.loopFix({direction:t.swipeDirection}),i.startTranslate=t.getTranslate(),t.setTransition(0),t.animating){const E=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});t.wrapperEl.dispatchEvent(E)}i.allowMomentumBounce=!1,r.grabCursor&&(t.allowSlideNext===!0||t.allowSlidePrev===!0)&&t.setGrabCursor(!0),t.emit("sliderFirstMove",l)}let g;if(new Date().getTime(),i.isMoved&&i.allowThresholdMove&&v!==t.touchesDirection&&_&&w&&Math.abs(m)>=1){Object.assign(s,{startX:c,startY:f,currentX:c,currentY:f,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,i.startTranslate=i.currentTranslate;return}t.emit("sliderMove",l),i.isMoved=!0,i.currentTranslate=m+i.startTranslate;let y=!0,D=r.resistanceRatio;if(r.touchReleaseOnEdges&&(D=0),m>0?(_&&w&&!g&&i.allowThresholdMove&&i.currentTranslate>(r.centeredSlides?t.minTranslate()-t.slidesSizesGrid[t.activeIndex+1]-(r.slidesPerView!=="auto"&&t.slides.length-r.slidesPerView>=2?t.slidesSizesGrid[t.activeIndex+1]+t.params.spaceBetween:0)-t.params.spaceBetween:t.minTranslate())&&t.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>t.minTranslate()&&(y=!1,r.resistance&&(i.currentTranslate=t.minTranslate()-1+(-t.minTranslate()+i.startTranslate+m)**D))):m<0&&(_&&w&&!g&&i.allowThresholdMove&&i.currentTranslate<(r.centeredSlides?t.maxTranslate()+t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween+(r.slidesPerView!=="auto"&&t.slides.length-r.slidesPerView>=2?t.slidesSizesGrid[t.slidesSizesGrid.length-1]+t.params.spaceBetween:0):t.maxTranslate())&&t.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:t.slides.length-(r.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),i.currentTranslatei.startTranslate&&(i.currentTranslate=i.startTranslate),!t.allowSlidePrev&&!t.allowSlideNext&&(i.currentTranslate=i.startTranslate),r.threshold>0)if(Math.abs(m)>r.threshold||i.allowThresholdMove){if(!i.allowThresholdMove){i.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,i.currentTranslate=i.startTranslate,s.diff=t.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY;return}}else{i.currentTranslate=i.startTranslate;return}!r.followFinger||r.cssMode||((r.freeMode&&r.freeMode.enabled&&t.freeMode||r.watchSlidesProgress)&&(t.updateActiveIndex(),t.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&t.freeMode&&t.freeMode.onTouchMove(),t.updateProgress(i.currentTranslate),t.setTranslate(i.currentTranslate))}function Sf(n){const e=this,t=e.touchEventsData;let i=n;i.originalEvent&&(i=i.originalEvent);let r;if(i.type==="touchend"||i.type==="touchcancel"){if(r=[...i.changedTouches].filter(D=>D.identifier===t.touchId)[0],!r||r.identifier!==t.touchId)return}else{if(t.touchId!==null||i.pointerId!==t.pointerId)return;r=i}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(i.type)&&!(["pointercancel","contextmenu"].includes(i.type)&&(e.browser.isSafari||e.browser.isWebView)))return;t.pointerId=null,t.touchId=null;const{params:a,touches:o,rtlTranslate:l,slidesGrid:u,enabled:c}=e;if(!c||!a.simulateTouch&&i.pointerType==="mouse")return;if(t.allowTouchCallbacks&&e.emit("touchEnd",i),t.allowTouchCallbacks=!1,!t.isTouched){t.isMoved&&a.grabCursor&&e.setGrabCursor(!1),t.isMoved=!1,t.startMoving=!1;return}a.grabCursor&&t.isMoved&&t.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const f=Ht(),d=f-t.touchStartTime;if(e.allowClick){const D=i.path||i.composedPath&&i.composedPath();e.updateClickedSlide(D&&D[0]||i.target,D),e.emit("tap click",i),d<300&&f-t.lastClickTime<300&&e.emit("doubleTap doubleClick",i)}if(t.lastClickTime=Ht(),lr(()=>{e.destroyed||(e.allowClick=!0)}),!t.isTouched||!t.isMoved||!e.swipeDirection||o.diff===0&&!t.loopSwapReset||t.currentTranslate===t.startTranslate&&!t.loopSwapReset){t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;return}t.isTouched=!1,t.isMoved=!1,t.startMoving=!1;let p;if(a.followFinger?p=l?e.translate:-e.translate:p=-t.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:p});return}const m=p>=-e.maxTranslate()&&!e.params.loop;let h=0,v=e.slidesSizesGrid[0];for(let D=0;D=u[D]&&p=u[D])&&(h=D,v=u[u.length-1]-u[u.length-2])}let _=null,w=null;a.rewind&&(e.isBeginning?w=a.virtual&&a.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(_=0));const g=(p-u[h])/v,y=ha.longSwipesMs){if(!a.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(g>=a.longSwipesRatio?e.slideTo(a.rewind&&e.isEnd?_:h+y):e.slideTo(h)),e.swipeDirection==="prev"&&(g>1-a.longSwipesRatio?e.slideTo(h+y):w!==null&&g<0&&Math.abs(g)>a.longSwipesRatio?e.slideTo(w):e.slideTo(h))}else{if(!a.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(i.target===e.navigation.nextEl||i.target===e.navigation.prevEl)?i.target===e.navigation.nextEl?e.slideTo(h+y):e.slideTo(h):(e.swipeDirection==="next"&&e.slideTo(_!==null?_:h+y),e.swipeDirection==="prev"&&e.slideTo(w!==null?w:h))}}function Eu(){const n=this,{params:e,el:t}=n;if(t&&t.offsetWidth===0)return;e.breakpoints&&n.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:r,snapGrid:s}=n,a=n.virtual&&n.params.virtual.enabled;n.allowSlideNext=!0,n.allowSlidePrev=!0,n.updateSize(),n.updateSlides(),n.updateSlidesClasses();const o=a&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&n.isEnd&&!n.isBeginning&&!n.params.centeredSlides&&!o?n.slideTo(n.slides.length-1,0,!1,!0):n.params.loop&&!a?n.slideToLoop(n.realIndex,0,!1,!0):n.slideTo(n.activeIndex,0,!1,!0),n.autoplay&&n.autoplay.running&&n.autoplay.paused&&(clearTimeout(n.autoplay.resizeTimeout),n.autoplay.resizeTimeout=setTimeout(()=>{n.autoplay&&n.autoplay.running&&n.autoplay.paused&&n.autoplay.resume()},500)),n.allowSlidePrev=r,n.allowSlideNext=i,n.params.watchOverflow&&s!==n.snapGrid&&n.checkOverflow()}function Tf(n){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&n.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(n.stopPropagation(),n.stopImmediatePropagation())))}function Cf(){const n=this,{wrapperEl:e,rtlTranslate:t,enabled:i}=n;if(!i)return;n.previousTranslate=n.translate,n.isHorizontal()?n.translate=-e.scrollLeft:n.translate=-e.scrollTop,n.translate===0&&(n.translate=0),n.updateActiveIndex(),n.updateSlidesClasses();let r;const s=n.maxTranslate()-n.minTranslate();s===0?r=0:r=(n.translate-n.minTranslate())/s,r!==n.progress&&n.updateProgress(t?-n.translate:n.translate),n.emit("setTranslate",n.translate,!1)}function Af(n){const e=this;wn(e,n.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function Mf(){const n=this;n.documentTouchHandlerProceeded||(n.documentTouchHandlerProceeded=!0,n.params.touchReleaseOnEdges&&(n.el.style.touchAction="auto"))}const Su=(n,e)=>{const t=Ve(),{params:i,el:r,wrapperEl:s,device:a}=n,o=!!i.nested,l=e==="on"?"addEventListener":"removeEventListener",u=e;!r||typeof r=="string"||(t[l]("touchstart",n.onDocumentTouchStart,{passive:!1,capture:o}),r[l]("touchstart",n.onTouchStart,{passive:!1}),r[l]("pointerdown",n.onTouchStart,{passive:!1}),t[l]("touchmove",n.onTouchMove,{passive:!1,capture:o}),t[l]("pointermove",n.onTouchMove,{passive:!1,capture:o}),t[l]("touchend",n.onTouchEnd,{passive:!0}),t[l]("pointerup",n.onTouchEnd,{passive:!0}),t[l]("pointercancel",n.onTouchEnd,{passive:!0}),t[l]("touchcancel",n.onTouchEnd,{passive:!0}),t[l]("pointerout",n.onTouchEnd,{passive:!0}),t[l]("pointerleave",n.onTouchEnd,{passive:!0}),t[l]("contextmenu",n.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&r[l]("click",n.onClick,!0),i.cssMode&&s[l]("scroll",n.onScroll),i.updateOnWindowResize?n[u](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",Eu,!0):n[u]("observerUpdate",Eu,!0),r[l]("load",n.onLoad,{capture:!0}))};function Pf(){const n=this,{params:e}=n;n.onTouchStart=xf.bind(n),n.onTouchMove=Ef.bind(n),n.onTouchEnd=Sf.bind(n),n.onDocumentTouchStart=Mf.bind(n),e.cssMode&&(n.onScroll=Cf.bind(n)),n.onClick=Tf.bind(n),n.onLoad=Af.bind(n),Su(n,"on")}function Ff(){Su(this,"off")}var kf={attachEvents:Pf,detachEvents:Ff};const Tu=(n,e)=>n.grid&&e.grid&&e.grid.rows>1;function Lf(){const n=this,{realIndex:e,initialized:t,params:i,el:r}=n,s=i.breakpoints;if(!s||s&&Object.keys(s).length===0)return;const a=n.getBreakpoint(s,n.params.breakpointsBase,n.el);if(!a||n.currentBreakpoint===a)return;const l=(a in s?s[a]:void 0)||n.originalParams,u=Tu(n,i),c=Tu(n,l),f=n.params.grabCursor,d=l.grabCursor,p=i.enabled;u&&!c?(r.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),n.emitContainerClasses()):!u&&c&&(r.classList.add(`${i.containerModifierClass}grid`),(l.grid.fill&&l.grid.fill==="column"||!l.grid.fill&&i.grid.fill==="column")&&r.classList.add(`${i.containerModifierClass}grid-column`),n.emitContainerClasses()),f&&!d?n.unsetGrabCursor():!f&&d&&n.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(g=>{if(typeof l[g]>"u")return;const y=i[g]&&i[g].enabled,D=l[g]&&l[g].enabled;y&&!D&&n[g].disable(),!y&&D&&n[g].enable()});const m=l.direction&&l.direction!==i.direction,h=i.loop&&(l.slidesPerView!==i.slidesPerView||m),v=i.loop;m&&t&&n.changeDirection(),Ct(n.params,l);const _=n.params.enabled,w=n.params.loop;Object.assign(n,{allowTouchMove:n.params.allowTouchMove,allowSlideNext:n.params.allowSlideNext,allowSlidePrev:n.params.allowSlidePrev}),p&&!_?n.disable():!p&&_&&n.enable(),n.currentBreakpoint=a,n.emit("_beforeBreakpoint",l),t&&(h?(n.loopDestroy(),n.loopCreate(e),n.updateSlides()):!v&&w?(n.loopCreate(e),n.updateSlides()):v&&!w&&n.loopDestroy()),n.emit("breakpoint",l)}function Of(n,e,t){if(e===void 0&&(e="window"),!n||e==="container"&&!t)return;let i=!1;const r=xe(),s=e==="window"?r.innerHeight:t.clientHeight,a=Object.keys(n).map(o=>{if(typeof o=="string"&&o.indexOf("@")===0){const l=parseFloat(o.substr(1));return{value:s*l,point:o}}return{value:o,point:o}});a.sort((o,l)=>parseInt(o.value,10)-parseInt(l.value,10));for(let o=0;o{typeof i=="object"?Object.keys(i).forEach(r=>{i[r]&&t.push(e+r)}):typeof i=="string"&&t.push(e+i)}),t}function Bf(){const n=this,{classNames:e,params:t,rtl:i,el:r,device:s}=n,a=If(["initialized",t.direction,{"free-mode":n.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:i},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&t.grid.fill==="column"},{android:s.android},{ios:s.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...a),r.classList.add(...e),n.emitContainerClasses()}function Rf(){const n=this,{el:e,classNames:t}=n;!e||typeof e=="string"||(e.classList.remove(...t),n.emitContainerClasses())}var $f={addClasses:Bf,removeClasses:Rf};function Nf(){const n=this,{isLocked:e,params:t}=n,{slidesOffsetBefore:i}=t;if(i){const r=n.slides.length-1,s=n.slidesGrid[r]+n.slidesSizesGrid[r]+i*2;n.isLocked=n.size>s}else n.isLocked=n.snapGrid.length===1;t.allowSlideNext===!0&&(n.allowSlideNext=!n.isLocked),t.allowSlidePrev===!0&&(n.allowSlidePrev=!n.isLocked),e&&e!==n.isLocked&&(n.isEnd=!1),e!==n.isLocked&&n.emit(n.isLocked?"lock":"unlock")}var Yf={checkOverflow:Nf},Cu={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function Gf(n,e){return function(i){i===void 0&&(i={});const r=Object.keys(i)[0],s=i[r];if(typeof s!="object"||s===null){Ct(e,i);return}if(n[r]===!0&&(n[r]={enabled:!0}),r==="navigation"&&n[r]&&n[r].enabled&&!n[r].prevEl&&!n[r].nextEl&&(n[r].auto=!0),["pagination","scrollbar"].indexOf(r)>=0&&n[r]&&n[r].enabled&&!n[r].el&&(n[r].auto=!0),!(r in n&&"enabled"in s)){Ct(e,i);return}typeof n[r]=="object"&&!("enabled"in n[r])&&(n[r].enabled=!0),n[r]||(n[r]={enabled:!1}),Ct(e,i)}}const Wa={eventsEmitter:Rd,update:jd,translate:tf,transition:af,slide:hf,loop:wf,grabCursor:Df,events:kf,breakpoints:zf,checkOverflow:Yf,classes:$f},Ua={};class tt{constructor(){let e,t;for(var i=arguments.length,r=new Array(i),s=0;s1){const c=[];return a.querySelectorAll(t.el).forEach(f=>{const d=Ct({},t,{el:f});c.push(new tt(d))}),c}const o=this;o.__swiper__=!0,o.support=_u(),o.device=yu({userAgent:t.userAgent}),o.browser=zd(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],t.modules&&Array.isArray(t.modules)&&o.modules.push(...t.modules);const l={};o.modules.forEach(c=>{c({params:t,swiper:o,extendParams:Gf(t,l),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})});const u=Ct({},Cu,l);return o.params=Ct({},u,Ua,t),o.originalParams=Ct({},o.params),o.passedParams=Ct({},t),o.params&&o.params.on&&Object.keys(o.params.on).forEach(c=>{o.on(c,o.params.on[c])}),o.params&&o.params.onAny&&o.onAny(o.params.onAny),Object.assign(o,{enabled:o.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return o.params.direction==="horizontal"},isVertical(){return o.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:o.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:i}=this,r=Xe(t,`.${i.slideClass}, swiper-slide`),s=bs(r[0]);return bs(e)-s}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(t=>t.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:t,params:i}=e;e.slides=Xe(t,`.${i.slideClass}, swiper-slide`)}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 i=this;e=Math.min(Math.max(e,0),1);const r=i.minTranslate(),a=(i.maxTranslate()-r)*e+r;i.translateTo(a,typeof t>"u"?0:t),i.updateActiveIndex(),i.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(i=>i.indexOf("swiper")===0||i.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(i=>i.indexOf("swiper-slide")===0||i.indexOf(t.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(i=>{const r=e.getSlideClasses(i);t.push({slideEl:i,classNames:r}),e.emit("_slideClass",i,r)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){e===void 0&&(e="current"),t===void 0&&(t=!1);const i=this,{params:r,slides:s,slidesGrid:a,slidesSizesGrid:o,size:l,activeIndex:u}=i;let c=1;if(typeof r.slidesPerView=="number")return r.slidesPerView;if(r.centeredSlides){let f=s[u]?Math.ceil(s[u].swiperSlideSize):0,d;for(let p=u+1;pl&&(d=!0));for(let p=u-1;p>=0;p-=1)s[p]&&!d&&(f+=s[p].swiperSlideSize,c+=1,f>l&&(d=!0))}else if(e==="current")for(let f=u+1;f=0;f-=1)a[u]-a[f]{a.complete&&wn(e,a)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function r(){const a=e.rtlTranslate?e.translate*-1:e.translate,o=Math.min(Math.max(a,e.maxTranslate()),e.minTranslate());e.setTranslate(o),e.updateActiveIndex(),e.updateSlidesClasses()}let s;if(i.freeMode&&i.freeMode.enabled&&!i.cssMode)r(),i.autoHeight&&e.updateAutoHeight();else{if((i.slidesPerView==="auto"||i.slidesPerView>1)&&e.isEnd&&!i.centeredSlides){const a=e.virtual&&i.virtual.enabled?e.virtual.slides:e.slides;s=e.slideTo(a.length-1,0,!1,!0)}else s=e.slideTo(e.activeIndex,0,!1,!0);s||r()}i.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){t===void 0&&(t=!0);const i=this,r=i.params.direction;return e||(e=r==="horizontal"?"vertical":"horizontal"),e===r||e!=="horizontal"&&e!=="vertical"||(i.el.classList.remove(`${i.params.containerModifierClass}${r}`),i.el.classList.add(`${i.params.containerModifierClass}${e}`),i.emitContainerClasses(),i.params.direction=e,i.slides.forEach(s=>{e==="vertical"?s.style.width="":s.style.height=""}),i.emit("changeDirection"),t&&i.update()),i}changeLanguageDirection(e){const t=this;t.rtl&&e==="rtl"||!t.rtl&&e==="ltr"||(t.rtl=e==="rtl",t.rtlTranslate=t.params.direction==="horizontal"&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let i=e||t.params.el;if(typeof i=="string"&&(i=document.querySelector(i)),!i)return!1;i.swiper=t,i.parentNode&&i.parentNode.host&&i.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let a=i&&i.shadowRoot&&i.shadowRoot.querySelector?i.shadowRoot.querySelector(r()):Xe(i,r())[0];return!a&&t.params.createElements&&(a=At("div",t.params.wrapperClass),i.append(a),Xe(i,`.${t.params.slideClass}`).forEach(o=>{a.append(o)})),Object.assign(t,{el:i,wrapperEl:a,slidesEl:t.isElement&&!i.parentNode.host.slideSlots?i.parentNode.host:a,hostEl:t.isElement?i.parentNode.host:i,mounted:!0,rtl:i.dir.toLowerCase()==="rtl"||Ni(i,"direction")==="rtl",rtlTranslate:t.params.direction==="horizontal"&&(i.dir.toLowerCase()==="rtl"||Ni(i,"direction")==="rtl"),wrongRTL:Ni(a,"display")==="-webkit-box"}),!0}init(e){const t=this;if(t.initialized||t.mount(e)===!1)return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();const r=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&r.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),r.forEach(s=>{s.complete?wn(t,s):s.addEventListener("load",a=>{wn(t,a.target)})}),qa(t),t.initialized=!0,qa(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){e===void 0&&(e=!0),t===void 0&&(t=!0);const i=this,{params:r,el:s,wrapperEl:a,slides:o}=i;return typeof i.params>"u"||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),r.loop&&i.loopDestroy(),t&&(i.removeClasses(),s&&typeof s!="string"&&s.removeAttribute("style"),a&&a.removeAttribute("style"),o&&o.length&&o.forEach(l=>{l.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(l=>{i.off(l)}),e!==!1&&(i.el&&typeof i.el!="string"&&(i.el.swiper=null),Td(i)),i.destroyed=!0),null}static extendDefaults(e){Ct(Ua,e)}static get extendedDefaults(){return Ua}static get defaults(){return Cu}static installModule(e){tt.prototype.__modules__||(tt.prototype.__modules__=[]);const t=tt.prototype.__modules__;typeof e=="function"&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(t=>tt.installModule(t)),tt):(tt.installModule(e),tt)}}Object.keys(Wa).forEach(n=>{Object.keys(Wa[n]).forEach(e=>{tt.prototype[e]=Wa[n][e]})}),tt.use([Id,Bd]);function Hf(n){let{swiper:e,extendParams:t,on:i,emit:r}=n;t({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let s;const a=Ve();e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const o=a.createElement("div");function l(m,h){const v=e.params.virtual;if(v.cache&&e.virtual.cache[h])return e.virtual.cache[h];let _;return v.renderSlide?(_=v.renderSlide.call(e,m,h),typeof _=="string"&&(o.innerHTML=_,_=o.children[0])):e.isElement?_=At("swiper-slide"):_=At("div",e.params.slideClass),_.setAttribute("data-swiper-slide-index",h),v.renderSlide||(_.innerHTML=m),v.cache&&(e.virtual.cache[h]=_),_}function u(m,h){const{slidesPerView:v,slidesPerGroup:_,centeredSlides:w,loop:g,initialSlide:y}=e.params;if(h&&!g&&y>0)return;const{addSlidesBefore:D,addSlidesAfter:E}=e.params.virtual,{from:b,to:C,slides:x,slidesGrid:S,offset:O}=e.virtual;e.params.cssMode||e.updateActiveIndex();const M=e.activeIndex||0;let P;e.rtlTranslate?P="right":P=e.isHorizontal()?"left":"top";let k,z;w?(k=Math.floor(v/2)+_+E,z=Math.floor(v/2)+_+D):(k=v+(_-1)+E,z=(g?v:_)+D);let I=M-z,A=M+k;g||(I=Math.max(I,0),A=Math.min(A,x.length-1));let L=(e.slidesGrid[I]||0)-(e.slidesGrid[0]||0);g&&M>=z?(I-=z,w||(L+=e.slidesGrid[0])):g&&M{N.style[P]=`${L-Math.abs(e.cssOverflowAdjustment())}px`}),e.updateProgress(),r("virtualUpdate");return}if(e.params.virtual.renderExternal){e.params.virtual.renderExternal.call(e,{offset:L,from:I,to:A,slides:function(){const U=[];for(let j=I;j<=A;j+=1)U.push(x[j]);return U}()}),e.params.virtual.renderExternalUpdate?F():r("virtualUpdate");return}const T=[],B=[],$=N=>{let U=N;return N<0?U=x.length+N:U>=x.length&&(U=U-x.length),U};if(m)e.slides.filter(N=>N.matches(`.${e.params.slideClass}, swiper-slide`)).forEach(N=>{N.remove()});else for(let N=b;N<=C;N+=1)if(NA){const U=$(N);e.slides.filter(j=>j.matches(`.${e.params.slideClass}[data-swiper-slide-index="${U}"], swiper-slide[data-swiper-slide-index="${U}"]`)).forEach(j=>{j.remove()})}const Y=g?-x.length:0,X=g?x.length*2:x.length;for(let N=Y;N=I&&N<=A){const U=$(N);typeof C>"u"||m?B.push(U):(N>C&&B.push(U),N{e.slidesEl.append(l(x[N],N))}),g)for(let N=T.length-1;N>=0;N-=1){const U=T[N];e.slidesEl.prepend(l(x[U],U))}else T.sort((N,U)=>U-N),T.forEach(N=>{e.slidesEl.prepend(l(x[N],N))});Xe(e.slidesEl,".swiper-slide, swiper-slide").forEach(N=>{N.style[P]=`${L-Math.abs(e.cssOverflowAdjustment())}px`}),F()}function c(m){if(typeof m=="object"&&"length"in m)for(let h=0;h{const D=w[y],E=D.getAttribute("data-swiper-slide-index");E&&D.setAttribute("data-swiper-slide-index",parseInt(E,10)+_),g[parseInt(y,10)+_]=D}),e.virtual.cache=g}u(!0),e.slideTo(v,0)}function d(m){if(typeof m>"u"||m===null)return;let h=e.activeIndex;if(Array.isArray(m))for(let v=m.length-1;v>=0;v-=1)e.params.virtual.cache&&(delete e.virtual.cache[m[v]],Object.keys(e.virtual.cache).forEach(_=>{_>m&&(e.virtual.cache[_-1]=e.virtual.cache[_],e.virtual.cache[_-1].setAttribute("data-swiper-slide-index",_-1),delete e.virtual.cache[_])})),e.virtual.slides.splice(m[v],1),m[v]{v>m&&(e.virtual.cache[v-1]=e.virtual.cache[v],e.virtual.cache[v-1].setAttribute("data-swiper-slide-index",v-1),delete e.virtual.cache[v])})),e.virtual.slides.splice(m,1),m{if(!e.params.virtual.enabled)return;let m;if(typeof e.passedParams.virtual.slides>"u"){const h=[...e.slidesEl.children].filter(v=>v.matches(`.${e.params.slideClass}, swiper-slide`));h&&h.length&&(e.virtual.slides=[...h],m=!0,h.forEach((v,_)=>{v.setAttribute("data-swiper-slide-index",_),e.virtual.cache[_]=v,v.remove()}))}m||(e.virtual.slides=e.params.virtual.slides),e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,u(!1,!0)}),i("setTranslate",()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(s),s=setTimeout(()=>{u()},100)):u())}),i("init update resize",()=>{e.params.virtual.enabled&&e.params.cssMode&&Ds(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)}),Object.assign(e.virtual,{appendSlide:c,prependSlide:f,removeSlide:d,removeAllSlides:p,update:u})}function Vf(n){let{swiper:e,extendParams:t,on:i,emit:r}=n;const s=Ve(),a=xe();e.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}});function o(c){if(!e.enabled)return;const{rtlTranslate:f}=e;let d=c;d.originalEvent&&(d=d.originalEvent);const p=d.keyCode||d.charCode,m=e.params.keyboard.pageUpDown,h=m&&p===33,v=m&&p===34,_=p===37,w=p===39,g=p===38,y=p===40;if(!e.allowSlideNext&&(e.isHorizontal()&&w||e.isVertical()&&y||v)||!e.allowSlidePrev&&(e.isHorizontal()&&_||e.isVertical()&&g||h))return!1;if(!(d.shiftKey||d.altKey||d.ctrlKey||d.metaKey)&&!(s.activeElement&&s.activeElement.nodeName&&(s.activeElement.nodeName.toLowerCase()==="input"||s.activeElement.nodeName.toLowerCase()==="textarea"))){if(e.params.keyboard.onlyInViewport&&(h||v||_||w||g||y)){let D=!1;if(cr(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&cr(e.el,`.${e.params.slideActiveClass}`).length===0)return;const E=e.el,b=E.clientWidth,C=E.clientHeight,x=a.innerWidth,S=a.innerHeight,O=gn(E);f&&(O.left-=E.scrollLeft);const M=[[O.left,O.top],[O.left+b,O.top],[O.left,O.top+C],[O.left+b,O.top+C]];for(let P=0;P=0&&k[0]<=x&&k[1]>=0&&k[1]<=S){if(k[0]===0&&k[1]===0)continue;D=!0}}if(!D)return}e.isHorizontal()?((h||v||_||w)&&(d.preventDefault?d.preventDefault():d.returnValue=!1),((v||w)&&!f||(h||_)&&f)&&e.slideNext(),((h||_)&&!f||(v||w)&&f)&&e.slidePrev()):((h||v||g||y)&&(d.preventDefault?d.preventDefault():d.returnValue=!1),(v||y)&&e.slideNext(),(h||g)&&e.slidePrev()),r("keyPress",p)}}function l(){e.keyboard.enabled||(s.addEventListener("keydown",o),e.keyboard.enabled=!0)}function u(){e.keyboard.enabled&&(s.removeEventListener("keydown",o),e.keyboard.enabled=!1)}i("init",()=>{e.params.keyboard.enabled&&l()}),i("destroy",()=>{e.keyboard.enabled&&u()}),Object.assign(e.keyboard,{enable:l,disable:u})}function Xf(n){let{swiper:e,extendParams:t,on:i,emit:r}=n;const s=xe();t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let a,o=Ht(),l;const u=[];function c(g){let b=0,C=0,x=0,S=0;return"detail"in g&&(C=g.detail),"wheelDelta"in g&&(C=-g.wheelDelta/120),"wheelDeltaY"in g&&(C=-g.wheelDeltaY/120),"wheelDeltaX"in g&&(b=-g.wheelDeltaX/120),"axis"in g&&g.axis===g.HORIZONTAL_AXIS&&(b=C,C=0),x=b*10,S=C*10,"deltaY"in g&&(S=g.deltaY),"deltaX"in g&&(x=g.deltaX),g.shiftKey&&!x&&(x=S,S=0),(x||S)&&g.deltaMode&&(g.deltaMode===1?(x*=40,S*=40):(x*=800,S*=800)),x&&!b&&(b=x<1?-1:1),S&&!C&&(C=S<1?-1:1),{spinX:b,spinY:C,pixelX:x,pixelY:S}}function f(){e.enabled&&(e.mouseEntered=!0)}function d(){e.enabled&&(e.mouseEntered=!1)}function p(g){return e.params.mousewheel.thresholdDelta&&g.delta=6&&Ht()-o<60?!0:(g.direction<0?(!e.isEnd||e.params.loop)&&!e.animating&&(e.slideNext(),r("scroll",g.raw)):(!e.isBeginning||e.params.loop)&&!e.animating&&(e.slidePrev(),r("scroll",g.raw)),o=new s.Date().getTime(),!1)}function m(g){const y=e.params.mousewheel;if(g.direction<0){if(e.isEnd&&!e.params.loop&&y.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&y.releaseOnEdges)return!0;return!1}function h(g){let y=g,D=!0;if(!e.enabled||g.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const E=e.params.mousewheel;e.params.cssMode&&y.preventDefault();let b=e.el;e.params.mousewheel.eventsTarget!=="container"&&(b=document.querySelector(e.params.mousewheel.eventsTarget));const C=b&&b.contains(y.target);if(!e.mouseEntered&&!C&&!E.releaseOnEdges)return!0;y.originalEvent&&(y=y.originalEvent);let x=0;const S=e.rtlTranslate?-1:1,O=c(y);if(E.forceToAxis)if(e.isHorizontal())if(Math.abs(O.pixelX)>Math.abs(O.pixelY))x=-O.pixelX*S;else return!0;else if(Math.abs(O.pixelY)>Math.abs(O.pixelX))x=-O.pixelY;else return!0;else x=Math.abs(O.pixelX)>Math.abs(O.pixelY)?-O.pixelX*S:-O.pixelY;if(x===0)return!0;E.invert&&(x=-x);let M=e.getTranslate()+x*E.sensitivity;if(M>=e.minTranslate()&&(M=e.minTranslate()),M<=e.maxTranslate()&&(M=e.maxTranslate()),D=e.params.loop?!0:!(M===e.minTranslate()||M===e.maxTranslate()),D&&e.params.nested&&y.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const P={time:Ht(),delta:Math.abs(x),direction:Math.sign(x),raw:g};u.length>=2&&u.shift();const k=u.length?u[u.length-1]:void 0;if(u.push(P),k?(P.direction!==k.direction||P.delta>k.delta||P.time>k.time+150)&&p(P):p(P),m(P))return!0}else{const P={time:Ht(),delta:Math.abs(x),direction:Math.sign(x)},k=l&&P.time=e.minTranslate()&&(z=e.minTranslate()),z<=e.maxTranslate()&&(z=e.maxTranslate()),e.setTransition(0),e.setTranslate(z),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!I&&e.isBeginning||!A&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:P.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(a),a=void 0,u.length>=15&&u.shift();const L=u.length?u[u.length-1]:void 0,F=u[0];if(u.push(P),L&&(P.delta>L.delta||P.direction!==L.direction))u.splice(0);else if(u.length>=15&&P.time-F.time<500&&F.delta-P.delta>=1&&P.delta<=6){const T=x>0?.8:.2;l=P,u.splice(0),a=lr(()=>{e.destroyed||!e.params||e.slideToClosest(e.params.speed,!0,void 0,T)},0)}a||(a=lr(()=>{if(e.destroyed||!e.params)return;const T=.5;l=P,u.splice(0),e.slideToClosest(e.params.speed,!0,void 0,T)},500))}if(k||r("scroll",y),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),E.releaseOnEdges&&(z===e.minTranslate()||z===e.maxTranslate()))return!0}}return y.preventDefault?y.preventDefault():y.returnValue=!1,!1}function v(g){let y=e.el;e.params.mousewheel.eventsTarget!=="container"&&(y=document.querySelector(e.params.mousewheel.eventsTarget)),y[g]("mouseenter",f),y[g]("mouseleave",d),y[g]("wheel",h)}function _(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",h),!0):e.mousewheel.enabled?!1:(v("addEventListener"),e.mousewheel.enabled=!0,!0)}function w(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,h),!0):e.mousewheel.enabled?(v("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}i("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&w(),e.params.mousewheel.enabled&&_()}),i("destroy",()=>{e.params.cssMode&&_(),e.mousewheel.enabled&&w()}),Object.assign(e.mousewheel,{enable:_,disable:w})}function ja(n,e,t,i){return n.params.createElements&&Object.keys(i).forEach(r=>{if(!t[r]&&t.auto===!0){let s=Xe(n.el,`.${i[r]}`)[0];s||(s=At("div",i[r]),s.className=i[r],n.el.append(s)),t[r]=s,e[r]=s}}),t}function qf(n){let{swiper:e,extendParams:t,on:i,emit:r}=n;t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};function s(m){let h;return m&&typeof m=="string"&&e.isElement&&(h=e.el.querySelector(m)||e.hostEl.querySelector(m),h)?h:(m&&(typeof m=="string"&&(h=[...document.querySelectorAll(m)]),e.params.uniqueNavElements&&typeof m=="string"&&h&&h.length>1&&e.el.querySelectorAll(m).length===1?h=e.el.querySelector(m):h&&h.length===1&&(h=h[0])),m&&!h?m:h)}function a(m,h){const v=e.params.navigation;m=ee(m),m.forEach(_=>{_&&(_.classList[h?"add":"remove"](...v.disabledClass.split(" ")),_.tagName==="BUTTON"&&(_.disabled=h),e.params.watchOverflow&&e.enabled&&_.classList[e.isLocked?"add":"remove"](v.lockClass))})}function o(){const{nextEl:m,prevEl:h}=e.navigation;if(e.params.loop){a(h,!1),a(m,!1);return}a(h,e.isBeginning&&!e.params.rewind),a(m,e.isEnd&&!e.params.rewind)}function l(m){m.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function u(m){m.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function c(){const m=e.params.navigation;if(e.params.navigation=ja(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(m.nextEl||m.prevEl))return;let h=s(m.nextEl),v=s(m.prevEl);Object.assign(e.navigation,{nextEl:h,prevEl:v}),h=ee(h),v=ee(v);const _=(w,g)=>{w&&w.addEventListener("click",g==="next"?u:l),!e.enabled&&w&&w.classList.add(...m.lockClass.split(" "))};h.forEach(w=>_(w,"next")),v.forEach(w=>_(w,"prev"))}function f(){let{nextEl:m,prevEl:h}=e.navigation;m=ee(m),h=ee(h);const v=(_,w)=>{_.removeEventListener("click",w==="next"?u:l),_.classList.remove(...e.params.navigation.disabledClass.split(" "))};m.forEach(_=>v(_,"next")),h.forEach(_=>v(_,"prev"))}i("init",()=>{e.params.navigation.enabled===!1?p():(c(),o())}),i("toEdge fromEdge lock unlock",()=>{o()}),i("destroy",()=>{f()}),i("enable disable",()=>{let{nextEl:m,prevEl:h}=e.navigation;if(m=ee(m),h=ee(h),e.enabled){o();return}[...m,...h].filter(v=>!!v).forEach(v=>v.classList.add(e.params.navigation.lockClass))}),i("click",(m,h)=>{let{nextEl:v,prevEl:_}=e.navigation;v=ee(v),_=ee(_);const w=h.target;let g=_.includes(w)||v.includes(w);if(e.isElement&&!g){const y=h.path||h.composedPath&&h.composedPath();y&&(g=y.find(D=>v.includes(D)||_.includes(D)))}if(e.params.navigation.hideOnClick&&!g){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===w||e.pagination.el.contains(w)))return;let y;v.length?y=v[0].classList.contains(e.params.navigation.hiddenClass):_.length&&(y=_[0].classList.contains(e.params.navigation.hiddenClass)),r(y===!0?"navigationShow":"navigationHide"),[...v,..._].filter(D=>!!D).forEach(D=>D.classList.toggle(e.params.navigation.hiddenClass))}});const d=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),c(),o()},p=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),f()};Object.assign(e.navigation,{enable:d,disable:p,update:o,init:c,destroy:f})}function Di(n){return n===void 0&&(n=""),`.${n.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Wf(n){let{swiper:e,extendParams:t,on:i,emit:r}=n;const s="swiper-pagination";t({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:w=>w,formatFractionTotal:w=>w,bulletClass:`${s}-bullet`,bulletActiveClass:`${s}-bullet-active`,modifierClass:`${s}-`,currentClass:`${s}-current`,totalClass:`${s}-total`,hiddenClass:`${s}-hidden`,progressbarFillClass:`${s}-progressbar-fill`,progressbarOppositeClass:`${s}-progressbar-opposite`,clickableClass:`${s}-clickable`,lockClass:`${s}-lock`,horizontalClass:`${s}-horizontal`,verticalClass:`${s}-vertical`,paginationDisabledClass:`${s}-disabled`}}),e.pagination={el:null,bullets:[]};let a,o=0;function l(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function u(w,g){const{bulletActiveClass:y}=e.params.pagination;w&&(w=w[`${g==="prev"?"previous":"next"}ElementSibling`],w&&(w.classList.add(`${y}-${g}`),w=w[`${g==="prev"?"previous":"next"}ElementSibling`],w&&w.classList.add(`${y}-${g}-${g}`)))}function c(w,g,y){if(w=w%y,g=g%y,g===w+1)return"next";if(g===w-1)return"previous"}function f(w){const g=w.target.closest(Di(e.params.pagination.bulletClass));if(!g)return;w.preventDefault();const y=bs(g)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===y)return;const D=c(e.realIndex,y,e.slides.length);D==="next"?e.slideNext():D==="previous"?e.slidePrev():e.slideToLoop(y)}else e.slideTo(y)}function d(){const w=e.rtl,g=e.params.pagination;if(l())return;let y=e.pagination.el;y=ee(y);let D,E;const b=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,C=e.params.loop?Math.ceil(b/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(E=e.previousRealIndex||0,D=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(D=e.snapIndex,E=e.previousSnapIndex):(E=e.previousIndex||0,D=e.activeIndex||0),g.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const x=e.pagination.bullets;let S,O,M;if(g.dynamicBullets&&(a=Na(x[0],e.isHorizontal()?"width":"height"),y.forEach(P=>{P.style[e.isHorizontal()?"width":"height"]=`${a*(g.dynamicMainBullets+4)}px`}),g.dynamicMainBullets>1&&E!==void 0&&(o+=D-(E||0),o>g.dynamicMainBullets-1?o=g.dynamicMainBullets-1:o<0&&(o=0)),S=Math.max(D-o,0),O=S+(Math.min(x.length,g.dynamicMainBullets)-1),M=(O+S)/2),x.forEach(P=>{const k=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(z=>`${g.bulletActiveClass}${z}`)].map(z=>typeof z=="string"&&z.includes(" ")?z.split(" "):z).flat();P.classList.remove(...k)}),y.length>1)x.forEach(P=>{const k=bs(P);k===D?P.classList.add(...g.bulletActiveClass.split(" ")):e.isElement&&P.setAttribute("part","bullet"),g.dynamicBullets&&(k>=S&&k<=O&&P.classList.add(...`${g.bulletActiveClass}-main`.split(" ")),k===S&&u(P,"prev"),k===O&&u(P,"next"))});else{const P=x[D];if(P&&P.classList.add(...g.bulletActiveClass.split(" ")),e.isElement&&x.forEach((k,z)=>{k.setAttribute("part",z===D?"bullet-active":"bullet")}),g.dynamicBullets){const k=x[S],z=x[O];for(let I=S;I<=O;I+=1)x[I]&&x[I].classList.add(...`${g.bulletActiveClass}-main`.split(" "));u(k,"prev"),u(z,"next")}}if(g.dynamicBullets){const P=Math.min(x.length,g.dynamicMainBullets+4),k=(a*P-a)/2-M*a,z=w?"right":"left";x.forEach(I=>{I.style[e.isHorizontal()?z:"top"]=`${k}px`})}}y.forEach((x,S)=>{if(g.type==="fraction"&&(x.querySelectorAll(Di(g.currentClass)).forEach(O=>{O.textContent=g.formatFractionCurrent(D+1)}),x.querySelectorAll(Di(g.totalClass)).forEach(O=>{O.textContent=g.formatFractionTotal(C)})),g.type==="progressbar"){let O;g.progressbarOpposite?O=e.isHorizontal()?"vertical":"horizontal":O=e.isHorizontal()?"horizontal":"vertical";const M=(D+1)/C;let P=1,k=1;O==="horizontal"?P=M:k=M,x.querySelectorAll(Di(g.progressbarFillClass)).forEach(z=>{z.style.transform=`translate3d(0,0,0) scaleX(${P}) scaleY(${k})`,z.style.transitionDuration=`${e.params.speed}ms`})}g.type==="custom"&&g.renderCustom?(x.innerHTML=g.renderCustom(e,D+1,C),S===0&&r("paginationRender",x)):(S===0&&r("paginationRender",x),r("paginationUpdate",x)),e.params.watchOverflow&&e.enabled&&x.classList[e.isLocked?"add":"remove"](g.lockClass)})}function p(){const w=e.params.pagination;if(l())return;const g=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let y=e.pagination.el;y=ee(y);let D="";if(w.type==="bullets"){let E=e.params.loop?Math.ceil(g/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&E>g&&(E=g);for(let b=0;b`}w.type==="fraction"&&(w.renderFraction?D=w.renderFraction.call(e,w.currentClass,w.totalClass):D=` / `),w.type==="progressbar"&&(w.renderProgressbar?D=w.renderProgressbar.call(e,w.progressbarFillClass):D=``),e.pagination.bullets=[],y.forEach(E=>{w.type!=="custom"&&(E.innerHTML=D||""),w.type==="bullets"&&e.pagination.bullets.push(...E.querySelectorAll(Di(w.bulletClass)))}),w.type!=="custom"&&r("paginationRender",y[0])}function m(){e.params.pagination=ja(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const w=e.params.pagination;if(!w.el)return;let g;typeof w.el=="string"&&e.isElement&&(g=e.el.querySelector(w.el)),!g&&typeof w.el=="string"&&(g=[...document.querySelectorAll(w.el)]),g||(g=w.el),!(!g||g.length===0)&&(e.params.uniqueNavElements&&typeof w.el=="string"&&Array.isArray(g)&&g.length>1&&(g=[...e.el.querySelectorAll(w.el)],g.length>1&&(g=g.filter(y=>cr(y,".swiper")[0]===e.el)[0])),Array.isArray(g)&&g.length===1&&(g=g[0]),Object.assign(e.pagination,{el:g}),g=ee(g),g.forEach(y=>{w.type==="bullets"&&w.clickable&&y.classList.add(...(w.clickableClass||"").split(" ")),y.classList.add(w.modifierClass+w.type),y.classList.add(e.isHorizontal()?w.horizontalClass:w.verticalClass),w.type==="bullets"&&w.dynamicBullets&&(y.classList.add(`${w.modifierClass}${w.type}-dynamic`),o=0,w.dynamicMainBullets<1&&(w.dynamicMainBullets=1)),w.type==="progressbar"&&w.progressbarOpposite&&y.classList.add(w.progressbarOppositeClass),w.clickable&&y.addEventListener("click",f),e.enabled||y.classList.add(w.lockClass)}))}function h(){const w=e.params.pagination;if(l())return;let g=e.pagination.el;g&&(g=ee(g),g.forEach(y=>{y.classList.remove(w.hiddenClass),y.classList.remove(w.modifierClass+w.type),y.classList.remove(e.isHorizontal()?w.horizontalClass:w.verticalClass),w.clickable&&(y.classList.remove(...(w.clickableClass||"").split(" ")),y.removeEventListener("click",f))})),e.pagination.bullets&&e.pagination.bullets.forEach(y=>y.classList.remove(...w.bulletActiveClass.split(" ")))}i("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const w=e.params.pagination;let{el:g}=e.pagination;g=ee(g),g.forEach(y=>{y.classList.remove(w.horizontalClass,w.verticalClass),y.classList.add(e.isHorizontal()?w.horizontalClass:w.verticalClass)})}),i("init",()=>{e.params.pagination.enabled===!1?_():(m(),p(),d())}),i("activeIndexChange",()=>{typeof e.snapIndex>"u"&&d()}),i("snapIndexChange",()=>{d()}),i("snapGridLengthChange",()=>{p(),d()}),i("destroy",()=>{h()}),i("enable disable",()=>{let{el:w}=e.pagination;w&&(w=ee(w),w.forEach(g=>g.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),i("lock unlock",()=>{d()}),i("click",(w,g)=>{const y=g.target,D=ee(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&D&&D.length>0&&!y.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&y===e.navigation.nextEl||e.navigation.prevEl&&y===e.navigation.prevEl))return;const E=D[0].classList.contains(e.params.pagination.hiddenClass);r(E===!0?"paginationShow":"paginationHide"),D.forEach(b=>b.classList.toggle(e.params.pagination.hiddenClass))}});const v=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:w}=e.pagination;w&&(w=ee(w),w.forEach(g=>g.classList.remove(e.params.pagination.paginationDisabledClass))),m(),p(),d()},_=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:w}=e.pagination;w&&(w=ee(w),w.forEach(g=>g.classList.add(e.params.pagination.paginationDisabledClass))),h()};Object.assign(e.pagination,{enable:v,disable:_,render:p,update:d,init:m,destroy:h})}function Uf(n){let{swiper:e,extendParams:t,on:i,emit:r}=n;const s=Ve();let a=!1,o=null,l=null,u,c,f,d;t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null};function p(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:M,rtlTranslate:P}=e,{dragEl:k,el:z}=M,I=e.params.scrollbar,A=e.params.loop?e.progressLoop:e.progress;let L=c,F=(f-c)*A;P?(F=-F,F>0?(L=c-F,F=0):-F+c>f&&(L=f+F)):F<0?(L=c+F,F=0):F+c>f&&(L=f-F),e.isHorizontal()?(k.style.transform=`translate3d(${F}px, 0, 0)`,k.style.width=`${L}px`):(k.style.transform=`translate3d(0px, ${F}px, 0)`,k.style.height=`${L}px`),I.hide&&(clearTimeout(o),z.style.opacity=1,o=setTimeout(()=>{z.style.opacity=0,z.style.transitionDuration="400ms"},1e3))}function m(M){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${M}ms`)}function h(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:M}=e,{dragEl:P,el:k}=M;P.style.width="",P.style.height="",f=e.isHorizontal()?k.offsetWidth:k.offsetHeight,d=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),e.params.scrollbar.dragSize==="auto"?c=f*d:c=parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?P.style.width=`${c}px`:P.style.height=`${c}px`,d>=1?k.style.display="none":k.style.display="",e.params.scrollbar.hide&&(k.style.opacity=0),e.params.watchOverflow&&e.enabled&&M.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function v(M){return e.isHorizontal()?M.clientX:M.clientY}function _(M){const{scrollbar:P,rtlTranslate:k}=e,{el:z}=P;let I;I=(v(M)-gn(z)[e.isHorizontal()?"left":"top"]-(u!==null?u:c/2))/(f-c),I=Math.max(Math.min(I,1),0),k&&(I=1-I);const A=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*I;e.updateProgress(A),e.setTranslate(A),e.updateActiveIndex(),e.updateSlidesClasses()}function w(M){const P=e.params.scrollbar,{scrollbar:k,wrapperEl:z}=e,{el:I,dragEl:A}=k;a=!0,u=M.target===A?v(M)-M.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,M.preventDefault(),M.stopPropagation(),z.style.transitionDuration="100ms",A.style.transitionDuration="100ms",_(M),clearTimeout(l),I.style.transitionDuration="0ms",P.hide&&(I.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),r("scrollbarDragStart",M)}function g(M){const{scrollbar:P,wrapperEl:k}=e,{el:z,dragEl:I}=P;a&&(M.preventDefault&&M.cancelable?M.preventDefault():M.returnValue=!1,_(M),k.style.transitionDuration="0ms",z.style.transitionDuration="0ms",I.style.transitionDuration="0ms",r("scrollbarDragMove",M))}function y(M){const P=e.params.scrollbar,{scrollbar:k,wrapperEl:z}=e,{el:I}=k;a&&(a=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",z.style.transitionDuration=""),P.hide&&(clearTimeout(l),l=lr(()=>{I.style.opacity=0,I.style.transitionDuration="400ms"},1e3)),r("scrollbarDragEnd",M),P.snapOnRelease&&e.slideToClosest())}function D(M){const{scrollbar:P,params:k}=e,z=P.el;if(!z)return;const I=z,A=k.passiveListeners?{passive:!1,capture:!1}:!1,L=k.passiveListeners?{passive:!0,capture:!1}:!1;if(!I)return;const F=M==="on"?"addEventListener":"removeEventListener";I[F]("pointerdown",w,A),s[F]("pointermove",g,A),s[F]("pointerup",y,L)}function E(){!e.params.scrollbar.el||!e.scrollbar.el||D("on")}function b(){!e.params.scrollbar.el||!e.scrollbar.el||D("off")}function C(){const{scrollbar:M,el:P}=e;e.params.scrollbar=ja(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const k=e.params.scrollbar;if(!k.el)return;let z;if(typeof k.el=="string"&&e.isElement&&(z=e.el.querySelector(k.el)),!z&&typeof k.el=="string"){if(z=s.querySelectorAll(k.el),!z.length)return}else z||(z=k.el);e.params.uniqueNavElements&&typeof k.el=="string"&&z.length>1&&P.querySelectorAll(k.el).length===1&&(z=P.querySelector(k.el)),z.length>0&&(z=z[0]),z.classList.add(e.isHorizontal()?k.horizontalClass:k.verticalClass);let I;z&&(I=z.querySelector(Di(e.params.scrollbar.dragClass)),I||(I=At("div",e.params.scrollbar.dragClass),z.append(I))),Object.assign(M,{el:z,dragEl:I}),k.draggable&&E(),z&&z.classList[e.enabled?"remove":"add"](...$i(e.params.scrollbar.lockClass))}function x(){const M=e.params.scrollbar,P=e.scrollbar.el;P&&P.classList.remove(...$i(e.isHorizontal()?M.horizontalClass:M.verticalClass)),b()}i("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const M=e.params.scrollbar;let{el:P}=e.scrollbar;P=ee(P),P.forEach(k=>{k.classList.remove(M.horizontalClass,M.verticalClass),k.classList.add(e.isHorizontal()?M.horizontalClass:M.verticalClass)})}),i("init",()=>{e.params.scrollbar.enabled===!1?O():(C(),h(),p())}),i("update resize observerUpdate lock unlock changeDirection",()=>{h()}),i("setTranslate",()=>{p()}),i("setTransition",(M,P)=>{m(P)}),i("enable disable",()=>{const{el:M}=e.scrollbar;M&&M.classList[e.enabled?"remove":"add"](...$i(e.params.scrollbar.lockClass))}),i("destroy",()=>{x()});const S=()=>{e.el.classList.remove(...$i(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...$i(e.params.scrollbar.scrollbarDisabledClass)),C(),h(),p()},O=()=>{e.el.classList.add(...$i(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...$i(e.params.scrollbar.scrollbarDisabledClass)),x()};Object.assign(e.scrollbar,{enable:S,disable:O,updateSize:h,setTranslate:p,init:C,destroy:x})}function jf(n){let{swiper:e,extendParams:t,on:i}=n;t({parallax:{enabled:!1}});const r="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",s=(l,u)=>{const{rtl:c}=e,f=c?-1:1,d=l.getAttribute("data-swiper-parallax")||"0";let p=l.getAttribute("data-swiper-parallax-x"),m=l.getAttribute("data-swiper-parallax-y");const h=l.getAttribute("data-swiper-parallax-scale"),v=l.getAttribute("data-swiper-parallax-opacity"),_=l.getAttribute("data-swiper-parallax-rotate");if(p||m?(p=p||"0",m=m||"0"):e.isHorizontal()?(p=d,m="0"):(m=d,p="0"),p.indexOf("%")>=0?p=`${parseInt(p,10)*u*f}%`:p=`${p*u*f}px`,m.indexOf("%")>=0?m=`${parseInt(m,10)*u}%`:m=`${m*u}px`,typeof v<"u"&&v!==null){const g=v-(v-1)*(1-Math.abs(u));l.style.opacity=g}let w=`translate3d(${p}, ${m}, 0px)`;if(typeof h<"u"&&h!==null){const g=h-(h-1)*(1-Math.abs(u));w+=` scale(${g})`}if(_&&typeof _<"u"&&_!==null){const g=_*u*-1;w+=` rotate(${g}deg)`}l.style.transform=w},a=()=>{const{el:l,slides:u,progress:c,snapGrid:f,isElement:d}=e,p=Xe(l,r);e.isElement&&p.push(...Xe(e.hostEl,r)),p.forEach(m=>{s(m,c)}),u.forEach((m,h)=>{let v=m.progress;e.params.slidesPerGroup>1&&e.params.slidesPerView!=="auto"&&(v+=Math.ceil(h/2)-c*(f.length-1)),v=Math.min(Math.max(v,-1),1),m.querySelectorAll(`${r}, [data-swiper-parallax-rotate]`).forEach(_=>{s(_,v)})})},o=function(l){l===void 0&&(l=e.params.speed);const{el:u,hostEl:c}=e,f=[...u.querySelectorAll(r)];e.isElement&&f.push(...c.querySelectorAll(r)),f.forEach(d=>{let p=parseInt(d.getAttribute("data-swiper-parallax-duration"),10)||l;l===0&&(p=0),d.style.transitionDuration=`${p}ms`})};i("beforeInit",()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)}),i("init",()=>{e.params.parallax.enabled&&a()}),i("setTranslate",()=>{e.params.parallax.enabled&&a()}),i("setTransition",(l,u)=>{e.params.parallax.enabled&&o(u)})}function Zf(n){let{swiper:e,extendParams:t,on:i,emit:r}=n;const s=xe();t({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let a=1,o=!1,l,u;const c=[],f={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},d={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},p={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let m=1;Object.defineProperty(e.zoom,"scale",{get(){return m},set(B){if(m!==B){const $=f.imageEl,Y=f.slideEl;r("zoomChange",B,$,Y)}m=B}});function h(){if(c.length<2)return 1;const B=c[0].pageX,$=c[0].pageY,Y=c[1].pageX,X=c[1].pageY;return Math.sqrt((Y-B)**2+(X-$)**2)}function v(){const B=e.params.zoom,$=f.imageWrapEl.getAttribute("data-swiper-zoom")||B.maxRatio;if(B.limitToOriginalSize&&f.imageEl&&f.imageEl.naturalWidth){const Y=f.imageEl.naturalWidth/f.imageEl.offsetWidth;return Math.min(Y,$)}return $}function _(){if(c.length<2)return{x:null,y:null};const B=f.imageEl.getBoundingClientRect();return[(c[0].pageX+(c[1].pageX-c[0].pageX)/2-B.x-s.scrollX)/a,(c[0].pageY+(c[1].pageY-c[0].pageY)/2-B.y-s.scrollY)/a]}function w(){return e.isElement?"swiper-slide":`.${e.params.slideClass}`}function g(B){const $=w();return!!(B.target.matches($)||e.slides.filter(Y=>Y.contains(B.target)).length>0)}function y(B){const $=`.${e.params.zoom.containerClass}`;return!!(B.target.matches($)||[...e.hostEl.querySelectorAll($)].filter(Y=>Y.contains(B.target)).length>0)}function D(B){if(B.pointerType==="mouse"&&c.splice(0,c.length),!g(B))return;const $=e.params.zoom;if(l=!1,u=!1,c.push(B),!(c.length<2)){if(l=!0,f.scaleStart=h(),!f.slideEl){f.slideEl=B.target.closest(`.${e.params.slideClass}, swiper-slide`),f.slideEl||(f.slideEl=e.slides[e.activeIndex]);let Y=f.slideEl.querySelector(`.${$.containerClass}`);if(Y&&(Y=Y.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),f.imageEl=Y,Y?f.imageWrapEl=cr(f.imageEl,`.${$.containerClass}`)[0]:f.imageWrapEl=void 0,!f.imageWrapEl){f.imageEl=void 0;return}f.maxRatio=v()}if(f.imageEl){const[Y,X]=_();f.originX=Y,f.originY=X,f.imageEl.style.transitionDuration="0ms"}o=!0}}function E(B){if(!g(B))return;const $=e.params.zoom,Y=e.zoom,X=c.findIndex(N=>N.pointerId===B.pointerId);X>=0&&(c[X]=B),!(c.length<2)&&(u=!0,f.scaleMove=h(),f.imageEl&&(Y.scale=f.scaleMove/f.scaleStart*a,Y.scale>f.maxRatio&&(Y.scale=f.maxRatio-1+(Y.scale-f.maxRatio+1)**.5),Y.scale<$.minRatio&&(Y.scale=$.minRatio+1-($.minRatio-Y.scale+1)**.5),f.imageEl.style.transform=`translate3d(0,0,0) scale(${Y.scale})`))}function b(B){if(!g(B)||B.pointerType==="mouse"&&B.type==="pointerout")return;const $=e.params.zoom,Y=e.zoom,X=c.findIndex(N=>N.pointerId===B.pointerId);X>=0&&c.splice(X,1),!(!l||!u)&&(l=!1,u=!1,f.imageEl&&(Y.scale=Math.max(Math.min(Y.scale,f.maxRatio),$.minRatio),f.imageEl.style.transitionDuration=`${e.params.speed}ms`,f.imageEl.style.transform=`translate3d(0,0,0) scale(${Y.scale})`,a=Y.scale,o=!1,Y.scale>1&&f.slideEl?f.slideEl.classList.add(`${$.zoomedSlideClass}`):Y.scale<=1&&f.slideEl&&f.slideEl.classList.remove(`${$.zoomedSlideClass}`),Y.scale===1&&(f.originX=0,f.originY=0,f.slideEl=void 0)))}let C;function x(){e.touchEventsData.preventTouchMoveFromPointerMove=!1}function S(){clearTimeout(C),e.touchEventsData.preventTouchMoveFromPointerMove=!0,C=setTimeout(()=>{e.destroyed||x()})}function O(B){const $=e.device;if(!f.imageEl||d.isTouched)return;$.android&&B.cancelable&&B.preventDefault(),d.isTouched=!0;const Y=c.length>0?c[0]:B;d.touchesStart.x=Y.pageX,d.touchesStart.y=Y.pageY}function M(B){if(!g(B)||!y(B))return;const $=e.zoom;if(!f.imageEl||!d.isTouched||!f.slideEl)return;d.isMoved||(d.width=f.imageEl.offsetWidth||f.imageEl.clientWidth,d.height=f.imageEl.offsetHeight||f.imageEl.clientHeight,d.startX=$a(f.imageWrapEl,"x")||0,d.startY=$a(f.imageWrapEl,"y")||0,f.slideWidth=f.slideEl.offsetWidth,f.slideHeight=f.slideEl.offsetHeight,f.imageWrapEl.style.transitionDuration="0ms");const Y=d.width*$.scale,X=d.height*$.scale;if(d.minX=Math.min(f.slideWidth/2-Y/2,0),d.maxX=-d.minX,d.minY=Math.min(f.slideHeight/2-X/2,0),d.maxY=-d.minY,d.touchesCurrent.x=c.length>0?c[0].pageX:B.pageX,d.touchesCurrent.y=c.length>0?c[0].pageY:B.pageY,Math.max(Math.abs(d.touchesCurrent.x-d.touchesStart.x),Math.abs(d.touchesCurrent.y-d.touchesStart.y))>5&&(e.allowClick=!1),!d.isMoved&&!o){if(e.isHorizontal()&&(Math.floor(d.minX)===Math.floor(d.startX)&&d.touchesCurrent.xd.touchesStart.x)){d.isTouched=!1,x();return}if(!e.isHorizontal()&&(Math.floor(d.minY)===Math.floor(d.startY)&&d.touchesCurrent.yd.touchesStart.y)){d.isTouched=!1,x();return}}B.cancelable&&B.preventDefault(),B.stopPropagation(),S(),d.isMoved=!0;const U=($.scale-a)/(f.maxRatio-e.params.zoom.minRatio),{originX:j,originY:Ee}=f;d.currentX=d.touchesCurrent.x-d.touchesStart.x+d.startX+U*(d.width-j*2),d.currentY=d.touchesCurrent.y-d.touchesStart.y+d.startY+U*(d.height-Ee*2),d.currentXd.maxX&&(d.currentX=d.maxX-1+(d.currentX-d.maxX+1)**.8),d.currentYd.maxY&&(d.currentY=d.maxY-1+(d.currentY-d.maxY+1)**.8),p.prevPositionX||(p.prevPositionX=d.touchesCurrent.x),p.prevPositionY||(p.prevPositionY=d.touchesCurrent.y),p.prevTime||(p.prevTime=Date.now()),p.x=(d.touchesCurrent.x-p.prevPositionX)/(Date.now()-p.prevTime)/2,p.y=(d.touchesCurrent.y-p.prevPositionY)/(Date.now()-p.prevTime)/2,Math.abs(d.touchesCurrent.x-p.prevPositionX)<2&&(p.x=0),Math.abs(d.touchesCurrent.y-p.prevPositionY)<2&&(p.y=0),p.prevPositionX=d.touchesCurrent.x,p.prevPositionY=d.touchesCurrent.y,p.prevTime=Date.now(),f.imageWrapEl.style.transform=`translate3d(${d.currentX}px, ${d.currentY}px,0)`}function P(){const B=e.zoom;if(!f.imageEl)return;if(!d.isTouched||!d.isMoved){d.isTouched=!1,d.isMoved=!1;return}d.isTouched=!1,d.isMoved=!1;let $=300,Y=300;const X=p.x*$,N=d.currentX+X,U=p.y*Y,j=d.currentY+U;p.x!==0&&($=Math.abs((N-d.currentX)/p.x)),p.y!==0&&(Y=Math.abs((j-d.currentY)/p.y));const Ee=Math.max($,Y);d.currentX=N,d.currentY=j;const Ae=d.width*B.scale,Re=d.height*B.scale;d.minX=Math.min(f.slideWidth/2-Ae/2,0),d.maxX=-d.minX,d.minY=Math.min(f.slideHeight/2-Re/2,0),d.maxY=-d.minY,d.currentX=Math.max(Math.min(d.currentX,d.maxX),d.minX),d.currentY=Math.max(Math.min(d.currentY,d.maxY),d.minY),f.imageWrapEl.style.transitionDuration=`${Ee}ms`,f.imageWrapEl.style.transform=`translate3d(${d.currentX}px, ${d.currentY}px,0)`}function k(){const B=e.zoom;f.slideEl&&e.activeIndex!==e.slides.indexOf(f.slideEl)&&(f.imageEl&&(f.imageEl.style.transform="translate3d(0,0,0) scale(1)"),f.imageWrapEl&&(f.imageWrapEl.style.transform="translate3d(0,0,0)"),f.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`),B.scale=1,a=1,f.slideEl=void 0,f.imageEl=void 0,f.imageWrapEl=void 0,f.originX=0,f.originY=0)}function z(B){const $=e.zoom,Y=e.params.zoom;if(!f.slideEl){B&&B.target&&(f.slideEl=B.target.closest(`.${e.params.slideClass}, swiper-slide`)),f.slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?f.slideEl=Xe(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:f.slideEl=e.slides[e.activeIndex]);let Ut=f.slideEl.querySelector(`.${Y.containerClass}`);Ut&&(Ut=Ut.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),f.imageEl=Ut,Ut?f.imageWrapEl=cr(f.imageEl,`.${Y.containerClass}`)[0]:f.imageWrapEl=void 0}if(!f.imageEl||!f.imageWrapEl)return;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),f.slideEl.classList.add(`${Y.zoomedSlideClass}`);let X,N,U,j,Ee,Ae,Re,Se,Mt,se,ve,qe,$e,R,We,Pt,Wt,pe;typeof d.touchesStart.x>"u"&&B?(X=B.pageX,N=B.pageY):(X=d.touchesStart.x,N=d.touchesStart.y);const Ft=typeof B=="number"?B:null;a===1&&Ft&&(X=void 0,N=void 0,d.touchesStart.x=void 0,d.touchesStart.y=void 0);const li=v();$.scale=Ft||li,a=Ft||li,B&&!(a===1&&Ft)?(Wt=f.slideEl.offsetWidth,pe=f.slideEl.offsetHeight,U=gn(f.slideEl).left+s.scrollX,j=gn(f.slideEl).top+s.scrollY,Ee=U+Wt/2-X,Ae=j+pe/2-N,Mt=f.imageEl.offsetWidth||f.imageEl.clientWidth,se=f.imageEl.offsetHeight||f.imageEl.clientHeight,ve=Mt*$.scale,qe=se*$.scale,$e=Math.min(Wt/2-ve/2,0),R=Math.min(pe/2-qe/2,0),We=-$e,Pt=-R,Re=Ee*$.scale,Se=Ae*$.scale,Re<$e&&(Re=$e),Re>We&&(Re=We),SePt&&(Se=Pt)):(Re=0,Se=0),Ft&&$.scale===1&&(f.originX=0,f.originY=0),f.imageWrapEl.style.transitionDuration="300ms",f.imageWrapEl.style.transform=`translate3d(${Re}px, ${Se}px,0)`,f.imageEl.style.transitionDuration="300ms",f.imageEl.style.transform=`translate3d(0,0,0) scale(${$.scale})`}function I(){const B=e.zoom,$=e.params.zoom;if(!f.slideEl){e.params.virtual&&e.params.virtual.enabled&&e.virtual?f.slideEl=Xe(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:f.slideEl=e.slides[e.activeIndex];let Y=f.slideEl.querySelector(`.${$.containerClass}`);Y&&(Y=Y.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),f.imageEl=Y,Y?f.imageWrapEl=cr(f.imageEl,`.${$.containerClass}`)[0]:f.imageWrapEl=void 0}!f.imageEl||!f.imageWrapEl||(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),B.scale=1,a=1,d.touchesStart.x=void 0,d.touchesStart.y=void 0,f.imageWrapEl.style.transitionDuration="300ms",f.imageWrapEl.style.transform="translate3d(0,0,0)",f.imageEl.style.transitionDuration="300ms",f.imageEl.style.transform="translate3d(0,0,0) scale(1)",f.slideEl.classList.remove(`${$.zoomedSlideClass}`),f.slideEl=void 0,f.originX=0,f.originY=0)}function A(B){const $=e.zoom;$.scale&&$.scale!==1?I():z(B)}function L(){const B=e.params.passiveListeners?{passive:!0,capture:!1}:!1,$=e.params.passiveListeners?{passive:!1,capture:!0}:!0;return{passiveListener:B,activeListenerWithCapture:$}}function F(){const B=e.zoom;if(B.enabled)return;B.enabled=!0;const{passiveListener:$,activeListenerWithCapture:Y}=L();e.wrapperEl.addEventListener("pointerdown",D,$),e.wrapperEl.addEventListener("pointermove",E,Y),["pointerup","pointercancel","pointerout"].forEach(X=>{e.wrapperEl.addEventListener(X,b,$)}),e.wrapperEl.addEventListener("pointermove",M,Y)}function T(){const B=e.zoom;if(!B.enabled)return;B.enabled=!1;const{passiveListener:$,activeListenerWithCapture:Y}=L();e.wrapperEl.removeEventListener("pointerdown",D,$),e.wrapperEl.removeEventListener("pointermove",E,Y),["pointerup","pointercancel","pointerout"].forEach(X=>{e.wrapperEl.removeEventListener(X,b,$)}),e.wrapperEl.removeEventListener("pointermove",M,Y)}i("init",()=>{e.params.zoom.enabled&&F()}),i("destroy",()=>{T()}),i("touchStart",(B,$)=>{e.zoom.enabled&&O($)}),i("touchEnd",(B,$)=>{e.zoom.enabled&&P()}),i("doubleTap",(B,$)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&A($)}),i("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&k()}),i("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&k()}),Object.assign(e.zoom,{enable:F,disable:T,in:z,out:I,toggle:A})}function Qf(n){let{swiper:e,extendParams:t,on:i}=n;t({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0};function r(u,c){const f=function(){let h,v,_;return(w,g)=>{for(v=-1,h=w.length;h-v>1;)_=h+v>>1,w[_]<=g?v=_:h=_;return h}}();this.x=u,this.y=c,this.lastIndex=u.length-1;let d,p;return this.interpolate=function(h){return h?(p=f(this.x,h),d=p-1,(h-this.x[d])*(this.y[p]-this.y[d])/(this.x[p]-this.x[d])+this.y[d]):0},this}function s(u){e.controller.spline=e.params.loop?new r(e.slidesGrid,u.slidesGrid):new r(e.snapGrid,u.snapGrid)}function a(u,c){const f=e.controller.control;let d,p;const m=e.constructor;function h(v){if(v.destroyed)return;const _=e.rtlTranslate?-e.translate:e.translate;e.params.controller.by==="slide"&&(s(v),p=-e.controller.spline.interpolate(-_)),(!p||e.params.controller.by==="container")&&(d=(v.maxTranslate()-v.minTranslate())/(e.maxTranslate()-e.minTranslate()),(Number.isNaN(d)||!Number.isFinite(d))&&(d=1),p=(_-e.minTranslate())*d+v.minTranslate()),e.params.controller.inverse&&(p=v.maxTranslate()-p),v.updateProgress(p),v.setTranslate(p,e),v.updateActiveIndex(),v.updateSlidesClasses()}if(Array.isArray(f))for(let v=0;v{h.updateAutoHeight()}),xs(h.wrapperEl,()=>{d&&h.transitionEnd()})))}if(Array.isArray(d))for(p=0;p{if(typeof window<"u"&&(typeof e.params.controller.control=="string"||e.params.controller.control instanceof HTMLElement)){(typeof e.params.controller.control=="string"?[...document.querySelectorAll(e.params.controller.control)]:[e.params.controller.control]).forEach(c=>{if(e.controller.control||(e.controller.control=[]),c&&c.swiper)e.controller.control.push(c.swiper);else if(c){const f=`${e.params.eventsPrefix}init`,d=p=>{e.controller.control.push(p.detail[0]),e.update(),c.removeEventListener(f,d)};c.addEventListener(f,d)}});return}e.controller.control=e.params.controller.control}),i("update",()=>{l()}),i("resize",()=>{l()}),i("observerUpdate",()=>{l()}),i("setTranslate",(u,c,f)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTranslate(c,f)}),i("setTransition",(u,c,f)=>{!e.controller.control||e.controller.control.destroyed||e.controller.setTransition(c,f)}),Object.assign(e.controller,{setTranslate:a,setTransition:o})}function Kf(n){let{swiper:e,extendParams:t,on:i}=n;t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0}}),e.a11y={clicked:!1};let r=null,s,a,o=new Date().getTime();function l(A){const L=r;L.length!==0&&(L.innerHTML="",L.innerHTML=A)}function u(A){const L=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(A).replace(/x/g,L)}function c(A){A=ee(A),A.forEach(L=>{L.setAttribute("tabIndex","0")})}function f(A){A=ee(A),A.forEach(L=>{L.setAttribute("tabIndex","-1")})}function d(A,L){A=ee(A),A.forEach(F=>{F.setAttribute("role",L)})}function p(A,L){A=ee(A),A.forEach(F=>{F.setAttribute("aria-roledescription",L)})}function m(A,L){A=ee(A),A.forEach(F=>{F.setAttribute("aria-controls",L)})}function h(A,L){A=ee(A),A.forEach(F=>{F.setAttribute("aria-label",L)})}function v(A,L){A=ee(A),A.forEach(F=>{F.setAttribute("id",L)})}function _(A,L){A=ee(A),A.forEach(F=>{F.setAttribute("aria-live",L)})}function w(A){A=ee(A),A.forEach(L=>{L.setAttribute("aria-disabled",!0)})}function g(A){A=ee(A),A.forEach(L=>{L.setAttribute("aria-disabled",!1)})}function y(A){if(A.keyCode!==13&&A.keyCode!==32)return;const L=e.params.a11y,F=A.target;if(!(e.pagination&&e.pagination.el&&(F===e.pagination.el||e.pagination.el.contains(A.target))&&!A.target.matches(Di(e.params.pagination.bulletClass)))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){const T=ee(e.navigation.prevEl);ee(e.navigation.nextEl).includes(F)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?l(L.lastSlideMessage):l(L.nextSlideMessage)),T.includes(F)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?l(L.firstSlideMessage):l(L.prevSlideMessage))}e.pagination&&F.matches(Di(e.params.pagination.bulletClass))&&F.click()}}function D(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{nextEl:A,prevEl:L}=e.navigation;L&&(e.isBeginning?(w(L),f(L)):(g(L),c(L))),A&&(e.isEnd?(w(A),f(A)):(g(A),c(A)))}function E(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function b(){return E()&&e.params.pagination.clickable}function C(){const A=e.params.a11y;E()&&e.pagination.bullets.forEach(L=>{e.params.pagination.clickable&&(c(L),e.params.pagination.renderBullet||(d(L,"button"),h(L,A.paginationBulletMessage.replace(/\{\{index\}\}/,bs(L)+1)))),L.matches(Di(e.params.pagination.bulletActiveClass))?L.setAttribute("aria-current","true"):L.removeAttribute("aria-current")})}const x=(A,L,F)=>{c(A),A.tagName!=="BUTTON"&&(d(A,"button"),A.addEventListener("keydown",y)),h(A,F),m(A,L)},S=A=>{a&&a!==A.target&&!a.contains(A.target)&&(s=!0),e.a11y.clicked=!0},O=()=>{s=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},M=A=>{o=new Date().getTime()},P=A=>{if(e.a11y.clicked||!e.params.a11y.scrollOnFocus||new Date().getTime()-o<100)return;const L=A.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!L||!e.slides.includes(L))return;a=L;const F=e.slides.indexOf(L)===e.activeIndex,T=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(L);F||T||A.sourceCapabilities&&A.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>{s||(e.params.loop?e.slideToLoop(parseInt(L.getAttribute("data-swiper-slide-index")),0):e.slideTo(e.slides.indexOf(L),0),s=!1)}))},k=()=>{const A=e.params.a11y;A.itemRoleDescriptionMessage&&p(e.slides,A.itemRoleDescriptionMessage),A.slideRole&&d(e.slides,A.slideRole);const L=e.slides.length;A.slideLabelMessage&&e.slides.forEach((F,T)=>{const B=e.params.loop?parseInt(F.getAttribute("data-swiper-slide-index"),10):T,$=A.slideLabelMessage.replace(/\{\{index\}\}/,B+1).replace(/\{\{slidesLength\}\}/,L);h(F,$)})},z=()=>{const A=e.params.a11y;e.el.append(r);const L=e.el;A.containerRoleDescriptionMessage&&p(L,A.containerRoleDescriptionMessage),A.containerMessage&&h(L,A.containerMessage),A.containerRole&&d(L,A.containerRole);const F=e.wrapperEl,T=A.id||F.getAttribute("id")||`swiper-wrapper-${u(16)}`,B=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";v(F,T),_(F,B),k();let{nextEl:$,prevEl:Y}=e.navigation?e.navigation:{};$=ee($),Y=ee(Y),$&&$.forEach(N=>x(N,T,A.nextSlideMessage)),Y&&Y.forEach(N=>x(N,T,A.prevSlideMessage)),b()&&ee(e.pagination.el).forEach(U=>{U.addEventListener("keydown",y)}),Ve().addEventListener("visibilitychange",M),e.el.addEventListener("focus",P,!0),e.el.addEventListener("focus",P,!0),e.el.addEventListener("pointerdown",S,!0),e.el.addEventListener("pointerup",O,!0)};function I(){r&&r.remove();let{nextEl:A,prevEl:L}=e.navigation?e.navigation:{};A=ee(A),L=ee(L),A&&A.forEach(T=>T.removeEventListener("keydown",y)),L&&L.forEach(T=>T.removeEventListener("keydown",y)),b()&&ee(e.pagination.el).forEach(B=>{B.removeEventListener("keydown",y)}),Ve().removeEventListener("visibilitychange",M),e.el&&typeof e.el!="string"&&(e.el.removeEventListener("focus",P,!0),e.el.removeEventListener("pointerdown",S,!0),e.el.removeEventListener("pointerup",O,!0))}i("beforeInit",()=>{r=At("span",e.params.a11y.notificationClass),r.setAttribute("aria-live","assertive"),r.setAttribute("aria-atomic","true")}),i("afterInit",()=>{e.params.a11y.enabled&&z()}),i("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&k()}),i("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&D()}),i("paginationUpdate",()=>{e.params.a11y.enabled&&C()}),i("destroy",()=>{e.params.a11y.enabled&&I()})}function Jf(n){let{swiper:e,extendParams:t,on:i}=n;t({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let r=!1,s={};const a=p=>p.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),o=p=>{const m=xe();let h;p?h=new URL(p):h=m.location;const v=h.pathname.slice(1).split("/").filter(y=>y!==""),_=v.length,w=v[_-2],g=v[_-1];return{key:w,value:g}},l=(p,m)=>{const h=xe();if(!r||!e.params.history.enabled)return;let v;e.params.url?v=new URL(e.params.url):v=h.location;const _=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${m}"]`):e.slides[m];let w=a(_.getAttribute("data-history"));if(e.params.history.root.length>0){let y=e.params.history.root;y[y.length-1]==="/"&&(y=y.slice(0,y.length-1)),w=`${y}/${p?`${p}/`:""}${w}`}else v.pathname.includes(p)||(w=`${p?`${p}/`:""}${w}`);e.params.history.keepQuery&&(w+=v.search);const g=h.history.state;g&&g.value===w||(e.params.history.replaceState?h.history.replaceState({value:w},null,w):h.history.pushState({value:w},null,w))},u=(p,m,h)=>{if(m)for(let v=0,_=e.slides.length;v<_;v+=1){const w=e.slides[v];if(a(w.getAttribute("data-history"))===m){const y=e.getSlideIndex(w);e.slideTo(y,p,h)}}else e.slideTo(0,p,h)},c=()=>{s=o(e.params.url),u(e.params.speed,s.value,!1)},f=()=>{const p=xe();if(e.params.history){if(!p.history||!p.history.pushState){e.params.history.enabled=!1,e.params.hashNavigation.enabled=!0;return}if(r=!0,s=o(e.params.url),!s.key&&!s.value){e.params.history.replaceState||p.addEventListener("popstate",c);return}u(0,s.value,e.params.runCallbacksOnInit),e.params.history.replaceState||p.addEventListener("popstate",c)}},d=()=>{const p=xe();e.params.history.replaceState||p.removeEventListener("popstate",c)};i("init",()=>{e.params.history.enabled&&f()}),i("destroy",()=>{e.params.history.enabled&&d()}),i("transitionEnd _freeModeNoMomentumRelease",()=>{r&&l(e.params.history.key,e.activeIndex)}),i("slideChange",()=>{r&&e.params.cssMode&&l(e.params.history.key,e.activeIndex)})}function ep(n){let{swiper:e,extendParams:t,emit:i,on:r}=n,s=!1;const a=Ve(),o=xe();t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(d,p){if(e.virtual&&e.params.virtual.enabled){const m=e.slides.filter(v=>v.getAttribute("data-hash")===p)[0];return m?parseInt(m.getAttribute("data-swiper-slide-index"),10):0}return e.getSlideIndex(Xe(e.slidesEl,`.${e.params.slideClass}[data-hash="${p}"], swiper-slide[data-hash="${p}"]`)[0])}}});const l=()=>{i("hashChange");const d=a.location.hash.replace("#",""),p=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],m=p?p.getAttribute("data-hash"):"";if(d!==m){const h=e.params.hashNavigation.getSlideIndex(e,d);if(typeof h>"u"||Number.isNaN(h))return;e.slideTo(h)}},u=()=>{if(!s||!e.params.hashNavigation.enabled)return;const d=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],p=d?d.getAttribute("data-hash")||d.getAttribute("data-history"):"";e.params.hashNavigation.replaceState&&o.history&&o.history.replaceState?(o.history.replaceState(null,null,`#${p}`||""),i("hashSet")):(a.location.hash=p||"",i("hashSet"))},c=()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;s=!0;const d=a.location.hash.replace("#","");if(d){const m=e.params.hashNavigation.getSlideIndex(e,d);e.slideTo(m||0,0,e.params.runCallbacksOnInit,!0)}e.params.hashNavigation.watchState&&o.addEventListener("hashchange",l)},f=()=>{e.params.hashNavigation.watchState&&o.removeEventListener("hashchange",l)};r("init",()=>{e.params.hashNavigation.enabled&&c()}),r("destroy",()=>{e.params.hashNavigation.enabled&&f()}),r("transitionEnd _freeModeNoMomentumRelease",()=>{s&&u()}),r("slideChange",()=>{s&&e.params.cssMode&&u()})}function tp(n){let{swiper:e,extendParams:t,on:i,emit:r,params:s}=n;e.autoplay={running:!1,paused:!1,timeLeft:0},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let a,o,l=s&&s.autoplay?s.autoplay.delay:3e3,u=s&&s.autoplay?s.autoplay.delay:3e3,c,f=new Date().getTime(),d,p,m,h,v,_,w;function g(L){!e||e.destroyed||!e.wrapperEl||L.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",g),!(w||L.detail&&L.detail.bySwiperTouchMove)&&S())}const y=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?d=!0:d&&(u=c,d=!1);const L=e.autoplay.paused?c:f+u-new Date().getTime();e.autoplay.timeLeft=L,r("autoplayTimeLeft",L,L/l),o=requestAnimationFrame(()=>{y()})},D=()=>{let L;return e.virtual&&e.params.virtual.enabled?L=e.slides.filter(T=>T.classList.contains("swiper-slide-active"))[0]:L=e.slides[e.activeIndex],L?parseInt(L.getAttribute("data-swiper-autoplay"),10):void 0},E=L=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(o),y();let F=typeof L>"u"?e.params.autoplay.delay:L;l=e.params.autoplay.delay,u=e.params.autoplay.delay;const T=D();!Number.isNaN(T)&&T>0&&typeof L>"u"&&(F=T,l=T,u=T),c=F;const B=e.params.speed,$=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(B,!0,!0),r("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,B,!0,!0),r("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(B,!0,!0),r("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,B,!0,!0),r("autoplay")),e.params.cssMode&&(f=new Date().getTime(),requestAnimationFrame(()=>{E()})))};return F>0?(clearTimeout(a),a=setTimeout(()=>{$()},F)):requestAnimationFrame(()=>{$()}),F},b=()=>{f=new Date().getTime(),e.autoplay.running=!0,E(),r("autoplayStart")},C=()=>{e.autoplay.running=!1,clearTimeout(a),cancelAnimationFrame(o),r("autoplayStop")},x=(L,F)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(a),L||(_=!0);const T=()=>{r("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",g):S()};if(e.autoplay.paused=!0,F){v&&(c=e.params.autoplay.delay),v=!1,T();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-f),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),T())},S=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(f=new Date().getTime(),_?(_=!1,E(c)):E(),e.autoplay.paused=!1,r("autoplayResume"))},O=()=>{if(e.destroyed||!e.autoplay.running)return;const L=Ve();L.visibilityState==="hidden"&&(_=!0,x(!0)),L.visibilityState==="visible"&&S()},M=L=>{L.pointerType==="mouse"&&(_=!0,w=!0,!(e.animating||e.autoplay.paused)&&x(!0))},P=L=>{L.pointerType==="mouse"&&(w=!1,e.autoplay.paused&&S())},k=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",M),e.el.addEventListener("pointerleave",P))},z=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",M),e.el.removeEventListener("pointerleave",P))},I=()=>{Ve().addEventListener("visibilitychange",O)},A=()=>{Ve().removeEventListener("visibilitychange",O)};i("init",()=>{e.params.autoplay.enabled&&(k(),I(),b())}),i("destroy",()=>{z(),A(),e.autoplay.running&&C()}),i("_freeModeStaticRelease",()=>{(m||_)&&S()}),i("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?C():x(!0,!0)}),i("beforeTransitionStart",(L,F,T)=>{e.destroyed||!e.autoplay.running||(T||!e.params.autoplay.disableOnInteraction?x(!0,!0):C())}),i("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){C();return}p=!0,m=!1,_=!1,h=setTimeout(()=>{_=!0,m=!0,x(!0)},200)}}),i("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!p)){if(clearTimeout(h),clearTimeout(a),e.params.autoplay.disableOnInteraction){m=!1,p=!1;return}m&&e.params.cssMode&&S(),m=!1,p=!1}}),i("slideChange",()=>{e.destroyed||!e.autoplay.running||(v=!0)}),Object.assign(e.autoplay,{start:b,stop:C,pause:x,resume:S})}function ip(n){let{swiper:e,extendParams:t,on:i}=n;t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let r=!1,s=!1;e.thumbs={swiper:null};function a(){const u=e.thumbs.swiper;if(!u||u.destroyed)return;const c=u.clickedIndex,f=u.clickedSlide;if(f&&f.classList.contains(e.params.thumbs.slideThumbActiveClass)||typeof c>"u"||c===null)return;let d;u.params.loop?d=parseInt(u.clickedSlide.getAttribute("data-swiper-slide-index"),10):d=c,e.params.loop?e.slideToLoop(d):e.slideTo(d)}function o(){const{thumbs:u}=e.params;if(r)return!1;r=!0;const c=e.constructor;if(u.swiper instanceof c)e.thumbs.swiper=u.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper.update();else if(ys(u.swiper)){const f=Object.assign({},u.swiper);Object.assign(f,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new c(f),s=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",a),!0}function l(u){const c=e.thumbs.swiper;if(!c||c.destroyed)return;const f=c.params.slidesPerView==="auto"?c.slidesPerViewDynamic():c.params.slidesPerView;let d=1;const p=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(d=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(d=1),d=Math.floor(d),c.slides.forEach(v=>v.classList.remove(p)),c.params.loop||c.params.virtual&&c.params.virtual.enabled)for(let v=0;v{_.classList.add(p)});else for(let v=0;vy.getAttribute("data-swiper-slide-index")===`${e.realIndex}`)[0];_=c.slides.indexOf(g),w=e.activeIndex>e.previousIndex?"next":"prev"}else _=e.realIndex,w=_>e.previousIndex?"next":"prev";h&&(_+=w==="next"?m:-1*m),c.visibleSlidesIndexes&&c.visibleSlidesIndexes.indexOf(_)<0&&(c.params.centeredSlides?_>v?_=_-Math.floor(f/2)+1:_=_+Math.floor(f/2)-1:_>v&&c.params.slidesPerGroup,c.slideTo(_,u?0:void 0))}}i("beforeInit",()=>{const{thumbs:u}=e.params;if(!(!u||!u.swiper))if(typeof u.swiper=="string"||u.swiper instanceof HTMLElement){const c=Ve(),f=()=>{const p=typeof u.swiper=="string"?c.querySelector(u.swiper):u.swiper;if(p&&p.swiper)u.swiper=p.swiper,o(),l(!0);else if(p){const m=`${e.params.eventsPrefix}init`,h=v=>{u.swiper=v.detail[0],p.removeEventListener(m,h),o(),l(!0),u.swiper.update(),e.update()};p.addEventListener(m,h)}return p},d=()=>{if(e.destroyed)return;f()||requestAnimationFrame(d)};requestAnimationFrame(d)}else o(),l(!0)}),i("slideChange update resize observerUpdate",()=>{l()}),i("setTransition",(u,c)=>{const f=e.thumbs.swiper;!f||f.destroyed||f.setTransition(c)}),i("beforeDestroy",()=>{const u=e.thumbs.swiper;!u||u.destroyed||s&&u.destroy()}),Object.assign(e.thumbs,{init:o,update:l})}function rp(n){let{swiper:e,extendParams:t,emit:i,once:r}=n;t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function s(){if(e.params.cssMode)return;const l=e.getTranslate();e.setTranslate(l),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function a(){if(e.params.cssMode)return;const{touchEventsData:l,touches:u}=e;l.velocities.length===0&&l.velocities.push({position:u[e.isHorizontal()?"startX":"startY"],time:l.touchStartTime}),l.velocities.push({position:u[e.isHorizontal()?"currentX":"currentY"],time:Ht()})}function o(l){let{currentPos:u}=l;if(e.params.cssMode)return;const{params:c,wrapperEl:f,rtlTranslate:d,snapGrid:p,touchEventsData:m}=e,v=Ht()-m.touchStartTime;if(u<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(u>-e.maxTranslate()){e.slides.length1){const C=m.velocities.pop(),x=m.velocities.pop(),S=C.position-x.position,O=C.time-x.time;e.velocity=S/O,e.velocity/=2,Math.abs(e.velocity)150||Ht()-C.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=c.freeMode.momentumVelocityRatio,m.velocities.length=0;let _=1e3*c.freeMode.momentumRatio;const w=e.velocity*_;let g=e.translate+w;d&&(g=-g);let y=!1,D;const E=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let b;if(ge.minTranslate())c.freeMode.momentumBounce?(g-e.minTranslate()>E&&(g=e.minTranslate()+E),D=e.minTranslate(),y=!0,m.allowMomentumBounce=!0):g=e.minTranslate(),c.loop&&c.centeredSlides&&(b=!0);else if(c.freeMode.sticky){let C;for(let x=0;x-g){C=x;break}Math.abs(p[C]-g){e.loopFix()}),e.velocity!==0){if(d?_=Math.abs((-g-e.translate)/e.velocity):_=Math.abs((g-e.translate)/e.velocity),c.freeMode.sticky){const C=Math.abs((d?-g:g)-e.translate),x=e.slidesSizesGrid[e.activeIndex];C{!e||e.destroyed||!m.allowMomentumBounce||(i("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(D),xs(f,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(i("_freeModeNoMomentumRelease"),e.updateProgress(g),e.setTransition(_),e.setTranslate(g),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,xs(f,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(g),e.updateActiveIndex(),e.updateSlidesClasses()}else if(c.freeMode.sticky){e.slideToClosest();return}else c.freeMode&&i("_freeModeNoMomentumRelease");(!c.freeMode.momentum||v>=c.longSwipesMs)&&(i("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:s,onTouchMove:a,onTouchEnd:o}})}function sp(n){let{swiper:e,extendParams:t,on:i}=n;t({grid:{rows:1,fill:"column"}});let r,s,a,o;const l=()=>{let h=e.params.spaceBetween;return typeof h=="string"&&h.indexOf("%")>=0?h=parseFloat(h.replace("%",""))/100*e.size:typeof h=="string"&&(h=parseFloat(h)),h},u=h=>{const{slidesPerView:v}=e.params,{rows:_,fill:w}=e.params.grid,g=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:h.length;a=Math.floor(g/_),Math.floor(g/_)===g/_?r=g:r=Math.ceil(g/_)*_,v!=="auto"&&w==="row"&&(r=Math.max(r,v*_)),s=r/_},c=()=>{e.slides&&e.slides.forEach(h=>{h.swiperSlideGridSet&&(h.style.height="",h.style[e.getDirectionLabel("margin-top")]="")})},f=(h,v,_)=>{const{slidesPerGroup:w}=e.params,g=l(),{rows:y,fill:D}=e.params.grid,E=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:_.length;let b,C,x;if(D==="row"&&w>1){const S=Math.floor(h/(w*y)),O=h-y*w*S,M=S===0?w:Math.min(Math.ceil((E-S*y*w)/y),w);x=Math.floor(O/M),C=O-x*M+S*w,b=C+x*r/y,v.style.order=b}else D==="column"?(C=Math.floor(h/y),x=h-C*y,(C>a||C===a&&x===y-1)&&(x+=1,x>=y&&(x=0,C+=1))):(x=Math.floor(h/s),C=h-x*s);v.row=x,v.column=C,v.style.height=`calc((100% - ${(y-1)*g}px) / ${y})`,v.style[e.getDirectionLabel("margin-top")]=x!==0?g&&`${g}px`:"",v.swiperSlideGridSet=!0},d=(h,v)=>{const{centeredSlides:_,roundLengths:w}=e.params,g=l(),{rows:y}=e.params.grid;if(e.virtualSize=(h+g)*r,e.virtualSize=Math.ceil(e.virtualSize/y)-g,e.params.cssMode||(e.wrapperEl.style[e.getDirectionLabel("width")]=`${e.virtualSize+g}px`),_){const D=[];for(let E=0;E{o=e.params.grid&&e.params.grid.rows>1},m=()=>{const{params:h,el:v}=e,_=h.grid&&h.grid.rows>1;o&&!_?(v.classList.remove(`${h.containerModifierClass}grid`,`${h.containerModifierClass}grid-column`),a=1,e.emitContainerClasses()):!o&&_&&(v.classList.add(`${h.containerModifierClass}grid`),h.grid.fill==="column"&&v.classList.add(`${h.containerModifierClass}grid-column`),e.emitContainerClasses()),o=_};i("init",p),i("update",m),e.grid={initSlides:u,unsetSlides:c,updateSlide:f,updateWrapperSize:d}}function np(n){const e=this,{params:t,slidesEl:i}=e;t.loop&&e.loopDestroy();const r=s=>{if(typeof s=="string"){const a=document.createElement("div");a.innerHTML=s,i.append(a.children[0]),a.innerHTML=""}else i.append(s)};if(typeof n=="object"&&"length"in n)for(let s=0;s{if(typeof o=="string"){const l=document.createElement("div");l.innerHTML=o,r.prepend(l.children[0]),l.innerHTML=""}else r.prepend(o)};if(typeof n=="object"&&"length"in n){for(let o=0;o=o){t.appendSlide(e);return}let l=a>n?a+1:a;const u=[];for(let c=o-1;c>=n;c-=1){const f=t.slides[c];f.remove(),u.unshift(f)}if(typeof e=="object"&&"length"in e){for(let c=0;cn?a+e.length:a}else s.append(e);for(let c=0;c{if(t.params.effect!==e)return;t.classNames.push(`${t.params.containerModifierClass}${e}`),o&&o()&&t.classNames.push(`${t.params.containerModifierClass}3d`);const f=a?a():{};Object.assign(t.params,f),Object.assign(t.originalParams,f)}),i("setTranslate",()=>{t.params.effect===e&&r()}),i("setTransition",(f,d)=>{t.params.effect===e&&s(d)}),i("transitionEnd",()=>{if(t.params.effect===e&&l){if(!u||!u().slideShadows)return;t.slides.forEach(f=>{f.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(d=>d.remove())}),l()}});let c;i("virtualUpdate",()=>{t.params.effect===e&&(t.slides.length||(c=!0),requestAnimationFrame(()=>{c&&t.slides&&t.slides.length&&(r(),c=!1)}))})}function Es(n,e){const t=ur(e);return t!==e&&(t.style.backfaceVisibility="hidden",t.style["-webkit-backface-visibility"]="hidden"),t}function _n(n){let{swiper:e,duration:t,transformElements:i,allSlides:r}=n;const{activeIndex:s}=e,a=o=>o.parentElement?o.parentElement:e.slides.filter(u=>u.shadowRoot&&u.shadowRoot===o.parentNode)[0];if(e.params.virtualTranslate&&t!==0){let o=!1,l;r?l=i:l=i.filter(u=>{const c=u.classList.contains("swiper-slide-transform")?a(u):u;return e.getSlideIndex(c)===s}),l.forEach(u=>{xs(u,()=>{if(o||!e||e.destroyed)return;o=!0,e.animating=!1;const c=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(c)})})}}function dp(n){let{swiper:e,extendParams:t,on:i}=n;t({fadeEffect:{crossFade:!1}}),$r({effect:"fade",swiper:e,on:i,setTranslate:()=>{const{slides:a}=e,o=e.params.fadeEffect;for(let l=0;l{const o=e.slides.map(l=>ur(l));o.forEach(l=>{l.style.transitionDuration=`${a}ms`}),_n({swiper:e,duration:a,transformElements:o,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function fp(n){let{swiper:e,extendParams:t,on:i}=n;t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const r=(l,u,c)=>{let f=c?l.querySelector(".swiper-slide-shadow-left"):l.querySelector(".swiper-slide-shadow-top"),d=c?l.querySelector(".swiper-slide-shadow-right"):l.querySelector(".swiper-slide-shadow-bottom");f||(f=At("div",`swiper-slide-shadow-cube swiper-slide-shadow-${c?"left":"top"}`.split(" ")),l.append(f)),d||(d=At("div",`swiper-slide-shadow-cube swiper-slide-shadow-${c?"right":"bottom"}`.split(" ")),l.append(d)),f&&(f.style.opacity=Math.max(-u,0)),d&&(d.style.opacity=Math.max(u,0))};$r({effect:"cube",swiper:e,on:i,setTranslate:()=>{const{el:l,wrapperEl:u,slides:c,width:f,height:d,rtlTranslate:p,size:m,browser:h}=e,v=vn(e),_=e.params.cubeEffect,w=e.isHorizontal(),g=e.virtual&&e.params.virtual.enabled;let y=0,D;_.shadow&&(w?(D=e.wrapperEl.querySelector(".swiper-cube-shadow"),D||(D=At("div","swiper-cube-shadow"),e.wrapperEl.append(D)),D.style.height=`${f}px`):(D=l.querySelector(".swiper-cube-shadow"),D||(D=At("div","swiper-cube-shadow"),l.append(D))));for(let b=0;b-1&&(y=x*90+M*90,p&&(y=-x*90-M*90)),C.style.transform=I,_.slideShadows&&r(C,M,w)}if(u.style.transformOrigin=`50% 50% -${m/2}px`,u.style["-webkit-transform-origin"]=`50% 50% -${m/2}px`,_.shadow)if(w)D.style.transform=`translate3d(0px, ${f/2+_.shadowOffset}px, ${-f/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${_.shadowScale})`;else{const b=Math.abs(y)-Math.floor(Math.abs(y)/90)*90,C=1.5-(Math.sin(b*2*Math.PI/360)/2+Math.cos(b*2*Math.PI/360)/2),x=_.shadowScale,S=_.shadowScale/C,O=_.shadowOffset;D.style.transform=`scale3d(${x}, 1, ${S}) translate3d(0px, ${d/2+O}px, ${-d/2/S}px) rotateX(-89.99deg)`}const E=(h.isSafari||h.isWebView)&&h.needPerspectiveFix?-m/2:0;u.style.transform=`translate3d(0px,0,${E}px) rotateX(${v(e.isHorizontal()?0:y)}deg) rotateY(${v(e.isHorizontal()?-y:0)}deg)`,u.style.setProperty("--swiper-cube-translate-z",`${E}px`)},setTransition:l=>{const{el:u,slides:c}=e;if(c.forEach(f=>{f.style.transitionDuration=`${l}ms`,f.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(d=>{d.style.transitionDuration=`${l}ms`})}),e.params.cubeEffect.shadow&&!e.isHorizontal()){const f=u.querySelector(".swiper-cube-shadow");f&&(f.style.transitionDuration=`${l}ms`)}},recreateShadows:()=>{const l=e.isHorizontal();e.slides.forEach(u=>{const c=Math.max(Math.min(u.progress,1),-1);r(u,c,l)})},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})}function Nr(n,e,t){const i=`swiper-slide-shadow${t?`-${t}`:""}${n?` swiper-slide-shadow-${n}`:""}`,r=ur(e);let s=r.querySelector(`.${i.split(" ").join(".")}`);return s||(s=At("div",i.split(" ")),r.append(s)),s}function pp(n){let{swiper:e,extendParams:t,on:i}=n;t({flipEffect:{slideShadows:!0,limitRotation:!0}});const r=(l,u)=>{let c=e.isHorizontal()?l.querySelector(".swiper-slide-shadow-left"):l.querySelector(".swiper-slide-shadow-top"),f=e.isHorizontal()?l.querySelector(".swiper-slide-shadow-right"):l.querySelector(".swiper-slide-shadow-bottom");c||(c=Nr("flip",l,e.isHorizontal()?"left":"top")),f||(f=Nr("flip",l,e.isHorizontal()?"right":"bottom")),c&&(c.style.opacity=Math.max(-u,0)),f&&(f.style.opacity=Math.max(u,0))};$r({effect:"flip",swiper:e,on:i,setTranslate:()=>{const{slides:l,rtlTranslate:u}=e,c=e.params.flipEffect,f=vn(e);for(let d=0;d{const u=e.slides.map(c=>ur(c));u.forEach(c=>{c.style.transitionDuration=`${l}ms`,c.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(f=>{f.style.transitionDuration=`${l}ms`})}),_n({swiper:e,duration:l,transformElements:u})},recreateShadows:()=>{e.params.flipEffect,e.slides.forEach(l=>{let u=l.progress;e.params.flipEffect.limitRotation&&(u=Math.max(Math.min(l.progress,1),-1)),r(l,u)})},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function hp(n){let{swiper:e,extendParams:t,on:i}=n;t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),$r({effect:"coverflow",swiper:e,on:i,setTranslate:()=>{const{width:a,height:o,slides:l,slidesSizesGrid:u}=e,c=e.params.coverflowEffect,f=e.isHorizontal(),d=e.translate,p=f?-d+a/2:-d+o/2,m=f?c.rotate:-c.rotate,h=c.depth,v=vn(e);for(let _=0,w=l.length;_0?b:0),L&&(L.style.opacity=-b>0?-b:0)}}},setTransition:a=>{e.slides.map(l=>ur(l)).forEach(l=>{l.style.transitionDuration=`${a}ms`,l.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(u=>{u.style.transitionDuration=`${a}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}function mp(n){let{swiper:e,extendParams:t,on:i}=n;t({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const r=o=>typeof o=="string"?o:`${o}px`;$r({effect:"creative",swiper:e,on:i,setTranslate:()=>{const{slides:o,wrapperEl:l,slidesSizesGrid:u}=e,c=e.params.creativeEffect,{progressMultiplier:f}=c,d=e.params.centeredSlides,p=vn(e);if(d){const m=u[0]/2-e.params.slidesOffsetBefore||0;l.style.transform=`translateX(calc(50% - ${m}px))`}for(let m=0;m0&&(b=c.prev,E=!0),y.forEach((k,z)=>{y[z]=`calc(${k}px + (${r(b.translate[z])} * ${Math.abs(_*f)}))`}),D.forEach((k,z)=>{let I=b.rotate[z]*Math.abs(_*f);D[z]=I}),h.style.zIndex=-Math.abs(Math.round(v))+o.length;const C=y.join(", "),x=`rotateX(${p(D[0])}deg) rotateY(${p(D[1])}deg) rotateZ(${p(D[2])}deg)`,S=w<0?`scale(${1+(1-b.scale)*w*f})`:`scale(${1-(1-b.scale)*w*f})`,O=w<0?1+(1-b.opacity)*w*f:1-(1-b.opacity)*w*f,M=`translate3d(${C}) ${x} ${S}`;if(E&&b.shadow||!E){let k=h.querySelector(".swiper-slide-shadow");if(!k&&b.shadow&&(k=Nr("creative",h)),k){const z=c.shadowPerProgress?_*(1/c.limitProgress):_;k.style.opacity=Math.min(Math.max(Math.abs(z),0),1)}}const P=Es(c,h);P.style.transform=M,P.style.opacity=O,b.origin&&(P.style.transformOrigin=b.origin)}},setTransition:o=>{const l=e.slides.map(u=>ur(u));l.forEach(u=>{u.style.transitionDuration=`${o}ms`,u.querySelectorAll(".swiper-slide-shadow").forEach(c=>{c.style.transitionDuration=`${o}ms`})}),_n({swiper:e,duration:o,transformElements:l,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}function gp(n){let{swiper:e,extendParams:t,on:i}=n;t({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),$r({effect:"cards",swiper:e,on:i,setTranslate:()=>{const{slides:a,activeIndex:o,rtlTranslate:l}=e,u=e.params.cardsEffect,{startTranslate:c,isTouched:f}=e.touchEventsData,d=l?-e.translate:e.translate;for(let p=0;p0&&v<1&&(f||e.params.cssMode)&&d-1&&(f||e.params.cssMode)&&d>c;if(x||S){const k=(1-Math.abs((Math.abs(v)-.5)/.5))**.5;E+=-28*v*k,D+=-.5*k,b+=96*k,g=`${-25*k*Math.abs(v)}%`}if(v<0?w=`calc(${w}px ${l?"-":"+"} (${b*Math.abs(v)}%))`:v>0?w=`calc(${w}px ${l?"-":"+"} (-${b*Math.abs(v)}%))`:w=`${w}px`,!e.isHorizontal()){const k=g;g=w,w=k}const O=v<0?`${1+(1-D)*v}`:`${1-(1-D)*v}`,M=` translate3d(${w}, ${g}, ${y}px) rotateZ(${u.rotate?l?-E:E:0}deg) scale(${O}) `;if(u.slideShadows){let k=m.querySelector(".swiper-slide-shadow");k||(k=Nr("cards",m)),k&&(k.style.opacity=Math.min(Math.max((Math.abs(v)-.5)/.5,0),1))}m.style.zIndex=-Math.abs(Math.round(h))+a.length;const P=Es(u,m);P.style.transform=M}},setTransition:a=>{const o=e.slides.map(l=>ur(l));o.forEach(l=>{l.style.transitionDuration=`${a}ms`,l.querySelectorAll(".swiper-slide-shadow").forEach(u=>{u.style.transitionDuration=`${a}ms`})}),_n({swiper:e,duration:a,transformElements:o})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}const vp=[Hf,Vf,Xf,qf,Wf,Uf,jf,Zf,Qf,Kf,Jf,ep,tp,ip,rp,sp,cp,dp,fp,pp,hp,mp,gp];tt.use(vp),G.registerPlugin(q);function wp(){let n=G.matchMedia(),e=992;n.add({isDesktop:`(min-width: ${e}px)`,isMobile:`(max-width: ${e-1}px)`},t=>{t.conditions,n.add("(min-width: 481px)",()=>{G.to(".header__background",{borderBottom:"0.818px solid rgba(255, 255, 255, 0.21)",backgroundColor:"rgba(3, 16, 9, 0.75)",boxShadow:"0px 3.273px 35.182px 0px rgba(3, 17, 9, 0.13)",backdropFilter:"blur(16.59px)",duration:.3,scrollTrigger:{start:"top+=100 top",end:"+=1",toggleActions:"play none none reverse"}})}),n.add("(max-width: 480px)",()=>{G.set(".header__background",{borderBottom:"0.818px solid rgba(255, 255, 255, 0.21)",backgroundColor:"rgba(3, 16, 9, 0.75)",boxShadow:"0px 3.273px 35.182px 0px rgba(3, 17, 9, 0.13)",backdropFilter:"blur(16.59px)",duration:.3})});let i=!0;const r=10,s=1200,a=r*1e3-s,o=document.querySelectorAll(".h-hero__navigation-item"),l=new tt(".h-hero__slider-wrapper",{direction:"horizontal",keyboard:!1,mousewheel:!1,speed:s,parallax:!0,autoplay:{delay:a,disableOnInteraction:!1},on:{init:function(){c(this),f(this),d(this)},slideChangeTransitionStart:function(){u(this),f(this),d(this)},slideChangeTransitionEnd:function(){c(this)}}});o.forEach((g,y)=>{g.addEventListener("click",()=>{l.slideTo(y)})});function u(g){g.slides.forEach(y=>{const D=y.querySelector(".h-hero__slider-video");D&&(D.pause(),D.currentTime=0,D.muted=!0)})}function c(g){const y=g.activeIndex,E=g.slides[y].querySelector(".h-hero__slider-video");if(E)if(E.muted=i,window.innerWidth>e-1){const b=E.play();b!==void 0&&b.catch(C=>{console.log("Video play error:",C)})}else E.pause(),E.currentTime=0}function f(g){const y=g.activeIndex;o.forEach((D,E)=>{const b=D.querySelector(".h-hero__navigation-text");window.innerWidth<480?D.style.display=E===y?"flex":"none":D.style.display="flex",E===y?(D.style.background="linear-gradient(0deg, rgba(10, 22, 12, 0.65) 0%, rgba(10, 22, 12, 0.65) 100%), rgba(54, 227, 110, 0.25)",D.style.backdropFilter="blur(16px)",b&&(b.style.background="var(--gradient_onDark, linear-gradient(45deg, #36E36E 0%, #78FFC6 25%, #CFFF73 50%, #36E36E 75%, #35F0FF 100%))",b.style.backgroundClip="text",b.style.webkitBackgroundClip="text",b.style.webkitTextFillColor="transparent")):(D.style.background="rgba(10, 22, 12, 0.65)",D.style.backdropFilter="blur(16px)",b&&(b.style.background="none",b.style.backgroundClip="initial",b.style.webkitBackgroundClip="initial",b.style.webkitTextFillColor="white"))})}function d(g){const y=g.activeIndex;o.forEach((b,C)=>{const x=b.querySelector(".h-hero__navigation-bar");x&&(G.killTweensOf(x),G.set(x,{scaleX:0}))});const E=o[y].querySelector(".h-hero__navigation-bar");E&&G.fromTo(E,{scaleX:0},{scaleX:1,duration:r,ease:"linear"})}function p(){document.hidden||(o[1].click(),setTimeout(()=>{o[0].click()},100))}typeof document.hidden<"u"?document.addEventListener("visibilitychange",p):window.addEventListener("focus",p);const m=document.querySelector(".h-hero__navigation-wrapper");if(m){const g=()=>{window.innerWidth{m.removeEventListener("click",g),m.addEventListener("click",g)})}G.timeline({scrollTrigger:{trigger:".h-hero__wrapper",start:"top top",end:"bottom top",scrub:!0}}).to(".h-hero__title",{y:"-10rem",ease:"none"}).to(".h-hero__subtitle-wrapper",{y:"-7rem",ease:"none"},"<");const h=document.querySelector(".h-hero__sound-button"),v=document.querySelector(".h-hero__sound-icon--on"),_=document.querySelector(".h-hero__sound-icon--off");h&&h.addEventListener("click",w);function w(){i=!i;const g=document.querySelector(".swiper-slide-active .h-hero__slider-video");g&&(g.muted=i),v.style.display=i?"none":"block",_.style.display=i?"block":"none"}})}G.registerPlugin(Ri),G.registerPlugin(q,Ri);function Au(n){const e=new Ri(n,{type:"words"});G.from(e.words,{opacity:.1,duration:1,stagger:1,ease:"none",scrollTrigger:{trigger:n,start:"top 90%",end:"top 30%",scrub:!0}})}function _p(){let n=G.matchMedia(),e=992;n.add({isDesktop:`(min-width: ${e}px)`,isMobile:`(max-width: ${e-1}px)`},t=>{let{isDesktop:i,isMobile:r}=t.conditions;Au(".h-believe__title"),G.to(".h-believe__image--top",{opacity:1,ease:"none",scrollTrigger:{trigger:".h-believe__wrapper",start:"top bottom",end:"top top",scrub:!0}}),G.to(".h-believe__icon--top",{opacity:1,ease:"none",scrollTrigger:{trigger:".h-believe__wrapper",start:"top bottom",end:"top top",scrub:!0}}),G.from(".h-believe__cols--top",{scaleY:i?.5:1,ease:"none",scrollTrigger:{trigger:".section--believe",start:"top bottom",end:"top top",scrub:!0}}),G.from(".h-believe__cols--bottom",{scaleY:i?.5:1,ease:"none",scrollTrigger:{trigger:".section--believe",start:"bottom bottom",end:"bottom top",scrub:!0}}),G.fromTo(".h-believe__image-wrapper",{y:i?"5rem":0},{y:i?"-5rem":0,ease:"none",scrollTrigger:{trigger:".section--believe",start:"top bottom",end:"bottom top",scrub:!0}})})}G.registerPlugin(q,Ri);function yn(n){const e=new Ri(n,{type:"lines"});G.from(e.lines,{opacity:0,y:"2rem",duration:1.4,stagger:.15,ease:"power4.out",scrollTrigger:{trigger:n,start:"top 80%",toggleActions:"play none none reverse"}})}G.registerPlugin(q,Ri);function yp(){let n=G.matchMedia(),e=992;n.add({isDesktop:`(min-width: ${e}px)`,isMobile:`(max-width: ${e-1}px)`},t=>{t.conditions,yn(".h-content__title"),G.to(".h-content__icon",{y:"-3rem",ease:"none",scrollTrigger:{trigger:".h-content__title",start:"top bottom",end:"bottom top",scrub:!0}})})}G.registerPlugin(be);function Dp(){let n=G.matchMedia();function e(){const r=document.querySelectorAll(".header__toggle-wrapper.active"),s=document.querySelector(".mask");r.forEach(a=>{a.classList.remove("active"),a.querySelector(".header__toggle-parent")}),s&&s.classList.remove("mask--active")}document.querySelectorAll(".header__toggle-wrapper").forEach(r=>{const s=r.querySelector(".header__nav-link-wrapper"),a=document.querySelector(".mask");s.addEventListener("mouseenter",()=>{e(),r.classList.add("active"),a&&a.classList.add("mask--active")})}),document.querySelectorAll(".header__nav-link, .header__nav-link-wrapper").forEach(r=>{r.closest(".header__toggle-wrapper")||r.addEventListener("mouseenter",e)});const t=document.querySelector(".header__nav");t&&t.addEventListener("mouseleave",e);const i=document.querySelector("header");n.add("(min-width: 480px)",()=>{let r=G.timeline({paused:!0});r.to(i,{yPercent:-100,duration:.3,ease:"power2.inOut"}),be.create({target:window,type:"scroll",onChangeY:s=>{s.scrollY()>200?s.deltaY>0?r.play():s.deltaY<0&&r.reverse():r.reverse()}})}),n.add("(max-width: 480px)",()=>{G.set(".header__background",{borderBottom:"0.818px solid rgba(255, 255, 255, 0.21)",backgroundColor:"rgba(3, 16, 9, 0.75)",boxShadow:"0px 3.273px 35.182px 0px rgba(3, 17, 9, 0.13)",backdropFilter:"blur(16.59px)",duration:0});const r=[],s=document.querySelector(".button--burger"),a=document.querySelectorAll(".header__nav-link-wrapper"),o=G.timeline({paused:!0,reversed:!0}).to(".header__nav-col",{yPercent:100,duration:1.2,ease:"power2.inOut"},"<").fromTo(a,{opacity:0},{opacity:1,stagger:.1,duration:.2,ease:"power2.inOut"});s.addEventListener("click",u=>{o.reversed()?(o.play(),document.querySelector("html").style.overflow="hidden"):(o.reverse(),document.querySelector("html").style.overflow="auto",r.forEach(c=>{c.reversed()||c.reverse()}))}),document.querySelectorAll(".header__toggle-wrapper").forEach(u=>{const c=u.querySelector(".header__nav-link-wrapper--toggle"),f=u.querySelector(".header__toggle-content");if(c&&f){const d=G.timeline({paused:!0,reversed:!0}).to(f,{height:"auto",duration:1,ease:"power2.inOut"}).to([c,u.querySelector(".header__nav-link--text")],{color:"#36e36e",duration:.8,ease:"power2.inOut"},"<").to(u.querySelector(".header__nav-arrow"),{rotation:180,duration:.8,ease:"power2.inOut"},"<");r.push(d),c.addEventListener("click",()=>{d.reversed()?d.play():d.reverse()})}})})}G.registerPlugin(q);function bp(){let n=G.matchMedia(),e=992;n.add("(max-width: 480px)",()=>{const t=document.querySelector(".h-features__head"),i=document.querySelector(".h-features__list-cl-wrapper--toggle"),r=document.querySelectorAll(".h-features__list-item"),s=G.timeline({paused:!0,reversed:!0}).to(i,{height:"auto",duration:.8,ease:"power2.inOut"});t.addEventListener("click",()=>{s.reversed()?s.play():s.reverse()}),r.forEach(a=>{a.addEventListener("click",()=>{s.reversed()||s.reverse()})})}),n.add({isDesktop:`(min-width: ${e}px)`,isMobile:`(max-width: ${e-1}px)`},t=>{let{isDesktop:i,isMobile:r}=t.conditions;const s=new tt(".h-features__images-cl-wrapper",{direction:"horizontal",mousewheel:!1,speed:1e3,parallax:!0,on:{slideChangeTransitionStart:function(){this.slides[this.activeIndex];const f=this.slides[this.previousIndex];if(f){const d=f.querySelector(".slide-mask");G.to(d,{opacity:.5,duration:.7,ease:"power2.inOut"})}},slideChangeTransitionEnd:function(){this.slides.forEach(f=>{const d=f.querySelector(".slide-mask");G.to(d,{opacity:0,duration:.5,ease:"power2.out"})})}}}),a=document.querySelectorAll(".h-features__list-item"),o=document.querySelector(".h-features__list-active"),l=100/a.length;o.style.height=`${l}%`;function u(f){const d=f*l;G.to(o,{duration:.5,ease:"power2.out",top:`${d}%`})}function c(f){a.forEach((d,p)=>{d.classList.remove("active"),i&&(p{f.addEventListener("click",()=>{s.slideTo(d),u(d),c(d)})}),s.on("slideChange",function(){const f=s.activeIndex;u(f),c(f)}),u(s.activeIndex),c(s.activeIndex),yn(".h-features__title"),G.from(".h-features__col",{scaleY:i?.5:1,ease:"none",scrollTrigger:{trigger:".h-content__wrapper",start:"bottom bottom",end:"bottom top",scrub:!0}}),s.params.autoplay={delay:3e3,disableOnInteraction:!1},q.create({trigger:".h-features__images-cl-wrapper",start:"top 80%",onEnter:()=>{s.autoplay.start()},onLeave:()=>{s.autoplay.stop()},onEnterBack:()=>{s.autoplay.start()},onLeaveBack:()=>{s.autoplay.stop()}})})}G.registerPlugin(q);function xp(){let n=G.matchMedia(),e=992;n.add({isDesktop:`(min-width: ${e}px)`,isMobile:`(max-width: ${e-1}px)`},t=>{let{isDesktop:i,isMobile:r}=t.conditions;G.from(".h-marquee__cols",{scaleY:i?.5:1,ease:"none",scrollTrigger:{trigger:".section--h-marquee",start:"top bottom",end:"top top",scrub:!0}}),yn(".h-marquee__title");const s=G.timeline({repeat:-1}).to(".h-marquee__col",{xPercent:-100,duration:20,ease:"none"}),a=document.querySelector(".arrow--left-marquee"),o=document.querySelector(".arrow--right-marquee");a.addEventListener("mousedown",()=>{s.timeScale(4)}),a.addEventListener("mouseup",()=>{s.timeScale(1)}),a.addEventListener("mouseleave",()=>{s.timeScale(1)}),o.addEventListener("mousedown",()=>{s.timeScale(.25)}),o.addEventListener("mouseup",()=>{s.timeScale(1)}),o.addEventListener("mouseleave",()=>{s.timeScale(1)}),document.querySelectorAll(".h-marquee__item").forEach(u=>{u.addEventListener("mouseenter",()=>s.pause()),u.addEventListener("mouseleave",()=>s.play())})})}G.registerPlugin(q);function Ep(){let n=G.matchMedia(),e=992;n.add({isDesktop:`(min-width: ${e}px)`,isMobile:`(max-width: ${e-1}px)`},t=>{const i=document.querySelectorAll(".h-uc__row"),r=document.querySelectorAll(".h-uc__image-wrapper"),s=document.querySelectorAll(".h-uc__image");i.forEach((a,o)=>{r[o]&&s[o]&&o<2&&G.timeline({scrollTrigger:{trigger:a,start:"bottom center",end:"bottom top",scrub:!0}}).to(r[o],{opacity:0,ease:"none"})})})}G.registerPlugin(q);function Sp(){let n=G.matchMedia(),e=992;n.add({isDesktop:`(min-width: ${e}px)`,isMobile:`(max-width: ${e-1}px)`},t=>{let{isDesktop:i,isMobile:r}=t.conditions;G.fromTo(".h-infrastructure__grid",{y:i?"5rem":0},{y:i?"-5rem":0,ease:"none",scrollTrigger:{trigger:".h-infrastructure__wrapper",start:"top bottom",end:"bottom top",scrub:!0}}),G.from(".h-channel__cols",{scaleY:i?.5:1,ease:"none",scrollTrigger:{trigger:".h-channel__wrapper",start:"bottom bottom",end:"bottom top",scrub:!0}}),G.from(".h-videos__cols",{scaleY:i?.5:1,ease:"none",scrollTrigger:{trigger:".h-experiences__wrapper",start:"bottom bottom",end:"bottom top",scrub:!0}}),yn(".h-channel__title")})}function Tp(){const n=new tt(".h-experiences__slider-wrapper",{direction:"horizontal",loop:!0,slidesPerView:1.1,spaceBetween:16,speed:1e3,centeredSlides:!0,cardsEffect:{slideShadows:!1,perSlideScale:.85},breakpoints:{479:{slidesPerView:2}},autoplay:{delay:1e4,disableOnInteraction:!1},on:{init:function(){e(this)},slideChange:function(){e(this)}}});function e(r){const s=r.slides,a=r.activeIndex;s.forEach((o,l)=>{l{n.slidePrev()}),i.addEventListener("click",()=>{n.slideNext()})}function Cp(){window.innerWidth<480&&new tt(".h-videos__cl-wrapper",{direction:"horizontal",loop:!1,speed:800,grabCursor:!0,freeMode:!0,freeModeMomentum:!0,freeModeMomentumRatio:1,slidesPerView:1.1,spaceBetween:16})}G.registerPlugin(q);function Ap(){Au(".h-visual__title"),document.querySelectorAll(".trigger__item"),G.set(".h-visual__image--open",{opacity:0}),G.set(".h-visual__image--closed",{opacity:1}),G.set(".h-visual__overlay",{opacity:1,scale:1}),G.set(".h-visual__inner-image",{opacity:0,scale:.9}),G.to(".h-visual__steps-progress",{scaleX:1.1,stagger:1,duration:1,ease:"none",scrollTrigger:{trigger:".h-visual__sticky-wrapper",start:"top top",end:"bottom bottom",scrub:!0}});const n=G.matchMedia();n.add("(max-width: 480px)",()=>{G.set(".h-visual__overlay",{opacity:0}),G.set(".h-visual__steps-item--mobile",{opacity:0});const e=G.timeline({scrollTrigger:{trigger:".h-visual__sticky-wrapper",start:"top top",end:"bottom bottom",scrub:.5}});e.to(".h-visual__image--closed",{opacity:1,duration:.2},0),document.querySelectorAll(".h-visual__steps-item--mobile").forEach((s,a)=>{const o=s.querySelector(".h-visual__steps-progress--mobile");e.to(s,{opacity:1,duration:.1},a*.3).to(o,{scaleX:1.1,duration:.2},a*.3).to(s,{opacity:0,duration:.1},(a+1)*.3-.1)});const i=document.querySelectorAll(".h-visual__inner-image"),r=G.timeline({scrollTrigger:{trigger:".h-visual__sticky-wrapper",start:"top top",end:"bottom bottom",scrub:!0}});i.forEach((s,a)=>{const o=a*.31;r.fromTo(s,{opacity:0,scale:.9,y:"110%"},{opacity:1,scale:1,y:"0%",duration:.3,ease:"power2.inOut"},o).to(s,{opacity:0,scale:.9,y:"-110%",duration:.3,ease:"power2.inOut"},o+.3)}),e.to(".h-visual__image--open",{opacity:1,duration:.075},.6).to(".h-visual__image--closed",{opacity:0,duration:.075},.6).from(".h-visual__lottie-wrapper",{opacity:0,scale:.75,duration:.4,ease:"power2.out"},.8).from(".h-visual__lottie-image",{scale:1.33,filter:"blur(20px)",duration:.4,ease:"power2.out"},.8)}),n.add("(min-width: 481px)",()=>{G.timeline({scrollTrigger:{trigger:".h-visual__sticky-wrapper",start:"top top",end:"bottom bottom",scrub:.5}}).to(".h-visual__overlay",{scale:.7,opacity:0,duration:.2},.1).to(".h-visual__image--open",{opacity:1,duration:.075},.5).to(".h-visual__image--closed",{opacity:0,duration:.075},.5).from(".h-visual__lottie-wrapper",{opacity:0,scale:.75,duration:.4,ease:"power2.out"},.6).from(".h-visual__lottie-image",{scale:1.33,filter:"blur(20px)",duration:.4,ease:"power2.out"},.6),document.querySelectorAll(".h-visual__inner-image").forEach((i,r)=>{G.timeline({scrollTrigger:{trigger:".h-visual__sticky-wrapper",start:`top+=${r*20}% top`,end:`top+=${(r+1)*20}% top`,scrub:!0}}).to(i,{opacity:1,scale:1,y:"-100%",duration:.4}).to(i,{opacity:0,scale:.9,y:"0%",duration:.4},.6)})}),window.addEventListener("resize",()=>{q.refresh()})}document.addEventListener("DOMContentLoaded",function(){G.registerPlugin(q),q.config({autoRefreshEvents:"DOMContentLoaded,load"});const n=new Lu({syncTouch:!0});n.on("scroll",q.update),G.ticker.add(t=>{n.raf(t*1e3)}),G.ticker.lagSmoothing(0),document.querySelectorAll("[data-lenis-toggle]").forEach(t=>{t.addEventListener("click",function(){document.querySelector("body").classList.toggle("stop-scroll"),document.querySelector("body").classList.contains("stop-scroll")?n.stop():n.start()})}),(()=>{Dp(),document.body.classList.contains("body--home")&&Ed("img",{background:!0},function(t){wp(),_p(),Ap(),yp(),bp(),xp(),Ep(),Sp(),Tp(),Cp(),q.refresh()})})()})});