PageSourceSearch

https://www.tomsguide.com/shop-assets/_next/static/chunks/d3a75f84daa45cfa.js

js tomsguide.com collected 2026-09-24 08:24:19 UTC 10,991 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,8341,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={cancelIdleCallback:function(){return l},requestIdleCallback:function(){return a}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let a="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){let t=Date.now();return self.setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},l="undefined"!=typeof self&&self.cancelIdleCallback&&self.cancelIdleCallback.bind(window)||function(e){return clearTimeout(e)};("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esModule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},79520,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r={default:function(){return v},handleClientScriptLoad:function(){return b},initScriptLoader:function(){return g}};for(var i in r)Object.defineProperty(n,i,{enumerable:!0,get:r[i]});let a=e.r(63141),l=e.r(51836),u=e.r(43476),o=a._(e.r(74080)),c=l._(e.r(71645)),d=e.r(42732),s=e.r(22737),f=e.r(8341),p=new Map,m=new Set,h=e=>{let{src:t,id:n,onLoad:r=()=>{},onReady:i=null,dangerouslySetInnerHTML:a,children:l="",strategy:u="afterInteractive",onError:c,stylesheets:d}=e,f=n||t;if(f&&m.has(f))return;if(p.has(t)){m.add(f),p.get(t).then(r,c);return}let h=()=>{i&&i(),m.add(f)},b=document.createElement("script"),g=new Promise((e,t)=>{b.addEventListener("load",function(t){e(),r&&r.call(this,t),h()}),b.addEventListener("error",function(e){t(e)})}).catch(function(e){c&&c(e)});a?(b.innerHTML=a.__html||"",h()):l?(b.textContent="string"==typeof l?l:Array.isArray(l)?l.join(""):"",h()):t&&(b.src=t,p.set(t,g)),(0,s.setAttributesFromProps)(b,e),"worker"===u&&b.setAttribute("type","text/partytown"),b.setAttribute("data-nscript",u),d&&(e=>{if(o.default.preinit)return e.forEach(e=>{o.default.preinit(e,{as:"style"})});if("undefined"!=typeof window){let t=document.head;e.forEach(e=>{let n=document.createElement("link");n.type="text/css",n.rel="stylesheet",n.href=e,t.appendChild(n)})}})(d),document.body.appendChild(b)};function b(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>h(e))}):h(e)}function g(e){e.forEach(b),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");m.add(t)})}function y(e){let{id:t,src:n="",onLoad:r=()=>{},onReady:i=null,strategy:a="afterInteractive",onError:l,stylesheets:s,...p}=e,{updateScripts:b,scripts:g,getIsSsr:y,appDir:v,nonce:w}=(0,c.useContext)(d.HeadManagerContext);w=p.nonce||w;let _=(0,c.useRef)(!1);(0,c.useEffect)(()=>{let e=t||n;_.current||(i&&e&&m.has(e)&&i(),_.current=!0)},[i,t,n]);let E=(0,c.useRef)(!1);if((0,c.useEffect)(()=>{if(!E.current){if("afterInteractive"===a)h(e);else"lazyOnload"===a&&("complete"===document.readyState?(0,f.requestIdleCallback)(()=>h(e)):window.addEventListener("load",()=>{(0,f.requestIdleCallback)(()=>h(e))}));E.current=!0}},[e,a]),("beforeInteractive"===a||"worker"===a)&&(b?(g[a]=(g[a]||[]).concat([{id:t,src:n,onLoad:r,onReady:i,onError:l,...p,nonce:w}]),b(g)):y&&y()?m.add(t||n):y&&!y()&&h({...e,nonce:w})),v){if(s&&s.forEach(e=>{o.default.preinit(e,{as:"style"})}),"beforeInteractive"===a)if(!n)return p.dangerouslySetInnerHTML&&(p.children=p.dangerouslySetInnerHTML.__html,delete p.dangerouslySetInnerHTML),(0,u.jsx)("script",{nonce:w,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([0,{...p,id:t}])})`}});else return o.default.preload(n,p.integrity?{as:"script",integrity:p.integrity,nonce:w,crossOrigin:p.crossOrigin}:{as:"script",nonce:w,crossOrigin:p.crossOrigin}),(0,u.jsx)("script",{nonce:w,dangerouslySetInnerHTML:{__html:`(self.__next_s=self.__next_s||[]).push(${JSON.stringify([n,{...p,id:t}])})`}});"afterInteractive"===a&&n&&o.default.preload(n,p.integrity?{as:"script",integrity:p.integrity,nonce:w,crossOrigin:p.crossOrigin}:{as:"script",nonce:w,crossOrigin:p.crossOrigin})}return null}Object.defineProperty(y,"__nextScript",{value:!0});let v=y;("function"==typeof n.default||"object"==typeof n.default&&null!==n.default)&&void 0===n.default.__esModule&&(Object.defineProperty(n.default,"__esMo
1dule",{value:!0}),Object.assign(n.default,n),t.exports=n.default)},26491,e=>{"use strict";var t=e.i(71645),n=e.i(12696);let r="usabilla-feedback-script",i="//w.usabilla.com/c2641506e9ac.js",a="//w.usabilla.com/a899368e0dff.js",l=/Android|BlackBerry|BB10|iPhone|iPad|iPod|Opera Mini|IEMobile/i;function u(e){return l.test(e)?a:i}function o(e){let t=u(e);return`window.lightningjs||function(c){function g(b,d){d&&(d+=(/\\?/.test(d)?"&":"?")+"lv=1");c[b]||function(){var i=window,h=document,j=b,g=h.location.protocol,l="load",k=0;(function(){function b(){a.P(l);a.w=1;c[j]("_load")}c[j]=function(){function m(){m.id=e;return c[j].apply(m,arguments)}var b,e=++k;b=this&&this!=i?this.id||0:0;(a.s=a.s||[]).push([e,b,arguments]);m.then=function(b,c,h){var d=a.fh[e]=a.fh[e]||[],j=a.eh[e]=a.eh[e]||[],f=a.ph[e]=a.ph[e]||[];b&&d.push(b);c&&j.push(c);h&&f.push(h);return m};return m};var a=c[j]._={};a.fh={};a.eh={};a.ph={};a.l=d?d.replace(/^\\/\\//,(g=="https:"?g:"http:")+"//"):d;a.p={0:+new Date};a.P=function(b){a.p[b]=new Date-a.p[0]};a.w&&b();i.addEventListener?i.addEventListener(l,b,!1):i.attachEvent("on"+l,b);var q=function(){function b(){return["<head></head><",c,' onload="var d=',n,";d.getElementsByTagName('head')[0].",d,"(d.",g,"('script')).",i,"='",a.l,"'\\"></",c,">"].join("")}var c="body",e=h[c];if(!e)return setTimeout(q,100);a.P(1);var d="appendChild",g="createElement",i="src",k=h[g]("div"),l=k[d](h[g]("div")),f=h[g]("iframe"),n="document",p;k.style.display="none";e.insertBefore(k,e.firstChild).id=o+"-"+j;f.frameBorder="0";f.id=o+"-frame-"+j;/MSIE[ ]+6/.test(navigator.userAgent)&&(f[i]="javascript:false");f.allowTransparency="true";l[d](f);try{f.contentWindow[n].open()}catch(s){a.domain=h.domain,p="javascript:var d="+n+".open();d.domain='"+h.domain+"';",f[i]=p+"void(0);"}try{var r=f.contentWindow[n];r.write(b());r.close()}catch(t){f[i]=p+'d.write("'+b().replace(/"/g,String.fromCharCode(92)+'\\"')+'");d.close();'}a.P(2)};a.l&&setTimeout(q,0)})()}();c[b].lv="1";return c[b]}var o="lightningjs",k=window[o]=g(o);k.require=g;k.modules=c}({});window.usabilla_live=lightningjs.require("usabilla_live","${t}");`}function c(e,t,n){if(!e)return null;let i=n.getElementById(r);if(i)return i;if(!n.body)return null;let a=n.createElement("script");
1return a.id=r,a.type="text/javascript",a.dataset.usabillaFeedback="true",a.text=o(t),n.body.appendChild(a),a}function d(){let{brand:e}=(0,n.useBrand)();return(0,t.useEffect)(()=>{"undefined"!=typeof document&&"undefined"!=typeof navigator&&c(e.hasFeedbackScript,navigator.userAgent,document)},[e.hasFeedbackScript]),null}e.s(["USABILLA_DESKTOP_SRC",0,i,"USABILLA_FEEDBACK_SCRIPT_ID",0,r,"USABILLA_MOBILE_SRC",0,a,"buildUsabillaLoaderSnippet",()=>o,"default",()=>d,"getUsabillaSource",()=>u,"injectUsabillaFeedbackScript",()=>c])},30824,e=>{"use strict";var t=e.i(43476),n=e.i(17751),r=e.i(12598);e.i(47167);var i=function(){return null},a=e.i(31278),l=e.i(71645),u=e.i(18566);let o="product-finder:category-navigation-start",c="product-finder:category-navigation-end";function d({children:e}){let d=(0,u.usePathname)(),[s]=(0,l.useState)(()=>new n.QueryClient({defaultOptions:{queries:{staleTime:3e5,gcTime:18e5,retry:2,refetchOnWindowFocus:!1}}})),[f,p]=(0,l.useState)(null),m=(0,l.useRef)(null),h=(0,l.useRef)(null),b=(0,l.useRef)(null),g=(0,l.useRef)(null);return(0,l.useEffect)(()=>{let e=()=>{m.current&&(clearTimeout(m.current),m.current=null),h.current&&(clearTimeout(h.current),h.current=null),b.current&&(clearTimeout(b.current),b.current=null)},t=t=>{let n=t.detail;e(),p(n?.label??"category"),g.current=Date.now(),m.current=setTimeout(()=>{p(null),g.current=null,m.current=null},1e4);let r=n?.href;r&&(h.current=setTimeout(()=>{window.location.assign(r)},2500))},n=()=>{let e,t;t=Math.max(0,2e3-(null!==(e=g.current)?Date.now()-e:2e3)),b.current&&clearTimeout(b.current),b.current=setTimeout(()=>{p(null),g.current=null,b.current=null,m.current&&(clearTimeout(m.current),m.current=null),h.current&&(clearTimeout(h.current),h.current=null)},t)};return window.addEventListener(o,t),window.addEventListener(c,n),()=>{window.removeEventListener(o,t),window.removeEventListener(c,n),e()}},[]),(0,l.useEffect)(()=>{let e=setTimeout(()=>{p(null),g.current=null,m.current&&(clearTimeout(m.current),m.current=null),h.current&&(clearTimeout(h.current),h.current=null),b.current&&(clearTimeout(b.current),b.current=null)},2e3);return()=>clearTimeout(e)},[d]),(0,t.jsxs)(r.QueryClientProvider,{client:s,children:[e,f&&(0,t.jsx)("div",{className:"fixed inset-0 z-[90] flex items-center justify-center bg-white/90 px-4 backdrop-blur-sm",role:"status","aria-live":"polite","aria-label":`Loading ${f}`,children:(0,t.jsxs)("div",{className:"brand-body flex min-h-[180px] w-full max-w-sm flex-col items-center justify-center gap-3 rounded-[12px] border border-slate-200 bg-white p-6 text-center shadow-xl",children:[(0,t.jsx)(a.Loader2,{className:"brand-hero-loader animate-spin",size:28,"aria-hidden":"true"}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("p",{className:"text-sm font-semibold text-slate-900",children:["Loading ",f]}),(0,t.jsx)("p",{className:"mt-1 text-xs text-slate-600",children:"Taking you to the best category for this search."})]})]})}),(0,t.jsx)(i,{initialIsOpen:!1,buttonPosition:"bottom-left"})]})}e.s(["default",()=>d],30824)},8571,e=>{"use strict";var t=e.i(18566),n=e.i(71645),r=e.i(73988),i=e.i(420),a=e.i(28356);function l(e){if("undefined"==typeof document)return null;let t=document.cookie.match(RegExp(`(?:^|; )${encodeURIComponent(e)}=([^;]*)`));return t?decodeURIComponent(t[1]):null}function u(){let e=(0,t.usePathname)();return(0,n.useEffect)(()=>{let e,t,n;e=l(r.SIGNAL_SHOP_REGION_COOKIE)?.trim().toUpperCase()||(0,r.countryCodeToRegion)(l("FTR_Country_Code"))||"GB",t={page:{category:"shop",title:"undefined"!=typeof document?document.title:"",type:"shop",url:window.location.href,view_type:"pageLoad",country_code:e,index:0,number:"1",tags:[]},site:{brand:i.SITE_NAME,region:"US"===e?"US":"GB",country_code:e}},(0,a.storeEventForDebug)("pageLoadEvent",t),(0,a.sendToFreyr)("pageLoadEvent",t),n={user:{gaClientId:function(e){if("undefined"==typeof document)return null;let t=document.cookie.match(RegExp(`(?:^|; )${encodeURIComponent("_ga")}=([^;]*)`));return t?decodeURIComponent(t[1]):null}(0)??null,screenWidth:window.screen?.width??null}},(0,a.storeEventForDebug)("userEvent",n),(0,a.sendToFreyr)("userEvent",n)},[e]),null}e.s(["default",()=>u],8571)}]);

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.