PageSourceSearch

https://static.newsbreak.com/local/_next/static/chunks/pages/newsletter/preview/[topic]-5b13d966a3dd871f.js

js newsbreak.com collected 2026-09-24 08:25:25 UTC 3,551 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7835],{72386:function(t,n,e){"use strict";e.d(n,{Z:function(){return l}});var r=e(20406),i=e(28526),o=e.n(i),a=e(87742),c=e(2784),s={cityCode:"New York,NY, NY",cityId:"new_york,new_york",cityName:"New York,NY",lat:40.7127753,lng:-74.0059728,primaryZipCode:"10007",stateCode:"NY"};function l(t){var n=(0,c.useState)("string"!==typeof t&&null!==t&&void 0!==t&&t.primaryZipCode?t:null),e=n[0],i=n[1];(0,c.useEffect)((function(){function n(){return(n=(0,r.Z)(o().mark((function t(n){var e,r;return o().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("national"!==n){t.next=4;break}i(null),t.next=8;break;case 4:return t.next=6,(0,a.mR)("/api/proxy/v2/channels/autocomplete?s=".concat(n));case 6:0===(e=t.sent).ok&&((null===(r=e.data)||void 0===r?void 0:r.list.length)>0?i(e.data.list[0].cityInfo):i(s));case 8:case"end":return t.stop()}}),t)})))).apply(this,arguments)}"string"===typeof t?function(t){n.apply(this,arguments)}(t):null===t&&i(s)}),[t]);return[{location:e},{changeLocation:function(t){i(t)}}]}},87236:function(t,n,e){"use strict";e.r(n),e.d(n,{__N_SSP:function(){return v},default:function(){return w}});var r=e(20406),i=e(81333),o=e(28526),a=e.n(o),c=e(2784),s=e(98710),l=e(86170),u=e(62372),p=e(30923),d=e(78978),f=e(56423),m=e(72386),x=e(69958),h=e(52322),v=!0;function w(t){var n=t.list,e=t.mediaSource,o=(0,p.Z)(t.product),s=(0,i.Z)(o,1)[0],v=(0,u.Z)({pageId:t.pageId||"",mediaSource:e}),w=(0,i.Z)(v,2),y=w[0],g=(w[1],(0,m.Z)(t.location)),_=(0,i.Z)(g,1)[0].location,b=(0,d.Z)(n),N=(0,i.Z)(b,1)[0],k=(0,c.useState)(!1),Z=k[0],j=k[1],C=(0,x.Z)(),S=function(){var t=(0,r.Z)(a().mark((function t(n){return a().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return C.logSubmitButtonClick(),t.next=3,y(n.email,s);case 3:t.sent,j(!0);case 5:case"end":return t.stop()}}),t)})));return function(n){return t.apply(this,arguments)}}(),E=(0,c.useMemo)((function(){return"local"===s.topic?{src:"/newsletter/phone_v1.png",width:380,height:305}:"national"===s.topic?{src:"/newsletter/phone_national.png",width:390,height:305}:void 0}),[s.topic]);return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("section",{children:(0,h.jsx)(l.Z,{title:s.copy.hero_title_preview,subtitle:s.copy.hero_subtitle_preview,formProps:{onSubmit:S,inputProps:{onClick:function(){C.logInputClick("email")}},buttonText:"Subscribe"},isDone:Z,variant:"preview",image:E})}),(0,h.jsxs)("main",{className:"max-w-xl mx-auto px-4 py-8",children:[(0,h.jsx)("div",{className:"border-b-8 border-red-primary text-center min-h-[50px] mb-8",children:(0,h.jsxs)("div",{className:"max-w-xs mx-auto lg:max-w-none mt-1 mb-4 font-extrabold text-2xl lg:mt-4 lg:text-4xl",children:[(0,h.jsx)("span",{className:"mr-2 text-red-primary",children:"Hello,"}),(0,h.jsx)("span",{children:"".concat("local"===s.topic&&null!==_&&void 0!==_&&_.cityName?null===_||void 0===_?void 0:_.cityName.split(",")[0]:"Reader","!")})]})}),(0,h.jsx)(f.Z,{list:N,cardHref:function(t){return{pathname:"/n/".concat(t.id),query:{s:"nl_landing"}}},cardProps:{variant:"hero",icon:function(t){return(0,h.jsx)("div",{className:"text-gray-400 text-sm",children:"".concat(t.source)})}}})]})]})}w.getLayout=function(t){return(0,h.jsx)(s.Z,{color:"default",bgColor:"bg-gray-newsletterBg",disableSticky:!0,children:t})}},73386:function(t,n,e){(window.__NEXT_P=window.__NEXT_P||[]).push(["/newsletter/preview/[topic]",function(){return e(87236)}])}},function(t){t.O(0,[4424,1163,7,9774,2888,179],(function(){return n=73386,t(t.s=n);var n}));var n=t.O();_N_E=n}]);

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.