1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5581,7602,8791,20696,27962,31172,33035,50343,53553,64029,72724,75934,77150,86410,98315],{522:(e,t,r)=>{r.d(t,{A:()=>l});var a=r(37876),n=r(5581);let l=e=>{let{icon:t}=e;return t?t.startsWith("http")||t.startsWith("data:")?(0,a.jsx)(n.A,{src:t,width:32,height:32,className:"w-8 h-8 my-auto inline mr-1"}):(0,a.jsx)("span",{className:"mr-1",children:t}):(0,a.jsx)(a.Fragment,{})}},5581:(e,t,r)=>{r.d(t,{A:()=>i});var a=r(37876),n=r(22507),l=r(77328),s=r.n(l),o=r(14232);function i(e){let{priority:t,id:r,src:l,alt:i,fallbackSrc:u,placeholderSrc:d,className:h,width:m,height:f,title:p,onLoad:g,onClick:x,style:b,loading:v}=e,w=((e,t)=>{let r=Number(e),a=Number(t);return Number.isFinite(r)&&r>0?Number.isFinite(a)&&a>0?Math.min(r,a):r:t})(m,(0,n.CQ)("IMAGE_COMPRESS_WIDTH")),j=(0,n.CQ)("IMG_LAZY_LOAD_PLACEHOLDER"),y=(0,o.useRef)(null),[N,I]=(0,o.useState)(t&&l?c(l,w):d||j),[C,_]=(0,o.useState)(!!(t&&l)),A=(0,o.useCallback)(()=>{y.current&&(y.current.src!==u&&u?y.current.src=u:y.current.src!==d&&d?y.current.src=d:y.current.src=j,_(!0),y.current.classList.remove("lazy-image-placeholder"))},[j,u,d]);(0,o.useEffect)(()=>{let e=c(l,w)||j,r=y.current,a=()=>{"function"==typeof g&&g(),_(!0),y.current&&y.current.classList.remove("lazy-image-placeholder")};if(t||!window.IntersectionObserver){let t=new Image;t.src=e,t.onload=()=>{I(e),a(e)},t.onerror=A;return}let s=new IntersectionObserver(t=>{t.forEach(t=>{if(t.isIntersecting){let r=new Image;"decoding"in r&&(r.decoding="async"),r.src=e,r.onload=()=>{I(e),a(e)},r.onerror=A,s.unobserve(t.target)}})},{rootMargin:(0,n.CQ)("LAZY_LOAD_THRESHOLD","200px"),threshold:.1});return r&&s.observe(r),()=>{r&&s.unobserve(r)}},[l,w,t,j,u,A,g,d]);let L={ref:y,src:N,"data-src":l,alt:i||"Lazy loaded image",onLoad:()=>{},onError:A,className:"".concat(h||"").concat(C?"":" lazy-image-placeholder"),style:{aspectRatio:m&&f?"".concat(m," / ").concat(f):void 0,containIntrinsicSize:m||f?void 0:"300px 200px",...b},onClick:x,loading:t?"eager":v||"lazy",decoding:"async",...(0,n.CQ)("WEBP_SUPPORT")&&{"data-webp":!0},...(0,n.CQ)("AVIF_SUPPORT")&&{"data-avif":!0}};return(r&&(L.id=r),p&&(L.title=p),m&&(L.width=m),f&&(L.height=f),t&&(L.fetchpriority="high"),l)?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("img",{alt:L.alt,...L}),t&&(0,a.jsx)(s(),{children:(0,a.jsx)("link",{rel:"preload",as:"image",href:c(l,w),fetchpriority:"high"})})]}):null}let c=(e,t)=>{var r,a;if(!e)return null;let n=(null==(a=window)||null==(r=a.screen)?void 0:r.width)||t,l=Number(t),s=Number.isFinite(l)&&l>0?Math.min(n,l):n;return s?e.replace(/width=\d+/,"width=".concat(s)).replace(/w=\d+/,"w=".concat(s)):e}},7602:(e,t,r)=>{r.r(t),r.d(t,{default:()=>c});var a=r(37876),n=r(5581),l=r(522),s=r(22507),o=r(33035),i=r(77150);let c=e=>{let{index:t,post:r,showSummary:c,siteInfo:u}=e;return r&&!r.pageCoverThumbnail&&(r.pageCoverThumbnail=(null==u?void 0:u.pageCover)||(0,s.CQ)("RANDOM_IMAGE_URL")),(0,a.jsx)("article",{"data-wow-delay":".2s",className:"wow fadeInUp w-full mb-4 cursor-pointer overflow-hidden shadow-movie dark:bg-hexo-black-gray text-white",children:(0,a.jsx)(o.A,{href:null==r?void 0:r.href,passHref:!0,legacyBehavior:!0,children:(0,a.jsxs)("div",{className:"group flex flex-col aspect-[2/3] justify-between relative",children:[(0,a.jsx)("div",{className:"flex flex-grow w-full h-full relative duration-200 cursor-pointer transform overflow-hidden",children:(0,a.jsx)(n.A,{src:null==r?void 0:r.pageCoverThumbnail,alt:r.title,className:"h-full w-full group-hover:brightness-90 group-hover:scale-105 transform object-cover duration-500"})}),(0,a.jsx)("div",{className:"absolute bottom-28 z-20",children:(null==r?void 0:r.tagItems)&&(null==r?void 0:r.tagItems.length)>0&&(0,a.jsx)(a.Fragment,{children:(0,a.jsx)("div",{className:"px-6 justify-between flex p-2",children:r.tagItems.map(e=>(0,a.jsx)(i.default,{tag:e},e.name))})})}),(0,a.jsxs)("h2",{className:"absolute bottom-10 px-6 transition-all duration-200 text-2xl font-semibold break-words shadow-text z-20",children:[(0,s.CQ)("POST_TITLE_ICON")&&(0,a.jsx)(l.A,{icon:r.pageIcon}),r.title]}),(0,a.jsx)("p",{className:"absolute bottom-3 z-20 line-clamp-1 text-xs mx-6",children:null==r?void 0:r.summary}),(0,a.jsx)("div",{className:"h-3/4 w-full absolute left-0 bottom-0 z-10",children:(0,a.jsx)("div",{className:"h-full w-full absolute opacity-80 group-hover:opacity-100 transition-all duration-1000 bg-gradient-to-b from-transparent to-black"})})]})})})}},33035:(e,t,r)=>{r.d(t,{A:()=>
1o});var a=r(37876),n=r(48230),l=r.n(n),s=r(22507);let o=e=>{let{href:t,children:r,...n}=e,o=(0,s.CQ)("LINK"),i="";"string"==typeof t?i=t:"object"==typeof t&&null!==t&&"string"==typeof t.pathname&&(i=t.pathname);let c=i.startsWith("http")&&!i.startsWith(o),u=()=>{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(c){let e="string"==typeof t?t:new URL(t.pathname,o).toString();return(0,a.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",...(e=>{let{passHref:t,legacyBehavior:r,placeholderSrc:a,fallbackSrc:n,...l}=e;return l})(n),children:r})}let d="string"==typeof t?(e=>{if("string"!=typeof e||!e||e.startsWith("#"))return e;let t=u();if(0===Object.keys(t).length)return e;let r=e.startsWith("http://")||e.startsWith("https://"),a=new URL(e,o);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=u();return 0===Object.keys(t).length?e:{...e,query:{...t,...e.query||{}}}})(t);return(0,a.jsx)(l(),{href:d,...(e=>{let{placeholderSrc:t,fallbackSrc:r,src:a,alt:n,width:l,height:s,loading:o,decoding:i,onLoad:c,onError:u,...d}=e;return d})(n),children:r})}},77150:(e,t,r)=>{r.r(t),r.d(t,{default:()=>l});var a=r(37876),n=r(33035);let l=e=>{let{tag:t,selected:r=!1}=e;return(0,a.jsx)(n.A,{href:r?"/":"/tag/".concat(encodeURIComponent(t.name)),passHref:!0,className:"inline-block rounded-xl py-0.5 mr-2",children:(0,a.jsxs)("div",{className:"text-md font-bold text-shadow text-[#2EBF8B]",children:[r&&(0,a.jsx)("i",{className:"mr-1 fa-tag"})," ",t.name+(t.count?"(".concat(t.count,")"):"")," "]})},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.