1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9484],{1578:(e,t,n)=>{function l(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],n=e&&e.querySelectorAll("a[href]:not([disabled]), button:not([disabled]), input:not([disabled])"),l=n&&n[0],o=n&&n[n.length-1],i=function(e){"Tab"===e.key&&(e.shiftKey?document.activeElement===l&&(e.preventDefault(),o.focus()):document.activeElement===o&&(e.preventDefault(),l.focus()))},c=function(n){"Tab"===n.key&&(setTimeout(()=>{l&&o?(l.focus(),e.addEventListener("keydown",i)):t&&document.addEventListener("keydown",e=>{"Tab"===e.key&&n.preventDefault()})},0),document.removeEventListener("keydown",c))};document.addEventListener("keydown",c)}function o(e){let t=e&&e.querySelectorAll("a[href]:not([disabled]), button:not([disabled]), input:not([disabled]), svg"),n=t&&t[0];n&&n.focus()}n.d(t,{M:()=>o,s:()=>l})},14168:(e,t,n)=>{n.d(t,{A:()=>i});var l=n(90665),o=n(49936);function i(e){let{isVisible:t,onClick:n,theme:i="dark",forceOpacity:c}=e;return l.j.jsx("div",{id:"fullscreen-overlay","aria-label":"overlay",role:"button",tabIndex:0,onClick:n,onKeyDown:function(e){"Enter"===e.key&&n()},className:(0,o.A)("fix","top","bottom","left","right","z1001","bg-black","td300","tpo","ttfeio",t?["o70","vv"]:["o0","vh"],c)})}},24945:(e,t,n)=>{n.d(t,{A:()=>o});var l=n(13385);function o(){let[e,t]=(0,l.useState)(!0);return(0,l.useEffect)(()=>t(!1),[]),e}},32267:(e,t,n)=>{n.d(t,{A:()=>u});var l=n(90665),o=n(29702),i=n(24945),c=n(45718),a=n(62359),r=n(14168),d=n(90013);let s=(0,n(79671).E)("variant",{alignCenter:"aic",alignEnd:"aie",alignStart:"ais"});function u(e){let{children:t,isOpen:n,onRequestClose:u,overlayTheme:f,bx:x,closable:b=!0,variant:m="alignCenter",forceOpacity:p,targetNode:v}=e,j=(0,i.A)();(0,c.A)(n),(0,a.A)(b?u:()=>{});let h=l.j.jsxs(d.A.div,{bx:x,cx:[n?["fix","top","left","bottom","right","f","jcc","z1005"]:"none",n&&s({variant:m})],children:[l.j.jsx(r.A,{forceOpacity:p,isVisible:n,onClick:b?u:()=>{},theme:f}),t]});if(j)return null;let y=null!=v?v:document.getElementById("mod-target-div");return y?(0,o.createPortal)(h,y):null}},45718:(e,t,n)=>{n.d(t,{A:()=>o});var l=n(56945);function o(e){(0,l._)(()=>{if(!e)return;let t=window.getComputedStyle(document.body).overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=t}},[e])}},62359:(e,t,n)=>{n.d(t,{A:()=>i});var l=n(13385);let o="keydown";function i(e){let t=(0,l.useCallback)(t=>{"Escape"===t.key&&e()},[e]);(0,l.useEffect)(()=>(document.addEventListener(o,t,!1),()=>{document.removeEventListener(o,t,!1)}),[t])}},99484:(e,t,n)=>{n.r(t),n.d(t,{default:()=>b});var l=n(77269),o=n(32267),i=n(90665),c=n(13385),a=n(40319),r=n(1578),d=n(63467),s=n(38775),u=n(1775),f=n(90013);function x(e){let{descriptionText:t,unknownUser:n,unknownUserLoginText:l,userLoginText:o,ctaText:x="Act Now",offers:b,backHomeUrl:m,userIsSignedIn:p,userEmail:v,ctaButtonColor:j="#111111",ctaTextColor:h="#FFFFFF",onCtaClick:y,onSignInClick:k}=e,g=(0,a.U)(),[A,w]=(0,c.useState)(b.length>0?b[0]:null),C=(0,c.useRef)(null);if((0,c.useEffect)(()=>{let e=C.current;(0,r.s)(e)},[C]),0===b.length)return g.warn("No offers provided for PaywallToaster"),null;let E=p?"".concat(o," as ").concat(v):l,T=p?"":null==n?void 0:n.linkText,S=p?"":null==n?void 0:n.url;return i.j.jsx(f.A.div,{cx:["x100","bg-white","f","fdc","aic","mxa","z1006"],id:"modalOuter",ref:C,children:i.j.jsxs(f.A.div,{cx:["f","fdc","jcc","aic","tac","g16","px20","py24","sm:p28","x100"],children:[i.j.jsx(d.A,{href:m,cx:["f","asfe","c-black","underlinedButtonSm","tdu"],onClick:e=>y(e,(null==A?void 0:A.title)===b[0].title?"offer1":"offer2"),children:"Back Home"}),t&&i.j.jsx(f.A.p,{id:"subscription-offers-title",cx:["uiTextSmall","sm:uiTextLarge","c-gray700","text-two-line"],children:i.j.jsx(s.A,{as:"span","data-block-type":"text",html:t})}),i.j.jsx(f.A.div,{id:"subscription-offers","aria-labelledby":"subscription-offers-title",role:"listbox",cx:["f","fdc","sm:fdr","aic","g16","sm:g40","mw330px",b.length>1&&"sm:mw100","sm:pb32"],children:b.map((e,t)=>{let{title:n,price:l,subtitle:o,description:c,titleAndPriceColor:a}=e;return i.j.jsxs(f.A.button,{onClick:()=>{w(e)},style:{color:a||"var(--black)"},cx:["f","fdc","ais","tal","p16","sm:mw330px","border",A===e?"b-primary":"b-gray500","br8","td300","bg-white","cp"],role:"option","aria-selected":A===e,"aria-label":"Offer: ".concat(n,", Price: ").concat(l,", ").concat(o||""," ").concat(c||""),children:[i.j.jsxs(f.A.div,{cx:["f","jcb","x100"],children:[i.j.jsx(f.A.h3,{cx:["bigButton2","mw275px"],children:i.j.jsx(s.A,{"data-block-type":"text",html:n})}),i.j.jsx(s.A,{cx:["buttonMd","mw50px"],"data-block-type":"text",html:l})]}
1),(null==e?void 0:e.subtitle)&&i.j.jsx(s.A,{cx:["uiTextExtraSmall","mw275px","c-gray700","tal","pb8"],"data-block-type":"text",html:o}),(null==e?void 0:e.description)&&i.j.jsx(s.A,{cx:["uiTextExtraSmall","c-gray700","tal","text-three-line"],"data-block-type":"text",html:c})]},"".concat(n,"-").concat(t))})}),i.j.jsx(u.Ay,{style:{backgroundColor:j,color:h},cx:["jsfc","ma","mt16","xfc","standardButton","mw335px","x100"],onClick:e=>y(e,(null==A?void 0:A.title)===b[0].title?"offer1":"offer2"),href:p?null==A?void 0:A.loggedInCallToActionButtonUrl:null==A?void 0:A.loggedOutCallToActionButtonUrl,"aria-label":x,children:i.j.jsx(s.A,{"data-block-type":"text",html:x})}),i.j.jsxs(f.A.p,{cx:["uiTextSmall","f","fdc"],children:[i.j.jsxs(f.A.span,{children:[i.j.jsx(s.A,{as:"span",cx:["inline"],"data-block-type":"text",html:E+" "}),i.j.jsx(d.A,{onClick:k,href:S,cx:["c-black","underlinedButton","tdu","inline"],children:i.j.jsx(s.A,{as:"span",cx:["inline"],"data-block-type":"text",html:T})})]}),p&&i.j.jsx(f.A.span,{children:"You do not have an active subscription."})]})]})})}function b(e){let{unitData:t,onCtaClickFrontend:n,onSignInClick:i,user:c}=e;return(0,l.jsx)(o.A,{isOpen:!0,onRequestClose:void 0,variant:"alignEnd",children:(0,l.jsx)(x,{...t,userEmail:null==c?void 0:c.email,userIsSignedIn:(null==c?void 0:c.loggedInStatus)==="loggedIn",onCtaClick:n,onSignInClick:i})})}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.