PageSourceSearch

https://blog.waytoagi.com/_next/static/chunks/539.9a1195ed801fd23e.js

js waytoagi.com collected 2026-09-28 08:15:44 UTC 7,075 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[539,76630,97203,15700,40501,45984],{4930:function(e,a,t){var l=t(85893),r=t(69325);a.Z=e=>{let{post:a,className:t}=e;return JSON.parse((0,r.JA)("COMMENT_TWIKOO_COUNT_ENABLE"))?(0,l.jsxs)("a",{href:"".concat(a.slug,"?target=comment"),className:"mx-1 hidden comment-count-wrapper-".concat(a.id," ").concat(t||""),children:[(0,l.jsx)("i",{className:"far fa-comment mr-1"}),(0,l.jsx)("span",{className:"comment-count-text-".concat(a.id)})]}):null}},76630:function(e,a,t){t.r(a);var l=t(85893),r=t(27134),s=t(67968),n=t(4930),o=t(69325),i=t(31761),c=t(41664),d=t.n(c),u=t(45984),x=t(40501);a.default=e=>{var a;let{index:t,post:c,showSummary:m,siteInfo:f}=e,h=(0,o.JA)("MATERY_POST_LIST_PREVIEW",null,u.default)&&c.blockMap;c&&!c.pageCoverThumbnail&&(c.pageCoverThumbnail=null==f?void 0:f.pageCover);let p=(0,o.JA)("MATERY_POST_LIST_COVER",null,u.default)&&(null==c?void 0:c.pageCoverThumbnail);return(0,l.jsx)("div",{"data-aos":"zoom-in","data-aos-duration":"500","data-aos-delay":t%3*300,"data-aos-once":"true","data-aos-anchor-placement":"top-bottom",className:"w-full mb-4 overflow-hidden shadow-md border dark:border-black rounded-xl bg-white dark:bg-hexo-black-gray",children:(0,l.jsxs)("header",{className:"group flex flex-col h-80 justify-between",children:[p&&(0,l.jsx)(d(),{href:null==c?void 0:c.href,passHref:!0,legacyBehavior:!0,children:(0,l.jsxs)("div",{className:"flex flex-grow w-full relative duration-200 = rounded-t-md cursor-pointer transform overflow-hidden",children:[(0,l.jsx)(r.Z,{src:null==c?void 0:c.pageCoverThumbnail,alt:c.title,className:"h-full w-full group-hover:scale-125 group-hover:brightness-50 rounded-t-md transform object-cover duration-500"}),(0,l.jsxs)("h2",{className:"absolute bottom-0 left-0 text-white p-6 text-2xl replace break-words w-full shadow-text z-30",children:[(0,o.JA)("POST_TITLE_ICON")&&(0,l.jsx)(s.Z,{icon:c.pageIcon}),c.title]}),(0,l.jsx)("div",{className:"h-1/2 w-full absolute left-0 bottom-0 z-20 opacity-75 transition-all duration-200",children:(0,l.jsx)("div",{className:"h-full w-full absolute bg-gradient-to-b from-transparent to-black"})})]})}),(0,l.jsxs)("main",{children:[(0,l.jsxs)("div",{className:"px-4 flex flex-col w-full  text-gray-700  dark:text-gray-300",children:[(!h||m)&&c.summary&&(0,l.jsx)("p",{className:"replace my-2 text-sm font-light leading-7 line-clamp-3",children:c.summary}),(0,l.jsxs)("div",{className:"text-gray-800 justify-between flex my-2  dark:text-gray-300",children:[(0,l.jsxs)("div",{children:[(0,l.jsxs)(d(),{href:"/archive#".concat((0,i.x)(null==c?void 0:c.publishDate,"yyyy-MM")),passHref:!0,className:"font-light hover:underline cursor-pointer text-sm leading-4 mr-3",children:[(0,l.jsx)("i",{className:"far fa-clock mr-1"}),(null===(a=c.date)||void 0===a?void 0:a.start_date)||c.lastEditedDay]}),(0,l.jsx)(n.Z,{post:c,className:"hover:underline cursor-pointer text-sm"})]}),(0,l.jsxs)(d(),{href:"/category/".concat(c.category),passHref:!0,className:"cursor-pointer font-light text-sm hover:underline hover:text-indigo-700 dark:hover:text-indigo-400 transform",children:[(0,l.jsx)("i",{className:"mr-1 far fa-folder"}),c.category]})]})]}),(null==c?void 0:c.tagItems)&&(null==c?void 0:c.tagItems.length)>0&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("hr",{}),(0,l.jsx)("div",{className:"text-gray-400 justify-between flex px-5 py-3",children:(0,l.jsx)("div",{className:"md:flex-nowrap flex-wrap md:justify-start inline-block",children:(0,l.jsxs)("div",{children:[" ",c.tagItems.map(e=>(0,l.jsx)(x.default,{tag:e},e.name))]})})})]})]})]})})}},97203:function(e,a,t){t.r(a);
1var l=t(85893),r=t(26964);a.default=e=>{let{currentSearch:a}=e,{locale:t}=(0,r.O)();return(0,l.jsx)("div",{className:"flex w-full items-center justify-center min-h-screen mx-auto md:-mt-20",children:(0,l.jsxs)("div",{className:"text-gray-500 dark:text-gray-300",children:[t.COMMON.NO_MORE," ",a&&(0,l.jsx)("div",{children:a})]})})}},539:function(e,a,t){t.r(a);var l=t(85893),r=t(69325),s=t(26964),n=t(76630),o=t(97203),i=t(15700);a.default=e=>{let{page:a=1,posts:t=[],postCount:c,siteInfo:d}=e,{NOTION_CONFIG:u}=(0,s.O)(),x=(0,r.JA)("POSTS_PER_PAGE",null,u),m=Math.ceil(c/x);return!t||0===t.length||a>m?(0,l.jsx)(o.default,{}):(0,l.jsxs)("div",{className:"w-full",children:[(0,l.jsx)("div",{className:"pt-6"}),(0,l.jsx)("div",{className:"pt-4 flex flex-wrap pb-12",children:null==t?void 0:t.map((e,a)=>(0,l.jsxs)("div",{className:"xl:w-1/3 md:w-1/2 w-full p-4",children:[" ",(0,l.jsx)(n.default,{index:a,post:e,siteInfo:d})]},e.id))}),c>=x&&(0,l.jsx)(i.default,{page:a,totalPage:m})]})}},15700:function(e,a,t){t.r(a);var l=t(85893),r=t(41664),s=t.n(r),n=t(11163);a.default=e=>{let{page:a,totalPage:t}=e,r=(0,n.useRouter)(),o=+a,i=r.asPath.split("?")[0].replace(/\/page\/[1-9]\d*/,"").replace(/\/$/,"");return(0,l.jsxs)("div",{className:"my-10 mx-6 flex justify-between font-medium text-black dark:text-gray-100 space-x-2",children:[(0,l.jsx)(s(),{href:{pathname:o-1==1?"".concat(i,"/"):"".concat(i,"/page/").concat(o-1),query:r.query.s?{s:r.query.s}:{}},passHref:!0,legacyBehavior:!0,children:(0,l.jsx)("button",{rel:"prev",className:"".concat(1===o?"opacity-20  bg-gray-200  text-gray-500 pointer-events-none ":"block text-white bg-indigo-700"," duration-200 px-3.5 py-2 hover:border-black rounded-full"),children:(0,l.jsx)("i",{className:"fas fa-angle-left text-2xl"})})}),(0,l.jsx)(s(),{href:{pathname:"".concat(i,"/page/").concat(o+1),query:r.query.s?{s:r.query.s}:{}},passHref:!0,legacyBehavior:!0,children:(0,l.jsx)("button",{rel:"next",className:"".concat(+(o<t)?"text-white bg-indigo-700 ":" opacity-20 bg-gray-200 text-gray-500 pointer-events-none "," duration-200 px-4 py-2 hover:border-black rounded-full"),children:(0,l.jsx)("i",{className:"fas fa-angle-right text-2xl"})})})]})}},40501:function(e,a,t){t.r(a);
1var l=t(85893),r=t(41664),s=t.n(r);a.default=e=>{let{tag:a,selected:t=!1}=e;return(0,l.jsx)(s(),{href:t?"/":"/tag/".concat(encodeURIComponent(a.name)),passHref:!0,className:"cursor-pointer inline-block rounded-xl  hover:text-white duration-200\n        mr-2 py-0.5 px-2 text-xs whitespace-nowrap text-white bg-indigo-700",children:(0,l.jsxs)("div",{className:"font-light",children:[t&&(0,l.jsx)("i",{className:"mr-1 fa-tag"})," ",a.name+(a.count?"(".concat(a.count,")"):"")," "]})},a)}},45984:function(e,a,t){t.r(a),a.default={MATERY_HOME_BANNER_ENABLE:!0,MATERY_HOME_BANNER_GREETINGS:["Hi,我是一个程序员","Hi,我是一个打工人","Hi,我是一个干饭人","欢迎来到我的博客\uD83C\uDF89"],MATERY_HOME_NAV_BUTTONS:!0,MATERY_HOME_NAV_BACKGROUND_IMG_FIXED:!1,MATERY_SHOW_START_READING:!0,MATERY_MENU_CATEGORY:!0,MATERY_MENU_TAG:!0,MATERY_MENU_ARCHIVE:!0,MATERY_MENU_SEARCH:!0,MATERY_POST_LIST_COVER:!0,MATERY_POST_LIST_SUMMARY:!0,MATERY_POST_LIST_PREVIEW:!0,MATERY_ARTICLE_ADJACENT:!0,MATERY_ARTICLE_COPYRIGHT:!0,MATERY_ARTICLE_RECOMMEND:!0,MATERY_WIDGET_LATEST_POSTS:!0,MATERY_WIDGET_ANALYTICS:!1,MATERY_WIDGET_TO_TOP:!0,MATERY_WIDGET_TO_COMMENT:!0,WIDGET_DARK_MODE:!0,MATERY_WIDGET_TOC:!0}}}]);

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.