1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[94],{94:function(e,l,s){s.r(l),s.d(l,{BlogListScroll:function(){return m}});var r=s(85893),t=s(69325),n=s(93348),a=s(78174),c=s(93096),i=s.n(c),d=s(41664),o=s.n(d),u=s(67294);let m=e=>{let{posts:l}=e,{locale:s}=(0,n.O)(),[c,d]=(0,u.useState)(1),m=!1,x=l&&Array.isArray(l)?(0,a.deepClone)(l).slice(0,parseInt((0,t.JA)("POSTS_PER_PAGE",12,null==e?void 0:e.NOTION_CONFIG))*c):[];if(l){let s=l.length;m=c*parseInt((0,t.JA)("POSTS_PER_PAGE",12,null==e?void 0:e.NOTION_CONFIG))<s}let h=()=>{m&&d(c+1)},N=(0,u.useRef)(null),O=(0,u.useCallback)(i()(()=>{window.scrollY+window.outerHeight>(N&&N.current?N.current.clientHeight:0)+100&&h()},500));return(0,u.useEffect)(()=>(window.addEventListener("scroll",O),()=>{window.removeEventListener("scroll",O)})),(0,r.jsxs)("div",{id:"posts-wrapper",className:"w-full md:pr-12 mb-12",ref:N,children:[x.map(e=>{var l;return(0,r.jsxs)("article",{className:"mb-12",children:[(0,r.jsx)("h2",{className:"mb-4",children:(0,r.jsx)(o(),{href:"/".concat(e.slug),className:"text-black text-xl md:text-2xl no-underline hover:underline",children:e.title})}),(0,r.jsxs)("div",{className:"mb-4 text-sm text-gray-700",children:["by"," ",(0,r.jsx)("a",{href:"#",className:"text-gray-700",children:(0,t.JA)("AUTHOR")})," ","on ",(null===(l=e.date)||void 0===l?void 0:l.start_date)||e.createdTime,(0,r.jsx)("span",{className:"font-bold mx-1",children:" | "}),(0,r.jsx)("a",{href:"#",className:"text-gray-700",children:e.category}),(0,r.jsx)("span",{className:"font-bold mx-1",children:" | "})]}),(0,r.jsx)("p",{className:"text-gray-700 leading-normal",children:e.summary})]},e.id)}),(0,r.jsxs)("div",{onClick:h,className:"w-full my-4 py-4 text-center cursor-pointer ",children:[" ",m?s.COMMON.MORE:"".concat(s.COMMON.NO_MORE," \uD83D\uDE30")," "]})]})}}}]);
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.