!function(e,t){for(var n in t)e[n]=t[n]}(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,{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="",n(n.s=18)}([function(e,t){e.exports=require("react")},function(e,t){function n(){return e.exports=n=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},function(e,t){e.exports=function(e){if(Array.isArray(e))return e}},function(e,t){e.exports=function(e,t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,a=void 0;try{for(var i,l=e[Symbol.iterator]();!(r=(i=l.next()).done)&&(n.push(i.value),!t||n.length!==t);r=!0);}catch(e){o=!0,a=e}finally{try{r||null==l.return||l.return()}finally{if(o)throw a}}return n}}},function(e,t){e.exports=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(e,t,n){var r=n(6);e.exports=function(e){if(Array.isArray(e))return r(e)}},function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}},function(e,t){e.exports=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,t){e.exports=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}},function(e,t,n){"use strict";n.r(t);var r=n(1),o=n.n(r),a=n(4),i=n.n(a),l=n(0),c=n.n(l),s=c.a.createContext({}),u=n(8),d=n.n(u),f=n(2),p=n.n(f),O=n(3),b=n.n(O);function m(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){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:[];return e.includes("100")||e.includes("110")||e.includes("120")?"wall_retargeting":"wall_standard"}function G(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(",").map(function(e){return e.replace(/\/|^wp - /g,"").replace(/,/g,";").trim()}).join(";").toLocaleLowerCase()}function q(e,t){var n,r,o,a,i;return{label:"o1",browserUserAgentHit:navigator.userAgent,promoCode:"o1",acqEntranceType:z(null==e?void 0:null===(n=e.data)||void 0===n?void 0:n.actions),geoMarket:(a=D(I()),i=C().country_code,a&&"US"===i?"L":i&&"US"!==i&&"CA"!==i&&!N()?"I":N()?"E":"CA"===i?"C":"N"),acqTemplate:"",acqEntrancePage:B(),arcId:t||"",contentTags:G(null===(r=window)||void 0===r?void 0:null===(o=r.wpMetaData)||void 0===o?void 0:o.ct_tags),actionCode:"".concat(null==e?void 0:e.action)}}var X=function(e,t){var n=e.pwapiResponse,r=e.arcId,o=function(e){"undefined"!=typeof window&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push(e))};return{GAData:U(U({},q(n,r)),t),addEvent:o,addEventWithArticleData:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(U(U(U({userAgentHit:window.navigator.userAgent,userAgentSession:window.navigator.userAgent},q(n,r)),t),e))},addMarketingEvent:function(){o({event:"acq_marketing_paywall",category:"acquisition",action:"acq_marketing"})},addGAParamsToURL:function(e,o){var a=U(U(U({},q(n,r)),t),o),i=encodeURIComponent(k()),l={arcId:a.arcId,acqEntType:a.acqEntranceType,destination:i,next_url:i,promo:a.promoCode};e.includes("?")||(e+="?");var c="";return Object.keys(l).forEach(function(e){c+="&".concat(e,"=").concat(l[e])}),e+c},addOptimizeEvent:function(){o({event:"optimize.paywall"})}}},Y="wp_nl",K="sw";function J(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:48,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:720;if("undefined"!=typeof window){var o=JSON.parse(localStorage.getItem(Y)||"{}");if(o="number"==typeof o?{}:o,t){var a=Date.now()+60*n*60*1e3;o[K]=a,localStorage.setItem(Y,JSON.stringify(o))}else if(e){var i=Date.now()+60*r*60*1e3;o[e]=i,localStorage.setItem(Y,JSON.stringify(o))}}}var Z=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator.userAgent;return/IEMobile|Windows Phone|Lumia/i.test(e)?"w":/iPhone|iP[oa]d/.test(e)?"i":/Android/.test(e)?"a":/BlackBerry|PlayBook|BB10/.test(e)?"b":/webOS|Mobile|Tablet|Opera Mini|\bCrMo\/|Opera Mobi/i.test(e)?1:0},$=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator.userAgent;return/Tablet|iPad/i.test(e)};var Q=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(",").map(function(e){return e.trim()}).includes(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:navigator.userAgent;return"undefined"!=typeof window?$(e)?"tablet":Z(e)?"mobile":"desktop":""}())};var ee=function(){var e=Object(l.useContext)(s).setSizes,t=function(){requestAnimationFrame(function(){e&&e({isSmall:_(),isMedium:L(),isLarge:h()})})};return Object(l.useEffect)(function(){return"undefined"!=typeof window&&window.addEventListener("resize",t,!1),function(){"undefined"!=typeof window&&window.removeEventListener("resize",t,!1)}},[]),null};function te(){var e;return(null===(e=Object(l.useContext)(s).wallConfig)||void 0===e?void 0:e.INCLUDE_LOGGING)?c.a.createElement("img",{src:"".concat({prod:"https://www.washingtonpost.com/subscribe",sandbox:"https://subs-stage.washingtonpost.com",dev:"https://subscribe.digitalink.com"}[F()],"/static/paywall-log.png"),alt:"paywall-log",height:"0",width:"0"}):null}function ne(e){var t=e.wallState,n=e.children;return Object(l.useEffect)(function(){try{"undefined"!=typeof window&&"undefined"!=typeof performance&&(performance.mark("SUBS - wall ready"),performance.measure("SUBS - wall time to display","SUBS - wall invoked","SUBS - wall ready"),window.BOOMR&&"function"==typeof window.BOOMR.sendTimer&&window.BOOMR.sendTimer("compCompleted",performance.getEntriesByName("SUBS - wall time to display")[0].duration))}catch(e){console.info(e)}},[]),c.a.createElement(s.Provider,{value:t},n,c.a.createElement(ee,null),c.a.createElement(te,null))}function re(e){var t,n=e.handleScroll,r=0,o=function(){t&&window.cancelAnimationFrame(t),t=window.requestAnimationFrame(function(){var e=window.pageYOffset||document.documentElement.scrollTop;n(e