1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{3431:function(e){var t="function"==typeof Float32Array;function calcBezier(e,t,i){return(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e}function getSlope(e,t,i){return 3*(1-3*i+3*t)*e*e+2*(3*i-6*t)*e+3*t}function LinearEasing(e){return e}e.exports=function(e,i,s,n){if(!(0<=e&&e<=1&&0<=s&&s<=1))throw Error("bezier x values must be in [0, 1] range");if(e===i&&s===n)return LinearEasing;for(var r=t?new Float32Array(11):Array(11),a=0;a<11;++a)r[a]=calcBezier(.1*a,e,s);return function(t){return 0===t?0:1===t?1:calcBezier(function(t){for(var i=0,n=1;10!==n&&r[n]<=t;++n)i+=.1;var a=i+(t-r[--n])/(r[n+1]-r[n])*.1,l=getSlope(a,e,s);return l>=.001?function(e,t,i,s){for(var n=0;n<4;++n){var r=getSlope(t,i,s);if(0===r)break;var a=calcBezier(t,i,s)-e;t-=a/r}return t}(t,a,e,s):0===l?a:function(e,t,i,s,n){var r,a,l=0;do(r=calcBezier(a=t+(i-t)/2,s,n)-e)>0?i=a:t=a;while(Math.abs(r)>1e-7&&++l<10);return a}(t,i,i+.1,e,s)}(t),i,n)}}},1118:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return i(9597)}])},9597:function(e,t,i){"use strict";i.r(t);var s=i(5893),n=i(4298),r=i.n(n);i(6944);var a=i(9428),l=i(2141);t.default=function(e){let{Component:t,pageProps:i}=e;return(0,s.jsxs)("div",{className:"h-full bg-background text-foreground",children:[(0,s.jsx)(r(),{async:!0,src:"https://www.googletagmanager.com/gtag/js?id=".concat("G-W0XTQ9XBM9")}),(0,s.jsx)(r(),{id:"gtag",dangerouslySetInnerHTML:{__html:"\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n gtag('config', '".concat("G-W0XTQ9XBM9","', {\n page_path: window.location.pathname,\n });\n ")}}),(0,s.jsx)(l.Xu,{children:(0,s.jsx)(a.H,{children:(0,s.jsx)(t,{...i})})})]})}},9428:function(e,t,i){"use strict";i.d(t,{H:function(){return ContextProvider}});var s=i(5893),n=i(7294);let r=(0,n.createContext)({});function ContextProvider(e){let{children:t}=e,[i,a]=(0,n.useState)(null),[l,o]=(0,n.useState)([]),[h,u]=(0,n.use
1State)([]);return(0,s.jsx)(r.Provider,{value:{shopifyBuyInstance:i,setShopifyInstance:a,products:l,setProducts:o,footer:h,setFooter:u},children:t})}t.Z=r},6944:function(){},4298:function(e,t,i){e.exports=i(5354)},2141:function(e,t,i){"use strict";i.d(t,{VS:function(){return Parallax},Xu:function(){return ParallaxProvider}});var s,n,r,a,l,o,h,u,c,d,p,f=i(3431),g=i.n(f),Limits=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 _extends(){return(_extends=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=h||(h={})).px="px",n["%"]="%",n.vh="vh",n.vw="vw",(r=u||(u={})).deg="deg",r.turn="turn",r.rad="rad",(c||(c={}))[""]="",(a=d||(d={})).vertical="vertical",a.horizontal="horizontal",(l=p||(p={})).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 v=0,m=function(){function Rect(e){var t=e.el.getBoundingClientRect();if(e.view.scrollContainer){var i=e.view.scrollContainer.getBoundingClientRect();t=_extends({},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 Rect.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},Rect}(),w=[c[""],h.px,h["%"],h.vh,h.vw,u.deg,u.turn,u.rad];function parallax_controller_esm_parseValueAndUnit(e,t){void 0===t&&(t=h["%"]);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,!w.includes(i.unit))throw Error("Invalid unit provided.");return i}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 createEasingFunction(e){if(Array.isArray(e))return g()(e[0],e[1],e[2],e[3]);if("string"==typeof e&&void 0!==E[e]){var t=E[e];return g()(t[0],t[1],t[2],t[3])}}var _=Object.values(o),x={speed:"px",translateX:"%",translateY:"%",rotate:"deg",rotateX:"deg",rotateY:"deg",rotateZ:"deg",scale:"",scaleX:"",scaleY:"",scaleZ:"",opacity:""};function parseElementTransitionEffects(e,t){var i={};return _.forEach(function(s){var n=x[s];if("number"==typeof(null==e?void 0:e[s])){var r=null==e?void 0:e[s],a=parallax_controller_esm_parseValueAndUnit(10*(r||0)+"px"),l=parallax_controller_esm_parseValueAndUnit(-10*(r||0)+"px"),o={start:a.value,end:l.value,unit:a.unit};t===d.vertical&&(i.translateY=o),t===d.horizontal&&(i.translateX=o)}if(Array.isArray(null==e?void 0:e[s])){var h=null==e?void 0:e[s];if(void 0!==h[0]&&void 0!==h[1]){var u=parallax_controller_esm_parseValueAndUnit(null==h?void 0:h[0],n),c=parallax_controller_esm_parseValueAndUnit(null==h?void 0:h[1],n),p=createEasingFunction(null==h?void 0:h[2]);if(i[s]={start:u.value,end:c.value,unit:u.unit,easing:p}
1,u.unit!==c.unit)throw Error("Must provide matching units for the min and max offset values of each axis.")}}}),i}function getProgressAmount(e,t,i,s){var n=(i-e)/t;return s&&(n=s(n)),n}function scaleEffectByProgress(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 C=Object.values(o).filter(function(e){return"opacity"!==e});function resetStyles(e){var t=e.el;t&&(t.style.transform="",t.style.opacity="")}function getTranslateScalar(e,t,i){return Math.max(i/(i+(Math.abs(e)+Math.abs(t))*(t>e?-1:1)),1)}function getStartEndValueInPx(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,h=s/100;i=window.innerHeight*o,s=window.innerHeight*h}return{start:i,end:s}}var b={start:0,end:0,unit:""},clamp=function(e,t,i){return Math.min(Math.max(e,t),i)},y=function(){function Element(e){var t,i;this.el=e.el,this.props=e.props,this.scrollAxis=e.scrollAxis,this.disabledParallaxController=e.disabledParallaxController||!1,this.id=++v,this.effects=parseElementTransitionEffects(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 e=Element.prototype;return e.updateProps=function(e){return this.props=_extends({},this.props,e),this.effects=parseElementTransitionEffects(e,this.scrollAxis),this._setElementEasing(e.easing),this},e.setCachedAttributes=function(e,t){resetStyles(this),this.rect=new m({el:this.props.targetElement||this.el,rootMargin:this.props.rootMargin,view:e});var i,s,n,r,a,l,o,h,u,c,p,f,g=(i=this.props,s=this.effects,n=this.scrollAxis,!i.rootMargin&&!i.targetElement&&!i.shouldDisableScalingTranslations&&(!!s.translateX&&n===d.horizontal||!!s.translateY&&n===d.vertical));return"number"==typeof this.props.startScroll&&"number"==typeof this.props.endScroll?this.limits=new Limits({startX:this.props.startScroll,startY:this.props.startScroll,endX:this.props.endScroll,endY:this.props.endScroll}):g?(this.limits=function(e,t,i,s,n,r){var a=i.translateX||b,l=i.translateY||b,o=getStartEndValueInPx(a,e.width),h=o.start,u=o.end,c=getStartEndValueInPx(l,e.height),p=c.start,f=c.end,g=e.top-t.height,v=e.left-t.width,m=e.bottom,w=e.right,E=1,_=1;n===d.vertical&&(_=E=getTranslateScalar(p,f,t.height+e.height));var x=1,C=1;if(n===d.horizontal&&(C=x=getTranslateScalar(h,u,t.width+e.width)),p<0&&(g+=p*E),f>0&&(m+=f*_),h<0&&(v+=h*x),u>0&&(w+=u*C),v+=s.x,w+=s.x,g+=s.y,m+=s.y,r){var y=s.y+e.top<t.height,S=s.x+e.left<t.width,P=s.y+e.bottom>t.scrollHeight-t.height,I=s.x+e.right>t.scrollWidth-t.height;y&&P&&(E=1,_=1,g=0,m=t.scrollHeight-t.height),S&&I&&(x=1,C=1,v=0,w=t.scrollWidth-t.width),!y&&P&&(g=e.top-t.height+s.y,E=getTranslateScalar(p,f,(m=t.scrollHeight-t.height)-g),_=1,p<0&&(g+=p*E)),!S&&I&&(v=e.left-t.width+s.x,x=getTranslateScalar(h,u,(w=t.scrollWidth-t.width)-v),C=1,h<0&&(v+=h*x)),y&&!P&&(g=0,E=1,_=getTranslateScalar(p,f,(m=e.bottom+s.y)-g),f>0&&(m+=f*_)),S&&!I&&(v=0,x=1,C=getTranslateScalar(h,u,(w=e.right+s.x)-v),u>0&&(w+=u*C))}return new Limits({startX:v,startY:g,endX:w,endY:m,startMultiplierX:x,endMultiplierX:C,startMultiplierY:E,endMultiplierY:_})}(this.rect,e,this.effects,t,this.scrollAxis,this.props.shouldAlwaysCompleteAnimation),this.scaledEffects=(r=this.effects,a=this.limits,(l=_extends({},r)).translateX&&(l.translateX=_extends({},r.translateX,{start:l.translateX.start*a.startMultiplierX,end:l.translateX.end*a.endMultiplierX})),l.translateY&&(l.translateY=_extends({},r.translateY,{start:l.translateY.start*a.startMultiplierY,end:l.translateY.end*a.endMultiplierY})),l)):this.limits=(o=this.rect,h=this.props.shouldAlwaysCompleteAnimation,u=o.top-e.height,c=o.left-e.width,p=o.bottom,f=o.right,c+=t.x,f+=t.x,u+=t.y,p+=t.y,h&&(t.y+o.top<e.height&&(u=0),t.x+o.left<e.width&&(c=0),p>e.scrollHeight-e.height&&(p=e.scrollHeight-e.height),f>e.scrollWidth-e.width&&(f=e.scrollWidth-e.width)),new Limits({startX:c,startY:u,endX:f,endY:p})),this._setElementStyles(),this},e._updateElementIsInView=function(e){var t=null===this.isInView;
1e!==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},e._setFinalProgress=function(){var e=clamp(Math.round(this.progress),0,1);this._updateElementProgress(e)},e._setElementStyles=function(){this.props.disabled||this.disabledParallaxController||function(e,t,i){if(i){var s,n=C.reduce(function(i,s){var n=e[s]&&scaleEffectByProgress(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&&scaleEffectByProgress(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)},e._updateElementProgress=function(e){this.progress=e,this.props.onProgressChange&&this.props.onProgressChange(this.progress),this.props.onChange&&this.props.onChange(this)},e._setElementEasing=function(e){this.easing=createEasingFunction(e)},e.updateElementOptions=function(e){this.scrollAxis=e.scrollAxis,this.disabledParallaxController=e.disabledParallaxController||!1},e.updatePosition=function(e){if(!this.limits)return this;var t=this.scrollAxis===d.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=getProgressAmount(s,r,a,this.easing);this._updateElementProgress(o),this._setElementStyles()}else i&&(this.progress=clamp(Math.round(getProgressAmount(s,r,a,this.easing)),0,1),this._setElementStyles());return this},Element}(),S=function(){function View(e){this.scrollContainer=e.scrollContainer,this.width=e.width,this.height=e.height,this.scrollHeight=e.scrollHeight,this.scrollWidth=e.scrollWidth}var e=View.prototype;return e.hasChanged=function(e){return e.width!==this.width||e.height!==this.height||e.scrollWidth!==this.scrollWidth||e.scrollHeight!==this.scrollHeight},e.setSize=function(e){return this.width=e.width,this.height=e.height,this.scrollHeight=e.scrollHeight,this.scrollWidth=e.scrollWidth,this},View}(),P=function(){function Scroll(e,t){this.x=e,this.y=t,this.dx=0,this.dy=0}return Scroll.prototype.setScroll=function(e,t){return this.dx=e-this.x,this.dy=t-this.y,this.x=e,this.y=t,this},Scroll}(),I=function(){function ParallaxController(e){var t=e.scrollAxis,i=void 0===t?d.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 P(a,l),this.view=new S({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())}ParallaxController.init=function(e){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 ParallaxController(e)};var e=ParallaxController.prototype;return e._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)})},e._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._handleUpdate
1Cache,!1),window.addEventListener("load",this._handleUpdateCache,!1)},e._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()},e._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")}},e._getScrollPosition=function(){return[this._hasScrollContainer?this.viewEl.scrollLeft:window.pageXOffset,this._hasScrollContainer?this.viewEl.scrollTop:window.pageYOffset]},e._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))},e._handleUpdateCache=function(){this._setViewSize(),this._updateAllElements({updateCache:!0})},e._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},e._updateElementPosition=function(e){e.props.disabled||this.disabled||e.updatePosition(this.scroll)},e._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}},e._setViewSize=function(){return this.view.setSize(this._getViewParams())},e._checkIfViewHasChanged=function(){return this.view.hasChanged(this._getViewParams())},e.getElements=function(){return this.elements},e.createElement=function(e){var t=new y(_extends({},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},e.removeElementById=function(e){this.elements&&(this.elements=this.elements.filter(function(t){return t.id!==e}))},e.updateElementPropsById=function(e,t){this.elements&&(this.elements=this.elements.map(function(i){return i.id===e?i.updateProps(t):i})),this.update()},e.resetElementStyles=function(e){resetStyles(e)},e.update=function(){var e=this._getScrollPosition(),t=e[0],i=e[1];this.scroll.setScroll(t,i),this._setViewSize(),this._updateAllElements({updateCache:!0})},e.updateScrollContainer=function(e){this._removeListeners(this.viewEl),this.viewEl=e,this._hasScrollContainer=!!e,this.view=new S({width:0,height:0,scrollWidth:0,scrollHeight:0,scrollContainer:e}),this._setViewSize(),this._addListeners(this.viewEl),this._updateAllElements({updateCache:!0})},e.disableParallaxController=function(){this.disabled=!0,this._removeListeners(this.viewEl),this.elements&&this.elements.forEach(function(e){return resetStyles(e)})},e.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()},e.disableAllElements=function(){console.warn("deprecated: use disableParallaxController() instead"),this.elements&&(this.elements=this.elements.map(function(e){return e.updateProps({disabled:!0})})),this.update()},e.enableAllElements=function(){console.warn("deprecated: use enableParallaxController() instead"),this.elements&&(this.elements=this.elements.map(function(e){return e.updateProps({disabled:!1})})),this.update()},e.destroy=function(){this._removeListeners(this.viewEl),this.elements&&this.elements.forEac
1h(function(e){return resetStyles(e)}),this.elements=void 0},ParallaxController}(),O=i(7294),X=["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 getIsolatedParallaxProps(e){var t,i=e.disabled,s=e.easing,n=e.endScroll,r=e.onChange,a=e.onEnter,l=e.onExit,o=e.onProgressChange,h=e.opacity,u=e.rootMargin,c=e.rotate,d=e.rotateX,p=e.rotateY,f=e.rotateZ,g=e.scale,v=e.scaleX,m=e.scaleY,w=e.scaleZ,E=e.shouldAlwaysCompleteAnimation,_=e.shouldDisableScalingTranslations,x=e.speed,C=e.startScroll,b=e.targetElement,y=e.translateX,S=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,X);return{parallaxProps:(Object.keys(t={disabled:i,easing:s,endScroll:n,onChange:r,onEnter:a,onExit:l,onProgressChange:o,opacity:h,rootMargin:u,rotate:c,rotateX:d,rotateY:p,rotateZ:f,scale:g,scaleX:v,scaleY:m,scaleZ:w,shouldAlwaysCompleteAnimation:E,shouldDisableScalingTranslations:_,speed:x,startScroll:C,targetElement:b,translateX:y,translateY:S}).forEach(function(e){return void 0===t[e]&&delete t[e]}),t),rest:P}}var A=O.createContext(null);function Parallax(e){var t,i,s,n,r,a,l=getIsolatedParallaxProps(e),o=l.parallaxProps,h=l.rest,u=(t=function(){var e=(0,O.useContext)(A);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 <ParallaxProvi
1der>");return e}(),i=(0,O.useRef)(null),s=getIsolatedParallaxProps(o).parallaxProps,(0,O.useEffect)(function(){var e="undefined"==typeof window,i=t instanceof I;if(!e&&!t&&!i)throw Error("Must wrap your application's <Parallax /> components in a <ParallaxProvider />.")},[t]),r=(n=(0,O.useState)())[0],a=n[1],(0,O.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,O.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 O.createElement("div",Object.assign({ref:u},h),e.children)}
1function ParallaxProvider(e){var t,i=(0,O.useRef)(null);return i.current||(i.current=(t={scrollAxis:e.scrollAxis||d.vertical,scrollContainer:e.scrollContainer,disabled:e.isDisabled},"undefined"!=typeof window?I.init(t):null)),(0,O.useEffect)(function(){e.scrollContainer&&i.current&&i.current.updateScrollContainer(e.scrollContainer)},[e.scrollContainer,i.current]),(0,O.useEffect)(function(){e.isDisabled&&i.current&&i.current.disableParallaxController(),!e.isDisabled&&i.current&&i.current.enableParallaxController()},[e.isDisabled,i.current]),(0,O.useEffect)(function(){return function(){(null==i?void 0:i.current)&&(null==i||i.current.destroy())}},[]),O.createElement(A.Provider,{value:i.current},e.children)}}},function(e){var __webpack_exec__=function(t){return e(e.s=t)};e.O(0,[774,179],function(){return __webpack_exec__(1118),__webpack_exec__(9974)}),_N_E=e.O()}]);
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.