PageSourceSearch

https://pagesix.com/wp-content/plugins/nyp-membership/build/7077.90e54c2e21246bec9b75.bundle.min.js

js pagesix.com collected 2026-10-01 08:36:55 UTC 3,850 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunknyp_membership=self.webpackChunknyp_membership||[]).push([[7077,9887],{9887:function(e,s,a){a.r(s),a.d(s,{Modal:function(){return m}});var n=a(1085),o=a(4041),i=a(7309),l=a(3373),t=a.n(l),r=a(9882),d=a(7682),c=a(7351);const m=({children:e,isOpen:s=!0,modalClass:a="",modalName:l="",disableOutsideClick:m=!1,onClose:p=()=>null})=>{const b=(0,o.useRef)(),[u,h]=(0,o.useState)(!1);if((0,o.useEffect)(()=>h(s),[s]),(0,c.jz)(b,()=>{m||p&&s&&p()}),(0,r.Q)({"membership-modal-open":u}),!e)return null;if(!u)return null;const x=()=>{window.location.search.includes("welcome=true")&&(window.history.replaceState({},document.title,window.location.pathname),window.location.reload()),h(!u),p&&"function"==typeof p&&p()},_=l?{"aria-label":l}:{"aria-labelledby":"modal-title"};return(0,n.jsx)(d.ZL,{portalRoot:document.body,children:(0,n.jsx)("div",{className:"membership-modal-overlay",children:(0,n.jsxs)("div",Object.assign({"aria-hidden":!u,"aria-modal":"true"},_,{className:t()("membership-modal",a),"data-testid":"membership-modal",ref:b,role:"dialog",children:[(0,n.jsx)(()=>(0,n.jsxs)("span",{className:"membership-modal__close","data-testid":"closeButton",role:"button",onClick:x,onKeyDown:x,tabIndex:0,"data-ga4-event":JSON.stringify({event_name:"ux_engagement",source_unit:"onboarding",event_action:`${l}_close`}),children:[(0,n.jsx)("span",{className:"icon close-button-black"}),(0,n.jsx)("span",{className:"screen-reader-text",children:(0,i.__)("Close modal","nypost")})]}),{}),(0,n.jsx)("div",{className:"membership-modal__content",children:e})]}))})})}},7077:function(e,s,a){a.r(s),a.d(s,{OnboardingDisplayNameModal:function(){return m}});
1var n=a(1085),o=a(7309),i=a(3657),l=a(2662),t=a(7682),r=a(7351),d=a(7093),c=a(7661);const m=()=>{const{dispatch:e}=(0,r.rR)();return(0,n.jsx)(l.l,{modalName:"display_name",onClose:()=>{(0,d.r7)({onboarded:!0}),e((0,c.Uu)({onboarded:!0}))},disableOutsideClick:!0,children:(0,n.jsxs)(t.t8,{isModal:!0,children:[(0,n.jsxs)("header",{children:[(0,n.jsxs)("div",{className:"modal-header-top",children:[(0,n.jsx)(i.N_,{to:"/account/onboarding/smstexts",type:"link",className:"back-link",children:(0,n.jsx)("span",{className:"back-link__text",children:(0,o.__)("back","nypost")})}),(0,n.jsx)("p",{children:(0,o.__)("Customize Subscription","nypost")}),(0,n.jsxs)("ul",{className:"membership-onboarding-progress-bar","data-testid":"onboarding-progress-bar","data-size":"3",children:[(0,n.jsx)("li",{className:"membership-onboarding-progress-bar--item completed"}),(0,n.jsx)("li",{className:"membership-onboarding-progress-bar--item completed"}),(0,n.jsx)("li",{className:"membership-onboarding-progress-bar--item active"}),(0,n.jsx)("li",{className:"membership-onboarding-progress-bar--item"})]})]}),(0,n.jsxs)("h3",{className:"t-center",children:[(0,o.__)("Change the display name that ","nypost"),(0,n.jsx)("br",{className:"d-none-md"}),(0,o.__)("will appear with comments.","nypost")]})]}),(0,n.jsx)("div",{className:"display-name-onboarding",children:(0,n.jsx)(t.wn,{children:(0,n.jsx)(t.MF,{context:"onboarding",isModal:!0})})}),(0,n.jsx)(i.N_,{to:"/account/onboarding/download",className:"skip","data-ga4-event":JSON.stringify({event_name:"ux_engagement",source_unit:"onboarding",event_action:"display_name_skip"}),children:(0,o.__)("Skip","nypost")})]})})}},2662:function(e,s,a){a.d(s,{l:function(){return d}});var n=a(1085),o=a(8690),i=a(9089),l=a(1903),t=a(8357),r=a(9887);const d=({children:e,modalName:s="",disableOutsideClick:a=!1,onClose:d=()=>null})=>{const c=(0,o.Zp)(),{state:{redirect:m}}=(0,t.r)();return(0,n.jsx)(i.L,{children:(0,n.jsx)(r.Modal,{onClose:()=>{(0,l.A)()?window.location.href=m&&"/account/subscribe"!==m?m:"/sports-plus/":c("/"),d()},modalName:s,disableOutsideClick:a,children:e})})}}}]);
2//# sourceMappingURL=7077.90e54c2e21246bec9b75.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.