PageSourceSearch

https://www.barnman.cc/_next/static/chunks/6649.6d40bc859d8a1ae4.js

js barnman.cc collected 2026-09-25 22:28:41 UTC 4,479 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6649],{6649:function(e,r,a){a.r(r);var t=a(85893),s=a(73214),n=a(26964),l=a(41664),o=a.n(l),i=a(11163),c=a(67294);function d(e,r,a){let s=e+""==r+"";return e?(0,t.jsx)(o(),{href:1===e?"".concat(a,"/"):"".concat(a,"/page/").concat(e),passHref:!0,className:(s?"bg-indigo-600 dark:bg-yellow-600 text-white ":"dark:bg-[#1e1e1e] bg-white")+" hover:border-indigo-600 dark:hover:bg-yellow-600 dark:border-gray-600 px-4 border py-2 rounded-lg drop-shadow-sm duration-200 transition-colors",children:e},e):(0,t.jsx)(t.Fragment,{})}r.default=e=>{let{page:r,totalPage:a}=e,l=(0,i.useRouter)(),[u,h]=(0,c.useState)(""),{locale:p}=(0,n.O)(),g=+r,x=r<a,m=1!==g,b=l.asPath.split("?")[0].replace(/\/page\/[1-9]\d*/,"").replace(/\/$/,"").replace(".html",""),f=function(e,r,a,s){let n=[];if(s<=7)for(let a=1;a<=s;a++)n.push(d(a,r,e));else{n.push(d(1,r,e));let l=a-2;l<=1&&(l=2),l+5>s&&(l=s-5),l>2&&n.push((0,t.jsxs)("div",{className:"-mt-2 mx-1",children:["..."," "]},-1));for(let a=0;a<5;a++)l+a<s&&n.push(d(l+a,r,e));l+5<s&&n.push((0,t.jsx)("div",{children:"... "},-2)),n.push(d(s,r,e))}return n}(b,r,g,a);return(null==f?void 0:f.length)<=1?(0,t.jsx)(t.Fragment,{}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"hidden lg:flex justify-between items-end mt-10 mb-5 font-medium text-black duration-500 dark:text-gray-300 py-3 space-x-2 overflow-x-auto",children:[(0,t.jsx)(o(),{href:{pathname:2===g?"".concat(b,"/"):"".concat(b,"/page/").concat(g-1),query:l.query.s?{s:l.query.s}:{}},rel:"prev",className:"".concat(1===g?"invisible":"block"),children:(0,t.jsxs)("div",{className:"relative w-24 h-10 flex items-center transition-all duration-200 justify-center py-2 px-2 bg-white dark:bg-[#1e1e1e] border rounded-lg cursor-pointer group",children:[(0,t.jsx)("i",{className:"fas fa-angle-left mr-2 transition-all duration-200 transform group-hover:-translate-x-4"}),(0,t.jsx)("div",{className:"absolute translate-x-4 ml-2 opacity-0 transition-all duration-200 group-hover:opacity-100 group-hover:translate-x-0",children:p.PAGINATION.PREV})]})}),(0,t.jsxs)("div",{className:"flex items-center space-x-2",children:[f,(0,t.jsxs)("div",{className:"bg-white hover:bg-gray-100 dark:hover:bg-yellow-600  dark:bg-[#1e1e1e]  h-10 border flex justify-center items-center rounded-lg group hover:border-indigo-600 transition-all duration-200",children:[(0,t.jsx)("input",{value:u,className:"w-0 group-hover:w-20 group-hover:px-3 transition-all duration-200 bg-gray-100 border-none outline-none h-full rounded-lg",onInput:e=>{h(e.target.value.replace(/[^0-9]/g,""))}}),(0,t.jsx)("div",{onClick:()=>{u&&l.push(1===u?"".concat(b,"/"):"".concat(b,"/page/").concat(u))},className:"cursor-pointer hover:bg-indigo-600  dark:bg-[#1e1e1e] dark:hover:bg-yellow-600 hover:text-white px-4 py-2 group-hover:px-2 group-hover:mx-1 group-hover:rounded bg-white",children:(0,t.jsx)(s.Bl,{className:"w-4 h-4"})})]})]}),(0,t.jsx)(o(),{href:{pathname:"".concat(b,"/page/").concat(g+1),query:l.query.s?{s:l.query.s}:{}},rel:"next",className:"".concat(+x?"block":"invisible"," "),children:(0,t.jsxs)("div",{className:"relative w-24 h-10 flex items-center transition-all duration-200 justify-center py-2 px-2 bg-white dark:bg-[#1e1e1e] border rounded-lg cursor-pointer group",children:[(0,t.jsx)("i",{className:"fas fa-angle-right mr-2 transition-all duration-200 transform group-hover:translate-x-6"}),(0,t.jsx)("div",{className:"absolute -translate-x-10 ml-2 opacity-0 transition-all duration-200 group-hover:opacity-100 group-hover:-translate-x-2",children:p.PAGINATION.NEXT})]})})]}),(0,t.jsxs)("div",{className:"lg:hidden w-full flex flex-row",children:[(0,t.jsx)(o(),{href:{pathname:2===g?"".concat(b,"/"):"".concat(b,"/page/").concat(g-1),query:l.query.s?{s:l.query.s}:{}},rel:"prev",className:"".concat(m?"block":"hidden"," dark:text-white relative w-full flex-1 h-14 flex items-center transition-all duration-200 justify-center py-2 px-2 bg-white dark:bg-[#1e1e1e] border rounded-xl cursor-pointer"),children:p.PAGINATION.PREV}),m&&x&&(0,t.jsx)("div",{className:"w-12"}),(0,t.jsx)(o(),{href:{pathname:"".concat(b,"/page/").concat(g+1),query:l.query.s?{s:l.query.s}:{}},rel:"next",className:"".concat(+x?"block":"hidden"," dark:text-white relative w-full flex-1 h-14 flex items-center transition-all duration-200 justify-center py-2 px-2 bg-white dark:bg-[#1e1e1e] border rounded-xl cursor-pointer"),children:p.PAGINATION.NEXT})]})]})}}}]);

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.