/*! For license information please see main.c53f0247.js.LICENSE.txt */ !function(){var e={339:function(e,t,n){"undefined"!=typeof self&&self,e.exports=function(){var e={808:function(e,t,n){var r,l,a;void 0===(l="function"==typeof(r=a=function(){function e(){for(var e=0,t={};e0&&void 0!==arguments[0]?arguments[0]:_,t=u().get(e);return void 0===t?u().get(E(e)):t},C=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:_;u().remove(e)},E=function(e){return"".concat(e,"-legacy")},_="CookieConsent",N=function(e){var t=e.condition,n=e.wrapper,r=e.children;return t?n(r):r},T=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}(i,e);var n,r,l,a,o=(l=i,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t=y(l);if(a){var n=y(this).constructor;e=Reflect.construct(t,arguments,n)}else e=t.apply(this,arguments);return v(this,e)});function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),b(g(t=o.call(this,e)),"handleScroll",(function(){var e=t.props.acceptOnScrollPercentage,n=document.documentElement,r=document.body,l="scrollTop",a="scrollHeight";(n[l]||r[l])/((n[a]||r[a])-n.clientHeight)*100>e&&t.accept(!0)})),b(g(t),"removeScrollListener",(function(){t.props.acceptOnScroll&&window.removeEventListener("scroll",t.handleScroll)})),t.state={visible:!1,style:{alignItems:"baseline",background:"#353535",color:"white",display:"flex",flexWrap:"wrap",justifyContent:"space-between",left:"0",position:"fixed",width:"100%",zIndex:"999"},buttonStyle:{background:"#ffd42d",border:"0",borderRadius:"0px",boxShadow:"none",color:"black",cursor:"pointer",flex:"0 0 auto",padding:"5px 10px",margin:"15px"},declineButtonStyle:{background:"#c12a2a",border:"0",borderRadius:"0px",boxShadow:"none",color:"#e5e5e5",cursor:"pointer",flex:"0 0 auto",padding:"5px 10px",margin:"15px"},contentStyle:{flex:"1 0 300px",margin:"15px"},overlayStyle:{position:"fixed",left:0,top:0,width:"100%",height:"100%",zIndex:"999",backgroundColor:"rgba(0,0,0,0.3)"}},t}return n=i,(r=[{key:"componentDidMount",value:function(){var e=this.props.debug;(void 0===this.getCookieValue()||e)&&(this.setState({visible:!0}),this.props.acceptOnScroll&&window.addEventListener("scroll",this.handleScroll,{passive:!0}))}},{key:"componentWillUnmount",value:function(){this.removeScrollListener()}},{key:"accept",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.props,n=t.cookieName,r=t.cookieValue,l=t.hideOnAccept,a=t.onAccept;this.setCookie(n,r),a(null!=e&&e),l&&(this.setState({visible:!1}),this.removeScrollListener())}},{key:"overlayClick",value:function(){var e=this.props,t=e.acceptOnOverlayClick,n=e.onOverlayClick;t&&this.accept(),n()}},{key:"decline",value:function(){var e=this.props,t=e.cookieName,n=e.declineCookieValue,r=e.hideOnDecline,l=e.onDecline;e.setDeclineCookie&&this.setCookie(t,n),l(),r&&this.setState({visible:!1})}},{key:"setCookie",value:function(e,t){var n=this.props,r=n.extraCookieOptions,l=n.expires,a=n.sameSite,o=this.props.cookieSecurity;void 0===o&&(o=!location||"https:"===location.protocol);var i=p(p({expires:l},r),{},{sameSite:a,secure:o});a===w.NONE&&u().set(E(e),t,i),u().set(e,t,i)}},{key:"getCookieValue",value:function(){var e=this.props.cookieName;return x(e)}},{key:"render",value:function(){var e=this;switch(this.props.visible){case S.HIDDEN:return null;case S.BY_COOKIE_VALUE:if(!this.state.visible)return null}var n=this.props,r=n.location,l=n.style,a=n.buttonStyle,o=n.declineButtonStyle,i=n.contentStyle,u=n.disableStyles,s=n.buttonText,c=n.declineButtonText,d=n.containerClasses,h=n.contentClasses,m=n.buttonClasses,v=n.buttonWrapperClasses,g=n.declineButtonClasses,y=n.buttonId,b=n.declineButtonId,w=n.disableButtonStyles,x=n.enableDeclineButton,C=n.flipButtons,E=n.ButtonComponent,_=n.overlay,T=n.overlayClasses,P=n.overlayStyle,j=n.ariaAcceptLabel,O=n.ariaDeclineLabel,z=n.customContainerAttributes,L=n.customContentAttributes,A=n.customButtonProps,R={},D={},I={},M={},F={};switch(u?(R=f({},l),D=f({},a),I=f({},o),M=f({},i),F=f({},P)):(R=f({},p(p({},this.state.style),l)),M=f({},p(p({},this.state.contentStyle),i)),F=f({},p(p({},this.state.overlayStyle),P)),w?(D=f({},a),I=f({},o)):(D=f({},p(p({},this.state.buttonStyle),a)),I=f({},p(p({},this.state.declineButtonStyle),o)))),r){case k.TOP:R.top="0";break;case k.BOTTOM:R.bottom="0"}var U=[];return x&&U.push(t().createElement(E,{key:"declineButton",style:I,className:g,id:b,"aria-label":O,onClick:function(){e.decline()}},c)),U.push(t().createElement(E,f({},A,{key:"acceptButton",style:D,className:m,id:y,"aria-label":j,onClick:function(){e.accept()}}),s)),C&&U.reverse(),t().createElement(N,{condition:_,wrapper:function(n){return t().createElement("div",{style:F,className:T,onClick:function(){e.overlayClick()}},n)}},t().createElement("div",f({className:"".concat(d),style:R},z),t().createElement("div",f({style:M,className:h},L),this.props.children),t().createElement("div",{className:"".concat(v)},U.map((function(e){return e})))))}}])&&h(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),i}(e.Component);T.propTypes={location:o().oneOf(Object.keys(k).map((function(e){return k[e]}))),visible:o().oneOf(Object.keys(S).map((function(e){return S[e]}))),sameSite:o().oneOf(Object.keys(w).map((function(e){return w[e]}))),style:o().object,buttonStyle:o().object,declineButtonStyle:o().object,contentStyle:o().object,children:o().any,disableStyles:o().bool,hideOnAccept:o().bool,hideOnDecline:o().bool,onAccept:o().func,onDecline:o().func,buttonText:o().oneOfType([o().string,o().func,o().element]),declineButtonText:o().oneOfType([o().string,o().func,o().element]),cookieName:o().string,cookieValue:o().oneOfType([o().string,o().bool,o().number]),declineCookieValue:o().oneOfType([o().string,o().bool,o().number]),setDeclineCookie:o().bool,debug:o().bool,expires:o().number,containerClasses:o().string,contentClasses:o().string,buttonClasses:o().string,buttonWrapperClasses:o().string,declineButtonClasses:o().string,buttonId:o().string,declineButtonId:o().string,extraCookieOptions:o().object,disableButtonStyles:o().bool,enableDeclineButton:o().bool,flipButtons:o().bool,ButtonComponent:o().elementType,cookieSecurity:o().bool,overlay:o().bool,overlayClasses:o().string,overlayStyle:o().object,onOverlayClick:o().func,acceptOnOverlayClick:o().bool,ariaAcceptLabel:o().string,ariaDeclineLabel:o().string,acceptOnScroll:o().bool,acceptOnScrollPercentage:o().number,customContentAttributes:o().object,customContainerAttributes:o().object,customButtonProps:o().object},T.defaultProps={disableStyles:!1,hideOnAccept:!0,hideOnDecline:!0,location:k.BOTTOM,visible:S.BY_COOKIE_VALUE,onAccept:function(){},onDecline:function(){},cookieName:_,cookieValue:!0,declineCookieValue:!1,setDeclineCookie:!0,buttonText:"I understand",declineButtonText:"I decline",debug:!1,expires:365,containerClasses:"CookieConsent",contentClasses:"",buttonClasses:"",buttonWrapperClasses:"",declineButtonClasses:"",buttonId:"rcc-confirm-button",declineButtonId:"rcc-decline-button",extraCookieOptions:{},disableButtonStyles:!1,enableDeclineButton:!1,flipButtons:!1,sameSite:w.LAX,ButtonComponent:function(e){var n=e.children,r=function(e,t){if(null==e)return{};var n,r,l=function(e,t){if(null==e)return{};var n,r,l={},a=Object.keys(e);for(r=0;r=0||(l[n]=e[n]);return l}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(l[n]=e[n])}return l}(e,c);return t().createElement("button",r,n)},overlay:!1,overlayClasses:"",onOverlayClick:function(){},acceptOnOverlayClick:!1,ariaAcceptLabel:"Accept cookies",ariaDeclineLabel:"Decline cookies",acceptOnScroll:!1,acceptOnScrollPercentage:25,customContentAttributes:{},customContainerAttributes:{},customButtonProps:{}};var P=T}(),l}()},463:function(e,t,n){"use strict";var r=n(791),l=n(296);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n