1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9265],{73431:function(e){var t="function"==typeof Float32Array;function i(e,t,i){return(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e}function s(e,t,i){return 3*(1-3*i+3*t)*e*e+2*(3*i-6*t)*e+3*t}function n(e){return e}e.exports=function(e,r,a,l){if(!(0<=e&&e<=1&&0<=a&&a<=1))throw Error("bezier x values must be in [0, 1] range");if(e===r&&a===l)return n;for(var o=t?new Float32Array(11):Array(11),u=0;u<11;++u)o[u]=i(.1*u,e,a);return function(t){return 0===t?0:1===t?1:i(function(t){for(var n=0,r=1;10!==r&&o[r]<=t;++r)n+=.1;var l=n+(t-o[--r])/(o[r+1]-o[r])*.1,u=s(l,e,a);return u>=.001?function(e,t,n,r){for(var a=0;a<4;++a){var l=s(t,n,r);if(0===l)break;var o=i(t,n,r)-e;t-=o/l}return t}(t,l,e,a):0===u?l:function(e,t,s,n,r){var a,l,o=0;do(a=i(l=t+(s-t)/2,n,r)-e)>0?s=l:t=l;while(Math.abs(a)>1e-7&&++o<10);return l}(t,n,n+.1,e,a)}(t),r,l)}}},95677:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var i in t)Object.defineProperty(e,i,{enumerable:!0,get:t[i]})}(t,{noSSR:function(){return a},default:function(){return l}});let s=i(38754),n=(i(67294),s._(i(8976)));function r(e){return{default:(null==e?void 0:e.default)||e}}function a(e,t){return delete t.webpack,delete t.modules,e(t)}function l(e,t){let i=n.default,s={loading:e=>{let{error:t,isLoading:i,pastDelay:s}=e;return null}};e instanceof Promise?s.loader=()=>e:"function"==typeof e?s.loader=e:"object"==typeof e&&(s={...s,...e}),s={...s,...t};let l=s.loader;return(s.loadableGenerated&&(s={...s,...s.loadableGenerated},delete s.loadableGenerated),"boolean"!=typeof s.ssr||s.ssr)?i({...s,loader:()=>null!=l?l().then(r):Promise.resolve(r(()=>null))}):(delete s.webpack,delete s.modules,a(i,s))}("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)},92254:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return r}});let s=i(38754),n=s._(i(67294)),r=n.default.createContext(null)},8976:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});let s=i(38754),n=s._(i(67294)),r=i(92254),a=[],l=[],o=!1;function u(e){let t=e(),i={loading:!0,loaded:null,error:null};return i.promise=t.then(e=>(i.loading=!1,i.loaded=e,e)).catch(e=>{throw i.loading=!1,i.error=e,e}),i}class h{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function d(e){return function(e,t){let i=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),s=null;function a(){if(!s){let t=new h(e,i);s={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return s.promise()}if(!o){let e=i.webpack?i.webpack():i.modules;e&&l.push(t=>{for(let i of e)if(t.includes(i))return a()})}function u(e,t){!function(){a();let e=n.default.useContext(r.LoadableContext);
1e&&Array.isArray(i.modules)&&i.modules.forEach(t=>{e(t)})}();let l=n.default.useSyncExternalStore(s.subscribe,s.getCurrentValue,s.getCurrentValue);return n.default.useImperativeHandle(t,()=>({retry:s.retry}),[]),n.default.useMemo(()=>{var t;return l.loading||l.error?n.default.createElement(i.loading,{isLoading:l.loading,pastDelay:l.pastDelay,timedOut:l.timedOut,error:l.error,retry:s.retry}):l.loaded?n.default.createElement((t=l.loaded)&&t.default?t.default:t,e):null},[e,l])}return u.preload=()=>a(),u.displayName="LoadableComponent",n.default.forwardRef(u)}(u,e)}function c(e,t){let i=[];for(;e.length;){let s=e.pop();i.push(s(t))}return Promise.all(i).then(()=>{if(e.length)return c(e,t)})}d.preloadAll=()=>new Promise((e,t)=>{c(a).then(e,t)}),d.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let i=()=>(o=!0,t());c(l,e).then(i,i)})),window.__NEXT_PRELOADREADY=d.preloadReady;let f=d},5152:function(e,t,i){e.exports=i(95677)},72141:function(e,t,i){"use strict";i.d(t,{VS:function(){return B},Xu:function(){return D}});var s,n,r,a,l,o,u,h,d,c,f,p=i(73431),v=i.n(p),m=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 g(){return(g=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(e[s]=i[s])}return e}).apply(this,arguments)}(s=o||(o={})).speed="speed",s.translateX="translateX",s.translateY="translateY",s.rotate="rotate",s.rotateX="rotateX",s.rotateY="rotateY",s.rotateZ="rotateZ",s.scale="scale",s.scaleX="scaleX",s.scaleY="scaleY",s.scaleZ="scaleZ",s.opacity="opacity",(n=u||(u={})).px="px",n["%"]="%",n.vh="vh",n.vw="vw",(r=h||(h={})).deg="deg",r.turn="turn",r.rad="rad",(d||(d={}))[""]="",(a=c||(c={})).vertical="vertical",a.horizontal="horizontal",(l=f||(f={})).ease="ease",l.easeIn="easeIn",l.easeOut="easeOut",l.easeInOut="easeInOut",l.easeInQuad="easeInQuad",l.easeInCubic="easeInCubic",l.easeInQuart="easeInQuart",l.easeInQuint="easeInQuint",l.easeInSine="easeInSine",l.easeInExpo="easeInExpo",l.easeInCirc="easeInCirc",l.easeOutQuad="easeOutQuad",l.easeOutCubic="easeOutCubic",l.easeOutQuart="easeOutQuart",l.easeOutQuint="easeOutQuint",l.easeOutSine="easeOutSine",l.easeOutExpo="easeOutExpo",l.easeOutCirc="easeOutCirc",l.easeInOutQuad="easeInOutQuad",l.easeInOutCubic="easeInOutCubic",l.easeInOutQuart="easeInOutQuart",l.easeInOutQuint="easeInOutQuint",l.easeInOutSine="easeInOutSine",l.easeInOutExpo="easeInOutExpo",l.easeInOutCirc="easeInOutCirc",l.easeInBack="easeInBack",l.easeOutBack="easeOutBack",l.easeInOutBack="easeInOutBack";var w=0,_=function(){function e(e){var t=e.el.getBoundingClientRect();if(e.view.scrollContainer){var i=e.view.scrollContainer.getBoundingClientRect();t=g({},t,{top:t.top-i.top,right:t.right-i.left,bottom:t.bottom-i.top,left:t.left-i.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,i=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+=i},e}(),b=[d[""],u.px,u["%"],u.vh,u.vw,h.deg,h.turn,h.rad];function E(e,t){void 0===t&&(t=u["%"]);var i={value:0,unit:t};if(void 0===e)return i;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),i.value=parseFloat(e),i.unit=e.match(/[\d.\-+]*\s*(.*)/)[1]||t,!b.includes(i.unit))throw Error("Invalid unit provided.");return i}var y={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 C(e){if(Array.isArray(e))return v()(e[0],e[1],e[2],e[3]);if("string"==typeof e&&void 0!==y[e]){var t=y[e];return v()(t[0],t[1],t[2],t[3])}}var x=Object.values(o),O={speed:"px",translateX:"%",translateY:"%",rotate:"deg",rotateX:"deg",rotateY:"deg",rotateZ:"deg",scale:"",scaleX:"",scaleY:"",scaleZ:"",opacity:""};function P(e,t){var i={};return x.forEach(function(s){var n=O[s];if("number"==typeof(null==e?void 0:e[s])){var r=null==e?void 0:e[s],a=E(10*(r||0)+"px"),l=E(-10*(r||0)+"px"),o={start:a.value,end:l.value,unit:a.unit};t===c.vertical&&(i.translateY=o),t===c.horizontal&&(i.translateX=o)}if(Array.isArray(null==e?void 0:e[s])){var u=null==e?void 0:e[s];if(void 0!==u[0]&&void 0!==u[1]){var h=E(null==u?void 0:u[0],n),d=E(null==u?void 0:u[1],n),f=C(null==u?void 0:u[2]);if(i[s]={start:h.value,end:d.value,unit:h.unit,easing:f}
1,h.unit!==d.unit)throw Error("Must provide matching units for the min and max offset values of each axis.")}}}),i}function S(e,t,i,s){var n=(i-e)/t;return s&&(n=s(n)),n}function I(e,t){var i,s;return{value:(i="function"==typeof e.easing?e.easing(t):t,s=(null==e?void 0:e.start)||0,(((null==e?void 0:e.end)||0)-s)*(i-0)/1+s),unit:null==e?void 0:e.unit}}var X=Object.values(o).filter(function(e){return"opacity"!==e});function Y(e){var t=e.el;t&&(t.style.transform="",t.style.opacity="")}function A(e,t,i){return Math.max(i/(i+(Math.abs(e)+Math.abs(t))*(t>e?-1:1)),1)}function M(e,t){var i=e.start,s=e.end,n=e.unit;if("%"===n){var r=t/100;i*=r,s*=r}if("vw"===n){var a=i/100,l=s/100;i=window.innerWidth*a,s=window.innerWidth*l}if("vh"===n){var o=i/100,u=s/100;i=window.innerHeight*o,s=window.innerHeight*u}return{start:i,end:s}}var k={start:0,end:0,unit:""},L=function(e,t,i){return Math.min(Math.max(e,t),i)},H=function(){function e(e){var t,i;this.el=e.el,this.props=e.props,this.scrollAxis=e.scrollAxis,this.disabledParallaxController=e.disabledParallaxController||!1,this.id=++w,this.effects=P(this.props,this.scrollAxis),this.isInView=null,this.progress=0,this._setElementEasing(e.props.easing),t=e.el,i=Object.keys(this.effects).includes("opacity"),t.style.willChange="transform"+(i?",opacity":"")}var t=e.prototype;return t.updateProps=function(e){return this.props=g({},this.props,e),this.effects=P(e,this.scrollAxis),this._setElementEasing(e.easing),this},t.setCachedAttributes=function(e,t){Y(this),this.rect=new _({el:this.props.targetElement||this.el,rootMargin:this.props.rootMargin,view:e});var i,s,n,r,a,l,o,u,h,d,f,p,v=(i=this.props,s=this.effects,n=this.scrollAxis,!i.rootMargin&&!i.targetElement&&!i.shouldDisableScalingTranslations&&(!!s.translateX&&n===c.horizontal||!!s.translateY&&n===c.vertical));return"number"==typeof this.props.startScroll&&"number"==typeof this.props.endScroll?this.limits=new m({startX:this.props.startScroll,startY:this.props.startScroll,endX:this.props.endScroll,endY:this.props.endScroll}):v?(this.limits=function(e,t,i,s,n,r){var a=i.translateX||k,l=i.translateY||k,o=M(a,e.width),u=o.start,h=o.end,d=M(l,e.height),f=d.start,p=d.end,v=e.top-t.height,g=e.left-t.width,w=e.bottom,_=e.right,b=1,E=1;n===c.vertical&&(E=b=A(f,p,t.height+e.height));var y=1,C=1;if(n===c.horizontal&&(C=y=A(u,h,t.width+e.width)),f<0&&(v+=f*b),p>0&&(w+=p*E),u<0&&(g+=u*y),h>0&&(_+=h*C),g+=s.x,_+=s.x,v+=s.y,w+=s.y,r){var x=s.y+e.top<t.height,O=s.x+e.left<t.width,P=s.y+e.bottom>t.scrollHeight-t.height,S=s.x+e.right>t.scrollWidth-t.height;x&&P&&(b=1,E=1,v=0,w=t.scrollHeight-t.height),O&&S&&(y=1,C=1,g=0,_=t.scrollWidth-t.width),!x&&P&&(v=e.top-t.height+s.y,b=A(f,p,(w=t.scrollHeight-t.height)-v),E=1,f<0&&(v+=f*b)),!O&&S&&(g=e.left-t.width+s.x,y=A(u,h,(_=t.scrollWidth-t.width)-g),C=1,u<0&&(g+=u*y)),x&&!P&&(v=0,b=1,E=A(f,p,(w=e.bottom+s.y)-v),p>0&&(w+=p*E)),O&&!S&&(g=0,y=1,C=A(u,h,(_=e.right+s.x)-g),h>0&&(_+=h*C))}return new m({startX:g,startY:v,endX:_,endY:w,startMultiplierX:y,endMultiplierX:C,startMultiplierY:b,endMultiplierY:E})}(this.rect,e,this.effects,t,this.scrollAxis,this.props.shouldAlwaysCompleteAnimation),this.scaledEffects=(r=this.effects,a=this.limits,(l=g({},r)).translateX&&(l.translateX=g({},r.translateX,{start:l.translateX.start*a.startMultiplierX,end:l.translateX.end*a.endMultiplierX})),l.translateY&&(l.translateY=g({},r.translateY,{start:l.translateY.start*a.startMultiplierY,end:l.translateY.end*a.endMultiplierY})),l)):this.limits=(o=this.rect,u=this.props.shouldAlwaysCompleteAnimation,h=o.top-e.height,d=o.left-e.width,f=o.bottom,p=o.right,d+=t.x,p+=t.x,h+=t.y,f+=t.y,u&&(t.y+o.top<e.height&&(h=0),t.x+o.left<e.width&&(d=0),f>e.scrollHeight-e.height&&(f=e.scrollHeight-e.height),p>e.scrollWidth-e.width&&(p=e.scrollWidth-e.width)),new m({startX:d,startY:h,endX:p,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=L(Math.round(this.progress),0,1);this._updateElementProgress(e)},t._setElementStyles=function(){this.props.disabled||this.disabledParallaxController||function(e,t,i){if(i){var s,n=X.reduce(function(i,s){var n=e[s]&&I(e[s],t);return void 0===n||void 0===n.value||void 0===n.unit?i:i+(s+"("+n.value)+n.unit+")"},""),r=void 0===(s=e.opacity&&I(e.opacity,t))||void 0===s.value||void 0===s.unit?"":""+s.value;i.style.transform=n,i.style.opacity=r}}(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=C(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===c.vertical,i=null===this.isInView,s=t?this.limits.startY:this.limits.startX,n=t?this.limits.endY:this.limits.endX,r=t?this.limits.totalY:this.limits.totalX,a=t?e.y:e.x,l=a>=s&&a<=n;if(this._updateElementIsInView(l),l){var o=S(s,r,a,this.easing);this._updateElementProgress(o),this._setElementStyles()}else i&&(this.progress=L(Math.round(S(s,r,a,this.easing)),0,1),this._setElementStyles());return this},e}
1(),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}(),Q=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}(),V=function(){function e(e){var t=e.scrollAxis,i=void 0===t?c.vertical:t,s=e.scrollContainer,n=e.disabled;this.disabled=void 0!==n&&n,this.scrollAxis=i,this.elements=[],this._hasScrollContainer=!!s,this.viewEl=null!=s?s:window;var r=this._getScrollPosition(),a=r[0],l=r[1];this.scroll=new Q(a,l),this.view=new z({width:0,height:0,scrollWidth:0,scrollHeight:0,scrollContainer:this._hasScrollContainer?s: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(),i=t[0],s=t[1];this.scroll.setScroll(i,s),!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,i=(void 0===e?{}:e).updateCache;this.elements&&this.elements.forEach(function(e){i&&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,i=this.viewEl.scrollHeight,s=this.viewEl.scrollWidth;return this.view.setSize({width:e,height:t,scrollHeight:i,scrollWidth:s})}var n=document.documentElement;return{width:window.innerWidth||n.clientWidth,height:window.innerHeight||n.clientHeight,scrollHeight:n.scrollHeight,scrollWidth:n.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 H(g({},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(i){return i.id===e?i.updateProps(t):i})),this.update()},t.resetElementStyles=function(e){Y(e)},t.update=function(){var e=this._getScrollPosition(),t=e[0],i=e[1];
1this.scroll.setScroll(t,i),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 Y(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 Y(e)}),this.elements=void 0},e}(),W=i(67294),j=["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 R(e){var t,i=e.disabled,s=e.easing,n=e.endScroll,r=e.onChange,a=e.onEnter,l=e.onExit,o=e.onProgressChange,u=e.opacity,h=e.rootMargin,d=e.rotate,c=e.rotateX,f=e.rotateY,p=e.rotateZ,v=e.scale,m=e.scaleX,g=e.scaleY,w=e.scaleZ,_=e.shouldAlwaysCompleteAnimation,b=e.shouldDisableScalingTranslations,E=e.speed,y=e.startScroll,C=e.targetElement,x=e.translateX,O=e.translateY,P=function(e,t){if(null==e)return{};var i,s,n={},r=Object.keys(e);for(s=0;s<r.length;s++)i=r[s],t.indexOf(i)>=0||(n[i]=e[i]);return n}(e,j);return{parallaxProps:(Object.keys(t={disabled:i,easing:s,endScroll:n,onChange:r,onEnter:a,onExit:l,onProgressChange:o,opacity:u,rootMargin:h,rotate:d,rotateX:c,rotateY:f,rotateZ:p,scale:v,scaleX:m,scaleY:g,scaleZ:w,shouldAlwaysCompleteAnimation:_,shouldDisableScalingTranslations:b,speed:E,startScroll:y,targetElement:C,translateX:x,translateY:O}
1).forEach(function(e){return void 0===t[e]&&delete t[e]}),t),rest:P}}var T=W.createContext(null);function B(e){var t,i,s,n,r,a,l=R(e),o=l.parallaxProps,u=l.rest,h=(t=function(){var e=(0,W.useContext)(T);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}(),i=(0,W.useRef)(null),s=R(o).parallaxProps,(0,W.useEffect)(function(){var e="undefined"==typeof window,i=t instanceof V;if(!e&&!t&&!i)throw Error("Must wrap your application's <Parallax /> components in a <ParallaxProvider />.")},[t]),r=(n=(0,W.useState)())[0],a=n[1],(0,W.useEffect)(function(){var e;if(i.current instanceof HTMLElement){var n={el:i.current,props:s};a(e=null==t?void 0:t.createElement(n))}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,W.useEffect)(function(){r&&(o.disabled&&(null==t||t.resetElementStyles(r)),null==t||t.updateElementPropsById(r.id,s))},[o.disabled,o.easing,o.endScroll,o.onChange,o.onEnter,o.onExit,o.onProgressChange,o.opacity,o.rootMargin,o.rotate,o.rotateX,o.rotateY,o.rotateZ,o.scale,o.scaleX,o.scaleY,o.scaleZ,o.shouldAlwaysCompleteAnimation,o.shouldDisableScalingTranslations,o.speed,o.startScroll,o.targetElement,o.translateX,o.translateY]),{ref:i,controller:t,element:r}).ref;return W.createElement("div",Object.assign({ref:h},u),e.children)}function D(e){var t,i=(0,W.useRef)(null);return i.current||(i.current=(t={scrollAxis:e.scrollAxis||c.vertical,scrollContainer:e.scrollContainer,disabled:e.isDisabled},"undefined"!=typeof window?V.init(t):null)),(0,W.useEffect)(function(){e.scrollContainer&&i.current&&i.current.updateScrollContainer(e.scrollContainer)},[e.scrollContainer,i.current]),(0,W.useEffect)(function(){e.isDisabled&&i.current&&i.current.disableParallaxController(),!e.isDisabled&&i.current&&i.current.enableParallaxController()},[e.isDisabled,i.current]),(0,W.useEffect)(function(){return function(){(null==i?void 0:i.current)&&(null==i||i.current.destroy())}},[]),W.createElement(T.Provider,{value:i.current},e.children)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.