1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3937,7835,79434,5824],{7835:function(e,r,t){var n=t(85893),a=t(41664),o=t.n(a),s=t(21384);let i=e=>{let{passHref:r,legacyBehavior:t,placeholderSrc:n,fallbackSrc:a,...o}=e;return o},l=e=>{let{placeholderSrc:r,fallbackSrc:t,src:n,alt:a,width:o,height:s,loading:i,decoding:l,onLoad:d,onError:c,...p}=e;return p};r.Z=e=>{let{href:r,children:t,...a}=e,d=(0,s.JA)("LINK"),c="";"string"==typeof r?c=r:"object"==typeof r&&null!==r&&"string"==typeof r.pathname&&(c=r.pathname);let p=c.startsWith("http")&&!c.startsWith(d),h=()=>{var e;let r=new URLSearchParams((null===(e=window.location.search)||void 0===e?void 0:e.slice(1))||""),t={};for(let[e,n]of r.entries())""!==n&&(t[e]=n);return t};if(p){let e="string"==typeof r?r:new URL(r.pathname,d).toString();return(0,n.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",...i(a),children:t})}let u="string"==typeof r?(e=>{if("string"!=typeof e||!e||e.startsWith("#"))return e;let r=h();if(0===Object.keys(r).length)return e;let t=e.startsWith("http://")||e.startsWith("https://"),n=new URL(e,d);return(Object.entries(r).forEach(e=>{let[r,t]=e;n.searchParams.has(r)||n.searchParams.set(r,t)}),t)?n.toString():"".concat(n.pathname).concat(n.search).concat(n.hash)})(r):(e=>{if(!e||"object"!=typeof e)return e;let r=h();return 0===Object.keys(r).length?e:{...e,query:{...r,...e.query||{}}}})(r);return(0,n.jsx)(o(),{href:u,...l(a),children:t})}},79434:function(e,r,t){t.r(r);var n=t(83454);let a={TYPOGRAPHY_BLOG_NAME:n.env.NEXT_PUBLIC_TYPOGRAPHY_BLOG_NAME||"æ´»åå°å·",TYPOGRAPHY_BLOG_NAME_EN:n.env.NEXT_PUBLIC_TYPOGRAPHY_BLOG_NAME_EN||n.env.NEXT_PUBLIC_TYPOGRAPHY_BLOG_NAME||"Typography",TYPOGRAPHY_POST_AD_ENABLE:n.env.NEXT_PUBLIC_TYPOGRAPHY_POST_AD_ENABLE||!1,TYPOGRAPHY_POST_COVER_ENABLE:n.env.NEXT_PUBLIC_TYPOGRAPHY_POST_COVER_ENABLE||!1,TYPOGRAPHY_ARTICLE_RECOMMEND_POSTS:n.env.NEXT_PUBLIC_TYPOGRAPHY_ARTICLE_RECOMMEND_POSTS||!0,TYPOGRAPHY_MENU_CATEGORY:!0,TYPOGRAPHY_MENU_TAG:!0,TYPOGRAPHY_MENU_ARCHIVE:!0};r.default=a},3937:function(e,r,t){t.r(r),t.d(r,{Layout404:function(){return I},LayoutArchive:function(){return H},LayoutBase:function(){return A},LayoutCategoryIndex:function(){return B},LayoutIndex:function(){return C},LayoutPostList:function(){return L},LayoutSearch:function(){return R},LayoutSlug:function(){return Y},LayoutTagIndex:function(){return M},THEME_CONFIG:function(){return h.default},useSimpleGlobal:function(){return O}});var n=t(85893),a=t(21384),o=t(76966),s=t(47935),i=t(5152),l=t.n(i),d=t(7835),c=t(11163),p=t(67294),h=t(79434),u=t(5824);let x=l()(()=>Promise.resolve().then(t.bind(t,31)).then(e=>e.AdSlot),{loadableGenerated:{webpack:()=>[31]},ssr:!1}),b=l()(()=>t.e(83855).then(t.bind(t,83855)),{loadableGenerated:{webpack:()=>[83855]},ssr:!0});l()(()=>t.e(56770).then(t.bind(t,56770)),{loadableGenerated:{webpack:()=>[56770]},ssr:!0});let g=l()(()=>Promise.all([t.e(2350),t.e(83756),t.e(87897)]).then(t.bind(t,87897)),{loadableGenerated:{webpack:()=>[87897]},ssr:!0}),m=l()(()=>Promise.all([t.e(81385),t.e(89319)]).then(t.bind(t,34701)),{loadableGenerated:{webpack:()=>[34701]},ssr:!1}),f=l()(()=>t.e(75801).then(t.bind(t,37712)),{loadableGenerated:{webpack:()=>[37712]},ssr:!1}),w=l()(()=>t.e(89023).then(t.bind(t,89023)),{loadableGenerated:{webpack:()=>[89023]},ssr:!1}),y=l()(()=>t.e(75830).then(t.bind(t,84995)),{loadableGenerated:{webpack:()=>[84995]},ssr:!1}),k=l()(()=>t.e(83610).then(t.bind(t,83610)),{loadableGenerated:{webpack:()=>[83610]},ssr:!1}),j=l()(()=>t.e(19304).then(t.bind(t,14388)),{loadableGenerated:{webpack:()=>[14388]},ssr:!1}),P=l()(()=>t.e(9357).then(t.bind(t,9357)),{loadableGenerated:{webpack:()=>[9357]},ssr:!1}),_=l()(()=>t.e(35934).then(t.bind(t,35934)),{loadableGenerated:{webpack:()=>[35934]},ssr:!1}),v=l()(()=>t.e(93821).then(t.bind(t,93821)),{loadableGenerated:{webpack:()=>[93821]},ssr:!1}),N=l()(()=>t.e(3048).then(t.bind(t,3048)),{loadableGenerated:{webpack:()=>[3048]},ssr:!1}),T=l()(()=>t.e(24421).then(t.bind(t,24421)),{loadableGenerated:{webpack:()=>[24421]},ssr:!1}),E=l()(()=>Promise.all([t.e(2350),t.e(83756),t.e(87897),t.e(1487)]).then(t.bind(t,90239)),{loadableGenerated:{webpack:()=>[90239]},ssr:!1}),S=l()(()=>t.e(34239).then(t.bind(t,56934)),{loadableGenerated:{webpack:()=>[56934]},ssr:!1}),G=(0,p.createContext)(),O=()=>(0,p.useContext)(G),A=e=>{let{children:r}=e,{onLoading:t,fullWidth:s}=(0,o.Og)(),i=(0,p.useRef)(null);return(0,n.jsx)(G.Provider,{value:{searchModal:i},children:(0,n.jsxs)("div",{id:"theme-typography",className:"".concat((0,a.JA)("FONT_STYLE")," font-typography h-screen flex flex-col dark:text-gray-300 bg-white dark:bg-[#232222] overflow-hidden"),children:[(0,n.jsx)(u.Style,{}),(0,a.JA)("SIMPLE_TOP_BAR",null,h.default)&&(0,n.jsx)(P,{...e}),(0,n.jsxs)("div",{className:"flex flex-1 mx-auto overflow-hidden py-8 md:p-0 md:max-w-7xl md:px-24 w-screen",children:[(0,n.jsx)("div",{className:"overflow-hidden md:mt-20 flex-1 ",children:(0,n.jsxs)("div",{id:"container-inner",className:"h-full w-full md:px-24 overflow-y-auto scroll-hidden relative",children:[(0,n.jsx)("div",{className:"md:hidden",children:(0,n.jsx)(_,{...e})}),t?(0,n.jsx)("div",{className:"flex items-center justify-center min-h-[500px] w-full",children:(0,n.jsx)("div",{className:"animate-spin rounded-full h-12 w-12 border-t-2 border-b-2 border-gray-900 dark:border-white"})}):(0,n.jsx)(n.Fragment,{children:r}),(0,n.jsx)(x,{type:"native"}),(0,n.jsx)("div",{className:"md:hidden z-30 ",children:(0,n.jsx)(N,{...e})})]})}),(0,n.jsxs)("div",{className:"hidden md:flex md:flex-col md:flex-shrink-0 md:h-[100vh] sticky top-20",children:[(0,n.jsx)(_,{...e}),(0,n.jsx)(N,{...e})]})]}),(0,n.jsx)("div",{className:"fixed right-4 bottom-4 z-20",children:(0,n.jsx)(v,{})}),(0,n.jsx)(m,{cRef:i,...e})]})})},C=e=>(0,n.jsx)(L,{...e}),L=e=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(b,{...e}),(0,n.jsx)(E,{...e})]}),R=e=>{let{keyword:r}=e;return(0,p.useEffect)(()=>
1{if(!s.isBrowser||!r)return;let e=!1,n=()=>{e||t.e(834).then(t.bind(t,834)).then(t=>{if(e)return;let n=t.default,a=document.getElementById("posts-wrapper");a&&n&&n({doms:a,search:r,target:{element:"span",className:"text-red-500 border-b border-dashed"}})}).catch(e=>{console.error("Failed to load mark component:",e)})};if(window.requestIdleCallback){let r=window.requestIdleCallback(n);return()=>{e=!0,window.cancelIdleCallback(r)}}let a=window.setTimeout(n,120);return()=>{e=!0,window.clearTimeout(a)}},[r]),(0,n.jsx)(L,{...e})},H=e=>{let{posts:r}=e,t=function(e){let r={};for(let t of e){let e=new Date(t.publishDate).getFullYear().toString();r[e]||(r[e]=[]),r[e].push(t)}for(let e in r)r[e].sort((e,r)=>r.publishDate-e.publishDate);return Object.entries(r).sort((e,r)=>{let[t]=e,[n]=r;return n-t}).map(e=>{let[r,t]=e;return{year:r,posts:t}})}(r);return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{className:"mb-10 pb-20 md:pb-12 p-5 min-h-screen w-full",children:t.map(e=>(0,n.jsx)(f,{archiveTitle:e.year,archivePosts:e.posts},e.year))})})},Y=e=>{let{post:r,lock:t,validPassword:a,prev:s,next:i,recommendPosts:l}=e,{fullWidth:d}=(0,o.Og)();return(0,n.jsxs)(n.Fragment,{children:[t&&(0,n.jsx)(w,{validPassword:a}),!t&&r&&(0,n.jsxs)("div",{className:"px-5 pt-3 ".concat(d?"":"xl:max-w-4xl 2xl:max-w-6xl"),children:[(0,n.jsx)(y,{post:r}),(0,n.jsx)(T,{orientation:"horizontal",className:"w-full"}),(0,n.jsx)("div",{id:"article-wrapper",children:!t&&(0,n.jsx)(g,{post:r})}),(0,n.jsx)(x,{type:"in-article"}),(null==r?void 0:r.type)==="Post"&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(j,{prev:s,next:i}),(0,n.jsx)(S,{recommendPosts:l})]}),(0,n.jsx)(k,{frontMatter:r})]})]})},I=e=>{let{post:r}=e,t=(0,c.useRouter)(),o=1e3*(0,a.JA)("POST_WAITING_TIME_FOR_404");return(0,p.useEffect)(()=>{r||setTimeout(()=>{s.isBrowser&&!document.querySelector("#article-wrapper #notion-article")&&t.push("/404").then(()=>{console.warn("æ¾ä¸å°é¡µé¢",t.asPath)})},o)},[r]),(0,n.jsx)(n.Fragment,{children:"404 Not found."})},B=e=>{let{categoryOptions:r}=e;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{id:"category-list",className:"px-5 duration-200 flex flex-wrap",children:null==r?void 0:r.map(e=>(0,n.jsx)(d.Z,{href:"/category/".concat(e.name),passHref:!0,legacyBehavior:!0,children:(0,n.jsxs)("div",{className:"hover:text-black dark:hover:text-white dark:text-gray-300 dark:hover:bg-gray-600 px-5 cursor-pointer py-2 hover:bg-gray-100",children:[(0,n.jsx)("i",{className:"mr-4 fas fa-folder"}),e.name,"(",e.count,")"]})},e.name))})})},M=e=>{let{tagOptions:r}=e;return(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("div",{id:"tags-list",className:"px-5 duration-200 flex flex-wrap",children:r.map(e=>(0,n.jsx)("div",{className:"p-2",children:(0,n.jsx)(d.Z,{href:"/tag/".concat(encodeURIComponent(e.name)),passHref:!0,className:"cursor-pointer inline-block rounded hover:bg-gray-500 hover:text-white duration-200 mr-2 py-1 px-2 text-xs whitespace-nowrap dark:hover:text-white text-gray-600 hover:shadow-xl dark:border-gray-400 notion-".concat(e.color,"_background dark:bg-gray-800"),children:(0,n.jsxs)("div",{className:"font-light dark:text-gray-400",children:[(0,n.jsx)("i",{className:"mr-1 fas fa-tag"})," ",e.name+(e.count?"(".concat(e.count,")"):"")," "]})},e)},e.name))})})}},5824:function(e,r,t){t.r(r),t.d(r,{Style:function(){return s}});var n=t(85893),a=t(40645),o=t.n(a);let s=()=>(0,n.jsx)(o(),{id:"9c09df4e4b971a2c",children:'html{-webkit-font-smoothing:antialiased}.font-typography{font-weight:400;font-family:Source Sans Pro,Roboto,Helvetica,Helvetica Neue,Source Han Sans SC,Source Han Sans TC,PingFang SC,PingFang HK,PingFang TC,sans-serif!important}}\n\n.dark body {background-color:rgb(35,34,34)}.forbid-copy{-moz-user-select:none;user-select:none;-webkit-user-select:none;-ms-user-select:none}.dark #theme-typography{background-image:-webkit-linear-gradient(left,rgb(255 255 255/.04)1px,transparent 1px),-webkit-linear-gradient(top,rgb(255 255 255/.04)1px,transparent 1px);background-image:-moz-linear-gradient(left,rgb(255 255 255/.04)1px,transparent 1px),-moz-linear-gradient(top,rgb(255 255 255/.04)1px,transparent 1px);background-image:-o-linear-gradient(left,rgb(255 255 255/.04)1px,transparent 1px),-o-linear-gradient(top,rgb(255 255 255/.04)1px,transparent 1px);background-image:linear-gradient(to right,rgb(255 255 255/.04)1px,transparent 1px),linear-gradient(to bottom,rgb(255 255 255/.04)1px,transparent 1px)}#theme-typography{--primary-color:#2e405b;background-color:rgb(255 255 255)/1;color:#2e405b;-webkit-background-size:7px 7px;-moz-background-size:7px 7px;-o-background-size:7px 7px;background-size:7px 7px;text-shadow:1px 1px 1px rgb(0 0 0/.04);background-image:-webkit-linear-gradient(left,rgb(0 0 0/.04)1px,transparent 1px),-webkit-linear-gradient(top,rgb(0 0 0/.04)1px,transparent 1px);background-image:-moz-linear-gradient(left,rgb(0 0 0/.04)1px,transparent 1px),-moz-linear-gradient(top,rgb(0 0 0/.04)1px,transparent 1px);background-image:-o-linear-gradient(left,rgb(0 0 0/.04)1px,transparent 1px),-o-linear-gradient(top,rgb(0 0 0/.04)1px,transparent 1px);background-image:linear-gradient(to right,rgb(0 0 0/.04)1px,transparent 1px),linear-gradient(to bottom,rgb(0 0 0/.04)1px,transparent 1px)}#theme-typography #blog-name{font-family:HiraMinProN-W6,"Source Han Serif CN","Source Han Serif SC","Source Han Serif TC",serif}#theme-typography #blog-name-en{font-family:HiraMinProN-W6,"Source Han Serif CN","Source Han Serif SC","Source Han Serif TC",serif}#theme-typography .blog-item-title{color:#276077}.dark #theme-typography .blog-item-title{color:#d1d5db}.notion{margin-top:0!important;margin-bottom:0!important}#container-wrapper .scroll-hidden{-ms-overflow-style:none;scrollbar-width:none}'})}}]);
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.