!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("@arc-fusion/prop-types"),require("prop-types"),require("fusion:jsx:context"),require("fusion:properties"),require("styled-components"),require("fusion:jsx:content"),require("fusion:intl"),require("fusion:themes"),require("fusion:jsx:static"),require("fusion:jsx:consumer"),require("fusion:environment"),require("fusion:prop-types"),require("react-dom"),require("fusion:jsx:layout"),require("fusion:jsx:quarantine"),require("fusion:unpack")):"function"==typeof define&&define.amd?define([,,,,,,,,,,,,,,,,],t):"object"==typeof exports?exports.components=t(require("react"),require("@arc-fusion/prop-types"),require("prop-types"),require("fusion:jsx:context"),require("fusion:properties"),require("styled-components"),require("fusion:jsx:content"),require("fusion:intl"),require("fusion:themes"),require("fusion:jsx:static"),require("fusion:jsx:consumer"),require("fusion:environment"),require("fusion:prop-types"),require("react-dom"),require("fusion:jsx:layout"),require("fusion:jsx:quarantine"),require("fusion:unpack")):(e.Fusion=e.Fusion||{},e.Fusion.components=t(e.React,e.PropTypes,e.PropTypes,e.Fusion.Context,e.Fusion.getProperties,e.StyledComponents,e.Fusion.Content,e.Fusion.getTranslatedPhrases,e.Fusion.getThemeStyle,e.Fusion.Static,e.Fusion.Consumer,e.Fusion.environment,e.PropTypes,e.ReactDOM,e.Fusion.Layout,e.Fusion.Quarantine,e.Fusion.unpack))}(this,(function(e,t,n,r,o,i,a,l,c,s,u,d,f,p,h,b,m){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/pf/dist/components/combinations/",n(n.s=113)}([function(e,t,n){"use strict";e.exports=n(118)},function(t,n){t.exports=e},function(e,n){e.exports=t},function(e,t){e.exports=n},function(e,t,n){"use strict";var r=n(1),o=n.n(r),i=n(7),a=n.n(i),l=n(3),c=n.n(l),s=n(12),u=n.n(s),d=n(5),f=n(275),p=n(276),h=n(90),b=n(91),m=n(277),g=(n(121),n(0));function v(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 y(e){for(var t=1;t0&&O.map((function(e){if("author"===e.type){var t,n,r=(null==e?void 0:null===(t=e.additional_properties)||void 0===t?void 0:null===(n=t.original)||void 0===n?void 0:n.byline)||(null==e?void 0:e.name),o=null==e?void 0:e.url;if(r)return o?'').concat(r,""):r}return null})).filter((function(e){return null!=e})),w=j.length,x=" ";if(w)switch(w){case 1:x+="".concat(j[0]);break;case 2:x+="".concat(j[0]," ").concat(v.t("byline.and-text")," ").concat(j[1]);break;default:for(var S=0;S0&&void 0!==arguments[0]?arguments[0]:"above",n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"headlineMargin",r={above:{headlineMargin:"margin-md-top"},below:{headlineMargin:"margin-md-bottom"}};return(null==r?void 0:null===(e=r[t])||void 0===e?void 0:e[n])||""},qe=n(279),We=n(25);n(80);function Ye(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 Ge(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n-1},E.prototype.set=function(e,t){var n=this.__data__,r=L(n,e);return r<0?n.push([e,t]):n[r][1]=t,this},P.prototype.clear=function(){this.__data__={hash:new C,map:new(x||E),string:new C}},P.prototype.delete=function(e){return I(this,e).delete(e)},P.prototype.get=function(e){return I(this,e).get(e)},P.prototype.has=function(e){return I(this,e).has(e)},P.prototype.set=function(e,t){return I(this,e).set(e,t),this};var D=M((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(B(e))return k?k.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var n=[];return o.test(e)&&n.push(""),e.replace(i,(function(e,t,r,o){n.push(r?o.replace(a,"$1"):t||e)})),n}));function R(e){if("string"==typeof e||B(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function M(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a),a};return n.cache=new(M.Cache||P),n}M.Cache=P;var F=Array.isArray;function z(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function B(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==y.call(e)}e.exports=function(e,t,n){var r=null==e?void 0:T(e,t);return void 0===r?n:r}}).call(this,n(23))},function(e,t){e.exports=s},function(e,t){e.exports=u},function(e,t,n){"use strict";t.a=function(){return"undefined"==typeof window}},function(e,t,n){"use strict";var r=n(1),o=n.n(r),i=n(3),a=n.n(i),l=n(94),c=n.n(l);let s;const u=(e,t,n)=>(void 0===s&&(s="undefined"!=typeof window&&"IntersectionObserver"in window),s?((e,t,{offsetBottom:n=0,offsetLeft:r=0,offsetRight:o=0,offsetTop:i=0}={})=>{const a=new IntersectionObserver(([e])=>{t(e.isIntersecting)},{root:null,rootMargin:`${n}px ${r}px ${i}px ${o}px`});return a.observe(e),()=>{a.unobserve(e)}})(e,t,n):((e,t,{offsetBottom:n=0,offsetLeft:r=0,offsetRight:o=0,offsetTop:i=0,throttle:a=100}={})=>{let l;const s=()=>{const a=!!e&&function(e,{offsetBottom:t,offsetLeft:n,offsetRight:r,offsetTop:o}){if(!function(e){return"isConnected"in e?e.isConnected:document.body.contains(e)}(e))return!1;const i=e.getBoundingClientRect();return i.bottom+t>=0&&i.left-n<=window.innerWidth&&i.right+r>=0&&i.top-o<=window.innerHeight}(e,{offsetBottom:n,offsetLeft:r,offsetRight:o,offsetTop:i});a!==l&&(l=a,t(a))},u=c()(s,a);return s(),window.addEventListener("scroll",u),window.addEventListener("resize",u),()=>{window.removeEventListener("scroll",u),window.removeEventListener("resize",u)}})(e,t,n));function d(e,t,n){void 0===n&&(n={});var o=Object(r.useState)(null),i=o[0],a=o[1],l=Object(r.useMemo)((function(){return n}),[n.enabled,n.offsetBottom,n.offsetLeft,n.offsetRight,n.offsetTop,n.throttle]);return Object(r.useEffect)((function(){if(i&&!1!==l.enabled)return e(i,t,l)}),[i,t,l]),a}function f(){return(f=Object.assign||function(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,["children","renderPlaceholder"]),c=Object(r.useState)(!1),s=c[0],p=(t=c[1],void 0===(n=f({enabled:!s},l))&&(n={}),d(u,t,n));return o.a.createElement(r.Fragment,null,s?i:a(p))},h=function(e){return o.a.createElement("div",{ref:e})},b=function(e){var t=e.children,n=e.enabled,r=void 0!==n&&n,i=e.offsetTop,a=void 0===i?300:i,l=e.offsetBottom,c=void 0===l?300:l,s=e.offsetLeft,u=void 0===s?0:s,d=e.offsetRight,f=void 0===d?0:d,b=e.throttle,m=void 0===b?100:b,g=e.renderPlaceholder;return r&&"undefined"!=typeof window?o.a.createElement(p,{offsetTop:a,offsetBottom:c,offsetLeft:u,offsetRight:f,throttle:m,renderPlaceholder:g&&"function"==typeof g?g:h},o.a.createElement(o.a.Fragment,null,t)):o.a.createElement(o.a.Fragment,null,t)};b.propTypes={children:a.a.oneOfType([a.a.element,a.a.arrayOf(a.a.element)]),enabled:a.a.bool,offsetTop:a.a.number,offsetBottom:a.a.number,offsetLeft:a.a.number,offsetRight:a.a.number,throttle:a.a.number,renderPlaceholder:a.a.func};t.a=b},function(e,t,n){"use strict";var r,o=n(1),i=n.n(o),a=n(7),l=n.n(a),c=n(3),s=n.n(c),u=n(24),d=function(e){var t=e.resizedImageOptions,n=e.width,r=e.height,o=e.imageSourceWithoutProtocol,a=e.resizerURL,l=e.breakpointWidth,c="".concat(n,"x").concat(r);return!!Object.prototype.hasOwnProperty.call(t,c)&&t[c]?i.a.createElement(i.a.Fragment,null,i.a.createElement("source",{srcSet:Object(u.a)(t["".concat(n,"x").concat(r)],"".concat(n,"x").concat(r),o,a),media:"screen and (min-width: ".concat(l,"px)")})):null};!function(e){e.Eager="eager",e.Lazy="lazy"}(r||(r={}));var f=l.a.picture.withConfig({displayName:"Image__StyledPicture",componentId:"sc-8yioqf-0"})(["> img{max-width:100%;}"]),p=function(e){var t=e.url,n=e.alt,r=e.smallWidth,o=e.smallHeight,a=e.mediumWidth,l=e.mediumHeight,c=e.largeWidth,s=e.largeHeight,p=e.resizedImageOptions,h=e.resizerURL,b=e.breakpoints,m=e.lightBoxWidth,g=e.lightBoxHeight,v=e.loading,y=void 0===v?"lazy":v;if(void 0===t)return null;var O=t.replace("https://","").replace("http://",""),j=b||{},w=j.small,x=void 0===w?0:w,S=j.medium,_=void 0===S?768:S,k=j.large,C=void 0===k?996:k;return t.includes("/resources/")?i.a.createElement(f,null,i.a.createElement("img",{src:t,alt:n,width:c,height:s,loading:y})):void 0===p||void 0===p["".concat(c,"x").concat(s)]?(console.error("no resized options found for url: ".concat(t,".\n \n Target dimensions: ").concat(c,"x").concat(s,'.\n \n Please ensure blocks.json aspectRatio and imageWidths create the above dimensions.\n \n For example, aspectRatios of ["1:0"] and imageWidths of [1440] would create "1440x0".\n \n Please use resized options to save money on serving bigger images than necessary. Consider using resizer content source block or adding the resizer block to content source transform.')),i.a.createElement("img",{src:"",alt:n,width:c,height:s})):i.a.createElement(f,{key:t},i.a.createElement(d,{resizedImageOptions:p,width:c,height:s,imageSourceWithoutProtocol:O,resizerURL:h,breakpointWidth:C}),i.a.createElement(d,{resizedImageOptions:p,width:a,height:l,imageSourceWithoutProtocol:O,resizerURL:h,breakpointWidth:_}),i.a.createElement(d,{resizedImageOptions:p,width:r,height:o,imageSourceWithoutProtocol:O,resizerURL:h,breakpointWidth:x}),void 0===m||void 0===g?i.a.createElement("img",{alt:n,src:Object(u.a)(p["".concat(c,"x").concat(s)],"".concat(c,"x").concat(s),O,h),width:c,height:s,loading:y}):i.a.createElement("img",{alt:n,src:Object(u.a)(p["".concat(c,"x").concat(s)],"".concat(c,"x").concat(s),O,h),"data-lightbox":Object(u.a)(p["".concat(m,"x").concat(g)],"".concat(m,"x").concat(g),O,h),width:c,height:s,loading:y}))};p.propTypes={url:s.a.string,alt:s.a.string,smallWidth:s.a.number,smallHeight:s.a.number,mediumWidth:s.a.number,mediumHeight:s.a.number,largeWidth:s.a.number,largeHeight:s.a.number,resizedImageOptions:s.a.shape({key:s.a.string}),resizerURL:s.a.string,breakpoints:s.a.shape({small:s.a.number,medium:s.a.number,large:s.a.number}),lightBoxWidth:s.a.number,lightBoxHeight:s.a.number,loading:s.a.oneOf([r.Eager,r.Lazy])};t.a=p},function(e,t,n){"use strict";n.r(t),n.d(t,"focusable",(function(){return y})),n.d(t,"isFocusable",(function(){return w})),n.d(t,"isTabbable",(function(){return O})),n.d(t,"tabbable",(function(){return v})); /*! * tabbable 5.3.3 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE */ var r=["input","select","textarea","a[href]","button","[tabindex]:not(slot)","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"details>summary:first-of-type","details"],o=r.join(","),i="undefined"==typeof Element,a=i?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,l=!i&&Element.prototype.getRootNode?function(e){return e.getRootNode()}:function(e){return e.ownerDocument},c=function(e,t,n){var r=Array.prototype.slice.apply(e.querySelectorAll(o));return t&&a.call(e,o)&&r.unshift(e),r=r.filter(n)},s=function e(t,n,r){for(var i=[],l=Array.from(t);l.length;){var c=l.shift();if("SLOT"===c.tagName){var s=c.assignedElements(),u=e(s.length?s:c.children,!0,r);r.flatten?i.push.apply(i,u):i.push({scope:c,candidates:u})}else{a.call(c,o)&&r.filter(c)&&(n||!t.includes(c))&&i.push(c);var d=c.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(c),f=!r.shadowRootFilter||r.shadowRootFilter(c);if(d&&f){var p=e(!0===d?c.children:d.children,!0,r);r.flatten?i.push.apply(i,p):i.push({scope:c,candidates:p})}else l.unshift.apply(l,c.children)}}return i},u=function(e,t){return e.tabIndex<0&&(t||/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||e.isContentEditable)&&isNaN(parseInt(e.getAttribute("tabindex"),10))?0:e.tabIndex},d=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},f=function(e){return"INPUT"===e.tagName},p=function(e){return function(e){return f(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||l(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=function(e,t){for(var n=0;nsummary:first-of-type")?e.parentElement:e;if(a.call(o,"details:not([open]) *"))return!0;var i=l(e).host,c=(null==i?void 0:i.ownerDocument.contains(i))||e.ownerDocument.contains(e);if(n&&"full"!==n){if("non-zero-area"===n)return h(e)}else{if("function"==typeof r){for(var s=e;e;){var u=e.parentElement,d=l(e);if(u&&!u.shadowRoot&&!0===r(u))return h(e);e=e.assignedSlot?e.assignedSlot:u||d===e.ownerDocument?u:d.host}e=s}if(c)return!e.getClientRects().length}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n=0)},v=function(e,t){return function e(t){var n=[],r=[];return t.forEach((function(t,o){var i=!!t.scope,a=i?t.scope:t,l=u(a,i),c=i?e(t.candidates):a;0===l?i?n.push.apply(n,c):n.push(a):r.push({documentOrder:o,tabIndex:l,item:t,isScope:i,content:c})})),r.sort(d).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)}((t=t||{}).getShadowRoot?s([e],t.includeContainer,{filter:m.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:g}):c(e,t.includeContainer,m.bind(null,t)))},y=function(e,t){return(t=t||{}).getShadowRoot?s([e],t.includeContainer,{filter:b.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):c(e,t.includeContainer,b.bind(null,t))},O=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,o)&&m(t,e)},j=r.concat("iframe").join(","),w=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,j)&&b(t,e)}},function(e,t,n){"use strict";n.d(t,"c",(function(){return l})),n.d(t,"b",(function(){return c})),n.d(t,"a",(function(){return s})),n.d(t,"e",(function(){return u})),n.d(t,"d",(function(){return d}));var r=n(22),o=[],i=[],a=!1,l=function(e){o.push(e)},c=function(e){i.push(e)},s=function(e){Object(r.b)()?e():void 0!==window.tp&&window.tp.push(["init",function(){e()}])},u=function(){a||(s((function(){window.tp.pianoId.init({loggedIn:function(e){i.forEach((function(t){t(e)}))},loggedOut:function(){o.forEach((function(e){e()}))}})})),a=!0)},d=function(e,t){s((function(){window.tp.push(["addHandler",e,function(){t()}])}))}},function(e,t,n){"use strict";var r=n(14),o=n.n(r),i=n(34),a=function(){return!!i.ENVIRONMENT.match(/dev|sandbox|localhost/g)},l={"shaw-local":{appId:"b10QKOcwsu",rid:"R6VUB2E"},agrinews:{appId:"cjlgg8G3su",rid:"RI2SAQR"},"creston-news-advertiser":{appId:"hOJ5Mosisu",rid:"RUC7PKS"},"newton-daily-news":{appId:"vqcFz723su",rid:"RJNIE31"}},c={"shaw-local":{appId:"xp2GRFnGBX",rid:"TODO"},agrinews:{appId:"ITUT20P8F4",rid:"TODO"},"creston-news-advertiser":{appId:"5qCwJzizL2",rid:"TODO"},"newton-daily-news":{appId:"7wt2qUDI6D",rid:"TODO"},"pro-football-weekly":{appId:"xp2GRFnGBX",rid:"TODO"}},s=n(27);function u(e){return(u="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})(e)}n.d(t,"b",(function(){return d})),n.d(t,"c",(function(){return f})),n.d(t,"a",(function(){return p}));var d=function(){return!Object(s.a)()&&"object"===u(o()(window,"tp.offer"))&&null!==window.tp.offer&&"object"===u(o()(window,"tp.pianoId"))&&null!==window.tp.pianoId},f=function(){d()&&window.tp.pianoId.show({disableSignUp:!1,displayMode:"modal",screen:"login"})},p=function(e){var t,n=e.arcSite,r=e.successCallback;if(Object(s.a)()||document.cookie.split(";").some((function(e){return e.trim().startsWith("__tac=")}))&&(t="true"),t)r();else{var i=function(e){var t=a()?l:c;return o()(t,"".concat(e,".rid"))}(n);if(d()&&i){var u={rid:i};window.tp.api.callApi("/access/check",u,(function(e){o()(e,"access.granted",!1)&&r()}))}}}},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){"use strict";t.a=function(e,t,n,r){if(void 0===e||r.length<=1)return"";var o=e;-1!==o.indexOf(":cm=t")&&(o=o.replace(":cm=t",":format(jpg):quality(70)"),o="/".concat(o));var i=o.split("="),a=i[0],l=i[1]||"";return o.includes("fit-in")?"".concat(r,"/").concat(a,"=").concat(l).concat(n):(a.startsWith("/")||r.endsWith("/")||(a="/".concat(a)),"".concat(r).concat(a,"=/").concat(t,"/").concat(l).concat(n))}},function(e,t,n){"use strict";var r=n(1),o=n.n(r),i=n(47),a=n.n(i),l=n(2),c=n.n(l);var s=function(e,t,n,r){if(e){var o=(i=e,(new DOMParser).parseFromString(i,"text/html").body);return t&&(o.querySelector(".powa").setAttribute("data-autoplay","true"),o.querySelector(".powa").setAttribute("data-muted","true")),n&&o.querySelector(".powa").setAttribute("data-playthrough","true"),r&&o.querySelector(".powa").setAttribute("data-aspect-ratio",r.toString()),o.innerHTML}var i;return""},u=n(7),d=n.n(u),f=d.a.div.withConfig({displayName:"styled__VideoContainer",componentId:"sc-1km18ry-0"})(["@media screen and (min-width:48rem){",";}",";margin-left:0;margin-right:0;margin-top:0;background-color:black;"],(function(e){return e.hasCaption?"margin-bottom: 0rem":"margin-bottom: 1.5rem;"}),(function(e){return e.hasCaption?"margin-bottom: 0rem":"margin-bottom: 1rem;"})),p=d.a.div.withConfig({displayName:"styled__VideoWrap",componentId:"sc-1km18ry-1"})(["",""],(function(e){var t=e.aspectRatio,n=e.viewportPercentage,r=e.shrinkToFit,o=e.videoLoaded;return r?"\n max-width: calc(".concat(1/t," * ").concat(n,"vh);\n width: 100%;\n margin-left: auto;\n margin-right: auto;\n ").concat(o?"":"padding-bottom: calc(".concat(t," * 100%)"),";\n "):""})),h=n(28);function b(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 m(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0||(null==A?void 0:null===(n=A.by)||void 0===n?void 0:n.length)>0)&&P,N=c||d,D=y.playthrough,R=void 0!==D&&D,M=y.autoplay,F=void 0!==M&&M,z=Object(r.useRef)(N),B=Object(r.useRef)(),U=v(Object(r.useState)(9/16),2),H=U[0],V=U[1],q=v(Object(r.useState)(),2),W=q[0],Y=q[1],G=!("undefined"==typeof window||"undefined"==typeof document);Object(r.useEffect)((function(){G&&document.getElementById("video-".concat(z.current))&&(document.getElementById("video-".concat(z.current)).firstElementChild&&window.powaBoot&&window.powaBoot())}),[G]),Object(r.useEffect)((function(){if(null!=B&&B.current){var e=new MutationObserver((function(){var e,t=null==B?void 0:null===(e=B.current)||void 0===e?void 0:e.querySelector(".powa-shadow");t&&t.shadowRoot&&Y(t.shadowRoot)}));return e.observe(null==B?void 0:B.current,{subtree:!0,childList:!0}),function(){return e.disconnect()}}}),[B]),Object(r.useEffect)((function(){if(W){var e=new MutationObserver((function(){var e,t=null==W?void 0:null===(e=W.firstElementChild)||void 0===e?void 0:e.getBoundingClientRect();t&&t.height>0&&t.width>0&&V(t.height/t.width)}));return e.observe(W,{subtree:!0,childList:!0}),function(){return e.disconnect()}}}),[W]);var X=function(){return s(i,m||F,w||R,O)};return(o.a.createElement(o.a.Fragment,null,o.a.createElement(f,{ref:B,hasCaption:I},o.a.createElement(p,{aspectRatio:O||H,viewportPercentage:k,shrinkToFit:S,videoLoaded:!!W},G?o.a.createElement(a.a,{markup:X()},o.a.createElement("div",{id:"video-".concat(z.current),dangerouslySetInnerHTML:{__html:X()}})):null)),o.a.createElement(h.a,{subtitle:C?L:null,caption:E?T:null,credits:P?A:null})))}},function(e,t,n){"use strict";var r=n(40),o=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=d;var i=Object.create(n(32));i.inherits=n(29);var a=n(74),l=n(61);i.inherits(d,a);for(var c=o(l.prototype),s=0;s *{font-family:",";}.title{color:#6c7778;font-weight:bold;}"],(function(e){return e.primaryFont}),(function(e){return e.primaryFont})),p=function(e){return function(t){return t[e]}},h=function(e){var t=e.subtitle,n=e.caption,r=e.credits,i=e.vanityCredits,a=Object(s.useAppContext)().arcSite,l={by:(null==i?void 0:i.by)||(null==r?void 0:r.by)||[],affiliation:(null==i?void 0:i.affiliation)||(null==r?void 0:r.affiliation)||[]};return!!(t||n||r)&&o.a.createElement(f,{className:"image-metadata",primaryFont:d()(a)["primary-font-family"]},t&&o.a.createElement("span",{className:"title"},"".concat(t," ")),n&&o.a.createElement("span",{dangerouslySetInnerHTML:{__html:"".concat(n," ")}}),function(e){var t,n=(null==e?void 0:null===(t=e.by)||void 0===t?void 0:t.map(p("name")).join(", "))||null,r=(null==e?void 0:e.affiliation.map(p("name")).join(", "))||null;return(n||r)&&"(".concat([n,r].filter(Boolean).join("/"),")")}(l))};h.propTypes={subtitle:c.a.string,caption:c.a.string,credits:c.a.shape({by:c.a.array,affiliation:c.a.array}),vanityCredits:c.a.shape({by:c.a.array,affiliation:c.a.array})},t.a=h},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){"use strict";n(1);var r=n(7),o=n.n(r),i=n(33),a=n(0),l=o.a.li.withConfig({displayName:"list__StyledListItem",componentId:"sc-1wwq737-0"})(["a{color:",";}"],(function(e){return e.primaryColor})),c=o.a.ol.withConfig({displayName:"list__StyledOrderedList",componentId:"sc-1wwq737-1"})(["a{color:",";}"],(function(e){return e.primaryColor})),s=o.a.ul.withConfig({displayName:"list__StyledUnorderedList",componentId:"sc-1wwq737-2"})(["a{color:",";}"],(function(e){return e.primaryColor}));t.a=function e(t){var n=t.listType,r=t.listItems,o=t.primaryColor,u=r.map((function(t){if("list"===t.type){var n=t.list_type,r=t.items;return(Object(a.jsx)(e,{listType:n,listItems:r},t._id))}return(Object(a.jsx)(l,{dangerouslySetInnerHTML:{__html:Object(i.a)(t.content)},primaryColor:o},t._id))}));return"unordered"===n?Object(a.jsx)(s,{primaryColor:o,children:u}):Object(a.jsx)(c,{primaryColor:o,children:u})}},function(e,t,n){"use strict";n(1);var r=n(4),o=n(30),i=n(0);t.a=function(e){var t=e.element,n=e.className,a=t.content_elements,l=void 0===a?[]:a,c=t.citation,s=void 0===c?{}:c,u=t._id,d=[];return l.forEach((function(e){if("text"===e.type&&Object.prototype.hasOwnProperty.call(e,"content")&&d.push(Object(i.jsx)(r.r,{as:"p",dangerouslySetInnerHTML:{__html:e.content}},e._id)),"list"===e.type){var t=e.list_type,n=e.items;d.push(Object(i.jsx)(o.a,{listType:t,listItems:n},e._id))}})),"text"===s.type&&null!==s.content&&void 0!==s.content&&""!==s.content&&d.push(Object(i.jsxs)(r.l,{as:"span",className:"citation-text",children:["—  ",s.content]},s.content)),Object(i.jsx)("blockquote",{className:n,cite:t.citation&&t.citation.content,children:d},u)}},function(e,t,n){(function(e){function n(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===n(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e},t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===n(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===n(e)},t.isError=function(e){return"[object Error]"===n(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=e.isBuffer}).call(this,n(58).Buffer)},function(e,t,n){"use strict";t.a=function(e){return void 0!==e&&e?e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'"):null}},function(e,t){e.exports=d},function(e,t,n){"use strict";var r;t.__esModule=!0,t.default=void 0;var o=(0,((r=n(166))&&r.__esModule?r:{default:r}).default)("rem");t.default=o;e.exports=t.default},function(e,t,n){"use strict";n(1);var r=n(3),o=n.n(r),i=n(96),a=n(0),l=function(e){var t=e.href,n=e.name;return/(http(s?)):\/\//i.test(t)?Object(a.jsxs)("a",{href:Object(i.a)(t),target:"_blank",rel:"noopener noreferrer",children:["".concat(n),Object(a.jsx)("span",{className:"sr-only",children:"(Opens in new window)"})]}):Object(a.jsx)("a",{href:Object(i.a)(t),children:"".concat(n)})};l.propTypes={href:o.a.string,name:o.a.string},t.a=l},function(e,t){e.exports=f},function(e,t,n){ /*! safe-buffer. MIT License. Feross Aboukhadijeh */ var r=n(58),o=r.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}function a(e,t,n){return o(e,t,n)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=r:(i(r,t),t.Buffer=a),a.prototype=Object.create(o.prototype),i(o,a),a.from=function(e,t,n){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,n)},a.alloc=function(e,t,n){if("number"!=typeof e)throw new TypeError("Argument must be a number");var r=o(e);return void 0!==t?"string"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return r.SlowBuffer(e)}},function(e,t){var n,r,o=e.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function l(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(e){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var c,s=[],u=!1,d=-1;function f(){u&&c&&(u=!1,c.length?s=c.concat(s):d=-1,s.length&&p())}function p(){if(!u){var e=l(f);u=!0;for(var t=s.length;t;){for(c=s,s=[];++d1)for(var n=1;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?Object(C.jsx)(A,{primaryColor:u()(n)["primary-color"],className:"body-paragraph",dangerouslySetInnerHTML:{__html:y}},p):null;case"copyright":return y&&y.length>0?Object(C.jsx)(A,{primaryColor:u()(n)["primary-color"],className:"body-paragraph body-copyright",dangerouslySetInnerHTML:{__html:y}},p):null;case"divider":return Object(C.jsx)(r.Fragment,{children:Object(C.jsx)("div",{className:"divider",children:Object(C.jsx)("hr",{})})},p);case"image":var G=e.url,X=e.subtitle,$=e.caption,K=e.credits,Z=e.alt_text,J=e.resized_params,Q=void 0===J?{}:J,ee=e.vanity_credits,te=e.alignment,ne=void 0===te?"":te,re=e.additional_properties,oe=(void 0===re?{}:re).link,ie=void 0===oe?"":oe,ae={small:768,medium:1024,large:1440},le="left"===ne||"right"===ne?ne:"",ce="article-body-image-container";if(le&&(ae={small:274,medium:400,large:768},ce+="left"===le?" article-body-image-container--mobile-left-float":" article-body-image-container--mobile-right-float"),G){var se=function(){var e,t;return(Object(C.jsx)(b.a,{resizedImageOptions:Q,url:G,alt:Z,smallWidth:ae.small,smallHeight:0,mediumWidth:ae.medium,mediumHeight:0,largeWidth:ae.large,largeHeight:0,breakpoints:null===(e=f()(n))||void 0===e?void 0:e.breakpoints,resizerURL:null===(t=f()(n))||void 0===t?void 0:t.resizerURL}))},ue=function(e){var t=e.children;return(Object(C.jsxs)("figure",{className:ce,children:[t,Object(C.jsx)("figcaption",{children:Object(C.jsx)(m.a,{subtitle:E?null:X,caption:L?null:$,credits:N?null:K,vanityCredits:N?null:ee})})]}))};return ie?Object(C.jsx)(ue,{children:Object(C.jsx)("a",{href:ie,children:Object(C.jsx)(se,{})})},p):Object(C.jsx)(ue,{children:Object(C.jsx)(se,{})},p)}return null;case"interstitial_link":var de=e.url;if(!de||!y)return null;return Object(C.jsx)(r.Fragment,{children:Object(C.jsxs)("p",{className:"interstitial-link block-margin-bottom",children:[Object(C.jsx)("span",{dangerouslySetInnerHTML:{__html:"[ "}}),Object(C.jsx)(I,{href:de,"aria-label":o.t("article-body-block.interstitial-link-aria-label"),dangerouslySetInnerHTML:{__html:y},primaryColor:u()(n)["primary-color"]}),Object(C.jsx)("span",{dangerouslySetInnerHTML:{__html:" ]"}})]})},p);case"raw_html":return y&&y.length>0?Object(C.jsx)(w.a,{id:p,content:y,primaryColor:u()(n)["primary-color"]},p):null;case"list":var fe=e.list_type,pe=e.items;return pe&&pe.length>0?Object(C.jsx)(r.Fragment,{children:Object(C.jsx)(x.a,{listType:fe,listItems:pe,primaryColor:u()(n)["primary-color"]})},p):null;case"correction":var he="clarification"===e.correction_type?o.t("article-body-block.clarification"):o.t("article-body-block.correction");return e.text&&e.text.length>0?Object(C.jsx)(r.Fragment,{children:Object(C.jsxs)("section",{className:"correction",children:[Object(C.jsx)("h2",{className:"h6-primary",children:he}),Object(C.jsx)("p",{children:e.text})]})},p):null;case"header":return e.content&&e.content.length>0?Object(C.jsx)(j.a,{element:e,primaryColor:u()(n)["primary-color"]},p):null;case"oembed_response":return e.raw_oembed?Object(C.jsx)(S.a,{element:e},p):null;case"table":return e.rows?Object(C.jsx)(k.a,{element:e},p):null;case"quote":switch(e.subtype){case"pullquote":return Object(C.jsx)(_.a,{element:e,className:"pullquote"},p);case"blockquote":default:return Object(C.jsx)(_.a,{element:e},p)}case"video":return Object(C.jsx)("section",{className:"block-margin-bottom",children:Object(C.jsx)(g.a,{id:i,embedMarkup:e.embed_html,shrinkToFit:null==a?void 0:a.shrinkToFit,viewportPercentage:null==a?void 0:a.viewportPercentage,displayTitle:!H,displayCaption:!q,displayCredits:!Y,subtitle:null==e?void 0:null===(l=e.headlines)||void 0===l?void 0:l.basic,caption:null==e?void 0:null===(c=e.description)||void 0===c?void 0:c.basic,credits:e.credits})},p);case"gallery":return Object(C.jsx)("section",{className:"block-margin-bottom gallery",children:Object(C.jsx)(v.a,{galleryElements:e.content_elements,resizerURL:null===(s=f()(n))||void 0===s?void 0:s.resizerURL,ansId:e._id,ansHeadline:e.headlines.basic?e.headlines.basic:"",autoplayPhraseLabels:{start:o.t("global.gallery-autoplay-label-start"),stop:o.t("global.gallery-autoplay-label-stop")},controlsFont:u()(n)["primary-font-family"],expandPhrase:o.t("global.gallery-expand-button"),autoplayPhrase:o.t("global.gallery-autoplay-button"),pausePhrase:o.t("global.gallery-pause-autoplay-button"),pageCountPhrase:function(e,t){return o.t("global.gallery-page-count-text",{current:e,total:t})},displayTitle:!R,displayCaption:!F,displayCredits:!B})},p);default:return null}}var D=i.a.article.withConfig({displayName:"default__ArticleBody",componentId:"xb1qmn-2"})(["font-family:",";h1,h2,h3,h4,h5,h6,figcaption,table{font-family:",";}.body-paragraph,.interstitial-link,ol,ul,blockquote p,blockquote{font-family:",";}"],(function(e){return e.secondaryFont}),(function(e){return e.primaryFont}),(function(e){return e.secondaryFont})),R=function(e){var t=e.children,n=e.customFields,r=void 0===n?{}:n,o=e.context,i=o.globalContent,a=void 0===i?{}:i,l=o.arcSite,c=o.id,s=a.content_elements,d=void 0===s?[]:s,p=a.copyright,b=a.location,m=r.elementPlacement,g=void 0===m?{}:m,v=f()(l).locale,y=void 0===v?"en":v,O=h()(y),j=Object.keys(g).map((function(e){return{feature:+e,paragraph:+g[e]}})),w=d.filter((function(e){return"text"===e.type})).length,x=0,S=[].concat(L(d.map((function(e,n){if("text"===e.type){x+=1;var o=j.filter((function(e){return e.paragraph===x}));if(1===x&&b&&0!==e.content.indexOf("".concat(b," —"))&&(e.content="".concat(b," — ").concat(e.content)),o.length&&x1?r-1:0),i=1;i element.");return u.cloneElement(t,{ref:function(n){var r=e.props.containerElements;t&&("function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=r||[n]}})}return null}}])&&o(t.prototype,n),r&&o(t,r),Object.defineProperty(t,"prototype",{writable:!1}),s}(u.Component),m="undefined"==typeof Element?Function:Element;b.propTypes={active:f.bool,paused:f.bool,focusTrapOptions:f.shape({document:f.object,onActivate:f.func,onPostActivate:f.func,checkCanFocusTrap:f.func,onDeactivate:f.func,onPostDeactivate:f.func,checkCanReturnFocus:f.func,initialFocus:f.oneOfType([f.instanceOf(m),f.string,f.bool,f.func]),fallbackFocus:f.oneOfType([f.instanceOf(m),f.string,f.func]),escapeDeactivates:f.oneOfType([f.bool,f.func]),clickOutsideDeactivates:f.oneOfType([f.bool,f.func]),returnFocusOnDeactivate:f.bool,setReturnFocus:f.oneOfType([f.instanceOf(m),f.string,f.bool,f.func]),allowOutsideClick:f.oneOfType([f.bool,f.func]),preventScroll:f.bool,tabbableOptions:f.shape({displayCheck:f.oneOf(["full","non-zero-area","none"]),getShadowRoot:f.oneOfType([f.bool,f.func])})}),containerElements:f.arrayOf(f.instanceOf(m)),children:f.oneOfType([f.element,f.instanceOf(m)])},b.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:p},e.exports=b},function(e,t,n){"use strict";t.a=["bureau-county-republican","daily-chronicle","kane-county-chronicle","kendall-county-now","lake-county-journal","morris-herald-news","my-suburban-life","news-tribune","northwest-herald","sauk-valley","the-herald-news","mywebtimes","best-of-the-fox","friday-night-drive","putnam-county-record","neighborhood-tourist","ogle-county-news"]},function(e,t,n){"use strict";var r=n(68);t.a=r.default},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(2),i=n.n(o),a=n(6),l=n.n(a),c=n(5),s=n(14),u=n.n(s);var d=function(e){return"amp"===u()(e,"outputType")},f=[0,0],p=[300,250],h=[300,600],b=[320,50],m=[728,90],g={"1x1":{adName:"oop",adLabel:"OOP",adClass:"1x1"},"300x250":{adName:"cube",adClass:"300x250",dimensionsArray:[p,p,p],ampDimensionsArray:p},"300x250|300x600":{adName:"flex_cube",adClass:"300x600",dimensionsArray:[[p,h],[p,h],p],ampDimensionsArray:p},"300x250|300x600_rightrail":{adName:"right_rail_cube",adClass:"300x250",dimensionsArray:[[p,h],f,f],ampDimensionsArray:f},"970x250|970x90|728x90|320x50":{adName:"leaderboard_large",adClass:"728x90",dimensionsArray:[[m,[970,90],[970,250]],m,b],ampDimensionsArray:b},"728x90|320x50":{adName:"leaderboard_medium",adClass:"728x90",dimensionsArray:[m,m,b],ampDimensionsArray:b}},v=n(0),y=function(e){var t=e.adClass,n=e.adName,r=e.slotName,o=e.dimensions;return Object(c.useFusionContext)().isAdmin?Object(v.jsxs)("div",{className:["pb-ad-admin","arcad","ad-".concat(t),"border","color_black","padding-sm-all","text_align_center","font_size_sm"].join(" "),children:[Object(v.jsxs)("div",{className:"font_size_md margin-md-bottom",children:[Object(v.jsx)("span",{className:"margin-md-right",children:n||"Ad Name N/A"}),Object(v.jsx)("span",{children:r})]}),Object(v.jsx)("div",{children:JSON.stringify(o)})]}):null},O=n(95);function j(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 w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x(e,t){for(var n=0;n1&&void 0!==arguments[1]&&arguments[1];t&&(e&&e.creativeId?console.info("Advertisement ".concat(e.creativeId," has loaded..."),e):console.info("Advertisement did not load...",e))}(e,r)}))}}},{key:"registerAd",value:function(e,t){var n=e.params;e.disableAds||(this.initArcAds(e),this.arcAds.registerAd(function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{};return u()(e,"type")}(e);return t&&("story"===t||"gallery"===t||"video"===t)||!1},A=function(e){return u()(g,"".concat(e,".adClass"))},I=function(e){return u()(g,"".concat(e,".dimensionsArray"))},N=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return u()(e,"_id",void 0)},D=function(e){var t=u()(e,"metaValue"),n=t&&t("ad-path")||"";return n&&"/"===n.charAt(0)&&(n=n.substring(1)),n||void 0},R=function(e){var t=u()(e,"globalContent");return function(e){var t="";if(e){var n=(t=e).length-1;"/"===t.charAt(n)&&(t=t.substring(0,n)),t=t.replace(/\//,"")}return t}(T(t)&&(function(e){return u()(e,"".concat("taxonomy.sections[0]",".referent.id"))||u()(e,"".concat("taxonomy.sections[0]","._id"))}(t)||function(e){return u()(e,"".concat("taxonomy.sites[0]",".referent.id"))||u()(e,"".concat("taxonomy.sites[0]","._id"))}(t))||function(e){return"section"===u()(e,"node_type","")}(t)&&N(t)||"")},M=function(e){var t=u()(e,"arcSite"),n=l()(t).websiteAdPath;return n?D(e)||"".concat(n||"").concat(R(e)?"/":"").concat(R(e)||""):D(e)||"".concat(R(e)||"")},F=function(e){var t=u()(e,"globalContent");window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.googletag.cmd.push((function(){window.googletag.pubads().enableLazyLoad({fetchMarginPercent:200,renderMarginPercent:100,mobileScaling:2}),window.googletag.pubads().setTargeting("page_type",function(e){var t=u()(e,"metaValue");return t&&t("page-type")||""}(e)).setTargeting("section_id",R(e)).collapseEmptyDivs(),T(t)&&window.googletag.pubads().setTargeting("arc_id",N(t)).setTargeting("tags",function(e){return u()(e,"taxonomy.tags",[]).map((function(e){return u()(e,"slug",null)})).filter((function(e){return e})).join(",")}(t))}))},z=function(e){return{ad_type:u()(e,"adType"),pos:(t=e,n=t.adType,L[n]?L[n].length+1:1)};var t,n},B=function(e){var t,n=e.adType,r=e.display,o=Math.floor(1e4*Math.random()),i=function(e){return u()(g,"".concat(e,".adName"))}(u()(e,"adType")),a="right_rail_cube"===i?"desktop":r,l={id:"arcad_".concat(o),slotName:M(e),adType:i,adClass:A(n),dimensions:I(n),sizemap:{breakpoints:(t={mobile:0,tablet:768,desktop:992},[[t.desktop,0],[t.tablet,0],[t.mobile,0]]),refresh:!0},targeting:z(E({},e,{adType:i})),display:a};return function(e){var t=e.adType;L[t]||(L[t]=[]),L[t].push(e)}(l),l};n(191);function U(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)return;var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return H(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return H(e,t)}(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.")}()}function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n>16)+t;o>255?o=255:o<0&&(o=0);var i=(r>>8&255)+t;i>255?i=255:i<0&&(i=0);var a=(255&r)+t;return a>255?a=255:a<0&&(a=0),(n?"#":"")+(a|i<<8|o<<16).toString(16)};i("4px"),i("8px"),i("16px"),i("24px"),i("32px"),i("48px"),i("64px"),i("0px"),i("768px"),i("1024px"),i("1440px"),i("767px"),i("1023px"),i("1439px");n.d(t,"a",(function(){return l})),n.d(t,"b",(function(){return c}));var l=o.a.a.withConfig({displayName:"linkHovers__LinkBackgroundHover",componentId:"sc-1ad8end-0"})(["transition:fill 0.3s ease;&:active,&:hover{color:",";background-color:",";}"],(function(e){return e.foregroundColor||"#fff"}),(function(e){return a(e.primaryColor,40)})),c=("\n transition: fill 0.3s ease;\n &:active, &:hover{\n color: ".concat((function(e){return e.foregroundColor||"#fff"}),";\n background-color: ").concat((function(e){return a(e.primaryColor,40)}),";\n }\n"),o.a.a.withConfig({displayName:"linkHovers__LinkForegroundHover",componentId:"sc-1ad8end-1"})(["transition:fill 0.3s ease;&:active,&:hover{color:",";}"],(function(e){return a(e.primaryColor,40)})),"\n transition: fill 0.3s ease;\n &:active, &:hover{\n color: ".concat((function(e){return a(e.primaryColor,40)}),";\n }\n"),o.a.a.withConfig({displayName:"linkHovers__LinkSVGHover",componentId:"sc-1ad8end-2"})(["transition:fill 0.3s ease;&:active svg path,&:hover svg path{fill:",";}"],(function(e){return a(e.primaryColor,40)})));"\n transition: fill 0.3s ease;\n &:active svg path, &:hover svg path{\n fill: ".concat((function(e){return a(e.primaryColor,40)}),";\n }\n")},function(e,t,n){var r=n(1);const o=/react(\d+)?./i;function i(e){return"function"==typeof e&&e.prototype&&!!e.prototype.isReactComponent}function a(e){return"function"==typeof e&&String(e).includes("return")&&!!String(e).match(o)&&String(e).includes(".createElement")}function l(e){return i(e)||a(e)}function c(e){return r.isValidElement(e)}var s={};s.classComponent=i,s.functionComponent=a,s.component=l,s.element=c,s.DOMTypeElement=function(e){return c(e)&&"string"==typeof e.type},s.compositeTypeElement=function(e){return c(e)&&"function"==typeof e.type},s.compatible=function(e){return c(e)||l(e)},e.exports=s},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}},function(e,t,n){"use strict";(function(e){ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */ var r=n(147),o=n(148),i=n(73);function a(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function l(e,t){if(a()=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(e,t){if(c.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return B(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return U(e).length;default:if(r)return B(e).length;t=(""+t).toLowerCase(),r=!0}}function b(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return P(this,t,n);case"utf8":case"utf-8":return k(this,t,n);case"ascii":return C(this,t,n);case"latin1":case"binary":return E(this,t,n);case"base64":return _(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return L(this,t,n);default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function m(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function g(e,t,n,r,o){if(0===e.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=o?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(o)return-1;n=e.length-1}else if(n<0){if(!o)return-1;n=0}if("string"==typeof t&&(t=c.from(t,r)),c.isBuffer(t))return 0===t.length?-1:v(e,t,n,r,o);if("number"==typeof t)return t&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):v(e,[t],n,r,o);throw new TypeError("val must be string, number or Buffer")}function v(e,t,n,r,o){var i,a=1,l=e.length,c=t.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(e.length<2||t.length<2)return-1;a=2,l/=2,c/=2,n/=2}function s(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var u=-1;for(i=n;il&&(n=l-c),i=n;i>=0;i--){for(var d=!0,f=0;fo&&(r=o):r=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");r>i/2&&(r=i/2);for(var a=0;a>8,o=n%256,i.push(o),i.push(r);return i}(t,e.length-n),e,n,r)}function _(e,t,n){return 0===t&&n===e.length?r.fromByteArray(e):r.fromByteArray(e.slice(t,n))}function k(e,t,n){n=Math.min(e.length,n);for(var r=[],o=t;o239?4:s>223?3:s>191?2:1;if(o+d<=n)switch(d){case 1:s<128&&(u=s);break;case 2:128==(192&(i=e[o+1]))&&(c=(31&s)<<6|63&i)>127&&(u=c);break;case 3:i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&(c=(15&s)<<12|(63&i)<<6|63&a)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:i=e[o+1],a=e[o+2],l=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&l)&&(c=(15&s)<<18|(63&i)<<12|(63&a)<<6|63&l)>65535&&c<1114112&&(u=c)}null===u?(u=65533,d=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),o+=d}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var n="",r=0;for(;r0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},c.prototype.compare=function(e,t,n,r,o){if(!c.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===o&&(o=this.length),t<0||n>e.length||r<0||o>this.length)throw new RangeError("out of range index");if(r>=o&&t>=n)return 0;if(r>=o)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(r>>>=0),a=(n>>>=0)-(t>>>=0),l=Math.min(i,a),s=this.slice(r,o),u=e.slice(t,n),d=0;do)&&(n=o),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var i=!1;;)switch(r){case"hex":return y(this,e,t,n);case"utf8":case"utf-8":return O(this,e,t,n);case"ascii":return j(this,e,t,n);case"latin1":case"binary":return w(this,e,t,n);case"base64":return x(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),i=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function C(e,t,n){var r="";n=Math.min(e.length,n);for(var o=t;or)&&(n=r);for(var o="",i=t;in)throw new RangeError("Trying to access beyond buffer length")}function A(e,t,n,r,o,i){if(!c.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||te.length)throw new RangeError("Index out of range")}function I(e,t,n,r){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-n,2);o>>8*(r?o:1-o)}function N(e,t,n,r){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-n,4);o>>8*(r?o:3-o)&255}function D(e,t,n,r,o,i){if(n+r>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function R(e,t,n,r,i){return i||D(e,0,n,4),o.write(e,t,n,r,23,4),n+4}function M(e,t,n,r,i){return i||D(e,0,n,8),o.write(e,t,n,r,52,8),n+8}c.prototype.slice=function(e,t){var n,r=this.length;if((e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t0&&(o*=256);)r+=this[e+--t]*o;return r},c.prototype.readUInt8=function(e,t){return t||T(e,1,this.length),this[e]},c.prototype.readUInt16LE=function(e,t){return t||T(e,2,this.length),this[e]|this[e+1]<<8},c.prototype.readUInt16BE=function(e,t){return t||T(e,2,this.length),this[e]<<8|this[e+1]},c.prototype.readUInt32LE=function(e,t){return t||T(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},c.prototype.readUInt32BE=function(e,t){return t||T(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},c.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||T(e,t,this.length);for(var r=this[e],o=1,i=0;++i=(o*=128)&&(r-=Math.pow(2,8*t)),r},c.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||T(e,t,this.length);for(var r=t,o=1,i=this[e+--r];r>0&&(o*=256);)i+=this[e+--r]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},c.prototype.readInt8=function(e,t){return t||T(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},c.prototype.readInt16LE=function(e,t){t||T(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(e,t){t||T(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(e,t){return t||T(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},c.prototype.readInt32BE=function(e,t){return t||T(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},c.prototype.readFloatLE=function(e,t){return t||T(e,4,this.length),o.read(this,e,!0,23,4)},c.prototype.readFloatBE=function(e,t){return t||T(e,4,this.length),o.read(this,e,!1,23,4)},c.prototype.readDoubleLE=function(e,t){return t||T(e,8,this.length),o.read(this,e,!0,52,8)},c.prototype.readDoubleBE=function(e,t){return t||T(e,8,this.length),o.read(this,e,!1,52,8)},c.prototype.writeUIntLE=function(e,t,n,r){(e=+e,t|=0,n|=0,r)||A(this,e,t,n,Math.pow(2,8*n)-1,0);var o=1,i=0;for(this[t]=255&e;++i=0&&(i*=256);)this[t+o]=e/i&255;return t+n},c.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||A(this,e,t,1,255,0),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},c.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||A(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},c.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||A(this,e,t,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},c.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||A(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):N(this,e,t,!0),t+4},c.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||A(this,e,t,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},c.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);A(this,e,t,n,o-1,-o)}var i=0,a=1,l=0;for(this[t]=255&e;++i>0)-l&255;return t+n},c.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var o=Math.pow(2,8*n-1);A(this,e,t,n,o-1,-o)}var i=n-1,a=1,l=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===l&&0!==this[t+i+1]&&(l=1),this[t+i]=(e/a>>0)-l&255;return t+n},c.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||A(this,e,t,1,127,-128),c.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},c.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||A(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):I(this,e,t,!0),t+2},c.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||A(this,e,t,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):I(this,e,t,!1),t+2},c.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||A(this,e,t,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):N(this,e,t,!0),t+4},c.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||A(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),c.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):N(this,e,t,!1),t+4},c.prototype.writeFloatLE=function(e,t,n){return R(this,e,t,!0,n)},c.prototype.writeFloatBE=function(e,t,n){return R(this,e,t,!1,n)},c.prototype.writeDoubleLE=function(e,t,n){return M(this,e,t,!0,n)},c.prototype.writeDoubleBE=function(e,t,n){return M(this,e,t,!1,n)},c.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),e.length-t=0;--o)e[o+t]=this[o+n];else if(i<1e3||!c.TYPED_ARRAY_SUPPORT)for(o=0;o>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i55295&&n<57344){if(!o){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&i.push(239,191,189);continue}o=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),o=n;continue}n=65536+(o-55296<<10|n-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function U(e){return r.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(F,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function H(e,t,n,r){for(var o=0;o=t.length||o>=e.length);++o)t[o+n]=e[o];return o}}).call(this,n(23))},function(e,t,n){"use strict";var r,o="object"==typeof Reflect?Reflect:null,i=o&&"function"==typeof o.apply?o.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)};r=o&&"function"==typeof o.ownKeys?o.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var a=Number.isNaN||function(e){return e!=e};function l(){l.init.call(this)}e.exports=l,l.EventEmitter=l,l.prototype._events=void 0,l.prototype._eventsCount=0,l.prototype._maxListeners=void 0;var c=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function u(e){return void 0===e._maxListeners?l.defaultMaxListeners:e._maxListeners}function d(e,t,n,r){var o,i,a,l;if(s(n),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,n.listener?n.listener:n),i=e._events),a=i[t]),void 0===a)a=i[t]=n,++e._eventsCount;else if("function"==typeof a?a=i[t]=r?[n,a]:[a,n]:r?a.unshift(n):a.push(n),(o=u(e))>0&&a.length>o&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,l=c,console&&console.warn&&console.warn(l)}return e}function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},o=f.bind(r);return o.listener=n,r.wrapFn=o,o}function h(e,t,n){var r=e._events;if(void 0===r)return[];var o=r[t];return void 0===o?[]:"function"==typeof o?n?[o.listener||o]:[o]:n?function(e){for(var t=new Array(e.length),n=0;n0&&(a=t[0]),a instanceof Error)throw a;var l=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw l.context=a,l}var c=o[e];if(void 0===c)return!1;if("function"==typeof c)i(c,this,t);else{var s=c.length,u=m(c,s);for(n=0;n=0;i--)if(n[i]===t||n[i].listener===t){a=n[i].listener,o=i;break}if(o<0)return this;0===o?n.shift():function(e,t){for(;t+1=0;r--)this.removeListener(e,t[r]);return this},l.prototype.listeners=function(e){return h(this,e,!0)},l.prototype.rawListeners=function(e){return h(this,e,!1)},l.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):b.call(e,t)},l.prototype.listenerCount=b,l.prototype.eventNames=function(){return this._eventsCount>0?r(this._events):[]}},function(e,t,n){(t=e.exports=n(74)).Stream=t,t.Readable=t,t.Writable=n(61),t.Duplex=n(26),t.Transform=n(77),t.PassThrough=n(156)},function(e,t,n){"use strict";(function(t,r,o){var i=n(40);function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,n){var r=e.entry;e.entry=null;for(;r;){var o=r.callback;t.pendingcb--,o(n),r=r.next}t.corkedRequestsFree?t.corkedRequestsFree.next=e:t.corkedRequestsFree=e}(t,e)}}e.exports=v;var l,c=!t.browser&&["v0.10","v0.9."].indexOf(t.version.slice(0,5))>-1?r:i.nextTick;v.WritableState=g;var s=Object.create(n(32));s.inherits=n(29);var u={deprecate:n(155)},d=n(75),f=n(41).Buffer,p=o.Uint8Array||function(){};var h,b=n(76);function m(){}function g(e,t){l=l||n(26),e=e||{};var r=t instanceof l;this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var o=e.highWaterMark,s=e.writableHighWaterMark,u=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:r&&(s||0===s)?s:u,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var d=!1===e.decodeStrings;this.decodeStrings=!d,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var n=e._writableState,r=n.sync,o=n.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(n),t)!function(e,t,n,r,o){--t.pendingcb,n?(i.nextTick(o,r),i.nextTick(S,e,t),e._writableState.errorEmitted=!0,e.emit("error",r)):(o(r),e._writableState.errorEmitted=!0,e.emit("error",r),S(e,t))}(e,n,r,t,o);else{var a=w(n);a||n.corked||n.bufferProcessing||!n.bufferedRequest||j(e,n),r?c(O,e,n,a,o):O(e,n,a,o)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function v(e){if(l=l||n(26),!(h.call(v,this)||this instanceof l))return new v(e);this._writableState=new g(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),d.call(this)}function y(e,t,n,r,o,i,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(o,t.onwrite):e._write(o,i,t.onwrite),t.sync=!1}function O(e,t,n,r){n||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,r(),S(e,t)}function j(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,o=new Array(r),i=t.corkedRequestsFree;i.entry=n;for(var l=0,c=!0;n;)o[l]=n,n.isBuf||(c=!1),n=n.next,l+=1;o.allBuffers=c,y(e,t,!0,t.length,o,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;n;){var s=n.chunk,u=n.encoding,d=n.callback;if(y(e,t,!1,t.objectMode?1:s.length,s,u,d),n=n.next,t.bufferedRequestCount--,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequest=n,t.bufferProcessing=!1}function w(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function x(e,t){e._final((function(n){t.pendingcb--,n&&e.emit("error",n),t.prefinished=!0,e.emit("prefinish"),S(e,t)}))}function S(e,t){var n=w(t);return n&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,i.nextTick(x,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),n}s.inherits(v,d),g.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(g.prototype,"buffer",{get:u.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(h=Function.prototype[Symbol.hasInstance],Object.defineProperty(v,Symbol.hasInstance,{value:function(e){return!!h.call(this,e)||this===v&&(e&&e._writableState instanceof g)}})):h=function(e){return e instanceof this},v.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},v.prototype.write=function(e,t,n){var r,o=this._writableState,a=!1,l=!o.objectMode&&(r=e,f.isBuffer(r)||r instanceof p);return l&&!f.isBuffer(e)&&(e=function(e){return f.from(e)}(e)),"function"==typeof t&&(n=t,t=null),l?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof n&&(n=m),o.ended?function(e,t){var n=new Error("write after end");e.emit("error",n),i.nextTick(t,n)}(this,n):(l||function(e,t,n,r){var o=!0,a=!1;return null===n?a=new TypeError("May not write null values to stream"):"string"==typeof n||void 0===n||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),i.nextTick(r,a),o=!1),o}(this,o,e,n))&&(o.pendingcb++,a=function(e,t,n,r,o,i){if(!n){var a=function(e,t,n){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=f.from(t,n));return t}(t,r,o);r!==a&&(n=!0,o="buffer",r=a)}var l=t.objectMode?1:r.length;t.length+=l;var c=t.length-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(v.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),v.prototype._write=function(e,t,n){n(new Error("_write() is not implemented"))},v.prototype._writev=null,v.prototype.end=function(e,t,n){var r=this._writableState;"function"==typeof e?(n=e,e=null,t=null):"function"==typeof t&&(n=t,t=null),null!=e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||function(e,t,n){t.ending=!0,S(e,t),n&&(t.finished?i.nextTick(n):e.once("finish",n));t.ended=!0,e.writable=!1}(this,r,n)},Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),v.prototype.destroy=b.destroy,v.prototype._undestroy=b.undestroy,v.prototype._destroy=function(e,t){this.end(),t(e)}}).call(this,n(39),n(153).setImmediate,n(23))},function(e,t,n){"use strict";var r=n(41).Buffer,o=r.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(r.isEncoding===o||!o(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=c,this.end=s,t=4;break;case"utf8":this.fillLast=l,t=4;break;case"base64":this.text=u,this.end=d,t=3;break;default:return this.write=f,void(this.end=p)}this.lastNeed=0,this.lastTotal=0,this.lastChar=r.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function l(e){var t=this.lastTotal-this.lastNeed,n=function(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){if((e.length-t)%2==0){var n=e.toString("utf16le",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function s(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,n)}return t}function u(e,t){var n=(e.length-t)%3;return 0===n?e.toString("base64",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-n))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function f(e){return e.toString(this.encoding)}function p(e){return e&&e.length?this.write(e):""}t.StringDecoder=i,i.prototype.write=function(e){if(0===e.length)return"";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";n=this.lastNeed,this.lastNeed=0}else n=0;return n=0)return o>0&&(e.lastNeed=o-1),o;if(--r=0)return o>0&&(e.lastNeed=o-2),o;if(--r=0)return o>0&&(2===o?o=0:e.lastNeed=o-3),o;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString("utf8",t,r)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.SafeNodeList=t.SafeHTMLCollection=void 0;var r,o=n(175);var i=((r=o)&&r.__esModule?r:{default:r}).default,a=i.canUseDOM?window.HTMLElement:{};t.SafeHTMLCollection=i.canUseDOM?window.HTMLCollection:{},t.SafeNodeList=i.canUseDOM?window.NodeList:{},t.canUseDOM=i.canUseDOM;t.default=a},function(e,t,n){},function(e,t,n){"use strict";n.r(t);n(1);var r=n(8),o=n(5),i=n(6),a=n.n(i),l=n(19),c=n(0);function s(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 u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=function(e){var t=e.client,n=void 0!==t&&t,i=Object(o.useFusionContext)(),d=i.arcSite,f=i.contextPath,p=i.deployment,h=a()(d),b=h.fallbackImage,m=h.primaryLogoAlt,g=h.breakpoints,v=h.resizerURL,y=function(e){var t=e.deployment,n=e.contextPath,r=e.fallbackImage;return r.includes("http")||(r=t("".concat(n,"/").concat(r))),r}({deployment:p,contextPath:f,fallbackImage:b}),O=y.includes("http"),j={url:y,smallWidth:800,smallHeight:450,mediumWidth:800,mediumHeight:450,largeWidth:800,largeHeight:450,alt:m||"",breakpoints:g,resizerURL:v},w=Object(r.useContent)(O?{source:n?"resize-image-api-client":"resize-image-api",query:{raw_image_url:y,respect_aspect_ratio:!0}}:{});return!w&&O?null:Object(c.jsx)(l.a,function(e){for(var t=1;t\n(function() {\n var ARTICLE_URL = window.location.href;\n var CONTENT_ID = 'everything';\n document.write(\n ''+'');\n})();\n<\/script>\n ");return o&&n?(Object(r.useEffect)((function(){_402_Show()}),[]),Object(s.jsxs)(l.a,{id:t,children:[Object(s.jsx)("div",{dangerouslySetInnerHTML:{__html:i}}),Object(s.jsx)("div",{className:"p402_premium",children:n})]},t)):null};u.label="Google Survey – Custom Block",u.propTypes={children:i.a.any,id:i.a.string},t.default=u},function(e,t,n){"use strict";n.r(t);var r,o=n(1),i=n(273),a=n(16),l=n.n(a),c=n(6),s=n.n(c),u=(n(216),n(4)),d=n(0);function f(e){return(f="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})(e)}function p(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:null;if(!e)return"";var n=e;return t&&Object.keys(t).forEach((function(e){n=n.replace(e,t[e])})),n}function f(){return"undefined"!=typeof window?window.innerWidth:0}var p=27,h=37,b=39,m=n(7),g=n.n(m),v=n(35),y=n.n(v),O=Object(m.keyframes)(["0%{opacity:1;}100%{opacity:0;}"]),j=Object(m.keyframes)(["0%,19.999%,100%{opacity:0;}20%{opacity:1;}"]),w=g.a.div.withConfig({displayName:"styled__LightboxContainer",componentId:"jthr5x-0"})(["background-color:",";outline:none;top:0;left:0;right:0;bottom:0;z-index:1000;width:100%;height:100%;-ms-content-zooming:none;-ms-user-select:none;-ms-touch-select:none;touch-action:none;animation-name:",";opacity:",";"],"rgba(0, 0, 0, 1.0)",O,(function(e){return e.isClosing?0:1})),x=g.a.div.withConfig({displayName:"styled__LightboxInnerDiv",componentId:"jthr5x-1"})(["position:absolute;top:50px;left:0;right:0;bottom:0;"]),S=g.a.button.withConfig({displayName:"styled__NavButton",componentId:"jthr5x-2"})(["border:none;position:absolute;top:0;bottom:0;height:auto;width:auto;margin:auto;cursor:pointer;opacity:0.7;background:none;svg{background-color:rgba(0,0,0,0.1);}&:hover{opacity:1;}&:active{opacity:0.7;}&.prev{left:0;}&.next{right:0;}svg{height:48px;width:48px;}"]),_=g.a.div.withConfig({displayName:"styled__LoadingContainer",componentId:"jthr5x-3"})(["position:absolute;top:0;right:0;bottom:0;left:0;"]),k=g.a.div.withConfig({displayName:"styled__LoadingCircle",componentId:"jthr5x-4"})(["width:60px;height:60px;color:",";position:absolute;top:50%;left:50%;transform:translateX(-50%) translateY(-50%);"],"#fff"),C=g.a.div.withConfig({displayName:"styled__LoadingCirclePoint",componentId:"jthr5x-5"})(['width:100%;height:100%;position:absolute;left:0;top:0;&::before{content:"";display:block;margin:0 auto;width:11%;height:30%;background-color:',";border-radius:30%;animation:"," 800ms infinite ease-in-out both;}&:nth-of-type(1){transform:rotate(0deg);&::before{animation-delay:-800ms;}}&:nth-of-type(7){transform:rotate(180deg);transform:rotate(180deg);&::before{animation-delay:-800ms;animation-delay:0ms;}}&:nth-of-type(2){transform:rotate(30deg);&::before{animation-delay:-666ms;}}&:nth-of-type(8){transform:rotate(210deg);&::before{animation-delay:-666ms;}}&:nth-of-type(3){transform:rotate(60deg);&::before{animation-delay:-533ms;}}&:nth-of-type(9){transform:rotate(240deg);&::before{animation-delay:-533ms;}}&:nth-of-type(4){transform:rotate(90deg);&::before{animation-delay:-400ms;}}&:nth-of-type(10){transform:rotate(270deg);&::before{animation-delay:-400ms;}}&:nth-of-type(5){transform:rotate(120deg);&::before{animation-delay:-266ms;}}&:nth-of-type(11){transform:rotate(300deg);&::before{animation-delay:-266ms;}}&:nth-of-type(6){transform:rotate(150deg);&::before{animation-delay:-133ms;}}&:nth-of-type(12){transform:rotate(330deg);&::before{animation-delay:-133ms;}}&:nth-of-type(13){transform:rotate(360deg);&::before{animation-delay:0ms;}}"],"#fff",j),E=g.a.div.withConfig({displayName:"styled__ErrorContainer",componentId:"jthr5x-6"})(["position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;color:",";"],"#fff"),P=g.a.img.withConfig({displayName:"styled__LightboxImage",componentId:"jthr5x-7"})(['position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;max-width:none;-ms-content-zooming:none;-ms-user-select:none;-ms-touch-select:none;touch-action:none;.imageNext,.imagePrev{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;max-width:none;-ms-content-zooming:none;-ms-user-select:none;-ms-touch-select:none;touch-action:none;.loadingContainer{display:none;}.errorContainer{display:none;}}&.imageDiscourager{background-repeat:no-repeat;background-position:center;background-size:contain;}.downloadBlocker{position:absolute;top:0;left:0;right:0;bottom:0;background-image:url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");background-size:cover;}']),L=g.a.div.withConfig({displayName:"styled__LightboxCaption",componentId:"jthr5x-8"})(["background-color:",";position:absolute;left:0;right:0;display:flex;justify-content:left;bottom:0;max-height:150px;overflow:auto;.captionContent{padding:10px 20px;color:",";font-size:",";line-height:",";.image-metadata,.image-metadata .title{color:white;}}"],"rgba(0, 0, 0, 0.5)","#fff",y()("14px"),y()("24px")),T=g.a.div.withConfig({displayName:"styled__LightboxToolbar",componentId:"jthr5x-9"})(["position:absolute;left:0;right:0;display:flex;justify-content:space-between;top:0;height:50px;.toolbarSide{height:50px;margin:0;&.leftSide{padding-left:20px;padding-right:0;flex:0 1 auto;overflow:hidden;text-overflow:ellipsis;}&.rightSide{padding-left:0;padding-right:20px;flex:0 0 auto;}}.toolbarItem{display:inline-block;line-height:50px;padding:0;color:",";font-size:120%;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;button{background-color:rgba(0,0,0,0.1);&.builtinButton{width:40px;height:35px;cursor:pointer;border:none;opacity:0.7;&:hover{opacity:1;}&:active{outline:none;}&.disabled{cursor:default;opacity:0.5;&:hover{opacity:0.5;}}}}.itemChild{vertical-align:middle;}}"],"#fff"),A=n(280),I=n(93),N=n(9);function D(){return(D=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);nu&&(s+=(u-l)/2);var d=a;return l&&c&&(d=a*(c/l)),{transform:"translate3d(".concat(s,"px,").concat(o,"px,0) scale3d(").concat(d,",").concat(d,",1)")}}}]),Z(t,[{key:"UNSAFE_componentWillMount",value:function(){this.timeouts=[],this.currentAction=0,this.eventsSource=0,this.pointerList=[],this.preventInnerClose=!1,this.preventInnerCloseTimeout=null,this.keyPressed=!1,this.imageCache={},this.lastKeyDownTime=0,this.resizeTimeout=null,this.wheelActionTimeout=null,this.resetScrollTimeout=null,this.scrollX=0,this.scrollY=0,this.moveStartX=0,this.moveStartY=0,this.moveStartOffsetX=0,this.moveStartOffsetY=0,this.swipeStartX=0,this.swipeStartY=0,this.swipeEndX=0,this.swipeEndY=0,this.pinchTouchList=null,this.pinchDistance=0,this.keyCounter=0,this.moveRequested=!1,this.props.animationDisabled||this.setState({isClosing:!1})}},{key:"componentDidMount",value:function(){var e=this;this.windowContext=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.self;if(t===window.top)return t;var n=function(e){return e.match(/(.*\/\/.*?)(\/|$)/)[1]};return n(t.location.href)===n(t.document.referrer)?e(t.parent):t}(),this.listeners={resize:this.handleWindowResize,mouseup:this.handleMouseUp,touchend:this.handleTouchEnd,touchcancel:this.handleTouchEnd,pointerdown:this.handlePointerEvent,pointermove:this.handlePointerEvent,pointerup:this.handlePointerEvent,pointercancel:this.handlePointerEvent},Object.keys(this.listeners).forEach((function(t){e.windowContext.addEventListener(t,e.listeners[t])})),this.loadAllImages()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=this,n=!1,r={},o={};this.getSrcTypes().forEach((function(i){t.props[i.name]!==e[i.name]&&(n=!0,r[t.props[i.name]]=!0,o[e[i.name]]=!0)})),(n||this.moveRequested)&&(Object.keys(r).forEach((function(e){!(e in o)&&e in t.imageCache&&(t.imageCache[e].loaded=!1)})),this.moveRequested=!1,this.loadAllImages(e))}},{key:"shouldComponentUpdate",value:function(){return!this.moveRequested}},{key:"componentWillUnmount",value:function(){var e=this;this.didUnmount=!0,Object.keys(this.listeners).forEach((function(t){e.windowContext.removeEventListener(t,e.listeners[t])})),this.timeouts.forEach((function(e){return clearTimeout(e)}))}},{key:"setTimeout",value:function(e,t){var n=this,r=window.setTimeout((function(){n.timeouts=n.timeouts.filter((function(e){return e!==r})),e()}),t);return this.timeouts.push(r),r}},{key:"setPreventInnerClose",value:function(){var e=this;this.preventInnerCloseTimeout&&this.clearTimeout(this.preventInnerCloseTimeout),this.preventInnerClose=!0,this.preventInnerCloseTimeout=this.setTimeout((function(){e.preventInnerClose=!1,e.preventInnerCloseTimeout=null}),100)}},{key:"getBestImageForType",value:function(e){var t=this.props[e],n={};if(this.isImageLoaded(t))n=this.getFitSizes(this.imageCache[t].width,this.imageCache[t].height);else{if(!this.isImageLoaded(this.props["".concat(e,"Thumbnail")]))return null;t=this.props["".concat(e,"Thumbnail")],n=this.getFitSizes(this.imageCache[t].width,this.imageCache[t].height,!0)}return{src:t,height:this.imageCache[t].height,width:this.imageCache[t].width,targetHeight:n.height,targetWidth:n.width}}},{key:"getFitSizes",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=this.getLightboxRect(),o=r.height-2*this.props.imagePadding,i=r.width-2*this.props.imagePadding;n||(o=Math.min(o,t),i=Math.min(i,e));var a=i/o,l=e/t;return a>l?{width:e*o/t,height:o}:{width:i,height:t*i/e}}},{key:"getMaxOffsets",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.zoomLevel,t=this.getBestImageForType("mainSrc");if(null===t)return{maxX:0,minX:0,maxY:0,minY:0};var n=this.getLightboxRect(),r=this.getZoomMultiplier(e),o=0,i=0;return{maxX:o=r*t.width-n.width<0?(n.width-r*t.width)/2:(r*t.width-n.width)/2,maxY:i=r*t.height-n.height<0?(n.height-r*t.height)/2:(r*t.height-n.height)/2,minX:-1*o,minY:-1*i}}},{key:"getSrcTypes",value:function(){return[{name:"mainSrc",keyEnding:"i".concat(this.keyCounter)},{name:"mainSrcThumbnail",keyEnding:"t".concat(this.keyCounter)},{name:"nextSrc",keyEnding:"i".concat(this.keyCounter+1)},{name:"nextSrcThumbnail",keyEnding:"t".concat(this.keyCounter+1)},{name:"prevSrc",keyEnding:"i".concat(this.keyCounter-1)},{name:"prevSrcThumbnail",keyEnding:"t".concat(this.keyCounter-1)}]}},{key:"getZoomMultiplier",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.zoomLevel;return Math.pow(1.007,e)}},{key:"getLightboxRect",value:function(){return this.outerEl?this.outerEl.getBoundingClientRect():{width:f(),height:"undefined"!=typeof window?window.innerHeight:0,top:0,right:0,bottom:0,left:0}}},{key:"clearTimeout",value:function(e){function t(t){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){this.timeouts=this.timeouts.filter((function(t){return t!==e})),clearTimeout(e)}))},{key:"changeZoom",value:function(e,t,n){if(this.props.enableZoom){var r=Math.max(0,Math.min(300,e));if(r!==this.state.zoomLevel)if(0!==r){var o=this.getBestImageForType("mainSrc");if(null!==o){var i=this.getZoomMultiplier(),a=this.getZoomMultiplier(r),l=this.getLightboxRect(),c=void 0!==t?t-l.left:l.width/2,s=void 0!==n?n-l.top:l.height/2,u=(l.width-o.width*i)/2,d=(l.height-o.height*i)/2,f=c-(c-(u-this.state.offsetX))/i*a,p=s-(s-(d-this.state.offsetY))/i*a,h=(l.width-o.width*a)/2-f,b=(l.height-o.height*a)/2-p;if(3!==this.currentAction){var m=this.getMaxOffsets();this.state.zoomLevel>r&&(h=Math.max(m.minX,Math.min(m.maxX,h)),b=Math.max(m.minY,Math.min(m.maxY,b)))}this.setState({zoomLevel:r,offsetX:h,offsetY:b})}}else this.setState({zoomLevel:r,offsetX:0,offsetY:0})}}},{key:"closeIfClickInner",value:function(e){!this.preventInnerClose&&e.target.className.search(/\bril-inner\b/)>-1&&this.requestClose(e)}},{key:"handleKeyInput",value:function(e){if(!this.isAnimating())if("keyup"!==e.type){var t=e.which||e.keyCode,n=new Date;if(!(n.getTime()-this.lastKeyDownTime=200||e.deltaX>=100?(this.requestMoveNext(e),n=500,this.scrollX=0):(this.scrollX<=-200||e.deltaX<=-100)&&(this.requestMovePrev(e),n=500,this.scrollX=0)}0!==n&&(this.wheelActionTimeout=this.setTimeout((function(){t.wheelActionTimeout=null}),n))}}},{key:"handleImageMouseWheel",value:function(e){e.preventDefault();if(Math.abs(e.deltaY)>=Math.abs(e.deltaX)){if(e.stopPropagation(),Math.abs(e.deltaY)<1)return;this.scrollX=0,this.scrollY+=e.deltaY,this.changeZoom(this.state.zoomLevel-e.deltaY,e.clientX,e.clientY)}}},{key:"handleImageDoubleClick",value:function(e){this.state.zoomLevel>0?this.changeZoom(0,e.clientX,e.clientY):this.changeZoom(this.state.zoomLevel+100,e.clientX,e.clientY)}},{key:"shouldHandleEvent",value:function(e){if(this.eventsSource===e)return!0;if(0===this.eventsSource)return this.eventsSource=e,!0;switch(e){case 1:return!1;case 2:return this.eventsSource=2,this.filterPointersBySource(),!0;case 3:return 1===this.eventsSource&&(this.eventsSource=3,this.filterPointersBySource(),!0);default:return!1}}},{key:"addPointer",value:function(e){this.pointerList.push(e)}},{key:"removePointer",value:function(e){this.pointerList=this.pointerList.filter((function(t){return t.id!==e.id}))}},{key:"filterPointersBySource",value:function(){var e=this;this.pointerList=this.pointerList.filter((function(t){return t.source===e.eventsSource}))}},{key:"handleMouseDown",value:function(e){this.shouldHandleEvent(1)&&t.isTargetMatchImage(e.target)&&(this.addPointer(t.parseMouseEvent(e)),this.multiPointerStart(e))}},{key:"handleMouseMove",value:function(e){this.shouldHandleEvent(1)&&this.multiPointerMove(e,[t.parseMouseEvent(e)])}},{key:"handleMouseUp",value:function(e){this.shouldHandleEvent(1)&&(this.removePointer(t.parseMouseEvent(e)),this.multiPointerEnd(e))}},{key:"handlePointerEvent",value:function(e){if(this.shouldHandleEvent(3))switch(e.type){case"pointerdown":t.isTargetMatchImage(e.target)&&(this.addPointer(t.parsePointerEvent(e)),this.multiPointerStart(e));break;case"pointermove":this.multiPointerMove(e,[t.parsePointerEvent(e)]);break;case"pointerup":case"pointercancel":this.removePointer(t.parsePointerEvent(e)),this.multiPointerEnd(e)}}},{key:"handleTouchStart",value:function(e){var n=this;this.shouldHandleEvent(2)&&t.isTargetMatchImage(e.target)&&([].forEach.call(e.changedTouches,(function(e){return n.addPointer(t.parseTouchPointer(e))})),this.multiPointerStart(e))}},{key:"handleTouchMove",value:function(e){this.shouldHandleEvent(2)&&this.multiPointerMove(e,[].map.call(e.changedTouches,(function(e){return t.parseTouchPointer(e)})))}},{key:"handleTouchEnd",value:function(e){var n=this;this.shouldHandleEvent(2)&&([].map.call(e.changedTouches,(function(e){return n.removePointer(t.parseTouchPointer(e))})),this.multiPointerEnd(e))}},{key:"decideMoveOrSwipe",value:function(e){this.state.zoomLevel<=0?this.handleSwipeStart(e):this.handleMoveStart(e)}},{key:"multiPointerStart",value:function(e){switch(this.handleEnd(null),this.pointerList.length){case 1:e.preventDefault(),this.decideMoveOrSwipe(this.pointerList[0]);break;case 2:e.preventDefault(),this.handlePinchStart(this.pointerList)}}},{key:"multiPointerMove",value:function(e,t){switch(this.currentAction){case 1:e.preventDefault(),this.handleMove(t[0]);break;case 2:e.preventDefault(),this.handleSwipe(t[0]);break;case 3:e.preventDefault(),this.handlePinch(t)}}},{key:"multiPointerEnd",value:function(e){switch(0!==this.currentAction&&(this.setPreventInnerClose(),this.handleEnd(e)),this.pointerList.length){case 0:this.eventsSource=0;break;case 1:e.preventDefault(),this.decideMoveOrSwipe(this.pointerList[0]);break;case 2:e.preventDefault(),this.handlePinchStart(this.pointerList)}}},{key:"handleEnd",value:function(e){switch(this.currentAction){case 1:this.handleMoveEnd();break;case 2:this.handleSwipeEnd(e);break;case 3:this.handlePinchEnd()}}},{key:"handleMoveStart",value:function(e){var t=e.x,n=e.y;this.props.enableZoom&&(this.currentAction=1,this.moveStartX=t,this.moveStartY=n,this.moveStartOffsetX=this.state.offsetX,this.moveStartOffsetY=this.state.offsetY)}},{key:"handleMove",value:function(e){var t=e.x,n=e.y,r=this.moveStartX-t+this.moveStartOffsetX,o=this.moveStartY-n+this.moveStartOffsetY;this.state.offsetX===r&&this.state.offsetY===o||this.setState({offsetX:r,offsetY:o})}},{key:"handleMoveEnd",value:function(){var e=this;this.currentAction=0,this.moveStartX=0,this.moveStartY=0,this.moveStartOffsetX=0,this.moveStartOffsetY=0;var t=this.getMaxOffsets(),n=Math.max(t.minX,Math.min(t.maxX,this.state.offsetX)),r=Math.max(t.minY,Math.min(t.maxY,this.state.offsetY));n===this.state.offsetX&&r===this.state.offsetY||(this.setState({offsetX:n,offsetY:r,shouldAnimate:!0}),this.setTimeout((function(){e.setState({shouldAnimate:!1})}),this.props.animationDuration))}},{key:"handleSwipeStart",value:function(e){var t=e.x,n=e.y;this.currentAction=2,this.swipeStartX=t,this.swipeStartY=n,this.swipeEndX=t,this.swipeEndY=n}},{key:"handleSwipe",value:function(e){var t=e.x,n=e.y;this.swipeEndX=t,this.swipeEndY=n}},{key:"handleSwipeEnd",value:function(e){var t=this.swipeEndX-this.swipeStartX,n=Math.abs(t),r=Math.abs(this.swipeEndY-this.swipeStartY);if(this.currentAction=0,this.swipeStartX=0,this.swipeStartY=0,this.swipeEndX=0,this.swipeEndY=0,!(!e||this.isAnimating()||n<1.5*r)){if(n<200)if(n0&&this.props.prevSrc?(e.preventDefault(),this.requestMovePrev(e)):t<0&&this.props.nextSrc&&(e.preventDefault(),this.requestMoveNext(e))}}},{key:"calculatePinchDistance",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.pinchTouchList,t=W(e,2),n=t[0],r=t[1];return Math.sqrt(Math.pow(n.x-r.x,2)+Math.pow(n.y-r.y,2))}},{key:"calculatePinchCenter",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.pinchTouchList,t=W(e,2),n=t[0],r=t[1];return{x:n.x-(n.x-r.x)/2,y:n.y-(n.y-r.y)/2}}},{key:"handlePinchStart",value:function(e){this.props.enableZoom&&(this.currentAction=3,this.pinchTouchList=e.map((function(e){return{id:e.id,x:e.x,y:e.y}})),this.pinchDistance=this.calculatePinchDistance())}},{key:"handlePinch",value:function(e){this.pinchTouchList=this.pinchTouchList.map((function(t){for(var n=0;n0&&t+o>=r||e.deltaY<0&&o<=0)&&e.preventDefault()}}},{key:"isAnimating",value:function(){return this.state.shouldAnimate||this.state.isClosing}},{key:"isImageLoaded",value:function(e){return e&&e in this.imageCache&&this.imageCache[e].loaded}},{key:"loadImage",value:function(e,t,n){var r=this;if(this.isImageLoaded(t))this.setTimeout((function(){n()}),1);else{var o=new Image;this.props.imageCrossOrigin&&(o.crossOrigin=this.props.imageCrossOrigin),o.onerror=function(o){r.props.onImageLoadError(t,e,o),r.setState((function(t){return{loadErrorStatus:V({},t.loadErrorStatus,q({},e,!0))}})),n(o)},o.onload=function(){r.props.onImageLoad(t,e,o),r.imageCache[t]={loaded:!0,width:o.width,height:o.height},n()},o.src=t}}},{key:"loadAllImages",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props,n=function(t,n){return function(r){r||e.props[t]!==n||e.didUnmount||e.forceUpdate()}};this.getSrcTypes().forEach((function(r){var o=r.name;t[o]&&e.state.loadErrorStatus[o]&&e.setState((function(e){return{loadErrorStatus:V({},e.loadErrorStatus,q({},o,!1))}})),t[o]&&"string"==typeof t[o]&&!e.isImageLoaded(t[o])&&e.loadImage(o,t[o],n(o,t[o]))}))}},{key:"requestClose",value:function(e){var t=this,n=function(){return t.props.onCloseRequest(e)};this.props.animationDisabled||"keydown"===e.type&&!this.props.animationOnKeyInput?n():(this.setState({isClosing:!0}),this.setTimeout(n,this.props.animationDuration))}},{key:"requestMove",value:function(e,t){var n=this,r={zoomLevel:0,offsetX:0,offsetY:0,shouldAnimate:!1};this.props.animationDisabled||this.keyPressed&&!this.props.animationOnKeyInput||(r.shouldAnimate=!0,this.setTimeout((function(){return n.setState({shouldAnimate:!1})}),this.props.animationDuration)),this.keyPressed=!1,this.moveRequested=!0,"prev"===e?(this.keyCounter-=1,this.setState(r),this.props.onMovePrevRequest(t)):(this.keyCounter+=1,this.setState(r),this.props.onMoveNextRequest(t))}},{key:"requestMoveNext",value:function(e){this.requestMove("next",e)}},{key:"requestMovePrev",value:function(e){this.requestMove("prev",e)}},{key:"render",value:function(){var e=this,n=this.props,r=n.animationDisabled,i=n.animationDuration,a=n.clickOutsideToClose,l=n.discourageDownloads,s=n.enableZoom,f=n.imageTitle,p=n.nextSrc,h=n.prevSrc,b=n.toolbarButtons,m=n.reactModalStyle,g=n.onAfterOpen,v=n.imageCrossOrigin,y=n.reactModalProps,O=this.state,j=O.zoomLevel,N=O.offsetX,D=O.offsetY,M=O.isClosing,B=O.loadErrorStatus,H=this.getLightboxRect(),q={};!r&&this.isAnimating()&&(q=V({},q,{transition:"transform ".concat(i,"ms")}));var W={};this.getSrcTypes().forEach((function(e){var t=e.name,n=e.keyEnding;W[t]=n}));var Y=[],G=function(n,r,i){if(e.props[n]){var a=e.getBestImageForType(n),c=V({},q,{},t.getTransform(V({},i,{},a)));j>0&&(c.cursor="move");var s;if(null===a&&(s=B,Object.keys(s).some((function(e){return s[e]}))))Y.push(o.a.createElement(P,{as:"div",className:r,style:c,key:e.props[n]+W[n]},o.a.createElement(E,{className:"errorContainer"},e.props.imageLoadErrorMessage)));else if(null!==a){var u=a.src;l?(c.backgroundImage="url('".concat(u,"')"),Y.push(o.a.createElement(P,{as:"div",className:"".concat(r," imageDiscourager"),onDoubleClick:e.handleImageDoubleClick,onWheel:e.handleImageMouseWheel,style:c,key:u+W[n]},o.a.createElement("div",{className:"downloadBlocker"})))):Y.push(o.a.createElement(P,Q({},v?{crossOrigin:v}:{},{className:r,onDoubleClick:e.handleImageDoubleClick,onWheel:e.handleImageMouseWheel,onDragStart:function(e){return e.preventDefault()},style:c,src:u,key:u+W[n],alt:"string"==typeof f?f:d("Image"),draggable:!1})))}else{var p=o.a.createElement(k,null,U(new Array(12)).map((function(e,t){return o.a.createElement(C,{key:t})})));Y.push(o.a.createElement(P,{as:"div",className:r,style:c,key:e.props[n]+W[n]},o.a.createElement(_,{className:"loadingContainer"},p)))}}},X=function(n,r){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=V({},q,{},t.getTransform(V({},i))),l=e.props[n];l=u.a.component(l)?o.a.createElement(l,null):l,Y.push(o.a.createElement(P,{as:"div",className:r,onDoubleClick:e.handleImageDoubleClick,onWheel:e.handleImageMouseWheel,onDragStart:function(e){return e.preventDefault()},style:a,key:W[n],draggable:!1},l))},$=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=e.props[t];if(""===i)Y.push(o.a.createElement(P,{as:"div",className:n,style:r,key:e.props[t]+W[t]},o.a.createElement(E,{className:"errorContainer"},e.props.imageLoadErrorMessage)));else if("string"==typeof i)G(t,n,r);else if(null===i);else{if(!u.a.component(i)&&!u.a.element(i))throw new Error("Could not recognize lightbox image");X(t,n,r)}},K=this.getZoomMultiplier();$("nextSrc","imageNext",{x:H.width}),$("mainSrc","ril-image-current",{x:-1*N,y:-1*D,zoom:K}),$("prevSrc","imagePrev",{x:-1*H.width});var Z={overlay:V({zIndex:1e3,backgroundColor:"transparent"},m.overlay),content:V({backgroundColor:"transparent",overflow:"hidden",border:"none",borderRadius:0,padding:0,top:0,left:0,right:0,bottom:0},m.content)};return c.a.setAppElement("#fusion-app"),o.a.createElement(c.a,Q({isOpen:!0,onRequestClose:a?this.requestClose:void 0,onAfterOpen:function(){e.outerEl&&e.outerEl.querySelector("#lightbox-close").focus();g()},style:Z,contentLabel:d("Lightbox")},y),o.a.createElement(w,{className:this.props.wrapperClassName,isClosing:M,style:{transition:"opacity ".concat(i,"ms"),animationDuration:"".concat(i,"ms"),animationDirection:M?"normal":"reverse"},ref:function(t){e.outerEl=t},onWheel:this.handleOuterMousewheel,onMouseMove:this.handleMouseMove,onMouseDown:this.handleMouseDown,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onKeyDown:this.handleKeyInput,onKeyUp:this.handleKeyInput},o.a.createElement(x,{className:"ril-inner",onClick:a?this.closeIfClickInner:void 0},Y),h&&o.a.createElement(S,{type:"button",className:"prev",key:"prev","aria-label":this.props.prevLabel,onClick:this.isAnimating()?void 0:this.requestMovePrev},o.a.createElement(A.a,{width:"100%",height:"100%",fill:"#fff"})),p&&o.a.createElement(S,{type:"button",className:"next",key:"next","aria-label":this.props.nextLabel,onClick:this.isAnimating()?void 0:this.requestMoveNext},o.a.createElement(I.a,{width:"100%",height:"100%",fill:"#fff"})),o.a.createElement(T,null,o.a.createElement("ul",{className:"toolbarSide leftSide"},o.a.createElement("li",{className:"toolbarItem"},o.a.createElement("span",{className:"itemChild"},f))),o.a.createElement("ul",{className:"toolbarSide rightSide"},b&&b.map((function(e,t){return o.a.createElement("li",{key:"button_".concat(t+1),className:"toolbarItem"},e)})),s&&o.a.createElement("li",{className:"toolbarItem"},o.a.createElement("button",{type:"button",key:"zoom-in","aria-label":this.props.zoomInLabel,className:["itemChild","builtinButton"].concat(U(300===j?["disabled"]:[])).join(" "),ref:function(t){e.zoomInBtn=t},disabled:this.isAnimating()||300===j,onClick:this.isAnimating()||300===j?void 0:this.handleZoomInButtonClick},o.a.createElement(R,{width:"100%",height:"100%",fill:"#fff"}))),s&&o.a.createElement("li",{className:"toolbarItem"},o.a.createElement("button",{type:"button",key:"zoom-out","aria-label":this.props.zoomOutLabel,className:["itemChild","builtinButton"].concat(U(0===j?["disabled"]:[])).join(" "),ref:function(t){e.zoomOutBtn=t},disabled:this.isAnimating()||0===j,onClick:this.isAnimating()||0===j?void 0:this.handleZoomOutButtonClick},o.a.createElement(F,{width:"100%",height:"100%",fill:"#fff"}))),o.a.createElement("li",{className:"toolbarItem"},o.a.createElement("button",{type:"button",key:"close",id:"lightbox-close","aria-label":this.props.closeLabel,className:"itemChild builtinButton",onClick:this.isAnimating()?void 0:this.requestClose},o.a.createElement(z.a,{width:"100%",height:"100%",fill:"#fff"}))))),(this.props.imageCaption||this.props.children)&&this.props.showImageCaption&&o.a.createElement(L,{onWheel:this.handleCaptionMousewheel,onMouseDown:function(e){return e.stopPropagation()},ref:function(t){e.caption=t}},o.a.createElement("div",{className:"captionContent"},this.props.children||this.props.imageCaption))))}}]),t}(r.Component);te.propTypes={mainSrc:ee.isRequired,prevSrc:ee,nextSrc:ee,mainSrcThumbnail:a.a.string,prevSrcThumbnail:a.a.string,nextSrcThumbnail:a.a.string,onCloseRequest:a.a.func.isRequired,onMovePrevRequest:a.a.func,onMoveNextRequest:a.a.func,onImageLoadError:a.a.func,onImageLoad:a.a.func,onAfterOpen:a.a.func,discourageDownloads:a.a.bool,animationDisabled:a.a.bool,animationOnKeyInput:a.a.bool,animationDuration:a.a.number,keyRepeatLimit:a.a.number,keyRepeatKeyupBonus:a.a.number,imageTitle:a.a.node,imageCaption:a.a.node,showImageCaption:a.a.bool,imageCrossOrigin:a.a.string,reactModalStyle:a.a.shape({}),imagePadding:a.a.number,wrapperClassName:a.a.string,toolbarButtons:a.a.arrayOf(a.a.node),clickOutsideToClose:a.a.bool,enableZoom:a.a.bool,reactModalProps:a.a.shape({}),nextLabel:a.a.string,prevLabel:a.a.string,zoomInLabel:a.a.string,zoomOutLabel:a.a.string,closeLabel:a.a.string,imageLoadErrorMessage:a.a.node},te.defaultProps={imageTitle:null,imageCaption:null,showImageCaption:!1,toolbarButtons:null,reactModalProps:{},animationDisabled:!1,animationDuration:300,animationOnKeyInput:!1,clickOutsideToClose:!0,closeLabel:"Close lightbox",discourageDownloads:!1,enableZoom:!0,imagePadding:10,imageCrossOrigin:null,keyRepeatKeyupBonus:40,keyRepeatLimit:180,mainSrcThumbnail:null,nextLabel:"Next image",nextSrc:null,nextSrcThumbnail:null,onAfterOpen:function(){},onImageLoadError:function(){},onImageLoad:function(){},onMoveNextRequest:function(){},onMovePrevRequest:function(){},prevLabel:"Previous image",prevSrc:null,prevSrcThumbnail:null,reactModalStyle:{},wrapperClassName:"",zoomInLabel:"Zoom in",zoomOutLabel:"Zoom out",imageLoadErrorMessage:"This image failed to load"};var ne=te;t.a=ne},function(e,t,n){"use strict";var r=n(1),o=n.n(r),i=n(92),a=n(3),l=n.n(a),c=n(19),s=n(24),u=n(71),d=n(28),f=function(e,t){var n=Object(r.useRef)((function(){}));Object(r.useEffect)((function(){n.current=e}),[e]),Object(r.useEffect)((function(){if(null!==t){var e=setInterval((function(){n.current()}),t);return function(){return clearInterval(e)}}}),[t])},p={events:{},dispatch:function(e,t){this.events[e]&&this.events[e].forEach((function(e){return e(t)}))},subscribe:function(e,t){this.events[e]||(this.events[e]=[]),this.events[e].push(t)}},h=n(7),b=n.n(h),m=n(35),g=n.n(m),v=b.a.section.withConfig({displayName:"styled__GalleryDiv",componentId:"sc-1kcr3bh-0"})(["display:block;width:100%;overflow:hidden;"]),y=b.a.button.withConfig({displayName:"styled__GalleryButton",componentId:"sc-1kcr3bh-1"})(["background:none;border:none;padding:0;height:auto;cursor:pointer;&:hover{cursor:pointer;}"]),O=b.a.div.withConfig({displayName:"styled__ControlsDiv",componentId:"sc-1kcr3bh-2"})(["display:flex;justify-content:space-between;align-items:center;"]),j=b.a.div.withConfig({displayName:"styled__ControlContainer",componentId:"sc-1kcr3bh-3"})(["@media screen and (max-width:48rem){.gallery--top-control-button{display:none;}}flex:0 0 auto;line-height:",";margin:6px 0;width:auto;&,> button,> span{display:inline-flex;align-items:center;color:#191919;font-size:14px;font-weight:500;}"],g()("16px")),w=b()(y).withConfig({displayName:"styled__ControlsButton",componentId:"sc-1kcr3bh-4"})(["display:flex;align-items:center;svg{height:1rem;width:1rem;}> *{flex:auto;line-height:1;}"]),x=b.a.span.withConfig({displayName:"styled__PlaybackText",componentId:"sc-1kcr3bh-5"})(["font-family:",";margin:0 30px 0 4px;"],(function(e){return e.primaryFont})),S=b.a.span.withConfig({displayName:"styled__ImageCountText",componentId:"sc-1kcr3bh-6"})(["font-family:",";display:inline-block;margin:0 0 0 12px;span{position:absolute;height:1px;width:1px;overflow:hidden;clip:rect(1px 1px 1px 1px);clip:rect(1px,1px,1px,1px);}"],(function(e){return e.primaryFont})),_=b.a.div.withConfig({displayName:"styled__CarouselContainer",componentId:"sc-1kcr3bh-7"})(["display:block;display:-webkit-box;position:relative;overflow:hidden;white-space:nowrap;width:100%;background-color:black;"]),k=b()(y).withConfig({displayName:"styled__CarouselButton",componentId:"sc-1kcr3bh-8"})(["position:absolute;top:calc(50% - 1.5rem);height:3rem;width:3rem;&.prev-button{left:0;}&.next-button{right:0;}"]),C=b.a.div.withConfig({displayName:"styled__ImageWrapper",componentId:"sc-1kcr3bh-9"})(["text-align:center;width:100%;height:auto;display:flex;flex-direction:column;transition-property:transform,visibility;font-size:0;margin:auto;justify-content:center;img{aspect-ratio:",";object-fit:contain;height:auto;min-height:25vh;max-height:75vh;}"],(function(e){return e.aspectRatio})),E=b.a.div.withConfig({displayName:"styled__AdWrapper",componentId:"sc-1kcr3bh-10"})(["background-color:black;height:100%;display:flex;align-items:center;justify-content:center;width:100%;.advertisement-label{color:white;line-height:1.5rem;}.arcad_feature{background-color:#222222;padding:2rem;}"]),P=n(274),L=n(9);function T(){return(T=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n3&&void 0!==arguments[3]?arguments[3]:{};p.dispatch(e,F({eventName:e,ansGalleryId:h,ansGalleryHeadline:m,ansImageId:t[n]._id,caption:t[n].caption,orderPosition:r,totalImages:t.length},o))},Ae=function(){if(ae<=0)Le()&&Ee(!0);else{var e=ae-1;Te("galleryImagePrevious",e,e+1,{autoplay:!1}),ue(q.backward),Le()&&!ve?_e(!0):(le(e),pe(fe+1),Ee(!1))}},Ie=function(){if(ae>=t.length-1)Le()&&Ee(!0);else{var e=ae+1;Te("galleryImageNext",e,e+1,{autoplay:!1}),ue(q.forward),Le()&&!ve?_e(!0):(le(e),pe(fe+1),Ee(!1))}};f((function(){if(ae>=t.length-1)we(null),Te("galleryAutoplayStop",ae,ae);else{var e=ae+1;Te("galleryImageNext",e,e+1,{autoplay:!0}),ue(q.forward),Le()&&!ve?_e(!0):(le(e),pe(fe+1),Ee(!1))}}),je);var Ne=function(e,n){var r,o=re.current.querySelectorAll("img");if(o&&o.length){var i=R(o);if("next"===n)return i[(e+1)%i.length].dataset.lightbox;if("prev"===n)return i[(e+i.length-1)%i.length].dataset.lightbox;if(i[e]&&i[e].dataset)return i[e].dataset.lightbox}var l="".concat(1600,"x",0),c=null===(r=t[e])||void 0===r?void 0:r.resized_params[l];if(c){var u=t[e].url.replace("https://","");return Object(s.a)(c,l,u,a)}return""},De=Object(i.useSwipeable)({onSwiped:function(e){me({isSliding:!1,delta:0}),"Left"===e.dir&&Ie(),"Right"===e.dir&&Ae()},onSwiping:function(e){me({isSliding:!0,delta:-e.deltaX})},preventDefaultTouchmoveEvent:!1}),Re=function(e,t,n,r){return o.a.createElement(C,{key:"gallery-image-".concat(e._id),id:"gallery-pos-".concat(t),"data-image-id":e._id,style:{transform:be.isSliding?"translate(calc(".concat(-100*ae,"% - ").concat(be.delta,"px), 0)"):"translate(".concat(-100*ae,"%, 0)"),transitionDuration:be.isSliding?"0s":"1s",visibility:t===ae||be.isSliding?null:"hidden"},aspectRatio:e.width/e.height,role:"group","aria-roledescription":"slide","aria-label":"".concat(t+1," of ").concat(r),"aria-hidden":t!==ae},n?(i=0,Se&&(i=se===q.forward?-100:100),o.a.createElement(E,{className:"gallery-ad-wrapper",ref:oe,style:{transform:be.isSliding?"translate(calc(".concat(i,"% - ").concat(be.delta,"px), 0)"):"translate(".concat(i,"%, 0)"),transitionDuration:be.isSliding?"0s":"1s"}},o.a.createElement(H,null))):o.a.createElement(c.a,{url:e.url,alt:e.alt_text,smallWidth:400,smallHeight:0,mediumWidth:600,mediumHeight:0,largeWidth:800,largeHeight:0,lightBoxWidth:1600,lightBoxHeight:0,resizedImageOptions:e.resized_params,breakpoints:e.breakpoints||{},resizerURL:a}));var i};Object(r.useEffect)((function(){if(Pe()){var e=oe.current;if(e){var t=function(e){"transform"===e.propertyName&&(_e(!1),Ee(!0))};return e.addEventListener("transitionend",t),function(){e.removeEventListener("transitionend",t)}}}}));var Me={__html:z?z(ae+1,t.length):"Image ".concat(ae+1," of ").concat(t.length)};return(o.a.createElement(v,{ref:re,"aria-roledescription":"carousel","aria-label":m},o.a.createElement(O,null,o.a.createElement(j,null,o.a.createElement(w,{type:"button",onClick:function(){return we(null),ye(!0),void Te("galleryExpandEnter",ae,ae)}},o.a.createElement(P.a,{fill:"#6B6B6B"}),o.a.createElement(x,{primaryFont:K},g||"Expand")),o.a.createElement(w,{type:"button",onClick:function(){return function(){if(je)we(null),Te("galleryAutoplayStop",ae,ae);else{if(Te("galleryAutoplayStart",ae,ae),ae>=t.length-1){Te("galleryImagePrevious",0,1,{autoplay:!0}),le(0)}we(4e3)}}()}},je?o.a.createElement(o.a.Fragment,null,o.a.createElement(A,{fill:"#6B6B6B"}),o.a.createElement(x,{primaryFont:K,"aria-label":T.stop||"Stop automatic slide show"},M||"Pause autoplay")):o.a.createElement(o.a.Fragment,null,o.a.createElement(I.a,{fill:"#6B6B6B"}),o.a.createElement(x,{primaryFont:K,"aria-label":T.start||"Start automatic slide show"},y||"Autoplay")))),o.a.createElement(j,null,o.a.createElement(S,{primaryFont:K,dangerouslySetInnerHTML:Me}),o.a.createElement(w,{"aria-label":Y,className:"gallery--top-control-button",onClick:function(){return Ae()},type:"button"},o.a.createElement(N.a,{fill:"#6B6B6B"})),o.a.createElement(w,{"aria-label":X,className:"gallery--top-control-button",onClick:function(){return Ie()},type:"button"},o.a.createElement(D.a,{fill:"#6B6B6B"})))),o.a.createElement(_,V({id:"gallery-images-".concat(h)},De,{"aria-live":je?"off":"polite"}),t.map((function(e,n){return Re(e,n,Le()&&function(e){return e===ae}(n),t.length)})),o.a.createElement(k,{type:"button","aria-label":Y,className:"prev-button",onClick:function(){return Ae()}},o.a.createElement(N.a,{width:"100%",height:"100%",fill:"white"})),o.a.createElement(k,{type:"button","aria-label":X,className:"next-button",onClick:function(){return Ie()}},o.a.createElement(D.a,{width:"100%",height:"100%",fill:"white"}))),t[ae]&&o.a.createElement(d.a,{subtitle:J?t[ae].subtitle:null,caption:ee?t[ae].caption:null,credits:ne?t[ae].credits:null}),ve&&o.a.createElement(u.a,{mainSrc:Ne(ae,"main"),nextSrc:Ne(ae,"next"),prevSrc:Ne(ae,"prev"),onCloseRequest:function(){return ye(!1),void Te("galleryExpandExit",ae,ae)},onMovePrevRequest:function(){return Ae()},onMoveNextRequest:function(){return Ie()},imagePadding:32,showImageCaption:!0},t[ae]&&o.a.createElement(d.a,{subtitle:J?t[ae].subtitle:null,caption:ee?t[ae].caption:null,credits:ne?t[ae].credits:null}))))};W.propTypes={resizerURL:l.a.string,ansId:l.a.string,ansHeadline:l.a.string,galleryElements:l.a.array,expandPhrase:l.a.string,autoplayPhrase:l.a.string,autoplayPhraseLabels:l.a.shape({start:l.a.string,stop:l.a.string}),pausePhrase:l.a.string,pageCountPhrase:l.a.func,interstitialClicks:l.a.number,adElement:l.a.func,controlsFont:l.a.string,displayTitle:l.a.bool,displayCaption:l.a.bool,displayCredits:l.a.bool};t.a=W},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==n.call(e)}},function(e,t,n){"use strict";(function(t,r){var o=n(40);e.exports=y;var i,a=n(73);y.ReadableState=v;n(59).EventEmitter;var l=function(e,t){return e.listeners(t).length},c=n(75),s=n(41).Buffer,u=t.Uint8Array||function(){};var d=Object.create(n(32));d.inherits=n(29);var f=n(150),p=void 0;p=f&&f.debuglog?f.debuglog("stream"):function(){};var h,b=n(151),m=n(76);d.inherits(y,c);var g=["error","close","destroy","pause","resume"];function v(e,t){e=e||{};var r=t instanceof(i=i||n(26));this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var o=e.highWaterMark,a=e.readableHighWaterMark,l=this.objectMode?16:16384;this.highWaterMark=o||0===o?o:r&&(a||0===a)?a:l,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new b,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(h||(h=n(62).StringDecoder),this.decoder=new h(e.encoding),this.encoding=e.encoding)}function y(e){if(i=i||n(26),!(this instanceof y))return new y(e);this._readableState=new v(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function O(e,t,n,r,o){var i,a=e._readableState;null===t?(a.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,x(e)}(e,a)):(o||(i=function(e,t){var n;r=t,s.isBuffer(r)||r instanceof u||"string"==typeof t||void 0===t||e.objectMode||(n=new TypeError("Invalid non-string/buffer chunk"));var r;return n}(a,t)),i?e.emit("error",i):a.objectMode||t&&t.length>0?("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===s.prototype||(t=function(e){return s.from(e)}(t)),r?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):j(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!n?(t=a.decoder.write(t),a.objectMode||0!==t.length?j(e,a,t,!1):_(e,a)):j(e,a,t,!1))):r||(a.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.lengtht.highWaterMark&&(t.highWaterMark=function(e){return e>=8388608?e=8388608:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function x(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(p("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?o.nextTick(S,e):S(e))}function S(e){p("emit readable"),e.emit("readable"),P(e)}function _(e,t){t.readingMore||(t.readingMore=!0,o.nextTick(k,e,t))}function k(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length=t.length?(n=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):n=function(e,t,n){var r;ei.length?i.length:e;if(a===i.length?o+=i:o+=i.slice(0,e),0===(e-=a)){a===i.length?(++r,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=i.slice(a));break}++r}return t.length-=r,o}(e,t):function(e,t){var n=s.allocUnsafe(e),r=t.head,o=1;r.data.copy(n),e-=r.data.length;for(;r=r.next;){var i=r.data,a=e>i.length?i.length:e;if(i.copy(n,n.length-e,0,a),0===(e-=a)){a===i.length?(++o,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=i.slice(a));break}++o}return t.length-=o,n}(e,t);return r}(e,t.buffer,t.decoder),n);var n}function T(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,o.nextTick(A,t,e))}function A(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function I(e,t){for(var n=0,r=e.length;n=t.highWaterMark||t.ended))return p("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?T(this):x(this),null;if(0===(e=w(e,t))&&t.ended)return 0===t.length&&T(this),null;var r,o=t.needReadable;return p("need readable",o),(0===t.length||t.length-e0?L(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&T(this)),null!==r&&this.emit("data",r),r},y.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},y.prototype.pipe=function(e,t){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,p("pipe count=%d opts=%j",i.pipesCount,t);var c=(!t||!1!==t.end)&&e!==r.stdout&&e!==r.stderr?u:y;function s(t,r){p("onunpipe"),t===n&&r&&!1===r.hasUnpiped&&(r.hasUnpiped=!0,p("cleanup"),e.removeListener("close",g),e.removeListener("finish",v),e.removeListener("drain",d),e.removeListener("error",m),e.removeListener("unpipe",s),n.removeListener("end",u),n.removeListener("end",y),n.removeListener("data",b),f=!0,!i.awaitDrain||e._writableState&&!e._writableState.needDrain||d())}function u(){p("onend"),e.end()}i.endEmitted?o.nextTick(c):n.once("end",c),e.on("unpipe",s);var d=function(e){return function(){var t=e._readableState;p("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&l(e,"data")&&(t.flowing=!0,P(e))}}(n);e.on("drain",d);var f=!1;var h=!1;function b(t){p("ondata"),h=!1,!1!==e.write(t)||h||((1===i.pipesCount&&i.pipes===e||i.pipesCount>1&&-1!==I(i.pipes,e))&&!f&&(p("false write response, pause",n._readableState.awaitDrain),n._readableState.awaitDrain++,h=!0),n.pause())}function m(t){p("onerror",t),y(),e.removeListener("error",m),0===l(e,"error")&&e.emit("error",t)}function g(){e.removeListener("finish",v),y()}function v(){p("onfinish"),e.removeListener("close",g),y()}function y(){p("unpipe"),n.unpipe(e)}return n.on("data",b),function(e,t,n){if("function"==typeof e.prependListener)return e.prependListener(t,n);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]:e.on(t,n)}(e,"error",m),e.once("close",g),e.once("finish",v),e.emit("pipe",n),i.flowing||(p("pipe resume"),n.resume()),e},y.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,n),this);if(!e){var r=t.pipes,o=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i=0)&&i(e,!n)}e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){l&&(l.removeAttribute?l.removeAttribute("aria-hidden"):null!=l.length?l.forEach((function(e){return e.removeAttribute("aria-hidden")})):document.querySelectorAll(l).forEach((function(e){return e.removeAttribute("aria-hidden")})));l=null},t.log=function(){0},t.assertNodeList=c,t.setElement=function(e){var t=e;if("string"==typeof t&&a.canUseDOM){var n=document.querySelectorAll(t);c(n,t),t=n}return l=t||l},t.validateElement=s,t.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var o,i=s(e)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){o.value.setAttribute("aria-hidden","true")}}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}},t.show=function(e){var t=!0,n=!1,r=void 0;try{for(var o,i=s(e)[Symbol.iterator]();!(t=(o=i.next()).done);t=!0){o.value.removeAttribute("aria-hidden")}}catch(e){n=!0,r=e}finally{try{!t&&i.return&&i.return()}finally{if(n)throw r}}},t.documentNotReadyOrSSRTesting=function(){l=null};var r,o=n(174),i=(r=o)&&r.__esModule?r:{default:r},a=n(63);var l=null;function c(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function s(e){var t=e||l;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,i.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.log=function(){console.log("portalOpenInstances ----------"),console.log(o.openInstances.length),o.openInstances.forEach((function(e){return console.log(e)})),console.log("end portalOpenInstances ----------")},t.resetState=function(){o=new r};var r=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach((function(n){return n(e,t.openInstances.slice())}))},this.openInstances=[],this.subscribers=[]},o=new r;t.default=o},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";var r=n(1),o=n.n(r),i=n(9);function a(){return(a=Object.assign||function(e){for(var t=1;t1||e((function(e,n){n.trackMouse&&(document.addEventListener("mousemove",r),document.addEventListener("mouseup",u));var i="touches"in t?t.touches[0]:t,c=l([i.clientX,i.clientY],n.rotationAngle);return o({},e,a,{initial:[].concat(c),xy:c,start:t.timeStamp||0})}))},r=function(t){e((function(e,n){if("touches"in t&&t.touches.length>1)return e;var r="touches"in t?t.touches[0]:t,a=l([r.clientX,r.clientY],n.rotationAngle),c=a[0],s=a[1],u=c-e.xy[0],d=s-e.xy[1],f=Math.abs(u),p=Math.abs(d),h=(t.timeStamp||0)-e.start,b=Math.sqrt(f*f+p*p)/(h||1),m=[u/(h||1),d/(h||1)],g=function(e,t,n,r){return e>t?n>0?"Right":"Left":r>0?"Down":"Up"}(f,p,u,d),v="number"==typeof n.delta?n.delta:n.delta[g.toLowerCase()]||i.delta;if(f=t||n<0||h&&e-s>=i}function j(){var e=p();if(O(e))return w(e);l=setTimeout(j,function(e){var n=t-(e-c);return h?f(n,i-(e-s)):n}(e))}function w(e){return l=void 0,g&&r?v(e):(r=o=void 0,a)}function x(){var e=p(),n=O(e);if(r=arguments,o=this,c=e,n){if(void 0===l)return y(c);if(h)return l=setTimeout(j,t),v(c)}return void 0===l&&(l=setTimeout(j,t)),a}return t=m(t)||0,b(n)&&(u=!!n.leading,i=(h="maxWait"in n)?d(m(n.maxWait)||0,t):i,g="trailing"in n?!!n.trailing:g),x.cancel=function(){void 0!==l&&clearTimeout(l),s=0,r=c=o=l=void 0},x.flush=function(){return void 0===l?a:w(p())},x}function b(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function m(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==u.call(e)}(e))return NaN;if(b(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=b(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var l=o.test(e);return l||i.test(e)?a(e.slice(2),l?2:8):r.test(e)?NaN:+e}e.exports=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return b(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),h(e,t,{leading:r,maxWait:t,trailing:o})}}).call(this,n(23))},function(e,t,n){"undefined"!=typeof self&&self,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:r})},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=3)}([function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initializeGPT=function(){window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],(0,r.appendResource)("script","//www.googletagservices.com/tag/js/gpt.js",!0,!0)},t.refreshSlot=function(e){var t=e.ad,n=e.correlator,r=void 0!==n&&n,o=e.prerender,i=void 0===o?null:o,a=e.info,l=void 0===a?{}:a;new Promise((function(e){if(i)try{i(l).then((function(){e("Prerender function has completed.")}))}catch(t){console.warn("ArcAds: Prerender function did not return a promise or there was an error.\n Documentation: https://github.com/wapopartners/arc-ads/wiki/Utilizing-a-Prerender-Hook"),e("Prerender function did not return a promise or there was an error, ignoring.")}else e("No Prerender function was provided.")})).then((function(){!function e(){if(window.blockArcAdsLoad)return"blockArcAdsLoad";window.googletag&&googletag.pubadsReady?window.googletag.pubads().refresh([t],{changeCorrelator:r}):setTimeout((function(){e()}),200)}()}))},t.queueGoogletagCommand=function(e){window.googletag.cmd.push(e)},t.setTargeting=function(e,t){for(var n in t)t.hasOwnProperty(n)&&t[n]&&e.setTargeting(n,t[n])},t.dfpSettings=function(e){window.googletag.pubads().disableInitialLoad(),window.googletag.pubads().enableSingleRequest(),window.googletag.pubads().enableAsyncRendering(),this.collapseEmptyDivs&&window.googletag.pubads().collapseEmptyDivs(),window.googletag.enableServices(),e&&window.googletag.pubads().addEventListener("slotRenderEnded",e)},t.determineSlotName=function(e,t){var n=(0,o.expandQueryString)("adslot");return!n||""===n&&null===n?"/"+e+"/"+t:"/"+e+"/"+n};var r=n(5),o=n(6)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initializeBiddingServices=a,t.fetchBids=function(e){var t=this,n=e.ad,l=e.id,c=e.slotName,s=e.dimensions,u=e.wrapper,d=e.bidding,f=e.correlator,p=void 0!==f&&f,h=e.prerender,b=e.breakpoints,m={adUnit:n,adSlot:c,adDimensions:s,adId:l,bids:d},g=new Promise((function(e){if(u.prebid&&u.prebid.enabled){var o=u.prebid.timeout||700;r.queuePrebidCommand.bind(t,(0,r.fetchPrebidBids)(n,u.prebid.useSlotForAdUnit?c:l,o,m,h,(function(){e("Fetched Prebid ads!")})))}else e("Prebid is not enabled on the wrapper...")})),v=new Promise((function(e){u.amazon&&u.amazon.enabled?(0,o.fetchAmazonBids)(l,c,s,b,(function(){e("Fetched Amazon ads!")})):e("Amazon is not enabled on the wrapper...")}));window.arcBiddingReady?Promise.all([g,v]).then((function(){(0,i.refreshSlot)({ad:n,correlator:p,prerender:h,info:m})})):setTimeout((function(){return a()}),200)};var r=n(2),o=n(7),i=n(0);function a(e){var t=e.prebid,n=void 0!==t&&t,r=e.amazon,i=void 0!==r&&r;if(!window.arcBiddingReady){window.arcBiddingReady=!1;var a=new Promise((function(e){if(n&&n.enabled){if("undefined"==typeof pbjs){var t=t||{};t.que=t.que||[]}e("Prebid has been initialized")}else e("Prebid is not enabled on the wrapper...")})),l=new Promise((function(e){i&&i.enabled&&window.apstag?i.id&&""!==i.id?(0,o.queueAmazonCommand)((function(){window.apstag.init({pubID:i.id,adServer:"googletag"}),e("Amazon scripts have been added onto the page!")})):(console.warn("ArcAds: Missing Amazon account id. \n Documentation: https://github.com/wapopartners/arc-ads#amazon-tama9"),e("Amazon is not enabled on the wrapper...")):e("Amazon is not enabled on the wrapper...")}));Promise.all([a,l]).then((function(){window.arcBiddingReady=!0}))}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(e){for(var t=1;t5&&void 0!==arguments[5]?arguments[5]:null,l=r;l.bids=Array.isArray(r.bids)?r.bids:[r.bids],i(e,[t],n,l,o,a)},t.addUnit=function(e,t,n){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=r({code:e,bids:n},i);a.mediaTypes={banner:{sizes:t}};var l=o.sizeConfig,c=o.config;pbjs.addAdUnits(a),c?pbjs.setConfig(c):l&&pbjs.setConfig({sizeConfig:l})};var o=n(0);function i(e,t,n,r,i){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;pbjs.addAdUnits(r),window.blockArcAdsPrebid||pbjs.requestBids({timeout:n,adUnitCodes:t,bidsBackHandler:function(n){console.log("Bid Back Handler",n),pbjs.setTargetingForGPTAsync(t),a?a():(0,o.refreshSlot)({ad:e,info:r,prerender:i})}})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArcAds=void 0;var r=function(){function e(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:null;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.dfpId=t.dfp.id||"",this.wrapper=t.bidding||{},this.positions=[],this.collapseEmptyDivs=t.dfp.collapseEmptyDivs,this.adsList=[],window.isMobile=o.MobileDetection,""===this.dfpId?console.warn("ArcAds: DFP id is missing from the arcads initialization script.","\n","Documentation: https://github.com/wapopartners/arc-ads#getting-started"):((0,a.initializeGPT)(),(0,a.queueGoogletagCommand)(a.dfpSettings.bind(this,n)),(0,i.initializeBiddingServices)(this.wrapper))}return r(e,[{key:"registerAd",value:function(e){var t=e.id,n=e.slotName,r=e.dimensions,o=e.adType,i=void 0!==o&&o,c=e.targeting,u=void 0===c?{}:c,d=e.display,f=void 0===d?"all":d,p=e.bidding,h=void 0!==p&&p,b=e.iframeBidders,m=void 0===b?["openx"]:b,g=e.others,v=void 0===g?{}:g,y=[],O=!1,j=function e(t){return Array.isArray(t)?1+Math.max.apply(Math,s(t.map((function(t){return e(t)})))):0}(r);r&&void 0!==r&&1===j?y.push.apply(y,s(r)):r&&void 0!==r&&r.length>0&&2===j?y.push.apply(y,s(r)):r&&r.forEach((function(e){y.push.apply(y,s(e))}));try{if(!(u&&u.hasOwnProperty("position")||!1===i)){var w=this.positions[i]+1||1;this.positions[i]=w;var x=Object.assign(u,{position:w});Object.assign(e,{targeting:x})}var S=h.prebid&&(h.prebid.enabled&&h.prebid.bids||void 0===h.prebid.enabled&&h.prebid.bids);if(isMobile.any()&&"mobile"===f||!isMobile.any()&&"desktop"===f||"all"===f){if(S&&this.wrapper.prebid&&this.wrapper.prebid.enabled&&y){pbjs&&m.length>0&&pbjs.setConfig({userSync:{iframeEnabled:!0,filterSettings:{iframe:{bidders:m,filter:"include"}}}});var _=this.wrapper.prebid.useSlotForAdUnit?(0,a.determineSlotName)(this.dfpId,n):t;l.queuePrebidCommand.bind(this,(0,l.addUnit)(_,y,h.prebid.bids,this.wrapper.prebid,v))}(O=this.displayAd.bind(this,e))&&(0,a.queueGoogletagCommand)(O)}}catch(e){console.error("ads error",e)}}},{key:"registerAdCollection",value:function(e){var t=this;e.forEach((function(e){t.registerAd(e)}))}},{key:"registerAdCollectionSingleCall",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:700;window.blockArcAdsLoad=!0,window.blockArcAdsPrebid=!0,e.forEach((function(e){t.registerAd(e)})),window.blockArcAdsLoad=!1,window.blockArcAdsPrebid=!1,pbjs.requestBids({timeout:n,bidsBackHandler:function(e){console.log("Bid Back Handler",e),pbjs.setTargetingForGPTAsync(),window.googletag.pubads().refresh(window.adsList),window.adsList=[]}})}},{key:"displayAd",value:function(e){var t=e.id,n=e.slotName,r=e.dimensions,o=e.targeting,l=e.sizemap,s=void 0!==l&&l,u=e.bidding,d=void 0!==u&&u,f=e.prerender,p=void 0===f?null:f,h=(0,a.determineSlotName)(this.dfpId,n),b=r&&!r.length?null:r,m=r?window.googletag.defineSlot(h,b,t):window.googletag.defineOutOfPageSlot(h,t);if(s&&s.breakpoints&&r){var g=(0,c.prepareSizeMaps)(b,s.breakpoints),v=g.mapping,y=g.breakpoints,O=g.correlators;if(!m)return!1;m.defineSizeMapping(v),s.refresh&&(0,c.setResizeListener)({ad:m,slotName:h,breakpoints:y,id:t,mapping:v,correlators:O,bidding:d,wrapper:this.wrapper,prerender:p})}m&&(m.addService(window.googletag.pubads()),(0,a.setTargeting)(m,o));var j=s&&s.breakpoints?s.breakpoints:[];window.adsList&&m&&adsList.push(m),r&&d&&(d.amazon&&d.amazon.enabled||d.prebid&&d.prebid.enabled)?(0,i.fetchBids)({ad:m,id:t,slotName:h,dimensions:b,wrapper:this.wrapper,prerender:p,bidding:d,breakpoints:j}):window.blockArcAdsPrebid||(0,a.refreshSlot)({ad:m,prerender:p,info:{adUnit:m,adSlot:h,adDimensions:b,adId:t}})}},{key:"sendSingleCallAds",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:700;if(this.adsList&&this.adsList.length<1)return!1;window&&window.googletag&&googletag.pubadsReady?(window.googletag.pubads().disableInitialLoad(),window.googletag.pubads().enableSingleRequest(),window.googletag.pubads().enableAsyncRendering(),this.registerAdCollectionSingleCall(this.adsList,t)):setTimeout((function(){e.sendSingleCallAds()}),2e3)}},{key:"reserveAd",value:function(t){e.setAdsBlockGate(),this.adsList.push(t)}},{key:"setPageLeveTargeting",value:function(e,t){googletag.pubads().setTargeting(e,t)}}],[{key:"setAdsBlockGate",value:function(){var t=e.getWindow();void 0!==t&&(t.blockArcAdsLoad=!0)}},{key:"releaseAdsBlockGate",value:function(){var t=e.getWindow();void 0!==t&&(t.blockArcAdsLoad=!1)}},{key:"getWindow",value:function(){return window}}]),e}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(){function e(e,t){for(var n=0;n1}},{key:"any",value:function(){return this.Android()||this.Kindle()||this.KindleFire()||this.Silk()||this.BlackBerry()||this.iOS()||this.Windows()||this.FirefoxOS()}}]),e}();t.default=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.appendResource=function(e,t,n,r,o){var i=document.createElement(e);"script"===e&&(i.src=t,i.async=n||!1,i.defer=n||r||!1,(document.head||document.documentElement).appendChild(i),o&&o())}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.expandQueryString=function(e){var t=window.location.href,n=e.replace(/[[\]]/g,"\\$&"),r=new RegExp("[?&]"+n+"(=([^&#]*)|&|#|$)").exec(t);return r?r[2]?decodeURIComponent(r[2].replace(/\+/g," ")):"":null}},function(e,t,n){"use strict";function r(e){window.apstag&&e()}Object.defineProperty(t,"__esModule",{value:!0}),t.fetchAmazonBids=function(e,t,n,o){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=n;if(o&&void 0!==window.innerWidth&&void 0!==n[0][0][0]){for(var l=window.innerWidth,c=-1,s=o.length,u=0;u=o[u][0]){c=u;break}a=n[c]}r((function(){var n={slotName:t,slotID:e,sizes:a};window.apstag.fetchBids({slots:[n]},(function(){window.apstag.setDisplayBids(),i&&i()}))}))},t.queueAmazonCommand=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resizeListeners=t.sizemapListeners=void 0,t.prepareSizeMaps=function(e,t){var n=[],r=[],o=[],i=t.length?t:null;return i&&e&&i.forEach((function(t,i){n.push([t,e[i]]),-1===r.indexOf(t[0])&&(r.push(t[0]),o.push(!1))})),r.sort((function(e,t){return e-t})),{mapping:n,breakpoints:r,correlators:o}},t.parseSizeMappings=c,t.runResizeEvents=s,t.setResizeListener=function(e){var t=e.id,n=e.correlators;l[t]=(0,r.debounce)(s(e),250),window.addEventListener("resize",l[t]),a[t]={listener:l[t],correlators:n}};var r=n(9),o=n(1),i=n(0),a=t.sizemapListeners={},l=t.resizeListeners={};function c(e){try{var t=[window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight],n=e.filter((function(e){return e[0][0]<=t[0]&&e[0][1]<=t[1]})),r=n.length>0?n[0][1]:[];return r.length>0&&r[0].constructor!==Array&&(r=[r]),r}catch(t){return e[e.length-1][1]}}function s(e){var t=void 0,n=!1;return function(){for(var r=e.ad,l=e.breakpoints,s=e.id,u=e.bidding,d=e.mapping,f=e.slotName,p=e.wrapper,h=e.prerender,b=window.innerWidth,m=void 0,g=void 0,v=0;vm&&(b[\s\S]*?<\/script>/gi;var i=/]+src=(['"])(.*?)\1/i;t.EXTERNAL_SCRIPT=i;var a=/[\s\S]*?createElement[\s\S]*?src\s?=\s?(['"])(.*?)\1/i;t.INJECTED_SCRIPT=a;var l=function(e){return function(e){var t=e.match(i);return t&&t[2]}(e)||function(e){var t=e.match(a);return t&&t[2]}(e)},c=function(e){return Object.keys(e.reduce((function(e,t){return t?function(e){for(var t=1;t/gi);return t?c(t.map(l)):[]};t.injectScriptTag=function(e){var t=document.createElement("script");return t.src=e.replace("&","&"),document.head.appendChild(t),t}},function(e,t,n){"use strict";function r(e){return function(e){if(Array.isArray(e))return o(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return o(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return o(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n #fb-root")){r(document.querySelectorAll("#fb-root")).forEach((function(e){return e.parentNode.removeChild(e)}));var e=document.createElement("div");e.id="fb-root",document.body.appendChild(e)}return void 0!==window.FB},reload:function(e){return window.FB.XFBML.parse(e)}},"instagram.com":{isLoaded:function(){return void 0!==window.instgrm},reload:function(){return window.instgrm.Embeds.process()}},"twitter.com":{isLoaded:function(){return void 0!==window.twttr&&void 0!==window.twttr.widgets},reload:function(){return window.twttr.widgets.load()}},"trellocdn.com":{isLoaded:function(){return void 0!==window.TrelloCards&&void 0!==window.TrelloCards.load},reload:function(){return window.TrelloCards.load(document,{compact:!1,allAnchors:!1})}}};t.getEmbedConfiguration=function(e){return Object.keys(i).reduce((function(t,n){return t||e.indexOf(n)>-1&&i[n]||null}),null)};var a=i;t.default=a},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){(function(e){var r,o,i;function a(e){return(a="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})(e)}i=function(){function e(e,t,n){var r,o=Math.abs(t.day[1]),i=t.day[1]/o;do{r=new Date(Date.UTC(n,t.month,o)),o+=i}while(t.day[0]<7&&r.getUTCDay()!=t.day[0]);return(r={clock:t.clock,sort:r.getTime(),rule:t,save:6e4*t.save,offset:e.offset})[r.clock]=r.sort+6e4*t.time,r.posix?r.wallclock=r[r.clock]+(e.offset+t.saved):r.posix=r[r.clock]-(e.offset+t.saved),r}function t(t,n,r){var o,i,a,l,c,s,u,d=t[t.zone],f=[],p=new Date(r).getUTCFullYear(),h=1;for(o=1,i=d.length;o=p-h;--u)for(o=0,i=s.length;o=f[o][n]&&f[o][f[o].clock]>a[f[o].clock]&&(l=f[o])}return l&&((c=/^(.*)\/(.*)$/.exec(a.format))?l.abbrev=c[l.save?2:1]:l.abbrev=a.format.replace(/%s/,l.rule.letter)),l||a}function n(e,n){return"UTC"==e.zone?n:(e.entry=t(e,"posix",n),n+e.entry.offset+e.entry.save)}function r(e,n){return"UTC"==e.zone?n:(e.entry=r=t(e,"wallclock",n),0<(o=n-r.wallclock)&&o9)t+=c*s[u-10];else{if(i=new Date(n(e,t)),u<7)for(;c;)i.setUTCDate(i.getUTCDate()+a),i.getUTCDay()==u&&(c-=a);else 7==u?i.setUTCFullYear(i.getUTCFullYear()+c):8==u?i.setUTCMonth(i.getUTCMonth()+c):i.setUTCDate(i.getUTCDate()+c);null==(t=r(e,i.getTime()))&&(t=r(e,i.getTime()+864e5*a)-864e5*a)}return t}var i={clock:function(){return+new Date},zone:"UTC",entry:{abbrev:"UTC",offset:0,save:0},UTC:1,z:function(e,t,n,r){var o,i,a=this.entry.offset+this.entry.save,l=Math.abs(a/1e3),c=[],s=3600;for(o=0;o<3;o++)c.push(("0"+Math.floor(l/s)).slice(-2)),l%=s,s/=60;return"^"!=n||a?("^"==n&&(r=3),3==r?(i=c.join(":"),i=i.replace(/:00$/,""),"^"!=n&&(i=i.replace(/:00$/,""))):r?(i=c.slice(0,r+1).join(":"),"^"==n&&(i=i.replace(/:00$/,""))):i=c.slice(0,2).join(""),i=(a<0?"-":"+")+i,i=i.replace(/([-+])(0)/,{_:" $1","-":"$1"}[n]||"$1$2"),i):"Z"},"%":function(e){return"%"},n:function(e){return"\n"},t:function(e){return"\t"},U:function(e){return u(e,0)},W:function(e){return u(e,1)},V:function(e){return d(e)[0]},G:function(e){return d(e)[1]},g:function(e){return d(e)[1]%100},j:function(e){return Math.floor((e.getTime()-Date.UTC(e.getUTCFullYear(),0))/864e5)+1},s:function(e){return Math.floor(e.getTime()/1e3)},C:function(e){return Math.floor(e.getUTCFullYear()/100)},N:function(e){return(e.getTime()%1e3+1e3)%1e3*1e6},m:function(e){return e.getUTCMonth()+1},Y:function(e){return e.getUTCFullYear()},y:function(e){return e.getUTCFullYear()%100},H:function(e){return e.getUTCHours()},M:function(e){return e.getUTCMinutes()},S:function(e){return e.getUTCSeconds()},e:function(e){return e.getUTCDate()},d:function(e){return e.getUTCDate()},u:function(e){return e.getUTCDay()||7},w:function(e){return e.getUTCDay()},l:function(e){return e.getUTCHours()%12||12},I:function(e){return e.getUTCHours()%12||12},k:function(e){return e.getUTCHours()},Z:function(e){return this.entry.abbrev},a:function(e){return this[this.locale].day.abbrev[e.getUTCDay()]},A:function(e){return this[this.locale].day.full[e.getUTCDay()]},h:function(e){return this[this.locale].month.abbrev[e.getUTCMonth()]},b:function(e){return this[this.locale].month.abbrev[e.getUTCMonth()]},B:function(e){return this[this.locale].month.full[e.getUTCMonth()]},P:function(e){return this[this.locale].meridiem[Math.floor(e.getUTCHours()/12)].toLowerCase()},p:function(e){return this[this.locale].meridiem[Math.floor(e.getUTCHours()/12)]},R:function(e,t){return this.convert([t,"%H:%M"])},T:function(e,t){return this.convert([t,"%H:%M:%S"])},D:function(e,t){return this.convert([t,"%m/%d/%y"])},F:function(e,t){return this.convert([t,"%Y-%m-%d"])},x:function(e,t){return this.convert([t,this[this.locale].date])},r:function(e,t){return this.convert([t,this[this.locale].time12||"%I:%M:%S"])},X:function(e,t){return this.convert([t,this[this.locale].time24])},c:function(e,t){return this.convert([t,this[this.locale].dateTime])},convert:function(e){if(!e.length)return"1.0.23";var t,i,l,s,u,d=Object.create(this),f=[];for(t=0;t=o?Math.floor((n-o)/7)+1:0}function d(e){var t,n,r;return n=e.getUTCFullYear(),t=new Date(Date.UTC(n,0)).getUTCDay(),(r=u(e,1)+(t>1&&t<=4?1:0))?53!=r||4==t||3==t&&29==new Date(n,1,29).getDate()?[r,e.getUTCFullYear()]:[1,e.getUTCFullYear()+1]:(n=e.getUTCFullYear()-1,[r=4==(t=new Date(Date.UTC(n,0)).getUTCDay())||3==t&&29==new Date(n,1,29).getDate()?53:52,e.getUTCFullYear()-1])}return l=l.toLowerCase().split("|"),"delmHMSUWVgCIky".replace(/./g,(function(e){i[e].pad=2})),i.N.pad=9,i.j.pad=3,i.k.style="_",i.l.style="_",i.e.style="_",function(){return i.convert(arguments)}},"object"==a(e)&&e.exports?e.exports=i():void 0===(o="function"==typeof(r=i)?r.call(t,n,t,e):r)||(e.exports=o)}).call(this,n(126)(e))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,n){e.exports=[n(128),n(129),n(130),n(131),n(132),n(133),n(134),n(135),n(136),n(137),n(138),n(139)]},function(e,t){e.exports={zones:{CET:["z",{wallclock:-17976931348623157e292,format:"CE%sT",abbrev:"CE%sT",offset:36e5,posix:-17976931348623157e292,save:0}]},rules:{}}},function(e,t){e.exports={zones:{CST6CDT:["z",{wallclock:-17976931348623157e292,format:"C%sT",abbrev:"C%sT",offset:-216e5,posix:-17976931348623157e292,save:0}]},rules:{}}},function(e,t){e.exports={zones:{EET:["z",{wallclock:-17976931348623157e292,format:"EE%sT",abbrev:"EE%sT",offset:72e5,posix:-17976931348623157e292,save:0}]},rules:{}}},function(e,t){e.exports={zones:{EST:["z",{wallclock:-17976931348623157e292,format:"EST",abbrev:"EST",offset:-18e6,posix:-17976931348623157e292,save:0}]},rules:{}}},function(e,t){e.exports={zones:{EST5EDT:["z",{wallclock:-17976931348623157e292,format:"E%sT",abbrev:"E%sT",offset:-18e6,posix:-17976931348623157e292,save:0}]},rules:{}}},function(e,t){e.exports={zones:{HST:["z",{wallclock:-17976931348623157e292,format:"HST",abbrev:"HST",offset:-36e6,posix:-17976931348623157e292,save:0}]},rules:{}}},function(e,t){e.exports={zones:{MET:["z",{wallclock:-17976931348623157e292,format:"ME%sT",abbrev:"ME%sT",offset:36e5,posix:-17976931348623157e292,save:0}]},rules:{}}},function(e,t){e.exports={zones:{MST:["z",{wallclock:-17976931348623157e292,format:"MST",abbrev:"MST",offset:-252e5,posix:-17976931348623157e292,save:0}]},rules:{}}},function(e,t){e.exports={zones:{MST7MDT:["z",{wallclock:-17976931348623157e292,format:"M%sT",abbrev:"M%sT",offset:-252e5,posix:-17976931348623157e292,save:0}]},rules:{}}},function(e,t){e.exports={zones:{PST8PDT:["z",{wallclock:-17976931348623157e292,format:"P%sT",abbrev:"P%sT",offset:-288e5,posix:-17976931348623157e292,save:0}]},rules:{}}},function(e,t){e.exports={zones:{WET:["z",{wallclock:-17976931348623157e292,format:"WE%sT",abbrev:"WE%sT",offset:0,posix:-17976931348623157e292,save:0}]},rules:{}}},function(e,t,n){e.exports=[n(140)]},function(e,t){e.exports={zones:{"America/Chicago":["z",{wallclock:-946944e5,format:"C%sT",abbrev:"CST",offset:-216e5,posix:-946728e5,save:0,rules:"US"},{wallclock:-7573824e5,format:"C%sT",abbrev:"CST",offset:-216e5,posix:-7573608e5,save:0,rules:"Chicago"},{wallclock:-8836128e5,format:"C%sT",abbrev:"CST",offset:-216e5,posix:-8835912e5,save:0,rules:"US"},{wallclock:-10454328e5,format:"C%sT",abbrev:"CST",offset:-216e5,posix:-10454148e5,save:0,rules:"Chicago"},{wallclock:-10678104e5,format:"EST",abbrev:"EST",offset:-18e6,posix:-10677888e5,save:0},{wallclock:-15779232e5,format:"C%sT",abbrev:"CST",offset:-216e5,posix:-15779016e5,save:0,rules:"Chicago"},{wallclock:-2717668236e3,format:"C%sT",abbrev:"CST",offset:-216e5,posix:-27176472e5,save:0,rules:"US"},{wallclock:-17976931348623157e292,format:"LMT",abbrev:"LMT",offset:-21036e3,posix:-17976931348623157e292,save:0}]},rules:{US:[{from:2007,to:17976931348623157e292,month:2,day:[0,8],time:120,clock:"wallclock",save:60,letter:"D",saved:0},{from:2007,to:17976931348623157e292,month:10,day:[0,1],time:120,clock:"wallclock",save:0,letter:"S",saved:36e5},{from:1967,to:2006,month:9,day:[0,-31],time:120,clock:"wallclock",save:0,letter:"S",saved:36e5},{from:1987,to:2006,month:3,day:[0,1],time:120,clock:"wallclock",save:60,letter:"D",saved:0},{from:1976,to:1986,month:3,day:[0,-30],time:120,clock:"wallclock",save:60,letter:"D",saved:0},{from:1975,to:1975,month:1,day:[0,-29],time:120,clock:"wallclock",save:60,letter:"D",saved:0},{from:1974,to:1974,month:0,day:[7,6],time:120,clock:"wallclock",save:60,letter:"D",saved:0},{from:1967,to:1973,month:3,day:[0,-30],time:120,clock:"wallclock",save:60,letter:"D",saved:0},{from:1945,to:1945,month:7,day:[7,14],time:1380,clock:"posix",save:60,letter:"P",saved:36e5},{from:1945,to:1945,month:8,day:[7,30],time:120,clock:"wallclock",save:0,letter:"S",saved:36e5},{from:1942,to:1942,month:1,day:[7,9],time:120,clock:"wallclock",save:60,letter:"W",saved:0},{from:1918,to:1919,month:2,day:[0,-31],time:120,clock:"wallclock",save:60,letter:"D",saved:0},{from:1918,to:1919,month:9,day:[0,-31],time:120,clock:"wallclock",save:0,letter:"S",saved:36e5}],Chicago:[{from:1922,to:1966,month:3,day:[0,-30],time:120,clock:"wallclock",save:60,letter:"D",saved:0},{from:1955,to:1966,month:9,day:[0,-31],time:120,clock:"wallclock",save:0,letter:"S",saved:36e5},{from:1922,to:1954,month:8,day:[0,-30],time:120,clock:"wallclock",save:0,letter:"S",saved:36e5},{from:1920,to:1921,month:9,day:[0,-31],time:120,clock:"wallclock",save:0,letter:"S",saved:36e5},{from:1921,to:1921,month:2,day:[0,-31],time:120,clock:"wallclock",save:60,letter:"D",saved:0},{from:1920,to:1920,month:5,day:[7,13],time:120,clock:"wallclock",save:60,letter:"D",saved:0}]}}},function(e,t,n){e.exports=[n(142)]},function(e,t){e.exports={name:"en_US",day:{abbrev:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],full:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},month:{abbrev:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],full:["January","February","March","April","May","June","July","August","September","October","November","December"]},meridiem:["AM","PM"],date:"%m/%d/%Y",time24:"%r",dateTime:"%a %d %b %Y %r %Z",time12:"%I:%M:%S %p",full:"%a %b %e %H:%M:%S %Z %Y"}},function(e,t,n){e.exports=n(144)(n(145))},function(e,t){e.exports=function(e){function t(e,t){"use strict";this.THUMBOR_SECURITY_KEY=e,this.THUMBOR_URL_SERVER=t,this.imagePath="",this.width=0,this.height=0,this.smart=!1,this.fitInFlag=!1,this.withFlipHorizontally=!1,this.withFlipVertically=!1,this.halignValue=null,this.valignValue=null,this.cropValues=null,this.meta=!1,this.filtersCalls=[]}return t.prototype={TOP:"top",MIDDLE:"middle",BOTTOM:"bottom",RIGHT:"right",CENTER:"center",LEFT:"left",setImagePath:function(e){return this.imagePath="/"===e.charAt(0)?e.substring(1,e.length):e,this},getOperationPath:function(){var e=this.urlParts();return 0===e.length?"":e.join("/")+"/"},urlParts:function(){if(!this.imagePath)throw new Error("The image url can't be null or empty.");var e=[];if(this.meta&&e.push("meta"),this.cropValues&&e.push(this.cropValues.left+"x"+this.cropValues.top+":"+this.cropValues.right+"x"+this.cropValues.bottom),this.fitInFlag&&e.push("fit-in"),this.width||this.height||this.withFlipHorizontally||this.withFlipVertically){var t="";this.withFlipHorizontally&&(t+="-"),t+=this.width,t+="x",this.withFlipVertically&&(t+="-"),t+=this.height,e.push(t)}return this.halignValue&&e.push(this.halignValue),this.valignValue&&e.push(this.valignValue),this.smart&&e.push("smart"),this.filtersCalls.length&&e.push("filters:"+this.filtersCalls.join(":")),e},resize:function(e,t){return this.width=e,this.height=t,this.fitInFlag=!1,this},smartCrop:function(e){return this.smart=e,this},fitIn:function(e,t){return this.width=e,this.height=t,this.fitInFlag=!0,this},flipHorizontally:function(){return this.withFlipHorizontally=!0,this},flipVertically:function(){return this.withFlipVertically=!0,this},halign:function(e){if(e!==this.LEFT&&e!==this.RIGHT&&e!==this.CENTER)throw new Error("Horizontal align must be left, right or center.");return this.halignValue=e,this},valign:function(e){if(e!==this.TOP&&e!==this.BOTTOM&&e!==this.MIDDLE)throw new Error("Vertical align must be top, bottom or middle.");return this.valignValue=e,this},metaDataOnly:function(e){return this.meta=e,this},filter:function(e){return this.filtersCalls.push(e),this},crop:function(e,t,n,r){return this.cropValues={left:e,top:t,right:n,bottom:r},this},buildUrl:function(){var t=this.getOperationPath();if(this.THUMBOR_SECURITY_KEY){var n=e("sha1",this.THUMBOR_SECURITY_KEY).update(t+this.imagePath).digest("base64");return n=n.replace(/\+/g,"-").replace(/\//g,"_"),this.THUMBOR_URL_SERVER+"/"+n+"/"+t+this.imagePath}return this.THUMBOR_URL_SERVER+"/unsafe/"+t+this.imagePath}},t}},function(e,t,n){"use strict";var r=n(57),o=n(146),i=n(38).Buffer,a=n(161),l=i.alloc(128);function c(e,t){o.call(this,"digest"),"string"==typeof t&&(t=i.from(t));var n="sha512"===e||"sha384"===e?128:64;(this._alg=e,this._key=t,t.length>n)&&(t=a(e).update(t).digest());t.length0?a-4:a;for(n=0;n>16&255,c[u++]=t>>8&255,c[u++]=255&t;2===l&&(t=o[e.charCodeAt(n)]<<2|o[e.charCodeAt(n+1)]>>4,c[u++]=255&t);1===l&&(t=o[e.charCodeAt(n)]<<10|o[e.charCodeAt(n+1)]<<4|o[e.charCodeAt(n+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t);return c},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=0,l=n-o;al?l:a+16383));1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return i.join("")};for(var r=[],o=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=0,c=a.length;l0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e,t,n){for(var o,i,a=[],l=t;l>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}o["-".charCodeAt(0)]=62,o["_".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,o){var i,a,l=8*o-r-1,c=(1<>1,u=-7,d=n?o-1:0,f=n?-1:1,p=e[t+d];for(d+=f,i=p&(1<<-u)-1,p>>=-u,u+=l;u>0;i=256*i+e[t+d],d+=f,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=r;u>0;a=256*a+e[t+d],d+=f,u-=8);if(0===i)i=1-s;else{if(i===c)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,r),i-=s}return(p?-1:1)*a*Math.pow(2,i-r)},t.write=function(e,t,n,r,o,i){var a,l,c,s=8*i-o-1,u=(1<>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=r?0:i-1,h=r?1:-1,b=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(l=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(c=Math.pow(2,-a))<1&&(a--,c*=2),(t+=a+d>=1?f/c:f*Math.pow(2,1-d))*c>=2&&(a++,c/=2),a+d>=u?(l=0,a=u):a+d>=1?(l=(t*c-1)*Math.pow(2,o),a+=d):(l=t*Math.pow(2,d-1)*Math.pow(2,o),a=0));o>=8;e[n+p]=255&l,p+=h,l/=256,o-=8);for(a=a<0;e[n+p]=255&a,p+=h,a/=256,s-=8);e[n+p-h]|=128*b}},function(e,t,n){e.exports=o;var r=n(59).EventEmitter;function o(){r.call(this)}n(29)(o,r),o.Readable=n(60),o.Writable=n(157),o.Duplex=n(158),o.Transform=n(159),o.PassThrough=n(160),o.Stream=o,o.prototype.pipe=function(e,t){var n=this;function o(t){e.writable&&!1===e.write(t)&&n.pause&&n.pause()}function i(){n.readable&&n.resume&&n.resume()}n.on("data",o),e.on("drain",i),e._isStdio||t&&!1===t.end||(n.on("end",l),n.on("close",c));var a=!1;function l(){a||(a=!0,e.end())}function c(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function s(e){if(u(),0===r.listenerCount(this,"error"))throw e}function u(){n.removeListener("data",o),e.removeListener("drain",i),n.removeListener("end",l),n.removeListener("close",c),n.removeListener("error",s),e.removeListener("error",s),n.removeListener("end",u),n.removeListener("close",u),e.removeListener("close",u)}return n.on("error",s),e.on("error",s),n.on("end",u),n.on("close",u),e.on("close",u),e.emit("pipe",n),e}},function(e,t){},function(e,t,n){"use strict";var r=n(41).Buffer,o=n(152);e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,n=""+t.data;t=t.next;)n+=e+t.data;return n},e.prototype.concat=function(e){if(0===this.length)return r.alloc(0);if(1===this.length)return this.head.data;for(var t,n,o,i=r.allocUnsafe(e>>>0),a=this.head,l=0;a;)t=a.data,n=i,o=l,t.copy(n,o),l+=a.data.length,a=a.next;return i},e}(),o&&o.inspect&&o.inspect.custom&&(e.exports.prototype[o.inspect.custom]=function(){var e=o.inspect({length:this.length});return this.constructor.name+" "+e})},function(e,t){},function(e,t,n){(function(e){var r=void 0!==e&&e||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(e,t){this._id=e,this._clearFn=t}t.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},t.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(154),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(23))},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,o,i,a,l,c=1,s={},u=!1,d=e.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(e);f=f&&f.setTimeout?f:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){h(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){h(e.data)},r=function(e){i.port2.postMessage(e)}):d&&"onreadystatechange"in d.createElement("script")?(o=d.documentElement,r=function(e){var t=d.createElement("script");t.onreadystatechange=function(){h(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):r=function(e){setTimeout(h,0,e)}:(a="setImmediate$"+Math.random()+"$",l=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&h(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",l,!1):e.attachEvent("onmessage",l),r=function(t){e.postMessage(a+t,"*")}),f.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n>>27}function u(e){return e<<30|e>>>2}function d(e,t,n,r){return 0===e?t&n|~t&r:2===e?t&n|t&r|n&r:t^n^r}r(c,o),c.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},c.prototype._update=function(e){for(var t,n=this._w,r=0|this._a,o=0|this._b,i=0|this._c,l=0|this._d,c=0|this._e,f=0;f<16;++f)n[f]=e.readInt32BE(4*f);for(;f<80;++f)n[f]=(t=n[f-3]^n[f-8]^n[f-14]^n[f-16])<<1|t>>>31;for(var p=0;p<80;++p){var h=~~(p/20),b=s(r)+d(h,o,i,l)+c+n[p]+a[h]|0;c=l,l=i,i=u(o),o=r,r=b}this._a=r+this._a|0,this._b=o+this._b|0,this._c=i+this._c|0,this._d=l+this._d|0,this._e=c+this._e|0},c.prototype._hash=function(){var e=i.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=c},function(e,t,n){var r=n(38).Buffer;function o(e,t){this._block=r.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}o.prototype.update=function(e,t){"string"==typeof e&&(t=t||"utf8",e=r.from(e,t));for(var n=this._block,o=this._blockSize,i=e.length,a=this._len,l=0;l=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,o=(n-r)/4294967296;this._block.writeUInt32BE(o,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var i=this._hash();return e?i.toString(e):i},o.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=o},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";t.__esModule=!0,t.default=void 0;var r=a(n(167)),o=a(n(168)),i=a(n(169));function a(e){return e&&e.__esModule?e:{default:e}}t.default=function(e){return function(t,n){void 0===n&&(n="16px");var a=t,l=n;if("string"==typeof t){if(!(0,r.default)(t,"px"))throw new i.default(69,e,t);a=(0,o.default)(t)}if("string"==typeof n){if(!(0,r.default)(n,"px"))throw new i.default(70,e,n);l=(0,o.default)(n)}if("string"==typeof a)throw new i.default(71,t,e);if("string"==typeof l)throw new i.default(72,n,e);return""+a/l+e}};e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){return e.substr(-t.length)===t},e.exports=t.default},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e){return"string"!=typeof e?e:e.match(r)?parseFloat(e):e};var r=/^([+-]?(?:\d+|\d*\.\d+))([a-z]*|%)$/;e.exports=t.default},function(e,t,n){"use strict";function r(e){var t="function"==typeof Map?new Map:void 0;return(r=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return o(e,arguments,l(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),a(n,e)})(e)}function o(e,t,n){if(i())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&a(o,n.prototype),o}function i(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(i=function(){return!!e})()}function a(e,t){return(a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function l(e){return(l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}t.__esModule=!0,t.default=void 0;t.default=function(e){var t,n;function r(t){return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+t+" for more information.")||this)}return n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,a(t,n),r}(r(Error));e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var r=Object.assign||function(e){for(var t=1;t0&&0===(v-=1)&&u.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(c.returnFocus(n.props.preventScroll),c.teardownScopedFocus()):c.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),h.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(c.setupScopedFocus(n.node),c.markForFocusLater()),n.setState({isOpen:!0},(function(){n.openAnimationFrame=requestAnimationFrame((function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})}))})))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},(function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())}))},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,s.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===(void 0===t?"undefined":o(t))?t:{base:g[e],afterOpen:g[e]+"--after-open",beforeClose:g[e]+"--before-close"},i=r.base;return n.state.afterOpen&&(i=i+" "+r.afterOpen),n.state.beforeClose&&(i=i+" "+r.beforeClose),"string"==typeof t&&t?i+" "+t:i},n.attributesFromObject=function(e,t){return Object.keys(t).reduce((function(n,r){return n[e+"-"+r]=t[r],n}),{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),i(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,o=e.bodyOpenClassName,i=e.parentSelector,a=i&&i().ownerDocument||document;o&&d.add(a.body,o),r&&d.add(a.getElementsByTagName("html")[0],r),n&&(v+=1,u.hide(t)),h.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,o=e.overlayClassName,i=e.defaultStyles,a=e.children,l=n?{}:i.content,c=o?{}:i.overlay;if(this.shouldBeClosed())return null;var s={ref:this.setOverlayRef,className:this.buildClassName("overlay",o),style:r({},c,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=r({id:t,ref:this.setContentRef,style:r({},l,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",r({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(u,a);return this.props.overlayElement(s,d)}}]),t}(a.Component);y.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},y.propTypes={isOpen:l.default.bool.isRequired,defaultStyles:l.default.shape({content:l.default.object,overlay:l.default.object}),style:l.default.shape({content:l.default.object,overlay:l.default.object}),className:l.default.oneOfType([l.default.string,l.default.object]),overlayClassName:l.default.oneOfType([l.default.string,l.default.object]),parentSelector:l.default.func,bodyOpenClassName:l.default.string,htmlOpenClassName:l.default.string,ariaHideApp:l.default.bool,appElement:l.default.oneOfType([l.default.instanceOf(p.default),l.default.instanceOf(f.SafeHTMLCollection),l.default.instanceOf(f.SafeNodeList),l.default.arrayOf(l.default.instanceOf(p.default))]),onAfterOpen:l.default.func,onAfterClose:l.default.func,onRequestClose:l.default.func,closeTimeoutMS:l.default.number,shouldFocusAfterRender:l.default.bool,shouldCloseOnOverlayClick:l.default.bool,shouldReturnFocusAfterClose:l.default.bool,preventScroll:l.default.bool,role:l.default.string,contentLabel:l.default.string,aria:l.default.object,data:l.default.object,children:l.default.node,shouldCloseOnEsc:l.default.bool,overlayRef:l.default.func,contentRef:l.default.func,id:l.default.string,overlayElement:l.default.func,contentElement:l.default.func,testId:l.default.string},t.default=y,e.exports=t.default},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){a=[]},t.log=function(){0},t.handleBlur=s,t.handleFocus=u,t.markForFocusLater=function(){a.push(document.activeElement)},t.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==a.length&&(t=a.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){a.length>0&&a.pop()},t.setupScopedFocus=function(e){l=e,window.addEventListener?(window.addEventListener("blur",s,!1),document.addEventListener("focus",u,!0)):(window.attachEvent("onBlur",s),document.attachEvent("onFocus",u))},t.teardownScopedFocus=function(){l=null,window.addEventListener?(window.removeEventListener("blur",s),document.removeEventListener("focus",u)):(window.detachEvent("onBlur",s),document.detachEvent("onFocus",u))};var r,o=n(84),i=(r=o)&&r.__esModule?r:{default:r};var a=[],l=null,c=!1;function s(){c=!0}function u(){if(c){if(c=!1,!l)return;setTimeout((function(){l.contains(document.activeElement)||((0,i.default)(l)[0]||l).focus()}),0)}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,i.default)(e);if(!n.length)return void t.preventDefault();var r=void 0,o=t.shiftKey,a=n[0],l=n[n.length-1],c=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return t.activeElement.shadowRoot?e(t.activeElement.shadowRoot):t.activeElement}();if(e===c){if(!o)return;r=l}l!==c||o||(r=a);a===c&&o&&(r=l);if(r)return t.preventDefault(),void r.focus();var s=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null==s||"Chrome"==s[1]||null!=/\biPod\b|\biPad\b/g.exec(navigator.userAgent))return;var u=n.indexOf(c);u>-1&&(u+=o?-1:1);if(void 0===(r=n[u]))return t.preventDefault(),void(r=o?l:a).focus();t.preventDefault(),r.focus()};var r,o=n(84),i=(r=o)&&r.__esModule?r:{default:r};e.exports=t.default},function(e,t,n){"use strict";var r=function(){};e.exports=r},function(e,t,n){var r; /*! Copyright (c) 2015 Jed Watson. Based on code that is Copyright 2013-2015, Facebook, Inc. All rights reserved. */!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0===(r=function(){return i}.call(t,n,t,e))||(e.exports=r)}()},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in r)i(e,r[t]);var n=document.body;for(var a in o)i(n,o[a]);r={},o={}},t.log=function(){0};var r={},o={};function i(e,t){e.classList.remove(t)}t.add=function(e,t){return n=e.classList,i="html"==e.nodeName.toLowerCase()?r:o,void t.split(" ").forEach((function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(i,e),n.add(e)}));var n,i},t.remove=function(e,t){return n=e.classList,i="html"==e.nodeName.toLowerCase()?r:o,void t.split(" ").forEach((function(e){!function(e,t){e[t]&&(e[t]-=1)}(i,e),0===i[e]&&n.remove(e)}));var n,i}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){for(var e=[a,l],t=0;t0?(document.body.firstChild!==a&&document.body.insertBefore(a,document.body.firstChild),document.body.lastChild!==l&&document.body.appendChild(l)):(a.parentElement&&a.parentElement.removeChild(a),l.parentElement&&l.parentElement.removeChild(l))}))},function(e,t,n){"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function o(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function i(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function a(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,a=null,l=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?a="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(a="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?l="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(l="UNSAFE_componentWillUpdate"),null!==n||null!==a||null!==l){var c=e.displayName||e.name,s="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+c+" uses "+s+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==a?"\n "+a:"")+(null!==l?"\n "+l:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=i;var u=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,e,t,r)}}return e}n.r(t),n.d(t,"polyfill",(function(){return a})),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,i.__suppressDeprecationWarning=!0},function(e,t,n){},function(e,t,n){"use strict";n.r(t),n.d(t,"createFocusTrap",(function(){return p}));var r=n(20); /*! * focus-trap 6.9.4 * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE */function o(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 i(e){for(var t=1;t0){var t=l[l.length-1];t!==e&&t.pause()}var n=l.indexOf(e);-1===n?l.push(e):(l.splice(n,1),l.push(e))},deactivateTrap:function(e){var t=l.indexOf(e);-1!==t&&l.splice(t,1),l.length>0&&l[l.length-1].unpause()}}),s=function(e){return setTimeout(e,0)},u=function(e,t){var n=-1;return e.every((function(e,r){return!t(e)||(n=r,!1)})),n},d=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r1?n-1:0),i=1;i=0)e=o.activeElement;else{var t=l.tabbableGroups[0];e=t&&t.firstTabbableNode||b("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},g=function(){if(l.containerGroups=l.containers.map((function(e){var t=Object(r.tabbable)(e,a.tabbableOptions),n=Object(r.focusable)(e,a.tabbableOptions);return{container:e,tabbableNodes:t,focusableNodes:n,firstTabbableNode:t.length>0?t[0]:null,lastTabbableNode:t.length>0?t[t.length-1]:null,nextTabbableNode:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=n.findIndex((function(t){return t===e}));if(!(o<0))return t?n.slice(o+1).find((function(e){return Object(r.isTabbable)(e,a.tabbableOptions)})):n.slice(0,o).reverse().find((function(e){return Object(r.isTabbable)(e,a.tabbableOptions)}))}}})),l.tabbableGroups=l.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),l.tabbableGroups.length<=0&&!b("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times")},v=function e(t){!1!==t&&t!==o.activeElement&&(t&&t.focus?(t.focus({preventScroll:!!a.preventScroll}),l.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(m()))},y=function(e){var t=b("setReturnFocus",e);return t||!1!==t&&e},O=function(e){var t=f(e);h(t)>=0||(d(a.clickOutsideDeactivates,e)?n.deactivate({returnFocus:a.returnFocusOnDeactivate&&!Object(r.isFocusable)(t,a.tabbableOptions)}):d(a.allowOutsideClick,e)||e.preventDefault())},j=function(e){var t=f(e),n=h(t)>=0;n||t instanceof Document?n&&(l.mostRecentlyFocusedNode=t):(e.stopImmediatePropagation(),v(l.mostRecentlyFocusedNode||m()))},w=function(e){if(function(e){return"Escape"===e.key||"Esc"===e.key||27===e.keyCode}(e)&&!1!==d(a.escapeDeactivates,e))return e.preventDefault(),void n.deactivate();(function(e){return"Tab"===e.key||9===e.keyCode})(e)&&function(e){var t=f(e);g();var n=null;if(l.tabbableGroups.length>0){var o=h(t),i=o>=0?l.containerGroups[o]:void 0;if(o<0)n=e.shiftKey?l.tabbableGroups[l.tabbableGroups.length-1].lastTabbableNode:l.tabbableGroups[0].firstTabbableNode;else if(e.shiftKey){var c=u(l.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(c<0&&(i.container===t||Object(r.isFocusable)(t,a.tabbableOptions)&&!Object(r.isTabbable)(t,a.tabbableOptions)&&!i.nextTabbableNode(t,!1))&&(c=o),c>=0){var s=0===c?l.tabbableGroups.length-1:c-1;n=l.tabbableGroups[s].lastTabbableNode}}else{var d=u(l.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(d<0&&(i.container===t||Object(r.isFocusable)(t,a.tabbableOptions)&&!Object(r.isTabbable)(t,a.tabbableOptions)&&!i.nextTabbableNode(t))&&(d=o),d>=0){var p=d===l.tabbableGroups.length-1?0:d+1;n=l.tabbableGroups[p].firstTabbableNode}}}else n=b("fallbackFocus");n&&(e.preventDefault(),v(n))}(e)},x=function(e){var t=f(e);h(t)>=0||d(a.clickOutsideDeactivates,e)||d(a.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},S=function(){if(l.active)return c.activateTrap(n),l.delayInitialFocusTimer=a.delayInitialFocus?s((function(){v(m())})):v(m()),o.addEventListener("focusin",j,!0),o.addEventListener("mousedown",O,{capture:!0,passive:!1}),o.addEventListener("touchstart",O,{capture:!0,passive:!1}),o.addEventListener("click",x,{capture:!0,passive:!1}),o.addEventListener("keydown",w,{capture:!0,passive:!1}),n},_=function(){if(l.active)return o.removeEventListener("focusin",j,!0),o.removeEventListener("mousedown",O,!0),o.removeEventListener("touchstart",O,!0),o.removeEventListener("click",x,!0),o.removeEventListener("keydown",w,!0),n};return(n={get active(){return l.active},get paused(){return l.paused},activate:function(e){if(l.active)return this;var t=p(e,"onActivate"),n=p(e,"onPostActivate"),r=p(e,"checkCanFocusTrap");r||g(),l.active=!0,l.paused=!1,l.nodeFocusedBeforeActivation=o.activeElement,t&&t();var i=function(){r&&g(),S(),n&&n()};return r?(r(l.containers.concat()).then(i,i),this):(i(),this)},deactivate:function(e){if(!l.active)return this;var t=i({onDeactivate:a.onDeactivate,onPostDeactivate:a.onPostDeactivate,checkCanReturnFocus:a.checkCanReturnFocus},e);clearTimeout(l.delayInitialFocusTimer),l.delayInitialFocusTimer=void 0,_(),l.active=!1,l.paused=!1,c.deactivateTrap(n);var r=p(t,"onDeactivate"),o=p(t,"onPostDeactivate"),u=p(t,"checkCanReturnFocus"),d=p(t,"returnFocus","returnFocusOnDeactivate");r&&r();var f=function(){s((function(){d&&v(y(l.nodeFocusedBeforeActivation)),o&&o()}))};return d&&u?(u(y(l.nodeFocusedBeforeActivation)).then(f,f),this):(f(),this)},pause:function(){return l.paused||!l.active?this:(l.paused=!0,_(),this)},unpause:function(){return l.paused&&l.active?(l.paused=!1,g(),S(),this):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return l.containers=t.map((function(e){return"string"==typeof e?o.querySelector(e):e})),l.active&&g(),this}}).updateContainerElements(e),n}},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);n(1);var r=n(2),o=n.n(r),i=n(4),a=(n(42),n(0)),l=function(e){var t=e.children,n=e.customFields;if(t&&t.length&&t.length>0){var r=n.columnOne,o=void 0===r?t.length:r,l=n.heading,c=void 0===l?null:l;if(o>0){var s=Object(a.jsx)("div",{className:"container-fluid double-chain chain-container",children:Object(a.jsxs)("div",{className:"row wrap-bottom",children:[Object(a.jsx)("div",{className:"col-sm-12 col-md-xl-6 ie-flex-100-percent-sm column-1 reduce-internal-row-col-gap chain-col",children:t.slice(0,o)}),Object(a.jsx)("div",{className:"col-sm-12 col-md-xl-6 ie-flex-100-percent-sm column-2 reduce-internal-row-col-gap chain-col",children:t.slice(o)})]})});return c?Object(a.jsxs)(i.h,{children:[Object(a.jsx)(i.g,{className:"chain-heading",children:c}),s]}):s}}return null};l.label="Double Chain – Arc Block",l.icon="arc-double-chain",l.propTypes={children:o.a.array,customFields:o.a.shape({heading:o.a.string.tag({label:"Heading"}),columnOne:o.a.number.isRequired.tag({label:"Column one size",description:"The number of features which will appear in the first column. The rest will go into the second column."})})},t.default=l},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);n(1);var r=n(2),o=n.n(r),i=n(4),a=(n(42),n(0)),l=function(e){var t=e.children,n=e.customFields;if(t&&t.length&&t.length>0){var r=n.columnOne,o=void 0===r?t.length:r,l=n.columnTwo,c=void 0===l?0:l,s=n.columnThree,u=void 0===s?0:s,d=n.heading,f=void 0===d?null:d;if(o>=0&&c>=0&&u>=0){var p=o+c,h=p+u,b=Object(a.jsx)("div",{className:"container-fluid chain-container",children:Object(a.jsxs)("div",{className:"row wrap-bottom",children:[Object(a.jsx)("div",{className:"col-sm-12 col-md-xl-3 ie-flex-100-percent-sm reduce-internal-row-col-gap chain-col",children:t.slice(0,o)}),Object(a.jsx)("div",{className:"col-sm-12 col-md-xl-3 ie-flex-100-percent-sm reduce-internal-row-col-gap chain-col",children:t.slice(o,p)}),Object(a.jsx)("div",{className:"col-sm-12 col-md-xl-3 ie-flex-100-percent-sm reduce-internal-row-col-gap chain-col",children:t.slice(p,h)}),Object(a.jsx)("div",{className:"col-sm-12 col-md-xl-3 ie-flex-100-percent-sm reduce-internal-row-col-gap chain-col",children:t.slice(h)})]})});return f?Object(a.jsxs)(i.h,{children:[Object(a.jsx)(i.g,{className:"chain-heading",children:f}),b]}):b}}return null};l.label="Quad Chain – Arc Block",l.icon="arc-quad-chain",l.propTypes={children:o.a.array,customFields:o.a.shape({heading:o.a.string.tag({label:"Heading"}),columnOne:o.a.number.isRequired.tag({label:"Number of blocks in Column 1:",description:"The number of features which will appear in the first column",default:0}),columnTwo:o.a.number.isRequired.tag({label:"Number of blocks in Column 2",description:"The number of features which will appear in the second column",default:0}),columnThree:o.a.number.isRequired.tag({label:"Number of blocks in Column 3",description:"The number of features which will appear in the third column. The rest will go into the fourth column.",default:0})})},t.default=l},function(e,t,n){"use strict";n.r(t);n(1);var r=n(2),o=n.n(r),i=n(4),a=(n(42),n(0)),l=function(e){var t=e.children,n=e.customFields,r=(void 0===n?{}:n).heading,o=void 0===r?null:r;return o?Object(a.jsxs)(i.h,{children:[Object(a.jsx)(i.g,{className:"chain-heading",children:o}),t]}):Object(a.jsx)(a.Fragment,{children:t})};l.label="Single Chain – Arc Block",l.icon="layout-none",l.propTypes={children:o.a.array,customFields:o.a.shape({heading:o.a.string.tag({label:"Heading"})})},t.default=l},function(e,t,n){"use strict";n.r(t);n(1);var r=n(2),o=n.n(r),i=n(4),a=(n(42),n(0)),l=function(e){var t=e.children,n=e.customFields;if(t&&t.length&&t.length>0){var r=n.columnOne,o=void 0===r?t.length:r,l=n.columnTwo,c=void 0===l?0:l,s=n.heading,u=void 0===s?null:s;if(o>=0&&c>=0){var d=o+c,f=Object(a.jsx)("div",{className:"container-fluid triple-chain chain-container",children:Object(a.jsxs)("div",{className:"row wrap-bottom",children:[Object(a.jsx)("div",{className:"col-sm-12 col-md-xl-4 ie-flex-100-percent-sm reduce-internal-row-col-gap chain-col",children:t.slice(0,o)}),Object(a.jsx)("div",{className:"col-sm-12 col-md-xl-4 ie-flex-100-percent-sm reduce-internal-row-col-gap chain-col",children:t.slice(o,d)}),Object(a.jsx)("div",{className:"col-sm-12 col-md-xl-4 ie-flex-100-percent-sm reduce-internal-row-col-gap chain-col",children:t.slice(d)})]})});return u?Object(a.jsxs)(i.h,{children:[Object(a.jsx)(i.g,{className:"chain-heading",children:u}),f]}):f}}return null};l.label="Triple Chain – Arc Block",l.icon="arc-triple-chain",l.propTypes={children:o.a.array,customFields:o.a.shape({heading:o.a.string.tag({label:"Heading"}),columnOne:o.a.number.isRequired.tag({label:"Number of blocks in Column 1:",description:"The number of features which will appear in the first column"}),columnTwo:o.a.number.isRequired.tag({label:"Number of blocks in Column 2",description:"The number of features which will appear in the second column. The rest will go into the third column."})})},t.default=l},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n.n(r),i=n(2),a=n.n(i),l=n(8),c=n(5),s=n(6),u=n.n(s),d=n(19),f=n(17),p=n(18),h=n(10),b=n(4),m=(n(193),n(52)),g=n(0);function v(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 y(e){for(var t=1;t0?Object(g.jsx)(b.h,{children:Object(g.jsxs)("div",{className:"card-list-container",children:[v?Object(g.jsx)(b.g,{className:"card-list-title",children:v}):null,Object(g.jsxs)(k,{children:[Object(g.jsxs)("article",{className:"list-item-simple",children:[Object(g.jsx)("a",{href:_[0].websites[n].website_url,className:"list-anchor card-list--link-container vertical-align-image","aria-hidden":"true",tabIndex:"-1",children:Object(h.a)(_[0])?Object(g.jsx)(d.a,y({},w,{url:Object(h.a)(_[0]),alt:_[0].headlines.basic,resizedImageOptions:Object(h.b)(_[0])})):Object(g.jsx)(d.a,y({},w,{url:j,alt:w.primaryLogoAlt||"",resizedImageOptions:O}))}),Object(g.jsx)(b.k,{story:_[0],className:"card-list-overline"}),Object(g.jsx)(b.g,{className:"card-list-headline",children:Object(g.jsx)("a",{href:_[0].websites[n].website_url,className:"list-anchor vertical-align-image",id:"card-list--headline-link",children:_[0].headlines.basic})}),Object(g.jsxs)("div",{className:"author-date",children:[Object(g.jsxs)("section",{className:"ts-byline ts-byline--list",children:[Object(g.jsxs)("span",{className:"publisher-name",children:[" ",C(_[0].websites[n].website_url)]}),Object(g.jsx)("span",{className:"dot-separator",children:"•"})]}),Object(g.jsx)(b.m,{className:"story-date",date:_[0].display_date})]})]},"card-list-".concat(_[0].websites[n].website_url)),_.slice(1).map((function(e){var t,r=e.headlines,i=(r=void 0===r?{}:r).basic,a=Object(h.a)(e),l=null===(t=e.websites[n])||void 0===t?void 0:t.website_url,c=C(l);return Object(g.jsx)(o.a.Fragment,{children:Object(g.jsxs)("article",{className:"card-list-item",children:[Object(g.jsx)("a",{href:l,className:"headline-list-anchor vertical-align-image",children:Object(g.jsxs)(b.g,{className:"headline-text",children:[i,Object(g.jsx)("div",{className:"author-date-new",children:Object(g.jsx)("section",{className:"ts-byline ts-byline--list",children:Object(g.jsxs)("span",{className:"publisher-name",children:[" ",c]})})})]})}),Object(g.jsx)("a",{href:l,className:"list-anchor-image vertical-align-image","aria-hidden":"true",tabIndex:"-1",children:Object(g.jsx)(d.a,y({},x,{url:a||j,alt:a?i:x.primaryLogoAlt||"",resizedImageOptions:a?Object(h.b)(e):O}))})]},"card-list-".concat(l))},"card-list-".concat(l))}))]})]})}):null},w=function(e){var t=e.customFields,n=Object(c.useFusionContext)(),r=n.id,o=n.arcSite,i=n.contextPath,a=n.deployment,s=n.isAdmin,d=u()(o),h=d.websiteDomain,b=d.fallbackImage,m=d.primaryLogoAlt,v=d.breakpoints,y=d.resizerURL,O=function(e){var t=e.deployment,n=e.contextPath,r=e.fallbackImage;return r.includes("http")||(r=t("".concat(n,"/").concat(r))),r}({deployment:a,contextPath:i,fallbackImage:b}),w={smallWidth:377,smallHeight:283,mediumWidth:377,mediumHeight:283,largeWidth:377,largeHeight:283,primaryLogoAlt:m,breakpoints:v,resizerURL:y},x={smallWidth:105,smallHeight:70,mediumWidth:105,mediumHeight:70,largeWidth:105,largeHeight:70,primaryLogoAlt:m,breakpoints:v,resizerURL:y},S=Object(l.useContent)({source:"resize-image-api",query:{raw_image_url:O,respect_aspect_ratio:!0}});return t.lazyLoad&&Object(f.a)()&&!s?null:Object(g.jsx)(p.a,{enabled:t.lazyLoad&&!s,children:Object(g.jsx)(j,{id:r,customFields:t,placeholderResizedImageOptions:S,targetFallbackImage:O,websiteDomain:h,largeImageProps:w,smallImageProps:x,arcSite:o})})};w.label="Card List – Custom Arc Block",w.propTypes={customFields:a.a.shape({listContentConfig:a.a.contentConfig("ans-feed").tag({group:"Configure Content",label:"Display Content Info"}),title:a.a.string,lazyLoad:a.a.bool.tag({name:"Lazy Load block?",defaultValue:!1,description:"Turning on lazy-loading will prevent this block from being loaded on the page until it is nearly in-view for the user."})})},t.default=w},function(e,t,n){},function(e,t,n){"use strict";n.r(t);n(1);var r=n(3),o=n.n(r),i=n(5),a=n(15),l=n.n(a),c=n(0),s=function(e){var t=e.id,n=Object(i.useFusionContext)().customFields,r=n.outputContainer,o=n.citySparkWidgetId;return Object(c.jsxs)(l.a,{id:t,children:[Object(c.jsxs)("div",{id:"cityspark-widget",children:[Object(c.jsx)("div",{"data-cswidget":"".concat(o)}),r&&Object(c.jsx)("div",{dangerouslySetInnerHTML:{__html:r}})]},t),Object(c.jsx)("script",{type:"text/javascript",async:!0,defer:!0,src:"//cdn.cityspark.com/wid/get.js",children:" "})]},t)};s.label="CitySpark – Custom Block",s.propTypes={customFields:o.a.shape({citySparkWidgetId:o.a.string.tag({group:"CitySpark",name:"Widget ID"})}),id:o.a.string},t.default=s},function(e,t,n){"use strict";n.r(t);n(1),n(196);var r=n(0),o=function(){return Object(r.jsx)("div",{className:"google-search-results",children:Object(r.jsx)("div",{className:"gcse-search"})})};o.label="Google Results - Custom Block",t.default=o},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(3),i=n.n(o),a=n(5),l=n(15),c=n.n(l),s=n(0),u=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,r=document.createElement("script");r.type="text/javascript",t.id&&(r.id=t.id),r.readyState?r.onreadystatechange=function(){"loaded"!==r.readyState&&"complete"!==r.readyState||(r.onreadystatechange=null,n())}:r.onload=function(){n()},r.src=e,document.getElementsByTagName("head")[0].appendChild(r)},d=function(e){var t=e.id,n=Object(a.useFusionContext)().customFields,o=n.elementId,i=n.evvntType,l=n.apiKey,d=n.publisherId,f=n.detailedPageEnabled,p=n.virtual,h=n.categoryId,b=n.discoveryNumber,m=n.partnerName,g=n.text,v=n.directoryId,y=n.designId,O=n.outputContainer,j=n.widgetType,w=n.evvntOrientation;return Object(r.useEffect)((function(){var e=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"widget",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],i=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:null,l=arguments.length>7&&void 0!==arguments[7]?arguments[7]:5,c=arguments.length>8&&void 0!==arguments[8]?arguments[8]:"",s=arguments.length>9&&void 0!==arguments[9]?arguments[9]:"",u=arguments.length>10&&void 0!==arguments[10]?arguments[10]:"",d="widget"===e,f={api_key:n,publisher_id:r,discovery:{element:"#".concat(t),detail_page_enabled:o,widget:d,virtual:i,map:!d,category_id:a},submission:{partner_name:c,text:s}};return d&&(f.discovery.orientation=u,f.discovery.number=l),f}(i,o,l,d,f,p,h,b,m,g,w);if("evvnt"===j)u("//production-evvnt-plugin-herokuapp-com.global.ssl.fastly.net/evvnt_discovery_plugin_s.js",{id:"evvt-script"},(function(){return evvnt_require("evvnt/discovery_plugin").init(e)}));else if("ownlocal"===j&&v)u("//local.".concat(v,".com/embed.js?h=600"),{id:"ownlocal-script"});else if("secondstreet"===j){var t=document.createElement("script");t.type="text/javascript",t.async=!0,t.src="https://embed.secondstreetapp.com/Scripts/dist/optin.js",t.dataset.ssEmbed="optin",t.dataset.designId=y,t.id="second-street-widget",document.getElementById("widget-html-box-secondstreet").appendChild(t)}}),[]),Object(s.jsx)(c.a,{id:t,children:Object(s.jsx)("div",{id:"widget-html-box-".concat(j),children:O&&Object(s.jsx)("div",{dangerouslySetInnerHTML:{__html:O}})},t)},t)};d.label="HTML Box – Custom Block",d.propTypes={customFields:i.a.shape({widgetType:i.a.oneOf(["evvnt","ownlocal","secondstreet"]).tag({name:"Choose Widget",labels:{evvnt:"Evvnt widget",ownlocal:"OwnLocal widget",secondstreet:"Second Street"},required:!1,hidden:!1}),outputContainer:i.a.richtext.tag({name:"HTML Output"}),evvntType:i.a.oneOf(["widget","portal"]).tag({group:"Evvnt Config",name:"Choose Evvnt Widget Type",labels:{widget:"Evvnt Calendar Widget",portal:"Evvnt Calendar Portal"},required:!1,hidden:!1}),evvntOrientation:i.a.oneOf(["landscape","portrait"]).tag({group:"Evvnt Config",name:"Choose Orientation",labels:{landscape:"Landscape",portrait:"Portrait"},required:!0,hidden:!1}),elementId:i.a.string.tag({group:"Evvnt Config",name:"Element Id"}),apiKey:i.a.string.tag({group:"Evvnt Config",name:"API Key"}),publisherId:i.a.number.tag({group:"Evvnt Config",name:"Publisher Id"}),detailedPageEnabled:i.a.bool.tag({group:"Evvnt Config",name:"Detailed Page Enabled"}),virtual:i.a.bool.tag({group:"Evvnt Config",name:"Virtual"}),categoryId:i.a.number.tag({group:"Evvnt Config",name:"Category Id"}),discoveryNumber:i.a.number.tag({group:"Evvnt Config",name:"Discovery Number"}),partnerName:i.a.string.tag({group:"Evvnt Config",name:"Partner Name"}),text:i.a.string.tag({group:"Evvnt Config",name:"Text"}),directoryId:i.a.string.tag({group:"OwnLocal Config",name:"Directory Id"}),designId:i.a.number.tag({group:"Second St Config",name:"Design Id"})}),id:i.a.string},t.default=d},function(e,t,n){},function(e,t,n){"use strict";n.r(t);n(1);var r=n(3),o=n.n(r),i=n(5),a=n(15),l=n.n(a),c=n(0),s=function(e){var t=e.id,n=Object(i.useFusionContext)().customFields,r=n.outputContainer,o=n.revWidgetId,a=n.revDomainID;return Object(c.jsxs)(l.a,{id:t,children:[Object(c.jsxs)("div",{id:"revcontent-widget",children:[Object(c.jsx)("div",{id:"".concat(a),"data-rc-widget":!0,"data-widget-host":"habitat","data-endpoint":"//trends.revcontent.com","data-widget-id":"".concat(o)}),r&&Object(c.jsx)("div",{dangerouslySetInnerHTML:{__html:r}})]},t),Object(c.jsx)("script",{type:"text/javascript",src:"https://assets.revcontent.com/master/delivery.js",defer:"defer"})]},t)};s.label="RevContent – Custom Block",s.propTypes={customFields:o.a.shape({revDomainID:o.a.string.tag({group:"RevContent",name:"Domain ID"}),revWidgetId:o.a.string.tag({group:"RevContent",name:"Widget ID"})}),id:o.a.string},t.default=s},function(e,t,n){},function(e,t,n){"use strict";n.r(t);n(1);var r=n(3),o=n.n(r),i=n(15),a=n.n(i),l=n(5),c=n(22),s=n(0),u=function(e){var t=e.id,n=e.customFields.embedHTML,r=Object(l.useFusionContext)().arcSite;return Object(c.a)({arcSite:r})?null:Object(s.jsx)(a.a,{id:t,children:Object(s.jsx)("div",{dangerouslySetInnerHTML:{__html:n}})},t)};u.label="Send To News – Custom Block",u.propTypes={id:o.a.string,customFields:o.a.shape({embedHTML:o.a.string.tag({name:"Embed HTML"})})},t.default=u},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);n(1),n(207);var r=n(0),o=function(){return Object(r.jsxs)("ul",{className:"navigation-membership",children:[Object(r.jsx)("li",{className:"become-a-member","data-click":"ql0",children:Object(r.jsx)("a",{className:"link PicoRule","data-become-member":"true",href:"#",children:"Become a Member"})}),Object(r.jsxs)("li",{className:"sign-in",children:[Object(r.jsx)("a",{className:"link PicoRule logged-out",href:"#",children:"Sign In"}),Object(r.jsx)("a",{className:"link PicoManageAccount signed","aria-label":"Manage Account",href:"#",children:"My Account"})]})]})};o.label="Sign in Button Pico - Custom Block",t.default=o},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t),n.d(t,"ArticleTagItems",(function(){return m}));n(1);var r=n(2),o=n.n(r),i=n(7),a=n.n(i),l=n(5),c=n(12),s=n.n(c),u=n(17),d=n(18),f=n(55),p=n(4),h=(n(210),n(0)),b=a()(f.a).withConfig({displayName:"default__Tags",componentId:"sc-1utpg2o-0"})(["background-color:",";"],(function(e){return e.primaryColor})),m=function(e){var t=e.content,n=e.arcSite,r=s()(n)["primary-color"],o=t.taxonomy,i=(o=void 0===o?{}:o).tags,a=void 0===i?[]:i;return a.length?Object(h.jsx)(p.l,{as:"div",className:"tags-holder",children:a.map((function(e){var t=e.slug||"#",n="#"!==t?encodeURI("/tags/".concat(t,"/")):"#";return Object(h.jsx)(b,{className:"tags",href:n,primaryColor:r||"#14689A",children:e.text},e.text)}))}):null},g=function(){var e=Object(l.useFusionContext)(),t=e.arcSite,n=e.globalContent;return(Object(h.jsx)(m,{arcSite:t,content:n}))},v=function(e){var t=e.customFields,n=void 0===t?{}:t,r=Object(l.useFusionContext)().isAdmin;return(null==n?void 0:n.lazyLoad)&&Object(u.a)()&&!r?null:Object(h.jsx)(d.a,{enabled:n.lazyLoad&&!r,children:Object(h.jsx)(g,{})})};v.label="Tags Bar – Arc Block",v.icon="tags",v.propTypes={customFields:o.a.shape({lazyLoad:o.a.bool.tag({name:"Lazy Load block?",defaultValue:!1,description:"Turning on lazy-loading will prevent this block from being loaded on the page until it is nearly in-view for the user."})})},t.default=v},function(e,t,n){},function(e,t,n){"use strict";n.r(t),n.d(t,"AuthorBioItems",(function(){return H}));var r=n(1),o=n(2),i=n.n(o),a=n(5),l=n(12),c=n.n(l),s=n(11),u=n.n(s),d=n(7),f=n.n(d),p=n(55),h=n(19),b=n(101),m=n(102),g=n(100),v=n(99),y=n(98),O=n(103),j=n(104),w=n(105),x=n(106),S=n(107),_=n(108),k=n(109),C=n(110),E=n(111),P=n(97),L=n(17),T=n(18),A=n(4),I=n(6),N=n.n(I),D=(n(212),n(88),n(0));function R(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 M(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function F(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var z=f()(p.b).withConfig({displayName:"default__MediaLinksStyled",componentId:"sc-1m0o7mf-0"})([""]),B=function(e,t){var n,r,o=e.image,i=void 0===o?{}:o,a=e.name,l=e.resized_params,c=i.url,s=void 0===c?"":c,u=i.alt_text,d=void 0===u?"":u;return s?Object(D.jsx)(h.a,{url:s,alt:d||a,smallWidth:84,smallHeight:0,mediumWidth:84,mediumHeight:0,largeWidth:84,largeHeight:0,breakpoints:null===(n=N()(t))||void 0===n?void 0:n.breakpoints,resizerURL:null===(r=N()(t))||void 0===r?void 0:r.resizerURL,resizedImageOptions:l}):null},U=function(){var e=Object(a.useFusionContext)(),t=e.globalContent,n=e.arcSite;return(Object(D.jsx)(H,{arcSite:n,content:t}))},H=function(e){var t=e.arcSite,n=e.content,o=N()(t).locale,i=void 0===o?"en":o,a=u()(i),l=n.credits,s=(void 0===l?{}:l).by,d=void 0===s?[]:s,f=c()(t)["primary-color"],p=d.reduce((function(e,n){var o=n.additional_properties,i=n.name,l=o.original;if(n.description&&n.description.length>0&&l&&l.bio&&l.bio.length>0){var c=n.social_links&&n.social_links.length>0?n.social_links.reduce((function(e,t){if(t.site&&t.url&&t.url.length>0){var n,o=Object(b.a)(t.site,t.url),l=function(e){var t=e.children,n=e.webService,r=F(e,["children","webService"]);return(Object(D.jsx)(z,function(e){for(var t=1;t=g?e.concat(n):e}),[]);y&&(_=_.slice(0,y));var k=f?b.h:o.a.Fragment,C=!!(_[0]&&_[0].credits&&_[0].credits.by&&0!==_[0].credits.by.length);return _.length>0?Object(m.jsx)(b.h,{children:Object(m.jsxs)("div",{className:"card-list-container",children:[f?Object(m.jsx)(b.g,{className:"card-list-title",children:f}):null,Object(m.jsxs)(k,{children:[Object(m.jsxs)("article",{className:"list-item-simple",children:[Object(m.jsx)("a",{href:_[0].websites[t].website_url,className:"list-anchor card-list--link-container vertical-align-image","aria-hidden":"true",tabIndex:"-1",children:Object(h.a)(_[0])?Object(m.jsx)(d.a,v({},w,{url:Object(h.a)(_[0]),alt:_[0].headlines.basic,resizedImageOptions:Object(h.b)(_[0])})):Object(m.jsx)(d.a,v({},w,{url:j,alt:w.primaryLogoAlt||"",resizedImageOptions:O}))}),Object(m.jsx)(b.k,{story:_[0],className:"card-list-overline"}),Object(m.jsx)(b.g,{className:"card-list-headline",children:Object(m.jsx)("a",{href:_[0].websites[t].website_url,className:"list-anchor vertical-align-image",id:"card-list--headline-link",children:_[0].headlines.basic})}),Object(m.jsxs)("div",{className:"author-date",children:[Object(m.jsx)(b.e,{content:_[0],list:!0,separator:C,font:"Primary"}),Object(m.jsx)(b.m,{className:"story-date",date:_[0].display_date})]})]},"card-list-".concat(_[0].websites[t].website_url)),_.slice(1).map((function(e){var n,r=e.headlines,i=(r=void 0===r?{}:r).basic,a=Object(h.a)(e),l=null===(n=e.websites[t])||void 0===n?void 0:n.website_url;return l?Object(m.jsx)(o.a.Fragment,{children:Object(m.jsxs)("article",{className:"card-list-item",children:[Object(m.jsx)("a",{href:l,className:"headline-list-anchor vertical-align-image",children:Object(m.jsx)(b.g,{className:"headline-text",children:i})}),Object(m.jsx)("a",{href:l,className:"list-anchor-image vertical-align-image","aria-hidden":"true",tabIndex:"-1",children:Object(m.jsx)(d.a,v({},x,{url:a||j,alt:a?i:x.primaryLogoAlt||"",resizedImageOptions:a?Object(h.b)(e):O}))})]},"card-list-".concat(l))},"card-list-".concat(l)):null}))]})]})}):null},j=function(e){var t=e.customFields,n=Object(c.useFusionContext)(),r=n.id,o=n.arcSite,i=n.contextPath,a=n.deployment,s=n.isAdmin,d=u()(o),h=d.websiteDomain,b=d.fallbackImage,g=d.primaryLogoAlt,v=d.breakpoints,y=d.resizerURL,j=function(e){var t=e.deployment,n=e.contextPath,r=e.fallbackImage;return r.includes("http")||(r=t("".concat(n,"/").concat(r))),r}({deployment:a,contextPath:i,fallbackImage:b}),w={smallWidth:377,smallHeight:283,mediumWidth:377,mediumHeight:283,largeWidth:377,largeHeight:283,primaryLogoAlt:g,breakpoints:v,resizerURL:y},x={smallWidth:105,smallHeight:70,mediumWidth:105,mediumHeight:70,largeWidth:105,largeHeight:70,primaryLogoAlt:g,breakpoints:v,resizerURL:y},S=Object(l.useContent)({source:"resize-image-api",query:{raw_image_url:j,respect_aspect_ratio:!0}});return t.lazyLoad&&Object(f.a)()&&!s?null:Object(m.jsx)(p.a,{enabled:t.lazyLoad&&!s,children:Object(m.jsx)(O,{id:r,customFields:t,placeholderResizedImageOptions:S,targetFallbackImage:j,websiteDomain:h,largeImageProps:w,smallImageProps:x,arcSite:o})})};j.label="Card List – Arc Block",j.icon="arc-list",j.propTypes={customFields:a.a.shape({title:a.a.string,listContentConfig:a.a.contentConfig("ans-feed").tag({group:"Configure Content",label:"Display Content Info"}),offsetOverride:a.a.number.tag({group:"Configure Content",label:"Offset Override",defaultValue:0}),displayAmount:a.a.number.tag({group:"Configure Content",label:"Amount of items to display"}),lazyLoad:a.a.bool.tag({name:"Lazy Load block?",defaultValue:!1,description:"Turning on lazy-loading will prevent this block from being loaded on the page until it is nearly in-view for the user."})})},t.default=j},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);n(1);var r=n(2),o=n.n(r),i=n(5),a=n(17),l=n(18),c=n(10),s=n(4),u=n(0);function d(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 f(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n1);return Object(p.jsxs)(p.Fragment,{children:[Object(p.jsx)("nav",{className:"links-bar","aria-label":o||g.t("links-bar-block.element-aria-label"),children:v&&v.map((function(e,t){return Object(p.jsxs)(d.l,{as:"span",className:"links-menu",children:["link"===e.node_type?Object(p.jsx)(f.a,{href:e.url,name:e.display_name}):Object(p.jsx)(f.a,{href:e._id,name:e.name}),l.children.length!==t+1&&y?"  •  ":""]},e._id)}))},h),Object(p.jsx)("hr",{})]})};g.label="Links Bar – Arc Block",g.icon="hyperlink-3",g.propTypes={customFields:o.a.shape({navigationConfig:o.a.contentConfig("navigation-hierarchy").tag({group:"Configure Content",label:"Navigation"}),ariaLabel:o.a.string.tag({label:"Aria-label",defaultValue:"More Links",description:'The label is provided to assistive technologies to provide it with a unique name for the links bar nav landmark - defaults to "More Links" if left blank'})})},t.default=g},function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";n.r(t);n(1);var r=n(2),o=n.n(r),i=n(5),a=n(17),l=n(18),c=n(10),s=n(4),u=n(0);function d(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 f(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&Object(a.jsx)("div",{className:"row",children:Object(a.jsx)("div",{className:"col-sm-xl-12 layout-section wrap-bottom",children:u})})]})]}),Object(a.jsx)("footer",{children:d})]})};s.propTypes={children:o.a.array},s.sections=["navigation","customMasthead","fullwidth1","main","rightrail","fullwidth2","footer"],s.label="Shaw Masthead Right Rail – Custom Layout",t.default=s},function(e,t,n){},function(e,t,n){"use strict";n.r(t);var r,o=n(1),i=n(2),a=n.n(i),l=n(7),c=n.n(l),s=n(8),u=n(5),d=n(6),f=n.n(d),p=n(12),h=n.n(p),b=n(11),m=n.n(b),g=n(51),v=n.n(g);function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O="nav-bar",j="section-menu",w=["mobile","desktop"],x={left:"Left",right:"Right",menu:"Sections Menu"},S={none:"None",queryly:"Queryly Search",menu:"Sections Menu",custom:"Custom",google:"Google Search"},_={leftComponentDesktop1:"google",leftComponentDesktop2:"menu",leftComponentMobile1:"menu",menuComponentMobile1:"google"},k=(y(r={},O,{iconSize:16,expandSearch:!1,slotCounts:{mobile:1,desktop:2},options:["google","queryly","menu","none","custom"],sections:["left","right"]}),y(r,j,{iconSize:21,expandSearch:!0,slotCounts:{mobile:2,desktop:2},options:["google","queryly","menu","none","custom"],sections:["menu"]}),r),C=function(e){return e?[String(e).charAt(0).toUpperCase(),String(e).substring(1)].join(""):e},E=function(e,t,n){return"".concat(x[e]," Component ").concat(n," - ").concat(C(t))},P=function(e,t,n){return"".concat(e,"Component").concat(C(t)).concat(n)},L=function(e,t,n){return"".concat(e,"ComponentCustomIndex").concat(C(t)).concat(n)},T=function(e){return e&&_[e]||"none"},A=function(e,t,n){return{name:"If custom, position of ".concat(E(e,t,n)),group:"".concat(C(t)," Components"),required:!1,hidden:!1}},I=function(e,t){return t[e]||T(e)},N=function(e){var t=!1,n=k[O],r=n.slotCounts;return n.sections.forEach((function(n){w.forEach((function(o){for(var i=1;i<=r[o];i+=1){var a=P(n,o,i),l=I(a,e)!==T(a);!t&&l&&(t=!0)}}))})),t},D=n(93),R=n(96),M=n(0);function F(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 z(e){for(var t=1;t0}var Y=function(e){var t=e.item,n=e.isHidden;return"link"===t.node_type?Object(M.jsx)(U,{href:t.url,name:t.display_name,isHidden:n}):Object(M.jsx)(U,{href:t._id,name:t.name,isHidden:n})},G=function(e){var t,n=e.target;if("A"!==n.nodeName){var r=n.closest(".subsection-anchor"),o=null!==(t=n.querySelector(".submenu-caret"))&&void 0!==t?t:n.closest(".submenu-caret"),i=r.nextElementSibling,a=r.classList;a.contains("open")?(a.remove("open"),i.classList.remove("open"),o.setAttribute("aria-expanded",!1)):(a.add("open"),i.classList.add("open"),o.setAttribute("aria-expanded",!0)),e.stopPropagation()}},X=c.a.ul.withConfig({displayName:"section-nav__StyledSectionMenuVariableHeight",componentId:"sc-1n1cg4h-0"})(["height:calc(100vh - ","px - 13px);"],(function(e){return e.navHeight})),$=function(e){var t,n=e.item,r=e.isOpen,o=e.isHidden,i=Object(u.useFusionContext)().arcSite,a=f()(i).locale,l=void 0===a?"en":a,c=m()(l);return Object(M.jsxs)("div",{className:"subsection-anchor ".concat(r?"open":""),onClick:G,children:[Object(M.jsx)(Y,{item:n,isHidden:o}),Object(M.jsx)("button",V({type:"button",className:"submenu-caret","aria-expanded":r?"true":"false","aria-label":c.t("header-nav-chain-block.sections-button-aria-label",{item:null!==(t=n.display_name)&&void 0!==t?t:n.name}),"aria-controls":"header_sub_section_".concat(n._id.replace("/",""))},o?{tabIndex:-1}:{},{children:Object(M.jsx)(D.a,{height:20,width:20})}))]})},K=function(e){var t,n=e.item,r=e.isHidden;"undefined"!=typeof window&&(t=window.location.pathname);var o,i,a=(o=t,i=n._id,o&&i&&o.split("/")[1]===i.split("/")[1]?"open":"");return(Object(M.jsxs)("li",{className:"section-item",children:[W(n)?Object(M.jsx)($,{item:n,isOpen:a,isHidden:r}):Object(M.jsx)(Y,{item:n,isHidden:r}),W(n)&&Object(M.jsx)(Z,{items:n.children,isOpen:a,id:n._id.replace("/",""),isHidden:r})]}))},Z=function(e){var t=e.items,n=e.isOpen,r=e.id,o=e.isHidden,i=t.map((function(e){return Object(M.jsx)("li",{className:"subsection-item",children:"link"===e.node_type?Object(M.jsx)(U,{href:e.url,name:e.display_name,isHidden:o}):Object(M.jsx)(U,{href:e._id,name:e.name,isHidden:o})},e._id)}));return Object(M.jsx)("div",{className:"subsection-container ".concat(n?"open":""),children:Object(M.jsx)("ul",{className:"subsection-menu",id:"header_sub_section_".concat(r),children:i})})},J=function(e){var t=e.children,n=void 0===t?[]:t,r=e.sections,o=void 0===r?[]:r,i=e.isHidden,a=void 0!==i&&i,l=e.navHeight,c=o.filter((function(e){return!e.inactive}));return Object(M.jsxs)(M.Fragment,{children:[n,Object(M.jsxs)(X,{navHeight:l,className:"section-menu",children:[c.map((function(e){return Object(M.jsx)(K,{item:e,isHidden:a},e._id)})),Object(M.jsx)("li",{className:"section-menu--bottom-placeholder"})]})]})},Q=n(282);function ee(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)return;var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return te(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return te(e,t)}(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.")}()}function te(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n150&&c(!0),r<30&&c(!1))}}),100),1)[0];Object(o.useEffect)((function(){if(document.querySelector(".masthead-block-container .masthead-block-logo"))return Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)>=n?(window.addEventListener("scroll",s),function(){window.removeEventListener("scroll",s)}):void 0}),[s,n]),Object(o.useEffect)((function(){if(!(Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)1&&r),v="light"===n?"#000":"#fff";return Object(M.jsx)(ue,{color:v,className:"horizontal-links-bar","aria-label":o||p.t("header-nav-chain-block.links-element-aria-label"),children:b&&b.map((function(e,t){return Object(M.jsxs)(ae,{as:"span",className:"horizontal-links-menu",children:[t>0&&g?"  •  ":"   ","link"===e.node_type?Object(M.jsx)(se,{href:e.url,name:e.display_name}):Object(M.jsx)(se,{href:e._id,name:e.name})]},e._id)}))},a)},fe=n(3),pe=n.n(fe),he=n(275),be=n(276),me=n(90),ge=n(91),ve=n(277);n(182);function ye(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 Oe(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&c&&c>0&&Number.isInteger(c)&&c<=r.length?r[c-1]:null):null},Fe=function(e){var t=e.breakpoint,n=e.children,r=e.customFields,o=e.id,i=e.menuButtonClickAction,a=e.placement;if(!o||!t)return null;for(var l=k[a].slotCounts,c=[],s=1;s<=l[t];s+=1){var u=P(o,t,s),d=L(o,t,s),f=I(u,r);f&&"none"!==f&&c.push(Object(M.jsx)("div",{className:"nav-widget",children:Object(M.jsx)(Me,{menuButtonClickAction:i,placement:a,position:r[d],type:f,breakpoint:t,children:n})},"".concat(o,"_").concat(t,"_").concat(s)))}return c},ze=function(e){var t=e.children,n=e.customFields,r=e.menuButtonClickAction,o=e.side,i=e.signInOrder;return(o?Object(M.jsx)("div",{className:"nav-".concat(o),children:"right"===o&&!N(n)&&i&&Number.isInteger(i)&&t[i-1]?t[i-1]:w.map((function(e){return Object(M.jsx)("div",{className:"nav-components--".concat(e),children:Object(M.jsx)(Fe,{breakpoint:e,customFields:n,id:o,menuButtonClickAction:r,placement:O,children:t})},e)}))},o):null)},Be=function(e){var t=e.children,n=e.customFields,r=e.menuButtonClickAction;return(Object(M.jsx)("div",{className:"nav-menu",children:w.map((function(e){return Object(M.jsx)("div",{className:"nav-components--".concat(e),children:Object(M.jsx)(Fe,{breakpoint:e,customFields:n,id:"menu",menuButtonClickAction:r,placement:j,children:t})},e)}))},"menu"))};n(184);function Ue(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 He(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ve(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)return;var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return qe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return qe(e,t)}(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.")}()}function qe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nD?K(!0):e0}var Y=function(e){var t=e.item,n=e.isHidden;return"link"===t.node_type?Object(M.jsx)(U,{href:t.url,name:t.display_name,isHidden:n}):Object(M.jsx)(U,{href:t._id,name:t.name,isHidden:n})},G=function(e){var t,n=e.target;if("A"!==n.nodeName){var r=n.closest(".subsection-anchor"),o=null!==(t=n.querySelector(".submenu-caret"))&&void 0!==t?t:n.closest(".submenu-caret"),i=r.nextElementSibling,a=r.classList;a.contains("open")?(a.remove("open"),i.classList.remove("open"),o.setAttribute("aria-expanded",!1)):(a.add("open"),i.classList.add("open"),o.setAttribute("aria-expanded",!0)),e.stopPropagation()}},X=c.a.ul.withConfig({displayName:"section-nav__StyledSectionMenuVariableHeight",componentId:"sc-6vfz06-0"})(["height:calc(100vh - ","px - 13px);"],(function(e){return e.navHeight})),$=function(e){var t,n=e.item,r=e.isOpen,o=e.isHidden,i=Object(u.useFusionContext)().arcSite,a=f()(i).locale,l=void 0===a?"en":a,c=m()(l);return Object(M.jsxs)("div",{className:"subsection-anchor ".concat(r?"open":""),onClick:G,children:[Object(M.jsx)(Y,{item:n,isHidden:o}),Object(M.jsx)("button",V({type:"button",className:"submenu-caret","aria-expanded":r?"true":"false","aria-label":c.t("header-nav-chain-block.sections-button-aria-label",{item:null!==(t=n.display_name)&&void 0!==t?t:n.name}),"aria-controls":"header_sub_section_".concat(n._id.replace("/",""))},o?{tabIndex:-1}:{},{children:Object(M.jsx)(D.a,{height:20,width:20})}))]})},K=function(e){var t,n=e.item,r=e.isHidden;"undefined"!=typeof window&&(t=window.location.pathname);var o,i,a=(o=t,i=n._id,o&&i&&o.split("/")[1]===i.split("/")[1]?"open":"");return(Object(M.jsxs)("li",{className:"section-item",children:[W(n)?Object(M.jsx)($,{item:n,isOpen:a,isHidden:r}):Object(M.jsx)(Y,{item:n,isHidden:r}),W(n)&&Object(M.jsx)(Z,{items:n.children,isOpen:a,id:n._id.replace("/",""),isHidden:r})]}))},Z=function(e){var t=e.items,n=e.isOpen,r=e.id,o=e.isHidden,i=t.map((function(e){return Object(M.jsx)("li",{className:"subsection-item",children:"link"===e.node_type?Object(M.jsx)(U,{href:e.url,name:e.display_name,isHidden:o}):Object(M.jsx)(U,{href:e._id,name:e.name,isHidden:o})},e._id)}));return Object(M.jsx)("div",{className:"subsection-container ".concat(n?"open":""),children:Object(M.jsx)("ul",{className:"subsection-menu",id:"header_sub_section_".concat(r),children:i})})},J=function(e){var t=e.children,n=void 0===t?[]:t,r=e.sections,o=void 0===r?[]:r,i=e.isHidden,a=void 0!==i&&i,l=e.navHeight,c=o.filter((function(e){return!e.inactive}));return Object(M.jsxs)(M.Fragment,{children:[n,Object(M.jsxs)(X,{navHeight:l,className:"section-menu",children:[c.map((function(e){return Object(M.jsx)(K,{item:e,isHidden:a},e._id)})),Object(M.jsx)("li",{className:"section-menu--bottom-placeholder"})]})]})},Q=n(282);function ee(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)return;var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return te(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return te(e,t)}(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.")}()}function te(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n150&&c(!0),r<30&&c(!1))}}),100),1)[0];Object(o.useEffect)((function(){if(document.querySelector(".masthead-block-container .masthead-block-logo"))return Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)>=n?(window.addEventListener("scroll",s),function(){window.removeEventListener("scroll",s)}):void 0}),[s,n]),Object(o.useEffect)((function(){if(!(Math.max(document.documentElement.clientWidth||0,window.innerWidth||0)1&&r),v="light"===n?"#000":"#fff";return Object(M.jsx)(le,{color:v,className:"horizontal-links-bar","aria-label":o||p.t("header-nav-chain-block.links-element-aria-label"),children:b&&b.map((function(e,t){return Object(M.jsxs)(re.l,{as:"span",className:"horizontal-links-menu",children:[t>0&&g?"  •  ":"   ","link"===e.node_type?Object(M.jsx)(ae,{href:e.url,name:e.display_name}):Object(M.jsx)(ae,{href:e._id,name:e.name})]},e._id)}))},a)};n(187);function se(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)return;var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ue(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ue(e,t)}(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.")}()}function ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&p&&p>0&&Number.isInteger(p)&&p<=i.length?i[p-1]:null):null},be=function(e){var t=e.breakpoint,n=e.children,r=e.customFields,o=e.id,i=e.menuButtonClickAction,a=e.placement;if(!o||!t)return null;for(var l=k[a].slotCounts,c=[],s=1;s<=l[t];s+=1){var u=P(o,t,s),d=L(o,t,s),f=I(u,r);f&&"none"!==f&&c.push(Object(M.jsx)("div",{className:"nav-widget",children:Object(M.jsx)(he,{menuButtonClickAction:i,placement:a,position:r[d],type:f,breakpoint:t,children:n})},"".concat(o,"_").concat(t,"_").concat(s)))}return c},me=function(e){var t=e.children,n=e.customFields,r=e.menuButtonClickAction,o=e.side,i=e.signInOrder;return(o?Object(M.jsx)("div",{className:"nav-".concat(o),children:"right"===o&&!N(n)&&i&&Number.isInteger(i)&&t[i-1]?t[i-1]:w.map((function(e){return Object(M.jsx)("div",{className:"nav-components--".concat(e),children:Object(M.jsx)(be,{breakpoint:e,customFields:n,id:o,menuButtonClickAction:r,placement:O,children:t})},e)}))},o):null)},ge=function(e){var t=e.children,n=e.customFields,r=e.menuButtonClickAction;return(Object(M.jsx)("div",{className:"nav-menu",children:w.map((function(e){return Object(M.jsx)("div",{className:"nav-components--".concat(e),children:Object(M.jsx)(be,{breakpoint:e,customFields:n,id:"menu",menuButtonClickAction:r,placement:j,children:t})},e)}))},"menu"))};n(87);function ve(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 ye(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Oe(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)return;var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return je(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return je(e,t)}(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.")}()}function je(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);nD?K(!0):ee.length)&&(t=e.length);for(var n=0,r=new Array(t);n=u?e.concat(t):e}),[]),E=1===j,P=I(new Set(_)),L=C.map((function(e){return{id:e._id,element:e}})),A={};return L&&_&&_.forEach((function(e,t){t1&&"SMALL"===t?"row":""].join(" "),children:!!A[t]&&A[t].map((function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.id,o=n.element;return Object(v.jsx)(T,{id:r,element:o,storySize:t,customFields:e.customFields},r)}))},t)}))},x)};V.propTypes={customFields:i.a.shape(R({listContentConfig:i.a.contentConfig("ans-feed").tag({group:"Configure Content",label:"Display Content Info"}),offsetOverride:i.a.number.tag({group:"Configure Content",label:"Offset Override",defaultValue:0}),extraLarge:i.a.number.tag({label:H("Extra Large"),default:0}),large:i.a.number.tag({label:H("Large"),default:0}),medium:i.a.number.tag({label:H("Medium"),default:0}),small:i.a.number.tag({label:H("Small"),default:0}),showOverlineXL:i.a.bool.tag({label:"Show overline",defaultValue:!0,group:"Extra Large story settings"}),showHeadlineXL:i.a.bool.tag({label:"Show headline",defaultValue:!0,group:"Extra Large story settings"}),showImageXL:i.a.bool.tag({label:"Show image",defaultValue:!0,group:"Extra Large story settings"}),showDescriptionXL:i.a.bool.tag({label:"Show description",defaultValue:!0,group:"Extra Large story settings"}),showBylineXL:i.a.bool.tag({label:"Show byline",defaultValue:!0,group:"Extra Large story settings"}),showDateXL:i.a.bool.tag({label:"Show date",defaultValue:!0,group:"Extra Large story settings"})},Object(f.c)("imageRatioXL","Extra Large story settings","4:3"),{playVideoInPlaceXL:i.a.bool.tag({label:"Play video in place",group:"Extra Large story settings",defaultValue:!1}),showBottomBorderXL:i.a.bool.tag({label:"Show bottom border",defaultValue:!0,group:"Extra Large story settings"})},L.EXTRA_LARGE("Extra Large story settings"),{showOverlineLG:i.a.bool.tag({label:"Show overline",defaultValue:!0,group:"Large story settings"}),showHeadlineLG:i.a.bool.tag({label:"Show headline",defaultValue:!0,group:"Large story settings"}),showImageLG:i.a.bool.tag({label:"Show image",defaultValue:!0,group:"Large story settings"}),showDescriptionLG:i.a.bool.tag({label:"Show description",defaultValue:!0,group:"Large story settings"}),showBylineLG:i.a.bool.tag({label:"Show byline",defaultValue:!0,group:"Large story settings"}),showDateLG:i.a.bool.tag({label:"Show date",defaultValue:!0,group:"Large story settings"})},Object(f.c)("imageRatioLG","Large story settings","4:3"),{playVideoInPlaceLG:i.a.bool.tag({label:"Play video in place",group:"Large story settings",defaultValue:!1}),showBottomBorderLG:i.a.bool.tag({label:"Show bottom border",defaultValue:!0,group:"Large story settings"})},L.LARGE("Large story settings"),{showHeadlineMD:i.a.bool.tag({label:"Show headline",defaultValue:!0,group:"Medium story settings"}),showImageMD:i.a.bool.tag({label:"Show image",defaultValue:!0,group:"Medium story settings"}),showDescriptionMD:i.a.bool.tag({label:"Show description",defaultValue:!0,group:"Medium story settings"}),showBylineMD:i.a.bool.tag({label:"Show byline",defaultValue:!0,group:"Medium story settings"}),showDateMD:i.a.bool.tag({label:"Show date",defaultValue:!0,group:"Medium story settings"})},Object(f.c)("imageRatioMD","Medium story settings","16:9"),{showBottomBorderMD:i.a.bool.tag({label:"Show bottom border",defaultValue:!0,group:"Medium story settings"}),showHeadlineSM:i.a.bool.tag({label:"Show headline",defaultValue:!0,group:"Small story settings"}),showImageSM:i.a.bool.tag({label:"Show image",defaultValue:!0,group:"Small story settings"})},Object(f.c)("imageRatioSM","Small story settings","3:2"),{storiesPerRowSM:i.a.oneOf([1,2,3,4]).tag({name:"Stories per row",defaultValue:2,group:"Small story settings"}),imagePositionSM:i.a.oneOf(["above","below","left","right"]).tag({name:"Image position",defaultValue:"right",group:"Small story settings",labels:{above:"Image above",below:"Image below",left:"Image left",right:"Image right"},required:!1,hidden:!1}),showBottomBorderSM:i.a.bool.tag({label:"Show bottom border",defaultValue:!0,group:"Small story settings"}),lazyLoad:i.a.bool.tag({name:"Lazy Load block?",defaultValue:!1,description:"Turning on lazy-loading will prevent this block from being loaded on the page until it is nearly in-view for the user."})}))},V.label="Top Table List – Arc Block",V.icon="arc-list";t.default=V},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(37),i=n.n(o),a=n(5),l=n(8),c=n(3),s=n.n(c),u=n(14),d=n.n(u),f=(n(202),n(0));function p(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)return;var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return h(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return h(e,t)}(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.")}()}function h(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n(n&&"/"!==n?1:2)&&!l&&(s="hidden_sm"),t>(n&&"/"!==n?3:4)&&!l&&(s="hidden_sm hidden_md"),t>(n&&"/"!==n?7:8)&&!l&&(s="hidden_sm hidden_md hidden_lg"),Object(f.jsx)("a",{className:["section-link-inline","font_secondary font_sm","unstyled hover_opacity","margin-sm-right",s||"display_inline_block"].join(" "),href:"section"===r?"".concat(o,"/"):a,children:i||c},o)}))]}),t.length>3?Object(f.jsx)(u,{}):null]})};b.propTypes={parentId:s.a.string,sectionId:s.a.string,sectionName:s.a.string,links:s.a.array};var m=b,g=n(97),v=n(98),y=n(99),O=n(100),j=n(6),w=n.n(j);function x(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 S(e){for(var t=1;t0;return Object(f.jsxs)("div",{className:"section-title",children:[Object(f.jsx)("hr",{className:"margin_none border border_color border_solid border_bottom"}),Object(f.jsxs)("div",{className:"container",children:[Object(f.jsxs)("div",{className:"row",children:[Object(f.jsx)(L,{}),Object(f.jsxs)("div",{className:"flex col-sm-12 col-md-lg-6 col-xl-8 vertical-centered justify_center padding-xs-top padding-xs-bottom",children:[(n||u&&v)&&Object(f.jsx)("a",{href:"/".concat(n||v),className:"height_max_40px text_align_center",children:Object(f.jsx)("picture",{className:"height_max_40px contained",children:Object(f.jsx)("img",{className:"height_max_40px contained",src:i("".concat(c,"/resources/images/sites/").concat(o,"/sections/").concat(n||v,".svg")),alt:t.name,loading:"lazy"})})}),y&&!(n||u)&&Object(f.jsx)(m,{links:p,parentId:g,sectionName:b,sectionId:s})]}),(n||v)&&Object(f.jsx)(E,{sectionId:n||v})]}),(n||u)&&Object(f.jsx)("hr",{className:"margin_none border border_color border_solid border_bottom hidden_sm hidden_md"}),y&&(n||u)&&Object(f.jsx)(m,{links:p,parentId:g,sectionName:b,sectionId:s}),(n||u)&&Object(f.jsx)("hr",{className:"margin_none border border_color border_solid border_bottom hidden_lg"}),y&&!(n||u)&&Object(f.jsx)("hr",{className:"margin_none border border_color border_solid border_bottom"})]})]})};T.propTypes={content:s.a.object,logoOverrideSectionId:s.a.string};var A=T,I=function(e){var t=e.customFields,n=t.logoOverrideSectionId,r=t.inheritGlobalContent,o=t.sectionContentConfig;if(r){var i=Object(a.useAppContext)().globalContent;return i?Object(f.jsx)(A,{logoOverrideSectionId:n,content:i}):null}var c=Object(l.useContent)({source:o.contentService,query:o.contentConfigValues});return c?Object(f.jsx)(A,{logoOverrideSectionId:n,content:c}):null};I.label="Section Title – Custom Block",I.propTypes={customFields:i.a.shape({sectionContentConfig:i.a.contentConfig().tag({group:"Configure Content",label:"Display Content Info",defaultValue:{contentService:"",contentConfigValues:{},inherit:!0}}),logoOverrideSectionId:i.a.string.tag({group:"Logo Override",name:"Section Id"}),inheritGlobalContent:i.a.bool.tag({group:"Configure Content",defaultValue:!0})})};t.default=I},function(e,t,n){"use strict";n.r(t);n(1);var r=n(2),o=n.n(r),i=n(6),a=n.n(i),l=n(5),c=n(283),s=n(4),u=n(7),d=n.n(u),f=d.a.div.withConfig({displayName:"MastheadItemsContainer",componentId:"sc-15pqo40-0"})(["display:flex;justify-content:space-evenly;> div{align-items:flex-end;display:flex;flex:1;padding-bottom:9px;padding-top:5px;justify-content:center;> p{color:#191919;margin:0;}}> div:first-child{justify-content:flex-start;> p{font-weight:bold;}}> div:last-child{justify-content:flex-end;}"]),p=d.a.div.withConfig({displayName:"HeightConstrainedImageContainer__HeaderContainerHideMobile",componentId:"sc-1jn9niy-0"})(["display:flex;justify-content:center;padding-bottom:10px;img{max-height:64px;object-fit:contain;vertical-align:middle;}"]),h=d.a.hr.withConfig({displayName:"GenericDivider",componentId:"sc-1haevgd-0"})(["margin:0;padding:0;"]),b=d.a.div.withConfig({displayName:"HeaderContainerHideMobile",componentId:"sc-10r1g5f-0"})(["@media (max-width:768px){display:none;}"]),m=(n(233),n(0));function g(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 v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"MastheadPresentational",(function(){return y}));var y=function(e){var t=e.customFields,n=t.tagLine,r=t.promoLinkURL,o=t.promoLinkText,i=t.logoURL,a=t.showDate,l=e.displayDate;return(Object(m.jsxs)(b,{className:"masthead-block-container",children:[i&&Object(m.jsx)(p,{className:"masthead-block-logo",children:Object(m.jsx)("picture",{children:Object(m.jsx)("img",{src:i,alt:"Masthead logo"})})}),Object(m.jsxs)(f,{children:[Object(m.jsx)("div",{children:a&&Object(m.jsx)(s.l,{as:"p",className:"masthead-block--text",children:l})}),Object(m.jsx)("div",{children:n&&Object(m.jsx)(s.l,{as:"p",className:"masthead-block--text",children:n})}),Object(m.jsx)("div",{children:r&&o&&Object(m.jsx)(s.l,{as:"a",href:r,className:"masthead-block--text masthead-block--promo-link",children:o})})]}),Object(m.jsx)(h,{color:"#000A12",size:2})]}))},O=function(e){var t=Object(l.useFusionContext)().arcSite,n=a()(t).dateLocalization,r=(n=void 0===n?{language:"en",timeZone:"GMT",dateFormat:"LLLL d, yyyy"}:n).language,o=n.timeZone,i=n.dateFormat,s=Object(c.a)(new Date,i,r,o);return Object(m.jsx)(y,function(e){for(var t=1;t0&&r.map((function(t){var n=Object(v.a)(t)?Object(v.b)(t):l;return(Object(j.jsx)(k,{element:t,arcSite:s,targetFallbackImage:c,resizedImageOptions:n,promoElements:d,imageProps:e.imageProps},"result-card-".concat(t._id)))})),!!(r&&r.length>0&&r.length0){var a=i.data[o];(null==a?void 0:a._id)&&this.listItemRefs[a._id].querySelector("a:not([aria-hidden])").focus()}}},{key:"handleSearch",value:function(){var e=this.state.value;this.customSearchAction&&e.length>0?this.customSearchAction(e):e.length>0&&(window.location.href="/search/".concat(e))}},{key:"getFallbackImageURL",value:function(){var e=this.props,t=e.arcSite,n=e.deployment,r=e.contextPath,o=h()(t).fallbackImage;return o&&!o.includes("http")&&(o=n("".concat(r,"/").concat(o))),o}},{key:"fetchPlaceholder",value:function(){var e=this.getFallbackImageURL();e.includes("/resources/")||this.fetchContent({placeholderResizedImageOptions:{source:"resize-image-api",query:{raw_image_url:e,respect_aspect_ratio:!0}}})}},{key:"fetchStories",value:function(){var e,t,n,r=this.props.globalContent,o=this.state,i=o.storedList,a=o.resultList;1===o.page?(i.data=r.data,i.metadata=r.metadata,e=null==i?void 0:null===(t=i.data)||void 0===t?void 0:t.length):e=null==a?void 0:null===(n=a.data)||void 0===n?void 0:n.length,this.setState((function(e){return{page:e.page+1}})),this.fetchContent({resultList:{source:"search-api",query:{query:r.metadata.q,page:this.state.page.toString()},transform:function(e){if(e){var t=i.data.concat(e.data);i.data=t,i.metadata=e.metadata}return i}}}),this.setState({focusItem:e})}},{key:"render",value:function(){var e=this,t=this.props,n=t.globalContent,r=t.arcSite,o=n.data,i=n.metadata,a=(i=void 0===i?{}:i).total_hits,l=i.q,c=this.state,s=c.resultList,d=(s=void 0===s?{}:s).data,f=c.value,p=c.placeholderResizedImageOptions,h=this.getFallbackImageURL(),b=d||o,m=this.props.promoElements;return Object(j.jsxs)("div",{children:[Object(j.jsxs)("div",{className:"search-container",children:[Object(j.jsxs)("div",{children:[Object(j.jsx)("div",{className:"search-icon-container",children:Object(j.jsx)(g.a,{fill:"#979797"})}),Object(j.jsx)(u.l,{as:"input",type:"text",placeholder:this.phrases.t("search-results-blocks.search-input-placeholder"),value:f,className:"search-bar",onChange:function(t){return e.setState({value:t.target.value})}}),Object(j.jsx)(u.l,{as:"button",type:"button",className:"btn btn-sm",backgroundColor:"primary-color",onClick:function(){return e.handleSearch()},children:this.phrases.t("search-results-block.search-button")})]}),o&&Object(j.jsx)("p",{className:"search-results-text",children:this.phrases.t("search-results-block.search-result-number",{smart_count:a,searchTerm:l})})]}),Object(j.jsxs)("div",{className:"results-list-container",children:[b&&b.length>0&&b.map((function(t){var n=Object(v.a)(t)?Object(v.b)(t):p;return(Object(j.jsx)("div",{ref:function(n){e.listItemRefs[t._id]=n},children:Object(j.jsx)(k,{element:t,arcSite:r,targetFallbackImage:h,resizedImageOptions:n,promoElements:m,imageProps:e.imageProps})},"result-card-".concat(t._id)))})),!!(b&&b.length>0&&b.length0&&void 0!==arguments[0]?arguments[0]:{},t={showHeadline:!0,showImage:!0,showDescription:!0,showByline:!0,showDate:!0},n=Object.keys(t);return n.reduce((function(n,r){return void 0===e[r]?n[r]=t[r]:n[r]=e[r],n}),t)},H=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.customFields,n=void 0===t?{}:t,r=e.customSearchAction,o=void 0===r?null:r,i=Object(l.useAppContext)(),a=i.arcSite,d=Object(l.useFusionContext)(),f=d.isAdmin,p=n.inheritGlobalContent,h=n.lazyLoad,b=void 0!==h&&h;return b&&Object(c.a)()&&!f?null:(void 0===p?"undefined"==typeof searchContentConfig:p)?Object(j.jsx)(s.a,{enabled:b&&!f,children:Object(j.jsx)(u.h,{children:Object(j.jsx)(B,{arcSite:a,customSearchAction:o,promoElements:U(n)})})}):Object(j.jsx)(s.a,{enabled:b&&!f,children:Object(j.jsx)(u.h,{children:Object(j.jsx)(N,{arcSite:a,promoElements:U(n)})})})};H.label="Search Results List – Arc Block",H.icon="arc-list",H.propTypes={customFields:a.a.shape({searchContentConfig:a.a.contentConfig().tag({group:"Configure Content",label:"Display Content Info"}),inheritGlobalContent:a.a.bool.tag({group:"Configure Content"}),showHeadline:a.a.bool.tag({label:"Show headline",defaultValue:!0,group:"Show promo elements"}),showImage:a.a.bool.tag({label:"Show image",defaultValue:!0,group:"Show promo elements"}),showDescription:a.a.bool.tag({label:"Show description",defaultValue:!0,group:"Show promo elements"}),showByline:a.a.bool.tag({label:"Show byline",defaultValue:!0,group:"Show promo elements"}),showDate:a.a.bool.tag({label:"Show date",defaultValue:!0,group:"Show promo elements"}),lazyLoad:a.a.bool.tag({name:"Lazy Load block?",defaultValue:!1,description:"Turning on lazy-loading will prevent this block from being loaded on the page until it is nearly in-view for the user."})})};t.default=H},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(5),i=n(14),a=n.n(i),l=n(43),c=n(0),s=function(){return Object(c.jsx)("div",{className:"paywall premium"})},u=n(12),d=n.n(u),f=n(6),p=n.n(f),h=n(15),b=n.n(h),m=n(66).default,g=n(19),v=n(28),y=n(72),O=n(44),j=n(45),w=n(30),x=n(46),S=n(50),_=n(31),k=n(67);n(82),n(179);function C(e){return function(e){if(Array.isArray(e))return E(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return E(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?Object(c.jsx)("p",{className:"body-paragraph links_color_primary position_relative",dangerouslySetInnerHTML:{__html:s}},a):null;case"image":var u,f,h=e.url,k=e.subtitle,C=e.caption,E=e.credits,P=e.alt_text,L=e.resized_params,T=void 0===L?{}:L;return h&&h.length>0?Object(c.jsxs)("figure",{children:[Object(c.jsx)(g.a,{resizedImageOptions:T,url:h,alt:P,smallWidth:768,smallHeight:0,mediumWidth:1024,mediumHeight:0,largeWidth:1440,largeHeight:0,breakpoints:null===(u=p()(n))||void 0===u?void 0:u.breakpoints,resizerURL:null===(f=p()(n))||void 0===f?void 0:f.resizerURL}),Object(c.jsx)("figcaption",{children:Object(c.jsx)(v.a,{subtitle:k,caption:C,credits:E})})]},a):null;case"interstitial_link":var A=e.url;if(!A||!s)return null;return A&&A.length>0?Object(c.jsx)(r.Fragment,{children:Object(c.jsxs)("p",{className:"interstitial-link block-margin-bottom",children:[Object(c.jsx)("span",{dangerouslySetInnerHTML:{__html:"[ "}}),Object(c.jsx)("a",{href:A,"aria-label":"Open related story",dangerouslySetInnerHTML:{__html:s},className:"color_secondary border border_bottom border_solid border_color_secondary"}),Object(c.jsx)("span",{dangerouslySetInnerHTML:{__html:" ]"}})]})},a):null;case"raw_html":return s&&s.length>0?Object(c.jsx)(j.a,{id:a,content:s,primaryColor:d()(n)["primary-color"]},a):null;case"list":var I=e.list_type,N=e.items;return N&&N.length>0?Object(c.jsx)(r.Fragment,{children:Object(c.jsx)(w.a,{listType:I,listItems:N,primaryColor:d()(n)["primary-color"]})},a):null;case"correction":return e.text&&e.text.length>0?Object(c.jsx)(r.Fragment,{children:Object(c.jsxs)("section",{className:"correction",children:[Object(c.jsx)("h6",{children:e.correction_type||"Correction"}),Object(c.jsx)("div",{children:e.text})]})},a):null;case"header":return e.content&&e.content.length>0?Object(c.jsx)(O.a,{element:e,primaryColor:d()(n)["primary-color"]},a):null;case"oembed_response":return Object(c.jsx)(b.a,{id:e._id,children:e.raw_oembed?Object(c.jsx)(x.a,{element:e},a):null});case"table":return e.rows?Object(c.jsx)(S.a,{element:e},a):null;case"quote":switch(e.subtype){case"pullquote":return Object(c.jsx)(_.a,{element:e,className:"pullquote"},a);case"blockquote":default:return Object(c.jsx)(_.a,{element:e},a)}case"video":return Object(c.jsx)("section",{className:"block-margin-bottom",children:Object(c.jsx)(m,{embedMarkup:e.embed_html})},a);case"gallery":return Object(c.jsx)("section",{className:"block-margin-bottom gallery",children:Object(c.jsx)(y.a,{galleryElements:e.content_elements,resizerURL:null===(o=p()(n))||void 0===o?void 0:o.resizerURL,ansId:e._id,ansHeadline:e.headlines.basic?e.headlines.basic:""})},a);default:return null}}var L=function(){var e,t,n=Object(o.useFusionContext)(),r=n.globalContent,i=void 0===r?{}:r,a=n.arcSite,l=i.content_elements,s=void 0===l?[]:l,u=i.location,d=0,f=(e=[]).concat.apply(e,C(s.map((function(e,t){return"text"===e.type&&(d+=1),1===d&&u&&0!==e.content.indexOf("".concat(u," —"))&&(e.content="".concat(u," — ").concat(e.content)),d>2||2===d&&e.type,P(e,t,a)})))),p=0,h=(t=[]).concat.apply(t,C(s.map((function(e,t){return"text"===e.type&&(p+=1),p>2&&"raw_html"!==e.type&&"oembed_response"!==e.type&&"video"!==e.type?P(e,t,a):null}))));return Object(c.jsxs)("article",{className:"article-body-wrapper font_primary",children:[f,Object(c.jsx)(k.default,{id:"1",children:h})]})},T=n(22),A=n(21);function I(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 N(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0)})),Object(A.a)(e),Object(A.b)(e),Object(A.c)((function(){window.location.reload()}))}),[]),Object(c.jsx)("div",{className:"paywall-wrapper",id:"Piano",children:d?Object(c.jsx)(l.default,N({},e)):Object(c.jsxs)(c.Fragment,{children:[Object(c.jsx)(L,{}),Object(c.jsx)(s,{})]})})};F.label="Article Body with Paywall - Custom Block",F.propTypes=l.default.propTypes;t.default=F},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(3),i=n.n(o),a=n(7),l=n.n(a),c=n(8),s=n(5),u=n(6),d=n.n(u),f=n(12),p=n.n(f),h=n(11),b=n.n(h),m=n(90),g=n(93),v=n(0);function y(e){var t=function(e){var t;return"undefined"==typeof window?t=new URL(e,"http://example.com"):((t=document.createElement("a")).href=e,""===t.host&&(t.href="".concat(t.href))),t}(e);return t.hash||t.search||t.pathname.match(/\./)?e:"/"!==e[e.length-1]?"".concat(e,"/"):e}var O=function(e){var t=e.href,n=e.name,r=e.child;return/(http(s?)):\/\//i.test(t)?Object(v.jsxs)("a",{href:y(t),target:"_blank",rel:"noopener noreferrer",children:[n,Object(v.jsx)("span",{className:"sr-only",children:"(Opens in new window)"}),r]}):Object(v.jsxs)("a",{href:y(t),children:[n,r]})};function j(e){return e.children&&e.children.length>0}var w=function(e){var t=e.item;return"link"===t.node_type?Object(v.jsx)(O,{href:t.url,name:t.display_name}):Object(v.jsx)(O,{href:t._id,name:t.name})},x=function(e){var t=e.target;if("A"!==t.nodeName){var n=t.closest(".subsection-anchor"),r=n.nextElementSibling,o=n.classList;o.contains("open")?(o.remove("open"),r.classList.remove("open")):(o.add("open"),r.classList.add("open")),e.stopPropagation()}},S=function(e){var t=e.item,n=e.isOpen;return(Object(v.jsxs)("div",{className:"subsection-anchor ".concat(n?"open":""),onClick:x,children:[Object(v.jsx)(w,{item:t}),Object(v.jsx)("span",{className:"submenu-caret",children:Object(v.jsx)(g.a,{height:20,width:20})})]}))},_=function(e){var t,n=e.item;"undefined"!=typeof window&&(t=window.location.pathname);var r,o,i=(r=t,o=n._id,r&&o&&r.split("/")[1]===o.split("/")[1]?"open":"");return(Object(v.jsxs)("li",{className:"section-item",children:[j(n)?Object(v.jsx)(S,{item:n,isOpen:i}):Object(v.jsx)(w,{item:n}),j(n)&&Object(v.jsx)(k,{items:n.children,isOpen:i})]}))},k=function(e){var t=e.items,n=e.isOpen,r=t.map((function(e){return Object(v.jsx)("li",{className:"subsection-item",children:"link"===e.node_type?Object(v.jsx)(O,{href:e.url,name:e.display_name}):Object(v.jsx)(O,{href:e._id,name:e.name})},e._id)}));return Object(v.jsx)("div",{className:"subsection-container ".concat(n?"open":""),children:Object(v.jsx)("ul",{className:"subsection-menu",children:r})})},C=function(e){var t=e.children,n=void 0===t?[]:t,r=e.sections,o=(void 0===r?[]:r).filter((function(e){return!e.inactive}));return Object(v.jsxs)(v.Fragment,{children:[n,Object(v.jsx)("ul",{className:"section-menu",children:o.map((function(e){return Object(v.jsx)(_,{item:e},e._id)}))}),Object(v.jsx)("div",{style:{height:"80vh"},children:" "})]})},E=n(91);function P(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)return;var r,o,i=[],a=!0,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(l)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return L(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return L(e,t)}(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.")}()}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:O,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.data;if(!r)return e;var o=e.content_elements.map((function(e){return e._id})),i=r.content_elements.filter((function(e){return!o.includes(e._id)}));switch(n){case"appendUnique":return v({},e,{},r,{content_elements:[].concat(b(e.content_elements),b(i))})}return e},w=n(8),x=n(53),S=n(19),_=n(10),k=n(0);function C(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(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&!s?Object(k.jsxs)("div",{className:"results-list-container",children:[Y.map((function(e,n){return Object(k.jsx)(L,{ref:U[n],arcSite:t,element:e,imageProperties:l,placeholderResizedImageOptions:I,showByline:f,showDate:b,showDescription:g,showHeadline:y,showImage:x,showItemOverline:_,targetFallbackImage:C},"result-card-".concat(e._id))})),X&&Object(k.jsx)("div",{className:"see-more",children:Object(k.jsx)(h.d,{ariaLabel:u.t("results-list-block.see-more-button-aria-label"),buttonStyle:h.b.PRIMARY,buttonTypes:h.c.LABEL_ONLY,onClick:$,text:u.t("results-list-block.see-more-button")})})]}):null},M=function(e){var t=e.customFields,n=Object(l.useFusionContext)(),r=n.arcSite,o=n.contextPath,i=n.deployment,a=n.isAdmin,c=t.lazyLoad,u=t.listContentConfig,b=u.contentService,m=u.contentConfigValues,g=d()(r),v=g.fallbackImage,y=g.locale,O={smallWidth:158,smallHeight:89,mediumWidth:274,mediumHeight:154,largeWidth:274,largeHeight:154,primaryLogoAlt:g.primaryLogoAlt,breakpoints:g.breakpoints,resizerURL:g.resizerURL},j=v.includes("http")?v:i("".concat(o,"/").concat(v)),w=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={showByline:!0,showDate:!0,showDescription:!0,showHeadline:!0,showImage:!0,showItemOverline:!1},n=Object.keys(t);return n.reduce((function(n,r){return void 0===e[r]?n[r]=t[r]:n[r]=e[r],n}),t)}(t),x=s()(y||"en"),S=c&&Object(f.a)()&&!a,_=parseInt(null==m?void 0:m.offset,10)||parseInt(null==m?void 0:m.feedOffset,10)||parseInt(null==m?void 0:m.from,10)||0,C=parseInt(null==m?void 0:m.size,10)||parseInt(null==m?void 0:m.feedSize,10)||10;return Object(k.jsx)(p.a,{enabled:c&&!a,children:Object(k.jsx)(h.h,{children:Object(k.jsx)(R,{arcSite:r,configuredOffset:_,configuredSize:C,contentConfigValues:m,contentService:b,imageProperties:O,isServerSideLazy:S,phrases:x,showByline:w.showByline,showDate:w.showDate,showDescription:w.showDescription,showHeadline:w.showHeadline,showImage:w.showImage,showItemOverline:w.showItemOverline,targetFallbackImage:j})})})};M.label="Results List – Arc Block",M.icon="arc-list",M.propTypes={customFields:a.a.shape({listContentConfig:a.a.contentConfig("ans-feed").tag({group:"Configure Content",label:"Display Content Info"}),showItemOverline:a.a.bool.tag({label:"Show overline",defaultValue:!1,group:"Show promo elements"}),showHeadline:a.a.bool.tag({label:"Show headline",defaultValue:!0,group:"Show promo elements"}),showImage:a.a.bool.tag({label:"Show image",defaultValue:!0,group:"Show promo elements"}),showDescription:a.a.bool.tag({label:"Show description",defaultValue:!0,group:"Show promo elements"}),showByline:a.a.bool.tag({label:"Show byline",defaultValue:!0,group:"Show promo elements"}),showDate:a.a.bool.tag({label:"Show date",defaultValue:!0,group:"Show promo elements"}),lazyLoad:a.a.bool.tag({name:"Lazy Load block?",defaultValue:!1,description:"Turning on lazy-loading will prevent this block from being loaded on the page until it is nearly in-view for the user."})})};t.default=M},function(e,t,n){"use strict";n.r(t);n(1);var r=n(2),o=n.n(r),i=n(5),a=n(4),l=n(96),c=(n(239),n(0)),s=function(e,t,n){var r=Object(l.a)(t);return(Object(c.jsxs)("span",{className:"section-title--styled-link",children:[Object(c.jsx)(a.l,{as:"a",href:r,className:"section-title--styled-link",children:e}),n]},t))},u=function(e){var t=e.content,n=!!(t&&t.children&&t.children.length>1);return!(!t||!t.name&&!t.display_name)&&Object(c.jsxs)(c.Fragment,{children:[Object(c.jsx)(a.l,{as:"h1",className:"section-title",children:t.name||t.display_name}),Object(c.jsx)("div",{className:"section-container",children:!!(t.children&&t.children.length>0)&&t.children.map((function(e,r){return e.node_type&&"link"===e.node_type&&s(e.display_name,e.url,t.children.length!==r+1&&n?"   •   ":"")||s(e.name,e._id,t.children.length!==r+1&&n?"   •   ":"")}))})]})},d=function(){var e=Object(i.useAppContext)().globalContent,t=void 0===e?{}:e;return(Object(c.jsx)(u,{content:t}))},f=n(8),p=function(e){var t=e.contentConfig,n=Object(f.useContent)({source:t.contentService,query:t.contentConfigValues})||{};return Object(c.jsx)(u,{content:n})},h=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.customFields,n=(t=void 0===t?{}:t).inheritGlobalContent,r=void 0===n||n,o=t.sectionContentConfig;return r?Object(c.jsx)(d,{}):Object(c.jsx)(p,{contentConfig:o})};h.label="Section Title – Arc Block",h.icon="arc-headline",h.propTypes={customFields:o.a.shape({sectionContentConfig:o.a.contentConfig().tag({group:"Configure Content",label:"Display Content Info"}),inheritGlobalContent:o.a.bool.tag({group:"Configure Content"})})};t.default=h},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n(277),i=n(8),a=n(14),l=n.n(a),c=n(5),s=n(12),u=n.n(s),d=n(7);function f(){var e=function(e,t){t||(t=e.slice(0));return Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}(["\n #fusion-app {\n display: flex;\n flex-direction: column;\n min-height: 100vh;\n }\n html,\n body {\n height: 100%;\n width: 100%;\n }\n body {\n font-family: ",";\n }\n .background_secondary {\n background-color: ",";\n }\n .color_secondary {\n color: ",";\n }\n .border_color_secondary {\n border-color: ",";\n }\n .font_primary {\n font-family: ",";\n }\n .font_secondary {\n font-family: ",";\n }\n\n /* remove after Themes Paywall is introduced */\n .links_color_primary a {\n color: ",";\n }\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n figcaption,\n table {\n font-family: ",";\n }\n .body-paragraph,\n .interstitial-link,\n ol,\n ul,\n blockquote p,\n blockquote {\n font-family: ",";\n }\n"]);return f=function(){return e},e}var p=Object(d.createGlobalStyle)(f(),(function(e){return e["primary-font-family"]}),(function(e){return e["secondary-color"]}),(function(e){return e["secondary-color"]}),(function(e){return e["secondary-color"]}),(function(e){return e["primary-font-family"]}),(function(e){return e["secondary-font-family"]}),(function(e){return e["primary-color"]}),(function(e){return e["primary-font-family"]}),(function(e){return e["secondary-font-family"]})),h=n(27),b=n(2),m=n.n(b),g=n(0);function v(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 y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var O=function(e){var t=e._id,n=e.node_type,r=e.url,o=e.display_name,i=e.name,a=e.linkClass,l=r&&/(http(s?)):\/\//i.test(r)?{target:"_blank",rel:"noopener noreferrer"}:{},c="link"===n,s=c?r:t,u=c?o:i;return Object(g.jsx)("a",function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n