PageSourceSearch

https://www.popularmechanics.com/_assets/fre/scopes/hdm/_next/static/chunks/57012.bbfa78c1fa540e84.js

js popularmechanics.com collected 2026-09-24 07:16:22 UTC 4,098 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[12250,34631,57012,89869],{12250:(e,t,a)=>{a.r(t),a.d(t,{default:()=>h});var n=a(1873),l=a(73402),r=a(51570),i=a(9954);let s=function({index:e,label:t,link:a=null,separator:s,isHidden:u=!1,isCurrentPage:o=!1,linkThemeKey:d=null}){let c=a&&(0,r.IU)(a,{fullUrl:!0});return(0,i.Y)(l.WP,{sx:u?{display:"none"}:null,separator:`"${s}"`,key:t,itemProp:"itemListElement",itemScope:!0,itemType:"https://schema.org/ListItem"},a?(0,i.Y)(l.P$,(0,n.A)({itemProp:"item",href:a,"data-vars-ga-ux-element":"Breadcrumbs","data-vars-ga-call-to-action":t,"data-vars-ga-outbound-link":c},d&&{__themeKey:d}),(0,i.Y)("span",{itemProp:"name"},t)):(0,i.Y)("span",{"aria-current":o?"page":void 0,itemProp:"name"},t),(0,i.Y)("meta",{itemProp:"position",content:e+1}))};var u=a(800),o=a(26821),d=a(89205),c=a(53225),m=a(99738),p=a(34927),g=a(33721);let h=function({items:e=null,themeOptions:t=null}){let a=(0,u.jV)("section"),r=(0,u.jV)("subsection"),h=(0,u.BV)("data.content.0.primary_collection"),y=((0,u.BV)("data.content.0.metadata.short_title")??"").trim(),b=((0,u.BV)("data.content.0.metadata.social_title")??"").trim(),f=((0,u.BV)("titleText")??"").trim(),k=(0,u.BV)("data.content.0.slug"),B=(0,u.BV)("data.content.0.display_id"),_=(0,u.BV)("data.content.0.display_type"),A=(0,u.BV)("data.content.0.metadata"),V=((0,u.BV)("data.feedInfo.0.title")??"").trim(),v=(0,u.BV)("layoutContextProps.siteData.metadata.siteAcronym"),L=(0,u.BV)("layoutContextProps.pageType"),P=(0,u.BV)("data.content.0.legacy_id"),{listThemeKey:x,linkThemeKey:T}=t??{},Y=(0,p.m$)(["BreadcrumbsList"]),w=(0,c._P)("fre.seogra.breadcrumbs-with-collections")&&!r,C=(0,u.Uk)("addHiddenBreadcrumbsItem")??!1,S=(0,u.OA)("ancestors"),E=g.xQ===L,F=(0,o.Cw)({isSubsectionPage:E,sectionAncestors:a?.ancestors,subsectionAncestors:r?.ancestors,subsection:r,feedAncestors:S});if(a?.metadata?.show_breadcrumb===0)return null;let H=!!d.K6[v],K=H?d.h2.SLASH:d.h2.ANGLE,I=(0,o.p8)(E,{titleText:f,shortTitle:y,socialTitle:b,title:V,slug:k}),U=C&&(0,m.getFrontendLink)({slug:k,section:a,subsection:r,display_id:B,legacy_id:P,display_type:_,metadata:A});return e||(e=(0,o.Tp)(a,E?null:r,h,w,I,H,E,F,L)),(0,i.Y)(l.Vs,(0,n.A)({itemScope:!0,itemType:"https://schema.org/BreadcrumbList","data-theme-key":"breadcrumbs-list"},x&&{__themeKey:x},Y?.BreadcrumbsList?{sx:{variant:[Y.BreadcrumbsList]}}:{}),e.map(({link:e,label:t},a)=>(0,i.Y)(s,{separator:K,index:a,key:e,label:t,link:e,linkThemeKey:T})),C?(0,i.Y)(s,{isHidden:!0,separator:K,index:e.length,label:I,link:U,linkThemeKey:T}):null)}},26821:(e,t,a)=>{a.d(t,{Cw:()=>s,Tp:()=>u,VH:()=>o,p8:()=>r});var n=a(99738),l=a(49863);function r(e,{titleText:t,shortTitle:a,socialTitle:n,title:l,slug:i}){return e?l||t||a||n||i:t||a||n||l||i}function i(e){return Array.isArray(e)&&e.length>0}function s({isSubsectionPage:e,sectionAncestors:t,subsectionAncestors:a,subsection:n,feedAncestors:l}){let r=function(e){let[t]=e?.parent??[];if(!t?.slug)return;let a=[],n=new Set,l=t;for(;l?.slug;){let e=l.id??l.slug;if(n.has(e))break;n.add(e),a.push({id:l.id,slug:l.slug,title:l.title}),l=l.parent?.[0]}return a.length?a:void 0}(n);return e&&i(l)?l:i(a)?a:!e&&i(r)?r:i(t)?t:i(l)?l:void 0}let u=(e,t,a,r,i,s,u,o)=>{let d=[];s&&d.push({link:"/",label:"Home"});let c=Array.isArray(o)?[...o].reverse().filter(Boolean):[],[m]=Array.isArray(e)?e:[e],p=c.length?c.map(e=>e?.slug):[m?.slug];if(c.length)c.forEach((e,t)=>{let a=(0,n.getFrontendLink)({slug:(0,l.Z)(p.slice(0,t+1))});d.push({link:a,label:e.title})});else if(m){let e=(0,n.getFrontendLink)({slug:m.slug});d.push({link:e,label:m.title})}if(t&&!u){let e=(0,n.getFrontendLink)({slug:(0,l.Z)(p,t.slug)});d.push({link:e,label:t.title})}if(a&&r){let e=(0,n.getFrontendLink)({slug:a.slug});d.push({link:e,label:a.title})}return u&&i&&d.push({label:i}),d},o=e=>{if(Array.isArray(e)){let[t]=e.filter(e=>!e.sponsor);return t}return null}},34927:(e,t,a)=>{a.d(t,{m$:()=>l});var n=a(800);function l(e){let t=(0,n.Uk)("variants");if(!t)return{};let a={};return Object.keys(t).map(n=>(e.includes(n)&&(a[n]=t[n]),null)),a}}}]);

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.