PageSourceSearch

https://openutx.cn/_next/static/chunks/157-eee8280975d8354e.js

js openutx.cn collected 2026-10-02 01:20:48 UTC 11,643 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[157],{6157:function(e,t,r){r.d(t,{Z:function(){return u}});var a=r(7458),s=r(9426),i=r.n(s),l=r(2983),o=r(9478),n=r.n(o);function d(e,t){return"bilibili"==e?(0,a.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1946",width:t,height:t,children:(0,a.jsx)("path",{d:"M306.005333 117.632L444.330667 256h135.296l138.368-138.325333a42.666667 42.666667 0 0 1 60.373333 60.373333L700.330667 256H789.333333A149.333333 149.333333 0 0 1 938.666667 405.333333v341.333334a149.333333 149.333333 0 0 1-149.333334 149.333333h-554.666666A149.333333 149.333333 0 0 1 85.333333 746.666667v-341.333334A149.333333 149.333333 0 0 1 234.666667 256h88.96L245.632 177.962667a42.666667 42.666667 0 0 1 60.373333-60.373334zM789.333333 341.333333h-554.666666a64 64 0 0 0-63.701334 57.856L170.666667 405.333333v341.333334a64 64 0 0 0 57.856 63.701333L234.666667 810.666667h554.666666a64 64 0 0 0 63.701334-57.856L853.333333 746.666667v-341.333334A64 64 0 0 0 789.333333 341.333333zM341.333333 469.333333a42.666667 42.666667 0 0 1 42.666667 42.666667v85.333333a42.666667 42.666667 0 0 1-85.333333 0v-85.333333a42.666667 42.666667 0 0 1 42.666666-42.666667z m341.333334 0a42.666667 42.666667 0 0 1 42.666666 42.666667v85.333333a42.666667 42.666667 0 0 1-85.333333 0v-85.333333a42.666667 42.666667 0 0 1 42.666667-42.666667z","p-id":"1947"})}):"email"==e?(0,a.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2909",width:t,height:t,children:(0,a.jsx)("path",{d:"M874.666667 181.333333H149.333333c-40.533333 0-74.666667 34.133333-74.666666 74.666667v512c0 40.533333 34.133333 74.666667 74.666666 74.666667h725.333334c40.533333 0 74.666667-34.133333 74.666666-74.666667V256c0-40.533333-34.133333-74.666667-74.666666-74.666667z m-725.333334 64h725.333334c6.4 0 10.666667 4.266667 10.666666 10.666667v25.6L512 516.266667l-373.333333-234.666667V256c0-6.4 4.266667-10.666667 10.666666-10.666667z m725.333334 533.333334H149.333333c-6.4 0-10.666667-4.266667-10.666666-10.666667V356.266667l356.266666 224c4.266667 4.266667 10.666667 4.266667 17.066667 4.266666s12.8-2.133333 17.066667-4.266666l356.266666-224V768c0 6.4-4.266667 10.666667-10.666666 10.666667z","p-id":"2910"})}):"github"==e?(0,a.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"3932",width:t,height:t,children:(0,a.jsx)("path",{d:"M0 524.992q0 166.016 95.488 298.496t247.488 185.504q6.016 0.992 10.016 0.992t6.496-1.504 4-3.008 2.016-4.992 0.512-4.992v-100.512q-36.992 4-66.016-0.512t-45.504-14.016-28.992-23.488-16.992-25.504-8.992-24-5.504-14.496q-8.992-15.008-27.008-27.488t-27.008-20-2.016-14.496q50.016-26.016 112.992 66.016 34.016 51.008 119.008 30.016 10.016-40.992 40-70.016Q293.984 736 237.984 670.976t-56-158.016q0-87.008 55.008-151.008-22.016-64.992 6.016-136.992 28.992-2.016 64.992 11.488t50.496 23.008 25.504 17.504q56.992-16 128.512-16t129.504 16q12.992-8.992 28.992-19.008t48.992-21.504 60.992-9.504q27.008 71.008 7.008 135.008 56 64 56 151.008 0 92.992-56.992 158.496t-172 85.504q43.008 43.008 43.008 104v128.992q0 0.992 0.992 3.008 0 6.016 0.512 8.992t4.512 6.016 12 3.008q152.992-52 250.496-185.504t97.504-300.512q0-104-40.512-199.008t-108.992-163.488-163.488-108.992T512.032 12.96 313.024 53.472 149.536 162.464t-108.992 163.488-40.512 199.008z","p-id":"3933"})}):"wechat"==e?(0,a.jsx)("svg",{viewBox:"0 0 1171 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5410",width:t,height:t,children:(0,a.jsx)("path",{d:"M331.556571 263.460571q0-23.405714-14.262857-37.741714t-37.741714-14.262857q-24.576 0-43.446857 14.555429t-18.870857 37.449143q0 22.308571 18.870857 36.864t43.446857 14.555429q23.405714 0 37.741714-13.970286t14.262857-37.449143zM756.150857 553.179429q0-16.018286-14.555429-28.598857t-37.449143-12.580571q-15.433143 0-28.306286 12.873143t-12.873143 28.306286q0 16.018286 12.873143 28.891429t28.306286 12.873143q22.820571 0 37.449143-12.580571t14.555429-29.110857zM621.275429 263.460571q0-23.405714-13.970286-37.741714t-37.449143-14.262857q-24.576 0-43.446857 14.555429t-18.870857 37.449143q0 22.308571 18.870857 36.864t43.446857 14.555429q23.405714 0 37.449143-13.970286t13.970286-37.449143zM984.137143 553.179429q0-16.018286-14.848-28.598857t-37.156571-12.580571q-15.433143 0-28.306286 12.873143t-12.873143 28.306286q0 16.018286 12.873143 28.891429t28.306286 12.873143q22.308571 0 37.
1156571-12.580571t14.848-29.110857zM832.146286 326.290286q-17.700571-2.267429-40.009143-2.267429-96.548571 0-177.737143 44.032t-127.707429 119.149714-46.592 164.278857q0 44.544 13.165714 86.820571-19.968 1.682286-38.838857 1.682286-14.848 0-28.598857-0.877714t-31.451429-3.730286-25.453714-4.022857-31.158857-5.997714-28.598857-5.997714l-144.603429 72.557714 41.179429-124.562286q-165.741714-116.004571-165.741714-279.990857 0-96.548571 55.734857-177.737143t150.820571-127.707429 207.725714-46.592q100.571429 0 190.025143 37.741714t149.723429 104.301714 77.970286 148.845714zM1170.432 646.875429q0 66.852571-39.131429 127.707429t-105.984 110.592l31.451429 103.424-113.737143-62.317714q-85.723429 21.138286-124.562286 21.138286-96.548571 0-177.737143-40.301714t-127.707429-109.421714-46.592-150.820571 46.592-150.820571 127.707429-109.421714 177.737143-40.301714q92.013714 0 173.129143 40.301714t129.974857 109.714286 48.859429 150.601143z","p-id":"5411"})}):"gitee"==e?(0,a.jsx)("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"1932",width:t,height:t,children:(0,a.jsx)("path",{d:"M512 1024C230.4 1024 0 793.6 0 512S230.4 0 512 0s512 230.4 512 512-230.4 512-512 512z m259.2-569.6H480c-12.8 0-25.6 12.8-25.6 25.6v64c0 12.8 12.8 25.6 25.6 25.6h176c12.8 0 25.6 12.8 25.6 25.6v12.8c0 41.6-35.2 76.8-76.8 76.8h-240c-12.8 0-25.6-12.8-25.6-25.6V416c0-41.6 35.2-76.8 76.8-76.8h355.2c12.8 0 25.6-12.8 25.6-25.6v-64c0-12.8-12.8-25.6-25.6-25.6H416c-105.6 0-188.8 86.4-188.8 188.8V768c0 12.8 12.8 25.6 25.6 25.6h374.4c92.8 0 169.6-76.8 169.6-169.6v-144c0-12.8-12.8-25.6-25.6-25.6z","p-id":"1933"})}):void 0}var c=r(7205);let h=e=>e.substring(0,1).toLocaleUpperCase()+e.substring(1);var x=r(8648),p=r(9919);function m(e){let{theme:t}=(0,l.useContext)(x.N),r=(0,l.useMemo)(()=>"wechat"==e.item.type?t.includes("dark")&&e.item.dark&&""!=e.item.dark?e.item.dark:e.item.value:"",[t,e]),s=(0,l.useMemo)(()=>t.includes("dark")?"#1b1c1f":"white",[t]),[i,o]=(0,l.useState)(!1),n={marginLeft:"12px"},m="fill-gray-500 dark:text-dark dark:group-hover:text-dark-r transition-all ";return"email"==e.item.type?(0,a.jsxs)("a",{style:{display:"inline-flex",width:"100%",justifyContent:"start"},href:"mailto:".concat(e.item.value),children:[(0,a.jsx)("span",{className:m,style:n,children:d(e.item.type,20)}),(0,a.jsx)("span",{className:"inline-flex items-center ml-1",children:"Email"})]}):["wechat"].includes(e.item.type)?(0,a.jsx)(c.Popover,{isOpen:i,onClickOutside:()=>{o(!1)},positions:["top","left"],content:e=>{let{position:t,childRect:i,popoverRect:l}=e;return(0,a.jsx)(c.ArrowContainer,{position:t,childRect:i,popoverRect:l,arrowColor:s,arrowSize:10,arrowStyle:{opacity:.7},className:" ",arrowClassName:"popover-arrow ",children:(0,a.jsx)("div",{className:"card-shadow bg-white dark:bg-dark-2 dark:card-shadow-dark",style:{height:280},children:(0,a.jsx)(p.Z,{alt:"logo wechat qrcode",src:r,width:200,height:280,className:"",lazyLoad:!0})})})},children:(0,a.jsxs)("a",{target:"_blank",style:{display:"inline-flex",width:"100%",justifyContent:"start"},onClick:()=>{o(!i)},children:[(0,a.jsx)("span",{style:n,className:m,children:d(e.item.type,20)}),(0,a.jsx)("span",{className:"inline-flex items-center ml-1",children:h(e.item.type)})]})}):(0,a.jsxs)("a",{style:{display:"inline-flex",width:"100%",justifyContent:"start"},href:e.item.value,target:"_blank",children:[(0,a.jsx)("span",{style:n,className:m,children:d(e.item.type,20)}),(0,a.jsx)("span",{className:"inline-flex items-center ml-1",children:h(e.item.type)})]})}function v(e){let[t,r]=(0,l.useState)([]);(0,l.useEffect)(()=>{if(!e.socials||!e.socials.length)return;let t=e.socials.filter(e=>"wechat-dark"!=e.type),a=e.socials.find(e=>"wechat-dark"==e.type),s=Math.ceil(t.length/2),i=[];for(let e=0;e<s;e++){let e=[];for(let r=0;r<2;r++){let r=t.shift();r&&("wechat"==r.type&&a&&(r={...r,dark:a.value}),e.push(r))}i.push(e)}r(i)},[e,r]);let s=e=>e?(0,a.jsx)("div",{className:"w-1/2 mb-1  mx-1 flex items-center rounded-sm transition-all text-xs text-gray-500 dark:text-dark group  hover:bg-gray-200 dark:hover:bg-dark-light dark:hover:text-dark-r select-none cursor-pointer",style:{padding:"2px 0"},children:(0,a.jsx)(m,{item:e})}):(0,a.jsx)("div",{});return(0,a.jsx)("div",{className:"flex flex-col justify-center items-center",children:t.map((e,t)=>(0,a.jsxs)("div",{className:"w-full flex flex-row justify-between items-center",children:[s(e[0]),s(e[1])]},"socalRow-".concat(t)))})}function u(e){let{theme:t}=(0,l.useContext)(x.N),r=(0,l.useMemo)(()=>t.includes("dark")&&e.option.logoDark&&""!=e.option.logoDark?e.option.logoDark:e.option.logo,[t,e]);return(0,l.useEffect)(()=>{let t=document.querySelector("#author-card");if(t){let r=new(n())(t,{classes:{initial:"side-bar".concat("true"==e.option.showSubMenu?"":" no-submenu"),pinned:"side-bar-pinned",unpinned:"side-bar-unpinned",top:"side-bar-top",notTop:"side-bar-not-top"}});r.init()}}),(0,a.jsx)("div",{id:"author-card",className:"sticky ",children:(0,a.jsxs)("div",{className:"w-52 flex flex-col justify-center items-center bg-white pt-6  pb-4 card-shadow ml-2 dark:bg-dark dark:card-shadow-dark",children:[(0,a.jsxs)("div",{className:"px-10 flex flex-col justify-center items-center",children:[(0,a.jsx)(p.Z,{alt:"author logo",className:"rounded-full  dark:filter-dark",src:r,width:120,height:120,lazyLoad:!1}),(0,a.jsx)("div",{className:"mt-2 font-semibold text-gray-600 mb-2 dark:text-dark",children:e.option.author}),(0,a.jsx)("div",{className:"text-sm text-gray-500 mb-2 dark:text-dark-light",children:e.option.desc}),(0,a.jsxs)("div",{className:"flex",children:[(0,a.jsx)(i(),{href:"/timeline",children:(0,a.jsxs)("div",{className:"group flex flex-col justify-center items-center text-gray-600 text-sm px-1 dark:text-dark ",children:[(0,a.jsx)("div",{className:"group-hover:text-gray-900 font-bold group-hover:font-black dark:group-hover:text-dark-h
1over",children:e.option.postNum}),(0,a.jsx)("div",{className:"group-hover:text-gray-900 group-hover:font-normal text-gray-500 dark:text-dark-light dark:group-hover:text-dark-hover",children:"日志"})]})}),(0,a.jsx)(i(),{href:"/category",children:(0,a.jsxs)("div",{className:"group flex flex-col justify-center items-center text-gray-600 text-sm px-1 dark:text-dark",children:[(0,a.jsx)("div",{className:"group-hover:text-gray-900 font-bold group-hover:font-black dark:group-hover:text-dark-hover",children:e.option.catelogNum}),(0,a.jsx)("div",{className:"group-hover:text-gray-900 group-hover:font-normal text-gray-500 dark:text-dark-light dark:group-hover:text-dark-hover",children:"分类"})]})}),(0,a.jsx)(i(),{href:"/tag",children:(0,a.jsxs)("div",{className:"group flex flex-col justify-center items-center text-gray-600 text-sm px-1 dark:text-dark",children:[(0,a.jsx)("div",{className:"group-hover:text-gray-900 font-bold group-hover:font-black dark:group-hover:text-dark-hover",children:e.option.tagNum}),(0,a.jsx)("div",{className:" group-hover:text-gray-900 group-hover:font-normal text-gray-500 dark:text-dark-light dark:group-hover:text-dark-hover",children:"标签"})]})})]})]}),(0,a.jsx)("div",{className:"mt-4 w-full",children:(0,a.jsx)(v,{socials:e.option.socials})})]})})}}}]);

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.