diff --git a/assets/SimpleInfoItem-legacy.4cdaabbc.js b/assets/SimpleInfoItem-legacy.4cdaabbc.js new file mode 100644 index 0000000..a67ffd0 --- /dev/null +++ b/assets/SimpleInfoItem-legacy.4cdaabbc.js @@ -0,0 +1 @@ +!function(){var t=document.createElement("style");t.innerHTML=".item-container[data-v-15c332d0]{padding:20px 0;border-bottom:1px solid rgb(237,237,237)}.item-summary[data-v-15c332d0]{font-size:14px;margin:10px 0;color:#444}.item-dot[data-v-15c332d0]{padding:0 5px}.item-info[data-v-15c332d0]{display:flex;color:#757575;font-size:12px;justify-content:space-between}\n",document.head.appendChild(t),System.register(["./time-legacy.6a1839f7.js","./index-legacy.e30550da.js"],(function(t){"use strict";var e,n,i,o,a,s,c,r,d,l,f,m,u,p;return{setters:[function(t){e=t.F},function(t){n=t.d,i=t.r,o=t.o,a=t.c,s=t.f,c=t.w,r=t.a,d=t.t,l=t.g,f=t.h,m=t._,u=t.p,p=t.i}],execute:function(){const v={class:"item-container"},y={class:"article-title content-limit-one"},g={class:"item-summary content-limit-two"},x={class:"item-info"},I={class:"article-info-base"},_=(t=>(u("data-v-15c332d0"),t=t(),p(),t))((()=>r("span",{class:"item-dot"},"·",-1))),b={class:"article-info-time"},h=n({__name:"SimpleInfoItem",props:{info:{type:Object,required:!0}},setup(t){const n=e(t.info.CreatedAt);return(e,m)=>{const u=i("router-link");return o(),a("div",v,[s(u,{to:`/post/${t.info.Id}`},{default:c((()=>[r("h2",y,d(t.info.Title),1),r("div",g,d(t.info.Summary),1)])),_:1},8,["to"]),r("div",x,[r("span",I,[r("span",null,d(t.info.Category.CN),1),_,r("span",null,[s(u,{to:`/users/${t.info.AuthorInfo.UID}`},{default:c((()=>[l(d(t.info.AuthorInfo.Nickname),1)])),_:1},8,["to"])])]),r("span",b,d(f(n)),1)])])}}});t("S",m(h,[["__scopeId","data-v-15c332d0"]]))}}}))}(); diff --git a/assets/SimpleInfoItem-legacy.b7b97413.js b/assets/SimpleInfoItem-legacy.b7b97413.js deleted file mode 100644 index 198c179..0000000 --- a/assets/SimpleInfoItem-legacy.b7b97413.js +++ /dev/null @@ -1 +0,0 @@ -var __vite_style__=document.createElement("style");__vite_style__.innerHTML=".item-container[data-v-15c332d0]{padding:20px 0;border-bottom:1px solid #ededed}.item-summary[data-v-15c332d0]{font-size:14px;margin:10px 0;color:#444}.item-dot[data-v-15c332d0]{padding:0 5px}.item-info[data-v-15c332d0]{display:flex;color:#757575;font-size:12px;justify-content:space-between}",document.head.appendChild(__vite_style__),System.register(["./time-legacy.6cd5ad23.js","./vendor-legacy.73e5f43f.js"],(function(t){"use strict";var e,n,i,o,a,s,r,c,d,l,u,f;return{setters:[function(t){e=t.F},function(t){n=t.k,i=t.x,o=t.n,a=t.p,s=t.z,r=t.B,c=t.A,d=t.u,l=t.N,u=t.O,f=t.P}],execute:function(){var m=l();u("data-v-15c332d0");var p={class:"item-container"},_={class:"article-title content-limit-one"},v={class:"item-summary content-limit-two"},y={class:"item-info"},x={class:"article-info-base"},g=s("span",{class:"item-dot"},"·",-1),b={class:"article-info-time"};f();t("_",n({expose:[],props:{info:{type:Object,required:!0}},setup:function(t){var n=e(t.info.CreatedAt);return m((function(e,l){var u=i("router-link");return o(),a("div",p,[s(u,{to:"/post/"+t.info.Id},{default:m((function(){return[s("h2",_,r(t.info.Title),1),s("div",v,r(t.info.Summary),1)]})),_:1},8,["to"]),s("div",y,[s("span",x,[s("span",null,r(t.info.Category.CN),1),g,s("span",null,[s(u,{to:"/users/"+t.info.AuthorInfo.UID},{default:m((function(){return[c(r(t.info.AuthorInfo.Nickname),1)]})),_:1},8,["to"])])]),s("span",b,r(d(n)),1)])])}))}})).__scopeId="data-v-15c332d0"}}})); diff --git a/assets/SimpleInfoItem.5587176d.css b/assets/SimpleInfoItem.5587176d.css new file mode 100644 index 0000000..5625bbe --- /dev/null +++ b/assets/SimpleInfoItem.5587176d.css @@ -0,0 +1 @@ +.item-container[data-v-15c332d0]{padding:20px 0;border-bottom:1px solid rgb(237,237,237)}.item-summary[data-v-15c332d0]{font-size:14px;margin:10px 0;color:#444}.item-dot[data-v-15c332d0]{padding:0 5px}.item-info[data-v-15c332d0]{display:flex;color:#757575;font-size:12px;justify-content:space-between} diff --git a/assets/SimpleInfoItem.9e8e851e.css b/assets/SimpleInfoItem.9e8e851e.css deleted file mode 100644 index 02c971c..0000000 --- a/assets/SimpleInfoItem.9e8e851e.css +++ /dev/null @@ -1 +0,0 @@ -.item-container[data-v-15c332d0]{padding:20px 0;border-bottom:1px solid #ededed}.item-summary[data-v-15c332d0]{font-size:14px;margin:10px 0;color:#444}.item-dot[data-v-15c332d0]{padding:0 5px}.item-info[data-v-15c332d0]{display:flex;color:#757575;font-size:12px;justify-content:space-between} \ No newline at end of file diff --git a/assets/SimpleInfoItem.b3f6f051.js b/assets/SimpleInfoItem.b3f6f051.js deleted file mode 100644 index 5c7411f..0000000 --- a/assets/SimpleInfoItem.b3f6f051.js +++ /dev/null @@ -1 +0,0 @@ -import{F as t}from"./time.93dfc2a8.js";import{k as s,x as a,n as o,p as n,z as e,B as i,A as r,u as c,N as l,O as f,P as d}from"./vendor.18b3a30d.js";const m=l();f("data-v-15c332d0");const p={class:"item-container"},u={class:"article-title content-limit-one"},v={class:"item-summary content-limit-two"},I={class:"item-info"},_={class:"article-info-base"},y=e("span",{class:"item-dot"},"·",-1),A={class:"article-info-time"};d();var b=s({expose:[],props:{info:{type:Object,required:!0}},setup(s){const l=t(s.info.CreatedAt);return m(((t,f)=>{const d=a("router-link");return o(),n("div",p,[e(d,{to:`/post/${s.info.Id}`},{default:m((()=>[e("h2",u,i(s.info.Title),1),e("div",v,i(s.info.Summary),1)])),_:1},8,["to"]),e("div",I,[e("span",_,[e("span",null,i(s.info.Category.CN),1),y,e("span",null,[e(d,{to:`/users/${s.info.AuthorInfo.UID}`},{default:m((()=>[r(i(s.info.AuthorInfo.Nickname),1)])),_:1},8,["to"])])]),e("span",A,i(c(l)),1)])])}))}});b.__scopeId="data-v-15c332d0";export{b as _}; diff --git a/assets/SimpleInfoItem.f181eadd.js b/assets/SimpleInfoItem.f181eadd.js new file mode 100644 index 0000000..dfa3190 --- /dev/null +++ b/assets/SimpleInfoItem.f181eadd.js @@ -0,0 +1 @@ +import{F as c}from"./time.c677e366.js";import{d as r,r as d,o as l,c as m,f as n,w as a,a as e,t as o,g as _,h as f,_ as p,p as u,i as h}from"./index.9f66ff77.js";const I=t=>(u("data-v-15c332d0"),t=t(),h(),t),v={class:"item-container"},S={class:"article-title content-limit-one"},x={class:"item-summary content-limit-two"},y={class:"item-info"},C={class:"article-info-base"},N=I(()=>e("span",{class:"item-dot"},"\xB7",-1)),k={class:"article-info-time"},w=r({__name:"SimpleInfoItem",props:{info:{type:Object,required:!0}},setup(t){const i=c(t.info.CreatedAt);return(A,B)=>{const s=d("router-link");return l(),m("div",v,[n(s,{to:`/post/${t.info.Id}`},{default:a(()=>[e("h2",S,o(t.info.Title),1),e("div",x,o(t.info.Summary),1)]),_:1},8,["to"]),e("div",y,[e("span",C,[e("span",null,o(t.info.Category.CN),1),N,e("span",null,[n(s,{to:`/users/${t.info.AuthorInfo.UID}`},{default:a(()=>[_(o(t.info.AuthorInfo.Nickname),1)]),_:1},8,["to"])])]),e("span",k,o(f(i)),1)])])}}});var D=p(w,[["__scopeId","data-v-15c332d0"]]);export{D as S}; diff --git a/assets/index-legacy.2625a0df.js b/assets/index-legacy.2625a0df.js deleted file mode 100644 index 74b3aad..0000000 --- a/assets/index-legacy.2625a0df.js +++ /dev/null @@ -1 +0,0 @@ -import"core-js/modules/es.promise.js";import"core-js/modules/es.object.to-string.js";function asyncGeneratorStep(e,n,t,r,a,i,o){try{var u=e[i](o),s=u.value}catch(d){return void t(d)}u.done?n(s):Promise.resolve(s).then(r,a)}function _asyncToGenerator(e){return function(){var n=this,t=arguments;return new Promise((function(r,a){var i=e.apply(n,t);function o(e){asyncGeneratorStep(i,r,a,o,u,"next",e)}function u(e){asyncGeneratorStep(i,r,a,o,u,"throw",e)}o(void 0)}))}}var __vite_style__=document.createElement("style");__vite_style__.innerHTML=".signin-container[data-v-7f7d81da]{display:flex;align-items:center;justify-content:center;padding:50px 15px}.signin-container div[data-v-7f7d81da]{padding:15px 0;margin:0 auto;width:100%}.title[data-v-7f7d81da]{font-size:24px;padding:15px 0;font-weight:500;color:#262626}.summary[data-v-7f7d81da]{font-size:12px;color:#6a6a6a}.signin-title[data-v-7f7d81da]{text-align:center}.signin-info[data-v-7f7d81da]{font-size:12px}div button[data-v-7f7d81da],div input[data-v-7f7d81da]{outline:0;display:flex;justify-content:center;align-items:center;padding:10px;width:100%;border-radius:5px;border:1px solid #999;font-size:14px;box-sizing:border-box}.signin-info span[data-v-7f7d81da]{font-weight:bolder}.signin-main[data-v-7f7d81da]{max-width:750px;overflow:hidden}.btn-login-register[data-v-7f7d81da]{background-color:#f5f5f5;opacity:.5}.btn-login-register[data-v-7f7d81da]:hover{opacity:1}",document.head.appendChild(__vite_style__),System.register(["./vendor-legacy.73e5f43f.js","./index-legacy.fe0e17a6.js"],(function(e){"use strict";var n,t,r,a,i,o,u,s,d,l,c,v,f,p,m,g,y,x,b,h,_,k;return{setters:[function(e){n=e.k,t=e.x,r=e.n,a=e.p,i=e.z,o=e.W,u=e.X,s=e.y,d=e.u,l=e.F,c=e.A,v=e.B,f=e.N,p=e.O,m=e.P},function(e){g=e.c,y=e.u,x=e.b,b=e.e,h=e.f,_=e.S,k=e.g}],execute:function(){var w=function(e){return e.match(/^[a-zA-Z][a-zA-Z0-9_]{4,15}$/)?"":"参数必须为字母开头的5-16位数字和字母组合"},j=f();p("data-v-7f7d81da");var R={class:"signin-container"},z={class:"signin-main"},C={class:"signin-title"},G=i("div",null,"嘿;-) 好巧在这里遇到您.",-1),T=c(" 这里是远浅自建用来叨叨的网站, 要是您懒得注册可以直接点这里去逛逛。 "),U=i("div",{class:"signin-info"}," 直接输入登录名称开始探险叭~我们很智能哒~会自动帮你切换登录/注册 ",-1),A={class:"signin-form"},E={class:"form-account"},N={key:0},S={class:"summary"},I=c(" 注册一下不会有任何损失,甚至会变得更加 "),P=i("del",null,"沙雕",-1),V=c(" 快乐。 ");m();e("default",n({expose:[],setup:function(e){var n=g(),f=y(),p=x(),m=ref(""),M=ref(""),Z=ref(""),B=ref(!1),D=computed((function(){return f.User.Id}));watch(m,(function(e){e.trim()&&b({type:"loginName",value:e.trim()}).then((function(e){1000005===e.Result?B.value=!1:B.value=!0}))}));var F=function(){var e=_asyncToGenerator(regeneratorRuntime.mark((function e(){var t,r,a,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=w(m.value.trim()))){e.next=4;break}return n.error(t),e.abrupt("return");case 4:return e.next=6,h({type:"loginName",value:m.value.trim(),password:Z.value.trim()});case 6:if(!(null!=(r=e.sent)&&r.ErrorCode||null==r)&&r.Result){e.next=10;break}return n.error(r.ErrorCode+" "+r.ErrorMsg),e.abrupt("return");case 10:a=r.Result.Token,i=r.Result.TokenAvailableDays,_(a,i),f.GetAuthedUserInfo(),n.success("欢迎 "+(null==r?void 0:r.Result.UserInfo.Nickname)+" 前来观光",{onClose:function(){p.back()}});case 15:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),H=function(){var e=_asyncToGenerator(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t=w(m.value.trim()))){e.next=4;break}return n.error(t),e.abrupt("return");case 4:return e.next=6,k({type:"loginName",value:m.value.trim(),password:Z.value.trim(),nickname:M.value.trim()});case 6:e.sent.ErrorCode||n.success("注册成功,即将自动登录~ "+m.value,{onClose:function(){F()}});case 8:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return j((function(e,n){var f=t("router-link");return r(),a("div",R,[i("div",z,[i("div",C,[G,i("div",null,[i(f,{to:"/"},{default:j((function(){return[T]})),_:1})])]),U,i("div",A,[i("div",E,[o(i("input",{type:"text",name:"account",id:"account","onUpdate:modelValue":n[1]||(n[1]=function(e){return m.value=e}),placeholder:"账户登录名称,字母开头的5-16位数字和字母组合"},null,512),[[u,m.value,void 0,{trim:!0}]])]),B.value?(r(),a("div",N,[o(i("input",{type:"text",name:"nickname",id:"nickname","onUpdate:modelValue":n[2]||(n[2]=function(e){return M.value=e}),placeholder:"用户昵称"},null,512),[[u,M.value,void 0,{trim:!0}]])])):s("",!0),i("div",null,[o(i("input",{type:"password",name:"password",id:"password","onUpdate:modelValue":n[3]||(n[3]=function(e){return Z.value=e}),placeholder:"登录密码"},null,512),[[u,Z.value,void 0,{trim:!0}]])]),i("div",null,[B.value?(r(),a("button",{key:0,type:"button",class:"btn-login-register",onClick:H}," 立即注册 ")):(r(),a("button",{key:1,type:"button",class:"btn-login-register",onClick:F}," 立即登录 "))])]),i("div",S,[I,P,V,d(D)?(r(),a(l,{key:0},[c("很少有人让我心动 但你是第"+v(d(D))+"个。",1)],64)):s("",!0)])])])}))}})).__scopeId="data-v-7f7d81da"}}})); diff --git a/assets/index-legacy.3582d737.js b/assets/index-legacy.3582d737.js new file mode 100644 index 0000000..22ba04b --- /dev/null +++ b/assets/index-legacy.3582d737.js @@ -0,0 +1 @@ +!function(){var e=document.createElement("style");e.innerHTML=".not-found[data-v-ad037df8]{height:100vh;width:100vw;display:flex;align-items:center;justify-content:center;font-size:32px;color:#666}.x-mian div[data-v-ad037df8]{padding:2rem 0;display:flex;flex-direction:column;align-items:center}\n",document.head.appendChild(e),System.register(["./index-legacy.e30550da.js"],(function(e){"use strict";var n,t,d,a,i,l,o,c,u,r,s;return{setters:[function(e){n=e._,t=e.d,d=e.m,a=e.j,i=e.o,l=e.c,o=e.a,c=e.t,u=e.h,r=e.p,s=e.i}],execute:function(){const f={class:"not-found"},v={class:"x-mian"},m=(e=>(r("data-v-ad037df8"),e=e(),s(),e))((()=>o("div",null,"你所寻找的页面不在服务区~",-1))),p=t({__name:"index",setup(e){const n=d(),t=ref(5);let r;return a({title:"404 not found"}),onMounted((()=>{r=setInterval((()=>{t.value=t.value-1,t.value<=0&&n.replace("/")}),1e3)})),onUnmounted((()=>{clearInterval(r)})),(e,n)=>(i(),l("div",f,[o("div",v,[m,o("div",null,c(u(t))+"秒后返回主页",1)])]))}});e("default",n(p,[["__scopeId","data-v-ad037df8"]]))}}}))}(); diff --git a/assets/index-legacy.3ecc379f.js b/assets/index-legacy.3ecc379f.js deleted file mode 100644 index e7c0586..0000000 --- a/assets/index-legacy.3ecc379f.js +++ /dev/null @@ -1 +0,0 @@ -var __vite_style__=document.createElement("style");__vite_style__.innerHTML=".not-found[data-v-ad037df8]{height:100vh;width:100vw;display:flex;align-items:center;justify-content:center;font-size:32px;color:#666}.x-mian div[data-v-ad037df8]{padding:2rem 0;display:flex;flex-direction:column;align-items:center}",document.head.appendChild(__vite_style__),System.register(["./index-legacy.fe0e17a6.js","./vendor-legacy.73e5f43f.js"],(function(e){"use strict";var n,t,a,i,d,l,u,o,r,c;return{setters:[function(e){n=e.b,t=e.a},function(e){a=e.k,i=e.n,d=e.p,l=e.z,u=e.B,o=e.N,r=e.O,c=e.P}],execute:function(){var f=o();r("data-v-ad037df8");var s={class:"not-found"},v={class:"x-mian"},_=l("div",null,"你所寻找的页面不在服务区~",-1);c();e("default",a({expose:[],setup:function(e){var a,o=n(),r=ref(5);return t({title:"404 not found"}),onMounted((function(){a=setInterval((function(){r.value=r.value-1,r.value<=0&&o.replace("/")}),1e3)})),onUnmounted((function(){clearInterval(a)})),f((function(e,n){return i(),d("div",s,[l("div",v,[_,l("div",null,u(r.value)+"秒后返回主页",1)])])}))}})).__scopeId="data-v-ad037df8"}}})); diff --git a/assets/index-legacy.4fa2859b.js b/assets/index-legacy.4fa2859b.js deleted file mode 100644 index 51d4a40..0000000 --- a/assets/index-legacy.4fa2859b.js +++ /dev/null @@ -1 +0,0 @@ -var __vite_style__=document.createElement("style");__vite_style__.innerHTML="a[data-v-23ebcad1]{color:teal}h1[data-v-23ebcad1]{font-size:18px}.about-item-container[data-v-23ebcad1]{margin:10px 0}.about-item-container p[data-v-23ebcad1]{line-height:1.8;font-size:16px;margin-top:10px}.about-item-container h2[data-v-23ebcad1]{font-size:16px;font-weight:700}.about-title[data-v-23ebcad1]{margin-top:20px}",document.head.appendChild(__vite_style__),System.register(["./index.vue_vue&type=style&index=0&lang-legacy.9710ae63.js","./vendor-legacy.73e5f43f.js","./index-legacy.fe0e17a6.js"],(function(t){"use strict";var e,n,l,a,o,u,i,r,c;return{setters:[function(t){e=t._},function(t){n=t.k,l=t.n,a=t.p,o=t.N,u=t.O,i=t.z,r=t.A,c=t.P},function(){}],execute:function(){var p=o();u("data-v-23ebcad1");var s=i("div",{class:"about-container"},[i("h1",{class:"about-title"},"关于本站"),i("div",{class:"about-item-container"},[i("h2",null,"技术相关"),i("p",null,[r(" 本站是 "),i("a",{href:"https://happysooner.com"},"happysooner.com"),r(" 的Vue复刻版。 ")]),i("p",null," 这是一个前端采用 Vue 全家桶,后端使用微服务架构搭建的网站。 "),i("p",null,[r(" 代码存贮于 "),i("a",{href:"https://github.com/unliar/vue3-ts-happysooner-web"}," Github"),r(" 拥有完整的 "),i("a",{href:"https://mp.weixin.qq.com/s/bJtO5Y54XIB8qfJR6ownyg",target:"_blank"},"Github Action"),r(" 自动化构建部署流程 。 ")]),i("p",null,[r(" 大致架构图: "),i("img",{src:"https://cdn.gelonghui.com/ad/96660-6bfe1023-cc1c-4928-a192-ca2f1773c028.png"})]),i("p",null," 前端: Vite 2.0、 Vue 3.0 、 Vuex 4.0 、 Vue-Router 4.0、TypeScript@latest、Vue@next "),i("p",null,"后端: Golang、Go-Micro、MySQL、NSQ、Consul"),i("p",null,[r(" 运行环境: "),i("del",null,"Docker Swarm"),r(" 已迁移到k8s、Portainer、Nginx、Let's Encrypt、 "),i("a",{href:"https://promotion.aliyun.com/ntms/yunparter/invite.html?userCode=hsupvlb8",target:"_blank"},"阿里云🇭🇰轻量服务器(推广)")]),i("p",null,[r(" 第三方服务: "),i("a",{href:"https://www.googlefonts.cn/",rel:"nofollow"},"谷歌字体库"),r(" 、 "),i("a",{href:"https://sentry.io/",rel:"nofollow"},"Sentry日志监控"),r(" 、 "),i("a",{href:"https://github.com/features/actions",rel:"nofollow"},"Github Action"),r(" 、 "),i("a",{href:"https://www.iconfont.cn",rel:"nofollow"},"阿里矢量图标库")]),i("p",null," 由于网站部署于 香港、深圳、上海 三节点组成的 k8s 集群, 用户的请求会被分散到各个服务器, 访问速度不可避免的会出现差异。同时, 网站使用 Redis 对页面进行了 30分钟 的缓存, 更新可能会存在不及时的情况。 ")]),i("div",{class:"about-item-container"},[i("h2",null,"作者信息"),i("p",null,"昵称: 远浅"),i("p",null,"职业: Web/前端开发工程师"),i("p",null,"坐标: 广东深圳"),i("p",null,"家乡: 湖南衡阳"),i("p",null," 爱好: 写好代码,睡个好觉,看看动画,打打羽毛球,四处闲逛。 "),i("p",null,[r(" 社交: "),i("a",{href:"//github.com/unliar",target:"_blank",rel:"nofollow"},"Github"),r(" 、 "),i("a",{href:"https://twitter.com/lzt224",target:"_blank",rel:"nofollow"},"Twitter")]),i("p",null,[r(" 邮箱: "),i("a",{href:"mailto:i@happysooner.com"},"i@happysooner.com")]),i("p",null,"简历: 不给看"),i("p",null,[r(" 梦想: "),i("del",null,"世界和平,这个世界因为有我的存在,而有一点点的不同。"),r(" 算了,还是多赚钱点零花钱。 ")])]),i("div",{class:"about-item-container"},[i("h2",null,"本站愿景"),i("p",null," 让这个网站成为远浅 Web 开发的实验田,用来更新自己的技术栈。 "),i("p",null,"这就是它存在的所有意义。"),i("p",null," 本站所写的文章大部分都是为了存档和自娱自乐, 不可作为准确的学习资料, 请知悉其中存在的风险。 ")])],-1);c();t("default",n({expose:[],setup:function(t){return p((function(t,n){return l(),a(e,null,{default:p((function(){return[s]})),_:1})}))}})).__scopeId="data-v-23ebcad1"}}})); diff --git a/assets/index-legacy.561da5a7.js b/assets/index-legacy.561da5a7.js deleted file mode 100644 index 6e0c117..0000000 --- a/assets/index-legacy.561da5a7.js +++ /dev/null @@ -1 +0,0 @@ -function asyncGeneratorStep(e,t,n,a,r,i,o){try{var c=e[i](o),l=c.value}catch(u){return void n(u)}c.done?t(l):Promise.resolve(l).then(a,r)}function _asyncToGenerator(e){return function(){var t=this,n=arguments;return new Promise((function(a,r){var i=e.apply(t,n);function o(e){asyncGeneratorStep(i,a,r,o,c,"next",e)}function c(e){asyncGeneratorStep(i,a,r,o,c,"throw",e)}o(void 0)}))}}var __vite_style__=document.createElement("style");__vite_style__.innerHTML=".category-title[data-v-ee729a98],.content-layout-container li[data-v-ee729a98]{font-size:14px;color:#444}.content-layout-widget-container[data-v-ee729a98]{padding-top:20px}a[data-v-ee729a98]{color:#444}.category-title[data-v-ee729a98]{font-weight:700}.category-item[data-v-ee729a98]{padding:10px 10px 10px 0;list-style:none}.category-item[data-v-ee729a98]:before{display:none}.category-list[data-v-ee729a98]{display:flex;min-height:36px;align-items:center}.content-layout-container[data-v-ee729a98]{display:flex;flex-direction:column-reverse}@media screen and (min-width:1200px){.content-layout-container[data-v-ee729a98]{display:flex;flex-direction:row}.content-layout-child-container[data-v-ee729a98]{flex:1}.category-list[data-v-ee729a98]{display:block}.category-item[data-v-ee729a98]:before{display:inline-block}.content-layout-widget-container[data-v-ee729a98]{width:100px;padding:20px}}@media screen and (max-width:1200px){.category-list[data-v-ee729a98]{margin:0}}.page-navi[data-v-422f221b]{padding:20px 0;text-align:center}",document.head.appendChild(__vite_style__),System.register(["./vendor-legacy.73e5f43f.js","./index-legacy.fe0e17a6.js","./index.vue_vue&type=style&index=0&lang-legacy.9710ae63.js","./SimpleInfoItem-legacy.b7b97413.js","./time-legacy.6cd5ad23.js"],(function(e){"use strict";var t,n,a,r,i,o,c,l,u,d,s,y,f,v,p,g,_,x,m,h,w;return{setters:[function(e){t=e.k,n=e.x,a=e.n,r=e.p,i=e.z,o=e.G,c=e.F,l=e.E,u=e.A,d=e.B,s=e.u,y=e.N,f=e.O,v=e.P,p=e.T,g=e.y},function(e){_=e.u,x=e.a,m=e.G},function(e){h=e._},function(e){w=e._},function(){}],execute:function(){var k=y();f("data-v-ee729a98");var q={class:"content-layout-container"},b={class:"content-layout-child-container"},P={class:"content-layout-widget-container"},I={class:"widget-category"},T=i("div",{class:"category-title"},"目录分类",-1),G={class:"category-list"};v();var L=t({expose:[],setup:function(e){var t=_(),y=computed((function(){return t.Article.CategoryList}));return k((function(e,t){var f=n("router-link");return a(),r("div",q,[i("div",b,[o(e.$slots,"default")]),i("div",P,[i("div",I,[T,i("ul",G,[(a(!0),r(c,null,l(s(y),(function(e){return a(),r("li",{class:"category-item",key:e.Id},[i(f,{to:"/?CategoryID="+e.Id},{default:k((function(){return[u(d(e.CN),1)]})),_:2},1032,["to"])])})),128))])])])])}))}});L.__scopeId="data-v-ee729a98";var j=y();f("data-v-422f221b");var O={key:0,class:"page-navi"},S=u("上一页"),C=u("下一页");v();e("default",t({expose:[],props:{query:{type:Object}},setup:function(e){var t=e,o=reactive({List:[],q:t.query||{},loading:!1});x({title:"远浅 - 给世界献上美好的祝福 - Vue3实战项目"});return onMounted(_asyncToGenerator(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,a=null!=(n=t.query)?n:{},o.loading=!0,o.List=[],m(a).then((function(e){var t,n;o.List=[].concat(null!=(t=null==(n=e.Result)?void 0:n.Articles)?t:[])})).finally((function(){o.loading=!1}));case 2:case"end":return e.stop()}var a}),e)})))),j((function(e,t){var u=n("router-link");return a(),r(h,null,{default:j((function(){return[i(L,null,{default:j((function(){return[i(p,{name:"list"},{default:j((function(){return[(a(!0),r(c,null,l(o.List,(function(e){return a(),r(w,{key:e.Id,info:e},null,8,["info"])})),128))]})),_:1}),o.loading?g("",!0):(a(),r("div",O,[o.q.Page&&o.q.Page>=2?(a(),r(u,{key:0,to:"/?Page="+(o.q.Page-1)+"&OrderType="+(o.q.OrderType||"desc")},{default:j((function(){return[S]})),_:1},8,["to"])):g("",!0),15==o.List.length?(a(),r(u,{key:1,to:"/?Page="+(o.q.Page?+o.q.Page+1:2)+"&OrderType="+(o.q.OrderType||"desc")},{default:j((function(){return[C]})),_:1},8,["to"])):g("",!0)]))]})),_:1})]})),_:1})}))}})).__scopeId="data-v-422f221b"}}})); diff --git a/assets/index-legacy.88ad6870.js b/assets/index-legacy.88ad6870.js new file mode 100644 index 0000000..f9c9be5 --- /dev/null +++ b/assets/index-legacy.88ad6870.js @@ -0,0 +1 @@ +!function(){var t=document.createElement("style");t.innerHTML="a[data-v-23ebcad1]{color:teal}h1[data-v-23ebcad1]{font-size:18px}.about-item-container[data-v-23ebcad1]{margin:10px 0}.about-item-container p[data-v-23ebcad1]{line-height:1.8;font-size:16px;margin-top:10px}.about-item-container h2[data-v-23ebcad1]{font-size:16px;font-weight:700}.about-title[data-v-23ebcad1]{margin-top:20px}\n",document.head.appendChild(t),System.register(["./index-legacy.8fad0a78.js","./index-legacy.e30550da.js"],(function(t){"use strict";var e,n,l,a,o,i,u,r,c,p;return{setters:[function(t){e=t._},function(t){n=t._,l=t.d,a=t.o,o=t.k,i=t.w,u=t.p,r=t.i,c=t.a,p=t.g}],execute:function(){const s=(t=>(u("data-v-23ebcad1"),t=t(),r(),t))((()=>c("div",{class:"about-container"},[c("h1",{class:"about-title"},"关于本站"),c("div",{class:"about-item-container"},[c("h2",null,"技术相关"),c("p",null,[p(" 本站是 "),c("a",{href:"https://happysooner.com"},"happysooner.com"),p(" 的Vue复刻版。 ")]),c("p",null," 这是一个前端采用 Vue 全家桶,后端使用微服务架构搭建的网站。 "),c("p",null,[p(" 代码存贮于 "),c("a",{href:"https://github.com/unliar/vue3-ts-happysooner-web"}," Github"),p(" 拥有完整的 "),c("a",{href:"https://mp.weixin.qq.com/s/bJtO5Y54XIB8qfJR6ownyg",target:"_blank"},"Github Action"),p(" 自动化构建部署流程 。 ")]),c("p",null,[p(" 大致架构图: "),c("img",{src:"https://cdn.gelonghui.com/ad/96660-6bfe1023-cc1c-4928-a192-ca2f1773c028.png"})]),c("p",null," 前端: Vite 2.0、 Vue 3.0 、 Vuex 4.0 、 Vue-Router 4.0、TypeScript@latest、Vue@next "),c("p",null,"后端: Golang、Go-Micro、MySQL、NSQ、Consul"),c("p",null,[p(" 运行环境: "),c("del",null,"Docker Swarm"),p(" 已迁移到k8s、Portainer、Nginx、Let's Encrypt、 "),c("a",{href:"https://promotion.aliyun.com/ntms/yunparter/invite.html?userCode=hsupvlb8",target:"_blank"},"阿里云🇭🇰轻量服务器(推广)")]),c("p",null,[p(" 第三方服务: "),c("a",{href:"https://www.googlefonts.cn/",rel:"nofollow"},"谷歌字体库"),p(" 、 "),c("a",{href:"https://sentry.io/",rel:"nofollow"},"Sentry日志监控"),p(" 、 "),c("a",{href:"https://github.com/features/actions",rel:"nofollow"},"Github Action"),p(" 、 "),c("a",{href:"https://www.iconfont.cn",rel:"nofollow"},"阿里矢量图标库")]),c("p",null," 由于网站部署于 香港、深圳、上海 三节点组成的 k8s 集群, 用户的请求会被分散到各个服务器, 访问速度不可避免的会出现差异。同时, 网站使用 Redis 对页面进行了 30分钟 的缓存, 更新可能会存在不及时的情况。 ")]),c("div",{class:"about-item-container"},[c("h2",null,"作者信息"),c("p",null,"昵称: 远浅"),c("p",null,"职业: Web/前端开发工程师"),c("p",null,"坐标: 广东深圳"),c("p",null,"家乡: 湖南衡阳"),c("p",null," 爱好: 写好代码,睡个好觉,看看动画,打打羽毛球,四处闲逛。 "),c("p",null,[p(" 社交: "),c("a",{href:"//github.com/unliar",target:"_blank",rel:"nofollow"},"Github"),p(" 、 "),c("a",{href:"https://twitter.com/lzt224",target:"_blank",rel:"nofollow"},"Twitter")]),c("p",null,[p(" 邮箱: "),c("a",{href:"mailto:i@happysooner.com"},"i@happysooner.com")]),c("p",null,"简历: 不给看"),c("p",null,[p(" 梦想: "),c("del",null,"世界和平,这个世界因为有我的存在,而有一点点的不同。"),p(" 算了,还是多赚钱点零花钱。 ")])]),c("div",{class:"about-item-container"},[c("h2",null,"本站愿景"),c("p",null," 让这个网站成为远浅 Web 开发的实验田,用来更新自己的技术栈。 "),c("p",null,"这就是它存在的所有意义。"),c("p",null," 本站所写的文章大部分都是为了存档和自娱自乐, 不可作为准确的学习资料, 请知悉其中存在的风险。 ")])],-1))),h=l({__name:"index",setup:t=>(t,n)=>(a(),o(e,null,{default:i((()=>[s])),_:1}))});t("default",n(h,[["__scopeId","data-v-23ebcad1"]]))}}}))}(); diff --git a/assets/index-legacy.8fad0a78.js b/assets/index-legacy.8fad0a78.js new file mode 100644 index 0000000..133599c --- /dev/null +++ b/assets/index-legacy.8fad0a78.js @@ -0,0 +1 @@ +!function(){var e=document.createElement("style");e.innerHTML=".happy-header-wrapper[data-v-e7338c34]{display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:center;height:60px;color:#6a6a6a;margin:0 auto}.title[data-v-e7338c34]:hover{color:#000}.title[data-v-e7338c34]{font-weight:600;font-size:18px;cursor:pointer}.brief[data-v-e7338c34],.tools-user[data-v-e7338c34]{font-size:14px}.tools-container[data-v-e7338c34]{display:flex;justify-content:center;align-items:center}.site-status[data-v-767f7aee]{display:flex;align-items:center;flex-wrap:wrap}.footer-container[data-v-767f7aee]{display:flex;align-items:flex-start;justify-content:space-between;background:#f5f5f5;line-height:1.5;font-size:14px;color:#999;padding:10px 5%}@media screen and (min-width: 1200px){.footer-container[data-v-767f7aee]{padding:10px 15%}}.footer-info[data-v-767f7aee]{padding:5px}.daily-read[data-v-767f7aee]{padding:0 2px;color:#6a6a6a}.icp-link[data-v-767f7aee]{color:#999}a[data-v-767f7aee]{color:#6a6a6a;display:inline-block}.friend-link a[data-v-767f7aee]{padding:0 2px}.site-link span[data-v-767f7aee]{width:60px}.site-link[data-v-767f7aee]{display:flex}sub[data-v-767f7aee]{font-size:12px}.my-shake[data-v-767f7aee]{animation:my-face-767f7aee 1.5s infinite ease;display:inline-block;margin:0 1px}@keyframes my-face-767f7aee{0%{-webkit-transform:translate(0px,0px) rotate(0deg) scale(1)}10%{-webkit-transform:translate(-1px,-2px) rotate(-1deg) scale(1.1)}20%{-webkit-transform:translate(-3px,0px) rotate(1deg) scale(1.2)}30%{-webkit-transform:translate(0px,2px) rotate(0deg) scale(1.3)}40%{-webkit-transform:translate(1px,-1px) rotate(1deg) scale(1.4)}50%{-webkit-transform:translate(-1px,2px) rotate(-1deg) scale(1.5)}60%{-webkit-transform:translate(-3px,1px) rotate(0deg) scale(1.4)}70%{-webkit-transform:translate(2px,1px) rotate(-1deg) scale(1.3)}80%{-webkit-transform:translate(-1px,-1px) rotate(1deg) scale(1.2)}90%{-webkit-transform:translate(2px,2px) rotate(0deg) scale(1.1)}to{-webkit-transform:translate(0px,0px) rotate(-1deg) scale(1)}}.sticky-container{padding:0 5%;background:rgba(255,255,255)}.default-layout-container{padding:0 5%}@media screen and (min-width: 1200px){.sticky-container,.default-layout-container{padding:0 15%}}.main-container{min-height:calc(100vh - 80px)}\n",document.head.appendChild(e),System.register(["./index-legacy.e30550da.js"],(function(e){"use strict";var a,t,n,r,s,i,o,l,c,d,p,f,u,m,v,h,g,x;return{setters:[function(e){a=e.d,t=e.m,n=e.u,r=e.r,s=e.o,i=e.c,o=e.a,l=e.t,c=e.h,d=e.f,p=e.w,f=e.g,u=e._,m=e.n,v=e.p,h=e.i,g=e.b,x=e.F}],execute:function(){const y={class:"happy-header-container"},k={class:"happy-header-wrapper"},w={class:"title-container"},b={class:"brief"},_={class:"tools-container"},F={key:0,class:"tools-user user-center"},z={key:1,class:"tools-user user-action-btn"},M=a({__name:"Header",props:{title:{type:String,required:!0},brief:{type:String}},setup(e){const a=t(),u=e,m=()=>{a.push("/")},v=n();computed((()=>!!v.User?.Roles?.find((e=>"Author"==e.Title))));const h=computed((()=>v.User.Id??0)),g=computed((()=>v.User.Avatar??"")),x=u.title,M=u.brief;return(e,a)=>{const t=r("Avatar"),n=r("router-link");return s(),i("header",y,[o("div",k,[o("div",w,[o("div",{class:"title",onClick:m},l(c(x)),1),o("div",b,l(c(M)),1)]),o("div",_,[c(h)>0?(s(),i("span",F,[d(n,{to:`/users/${c(h)}`},{default:p((()=>[d(t,{src:c(g),size:"40px"},null,8,["src"])])),_:1},8,["to"])])):(s(),i("span",z,[d(n,{to:"/signin"},{default:p((()=>[f("登录/注册")])),_:1})]))])])])}}});var I=u(M,[["__scopeId","data-v-e7338c34"]]);const j=e=>(v("data-v-767f7aee"),e=e(),h(),e),A={class:"footer-container"},T={class:"footer-info content-limit-three"},U=j((()=>o("a",{href:"//www.beian.miit.gov.cn/",target:"_blank",class:"icp-link",rel:"nofollow"},"粤ICP备20013375号-1",-1))),C=j((()=>o("div",null,"本网站不保证网站内容更新完全跟得上时代潮流,请自行求证。",-1))),S={class:"site-status"},$=j((()=>o("span",{class:"my-shake"},"❤️",-1))),D=j((()=>o("span",{class:"my-shake"},"⚡",-1))),H=j((()=>o("img",{src:"https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Funliar%2Fhappy-upptime%2Fmaster%2Fapi%2Fhappysooner-com%2Fuptime.json"},null,-1))),O=j((()=>o("div",null,"本网站的作者头发还剩下挺多的。",-1))),q={class:"footer-info"},E={class:"site-link"},G=j((()=>o("span",null,[o("a",{href:"https://github.com/unliar/vue3-ts-happysooner-web"},"本站源码")],-1))),L=j((()=>o("span",null,[o("a",{href:"https://t.me/happy_naive"},"TG频道")],-1))),P=m('
',1),R=a({__name:"Footer",setup(e){const a=ref("2021"),t=reactive({day:0,hour:0,min:0,sec:0});let n;return onMounted((()=>{const e=(new Date).getFullYear();a.value=`${e}`,n=setInterval((()=>{const e=Date.now(),a=Math.floor((e-15671808e5)/1e3),n=Math.floor(a/60/60/24),r=Math.floor(a/60/60)%24,s=Math.floor(a/60)%60,i=Math.floor(a%60);t.day=n,t.hour=r,t.min=s,t.sec=i}))})),onUnmounted((()=>{clearInterval(n)})),(e,n)=>{const u=r("router-link");return s(),i("footer",A,[o("div",T,[o("div",null,[f(" © 2019 - "+l(c(a))+" 远浅 ",1),U]),C,o("div",S,[f(" 本网站已坚持用 "),$,f("发 "),D,f(" 运行了 "+l(c(t).day)+"天"+l(c(t).hour)+"小时 "+l(c(t).min)+"分"+l(c(t).sec)+"秒。 ",1),H]),O]),o("div",q,[o("div",E,[o("span",null,[d(u,{to:"/about"},{default:p((()=>[f("关于本站")])),_:1})]),o("span",null,[d(u,{to:"/daily-articles"},{default:p((()=>[f("随机阅读")])),_:1})]),G,L]),P])])}}});var Y=u(R,[["__scopeId","data-v-767f7aee"]]);const B={class:"main-container"},J={class:"sticky-container"},K={class:"default-layout-container"};e("_",a({__name:"index",setup:e=>(e,a)=>(s(),i(x,null,[o("div",B,[o("div",J,[d(I,{title:"远浅",brief:"理解他人,内省自己。"})]),o("div",K,[g(e.$slots,"default")])]),d(Y)],64))}))}}}))}(); diff --git a/assets/index-legacy.c0e5e93e.js b/assets/index-legacy.c0e5e93e.js new file mode 100644 index 0000000..daedf0b --- /dev/null +++ b/assets/index-legacy.c0e5e93e.js @@ -0,0 +1 @@ +!function(){var e=document.createElement("style");e.innerHTML=".content-layout-container li[data-v-ee729a98],.category-title[data-v-ee729a98]{font-size:14px;color:#444}.content-layout-widget-container[data-v-ee729a98]{padding-top:20px}a[data-v-ee729a98]{color:#444}.category-title[data-v-ee729a98]{font-weight:700}.category-item[data-v-ee729a98]{padding:10px 10px 10px 0;list-style:none}.category-item[data-v-ee729a98]:before{display:none}.category-list[data-v-ee729a98]{display:flex;min-height:36px;align-items:center}.content-layout-container[data-v-ee729a98]{display:flex;flex-direction:column-reverse}@media screen and (min-width: 1200px){.content-layout-container[data-v-ee729a98]{display:flex;flex-direction:row}.content-layout-child-container[data-v-ee729a98]{flex:1}.category-list[data-v-ee729a98]{display:block}.category-item[data-v-ee729a98]:before{display:inline-block}.content-layout-widget-container[data-v-ee729a98]{width:100px;padding:20px}}@media screen and (max-width: 1200px){.category-list[data-v-ee729a98]{margin:0}}.page-navi[data-v-422f221b]{padding:20px 0;text-align:center}\n",document.head.appendChild(e),System.register(["./index-legacy.e30550da.js","./index-legacy.8fad0a78.js","./SimpleInfoItem-legacy.4cdaabbc.js","./time-legacy.6a1839f7.js"],(function(e){"use strict";var t,a,n,i,o,d,l,c,r,s,u,y,g,p,f,v,x,m,_,h,q,w,b,k;return{setters:[function(e){t=e.d,a=e.u,n=e.r,i=e.o,o=e.c,d=e.a,l=e.b,c=e.F,r=e.e,s=e.f,u=e.w,y=e.g,g=e.t,p=e.h,f=e._,v=e.p,x=e.i,m=e.j,_=e.k,h=e.T,q=e.l,w=e.G},function(e){b=e._},function(e){k=e.S},function(){}],execute:function(){const I={class:"content-layout-container"},L={class:"content-layout-child-container"},P={class:"content-layout-widget-container"},j={class:"widget-category"},T=(e=>(v("data-v-ee729a98"),e=e(),x(),e))((()=>d("div",{class:"category-title"},"目录分类",-1))),$={class:"category-list"},O=t({__name:"index",setup(e){const t=a(),f=computed((()=>t.Article.CategoryList));return(e,t)=>{const a=n("router-link");return i(),o("div",I,[d("div",L,[l(e.$slots,"default",{},void 0,!0)]),d("div",P,[d("div",j,[T,d("ul",$,[(i(!0),o(c,null,r(p(f),(e=>(i(),o("li",{class:"category-item",key:e.Id},[s(a,{to:`/?CategoryID=${e.Id}`},{default:u((()=>[y(g(e.CN),1)])),_:2},1032,["to"])])))),128))])])])])}}});var C=f(O,[["__scopeId","data-v-ee729a98"]]);const S={key:0,class:"page-navi"},A=t({__name:"index",props:{query:{type:Object}},setup(e){const t=e,a=reactive({List:[],q:t.query||{},loading:!1});m({title:"远浅 - 给世界献上美好的祝福 - Vue3实战项目"});return onMounted((async()=>{var e;await(e=t.query??{},a.loading=!0,a.List=[],w(e).then((e=>{a.List=[...e.Result?.Articles??[]]})).finally((()=>{a.loading=!1})))})),(e,t)=>{const d=n("router-link");return i(),_(b,null,{default:u((()=>[s(C,null,{default:u((()=>[s(h,{name:"list"},{default:u((()=>[(i(!0),o(c,null,r(p(a).List,(e=>(i(),_(k,{key:e.Id,info:e},null,8,["info"])))),128))])),_:1}),p(a).loading?q("",!0):(i(),o("div",S,[p(a).q.Page&&p(a).q.Page>=2?(i(),_(d,{key:0,to:`/?Page=${p(a).q.Page-1}&OrderType=${p(a).q.OrderType||"desc"}`},{default:u((()=>[y("上一页")])),_:1},8,["to"])):q("",!0),15==p(a).List.length?(i(),_(d,{key:1,to:`/?Page=${p(a).q.Page?+p(a).q.Page+1:2}&OrderType=${p(a).q.OrderType||"desc"}`},{default:u((()=>[y("下一页")])),_:1},8,["to"])):q("",!0)]))])),_:1})])),_:1})}}});e("default",f(A,[["__scopeId","data-v-422f221b"]]))}}}))}(); diff --git a/assets/index-legacy.ca538dc4.js b/assets/index-legacy.ca538dc4.js deleted file mode 100644 index ebccc72..0000000 --- a/assets/index-legacy.ca538dc4.js +++ /dev/null @@ -1 +0,0 @@ -var __vite_style__=document.createElement("style");__vite_style__.innerHTML="main[data-v-750295de]{padding:20px 0}.article-nav-container[data-v-750295de]{display:flex;align-items:center;justify-content:center;padding:20px}.article-nav-container a[data-v-750295de]{color:teal}",document.head.appendChild(__vite_style__),System.register(["./index-legacy.fe0e17a6.js","./index.vue_vue&type=style&index=0&lang-legacy.9710ae63.js","./vendor-legacy.73e5f43f.js"],(function(e){"use strict";var t,n,a,l,u,i,r,d,o,c,v,s,f,p,_;return{setters:[function(e){t=e.c,n=e.h,a=e.a},function(e){l=e._},function(e){u=e.k,i=e.x,r=e.n,d=e.p,o=e.z,c=e.u,v=e.B,s=e.y,f=e.N,p=e.O,_=e.P}],execute:function(){var y=f();p("data-v-750295de");var g={key:0},m={class:"article-title"},x={class:"article-nav-container"},h={class:"article-nav"};_();e("default",u({expose:[],props:{query:{type:Object}},setup:function(e){var u,f=e,p=t(),_=n(null==(u=f.query)?void 0:u.date),R=_.data,j=_.loading,L=computed((function(){var e;return null==(e=R.value.Result)?void 0:e.title})),M=computed((function(){var e;return null==(e=R.value.Result)?void 0:e.author})),k=computed((function(){var e;return null==(e=R.value.Result)?void 0:e.content})),H=computed((function(){var e;return null==(e=R.value.Result)?void 0:e.date.prev}));return a({title:computed((function(){var e,t;return"每日阅读 - "+(null==(e=R.value.Result)?void 0:e.title)+" - "+(null==(t=R.value.Result)?void 0:t.author)})),meta:[{name:"description",content:computed((function(){var e;return""+(null==(e=R.value.Result)?void 0:e.digest)}))}]}),watch((function(){return R.value.ErrorMsg}),(function(e){e&&p.warning(e)})),y((function(e,t){var n=i("LoadingBall"),a=i("router-link");return r(),d(l,null,{default:y((function(){return[o(n,{loading:c(j),padding:"30vh 0",infoSize:"18px",info:"努力加载中"},null,8,["loading"]),c(j)?s("",!0):(r(),d("main",g,[o("h1",m,v(c(L)),1),o("div",null,"作者:"+v(c(M)),1),o("div",{class:"article-container",innerHTML:c(k)},null,8,["innerHTML"]),o("div",x,[o("div",h,[o(a,{to:"/daily-articles?date="+c(H)},{default:y((function(){return[o("a",null,"查看"+v(c(H))+"的文章",1)]})),_:1},8,["to"])])])]))]})),_:1})}))}})).__scopeId="data-v-750295de"}}})); diff --git a/assets/index-legacy.cf167402.js b/assets/index-legacy.cf167402.js new file mode 100644 index 0000000..46b45f9 --- /dev/null +++ b/assets/index-legacy.cf167402.js @@ -0,0 +1 @@ +!function(){var e=document.createElement("style");e.innerHTML=".signin-container[data-v-7f7d81da]{display:flex;align-items:center;justify-content:center;padding:50px 15px}.signin-container div[data-v-7f7d81da]{padding:15px 0;margin:0 auto;width:100%}.title[data-v-7f7d81da]{font-size:24px;padding:15px 0;font-weight:500;color:#262626}.summary[data-v-7f7d81da]{font-size:12px;color:#6a6a6a}.signin-title[data-v-7f7d81da]{text-align:center}.signin-info[data-v-7f7d81da]{font-size:12px}div input[data-v-7f7d81da],div button[data-v-7f7d81da]{outline:none;display:flex;justify-content:center;align-items:center;padding:10px;width:100%;border-radius:5px;border:1px solid #999;font-size:14px;box-sizing:border-box}.signin-info span[data-v-7f7d81da]{font-weight:bolder}.signin-main[data-v-7f7d81da]{max-width:750px;overflow:hidden}.btn-login-register[data-v-7f7d81da]{background-color:#f5f5f5;opacity:.5}.btn-login-register[data-v-7f7d81da]:hover{opacity:1}\n",document.head.appendChild(e),System.register(["./index-legacy.e30550da.js"],(function(e){"use strict";var n,t,a,i,d,o,r,l,s,u,c,v,p,f,m,g,y,x,b,h,k,w,z,C,_;return{setters:[function(e){n=e._,t=e.d,a=e.v,i=e.u,d=e.m,o=e.E,r=e.r,l=e.o,s=e.c,u=e.a,c=e.f,v=e.w,p=e.g,f=e.y,m=e.z,g=e.h,y=e.H,x=e.l,b=e.F,h=e.t,k=e.I,w=e.S,z=e.J,C=e.p,_=e.i}],execute:function(){const E=e=>e.match(/^[a-zA-Z][a-zA-Z0-9_]{4,15}$/)?"":"参数必须为字母开头的5-16位数字和字母组合";const U=e=>(C("data-v-7f7d81da"),e=e(),_(),e),I={class:"signin-container"},R={class:"signin-main"},$={class:"signin-title"},A=U((()=>u("div",null,"嘿;-) 好巧在这里遇到您.",-1))),N=U((()=>u("div",{class:"signin-info"}," 直接输入登录名称开始探险叭~我们很智能哒~会自动帮你切换登录/注册 ",-1))),j={class:"signin-form"},T={class:"form-account"},V={key:0},H={class:"summary"},M=U((()=>u("del",null,"沙雕",-1))),S=t({__name:"index",setup(e){const n=a(),t=i(),C=d(),_=ref(""),U=ref(""),S=ref(""),Z=ref(!1),D=computed((()=>t.User.Id));watch(_,(e=>{e.trim()&&o({type:"loginName",value:e.trim()}).then((e=>{1000005===e.Result?Z.value=!1:Z.value=!0}))}));const F=async()=>{const e=E(_.value.trim());if(e)return void n.error(e);const a=await k({type:"loginName",value:_.value.trim(),password:S.value.trim()});if(a?.ErrorCode||!a?.Result)return void n.error(`${a.ErrorCode} ${a.ErrorMsg}`);const i=a.Result.Token,d=a.Result.TokenAvailableDays;w(i,d),t.GetAuthedUserInfo(),n.success(`欢迎 ${a?.Result.UserInfo.Nickname} 前来观光`,{onClose(){C.back()}})},G=async()=>{const e=E(_.value.trim());if(e)return void n.error(e);(await z({type:"loginName",value:_.value.trim(),password:S.value.trim(),nickname:U.value.trim()})).ErrorCode||n.success(`注册成功,即将自动登录~ ${_.value}`,{onClose(){F()}})};return(e,n)=>{const t=r("router-link");return l(),s("div",I,[u("div",R,[u("div",$,[A,u("div",null,[c(t,{to:"/"},{default:v((()=>[p(" 这里是远浅自建用来叨叨的网站, 要是您懒得注册可以直接点这里去逛逛。 ")])),_:1})])]),N,u("div",j,[u("div",T,[f(u("input",{type:"text",name:"account",id:"account","onUpdate:modelValue":n[0]||(n[0]=e=>y(_)?_.value=e:null),placeholder:"账户登录名称,字母开头的5-16位数字和字母组合"},null,512),[[m,g(_),void 0,{trim:!0}]])]),g(Z)?(l(),s("div",V,[f(u("input",{type:"text",name:"nickname",id:"nickname","onUpdate:modelValue":n[1]||(n[1]=e=>y(U)?U.value=e:null),placeholder:"用户昵称"},null,512),[[m,g(U),void 0,{trim:!0}]])])):x("",!0),u("div",null,[f(u("input",{type:"password",name:"password",id:"password","onUpdate:modelValue":n[2]||(n[2]=e=>y(S)?S.value=e:null),placeholder:"登录密码"},null,512),[[m,g(S),void 0,{trim:!0}]])]),u("div",null,[g(Z)?(l(),s("button",{key:0,type:"button",class:"btn-login-register",onClick:G}," 立即注册 ")):(l(),s("button",{key:1,type:"button",class:"btn-login-register",onClick:F}," 立即登录 "))])]),u("div",H,[p(" 注册一下不会有任何损失,甚至会变得更加 "),M,p(" 快乐。 "),g(D)?(l(),s(b,{key:0},[p("很少有人让我心动 但你是第"+h(g(D))+"个。",1)],64)):x("",!0)])])])}}});e("default",n(S,[["__scopeId","data-v-7f7d81da"]]))}}}))}(); diff --git a/assets/index-legacy.d9a263f0.js b/assets/index-legacy.d9a263f0.js new file mode 100644 index 0000000..aea3c97 --- /dev/null +++ b/assets/index-legacy.d9a263f0.js @@ -0,0 +1 @@ +!function(){var e=document.createElement("style");e.innerHTML="main[data-v-750295de]{padding:20px 0}.article-nav-container[data-v-750295de]{display:flex;align-items:center;justify-content:center;padding:20px}.article-nav-container a[data-v-750295de]{color:teal}\n",document.head.appendChild(e),System.register(["./index-legacy.e30550da.js","./index-legacy.8fad0a78.js"],(function(e){"use strict";var t,a,n,l,i,d,u,c,r,o,s,v,p,m,f,g;return{setters:[function(e){t=e._,a=e.d,n=e.v,l=e.K,i=e.j,d=e.r,u=e.o,c=e.k,r=e.w,o=e.f,s=e.h,v=e.c,p=e.a,m=e.t,f=e.l},function(e){g=e._}],execute:function(){const y={key:0},h={class:"article-title"},x=["innerHTML"],_={class:"article-nav-container"},R={class:"article-nav"},j=a({__name:"index",props:{query:{type:Object}},setup(e){const t=e,a=n(),{data:j,loading:L}=l(t.query?.date),M=computed((()=>j.value.Result?.title)),$=computed((()=>j.value.Result?.author)),k=computed((()=>j.value.Result?.content)),w=computed((()=>j.value.Result?.date.prev));return i({title:computed((()=>`每日阅读 - ${j.value.Result?.title} - ${j.value.Result?.author}`)),meta:[{name:"description",content:computed((()=>`${j.value.Result?.digest}`))}]}),watch((()=>j.value.ErrorMsg),(e=>{e&&a.warning(e)})),(e,t)=>{const a=d("LoadingBall"),n=d("router-link");return u(),c(g,null,{default:r((()=>[o(a,{loading:s(L),padding:"30vh 0",infoSize:"18px",info:"努力加载中"},null,8,["loading"]),s(L)?f("",!0):(u(),v("main",y,[p("h1",h,m(s(M)),1),p("div",null,"作者:"+m(s($)),1),p("div",{class:"article-container",innerHTML:s(k)},null,8,x),p("div",_,[p("div",R,[o(n,{to:`/daily-articles?date=${s(w)}`},{default:r((()=>[p("a",null,"查看"+m(s(w))+"的文章",1)])),_:1},8,["to"])])])]))])),_:1})}}});e("default",t(j,[["__scopeId","data-v-750295de"]]))}}}))}(); diff --git a/assets/index-legacy.e30550da.js b/assets/index-legacy.e30550da.js new file mode 100644 index 0000000..8734105 --- /dev/null +++ b/assets/index-legacy.e30550da.js @@ -0,0 +1,44 @@ +(function(){var __vite_style__=document.createElement("style");__vite_style__.innerHTML='.Vue-Toastification__container{z-index:9999;position:fixed;padding:4px;width:600px;box-sizing:border-box;display:flex;min-height:100%;color:#fff;flex-direction:column;pointer-events:none}@media only screen and (min-width : 600px){.Vue-Toastification__container.top-left,.Vue-Toastification__container.top-right,.Vue-Toastification__container.top-center{top:1em}.Vue-Toastification__container.bottom-left,.Vue-Toastification__container.bottom-right,.Vue-Toastification__container.bottom-center{bottom:1em;flex-direction:column-reverse}.Vue-Toastification__container.top-left,.Vue-Toastification__container.bottom-left{left:1em}.Vue-Toastification__container.top-left .Vue-Toastification__toast,.Vue-Toastification__container.bottom-left .Vue-Toastification__toast{margin-right:auto}@supports not (-moz-appearance: none){.Vue-Toastification__container.top-left .Vue-Toastification__toast--rtl,.Vue-Toastification__container.bottom-left .Vue-Toastification__toast--rtl{margin-right:unset;margin-left:auto}}.Vue-Toastification__container.top-right,.Vue-Toastification__container.bottom-right{right:1em}.Vue-Toastification__container.top-right .Vue-Toastification__toast,.Vue-Toastification__container.bottom-right .Vue-Toastification__toast{margin-left:auto}@supports not (-moz-appearance: none){.Vue-Toastification__container.top-right .Vue-Toastification__toast--rtl,.Vue-Toastification__container.bottom-right .Vue-Toastification__toast--rtl{margin-left:unset;margin-right:auto}}.Vue-Toastification__container.top-center,.Vue-Toastification__container.bottom-center{left:50%;margin-left:-300px}.Vue-Toastification__container.top-center .Vue-Toastification__toast,.Vue-Toastification__container.bottom-center .Vue-Toastification__toast{margin-left:auto;margin-right:auto}}@media only screen and (max-width : 600px){.Vue-Toastification__container{width:100vw;padding:0;left:0;margin:0}.Vue-Toastification__container .Vue-Toastification__toast{width:100%}.Vue-Toastification__container.top-left,.Vue-Toastification__container.top-right,.Vue-Toastification__container.top-center{top:0}.Vue-Toastification__container.bottom-left,.Vue-Toastification__container.bottom-right,.Vue-Toastification__container.bottom-center{bottom:0;flex-direction:column-reverse}}.Vue-Toastification__toast{display:inline-flex;position:relative;max-height:800px;min-height:64px;box-sizing:border-box;margin-bottom:1rem;padding:22px 24px;border-radius:8px;box-shadow:0 1px 10px rgba(0,0,0,.1),0 2px 15px rgba(0,0,0,.05);justify-content:space-between;font-family:Lato,Helvetica,Roboto,Arial,sans-serif;max-width:600px;min-width:326px;pointer-events:auto;overflow:hidden;transform:translateZ(0);direction:ltr}.Vue-Toastification__toast--rtl{direction:rtl}.Vue-Toastification__toast--default{background-color:#1976d2;color:#fff}.Vue-Toastification__toast--info{background-color:#2196f3;color:#fff}.Vue-Toastification__toast--success{background-color:#4caf50;color:#fff}.Vue-Toastification__toast--error{background-color:#ff5252;color:#fff}.Vue-Toastification__toast--warning{background-color:#ffc107;color:#fff}@media only screen and (max-width : 600px){.Vue-Toastification__toast{border-radius:0;margin-bottom:.5rem}}.Vue-Toastification__toast-body{flex:1;line-height:24px;font-size:16px;word-break:break-word;white-space:pre-wrap}.Vue-Toastification__toast-component-body{flex:1}.Vue-Toastification__toast.disable-transition{animation:none!important}.Vue-Toastification__close-button{font-weight:700;font-size:24px;line-height:24px;background:transparent;outline:none;border:none;padding:0 0 0 10px;cursor:pointer;transition:.3s ease;align-items:center;color:#fff;opacity:.3;transition:visibility 0s,opacity .2s linear}.Vue-Toastification__close-button:hover,.Vue-Toastification__close-button:focus{opacity:1}.Vue-Toastification__toast:not(:hover) .Vue-Toastification__close-button.show-on-hover{opacity:0}.Vue-Toastification__toast--rtl .Vue-Toastification__close-button{padding-left:unset;padding-right:10px}@keyframes scale-x-frames{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.Vue-Toastification__progress-bar{position:absolute;bottom:0;left:0;width:100%;height:5px;z-index:10000;background-color:rgba(255,255,255,.7);transform-origin:left;animation:scale-x-frames linear 1 forwards}.Vue-Toastification__toast--rtl .Vue-Toastification__progress-bar{right:0;left:unset;transform-origin:right}.Vue-Toastification__icon{margin:auto 18px auto 0;background:transparent;outline:none;border:none;padding:0;transition:.3s ease;align-items:center;width:20px;height:100%}.Vue-Toastification__toast--rtl .Vue-Toastification__icon{margin:auto 0 auto 18px}@keyframes bounceInRight{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(3000px,0,0)}60%{opacity:1;transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:none}}@keyframes bounceOutRight{40%{opacity:1;transform:translate3d(-20px,0,0)}to{opacity:0;transform:translate3d(1000px,0,0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(-3000px,0,0)}60%{opacity:1;transform:translate3d(25px,0,0)}75%{transform:translate3d(-10px,0,0)}90%{transform:translate3d(5px,0,0)}to{transform:none}}@keyframes bounceOutLeft{20%{opacity:1;transform:translate3d(20px,0,0)}to{opacity:0;transform:translate3d(-2000px,0,0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,3000px,0)}60%{opacity:1;transform:translate3d(0,-20px,0)}75%{transform:translate3d(0,10px,0)}90%{transform:translate3d(0,-5px,0)}to{transform:translateZ(0)}}@keyframes bounceOutUp{20%{transform:translate3d(0,-10px,0)}40%,45%{opacity:1;transform:translate3d(0,20px,0)}to{opacity:0;transform:translate3d(0,-2000px,0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;transform:translate3d(0,-3000px,0)}60%{opacity:1;transform:translate3d(0,25px,0)}75%{transform:translate3d(0,-10px,0)}90%{transform:translate3d(0,5px,0)}to{transform:none}}@keyframes bounceOutDown{20%{transform:translate3d(0,10px,0)}40%,45%{opacity:1;transform:translate3d(0,-20px,0)}to{opacity:0;transform:translate3d(0,2000px,0)}}.Vue-Toastification__bounce-enter-active.top-left,.Vue-Toastification__bounce-enter-active.bottom-left{animation-name:bounceInLeft}.Vue-Toastification__bounce-enter-active.top-right,.Vue-Toastification__bounce-enter-active.bottom-right{animation-name:bounceInRight}.Vue-Toastification__bounce-enter-active.top-center{animation-name:bounceInDown}.Vue-Toastification__bounce-enter-active.bottom-center{animation-name:bounceInUp}.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-left,.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-left{animation-name:bounceOutLeft}.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-right,.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-right{animation-name:bounceOutRight}.Vue-Toastification__bounce-leave-active:not(.disable-transition).top-center{animation-name:bounceOutUp}.Vue-Toastification__bounce-leave-active:not(.disable-transition).bottom-center{animation-name:bounceOutDown}.Vue-Toastification__bounce-leave-active,.Vue-Toastification__bounce-enter-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__bounce-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}@keyframes fadeOutTop{0%{transform:translateY(0);opacity:1}to{transform:translateY(-50px);opacity:0}}@keyframes fadeOutLeft{0%{transform:translate(0);opacity:1}to{transform:translate(-50px);opacity:0}}@keyframes fadeOutBottom{0%{transform:translateY(0);opacity:1}to{transform:translateY(50px);opacity:0}}@keyframes fadeOutRight{0%{transform:translate(0);opacity:1}to{transform:translate(50px);opacity:0}}@keyframes fadeInLeft{0%{transform:translate(-50px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes fadeInRight{0%{transform:translate(50px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes fadeInTop{0%{transform:translateY(-50px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes fadeInBottom{0%{transform:translateY(50px);opacity:0}to{transform:translateY(0);opacity:1}}.Vue-Toastification__fade-enter-active.top-left,.Vue-Toastification__fade-enter-active.bottom-left{animation-name:fadeInLeft}.Vue-Toastification__fade-enter-active.top-right,.Vue-Toastification__fade-enter-active.bottom-right{animation-name:fadeInRight}.Vue-Toastification__fade-enter-active.top-center{animation-name:fadeInTop}.Vue-Toastification__fade-enter-active.bottom-center{animation-name:fadeInBottom}.Vue-Toastification__fade-leave-active:not(.disable-transition).top-left,.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-left{animation-name:fadeOutLeft}.Vue-Toastification__fade-leave-active:not(.disable-transition).top-right,.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-right{animation-name:fadeOutRight}.Vue-Toastification__fade-leave-active:not(.disable-transition).top-center{animation-name:fadeOutTop}.Vue-Toastification__fade-leave-active:not(.disable-transition).bottom-center{animation-name:fadeOutBottom}.Vue-Toastification__fade-leave-active,.Vue-Toastification__fade-enter-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__fade-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}@keyframes slideInBlurredLeft{0%{transform:translate(-1000px) scaleX(2.5) scaleY(.2);transform-origin:100% 50%;filter:blur(40px);opacity:0}to{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredTop{0%{transform:translateY(-1000px) scaleY(2.5) scaleX(.2);transform-origin:50% 0%;filter:blur(240px);opacity:0}to{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredRight{0%{transform:translate(1000px) scaleX(2.5) scaleY(.2);transform-origin:0% 50%;filter:blur(40px);opacity:0}to{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideInBlurredBottom{0%{transform:translateY(1000px) scaleY(2.5) scaleX(.2);transform-origin:50% 100%;filter:blur(240px);opacity:0}to{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}}@keyframes slideOutBlurredTop{0%{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 0%;filter:blur(0);opacity:1}to{transform:translateY(-1000px) scaleY(2) scaleX(.2);transform-origin:50% 0%;filter:blur(240px);opacity:0}}@keyframes slideOutBlurredBottom{0%{transform:translateY(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translateY(1000px) scaleY(2) scaleX(.2);transform-origin:50% 100%;filter:blur(240px);opacity:0}}@keyframes slideOutBlurredLeft{0%{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translate(-1000px) scaleX(2) scaleY(.2);transform-origin:100% 50%;filter:blur(40px);opacity:0}}@keyframes slideOutBlurredRight{0%{transform:translate(0) scaleY(1) scaleX(1);transform-origin:50% 50%;filter:blur(0);opacity:1}to{transform:translate(1000px) scaleX(2) scaleY(.2);transform-origin:0% 50%;filter:blur(40px);opacity:0}}.Vue-Toastification__slideBlurred-enter-active.top-left,.Vue-Toastification__slideBlurred-enter-active.bottom-left{animation-name:slideInBlurredLeft}.Vue-Toastification__slideBlurred-enter-active.top-right,.Vue-Toastification__slideBlurred-enter-active.bottom-right{animation-name:slideInBlurredRight}.Vue-Toastification__slideBlurred-enter-active.top-center{animation-name:slideInBlurredTop}.Vue-Toastification__slideBlurred-enter-active.bottom-center{animation-name:slideInBlurredBottom}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-left,.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-left{animation-name:slideOutBlurredLeft}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-right,.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-right{animation-name:slideOutBlurredRight}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).top-center{animation-name:slideOutBlurredTop}.Vue-Toastification__slideBlurred-leave-active:not(.disable-transition).bottom-center{animation-name:slideOutBlurredBottom}.Vue-Toastification__slideBlurred-leave-active,.Vue-Toastification__slideBlurred-enter-active{animation-duration:.75s;animation-fill-mode:both}.Vue-Toastification__slideBlurred-move{transition-timing-function:ease-in-out;transition-property:all;transition-duration:.4s}button,input,select,textarea{font-family:inherit;font-size:inherit;line-height:inherit;color:inherit;margin:0}buttonfocus,inputfocus,selectfocus,textareafocus{outline:none}input[type=button],input[type=submit],input[type=reset]{appearance:button}details{border:none}details:focus,details:hover,details:active{outline:none}summary{cursor:pointer;user-select:none}summary::-webkit-details-marker{display:none}summary:focus,summary:hover,summary:active{outline:none}*,*:before,*:after{box-sizing:inherit;text-rendering:geometricPrecision;-webkit-tap-highlight-color:transparent}html{font-size:16px}html,body{background-color:var(--geist-background);color:var(--geist-foreground)}body{font-family:var(--font-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility;font-size:1rem;line-height:1.5;margin:0;padding:0;min-height:100%;position:relative;overflow-x:hidden}p,small{letter-spacing:-.005625rem;font-family:var(--font-sans);font-weight:400;color:inherit;margin:0}p{margin:1rem 0;font-size:1em;line-height:1.625em}small{margin:0;line-height:1.5;font-size:.875rem}span{font-size:inherit;color:inherit;font-weight:inherit}b{font-weight:600}img{max-width:100%}a{color:var(--geist-link-color);text-decoration:none;cursor:pointer;-webkit-box-align:center;align-items:center;font-size:inherit;-webkit-touch-callout:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}a:hover{text-decoration:none}h1,h2,h3,h4,h5,h6{font-family:var(--font-sans);margin:0 0 .625rem;color:inherit}h1{font-size:3rem;letter-spacing:-.066875rem;line-height:1.5;font-weight:700}h2{font-size:2.25rem;letter-spacing:-.020625rem;font-weight:600}h3{font-size:1.5rem;letter-spacing:-.029375rem;font-weight:600}h4{font-size:1.25rem;letter-spacing:-.020625rem;font-weight:600}h5{font-size:1rem;letter-spacing:-.01125rem;font-weight:600}h6{font-size:.875rem;letter-spacing:-.005625rem;font-weight:600}selection{background-color:var(--geist-selection);color:var(--geist-foreground)}input-webkit-autofill{box-shadow:0 0 0 100px var(--geist-background) inset}ul,ol{margin:1rem 0 1rem .9375rem;color:var(--geist-foreground);padding:0;list-style-type:none}ol{list-style-type:decimal}li{margin-bottom:.625rem;font-size:1em;line-height:1.625em}ul li:before{content:"\\2013";display:inline-block;color:var(--accents-4);position:absolute;margin-left:-.9375rem}code{color:var(--geist-code);font-family:var(--font-mono);font-size:.9em;white-space:pre-wrap}code:before{content:"`"}code:after{content:"`"}pre{border:1px solid var(--accents-2);border-radius:var(--geist-radius);padding:calc(var(--geist-gap) * .75) var(--geist-gap);margin:1.5rem 0;white-space:pre;overflow:auto;font-size:.875rem;-webkit-overflow-scrolling:touch}pre code{color:var(--geist-foreground);font-size:.8125rem;line-height:1.25rem;white-space:pre}pre code:before,pre code:after{display:none}hr{border-color:var(--accents-2)}details{background-color:var(--accents-1)}.zi-title{text-transform:uppercase;color:var(--accents-4)}.zi-subtitle{color:var(--accents-3);font-size:.8125rem}div[data-v-3629a0e2]{cursor:pointer}*{margin:0;padding:0;word-break:break-word}#vue-next{min-height:100vh;background:#fafafa}html,body{-webkit-overflow-scrolling:touch;font-family:Noto Sans SC,sans-serif}a{text-decoration:none;color:#000;-webkit-tap-highlight-color:transparent}a:hover{font-weight:700}.article-title{font-size:16px;font-weight:700;color:#21756c}.content-limit-one{display:-webkit-box;text-overflow:ellipsis;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.content-limit-two{display:-webkit-box;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.article-container{color:#444;line-height:1.8;font-size:16px;padding:20px 0;overflow:hidden}.article-container img{max-width:100%;float:none!important;overflow:hidden;padding:10px 0;display:block}.article-container>h5,.article-container>h3,.article-container>h2,.article-container>h1,.article-container>h4{margin-top:20px}.article-container>p{margin-top:10px}.article-container>ul{list-style-position:inside}.article-container a{color:teal;border-bottom:1px solid #008080}.article-container table{border-collapse:collapse;empty-cells:show}.article-container th,.article-container td{border:1px solid #dfe2e5;padding:6px 13px;word-break:normal;display:table-cell;vertical-align:inherit}.icon{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden}blockquote{position:relative;margin:16px 0;padding:5px 8px 5px 30px;background:none repeat scroll 0 0 rgba(102,128,153,.05);border:none;color:#333;border-left:10px solid #d6dbdf}.list-enter-active,.list-leave-active{transition:all .65s ease}.list-enter-from,.list-leave-to{opacity:0;transform:translate(30px)}.content-enter-active,.content-leave-active{transition:all 1s ease}.content-enter-from,.content-leave-to{opacity:0}.hljs-comment,.hljs-quote{color:#969896}.hljs-variable,.hljs-template-variable,.hljs-tag,.hljs-name,.hljs-selector-id,.hljs-selector-class,.hljs-regexp,.hljs-deletion{color:#c66}.hljs-number,.hljs-built_in,.hljs-builtin-name,.hljs-literal,.hljs-type,.hljs-params,.hljs-meta,.hljs-link{color:#de935f}.hljs-attribute{color:#f0c674}.hljs-string,.hljs-symbol,.hljs-bullet,.hljs-addition{color:#b5bd68}.hljs-title,.hljs-section{color:#81a2be}.hljs-keyword,.hljs-selector-tag{color:#b294bb}.hljs{display:block;overflow-x:auto;background:#1d1f21;color:#c5c8c6;padding:.5em}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}#nprogress{pointer-events:none}#nprogress .bar{background:#29d;position:fixed;z-index:1031;top:0;left:0;width:100%;height:2px}#nprogress .peg{display:block;position:absolute;right:0px;width:100px;height:100%;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1;-webkit-transform:rotate(3deg) translate(0px,-4px);-ms-transform:rotate(3deg) translate(0px,-4px);transform:rotate(3deg) translateY(-4px)}#nprogress .spinner{display:block;position:fixed;z-index:1031;top:15px;right:15px}#nprogress .spinner-icon{width:18px;height:18px;box-sizing:border-box;border:solid 2px transparent;border-top-color:#29d;border-left-color:#29d;border-radius:50%;-webkit-animation:nprogress-spinner .4s linear infinite;animation:nprogress-spinner .4s linear infinite}.nprogress-custom-parent{overflow:hidden;position:relative}.nprogress-custom-parent #nprogress .spinner,.nprogress-custom-parent #nprogress .bar{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}@keyframes nprogress-spinner{0%{transform:rotate(0)}to{transform:rotate(360deg)}}div[data-v-f327bc66]{--color: var(--4d29237e);--size: var(--767083d4);--padding: var(--3ec5956c)}.loading-container[data-v-f327bc66]{display:flex;align-items:center;justify-content:center;margin:10px 0;padding:var(--padding);font-size:var(--size)}.text-info[data-v-f327bc66]{padding:0 .8em}.balls[data-v-f327bc66]{width:4em;display:flex;flex-flow:row nowrap;align-items:center;justify-content:space-between}.balls div[data-v-f327bc66]{width:.5em;height:.5em;border-radius:50%;background-color:var(--color)}.balls div[data-v-f327bc66]:nth-of-type(1){transform:translate(-100%);animation:left-swing-f327bc66 .5s ease-in alternate infinite}.balls div[data-v-f327bc66]:nth-of-type(3){transform:translate(-95%);animation:right-swing-f327bc66 .5s ease-out alternate infinite}@keyframes left-swing-f327bc66{50%,to{transform:translate(95%)}}@keyframes right-swing-f327bc66{50%{transform:translate(-95%)}to{transform:translate(100%)}}img[data-v-7892bead]{--size: var(--aa0c0ed6);--scale: var(--977bf994)}img[data-v-7892bead]{border-radius:50%;text-align:center;display:block;width:var(--size);height:var(--size);line-height:var(--size)}img[data-v-7892bead]:hover{transition:transform .1s ease-in-out;transform:scale(var(--scale))}\n',document.head.appendChild(__vite_style__),System.register([],(function(exports,module){"use strict";return{execute:function(){exports({C:resolveDirective,H:isRef,a:createBaseVNode,b:renderSlot,c:createElementBlock,d:defineComponent,e:renderList,g:createTextVNode,h:unref,i:popScopeId,k:createBlock,l:createCommentVNode,m:useRouter,n:createStaticVNode,o:openBlock,p:pushScopeId,r:resolveComponent,s:getAugmentedNamespace,w:withCtx,y:withDirectives});const p$1=function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))t(e);new MutationObserver((e=>{for(const n of e)if("childList"===n.type)for(const e of n.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&t(e)})).observe(document,{childList:!0,subtree:!0})}function t(e){if(e.ep)return;e.ep=!0;const t=function(e){const t={};return e.integrity&&(t.integrity=e.integrity),e.referrerpolicy&&(t.referrerPolicy=e.referrerpolicy),"use-credentials"===e.crossorigin?t.credentials="include":"anonymous"===e.crossorigin?t.credentials="omit":t.credentials="same-origin",t}(e);fetch(e.href,t)}}; +/** + * @vue/shared v3.4.21 + * (c) 2018-present Yuxi (Evan) You and Vue contributors + * @license MIT + **/ +function makeMap$2(e,t){const n=new Set(e.split(","));return t?e=>n.has(e.toLowerCase()):e=>n.has(e)}const NOOP$1=()=>{},hasOwnProperty$2=Object.prototype.hasOwnProperty,hasOwn$1=(e,t)=>hasOwnProperty$2.call(e,t),isArray$4=Array.isArray,isMap$1=e=>"[object Map]"===toTypeString$1(e),isFunction$4=e=>"function"==typeof e,isString$4=e=>"string"==typeof e,isSymbol$1=e=>"symbol"==typeof e,isObject$4=e=>null!==e&&"object"==typeof e,objectToString$1=Object.prototype.toString,toTypeString$1=e=>objectToString$1.call(e),toRawType=e=>toTypeString$1(e).slice(8,-1),isIntegerKey=e=>isString$4(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,hasChanged$1=(e,t)=>!Object.is(e,t),def$1=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})}; +/** + * @vue/reactivity v3.4.21 + * (c) 2018-present Yuxi (Evan) You and Vue contributors + * @license MIT + **/ +let activeEffectScope,activeEffect;class EffectScope{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=activeEffectScope,!e&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=activeEffectScope;try{return activeEffectScope=this,e()}finally{activeEffectScope=t}}}on(){activeEffectScope=this}off(){activeEffectScope=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t"+fe(e[t].content)+"
\n"},me.fence=function(e,t,r,n,s){var o,i,a,l,c,u=e[t],p=u.info?de(u.info).trim():"",h="",d="";return p&&(h=(a=p.split(/(\s+)/g))[0],d=a.slice(2).join("")),0===(o=r.highlight&&r.highlight(u.content,h,d)||fe(u.content)).indexOf(""+o+"
\n"):""+o+"
\n"},me.image=function(e,t,r,n,s){var o=e[t];return o.attrs[o.attrIndex("alt")][1]=s.renderInlineAsText(o.children,r,n),s.renderToken(e,t,r)},me.hardbreak=function(e,t,r){return r.xhtmlOut?"=4))break;s=++n}return e.line=s,(o=e.push("code_block","code",0)).content=e.getLines(t,s,4+e.blkIndent,!1)+"\n",o.map=[t,e.line],!0}],["fence",function(e,t,r,n){var s,o,i,a,l,c,u,p=!1,h=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(h+3>d)return!1;if(126!==(s=e.src.charCodeAt(h))&&96!==s)return!1;if(l=h,(o=(h=e.skipChars(h,s))-l)<3)return!1;if(u=e.src.slice(l,h),i=e.src.slice(h,d),96===s&&i.indexOf(String.fromCharCode(s))>=0)return!1;if(n)return!0;for(a=t;!(++a>=r)&&!((h=l=e.bMarks[a]+e.tShift[a])<(d=e.eMarks[a])&&e.sCount[a] i;n-=f[n]+1)if((o=t[n]).marker===s.marker&&o.open&&o.end<0&&(l=!1,(o.close||s.open)&&(o.length+s.length)%3==0&&(o.length%3==0&&s.length%3==0||(l=!0)),!l)){c=n>0&&!t[n-1].open?f[n-1]+1:0,f[r]=r-n+c,f[n]=c,s.open=!1,o.end=r,o.close=!1,a=-1,d=-2;break}-1!==a&&(u[s.marker][(s.open?3:0)+(s.length||0)%3]=a)}}}var Vt=Pe,$t=M.isWhiteSpace,Zt=M.isPunctChar,Gt=M.isMdAsciiPunct;function Ht(e,t,r,n){this.src=e,this.env=r,this.md=t,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}Ht.prototype.pushPending=function(){var e=new Vt("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},Ht.prototype.push=function(e,t,r){this.pending&&this.pushPending();var n=new Vt(e,t,r),s=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,r>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],s={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(s),n},Ht.prototype.scanDelims=function(e,t){var r,n,s,o,i,a,l,c,u,p=e,h=!0,d=!0,f=this.posMax,m=this.src.charCodeAt(e);for(r=e>0?this.src.charCodeAt(e-1):32;p =4))break;o=++n}return e.line=o,(s=e.push("code_block","code",0)).content=e.getLines(t,o,4+e.blkIndent,!0),s.map=[t,e.line],!0}],["fence",function(e,t,r,n){var o,s,i,a,l,c,u,p=!1,h=e.bMarks[t]+e.tShift[t],d=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(h+3>d)return!1;if(126!==(o=e.src.charCodeAt(h))&&96!==o)return!1;if(l=h,(s=(h=e.skipChars(h,o))-l)<3)return!1;if(u=e.src.slice(l,h),i=e.src.slice(h,d),96===o&&i.indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;for(a=t;!(++a>=r)&&!((h=l=e.bMarks[a]+e.tShift[a])<(d=e.eMarks[a])&&e.sCount[a] i;n-=s.jump+1)if((s=t[n]).marker===o.marker&&s.open&&s.end<0&&(l=!1,(s.close||o.open)&&(s.length+o.length)%3==0&&(s.length%3==0&&o.length%3==0||(l=!0)),!l)){c=n>0&&!t[n-1].open?t[n-1].jump+1:0,o.jump=r-n+c,o.open=!1,s.end=r,s.jump=c,s.close=!1,a=-1;break}-1!==a&&(u[o.marker][(o.length||0)%3]=a)}}var It=ie.isWhiteSpace,Tt=ie.isPunctChar,Rt=ie.isMdAsciiPunct;function Mt(e,t,r,n){this.src=e,this.env=r,this.md=t,this.tokens=n,this.tokens_meta=Array(n.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1}Mt.prototype.pushPending=function(){var e=new Be("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},Mt.prototype.push=function(e,t,r){this.pending&&this.pushPending();var n=new Be(e,t,r),o=null;return r<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),n.level=this.level,r>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(o),n},Mt.prototype.scanDelims=function(e,t){var r,n,o,s,i,a,l,c,u,p=e,h=!0,d=!0,f=this.posMax,m=this.src.charCodeAt(e);for(r=e>0?this.src.charCodeAt(e-1):32;p
\n"},de.fence=function(e,t,r,n,o){var s,i,a,l,c,u=e[t],p=u.info?pe(u.info).trim():"",h="",d="";return p&&(h=(a=p.split(/(\s+)/g))[0],d=a.slice(2).join("")),0===(s=r.highlight&&r.highlight(u.content,h,d)||he(u.content)).indexOf(""+he(e[t].content)+"
\n"):""+s+"
\n"},de.image=function(e,t,r,n,o){var s=e[t];return s.attrs[s.attrIndex("alt")][1]=o.renderInlineAsText(s.children,r,n),o.renderToken(e,t,r)},de.hardbreak=function(e,t,r){return r.xhtmlOut?""+s+"
\n":"
\n"},de.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"
\n":"
\n":"\n"},de.text=function(e,t){return he(e[t].content)},de.html_block=function(e,t){return e[t].content},de.html_inline=function(e,t){return e[t].content},fe.prototype.renderAttrs=function(e){var t,r,n;if(!e.attrs)return"";for(n="",t=0,r=e.attrs.length;t`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",tt="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",rt={HTML_TAG_RE:new RegExp("^(?:"+et+"|"+tt+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),HTML_OPEN_CLOSE_TAG_RE:new RegExp("^(?:"+et+"|"+tt+")")},nt=rt.HTML_OPEN_CLOSE_TAG_RE,ot=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^?("+["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"].join("|")+")(?=(\\s|/?>|$))","i"),/^$/,!0],[new RegExp(nt.source+"\\s*$"),/^$/,!1]],st=ie.isSpace;function it(e,t,r,n){var o,s,i,a,l,c,u,p;for(this.src=e,this.md=t,this.env=r,this.tokens=n,this.bMarks=[],this.eMarks=[],this.tShift=[],this.sCount=[],this.bsCount=[],this.blkIndent=0,this.line=0,this.lineMax=0,this.tight=!1,this.ddIndent=-1,this.listIndent=-1,this.parentType="root",this.level=0,this.result="",p=!1,i=a=c=u=0,l=(s=this.src).length;a=4)return!1;if(62!==e.src.charCodeAt(w++))return!1;if(n)return!0;for(a=h=e.sCount[t]+1,32===e.src.charCodeAt(w)?(w++,a++,h++,o=!1,v=!0):9===e.src.charCodeAt(w)?(v=!0,(e.bsCount[t]+h)%4==3?(w++,a++,h++,o=!1):o=!0):v=!1,d=[e.bMarks[t]],e.bMarks[t]=w;w=r))&&!(e.sCount[i]?@[]^_`{|}~-".split("").forEach((function(e){ft[e.charCodeAt(0)]=1}));function gt(e,t){var r,n,o,s,i,a=[],l=t.length;for(r=0;r