PageSourceSearch

https://www.barnman.cc/_next/static/chunks/7506.e06cfb8bcdcb9ee6.js

js barnman.cc collected 2026-09-25 22:28:46 UTC 3,218 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7506,27794],{27794:function(e,a,s){s.r(a);var r=s(85893),t=s(48844),l=s(71120),d=s(36640),i=s(26964),n=s(41664),c=s.n(n);a.default=e=>{let{tags:a,currentTag:s,post:n,slot:o,categories:h,currentCategory:f}=e,{locale:x}=(0,i.O)();return(0,r.jsx)("aside",{id:"sidebar",className:"bg-white dark:bg-gray-900 w-80 z-10 dark:border-gray-500 border-gray-200 scroll-hidden h-full",children:(0,r.jsxs)("div",{className:(n?"":"sticky top-0")+" bg-white dark:bg-gray-900 pb-4",children:[(0,r.jsx)("section",{className:"py-5",children:(0,r.jsx)(l.default,{...e})}),h&&(0,r.jsxs)("section",{className:"mt-8",children:[(0,r.jsxs)("div",{className:"text-sm px-5 flex flex-nowrap justify-between font-light",children:[(0,r.jsxs)("div",{className:"text-gray-600 dark:text-gray-200",children:[(0,r.jsx)("i",{className:"mr-2 fas fa-th-list"}),x.COMMON.CATEGORY]}),(0,r.jsxs)(c(),{href:"/category",passHref:!0,className:"mb-3 text-gray-500 hover:text-black dark:text-gray-400 dark:hover:text-white hover:underline cursor-pointer",children:[x.COMMON.MORE," ",(0,r.jsx)("i",{className:"fas fa-angle-double-right"})]})]}),(0,r.jsx)(t.default,{currentCategory:f,categories:h})]}),a&&(0,r.jsxs)("section",{className:"mt-4",children:[(0,r.jsxs)("div",{className:"text-sm py-2 px-5 flex flex-nowrap justify-between font-light dark:text-gray-200",children:[(0,r.jsxs)("div",{className:"text-gray-600 dark:text-gray-200",children:[(0,r.jsx)("i",{className:"mr-2 fas fa-tag"}),x.COMMON.TAGS]}),(0,r.jsxs)(c(),{href:"/tag",passHref:!0,className:"text-gray-500 hover:text-black  dark:hover:text-white hover:underline cursor-pointer",children:[x.COMMON.MORE," ",(0,r.jsx)("i",{className:"fas fa-angle-double-right"})]})]}),(0,r.jsx)("div",{className:"px-5 py-2",children:(0,r.jsx)(d.default,{tags:a,currentTag:s})})]}),o]})})}},7506:function(e,a,s){s.r(a);var r=s(85893),t=s(27794),l=s(11163),d=s(67294);a.default=e=>{let{post:a,cRef:s,tags:i,slot:n,categories:c,currentCategory:o}=e;(0,d.useImperativeHandle)(s,()=>({handleSwitchSideDrawerVisible:()=>f(!0)})),(0,d.useEffect)(()=>{var e;let a=document.getElementById("sidebar-wrapper");null==a||null===(e=a.classList)||void 0===e||e.remove("hidden")},[]);let h=(0,l.useRouter)();(0,d.useEffect)(()=>{let e=()=>{f(!1)};return h.events.on("routeChangeComplete",e),()=>{h.events.off("routeChangeComplete",e)}},[h.events]);let f=e=>{let a=window.document.getElementById("sidebar-drawer"),s=window.document.getElementById("sidebar-drawer-background");e?(a.classList.replace("-ml-80","ml-0"),s.classList.replace("hidden","block")):(a.classList.replace("ml-0","-ml-80"),s.classList.replace("block","hidden"))};return(0,r.jsxs)("div",{id:"sidebar-wrapper",className:"hidden",children:[(0,r.jsx)("div",{id:"sidebar-drawer",className:"-ml-80 bg-white dark:bg-gray-900 flex flex-col duration-300 fixed h-full left-0 overflow-y-scroll scroll-hidden top-0 z-40",children:(0,r.jsx)(t.default,{tags:i,post:a,slot:n,categories:c,currentCategory:o})}),(0,r.jsx)("div",{id:"sidebar-drawer-background",onClick:()=>{f(!1)},className:"hidden animate__animated animate__fadeIn fixed top-0 duration-300 left-0 z-30 w-full h-full glassmorphism"})]})}}}]);

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.