(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[663],{4659:function(e,t,i){"use strict";var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)},r=this&&this.__read||function(e,t){var i="function"==typeof Symbol&&e[Symbol.iterator];if(!i)return e;var n,r,s=i.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=s.next()).done;)o.push(n.value)}catch(e){r={error:e}}finally{try{n&&!n.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return o},s=this&&this.__values||function(e){var t="function"==typeof Symbol&&Symbol.iterator,i=t&&e[t],n=0;if(i)return i.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var a=o(i(2436)),l=o(i(4098)),u=i(4798),c=o(i(3821)),d=function(){function e(e){var t=this;this.options={color:"rgb(180, 180, 180)",opacity:1,licenseKey:null,size:40,focusableElements:"[data-blobity], a:not([data-no-blobity]), button:not([data-no-blobity]), [data-blobity-tooltip]",focusableElementsOffsetX:0,focusableElementsOffsetY:0,zIndex:-1,invert:!1,dotColor:null,dotSize:8,magnetic:!0,mode:"normal",radius:4,font:"sans-serif",fontWeight:400,fontSize:40,fontColor:"#000000",tooltipPadding:12,kineticMorphing:!0},this.initialized=!1,this.color={r:0,g:0,b:0},this.fontColor={r:0,g:0,b:0},this.stickedToElement=null,this.sticketToElementTooltip=null,this.disablingStickedToElementTimeout=null,this.isActive=!0,this.destroyed=!1,this.currentMagnetic=null,this.kinetPresets={normal:{acceleration:.1,friction:.35},bouncy:{acceleration:.1,friction:.28},slow:{acceleration:.06,friction:.35}},this.lastKnownCoordinates={x:0,y:0},this.currentOffsetX=0,this.currentOffsetY=0,this.manuallySetFocusedElement=null,this.manuallySetTooltipText=null,this.disableTimeStamp=new Date().getTime(),this.reduceMotionSetting=!1,this.kinetDefaultMethod="animate",this.updateOptions=function(e){if(t.options=n(n({},t.options),e),Array.isArray(t.options.color)?t.color=t.options.color.map(function(e){return u.convertColor(e)}):t.color=u.convertColor(t.options.color),t.fontColor=u.convertColor(t.options.fontColor),t.options.invert&&(t.color=u.convertColor("rgb(255, 255, 255)")),t.options.dotColor){if(t.globalStyles&&(document.head.removeChild(t.globalStyles),t.globalStyles=void 0),!t.globalStyles){var i='<svg xmlns="http://www.w3.org/2000/svg" width="'+t.options.dotSize+'" height="'+t.options.dotSize+'"\n                viewBox="0 0 8 8"><circle cx="4" cy="4" r="4" fill-rule="evenodd" fill="'+t.options.dotColor+'"/></svg>';t.globalStyles=document.createElement("style"),t.globalStyles.setAttribute("data-blobity-global-styles",""),t.globalStyles.appendChild(document.createTextNode("* {cursor: inherit}")),t.globalStyles.appendChild(document.createTextNode("html { cursor: url(data:image/svg+xml;base64,"+btoa(i)+") "+t.options.dotSize/2+" "+t.options.dotSize/2+", auto;}")),document.head.appendChild(t.globalStyles)}}else t.globalStyles&&document.head.removeChild(t.globalStyles),t.globalStyles=void 0;t.canvas.style.cssText="\n            position: fixed;\n            z-index: -1;\n            top: 0;\n            left: 0;\n            pointer-events: none;\n            opacity: 1;\n            will-change: transform;\n            overflow: visible;\n            opacity: "+t.options.opacity+"; \n            z-index: "+(t.options.invert?2147483647:t.options.zIndex)+"; \n            "+(t.options.invert&&"mix-blend-mode: difference")+";\n        ",t.currentOffsetX=t.options.focusableElementsOffsetX,t.currentOffsetY=t.options.focusableElementsOffsetY,t.resize(),!t.kinetInstance||(Object.entries(t.kinetInstance._instances).filter(function(e){return"scale"!==r(e,1)[0]}).forEach(function(e){var i=r(e,2)[1];i._friction=1-t.kinetPresets[t.options.mode].friction,i._acceleration=t.kinetPresets[t.options.mode].acceleration}),t.stickedToElement||t.sticketToElementTooltip||(void 0!==e.radius&&t.kinetInstance[t.kinetDefaultMethod]("radius",t.options.radius),t.kinetInstance[t.kinetDefaultMethod]("width",t.options.size),t.kinetInstance[t.kinetDefaultMethod]("height",t.options.size),t.kinetInstance[t.kinetDefaultMethod]("x",t.lastKnownCoordinates.x-t.options.size/2),t.kinetInstance[t.kinetDefaultMethod]("y",t.lastKnownCoordinates.y-t.options.size/2)))},this.destroy=function(){t.destroyed||(window.removeEventListener("resize",t.resize),window.removeEventListener("mousemove",t.throttledMouseMove),document.removeEventListener("mouseenter",t.windowMouseEnter),document.removeEventListener("mouseleave",t.windowMouseLeave),document.removeEventListener("mouseover",t.focusableElementMouseEnter),document.removeEventListener("mouseout",t.focusableElementMouseLeave),document.removeEventListener("touchstart",t.disable),document.removeEventListener("touchend",t.disable),document.removeEventListener("mousemove",t.enable),t.prefersReducedMotionMediaQuery.removeEventListener("change",t.updatePrefersReducedMotionSetting),document.body.removeChild(t.canvas),document.documentElement.style.cursor="",t.globalStyles&&document.head.removeChild(t.globalStyles),t.destroyed=!0)},this.disable=function(){t.disableTimeStamp=new Date().getTime(),t.isActive=!1,t.clear()},this.enable=function(){new Date().getTime()-t.disableTimeStamp>16&&(t.isActive=!0)},this.updatePrefersReducedMotionSetting=function(){t.reduceMotionSetting=t.prefersReducedMotionMediaQuery.matches,t.kinetDefaultMethod=t.reduceMotionSetting?"set":"animate"},this.focusElement=function(e){t.manuallySetTooltipText=null,t.manuallySetFocusedElement=e,t.highlightElement(e)},this.showTooltip=function(e){t.manuallySetFocusedElement=null,t.manuallySetTooltipText=e,t.displayTooltip(e,t.lastKnownCoordinates.x,t.lastKnownCoordinates.y)},this.reset=function(){if(t.manuallySetFocusedElement=null,t.manuallySetTooltipText=null,t.activeTooltip){t.displayTooltip(t.activeTooltip,t.lastKnownCoordinates.x,t.lastKnownCoordinates.y);return}if(t.activeFocusedElement){t.highlightElement(t.activeFocusedElement);return}t.resetMorph(t.lastKnownCoordinates.x-t.options.size/2,t.lastKnownCoordinates.y-t.options.size/2)},this.focusableElementMouseEnter=function(e){if(t.isActive&&e.target){var i=e.target.closest(t.options.focusableElements);if(i){t.stickedToElement=i;var n=i.getAttribute("data-blobity-tooltip");i&&void 0!=n&&(t.sticketToElementTooltip=n),t.currentOffsetX=i.getAttribute("data-blobity-offset-x")?parseInt(String(i.getAttribute("data-blobity-offset-x"))):t.options.focusableElementsOffsetX,t.currentOffsetY=i.getAttribute("data-blobity-offset-y")?parseInt(String(i.getAttribute("data-blobity-offset-y"))):t.options.focusableElementsOffsetY,t.stickedToElementMutationObserver.observe(document.body,{childList:!0,subtree:!0});var r=i.getAttribute("data-blobity-magnetic");!t.reduceMotionSetting&&("true"===r||t.options.magnetic&&"false"!==r)&&(t.currentMagnetic=new c.default(i),t.currentMagnetic.onTick=function(){if(!t.activeTooltip&&t.activeFocusedElement===i){var e=i.getBoundingClientRect(),n=e.width,r=e.height,s=e.x,o=e.y,a=i.getAttribute("data-blobity-radius");t.kinetInstance[t.kinetDefaultMethod]("textOpacity",0),t.morph({width:n+2*t.currentOffsetX,height:r+2*t.currentOffsetY,x:s-t.currentOffsetX,y:o-t.currentOffsetY},void 0!=a?parseInt(a):t.options.radius)}})}}},this.focusableElementMouseLeave=function(e){e.target&&e.target.closest(t.options.focusableElements)&&(t.resetStickedToElement(),t.resetStickedToElementMutationObserver(),t.currentOffsetX=t.options.focusableElementsOffsetX,t.currentOffsetY=t.options.focusableElementsOffsetY,t.resetMagnetic(),t.resetMorph(e.clientX,e.clientY))},this.mouseDown=function(){t.kinetInstance[t.kinetDefaultMethod]("scale",97)},this.mouseUp=function(){t.bounce()},this.windowMouseEnter=function(){t.kinetInstance[t.kinetDefaultMethod]("opacity",1)},this.windowMouseLeave=function(){t.kinetInstance[t.kinetDefaultMethod]("opacity",0)},this.highlightElement=function(e){var i=e.getBoundingClientRect(),n=i.width,r=i.height,s=i.x,o=i.y,a=e.getAttribute("data-blobity-radius");t.kinetInstance[t.kinetDefaultMethod]("textOpacity",0),t.morph({width:n+2*t.currentOffsetX,height:r+2*t.currentOffsetY,x:s-t.currentOffsetX,y:o-t.currentOffsetY},void 0!=a?parseInt(a):t.options.radius)},this.displayTooltip=function(e,i,n){t.ctx.font=t.options.fontWeight+" "+t.options.fontSize+"px "+t.options.font,t.ctx.textBaseline="bottom",t.ctx.textAlign="left";var r=t.ctx.measureText(e),s=r.actualBoundingBoxAscent,o=r.width,a=2*t.options.tooltipPadding;t.kinetInstance[t.kinetDefaultMethod]("textOpacity",100),t.morph({x:i+6,y:n+6,width:o+a,height:s+a},4)},this.mouseMove=function(e){t.initialized?(t.lastKnownCoordinates={x:e.clientX,y:e.clientY},t.activeTooltip?t.displayTooltip(t.activeTooltip,e.clientX,e.clientY):t.activeFocusedElement?t.highlightElement(t.activeFocusedElement):(t.kinetInstance[t.kinetDefaultMethod]("textOpacity",0),t.kinetInstance[t.kinetDefaultMethod]("x",e.clientX-t.options.size/2),t.kinetInstance[t.kinetDefaultMethod]("y",e.clientY-t.options.size/2),t.kinetInstance[t.kinetDefaultMethod]("width",t.options.size),t.kinetInstance[t.kinetDefaultMethod]("height",t.options.size),t.kinetInstance[t.kinetDefaultMethod]("radius",t.options.size/2))):(t.initialized=!0,t.kinetInstance.set("x",e.clientX-t.options.size/2),t.kinetInstance.set("y",e.clientY-t.options.size/2),t.kinetInstance[t.kinetDefaultMethod]("opacity",1))},this.resetMorph=function(e,i){t.disablingStickedToElementTimeout=setTimeout(function(){t.kinetInstance[t.kinetDefaultMethod]("width",t.options.size),t.kinetInstance[t.kinetDefaultMethod]("height",t.options.size),t.kinetInstance[t.kinetDefaultMethod]("radius",t.options.size/2),t.kinetInstance[t.kinetDefaultMethod]("x",e),t.kinetInstance[t.kinetDefaultMethod]("y",i)})},this.clear=function(){t.ctx.resetTransform(),t.ctx.rotate(0),t.ctx.clearRect(-20,-20,window.innerWidth*window.devicePixelRatio+20,window.innerHeight*window.devicePixelRatio+20)},this.resize=function(){t.ctx.canvas.style.width=window.innerWidth+"px",t.ctx.canvas.style.height=window.innerHeight+"px",t.ctx.canvas.width=window.innerWidth*window.devicePixelRatio,t.ctx.canvas.height=window.innerHeight*window.devicePixelRatio,window.devicePixelRatio>1&&(t.ctx.imageSmoothingEnabled=!1)},this.resetStickedToElement=function(){t.stickedToElement=null,t.sticketToElementTooltip=null},this.resetStickedToElementMutationObserver=function(){t.stickedToElementMutationObserver.disconnect()},this.resetMagnetic=function(){t.currentMagnetic&&(t.currentMagnetic.destroy(),t.currentMagnetic.onTick=null,t.currentMagnetic=null)},this.canvas=document.createElement("canvas"),document.body.appendChild(this.canvas),this.ctx=this.canvas.getContext("2d"),this.updateOptions(n({},e)),this.options.licenseKey||console.warn("Valid license number for Blobity is required. You can get one at https://blobity.gmrchk.com."),this.kinetInstance=new l.default({names:["x","y","opacity","textOpacity","width","height","radius","scale"],acceleration:this.kinetPresets[this.options.mode].acceleration,friction:this.kinetPresets[this.options.mode].friction}),this.kinetInstance._instances.scale._acceleration=.06,this.kinetInstance._instances.scale._friction=.9,this.kinetInstance.set("x",window.innerWidth/2),this.kinetInstance.set("y",window.innerHeight/2),this.kinetInstance.set("width",this.options.size),this.kinetInstance.set("height",this.options.size),this.kinetInstance.set("opacity",0),this.kinetInstance.set("textOpacity",0),this.kinetInstance.set("radius",this.options.size/2),this.kinetInstance.set("scale",100),this.kinetInstance.on("tick",function(e){t.render(e.x.current,e.y.current,e.width.current,e.height.current,e.radius.current,e.x.velocity,e.y.velocity,e.opacity.current,e.scale.current,e.textOpacity.current)}),this.throttledMouseMove=a.default(this.mouseMove),window.addEventListener("resize",this.resize,{passive:!0}),this.resize(),window.addEventListener("mousemove",this.throttledMouseMove,{passive:!0}),document.addEventListener("mouseenter",this.windowMouseEnter),document.addEventListener("mouseleave",this.windowMouseLeave),document.addEventListener("mouseover",this.focusableElementMouseEnter),document.addEventListener("mouseout",this.focusableElementMouseLeave),document.addEventListener("mousedown",this.mouseDown),document.addEventListener("mouseup",this.mouseUp),document.addEventListener("touchstart",this.disable),document.addEventListener("touchend",this.disable),document.addEventListener("mousemove",this.enable,{passive:!0}),this.prefersReducedMotionMediaQuery=window.matchMedia("(prefers-reduced-motion: reduce)"),this.prefersReducedMotionMediaQuery.addEventListener("change",this.updatePrefersReducedMotionSetting),this.updatePrefersReducedMotionSetting(),this.stickedToElementMutationObserver=new MutationObserver(function(e){var i,n,r,o;try{for(var a=s(e),l=a.next();!l.done;l=a.next()){var u=l.value;try{for(var c=(r=void 0,s(u.removedNodes)),d=c.next();!d.done;d=c.next()){var h=d.value;(h===t.stickedToElement||h.contains(t.stickedToElement))&&(t.resetStickedToElement(),t.resetStickedToElementMutationObserver(),t.resetMagnetic(),t.reset())}}catch(e){r={error:e}}finally{try{d&&!d.done&&(o=c.return)&&o.call(c)}finally{if(r)throw r.error}}}}catch(e){i={error:e}}finally{try{l&&!l.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}})}return e.prototype.bounce=function(){this.reduceMotionSetting?this.kinetInstance.set("scale",100):(this.kinetInstance.set("scale",97),this.kinetInstance._instances.scale.velocity=3,this.kinetInstance.animate("scale",100))},Object.defineProperty(e.prototype,"activeTooltip",{get:function(){return this.manuallySetTooltipText||this.sticketToElementTooltip},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeFocusedElement",{get:function(){return this.manuallySetFocusedElement||this.stickedToElement},enumerable:!1,configurable:!0}),e.prototype.morph=function(e,t){var i=e.width,n=e.height,r=e.x,s=e.y;this.disablingStickedToElementTimeout&&clearTimeout(this.disablingStickedToElementTimeout),this.kinetInstance[this.kinetDefaultMethod]("radius",t),this.kinetInstance[this.kinetDefaultMethod]("width",i),this.kinetInstance[this.kinetDefaultMethod]("height",n),this.kinetInstance[this.kinetDefaultMethod]("x",r),this.kinetInstance[this.kinetDefaultMethod]("y",s)},e.prototype.render=function(e,t,i,n,r,s,o,a,l,c){this.clear();var d=this.activeFocusedElement?0:this.options.size/8*7;if(e*=window.devicePixelRatio,t*=window.devicePixelRatio,i=(this.activeTooltip?i:Math.max(i,d))*window.devicePixelRatio,n=(this.activeTooltip?n:Math.max(n,d))*window.devicePixelRatio,r*=window.devicePixelRatio,s*=window.devicePixelRatio,o*=window.devicePixelRatio,this.isActive){var h=this.ctx;h.globalAlpha=a,h.setTransform(l/100,0,0,l/100,e,t),h.translate(i,n),h.scale(l/100,l/100),h.translate(-i,-n);var p=this.options.kineticMorphing&&2>Math.abs(i-this.options.size*window.devicePixelRatio)&&2>Math.abs(n-this.options.size*window.devicePixelRatio)&&2>Math.abs(r-this.options.size*window.devicePixelRatio/2);if(p){var f=180*Math.atan2(o,s)/Math.PI+180;h.translate(r,r),h.rotate(f*Math.PI/180),h.translate(-r,-r)}var m=p?Math.min(2*Math.sqrt(Math.pow(Math.abs(s),2)+Math.pow(Math.abs(o),2)),60)/2:0;if(h.beginPath(),h.moveTo(r,0),h.arcTo(i+m,m/2,i+m,n+m/2,u.positive(r-m/2)),h.arcTo(i+m,n-m/2,m,n-m/2,u.positive(r-m/2)),h.arcTo(0,n,0,0,u.positive(r)),h.arcTo(0,0,i,0,u.positive(r)),h.closePath(),u.isGradient(this.color)){var v=h.createLinearGradient(0,0,i,n),g=this.color.length;this.color.forEach(function(e,t){v.addColorStop(1/(g-1)*t,"rgb("+e.r+", "+e.g+", "+e.b+")")}),h.fillStyle=v}else h.fillStyle="rgb("+this.color.r+", "+this.color.g+", "+this.color.b+")";h.fill(),this.activeTooltip&&(h.setTransform(l/100,0,0,l/100,e,t),this.ctx.textBaseline="top",this.ctx.textAlign="left",this.ctx.font=this.options.fontWeight+" "+this.options.fontSize*window.devicePixelRatio*(l/100)+"px "+this.options.font,h.fillStyle="rgba(\n                    "+this.fontColor.r+", "+this.fontColor.g+", \n                    "+this.fontColor.b+", "+c/100+")",h.fillText(this.activeTooltip,this.options.tooltipPadding*window.devicePixelRatio-(l-100)/100*i,this.options.tooltipPadding*window.devicePixelRatio-(l-100)/100*n))}},e}();t.default=d},3821:function(e,t,i){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var r=n(i(4098)),s=n(i(2436)),o=function(){function e(e){var t=this;this.destroying=!1,this.onTick=null,this.destroy=function(){window.removeEventListener("mousemove",t.throttledMouseMove),t.destroying=!0,t.kinetInstance.animate("x",0),t.kinetInstance.animate("y",0)},this.mouseMove=function(e){var i=t.getDistance(e.clientX+window.scrollX,e.clientY+window.scrollY);t.render(i,-1*(t.center.x-e.clientX-window.scrollX),-1*(t.center.y-e.clientY-window.scrollY))},this.kinetInstance=new r.default({names:["x","y"],acceleration:.1,friction:.4}),this.element=e,this.rect=this.element.getBoundingClientRect(),this.center={x:this.rect.x+window.scrollX+this.element.offsetWidth/2,y:this.rect.y+window.scrollY+this.element.offsetHeight/2},this.maxDistanceX=this.element.offsetWidth/2,this.maxDistanceY=this.element.offsetWidth/2,this.throttledMouseMove=s.default(this.mouseMove),window.addEventListener("mousemove",this.throttledMouseMove,{passive:!0}),this.kinetInstance.on("tick",function(e){t.element.style.transform="translate3d("+e.x.current+"px, "+e.y.current+"px, 0) rotateY("+e.x.current/2+"deg) rotateX("+e.y.current/2+"deg)",t.onTick&&t.onTick()}),this.kinetInstance.on("end",function(){t.destroying&&(t.element.style.transform="")})}return e.prototype.getDistance=function(e,t){return Math.round(Math.sqrt(Math.pow(this.center.x-e,2)+Math.pow(this.center.y-t,2)))},e.prototype.render=function(e,t,i){if(Math.abs(t)<this.maxDistanceX&&Math.abs(i)<this.maxDistanceY){var n=t/this.maxDistanceX,r=i/this.maxDistanceY;this.kinetInstance.animate("x",Math.round(20*n)),this.kinetInstance.animate("y",Math.round(20*r))}else this.kinetInstance.animate("x",0),this.kinetInstance.animate("y",0)},e}();t.default=o},4798:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.negative=t.positive=t.isGradient=t.convertColor=t.extractRgbFromRgb=t.extractRgbFromHex=void 0,t.extractRgbFromHex=function(e){return{r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16)}},t.extractRgbFromRgb=function(e){var t=/rgb\((\d{1,3}), (\d{1,3}), (\d{1,3})\)/.exec(e);if(null===t)throw Error("Couldn't convert color string "+e);return{r:parseInt(t[1]),g:parseInt(t[2]),b:parseInt(t[3])}},t.convertColor=function(e){if(e.includes("rgb"))return t.extractRgbFromRgb(e);if(e.startsWith("#"))return t.extractRgbFromHex(e);throw Error("Couldn't convert color string "+e)},t.isGradient=function(e){return Array.isArray(e)},t.positive=function(e){return Math.max(e,0)},t.negative=function(e){return Math.min(e,0)}},5808:function(e,t,i){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var r=i(2784),s=n(i(4659));t.default=function(e){var t=r.useRef(null);return r.useEffect(function(){t.current||(t.current=new s.default(e))},[]),t}},5978:function(e,t,i){var n,r,s;s={canUseDOM:r=!!("undefined"!=typeof window&&window.document&&window.document.createElement),canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:r&&!!(window.addEventListener||window.attachEvent),canUseViewport:r&&!!window.screen},void 0!==(n=(function(){return s}).call(t,i,t,e))&&(e.exports=n)},4098:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},n=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}();function r(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var s=function(){function e(t){var n=this;r(this,e),this._handlers={set:[],start:[],tick:[],end:[]},this._options=i({},{friction:.7,acceleration:.04,initialValue:0,names:["x"],test:function(e){return Math.abs(e.current-e.target)>.1}},t),t&&t.friction&&(this._options.friction=1-t.friction),this._instances={},this._options.names.forEach(function(e){n._instances[e]=new o(n._options.initialValue,n._options.acceleration,n._options.friction)}),this._raf=null}return n(e,[{key:"set",value:function(e,t){var i=this;if(null==t){console.warn("Define a value.");return}if(null==this._instances[e]){console.warn('Instance "'+e+"\" doesn't exist.");return}this._instances[e].current=t,this._instances[e].target=t,this._raf||(this._handlers.set.forEach(function(e){return e(i._instances)}),this._handlers.tick.forEach(function(e){return e(i._instances)}))}},{key:"animate",value:function(e,t){var i=this;if(null==t){console.warn("Define a value.");return}if(null==this._instances[e]){console.warn("Instance "+e+" doesn't exist.");return}return this._instances[e].target!==t&&(this._instances[e].target=t,this._raf||(this._handlers.start.forEach(function(e){return e(i._instances,i._instances)}),this._animateValues()),t)}},{key:"_animateValues",value:function(){var e=this,t=!0;Object.keys(this._instances).forEach(function(i){e._instances[i].update(),e._options.test(e._instances[i])&&(t=!1)}),t?(Object.keys(this._instances).forEach(function(t){e._instances[t].current=e._instances[t].target,e._instances[t].velocity=0}),this._handlers.tick.forEach(function(t){return t(e._instances)}),this._handlers.end.forEach(function(t){return t(e._instances)}),this._raf=null):(this._raf=requestAnimationFrame(this._animateValues.bind(this)),this._handlers.tick.forEach(function(t){return t(e._instances)}))}},{key:"on",value:function(e,t){this._handlers[e]?this._handlers[e].push(t):console.warn("Unsupported event "+e+".")}},{key:"off",value:function(e,t){var i=this;if(null!=e){if(null!=t){if(this._handlers[e]&&this._handlers[e].filter(function(e){return e===t}).length){var n=this._handlers[e].filter(function(e){return e===t})[0],r=this._handlers[e].indexOf(n);r>-1&&this._handlers[e].splice(r,1)}else console.warn("Handler for event "+e+" no found.")}else this._handlers[e]=[]}else Object.keys(this._handlers).forEach(function(e){i._handlers[e]=[]})}}]),e}();t.default=s;var o=function(){function e(t,i,n){r(this,e),this.current=t,this.target=t,this._acceleration=i,this._friction=n,this.velocity=0}return n(e,[{key:"update",value:function(){var e=this.target-this.current,t=e*this._acceleration;return this.applyForce(t),this.velocity*=this._friction,this.current+=this.velocity,e}},{key:"applyForce",value:function(e){this.velocity+=e}}]),e}()},857:function(e,t,i){var n=i(7772).Symbol;e.exports=n},3366:function(e,t,i){var n=i(857),r=i(2107),s=i(7157),o=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":o&&o in Object(e)?r(e):s(e)}},1704:function(e,t,i){var n=i(2153),r=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(r,""):e}},1242:function(e,t,i){var n="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g;e.exports=n},2107:function(e,t,i){var n=i(857),r=Object.prototype,s=r.hasOwnProperty,o=r.toString,a=n?n.toStringTag:void 0;e.exports=function(e){var t=s.call(e,a),i=e[a];try{e[a]=void 0;var n=!0}catch(e){}var r=o.call(e);return n&&(t?e[a]=i:delete e[a]),r}},7157:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},7772:function(e,t,i){var n=i(1242),r="object"==typeof self&&self&&self.Object===Object&&self,s=n||r||Function("return this")();e.exports=s},2153:function(e){var t=/\s/;e.exports=function(e){for(var i=e.length;i--&&t.test(e.charAt(i)););return i}},4073:function(e,t,i){var n=i(9259),r=i(1100),s=i(7642),o=Math.max,a=Math.min;e.exports=function(e,t,i){var l,u,c,d,h,p,f=0,m=!1,v=!1,g=!0;if("function"!=typeof e)throw TypeError("Expected a function");function y(t){var i=l,n=u;return l=u=void 0,f=t,d=e.apply(n,i)}function b(e){var i=e-p,n=e-f;return void 0===p||i>=t||i<0||v&&n>=c}function w(){var e,i,n,s=r();if(b(s))return x(s);h=setTimeout(w,(e=s-p,i=s-f,n=t-e,v?a(n,c-i):n))}function x(e){return(h=void 0,g&&l)?y(e):(l=u=void 0,d)}function S(){var e,i=r(),n=b(i);if(l=arguments,u=this,p=i,n){if(void 0===h)return f=e=p,h=setTimeout(w,t),m?y(e):d;if(v)return clearTimeout(h),h=setTimeout(w,t),y(p)}return void 0===h&&(h=setTimeout(w,t)),d}return t=s(t)||0,n(i)&&(m=!!i.leading,c=(v="maxWait"in i)?o(s(i.maxWait)||0,t):c,g="trailing"in i?!!i.trailing:g),S.cancel=function(){void 0!==h&&clearTimeout(h),f=0,l=p=u=h=void 0},S.flush=function(){return void 0===h?d:x(r())},S}},9259:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},5125:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},4795:function(e,t,i){var n=i(3366),r=i(5125);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==n(e)}},1100:function(e,t,i){var n=i(7772);e.exports=function(){return n.Date.now()}},2436:function(e,t,i){var n=i(4073),r=i(9259);e.exports=function(e,t,i){var s=!0,o=!0;if("function"!=typeof e)throw TypeError("Expected a function");return r(i)&&(s="leading"in i?!!i.leading:s,o="trailing"in i?!!i.trailing:o),n(e,t,{leading:s,maxWait:t,trailing:o})}},7642:function(e,t,i){var n=i(1704),r=i(9259),s=i(4795),o=0/0,a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(s(e))return o;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var i=l.test(e);return i||u.test(e)?c(e.slice(2),i?2:8):a.test(e)?o:+e}},4459:function(e,t){"use strict";var i,n;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var i in t)Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}(t,{PrefetchKind:function(){return i},ACTION_REFRESH:function(){return r},ACTION_NAVIGATE:function(){return s},ACTION_RESTORE:function(){return o},ACTION_SERVER_PATCH:function(){return a},ACTION_PREFETCH:function(){return l},ACTION_FAST_REFRESH:function(){return u},ACTION_SERVER_ACTION:function(){return c},isThenable:function(){return d}});let r="refresh",s="navigate",o="restore",a="server-patch",l="prefetch",u="fast-refresh",c="server-action";function d(e){return e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof e.then}(n=i||(i={})).AUTO="auto",n.FULL="full",n.TEMPORARY="temporary",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},710:function(e,t,i){"use strict";function n(e,t,i,n){return!1}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return n}}),i(8723),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},7466:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return b}});let n=i(3219),r=i(6794),s=i(2322),o=r._(i(2784)),a=n._(i(8316)),l=n._(i(2851)),u=i(3583),c=i(6951),d=i(6359);i(5356);let h=i(1051),p=n._(i(2168)),f={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0};function m(e,t,i,n,r,s){let o=null==e?void 0:e.src;e&&e["data-loaded-src"]!==o&&(e["data-loaded-src"]=o,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&r(!0),null==i?void 0:i.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,r=!1;i.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>r,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{r=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function v(e){let[t,i]=o.version.split(".",2),n=parseInt(t,10),r=parseInt(i,10);return n>18||18===n&&r>=3?{fetchPriority:e}:{fetchpriority:e}}let g=(0,o.forwardRef)((e,t)=>{let{src:i,srcSet:n,sizes:r,height:a,width:l,decoding:u,className:c,style:d,fetchPriority:h,placeholder:p,loading:f,unoptimized:g,fill:y,onLoadRef:b,onLoadingCompleteRef:w,setBlurComplete:x,setShowAltText:S,onLoad:E,onError:T,...C}=e;return(0,s.jsx)("img",{...C,...v(h),loading:f,width:l,height:a,decoding:u,"data-nimg":y?"fill":"1",className:c,style:d,sizes:r,srcSet:n,src:i,ref:(0,o.useCallback)(e=>{t&&("function"==typeof t?t(e):"object"==typeof t&&(t.current=e)),e&&(T&&(e.src=e.src),e.complete&&m(e,p,b,w,x,g))},[i,p,b,w,x,T,g,t]),onLoad:e=>{m(e.currentTarget,p,b,w,x,g)},onError:e=>{S(!0),"empty"!==p&&x(!0),T&&T(e)}})});function y(e){let{isAppRouter:t,imgAttributes:i}=e,n={as:"image",imageSrcSet:i.srcSet,imageSizes:i.sizes,crossOrigin:i.crossOrigin,referrerPolicy:i.referrerPolicy,...v(i.fetchPriority)};return t&&a.default.preload?(a.default.preload(i.src,n),null):(0,s.jsx)(l.default,{children:(0,s.jsx)("link",{rel:"preload",href:i.srcSet?void 0:i.src,...n},"__nimg-"+i.src+i.srcSet+i.sizes)})}let b=(0,o.forwardRef)((e,t)=>{let i=(0,o.useContext)(h.RouterContext),n=(0,o.useContext)(d.ImageConfigContext),r=(0,o.useMemo)(()=>{let e=f||n||c.imageConfigDefault,t=[...e.deviceSizes,...e.imageSizes].sort((e,t)=>e-t),i=e.deviceSizes.sort((e,t)=>e-t);return{...e,allSizes:t,deviceSizes:i}},[n]),{onLoad:a,onLoadingComplete:l}=e,m=(0,o.useRef)(a);(0,o.useEffect)(()=>{m.current=a},[a]);let v=(0,o.useRef)(l);(0,o.useEffect)(()=>{v.current=l},[l]);let[b,w]=(0,o.useState)(!1),[x,S]=(0,o.useState)(!1),{props:E,meta:T}=(0,u.getImgProps)(e,{defaultLoader:p.default,imgConf:r,blurComplete:b,showAltText:x});return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(g,{...E,unoptimized:T.unoptimized,placeholder:T.placeholder,fill:T.fill,onLoadRef:m,onLoadingCompleteRef:v,setBlurComplete:w,setShowAltText:S,ref:t}),T.priority?(0,s.jsx)(y,{isAppRouter:!i,imgAttributes:E}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},216:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return w}});let n=i(3219),r=i(2322),s=n._(i(2784)),o=i(988),a=i(7113),l=i(6792),u=i(7308),c=i(1082),d=i(1051),h=i(8375),p=i(6607),f=i(710),m=i(2515),v=i(4459),g=new Set;function y(e,t,i,n,r,s){if(s||(0,a.isLocalURL)(t)){if(!n.bypassPrefetchedCheck){let r=t+"%"+i+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(g.has(r))return;g.add(r)}Promise.resolve(s?e.prefetch(t,r):e.prefetch(t,i,n)).catch(e=>{})}}function b(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let w=s.default.forwardRef(function(e,t){let i,n;let{href:l,as:g,children:w,prefetch:x=null,passHref:S,replace:E,shallow:T,scroll:C,locale:P,onClick:M,onMouseEnter:k,onTouchStart:O,legacyBehavior:A=!1,...L}=e;i=w,A&&("string"==typeof i||"number"==typeof i)&&(i=(0,r.jsx)("a",{children:i}));let _=s.default.useContext(d.RouterContext),D=s.default.useContext(h.AppRouterContext),R=null!=_?_:D,I=!_,j=!1!==x,V=null===x?v.PrefetchKind.AUTO:v.PrefetchKind.FULL,{href:F,as:z}=s.default.useMemo(()=>{if(!_){let e=b(l);return{href:e,as:g?b(g):e}}let[e,t]=(0,o.resolveHref)(_,l,!0);return{href:e,as:g?(0,o.resolveHref)(_,g):t||e}},[_,l,g]),N=s.default.useRef(F),B=s.default.useRef(z);A&&(n=s.default.Children.only(i));let $=A?n&&"object"==typeof n&&n.ref:t,[W,H,U]=(0,p.useIntersection)({rootMargin:"200px"}),G=s.default.useCallback(e=>{(B.current!==z||N.current!==F)&&(U(),B.current=z,N.current=F),W(e),$&&("function"==typeof $?$(e):"object"==typeof $&&($.current=e))},[z,$,F,U,W]);s.default.useEffect(()=>{R&&H&&j&&y(R,F,z,{locale:P},{kind:V},I)},[z,F,H,P,j,null==_?void 0:_.locale,R,I,V]);let q={ref:G,onClick(e){A||"function"!=typeof M||M(e),A&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),R&&!e.defaultPrevented&&function(e,t,i,n,r,o,l,u,c){let{nodeName:d}=e.currentTarget;if("A"===d.toUpperCase()&&(function(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}(e)||!c&&!(0,a.isLocalURL)(i)))return;e.preventDefault();let h=()=>{let e=null==l||l;"beforePopState"in t?t[r?"replace":"push"](i,n,{shallow:o,locale:u,scroll:e}):t[r?"replace":"push"](n||i,{scroll:e})};c?s.default.startTransition(h):h()}(e,R,F,z,E,T,C,P,I)},onMouseEnter(e){A||"function"!=typeof k||k(e),A&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),R&&(j||!I)&&y(R,F,z,{locale:P,priority:!0,bypassPrefetchedCheck:!0},{kind:V},I)},onTouchStart(e){A||"function"!=typeof O||O(e),A&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),R&&(j||!I)&&y(R,F,z,{locale:P,priority:!0,bypassPrefetchedCheck:!0},{kind:V},I)}};if((0,u.isAbsoluteUrl)(z))q.href=z;else if(!A||S||"a"===n.type&&!("href"in n.props)){let e=void 0!==P?P:null==_?void 0:_.locale,t=(null==_?void 0:_.isLocaleDomain)&&(0,f.getDomainLocale)(z,e,null==_?void 0:_.locales,null==_?void 0:_.domainLocales);q.href=t||(0,m.addBasePath)((0,c.addLocale)(z,e,null==_?void 0:_.defaultLocale))}return A?s.default.cloneElement(n,q):(0,r.jsx)("a",{...L,...q,children:i})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},6607:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let n=i(2784),r=i(1289),s="function"==typeof IntersectionObserver,o=new Map,a=[];function l(e){let{rootRef:t,rootMargin:i,disabled:l}=e,u=l||!s,[c,d]=(0,n.useState)(!1),h=(0,n.useRef)(null),p=(0,n.useCallback)(e=>{h.current=e},[]);return(0,n.useEffect)(()=>{if(s){if(u||c)return;let e=h.current;if(e&&e.tagName)return function(e,t,i){let{id:n,observer:r,elements:s}=function(e){let t;let i={root:e.root||null,margin:e.rootMargin||""},n=a.find(e=>e.root===i.root&&e.margin===i.margin);if(n&&(t=o.get(n)))return t;let r=new Map;return t={id:i,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=r.get(e.target),i=e.isIntersecting||e.intersectionRatio>0;t&&i&&t(i)})},e),elements:r},a.push(i),o.set(i,t),t}(i);return s.set(e,t),r.observe(e),function(){if(s.delete(e),r.unobserve(e),0===s.size){r.disconnect(),o.delete(n);let e=a.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&a.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:i})}else if(!c){let e=(0,r.requestIdleCallback)(()=>d(!0));return()=>(0,r.cancelIdleCallback)(e)}},[u,i,t,c,h.current]),[p,c,(0,n.useCallback)(()=>{d(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},3583:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return a}}),i(5356);let n=i(9719),r=i(6951);function s(e){return void 0!==e.default}function o(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function a(e,t){var i;let a,l,u,{src:c,sizes:d,unoptimized:h=!1,priority:p=!1,loading:f,className:m,quality:v,width:g,height:y,fill:b=!1,style:w,onLoad:x,onLoadingComplete:S,placeholder:E="empty",blurDataURL:T,fetchPriority:C,layout:P,objectFit:M,objectPosition:k,lazyBoundary:O,lazyRoot:A,...L}=e,{imgConf:_,showAltText:D,blurComplete:R,defaultLoader:I}=t,j=_||r.imageConfigDefault;if("allSizes"in j)a=j;else{let e=[...j.deviceSizes,...j.imageSizes].sort((e,t)=>e-t),t=j.deviceSizes.sort((e,t)=>e-t);a={...j,allSizes:e,deviceSizes:t}}let V=L.loader||I;delete L.loader,delete L.srcSet;let F="__next_img_default"in V;if(F){if("custom"===a.loader)throw Error('Image with src "'+c+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader')}else{let e=V;V=t=>{let{config:i,...n}=t;return e(n)}}if(P){"fill"===P&&(b=!0);let e={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[P];e&&(w={...w,...e});let t={responsive:"100vw",fill:"100vw"}[P];t&&!d&&(d=t)}let z="",N=o(g),B=o(y);if("object"==typeof(i=c)&&(s(i)||void 0!==i.src)){let e=s(c)?c.default:c;if(!e.src)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e));if(!e.height||!e.width)throw Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e));if(l=e.blurWidth,u=e.blurHeight,T=T||e.blurDataURL,z=e.src,!b){if(N||B){if(N&&!B){let t=N/e.width;B=Math.round(e.height*t)}else if(!N&&B){let t=B/e.height;N=Math.round(e.width*t)}}else N=e.width,B=e.height}}let $=!p&&("lazy"===f||void 0===f);(!(c="string"==typeof c?c:z)||c.startsWith("data:")||c.startsWith("blob:"))&&(h=!0,$=!1),a.unoptimized&&(h=!0),F&&c.endsWith(".svg")&&!a.dangerouslyAllowSVG&&(h=!0),p&&(C="high");let W=o(v),H=Object.assign(b?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:M,objectPosition:k}:{},D?{}:{color:"transparent"},w),U=R||"empty"===E?null:"blur"===E?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:N,heightInt:B,blurWidth:l,blurHeight:u,blurDataURL:T||"",objectFit:H.objectFit})+'")':'url("'+E+'")',G=U?{backgroundSize:H.objectFit||"cover",backgroundPosition:H.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:U}:{},q=function(e){let{config:t,src:i,unoptimized:n,width:r,quality:s,sizes:o,loader:a}=e;if(n)return{src:i,srcSet:void 0,sizes:void 0};let{widths:l,kind:u}=function(e,t,i){let{deviceSizes:n,allSizes:r}=e;if(i){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(i);n)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:r.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:r,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>r.find(t=>t>=e)||r[r.length-1]))],kind:"x"}}(t,r,o),c=l.length-1;return{sizes:o||"w"!==u?o:"100vw",srcSet:l.map((e,n)=>a({config:t,src:i,quality:s,width:e})+" "+("w"===u?e:n+1)+u).join(", "),src:a({config:t,src:i,quality:s,width:l[c]})}}({config:a,src:c,unoptimized:h,width:N,quality:W,sizes:d,loader:V});return{props:{...L,loading:$?"lazy":f,fetchPriority:C,width:N,height:B,decoding:"async",className:m,style:{...H,...G},sizes:q.sizes,srcSet:q.srcSet,src:q.src},meta:{unoptimized:h,priority:p,placeholder:E,fill:b}}}},9719:function(e,t){"use strict";function i(e){let{widthInt:t,heightInt:i,blurWidth:n,blurHeight:r,blurDataURL:s,objectFit:o}=e,a=n?40*n:t,l=r?40*r:i,u=a&&l?"viewBox='0 0 "+a+" "+l+"'":"";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+u+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+(u?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none")+"' style='filter: url(%23b);' href='"+s+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return i}})},479:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var i in t)Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}(t,{getImageProps:function(){return a},default:function(){return l}});let n=i(3219),r=i(3583),s=i(7466),o=n._(i(2168)),a=e=>{let{props:t}=(0,r.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!0}});for(let[e,i]of Object.entries(t))void 0===i&&delete t[e];return{props:t}},l=s.Image},2168:function(e,t){"use strict";function i(e){let{config:t,src:i,width:n,quality:r}=e;return t.path+"?url="+encodeURIComponent(i)+"&w="+n+"&q="+(r||75)}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return n}}),i.__next_img_default=!0;let n=i},2321:function(){},2044:function(e){e.exports={style:{fontFamily:"'__monaSans_0ddfd0', '__monaSans_Fallback_0ddfd0'"},className:"__className_0ddfd0"}},7729:function(e,t,i){e.exports=i(2851)},6577:function(e,t,i){e.exports=i(479)},9097:function(e,t,i){e.exports=i(216)},5632:function(e,t,i){e.exports=i(5244)},8262:function(e,t,i){"use strict";var n=i(3586);function r(){}function s(){}s.resetWarningCache=r,e.exports=function(){function e(e,t,i,r,s,o){if(o!==n){var a=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var i={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:s,resetWarningCache:r};return i.PropTypes=i,i}},3980:function(e,t,i){e.exports=i(8262)()},3586:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6847:function(e,t,i){"use strict";function n(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function r(e){this.setState((function(t){var i=this.constructor.getDerivedStateFromProps(e,t);return null!=i?i:null}).bind(this))}function s(e,t){try{var i=this.props,n=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(i,n)}finally{this.props=i,this.state=n}}function o(e){var t=e.prototype;if(!t||!t.isReactComponent)throw Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var i=null,o=null,a=null;if("function"==typeof t.componentWillMount?i="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(i="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?o="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(o="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?a="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(a="UNSAFE_componentWillUpdate"),null!==i||null!==o||null!==a)throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+(e.displayName||e.name)+" uses "+("function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()")+" but also contains the following legacy lifecycles:"+(null!==i?"\n  "+i:"")+(null!==o?"\n  "+o:"")+(null!==a?"\n  "+a:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks");if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=n,t.componentWillReceiveProps=r),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=s;var l=t.componentDidUpdate;t.componentDidUpdate=function(e,t,i){var n=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:i;l.call(this,e,t,n)}}return e}i.r(t),i.d(t,{polyfill:function(){return o}}),n.__suppressDeprecationWarning=!0,r.__suppressDeprecationWarning=!0,s.__suppressDeprecationWarning=!0},2901:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},r=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}(),s=i(2784),o=f(s),a=f(i(8316)),l=f(i(3980)),u=f(i(742)),c=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}(i(6941)),d=i(6259),h=f(d),p=i(6847);function f(e){return e&&e.__esModule?e:{default:e}}function m(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}var v=t.portalClassName="ReactModalPortal",g=t.bodyOpenClassName="ReactModal__Body--open",y=d.canUseDOM&&void 0!==a.default.createPortal,b=function(e){return document.createElement(e)},w=function(){return y?a.default.createPortal:a.default.unstable_renderSubtreeIntoContainer},x=function(e){function t(){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t);for(var e,i,r,s=arguments.length,l=Array(s),c=0;c<s;c++)l[c]=arguments[c];return i=r=m(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),r.removePortal=function(){y||a.default.unmountComponentAtNode(r.node);var e=(0,r.props.parentSelector)();e&&e.contains(r.node)?e.removeChild(r.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},r.portalRef=function(e){r.portal=e},r.renderPortal=function(e){var i=w()(r,o.default.createElement(u.default,n({defaultStyles:t.defaultStyles},e)),r.node);r.portalRef(i)},m(r,i)}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"componentDidMount",value:function(){d.canUseDOM&&(y||(this.node=b("div")),this.node.className=this.props.portalClassName,(0,this.props.parentSelector)().appendChild(this.node),y||this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:(0,e.parentSelector)(),nextParent:(0,this.props.parentSelector)()}}},{key:"componentDidUpdate",value:function(e,t,i){if(d.canUseDOM){var n=this.props,r=n.isOpen,s=n.portalClassName;e.portalClassName!==s&&(this.node.className=s);var o=i.prevParent,a=i.nextParent;a!==o&&(o.removeChild(this.node),a.appendChild(this.node)),(e.isOpen||r)&&(y||this.renderPortal(this.props))}}},{key:"componentWillUnmount",value:function(){if(d.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),i=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);i?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,i-t)):this.removePortal()}}},{key:"render",value:function(){return d.canUseDOM&&y?(!this.node&&y&&(this.node=b("div")),w()(o.default.createElement(u.default,n({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){c.setElement(e)}}]),t}(s.Component);x.propTypes={isOpen:l.default.bool.isRequired,style:l.default.shape({content:l.default.object,overlay:l.default.object}),portalClassName:l.default.string,bodyOpenClassName:l.default.string,htmlOpenClassName:l.default.string,className:l.default.oneOfType([l.default.string,l.default.shape({base:l.default.string.isRequired,afterOpen:l.default.string.isRequired,beforeClose:l.default.string.isRequired})]),overlayClassName:l.default.oneOfType([l.default.string,l.default.shape({base:l.default.string.isRequired,afterOpen:l.default.string.isRequired,beforeClose:l.default.string.isRequired})]),appElement:l.default.oneOfType([l.default.instanceOf(h.default),l.default.instanceOf(d.SafeHTMLCollection),l.default.instanceOf(d.SafeNodeList),l.default.arrayOf(l.default.instanceOf(h.default))]),onAfterOpen:l.default.func,onRequestClose:l.default.func,closeTimeoutMS:l.default.number,ariaHideApp:l.default.bool,shouldFocusAfterRender:l.default.bool,shouldCloseOnOverlayClick:l.default.bool,shouldReturnFocusAfterClose:l.default.bool,preventScroll:l.default.bool,parentSelector:l.default.func,aria:l.default.object,data:l.default.object,role:l.default.string,contentLabel:l.default.string,shouldCloseOnEsc:l.default.bool,overlayRef:l.default.func,contentRef:l.default.func,id:l.default.string,overlayElement:l.default.func,contentElement:l.default.func},x.defaultProps={isOpen:!1,portalClassName:v,bodyOpenClassName:g,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return o.default.createElement("div",e,t)},contentElement:function(e,t){return o.default.createElement("div",e,t)}},x.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,p.polyfill)(x),t.default=x},742:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}(),o=i(2784),a=v(i(3980)),l=m(i(7194)),u=v(i(26)),c=m(i(6941)),d=m(i(5853)),h=i(6259),p=v(h),f=v(i(6638));function m(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}function v(e){return e&&e.__esModule?e:{default:e}}i(6736);var g={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},y=0,b=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t);var i=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return i.setOverlayRef=function(e){i.overlay=e,i.props.overlayRef&&i.props.overlayRef(e)},i.setContentRef=function(e){i.content=e,i.props.contentRef&&i.props.contentRef(e)},i.afterClose=function(){var e=i.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,s=e.bodyOpenClassName,o=e.parentSelector,a=o&&o().ownerDocument||document;s&&d.remove(a.body,s),r&&d.remove(a.getElementsByTagName("html")[0],r),n&&y>0&&0==(y-=1)&&c.show(t),i.props.shouldFocusAfterRender&&(i.props.shouldReturnFocusAfterClose?(l.returnFocus(i.props.preventScroll),l.teardownScopedFocus()):l.popWithoutFocus()),i.props.onAfterClose&&i.props.onAfterClose(),f.default.deregister(i)},i.open=function(){i.beforeOpen(),i.state.afterOpen&&i.state.beforeClose?(clearTimeout(i.closeTimer),i.setState({beforeClose:!1})):(i.props.shouldFocusAfterRender&&(l.setupScopedFocus(i.node),l.markForFocusLater()),i.setState({isOpen:!0},function(){i.openAnimationFrame=requestAnimationFrame(function(){i.setState({afterOpen:!0}),i.props.isOpen&&i.props.onAfterOpen&&i.props.onAfterOpen({overlayEl:i.overlay,contentEl:i.content})})}))},i.close=function(){i.props.closeTimeoutMS>0?i.closeWithTimeout():i.closeWithoutTimeout()},i.focusContent=function(){return i.content&&!i.contentHasFocus()&&i.content.focus({preventScroll:!0})},i.closeWithTimeout=function(){var e=Date.now()+i.props.closeTimeoutMS;i.setState({beforeClose:!0,closesAt:e},function(){i.closeTimer=setTimeout(i.closeWithoutTimeout,i.state.closesAt-Date.now())})},i.closeWithoutTimeout=function(){i.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},i.afterClose)},i.handleKeyDown=function(e){("Tab"===e.code||9===e.keyCode)&&(0,u.default)(i.content,e),i.props.shouldCloseOnEsc&&("Escape"===e.code||27===e.keyCode)&&(e.stopPropagation(),i.requestClose(e))},i.handleOverlayOnClick=function(e){null===i.shouldClose&&(i.shouldClose=!0),i.shouldClose&&i.props.shouldCloseOnOverlayClick&&(i.ownerHandlesClose()?i.requestClose(e):i.focusContent()),i.shouldClose=null},i.handleContentOnMouseUp=function(){i.shouldClose=!1},i.handleOverlayOnMouseDown=function(e){i.props.shouldCloseOnOverlayClick||e.target!=i.overlay||e.preventDefault()},i.handleContentOnClick=function(){i.shouldClose=!1},i.handleContentOnMouseDown=function(){i.shouldClose=!1},i.requestClose=function(e){return i.ownerHandlesClose()&&i.props.onRequestClose(e)},i.ownerHandlesClose=function(){return i.props.onRequestClose},i.shouldBeClosed=function(){return!i.state.isOpen&&!i.state.beforeClose},i.contentHasFocus=function(){return document.activeElement===i.content||i.content.contains(document.activeElement)},i.buildClassName=function(e,t){var n=(void 0===t?"undefined":r(t))==="object"?t:{base:g[e],afterOpen:g[e]+"--after-open",beforeClose:g[e]+"--before-close"},s=n.base;return i.state.afterOpen&&(s=s+" "+n.afterOpen),i.state.beforeClose&&(s=s+" "+n.beforeClose),"string"==typeof t&&t?s+" "+t:s},i.attributesFromObject=function(e,t){return Object.keys(t).reduce(function(i,n){return i[e+"-"+n]=t[n],i},{})},i.state={afterOpen:!1,beforeClose:!1},i.shouldClose=null,i.moveFromContentToOverlay=null,i}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),s(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,i=e.ariaHideApp,n=e.htmlOpenClassName,r=e.bodyOpenClassName,s=e.parentSelector,o=s&&s().ownerDocument||document;r&&d.add(o.body,r),n&&d.add(o.getElementsByTagName("html")[0],n),i&&(y+=1,c.hide(t)),f.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,i=e.className,r=e.overlayClassName,s=e.defaultStyles,o=e.children,a=i?{}:s.content,l=r?{}:s.overlay;if(this.shouldBeClosed())return null;var u={ref:this.setOverlayRef,className:this.buildClassName("overlay",r),style:n({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},c=n({id:t,ref:this.setContentRef,style:n({},a,this.props.style.content),className:this.buildClassName("content",i),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",n({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(c,o);return this.props.overlayElement(u,d)}}]),t}(o.Component);b.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},b.propTypes={isOpen:a.default.bool.isRequired,defaultStyles:a.default.shape({content:a.default.object,overlay:a.default.object}),style:a.default.shape({content:a.default.object,overlay:a.default.object}),className:a.default.oneOfType([a.default.string,a.default.object]),overlayClassName:a.default.oneOfType([a.default.string,a.default.object]),parentSelector:a.default.func,bodyOpenClassName:a.default.string,htmlOpenClassName:a.default.string,ariaHideApp:a.default.bool,appElement:a.default.oneOfType([a.default.instanceOf(p.default),a.default.instanceOf(h.SafeHTMLCollection),a.default.instanceOf(h.SafeNodeList),a.default.arrayOf(a.default.instanceOf(p.default))]),onAfterOpen:a.default.func,onAfterClose:a.default.func,onRequestClose:a.default.func,closeTimeoutMS:a.default.number,shouldFocusAfterRender:a.default.bool,shouldCloseOnOverlayClick:a.default.bool,shouldReturnFocusAfterClose:a.default.bool,preventScroll:a.default.bool,role:a.default.string,contentLabel:a.default.string,aria:a.default.object,data:a.default.object,children:a.default.node,shouldCloseOnEsc:a.default.bool,overlayRef:a.default.func,contentRef:a.default.func,id:a.default.string,overlayElement:a.default.func,contentElement:a.default.func,testId:a.default.string},t.default=b,e.exports=t.default},6941:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){o&&(o.removeAttribute?o.removeAttribute("aria-hidden"):null!=o.length?o.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(o).forEach(function(e){return e.removeAttribute("aria-hidden")})),o=null},t.log=function(){},t.assertNodeList=a,t.setElement=function(e){var t=e;if("string"==typeof t&&s.canUseDOM){var i=document.querySelectorAll(t);a(i,t),t=i}return o=t||o},t.validateElement=l,t.hide=function(e){var t=!0,i=!1,n=void 0;try{for(var r,s=l(e)[Symbol.iterator]();!(t=(r=s.next()).done);t=!0)r.value.setAttribute("aria-hidden","true")}catch(e){i=!0,n=e}finally{try{!t&&s.return&&s.return()}finally{if(i)throw n}}},t.show=function(e){var t=!0,i=!1,n=void 0;try{for(var r,s=l(e)[Symbol.iterator]();!(t=(r=s.next()).done);t=!0)r.value.removeAttribute("aria-hidden")}catch(e){i=!0,n=e}finally{try{!t&&s.return&&s.return()}finally{if(i)throw n}}},t.documentNotReadyOrSSRTesting=function(){o=null};var n,r=(n=i(6681))&&n.__esModule?n:{default:n},s=i(6259),o=null;function a(e,t){if(!e||!e.length)throw Error("react-modal: No elements were found for selector "+t+".")}function l(e){var t=e||o;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,r.default)(!1,"react-modal: App element is not defined. Please use `Modal.setAppElement(el)` or set `appElement={el}`. This is needed so screen readers don't see main content when modal is opened. It is not recommended, but you can opt-out by setting `ariaHideApp={false}`."),[])}},6736:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){for(var e=[s,o],t=0;t<e.length;t++){var i=e[t];i&&i.parentNode&&i.parentNode.removeChild(i)}s=o=null,a=[]},t.log=function(){console.log("bodyTrap ----------"),console.log(a.length);for(var e=[s,o],t=0;t<e.length;t++){var i=e[t]||{};console.log(i.nodeName,i.className,i.id)}console.log("edn bodyTrap ----------")};var n,r=(n=i(6638))&&n.__esModule?n:{default:n},s=void 0,o=void 0,a=[];function l(){0!==a.length&&a[a.length-1].focusContent()}r.default.subscribe(function(e,t){s||o||((s=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),s.style.position="absolute",s.style.opacity="0",s.setAttribute("tabindex","0"),s.addEventListener("focus",l),(o=s.cloneNode()).addEventListener("focus",l)),(a=t).length>0?(document.body.firstChild!==s&&document.body.insertBefore(s,document.body.firstChild),document.body.lastChild!==o&&document.body.appendChild(o)):(s.parentElement&&s.parentElement.removeChild(s),o.parentElement&&o.parentElement.removeChild(o))})},5853:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in i)r(e,i[t]);var s=document.body;for(var o in n)r(s,n[o]);i={},n={}},t.log=function(){};var i={},n={};function r(e,t){e.classList.remove(t)}var s=function(e,t,i){i.forEach(function(i){t[i]||(t[i]=0),t[i]+=1,e.add(i)})},o=function(e,t,i){i.forEach(function(i){t[i]&&(t[i]-=1),0===t[i]&&e.remove(i)})};t.add=function(e,t){return s(e.classList,"html"==e.nodeName.toLowerCase()?i:n,t.split(" "))},t.remove=function(e,t){return o(e.classList,"html"==e.nodeName.toLowerCase()?i:n,t.split(" "))}},7194:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){s=[]},t.log=function(){},t.handleBlur=l,t.handleFocus=u,t.markForFocusLater=function(){s.push(document.activeElement)},t.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{0!==s.length&&(t=s.pop()).focus({preventScroll:e});return}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){s.length>0&&s.pop()},t.setupScopedFocus=function(e){o=e,window.addEventListener?(window.addEventListener("blur",l,!1),document.addEventListener("focus",u,!0)):(window.attachEvent("onBlur",l),document.attachEvent("onFocus",u))},t.teardownScopedFocus=function(){o=null,window.addEventListener?(window.removeEventListener("blur",l),document.removeEventListener("focus",u)):(window.detachEvent("onBlur",l),document.detachEvent("onFocus",u))};var n,r=(n=i(3970))&&n.__esModule?n:{default:n},s=[],o=null,a=!1;function l(){a=!0}function u(){a&&(a=!1,o&&setTimeout(function(){o.contains(document.activeElement)||((0,r.default)(o)[0]||o).focus()},0))}},6638:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.log=function(){console.log("portalOpenInstances ----------"),console.log(n.openInstances.length),n.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")},t.resetState=function(){n=new i};var i=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var i=t.openInstances.indexOf(e);-1!==i&&(t.openInstances.splice(i,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach(function(i){return i(e,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},n=new i;t.default=n},6259:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.SafeNodeList=t.SafeHTMLCollection=void 0;var n,r=((n=i(5978))&&n.__esModule?n:{default:n}).default,s=r.canUseDOM?window.HTMLElement:{};t.SafeHTMLCollection=r.canUseDOM?window.HTMLCollection:{},t.SafeNodeList=r.canUseDOM?window.NodeList:{},t.canUseDOM=r.canUseDOM,t.default=s},26:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var i=(0,r.default)(e);if(!i.length){t.preventDefault();return}var n=void 0,s=t.shiftKey,o=i[0],a=i[i.length-1],l=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return t.activeElement.shadowRoot?e(t.activeElement.shadowRoot):t.activeElement}();if(e===l){if(!s)return;n=a}if(a!==l||s||(n=o),o===l&&s&&(n=a),n){t.preventDefault(),n.focus();return}var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null!=u&&"Chrome"!=u[1]&&null==/\biPod\b|\biPad\b/g.exec(navigator.userAgent)){var c=i.indexOf(l);if(c>-1&&(c+=s?-1:1),void 0===(n=i[c])){t.preventDefault(),(n=s?a:o).focus();return}t.preventDefault(),n.focus()}};var n,r=(n=i(3970))&&n.__esModule?n:{default:n};e.exports=t.default},3970:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){return[].slice.call(t.querySelectorAll("*"),0).reduce(function(t,i){return t.concat(i.shadowRoot?e(i.shadowRoot):[i])},[]).filter(n)};var i=/input|select|textarea|button|object|iframe/;function n(e){var t,n=e.getAttribute("tabindex");null===n&&(n=void 0);var r=isNaN(n);return(r||n>=0)&&(t=e.nodeName.toLowerCase(),(i.test(t)&&!e.disabled||"a"===t&&e.href||!r)&&function(e){for(var t=e,i=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(i&&t===i&&(t=i.host.parentNode),function(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var i=window.getComputedStyle(e),n=i.getPropertyValue("display");return t?"contents"!==n&&("visible"!==i.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0):"none"===n}catch(e){return console.warn("Failed to inspect element style"),!1}}(t))return!1;t=t.parentNode}return!0}(e))}e.exports=t.default},7149:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,r=(n=i(2901))&&n.__esModule?n:{default:n};t.default=r.default,e.exports=t.default},6681:function(e){"use strict";e.exports=function(){}},8066:function(e,t,i){"use strict";i.d(t,{_:function(){return u}});var n=i(7035),r=i(1336),s=i(4994);function o(){let e=!1,t=new Set,i={subscribe:e=>(t.add(e),()=>void t.delete(e)),start(i,r){(0,n.k)(e,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let o=[];return t.forEach(e=>{o.push((0,s.d)(e,i,{transitionOverride:r}))}),Promise.all(o)},set:i=>((0,n.k)(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach(e=>{(0,r.gg)(e,i)})),stop(){t.forEach(e=>{!function(e){e.values.forEach(e=>e.stop())}(e)})},mount:()=>(e=!0,()=>{e=!1,i.stop()})};return i}var a=i(3105),l=i(3617);let u=function(){let e=(0,a.h)(o);return(0,l.L)(e.mount,[]),e}},6543:function(e,t,i){"use strict";let n;i.d(t,{v:function(){return eS}});var r,s=i(7035),o=i(1429);let a={current:!1},l=e=>Array.isArray(e)&&"number"==typeof e[0],u=([e,t,i,n])=>`cubic-bezier(${e}, ${t}, ${i}, ${n})`,c={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:u([0,.65,.55,1]),circOut:u([.55,0,1,.45]),backIn:u([.31,.01,.66,-.59]),backOut:u([.33,1.53,.69,.99])};var d=i(65);let h=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e;function p(e,t,i,n){if(e===t&&i===n)return d.Z;let r=t=>(function(e,t,i,n,r){let s,o;let a=0;do(s=h(o=t+(i-t)/2,n,r)-e)>0?i=o:t=o;while(Math.abs(s)>1e-7&&++a<12);return o})(t,0,1,e,i);return e=>0===e||1===e?e:h(r(e),t,n)}let f=p(.42,0,1,1),m=p(0,0,.58,1),v=p(.42,0,.58,1),g=e=>Array.isArray(e)&&"number"!=typeof e[0];var y=i(1469),b=i(7070),w=i(6574);let x=p(.33,1.53,.69,.99),S=(0,w.M)(x),E=(0,b.o)(S),T={linear:d.Z,easeIn:f,easeInOut:v,easeOut:m,circIn:y.Z7,circInOut:y.X7,circOut:y.Bn,backIn:S,backInOut:E,backOut:x,anticipate:e=>(e*=2)<1?.5*S(e):.5*(2-Math.pow(2,-10*(e-1)))},C=e=>{if(Array.isArray(e)){(0,s.k)(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,i,n,r]=e;return p(t,i,n,r)}return"string"==typeof e?((0,s.k)(void 0!==T[e],`Invalid easing type '${e}'`),T[e]):e};var P=i(5982),M=i(1366),k=i(5339);function O(e,t,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}var A=i(2395),L=i(6572),_=i(6845);let D=(e,t,i)=>{let n=e*e;return Math.sqrt(Math.max(0,i*(t*t-n)+n))},R=[A.$,L.m,_.J],I=e=>R.find(t=>t.test(e));function j(e){let t=I(e);(0,s.k)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let i=t.parse(e);return t===_.J&&(i=function({hue:e,saturation:t,lightness:i,alpha:n}){e/=360,i/=100;let r=0,s=0,o=0;if(t/=100){let n=i<.5?i*(1+t):i+t-i*t,a=2*i-n;r=O(a,n,e+1/3),s=O(a,n,e),o=O(a,n,e-1/3)}else r=s=o=i;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*o),alpha:n}}(i)),i}let V=(e,t)=>{let i=j(e),n=j(t),r={...i};return e=>(r.red=D(i.red,n.red,e),r.green=D(i.green,n.green,e),r.blue=D(i.blue,n.blue,e),r.alpha=(0,k.C)(i.alpha,n.alpha,e),L.m.transform(r))};var F=i(6953),z=i(6865);let N=(e,t)=>i=>`${i>0?t:e}`;function B(e,t){return"number"==typeof e?i=>(0,k.C)(e,t,i):P.$.test(e)?V(e,t):e.startsWith("var(")?N(e,t):H(e,t)}let $=(e,t)=>{let i=[...e],n=i.length,r=e.map((e,i)=>B(e,t[i]));return e=>{for(let t=0;t<n;t++)i[t]=r[t](e);return i}},W=(e,t)=>{let i={...e,...t},n={};for(let r in i)void 0!==e[r]&&void 0!==t[r]&&(n[r]=B(e[r],t[r]));return e=>{for(let t in n)i[t]=n[t](e);return i}},H=(e,t)=>{let i=z.P.createTransformer(t),n=(0,z.V)(e),r=(0,z.V)(t);return n.numVars===r.numVars&&n.numColors===r.numColors&&n.numNumbers>=r.numNumbers?(0,F.z)($(n.values,r.values),i):((0,s.K)(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),N(e,t))};var U=i(7475);let G=(e,t)=>i=>(0,k.C)(e,t,i);function q(e,t,{clamp:i=!0,ease:n,mixer:r}={}){let o=e.length;if((0,s.k)(o===t.length,"Both input and output ranges must be the same length"),1===o)return()=>t[0];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());let a=function(e,t,i){let n=[],r=i||function(e){if("number"==typeof e);else if("string"==typeof e)return P.$.test(e)?V:H;else if(Array.isArray(e))return $;else if("object"==typeof e)return W;return G}(e[0]),s=e.length-1;for(let i=0;i<s;i++){let s=r(e[i],e[i+1]);if(t){let e=Array.isArray(t)?t[i]||d.Z:t;s=(0,F.z)(e,s)}n.push(s)}return n}(t,n,r),l=a.length,u=t=>{let i=0;if(l>1)for(;i<e.length-2&&!(t<e[i+1]);i++);let n=(0,U.Y)(e[i],e[i+1],t);return a[i](n)};return i?t=>u((0,M.u)(e[0],e[o-1],t)):u}function X({duration:e=300,keyframes:t,times:i,ease:n="easeInOut"}){let r=g(n)?n.map(C):C(n),s={done:!1,value:t[0]},o=q((i&&i.length===t.length?i:function(e){let t=[0];return function(e,t){let i=e[e.length-1];for(let n=1;n<=t;n++){let r=(0,U.Y)(0,t,n);e.push((0,k.C)(i,1,r))}}(t,e.length-1),t}(t)).map(t=>t*e),t,{ease:Array.isArray(r)?r:t.map(()=>r||v).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(s.value=o(t),s.done=t>=e,s)}}var Y=i(5394);function K(e,t,i){let n=Math.max(t-5,0);return(0,Y.R)(i-e(n),t-n)}function Z(e,t){return e*Math.sqrt(1-t*t)}let J=["duration","bounce"],Q=["stiffness","damping","mass"];function ee(e,t){return t.some(t=>void 0!==e[t])}function et({keyframes:e,restDelta:t,restSpeed:i,...n}){let r;let a=e[0],l=e[e.length-1],u={done:!1,value:a},{stiffness:c,damping:d,mass:h,duration:p,velocity:f,isResolvedFromDuration:m}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!ee(e,Q)&&ee(e,J)){let i=function({duration:e=800,bounce:t=.25,velocity:i=0,mass:n=1}){let r,a;(0,s.K)(e<=(0,o.w)(10),"Spring duration must be 10 seconds or less");let l=1-t;l=(0,M.u)(.05,1,l),e=(0,M.u)(.01,10,(0,o.X)(e)),l<1?(r=t=>{let n=t*l,r=n*e;return .001-(n-i)/Z(t,l)*Math.exp(-r)},a=t=>{let n=t*l*e,s=Math.pow(l,2)*Math.pow(t,2)*e,o=Z(Math.pow(t,2),l);return(n*i+i-s)*Math.exp(-n)*(-r(t)+.001>0?-1:1)/o}):(r=t=>-.001+Math.exp(-t*e)*((t-i)*e+1),a=t=>e*e*(i-t)*Math.exp(-t*e));let u=function(e,t,i){let n=i;for(let i=1;i<12;i++)n-=e(n)/t(n);return n}(r,a,5/e);if(e=(0,o.w)(e),isNaN(u))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(u,2)*n;return{stiffness:t,damping:2*l*Math.sqrt(n*t),duration:e}}}(e);(t={...t,...i,mass:1}).isResolvedFromDuration=!0}return t}({...n,velocity:-(0,o.X)(n.velocity||0)}),v=f||0,g=d/(2*Math.sqrt(c*h)),y=l-a,b=(0,o.X)(Math.sqrt(c/h)),w=5>Math.abs(y);if(i||(i=w?.01:2),t||(t=w?.005:.5),g<1){let e=Z(b,g);r=t=>l-Math.exp(-g*b*t)*((v+g*b*y)/e*Math.sin(e*t)+y*Math.cos(e*t))}else if(1===g)r=e=>l-Math.exp(-b*e)*(y+(v+b*y)*e);else{let e=b*Math.sqrt(g*g-1);r=t=>{let i=Math.exp(-g*b*t),n=Math.min(e*t,300);return l-i*((v+g*b*y)*Math.sinh(n)+e*y*Math.cosh(n))/e}}return{calculatedDuration:m&&p||null,next:e=>{let n=r(e);if(m)u.done=e>=p;else{let s=v;0!==e&&(s=g<1?K(r,e,n):0);let o=Math.abs(s)<=i,a=Math.abs(l-n)<=t;u.done=o&&a}return u.value=u.done?l:n,u}}}function ei({keyframes:e,velocity:t=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){let d,h;let p=e[0],f={done:!1,value:p},m=e=>void 0!==a&&e<a||void 0!==l&&e>l,v=e=>void 0===a?l:void 0===l?a:Math.abs(a-e)<Math.abs(l-e)?a:l,g=i*t,y=p+g,b=void 0===o?y:o(y);b!==y&&(g=b-p);let w=e=>-g*Math.exp(-e/n),x=e=>b+w(e),S=e=>{let t=w(e),i=x(e);f.done=Math.abs(t)<=u,f.value=f.done?b:i},E=e=>{m(f.value)&&(d=e,h=et({keyframes:[f.value,v(f.value)],velocity:K(x,e,f.value),damping:r,stiffness:s,restDelta:u,restSpeed:c}))};return E(0),{calculatedDuration:null,next:e=>{let t=!1;return(h||void 0!==d||(t=!0,S(e),E(e)),void 0!==d&&e>d)?h.next(e-d):(t||S(e),f)}}}var en=i(2972);let er=e=>{let t=({timestamp:t})=>e(t);return{start:()=>en.Wi.update(t,!0),stop:()=>(0,en.Pn)(t),now:()=>en.frameData.isProcessing?en.frameData.timestamp:performance.now()}};function es(e){let t=0,i=e.next(t);for(;!i.done&&t<2e4;)t+=50,i=e.next(t);return t>=2e4?1/0:t}let eo={decay:ei,inertia:ei,tween:X,keyframes:X,spring:et};function ea({autoplay:e=!0,delay:t=0,driver:i=er,keyframes:n,type:r="keyframes",repeat:s=0,repeatDelay:a=0,repeatType:l="loop",onPlay:u,onStop:c,onComplete:d,onUpdate:h,...p}){let f,m,v,g,y,b=1,w=!1,x=()=>{m=new Promise(e=>{f=e})};x();let S=eo[r]||X;S!==X&&"number"!=typeof n[0]&&(g=q([0,100],n,{clamp:!1}),n=[0,100]);let E=S({...p,keyframes:n});"mirror"===l&&(y=S({...p,keyframes:[...n].reverse(),velocity:-(p.velocity||0)}));let T="idle",C=null,P=null,k=null;null===E.calculatedDuration&&s&&(E.calculatedDuration=es(E));let{calculatedDuration:O}=E,A=1/0,L=1/0;null!==O&&(L=(A=O+a)*(s+1)-a);let _=0,D=e=>{if(null===P)return;b>0&&(P=Math.min(P,e)),b<0&&(P=Math.min(e-L/b,P));let i=(_=null!==C?C:Math.round(e-P)*b)-t*(b>=0?1:-1),r=b>=0?i<0:i>L;_=Math.max(i,0),"finished"===T&&null===C&&(_=L);let o=_,u=E;if(s){let e=Math.min(_,L)/A,t=Math.floor(e),i=e%1;!i&&e>=1&&(i=1),1===i&&t--,(t=Math.min(t,s+1))%2&&("reverse"===l?(i=1-i,a&&(i-=a/A)):"mirror"===l&&(u=y)),o=(0,M.u)(0,1,i)*A}let c=r?{done:!1,value:n[0]}:u.next(o);g&&(c.value=g(c.value));let{done:d}=c;r||null===O||(d=b>=0?_>=L:_<=0);let p=null===C&&("finished"===T||"running"===T&&d);return h&&h(c.value),p&&j(),c},R=()=>{v&&v.stop(),v=void 0},I=()=>{T="idle",R(),f(),x(),P=k=null},j=()=>{T="finished",d&&d(),R(),f()},V=()=>{if(w)return;v||(v=i(D));let e=v.now();u&&u(),null!==C?P=e-C:P&&"finished"!==T||(P=e),"finished"===T&&x(),k=P,C=null,T="running",v.start()};e&&V();let F={then:(e,t)=>m.then(e,t),get time(){return(0,o.X)(_)},set time(newTime){_=newTime=(0,o.w)(newTime),null===C&&v&&0!==b?P=v.now()-newTime/b:C=newTime},get duration(){let e=null===E.calculatedDuration?es(E):E.calculatedDuration;return(0,o.X)(e)},get speed(){return b},set speed(newSpeed){if(newSpeed===b||!v)return;b=newSpeed,F.time=(0,o.X)(_)},get state(){return T},play:V,pause:()=>{T="paused",C=_},stop:()=>{w=!0,"idle"!==T&&(T="idle",c&&c(),I())},cancel:()=>{null!==k&&D(k),I()},complete:()=>{T="finished"},sample:e=>(P=0,D(e))};return F}let el=(r=()=>Object.hasOwnProperty.call(Element.prototype,"animate"),()=>(void 0===n&&(n=r()),n)),eu=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),ec=(e,t)=>"spring"===t.type||"backgroundColor"===e||!function e(t){return!!(!t||"string"==typeof t&&c[t]||l(t)||Array.isArray(t)&&t.every(e))}(t.ease);var ed=i(3442);let eh={type:"spring",stiffness:500,damping:25,restSpeed:10},ep=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),ef={type:"keyframes",duration:.8},em={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ev=(e,{keyframes:t})=>t.length>2?ef:ed.G.has(e)?e.startsWith("scale")?ep(t[1]):eh:em,eg=(e,t)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(z.P.test(t)||"0"===t)&&!t.startsWith("url("));var ey=i(1564),eb=i(4561),ew=i(3172);let ex={skipAnimations:!1},eS=(e,t,i,n={})=>r=>{let h=(0,ew.e)(n,e)||{},p=h.delay||n.delay||0,{elapsed:f=0}=n;f-=(0,o.w)(p);let m=function(e,t,i,n){let r,s;let o=eg(t,i);r=Array.isArray(i)?[...i]:[null,i];let a=void 0!==n.from?n.from:e.get(),l=[];for(let e=0;e<r.length;e++){var u;null===r[e]&&(r[e]=0===e?a:r[e-1]),("number"==typeof(u=r[e])?0===u:null!==u?"none"===u||"0"===u||(0,eb.W)(u):void 0)&&l.push(e),"string"==typeof r[e]&&"none"!==r[e]&&"0"!==r[e]&&(s=r[e])}if(o&&l.length&&s)for(let e=0;e<l.length;e++)r[l[e]]=(0,ey.T)(t,s);return r}(t,e,i,h),v=m[0],g=m[m.length-1],y=eg(e,v),b=eg(e,g);(0,s.K)(y===b,`You are trying to animate ${e} from "${v}" to "${g}". ${v} is not an animatable value - to enable this animation set ${v} to a value animatable to ${g} via the \`style\` property.`);let w={keyframes:m,velocity:t.getVelocity(),ease:"easeOut",...h,delay:-f,onUpdate:e=>{t.set(e),h.onUpdate&&h.onUpdate(e)},onComplete:()=>{r(),h.onComplete&&h.onComplete()}};if((0,ew.r)(h)||(w={...w,...ev(e,w)}),w.duration&&(w.duration=(0,o.w)(w.duration)),w.repeatDelay&&(w.repeatDelay=(0,o.w)(w.repeatDelay)),!y||!b||a.current||!1===h.type||ex.skipAnimations)return function({keyframes:e,delay:t,onUpdate:i,onComplete:n}){let r=()=>(i&&i(e[e.length-1]),n&&n(),{time:0,speed:1,duration:0,play:d.Z,pause:d.Z,stop:d.Z,then:e=>(e(),Promise.resolve()),cancel:d.Z,complete:d.Z});return t?ea({keyframes:[0,1],duration:0,delay:t,onComplete:r}):r()}(a.current?{...w,delay:0}:w);if(!n.isHandoff&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){let i=function(e,t,{onUpdate:i,onComplete:n,...r}){let s,a;if(!(el()&&eu.has(t)&&!r.repeatDelay&&"mirror"!==r.repeatType&&0!==r.damping&&"inertia"!==r.type))return!1;let h=!1,p=!1,f=()=>{a=new Promise(e=>{s=e})};f();let{keyframes:m,duration:v=300,ease:g,times:y}=r;if(ec(t,r)){let e=ea({...r,repeat:0,delay:0}),t={done:!1,value:m[0]},i=[],n=0;for(;!t.done&&n<2e4;)t=e.sample(n),i.push(t.value),n+=10;y=void 0,m=i,v=n-10,g="linear"}let b=function(e,t,i,{delay:n=0,duration:r,repeat:s=0,repeatType:o="loop",ease:a,times:d}={}){let h={[t]:i};d&&(h.offset=d);let p=function e(t){if(t)return l(t)?u(t):Array.isArray(t)?t.map(e):c[t]}(a);return Array.isArray(p)&&(h.easing=p),e.animate(h,{delay:n,duration:r,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"})}(e.owner.current,t,m,{...r,duration:v,ease:g,times:y}),w=()=>{p=!1,b.cancel()},x=()=>{p=!0,en.Wi.update(w),s(),f()};return b.onfinish=()=>{p||(e.set(function(e,{repeat:t,repeatType:i="loop"}){let n=t&&"loop"!==i&&t%2==1?0:e.length-1;return e[n]}(m,r)),n&&n(),x())},{then:(e,t)=>a.then(e,t),attachTimeline:e=>(b.timeline=e,b.onfinish=null,d.Z),get time(){return(0,o.X)(b.currentTime||0)},set time(newTime){b.currentTime=(0,o.w)(newTime)},get speed(){return b.playbackRate},set speed(newSpeed){b.playbackRate=newSpeed},get duration(){return(0,o.X)(v)},play:()=>{h||(b.play(),(0,en.Pn)(w))},pause:()=>b.pause(),stop:()=>{if(h=!0,"idle"===b.playState)return;let{currentTime:t}=b;if(t){let i=ea({...r,autoplay:!1});e.setWithVelocity(i.sample(t-10).value,i.sample(t).value,10)}x()},complete:()=>{p||b.finish()},cancel:x}}(t,e,w);if(i)return i}return ea(w)}},4994:function(e,t,i){"use strict";i.d(t,{d:function(){return f}});var n=i(2841),r=i(3442),s=i(7098),o=i(6543),a=i(7397),l=i(1336),u=i(3172),c=i(2972);function d(e,t,{delay:i=0,transitionOverride:n,type:d}={}){let{transition:h=e.getDefaultTransition(),transitionEnd:p,...f}=e.makeTargetAnimatable(t),m=e.getValue("willChange");n&&(h=n);let v=[],g=d&&e.animationState&&e.animationState.getState()[d];for(let t in f){let n=e.getValue(t),l=f[t];if(!n||void 0===l||g&&function({protectedKeys:e,needsAnimating:t},i){let n=e.hasOwnProperty(i)&&!0!==t[i];return t[i]=!1,n}(g,t))continue;let d={delay:i,elapsed:0,...(0,u.e)(h||{},t)};if(window.HandoffAppearAnimations){let i=e.getProps()[s.M];if(i){let e=window.HandoffAppearAnimations(i,t,n,c.Wi);null!==e&&(d.elapsed=e,d.isHandoff=!0)}}let p=!d.isHandoff&&!function(e,t){let i=e.get();if(!Array.isArray(t))return i!==t;for(let e=0;e<t.length;e++)if(t[e]!==i)return!0}(n,l);if("spring"===d.type&&(n.getVelocity()||d.velocity)&&(p=!1),n.animation&&(p=!1),p)continue;n.start((0,o.v)(t,n,l,e.shouldReduceMotion&&r.G.has(t)?{type:!1}:d));let y=n.animation;(0,a.L)(m)&&(m.add(t),y.then(()=>m.remove(t))),v.push(y)}return p&&Promise.all(v).then(()=>{p&&(0,l.CD)(e,p)}),v}function h(e,t,i={}){let r=(0,n.x)(e,t,i.custom),{transition:s=e.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(s=i.transitionOverride);let o=r?()=>Promise.all(d(e,r,i)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:r=0,staggerChildren:o,staggerDirection:a}=s;return function(e,t,i=0,n=0,r=1,s){let o=[],a=(e.variantChildren.size-1)*n,l=1===r?(e=0)=>e*n:(e=0)=>a-e*n;return Array.from(e.variantChildren).sort(p).forEach((e,n)=>{e.notify("AnimationStart",t),o.push(h(e,t,{...s,delay:i+l(n)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(o)}(e,t,r+n,o,a,i)}:()=>Promise.resolve(),{when:l}=s;if(!l)return Promise.all([o(),a(i.delay)]);{let[e,t]="beforeChildren"===l?[o,a]:[a,o];return e().then(()=>t())}}function p(e,t){return e.sortNodePosition(t)}function f(e,t,i={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t))r=Promise.all(t.map(t=>h(e,t,i)));else if("string"==typeof t)r=h(e,t,i);else{let s="function"==typeof t?(0,n.x)(e,t,i.custom):t;r=Promise.all(d(e,s,i))}return r.then(()=>e.notify("AnimationComplete",t))}},7098:function(e,t,i){"use strict";i.d(t,{M:function(){return n}});let n="data-"+(0,i(8754).D)("framerAppearId")},5721:function(e,t,i){"use strict";i.d(t,{C:function(){return n}});let n=e=>Array.isArray(e)},3172:function(e,t,i){"use strict";function n({when:e,delay:t,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}function r(e,t){return e[t]||e.default||e}i.d(t,{e:function(){return r},r:function(){return n}})},1469:function(e,t,i){"use strict";i.d(t,{Bn:function(){return o},X7:function(){return a},Z7:function(){return s}});var n=i(7070),r=i(6574);let s=e=>1-Math.sin(Math.acos(e)),o=(0,r.M)(s),a=(0,n.o)(s)},7070:function(e,t,i){"use strict";i.d(t,{o:function(){return n}});let n=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2},6574:function(e,t,i){"use strict";i.d(t,{M:function(){return n}});let n=e=>t=>1-e(1-t)},2972:function(e,t,i){"use strict";i.d(t,{Pn:function(){return a},Wi:function(){return o},frameData:function(){return l},S6:function(){return u}});var n=i(65);class r{constructor(){this.order=[],this.scheduled=new Set}add(e){if(!this.scheduled.has(e))return this.scheduled.add(e),this.order.push(e),!0}remove(e){let t=this.order.indexOf(e);-1!==t&&(this.order.splice(t,1),this.scheduled.delete(e))}clear(){this.order.length=0,this.scheduled.clear()}}let s=["prepare","read","update","preRender","render","postRender"],{schedule:o,cancel:a,state:l,steps:u}=function(e,t){let i=!1,n=!0,o={delta:0,timestamp:0,isProcessing:!1},a=s.reduce((e,t)=>(e[t]=function(e){let t=new r,i=new r,n=0,s=!1,o=!1,a=new WeakSet,l={schedule:(e,r=!1,o=!1)=>{let l=o&&s,u=l?t:i;return r&&a.add(e),u.add(e)&&l&&s&&(n=t.order.length),e},cancel:e=>{i.remove(e),a.delete(e)},process:r=>{if(s){o=!0;return}if(s=!0,[t,i]=[i,t],i.clear(),n=t.order.length)for(let i=0;i<n;i++){let n=t.order[i];n(r),a.has(n)&&(l.schedule(n),e())}s=!1,o&&(o=!1,l.process(r))}};return l}(()=>i=!0),e),{}),l=e=>a[e].process(o),u=()=>{let r=performance.now();i=!1,o.delta=n?1e3/60:Math.max(Math.min(r-o.timestamp,40),1),o.timestamp=r,o.isProcessing=!0,s.forEach(l),o.isProcessing=!1,i&&t&&(n=!1,e(u))},c=()=>{i=!0,n=!0,o.isProcessing||e(u)};return{schedule:s.reduce((e,t)=>{let n=a[t];return e[t]=(e,t=!1,r=!1)=>(i||c(),n.schedule(e,t,r)),e},{}),cancel:e=>s.forEach(t=>a[t].cancel(e)),state:o,steps:a}}("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:n.Z,!0)},8165:function(e,t,i){"use strict";i.d(t,{E:function(){return nt}});var n,r=i(2784);let s=(0,r.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),o=(0,r.createContext)({}),a=(0,r.createContext)(null);var l=i(3617);let u=(0,r.createContext)({strict:!1});var c=i(7098);function d(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function h(e){return"string"==typeof e||Array.isArray(e)}function p(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}let f=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],m=["initial",...f];function v(e){return p(e.animate)||m.some(t=>h(e[t]))}function g(e){return!!(v(e)||e.variants)}function y(e){return Array.isArray(e)?e.join(" "):e}let b={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},w={};for(let e in b)w[e]={isEnabled:t=>b[e].some(e=>!!t[e])};var x=i(3791);let S=(0,r.createContext)({}),E=(0,r.createContext)({}),T=Symbol.for("motionComponentSymbol"),C=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function P(e){if("string"!=typeof e||e.includes("-"));else if(C.indexOf(e)>-1||/[A-Z]/.test(e))return!0;return!1}let M={};var k=i(3442);function O(e,{layout:t,layoutId:i}){return k.G.has(e)||e.startsWith("origin")||(t||void 0!==i)&&(!!M[e]||"opacity"===e)}var A=i(5815);let L={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},_=k._.length;var D=i(1331);let R=(e,t)=>t&&"number"==typeof e?t.transform(e):e;var I=i(8073);function j(e,t,i,n){let{style:r,vars:s,transform:o,transformOrigin:a}=e,l=!1,u=!1,c=!0;for(let e in t){let i=t[e];if((0,D.f9)(e)){s[e]=i;continue}let n=I.j[e],d=R(i,n);if(k.G.has(e)){if(l=!0,o[e]=d,!c)continue;i!==(n.default||0)&&(c=!1)}else e.startsWith("origin")?(u=!0,a[e]=d):r[e]=d}if(!t.transform&&(l||n?r.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:i=!0},n,r){let s="";for(let t=0;t<_;t++){let i=k._[t];if(void 0!==e[i]){let t=L[i]||i;s+=`${t}(${e[i]}) `}}return t&&!e.z&&(s+="translateZ(0)"),s=s.trim(),r?s=r(e,n?"":s):i&&n&&(s="none"),s}(e.transform,i,c,n):r.transform&&(r.transform="none")),u){let{originX:e="50%",originY:t="50%",originZ:i=0}=a;r.transformOrigin=`${e} ${t} ${i}`}}let V=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function F(e,t,i){for(let n in t)(0,A.i)(t[n])||O(n,i)||(e[n]=t[n])}let z=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function N(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||z.has(e)}let B=e=>!N(e);try{(n=require("@emotion/is-prop-valid").default)&&(B=e=>e.startsWith("on")?!N(e):n(e))}catch(e){}var $=i(8772);function W(e,t,i){return"string"==typeof e?e:$.px.transform(t+i*e)}let H={offset:"stroke-dashoffset",array:"stroke-dasharray"},U={offset:"strokeDashoffset",array:"strokeDasharray"};function G(e,{attrX:t,attrY:i,attrScale:n,originX:r,originY:s,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u},c,d,h){if(j(e,u,c,h),d){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:p,style:f,dimensions:m}=e;p.transform&&(m&&(f.transform=p.transform),delete p.transform),m&&(void 0!==r||void 0!==s||f.transform)&&(f.transformOrigin=function(e,t,i){let n=W(t,e.x,e.width),r=W(i,e.y,e.height);return`${n} ${r}`}(m,void 0!==r?r:.5,void 0!==s?s:.5)),void 0!==t&&(p.x=t),void 0!==i&&(p.y=i),void 0!==n&&(p.scale=n),void 0!==o&&function(e,t,i=1,n=0,r=!0){e.pathLength=1;let s=r?H:U;e[s.offset]=$.px.transform(-n);let o=$.px.transform(t),a=$.px.transform(i);e[s.array]=`${o} ${a}`}(p,o,a,l,!1)}let q=()=>({...V(),attrs:{}}),X=e=>"string"==typeof e&&"svg"===e.toLowerCase();var Y=i(8754);function K(e,{style:t,vars:i},n,r){for(let s in Object.assign(e.style,t,r&&r.getProjectionStyles(n)),i)e.style.setProperty(s,i[s])}let Z=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function J(e,t,i,n){for(let i in K(e,t,void 0,n),t.attrs)e.setAttribute(Z.has(i)?i:(0,Y.D)(i),t.attrs[i])}function Q(e,t){let{style:i}=e,n={};for(let r in i)((0,A.i)(i[r])||t.style&&(0,A.i)(t.style[r])||O(r,e))&&(n[r]=i[r]);return n}function ee(e,t){let i=Q(e,t);for(let n in e)((0,A.i)(e[n])||(0,A.i)(t[n]))&&(i[-1!==k._.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return i}var et=i(9764),ei=i(3105),en=i(3809);function er(e){let t=(0,A.i)(e)?e.get():e;return(0,en.p)(t)?t.toValue():t}let es=e=>(t,i)=>{let n=(0,r.useContext)(o),s=(0,r.useContext)(a),l=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:i},n,r,s){let o={latestValues:function(e,t,i,n){let r={},s=n(e,{});for(let e in s)r[e]=er(s[e]);let{initial:o,animate:a}=e,l=v(e),u=g(e);t&&u&&!l&&!1!==e.inherit&&(void 0===o&&(o=t.initial),void 0===a&&(a=t.animate));let c=!!i&&!1===i.initial,d=(c=c||!1===o)?a:o;return d&&"boolean"!=typeof d&&!p(d)&&(Array.isArray(d)?d:[d]).forEach(t=>{let i=(0,et.o)(e,t);if(!i)return;let{transitionEnd:n,transition:s,...o}=i;for(let e in o){let t=o[e];if(Array.isArray(t)){let e=c?t.length-1:0;t=t[e]}null!==t&&(r[e]=t)}for(let e in n)r[e]=n[e]}),r}(n,r,s,e),renderState:t()};return i&&(o.mount=e=>i(n,e,o)),o})(e,t,n,s);return i?l():(0,ei.h)(l)};var eo=i(2972);let ea={useVisualState:es({scrapeMotionValuesFromProps:ee,createRenderState:q,onMount:(e,t,{renderState:i,latestValues:n})=>{eo.Wi.read(()=>{try{i.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){i.dimensions={x:0,y:0,width:0,height:0}}}),eo.Wi.render(()=>{G(i,n,{enableHardwareAcceleration:!1},X(t.tagName),e.transformTemplate),J(t,i)})}})},el={useVisualState:es({scrapeMotionValuesFromProps:Q,createRenderState:V})};function eu(e,t,i,n={passive:!0}){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i)}let ec=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function ed(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}let eh=e=>t=>ec(t)&&e(t,ed(t));function ep(e,t,i,n){return eu(e,t,eh(i),n)}var ef=i(6953);function em(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}let ev=em("dragHorizontal"),eg=em("dragVertical");function ey(e){let t=!1;if("y"===e)t=eg();else if("x"===e)t=ev();else{let e=ev(),i=eg();e&&i?t=()=>{e(),i()}:(e&&e(),i&&i())}return t}function eb(){let e=ey(!0);return!e||(e(),!1)}class ew{constructor(e){this.isMounted=!1,this.node=e}update(){}}function ex(e,t){let i="onHover"+(t?"Start":"End");return ep(e.current,"pointer"+(t?"enter":"leave"),(n,r)=>{if("touch"===n.pointerType||eb())return;let s=e.getProps();e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",t),s[i]&&eo.Wi.update(()=>s[i](n,r))},{passive:!e.getProps()[i]})}class eS extends ew{mount(){this.unmount=(0,ef.z)(ex(this.node,!0),ex(this.node,!1))}unmount(){}}class eE extends ew{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,ef.z)(eu(this.node.current,"focus",()=>this.onFocus()),eu(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let eT=(e,t)=>!!t&&(e===t||eT(e,t.parentElement));var eC=i(65);function eP(e,t){if(!t)return;let i=new PointerEvent("pointer"+e);t(i,ed(i))}class eM extends ew{constructor(){super(...arguments),this.removeStartListeners=eC.Z,this.removeEndListeners=eC.Z,this.removeAccessibleListeners=eC.Z,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();let i=this.node.getProps(),n=ep(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;let{onTap:i,onTapCancel:n,globalTapTarget:r}=this.node.getProps();eo.Wi.update(()=>{r||eT(this.node.current,e.target)?i&&i(e,t):n&&n(e,t)})},{passive:!(i.onTap||i.onPointerUp)}),r=ep(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=(0,ef.z)(n,r),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=eu(this.node.current,"keydown",e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=eu(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&eP("up",(e,t)=>{let{onTap:i}=this.node.getProps();i&&eo.Wi.update(()=>i(e,t))})}),eP("down",(e,t)=>{this.startPress(e,t)}))}),t=eu(this.node.current,"blur",()=>{this.isPressing&&eP("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=(0,ef.z)(e,t)}}startPress(e,t){this.isPressing=!0;let{onTapStart:i,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),i&&eo.Wi.update(()=>i(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!eb()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:i}=this.node.getProps();i&&eo.Wi.update(()=>i(e,t))}mount(){let e=this.node.getProps(),t=ep(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),i=eu(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,ef.z)(t,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let ek=new WeakMap,eO=new WeakMap,eA=e=>{let t=ek.get(e.target);t&&t(e)},eL=e=>{e.forEach(eA)},e_={some:0,all:1};class eD extends ew{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:i,amount:n="some",once:r}=e,s={root:t?t.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:e_[n]};return function(e,t,i){let n=function({root:e,...t}){let i=e||document;eO.has(i)||eO.set(i,{});let n=eO.get(i),r=JSON.stringify(t);return n[r]||(n[r]=new IntersectionObserver(eL,{root:e,...t})),n[r]}(t);return ek.set(e,i),n.observe(e),()=>{ek.delete(e),n.unobserve(e)}}(this.node.current,s,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,r&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),s=t?i:n;s&&s(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return i=>e[i]!==t[i]}(e,t))&&this.startObserver()}unmount(){}}var eR=i(5721);function eI(e,t){if(!Array.isArray(t))return!1;let i=t.length;if(i!==e.length)return!1;for(let n=0;n<i;n++)if(t[n]!==e[n])return!1;return!0}var ej=i(2841),eV=i(4994);let eF=[...f].reverse(),ez=f.length;function eN(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}class eB extends ew{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:i})=>(0,eV.d)(e,t,i))),i={animate:eN(!0),whileInView:eN(),whileHover:eN(),whileTap:eN(),whileDrag:eN(),whileFocus:eN(),exit:eN()},n=!0,r=(t,i)=>{let n=(0,ej.x)(e,i);if(n){let{transition:e,transitionEnd:i,...r}=n;t={...t,...r,...i}}return t};function s(s,o){let a=e.getProps(),l=e.getVariantContext(!0)||{},u=[],c=new Set,d={},f=1/0;for(let t=0;t<ez;t++){var m;let v=eF[t],g=i[v],y=void 0!==a[v]?a[v]:l[v],b=h(y),w=v===o?g.isActive:null;!1===w&&(f=t);let x=y===l[v]&&y!==a[v]&&b;if(x&&n&&e.manuallyAnimateOnMount&&(x=!1),g.protectedKeys={...d},!g.isActive&&null===w||!y&&!g.prevProp||p(y)||"boolean"==typeof y)continue;let S=(m=g.prevProp,("string"==typeof y?y!==m:!!Array.isArray(y)&&!eI(y,m))||v===o&&g.isActive&&!x&&b||t>f&&b),E=!1,T=Array.isArray(y)?y:[y],C=T.reduce(r,{});!1===w&&(C={});let{prevResolvedValues:P={}}=g,M={...P,...C},k=e=>{S=!0,c.has(e)&&(E=!0,c.delete(e)),g.needsAnimating[e]=!0};for(let e in M){let t=C[e],i=P[e];if(!d.hasOwnProperty(e))((0,eR.C)(t)&&(0,eR.C)(i)?eI(t,i):t===i)?void 0!==t&&c.has(e)?k(e):g.protectedKeys[e]=!0:void 0!==t?k(e):c.add(e)}g.prevProp=y,g.prevResolvedValues=C,g.isActive&&(d={...d,...C}),n&&e.blockInitialAnimation&&(S=!1),S&&(!x||E)&&u.push(...T.map(e=>({animation:e,options:{type:v,...s}})))}if(c.size){let t={};c.forEach(i=>{let n=e.getBaseTarget(i);void 0!==n&&(t[i]=n)}),u.push({animation:t})}let v=!!u.length;return n&&(!1===a.initial||a.initial===a.animate)&&!e.manuallyAnimateOnMount&&(v=!1),n=!1,v?t(u):Promise.resolve()}return{animateChanges:s,setActive:function(t,n,r){var o;if(i[t].isActive===n)return Promise.resolve();null===(o=e.variantChildren)||void 0===o||o.forEach(e=>{var i;return null===(i=e.animationState)||void 0===i?void 0:i.setActive(t,n)}),i[t].isActive=n;let a=s(r,t);for(let e in i)i[e].protectedKeys={};return a},setAnimateFunction:function(i){t=i(e)},getState:()=>i}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();this.unmount(),p(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}let e$=0;class eW extends ew{constructor(){super(...arguments),this.id=e$++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t,custom:i}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let r=this.node.animationState.setActive("exit",!e,{custom:null!=i?i:this.node.getProps().custom});t&&!e&&r.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}var eH=i(7035),eU=i(1429);let eG=(e,t)=>Math.abs(e-t);class eq{constructor(e,t,{transformPagePoint:i,contextWindow:n,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let i=eK(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,r=(e=i.offset,t={x:0,y:0},Math.sqrt(eG(e.x,t.x)**2+eG(e.y,t.y)**2)>=3);if(!n&&!r)return;let{point:s}=i,{timestamp:o}=eo.frameData;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=eX(t,this.transformPagePoint),eo.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=eK("pointercancel"===e.type?this.lastMoveEventInfo:eX(t,this.transformPagePoint),this.history);this.startEvent&&i&&i(e,s),n&&n(e,s)},!ec(e))return;this.dragSnapToOrigin=r,this.handlers=t,this.transformPagePoint=i,this.contextWindow=n||window;let s=eX(ed(e),this.transformPagePoint),{point:o}=s,{timestamp:a}=eo.frameData;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=t;l&&l(e,eK(s,this.history)),this.removeListeners=(0,ef.z)(ep(this.contextWindow,"pointermove",this.handlePointerMove),ep(this.contextWindow,"pointerup",this.handlePointerUp),ep(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),(0,eo.Pn)(this.updatePoint)}}function eX(e,t){return t?{point:t(e.point)}:e}function eY(e,t){return{x:e.x-t.x,y:e.y-t.y}}function eK({point:e},t){return{point:e,delta:eY(e,eZ(t)),offset:eY(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let i=e.length-1,n=null,r=eZ(e);for(;i>=0&&(n=e[i],!(r.timestamp-n.timestamp>(0,eU.w)(.1)));)i--;if(!n)return{x:0,y:0};let s=(0,eU.X)(r.timestamp-n.timestamp);if(0===s)return{x:0,y:0};let o={x:(r.x-n.x)/s,y:(r.y-n.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(t,0)}}function eZ(e){return e[e.length-1]}var eJ=i(7475),eQ=i(5339);function e0(e){return e.max-e.min}function e1(e,t=0,i=.01){return Math.abs(e-t)<=i}function e2(e,t,i,n=.5){e.origin=n,e.originPoint=(0,eQ.C)(t.min,t.max,e.origin),e.scale=e0(i)/e0(t),(e1(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=(0,eQ.C)(i.min,i.max,e.origin)-e.originPoint,(e1(e.translate)||isNaN(e.translate))&&(e.translate=0)}function e3(e,t,i,n){e2(e.x,t.x,i.x,n?n.originX:void 0),e2(e.y,t.y,i.y,n?n.originY:void 0)}function e5(e,t,i){e.min=i.min+t.min,e.max=e.min+e0(t)}function e6(e,t,i){e.min=t.min-i.min,e.max=e.min+e0(t)}function e7(e,t,i){e6(e.x,t.x,i.x),e6(e.y,t.y,i.y)}var e4=i(1366);function e8(e,t,i){return{min:void 0!==t?e.min+t:void 0,max:void 0!==i?e.max+i-(e.max-e.min):void 0}}function e9(e,t){let i=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([i,n]=[n,i]),{min:i,max:n}}function te(e,t,i){return{min:tt(e,t),max:tt(e,i)}}function tt(e,t){return"number"==typeof e?e:e[t]||0}let ti=()=>({translate:0,scale:1,origin:0,originPoint:0}),tn=()=>({x:ti(),y:ti()}),tr=()=>({min:0,max:0}),ts=()=>({x:tr(),y:tr()});function to(e){return[e("x"),e("y")]}function ta({top:e,left:t,right:i,bottom:n}){return{x:{min:t,max:i},y:{min:e,max:n}}}function tl(e){return void 0===e||1===e}function tu({scale:e,scaleX:t,scaleY:i}){return!tl(e)||!tl(t)||!tl(i)}function tc(e){return tu(e)||td(e)||e.z||e.rotate||e.rotateX||e.rotateY}function td(e){var t,i;return(t=e.x)&&"0%"!==t||(i=e.y)&&"0%"!==i}function th(e,t,i,n,r){return void 0!==r&&(e=n+r*(e-n)),n+i*(e-n)+t}function tp(e,t=0,i=1,n,r){e.min=th(e.min,t,i,n,r),e.max=th(e.max,t,i,n,r)}function tf(e,{x:t,y:i}){tp(e.x,t.translate,t.scale,t.originPoint),tp(e.y,i.translate,i.scale,i.originPoint)}function tm(e){return Number.isInteger(e)?e:e>1.0000000000001||e<.999999999999?e:1}function tv(e,t){e.min=e.min+t,e.max=e.max+t}function tg(e,t,[i,n,r]){let s=void 0!==t[r]?t[r]:.5,o=(0,eQ.C)(e.min,e.max,s);tp(e,t[i],t[n],o,t.scale)}let ty=["x","scaleX","originX"],tb=["y","scaleY","originY"];function tw(e,t){tg(e.x,t,ty),tg(e.y,t,tb)}function tx(e,t){return ta(function(e,t){if(!t)return e;let i=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(e.getBoundingClientRect(),t))}var tS=i(6543);let tE=({current:e})=>e?e.ownerDocument.defaultView:null,tT=new WeakMap;class tC{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ts(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;let{dragSnapToOrigin:n}=this.getProps();this.panSession=new eq(e,{onSessionStart:e=>{let{dragSnapToOrigin:i}=this.getProps();i?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(ed(e,"page").point)},onStart:(e,t)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=ey(i),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),to(e=>{let t=this.getAxisMotionValue(e).get()||0;if($.aQ.test(t)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[e];if(n){let e=e0(n);t=parseFloat(t)/100*e}}}this.originPoint[e]=t}),r&&eo.Wi.update(()=>r(e,t),!1,!0);let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(e,t)=>{let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:s}=this.getProps();if(!i&&!this.openGlobalLock)return;let{offset:o}=t;if(n&&null===this.currentDirection){this.currentDirection=function(e,t=10){let i=null;return Math.abs(e.y)>t?i="y":Math.abs(e.x)>t&&(i="x"),i}(o),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",t.point,o),this.updateAxis("y",t.point,o),this.visualElement.render(),s&&s(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>to(e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:n,contextWindow:tE(this.visualElement)})}stop(e,t){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:n}=t;this.startAnimation(n);let{onDragEnd:r}=this.getProps();r&&eo.Wi.update(()=>r(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,i){let{drag:n}=this.getProps();if(!i||!tP(e,n,this.currentDirection))return;let r=this.getAxisMotionValue(e),s=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(s=function(e,{min:t,max:i},n){return void 0!==t&&e<t?e=n?(0,eQ.C)(t,e,n.min):Math.max(e,t):void 0!==i&&e>i&&(e=n?(0,eQ.C)(i,e,n.max):Math.min(e,i)),e}(s,this.constraints[e],this.elastic[e])),r.set(s)}resolveConstraints(){var e;let{dragConstraints:t,dragElastic:i}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,r=this.constraints;t&&d(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&n?this.constraints=function(e,{top:t,left:i,bottom:n,right:r}){return{x:e8(e.x,i,r),y:e8(e.y,t,n)}}(n.layoutBox,t):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:te(e,"left","right"),y:te(e,"top","bottom")}}(i),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&to(e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let i={};return void 0!==t.min&&(i.min=t.min-e.min),void 0!==t.max&&(i.max=t.max-e.min),i}(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!d(t))return!1;let n=t.current;(0,eH.k)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let s=function(e,t,i){let n=tx(e,i),{scroll:r}=t;return r&&(tv(n.x,r.offset.x),tv(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),o={x:e9((e=r.layout.layoutBox).x,s.x),y:e9(e.y,s.y)};if(i){let e=i(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=ta(e))}return o}startAnimation(e){let{drag:t,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(to(o=>{if(!tP(o,t,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?e[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(e,t){let i=this.getAxisMotionValue(e);return i.start((0,tS.v)(e,i,0,t))}stopAnimation(){to(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){to(e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()})}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){let t="_drag"+e.toUpperCase(),i=this.visualElement.getProps();return i[t]||this.visualElement.getValue(e,(i.initial?i.initial[e]:void 0)||0)}snapToCursor(e){to(t=>{let{drag:i}=this.getProps();if(!tP(t,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(t);if(n&&n.layout){let{min:i,max:s}=n.layout.layoutBox[t];r.set(e[t]-(0,eQ.C)(i,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:i}=this.visualElement;if(!d(t)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};to(e=>{let t=this.getAxisMotionValue(e);if(t){let i=t.get();n[e]=function(e,t){let i=.5,n=e0(e),r=e0(t);return r>n?i=(0,eJ.Y)(t.min,t.max-n,e.min):n>r&&(i=(0,eJ.Y)(e.min,e.max-r,t.min)),(0,e4.u)(0,1,i)}({min:i,max:i},this.constraints[e])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),to(t=>{if(!tP(t,e,null))return;let i=this.getAxisMotionValue(t),{min:r,max:s}=this.constraints[t];i.set((0,eQ.C)(r,s,n[t]))})}addListeners(){if(!this.visualElement.current)return;tT.set(this.visualElement,this);let e=ep(this.visualElement.current,"pointerdown",e=>{let{drag:t,dragListener:i=!0}=this.getProps();t&&i&&this.start(e)}),t=()=>{let{dragConstraints:e}=this.getProps();d(e)&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,n=i.addEventListener("measure",t);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),t();let r=eu(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(to(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{r(),e(),n(),s&&s()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:s,dragMomentum:o}}}function tP(e,t,i){return(!0===t||t===e)&&(null===i||i===e)}class tM extends ew{constructor(e){super(e),this.removeGroupControls=eC.Z,this.removeListeners=eC.Z,this.controls=new tC(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||eC.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let tk=e=>(t,i)=>{e&&eo.Wi.update(()=>e(t,i))};class tO extends ew{constructor(){super(...arguments),this.removePointerDownListener=eC.Z}onPointerDown(e){this.session=new eq(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:tE(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:tk(e),onStart:tk(t),onMove:i,onEnd:(e,t)=>{delete this.session,n&&eo.Wi.update(()=>n(e,t))}}}mount(){this.removePointerDownListener=ep(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let tA={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function tL(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let t_={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!$.px.test(e))return e;e=parseFloat(e)}let i=tL(e,t.target.x),n=tL(e,t.target.y);return`${i}% ${n}%`}};var tD=i(6865);class tR extends r.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=e;Object.assign(M,tj),r&&(t.group&&t.group.add(r),i&&i.register&&n&&i.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),tA.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:i,drag:n,isPresent:r}=this.props,s=i.projection;return s&&(s.isPresent=r,n||e.layoutDependency!==t||void 0===t?s.willUpdate():this.safeToRemove(),e.isPresent===r||(r?s.promote():s.relegate()||eo.Wi.postRender(()=>{let e=s.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i}=this.props,{projection:n}=e;n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function tI(e){let[t,i]=function(){let e=(0,r.useContext)(a);if(null===e)return[!0,null];let{isPresent:t,onExitComplete:i,register:n}=e,s=(0,r.useId)();return(0,r.useEffect)(()=>n(s),[]),!t&&i?[!1,()=>i&&i(s)]:[!0]}(),n=(0,r.useContext)(S);return r.createElement(tR,{...e,layoutGroup:n,switchLayoutGroup:(0,r.useContext)(E),isPresent:t,safeToRemove:i})}let tj={borderRadius:{...t_,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:t_,borderTopRightRadius:t_,borderBottomLeftRadius:t_,borderBottomRightRadius:t_,boxShadow:{correct:(e,{treeScale:t,projectionDelta:i})=>{let n=tD.P.parse(e);if(n.length>5)return e;let r=tD.P.createTransformer(e),s="number"!=typeof n[0]?1:0,o=i.x.scale*t.x,a=i.y.scale*t.y;n[0+s]/=o,n[1+s]/=a;let l=(0,eQ.C)(o,a,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),r(n)}}};var tV=i(8069),tF=i(1469);let tz=["TopLeft","TopRight","BottomLeft","BottomRight"],tN=tz.length,tB=e=>"string"==typeof e?parseFloat(e):e,t$=e=>"number"==typeof e||$.px.test(e);function tW(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let tH=tG(0,.5,tF.Bn),tU=tG(.5,.95,eC.Z);function tG(e,t,i){return n=>n<e?0:n>t?1:i((0,eJ.Y)(e,t,n))}function tq(e,t){e.min=t.min,e.max=t.max}function tX(e,t){tq(e.x,t.x),tq(e.y,t.y)}function tY(e,t,i,n,r){return e-=t,e=n+1/i*(e-n),void 0!==r&&(e=n+1/r*(e-n)),e}function tK(e,t,[i,n,r],s,o){!function(e,t=0,i=1,n=.5,r,s=e,o=e){if($.aQ.test(t)&&(t=parseFloat(t),t=(0,eQ.C)(o.min,o.max,t/100)-o.min),"number"!=typeof t)return;let a=(0,eQ.C)(s.min,s.max,n);e===s&&(a-=t),e.min=tY(e.min,t,i,a,r),e.max=tY(e.max,t,i,a,r)}(e,t[i],t[n],t[r],t.scale,s,o)}let tZ=["x","scaleX","originX"],tJ=["y","scaleY","originY"];function tQ(e,t,i,n){tK(e.x,t,tZ,i?i.x:void 0,n?n.x:void 0),tK(e.y,t,tJ,i?i.y:void 0,n?n.y:void 0)}var t0=i(3172);function t1(e){return 0===e.translate&&1===e.scale}function t2(e){return t1(e.x)&&t1(e.y)}function t3(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function t5(e){return e0(e.x)/e0(e.y)}var t6=i(4866);class t7{constructor(){this.members=[]}add(e){(0,t6.y4)(this.members,e),e.scheduleRender()}remove(e){if((0,t6.cl)(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t;let i=this.members.findIndex(t=>e===t);if(0===i)return!1;for(let e=i;e>=0;e--){let i=this.members[e];if(!1!==i.isPresent){t=i;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.instance&&i.scheduleRender(),e.scheduleRender(),e.resumeFrom=i,t&&(e.resumeFrom.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:n}=e.options;!1===n&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:i}=e;t.onExitComplete&&t.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function t4(e,t,i){let n="",r=e.x.translate/t.x,s=e.y.translate/t.y;if((r||s)&&(n=`translate3d(${r}px, ${s}px, 0) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),i){let{rotate:e,rotateX:t,rotateY:r}=i;e&&(n+=`rotate(${e}deg) `),t&&(n+=`rotateX(${t}deg) `),r&&(n+=`rotateY(${r}deg) `)}let o=e.x.scale*t.x,a=e.y.scale*t.y;return(1!==o||1!==a)&&(n+=`scale(${o}, ${a})`),n||"none"}let t8=(e,t)=>e.depth-t.depth;class t9{constructor(){this.children=[],this.isDirty=!1}add(e){(0,t6.y4)(this.children,e),this.isDirty=!0}remove(e){(0,t6.cl)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(t8),this.isDirty=!1,this.children.forEach(e)}}var ie=i(226);let it=["","X","Y","Z"],ii={visibility:"hidden"},ir=0,is={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function io({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(e={},i=null==t?void 0:t()){this.id=ir++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,is.totalNodes=is.resolvedTargetDeltas=is.recalculatedProjection=0,this.nodes.forEach(iu),this.nodes.forEach(ig),this.nodes.forEach(iy),this.nodes.forEach(ic),window.MotionDebug&&window.MotionDebug.record(is)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new t9)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new tV.L),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let i=this.eventHandlers.get(e);i&&i.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,i=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;let{layoutId:n,layout:r,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),i&&(r||n)&&(this.isLayoutDirty=!0),e){let i;let n=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,i&&i(),i=function(e,t){let i=performance.now(),n=({timestamp:r})=>{let s=r-i;s>=t&&((0,eo.Pn)(n),e(s-t))};return eo.Wi.read(n,!0),()=>(0,eo.Pn)(n)}(n,250),tA.hasAnimatedSinceResize&&(tA.hasAnimatedSinceResize=!1,this.nodes.forEach(iv))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&s&&(n||r)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||s.getDefaultTransition()||iT,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!t3(this.targetLayout,n)||i,u=!t&&i;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);let t={...(0,t0.e)(r,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||iv(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,eo.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(ib),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:i}=this.options;if(void 0===t&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(ih);return}this.isUpdating||this.nodes.forEach(ip),this.isUpdating=!1,this.nodes.forEach(im),this.nodes.forEach(ia),this.nodes.forEach(il),this.clearAllSnapshots();let e=performance.now();eo.frameData.delta=(0,e4.u)(0,1e3/60,e-eo.frameData.timestamp),eo.frameData.timestamp=e,eo.frameData.isProcessing=!0,eo.S6.update.process(eo.frameData),eo.S6.preRender.process(eo.frameData),eo.S6.render.process(eo.frameData),eo.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(id),this.sharedNodes.forEach(iw)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,eo.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){eo.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=ts(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:n(this.instance),offset:i(this.instance)})}resetTransform(){if(!r)return;let e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!t2(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;e&&(t||tc(this.latestValues)||s)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let i=this.measurePageBox(),n=this.removeElementScroll(i);return e&&(n=this.removeTransform(n)),iM((t=n).x),iM(t.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return ts();let t=e.measureViewportBox(),{scroll:i}=this.root;return i&&(tv(t.x,i.offset.x),tv(t.y,i.offset.y)),t}removeElementScroll(e){let t=ts();tX(t,e);for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:r,options:s}=n;if(n!==this.root&&r&&s.layoutScroll){if(r.isRoot){tX(t,e);let{scroll:i}=this.root;i&&(tv(t.x,-i.offset.x),tv(t.y,-i.offset.y))}tv(t.x,r.offset.x),tv(t.y,r.offset.y)}}return t}applyTransform(e,t=!1){let i=ts();tX(i,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&tw(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),tc(n.latestValues)&&tw(i,n.latestValues)}return tc(this.latestValues)&&tw(i,this.latestValues),i}removeTransform(e){let t=ts();tX(t,e);for(let e=0;e<this.path.length;e++){let i=this.path[e];if(!i.instance||!tc(i.latestValues))continue;tu(i.latestValues)&&i.updateSnapshot();let n=ts();tX(n,i.measurePageBox()),tQ(t,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return tc(this.latestValues)&&tQ(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==eo.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t,i,n,r;let s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isSharedProjectionDirty);let o=!!this.resumingFrom||this!==s;if(!(e||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;let{layout:a,layoutId:l}=this.options;if(this.layout&&(a||l)){if(this.resolvedRelativeTargetAt=eo.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ts(),this.relativeTargetOrigin=ts(),e7(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),tX(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=ts(),this.targetWithTransforms=ts()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),i=this.target,n=this.relativeTarget,r=this.relativeParent.target,e5(i.x,n.x,r.x),e5(i.y,n.y,r.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):tX(this.target,this.layout.layoutBox),tf(this.target,this.targetDelta)):tX(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ts(),this.relativeTargetOrigin=ts(),e7(this.relativeTargetOrigin,this.target,e.target),tX(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}is.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||tu(this.parent.latestValues)||td(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;let t=this.getLead(),i=!!this.resumingFrom||this!==t,n=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(n=!1),i&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===eo.frameData.timestamp&&(n=!1),n)return;let{layout:r,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||s))return;tX(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;!function(e,t,i,n=!1){let r,s;let o=i.length;if(o){t.x=t.y=1;for(let a=0;a<o;a++){s=(r=i[a]).projectionDelta;let o=r.instance;(!o||!o.style||"contents"!==o.style.display)&&(n&&r.options.layoutScroll&&r.scroll&&r!==r.root&&tw(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,tf(e,s)),n&&tc(r.latestValues)&&tw(e,r.latestValues))}t.x=tm(t.x),t.y=tm(t.y)}}(this.layoutCorrected,this.treeScale,this.path,i),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox);let{target:l}=t;if(!l){this.projectionTransform&&(this.projectionDelta=tn(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=tn(),this.projectionDeltaWithTransform=tn());let u=this.projectionTransform;e3(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=t4(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==o||this.treeScale.y!==a)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),is.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){let i;let n=this.snapshot,r=n?n.latestValues:{},s={...this.latestValues},o=tn();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let a=ts(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),c=!u||u.members.length<=1,d=!!(l&&!c&&!0===this.options.crossfade&&!this.path.some(iE));this.animationProgress=0,this.mixTargetDelta=t=>{let n=t/1e3;if(ix(o.x,e.x,n),ix(o.y,e.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,h,p,f;e7(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,f=this.relativeTargetOrigin,iS(p.x,f.x,a.x,n),iS(p.y,f.y,a.y,n),i&&(u=this.relativeTarget,h=i,u.x.min===h.x.min&&u.x.max===h.x.max&&u.y.min===h.y.min&&u.y.max===h.y.max)&&(this.isProjectionDirty=!1),i||(i=ts()),tX(i,this.relativeTarget)}l&&(this.animationValues=s,function(e,t,i,n,r,s){r?(e.opacity=(0,eQ.C)(0,void 0!==i.opacity?i.opacity:1,tH(n)),e.opacityExit=(0,eQ.C)(void 0!==t.opacity?t.opacity:1,0,tU(n))):s&&(e.opacity=(0,eQ.C)(void 0!==t.opacity?t.opacity:1,void 0!==i.opacity?i.opacity:1,n));for(let r=0;r<tN;r++){let s=`border${tz[r]}Radius`,o=tW(t,s),a=tW(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||t$(o)===t$(a)?(e[s]=Math.max((0,eQ.C)(tB(o),tB(a),n),0),($.aQ.test(a)||$.aQ.test(o))&&(e[s]+="%")):e[s]=a)}(t.rotate||i.rotate)&&(e.rotate=(0,eQ.C)(t.rotate||0,i.rotate||0,n))}(s,r,this.latestValues,n,d,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,eo.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=eo.Wi.update(()=>{tA.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,i){let n=(0,A.i)(e)?e:(0,ie.BX)(e);return n.start((0,tS.v)("",n,1e3,i)),n.animation}(0,0,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:i,layout:n,latestValues:r}=e;if(t&&i&&n){if(this!==e&&this.layout&&n&&ik(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||ts();let t=e0(this.layout.layoutBox.x);i.x.min=e.target.x.min,i.x.max=i.x.min+t;let n=e0(this.layout.layoutBox.y);i.y.min=e.target.y.min,i.y.max=i.y.min+n}tX(t,i),tw(t,r),e3(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new t7),this.sharedNodes.get(e).add(t);let i=t.options.initialPromotionConfig;t.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:i}=e;if((i.rotate||i.rotateX||i.rotateY||i.rotateZ)&&(t=!0),!t)return;let n={};for(let t=0;t<it.length;t++){let r="rotate"+it[t];i[r]&&(n[r]=i[r],e.setStaticValue(r,0))}for(let t in e.render(),n)e.setStaticValue(t,n[t]);e.scheduleRender()}getProjectionStyles(e){var t,i;if(!this.instance||this.isSVG)return;if(!this.isVisible)return ii;let n={visibility:""},r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,n.opacity="",n.pointerEvents=er(null==e?void 0:e.pointerEvents)||"",n.transform=r?r(this.latestValues,""):"none",n;let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){let t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=er(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!tc(this.latestValues)&&(t.transform=r?r({},""):"none",this.hasProjected=!1),t}let o=s.animationValues||s.latestValues;this.applyTransformsToTarget(),n.transform=t4(this.projectionDeltaWithTransform,this.treeScale,o),r&&(n.transform=r(o,n.transform));let{x:a,y:l}=this.projectionDelta;for(let e in n.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,s.animationValues?n.opacity=s===this?null!==(i=null!==(t=o.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:n.opacity=s===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,M){if(void 0===o[e])continue;let{correct:t,applyTo:i}=M[e],r="none"===n.transform?o[e]:t(o[e],s);if(i){let e=i.length;for(let t=0;t<e;t++)n[i[t]]=r}else n[e]=r}return this.options.layoutId&&(n.pointerEvents=s===this?er(null==e?void 0:e.pointerEvents)||"":"none"),n}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(ih),this.root.sharedNodes.clear()}}}function ia(e){e.updateLayout()}function il(e){var t;let i=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){let{layoutBox:t,measuredBox:n}=e.layout,{animationType:r}=e.options,s=i.source!==e.layout.source;"size"===r?to(e=>{let n=s?i.measuredBox[e]:i.layoutBox[e],r=e0(n);n.min=t[e].min,n.max=n.min+r}):ik(r,i.layoutBox,t)&&to(n=>{let r=s?i.measuredBox[n]:i.layoutBox[n],o=e0(t[n]);r.max=r.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+o)});let o=tn();e3(o,t,i.layoutBox);let a=tn();s?e3(a,e.applyTransform(n,!0),i.measuredBox):e3(a,t,i.layoutBox);let l=!t2(o),u=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:s}=n;if(r&&s){let o=ts();e7(o,i.layoutBox,r.layoutBox);let a=ts();e7(a,t,s.layoutBox),t3(o,a)||(u=!0),n.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=o,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:i,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function iu(e){is.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function ic(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function id(e){e.clearSnapshot()}function ih(e){e.clearMeasurements()}function ip(e){e.isLayoutDirty=!1}function im(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function iv(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ig(e){e.resolveTargetDelta()}function iy(e){e.calcProjection()}function ib(e){e.resetRotation()}function iw(e){e.removeLeadSnapshot()}function ix(e,t,i){e.translate=(0,eQ.C)(t.translate,0,i),e.scale=(0,eQ.C)(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function iS(e,t,i,n){e.min=(0,eQ.C)(t.min,i.min,n),e.max=(0,eQ.C)(t.max,i.max,n)}function iE(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let iT={duration:.45,ease:[.4,0,.1,1]},iC=e=>"undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().includes(e),iP=iC("applewebkit/")&&!iC("chrome/")?Math.round:eC.Z;function iM(e){e.min=iP(e.min),e.max=iP(e.max)}function ik(e,t,i){return"position"===e||"preserve-aspect"===e&&!e1(t5(t),t5(i),.2)}let iO=io({attachResizeListener:(e,t)=>eu(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),iA={current:void 0},iL=io({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!iA.current){let e=new iO({});e.mount(window),e.setOptions({layoutScroll:!0}),iA.current=e}return iA.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position});var i_=i(8434),iD=i(1336),iR=i(1377);let iI=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function ij(e,t,i=1){(0,eH.k)(i<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,r]=function(e){let t=iI.exec(e);if(!t)return[,];let[,i,n]=t;return[i,n]}(e);if(!n)return;let s=window.getComputedStyle(t).getPropertyValue(n);if(s){let e=s.trim();return(0,iR.P)(e)?parseFloat(e):e}return(0,D.tm)(r)?ij(r,t,i+1):r}var iV=i(2289),iF=i(397);let iz=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),iN=e=>iz.has(e),iB=e=>Object.keys(e).some(iN),i$=e=>e===iF.Rx||e===$.px,iW=(e,t)=>parseFloat(e.split(", ")[t]),iH=(e,t)=>(i,{transform:n})=>{if("none"===n||!n)return 0;let r=n.match(/^matrix3d\((.+)\)$/);if(r)return iW(r[1],t);{let t=n.match(/^matrix\((.+)\)$/);return t?iW(t[1],e):0}},iU=new Set(["x","y","z"]),iG=k._.filter(e=>!iU.has(e)),iq={width:({x:e},{paddingLeft:t="0",paddingRight:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),height:({y:e},{paddingTop:t="0",paddingBottom:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:iH(4,13),y:iH(5,14)};iq.translateX=iq.x,iq.translateY=iq.y;let iX=(e,t,i)=>{let n=t.measureViewportBox(),r=t.current,s=getComputedStyle(r),{display:o}=s,a={};"none"===o&&t.setStaticValue("display",e.display||"block"),i.forEach(e=>{a[e]=iq[e](n,s)}),t.render();let l=t.measureViewportBox();return i.forEach(i=>{let n=t.getValue(i);n&&n.jump(a[i]),e[i]=iq[i](l,s)}),e},iY=(e,t,i={},n={})=>{t={...t},n={...n};let r=Object.keys(t).filter(iN),s=[],o=!1,a=[];if(r.forEach(r=>{let l;let u=e.getValue(r);if(!e.hasValue(r))return;let c=i[r],d=(0,iV.C)(c),h=t[r];if((0,eR.C)(h)){let e=h.length,t=null===h[0]?1:0;c=h[t],d=(0,iV.C)(c);for(let i=t;i<e&&null!==h[i];i++)l?(0,eH.k)((0,iV.C)(h[i])===l,"All keyframes must be of the same type"):(l=(0,iV.C)(h[i]),(0,eH.k)(l===d||i$(d)&&i$(l),"Keyframes must be of the same dimension as the current value"))}else l=(0,iV.C)(h);if(d!==l){if(i$(d)&&i$(l)){let e=u.get();"string"==typeof e&&u.set(parseFloat(e)),"string"==typeof h?t[r]=parseFloat(h):Array.isArray(h)&&l===$.px&&(t[r]=h.map(parseFloat))}else(null==d?void 0:d.transform)&&(null==l?void 0:l.transform)&&(0===c||0===h)?0===c?u.set(l.transform(c)):t[r]=d.transform(h):(o||(s=function(e){let t=[];return iG.forEach(i=>{let n=e.getValue(i);void 0!==n&&(t.push([i,n.get()]),n.set(i.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),o=!0),a.push(r),n[r]=void 0!==n[r]?n[r]:t[r],u.jump(h))}}),!a.length)return{target:t,transitionEnd:n};{let i=a.indexOf("height")>=0?window.pageYOffset:null,r=iX(t,e,a);return s.length&&s.forEach(([t,i])=>{e.getValue(t).set(i)}),e.render(),x.j&&null!==i&&window.scrollTo({top:i}),{target:r,transitionEnd:n}}},iK=(e,t,i,n)=>{var r,s;let o=function(e,{...t},i){let n=e.current;if(!(n instanceof Element))return{target:t,transitionEnd:i};for(let r in i&&(i={...i}),e.values.forEach(e=>{let t=e.get();if(!(0,D.tm)(t))return;let i=ij(t,n);i&&e.set(i)}),t){let e=t[r];if(!(0,D.tm)(e))continue;let s=ij(e,n);s&&(t[r]=s,i||(i={}),void 0===i[r]&&(i[r]=e))}return{target:t,transitionEnd:i}}(e,t,n);return t=o.target,n=o.transitionEnd,r=t,s=n,iB(r)?iY(e,r,i,s):{target:r,transitionEnd:s}},iZ={current:null},iJ={current:!1};var iQ=i(7397);let i0=new WeakMap,i1=Object.keys(w),i2=i1.length,i3=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],i5=m.length;class i6{constructor({parent:e,props:t,presenceContext:i,reducedMotionConfig:n,visualState:r},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>eo.Wi.render(this.render,!1,!0);let{latestValues:o,renderState:a}=r;this.latestValues=o,this.baseTarget={...o},this.initialValues=t.initial?{...o}:{},this.renderState=a,this.parent=e,this.props=t,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=s,this.isControllingVariants=v(t),this.isVariantNode=g(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:l,...u}=this.scrapeMotionValuesFromProps(t,{});for(let e in u){let t=u[e];void 0!==o[e]&&(0,A.i)(t)&&(t.set(o[e],!1),(0,iQ.L)(l)&&l.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,i0.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),iJ.current||function(){if(iJ.current=!0,x.j){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>iZ.current=e.matches;e.addListener(t),t()}else iZ.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||iZ.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in i0.delete(this.current),this.projection&&this.projection.unmount(),(0,eo.Pn)(this.notifyUpdate),(0,eo.Pn)(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){let i=k.G.has(e),n=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&eo.Wi.update(this.notifyUpdate,!1,!0),i&&this.projection&&(this.projection.isTransformDirty=!0)}),r=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{n(),r()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},i,n,r){let s,o;for(let e=0;e<i2;e++){let i=i1[e],{isEnabled:n,Feature:r,ProjectionNode:a,MeasureLayout:l}=w[i];a&&(s=a),n(t)&&(!this.features[i]&&r&&(this.features[i]=new r(this)),l&&(o=l))}if(("html"===this.type||"svg"===this.type)&&!this.projection&&s){this.projection=new s(this.latestValues,this.parent&&this.parent.projection);let{layoutId:e,layout:i,drag:n,dragConstraints:o,layoutScroll:a,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:i,alwaysMeasureLayout:!!n||o&&d(o),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof i?i:"both",initialPromotionConfig:r,layoutScroll:a,layoutRoot:l})}return o}updateFeatures(){for(let e in this.features){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):ts()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<i3.length;t++){let i=i3[t];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=e["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(e,t,i){let{willChange:n}=t;for(let r in t){let s=t[r],o=i[r];if((0,A.i)(s))e.addValue(r,s),(0,iQ.L)(n)&&n.add(r);else if((0,A.i)(o))e.addValue(r,(0,ie.BX)(s,{owner:e})),(0,iQ.L)(n)&&n.remove(r);else if(o!==s){if(e.hasValue(r)){let t=e.getValue(r);t.hasAnimated||t.set(s)}else{let t=e.getStaticValue(r);e.addValue(r,(0,ie.BX)(void 0!==t?t:s,{owner:e}))}}}for(let n in i)void 0===t[n]&&e.removeValue(n);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}let t={};for(let e=0;e<i5;e++){let i=m[e],n=this.props[i];(h(n)||!1===n)&&(t[i]=n)}return t}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return void 0===i&&void 0!==t&&(i=(0,ie.BX)(t,{owner:this}),this.addValue(e,i)),i}readValue(e){var t;return void 0===this.latestValues[e]&&this.current?null!==(t=this.getBaseTargetFromProps(this.props,e))&&void 0!==t?t:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let{initial:i}=this.props,n="string"==typeof i||"object"==typeof i?null===(t=(0,et.o)(this.props,i))||void 0===t?void 0:t[e]:void 0;if(i&&void 0!==n)return n;let r=this.getBaseTargetFromProps(this.props,e);return void 0===r||(0,A.i)(r)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new tV.L),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class i7 extends i6{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:i}){delete t[e],delete i[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...i},{transformValues:n},r){let s=(0,iD.P$)(i,e||{},this);if(n&&(t&&(t=n(t)),i&&(i=n(i)),s&&(s=n(s))),r){(0,iD.GJ)(this,i,s);let e=iK(this,i,s,t);t=e.transitionEnd,i=e.target}return{transition:e,transitionEnd:t,...i}}}class i4 extends i7{constructor(){super(...arguments),this.type="html"}readValueFromInstance(e,t){if(k.G.has(t)){let e=(0,i_.A)(t);return e&&e.default||0}{let i=window.getComputedStyle(e),n=((0,D.f9)(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return tx(e,t)}build(e,t,i,n){j(e,t,i,n.transformTemplate)}scrapeMotionValuesFromProps(e,t){return Q(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;(0,A.i)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,i,n){K(e,t,i,n)}}class i8 extends i7{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(k.G.has(t)){let e=(0,i_.A)(t);return e&&e.default||0}return t=Z.has(t)?t:(0,Y.D)(t),e.getAttribute(t)}measureInstanceViewportBox(){return ts()}scrapeMotionValuesFromProps(e,t){return ee(e,t)}build(e,t,i,n){G(e,t,i,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,i,n){J(e,t,i,n)}mount(e){this.isSVGTag=X(e.tagName),super.mount(e)}}let i9=(e,t)=>P(e)?new i8(t,{enableHardwareAcceleration:!1}):new i4(t,{enableHardwareAcceleration:!0}),ne={animation:{Feature:eB},exit:{Feature:eW},inView:{Feature:eD},tap:{Feature:eM},focus:{Feature:eE},hover:{Feature:eS},pan:{Feature:tO},drag:{Feature:tM,ProjectionNode:iL,MeasureLayout:tI},layout:{ProjectionNode:iL,MeasureLayout:tI}},nt=function(e){function t(t,i={}){return function({preloadedFeatures:e,createVisualElement:t,useRender:i,useVisualState:n,Component:p}){e&&function(e){for(let t in e)w[t]={...w[t],...e[t]}}(e);let f=(0,r.forwardRef)(function(f,m){var g;let b;let w={...(0,r.useContext)(s),...f,layoutId:function({layoutId:e}){let t=(0,r.useContext)(S).id;return t&&void 0!==e?t+"-"+e:e}(f)},{isStatic:T}=w,C=function(e){let{initial:t,animate:i}=function(e,t){if(v(e)){let{initial:t,animate:i}=e;return{initial:!1===t||h(t)?t:void 0,animate:h(i)?i:void 0}}return!1!==e.inherit?t:{}}(e,(0,r.useContext)(o));return(0,r.useMemo)(()=>({initial:t,animate:i}),[y(t),y(i)])}(f),P=n(f,T);if(!T&&x.j){C.visualElement=function(e,t,i,n){let{visualElement:d}=(0,r.useContext)(o),h=(0,r.useContext)(u),p=(0,r.useContext)(a),f=(0,r.useContext)(s).reducedMotion,m=(0,r.useRef)();n=n||h.renderer,!m.current&&n&&(m.current=n(e,{visualState:t,parent:d,props:i,presenceContext:p,blockInitialAnimation:!!p&&!1===p.initial,reducedMotionConfig:f}));let v=m.current;(0,r.useInsertionEffect)(()=>{v&&v.update(i,p)});let g=(0,r.useRef)(!!(i[c.M]&&!window.HandoffComplete));return(0,l.L)(()=>{v&&(v.render(),g.current&&v.animationState&&v.animationState.animateChanges())}),(0,r.useEffect)(()=>{v&&(v.updateFeatures(),!g.current&&v.animationState&&v.animationState.animateChanges(),g.current&&(g.current=!1,window.HandoffComplete=!0))}),v}(p,P,w,t);let i=(0,r.useContext)(E),n=(0,r.useContext)(u).strict;C.visualElement&&(b=C.visualElement.loadFeatures(w,n,e,i))}return r.createElement(o.Provider,{value:C},b&&C.visualElement?r.createElement(b,{visualElement:C.visualElement,...w}):null,i(p,f,(g=C.visualElement,(0,r.useCallback)(e=>{e&&P.mount&&P.mount(e),g&&(e?g.mount(e):g.unmount()),m&&("function"==typeof m?m(e):d(m)&&(m.current=e))},[g])),P,T,C.visualElement))});return f[T]=p,f}(e(t,i))}if("undefined"==typeof Proxy)return t;let i=new Map;return new Proxy(t,{get:(e,n)=>(i.has(n)||i.set(n,t(n)),i.get(n))})}((e,t)=>(function(e,{forwardMotionProps:t=!1},i,n){return{...P(e)?ea:el,preloadedFeatures:i,useRender:function(e=!1){return(t,i,n,{latestValues:s},o)=>{let a=(P(t)?function(e,t,i,n){let s=(0,r.useMemo)(()=>{let i=q();return G(i,t,{enableHardwareAcceleration:!1},X(n),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){let t={};F(t,e.style,e),s.style={...t,...s.style}}return s}:function(e,t,i){let n={},s=function(e,t,i){let n=e.style||{},s={};return F(s,n,e),Object.assign(s,function({transformTemplate:e},t,i){return(0,r.useMemo)(()=>{let n=V();return j(n,t,{enableHardwareAcceleration:!i},e),Object.assign({},n.vars,n.style)},[t])}(e,t,i)),e.transformValues?e.transformValues(s):s}(e,t,i);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=s,n})(i,s,o,t),l={...function(e,t,i){let n={};for(let r in e)("values"!==r||"object"!=typeof e.values)&&(B(r)||!0===i&&N(r)||!t&&!N(r)||e.draggable&&r.startsWith("onDrag"))&&(n[r]=e[r]);return n}(i,"string"==typeof t,e),...a,ref:n},{children:u}=i,c=(0,r.useMemo)(()=>(0,A.i)(u)?u.get():u,[u]);return(0,r.createElement)(t,{...l,children:c})}}(t),createVisualElement:n,Component:e}})(e,t,ne,i9))},8754:function(e,t,i){"use strict";i.d(t,{D:function(){return n}});let n=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},1331:function(e,t,i){"use strict";i.d(t,{Xp:function(){return o},f9:function(){return r},tm:function(){return s}});let n=e=>t=>"string"==typeof t&&t.startsWith(e),r=n("--"),s=n("var(--"),o=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g},1564:function(e,t,i){"use strict";i.d(t,{T:function(){return o}});var n=i(6865),r=i(3764),s=i(8434);function o(e,t){let i=(0,s.A)(e);return i!==r.h&&(i=n.P),i.getAnimatableNone?i.getAnimatableNone(t):void 0}},8434:function(e,t,i){"use strict";i.d(t,{A:function(){return o}});var n=i(5982),r=i(3764);let s={...i(8073).j,color:n.$,backgroundColor:n.$,outlineColor:n.$,fill:n.$,stroke:n.$,borderColor:n.$,borderTopColor:n.$,borderRightColor:n.$,borderBottomColor:n.$,borderLeftColor:n.$,filter:r.h,WebkitFilter:r.h},o=e=>s[e]},2289:function(e,t,i){"use strict";i.d(t,{$:function(){return o},C:function(){return a}});var n=i(397),r=i(8772),s=i(3624);let o=[n.Rx,r.px,r.aQ,r.RW,r.vw,r.vh,{test:e=>"auto"===e,parse:e=>e}],a=e=>o.find((0,s.l)(e))},8073:function(e,t,i){"use strict";i.d(t,{j:function(){return o}});var n=i(397),r=i(8772);let s={...n.Rx,transform:Math.round},o={borderWidth:r.px,borderTopWidth:r.px,borderRightWidth:r.px,borderBottomWidth:r.px,borderLeftWidth:r.px,borderRadius:r.px,radius:r.px,borderTopLeftRadius:r.px,borderTopRightRadius:r.px,borderBottomRightRadius:r.px,borderBottomLeftRadius:r.px,width:r.px,maxWidth:r.px,height:r.px,maxHeight:r.px,size:r.px,top:r.px,right:r.px,bottom:r.px,left:r.px,padding:r.px,paddingTop:r.px,paddingRight:r.px,paddingBottom:r.px,paddingLeft:r.px,margin:r.px,marginTop:r.px,marginRight:r.px,marginBottom:r.px,marginLeft:r.px,rotate:r.RW,rotateX:r.RW,rotateY:r.RW,rotateZ:r.RW,scale:n.bA,scaleX:n.bA,scaleY:n.bA,scaleZ:n.bA,skew:r.RW,skewX:r.RW,skewY:r.RW,distance:r.px,translateX:r.px,translateY:r.px,translateZ:r.px,x:r.px,y:r.px,z:r.px,perspective:r.px,transformPerspective:r.px,opacity:n.Fq,originX:r.$C,originY:r.$C,originZ:r.px,zIndex:s,fillOpacity:n.Fq,strokeOpacity:n.Fq,numOctaves:s}},3624:function(e,t,i){"use strict";i.d(t,{l:function(){return n}});let n=e=>t=>t.test(e)},3442:function(e,t,i){"use strict";i.d(t,{G:function(){return r},_:function(){return n}});let n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],r=new Set(n)},2841:function(e,t,i){"use strict";i.d(t,{x:function(){return r}});var n=i(9764);function r(e,t,i){let r=e.getProps();return(0,n.o)(r,t,void 0!==i?i:r.custom,function(e){let t={};return e.values.forEach((e,i)=>t[i]=e.get()),t}(e),function(e){let t={};return e.values.forEach((e,i)=>t[i]=e.getVelocity()),t}(e))}},9764:function(e,t,i){"use strict";function n(e,t,i,n={},r={}){return"function"==typeof t&&(t=t(void 0!==i?i:e.custom,n,r)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==i?i:e.custom,n,r)),t}i.d(t,{o:function(){return n}})},1336:function(e,t,i){"use strict";i.d(t,{GJ:function(){return y},P$:function(){return b},CD:function(){return m},gg:function(){return g}});var n=i(1377),r=i(4561),s=i(3809),o=i(226),a=i(6865),l=i(1564),u=i(5982),c=i(2289),d=i(3624);let h=[...c.$,u.$,a.P],p=e=>h.find((0,d.l)(e));var f=i(2841);function m(e,t){let i=(0,f.x)(e,t),{transitionEnd:n={},transition:r={},...a}=i?e.makeTargetAnimatable(i,!1):{};for(let t in a={...a,...n}){let i=(0,s.Y)(a[t]);e.hasValue(t)?e.getValue(t).set(i):e.addValue(t,(0,o.BX)(i))}}function v(e,t){[...t].reverse().forEach(i=>{let n=e.getVariant(i);n&&m(e,n),e.variantChildren&&e.variantChildren.forEach(e=>{v(e,t)})})}function g(e,t){return Array.isArray(t)?v(e,t):"string"==typeof t?v(e,[t]):void m(e,t)}function y(e,t,i){var s,u;let c=Object.keys(t).filter(t=>!e.hasValue(t)),d=c.length;if(d)for(let h=0;h<d;h++){let d=c[h],f=t[d],m=null;Array.isArray(f)&&(m=f[0]),null===m&&(m=null!==(u=null!==(s=i[d])&&void 0!==s?s:e.readValue(d))&&void 0!==u?u:t[d]),null!=m&&("string"==typeof m&&((0,n.P)(m)||(0,r.W)(m))?m=parseFloat(m):!p(m)&&a.P.test(f)&&(m=(0,l.T)(d,f)),e.addValue(d,(0,o.BX)(m,{owner:e})),void 0===i[d]&&(i[d]=m),null!==m&&e.setBaseTarget(d,m))}}function b(e,t,i){let n={};for(let r in e){let e=function(e,t){if(t)return(t[e]||t.default||t).from}(r,t);if(void 0!==e)n[r]=e;else{let e=i.getValue(r);e&&(n[r]=e.get())}}return n}},4866:function(e,t,i){"use strict";function n(e,t){-1===e.indexOf(t)&&e.push(t)}function r(e,t){let i=e.indexOf(t);i>-1&&e.splice(i,1)}i.d(t,{cl:function(){return r},y4:function(){return n}})},1366:function(e,t,i){"use strict";i.d(t,{u:function(){return n}});let n=(e,t,i)=>Math.min(Math.max(i,e),t)},7035:function(e,t,i){"use strict";i.d(t,{K:function(){return r},k:function(){return s}});var n=i(65);let r=n.Z,s=n.Z},3791:function(e,t,i){"use strict";i.d(t,{j:function(){return n}});let n="undefined"!=typeof document},1377:function(e,t,i){"use strict";i.d(t,{P:function(){return n}});let n=e=>/^\-?\d*\.?\d+$/.test(e)},4561:function(e,t,i){"use strict";i.d(t,{W:function(){return n}});let n=e=>/^0[^.\s]+$/.test(e)},5339:function(e,t,i){"use strict";i.d(t,{C:function(){return n}});let n=(e,t,i)=>-i*e+i*t+e},65:function(e,t,i){"use strict";i.d(t,{Z:function(){return n}});let n=e=>e},6953:function(e,t,i){"use strict";i.d(t,{z:function(){return r}});let n=(e,t)=>i=>t(e(i)),r=(...e)=>e.reduce(n)},7475:function(e,t,i){"use strict";i.d(t,{Y:function(){return n}});let n=(e,t,i)=>{let n=t-e;return 0===n?1:(i-e)/n}},3809:function(e,t,i){"use strict";i.d(t,{Y:function(){return s},p:function(){return r}});var n=i(5721);let r=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),s=e=>(0,n.C)(e)?e[e.length-1]||0:e},8069:function(e,t,i){"use strict";i.d(t,{L:function(){return r}});var n=i(4866);class r{constructor(){this.subscriptions=[]}add(e){return(0,n.y4)(this.subscriptions,e),()=>(0,n.cl)(this.subscriptions,e)}notify(e,t,i){let n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](e,t,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(e,t,i)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}},1429:function(e,t,i){"use strict";i.d(t,{X:function(){return r},w:function(){return n}});let n=e=>1e3*e,r=e=>e/1e3},3105:function(e,t,i){"use strict";i.d(t,{h:function(){return r}});var n=i(2784);function r(e){let t=(0,n.useRef)(null);return null===t.current&&(t.current=e()),t.current}},3617:function(e,t,i){"use strict";i.d(t,{L:function(){return r}});var n=i(2784);let r=i(3791).j?n.useLayoutEffect:n.useEffect},5394:function(e,t,i){"use strict";function n(e,t){return t?1e3/t*e:0}i.d(t,{R:function(){return n}})},226:function(e,t,i){"use strict";i.d(t,{BX:function(){return u}});var n=i(8069),r=i(5394),s=i(2972);let o=e=>!isNaN(parseFloat(e)),a={current:void 0};class l{constructor(e,t={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;let{delta:i,timestamp:n}=s.frameData;this.lastUpdated!==n&&(this.timeDelta=i,this.lastUpdated=n,s.Wi.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>s.Wi.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=o(this.current),this.owner=t.owner}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new n.L);let i=this.events[e].add(t);return"change"===e?()=>{i(),s.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,i){this.set(t),this.prev=e,this.timeDelta=i}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return a.current&&a.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?(0,r.R)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function u(e,t){return new l(e,t)}},2395:function(e,t,i){"use strict";i.d(t,{$:function(){return r}});var n=i(6572);let r={test:(0,i(4536).i)("#"),parse:function(e){let t="",i="",n="",r="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),n=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),n=e.substring(3,4),r=e.substring(4,5),t+=t,i+=i,n+=n,r+=r),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:n.m.transform}},6845:function(e,t,i){"use strict";i.d(t,{J:function(){return a}});var n=i(397),r=i(8772),s=i(9747),o=i(4536);let a={test:(0,o.i)("hsl","hue"),parse:(0,o.d)("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:o=1})=>"hsla("+Math.round(e)+", "+r.aQ.transform((0,s.Nw)(t))+", "+r.aQ.transform((0,s.Nw)(i))+", "+(0,s.Nw)(n.Fq.transform(o))+")"}},5982:function(e,t,i){"use strict";i.d(t,{$:function(){return a}});var n=i(9747),r=i(2395),s=i(6845),o=i(6572);let a={test:e=>o.m.test(e)||r.$.test(e)||s.J.test(e),parse:e=>o.m.test(e)?o.m.parse(e):s.J.test(e)?s.J.parse(e):r.$.parse(e),transform:e=>(0,n.HD)(e)?e:e.hasOwnProperty("red")?o.m.transform(e):s.J.transform(e)}},6572:function(e,t,i){"use strict";i.d(t,{m:function(){return u}});var n=i(1366),r=i(397),s=i(9747),o=i(4536);let a=e=>(0,n.u)(0,255,e),l={...r.Rx,transform:e=>Math.round(a(e))},u={test:(0,o.i)("rgb","red"),parse:(0,o.d)("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:n=1})=>"rgba("+l.transform(e)+", "+l.transform(t)+", "+l.transform(i)+", "+(0,s.Nw)(r.Fq.transform(n))+")"}},4536:function(e,t,i){"use strict";i.d(t,{d:function(){return s},i:function(){return r}});var n=i(9747);let r=(e,t)=>i=>!!((0,n.HD)(i)&&n.mj.test(i)&&i.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(i,t)),s=(e,t,i)=>r=>{if(!(0,n.HD)(r))return r;let[s,o,a,l]=r.match(n.KP);return{[e]:parseFloat(s),[t]:parseFloat(o),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},3764:function(e,t,i){"use strict";i.d(t,{h:function(){return l}});var n=i(6865),r=i(9747);let s=new Set(["brightness","contrast","saturate","opacity"]);function o(e){let[t,i]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=i.match(r.KP)||[];if(!n)return e;let o=i.replace(n,""),a=s.has(t)?1:0;return n!==i&&(a*=100),t+"("+a+o+")"}let a=/([a-z-]*)\(.*?\)/g,l={...n.P,getAnimatableNone:e=>{let t=e.match(a);return t?t.map(o).join(" "):e}}},6865:function(e,t,i){"use strict";i.d(t,{P:function(){return v},V:function(){return h}});var n=i(1331),r=i(65),s=i(5982),o=i(397),a=i(9747);let l={regex:n.Xp,countKey:"Vars",token:"${v}",parse:r.Z},u={regex:a.dA,countKey:"Colors",token:"${c}",parse:s.$.parse},c={regex:a.KP,countKey:"Numbers",token:"${n}",parse:o.Rx.parse};function d(e,{regex:t,countKey:i,token:n,parse:r}){let s=e.tokenised.match(t);s&&(e["num"+i]=s.length,e.tokenised=e.tokenised.replace(t,n),e.values.push(...s.map(r)))}function h(e){let t=e.toString(),i={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return i.value.includes("var(--")&&d(i,l),d(i,u),d(i,c),i}function p(e){return h(e).values}function f(e){let{values:t,numColors:i,numVars:n,tokenised:r}=h(e),o=t.length;return e=>{let t=r;for(let r=0;r<o;r++)t=r<n?t.replace(l.token,e[r]):r<n+i?t.replace(u.token,s.$.transform(e[r])):t.replace(c.token,(0,a.Nw)(e[r]));return t}}let m=e=>"number"==typeof e?0:e,v={test:function(e){var t,i;return isNaN(e)&&(0,a.HD)(e)&&((null===(t=e.match(a.KP))||void 0===t?void 0:t.length)||0)+((null===(i=e.match(a.dA))||void 0===i?void 0:i.length)||0)>0},parse:p,createTransformer:f,getAnimatableNone:function(e){let t=p(e);return f(e)(t.map(m))}}},397:function(e,t,i){"use strict";i.d(t,{Fq:function(){return s},Rx:function(){return r},bA:function(){return o}});var n=i(1366);let r={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},s={...r,transform:e=>(0,n.u)(0,1,e)},o={...r,default:1}},8772:function(e,t,i){"use strict";i.d(t,{$C:function(){return c},RW:function(){return s},aQ:function(){return o},px:function(){return a},vh:function(){return l},vw:function(){return u}});var n=i(9747);let r=e=>({test:t=>(0,n.HD)(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),s=r("deg"),o=r("%"),a=r("px"),l=r("vh"),u=r("vw"),c={...o,parse:e=>o.parse(e)/100,transform:e=>o.transform(100*e)}},9747:function(e,t,i){"use strict";i.d(t,{HD:function(){return a},KP:function(){return r},Nw:function(){return n},dA:function(){return s},mj:function(){return o}});let n=e=>Math.round(1e5*e)/1e5,r=/(-)?([\d]*\.?[\d])+/g,s=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,o=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function a(e){return"string"==typeof e}},7397:function(e,t,i){"use strict";i.d(t,{L:function(){return r}});var n=i(5815);function r(e){return!!((0,n.i)(e)&&e.add)}},5815:function(e,t,i){"use strict";i.d(t,{i:function(){return n}});let n=e=>!!(e&&e.getVelocity)},360:function(e,t,i){"use strict";i.d(t,{YD:function(){return u}});var n=i(2784),r=Object.defineProperty,s=new Map,o=new WeakMap,a=0,l=void 0;function u({threshold:e,delay:t,trackVisibility:i,rootMargin:r,root:u,triggerOnce:c,skip:d,initialInView:h,fallbackInView:p,onChange:f}={}){var m;let[v,g]=n.useState(null),y=n.useRef(),[b,w]=n.useState({inView:!!h,entry:void 0});y.current=f,n.useEffect(()=>{let n;if(!d&&v)return n=function(e,t,i={},n=l){if(void 0===window.IntersectionObserver&&void 0!==n){let r=e.getBoundingClientRect();return t(n,{isIntersecting:n,target:e,intersectionRatio:"number"==typeof i.threshold?i.threshold:0,time:0,boundingClientRect:r,intersectionRect:r,rootBounds:r}),()=>{}}let{id:r,observer:u,elements:c}=function(e){let t=Object.keys(e).sort().filter(t=>void 0!==e[t]).map(t=>{var i;return`${t}_${"root"===t?(i=e.root)?(o.has(i)||(a+=1,o.set(i,a.toString())),o.get(i)):"0":e[t]}`}).toString(),i=s.get(t);if(!i){let n;let r=new Map,o=new IntersectionObserver(t=>{t.forEach(t=>{var i;let s=t.isIntersecting&&n.some(e=>t.intersectionRatio>=e);e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=s),null==(i=r.get(t.target))||i.forEach(e=>{e(s,t)})})},e);n=o.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),i={id:t,observer:o,elements:r},s.set(t,i)}return i}(i),d=c.get(e)||[];return c.has(e)||c.set(e,d),d.push(t),u.observe(e),function(){d.splice(d.indexOf(t),1),0===d.length&&(c.delete(e),u.unobserve(e)),0===c.size&&(u.disconnect(),s.delete(r))}}(v,(e,t)=>{w({inView:e,entry:t}),y.current&&y.current(e,t),t.isIntersecting&&c&&n&&(n(),n=void 0)},{root:u,rootMargin:r,threshold:e,trackVisibility:i,delay:t},p),()=>{n&&n()}},[Array.isArray(e)?e.toString():e,v,u,r,c,d,i,p,t]);let x=null==(m=b.entry)?void 0:m.target,S=n.useRef();v||!x||c||d||S.current===x||(S.current=x,w({inView:!!h,entry:void 0}));let E=[g,b.inView,b.entry];return E.ref=E[0],E.inView=E[1],E.entry=E[2],E}n.Component},7679:function(e,t,i){"use strict";i.d(t,{pt:function(){return u},lI:function(){return d},W_:function(){return o},tl:function(){return l}});var n=i(3987),r=i(3455);function s(e,t,i,n){return e.params.createElements&&Object.keys(n).forEach(s=>{if(!i[s]&&!0===i.auto){let o=(0,r.e)(e.el,`.${n[s]}`)[0];o||((o=(0,r.c)("div",n[s])).className=n[s],e.el.append(o)),i[s]=o,t[s]=o}}),i}function o(e){let{swiper:t,extendParams:i,on:n,emit:r}=e;i({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),t.navigation={nextEl:null,prevEl:null};let o=e=>(Array.isArray(e)?e:[e]).filter(e=>!!e);function a(e){let i;return e&&"string"==typeof e&&t.isElement&&(i=t.el.querySelector(e))?i:(e&&("string"==typeof e&&(i=[...document.querySelectorAll(e)]),t.params.uniqueNavElements&&"string"==typeof e&&i.length>1&&1===t.el.querySelectorAll(e).length&&(i=t.el.querySelector(e))),e&&!i)?e:i}function l(e,i){let n=t.params.navigation;(e=o(e)).forEach(e=>{e&&(e.classList[i?"add":"remove"](...n.disabledClass.split(" ")),"BUTTON"===e.tagName&&(e.disabled=i),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](n.lockClass))})}function u(){let{nextEl:e,prevEl:i}=t.navigation;if(t.params.loop){l(i,!1),l(e,!1);return}l(i,t.isBeginning&&!t.params.rewind),l(e,t.isEnd&&!t.params.rewind)}function c(e){e.preventDefault(),(!t.isBeginning||t.params.loop||t.params.rewind)&&(t.slidePrev(),r("navigationPrev"))}function d(e){e.preventDefault(),(!t.isEnd||t.params.loop||t.params.rewind)&&(t.slideNext(),r("navigationNext"))}function h(){let e=t.params.navigation;if(t.params.navigation=s(t,t.originalParams.navigation,t.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(e.nextEl||e.prevEl))return;let i=a(e.nextEl),n=a(e.prevEl);Object.assign(t.navigation,{nextEl:i,prevEl:n}),i=o(i),n=o(n);let r=(i,n)=>{i&&i.addEventListener("click","next"===n?d:c),!t.enabled&&i&&i.classList.add(...e.lockClass.split(" "))};i.forEach(e=>r(e,"next")),n.forEach(e=>r(e,"prev"))}function p(){let{nextEl:e,prevEl:i}=t.navigation;e=o(e),i=o(i);let n=(e,i)=>{e.removeEventListener("click","next"===i?d:c),e.classList.remove(...t.params.navigation.disabledClass.split(" "))};e.forEach(e=>n(e,"next")),i.forEach(e=>n(e,"prev"))}n("init",()=>{!1===t.params.navigation.enabled?f():(h(),u())}),n("toEdge fromEdge lock unlock",()=>{u()}),n("destroy",()=>{p()}),n("enable disable",()=>{let{nextEl:e,prevEl:i}=t.navigation;if(e=o(e),i=o(i),t.enabled){u();return}[...e,...i].filter(e=>!!e).forEach(e=>e.classList.add(t.params.navigation.lockClass))}),n("click",(e,i)=>{let{nextEl:n,prevEl:s}=t.navigation;n=o(n),s=o(s);let a=i.target;if(t.params.navigation.hideOnClick&&!s.includes(a)&&!n.includes(a)){let e;if(t.pagination&&t.params.pagination&&t.params.pagination.clickable&&(t.pagination.el===a||t.pagination.el.contains(a)))return;n.length?e=n[0].classList.contains(t.params.navigation.hiddenClass):s.length&&(e=s[0].classList.contains(t.params.navigation.hiddenClass)),!0===e?r("navigationShow"):r("navigationHide"),[...n,...s].filter(e=>!!e).forEach(e=>e.classList.toggle(t.params.navigation.hiddenClass))}});let f=()=>{t.el.classList.add(...t.params.navigation.navigationDisabledClass.split(" ")),p()};Object.assign(t.navigation,{enable:()=>{t.el.classList.remove(...t.params.navigation.navigationDisabledClass.split(" ")),h(),u()},disable:f,update:u,init:h,destroy:p})}function a(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function l(e){let t,{swiper:i,extendParams:n,on:o,emit:l}=e,u="swiper-pagination";n({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${u}-bullet`,bulletActiveClass:`${u}-bullet-active`,modifierClass:`${u}-`,currentClass:`${u}-current`,totalClass:`${u}-total`,hiddenClass:`${u}-hidden`,progressbarFillClass:`${u}-progressbar-fill`,progressbarOppositeClass:`${u}-progressbar-opposite`,clickableClass:`${u}-clickable`,lockClass:`${u}-lock`,horizontalClass:`${u}-horizontal`,verticalClass:`${u}-vertical`,paginationDisabledClass:`${u}-disabled`}}),i.pagination={el:null,bullets:[]};let c=0,d=e=>(Array.isArray(e)?e:[e]).filter(e=>!!e);function h(){return!i.params.pagination.el||!i.pagination.el||Array.isArray(i.pagination.el)&&0===i.pagination.el.length}function p(e,t){let{bulletActiveClass:n}=i.params.pagination;e&&(e=e[`${"prev"===t?"previous":"next"}ElementSibling`])&&(e.classList.add(`${n}-${t}`),(e=e[`${"prev"===t?"previous":"next"}ElementSibling`])&&e.classList.add(`${n}-${t}-${t}`))}function f(e){let t=e.target.closest(a(i.params.pagination.bulletClass));if(!t)return;e.preventDefault();let n=(0,r.g)(t)*i.params.slidesPerGroup;if(i.params.loop){if(i.realIndex===n)return;let e=i.realIndex,t=i.getSlideIndexByData(n),r=i.getSlideIndexByData(i.realIndex),s=n=>{let r=i.activeIndex;i.loopFix({direction:n,activeSlideIndex:t,slideTo:!1}),r===i.activeIndex&&i.slideToLoop(e,0,!1,!0)};t>i.slides.length-i.loopedSlides?s(t>r?"next":"prev"):i.params.centeredSlides&&t<Math.floor(("auto"===i.params.slidesPerView?i.slidesPerViewDynamic():Math.ceil(parseFloat(i.params.slidesPerView,10)))/2)&&s("prev"),i.slideToLoop(n)}else i.slideTo(n)}function m(){let e,n;let s=i.rtl,o=i.params.pagination;if(h())return;let u=i.pagination.el;u=d(u);let f=i.virtual&&i.params.virtual.enabled?i.virtual.slides.length:i.slides.length,m=i.params.loop?Math.ceil(f/i.params.slidesPerGroup):i.snapGrid.length;if(i.params.loop?(n=i.previousRealIndex||0,e=i.params.slidesPerGroup>1?Math.floor(i.realIndex/i.params.slidesPerGroup):i.realIndex):void 0!==i.snapIndex?(e=i.snapIndex,n=i.previousSnapIndex):(n=i.previousIndex||0,e=i.activeIndex||0),"bullets"===o.type&&i.pagination.bullets&&i.pagination.bullets.length>0){let a,l,d;let h=i.pagination.bullets;if(o.dynamicBullets&&(t=(0,r.f)(h[0],i.isHorizontal()?"width":"height",!0),u.forEach(e=>{e.style[i.isHorizontal()?"width":"height"]=`${t*(o.dynamicMainBullets+4)}px`}),o.dynamicMainBullets>1&&void 0!==n&&((c+=e-(n||0))>o.dynamicMainBullets-1?c=o.dynamicMainBullets-1:c<0&&(c=0)),d=((l=(a=Math.max(e-c,0))+(Math.min(h.length,o.dynamicMainBullets)-1))+a)/2),h.forEach(e=>{let t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${o.bulletActiveClass}${e}`)].map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...t)}),u.length>1)h.forEach(t=>{let n=(0,r.g)(t);n===e?t.classList.add(...o.bulletActiveClass.split(" ")):i.isElement&&t.setAttribute("part","bullet"),o.dynamicBullets&&(n>=a&&n<=l&&t.classList.add(...`${o.bulletActiveClass}-main`.split(" ")),n===a&&p(t,"prev"),n===l&&p(t,"next"))});else{let t=h[e];if(t&&t.classList.add(...o.bulletActiveClass.split(" ")),i.isElement&&h.forEach((t,i)=>{t.setAttribute("part",i===e?"bullet-active":"bullet")}),o.dynamicBullets){let e=h[a],t=h[l];for(let e=a;e<=l;e+=1)h[e]&&h[e].classList.add(...`${o.bulletActiveClass}-main`.split(" "));p(e,"prev"),p(t,"next")}}if(o.dynamicBullets){let e=Math.min(h.length,o.dynamicMainBullets+4),n=(t*e-t)/2-d*t,r=s?"right":"left";h.forEach(e=>{e.style[i.isHorizontal()?r:"top"]=`${n}px`})}}u.forEach((t,n)=>{if("fraction"===o.type&&(t.querySelectorAll(a(o.currentClass)).forEach(t=>{t.textContent=o.formatFractionCurrent(e+1)}),t.querySelectorAll(a(o.totalClass)).forEach(e=>{e.textContent=o.formatFractionTotal(m)})),"progressbar"===o.type){let n;n=o.progressbarOpposite?i.isHorizontal()?"vertical":"horizontal":i.isHorizontal()?"horizontal":"vertical";let r=(e+1)/m,s=1,l=1;"horizontal"===n?s=r:l=r,t.querySelectorAll(a(o.progressbarFillClass)).forEach(e=>{e.style.transform=`translate3d(0,0,0) scaleX(${s}) scaleY(${l})`,e.style.transitionDuration=`${i.params.speed}ms`})}"custom"===o.type&&o.renderCustom?(t.innerHTML=o.renderCustom(i,e+1,m),0===n&&l("paginationRender",t)):(0===n&&l("paginationRender",t),l("paginationUpdate",t)),i.params.watchOverflow&&i.enabled&&t.classList[i.isLocked?"add":"remove"](o.lockClass)})}function v(){let e=i.params.pagination;if(h())return;let t=i.virtual&&i.params.virtual.enabled?i.virtual.slides.length:i.slides.length,n=i.pagination.el;n=d(n);let r="";if("bullets"===e.type){let n=i.params.loop?Math.ceil(t/i.params.slidesPerGroup):i.snapGrid.length;i.params.freeMode&&i.params.freeMode.enabled&&n>t&&(n=t);for(let t=0;t<n;t+=1)e.renderBullet?r+=e.renderBullet.call(i,t,e.bulletClass):r+=`<${e.bulletElement} ${i.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(r=e.renderFraction?e.renderFraction.call(i,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(r=e.renderProgressbar?e.renderProgressbar.call(i,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),i.pagination.bullets=[],n.forEach(t=>{"custom"!==e.type&&(t.innerHTML=r||""),"bullets"===e.type&&i.pagination.bullets.push(...t.querySelectorAll(a(e.bulletClass)))}),"custom"!==e.type&&l("paginationRender",n[0])}function g(){let e;i.params.pagination=s(i,i.originalParams.pagination,i.params.pagination,{el:"swiper-pagination"});let t=i.params.pagination;t.el&&("string"==typeof t.el&&i.isElement&&(e=i.el.querySelector(t.el)),e||"string"!=typeof t.el||(e=[...document.querySelectorAll(t.el)]),e||(e=t.el),e&&0!==e.length&&(i.params.uniqueNavElements&&"string"==typeof t.el&&Array.isArray(e)&&e.length>1&&(e=[...i.el.querySelectorAll(t.el)]).length>1&&(e=e.filter(e=>(0,r.a)(e,".swiper")[0]===i.el)[0]),Array.isArray(e)&&1===e.length&&(e=e[0]),Object.assign(i.pagination,{el:e}),(e=d(e)).forEach(e=>{"bullets"===t.type&&t.clickable&&e.classList.add(...(t.clickableClass||"").split(" ")),e.classList.add(t.modifierClass+t.type),e.classList.add(i.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(e.classList.add(`${t.modifierClass}${t.type}-dynamic`),c=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&e.classList.add(t.progressbarOppositeClass),t.clickable&&e.addEventListener("click",f),i.enabled||e.classList.add(t.lockClass)})))}function y(){let e=i.params.pagination;if(h())return;let t=i.pagination.el;t&&(t=d(t)).forEach(t=>{t.classList.remove(e.hiddenClass),t.classList.remove(e.modifierClass+e.type),t.classList.remove(i.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(t.classList.remove(...(e.clickableClass||"").split(" ")),t.removeEventListener("click",f))}),i.pagination.bullets&&i.pagination.bullets.forEach(t=>t.classList.remove(...e.bulletActiveClass.split(" ")))}o("changeDirection",()=>{if(!i.pagination||!i.pagination.el)return;let e=i.params.pagination,{el:t}=i.pagination;(t=d(t)).forEach(t=>{t.classList.remove(e.horizontalClass,e.verticalClass),t.classList.add(i.isHorizontal()?e.horizontalClass:e.verticalClass)})}),o("init",()=>{!1===i.params.pagination.enabled?b():(g(),v(),m())}),o("activeIndexChange",()=>{void 0===i.snapIndex&&m()}),o("snapIndexChange",()=>{m()}),o("snapGridLengthChange",()=>{v(),m()}),o("destroy",()=>{y()}),o("enable disable",()=>{let{el:e}=i.pagination;e&&(e=d(e)).forEach(e=>e.classList[i.enabled?"remove":"add"](i.params.pagination.lockClass))}),o("lock unlock",()=>{m()}),o("click",(e,t)=>{let n=t.target,r=d(i.pagination.el);if(i.params.pagination.el&&i.params.pagination.hideOnClick&&r&&r.length>0&&!n.classList.contains(i.params.pagination.bulletClass)){if(i.navigation&&(i.navigation.nextEl&&n===i.navigation.nextEl||i.navigation.prevEl&&n===i.navigation.prevEl))return;!0===r[0].classList.contains(i.params.pagination.hiddenClass)?l("paginationShow"):l("paginationHide"),r.forEach(e=>e.classList.toggle(i.params.pagination.hiddenClass))}});let b=()=>{i.el.classList.add(i.params.pagination.paginationDisabledClass);let{el:e}=i.pagination;e&&(e=d(e)).forEach(e=>e.classList.add(i.params.pagination.paginationDisabledClass)),y()};Object.assign(i.pagination,{enable:()=>{i.el.classList.remove(i.params.pagination.paginationDisabledClass);let{el:e}=i.pagination;e&&(e=d(e)).forEach(e=>e.classList.remove(i.params.pagination.paginationDisabledClass)),g(),v(),m()},disable:b,render:v,update:m,init:g,destroy:y})}function u(e){let t,i,r,s,o,a,l,u,c,{swiper:d,extendParams:h,on:p,emit:f,params:m}=e;d.autoplay={running:!1,paused:!1,timeLeft:0},h({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let v=m&&m.autoplay?m.autoplay.delay:3e3,g=m&&m.autoplay?m.autoplay.delay:3e3,y=new Date().getTime;function b(e){d&&!d.destroyed&&d.wrapperEl&&e.target===d.wrapperEl&&(d.wrapperEl.removeEventListener("transitionend",b),P())}let w=()=>{if(d.destroyed||!d.autoplay.running)return;d.autoplay.paused?s=!0:s&&(g=r,s=!1);let e=d.autoplay.paused?r:y+g-new Date().getTime();d.autoplay.timeLeft=e,f("autoplayTimeLeft",e,e/v),i=requestAnimationFrame(()=>{w()})},x=()=>{let e;if(e=d.virtual&&d.params.virtual.enabled?d.slides.filter(e=>e.classList.contains("swiper-slide-active"))[0]:d.slides[d.activeIndex])return parseInt(e.getAttribute("data-swiper-autoplay"),10)},S=e=>{if(d.destroyed||!d.autoplay.running)return;cancelAnimationFrame(i),w();let n=void 0===e?d.params.autoplay.delay:e;v=d.params.autoplay.delay,g=d.params.autoplay.delay;let s=x();!Number.isNaN(s)&&s>0&&void 0===e&&(n=s,v=s,g=s),r=n;let o=d.params.speed,a=()=>{d&&!d.destroyed&&(d.params.autoplay.reverseDirection?!d.isBeginning||d.params.loop||d.params.rewind?(d.slidePrev(o,!0,!0),f("autoplay")):d.params.autoplay.stopOnLastSlide||(d.slideTo(d.slides.length-1,o,!0,!0),f("autoplay")):!d.isEnd||d.params.loop||d.params.rewind?(d.slideNext(o,!0,!0),f("autoplay")):d.params.autoplay.stopOnLastSlide||(d.slideTo(0,o,!0,!0),f("autoplay")),d.params.cssMode&&(y=new Date().getTime(),requestAnimationFrame(()=>{S()})))};return n>0?(clearTimeout(t),t=setTimeout(()=>{a()},n)):requestAnimationFrame(()=>{a()}),n},E=()=>{d.autoplay.running=!0,S(),f("autoplayStart")},T=()=>{d.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(i),f("autoplayStop")},C=(e,i)=>{if(d.destroyed||!d.autoplay.running)return;clearTimeout(t),e||(c=!0);let n=()=>{f("autoplayPause"),d.params.autoplay.waitForTransition?d.wrapperEl.addEventListener("transitionend",b):P()};if(d.autoplay.paused=!0,i){u&&(r=d.params.autoplay.delay),u=!1,n();return}r=(r||d.params.autoplay.delay)-(new Date().getTime()-y),d.isEnd&&r<0&&!d.params.loop||(r<0&&(r=0),n())},P=()=>{d.isEnd&&r<0&&!d.params.loop||d.destroyed||!d.autoplay.running||(y=new Date().getTime(),c?(c=!1,S(r)):S(),d.autoplay.paused=!1,f("autoplayResume"))},M=()=>{if(d.destroyed||!d.autoplay.running)return;let e=(0,n.g)();"hidden"===e.visibilityState&&(c=!0,C(!0)),"visible"===e.visibilityState&&P()},k=e=>{"mouse"===e.pointerType&&(c=!0,d.animating||d.autoplay.paused||C(!0))},O=e=>{"mouse"===e.pointerType&&d.autoplay.paused&&P()},A=()=>{d.params.autoplay.pauseOnMouseEnter&&(d.el.addEventListener("pointerenter",k),d.el.addEventListener("pointerleave",O))},L=()=>{d.el.removeEventListener("pointerenter",k),d.el.removeEventListener("pointerleave",O)},_=()=>{(0,n.g)().addEventListener("visibilitychange",M)},D=()=>{(0,n.g)().removeEventListener("visibilitychange",M)};p("init",()=>{d.params.autoplay.enabled&&(A(),_(),y=new Date().getTime(),E())}),p("destroy",()=>{L(),D(),d.autoplay.running&&T()}),p("beforeTransitionStart",(e,t,i)=>{!d.destroyed&&d.autoplay.running&&(i||!d.params.autoplay.disableOnInteraction?C(!0,!0):T())}),p("sliderFirstMove",()=>{if(!d.destroyed&&d.autoplay.running){if(d.params.autoplay.disableOnInteraction){T();return}o=!0,a=!1,c=!1,l=setTimeout(()=>{c=!0,a=!0,C(!0)},200)}}),p("touchEnd",()=>{if(!d.destroyed&&d.autoplay.running&&o){if(clearTimeout(l),clearTimeout(t),d.params.autoplay.disableOnInteraction){a=!1,o=!1;return}a&&d.params.cssMode&&P(),a=!1,o=!1}}),p("slideChange",()=>{!d.destroyed&&d.autoplay.running&&(u=!0)}),Object.assign(d.autoplay,{start:E,stop:T,pause:C,resume:P})}function c(e,t,i){let n=`swiper-slide-shadow${i?`-${i}`:""}${e?` swiper-slide-shadow-${e}`:""}`,s=(0,r.k)(t),o=s.querySelector(`.${n.split(" ").join(".")}`);return o||(o=(0,r.c)("div",n.split(" ")),s.append(o)),o}function d(e){let{swiper:t,extendParams:i,on:n}=e;i({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),function(e){let t;let{effect:i,swiper:n,on:r,setTranslate:s,setTransition:o,overwriteParams:a,perspective:l,recreateShadows:u,getEffectParams:c}=e;r("beforeInit",()=>{if(n.params.effect!==i)return;n.classNames.push(`${n.params.containerModifierClass}${i}`),l&&l()&&n.classNames.push(`${n.params.containerModifierClass}3d`);let e=a?a():{};Object.assign(n.params,e),Object.assign(n.originalParams,e)}),r("setTranslate",()=>{n.params.effect===i&&s()}),r("setTransition",(e,t)=>{n.params.effect===i&&o(t)}),r("transitionEnd",()=>{n.params.effect===i&&u&&c&&c().slideShadows&&(n.slides.forEach(e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>e.remove())}),u())}),r("virtualUpdate",()=>{n.params.effect===i&&(n.slides.length||(t=!0),requestAnimationFrame(()=>{t&&n.slides&&n.slides.length&&(s(),t=!1)}))})}({effect:"coverflow",swiper:t,on:n,setTranslate:()=>{let{width:e,height:i,slides:n,slidesSizesGrid:s}=t,o=t.params.coverflowEffect,a=t.isHorizontal(),l=t.translate,u=a?-l+e/2:-l+i/2,d=a?o.rotate:-o.rotate,h=o.depth;for(let e=0,t=n.length;e<t;e+=1){let t=n[e],i=s[e],l=(u-t.swiperSlideOffset-i/2)/i,p="function"==typeof o.modifier?o.modifier(l):l*o.modifier,f=a?d*p:0,m=a?0:d*p,v=-h*Math.abs(p),g=o.stretch;"string"==typeof g&&-1!==g.indexOf("%")&&(g=parseFloat(o.stretch)/100*i);let y=a?0:g*p,b=a?g*p:0,w=1-(1-o.scale)*Math.abs(p);.001>Math.abs(b)&&(b=0),.001>Math.abs(y)&&(y=0),.001>Math.abs(v)&&(v=0),.001>Math.abs(f)&&(f=0),.001>Math.abs(m)&&(m=0),.001>Math.abs(w)&&(w=0);let x=`translate3d(${b}px,${y}px,${v}px)  rotateX(${m}deg) rotateY(${f}deg) scale(${w})`;if(function(e,t){let i=(0,r.k)(t);return i!==t&&(i.style.backfaceVisibility="hidden",i.style["-webkit-backface-visibility"]="hidden"),i}(0,t).style.transform=x,t.style.zIndex=-Math.abs(Math.round(p))+1,o.slideShadows){let e=a?t.querySelector(".swiper-slide-shadow-left"):t.querySelector(".swiper-slide-shadow-top"),i=a?t.querySelector(".swiper-slide-shadow-right"):t.querySelector(".swiper-slide-shadow-bottom");e||(e=c("coverflow",t,a?"left":"top")),i||(i=c("coverflow",t,a?"right":"bottom")),e&&(e.style.opacity=p>0?p:0),i&&(i.style.opacity=-p>0?-p:0)}}},setTransition:e=>{t.slides.map(e=>(0,r.k)(e)).forEach(t=>{t.style.transitionDuration=`${e}ms`,t.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(t=>{t.style.transitionDuration=`${e}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}},3987:function(e,t,i){"use strict";function n(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function r(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach(i=>{void 0===e[i]?e[i]=t[i]:n(t[i])&&n(e[i])&&Object.keys(t[i]).length>0&&r(e[i],t[i])})}i.d(t,{a:function(){return l},g:function(){return o}});let s={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function o(){let e="undefined"!=typeof document?document:{};return r(e,s),e}let a={document:s,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function l(){let e="undefined"!=typeof window?window:{};return r(e,a),e}},3455:function(e,t,i){"use strict";i.d(t,{a:function(){return y},c:function(){return p},d:function(){return o},e:function(){return h},f:function(){return b},g:function(){return g},h:function(){return a},k:function(){return d},l:function(){return v},m:function(){return m},n:function(){return s},o:function(){return f},p:function(){return c},q:function(){return function e(){let t=Object(arguments.length<=0?void 0:arguments[0]),i=["__proto__","constructor","prototype"];for(let n=1;n<arguments.length;n+=1){let r=n<0||arguments.length<=n?void 0:arguments[n];if(null!=r&&("undefined"!=typeof window&&void 0!==window.HTMLElement?!(r instanceof HTMLElement):!r||1!==r.nodeType&&11!==r.nodeType)){let n=Object.keys(Object(r)).filter(e=>0>i.indexOf(e));for(let i=0,s=n.length;i<s;i+=1){let s=n[i],o=Object.getOwnPropertyDescriptor(r,s);void 0!==o&&o.enumerable&&(l(t[s])&&l(r[s])?r[s].__swiper__?t[s]=r[s]:e(t[s],r[s]):!l(t[s])&&l(r[s])?(t[s]={},r[s].__swiper__?t[s]=r[s]:e(t[s],r[s])):t[s]=r[s])}}}return t}},r:function(){return r},s:function(){return u}});var n=i(3987);function r(e){Object.keys(e).forEach(t=>{try{e[t]=null}catch(e){}try{delete e[t]}catch(e){}})}function s(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function o(){return Date.now()}function a(e,t){let i,r,s;void 0===t&&(t="x");let o=(0,n.a)(),a=function(e){let t;let i=(0,n.a)();return i.getComputedStyle&&(t=i.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}(e);return o.WebKitCSSMatrix?((r=a.transform||a.webkitTransform).split(",").length>6&&(r=r.split(", ").map(e=>e.replace(",",".")).join(", ")),s=new o.WebKitCSSMatrix("none"===r?"":r)):i=(s=a.MozTransform||a.OTransform||a.MsTransform||a.msTransform||a.transform||a.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(r=o.WebKitCSSMatrix?s.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(r=o.WebKitCSSMatrix?s.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),r||0}function l(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function u(e,t,i){e.style.setProperty(t,i)}function c(e){let t,{swiper:i,targetPosition:r,side:s}=e,o=(0,n.a)(),a=-i.translate,l=null,u=i.params.speed;i.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(i.cssModeFrameID);let c=r>a?"next":"prev",d=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,h=()=>{t=new Date().getTime(),null===l&&(l=t);let e=a+(.5-Math.cos(Math.max(Math.min((t-l)/u,1),0)*Math.PI)/2)*(r-a);if(d(e,r)&&(e=r),i.wrapperEl.scrollTo({[s]:e}),d(e,r)){i.wrapperEl.style.overflow="hidden",i.wrapperEl.style.scrollSnapType="",setTimeout(()=>{i.wrapperEl.style.overflow="",i.wrapperEl.scrollTo({[s]:e})}),o.cancelAnimationFrame(i.cssModeFrameID);return}i.cssModeFrameID=o.requestAnimationFrame(h)};h()}function d(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function h(e,t){return void 0===t&&(t=""),[...e.children].filter(e=>e.matches(t))}function p(e,t){void 0===t&&(t=[]);let i=document.createElement(e);return i.classList.add(...Array.isArray(t)?t:[t]),i}function f(e,t){let i=[];for(;e.previousElementSibling;){let n=e.previousElementSibling;t?n.matches(t)&&i.push(n):i.push(n),e=n}return i}function m(e,t){let i=[];for(;e.nextElementSibling;){let n=e.nextElementSibling;t?n.matches(t)&&i.push(n):i.push(n),e=n}return i}function v(e,t){return(0,n.a)().getComputedStyle(e,null).getPropertyValue(t)}function g(e){let t,i=e;if(i){for(t=0;null!==(i=i.previousSibling);)1===i.nodeType&&(t+=1);return t}}function y(e,t){let i=[],n=e.parentElement;for(;n;)t?n.matches(t)&&i.push(n):i.push(n),n=n.parentElement;return i}function b(e,t,i){let r=(0,n.a)();return i?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}},7702:function(e,t,i){"use strict";let n,r,s;i.d(t,{tq:function(){return $},o5:function(){return W}});var o=i(2784),a=i(3987),l=i(3455);function u(){return n||(n=function(){let e=(0,a.a)(),t=(0,a.g)();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),n}let c=(e,t)=>{if(!e||e.destroyed||!e.params)return;let i=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(i){let t=i.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(i.shadowRoot?t=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{i.shadowRoot&&(t=i.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`))&&t.remove()})),t&&t.remove()}},d=(e,t)=>{if(!e.slides[t])return;let i=e.slides[t].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},h=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext,i=e.slides.length;if(!i||!t||t<0)return;t=Math.min(t,i);let n="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),r=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){let i=[r-t];i.push(...Array.from({length:t}).map((e,t)=>r+n+t)),e.slides.forEach((t,n)=>{i.includes(t.column)&&d(e,n)});return}let s=r+n-1;if(e.params.rewind||e.params.loop)for(let n=r-t;n<=s+t;n+=1){let t=(n%i+i)%i;(t<r||t>s)&&d(e,t)}else for(let n=Math.max(r-t,0);n<=Math.min(s+t,i-1);n+=1)n!==r&&(n>s||n<r)&&d(e,n)};function p(e){let{swiper:t,runCallbacks:i,direction:n,step:r}=e,{activeIndex:s,previousIndex:o}=t,a=n;if(a||(a=s>o?"next":s<o?"prev":"reset"),t.emit(`transition${r}`),i&&s!==o){if("reset"===a){t.emit(`slideResetTransition${r}`);return}t.emit(`slideChangeTransition${r}`),"next"===a?t.emit(`slideNextTransition${r}`):t.emit(`slidePrevTransition${r}`)}}function f(e){let t=(0,a.g)(),i=(0,a.a)(),n=this.touchEventsData;n.evCache.push(e);let{params:r,touches:s,enabled:o}=this;if(!o||!r.simulateTouch&&"mouse"===e.pointerType||this.animating&&r.preventInteractionOnTransition)return;!this.animating&&r.cssMode&&r.loop&&this.loopFix();let u=e;u.originalEvent&&(u=u.originalEvent);let c=u.target;if("wrapper"===r.touchEventsTarget&&!this.wrapperEl.contains(c)||"which"in u&&3===u.which||"button"in u&&u.button>0||n.isTouched&&n.isMoved)return;let d=!!r.noSwipingClass&&""!==r.noSwipingClass,h=e.composedPath?e.composedPath():e.path;d&&u.target&&u.target.shadowRoot&&h&&(c=h[0]);let p=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,f=!!(u.target&&u.target.shadowRoot);if(r.noSwiping&&(f?function(e,t){return void 0===t&&(t=this),function t(i){if(!i||i===(0,a.g)()||i===(0,a.a)())return null;i.assignedSlot&&(i=i.assignedSlot);let n=i.closest(e);return n||i.getRootNode?n||t(i.getRootNode().host):null}(t)}(p,c):c.closest(p))){this.allowClick=!0;return}if(r.swipeHandler&&!c.closest(r.swipeHandler))return;s.currentX=u.pageX,s.currentY=u.pageY;let m=s.currentX,v=s.currentY,g=r.edgeSwipeDetection||r.iOSEdgeSwipeDetection,y=r.edgeSwipeThreshold||r.iOSEdgeSwipeThreshold;if(g&&(m<=y||m>=i.innerWidth-y)){if("prevent"!==g)return;e.preventDefault()}Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=m,s.startY=v,n.touchStartTime=(0,l.d)(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,r.threshold>0&&(n.allowThresholdMove=!1);let b=!0;c.matches(n.focusableElements)&&(b=!1,"SELECT"===c.nodeName&&(n.isTouched=!1)),t.activeElement&&t.activeElement.matches(n.focusableElements)&&t.activeElement!==c&&t.activeElement.blur();let w=b&&this.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||w)&&!c.isContentEditable&&u.preventDefault(),r.freeMode&&r.freeMode.enabled&&this.freeMode&&this.animating&&!r.cssMode&&this.freeMode.onTouchStart(),this.emit("touchStart",u)}function m(e){let t;let i=(0,a.g)(),n=this.touchEventsData,{params:r,touches:s,rtlTranslate:o,enabled:u}=this;if(!u||!r.simulateTouch&&"mouse"===e.pointerType)return;let c=e;if(c.originalEvent&&(c=c.originalEvent),!n.isTouched){n.startMoving&&n.isScrolling&&this.emit("touchMoveOpposite",c);return}let d=n.evCache.findIndex(e=>e.pointerId===c.pointerId);d>=0&&(n.evCache[d]=c);let h=n.evCache.length>1?n.evCache[0]:c,p=h.pageX,f=h.pageY;if(c.preventedByNestedSwiper){s.startX=p,s.startY=f;return}if(!this.allowTouchMove){c.target.matches(n.focusableElements)||(this.allowClick=!1),n.isTouched&&(Object.assign(s,{startX:p,startY:f,prevX:this.touches.currentX,prevY:this.touches.currentY,currentX:p,currentY:f}),n.touchStartTime=(0,l.d)());return}if(r.touchReleaseOnEdges&&!r.loop){if(this.isVertical()){if(f<s.startY&&this.translate<=this.maxTranslate()||f>s.startY&&this.translate>=this.minTranslate()){n.isTouched=!1,n.isMoved=!1;return}}else if(p<s.startX&&this.translate<=this.maxTranslate()||p>s.startX&&this.translate>=this.minTranslate())return}if(i.activeElement&&c.target===i.activeElement&&c.target.matches(n.focusableElements)){n.isMoved=!0,this.allowClick=!1;return}if(n.allowTouchCallbacks&&this.emit("touchMove",c),c.targetTouches&&c.targetTouches.length>1)return;s.currentX=p,s.currentY=f;let m=s.currentX-s.startX,v=s.currentY-s.startY;if(this.params.threshold&&Math.sqrt(m**2+v**2)<this.params.threshold)return;if(void 0===n.isScrolling){let e;this.isHorizontal()&&s.currentY===s.startY||this.isVertical()&&s.currentX===s.startX?n.isScrolling=!1:m*m+v*v>=25&&(e=180*Math.atan2(Math.abs(v),Math.abs(m))/Math.PI,n.isScrolling=this.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}if(n.isScrolling&&this.emit("touchMoveOpposite",c),void 0===n.startMoving&&(s.currentX!==s.startX||s.currentY!==s.startY)&&(n.startMoving=!0),n.isScrolling||this.zoom&&this.params.zoom&&this.params.zoom.enabled&&n.evCache.length>1){n.isTouched=!1;return}if(!n.startMoving)return;this.allowClick=!1,!r.cssMode&&c.cancelable&&c.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&c.stopPropagation();let g=this.isHorizontal()?m:v,y=this.isHorizontal()?s.currentX-s.previousX:s.currentY-s.previousY;r.oneWayMovement&&(g=Math.abs(g)*(o?1:-1),y=Math.abs(y)*(o?1:-1)),s.diff=g,g*=r.touchRatio,o&&(g=-g,y=-y);let b=this.touchesDirection;this.swipeDirection=g>0?"prev":"next",this.touchesDirection=y>0?"prev":"next";let w=this.params.loop&&!r.cssMode,x="next"===this.swipeDirection&&this.allowSlideNext||"prev"===this.swipeDirection&&this.allowSlidePrev;if(!n.isMoved){if(w&&x&&this.loopFix({direction:this.swipeDirection}),n.startTranslate=this.getTranslate(),this.setTransition(0),this.animating){let e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});this.wrapperEl.dispatchEvent(e)}n.allowMomentumBounce=!1,r.grabCursor&&(!0===this.allowSlideNext||!0===this.allowSlidePrev)&&this.setGrabCursor(!0),this.emit("sliderFirstMove",c)}n.isMoved&&b!==this.touchesDirection&&w&&x&&Math.abs(g)>=1&&(this.loopFix({direction:this.swipeDirection,setTranslate:!0}),t=!0),this.emit("sliderMove",c),n.isMoved=!0,n.currentTranslate=g+n.startTranslate;let S=!0,E=r.resistanceRatio;if(r.touchReleaseOnEdges&&(E=0),g>0?(w&&x&&!t&&n.currentTranslate>(r.centeredSlides?this.minTranslate()-this.size/2:this.minTranslate())&&this.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>this.minTranslate()&&(S=!1,r.resistance&&(n.currentTranslate=this.minTranslate()-1+(-this.minTranslate()+n.startTranslate+g)**E))):g<0&&(w&&x&&!t&&n.currentTranslate<(r.centeredSlides?this.maxTranslate()+this.size/2:this.maxTranslate())&&this.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:this.slides.length-("auto"===r.slidesPerView?this.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),n.currentTranslate<this.maxTranslate()&&(S=!1,r.resistance&&(n.currentTranslate=this.maxTranslate()+1-(this.maxTranslate()-n.startTranslate-g)**E))),S&&(c.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),this.allowSlidePrev||this.allowSlideNext||(n.currentTranslate=n.startTranslate),r.threshold>0){if(Math.abs(g)>r.threshold||n.allowThresholdMove){if(!n.allowThresholdMove){n.allowThresholdMove=!0,s.startX=s.currentX,s.startY=s.currentY,n.currentTranslate=n.startTranslate,s.diff=this.isHorizontal()?s.currentX-s.startX:s.currentY-s.startY;return}}else{n.currentTranslate=n.startTranslate;return}}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&this.freeMode||r.watchSlidesProgress)&&(this.updateActiveIndex(),this.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&this.freeMode&&this.freeMode.onTouchMove(),this.updateProgress(n.currentTranslate),this.setTranslate(n.currentTranslate))}function v(e){let t;let i=this,n=i.touchEventsData,r=n.evCache.findIndex(t=>t.pointerId===e.pointerId);if(r>=0&&n.evCache.splice(r,1),["pointercancel","pointerout","pointerleave","contextmenu"].includes(e.type)&&!(["pointercancel","contextmenu"].includes(e.type)&&(i.browser.isSafari||i.browser.isWebView)))return;let{params:s,touches:o,rtlTranslate:a,slidesGrid:u,enabled:c}=i;if(!c||!s.simulateTouch&&"mouse"===e.pointerType)return;let d=e;if(d.originalEvent&&(d=d.originalEvent),n.allowTouchCallbacks&&i.emit("touchEnd",d),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&s.grabCursor&&i.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}s.grabCursor&&n.isMoved&&n.isTouched&&(!0===i.allowSlideNext||!0===i.allowSlidePrev)&&i.setGrabCursor(!1);let h=(0,l.d)(),p=h-n.touchStartTime;if(i.allowClick){let e=d.path||d.composedPath&&d.composedPath();i.updateClickedSlide(e&&e[0]||d.target,e),i.emit("tap click",d),p<300&&h-n.lastClickTime<300&&i.emit("doubleTap doubleClick",d)}if(n.lastClickTime=(0,l.d)(),(0,l.n)(()=>{i.destroyed||(i.allowClick=!0)}),!n.isTouched||!n.isMoved||!i.swipeDirection||0===o.diff||n.currentTranslate===n.startTranslate){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,t=s.followFinger?a?i.translate:-i.translate:-n.currentTranslate,s.cssMode)return;if(s.freeMode&&s.freeMode.enabled){i.freeMode.onTouchEnd({currentPos:t});return}let f=0,m=i.slidesSizesGrid[0];for(let e=0;e<u.length;e+=e<s.slidesPerGroupSkip?1:s.slidesPerGroup){let i=e<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;void 0!==u[e+i]?t>=u[e]&&t<u[e+i]&&(f=e,m=u[e+i]-u[e]):t>=u[e]&&(f=e,m=u[u.length-1]-u[u.length-2])}let v=null,g=null;s.rewind&&(i.isBeginning?g=s.virtual&&s.virtual.enabled&&i.virtual?i.virtual.slides.length-1:i.slides.length-1:i.isEnd&&(v=0));let y=(t-u[f])/m,b=f<s.slidesPerGroupSkip-1?1:s.slidesPerGroup;if(p>s.longSwipesMs){if(!s.longSwipes){i.slideTo(i.activeIndex);return}"next"===i.swipeDirection&&(y>=s.longSwipesRatio?i.slideTo(s.rewind&&i.isEnd?v:f+b):i.slideTo(f)),"prev"===i.swipeDirection&&(y>1-s.longSwipesRatio?i.slideTo(f+b):null!==g&&y<0&&Math.abs(y)>s.longSwipesRatio?i.slideTo(g):i.slideTo(f))}else{if(!s.shortSwipes){i.slideTo(i.activeIndex);return}i.navigation&&(d.target===i.navigation.nextEl||d.target===i.navigation.prevEl)?d.target===i.navigation.nextEl?i.slideTo(f+b):i.slideTo(f):("next"===i.swipeDirection&&i.slideTo(null!==v?v:f+b),"prev"===i.swipeDirection&&i.slideTo(null!==g?g:f))}}function g(){let e=this,{params:t,el:i}=e;if(i&&0===i.offsetWidth)return;t.breakpoints&&e.setBreakpoint();let{allowSlideNext:n,allowSlidePrev:r,snapGrid:s}=e,o=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();let a=o&&t.loop;"auto"!==t.slidesPerView&&!(t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||a?e.params.loop&&!o?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=r,e.allowSlideNext=n,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}function y(e){this.enabled&&!this.allowClick&&(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function b(){let{wrapperEl:e,rtlTranslate:t,enabled:i}=this;if(!i)return;this.previousTranslate=this.translate,this.isHorizontal()?this.translate=-e.scrollLeft:this.translate=-e.scrollTop,0===this.translate&&(this.translate=0),this.updateActiveIndex(),this.updateSlidesClasses();let n=this.maxTranslate()-this.minTranslate();(0===n?0:(this.translate-this.minTranslate())/n)!==this.progress&&this.updateProgress(t?-this.translate:this.translate),this.emit("setTranslate",this.translate,!1)}function w(e){c(this,e.target),!this.params.cssMode&&("auto"===this.params.slidesPerView||this.params.autoHeight)&&this.update()}let x=!1;function S(){}let E=(e,t)=>{let i=(0,a.g)(),{params:n,el:r,wrapperEl:s,device:o}=e,l=!!n.nested,u="on"===t?"addEventListener":"removeEventListener";r[u]("pointerdown",e.onTouchStart,{passive:!1}),i[u]("pointermove",e.onTouchMove,{passive:!1,capture:l}),i[u]("pointerup",e.onTouchEnd,{passive:!0}),i[u]("pointercancel",e.onTouchEnd,{passive:!0}),i[u]("pointerout",e.onTouchEnd,{passive:!0}),i[u]("pointerleave",e.onTouchEnd,{passive:!0}),i[u]("contextmenu",e.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&r[u]("click",e.onClick,!0),n.cssMode&&s[u]("scroll",e.onScroll),n.updateOnWindowResize?e[t](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",g,!0):e[t]("observerUpdate",g,!0),r[u]("load",e.onLoad,{capture:!0})},T=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var C={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold: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,loopedSlides:null,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",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};let P={eventsEmitter:{on(e,t,i){let n=this;if(!n.eventsListeners||n.destroyed||"function"!=typeof t)return n;let r=i?"unshift":"push";return e.split(" ").forEach(e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][r](t)}),n},once(e,t,i){let n=this;if(!n.eventsListeners||n.destroyed||"function"!=typeof t)return n;function r(){n.off(e,r),r.__emitterProxy&&delete r.__emitterProxy;for(var i=arguments.length,s=Array(i),o=0;o<i;o++)s[o]=arguments[o];t.apply(n,s)}return r.__emitterProxy=t,n.on(e,r,i)},onAny(e,t){return!this.eventsListeners||this.destroyed||"function"!=typeof e||0>this.eventsAnyListeners.indexOf(e)&&this.eventsAnyListeners[t?"unshift":"push"](e),this},offAny(e){if(!this.eventsListeners||this.destroyed||!this.eventsAnyListeners)return this;let t=this.eventsAnyListeners.indexOf(e);return t>=0&&this.eventsAnyListeners.splice(t,1),this},off(e,t){let i=this;return i.eventsListeners&&!i.destroyed&&i.eventsListeners&&e.split(" ").forEach(e=>{void 0===t?i.eventsListeners[e]=[]:i.eventsListeners[e]&&i.eventsListeners[e].forEach((n,r)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&i.eventsListeners[e].splice(r,1)})}),i},emit(){let e,t,i;let n=this;if(!n.eventsListeners||n.destroyed||!n.eventsListeners)return n;for(var r=arguments.length,s=Array(r),o=0;o<r;o++)s[o]=arguments[o];return"string"==typeof s[0]||Array.isArray(s[0])?(e=s[0],t=s.slice(1,s.length),i=n):(e=s[0].events,t=s[0].data,i=s[0].context||n),t.unshift(i),(Array.isArray(e)?e:e.split(" ")).forEach(e=>{n.eventsAnyListeners&&n.eventsAnyListeners.length&&n.eventsAnyListeners.forEach(n=>{n.apply(i,[e,...t])}),n.eventsListeners&&n.eventsListeners[e]&&n.eventsListeners[e].forEach(e=>{e.apply(i,t)})}),n}},update:{updateSize:function(){let e,t;let i=this.el;e=void 0!==this.params.width&&null!==this.params.width?this.params.width:i.clientWidth,t=void 0!==this.params.height&&null!==this.params.height?this.params.height:i.clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt((0,l.l)(i,"padding-left")||0,10)-parseInt((0,l.l)(i,"padding-right")||0,10),t=t-parseInt((0,l.l)(i,"padding-top")||0,10)-parseInt((0,l.l)(i,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(this,{width:e,height:t,size:this.isHorizontal()?e:t}))},updateSlides:function(){let e;let t=this;function i(e){return t.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]}function n(e,t){return parseFloat(e.getPropertyValue(i(t))||0)}let r=t.params,{wrapperEl:s,slidesEl:o,size:a,rtlTranslate:u,wrongRTL:c}=t,d=t.virtual&&r.virtual.enabled,h=d?t.virtual.slides.length:t.slides.length,p=(0,l.e)(o,`.${t.params.slideClass}, swiper-slide`),f=d?t.virtual.slides.length:p.length,m=[],v=[],g=[],y=r.slidesOffsetBefore;"function"==typeof y&&(y=r.slidesOffsetBefore.call(t));let b=r.slidesOffsetAfter;"function"==typeof b&&(b=r.slidesOffsetAfter.call(t));let w=t.snapGrid.length,x=t.slidesGrid.length,S=r.spaceBetween,E=-y,T=0,C=0;if(void 0===a)return;"string"==typeof S&&S.indexOf("%")>=0?S=parseFloat(S.replace("%",""))/100*a:"string"==typeof S&&(S=parseFloat(S)),t.virtualSize=-S,p.forEach(e=>{u?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),r.centeredSlides&&r.cssMode&&((0,l.s)(s,"--swiper-centered-offset-before",""),(0,l.s)(s,"--swiper-centered-offset-after",""));let P=r.grid&&r.grid.rows>1&&t.grid;P&&t.grid.initSlides(f);let M="auto"===r.slidesPerView&&r.breakpoints&&Object.keys(r.breakpoints).filter(e=>void 0!==r.breakpoints[e].slidesPerView).length>0;for(let s=0;s<f;s+=1){let o;if(e=0,p[s]&&(o=p[s]),P&&t.grid.updateSlide(s,o,f,i),!p[s]||"none"!==(0,l.l)(o,"display")){if("auto"===r.slidesPerView){M&&(p[s].style[i("width")]="");let a=getComputedStyle(o),u=o.style.transform,c=o.style.webkitTransform;if(u&&(o.style.transform="none"),c&&(o.style.webkitTransform="none"),r.roundLengths)e=t.isHorizontal()?(0,l.f)(o,"width",!0):(0,l.f)(o,"height",!0);else{let t=n(a,"width"),i=n(a,"padding-left"),r=n(a,"padding-right"),s=n(a,"margin-left"),l=n(a,"margin-right"),u=a.getPropertyValue("box-sizing");if(u&&"border-box"===u)e=t+s+l;else{let{clientWidth:n,offsetWidth:a}=o;e=t+i+r+s+l+(a-n)}}u&&(o.style.transform=u),c&&(o.style.webkitTransform=c),r.roundLengths&&(e=Math.floor(e))}else e=(a-(r.slidesPerView-1)*S)/r.slidesPerView,r.roundLengths&&(e=Math.floor(e)),p[s]&&(p[s].style[i("width")]=`${e}px`);p[s]&&(p[s].swiperSlideSize=e),g.push(e),r.centeredSlides?(E=E+e/2+T/2+S,0===T&&0!==s&&(E=E-a/2-S),0===s&&(E=E-a/2-S),.001>Math.abs(E)&&(E=0),r.roundLengths&&(E=Math.floor(E)),C%r.slidesPerGroup==0&&m.push(E),v.push(E)):(r.roundLengths&&(E=Math.floor(E)),(C-Math.min(t.params.slidesPerGroupSkip,C))%t.params.slidesPerGroup==0&&m.push(E),v.push(E),E=E+e+S),t.virtualSize+=e+S,T=e,C+=1}}if(t.virtualSize=Math.max(t.virtualSize,a)+b,u&&c&&("slide"===r.effect||"coverflow"===r.effect)&&(s.style.width=`${t.virtualSize+S}px`),r.setWrapperSize&&(s.style[i("width")]=`${t.virtualSize+S}px`),P&&t.grid.updateWrapperSize(e,m,i),!r.centeredSlides){let e=[];for(let i=0;i<m.length;i+=1){let n=m[i];r.roundLengths&&(n=Math.floor(n)),m[i]<=t.virtualSize-a&&e.push(n)}m=e,Math.floor(t.virtualSize-a)-Math.floor(m[m.length-1])>1&&m.push(t.virtualSize-a)}if(d&&r.loop){let e=g[0]+S;if(r.slidesPerGroup>1){let i=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/r.slidesPerGroup),n=e*r.slidesPerGroup;for(let e=0;e<i;e+=1)m.push(m[m.length-1]+n)}for(let i=0;i<t.virtual.slidesBefore+t.virtual.slidesAfter;i+=1)1===r.slidesPerGroup&&m.push(m[m.length-1]+e),v.push(v[v.length-1]+e),t.virtualSize+=e}if(0===m.length&&(m=[0]),0!==S){let e=t.isHorizontal()&&u?"marginLeft":i("marginRight");p.filter((e,t)=>!r.cssMode||!!r.loop||t!==p.length-1).forEach(t=>{t.style[e]=`${S}px`})}if(r.centeredSlides&&r.centeredSlidesBounds){let e=0;g.forEach(t=>{e+=t+(S||0)});let t=(e-=S)-a;m=m.map(e=>e<=0?-y:e>t?t+b:e)}if(r.centerInsufficientSlides){let e=0;if(g.forEach(t=>{e+=t+(S||0)}),(e-=S)<a){let t=(a-e)/2;m.forEach((e,i)=>{m[i]=e-t}),v.forEach((e,i)=>{v[i]=e+t})}}if(Object.assign(t,{slides:p,snapGrid:m,slidesGrid:v,slidesSizesGrid:g}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){(0,l.s)(s,"--swiper-centered-offset-before",`${-m[0]}px`),(0,l.s)(s,"--swiper-centered-offset-after",`${t.size/2-g[g.length-1]/2}px`);let e=-t.snapGrid[0],i=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(t=>t+e),t.slidesGrid=t.slidesGrid.map(e=>e+i)}if(f!==h&&t.emit("slidesLengthChange"),m.length!==w&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),v.length!==x&&t.emit("slidesGridLengthChange"),r.watchSlidesProgress&&t.updateSlidesOffset(),!d&&!r.cssMode&&("slide"===r.effect||"fade"===r.effect)){let e=`${r.containerModifierClass}backface-hidden`,i=t.el.classList.contains(e);f<=r.maxBackfaceHiddenSlides?i||t.el.classList.add(e):i&&t.el.classList.remove(e)}},updateAutoHeight:function(e){let t;let i=this,n=[],r=i.virtual&&i.params.virtual.enabled,s=0;"number"==typeof e?i.setTransition(e):!0===e&&i.setTransition(i.params.speed);let o=e=>r?i.slides[i.getSlideIndexByData(e)]:i.slides[e];if("auto"!==i.params.slidesPerView&&i.params.slidesPerView>1){if(i.params.centeredSlides)(i.visibleSlides||[]).forEach(e=>{n.push(e)});else for(t=0;t<Math.ceil(i.params.slidesPerView);t+=1){let e=i.activeIndex+t;if(e>i.slides.length&&!r)break;n.push(o(e))}}else n.push(o(i.activeIndex));for(t=0;t<n.length;t+=1)if(void 0!==n[t]){let e=n[t].offsetHeight;s=e>s?e:s}(s||0===s)&&(i.wrapperEl.style.height=`${s}px`)},updateSlidesOffset:function(){let e=this.slides,t=this.isElement?this.isHorizontal()?this.wrapperEl.offsetLeft:this.wrapperEl.offsetTop:0;for(let i=0;i<e.length;i+=1)e[i].swiperSlideOffset=(this.isHorizontal()?e[i].offsetLeft:e[i].offsetTop)-t-this.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);let t=this.params,{slides:i,rtlTranslate:n,snapGrid:r}=this;if(0===i.length)return;void 0===i[0].swiperSlideOffset&&this.updateSlidesOffset();let s=-e;n&&(s=e),i.forEach(e=>{e.classList.remove(t.slideVisibleClass)}),this.visibleSlidesIndexes=[],this.visibleSlides=[];let o=t.spaceBetween;"string"==typeof o&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*this.size:"string"==typeof o&&(o=parseFloat(o));for(let e=0;e<i.length;e+=1){let a=i[e],l=a.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(l-=i[0].swiperSlideOffset);let u=(s+(t.centeredSlides?this.minTranslate():0)-l)/(a.swiperSlideSize+o),c=(s-r[0]+(t.centeredSlides?this.minTranslate():0)-l)/(a.swiperSlideSize+o),d=-(s-l),h=d+this.slidesSizesGrid[e];(d>=0&&d<this.size-1||h>1&&h<=this.size||d<=0&&h>=this.size)&&(this.visibleSlides.push(a),this.visibleSlidesIndexes.push(e),i[e].classList.add(t.slideVisibleClass)),a.progress=n?-u:u,a.originalProgress=n?-c:c}},updateProgress:function(e){if(void 0===e){let t=this.rtlTranslate?-1:1;e=this&&this.translate&&this.translate*t||0}let t=this.params,i=this.maxTranslate()-this.minTranslate(),{progress:n,isBeginning:r,isEnd:s,progressLoop:o}=this,a=r,l=s;if(0===i)n=0,r=!0,s=!0;else{n=(e-this.minTranslate())/i;let t=1>Math.abs(e-this.minTranslate()),o=1>Math.abs(e-this.maxTranslate());r=t||n<=0,s=o||n>=1,t&&(n=0),o&&(n=1)}if(t.loop){let t=this.getSlideIndexByData(0),i=this.getSlideIndexByData(this.slides.length-1),n=this.slidesGrid[t],r=this.slidesGrid[i],s=this.slidesGrid[this.slidesGrid.length-1],a=Math.abs(e);(o=a>=n?(a-n)/s:(a+s-r)/s)>1&&(o-=1)}Object.assign(this,{progress:n,progressLoop:o,isBeginning:r,isEnd:s}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&this.updateSlidesProgress(e),r&&!a&&this.emit("reachBeginning toEdge"),s&&!l&&this.emit("reachEnd toEdge"),(a&&!r||l&&!s)&&this.emit("fromEdge"),this.emit("progress",n)},updateSlidesClasses:function(){let e;let{slides:t,params:i,slidesEl:n,activeIndex:r}=this,s=this.virtual&&i.virtual.enabled,o=e=>(0,l.e)(n,`.${i.slideClass}${e}, swiper-slide${e}`)[0];if(t.forEach(e=>{e.classList.remove(i.slideActiveClass,i.slideNextClass,i.slidePrevClass)}),s){if(i.loop){let t=r-this.virtual.slidesBefore;t<0&&(t=this.virtual.slides.length+t),t>=this.virtual.slides.length&&(t-=this.virtual.slides.length),e=o(`[data-swiper-slide-index="${t}"]`)}else e=o(`[data-swiper-slide-index="${r}"]`)}else e=t[r];if(e){e.classList.add(i.slideActiveClass);let n=(0,l.m)(e,`.${i.slideClass}, swiper-slide`)[0];i.loop&&!n&&(n=t[0]),n&&n.classList.add(i.slideNextClass);let r=(0,l.o)(e,`.${i.slideClass}, swiper-slide`)[0];i.loop,r&&r.classList.add(i.slidePrevClass)}this.emitSlidesClasses()},updateActiveIndex:function(e){let t,i;let n=this,r=n.rtlTranslate?n.translate:-n.translate,{snapGrid:s,params:o,activeIndex:a,realIndex:l,snapIndex:u}=n,c=e,d=e=>{let t=e-n.virtual.slidesBefore;return t<0&&(t=n.virtual.slides.length+t),t>=n.virtual.slides.length&&(t-=n.virtual.slides.length),t};if(void 0===c&&(c=function(e){let t;let{slidesGrid:i,params:n}=e,r=e.rtlTranslate?e.translate:-e.translate;for(let e=0;e<i.length;e+=1)void 0!==i[e+1]?r>=i[e]&&r<i[e+1]-(i[e+1]-i[e])/2?t=e:r>=i[e]&&r<i[e+1]&&(t=e+1):r>=i[e]&&(t=e);return n.normalizeSlideIndex&&(t<0||void 0===t)&&(t=0),t}(n)),s.indexOf(r)>=0)t=s.indexOf(r);else{let e=Math.min(o.slidesPerGroupSkip,c);t=e+Math.floor((c-e)/o.slidesPerGroup)}if(t>=s.length&&(t=s.length-1),c===a){t!==u&&(n.snapIndex=t,n.emit("snapIndexChange")),n.params.loop&&n.virtual&&n.params.virtual.enabled&&(n.realIndex=d(c));return}i=n.virtual&&o.virtual.enabled&&o.loop?d(c):n.slides[c]?parseInt(n.slides[c].getAttribute("data-swiper-slide-index")||c,10):c,Object.assign(n,{previousSnapIndex:u,snapIndex:t,previousRealIndex:l,realIndex:i,previousIndex:a,activeIndex:c}),n.initialized&&h(n),n.emit("activeIndexChange"),n.emit("snapIndexChange"),(n.initialized||n.params.runCallbacksOnInit)&&(l!==i&&n.emit("realIndexChange"),n.emit("slideChange"))},updateClickedSlide:function(e,t){let i;let n=this.params,r=e.closest(`.${n.slideClass}, swiper-slide`);!r&&this.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!r&&e.matches&&e.matches(`.${n.slideClass}, swiper-slide`)&&(r=e)});let s=!1;if(r){for(let e=0;e<this.slides.length;e+=1)if(this.slides[e]===r){s=!0,i=e;break}}if(r&&s)this.clickedSlide=r,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(r.getAttribute("data-swiper-slide-index"),10):this.clickedIndex=i;else{this.clickedSlide=void 0,this.clickedIndex=void 0;return}n.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},translate:{getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");let{params:t,rtlTranslate:i,translate:n,wrapperEl:r}=this;if(t.virtualTranslate)return i?-n:n;if(t.cssMode)return n;let s=(0,l.h)(r,e);return s+=this.cssOverflowAdjustment(),i&&(s=-s),s||0},setTranslate:function(e,t){let{rtlTranslate:i,params:n,wrapperEl:r,progress:s}=this,o=0,a=0;this.isHorizontal()?o=i?-e:e:a=e,n.roundLengths&&(o=Math.floor(o),a=Math.floor(a)),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?o:a,n.cssMode?r[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-o:-a:n.virtualTranslate||(this.isHorizontal()?o-=this.cssOverflowAdjustment():a-=this.cssOverflowAdjustment(),r.style.transform=`translate3d(${o}px, ${a}px, 0px)`);let l=this.maxTranslate()-this.minTranslate();(0===l?0:(e-this.minTranslate())/l)!==s&&this.updateProgress(e),this.emit("setTranslate",this.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,i,n,r){let s;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),void 0===n&&(n=!0);let o=this,{params:a,wrapperEl:u}=o;if(o.animating&&a.preventInteractionOnTransition)return!1;let c=o.minTranslate(),d=o.maxTranslate();if(s=n&&e>c?c:n&&e<d?d:e,o.updateProgress(s),a.cssMode){let e=o.isHorizontal();if(0===t)u[e?"scrollLeft":"scrollTop"]=-s;else{if(!o.support.smoothScroll)return(0,l.p)({swiper:o,targetPosition:-s,side:e?"left":"top"}),!0;u.scrollTo({[e?"left":"top"]:-s,behavior:"smooth"})}return!0}return 0===t?(o.setTransition(0),o.setTranslate(s),i&&(o.emit("beforeTransitionStart",t,r),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(s),i&&(o.emit("beforeTransitionStart",t,r),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,i&&o.emit("transitionEnd"))}),o.wrapperEl.addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){this.params.cssMode||(this.wrapperEl.style.transitionDuration=`${e}ms`,this.wrapperEl.style.transitionDelay=0===e?"0ms":""),this.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);let{params:i}=this;i.cssMode||(i.autoHeight&&this.updateAutoHeight(),p({swiper:this,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);let{params:i}=this;this.animating=!1,i.cssMode||(this.setTransition(0),p({swiper:this,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e,t,i,n,r){let s;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),"string"==typeof e&&(e=parseInt(e,10));let o=this,a=e;a<0&&(a=0);let{params:u,snapGrid:c,slidesGrid:d,previousIndex:h,activeIndex:p,rtlTranslate:f,wrapperEl:m,enabled:v}=o;if(o.animating&&u.preventInteractionOnTransition||!v&&!n&&!r)return!1;let g=Math.min(o.params.slidesPerGroupSkip,a),y=g+Math.floor((a-g)/o.params.slidesPerGroup);y>=c.length&&(y=c.length-1);let b=-c[y];if(u.normalizeSlideIndex)for(let e=0;e<d.length;e+=1){let t=-Math.floor(100*b),i=Math.floor(100*d[e]),n=Math.floor(100*d[e+1]);void 0!==d[e+1]?t>=i&&t<n-(n-i)/2?a=e:t>=i&&t<n&&(a=e+1):t>=i&&(a=e)}if(o.initialized&&a!==p&&(!o.allowSlideNext&&(f?b>o.translate&&b>o.minTranslate():b<o.translate&&b<o.minTranslate())||!o.allowSlidePrev&&b>o.translate&&b>o.maxTranslate()&&(p||0)!==a))return!1;if(a!==(h||0)&&i&&o.emit("beforeSlideChangeStart"),o.updateProgress(b),s=a>p?"next":a<p?"prev":"reset",f&&-b===o.translate||!f&&b===o.translate)return o.updateActiveIndex(a),u.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),"slide"!==u.effect&&o.setTranslate(b),"reset"!==s&&(o.transitionStart(i,s),o.transitionEnd(i,s)),!1;if(u.cssMode){let e=o.isHorizontal(),i=f?b:-b;if(0===t){let t=o.virtual&&o.params.virtual.enabled;t&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),t&&!o._cssModeVirtualInitialSet&&o.params.initialSlide>0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{m[e?"scrollLeft":"scrollTop"]=i})):m[e?"scrollLeft":"scrollTop"]=i,t&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1})}else{if(!o.support.smoothScroll)return(0,l.p)({swiper:o,targetPosition:i,side:e?"left":"top"}),!0;m.scrollTo({[e?"left":"top"]:i,behavior:"smooth"})}return!0}return o.setTransition(t),o.setTranslate(b),o.updateActiveIndex(a),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,n),o.transitionStart(i,s),0===t?o.transitionEnd(i,s):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(i,s))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,i,n){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0),"string"==typeof e&&(e=parseInt(e,10));let r=e;return this.params.loop&&(this.virtual&&this.params.virtual.enabled?r+=this.virtual.slidesBefore:r=this.getSlideIndexByData(r)),this.slideTo(r,t,i,n)},slideNext:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);let n=this,{enabled:r,params:s,animating:o}=n;if(!r)return n;let a=s.slidesPerGroup;"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(a=Math.max(n.slidesPerViewDynamic("current",!0),1));let l=n.activeIndex<s.slidesPerGroupSkip?1:a,u=n.virtual&&s.virtual.enabled;if(s.loop){if(o&&!u&&s.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&s.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+l,e,t,i)}),!0}return s.rewind&&n.isEnd?n.slideTo(0,e,t,i):n.slideTo(n.activeIndex+l,e,t,i)},slidePrev:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);let n=this,{params:r,snapGrid:s,slidesGrid:o,rtlTranslate:a,enabled:l,animating:u}=n;if(!l)return n;let c=n.virtual&&r.virtual.enabled;if(r.loop){if(u&&!c&&r.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}let h=d(a?n.translate:-n.translate),p=s.map(e=>d(e)),f=s[p.indexOf(h)-1];if(void 0===f&&r.cssMode){let e;s.forEach((t,i)=>{h>=t&&(e=i)}),void 0!==e&&(f=s[e>0?e-1:e])}let m=0;if(void 0!==f&&((m=o.indexOf(f))<0&&(m=n.activeIndex-1),"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(m=Math.max(m=m-n.slidesPerViewDynamic("previous",!0)+1,0))),r.rewind&&n.isBeginning){let r=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(r,e,t,i)}return r.loop&&0===n.activeIndex&&r.cssMode?(requestAnimationFrame(()=>{n.slideTo(m,e,t,i)}),!0):n.slideTo(m,e,t,i)},slideReset:function(e,t,i){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,i)},slideToClosest:function(e,t,i,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===n&&(n=.5);let r=this.activeIndex,s=Math.min(this.params.slidesPerGroupSkip,r),o=s+Math.floor((r-s)/this.params.slidesPerGroup),a=this.rtlTranslate?this.translate:-this.translate;if(a>=this.snapGrid[o]){let e=this.snapGrid[o];a-e>(this.snapGrid[o+1]-e)*n&&(r+=this.params.slidesPerGroup)}else{let e=this.snapGrid[o-1];a-e<=(this.snapGrid[o]-e)*n&&(r-=this.params.slidesPerGroup)}return r=Math.min(r=Math.max(r,0),this.slidesGrid.length-1),this.slideTo(r,e,t,i)},slideToClickedSlide:function(){let e;let t=this,{params:i,slidesEl:n}=t,r="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,s=t.clickedIndex,o=t.isElement?"swiper-slide":`.${i.slideClass}`;if(i.loop){if(t.animating)return;e=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),i.centeredSlides?s<t.loopedSlides-r/2||s>t.slides.length-t.loopedSlides+r/2?(t.loopFix(),s=t.getSlideIndex((0,l.e)(n,`${o}[data-swiper-slide-index="${e}"]`)[0]),(0,l.n)(()=>{t.slideTo(s)})):t.slideTo(s):s>t.slides.length-r?(t.loopFix(),s=t.getSlideIndex((0,l.e)(n,`${o}[data-swiper-slide-index="${e}"]`)[0]),(0,l.n)(()=>{t.slideTo(s)})):t.slideTo(s)}else t.slideTo(s)}},loop:{loopCreate:function(e){let{params:t,slidesEl:i}=this;!t.loop||this.virtual&&this.params.virtual.enabled||((0,l.e)(i,`.${t.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}),this.loopFix({slideRealIndex:e,direction:t.centeredSlides?void 0:"next"}))},loopFix:function(e){let{slideRealIndex:t,slideTo:i=!0,direction:n,setTranslate:r,activeSlideIndex:s,byController:o,byMousewheel:a}=void 0===e?{}:e,l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");let{slides:u,allowSlidePrev:c,allowSlideNext:d,slidesEl:h,params:p}=l;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&p.virtual.enabled){i&&(p.centeredSlides||0!==l.snapIndex?p.centeredSlides&&l.snapIndex<p.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0):l.slideTo(l.virtual.slides.length,0,!1,!0)),l.allowSlidePrev=c,l.allowSlideNext=d,l.emit("loopFix");return}let f="auto"===p.slidesPerView?l.slidesPerViewDynamic():Math.ceil(parseFloat(p.slidesPerView,10)),m=p.loopedSlides||f;m%p.slidesPerGroup!=0&&(m+=p.slidesPerGroup-m%p.slidesPerGroup),l.loopedSlides=m;let v=[],g=[],y=l.activeIndex;void 0===s?s=l.getSlideIndex(l.slides.filter(e=>e.classList.contains(p.slideActiveClass))[0]):y=s;let b="next"===n||!n,w="prev"===n||!n,x=0,S=0;if(s<m){x=Math.max(m-s,p.slidesPerGroup);for(let e=0;e<m-s;e+=1){let t=e-Math.floor(e/u.length)*u.length;v.push(u.length-t-1)}}else if(s>l.slides.length-2*m){S=Math.max(s-(l.slides.length-2*m),p.slidesPerGroup);for(let e=0;e<S;e+=1){let t=e-Math.floor(e/u.length)*u.length;g.push(t)}}if(w&&v.forEach(e=>{l.slides[e].swiperLoopMoveDOM=!0,h.prepend(l.slides[e]),l.slides[e].swiperLoopMoveDOM=!1}),b&&g.forEach(e=>{l.slides[e].swiperLoopMoveDOM=!0,h.append(l.slides[e]),l.slides[e].swiperLoopMoveDOM=!1}),l.recalcSlides(),"auto"===p.slidesPerView&&l.updateSlides(),p.watchSlidesProgress&&l.updateSlidesOffset(),i){if(v.length>0&&w){if(void 0===t){let e=l.slidesGrid[y],t=l.slidesGrid[y+x]-e;a?l.setTranslate(l.translate-t):(l.slideTo(y+x,0,!1,!0),r&&(l.touches[l.isHorizontal()?"startX":"startY"]+=t,l.touchEventsData.currentTranslate=l.translate))}else r&&(l.slideToLoop(t,0,!1,!0),l.touchEventsData.currentTranslate=l.translate)}else if(g.length>0&&b){if(void 0===t){let e=l.slidesGrid[y],t=l.slidesGrid[y-S]-e;a?l.setTranslate(l.translate-t):(l.slideTo(y-S,0,!1,!0),r&&(l.touches[l.isHorizontal()?"startX":"startY"]+=t,l.touchEventsData.currentTranslate=l.translate))}else l.slideToLoop(t,0,!1,!0)}}if(l.allowSlidePrev=c,l.allowSlideNext=d,l.controller&&l.controller.control&&!o){let e={slideRealIndex:t,direction:n,setTranslate:r,activeSlideIndex:s,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===p.slidesPerView&&i})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...e,slideTo:l.controller.control.params.slidesPerView===p.slidesPerView&&i})}l.emit("loopFix")},loopDestroy:function(){let{params:e,slidesEl:t}=this;if(!e.loop||this.virtual&&this.params.virtual.enabled)return;this.recalcSlides();let i=[];this.slides.forEach(e=>{i[void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex]=e}),this.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),i.forEach(e=>{t.append(e)}),this.recalcSlides(),this.slideTo(this.realIndex,0)}},grabCursor:{setGrabCursor:function(e){let t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;let i="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){let e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){let e=(0,a.g)(),{params:t}=this;this.onTouchStart=f.bind(this),this.onTouchMove=m.bind(this),this.onTouchEnd=v.bind(this),t.cssMode&&(this.onScroll=b.bind(this)),this.onClick=y.bind(this),this.onLoad=w.bind(this),x||(e.addEventListener("touchstart",S),x=!0),E(this,"on")},detachEvents:function(){E(this,"off")}},breakpoints:{setBreakpoint:function(){let e=this,{realIndex:t,initialized:i,params:n,el:r}=e,s=n.breakpoints;if(!s||s&&0===Object.keys(s).length)return;let o=e.getBreakpoint(s,e.params.breakpointsBase,e.el);if(!o||e.currentBreakpoint===o)return;let a=(o in s?s[o]:void 0)||e.originalParams,u=T(e,n),c=T(e,a),d=n.enabled;u&&!c?(r.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),e.emitContainerClasses()):!u&&c&&(r.classList.add(`${n.containerModifierClass}grid`),(a.grid.fill&&"column"===a.grid.fill||!a.grid.fill&&"column"===n.grid.fill)&&r.classList.add(`${n.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(t=>{if(void 0===a[t])return;let i=n[t]&&n[t].enabled,r=a[t]&&a[t].enabled;i&&!r&&e[t].disable(),!i&&r&&e[t].enable()});let h=a.direction&&a.direction!==n.direction,p=n.loop&&(a.slidesPerView!==n.slidesPerView||h),f=n.loop;h&&i&&e.changeDirection(),(0,l.q)(e.params,a);let m=e.params.enabled,v=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),d&&!m?e.disable():!d&&m&&e.enable(),e.currentBreakpoint=o,e.emit("_beforeBreakpoint",a),i&&(p?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!f&&v?(e.loopCreate(t),e.updateSlides()):f&&!v&&e.loopDestroy()),e.emit("breakpoint",a)},getBreakpoint:function(e,t,i){if(void 0===t&&(t="window"),!e||"container"===t&&!i)return;let n=!1,r=(0,a.a)(),s="window"===t?r.innerHeight:i.clientHeight,o=Object.keys(e).map(e=>"string"==typeof e&&0===e.indexOf("@")?{value:s*parseFloat(e.substr(1)),point:e}:{value:e,point:e});o.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<o.length;e+=1){let{point:s,value:a}=o[e];"window"===t?r.matchMedia(`(min-width: ${a}px)`).matches&&(n=s):a<=i.clientWidth&&(n=s)}return n||"max"}},checkOverflow:{checkOverflow:function(){let{isLocked:e,params:t}=this,{slidesOffsetBefore:i}=t;if(i){let e=this.slides.length-1,t=this.slidesGrid[e]+this.slidesSizesGrid[e]+2*i;this.isLocked=this.size>t}else this.isLocked=1===this.snapGrid.length;!0===t.allowSlideNext&&(this.allowSlideNext=!this.isLocked),!0===t.allowSlidePrev&&(this.allowSlidePrev=!this.isLocked),e&&e!==this.isLocked&&(this.isEnd=!1),e!==this.isLocked&&this.emit(this.isLocked?"lock":"unlock")}},classes:{addClasses:function(){let{classNames:e,params:t,rtl:i,el:n,device:r}=this,s=function(e,t){let i=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(n=>{e[n]&&i.push(t+n)}):"string"==typeof e&&i.push(t+e)}),i}(["initialized",t.direction,{"free-mode":this.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&&"column"===t.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...s),n.classList.add(...e),this.emitContainerClasses()},removeClasses:function(){let{el:e,classNames:t}=this;e.classList.remove(...t),this.emitContainerClasses()}}},M={};class k{constructor(){let e,t;for(var i,n=arguments.length,o=Array(n),c=0;c<n;c++)o[c]=arguments[c];1===o.length&&o[0].constructor&&"Object"===Object.prototype.toString.call(o[0]).slice(8,-1)?t=o[0]:[e,t]=o,t||(t={}),t=(0,l.q)({},t),e&&!t.el&&(t.el=e);let d=(0,a.g)();if(t.el&&"string"==typeof t.el&&d.querySelectorAll(t.el).length>1){let e=[];return d.querySelectorAll(t.el).forEach(i=>{let n=(0,l.q)({},t,{el:i});e.push(new k(n))}),e}let h=this;h.__swiper__=!0,h.support=u(),h.device=(i={userAgent:t.userAgent},r||(r=function(e){let{userAgent:t}=void 0===e?{}:e,i=u(),n=(0,a.a)(),r=n.navigator.platform,s=t||n.navigator.userAgent,o={ios:!1,android:!1},l=n.screen.width,c=n.screen.height,d=s.match(/(Android);?[\s\/]+([\d.]+)?/),h=s.match(/(iPad).*OS\s([\d_]+)/),p=s.match(/(iPod)(.*OS\s([\d_]+))?/),f=!h&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m="MacIntel"===r;return!h&&m&&i.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${l}x${c}`)>=0&&((h=s.match(/(Version)\/([\d.]+)/))||(h=[0,1,"13_0_0"]),m=!1),d&&"Win32"!==r&&(o.os="android",o.android=!0),(h||f||p)&&(o.os="ios",o.ios=!0),o}(i)),r),h.browser=(s||(s=function(){let e=(0,a.a)(),t=!1;function i(){let t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&0>t.indexOf("chrome")&&0>t.indexOf("android")}if(i()){let i=String(e.navigator.userAgent);if(i.includes("Version/")){let[e,n]=i.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));t=e<16||16===e&&n<2}}return{isSafari:t||i(),needPerspectiveFix:t,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),s),h.eventsListeners={},h.eventsAnyListeners=[],h.modules=[...h.__modules__],t.modules&&Array.isArray(t.modules)&&h.modules.push(...t.modules);let p={};h.modules.forEach(e=>{var i;e({params:t,swiper:h,extendParams:(i=t,function(e){void 0===e&&(e={});let t=Object.keys(e)[0],n=e[t];if("object"!=typeof n||null===n||(!0===i[t]&&(i[t]={enabled:!0}),"navigation"===t&&i[t]&&i[t].enabled&&!i[t].prevEl&&!i[t].nextEl&&(i[t].auto=!0),["pagination","scrollbar"].indexOf(t)>=0&&i[t]&&i[t].enabled&&!i[t].el&&(i[t].auto=!0),!(t in i&&"enabled"in n))){(0,l.q)(p,e);return}"object"!=typeof i[t]||"enabled"in i[t]||(i[t].enabled=!0),i[t]||(i[t]={enabled:!1}),(0,l.q)(p,e)}),on:h.on.bind(h),once:h.once.bind(h),off:h.off.bind(h),emit:h.emit.bind(h)})});let f=(0,l.q)({},C,p);return h.params=(0,l.q)({},f,M,t),h.originalParams=(0,l.q)({},h.params),h.passedParams=(0,l.q)({},t),h.params&&h.params.on&&Object.keys(h.params.on).forEach(e=>{h.on(e,h.params.on[e])}),h.params&&h.params.onAny&&h.onAny(h.params.onAny),Object.assign(h,{enabled:h.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===h.params.direction,isVertical:()=>"vertical"===h.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return 8388608*Math.trunc(this.translate/8388608)},allowSlideNext:h.params.allowSlideNext,allowSlidePrev:h.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:h.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,evCache:[]},allowClick:!0,allowTouchMove:h.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),h.emit("_swiper"),h.params.init&&h.init(),h}getSlideIndex(e){let{slidesEl:t,params:i}=this,n=(0,l.e)(t,`.${i.slideClass}, swiper-slide`),r=(0,l.g)(n[0]);return(0,l.g)(e)-r}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(t=>1*t.getAttribute("data-swiper-slide-index")===e)[0])}recalcSlides(){let{slidesEl:e,params:t}=this;this.slides=(0,l.e)(e,`.${t.slideClass}, swiper-slide`)}enable(){this.enabled||(this.enabled=!0,this.params.grabCursor&&this.setGrabCursor(),this.emit("enable"))}disable(){this.enabled&&(this.enabled=!1,this.params.grabCursor&&this.unsetGrabCursor(),this.emit("disable"))}setProgress(e,t){e=Math.min(Math.max(e,0),1);let i=this.minTranslate(),n=(this.maxTranslate()-i)*e+i;this.translateTo(n,void 0===t?0:t),this.updateActiveIndex(),this.updateSlidesClasses()}emitContainerClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){let t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=[];e.slides.forEach(i=>{let n=e.getSlideClasses(i);t.push({slideEl:i,classNames:n}),e.emit("_slideClass",i,n)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);let{params:i,slides:n,slidesGrid:r,slidesSizesGrid:s,size:o,activeIndex:a}=this,l=1;if("number"==typeof i.slidesPerView)return i.slidesPerView;if(i.centeredSlides){let e,t=n[a]?n[a].swiperSlideSize:0;for(let i=a+1;i<n.length;i+=1)n[i]&&!e&&(t+=n[i].swiperSlideSize,l+=1,t>o&&(e=!0));for(let i=a-1;i>=0;i-=1)n[i]&&!e&&(t+=n[i].swiperSlideSize,l+=1,t>o&&(e=!0))}else if("current"===e)for(let e=a+1;e<n.length;e+=1)(t?r[e]+s[e]-r[a]<o:r[e]-r[a]<o)&&(l+=1);else for(let e=a-1;e>=0;e-=1)r[a]-r[e]<o&&(l+=1);return l}update(){let e;let t=this;if(!t||t.destroyed)return;let{snapGrid:i,params:n}=t;function r(){let e=Math.min(Math.max(t.rtlTranslate?-1*t.translate:t.translate,t.maxTranslate()),t.minTranslate());t.setTranslate(e),t.updateActiveIndex(),t.updateSlidesClasses()}if(n.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete&&c(t,e)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)r(),n.autoHeight&&t.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&t.isEnd&&!n.centeredSlides){let i=t.virtual&&n.virtual.enabled?t.virtual.slides:t.slides;e=t.slideTo(i.length-1,0,!1,!0)}else e=t.slideTo(t.activeIndex,0,!1,!0);e||r()}n.watchOverflow&&i!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);let i=this.params.direction;return e||(e="horizontal"===i?"vertical":"horizontal"),e===i||"horizontal"!==e&&"vertical"!==e||(this.el.classList.remove(`${this.params.containerModifierClass}${i}`),this.el.classList.add(`${this.params.containerModifierClass}${e}`),this.emitContainerClasses(),this.params.direction=e,this.slides.forEach(t=>{"vertical"===e?t.style.width="":t.style.height=""}),this.emit("changeDirection"),t&&this.update()),this}changeLanguageDirection(e){(!this.rtl||"rtl"!==e)&&(this.rtl||"ltr"!==e)&&(this.rtl="rtl"===e,this.rtlTranslate="horizontal"===this.params.direction&&this.rtl,this.rtl?(this.el.classList.add(`${this.params.containerModifierClass}rtl`),this.el.dir="rtl"):(this.el.classList.remove(`${this.params.containerModifierClass}rtl`),this.el.dir="ltr"),this.update())}mount(e){let t=this;if(t.mounted)return!0;let i=e||t.params.el;if("string"==typeof i&&(i=document.querySelector(i)),!i)return!1;i.swiper=t,i.parentNode&&i.parentNode.host&&"SWIPER-CONTAINER"===i.parentNode.host.nodeName&&(t.isElement=!0);let n=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`,r=i&&i.shadowRoot&&i.shadowRoot.querySelector?i.shadowRoot.querySelector(n()):(0,l.e)(i,n())[0];return!r&&t.params.createElements&&(r=(0,l.c)("div",t.params.wrapperClass),i.append(r),(0,l.e)(i,`.${t.params.slideClass}`).forEach(e=>{r.append(e)})),Object.assign(t,{el:i,wrapperEl:r,slidesEl:t.isElement&&!i.parentNode.host.slideSlots?i.parentNode.host:r,hostEl:t.isElement?i.parentNode.host:i,mounted:!0,rtl:"rtl"===i.dir.toLowerCase()||"rtl"===(0,l.l)(i,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===i.dir.toLowerCase()||"rtl"===(0,l.l)(i,"direction")),wrongRTL:"-webkit-box"===(0,l.l)(r,"display")}),!0}init(e){let t=this;if(t.initialized||!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();let i=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&i.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),i.forEach(e=>{e.complete?c(t,e):e.addEventListener("load",e=>{c(t,e.target)})}),h(t),t.initialized=!0,h(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);let i=this,{params:n,el:r,wrapperEl:s,slides:o}=i;return void 0===i.params||i.destroyed||(i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),n.loop&&i.loopDestroy(),t&&(i.removeClasses(),r.removeAttribute("style"),s.removeAttribute("style"),o&&o.length&&o.forEach(e=>{e.classList.remove(n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),i.emit("destroy"),Object.keys(i.eventsListeners).forEach(e=>{i.off(e)}),!1!==e&&(i.el.swiper=null,(0,l.r)(i)),i.destroyed=!0),null}static extendDefaults(e){(0,l.q)(M,e)}static get extendedDefaults(){return M}static get defaults(){return C}static installModule(e){k.prototype.__modules__||(k.prototype.__modules__=[]);let t=k.prototype.__modules__;"function"==typeof e&&0>t.indexOf(e)&&t.push(e)}static use(e){return Array.isArray(e)?e.forEach(e=>k.installModule(e)):k.installModule(e),k}}Object.keys(P).forEach(e=>{Object.keys(P[e]).forEach(t=>{k.prototype[t]=P[e][t]})}),k.use([function(e){let{swiper:t,on:i,emit:n}=e,r=(0,a.a)(),s=null,o=null,l=()=>{t&&!t.destroyed&&t.initialized&&(n("beforeResize"),n("resize"))},u=()=>{t&&!t.destroyed&&t.initialized&&(s=new ResizeObserver(e=>{o=r.requestAnimationFrame(()=>{let{width:i,height:n}=t,r=i,s=n;e.forEach(e=>{let{contentBoxSize:i,contentRect:n,target:o}=e;o&&o!==t.el||(r=n?n.width:(i[0]||i).inlineSize,s=n?n.height:(i[0]||i).blockSize)}),(r!==i||s!==n)&&l()})})).observe(t.el)},c=()=>{o&&r.cancelAnimationFrame(o),s&&s.unobserve&&t.el&&(s.unobserve(t.el),s=null)},d=()=>{t&&!t.destroyed&&t.initialized&&n("orientationchange")};i("init",()=>{if(t.params.resizeObserver&&void 0!==r.ResizeObserver){u();return}r.addEventListener("resize",l),r.addEventListener("orientationchange",d)}),i("destroy",()=>{c(),r.removeEventListener("resize",l),r.removeEventListener("orientationchange",d)})},function(e){let{swiper:t,extendParams:i,on:n,emit:r}=e,s=[],o=(0,a.a)(),u=function(e,i){void 0===i&&(i={});let n=new(o.MutationObserver||o.WebkitMutationObserver)(e=>{if(t.__preventObserver__)return;if(1===e.length){r("observerUpdate",e[0]);return}let i=function(){r("observerUpdate",e[0])};o.requestAnimationFrame?o.requestAnimationFrame(i):o.setTimeout(i,0)});n.observe(e,{attributes:void 0===i.attributes||i.attributes,childList:void 0===i.childList||i.childList,characterData:void 0===i.characterData||i.characterData}),s.push(n)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",()=>{if(t.params.observer){if(t.params.observeParents){let e=(0,l.a)(t.hostEl);for(let t=0;t<e.length;t+=1)u(e[t])}u(t.hostEl,{childList:t.params.observeSlideChildren}),u(t.wrapperEl,{attributes:!1})}}),n("destroy",()=>{s.forEach(e=>{e.disconnect()}),s.splice(0,s.length)})}]);let O=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopedSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideNextClass","slidePrevClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function A(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function L(e,t){let i=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>0>i.indexOf(e)).forEach(i=>{void 0===e[i]?e[i]=t[i]:A(t[i])&&A(e[i])&&Object.keys(t[i]).length>0?t[i].__swiper__?e[i]=t[i]:L(e[i],t[i]):e[i]=t[i]})}function _(e){return void 0===e&&(e={}),e.navigation&&void 0===e.navigation.nextEl&&void 0===e.navigation.prevEl}function D(e){return void 0===e&&(e={}),e.pagination&&void 0===e.pagination.el}function R(e){return void 0===e&&(e={}),e.scrollbar&&void 0===e.scrollbar.el}function I(e){void 0===e&&(e="");let t=e.split(" ").map(e=>e.trim()).filter(e=>!!e),i=[];return t.forEach(e=>{0>i.indexOf(e)&&i.push(e)}),i.join(" ")}let j=e=>{e&&!e.destroyed&&e.params.virtual&&(!e.params.virtual||e.params.virtual.enabled)&&(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function V(){return(V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}).apply(this,arguments)}function F(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function z(e,t){return"undefined"==typeof window?(0,o.useEffect)(e,t):(0,o.useLayoutEffect)(e,t)}let N=(0,o.createContext)(null),B=(0,o.createContext)(null),$=(0,o.forwardRef)(function(e,t){var i;let{className:n,tag:r="div",wrapperTag:s="div",children:a,onSwiper:l,...u}=void 0===e?{}:e,c=!1,[d,h]=(0,o.useState)("swiper"),[p,f]=(0,o.useState)(null),[m,v]=(0,o.useState)(!1),g=(0,o.useRef)(!1),y=(0,o.useRef)(null),b=(0,o.useRef)(null),w=(0,o.useRef)(null),x=(0,o.useRef)(null),S=(0,o.useRef)(null),E=(0,o.useRef)(null),T=(0,o.useRef)(null),P=(0,o.useRef)(null),{params:M,passedParams:N,rest:$,events:W}=function(e,t){void 0===e&&(e={}),void 0===t&&(t=!0);let i={on:{}},n={},r={};L(i,C),i._emitClasses=!0,i.init=!1;let s={},o=O.map(e=>e.replace(/_/,""));return Object.keys(Object.assign({},e)).forEach(a=>{void 0!==e[a]&&(o.indexOf(a)>=0?A(e[a])?(i[a]={},r[a]={},L(i[a],e[a]),L(r[a],e[a])):(i[a]=e[a],r[a]=e[a]):0===a.search(/on[A-Z]/)&&"function"==typeof e[a]?t?n[`${a[2].toLowerCase()}${a.substr(3)}`]=e[a]:i.on[`${a[2].toLowerCase()}${a.substr(3)}`]=e[a]:s[a]=e[a])}),["navigation","pagination","scrollbar"].forEach(e=>{!0===i[e]&&(i[e]={}),!1===i[e]&&delete i[e]}),{params:i,passedParams:r,rest:s,events:n}}(u),{slides:H,slots:U}=function(e){let t=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return o.Children.toArray(e).forEach(e=>{if(F(e))t.push(e);else if(e.props&&e.props.slot&&i[e.props.slot])i[e.props.slot].push(e);else if(e.props&&e.props.children){let n=function e(t){let i=[];return o.Children.toArray(t).forEach(t=>{F(t)?i.push(t):t.props&&t.props.children&&e(t.props.children).forEach(e=>i.push(e))}),i}(e.props.children);n.length>0?n.forEach(e=>t.push(e)):i["container-end"].push(e)}else i["container-end"].push(e)}),{slides:t,slots:i}}(a),G=()=>{v(!m)};Object.assign(M.on,{_containerClasses(e,t){h(t)}});let q=()=>{Object.assign(M.on,W),c=!0;let e={...M};if(delete e.wrapperClass,b.current=new k(e),b.current.virtual&&b.current.params.virtual.enabled){b.current.virtual.slides=H;let e={cache:!1,slides:H,renderExternal:f,renderExternalUpdate:!1};L(b.current.params.virtual,e),L(b.current.originalParams.virtual,e)}};y.current||q(),b.current&&b.current.on("_beforeBreakpoint",G);let X=()=>{!c&&W&&b.current&&Object.keys(W).forEach(e=>{b.current.on(e,W[e])})},Y=()=>{W&&b.current&&Object.keys(W).forEach(e=>{b.current.off(e,W[e])})};return(0,o.useEffect)(()=>()=>{b.current&&b.current.off("_beforeBreakpoint",G)}),(0,o.useEffect)(()=>{!g.current&&b.current&&(b.current.emitSlidesClasses(),g.current=!0)}),z(()=>{if(t&&(t.current=y.current),y.current)return b.current.destroyed&&q(),function(e,t){let{el:i,nextEl:n,prevEl:r,paginationEl:s,scrollbarEl:o,swiper:a}=e;_(t)&&n&&r&&(a.params.navigation.nextEl=n,a.originalParams.navigation.nextEl=n,a.params.navigation.prevEl=r,a.originalParams.navigation.prevEl=r),D(t)&&s&&(a.params.pagination.el=s,a.originalParams.pagination.el=s),R(t)&&o&&(a.params.scrollbar.el=o,a.originalParams.scrollbar.el=o),a.init(i)}({el:y.current,nextEl:S.current,prevEl:E.current,paginationEl:T.current,scrollbarEl:P.current,swiper:b.current},M),l&&l(b.current),()=>{b.current&&!b.current.destroyed&&b.current.destroy(!0,!1)}},[]),z(()=>{X();let e=function(e,t,i,n,r){let s=[];if(!t)return s;let o=e=>{0>s.indexOf(e)&&s.push(e)};if(i&&n){let e=n.map(r),t=i.map(r);e.join("")!==t.join("")&&o("children"),n.length!==i.length&&o("children")}return O.filter(e=>"_"===e[0]).map(e=>e.replace(/_/,"")).forEach(i=>{if(i in e&&i in t){if(A(e[i])&&A(t[i])){let n=Object.keys(e[i]),r=Object.keys(t[i]);n.length!==r.length?o(i):(n.forEach(n=>{e[i][n]!==t[i][n]&&o(i)}),r.forEach(n=>{e[i][n]!==t[i][n]&&o(i)}))}else e[i]!==t[i]&&o(i)}}),s}(N,w.current,H,x.current,e=>e.key);return w.current=N,x.current=H,e.length&&b.current&&!b.current.destroyed&&function(e){let t,i,n,r,s,o,a,l,{swiper:u,slides:c,passedParams:d,changedParams:h,nextEl:p,prevEl:f,scrollbarEl:m,paginationEl:v}=e,g=h.filter(e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e),{params:y,pagination:b,navigation:w,scrollbar:x,virtual:S,thumbs:E}=u;h.includes("thumbs")&&d.thumbs&&d.thumbs.swiper&&y.thumbs&&!y.thumbs.swiper&&(t=!0),h.includes("controller")&&d.controller&&d.controller.control&&y.controller&&!y.controller.control&&(i=!0),h.includes("pagination")&&d.pagination&&(d.pagination.el||v)&&(y.pagination||!1===y.pagination)&&b&&!b.el&&(n=!0),h.includes("scrollbar")&&d.scrollbar&&(d.scrollbar.el||m)&&(y.scrollbar||!1===y.scrollbar)&&x&&!x.el&&(r=!0),h.includes("navigation")&&d.navigation&&(d.navigation.prevEl||f)&&(d.navigation.nextEl||p)&&(y.navigation||!1===y.navigation)&&w&&!w.prevEl&&!w.nextEl&&(s=!0);let T=e=>{u[e]&&(u[e].destroy(),"navigation"===e?(u.isElement&&(u[e].prevEl.remove(),u[e].nextEl.remove()),y[e].prevEl=void 0,y[e].nextEl=void 0,u[e].prevEl=void 0,u[e].nextEl=void 0):(u.isElement&&u[e].el.remove(),y[e].el=void 0,u[e].el=void 0))};h.includes("loop")&&u.isElement&&(y.loop&&!d.loop?o=!0:!y.loop&&d.loop?a=!0:l=!0),g.forEach(e=>{if(A(y[e])&&A(d[e]))L(y[e],d[e]),("navigation"===e||"pagination"===e||"scrollbar"===e)&&"enabled"in d[e]&&!d[e].enabled&&T(e);else{let t=d[e];(!0===t||!1===t)&&("navigation"===e||"pagination"===e||"scrollbar"===e)?!1===t&&T(e):y[e]=d[e]}}),g.includes("controller")&&!i&&u.controller&&u.controller.control&&y.controller&&y.controller.control&&(u.controller.control=y.controller.control),h.includes("children")&&c&&S&&y.virtual.enabled&&(S.slides=c,S.update(!0)),h.includes("children")&&c&&y.loop&&(l=!0),t&&E.init()&&E.update(!0),i&&(u.controller.control=y.controller.control),n&&(u.isElement&&(!v||"string"==typeof v)&&((v=document.createElement("div")).classList.add("swiper-pagination"),v.part.add("pagination"),u.el.appendChild(v)),v&&(y.pagination.el=v),b.init(),b.render(),b.update()),r&&(u.isElement&&(!m||"string"==typeof m)&&((m=document.createElement("div")).classList.add("swiper-scrollbar"),m.part.add("scrollbar"),u.el.appendChild(m)),m&&(y.scrollbar.el=m),x.init(),x.updateSize(),x.setTranslate()),s&&(u.isElement&&(p&&"string"!=typeof p||((p=document.createElement("div")).classList.add("swiper-button-next"),p.innerHTML=u.hostEl.constructor.nextButtonSvg,p.part.add("button-next"),u.el.appendChild(p)),f&&"string"!=typeof f||((f=document.createElement("div")).classList.add("swiper-button-prev"),f.innerHTML=u.hostEl.constructor.prevButtonSvg,f.part.add("button-prev"),u.el.appendChild(f))),p&&(y.navigation.nextEl=p),f&&(y.navigation.prevEl=f),w.init(),w.update()),h.includes("allowSlideNext")&&(u.allowSlideNext=d.allowSlideNext),h.includes("allowSlidePrev")&&(u.allowSlidePrev=d.allowSlidePrev),h.includes("direction")&&u.changeDirection(d.direction,!1),(o||l)&&u.loopDestroy(),(a||l)&&u.loopCreate(),u.update()}({swiper:b.current,slides:H,passedParams:N,changedParams:e,nextEl:S.current,prevEl:E.current,scrollbarEl:P.current,paginationEl:T.current}),()=>{Y()}}),z(()=>{j(b.current)},[p]),o.createElement(r,V({ref:y,className:I(`${d}${n?` ${n}`:""}`)},$),o.createElement(B.Provider,{value:b.current},U["container-start"],o.createElement(s,{className:(void 0===(i=M.wrapperClass)&&(i=""),i)?i.includes("swiper-wrapper")?i:`swiper-wrapper ${i}`:"swiper-wrapper"},U["wrapper-start"],M.virtual?function(e,t,i){if(!i)return null;let n=e=>{let i=e;return e<0?i=t.length+e:i>=t.length&&(i-=t.length),i},r=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:s,to:a}=i,l=e.params.loop?-t.length:0,u=e.params.loop?2*t.length:t.length,c=[];for(let e=l;e<u;e+=1)e>=s&&e<=a&&c.push(t[n(e)]);return c.map((t,i)=>o.cloneElement(t,{swiper:e,style:r,key:`slide-${i}`}))}(b.current,H,p):H.map((e,t)=>o.cloneElement(e,{swiper:b.current,swiperSlideIndex:t})),U["wrapper-end"]),_(M)&&o.createElement(o.Fragment,null,o.createElement("div",{ref:E,className:"swiper-button-prev"}),o.createElement("div",{ref:S,className:"swiper-button-next"})),R(M)&&o.createElement("div",{ref:P,className:"swiper-scrollbar"}),D(M)&&o.createElement("div",{ref:T,className:"swiper-pagination"}),U["container-end"]))});$.displayName="Swiper";let W=(0,o.forwardRef)(function(e,t){let{tag:i="div",children:n,className:r="",swiper:s,zoom:a,lazy:l,virtualIndex:u,swiperSlideIndex:c,...d}=void 0===e?{}:e,h=(0,o.useRef)(null),[p,f]=(0,o.useState)("swiper-slide"),[m,v]=(0,o.useState)(!1);function g(e,t,i){t===h.current&&f(i)}z(()=>{if(void 0!==c&&(h.current.swiperSlideIndex=c),t&&(t.current=h.current),h.current&&s){if(s.destroyed){"swiper-slide"!==p&&f("swiper-slide");return}return s.on("_slideClass",g),()=>{s&&s.off("_slideClass",g)}}}),z(()=>{s&&h.current&&!s.destroyed&&f(s.getSlideClasses(h.current))},[s]);let y={isActive:p.indexOf("swiper-slide-active")>=0,isVisible:p.indexOf("swiper-slide-visible")>=0,isPrev:p.indexOf("swiper-slide-prev")>=0,isNext:p.indexOf("swiper-slide-next")>=0},b=()=>"function"==typeof n?n(y):n;return o.createElement(i,V({ref:h,className:I(`${p}${r?` ${r}`:""}`),"data-swiper-slide-index":u,onLoad:()=>{v(!0)}},d),a&&o.createElement(N.Provider,{value:y},o.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"==typeof a?a:void 0},b(),l&&!m&&o.createElement("div",{className:"swiper-lazy-preloader"}))),!a&&o.createElement(N.Provider,{value:y},b(),l&&!m&&o.createElement("div",{className:"swiper-lazy-preloader"})))});W.displayName="SwiperSlide"}}]);

where mouse animations, etc are defined give me snippet!