PageSourceSearch

https://www.soundguys.com/_next/static/chunks/6040.e62a6c7925537128.js

js soundguys.com collected 2026-09-24 08:51:55 UTC 4,199 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6040],{72906:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});var r=n(2784);function i(){let e=(0,r.useRef)(null),[t,n]=(0,r.useState)(0);return(0,r.useEffect)(()=>{if(!e.current||(n(e.current.scrollHeight),!window.ResizeObserver))return;let t=new ResizeObserver(e=>{let[t]=e;n(t.target.scrollHeight)});return t.observe(e.current),()=>{t.disconnect()}},[]),{ref:e,height:t}}},66040:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return w}});var r,i,l=n(52322),c=n(40489),o=n(2784),a=n(72906),s=n(9212),u=n(90623);function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(null,arguments)}var m=function(e){return o.createElement("svg",d({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 15 14"},e),r||(r=o.createElement("rect",{width:"100%",height:"14.3%",rx:1})),i||(i=o.createElement("rect",{width:"100%",height:"57.14%",y:"43.86%",fill:"#fff",opacity:.2,rx:1})))},h=n(24841),f=n.n(h),v=n(71303),g=n.n(v),_=n(91797),b=n.n(_);let p=e=>{let{currentSection:t,size:n,className:r,sectionItems:i,onMenuItemClick:o,showSidebar:a}=e;return(0,l.jsx)("ul",{className:(0,c.Z)(b().container,r,{[b().large]:"large"===n,[b().medium]:"medium"===n,[b().showSidebar]:a}),children:i.map((e,r)=>(0,l.jsxs)("li",{className:(0,c.Z)({[b().large]:"large"===n,[b().medium]:"medium"===n}),children:[(0,l.jsx)("a",{href:"#".concat(e.anchor),rel:"nofollow",onClick:t=>{null==o||o(e);let n=document.getElementById(e.anchor);n&&(t.preventDefault(),n.scrollIntoView({behavior:"smooth",block:"start"}))},className:(0,c.Z)(b().button,{[b().activeItem]:(null==t?void 0:t.anchor)===e.anchor}),children:e.label}),e.children.length>0&&(0,l.jsx)(p,{showSidebar:!0,currentSection:t,size:"medium",sectionItems:e.children,onMenuItemClick:o})]},r))})};var x=e=>{let{currentSection:t,className:n,sectionItems:r,onMenuItemClick:i}=e;return(0,l.jsx)("div",{className:(0,c.Z)(g().container,n),children:(0,l.jsx)(p,{currentSection:t,size:"large",sectionItems:r,onMenuItemClick:i})})},w=e=>{let{sections:t,variant:n,className:r}=e,[i,d]=(0,o.useState)("lg"===n),{ref:h,height:v}=(0,a.L)(),{current:g}=function(e){let[t,n]=(0,o.useState)(e.length?e[0]:null);return(0,o.useEffect)(()=>{let t=new IntersectionObserver(t=>{for(let r of t){if(!(r.boundingClientRect.y<window.innerHeight/2))continue;let t=r.target.getAttribute("id");if(!t)continue;let i=e.findIndex(e=>e.anchor===t);-1!==i&&(r.isIntersecting?n(i>0?e[i-1]:e[0]):n(e[i]))}},{root:null,rootMargin:"-10px"});try{for(let n of e){let e=document.querySelector("#".concat(n.anchor));e&&t.observe(e)}}catch(e){(0,s.H)("useTocMonitoring",e)}return()=>t.disconnect()},[e]),{current:t}}(t?t.items:[]);if(!t||!t.items.length)return null;let _="top"===n?u.Z:m;return(0,l.jsxs)("div",{"data-table-of-content-wrapper":!0,ref:h,style:{"--scroll-height":"".concat(v,"px")},className:(0,c.Z)(f().container,r,{[f().containerOpened]:i,[f().variantLg]:"lg"===n,[f().variantSm]:"sm"===n,[f().variantTop]:"top"===n}),children:[(0,l.jsxs)("button",{"data-sel":i?"collapse-toc":"expand-toc",className:f().titleSection,type:"button",onClick:()=>d(e=>!e),children:[(0,l.jsx)("div",{className:f().title,children:t.title}),(0,l.jsx)("div",{className:f().titleSelected,children:null==g?void 0:g.label}),(0,l.jsx)("div",{className:f().titleIconContainer,children:(0,l.jsx)(_,{className:f().titleIcon})})]}),(0,l.jsx)("div",{className:f().menu,children:(0,l.jsx)("div",{className:(0,c.Z)(f().subMenuContainer),children:(0,l.jsx)(x,{currentSection:g,sectionItems:t.items,onMenuItemClick:()=>{d(!1)}})})})]})}},24841:function(e){e.exports={container:"e_FE",titleIconContainer:"e_GE",variantLg:"e_HE",containerOpened:"e_IE",titleSelected:"e_JE",title:"e_KE",titleSection:"e_LE",variantSm:"e_ME",variantTop:"e_NE",titleIcon:"e_OE",menu:"e_PE",subMenuContainer:"e_QE"}},71303:function(e){e.exports={container:"e_rV"}},91797:function(e){e.exports={container:"e_h_",large:"e_i_",medium:"e_j_",showSidebar:"e_k_",button:"e_l_",activeItem:"e_m_"}}}]);
2//# sourceMappingURL=6040.e62a6c7925537128.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.