PageSourceSearch

https://sfstandard.com/_next/static/chunks/pages/latest-466ad8fcada58f9d.js

js sfstandard.com collected 2026-09-24 15:17:33 UTC 5,379 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c773f311-9db3-4427-bd25-c4d571981051",e._sentryDebugIdIdentifier="sentry-dbid-c773f311-9db3-4427-bd25-c4d571981051")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[609],{18528:(e,t,a)=>{"use strict";a.d(t,{N:()=>s,d:()=>n});var l=a(55729);let n=(0,l.createContext)(null),s=()=>{let e=(0,l.useContext)(n);if(null===e)throw Error("`useVanillaApi` must be called from within `TrpcContext` provider");return e}},21686:(e,t,a)=>{"use strict";a.d(t,{h:()=>r});var l=a(6029),n=a(95669),s=a.n(n);let r=e=>{let{children:t}=e;return(0,l.jsx)(s(),{children:(0,l.jsxs)("title",{children:[t," | The San Francisco Standard"]})})}},31071:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/latest",function(){return a(87233)}])},87233:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSP:()=>w,default:()=>y});var l=a(6029),n=a(23640),s=a(55359),r=a(7510),i=a(72159),o=a(73965),d=a(55729),c=a(71393),m=a(46139),_=a(81943),u=a(17369),h=a(24444),p=a(88445),g=a(52616),x=a(36494),C=a.n(x),b=a(89138),f=a(52758),v=a(21686),j=a(53664);let N={action_name:_.B.CLICK,action_context:h.y.ARTICLE_CLICK,element_label:"",element_category:u.D.ARTICLE_CARD,element_sub_category:"latest_grid",element_id:"",is_sponsored:"false"};var w=!0;let y=e=>{var t,a,x,w,y;let I=o.F.post.retrieveArchive.useInfiniteQuery({filter:{},limit:10},{getNextPageParam:e=>e.pagination.nextCursor,initialData:{pages:[e.posts],pageParams:[void 0]},refetchOnWindowFocus:!1}),L=(null==(t=I.data)?void 0:t.pages.reduce((e,t)=>e+t.items.length,0))||0,P=window.location.href,D=(0,g.C)();return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(v.h,{children:e.title}),(0,l.jsx)(n.P,{children:(0,l.jsxs)("div",{className:"content-container py-10 m-auto px-lg",children:[(0,l.jsx)("h1",{className:"col-start-1 text-left text-decorated-s font-ivar-headline text-headline-ivar-3 sm:text-headline-ivar-0 lg:text-5xl font-semibold mb-10 w-min",children:e.title}),(0,l.jsxs)("div",{className:"xl:col-start-1 xl:col-span-8",children:[(0,l.jsxs)(s.Z.PostList,{children:[!L&&I.isLoading?(0,l.jsx)(l.Fragment,{children:Array.from({length:10}).map((e,t)=>(0,l.jsx)(s.Z.PostSkeleton,{i:t},t))}):null,L||I.isLoading?null:(0,l.jsx)(s.Z.Empty,{}),null==(a=I.data)?void 0:a.pages.map((e,t)=>(0,l.jsx)(d.Fragment,{children:e.items.map((e,a)=>{var n;return(0,l.jsx)(s.Z.PostItem,{post:e,trackData:{...N,link_article_id:null==(n=e.id)?void 0:n.toString(),link_text:(0,j.CC)(e.headline),placement_row:10*t+a+1,placement_position:10*t+a+1,page_url:P,...(0,p.J4)(e.url),...(0,p.Gg)(P)},pageIndex:t,listIndex:10*t+a,hidePlatformLinks:!0,preloadImage:0===t&&a<6,displayDek:!1},e.id)})},"page-".concat(t)))]}),(0,l.jsx)(s.Z.LoadMoreButton,{hasNextPage:I.hasNextPage,loading:I.isLoading,onClick:()=>{!I.isFetching&&I.hasNextPage&&(I.fetchNextPage(),D(i.T.CLICK,{action_name:_.B.CLICK,element_category:u.D.LOAD_MORE,element_label:"",element_sub_category:"list_bottom",link_article_id:"",link_section:"",action_context:h.y.LOAD_MORE_CLICK,link_text:"load_more",placement_position:L+1,placement_row:L+1,page_url:P,is_sponsored:"false",element_id:"",...(0,p.J4)(""),link_url:"",...(0,p.Gg)(P)}))}}),(0,l.jsx)(r.P,{error:null==(x=I.error)?void 0:x.message,activeClassName:"mt-5"})]}),(0,l.jsxs)("div",{className:"hidden xl:block xl:col-start-9 xl:col-span-4",children:[(0,l.jsx)("h3",{className:C().MoreNewsMostPopularTitle,children:"Most Read"}),(null==(w=e.mostPopular)?void 0:w.length)?(0,l.jsx)("ol",{className:C().MoreNewsMostPopularContainer,children:null==(y=e.mostPopular)?void 0:y.map((t,a)=>{var n;return(0,l.jsxs)(d.Fragment,{children:[0!==a&&a<((null==(n=e.mostPopular)?void 0:n.length)||0)?(0,l.jsx)("li",{"aria-hidden":"true",className:"hidden lg:block",children:(0,l.jsx)("hr",{className:"bg-warm-gray-500"})}):null,(0,l.jsxs)("li",{className:C().MoreNewsMostPopularArticleContainer,children:[(0,l.jsx)("div",{className:"aspect-image-landscape lg:hidden",children:(0,l.jsx)(c.d,{href:t.url,event:i.T.CLICK,trackData:{...(0,b.o)(t),module:"most-popular",action_name:_.B.CLICK,action_context:h.y.ARTICLE_CLICK,placement_row:2,placement_position:a+1,element_category:u.D.READ_MORE_MODULE,element_sub_category:"read_more_numbered_list"},children:(0,l.jsx)(m.m,{image:t.websiteImage,className:"object-cover aspect-image-landscape w-full h-full",sizes:"50vw"})})}),(0,l.jsxs)("div",{className:C().MoreNewsMostPopularArticleTitleContainer,children:[(0,l.jsx)("span",{className:"font-ivar-headline text-headline-ivar-3 h-min border-b-warm-gray-300 border-b-[1px]",children:a+1}),(0,l.jsx)(c.d,{href:t.url,event:i.T.CLICK,trackData:{...(0,b.o)(t),module:"most-popular",action_name:_.B.CLICK,action_context:h.y.ARTICLE_CLICK,placement_row:2,placement_position:a+1,element_category:u.D.READ_MORE_MODULE,element_sub_category:"read_more_numbered_list"},children:(0,l.jsx)("h4",{className:"text-heading-m",children:(0,f.PD)(t.headline)})})]})]})]},"most-popular-article-".concat(t.url))})}):null,(0,l.jsx)("div",{className:"border-b-highlight border-b-[6px]"})]})]})})]})}}},e=>{e.O(0,[2966,521,8635,8213,5789,1499,6171,1869,6653,5589,8270,3640,4873,2620,636,6593,8792],()=>e(e.s=31071)),_N_E=e.O()}]);

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.