PageSourceSearch

https://longisland.news12.com/_next/static/chunks/pages/newsletter-4ccc55f8f73824f5.js

js news12.com collected 2026-09-24 08:27:57 UTC 18,057 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8265],{52620:(e,t,i)=>{"use strict";i.d(t,{A:()=>o});let o=(0,i(21426).DU)(["p{display:block;margin:1em 0;}h1,h2,h3,h4,h5,h6{display:block;font-size:2em;font-weight:bold;}h1{margin:0.67em 0;}h2{margin:0.83em 0;}h3{margin:1em 0;}h4{margin:1.33em 0;}h5{margin:1.67em 0;}h5{margin:2.33em 0;}ul,ol{display:block;margin:1em 0;padding-left:40px;}ol{list-style-type:decimal;}ul{list-style-type:disc;}button{padding:1px 6px;}"])},54526:(e,t,i)=>{"use strict";i.d(t,{jZ:()=>r,wD:()=>c,QK:()=>d});var o=i(68222),n=i(10786);let a=new String(".article{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.article h1,.article h2,.article h3,.article h4,.article h5,.article h6{border:0;font-style:normal;font-size:1.89em;font-weight:600;line-height:1.18em;padding:0;margin-bottom:16px;text-transform:initial;text-align:left}.playlist-title{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;border-bottom:3px solid ".concat(n.A.colors.turbo,";width:100%;margin-bottom:12px}.more-stories{width:100%;font-family:Graphik;font-style:normal;font-weight:bold;font-size:13px;line-height:17px;letter-spacing:.05em;color:").concat(n.A.colors.navy,"}.playlist-container h2{font-family:Graphik;font-style:normal;font-weight:500;font-size:26px;line-height:100%;margin-bottom:7px;margin-top:5px;width:50%}.see-all{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-moz-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-align:end;-webkit-align-items:flex-end;-moz-box-align:end;-ms-flex-align:end;align-items:flex-end;width:50%;text-align:right;font-family:Graphik;font-style:normal;font-weight:500;font-size:16px;line-height:100%;color:").concat(n.A.colors.lightBlue,";margin-top:11px;margin-bottom:7px}.see-all a{cursor:pointer;padding-right:4px}.see-all a:hover{color:").concat(n.A.colors.blueHover,'}.banner-middle{margin:0 -30px 50px -30px}.article embed{max-width:100%;margin-bottom:12px}.article blockquote{margin:0 0 36px 0;padding:5px 0px 5px 40px;position:relative;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}.article blockquote:before{content:"";height:100%;width:24px;background:#E3E500;position:absolute;left:0}.article .twitter-tweet{margin-left:auto;margin-right:auto}.article .twitter-tweet:before{background:transparent;width:0}.article blockquote>p{font-weight:500;font-size:28px;line-height:38px;color:').concat(n.A.colors.codGray,";margin:0}.article blockquote>footer{font-size:16px;line-height:24px;color:").concat(n.A.colors.zambezi,'}.article blockquote>footer:before{content:"-";margin-right:5px}.byline{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;font-family:Graphik;font-style:normal;font-weight:normal;font-size:18px;overflow:hidden;margin-bottom:16px;line-height:135%;color:').concat(n.A.colors.lightGray4,'}.public-at:after{content:"•";margin:0px 8px 0px 8px}.date-byline{display:block;margin-bottom:20.5px;font-weight:normal}.author{font-weight:600;color:').concat(n.A.colors.mineShaft,"}.author:before{font-weight:400}.byline .text{padding-right:.4em}.share-icons{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;
1-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;margin-bottom:40px}.share-icons span{font-family:Graphik;font-style:normal;font-weight:bold;font-size:19px;line-height:150%;text-align:center;margin-bottom:16px}.share-icons .social a{width:40px;height:40px}.social{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;margin-bottom:16px}.social a{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around;font-size:.9em;width:32px;height:32px;border-width:1px 0 1px 1px;border-style:solid;border-color:").concat(n.A.colors.lightGray,";color:").concat(n.A.colors.mineShaft,";text-align:center}.caption,.image em{display:block;font-weight:400;font-size:16px;text-align:center;margin:10px 0 18px 0}.social a:last-child{border-width:1px}.social a.twitter:hover{color:").concat(n.A.colors.social.twitter,"}.social a.facebook-f:hover{color:").concat(n.A.colors.social.facebook,"}.social svg{margin:0 auto}.article img,.article img+em{display:block;margin:0 auto 20px auto}.article-body-video,.article-body-video+em{display:block;margin:0 auto 30px auto;width:100}.article img+em,.article embed+em,.article-body-video+em{font-size:.89em;font-style:normal;font-weight:300;line-height:1.5em;color:").concat(n.A.colors.zambezi,'}.article img+em:after,.article embed+em:after,.article-body-video+em:after{display:block;content:"";border-bottom:1px solid ').concat(n.A.colors.sapphire,";padding-top:15px;margin-bottom:30px}.article .hero{margin-bottom:30px}.article .hero img{width:100%}.article a:hover{text-decoration:underline}.playlist-container a:hover{text-decoration:none}.block,.list{font-size:1em;font-weight:300;line-height:1.5em;margin-bottom:30px}.article div.embed{margin:0 auto 30px auto;max-width:100%}.article .carousel-embed{width:100%;height:690px}.article .form-embed{width:100%;height:770px}.banner-top{margin:24px auto 12px}.article .container.horizontal .banner-postscript-area{margin:10px auto 30px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}.facebook-embed{text-align:center}@media only screen and (max-width:").concat(o.A.sm,"px){.section.article-content{width:100vw;padding:12px 24px;overflow-x:hidden}.vimeo-embed iframe,.youtube-embed iframe{height:200px!important}}@media only screen and (min-width:").concat(o.A.sm,"px){.section.article-content{padding:12px 40px;overflow-x:hidden;width:100vw}.article .carousel-embed{width:100%;height:768px}}@media only screen and (max-width:").concat(o.A.md,"px){.container.horizontal.normal.article{background-color:").concat(n.A.colors.drWhite,"}.mobile-background-wrapper{background-color:").concat(n.A.colors.white,";overflow-x:hidden;padding:0 40px;margin:0 -40px;padding-top:24px}.banner-middle{padding-top:24px;margin-bottom:30px}.wtw-wrapper .collection-title-container{padding:0px}}@media only screen and (min-width:").concat(o.A.md,"px){.section.article-content{padding:12px 80px;overflow-x:hidden;width:100vw}.article .carousel-embed{width:100%;height:826px}}@media only screen and (min-width:808px){.banner-leaderboardNew{width:728px!important;height:90px!important}}@media only screen and (min-width:").concat(o.A.lg,"px){.article .section:first-of-type{width:640px;padding:12px 0}.article .section.article-content{width:640px;float:left;display:inline-block}.article .carousel-embed{width:100%;height:790px}.banner-top{max-width:640px;margin:24px 0 12px}.article .container.horizontal{display:block}.article .container.horizontal .article-content{padding:12px 0}.article .container.horizontal .sidebar{display:inline-block;padding:0;padding-left:24px;float:right;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;position:-webkit-sticky;position:sticky;top:121px}@supports not ((position:sticky)or (position:-webkit-sticky)){.article .container.horizontal .sidebar{position:fixed;top:230px;right:0}}.article .container.horizontal .sidebar .banner-sidebar-area{margin:0 auto 45px}}.editor-tv-wrapper.editor-tv-wrapper{max-width:-webkit-calc(100vw - 43px);max-width:-moz-calc(100vw - 43px);max-width:calc(100vw - 43px)}.jpx-is-wrapper{max-width:-webkit-calc(100vw - 43px);max-width:-moz-calc(100vw - 43px);max-width:calc(100vw - 43px)}}    @media only screen and (min-width: 1280px) {}.article .section:first-of-type{width:720px}.article .section.article-content{width:720px}.article .container.horizontal .sidebar{padding-left:40px}.banner-top{max-width:720px;margin:24px 0 12px}"));a.__hash="a3ba5fdce985a40e";let r=a;new String(".slick-track{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;height:-webkit-max-content;height:-moz-max-content;height:max-content}.slick-track .slick-slide{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;height:auto}.slick-dots{bottom:10px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;width:100%;padding:10px 0}.slick-dots li{width:5px;height:5px}.dots{-webkit-padding-start:0px;-moz-padding-start:0px;padding-inline-start:0px}.dots.news,.dots.weather{bottom:0px;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;grid-gap:30px;margin:0 auto}.dot{width:5px;height:5px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;background-color:#0000}.dots.news li .dot{border:2px solid ".concat(n.A.colors.white,"}.dots.weather li .dot{border:2px solid ").concat(n.A.colors.black,"}.dots.news li.slick-active .dot{background:").concat(n.A.colors.white,"}.dots.weather li.slick-active .dot{background:").concat(n.A.colors.black,"}")).__hash="57b68747e0bf0ce3";let l=new String(".markdown{font-size:1em;font-weight:300;line-height:1.5em;margin-bottom:30px}.markdown a,.markdown strong{font-weight:500}.markdown a:hover{text-decoration:underline}");l.__hash="99366f3586e95f9c";let c=l,s=new String(".container{max-width:1480px;margin:0 auto;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;
1-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around;position:relative}.container.horizontal{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;-moz-box-orient:horizontal;-moz-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.container.fullWidth{max-width:initial}.section{padding:12px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.collapse-top{padding-top:0}.collapse-right{padding-right:0}.collapse-bottom{padding-bottom:0}.collapse-left{padding-left:0}");s.__hash="ff2337aa58544bc5";let d=s},65106:(e,t,i)=>{"use strict";i.r(t),i.d(t,{__N_SSP:()=>A,default:()=>j});var o=i(37876),n=i(14232),a=i(37810),r=i(94250),l=i.n(r),c=i(10786);let s=new String(".newsletter-page-container{max-width:800px;margin:0 auto;padding:24px}.newsletter-page-container h1{margin-bottom:36px}.description{font-size:1em;font-weight:300;line-height:1.5em;margin:0 0 15px 26px}.email-container{height:80px;margin-bottom:15px}.title{margin-bottom:10px;font-weight:400;font-size:17px}.input{width:40%;height:17px;margin-left:10px;border:1px solid ".concat(c.A.colors.lightGray2,";-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;padding:10px 12px;font-family:Graphik;font-style:normal;font-weight:400;font-size:16px;color:").concat(c.A.colors.codGray,";caret-color:").concat(c.A.colors.lightBlue,";line-height:24px;-webkit-transition:.2s ease-in-out;-moz-transition:.2s ease-in-out;-o-transition:.2s ease-in-out;transition:.2s ease-in-out;-webkit-appearance:none!important}.input:focus{outline:none;border:1px solid ").concat(c.A.colors.codGray,";-webkit-transition:.2s ease-in-out;-moz-transition:.2s ease-in-out;-o-transition:.2s ease-in-out;transition:.2s ease-in-out}.list-title{font-weight:500;font-size:16px;line-height:1.2em;margin-left:10px}.list-item{margin:0 10px 20px 10px}.helper-text{margin-top:5px;margin-left:15px;font-weight:400;font-size:13px;color:").concat(c.A.colors.alertRed,"}.checkbox{width:17px;height:17px;float:left;margin:0;cursor:pointer}.signup-container{display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-moz-box-orient:vertical;-moz-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center}.signup-button{border:none;width:156px;height:56px;color:white;background:").concat(c.A.colors.lightBlue,";cursor:pointer;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px}.signup-button:hover{background:").concat(c.A.colors.blueHover,"}.signup-button-text{font-size:18px;line-height:1.5em}.subscriptionMessage{margin-top:15px;color:").concat(c.A.colors.lightBlue,";font-family:Graphik;font-weight:400;font-size:18px}.subscriptionMessage.error{color:").concat(c.A.colors.alertRed,"}"));s.__hash="53e522f008f322d2";var d=i(54526),p=i(98149),x=i(44090),m=i(52620);let h=e=>{let{email:t,onEmailChange:i,helperText:n}=e;return(0,o.jsxs)("div",{className:"email-container",children:[(0,o.jsx)("div",{className:"title",children:"Email Address:"}
1),(0,o.jsx)("input",{autoFocus:!0,type:"text",value:t,onChange:i,className:"input"}),n&&(0,o.jsx)("span",{className:"helper-text",children:n}),(0,o.jsx)(l(),{id:s.__hash,children:s})]})},b=e=>{let{newsletterList:t,onCheckboxChange:i}=e;return(0,o.jsxs)(o.Fragment,{children:[t.map(e=>(0,o.jsxs)("div",{className:"list-item",children:[(0,o.jsx)("input",{type:"checkbox",checked:e.checked,onChange:()=>i(e.title),className:"checkbox"}),(0,o.jsx)("span",{className:"list-title",children:e.title}),(0,o.jsx)("div",{className:"description",children:e.description})]},e.title)),(0,o.jsx)(l(),{id:s.__hash,children:s})]})};var w=i(10522),g=i(51638),f=i(21983);let u=e=>{let{newsletterList:t,email:i,regionName:o}=e;return{email:i,lists:JSON.stringify(t.filter(e=>e.checked).reduce((e,t)=>({...e,[t.name]:1}),{})),regionName:o}},k=e=>{let{email:t,newsletterList:i,setHelperText:a}=e,[r,l]=(0,n.useState)(""),[c,s]=(0,n.useState)(""),d=(0,g.A)().name;return(0,o.jsxs)("div",{className:"signup-container",children:[(0,o.jsx)("button",{className:"signup-button",onClick:()=>{(0,f.D)(t)?(0,w.A)("/api/newsletter/subscribe",u({newsletterList:i,email:t,regionName:d})).then(e=>{let{ok:t}=e;t?(l("All set, thanks for signing up!"),s("subscriptionMessage")):(l("Oops, something went wrong"),s("subscriptionMessage error"))}):a("Oops, that email address is invalid!")},children:(0,o.jsx)("span",{className:"signup-button-text",children:"Sign up"})}),r&&(0,o.jsx)("div",{className:c,children:r})]})};var y=i(72677),z=i.n(y);let v=e=>{let{newsletters:t}=e,[i,a]=(0,n.useState)(t),[r,c]=(0,n.useState)(""),[w,g]=(0,n.useState)("");return(0,o.jsxs)("div",{className:"newsletter-page-container",children:[(0,o.jsx)(z(),{children:(0,o.jsx)("title",{children:"News 12 Newsletter"})}),(0,o.jsx)("h1",{children:"Newsletter"}),(0,o.jsx)(h,{email:r,helperText:w,onEmailChange:e=>{g(""),c(e.target.value)}}),(0,o.jsx)("div",{className:"title",children:"Select Email Preference:"}),(0,o.jsx)(b,{newsletterList:i,onCheckboxChange:e=>{a(i.map(t=>t.title===e?{...t,checked:!t.checked}:t))}}),(0,o.jsx)(k,{email:r,newsletterList:i,setHelperText:g}),(0,o.jsx)(x.A,{metadata:{title:"News 12 Newsletter",description:"Sign up for News 12 newsletters and get digital content delivered right to you"}}),(0,o.jsx)(l(),{id:s.__hash,children:s}),(0,o.jsx)(l(),{id:d.QK.__hash,children:d.QK}),(0,o.jsx)(m.A,{}),(0,o.jsx)(p.A,{})]})};var A=!0;let j=e=>{let{error:t,newsletters:i}=e;return t?(0,o.jsx)(a.A,{}):(0,o.jsx)(v,{newsletters:i})}},68467:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/newsletter",function(){return i(65106)}])},98149:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var o=i(10786),n=i(34810);let a=(0,i(21426).DU)(["h1,h2,h3,h4,h5,h6{font-weight:bold;}html{font-size:16px;}html,body{margin:0;font-family:Graphik,sans-serif;box-sizing:border-box;min-width:375px;height:100%;}body{font-size:1.125rem;}@media only screen and (max-width:375px){html,body{min-width:0;}}h1,h2,h3,h4,h5,h6{color:",";border-bottom:2px solid ",";font-size:1.65em;width:100%;margin:0;padding:0 0 6px 0;}h2{font-size:1.45em;}h3{font-size:1.3em;}h4,h5,h6{font-size:1.22em;text-transform:uppercase;width:fit-content;}img{max-width:100%;vertical-align:middle;}a{text-decoration:none;color:",";font-weight:600;}@media only screen and (max-width:1024px){h4,h5,h6{display:block;margin:0 auto;text-transform:uppercase;text-align:center;}}@media only screen and (max-width:767px){h1,h2,h3{display:block;margin:0 auto;text-transform:uppercase;text-align:center;font-size:1.22em;}h4,h5,h6{font-size:1.11em;}h1{width:fit-content;}}"],o.A.colors.mineShaft,n.A.colors.lightBlue,o.A.colors.royalBlue)}},e=>{var t=t=>e(e.s=t);e.O(0,[636,6593,8792],()=>t(68467)),_N_E=e.O()}]);
2//# sourceMappingURL=newsletter-4ccc55f8f73824f5.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.