PageSourceSearch

https://blog.shuichanga.cn/_next/static/chunks/7738.defc236baa81e173.js

js shuichanga.cn collected 2026-09-30 21:35:18 UTC 3,042 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7738,33035,64358,85357],{7738:(e,t,r)=>{r.r(t),r.d(t,{default:()=>o});var a=r(37876),s=r(14232),n=r(22507),l=r(64358),c=r(95498),i=r(33035),h=r(56105);let o=e=>{let[t,r]=(0,s.useState)([]),{locale:o}=(0,c.PC)(),[d,m]=(0,s.useState)(!0);return(0,s.useEffect)(()=>{(0,h.EB)({serverURL:(0,n.CQ)("COMMENT_WALINE_SERVER_URL"),count:5}).then(e=>{let{comments:t}=e;m(!1),r(t)})},[]),(0,a.jsxs)(l.default,{children:[(0,a.jsxs)("div",{className:" mb-2 px-1 justify-between",children:[(0,a.jsx)("i",{className:"mr-2 fas fas fa-comment"}),o.COMMON.RECENT_COMMENTS]}),d&&(0,a.jsxs)("div",{children:["Loading...",(0,a.jsx)("i",{className:"ml-2 fas fa-spinner animate-spin"})]}),!d&&t&&0===t.length&&(0,a.jsx)("div",{children:"No Comments"}),!d&&t&&t.length>0&&t.map(e=>(0,a.jsxs)("div",{className:"pb-2 pl-1",children:[(0,a.jsx)("div",{className:"dark:text-gray-200 text-sm waline-recent-content wl-content",dangerouslySetInnerHTML:{__html:e.comment}}),(0,a.jsx)("div",{className:"dark:text-gray-400 text-gray-400  text-sm text-right cursor-pointer hover:text-red-500 hover:underline pt-1 pr-2",children:(0,a.jsxs)(i.A,{href:{pathname:e.url,hash:e.objectId,query:{target:"comment"}},children:["--",e.nick]})})]},e.objectId))]})}},33035:(e,t,r)=>{r.d(t,{A:()=>c});var a=r(37876),s=r(48230),n=r.n(s),l=r(22507);let c=e=>{let{href:t,children:r,...s}=e,c=(0,l.CQ)("LINK"),i="";"string"==typeof t?i=t:"object"==typeof t&&null!==t&&"string"==typeof t.pathname&&(i=t.pathname);let h=i.startsWith("http")&&!i.startsWith(c),o=()=>{var e;let t=new URLSearchParams((null==(e=window.location.search)?void 0:e.slice(1))||""),r={};for(let[e,a]of t.entries())""!==a&&(r[e]=a);return r};if(h){let e="string"==typeof t?t:new URL(t.pathname,c).toString();return(0,a.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",...(e=>{let{passHref:t,legacyBehavior:r,placeholderSrc:a,fallbackSrc:s,...n}=e;return n})(s),children:r})}let d="string"==typeof t?(e=>{if("string"!=typeof e||!e||e.startsWith("#"))return e;let t=o();if(0===Object.keys(t).length)return e;let r=e.startsWith("http://")||e.startsWith("https://"),a=new URL(e,c);return(Object.entries(t).forEach(e=>{let[t,r]=e;a.searchParams.has(t)||a.searchParams.set(t,r)}),r)?a.toString():"".concat(a.pathname).concat(a.search).concat(a.hash)})(t):(e=>{if(!e||"object"!=typeof e)return e;let t=o();return 0===Object.keys(t).length?e:{...e,query:{...t,...e.query||{}}}})(t);return(0,a.jsx)(n(),{href:d,...(e=>{let{placeholderSrc:t,fallbackSrc:r,src:a,alt:s,width:n,height:l,loading:c,decoding:i,onLoad:h,onError:o,...d}=e;return d})(s),children:r})}},64358:(e,t,r)=>{r.r(t),r.d(t,{default:()=>s});var a=r(37876);let s=e=>{let{children:t,headerSlot:r,className:s}=e;return(0,a.jsxs)("div",{className:s,children:[(0,a.jsx)(a.Fragment,{children:r}),(0,a.jsx)("section",{className:"card shadow-md hover:shadow-md dark:text-gray-300 border dark:border-black rounded-xl lg:p-6 p-4 bg-white dark:bg-hexo-black-gray lg:duration-100",children:t})]})}}}]);

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.