1"use strict";(self.webpackChunknyp_membership=self.webpackChunknyp_membership||[]).push([[4346],{4753:function(s,e,t){t.d(e,{y:function(){return u}});var n=t(1085),o=(t(4041),t(9067)),r=t.n(o),a=t(8862),i=t(4120),c=t(8188),l=t(7682);const u=({children:s})=>{const{state:{data:{subscriptionsFetched:e,subscriptionStatus:t=c.dH.NONE}}}=(0,i.QW)(),{hasHomeDelivery:o}=(0,i.TM)();return!e&&c.BJ?(0,n.jsx)(l.Ip,{color:"#FFD62B"}):(0,a.gD)(t)||o()?s:(0,n.jsx)(l.gq,{to:c.dx.nonSubscriber[0]})};u.propTypes={children:r().oneOfType([r().node,r().arrayOf(r().node)]).isRequired}},4346:function(s,e,t){t.r(e),t.d(e,{SubscriberThankYou:function(){return d}});var n=t(1085),o=t(4041),r=t(7309),a=t(2122),i=t(4120),c=t(7682),l=t(1472),u=t(4753);const d=()=>{const{state:{user:{profile:{firstName:s}}}}=(0,i.rR)(),{state:{data:{subscriptions:e=[]}={}}={}}=(0,i.QW)();let t=(0,i.Ml)();(t.startsWith("/account/settings")||t.startsWith("/account/subscribe"))&&(t="/");const d=e.length>1,p=document.createElement("script");p.id="success-pixel",p.async=!0,p.src="https://www.googletagmanager.com/gtag/js?id=AW-988380111",(0,i.QD)("onboarding--payflow"),(0,o.useEffect)(()=>{if(void 0!==window.gtag){window.ga4Dims=window.ga4Dims||{};const s=Object.assign({},window.ga4Dims);s.source_unit="payment_success",window.gtag("event","ux_engagement",s)}},[]);const m=(0,o.useCallback)(s=>{(window.dataLayer||[]).push(s)},[]);return(0,o.useEffect)(()=>{document.querySelector("#success-pixel")||(document.body.insertBefore(p,document.body.firstChild),m("js",new Date),m("config","AW-988380111"),m("event","conversion",{send_to:"AW-988380111/DQrqCIOxpfYCEM_3pdcD"}))},[p,m]),(0,n.jsx)(u.y,{children:(0,n.jsxs)("div",{"data-testid":"subscriber-thank-you",className:"content-wrapper",children:[(0,n.jsx)("div",{className:"shadow"}),(0,n.jsxs)("div",{className:"centered-content",children:[(0,n.jsxs)("div",{"data-testid":"display-heading",children:[(0,n.jsx)(a.A,{query:"(max-width: 599px)",children:(0,n.jsx)("h1",{className:"headline headline--xl",children:d?(0,n.jsx)(l.$c,{firstName:s}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l.TL,{firstName:s}),(0,n.jsx)(l.Xk,{})]})})}),(0,n.jsx)(a.A,{query:"(min-width: 600px)",children:(0,n.jsx)("h1",{className:"headline headline--xl",children:d?(0,n.jsx)(l.$c,{firstName:s}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(l.TL,{firstName:s}),(0,n.jsx)("h2",{className:"headline headline--xl",children:(0,n.jsx)(l.Xk,{})})]})})})]}),(0,n.jsx)(c.XN,{tagName:"p",className:"body--xl",addAttr:["target"],html:(0,r.nv)((0,r.__)("To view and change your display name, visit %1$saccount settings%2$s.","nypost"),'<a href="/account/settings" target="_blank" class="t-underline t-bold">',"</a>")}),(0,n.jsx)("div",{className:"buttons",children:(0,n.jsx)(c.Ox,{className:"button button--solid",href:t,"data-testid":"continue-button",children:(0,r.__)("Continue","nypost")})})]})]})})}},1472:function(s,e,t){t.d(e,{$c:function(){return f},M4:function(){return g},TL:function(){return m},Xk:function(){return h},_L:function(){return u},ls:function(){return p},sL:function(){return l},sg:function(){return d}});var n=t(1085),o=(t(4041),t(9067)),r=t.n(o),a=t(7309),i=t(7682),c=t(8069);const l=()=>(0,n.jsx)(i.XN,{className:"payflow-hero__headline",html:(0,a.nv)((0,a.__)("You've been invited to join Post Sports%s for %s!","nypost"),"<strong>+</strong>","<strong>FREE</strong>"),tagName:"h1"}),u=()=>(0,n.jsx)(i.XN,{className:"payflow-hero__headline",html:(0,a.nv)((0,a.__)("Welcome back to Post Sports%s","nypost"),"<strong>+</strong>","<strong>FREE</strong>"),tagName:"h1"}),d=({plan:s,text:e=null})=>(0,n.jsx)(i.XN,{className:"payflow-hero__headline",html:e?(0,c.m)(e,s):(0,a.nv)((0,a.__)("Join Post Sports%s","nypost"),"<strong>+</strong>"),tagName:"h1"});d.propTypes={plan:r().shape({amount:r().number.isRequired}).isRequired,text:r().string};const p=({plan:s,text:e=null})=>(0,n.jsx)(i.XN,{className:"payflow-hero__headline",html:e?(0,c.m)(e,s):(0,a.nv)((0,a.__)("Join Post Sports%s today for <strike>%s</strike> %s","nypost"),"<strong>+</strong>",`$${s.amount}`,"<strong>FREE!</strong>"),tagName:"h1"});p.propTypes={plan:r().shape({amount:r().number.isRequired}
1).isRequired,text:r().string};const m=({firstName:s})=>(0,n.jsx)(i.XN,{html:s?(0,a.nv)((0,a.__)("Thanks for joining us, %s! ","nypost"),s):(0,a.__)("Thanks for joining us!","nypost")});m.propTypes={firstName:r().string.isRequired};const h=()=>(0,n.jsx)(i.XN,{html:(0,a.nv)((0,a.__)("You are now a Post Sports%s member.","nypost"),'<strong class="plus">+</strong>')}),g=({firstName:s})=>(0,n.jsx)(i.XN,{html:s?(0,a.nv)((0,a.__)("Welcome back, %s!","nypost"),s):(0,a.__)("Welcome back!","nypost")});g.propTypes={firstName:r().string.isRequired};const f=({firstName:s})=>(0,n.jsx)(i.XN,{html:s?(0,a.__)("We're glad to have you back, %s!","nypost"):(0,a.__)("We're glad to have you back!","nypost")});f.propTypes={firstName:r().string.isRequired}},8069:function(s,e,t){t.d(e,{m:function(){return n}});const n=(s,e)=>{if(!s.includes("%"))return s;let t=s;return Object.keys(e).forEach(s=>{let n=e[s];["amount","normalAmount"].includes(s)&&"number"==typeof n&&(n=`$${n.toFixed(2)}`),t=t.replace(`%${s.toUpperCase()}%`,n)}),t}}}]); 2//# sourceMappingURL=4346.8d27d96f6c0f20e9cd3a.bundle.min.js.map
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.