(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[45],{130:function(e,t,n){"use strict";e.exports=n(1277)},4158:function(e,t,n){"use strict";e.exports=n(2261)},4873:function(e,t,n){"use strict";e.exports=n(3022)},1315:function(e,t,n){"use strict";e.exports=n(9032)},1247:function(e,t,n){"use strict";e.exports=n(5609)},3431:function(e){var t="function"==typeof Float32Array;function n(e,t,n){return(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e}function r(e,t,n){return 3*(1-3*n+3*t)*e*e+2*(3*n-6*t)*e+3*t}function i(e){return e}e.exports=function(e,s,a,o){if(!(0<=e&&e<=1&&0<=a&&a<=1))throw Error("bezier x values must be in [0, 1] range");if(e===s&&a===o)return i;for(var l=t?new Float32Array(11):Array(11),u=0;u<11;++u)l[u]=n(.1*u,e,a);return function(t){return 0===t?0:1===t?1:n(function(t){for(var i=0,s=1;10!==s&&l[s]<=t;++s)i+=.1;var o=i+(t-l[--s])/(l[s+1]-l[s])*.1,u=r(o,e,a);return u>=.001?function(e,t,i,s){for(var a=0;a<4;++a){var o=r(t,i,s);if(0===o)break;var l=n(t,i,s)-e;t-=l/o}return t}(t,o,e,a):0===u?o:function(e,t,r,i,s){var a,o,l=0;do(a=n(o=t+(r-t)/2,i,s)-e)>0?r=o:t=o;while(Math.abs(a)>1e-7&&++l<10);return o}(t,i,i+.1,e,a)}(t),s,o)}}},3096:function(e,t,n){var r="Expected a function",i=0/0,s=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt,c="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,d="object"==typeof self&&self&&self.Object===Object&&self,p=c||d||Function("return this")(),f=Object.prototype.toString,h=Math.max,m=Math.min,g=function(){return p.Date.now()};function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==f.call(t))return i;if(v(e)){var t,n="function"==typeof e.valueOf?e.valueOf():e;e=v(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(s,"");var r=o.test(e);return r||l.test(e)?u(e.slice(2),r?2:8):a.test(e)?i:+e}e.exports=function(e,t,n){var i=!0,s=!0;if("function"!=typeof e)throw TypeError(r);return v(n)&&(i="leading"in n?!!n.leading:i,s="trailing"in n?!!n.trailing:s),function(e,t,n){var i,s,a,o,l,u,c=0,d=!1,p=!1,f=!0;if("function"!=typeof e)throw TypeError(r);function b(t){var n=i,r=s;return i=s=void 0,c=t,o=e.apply(r,n)}function w(e){var n=e-u,r=e-c;return void 0===u||n>=t||n<0||p&&r>=a}function S(){var e,n,r,i=g();if(w(i))return E(i);l=setTimeout(S,(e=i-u,n=i-c,r=t-e,p?m(r,a-n):r))}function E(e){return(l=void 0,f&&i)?b(e):(i=s=void 0,o)}function x(){var e,n=g(),r=w(n);if(i=arguments,s=this,u=n,r){if(void 0===l)return c=e=u,l=setTimeout(S,t),d?b(e):o;if(p)return l=setTimeout(S,t),b(u)}return void 0===l&&(l=setTimeout(S,t)),o}return t=y(t)||0,v(n)&&(d=!!n.leading,a=(p="maxWait"in n)?h(y(n.maxWait)||0,t):a,f="trailing"in n?!!n.trailing:f),x.cancel=function(){void 0!==l&&clearTimeout(l),c=0,i=u=s=l=void 0},x.flush=function(){return void 0===l?o:E(g())},x}(e,t,{leading:i,maxWait:t,trailing:s})}},9720:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{PrefetchKind:function(){return n},ACTION_REFRESH:function(){return i},ACTION_NAVIGATE:function(){return s},ACTION_RESTORE:function(){return a},ACTION_SERVER_PATCH:function(){return o},ACTION_PREFETCH:function(){return l},ACTION_FAST_REFRESH:function(){return u},ACTION_SERVER_ACTION:function(){return c},isThenable:function(){return d}});let i="refresh",s="navigate",a="restore",o="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}(r=n||(n={})).AUTO="auto",r.FULL="full",r.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)},245:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return i}});let r=n(9082);function i(e,t,i,s){{let a=n(5800).normalizeLocalePath,o=n(8137).detectDomainLocale,l=t||a(e,i).detectedLocale,u=o(s,void 0,l);if(u){let t="http"+(u.http?"":"s")+"://",n=l===u.defaultLocale?"":"/"+l;return""+t+u.domain+(0,r.normalizePathTrailingSlash)(""+n+e)}return!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)},1032:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return y}});let r=n(8754)._(n(7294)),i=n(4879),s=n(1572),a=n(8373),o=n(6221),l=n(5933),u=n(4167),c=n(8874),d=n(6342),p=n(245),f=n(6015),h=n(9720),m=new Set;function g(e,t,n,r,i,a){if(a||(0,s.isLocalURL)(t)){if(!r.bypassPrefetchedCheck){let i=t+"%"+n+"%"+(void 0!==r.locale?r.locale:"locale"in e?e.locale:void 0);if(m.has(i))return;m.add(i)}Promise.resolve(a?e.prefetch(t,i):e.prefetch(t,n,r)).catch(e=>{})}}function v(e){return"string"==typeof e?e:(0,a.formatUrl)(e)}let y=r.default.forwardRef(function(e,t){let n,a;let{href:m,as:y,children:b,prefetch:w=null,passHref:S,replace:E,shallow:x,scroll:C,locale:O,onClick:P,onMouseEnter:T,onTouchStart:_,legacyBehavior:M=!1,...k}=e;n=b,M&&("string"==typeof n||"number"==typeof n)&&(n=r.default.createElement("a",null,n));let I=r.default.useContext(u.RouterContext),L=r.default.useContext(c.AppRouterContext),A=null!=I?I:L,j=!I,R=!1!==w,z=null===w?h.PrefetchKind.AUTO:h.PrefetchKind.FULL,{href:F,as:D}=r.default.useMemo(()=>{if(!I){let e=v(m);return{href:e,as:y?v(y):e}}let[e,t]=(0,i.resolveHref)(I,m,!0);return{href:e,as:y?(0,i.resolveHref)(I,y):t||e}},[I,m,y]),V=r.default.useRef(F),H=r.default.useRef(D);M&&(a=r.default.Children.only(n));let N=M?a&&"object"==typeof a&&a.ref:t,[B,$,W]=(0,d.useIntersection)({rootMargin:"200px"}),G=r.default.useCallback(e=>{(H.current!==D||V.current!==F)&&(W(),H.current=D,V.current=F),B(e),N&&("function"==typeof N?N(e):"object"==typeof N&&(N.current=e))},[D,N,F,W,B]);r.default.useEffect(()=>{A&&$&&R&&g(A,F,D,{locale:O},{kind:z},j)},[D,F,$,O,R,null==I?void 0:I.locale,A,j,z]);let q={ref:G,onClick(e){M||"function"!=typeof P||P(e),M&&a.props&&"function"==typeof a.props.onClick&&a.props.onClick(e),A&&!e.defaultPrevented&&function(e,t,n,i,a,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,s.isLocalURL)(n)))return;e.preventDefault();let p=()=>{let e=null==l||l;"beforePopState"in t?t[a?"replace":"push"](n,i,{shallow:o,locale:u,scroll:e}):t[a?"replace":"push"](i||n,{scroll:e})};c?r.default.startTransition(p):p()}(e,A,F,D,E,x,C,O,j)},onMouseEnter(e){M||"function"!=typeof T||T(e),M&&a.props&&"function"==typeof a.props.onMouseEnter&&a.props.onMouseEnter(e),A&&(R||!j)&&g(A,F,D,{locale:O,priority:!0,bypassPrefetchedCheck:!0},{kind:z},j)},onTouchStart(e){M||"function"!=typeof _||_(e),M&&a.props&&"function"==typeof a.props.onTouchStart&&a.props.onTouchStart(e),A&&(R||!j)&&g(A,F,D,{locale:O,priority:!0,bypassPrefetchedCheck:!0},{kind:z},j)}};if((0,o.isAbsoluteUrl)(D))q.href=D;else if(!M||S||"a"===a.type&&!("href"in a.props)){let e=void 0!==O?O:null==I?void 0:I.locale,t=(null==I?void 0:I.isLocaleDomain)&&(0,p.getDomainLocale)(D,e,null==I?void 0:I.locales,null==I?void 0:I.domainLocales);q.href=t||(0,f.addBasePath)((0,l.addLocale)(D,e,null==I?void 0:I.defaultLocale))}return M?r.default.cloneElement(a,q):r.default.createElement("a",{...k,...q},n)});("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)},5800:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return r}});let r=(e,t)=>n(2737).normalizeLocalePath(e,t);("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)},6342:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return l}});let r=n(7294),i=n(6231),s="function"==typeof IntersectionObserver,a=new Map,o=[];function l(e){let{rootRef:t,rootMargin:n,disabled:l}=e,u=l||!s,[c,d]=(0,r.useState)(!1),p=(0,r.useRef)(null),f=(0,r.useCallback)(e=>{p.current=e},[]);return(0,r.useEffect)(()=>{if(s){if(u||c)return;let e=p.current;if(e&&e.tagName)return function(e,t,n){let{id:r,observer:i,elements:s}=function(e){let t;let n={root:e.root||null,margin:e.rootMargin||""},r=o.find(e=>e.root===n.root&&e.margin===n.margin);if(r&&(t=a.get(r)))return t;let i=new Map;return t={id:n,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),n=e.isIntersecting||e.intersectionRatio>0;t&&n&&t(n)})},e),elements:i},o.push(n),a.set(n,t),t}(n);return s.set(e,t),i.observe(e),function(){if(s.delete(e),i.unobserve(e),0===s.size){i.disconnect(),a.delete(r);let e=o.findIndex(e=>e.root===r.root&&e.margin===r.margin);e>-1&&o.splice(e,1)}}}(e,e=>e&&d(e),{root:null==t?void 0:t.current,rootMargin:n})}else if(!c){let e=(0,i.requestIdleCallback)(()=>d(!0));return()=>(0,i.cancelIdleCallback)(e)}},[u,n,t,c,p.current]),[f,c,(0,r.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)},6676:function(){},3207:function(){},4276:function(){},1664:function(e,t,n){e.exports=n(1032)},1163:function(e,t,n){e.exports=n(2937)},2703:function(e,t,n){"use strict";var r=n(414);function i(){}function s(){}s.resetWarningCache=i,e.exports=function(){function e(e,t,n,i,s,a){if(a!==r){var o=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 o.name="Invariant Violation",o}}function t(){return e}e.isRequired=e;var n={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:i};return n.PropTypes=n,n}},5697:function(e,t,n){e.exports=n(2703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},8789:function(e,t,n){var r=n(7294),i=n(8472),s=r&&"object"==typeof r&&"default"in r?r:{default:r},a=function(){return(a=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var o={x:0,y:0},l={x:new i.SpringValue(0),y:new i.SpringValue(0)},u=r.createContext(l);t.W7=function(e){var t=e.globalFactorX,n=void 0===t?1:t,l=e.globalFactorY,c=void 0===l?1:l,d=e.resetOnLeave,p=e.useWindowMouseEvents,f=e.inverted,h=e.springConfig,m=e.enabled,g=void 0===m||m,v=e.containerStyle,y=e.className,b=e.children,w=i.useSpring(function(){return a(a({},o),h?{config:h}:{})}),S=w[0],E=w[1],x=function(){return E.start(o)},C=r.useState({current:null}),O=C[0],P=C[1],T=r.useCallback(function(e){null!==e&&P({current:e})},[]),_=r.useCallback(function(e){var t=O.current?O.current.getBoundingClientRect():{left:0,top:0};return{x:e.clientX-t.left,y:e.clientY-t.top}},[O]),M=r.useCallback(function(e){if(O.current){var t=O.current.clientHeight,r=O.current.clientWidth,i=_(e),s={x:(r/2-i.x)*n*(f?-1:1),y:(t/2-i.y)*c*(f?-1:1)};E.start(s)}},[O,_,f]);return r.useEffect(function(){return g&&p&&O.current&&(window.addEventListener("mousemove",M,!1),d&&window.addEventListener("mouseout",x,!1)),function(){g&&p&&O.current&&(window.removeEventListener("mousemove",M,!1),d&&window.removeEventListener("mouseout",x,!1))}},[O,M,d,p,g]),s.default.createElement(u.Provider,{value:S},s.default.createElement("div",a({id:"mouse-parallax-container",ref:T,style:a({overflow:"hidden",position:"relative"},v),className:y},{onMouseMove:g&&!p?M:void 0,onMouseLeave:g&&!p&&d?x:void 0}),b))}},2141:function(e,t,n){"use strict";n.d(t,{VS:function(){return $},Xu:function(){return W}});var r,i,s,a,o,l,u,c,d,p,f,h=n(3431),m=n.n(h),g=function(e){this.startX=e.startX,this.startY=e.startY,this.endX=e.endX,this.endY=e.endY,this.totalX=this.endX-this.startX,this.totalY=this.endY-this.startY,this.startMultiplierX=e.startMultiplierX||1,this.endMultiplierX=e.endMultiplierX||1,this.startMultiplierY=e.startMultiplierY||1,this.endMultiplierY=e.endMultiplierY||1};function v(){return(v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}(r=l||(l={})).speed="speed",r.translateX="translateX",r.translateY="translateY",r.rotate="rotate",r.rotateX="rotateX",r.rotateY="rotateY",r.rotateZ="rotateZ",r.scale="scale",r.scaleX="scaleX",r.scaleY="scaleY",r.scaleZ="scaleZ",r.opacity="opacity",(i=u||(u={})).px="px",i["%"]="%",i.vh="vh",i.vw="vw",(s=c||(c={})).deg="deg",s.turn="turn",s.rad="rad",(d||(d={}))[""]="",(a=p||(p={})).vertical="vertical",a.horizontal="horizontal",(o=f||(f={})).ease="ease",o.easeIn="easeIn",o.easeOut="easeOut",o.easeInOut="easeInOut",o.easeInQuad="easeInQuad",o.easeInCubic="easeInCubic",o.easeInQuart="easeInQuart",o.easeInQuint="easeInQuint",o.easeInSine="easeInSine",o.easeInExpo="easeInExpo",o.easeInCirc="easeInCirc",o.easeOutQuad="easeOutQuad",o.easeOutCubic="easeOutCubic",o.easeOutQuart="easeOutQuart",o.easeOutQuint="easeOutQuint",o.easeOutSine="easeOutSine",o.easeOutExpo="easeOutExpo",o.easeOutCirc="easeOutCirc",o.easeInOutQuad="easeInOutQuad",o.easeInOutCubic="easeInOutCubic",o.easeInOutQuart="easeInOutQuart",o.easeInOutQuint="easeInOutQuint",o.easeInOutSine="easeInOutSine",o.easeInOutExpo="easeInOutExpo",o.easeInOutCirc="easeInOutCirc",o.easeInBack="easeInBack",o.easeOutBack="easeOutBack",o.easeInOutBack="easeInOutBack";var y=0,b=function(){function e(e){var t=e.el.getBoundingClientRect();if(e.view.scrollContainer){var n=e.view.scrollContainer.getBoundingClientRect();t=v({},t,{top:t.top-n.top,right:t.right-n.left,bottom:t.bottom-n.top,left:t.left-n.left})}this.height=e.el.offsetHeight,this.width=e.el.offsetWidth,this.left=t.left,this.right=t.right,this.top=t.top,this.bottom=t.bottom,e.rootMargin&&this._setRectWithRootMargin(e.rootMargin)}return e.prototype._setRectWithRootMargin=function(e){var t=e.top+e.bottom,n=e.left+e.right;this.top-=e.top,this.right+=e.right,this.bottom+=e.bottom,this.left-=e.left,this.height+=t,this.width+=n},e}(),w=[d[""],u.px,u["%"],u.vh,u.vw,c.deg,c.turn,c.rad];function S(e,t){void 0===t&&(t=u["%"]);var n={value:0,unit:t};if(void 0===e)return n;if(!("number"==typeof e||"string"==typeof e))throw Error("Invalid value provided. Must provide a value as a string or number");if(e=String(e),n.value=parseFloat(e),n.unit=e.match(/[\d.\-+]*\s*(.*)/)[1]||t,!w.includes(n.unit))throw Error("Invalid unit provided.");return n}var E={ease:[.25,.1,.25,1],easeIn:[.42,0,1,1],easeOut:[0,0,.58,1],easeInOut:[.42,0,.58,1],easeInQuad:[.55,.085,.68,.53],easeInCubic:[.55,.055,.675,.19],easeInQuart:[.895,.03,.685,.22],easeInQuint:[.755,.05,.855,.06],easeInSine:[.47,0,.745,.715],easeInExpo:[.95,.05,.795,.035],easeInCirc:[.6,.04,.98,.335],easeOutQuad:[.25,.46,.45,.94],easeOutCubic:[.215,.61,.355,1],easeOutQuart:[.165,.84,.44,1],easeOutQuint:[.23,1,.32,1],easeOutSine:[.39,.575,.565,1],easeOutExpo:[.19,1,.22,1],easeOutCirc:[.075,.82,.165,1],easeInOutQuad:[.455,.03,.515,.955],easeInOutCubic:[.645,.045,.355,1],easeInOutQuart:[.77,0,.175,1],easeInOutQuint:[.86,0,.07,1],easeInOutSine:[.445,.05,.55,.95],easeInOutExpo:[1,0,0,1],easeInOutCirc:[.785,.135,.15,.86],easeInBack:[.6,-.28,.735,.045],easeOutBack:[.175,.885,.32,1.275],easeInOutBack:[.68,-.55,.265,1.55]};function x(e){if(Array.isArray(e))return m()(e[0],e[1],e[2],e[3]);if("string"==typeof e&&void 0!==E[e]){var t=E[e];return m()(t[0],t[1],t[2],t[3])}}var C=Object.values(l),O={speed:"px",translateX:"%",translateY:"%",rotate:"deg",rotateX:"deg",rotateY:"deg",rotateZ:"deg",scale:"",scaleX:"",scaleY:"",scaleZ:"",opacity:""};function P(e,t){var n={};return C.forEach(function(r){var i=O[r];if("number"==typeof(null==e?void 0:e[r])){var s=null==e?void 0:e[r],a=S(10*(s||0)+"px"),o=S(-10*(s||0)+"px"),l={start:a.value,end:o.value,unit:a.unit};t===p.vertical&&(n.translateY=l),t===p.horizontal&&(n.translateX=l)}if(Array.isArray(null==e?void 0:e[r])){var u=null==e?void 0:e[r];if(void 0!==u[0]&&void 0!==u[1]){var c=S(null==u?void 0:u[0],i),d=S(null==u?void 0:u[1],i),f=x(null==u?void 0:u[2]);if(n[r]={start:c.value,end:d.value,unit:c.unit,easing:f},c.unit!==d.unit)throw Error("Must provide matching units for the min and max offset values of each axis.")}}}),n}function T(e,t,n,r){var i=(n-e)/t;return r&&(i=r(i)),i}function _(e,t){var n,r;return{value:(n="function"==typeof e.easing?e.easing(t):t,r=(null==e?void 0:e.start)||0,(((null==e?void 0:e.end)||0)-r)*(n-0)/1+r),unit:null==e?void 0:e.unit}}var M=Object.values(l).filter(function(e){return"opacity"!==e});function k(e){var t=e.el;t&&(t.style.transform="",t.style.opacity="")}function I(e,t,n){return Math.max(n/(n+(Math.abs(e)+Math.abs(t))*(t>e?-1:1)),1)}function L(e,t){var n=e.start,r=e.end,i=e.unit;if("%"===i){var s=t/100;n*=s,r*=s}if("vw"===i){var a=n/100,o=r/100;n=window.innerWidth*a,r=window.innerWidth*o}if("vh"===i){var l=n/100,u=r/100;n=window.innerHeight*l,r=window.innerHeight*u}return{start:n,end:r}}var A={start:0,end:0,unit:""},j=function(e,t,n){return Math.min(Math.max(e,t),n)},R=function(){function e(e){var t,n;this.el=e.el,this.props=e.props,this.scrollAxis=e.scrollAxis,this.disabledParallaxController=e.disabledParallaxController||!1,this.id=++y,this.effects=P(this.props,this.scrollAxis),this.isInView=null,this.progress=0,this._setElementEasing(e.props.easing),t=e.el,n=Object.keys(this.effects).includes("opacity"),t.style.willChange="transform"+(n?",opacity":"")}var t=e.prototype;return t.updateProps=function(e){return this.props=v({},this.props,e),this.effects=P(e,this.scrollAxis),this._setElementEasing(e.easing),this},t.setCachedAttributes=function(e,t){k(this),this.rect=new b({el:this.props.targetElement||this.el,rootMargin:this.props.rootMargin,view:e});var n,r,i,s,a,o,l,u,c,d,f,h,m=(n=this.props,r=this.effects,i=this.scrollAxis,!n.rootMargin&&!n.targetElement&&!n.shouldDisableScalingTranslations&&(!!r.translateX&&i===p.horizontal||!!r.translateY&&i===p.vertical));return"number"==typeof this.props.startScroll&&"number"==typeof this.props.endScroll?this.limits=new g({startX:this.props.startScroll,startY:this.props.startScroll,endX:this.props.endScroll,endY:this.props.endScroll}):m?(this.limits=function(e,t,n,r,i,s){var a=n.translateX||A,o=n.translateY||A,l=L(a,e.width),u=l.start,c=l.end,d=L(o,e.height),f=d.start,h=d.end,m=e.top-t.height,v=e.left-t.width,y=e.bottom,b=e.right,w=1,S=1;i===p.vertical&&(S=w=I(f,h,t.height+e.height));var E=1,x=1;if(i===p.horizontal&&(x=E=I(u,c,t.width+e.width)),f<0&&(m+=f*w),h>0&&(y+=h*S),u<0&&(v+=u*E),c>0&&(b+=c*x),v+=r.x,b+=r.x,m+=r.y,y+=r.y,s){var C=r.y+e.top<t.height,O=r.x+e.left<t.width,P=r.y+e.bottom>t.scrollHeight-t.height,T=r.x+e.right>t.scrollWidth-t.height;C&&P&&(w=1,S=1,m=0,y=t.scrollHeight-t.height),O&&T&&(E=1,x=1,v=0,b=t.scrollWidth-t.width),!C&&P&&(m=e.top-t.height+r.y,w=I(f,h,(y=t.scrollHeight-t.height)-m),S=1,f<0&&(m+=f*w)),!O&&T&&(v=e.left-t.width+r.x,E=I(u,c,(b=t.scrollWidth-t.width)-v),x=1,u<0&&(v+=u*E)),C&&!P&&(m=0,w=1,S=I(f,h,(y=e.bottom+r.y)-m),h>0&&(y+=h*S)),O&&!T&&(v=0,E=1,x=I(u,c,(b=e.right+r.x)-v),c>0&&(b+=c*x))}return new g({startX:v,startY:m,endX:b,endY:y,startMultiplierX:E,endMultiplierX:x,startMultiplierY:w,endMultiplierY:S})}(this.rect,e,this.effects,t,this.scrollAxis,this.props.shouldAlwaysCompleteAnimation),this.scaledEffects=(s=this.effects,a=this.limits,(o=v({},s)).translateX&&(o.translateX=v({},s.translateX,{start:o.translateX.start*a.startMultiplierX,end:o.translateX.end*a.endMultiplierX})),o.translateY&&(o.translateY=v({},s.translateY,{start:o.translateY.start*a.startMultiplierY,end:o.translateY.end*a.endMultiplierY})),o)):this.limits=(l=this.rect,u=this.props.shouldAlwaysCompleteAnimation,c=l.top-e.height,d=l.left-e.width,f=l.bottom,h=l.right,d+=t.x,h+=t.x,c+=t.y,f+=t.y,u&&(t.y+l.top<e.height&&(c=0),t.x+l.left<e.width&&(d=0),f>e.scrollHeight-e.height&&(f=e.scrollHeight-e.height),h>e.scrollWidth-e.width&&(h=e.scrollWidth-e.width)),new g({startX:d,startY:c,endX:h,endY:f})),this._setElementStyles(),this},t._updateElementIsInView=function(e){var t=null===this.isInView;e!==this.isInView&&(e?this.props.onEnter&&this.props.onEnter(this):!t&&(this._setFinalProgress(),this._setElementStyles(),this.props.onExit&&this.props.onExit(this))),this.isInView=e},t._setFinalProgress=function(){var e=j(Math.round(this.progress),0,1);this._updateElementProgress(e)},t._setElementStyles=function(){this.props.disabled||this.disabledParallaxController||function(e,t,n){if(n){var r,i=M.reduce(function(n,r){var i=e[r]&&_(e[r],t);return void 0===i||void 0===i.value||void 0===i.unit?n:n+(r+"("+i.value)+i.unit+")"},""),s=void 0===(r=e.opacity&&_(e.opacity,t))||void 0===r.value||void 0===r.unit?"":""+r.value;n.style.transform=i,n.style.opacity=s}}(this.scaledEffects||this.effects,this.progress,this.el)},t._updateElementProgress=function(e){this.progress=e,this.props.onProgressChange&&this.props.onProgressChange(this.progress),this.props.onChange&&this.props.onChange(this)},t._setElementEasing=function(e){this.easing=x(e)},t.updateElementOptions=function(e){this.scrollAxis=e.scrollAxis,this.disabledParallaxController=e.disabledParallaxController||!1},t.updatePosition=function(e){if(!this.limits)return this;var t=this.scrollAxis===p.vertical,n=null===this.isInView,r=t?this.limits.startY:this.limits.startX,i=t?this.limits.endY:this.limits.endX,s=t?this.limits.totalY:this.limits.totalX,a=t?e.y:e.x,o=a>=r&&a<=i;if(this._updateElementIsInView(o),o){var l=T(r,s,a,this.easing);this._updateElementProgress(l),this._setElementStyles()}else n&&(this.progress=j(Math.round(T(r,s,a,this.easing)),0,1),this._setElementStyles());return this},e}(),z=function(){function e(e){this.scrollContainer=e.scrollContainer,this.width=e.width,this.height=e.height,this.scrollHeight=e.scrollHeight,this.scrollWidth=e.scrollWidth}var t=e.prototype;return t.hasChanged=function(e){return e.width!==this.width||e.height!==this.height||e.scrollWidth!==this.scrollWidth||e.scrollHeight!==this.scrollHeight},t.setSize=function(e){return this.width=e.width,this.height=e.height,this.scrollHeight=e.scrollHeight,this.scrollWidth=e.scrollWidth,this},e}(),F=function(){function e(e,t){this.x=e,this.y=t,this.dx=0,this.dy=0}return e.prototype.setScroll=function(e,t){return this.dx=e-this.x,this.dy=t-this.y,this.x=e,this.y=t,this},e}(),D=function(){function e(e){var t=e.scrollAxis,n=void 0===t?p.vertical:t,r=e.scrollContainer,i=e.disabled;this.disabled=void 0!==i&&i,this.scrollAxis=n,this.elements=[],this._hasScrollContainer=!!r,this.viewEl=null!=r?r:window;var s=this._getScrollPosition(),a=s[0],o=s[1];this.scroll=new F(a,o),this.view=new z({width:0,height:0,scrollWidth:0,scrollHeight:0,scrollContainer:this._hasScrollContainer?r:void 0}),this._ticking=!1,this._supportsPassive=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){return e=!0,!0}});window.addEventListener("test",null,t),window.removeEventListener("test",null,t)}catch(e){}return e}(),this._bindAllMethods(),this.disabled||(this._addListeners(this.viewEl),this._addResizeObserver(),this._setViewSize())}e.init=function(t){if(!("undefined"!=typeof window))throw Error("Looks like ParallaxController.init() was called on the server. This method must be called on the client.");return new e(t)};var t=e.prototype;return t._bindAllMethods=function(){var e=this;["_addListeners","_removeListeners","_getScrollPosition","_handleScroll","_handleUpdateCache","_updateAllElements","_updateElementPosition","_setViewSize","_addResizeObserver","_checkIfViewHasChanged","_getViewParams","getElements","createElement","removeElementById","resetElementStyles","updateElementPropsById","update","updateScrollContainer","destroy"].forEach(function(t){e[t]=e[t].bind(e)})},t._addListeners=function(e){e.addEventListener("scroll",this._handleScroll,!!this._supportsPassive&&{passive:!0}),window.addEventListener("resize",this._handleUpdateCache,!1),window.addEventListener("blur",this._handleUpdateCache,!1),window.addEventListener("focus",this._handleUpdateCache,!1),window.addEventListener("load",this._handleUpdateCache,!1)},t._removeListeners=function(e){var t;e.removeEventListener("scroll",this._handleScroll,!1),window.removeEventListener("resize",this._handleUpdateCache,!1),window.removeEventListener("blur",this._handleUpdateCache,!1),window.removeEventListener("focus",this._handleUpdateCache,!1),window.removeEventListener("load",this._handleUpdateCache,!1),null==(t=this._resizeObserver)||t.disconnect()},t._addResizeObserver=function(){var e=this;try{var t=this._hasScrollContainer?this.viewEl:document.documentElement;this._resizeObserver=new ResizeObserver(function(){return e.update()}),this._resizeObserver.observe(t)}catch(e){console.warn("Failed to create the resize observer in the ParallaxContoller")}},t._getScrollPosition=function(){return[this._hasScrollContainer?this.viewEl.scrollLeft:window.pageXOffset,this._hasScrollContainer?this.viewEl.scrollTop:window.pageYOffset]},t._handleScroll=function(){var e,t=this._getScrollPosition(),n=t[0],r=t[1];this.scroll.setScroll(n,r),!this._ticking&&(null==(e=this.elements)?void 0:e.length)>0&&(this._ticking=!0,window.requestAnimationFrame(this._updateAllElements))},t._handleUpdateCache=function(){this._setViewSize(),this._updateAllElements({updateCache:!0})},t._updateAllElements=function(e){var t=this,n=(void 0===e?{}:e).updateCache;this.elements&&this.elements.forEach(function(e){n&&e.setCachedAttributes(t.view,t.scroll),t._updateElementPosition(e)}),this._ticking=!1},t._updateElementPosition=function(e){e.props.disabled||this.disabled||e.updatePosition(this.scroll)},t._getViewParams=function(){if(this._hasScrollContainer){var e=this.viewEl.offsetWidth,t=this.viewEl.offsetHeight,n=this.viewEl.scrollHeight,r=this.viewEl.scrollWidth;return this.view.setSize({width:e,height:t,scrollHeight:n,scrollWidth:r})}var i=document.documentElement;return{width:window.innerWidth||i.clientWidth,height:window.innerHeight||i.clientHeight,scrollHeight:i.scrollHeight,scrollWidth:i.scrollWidth}},t._setViewSize=function(){return this.view.setSize(this._getViewParams())},t._checkIfViewHasChanged=function(){return this.view.hasChanged(this._getViewParams())},t.getElements=function(){return this.elements},t.createElement=function(e){var t=new R(v({},e,{scrollAxis:this.scrollAxis,disabledParallaxController:this.disabled}));return t.setCachedAttributes(this.view,this.scroll),this.elements=this.elements?[].concat(this.elements,[t]):[t],this._updateElementPosition(t),this._checkIfViewHasChanged()&&this.update(),t},t.removeElementById=function(e){this.elements&&(this.elements=this.elements.filter(function(t){return t.id!==e}))},t.updateElementPropsById=function(e,t){this.elements&&(this.elements=this.elements.map(function(n){return n.id===e?n.updateProps(t):n})),this.update()},t.resetElementStyles=function(e){k(e)},t.update=function(){var e=this._getScrollPosition(),t=e[0],n=e[1];this.scroll.setScroll(t,n),this._setViewSize(),this._updateAllElements({updateCache:!0})},t.updateScrollContainer=function(e){this._removeListeners(this.viewEl),this.viewEl=e,this._hasScrollContainer=!!e,this.view=new z({width:0,height:0,scrollWidth:0,scrollHeight:0,scrollContainer:e}),this._setViewSize(),this._addListeners(this.viewEl),this._updateAllElements({updateCache:!0})},t.disableParallaxController=function(){this.disabled=!0,this._removeListeners(this.viewEl),this.elements&&this.elements.forEach(function(e){return k(e)})},t.enableParallaxController=function(){var e=this;this.disabled=!1,this.elements&&this.elements.forEach(function(t){return t.updateElementOptions({disabledParallaxController:!1,scrollAxis:e.scrollAxis})}),this._addListeners(this.viewEl),this._addResizeObserver(),this._setViewSize()},t.disableAllElements=function(){console.warn("deprecated: use disableParallaxController() instead"),this.elements&&(this.elements=this.elements.map(function(e){return e.updateProps({disabled:!0})})),this.update()},t.enableAllElements=function(){console.warn("deprecated: use enableParallaxController() instead"),this.elements&&(this.elements=this.elements.map(function(e){return e.updateProps({disabled:!1})})),this.update()},t.destroy=function(){this._removeListeners(this.viewEl),this.elements&&this.elements.forEach(function(e){return k(e)}),this.elements=void 0},e}(),V=n(7294),H=["disabled","easing","endScroll","onChange","onEnter","onExit","onProgressChange","opacity","rootMargin","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","shouldAlwaysCompleteAnimation","shouldDisableScalingTranslations","speed","startScroll","targetElement","translateX","translateY"];function N(e){var t,n=e.disabled,r=e.easing,i=e.endScroll,s=e.onChange,a=e.onEnter,o=e.onExit,l=e.onProgressChange,u=e.opacity,c=e.rootMargin,d=e.rotate,p=e.rotateX,f=e.rotateY,h=e.rotateZ,m=e.scale,g=e.scaleX,v=e.scaleY,y=e.scaleZ,b=e.shouldAlwaysCompleteAnimation,w=e.shouldDisableScalingTranslations,S=e.speed,E=e.startScroll,x=e.targetElement,C=e.translateX,O=e.translateY,P=function(e,t){if(null==e)return{};var n,r,i={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,H);return{parallaxProps:(Object.keys(t={disabled:n,easing:r,endScroll:i,onChange:s,onEnter:a,onExit:o,onProgressChange:l,opacity:u,rootMargin:c,rotate:d,rotateX:p,rotateY:f,rotateZ:h,scale:m,scaleX:g,scaleY:v,scaleZ:y,shouldAlwaysCompleteAnimation:b,shouldDisableScalingTranslations:w,speed:S,startScroll:E,targetElement:x,translateX:C,translateY:O}).forEach(function(e){return void 0===t[e]&&delete t[e]}),t),rest:P}}var B=V.createContext(null);function $(e){var t,n,r,i,s,a,o=N(e),l=o.parallaxProps,u=o.rest,c=(t=function(){var e=(0,V.useContext)(B);if("undefined"==typeof window)return null;if(!e)throw Error("Could not find `react-scroll-parallax` context value. Please ensure the component is wrapped in a <ParallaxProvider>");return e}(),n=(0,V.useRef)(null),r=N(l).parallaxProps,(0,V.useEffect)(function(){var e="undefined"==typeof window,n=t instanceof D;if(!e&&!t&&!n)throw Error("Must wrap your application's <Parallax /> components in a <ParallaxProvider />.")},[t]),s=(i=(0,V.useState)())[0],a=i[1],(0,V.useEffect)(function(){var e;if(n.current instanceof HTMLElement){var i={el:n.current,props:r};a(e=null==t?void 0:t.createElement(i))}else throw Error("You must assign the ref returned by the useParallax() hook to an HTML Element.");return function(){e&&(null==t||t.removeElementById(e.id))}},[]),(0,V.useEffect)(function(){s&&(l.disabled&&(null==t||t.resetElementStyles(s)),null==t||t.updateElementPropsById(s.id,r))},[l.disabled,l.easing,l.endScroll,l.onChange,l.onEnter,l.onExit,l.onProgressChange,l.opacity,l.rootMargin,l.rotate,l.rotateX,l.rotateY,l.rotateZ,l.scale,l.scaleX,l.scaleY,l.scaleZ,l.shouldAlwaysCompleteAnimation,l.shouldDisableScalingTranslations,l.speed,l.startScroll,l.targetElement,l.translateX,l.translateY]),{ref:n,controller:t,element:s}).ref;return V.createElement("div",Object.assign({ref:c},u),e.children)}function W(e){var t,n=(0,V.useRef)(null);return n.current||(n.current=(t={scrollAxis:e.scrollAxis||p.vertical,scrollContainer:e.scrollContainer,disabled:e.isDisabled},"undefined"!=typeof window?D.init(t):null)),(0,V.useEffect)(function(){e.scrollContainer&&n.current&&n.current.updateScrollContainer(e.scrollContainer)},[e.scrollContainer,n.current]),(0,V.useEffect)(function(){e.isDisabled&&n.current&&n.current.disableParallaxController(),!e.isDisabled&&n.current&&n.current.enableParallaxController()},[e.isDisabled,n.current]),(0,V.useEffect)(function(){return function(){(null==n?void 0:n.current)&&(null==n||n.current.destroy())}},[]),V.createElement(B.Provider,{value:n.current},e.children)}},8477:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=a(n(7294)),s=a(n(1093));function a(e){return e&&e.__esModule?e:{default:e}}var o=function(e){function t(){return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),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)).apply(this,arguments))}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:"render",value:function(){return i.default.createElement("button",this.props,this.props.children)}}]),t}(i.default.Component);t.default=(0,s.default)(o)},5343:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=l(n(7294)),a=l(n(8e3)),o=l(n(5697));function l(e){return e&&e.__esModule?e:{default:e}}var u=function(e){function t(){return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,t),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)).apply(this,arguments))}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),i(t,[{key:"render",value:function(){var e=this,t=r({},this.props);return delete t.name,t.parentBindings&&delete t.parentBindings,s.default.createElement("div",r({},t,{ref:function(t){e.props.parentBindings.domNode=t}}),this.props.children)}}]),t}(s.default.Component);u.propTypes={name:o.default.string,id:o.default.string},t.default=(0,a.default)(u)},8939:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=s(n(7294)),i=s(n(1093));function s(e){return e&&e.__esModule?e:{default:e}}function a(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 o=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,n,i,s=arguments.length,o=Array(s),l=0;l<s;l++)o[l]=arguments[l];return n=i=a(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(o))),i.render=function(){return r.default.createElement("a",i.props,i.props.children)},a(i,n)}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),t}(r.default.Component);t.default=(0,i.default)(o)},6261:function(e,t,n){"use strict";t.W_=t.rU=void 0;var r=f(n(8939)),i=f(n(8477)),s=f(n(5343)),a=f(n(2628)),o=f(n(4592)),l=f(n(7606)),u=f(n(3200)),c=f(n(1093)),d=f(n(8e3)),p=f(n(8482));function f(e){return e&&e.__esModule?e:{default:e}}t.rU=r.default,i.default,t.W_=s.default,a.default,o.default,l.default,u.default,c.default,d.default,p.default,r.default,i.default,s.default,a.default,o.default,l.default,u.default,c.default,d.default,p.default},8482:function(e,t,n){"use strict";var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}();function s(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function a(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}function o(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)}var l=n(7294);n(3935),n(4259);var u=n(7606),c=n(2628),d=n(5697),p=n(9678),f={to:d.string.isRequired,containerId:d.string,container:d.object,activeClass:d.string,spy:d.bool,smooth:d.oneOfType([d.bool,d.string]),offset:d.number,delay:d.number,isDynamic:d.bool,onClick:d.func,duration:d.oneOfType([d.number,d.func]),absolute:d.bool,onSetActive:d.func,onSetInactive:d.func,ignoreCancelEvents:d.bool,hashSpy:d.bool,spyThrottle:d.number};e.exports={Scroll:function(e,t){console.warn("Helpers.Scroll is deprecated since v1.7.0");var n=t||c,d=function(t){function c(e){s(this,c);var t=a(this,(c.__proto__||Object.getPrototypeOf(c)).call(this,e));return h.call(t),t.state={active:!1},t}return o(c,t),i(c,[{key:"getScrollSpyContainer",value:function(){var e=this.props.containerId,t=this.props.container;return e?document.getElementById(e):t&&t.nodeType?t:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var e=this.getScrollSpyContainer();u.isMounted(e)||u.mount(e,this.props.spyThrottle),this.props.hashSpy&&(p.isMounted()||p.mount(n),p.mapContainer(this.props.to,e)),this.props.spy&&u.addStateHandler(this.stateHandler),u.addSpyHandler(this.spyHandler,e),this.setState({container:e})}}},{key:"componentWillUnmount",value:function(){u.unmount(this.stateHandler,this.spyHandler)}},{key:"render",value:function(){var t="";t=this.state&&this.state.active?((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():this.props.className;var n=r({},this.props);for(var i in f)n.hasOwnProperty(i)&&delete n[i];return n.className=t,n.onClick=this.handleClick,l.createElement(e,n)}}]),c}(l.Component),h=function(){var e=this;this.scrollTo=function(t,i){n.scrollTo(t,r({},e.state,i))},this.handleClick=function(t){e.props.onClick&&e.props.onClick(t),t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),e.scrollTo(e.props.to,e.props)},this.stateHandler=function(){n.getActiveLink()!==e.props.to&&(null!==e.state&&e.state.active&&e.props.onSetInactive&&e.props.onSetInactive(),e.setState({active:!1}))},this.spyHandler=function(t){var r=e.getScrollSpyContainer();if(!p.isMounted()||p.isInitialized()){var i=e.props.to,s=null,a=0,o=0,l=0;if(r.getBoundingClientRect&&(l=r.getBoundingClientRect().top),!s||e.props.isDynamic){if(!(s=n.get(i)))return;var c=s.getBoundingClientRect();o=(a=c.top-l+t)+c.height}var d=t-e.props.offset,f=d>=Math.floor(a)&&d<Math.floor(o),h=d<Math.floor(a)||d>=Math.floor(o),m=n.getActiveLink();return h?(i===m&&n.setActiveLink(void 0),e.props.hashSpy&&p.getHash()===i&&p.changeHash(),e.props.spy&&e.state.active&&(e.setState({active:!1}),e.props.onSetInactive&&e.props.onSetInactive()),u.updateStates()):f&&m!==i?(n.setActiveLink(i),e.props.hashSpy&&p.changeHash(i),e.props.spy&&(e.setState({active:!0}),e.props.onSetActive&&e.props.onSetActive(i)),u.updateStates()):void 0}}};return d.propTypes=f,d.defaultProps={offset:0},d},Element:function(e){console.warn("Helpers.Element is deprecated since v1.7.0");var t=function(t){function n(e){s(this,n);var t=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.childBindings={domNode:null},t}return o(n,t),i(n,[{key:"componentDidMount",value:function(){if("undefined"==typeof window)return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(e){this.props.name!==e.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if("undefined"==typeof window)return!1;c.unregister(this.props.name)}},{key:"registerElems",value:function(e){c.register(e,this.childBindings.domNode)}},{key:"render",value:function(){return l.createElement(e,r({},this.props,{parentBindings:this.childBindings}))}}]),n}(l.Component);return t.propTypes={name:d.string,id:d.string},t}}},3200:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};o(n(4259));var i=o(n(9765)),s=o(n(140)),a=o(n(4592));function o(e){return e&&e.__esModule?e:{default:e}}var l=function(e){return i.default[e.smooth]||i.default.defaultEasing},u=function(){if("undefined"!=typeof window)return window.requestAnimationFrame||window.webkitRequestAnimationFrame}()||function(e,t,n){window.setTimeout(e,n||1e3/60,new Date().getTime())},c=function(){return{currentPosition:0,startPosition:0,targetPosition:0,progress:0,duration:0,cancel:!1,target:null,containerElement:null,to:null,start:null,delta:null,percent:null,delayTimeout:null}},d=function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollLeft;var n=void 0!==window.pageXOffset,r="CSS1Compat"===(document.compatMode||"");return n?window.pageXOffset:r?document.documentElement.scrollLeft:document.body.scrollLeft},p=function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollTop;var n=void 0!==window.pageXOffset,r="CSS1Compat"===(document.compatMode||"");return n?window.pageYOffset:r?document.documentElement.scrollTop:document.body.scrollTop},f=function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollWidth-t.offsetWidth;var n=document.body,r=document.documentElement;return Math.max(n.scrollWidth,n.offsetWidth,r.clientWidth,r.scrollWidth,r.offsetWidth)},h=function(e){var t=e.data.containerElement;if(t&&t!==document&&t!==document.body)return t.scrollHeight-t.offsetHeight;var n=document.body,r=document.documentElement;return Math.max(n.scrollHeight,n.offsetHeight,r.clientHeight,r.scrollHeight,r.offsetHeight)},m=function e(t,n,r){var i=n.data;if(!n.ignoreCancelEvents&&i.cancel){a.default.registered.end&&a.default.registered.end(i.to,i.target,i.currentPositionY);return}if(i.delta=Math.round(i.targetPosition-i.startPosition),null===i.start&&(i.start=r),i.progress=r-i.start,i.percent=i.progress>=i.duration?1:t(i.progress/i.duration),i.currentPosition=i.startPosition+Math.ceil(i.delta*i.percent),i.containerElement&&i.containerElement!==document&&i.containerElement!==document.body?n.horizontal?i.containerElement.scrollLeft=i.currentPosition:i.containerElement.scrollTop=i.currentPosition:n.horizontal?window.scrollTo(i.currentPosition,0):window.scrollTo(0,i.currentPosition),i.percent<1){var s=e.bind(null,t,n);u.call(window,s);return}a.default.registered.end&&a.default.registered.end(i.to,i.target,i.currentPosition)},g=function(e){e.data.containerElement=e?e.containerId?document.getElementById(e.containerId):e.container&&e.container.nodeType?e.container:document:null},v=function(e,t,n,r){if(t.data=t.data||c(),window.clearTimeout(t.data.delayTimeout),s.default.subscribe(function(){t.data.cancel=!0}),g(t),t.data.start=null,t.data.cancel=!1,t.data.startPosition=t.horizontal?d(t):p(t),t.data.targetPosition=t.absolute?e:e+t.data.startPosition,t.data.startPosition===t.data.targetPosition){a.default.registered.end&&a.default.registered.end(t.data.to,t.data.target,t.data.currentPosition);return}t.data.delta=Math.round(t.data.targetPosition-t.data.startPosition),t.data.duration=("function"==typeof(i=t.duration)?i:function(){return i})(t.data.delta),t.data.duration=isNaN(parseFloat(t.data.duration))?1e3:parseFloat(t.data.duration),t.data.to=n,t.data.target=r;var i,o=l(t),f=m.bind(null,o,t);if(t&&t.delay>0){t.data.delayTimeout=window.setTimeout(function(){a.default.registered.begin&&a.default.registered.begin(t.data.to,t.data.target),u.call(window,f)},t.delay);return}a.default.registered.begin&&a.default.registered.begin(t.data.to,t.data.target),u.call(window,f)},y=function(e){return(e=r({},e)).data=e.data||c(),e.absolute=!0,e};t.default={animateTopScroll:v,getAnimationType:l,scrollToTop:function(e){v(0,y(e))},scrollToBottom:function(e){g(e=y(e)),v(e.horizontal?f(e):h(e),e)},scrollTo:function(e,t){v(e,y(t))},scrollMore:function(e,t){g(t=y(t)),v(e+(t.horizontal?d(t):p(t)),t)}}},140:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(5236),i=["mousedown","mousewheel","touchmove","keydown"];t.default={subscribe:function(e){return"undefined"!=typeof document&&i.forEach(function(t){return(0,r.addPassiveEventListener)(document,t,e)})}}},5236:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addPassiveEventListener=function(e,t,r){var i=r.name;i||(i=t,console.warn("Listener must be a named function.")),n.has(t)||n.set(t,new Set);var s=n.get(t);if(!s.has(i)){var a=function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch(e){}return e}();e.addEventListener(t,r,!!a&&{passive:!0}),s.add(i)}},t.removePassiveEventListener=function(e,t,r){e.removeEventListener(t,r),n.get(t).delete(r.name||t)};var n=new Map},8e3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=l(n(7294));l(n(3935));var a=l(n(2628)),o=l(n(5697));function l(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){var t=function(t){function n(e){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,n);var t=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,(n.__proto__||Object.getPrototypeOf(n)).call(this,e));return t.childBindings={domNode:null},t}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)}(n,t),i(n,[{key:"componentDidMount",value:function(){if("undefined"==typeof window)return!1;this.registerElems(this.props.name)}},{key:"componentDidUpdate",value:function(e){this.props.name!==e.name&&this.registerElems(this.props.name)}},{key:"componentWillUnmount",value:function(){if("undefined"==typeof window)return!1;a.default.unregister(this.props.name)}},{key:"registerElems",value:function(e){a.default.register(e,this.childBindings.domNode)}},{key:"render",value:function(){return s.default.createElement(e,r({},this.props,{parentBindings:this.childBindings}))}}]),n}(s.default.Component);return t.propTypes={name:o.default.string,id:o.default.string},t}},4592:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={registered:{},scrollEvent:{register:function(e,t){n.registered[e]=t},remove:function(e){n.registered[e]=null}}};t.default=n},9678:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n(5236);var r,i=(r=n(4259))&&r.__esModule?r:{default:r};t.default={mountFlag:!1,initialized:!1,scroller:null,containers:{},mount:function(e){this.scroller=e,this.handleHashChange=this.handleHashChange.bind(this),window.addEventListener("hashchange",this.handleHashChange),this.initStateFromHash(),this.mountFlag=!0},mapContainer:function(e,t){this.containers[e]=t},isMounted:function(){return this.mountFlag},isInitialized:function(){return this.initialized},initStateFromHash:function(){var e=this,t=this.getHash();t?window.setTimeout(function(){e.scrollTo(t,!0),e.initialized=!0},10):this.initialized=!0},scrollTo:function(e,t){var n=this.scroller;if(n.get(e)&&(t||e!==n.getActiveLink())){var r=this.containers[e]||document;n.scrollTo(e,{container:r})}},getHash:function(){return i.default.getHash()},changeHash:function(e,t){this.isInitialized()&&i.default.getHash()!==e&&i.default.updateHash(e,t)},handleHashChange:function(){this.scrollTo(this.getHash())},unmount:function(){this.scroller=null,this.containers=null,window.removeEventListener("hashchange",this.handleHashChange)}}},1093:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),s=c(n(7294)),a=c(n(7606)),o=c(n(2628)),l=c(n(5697)),u=c(n(9678));function c(e){return e&&e.__esModule?e:{default:e}}var d={to:l.default.string.isRequired,containerId:l.default.string,container:l.default.object,activeClass:l.default.string,activeStyle:l.default.object,spy:l.default.bool,horizontal:l.default.bool,smooth:l.default.oneOfType([l.default.bool,l.default.string]),offset:l.default.number,delay:l.default.number,isDynamic:l.default.bool,onClick:l.default.func,duration:l.default.oneOfType([l.default.number,l.default.func]),absolute:l.default.bool,onSetActive:l.default.func,onSetInactive:l.default.func,ignoreCancelEvents:l.default.bool,hashSpy:l.default.bool,saveHashHistory:l.default.bool,spyThrottle:l.default.number};t.default=function(e,t){var n=t||o.default,l=function(t){function o(e){!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,o);var t=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,(o.__proto__||Object.getPrototypeOf(o)).call(this,e));return c.call(t),t.state={active:!1},t}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)}(o,t),i(o,[{key:"getScrollSpyContainer",value:function(){var e=this.props.containerId,t=this.props.container;return e&&!t?document.getElementById(e):t&&t.nodeType?t:document}},{key:"componentDidMount",value:function(){if(this.props.spy||this.props.hashSpy){var e=this.getScrollSpyContainer();a.default.isMounted(e)||a.default.mount(e,this.props.spyThrottle),this.props.hashSpy&&(u.default.isMounted()||u.default.mount(n),u.default.mapContainer(this.props.to,e)),a.default.addSpyHandler(this.spyHandler,e),this.setState({container:e})}}},{key:"componentWillUnmount",value:function(){a.default.unmount(this.stateHandler,this.spyHandler)}},{key:"render",value:function(){var t="";t=this.state&&this.state.active?((this.props.className||"")+" "+(this.props.activeClass||"active")).trim():this.props.className;var n={};n=this.state&&this.state.active?r({},this.props.style,this.props.activeStyle):r({},this.props.style);var i=r({},this.props);for(var a in d)i.hasOwnProperty(a)&&delete i[a];return i.className=t,i.style=n,i.onClick=this.handleClick,s.default.createElement(e,i)}}]),o}(s.default.PureComponent),c=function(){var e=this;this.scrollTo=function(t,i){n.scrollTo(t,r({},e.state,i))},this.handleClick=function(t){e.props.onClick&&e.props.onClick(t),t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),e.scrollTo(e.props.to,e.props)},this.spyHandler=function(t,r){var i=e.getScrollSpyContainer();if(!u.default.isMounted()||u.default.isInitialized()){var s=e.props.horizontal,a=e.props.to,o=null,l=void 0,c=void 0;if(s){var d=0,p=0,f=0;if(i.getBoundingClientRect&&(f=i.getBoundingClientRect().left),!o||e.props.isDynamic){if(!(o=n.get(a)))return;var h=o.getBoundingClientRect();p=(d=h.left-f+t)+h.width}var m=t-e.props.offset;l=m>=Math.floor(d)&&m<Math.floor(p),c=m<Math.floor(d)||m>=Math.floor(p)}else{var g=0,v=0,y=0;if(i.getBoundingClientRect&&(y=i.getBoundingClientRect().top),!o||e.props.isDynamic){if(!(o=n.get(a)))return;var b=o.getBoundingClientRect();v=(g=b.top-y+r)+b.height}var w=r-e.props.offset;l=w>=Math.floor(g)&&w<Math.floor(v),c=w<Math.floor(g)||w>=Math.floor(v)}var S=n.getActiveLink();if(c){if(a===S&&n.setActiveLink(void 0),e.props.hashSpy&&u.default.getHash()===a){var E=e.props.saveHashHistory;u.default.changeHash("",void 0!==E&&E)}e.props.spy&&e.state.active&&(e.setState({active:!1}),e.props.onSetInactive&&e.props.onSetInactive(a,o))}if(l&&(S!==a||!1===e.state.active)){n.setActiveLink(a);var x=e.props.saveHashHistory;e.props.hashSpy&&u.default.changeHash(a,void 0!==x&&x),e.props.spy&&(e.setState({active:!0}),e.props.onSetActive&&e.props.onSetActive(a,o))}}}};return l.propTypes=d,l.defaultProps={offset:0},l}},7606:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,i=(r=n(3096))&&r.__esModule?r:{default:r},s=n(5236),a=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:66;return(0,i.default)(e,t)},o={spyCallbacks:[],spySetState:[],scrollSpyContainers:[],mount:function(e,t){if(e){var n=a(function(t){o.scrollHandler(e)},t);o.scrollSpyContainers.push(e),(0,s.addPassiveEventListener)(e,"scroll",n)}},isMounted:function(e){return -1!==o.scrollSpyContainers.indexOf(e)},currentPositionX:function(e){if(e!==document)return e.scrollLeft;var t=void 0!==window.pageYOffset,n="CSS1Compat"===(document.compatMode||"");return t?window.pageXOffset:n?document.documentElement.scrollLeft:document.body.scrollLeft},currentPositionY:function(e){if(e!==document)return e.scrollTop;var t=void 0!==window.pageXOffset,n="CSS1Compat"===(document.compatMode||"");return t?window.pageYOffset:n?document.documentElement.scrollTop:document.body.scrollTop},scrollHandler:function(e){(o.scrollSpyContainers[o.scrollSpyContainers.indexOf(e)].spyCallbacks||[]).forEach(function(t){return t(o.currentPositionX(e),o.currentPositionY(e))})},addStateHandler:function(e){o.spySetState.push(e)},addSpyHandler:function(e,t){var n=o.scrollSpyContainers[o.scrollSpyContainers.indexOf(t)];n.spyCallbacks||(n.spyCallbacks=[]),n.spyCallbacks.push(e),e(o.currentPositionX(t),o.currentPositionY(t))},updateStates:function(){o.spySetState.forEach(function(e){return e()})},unmount:function(e,t){o.scrollSpyContainers.forEach(function(e){return e.spyCallbacks&&e.spyCallbacks.length&&e.spyCallbacks.indexOf(t)>-1&&e.spyCallbacks.splice(e.spyCallbacks.indexOf(t),1)}),o.spySetState&&o.spySetState.length&&o.spySetState.indexOf(e)>-1&&o.spySetState.splice(o.spySetState.indexOf(e),1),document.removeEventListener("scroll",o.scrollHandler)},update:function(){return o.scrollSpyContainers.forEach(function(e){return o.scrollHandler(e)})}};t.default=o},2628:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=o(n(4259)),s=o(n(3200)),a=o(n(4592));function o(e){return e&&e.__esModule?e:{default:e}}var l={},u=void 0;t.default={unmount:function(){l={}},register:function(e,t){l[e]=t},unregister:function(e){delete l[e]},get:function(e){return l[e]||document.getElementById(e)||document.getElementsByName(e)[0]||document.getElementsByClassName(e)[0]},setActiveLink:function(e){return u=e},getActiveLink:function(){return u},scrollTo:function(e,t){var n=this.get(e);if(!n){console.warn("target Element not found");return}var o=(t=r({},t,{absolute:!1})).containerId,l=t.container,u=void 0;u=o?document.getElementById(o):l&&l.nodeType?l:document,t.absolute=!0;var c=t.horizontal,d=i.default.scrollOffset(u,n,c)+(t.offset||0);if(!t.smooth){a.default.registered.begin&&a.default.registered.begin(e,n),u===document?t.horizontal?window.scrollTo(d,0):window.scrollTo(0,d):u.scrollTop=d,a.default.registered.end&&a.default.registered.end(e,n);return}s.default.animateTopScroll(d,t,e,n)}}},9765:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={defaultEasing:function(e){return e<.5?Math.pow(2*e,2)/2:1-Math.pow((1-e)*2,2)/2},linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return e*(2-e)},easeInOutQuad:function(e){return e<.5?2*e*e:-1+(4-2*e)*e},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return--e*e*e+1},easeInOutCubic:function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return 1- --e*e*e*e},easeInOutQuart:function(e){return e<.5?8*e*e*e*e:1-8*--e*e*e*e},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return 1+--e*e*e*e*e},easeInOutQuint:function(e){return e<.5?16*e*e*e*e*e:1+16*--e*e*e*e*e}}},4259:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t){for(var n=e.offsetTop,r=e.offsetParent;r&&!t(r);)n+=r.offsetTop,r=r.offsetParent;return{offsetTop:n,offsetParent:r}};t.default={updateHash:function(e,t){var n=0===e.indexOf("#")?e.substring(1):e,r=n?"#"+n:"",i=window&&window.location,s=r?i.pathname+i.search+r:i.pathname+i.search;t?history.pushState(history.state,"",s):history.replaceState(history.state,"",s)},getHash:function(){return window.location.hash.replace(/^#/,"")},filterElementInContainer:function(e){return function(t){return e.contains?e!=t&&e.contains(t):!!(16&e.compareDocumentPosition(t))}},scrollOffset:function(e,t,r){if(r)return e===document?t.getBoundingClientRect().left+(window.scrollX||window.pageXOffset):"static"!==getComputedStyle(e).position?t.offsetLeft:t.offsetLeft-e.offsetLeft;if(e===document)return t.getBoundingClientRect().top+(window.scrollY||window.pageYOffset);if("static"!==getComputedStyle(e).position){if(t.offsetParent!==e){var i=n(t,function(t){return t===e||t===document}),s=i.offsetTop;if(i.offsetParent!==e)throw Error("Seems containerElement is not an ancestor of the Element");return s}return t.offsetTop}if(t.offsetParent===e.offsetParent)return t.offsetTop-e.offsetTop;var a=function(e){return e===document};return n(t,a).offsetTop-n(e,a).offsetTop}}},8472:function(e,t,n){"use strict";e.exports=n(3287)},1277:function(e,t,n){"use strict";var r,i,s=Object.create,a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,u=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,d=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of l(t))c.call(e,i)||i===n||a(e,i,{get:()=>t[i],enumerable:!(r=o(t,i))||r.enumerable});return e},p={};((e,t)=>{for(var n in t)a(e,n,{get:t[n],enumerable:!0})})(p,{Animated:()=>b,AnimatedArray:()=>_,AnimatedObject:()=>T,AnimatedString:()=>x,AnimatedValue:()=>S,createHost:()=>V,getAnimated:()=>g,getAnimatedType:()=>I,getPayload:()=>y,isAnimated:()=>m,setAnimated:()=>v}),e.exports=d(a({},"__esModule",{value:!0}),p);var f=n(4873),h=Symbol.for("Animated:node"),m=e=>!!e&&e[h]===e,g=e=>e&&e[h],v=(e,t)=>(0,f.defineHidden)(e,h,t),y=e=>e&&e[h]&&e[h].getPayload(),b=class{constructor(){v(this,this)}getPayload(){return this.payload||[]}},w=n(4873),S=class extends b{constructor(e){super(),this._value=e,this.done=!0,this.durationProgress=0,w.is.num(this._value)&&(this.lastPosition=this._value)}static create(e){return new S(e)}getPayload(){return[this]}getValue(){return this._value}setValue(e,t){return w.is.num(e)&&(this.lastPosition=e,t&&(e=Math.round(e/t)*t,this.done&&(this.lastPosition=e))),this._value!==e&&(this._value=e,!0)}reset(){let{done:e}=this;this.done=!1,w.is.num(this._value)&&(this.elapsedTime=0,this.durationProgress=0,this.lastPosition=this._value,e&&(this.lastVelocity=null),this.v0=null)}},E=n(4873),x=class extends S{constructor(e){super(0),this._string=null,this._toString=(0,E.createInterpolator)({output:[e,e]})}static create(e){return new x(e)}getValue(){return this._string??(this._string=this._toString(this._value))}setValue(e){if(E.is.str(e)){if(e==this._string)return!1;this._string=e,this._value=1}else{if(!super.setValue(e))return!1;this._string=null}return!0}reset(e){e&&(this._toString=(0,E.createInterpolator)({output:[this.getValue(),e]})),this._value=0,super.reset()}},C=n(4873),O=n(4873),P={dependencies:null},T=class extends b{constructor(e){super(),this.source=e,this.setValue(e)}getValue(e){let t={};return(0,O.eachProp)(this.source,(n,r)=>{m(n)?t[r]=n.getValue(e):(0,O.hasFluidValue)(n)?t[r]=(0,O.getFluidValue)(n):e||(t[r]=n)}),t}setValue(e){this.source=e,this.payload=this._makePayload(e)}reset(){this.payload&&(0,O.each)(this.payload,e=>e.reset())}_makePayload(e){if(e){let t=new Set;return(0,O.eachProp)(e,this._addToPayload,t),Array.from(t)}}_addToPayload(e){P.dependencies&&(0,O.hasFluidValue)(e)&&P.dependencies.add(e);let t=y(e);t&&(0,O.each)(t,e=>this.add(e))}},_=class extends T{constructor(e){super(e)}static create(e){return new _(e)}getValue(){return this.source.map(e=>e.getValue())}setValue(e){let t=this.getPayload();return e.length==t.length?t.map((t,n)=>t.setValue(e[n])).some(Boolean):(super.setValue(e.map(M)),!0)}};function M(e){return((0,C.isAnimatedString)(e)?x:S).create(e)}var k=n(4873);function I(e){let t=g(e);return t?t.constructor:k.is.arr(e)?_:(0,k.isAnimatedString)(e)?x:S}var L=n(4873),A=(i=null!=(r=n(7294))?s(u(r)):{},d(r&&r.__esModule?i:a(i,"default",{value:r,enumerable:!0}),r)),j=n(7294),R=n(4873),z=(e,t)=>{let n=!R.is.fun(e)||e.prototype&&e.prototype.isReactComponent;return(0,j.forwardRef)((r,i)=>{var s;let a;let o=(0,j.useRef)(null),l=n&&(0,j.useCallback)(e=>{o.current=(i&&(R.is.fun(i)?i(e):i.current=e),e)},[i]),[u,c]=(s=r,a=new Set,P.dependencies=a,s.style&&(s={...s,style:t.createAnimatedStyle(s.style)}),s=new T(s),P.dependencies=null,[s,a]),d=(0,R.useForceUpdate)(),p=()=>{let e=o.current;(!n||e)&&(!!e&&t.applyAnimatedValues(e,u.getValue(!0)))===!1&&d()},f=new F(p,c),h=(0,j.useRef)();(0,R.useIsomorphicLayoutEffect)(()=>(h.current=f,(0,R.each)(c,e=>(0,R.addFluidObserver)(e,f)),()=>{h.current&&((0,R.each)(h.current.deps,e=>(0,R.removeFluidObserver)(e,h.current)),R.raf.cancel(h.current.update))})),(0,j.useEffect)(p,[]),(0,R.useOnce)(()=>()=>{let e=h.current;(0,R.each)(e.deps,t=>(0,R.removeFluidObserver)(t,e))});let m=t.getComponentProps(u.getValue());return A.createElement(e,{...m,ref:l})})},F=class{constructor(e,t){this.update=e,this.deps=t}eventObserved(e){"change"==e.type&&R.raf.write(this.update)}},D=Symbol.for("AnimatedComponent"),V=(e,{applyAnimatedValues:t=()=>!1,createAnimatedStyle:n=e=>new T(e),getComponentProps:r=e=>e}={})=>{let i={applyAnimatedValues:t,createAnimatedStyle:n,getComponentProps:r},s=e=>{let t=H(e)||"Anonymous";return(e=L.is.str(e)?s[e]||(s[e]=z(e,i)):e[D]||(e[D]=z(e,i))).displayName=`Animated(${t})`,e};return(0,L.eachProp)(e,(t,n)=>{L.is.arr(e)&&(n=H(t)),s[n]=s(t)}),{animated:s}},H=e=>L.is.str(e)?e:e&&L.is.str(e.displayName)?e.displayName:L.is.fun(e)&&e.name||null},2261:function(e,t,n){"use strict";var r,i,s=Object.create,a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,u=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,d=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of l(t))c.call(e,i)||i===n||a(e,i,{get:()=>t[i],enumerable:!(r=o(t,i))||r.enumerable});return e},p=(e,t,n)=>(n=null!=e?s(u(e)):{},d(!t&&e&&e.__esModule?n:a(n,"default",{value:e,enumerable:!0}),e)),f={};((e,t)=>{for(var n in t)a(e,n,{get:t[n],enumerable:!0})})(f,{BailSignal:()=>Z,Controller:()=>eE,FrameValue:()=>ei,Globals:()=>tl.Globals,Interpolation:()=>tn,Spring:()=>e4,SpringContext:()=>eA,SpringRef:()=>ez,SpringValue:()=>ed,Trail:()=>e9,Transition:()=>e8,config:()=>F,createInterpolator:()=>tc.createInterpolator,easings:()=>tc.easings,inferTo:()=>C,interpolate:()=>to,to:()=>ta,update:()=>tu,useChain:()=>k,useInView:()=>e3,useIsomorphicLayoutEffect:()=>tc.useIsomorphicLayoutEffect,useReducedMotion:()=>tc.useReducedMotion,useResize:()=>e0,useScroll:()=>eZ,useSpring:()=>eD,useSpringRef:()=>eN,useSpringValue:()=>e$,useSprings:()=>eF,useTrail:()=>eG,useTransition:()=>eU}),e.exports=d(a({},"__esModule",{value:!0}),f);var h=n(4873),m=n(4873);function g(e,...t){return m.is.fun(e)?e(...t):e}var v=(e,t)=>!0===e||!!(t&&e&&(m.is.fun(e)?e(t):(0,m.toArray)(e).includes(t))),y=(e,t)=>m.is.obj(e)?t&&e[t]:e,b=(e,t)=>!0===e.default?e[t]:e.default?e.default[t]:void 0,w=e=>e,S=(e,t=w)=>{let n=E;e.default&&!0!==e.default&&(n=Object.keys(e=e.default));let r={};for(let i of n){let n=t(e[i],i);m.is.und(n)||(r[i]=n)}return r},E=["config","onProps","onStart","onChange","onPause","onResume","onRest"],x={config:1,from:1,to:1,ref:1,loop:1,reset:1,pause:1,cancel:1,reverse:1,immediate:1,default:1,delay:1,onProps:1,onStart:1,onChange:1,onPause:1,onResume:1,onRest:1,onResolve:1,items:1,trail:1,sort:1,expires:1,initial:1,enter:1,update:1,leave:1,children:1,onDestroyed:1,keys:1,callId:1,parentId:1};function C(e){let t=function(e){let t={},n=0;if((0,m.eachProp)(e,(e,r)=>{x[r]||(t[r]=e,n++)}),n)return t}(e);if(t){let n={to:t};return(0,m.eachProp)(e,(e,r)=>r in t||(n[r]=e)),n}return{...e}}function O(e){return e=(0,m.getFluidValue)(e),m.is.arr(e)?e.map(O):(0,m.isAnimatedString)(e)?m.Globals.createStringInterpolator({range:[0,1],output:[e,e]})(1):e}function P(e){for(let t in e)return!0;return!1}function T(e){return m.is.fun(e)||m.is.arr(e)&&m.is.obj(e[0])}function _(e,t){e.ref?.delete(e),t?.delete(e)}function M(e,t){t&&e.ref!==t&&(e.ref?.delete(e),t.add(e),e.ref=t)}function k(e,t,n=1e3){(0,h.useIsomorphicLayoutEffect)(()=>{if(t){let r=0;(0,h.each)(e,(e,i)=>{let s=e.current;if(s.length){let a=n*t[i];isNaN(a)?a=r:r=a,(0,h.each)(s,e=>{(0,h.each)(e.queue,e=>{let t=e.delay;e.delay=e=>a+g(t||0,e)})}),e.start()}})}else{let t=Promise.resolve();(0,h.each)(e,e=>{let n=e.current;if(n.length){let r=n.map(e=>{let t=e.queue;return e.queue=[],t});t=t.then(()=>((0,h.each)(n,(e,t)=>(0,h.each)(r[t]||[],t=>e.queue.push(t))),Promise.all(e.start())))}})}})}var I=n(4873),L=n(7294),A=n(4873),j=n(4873),R=n(130),z=n(4873),F={default:{tension:170,friction:26},gentle:{tension:120,friction:14},wobbly:{tension:180,friction:12},stiff:{tension:210,friction:20},slow:{tension:280,friction:60},molasses:{tension:280,friction:120}},D={...F.default,mass:1,damping:1,easing:z.easings.linear,clamp:!1},V=class{constructor(){this.velocity=0,Object.assign(this,D)}};function H(e,t){if(z.is.und(t.decay)){let n=!z.is.und(t.tension)||!z.is.und(t.friction);!n&&z.is.und(t.frequency)&&z.is.und(t.damping)&&z.is.und(t.mass)||(e.duration=void 0,e.decay=void 0),n&&(e.frequency=void 0)}else e.duration=void 0}var N=[],B=class{constructor(){this.changed=!1,this.values=N,this.toValues=null,this.fromValues=N,this.config=new V,this.immediate=!1}},$=n(4873);function W(e,{key:t,props:n,defaultProps:r,state:i,actions:s}){return new Promise((a,o)=>{let l,u,c=v(n.cancel??r?.cancel,t);if(c)f();else{$.is.und(n.pause)||(i.paused=v(n.pause,t));let e=r?.pause;!0!==e&&(e=i.paused||v(e,t)),l=g(n.delay||0,t),e?(i.resumeQueue.add(p),s.pause()):(s.resume(),p())}function d(){i.resumeQueue.add(p),i.timeouts.delete(u),u.cancel(),l=u.time-$.raf.now()}function p(){l>0&&!$.Globals.skipAnimation?(i.delayed=!0,u=$.raf.setTimeout(f,l),i.pauseQueue.add(d),i.timeouts.add(u)):f()}function f(){i.delayed&&(i.delayed=!1),i.pauseQueue.delete(d),i.timeouts.delete(u),e<=(i.cancelId||0)&&(c=!0);try{s.start({...n,callId:e,cancel:c},a)}catch(e){o(e)}}})}var G=n(4873),q=(e,t)=>1==t.length?t[0]:t.some(e=>e.cancelled)?U(e.get()):t.every(e=>e.noop)?Y(e.get()):X(e.get(),t.every(e=>e.finished)),Y=e=>({value:e,noop:!0,finished:!0,cancelled:!1}),X=(e,t,n=!1)=>({value:e,finished:t,cancelled:n}),U=e=>({value:e,cancelled:!0,finished:!1});function Q(e,t,n,r){let{callId:i,parentId:s,onRest:a}=t,{asyncTo:o,promise:l}=n;return s||e!==o||t.reset?n.promise=(async()=>{n.asyncId=i,n.asyncTo=e;let u=S(t,(e,t)=>"onRest"===t?void 0:e),c,d,p=new Promise((e,t)=>(c=e,d=t)),f=e=>{let t=i<=(n.cancelId||0)&&U(r)||i!==n.asyncId&&X(r,!1);if(t)throw e.result=t,d(e),e},h=(e,t)=>{let s=new Z,a=new J;return(async()=>{if(G.Globals.skipAnimation)throw K(n),a.result=X(r,!1),d(a),a;f(s);let o=G.is.obj(e)?{...e}:{...t,to:e};o.parentId=i,(0,G.eachProp)(u,(e,t)=>{G.is.und(o[t])&&(o[t]=e)});let l=await r.start(o);return f(s),n.paused&&await new Promise(e=>{n.resumeQueue.add(e)}),l})()},m;if(G.Globals.skipAnimation)return K(n),X(r,!1);try{let t;t=G.is.arr(e)?(async e=>{for(let t of e)await h(t)})(e):Promise.resolve(e(h,r.stop.bind(r))),await Promise.all([t.then(c),p]),m=X(r.get(),!0,!1)}catch(e){if(e instanceof Z)m=e.result;else if(e instanceof J)m=e.result;else throw e}finally{i==n.asyncId&&(n.asyncId=s,n.asyncTo=s?o:void 0,n.promise=s?l:void 0)}return G.is.fun(a)&&G.raf.batchedUpdates(()=>{a(m,r,r.item)}),m})():l}function K(e,t){(0,G.flush)(e.timeouts,e=>e.cancel()),e.pauseQueue.clear(),e.resumeQueue.clear(),e.asyncId=e.asyncTo=e.promise=void 0,t&&(e.cancelId=t)}var Z=class extends Error{constructor(){super("An async animation has been interrupted. You see this error because you forgot to use `await` or `.catch(...)` on its returned promise.")}},J=class extends Error{constructor(){super("SkipAnimationSignal")}},ee=n(4873),et=n(130),en=e=>e instanceof ei,er=1,ei=class extends ee.FluidValue{constructor(){super(...arguments),this.id=er++,this._priority=0}get priority(){return this._priority}set priority(e){this._priority!=e&&(this._priority=e,this._onPriorityChange(e))}get(){let e=(0,et.getAnimated)(this);return e&&e.getValue()}to(...e){return ee.Globals.to(this,e)}interpolate(...e){return(0,ee.deprecateInterpolate)(),ee.Globals.to(this,e)}toJSON(){return this.get()}observerAdded(e){1==e&&this._attach()}observerRemoved(e){0==e&&this._detach()}_attach(){}_detach(){}_onChange(e,t=!1){(0,ee.callFluidObservers)(this,{type:"change",parent:this,value:e,idle:t})}_onPriorityChange(e){this.idle||ee.frameLoop.sort(this),(0,ee.callFluidObservers)(this,{type:"priority",parent:this,priority:e})}},es=Symbol.for("SpringPhase"),ea=e=>(1&e[es])>0,eo=e=>(2&e[es])>0,el=e=>(4&e[es])>0,eu=(e,t)=>t?e[es]|=3:e[es]&=-3,ec=(e,t)=>t?e[es]|=4:e[es]&=-5,ed=class extends ei{constructor(e,t){if(super(),this.animation=new B,this.defaultProps={},this._state={paused:!1,delayed:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._pendingCalls=new Set,this._lastCallId=0,this._lastToId=0,this._memoizedDuration=0,!j.is.und(e)||!j.is.und(t)){let n=j.is.obj(e)?{...e}:{...t,from:e};j.is.und(n.default)&&(n.default=!0),this.start(n)}}get idle(){return!(eo(this)||this._state.asyncTo)||el(this)}get goal(){return(0,j.getFluidValue)(this.animation.to)}get velocity(){let e=(0,R.getAnimated)(this);return e instanceof R.AnimatedValue?e.lastVelocity||0:e.getPayload().map(e=>e.lastVelocity||0)}get hasAnimated(){return ea(this)}get isAnimating(){return eo(this)}get isPaused(){return el(this)}get isDelayed(){return this._state.delayed}advance(e){let t=!0,n=!1,r=this.animation,{toValues:i}=r,{config:s}=r,a=(0,R.getPayload)(r.to);!a&&(0,j.hasFluidValue)(r.to)&&(i=(0,j.toArray)((0,j.getFluidValue)(r.to))),r.values.forEach((o,l)=>{if(o.done)return;let u=o.constructor==R.AnimatedString?1:a?a[l].lastPosition:i[l],c=r.immediate,d=u;if(!c){if(d=o.lastPosition,s.tension<=0){o.done=!0;return}let t=o.elapsedTime+=e,n=r.fromValues[l],i=null!=o.v0?o.v0:o.v0=j.is.arr(s.velocity)?s.velocity[l]:s.velocity,a,p=s.precision||(n==u?.005:Math.min(1,.001*Math.abs(u-n)));if(j.is.und(s.duration)){if(s.decay){let e=!0===s.decay?.998:s.decay,r=Math.exp(-(1-e)*t);d=n+i/(1-e)*(1-r),c=Math.abs(o.lastPosition-d)<=p,a=i*r}else{a=null==o.lastVelocity?i:o.lastVelocity;let t=s.restVelocity||p/10,r=s.clamp?0:s.bounce,l=!j.is.und(r),f=n==u?o.v0>0:n<u,h=Math.ceil(e/1);for(let e=0;e<h&&!(!(Math.abs(a)>t)&&(c=Math.abs(u-d)<=p));++e){l&&(d==u||d>u==f)&&(a=-a*r,d=u);let e=(-(1e-6*s.tension)*(d-u)+-(.001*s.friction)*a)/s.mass;a+=1*e,d+=1*a}}}else{let r=1;s.duration>0&&(this._memoizedDuration!==s.duration&&(this._memoizedDuration=s.duration,o.durationProgress>0&&(o.elapsedTime=s.duration*o.durationProgress,t=o.elapsedTime+=e)),r=(r=(s.progress||0)+t/this._memoizedDuration)>1?1:r<0?0:r,o.durationProgress=r),a=((d=n+s.easing(r)*(u-n))-o.lastPosition)/e,c=1==r}o.lastVelocity=a,Number.isNaN(d)&&(console.warn("Got NaN while animating:",this),c=!0)}a&&!a[l].done&&(c=!1),c?o.done=!0:t=!1,o.setValue(d,s.round)&&(n=!0)});let o=(0,R.getAnimated)(this),l=o.getValue();if(t){let e=(0,j.getFluidValue)(r.to);(l!==e||n)&&!s.decay?(o.setValue(e),this._onChange(e)):n&&s.decay&&this._onChange(l),this._stop()}else n&&this._onChange(l)}set(e){return j.raf.batchedUpdates(()=>{this._stop(),this._focus(e),this._set(e)}),this}pause(){this._update({pause:!0})}resume(){this._update({pause:!1})}finish(){if(eo(this)){let{to:e,config:t}=this.animation;j.raf.batchedUpdates(()=>{this._onStart(),t.decay||this._set(e,!1),this._stop()})}return this}update(e){return(this.queue||(this.queue=[])).push(e),this}start(e,t){let n;return j.is.und(e)?(n=this.queue||[],this.queue=[]):n=[j.is.obj(e)?e:{...t,to:e}],Promise.all(n.map(e=>this._update(e))).then(e=>q(this,e))}stop(e){let{to:t}=this.animation;return this._focus(this.get()),K(this._state,e&&this._lastCallId),j.raf.batchedUpdates(()=>this._stop(t,e)),this}reset(){this._update({reset:!0})}eventObserved(e){"change"==e.type?this._start():"priority"==e.type&&(this.priority=e.priority+1)}_prepareNode(e){let t=this.key||"",{to:n,from:r}=e;(null==(n=j.is.obj(n)?n[t]:n)||T(n))&&(n=void 0),null==(r=j.is.obj(r)?r[t]:r)&&(r=void 0);let i={to:n,from:r};return ea(this)||(e.reverse&&([n,r]=[r,n]),r=(0,j.getFluidValue)(r),j.is.und(r)?(0,R.getAnimated)(this)||this._set(n):this._set(r)),i}_update({...e},t){let{key:n,defaultProps:r}=this;e.default&&Object.assign(r,S(e,(e,t)=>/^on/.test(t)?y(e,n):e)),ev(this,e,"onProps"),ey(this,"onProps",e,this);let i=this._prepareNode(e);if(Object.isFrozen(this))throw Error("Cannot animate a `SpringValue` object that is frozen. Did you forget to pass your component to `animated(...)` before animating its props?");let s=this._state;return W(++this._lastCallId,{key:n,props:e,defaultProps:r,state:s,actions:{pause:()=>{el(this)||(ec(this,!0),(0,j.flushCalls)(s.pauseQueue),ey(this,"onPause",X(this,ep(this,this.animation.to)),this))},resume:()=>{el(this)&&(ec(this,!1),eo(this)&&this._resume(),(0,j.flushCalls)(s.resumeQueue),ey(this,"onResume",X(this,ep(this,this.animation.to)),this))},start:this._merge.bind(this,i)}}).then(n=>{if(e.loop&&n.finished&&!(t&&n.noop)){let t=ef(e);if(t)return this._update(t,!0)}return n})}_merge(e,t,n){if(t.cancel)return this.stop(!0),n(U(this));let r=!j.is.und(e.to),i=!j.is.und(e.from);if(r||i){if(!(t.callId>this._lastToId))return n(U(this));this._lastToId=t.callId}let{key:s,defaultProps:a,animation:o}=this,{to:l,from:u}=o,{to:c=l,from:d=u}=e;i&&!r&&(!t.default||j.is.und(c))&&(c=d),t.reverse&&([c,d]=[d,c]);let p=!(0,j.isEqual)(d,u);p&&(o.from=d),d=(0,j.getFluidValue)(d);let f=!(0,j.isEqual)(c,l);f&&this._focus(c);let h=T(t.to),{config:m}=o,{decay:y,velocity:b}=m;(r||i)&&(m.velocity=0),t.config&&!h&&function(e,t,n){for(let r in n&&(H(n={...n},t),t={...n,...t}),H(e,t),Object.assign(e,t),D)null==e[r]&&(e[r]=D[r]);let{frequency:r,damping:i}=e,{mass:s}=e;z.is.und(r)||(r<.01&&(r=.01),i<0&&(i=0),e.tension=Math.pow(2*Math.PI/r,2)*s,e.friction=4*Math.PI*i*s/r)}(m,g(t.config,s),t.config!==a.config?g(a.config,s):void 0);let w=(0,R.getAnimated)(this);if(!w||j.is.und(c))return n(X(this,!0));let S=j.is.und(t.reset)?i&&!t.default:!j.is.und(d)&&v(t.reset,s),E=S?d:this.get(),x=O(c),C=j.is.num(x)||j.is.arr(x)||(0,j.isAnimatedString)(x),P=!h&&(!C||v(a.immediate||t.immediate,s));if(f){let e=(0,R.getAnimatedType)(c);if(e!==w.constructor){if(P)w=this._set(x);else throw Error(`Cannot animate between ${w.constructor.name} and ${e.name}, as the "to" prop suggests`)}}let _=w.constructor,M=(0,j.hasFluidValue)(c),k=!1;if(!M){let e=S||!ea(this)&&p;(f||e)&&(M=!(k=(0,j.isEqual)(O(E),x))),((0,j.isEqual)(o.immediate,P)||P)&&(0,j.isEqual)(m.decay,y)&&(0,j.isEqual)(m.velocity,b)||(M=!0)}if(k&&eo(this)&&(o.changed&&!S?M=!0:M||this._stop(l)),!h&&((M||(0,j.hasFluidValue)(l))&&(o.values=w.getPayload(),o.toValues=(0,j.hasFluidValue)(c)?null:_==R.AnimatedString?[1]:(0,j.toArray)(x)),o.immediate==P||(o.immediate=P,P||S||this._set(l)),M)){let{onRest:e}=o;(0,j.each)(eg,e=>ev(this,t,e));let r=X(this,ep(this,l));(0,j.flushCalls)(this._pendingCalls,r),this._pendingCalls.add(n),o.changed&&j.raf.batchedUpdates(()=>{o.changed=!S,e?.(r,this),S?g(a.onRest,r):o.onStart?.(r,this)})}S&&this._set(E),h?n(Q(t.to,t,this._state,this)):M?this._start():eo(this)&&!f?this._pendingCalls.add(n):n(Y(E))}_focus(e){let t=this.animation;e!==t.to&&((0,j.getFluidObservers)(this)&&this._detach(),t.to=e,(0,j.getFluidObservers)(this)&&this._attach())}_attach(){let e=0,{to:t}=this.animation;(0,j.hasFluidValue)(t)&&((0,j.addFluidObserver)(t,this),en(t)&&(e=t.priority+1)),this.priority=e}_detach(){let{to:e}=this.animation;(0,j.hasFluidValue)(e)&&(0,j.removeFluidObserver)(e,this)}_set(e,t=!0){let n=(0,j.getFluidValue)(e);if(!j.is.und(n)){let e=(0,R.getAnimated)(this);if(!e||!(0,j.isEqual)(n,e.getValue())){let r=(0,R.getAnimatedType)(n);e&&e.constructor==r?e.setValue(n):(0,R.setAnimated)(this,r.create(n)),e&&j.raf.batchedUpdates(()=>{this._onChange(n,t)})}}return(0,R.getAnimated)(this)}_onStart(){let e=this.animation;e.changed||(e.changed=!0,ey(this,"onStart",X(this,ep(this,e.to)),this))}_onChange(e,t){t||(this._onStart(),g(this.animation.onChange,e,this)),g(this.defaultProps.onChange,e,this),super._onChange(e,t)}_start(){let e=this.animation;(0,R.getAnimated)(this).reset((0,j.getFluidValue)(e.to)),e.immediate||(e.fromValues=e.values.map(e=>e.lastPosition)),eo(this)||(eu(this,!0),el(this)||this._resume())}_resume(){j.Globals.skipAnimation?this.finish():j.frameLoop.start(this)}_stop(e,t){if(eo(this)){eu(this,!1);let n=this.animation;(0,j.each)(n.values,e=>{e.done=!0}),n.toValues&&(n.onChange=n.onPause=n.onResume=void 0),(0,j.callFluidObservers)(this,{type:"idle",parent:this});let r=t?U(this.get()):X(this.get(),ep(this,e??n.to));(0,j.flushCalls)(this._pendingCalls,r),n.changed&&(n.changed=!1,ey(this,"onRest",r,this))}}};function ep(e,t){let n=O(t),r=O(e.get());return(0,j.isEqual)(r,n)}function ef(e,t=e.loop,n=e.to){let r=g(t);if(r){let i=!0!==r&&C(r),s=(i||e).reverse,a=!i||i.reset;return eh({...e,loop:t,default:!1,pause:void 0,to:!s||T(n)?n:void 0,from:a?e.from:void 0,reset:a,...i})}}function eh(e){let{to:t,from:n}=e=C(e),r=new Set;return j.is.obj(t)&&em(t,r),j.is.obj(n)&&em(n,r),e.keys=r.size?Array.from(r):null,e}function em(e,t){(0,j.eachProp)(e,(e,n)=>null!=e&&t.add(n))}var eg=["onStart","onRest","onChange","onPause","onResume"];function ev(e,t,n){e.animation[n]=t[n]!==b(t,n)?y(t[n],e.key):void 0}function ey(e,t,...n){e.animation[t]?.(...n),e.defaultProps[t]?.(...n)}var eb=n(4873),ew=["onStart","onChange","onRest"],eS=1,eE=class{constructor(e,t){this.id=eS++,this.springs={},this.queue=[],this._lastAsyncId=0,this._active=new Set,this._changed=new Set,this._started=!1,this._state={paused:!1,pauseQueue:new Set,resumeQueue:new Set,timeouts:new Set},this._events={onStart:new Map,onChange:new Map,onRest:new Map},this._onFrame=this._onFrame.bind(this),t&&(this._flush=t),e&&this.start({default:!0,...e})}get idle(){return!this._state.asyncTo&&Object.values(this.springs).every(e=>e.idle&&!e.isDelayed&&!e.isPaused)}get item(){return this._item}set item(e){this._item=e}get(){let e={};return this.each((t,n)=>e[n]=t.get()),e}set(e){for(let t in e){let n=e[t];eb.is.und(n)||this.springs[t].set(n)}}update(e){return e&&this.queue.push(eh(e)),this}start(e){let{queue:t}=this;return e?t=(0,eb.toArray)(e).map(eh):this.queue=[],this._flush?this._flush(this,t):(eM(this,t),ex(this,t))}stop(e,t){if(!!e!==e&&(t=e),t){let n=this.springs;(0,eb.each)((0,eb.toArray)(t),t=>n[t].stop(!!e))}else K(this._state,this._lastAsyncId),this.each(t=>t.stop(!!e));return this}pause(e){if(eb.is.und(e))this.start({pause:!0});else{let t=this.springs;(0,eb.each)((0,eb.toArray)(e),e=>t[e].pause())}return this}resume(e){if(eb.is.und(e))this.start({pause:!1});else{let t=this.springs;(0,eb.each)((0,eb.toArray)(e),e=>t[e].resume())}return this}each(e){(0,eb.eachProp)(this.springs,e)}_onFrame(){let{onStart:e,onChange:t,onRest:n}=this._events,r=this._active.size>0,i=this._changed.size>0;(r&&!this._started||i&&!this._started)&&(this._started=!0,(0,eb.flush)(e,([e,t])=>{t.value=this.get(),e(t,this,this._item)}));let s=!r&&this._started,a=i||s&&n.size?this.get():null;i&&t.size&&(0,eb.flush)(t,([e,t])=>{t.value=a,e(t,this,this._item)}),s&&(this._started=!1,(0,eb.flush)(n,([e,t])=>{t.value=a,e(t,this,this._item)}))}eventObserved(e){if("change"==e.type)this._changed.add(e.parent),e.idle||this._active.add(e.parent);else{if("idle"!=e.type)return;this._active.delete(e.parent)}eb.raf.onFrame(this._onFrame)}};function ex(e,t){return Promise.all(t.map(t=>eC(e,t))).then(t=>q(e,t))}async function eC(e,t,n){let{keys:r,to:i,from:s,loop:a,onRest:o,onResolve:l}=t,u=eb.is.obj(t.default)&&t.default;a&&(t.loop=!1),!1===i&&(t.to=null),!1===s&&(t.from=null);let c=eb.is.arr(i)||eb.is.fun(i)?i:void 0;c?(t.to=void 0,t.onRest=void 0,u&&(u.onRest=void 0)):(0,eb.each)(ew,n=>{let r=t[n];if(eb.is.fun(r)){let i=e._events[n];t[n]=({finished:e,cancelled:t})=>{let n=i.get(r);n?(e||(n.finished=!1),t&&(n.cancelled=!0)):i.set(r,{value:null,finished:e||!1,cancelled:t||!1})},u&&(u[n]=t[n])}});let d=e._state;!d.paused===t.pause?(d.paused=t.pause,(0,eb.flushCalls)(t.pause?d.pauseQueue:d.resumeQueue)):d.paused&&(t.pause=!0);let p=(r||Object.keys(e.springs)).map(n=>e.springs[n].start(t)),f=!0===t.cancel||!0===b(t,"cancel");(c||f&&d.asyncId)&&p.push(W(++e._lastAsyncId,{props:t,state:d,actions:{pause:eb.noop,resume:eb.noop,start(t,n){f?(K(d,e._lastAsyncId),n(U(e))):(t.onRest=o,n(Q(c,t,d,e)))}}})),d.paused&&await new Promise(e=>{d.resumeQueue.add(e)});let h=q(e,await Promise.all(p));if(a&&h.finished&&!(n&&h.noop)){let n=ef(t,a,i);if(n)return eM(e,[n]),eC(e,n,!0)}return l&&eb.raf.batchedUpdates(()=>l(h,e,e.item)),h}function eO(e,t){let n={...e.springs};return t&&(0,eb.each)((0,eb.toArray)(t),e=>{eb.is.und(e.keys)&&(e=eh(e)),eb.is.obj(e.to)||(e={...e,to:void 0}),e_(n,e,e=>eT(e))}),eP(e,n),n}function eP(e,t){(0,eb.eachProp)(t,(t,n)=>{e.springs[n]||(e.springs[n]=t,(0,eb.addFluidObserver)(t,e))})}function eT(e,t){let n=new ed;return n.key=e,t&&(0,eb.addFluidObserver)(n,t),n}function e_(e,t,n){t.keys&&(0,eb.each)(t.keys,r=>{(e[r]||(e[r]=n(r)))._prepareNode(t)})}function eM(e,t){(0,eb.each)(t,t=>{e_(e.springs,t,t=>eT(t,e))})}var ek=p(n(7294)),eI=n(7294),eL=n(4873),eA=({children:e,...t})=>{let n=(0,eI.useContext)(ej),r=t.pause||!!n.pause,i=t.immediate||!!n.immediate;t=(0,eL.useMemoOne)(()=>({pause:r,immediate:i}),[r,i]);let{Provider:s}=ej;return ek.createElement(s,{value:t},e)},ej=(Object.assign(eA,ek.createContext({})),eA.Provider._context=eA,eA.Consumer._context=eA,eA);eA.Provider=ej.Provider,eA.Consumer=ej.Consumer;var eR=n(4873),ez=()=>{let e=[],t=function(t){(0,eR.deprecateDirectCall)();let r=[];return(0,eR.each)(e,(e,i)=>{if(eR.is.und(t))r.push(e.start());else{let s=n(t,e,i);s&&r.push(e.start(s))}}),r};t.current=e,t.add=function(t){e.includes(t)||e.push(t)},t.delete=function(t){let n=e.indexOf(t);~n&&e.splice(n,1)},t.pause=function(){return(0,eR.each)(e,e=>e.pause(...arguments)),this},t.resume=function(){return(0,eR.each)(e,e=>e.resume(...arguments)),this},t.set=function(t){(0,eR.each)(e,(e,n)=>{let r=eR.is.fun(t)?t(n,e):t;r&&e.set(r)})},t.start=function(t){let n=[];return(0,eR.each)(e,(e,r)=>{if(eR.is.und(t))n.push(e.start());else{let i=this._getProps(t,e,r);i&&n.push(e.start(i))}}),n},t.stop=function(){return(0,eR.each)(e,e=>e.stop(...arguments)),this},t.update=function(t){return(0,eR.each)(e,(e,n)=>e.update(this._getProps(t,e,n))),this};let n=function(e,t,n){return eR.is.fun(e)?e(n,t):e};return t._getProps=n,t};function eF(e,t,n){let r=A.is.fun(t)&&t;r&&!n&&(n=[]);let i=(0,L.useMemo)(()=>r||3==arguments.length?ez():void 0,[]),s=(0,L.useRef)(0),a=(0,A.useForceUpdate)(),o=(0,L.useMemo)(()=>({ctrls:[],queue:[],flush(e,t){let n=eO(e,t);return!(s.current>0)||o.queue.length||Object.keys(n).some(t=>!e.springs[t])?new Promise(r=>{eP(e,n),o.queue.push(()=>{r(ex(e,t))}),a()}):ex(e,t)}}),[]),l=(0,L.useRef)([...o.ctrls]),u=[],c=(0,A.usePrev)(e)||0;function d(e,n){for(let i=e;i<n;i++){let e=l.current[i]||(l.current[i]=new eE(null,o.flush)),n=r?r(i,e):t[i];n&&(u[i]=function(e){let t=eh(e);return j.is.und(t.default)&&(t.default=S(t)),t}(n))}}(0,L.useMemo)(()=>{(0,A.each)(l.current.slice(e,c),e=>{_(e,i),e.stop(!0)}),l.current.length=e,d(c,e)},[e]),(0,L.useMemo)(()=>{d(0,Math.min(c,e))},n);let p=l.current.map((e,t)=>eO(e,u[t])),f=(0,L.useContext)(eA),h=(0,A.usePrev)(f),m=f!==h&&P(f);(0,A.useIsomorphicLayoutEffect)(()=>{s.current++,o.ctrls=l.current;let{queue:e}=o;e.length&&(o.queue=[],(0,A.each)(e,e=>e())),(0,A.each)(l.current,(e,t)=>{i?.add(e),m&&e.start({default:f});let n=u[t];n&&(M(e,n.ref),e.ref?e.queue.push(n):e.start(n))})}),(0,A.useOnce)(()=>()=>{(0,A.each)(o.ctrls,e=>e.stop(!0))});let g=p.map(e=>({...e}));return i?[g,i]:g}function eD(e,t){let n=I.is.fun(e),[[r],i]=eF(1,n?e:[e],n?t||[]:t);return n||2==arguments.length?[r,i]:r}var eV=n(7294),eH=()=>ez(),eN=()=>(0,eV.useState)(eH)[0],eB=n(4873),e$=(e,t)=>{let n=(0,eB.useConstant)(()=>new ed(e,t));return(0,eB.useOnce)(()=>()=>{n.stop()}),n},eW=n(4873);function eG(e,t,n){let r=eW.is.fun(t)&&t;r&&!n&&(n=[]);let i=!0,s,a=eF(e,(e,n)=>{let a=r?r(e,n):t;return s=a.ref,i=i&&a.reverse,a},n||[{}]);if((0,eW.useIsomorphicLayoutEffect)(()=>{(0,eW.each)(a[1].current,(e,t)=>{let n=a[1].current[t+(i?1:-1)];if(M(e,s),e.ref){n&&e.update({to:n.springs});return}n?e.start({to:n.springs}):e.start()})},n),r||3==arguments.length){let e=s??a[1];return e._getProps=(t,n,r)=>{let i=eW.is.fun(t)?t(r,n):t;if(i){let t=e.current[r+(i.reverse?1:-1)];return t&&(i.to=t.springs),i}},a}return a[0]}var eq=p(n(7294)),eY=n(7294),eX=n(4873);function eU(e,t,n){let r=eX.is.fun(t)&&t,{reset:i,sort:s,trail:a=0,expires:o=!0,exitBeforeEnter:l=!1,onDestroyed:u,ref:c,config:d}=r?r():t,p=(0,eY.useMemo)(()=>r||3==arguments.length?ez():void 0,[]),f=(0,eX.toArray)(e),h=[],m=(0,eY.useRef)(null),v=i?null:m.current;(0,eX.useIsomorphicLayoutEffect)(()=>{m.current=h}),(0,eX.useOnce)(()=>((0,eX.each)(h,e=>{p?.add(e.ctrl),e.ctrl.ref=p}),()=>{(0,eX.each)(m.current,e=>{e.expired&&clearTimeout(e.expirationId),_(e.ctrl,p),e.ctrl.stop(!0)})}));let y=function(e,{key:t,keys:n=t},r){if(null===n){let t=new Set;return e.map(e=>{let n=r&&r.find(n=>n.item===e&&"leave"!==n.phase&&!t.has(n));return n?(t.add(n),n.key):eQ++})}return eX.is.und(n)?e:eX.is.fun(n)?e.map(n):(0,eX.toArray)(n)}(f,r?r():t,v),b=i&&m.current||[];(0,eX.useIsomorphicLayoutEffect)(()=>(0,eX.each)(b,({ctrl:e,item:t,key:n})=>{_(e,p),g(u,t,n)}));let w=[];if(v&&(0,eX.each)(v,(e,t)=>{e.expired?(clearTimeout(e.expirationId),b.push(e)):~(t=w[t]=y.indexOf(e.key))&&(h[t]=e)}),(0,eX.each)(f,(e,t)=>{h[t]||(h[t]={key:y[t],item:e,phase:"mount",ctrl:new eE},h[t].ctrl.item=e)}),w.length){let e=-1,{leave:n}=r?r():t;(0,eX.each)(w,(t,r)=>{let i=v[r];~t?(e=h.indexOf(i),h[e]={...i,item:f[t]}):n&&h.splice(++e,0,i)})}eX.is.fun(s)&&h.sort((e,t)=>s(e.item,t.item));let E=-a,x=(0,eX.useForceUpdate)(),O=S(t),T=new Map,k=(0,eY.useRef)(new Map),I=(0,eY.useRef)(!1);(0,eX.each)(h,(e,n)=>{let i=e.key,s=e.phase,u=r?r():t,p,f,h=g(u.delay||0,i);if("mount"==s)p=u.enter,f="enter";else{let e=0>y.indexOf(i);if("leave"!=s){if(e)p=u.leave,f="leave";else{if(!(p=u.update))return;f="update"}}else{if(e)return;p=u.enter,f="enter"}}if(p=g(p,e.item,n),!(p=eX.is.obj(p)?C(p):{to:p}).config){let t=d||O.config;p.config=g(t,e.item,n,f)}E+=a;let b={...O,delay:h+E,ref:c,immediate:u.immediate,reset:!1,...p};if("enter"==f&&eX.is.und(b.from)){let i=r?r():t,s=eX.is.und(i.initial)||v?i.from:i.initial;b.from=g(s,e.item,n)}let{onResolve:w}=b;b.onResolve=e=>{g(w,e);let t=m.current,n=t.find(e=>e.key===i);if(n&&!(e.cancelled&&"update"!=n.phase)&&n.ctrl.idle){let e=t.every(e=>e.ctrl.idle);if("leave"==n.phase){let t=g(o,n.item);if(!1!==t){let r=!0===t?0:t;if(n.expired=!0,!e&&r>0){r<=2147483647&&(n.expirationId=setTimeout(x,r));return}}}e&&t.some(e=>e.expired)&&(k.current.delete(n),l&&(I.current=!0),x())}};let S=eO(e.ctrl,b);"leave"===f&&l?k.current.set(e,{phase:f,springs:S,payload:b}):T.set(e,{phase:f,springs:S,payload:b})});let L=(0,eY.useContext)(eA),A=(0,eX.usePrev)(L),j=L!==A&&P(L);(0,eX.useIsomorphicLayoutEffect)(()=>{j&&(0,eX.each)(h,e=>{e.ctrl.start({default:L})})},[L]),(0,eX.each)(T,(e,t)=>{if(k.current.size){let e=h.findIndex(e=>e.key===t.key);h.splice(e,1)}}),(0,eX.useIsomorphicLayoutEffect)(()=>{(0,eX.each)(k.current.size?k.current:T,({phase:e,payload:t},n)=>{let{ctrl:r}=n;n.phase=e,p?.add(r),j&&"enter"==e&&r.start({default:L}),t&&(M(r,t.ref),(r.ref||p)&&!I.current?r.update(t):(r.start(t),I.current&&(I.current=!1)))})},i?void 0:n);let R=e=>eq.createElement(eq.Fragment,null,h.map((t,n)=>{let{springs:r}=T.get(t)||t.ctrl,i=e({...r},t.item,t,n);return i&&i.type?eq.createElement(i.type,{...i.props,key:eX.is.str(t.key)||eX.is.num(t.key)?t.key:t.ctrl.id,ref:i.ref}):i}));return p?[R,p]:R}var eQ=1,eK=n(4873),eZ=({container:e,...t}={})=>{let[n,r]=eD(()=>({scrollX:0,scrollY:0,scrollXProgress:0,scrollYProgress:0,...t}),[]);return(0,eK.useIsomorphicLayoutEffect)(()=>{let t=(0,eK.onScroll)(({x:e,y:t})=>{r.start({scrollX:e.current,scrollXProgress:e.progress,scrollY:t.current,scrollYProgress:t.progress})},{container:e?.current||void 0});return()=>{(0,eK.each)(Object.values(n),e=>e.stop()),t()}},[]),n},eJ=n(4873),e0=({container:e,...t})=>{let[n,r]=eD(()=>({width:0,height:0,...t}),[]);return(0,eJ.useIsomorphicLayoutEffect)(()=>{let t=(0,eJ.onResize)(({width:e,height:t})=>{r.start({width:e,height:t,immediate:0===n.width.get()||0===n.height.get()})},{container:e?.current||void 0});return()=>{(0,eJ.each)(Object.values(n),e=>e.stop()),t()}},[]),n},e1=n(7294),e2=n(4873),e5={any:0,all:1};function e3(e,t){let[n,r]=(0,e1.useState)(!1),i=(0,e1.useRef)(),s=e2.is.fun(e)&&e,{to:a={},from:o={},...l}=s?s():{},u=s?t:e,[c,d]=eD(()=>({from:o,...l}),[]);return(0,e2.useIsomorphicLayoutEffect)(()=>{let e=i.current,{root:t,once:s,amount:l="any",...c}=u??{};if(!e||s&&n||typeof IntersectionObserver>"u")return;let p=new WeakMap,f=()=>(a&&d.start(a),r(!0),s?void 0:()=>{o&&d.start(o),r(!1)}),h=new IntersectionObserver(e=>{e.forEach(e=>{let t=p.get(e.target);if(!!t!==e.isIntersecting){if(e.isIntersecting){let t=f();e2.is.fun(t)?p.set(e.target,t):h.unobserve(e.target)}else t&&(t(),p.delete(e.target))}})},{root:t&&t.current||void 0,threshold:"number"==typeof l||Array.isArray(l)?l:e5[l],...c});return h.observe(e),()=>h.unobserve(e)},[u]),s?[i,c]:[i,n]}function e4({children:e,...t}){return e(eD(t))}var e7=n(4873);function e9({items:e,children:t,...n}){let r=eG(e.length,n);return e.map((e,n)=>{let i=t(e,n);return e7.is.fun(i)?i(r[n]):i})}function e8({items:e,children:t,...n}){return eU(e,n)(t)}var e6=n(4873),te=n(4873),tt=n(130),tn=class extends ei{constructor(e,t){super(),this.source=e,this.idle=!0,this._active=new Set,this.calc=(0,te.createInterpolator)(...t);let n=this._get(),r=(0,tt.getAnimatedType)(n);(0,tt.setAnimated)(this,r.create(n))}advance(e){let t=this._get(),n=this.get();(0,te.isEqual)(t,n)||((0,tt.getAnimated)(this).setValue(t),this._onChange(t,this.idle)),!this.idle&&ti(this._active)&&ts(this)}_get(){let e=te.is.arr(this.source)?this.source.map(te.getFluidValue):(0,te.toArray)((0,te.getFluidValue)(this.source));return this.calc(...e)}_start(){this.idle&&!ti(this._active)&&(this.idle=!1,(0,te.each)((0,tt.getPayload)(this),e=>{e.done=!1}),te.Globals.skipAnimation?(te.raf.batchedUpdates(()=>this.advance()),ts(this)):te.frameLoop.start(this))}_attach(){let e=1;(0,te.each)((0,te.toArray)(this.source),t=>{(0,te.hasFluidValue)(t)&&(0,te.addFluidObserver)(t,this),en(t)&&(t.idle||this._active.add(t),e=Math.max(e,t.priority+1))}),this.priority=e,this._start()}_detach(){(0,te.each)((0,te.toArray)(this.source),e=>{(0,te.hasFluidValue)(e)&&(0,te.removeFluidObserver)(e,this)}),this._active.clear(),ts(this)}eventObserved(e){"change"==e.type?e.idle?this.advance():(this._active.add(e.parent),this._start()):"idle"==e.type?this._active.delete(e.parent):"priority"==e.type&&(this.priority=(0,te.toArray)(this.source).reduce((e,t)=>Math.max(e,(en(t)?t.priority:0)+1),0))}};function tr(e){return!1!==e.idle}function ti(e){return!e.size||Array.from(e).every(tr)}function ts(e){e.idle||(e.idle=!0,(0,te.each)((0,tt.getPayload)(e),e=>{e.done=!0}),(0,te.callFluidObservers)(e,{type:"idle",parent:e}))}var ta=(e,...t)=>new tn(e,t),to=(e,...t)=>((0,e6.deprecateInterpolate)(),new tn(e,t)),tl=n(4873);tl.Globals.assign({createStringInterpolator:tl.createStringInterpolator,to:(e,t)=>new tn(e,t)});var tu=tl.frameLoop.advance,tc=n(4873);r=n(1315),i=e.exports,d(f,r,"default"),i&&d(i,r,"default")},3022:function(e,t,n){"use strict";var r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,s=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,o=(e,t)=>{for(var n in t)r(e,n,{get:t[n],enumerable:!0})},l={};o(l,{FluidValue:()=>eI,Globals:()=>u,addFluidObserver:()=>eA,callFluidObserver:()=>eM,callFluidObservers:()=>ek,clamp:()=>J,colorToRgba:()=>ey,colors:()=>ee,createInterpolator:()=>eb,createStringInterpolator:()=>eG,defineHidden:()=>M,deprecateDirectCall:()=>eK,deprecateInterpolate:()=>eU,each:()=>L,eachProp:()=>A,easings:()=>ex,flush:()=>R,flushCalls:()=>D,frameLoop:()=>X,getFluidObservers:()=>e_,getFluidValue:()=>eT,hasFluidValue:()=>eP,hex3:()=>el,hex4:()=>eu,hex6:()=>ec,hex8:()=>ed,hsl:()=>ea,hsla:()=>eo,is:()=>k,isAnimatedString:()=>eZ,isEqual:()=>I,isSSR:()=>V,noop:()=>_,onResize:()=>e7,onScroll:()=>ti,once:()=>eY,prefix:()=>eq,raf:()=>d,removeFluidObserver:()=>ej,rgb:()=>ei,rgba:()=>es,setFluidGetter:()=>eL,toArray:()=>j,useConstant:()=>ta,useForceUpdate:()=>tp,useIsomorphicLayoutEffect:()=>tc,useMemoOne:()=>th,useOnce:()=>tg,usePrev:()=>tb,useReducedMotion:()=>tS}),e.exports=((e,t,n,o)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let n of s(t))a.call(e,n)||void 0===n||r(e,n,{get:()=>t[n],enumerable:!(o=i(t,n))||o.enumerable});return e})(r({},"__esModule",{value:!0}),l);var u={};o(u,{assign:()=>$,colors:()=>H,createStringInterpolator:()=>z,skipAnimation:()=>N,to:()=>F,willAdvance:()=>B});var c=P(),d=e=>E(e,c),p=P();d.write=e=>E(e,p);var f=P();d.onStart=e=>E(e,f);var h=P();d.onFrame=e=>E(e,h);var m=P();d.onFinish=e=>E(e,m);var g=[];d.setTimeout=(e,t)=>{let n=d.now()+t,r=()=>{let e=g.findIndex(e=>e.cancel==r);~e&&g.splice(e,1),w-=~e?1:0},i={time:n,handler:e,cancel:r};return g.splice(v(n),0,i),w+=1,x(),i};var v=e=>~(~g.findIndex(t=>t.time>e)||~g.length);d.cancel=e=>{f.delete(e),h.delete(e),m.delete(e),c.delete(e),p.delete(e)},d.sync=e=>{S=!0,d.batchedUpdates(e),S=!1},d.throttle=e=>{let t;function n(){try{e(...t)}finally{t=null}}function r(...e){t=e,d.onStart(n)}return r.handler=e,r.cancel=()=>{f.delete(n),t=null},r};var y="u">typeof window?window.requestAnimationFrame:()=>{};d.use=e=>y=e,d.now="u">typeof performance?()=>performance.now():Date.now,d.batchedUpdates=e=>e(),d.catch=console.error,d.frameLoop="always",d.advance=()=>{"demand"!==d.frameLoop?console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand"):O()};var b=-1,w=0,S=!1;function E(e,t){S?(t.delete(e),e(0)):(t.add(e),x())}function x(){b<0&&(b=0,"demand"!==d.frameLoop&&y(C))}function C(){~b&&(y(C),d.batchedUpdates(O))}function O(){let e=b,t=v(b=d.now());if(t&&(T(g.splice(0,t),e=>e.handler()),w-=t),!w){b=-1;return}f.flush(),c.flush(e?Math.min(64,b-e):16.667),h.flush(),p.flush(),m.flush()}function P(){let e=new Set,t=e;return{add(n){w+=t!=e||e.has(n)?0:1,e.add(n)},delete:n=>(w-=t==e&&e.has(n)?1:0,e.delete(n)),flush(n){t.size&&(e=new Set,w-=t.size,T(t,t=>t(n)&&e.add(t)),w+=e.size,t=e)}}}function T(e,t){e.forEach(e=>{try{t(e)}catch(e){d.catch(e)}})}function _(){}var M=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),k={arr:Array.isArray,obj:e=>!!e&&"Object"===e.constructor.name,fun:e=>"function"==typeof e,str:e=>"string"==typeof e,num:e=>"number"==typeof e,und:e=>void 0===e};function I(e,t){if(k.arr(e)){if(!k.arr(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}return e===t}var L=(e,t)=>e.forEach(t);function A(e,t,n){if(k.arr(e)){for(let r=0;r<e.length;r++)t.call(n,e[r],`${r}`);return}for(let r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r)}var j=e=>k.und(e)?[]:k.arr(e)?e:[e];function R(e,t){if(e.size){let n=Array.from(e);e.clear(),L(n,t)}}var z,F,D=(e,...t)=>R(e,e=>e(...t)),V=()=>typeof window>"u"||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent),H=null,N=!1,B=_,$=e=>{e.to&&(F=e.to),e.now&&(d.now=e.now),void 0!==e.colors&&(H=e.colors),null!=e.skipAnimation&&(N=e.skipAnimation),e.createStringInterpolator&&(z=e.createStringInterpolator),e.requestAnimationFrame&&d.use(e.requestAnimationFrame),e.batchedUpdates&&(d.batchedUpdates=e.batchedUpdates),e.willAdvance&&(B=e.willAdvance),e.frameLoop&&(d.frameLoop=e.frameLoop)},W=new Set,G=[],q=[],Y=0,X={get idle(){return!W.size&&!G.length},start(e){Y>e.priority?(W.add(e),d.onStart(U)):(Q(e),d(Z))},advance:Z,sort(e){if(Y)d.onFrame(()=>X.sort(e));else{let t=G.indexOf(e);~t&&(G.splice(t,1),K(e))}},clear(){G=[],W.clear()}};function U(){W.forEach(Q),W.clear(),d(Z)}function Q(e){G.includes(e)||K(e)}function K(e){var t;let n;G.splice((n=(t=G).findIndex(t=>t.priority>e.priority))<0?t.length:n,0,e)}function Z(e){let t=q;for(let n=0;n<G.length;n++){let r=G[n];Y=r.priority,r.idle||(B(r),r.advance(e),r.idle||t.push(r))}return Y=0,(q=G).length=0,(G=t).length>0}var J=(e,t,n)=>Math.min(Math.max(n,e),t),ee={transparent:0,aliceblue:4042850303,antiquewhite:4209760255,aqua:16777215,aquamarine:2147472639,azure:4043309055,beige:4126530815,bisque:4293182719,black:255,blanchedalmond:4293643775,blue:65535,blueviolet:2318131967,brown:2771004159,burlywood:3736635391,burntsienna:3934150143,cadetblue:1604231423,chartreuse:2147418367,chocolate:3530104575,coral:4286533887,cornflowerblue:1687547391,cornsilk:4294499583,crimson:3692313855,cyan:16777215,darkblue:35839,darkcyan:9145343,darkgoldenrod:3095792639,darkgray:2846468607,darkgreen:6553855,darkgrey:2846468607,darkkhaki:3182914559,darkmagenta:2332068863,darkolivegreen:1433087999,darkorange:4287365375,darkorchid:2570243327,darkred:2332033279,darksalmon:3918953215,darkseagreen:2411499519,darkslateblue:1211993087,darkslategray:793726975,darkslategrey:793726975,darkturquoise:13554175,darkviolet:2483082239,deeppink:4279538687,deepskyblue:12582911,dimgray:1768516095,dimgrey:1768516095,dodgerblue:512819199,firebrick:2988581631,floralwhite:4294635775,forestgreen:579543807,fuchsia:4278255615,gainsboro:3705462015,ghostwhite:4177068031,gold:4292280575,goldenrod:3668254975,gray:2155905279,green:8388863,greenyellow:2919182335,grey:2155905279,honeydew:4043305215,hotpink:4285117695,indianred:3445382399,indigo:1258324735,ivory:4294963455,khaki:4041641215,lavender:3873897215,lavenderblush:4293981695,lawngreen:2096890111,lemonchiffon:4294626815,lightblue:2916673279,lightcoral:4034953471,lightcyan:3774873599,lightgoldenrodyellow:4210742015,lightgray:3553874943,lightgreen:2431553791,lightgrey:3553874943,lightpink:4290167295,lightsalmon:4288707327,lightseagreen:548580095,lightskyblue:2278488831,lightslategray:2005441023,lightslategrey:2005441023,lightsteelblue:2965692159,lightyellow:4294959359,lime:16711935,limegreen:852308735,linen:4210091775,magenta:4278255615,maroon:2147483903,mediumaquamarine:1724754687,mediumblue:52735,mediumorchid:3126187007,mediumpurple:2473647103,mediumseagreen:1018393087,mediumslateblue:2070474495,mediumspringgreen:16423679,mediumturquoise:1221709055,mediumvioletred:3340076543,midnightblue:421097727,mintcream:4127193855,mistyrose:4293190143,moccasin:4293178879,navajowhite:4292783615,navy:33023,oldlace:4260751103,olive:2155872511,olivedrab:1804477439,orange:4289003775,orangered:4282712319,orchid:3664828159,palegoldenrod:4008225535,palegreen:2566625535,paleturquoise:2951671551,palevioletred:3681588223,papayawhip:4293907967,peachpuff:4292524543,peru:3448061951,pink:4290825215,plum:3718307327,powderblue:2967529215,purple:2147516671,rebeccapurple:1714657791,red:4278190335,rosybrown:3163525119,royalblue:1097458175,saddlebrown:2336560127,salmon:4202722047,sandybrown:4104413439,seagreen:780883967,seashell:4294307583,sienna:2689740287,silver:3233857791,skyblue:2278484991,slateblue:1784335871,slategray:1887473919,slategrey:1887473919,snow:4294638335,springgreen:16744447,steelblue:1182971135,tan:3535047935,teal:8421631,thistle:3636451583,tomato:4284696575,turquoise:1088475391,violet:4001558271,wheat:4125012991,white:4294967295,whitesmoke:4126537215,yellow:4294902015,yellowgreen:2597139199},et="[-+]?\\d*\\.?\\d+",en=et+"%";function er(...e){return"\\(\\s*("+e.join(")\\s*,\\s*(")+")\\s*\\)"}var ei=RegExp("rgb"+er(et,et,et)),es=RegExp("rgba"+er(et,et,et,et)),ea=RegExp("hsl"+er(et,en,en)),eo=RegExp("hsla"+er(et,en,en,et)),el=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,eu=/^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,ec=/^#([0-9a-fA-F]{6})$/,ed=/^#([0-9a-fA-F]{8})$/;function ep(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ef(e,t,n){let r=n<.5?n*(1+t):n+t-n*t,i=2*n-r;return Math.round(255*ep(i,r,e+1/3))<<24|Math.round(255*ep(i,r,e))<<16|Math.round(255*ep(i,r,e-1/3))<<8}function eh(e){let t=parseInt(e,10);return t<0?0:t>255?255:t}function em(e){return(parseFloat(e)%360+360)%360/360}function eg(e){let t=parseFloat(e);return t<0?0:t>1?255:Math.round(255*t)}function ev(e){let t=parseFloat(e);return t<0?0:t>100?1:t/100}function ey(e){let t;let n="number"==typeof e?e>>>0===e&&e>=0&&e<=4294967295?e:null:(t=ec.exec(e))?parseInt(t[1]+"ff",16)>>>0:H&&void 0!==H[e]?H[e]:(t=ei.exec(e))?(eh(t[1])<<24|eh(t[2])<<16|eh(t[3])<<8|255)>>>0:(t=es.exec(e))?(eh(t[1])<<24|eh(t[2])<<16|eh(t[3])<<8|eg(t[4]))>>>0:(t=el.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+"ff",16)>>>0:(t=ed.exec(e))?parseInt(t[1],16)>>>0:(t=eu.exec(e))?parseInt(t[1]+t[1]+t[2]+t[2]+t[3]+t[3]+t[4]+t[4],16)>>>0:(t=ea.exec(e))?(255|ef(em(t[1]),ev(t[2]),ev(t[3])))>>>0:(t=eo.exec(e))?(ef(em(t[1]),ev(t[2]),ev(t[3]))|eg(t[4]))>>>0:null;if(null===n)return e;let r=(4278190080&(n=n||0))>>>24,i=(16711680&n)>>>16,s=(65280&n)>>>8,a=(255&n)/255;return`rgba(${r}, ${i}, ${s}, ${a})`}var eb=(e,t,n)=>{if(k.fun(e))return e;if(k.arr(e))return eb({range:e,output:t,extrapolate:n});if(k.str(e.output[0]))return z(e);let r=e.output,i=e.range||[0,1],s=e.extrapolateLeft||e.extrapolate||"extend",a=e.extrapolateRight||e.extrapolate||"extend",o=e.easing||(e=>e);return t=>{let n=function(e,t){for(var n=1;n<t.length-1&&!(t[n]>=e);++n);return n-1}(t,i);return function(e,t,n,r,i,s,a,o,l){let u=l?l(e):e;if(u<t){if("identity"===a)return u;"clamp"===a&&(u=t)}if(u>n){if("identity"===o)return u;"clamp"===o&&(u=n)}return r===i?r:t===n?e<=t?r:i:(t===-1/0?u=-u:n===1/0?u-=t:u=(u-t)/(n-t),u=s(u),r===-1/0?u=-u:i===1/0?u+=r:u=u*(i-r)+r,u)}(t,i[n],i[n+1],r[n],r[n+1],o,s,a,e.map)}},ew=2*Math.PI/3,eS=2*Math.PI/4.5,eE=e=>e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,ex={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>1-(1-e)*(1-e),easeInOutQuad:e=>e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2,easeInCubic:e=>e*e*e,easeOutCubic:e=>1-Math.pow(1-e,3),easeInOutCubic:e=>e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2,easeInQuart:e=>e*e*e*e,easeOutQuart:e=>1-Math.pow(1-e,4),easeInOutQuart:e=>e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2,easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>1-Math.pow(1-e,5),easeInOutQuint:e=>e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2,easeInSine:e=>1-Math.cos(e*Math.PI/2),easeOutSine:e=>Math.sin(e*Math.PI/2),easeInOutSine:e=>-(Math.cos(Math.PI*e)-1)/2,easeInExpo:e=>0===e?0:Math.pow(2,10*e-10),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2,easeInCirc:e=>1-Math.sqrt(1-Math.pow(e,2)),easeOutCirc:e=>Math.sqrt(1-Math.pow(e-1,2)),easeInOutCirc:e=>e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2,easeInBack:e=>2.70158*e*e*e-1.70158*e*e,easeOutBack:e=>1+2.70158*Math.pow(e-1,3)+1.70158*Math.pow(e-1,2),easeInOutBack:e=>e<.5?Math.pow(2*e,2)*(3.5949095*2*e-2.5949095)/2:(Math.pow(2*e-2,2)*(3.5949095*(2*e-2)+2.5949095)+2)/2,easeInElastic:e=>0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*ew),easeOutElastic:e=>0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*ew)+1,easeInOutElastic:e=>0===e?0:1===e?1:e<.5?-(Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*eS))/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*eS)/2+1,easeInBounce:e=>1-eE(1-e),easeOutBounce:eE,easeInOutBounce:e=>e<.5?(1-eE(1-2*e))/2:(1+eE(2*e-1))/2,steps:(e,t="end")=>n=>{let r=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e;return J(0,1,("end"===t?Math.floor(r):Math.ceil(r))/e)}},eC=Symbol.for("FluidValue.get"),eO=Symbol.for("FluidValue.observers"),eP=e=>!!(e&&e[eC]),eT=e=>e&&e[eC]?e[eC]():e,e_=e=>e[eO]||null;function eM(e,t){e.eventObserved?e.eventObserved(t):e(t)}function ek(e,t){let n=e[eO];n&&n.forEach(e=>{eM(e,t)})}var eI=class{constructor(e){if(!e&&!(e=this.get))throw Error("Unknown getter");eL(this,e)}},eL=(e,t)=>ez(e,eC,t);function eA(e,t){if(e[eC]){let n=e[eO];n||ez(e,eO,n=new Set),n.has(t)||(n.add(t),e.observerAdded&&e.observerAdded(n.size,t))}return t}function ej(e,t){let n=e[eO];if(n&&n.has(t)){let r=n.size-1;r?n.delete(t):e[eO]=null,e.observerRemoved&&e.observerRemoved(r,t)}}var eR,ez=(e,t,n)=>Object.defineProperty(e,t,{value:n,writable:!0,configurable:!0}),eF=/[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,eD=/(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi,eV=RegExp(`(${eF.source})(%|[a-z]+)`,"i"),eH=/rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi,eN=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/,eB=e=>{let[t,n]=e$(e);if(!t||V())return e;let r=window.getComputedStyle(document.documentElement).getPropertyValue(t);return r?r.trim():n&&n.startsWith("--")?window.getComputedStyle(document.documentElement).getPropertyValue(n)||e:n&&eN.test(n)?eB(n):n||e},e$=e=>{let t=eN.exec(e);if(!t)return[,];let[,n,r]=t;return[n,r]},eW=(e,t,n,r,i)=>`rgba(${Math.round(t)}, ${Math.round(n)}, ${Math.round(r)}, ${i})`,eG=e=>{eR||(eR=H?RegExp(`(${Object.keys(H).join("|")})(?!\\w)`,"g"):/^\b$/);let t=e.output.map(e=>eT(e).replace(eN,eB).replace(eD,ey).replace(eR,ey)),n=t.map(e=>e.match(eF).map(Number)),r=n[0].map((e,t)=>n.map(e=>{if(!(t in e))throw Error('The arity of each "output" value must be equal');return e[t]})).map(t=>eb({...e,output:t}));return e=>{let n=!eV.test(t[0])&&t.find(e=>eV.test(e))?.replace(eF,""),i=0;return t[0].replace(eF,()=>`${r[i++](e)}${n||""}`).replace(eH,eW)}},eq="react-spring: ",eY=e=>{let t=!1;if("function"!=typeof e)throw TypeError(`${eq}once requires a function parameter`);return(...n)=>{t||(e(...n),t=!0)}},eX=eY(console.warn);function eU(){eX(`${eq}The "interpolate" function is deprecated in v9 (use "to" instead)`)}var eQ=eY(console.warn);function eK(){eQ(`${eq}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`)}function eZ(e){return k.str(e)&&("#"==e[0]||/\d/.test(e)||!V()&&eN.test(e)||e in(H||{}))}var eJ,e0,e1=new WeakMap,e2=e=>e.forEach(({target:e,contentRect:t})=>e1.get(e)?.forEach(e=>e(t))),e5=new Set,e3=()=>{let e=()=>{e5.forEach(e=>e({width:window.innerWidth,height:window.innerHeight}))};return window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},e4=e=>(e5.add(e),e0||(e0=e3()),()=>{e5.delete(e),!e5.size&&e0&&(e0(),e0=void 0)}),e7=(e,{container:t=document.documentElement}={})=>{let n;return t===document.documentElement?e4(e):(eJ||"u">typeof ResizeObserver&&(eJ=new ResizeObserver(e2)),(n=e1.get(t))||(n=new Set,e1.set(t,n)),n.add(e),eJ&&eJ.observe(t),()=>{let n=e1.get(t);n&&(n.delete(e),!n.size&&eJ&&eJ.unobserve(t))})},e9=(e,t,n)=>t-e==0?1:(n-e)/(t-e),e8={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}},e6=class{constructor(e,t){this.createAxis=()=>({current:0,progress:0,scrollLength:0}),this.updateAxis=e=>{let t=this.info[e],{length:n,position:r}=e8[e];t.current=this.container[`scroll${r}`],t.scrollLength=this.container["scroll"+n]-this.container["client"+n],t.progress=e9(0,t.scrollLength,t.current)},this.update=()=>{this.updateAxis("x"),this.updateAxis("y")},this.sendEvent=()=>{this.callback(this.info)},this.advance=()=>{this.update(),this.sendEvent()},this.callback=e,this.container=t,this.info={time:0,x:this.createAxis(),y:this.createAxis()}}},te=new WeakMap,tt=new WeakMap,tn=new WeakMap,tr=e=>e===document.documentElement?window:e,ti=(e,{container:t=document.documentElement}={})=>{let n=tn.get(t);n||(n=new Set,tn.set(t,n));let r=new e6(e,t);if(n.add(r),!te.has(t)){let e=()=>(n?.forEach(e=>e.advance()),!0);te.set(t,e);let r=tr(t);window.addEventListener("resize",e,{passive:!0}),t!==document.documentElement&&tt.set(t,e7(e,{container:t})),r.addEventListener("scroll",e,{passive:!0})}let i=te.get(t);return d(i),()=>{d.cancel(i);let e=tn.get(t);if(!e||(e.delete(r),e.size))return;let n=te.get(t);te.delete(t),n&&(tr(t).removeEventListener("scroll",n),window.removeEventListener("resize",n),tt.get(t)?.())}},ts=n(7294);function ta(e){let t=(0,ts.useRef)(null);return null===t.current&&(t.current=e()),t.current}var to=n(7294),tl=n(7294),tu=n(7294),tc=V()?tu.useEffect:tu.useLayoutEffect,td=()=>{let e=(0,tl.useRef)(!1);return tc(()=>(e.current=!0,()=>{e.current=!1}),[]),e};function tp(){let e=(0,to.useState)()[1],t=td();return()=>{t.current&&e(Math.random())}}var tf=n(7294);function th(e,t){let[n]=(0,tf.useState)(()=>({inputs:t,result:e()})),r=(0,tf.useRef)(),i=r.current,s=i;return s?t&&s.inputs&&function(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,s.inputs)||(s={inputs:t,result:e()}):s=n,(0,tf.useEffect)(()=>{r.current=s,i==n&&(n.inputs=n.result=void 0)},[s]),s.result}var tm=n(7294),tg=e=>(0,tm.useEffect)(e,tv),tv=[],ty=n(7294);function tb(e){let t=(0,ty.useRef)();return(0,ty.useEffect)(()=>{t.current=e}),t.current}var tw=n(7294),tS=()=>{let[e,t]=(0,tw.useState)(null);return tc(()=>{let e=window.matchMedia("(prefers-reduced-motion)"),n=e=>{t(e.matches),$({skipAnimation:e.matches})};return n(e),e.addEventListener("change",n),()=>{e.removeEventListener("change",n)}},[]),e}},9032:function(e){"use strict";var t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s={};((e,n)=>{for(var r in n)t(e,r,{get:n[r],enumerable:!0})})(s,{Any:()=>a}),e.exports=((e,s,a,o)=>{if(s&&"object"==typeof s||"function"==typeof s)for(let a of r(s))i.call(e,a)||void 0===a||t(e,a,{get:()=>s[a],enumerable:!(o=n(s,a))||o.enumerable});return e})(t({},"__esModule",{value:!0}),s);var a=class{}},5609:function(e,t,n){"use strict";var r,i,s=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,u=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of o(t))l.call(e,i)||i===n||s(e,i,{get:()=>t[i],enumerable:!(r=a(t,i))||r.enumerable});return e},c={};((e,t)=>{for(var n in t)s(e,n,{get:t[n],enumerable:!0})})(c,{a:()=>M,animated:()=>M}),e.exports=u(s({},"__esModule",{value:!0}),c);var d=n(4158),p=n(3935),f=n(4873),h=n(130),m=/^--/,g={},v={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},y=(e,t)=>e+t.charAt(0).toUpperCase()+t.substring(1),b=["Webkit","Ms","Moz","O"];v=Object.keys(v).reduce((e,t)=>(b.forEach(n=>e[y(n,t)]=e[t]),e),v);var w=n(130),S=n(4873),E=/^(matrix|translate|scale|rotate|skew)/,x=/^(translate)/,C=/^(rotate|skew)/,O=(e,t)=>S.is.num(e)&&0!==e?e+t:e,P=(e,t)=>S.is.arr(e)?e.every(e=>P(e,t)):S.is.num(e)?e===t:parseFloat(e)===t,T=class extends w.AnimatedObject{constructor({x:e,y:t,z:n,...r}){let i=[],s=[];(e||t||n)&&(i.push([e||0,t||0,n||0]),s.push(e=>[`translate3d(${e.map(e=>O(e,"px")).join(",")})`,P(e,0)])),(0,S.eachProp)(r,(e,t)=>{if("transform"===t)i.push([e||""]),s.push(e=>[e,""===e]);else if(E.test(t)){if(delete r[t],S.is.und(e))return;let n=x.test(t)?"px":C.test(t)?"deg":"";i.push((0,S.toArray)(e)),s.push("rotate3d"===t?([e,t,r,i])=>[`rotate3d(${e},${t},${r},${O(i,n)})`,P(i,0)]:e=>[`${t}(${e.map(e=>O(e,n)).join(",")})`,P(e,t.startsWith("scale")?1:0)])}}),i.length&&(r.transform=new _(i,s)),super(r)}},_=class extends S.FluidValue{constructor(e,t){super(),this.inputs=e,this.transforms=t,this._value=null}get(){return this._value||(this._value=this._get())}_get(){let e="",t=!0;return(0,S.each)(this.inputs,(n,r)=>{let i=(0,S.getFluidValue)(n[0]),[s,a]=this.transforms[r](S.is.arr(i)?i:n.map(S.getFluidValue));e+=" "+s,t=t&&a}),t?"none":e}observerAdded(e){1==e&&(0,S.each)(this.inputs,e=>(0,S.each)(e,e=>(0,S.hasFluidValue)(e)&&(0,S.addFluidObserver)(e,this)))}observerRemoved(e){0==e&&(0,S.each)(this.inputs,e=>(0,S.each)(e,e=>(0,S.hasFluidValue)(e)&&(0,S.removeFluidObserver)(e,this)))}eventObserved(e){"change"==e.type&&(this._value=null),(0,S.callFluidObservers)(this,e)}};r=n(4158),i=e.exports,u(c,r,"default"),i&&u(i,r,"default"),d.Globals.assign({batchedUpdates:p.unstable_batchedUpdates,createStringInterpolator:f.createStringInterpolator,colors:f.colors});var M=(0,h.createHost)(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],{applyAnimatedValues:function(e,t){if(!e.nodeType||!e.setAttribute)return!1;let n="filter"===e.nodeName||e.parentNode&&"filter"===e.parentNode.nodeName,{style:r,children:i,scrollTop:s,scrollLeft:a,viewBox:o,...l}=t,u=Object.values(l),c=Object.keys(l).map(t=>n||e.hasAttribute(t)?t:g[t]||(g[t]=t.replace(/([A-Z])/g,e=>"-"+e.toLowerCase())));for(let t in void 0!==i&&(e.textContent=i),r)if(r.hasOwnProperty(t)){var d;let n=null==(d=r[t])||"boolean"==typeof d||""===d?"":"number"!=typeof d||0===d||m.test(t)||v.hasOwnProperty(t)&&v[t]?(""+d).trim():d+"px";m.test(t)?e.style.setProperty(t,n):e.style[t]=n}c.forEach((t,n)=>{e.setAttribute(t,u[n])}),void 0!==s&&(e.scrollTop=s),void 0!==a&&(e.scrollLeft=a),void 0!==o&&e.setAttribute("viewBox",o)},createAnimatedStyle:e=>new T(e),getComponentProps:({scrollTop:e,scrollLeft:t,...n})=>n}).animated},3287:function(e,t,n){"use strict";var r,i,s=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,l=Object.prototype.hasOwnProperty,u=(e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let i of o(t))l.call(e,i)||i===n||s(e,i,{get:()=>t[i],enumerable:!(r=a(t,i))||r.enumerable});return e},c={};e.exports=u(s({},"__esModule",{value:!0}),c),r=n(1247),i=e.exports,u(c,r,"default"),i&&u(i,r,"default")},4750:function(e,t,n){"use strict";n.d(t,{Me:function(){return A},oo:function(){return z},cv:function(){return j},dp:function(){return R}});let r=Math.min,i=Math.max,s=Math.round,a=Math.floor,o=e=>({x:e,y:e});function l(e,t){return"function"==typeof e?e(t):e}function u(e){return e.split("-")[0]}function c(e){return e.split("-")[1]}function d(e){return["top","bottom"].includes(u(e))?"y":"x"}function p(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function f(e,t,n){let r,{reference:i,floating:s}=e,a=d(t),o="x"===d(t)?"y":"x",l="y"===o?"height":"width",p=u(t),f="y"===a,h=i.x+i.width/2-s.width/2,m=i.y+i.height/2-s.height/2,g=i[l]/2-s[l]/2;switch(p){case"top":r={x:h,y:i.y-s.height};break;case"bottom":r={x:h,y:i.y+i.height};break;case"right":r={x:i.x+i.width,y:m};break;case"left":r={x:i.x-s.width,y:m};break;default:r={x:i.x,y:i.y}}switch(c(t)){case"start":r[o]-=g*(n&&f?-1:1);break;case"end":r[o]+=g*(n&&f?-1:1)}return r}let h=async(e,t,n)=>{let{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:a}=n,o=s.filter(Boolean),l=await (null==a.isRTL?void 0:a.isRTL(t)),u=await a.getElementRects({reference:e,floating:t,strategy:i}),{x:c,y:d}=f(u,r,l),p=r,h={},m=0;for(let n=0;n<o.length;n++){let{name:s,fn:g}=o[n],{x:v,y:y,data:b,reset:w}=await g({x:c,y:d,initialPlacement:r,placement:p,strategy:i,middlewareData:h,rects:u,platform:a,elements:{reference:e,floating:t}});c=null!=v?v:c,d=null!=y?y:d,h={...h,[s]:{...h[s],...b}},w&&m<=50&&(m++,"object"==typeof w&&(w.placement&&(p=w.placement),w.rects&&(u=!0===w.rects?await a.getElementRects({reference:e,floating:t,strategy:i}):w.rects),{x:c,y:d}=f(u,p,l)),n=-1)}return{x:c,y:d,placement:p,strategy:i,middlewareData:h}};async function m(e,t){var n;void 0===t&&(t={});let{x:r,y:i,platform:s,rects:a,elements:o,strategy:u}=e,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:h=!1,padding:m=0}=l(t,e),g="number"!=typeof m?{top:0,right:0,bottom:0,left:0,...m}:{top:m,right:m,bottom:m,left:m},v=o[h?"floating"===f?"reference":"floating":f],y=p(await s.getClippingRect({element:null==(n=await (null==s.isElement?void 0:s.isElement(v)))||n?v:v.contextElement||await (null==s.getDocumentElement?void 0:s.getDocumentElement(o.floating)),boundary:c,rootBoundary:d,strategy:u})),b="floating"===f?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,w=await (null==s.getOffsetParent?void 0:s.getOffsetParent(o.floating)),S=await (null==s.isElement?void 0:s.isElement(w))&&await (null==s.getScale?void 0:s.getScale(w))||{x:1,y:1},E=p(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:b,offsetParent:w,strategy:u}):b);return{top:(y.top-E.top+g.top)/S.y,bottom:(E.bottom-y.bottom+g.bottom)/S.y,left:(y.left-E.left+g.left)/S.x,right:(E.right-y.right+g.right)/S.x}}async function g(e,t){let{placement:n,platform:r,elements:i}=e,s=await (null==r.isRTL?void 0:r.isRTL(i.floating)),a=u(n),o=c(n),p="y"===d(n),f=["left","top"].includes(a)?-1:1,h=s&&p?-1:1,m=l(t,e),{mainAxis:g,crossAxis:v,alignmentAxis:y}="number"==typeof m?{mainAxis:m,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...m};return o&&"number"==typeof y&&(v="end"===o?-1*y:y),p?{x:v*h,y:g*f}:{x:g*f,y:v*h}}var v=n(7317);function y(e){let t=(0,v.Dx)(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=(0,v.Re)(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,l=s(n)!==a||s(r)!==o;return l&&(n=a,r=o),{width:n,height:r,$:l}}function b(e){return(0,v.kK)(e)?e:e.contextElement}function w(e){let t=b(e);if(!(0,v.Re)(t))return o(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=y(t),l=(a?s(n.width):n.width)/r,u=(a?s(n.height):n.height)/i;return l&&Number.isFinite(l)||(l=1),u&&Number.isFinite(u)||(u=1),{x:l,y:u}}let S=o(0);function E(e){let t=(0,v.Jj)(e);return(0,v.Pf)()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:S}function x(e,t,n,r){var i;void 0===t&&(t=!1),void 0===n&&(n=!1);let s=e.getBoundingClientRect(),a=b(e),l=o(1);t&&(r?(0,v.kK)(r)&&(l=w(r)):l=w(e));let u=(void 0===(i=n)&&(i=!1),r&&(!i||r===(0,v.Jj)(a))&&i)?E(a):o(0),c=(s.left+u.x)/l.x,d=(s.top+u.y)/l.y,f=s.width/l.x,h=s.height/l.y;if(a){let e=(0,v.Jj)(a),t=r&&(0,v.kK)(r)?(0,v.Jj)(r):r,n=e,i=n.frameElement;for(;i&&r&&t!==n;){let e=w(i),t=i.getBoundingClientRect(),r=(0,v.Dx)(i),s=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,d*=e.y,f*=e.x,h*=e.y,c+=s,d+=a,i=(n=(0,v.Jj)(i)).frameElement}}return p({width:f,height:h,x:c,y:d})}let C=[":popover-open",":modal"];function O(e){return C.some(t=>{try{return e.matches(t)}catch(e){return!1}})}function P(e){return x((0,v.tF)(e)).left+(0,v.Lw)(e).scrollLeft}function T(e,t,n){let r;if("viewport"===t)r=function(e,t){let n=(0,v.Jj)(e),r=(0,v.tF)(e),i=n.visualViewport,s=r.clientWidth,a=r.clientHeight,o=0,l=0;if(i){s=i.width,a=i.height;let e=(0,v.Pf)();(!e||e&&"fixed"===t)&&(o=i.offsetLeft,l=i.offsetTop)}return{width:s,height:a,x:o,y:l}}(e,n);else if("document"===t)r=function(e){let t=(0,v.tF)(e),n=(0,v.Lw)(e),r=e.ownerDocument.body,s=i(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=i(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+P(e),l=-n.scrollTop;return"rtl"===(0,v.Dx)(r).direction&&(o+=i(t.clientWidth,r.clientWidth)-s),{width:s,height:a,x:o,y:l}}((0,v.tF)(e));else if((0,v.kK)(t))r=function(e,t){let n=x(e,!0,"fixed"===t),r=n.top+e.clientTop,i=n.left+e.clientLeft,s=(0,v.Re)(e)?w(e):o(1),a=e.clientWidth*s.x;return{width:a,height:e.clientHeight*s.y,x:i*s.x,y:r*s.y}}(t,n);else{let n=E(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return p(r)}function _(e){return"static"===(0,v.Dx)(e).position}function M(e,t){return(0,v.Re)(e)&&"fixed"!==(0,v.Dx)(e).position?t?t(e):e.offsetParent:null}function k(e,t){let n=(0,v.Jj)(e);if(O(e))return n;if(!(0,v.Re)(e)){let t=(0,v.Ow)(e);for(;t&&!(0,v.Py)(t);){if((0,v.kK)(t)&&!_(t))return t;t=(0,v.Ow)(t)}return n}let r=M(e,t);for(;r&&(0,v.Ze)(r)&&_(r);)r=M(r,t);return r&&(0,v.Py)(r)&&_(r)&&!(0,v.hT)(r)?n:r||(0,v.gQ)(e)||n}let I=async function(e){let t=this.getOffsetParent||k,n=this.getDimensions,r=await n(e.floating);return{reference:function(e,t,n){let r=(0,v.Re)(t),i=(0,v.tF)(t),s="fixed"===n,a=x(e,!0,s,t),l={scrollLeft:0,scrollTop:0},u=o(0);if(r||!r&&!s){if(("body"!==(0,v.wk)(t)||(0,v.ao)(i))&&(l=(0,v.Lw)(t)),r){let e=x(t,!0,s,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else i&&(u.x=P(i))}return{x:a.left+l.scrollLeft-u.x,y:a.top+l.scrollTop-u.y,width:a.width,height:a.height}}(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},L={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,s="fixed"===i,a=(0,v.tF)(r),l=!!t&&O(t.floating);if(r===a||l&&s)return n;let u={scrollLeft:0,scrollTop:0},c=o(1),d=o(0),p=(0,v.Re)(r);if((p||!p&&!s)&&(("body"!==(0,v.wk)(r)||(0,v.ao)(a))&&(u=(0,v.Lw)(r)),(0,v.Re)(r))){let e=x(r);c=w(r),d.x=e.x+r.clientLeft,d.y=e.y+r.clientTop}return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+d.x,y:n.y*c.y-u.scrollTop*c.y+d.y}},getDocumentElement:v.tF,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:s,strategy:a}=e,o=[..."clippingAncestors"===n?O(t)?[]:function(e,t){let n=t.get(e);if(n)return n;let r=(0,v.Kx)(e,[],!1).filter(e=>(0,v.kK)(e)&&"body"!==(0,v.wk)(e)),i=null,s="fixed"===(0,v.Dx)(e).position,a=s?(0,v.Ow)(e):e;for(;(0,v.kK)(a)&&!(0,v.Py)(a);){let t=(0,v.Dx)(a),n=(0,v.hT)(a);n||"fixed"!==t.position||(i=null),(s?!n&&!i:!n&&"static"===t.position&&!!i&&["absolute","fixed"].includes(i.position)||(0,v.ao)(a)&&!n&&function e(t,n){let r=(0,v.Ow)(t);return!(r===n||!(0,v.kK)(r)||(0,v.Py)(r))&&("fixed"===(0,v.Dx)(r).position||e(r,n))}(e,a))?r=r.filter(e=>e!==a):i=t,a=(0,v.Ow)(a)}return t.set(e,r),r}(t,this._c):[].concat(n),s],l=o[0],u=o.reduce((e,n)=>{let s=T(t,n,a);return e.top=i(s.top,e.top),e.right=r(s.right,e.right),e.bottom=r(s.bottom,e.bottom),e.left=i(s.left,e.left),e},T(t,l,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:k,getElementRects:I,getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){let{width:t,height:n}=y(e);return{width:t,height:n}},getScale:w,isElement:v.kK,isRTL:function(e){return"rtl"===(0,v.Dx)(e).direction}};function A(e,t,n,s){let o;void 0===s&&(s={});let{ancestorScroll:l=!0,ancestorResize:u=!0,elementResize:c="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:p=!1}=s,f=b(e),h=l||u?[...f?(0,v.Kx)(f):[],...(0,v.Kx)(t)]:[];h.forEach(e=>{l&&e.addEventListener("scroll",n,{passive:!0}),u&&e.addEventListener("resize",n)});let m=f&&d?function(e,t){let n,s=null,o=(0,v.tF)(e);function l(){var e;clearTimeout(n),null==(e=s)||e.disconnect(),s=null}return!function u(c,d){void 0===c&&(c=!1),void 0===d&&(d=1),l();let{left:p,top:f,width:h,height:m}=e.getBoundingClientRect();if(c||t(),!h||!m)return;let g=a(f),v=a(o.clientWidth-(p+h)),y={rootMargin:-g+"px "+-v+"px "+-a(o.clientHeight-(f+m))+"px "+-a(p)+"px",threshold:i(0,r(1,d))||1},b=!0;function w(e){let t=e[0].intersectionRatio;if(t!==d){if(!b)return u();t?u(!1,t):n=setTimeout(()=>{u(!1,1e-7)},1e3)}b=!1}try{s=new IntersectionObserver(w,{...y,root:o.ownerDocument})}catch(e){s=new IntersectionObserver(w,y)}s.observe(e)}(!0),l}(f,n):null,g=-1,y=null;c&&(y=new ResizeObserver(e=>{let[r]=e;r&&r.target===f&&y&&(y.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var e;null==(e=y)||e.observe(t)})),n()}),f&&!p&&y.observe(f),y.observe(t));let w=p?x(e):null;return p&&function t(){let r=x(e);w&&(r.x!==w.x||r.y!==w.y||r.width!==w.width||r.height!==w.height)&&n(),w=r,o=requestAnimationFrame(t)}(),n(),()=>{var e;h.forEach(e=>{l&&e.removeEventListener("scroll",n),u&&e.removeEventListener("resize",n)}),null==m||m(),null==(e=y)||e.disconnect(),y=null,p&&cancelAnimationFrame(o)}}let j=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;let{x:i,y:s,placement:a,middlewareData:o}=t,l=await g(t,e);return a===(null==(n=o.offset)?void 0:n.placement)&&null!=(r=o.arrow)&&r.alignmentOffset?{}:{x:i+l.x,y:s+l.y,data:{...l,placement:a}}}}},R=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){let n,s;let{placement:a,rects:o,platform:p,elements:f}=t,{apply:h=()=>{},...g}=l(e,t),v=await m(t,g),y=u(a),b=c(a),w="y"===d(a),{width:S,height:E}=o.floating;"top"===y||"bottom"===y?(n=y,s=b===(await (null==p.isRTL?void 0:p.isRTL(f.floating))?"start":"end")?"left":"right"):(s=y,n="end"===b?"top":"bottom");let x=E-v[n],C=S-v[s],O=!t.middlewareData.shift,P=x,T=C;if(w){let e=S-v.left-v.right;T=b||O?r(C,e):e}else{let e=E-v.top-v.bottom;P=b||O?r(x,e):e}if(O&&!b){let e=i(v.left,0),t=i(v.right,0),n=i(v.top,0),r=i(v.bottom,0);w?T=S-2*(0!==e||0!==t?e+t:i(v.left,v.right)):P=E-2*(0!==n||0!==r?n+r:i(v.top,v.bottom))}await h({...t,availableWidth:T,availableHeight:P});let _=await p.getDimensions(f.floating);return S!==_.width||E!==_.height?{reset:{rects:!0}}:{}}}},z=(e,t,n)=>{let r=new Map,i={platform:L,...n},s={...i.platform,_c:r};return h(e,t,{...i,platform:s})}},2020:function(e,t,n){"use strict";n.d(t,{bQ:function(){return j},YF:function(){return R},NI:function(){return V},Y_:function(){return B}});var r=n(7294),i=n.t(r,2),s=n(7317);function a(e,t){if(!e||!t)return!1;let n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&(0,s.Zq)(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function o(e){return(null==e?void 0:e.ownerDocument)||document}function l(e,t){return null!=t&&("composedPath"in e?e.composedPath().includes(t):null!=e.target&&t.contains(e.target))}function u(e){return"composedPath"in e?e.composedPath()[0]:e.target}var c=n(4750),d=n(3935),p="undefined"!=typeof document?r.useLayoutEffect:r.useEffect;function f(e,t){let n,r,i;if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!f(e[r],t[r]))return!1;return!0}if((n=(i=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!({}).hasOwnProperty.call(t,i[r]))return!1;for(r=n;0!=r--;){let n=i[r];if(("_owner"!==n||!e.$$typeof)&&!f(e[n],t[n]))return!1}return!0}return e!=e&&t!=t}function h(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function m(e,t){let n=h(e);return Math.round(t*n)/n}function g(e){let t=r.useRef(e);return p(()=>{t.current=e}),t}let v={...i},y=v.useInsertionEffect||(e=>e());function b(e){let t=r.useRef(()=>{});return y(()=>{t.current=e}),r.useCallback(function(){for(var e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)},[])}var w="undefined"!=typeof document?r.useLayoutEffect:r.useEffect;let S=!1,E=0,x=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+E++,C=v.useId||function(){let[e,t]=r.useState(()=>S?x():void 0);return w(()=>{null==e&&t(x())},[]),r.useEffect(()=>{S=!0},[]),e},O=r.createContext(null),P=r.createContext(null),T=()=>{var e;return(null==(e=r.useContext(O))?void 0:e.id)||null},_=()=>r.useContext(P);function M(e){let t=(0,r.useRef)(e);return w(()=>{t.current=e}),t}function k(e,t){let n=e.filter(e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)}),r=n;for(;r.length;)r=e.filter(e=>{var t;return null==(t=r)?void 0:t.some(t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)})}),n=n.concat(r);return n}let I={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},L={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},A=e=>{var t,n;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function j(e,t){void 0===t&&(t={});let{open:n,onOpenChange:i,elements:{reference:c,domReference:d,floating:p},dataRef:f}=e,{enabled:h=!0,escapeKey:m=!0,outsidePress:g=!0,outsidePressEvent:v="pointerdown",referencePress:y=!1,referencePressEvent:w="pointerdown",ancestorScroll:S=!1,bubbles:E,capture:x}=t,C=_(),O=b("function"==typeof g?g:()=>!1),P="function"==typeof g?O:g,T=r.useRef(!1),M=r.useRef(!1),{escapeKey:j,outsidePress:R}=A(E),{escapeKey:z,outsidePress:F}=A(x),D=b(e=>{var t;if(!n||!h||!m||"Escape"!==e.key)return;let r=null==(t=f.current.floatingContext)?void 0:t.nodeId,s=C?k(C.nodesRef.current,r):[];if(!j&&(e.stopPropagation(),s.length>0)){let e=!0;if(s.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__escapeKeyBubbles){e=!1;return}}),!e)return}i(!1,"nativeEvent"in e?e.nativeEvent:e,"escape-key")}),V=b(e=>{var t;let n=()=>{var t;D(e),null==(t=u(e))||t.removeEventListener("keydown",n)};null==(t=u(e))||t.addEventListener("keydown",n)}),H=b(e=>{var t;let n=T.current;T.current=!1;let r=M.current;if(M.current=!1,"click"===v&&r||n||"function"==typeof P&&!P(e))return;let c=u(e),h=o(p).querySelectorAll("[data-floating-ui-inert]"),m=(0,s.kK)(c)?c:null;for(;m&&!(0,s.Py)(m);){let e=(0,s.Ow)(m);if((0,s.Py)(e)||!(0,s.kK)(e))break;m=e}if(h.length&&(0,s.kK)(c)&&!c.matches("html,body")&&!a(c,p)&&Array.from(h).every(e=>!a(m,e)))return;if((0,s.Re)(c)&&p){let t=c.clientWidth>0&&c.scrollWidth>c.clientWidth,n=c.clientHeight>0&&c.scrollHeight>c.clientHeight,r=n&&e.offsetX>c.clientWidth;if(n&&"rtl"===(0,s.Dx)(c).direction&&(r=e.offsetX<=c.offsetWidth-c.clientWidth),r||t&&e.offsetY>c.clientHeight)return}let g=null==(t=f.current.floatingContext)?void 0:t.nodeId,y=C&&k(C.nodesRef.current,g).some(t=>{var n;return l(e,null==(n=t.context)?void 0:n.elements.floating)});if(l(e,p)||l(e,d)||y)return;let b=C?k(C.nodesRef.current,g):[];if(b.length>0){let e=!0;if(b.forEach(t=>{var n;if(null!=(n=t.context)&&n.open&&!t.context.dataRef.current.__outsidePressBubbles){e=!1;return}}),!e)return}i(!1,e,"outside-press")}),N=b(e=>{var t;let n=()=>{var t;H(e),null==(t=u(e))||t.removeEventListener(v,n)};null==(t=u(e))||t.addEventListener(v,n)});return r.useEffect(()=>{if(!n||!h)return;function e(e){i(!1,e,"ancestor-scroll")}f.current.__escapeKeyBubbles=j,f.current.__outsidePressBubbles=R;let t=o(p);m&&t.addEventListener("keydown",z?V:D,z),P&&t.addEventListener(v,F?N:H,F);let r=[];return S&&((0,s.kK)(d)&&(r=(0,s.Kx)(d)),(0,s.kK)(p)&&(r=r.concat((0,s.Kx)(p))),!(0,s.kK)(c)&&c&&c.contextElement&&(r=r.concat((0,s.Kx)(c.contextElement)))),(r=r.filter(e=>{var n;return e!==(null==(n=t.defaultView)?void 0:n.visualViewport)})).forEach(t=>{t.addEventListener("scroll",e,{passive:!0})}),()=>{m&&t.removeEventListener("keydown",z?V:D,z),P&&t.removeEventListener(v,F?N:H,F),r.forEach(t=>{t.removeEventListener("scroll",e)})}},[f,p,d,c,m,P,v,n,i,S,h,j,R,D,z,V,H,F,N]),r.useEffect(()=>{T.current=!1},[P,v]),r.useMemo(()=>h?{reference:{onKeyDown:D,[I[w]]:e=>{y&&i(!1,e.nativeEvent,"reference-press")}},floating:{onKeyDown:D,onMouseDown(){M.current=!0},onMouseUp(){M.current=!0},[L[v]]:()=>{T.current=!0}}}:{},[h,y,v,w,i,D])}function R(e){void 0===e&&(e={});let{nodeId:t}=e,n=function(e){let{open:t=!1,onOpenChange:n,elements:i}=e,s=C(),a=r.useRef({}),[o]=r.useState(()=>(function(){let e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach(e=>e(n))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter(e=>e!==n))||[])}}})()),l=null!=T(),[u,c]=r.useState(i.reference),d=b((e,t,r)=>{a.current.openEvent=e?t:void 0,o.emit("openchange",{open:e,event:t,reason:r,nested:l}),null==n||n(e,t,r)}),p=r.useMemo(()=>({setPositionReference:c}),[]),f=r.useMemo(()=>({reference:u||i.reference||null,floating:i.floating||null,domReference:i.reference}),[u,i.reference,i.floating]);return r.useMemo(()=>({dataRef:a,open:t,onOpenChange:d,elements:f,events:o,floatingId:s,refs:p}),[t,d,f,o,s,p])}({...e,elements:{reference:null,floating:null,...e.elements}}),i=e.rootContext||n,a=i.elements,[o,l]=r.useState(null),[u,v]=r.useState(null),y=(null==a?void 0:a.reference)||o,S=r.useRef(null),E=_();w(()=>{y&&(S.current=y)},[y]);let x=function(e){void 0===e&&(e={});let{placement:t="bottom",strategy:n="absolute",middleware:i=[],platform:s,elements:{reference:a,floating:o}={},transform:l=!0,whileElementsMounted:u,open:v}=e,[y,b]=r.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[w,S]=r.useState(i);f(w,i)||S(i);let[E,x]=r.useState(null),[C,O]=r.useState(null),P=r.useCallback(e=>{e!==k.current&&(k.current=e,x(e))},[]),T=r.useCallback(e=>{e!==I.current&&(I.current=e,O(e))},[]),_=a||E,M=o||C,k=r.useRef(null),I=r.useRef(null),L=r.useRef(y),A=null!=u,j=g(u),R=g(s),z=r.useCallback(()=>{if(!k.current||!I.current)return;let e={placement:t,strategy:n,middleware:w};R.current&&(e.platform=R.current),(0,c.oo)(k.current,I.current,e).then(e=>{let t={...e,isPositioned:!0};F.current&&!f(L.current,t)&&(L.current=t,d.flushSync(()=>{b(t)}))})},[w,t,n,R]);p(()=>{!1===v&&L.current.isPositioned&&(L.current.isPositioned=!1,b(e=>({...e,isPositioned:!1})))},[v]);let F=r.useRef(!1);p(()=>(F.current=!0,()=>{F.current=!1}),[]),p(()=>{if(_&&(k.current=_),M&&(I.current=M),_&&M){if(j.current)return j.current(_,M,z);z()}},[_,M,z,j,A]);let D=r.useMemo(()=>({reference:k,floating:I,setReference:P,setFloating:T}),[P,T]),V=r.useMemo(()=>({reference:_,floating:M}),[_,M]),H=r.useMemo(()=>{let e={position:n,left:0,top:0};if(!V.floating)return e;let t=m(V.floating,y.x),r=m(V.floating,y.y);return l?{...e,transform:"translate("+t+"px, "+r+"px)",...h(V.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:t,top:r}},[n,l,V.floating,y.x,y.y]);return r.useMemo(()=>({...y,update:z,refs:D,elements:V,floatingStyles:H}),[y,z,D,V,H])}({...e,elements:{...a,...u&&{reference:u}}}),O=r.useCallback(e=>{let t=(0,s.kK)(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;v(t),x.refs.setReference(t)},[x.refs]),P=r.useCallback(e=>{((0,s.kK)(e)||null===e)&&(S.current=e,l(e)),((0,s.kK)(x.refs.reference.current)||null===x.refs.reference.current||null!==e&&!(0,s.kK)(e))&&x.refs.setReference(e)},[x.refs]),M=r.useMemo(()=>({...x.refs,setReference:P,setPositionReference:O,domReference:S}),[x.refs,P,O]),k=r.useMemo(()=>({...x.elements,domReference:y}),[x.elements,y]),I=r.useMemo(()=>({...x,...i,refs:M,elements:k,nodeId:t}),[x,M,k,t,i]);return w(()=>{i.dataRef.current.floatingContext=I;let e=null==E?void 0:E.nodesRef.current.find(e=>e.id===t);e&&(e.context=I)}),r.useMemo(()=>({...x,context:I,refs:M,elements:k}),[x,M,k,I])}let z="active",F="selected";function D(e,t,n){let r=new Map,i="item"===n,s=e;if(i&&e){let{[z]:t,[F]:n,...r}=e;s=r}return{..."floating"===n&&{tabIndex:-1},...s,...t.map(t=>{let r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r}).concat(e).reduce((e,t)=>(t&&Object.entries(t).forEach(t=>{let[n,s]=t;if(!(i&&[z,F].includes(n))){if(0===n.indexOf("on")){if(r.has(n)||r.set(n,[]),"function"==typeof s){var a;null==(a=r.get(n))||a.push(s),e[n]=function(){for(var e,t=arguments.length,i=Array(t),s=0;s<t;s++)i[s]=arguments[s];return null==(e=r.get(n))?void 0:e.map(e=>e(...i)).find(e=>void 0!==e)}}}else e[n]=s}}),e),{})}}function V(e){void 0===e&&(e=[]);let t=e,n=r.useCallback(t=>D(t,e,"reference"),t),i=r.useCallback(t=>D(t,e,"floating"),t),s=r.useCallback(t=>D(t,e,"item"),e.map(e=>null==e?void 0:e.item));return r.useMemo(()=>({getReferenceProps:n,getFloatingProps:i,getItemProps:s}),[n,i,s])}let H=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,(e,t)=>(t?"-":"")+e.toLowerCase());function N(e,t){return"function"==typeof e?e(t):e}function B(e,t){void 0===t&&(t={});let{initial:n={opacity:0},open:i,close:s,common:a,duration:o=250}=t,l=e.placement,u=l.split("-")[0],c=r.useMemo(()=>({side:u,placement:l}),[u,l]),d="number"==typeof o,p=(d?o:o.open)||0,f=(d?o:o.close)||0,[h,m]=r.useState(()=>({...N(a,c),...N(n,c)})),{isMounted:g,status:v}=function(e,t){void 0===t&&(t={});let{open:n,elements:{floating:i}}=e,{duration:s=250}=t,a=("number"==typeof s?s:s.close)||0,[o,l]=r.useState(!1),[u,c]=r.useState("unmounted"),d=function(e,t){let[n,i]=r.useState(e);return e&&!n&&i(!0),r.useEffect(()=>{if(!e){let e=setTimeout(()=>i(!1),t);return()=>clearTimeout(e)}},[e,t]),n}(n,a);return w(()=>{o&&!d&&c("unmounted")},[o,d]),w(()=>{if(i){if(n){c("initial");let e=requestAnimationFrame(()=>{c("open")});return()=>{cancelAnimationFrame(e)}}l(!0),c("close")}},[n,i]),{isMounted:d,status:u}}(e,{duration:o}),y=M(n),b=M(i),S=M(s),E=M(a);return w(()=>{let e=N(y.current,c),t=N(S.current,c),n=N(E.current,c),r=N(b.current,c)||Object.keys(e).reduce((e,t)=>(e[t]="",e),{});if("initial"===v&&m(t=>({transitionProperty:t.transitionProperty,...n,...e})),"open"===v&&m({transitionProperty:Object.keys(r).map(H).join(","),transitionDuration:p+"ms",...n,...r}),"close"===v){let r=t||e;m({transitionProperty:Object.keys(r).map(H).join(","),transitionDuration:f+"ms",...n,...r})}},[f,S,y,b,E,p,v,c]),{isMounted:g,styles:h}}},7317:function(e,t,n){"use strict";function r(e){return a(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function s(e){var t;return null==(t=(a(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function a(e){return e instanceof Node||e instanceof i(e).Node}function o(e){return e instanceof Element||e instanceof i(e).Element}function l(e){return e instanceof HTMLElement||e instanceof i(e).HTMLElement}function u(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof i(e).ShadowRoot)}function c(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=g(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(i)}function d(e){return["table","td","th"].includes(r(e))}function p(e){let t=h(),n=g(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some(e=>(n.willChange||"").includes(e))||["paint","layout","strict","content"].some(e=>(n.contain||"").includes(e))}function f(e){let t=y(e);for(;l(t)&&!m(t);){if(p(t))return t;t=y(t)}return null}function h(){return"undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")}function m(e){return["html","body","#document"].includes(r(e))}function g(e){return i(e).getComputedStyle(e)}function v(e){return o(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function y(e){if("html"===r(e))return e;let t=e.assignedSlot||e.parentNode||u(e)&&e.host||s(e);return u(t)?t.host:t}n.d(t,{Dx:function(){return g},Jj:function(){return i},Kx:function(){return function e(t,n,r){var s;void 0===n&&(n=[]),void 0===r&&(r=!0);let a=function e(t){let n=y(t);return m(n)?t.ownerDocument?t.ownerDocument.body:t.body:l(n)&&c(n)?n:e(n)}(t),o=a===(null==(s=t.ownerDocument)?void 0:s.body),u=i(a);return o?n.concat(u,u.visualViewport||[],c(a)?a:[],u.frameElement&&r?e(u.frameElement):[]):n.concat(a,e(a,[],r))}},Lw:function(){return v},Ow:function(){return y},Pf:function(){return h},Py:function(){return m},Re:function(){return l},Ze:function(){return d},Zq:function(){return u},ao:function(){return c},gQ:function(){return f},hT:function(){return p},kK:function(){return o},tF:function(){return s},wk:function(){return r}})},1255:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var r=n(3997);function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(0,r.Z)(i.key),i)}}var s=[],a=s.forEach,o=s.slice,l=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,u=function(e,t,n){var r=n||{};r.path=r.path||"/";var i=encodeURIComponent(t),s="".concat(e,"=").concat(i);if(r.maxAge>0){var a=r.maxAge-0;if(Number.isNaN(a))throw Error("maxAge should be a Number");s+="; Max-Age=".concat(Math.floor(a))}if(r.domain){if(!l.test(r.domain))throw TypeError("option domain is invalid");s+="; Domain=".concat(r.domain)}if(r.path){if(!l.test(r.path))throw TypeError("option path is invalid");s+="; Path=".concat(r.path)}if(r.expires){if("function"!=typeof r.expires.toUTCString)throw TypeError("option expires is invalid");s+="; Expires=".concat(r.expires.toUTCString())}if(r.httpOnly&&(s+="; HttpOnly"),r.secure&&(s+="; Secure"),r.sameSite)switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:case"strict":s+="; SameSite=Strict";break;case"lax":s+="; SameSite=Lax";break;case"none":s+="; SameSite=None";break;default:throw TypeError("option sameSite is invalid")}return s},c={create:function(e,t,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};n&&(i.expires=new Date,i.expires.setTime(i.expires.getTime()+6e4*n)),r&&(i.domain=r),document.cookie=u(e,encodeURIComponent(t),i)},read:function(e){for(var t="".concat(e,"="),n=document.cookie.split(";"),r=0;r<n.length;r++){for(var i=n[r];" "===i.charAt(0);)i=i.substring(1,i.length);if(0===i.indexOf(t))return i.substring(t.length,i.length)}return null},remove:function(e){this.create(e,"",-1)}},d={name:"cookie",lookup:function(e){var t;if(e.lookupCookie&&"undefined"!=typeof document){var n=c.read(e.lookupCookie);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupCookie&&"undefined"!=typeof document&&c.create(t.lookupCookie,e,t.cookieMinutes,t.cookieDomain,t.cookieOptions)}},p={name:"querystring",lookup:function(e){var t;if("undefined"!=typeof window){var n=window.location.search;!window.location.search&&window.location.hash&&window.location.hash.indexOf("?")>-1&&(n=window.location.hash.substring(window.location.hash.indexOf("?")));for(var r=n.substring(1).split("&"),i=0;i<r.length;i++){var s=r[i].indexOf("=");s>0&&r[i].substring(0,s)===e.lookupQuerystring&&(t=r[i].substring(s+1))}}return t}},f=null,h=function(){if(null!==f)return f;try{f="undefined"!==window&&null!==window.localStorage;var e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){f=!1}return f},m={name:"localStorage",lookup:function(e){var t;if(e.lookupLocalStorage&&h()){var n=window.localStorage.getItem(e.lookupLocalStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupLocalStorage&&h()&&window.localStorage.setItem(t.lookupLocalStorage,e)}},g=null,v=function(){if(null!==g)return g;try{g="undefined"!==window&&null!==window.sessionStorage;var e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){g=!1}return g},y={name:"sessionStorage",lookup:function(e){var t;if(e.lookupSessionStorage&&v()){var n=window.sessionStorage.getItem(e.lookupSessionStorage);n&&(t=n)}return t},cacheUserLanguage:function(e,t){t.lookupSessionStorage&&v()&&window.sessionStorage.setItem(t.lookupSessionStorage,e)}},b={name:"navigator",lookup:function(e){var t=[];if("undefined"!=typeof navigator){if(navigator.languages)for(var n=0;n<navigator.languages.length;n++)t.push(navigator.languages[n]);navigator.userLanguage&&t.push(navigator.userLanguage),navigator.language&&t.push(navigator.language)}return t.length>0?t:void 0}},w={name:"htmlTag",lookup:function(e){var t,n=e.htmlTag||("undefined"!=typeof document?document.documentElement:null);return n&&"function"==typeof n.getAttribute&&(t=n.getAttribute("lang")),t}},S={name:"path",lookup:function(e){var t;if("undefined"!=typeof window){var n=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(n instanceof Array){if("number"==typeof e.lookupFromPathIndex){if("string"!=typeof n[e.lookupFromPathIndex])return;t=n[e.lookupFromPathIndex].replace("/","")}else t=n[0].replace("/","")}}return t}},E={name:"subdomain",lookup:function(e){var t="number"==typeof e.lookupFromSubdomainIndex?e.lookupFromSubdomainIndex+1:1,n="undefined"!=typeof window&&window.location&&window.location.hostname&&window.location.hostname.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(n)return n[t]}},x=function(){var e,t;function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,n),this.type="languageDetector",this.detectors={},this.init(e,t)}return e=[{key:"init",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e||{languageUtils:{}},this.options=function(e){return a.call(o.call(arguments,1),function(t){if(t)for(var n in t)void 0===e[n]&&(e[n]=t[n])}),e}(t,this.options||{},{order:["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"],lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:function(e){return e}}),"string"==typeof this.options.convertDetectedLanguage&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=function(e){return e.replace("-","_")}),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=n,this.addDetector(d),this.addDetector(p),this.addDetector(m),this.addDetector(y),this.addDetector(b),this.addDetector(w),this.addDetector(S),this.addDetector(E)}},{key:"addDetector",value:function(e){this.detectors[e.name]=e}},{key:"detect",value:function(e){var t=this;e||(e=this.options.order);var n=[];return(e.forEach(function(e){if(t.detectors[e]){var r=t.detectors[e].lookup(t.options);r&&"string"==typeof r&&(r=[r]),r&&(n=n.concat(r))}}),n=n.map(function(e){return t.options.convertDetectedLanguage(e)}),this.services.languageUtils.getBestMatchFromCodes)?n:n.length>0?n[0]:null}},{key:"cacheUserLanguage",value:function(e,t){var n=this;t||(t=this.options.caches),t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach(function(t){n.detectors[t]&&n.detectors[t].cacheUserLanguage(e,n.options)}))}}],i(n.prototype,e),t&&i(n,t),Object.defineProperty(n,"prototype",{writable:!1}),n}();x.type="languageDetector";var C=["supportedLngs","fallbackLng","order"];function O(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}var P=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},T=function(e){if("string"==typeof e&&e.indexOf("-")>-1){var t=["hans","hant","latn","cyrl","cans","mong","arab"],n=e.split("-");return 2===n.length?(n[0]=n[0].toLowerCase(),n[1]=n[1].toUpperCase(),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=P(n[1].toLowerCase()))):3===n.length&&(n[0]=n[0].toLowerCase(),2===n[1].length&&(n[1]=n[1].toUpperCase()),"sgn"!==n[0]&&2===n[2].length&&(n[2]=n[2].toUpperCase()),t.indexOf(n[1].toLowerCase())>-1&&(n[1]=P(n[1].toLowerCase())),t.indexOf(n[2].toLowerCase())>-1&&(n[2]=P(n[2].toLowerCase()))),n.join("-")}return e},_=function(e){var t=e.supportedLngs,n=e.fallbackLng;return function(e){if(!e)return null;var r,i=function(e){return!t||!t.length||t.indexOf(e)>-1};return e.forEach(function(e){if(!r){var n=T(e);(!t||i(n))&&(r=n)}}),!r&&t&&e.forEach(function(e){if(!r){var n=!e||0>e.indexOf("-")?e:T(e.split("-")[0]);if(i(n)){r=n;return}r=t.find(function(e){if(0===e.indexOf(n))return e})}}),r||(r=n),r}};function M(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.supportedLngs,n=e.fallbackLng,r=e.order,i=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)n=s[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,C),s=_({supportedLngs:t,fallbackLng:n}),a=new x({languageUtils:{getBestMatchFromCodes:s}},function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?O(Object(n),!0).forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({order:void 0===r?["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"]:r},i));return{detect:function(e){return s(a.detect(e))},cache:function(e,t){return a.cacheUserLanguage(e,t)}}}},9304:function(e,t,n){"use strict";n.d(t,{pt:function(){return o},tl:function(){return a}});var r=n(3433),i=n(7185);function s(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function a(e){let t,{swiper:n,extendParams:r,on:a,emit:o}=e,l="swiper-pagination";r({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${l}-bullet`,bulletActiveClass:`${l}-bullet-active`,modifierClass:`${l}-`,currentClass:`${l}-current`,totalClass:`${l}-total`,hiddenClass:`${l}-hidden`,progressbarFillClass:`${l}-progressbar-fill`,progressbarOppositeClass:`${l}-progressbar-opposite`,clickableClass:`${l}-clickable`,lockClass:`${l}-lock`,horizontalClass:`${l}-horizontal`,verticalClass:`${l}-vertical`,paginationDisabledClass:`${l}-disabled`}}),n.pagination={el:null,bullets:[]};let u=0,c=e=>(Array.isArray(e)?e:[e]).filter(e=>!!e);function d(){return!n.params.pagination.el||!n.pagination.el||Array.isArray(n.pagination.el)&&0===n.pagination.el.length}function p(e,t){let{bulletActiveClass:r}=n.params.pagination;e&&(e=e[`${"prev"===t?"previous":"next"}ElementSibling`])&&(e.classList.add(`${r}-${t}`),(e=e[`${"prev"===t?"previous":"next"}ElementSibling`])&&e.classList.add(`${r}-${t}-${t}`))}function f(e){let t=e.target.closest(s(n.params.pagination.bulletClass));if(!t)return;e.preventDefault();let r=(0,i.g)(t)*n.params.slidesPerGroup;if(n.params.loop){if(n.realIndex===r)return;n.slideToLoop(r)}else n.slideTo(r)}function h(){let e,r;let a=n.rtl,l=n.params.pagination;if(d())return;let f=n.pagination.el;f=c(f);let h=n.virtual&&n.params.virtual.enabled?n.virtual.slides.length:n.slides.length,m=n.params.loop?Math.ceil(h/n.params.slidesPerGroup):n.snapGrid.length;if(n.params.loop?(r=n.previousRealIndex||0,e=n.params.slidesPerGroup>1?Math.floor(n.realIndex/n.params.slidesPerGroup):n.realIndex):void 0!==n.snapIndex?(e=n.snapIndex,r=n.previousSnapIndex):(r=n.previousIndex||0,e=n.activeIndex||0),"bullets"===l.type&&n.pagination.bullets&&n.pagination.bullets.length>0){let s,o,c;let d=n.pagination.bullets;if(l.dynamicBullets&&(t=(0,i.f)(d[0],n.isHorizontal()?"width":"height",!0),f.forEach(e=>{e.style[n.isHorizontal()?"width":"height"]=`${t*(l.dynamicMainBullets+4)}px`}),l.dynamicMainBullets>1&&void 0!==r&&((u+=e-(r||0))>l.dynamicMainBullets-1?u=l.dynamicMainBullets-1:u<0&&(u=0)),c=((o=(s=Math.max(e-u,0))+(Math.min(d.length,l.dynamicMainBullets)-1))+s)/2),d.forEach(e=>{let t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${l.bulletActiveClass}${e}`)].map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...t)}),f.length>1)d.forEach(t=>{let r=(0,i.g)(t);r===e?t.classList.add(...l.bulletActiveClass.split(" ")):n.isElement&&t.setAttribute("part","bullet"),l.dynamicBullets&&(r>=s&&r<=o&&t.classList.add(...`${l.bulletActiveClass}-main`.split(" ")),r===s&&p(t,"prev"),r===o&&p(t,"next"))});else{let t=d[e];if(t&&t.classList.add(...l.bulletActiveClass.split(" ")),n.isElement&&d.forEach((t,n)=>{t.setAttribute("part",n===e?"bullet-active":"bullet")}),l.dynamicBullets){let e=d[s],t=d[o];for(let e=s;e<=o;e+=1)d[e]&&d[e].classList.add(...`${l.bulletActiveClass}-main`.split(" "));p(e,"prev"),p(t,"next")}}if(l.dynamicBullets){let e=Math.min(d.length,l.dynamicMainBullets+4),r=(t*e-t)/2-c*t,i=a?"right":"left";d.forEach(e=>{e.style[n.isHorizontal()?i:"top"]=`${r}px`})}}f.forEach((t,r)=>{if("fraction"===l.type&&(t.querySelectorAll(s(l.currentClass)).forEach(t=>{t.textContent=l.formatFractionCurrent(e+1)}),t.querySelectorAll(s(l.totalClass)).forEach(e=>{e.textContent=l.formatFractionTotal(m)})),"progressbar"===l.type){let r;r=l.progressbarOpposite?n.isHorizontal()?"vertical":"horizontal":n.isHorizontal()?"horizontal":"vertical";let i=(e+1)/m,a=1,o=1;"horizontal"===r?a=i:o=i,t.querySelectorAll(s(l.progressbarFillClass)).forEach(e=>{e.style.transform=`translate3d(0,0,0) scaleX(${a}) scaleY(${o})`,e.style.transitionDuration=`${n.params.speed}ms`})}"custom"===l.type&&l.renderCustom?(t.innerHTML=l.renderCustom(n,e+1,m),0===r&&o("paginationRender",t)):(0===r&&o("paginationRender",t),o("paginationUpdate",t)),n.params.watchOverflow&&n.enabled&&t.classList[n.isLocked?"add":"remove"](l.lockClass)})}function m(){let e=n.params.pagination;if(d())return;let t=n.virtual&&n.params.virtual.enabled?n.virtual.slides.length:n.grid&&n.params.grid.rows>1?n.slides.length/Math.ceil(n.params.grid.rows):n.slides.length,r=n.pagination.el;r=c(r);let i="";if("bullets"===e.type){let r=n.params.loop?Math.ceil(t/n.params.slidesPerGroup):n.snapGrid.length;n.params.freeMode&&n.params.freeMode.enabled&&r>t&&(r=t);for(let t=0;t<r;t+=1)e.renderBullet?i+=e.renderBullet.call(n,t,e.bulletClass):i+=`<${e.bulletElement} ${n.isElement?'part="bullet"':""} class="${e.bulletClass}"></${e.bulletElement}>`}"fraction"===e.type&&(i=e.renderFraction?e.renderFraction.call(n,e.currentClass,e.totalClass):`<span class="${e.currentClass}"></span> / <span class="${e.totalClass}"></span>`),"progressbar"===e.type&&(i=e.renderProgressbar?e.renderProgressbar.call(n,e.progressbarFillClass):`<span class="${e.progressbarFillClass}"></span>`),n.pagination.bullets=[],r.forEach(t=>{"custom"!==e.type&&(t.innerHTML=i||""),"bullets"===e.type&&n.pagination.bullets.push(...t.querySelectorAll(s(e.bulletClass)))}),"custom"!==e.type&&o("paginationRender",r[0])}function g(){var e,t,r;let s;n.params.pagination=(e=n.originalParams.pagination,t=n.params.pagination,r={el:"swiper-pagination"},n.params.createElements&&Object.keys(r).forEach(s=>{if(!t[s]&&!0===t.auto){let a=(0,i.e)(n.el,`.${r[s]}`)[0];a||((a=(0,i.c)("div",r[s])).className=r[s],n.el.append(a)),t[s]=a,e[s]=a}}),t);let a=n.params.pagination;a.el&&("string"==typeof a.el&&n.isElement&&(s=n.el.querySelector(a.el)),s||"string"!=typeof a.el||(s=[...document.querySelectorAll(a.el)]),s||(s=a.el),s&&0!==s.length&&(n.params.uniqueNavElements&&"string"==typeof a.el&&Array.isArray(s)&&s.length>1&&(s=[...n.el.querySelectorAll(a.el)]).length>1&&(s=s.filter(e=>(0,i.a)(e,".swiper")[0]===n.el)[0]),Array.isArray(s)&&1===s.length&&(s=s[0]),Object.assign(n.pagination,{el:s}),(s=c(s)).forEach(e=>{"bullets"===a.type&&a.clickable&&e.classList.add(...(a.clickableClass||"").split(" ")),e.classList.add(a.modifierClass+a.type),e.classList.add(n.isHorizontal()?a.horizontalClass:a.verticalClass),"bullets"===a.type&&a.dynamicBullets&&(e.classList.add(`${a.modifierClass}${a.type}-dynamic`),u=0,a.dynamicMainBullets<1&&(a.dynamicMainBullets=1)),"progressbar"===a.type&&a.progressbarOpposite&&e.classList.add(a.progressbarOppositeClass),a.clickable&&e.addEventListener("click",f),n.enabled||e.classList.add(a.lockClass)})))}function v(){let e=n.params.pagination;if(d())return;let t=n.pagination.el;t&&(t=c(t)).forEach(t=>{t.classList.remove(e.hiddenClass),t.classList.remove(e.modifierClass+e.type),t.classList.remove(n.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(t.classList.remove(...(e.clickableClass||"").split(" ")),t.removeEventListener("click",f))}),n.pagination.bullets&&n.pagination.bullets.forEach(t=>t.classList.remove(...e.bulletActiveClass.split(" ")))}a("changeDirection",()=>{if(!n.pagination||!n.pagination.el)return;let e=n.params.pagination,{el:t}=n.pagination;(t=c(t)).forEach(t=>{t.classList.remove(e.horizontalClass,e.verticalClass),t.classList.add(n.isHorizontal()?e.horizontalClass:e.verticalClass)})}),a("init",()=>{!1===n.params.pagination.enabled?y():(g(),m(),h())}),a("activeIndexChange",()=>{void 0===n.snapIndex&&h()}),a("snapIndexChange",()=>{h()}),a("snapGridLengthChange",()=>{m(),h()}),a("destroy",()=>{v()}),a("enable disable",()=>{let{el:e}=n.pagination;e&&(e=c(e)).forEach(e=>e.classList[n.enabled?"remove":"add"](n.params.pagination.lockClass))}),a("lock unlock",()=>{h()}),a("click",(e,t)=>{let r=t.target,i=c(n.pagination.el);if(n.params.pagination.el&&n.params.pagination.hideOnClick&&i&&i.length>0&&!r.classList.contains(n.params.pagination.bulletClass)){if(n.navigation&&(n.navigation.nextEl&&r===n.navigation.nextEl||n.navigation.prevEl&&r===n.navigation.prevEl))return;!0===i[0].classList.contains(n.params.pagination.hiddenClass)?o("paginationShow"):o("paginationHide"),i.forEach(e=>e.classList.toggle(n.params.pagination.hiddenClass))}});let y=()=>{n.el.classList.add(n.params.pagination.paginationDisabledClass);let{el:e}=n.pagination;e&&(e=c(e)).forEach(e=>e.classList.add(n.params.pagination.paginationDisabledClass)),v()};Object.assign(n.pagination,{enable:()=>{n.el.classList.remove(n.params.pagination.paginationDisabledClass);let{el:e}=n.pagination;e&&(e=c(e)).forEach(e=>e.classList.remove(n.params.pagination.paginationDisabledClass)),g(),m(),h()},disable:y,render:m,update:h,init:g,destroy:v})}function o(e){let t,n,i,s,a,o,l,u,c,d,{swiper:p,extendParams:f,on:h,emit:m,params:g}=e;p.autoplay={running:!1,paused:!1,timeLeft:0},f({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let v=g&&g.autoplay?g.autoplay.delay:3e3,y=g&&g.autoplay?g.autoplay.delay:3e3,b=new Date().getTime();function w(e){p&&!p.destroyed&&p.wrapperEl&&e.target===p.wrapperEl&&(p.wrapperEl.removeEventListener("transitionend",w),!d&&T())}let S=()=>{if(p.destroyed||!p.autoplay.running)return;p.autoplay.paused?s=!0:s&&(y=i,s=!1);let e=p.autoplay.paused?i:b+y-new Date().getTime();p.autoplay.timeLeft=e,m("autoplayTimeLeft",e,e/v),n=requestAnimationFrame(()=>{S()})},E=()=>{let e;if(e=p.virtual&&p.params.virtual.enabled?p.slides.filter(e=>e.classList.contains("swiper-slide-active"))[0]:p.slides[p.activeIndex])return parseInt(e.getAttribute("data-swiper-autoplay"),10)},x=e=>{if(p.destroyed||!p.autoplay.running)return;cancelAnimationFrame(n),S();let r=void 0===e?p.params.autoplay.delay:e;v=p.params.autoplay.delay,y=p.params.autoplay.delay;let s=E();!Number.isNaN(s)&&s>0&&void 0===e&&(r=s,v=s,y=s),i=r;let a=p.params.speed,o=()=>{p&&!p.destroyed&&(p.params.autoplay.reverseDirection?!p.isBeginning||p.params.loop||p.params.rewind?(p.slidePrev(a,!0,!0),m("autoplay")):p.params.autoplay.stopOnLastSlide||(p.slideTo(p.slides.length-1,a,!0,!0),m("autoplay")):!p.isEnd||p.params.loop||p.params.rewind?(p.slideNext(a,!0,!0),m("autoplay")):p.params.autoplay.stopOnLastSlide||(p.slideTo(0,a,!0,!0),m("autoplay")),p.params.cssMode&&(b=new Date().getTime(),requestAnimationFrame(()=>{x()})))};return r>0?(clearTimeout(t),t=setTimeout(()=>{o()},r)):requestAnimationFrame(()=>{o()}),r},C=()=>{b=new Date().getTime(),p.autoplay.running=!0,x(),m("autoplayStart")},O=()=>{p.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(n),m("autoplayStop")},P=(e,n)=>{if(p.destroyed||!p.autoplay.running)return;clearTimeout(t),e||(c=!0);let r=()=>{m("autoplayPause"),p.params.autoplay.waitForTransition?p.wrapperEl.addEventListener("transitionend",w):T()};if(p.autoplay.paused=!0,n){u&&(i=p.params.autoplay.delay),u=!1,r();return}i=(i||p.params.autoplay.delay)-(new Date().getTime()-b),p.isEnd&&i<0&&!p.params.loop||(i<0&&(i=0),r())},T=()=>{p.isEnd&&i<0&&!p.params.loop||p.destroyed||!p.autoplay.running||(b=new Date().getTime(),c?(c=!1,x(i)):x(),p.autoplay.paused=!1,m("autoplayResume"))},_=()=>{if(p.destroyed||!p.autoplay.running)return;let e=(0,r.g)();"hidden"===e.visibilityState&&(c=!0,P(!0)),"visible"===e.visibilityState&&T()},M=e=>{"mouse"===e.pointerType&&(c=!0,d=!0,p.animating||p.autoplay.paused||P(!0))},k=e=>{"mouse"===e.pointerType&&(d=!1,p.autoplay.paused&&T())},I=()=>{p.params.autoplay.pauseOnMouseEnter&&(p.el.addEventListener("pointerenter",M),p.el.addEventListener("pointerleave",k))},L=()=>{p.el.removeEventListener("pointerenter",M),p.el.removeEventListener("pointerleave",k)},A=()=>{(0,r.g)().addEventListener("visibilitychange",_)},j=()=>{(0,r.g)().removeEventListener("visibilitychange",_)};h("init",()=>{p.params.autoplay.enabled&&(I(),A(),C())}),h("destroy",()=>{L(),j(),p.autoplay.running&&O()}),h("_freeModeStaticRelease",()=>{(o||c)&&T()}),h("_freeModeNoMomentumRelease",()=>{p.params.autoplay.disableOnInteraction?O():P(!0,!0)}),h("beforeTransitionStart",(e,t,n)=>{!p.destroyed&&p.autoplay.running&&(n||!p.params.autoplay.disableOnInteraction?P(!0,!0):O())}),h("sliderFirstMove",()=>{if(!p.destroyed&&p.autoplay.running){if(p.params.autoplay.disableOnInteraction){O();return}a=!0,o=!1,c=!1,l=setTimeout(()=>{c=!0,o=!0,P(!0)},200)}}),h("touchEnd",()=>{if(!p.destroyed&&p.autoplay.running&&a){if(clearTimeout(l),clearTimeout(t),p.params.autoplay.disableOnInteraction){o=!1,a=!1;return}o&&p.params.cssMode&&T(),o=!1,a=!1}}),h("slideChange",()=>{!p.destroyed&&p.autoplay.running&&(u=!0)}),Object.assign(p.autoplay,{start:C,stop:O,pause:P,resume:T})}},3433:function(e,t,n){"use strict";function r(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function i(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach(n=>{void 0===e[n]?e[n]=t[n]:r(t[n])&&r(e[n])&&Object.keys(t[n]).length>0&&i(e[n],t[n])})}n.d(t,{a:function(){return l},g:function(){return a}});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 a(){let e="undefined"!=typeof document?document:{};return i(e,s),e}let o={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 i(e,o),e}},7185:function(e,t,n){"use strict";n.d(t,{a:function(){return y},c:function(){return f},d:function(){return a},e:function(){return d},f:function(){return b},g:function(){return v},i:function(){return o},m:function(){return g},n:function(){return s},o:function(){return m},p:function(){return h},q:function(){return c},r:function(){return p},s:function(){return u},t:function(){return function e(){let t=Object(arguments.length<=0?void 0:arguments[0]),n=["__proto__","constructor","prototype"];for(let r=1;r<arguments.length;r+=1){let i=r<0||arguments.length<=r?void 0:arguments[r];if(null!=i&&("undefined"!=typeof window&&void 0!==window.HTMLElement?!(i instanceof HTMLElement):!i||1!==i.nodeType&&11!==i.nodeType)){let r=Object.keys(Object(i)).filter(e=>0>n.indexOf(e));for(let n=0,s=r.length;n<s;n+=1){let s=r[n],a=Object.getOwnPropertyDescriptor(i,s);void 0!==a&&a.enumerable&&(l(t[s])&&l(i[s])?i[s].__swiper__?t[s]=i[s]:e(t[s],i[s]):!l(t[s])&&l(i[s])?(t[s]={},i[s].__swiper__?t[s]=i[s]:e(t[s],i[s])):t[s]=i[s])}}}return t}},u:function(){return i}});var r=n(3433);function i(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 a(){return Date.now()}function o(e,t){let n,i,s;void 0===t&&(t="x");let a=(0,r.a)(),o=function(e){let t;let n=(0,r.a)();return n.getComputedStyle&&(t=n.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}(e);return a.WebKitCSSMatrix?((i=o.transform||o.webkitTransform).split(",").length>6&&(i=i.split(", ").map(e=>e.replace(",",".")).join(", ")),s=new a.WebKitCSSMatrix("none"===i?"":i)):n=(s=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(i=a.WebKitCSSMatrix?s.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(i=a.WebKitCSSMatrix?s.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),i||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,n){e.style.setProperty(t,n)}function c(e){let t,{swiper:n,targetPosition:i,side:s}=e,a=(0,r.a)(),o=-n.translate,l=null,u=n.params.speed;n.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(n.cssModeFrameID);let c=i>o?"next":"prev",d=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,p=()=>{t=new Date().getTime(),null===l&&(l=t);let e=o+(.5-Math.cos(Math.max(Math.min((t-l)/u,1),0)*Math.PI)/2)*(i-o);if(d(e,i)&&(e=i),n.wrapperEl.scrollTo({[s]:e}),d(e,i)){n.wrapperEl.style.overflow="hidden",n.wrapperEl.style.scrollSnapType="",setTimeout(()=>{n.wrapperEl.style.overflow="",n.wrapperEl.scrollTo({[s]:e})}),a.cancelAnimationFrame(n.cssModeFrameID);return}n.cssModeFrameID=a.requestAnimationFrame(p)};p()}function d(e,t){return void 0===t&&(t=""),[...e.children].filter(e=>e.matches(t))}function p(e){try{console.warn(e);return}catch(e){}}function f(e,t){var n;void 0===t&&(t=[]);let r=document.createElement(e);return r.classList.add(...Array.isArray(t)?t:(void 0===(n=t)&&(n=""),n.trim().split(" ").filter(e=>!!e.trim()))),r}function h(e,t){let n=[];for(;e.previousElementSibling;){let r=e.previousElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function m(e,t){let n=[];for(;e.nextElementSibling;){let r=e.nextElementSibling;t?r.matches(t)&&n.push(r):n.push(r),e=r}return n}function g(e,t){return(0,r.a)().getComputedStyle(e,null).getPropertyValue(t)}function v(e){let t,n=e;if(n){for(t=0;null!==(n=n.previousSibling);)1===n.nodeType&&(t+=1);return t}}function y(e,t){let n=[],r=e.parentElement;for(;r;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentElement;return n}function b(e,t,n){let i=(0,r.a)();return n?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}},6866:function(e,t,n){"use strict";let r,i,s;n.d(t,{tq:function(){return B},o5:function(){return $}});var a=n(7294),o=n(3433),l=n(7185);function u(){return r||(r=function(){let e=(0,o.a)(),t=(0,o.g)();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),r}let c=(e,t)=>{if(!e||e.destroyed||!e.params)return;let n=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(n){let t=n.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(n.shadowRoot?t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`))&&t.remove()})),t&&t.remove()}},d=(e,t)=>{if(!e.slides[t])return;let n=e.slides[t].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},p=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext,n=e.slides.length;if(!n||!t||t<0)return;t=Math.min(t,n);let r="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){let n=[i-t];n.push(...Array.from({length:t}).map((e,t)=>i+r+t)),e.slides.forEach((t,r)=>{n.includes(t.column)&&d(e,r)});return}let s=i+r-1;if(e.params.rewind||e.params.loop)for(let r=i-t;r<=s+t;r+=1){let t=(r%n+n)%n;(t<i||t>s)&&d(e,t)}else for(let r=Math.max(i-t,0);r<=Math.min(s+t,n-1);r+=1)r!==i&&(r>s||r<i)&&d(e,r)};function f(e){let{swiper:t,runCallbacks:n,direction:r,step:i}=e,{activeIndex:s,previousIndex:a}=t,o=r;if(o||(o=s>a?"next":s<a?"prev":"reset"),t.emit(`transition${i}`),n&&s!==a){if("reset"===o){t.emit(`slideResetTransition${i}`);return}t.emit(`slideChangeTransition${i}`),"next"===o?t.emit(`slideNextTransition${i}`):t.emit(`slidePrevTransition${i}`)}}function h(e,t,n){let r=(0,o.a)(),{params:i}=e,s=i.edgeSwipeDetection,a=i.edgeSwipeThreshold;return!s||!(n<=a)&&!(n>=r.innerWidth-a)||"prevent"===s&&(t.preventDefault(),!0)}function m(e){let t=(0,o.g)(),n=e;n.originalEvent&&(n=n.originalEvent);let r=this.touchEventsData;if("pointerdown"===n.type){if(null!==r.pointerId&&r.pointerId!==n.pointerId)return;r.pointerId=n.pointerId}else"touchstart"===n.type&&1===n.targetTouches.length&&(r.touchId=n.targetTouches[0].identifier);if("touchstart"===n.type){h(this,n,n.targetTouches[0].pageX);return}let{params:i,touches:s,enabled:a}=this;if(!a||!i.simulateTouch&&"mouse"===n.pointerType||this.animating&&i.preventInteractionOnTransition)return;!this.animating&&i.cssMode&&i.loop&&this.loopFix();let u=n.target;if("wrapper"===i.touchEventsTarget&&!this.wrapperEl.contains(u)||"which"in n&&3===n.which||"button"in n&&n.button>0||r.isTouched&&r.isMoved)return;let c=!!i.noSwipingClass&&""!==i.noSwipingClass,d=n.composedPath?n.composedPath():n.path;c&&n.target&&n.target.shadowRoot&&d&&(u=d[0]);let p=i.noSwipingSelector?i.noSwipingSelector:`.${i.noSwipingClass}`,f=!!(n.target&&n.target.shadowRoot);if(i.noSwiping&&(f?function(e,t){return void 0===t&&(t=this),function t(n){if(!n||n===(0,o.g)()||n===(0,o.a)())return null;n.assignedSlot&&(n=n.assignedSlot);let r=n.closest(e);return r||n.getRootNode?r||t(n.getRootNode().host):null}(t)}(p,u):u.closest(p))){this.allowClick=!0;return}if(i.swipeHandler&&!u.closest(i.swipeHandler))return;s.currentX=n.pageX,s.currentY=n.pageY;let m=s.currentX,g=s.currentY;if(!h(this,n,m))return;Object.assign(r,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=m,s.startY=g,r.touchStartTime=(0,l.d)(),this.allowClick=!0,this.updateSize(),this.swipeDirection=void 0,i.threshold>0&&(r.allowThresholdMove=!1);let v=!0;u.matches(r.focusableElements)&&(v=!1,"SELECT"===u.nodeName&&(r.isTouched=!1)),t.activeElement&&t.activeElement.matches(r.focusableElements)&&t.activeElement!==u&&t.activeElement.blur();let y=v&&this.allowTouchMove&&i.touchStartPreventDefault;(i.touchStartForcePreventDefault||y)&&!u.isContentEditable&&n.preventDefault(),i.freeMode&&i.freeMode.enabled&&this.freeMode&&this.animating&&!i.cssMode&&this.freeMode.onTouchStart(),this.emit("touchStart",n)}function g(e){let t,n;let r=(0,o.g)(),i=this.touchEventsData,{params:s,touches:a,rtlTranslate:u,enabled:c}=this;if(!c||!s.simulateTouch&&"mouse"===e.pointerType)return;let d=e;if(d.originalEvent&&(d=d.originalEvent),"pointermove"===d.type&&(null!==i.touchId||d.pointerId!==i.pointerId))return;if("touchmove"===d.type){if(!(t=[...d.changedTouches].filter(e=>e.identifier===i.touchId)[0])||t.identifier!==i.touchId)return}else t=d;if(!i.isTouched){i.startMoving&&i.isScrolling&&this.emit("touchMoveOpposite",d);return}let p=t.pageX,f=t.pageY;if(d.preventedByNestedSwiper){a.startX=p,a.startY=f;return}if(!this.allowTouchMove){d.target.matches(i.focusableElements)||(this.allowClick=!1),i.isTouched&&(Object.assign(a,{startX:p,startY:f,currentX:p,currentY:f}),i.touchStartTime=(0,l.d)());return}if(s.touchReleaseOnEdges&&!s.loop){if(this.isVertical()){if(f<a.startY&&this.translate<=this.maxTranslate()||f>a.startY&&this.translate>=this.minTranslate()){i.isTouched=!1,i.isMoved=!1;return}}else if(p<a.startX&&this.translate<=this.maxTranslate()||p>a.startX&&this.translate>=this.minTranslate())return}if(r.activeElement&&d.target===r.activeElement&&d.target.matches(i.focusableElements)){i.isMoved=!0,this.allowClick=!1;return}i.allowTouchCallbacks&&this.emit("touchMove",d),a.previousX=a.currentX,a.previousY=a.currentY,a.currentX=p,a.currentY=f;let h=a.currentX-a.startX,m=a.currentY-a.startY;if(this.params.threshold&&Math.sqrt(h**2+m**2)<this.params.threshold)return;if(void 0===i.isScrolling){let e;this.isHorizontal()&&a.currentY===a.startY||this.isVertical()&&a.currentX===a.startX?i.isScrolling=!1:h*h+m*m>=25&&(e=180*Math.atan2(Math.abs(m),Math.abs(h))/Math.PI,i.isScrolling=this.isHorizontal()?e>s.touchAngle:90-e>s.touchAngle)}if(i.isScrolling&&this.emit("touchMoveOpposite",d),void 0===i.startMoving&&(a.currentX!==a.startX||a.currentY!==a.startY)&&(i.startMoving=!0),i.isScrolling){i.isTouched=!1;return}if(!i.startMoving)return;this.allowClick=!1,!s.cssMode&&d.cancelable&&d.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&d.stopPropagation();let g=this.isHorizontal()?h:m,v=this.isHorizontal()?a.currentX-a.previousX:a.currentY-a.previousY;s.oneWayMovement&&(g=Math.abs(g)*(u?1:-1),v=Math.abs(v)*(u?1:-1)),a.diff=g,g*=s.touchRatio,u&&(g=-g,v=-v);let y=this.touchesDirection;this.swipeDirection=g>0?"prev":"next",this.touchesDirection=v>0?"prev":"next";let b=this.params.loop&&!s.cssMode,w="next"===this.touchesDirection&&this.allowSlideNext||"prev"===this.touchesDirection&&this.allowSlidePrev;if(!i.isMoved){if(b&&w&&this.loopFix({direction:this.swipeDirection}),i.startTranslate=this.getTranslate(),this.setTransition(0),this.animating){let e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});this.wrapperEl.dispatchEvent(e)}i.allowMomentumBounce=!1,s.grabCursor&&(!0===this.allowSlideNext||!0===this.allowSlidePrev)&&this.setGrabCursor(!0),this.emit("sliderFirstMove",d)}if(new Date().getTime(),i.isMoved&&i.allowThresholdMove&&y!==this.touchesDirection&&b&&w&&Math.abs(g)>=1){Object.assign(a,{startX:p,startY:f,currentX:p,currentY:f,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,i.startTranslate=i.currentTranslate;return}this.emit("sliderMove",d),i.isMoved=!0,i.currentTranslate=g+i.startTranslate;let S=!0,E=s.resistanceRatio;if(s.touchReleaseOnEdges&&(E=0),g>0?(b&&w&&!n&&i.allowThresholdMove&&i.currentTranslate>(s.centeredSlides?this.minTranslate()-this.slidesSizesGrid[this.activeIndex+1]:this.minTranslate())&&this.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>this.minTranslate()&&(S=!1,s.resistance&&(i.currentTranslate=this.minTranslate()-1+(-this.minTranslate()+i.startTranslate+g)**E))):g<0&&(b&&w&&!n&&i.allowThresholdMove&&i.currentTranslate<(s.centeredSlides?this.maxTranslate()+this.slidesSizesGrid[this.slidesSizesGrid.length-1]:this.maxTranslate())&&this.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:this.slides.length-("auto"===s.slidesPerView?this.slidesPerViewDynamic():Math.ceil(parseFloat(s.slidesPerView,10)))}),i.currentTranslate<this.maxTranslate()&&(S=!1,s.resistance&&(i.currentTranslate=this.maxTranslate()+1-(this.maxTranslate()-i.startTranslate-g)**E))),S&&(d.preventedByNestedSwiper=!0),!this.allowSlideNext&&"next"===this.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!this.allowSlidePrev&&"prev"===this.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),this.allowSlidePrev||this.allowSlideNext||(i.currentTranslate=i.startTranslate),s.threshold>0){if(Math.abs(g)>s.threshold||i.allowThresholdMove){if(!i.allowThresholdMove){i.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,i.currentTranslate=i.startTranslate,a.diff=this.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY;return}}else{i.currentTranslate=i.startTranslate;return}}s.followFinger&&!s.cssMode&&((s.freeMode&&s.freeMode.enabled&&this.freeMode||s.watchSlidesProgress)&&(this.updateActiveIndex(),this.updateSlidesClasses()),s.freeMode&&s.freeMode.enabled&&this.freeMode&&this.freeMode.onTouchMove(),this.updateProgress(i.currentTranslate),this.setTranslate(i.currentTranslate))}function v(e){let t,n;let r=this,i=r.touchEventsData,s=e;if(s.originalEvent&&(s=s.originalEvent),"touchend"===s.type||"touchcancel"===s.type){if(!(t=[...s.changedTouches].filter(e=>e.identifier===i.touchId)[0])||t.identifier!==i.touchId)return}else{if(null!==i.touchId||s.pointerId!==i.pointerId)return;t=s}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(s.type)&&!(["pointercancel","contextmenu"].includes(s.type)&&(r.browser.isSafari||r.browser.isWebView)))return;i.pointerId=null,i.touchId=null;let{params:a,touches:o,rtlTranslate:u,slidesGrid:c,enabled:d}=r;if(!d||!a.simulateTouch&&"mouse"===s.pointerType)return;if(i.allowTouchCallbacks&&r.emit("touchEnd",s),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&a.grabCursor&&r.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}a.grabCursor&&i.isMoved&&i.isTouched&&(!0===r.allowSlideNext||!0===r.allowSlidePrev)&&r.setGrabCursor(!1);let p=(0,l.d)(),f=p-i.touchStartTime;if(r.allowClick){let e=s.path||s.composedPath&&s.composedPath();r.updateClickedSlide(e&&e[0]||s.target,e),r.emit("tap click",s),f<300&&p-i.lastClickTime<300&&r.emit("doubleTap doubleClick",s)}if(i.lastClickTime=(0,l.d)(),(0,l.n)(()=>{r.destroyed||(r.allowClick=!0)}),!i.isTouched||!i.isMoved||!r.swipeDirection||0===o.diff&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}if(i.isTouched=!1,i.isMoved=!1,i.startMoving=!1,n=a.followFinger?u?r.translate:-r.translate:-i.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled){r.freeMode.onTouchEnd({currentPos:n});return}let h=n>=-r.maxTranslate()&&!r.params.loop,m=0,g=r.slidesSizesGrid[0];for(let e=0;e<c.length;e+=e<a.slidesPerGroupSkip?1:a.slidesPerGroup){let t=e<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;void 0!==c[e+t]?(h||n>=c[e]&&n<c[e+t])&&(m=e,g=c[e+t]-c[e]):(h||n>=c[e])&&(m=e,g=c[c.length-1]-c[c.length-2])}let v=null,y=null;a.rewind&&(r.isBeginning?y=a.virtual&&a.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1:r.isEnd&&(v=0));let b=(n-c[m])/g,w=m<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(f>a.longSwipesMs){if(!a.longSwipes){r.slideTo(r.activeIndex);return}"next"===r.swipeDirection&&(b>=a.longSwipesRatio?r.slideTo(a.rewind&&r.isEnd?v:m+w):r.slideTo(m)),"prev"===r.swipeDirection&&(b>1-a.longSwipesRatio?r.slideTo(m+w):null!==y&&b<0&&Math.abs(b)>a.longSwipesRatio?r.slideTo(y):r.slideTo(m))}else{if(!a.shortSwipes){r.slideTo(r.activeIndex);return}r.navigation&&(s.target===r.navigation.nextEl||s.target===r.navigation.prevEl)?s.target===r.navigation.nextEl?r.slideTo(m+w):r.slideTo(m):("next"===r.swipeDirection&&r.slideTo(null!==v?v:m+w),"prev"===r.swipeDirection&&r.slideTo(null!==y?y:m))}}function y(){let e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();let{allowSlideNext:r,allowSlidePrev:i,snapGrid:s}=e,a=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();let o=a&&t.loop;"auto"!==t.slidesPerView&&!(t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||o?e.params.loop&&!a?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=i,e.allowSlideNext=r,e.params.watchOverflow&&s!==e.snapGrid&&e.checkOverflow()}function b(e){this.enabled&&!this.allowClick&&(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function w(){let{wrapperEl:e,rtlTranslate:t,enabled:n}=this;if(!n)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 r=this.maxTranslate()-this.minTranslate();(0===r?0:(this.translate-this.minTranslate())/r)!==this.progress&&this.updateProgress(t?-this.translate:this.translate),this.emit("setTranslate",this.translate,!1)}function S(e){c(this,e.target),!this.params.cssMode&&("auto"===this.params.slidesPerView||this.params.autoHeight)&&this.update()}function E(){!this.documentTouchHandlerProceeded&&(this.documentTouchHandlerProceeded=!0,this.params.touchReleaseOnEdges&&(this.el.style.touchAction="auto"))}let x=(e,t)=>{let n=(0,o.g)(),{params:r,el:i,wrapperEl:s,device:a}=e,l=!!r.nested,u="on"===t?"addEventListener":"removeEventListener";n[u]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:l}),i[u]("touchstart",e.onTouchStart,{passive:!1}),i[u]("pointerdown",e.onTouchStart,{passive:!1}),n[u]("touchmove",e.onTouchMove,{passive:!1,capture:l}),n[u]("pointermove",e.onTouchMove,{passive:!1,capture:l}),n[u]("touchend",e.onTouchEnd,{passive:!0}),n[u]("pointerup",e.onTouchEnd,{passive:!0}),n[u]("pointercancel",e.onTouchEnd,{passive:!0}),n[u]("touchcancel",e.onTouchEnd,{passive:!0}),n[u]("pointerout",e.onTouchEnd,{passive:!0}),n[u]("pointerleave",e.onTouchEnd,{passive:!0}),n[u]("contextmenu",e.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&i[u]("click",e.onClick,!0),r.cssMode&&s[u]("scroll",e.onScroll),r.updateOnWindowResize?e[t](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",y,!0):e[t]("observerUpdate",y,!0),i[u]("load",e.onLoad,{capture:!0})},C=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var O={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};let P={eventsEmitter:{on(e,t,n){let r=this;if(!r.eventsListeners||r.destroyed||"function"!=typeof t)return r;let i=n?"unshift":"push";return e.split(" ").forEach(e=>{r.eventsListeners[e]||(r.eventsListeners[e]=[]),r.eventsListeners[e][i](t)}),r},once(e,t,n){let r=this;if(!r.eventsListeners||r.destroyed||"function"!=typeof t)return r;function i(){r.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var n=arguments.length,s=Array(n),a=0;a<n;a++)s[a]=arguments[a];t.apply(r,s)}return i.__emitterProxy=t,r.on(e,i,n)},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 n=this;return n.eventsListeners&&!n.destroyed&&n.eventsListeners&&e.split(" ").forEach(e=>{void 0===t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach((r,i)=>{(r===t||r.__emitterProxy&&r.__emitterProxy===t)&&n.eventsListeners[e].splice(i,1)})}),n},emit(){let e,t,n;let r=this;if(!r.eventsListeners||r.destroyed||!r.eventsListeners)return r;for(var i=arguments.length,s=Array(i),a=0;a<i;a++)s[a]=arguments[a];return"string"==typeof s[0]||Array.isArray(s[0])?(e=s[0],t=s.slice(1,s.length),n=r):(e=s[0].events,t=s[0].data,n=s[0].context||r),t.unshift(n),(Array.isArray(e)?e:e.split(" ")).forEach(e=>{r.eventsAnyListeners&&r.eventsAnyListeners.length&&r.eventsAnyListeners.forEach(r=>{r.apply(n,[e,...t])}),r.eventsListeners&&r.eventsListeners[e]&&r.eventsListeners[e].forEach(e=>{e.apply(n,t)})}),r}},update:{updateSize:function(){let e,t;let n=this.el;e=void 0!==this.params.width&&null!==this.params.width?this.params.width:n.clientWidth,t=void 0!==this.params.height&&null!==this.params.height?this.params.height:n.clientHeight,0===e&&this.isHorizontal()||0===t&&this.isVertical()||(e=e-parseInt((0,l.m)(n,"padding-left")||0,10)-parseInt((0,l.m)(n,"padding-right")||0,10),t=t-parseInt((0,l.m)(n,"padding-top")||0,10)-parseInt((0,l.m)(n,"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 n(e,n){return parseFloat(e.getPropertyValue(t.getDirectionLabel(n))||0)}let r=t.params,{wrapperEl:i,slidesEl:s,size:a,rtlTranslate:o,wrongRTL:u}=t,c=t.virtual&&r.virtual.enabled,d=c?t.virtual.slides.length:t.slides.length,p=(0,l.e)(s,`.${t.params.slideClass}, swiper-slide`),f=c?t.virtual.slides.length:p.length,h=[],m=[],g=[],v=r.slidesOffsetBefore;"function"==typeof v&&(v=r.slidesOffsetBefore.call(t));let y=r.slidesOffsetAfter;"function"==typeof y&&(y=r.slidesOffsetAfter.call(t));let b=t.snapGrid.length,w=t.slidesGrid.length,S=r.spaceBetween,E=-v,x=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=>{o?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),r.centeredSlides&&r.cssMode&&((0,l.s)(i,"--swiper-centered-offset-before",""),(0,l.s)(i,"--swiper-centered-offset-after",""));let O=r.grid&&r.grid.rows>1&&t.grid;O?t.grid.initSlides(p):t.grid&&t.grid.unsetSlides();let P="auto"===r.slidesPerView&&r.breakpoints&&Object.keys(r.breakpoints).filter(e=>void 0!==r.breakpoints[e].slidesPerView).length>0;for(let i=0;i<f;i+=1){let s;if(e=0,p[i]&&(s=p[i]),O&&t.grid.updateSlide(i,s,p),!p[i]||"none"!==(0,l.m)(s,"display")){if("auto"===r.slidesPerView){P&&(p[i].style[t.getDirectionLabel("width")]="");let a=getComputedStyle(s),o=s.style.transform,u=s.style.webkitTransform;if(o&&(s.style.transform="none"),u&&(s.style.webkitTransform="none"),r.roundLengths)e=t.isHorizontal()?(0,l.f)(s,"width",!0):(0,l.f)(s,"height",!0);else{let t=n(a,"width"),r=n(a,"padding-left"),i=n(a,"padding-right"),o=n(a,"margin-left"),l=n(a,"margin-right"),u=a.getPropertyValue("box-sizing");if(u&&"border-box"===u)e=t+o+l;else{let{clientWidth:n,offsetWidth:a}=s;e=t+r+i+o+l+(a-n)}}o&&(s.style.transform=o),u&&(s.style.webkitTransform=u),r.roundLengths&&(e=Math.floor(e))}else e=(a-(r.slidesPerView-1)*S)/r.slidesPerView,r.roundLengths&&(e=Math.floor(e)),p[i]&&(p[i].style[t.getDirectionLabel("width")]=`${e}px`);p[i]&&(p[i].swiperSlideSize=e),g.push(e),r.centeredSlides?(E=E+e/2+x/2+S,0===x&&0!==i&&(E=E-a/2-S),0===i&&(E=E-a/2-S),.001>Math.abs(E)&&(E=0),r.roundLengths&&(E=Math.floor(E)),C%r.slidesPerGroup==0&&h.push(E),m.push(E)):(r.roundLengths&&(E=Math.floor(E)),(C-Math.min(t.params.slidesPerGroupSkip,C))%t.params.slidesPerGroup==0&&h.push(E),m.push(E),E=E+e+S),t.virtualSize+=e+S,x=e,C+=1}}if(t.virtualSize=Math.max(t.virtualSize,a)+y,o&&u&&("slide"===r.effect||"coverflow"===r.effect)&&(i.style.width=`${t.virtualSize+S}px`),r.setWrapperSize&&(i.style[t.getDirectionLabel("width")]=`${t.virtualSize+S}px`),O&&t.grid.updateWrapperSize(e,h),!r.centeredSlides){let e=[];for(let n=0;n<h.length;n+=1){let i=h[n];r.roundLengths&&(i=Math.floor(i)),h[n]<=t.virtualSize-a&&e.push(i)}h=e,Math.floor(t.virtualSize-a)-Math.floor(h[h.length-1])>1&&h.push(t.virtualSize-a)}if(c&&r.loop){let e=g[0]+S;if(r.slidesPerGroup>1){let n=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/r.slidesPerGroup),i=e*r.slidesPerGroup;for(let e=0;e<n;e+=1)h.push(h[h.length-1]+i)}for(let n=0;n<t.virtual.slidesBefore+t.virtual.slidesAfter;n+=1)1===r.slidesPerGroup&&h.push(h[h.length-1]+e),m.push(m[m.length-1]+e),t.virtualSize+=e}if(0===h.length&&(h=[0]),0!==S){let e=t.isHorizontal()&&o?"marginLeft":t.getDirectionLabel("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;h=h.map(e=>e<=0?-v:e>t?t+y:e)}if(r.centerInsufficientSlides){let e=0;if(g.forEach(t=>{e+=t+(S||0)}),(e-=S)<a){let t=(a-e)/2;h.forEach((e,n)=>{h[n]=e-t}),m.forEach((e,n)=>{m[n]=e+t})}}if(Object.assign(t,{slides:p,snapGrid:h,slidesGrid:m,slidesSizesGrid:g}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){(0,l.s)(i,"--swiper-centered-offset-before",`${-h[0]}px`),(0,l.s)(i,"--swiper-centered-offset-after",`${t.size/2-g[g.length-1]/2}px`);let e=-t.snapGrid[0],n=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(t=>t+e),t.slidesGrid=t.slidesGrid.map(e=>e+n)}if(f!==d&&t.emit("slidesLengthChange"),h.length!==b&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),m.length!==w&&t.emit("slidesGridLengthChange"),r.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!c&&!r.cssMode&&("slide"===r.effect||"fade"===r.effect)){let e=`${r.containerModifierClass}backface-hidden`,n=t.el.classList.contains(e);f<=r.maxBackfaceHiddenSlides?n||t.el.classList.add(e):n&&t.el.classList.remove(e)}},updateAutoHeight:function(e){let t;let n=this,r=[],i=n.virtual&&n.params.virtual.enabled,s=0;"number"==typeof e?n.setTransition(e):!0===e&&n.setTransition(n.params.speed);let a=e=>i?n.slides[n.getSlideIndexByData(e)]:n.slides[e];if("auto"!==n.params.slidesPerView&&n.params.slidesPerView>1){if(n.params.centeredSlides)(n.visibleSlides||[]).forEach(e=>{r.push(e)});else for(t=0;t<Math.ceil(n.params.slidesPerView);t+=1){let e=n.activeIndex+t;if(e>n.slides.length&&!i)break;r.push(a(e))}}else r.push(a(n.activeIndex));for(t=0;t<r.length;t+=1)if(void 0!==r[t]){let e=r[t].offsetHeight;s=e>s?e:s}(s||0===s)&&(n.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 n=0;n<e.length;n+=1)e[n].swiperSlideOffset=(this.isHorizontal()?e[n].offsetLeft:e[n].offsetTop)-t-this.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);let t=this.params,{slides:n,rtlTranslate:r,snapGrid:i}=this;if(0===n.length)return;void 0===n[0].swiperSlideOffset&&this.updateSlidesOffset();let s=-e;r&&(s=e),n.forEach(e=>{e.classList.remove(t.slideVisibleClass,t.slideFullyVisibleClass)}),this.visibleSlidesIndexes=[],this.visibleSlides=[];let a=t.spaceBetween;"string"==typeof a&&a.indexOf("%")>=0?a=parseFloat(a.replace("%",""))/100*this.size:"string"==typeof a&&(a=parseFloat(a));for(let e=0;e<n.length;e+=1){let o=n[e],l=o.swiperSlideOffset;t.cssMode&&t.centeredSlides&&(l-=n[0].swiperSlideOffset);let u=(s+(t.centeredSlides?this.minTranslate():0)-l)/(o.swiperSlideSize+a),c=(s-i[0]+(t.centeredSlides?this.minTranslate():0)-l)/(o.swiperSlideSize+a),d=-(s-l),p=d+this.slidesSizesGrid[e],f=d>=0&&d<=this.size-this.slidesSizesGrid[e];(d>=0&&d<this.size-1||p>1&&p<=this.size||d<=0&&p>=this.size)&&(this.visibleSlides.push(o),this.visibleSlidesIndexes.push(e),n[e].classList.add(t.slideVisibleClass)),f&&n[e].classList.add(t.slideFullyVisibleClass),o.progress=r?-u:u,o.originalProgress=r?-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,n=this.maxTranslate()-this.minTranslate(),{progress:r,isBeginning:i,isEnd:s,progressLoop:a}=this,o=i,l=s;if(0===n)r=0,i=!0,s=!0;else{r=(e-this.minTranslate())/n;let t=1>Math.abs(e-this.minTranslate()),a=1>Math.abs(e-this.maxTranslate());i=t||r<=0,s=a||r>=1,t&&(r=0),a&&(r=1)}if(t.loop){let t=this.getSlideIndexByData(0),n=this.getSlideIndexByData(this.slides.length-1),r=this.slidesGrid[t],i=this.slidesGrid[n],s=this.slidesGrid[this.slidesGrid.length-1],o=Math.abs(e);(a=o>=r?(o-r)/s:(o+s-i)/s)>1&&(a-=1)}Object.assign(this,{progress:r,progressLoop:a,isBeginning:i,isEnd:s}),(t.watchSlidesProgress||t.centeredSlides&&t.autoHeight)&&this.updateSlidesProgress(e),i&&!o&&this.emit("reachBeginning toEdge"),s&&!l&&this.emit("reachEnd toEdge"),(o&&!i||l&&!s)&&this.emit("fromEdge"),this.emit("progress",r)},updateSlidesClasses:function(){let e,t,n;let{slides:r,params:i,slidesEl:s,activeIndex:a}=this,o=this.virtual&&i.virtual.enabled,u=this.grid&&i.grid&&i.grid.rows>1,c=e=>(0,l.e)(s,`.${i.slideClass}${e}, swiper-slide${e}`)[0];if(r.forEach(e=>{e.classList.remove(i.slideActiveClass,i.slideNextClass,i.slidePrevClass)}),o){if(i.loop){let t=a-this.virtual.slidesBefore;t<0&&(t=this.virtual.slides.length+t),t>=this.virtual.slides.length&&(t-=this.virtual.slides.length),e=c(`[data-swiper-slide-index="${t}"]`)}else e=c(`[data-swiper-slide-index="${a}"]`)}else u?(e=r.filter(e=>e.column===a)[0],n=r.filter(e=>e.column===a+1)[0],t=r.filter(e=>e.column===a-1)[0]):e=r[a];e&&(e.classList.add(i.slideActiveClass),u?n&&n.classList.add(i.slideNextClass):(n=(0,l.o)(e,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!n&&(n=r[0]),n&&n.classList.add(i.slideNextClass),t=(0,l.p)(e,`.${i.slideClass}, swiper-slide`)[0],i.loop),t&&t.classList.add(i.slidePrevClass)),this.emitSlidesClasses()},updateActiveIndex:function(e){let t,n;let r=this,i=r.rtlTranslate?r.translate:-r.translate,{snapGrid:s,params:a,activeIndex:o,realIndex:l,snapIndex:u}=r,c=e,d=e=>{let t=e-r.virtual.slidesBefore;return t<0&&(t=r.virtual.slides.length+t),t>=r.virtual.slides.length&&(t-=r.virtual.slides.length),t};if(void 0===c&&(c=function(e){let t;let{slidesGrid:n,params:r}=e,i=e.rtlTranslate?e.translate:-e.translate;for(let e=0;e<n.length;e+=1)void 0!==n[e+1]?i>=n[e]&&i<n[e+1]-(n[e+1]-n[e])/2?t=e:i>=n[e]&&i<n[e+1]&&(t=e+1):i>=n[e]&&(t=e);return r.normalizeSlideIndex&&(t<0||void 0===t)&&(t=0),t}(r)),s.indexOf(i)>=0)t=s.indexOf(i);else{let e=Math.min(a.slidesPerGroupSkip,c);t=e+Math.floor((c-e)/a.slidesPerGroup)}if(t>=s.length&&(t=s.length-1),c===o&&!r.params.loop){t!==u&&(r.snapIndex=t,r.emit("snapIndexChange"));return}if(c===o&&r.params.loop&&r.virtual&&r.params.virtual.enabled){r.realIndex=d(c);return}let f=r.grid&&a.grid&&a.grid.rows>1;if(r.virtual&&a.virtual.enabled&&a.loop)n=d(c);else if(f){let e=r.slides.filter(e=>e.column===c)[0],t=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(t)&&(t=Math.max(r.slides.indexOf(e),0)),n=Math.floor(t/a.grid.rows)}else if(r.slides[c]){let e=r.slides[c].getAttribute("data-swiper-slide-index");n=e?parseInt(e,10):c}else n=c;Object.assign(r,{previousSnapIndex:u,snapIndex:t,previousRealIndex:l,realIndex:n,previousIndex:o,activeIndex:c}),r.initialized&&p(r),r.emit("activeIndexChange"),r.emit("snapIndexChange"),(r.initialized||r.params.runCallbacksOnInit)&&(l!==n&&r.emit("realIndexChange"),r.emit("slideChange"))},updateClickedSlide:function(e,t){let n;let r=this.params,i=e.closest(`.${r.slideClass}, swiper-slide`);!i&&this.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!i&&e.matches&&e.matches(`.${r.slideClass}, swiper-slide`)&&(i=e)});let s=!1;if(i){for(let e=0;e<this.slides.length;e+=1)if(this.slides[e]===i){s=!0,n=e;break}}if(i&&s)this.clickedSlide=i,this.virtual&&this.params.virtual.enabled?this.clickedIndex=parseInt(i.getAttribute("data-swiper-slide-index"),10):this.clickedIndex=n;else{this.clickedSlide=void 0,this.clickedIndex=void 0;return}r.slideToClickedSlide&&void 0!==this.clickedIndex&&this.clickedIndex!==this.activeIndex&&this.slideToClickedSlide()}},translate:{getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");let{params:t,rtlTranslate:n,translate:r,wrapperEl:i}=this;if(t.virtualTranslate)return n?-r:r;if(t.cssMode)return r;let s=(0,l.i)(i,e);return s+=this.cssOverflowAdjustment(),n&&(s=-s),s||0},setTranslate:function(e,t){let{rtlTranslate:n,params:r,wrapperEl:i,progress:s}=this,a=0,o=0;this.isHorizontal()?a=n?-e:e:o=e,r.roundLengths&&(a=Math.floor(a),o=Math.floor(o)),this.previousTranslate=this.translate,this.translate=this.isHorizontal()?a:o,r.cssMode?i[this.isHorizontal()?"scrollLeft":"scrollTop"]=this.isHorizontal()?-a:-o:r.virtualTranslate||(this.isHorizontal()?a-=this.cssOverflowAdjustment():o-=this.cssOverflowAdjustment(),i.style.transform=`translate3d(${a}px, ${o}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,n,r,i){let s;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),void 0===r&&(r=!0);let a=this,{params:o,wrapperEl:u}=a;if(a.animating&&o.preventInteractionOnTransition)return!1;let c=a.minTranslate(),d=a.maxTranslate();if(s=r&&e>c?c:r&&e<d?d:e,a.updateProgress(s),o.cssMode){let e=a.isHorizontal();if(0===t)u[e?"scrollLeft":"scrollTop"]=-s;else{if(!a.support.smoothScroll)return(0,l.q)({swiper:a,targetPosition:-s,side:e?"left":"top"}),!0;u.scrollTo({[e?"left":"top"]:-s,behavior:"smooth"})}return!0}return 0===t?(a.setTransition(0),a.setTranslate(s),n&&(a.emit("beforeTransitionStart",t,i),a.emit("transitionEnd"))):(a.setTransition(t),a.setTranslate(s),n&&(a.emit("beforeTransitionStart",t,i),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,n&&a.emit("transitionEnd"))}),a.wrapperEl.addEventListener("transitionend",a.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:n}=this;n.cssMode||(n.autoHeight&&this.updateAutoHeight(),f({swiper:this,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);let{params:n}=this;this.animating=!1,n.cssMode||(this.setTransition(0),f({swiper:this,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e,t,n,r,i){let s;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),"string"==typeof e&&(e=parseInt(e,10));let a=this,o=e;o<0&&(o=0);let{params:u,snapGrid:c,slidesGrid:d,previousIndex:p,activeIndex:f,rtlTranslate:h,wrapperEl:m,enabled:g}=a;if(a.animating&&u.preventInteractionOnTransition||!g&&!r&&!i)return!1;let v=Math.min(a.params.slidesPerGroupSkip,o),y=v+Math.floor((o-v)/a.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),n=Math.floor(100*d[e]),r=Math.floor(100*d[e+1]);void 0!==d[e+1]?t>=n&&t<r-(r-n)/2?o=e:t>=n&&t<r&&(o=e+1):t>=n&&(o=e)}if(a.initialized&&o!==f&&(!a.allowSlideNext&&(h?b>a.translate&&b>a.minTranslate():b<a.translate&&b<a.minTranslate())||!a.allowSlidePrev&&b>a.translate&&b>a.maxTranslate()&&(f||0)!==o))return!1;if(o!==(p||0)&&n&&a.emit("beforeSlideChangeStart"),a.updateProgress(b),s=o>f?"next":o<f?"prev":"reset",h&&-b===a.translate||!h&&b===a.translate)return a.updateActiveIndex(o),u.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==u.effect&&a.setTranslate(b),"reset"!==s&&(a.transitionStart(n,s),a.transitionEnd(n,s)),!1;if(u.cssMode){let e=a.isHorizontal(),n=h?b:-b;if(0===t){let t=a.virtual&&a.params.virtual.enabled;t&&(a.wrapperEl.style.scrollSnapType="none",a._immediateVirtual=!0),t&&!a._cssModeVirtualInitialSet&&a.params.initialSlide>0?(a._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{m[e?"scrollLeft":"scrollTop"]=n})):m[e?"scrollLeft":"scrollTop"]=n,t&&requestAnimationFrame(()=>{a.wrapperEl.style.scrollSnapType="",a._immediateVirtual=!1})}else{if(!a.support.smoothScroll)return(0,l.q)({swiper:a,targetPosition:n,side:e?"left":"top"}),!0;m.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}return a.setTransition(t),a.setTranslate(b),a.updateActiveIndex(o),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,r),a.transitionStart(n,s),0===t?a.transitionEnd(n,s):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(n,s))}),a.wrapperEl.addEventListener("transitionend",a.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,n,r){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===n&&(n=!0),"string"==typeof e&&(e=parseInt(e,10));let i=this,s=i.grid&&i.params.grid&&i.params.grid.rows>1,a=e;if(i.params.loop){if(i.virtual&&i.params.virtual.enabled)a+=i.virtual.slidesBefore;else{let e;if(s){let t=a*i.params.grid.rows;e=i.slides.filter(e=>1*e.getAttribute("data-swiper-slide-index")===t)[0].column}else e=i.getSlideIndexByData(a);let t=s?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:n}=i.params,r=i.params.slidesPerView;"auto"===r?r=i.slidesPerViewDynamic():(r=Math.ceil(parseFloat(i.params.slidesPerView,10)),n&&r%2==0&&(r+=1));let o=t-e<r;if(n&&(o=o||e<Math.ceil(r/2)),o){let r=n?e<i.activeIndex?"prev":"next":e-i.activeIndex-1<i.params.slidesPerView?"next":"prev";i.loopFix({direction:r,slideTo:!0,activeSlideIndex:"next"===r?e+1:e-t+1,slideRealIndex:"next"===r?i.realIndex:void 0})}if(s){let e=a*i.params.grid.rows;a=i.slides.filter(t=>1*t.getAttribute("data-swiper-slide-index")===e)[0].column}else a=i.getSlideIndexByData(a)}}return requestAnimationFrame(()=>{i.slideTo(a,t,n,r)}),i},slideNext:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);let r=this,{enabled:i,params:s,animating:a}=r;if(!i)return r;let o=s.slidesPerGroup;"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(o=Math.max(r.slidesPerViewDynamic("current",!0),1));let l=r.activeIndex<s.slidesPerGroupSkip?1:o,u=r.virtual&&s.virtual.enabled;if(s.loop){if(a&&!u&&s.loopPreventsSliding)return!1;if(r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft,r.activeIndex===r.slides.length-1&&s.cssMode)return requestAnimationFrame(()=>{r.slideTo(r.activeIndex+l,e,t,n)}),!0}return s.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+l,e,t,n)},slidePrev:function(e,t,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);let r=this,{params:i,snapGrid:s,slidesGrid:a,rtlTranslate:o,enabled:l,animating:u}=r;if(!l)return r;let c=r.virtual&&i.virtual.enabled;if(i.loop){if(u&&!c&&i.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}let p=d(o?r.translate:-r.translate),f=s.map(e=>d(e)),h=s[f.indexOf(p)-1];if(void 0===h&&i.cssMode){let e;s.forEach((t,n)=>{p>=t&&(e=n)}),void 0!==e&&(h=s[e>0?e-1:e])}let m=0;if(void 0!==h&&((m=a.indexOf(h))<0&&(m=r.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(m=Math.max(m=m-r.slidesPerViewDynamic("previous",!0)+1,0))),i.rewind&&r.isBeginning){let i=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(i,e,t,n)}return i.loop&&0===r.activeIndex&&i.cssMode?(requestAnimationFrame(()=>{r.slideTo(m,e,t,n)}),!0):r.slideTo(m,e,t,n)},slideReset:function(e,t,n){return void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e,t,n,r){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===r&&(r=.5);let i=this.activeIndex,s=Math.min(this.params.slidesPerGroupSkip,i),a=s+Math.floor((i-s)/this.params.slidesPerGroup),o=this.rtlTranslate?this.translate:-this.translate;if(o>=this.snapGrid[a]){let e=this.snapGrid[a];o-e>(this.snapGrid[a+1]-e)*r&&(i+=this.params.slidesPerGroup)}else{let e=this.snapGrid[a-1];o-e<=(this.snapGrid[a]-e)*r&&(i-=this.params.slidesPerGroup)}return i=Math.min(i=Math.max(i,0),this.slidesGrid.length-1),this.slideTo(i,e,t,n)},slideToClickedSlide:function(){let e;let t=this,{params:n,slidesEl:r}=t,i="auto"===n.slidesPerView?t.slidesPerViewDynamic():n.slidesPerView,s=t.clickedIndex,a=t.isElement?"swiper-slide":`.${n.slideClass}`;if(n.loop){if(t.animating)return;e=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),n.centeredSlides?s<t.loopedSlides-i/2||s>t.slides.length-t.loopedSlides+i/2?(t.loopFix(),s=t.getSlideIndex((0,l.e)(r,`${a}[data-swiper-slide-index="${e}"]`)[0]),(0,l.n)(()=>{t.slideTo(s)})):t.slideTo(s):s>t.slides.length-i?(t.loopFix(),s=t.getSlideIndex((0,l.e)(r,`${a}[data-swiper-slide-index="${e}"]`)[0]),(0,l.n)(()=>{t.slideTo(s)})):t.slideTo(s)}else t.slideTo(s)}},loop:{loopCreate:function(e){let t=this,{params:n,slidesEl:r}=t;if(!n.loop||t.virtual&&t.params.virtual.enabled)return;let i=t.grid&&n.grid&&n.grid.rows>1,s=n.slidesPerGroup*(i?n.grid.rows:1),a=t.slides.length%s!=0,o=i&&t.slides.length%n.grid.rows!=0,u=e=>{for(let r=0;r<e;r+=1){let e=t.isElement?(0,l.c)("swiper-slide",[n.slideBlankClass]):(0,l.c)("div",[n.slideClass,n.slideBlankClass]);t.slidesEl.append(e)}};a?n.loopAddBlankSlides?(u(s-t.slides.length%s),t.recalcSlides(),t.updateSlides()):(0,l.r)("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)"):o&&(n.loopAddBlankSlides?(u(n.grid.rows-t.slides.length%n.grid.rows),t.recalcSlides(),t.updateSlides()):(0,l.r)("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)")),(0,l.e)(r,`.${n.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}),t.loopFix({slideRealIndex:e,direction:n.centeredSlides?void 0:"next"})},loopFix:function(e){let{slideRealIndex:t,slideTo:n=!0,direction:r,setTranslate:i,activeSlideIndex:s,byController:a,byMousewheel:o}=void 0===e?{}:e,u=this;if(!u.params.loop)return;u.emit("beforeLoopFix");let{slides:c,allowSlidePrev:d,allowSlideNext:p,slidesEl:f,params:h}=u,{centeredSlides:m}=h;if(u.allowSlidePrev=!0,u.allowSlideNext=!0,u.virtual&&h.virtual.enabled){n&&(h.centeredSlides||0!==u.snapIndex?h.centeredSlides&&u.snapIndex<h.slidesPerView?u.slideTo(u.virtual.slides.length+u.snapIndex,0,!1,!0):u.snapIndex===u.snapGrid.length-1&&u.slideTo(u.virtual.slidesBefore,0,!1,!0):u.slideTo(u.virtual.slides.length,0,!1,!0)),u.allowSlidePrev=d,u.allowSlideNext=p,u.emit("loopFix");return}let g=h.slidesPerView;"auto"===g?g=u.slidesPerViewDynamic():(g=Math.ceil(parseFloat(h.slidesPerView,10)),m&&g%2==0&&(g+=1));let v=h.slidesPerGroupAuto?g:h.slidesPerGroup,y=v;y%v!=0&&(y+=v-y%v),y+=h.loopAdditionalSlides,u.loopedSlides=y;let b=u.grid&&h.grid&&h.grid.rows>1;c.length<g+y?(0,l.r)("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):b&&"row"===h.grid.fill&&(0,l.r)("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");let w=[],S=[],E=u.activeIndex;void 0===s?s=u.getSlideIndex(c.filter(e=>e.classList.contains(h.slideActiveClass))[0]):E=s;let x="next"===r||!r,C="prev"===r||!r,O=0,P=0,T=b?Math.ceil(c.length/h.grid.rows):c.length,_=(b?c[s].column:s)+(m&&void 0===i?-g/2+.5:0);if(_<y){O=Math.max(y-_,v);for(let e=0;e<y-_;e+=1){let t=e-Math.floor(e/T)*T;if(b){let e=T-t-1;for(let t=c.length-1;t>=0;t-=1)c[t].column===e&&w.push(t)}else w.push(T-t-1)}}else if(_+g>T-y){P=Math.max(_-(T-2*y),v);for(let e=0;e<P;e+=1){let t=e-Math.floor(e/T)*T;b?c.forEach((e,n)=>{e.column===t&&S.push(n)}):S.push(t)}}if(u.__preventObserver__=!0,requestAnimationFrame(()=>{u.__preventObserver__=!1}),C&&w.forEach(e=>{c[e].swiperLoopMoveDOM=!0,f.prepend(c[e]),c[e].swiperLoopMoveDOM=!1}),x&&S.forEach(e=>{c[e].swiperLoopMoveDOM=!0,f.append(c[e]),c[e].swiperLoopMoveDOM=!1}),u.recalcSlides(),"auto"===h.slidesPerView?u.updateSlides():b&&(w.length>0&&C||S.length>0&&x)&&u.slides.forEach((e,t)=>{u.grid.updateSlide(t,e,u.slides)}),h.watchSlidesProgress&&u.updateSlidesOffset(),n){if(w.length>0&&C){if(void 0===t){let e=u.slidesGrid[E],t=u.slidesGrid[E+O]-e;o?u.setTranslate(u.translate-t):(u.slideTo(E+O,0,!1,!0),i&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-t,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-t))}else if(i){let e=b?w.length/h.grid.rows:w.length;u.slideTo(u.activeIndex+e,0,!1,!0),u.touchEventsData.currentTranslate=u.translate}}else if(S.length>0&&x){if(void 0===t){let e=u.slidesGrid[E],t=u.slidesGrid[E-P]-e;o?u.setTranslate(u.translate-t):(u.slideTo(E-P,0,!1,!0),i&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-t,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-t))}else{let e=b?S.length/h.grid.rows:S.length;u.slideTo(u.activeIndex-e,0,!1,!0)}}}if(u.allowSlidePrev=d,u.allowSlideNext=p,u.controller&&u.controller.control&&!a){let e={slideRealIndex:t,direction:r,setTranslate:i,activeSlideIndex:s,byController:!0};Array.isArray(u.controller.control)?u.controller.control.forEach(t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===h.slidesPerView&&n})}):u.controller.control instanceof u.constructor&&u.controller.control.params.loop&&u.controller.control.loopFix({...e,slideTo:u.controller.control.params.slidesPerView===h.slidesPerView&&n})}u.emit("loopFix")},loopDestroy:function(){let{params:e,slidesEl:t}=this;if(!e.loop||this.virtual&&this.params.virtual.enabled)return;this.recalcSlides();let n=[];this.slides.forEach(e=>{n[void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex]=e}),this.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),n.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 n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),n.style.cursor="move",n.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{params:e}=this;this.onTouchStart=m.bind(this),this.onTouchMove=g.bind(this),this.onTouchEnd=v.bind(this),this.onDocumentTouchStart=E.bind(this),e.cssMode&&(this.onScroll=w.bind(this)),this.onClick=b.bind(this),this.onLoad=S.bind(this),x(this,"on")},detachEvents:function(){x(this,"off")}},breakpoints:{setBreakpoint:function(){let e=this,{realIndex:t,initialized:n,params:r,el:i}=e,s=r.breakpoints;if(!s||s&&0===Object.keys(s).length)return;let a=e.getBreakpoint(s,e.params.breakpointsBase,e.el);if(!a||e.currentBreakpoint===a)return;let o=(a in s?s[a]:void 0)||e.originalParams,u=C(e,r),c=C(e,o),d=r.enabled;u&&!c?(i.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),e.emitContainerClasses()):!u&&c&&(i.classList.add(`${r.containerModifierClass}grid`),(o.grid.fill&&"column"===o.grid.fill||!o.grid.fill&&"column"===r.grid.fill)&&i.classList.add(`${r.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(t=>{if(void 0===o[t])return;let n=r[t]&&r[t].enabled,i=o[t]&&o[t].enabled;n&&!i&&e[t].disable(),!n&&i&&e[t].enable()});let p=o.direction&&o.direction!==r.direction,f=r.loop&&(o.slidesPerView!==r.slidesPerView||p),h=r.loop;p&&n&&e.changeDirection(),(0,l.t)(e.params,o);let m=e.params.enabled,g=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=a,e.emit("_beforeBreakpoint",o),n&&(f?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!h&&g?(e.loopCreate(t),e.updateSlides()):h&&!g&&e.loopDestroy()),e.emit("breakpoint",o)},getBreakpoint:function(e,t,n){if(void 0===t&&(t="window"),!e||"container"===t&&!n)return;let r=!1,i=(0,o.a)(),s="window"===t?i.innerHeight:n.clientHeight,a=Object.keys(e).map(e=>"string"==typeof e&&0===e.indexOf("@")?{value:s*parseFloat(e.substr(1)),point:e}:{value:e,point:e});a.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<a.length;e+=1){let{point:s,value:o}=a[e];"window"===t?i.matchMedia(`(min-width: ${o}px)`).matches&&(r=s):o<=n.clientWidth&&(r=s)}return r||"max"}},checkOverflow:{checkOverflow:function(){let{isLocked:e,params:t}=this,{slidesOffsetBefore:n}=t;if(n){let e=this.slides.length-1,t=this.slidesGrid[e]+this.slidesSizesGrid[e]+2*n;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:n,el:r,device:i}=this,s=function(e,t){let n=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(r=>{e[r]&&n.push(t+r)}):"string"==typeof e&&n.push(t+e)}),n}(["initialized",t.direction,{"free-mode":this.params.freeMode&&t.freeMode.enabled},{autoheight:t.autoHeight},{rtl:n},{grid:t.grid&&t.grid.rows>1},{"grid-column":t.grid&&t.grid.rows>1&&"column"===t.grid.fill},{android:i.android},{ios:i.ios},{"css-mode":t.cssMode},{centered:t.cssMode&&t.centeredSlides},{"watch-progress":t.watchSlidesProgress}],t.containerModifierClass);e.push(...s),r.classList.add(...e),this.emitContainerClasses()},removeClasses:function(){let{el:e,classNames:t}=this;e.classList.remove(...t),this.emitContainerClasses()}}},T={};class _{constructor(){let e,t;for(var n,r=arguments.length,a=Array(r),c=0;c<r;c++)a[c]=arguments[c];1===a.length&&a[0].constructor&&"Object"===Object.prototype.toString.call(a[0]).slice(8,-1)?t=a[0]:[e,t]=a,t||(t={}),t=(0,l.t)({},t),e&&!t.el&&(t.el=e);let d=(0,o.g)();if(t.el&&"string"==typeof t.el&&d.querySelectorAll(t.el).length>1){let e=[];return d.querySelectorAll(t.el).forEach(n=>{let r=(0,l.t)({},t,{el:n});e.push(new _(r))}),e}let p=this;p.__swiper__=!0,p.support=u(),p.device=(n={userAgent:t.userAgent},i||(i=function(e){let{userAgent:t}=void 0===e?{}:e,n=u(),r=(0,o.a)(),i=r.navigator.platform,s=t||r.navigator.userAgent,a={ios:!1,android:!1},l=r.screen.width,c=r.screen.height,d=s.match(/(Android);?[\s\/]+([\d.]+)?/),p=s.match(/(iPad).*OS\s([\d_]+)/),f=s.match(/(iPod)(.*OS\s([\d_]+))?/),h=!p&&s.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m="MacIntel"===i;return!p&&m&&n.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${l}x${c}`)>=0&&((p=s.match(/(Version)\/([\d.]+)/))||(p=[0,1,"13_0_0"]),m=!1),d&&"Win32"!==i&&(a.os="android",a.android=!0),(p||h||f)&&(a.os="ios",a.ios=!0),a}(n)),i),p.browser=(s||(s=function(){let e=(0,o.a)(),t=!1;function n(){let t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&0>t.indexOf("chrome")&&0>t.indexOf("android")}if(n()){let n=String(e.navigator.userAgent);if(n.includes("Version/")){let[e,r]=n.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));t=e<16||16===e&&r<2}}return{isSafari:t||n(),needPerspectiveFix:t,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),s),p.eventsListeners={},p.eventsAnyListeners=[],p.modules=[...p.__modules__],t.modules&&Array.isArray(t.modules)&&p.modules.push(...t.modules);let f={};p.modules.forEach(e=>{var n;e({params:t,swiper:p,extendParams:(n=t,function(e){void 0===e&&(e={});let t=Object.keys(e)[0],r=e[t];if("object"!=typeof r||null===r||(!0===n[t]&&(n[t]={enabled:!0}),"navigation"===t&&n[t]&&n[t].enabled&&!n[t].prevEl&&!n[t].nextEl&&(n[t].auto=!0),["pagination","scrollbar"].indexOf(t)>=0&&n[t]&&n[t].enabled&&!n[t].el&&(n[t].auto=!0),!(t in n&&"enabled"in r))){(0,l.t)(f,e);return}"object"!=typeof n[t]||"enabled"in n[t]||(n[t].enabled=!0),n[t]||(n[t]={enabled:!1}),(0,l.t)(f,e)}),on:p.on.bind(p),once:p.once.bind(p),off:p.off.bind(p),emit:p.emit.bind(p)})});let h=(0,l.t)({},O,f);return p.params=(0,l.t)({},h,T,t),p.originalParams=(0,l.t)({},p.params),p.passedParams=(0,l.t)({},t),p.params&&p.params.on&&Object.keys(p.params.on).forEach(e=>{p.on(e,p.params.on[e])}),p.params&&p.params.onAny&&p.onAny(p.params.onAny),Object.assign(p,{enabled:p.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===p.params.direction,isVertical:()=>"vertical"===p.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:p.params.allowSlideNext,allowSlidePrev:p.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:p.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:p.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),p.emit("_swiper"),p.params.init&&p.init(),p}getDirectionLabel(e){return this.isHorizontal()?e:({width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"})[e]}getSlideIndex(e){let{slidesEl:t,params:n}=this,r=(0,l.e)(t,`.${n.slideClass}, swiper-slide`),i=(0,l.g)(r[0]);return(0,l.g)(e)-i}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 n=this.minTranslate(),r=(this.maxTranslate()-n)*e+n;this.translateTo(r,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(n=>{let r=e.getSlideClasses(n);t.push({slideEl:n,classNames:r}),e.emit("_slideClass",n,r)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);let{params:n,slides:r,slidesGrid:i,slidesSizesGrid:s,size:a,activeIndex:o}=this,l=1;if("number"==typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){let e,t=r[o]?r[o].swiperSlideSize:0;for(let n=o+1;n<r.length;n+=1)r[n]&&!e&&(t+=r[n].swiperSlideSize,l+=1,t>a&&(e=!0));for(let n=o-1;n>=0;n-=1)r[n]&&!e&&(t+=r[n].swiperSlideSize,l+=1,t>a&&(e=!0))}else if("current"===e)for(let e=o+1;e<r.length;e+=1)(t?i[e]+s[e]-i[o]<a:i[e]-i[o]<a)&&(l+=1);else for(let e=o-1;e>=0;e-=1)i[o]-i[e]<a&&(l+=1);return l}update(){let e;let t=this;if(!t||t.destroyed)return;let{snapGrid:n,params:r}=t;function i(){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(r.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete&&c(t,e)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),r.freeMode&&r.freeMode.enabled&&!r.cssMode)i(),r.autoHeight&&t.updateAutoHeight();else{if(("auto"===r.slidesPerView||r.slidesPerView>1)&&t.isEnd&&!r.centeredSlides){let n=t.virtual&&r.virtual.enabled?t.virtual.slides:t.slides;e=t.slideTo(n.length-1,0,!1,!0)}else e=t.slideTo(t.activeIndex,0,!1,!0);e||i()}r.watchOverflow&&n!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);let n=this.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(this.el.classList.remove(`${this.params.containerModifierClass}${n}`),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 n=e||t.params.el;if("string"==typeof n&&(n=document.querySelector(n)),!n)return!1;n.swiper=t,n.parentNode&&n.parentNode.host&&"SWIPER-CONTAINER"===n.parentNode.host.nodeName&&(t.isElement=!0);let r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`,i=n&&n.shadowRoot&&n.shadowRoot.querySelector?n.shadowRoot.querySelector(r()):(0,l.e)(n,r())[0];return!i&&t.params.createElements&&(i=(0,l.c)("div",t.params.wrapperClass),n.append(i),(0,l.e)(n,`.${t.params.slideClass}`).forEach(e=>{i.append(e)})),Object.assign(t,{el:n,wrapperEl:i,slidesEl:t.isElement&&!n.parentNode.host.slideSlots?n.parentNode.host:i,hostEl:t.isElement?n.parentNode.host:n,mounted:!0,rtl:"rtl"===n.dir.toLowerCase()||"rtl"===(0,l.m)(n,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===n.dir.toLowerCase()||"rtl"===(0,l.m)(n,"direction")),wrongRTL:"-webkit-box"===(0,l.m)(i,"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 n=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&n.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(e=>{e.complete?c(t,e):e.addEventListener("load",e=>{c(t,e.target)})}),p(t),t.initialized=!0,p(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);let n=this,{params:r,el:i,wrapperEl:s,slides:a}=n;return void 0===n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),i.removeAttribute("style"),s.removeAttribute("style"),a&&a.length&&a.forEach(e=>{e.classList.remove(r.slideVisibleClass,r.slideFullyVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),n.emit("destroy"),Object.keys(n.eventsListeners).forEach(e=>{n.off(e)}),!1!==e&&(n.el.swiper=null,(0,l.u)(n)),n.destroyed=!0),null}static extendDefaults(e){(0,l.t)(T,e)}static get extendedDefaults(){return T}static get defaults(){return O}static installModule(e){_.prototype.__modules__||(_.prototype.__modules__=[]);let t=_.prototype.__modules__;"function"==typeof e&&0>t.indexOf(e)&&t.push(e)}static use(e){return Array.isArray(e)?e.forEach(e=>_.installModule(e)):_.installModule(e),_}}Object.keys(P).forEach(e=>{Object.keys(P[e]).forEach(t=>{_.prototype[t]=P[e][t]})}),_.use([function(e){let{swiper:t,on:n,emit:r}=e,i=(0,o.a)(),s=null,a=null,l=()=>{t&&!t.destroyed&&t.initialized&&(r("beforeResize"),r("resize"))},u=()=>{t&&!t.destroyed&&t.initialized&&(s=new ResizeObserver(e=>{a=i.requestAnimationFrame(()=>{let{width:n,height:r}=t,i=n,s=r;e.forEach(e=>{let{contentBoxSize:n,contentRect:r,target:a}=e;a&&a!==t.el||(i=r?r.width:(n[0]||n).inlineSize,s=r?r.height:(n[0]||n).blockSize)}),(i!==n||s!==r)&&l()})})).observe(t.el)},c=()=>{a&&i.cancelAnimationFrame(a),s&&s.unobserve&&t.el&&(s.unobserve(t.el),s=null)},d=()=>{t&&!t.destroyed&&t.initialized&&r("orientationchange")};n("init",()=>{if(t.params.resizeObserver&&void 0!==i.ResizeObserver){u();return}i.addEventListener("resize",l),i.addEventListener("orientationchange",d)}),n("destroy",()=>{c(),i.removeEventListener("resize",l),i.removeEventListener("orientationchange",d)})},function(e){let{swiper:t,extendParams:n,on:r,emit:i}=e,s=[],a=(0,o.a)(),u=function(e,n){void 0===n&&(n={});let r=new(a.MutationObserver||a.WebkitMutationObserver)(e=>{if(t.__preventObserver__)return;if(1===e.length){i("observerUpdate",e[0]);return}let n=function(){i("observerUpdate",e[0])};a.requestAnimationFrame?a.requestAnimationFrame(n):a.setTimeout(n,0)});r.observe(e,{attributes:void 0===n.attributes||n.attributes,childList:void 0===n.childList||n.childList,characterData:void 0===n.characterData||n.characterData}),s.push(r)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("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})}}),r("destroy",()=>{s.forEach(e=>{e.disconnect()}),s.splice(0,s.length)})}]);let M=["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","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function k(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function I(e,t){let n=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>0>n.indexOf(e)).forEach(n=>{void 0===e[n]?e[n]=t[n]:k(t[n])&&k(e[n])&&Object.keys(t[n]).length>0?t[n].__swiper__?e[n]=t[n]:I(e[n],t[n]):e[n]=t[n]})}function L(e){return void 0===e&&(e={}),e.navigation&&void 0===e.navigation.nextEl&&void 0===e.navigation.prevEl}function A(e){return void 0===e&&(e={}),e.pagination&&void 0===e.pagination.el}function j(e){return void 0===e&&(e={}),e.scrollbar&&void 0===e.scrollbar.el}function R(e){void 0===e&&(e="");let t=e.split(" ").map(e=>e.trim()).filter(e=>!!e),n=[];return t.forEach(e=>{0>n.indexOf(e)&&n.push(e)}),n.join(" ")}let z=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 F(){return(F=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function D(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function V(e,t){return"undefined"==typeof window?(0,a.useEffect)(e,t):(0,a.useLayoutEffect)(e,t)}let H=(0,a.createContext)(null),N=(0,a.createContext)(null),B=(0,a.forwardRef)(function(e,t){var n;let{className:r,tag:i="div",wrapperTag:s="div",children:o,onSwiper:l,...u}=void 0===e?{}:e,c=!1,[d,p]=(0,a.useState)("swiper"),[f,h]=(0,a.useState)(null),[m,g]=(0,a.useState)(!1),v=(0,a.useRef)(!1),y=(0,a.useRef)(null),b=(0,a.useRef)(null),w=(0,a.useRef)(null),S=(0,a.useRef)(null),E=(0,a.useRef)(null),x=(0,a.useRef)(null),C=(0,a.useRef)(null),P=(0,a.useRef)(null),{params:T,passedParams:H,rest:B,events:$}=function(e,t){void 0===e&&(e={}),void 0===t&&(t=!0);let n={on:{}},r={},i={};I(n,O),n._emitClasses=!0,n.init=!1;let s={},a=M.map(e=>e.replace(/_/,""));return Object.keys(Object.assign({},e)).forEach(o=>{void 0!==e[o]&&(a.indexOf(o)>=0?k(e[o])?(n[o]={},i[o]={},I(n[o],e[o]),I(i[o],e[o])):(n[o]=e[o],i[o]=e[o]):0===o.search(/on[A-Z]/)&&"function"==typeof e[o]?t?r[`${o[2].toLowerCase()}${o.substr(3)}`]=e[o]:n.on[`${o[2].toLowerCase()}${o.substr(3)}`]=e[o]:s[o]=e[o])}),["navigation","pagination","scrollbar"].forEach(e=>{!0===n[e]&&(n[e]={}),!1===n[e]&&delete n[e]}),{params:n,passedParams:i,rest:s,events:r}}(u),{slides:W,slots:G}=function(e){let t=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return a.Children.toArray(e).forEach(e=>{if(D(e))t.push(e);else if(e.props&&e.props.slot&&n[e.props.slot])n[e.props.slot].push(e);else if(e.props&&e.props.children){let r=function e(t){let n=[];return a.Children.toArray(t).forEach(t=>{D(t)?n.push(t):t.props&&t.props.children&&e(t.props.children).forEach(e=>n.push(e))}),n}(e.props.children);r.length>0?r.forEach(e=>t.push(e)):n["container-end"].push(e)}else n["container-end"].push(e)}),{slides:t,slots:n}}(o),q=()=>{g(!m)};Object.assign(T.on,{_containerClasses(e,t){p(t)}});let Y=()=>{Object.assign(T.on,$),c=!0;let e={...T};if(delete e.wrapperClass,b.current=new _(e),b.current.virtual&&b.current.params.virtual.enabled){b.current.virtual.slides=W;let e={cache:!1,slides:W,renderExternal:h,renderExternalUpdate:!1};I(b.current.params.virtual,e),I(b.current.originalParams.virtual,e)}};y.current||Y(),b.current&&b.current.on("_beforeBreakpoint",q);let X=()=>{!c&&$&&b.current&&Object.keys($).forEach(e=>{b.current.on(e,$[e])})},U=()=>{$&&b.current&&Object.keys($).forEach(e=>{b.current.off(e,$[e])})};return(0,a.useEffect)(()=>()=>{b.current&&b.current.off("_beforeBreakpoint",q)}),(0,a.useEffect)(()=>{!v.current&&b.current&&(b.current.emitSlidesClasses(),v.current=!0)}),V(()=>{if(t&&(t.current=y.current),y.current)return b.current.destroyed&&Y(),function(e,t){let{el:n,nextEl:r,prevEl:i,paginationEl:s,scrollbarEl:a,swiper:o}=e;L(t)&&r&&i&&(o.params.navigation.nextEl=r,o.originalParams.navigation.nextEl=r,o.params.navigation.prevEl=i,o.originalParams.navigation.prevEl=i),A(t)&&s&&(o.params.pagination.el=s,o.originalParams.pagination.el=s),j(t)&&a&&(o.params.scrollbar.el=a,o.originalParams.scrollbar.el=a),o.init(n)}({el:y.current,nextEl:E.current,prevEl:x.current,paginationEl:C.current,scrollbarEl:P.current,swiper:b.current},T),l&&l(b.current),()=>{b.current&&!b.current.destroyed&&b.current.destroy(!0,!1)}},[]),V(()=>{X();let e=function(e,t,n,r,i){let s=[];if(!t)return s;let a=e=>{0>s.indexOf(e)&&s.push(e)};if(n&&r){let e=r.map(i),t=n.map(i);e.join("")!==t.join("")&&a("children"),r.length!==n.length&&a("children")}return M.filter(e=>"_"===e[0]).map(e=>e.replace(/_/,"")).forEach(n=>{if(n in e&&n in t){if(k(e[n])&&k(t[n])){let r=Object.keys(e[n]),i=Object.keys(t[n]);r.length!==i.length?a(n):(r.forEach(r=>{e[n][r]!==t[n][r]&&a(n)}),i.forEach(r=>{e[n][r]!==t[n][r]&&a(n)}))}else e[n]!==t[n]&&a(n)}}),s}(H,w.current,W,S.current,e=>e.key);return w.current=H,S.current=W,e.length&&b.current&&!b.current.destroyed&&function(e){let t,n,r,i,s,a,o,l,{swiper:u,slides:c,passedParams:d,changedParams:p,nextEl:f,prevEl:h,scrollbarEl:m,paginationEl:g}=e,v=p.filter(e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e),{params:y,pagination:b,navigation:w,scrollbar:S,virtual:E,thumbs:x}=u;p.includes("thumbs")&&d.thumbs&&d.thumbs.swiper&&y.thumbs&&!y.thumbs.swiper&&(t=!0),p.includes("controller")&&d.controller&&d.controller.control&&y.controller&&!y.controller.control&&(n=!0),p.includes("pagination")&&d.pagination&&(d.pagination.el||g)&&(y.pagination||!1===y.pagination)&&b&&!b.el&&(r=!0),p.includes("scrollbar")&&d.scrollbar&&(d.scrollbar.el||m)&&(y.scrollbar||!1===y.scrollbar)&&S&&!S.el&&(i=!0),p.includes("navigation")&&d.navigation&&(d.navigation.prevEl||h)&&(d.navigation.nextEl||f)&&(y.navigation||!1===y.navigation)&&w&&!w.prevEl&&!w.nextEl&&(s=!0);let C=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))};p.includes("loop")&&u.isElement&&(y.loop&&!d.loop?a=!0:!y.loop&&d.loop?o=!0:l=!0),v.forEach(e=>{if(k(y[e])&&k(d[e]))Object.assign(y[e],d[e]),("navigation"===e||"pagination"===e||"scrollbar"===e)&&"enabled"in d[e]&&!d[e].enabled&&C(e);else{let t=d[e];(!0===t||!1===t)&&("navigation"===e||"pagination"===e||"scrollbar"===e)?!1===t&&C(e):y[e]=d[e]}}),v.includes("controller")&&!n&&u.controller&&u.controller.control&&y.controller&&y.controller.control&&(u.controller.control=y.controller.control),p.includes("children")&&c&&E&&y.virtual.enabled?(E.slides=c,E.update(!0)):p.includes("virtual")&&E&&y.virtual.enabled&&(c&&(E.slides=c),E.update(!0)),p.includes("children")&&c&&y.loop&&(l=!0),t&&x.init()&&x.update(!0),n&&(u.controller.control=y.controller.control),r&&(u.isElement&&(!g||"string"==typeof g)&&((g=document.createElement("div")).classList.add("swiper-pagination"),g.part.add("pagination"),u.el.appendChild(g)),g&&(y.pagination.el=g),b.init(),b.render(),b.update()),i&&(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),S.init(),S.updateSize(),S.setTranslate()),s&&(u.isElement&&(f&&"string"!=typeof f||((f=document.createElement("div")).classList.add("swiper-button-next"),f.innerHTML=u.hostEl.constructor.nextButtonSvg,f.part.add("button-next"),u.el.appendChild(f)),h&&"string"!=typeof h||((h=document.createElement("div")).classList.add("swiper-button-prev"),h.innerHTML=u.hostEl.constructor.prevButtonSvg,h.part.add("button-prev"),u.el.appendChild(h))),f&&(y.navigation.nextEl=f),h&&(y.navigation.prevEl=h),w.init(),w.update()),p.includes("allowSlideNext")&&(u.allowSlideNext=d.allowSlideNext),p.includes("allowSlidePrev")&&(u.allowSlidePrev=d.allowSlidePrev),p.includes("direction")&&u.changeDirection(d.direction,!1),(a||l)&&u.loopDestroy(),(o||l)&&u.loopCreate(),u.update()}({swiper:b.current,slides:W,passedParams:H,changedParams:e,nextEl:E.current,prevEl:x.current,scrollbarEl:P.current,paginationEl:C.current}),()=>{U()}}),V(()=>{z(b.current)},[f]),a.createElement(i,F({ref:y,className:R(`${d}${r?` ${r}`:""}`)},B),a.createElement(N.Provider,{value:b.current},G["container-start"],a.createElement(s,{className:(void 0===(n=T.wrapperClass)&&(n=""),n)?n.includes("swiper-wrapper")?n:`swiper-wrapper ${n}`:"swiper-wrapper"},G["wrapper-start"],T.virtual?function(e,t,n){if(!n)return null;let r=e=>{let n=e;return e<0?n=t.length+e:n>=t.length&&(n-=t.length),n},i=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${n.offset}px`}:{top:`${n.offset}px`},{from:s,to:o}=n,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<=o&&c.push(t[r(e)]);return c.map((t,n)=>a.cloneElement(t,{swiper:e,style:i,key:`slide-${n}`}))}(b.current,W,f):W.map((e,t)=>a.cloneElement(e,{swiper:b.current,swiperSlideIndex:t})),G["wrapper-end"]),L(T)&&a.createElement(a.Fragment,null,a.createElement("div",{ref:x,className:"swiper-button-prev"}),a.createElement("div",{ref:E,className:"swiper-button-next"})),j(T)&&a.createElement("div",{ref:P,className:"swiper-scrollbar"}),A(T)&&a.createElement("div",{ref:C,className:"swiper-pagination"}),G["container-end"]))});B.displayName="Swiper";let $=(0,a.forwardRef)(function(e,t){let{tag:n="div",children:r,className:i="",swiper:s,zoom:o,lazy:l,virtualIndex:u,swiperSlideIndex:c,...d}=void 0===e?{}:e,p=(0,a.useRef)(null),[f,h]=(0,a.useState)("swiper-slide"),[m,g]=(0,a.useState)(!1);function v(e,t,n){t===p.current&&h(n)}V(()=>{if(void 0!==c&&(p.current.swiperSlideIndex=c),t&&(t.current=p.current),p.current&&s){if(s.destroyed){"swiper-slide"!==f&&h("swiper-slide");return}return s.on("_slideClass",v),()=>{s&&s.off("_slideClass",v)}}}),V(()=>{s&&p.current&&!s.destroyed&&h(s.getSlideClasses(p.current))},[s]);let y={isActive:f.indexOf("swiper-slide-active")>=0,isVisible:f.indexOf("swiper-slide-visible")>=0,isPrev:f.indexOf("swiper-slide-prev")>=0,isNext:f.indexOf("swiper-slide-next")>=0},b=()=>"function"==typeof r?r(y):r;return a.createElement(n,F({ref:p,className:R(`${f}${i?` ${i}`:""}`),"data-swiper-slide-index":u,onLoad:()=>{g(!0)}},d),o&&a.createElement(H.Provider,{value:y},a.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"==typeof o?o:void 0},b(),l&&!m&&a.createElement("div",{className:"swiper-lazy-preloader"}))),!o&&a.createElement(H.Provider,{value:y},b(),l&&!m&&a.createElement("div",{className:"swiper-lazy-preloader"})))});$.displayName="SwiperSlide"}}]);