PageSourceSearch

https://www.scientificamerican.com/static/entry/archive.SwG4X1mD.js

js scientificamerican.com collected 2026-10-01 07:48:36 UTC 4,098 bytes, 1 lines download raw bytes

1import{j as o}from"../chunks/vendor-react-DdEP1kCQ.js";import{D as W}from"../chunks/DefaultLayout-n0x-WG_8.js";import{E as L}from"../chunks/ExploreTopics-DqWMBF0O.js";import{P as I}from"../chunks/Pagination-D5Ra2pLc.js";import{I as C}from"../chunks/chunk-CDruZKCb.js";import{A as v}from"../chunks/ArticleList-DVsm9R_q.js";import{I as F}from"../chunks/ArticleDisplay-DnaxJIrR.js";import{d as h}from"../chunks/core-DTFOJR-b.js";import{L as N}from"../chunks/Header-CbSg0nVW.js";import"../chunks/Header-CvZfB-VC.js";import"../chunks/sciam-BnjwuU5W.js";import"../chunks/sciam-DxVNerXk.js";import"../chunks/vendor-shared-ShLQKC4n.js";import"../chunks/chunk-vLEFqx8v.js";import"../chunks/getBestArticleId-9I1mHE39.js";import"../chunks/index-DHoY9aqk.js";import"../chunks/images-rIYVm8bk.js";import"../chunks/Kicker-09NWaWT2.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="db1827e4-8915-488a-94c0-64e3932b5f77",e._sentryDebugIdIdentifier="sentry-dbid-db1827e4-8915-488a-94c0-64e3932b5f77")}catch{}})();const w="collectionHeroWrap-alkd7",A="collectionHeroTxt-OMS9G",D="collectionHeroTxtFullWidth-02fnm",E="collectionHeroImgWrap-O1czE",M="collectionHeroImg-mRWwV",P="title-lBsmx",O="titleFullWidth-R6BJJ",S="dek-oMLYT",R="dekFullWidth-3mOQm",z="imageCredit-gL0GD",B="sponsorLogosContainer-0t3TM",K="sponsorLogo-qdlcA",G="sponsorTxt-prliB",J="collectionHeroCta-68xeS",t={collectionHeroWrap:w,collectionHeroTxt:A,collectionHeroTxtFullWidth:D,collectionHeroImgWrap:E,collectionHeroImg:M,title:P,titleFullWidth:O,dek:S,dekFullWidth:R,imageCredit:z,sponsorLogosContainer:B,sponsorLogo:K,sponsorTxt:G,collectionHeroCta:J},q=({link:e,text:l})=>o.jsx("a",{className:t.collectionHeroCta,"data-click-position":"custom-media-download",href:e,children:l}),Q=({clickTrackKey:e,logos:l})=>o.jsx("div",{className:t.sponsorLogosContainer,children:l.map(r=>{const{alt_text:i,contentful_id:d,image_url:n,url:s}=r;return o.jsx("a",{href:s,rel:"nofollow","data-click-position":e,className:t.sponsorLogo,children:o.jsx("img",{alt:i,src:n})},d)})});function V({hero:e={}}){let{clickTrackKey:l=null,cta_button_link:r=null,cta_button_text:i=null,dek:d,image_alt_text:n,image_url:s,image_credit:c,sponsor_logos:p=[],sponsor_label:m,sponsor_disclaimer:u,title:x}=e;const g=r&&i;return p.length,o.jsxs("div",{className:t.collectionHeroWrap,children:[o.jsxs("div",{className:h(t.collectionHeroTxt,!s&&t.collectionHeroTxtFullWidth),children:[o.jsx("h1",{className:h(t.title,!s&&t.titleFullWidth),children:x}),o.jsx("div",{className:h(t.dek,!s&&t.dekFullWidth),dangerouslySetInnerHTML:{__html:d}}),m&&o.jsx("div",{className:t.sponsorTxt,children:m}),o.jsx(Q,{clickTrackKey:l,logos:p}),u&&o.jsx("div",{className:t.sponsorTxt,dangerouslySetInnerHTML:{__html:u}}),g?o.jsx(q,{link:r,text:i}):null]}),s?o.jsxs("div",{className:t.collectionHeroImgWrap,children:[o.jsx(F,{className:t.collectionHeroImg,image:s,lazyload:!0,layout:"hero",imageAltText:n}),c?o.jsx("div",{className:t.imageCredit,dangerouslySetInnerHTML:{__html:c}}):null]}):null]})}function ho({pagination:e={},results:l=[],layout:r="",filters:{primary:i="",active:d={}}={},archiveInfo:n={},archiveHierarchy:s=[],hero:c={},categoryFilterTitle:p="Filter by Topic",isSponsored:m=!1,hasDisplayAds:u=!0,hasNativeAds:x=!0}){const g=r==="filter"&&d[i]||n,{label:Y,slug:f,description:$,advertiser:H}=g,k=n?.slug!=="latest";function j(a){return Object.keys(a).length===0}const T=s?.children?.map(a=>({url:a.url,label:a.name||a.title,clickTrackParam:a.slug}))||[],y=m&&H?`Posted for ${H}`:"",_=f!=="games",b=f==="games";return o.jsxs(W,{persistentHeaderTitle:y,children:[j(c)&&o.jsx(N,{...g}),!j(c)&&o.jsxs(o.Fragment,{children:[o.jsx(V,{hero:c}),o.jsx(C,{})]}),T.length>0&&o.jsx(L,{links:T,buttonTitle:p,clickTrackKey:"category-page-filter-",isCentered:!0}),o.jsx(v,{results:l,lazyLoadAfter:3,ads:u,native:x,isSponsored:m,isArchive:k,showKicker:_,showDescription:b}),o.jsx(I,{pagination:e})]})}export{ho as default};

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.