(function(Jr){typeof define=="function"&&define.amd?define(Jr):Jr()})(function(){"use strict";var Jr=document.createElement("style");Jr.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(Jr);function bo(s,e,t){return Math.max(s,Math.min(e,t))}class fc{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=bo(0,this.currentTime/this.duration,1);i=r>=1;const n=i?1:this.easing(r);this.value=this.from+(this.to-this.from)*n}else this.lerp?(this.value=function(n,a,o,l){return function(c,f,d){return(1-d)*c+d*f}(n,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:n,onStart:a,onUpdate:o}){this.from=this.value=e,this.to=t,this.lerp=i,this.duration=r,this.easing=n,this.currentTime=0,this.isRunning=!0,a==null||a(),this.onUpdate=o}}class pc{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 _o{constructor(){this.events={}}emit(e,...t){var i;let r=this.events[e]||[];for(let n=0,a=r.length;n{var r;this.events[e]=(r=this.events[e])===null||r===void 0?void 0:r.filter(n=>t!==n)}}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 Do=100/6,Ai={passive:!1};class hc{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 _o,this.onTouchStart=i=>{const{clientX:r,clientY:n}=i.targetTouches?i.targetTouches[0]:i;this.touchStart.x=r,this.touchStart.y=n,this.lastDelta={x:0,y:0},this.emitter.emit("scroll",{deltaX:0,deltaY:0,event:i})},this.onTouchMove=i=>{const{clientX:r,clientY:n}=i.targetTouches?i.targetTouches[0]:i,a=-(r-this.touchStart.x)*this.options.touchMultiplier,o=-(n-this.touchStart.y)*this.options.touchMultiplier;this.touchStart.x=r,this.touchStart.y=n,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:n,deltaMode:a}=i;r*=a===1?Do:a===2?this.window.width:1,n*=a===1?Do:a===2?this.window.height:1,r*=this.options.wheelMultiplier,n*=this.options.wheelMultiplier,this.emitter.emit("scroll",{deltaX:r,deltaY:n,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,Ai),this.element.addEventListener("touchstart",this.onTouchStart,Ai),this.element.addEventListener("touchmove",this.onTouchMove,Ai),this.element.addEventListener("touchend",this.onTouchEnd,Ai)}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,Ai),this.element.removeEventListener("touchstart",this.onTouchStart,Ai),this.element.removeEventListener("touchmove",this.onTouchMove,Ai),this.element.removeEventListener("touchend",this.onTouchEnd,Ai)}}class mc{constructor({wrapper:e=window,content:t=document.documentElement,eventsTarget:i=e,smoothWheel:r=!0,syncTouch:n=!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:h=1,wheelMultiplier:m=1,autoResize:w=!0,prevent:b,virtualScroll:v,__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 fc,this.emitter=new _o,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:_,deltaY:S,event:E}=y;if(this.emitter.emit("virtual-scroll",{deltaX:_,deltaY:S,event:E}),E.ctrlKey)return;const T=E.type.includes("touch"),A=E.type.includes("wheel");if(this.isTouching=E.type==="touchstart"||E.type==="touchmove",this.options.syncTouch&&T&&E.type==="touchstart"&&!this.isStopped&&!this.isLocked)return void this.reset();const M=_===0&&S===0,z=this.options.gestureOrientation==="vertical"&&S===0||this.options.gestureOrientation==="horizontal"&&_===0;if(M||z)return;let D=E.composedPath();D=D.slice(0,D.indexOf(this.rootElement));const x=this.options.prevent;if(D.find(P=>{var L,F,k,B,N;return P instanceof HTMLElement&&(typeof x=="function"&&(x==null?void 0:x(P))||((L=P.hasAttribute)===null||L===void 0?void 0:L.call(P,"data-lenis-prevent"))||T&&((F=P.hasAttribute)===null||F===void 0?void 0:F.call(P,"data-lenis-prevent-touch"))||A&&((k=P.hasAttribute)===null||k===void 0?void 0:k.call(P,"data-lenis-prevent-wheel"))||((B=P.classList)===null||B===void 0?void 0:B.contains("lenis"))&&!(!((N=P.classList)===null||N===void 0)&&N.contains("lenis-stopped")))}))return;if(this.isStopped||this.isLocked)return void E.preventDefault();if(!(this.options.syncTouch&&T||this.options.smoothWheel&&A))return this.isScrolling="native",void this.animate.stop();E.preventDefault();let C=S;this.options.gestureOrientation==="both"?C=Math.abs(S)>Math.abs(_)?S:_:this.options.gestureOrientation==="horizontal"&&(C=_);const O=T&&this.options.syncTouch,I=T&&E.type==="touchend"&&Math.abs(C)>5;I&&(C=this.velocity*this.options.touchInertiaMultiplier),this.scrollTo(this.targetScroll+C,Object.assign({programmatic:!1},O?{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:n,syncTouchLerp:a,touchInertiaMultiplier:o,duration:l,easing:u,lerp:c,infinite:f,gestureOrientation:p,orientation:d,touchMultiplier:h,wheelMultiplier:m,autoResize:w,prevent:b,virtualScroll:v,__experimental__naiveDimensions:g},this.dimensions=new pc(e,t,{autoResize:w}),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 hc(i,{touchMultiplier:h,wheelMultiplier:m}),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:n=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 m=this.rootElement.getBoundingClientRect();t-=this.isHorizontal?m.left:m.top}const h=p.getBoundingClientRect();e=(this.isHorizontal?h.left:h.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=bo(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:n,easing:a,lerp:o,onStart:()=>{r&&(this.isLocked=!0),this.isScrolling="smooth",l==null||l(this)},onUpdate:(p,h)=>{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),h||this.emit(),h&&(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 gi(s){if(s===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}function Eo(s,e){s.prototype=Object.create(e.prototype),s.prototype.constructor=s,s.__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:""}},xr={duration:.5,overwrite:!1,delay:0},Vs,Ze,be,zt=1e8,ue=1/zt,Gs=Math.PI*2,gc=Gs/4,vc=0,xo=Math.sqrt,wc=Math.cos,yc=Math.sin,Ie=function(e){return typeof e=="string"},_e=function(e){return typeof e=="function"},vi=function(e){return typeof e=="number"},qs=function(e){return typeof e>"u"},ni=function(e){return typeof e=="object"},pt=function(e){return e!==!1},Hs=function(){return typeof window<"u"},Yn=function(e){return _e(e)||Ie(e)},So=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Ke=Array.isArray,Ws=/(?:-?\.?\d|\.)+/gi,To=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,Sr=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,Xs=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Co=/[+-]=-?[.\d]+/,Ao=/[^,'"\[\]\s]+/gi,bc=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,he,Bt,js,Us,Dt={},Vn={},Mo,Po=function(e){return(Vn=ji(e,Dt))&&vt},Qs=function(e,t){return console.warn("Invalid property",e,"set to",t,"Missing plugin? gsap.registerPlugin()")},Gn=function(e,t){return!t&&console.warn(e)},ko=function(e,t){return e&&(Dt[e]=t)&&Vn&&(Vn[e]=t)||Dt},en=function(){return 0},_c={suppressEvents:!0,isStart:!0,kill:!1},qn={suppressEvents:!0,kill:!1},Dc={suppressEvents:!0},Zs={},Mi=[],Ks={},Fo,Et={},Js={},Lo=30,Hn=[],ea="",ta=function(e){var t=e[0],i,r;if(ni(t)||_e(t)||(e=[e]),!(i=(t._gsap||{}).harness)){for(r=Hn.length;r--&&!Hn[r].targetTest(t););i=Hn[r]}for(r=e.length;r--;)e[r]&&(e[r]._gsap||(e[r]._gsap=new ll(e[r],i)))||e.splice(r,1);return e},Xi=function(e){return e._gsap||ta($t(e))[0]._gsap},Oo=function(e,t,i){return(i=e[t])&&_e(i)?e[t]():qs(i)&&e.getAttribute&&e.getAttribute(t)||i},ht=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},Tr=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},Ec=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},jn=function(e,t,i,r){i===void 0&&(i="_first"),r===void 0&&(r="_last");var n=t._prev,a=t._next;n?n._next=a:e[i]===t&&(e[i]=a),a?a._prev=n:e[r]===t&&(e[r]=n),t._next=t._prev=t.parent=null},Pi=function(e,t){e.parent&&(!t||e.parent.autoRemoveChildren)&&e.parent.remove&&e.parent.remove(e),e._act=0},Ui=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},Tc=function(e){for(var t=e.parent;t&&t.parent;)t._dirty=1,t.totalDuration(),t=t.parent;return e},ia=function(e,t,i,r){return e._startAt&&(Ze?e._startAt.revert(qn):e.vars.immediateRender&&!e.vars.autoRevert||e._startAt.render(t,!0,r))},Cc=function s(e){return!e||e._ts&&s(e.parent)},$o=function(e){return e._repeat?Cr(e._tTime,e=e.duration()+e._rDelay)*e:0},Cr=function(e,t){var i=Math.floor(e/=t);return e&&i===e?i-1:i},Un=function(e,t){return(e-t._start)*t._ts+(t._ts>=0?0:t._dirty?t.totalDuration():t._tDur)},Qn=function(e){return e._end=Ye(e._start+(e._tDur/Math.abs(e._ts||e._rts||ue)||0))},Zn=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)),Qn(e),i._dirty||Ui(i,e)),e},Yo=function(e,t){var i;if((t._time||!t._dur&&t._initted||t._startue)&&t.render(i,!0)),Ui(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}},si=function(e,t,i,r){return t.parent&&Pi(t),t._start=Ye((vi(i)?i:i||e!==he?Nt(e,i,t):e._time)+t._delay),t._end=Ye(t._start+(t.totalDuration()/Math.abs(t.timeScale())||0)),No(e,t,"_first","_last",e._sort?"_start":0),ra(t)||(e._recent=t),r||Yo(e,t),e._ts<0&&Zn(e,e._tTime),e},Vo=function(e,t){return(Dt.ScrollTrigger||Qs("scrollTrigger",t))&&Dt.ScrollTrigger.create(t,e)},Go=function(e,t,i,r,n){if(fa(e,t,n),!e._initted)return 1;if(!i&&e._pt&&!Ze&&(e._dur&&e.vars.lazy!==!1||!e._dur&&e.vars.lazy)&&Fo!==xt.frame)return Mi.push(e),e._lazy=[n,r],1},Ac=function s(e){var t=e.parent;return t&&t._ts&&t._initted&&!t._lock&&(t.rawTime()<0||s(t))},ra=function(e){var t=e.data;return t==="isFromStart"||t==="isStart"},Mc=function(e,t,i,r){var n=e.ratio,a=t<0||!t&&(!e._start&&Ac(e)&&!(!e._initted&&ra(e))||(e._ts<0||e._dp._ts<0)&&!ra(e))?0:1,o=e._rDelay,l=0,u,c,f;if(o&&e._repeat&&(l=nn(0,e._tDur,t),c=Cr(l,o),e._yoyo&&c&1&&(a=1-a),c!==Cr(e._tTime,o)&&(n=1-a,e.vars.repeatRefresh&&e._initted&&e.invalidate())),a!==n||Ze||r||e._zTime===ue||!t&&e._zTime){if(!e._initted&&Go(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&&ia(e,t,i,!0),e._onUpdate&&!i&&Yt(e,"onUpdate"),l&&e._repeat&&!i&&e.parent&&Yt(e,"onRepeat"),(t>=e._tDur||t<0)&&e.ratio===a&&(a&&Pi(e,1),!i&&!Ze&&(Yt(e,a?"onComplete":"onReverseComplete",!0),e._prom&&e._prom()))}else e._zTime||(e._zTime=t)},Pc=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&&Zn(e,e._tTime=e._tDur*o),e.parent&&Qn(e),i||Ui(e.parent,e),e},qo=function(e){return e instanceof mt?Ui(e):Ar(e,e._dur)},kc={_start:0,endTime:en,totalDuration:en},Nt=function s(e,t,i){var r=e.labels,n=e._recent||kc,a=e.duration()>=zt?n.endTime(!1):e._dur,o,l,u;return Ie(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==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(t.substr(1))||0)*(u?(o<0?n: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?s(e,t.substr(0,o-1),i)+l:a+l)):t==null?a:+t},rn=function(e,t,i){var r=vi(t[1]),n=(r?2:1)+(e<2?0:1),a=t[n],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=pt(l.vars.inherit)&&l.parent;a.immediateRender=pt(o.immediateRender),e<2?a.runBackwards=1:a.startAt=t[n-1]}return new ke(t[0],a,t[n+1])},ki=function(e,t){return e||e===0?t(e):t},nn=function(e,t,i){return it?t:i},Je=function(e,t){return!Ie(e)||!(t=bc.exec(e))?"":t[1]},Fc=function(e,t,i){return ki(i,function(r){return nn(e,t,r)})},na=[].slice,Ho=function(e,t){return e&&ni(e)&&"length"in e&&(!t&&!e.length||e.length-1 in e&&ni(e[0]))&&!e.nodeType&&e!==Bt},Lc=function(e,t,i){return i===void 0&&(i=[]),e.forEach(function(r){var n;return Ie(r)&&!t||Ho(r,1)?(n=i).push.apply(n,$t(r)):i.push(r)})||i},$t=function(e,t,i){return be&&!t&&be.selector?be.selector(e):Ie(e)&&!i&&(js||!Pr())?na.call((t||Us).querySelectorAll(e),0):Ke(e)?Lc(e,i):Ho(e)?na.call(e,0):e?[e]:[]},sa=function(e){return e=$t(e)[0]||Gn("Invalid scope")||{},function(t){var i=e.current||e.nativeElement||e;return $t(t,i.querySelectorAll?i:i===e?Gn("Invalid scope")||Us.createElement("div"):e)}},Wo=function(e){return e.sort(function(){return .5-Math.random()})},Xo=function(e){if(_e(e))return e;var t=ni(e)?e:{each:e},i=Qi(t.ease),r=t.from||0,n=parseFloat(t.base)||0,a={},o=r>0&&r<1,l=isNaN(r)||o,u=t.axis,c=r,f=r;return Ie(r)?c=f={center:.5,edges:.5,end:1}[r]||0:!o&&l&&(c=r[0],f=r[1]),function(d,p,h){var m=(h||t).length,w=a[m],b,v,g,y,_,S,E,T,A;if(!w){if(A=t.grid==="auto"?0:(t.grid||[1,zt])[1],!A){for(E=-zt;E<(E=h[A++].getBoundingClientRect().left)&&AE&&(E=_),_m?m-1:u?u==="y"?m/A:A:Math.max(A,m/A))||0)*(r==="edges"?-1:1),w.b=m<0?n-m:n,w.u=Je(t.amount||t.each)||0,i=i&&m<0?sl(i):i}return m=(w[d]-w.min)/w.max||0,Ye(w.b+(i?i(m):m)*w.v)+w.u}},aa=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+(vi(i)?0:Je(i))}},jo=function(e,t){var i=Ke(e),r,n;return!i&&ni(e)&&(r=i=e.radius||zt,e.values?(e=$t(e.values),(n=!vi(e[0]))&&(r*=r)):e=aa(e.increment)),ki(t,i?_e(e)?function(a){return n=e(a),Math.abs(n-a)<=r?n:a}:function(a){for(var o=parseFloat(n?a.x:a),l=parseFloat(n?a.y:0),u=zt,c=0,f=e.length,d,p;f--;)n?(d=e[f].x-o,p=e[f].y-l,d=d*d+p*p):d=Math.abs(e[f]-o),dr?n-a:a)})},sn=function(e){for(var t=0,i="",r,n,a,o;~(r=e.indexOf("random(",t));)a=e.indexOf(")",r),o=e.charAt(r+7)==="[",n=e.substr(r+7,a-r-7).match(o?Ao:Ws),i+=e.substr(t,r-t)+Uo(o?n:+n[0],o?0:+n[1],+n[2]||1e-5),t=a+1;return i+e.substr(t,e.length-t)},Zo=function(e,t,i,r,n){var a=t-e,o=r-i;return ki(n,function(l){return i+((l-e)/a*o||0)})},Nc=function s(e,t,i,r){var n=isNaN(e+t)?0:function(p){return(1-p)*e+p*t};if(!n){var a=Ie(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,n=o);return l},Yt=function(e,t,i){var r=e.vars,n=r[t],a=be,o=e._ctx,l,u,c;if(n)return l=r[t+"Params"],u=r.callbackScope||e,i&&Mi.length&&Wn(),o&&(be=o),c=l?n.apply(u,l):n.call(u),be=a,c},an=function(e){return Pi(e),e.scrollTrigger&&e.scrollTrigger.kill(!!Ze),e.progress()<1&&Yt(e,"onInterrupt"),e},Mr,Jo=[],el=function(e){if(Hs()&&e){e=!e.name&&e.default||e;var t=e.name,i=_e(e),r=t&&!i&&e.init?function(){this._props=[]}:e,n={init:en,render:ma,add:ca,kill:td,modifier:ed,rawVars:0},a={targetTest:0,get:0,getSetter:ha,aliases:{},register:0};if(Pr(),e!==r){if(Et[t])return;Rt(r,Rt(Xn(e,n),a)),ji(r.prototype,ji(n,Xn(e,a))),Et[r.prop=t]=r,e.targetTest&&(Hn.push(r),Zs[t]=1),t=(t==="css"?"CSS":t.charAt(0).toUpperCase()+t.substr(1))+"Plugin"}ko(t,r),e.register&&e.register(vt,r,gt)}else e&&Jo.push(e)},ce=255,on={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]},oa=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},tl=function(e,t,i){var r=e?vi(e)?[e>>16,e>>8&ce,e&ce]:0:on.black,n,a,o,l,u,c,f,d,p,h;if(!r){if(e.substr(-1)===","&&(e=e.substr(0,e.length-1)),on[e])r=on[e];else if(e.charAt(0)==="#"){if(e.length<6&&(n=e.charAt(1),a=e.charAt(2),o=e.charAt(3),e="#"+n+n+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=h=e.match(Ws),!t)l=+r[0]%360/360,u=+r[1]/100,c=+r[2]/100,a=c<=.5?c*(u+1):c+u-c*u,n=c*2-a,r.length>3&&(r[3]*=1),r[0]=oa(l+1/3,n,a),r[1]=oa(l,n,a),r[2]=oa(l-1/3,n,a);else if(~e.indexOf("="))return r=e.match(To),i&&r.length<4&&(r[3]=1),r}else r=e.match(Ws)||on.transparent;r=r.map(Number)}return t&&!h&&(n=r[0]/ce,a=r[1]/ce,o=r[2]/ce,f=Math.max(n,a,o),d=Math.min(n,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===n?(a-o)/p+(ae&&(i+=b-t),r+=b,_=r-i,g=_-a,(g>0||v)&&(S=++f.frame,d=_-f.time*1e3,f.time=_=_/1e3,a+=g+(g>=n?4:n-g),y=1),v||(l=u(m)),y)for(p=0;p=b&&p--},_listeners:o},f}(),Pr=function(){return!ln&&xt.wake()},ie={},Yc=/^[\d.\-M][\d.\-,\s]/,Vc=/["']/g,Gc=function(e){for(var t={},i=e.substr(1,e.length-3).split(":"),r=i[0],n=1,a=i.length,o,l,u;n1&&i.config?i.config.apply(null,~e.indexOf("{")?[Gc(t[1])]:qc(e).split(",").map(zo)):ie._CE&&Yc.test(e)?ie._CE("",e):i},sl=function(e){return function(t){return 1-e(1-t)}},al=function s(e,t){for(var i=e._first,r;i;)i instanceof mt?s(i,t):i.vars.yoyoEase&&(!i._yoyo||!i._repeat)&&i._yoyo!==t&&(i.timeline?s(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&&(_e(e)?e:ie[e]||Hc(e))||t},Zi=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 n={easeIn:t,easeOut:i,easeInOut:r},a;return ht(e,function(o){ie[o]=Dt[o]=n,ie[a=o.toLowerCase()]=i;for(var l in n)ie[a+(l==="easeIn"?".in":l==="easeOut"?".out":".inOut")]=ie[o+"."+l]=n[l]}),n},ol=function(e){return function(t){return t<.5?(1-e(1-t*2))/2:.5+e((t-.5)*2)/2}},la=function s(e,t,i){var r=t>=1?t:1,n=(i||(e?.3:.45))/(t<1?t:1),a=n/Gs*(Math.asin(1/r)||0),o=function(c){return c===1?1:r*Math.pow(2,-10*c)*yc((c-a)*n)+1},l=e==="out"?o:e==="in"?function(u){return 1-o(1-u)}:ol(o);return n=Gs/n,l.config=function(u,c){return s(e,u,c)},l},ua=function s(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(n){return 1-i(1-n)}:ol(i);return r.config=function(n){return s(e,n)},r};ht("Linear,Quad,Cubic,Quart,Quint,Strong",function(s,e){var t=e<5?e+1:e;Zi(s+",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,Zi("Elastic",la("in"),la("out"),la()),function(s,e){var t=1/e,i=2*t,r=2.5*t,n=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,Ar(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(i,r){if(Pr(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Zn(this,i),!n._dp||n.parent||Yo(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&i0||!this._tDur&&!i)&&si(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),Io(this,i,r)),this},e.time=function(i,r){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+$o(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)+$o(this),r):this.duration()?Math.min(1,this._time/this._dur):this.ratio},e.iteration=function(i,r){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(i-1)*n,r):this._repeat?Cr(this._tTime,n)+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?Un(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-ue?0:this._rts,this.totalTime(nn(-Math.abs(this._delay),this._tDur,r),!0),Qn(this),Tc(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):(Pr(),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)&&si(r,this,i-this._delay),this}return this._start},e.endTime=function(i){return this._start+(pt(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?Un(r.rawTime(i),this):this._tTime:this._tTime},e.revert=function(i){i===void 0&&(i=Dc);var r=Ze;return Ze=i,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(i),this.totalTime(-.01,i.suppressEvents)),this.data!=="nested"&&i.kill!==!1&&this.kill(),Ze=r,this},e.globalTime=function(i){for(var r=this,n=arguments.length?i:r.rawTime();r;)n=r._start+n/(r._ts||1),r=r._dp;return!this.parent&&this._sat?this._sat.vars.immediateRender?-1/0:this._sat.globalTime(i):n},e.repeat=function(i){return arguments.length?(this._repeat=i===1/0?-2:i,qo(this)):this._repeat===-2?1/0:this._repeat},e.repeatDelay=function(i){if(arguments.length){var r=this._time;return this._rDelay=i,qo(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(Nt(this,i),pt(r))},e.restart=function(i,r){return this.play().totalTime(i?-this._delay:0,pt(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,n;return!!(!i||this._ts&&this._initted&&i.isActive()&&(n=i.rawTime(!0))>=r&&n1?(r?(a[i]=r,n&&(a[i+"Params"]=n),i==="onUpdate"&&(this._onUpdate=r)):delete a[i],this):a[i]},e.then=function(i){var r=this;return new Promise(function(n){var a=_e(i)?i:Bo,o=function(){var u=r.then;r.then=null,_e(a)&&(a=a(r))&&(a.then||a===r)&&(r.then=u),n(a),r.then=u};r._initted&&r.totalProgress()===1&&r._ts>=0||!r._tTime&&r._ts<0?o():r._prom=o})},e.kill=function(){an(this)},s}();Rt(un.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 mt=function(s){Eo(e,s);function e(i,r){var n;return i===void 0&&(i={}),n=s.call(this,i)||this,n.labels={},n.smoothChildTiming=!!i.smoothChildTiming,n.autoRemoveChildren=!!i.autoRemoveChildren,n._sort=pt(i.sortChildren),he&&si(i.parent||he,gi(n),r),i.reversed&&n.reverse(),i.paused&&n.paused(!0),i.scrollTrigger&&Vo(gi(n),i.scrollTrigger),n}var t=e.prototype;return t.to=function(r,n,a){return rn(0,arguments,this),this},t.from=function(r,n,a){return rn(1,arguments,this),this},t.fromTo=function(r,n,a,o){return rn(2,arguments,this),this},t.set=function(r,n,a){return n.duration=0,n.parent=this,tn(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new ke(r,n,Nt(this,a),1),this},t.call=function(r,n,a){return si(this,ke.delayedCall(0,r,n),a)},t.staggerTo=function(r,n,a,o,l,u,c){return a.duration=n,a.stagger=a.stagger||o,a.onComplete=u,a.onCompleteParams=c,a.parent=this,new ke(r,a,Nt(this,l)),this},t.staggerFrom=function(r,n,a,o,l,u,c){return a.runBackwards=1,tn(a).immediateRender=pt(a.immediateRender),this.staggerTo(r,n,a,o,l,u,c)},t.staggerFromTo=function(r,n,a,o,l,u,c,f){return o.startAt=a,tn(o).immediateRender=pt(o.immediateRender),this.staggerTo(r,n,o,l,u,c,f)},t.render=function(r,n,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,h,m,w,b,v,g,y,_,S,E;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,b=!g,f&&(u||(o=this._zTime),(r||!n)&&(this._zTime=r)),this._repeat){if(S=this._yoyo,w=u+this._rDelay,this._repeat<-1&&r<0)return this.totalTime(w*100+r,n,a);if(d=Ye(c%w),c===l?(m=this._repeat,d=u):(m=~~(c/w),m&&m===c/w&&(d=u,m--),d>u&&(d=u)),_=Cr(this._tTime,w),!o&&this._tTime&&_!==m&&this._tTime-_*w-this._dur<=0&&(_=m),S&&m&1&&(d=u-d,E=1),m!==_&&!this._lock){var T=S&&_&1,A=T===(S&&m&1);if(m<_&&(T=!T),o=T?0:c%u?u:c,this._lock=1,this.render(o||(E?0:Ye(m*w)),n,!u)._lock=0,this._tTime=c,!n&&this.parent&&Yt(this,"onRepeat"),this.vars.repeatRefresh&&!E&&(this.invalidate()._lock=1),o&&o!==this._time||b!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(u=this._dur,l=this._tDur,A&&(this._lock=2,o=T?u:-1e-4,this.render(o,!0),this.vars.repeatRefresh&&!E&&this.invalidate()),this._lock=0,!this._ts&&!b)return this;al(this,E)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(v=Pc(this,Ye(o),Ye(d)),v&&(c-=d-(d=v._start))),this._tTime=c,this._time=d,this._act=!g,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=r,o=0),!o&&d&&!n&&!m&&(Yt(this,"onStart"),this._tTime!==c))return this;if(d>=o&&r>=0)for(p=this._first;p;){if(h=p._next,(p._act||d>=p._start)&&p._ts&&v!==p){if(p.parent!==this)return this.render(r,n,a);if(p.render(p._ts>0?(d-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(d-p._start)*p._ts,n,a),d!==this._time||!this._ts&&!b){v=0,h&&(c+=this._zTime=-ue);break}}p=h}else{p=this._last;for(var M=r<0?r:d;p;){if(h=p._prev,(p._act||M<=p._end)&&p._ts&&v!==p){if(p.parent!==this)return this.render(r,n,a);if(p.render(p._ts>0?(M-p._start)*p._ts:(p._dirty?p.totalDuration():p._tDur)+(M-p._start)*p._ts,n,a||Ze&&(p._initted||p._startAt)),d!==this._time||!this._ts&&!b){v=0,h&&(c+=this._zTime=M?-ue:ue);break}}p=h}}if(v&&!n&&(this.pause(),v.render(d>=o?0:-ue)._zTime=d>=o?1:-1,this._ts))return this._start=y,Qn(this),this.render(r,n,a);this._onUpdate&&!n&&Yt(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)&&Pi(this,1),!n&&!(r<0&&!o)&&(c||o||!l)&&(Yt(this,c===l&&r>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(c0)&&this._prom())))}return this},t.add=function(r,n){var a=this;if(vi(n)||(n=Nt(this,n,r)),!(r instanceof un)){if(Ke(r))return r.forEach(function(o){return a.add(o,n)}),this;if(Ie(r))return this.addLabel(r,n);if(_e(r))r=ke.delayedCall(0,r);else return this}return this!==r?si(this,r,n):this},t.getChildren=function(r,n,a,o){r===void 0&&(r=!0),n===void 0&&(n=!0),a===void 0&&(a=!0),o===void 0&&(o=-zt);for(var l=[],u=this._first;u;)u._start>=o&&(u instanceof ke?n&&l.push(u):(a&&l.push(u),r&&l.push.apply(l,u.getChildren(!0,n,a)))),u=u._next;return l},t.getById=function(r){for(var n=this.getChildren(1,1,1),a=n.length;a--;)if(n[a].vars.id===r)return n[a]},t.remove=function(r){return Ie(r)?this.removeLabel(r):_e(r)?this.killTweensOf(r):(jn(this,r),r===this._recent&&(this._recent=this._last),Ui(this))},t.totalTime=function(r,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Ye(xt.time-(this._ts>0?r/this._ts:(this.totalDuration()-r)/-this._ts))),s.prototype.totalTime.call(this,r,n),this._forcing=0,this):this._tTime},t.addLabel=function(r,n){return this.labels[r]=Nt(this,n),this},t.removeLabel=function(r){return delete this.labels[r],this},t.addPause=function(r,n,a){var o=ke.delayedCall(0,n||en,a);return o.data="isPause",this._hasPause=1,si(this,o,Nt(this,r))},t.removePause=function(r){var n=this._first;for(r=Nt(this,r);n;)n._start===r&&n.data==="isPause"&&Pi(n),n=n._next},t.killTweensOf=function(r,n,a){for(var o=this.getTweensOf(r,a),l=o.length;l--;)Li!==o[l]&&o[l].kill(r,n);return this},t.getTweensOf=function(r,n){for(var a=[],o=$t(r),l=this._first,u=vi(n),c;l;)l instanceof ke?Ec(l._targets,o)&&(u?(!Li||l._initted&&l._ts)&&l.globalTime(0)<=n&&l.globalTime(l.totalDuration())>n:!n||l.isActive())&&a.push(l):(c=l.getTweensOf(o,n)).length&&a.push.apply(a,c),l=l._next;return a},t.tweenTo=function(r,n){n=n||{};var a=this,o=Nt(a,r),l=n,u=l.startAt,c=l.onStart,f=l.onStartParams,d=l.immediateRender,p,h=ke.to(a,Rt({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:o,overwrite:"auto",duration:n.duration||Math.abs((o-(u&&"time"in u?u.time:a._time))/a.timeScale())||ue,onStart:function(){if(a.pause(),!p){var w=n.duration||Math.abs((o-(u&&"time"in u?u.time:a._time))/a.timeScale());h._dur!==w&&Ar(h,w,0,1).render(h._time,!0,!0),p=1}c&&c.apply(h,f||[])}},n));return d?h.render(0):h},t.tweenFromTo=function(r,n,a){return this.tweenTo(n,Rt({startAt:{time:Nt(this,r)}},a))},t.recent=function(){return this._recent},t.nextLabel=function(r){return r===void 0&&(r=this._time),Ko(this,Nt(this,r))},t.previousLabel=function(r){return r===void 0&&(r=this._time),Ko(this,Nt(this,r),1)},t.currentLabel=function(r){return arguments.length?this.seek(r,!0):this.previousLabel(this._time+ue)},t.shiftChildren=function(r,n,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(n)for(u in l)l[u]>=a&&(l[u]+=r);return Ui(this)},t.invalidate=function(r){var n=this._first;for(this._lock=0;n;)n.invalidate(r),n=n._next;return s.prototype.invalidate.call(this,r)},t.clear=function(r){r===void 0&&(r=!0);for(var n=this._first,a;n;)a=n._next,this.remove(n),n=a;return this._dp&&(this._time=this._tTime=this._pTime=0),r&&(this.labels={}),Ui(this)},t.totalDuration=function(r){var n=0,a=this,o=a._last,l=zt,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,si(a,o,c-o._delay,1)._lock=0):l=c,c<0&&o._ts&&(n-=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>n&&o._ts&&(n=o._end),o=u;Ar(a,a===he&&a._time>n?a._time:n,1,1),a._dirty=0}return a._tDur},e.updateRoot=function(r){if(he._ts&&(Io(he,Un(r,he)),Fo=xt.frame),xt.frame>=Lo){Lo+=_t.autoSleep||120;var n=he._first;if((!n||!n._ts)&&_t.autoSleep&&xt._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||xt.sleep()}}},e}(un);Rt(mt.prototype,{_lock:0,_hasPause:0,_forcing:0});var Wc=function(e,t,i,r,n,a,o){var l=new gt(this._pt,e,t,0,1,hl,null,n),u=0,c=0,f,d,p,h,m,w,b,v;for(l.b=i,l.e=r,i+="",r+="",(b=~r.indexOf("random("))&&(r=sn(r)),a&&(v=[i,r],a(v,e,t),i=v[0],r=v[1]),d=i.match(Xs)||[];f=Xs.exec(r);)h=f[0],m=r.substring(u,f.index),p?p=(p+1)%5:m.substr(-5)==="rgba("&&(p=1),h!==d[c++]&&(w=parseFloat(d[c-1])||0,l._pt={_next:l._pt,p:m||c===1?m:",",s:w,c:h.charAt(1)==="="?Tr(w,h)-w:parseFloat(h)-w,m:p&&p<4?Math.round:0},u=Xs.lastIndex);return l.c=u")}),y.duration();else{S={};for(T in h)T==="ease"||T==="easeEach"||Qc(T,h[T],S,h.easeEach);for(T in S)for(x=S[T].sort(function(I,P){return I.t-P.t}),D=0,_=0;_l-ue&&!c?l:ru&&(d=u)),b=this._yoyo&&h&1,b&&(y=this._yEase,d=u-d),w=Cr(this._tTime,m),d===o&&!a&&this._initted)return this._tTime=f,this;h!==w&&(g&&this._yEase&&al(g,b),this.vars.repeatRefresh&&!b&&!this._lock&&(this._lock=a=1,this.render(Ye(m*h),!0).invalidate()._lock=0))}if(!this._initted){if(Go(this,c?r:d,a,n,f))return this._tTime=0,this;if(o!==this._time)return this;if(u!==this._dur)return this.render(r,n,a)}if(this._tTime=f,this._time=d,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=v=(y||this._ease)(d/u),this._from&&(this.ratio=v=1-v),d&&!o&&!n&&!h&&(Yt(this,"onStart"),this._tTime!==f))return this;for(p=this._pt;p;)p.r(v,p.d),p=p._next;g&&g.render(r<0?r:!d&&b?-ue:g._dur*g._ease(d/this._dur),n,a)||this._startAt&&(this._zTime=r),this._onUpdate&&!n&&(c&&ia(this,r,n,a),Yt(this,"onUpdate")),this._repeat&&h!==w&&this.vars.onRepeat&&!n&&this.parent&&Yt(this,"onRepeat"),(f===this._tDur||!f)&&this._tTime===f&&(c&&!this._onUpdate&&ia(this,r,!0,!0),(r||!u)&&(f===this._tDur&&this._ts>0||!f&&this._ts<0)&&Pi(this,1),!n&&!(c&&!o)&&(f||o||b)&&(Yt(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),s.prototype.invalidate.call(this,r)},t.resetTo=function(r,n,a,o){ln||xt.wake(),this._ts||this.play();var l=Math.min(this._dur,(this._dp._time-this._start)*this._ts),u;return this._initted||fa(this,l),u=this._ease(l/this._dur),jc(this,r,n,a,o,u,l)?this.resetTo(r,n,a,o):(Zn(this,0),this.parent||No(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},t.kill=function(r,n){if(n===void 0&&(n="all"),!r&&(!n||n==="all"))return this._lazy=this._pt=0,this.parent?an(this):this;if(this.timeline){var a=this.timeline.totalDuration();return this.timeline.killTweensOf(r,n,Li&&Li.vars.overwrite!==!0)._first||an(this),this.parent&&a!==this.timeline.totalDuration()&&Ar(this,this._dur*this.timeline._tDur/a,0,1),this}var o=this._targets,l=r?$t(r):o,u=this._ptLookup,c=this._pt,f,d,p,h,m,w,b;if((!n||n==="all")&&Sc(o,l))return n==="all"&&(this._pt=0),an(this);for(f=this._op=this._op||[],n!=="all"&&(Ie(n)&&(m={},ht(n,function(v){return m[v]=1}),n=m),n=Uc(o,n)),b=o.length;b--;)if(~l.indexOf(o[b])){d=u[b],n==="all"?(f[b]=n,h=d,p={}):(p=f[b]=f[b]||{},h=n);for(m in h)w=d&&d[m],w&&((!("kill"in w.d)||w.d.kill(m)===!0)&&jn(this,w,"_pt"),delete d[m]),p!=="all"&&(p[m]=1)}return this._initted&&!this._pt&&c&&an(this),this},e.to=function(r,n){return new e(r,n,arguments[2])},e.from=function(r,n){return rn(1,arguments)},e.delayedCall=function(r,n,a,o){return new e(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:r,onComplete:n,onReverseComplete:n,onCompleteParams:a,onReverseCompleteParams:a,callbackScope:o})},e.fromTo=function(r,n,a){return rn(2,arguments)},e.set=function(r,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new e(r,n)},e.killTweensOf=function(r,n,a){return he.killTweensOf(r,n,a)},e}(un);Rt(ke.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),ht("staggerTo,staggerFrom,staggerFromTo",function(s){ke[s]=function(){var e=new mt,t=na.call(arguments,0);return t.splice(s==="staggerFromTo"?5:4,0,0),e[s].apply(e,t)}});var pa=function(e,t,i){return e[t]=i},fl=function(e,t,i){return e[t](i)},Zc=function(e,t,i,r){return e[t](r.fp,i)},Kc=function(e,t,i){return e.setAttribute(t,i)},ha=function(e,t){return _e(e[t])?fl:qs(e[t])&&e.setAttribute?Kc:pa},pl=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e6)/1e6,t)},Jc=function(e,t){return t.set(t.t,t.p,!!(t.s+t.c*e),t)},hl=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)},ma=function(e,t){for(var i=t._pt;i;)i.r(e,i.d),i=i._next},ed=function(e,t,i,r){for(var n=this._pt,a;n;)a=n._next,n.p===r&&n.modifier(e,t,i),n=a},td=function(e){for(var t=this._pt,i,r;t;)r=t._next,t.p===e&&!t.op||t.op===e?jn(this,t,"_pt"):t.dep||(i=1),t=r;return!i},id=function(e,t,i,r){r.mSet(e,t,r.m.call(r.tween,i,r.mt),r)},ml=function(e){for(var t=e._pt,i,r,n,a;t;){for(i=t._next,r=n;r&&r.pr>t.pr;)r=r._next;(t._prev=r?r._prev:a)?t._prev._next=t:n=t,(t._next=r)?r._prev=t:a=t,t=i}e._pt=n},gt=function(){function s(t,i,r,n,a,o,l,u,c){this.t=i,this.s=n,this.c=a,this.p=r,this.r=o||pl,this.d=l||this,this.set=u||pa,this.pr=c||0,this._next=t,t&&(t._prev=this)}var e=s.prototype;return e.modifier=function(i,r,n){this.mSet=this.mSet||this.set,this.set=id,this.m=i,this.mt=n,this.tween=r},s}();ht(ea+"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(s){return Zs[s]=1}),Dt.TweenMax=Dt.TweenLite=ke,Dt.TimelineLite=Dt.TimelineMax=mt,he=new mt({sortChildren:!1,defaults:xr,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),_t.stringFilter=nl;var Ki=[],Kn={},rd=[],gl=0,nd=0,ga=function(e){return(Kn[e]||rd).map(function(t){return t()})},va=function(){var e=Date.now(),t=[];e-gl>2&&(ga("matchMediaInit"),Ki.forEach(function(i){var r=i.queries,n=i.conditions,a,o,l,u;for(o in r)a=Bt.matchMedia(r[o]).matches,a&&(l=1),a!==n[o]&&(n[o]=a,u=1);u&&(i.revert(),l&&t.push(i))}),ga("matchMediaRevert"),t.forEach(function(i){return i.onMatch(i)}),gl=e,ga("matchMedia"))},vl=function(){function s(t,i){this.selector=i&&sa(i),this.data=[],this._r=[],this.isReverted=!1,this.id=nd++,t&&this.add(t)}var e=s.prototype;return e.add=function(i,r,n){_e(i)&&(n=r,r=i,i=_e);var a=this,o=function(){var u=be,c=a.selector,f;return u&&u!==a&&u.data.push(a),n&&(a.selector=sa(n)),be=a,f=r.apply(a,arguments),_e(f)&&a._r.push(f),be=u,a.selector=c,a.isReverted=!1,f};return a.last=o,i===_e?o(a):i?a[i]=o:o},e.ignore=function(i){var r=be;be=null,i(this),be=r},e.getTweens=function(){var i=[];return this.data.forEach(function(r){return r instanceof s?i.push.apply(i,r.getTweens()):r instanceof ke&&!(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 n=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 ke)&&l.revert&&l.revert(i)}),this._r.forEach(function(l){return l(i,n)}),this.isReverted=!0}else this.data.forEach(function(l){return l.kill&&l.kill()});if(this.clear(),r)for(var o=Ki.length;o--;)Ki[o].id===this.id&&Ki.splice(o,1)},e.revert=function(i){this.kill(i||{})},s}(),sd=function(){function s(t){this.contexts=[],this.scope=t}var e=s.prototype;return e.add=function(i,r,n){ni(i)||(i={matches:i});var a=new vl(0,n||this.scope),o=a.conditions={},l,u,c;be&&!a.selector&&(a.selector=be.selector),this.contexts.push(a),r=a.add("onMatch",r),a.queries=i;for(u in i)u==="all"?c=1:(l=Bt.matchMedia(i[u]),l&&(Ki.indexOf(a)<0&&Ki.push(a),(o[u]=l.matches)&&(c=1),l.addListener?l.addListener(va):l.addEventListener("change",va)));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)})},s}(),Jn={registerPlugin:function(){for(var e=arguments.length,t=new Array(e),i=0;i1){var r=e.map(function(c){return vt.quickSetter(c,t,i)}),n=r.length;return function(c){for(var f=n;f--;)r[f](c)}}e=e[0]||{};var a=Et[t],o=Xi(e),l=o.harness&&(o.harness.aliases||{})[t]||t,u=a?function(c){var f=new a;Mr._pt=0,f.init(e,i?c+i:c,Mr,0,[e]),f.render(1,f),Mr._pt&&ma(1,Mr)}: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,n=vt.to(e,ji((r={},r[t]="+=0.1",r.paused=!0,r),i||{})),a=function(l,u,c){return n.resetTo(t,l,u,c)};return a.tween=n,a},isTweening:function(e){return he.getTweensOf(e,!0).length>0},defaults:function(e){return e&&e.ease&&(e.ease=Qi(e.ease,xr.ease)),Ro(xr,e||{})},config:function(e){return Ro(_t,e||{})},registerEffect:function(e){var t=e.name,i=e.effect,r=e.plugins,n=e.defaults,a=e.extendTimeline;(r||"").split(",").forEach(function(o){return o&&!Et[o]&&!Dt[o]&&Gn(t+" effect requires "+o+" plugin.")}),Js[t]=function(o,l,u){return i($t(o),Rt(l||{},n),u)},a&&(mt.prototype[t]=function(o,l,u){return this.add(Js[t](o,ni(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 mt(e),r,n;for(i.smoothChildTiming=pt(e.smoothChildTiming),he.remove(i),i._dp=0,i._time=i._tTime=he._time,r=he._first;r;)n=r._next,(t||!(!r._dur&&r instanceof ke&&r.vars.onComplete===r._targets[0]))&&si(i,r,r._start-r._delay),r=n;return si(he,i,0),i},context:function(e,t){return e?new vl(e,t):be},matchMedia:function(e){return new sd(e)},matchMediaRefresh:function(){return Ki.forEach(function(e){var t=e.conditions,i,r;for(r in t)t[r]&&(t[r]=!1,i=1);i&&e.revert()})||va()},addEventListener:function(e,t){var i=Kn[e]||(Kn[e]=[]);~i.indexOf(t)||i.push(t)},removeEventListener:function(e,t){var i=Kn[e],r=i&&i.indexOf(t);r>=0&&i.splice(r,1)},utils:{wrap:Bc,wrapYoyo:Rc,distribute:Xo,random:Uo,snap:jo,normalize:zc,getUnit:Je,clamp:Fc,splitColor:tl,toArray:$t,selector:sa,mapRange:Zo,pipe:Oc,unitize:Ic,interpolate:Nc,shuffle:Wo},install:Po,effects:Js,ticker:xt,updateRoot:mt.updateRoot,plugins:Et,globalTimeline:he,core:{PropTween:gt,globals:ko,Tween:ke,Timeline:mt,Animation:un,getCache:Xi,_removeLinkedListItem:jn,reverting:function(){return Ze},context:function(e){return e&&be&&(be.data.push(e),e._ctx=be),be},suppressOverwrites:function(e){return Vs=e}}};ht("to,from,fromTo,delayedCall,set,killTweensOf",function(s){return Jn[s]=ke[s]}),xt.add(mt.updateRoot),Mr=Jn.to({},{duration:0});var ad=function(e,t){for(var i=e._pt;i&&i.p!==t&&i.op!==t&&i.fp!==t;)i=i._next;return i},od=function(e,t){var i=e._targets,r,n,a;for(r in t)for(n=i.length;n--;)a=e._ptLookup[n][r],a&&(a=a.d)&&(a._pt&&(a=ad(a,r)),a&&a.modifier&&a.modifier(t[r],e,i[n],r))},wa=function(e,t){return{name:e,rawVars:1,init:function(r,n,a){a._onInit=function(o){var l,u;if(Ie(n)&&(l={},ht(n,function(c){return l[c]=1}),n=l),t){l={};for(u in n)l[u]=t(n[u]);n=l}od(o,n)}}}},vt=Jn.registerPlugin({name:"attr",init:function(e,t,i,r,n){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,n,0,0,a),o.op=a,o.b=l,this._props.push(a)},render:function(e,t){for(var i=t._pt;i;)Ze?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)}},wa("roundProps",aa),wa("modifiers"),wa("snap",jo))||Jn;ke.version=mt.version=vt.version="3.12.2",Mo=1,Hs()&&Pr(),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 wl,Oi,kr,ya,Ji,yl,ba,ld=function(){return typeof window<"u"},wi={},er=180/Math.PI,Fr=Math.PI/180,Lr=Math.atan2,bl=1e8,_a=/([A-Z])/g,ud=/(left|right|width|margin|padding|x)/i,cd=/[\s,\(]\S/,ai={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},Da=function(e,t){return t.set(t.t,t.p,Math.round((t.s+t.c*e)*1e4)/1e4+t.u,t)},dd=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)},fd=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)},pd=function(e,t){var i=t.s+t.c*e;t.set(t.t,t.p,~~(i+(i<0?-.5:.5))+t.u,t)},_l=function(e,t){return t.set(t.t,t.p,e?t.e:t.b,t)},Dl=function(e,t){return t.set(t.t,t.p,e!==1?t.b:t.e,t)},hd=function(e,t,i){return e.style[t]=i},md=function(e,t,i){return e.style.setProperty(t,i)},gd=function(e,t,i){return e._gsap[t]=i},vd=function(e,t,i){return e._gsap.scaleX=e._gsap.scaleY=i},wd=function(e,t,i,r,n){var a=e._gsap;a.scaleX=a.scaleY=i,a.renderTransform(n,a)},yd=function(e,t,i,r,n){var a=e._gsap;a[t]=i,a.renderTransform(n,a)},me="transform",Xt=me+"Origin",bd=function s(e,t){var i=this,r=this.target,n=r.style;if(e in wi&&n){if(this.tfm=this.tfm||{},e!=="transform")e=ai[e]||e,~e.indexOf(",")?e.split(",").forEach(function(a){return i.tfm[a]=yi(r,a)}):this.tfm[e]=r._gsap.x?r._gsap[e]:yi(r,e);else return ai.transform.split(",").forEach(function(a){return s.call(i,a,t)});if(this.props.indexOf(me)>=0)return;r._gsap.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(Xt,t,"")),e=me}(n||t)&&this.props.push(e,t,n[e])},El=function(e){e.translate&&(e.removeProperty("translate"),e.removeProperty("scale"),e.removeProperty("rotate"))},_d=function(){var e=this.props,t=this.target,i=t.style,r=t._gsap,n,a;for(n=0;n=0?Tl[a]:"")+e},xa=function(){ld()&&window.document&&(wl=window,Oi=wl.document,kr=Oi.documentElement,Ji=Ea("div")||{style:{}},Ea("div"),me=Or(me),Xt=me+"Origin",Ji.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Sl=!!Or("perspective"),ba=vt.core.reverting,ya=1)},Sa=function s(e){var t=Ea("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,r=this.nextSibling,n=this.style.cssText,a;if(kr.appendChild(t),t.appendChild(this),this.style.display="block",e)try{a=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=s}catch{}else this._gsapBBox&&(a=this._gsapBBox());return i&&(r?i.insertBefore(this,r):i.appendChild(this)),kr.removeChild(t),this.style.cssText=n,a},Cl=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=Sa.call(e,!0)}return t&&(t.width||t.height)||e.getBBox===Sa||(t=Sa.call(e,!0)),t&&!t.width&&!t.x&&!t.y?{x:+Cl(e,["x","cx","x1"])||0,y:+Cl(e,["y","cy","y1"])||0,width:0,height:0}:t},Ml=function(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&Al(e))},dn=function(e,t){if(t){var i=e.style;t in wi&&t!==Xt&&(t=me),i.removeProperty?((t.substr(0,2)==="ms"||t.substr(0,6)==="webkit")&&(t="-"+t),i.removeProperty(t.replace(_a,"-$1").toLowerCase())):i.removeAttribute(t)}},Ii=function(e,t,i,r,n,a){var o=new gt(e._pt,t,i,0,1,a?Dl:_l);return e._pt=o,o.b=r,o.e=n,e._props.push(i),o},Pl={deg:1,rad:1,turn:1},Dd={grid:1,flex:1},zi=function s(e,t,i,r){var n=parseFloat(i)||0,a=(i+"").trim().substr((n+"").length)||"px",o=Ji.style,l=ud.test(t),u=e.tagName.toLowerCase()==="svg",c=(u?"client":"offset")+(l?"Width":"Height"),f=100,d=r==="px",p=r==="%",h,m,w,b;return r===a||!n||Pl[r]||Pl[a]?n:(a!=="px"&&!d&&(n=s(e,t,i,"px")),b=e.getCTM&&Ml(e),(p||a==="%")&&(wi[t]||~t.indexOf("adius"))?(h=b?e.getBBox()[l?"width":"height"]:e[c],Ce(p?n/h*f:n/100*h)):(o[l?"width":"height"]=f+(d?a:r),m=~t.indexOf("adius")||r==="em"&&e.appendChild&&!u?e:e.parentNode,b&&(m=(e.ownerSVGElement||{}).parentNode),(!m||m===Oi||!m.appendChild)&&(m=Oi.body),w=m._gsap,w&&p&&w.width&&l&&w.time===xt.time&&!w.uncache?Ce(n/w.width*f):((p||a==="%")&&!Dd[oi(m,"display")]&&(o.position=oi(e,"position")),m===e&&(o.position="static"),m.appendChild(Ji),h=Ji[c],m.removeChild(Ji),o.position="absolute",l&&p&&(w=Xi(m),w.time=xt.time,w.width=m[c]),Ce(d?h*n/f:h&&n?f/h*n:0))))},yi=function(e,t,i,r){var n;return ya||xa(),t in ai&&t!=="transform"&&(t=ai[t],~t.indexOf(",")&&(t=t.split(",")[0])),wi[t]&&t!=="transform"?(n=pn(e,r),n=t!=="transformOrigin"?n[t]:n.svg?n.origin:ts(oi(e,Xt))+" "+n.zOrigin+"px"):(n=e.style[t],(!n||n==="auto"||r||~(n+"").indexOf("calc("))&&(n=es[t]&&es[t](e,t,i)||oi(e,t)||Oo(e,t)||(t==="opacity"?1:0))),i&&!~(n+"").trim().indexOf(" ")?zi(e,t,n,i)+i:n},Ed=function(e,t,i,r){if(!i||i==="none"){var n=Or(t,e,1),a=n&&oi(e,n,1);a&&a!==i?(t=n,i=a):t==="borderColor"&&(i=oi(e,"borderTopColor"))}var o=new gt(this._pt,e.style,t,0,1,hl),l=0,u=0,c,f,d,p,h,m,w,b,v,g,y,_;if(o.b=i,o.e=r,i+="",r+="",r==="auto"&&(e.style[t]=r,r=oi(e,t)||r,e.style[t]=i),c=[i,r],nl(c),i=c[0],r=c[1],d=i.match(Sr)||[],_=r.match(Sr)||[],_.length){for(;f=Sr.exec(r);)w=f[0],v=r.substring(l,f.index),h?h=(h+1)%5:(v.substr(-5)==="rgba("||v.substr(-5)==="hsla(")&&(h=1),w!==(m=d[u++]||"")&&(p=parseFloat(m)||0,y=m.substr((p+"").length),w.charAt(1)==="="&&(w=Tr(p,w)+y),b=parseFloat(w),g=w.substr((b+"").length),l=Sr.lastIndex-g.length,g||(g=g||_t.units[t]||y,l===r.length&&(r+=g,o.e+=g)),y!==g&&(p=zi(e,t,m,g)||0),o._pt={_next:o._pt,p:v||u===1?v:",",s:p,c:b-p,m:h&&h<4||t==="zIndex"?Math.round:0});o.c=l-1;)o=n[u],wi[o]&&(l=1,o=o==="transformOrigin"?Xt:me),dn(i,o);l&&(dn(i,me),a&&(a.svg&&i.removeAttribute("transform"),pn(i,1),a.uncache=1,El(r)))}},es={clearProps:function(e,t,i,r,n){if(n.data!=="isFromStart"){var a=e._pt=new gt(e._pt,t,i,0,0,Sd);return a.u=r,a.pr=-10,a.tween=n,e._props.push(i),1}}},fn=[1,0,0,1,0,0],Fl={},Ll=function(e){return e==="matrix(1, 0, 0, 1, 0, 0)"||e==="none"||!e},Ol=function(e){var t=oi(e,me);return Ll(t)?fn:t.substr(7).match(To).map(Ce)},Ta=function(e,t){var i=e._gsap||Xi(e),r=e.style,n=Ol(e),a,o,l,u;return i.svg&&e.getAttribute("transform")?(l=e.transform.baseVal.consolidate().matrix,n=[l.a,l.b,l.c,l.d,l.e,l.f],n.join(",")==="1,0,0,1,0,0"?fn:n):(n===fn&&!e.offsetParent&&e!==kr&&!i.svg&&(l=r.display,r.display="block",a=e.parentNode,(!a||!e.offsetParent)&&(u=1,o=e.nextElementSibling,kr.appendChild(e)),n=Ol(e),l?r.display=l:dn(e,"display"),u&&(o?a.insertBefore(e,o):a?a.appendChild(e):kr.removeChild(e))),t&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},Ca=function(e,t,i,r,n,a){var o=e._gsap,l=n||Ta(e,!0),u=o.xOrigin||0,c=o.yOrigin||0,f=o.xOffset||0,d=o.yOffset||0,p=l[0],h=l[1],m=l[2],w=l[3],b=l[4],v=l[5],g=t.split(" "),y=parseFloat(g[0])||0,_=parseFloat(g[1])||0,S,E,T,A;i?l!==fn&&(E=p*w-h*m)&&(T=y*(w/E)+_*(-m/E)+(m*v-w*b)/E,A=y*(-h/E)+_*(p/E)-(p*v-h*b)/E,y=T,_=A):(S=Al(e),y=S.x+(~g[0].indexOf("%")?y/100*S.width:y),_=S.y+(~(g[1]||g[0]).indexOf("%")?_/100*S.height:_)),r||r!==!1&&o.smooth?(b=y-u,v=_-c,o.xOffset=f+(b*p+v*m)-b,o.yOffset=d+(b*h+v*w)-v):o.xOffset=o.yOffset=0,o.xOrigin=y,o.yOrigin=_,o.smooth=!!r,o.origin=t,o.originIsAbsolute=!!i,e.style[Xt]="0px 0px",a&&(Ii(a,o,"xOrigin",u,y),Ii(a,o,"yOrigin",c,_),Ii(a,o,"xOffset",f,o.xOffset),Ii(a,o,"yOffset",d,o.yOffset)),e.setAttribute("data-svg-origin",y+" "+_)},pn=function(e,t){var i=e._gsap||new ll(e);if("x"in i&&!t&&!i.uncache)return i;var r=e.style,n=i.scaleX<0,a="px",o="deg",l=getComputedStyle(e),u=oi(e,Xt)||"0",c,f,d,p,h,m,w,b,v,g,y,_,S,E,T,A,M,z,D,x,C,O,I,P,L,F,k,B,N,Y,H,$;return c=f=d=m=w=b=v=g=y=0,p=h=1,i.svg=!!(e.getCTM&&Ml(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"),E=Ta(e,i.svg),i.svg&&(i.uncache?(L=e.getBBox(),u=i.xOrigin-L.x+"px "+(i.yOrigin-L.y)+"px",P=""):P=!t&&e.getAttribute("data-svg-origin"),Ca(e,P||u,!!P||i.originIsAbsolute,i.smooth!==!1,E)),_=i.xOrigin||0,S=i.yOrigin||0,E!==fn&&(z=E[0],D=E[1],x=E[2],C=E[3],c=O=E[4],f=I=E[5],E.length===6?(p=Math.sqrt(z*z+D*D),h=Math.sqrt(C*C+x*x),m=z||D?Lr(D,z)*er:0,v=x||C?Lr(x,C)*er+m:0,v&&(h*=Math.abs(Math.cos(v*Fr))),i.svg&&(c-=_-(_*z+S*x),f-=S-(_*D+S*C))):($=E[6],Y=E[7],k=E[8],B=E[9],N=E[10],H=E[11],c=E[12],f=E[13],d=E[14],T=Lr($,N),w=T*er,T&&(A=Math.cos(-T),M=Math.sin(-T),P=O*A+k*M,L=I*A+B*M,F=$*A+N*M,k=O*-M+k*A,B=I*-M+B*A,N=$*-M+N*A,H=Y*-M+H*A,O=P,I=L,$=F),T=Lr(-x,N),b=T*er,T&&(A=Math.cos(-T),M=Math.sin(-T),P=z*A-k*M,L=D*A-B*M,F=x*A-N*M,H=C*M+H*A,z=P,D=L,x=F),T=Lr(D,z),m=T*er,T&&(A=Math.cos(T),M=Math.sin(T),P=z*A+D*M,L=O*A+I*M,D=D*A-z*M,I=I*A-O*M,z=P,O=L),w&&Math.abs(w)+Math.abs(m)>359.9&&(w=m=0,b=180-b),p=Ce(Math.sqrt(z*z+D*D+x*x)),h=Ce(Math.sqrt(I*I+$*$)),T=Lr(O,I),v=Math.abs(T)>2e-4?T*er:0,y=H?1/(H<0?-H:H):0),i.svg&&(P=e.getAttribute("transform"),i.forceCSS=e.setAttribute("transform","")||!Ll(oi(e,me)),P&&e.setAttribute("transform",P))),Math.abs(v)>90&&Math.abs(v)<270&&(n?(p*=-1,v+=m<=0?180:-180,m+=m<=0?180:-180):(h*=-1,v+=v<=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(h),i.rotation=Ce(m)+o,i.rotationX=Ce(w)+o,i.rotationY=Ce(b)+o,i.skewX=v+o,i.skewY=g+o,i.transformPerspective=y+a,(i.zOrigin=parseFloat(u.split(" ")[2])||0)&&(r[Xt]=ts(u)),i.xOffset=i.yOffset=0,i.force3D=_t.force3D,i.renderTransform=i.svg?Cd:Sl?Il:Td,i.uncache=0,i},ts=function(e){return(e=e.split(" "))[0]+" "+e[1]},Aa=function(e,t,i){var r=Je(t);return Ce(parseFloat(t)+parseFloat(zi(e,"x",i+"px",r)))+r},Td=function(e,t){t.z="0px",t.rotationY=t.rotationX="0deg",t.force3D=0,Il(e,t)},tr="0deg",hn="0px",ir=") ",Il=function(e,t){var i=t||this,r=i.xPercent,n=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,h=i.scaleX,m=i.scaleY,w=i.transformPerspective,b=i.force3D,v=i.target,g=i.zOrigin,y="",_=b==="auto"&&e&&e!==1||b===!0;if(g&&(f!==tr||c!==tr)){var S=parseFloat(c)*Fr,E=Math.sin(S),T=Math.cos(S),A;S=parseFloat(f)*Fr,A=Math.cos(S),a=Aa(v,a,E*A*-g),o=Aa(v,o,-Math.sin(S)*-g),l=Aa(v,l,T*A*-g+g)}w!==hn&&(y+="perspective("+w+ir),(r||n)&&(y+="translate("+r+"%, "+n+"%) "),(_||a!==hn||o!==hn||l!==hn)&&(y+=l!==hn||_?"translate3d("+a+", "+o+", "+l+") ":"translate("+a+", "+o+ir),u!==tr&&(y+="rotate("+u+ir),c!==tr&&(y+="rotateY("+c+ir),f!==tr&&(y+="rotateX("+f+ir),(d!==tr||p!==tr)&&(y+="skew("+d+", "+p+ir),(h!==1||m!==1)&&(y+="scale("+h+", "+m+ir),v.style[me]=y||"translate(0, 0)"},Cd=function(e,t){var i=t||this,r=i.xPercent,n=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,h=i.xOrigin,m=i.yOrigin,w=i.xOffset,b=i.yOffset,v=i.forceCSS,g=parseFloat(a),y=parseFloat(o),_,S,E,T,A;l=parseFloat(l),u=parseFloat(u),c=parseFloat(c),c&&(c=parseFloat(c),u+=c,l+=c),l||u?(l*=Fr,u*=Fr,_=Math.cos(l)*f,S=Math.sin(l)*f,E=Math.sin(l-u)*-d,T=Math.cos(l-u)*d,u&&(c*=Fr,A=Math.tan(u-c),A=Math.sqrt(1+A*A),E*=A,T*=A,c&&(A=Math.tan(c),A=Math.sqrt(1+A*A),_*=A,S*=A)),_=Ce(_),S=Ce(S),E=Ce(E),T=Ce(T)):(_=f,T=d,S=E=0),(g&&!~(a+"").indexOf("px")||y&&!~(o+"").indexOf("px"))&&(g=zi(p,"x",a,"px"),y=zi(p,"y",o,"px")),(h||m||w||b)&&(g=Ce(g+h-(h*_+m*E)+w),y=Ce(y+m-(h*S+m*T)+b)),(r||n)&&(A=p.getBBox(),g=Ce(g+r/100*A.width),y=Ce(y+n/100*A.height)),A="matrix("+_+","+S+","+E+","+T+","+g+","+y+")",p.setAttribute("transform",A),v&&(p.style[me]=A)},Ad=function(e,t,i,r,n){var a=360,o=Ie(n),l=parseFloat(n)*(o&&~n.indexOf("rad")?er:1),u=l-r,c=r+u+"deg",f,d;return o&&(f=n.split("_")[1],f==="short"&&(u%=a,u!==u%(a/2)&&(u+=u<0?a:-a)),f==="cw"&&u<0?u=(u+a*bl)%a-~~(u/a)*a:f==="ccw"&&u>0&&(u=(u-a*bl)%a-~~(u/a)*a)),e._pt=d=new gt(e._pt,t,i,r,u,dd),d.e=c,d.u="deg",e._props.push(i),d},zl=function(e,t){for(var i in t)e[i]=t[i];return e},Md=function(e,t,i){var r=zl({},i._gsap),n="perspective,force3D,transformOrigin,svgOrigin",a=i.style,o,l,u,c,f,d,p,h;r.svg?(u=i.getAttribute("transform"),i.setAttribute("transform",""),a[me]=t,o=pn(i,1),dn(i,me),i.setAttribute("transform",u)):(u=getComputedStyle(i)[me],a[me]=t,o=pn(i,1),a[me]=u);for(l in wi)u=r[l],c=o[l],u!==c&&n.indexOf(l)<0&&(p=Je(u),h=Je(c),f=p!==h?zi(i,l,u,h):parseFloat(u),d=parseFloat(c),e._pt=new gt(e._pt,o,l,f,d-f,Da),e._pt.u=h||0,e._props.push(l));zl(o,r)};ht("padding,margin,Width,Radius",function(s,e){var t="Top",i="Right",r="Bottom",n="Left",a=(e<3?[t,i,r,n]:[t+n,t+i,r+i,r+n]).map(function(o){return e<2?s+o:"border"+o+s});es[e>1?"border"+s:s]=function(o,l,u,c,f){var d,p;if(arguments.length<4)return d=a.map(function(h){return yi(o,h,u)}),p=d.join(" "),p.split(d[0]).length===5?d[0]:p;d=(c+"").split(" "),p={},a.forEach(function(h,m){return p[h]=d[m]=d[m]||d[(m-1)/2|0]}),o.init(l,p,f)}});var Bl={name:"css",register:xa,targetTest:function(e){return e.style&&e.nodeType},init:function(e,t,i,r,n){var a=this._props,o=e.style,l=i.vars.startAt,u,c,f,d,p,h,m,w,b,v,g,y,_,S,E,T;ya||xa(),this.styles=this.styles||xl(e),T=this.styles.props,this.tween=i;for(m in t)if(m!=="autoRound"&&(c=t[m],!(Et[m]&&ul(m,t,i,r,e,n)))){if(p=typeof c,h=es[m],p==="function"&&(c=c.call(i,r,e,n),p=typeof c),p==="string"&&~c.indexOf("random(")&&(c=sn(c)),h)h(this,e,m,c,i)&&(E=1);else if(m.substr(0,2)==="--")u=(getComputedStyle(e).getPropertyValue(m)+"").trim(),c+="",Fi.lastIndex=0,Fi.test(u)||(w=Je(u),b=Je(c)),b?w!==b&&(u=zi(e,m,u,b)+b):w&&(c+=w),this.add(o,"setProperty",u,c,r,n,0,0,m),a.push(m),T.push(m,0,o[m]);else if(p!=="undefined"){if(l&&m in l?(u=typeof l[m]=="function"?l[m].call(i,r,e,n):l[m],Ie(u)&&~u.indexOf("random(")&&(u=sn(u)),Je(u+"")||(u+=_t.units[m]||Je(yi(e,m))||""),(u+"").charAt(1)==="="&&(u=yi(e,m))):u=yi(e,m),d=parseFloat(u),v=p==="string"&&c.charAt(1)==="="&&c.substr(0,2),v&&(c=c.substr(2)),f=parseFloat(c),m in ai&&(m==="autoAlpha"&&(d===1&&yi(e,"visibility")==="hidden"&&f&&(d=0),T.push("visibility",0,o.visibility),Ii(this,o,"visibility",d?"inherit":"hidden",f?"inherit":"hidden",!f)),m!=="scale"&&m!=="transform"&&(m=ai[m],~m.indexOf(",")&&(m=m.split(",")[0]))),g=m in wi,g){if(this.styles.save(m),y||(_=e._gsap,_.renderTransform&&!t.parseTransform||pn(e,t.parseTransform),S=t.smoothOrigin!==!1&&_.smooth,y=this._pt=new gt(this._pt,o,me,0,1,_.renderTransform,_,0,-1),y.dep=1),m==="scale")this._pt=new gt(this._pt,_,"scaleY",_.scaleY,(v?Tr(_.scaleY,v+f):f)-_.scaleY||0,Da),this._pt.u=0,a.push("scaleY",m),m+="X";else if(m==="transformOrigin"){T.push(Xt,0,o[Xt]),c=xd(c),_.svg?Ca(e,c,0,S,0,this):(b=parseFloat(c.split(" ")[2])||0,b!==_.zOrigin&&Ii(this,_,"zOrigin",_.zOrigin,b),Ii(this,o,m,ts(u),ts(c)));continue}else if(m==="svgOrigin"){Ca(e,c,1,S,0,this);continue}else if(m in Fl){Ad(this,_,m,d,v?Tr(d,v+c):c);continue}else if(m==="smoothOrigin"){Ii(this,_,"smooth",_.smooth,c);continue}else if(m==="force3D"){_[m]=c;continue}else if(m==="transform"){Md(this,c,e);continue}}else m in o||(m=Or(m)||m);if(g||(f||f===0)&&(d||d===0)&&!cd.test(c)&&m in o)w=(u+"").substr((d+"").length),f||(f=0),b=Je(c)||(m in _t.units?_t.units[m]:w),w!==b&&(d=zi(e,m,u,b)),this._pt=new gt(this._pt,g?_:o,m,d,(v?Tr(d,v+f):f)-d,!g&&(b==="px"||m==="zIndex")&&t.autoRound!==!1?pd:Da),this._pt.u=b||0,w!==b&&b!=="%"&&(this._pt.b=u,this._pt.r=fd);else if(m in o)Ed.call(this,e,m,u,v?v+c:c);else if(m in e)this.add(e,m,u||e[m],v?v+c:c,r,n);else if(m!=="parseTransform"){Qs(m,c);continue}g||(m in o?T.push(m,0,o[m]):T.push(m,1,u||e[m])),a.push(m)}}E&&ml(this)},render:function(e,t){if(t.tween._time||!ba())for(var i=t._pt;i;)i.r(e,i.d),i=i._next;else t.styles.revert()},get:yi,aliases:ai,getSetter:function(e,t,i){var r=ai[t];return r&&r.indexOf(",")<0&&(t=r),t in wi&&t!==Xt&&(e._gsap.x||yi(e,"x"))?i&&yl===i?t==="scale"?vd:gd:(yl=i||{})&&(t==="scale"?wd:yd):e.style&&!qs(e.style[t])?hd:~t.indexOf("-")?md:ha(e,t)},core:{_removeProperty:dn,_getMatrix:Ta}};vt.utils.checkPrefix=Or,vt.core.getStyleSaver=xl,function(s,e,t,i){var r=ht(s+","+e+","+t,function(n){wi[n]=1});ht(e,function(n){_t.units[n]="deg",Fl[n]=1}),ai[r[13]]=s+","+e,ht(i,function(n){var a=n.split(":");ai[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"),ht("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(s){_t.units[s]="px"}),vt.registerPlugin(Bl);var V=vt.registerPlugin(Bl)||vt;V.core.Tween;function Pd(s,e){for(var t=0;tl?(n=r,r=h,o=a,a=w):i?r+=h:r=n+(h-n)/(w-o)*(a-o)},f=function(){n=r=i?0:r,o=a=0},d=function(h){var m=o,w=n,b=gn();return(h||h===0)&&h!==r&&c(h),a===o||b-o>u?0:(r+(i?w:-w))/((i?b:a)-m)*1e3};return{update:c,reset:f,getVelocity:d}},wn=function(e,t){return t&&!e._gsapAllow&&e.preventDefault(),e.changedTouches?e.changedTouches[0]:e},Gl=function(e){var t=Math.max.apply(Math,e),i=Math.min.apply(Math,e);return Math.abs(t)>=Math.abs(i)?t:i},ql=function(){mn=Ve.core.globals().ScrollTrigger,mn&&mn.core&&Fd()},Hl=function(e){return Ve=e||Yl(),Ve&&typeof document<"u"&&document.body&&(St=window,Bi=document,Ri=Bi.documentElement,Ir=Bi.body,Nl=[St,Bi,Ri,Ir],Ve.utils.clamp,$l=Ve.core.context||function(){},rr="onpointerenter"in Ir?"pointer":"mouse",Rl=De.isTouch=St.matchMedia&&St.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in St||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,jt=De.eventTypes=("ontouchstart"in Ri?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in Ri?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return Vl=0},500),ql(),Ma=1),Ma};at.op=Le,J.cache=0;var De=function(){function s(t){this.init(t)}var e=s.prototype;return e.init=function(i){Ma||Hl(Ve)||console.warn("Please gsap.registerPlugin(Observer)"),mn||ql();var r=i.tolerance,n=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,h=i.wheelSpeed,m=i.event,w=i.onDragStart,b=i.onDragEnd,v=i.onDrag,g=i.onPress,y=i.onRelease,_=i.onRight,S=i.onLeft,E=i.onUp,T=i.onDown,A=i.onChangeX,M=i.onChangeY,z=i.onChange,D=i.onToggleX,x=i.onToggleY,C=i.onHover,O=i.onHoverEnd,I=i.onMove,P=i.ignoreCheck,L=i.isNormalizer,F=i.onGestureStart,k=i.onGestureEnd,B=i.onWheel,N=i.onEnable,Y=i.onDisable,H=i.onClick,$=i.scrollSpeed,j=i.capture,U=i.allowClicks,xe=i.lockAxis,Ae=i.onLockAxis;this.target=o=wt(o)||Ri,this.vars=i,p&&(p=Ve.utils.toArray(p)),r=r||1e-9,n=n||0,h=h||1,$=$||1,a=a||"wheel,touch,pointer",u=u!==!1,l||(l=parseFloat(St.getComputedStyle(Ir).lineHeight)||22);var Re,Se,kt,ne,ve,We,Ne,R=this,Xe=0,Ft=0,Qt=$i(o,at),pe=$i(o,Le),Lt=Qt(),di=pe(),Zt=~a.indexOf("touch")&&!~a.indexOf("pointer")&&jt[0]==="pointerdown",je=vn(o),Me=o.ownerDocument||Bi,Kt=[0,0,0],Jt=[0,0,0],wr=0,Ti=function(){return wr=gn()},fi=function(X,le){return(R.event=X)&&p&&~p.indexOf(X.target)||le&&Zt&&X.pointerType!=="touch"||P&&P(X,le)},bt=function(){R._vx.reset(),R._vy.reset(),Se.pause(),f&&f(R)},yr=function(){var X=R.deltaX=Gl(Kt),le=R.deltaY=Gl(Jt),Te=Math.abs(X)>=r,q=Math.abs(le)>=r;z&&(Te||q)&&z(R,X,le,Kt,Jt),Te&&(_&&R.deltaX>0&&_(R),S&&R.deltaX<0&&S(R),A&&A(R),D&&R.deltaX<0!=Xe<0&&D(R),Xe=R.deltaX,Kt[0]=Kt[1]=Kt[2]=0),q&&(T&&R.deltaY>0&&T(R),E&&R.deltaY<0&&E(R),M&&M(R),x&&R.deltaY<0!=Ft<0&&x(R),Ft=R.deltaY,Jt[0]=Jt[1]=Jt[2]=0),(ne||kt)&&(I&&I(R),kt&&(v(R),kt=!1),ne=!1),We&&!(We=!1)&&Ae&&Ae(R),ve&&(B(R),ve=!1),Re=0},Qr=function(X,le,Te){Kt[Te]+=X,Jt[Te]+=le,R._vx.update(X),R._vy.update(le),u?Re||(Re=requestAnimationFrame(yr)):yr()},Zr=function(X,le){xe&&!Ne&&(R.axis=Ne=Math.abs(X)>Math.abs(le)?"x":"y",We=!0),Ne!=="y"&&(Kt[2]+=X,R._vx.update(X,!0)),Ne!=="x"&&(Jt[2]+=le,R._vy.update(le,!0)),u?Re||(Re=requestAnimationFrame(yr)):yr()},br=function(X){if(!fi(X,1)){X=wn(X,c);var le=X.clientX,Te=X.clientY,q=le-R.x,se=Te-R.y,Q=R.isDragging;R.x=le,R.y=Te,(Q||Math.abs(R.startX-le)>=n||Math.abs(R.startY-Te)>=n)&&(v&&(kt=!0),Q||(R.isDragging=!0),Zr(q,se),Q||w&&w(R))}},Hi=R.onPress=function(Z){fi(Z,1)||Z&&Z.button||(R.axis=Ne=null,Se.pause(),R.isPressed=!0,Z=wn(Z),Xe=Ft=0,R.startX=R.x=Z.clientX,R.startY=R.y=Z.clientY,R._vx.reset(),R._vy.reset(),nt(L?o:Me,jt[1],br,c,!0),R.deltaX=R.deltaY=0,g&&g(R))},Wi=R.onRelease=function(Z){if(!fi(Z,1)){st(L?o:Me,jt[1],br,!0);var X=!isNaN(R.y-R.startY),le=R.isDragging&&(Math.abs(R.x-R.startX)>3||Math.abs(R.y-R.startY)>3),Te=wn(Z);!le&&X&&(R._vx.reset(),R._vy.reset(),c&&U&&Ve.delayedCall(.08,function(){if(gn()-wr>300&&!Z.defaultPrevented){if(Z.target.click)Z.target.click();else if(Me.createEvent){var q=Me.createEvent("MouseEvents");q.initMouseEvent("click",!0,!0,St,1,Te.screenX,Te.screenY,Te.clientX,Te.clientY,!1,!1,!1,!1,0,null),Z.target.dispatchEvent(q)}}})),R.isDragging=R.isGesturing=R.isPressed=!1,f&&!L&&Se.restart(!0),b&&le&&b(R),y&&y(R,le)}},ae=function(X){return X.touches&&X.touches.length>1&&(R.isGesturing=!0)&&F(X,R.isDragging)},_r=function(){return(R.isGesturing=!1)||k(R)},ei=function(X){if(!fi(X)){var le=Qt(),Te=pe();Qr((le-Lt)*$,(Te-di)*$,1),Lt=le,di=Te,f&&Se.restart(!0)}},ti=function(X){if(!fi(X)){X=wn(X,c),B&&(ve=!0);var le=(X.deltaMode===1?l:X.deltaMode===2?St.innerHeight:1)*h;Qr(X.deltaX*le,X.deltaY*le,0),f&&!L&&Se.restart(!0)}},ii=function(X){if(!fi(X)){var le=X.clientX,Te=X.clientY,q=le-R.x,se=Te-R.y;R.x=le,R.y=Te,ne=!0,(q||se)&&Zr(q,se)}},Dr=function(X){R.event=X,C(R)},Kr=function(X){R.event=X,O(R)},Ci=function(X){return fi(X)||wn(X,c)&&H(R)};Se=R._dc=Ve.delayedCall(d||.25,bt).pause(),R.deltaX=R.deltaY=0,R._vx=Fa(0,50,!0),R._vy=Fa(0,50,!0),R.scrollX=Qt,R.scrollY=pe,R.isDragging=R.isGesturing=R.isPressed=!1,$l(this),R.enable=function(Z){return R.isEnabled||(nt(je?Me:o,"scroll",ka),a.indexOf("scroll")>=0&&nt(je?Me:o,"scroll",ei,c,j),a.indexOf("wheel")>=0&&nt(o,"wheel",ti,c,j),(a.indexOf("touch")>=0&&Rl||a.indexOf("pointer")>=0)&&(nt(o,jt[0],Hi,c,j),nt(Me,jt[2],Wi),nt(Me,jt[3],Wi),U&&nt(o,"click",Ti,!1,!0),H&&nt(o,"click",Ci),F&&nt(Me,"gesturestart",ae),k&&nt(Me,"gestureend",_r),C&&nt(o,rr+"enter",Dr),O&&nt(o,rr+"leave",Kr),I&&nt(o,rr+"move",ii)),R.isEnabled=!0,Z&&Z.type&&Hi(Z),N&&N(R)),R},R.disable=function(){R.isEnabled&&(zr.filter(function(Z){return Z!==R&&vn(Z.target)}).length||st(je?Me:o,"scroll",ka),R.isPressed&&(R._vx.reset(),R._vy.reset(),st(L?o:Me,jt[1],br,!0)),st(je?Me:o,"scroll",ei,j),st(o,"wheel",ti,j),st(o,jt[0],Hi,j),st(Me,jt[2],Wi),st(Me,jt[3],Wi),st(o,"click",Ti,!0),st(o,"click",Ci),st(Me,"gesturestart",ae),st(Me,"gestureend",_r),st(o,rr+"enter",Dr),st(o,rr+"leave",Kr),st(o,rr+"move",ii),R.isEnabled=R.isPressed=R.isDragging=!1,Y&&Y(R))},R.kill=R.revert=function(){R.disable();var Z=zr.indexOf(R);Z>=0&&zr.splice(Z,1),bi===R&&(bi=0)},zr.push(R),L&&vn(o)&&(bi=R),R.enable(m)},kd(s,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),s}();De.version="3.12.2",De.create=function(s){return new De(s)},De.register=Hl,De.getAll=function(){return zr.slice()},De.getById=function(s){return zr.filter(function(e){return e.vars.id===s})[0]},Yl()&&Ve.registerPlugin(De);/*! * 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 G,Br,re,ge,Ut,fe,Wl,ss,as,Rr,os,ls,et,us,La,ot,Xl,jl,Nr,Ul,Oa,Ql,Tt,Zl,Kl,Jl,Yi,Ia,za,$r,Ba,Ra,cs=1,lt=Date.now,Na=lt(),Vt=0,yn=0,eu=function(e,t,i){var r=Ct(e)&&(e.substr(0,6)==="clamp("||e.indexOf("max")>-1);return i["_"+t+"Clamp"]=r,r?e.substr(6,e.length-7):e},tu=function(e,t){return t&&(!Ct(e)||e.substr(0,6)!=="clamp(")?"clamp("+e+")":e},Ld=function s(){return yn&&requestAnimationFrame(s)},iu=function(){return us=1},ru=function(){return us=0},ui=function(e){return e},bn=function(e){return Math.round(e*1e5)/1e5||0},nu=function(){return typeof window<"u"},su=function(){return G||nu()&&(G=window.gsap)&&G.registerPlugin&&G},nr=function(e){return!!~Wl.indexOf(e)},au=function(e){return(e==="Height"?Ba:re["inner"+e])||Ut["client"+e]||fe["client"+e]},ou=function(e){return Ni(e,"getBoundingClientRect")||(nr(e)?function(){return Es.width=re.innerWidth,Es.height=Ba,Es}:function(){return Di(e)})},Od=function(e,t,i){var r=i.d,n=i.d2,a=i.a;return(a=Ni(e,"getBoundingClientRect"))?function(){return a()[r]}:function(){return(t?au(n):e["client"+n])||0}},Id=function(e,t){return!t||~li.indexOf(e)?ou(e):function(){return Es}},_i=function(e,t){var i=t.s,r=t.d2,n=t.d,a=t.a;return Math.max(0,(i="scroll"+r)&&(a=Ni(e,i))?a()-ou(e)()[n]:nr(e)?(Ut[i]||fe[i])-au(r):e[i]-e["offset"+r])},ds=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,n,a){a===void 0&&(a=.001);var o=t(r);return!n||Math.abs(o-r)i&&(r*=t/100),e=e.substr(0,i-1)),e=r+(e in gs?gs[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0)}return e},ws=function(e,t,i,r,n,a,o,l){var u=n.startColor,c=n.endColor,f=n.fontSize,d=n.indent,p=n.fontWeight,h=ge.createElement("div"),m=nr(i)||Ni(i,"pinType")==="fixed",w=e.indexOf("scroller")!==-1,b=m?fe:i,v=e.indexOf("start")!==-1,g=v?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:"+((w||l)&&m?"fixed;":"absolute;"),(w||l||!m)&&(y+=(r===Le?Ya:Va)+":"+(a+parseFloat(d))+"px;"),o&&(y+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),h._isStart=v,h.setAttribute("class","gsap-marker-"+e+(t?" marker-"+t:"")),h.style.cssText=y,h.innerText=t||t===0?e+"-"+t:e,b.children[0]?b.insertBefore(h,b.children[0]):b.appendChild(h),h._offset=h["offset"+r.op.d2],ys(h,0,r,v),h},ys=function(e,t,i,r){var n={display:"block"},a=i[r?"os2":"p2"],o=i[r?"p2":"os2"];e._isFlipped=r,n[i.a+"Percent"]=r?-100:0,n[i.a]=r?"1px":0,n["border"+a+Vr]=1,n["border"+o+Vr]=0,n[i.p]=t+"px",G.set(e,n)},K=[],Wa={},Tn,pu=function(){return lt()-Vt>34&&(Tn||(Tn=requestAnimationFrame(Ei)))},Gr=function(){(!Tt||!Tt.isPressed||Tt.startX>fe.clientWidth)&&(J.cache++,Tt?Tn||(Tn=requestAnimationFrame(Ei)):Ei(),Vt||ur("scrollStart"),Vt=lt())},Xa=function(){Jl=re.innerWidth,Kl=re.innerHeight},Cn=function(){J.cache++,!et&&!Ql&&!ge.fullscreenElement&&!ge.webkitFullscreenElement&&(!Zl||Jl!==re.innerWidth||Math.abs(re.innerHeight-Kl)>re.innerHeight*.25)&&ss.restart(!0)},lr={},Nd=[],hu=function s(){return Be(W,"scrollEnd",s)||dr(!0)},ur=function(e){return lr[e]&&lr[e].map(function(t){return t()})||Nd},At=[],mu=function(e){for(var t=0;tn)&&r.setPositions(r.start,Math.max(r.start+1,n),!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))}),gu(za,1),ss.pause(),cr++,ct=2,Ei(2),K.forEach(function(r){return ut(r.vars.onRefresh)&&r.vars.onRefresh(r)}),ct=W.isRefreshing=!1,ur("refresh")},Ua=0,bs=1,An,Ei=function(e){if(!ct||e===2){W.isUpdating=!0,An&&An.update(0);var t=K.length,i=lt(),r=i-Na>=50,n=t&&K[0].scroll();if(bs=Ua>n?-1:1,ct||(Ua=n),r&&(Vt&&!us&&i-Vt>200&&(Vt=0,ur("scrollEnd")),os=Na,Na=i),bs<0){for(ot=t;ot-- >0;)K[ot]&&K[ot].update(0,r);bs=1}else for(ot=0;ot20),i-=i-S}if(h&&(l[h]=e||-.001,e<0&&(e=0)),a){var T=e+i,A=a._isStart;w="scroll"+r.d2,ys(a,T,r,A&&T>20||!A&&(f?Math.max(fe[w],Ut[w]):a.parentNode[w])<=T+1),f&&(u=Di(o),f&&(a.style[r.op.p]=u[r.op.p]-r.op.m-a._offset+Ge))}return p&&v&&(w=Di(v),p.seek(d),b=Di(v),p._caScrollDist=w[r.p]-b[r.p],e=e/p._caScrollDist*d),p&&p.seek(m),p?e:Math.round(e)},qd=/(webkit|moz|length|cssText|inset)/i,bu=function(e,t,i,r){if(e.parentNode!==t){var n=e.style,a,o;if(t===fe){e._stOrig=n.cssText,o=qt(e);for(a in o)!+a&&!qd.test(a)&&o[a]&&typeof n[a]=="string"&&a!=="0"&&(n[a]=o[a]);n.top=i,n.left=r}else n.cssText=e._stOrig;G.core.getCache(e).uncache=1,t.appendChild(e)}},_u=function(e,t,i){var r=t,n=r;return function(a){var o=Math.round(e());return o!==r&&o!==n&&Math.abs(o-r)>3&&Math.abs(o-n)>3&&(a=o,i&&i()),n=r,r=a,a}},xs=function(e,t,i){var r={};r[t.p]="+="+i,G.set(e,r)},Du=function(e,t){var i=$i(e,t),r="_scroll"+t.p2,n=function a(o,l,u,c,f){var d=a.tween,p=l.onComplete,h={};u=u||i();var m=_u(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=h,h[r]=function(){return m(u+c*d.ratio+f*d.ratio*d.ratio)},l.onUpdate=function(){J.cache++,Ei()},l.onComplete=function(){a.tween=0,p&&p.call(d)},d=a.tween=G.to(e,l),d};return e[r]=i,i.wheelHandler=function(){return n.tween&&n.tween.kill()&&(n.tween=0)},ze(e,"wheel",i.wheelHandler),W.isTouch&&ze(e,"touchmove",i.wheelHandler),n},W=function(){function s(t,i){Br||s.register(G)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),Ia(this),this.init(t,i)}var e=s.prototype;return e.init=function(i,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),!yn){this.update=this.refresh=this.kill=ui;return}i=cu(Ct(i)||fs(i)||i.nodeType?{trigger:i}:i,ms);var n=i,a=n.onUpdate,o=n.toggleClass,l=n.id,u=n.onToggle,c=n.onRefresh,f=n.scrub,d=n.trigger,p=n.pin,h=n.pinSpacing,m=n.invalidateOnRefresh,w=n.anticipatePin,b=n.onScrubComplete,v=n.onSnapComplete,g=n.once,y=n.snap,_=n.pinReparent,S=n.pinSpacer,E=n.containerAnimation,T=n.fastScrollEnd,A=n.preventOverlaps,M=i.horizontal||i.containerAnimation&&i.horizontal!==!1?at:Le,z=!f&&f!==0,D=wt(i.scroller||re),x=G.core.getCache(D),C=nr(D),O=("pinType"in i?i.pinType:Ni(D,"pinType")||C&&"fixed")==="fixed",I=[i.onEnter,i.onLeave,i.onEnterBack,i.onLeaveBack],P=z&&i.toggleActions.split(" "),L="markers"in i?i.markers:ms.markers,F=C?0:parseFloat(qt(D)["border"+M.p2+Vr])||0,k=this,B=i.onRefreshInit&&function(){return i.onRefreshInit(k)},N=Od(D,C,M),Y=Id(D,C),H=0,$=0,j=0,U=$i(D,M),xe,Ae,Re,Se,kt,ne,ve,We,Ne,R,Xe,Ft,Qt,pe,Lt,di,Zt,je,Me,Kt,Jt,wr,Ti,fi,bt,yr,Qr,Zr,br,Hi,Wi,ae,_r,ei,ti,ii,Dr,Kr,Ci;if(k._startClamp=k._endClamp=!1,k._dir=M,w*=45,k.scroller=D,k.scroll=E?E.time.bind(E):U,Se=U(),k.vars=i,r=r||i.animation,"refreshPriority"in i&&(Ul=1,i.refreshPriority===-9999&&(An=k)),x.tweenScroll=x.tweenScroll||{top:Du(D,Le),left:Du(D,at)},k.tweenTo=xe=x.tweenScroll[M.p],k.scrubDuration=function(q){_r=fs(q)&&q,_r?ae?ae.duration(q):ae=G.to(r,{ease:"expo",totalProgress:"+=0",duration:_r,paused:!0,onComplete:function(){return b&&b(k)}}):(ae&&ae.progress(1).kill(),ae=0)},r&&(r.vars.lazy=!1,r._initted&&!k.isReverted||r.vars.immediateRender!==!1&&i.immediateRender!==!1&&r.duration()&&r.render(0,!0,!0),k.animation=r.pause(),r.scrollTrigger=k,k.scrubDuration(f),Hi=0,l||(l=r.vars.id)),y&&((!sr(y)||y.push)&&(y={snapTo:y}),"scrollBehavior"in fe.style&&G.set(C?[fe,Ut]:D,{scrollBehavior:"auto"}),J.forEach(function(q){return ut(q)&&q.target===(C?ge.scrollingElement||Ut:D)&&(q.smooth=!1)}),Re=ut(y.snapTo)?y.snapTo:y.snapTo==="labels"?Bd(r):y.snapTo==="labelsDirectional"?Rd(r):y.directional!==!1?function(q,se){return Ha(y.snapTo)(q,lt()-$<500?0:se.direction)}:G.utils.snap(y.snapTo),ei=y.duration||{min:.1,max:2},ei=sr(ei)?Rr(ei.min,ei.max):Rr(ei,ei),ti=G.delayedCall(y.delay||_r/2||.1,function(){var q=U(),se=lt()-$<500,Q=xe.tween;if((se||Math.abs(k.getVelocity())<10)&&!Q&&!us&&H!==q){var te=(q-ne)/pe,$e=r&&!z?r.totalProgress():te,oe=se?0:($e-Wi)/(lt()-os)*1e3||0,Pe=G.utils.clamp(-te,1-te,Yr(oe/2)*oe/.185),ft=te+(y.inertia===!1?0:Pe),Ue=Rr(0,1,Re(ft,k)),we=Math.round(ne+Ue*pe),de=y,ri=de.onStart,ye=de.onInterrupt,Ot=de.onComplete;if(q<=ve&&q>=ne&&we!==q){if(Q&&!Q._initted&&Q.data<=Yr(we-q))return;y.inertia===!1&&(Pe=Ue-te),xe(we,{duration:ei(Yr(Math.max(Yr(ft-$e),Yr(Ue-$e))*.185/oe/.05||0)),ease:y.ease||"power3",data:Yr(we-q),onInterrupt:function(){return ti.restart(!0)&&ye&&ye(k)},onComplete:function(){k.update(),H=U(),Hi=Wi=r&&!z?r.totalProgress():k.progress,v&&v(k),Ot&&Ot(k)}},q,Pe*pe,we-q-Pe*pe),ri&&ri(k,xe.tween)}}else k.isActive&&H!==q&&ti.restart(!0)}).pause()),l&&(Wa[l]=k),d=k.trigger=wt(d||p!==!0&&p),Ci=d&&d._gsap&&d._gsap.stRevert,Ci&&(Ci=Ci(k)),p=p===!0?d:wt(p),Ct(o)&&(o={targets:d,className:o}),p&&(h===!1||h===Gt||(h=!h&&p.parentNode&&p.parentNode.style&&qt(p.parentNode).display==="flex"?!1:Fe),k.pin=p,Ae=G.core.getCache(p),Ae.spacer?Lt=Ae.pinState:(S&&(S=wt(S),S&&!S.nodeType&&(S=S.current||S.nativeElement),Ae.spacerIsNative=!!S,S&&(Ae.spacerState=Ds(S))),Ae.spacer=je=S||ge.createElement("div"),je.classList.add("pin-spacer"),l&&je.classList.add("pin-spacer-"+l),Ae.pinState=Lt=Ds(p)),i.force3D!==!1&&G.set(p,{force3D:!0}),k.spacer=je=Ae.spacer,br=qt(p),fi=br[h+M.os2],Kt=G.getProperty(p),Jt=G.quickSetter(p,M.a,Ge),Za(p,je,br),Zt=Ds(p)),L){Ft=sr(L)?cu(L,fu):fu,R=ws("scroller-start",l,D,M,Ft,0),Xe=ws("scroller-end",l,D,M,Ft,0,R),Me=R["offset"+M.op.d2];var Z=wt(Ni(D,"content")||D);We=this.markerStart=ws("start",l,Z,M,Ft,Me,0,E),Ne=this.markerEnd=ws("end",l,Z,M,Ft,Me,0,E),E&&(Kr=G.quickSetter([We,Ne],M.a,Ge)),!O&&!(li.length&&Ni(D,"fixedMarkers")===!0)&&(zd(C?fe:D),G.set([R,Xe],{force3D:!0}),yr=G.quickSetter(R,M.a,Ge),Zr=G.quickSetter(Xe,M.a,Ge))}if(E){var X=E.vars.onUpdate,le=E.vars.onUpdateParams;E.eventCallback("onUpdate",function(){k.update(0,0,1),X&&X.apply(E,le||[])})}if(k.previous=function(){return K[K.indexOf(k)-1]},k.next=function(){return K[K.indexOf(k)+1]},k.revert=function(q,se){if(!se)return k.kill(!0);var Q=q!==!1||!k.enabled,te=et;Q!==k.isReverted&&(Q&&(ii=Math.max(U(),k.scroll.rec||0),j=k.progress,Dr=r&&r.progress()),We&&[We,Ne,R,Xe].forEach(function($e){return $e.style.display=Q?"none":"block"}),Q&&(et=k,k.update(Q)),p&&(!_||!k.isActive)&&(Q?Yd(p,je,Lt):Za(p,je,qt(p),bt)),Q||k.update(Q),et=te,k.isReverted=Q)},k.refresh=function(q,se,Q,te){if(!((et||!k.enabled)&&!se)){if(p&&q&&Vt){ze(s,"scrollEnd",hu);return}!ct&&B&&B(k),et=k,xe.tween&&!Q&&(xe.tween.kill(),xe.tween=0),ae&&ae.pause(),m&&r&&r.revert({kill:!1}).invalidate(),k.isReverted||k.revert(!0,!0),k._subPinOffset=!1;var $e=N(),oe=Y(),Pe=E?E.duration():_i(D,M),ft=pe<=.01,Ue=0,we=te||0,de=sr(Q)?Q.end:i.end,ri=i.endTrigger||d,ye=sr(Q)?Q.start:i.start||(i.start===0||!d?0:p?"0 0":"0 100%"),Ot=k.pinnedContainer=i.pinnedContainer&&wt(i.pinnedContainer,k),pi=d&&Math.max(0,K.indexOf(k))||0,It=pi,Qe,it,Er,$s,rt,Oe,hi,yo,dc,Rn,mi,Nn,Ys;for(L&&sr(Q)&&(Nn=G.getProperty(R,M.p),Ys=G.getProperty(Xe,M.p));It--;)Oe=K[It],Oe.end||Oe.refresh(0,1)||(et=k),hi=Oe.pin,hi&&(hi===d||hi===p||hi===Ot)&&!Oe.isReverted&&(Rn||(Rn=[]),Rn.unshift(Oe),Oe.revert(!0,!0)),Oe!==K[It]&&(pi--,It--);for(ut(ye)&&(ye=ye(k)),ye=eu(ye,"start",k),ne=yu(ye,d,$e,M,U(),We,R,k,oe,F,O,Pe,E,k._startClamp&&"_startClamp")||(p?-.001:0),ut(de)&&(de=de(k)),Ct(de)&&!de.indexOf("+=")&&(~de.indexOf(" ")?de=(Ct(ye)?ye.split(" ")[0]:"")+de:(Ue=vs(de.substr(2),$e),de=Ct(ye)?ye:(E?G.utils.mapRange(0,E.duration(),E.scrollTrigger.start,E.scrollTrigger.end,ne):ne)+Ue,ri=d)),de=eu(de,"end",k),ve=Math.max(ne,yu(de||(ri?"100% 0":Pe),ri,$e,M,U()+Ue,Ne,Xe,k,oe,F,O,Pe,E,k._endClamp&&"_endClamp"))||-.001,Ue=0,It=pi;It--;)Oe=K[It],hi=Oe.pin,hi&&Oe.start-Oe._pinPush<=ne&&!E&&Oe.end>0&&(Qe=Oe.end-(k._startClamp?Math.max(0,Oe.start):Oe.start),(hi===d&&Oe.start-Oe._pinPush1&&(mi=(C?ge.scrollingElement||Ut:D).style,mi={style:mi,value:mi["overflow"+M.a.toUpperCase()]},C&&qt(fe)["overflow"+M.a.toUpperCase()]!=="scroll"&&(mi.style["overflow"+M.a.toUpperCase()]="scroll")),Za(p,je,Qe),Zt=Ds(p),it=Di(p,!0),yo=O&&$i(D,$s?at:Le)(),h&&(bt=[h+M.os2,pe+we+Ge],bt.t=je,It=h===Fe?qa(p,M)+pe+we:0,It&&bt.push(M.d,It+Ge),qr(bt),Ot&&K.forEach(function($n){$n.pin===Ot&&$n.vars.pinSpacing!==!1&&($n._subPinOffset=!0)}),O&&U(ii)),O&&(rt={top:it.top+($s?Er-ne:yo)+Ge,left:it.left+($s?yo:Er-ne)+Ge,boxSizing:"border-box",position:"fixed"},rt[ar]=rt["max"+Vr]=Math.ceil(it.width)+Ge,rt[or]=rt["max"+Ga]=Math.ceil(it.height)+Ge,rt[Gt]=rt[Gt+xn]=rt[Gt+Dn]=rt[Gt+Sn]=rt[Gt+En]="0",rt[Fe]=Qe[Fe],rt[Fe+xn]=Qe[Fe+xn],rt[Fe+Dn]=Qe[Fe+Dn],rt[Fe+Sn]=Qe[Fe+Sn],rt[Fe+En]=Qe[Fe+En],di=Gd(Lt,rt,_),ct&&U(0)),r?(dc=r._initted,Oa(1),r.render(r.duration(),!0,!0),Ti=Kt(M.a)-wr+pe+we,Qr=Math.abs(pe-Ti)>1,O&&Qr&&di.splice(di.length-2,2),r.render(0,!0,!0),dc||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),Oa(0)):Ti=pe,mi&&(mi.value?mi.style["overflow"+M.a.toUpperCase()]=mi.value:mi.style.removeProperty("overflow-"+M.a));else if(d&&U()&&!E)for(it=d.parentNode;it&&it!==fe;)it._pinOffset&&(ne-=it._pinOffset,ve-=it._pinOffset),it=it.parentNode;Rn&&Rn.forEach(function($n){return $n.revert(!1,!0)}),k.start=ne,k.end=ve,Se=kt=ct?ii:U(),!E&&!ct&&(Se0?K.slice(0,se).reverse():K.slice(se+1);return(Ct(q)?Q.filter(function(te){return te.vars.preventOverlaps===q}):Q).filter(function(te){return k.direction>0?te.end<=ne:te.start>=ve})},k.update=function(q,se,Q){if(!(E&&!Q&&!q)){var te=ct===!0?ii:k.scroll(),$e=q?0:(te-ne)/pe,oe=$e<0?0:$e>1?1:$e||0,Pe=k.progress,ft,Ue,we,de,ri,ye,Ot,pi;if(se&&(kt=Se,Se=E?U():te,y&&(Wi=Hi,Hi=r&&!z?r.totalProgress():oe)),w&&!oe&&p&&!et&&!cs&&Vt&&nePe?1:-1,k.progress=oe,ri&&!et&&(we=oe&&!Pe?0:oe===1?1:Pe===1?2:3,z&&(de=!ye&&P[we+1]!=="none"&&P[we+1]||P[we],pi=r&&(de==="complete"||de==="reset"||de in r))),A&&(ye||pi)&&(pi||f||!r)&&(ut(A)?A(k):k.getTrailing(A).forEach(function(Er){return Er.endAnimation()})),z||(ae&&!et&&!cs?(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&&($||q)))),p){if(q&&h&&(je.style[h+M.os2]=fi),!O)Jt(bn(wr+Ti*oe));else if(ri){if(Ot=!q&&oe>Pe&&ve+1>te&&te+1>=_i(D,M),_)if(!q&&(ft||Ot)){var It=Di(p,!0),Qe=te-ne;bu(p,fe,It.top+(M===Le?Qe:0)+Ge,It.left+(M===Le?0:Qe)+Ge)}else bu(p,je);qr(ft||Ot?di:Zt),Qr&&oe<1&&ft||Jt(wr+(oe===1&&!Ot?Ti:0))}}y&&!xe.tween&&!et&&!cs&&ti.restart(!0),o&&(ye||g&&oe&&(oe<1||!Ra))&&as(o.targets).forEach(function(Er){return Er.classList[ft||g?"add":"remove"](o.className)}),a&&!z&&!q&&a(k),ri&&!et?(z&&(pi&&(de==="complete"?r.pause().totalProgress(1):de==="reset"?r.restart(!0).pause():de==="restart"?r.restart(!0):r[de]()),a&&a(k)),(ye||!Ra)&&(u&&ye&&$a(k,u),I[we]&&$a(k,I[we]),g&&(oe===1?k.kill(!1,1):I[we]=0),ye||(we=oe===1?1:3,I[we]&&$a(k,I[we]))),T&&!ft&&Math.abs(k.getVelocity())>(fs(T)?T:2500)&&(_n(k.callbackAnimation),ae?ae.progress(1):_n(r,de==="reverse"?1:!oe,1))):z&&a&&!et&&a(k)}if(Zr){var it=E?te/E.duration()*(E._caScrollDist||0):te;yr(it+(R._isFlipped?1:0)),Zr(it)}Kr&&Kr(-te/E.duration()*(E._caScrollDist||0))}},k.enable=function(q,se){k.enabled||(k.enabled=!0,ze(D,"resize",Cn),C||ze(D,"scroll",Gr),B&&ze(s,"refreshInit",B),q!==!1&&(k.progress=j=0,Se=kt=H=U()),se!==!1&&k.refresh())},k.getTween=function(q){return q&&xe?xe.tween:ae},k.setPositions=function(q,se,Q,te){if(E){var $e=E.scrollTrigger,oe=E.duration(),Pe=$e.end-$e.start;q=$e.start+Pe*q/oe,se=$e.start+Pe*se/oe}k.refresh(!1,!1,{start:tu(q,Q&&!!k._startClamp),end:tu(se,Q&&!!k._endClamp)},te),k.update()},k.adjustPinSpacing=function(q){if(bt&&q){var se=bt.indexOf(M.d)+1;bt[se]=parseFloat(bt[se])+q+Ge,bt[1]=parseFloat(bt[1])+q+Ge,qr(bt)}},k.disable=function(q,se){if(k.enabled&&(q!==!1&&k.revert(!0,!0),k.enabled=k.isActive=!1,se||ae&&ae.pause(),ii=0,Ae&&(Ae.uncache=1),B&&Be(s,"refreshInit",B),ti&&(ti.pause(),xe.tween&&xe.tween.kill()&&(xe.tween=0)),!C)){for(var Q=K.length;Q--;)if(K[Q].scroller===D&&K[Q]!==k)return;Be(D,"resize",Cn),C||Be(D,"scroll",Gr)}},k.kill=function(q,se){k.disable(q,se),ae&&!se&&ae.kill(),l&&delete Wa[l];var Q=K.indexOf(k);Q>=0&&K.splice(Q,1),Q===ot&&bs>0&&ot--,Q=0,K.forEach(function(te){return te.scroller===k.scroller&&(Q=1)}),Q||ct||(k.scroll.rec=0),r&&(r.scrollTrigger=null,q&&r.revert({kill:!1}),se||r.kill()),We&&[We,Ne,R,Xe].forEach(function(te){return te.parentNode&&te.parentNode.removeChild(te)}),An===k&&(An=0),p&&(Ae&&(Ae.uncache=1),Q=0,K.forEach(function(te){return te.pin===p&&Q++}),Q||(Ae.spacer=0)),i.onKill&&i.onKill(k)},K.push(k),k.enable(!1,!1),Ci&&Ci(k),r&&r.add&&!pe){var Te=k.update;k.update=function(){k.update=Te,ne||ve||k.refresh()},G.delayedCall(.01,k.update),pe=.01,ne=ve=0}else k.refresh();p&&$d()},s.register=function(i){return Br||(G=i||su(),nu()&&window.document&&s.enable(),Br=yn),Br},s.defaults=function(i){if(i)for(var r in i)ms[r]=i[r];return ms},s.disable=function(i,r){yn=0,K.forEach(function(a){return a[r?"kill":"disable"](i)}),Be(re,"wheel",Gr),Be(ge,"scroll",Gr),clearInterval(ls),Be(ge,"touchcancel",ui),Be(fe,"touchstart",ui),ps(Be,ge,"pointerdown,touchstart,mousedown",iu),ps(Be,ge,"pointerup,touchend,mouseup",ru),ss.kill(),ds(Be);for(var n=0;n0&&a.left+o0&&a.top+o=0&&At.splice(t,5),At.push(e,e.style.cssText,e.getBBox&&e.getAttribute("transform"),G.core.getCache(e),Ia())}}):At},W.revert=function(s,e){return ja(!s,e)},W.create=function(s,e){return new W(s,e)},W.refresh=function(s){return s?Cn():(Br||W.register())&&dr(!0)},W.update=function(s){return++J.cache&&Ei(s===!0?2:0)},W.clearScrollMemory=gu,W.maxScroll=function(s,e){return _i(s,e?at:Le)},W.getScrollFunc=function(s,e){return $i(wt(s),e?at:Le)},W.getById=function(s){return Wa[s]},W.getAll=function(){return K.filter(function(s){return s.vars.id!=="ScrollSmoother"})},W.isScrolling=function(){return!!Vt},W.snapDirectional=Ha,W.addEventListener=function(s,e){var t=lr[s]||(lr[s]=[]);~t.indexOf(e)||t.push(e)},W.removeEventListener=function(s,e){var t=lr[s],i=t&&t.indexOf(e);i>=0&&t.splice(i,1)},W.batch=function(s,e){var t=[],i={},r=e.interval||.016,n=e.batchMax||1e9,a=function(u,c){var f=[],d=[],p=G.delayedCall(r,function(){c(f,d),f=[],d=[]}).pause();return function(h){f.length||p.restart(!0),f.push(h.trigger),d.push(h),n<=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(n)&&(n=n(),ze(W,"refresh",function(){return n=e.batchMax()})),as(s).forEach(function(l){var u={};for(o in i)u[o]=i[o];u.trigger=l,t.push(W.create(u))}),t};var Eu=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},Ka=function s(e,t){t===!0?e.style.removeProperty("touch-action"):e.style.touchAction=t===!0?"auto":t?"pan-"+t+(De.isTouch?" pinch-zoom":""):"none",e===Ut&&s(fe,t)},Ss={auto:1,scroll:1},Hd=function(e){var t=e.event,i=e.target,r=e.axis,n=(t.changedTouches?t.changedTouches[0]:t).target,a=n._gsap||G.core.getCache(n),o=lt(),l;if(!a._isScrollT||o-a._isScrollT>2e3){for(;n&&n!==fe&&(n.scrollHeight<=n.clientHeight&&n.scrollWidth<=n.clientWidth||!(Ss[(l=qt(n)).overflowY]||Ss[l.overflowX]));)n=n.parentNode;a._isScroll=n&&n!==i&&!nr(n)&&(Ss[(l=qt(n)).overflowY]||Ss[l.overflowX]),a._isScrollT=o}(a._isScroll||r==="x")&&(t.stopPropagation(),t._gsapAllow=!0)},xu=function(e,t,i,r){return De.create({target:e,capture:!0,debounce:!1,lockAxis:!0,type:t,onWheel:r=r&&Hd,onPress:r,onDrag:r,onScroll:r,onEnable:function(){return i&&ze(ge,De.eventTypes[0],Tu,!1,!0)},onDisable:function(){return Be(ge,De.eventTypes[0],Tu,!0)}})},Wd=/(input|label|select|textarea)/i,Su,Tu=function(e){var t=Wd.test(e.target.tagName);(t||Su)&&(e._gsapAllow=!0,Su=t)},Xd=function(e){sr(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,n=t.allowNestedScroll,a=t.onRelease,o,l,u=wt(e.target)||Ut,c=G.core.globals().ScrollSmoother,f=c&&c.get(),d=Yi&&(e.content&&wt(e.content)||f&&e.content!==!1&&!f.smooth()&&f.content()),p=$i(u,Le),h=$i(u,at),m=1,w=(De.isTouch&&re.visualViewport?re.visualViewport.scale*re.visualViewport.width:re.outerWidth)/re.innerWidth,b=0,v=ut(r)?function(){return r(o)}:function(){return r||2.8},g,y,_=xu(u,e.type,!0,n),S=function(){return y=!1},E=ui,T=ui,A=function(){l=_i(u,Le),T=Rr(Yi?1:0,l),i&&(E=Rr(0,_i(u,at))),g=cr},M=function(){d._gsap.y=bn(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},z=function(){if(y){requestAnimationFrame(S);var L=bn(o.deltaY/2),F=T(p.v-L);if(d&&F!==p.v+p.offset){p.offset=F-p.v;var k=bn((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, "+k+", 0, 1)",d._gsap.y=k+"px",p.cacheID=J.cache,Ei()}return!0}p.offset&&M(),y=!0},D,x,C,O,I=function(){A(),D.isActive()&&D.vars.scrollY>l&&(p()>l?D.progress(1)&&p(l):D.resetTo("scrollY",l))};return d&&G.set(d,{y:"+=0"}),e.ignoreCheck=function(P){return Yi&&P.type==="touchmove"&&z()||m>1.05&&P.type!=="touchstart"||o.isGesturing||P.touches&&P.touches.length>1},e.onPress=function(){y=!1;var P=m;m=bn((re.visualViewport&&re.visualViewport.scale||1)/w),D.pause(),P!==m&&Ka(u,m>1.01?!0:i?!1:"x"),x=h(),C=p(),A(),g=cr},e.onRelease=e.onGestureStart=function(P,L){if(p.offset&&M(),!L)O.restart(!0);else{J.cache++;var F=v(),k,B;i&&(k=h(),B=k+F*.05*-P.velocityX/.227,F*=Eu(h,k,B,_i(u,at)),D.vars.scrollX=E(B)),k=p(),B=k+F*.05*-P.velocityY/.227,F*=Eu(p,k,B,_i(u,Le)),D.vars.scrollY=T(B),D.invalidate().duration(F).play(.01),(Yi&&D.vars.scrollY>=l||k>=l-1)&&G.to({},{onUpdate:I,duration:F})}a&&a(P)},e.onWheel=function(){D._ts&&D.pause(),lt()-b>1e3&&(g=0,b=lt())},e.onChange=function(P,L,F,k,B){if(cr!==g&&A(),L&&i&&h(E(k[2]===L?x+(P.startX-P.x):h()+L-k[1])),F){p.offset&&M();var N=B[2]===F,Y=N?C+P.startY-P.y:p()+F-B[1],H=T(Y);N&&Y!==H&&(C+=H-Y),p(H)}(F||L)&&Ei()},e.onEnable=function(){Ka(u,i?!1:"x"),W.addEventListener("refresh",I),ze(re,"resize",I),p.smooth&&(p.target.style.scrollBehavior="auto",p.smooth=h.smooth=!1),_.enable()},e.onDisable=function(){Ka(u,!0),Be(re,"resize",I),W.removeEventListener("refresh",I),_.kill()},e.lockAxis=e.lockAxis!==!1,o=new De(e),o.iOS=Yi,Yi&&!p()&&p(1),Yi&&G.ticker.add(ui),O=o._dc,D=G.to(o,{ease:"power4",paused:!0,scrollX:i?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:_u(p,p(),function(){return D.pause()})},onUpdate:Ei,onComplete:O.vars.onComplete}),o};W.sort=function(s){return K.sort(s||function(e,t){return(e.vars.refreshPriority||0)*-1e6+e.start-(t.start+(t.vars.refreshPriority||0)*-1e6)})},W.observe=function(s){return new De(s)},W.normalizeScroll=function(s){if(typeof s>"u")return Tt;if(s===!0&&Tt)return Tt.enable();if(s===!1)return Tt&&Tt.kill();var e=s instanceof De?s:Xd(s);return Tt&&Tt.target===e.target&&Tt.kill(),nr(e.target)&&(Tt=e),e},W.core={_getVelocityProp:Fa,_inputObserver:xu,_scrollers:J,_proxies:li,bridge:{ss:function(){Vt||ur("scrollStart"),Vt=lt()},ref:function(){return et}}},su()&&G.registerPlugin(W);/*! * 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 jd=/([\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 Cu(s){var e=s.nodeType,t="";if(e===1||e===9||e===11){if(typeof s.textContent=="string")return s.textContent;for(s=s.firstChild;s;s=s.nextSibling)t+=Cu(s)}else if(e===3||e===4)return s.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 Hr,Ja,Au,Mn,Mu,Ts,Ud=/(?:\r|\n|\t\t)/g,Qd=/(?:\s\s+)/g,Pu=function(e){Hr=document,Ja=window,Mn=Mn||e||Ja.gsap||console.warn("Please gsap.registerPlugin(SplitText)"),Mn&&(Ts=Mn.utils.toArray,Mu=Mn.core.context||function(){},Au=1)},ku=function(e){return Ja.getComputedStyle(e)},eo=function(e){return e.position==="absolute"||e.absolute===!0},Zd=function(e,t){for(var i=t.length,r;--i>-1;)if(r=t[i],e.substr(0,r.length)===r)return r.length},Kd=" style='position:relative;display:inline-block;'",Fu=function(e,t){e===void 0&&(e="");var i=~e.indexOf("++"),r=1;return i&&(e=e.split("++").join("")),function(){return"<"+t+Kd+(e?" class='"+e+(i?r++:"")+"'>":">")}},Lu=function s(e,t,i){var r=e.nodeType;if(r===1||r===9||r===11)for(e=e.firstChild;e;e=e.nextSibling)s(e,t,i);else(r===3||r===4)&&(e.nodeValue=e.nodeValue.split(t).join(i))},to=function(e,t){for(var i=t.length;--i>-1;)e.push(t[i])},Ou=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}},Jd=function s(e){var t=Ts(e.childNodes),i=t.length,r,n;for(r=0;rm&&(F.nodeName!=="BR"||I===0)&&(N=[],E.push(N),c=U),M&&(F._x=F.offsetLeft,F._y=U,F._w=F.offsetWidth,F._h=F.offsetHeight),E&&((F._isSplit&&B||!A&&B||T&&B||!T&&F.parentNode.parentNode===e&&!F.parentNode._isSplit)&&(N.push(F),F._x-=u,Ou(F,e,y)&&(F._wordEnd=!0)),F.nodeName==="BR"&&(F.nextSibling&&F.nextSibling.nodeName==="BR"||I===0)&&E.push([])));for(I=0;I-1;)x[I].parentNode.removeChild(x[I]);if(E){for(M&&($=Hr.createElement(_),e.appendChild($),j=$.offsetWidth+"px",U=$.offsetParent===e?0:e.offsetLeft,e.removeChild($)),H=e.style.cssText,e.style.cssText="display:none;";e.firstChild;)e.removeChild(e.firstChild);for(Y=y===" "&&(!M||!T&&!A),I=0;Ie.clientHeight&&(e.style.height=o-p+"px",e.clientHeighte.clientWidth&&(e.style.width=a-h+"px",e.clientWidth",d=1,p=t.specialChars?typeof t.specialChars=="function"?t.specialChars:Zd:null,h,m,w,b,v,g,y,_,S=Hr.createElement("div"),E=e.parentNode;for(E.insertBefore(S,e),S.textContent=e.nodeValue,E.removeChild(e),e=S,h=Cu(e),y=h.indexOf("<")!==-1,t.reduceWhiteSpace!==!1&&(h=h.replace(Qd," ").replace(Ud,"")),y&&(h=h.split("<").join("{{LT}}")),v=h.length,m=(h.charAt(0)===" "?c:"")+i(),w=0;w":g,w+=_-1;else if(g===u&&h.charAt(w-1)!==u&&w){for(m+=d?f:"",d=0;h.charAt(w+1)===u;)m+=c,w++;w===v-1?m+=c:h.charAt(w+1)!==")"&&(m+=c+i(),d=1)}else g==="{"&&h.substr(w,6)==="{{LT}}"?(m+=o?r()+"{{LT}}":"{{LT}}",w+=5):g.charCodeAt(0)>=55296&&g.charCodeAt(0)<=56319||h.charCodeAt(w+1)>=65024&&h.charCodeAt(w+1)<=65039?(b=((h.substr(w,12).split(jd)||[])[1]||"").length||2,m+=o&&g!==" "?r()+h.substr(w,b)+"":h.substr(w,b),w+=b-1):m+=o&&g!==" "?r()+g+"":g;e.outerHTML=m+(d?f:""),y&&Lu(E,"{{LT}}","<")},rf=function s(e,t,i,r){var n=Ts(e.childNodes),a=n.length,o=eo(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,rf(c,i,a,o),ef(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,n){return r.innerHTML=i[n]}),this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},s.create=function(i,r){return new s(i,r)},s}();Vi.version="3.12.2",Vi.register=Pu;var Iu=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function nf(s){return s&&s.__esModule&&Object.prototype.hasOwnProperty.call(s,"default")?s.default:s}var zu={exports:{}},io={exports:{}},Bu;function sf(){return Bu||(Bu=1,function(s){(function(e,t){s.exports?s.exports=t():e.EvEmitter=t()})(typeof window<"u"?window:Iu,function(){function e(){}let t=e.prototype;return t.on=function(i,r){if(!i||!r)return this;let n=this._events=this._events||{},a=n[i]=n[i]||[];return a.includes(r)||a.push(r),this},t.once=function(i,r){if(!i||!r)return this;this.on(i,r);let n=this._onceEvents=this._onceEvents||{},a=n[i]=n[i]||{};return a[r]=!0,this},t.off=function(i,r){let n=this._events&&this._events[i];if(!n||!n.length)return this;let a=n.indexOf(r);return a!=-1&&n.splice(a,1),this},t.emitEvent=function(i,r){let n=this._events&&this._events[i];if(!n||!n.length)return this;n=n.slice(0),r=r||[];let a=this._onceEvents&&this._onceEvents[i];for(let o of n)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})}(io)),io.exports}/*! * imagesLoaded v5.0.0 * JavaScript is all like "You images are done yet or what?" * MIT License */(function(s){(function(e,t){s.exports?s.exports=t(e,sf()):e.imagesLoaded=t(e,e.EvEmitter)})(typeof window<"u"?window:Iu,function(t,i){let r=t.jQuery,n=t.console;function a(d){return Array.isArray(d)?d:typeof d=="object"&&typeof d.length=="number"?[...d]:[d]}function o(d,p,h){if(!(this instanceof o))return new o(d,p,h);let m=d;if(typeof d=="string"&&(m=document.querySelectorAll(d)),!m){n.error(`Bad element for imagesLoaded ${m||d}`);return}this.elements=a(m),this.options={},typeof p=="function"?h=p:Object.assign(this.options,p),h&&this.on("always",h),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 h=d.querySelectorAll("img");for(let m of h)this.addImage(m);if(typeof this.options.background=="string"){let m=d.querySelectorAll(this.options.background);for(let w of m)this.addElementBackgroundImages(w)}};const u=/url\((['"])?(.*?)\1\)/gi;o.prototype.addElementBackgroundImages=function(d){let p=getComputedStyle(d);if(!p)return;let h=u.exec(p.backgroundImage);for(;h!==null;){let m=h&&h[2];m&&this.addBackground(m,d),h=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 h=new f(d,p);this.images.push(h)},o.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length){this.complete();return}let d=(p,h,m)=>{setTimeout(()=>{this.progress(p,h,m)})};this.images.forEach(function(p){p.once("progress",d),p.check()})},o.prototype.progress=function(d,p,h){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&&n&&n.log(`progress: ${h}`,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:h}=this.img,m=h.nodeName==="PICTURE"?h:this.img;this.emitEvent("progress",[this,m,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,h){return new o(this,p,h).jqDeferred.promise(r(this))})},o.makeJQueryPlugin(),o})})(zu);var af=zu.exports;const of=nf(af);function Ru(s){return s!==null&&typeof s=="object"&&"constructor"in s&&s.constructor===Object}function ro(s,e){s===void 0&&(s={}),e===void 0&&(e={}),Object.keys(e).forEach(t=>{typeof s[t]>"u"?s[t]=e[t]:Ru(e[t])&&Ru(s[t])&&Object.keys(e[t]).length>0&&ro(s[t],e[t])})}const Nu={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 qe(){const s=typeof document<"u"?document:{};return ro(s,Nu),s}const lf={document:Nu,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(s){return typeof setTimeout>"u"?(s(),null):setTimeout(s,0)},cancelAnimationFrame(s){typeof setTimeout>"u"||clearTimeout(s)}};function Ee(){const s=typeof window<"u"?window:{};return ro(s,lf),s}function Gi(s){return s===void 0&&(s=""),s.trim().split(" ").filter(e=>!!e.trim())}function uf(s){const e=s;Object.keys(e).forEach(t=>{try{e[t]=null}catch{}try{delete e[t]}catch{}})}function fr(s,e){return e===void 0&&(e=0),setTimeout(s,e)}function Ht(){return Date.now()}function cf(s){const e=Ee();let t;return e.getComputedStyle&&(t=e.getComputedStyle(s,null)),!t&&s.currentStyle&&(t=s.currentStyle),t||(t=s.style),t}function no(s,e){e===void 0&&(e="x");const t=Ee();let i,r,n;const a=cf(s);return t.WebKitCSSMatrix?(r=a.transform||a.webkitTransform,r.split(",").length>6&&(r=r.split(", ").map(o=>o.replace(",",".")).join(", ")),n=new t.WebKitCSSMatrix(r==="none"?"":r)):(n=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=n.toString().split(",")),e==="x"&&(t.WebKitCSSMatrix?r=n.m41:i.length===16?r=parseFloat(i[12]):r=parseFloat(i[4])),e==="y"&&(t.WebKitCSSMatrix?r=n.m42:i.length===16?r=parseFloat(i[13]):r=parseFloat(i[5])),r||0}function Pn(s){return typeof s=="object"&&s!==null&&s.constructor&&Object.prototype.toString.call(s).slice(8,-1)==="Object"}function df(s){return typeof window<"u"&&typeof window.HTMLElement<"u"?s instanceof HTMLElement:s&&(s.nodeType===1||s.nodeType===11)}function Mt(){const s=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let t=1;te.indexOf(n)<0);for(let n=0,a=r.length;nn?"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 h=n+p*(t-n);if(c(h,t)&&(h=t),e.wrapperEl.scrollTo({[i]:h}),c(h,t)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[i]:h})}),r.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=r.requestAnimationFrame(f)};f()}function pr(s){return s.querySelector(".swiper-slide-transform")||s.shadowRoot&&s.shadowRoot.querySelector(".swiper-slide-transform")||s}function He(s,e){e===void 0&&(e="");const t=[...s.children];return s instanceof HTMLSlotElement&&t.push(...s.assignedElements()),e?t.filter(i=>i.matches(e)):t}function ff(s,e){const t=e.contains(s);return!t&&e instanceof HTMLSlotElement?[...e.assignedElements()].includes(s):t}function Cs(s){try{console.warn(s);return}catch{}}function Pt(s,e){e===void 0&&(e=[]);const t=document.createElement(s);return t.classList.add(...Array.isArray(e)?e:Gi(e)),t}function As(s){const e=Ee(),t=qe(),i=s.getBoundingClientRect(),r=t.body,n=s.clientTop||r.clientTop||0,a=s.clientLeft||r.clientLeft||0,o=s===e?e.scrollY:s.scrollTop,l=s===e?e.scrollX:s.scrollLeft;return{top:i.top+o-n,left:i.left+l-a}}function pf(s,e){const t=[];for(;s.previousElementSibling;){const i=s.previousElementSibling;e?i.matches(e)&&t.push(i):t.push(i),s=i}return t}function hf(s,e){const t=[];for(;s.nextElementSibling;){const i=s.nextElementSibling;e?i.matches(e)&&t.push(i):t.push(i),s=i}return t}function qi(s,e){return Ee().getComputedStyle(s,null).getPropertyValue(e)}function Fn(s){let e=s,t;if(e){for(t=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(t+=1);return t}}function hr(s,e){const t=[];let i=s.parentElement;for(;i;)e?i.matches(e)&&t.push(i):t.push(i),i=i.parentElement;return t}function Ln(s,e){function t(i){i.target===s&&(e.call(s,i),s.removeEventListener("transitionend",t))}e&&s.addEventListener("transitionend",t)}function so(s,e,t){const i=Ee();return s[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(s,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(s,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function ee(s){return(Array.isArray(s)?s:[s]).filter(e=>!!e)}function Ms(s){return e=>Math.abs(e)>0&&s.browser&&s.browser.need3dFix&&Math.abs(e)%90===0?e+.001:e}let ao;function mf(){const s=Ee(),e=qe();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in s||s.DocumentTouch&&e instanceof s.DocumentTouch)}}function Yu(){return ao||(ao=mf()),ao}let oo;function gf(s){let{userAgent:e}=s===void 0?{}:s;const t=Yu(),i=Ee(),r=i.navigator.platform,n=e||i.navigator.userAgent,a={ios:!1,android:!1},o=i.screen.width,l=i.screen.height,u=n.match(/(Android);?[\s\/]+([\d.]+)?/);let c=n.match(/(iPad).*OS\s([\d_]+)/);const f=n.match(/(iPod)(.*OS\s([\d_]+))?/),d=!c&&n.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p=r==="Win32";let h=r==="MacIntel";const m=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!c&&h&&t.touch&&m.indexOf(`${o}x${l}`)>=0&&(c=n.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),h=!1),u&&!p&&(a.os="android",a.android=!0),(c||d||f)&&(a.os="ios",a.ios=!0),a}function Vu(s){return s===void 0&&(s={}),oo||(oo=gf(s)),oo}let lo;function vf(){const s=Ee(),e=Vu();let t=!1;function i(){const o=s.navigator.userAgent.toLowerCase();return o.indexOf("safari")>=0&&o.indexOf("chrome")<0&&o.indexOf("android")<0}if(i()){const o=String(s.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(s.navigator.userAgent),n=i(),a=n||r&&e.ios;return{isSafari:t||n,needPerspectiveFix:t,need3dFix:a,isWebView:r}}function wf(){return lo||(lo=vf()),lo}function yf(s){let{swiper:e,on:t,emit:i}=s;const r=Ee();let n=null,a=null;const o=()=>{!e||e.destroyed||!e.initialized||(i("beforeResize"),i("resize"))},l=()=>{!e||e.destroyed||!e.initialized||(n=new ResizeObserver(f=>{a=r.requestAnimationFrame(()=>{const{width:d,height:p}=e;let h=d,m=p;f.forEach(w=>{let{contentBoxSize:b,contentRect:v,target:g}=w;g&&g!==e.el||(h=v?v.width:(b[0]||b).inlineSize,m=v?v.height:(b[0]||b).blockSize)}),(h!==d||m!==p)&&o()})}),n.observe(e.el))},u=()=>{a&&r.cancelAnimationFrame(a),n&&n.unobserve&&e.el&&(n.unobserve(e.el),n=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 bf(s){let{swiper:e,extendParams:t,on:i,emit:r}=s;const n=[],a=Ee(),o=function(c,f){f===void 0&&(f={});const d=a.MutationObserver||a.WebkitMutationObserver,p=new d(h=>{if(e.__preventObserver__)return;if(h.length===1){r("observerUpdate",h[0]);return}const m=function(){r("observerUpdate",h[0])};a.requestAnimationFrame?a.requestAnimationFrame(m):a.setTimeout(m,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}),n.push(p)},l=()=>{if(e.params.observer){if(e.params.observeParents){const c=hr(e.hostEl);for(let f=0;f{n.forEach(c=>{c.disconnect()}),n.splice(0,n.length)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),i("init",l),i("destroy",u)}var _f={on(s,e,t){const i=this;if(!i.eventsListeners||i.destroyed||typeof e!="function")return i;const r=t?"unshift":"push";return s.split(" ").forEach(n=>{i.eventsListeners[n]||(i.eventsListeners[n]=[]),i.eventsListeners[n][r](e)}),i},once(s,e,t){const i=this;if(!i.eventsListeners||i.destroyed||typeof e!="function")return i;function r(){i.off(s,r),r.__emitterProxy&&delete r.__emitterProxy;for(var n=arguments.length,a=new Array(n),o=0;o=0&&e.eventsAnyListeners.splice(t,1),e},off(s,e){const t=this;return!t.eventsListeners||t.destroyed||!t.eventsListeners||s.split(" ").forEach(i=>{typeof e>"u"?t.eventsListeners[i]=[]:t.eventsListeners[i]&&t.eventsListeners[i].forEach((r,n)=>{(r===e||r.__emitterProxy&&r.__emitterProxy===e)&&t.eventsListeners[i].splice(n,1)})}),t},emit(){const s=this;if(!s.eventsListeners||s.destroyed||!s.eventsListeners)return s;let e,t,i;for(var r=arguments.length,n=new Array(r),a=0;a{s.eventsAnyListeners&&s.eventsAnyListeners.length&&s.eventsAnyListeners.forEach(u=>{u.apply(i,[l,...t])}),s.eventsListeners&&s.eventsListeners[l]&&s.eventsListeners[l].forEach(u=>{u.apply(i,t)})}),s}};function Df(){const s=this;let e,t;const i=s.el;typeof s.params.width<"u"&&s.params.width!==null?e=s.params.width:e=i.clientWidth,typeof s.params.height<"u"&&s.params.height!==null?t=s.params.height:t=i.clientHeight,!(e===0&&s.isHorizontal()||t===0&&s.isVertical())&&(e=e-parseInt(qi(i,"padding-left")||0,10)-parseInt(qi(i,"padding-right")||0,10),t=t-parseInt(qi(i,"padding-top")||0,10)-parseInt(qi(i,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(s,{width:e,height:t,size:s.isHorizontal()?e:t}))}function Ef(){const s=this;function e(M,z){return parseFloat(M.getPropertyValue(s.getDirectionLabel(z))||0)}const t=s.params,{wrapperEl:i,slidesEl:r,size:n,rtlTranslate:a,wrongRTL:o}=s,l=s.virtual&&t.virtual.enabled,u=l?s.virtual.slides.length:s.slides.length,c=He(r,`.${s.params.slideClass}, swiper-slide`),f=l?s.virtual.slides.length:c.length;let d=[];const p=[],h=[];let m=t.slidesOffsetBefore;typeof m=="function"&&(m=t.slidesOffsetBefore.call(s));let w=t.slidesOffsetAfter;typeof w=="function"&&(w=t.slidesOffsetAfter.call(s));const b=s.snapGrid.length,v=s.slidesGrid.length;let g=t.spaceBetween,y=-m,_=0,S=0;if(typeof n>"u")return;typeof g=="string"&&g.indexOf("%")>=0?g=parseFloat(g.replace("%",""))/100*n:typeof g=="string"&&(g=parseFloat(g)),s.virtualSize=-g,c.forEach(M=>{a?M.style.marginLeft="":M.style.marginRight="",M.style.marginBottom="",M.style.marginTop=""}),t.centeredSlides&&t.cssMode&&(kn(i,"--swiper-centered-offset-before",""),kn(i,"--swiper-centered-offset-after",""));const E=t.grid&&t.grid.rows>1&&s.grid;E?s.grid.initSlides(c):s.grid&&s.grid.unsetSlides();let T;const A=t.slidesPerView==="auto"&&t.breakpoints&&Object.keys(t.breakpoints).filter(M=>typeof t.breakpoints[M].slidesPerView<"u").length>0;for(let M=0;M1&&d.push(s.virtualSize-n)}if(l&&t.loop){const M=h[0]+g;if(t.slidesPerGroup>1){const z=Math.ceil((s.virtual.slidesBefore+s.virtual.slidesAfter)/t.slidesPerGroup),D=M*t.slidesPerGroup;for(let x=0;x!t.cssMode||t.loop?!0:D!==c.length-1).forEach(z=>{z.style[M]=`${g}px`})}if(t.centeredSlides&&t.centeredSlidesBounds){let M=0;h.forEach(D=>{M+=D+(g||0)}),M-=g;const z=M>n?M-n:0;d=d.map(D=>D<=0?-m:D>z?z+w:D)}if(t.centerInsufficientSlides){let M=0;h.forEach(D=>{M+=D+(g||0)}),M-=g;const z=(t.slidesOffsetBefore||0)+(t.slidesOffsetAfter||0);if(M+z{d[C]=x-D}),p.forEach((x,C)=>{p[C]=x+D})}}if(Object.assign(s,{slides:c,snapGrid:d,slidesGrid:p,slidesSizesGrid:h}),t.centeredSlides&&t.cssMode&&!t.centeredSlidesBounds){kn(i,"--swiper-centered-offset-before",`${-d[0]}px`),kn(i,"--swiper-centered-offset-after",`${s.size/2-h[h.length-1]/2}px`);const M=-s.snapGrid[0],z=-s.slidesGrid[0];s.snapGrid=s.snapGrid.map(D=>D+M),s.slidesGrid=s.slidesGrid.map(D=>D+z)}if(f!==u&&s.emit("slidesLengthChange"),d.length!==b&&(s.params.watchOverflow&&s.checkOverflow(),s.emit("snapGridLengthChange")),p.length!==v&&s.emit("slidesGridLengthChange"),t.watchSlidesProgress&&s.updateSlidesOffset(),s.emit("slidesUpdated"),!l&&!t.cssMode&&(t.effect==="slide"||t.effect==="fade")){const M=`${t.containerModifierClass}backface-hidden`,z=s.el.classList.contains(M);f<=t.maxBackfaceHiddenSlides?z||s.el.classList.add(M):z&&s.el.classList.remove(M)}}function xf(s){const e=this,t=[],i=e.virtual&&e.params.virtual.enabled;let r=0,n;typeof s=="number"?e.setTransition(s):s===!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(n=0;ne.slides.length&&!i)break;t.push(a(o))}else t.push(a(e.activeIndex));for(n=0;nr?o:r}(r||r===0)&&(e.wrapperEl.style.height=`${r}px`)}function Sf(){const s=this,e=s.slides,t=s.isElement?s.isHorizontal()?s.wrapperEl.offsetLeft:s.wrapperEl.offsetTop:0;for(let i=0;i{e&&!s.classList.contains(t)?s.classList.add(t):!e&&s.classList.contains(t)&&s.classList.remove(t)};function Tf(s){s===void 0&&(s=this&&this.translate||0);const e=this,t=e.params,{slides:i,rtlTranslate:r,snapGrid:n}=e;if(i.length===0)return;typeof i[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let a=-s;r&&(a=s),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],w=p>=0&&p1&&h<=e.size||p<=0&&h>=e.size;w&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(l)),Gu(u,w,t.slideVisibleClass),Gu(u,m,t.slideFullyVisibleClass),u.progress=r?-f:f,u.originalProgress=r?-d:d}}function Cf(s){const e=this;if(typeof s>"u"){const c=e.rtlTranslate?-1:1;s=e&&e.translate&&e.translate*c||0}const t=e.params,i=e.maxTranslate()-e.minTranslate();let{progress:r,isBeginning:n,isEnd:a,progressLoop:o}=e;const l=n,u=a;if(i===0)r=0,n=!0,a=!0;else{r=(s-e.minTranslate())/i;const c=Math.abs(s-e.minTranslate())<1,f=Math.abs(s-e.maxTranslate())<1;n=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],h=e.slidesGrid[e.slidesGrid.length-1],m=Math.abs(s);m>=d?o=(m-d)/h:o=(m+h-p)/h,o>1&&(o-=1)}Object.assign(e,{progress:r,progressLoop:o,isBeginning:n,isEnd:a}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&e.updateSlidesProgress(s),n&&!l&&e.emit("reachBeginning toEdge"),a&&!u&&e.emit("reachEnd toEdge"),(l&&!n||u&&!a)&&e.emit("fromEdge"),e.emit("progress",r)}const uo=(s,e,t)=>{e&&!s.classList.contains(t)?s.classList.add(t):!e&&s.classList.contains(t)&&s.classList.remove(t)};function Af(){const s=this,{slides:e,params:t,slidesEl:i,activeIndex:r}=s,n=s.virtual&&t.virtual.enabled,a=s.grid&&t.grid&&t.grid.rows>1,o=f=>He(i,`.${t.slideClass}${f}, swiper-slide${f}`)[0];let l,u,c;if(n)if(t.loop){let f=r-s.virtual.slidesBefore;f<0&&(f=s.virtual.slides.length+f),f>=s.virtual.slides.length&&(f-=s.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=hf(l,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!c&&(c=e[0]),u=pf(l,`.${t.slideClass}, swiper-slide`)[0],t.loop&&!u===0&&(u=e[e.length-1]))),e.forEach(f=>{uo(f,f===l,t.slideActiveClass),uo(f,f===c,t.slideNextClass),uo(f,f===u,t.slidePrevClass)}),s.emitSlidesClasses()}const Ps=(s,e)=>{if(!s||s.destroyed||!s.params)return;const t=()=>s.isElement?"swiper-slide":`.${s.params.slideClass}`,i=e.closest(t());if(i){let r=i.querySelector(`.${s.params.lazyPreloaderClass}`);!r&&s.isElement&&(i.shadowRoot?r=i.shadowRoot.querySelector(`.${s.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{i.shadowRoot&&(r=i.shadowRoot.querySelector(`.${s.params.lazyPreloaderClass}`),r&&r.remove())})),r&&r.remove()}},co=(s,e)=>{if(!s.slides[e])return;const t=s.slides[e].querySelector('[loading="lazy"]');t&&t.removeAttribute("loading")},fo=s=>{if(!s||s.destroyed||!s.params)return;let e=s.params.lazyPreloadPrevNext;const t=s.slides.length;if(!t||!e||e<0)return;e=Math.min(e,t);const i=s.params.slidesPerView==="auto"?s.slidesPerViewDynamic():Math.ceil(s.params.slidesPerView),r=s.activeIndex;if(s.params.grid&&s.params.grid.rows>1){const a=r,o=[a-e];o.push(...Array.from({length:e}).map((l,u)=>a+i+u)),s.slides.forEach((l,u)=>{o.includes(l.column)&&co(s,u)});return}const n=r+i-1;if(s.params.rewind||s.params.loop)for(let a=r-e;a<=n+e;a+=1){const o=(a%t+t)%t;(on)&&co(s,o)}else for(let a=Math.max(r-e,0);a<=Math.min(n+e,t-1);a+=1)a!==r&&(a>n||a=e[n]&&i=e[n]&&i=e[n]&&(r=n);return t.normalizeSlideIndex&&(r<0||typeof r>"u")&&(r=0),r}function Pf(s){const e=this,t=e.rtlTranslate?e.translate:-e.translate,{snapGrid:i,params:r,activeIndex:n,realIndex:a,snapIndex:o}=e;let l=s,u;const c=p=>{let h=p-e.virtual.slidesBefore;return h<0&&(h=e.virtual.slides.length+h),h>=e.virtual.slides.length&&(h-=e.virtual.slides.length),h};if(typeof l>"u"&&(l=Mf(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===n&&!e.params.loop){u!==o&&(e.snapIndex=u,e.emit("snapIndexChange"));return}if(l===n&&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(m=>m.column===l)[0];let h=parseInt(p.getAttribute("data-swiper-slide-index"),10);Number.isNaN(h)&&(h=Math.max(e.slides.indexOf(p),0)),d=Math.floor(h/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:n,activeIndex:l}),e.initialized&&fo(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(a!==d&&e.emit("realIndexChange"),e.emit("slideChange"))}function kf(s,e){const t=this,i=t.params;let r=s.closest(`.${i.slideClass}, swiper-slide`);!r&&t.isElement&&e&&e.length>1&&e.includes(s)&&[...e.slice(e.indexOf(s)+1,e.length)].forEach(o=>{!r&&o.matches&&o.matches(`.${i.slideClass}, swiper-slide`)&&(r=o)});let n=!1,a;if(r){for(let o=0;ol?c=l:i&&sa?o="next":n"u"&&(e=n.params.speed);const m=Math.min(n.params.slidesPerGroupSkip,a);let w=m+Math.floor((a-m)/n.params.slidesPerGroup);w>=l.length&&(w=l.length-1);const b=-l[w];if(o.normalizeSlideIndex)for(let _=0;_=E&&S=E&&S=E&&(a=_)}if(n.initialized&&a!==f&&(!n.allowSlideNext&&(d?b>n.translate&&b>n.minTranslate():bn.translate&&b>n.maxTranslate()&&(f||0)!==a))return!1;a!==(c||0)&&t&&n.emit("beforeSlideChangeStart"),n.updateProgress(b);let v;a>f?v="next":a0?(n._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{p[_?"scrollLeft":"scrollTop"]=S})):p[_?"scrollLeft":"scrollTop"]=S,g&&requestAnimationFrame(()=>{n.wrapperEl.style.scrollSnapType="",n._immediateVirtual=!1});else{if(!n.support.smoothScroll)return $u({swiper:n,targetPosition:S,side:_?"left":"top"}),!0;p.scrollTo({[_?"left":"top"]:S,behavior:"smooth"})}return!0}return n.setTransition(e),n.setTranslate(b),n.updateActiveIndex(a),n.updateSlidesClasses(),n.emit("beforeTransitionStart",e,i),n.transitionStart(t,v),e===0?n.transitionEnd(t,v):n.animating||(n.animating=!0,n.onSlideToWrapperTransitionEnd||(n.onSlideToWrapperTransitionEnd=function(S){!n||n.destroyed||S.target===this&&(n.wrapperEl.removeEventListener("transitionend",n.onSlideToWrapperTransitionEnd),n.onSlideToWrapperTransitionEnd=null,delete n.onSlideToWrapperTransitionEnd,n.transitionEnd(t,v))}),n.wrapperEl.addEventListener("transitionend",n.onSlideToWrapperTransitionEnd)),!0}function qf(s,e,t,i){s===void 0&&(s=0),t===void 0&&(t=!0),typeof s=="string"&&(s=parseInt(s,10));const r=this;if(r.destroyed)return;typeof e>"u"&&(e=r.params.speed);const n=r.grid&&r.params.grid&&r.params.grid.rows>1;let a=s;if(r.params.loop)if(r.virtual&&r.params.virtual.enabled)a=a+r.virtual.slidesBefore;else{let o;if(n){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=n?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 Hf(s,e,t){e===void 0&&(e=!0);const i=this,{enabled:r,params:n,animating:a}=i;if(!r||i.destroyed)return i;typeof s>"u"&&(s=i.params.speed);let o=n.slidesPerGroup;n.slidesPerView==="auto"&&n.slidesPerGroup===1&&n.slidesPerGroupAuto&&(o=Math.max(i.slidesPerViewDynamic("current",!0),1));const l=i.activeIndex{i.slideTo(i.activeIndex+l,s,e,t)}),!0}return n.rewind&&i.isEnd?i.slideTo(0,s,e,t):i.slideTo(i.activeIndex+l,s,e,t)}function Wf(s,e,t){e===void 0&&(e=!0);const i=this,{params:r,snapGrid:n,slidesGrid:a,rtlTranslate:o,enabled:l,animating:u}=i;if(!l||i.destroyed)return i;typeof s>"u"&&(s=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(b){return b<0?-Math.floor(Math.abs(b)):Math.floor(b)}const p=d(f),h=n.map(b=>d(b));let m=n[h.indexOf(p)-1];if(typeof m>"u"&&r.cssMode){let b;n.forEach((v,g)=>{p>=v&&(b=g)}),typeof b<"u"&&(m=n[b>0?b-1:b])}let w=0;if(typeof m<"u"&&(w=a.indexOf(m),w<0&&(w=i.activeIndex-1),r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(w=w-i.slidesPerViewDynamic("previous",!0)+1,w=Math.max(w,0))),r.rewind&&i.isBeginning){const b=i.params.virtual&&i.params.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1;return i.slideTo(b,s,e,t)}else if(r.loop&&i.activeIndex===0&&r.cssMode)return requestAnimationFrame(()=>{i.slideTo(w,s,e,t)}),!0;return i.slideTo(w,s,e,t)}function Xf(s,e,t){e===void 0&&(e=!0);const i=this;if(!i.destroyed)return typeof s>"u"&&(s=i.params.speed),i.slideTo(i.activeIndex,s,e,t)}function jf(s,e,t,i){e===void 0&&(e=!0),i===void 0&&(i=.5);const r=this;if(r.destroyed)return;typeof s>"u"&&(s=r.params.speed);let n=r.activeIndex;const a=Math.min(r.params.slidesPerGroupSkip,n),o=a+Math.floor((n-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&&(n+=r.params.slidesPerGroup)}else{const u=r.snapGrid[o-1],c=r.snapGrid[o];l-u<=(c-u)*i&&(n-=r.params.slidesPerGroup)}return n=Math.max(n,0),n=Math.min(n,r.slidesGrid.length-1),r.slideTo(n,s,e,t)}function Uf(){const s=this;if(s.destroyed)return;const{params:e,slidesEl:t}=s,i=e.slidesPerView==="auto"?s.slidesPerViewDynamic():e.slidesPerView;let r=s.clickedIndex,n;const a=s.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(s.animating)return;n=parseInt(s.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?rs.slides.length-s.loopedSlides+i/2?(s.loopFix(),r=s.getSlideIndex(He(t,`${a}[data-swiper-slide-index="${n}"]`)[0]),fr(()=>{s.slideTo(r)})):s.slideTo(r):r>s.slides.length-i?(s.loopFix(),r=s.getSlideIndex(He(t,`${a}[data-swiper-slide-index="${n}"]`)[0]),fr(()=>{s.slideTo(r)})):s.slideTo(r)}else s.slideTo(r)}var Qf={slideTo:Gf,slideToLoop:qf,slideNext:Hf,slidePrev:Wf,slideReset:Xf,slideToClosest:jf,slideToClickedSlide:Uf};function Zf(s){const e=this,{params:t,slidesEl:i}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;const r=()=>{He(i,`.${t.slideClass}, swiper-slide`).forEach((f,d)=>{f.setAttribute("data-swiper-slide-index",d)})},n=e.grid&&t.grid&&t.grid.rows>1,a=t.slidesPerGroup*(n?t.grid.rows:1),o=e.slides.length%a!==0,l=n&&e.slides.length%t.grid.rows!==0,u=c=>{for(let f=0;f1;u.length"u"?n=l.getSlideIndex(u.filter(x=>x.classList.contains(p.slideActiveClass))[0]):_=n;const S=i==="next"||!i,E=i==="prev"||!i;let T=0,A=0;const M=v?Math.ceil(u.length/p.grid.rows):u.length,D=(v?u[n].column:n)+(h&&typeof r>"u"?-m/2+.5:0);if(D=0;I-=1)u[I].column===O&&g.push(I)}else g.push(M-C-1)}}else if(D+m>M-b){A=Math.max(D-(M-b*2),w);for(let x=0;x{O.column===C&&y.push(I)}):y.push(C)}}if(l.__preventObserver__=!0,requestAnimationFrame(()=>{l.__preventObserver__=!1}),E&&g.forEach(x=>{u[x].swiperLoopMoveDOM=!0,d.prepend(u[x]),u[x].swiperLoopMoveDOM=!1}),S&&y.forEach(x=>{u[x].swiperLoopMoveDOM=!0,d.append(u[x]),u[x].swiperLoopMoveDOM=!1}),l.recalcSlides(),p.slidesPerView==="auto"?l.updateSlides():v&&(g.length>0&&E||y.length>0&&S)&&l.slides.forEach((x,C)=>{l.grid.updateSlide(C,x,l.slides)}),p.watchSlidesProgress&&l.updateSlidesOffset(),t){if(g.length>0&&E){if(typeof e>"u"){const x=l.slidesGrid[_],O=l.slidesGrid[_+T]-x;o?l.setTranslate(l.translate-O):(l.slideTo(_+Math.ceil(T),0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-O,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-O))}else if(r){const x=v?g.length/p.grid.rows:g.length;l.slideTo(l.activeIndex+x,0,!1,!0),l.touchEventsData.currentTranslate=l.translate}}else if(y.length>0&&S)if(typeof e>"u"){const x=l.slidesGrid[_],O=l.slidesGrid[_-A]-x;o?l.setTranslate(l.translate-O):(l.slideTo(_-A,0,!1,!0),r&&(l.touchEventsData.startTranslate=l.touchEventsData.startTranslate-O,l.touchEventsData.currentTranslate=l.touchEventsData.currentTranslate-O))}else{const x=v?y.length/p.grid.rows:y.length;l.slideTo(l.activeIndex-x,0,!1,!0)}}if(l.allowSlidePrev=c,l.allowSlideNext=f,l.controller&&l.controller.control&&!a){const x={slideRealIndex:e,direction:i,setTranslate:r,activeSlideIndex:n,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(C=>{!C.destroyed&&C.params.loop&&C.loopFix({...x,slideTo:C.params.slidesPerView===p.slidesPerView?t:!1})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...x,slideTo:l.controller.control.params.slidesPerView===p.slidesPerView?t:!1})}l.emit("loopFix")}function Jf(){const s=this,{params:e,slidesEl:t}=s;if(!e.loop||s.virtual&&s.params.virtual.enabled)return;s.recalcSlides();const i=[];s.slides.forEach(r=>{const n=typeof r.swiperSlideIndex>"u"?r.getAttribute("data-swiper-slide-index")*1:r.swiperSlideIndex;i[n]=r}),s.slides.forEach(r=>{r.removeAttribute("data-swiper-slide-index")}),i.forEach(r=>{t.append(r)}),s.recalcSlides(),s.slideTo(s.realIndex,0)}var ep={loopCreate:Zf,loopFix:Kf,loopDestroy:Jf};function tp(s){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=s?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function ip(){const s=this;s.params.watchOverflow&&s.isLocked||s.params.cssMode||(s.isElement&&(s.__preventObserver__=!0),s[s.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",s.isElement&&requestAnimationFrame(()=>{s.__preventObserver__=!1}))}var rp={setGrabCursor:tp,unsetGrabCursor:ip};function np(s,e){e===void 0&&(e=this);function t(i){if(!i||i===qe()||i===Ee())return null;i.assignedSlot&&(i=i.assignedSlot);const r=i.closest(s);return!r&&!i.getRootNode?null:r||t(i.getRootNode().host)}return t(e)}function Hu(s,e,t){const i=Ee(),{params:r}=s,n=r.edgeSwipeDetection,a=r.edgeSwipeThreshold;return n&&(t<=a||t>=i.innerWidth-a)?n==="prevent"?(e.preventDefault(),!0):!1:!0}function sp(s){const e=this,t=qe();let i=s;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"){Hu(e,i,i.targetTouches[0].pageX);return}const{params:n,touches:a,enabled:o}=e;if(!o||!n.simulateTouch&&i.pointerType==="mouse"||e.animating&&n.preventInteractionOnTransition)return;!e.animating&&n.cssMode&&n.loop&&e.loopFix();let l=i.target;if(n.touchEventsTarget==="wrapper"&&!ff(l,e.wrapperEl)||"which"in i&&i.which===3||"button"in i&&i.button>0||r.isTouched&&r.isMoved)return;const u=!!n.noSwipingClass&&n.noSwipingClass!=="",c=i.composedPath?i.composedPath():i.path;u&&i.target&&i.target.shadowRoot&&c&&(l=c[0]);const f=n.noSwipingSelector?n.noSwipingSelector:`.${n.noSwipingClass}`,d=!!(i.target&&i.target.shadowRoot);if(n.noSwiping&&(d?np(f,l):l.closest(f))){e.allowClick=!0;return}if(n.swipeHandler&&!l.closest(n.swipeHandler))return;a.currentX=i.pageX,a.currentY=i.pageY;const p=a.currentX,h=a.currentY;if(!Hu(e,i,p))return;Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),a.startX=p,a.startY=h,r.touchStartTime=Ht(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,n.threshold>0&&(r.allowThresholdMove=!1);let m=!0;l.matches(r.focusableElements)&&(m=!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 w=m&&e.allowTouchMove&&n.touchStartPreventDefault;(n.touchStartForcePreventDefault||w)&&!l.isContentEditable&&i.preventDefault(),n.freeMode&&n.freeMode.enabled&&e.freeMode&&e.animating&&!n.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",i)}function ap(s){const e=qe(),t=this,i=t.touchEventsData,{params:r,touches:n,rtlTranslate:a,enabled:o}=t;if(!o||!r.simulateTouch&&s.pointerType==="mouse")return;let l=s;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(S=>S.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){n.startX=c,n.startY=f;return}if(!t.allowTouchMove){l.target.matches(i.focusableElements)||(t.allowClick=!1),i.isTouched&&(Object.assign(n,{startX:c,startY:f,currentX:c,currentY:f}),i.touchStartTime=Ht());return}if(r.touchReleaseOnEdges&&!r.loop){if(t.isVertical()){if(fn.startY&&t.translate>=t.minTranslate()){i.isTouched=!1,i.isMoved=!1;return}}else if(cn.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),n.previousX=n.currentX,n.previousY=n.currentY,n.currentX=c,n.currentY=f;const d=n.currentX-n.startX,p=n.currentY-n.startY;if(t.params.threshold&&Math.sqrt(d**2+p**2)"u"){let S;t.isHorizontal()&&n.currentY===n.startY||t.isVertical()&&n.currentX===n.startX?i.isScrolling=!1:d*d+p*p>=25&&(S=Math.atan2(Math.abs(p),Math.abs(d))*180/Math.PI,i.isScrolling=t.isHorizontal()?S>r.touchAngle:90-S>r.touchAngle)}if(i.isScrolling&&t.emit("touchMoveOpposite",l),typeof i.startMoving>"u"&&(n.currentX!==n.startX||n.currentY!==n.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 h=t.isHorizontal()?d:p,m=t.isHorizontal()?n.currentX-n.previousX:n.currentY-n.previousY;r.oneWayMovement&&(h=Math.abs(h)*(a?1:-1),m=Math.abs(m)*(a?1:-1)),n.diff=h,h*=r.touchRatio,a&&(h=-h,m=-m);const w=t.touchesDirection;t.swipeDirection=h>0?"prev":"next",t.touchesDirection=m>0?"prev":"next";const b=t.params.loop&&!r.cssMode,v=t.touchesDirection==="next"&&t.allowSlideNext||t.touchesDirection==="prev"&&t.allowSlidePrev;if(!i.isMoved){if(b&&v&&t.loopFix({direction:t.swipeDirection}),i.startTranslate=t.getTranslate(),t.setTransition(0),t.animating){const S=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});t.wrapperEl.dispatchEvent(S)}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&&w!==t.touchesDirection&&b&&v&&Math.abs(h)>=1){Object.assign(n,{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=h+i.startTranslate;let y=!0,_=r.resistanceRatio;if(r.touchReleaseOnEdges&&(_=0),h>0?(b&&v&&!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+h)**_))):h<0&&(b&&v&&!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(h)>r.threshold||i.allowThresholdMove){if(!i.allowThresholdMove){i.allowThresholdMove=!0,n.startX=n.currentX,n.startY=n.currentY,i.currentTranslate=i.startTranslate,n.diff=t.isHorizontal()?n.currentX-n.startX:n.currentY-n.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 op(s){const e=this,t=e.touchEventsData;let i=s;i.originalEvent&&(i=i.originalEvent);let r;if(i.type==="touchend"||i.type==="touchcancel"){if(r=[...i.changedTouches].filter(_=>_.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 _=i.path||i.composedPath&&i.composedPath();e.updateClickedSlide(_&&_[0]||i.target,_),e.emit("tap click",i),d<300&&f-t.lastClickTime<300&&e.emit("doubleTap doubleClick",i)}if(t.lastClickTime=Ht(),fr(()=>{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 h=p>=-e.maxTranslate()&&!e.params.loop;let m=0,w=e.slidesSizesGrid[0];for(let _=0;_=u[_]&&p=u[_])&&(m=_,w=u[u.length-1]-u[u.length-2])}let b=null,v=null;a.rewind&&(e.isBeginning?v=a.virtual&&a.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(b=0));const g=(p-u[m])/w,y=ma.longSwipesMs){if(!a.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(g>=a.longSwipesRatio?e.slideTo(a.rewind&&e.isEnd?b:m+y):e.slideTo(m)),e.swipeDirection==="prev"&&(g>1-a.longSwipesRatio?e.slideTo(m+y):v!==null&&g<0&&Math.abs(g)>a.longSwipesRatio?e.slideTo(v):e.slideTo(m))}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(m+y):e.slideTo(m):(e.swipeDirection==="next"&&e.slideTo(b!==null?b:m+y),e.swipeDirection==="prev"&&e.slideTo(v!==null?v:m))}}function Wu(){const s=this,{params:e,el:t}=s;if(t&&t.offsetWidth===0)return;e.breakpoints&&s.setBreakpoint();const{allowSlideNext:i,allowSlidePrev:r,snapGrid:n}=s,a=s.virtual&&s.params.virtual.enabled;s.allowSlideNext=!0,s.allowSlidePrev=!0,s.updateSize(),s.updateSlides(),s.updateSlidesClasses();const o=a&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&s.isEnd&&!s.isBeginning&&!s.params.centeredSlides&&!o?s.slideTo(s.slides.length-1,0,!1,!0):s.params.loop&&!a?s.slideToLoop(s.realIndex,0,!1,!0):s.slideTo(s.activeIndex,0,!1,!0),s.autoplay&&s.autoplay.running&&s.autoplay.paused&&(clearTimeout(s.autoplay.resizeTimeout),s.autoplay.resizeTimeout=setTimeout(()=>{s.autoplay&&s.autoplay.running&&s.autoplay.paused&&s.autoplay.resume()},500)),s.allowSlidePrev=r,s.allowSlideNext=i,s.params.watchOverflow&&n!==s.snapGrid&&s.checkOverflow()}function lp(s){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&s.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(s.stopPropagation(),s.stopImmediatePropagation())))}function up(){const s=this,{wrapperEl:e,rtlTranslate:t,enabled:i}=s;if(!i)return;s.previousTranslate=s.translate,s.isHorizontal()?s.translate=-e.scrollLeft:s.translate=-e.scrollTop,s.translate===0&&(s.translate=0),s.updateActiveIndex(),s.updateSlidesClasses();let r;const n=s.maxTranslate()-s.minTranslate();n===0?r=0:r=(s.translate-s.minTranslate())/n,r!==s.progress&&s.updateProgress(t?-s.translate:s.translate),s.emit("setTranslate",s.translate,!1)}function cp(s){const e=this;Ps(e,s.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function dp(){const s=this;s.documentTouchHandlerProceeded||(s.documentTouchHandlerProceeded=!0,s.params.touchReleaseOnEdges&&(s.el.style.touchAction="auto"))}const Xu=(s,e)=>{const t=qe(),{params:i,el:r,wrapperEl:n,device:a}=s,o=!!i.nested,l=e==="on"?"addEventListener":"removeEventListener",u=e;!r||typeof r=="string"||(t[l]("touchstart",s.onDocumentTouchStart,{passive:!1,capture:o}),r[l]("touchstart",s.onTouchStart,{passive:!1}),r[l]("pointerdown",s.onTouchStart,{passive:!1}),t[l]("touchmove",s.onTouchMove,{passive:!1,capture:o}),t[l]("pointermove",s.onTouchMove,{passive:!1,capture:o}),t[l]("touchend",s.onTouchEnd,{passive:!0}),t[l]("pointerup",s.onTouchEnd,{passive:!0}),t[l]("pointercancel",s.onTouchEnd,{passive:!0}),t[l]("touchcancel",s.onTouchEnd,{passive:!0}),t[l]("pointerout",s.onTouchEnd,{passive:!0}),t[l]("pointerleave",s.onTouchEnd,{passive:!0}),t[l]("contextmenu",s.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&r[l]("click",s.onClick,!0),i.cssMode&&n[l]("scroll",s.onScroll),i.updateOnWindowResize?s[u](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",Wu,!0):s[u]("observerUpdate",Wu,!0),r[l]("load",s.onLoad,{capture:!0}))};function fp(){const s=this,{params:e}=s;s.onTouchStart=sp.bind(s),s.onTouchMove=ap.bind(s),s.onTouchEnd=op.bind(s),s.onDocumentTouchStart=dp.bind(s),e.cssMode&&(s.onScroll=up.bind(s)),s.onClick=lp.bind(s),s.onLoad=cp.bind(s),Xu(s,"on")}function pp(){Xu(this,"off")}var hp={attachEvents:fp,detachEvents:pp};const ju=(s,e)=>s.grid&&e.grid&&e.grid.rows>1;function mp(){const s=this,{realIndex:e,initialized:t,params:i,el:r}=s,n=i.breakpoints;if(!n||n&&Object.keys(n).length===0)return;const a=s.getBreakpoint(n,s.params.breakpointsBase,s.el);if(!a||s.currentBreakpoint===a)return;const l=(a in n?n[a]:void 0)||s.originalParams,u=ju(s,i),c=ju(s,l),f=s.params.grabCursor,d=l.grabCursor,p=i.enabled;u&&!c?(r.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),s.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`),s.emitContainerClasses()),f&&!d?s.unsetGrabCursor():!f&&d&&s.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(g=>{if(typeof l[g]>"u")return;const y=i[g]&&i[g].enabled,_=l[g]&&l[g].enabled;y&&!_&&s[g].disable(),!y&&_&&s[g].enable()});const h=l.direction&&l.direction!==i.direction,m=i.loop&&(l.slidesPerView!==i.slidesPerView||h),w=i.loop;h&&t&&s.changeDirection(),Mt(s.params,l);const b=s.params.enabled,v=s.params.loop;Object.assign(s,{allowTouchMove:s.params.allowTouchMove,allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev}),p&&!b?s.disable():!p&&b&&s.enable(),s.currentBreakpoint=a,s.emit("_beforeBreakpoint",l),t&&(m?(s.loopDestroy(),s.loopCreate(e),s.updateSlides()):!w&&v?(s.loopCreate(e),s.updateSlides()):w&&!v&&s.loopDestroy()),s.emit("breakpoint",l)}function gp(s,e,t){if(e===void 0&&(e="window"),!s||e==="container"&&!t)return;let i=!1;const r=Ee(),n=e==="window"?r.innerHeight:t.clientHeight,a=Object.keys(s).map(o=>{if(typeof o=="string"&&o.indexOf("@")===0){const l=parseFloat(o.substr(1));return{value:n*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 yp(){const s=this,{classNames:e,params:t,rtl:i,el:r,device:n}=s,a=wp(["initialized",t.direction,{"free-mode":s.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:n.android},{ios:n.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...a),r.classList.add(...e),s.emitContainerClasses()}function bp(){const s=this,{el:e,classNames:t}=s;!e||typeof e=="string"||(e.classList.remove(...t),s.emitContainerClasses())}var _p={addClasses:yp,removeClasses:bp};function Dp(){const s=this,{isLocked:e,params:t}=s,{slidesOffsetBefore:i}=t;if(i){const r=s.slides.length-1,n=s.slidesGrid[r]+s.slidesSizesGrid[r]+i*2;s.isLocked=s.size>n}else s.isLocked=s.snapGrid.length===1;t.allowSlideNext===!0&&(s.allowSlideNext=!s.isLocked),t.allowSlidePrev===!0&&(s.allowSlidePrev=!s.isLocked),e&&e!==s.isLocked&&(s.isEnd=!1),e!==s.isLocked&&s.emit(s.isLocked?"lock":"unlock")}var Ep={checkOverflow:Dp},Uu={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 xp(s,e){return function(i){i===void 0&&(i={});const r=Object.keys(i)[0],n=i[r];if(typeof n!="object"||n===null){Mt(e,i);return}if(s[r]===!0&&(s[r]={enabled:!0}),r==="navigation"&&s[r]&&s[r].enabled&&!s[r].prevEl&&!s[r].nextEl&&(s[r].auto=!0),["pagination","scrollbar"].indexOf(r)>=0&&s[r]&&s[r].enabled&&!s[r].el&&(s[r].auto=!0),!(r in s&&"enabled"in n)){Mt(e,i);return}typeof s[r]=="object"&&!("enabled"in s[r])&&(s[r].enabled=!0),s[r]||(s[r]={enabled:!1}),Mt(e,i)}}const po={eventsEmitter:_f,update:Ff,translate:Rf,transition:Vf,slide:Qf,loop:ep,grabCursor:rp,events:hp,breakpoints:vp,checkOverflow:Ep,classes:_p},ho={};class tt{constructor(){let e,t;for(var i=arguments.length,r=new Array(i),n=0;n1){const c=[];return a.querySelectorAll(t.el).forEach(f=>{const d=Mt({},t,{el:f});c.push(new tt(d))}),c}const o=this;o.__swiper__=!0,o.support=Yu(),o.device=Vu({userAgent:t.userAgent}),o.browser=wf(),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:xp(t,l),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})});const u=Mt({},Uu,l);return o.params=Mt({},u,ho,t),o.originalParams=Mt({},o.params),o.passedParams=Mt({},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=He(t,`.${i.slideClass}, swiper-slide`),n=Fn(r[0]);return Fn(e)-n}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=He(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:n,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=n[u]?Math.ceil(n[u].swiperSlideSize):0,d;for(let p=u+1;pl&&(d=!0));for(let p=u-1;p>=0;p-=1)n[p]&&!d&&(f+=n[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&&Ps(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 n;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;n=e.slideTo(a.length-1,0,!1,!0)}else n=e.slideTo(e.activeIndex,0,!1,!0);n||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(n=>{e==="vertical"?n.style.width="":n.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()):He(i,r())[0];return!a&&t.params.createElements&&(a=Pt("div",t.params.wrapperClass),i.append(a),He(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"||qi(i,"direction")==="rtl",rtlTranslate:t.params.direction==="horizontal"&&(i.dir.toLowerCase()==="rtl"||qi(i,"direction")==="rtl"),wrongRTL:qi(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(n=>{n.complete?Ps(t,n):n.addEventListener("load",a=>{Ps(t,a.target)})}),fo(t),t.initialized=!0,fo(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:n,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(),n&&typeof n!="string"&&n.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),uf(i)),i.destroyed=!0),null}static extendDefaults(e){Mt(ho,e)}static get extendedDefaults(){return ho}static get defaults(){return Uu}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(po).forEach(s=>{Object.keys(po[s]).forEach(e=>{tt.prototype[e]=po[s][e]})}),tt.use([yf,bf]);function Sp(s){let{swiper:e,extendParams:t,on:i,emit:r}=s;t({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let n;const a=qe();e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const o=a.createElement("div");function l(h,m){const w=e.params.virtual;if(w.cache&&e.virtual.cache[m])return e.virtual.cache[m];let b;return w.renderSlide?(b=w.renderSlide.call(e,h,m),typeof b=="string"&&(o.innerHTML=b,b=o.children[0])):e.isElement?b=Pt("swiper-slide"):b=Pt("div",e.params.slideClass),b.setAttribute("data-swiper-slide-index",m),w.renderSlide||(b.innerHTML=h),w.cache&&(e.virtual.cache[m]=b),b}function u(h,m){const{slidesPerView:w,slidesPerGroup:b,centeredSlides:v,loop:g,initialSlide:y}=e.params;if(m&&!g&&y>0)return;const{addSlidesBefore:_,addSlidesAfter:S}=e.params.virtual,{from:E,to:T,slides:A,slidesGrid:M,offset:z}=e.virtual;e.params.cssMode||e.updateActiveIndex();const D=e.activeIndex||0;let x;e.rtlTranslate?x="right":x=e.isHorizontal()?"left":"top";let C,O;v?(C=Math.floor(w/2)+b+S,O=Math.floor(w/2)+b+_):(C=w+(b-1)+S,O=(g?w:b)+_);let I=D-O,P=D+C;g||(I=Math.max(I,0),P=Math.min(P,A.length-1));let L=(e.slidesGrid[I]||0)-(e.slidesGrid[0]||0);g&&D>=O?(I-=O,v||(L+=e.slidesGrid[0])):g&&D{$.style[x]=`${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:P,slides:function(){const j=[];for(let U=I;U<=P;U+=1)j.push(A[U]);return j}()}),e.params.virtual.renderExternalUpdate?F():r("virtualUpdate");return}const k=[],B=[],N=$=>{let j=$;return $<0?j=A.length+$:j>=A.length&&(j=j-A.length),j};if(h)e.slides.filter($=>$.matches(`.${e.params.slideClass}, swiper-slide`)).forEach($=>{$.remove()});else for(let $=E;$<=T;$+=1)if($P){const j=N($);e.slides.filter(U=>U.matches(`.${e.params.slideClass}[data-swiper-slide-index="${j}"], swiper-slide[data-swiper-slide-index="${j}"]`)).forEach(U=>{U.remove()})}const Y=g?-A.length:0,H=g?A.length*2:A.length;for(let $=Y;$=I&&$<=P){const j=N($);typeof T>"u"||h?B.push(j):($>T&&B.push(j),${e.slidesEl.append(l(A[$],$))}),g)for(let $=k.length-1;$>=0;$-=1){const j=k[$];e.slidesEl.prepend(l(A[j],j))}else k.sort(($,j)=>j-$),k.forEach($=>{e.slidesEl.prepend(l(A[$],$))});He(e.slidesEl,".swiper-slide, swiper-slide").forEach($=>{$.style[x]=`${L-Math.abs(e.cssOverflowAdjustment())}px`}),F()}function c(h){if(typeof h=="object"&&"length"in h)for(let m=0;m{const _=v[y],S=_.getAttribute("data-swiper-slide-index");S&&_.setAttribute("data-swiper-slide-index",parseInt(S,10)+b),g[parseInt(y,10)+b]=_}),e.virtual.cache=g}u(!0),e.slideTo(w,0)}function d(h){if(typeof h>"u"||h===null)return;let m=e.activeIndex;if(Array.isArray(h))for(let w=h.length-1;w>=0;w-=1)e.params.virtual.cache&&(delete e.virtual.cache[h[w]],Object.keys(e.virtual.cache).forEach(b=>{b>h&&(e.virtual.cache[b-1]=e.virtual.cache[b],e.virtual.cache[b-1].setAttribute("data-swiper-slide-index",b-1),delete e.virtual.cache[b])})),e.virtual.slides.splice(h[w],1),h[w]{w>h&&(e.virtual.cache[w-1]=e.virtual.cache[w],e.virtual.cache[w-1].setAttribute("data-swiper-slide-index",w-1),delete e.virtual.cache[w])})),e.virtual.slides.splice(h,1),h{if(!e.params.virtual.enabled)return;let h;if(typeof e.passedParams.virtual.slides>"u"){const m=[...e.slidesEl.children].filter(w=>w.matches(`.${e.params.slideClass}, swiper-slide`));m&&m.length&&(e.virtual.slides=[...m],h=!0,m.forEach((w,b)=>{w.setAttribute("data-swiper-slide-index",b),e.virtual.cache[b]=w,w.remove()}))}h||(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(n),n=setTimeout(()=>{u()},100)):u())}),i("init update resize",()=>{e.params.virtual.enabled&&e.params.cssMode&&kn(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)}),Object.assign(e.virtual,{appendSlide:c,prependSlide:f,removeSlide:d,removeAllSlides:p,update:u})}function Tp(s){let{swiper:e,extendParams:t,on:i,emit:r}=s;const n=qe(),a=Ee();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,h=e.params.keyboard.pageUpDown,m=h&&p===33,w=h&&p===34,b=p===37,v=p===39,g=p===38,y=p===40;if(!e.allowSlideNext&&(e.isHorizontal()&&v||e.isVertical()&&y||w)||!e.allowSlidePrev&&(e.isHorizontal()&&b||e.isVertical()&&g||m))return!1;if(!(d.shiftKey||d.altKey||d.ctrlKey||d.metaKey)&&!(n.activeElement&&n.activeElement.nodeName&&(n.activeElement.nodeName.toLowerCase()==="input"||n.activeElement.nodeName.toLowerCase()==="textarea"))){if(e.params.keyboard.onlyInViewport&&(m||w||b||v||g||y)){let _=!1;if(hr(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&hr(e.el,`.${e.params.slideActiveClass}`).length===0)return;const S=e.el,E=S.clientWidth,T=S.clientHeight,A=a.innerWidth,M=a.innerHeight,z=As(S);f&&(z.left-=S.scrollLeft);const D=[[z.left,z.top],[z.left+E,z.top],[z.left,z.top+T],[z.left+E,z.top+T]];for(let x=0;x=0&&C[0]<=A&&C[1]>=0&&C[1]<=M){if(C[0]===0&&C[1]===0)continue;_=!0}}if(!_)return}e.isHorizontal()?((m||w||b||v)&&(d.preventDefault?d.preventDefault():d.returnValue=!1),((w||v)&&!f||(m||b)&&f)&&e.slideNext(),((m||b)&&!f||(w||v)&&f)&&e.slidePrev()):((m||w||g||y)&&(d.preventDefault?d.preventDefault():d.returnValue=!1),(w||y)&&e.slideNext(),(m||g)&&e.slidePrev()),r("keyPress",p)}}function l(){e.keyboard.enabled||(n.addEventListener("keydown",o),e.keyboard.enabled=!0)}function u(){e.keyboard.enabled&&(n.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 Cp(s){let{swiper:e,extendParams:t,on:i,emit:r}=s;const n=Ee();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 E=0,T=0,A=0,M=0;return"detail"in g&&(T=g.detail),"wheelDelta"in g&&(T=-g.wheelDelta/120),"wheelDeltaY"in g&&(T=-g.wheelDeltaY/120),"wheelDeltaX"in g&&(E=-g.wheelDeltaX/120),"axis"in g&&g.axis===g.HORIZONTAL_AXIS&&(E=T,T=0),A=E*10,M=T*10,"deltaY"in g&&(M=g.deltaY),"deltaX"in g&&(A=g.deltaX),g.shiftKey&&!A&&(A=M,M=0),(A||M)&&g.deltaMode&&(g.deltaMode===1?(A*=40,M*=40):(A*=800,M*=800)),A&&!E&&(E=A<1?-1:1),M&&!T&&(T=M<1?-1:1),{spinX:E,spinY:T,pixelX:A,pixelY:M}}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 n.Date().getTime(),!1)}function h(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 m(g){let y=g,_=!0;if(!e.enabled||g.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const S=e.params.mousewheel;e.params.cssMode&&y.preventDefault();let E=e.el;e.params.mousewheel.eventsTarget!=="container"&&(E=document.querySelector(e.params.mousewheel.eventsTarget));const T=E&&E.contains(y.target);if(!e.mouseEntered&&!T&&!S.releaseOnEdges)return!0;y.originalEvent&&(y=y.originalEvent);let A=0;const M=e.rtlTranslate?-1:1,z=c(y);if(S.forceToAxis)if(e.isHorizontal())if(Math.abs(z.pixelX)>Math.abs(z.pixelY))A=-z.pixelX*M;else return!0;else if(Math.abs(z.pixelY)>Math.abs(z.pixelX))A=-z.pixelY;else return!0;else A=Math.abs(z.pixelX)>Math.abs(z.pixelY)?-z.pixelX*M:-z.pixelY;if(A===0)return!0;S.invert&&(A=-A);let D=e.getTranslate()+A*S.sensitivity;if(D>=e.minTranslate()&&(D=e.minTranslate()),D<=e.maxTranslate()&&(D=e.maxTranslate()),_=e.params.loop?!0:!(D===e.minTranslate()||D===e.maxTranslate()),_&&e.params.nested&&y.stopPropagation(),!e.params.freeMode||!e.params.freeMode.enabled){const x={time:Ht(),delta:Math.abs(A),direction:Math.sign(A),raw:g};u.length>=2&&u.shift();const C=u.length?u[u.length-1]:void 0;if(u.push(x),C?(x.direction!==C.direction||x.delta>C.delta||x.time>C.time+150)&&p(x):p(x),h(x))return!0}else{const x={time:Ht(),delta:Math.abs(A),direction:Math.sign(A)},C=l&&x.time=e.minTranslate()&&(O=e.minTranslate()),O<=e.maxTranslate()&&(O=e.maxTranslate()),e.setTransition(0),e.setTranslate(O),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!I&&e.isBeginning||!P&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:x.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(x),L&&(x.delta>L.delta||x.direction!==L.direction))u.splice(0);else if(u.length>=15&&x.time-F.time<500&&F.delta-x.delta>=1&&x.delta<=6){const k=A>0?.8:.2;l=x,u.splice(0),a=fr(()=>{e.destroyed||!e.params||e.slideToClosest(e.params.speed,!0,void 0,k)},0)}a||(a=fr(()=>{if(e.destroyed||!e.params)return;const k=.5;l=x,u.splice(0),e.slideToClosest(e.params.speed,!0,void 0,k)},500))}if(C||r("scroll",y),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),S.releaseOnEdges&&(O===e.minTranslate()||O===e.maxTranslate()))return!0}}return y.preventDefault?y.preventDefault():y.returnValue=!1,!1}function w(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",m)}function b(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",m),!0):e.mousewheel.enabled?!1:(w("addEventListener"),e.mousewheel.enabled=!0,!0)}function v(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,m),!0):e.mousewheel.enabled?(w("removeEventListener"),e.mousewheel.enabled=!1,!0):!1}i("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&v(),e.params.mousewheel.enabled&&b()}),i("destroy",()=>{e.params.cssMode&&b(),e.mousewheel.enabled&&v()}),Object.assign(e.mousewheel,{enable:b,disable:v})}function mo(s,e,t,i){return s.params.createElements&&Object.keys(i).forEach(r=>{if(!t[r]&&t.auto===!0){let n=He(s.el,`.${i[r]}`)[0];n||(n=Pt("div",i[r]),n.className=i[r],s.el.append(n)),t[r]=n,e[r]=n}}),t}function Ap(s){let{swiper:e,extendParams:t,on:i,emit:r}=s;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 n(h){let m;return h&&typeof h=="string"&&e.isElement&&(m=e.el.querySelector(h)||e.hostEl.querySelector(h),m)?m:(h&&(typeof h=="string"&&(m=[...document.querySelectorAll(h)]),e.params.uniqueNavElements&&typeof h=="string"&&m&&m.length>1&&e.el.querySelectorAll(h).length===1?m=e.el.querySelector(h):m&&m.length===1&&(m=m[0])),h&&!m?h:m)}function a(h,m){const w=e.params.navigation;h=ee(h),h.forEach(b=>{b&&(b.classList[m?"add":"remove"](...w.disabledClass.split(" ")),b.tagName==="BUTTON"&&(b.disabled=m),e.params.watchOverflow&&e.enabled&&b.classList[e.isLocked?"add":"remove"](w.lockClass))})}function o(){const{nextEl:h,prevEl:m}=e.navigation;if(e.params.loop){a(m,!1),a(h,!1);return}a(m,e.isBeginning&&!e.params.rewind),a(h,e.isEnd&&!e.params.rewind)}function l(h){h.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function u(h){h.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function c(){const h=e.params.navigation;if(e.params.navigation=mo(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(h.nextEl||h.prevEl))return;let m=n(h.nextEl),w=n(h.prevEl);Object.assign(e.navigation,{nextEl:m,prevEl:w}),m=ee(m),w=ee(w);const b=(v,g)=>{v&&v.addEventListener("click",g==="next"?u:l),!e.enabled&&v&&v.classList.add(...h.lockClass.split(" "))};m.forEach(v=>b(v,"next")),w.forEach(v=>b(v,"prev"))}function f(){let{nextEl:h,prevEl:m}=e.navigation;h=ee(h),m=ee(m);const w=(b,v)=>{b.removeEventListener("click",v==="next"?u:l),b.classList.remove(...e.params.navigation.disabledClass.split(" "))};h.forEach(b=>w(b,"next")),m.forEach(b=>w(b,"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:h,prevEl:m}=e.navigation;if(h=ee(h),m=ee(m),e.enabled){o();return}[...h,...m].filter(w=>!!w).forEach(w=>w.classList.add(e.params.navigation.lockClass))}),i("click",(h,m)=>{let{nextEl:w,prevEl:b}=e.navigation;w=ee(w),b=ee(b);const v=m.target;let g=b.includes(v)||w.includes(v);if(e.isElement&&!g){const y=m.path||m.composedPath&&m.composedPath();y&&(g=y.find(_=>w.includes(_)||b.includes(_)))}if(e.params.navigation.hideOnClick&&!g){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===v||e.pagination.el.contains(v)))return;let y;w.length?y=w[0].classList.contains(e.params.navigation.hiddenClass):b.length&&(y=b[0].classList.contains(e.params.navigation.hiddenClass)),r(y===!0?"navigationShow":"navigationHide"),[...w,...b].filter(_=>!!_).forEach(_=>_.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 xi(s){return s===void 0&&(s=""),`.${s.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Mp(s){let{swiper:e,extendParams:t,on:i,emit:r}=s;const n="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:v=>v,formatFractionTotal:v=>v,bulletClass:`${n}-bullet`,bulletActiveClass:`${n}-bullet-active`,modifierClass:`${n}-`,currentClass:`${n}-current`,totalClass:`${n}-total`,hiddenClass:`${n}-hidden`,progressbarFillClass:`${n}-progressbar-fill`,progressbarOppositeClass:`${n}-progressbar-opposite`,clickableClass:`${n}-clickable`,lockClass:`${n}-lock`,horizontalClass:`${n}-horizontal`,verticalClass:`${n}-vertical`,paginationDisabledClass:`${n}-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(v,g){const{bulletActiveClass:y}=e.params.pagination;v&&(v=v[`${g==="prev"?"previous":"next"}ElementSibling`],v&&(v.classList.add(`${y}-${g}`),v=v[`${g==="prev"?"previous":"next"}ElementSibling`],v&&v.classList.add(`${y}-${g}-${g}`)))}function c(v,g,y){if(v=v%y,g=g%y,g===v+1)return"next";if(g===v-1)return"previous"}function f(v){const g=v.target.closest(xi(e.params.pagination.bulletClass));if(!g)return;v.preventDefault();const y=Fn(g)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===y)return;const _=c(e.realIndex,y,e.slides.length);_==="next"?e.slideNext():_==="previous"?e.slidePrev():e.slideToLoop(y)}else e.slideTo(y)}function d(){const v=e.rtl,g=e.params.pagination;if(l())return;let y=e.pagination.el;y=ee(y);let _,S;const E=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,T=e.params.loop?Math.ceil(E/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(S=e.previousRealIndex||0,_=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(_=e.snapIndex,S=e.previousSnapIndex):(S=e.previousIndex||0,_=e.activeIndex||0),g.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const A=e.pagination.bullets;let M,z,D;if(g.dynamicBullets&&(a=so(A[0],e.isHorizontal()?"width":"height"),y.forEach(x=>{x.style[e.isHorizontal()?"width":"height"]=`${a*(g.dynamicMainBullets+4)}px`}),g.dynamicMainBullets>1&&S!==void 0&&(o+=_-(S||0),o>g.dynamicMainBullets-1?o=g.dynamicMainBullets-1:o<0&&(o=0)),M=Math.max(_-o,0),z=M+(Math.min(A.length,g.dynamicMainBullets)-1),D=(z+M)/2),A.forEach(x=>{const C=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(O=>`${g.bulletActiveClass}${O}`)].map(O=>typeof O=="string"&&O.includes(" ")?O.split(" "):O).flat();x.classList.remove(...C)}),y.length>1)A.forEach(x=>{const C=Fn(x);C===_?x.classList.add(...g.bulletActiveClass.split(" ")):e.isElement&&x.setAttribute("part","bullet"),g.dynamicBullets&&(C>=M&&C<=z&&x.classList.add(...`${g.bulletActiveClass}-main`.split(" ")),C===M&&u(x,"prev"),C===z&&u(x,"next"))});else{const x=A[_];if(x&&x.classList.add(...g.bulletActiveClass.split(" ")),e.isElement&&A.forEach((C,O)=>{C.setAttribute("part",O===_?"bullet-active":"bullet")}),g.dynamicBullets){const C=A[M],O=A[z];for(let I=M;I<=z;I+=1)A[I]&&A[I].classList.add(...`${g.bulletActiveClass}-main`.split(" "));u(C,"prev"),u(O,"next")}}if(g.dynamicBullets){const x=Math.min(A.length,g.dynamicMainBullets+4),C=(a*x-a)/2-D*a,O=v?"right":"left";A.forEach(I=>{I.style[e.isHorizontal()?O:"top"]=`${C}px`})}}y.forEach((A,M)=>{if(g.type==="fraction"&&(A.querySelectorAll(xi(g.currentClass)).forEach(z=>{z.textContent=g.formatFractionCurrent(_+1)}),A.querySelectorAll(xi(g.totalClass)).forEach(z=>{z.textContent=g.formatFractionTotal(T)})),g.type==="progressbar"){let z;g.progressbarOpposite?z=e.isHorizontal()?"vertical":"horizontal":z=e.isHorizontal()?"horizontal":"vertical";const D=(_+1)/T;let x=1,C=1;z==="horizontal"?x=D:C=D,A.querySelectorAll(xi(g.progressbarFillClass)).forEach(O=>{O.style.transform=`translate3d(0,0,0) scaleX(${x}) scaleY(${C})`,O.style.transitionDuration=`${e.params.speed}ms`})}g.type==="custom"&&g.renderCustom?(A.innerHTML=g.renderCustom(e,_+1,T),M===0&&r("paginationRender",A)):(M===0&&r("paginationRender",A),r("paginationUpdate",A)),e.params.watchOverflow&&e.enabled&&A.classList[e.isLocked?"add":"remove"](g.lockClass)})}function p(){const v=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 _="";if(v.type==="bullets"){let S=e.params.loop?Math.ceil(g/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&S>g&&(S=g);for(let E=0;E`}v.type==="fraction"&&(v.renderFraction?_=v.renderFraction.call(e,v.currentClass,v.totalClass):_=` / `),v.type==="progressbar"&&(v.renderProgressbar?_=v.renderProgressbar.call(e,v.progressbarFillClass):_=``),e.pagination.bullets=[],y.forEach(S=>{v.type!=="custom"&&(S.innerHTML=_||""),v.type==="bullets"&&e.pagination.bullets.push(...S.querySelectorAll(xi(v.bulletClass)))}),v.type!=="custom"&&r("paginationRender",y[0])}function h(){e.params.pagination=mo(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const v=e.params.pagination;if(!v.el)return;let g;typeof v.el=="string"&&e.isElement&&(g=e.el.querySelector(v.el)),!g&&typeof v.el=="string"&&(g=[...document.querySelectorAll(v.el)]),g||(g=v.el),!(!g||g.length===0)&&(e.params.uniqueNavElements&&typeof v.el=="string"&&Array.isArray(g)&&g.length>1&&(g=[...e.el.querySelectorAll(v.el)],g.length>1&&(g=g.filter(y=>hr(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=>{v.type==="bullets"&&v.clickable&&y.classList.add(...(v.clickableClass||"").split(" ")),y.classList.add(v.modifierClass+v.type),y.classList.add(e.isHorizontal()?v.horizontalClass:v.verticalClass),v.type==="bullets"&&v.dynamicBullets&&(y.classList.add(`${v.modifierClass}${v.type}-dynamic`),o=0,v.dynamicMainBullets<1&&(v.dynamicMainBullets=1)),v.type==="progressbar"&&v.progressbarOpposite&&y.classList.add(v.progressbarOppositeClass),v.clickable&&y.addEventListener("click",f),e.enabled||y.classList.add(v.lockClass)}))}function m(){const v=e.params.pagination;if(l())return;let g=e.pagination.el;g&&(g=ee(g),g.forEach(y=>{y.classList.remove(v.hiddenClass),y.classList.remove(v.modifierClass+v.type),y.classList.remove(e.isHorizontal()?v.horizontalClass:v.verticalClass),v.clickable&&(y.classList.remove(...(v.clickableClass||"").split(" ")),y.removeEventListener("click",f))})),e.pagination.bullets&&e.pagination.bullets.forEach(y=>y.classList.remove(...v.bulletActiveClass.split(" ")))}i("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const v=e.params.pagination;let{el:g}=e.pagination;g=ee(g),g.forEach(y=>{y.classList.remove(v.horizontalClass,v.verticalClass),y.classList.add(e.isHorizontal()?v.horizontalClass:v.verticalClass)})}),i("init",()=>{e.params.pagination.enabled===!1?b():(h(),p(),d())}),i("activeIndexChange",()=>{typeof e.snapIndex>"u"&&d()}),i("snapIndexChange",()=>{d()}),i("snapGridLengthChange",()=>{p(),d()}),i("destroy",()=>{m()}),i("enable disable",()=>{let{el:v}=e.pagination;v&&(v=ee(v),v.forEach(g=>g.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),i("lock unlock",()=>{d()}),i("click",(v,g)=>{const y=g.target,_=ee(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&_&&_.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 S=_[0].classList.contains(e.params.pagination.hiddenClass);r(S===!0?"paginationShow":"paginationHide"),_.forEach(E=>E.classList.toggle(e.params.pagination.hiddenClass))}});const w=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:v}=e.pagination;v&&(v=ee(v),v.forEach(g=>g.classList.remove(e.params.pagination.paginationDisabledClass))),h(),p(),d()},b=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:v}=e.pagination;v&&(v=ee(v),v.forEach(g=>g.classList.add(e.params.pagination.paginationDisabledClass))),m()};Object.assign(e.pagination,{enable:w,disable:b,render:p,update:d,init:h,destroy:m})}function Pp(s){let{swiper:e,extendParams:t,on:i,emit:r}=s;const n=qe();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:D,rtlTranslate:x}=e,{dragEl:C,el:O}=D,I=e.params.scrollbar,P=e.params.loop?e.progressLoop:e.progress;let L=c,F=(f-c)*P;x?(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()?(C.style.transform=`translate3d(${F}px, 0, 0)`,C.style.width=`${L}px`):(C.style.transform=`translate3d(0px, ${F}px, 0)`,C.style.height=`${L}px`),I.hide&&(clearTimeout(o),O.style.opacity=1,o=setTimeout(()=>{O.style.opacity=0,O.style.transitionDuration="400ms"},1e3))}function h(D){!e.params.scrollbar.el||!e.scrollbar.el||(e.scrollbar.dragEl.style.transitionDuration=`${D}ms`)}function m(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:D}=e,{dragEl:x,el:C}=D;x.style.width="",x.style.height="",f=e.isHorizontal()?C.offsetWidth:C.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()?x.style.width=`${c}px`:x.style.height=`${c}px`,d>=1?C.style.display="none":C.style.display="",e.params.scrollbar.hide&&(C.style.opacity=0),e.params.watchOverflow&&e.enabled&&D.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function w(D){return e.isHorizontal()?D.clientX:D.clientY}function b(D){const{scrollbar:x,rtlTranslate:C}=e,{el:O}=x;let I;I=(w(D)-As(O)[e.isHorizontal()?"left":"top"]-(u!==null?u:c/2))/(f-c),I=Math.max(Math.min(I,1),0),C&&(I=1-I);const P=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*I;e.updateProgress(P),e.setTranslate(P),e.updateActiveIndex(),e.updateSlidesClasses()}function v(D){const x=e.params.scrollbar,{scrollbar:C,wrapperEl:O}=e,{el:I,dragEl:P}=C;a=!0,u=D.target===P?w(D)-D.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,D.preventDefault(),D.stopPropagation(),O.style.transitionDuration="100ms",P.style.transitionDuration="100ms",b(D),clearTimeout(l),I.style.transitionDuration="0ms",x.hide&&(I.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),r("scrollbarDragStart",D)}function g(D){const{scrollbar:x,wrapperEl:C}=e,{el:O,dragEl:I}=x;a&&(D.preventDefault&&D.cancelable?D.preventDefault():D.returnValue=!1,b(D),C.style.transitionDuration="0ms",O.style.transitionDuration="0ms",I.style.transitionDuration="0ms",r("scrollbarDragMove",D))}function y(D){const x=e.params.scrollbar,{scrollbar:C,wrapperEl:O}=e,{el:I}=C;a&&(a=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",O.style.transitionDuration=""),x.hide&&(clearTimeout(l),l=fr(()=>{I.style.opacity=0,I.style.transitionDuration="400ms"},1e3)),r("scrollbarDragEnd",D),x.snapOnRelease&&e.slideToClosest())}function _(D){const{scrollbar:x,params:C}=e,O=x.el;if(!O)return;const I=O,P=C.passiveListeners?{passive:!1,capture:!1}:!1,L=C.passiveListeners?{passive:!0,capture:!1}:!1;if(!I)return;const F=D==="on"?"addEventListener":"removeEventListener";I[F]("pointerdown",v,P),n[F]("pointermove",g,P),n[F]("pointerup",y,L)}function S(){!e.params.scrollbar.el||!e.scrollbar.el||_("on")}function E(){!e.params.scrollbar.el||!e.scrollbar.el||_("off")}function T(){const{scrollbar:D,el:x}=e;e.params.scrollbar=mo(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const C=e.params.scrollbar;if(!C.el)return;let O;if(typeof C.el=="string"&&e.isElement&&(O=e.el.querySelector(C.el)),!O&&typeof C.el=="string"){if(O=n.querySelectorAll(C.el),!O.length)return}else O||(O=C.el);e.params.uniqueNavElements&&typeof C.el=="string"&&O.length>1&&x.querySelectorAll(C.el).length===1&&(O=x.querySelector(C.el)),O.length>0&&(O=O[0]),O.classList.add(e.isHorizontal()?C.horizontalClass:C.verticalClass);let I;O&&(I=O.querySelector(xi(e.params.scrollbar.dragClass)),I||(I=Pt("div",e.params.scrollbar.dragClass),O.append(I))),Object.assign(D,{el:O,dragEl:I}),C.draggable&&S(),O&&O.classList[e.enabled?"remove":"add"](...Gi(e.params.scrollbar.lockClass))}function A(){const D=e.params.scrollbar,x=e.scrollbar.el;x&&x.classList.remove(...Gi(e.isHorizontal()?D.horizontalClass:D.verticalClass)),E()}i("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const D=e.params.scrollbar;let{el:x}=e.scrollbar;x=ee(x),x.forEach(C=>{C.classList.remove(D.horizontalClass,D.verticalClass),C.classList.add(e.isHorizontal()?D.horizontalClass:D.verticalClass)})}),i("init",()=>{e.params.scrollbar.enabled===!1?z():(T(),m(),p())}),i("update resize observerUpdate lock unlock changeDirection",()=>{m()}),i("setTranslate",()=>{p()}),i("setTransition",(D,x)=>{h(x)}),i("enable disable",()=>{const{el:D}=e.scrollbar;D&&D.classList[e.enabled?"remove":"add"](...Gi(e.params.scrollbar.lockClass))}),i("destroy",()=>{A()});const M=()=>{e.el.classList.remove(...Gi(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...Gi(e.params.scrollbar.scrollbarDisabledClass)),T(),m(),p()},z=()=>{e.el.classList.add(...Gi(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...Gi(e.params.scrollbar.scrollbarDisabledClass)),A()};Object.assign(e.scrollbar,{enable:M,disable:z,updateSize:m,setTranslate:p,init:T,destroy:A})}function kp(s){let{swiper:e,extendParams:t,on:i}=s;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]",n=(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"),h=l.getAttribute("data-swiper-parallax-y");const m=l.getAttribute("data-swiper-parallax-scale"),w=l.getAttribute("data-swiper-parallax-opacity"),b=l.getAttribute("data-swiper-parallax-rotate");if(p||h?(p=p||"0",h=h||"0"):e.isHorizontal()?(p=d,h="0"):(h=d,p="0"),p.indexOf("%")>=0?p=`${parseInt(p,10)*u*f}%`:p=`${p*u*f}px`,h.indexOf("%")>=0?h=`${parseInt(h,10)*u}%`:h=`${h*u}px`,typeof w<"u"&&w!==null){const g=w-(w-1)*(1-Math.abs(u));l.style.opacity=g}let v=`translate3d(${p}, ${h}, 0px)`;if(typeof m<"u"&&m!==null){const g=m-(m-1)*(1-Math.abs(u));v+=` scale(${g})`}if(b&&typeof b<"u"&&b!==null){const g=b*u*-1;v+=` rotate(${g}deg)`}l.style.transform=v},a=()=>{const{el:l,slides:u,progress:c,snapGrid:f,isElement:d}=e,p=He(l,r);e.isElement&&p.push(...He(e.hostEl,r)),p.forEach(h=>{n(h,c)}),u.forEach((h,m)=>{let w=h.progress;e.params.slidesPerGroup>1&&e.params.slidesPerView!=="auto"&&(w+=Math.ceil(m/2)-c*(f.length-1)),w=Math.min(Math.max(w,-1),1),h.querySelectorAll(`${r}, [data-swiper-parallax-rotate]`).forEach(b=>{n(b,w)})})},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 Fp(s){let{swiper:e,extendParams:t,on:i,emit:r}=s;const n=Ee();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 h=1;Object.defineProperty(e.zoom,"scale",{get(){return h},set(B){if(h!==B){const N=f.imageEl,Y=f.slideEl;r("zoomChange",B,N,Y)}h=B}});function m(){if(c.length<2)return 1;const B=c[0].pageX,N=c[0].pageY,Y=c[1].pageX,H=c[1].pageY;return Math.sqrt((Y-B)**2+(H-N)**2)}function w(){const B=e.params.zoom,N=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,N)}return N}function b(){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-n.scrollX)/a,(c[0].pageY+(c[1].pageY-c[0].pageY)/2-B.y-n.scrollY)/a]}function v(){return e.isElement?"swiper-slide":`.${e.params.slideClass}`}function g(B){const N=v();return!!(B.target.matches(N)||e.slides.filter(Y=>Y.contains(B.target)).length>0)}function y(B){const N=`.${e.params.zoom.containerClass}`;return!!(B.target.matches(N)||[...e.hostEl.querySelectorAll(N)].filter(Y=>Y.contains(B.target)).length>0)}function _(B){if(B.pointerType==="mouse"&&c.splice(0,c.length),!g(B))return;const N=e.params.zoom;if(l=!1,u=!1,c.push(B),!(c.length<2)){if(l=!0,f.scaleStart=m(),!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(`.${N.containerClass}`);if(Y&&(Y=Y.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),f.imageEl=Y,Y?f.imageWrapEl=hr(f.imageEl,`.${N.containerClass}`)[0]:f.imageWrapEl=void 0,!f.imageWrapEl){f.imageEl=void 0;return}f.maxRatio=w()}if(f.imageEl){const[Y,H]=b();f.originX=Y,f.originY=H,f.imageEl.style.transitionDuration="0ms"}o=!0}}function S(B){if(!g(B))return;const N=e.params.zoom,Y=e.zoom,H=c.findIndex($=>$.pointerId===B.pointerId);H>=0&&(c[H]=B),!(c.length<2)&&(u=!0,f.scaleMove=m(),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$.pointerId===B.pointerId);H>=0&&c.splice(H,1),!(!l||!u)&&(l=!1,u=!1,f.imageEl&&(Y.scale=Math.max(Math.min(Y.scale,f.maxRatio),N.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(`${N.zoomedSlideClass}`):Y.scale<=1&&f.slideEl&&f.slideEl.classList.remove(`${N.zoomedSlideClass}`),Y.scale===1&&(f.originX=0,f.originY=0,f.slideEl=void 0)))}let T;function A(){e.touchEventsData.preventTouchMoveFromPointerMove=!1}function M(){clearTimeout(T),e.touchEventsData.preventTouchMoveFromPointerMove=!0,T=setTimeout(()=>{e.destroyed||A()})}function z(B){const N=e.device;if(!f.imageEl||d.isTouched)return;N.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 D(B){if(!g(B)||!y(B))return;const N=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=no(f.imageWrapEl,"x")||0,d.startY=no(f.imageWrapEl,"y")||0,f.slideWidth=f.slideEl.offsetWidth,f.slideHeight=f.slideEl.offsetHeight,f.imageWrapEl.style.transitionDuration="0ms");const Y=d.width*N.scale,H=d.height*N.scale;if(d.minX=Math.min(f.slideWidth/2-Y/2,0),d.maxX=-d.minX,d.minY=Math.min(f.slideHeight/2-H/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,A();return}if(!e.isHorizontal()&&(Math.floor(d.minY)===Math.floor(d.startY)&&d.touchesCurrent.yd.touchesStart.y)){d.isTouched=!1,A();return}}B.cancelable&&B.preventDefault(),B.stopPropagation(),M(),d.isMoved=!0;const j=(N.scale-a)/(f.maxRatio-e.params.zoom.minRatio),{originX:U,originY:xe}=f;d.currentX=d.touchesCurrent.x-d.touchesStart.x+d.startX+j*(d.width-U*2),d.currentY=d.touchesCurrent.y-d.touchesStart.y+d.startY+j*(d.height-xe*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 x(){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 N=300,Y=300;const H=p.x*N,$=d.currentX+H,j=p.y*Y,U=d.currentY+j;p.x!==0&&(N=Math.abs(($-d.currentX)/p.x)),p.y!==0&&(Y=Math.abs((U-d.currentY)/p.y));const xe=Math.max(N,Y);d.currentX=$,d.currentY=U;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=`${xe}ms`,f.imageWrapEl.style.transform=`translate3d(${d.currentX}px, ${d.currentY}px,0)`}function C(){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 O(B){const N=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=He(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:f.slideEl=e.slides[e.activeIndex]);let Zt=f.slideEl.querySelector(`.${Y.containerClass}`);Zt&&(Zt=Zt.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),f.imageEl=Zt,Zt?f.imageWrapEl=hr(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 H,$,j,U,xe,Ae,Re,Se,kt,ne,ve,We,Ne,R,Xe,Ft,Qt,pe;typeof d.touchesStart.x>"u"&&B?(H=B.pageX,$=B.pageY):(H=d.touchesStart.x,$=d.touchesStart.y);const Lt=typeof B=="number"?B:null;a===1&&Lt&&(H=void 0,$=void 0,d.touchesStart.x=void 0,d.touchesStart.y=void 0);const di=w();N.scale=Lt||di,a=Lt||di,B&&!(a===1&&Lt)?(Qt=f.slideEl.offsetWidth,pe=f.slideEl.offsetHeight,j=As(f.slideEl).left+n.scrollX,U=As(f.slideEl).top+n.scrollY,xe=j+Qt/2-H,Ae=U+pe/2-$,kt=f.imageEl.offsetWidth||f.imageEl.clientWidth,ne=f.imageEl.offsetHeight||f.imageEl.clientHeight,ve=kt*N.scale,We=ne*N.scale,Ne=Math.min(Qt/2-ve/2,0),R=Math.min(pe/2-We/2,0),Xe=-Ne,Ft=-R,Re=xe*N.scale,Se=Ae*N.scale,ReXe&&(Re=Xe),SeFt&&(Se=Ft)):(Re=0,Se=0),Lt&&N.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(${N.scale})`}function I(){const B=e.zoom,N=e.params.zoom;if(!f.slideEl){e.params.virtual&&e.params.virtual.enabled&&e.virtual?f.slideEl=He(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:f.slideEl=e.slides[e.activeIndex];let Y=f.slideEl.querySelector(`.${N.containerClass}`);Y&&(Y=Y.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),f.imageEl=Y,Y?f.imageWrapEl=hr(f.imageEl,`.${N.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(`${N.zoomedSlideClass}`),f.slideEl=void 0,f.originX=0,f.originY=0)}function P(B){const N=e.zoom;N.scale&&N.scale!==1?I():O(B)}function L(){const B=e.params.passiveListeners?{passive:!0,capture:!1}:!1,N=e.params.passiveListeners?{passive:!1,capture:!0}:!0;return{passiveListener:B,activeListenerWithCapture:N}}function F(){const B=e.zoom;if(B.enabled)return;B.enabled=!0;const{passiveListener:N,activeListenerWithCapture:Y}=L();e.wrapperEl.addEventListener("pointerdown",_,N),e.wrapperEl.addEventListener("pointermove",S,Y),["pointerup","pointercancel","pointerout"].forEach(H=>{e.wrapperEl.addEventListener(H,E,N)}),e.wrapperEl.addEventListener("pointermove",D,Y)}function k(){const B=e.zoom;if(!B.enabled)return;B.enabled=!1;const{passiveListener:N,activeListenerWithCapture:Y}=L();e.wrapperEl.removeEventListener("pointerdown",_,N),e.wrapperEl.removeEventListener("pointermove",S,Y),["pointerup","pointercancel","pointerout"].forEach(H=>{e.wrapperEl.removeEventListener(H,E,N)}),e.wrapperEl.removeEventListener("pointermove",D,Y)}i("init",()=>{e.params.zoom.enabled&&F()}),i("destroy",()=>{k()}),i("touchStart",(B,N)=>{e.zoom.enabled&&z(N)}),i("touchEnd",(B,N)=>{e.zoom.enabled&&x()}),i("doubleTap",(B,N)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&P(N)}),i("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&C()}),i("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&C()}),Object.assign(e.zoom,{enable:F,disable:k,in:O,out:I,toggle:P})}function Lp(s){let{swiper:e,extendParams:t,on:i}=s;t({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0};function r(u,c){const f=function(){let m,w,b;return(v,g)=>{for(w=-1,m=v.length;m-w>1;)b=m+w>>1,v[b]<=g?w=b:m=b;return m}}();this.x=u,this.y=c,this.lastIndex=u.length-1;let d,p;return this.interpolate=function(m){return m?(p=f(this.x,m),d=p-1,(m-this.x[d])*(this.y[p]-this.y[d])/(this.x[p]-this.x[d])+this.y[d]):0},this}function n(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 h=e.constructor;function m(w){if(w.destroyed)return;const b=e.rtlTranslate?-e.translate:e.translate;e.params.controller.by==="slide"&&(n(w),p=-e.controller.spline.interpolate(-b)),(!p||e.params.controller.by==="container")&&(d=(w.maxTranslate()-w.minTranslate())/(e.maxTranslate()-e.minTranslate()),(Number.isNaN(d)||!Number.isFinite(d))&&(d=1),p=(b-e.minTranslate())*d+w.minTranslate()),e.params.controller.inverse&&(p=w.maxTranslate()-p),w.updateProgress(p),w.setTranslate(p,e),w.updateActiveIndex(),w.updateSlidesClasses()}if(Array.isArray(f))for(let w=0;w{m.updateAutoHeight()}),Ln(m.wrapperEl,()=>{d&&m.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 Op(s){let{swiper:e,extendParams:t,on:i}=s;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,n,a,o=new Date().getTime();function l(P){const L=r;L.length!==0&&(L.innerHTML="",L.innerHTML=P)}function u(P){const L=()=>Math.round(16*Math.random()).toString(16);return"x".repeat(P).replace(/x/g,L)}function c(P){P=ee(P),P.forEach(L=>{L.setAttribute("tabIndex","0")})}function f(P){P=ee(P),P.forEach(L=>{L.setAttribute("tabIndex","-1")})}function d(P,L){P=ee(P),P.forEach(F=>{F.setAttribute("role",L)})}function p(P,L){P=ee(P),P.forEach(F=>{F.setAttribute("aria-roledescription",L)})}function h(P,L){P=ee(P),P.forEach(F=>{F.setAttribute("aria-controls",L)})}function m(P,L){P=ee(P),P.forEach(F=>{F.setAttribute("aria-label",L)})}function w(P,L){P=ee(P),P.forEach(F=>{F.setAttribute("id",L)})}function b(P,L){P=ee(P),P.forEach(F=>{F.setAttribute("aria-live",L)})}function v(P){P=ee(P),P.forEach(L=>{L.setAttribute("aria-disabled",!0)})}function g(P){P=ee(P),P.forEach(L=>{L.setAttribute("aria-disabled",!1)})}function y(P){if(P.keyCode!==13&&P.keyCode!==32)return;const L=e.params.a11y,F=P.target;if(!(e.pagination&&e.pagination.el&&(F===e.pagination.el||e.pagination.el.contains(P.target))&&!P.target.matches(xi(e.params.pagination.bulletClass)))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){const k=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)),k.includes(F)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?l(L.firstSlideMessage):l(L.prevSlideMessage))}e.pagination&&F.matches(xi(e.params.pagination.bulletClass))&&F.click()}}function _(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{nextEl:P,prevEl:L}=e.navigation;L&&(e.isBeginning?(v(L),f(L)):(g(L),c(L))),P&&(e.isEnd?(v(P),f(P)):(g(P),c(P)))}function S(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function E(){return S()&&e.params.pagination.clickable}function T(){const P=e.params.a11y;S()&&e.pagination.bullets.forEach(L=>{e.params.pagination.clickable&&(c(L),e.params.pagination.renderBullet||(d(L,"button"),m(L,P.paginationBulletMessage.replace(/\{\{index\}\}/,Fn(L)+1)))),L.matches(xi(e.params.pagination.bulletActiveClass))?L.setAttribute("aria-current","true"):L.removeAttribute("aria-current")})}const A=(P,L,F)=>{c(P),P.tagName!=="BUTTON"&&(d(P,"button"),P.addEventListener("keydown",y)),m(P,F),h(P,L)},M=P=>{a&&a!==P.target&&!a.contains(P.target)&&(n=!0),e.a11y.clicked=!0},z=()=>{n=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},D=P=>{o=new Date().getTime()},x=P=>{if(e.a11y.clicked||!e.params.a11y.scrollOnFocus||new Date().getTime()-o<100)return;const L=P.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!L||!e.slides.includes(L))return;a=L;const F=e.slides.indexOf(L)===e.activeIndex,k=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(L);F||k||P.sourceCapabilities&&P.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>{n||(e.params.loop?e.slideToLoop(parseInt(L.getAttribute("data-swiper-slide-index")),0):e.slideTo(e.slides.indexOf(L),0),n=!1)}))},C=()=>{const P=e.params.a11y;P.itemRoleDescriptionMessage&&p(e.slides,P.itemRoleDescriptionMessage),P.slideRole&&d(e.slides,P.slideRole);const L=e.slides.length;P.slideLabelMessage&&e.slides.forEach((F,k)=>{const B=e.params.loop?parseInt(F.getAttribute("data-swiper-slide-index"),10):k,N=P.slideLabelMessage.replace(/\{\{index\}\}/,B+1).replace(/\{\{slidesLength\}\}/,L);m(F,N)})},O=()=>{const P=e.params.a11y;e.el.append(r);const L=e.el;P.containerRoleDescriptionMessage&&p(L,P.containerRoleDescriptionMessage),P.containerMessage&&m(L,P.containerMessage),P.containerRole&&d(L,P.containerRole);const F=e.wrapperEl,k=P.id||F.getAttribute("id")||`swiper-wrapper-${u(16)}`,B=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";w(F,k),b(F,B),C();let{nextEl:N,prevEl:Y}=e.navigation?e.navigation:{};N=ee(N),Y=ee(Y),N&&N.forEach($=>A($,k,P.nextSlideMessage)),Y&&Y.forEach($=>A($,k,P.prevSlideMessage)),E()&&ee(e.pagination.el).forEach(j=>{j.addEventListener("keydown",y)}),qe().addEventListener("visibilitychange",D),e.el.addEventListener("focus",x,!0),e.el.addEventListener("focus",x,!0),e.el.addEventListener("pointerdown",M,!0),e.el.addEventListener("pointerup",z,!0)};function I(){r&&r.remove();let{nextEl:P,prevEl:L}=e.navigation?e.navigation:{};P=ee(P),L=ee(L),P&&P.forEach(k=>k.removeEventListener("keydown",y)),L&&L.forEach(k=>k.removeEventListener("keydown",y)),E()&&ee(e.pagination.el).forEach(B=>{B.removeEventListener("keydown",y)}),qe().removeEventListener("visibilitychange",D),e.el&&typeof e.el!="string"&&(e.el.removeEventListener("focus",x,!0),e.el.removeEventListener("pointerdown",M,!0),e.el.removeEventListener("pointerup",z,!0))}i("beforeInit",()=>{r=Pt("span",e.params.a11y.notificationClass),r.setAttribute("aria-live","assertive"),r.setAttribute("aria-atomic","true")}),i("afterInit",()=>{e.params.a11y.enabled&&O()}),i("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&C()}),i("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&_()}),i("paginationUpdate",()=>{e.params.a11y.enabled&&T()}),i("destroy",()=>{e.params.a11y.enabled&&I()})}function Ip(s){let{swiper:e,extendParams:t,on:i}=s;t({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let r=!1,n={};const a=p=>p.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),o=p=>{const h=Ee();let m;p?m=new URL(p):m=h.location;const w=m.pathname.slice(1).split("/").filter(y=>y!==""),b=w.length,v=w[b-2],g=w[b-1];return{key:v,value:g}},l=(p,h)=>{const m=Ee();if(!r||!e.params.history.enabled)return;let w;e.params.url?w=new URL(e.params.url):w=m.location;const b=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${h}"]`):e.slides[h];let v=a(b.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)),v=`${y}/${p?`${p}/`:""}${v}`}else w.pathname.includes(p)||(v=`${p?`${p}/`:""}${v}`);e.params.history.keepQuery&&(v+=w.search);const g=m.history.state;g&&g.value===v||(e.params.history.replaceState?m.history.replaceState({value:v},null,v):m.history.pushState({value:v},null,v))},u=(p,h,m)=>{if(h)for(let w=0,b=e.slides.length;w{n=o(e.params.url),u(e.params.speed,n.value,!1)},f=()=>{const p=Ee();if(e.params.history){if(!p.history||!p.history.pushState){e.params.history.enabled=!1,e.params.hashNavigation.enabled=!0;return}if(r=!0,n=o(e.params.url),!n.key&&!n.value){e.params.history.replaceState||p.addEventListener("popstate",c);return}u(0,n.value,e.params.runCallbacksOnInit),e.params.history.replaceState||p.addEventListener("popstate",c)}},d=()=>{const p=Ee();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 zp(s){let{swiper:e,extendParams:t,emit:i,on:r}=s,n=!1;const a=qe(),o=Ee();t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(d,p){if(e.virtual&&e.params.virtual.enabled){const h=e.slides.filter(w=>w.getAttribute("data-hash")===p)[0];return h?parseInt(h.getAttribute("data-swiper-slide-index"),10):0}return e.getSlideIndex(He(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],h=p?p.getAttribute("data-hash"):"";if(d!==h){const m=e.params.hashNavigation.getSlideIndex(e,d);if(typeof m>"u"||Number.isNaN(m))return;e.slideTo(m)}},u=()=>{if(!n||!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;n=!0;const d=a.location.hash.replace("#","");if(d){const h=e.params.hashNavigation.getSlideIndex(e,d);e.slideTo(h||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",()=>{n&&u()}),r("slideChange",()=>{n&&e.params.cssMode&&u()})}function Bp(s){let{swiper:e,extendParams:t,on:i,emit:r,params:n}=s;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=n&&n.autoplay?n.autoplay.delay:3e3,u=n&&n.autoplay?n.autoplay.delay:3e3,c,f=new Date().getTime(),d,p,h,m,w,b,v;function g(L){!e||e.destroyed||!e.wrapperEl||L.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",g),!(v||L.detail&&L.detail.bySwiperTouchMove)&&M())}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()})},_=()=>{let L;return e.virtual&&e.params.virtual.enabled?L=e.slides.filter(k=>k.classList.contains("swiper-slide-active"))[0]:L=e.slides[e.activeIndex],L?parseInt(L.getAttribute("data-swiper-autoplay"),10):void 0},S=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 k=_();!Number.isNaN(k)&&k>0&&typeof L>"u"&&(F=k,l=k,u=k),c=F;const B=e.params.speed,N=()=>{!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(()=>{S()})))};return F>0?(clearTimeout(a),a=setTimeout(()=>{N()},F)):requestAnimationFrame(()=>{N()}),F},E=()=>{f=new Date().getTime(),e.autoplay.running=!0,S(),r("autoplayStart")},T=()=>{e.autoplay.running=!1,clearTimeout(a),cancelAnimationFrame(o),r("autoplayStop")},A=(L,F)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(a),L||(b=!0);const k=()=>{r("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",g):M()};if(e.autoplay.paused=!0,F){w&&(c=e.params.autoplay.delay),w=!1,k();return}c=(c||e.params.autoplay.delay)-(new Date().getTime()-f),!(e.isEnd&&c<0&&!e.params.loop)&&(c<0&&(c=0),k())},M=()=>{e.isEnd&&c<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(f=new Date().getTime(),b?(b=!1,S(c)):S(),e.autoplay.paused=!1,r("autoplayResume"))},z=()=>{if(e.destroyed||!e.autoplay.running)return;const L=qe();L.visibilityState==="hidden"&&(b=!0,A(!0)),L.visibilityState==="visible"&&M()},D=L=>{L.pointerType==="mouse"&&(b=!0,v=!0,!(e.animating||e.autoplay.paused)&&A(!0))},x=L=>{L.pointerType==="mouse"&&(v=!1,e.autoplay.paused&&M())},C=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",D),e.el.addEventListener("pointerleave",x))},O=()=>{e.el&&typeof e.el!="string"&&(e.el.removeEventListener("pointerenter",D),e.el.removeEventListener("pointerleave",x))},I=()=>{qe().addEventListener("visibilitychange",z)},P=()=>{qe().removeEventListener("visibilitychange",z)};i("init",()=>{e.params.autoplay.enabled&&(C(),I(),E())}),i("destroy",()=>{O(),P(),e.autoplay.running&&T()}),i("_freeModeStaticRelease",()=>{(h||b)&&M()}),i("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?T():A(!0,!0)}),i("beforeTransitionStart",(L,F,k)=>{e.destroyed||!e.autoplay.running||(k||!e.params.autoplay.disableOnInteraction?A(!0,!0):T())}),i("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){T();return}p=!0,h=!1,b=!1,m=setTimeout(()=>{b=!0,h=!0,A(!0)},200)}}),i("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!p)){if(clearTimeout(m),clearTimeout(a),e.params.autoplay.disableOnInteraction){h=!1,p=!1;return}h&&e.params.cssMode&&M(),h=!1,p=!1}}),i("slideChange",()=>{e.destroyed||!e.autoplay.running||(w=!0)}),Object.assign(e.autoplay,{start:E,stop:T,pause:A,resume:M})}function Rp(s){let{swiper:e,extendParams:t,on:i}=s;t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let r=!1,n=!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(Pn(u.swiper)){const f=Object.assign({},u.swiper);Object.assign(f,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new c(f),n=!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(w=>w.classList.remove(p)),c.params.loop||c.params.virtual&&c.params.virtual.enabled)for(let w=0;w{b.classList.add(p)});else for(let w=0;wy.getAttribute("data-swiper-slide-index")===`${e.realIndex}`)[0];b=c.slides.indexOf(g),v=e.activeIndex>e.previousIndex?"next":"prev"}else b=e.realIndex,v=b>e.previousIndex?"next":"prev";m&&(b+=v==="next"?h:-1*h),c.visibleSlidesIndexes&&c.visibleSlidesIndexes.indexOf(b)<0&&(c.params.centeredSlides?b>w?b=b-Math.floor(f/2)+1:b=b+Math.floor(f/2)-1:b>w&&c.params.slidesPerGroup,c.slideTo(b,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=qe(),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 h=`${e.params.eventsPrefix}init`,m=w=>{u.swiper=w.detail[0],p.removeEventListener(h,m),o(),l(!0),u.swiper.update(),e.update()};p.addEventListener(h,m)}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||n&&u.destroy()}),Object.assign(e.thumbs,{init:o,update:l})}function Np(s){let{swiper:e,extendParams:t,emit:i,once:r}=s;t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function n(){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:h}=e,w=Ht()-h.touchStartTime;if(u<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(u>-e.maxTranslate()){e.slides.length1){const T=h.velocities.pop(),A=h.velocities.pop(),M=T.position-A.position,z=T.time-A.time;e.velocity=M/z,e.velocity/=2,Math.abs(e.velocity)150||Ht()-T.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=c.freeMode.momentumVelocityRatio,h.velocities.length=0;let b=1e3*c.freeMode.momentumRatio;const v=e.velocity*b;let g=e.translate+v;d&&(g=-g);let y=!1,_;const S=Math.abs(e.velocity)*20*c.freeMode.momentumBounceRatio;let E;if(ge.minTranslate())c.freeMode.momentumBounce?(g-e.minTranslate()>S&&(g=e.minTranslate()+S),_=e.minTranslate(),y=!0,h.allowMomentumBounce=!0):g=e.minTranslate(),c.loop&&c.centeredSlides&&(E=!0);else if(c.freeMode.sticky){let T;for(let A=0;A-g){T=A;break}Math.abs(p[T]-g){e.loopFix()}),e.velocity!==0){if(d?b=Math.abs((-g-e.translate)/e.velocity):b=Math.abs((g-e.translate)/e.velocity),c.freeMode.sticky){const T=Math.abs((d?-g:g)-e.translate),A=e.slidesSizesGrid[e.activeIndex];T{!e||e.destroyed||!h.allowMomentumBounce||(i("momentumBounce"),e.setTransition(c.speed),setTimeout(()=>{e.setTranslate(_),Ln(f,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(i("_freeModeNoMomentumRelease"),e.updateProgress(g),e.setTransition(b),e.setTranslate(g),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,Ln(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||w>=c.longSwipesMs)&&(i("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:n,onTouchMove:a,onTouchEnd:o}})}function $p(s){let{swiper:e,extendParams:t,on:i}=s;t({grid:{rows:1,fill:"column"}});let r,n,a,o;const l=()=>{let m=e.params.spaceBetween;return typeof m=="string"&&m.indexOf("%")>=0?m=parseFloat(m.replace("%",""))/100*e.size:typeof m=="string"&&(m=parseFloat(m)),m},u=m=>{const{slidesPerView:w}=e.params,{rows:b,fill:v}=e.params.grid,g=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:m.length;a=Math.floor(g/b),Math.floor(g/b)===g/b?r=g:r=Math.ceil(g/b)*b,w!=="auto"&&v==="row"&&(r=Math.max(r,w*b)),n=r/b},c=()=>{e.slides&&e.slides.forEach(m=>{m.swiperSlideGridSet&&(m.style.height="",m.style[e.getDirectionLabel("margin-top")]="")})},f=(m,w,b)=>{const{slidesPerGroup:v}=e.params,g=l(),{rows:y,fill:_}=e.params.grid,S=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:b.length;let E,T,A;if(_==="row"&&v>1){const M=Math.floor(m/(v*y)),z=m-y*v*M,D=M===0?v:Math.min(Math.ceil((S-M*y*v)/y),v);A=Math.floor(z/D),T=z-A*D+M*v,E=T+A*r/y,w.style.order=E}else _==="column"?(T=Math.floor(m/y),A=m-T*y,(T>a||T===a&&A===y-1)&&(A+=1,A>=y&&(A=0,T+=1))):(A=Math.floor(m/n),T=m-A*n);w.row=A,w.column=T,w.style.height=`calc((100% - ${(y-1)*g}px) / ${y})`,w.style[e.getDirectionLabel("margin-top")]=A!==0?g&&`${g}px`:"",w.swiperSlideGridSet=!0},d=(m,w)=>{const{centeredSlides:b,roundLengths:v}=e.params,g=l(),{rows:y}=e.params.grid;if(e.virtualSize=(m+g)*r,e.virtualSize=Math.ceil(e.virtualSize/y)-g,e.params.cssMode||(e.wrapperEl.style[e.getDirectionLabel("width")]=`${e.virtualSize+g}px`),b){const _=[];for(let S=0;S{o=e.params.grid&&e.params.grid.rows>1},h=()=>{const{params:m,el:w}=e,b=m.grid&&m.grid.rows>1;o&&!b?(w.classList.remove(`${m.containerModifierClass}grid`,`${m.containerModifierClass}grid-column`),a=1,e.emitContainerClasses()):!o&&b&&(w.classList.add(`${m.containerModifierClass}grid`),m.grid.fill==="column"&&w.classList.add(`${m.containerModifierClass}grid-column`),e.emitContainerClasses()),o=b};i("init",p),i("update",h),e.grid={initSlides:u,unsetSlides:c,updateSlide:f,updateWrapperSize:d}}function Yp(s){const e=this,{params:t,slidesEl:i}=e;t.loop&&e.loopDestroy();const r=n=>{if(typeof n=="string"){const a=document.createElement("div");a.innerHTML=n,i.append(a.children[0]),a.innerHTML=""}else i.append(n)};if(typeof s=="object"&&"length"in s)for(let n=0;n{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 s=="object"&&"length"in s){for(let o=0;o=o){t.appendSlide(e);return}let l=a>s?a+1:a;const u=[];for(let c=o-1;c>=s;c-=1){const f=t.slides[c];f.remove(),u.unshift(f)}if(typeof e=="object"&&"length"in e){for(let c=0;cs?a+e.length:a}else n.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&&n(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 On(s,e){const t=pr(e);return t!==e&&(t.style.backfaceVisibility="hidden",t.style["-webkit-backface-visibility"]="hidden"),t}function ks(s){let{swiper:e,duration:t,transformElements:i,allSlides:r}=s;const{activeIndex:n}=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)===n}),l.forEach(u=>{Ln(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 Xp(s){let{swiper:e,extendParams:t,on:i}=s;t({fadeEffect:{crossFade:!1}}),Wr({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=>pr(l));o.forEach(l=>{l.style.transitionDuration=`${a}ms`}),ks({swiper:e,duration:a,transformElements:o,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}function jp(s){let{swiper:e,extendParams:t,on:i}=s;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=Pt("div",`swiper-slide-shadow-cube swiper-slide-shadow-${c?"left":"top"}`.split(" ")),l.append(f)),d||(d=Pt("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))};Wr({effect:"cube",swiper:e,on:i,setTranslate:()=>{const{el:l,wrapperEl:u,slides:c,width:f,height:d,rtlTranslate:p,size:h,browser:m}=e,w=Ms(e),b=e.params.cubeEffect,v=e.isHorizontal(),g=e.virtual&&e.params.virtual.enabled;let y=0,_;b.shadow&&(v?(_=e.wrapperEl.querySelector(".swiper-cube-shadow"),_||(_=Pt("div","swiper-cube-shadow"),e.wrapperEl.append(_)),_.style.height=`${f}px`):(_=l.querySelector(".swiper-cube-shadow"),_||(_=Pt("div","swiper-cube-shadow"),l.append(_))));for(let E=0;E-1&&(y=A*90+D*90,p&&(y=-A*90-D*90)),T.style.transform=I,b.slideShadows&&r(T,D,v)}if(u.style.transformOrigin=`50% 50% -${h/2}px`,u.style["-webkit-transform-origin"]=`50% 50% -${h/2}px`,b.shadow)if(v)_.style.transform=`translate3d(0px, ${f/2+b.shadowOffset}px, ${-f/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${b.shadowScale})`;else{const E=Math.abs(y)-Math.floor(Math.abs(y)/90)*90,T=1.5-(Math.sin(E*2*Math.PI/360)/2+Math.cos(E*2*Math.PI/360)/2),A=b.shadowScale,M=b.shadowScale/T,z=b.shadowOffset;_.style.transform=`scale3d(${A}, 1, ${M}) translate3d(0px, ${d/2+z}px, ${-d/2/M}px) rotateX(-89.99deg)`}const S=(m.isSafari||m.isWebView)&&m.needPerspectiveFix?-h/2:0;u.style.transform=`translate3d(0px,0,${S}px) rotateX(${w(e.isHorizontal()?0:y)}deg) rotateY(${w(e.isHorizontal()?-y:0)}deg)`,u.style.setProperty("--swiper-cube-translate-z",`${S}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 Xr(s,e,t){const i=`swiper-slide-shadow${t?`-${t}`:""}${s?` swiper-slide-shadow-${s}`:""}`,r=pr(e);let n=r.querySelector(`.${i.split(" ").join(".")}`);return n||(n=Pt("div",i.split(" ")),r.append(n)),n}function Up(s){let{swiper:e,extendParams:t,on:i}=s;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=Xr("flip",l,e.isHorizontal()?"left":"top")),f||(f=Xr("flip",l,e.isHorizontal()?"right":"bottom")),c&&(c.style.opacity=Math.max(-u,0)),f&&(f.style.opacity=Math.max(u,0))};Wr({effect:"flip",swiper:e,on:i,setTranslate:()=>{const{slides:l,rtlTranslate:u}=e,c=e.params.flipEffect,f=Ms(e);for(let d=0;d{const u=e.slides.map(c=>pr(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`})}),ks({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 Qp(s){let{swiper:e,extendParams:t,on:i}=s;t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),Wr({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,h=f?c.rotate:-c.rotate,m=c.depth,w=Ms(e);for(let b=0,v=l.length;b0?E:0),L&&(L.style.opacity=-E>0?-E:0)}}},setTransition:a=>{e.slides.map(l=>pr(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 Zp(s){let{swiper:e,extendParams:t,on:i}=s;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`;Wr({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=Ms(e);if(d){const h=u[0]/2-e.params.slidesOffsetBefore||0;l.style.transform=`translateX(calc(50% - ${h}px))`}for(let h=0;h0&&(E=c.prev,S=!0),y.forEach((C,O)=>{y[O]=`calc(${C}px + (${r(E.translate[O])} * ${Math.abs(b*f)}))`}),_.forEach((C,O)=>{let I=E.rotate[O]*Math.abs(b*f);_[O]=I}),m.style.zIndex=-Math.abs(Math.round(w))+o.length;const T=y.join(", "),A=`rotateX(${p(_[0])}deg) rotateY(${p(_[1])}deg) rotateZ(${p(_[2])}deg)`,M=v<0?`scale(${1+(1-E.scale)*v*f})`:`scale(${1-(1-E.scale)*v*f})`,z=v<0?1+(1-E.opacity)*v*f:1-(1-E.opacity)*v*f,D=`translate3d(${T}) ${A} ${M}`;if(S&&E.shadow||!S){let C=m.querySelector(".swiper-slide-shadow");if(!C&&E.shadow&&(C=Xr("creative",m)),C){const O=c.shadowPerProgress?b*(1/c.limitProgress):b;C.style.opacity=Math.min(Math.max(Math.abs(O),0),1)}}const x=On(c,m);x.style.transform=D,x.style.opacity=z,E.origin&&(x.style.transformOrigin=E.origin)}},setTransition:o=>{const l=e.slides.map(u=>pr(u));l.forEach(u=>{u.style.transitionDuration=`${o}ms`,u.querySelectorAll(".swiper-slide-shadow").forEach(c=>{c.style.transitionDuration=`${o}ms`})}),ks({swiper:e,duration:o,transformElements:l,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}function Kp(s){let{swiper:e,extendParams:t,on:i}=s;t({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),Wr({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&&w<1&&(f||e.params.cssMode)&&d-1&&(f||e.params.cssMode)&&d>c;if(A||M){const C=(1-Math.abs((Math.abs(w)-.5)/.5))**.5;S+=-28*w*C,_+=-.5*C,E+=96*C,g=`${-25*C*Math.abs(w)}%`}if(w<0?v=`calc(${v}px ${l?"-":"+"} (${E*Math.abs(w)}%))`:w>0?v=`calc(${v}px ${l?"-":"+"} (-${E*Math.abs(w)}%))`:v=`${v}px`,!e.isHorizontal()){const C=g;g=v,v=C}const z=w<0?`${1+(1-_)*w}`:`${1-(1-_)*w}`,D=` translate3d(${v}, ${g}, ${y}px) rotateZ(${u.rotate?l?-S:S:0}deg) scale(${z}) `;if(u.slideShadows){let C=h.querySelector(".swiper-slide-shadow");C||(C=Xr("cards",h)),C&&(C.style.opacity=Math.min(Math.max((Math.abs(w)-.5)/.5,0),1))}h.style.zIndex=-Math.abs(Math.round(m))+a.length;const x=On(u,h);x.style.transform=D}},setTransition:a=>{const o=e.slides.map(l=>pr(l));o.forEach(l=>{l.style.transitionDuration=`${a}ms`,l.querySelectorAll(".swiper-slide-shadow").forEach(u=>{u.style.transitionDuration=`${a}ms`})}),ks({swiper:e,duration:a,transformElements:o})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}const Jp=[Sp,Tp,Cp,Ap,Mp,Pp,kp,Fp,Lp,Op,Ip,zp,Bp,Rp,Np,$p,Wp,Xp,jp,Up,Qp,Zp,Kp];tt.use(Jp);/*! @vimeo/player v2.25.1 | (c) 2025 Vimeo | MIT License | https://github.com/vimeo/player.js */function Qu(s,e){var t=Object.keys(s);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(s);e&&(i=i.filter(function(r){return Object.getOwnPropertyDescriptor(s,r).enumerable})),t.push.apply(t,i)}return t}function Zu(s){for(var e=1;e=0;--O){var I=this.tryEntries[O],P=I.completion;if(I.tryLoc==="root")return C("end");if(I.tryLoc<=this.prev){var L=t.call(I,"catchLoc"),F=t.call(I,"finallyLoc");if(L&&F){if(this.prev=0;--C){var O=this.tryEntries[C];if(O.tryLoc<=this.prev&&t.call(O,"finallyLoc")&&this.prev=0;--x){var C=this.tryEntries[x];if(C.finallyLoc===D)return this.complete(C.completion,C.afterLoc),T(C),f}},catch:function(D){for(var x=this.tryEntries.length-1;x>=0;--x){var C=this.tryEntries[x];if(C.tryLoc===D){var O=C.completion;if(O.type==="throw"){var I=O.arg;T(C)}return I}}throw new Error("illegal catch attempt")},delegateYield:function(D,x,C){return this.delegate={iterator:M(D),resultName:x,nextLoc:C},this.method==="next"&&(this.arg=void 0),f}},s}function Ku(s,e,t,i,r,n,a){try{var o=s[n](a),l=o.value}catch(u){t(u);return}o.done?e(l):Promise.resolve(l).then(i,r)}function mr(s){return function(){var e=this,t=arguments;return new Promise(function(i,r){var n=s.apply(e,t);function a(l){Ku(n,i,r,a,o,"next",l)}function o(l){Ku(n,i,r,a,o,"throw",l)}a(void 0)})}}function Ju(s,e){if(!(s instanceof e))throw new TypeError("Cannot call a class as a function")}function eh(s,e){for(var t=0;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ls(s,e,t){return tc()?Ls=Reflect.construct.bind():Ls=function(r,n,a){var o=[null];o.push.apply(o,n);var l=Function.bind.apply(r,o),u=new l;return a&&zn(u,a.prototype),u},Ls.apply(null,arguments)}function ih(s){return Function.toString.call(s).indexOf("[native code]")!==-1}function go(s){var e=typeof Map=="function"?new Map:void 0;return go=function(i){if(i===null||!ih(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e<"u"){if(e.has(i))return e.get(i);e.set(i,r)}function r(){return Ls(i,arguments,In(this).constructor)}return r.prototype=Object.create(i.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),zn(r,i)},go(s)}function Os(s){if(s===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return s}function rh(s,e){if(e&&(typeof e=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Os(s)}function nh(s){var e=tc();return function(){var i=In(s),r;if(e){var n=In(this).constructor;r=Reflect.construct(i,arguments,n)}else r=i.apply(this,arguments);return rh(this,r)}}function sh(s,e){if(typeof s!="object"||s===null)return s;var t=s[Symbol.toPrimitive];if(t!==void 0){var i=t.call(s,e);if(typeof i!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(s)}function ic(s){var e=sh(s,"string");return typeof e=="symbol"?e:String(e)}var rc=typeof global<"u"&&{}.toString.call(global)==="[object global]";function nc(s,e){return s.indexOf(e.toLowerCase())===0?s:"".concat(e.toLowerCase()).concat(s.substr(0,1).toUpperCase()).concat(s.substr(1))}function ah(s){return!!(s&&s.nodeType===1&&"nodeName"in s&&s.ownerDocument&&s.ownerDocument.defaultView)}function oh(s){return!isNaN(parseFloat(s))&&isFinite(s)&&Math.floor(s)==s}function gr(s){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(s)}function sc(s){var e=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return e.test(s)}function lh(s){for(var e=(s||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),t=(e&&e[1]||"").replace("player.",""),i=[".videoji.hk",".vimeo.work",".videoji.cn"],r=0,n=i;r0&&arguments[0]!==void 0?arguments[0]:{},e=s.id,t=s.url,i=e||t;if(!i)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(oh(i))return"https://vimeo.com/".concat(i);if(gr(i))return i.replace("http:","https:");throw e?new TypeError("“".concat(e,"” is not a valid video id.")):new TypeError("“".concat(i,"” is not a vimeo.com url."))}var oc=function(e,t,i){var r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",a=typeof t=="string"?[t]:t;return a.forEach(function(o){e[r](o,i)}),{cancel:function(){return a.forEach(function(l){return e[n](l,i)})}}},uh=typeof Array.prototype.indexOf<"u",ch=typeof window<"u"&&typeof window.postMessage<"u";if(!rc&&(!uh||!ch))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var jr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function dh(s,e){return e={exports:{}},s(e,e.exports),e.exports}/*! * weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill * https://github.com/polygonplanet/weakmap-polyfill * Copyright (c) 2015-2021 polygonplanet * @license MIT */(function(s){if(s.WeakMap)return;var e=Object.prototype.hasOwnProperty,t=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}}(),i=function(n,a,o){t?Object.defineProperty(n,a,{configurable:!0,writable:!0,value:o}):n[a]=o};s.WeakMap=function(){function n(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(i(this,"_id",o("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}i(n.prototype,"delete",function(u){if(a(this,"delete"),!r(u))return!1;var c=u[this._id];return c&&c[0]===u?(delete u[this._id],!0):!1}),i(n.prototype,"get",function(u){if(a(this,"get"),!!r(u)){var c=u[this._id];if(c&&c[0]===u)return c[1]}}),i(n.prototype,"has",function(u){if(a(this,"has"),!r(u))return!1;var c=u[this._id];return!!(c&&c[0]===u)}),i(n.prototype,"set",function(u,c){if(a(this,"set"),!r(u))throw new TypeError("Invalid value used as weak map key");var f=u[this._id];return f&&f[0]===u?(f[1]=c,this):(i(u,this._id,[u,c]),this)});function a(u,c){if(!r(u)||!e.call(u,"_id"))throw new TypeError(c+" method called on incompatible receiver "+typeof u)}function o(u){return u+"_"+l()+"."+l()}function l(){return Math.random().toString().substring(2)}return i(n,"_polyfill",!0),n}();function r(n){return Object(n)===n}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:jr);var Wt=dh(function(s){/*! Native Promise Only v0.8.1 (c) Kyle Simpson MIT License: http://getify.mit-license.org */(function(t,i,r){i[t]=i[t]||r(),s.exports&&(s.exports=i[t])})("Promise",jr,function(){var t,i,r,n=Object.prototype.toString,a=typeof setImmediate<"u"?function(g){return setImmediate(g)}:setTimeout;try{Object.defineProperty({},"x",{}),t=function(g,y,_,S){return Object.defineProperty(g,y,{value:_,writable:!0,configurable:S!==!1})}}catch{t=function(y,_,S){return y[_]=S,y}}r=function(){var g,y,_;function S(E,T){this.fn=E,this.self=T,this.next=void 0}return{add:function(T,A){_=new S(T,A),y?y.next=_:g=_,y=_,_=void 0},drain:function(){var T=g;for(g=y=i=void 0;T;)T.fn.call(T.self),T=T.next}}}();function o(v,g){r.add(v,g),i||(i=a(r.drain))}function l(v){var g,y=typeof v;return v!=null&&(y=="object"||y=="function")&&(g=v.then),typeof g=="function"?g:!1}function u(){for(var v=0;v0&&o(u,y))}catch(_){d.call(new h(y),_)}}}function d(v){var g=this;g.triggered||(g.triggered=!0,g.def&&(g=g.def),g.msg=v,g.state=2,g.chain.length>0&&o(u,g))}function p(v,g,y,_){for(var S=0;S=8&&r<10&&(i=JSON.stringify(i)),s.element.contentWindow.postMessage(i,s.origin)}}function hh(s,e){e=Bs(e);var t=[],i;if(e.event){if(e.event==="error"){var r=Is(s,e.data.method);r.forEach(function(a){var o=new Error(e.data.message);o.name=e.data.name,a.reject(o),zs(s,e.data.method,a)})}t=Is(s,"event:".concat(e.event)),i=e.data}else if(e.method){var n=fh(s,e.method);n&&(t.push(n),i=e.value)}t.forEach(function(a){try{if(typeof a=="function"){a.call(s,i);return}a.resolve(i)}catch{}})}var mh=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","dnt","end_time","fullscreen","height","id","interactive_params","keyboard","loop","maxheight","maxwidth","muted","play_button_position","playsinline","portrait","progress_bar","quality_selector","responsive","speed","start_time","texttrack","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function lc(s){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return mh.reduce(function(t,i){var r=s.getAttribute("data-vimeo-".concat(i));return(r||r==="")&&(t[i]=r===""?1:r),t},e)}function vo(s,e){var t=s.html;if(!e)throw new TypeError("An element must be provided");if(e.getAttribute("data-vimeo-initialized")!==null)return e.querySelector("iframe");var i=document.createElement("div");return i.innerHTML=t,e.appendChild(i.firstChild),e.setAttribute("data-vimeo-initialized","true"),e.querySelector("iframe")}function uc(s){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=arguments.length>2?arguments[2]:void 0;return new Promise(function(i,r){if(!gr(s))throw new TypeError("“".concat(s,"” is not a vimeo.com url."));var n=lh(s),a="https://".concat(n,"/api/oembed.json?url=").concat(encodeURIComponent(s));for(var o in e)e.hasOwnProperty(o)&&(a+="&".concat(o,"=").concat(encodeURIComponent(e[o])));var l="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;l.open("GET",a,!0),l.onload=function(){if(l.status===404){r(new Error("“".concat(s,"” was not found.")));return}if(l.status===403){r(new Error("“".concat(s,"” is not embeddable.")));return}try{var u=JSON.parse(l.responseText);if(u.domain_status_code===403){vo(u,t),r(new Error("“".concat(s,"” is not embeddable.")));return}i(u)}catch(c){r(c)}},l.onerror=function(){var u=l.status?" (".concat(l.status,")"):"";r(new Error("There was an error fetching the embed code from Vimeo".concat(u,".")))},l.send()})}function gh(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,e=[].slice.call(s.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),t=function(r){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(r))};e.forEach(function(i){try{if(i.getAttribute("data-vimeo-defer")!==null)return;var r=lc(i),n=ac(r);uc(n,r,i).then(function(a){return vo(a,i)}).catch(t)}catch(a){t(a)}})}function vh(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var e=function(i){if(gr(i.origin)&&!(!i.data||i.data.event!=="spacechange")){for(var r=s.querySelectorAll("iframe"),n=0;n0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var e=function(i){if(gr(i.origin)){var r=Bs(i.data);if(!(!r||r.event!=="ready"))for(var n=s.querySelectorAll("iframe"),a=0;a0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var e=function(r){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(r))},t=function(r){if(gr(r.origin)){var n=Bs(r.data);if(!(!n||n.event!=="ready"))for(var a=s.querySelectorAll("iframe"),o=function(){var c=a[l],f=c.contentWindow===r.source;if(sc(c.src)&&f){var d=new Rs(c);d.getVideoId().then(function(p){var h=new RegExp("[?&]vimeo_t_".concat(p,"=([^&#]*)")).exec(window.location.href);if(h&&h[1]){var m=decodeURI(h[1]);d.setCurrentTime(m)}}).catch(e)}},l=0;l2&&arguments[2]!==void 0?arguments[2]:{},o=arguments.length>3?arguments[3]:void 0;return Ju(this,t),n=e.call(this),Fs(Os(n),"logger",void 0),Fs(Os(n),"speedAdjustment",0),Fs(Os(n),"adjustSpeed",function(){var l=mr(dt().mark(function u(c,f){var d;return dt().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:if(n.speedAdjustment!==f){h.next=2;break}return h.abrupt("return");case 2:return h.next=4,c.getPlaybackRate();case 4:return h.t0=h.sent,h.t1=n.speedAdjustment,h.t2=h.t0-h.t1,h.t3=f,d=h.t2+h.t3,n.log("New playbackRate: ".concat(d)),h.next=12,c.setPlaybackRate(d);case 12:n.speedAdjustment=f;case 13:case"end":return h.stop()}},u)}));return function(u,c){return l.apply(this,arguments)}}()),n.logger=o,n.init(r,i,Zu(Zu({},_h),a)),n}return ec(t,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:function(){var i=mr(dt().mark(function n(a,o,l){var u=this,c,f,d;return dt().wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,this.waitForTOReadyState(a,"open");case 2:if(l.role!=="viewer"){h.next=10;break}return h.next=5,this.updatePlayer(a,o,l);case 5:c=oc(a,"change",function(){return u.updatePlayer(a,o,l)}),f=this.maintainPlaybackPosition(a,o,l),this.addEventListener("disconnect",function(){f.cancel(),c.cancel()}),h.next=14;break;case 10:return h.next=12,this.updateTimingObject(a,o);case 12:d=oc(o,["seeked","play","pause","ratechange"],function(){return u.updateTimingObject(a,o)},"on","off"),this.addEventListener("disconnect",function(){return d.cancel()});case 14:case"end":return h.stop()}},n,this)}));function r(n,a,o){return i.apply(this,arguments)}return r}()},{key:"updateTimingObject",value:function(){var i=mr(dt().mark(function n(a,o){return dt().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.t0=a,u.next=3,o.getCurrentTime();case 3:return u.t1=u.sent,u.next=6,o.getPaused();case 6:if(!u.sent){u.next=10;break}u.t2=0,u.next=13;break;case 10:return u.next=12,o.getPlaybackRate();case 12:u.t2=u.sent;case 13:u.t3=u.t2,u.t4={position:u.t1,velocity:u.t3},u.t0.update.call(u.t0,u.t4);case 16:case"end":return u.stop()}},n)}));function r(n,a){return i.apply(this,arguments)}return r}()},{key:"updatePlayer",value:function(){var i=mr(dt().mark(function n(a,o,l){var u,c,f;return dt().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:if(u=a.query(),c=u.position,f=u.velocity,typeof c=="number"&&o.setCurrentTime(c),typeof f!="number"){p.next=25;break}if(f!==0){p.next=11;break}return p.next=6,o.getPaused();case 6:if(p.t0=p.sent,p.t0!==!1){p.next=9;break}o.pause();case 9:p.next=25;break;case 11:if(!(f>0)){p.next=25;break}return p.next=14,o.getPaused();case 14:if(p.t1=p.sent,p.t1!==!0){p.next=19;break}return p.next=18,o.play().catch(function(){var h=mr(dt().mark(function m(w){return dt().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:if(!(w.name==="NotAllowedError"&&l.autoPlayMuted)){v.next=5;break}return v.next=3,o.setMuted(!0);case 3:return v.next=5,o.play().catch(function(g){return console.error("Couldn't play the video from TimingSrcConnector. Error:",g)});case 5:case"end":return v.stop()}},m)}));return function(m){return h.apply(this,arguments)}}());case 18:this.updatePlayer(a,o,l);case 19:return p.next=21,o.getPlaybackRate();case 21:if(p.t2=p.sent,p.t3=f,p.t2===p.t3){p.next=25;break}o.setPlaybackRate(f);case 25:case"end":return p.stop()}},n,this)}));function r(n,a,o){return i.apply(this,arguments)}return r}()},{key:"maintainPlaybackPosition",value:function(r,n,a){var o=this,l=a.allowedDrift,u=a.maxAllowedDrift,c=a.minCheckInterval,f=a.maxRateAdjustment,d=a.maxTimeToCatchUp,p=Math.min(d,Math.max(c,u))*1e3,h=function(){var w=mr(dt().mark(function b(){var v,g,y,_,S;return dt().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:if(T.t0=r.query().velocity===0,T.t0){T.next=6;break}return T.next=4,n.getPaused();case 4:T.t1=T.sent,T.t0=T.t1===!0;case 6:if(!T.t0){T.next=8;break}return T.abrupt("return");case 8:return T.t2=r.query().position,T.next=11,n.getCurrentTime();case 11:if(T.t3=T.sent,v=T.t2-T.t3,g=Math.abs(v),o.log("Drift: ".concat(v)),!(g>u)){T.next=22;break}return T.next=18,o.adjustSpeed(n,0);case 18:n.setCurrentTime(r.query().position),o.log("Resync by currentTime"),T.next=29;break;case 22:if(!(g>l)){T.next=29;break}return y=g/d,_=f,S=y<_?(_-y)/2:_,T.next=28,o.adjustSpeed(n,S*Math.sign(v));case 28:o.log("Resync by playbackRate");case 29:case"end":return T.stop()}},b)}));return function(){return w.apply(this,arguments)}}(),m=setInterval(function(){return h()},p);return{cancel:function(){return clearInterval(m)}}}},{key:"log",value:function(r){var n;(n=this.logger)===null||n===void 0||n.call(this,"TimingSrcConnector: ".concat(r))}},{key:"waitForTOReadyState",value:function(r,n){return new Promise(function(a){var o=function l(){r.readyState===n?a():r.addEventListener("readystatechange",l,{once:!0})};o()})}}]),t}(go(EventTarget)),Ur=new WeakMap,wo=new WeakMap,yt={},Rs=function(){function s(e){var t=this,i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Ju(this,s),window.jQuery&&e instanceof jQuery&&(e.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),e=e[0]),typeof document<"u"&&typeof e=="string"&&(e=document.getElementById(e)),!ah(e))throw new TypeError("You must pass either a valid element or a valid id.");if(e.nodeName!=="IFRAME"){var r=e.querySelector("iframe");r&&(e=r)}if(e.nodeName==="IFRAME"&&!gr(e.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(Ur.has(e))return Ur.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";var n=new Wt(function(o,l){if(t._onMessage=function(f){if(!(!gr(f.origin)||t.element.contentWindow!==f.source)){t.origin==="*"&&(t.origin=f.origin);var d=Bs(f.data),p=d&&d.event==="error",h=p&&d.data&&d.data.method==="ready";if(h){var m=new Error(d.data.message);m.name=d.data.name,l(m);return}var w=d&&d.event==="ready",b=d&&d.method==="ping";if(w||b){t.element.setAttribute("data-ready","true"),o();return}hh(t,d)}},t._window.addEventListener("message",t._onMessage),t.element.nodeName!=="IFRAME"){var u=lc(e,i),c=ac(u);uc(c,u,e).then(function(f){var d=vo(f,e);return t.element=d,t._originalElement=e,ph(e,d),Ur.set(t.element,t),f}).catch(l)}});if(wo.set(this,n),Ur.set(this.element,this),this.element.nodeName==="IFRAME"&&vr(this,"ping"),yt.isEnabled){var a=function(){return yt.exit()};this.fullscreenchangeHandler=function(){yt.isFullscreen?Bn(t,"event:exitFullscreen",a):zs(t,"event:exitFullscreen",a),t.ready().then(function(){vr(t,"fullscreenchange",yt.isFullscreen)})},yt.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return ec(s,[{key:"callMethod",value:function(t){var i=this,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return new Wt(function(n,a){return i.ready().then(function(){Bn(i,t,{resolve:n,reject:a}),vr(i,t,r)}).catch(a)})}},{key:"get",value:function(t){var i=this;return new Wt(function(r,n){return t=nc(t,"get"),i.ready().then(function(){Bn(i,t,{resolve:r,reject:n}),vr(i,t)}).catch(n)})}},{key:"set",value:function(t,i){var r=this;return new Wt(function(n,a){if(t=nc(t,"set"),i==null)throw new TypeError("There must be a value to set.");return r.ready().then(function(){Bn(r,t,{resolve:n,reject:a}),vr(r,t,i)}).catch(a)})}},{key:"on",value:function(t,i){if(!t)throw new TypeError("You must pass an event name.");if(!i)throw new TypeError("You must pass a callback function.");if(typeof i!="function")throw new TypeError("The callback must be a function.");var r=Is(this,"event:".concat(t));r.length===0&&this.callMethod("addEventListener",t).catch(function(){}),Bn(this,"event:".concat(t),i)}},{key:"off",value:function(t,i){if(!t)throw new TypeError("You must pass an event name.");if(i&&typeof i!="function")throw new TypeError("The callback must be a function.");var r=zs(this,"event:".concat(t),i);r&&this.callMethod("removeEventListener",t).catch(function(n){})}},{key:"loadVideo",value:function(t){return this.callMethod("loadVideo",t)}},{key:"ready",value:function(){var t=wo.get(this)||new Wt(function(i,r){r(new Error("Unknown player. Probably unloaded."))});return Wt.resolve(t)}},{key:"addCuePoint",value:function(t){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:t,data:i})}},{key:"removeCuePoint",value:function(t){return this.callMethod("removeCuePoint",t)}},{key:"enableTextTrack",value:function(t,i){if(!t)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:t,kind:i})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return yt.isEnabled?yt.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return yt.isEnabled?yt.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return yt.isEnabled?Wt.resolve(yt.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var t=this;return new Wt(function(i){if(wo.delete(t),Ur.delete(t.element),t._originalElement&&(Ur.delete(t._originalElement),t._originalElement.removeAttribute("data-vimeo-initialized")),t.element&&t.element.nodeName==="IFRAME"&&t.element.parentNode&&(t.element.parentNode.parentNode&&t._originalElement&&t._originalElement!==t.element.parentNode?t.element.parentNode.parentNode.removeChild(t.element.parentNode):t.element.parentNode.removeChild(t.element)),t.element&&t.element.nodeName==="DIV"&&t.element.parentNode){t.element.removeAttribute("data-vimeo-initialized");var r=t.element.querySelector("iframe");r&&r.parentNode&&(r.parentNode.parentNode&&t._originalElement&&t._originalElement!==r.parentNode?r.parentNode.parentNode.removeChild(r.parentNode):r.parentNode.removeChild(r))}t._window.removeEventListener("message",t._onMessage),yt.isEnabled&&yt.off("fullscreenchange",t.fullscreenchangeHandler),i()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(t){return this.set("autopause",t)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(t){return this.set("cameraProps",t)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return Wt.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(t){return this.set("color",t)}},{key:"setColors",value:function(t){if(!Array.isArray(t))return new Wt(function(n,a){return a(new TypeError("Argument must be an array."))});var i=new Wt(function(n){return n(null)}),r=[t[0]?this.set("colorOne",t[0]):i,t[1]?this.set("colorTwo",t[1]):i,t[2]?this.set("colorThree",t[2]):i,t[3]?this.set("colorFour",t[3]):i];return Wt.all(r)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(t){return this.set("currentTime",t)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(t){return this.set("loop",t)}},{key:"setMuted",value:function(t){return this.set("muted",t)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(t){return this.set("playbackRate",t)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(t){return this.set("quality",t)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(t){return this.set("volume",t)}},{key:"setTimingSrc",value:function(){var e=mr(dt().mark(function i(r,n){var a=this,o;return dt().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:if(r){u.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return u.next=4,this.ready();case 4:return o=new Dh(this,r,n),vr(this,"notifyTimingObjectConnect"),o.addEventListener("disconnect",function(){return vr(a,"notifyTimingObjectDisconnect")}),u.abrupt("return",o);case 8:case"end":return u.stop()}},i,this)}));function t(i,r){return e.apply(this,arguments)}return t}()}]),s}();rc||(yt=bh(),gh(),vh(),wh(),yh()),V.registerPlugin(W);function Eh(){let s=V.matchMedia(),e=992;s.add({isDesktop:`(min-width: ${e}px)`,isMobile:`(max-width: ${e-1}px)`},t=>{t.conditions,s.add("(min-width: 481px)",()=>{V.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"}})}),s.add("(max-width: 480px)",()=>{V.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,n=1200,a=r*1e3-n,o=document.querySelectorAll(".h-hero__navigation-item"),l=new tt(".h-hero__slider-wrapper",{direction:"horizontal",keyboard:!1,mousewheel:!1,speed:n,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 _=y.querySelector(".h-hero__slider-video");if(_){const S=new Rs(_);S.pause().then(()=>S.setCurrentTime(0)).catch(E=>console.error("Vimeo pause/reset error:",E)),S.setVolume(0).catch(E=>console.error("Vimeo mute error:",E))}})}function c(g){const y=g.activeIndex,S=g.slides[y].querySelector(".h-hero__slider-video");if(S){if(S.tagName.toLowerCase()==="iframe"){const E=new Rs(S);window.innerWidth>e-1?E.setVolume(i?0:1).then(()=>E.play()).catch(T=>console.error("Vimeo video play error:",T)):E.pause().then(()=>E.setCurrentTime(0)).catch(T=>console.error("Vimeo video pause/reset error:",T))}else if(S.tagName.toLowerCase()==="video")if(S.muted=i,window.innerWidth>e-1){const E=S.play();E!==void 0&&E.catch(T=>console.error("Video play error:",T))}else S.pause(),S.currentTime=0}}function f(g){const y=g.activeIndex;o.forEach((_,S)=>{const E=_.querySelector(".h-hero__navigation-text");window.innerWidth<480?_.style.display=S===y?"flex":"none":_.style.display="flex",S===y?(_.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)",_.style.backdropFilter="blur(16px)",E&&(E.style.background="var(--gradient_onDark, linear-gradient(45deg, #36E36E 0%, #78FFC6 25%, #CFFF73 50%, #36E36E 75%, #35F0FF 100%))",E.style.backgroundClip="text",E.style.webkitBackgroundClip="text",E.style.webkitTextFillColor="transparent")):(_.style.background="rgba(10, 22, 12, 0.65)",_.style.backdropFilter="blur(16px)",E&&(E.style.background="none",E.style.backgroundClip="initial",E.style.webkitBackgroundClip="initial",E.style.webkitTextFillColor="white"))})}function d(g){const y=g.activeIndex;o.forEach((E,T)=>{const A=E.querySelector(".h-hero__navigation-bar");A&&(V.killTweensOf(A),V.set(A,{scaleX:0}))});const S=o[y].querySelector(".h-hero__navigation-bar");S&&V.fromTo(S,{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 h=document.querySelector(".h-hero__navigation-wrapper");if(h){const g=()=>{window.innerWidth{h.removeEventListener("click",g),h.addEventListener("click",g)})}V.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 m=document.querySelector(".h-hero__sound-button"),w=document.querySelector(".h-hero__sound-icon--on"),b=document.querySelector(".h-hero__sound-icon--off");m&&m.addEventListener("click",v);function v(){i=!i;const g=document.querySelector(".swiper-slide-active .h-hero__slider-video");g&&(g.muted=i),w.style.display=i?"none":"block",b.style.display=i?"block":"none"}})}V.registerPlugin(Vi),V.registerPlugin(W,Vi);function cc(s){const e=new Vi(s,{type:"words"});V.from(e.words,{opacity:.1,duration:1,stagger:1,ease:"none",scrollTrigger:{trigger:s,start:"top 90%",end:"top 30%",scrub:!0}})}function xh(){let s=V.matchMedia(),e=992;s.add({isDesktop:`(min-width: ${e}px)`,isMobile:`(max-width: ${e-1}px)`},t=>{let{isDesktop:i,isMobile:r}=t.conditions;cc(".h-believe__title"),V.to(".h-believe__image--top",{opacity:1,ease:"none",scrollTrigger:{trigger:".h-believe__wrapper",start:"top bottom",end:"top top",scrub:!0}}),V.to(".h-believe__icon--top",{opacity:1,ease:"none",scrollTrigger:{trigger:".h-believe__wrapper",start:"top bottom",end:"top top",scrub:!0}}),V.from(".h-believe__cols--top",{scaleY:i?.5:1,ease:"none",scrollTrigger:{trigger:".section--believe",start:"top bottom",end:"top top",scrub:!0}}),V.from(".h-believe__cols--bottom",{scaleY:i?.5:1,ease:"none",scrollTrigger:{trigger:".section--believe",start:"bottom bottom",end:"bottom top",scrub:!0}}),V.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}})})}V.registerPlugin(W,Vi);function Ns(s){const e=new Vi(s,{type:"lines"});V.from(e.lines,{opacity:0,y:"2rem",duration:1.4,stagger:.15,ease:"power4.out",scrollTrigger:{trigger:s,start:"top 80%",toggleActions:"play none none reverse"}})}V.registerPlugin(W,Vi);function Sh(){let s=V.matchMedia(),e=992;s.add({isDesktop:`(min-width: ${e}px)`,isMobile:`(max-width: ${e-1}px)`},t=>{t.conditions,Ns(".h-content__title"),V.to(".h-content__icon",{y:"-3rem",ease:"none",scrollTrigger:{trigger:".h-content__title",start:"top bottom",end:"bottom top",scrub:!0}})})}V.registerPlugin(De);function Th(){let s=V.matchMedia();function e(){const r=document.querySelectorAll(".header__toggle-wrapper.active"),n=document.querySelector(".mask");r.forEach(a=>{a.classList.remove("active"),a.querySelector(".header__toggle-parent")}),n&&n.classList.remove("mask--active")}document.querySelectorAll(".header__toggle-wrapper").forEach(r=>{const n=r.querySelector(".header__nav-link-wrapper"),a=document.querySelector(".mask");n.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");s.add("(min-width: 480px)",()=>{let r=V.timeline({paused:!0});r.to(i,{yPercent:-100,duration:.3,ease:"power2.inOut"}),De.create({target:window,type:"scroll",onChangeY:n=>{n.scrollY()>200?n.deltaY>0?r.play():n.deltaY<0&&r.reverse():r.reverse()}})}),s.add("(max-width: 480px)",()=>{V.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=[],n=document.querySelector(".button--burger"),a=document.querySelectorAll(".header__nav-link-wrapper"),o=V.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"});n.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=V.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()})}})})}V.registerPlugin(W);function Ch(){const r=document.querySelector(".h-features__wrapper");if(!r||![".h-features__head",".h-features__list-cl-wrapper--toggle",".h-features__list-active",".h-features__images-cl-wrapper",".h-features__list-item"].every(s=>r.querySelector(s))||window.getComputedStyle(r).display==="none"||r.getClientRects().length===0)return;let s=V.matchMedia(),e=992;s.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"),n=V.timeline({paused:!0,reversed:!0}).to(i,{height:"auto",duration:.8,ease:"power2.inOut"});t.addEventListener("click",()=>{n.reversed()?n.play():n.reverse()}),r.forEach(a=>{a.addEventListener("click",()=>{n.reversed()||n.reverse()})})}),s.add({isDesktop:`(min-width: ${e}px)`,isMobile:`(max-width: ${e-1}px)`},t=>{let{isDesktop:i,isMobile:r}=t.conditions;const n=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");V.to(d,{opacity:.5,duration:.7,ease:"power2.inOut"})}},slideChangeTransitionEnd:function(){this.slides.forEach(f=>{const d=f.querySelector(".slide-mask");V.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;V.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",()=>{n.slideTo(d),u(d),c(d)})}),n.on("slideChange",function(){const f=n.activeIndex;u(f),c(f)}),u(n.activeIndex),c(n.activeIndex),Ns(".h-features__title"),V.from(".h-features__col",{scaleY:i?.5:1,ease:"none",scrollTrigger:{trigger:".h-content__wrapper",start:"bottom bottom",end:"bottom top",scrub:!0}}),n.params.autoplay={delay:3e3,disableOnInteraction:!1},W.create({trigger:".h-features__images-cl-wrapper",start:"top 80%",onEnter:()=>{n.autoplay.start()},onLeave:()=>{n.autoplay.stop()},onEnterBack:()=>{n.autoplay.start()},onLeaveBack:()=>{n.autoplay.stop()}})})}V.registerPlugin(W);function Ah(){let s=V.matchMedia(),e=992;s.add({isDesktop:`(min-width: ${e}px)`,isMobile:`(max-width: ${e-1}px)`},t=>{let{isDesktop:i,isMobile:r}=t.conditions;V.from(".h-marquee__cols",{scaleY:i?.5:1,ease:"none",scrollTrigger:{trigger:".section--h-marquee",start:"top bottom",end:"top top",scrub:!0}}),Ns(".h-marquee__title");const n=V.timeline({repeat:-1}).to(".h-marquee__col",{xPercent:-100,duration:20,ease:"none"});document.querySelectorAll(".h-marquee__item").forEach(o=>{o.addEventListener("mouseenter",()=>n.pause()),o.addEventListener("mouseleave",()=>n.play())})})}V.registerPlugin(W);function Mh(){let s=V.matchMedia(),e=992;s.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"),n=document.querySelectorAll(".h-uc__image");i.forEach((a,o)=>{r[o]&&n[o]&&o<2&&V.timeline({scrollTrigger:{trigger:a,start:"bottom center",end:"bottom top",scrub:!0}}).to(r[o],{opacity:0,ease:"none"})})})}V.registerPlugin(W);function Ph(){let s=V.matchMedia(),e=992;s.add({isDesktop:`(min-width: ${e}px)`,isMobile:`(max-width: ${e-1}px)`},t=>{let{isDesktop:i,isMobile:r}=t.conditions;V.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}}),V.from(".h-channel__cols",{scaleY:i?.5:1,ease:"none",scrollTrigger:{trigger:".h-channel__wrapper",start:"bottom bottom",end:"bottom top",scrub:!0}}),V.from(".h-videos__cols",{scaleY:i?.5:1,ease:"none",scrollTrigger:{trigger:".h-experiences__wrapper",start:"bottom bottom",end:"bottom top",scrub:!0}}),Ns(".h-channel__title")})}function kh(){if(!document.querySelector(".h-experiences__slider-wrapper"))return;const s=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 n=r.slides,a=r.activeIndex;n.forEach((o,l)=>{l{s.slidePrev()}),i&&i.addEventListener("click",()=>{s.slideNext()})}function Fh(){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})}V.registerPlugin(W);function Lh(){cc(".h-visual__title"),document.querySelectorAll(".trigger__item"),V.set(".h-visual__image--open",{opacity:0}),V.set(".h-visual__image--closed",{opacity:1}),V.set(".h-visual__overlay",{opacity:1,scale:1}),V.set(".h-visual__inner-image",{opacity:0,scale:.9}),V.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 s=V.matchMedia();s.add("(max-width: 480px)",()=>{V.set(".h-visual__overlay",{opacity:0}),V.set(".h-visual__steps-item--mobile",{opacity:0});const e=V.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((n,a)=>{const o=n.querySelector(".h-visual__steps-progress--mobile");e.to(n,{opacity:1,duration:.1},a*.3).to(o,{scaleX:1.1,duration:.2},a*.3).to(n,{opacity:0,duration:.1},(a+1)*.3-.1)});const i=document.querySelectorAll(".h-visual__inner-image"),r=V.timeline({scrollTrigger:{trigger:".h-visual__sticky-wrapper",start:"top top",end:"bottom bottom",scrub:!0}});i.forEach((n,a)=>{const o=a*.31;r.fromTo(n,{opacity:0,scale:.9,y:"110%"},{opacity:1,scale:1,y:"0%",duration:.3,ease:"power2.inOut"},o).to(n,{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)}),s.add("(min-width: 481px)",()=>{V.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)=>{V.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",()=>{W.refresh()})}document.addEventListener("DOMContentLoaded",function(){V.registerPlugin(W),W.config({autoRefreshEvents:"DOMContentLoaded,load"});const s=new mc({syncTouch:!0});s.on("scroll",W.update),V.ticker.add(t=>{s.raf(t*1e3)}),V.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")?s.stop():s.start()})}),(()=>{Th(),document.body.classList.contains("body--home")&&document.querySelector(".h-hero__wrapper")&&of("img",{background:!0},function(t){Eh(),xh(),Lh(),Sh(),Ch(),Ah(),Mh(),Ph(),kh(),Fh(),W.refresh()})})()})});