PageSourceSearch

https://www.mprnews.org/_next/static/chunks/pages/preview/story/[...slug]-1335ac4407a6dcdf.js

js mprnews.org collected 2026-09-24 08:29:37 UTC 13,445 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5268],{6906:(e,n,t)=>{"use strict";t.d(n,{A:()=>i});var s=t(28888);function a(){let e=(0,s._)(["\n      id\n      title\n      description\n      programId\n      program\n      durationHms\n      downloadable\n      transcriptText\n      transcripts {\n        mediaType\n        formatSlug\n        url\n      }\n      encodings {\n        filename\n        httpFilePath\n        playFilePath\n        format\n        durationHms\n      }\n  "]);return a=function(){return e},e}let i=(0,t(52330).J1)(a())},18006:(e,n,t)=>{"use strict";t.d(n,{A:()=>u});var s=t(3576),a=t(62701),i=t(37876),r=t(14232),l=t(89099),o=t(12762),d=t(54587),c=t.n(d);t(96316);var m=t(91252);let u=e=>{let{isSideBar:n,landing:t,showZipCode:d}=e,u=(0,l.useRouter)(),{isFeatureEnabled:p}=(0,m.h)(),[h,g]=(0,r.useState)(""),[w,b]=(0,r.useState)(""),[v,j]=(0,r.useState)(!1),[x,f]=(0,r.useState)(""),[y,N]=(0,r.useState)(!1),[_,k]=(0,r.useState)(!1),A=async e=>{e.preventDefault(),j(!0),N(!1),f("");let{query:t}=u,i={utm_source:t.utm_source||"",utm_medium:t.utm_medium||"",utm_campaign:t.utm_campaign||"",utm_term:t.utm_term||"",utm_content:t.utm_content||""},r=window.location.href;try{let e=await fetch("/api/newsletters/updatesubscription",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:h,postalcode:w,ListIds:["529"],params:(0,a._)((0,s._)({},i),{url:r})})}),t=await e.json();if(!e.ok)throw Error(t.error||"Failed to subscribe");window.dataLayer&&window.dataLayer.push((0,s._)({event:"newsletter_signup",newsletter_id:"529"},i)),p(m.$v.DONATION_SIDEBAR_REDIRECT)&&n&&window.open("https://support.mpr.org/secure/mprnews-cfw09-02-newsletter-form","_blank"),f("Successfully subscribed to newsletter"),g(""),b(""),k(!0)}catch(e){N(!0),f("Failed to subscribe. Please try again."),k(!0)}finally{j(!1)}};return(0,i.jsxs)("div",{className:"newsletter ".concat(n?"newsletter-sidebar":""),"data-testid":n&&"newsletter-sidebar",children:[n&&(0,i.jsxs)("div",{className:"newsletter-img-container",children:[(0,i.jsx)(c(),{src:"/img/newsletter.png",alt:"MPR News daily newsletter",height:184,width:380}),(0,i.jsx)("div",{className:"newsletter-icon",children:(0,i.jsx)("img",{src:"/img/icon-send.svg",alt:"","data-testid":"icon-newsletter"})})]}),(0,i.jsxs)("div",{className:"newsletter-inner",children:[(0,i.jsxs)("div",{className:"newsletter-heading",children:[(0,i.jsx)("div",{className:"newsletter-heading-desktop",children:!n&&(0,i.jsx)("div",{className:"newsletter-icon",children:(0,i.jsx)("img",{src:"/img/icon-send.svg",alt:"","data-testid":"icon-newsletter"})})}),(0,i.jsx)("div",{className:"newsletter-heading-mobile",children:n&&(0,i.jsx)("div",{className:"newsletter-icon",children:(0,i.jsx)("img",{src:"/img/icon-send.svg",alt:"","data-testid":"icon-newsletter"})})}),(0,i.jsx)("div",{className:"newsletter-heading-text",children:(0,i.jsx)("h2",{className:t?"":"hdg-4",children:"News you can use in your inbox"})})]}),(n||t)&&!_&&(0,i.jsx)("p",{"data-testid":"paragraph",children:"When it comes to staying informed in Minnesota, our newsletters overdeliver. Sign-up now for headlines, breaking news, hometown stories, weather and much more. Delivered weekday mornings."}),_?(0,i.jsx)("div",{className:"message ".concat(y?"error":"success"),children:x}):(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)("form",{onSubmit:A,className:"newsletter-form",children:[(0,i.jsx)("div",{children:(0,i.jsx)("input",{type:"email",value:h,onChange:e=>g(e.target.value),placeholder:"Enter your email","aria-label":"Email address",autoComplete:"email",maxLength:254,className:"form-control",required:!0,disabled:v})}),d&&(0,i.jsx)("div",{children:(0,i.jsx)("input",{type:"text",value:w,onChange:e=>b(e.target.value),placeholder:"ZIP (optional)","aria-label":"ZIP code (optional)",autoComplete:"postal-code",inputMode:"numeric",maxLength:5,className:"form-control",disabled:v,pattern:"[0-9]{5}",title:"Enter a 5-digit ZIP code"})}),(0,i.jsx)("button",{type:"submit",className:"btn btn-primary btn-full-width",disabled:v,children:v?"Subscribing...":"Subscribe"}),t&&(0,i.jsx)("div",{className:"newsletter-link",children:(0,i.jsx)(o.A,{className:"link basic-link",href:"https://www.americanpublicmedia.org/terms","data-testid":"termslink",target:"_blank",children:"Terms"})})]}),n&&(0,i.jsx)("div",{className:"newsletter-link",children:(0,i.jsx)(o.A,{className:"link",href:"https://www.americanpublicmedia.org/terms","data-testid":"termslink",target:"_blank",children:"Terms"})})]})]})]})}},27750:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});
1var s=t(28888),a=t(52330);function i(){let e=(0,s._)(["\n  instances {\n      url\n      width\n      height\n  }\n"]);return i=function(){return e},e}function r(){let e=(0,s._)(["\n  video {\n    url\n    caption\n    background\n    credit {\n      name\n      url\n    }\n  }\n  social {\n    preferredAspectRatio {\n      slug\n      ","\n    }\n    aspect_ratios: aspectRatios {\n      thumbnail {\n        ","\n      }\n      square {\n        ","\n      }\n      widescreen {\n        ","\n      }\n      uncropped {\n        ","\n      }\n      normal {\n        ","\n      }\n    }\n    fallback\n    shortCaption\n    credit {\n      name\n      url\n    }\n  }\n  lead {\n    preferredAspectRatio {\n      ","\n      slug\n    }\n    aspect_ratios: aspectRatios {\n      thumbnail {\n        ","\n      }\n      square {\n        ","\n      }\n      widescreen {\n        ","\n      }\n      uncropped {\n        ","\n      }\n      normal {\n        ","\n      }\n    }\n    fallback\n    longCaption\n    shortCaption\n    credit {\n      name\n      url\n    }\n  }\n  thumbnail {\n    type\n    preferredAspectRatio {\n      ","\n      slug\n    }\n    aspect_ratios: aspectRatios {\n      thumbnail {\n        ","\n      }\n      square {\n        ","\n      }\n      widescreen {\n        ","\n      }\n      uncropped {\n        ","\n      }\n      normal {\n        ","\n      }\n    }\n    fallback\n    shortCaption\n    credit {\n      name\n      url\n    }\n  }\n"]);return r=function(){return e},e}let l=(0,a.J1)(i()),o=(0,a.J1)(r(),l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l,l)},33340:(e,n,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/preview/story/[...slug]",function(){return t(8772
11)}])},43229:(e,n,t)=>{"use strict";t.d(n,{A:()=>l});var s=t(37876);t(14232),t(50880);var a=t(63784);let i=JSON.parse('{"UU":"Talking Sense","yR":"talking-sense","wm":"/img/talking-sense-wordmark.svg","zC":[{"path":"/img/talking-sense/ts1.jpg","alt":"Two men, one black and one white, talk while one holds sheets of paper"},{"path":"/img/talking-sense/ts2.jpg","alt":"A man and a young woman talk while one holds sheets of paper"},{"path":"/img/talking-sense/ts3.jpg","alt":"A man talks with two young woman; all the people are holding sheets of paper"}]}');var r=t(14e3);let l=e=>{let{h1Text:n,children:t,className:l,sidebar:o,mainClassName:d="story-content",adInsert:c}=e;return(0,s.jsxs)("div",{className:l,children:["/".concat(i.yR)===(0,r.usePathname)()?(0,s.jsx)("div",{className:"hdg-section collection-banner",children:(0,s.jsxs)("div",{className:"collection-banner-first-area",children:[(0,s.jsx)("h1",{className:"collection-banner-logo",children:(0,s.jsx)("img",{src:"".concat(i.wm),alt:i.UU||n})}),(0,s.jsx)("div",{className:"collection-banner-images",children:i.zC.map((e,n)=>(0,s.jsx)("div",{children:(0,s.jsx)("img",{src:e.path,alt:e.alt})},n))})]})}):n&&(0,s.jsx)("div",{className:"hdg-section",children:(0,s.jsxs)("div",{className:"container hdg-section-text",children:[(0,s.jsx)("h1",{children:n}),(0,s.jsx)("div",{className:"premium-underwriting",children:(0,s.jsx)(a.A,{id:"premium_ad",adUnitPath:"ad/path/goes/here",sizes:[[320,25]],sizeMap:{0:[320,25]},customCss:"underwriting"})})]})}),(0,s.jsxs)("div",{className:"container grid grid-4col grid-3-1 grid-last-fixed",children:[(0,s.jsxs)("div",{className:"grid-primary ".concat(d),children:[t,c&&(0,s.jsx)(a.A,{id:c.id,sizes:c.sizes,sizeMap:c.sizeMap,cmsId:c.cmsId,primaryCollection:c.primaryCollection,collections:c.collections,position:c.position})]}),o&&(0,s.jsx)("div",{className:"story-sidebar",children:o})]})]})}},70802:(e,n,t)=>{"use strict";t.d(n,{A:()=>m});var s=t(28888),a=t(52330),i=t(6906),r=t(85751);function l(){let e=(0,s._)(["  \n  id\n  title\n  canonicalSlug\n  resourceType\n  templateName\n  results(pageSize: 4) {\n    items {\n      subtitle\n      title\n      resourceType\n      canonicalSlug\n      canonicalUrl\n      publishDate\n      collectionRelatedLinks {\n        url\n        title\n        prefix\n      }\n    }\n  } \n"]);return l=function(){return e},e}let o=(0,a.J1)(l());var d=t(27750);function c(){let e=(0,s._)(["\n  query Story(\n    $contentAreaSlug: String!\n    $slug: String!\n    $previewToken: String\n  ) {\n    story(\n      contentAreaSlug: $contentAreaSlug\n      slug: $slug\n      previewToken: $previewToken\n    ) {\n      id\n      title\n      originalSourceUrl\n      seoHeadline\n      shortTitle\n      subtitle\n      templateName\n      summary\n      canonicalSlug\n      publishDate\n      publishedTags\n      updatedAt\n      updatedPublishDate\n      body\n      allowComments\n      doNotCrawl\n      slugs\n      dateline\n      primaryCollection {\n        ","\n      }\n\n      collections {\n        rssUrl\n        title\n        canonicalSlug\n      }\n      contributors {\n        ","\n      }\n      description\n      descriptionText\n      resourceType\n      primaryAudio {\n        ","\n      }\n      embeddedAssets {\n        audio\n        attachments\n        images\n        oembeds\n      }\n      primaryVisuals {\n        ",'\n      }\n    }\n    alertConfig: potlatch(slug: "mprnews/info-alert-live") {\n      slug\n      json\n    }\n    blacklist: potlatch(slug: "mprnews/related-stories-blacklist") {\n      json\n    }\n    donateAsk: potlatch(slug: "mprnews/donate-ask-config") {\n      json\n    }\n  }\n']);return c=function(){return e},e}let m=(0,a.J1)(c(),o,r.A,i.A,d.A)},83414:(e,n,t)=>{"use strict";t.d(n,{A:()=>o});var s=t(3576),a=t(37876);t(14232);var i=t(12762),r=t(63784),l=t(18006);let o=e=>{let{newsletter:n=!0,CustomContent:t}=e;return(0,a.jsxs)("div",{className:"sidebar",children:[n&&(0,a.jsx)("div",{className:"section-sm",children:(0,a.jsx)(l.A,{isSideBar:!0,showZipCode:!0})}),t||"",(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"section section-sm",children:(0,a.jsxs)("div",{className:"hList",children:[(0,a.jsx)(i.A,{href:"/schedule",className:"link link-plain",children:"Program Schedule"}),(0,a.jsx)(i.A,{href:"https://www.mpr.org/listen/stations",className:"link link-plain",children:"Station Directory"})]})}),(0,a.jsx)("div",{className:"section-sm",children:(0,a.jsx)(r.A,(0,s._)({},{type:"adinsert",id:"mpr-ad-2",sizes:[[300,250]],sizeMap:{0:[300,250]},cmsId:"sidebar_ad",primaryCollection:"sidebar_ad",collections:["sidebar_ad"],position:"mr_bottom",isSidebar:!0}))})]})]})}},85751:(e,n,t)=>{"use strict";t.d(n,{A:()=>i});var s=t(28888);function a(){let e=(0,s._)(["\n  profile {\n    id\n    title\n    canonicalSlug\n  }\n  roles {\n    name\n  }\n  order\n"]);return a=function(){return e},e}let i=(0,t(52330).J1)(a())},87721:(e,n,t)=>{"use strict";t.r(n),t.d(n,{default:()=>v});var s=t(37876),a=t(14232),i=t(95062),r=t.n(i),l=t(87156),o=t.n(l),d=t(5600),c=t(43229),m=t(83414),u=t(2675),p=t(70802),h=t(90157),g=t(25961),w=t(65364);let b=e=>{let{data:n,errorCode:t}=e;return t?(0,s.jsx)(o(),{statusCode:t}):((0,a.useEffect)(()=>{(0,h.j)().then(e=>{(0,h.V)(e)})},[]),(0,s.jsx)(c.A,{sidebar:(0,s.jsx)(m.A,{pageTopic:n.story.title}),children:(0,s.jsx)(d.A,{minimal:!1,data:n})}))};b.getInitialProps=async e=>{let n,t,{query:{slug:s,token:a},res:i}=e;return await (0,u.A)(p.A,{contentAreaSlug:w.env.CONTENT_AREA_SLUG,slug:s.join("/"),previewToken:a}).then(e=>{var a,r;(null==(n=e)||null==(a=n.story)?void 0:a.embeddedAssets)&&(0,g.Jv)(n.story.embeddedAssets),n.story||(i.statusCode=404,t=i.statusCode>200&&i.statusCode),i&&(null==n||null==(r=n.story)?void 0:r.canonicalSlug)&&n.story.canonicalSlug!==s.join("/")&&i.writeHead(301,{Location:"/story/".concat(n.story.canonicalSlug)})}).catch(()=>{i.statusCode=404,t=i.statusCode>200&&i.statusCode}),{data:n,errorCode:t}}
1,b.propTypes={errorCode:r().oneOfType([r().number,r().bool]),data:r().object};let v=b},90157:(e,n,t)=>{"use strict";async function s(){let e=await fetch("/api/memberdrivestatus");return await e.json()}function a(e){let n=document.getElementById("__next"),t=!1;if(e.webshowad&&!document.getElementById("membership-ad-frame-wrapper")){let e=document.createElement("div");e.id="membership-ad-frame-wrapper",e.className="advert";let s=document.createElement("div");s.id="membership-ad-mobile";let a=document.createElement("div");a.id="membership-ad",e.append(s),e.append(a),n.append(e),t=!0}if(e.pushdownshowad&&!document.getElementById("pushdown-ad")){let e=document.createElement("div");e.id="pushdown-ad",n.prepend(e),t=!0}if(e.splashshowad&&!document.getElementById("membership-splash-frame-wrapper")){let e=document.createElement("div");e.id="membership-splash-frame-wrapper",n.prepend(e),t=!0}t&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push({event:"getMembershipAdSlot"}))}t.d(n,{V:()=>a,j:()=>s})},96316:()=>{}},e=>{e.O(0,[9109,4587,4e3,5639,7763,4594,4295,5600,636,6593,8792],()=>e(e.s=33340)),_N_E=e.O()}]);
2//# sourceMappingURL=[...slug]-1335ac4407a6dcdf.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.