PageSourceSearch

https://nypost.com/wp-content/plugins/nyp-membership/build/9616.42666be72efd310639e8.bundle.min.js

js nypost.com collected 2026-09-24 07:35:58 UTC 19,399 bytes, 2 lines download raw bytes

1(self.webpackChunknyp_membership=self.webpackChunknyp_membership||[]).push([[1171,4139,9616,9887,9921],{285:function(e,t,n){var s="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,o="object"==typeof self&&self&&self.Object===Object&&self,i=s||o||Function("return this")(),a=Object.prototype,r=0,c=a.toString,l=i.Symbol,u=l?l.prototype:void 0,d=u?u.toString:void 0;e.exports=function(e){var t,n=++r;return(null==(t=e)?"":function(e){if("string"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==c.call(e)}(e))return d?d.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t))+n}},3807:function(e,t,n){"use strict";n.d(t,{X:function(){return _}});var s=n(1085),o=n(4041),i=n(8690),a=n(7309),r=n(4120),c=n(2205),l=n(7093),u=n(8862),d=n(3486),p=n(2906),m=n(3127),g=n(7661),h=n(7682),b=n(1924),f=n(8188),y=n(4846);const _=()=>{const{state:e={},dispatch:t}=(0,r.rR)(),{dispatch:n}=(0,r.QW)(),_=(0,o.useRef)(document.documentElement),w=(0,o.useRef)(document.querySelector(".membership-dropdown__container")),{state:x,operations:v}=(0,y.i)(),j=(0,i.Zp)(),{operations:S}=(0,r.mu)(),{dropdownOpen:T}=(0,r.WP)(),{execute:k,ReCAPTCHA:N}=(0,r.Vq)(),P=(0,p.o)(f.zZ),{user:{sessionId:C="",trackingId:I=""}={}}=e,D=(0,r.ow)(),{scrollTo:M}=(0,c.Ay)({ref:T?w:_,speed:100,direction:"y"}),{selectedPlan:O}=x,{hasTrial:E=!1,planId:F=""}=O||{},{payflowCheckoutButtonLabel:A=""}=(0,u.px)(F,E),z=A||(0,a.__)("Start Subscription","nypost"),B=(...e)=>{return s=void 0,o=[...e],r=function*(e={nonce:"",error:""}){const{nonce:s}=e;v.setLoading(!0);try{yield k()}catch(e){return v.setLoading(!1),void v.setError(`Error validating reCAPTCHA: ${e.message||""}`)}const{planId:o,productId:i}=D,{status:r,message:c=""}=yield(0,l.Yw)({paymentNonce:s,planId:o,productId:i,skipTrial:v.shouldSkipTrial(),sessionId:C,trackingId:I});if("success"!==r)return v.setLoading(!1),void v.setError(`${d.y.errorSubscribing()} ${c}`);const p=yield(0,l.r7)({hadTrial:!0}),h=yield(0,l.X4)({active:!1,sessionId:C,trackingId:I}),b=(0,u.UF)(h),{activeSubscription:y,status:_}=b,w={activeSubscription:y,subscriptions:h,subscriptionStatus:_};n((0,m.yS)(w)),p&&(t((0,g.Uu)({hadTrial:!0,onboarded:!1})),t((0,g.ef)(!0))),j(f.Vy);const x=(0,a.__)("You have successfully started your subscription!","nypost");n((0,m.k5)(x)),v.setLoading(!1),M(-1/0),S.refetchPaymentMethods()},new((i=void 0)||(i=Promise))(function(e,t){function n(e){try{c(r.next(e))}catch(e){t(e)}}function a(e){try{c(r.throw(e))}catch(e){t(e)}}function c(t){var s;t.done?e(t.value):(s=t.value,s instanceof i?s:new i(function(e){e(s)})).then(n,a)}c((r=r.apply(s,o||[])).next())});var s,o,i,r};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(N,{}),x.loading||!O?(0,s.jsx)(h.Ip,{}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("section",{id:"free-trial-payment",className:"membership-section border-top-thick",children:(0,s.jsx)(b.A,{titleClasses:"member-subscriptions__heading sub-heading sub-heading--semi",title:(0,a.__)("Your Payment Method","nypost"),children:(0,s.jsx)(h.XN,{html:O.getBillingTextNewUser(),tagName:"p"})})}),(0,s.jsx)("section",{className:"membership-section border-top-thin",children:!1!==x.authorizationToken?(0,s.jsx)(h.Nk,{authorizationToken:x.authorizationToken,onSubmitSuccess:B,amount:O.amount}):(0,s.jsx)(h.Ip,{})}),(0,s.jsxs)("section",{className:"membership-section border-top-thin",children:[x.error?v.renderError(x.error):null,!1!==x.authorizationToken?(0,s.jsx)("div",{children:P?(0,s.jsx)(h.cy,{submitButtonText:z,authorizationToken:x.authorizationToken,onSubmitSuccess:B}):(0,s.jsx)(h.QS,{submitButtonText:z,authorizationToken:x.authorizationToken,onSubmitSuccess:B})}):(0,s.jsx)(h.Ip,{}),(0,s.jsx)(h.XN,{className:"billing-confirmation-text",html:E?d.p.forSubscribeTrial():d.p.forPayflowNoFreeTrial(O,z),tagName:"p",addAttr:["target"]})]})]})]})}},1171:function(e,t,n){"use strict";n.r(t),n.d(t,{FreeTrialPayflowForm:function(){return w}});var s=n(1085),o=n(9067),i=n.n(o),a=n(7309),r=n(8690),c=n(7093),l=n(8862),u=n(3486),d=n(1903),p=n(2906),m=n(4120),g=n(7682),h=n(3127),b=n(7661),f=n(8188),y=n(4041),_=n(4846);const w=({isModal:e=!1})=>{const t=(0,r.Zp)(),n=(0,r.zy)(),{state:o={},dispatch:i}=(0,m.rR)(),{dispatch:w}=(0,m.QW)(),{operations:x,state:v}=(0,_.i)(),{selectedPlan:j=null}=v,{operations:S}=(0,m.mu)(),{user:{sessionId:T="",trackingId:k=""}={}}=o,N=(0,p.o)(f.zZ),{planId:P=null,hasTrial:C=!1}=j||{},{payflowCheckoutTitle:I="",payflowCheckoutButtonLabel:D=""}=(0,l.px)(P,C);(0,y.useEffect)(()=>
1{if(!e&&void 0!==window.gtag){window.ga4Dims=window.ga4Dims||{};const e=Object.assign({},window.ga4Dims);e.source_unit="payflow_landing_page",e.event_action="view",e.event_label="payment_page",window.gtag("event","ux_engagement",e)}},[]);const M=(...s)=>{return o=void 0,a=[...s],p=function*(s={nonce:"",error:""}){var o;const{nonce:a}=s;x.setLoading(!0);const{planId:r,productId:p}=v.plans[0],{status:m,message:g=""}=yield(0,c.Yw)({paymentNonce:a,planId:r,productId:p,skipTrial:x.shouldSkipTrial(),sessionId:T,trackingId:k});if("error"===m){if(x.setLoading(!1),x.setError(`${u.y.errorSubscribing()} ${g}`),e&&void 0!==window.gtag){window.ga4Dims=window.ga4Dims||{};const e=Object.assign({},window.ga4Dims);e.source_unit="payflow_modal",e.event_action="payment_submit",e.event_label="failed",window.gtag("event","ux_engagement",e)}return}if(void 0!==window.gtag){window.ga4Dims=window.ga4Dims||{};const t=Object.assign({},window.ga4Dims);e?(t.source_unit="payflow_modal",t.event_action="payment_submit",t.event_label="success"):(t.source_unit="payflow_landing_page",t.event_action="view",t.event_label="payment_successful"),window.gtag("event","ux_engagement",t)}(null===(o=window.PARSELY)||void 0===o?void 0:o.conversions)&&window.gtfScripts.nypost_wp_vars.use_parsely_payment_conversion&&window.PARSELY.conversions.trackSubscription("Post Sports Plus Conversion");const f=yield(0,c.r7)({hadTrial:!0,onboarded:!1}),y=yield(0,c.X4)({active:!1,sessionId:T,trackingId:k}),_=(0,l.UF)(y),{activeSubscription:j,status:N}=_,P={activeSubscription:j,subscriptions:y,subscriptionStatus:N};w((0,h.yS)(P)),f&&(i((0,b.Uu)({hadTrial:!0,onboarded:!1})),i((0,b.ef)(!0))),S.refetchPaymentMethods(),"/account/subscribe"!==n.pathname||e||i((0,b.Be)(n.pathname)),t("/account/onboarding/welcome"),(0,d.A)()||window.history.pushState({},"",`${window.location.pathname}?welcome=true`)},new((r=void 0)||(r=Promise))(function(e,t){function n(e){try{i(p.next(e))}catch(e){t(e)}}function s(e){try{i(p.throw(e))}catch(e){t(e)}}function i(t){var o;t.done?e(t.value):(o=t.value,o instanceof r?o:new r(function(e){e(o)})).then(n,s)}i((p=p.apply(o,a||[])).next())});var o,a,r,p};return(0,s.jsx)(g.t8,{isModal:e,children:(0,s.jsx)("div",{className:"form-wrapper form-wrapper--payment",children:v.loading||!j?(0,s.jsx)(g.Ip,{}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("h1",{className:"form-wrapper__heading t-center",children:I||(null==j?void 0:j.getCallToAction())}),(0,s.jsx)("section",{className:"membership-section",children:(0,s.jsx)(g.XN,{html:v.selectedPlan.getBillingTextNewUser(),tagName:"p"})}),(0,s.jsx)("hr",{}),(0,s.jsx)("section",{className:"membership-section membership-section__one-step-checkout",children:!1!==v.authorizationToken?(0,s.jsx)(g.Nk,{authorizationToken:v.authorizationToken,onSubmitSuccess:M,amount:v.selectedPlan.amount,gaCategory:"Payflow - Payment Info Page"}):(0,s.jsx)(g.Ip,{height:"60px"})}),(0,s.jsx)("div",{className:"button-wrap-lines button-wrap-lines--divider button-wrap-lines--thin button-wrap-lines--black-text",children:(0,s.jsx)("div",{className:"button-wrap-lines__inner",children:(0,s.jsx)("span",{children:(0,a.__)("OR","nypost")})})}),(0,s.jsxs)("section",{className:"membership-section membership-section__pay-by-card",children:[v.error?x.renderError(v.error):null,!1!==v.authorizationToken?(0,s.jsxs)(s.Fragment,{children:[N?(0,s.jsx)(g.cy,Object.assign({amountDueText:C?(0,a.__)("Due Today: $0","nypost"):(0,a.nv)((0,a.__)("Due Today: $%s","nypost"),j.amount.toFixed(2)),authorizationToken:v.authorizationToken,onSubmitSuccess:M,submitButtonText:D||(0,a.__)("Submit","nypost")},!e&&{dataGa4Event:JSON.stringify({event_name:"ux_engagement",source_unit:"Payflow - Payment Info Page",source_position:C?"Button Click: Start Free Trial":"Button Click: Start Free Subscription"})})):(0,s.jsx)(g.QS,Object.assign({amountDueText:C?(0,a.__)("Due Today: $0","nypost"):(0,a.nv)((0,a.__)("Due Today: $%s","nypost"),j.amount.toFixed(2)),authorizationToken:v.authorizationToken},!e&&{dataGa4Event:JSON.stringify({event_name:"ux_engagement",source_unit:"Payflow - Payment Info Page",source_position:C?"Button Click: Start Free Trial":"Button Click: Start Free Subscription"})},{onSubmitSuccess:M,submitButtonText:D||(0,a.__)("Submit","nypost")})),(0,s.jsx)(g.XN,{className:"form-text form-text--terms",html:C?u.p.forPayflowFreeTrial():u.p.forPayflowNoFreeTrial(j,D||(0,a.__)("Submit","nypost")),tagName:"p",addAttr:["target"]})]}):(0,s.jsx)(g.Ip,{height:"120px"})]})]})})})};w.propTypes={isModal:i().bool.isRequired}},4846:function(e,t,n){"use strict";n.d(t,{i:function(){return a}});var s=n(4120),o=n(4041),i=n(7093);const a=()=>{const{state:e}=(0,s.rR)(),{state:t}=(0,s.QW)(),{error:n,setError:a,renderError:r}=(0,s.MM)(),[c,l]=(0,o.useState)(!1),[u,d]=(0,o.useState)(!1),p=(0,s.ow)(),{availablePlans:m}=t,{dataLayer:{hadTrial:g=!1}={}}=e;return(0,o.useEffect)(()=>{var e,t,n,s;e=void 0,t=void 0,s=function*(){return l(yield(0,i.gf)())}
1,new((n=void 0)||(n=Promise))(function(o,i){function a(e){try{c(s.next(e))}catch(e){i(e)}}function r(e){try{c(s.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,r)}c((s=s.apply(e,t||[])).next())})},[]),{operations:{renderError:r,setError:a,setLoading:d,shouldSkipTrial:()=>!!g||!p.hasTrial},state:{authorizationToken:c,error:n,loading:u,plans:m,selectedPlan:p}}}},9887:function(e,t,n){"use strict";n.r(t),n.d(t,{Modal:function(){return d}});var s=n(1085),o=n(4041),i=n(7309),a=n(3373),r=n.n(a),c=n(9882),l=n(7682),u=n(4120);const d=({children:e,isOpen:t=!0,modalClass:n="",modalName:a="",disableOutsideClick:d=!1,onClose:p=()=>null})=>{const m=(0,o.useRef)(),[g,h]=(0,o.useState)(!1);if((0,o.useEffect)(()=>h(t),[t]),(0,u.jz)(m,()=>{d||p&&t&&p()}),(0,c.Q)({"membership-modal-open":g}),!e)return null;if(!g)return null;const b=()=>{window.location.search.includes("welcome=true")&&(window.history.replaceState({},document.title,window.location.pathname),window.location.reload()),h(!g),p&&"function"==typeof p&&p()},f=a?{"aria-label":a}:{"aria-labelledby":"modal-title"};return(0,s.jsx)(l.ZL,{portalRoot:document.body,children:(0,s.jsx)("div",{className:"membership-modal-overlay",children:(0,s.jsxs)("div",Object.assign({"aria-hidden":!g,"aria-modal":"true"},f,{className:r()("membership-modal",n),"data-testid":"membership-modal",ref:m,role:"dialog",children:[(0,s.jsx)(()=>(0,s.jsxs)("span",{className:"membership-modal__close","data-testid":"closeButton",role:"button",onClick:b,onKeyDown:b,tabIndex:0,"data-ga4-event":JSON.stringify({event_name:"ux_engagement",source_unit:"onboarding",event_action:`${a}_close`}),children:[(0,s.jsx)("span",{className:"icon close-button-black"}),(0,s.jsx)("span",{className:"screen-reader-text",children:(0,i.__)("Close modal","nypost")})]}),{}),(0,s.jsx)("div",{className:"membership-modal__content",children:e})]}))})})}},9616:function(e,t,n){"use strict";n.r(t),n.d(t,{ModalPayflowController:function(){return O}});var s=n(1085),o=n(4041),i=n(8690),a=n(285),r=n.n(a),c=n(4120),l=n(8188),u=n(7661),d=n(8862),p=n(7682),m=n(2662),g=n(4231),h=(n(3807),n(1171)),b=n(7309),f=n(8758),y=n(7093),_=n(3486),w=n(3127),x=n(1924),v=n(4808),j=n(3811),S=n(9921),T=n(6673),k=n(2803),N=n(3387),P=n(9579),C=n(4595),I=function(e,t,n,s){return new(n||(n=Promise))(function(o,i){function a(e){try{c(s.next(e))}catch(e){i(e)}}function r(e){try{c(s.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n(function(e){e(t)})).then(a,r)}c((s=s.apply(e,t||[])).next())})};const D=({isModal:e=!1})=>{const t=(0,i.Zp)(),{state:n,dispatch:a}=(0,c.rR)(),{state:r,dispatch:m}=(0,c.QW)(),[g,h]=(0,o.useState)(!1),{setError:D}=(0,c.MM)(),[M,O]=(0,o.useState)(null),{user:{sessionId:E="",trackingId:F=""}={}}=n,{operations:A}=(0,c.mu)(),{hasHomeDelivery:z}=(0,c.TM)(),{data:{subscriptionStatus:B=""}={},availablePlans:R,globalSuccessMessage:L=""}=r,[$,U]=(0,o.useState)(""),[Z,X]=(0,o.useState)(!1);(0,o.useEffect)(()=>{I(void 0,void 0,void 0,function*(){X(yield(0,y.gf)())})},[]);const{hasTrial:Q=!1}=M||{},{execute:W}=(0,c.Vq)(),Y=A.getDefaultPaymentMethod(),H=(...n)=>I(void 0,[...n],void 0,function*(n={nonce:"",error:""}){const{nonce:s}=n;try{yield W()}catch(e){return void D(`Error validating reCAPTCHA: ${e.message||""}`)}const{productId:o}=M,{status:i,message:r=""}=yield(0,y.Yw)({paymentNonce:s,planId:$,productId:o,skipTrial:!0,sessionId:E||null,trackingId:F||null,startDate:void 0,skipCheck:!1});if("success"!==i){if(D(`${_.y.errorSubscribing()} ${r}`),e&&void 0!==window.gtag){window.ga4Dims=window.ga4Dims||{};const e=Object.assign({},window.ga4Dims);e.source_unit="payflow_modal",e.event_action="payment_submit",e.event_label="failed",window.gtag("event","ux_engagement",e)}return}if(e&&void 0!==window.gtag){window.ga4Dims=window.ga4Dims||{};const e=Object.assign({},window.ga4Dims);e.source_unit="payflow_modal",e.event_action="payment_submit",e.event_label="success",window.gtag("event","ux_engagement",e)}const c=yield(0,y.r7)({hadTrial:!0}),l=yield(0,y.X4)(),p=(0,d.UF)(l),{activeSubscription:g,status:h}=p,f={activeSubscription:g,subscriptions:l,subscriptionStatus:h};m((0,w.yS)(f)),c&&(a((0,u.Uu)({hadTrial:!0,onboarded:!1})),a((0,u.ef)(!0))),t("/account/onboarding/welcome");const x=(0,b.__)("You have successfully started your subscription!","nypost");m((0,w.k5)(x)),window.scrollTo({top:-1/0}),A.refetchPaymentMethods()}),{payflowCheckoutButtonLabel:J=""}=(0,d.px)($,Q);return(0,s.jsx)(p.t8,{isModal:!0,children:(0,s.jsx)("section",{className:"membership-section membership-section--canceled-user",children:(0,s.jsxs)("div",{className:"form-wrapper form-wrapper--payment",children:[(0,s.jsxs)(x.A,{headingTag:"h2",titleClasses:"member-subscriptions__heading t-ce
1nter",title:(0,b.__)("Payment","nypost"),children:[L?(0,s.jsx)(S.SuccessMessage,{message:L}):null,g?(0,s.jsx)(S.SuccessMessage,{message:(0,b.__)("You've successfully restarted your subscription!","nypost")}):null,A.isPaymentMethodExpired(Y)?(0,s.jsx)(T.s,{method:Y}):null,A.isPaymentMethodExpiring(Y)?(0,s.jsx)(k.u,{method:Y}):null,B===l.dH.PAST_DUE?(0,s.jsx)(N.i,{}):null]}),g||z()?null:(0,s.jsx)(v.w,{children:""===$?(0,s.jsx)(P.y,{isModal:!0,onPlanSelect:e=>{U(e);const t=(0,d.Md)(e,R);O(t)},onSuccessMessage:()=>h(!0)}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(j.X,{html:(()=>{const{data:e={}}=r;if((0,f.A)(e.activeSubscription))return M.cancelledResubscribeBillingText();const{activeSubscription:{next_billing_date:{date:t}}}=e;return t&&B===l.dH.ACTIVE_CANCELLED?M.cancelledActiveResubscribeBillingText(t):M.cancelledResubscribeBillingText()})(),tagName:"p"}),Z?(0,s.jsx)(p.Nk,{authorizationToken:Z,onSubmitSuccess:H,amount:M.amount,gaCategory:"Payflow - Payment Info Page"}):(0,s.jsx)(p.Ip,{height:"120px"}),(0,s.jsx)("div",{className:"button-wrap-lines button-wrap-lines--divider button-wrap-lines--thin button-wrap-lines--black-text",children:(0,s.jsx)("div",{className:"button-wrap-lines__inner",children:(0,s.jsx)("span",{children:(0,b.__)("OR","nypost")})})}),(0,s.jsx)(C.QS,Object.assign({amountDueText:(()=>{if(1===M.billingInterval){const e=M.amount/M.billingInterval;return(0,b.nv)((0,b.__)("Due Today: $%s","nypost"),e.toFixed(2))}return(0,b.nv)((0,b.__)("Due Today: $%s","nypost"),M.amount.toFixed(2))})(),authorizationToken:String(Z||"")},!e&&{dataGa4Event:JSON.stringify({event_name:"ux_engagement",source_unit:"Payflow - Payment Info Page",source_position:Q?"Button Click: Start Free Trial":"Button Click: Start Free Subscription"})},{onSubmitSuccess:H,submitButtonText:J||(0,b.__)("Submit","nypost")})),(0,s.jsx)(j.X,{className:"form-text form-text--terms",html:Q?_.p.forPayflowFreeTrial():_.p.forPayflowNoFreeTrial(M,J||(0,b.__)("Submit","nypost")),tagName:"p",addAttr:["target"]})]})})]})})})};var M=n(4139);const O=()=>{const{state:e}=(0,c.rR)(),{state:t}=(0,c.QW)(),n=(0,u.Sh)(e),a=(0,i.Zp)(),{data:{subscriptionStatus:b=l.dH.NONE},loading:f=!1}=t,{dataLayer:{hadTrial:y=!1}={}}=e,_=(0,u.nA)(e),w=(0,c.ZC)(n),x=(0,c.ZC)(b);return(0,o.useEffect)(()=>{},[n,a,b,y,w,x]),(0,o.useEffect)(()=>{l.BJ||a("/account/settings"),b===l.dH.PAST_DUE&&a("/account/settings/subscription")},[]),n?f?(0,s.jsx)(m.l,{children:(0,s.jsx)(p.Ip,{})}):(0,d.gD)(b)&&_?void window.location.reload():y&&!(0,d.gD)(b)?(0,s.jsx)(m.l,{disableOutsideClick:!0,children:(0,s.jsx)(D,{isModal:!0})}):(0,d.gD)(b)?(0,s.jsx)(M.WelcomeModal,{}):(0,s.jsx)(m.l,{disableOutsideClick:!0,children:(0,s.jsx)(h.FreeTrialPayflowForm,{isModal:!0},r()())}):(0,s.jsx)(m.l,{disableOutsideClick:!0,children:(0,s.jsx)(g.U,{isModal:!0})})}},2662:function(e,t,n){"use strict";n.d(t,{l:function(){return l}});var s=n(1085),o=n(8690),i=n(9089),a=n(1903),r=n(8357),c=n(9887);const l=({children:e,modalName:t="",disableOutsideClick:n=!1,onClose:l=()=>null})=>{const u=(0,o.Zp)(),{state:{redirect:d}}=(0,r.r)();return(0,s.jsx)(i.L,{children:(0,s.jsx)(c.Modal,{onClose:()=>{(0,a.A)()?window.location.href=d&&"/account/subscribe"!==d?d:"/sports-plus/":u("/"),l()},modalName:t,disableOutsideClick:n,children:e})})}},4139:function(e,t,n){"use strict";n.r(t),n.d(t,{WelcomeModal:function(){return p}});var s=n(1085),o=n(7309),i=n(3657),a=n(2662),r=n(7682),c=n(4120),l=n(7093),u=n(7661),d=n(8188);const p=()=>{const{state:e,dispatch:t}=(0,c.rR)();let{redirect:n}=e;n||(n="/sports-plus/"),n.includes("/account")&&(n="/sports-plus/");let p="Continue reading article >",m="continue_reading_article";return"/sports-plus/"!==n&&n!==d.Li||(p="Go to Sports+",m="go_to_sports_plus"),(0,u.nA)(e)&&n?(window.location.href=n,null):(0,s.jsx)(a.l,{modalName:"set_preference",disableOutsideClick:!0,onClose:()=>{(0,l.r7)({onboarded:!0}),t((0,u.Uu)({onboarded:!0}))},children:(0,s.jsxs)(r.t8,{isModal:!0,innerContainerStyles:{background:"none",paddingTop:0},children:[(0,s.jsx)("h2",{className:"t-center",children:(0,o.__)("Welcome, you now have full access to sports content.","nypost")}),(0,s.jsx)(i.N_,{to:"/account/onboarding/newsletters",type:"button",className:"button button--solid button--set-preferences","data-ga4-event":JSON.stringify({event_name:"ux_engagement",source_unit:"onboarding",event_action:"set_preference"}),children:(0,o.__)("CUSTOMIZE SUBSCRIPTION","nypost")}),(0,s.jsx)("button",{type:"button",onClick:()=>{(0,l.r7)({onboarded:!0}),t((0,u.Uu)({onboarded:!0})),window.location.href=n},className:"continue-reading","data-ga4-event":JSON.stringify({event_name:"ux_engagement",source_unit:"onboarding",event_action:m}),children:(0,o.__)(p,"nypost")})]})})}},9921:function(e,t,n){"use strict";n.r(t),n.d(t,{SuccessMessage:function(){return o}});var s=n(1085);const o=({message:e})=>e?(0,s.jsxs)("div",{role:"alert",className:"alert-bar alert-bar--success",children:[(0,s.jsx)("span",{className:"alert-bar__icon"}),(0,s.jsx)("span",{className:"alert-bar__message",children:e})]}):null}}]);
2//# sourceMappingURL=9616.42666be72efd310639e8.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.