/* Minification failed. Returning unminified contents.
(1,9283-9290): run-time error JS1019: Can't have 'break' outside of loop: break e
(1,7790-7797): run-time error JS1019: Can't have 'break' outside of loop: break e
 */
!function(){"use strict";var e,t={5462:function(e,t,n){var r=n(8763),o=n(2717),i=function(e){o.A.setConsent(["ad-tracking","analytics","social-media"]),location.reload()};t.A=function(e){var t="social-media";return r.Ay.createElement("div",{className:"placeholder",style:{width:e.width,height:e.height}},o.A.consentEnabled()?r.Ay.createElement("label",{className:"placeholder__label",key:t},r.Ay.createElement("input",{className:"placeholder__input",name:t,type:"checkbox",onChange:i}),r.Ay.createElement("span",{className:"placeholder__label-text"},"Update privacy preferences to allow ",e.title),r.Ay.createElement("span",{className:"placeholder__toggle"})):r.Ay.createElement("span",{className:"placeholder__label-text placeholder__label-text--disabled"},e.title,r.Ay.createElement("br",null),"Blocked"))}},6751:function(e,t,n){var r=n(296),o=n(8763),i=n(2717),u=n(5462);t.A=function(e){var t=e.sourceId,n=e.preview,l=(0,o.J0)(!1),c=(0,r.A)(l,2),a=c[0],_=c[1],s=(0,o.J0)(n||!0),f=(0,r.A)(s,2),p=f[0],d=f[1],h="https://i.ytimg.com/vi/".concat(t,"/hqdefault.jpg"),y="https://i.ytimg.com/vi/".concat(t,"/maxresdefault.jpg"),v=(0,o.li)(null);(0,o.vJ)((function(){var e=i.A.getConsent("social-media");if(_(e),e){var n=document.querySelector('[data-source-id="'.concat(t,'"]'));if((n?n.clientWidth:0)>480){var r=new Image;r.onload=function(e){e.target.width>480&&(v.current.style.backgroundImage="url(".concat(y,")"))},r.src=y}}}),[]);return o.Ay.createElement(o.Ay.Fragment,null,a?o.Ay.createElement("div",{className:"youtube-video"},!0===p?o.Ay.createElement("div",{className:"youtube-video-preview"},o.Ay.createElement("button",{ref:v,className:"youtube-video-preview__button","aria-label":"Video Preview",onClick:function(e){return e.preventDefault(),void d({preview:!p})},style:{backgroundImage:"url(".concat(h,")")}},o.Ay.createElement("img",{src:"/images/icons/play-button.png",className:"youtube-video-preview__icon",alt:"Video Icon",loading:"lazy"}))):o.Ay.createElement("iframe",{style:{width:"100%",height:"100%",border:"none"},src:"https://www.youtube.com/embed/".concat(t,"?autoplay=1&rel=0"),allowFullScreen:!0,loading:"lazy"})):o.Ay.createElement(u.A,{title:"YouTube Video",description:"Blocked by privacy settings for social media"}))}},2717:function(e,t,n){var r=n(3029),o=n(2901),i=function(){return(0,o.A)((function e(){(0,r.A)(this,e)}),null,[{key:"consentEnabled",value:function(){return navigator.cookieEnabled}},{key:"getConsent",value:function(e){var t=window.consent;return!!t&&(e?t.indexOf(e)>-1:t)}},{key:"setConsent",value:function(e){Array.isArray(e)&&(this.deleteAllCookies(),this.setCookie("consent",e,365))}},{key:"setCookie",value:function(e,t,n){var r=new Date;r.setTime(r.getTime()+864e5*n),document.cookie=e+"="+JSON.stringify(t)+";path=/;expires="+r.toGMTString()}},{key:"deleteCookie",value:function(e){this.setCookie(e,"",-1)}},{key:"deleteAllCookies",value:function(){var e=this;document.cookie.split(";").forEach((function(t){var n=t.indexOf("="),r=n>-1?t.substr(0,n):t;e.deleteCookie(r)}))}}])}();t.A=i},8763:function(e,t,n){n.d(t,{uA:function(){return k},Ay:function(){return st},XX:function(){return qe},vJ:function(){return ce},li:function(){return _e},J0:function(){return ue}});var r,o,i,u,l,c,a,_,s,f,p,d={},h=[],y=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,v=Array.isArray;function m(e,t){for(var n in t)e[n]=t[n];return e}function b(e){var t=e.parentNode;t&&t.removeChild(e)}function g(e,t,n){var o,i,u,l={};for(u in t)"key"==u?o=t[u]:"ref"==u?i=t[u]:l[u]=t[u];if(arguments.length>2&&(l.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(u in e.defaultProps)void 0===l[u]&&(l[u]=e.defaultProps[u]);return A(e,l,o,i,null)}function A(e,t,n,r,u){var l={type:e,props:t,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==u?++i:u,__i:-1,__u:0};return null==u&&null!=o.vnode&&o.vnode(l),l}function E(e){return e.children}function k(e,t){this.props=e,this.context=t}function w(e,t){if(null==t)return e.__?w(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?w(e):null}function N(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return N(e)}}function C(e){(!e.__d&&(e.__d=!0)&&u.push(e)&&!x.__r++||l!==o.debounceRendering)&&((l=o.debounceRendering)||c)(x)}function x(){var e,t,n,r,i,l,c,_;for(u.sort(a);e=u.shift();)e.__d&&(t=u.length,r=void 0,l=(i=(n=e).__v).__e,c=[],_=[],n.__P&&((r=m({},i)).__v=i.__v+1,o.vnode&&o.vnode(r),D(n.__P,r,i,n.__n,n.__P.namespaceURI,32&i.__u?[l]:null,c,null==l?w(i):l,!!(32&i.__u),_),r.__v=i.__v,r.__.__k[r.__i]=r,U(c,r,_),r.__e!=l&&N(r)),u.length>t&&u.sort(a));x.__r=0}function S(e,t,n,r,o,i,u,l,c,a,_){var s,f,p,y,v,m=r&&r.__k||h,b=t.length;for(n.__d=c,O(n,t,m),c=n.__d,s=0;s<b;s++)null!=(p=n.__k[s])&&"boolean"!=typeof p&&"function"!=typeof p&&(f=-1===p.__i?d:m[p.__i]||d,p.__i=s,D(e,p,f,o,i,u,l,c,a,_),y=p.__e,p.ref&&f.ref!=p.ref&&(f.ref&&B(f.ref,null,p),_.push(p.ref,p.__c||y,p)),null==v&&null!=y&&(v=y),65536&p.__u||f.__k===p.__k?(c&&!c.isConnected&&(c=w(f)),c=P(p,c,e)):"function"==typeof p.type&&void 0!==p.__d?c=p.__d:y&&(c=y.nextSibling),p.__d=void 0,p.__u&=-196609);n.__d=c,n.__e=v}function O(e,t,n){var r,o,i,u,l,c=t.length,a=n.length,_=a,s=0;for(e.__k=[],r=0;r<c;r++)u=r+s,null!=(o=e.__k[r]=null==(o=t[r])||"boolean"==typeof o||"function"==typeof o?null:"string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?A(null,o,null,null,null):v(o)?A(E,{children:o},null,null,null):void 0===o.constructor&&o.__b>0?A(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)?(o.__=e,o.__b=e.__b+1,l=M(o,n,u,_),o.__i=l,i=null,-1!==l&&(_--,(i=n[l])&&(i.__u|=131072)),null==i||null===i.__v?(-1==l&&s--,"function"!=typeof o.type&&(o.__u|=65536)):l!==u&&(l===u+1?s++:l>u?_>c-u?s+=l-u:s--:l<u?l==u-1&&(s=l-u):s=0,l!==r+s&&(o.__u|=65536))):(i=n[u])&&null==i.key&&i.__e&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=w(i)),L(i,i,!1),n[u]=null,_--);if(_)for(r=0;r<a;r++)null!=(i=n[r])&&!(131072&i.__u)&&(i.__e==e.__d&&(e.__d=w(i)),L(i,i))}function P(e,t,n){var r,o;if("function"==typeof e.type){for(r=e.__k,o=0;r&&o<r.length;o++)r[o]&&(r[o].__=e,t=P(r[o],t,n));return t}e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8===t.nodeType);return t}function I(e,t){return t=t||[],null==e||"boolean"==typeof e||(v(e)?e.some((function(e){I(e,t)})):t.push(e)),t}function M(e,t,n,r){var o=e.key,i=e.type,u=n-1,l=n+1,c=t[n];if(null===c||c&&o==c.key&&i===c.type&&!(131072&c.__u))return n;if(r>(null==c||131072&c.__u?0:1))for(;u>=0||l<t.length;){if(u>=0){if((c=t[u])&&!(131072&c.__u)&&o==c.key&&i===c.type)return u;u--}if(l<t.length){if((c=t[l])&&!(131072&c.__u)&&o==c.key&&i===c.type)return l;l++}}return-1}function R(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||y.test(t)?n:n+"px"}function T(e,t,n,r,o){var i;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof r&&(e.style.cssText=r=""),r)for(t in r)n&&t in n||R(e.style,t,"");if(n)for(t in n)r&&n[t]===r[t]||R(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])i=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e||"onFocusOut"===t||"onFocusIn"===t?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+i]=n,n?r?n.u=r.u:(n.u=_,e.addEventListener(t,i?f:s,i)):e.removeEventListener(t,i?f:s,i);else{if("http://www.w3.org/2000/svg"==o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=t&&"height"!=t&&"href"!=t&&"list"!=t&&"form"!=t&&"tabIndex"!=t&&"download"!=t&&"rowSpan"!=t&&"colSpan"!=t&&"role"!=t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function j(e){return function(t){if(this.l){var n=this.l[t.type+e];if(null==t.t)t.t=_++;else if(t.t<n.u)return;return n(o.event?o.event(t):t)}}}function D(e,t,n,r,i,u,l,c,a,_){var s,f,p,d,h,y,b,g,A,w,N,C,x,O,P,I=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(a=!!(32&n.__u),u=[c=t.__e=n.__e]),(s=o.__b)&&s(t);e:if("function"==typeof I)try{if(g=t.props,A=(s=I.contextType)&&r[s.__c],w=s?A?A.props.value:s.__:r,n.__c?b=(f=t.__c=n.__c).__=f.__E:("prototype"in I&&I.prototype.render?t.__c=f=new I(g,w):(t.__c=f=new k(g,w),f.constructor=I,f.render=z),A&&A.sub(f),f.props=g,f.state||(f.state={}),f.context=w,f.__n=r,p=f.__d=!0,f.__h=[],f._sb=[]),null==f.__s&&(f.__s=f.state),null!=I.getDerivedStateFromProps&&(f.__s==f.state&&(f.__s=m({},f.__s)),m(f.__s,I.getDerivedStateFromProps(g,f.__s))),d=f.props,h=f.state,f.__v=t,p)null==I.getDerivedStateFromProps&&null!=f.componentWillMount&&f.componentWillMount(),null!=f.componentDidMount&&f.__h.push(f.componentDidMount);else{if(null==I.getDerivedStateFromProps&&g!==d&&null!=f.componentWillReceiveProps&&f.componentWillReceiveProps(g,w),!f.__e&&(null!=f.shouldComponentUpdate&&!1===f.shouldComponentUpdate(g,f.__s,w)||t.__v===n.__v)){for(t.__v!==n.__v&&(f.props=g,f.state=f.__s,f.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),N=0;N<f._sb.length;N++)f.__h.push(f._sb[N]);f._sb=[],f.__h.length&&l.push(f);break e}null!=f.componentWillUpdate&&f.componentWillUpdate(g,f.__s,w),null!=f.componentDidUpdate&&f.__h.push((function(){f.componentDidUpdate(d,h,y)}))}if(f.context=w,f.props=g,f.__P=e,f.__e=!1,C=o.__r,x=0,"prototype"in I&&I.prototype.render){for(f.state=f.__s,f.__d=!1,C&&C(t),s=f.render(f.props,f.state,f.context),O=0;O<f._sb.length;O++)f.__h.push(f._sb[O]);f._sb=[]}else do{f.__d=!1,C&&C(t),s=f.render(f.props,f.state,f.context),f.state=f.__s}while(f.__d&&++x<25);f.state=f.__s,null!=f.getChildContext&&(r=m(m({},r),f.getChildContext())),p||null==f.getSnapshotBeforeUpdate||(y=f.getSnapshotBeforeUpdate(d,h)),S(e,v(P=null!=s&&s.type===E&&null==s.key?s.props.children:s)?P:[P],t,n,r,i,u,l,c,a,_),f.base=t.__e,t.__u&=-161,f.__h.length&&l.push(f),b&&(f.__E=f.__=null)}catch(e){t.__v=null,a||null!=u?(t.__e=c,t.__u|=a?160:32,u[u.indexOf(c)]=null):(t.__e=n.__e,t.__k=n.__k),o.__e(e,t,n)}else null==u&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=H(n.__e,t,n,r,i,u,l,a,_);(s=o.diffed)&&s(t)}function U(e,t,n){t.__d=void 0;for(var r=0;r<n.length;r++)B(n[r],n[++r],n[++r]);o.__c&&o.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){o.__e(e,t.__v)}}))}function H(e,t,n,o,i,u,l,c,a){var _,s,f,p,h,y,m,g=n.props,A=t.props,E=t.type;if("svg"===E?i="http://www.w3.org/2000/svg":"math"===E?i="http://www.w3.org/1998/Math/MathML":i||(i="http://www.w3.org/1999/xhtml"),null!=u)for(_=0;_<u.length;_++)if((h=u[_])&&"setAttribute"in h==!!E&&(E?h.localName===E:3===h.nodeType)){e=h,u[_]=null;break}if(null==e){if(null===E)return document.createTextNode(A);e=document.createElementNS(i,E,A.is&&A),u=null,c=!1}if(null===E)g===A||c&&e.data===A||(e.data=A);else{if(u=u&&r.call(e.childNodes),g=n.props||d,!c&&null!=u)for(g={},_=0;_<e.attributes.length;_++)g[(h=e.attributes[_]).name]=h.value;for(_ in g)if(h=g[_],"children"==_);else if("dangerouslySetInnerHTML"==_)f=h;else if("key"!==_&&!(_ in A)){if("value"==_&&"defaultValue"in A||"checked"==_&&"defaultChecked"in A)continue;T(e,_,null,h,i)}for(_ in A)h=A[_],"children"==_?p=h:"dangerouslySetInnerHTML"==_?s=h:"value"==_?y=h:"checked"==_?m=h:"key"===_||c&&"function"!=typeof h||g[_]===h||T(e,_,h,g[_],i);if(s)c||f&&(s.__html===f.__html||s.__html===e.innerHTML)||(e.innerHTML=s.__html),t.__k=[];else if(f&&(e.innerHTML=""),S(e,v(p)?p:[p],t,n,o,"foreignObject"===E?"http://www.w3.org/1999/xhtml":i,u,l,u?u[0]:n.__k&&w(n,0),c,a),null!=u)for(_=u.length;_--;)null!=u[_]&&b(u[_]);c||(_="value",void 0!==y&&(y!==e[_]||"progress"===E&&!y||"option"===E&&y!==g[_])&&T(e,_,y,g[_],i),_="checked",void 0!==m&&m!==e[_]&&T(e,_,m,g[_],i))}return e}function B(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){o.__e(e,n)}}function L(e,t,n){var r,i;if(o.unmount&&o.unmount(e),(r=e.ref)&&(r.current&&r.current!==e.__e||B(r,null,t)),null!=(r=e.__c)){if(r.componentWillUnmount)try{r.componentWillUnmount()}catch(e){o.__e(e,t)}r.base=r.__P=null}if(r=e.__k)for(i=0;i<r.length;i++)r[i]&&L(r[i],t,n||"function"!=typeof e.type);n||null==e.__e||b(e.__e),e.__c=e.__=e.__e=e.__d=void 0}function z(e,t,n){return this.constructor(e,n)}function V(e,t,n){var i,u,l,c;o.__&&o.__(e,t),u=(i="function"==typeof n)?null:n&&n.__k||t.__k,l=[],c=[],D(t,e=(!i&&n||t).__k=g(E,null,[e]),u||d,d,t.namespaceURI,!i&&n?[n]:u?null:t.firstChild?r.call(t.childNodes):null,l,!i&&n?n:u?u.__e:t.firstChild,i,c),U(l,e,c)}function F(e,t){V(e,t,F)}function W(e,t,n){var o,i,u,l,c=m({},e.props);for(u in e.type&&e.type.defaultProps&&(l=e.type.defaultProps),t)"key"==u?o=t[u]:"ref"==u?i=t[u]:c[u]=void 0===t[u]&&void 0!==l?l[u]:t[u];return arguments.length>2&&(c.children=arguments.length>3?r.call(arguments,2):n),A(e.type,c,o||e.key,i||e.ref,null)}r=h.slice,o={__e:function(e,t,n,r){for(var o,i,u;t=t.__;)if((o=t.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(e)),u=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,r||{}),u=o.__d),u)return o.__E=o}catch(t){e=t}throw e}},i=0,k.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=m({},this.state),"function"==typeof e&&(e=e(m({},n),this.props)),e&&m(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),C(this))},k.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),C(this))},k.prototype.render=E,u=[],c="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,a=function(e,t){return e.__v.__b-t.__v.__b},x.__r=0,_=0,s=j(!1),f=j(!0),p=0;var $,X,q,J,G=0,Y=[],Z=[],K=o,Q=K.__b,ee=K.__r,te=K.diffed,ne=K.__c,re=K.unmount,oe=K.__;function ie(e,t){K.__h&&K.__h(X,e,G||t),G=0;var n=X.__H||(X.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({__V:Z}),n.__[e]}function ue(e){return G=1,le(ke,e)}function le(e,t,n){var r=ie($++,2);if(r.t=e,!r.__c&&(r.__=[n?n(t):ke(void 0,t),function(e){var t=r.__N?r.__N[0]:r.__[0],n=r.t(t,e);t!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=X,!X.u)){var o=function(e,t,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter((function(e){return!!e.__c}));if(o.every((function(e){return!e.__N})))return!i||i.call(this,e,t,n);var u=!1;return o.forEach((function(e){if(e.__N){var t=e.__[0];e.__=e.__N,e.__N=void 0,t!==e.__[0]&&(u=!0)}})),!(!u&&r.__c.props===e)&&(!i||i.call(this,e,t,n))};X.u=!0;var i=X.shouldComponentUpdate,u=X.componentWillUpdate;X.componentWillUpdate=function(e,t,n){if(this.__e){var r=i;i=void 0,o(e,t,n),i=r}u&&u.call(this,e,t,n)},X.shouldComponentUpdate=o}return r.__N||r.__}function ce(e,t){var n=ie($++,3);!K.__s&&Ee(n.__H,t)&&(n.__=e,n.i=t,X.__H.__h.push(n))}function ae(e,t){var n=ie($++,4);!K.__s&&Ee(n.__H,t)&&(n.__=e,n.i=t,X.__h.push(n))}function _e(e){return G=5,fe((function(){return{current:e}}),[])}function se(e,t,n){G=6,ae((function(){return"function"==typeof e?(e(t()),function(){return e(null)}):e?(e.current=t(),function(){return e.current=null}):void 0}),null==n?n:n.concat(e))}function fe(e,t){var n=ie($++,7);return Ee(n.__H,t)?(n.__V=e(),n.i=t,n.__h=e,n.__V):n.__}function pe(e,t){return G=8,fe((function(){return e}),t)}function de(e){var t=X.context[e.__c],n=ie($++,9);return n.c=e,t?(null==n.__&&(n.__=!0,t.sub(X)),t.props.value):e.__}function he(e,t){K.useDebugValue&&K.useDebugValue(t?t(e):e)}function ye(){var e=ie($++,11);if(!e.__){for(var t=X.__v;null!==t&&!t.__m&&null!==t.__;)t=t.__;var n=t.__m||(t.__m=[0,0]);e.__="P"+n[0]+"-"+n[1]++}return e.__}function ve(){for(var e;e=Y.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(ge),e.__H.__h.forEach(Ae),e.__H.__h=[]}catch(t){e.__H.__h=[],K.__e(t,e.__v)}}K.__b=function(e){X=null,Q&&Q(e)},K.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),oe&&oe(e,t)},K.__r=function(e){ee&&ee(e),$=0;var t=(X=e.__c).__H;t&&(q===X?(t.__h=[],X.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=Z,e.__N=e.i=void 0}))):(t.__h.forEach(ge),t.__h.forEach(Ae),t.__h=[],$=0)),q=X},K.diffed=function(e){te&&te(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==Y.push(t)&&J===K.requestAnimationFrame||((J=K.requestAnimationFrame)||be)(ve)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==Z&&(e.__=e.__V),e.i=void 0,e.__V=Z}))),q=X=null},K.__c=function(e,t){t.some((function(e){try{e.__h.forEach(ge),e.__h=e.__h.filter((function(e){return!e.__||Ae(e)}))}catch(n){t.some((function(e){e.__h&&(e.__h=[])})),t=[],K.__e(n,e.__v)}})),ne&&ne(e,t)},K.unmount=function(e){re&&re(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.forEach((function(e){try{ge(e)}catch(e){t=e}})),n.__H=void 0,t&&K.__e(t,n.__v))};var me="function"==typeof requestAnimationFrame;function be(e){var t,n=function(){clearTimeout(r),me&&cancelAnimationFrame(t),setTimeout(e)},r=setTimeout(n,100);me&&(t=requestAnimationFrame(n))}function ge(e){var t=X,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),X=t}function Ae(e){var t=X;e.__c=e.__(),X=t}function Ee(e,t){return!e||e.length!==t.length||t.some((function(t,n){return t!==e[n]}))}function ke(e,t){return"function"==typeof t?t(e):t}function we(e,t){for(var n in t)e[n]=t[n];return e}function Ne(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var r in t)if("__source"!==r&&e[r]!==t[r])return!0;return!1}function Ce(e,t){this.props=e,this.context=t}(Ce.prototype=new k).isPureReactComponent=!0,Ce.prototype.shouldComponentUpdate=function(e,t){return Ne(this.props,e)||Ne(this.state,t)};var xe=o.__b;o.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),xe&&xe(e)};var Se="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;var Oe=function(e,t){return null==e?null:I(I(e).map(t))},Pe={map:Oe,forEach:Oe,count:function(e){return e?I(e).length:0},only:function(e){var t=I(e);if(1!==t.length)throw"Children.only";return t[0]},toArray:I},Ie=o.__e;o.__e=function(e,t,n,r){if(e.then)for(var o,i=t;i=i.__;)if((o=i.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);Ie(e,t,n,r)};var Me=o.unmount;function Re(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=we({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return Re(e,t,n)}))),e}function Te(e,t,n){return e&&n&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return Te(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.appendChild(e.__e),e.__c.__e=!0,e.__c.__P=n)),e}function je(){this.__u=0,this.t=null,this.__b=null}function De(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function Ue(){this.u=null,this.o=null}o.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&32&e.__u&&(e.type=null),Me&&Me(e)},(je.prototype=new k).__c=function(e,t){var n=t.__c,r=this;null==r.t&&(r.t=[]),r.t.push(n);var o=De(r.__v),i=!1,u=function(){i||(i=!0,n.__R=null,o?o(l):l())};n.__R=u;var l=function(){if(! --r.__u){if(r.state.__a){var e=r.state.__a;r.__v.__k[0]=Te(e,e.__c.__P,e.__c.__O)}var t;for(r.setState({__a:r.__b=null});t=r.t.pop();)t.forceUpdate()}};r.__u++||32&t.__u||r.setState({__a:r.__b=r.__v.__k[0]}),e.then(u,u)},je.prototype.componentWillUnmount=function(){this.t=[]},je.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=Re(this.__b,n,r.__O=r.__P)}this.__b=null}var o=t.__a&&g(E,null,e.fallback);return o&&(o.__u&=-33),[g(E,null,t.__a?null:e.children),o]};var He=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function Be(e){return this.getChildContext=function(){return e.context},e.children}function Le(e){var t=this,n=e.i;t.componentWillUnmount=function(){V(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),V(g(Be,{context:t.context},e.__v),t.l)}(Ue.prototype=new k).__a=function(e){var t=this,n=De(t.__v),r=t.o.get(e);return r[0]++,function(o){var i=function(){t.props.revealOrder?(r.push(o),He(t,e,r)):o()};n?n(i):i()}},Ue.prototype.render=function(e){this.u=null,this.o=new Map;var t=I(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},Ue.prototype.componentDidUpdate=Ue.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){He(e,n,t)}))};var ze="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,Ve=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,Fe=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,We=/[A-Z0-9]/g,$e="undefined"!=typeof document,Xe=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(e)};function qe(e,t,n){return null==t.__k&&(t.textContent=""),V(e,t),"function"==typeof n&&n(),e?e.__c:null}k.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(k.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var Je=o.event;function Ge(){}function Ye(){return this.cancelBubble}function Ze(){return this.defaultPrevented}o.event=function(e){return Je&&(e=Je(e)),e.persist=Ge,e.isPropagationStopped=Ye,e.isDefaultPrevented=Ze,e.nativeEvent=e};var Ke,Qe={enumerable:!1,configurable:!0,get:function(){return this.class}},et=o.vnode;o.vnode=function(e){"string"==typeof e.type&&function(e){var t=e.props,n=e.type,r={};for(var o in t){var i=t[o];if(!("value"===o&&"defaultValue"in t&&null==i||$e&&"children"===o&&"noscript"===n||"class"===o||"className"===o)){var u=o.toLowerCase();"defaultValue"===o&&"value"in t&&null==t.value?o="value":"download"===o&&!0===i?i="":"translate"===u&&"no"===i?i=!1:"ondoubleclick"===u?o="ondblclick":"onchange"!==u||"input"!==n&&"textarea"!==n||Xe(t.type)?"onfocus"===u?o="onfocusin":"onblur"===u?o="onfocusout":Fe.test(o)?o=u:-1===n.indexOf("-")&&Ve.test(o)?o=o.replace(We,"-$&").toLowerCase():null===i&&(i=void 0):u=o="oninput","oninput"===u&&r[o=u]&&(o="oninputCapture"),r[o]=i}}"select"==n&&r.multiple&&Array.isArray(r.value)&&(r.value=I(t.children).forEach((function(e){e.props.selected=-1!=r.value.indexOf(e.props.value)}))),"select"==n&&null!=r.defaultValue&&(r.value=I(t.children).forEach((function(e){e.props.selected=r.multiple?-1!=r.defaultValue.indexOf(e.props.value):r.defaultValue==e.props.value}))),t.class&&!t.className?(r.class=t.class,Object.defineProperty(r,"className",Qe)):(t.className&&!t.class||t.class&&t.className)&&(r.class=r.className=t.className),e.props=r}(e),e.$$typeof=ze,et&&et(e)};var tt=o.__r;o.__r=function(e){tt&&tt(e),Ke=e.__c};var nt=o.diffed;o.diffed=function(e){nt&&nt(e);var t=e.props,n=e.__e;null!=n&&"textarea"===e.type&&"value"in t&&t.value!==n.value&&(n.value=null==t.value?"":t.value),Ke=null};var rt={ReactCurrentDispatcher:{current:{readContext:function(e){return Ke.__n[e.__c].props.value},useCallback:pe,useContext:de,useDebugValue:he,useDeferredValue:ut,useEffect:ce,useId:ye,useImperativeHandle:se,useInsertionEffect:ct,useLayoutEffect:ae,useMemo:fe,useReducer:le,useRef:_e,useState:ue,useSyncExternalStore:at,useTransition:lt}}};function ot(e){return!!e&&e.$$typeof===ze}function it(e){e()}function ut(e){return e}function lt(){return[!1,it]}var ct=ae;function at(e,t){var n=t(),r=ue({h:{__:n,v:t}}),o=r[0].h,i=r[1];return ae((function(){o.__=n,o.v=t,_t(o)&&i({h:o})}),[e,n,t]),ce((function(){return _t(o)&&i({h:o}),e((function(){_t(o)&&i({h:o})}))}),[e]),n}function _t(e){var t,n,r=e.v,o=e.__;try{var i=r();return!((t=o)===(n=i)&&(0!==t||1/t==1/n)||t!=t&&n!=n)}catch(e){return!0}}var st={useState:ue,useId:ye,useReducer:le,useEffect:ce,useLayoutEffect:ae,useInsertionEffect:ae,useTransition:lt,useDeferredValue:ut,useSyncExternalStore:at,startTransition:it,useRef:_e,useImperativeHandle:se,useMemo:fe,useCallback:pe,useContext:de,useDebugValue:he,version:"17.0.2",Children:Pe,render:qe,hydrate:function(e,t,n){return F(e,t),"function"==typeof n&&n(),e?e.__c:null},unmountComponentAtNode:function(e){return!!e.__k&&(V(null,e),!0)},createPortal:function(e,t){var n=g(Le,{__v:e,i:t});return n.containerInfo=t,n},createElement:g,createContext:function(e,t){var n={__c:t="__cC"+p++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,r;return this.getChildContext||(n=[],(r={})[t]=this,this.getChildContext=function(){return r},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,C(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n},createFactory:function(e){return g.bind(null,e)},cloneElement:function(e){return ot(e)?W.apply(null,arguments):e},createRef:function(){return{current:null}},Fragment:E,isValidElement:ot,isElement:ot,isFragment:function(e){return ot(e)&&e.type===E},isMemo:function(e){return!!e&&!!e.displayName&&("string"==typeof e.displayName||e.displayName instanceof String)&&e.displayName.startsWith("Memo(")},findDOMNode:function(e){return e&&(e.base||1===e.nodeType&&e)||null},Component:k,PureComponent:Ce,memo:function(e,t){function n(e){var n=this.props.ref,r=n==e.ref;return!r&&n&&(n.call?n(null):n.current=null),t?!t(this.props,e)||!r:Ne(this.props,e)}function r(t){return this.shouldComponentUpdate=n,g(e,t)}return r.displayName="Memo("+(e.displayName||e.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r},forwardRef:function(e){function t(t){var n=we({},t);return delete n.ref,e(n,t.ref||null)}return t.$$typeof=Se,t.render=t,t.prototype.isReactComponent=t.__f=!0,t.displayName="ForwardRef("+(e.displayName||e.name)+")",t},flushSync:function(e,t){return e(t)},unstable_batchedUpdates:function(e,t){return e(t)},StrictMode:E,Suspense:je,SuspenseList:Ue,lazy:function(e){var t,n,r;function o(o){if(t||(t=e()).then((function(e){n=e.default||e}),(function(e){r=e})),r)throw r;if(!n)throw t;return g(n,o)}return o.displayName="Lazy",o.__f=!0,o},__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:rt}},3145:function(e,t,n){function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{A:function(){return r}})},3029:function(e,t,n){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{A:function(){return r}})},2901:function(e,t,n){n.d(t,{A:function(){return i}});var r=n(816);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,(0,r.A)(o.key),o)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},4467:function(e,t,n){n.d(t,{A:function(){return o}});var r=n(816);function o(e,t,n){return(t=(0,r.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},3954:function(e,t,n){function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}n.d(t,{A:function(){return r}})},5361:function(e,t,n){function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}function o(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&&r(e,t)}n.d(t,{A:function(){return o}})},388:function(e,t,n){n.d(t,{A:function(){return o}});var r=n(2284);function o(e,t){if(t&&("object"==(0,r.A)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}},296:function(e,t,n){n.d(t,{A:function(){return o}});var r=n(7800);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,u,l=[],c=!0,a=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){a=!0,o=e}finally{try{if(!c&&null!=n.return&&(u=n.return(),Object(u)!==u))return}finally{if(a)throw o}}return l}}(e,t)||(0,r.A)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},816:function(e,t,n){n.d(t,{A:function(){return o}});var r=n(2284);function o(e){var t=function(e,t){if("object"!=(0,r.A)(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=(0,r.A)(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==(0,r.A)(t)?t:t+""}},2284:function(e,t,n){function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:function(){return r}})},7800:function(e,t,n){n.d(t,{A:function(){return o}});var r=n(3145);function o(e,t){if(e){if("string"==typeof e)return(0,r.A)(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.A)(e,t):void 0}}}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}};return t[e](i,i.exports,r),i.exports}r.m=t,e=[],r.O=function(t,n,o,i){if(!n){var u=1/0;for(_=0;_<e.length;_++){n=e[_][0],o=e[_][1],i=e[_][2];for(var l=!0,c=0;c<n.length;c++)(!1&i||u>=i)&&Object.keys(r.O).every((function(e){return r.O[e](n[c])}))?n.splice(c--,1):(l=!1,i<u&&(u=i));if(l){e.splice(_--,1);var a=o();void 0!==a&&(t=a)}}return t}i=i||0;for(var _=e.length;_>0&&e[_-1][2]>i;_--)e[_]=e[_-1];e[_]=[n,o,i]},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},function(){var e={76:0};r.O.j=function(t){return 0===e[t]};var t=function(t,n){var o,i,u=n[0],l=n[1],c=n[2],a=0;if(u.some((function(t){return 0!==e[t]}))){for(o in l)r.o(l,o)&&(r.m[o]=l[o]);if(c)var _=c(r)}for(t&&t(n);a<u.length;a++)i=u[a],r.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return r.O(_)},n=self.webpackChunkdsc_com=self.webpackChunkdsc_com||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}();var o,i,u,l={};!function(){var e=r(8763),t=r(3029),n=r(2901),o=r(388),i=r(3954),u=r(5361),l=r(4467);function c(e,t,n){return t=(0,i.A)(t),(0,o.A)(e,a()?Reflect.construct(t,n||[],(0,i.A)(e).constructor):t.apply(e,n))}function a(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(a=function(){return!!e})()}var _=function(r){function o(){var e;(0,t.A)(this,o);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return e=c(this,o,[].concat(r)),(0,l.A)(e,"state",{open:!1}),(0,l.A)(e,"open",(function(){e.setState({open:!0})})),(0,l.A)(e,"close",(function(){e.setState({open:!1})})),e}return(0,u.A)(o,r),(0,n.A)(o,[{key:"componentDidMount",value:function(){document.getElementById("wrap").classList.add("waActive")}},{key:"render",value:function(){var t=this.props,n=t.content,r=t.bodyText,o=(t.alertId,t.imageUrl);t.severity;return e.Ay.createElement("div",{className:"alert"},e.Ay.createElement("div",{className:"alert-banner",onClick:this.open},e.Ay.createElement("div",{className:"alert-banner__title"},e.Ay.createElement("svg",{role:"img","aria-label":"Banner Icon",className:"alert-banner__icon","aria-hidden":"true",viewBox:"0 0 576 512"},e.Ay.createElement("path",{d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"})),n),e.Ay.createElement("div",{className:"alert-banner__open"},e.Ay.createElement("span",{className:"open"},"Open"))),this.state.open&&e.Ay.createElement("div",null,e.Ay.createElement("div",{className:"alert-popup-background"}),e.Ay.createElement("div",{className:"alert-popup"},e.Ay.createElement("div",{className:"alert-popup__header"},e.Ay.createElement("div",{className:"alert-popup__close",onClick:this.close},"Close ",e.Ay.createElement("span",null,"X")),e.Ay.createElement("div",{className:"alert-popup__title"},e.Ay.createElement("svg",{role:"img","aria-label":"Popup Icon",className:"alert-popup__icon","aria-hidden":"true",viewBox:"0 0 576 512"},e.Ay.createElement("path",{d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"})),n)),e.Ay.createElement("div",{className:"alert-content"},null!==o&&o.length>0&&e.Ay.createElement("img",{className:"alert-content__image",src:o,alt:"Alert"}),e.Ay.createElement("div",{className:"alert-content__text",dangerouslySetInnerHTML:{__html:r}})))))}}])}(e.uA),s=_,f=document.getElementById("emergency-alert-component");try{if(f){var p=f.getAttribute("data-content"),d=f.getAttribute("data-body-text"),h=f.getAttribute("data-image-url"),y=f.getAttribute("data-alert-id"),v=f.getAttribute("data-severity");(0,e.XX)(e.Ay.createElement(s,{content:p,bodyText:d,imageUrl:h,alertId:y,severity:v}),f)}}catch(e){}}(),function(){var e=r(8763),t=r(3029),n=r(2901),o=r(388),i=r(3954),u=r(5361);function l(e,t,n){return t=(0,i.A)(t),(0,o.A)(e,c()?Reflect.construct(t,n||[],(0,i.A)(e).constructor):t.apply(e,n))}function c(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(c=function(){return!!e})()}var a=function(r){function o(e){var n;return(0,t.A)(this,o),(n=l(this,o,[e])).state={showIndex:0,weather:n.props.weather||[]},n}return(0,u.A)(o,r),(0,n.A)(o,[{key:"componentDidMount",value:function(){var e=this;this.interval=setInterval((function(){var t=e.state,n=t.showIndex;n<t.weather.length-1?n++:n=0,e.setState({showIndex:n})}),5e3)}},{key:"render",value:function(){var t=this.state,n=t.showIndex,r=t.weather;return e.Ay.createElement(e.Ay.Fragment,null,r.map((function(t,r){return e.Ay.createElement("div",{className:"weather",style:"opacity: "+(r===n?"1":"0"),key:r},e.Ay.createElement("div",{className:"weather__icon"},e.Ay.createElement("span",{className:"icon-".concat(t.icon)})),e.Ay.createElement("div",null,e.Ay.createElement("span",{className:"weather__temperature"},t.temperature,"°"),e.Ay.createElement("span",{className:"weather__units"},t.units),e.Ay.createElement("span",{className:"weather__city-name"},t.cityName)))})))}}])}(e.uA),_=a,s=document.getElementById("weather-component"),f=JSON.parse(s.getAttribute("data-weather")).map((function(e){var t=Math.round(Number(e.Temperature));return{id:e.Id,temperature:t,units:"F",cityName:e.CityName,icon:e.Icon}}));(0,e.XX)(e.Ay.createElement(_,{weather:f}),s)}(),o=r(8763),i=r(6751),(u=Array.from(document.querySelectorAll(".youtube-video-component")))&&u.forEach((function(e){try{var t=e.getAttribute("data-source-id");(0,o.XX)(o.Ay.createElement(i.A,{sourceId:t}),e)}catch(e){console.log("ERROR",e)}})),function(){var e=r(8763),t=r(3029),n=r(2901),o=r(388),i=r(3954),u=r(5361),l=r(4467),c=r(2717);function a(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}function _(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,l.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t,n){return t=(0,i.A)(t),(0,o.A)(e,f()?Reflect.construct(t,n||[],(0,i.A)(e).constructor):t.apply(e,n))}function f(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(f=function(){return!!e})()}var p=function(r){function o(e){var n;return(0,t.A)(this,o),n=s(this,o,[e]),(0,l.A)(n,"handleInputChange",(function(e){var t="checkbox"===e.target.type?e.target.checked:e.target.value,r=e.target.name,o=n.state.consent.map((function(e){return _(_({},e),{},{status:e.key===r?t:e.status})}));n.setState({consent:o})})),(0,l.A)(n,"save",(function(e){e.preventDefault();var t=n.state.consent.filter((function(e){return!0===e.status})).map((function(e){return e.key}));c.A.setConsent(t),location.reload()})),(0,l.A)(n,"activate",(function(e){e.preventDefault(),n.setState({isActive:!0,isExpanded:!0})})),(0,l.A)(n,"expand",(function(e){e.preventDefault(),n.setState({isExpanded:!n.state.isExpanded})})),n.state={consent:[],isSaved:!1,isActive:!1,isExpanded:!1},n}return(0,u.A)(o,r),(0,n.A)(o,[{key:"componentDidMount",value:function(){var e=c.A.getConsent();this.initializeConsent(e)}},{key:"initializeConsent",value:function(e){var t=Array.isArray(e);t||c.A.deleteAllCookies();var n=[{key:"ad-tracking",title:"Tailored Ads",description:"Get ads tailored to your interests to help you discover the best of South Carolina."},{key:"analytics",title:"Website Experience",description:"The data we collect on how you use this site helps us provide you with a better experience."},{key:"social-media",title:"Social Media Integration",description:"By opting into this feature, you don’t have to leave our website to see additional content."}],r=n.map((function(e){return _(_({},e),{},{status:!0})}));Array.isArray(e)&&(r=n.map((function(t){return _(_({},t),{},{status:e.indexOf(t.key)>-1})}))),this.setState({consent:r,isSaved:t})}},{key:"render",value:function(){var t=this,n=this.state,r=n.consent,o=n.isSaved,i=n.isActive,u=n.isExpanded;return c.A.consentEnabled()?e.Ay.createElement("div",null,(!o||i)&&e.Ay.createElement("div",{className:"consent"},e.Ay.createElement("form",{className:"consent__form"},e.Ay.createElement("ul",{className:"consent__list "+(u?"consent__list--active":"")},r.map((function(n){return e.Ay.createElement("li",{className:"consent__item"},e.Ay.createElement("label",{className:"consent__label",key:n.key},e.Ay.createElement("input",{className:"consent__input",name:n.key,type:"checkbox",checked:n.status,onChange:t.handleInputChange}),e.Ay.createElement("span",{className:"consent__label-text"},n.title),e.Ay.createElement("span",{className:"consent__toggle"})),e.Ay.createElement("span",{className:"consent__help"},e.Ay.createElement("span",{className:"consent__description"},n.description)," ",e.Ay.createElement("a",{href:"https://www.scprt.com/privacy-policy#"+n.key,target:"_blank",rel:"noopener",className:"consent__link"},"Learn more")))}))),e.Ay.createElement("p",{className:"consent__terms"},"By accepting and opting into the privacy settings for tailored ads, website experience, and social media integration, you’ll enjoy a more robust experience. ",e.Ay.createElement("a",{className:"consent__link",href:"https://www.scprt.com/privacy-policy#consent",target:"_blank",rel:"noopener"},"Privacy Policy")),e.Ay.createElement("div",{className:"consent__buttons"},e.Ay.createElement("button",{className:"consent__button consent__button--details",onClick:function(e){return t.expand(e)}},"Details"),e.Ay.createElement("button",{className:"consent__button consent__button--accept",onClick:function(e){return t.save(e)}},"Okay")))),e.Ay.createElement("button",{className:"consent-footer",onClick:function(e){return t.activate(e)}},e.Ay.createElement("svg",{role:"img","aria-label":"Privacy Icon",className:"privacy__icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 48.63 45.9"},e.Ay.createElement("path",{d:"M21.29 42.59C9.55 42.59 0 33.03 0 21.29S9.55 0 21.29 0c4.93 0 9.75 1.73 13.54 4.86A21.36 21.36 0 0 1 42.15 17c.08.41-.18.8-.58.89a.76.76 0 0 1-.89-.58c-.9-4.4-3.32-8.41-6.8-11.28-3.53-2.91-8-4.52-12.59-4.52C10.38 1.5 1.5 10.38 1.5 21.29s8.88 19.79 19.79 19.79c2.01 0 3.99-.3 5.89-.89.4-.12.82.1.94.49.12.4-.1.82-.49.94-2.05.64-4.18.97-6.34.97z"}),e.Ay.createElement("path",{class:"st1",d:"M21.29 42.59c-3.44 0-6.64-2.27-9.01-6.39-2.3-3.99-3.56-9.28-3.56-14.9s1.27-10.91 3.56-14.9C14.65 2.27 17.85 0 21.29 0c2.97 0 5.84 1.75 8.09 4.94 2.14 3.04 3.64 7.26 4.22 11.89.05.41-.24.79-.65.84a.753.753 0 0 1-.84-.65C30.99 8.03 26.44 1.5 21.29 1.5c-2.88 0-5.62 2-7.71 5.64-2.17 3.77-3.36 8.79-3.36 14.15 0 5.36 1.19 10.38 3.36 14.15 2.09 3.64 4.83 5.64 7.71 5.64a.755.755 0 0 1 0 1.51z"}),e.Ay.createElement("path",{class:"st1",d:"M21.29 12.23c-5.96 0-11.67-1.47-15.68-4.04a.745.745 0 0 1-.23-1.03c.22-.35.69-.45 1.04-.23 3.78 2.42 9.2 3.8 14.87 3.8 5.68 0 11.1-1.39 14.87-3.8.35-.22.81-.12 1.04.23.22.35.12.81-.23 1.04-4 2.56-9.72 4.03-15.68 4.03zM4.93 34.47a.75.75 0 0 1-.45-1.35c4.05-3.07 10.18-4.82 16.81-4.82.94 0 1.88.04 2.81.11a.752.752 0 1 1-.12 1.5c-.89-.07-1.79-.1-2.69-.1-6.31 0-12.11 1.65-15.91 4.52-.13.09-.29.14-.45.14z"}),e.Ay.createElement("path",{class:"st1",d:"M21.29 42.59c-.41 0-.75-.34-.75-.75V.75c0-.41.34-.75.75-.75s.75.34.75.75v41.09c0 .41-.33.75-.75.75z"}),e.Ay.createElement("path",{class:"st1",d:"M24.05 22.04H.75a.749.749 0 1 1 0-1.5h23.3c.41 0 .75.34.75.75 0 .42-.33.75-.75.75z"}),e.Ay.createElement("g",null,e.Ay.createElement("path",{class:"st1",d:"M37.79 45.9a.73.73 0 0 1-.35-.09c-3.99-2.14-6.72-4.03-8.35-5.77-1.46-1.56-2.15-3.09-2.15-4.81 0-1.63.01-12.72.01-12.83 0-.41.34-.75.75-.75 5.96 0 9.52-3.58 9.56-3.62.14-.14.33-.23.54-.23s.4.08.54.23c.03.04 3.63 3.62 9.56 3.62a.75.75 0 0 1 .75.75c0 .11-.03 10.83-.03 12.83 0 1.67-.75 3.28-2.28 4.9-1.68 1.78-4.36 3.64-8.18 5.69-.13.05-.25.08-.37.08zm-9.35-22.78c0 2.52-.01 10.72-.01 12.1 0 3.48 4.45 6.42 9.36 9.07 8.34-4.54 9.31-7.35 9.31-9.07 0-1.69.02-9.63.03-12.1-4.85-.22-8.11-2.53-9.34-3.57-1.23 1.04-4.49 3.35-9.35 3.57z"}),e.Ay.createElement("path",{class:"st1",d:"M34.83 36.56c-.2 0-.4-.08-.54-.23l-2.51-2.62c-.29-.3-.28-.77.02-1.06.3-.29.77-.28 1.06.02l1.96 2.05 8.42-8.8c.29-.3.76-.31 1.06-.02.3.29.31.76.02 1.06l-8.96 9.37c-.13.14-.32.23-.53.23z"}))),"Privacy Preferences")):null}}])}(e.uA),d=document.getElementById("consent-component");if(d)try{(0,e.XX)(e.Ay.createElement(p,null),d)}catch(e){console.log("ERROR",e)}}(),l=r.O(l)}();;
