PageSourceSearch

https://www.barnman.cc/_next/static/chunks/18338.8b80af22b04e6d55.js

js barnman.cc collected 2026-09-25 22:30:17 UTC 5,312 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[18338,50520,15536,48190,34774],{50520:function(e,t,a){a.r(t);var r=a(85893),l=a(27134),n=a(67968),s=a(69325),o=a(26964),i=a(41664),c=a.n(i),d=a(34774),u=a(48190);t.default=e=>{var t;let{showAnimate:a,post:i,showSummary:f}=e,{siteInfo:h}=(0,o.O)(),A=(0,s.JA)("FUKASAWA_POST_LIST_PREVIEW",null,d.default)&&i.blockMap;(0,s.JA)("FUKASAWA_POST_LIST_COVER_FORCE",null,d.default)&&i&&!i.pageCover&&(i.pageCoverThumbnail=null==h?void 0:h.pageCover);let x=(0,s.JA)("FUKASAWA_POST_LIST_COVER",null,d.default)&&(null==i?void 0:i.pageCoverThumbnail),m=(0,s.JA)("FUKASAWA_POST_LIST_ANIMATION",null,d.default)||a;return(0,r.jsx)("article",{...m?{"data-aos":"fade-up","data-aos-duration":"300","data-aos-once":"true","data-aos-anchor-placement":"top-bottom"}:{},style:{maxHeight:"60rem"},className:"w-full lg:max-w-sm p-3 shadow mb-4 mx-2 bg-white dark:bg-hexo-black-gray hover:shadow-lg duration-200",children:(0,r.jsxs)("div",{className:"flex flex-col justify-between h-full",children:[x&&(0,r.jsx)(c(),{href:null==i?void 0:i.href,passHref:!0,legacyBehavior:!0,children:(0,r.jsx)("div",{className:"flex-grow mb-3 w-full duration-200 cursor-pointer transform overflow-hidden",children:(0,r.jsx)(l.Z,{src:null==i?void 0:i.pageCoverThumbnail,alt:(null==i?void 0:i.title)||(0,s.JA)("TITLE"),className:"object-cover w-full h-full hover:scale-125 transform duration-500"})})}),(0,r.jsxs)("div",{className:"flex flex-col w-full",children:[(0,r.jsx)("h2",{children:(0,r.jsxs)(c(),{passHref:!0,href:null==i?void 0:i.href,className:"break-words cursor-pointer font-bold hover:underline text-xl ".concat(A?"justify-center":"justify-start"," leading-tight text-gray-700 dark:text-gray-100 hover:text-blue-500 dark:hover:text-blue-400"),children:[(0,s.JA)("POST_TITLE_ICON")&&(0,r.jsx)(n.Z,{icon:i.pageIcon})," ",i.title]})}),(!A||f)&&(0,r.jsx)("main",{className:"my-2 tracking-wide line-clamp-3 text-gray-800 dark:text-gray-300 text-md font-light leading-6",children:i.summary}),(0,r.jsxs)("div",{className:"mt-auto justify-between flex",children:[i.category&&(0,r.jsxs)(c(),{href:"/category/".concat(i.category),passHref:!0,className:"cursor-pointer dark:text-gray-300 font-light text-sm hover:underline hover:text-indigo-700 dark:hover:text-indigo-400 transform",children:[(0,r.jsx)("i",{className:"mr-1 far fa-folder"}),i.category]}),(0,r.jsx)("div",{className:"md:flex-nowrap flex-wrap md:justify-start inline-block",children:(0,r.jsx)("div",{children:null===(t=i.tagItems)||void 0===t?void 0:t.map(e=>(0,r.jsx)(u.default,{tag:e},e.name))})})]})]})]})})}},15536:function(e,t,a){a.r(t);var r=a(85893),l=a(26964);t.default=e=>{let{currentSearch:t}=e,{locale:a}=(0,l.O)();return(0,r.jsx)("div",{className:"flex items-center justify-center min-h-screen mx-auto md:-mt-20",children:(0,r.jsxs)("p",{className:"text-gray-500 dark:text-gray-300",children:[a.COMMON.NO_RESULTS_FOUND," ",t&&(0,r.jsx)("div",{children:t})]})})}},18338:function(e,t,a){a.r(t);var r=a(85893),l=a(69325),n=a(26964),s=a(93096),o=a.n(s),i=a(67294),c=a(50520),d=a(15536);t.default=e=>{let{posts:t}=e,{locale:a,NOTION_CONFIG:s}=(0,n.O)(),[u,f]=(0,i.useState)(1),h=(0,l.JA)("POSTS_PER_PAGE",null,s),[A,x]=(0,i.useState)([]),m=Math.ceil(t.length/h),g=()=>{u<m&&f(u+1)},_=(0,i.useRef)(null),v=(0,i.useCallback)(o()(()=>{window.scrollY+window.outerHeight>(_&&_.current?_.current.clientHeight:0)+100&&g()},500));return((0,i.useEffect)(()=>(window.addEventListener("scroll",v),()=>{window.removeEventListener("scroll",v)})),(0,i.useEffect)(()=>{let e=(u-1)*h,a=t.slice(e,e+h),r=[];for(let e=0;e<3;e++)for(let t=e;t<a.length;t+=3)r.push(a[t]);x(e=>[...e,r])},[t,u]),t&&0!==t.length)?(0,r.jsxs)("div",{ref:_,children:[A.map((e,t)=>(0,r.jsx)("div",{id:"posts-wrapper",className:"grid-container mb-10",children:e.map(e=>(0,r.jsx)("div",{className:"grid-item justify-center flex",style:{breakInside:"avoid"},children:(0,r.jsx)(c.default,{post:e,showAnimate:t>0},e.id)},e.id))},t)),(0,r.jsx)("div",{className:"w-full my-4 py-4 text-center cursor-pointer",onClick:g,children:u<m?a.COMMON.MORE:"".concat(a.COMMON.NO_MORE," \uD83D\uDE30")})]}):(0,r.jsx)(d.default,{})}},48190:function(e,t,a){a.r(t);var r=a(85893),l=a(41664),n=a.n(l);t.default=e=>{let{tag:t,selected:a=!1}=e;return(0,r.jsx)(n(),{href:a?"/":"/tag/".concat(encodeURIComponent(t.name)),passHref:!0,className:"cursor-pointer inline-block rounded hover:bg-gray-500 hover:text-white duration-200\n        mr-2 py-0.5 px-1 text-xs whitespace-nowrap dark:hover:text-white\n         ".concat(a?"text-white dark:text-gray-300 bg-black dark:bg-black dark:hover:bg-gray-900":"text-gray-600 hover:shadow-xl dark:border-gray-400 notion-".concat(t.color,"_background dark:bg-gray-800")),children:(0,r.jsxs)("div",{className:"font-light dark:text-gray-400",children:[a&&(0,r.jsx)("i",{className:"mr-1 fas fa-tag"})," ",t.name+(t.count?"(".concat(t.count,")"):"")," "]})},t)}},34774:function(e,t,a){a.r(t),t.default={FUKASAWA_MAILCHIMP_FORM:!1,FUKASAWA_POST_LIST_COVER:!0,FUKASAWA_POST_LIST_COVER_FORCE:!1,FUKASAWA_POST_LIST_PREVIEW:!1,FUKASAWA_POST_LIST_ANIMATION:!1,FUKASAWA_MENU_CATEGORY:!0,FUKASAWA_MENU_TAG:!0,FUKASAWA_MENU_ARCHIVE:!0,FUKASAWA_SIDEBAR_COLLAPSE_BUTTON:!0,FUKASAWA_SIDEBAR_COLLAPSE_SATUS_DEFAULT:!1,FUKASAWA_SIDEBAR_COLLAPSE_ON_SCROLL:!1}}}]);

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.