PageSourceSearch

https://www.europeanhistoricgardens.eu/_next/static/chunks/2141.d828027974285006.js

js europeanhistoricgardens.eu collected 2026-10-02 10:45:53 UTC 23,366 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2141],{3431:function(t){var e="function"==typeof Float32Array;function calcBezier(t,e,i){return(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t}function getSlope(t,e,i){return 3*(1-3*i+3*e)*t*t+2*(3*i-6*e)*t+3*e}function LinearEasing(t){return t}t.exports=function(t,i,s,n){if(!(0<=t&&t<=1&&0<=s&&s<=1))throw Error("bezier x values must be in [0, 1] range");if(t===i&&s===n)return LinearEasing;for(var r=e?new Float32Array(11):Array(11),a=0;a<11;++a)r[a]=calcBezier(.1*a,t,s);return function(e){return 0===e?0:1===e?1:calcBezier(function(e){for(var i=0,n=1;10!==n&&r[n]<=e;++n)i+=.1;var a=i+(e-r[--n])/(r[n+1]-r[n])*.1,l=getSlope(a,t,s);return l>=.001?function(t,e,i,s){for(var n=0;n<4;++n){var r=getSlope(e,i,s);if(0===r)break;var a=calcBezier(e,i,s)-t;e-=a/r}return e}(e,a,t,s):0===l?a:function(t,e,i,s,n){var r,a,l=0;do(r=calcBezier(a=e+(i-e)/2,s,n)-t)>0?i=a:e=a;while(Math.abs(r)>1e-7&&++l<10);return a}(e,i,i+.1,t,s)}(e),i,n)}}},2141:function(t,e,i){"use strict";i.d(e,{UG:function(){return ParallaxBanner},mU:function(){return ParallaxBannerLayer},Xu:function(){return k}});var s,n,r,a,l,o,h,u,c,d,p,f=i(3431),v=i.n(f),Limits=function(t){this.startX=t.startX,this.startY=t.startY,this.endX=t.endX,this.endY=t.endY,this.totalX=this.endX-this.startX,this.totalY=this.endY-this.startY,this.startMultiplierX=t.startMultiplierX||1,this.endMultiplierX=t.endMultiplierX||1,this.startMultiplierY=t.startMultiplierY||1,this.endMultiplierY=t.endMultiplierY||1};function _extends(){return(_extends=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(t[s]=i[s])}return t}).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 g=0,m=function(){function Rect(t){var e=t.el.getBoundingClientRect();if(t.view.scrollContainer){var i=t.view.scrollContainer.getBoundingClientRect();e=_extends({},e,{top:e.top-i.top,right:e.right-i.left,bottom:e.bottom-i.top,left:e.left-i.left})}this.height=t.el.offsetHeight,this.width=t.el.offsetWidth,this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,t.rootMargin&&this._setRectWithRootMargin(t.rootMargin)}return Rect.prototype._setRectWithRootMargin=function(t){var e=t.top+t.bottom,i=t.left+t.right;this.top-=t.top,this.right+=t.right,this.bottom+=t.bottom,this.left-=t.left,this.height+=e,this.width+=i},Rect}(),w=[c[""],h.px,h["%"],h.vh,h.vw,u.deg,u.turn,u.rad];function parseValueAndUnit(t,e){void 0===e&&(e=h["%"]);var i={value:0,unit:e};if(void 0===t)return i;if(!("number"==typeof t||"string"==typeof t))throw Error("Invalid value provided. Must provide a value as a string or number");if(t=String(t),i.value=parseFloat(t),i.unit=t.match(/[\d.\-+]*\s*(.*)/)[1]||e,!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(t){if(Array.isArray(t))return v()(t[0],t[1],t[2],t[3]);if("string"==typeof t&&void 0!==E[t]){var e=E[t];return v()(e[0],e[1],e[2],e[3])}}var _=Object.values(o),y={speed:"px",translateX:"%",translateY:"%",rotate:"deg",rotateX:"deg",rotateY:"deg",rotateZ:"deg",scale:"",scaleX:"",scaleY:"",scaleZ:"",opacity:""};function parseElementTransitionEffects(t,e){var i={};return _.forEach(function(s){var n=y[s];if("number"==typeof(null==t?void 0:t[s])){var r=null==t?void 0:t[s],a=parseValueAndUnit(10*(r||0)+"px"),l=parseValueAndUnit(-10*(r||0)+"px"),o={start:a.value,end:l.value,unit:a.unit};e===d.vertical&&(i.translateY=o),e===d.horizontal&&(i.translateX=o)}if(Array.isArray(null==t?void 0:t[s])){var h=null==t?void 0:t[s];if(void 0!==h[0]&&void 0!==h[1]){var u=parseValueAndUnit(null==h?void 0:h[0],n),c=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(t,e,i,s){var n=(i-t)/e;return s&&(n=s(n)),n}function scaleEffectByProgress(t,e){var i,s;return{value:(i="function"==typeof t.easing?t.easing(e):e,s=(null==t?void 0:t.start)||0,(((null==t?void 0:t.end)||0)-s)*(i-0)/1+s),unit:null==t?void 0:t.unit}}var x=Object.values(o).filter(function(t){return"opacity"!==t});function resetStyles(t){var e=t.el;e&&(e.style.transform="",e.style.opacity="")}function getTranslateScalar(t,e,i){return Math.max(i/(i+(Math.abs(t)+Math.abs(e))*(e>t?-1:1)),1)}function getStartEndValueInPx(t,e){var i=t.start,s=t.end,n=t.unit;if("%"===n){var r=e/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(t,e,i){return Math.min(Math.max(t,e),i)},P=function(){function Element(t){var e,i;this.el=t.el,this.props=t.props,this.scrollAxis=t.scrollAxis,this.id=++g,this.effects=parseElementTransitionEffects(this.props,this.scrollAxis),this.isInView=null,this.progress=0,this._setElementEasing(t.props.easing),e=t.el,i=Object.keys(this.effects).includes("opacity"),e.style.willChange="transform"+(i?",opacity":"")}var t=Element.prototype;return t.updateProps=function(t){return this.props=_extends({},this.props,t),this.effects=parseElementTransitionEffects(t,this.scrollAxis),this._setElementEasing(t.easing),this},t.setCachedAttributes=function(t,e){resetStyles(this),this.rect=new m({el:this.props.targetElement||this.el,rootMargin:this.props.rootMargin,view:t});var i,s,n,r,a,l,o,h,u,c,p,f,v=(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}):v?(this.limits=function(t,e,i,s,n,r){var a=i.translateX||b,l=i.translateY||b,o=getStartEndValueInPx(a,t.width),h=o.start,u=o.end,c=getStartEndValueInPx(l,t.height),p=c.start,f=c.end,v=t.top-e.height,g=t.left-e.width,m=t.bottom,w=t.right,E=1,_=1;n===d.vertical&&(_=E=getTranslateScalar(p,f,e.height+t.height));var y=1,x=1;if(n===d.horizontal&&(x=y=getTranslateScalar(h,u,e.width+t.width)),p<0&&(v+=p*E),f>0&&(m+=f*_),h<0&&(g+=h*y),u>0&&(w+=u*x),g+=s.x,w+=s.x,v+=s.y,m+=s.y,r){var P=s.y+t.top<e.height,C=s.x+t.left<e.width,S=s.y+t.bottom>e.scrollHeight-e.height,O=s.x+t.right>e.scrollWidth-e.height;P&&S&&(E=1,_=1,v=0,m=e.scrollHeight-e.height),C&&O&&(y=1,x=1,g=0,w=e.scrollWidth-e.width),!P&&S&&(v=t.top-e.height+s.y,E=getTranslateScalar(p,f,(m=e.scrollHeight-e.height)-v),_=1,p<0&&(v+=p*E)),!C&&O&&(g=t.left-e.width+s.x,y=getTranslateScalar(h,u,(w=e.scrollWidth-e.width)-g),x=1,h<0&&(g+=h*y)),P&&!S&&(v=0,E=1,_=getTranslateScalar(p,f,(m=t.bottom+s.y)-v),f>0&&(m+=f*_)),C&&!O&&(g=0,y=1,x=getTranslateScalar(h,u,(w=t.right+s.x)-g),u>0&&(w+=u*x))}return new Limits({startX:g,startY:v,endX:w,endY:m,startMultiplierX:y,endMultiplierX:x,startMultiplierY:E,endMultiplierY:_})}(this.rect,t,this.effects,e,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-t.height,c=o.left-t.width,p=o.bottom,f=o.right,c+=e.x,f+=e.x,u+=e.y,p+=e.y,h&&(e.y+o.top<t.height&&(u=0),e.x+o.left<t.width&&(c=0),p>t.scrollHeight-t.height&&(p=t.scrollHeight-t.height),f>t.scrollWidth-t.width&&(f=t.scrollWidth-t.width)),new Limits({startX:c,startY:u,endX:f,endY:p})),this._setElementStyles(),this},t._updateElementIsInView=function(t){var e=null===this.isInView;
1t!==this.isInView&&(t?this.props.onEnter&&this.props.onEnter(this):!e&&(this._setFinalProgress(),this._setElementStyles(),this.props.onExit&&this.props.onExit(this))),this.isInView=t},t._setFinalProgress=function(){var t=clamp(Math.round(this.progress),0,1);this._updateElementProgress(t)},t._setElementStyles=function(){this.props.disabled||function(t,e,i){if(i){var s,n=x.reduce(function(i,s){var n=t[s]&&scaleEffectByProgress(t[s],e);return void 0===n||void 0===n.value||void 0===n.unit?i:i+(s+"("+n.value)+n.unit+")"},""),r=void 0===(s=t.opacity&&scaleEffectByProgress(t.opacity,e))||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(t){this.progress=t,this.props.onProgressChange&&this.props.onProgressChange(this.progress),this.props.onChange&&this.props.onChange(this)},t._setElementEasing=function(t){this.easing=createEasingFunction(t)},t.updatePosition=function(t){if(!this.limits)return this;var e=this.scrollAxis===d.vertical,i=null===this.isInView,s=e?this.limits.startY:this.limits.startX,n=e?this.limits.endY:this.limits.endX,r=e?this.limits.totalY:this.limits.totalX,a=e?t.y:t.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}(),C=function(){function View(t){this.scrollContainer=t.scrollContainer,this.width=t.width,this.height=t.height,this.scrollHeight=t.scrollHeight,this.scrollWidth=t.scrollWidth}var t=View.prototype;return t.hasChanged=function(t){return t.width!==this.width||t.height!==this.height||t.scrollWidth!==this.scrollWidth||t.scrollHeight!==this.scrollHeight},t.setSize=function(t){return this.width=t.width,this.height=t.height,this.scrollHeight=t.scrollHeight,this.scrollWidth=t.scrollWidth,this},View}(),S=function(){function Scroll(t,e){this.x=t,this.y=e,this.dx=0,this.dy=0}return Scroll.prototype.setScroll=function(t,e){return this.dx=t-this.x,this.dy=e-this.y,this.x=t,this.y=e,this},Scroll}(),O=function(){function ParallaxController(t){var e=t.scrollAxis,i=void 0===e?d.vertical:e,s=t.scrollContainer;this.scrollAxis=i,this.elements=[],this._hasScrollContainer=!!s,this.viewEl=null!=s?s:window;var n=this._getScrollPosition(),r=n[0],a=n[1];this.scroll=new S(r,a),this.view=new C({width:0,height:0,scrollWidth:0,scrollHeight:0,scrollContainer:this._hasScrollContainer?s:void 0}),this._ticking=!1,this._supportsPassive=function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){return t=!0,!0}});window.addEventListener("test",null,e),window.removeEventListener("test",null,e)}catch(t){}return t}(),this._bindAllMethods(),this._addListeners(this.viewEl),this._addResizeObserver(),this._setViewSize()}ParallaxController.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 ParallaxController(t)};var t=ParallaxController.prototype;return t._bindAllMethods=function(){var t=this;["_addListeners","_removeListeners","_getScrollPosition","_handleScroll","_handleUpdateCache","_updateAllElements","_updateElementPosition","_setViewSize","_addResizeObserver","_checkIfViewHasChanged","_getViewParams","getElements","createElement","removeElementById","resetElementStyles","updateElementPropsById","update","updateScrollContainer","destroy"].forEach(function(e){t[e]=t[e].bind(t)})},t._addListeners=function(t){t.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(t){var e;t.removeEventListener("scroll",this._handleScroll,!1),window.removeEventListener("resize",this._handleUpdate
1Cache,!1),window.removeEventListener("blur",this._handleUpdateCache,!1),window.removeEventListener("focus",this._handleUpdateCache,!1),window.removeEventListener("load",this._handleUpdateCache,!1),null==(e=this._resizeObserver)||e.disconnect()},t._addResizeObserver=function(){var t=this;try{var e=this._hasScrollContainer?this.viewEl:document.documentElement;this._resizeObserver=new ResizeObserver(function(){return t.update()}),this._resizeObserver.observe(e)}catch(t){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 t=this._getScrollPosition(),e=t[0],i=t[1];this.scroll.setScroll(e,i),!this._ticking&&this.elements.length>0&&(this._ticking=!0,window.requestAnimationFrame(this._updateAllElements))},t._handleUpdateCache=function(){this._setViewSize(),this._updateAllElements({updateCache:!0})},t._updateAllElements=function(t){var e=this,i=(void 0===t?{}:t).updateCache;this.elements&&this.elements.forEach(function(t){i&&t.setCachedAttributes(e.view,e.scroll),e._updateElementPosition(t)}),this._ticking=!1},t._updateElementPosition=function(t){t.props.disabled||t.updatePosition(this.scroll)},t._getViewParams=function(){if(this._hasScrollContainer){var t=this.viewEl.offsetWidth,e=this.viewEl.offsetHeight,i=this.viewEl.scrollHeight,s=this.viewEl.scrollWidth;return this.view.setSize({width:t,height:e,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(t){var e=new P(_extends({},t,{scrollAxis:this.scrollAxis}));return e.setCachedAttributes(this.view,this.scroll),this.elements=this.elements?[].concat(this.elements,[e]):[e],this._updateElementPosition(e),this._checkIfViewHasChanged()&&this.update(),e},t.removeElementById=function(t){this.elements&&(this.elements=this.elements.filter(function(e){return e.id!==t}))},t.updateElementPropsById=function(t,e){this.elements&&(this.elements=this.elements.map(function(i){return i.id===t?i.updateProps(e):i})),this.update()},t.resetElementStyles=function(t){resetStyles(t)},t.update=function(){var t=this._getScrollPosition(),e=t[0],i=t[1];this.scroll.setScroll(e,i),this._setViewSize(),this._updateAllElements({updateCache:!0})},t.updateScrollContainer=function(t){this._removeListeners(this.viewEl),this.viewEl=t,this._hasScrollContainer=!!t,this.view=new C({width:0,height:0,scrollWidth:0,scrollHeight:0,scrollContainer:t}),this._setViewSize(),this._addListeners(this.viewEl),this._updateAllElements({updateCache:!0})},t.disableAllElements=function(){this.elements&&(this.elements=this.elements.map(function(t){return t.updateProps({disabled:!0})})),this.update()},t.enableAllElements=function(){this.elements&&(this.elements=this.elements.map(function(t){return t.updateProps({disabled:!1})})),this.update()},t.destroy=function(){this._removeListeners(this.viewEl),this.elements&&this.elements.forEach(function(t){return resetStyles(t)}),this.elements=void 0},ParallaxController}(),I=i(7294);function react_scroll_parallax_esm_extends(){return(react_scroll_parallax_esm_extends=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var s in i)Object.prototype.hasOwnProperty.call(i,s)&&(t[s]=i[s])}return t}).apply(this,arguments)}function _setPrototypeOf(t,e){return(_setPrototypeOf=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function _objectWithoutPropertiesLoose(t,e){if(null==t)return{};var i,s,n={},r=Object.keys(t);for(s=0;s<r.length;s++)i=r[s],e.indexOf(i)>=0||(n[i]=t[i]);return n}var A=["disabled","easing","endScroll","onChange","onEnter","onExit","onProgressChange","opacity","rootMargin","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","shouldAlwaysCompleteAnimation","shouldDisableScalingTranslations","speed","startScroll","targetElement","translateX","translateY"];
1function getIsolatedParallaxProps(t){var e,i=t.disabled,s=t.easing,n=t.endScroll,r=t.onChange,a=t.onEnter,l=t.onExit,o=t.onProgressChange,h=t.opacity,u=t.rootMargin,c=t.rotate,d=t.rotateX,p=t.rotateY,f=t.rotateZ,v=t.scale,g=t.scaleX,m=t.scaleY,w=t.scaleZ,E=t.shouldAlwaysCompleteAnimation,_=t.shouldDisableScalingTranslations,y=t.speed,x=t.startScroll,b=t.targetElement,P=t.translateX,C=t.translateY,S=_objectWithoutPropertiesLoose(t,A);return{parallaxProps:(Object.keys(e={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:v,scaleX:g,scaleY:m,scaleZ:w,shouldAlwaysCompleteAnimation:E,shouldDisableScalingTranslations:_,speed:y,startScroll:x,targetElement:b,translateX:P,translateY:C}).forEach(function(t){return void 0===e[t]?delete e[t]:{}}),e),rest:S}}var Y=I.createContext(null),X={height:0},M=["children","disabled","style","expanded","image","testId"],L={position:"absolute",top:0,left:0,right:0,bottom:0},ParallaxBannerLayer=function(t){var e,i,s,n,r,a,l,o=getIsolatedParallaxProps(t),h=o.parallaxProps,u=o.rest,c=u.style,d=u.expanded,p=u.testId,f=_objectWithoutPropertiesLoose(u,M),v=t.image?{backgroundImage:"url("+t.image+")",backgroundPosition:"center",backgroundSize:"cover"}:{},g=void 0===d||d?function(t){if(Array.isArray(t.translateY)){var e=parseValueAndUnit(t.translateY[0]),i=parseValueAndUnit(t.translateY[1]);if("px"===e.unit&&"px"===i.unit)return{top:-1*Math.abs(i.value)+"px",bottom:-1*Math.abs(e.value)+"px"};if("%"===e.unit&&"%"===i.unit){var s,n=(null==(s=t.targetElement)?void 0:s.getBoundingClientRect())||X;return{top:-1*Math.abs(.01*n.height*i.value)+"px",bottom:-1*Math.abs(.01*n.height*e.value)+"px"}}}if(t.speed){var r=t.speed||0;return{top:-10*Math.abs(r)+"px",bottom:-10*Math.abs(r)+"px"}}return{}}(t):{},m=(e=react_scroll_parallax_esm_extends({targetElement:t.targetElement,shouldDisableScalingTranslations:!0},h),i=function(){var t=(0,I.useContext)(Y);if("undefined"==typeof window)return null;if(!t)throw Error("Could not find `react-scroll-parallax` context value. Please ensure the component is wrapped in a <ParallaxProvi
1der>");return t}(),s=(0,I.useRef)(null),n=getIsolatedParallaxProps(e).parallaxProps,(0,I.useEffect)(function(){var t="undefined"==typeof window,e=i instanceof O;if(!t&&!i&&!e)throw Error("Must wrap your application's <Parallax /> components in a <ParallaxProvider />.")},[i]),a=(r=(0,I.useState)())[0],l=r[1],(0,I.useEffect)(function(){var t;if(s.current instanceof HTMLElement){var e={el:s.current,props:n};l(t=null==i?void 0:i.createElement(e))}else throw Error("You must assign the ref returned by the useParallax() hook to an HTML Element.");return function(){t&&(null==i||i.removeElementById(t.id))}},[]),(0,I.useEffect)(function(){a&&(e.disabled&&(null==i||i.resetElementStyles(a)),null==i||i.updateElementPropsById(a.id,n))},[e.disabled,e.easing,e.endScroll,e.onChange,e.onEnter,e.onExit,e.onProgressChange,e.opacity,e.rootMargin,e.rotate,e.rotateX,e.rotateY,e.rotateZ,e.scale,e.scaleX,e.scaleY,e.scaleZ,e.shouldAlwaysCompleteAnimation,e.shouldDisableScalingTranslations,e.speed,e.startScroll,e.targetElement,e.translateX,e.translateY]),{ref:s,controller:i,element:a});return I.createElement("div",Object.assign({"data-testid":p,ref:m.ref,style:react_scroll_parallax_esm_extends({},v,L,g,c)},f),u.children)},V=["disabled","style","layers"],B={position:"relative",overflow:"hidden",width:"100%"},ParallaxBanner=function(t){var e=(0,I.useState)(null),i=e[0],s=e[1],n=(0,I.useRef)(null);(0,I.useEffect)(function(){s(n.current)},[]);var r=t.style,a=t.layers,l=void 0===a?[]:a,o=_objectWithoutPropertiesLoose(t,V);return I.createElement("div",Object.assign({ref:n,style:react_scroll_parallax_esm_extends({},B,r)},o),i&&l&&l.length>0?l.map(function(t,e){return I.createElement(ParallaxBannerLayer,Object.assign({},t,{targetElement:i,key:"layer-"+e,testId:"layer-"+e}))}):null,i?I.Children.map(t.children,function(t){return(null==t?void 0:t.type)===ParallaxBannerLayer?I.cloneElement(t,{targetElement:i}):t}):null)}
1,k=function(t){function ParallaxProvider(e){var i,s;return(i=t.call(this,e)||this).controller=(s={scrollAxis:e.scrollAxis,scrollContainer:e.scrollContainer},"undefined"!=typeof window?O.init(s):null),i}ParallaxProvider.prototype=Object.create(t.prototype),ParallaxProvider.prototype.constructor=ParallaxProvider,_setPrototypeOf(ParallaxProvider,t);var e=ParallaxProvider.prototype;return e.componentDidUpdate=function(t){t.scrollContainer!==this.props.scrollContainer&&this.controller.updateScrollContainer(this.props.scrollContainer)},e.componentWillUnmount=function(){this.controller=this.controller.destroy()},e.render=function(){var t=this.props.children;return I.createElement(Y.Provider,{value:this.controller},t)},ParallaxProvider}(I.Component);k.defaultProps={scrollAxis:d.vertical}}}]);

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.