PageSourceSearch

https://www.lipijin.com/_next/static/chunks/512-2c84fcf2185d0b0a.js

js lipijin.com collected 2026-09-25 21:49:44 UTC 5,849 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[512],{70512:function(e,t,n){n.d(t,{Z:function(){return k}});var a=n(63342),s=n(79685),r=n(67987),l=n.n(r),i=n(30412),o=n.n(i),c=n(23203),d=n(38364),m=n(53483);let x=()=>{let e=(0,c.Z)(),t=(0,d.b)(),n=[{id:0,name:t.NAV.INDEX,to:e.path||"/",show:!0},{id:1,name:t.NAV.ABOUT,to:"/about",show:e.showAbout},{id:2,name:t.NAV.RSS,to:"/feed",show:!0,external:!0},{id:3,name:t.NAV.SEARCH,to:"/search",show:!0}];return(0,a.jsx)("div",{className:"flex-shrink-0",children:(0,a.jsx)("ul",{className:"flex flex-row",children:n.map(e=>e.show&&(0,a.jsx)("li",{className:"block ml-4 text-black dark:text-gray-50 nav",children:(0,a.jsx)(l(),{href:e.to,target:e.external?"_blank":null,children:e.name})},e.id))})})};function p(e){let{navBarTitle:t,fullWidth:n}=e,r=(0,c.Z)(),{dark:i}=(0,m.Z)(),d=e=>!e&&i?"/favicon.dark.png":"/favicon.jpg",[p,u]=(0,s.useState)(d()),g=e=>u(d(e));(0,s.useEffect)(()=>g(),[i]);let f=!r.autoCollapsedNavBar,j=(0,s.useRef)(void 0),w=(0,s.useRef)(void 0),v=(0,s.useCallback)(e=>{var t,n;let[a]=e;f&&j.current?null===(t=j.current)||void 0===t||t.classList.toggle("sticky-nav-full",!a.isIntersecting):null===(n=j.current)||void 0===n||n.classList.add("remove-sticky")},[f]);(0,s.useEffect)(()=>{let e=w.current,t=new window.IntersectionObserver(v);return t.observe(e),()=>{e&&t.unobserve(e)}},[v,w]);let b=(0,s.useRef)(void 0);function y(e){[j.current,b.current].includes(e.target)&&window.scrollTo({top:0,behavior:"smooth"})}return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"observer-element h-4 md:h-12",ref:w}),(0,a.jsxs)("div",{className:"sticky-nav group m-auto w-full h-6 flex flex-row justify-between items-center mb-2 md:mb-12 py-8 bg-opacity-60 ".concat(n?"px-4 md:px-24":"max-w-3xl px-4"),id:"sticky-nav",ref:j,onClick:y,children:[(0,a.jsx)("svg",{viewBox:"0 0 24 24",className:"caret w-6 h-6 absolute inset-x-0 bottom-0 mx-auto pointer-events-none opacity-30 group-hover:opacity-100 transition duration-100",children:(0,a.jsx)("path",{d:"M12 10.828l-4.95 4.95-1.414-1.414L12 8l6.364 6.364-1.414 1.414z",className:"fill-black dark:fill-white"})}),(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(l(),{href:"/","aria-label":r.title,children:(0,a.jsx)(o(),{src:p,width:24,height:24,alt:r.title,onError:()=>g(!0)})}),(0,a.jsx)(l(),{href:"/","aria-label":r.title,children:(0,a.jsx)(h,{ref:b,siteTitle:r.title,siteDescription:r.description,postTitle:t,onClick:y})})]}),(0,a.jsx)(x,{})]})]})}let h=(0,s.forwardRef)(function(e,t){let{siteTitle:n,siteDescription:s,postTitle:r,onClick:l}=e;return(0,a.jsxs)("p",{ref:t,className:"header-name ml-2 font-medium text-gray-600 dark:text-gray-300 capture-pointer-events grid-rows-1 grid-cols-1 items-center",onClick:l,children:[r&&(0,a.jsx)("span",{className:"post-title row-start-1 col-start-1",children:r}),(0,a.jsxs)("span",{className:"row-start-1 col-start-1",children:[(0,a.jsx)("span",{className:"site-title",children:n}),(0,a.jsxs)("span",{className:"site-description font-normal",children:[", ",s]})]})]})}),u=e=>{let{fullWidth:t}=e,n=(0,c.Z)(),s=new Date,r=s.getFullYear(),l=+n.since;return(0,a.jsxs)("div",{className:"mt-6 flex-shrink-0 m-auto w-full text-gray-500 dark:text-gray-400 transition-all ".concat(t?"px-4 md:px-24":"max-w-2xl px-4"),children:[(0,a.jsx)("hr",{className:"border-gray-200 dark:border-gray-600"}),(0,a.jsx)("div",{className:"my-4 text-sm leading-6",children:(0,a.jsx)("div",{className:"flex align-baseline justify-between flex-wrap",children:(0,a.jsxs)("p",{children:["\xa9 ",n.author," ",l!==r&&l?"".concat(l," - ").concat(r):r]})})})]})};var g=n(47557),f=n.n(g),j=n(63097),w=n.n(j),v=n(68591),b=n.n(v);let y=e=>{let{children:t,layout:n,fullWidth:s,...r}=e,l=(0,c.Z)(),i=l.path.length?"".concat(l.link,"/").concat(l.path):l.link,o={title:l.title,type:"website",...r};return(0,a.jsxs)("div",{children:[(0,a.jsxs)(f(),{children:[(0,a.jsx)("title",{children:o.title}),(0,a.jsx)("meta",{name:"robots",content:"follow, index"}),(0,a.jsx)("meta",{charSet:"UTF-8"}),l.seo.googleSiteVerification&&(0,a.jsx)("meta",{name:"google-site-verification",content:l.seo.googleSiteVerification}),l.seo.keywords&&(0,a.jsx)("meta",{name:"keywords",content:l.seo.keywords.join(", ")}),(0,a.jsx)("meta",{name:"description",content:o.description}),(0,a.jsx)("meta",{property:"og:locale",content:l.lang}),(0,a.jsx)("meta",{property:"og:title",content:o.title}),(0,a.jsx)("meta",{property:"og:description",content:o.description}),(0,a.jsx)("meta",{property:"og:url",content:o.slug?"".concat(i,"/").concat(o.slug):i}),(0,a.jsx)("meta",{property:"og:image",content:"".concat(l.ogImageGenerateURL,"/").concat(encodeURIComponent(o.title),".png?theme=dark&md=1&fontSize=125px&images=https%3A%2F%2Fnobelium.vercel.app%2Flogo-for-dark-bg.svg")}),(0,a.jsx)("meta",{property:"og:type",content:o.type}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,a.jsx)("meta",{name:"twitter:description",content:o.description}),(0,a.jsx)("meta",{name:"twitter:title",content:o.title}),(0,a.jsx)("meta",{name:"twitter:image",content:"".concat(l.ogImageGenerateURL,"/").concat(encodeURIComponent(o.title),".png?theme=dark&md=1&fontSize=125px&images=https%3A%2F%2Fnobelium.vercel.app%2Flogo-for-dark-bg.svg")}),"article"===o.type&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{property:"article:published_time",content:o.date}),(0,a.jsx)("meta",{property:"article:author",content:l.author})]})]}),(0,a.jsxs)("div",{className:"wrapper ".concat("serif"===l.font?"font-serif":"font-sans"),children:[(0,a.jsx)(p,{navBarTitle:"blog"===n?o.title:null,fullWidth:s}),(0,a.jsx)("main",{className:b()("flex-grow transition-all","blog"!==n&&["self-center px-4",s?"md:px-24":"w-full max-w-2xl"]),children:t}),(0,a.jsx)(u,{fullWidth:s})]})]})};y.propTypes={children:w().node};var k=y}}]);

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.