PageSourceSearch

https://www.barnman.cc/_next/static/chunks/18302.2f5ca546390b6d77.js

js barnman.cc collected 2026-09-25 22:30:16 UTC 1,881 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[18302],{18302:function(e,t,l){l.r(t);var n=l(85893),r=l(26964),a=l(93096),o=l.n(a),i=l(58622),d=l(67294);t.default=e=>{let{toc:t}=e,{locale:l}=(0,r.O)(),[a,s]=(0,d.useState)(null);(0,d.useEffect)(()=>{let e=o()(()=>{var e;let l=document.getElementsByClassName("notion-h"),n=null,r=a;for(let e=0;e<l.length;++e){let t=l[e];if(!t||!(t instanceof Element))continue;r||(r=t.getAttribute("data-id"));let a=t.getBoundingClientRect(),o=Math.max(150,(n?a.top-n.bottom:0)/4);if(a.top-o<0){r=t.getAttribute("data-id"),n=a;continue}break}s(r);let o=null==t?void 0:t.findIndex(e=>(0,i.Gw)(e.id)===r);null==c||null===(e=c.current)||void 0===e||e.scrollTo({top:28*o,behavior:"smooth"})},200);return e(),window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[t]);let c=(0,d.useRef)(null);return!t||(null==t?void 0:t.length)<1?(0,n.jsx)(n.Fragment,{}):(0,n.jsxs)("div",{id:"catalog",className:"flex-1 flex-col flex overflow-hidden",children:[(0,n.jsxs)("div",{className:"w-full dark:text-gray-300 mb-2",children:[(0,n.jsx)("i",{className:"mr-1 fas fa-stream"}),l.COMMON.TABLE_OF_CONTENTS]}),(0,n.jsx)("nav",{ref:c,className:"flex-1 overflow-auto  overscroll-none scroll-hidden   text-black mb-6",children:t.map(e=>{let t=(0,i.Gw)(e.id);return(0,n.jsx)("a",{href:"#".concat(t),className:"".concat(a===t&&"dark:border-white border-gray-800 text-gray-800 font-bold"," hover:font-semibold border-l pl-4 block hover:text-gray-800 border-lduration-300 transform dark:text-gray-400 dark:border-gray-400\n        notion-table-of-contents-item-indent-level-").concat(e.indentLevel," catalog-item "),children:(0,n.jsx)("span",{style:{display:"inline-block",marginLeft:16*e.indentLevel},className:"truncate ".concat(a===t?" font-bold text-black dark:text-white underline":""),children:e.text})},t)})})]})}}}]);

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.