From 62a4e80fa1148c2c39c3871c2df2d57c6bec0180 Mon Sep 17 00:00:00 2001 From: unliar Date: Tue, 16 Nov 2021 09:05:18 +0000 Subject: [PATCH] deploy: ff3eee10541a2d61f97f002d54a3f75de93ccd2a --- assets/{index-legacy.a8112a93.js => index-legacy.2a03baf0.js} | 2 +- assets/{index-legacy.025a9311.js => index-legacy.4cce4b2b.js} | 2 +- assets/{index-legacy.900b3a5e.js => index-legacy.6d01db7c.js} | 2 +- assets/index-legacy.850527bd.js | 1 + assets/{index-legacy.98e2101f.js => index-legacy.9dfebfe8.js} | 2 +- assets/{index-legacy.6cec1b28.js => index-legacy.fe24d0c9.js} | 2 +- assets/index-legacy.ffe8bfb5.js | 1 - assets/{index.0aea1b90.js => index.0f5c5bbe.js} | 2 +- assets/{index.dc05998d.js => index.60c1906c.js} | 2 +- assets/{index.146225bc.js => index.64e367e7.js} | 2 +- assets/{index.24cabceb.js => index.b6d905e1.js} | 2 +- assets/{index.cc0d6e60.js => index.b8771b0a.js} | 2 +- assets/{index.7b8df9f4.js => index.e61a2594.js} | 2 +- .../index.vue_vue&type=style&index=0&lang-legacy.895d60fd.js | 1 + .../index.vue_vue&type=style&index=0&lang-legacy.ec660a35.js | 1 - ...css => index.vue_vue&type=style&index=0&lang.2b842553.css} | 2 +- assets/index.vue_vue&type=style&index=0&lang.401498f5.js | 1 + assets/index.vue_vue&type=style&index=0&lang.d6191442.js | 1 - assets/{pid-legacy.0f92b42f.js => pid-legacy.9d87ff6a.js} | 2 +- assets/{pid.89964575.js => pid.60f44e77.js} | 2 +- assets/{uid-legacy.69cea2d4.js => uid-legacy.c359b6bd.js} | 2 +- assets/uid.915351d3.js | 1 - assets/uid.925b71a7.js | 1 + index.html | 4 ++-- 24 files changed, 21 insertions(+), 21 deletions(-) rename assets/{index-legacy.a8112a93.js => index-legacy.2a03baf0.js} (69%) rename assets/{index-legacy.025a9311.js => index-legacy.4cce4b2b.js} (97%) rename assets/{index-legacy.900b3a5e.js => index-legacy.6d01db7c.js} (95%) create mode 100644 assets/index-legacy.850527bd.js rename assets/{index-legacy.98e2101f.js => index-legacy.9dfebfe8.js} (65%) rename assets/{index-legacy.6cec1b28.js => index-legacy.fe24d0c9.js} (99%) delete mode 100644 assets/index-legacy.ffe8bfb5.js rename assets/{index.0aea1b90.js => index.0f5c5bbe.js} (97%) rename assets/{index.dc05998d.js => index.60c1906c.js} (59%) rename assets/{index.146225bc.js => index.64e367e7.js} (54%) rename assets/{index.24cabceb.js => index.b6d905e1.js} (94%) rename assets/{index.cc0d6e60.js => index.b8771b0a.js} (73%) rename assets/{index.7b8df9f4.js => index.e61a2594.js} (97%) create mode 100644 assets/index.vue_vue&type=style&index=0&lang-legacy.895d60fd.js delete mode 100644 assets/index.vue_vue&type=style&index=0&lang-legacy.ec660a35.js rename assets/{index.vue_vue&type=style&index=0&lang.593a7d4c.css => index.vue_vue&type=style&index=0&lang.2b842553.css} (68%) create mode 100644 assets/index.vue_vue&type=style&index=0&lang.401498f5.js delete mode 100644 assets/index.vue_vue&type=style&index=0&lang.d6191442.js rename assets/{pid-legacy.0f92b42f.js => pid-legacy.9d87ff6a.js} (99%) rename assets/{pid.89964575.js => pid.60f44e77.js} (99%) rename assets/{uid-legacy.69cea2d4.js => uid-legacy.c359b6bd.js} (65%) delete mode 100644 assets/uid.915351d3.js create mode 100644 assets/uid.925b71a7.js diff --git a/assets/index-legacy.a8112a93.js b/assets/index-legacy.2a03baf0.js similarity index 69% rename from assets/index-legacy.a8112a93.js rename to assets/index-legacy.2a03baf0.js index a0ff807..9d7c4b1 100644 --- a/assets/index-legacy.a8112a93.js +++ b/assets/index-legacy.2a03baf0.js @@ -1 +1 @@ -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.6cec1b28.js","./index.vue_vue&type=style&index=0&lang-legacy.ec660a35.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,v,f,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,v=e.O,f=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 b=y();v("data-v-ee729a98");var k={class:"content-layout-container"},q={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"};f();var L=t({expose:[],setup:function(e){var t=_(),y=computed((function(){return t.Article.CategoryList}));return b((function(e,t){var v=n("router-link");return a(),r("div",k,[i("div",q,[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(v,{to:"/?CategoryID="+e.Id},{default:b((function(){return[u(d(e.CN),1)]})),_:2},1032,["to"])])})),128))])])])])}))}});L.__scopeId="data-v-ee729a98";var j=y();v("data-v-422f221b");var O={key:0,class:"page-navi"},S=u("上一页"),C=u("下一页");f();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"}}})); +function asyncGeneratorStep(e,t,n,a,r,i,o){try{var c=e[i](o),l=c.value}catch(d){return void n(d)}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.fe24d0c9.js","./index.vue_vue&type=style&index=0&lang-legacy.895d60fd.js","./SimpleInfoItem-legacy.b7b97413.js","./time-legacy.6cd5ad23.js"],(function(e){"use strict";var t,n,a,r,i,o,c,l,d,u,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,d=e.A,u=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[d(u(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=d("上一页"),C=d("下一页");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 d=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(d,{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(d,{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.025a9311.js b/assets/index-legacy.4cce4b2b.js similarity index 97% rename from assets/index-legacy.025a9311.js rename to assets/index-legacy.4cce4b2b.js index ee9ffd5..607ef4d 100644 --- a/assets/index-legacy.025a9311.js +++ b/assets/index-legacy.4cce4b2b.js @@ -1 +1 @@ -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.6cec1b28.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"}}})); +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.fe24d0c9.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.900b3a5e.js b/assets/index-legacy.6d01db7c.js similarity index 95% rename from assets/index-legacy.900b3a5e.js rename to assets/index-legacy.6d01db7c.js index a95f80a..a6ede46 100644 --- a/assets/index-legacy.900b3a5e.js +++ b/assets/index-legacy.6d01db7c.js @@ -1 +1 @@ -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.ec660a35.js","./vendor-legacy.73e5f43f.js","./index-legacy.6cec1b28.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"}}})); +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.895d60fd.js","./vendor-legacy.73e5f43f.js","./index-legacy.fe24d0c9.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.850527bd.js b/assets/index-legacy.850527bd.js new file mode 100644 index 0000000..1b556ab --- /dev/null +++ b/assets/index-legacy.850527bd.js @@ -0,0 +1 @@ +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.fe24d0c9.js","./vendor-legacy.73e5f43f.js"],(function(e){"use strict";var n,t,a,d,i,l,u,o,c,r;return{setters:[function(e){n=e.b,t=e.a},function(e){a=e.k,d=e.n,i=e.p,l=e.z,u=e.B,o=e.N,c=e.O,r=e.P}],execute:function(){var f=o();c("data-v-ad037df8");var s={class:"not-found"},v={class:"x-mian"},_=l("div",null,"你所寻找的页面不在服务区~",-1);r();e("default",a({expose:[],setup:function(e){var a,o=n(),c=ref(5);return t({title:"404 not found"}),onMounted((function(){a=setInterval((function(){c.value=c.value-1,c.value<=0&&o.replace("/")}),1e3)})),onUnmounted((function(){clearInterval(a)})),f((function(e,n){return d(),i("div",s,[l("div",v,[_,l("div",null,u(c.value)+"秒后返回主页",1)])])}))}})).__scopeId="data-v-ad037df8"}}})); diff --git a/assets/index-legacy.98e2101f.js b/assets/index-legacy.9dfebfe8.js similarity index 65% rename from assets/index-legacy.98e2101f.js rename to assets/index-legacy.9dfebfe8.js index 8da298c..d2927e6 100644 --- a/assets/index-legacy.98e2101f.js +++ b/assets/index-legacy.9dfebfe8.js @@ -1 +1 @@ -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.6cec1b28.js","./index.vue_vue&type=style&index=0&lang-legacy.ec660a35.js","./vendor-legacy.73e5f43f.js"],(function(e){"use strict";var t,n,a,l,u,i,r,c,d,o,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,c=e.p,d=e.z,o=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(),c(l,null,{default:y((function(){return[d(n,{loading:o(j),padding:"30vh 0",infoSize:"18px",info:"努力加载中"},null,8,["loading"]),o(j)?s("",!0):(r(),c("main",g,[d("h1",m,v(o(L)),1),d("div",null,"作者:"+v(o(M)),1),d("div",{class:"article-container",innerHTML:o(k)},null,8,["innerHTML"]),d("div",x,[d("div",h,[d(a,{to:"/daily-articles?date="+o(H)},{default:y((function(){return[d("a",null,"查看"+v(o(H))+"的文章",1)]})),_:1},8,["to"])])])]))]})),_:1})}))}})).__scopeId="data-v-750295de"}}})); +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.fe24d0c9.js","./index.vue_vue&type=style&index=0&lang-legacy.895d60fd.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.6cec1b28.js b/assets/index-legacy.fe24d0c9.js similarity index 99% rename from assets/index-legacy.6cec1b28.js rename to assets/index-legacy.fe24d0c9.js index 5dd8a2e..e6cb016 100644 --- a/assets/index-legacy.6cec1b28.js +++ b/assets/index-legacy.fe24d0c9.js @@ -1 +1 @@ -import"core-js/modules/es.symbol.iterator.js";function asyncGeneratorStep(t,e,n,r,o,a,i){try{var s=t[a](i),c=s.value}catch(u){return void n(u)}s.done?e(c):Promise.resolve(c).then(r,o)}function _asyncToGenerator(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var a=t.apply(e,n);function i(t){asyncGeneratorStep(a,r,o,i,s,"next",t)}function s(t){asyncGeneratorStep(a,r,o,i,s,"throw",t)}i(void 0)}))}}function _createForOfIteratorHelperLoose(t,e){var n;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(n=_unsupportedIterableToArray(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0;return function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=t[Symbol.iterator]()).next.bind(n)}function _unsupportedIterableToArray(t,e){if(t){if("string"==typeof t)return _arrayLikeToArray(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(t,e):void 0}}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nh1,.article-container>h2,.article-container>h3,.article-container>h4,.article-container>h5{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 teal}.article-container table{border-collapse:collapse;empty-cells:show}.article-container td,.article-container th{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:translateX(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-deletion,.hljs-name,.hljs-regexp,.hljs-selector-class,.hljs-selector-id,.hljs-tag,.hljs-template-variable,.hljs-variable{color:#c66}.hljs-built_in,.hljs-builtin-name,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-type{color:#de935f}.hljs-attribute{color:#f0c674}.hljs-addition,.hljs-bullet,.hljs-string,.hljs-symbol{color:#b5bd68}.hljs-section,.hljs-title{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:0;width:100px;height:100%;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1;-webkit-transform:rotate(3deg) translate(0,-4px);-ms-transform:rotate(3deg) translate(0,-4px);transform:rotate(3deg) translate(0,-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 .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(360deg)}}@keyframes nprogress-spinner{0%{transform:rotate(0)}100%{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:translateX(-100%);animation:left-swing-f327bc66 .5s ease-in alternate infinite}.balls div[data-v-f327bc66]:nth-of-type(3){transform:translateX(-95%);animation:right-swing-f327bc66 .5s ease-out alternate infinite}@keyframes left-swing-f327bc66{100%,50%{transform:translateX(95%)}}@keyframes right-swing-f327bc66{50%{transform:translateX(-95%)}100%{transform:translateX(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))}",document.head.appendChild(__vite_style__),System.register(["./vendor-legacy.73e5f43f.js"],(function(t,e){"use strict";var n,r,o,a,i,s,c,u,l,f,d,p,h,m,v,g,b,y,_,w,x,T,O,E,k,C,R,S,A,j,B,V,I,L,P,D,N,U,z,F,H,M,X,q,$;return{setters:[function(t){n=t.c,r=t.r,o=t.w,a=t.o,i=t.i,s=t.e,c=t.m,u=t.a,l=t.b,f=t.d,d=t.f,p=t.g,h=t.h,m=t.j,v=t.t,g=t.k,b=t.l,y=t.u,_=t.n,w=t.p,x=t.q,T=t.s,O=t.v,E=t.x,k=t.y,C=t.z,R=t.F,S=t.A,A=t.B,j=t.C,B=t.D,V=t.T,I=t.E,L=t.G,P=t.H,D=t.I,N=t.J,U=t.K,z=t.L,F=t.M,H=t.N,M=t.O,X=t.P,q=t.Q,$=t.R}],execute:function(){t("b",(function(){return i(sn)}));var Y,G,J="_vue_use_head_",W="head:count",K="data-head-attrs",Q=function(t,e,n){for(var r=n.createElement(t),o=0,a=Object.keys(e);o-1&&t.splice(n,1)};return!n&&h()&&m(r),r}function ut(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r0},bt=function(t){return void 0===t},yt=function(t){return"object"==typeof t&&null!==t},_t=function(t){return window.TouchEvent&&t instanceof TouchEvent},wt=function(t){return Ot(t,"component")&&xt(t.component)},xt=function(t){return!bt(t)&&(vt(t)||(mt(e=t)||yt(e))||wt(t));var e},Tt=function(t){return yt(t)&&["height","width","right","left","top","bottom"].every((function(e){return"number"==typeof t[e]}))},Ot=function(t,e){return(yt(t)||mt(t))&&e in t},Et=(ht=0,function(){return ht++});function kt(t){return _t(t)?t.targetTouches[0].clientX:t.clientX}function Ct(t){return _t(t)?t.targetTouches[0].clientY:t.clientY}var Rt,St,At,jt=function t(e){return wt(e)?t(e.component):function(t){return Ot(t,"tag")&>(t.tag)}(e)?g({render:function(){return e}}):"string"==typeof e?e:b(y(e))},Bt=function(){function t(){this.allHandlers={}}var e=t.prototype;return e.getHandlers=function(t){return this.allHandlers[t]||[]},e.on=function(t,e){var n=this.getHandlers(t);n.push(e),this.allHandlers[t]=n},e.off=function(t,e){var n=this.getHandlers(t);n.splice(n.indexOf(e)>>>0,1)},e.emit=function(t,e){this.getHandlers(t).forEach((function(t){return t(e)}))},t}();!function(t){t.SUCCESS="success",t.ERROR="error",t.WARNING="warning",t.INFO="info",t.DEFAULT="default"}(Rt||(Rt={})),function(t){t.TOP_LEFT="top-left",t.TOP_CENTER="top-center",t.TOP_RIGHT="top-right",t.BOTTOM_LEFT="bottom-left",t.BOTTOM_CENTER="bottom-center",t.BOTTOM_RIGHT="bottom-right"}(St||(St={})),function(t){t.ADD="add",t.DISMISS="dismiss",t.UPDATE="update",t.CLEAR="clear",t.UPDATE_DEFAULTS="update_defaults"}(At||(At={}));var Vt="Vue-Toastification",It={type:{type:String,default:Rt.DEFAULT},classNames:{type:[String,Array],default:function(){return[]}},trueBoolean:{type:Boolean,default:!0}},Lt={type:It.type,customIcon:{type:[String,Boolean,Object,Function],default:!0}},Pt={component:{type:[String,Object,Function,Boolean],default:"button"},classNames:It.classNames,showOnHover:{type:Boolean,default:!1},ariaLabel:{type:String,default:"close"}},Dt={timeout:{type:[Number,Boolean],default:5e3},hideProgressBar:{type:Boolean,default:!1},isRunning:{type:Boolean,default:!1}},Nt={transition:{type:[Object,String],default:Vt+"__bounce"}},Ut={CORE_TOAST:{position:{type:String,default:St.TOP_RIGHT},draggable:It.trueBoolean,draggablePercent:{type:Number,default:.6},pauseOnFocusLoss:It.trueBoolean,pauseOnHover:It.trueBoolean,closeOnClick:It.trueBoolean,timeout:Dt.timeout,hideProgressBar:Dt.hideProgressBar,toastClassName:It.classNames,bodyClassName:It.classNames,icon:Lt.customIcon,closeButton:Pt.component,closeButtonClassName:Pt.classNames,showCloseButtonOnHover:Pt.showOnHover,accessibility:{type:Object,default:function(){return{toastRole:"alert",closeButtonLabel:"close"}}},rtl:{type:Boolean,default:!1},eventBus:{type:Object,required:!0,default:new Bt}},TOAST:{id:{type:[String,Number],required:!0,default:0},type:It.type,content:{type:[String,Object,Function],required:!0,default:""},onClick:{type:Function,default:function(){}},onClose:{type:Function,default:function(){}}},CONTAINER:{container:{type:[Object,Function],default:function(){return document.body}},newestOnTop:It.trueBoolean,maxToasts:{type:Number,default:20},transition:Nt.transition,toastDefaults:Object,filterBeforeCreate:{type:Function,default:function(t){return t}},filterToasts:{type:Function,default:function(t){return t}},containerClassName:It.classNames,onMounted:Function},PROGRESS_BAR:Dt,ICON:Lt,TRANSITION:Nt,CLOSE_BUTTON:Pt},zt=g({name:"VtProgressBar",props:Ut.PROGRESS_BAR,data:function(){return{hasClass:!0}},computed:{style:function(){return{animationDuration:this.timeout+"ms",animationPlayState:this.isRunning?"running":"paused",opacity:this.hideProgressBar?0:1}},cpClass:function(){return this.hasClass?Vt+"__progress-bar":""}},watch:{timeout:function(){var t=this;this.hasClass=!1,this.$nextTick((function(){return t.hasClass=!0}))}},mounted:function(){this.$el.addEventListener("animationend",this.animationEnded)},beforeUnmount:function(){this.$el.removeEventListener("animationend",this.animationEnded)},methods:{animationEnded:function(){this.$emit("close-toast")}}});zt.render=function(t,e,n,r,o,a){return _(),w("div",{style:t.style,class:t.cpClass},null,6)},zt.__file="src/components/VtProgressBar.vue";var Ft=g({name:"VtCloseButton",props:Ut.CLOSE_BUTTON,computed:{buttonComponent:function(){return!1!==this.component?jt(this.component):"button"},classes:function(){var t=[Vt+"__close-button"];return this.showOnHover&&t.push("show-on-hover"),t.concat(this.classNames)}}}),Ht=S(" × ");Ft.render=function(t,e,n,r,o,a){return _(),w(O(t.buttonComponent),T({"aria-label":t.ariaLabel,class:t.classes},t.$attrs),{default:x((function(){return[Ht]})),_:1},16,["aria-label","class"])},Ft.__file="src/components/VtCloseButton.vue";var Mt={},Xt={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"check-circle",class:"svg-inline--fa fa-check-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},qt=C("path",{fill:"currentColor",d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"},null,-1);Mt.render=function(t,e,n,r,o,a){return _(),w("svg",Xt,[qt])},Mt.__file="src/components/icons/VtSuccessIcon.vue";var $t={},Yt={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"info-circle",class:"svg-inline--fa fa-info-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Gt=C("path",{fill:"currentColor",d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"},null,-1);$t.render=function(t,e,n,r,o,a){return _(),w("svg",Yt,[Gt])},$t.__file="src/components/icons/VtInfoIcon.vue";var Jt={},Wt={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-circle",class:"svg-inline--fa fa-exclamation-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Kt=C("path",{fill:"currentColor",d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1);Jt.render=function(t,e,n,r,o,a){return _(),w("svg",Wt,[Kt])},Jt.__file="src/components/icons/VtWarningIcon.vue";var Qt={},Zt={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-triangle",class:"svg-inline--fa fa-exclamation-triangle fa-w-18",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},te=C("path",{fill:"currentColor",d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1);Qt.render=function(t,e,n,r,o,a){return _(),w("svg",Zt,[te])},Qt.__file="src/components/icons/VtErrorIcon.vue";var ee=g({name:"VtIcon",props:Ut.ICON,computed:{customIconChildren:function(){return Ot(this.customIcon,"iconChildren")?this.trimValue(this.customIcon.iconChildren):""},customIconClass:function(){return vt(this.customIcon)?this.trimValue(this.customIcon):Ot(this.customIcon,"iconClass")?this.trimValue(this.customIcon.iconClass):""},customIconTag:function(){return Ot(this.customIcon,"iconTag")?this.trimValue(this.customIcon.iconTag,"i"):"i"},hasCustomIcon:function(){return this.customIconClass.length>0},component:function(){return this.hasCustomIcon?this.customIconTag:xt(this.customIcon)?jt(this.customIcon):this.iconTypeComponent},iconTypeComponent:function(){var t;return((t={})[Rt.DEFAULT]=$t,t[Rt.INFO]=$t,t[Rt.SUCCESS]=Mt,t[Rt.ERROR]=Qt,t[Rt.WARNING]=Jt,t)[this.type]},iconClasses:function(){var t=[Vt+"__icon"];return this.hasCustomIcon?t.concat(this.customIconClass):t}},methods:{trimValue:function(t,e){return void 0===e&&(e=""),gt(t)?t.trim():e}}});ee.render=function(t,e,n,r,o,a){return _(),w(O(t.component),{class:t.iconClasses},{default:x((function(){return[S(A(t.customIconChildren),1)]})),_:1},8,["class"])},ee.__file="src/components/VtIcon.vue";var ne=g({name:"VtToast",components:{ProgressBar:zt,CloseButton:Ft,Icon:ee},inheritAttrs:!1,props:Object.assign({},Ut.CORE_TOAST,Ut.TOAST),data:function(){return{isRunning:!0,disableTransitions:!1,beingDragged:!1,dragStart:0,dragPos:{x:0,y:0},dragRect:{}}},computed:{classes:function(){var t=[Vt+"__toast",Vt+"__toast--"+this.type,""+this.position].concat(this.toastClassName);return this.disableTransitions&&t.push("disable-transition"),this.rtl&&t.push(Vt+"__toast--rtl"),t},bodyClasses:function(){return[Vt+"__toast-"+(vt(this.content)?"body":"component-body")].concat(this.bodyClassName)},draggableStyle:function(){return this.dragStart===this.dragPos.x?{}:this.beingDragged?{transform:"translateX("+this.dragDelta+"px)",opacity:1-Math.abs(this.dragDelta/this.removalDistance)}:{transition:"transform 0.2s, opacity 0.2s",transform:"translateX(0)",opacity:1}},dragDelta:function(){return this.beingDragged?this.dragPos.x-this.dragStart:0},removalDistance:function(){return Tt(this.dragRect)?(this.dragRect.right-this.dragRect.left)*this.draggablePercent:0}},mounted:function(){this.draggable&&this.draggableSetup(),this.pauseOnFocusLoss&&this.focusSetup()},beforeUnmount:function(){this.draggable&&this.draggableCleanup(),this.pauseOnFocusLoss&&this.focusCleanup()},methods:{getVueComponentFromObj:jt,closeToast:function(){this.eventBus.emit(At.DISMISS,this.id)},clickHandler:function(){this.onClick&&this.onClick(this.closeToast),this.closeOnClick&&(this.beingDragged&&this.dragStart!==this.dragPos.x||this.closeToast())},timeoutHandler:function(){this.closeToast()},hoverPause:function(){this.pauseOnHover&&(this.isRunning=!1)},hoverPlay:function(){this.pauseOnHover&&(this.isRunning=!0)},focusPause:function(){this.isRunning=!1},focusPlay:function(){this.isRunning=!0},focusSetup:function(){addEventListener("blur",this.focusPause),addEventListener("focus",this.focusPlay)},focusCleanup:function(){removeEventListener("blur",this.focusPause),removeEventListener("focus",this.focusPlay)},draggableSetup:function(){var t=this.$el;t.addEventListener("touchstart",this.onDragStart,{passive:!0}),t.addEventListener("mousedown",this.onDragStart),addEventListener("touchmove",this.onDragMove,{passive:!1}),addEventListener("mousemove",this.onDragMove),addEventListener("touchend",this.onDragEnd),addEventListener("mouseup",this.onDragEnd)},draggableCleanup:function(){var t=this.$el;t.removeEventListener("touchstart",this.onDragStart),t.removeEventListener("mousedown",this.onDragStart),removeEventListener("touchmove",this.onDragMove),removeEventListener("mousemove",this.onDragMove),removeEventListener("touchend",this.onDragEnd),removeEventListener("mouseup",this.onDragEnd)},onDragStart:function(t){this.beingDragged=!0,this.dragPos={x:kt(t),y:Ct(t)},this.dragStart=kt(t),this.dragRect=this.$el.getBoundingClientRect()},onDragMove:function(t){this.beingDragged&&(t.preventDefault(),this.isRunning&&(this.isRunning=!1),this.dragPos={x:kt(t),y:Ct(t)})},onDragEnd:function(){var t=this;this.beingDragged&&(Math.abs(this.dragDelta)>=this.removalDistance?(this.disableTransitions=!0,this.$nextTick((function(){return t.closeToast()}))):setTimeout((function(){t.beingDragged=!1,Tt(t.dragRect)&&t.pauseOnHover&&t.dragRect.bottom>=t.dragPos.y&&t.dragPos.y>=t.dragRect.top&&t.dragRect.left<=t.dragPos.x&&t.dragPos.x<=t.dragRect.right?t.isRunning=!1:t.isRunning=!0})))}}});ne.render=function(t,e,n,r,o,a){var i=E("Icon"),s=E("CloseButton"),c=E("ProgressBar");return _(),w("div",{class:t.classes,style:t.draggableStyle,onClick:e[1]||(e[1]=function(){return t.clickHandler.apply(t,arguments)}),onMouseenter:e[2]||(e[2]=function(){return t.hoverPause.apply(t,arguments)}),onMouseleave:e[3]||(e[3]=function(){return t.hoverPlay.apply(t,arguments)})},[t.icon?(_(),w(i,{key:0,"custom-icon":t.icon,type:t.type},null,8,["custom-icon","type"])):k("v-if",!0),C("div",{role:t.accessibility.toastRole||"alert",class:t.bodyClasses},["string"==typeof t.content?(_(),w(R,{key:0},[S(A(t.content),1)],64)):(_(),w(O(t.getVueComponentFromObj(t.content)),T({key:1,"toast-id":t.id},t.content.props,j(t.content.listeners),{onCloseToast:t.closeToast}),null,16,["toast-id","onCloseToast"]))],10,["role"]),t.closeButton?(_(),w(s,{key:1,component:t.closeButton,"class-names":t.closeButtonClassName,"show-on-hover":t.showCloseButtonOnHover,"aria-label":t.accessibility.closeButtonLabel,onClick:B(t.closeToast,["stop"])},null,8,["component","class-names","show-on-hover","aria-label","onClick"])):k("v-if",!0),t.timeout?(_(),w(c,{key:2,"is-running":t.isRunning,"hide-progress-bar":t.hideProgressBar,timeout:t.timeout,onCloseToast:t.timeoutHandler},null,8,["is-running","hide-progress-bar","timeout","onCloseToast"])):k("v-if",!0)],38)},ne.__file="src/components/VtToast.vue";var re=g({name:"VtTransition",props:Ut.TRANSITION,emits:["leave"],methods:{leave:function(t){t.style.left=t.offsetLeft+"px",t.style.top=t.offsetTop+"px",t.style.width=getComputedStyle(t).width,t.style.position="absolute"}}});re.render=function(t,e,n,r,o,a){return _(),w(V,{tag:"div","enter-active-class":t.transition.enter?t.transition.enter:t.transition+"-enter-active","move-class":t.transition.move?t.transition.move:t.transition+"-move","leave-active-class":t.transition.leave?t.transition.leave:t.transition+"-leave-active",onLeave:t.leave},{default:x((function(){return[L(t.$slots,"default")]})),_:3},8,["enter-active-class","move-class","leave-active-class","onLeave"])},re.__file="src/components/VtTransition.vue";var oe=g({name:"VueToastification",components:{Toast:ne,VtTransition:re},props:Object.assign({},Ut.CORE_TOAST,Ut.CONTAINER,Ut.TRANSITION),data:function(){var t={count:0,positions:Object.values(St),toasts:{},defaults:{}};return t},computed:{toastArray:function(){return Object.values(this.toasts)},filteredToasts:function(){return this.defaults.filterToasts(this.toastArray)}},beforeMount:function(){var t=this.eventBus;t.on(At.ADD,this.addToast),t.on(At.CLEAR,this.clearToasts),t.on(At.DISMISS,this.dismissToast),t.on(At.UPDATE,this.updateToast),t.on(At.UPDATE_DEFAULTS,this.updateDefaults),this.defaults=this.$props},mounted:function(){this.setup(this.container)},methods:{setup:function(t){var e=this;return _asyncToGenerator(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!mt(t)){n.next=4;break}return n.next=3,t();case 3:t=n.sent;case 4:r=e.$el,bt(r.remove)?r.parentNode&&r.parentNode.removeChild(r):r.remove(),t.appendChild(e.$el);case 6:case"end":return n.stop()}var r}),n)})))()},setToast:function(t){bt(t.id)||(this.toasts[t.id]=t)},addToast:function(t){t.content=function(t){if("string"==typeof t)return t;var e=Ot(t,"props")&&yt(t.props)?t.props:{},n=Ot(t,"listeners")&&yt(t.listeners)?t.listeners:{};return{component:jt(t),props:e,listeners:n}}(t.content);var e=Object.assign({},this.defaults,t.type&&this.defaults.toastDefaults&&this.defaults.toastDefaults[t.type],t),n=this.defaults.filterBeforeCreate(e,this.toastArray);n&&this.setToast(n)},dismissToast:function(t){var e=this.toasts[t];bt(e)||bt(e.onClose)||e.onClose(),delete this.toasts[t]},clearToasts:function(){var t=this;Object.keys(this.toasts).forEach((function(e){t.dismissToast(e)}))},getPositionToasts:function(t){var e=this.filteredToasts.filter((function(e){return e.position===t})).slice(0,this.defaults.maxToasts);return this.defaults.newestOnTop?e.reverse():e},updateDefaults:function(t){bt(t.container)||this.setup(t.container),this.defaults=Object.assign({},this.defaults,t)},updateToast:function(t){var e=t.id,n=t.options,r=t.create;this.toasts[e]?(n.timeout&&n.timeout===this.toasts[e].timeout&&n.timeout++,this.setToast(Object.assign({},this.toasts[e],n))):r&&this.addToast(Object.assign({},{id:e},n))},getClasses:function(t){return[Vt+"__container",t].concat(this.defaults.containerClassName)}}});oe.render=function(t,e,n,r,o,a){var i=E("Toast"),s=E("VtTransition");return _(),w("div",null,[(_(!0),w(R,null,I(t.positions,(function(e){return _(),w("div",{key:e},[C(s,{transition:t.defaults.transition,class:t.getClasses(e)},{default:x((function(){return[(_(!0),w(R,null,I(t.getPositionToasts(e),(function(t){return _(),w(i,T({key:t.id},t),null,16)})),128))]})),_:2},1032,["transition","class"])])})),128))])},oe.__file="src/components/VtToastContainer.vue";var ae=function(t,e){void 0===t&&(t={}),void 0===e&&(e=!0);var n=t.eventBus=t.eventBus||new Bt;e&&P((function(){var e=D(oe,Object.assign({},t)),n=e.mount(document.createElement("div")),r=t.onMounted;bt(r)||r(n,e)}));var r=function(t,e){var r=Object.assign({},{id:Et(),type:Rt.DEFAULT},e,{content:t});return n.emit(At.ADD,r),r.id};return r.clear=function(){return n.emit(At.CLEAR,void 0)},r.updateDefaults=function(t){n.emit(At.UPDATE_DEFAULTS,t)},r.dismiss=function(t){n.emit(At.DISMISS,t)},r.update=function(t,e,r){var o=e.content,a=e.options;void 0===r&&(r=!1);var i=Object.assign({},a,{content:o});n.emit(At.UPDATE,{id:t,options:i,create:r})},r.success=function(t,e){return r(t,Object.assign({},e,{type:Rt.SUCCESS}))},r.info=function(t,e){return r(t,Object.assign({},e,{type:Rt.INFO}))},r.error=function(t,e){return r(t,Object.assign({},e,{type:Rt.ERROR}))},r.warning=function(t,e){return r(t,Object.assign({},e,{type:Rt.WARNING}))},r};function ie(t){return"undefined"==typeof window?(e=function(){return console.warn("[Vue Toastification] This plugin does not support SSR!")},new Proxy(e,{get:function(){return e}})):(n=t,["on","off","emit"].every((function(t){return Ot(n,t)&&mt(n[t])}))?ae({eventBus:t},!1):ae(t,!0));var e,n}var se=Symbol("VueToastification"),ce=new Bt,ue=t("c",(function(t){if(t)return ie(t);var e=h()?i(se):void 0;return e||ie(ce)})),le=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r=0)return;o[e]="set-cookie"===e?(o[e]?o[e]:[]).concat([n]):o[e]?o[e]+", "+n:n}})),o):o}(a.getAllResponseHeaders()):null,o={data:t.responseType&&"text"!==t.responseType?a.response:a.responseText,status:a.status,statusText:a.statusText,headers:r,config:t,request:a};!function(t,e,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(ke("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}(e,n,o),a=null}},a.onabort=function(){a&&(n(ke("Request aborted",t,"ECONNABORTED",a)),a=null)},a.onerror=function(){n(ke("Network Error",t,null,a)),a=null},a.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(ke(e,t,"ECONNABORTED",a)),a=null},be.isStandardBrowserEnv()){var f=(t.withCredentials||Se(l))&&t.xsrfCookieName?Ce.read(t.xsrfCookieName):void 0;f&&(o[t.xsrfHeaderName]=f)}if("setRequestHeader"in a&&be.forEach(o,(function(t,e){void 0===r&&"content-type"===e.toLowerCase()?delete o[e]:a.setRequestHeader(e,t)})),be.isUndefined(t.withCredentials)||(a.withCredentials=!!t.withCredentials),t.responseType)try{a.responseType=t.responseType}catch(d){if("json"!==t.responseType)throw d}"function"==typeof t.onDownloadProgress&&a.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&a.upload&&a.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){a&&(a.abort(),n(t),a=null)})),r||(r=null),a.send(r)}))},je={"Content-Type":"application/x-www-form-urlencoded"};function Be(t,e){!be.isUndefined(t)&&be.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var Ve,Ie={adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(Ve=Ae),Ve),transformRequest:[function(t,e){return Ee(e,"Accept"),Ee(e,"Content-Type"),be.isFormData(t)||be.isArrayBuffer(t)||be.isBuffer(t)||be.isStream(t)||be.isFile(t)||be.isBlob(t)?t:be.isArrayBufferView(t)?t.buffer:be.isURLSearchParams(t)?(Be(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):be.isObject(t)?(Be(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(e){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};Ie.headers={common:{Accept:"application/json, text/plain, */*"}},be.forEach(["delete","get","head"],(function(t){Ie.headers[t]={}})),be.forEach(["post","put","patch"],(function(t){Ie.headers[t]=be.merge(je)}));var Le=Ie;function Pe(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var De=function(t){return Pe(t),t.headers=t.headers||{},t.data=Te(t.data,t.headers,t.transformRequest),t.headers=be.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),be.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||Le.adapter)(t).then((function(e){return Pe(t),e.data=Te(e.data,e.headers,t.transformResponse),e}),(function(e){return Oe(e)||(Pe(t),e&&e.response&&(e.response.data=Te(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))},Ne=function(t,e){e=e||{};var n={},r=["url","method","data"],o=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],i=["validateStatus"];function s(t,e){return be.isPlainObject(t)&&be.isPlainObject(e)?be.merge(t,e):be.isPlainObject(e)?be.merge({},e):be.isArray(e)?e.slice():e}function c(r){be.isUndefined(e[r])?be.isUndefined(t[r])||(n[r]=s(void 0,t[r])):n[r]=s(t[r],e[r])}be.forEach(r,(function(t){be.isUndefined(e[t])||(n[t]=s(void 0,e[t]))})),be.forEach(o,c),be.forEach(a,(function(r){be.isUndefined(e[r])?be.isUndefined(t[r])||(n[r]=s(void 0,t[r])):n[r]=s(void 0,e[r])})),be.forEach(i,(function(r){r in e?n[r]=s(t[r],e[r]):r in t&&(n[r]=s(void 0,t[r]))}));var u=r.concat(o).concat(a).concat(i),l=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===u.indexOf(t)}));return be.forEach(l,c),n};function Ue(t){this.defaults=t,this.interceptors={request:new xe,response:new xe}}Ue.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=Ne(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[De,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));e.length;)n=n.then(e.shift(),e.shift());return n},Ue.prototype.getUri=function(t){return t=Ne(this.defaults,t),_e(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},be.forEach(["delete","get","head","options"],(function(t){Ue.prototype[t]=function(e,n){return this.request(Ne(n||{},{method:t,url:e,data:(n||{}).data}))}})),be.forEach(["post","put","patch"],(function(t){Ue.prototype[t]=function(e,n,r){return this.request(Ne(r||{},{method:t,url:e,data:n}))}}));var ze=Ue;function Fe(t){this.message=t}Fe.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},Fe.prototype.__CANCEL__=!0;var He=Fe;function Me(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new He(t),e(n.reason))}))}Me.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},Me.source=function(){var t;return{token:new Me((function(e){t=e})),cancel:t}};var Xe=Me;function qe(t){var e=new ze(t),n=le(ze.prototype.request,e);return be.extend(n,ze.prototype,e),be.extend(n,e),n}var $e=qe(Le);$e.Axios=ze,$e.create=function(t){return qe(Ne($e.defaults,t))},$e.Cancel=He,$e.CancelToken=Xe,$e.isCancel=Oe,$e.all=function(t){return Promise.all(t)},$e.spread=function(t){return function(e){return t.apply(null,e)}},$e.isAxiosError=function(t){return"object"==typeof t&&!0===t.isAxiosError};var Ye=$e,Ge=$e;Ye.default=Ge;var Je=Ye,We="HAPPY_USER_TOKEN",Ke=N((function(t,e){var n;n=function(){function t(){for(var t=0,e={};t-1?s:0);return s>-1&&(r=e.slice(0,s),o=t(a=e.slice(s+1,c>-1?c:e.length))),c>-1&&(r=r||e.slice(0,c),i=e.slice(c,e.length)),{fullPath:(r=function(t,e){if(t.startsWith("/"))return t;if(!t)return e;var n,r,o=e.split("/"),a=t.split("/"),i=o.length-1;for(n=0;n-1){var a=o.slice(1);return"/"!==a[0]&&(a="/"+a),bn(a,"")}return bn(n,t)+r+o}function Bn(t,e,n,r,o){return void 0===r&&(r=!1),void 0===o&&(o=!1),{back:t,current:e,forward:n,replaced:r,position:window.history.length,scroll:o?kn():null}}function Vn(t){var e=function(t){var e=window,n=e.history,r=e.location,o={value:jn(t,r)},a={value:n.state};function i(e,o,i){var s=t.indexOf("#"),c=s>-1?(r.host&&document.querySelector("base")?t:t.slice(s))+e:An()+t+e;try{n[i?"replaceState":"pushState"](o,"",c),a.value=o}catch(u){console.error(u),r[i?"replace":"assign"](c)}}return a.value||i(o.value,{back:null,current:o.value,forward:null,position:n.length-1,replaced:!0,scroll:null},!0),{location:o,state:a,push:function(t,e){var r=fn({},a.value,n.state,{forward:t,scroll:kn()});i(r.current,r,!0),i(t,fn({},Bn(o.value,t,null),{position:r.position+1},e),!1),o.value=t},replace:function(t,e){i(t,fn({},n.state,Bn(a.value.back,t,a.value.forward,!0),e,{position:a.value.position}),!0),o.value=t}}}(t=Tn(t)),n=function(t,e,n,r){var o=[],a=[],i=null,s=function(a){var s=a.state,c=jn(t,location),u=n.value,l=e.value,f=0;if(s){if(n.value=c,e.value=s,i&&i===u)return void(i=null);f=l?s.position-l.position:0}else r(c);o.forEach((function(t){t(n.value,u,{delta:f,type:pn.pop,direction:f?f>0?hn.forward:hn.back:hn.unknown})}))};function c(){var t=window.history;t.state&&t.replaceState(fn({},t.state,{scroll:kn()}),"")}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",c),{pauseListeners:function(){i=n.value},listen:function(t){o.push(t);var e=function(){var e=o.indexOf(t);e>-1&&o.splice(e,1)};return a.push(e),e},destroy:function(){for(var t,e=_createForOfIteratorHelperLoose(a);!(t=e()).done;)(0,t.value)();a=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",c)}}}(t,e.state,e.location,e.replace);var r=fn({location:"",base:t,go:function(t,e){void 0===e&&(e=!0),e||n.pauseListeners(),history.go(t)},createHref:En.bind(null,t)},e,n);return Object.defineProperty(r,"location",{get:function(){return e.location.value}}),Object.defineProperty(r,"state",{get:function(){return e.state.value}}),r}function In(t){return"string"==typeof t||"symbol"==typeof t}var Ln,Pn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Dn=rn("nf");function Nn(t,e){var n;return fn(new Error,((n={type:t})[Dn]=!0,n),e)}function Un(t,e){return t instanceof Error&&Dn in t&&(null==e||!!(t.type&e))}!function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"}(Ln||(Ln={}));var zn="[^/]+?",Fn={sensitive:!1,strict:!1,start:!0,end:!0},Hn=/[.+*?^${}()[\]/\\]/g;function Mn(t,e){for(var n=0;ne.length?1===e.length&&80===e[0]?1:-1:0}function Xn(t,e){for(var n=0,r=t.score,o=e.score;n1&&("*"===s||"+"===s)&&e("A repeatable param ("+u+") must be alone in its segment. eg: '/:ids+."),n.push({type:1,value:u,regexp:l,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):e("Invalid state to consume buffer"),u="")}function d(){u+=s}for(;c-1&&(n.splice(o,1),t.record.name&&r.delete(t.record.name),t.children.forEach(a),t.alias.forEach(a))}}function i(t){for(var e=0;e=0;)e++;n.splice(e,0,t),t.record.name&&!Wn(t)&&r.set(t.record.name,t)}return e=Qn({strict:!1,end:!0,sensitive:!1},e),t.forEach((function(t){return o(t)})),{addRoute:o,resolve:function(t,e){var o,a,i,s={};if("name"in t&&t.name){if(!(o=r.get(t.name)))throw Nn(1,{location:t});i=o.record.name,s=fn(function(t,e){for(var n,r={},o=_createForOfIteratorHelperLoose(e);!(n=o()).done;){var a=n.value;a in t&&(r[a]=t[a])}return r}(e.params,o.keys.filter((function(t){return!t.optional})).map((function(t){return t.name}))),t.params),a=o.stringify(s)}else if("path"in t)a=t.path,(o=n.find((function(t){return t.re.test(a)})))&&(s=o.parse(a),i=o.record.name);else{if(!(o=e.name?r.get(e.name):n.find((function(t){return t.re.test(e.path)}))))throw Nn(1,{location:t,currentLocation:e});i=o.record.name,s=fn({},e.params,t.params),a=o.stringify(s)}for(var c=[],u=o;u;)c.unshift(u.record),u=u.parent;return{name:i,path:a,params:s,matched:c,meta:Kn(c)}},removeRoute:a,getRoutes:function(){return n},getRecordMatcher:function(t){return r.get(t)}}}function Jn(t){var e={},n=t.props||!1;if("component"in t)e.default=n;else for(var r in t.components)e[r]="boolean"==typeof n?n:n[r];return e}function Wn(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function Kn(t){return t.reduce((function(t,e){return fn(t,e.meta)}),{})}function Qn(t,e){var n={};for(var r in t)n[r]=r in e?e[r]:t[r];return n}var Zn=/#/g,tr=/&/g,er=/\//g,nr=/=/g,rr=/\?/g,or=/\+/g,ar=/%5B/g,ir=/%5D/g,sr=/%5E/g,cr=/%60/g,ur=/%7B/g,lr=/%7C/g,fr=/%7D/g,dr=/%20/g;function pr(t){return encodeURI(""+t).replace(lr,"|").replace(ar,"[").replace(ir,"]")}function hr(t){return pr(t).replace(or,"%2B").replace(dr,"+").replace(Zn,"%23").replace(tr,"%26").replace(cr,"`").replace(ur,"{").replace(fr,"}").replace(sr,"^")}function mr(t){return function(t){return pr(t).replace(Zn,"%23").replace(rr,"%3F")}(t).replace(er,"%2F")}function vr(t){try{return decodeURIComponent(""+t)}catch(e){}return""+t}function gr(t){var e={};if(""===t||"?"===t)return e;for(var n=("?"===t[0]?t.slice(1):t).split("&"),r=0;r-1&&t.splice(n,1)}},list:function(){return t},reset:function(){t=[]}}}function wr(t,e,n,r,o){var a=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return function(){return new Promise((function(i,s){var c=function(t){var c;!1===t?s(Nn(4,{from:n,to:e})):t instanceof Error?s(t):"string"==typeof(c=t)||c&&"object"==typeof c?s(Nn(2,{from:e,to:t})):(a&&r.enterCallbacks[o]===a&&"function"==typeof t&&a.push(t),i())},u=t.call(r&&r.instances[o],e,n,c),l=Promise.resolve(u);t.length<3&&(l=l.then(c)),l.catch((function(t){return s(t)}))}))}}function xr(t,e,n,r){for(var o,a=[],i=function(){var t=o.value,i=function(o){var i,s=t.components[o];if("beforeRouteEnter"!==e&&!t.instances[o])return"continue";if("object"==typeof(i=s)||"displayName"in i||"props"in i||"__vccOpts"in i){var c=(s.__vccOpts||s)[e];c&&a.push(wr(c,n,r,t,o))}else{var u=s();u=u.catch(console.error),a.push((function(){return u.then((function(a){if(!a)return Promise.reject(new Error("Couldn't resolve component \""+o+'" at "'+t.path+'"'));var i,s=(i=a).__esModule||nn&&"Module"===i[Symbol.toStringTag]?a.default:a;t.components[o]=s;var c=(s.__vccOpts||s)[e];return c&&wr(c,n,r,t,o)()}))}))}};for(var s in t.components)i(s)},s=_createForOfIteratorHelperLoose(t);!(o=s()).done;)i();return a}function Tr(t){var e=i(sn),r=i(cn),o=n((function(){return e.resolve(y(t.to))})),a=n((function(){var t=o.value.matched,e=t.length,n=t[e-1],a=r.matched;if(!n||!a.length)return-1;var i=a.findIndex(yn.bind(null,n));if(i>-1)return i;var s=Er(t[e-2]);return e>1&&Er(n)===s&&a[a.length-1].path!==s?a.findIndex(yn.bind(null,t[e-2])):i})),s=n((function(){return a.value>-1&&function(t,e){var n=function(n){var r=e[n],o=t[n];if("string"==typeof r){if(r!==o)return{v:!1}}else if(!Array.isArray(o)||o.length!==r.length||r.some((function(t,e){return t!==o[e]})))return{v:!1}};for(var r in e){var o=n(r);if("object"==typeof o)return o.v}return!0}(r.params,o.value.params)})),c=n((function(){return a.value>-1&&a.value===r.matched.length-1&&_n(r.params,o.value.params)}));return{route:o,href:n((function(){return o.value.href})),isActive:s,isExactActive:c,navigate:function(n){return void 0===n&&(n={}),function(t){if(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)return;if(t.defaultPrevented)return;if(void 0!==t.button&&0!==t.button)return;if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}t.preventDefault&&t.preventDefault();return!0}(n)?e[y(t.replace)?"replace":"push"](y(t.to)):Promise.resolve()}}}var Or=g({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},setup:function(t,e){var r=e.slots,o=e.attrs,a=f(Tr(t)),s=i(sn).options,c=n((function(){var e;return(e={})[kr(t.activeClass,s.linkActiveClass,"router-link-active")]=a.isActive,e[kr(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]=a.isExactActive,e}));return function(){var e=r.default&&r.default(a);return t.custom?e:z("a",fn({"aria-current":a.isExactActive?t.ariaCurrentValue:null,onClick:a.navigate,href:a.href},o,{class:c.value}),e)}}});function Er(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}var kr=function(t,e,n){return null!=t?t:null!=e?e:n};function Cr(t,e){if(!t)return null;var n=t(e);return 1===n.length?n[0]:n}var Rr=g({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup:function(t,e){var o=e.attrs,a=e.slots,s=i(un),c=n((function(){return t.route||s.value})),u=i(an,0),f=n((function(){return c.value.matched[u]}));F(an,u+1),F(on,f),F(un,c);var d=r();return l((function(){return[d.value,f.value,t.name]}),(function(t,e){var n=t[0],r=t[1],o=t[2],a=e[0],i=e[1];e[2];r&&(r.instances[o]=n,i&&i!==r&&n&&n===a&&(r.leaveGuards=i.leaveGuards,r.updateGuards=i.updateGuards)),!n||!r||i&&yn(r,i)&&a||(r.enterCallbacks[o]||[]).forEach((function(t){return t(n)}))}),{flush:"post"}),function(){var e=c.value,n=f.value,r=n&&n.components[t.name],i=t.name;if(!r)return Cr(a.default,{Component:r,route:e});var s=n.props[t.name],u=s?!0===s?e.params:"function"==typeof s?s(e):s:null,l=z(r,fn({},u,o,{onVnodeUnmounted:function(t){t.component.isUnmounted&&(n.instances[i]=null)},ref:d}));return Cr(a.default,{Component:l,route:e})||l}}});function Sr(t){return t.reduce((function(t,e){return t.then((function(){return e()}))}),Promise.resolve())}var Ar=H();M("data-v-3629a0e2");var jr=C("div",null,"本项目为 Vue3 + Vite2 开源实践项目",-1),Br=C("div",null,[S(" 请点击前往 "),C("strong",null,"Github"),S("交友网站查看源码 ")],-1);X();var Vr=g({expose:[],setup:function(t){var e=function(){window.open("https://github.com/unliar/vue3-ts-happysooner-web")};return Ar((function(t,n){return _(),w("div",{onClick:e},[jr,Br])}))}});Vr.__scopeId="data-v-3629a0e2";var Ir,Lr=g({expose:[],setup:function(t){var e=en(),n=ue(),r=i(cn);!function(t){t?onBeforeMount((function(){var e;if(document.getElementById(t))console.error("useBaiduInit 无需多次调用",t);else{console.info("useBaiduInit 注册成功",t);var n=document.createElement("script");n.src="https://hm.baidu.com/hm.js?"+t,n.id=t;var r=document.getElementsByTagName("script")[0];null==r||null==(e=r.parentNode)||e.insertBefore(n,r)}})):console.error("useBaiduInit 未检测到百度统计ID",t)}("6b599d2d50ef582710e04da83818e1b0");var o=computed((function(){return r.fullPath}));return rt({title:"远浅 - 给世界献上美好的祝福 - Vue3实战项目"}),onMounted(_asyncToGenerator(regeneratorRuntime.mark((function t(){var r,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:setTimeout((function(){n.info(Vr,{position:St.BOTTOM_RIGHT,timeout:3e4})}),2e3),e.GetAuthedUserInfo(),e.GetCategoryList(),null==(r=window)||null==(o=r.hljs)||null==o.initHighlightingOnLoad||o.initHighlightingOnLoad();case 4:case"end":return t.stop()}}),t)})))),function(t,e){var n=E("router-view");return _(),w(n,{key:y(o)})}}}),Pr=function(t,e){return t()},Dr=[{path:"/",name:"home-page",component:function(){return Pr((function(){return e.import("./index-legacy.a8112a93.js")}))},props:function(t){return{query:t.query}}},{path:"/post/:pid",name:"post-detail",component:function(){return Pr((function(){return e.import("./pid-legacy.0f92b42f.js")}))},props:function(t){return{pid:+t.params.pid}}},{path:"/users/:uid",name:"user-details",component:function(){return Pr((function(){return e.import("./uid-legacy.69cea2d4.js")}))},props:function(t){return{uid:+t.params.uid}}},{path:"/daily-articles",name:"daily-read",component:function(){return Pr((function(){return e.import("./index-legacy.98e2101f.js")}))},props:function(t){return{query:t.query}}},{path:"/signin",name:"signin",component:function(){return Pr((function(){return e.import("./index-legacy.025a9311.js")}))}},{path:"/about",name:"about",component:function(){return Pr((function(){return e.import("./index-legacy.900b3a5e.js")}))}},{path:"/:pathMatch(.*)*",name:"not-found",component:function(){return Pr((function(){return e.import("./index-legacy.ffe8bfb5.js")}))}}],Nr=function(t){var e=Gn(t.routes,t),r=t.parseQuery||gr,o=t.stringifyQuery||br,a=t.history,i=_r(),s=_r(),c=_r(),u=U(Pn),l=Pn;ln&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");var d,p=dn.bind(null,(function(t){return""+t})),h=dn.bind(null,mr),m=dn.bind(null,vr);function v(t,n){if(n=fn({},n||u.value),"string"==typeof t){var i=gn(r,t,n.path),s=e.resolve({path:i.path},n),c=a.createHref(i.fullPath);return fn(i,s,{params:m(s.params),hash:vr(i.hash),redirectedFrom:void 0,href:c})}var l;"path"in t?l=fn({},t,{path:gn(r,t.path,n.path).path}):(l=fn({},t,{params:h(t.params)}),n.params=h(n.params));var f=e.resolve(l,n),d=t.hash||"";f.params=p(m(f.params));var v,g=function(t,e){var n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}(o,fn({},t,{hash:(v=d,pr(v).replace(ur,"{").replace(fr,"}").replace(sr,"^")),path:f.path})),b=a.createHref(g);return fn({fullPath:g,hash:d,query:o===br?yr(t.query):t.query},f,{redirectedFrom:void 0,href:b})}function g(t){return"string"==typeof t?gn(r,t,u.value.path):fn({},t)}function b(t,e){if(l!==t)return Nn(8,{from:e,to:t})}function _(t){return x(t)}function w(t){var e=t.matched[t.matched.length-1];if(e&&e.redirect){var n=e.redirect,r="function"==typeof n?n(t):n;return"string"==typeof r&&(r=r.indexOf("?")>-1||r.indexOf("#")>-1?r=g(r):{path:r}),fn({query:t.query,hash:t.hash,params:t.params},r)}}function x(t,e){var n=l=v(t),r=u.value,a=t.state,i=t.force,s=!0===t.replace,c=w(n);if(c)return x(fn(g(c),{state:a,force:i,replace:s}),e||n);var f,d=n;return d.redirectedFrom=e,!i&&function(t,e,n){var r=e.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&yn(e.matched[r],n.matched[o])&&_n(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}(o,r,n)&&(f=Nn(16,{to:d,from:r}),V(r,r,!0,!1)),(f?Promise.resolve(f):O(d,r)).catch((function(t){return Un(t)?t:j(t)})).then((function(t){if(t){if(Un(t,2))return x(fn(g(t.to),{state:a,force:i,replace:s}),e||d)}else t=k(d,r,!0,s,a);return E(d,r,t),t}))}function T(t,e){var n=b(t,e);return n?Promise.reject(n):Promise.resolve()}function O(t,e){var n,r=function(t,e){for(var n=[],r=[],o=[],a=Math.max(e.matched.length,t.matched.length),i=0;i=t.length?{done:!0}:{done:!1,value:t[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(n=t[Symbol.iterator]()).next.bind(n)}function _unsupportedIterableToArray(t,e){if(t){if("string"==typeof t)return _arrayLikeToArray(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(t,e):void 0}}function _arrayLikeToArray(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);nh1,.article-container>h2,.article-container>h3,.article-container>h4,.article-container>h5{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 teal}.article-container table{border-collapse:collapse;empty-cells:show}.article-container td,.article-container th{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:translateX(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-deletion,.hljs-name,.hljs-regexp,.hljs-selector-class,.hljs-selector-id,.hljs-tag,.hljs-template-variable,.hljs-variable{color:#c66}.hljs-built_in,.hljs-builtin-name,.hljs-link,.hljs-literal,.hljs-meta,.hljs-number,.hljs-params,.hljs-type{color:#de935f}.hljs-attribute{color:#f0c674}.hljs-addition,.hljs-bullet,.hljs-string,.hljs-symbol{color:#b5bd68}.hljs-section,.hljs-title{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:0;width:100px;height:100%;box-shadow:0 0 10px #29d,0 0 5px #29d;opacity:1;-webkit-transform:rotate(3deg) translate(0,-4px);-ms-transform:rotate(3deg) translate(0,-4px);transform:rotate(3deg) translate(0,-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 .bar,.nprogress-custom-parent #nprogress .spinner{position:absolute}@-webkit-keyframes nprogress-spinner{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(360deg)}}@keyframes nprogress-spinner{0%{transform:rotate(0)}100%{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:translateX(-100%);animation:left-swing-f327bc66 .5s ease-in alternate infinite}.balls div[data-v-f327bc66]:nth-of-type(3){transform:translateX(-95%);animation:right-swing-f327bc66 .5s ease-out alternate infinite}@keyframes left-swing-f327bc66{100%,50%{transform:translateX(95%)}}@keyframes right-swing-f327bc66{50%{transform:translateX(-95%)}100%{transform:translateX(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))}",document.head.appendChild(__vite_style__),System.register(["./vendor-legacy.73e5f43f.js"],(function(t,e){"use strict";var n,r,o,a,i,s,c,u,l,f,d,p,h,m,v,g,b,y,_,w,x,T,O,E,k,C,R,S,A,j,B,V,I,L,P,D,N,U,z,F,H,M,X,q,$;return{setters:[function(t){n=t.c,r=t.r,o=t.w,a=t.o,i=t.i,s=t.e,c=t.m,u=t.a,l=t.b,f=t.d,d=t.f,p=t.g,h=t.h,m=t.j,v=t.t,g=t.k,b=t.l,y=t.u,_=t.n,w=t.p,x=t.q,T=t.s,O=t.v,E=t.x,k=t.y,C=t.z,R=t.F,S=t.A,A=t.B,j=t.C,B=t.D,V=t.T,I=t.E,L=t.G,P=t.H,D=t.I,N=t.J,U=t.K,z=t.L,F=t.M,H=t.N,M=t.O,X=t.P,q=t.Q,$=t.R}],execute:function(){t("b",(function(){return i(sn)}));var Y,G,J="_vue_use_head_",W="head:count",K="data-head-attrs",Q=function(t,e,n){for(var r=n.createElement(t),o=0,a=Object.keys(e);o-1&&t.splice(n,1)};return!n&&h()&&m(r),r}function ut(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r0},bt=function(t){return void 0===t},yt=function(t){return"object"==typeof t&&null!==t},_t=function(t){return window.TouchEvent&&t instanceof TouchEvent},wt=function(t){return Ot(t,"component")&&xt(t.component)},xt=function(t){return!bt(t)&&(vt(t)||(mt(e=t)||yt(e))||wt(t));var e},Tt=function(t){return yt(t)&&["height","width","right","left","top","bottom"].every((function(e){return"number"==typeof t[e]}))},Ot=function(t,e){return(yt(t)||mt(t))&&e in t},Et=(ht=0,function(){return ht++});function kt(t){return _t(t)?t.targetTouches[0].clientX:t.clientX}function Ct(t){return _t(t)?t.targetTouches[0].clientY:t.clientY}var Rt,St,At,jt=function t(e){return wt(e)?t(e.component):function(t){return Ot(t,"tag")&>(t.tag)}(e)?g({render:function(){return e}}):"string"==typeof e?e:b(y(e))},Bt=function(){function t(){this.allHandlers={}}var e=t.prototype;return e.getHandlers=function(t){return this.allHandlers[t]||[]},e.on=function(t,e){var n=this.getHandlers(t);n.push(e),this.allHandlers[t]=n},e.off=function(t,e){var n=this.getHandlers(t);n.splice(n.indexOf(e)>>>0,1)},e.emit=function(t,e){this.getHandlers(t).forEach((function(t){return t(e)}))},t}();!function(t){t.SUCCESS="success",t.ERROR="error",t.WARNING="warning",t.INFO="info",t.DEFAULT="default"}(Rt||(Rt={})),function(t){t.TOP_LEFT="top-left",t.TOP_CENTER="top-center",t.TOP_RIGHT="top-right",t.BOTTOM_LEFT="bottom-left",t.BOTTOM_CENTER="bottom-center",t.BOTTOM_RIGHT="bottom-right"}(St||(St={})),function(t){t.ADD="add",t.DISMISS="dismiss",t.UPDATE="update",t.CLEAR="clear",t.UPDATE_DEFAULTS="update_defaults"}(At||(At={}));var Vt="Vue-Toastification",It={type:{type:String,default:Rt.DEFAULT},classNames:{type:[String,Array],default:function(){return[]}},trueBoolean:{type:Boolean,default:!0}},Lt={type:It.type,customIcon:{type:[String,Boolean,Object,Function],default:!0}},Pt={component:{type:[String,Object,Function,Boolean],default:"button"},classNames:It.classNames,showOnHover:{type:Boolean,default:!1},ariaLabel:{type:String,default:"close"}},Dt={timeout:{type:[Number,Boolean],default:5e3},hideProgressBar:{type:Boolean,default:!1},isRunning:{type:Boolean,default:!1}},Nt={transition:{type:[Object,String],default:Vt+"__bounce"}},Ut={CORE_TOAST:{position:{type:String,default:St.TOP_RIGHT},draggable:It.trueBoolean,draggablePercent:{type:Number,default:.6},pauseOnFocusLoss:It.trueBoolean,pauseOnHover:It.trueBoolean,closeOnClick:It.trueBoolean,timeout:Dt.timeout,hideProgressBar:Dt.hideProgressBar,toastClassName:It.classNames,bodyClassName:It.classNames,icon:Lt.customIcon,closeButton:Pt.component,closeButtonClassName:Pt.classNames,showCloseButtonOnHover:Pt.showOnHover,accessibility:{type:Object,default:function(){return{toastRole:"alert",closeButtonLabel:"close"}}},rtl:{type:Boolean,default:!1},eventBus:{type:Object,required:!0,default:new Bt}},TOAST:{id:{type:[String,Number],required:!0,default:0},type:It.type,content:{type:[String,Object,Function],required:!0,default:""},onClick:{type:Function,default:function(){}},onClose:{type:Function,default:function(){}}},CONTAINER:{container:{type:[Object,Function],default:function(){return document.body}},newestOnTop:It.trueBoolean,maxToasts:{type:Number,default:20},transition:Nt.transition,toastDefaults:Object,filterBeforeCreate:{type:Function,default:function(t){return t}},filterToasts:{type:Function,default:function(t){return t}},containerClassName:It.classNames,onMounted:Function},PROGRESS_BAR:Dt,ICON:Lt,TRANSITION:Nt,CLOSE_BUTTON:Pt},zt=g({name:"VtProgressBar",props:Ut.PROGRESS_BAR,data:function(){return{hasClass:!0}},computed:{style:function(){return{animationDuration:this.timeout+"ms",animationPlayState:this.isRunning?"running":"paused",opacity:this.hideProgressBar?0:1}},cpClass:function(){return this.hasClass?Vt+"__progress-bar":""}},watch:{timeout:function(){var t=this;this.hasClass=!1,this.$nextTick((function(){return t.hasClass=!0}))}},mounted:function(){this.$el.addEventListener("animationend",this.animationEnded)},beforeUnmount:function(){this.$el.removeEventListener("animationend",this.animationEnded)},methods:{animationEnded:function(){this.$emit("close-toast")}}});zt.render=function(t,e,n,r,o,a){return _(),w("div",{style:t.style,class:t.cpClass},null,6)},zt.__file="src/components/VtProgressBar.vue";var Ft=g({name:"VtCloseButton",props:Ut.CLOSE_BUTTON,computed:{buttonComponent:function(){return!1!==this.component?jt(this.component):"button"},classes:function(){var t=[Vt+"__close-button"];return this.showOnHover&&t.push("show-on-hover"),t.concat(this.classNames)}}}),Ht=S(" × ");Ft.render=function(t,e,n,r,o,a){return _(),w(O(t.buttonComponent),T({"aria-label":t.ariaLabel,class:t.classes},t.$attrs),{default:x((function(){return[Ht]})),_:1},16,["aria-label","class"])},Ft.__file="src/components/VtCloseButton.vue";var Mt={},Xt={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"check-circle",class:"svg-inline--fa fa-check-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},qt=C("path",{fill:"currentColor",d:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"},null,-1);Mt.render=function(t,e,n,r,o,a){return _(),w("svg",Xt,[qt])},Mt.__file="src/components/icons/VtSuccessIcon.vue";var $t={},Yt={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"info-circle",class:"svg-inline--fa fa-info-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Gt=C("path",{fill:"currentColor",d:"M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 110c23.196 0 42 18.804 42 42s-18.804 42-42 42-42-18.804-42-42 18.804-42 42-42zm56 254c0 6.627-5.373 12-12 12h-88c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h12v-64h-12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h64c6.627 0 12 5.373 12 12v100h12c6.627 0 12 5.373 12 12v24z"},null,-1);$t.render=function(t,e,n,r,o,a){return _(),w("svg",Yt,[Gt])},$t.__file="src/components/icons/VtInfoIcon.vue";var Jt={},Wt={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-circle",class:"svg-inline--fa fa-exclamation-circle fa-w-16",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},Kt=C("path",{fill:"currentColor",d:"M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zm-248 50c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1);Jt.render=function(t,e,n,r,o,a){return _(),w("svg",Wt,[Kt])},Jt.__file="src/components/icons/VtWarningIcon.vue";var Qt={},Zt={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"exclamation-triangle",class:"svg-inline--fa fa-exclamation-triangle fa-w-18",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 576 512"},te=C("path",{fill:"currentColor",d:"M569.517 440.013C587.975 472.007 564.806 512 527.94 512H48.054c-36.937 0-59.999-40.055-41.577-71.987L246.423 23.985c18.467-32.009 64.72-31.951 83.154 0l239.94 416.028zM288 354c-25.405 0-46 20.595-46 46s20.595 46 46 46 46-20.595 46-46-20.595-46-46-46zm-43.673-165.346l7.418 136c.347 6.364 5.609 11.346 11.982 11.346h48.546c6.373 0 11.635-4.982 11.982-11.346l7.418-136c.375-6.874-5.098-12.654-11.982-12.654h-63.383c-6.884 0-12.356 5.78-11.981 12.654z"},null,-1);Qt.render=function(t,e,n,r,o,a){return _(),w("svg",Zt,[te])},Qt.__file="src/components/icons/VtErrorIcon.vue";var ee=g({name:"VtIcon",props:Ut.ICON,computed:{customIconChildren:function(){return Ot(this.customIcon,"iconChildren")?this.trimValue(this.customIcon.iconChildren):""},customIconClass:function(){return vt(this.customIcon)?this.trimValue(this.customIcon):Ot(this.customIcon,"iconClass")?this.trimValue(this.customIcon.iconClass):""},customIconTag:function(){return Ot(this.customIcon,"iconTag")?this.trimValue(this.customIcon.iconTag,"i"):"i"},hasCustomIcon:function(){return this.customIconClass.length>0},component:function(){return this.hasCustomIcon?this.customIconTag:xt(this.customIcon)?jt(this.customIcon):this.iconTypeComponent},iconTypeComponent:function(){var t;return((t={})[Rt.DEFAULT]=$t,t[Rt.INFO]=$t,t[Rt.SUCCESS]=Mt,t[Rt.ERROR]=Qt,t[Rt.WARNING]=Jt,t)[this.type]},iconClasses:function(){var t=[Vt+"__icon"];return this.hasCustomIcon?t.concat(this.customIconClass):t}},methods:{trimValue:function(t,e){return void 0===e&&(e=""),gt(t)?t.trim():e}}});ee.render=function(t,e,n,r,o,a){return _(),w(O(t.component),{class:t.iconClasses},{default:x((function(){return[S(A(t.customIconChildren),1)]})),_:1},8,["class"])},ee.__file="src/components/VtIcon.vue";var ne=g({name:"VtToast",components:{ProgressBar:zt,CloseButton:Ft,Icon:ee},inheritAttrs:!1,props:Object.assign({},Ut.CORE_TOAST,Ut.TOAST),data:function(){return{isRunning:!0,disableTransitions:!1,beingDragged:!1,dragStart:0,dragPos:{x:0,y:0},dragRect:{}}},computed:{classes:function(){var t=[Vt+"__toast",Vt+"__toast--"+this.type,""+this.position].concat(this.toastClassName);return this.disableTransitions&&t.push("disable-transition"),this.rtl&&t.push(Vt+"__toast--rtl"),t},bodyClasses:function(){return[Vt+"__toast-"+(vt(this.content)?"body":"component-body")].concat(this.bodyClassName)},draggableStyle:function(){return this.dragStart===this.dragPos.x?{}:this.beingDragged?{transform:"translateX("+this.dragDelta+"px)",opacity:1-Math.abs(this.dragDelta/this.removalDistance)}:{transition:"transform 0.2s, opacity 0.2s",transform:"translateX(0)",opacity:1}},dragDelta:function(){return this.beingDragged?this.dragPos.x-this.dragStart:0},removalDistance:function(){return Tt(this.dragRect)?(this.dragRect.right-this.dragRect.left)*this.draggablePercent:0}},mounted:function(){this.draggable&&this.draggableSetup(),this.pauseOnFocusLoss&&this.focusSetup()},beforeUnmount:function(){this.draggable&&this.draggableCleanup(),this.pauseOnFocusLoss&&this.focusCleanup()},methods:{getVueComponentFromObj:jt,closeToast:function(){this.eventBus.emit(At.DISMISS,this.id)},clickHandler:function(){this.onClick&&this.onClick(this.closeToast),this.closeOnClick&&(this.beingDragged&&this.dragStart!==this.dragPos.x||this.closeToast())},timeoutHandler:function(){this.closeToast()},hoverPause:function(){this.pauseOnHover&&(this.isRunning=!1)},hoverPlay:function(){this.pauseOnHover&&(this.isRunning=!0)},focusPause:function(){this.isRunning=!1},focusPlay:function(){this.isRunning=!0},focusSetup:function(){addEventListener("blur",this.focusPause),addEventListener("focus",this.focusPlay)},focusCleanup:function(){removeEventListener("blur",this.focusPause),removeEventListener("focus",this.focusPlay)},draggableSetup:function(){var t=this.$el;t.addEventListener("touchstart",this.onDragStart,{passive:!0}),t.addEventListener("mousedown",this.onDragStart),addEventListener("touchmove",this.onDragMove,{passive:!1}),addEventListener("mousemove",this.onDragMove),addEventListener("touchend",this.onDragEnd),addEventListener("mouseup",this.onDragEnd)},draggableCleanup:function(){var t=this.$el;t.removeEventListener("touchstart",this.onDragStart),t.removeEventListener("mousedown",this.onDragStart),removeEventListener("touchmove",this.onDragMove),removeEventListener("mousemove",this.onDragMove),removeEventListener("touchend",this.onDragEnd),removeEventListener("mouseup",this.onDragEnd)},onDragStart:function(t){this.beingDragged=!0,this.dragPos={x:kt(t),y:Ct(t)},this.dragStart=kt(t),this.dragRect=this.$el.getBoundingClientRect()},onDragMove:function(t){this.beingDragged&&(t.preventDefault(),this.isRunning&&(this.isRunning=!1),this.dragPos={x:kt(t),y:Ct(t)})},onDragEnd:function(){var t=this;this.beingDragged&&(Math.abs(this.dragDelta)>=this.removalDistance?(this.disableTransitions=!0,this.$nextTick((function(){return t.closeToast()}))):setTimeout((function(){t.beingDragged=!1,Tt(t.dragRect)&&t.pauseOnHover&&t.dragRect.bottom>=t.dragPos.y&&t.dragPos.y>=t.dragRect.top&&t.dragRect.left<=t.dragPos.x&&t.dragPos.x<=t.dragRect.right?t.isRunning=!1:t.isRunning=!0})))}}});ne.render=function(t,e,n,r,o,a){var i=E("Icon"),s=E("CloseButton"),c=E("ProgressBar");return _(),w("div",{class:t.classes,style:t.draggableStyle,onClick:e[1]||(e[1]=function(){return t.clickHandler.apply(t,arguments)}),onMouseenter:e[2]||(e[2]=function(){return t.hoverPause.apply(t,arguments)}),onMouseleave:e[3]||(e[3]=function(){return t.hoverPlay.apply(t,arguments)})},[t.icon?(_(),w(i,{key:0,"custom-icon":t.icon,type:t.type},null,8,["custom-icon","type"])):k("v-if",!0),C("div",{role:t.accessibility.toastRole||"alert",class:t.bodyClasses},["string"==typeof t.content?(_(),w(R,{key:0},[S(A(t.content),1)],64)):(_(),w(O(t.getVueComponentFromObj(t.content)),T({key:1,"toast-id":t.id},t.content.props,j(t.content.listeners),{onCloseToast:t.closeToast}),null,16,["toast-id","onCloseToast"]))],10,["role"]),t.closeButton?(_(),w(s,{key:1,component:t.closeButton,"class-names":t.closeButtonClassName,"show-on-hover":t.showCloseButtonOnHover,"aria-label":t.accessibility.closeButtonLabel,onClick:B(t.closeToast,["stop"])},null,8,["component","class-names","show-on-hover","aria-label","onClick"])):k("v-if",!0),t.timeout?(_(),w(c,{key:2,"is-running":t.isRunning,"hide-progress-bar":t.hideProgressBar,timeout:t.timeout,onCloseToast:t.timeoutHandler},null,8,["is-running","hide-progress-bar","timeout","onCloseToast"])):k("v-if",!0)],38)},ne.__file="src/components/VtToast.vue";var re=g({name:"VtTransition",props:Ut.TRANSITION,emits:["leave"],methods:{leave:function(t){t.style.left=t.offsetLeft+"px",t.style.top=t.offsetTop+"px",t.style.width=getComputedStyle(t).width,t.style.position="absolute"}}});re.render=function(t,e,n,r,o,a){return _(),w(V,{tag:"div","enter-active-class":t.transition.enter?t.transition.enter:t.transition+"-enter-active","move-class":t.transition.move?t.transition.move:t.transition+"-move","leave-active-class":t.transition.leave?t.transition.leave:t.transition+"-leave-active",onLeave:t.leave},{default:x((function(){return[L(t.$slots,"default")]})),_:3},8,["enter-active-class","move-class","leave-active-class","onLeave"])},re.__file="src/components/VtTransition.vue";var oe=g({name:"VueToastification",components:{Toast:ne,VtTransition:re},props:Object.assign({},Ut.CORE_TOAST,Ut.CONTAINER,Ut.TRANSITION),data:function(){var t={count:0,positions:Object.values(St),toasts:{},defaults:{}};return t},computed:{toastArray:function(){return Object.values(this.toasts)},filteredToasts:function(){return this.defaults.filterToasts(this.toastArray)}},beforeMount:function(){var t=this.eventBus;t.on(At.ADD,this.addToast),t.on(At.CLEAR,this.clearToasts),t.on(At.DISMISS,this.dismissToast),t.on(At.UPDATE,this.updateToast),t.on(At.UPDATE_DEFAULTS,this.updateDefaults),this.defaults=this.$props},mounted:function(){this.setup(this.container)},methods:{setup:function(t){var e=this;return _asyncToGenerator(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(!mt(t)){n.next=4;break}return n.next=3,t();case 3:t=n.sent;case 4:r=e.$el,bt(r.remove)?r.parentNode&&r.parentNode.removeChild(r):r.remove(),t.appendChild(e.$el);case 6:case"end":return n.stop()}var r}),n)})))()},setToast:function(t){bt(t.id)||(this.toasts[t.id]=t)},addToast:function(t){t.content=function(t){if("string"==typeof t)return t;var e=Ot(t,"props")&&yt(t.props)?t.props:{},n=Ot(t,"listeners")&&yt(t.listeners)?t.listeners:{};return{component:jt(t),props:e,listeners:n}}(t.content);var e=Object.assign({},this.defaults,t.type&&this.defaults.toastDefaults&&this.defaults.toastDefaults[t.type],t),n=this.defaults.filterBeforeCreate(e,this.toastArray);n&&this.setToast(n)},dismissToast:function(t){var e=this.toasts[t];bt(e)||bt(e.onClose)||e.onClose(),delete this.toasts[t]},clearToasts:function(){var t=this;Object.keys(this.toasts).forEach((function(e){t.dismissToast(e)}))},getPositionToasts:function(t){var e=this.filteredToasts.filter((function(e){return e.position===t})).slice(0,this.defaults.maxToasts);return this.defaults.newestOnTop?e.reverse():e},updateDefaults:function(t){bt(t.container)||this.setup(t.container),this.defaults=Object.assign({},this.defaults,t)},updateToast:function(t){var e=t.id,n=t.options,r=t.create;this.toasts[e]?(n.timeout&&n.timeout===this.toasts[e].timeout&&n.timeout++,this.setToast(Object.assign({},this.toasts[e],n))):r&&this.addToast(Object.assign({},{id:e},n))},getClasses:function(t){return[Vt+"__container",t].concat(this.defaults.containerClassName)}}});oe.render=function(t,e,n,r,o,a){var i=E("Toast"),s=E("VtTransition");return _(),w("div",null,[(_(!0),w(R,null,I(t.positions,(function(e){return _(),w("div",{key:e},[C(s,{transition:t.defaults.transition,class:t.getClasses(e)},{default:x((function(){return[(_(!0),w(R,null,I(t.getPositionToasts(e),(function(t){return _(),w(i,T({key:t.id},t),null,16)})),128))]})),_:2},1032,["transition","class"])])})),128))])},oe.__file="src/components/VtToastContainer.vue";var ae=function(t,e){void 0===t&&(t={}),void 0===e&&(e=!0);var n=t.eventBus=t.eventBus||new Bt;e&&P((function(){var e=D(oe,Object.assign({},t)),n=e.mount(document.createElement("div")),r=t.onMounted;bt(r)||r(n,e)}));var r=function(t,e){var r=Object.assign({},{id:Et(),type:Rt.DEFAULT},e,{content:t});return n.emit(At.ADD,r),r.id};return r.clear=function(){return n.emit(At.CLEAR,void 0)},r.updateDefaults=function(t){n.emit(At.UPDATE_DEFAULTS,t)},r.dismiss=function(t){n.emit(At.DISMISS,t)},r.update=function(t,e,r){var o=e.content,a=e.options;void 0===r&&(r=!1);var i=Object.assign({},a,{content:o});n.emit(At.UPDATE,{id:t,options:i,create:r})},r.success=function(t,e){return r(t,Object.assign({},e,{type:Rt.SUCCESS}))},r.info=function(t,e){return r(t,Object.assign({},e,{type:Rt.INFO}))},r.error=function(t,e){return r(t,Object.assign({},e,{type:Rt.ERROR}))},r.warning=function(t,e){return r(t,Object.assign({},e,{type:Rt.WARNING}))},r};function ie(t){return"undefined"==typeof window?(e=function(){return console.warn("[Vue Toastification] This plugin does not support SSR!")},new Proxy(e,{get:function(){return e}})):(n=t,["on","off","emit"].every((function(t){return Ot(n,t)&&mt(n[t])}))?ae({eventBus:t},!1):ae(t,!0));var e,n}var se=Symbol("VueToastification"),ce=new Bt,ue=t("c",(function(t){if(t)return ie(t);var e=h()?i(se):void 0;return e||ie(ce)})),le=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r=0)return;o[e]="set-cookie"===e?(o[e]?o[e]:[]).concat([n]):o[e]?o[e]+", "+n:n}})),o):o}(a.getAllResponseHeaders()):null,o={data:t.responseType&&"text"!==t.responseType?a.response:a.responseText,status:a.status,statusText:a.statusText,headers:r,config:t,request:a};!function(t,e,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(ke("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}(e,n,o),a=null}},a.onabort=function(){a&&(n(ke("Request aborted",t,"ECONNABORTED",a)),a=null)},a.onerror=function(){n(ke("Network Error",t,null,a)),a=null},a.ontimeout=function(){var e="timeout of "+t.timeout+"ms exceeded";t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(ke(e,t,"ECONNABORTED",a)),a=null},be.isStandardBrowserEnv()){var f=(t.withCredentials||Se(l))&&t.xsrfCookieName?Ce.read(t.xsrfCookieName):void 0;f&&(o[t.xsrfHeaderName]=f)}if("setRequestHeader"in a&&be.forEach(o,(function(t,e){void 0===r&&"content-type"===e.toLowerCase()?delete o[e]:a.setRequestHeader(e,t)})),be.isUndefined(t.withCredentials)||(a.withCredentials=!!t.withCredentials),t.responseType)try{a.responseType=t.responseType}catch(d){if("json"!==t.responseType)throw d}"function"==typeof t.onDownloadProgress&&a.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&a.upload&&a.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then((function(t){a&&(a.abort(),n(t),a=null)})),r||(r=null),a.send(r)}))},je={"Content-Type":"application/x-www-form-urlencoded"};function Be(t,e){!be.isUndefined(t)&&be.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var Ve,Ie={adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(Ve=Ae),Ve),transformRequest:[function(t,e){return Ee(e,"Accept"),Ee(e,"Content-Type"),be.isFormData(t)||be.isArrayBuffer(t)||be.isBuffer(t)||be.isStream(t)||be.isFile(t)||be.isBlob(t)?t:be.isArrayBufferView(t)?t.buffer:be.isURLSearchParams(t)?(Be(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):be.isObject(t)?(Be(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(e){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};Ie.headers={common:{Accept:"application/json, text/plain, */*"}},be.forEach(["delete","get","head"],(function(t){Ie.headers[t]={}})),be.forEach(["post","put","patch"],(function(t){Ie.headers[t]=be.merge(je)}));var Le=Ie;function Pe(t){t.cancelToken&&t.cancelToken.throwIfRequested()}var De=function(t){return Pe(t),t.headers=t.headers||{},t.data=Te(t.data,t.headers,t.transformRequest),t.headers=be.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),be.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||Le.adapter)(t).then((function(e){return Pe(t),e.data=Te(e.data,e.headers,t.transformResponse),e}),(function(e){return Oe(e)||(Pe(t),e&&e.response&&(e.response.data=Te(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))},Ne=function(t,e){e=e||{};var n={},r=["url","method","data"],o=["headers","auth","proxy","params"],a=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],i=["validateStatus"];function s(t,e){return be.isPlainObject(t)&&be.isPlainObject(e)?be.merge(t,e):be.isPlainObject(e)?be.merge({},e):be.isArray(e)?e.slice():e}function c(r){be.isUndefined(e[r])?be.isUndefined(t[r])||(n[r]=s(void 0,t[r])):n[r]=s(t[r],e[r])}be.forEach(r,(function(t){be.isUndefined(e[t])||(n[t]=s(void 0,e[t]))})),be.forEach(o,c),be.forEach(a,(function(r){be.isUndefined(e[r])?be.isUndefined(t[r])||(n[r]=s(void 0,t[r])):n[r]=s(void 0,e[r])})),be.forEach(i,(function(r){r in e?n[r]=s(t[r],e[r]):r in t&&(n[r]=s(void 0,t[r]))}));var u=r.concat(o).concat(a).concat(i),l=Object.keys(t).concat(Object.keys(e)).filter((function(t){return-1===u.indexOf(t)}));return be.forEach(l,c),n};function Ue(t){this.defaults=t,this.interceptors={request:new xe,response:new xe}}Ue.prototype.request=function(t){"string"==typeof t?(t=arguments[1]||{}).url=arguments[0]:t=t||{},(t=Ne(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var e=[De,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach((function(t){e.unshift(t.fulfilled,t.rejected)})),this.interceptors.response.forEach((function(t){e.push(t.fulfilled,t.rejected)}));e.length;)n=n.then(e.shift(),e.shift());return n},Ue.prototype.getUri=function(t){return t=Ne(this.defaults,t),_e(t.url,t.params,t.paramsSerializer).replace(/^\?/,"")},be.forEach(["delete","get","head","options"],(function(t){Ue.prototype[t]=function(e,n){return this.request(Ne(n||{},{method:t,url:e,data:(n||{}).data}))}})),be.forEach(["post","put","patch"],(function(t){Ue.prototype[t]=function(e,n,r){return this.request(Ne(r||{},{method:t,url:e,data:n}))}}));var ze=Ue;function Fe(t){this.message=t}Fe.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},Fe.prototype.__CANCEL__=!0;var He=Fe;function Me(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;t((function(t){n.reason||(n.reason=new He(t),e(n.reason))}))}Me.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},Me.source=function(){var t;return{token:new Me((function(e){t=e})),cancel:t}};var Xe=Me;function qe(t){var e=new ze(t),n=le(ze.prototype.request,e);return be.extend(n,ze.prototype,e),be.extend(n,e),n}var $e=qe(Le);$e.Axios=ze,$e.create=function(t){return qe(Ne($e.defaults,t))},$e.Cancel=He,$e.CancelToken=Xe,$e.isCancel=Oe,$e.all=function(t){return Promise.all(t)},$e.spread=function(t){return function(e){return t.apply(null,e)}},$e.isAxiosError=function(t){return"object"==typeof t&&!0===t.isAxiosError};var Ye=$e,Ge=$e;Ye.default=Ge;var Je=Ye,We="HAPPY_USER_TOKEN",Ke=N((function(t,e){var n;n=function(){function t(){for(var t=0,e={};t-1?s:0);return s>-1&&(r=e.slice(0,s),o=t(a=e.slice(s+1,c>-1?c:e.length))),c>-1&&(r=r||e.slice(0,c),i=e.slice(c,e.length)),{fullPath:(r=function(t,e){if(t.startsWith("/"))return t;if(!t)return e;var n,r,o=e.split("/"),a=t.split("/"),i=o.length-1;for(n=0;n-1){var a=o.slice(1);return"/"!==a[0]&&(a="/"+a),bn(a,"")}return bn(n,t)+r+o}function Bn(t,e,n,r,o){return void 0===r&&(r=!1),void 0===o&&(o=!1),{back:t,current:e,forward:n,replaced:r,position:window.history.length,scroll:o?kn():null}}function Vn(t){var e=function(t){var e=window,n=e.history,r=e.location,o={value:jn(t,r)},a={value:n.state};function i(e,o,i){var s=t.indexOf("#"),c=s>-1?(r.host&&document.querySelector("base")?t:t.slice(s))+e:An()+t+e;try{n[i?"replaceState":"pushState"](o,"",c),a.value=o}catch(u){console.error(u),r[i?"replace":"assign"](c)}}return a.value||i(o.value,{back:null,current:o.value,forward:null,position:n.length-1,replaced:!0,scroll:null},!0),{location:o,state:a,push:function(t,e){var r=fn({},a.value,n.state,{forward:t,scroll:kn()});i(r.current,r,!0),i(t,fn({},Bn(o.value,t,null),{position:r.position+1},e),!1),o.value=t},replace:function(t,e){i(t,fn({},n.state,Bn(a.value.back,t,a.value.forward,!0),e,{position:a.value.position}),!0),o.value=t}}}(t=Tn(t)),n=function(t,e,n,r){var o=[],a=[],i=null,s=function(a){var s=a.state,c=jn(t,location),u=n.value,l=e.value,f=0;if(s){if(n.value=c,e.value=s,i&&i===u)return void(i=null);f=l?s.position-l.position:0}else r(c);o.forEach((function(t){t(n.value,u,{delta:f,type:pn.pop,direction:f?f>0?hn.forward:hn.back:hn.unknown})}))};function c(){var t=window.history;t.state&&t.replaceState(fn({},t.state,{scroll:kn()}),"")}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",c),{pauseListeners:function(){i=n.value},listen:function(t){o.push(t);var e=function(){var e=o.indexOf(t);e>-1&&o.splice(e,1)};return a.push(e),e},destroy:function(){for(var t,e=_createForOfIteratorHelperLoose(a);!(t=e()).done;)(0,t.value)();a=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",c)}}}(t,e.state,e.location,e.replace);var r=fn({location:"",base:t,go:function(t,e){void 0===e&&(e=!0),e||n.pauseListeners(),history.go(t)},createHref:En.bind(null,t)},e,n);return Object.defineProperty(r,"location",{get:function(){return e.location.value}}),Object.defineProperty(r,"state",{get:function(){return e.state.value}}),r}function In(t){return"string"==typeof t||"symbol"==typeof t}var Ln,Pn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Dn=rn("nf");function Nn(t,e){var n;return fn(new Error,((n={type:t})[Dn]=!0,n),e)}function Un(t,e){return t instanceof Error&&Dn in t&&(null==e||!!(t.type&e))}!function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"}(Ln||(Ln={}));var zn="[^/]+?",Fn={sensitive:!1,strict:!1,start:!0,end:!0},Hn=/[.+*?^${}()[\]/\\]/g;function Mn(t,e){for(var n=0;ne.length?1===e.length&&80===e[0]?1:-1:0}function Xn(t,e){for(var n=0,r=t.score,o=e.score;n1&&("*"===s||"+"===s)&&e("A repeatable param ("+u+") must be alone in its segment. eg: '/:ids+."),n.push({type:1,value:u,regexp:l,repeatable:"*"===s||"+"===s,optional:"*"===s||"?"===s})):e("Invalid state to consume buffer"),u="")}function d(){u+=s}for(;c-1&&(n.splice(o,1),t.record.name&&r.delete(t.record.name),t.children.forEach(a),t.alias.forEach(a))}}function i(t){for(var e=0;e=0;)e++;n.splice(e,0,t),t.record.name&&!Wn(t)&&r.set(t.record.name,t)}return e=Qn({strict:!1,end:!0,sensitive:!1},e),t.forEach((function(t){return o(t)})),{addRoute:o,resolve:function(t,e){var o,a,i,s={};if("name"in t&&t.name){if(!(o=r.get(t.name)))throw Nn(1,{location:t});i=o.record.name,s=fn(function(t,e){for(var n,r={},o=_createForOfIteratorHelperLoose(e);!(n=o()).done;){var a=n.value;a in t&&(r[a]=t[a])}return r}(e.params,o.keys.filter((function(t){return!t.optional})).map((function(t){return t.name}))),t.params),a=o.stringify(s)}else if("path"in t)a=t.path,(o=n.find((function(t){return t.re.test(a)})))&&(s=o.parse(a),i=o.record.name);else{if(!(o=e.name?r.get(e.name):n.find((function(t){return t.re.test(e.path)}))))throw Nn(1,{location:t,currentLocation:e});i=o.record.name,s=fn({},e.params,t.params),a=o.stringify(s)}for(var c=[],u=o;u;)c.unshift(u.record),u=u.parent;return{name:i,path:a,params:s,matched:c,meta:Kn(c)}},removeRoute:a,getRoutes:function(){return n},getRecordMatcher:function(t){return r.get(t)}}}function Jn(t){var e={},n=t.props||!1;if("component"in t)e.default=n;else for(var r in t.components)e[r]="boolean"==typeof n?n:n[r];return e}function Wn(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function Kn(t){return t.reduce((function(t,e){return fn(t,e.meta)}),{})}function Qn(t,e){var n={};for(var r in t)n[r]=r in e?e[r]:t[r];return n}var Zn=/#/g,tr=/&/g,er=/\//g,nr=/=/g,rr=/\?/g,or=/\+/g,ar=/%5B/g,ir=/%5D/g,sr=/%5E/g,cr=/%60/g,ur=/%7B/g,lr=/%7C/g,fr=/%7D/g,dr=/%20/g;function pr(t){return encodeURI(""+t).replace(lr,"|").replace(ar,"[").replace(ir,"]")}function hr(t){return pr(t).replace(or,"%2B").replace(dr,"+").replace(Zn,"%23").replace(tr,"%26").replace(cr,"`").replace(ur,"{").replace(fr,"}").replace(sr,"^")}function mr(t){return function(t){return pr(t).replace(Zn,"%23").replace(rr,"%3F")}(t).replace(er,"%2F")}function vr(t){try{return decodeURIComponent(""+t)}catch(e){}return""+t}function gr(t){var e={};if(""===t||"?"===t)return e;for(var n=("?"===t[0]?t.slice(1):t).split("&"),r=0;r-1&&t.splice(n,1)}},list:function(){return t},reset:function(){t=[]}}}function wr(t,e,n,r,o){var a=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return function(){return new Promise((function(i,s){var c=function(t){var c;!1===t?s(Nn(4,{from:n,to:e})):t instanceof Error?s(t):"string"==typeof(c=t)||c&&"object"==typeof c?s(Nn(2,{from:e,to:t})):(a&&r.enterCallbacks[o]===a&&"function"==typeof t&&a.push(t),i())},u=t.call(r&&r.instances[o],e,n,c),l=Promise.resolve(u);t.length<3&&(l=l.then(c)),l.catch((function(t){return s(t)}))}))}}function xr(t,e,n,r){for(var o,a=[],i=function(){var t=o.value,i=function(o){var i,s=t.components[o];if("beforeRouteEnter"!==e&&!t.instances[o])return"continue";if("object"==typeof(i=s)||"displayName"in i||"props"in i||"__vccOpts"in i){var c=(s.__vccOpts||s)[e];c&&a.push(wr(c,n,r,t,o))}else{var u=s();u=u.catch(console.error),a.push((function(){return u.then((function(a){if(!a)return Promise.reject(new Error("Couldn't resolve component \""+o+'" at "'+t.path+'"'));var i,s=(i=a).__esModule||nn&&"Module"===i[Symbol.toStringTag]?a.default:a;t.components[o]=s;var c=(s.__vccOpts||s)[e];return c&&wr(c,n,r,t,o)()}))}))}};for(var s in t.components)i(s)},s=_createForOfIteratorHelperLoose(t);!(o=s()).done;)i();return a}function Tr(t){var e=i(sn),r=i(cn),o=n((function(){return e.resolve(y(t.to))})),a=n((function(){var t=o.value.matched,e=t.length,n=t[e-1],a=r.matched;if(!n||!a.length)return-1;var i=a.findIndex(yn.bind(null,n));if(i>-1)return i;var s=Er(t[e-2]);return e>1&&Er(n)===s&&a[a.length-1].path!==s?a.findIndex(yn.bind(null,t[e-2])):i})),s=n((function(){return a.value>-1&&function(t,e){var n=function(n){var r=e[n],o=t[n];if("string"==typeof r){if(r!==o)return{v:!1}}else if(!Array.isArray(o)||o.length!==r.length||r.some((function(t,e){return t!==o[e]})))return{v:!1}};for(var r in e){var o=n(r);if("object"==typeof o)return o.v}return!0}(r.params,o.value.params)})),c=n((function(){return a.value>-1&&a.value===r.matched.length-1&&_n(r.params,o.value.params)}));return{route:o,href:n((function(){return o.value.href})),isActive:s,isExactActive:c,navigate:function(n){return void 0===n&&(n={}),function(t){if(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)return;if(t.defaultPrevented)return;if(void 0!==t.button&&0!==t.button)return;if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}t.preventDefault&&t.preventDefault();return!0}(n)?e[y(t.replace)?"replace":"push"](y(t.to)):Promise.resolve()}}}var Or=g({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},setup:function(t,e){var r=e.slots,o=e.attrs,a=f(Tr(t)),s=i(sn).options,c=n((function(){var e;return(e={})[kr(t.activeClass,s.linkActiveClass,"router-link-active")]=a.isActive,e[kr(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]=a.isExactActive,e}));return function(){var e=r.default&&r.default(a);return t.custom?e:z("a",fn({"aria-current":a.isExactActive?t.ariaCurrentValue:null,onClick:a.navigate,href:a.href},o,{class:c.value}),e)}}});function Er(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}var kr=function(t,e,n){return null!=t?t:null!=e?e:n};function Cr(t,e){if(!t)return null;var n=t(e);return 1===n.length?n[0]:n}var Rr=g({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup:function(t,e){var o=e.attrs,a=e.slots,s=i(un),c=n((function(){return t.route||s.value})),u=i(an,0),f=n((function(){return c.value.matched[u]}));F(an,u+1),F(on,f),F(un,c);var d=r();return l((function(){return[d.value,f.value,t.name]}),(function(t,e){var n=t[0],r=t[1],o=t[2],a=e[0],i=e[1];e[2];r&&(r.instances[o]=n,i&&i!==r&&n&&n===a&&(r.leaveGuards=i.leaveGuards,r.updateGuards=i.updateGuards)),!n||!r||i&&yn(r,i)&&a||(r.enterCallbacks[o]||[]).forEach((function(t){return t(n)}))}),{flush:"post"}),function(){var e=c.value,n=f.value,r=n&&n.components[t.name],i=t.name;if(!r)return Cr(a.default,{Component:r,route:e});var s=n.props[t.name],u=s?!0===s?e.params:"function"==typeof s?s(e):s:null,l=z(r,fn({},u,o,{onVnodeUnmounted:function(t){t.component.isUnmounted&&(n.instances[i]=null)},ref:d}));return Cr(a.default,{Component:l,route:e})||l}}});function Sr(t){return t.reduce((function(t,e){return t.then((function(){return e()}))}),Promise.resolve())}var Ar=H();M("data-v-3629a0e2");var jr=C("div",null,"本项目为 Vue3 + Vite2 开源实践项目",-1),Br=C("div",null,[S(" 请点击前往 "),C("strong",null,"Github"),S("交友网站查看源码 ")],-1);X();var Vr=g({expose:[],setup:function(t){var e=function(){window.open("https://github.com/unliar/vue3-ts-happysooner-web")};return Ar((function(t,n){return _(),w("div",{onClick:e},[jr,Br])}))}});Vr.__scopeId="data-v-3629a0e2";var Ir,Lr=g({expose:[],setup:function(t){var e=en(),n=ue(),r=i(cn);!function(t){t?onBeforeMount((function(){var e;if(document.getElementById(t))console.error("useBaiduInit 无需多次调用",t);else{console.info("useBaiduInit 注册成功",t);var n=document.createElement("script");n.src="https://hm.baidu.com/hm.js?"+t,n.id=t;var r=document.getElementsByTagName("script")[0];null==r||null==(e=r.parentNode)||e.insertBefore(n,r)}})):console.error("useBaiduInit 未检测到百度统计ID",t)}("6b599d2d50ef582710e04da83818e1b0");var o=computed((function(){return r.fullPath}));return rt({title:"远浅 - 给世界献上美好的祝福 - Vue3实战项目"}),onMounted(_asyncToGenerator(regeneratorRuntime.mark((function t(){var r,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:setTimeout((function(){n.info(Vr,{position:St.BOTTOM_RIGHT,timeout:3e4})}),2e3),e.GetAuthedUserInfo(),e.GetCategoryList(),null==(r=window)||null==(o=r.hljs)||null==o.initHighlightingOnLoad||o.initHighlightingOnLoad();case 4:case"end":return t.stop()}}),t)})))),function(t,e){var n=E("router-view");return _(),w(n,{key:y(o)})}}}),Pr=function(t,e){return t()},Dr=[{path:"/",name:"home-page",component:function(){return Pr((function(){return e.import("./index-legacy.2a03baf0.js")}))},props:function(t){return{query:t.query}}},{path:"/post/:pid",name:"post-detail",component:function(){return Pr((function(){return e.import("./pid-legacy.9d87ff6a.js")}))},props:function(t){return{pid:+t.params.pid}}},{path:"/users/:uid",name:"user-details",component:function(){return Pr((function(){return e.import("./uid-legacy.c359b6bd.js")}))},props:function(t){return{uid:+t.params.uid}}},{path:"/daily-articles",name:"daily-read",component:function(){return Pr((function(){return e.import("./index-legacy.9dfebfe8.js")}))},props:function(t){return{query:t.query}}},{path:"/signin",name:"signin",component:function(){return Pr((function(){return e.import("./index-legacy.4cce4b2b.js")}))}},{path:"/about",name:"about",component:function(){return Pr((function(){return e.import("./index-legacy.6d01db7c.js")}))}},{path:"/:pathMatch(.*)*",name:"not-found",component:function(){return Pr((function(){return e.import("./index-legacy.850527bd.js")}))}}],Nr=function(t){var e=Gn(t.routes,t),r=t.parseQuery||gr,o=t.stringifyQuery||br,a=t.history,i=_r(),s=_r(),c=_r(),u=U(Pn),l=Pn;ln&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");var d,p=dn.bind(null,(function(t){return""+t})),h=dn.bind(null,mr),m=dn.bind(null,vr);function v(t,n){if(n=fn({},n||u.value),"string"==typeof t){var i=gn(r,t,n.path),s=e.resolve({path:i.path},n),c=a.createHref(i.fullPath);return fn(i,s,{params:m(s.params),hash:vr(i.hash),redirectedFrom:void 0,href:c})}var l;"path"in t?l=fn({},t,{path:gn(r,t.path,n.path).path}):(l=fn({},t,{params:h(t.params)}),n.params=h(n.params));var f=e.resolve(l,n),d=t.hash||"";f.params=p(m(f.params));var v,g=function(t,e){var n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}(o,fn({},t,{hash:(v=d,pr(v).replace(ur,"{").replace(fr,"}").replace(sr,"^")),path:f.path})),b=a.createHref(g);return fn({fullPath:g,hash:d,query:o===br?yr(t.query):t.query},f,{redirectedFrom:void 0,href:b})}function g(t){return"string"==typeof t?gn(r,t,u.value.path):fn({},t)}function b(t,e){if(l!==t)return Nn(8,{from:e,to:t})}function _(t){return x(t)}function w(t){var e=t.matched[t.matched.length-1];if(e&&e.redirect){var n=e.redirect,r="function"==typeof n?n(t):n;return"string"==typeof r&&(r=r.indexOf("?")>-1||r.indexOf("#")>-1?r=g(r):{path:r}),fn({query:t.query,hash:t.hash,params:t.params},r)}}function x(t,e){var n=l=v(t),r=u.value,a=t.state,i=t.force,s=!0===t.replace,c=w(n);if(c)return x(fn(g(c),{state:a,force:i,replace:s}),e||n);var f,d=n;return d.redirectedFrom=e,!i&&function(t,e,n){var r=e.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&yn(e.matched[r],n.matched[o])&&_n(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}(o,r,n)&&(f=Nn(16,{to:d,from:r}),V(r,r,!0,!1)),(f?Promise.resolve(f):O(d,r)).catch((function(t){return Un(t)?t:j(t)})).then((function(t){if(t){if(Un(t,2))return x(fn(g(t.to),{state:a,force:i,replace:s}),e||d)}else t=k(d,r,!0,s,a);return E(d,r,t),t}))}function T(t,e){var n=b(t,e);return n?Promise.reject(n):Promise.resolve()}function O(t,e){var n,r=function(t,e){for(var n=[],r=[],o=[],a=Math.max(e.matched.length,t.matched.length),i=0;ie.match(/^[a-zA-Z][a-zA-Z0-9_]{4,15}$/)?"":"参数必须为字母开头的5-16位数字和字母组合",x=c();m("data-v-7f7d81da");const U={class:"signin-container"},A={class:"signin-main"},N={class:"signin-title"},R=t("div",null,"嘿;-) 好巧在这里遇到您.",-1),$=d(" 这里是远浅自建用来叨叨的网站, 要是您懒得注册可以直接点这里去逛逛。 "),E=t("div",{class:"signin-info"}," 直接输入登录名称开始探险叭~我们很智能哒~会自动帮你切换登录/注册 ",-1),I={class:"signin-form"},_={class:"form-account"},z={key:0},V={class:"summary"},j=d(" 注册一下不会有任何损失,甚至会变得更加 "),T=t("del",null,"沙雕",-1),Z=d(" 快乐。 ");p();var B=e({expose:[],setup(e){const c=f(),m=y(),p=k(),B=ref(""),D=ref(""),F=ref(""),G=ref(!1),M=computed((()=>m.User.Id));watch(B,(e=>{e.trim()&&g({type:"loginName",value:e.trim()}).then((e=>{1000005===e.Result?G.value=!1:G.value=!0}))}));const O=async()=>{const e=C(B.value.trim());if(e)return void c.error(e);const a=await b({type:"loginName",value:B.value.trim(),password:F.value.trim()});if((null==a?void 0:a.ErrorCode)||!(null==a?void 0:a.Result))return void c.error(`${a.ErrorCode} ${a.ErrorMsg}`);const s=a.Result.Token,l=a.Result.TokenAvailableDays;w(s,l),m.GetAuthedUserInfo(),c.success(`欢迎 ${null==a?void 0:a.Result.UserInfo.Nickname} 前来观光`,{onClose(){p.back()}})},P=async()=>{const e=C(B.value.trim());if(e)return void c.error(e);(await h({type:"loginName",value:B.value.trim(),password:F.value.trim(),nickname:D.value.trim()})).ErrorCode||c.success(`注册成功,即将自动登录~ ${B.value}`,{onClose(){O()}})};return x(((e,c)=>{const m=a("router-link");return s(),l("div",U,[t("div",A,[t("div",N,[R,t("div",null,[t(m,{to:"/"},{default:x((()=>[$])),_:1})])]),E,t("div",I,[t("div",_,[n(t("input",{type:"text",name:"account",id:"account","onUpdate:modelValue":c[1]||(c[1]=e=>B.value=e),placeholder:"账户登录名称,字母开头的5-16位数字和字母组合"},null,512),[[o,B.value,void 0,{trim:!0}]])]),G.value?(s(),l("div",z,[n(t("input",{type:"text",name:"nickname",id:"nickname","onUpdate:modelValue":c[2]||(c[2]=e=>D.value=e),placeholder:"用户昵称"},null,512),[[o,D.value,void 0,{trim:!0}]])])):i("",!0),t("div",null,[n(t("input",{type:"password",name:"password",id:"password","onUpdate:modelValue":c[3]||(c[3]=e=>F.value=e),placeholder:"登录密码"},null,512),[[o,F.value,void 0,{trim:!0}]])]),t("div",null,[G.value?(s(),l("button",{key:0,type:"button",class:"btn-login-register",onClick:P}," 立即注册 ")):(s(),l("button",{key:1,type:"button",class:"btn-login-register",onClick:O}," 立即登录 "))])]),t("div",V,[j,T,Z,r(M)?(s(),l(u,{key:0},[d("很少有人让我心动 但你是第"+v(r(M))+"个。",1)],64)):i("",!0)])])])}))}});B.__scopeId="data-v-7f7d81da";export default B; +import{k as e,x as a,n as s,p as l,z as t,W as n,X as o,y as i,u as r,F as u,A as d,B as v,N as c,O as m,P as p}from"./vendor.18b3a30d.js";import{c as f,u as y,b as k,e as g,f as b,S as w,g as h}from"./index.e61a2594.js";const C=e=>e.match(/^[a-zA-Z][a-zA-Z0-9_]{4,15}$/)?"":"参数必须为字母开头的5-16位数字和字母组合",x=c();m("data-v-7f7d81da");const U={class:"signin-container"},A={class:"signin-main"},N={class:"signin-title"},R=t("div",null,"嘿;-) 好巧在这里遇到您.",-1),$=d(" 这里是远浅自建用来叨叨的网站, 要是您懒得注册可以直接点这里去逛逛。 "),E=t("div",{class:"signin-info"}," 直接输入登录名称开始探险叭~我们很智能哒~会自动帮你切换登录/注册 ",-1),I={class:"signin-form"},_={class:"form-account"},z={key:0},V={class:"summary"},j=d(" 注册一下不会有任何损失,甚至会变得更加 "),T=t("del",null,"沙雕",-1),Z=d(" 快乐。 ");p();var B=e({expose:[],setup(e){const c=f(),m=y(),p=k(),B=ref(""),D=ref(""),F=ref(""),G=ref(!1),M=computed((()=>m.User.Id));watch(B,(e=>{e.trim()&&g({type:"loginName",value:e.trim()}).then((e=>{1000005===e.Result?G.value=!1:G.value=!0}))}));const O=async()=>{const e=C(B.value.trim());if(e)return void c.error(e);const a=await b({type:"loginName",value:B.value.trim(),password:F.value.trim()});if((null==a?void 0:a.ErrorCode)||!(null==a?void 0:a.Result))return void c.error(`${a.ErrorCode} ${a.ErrorMsg}`);const s=a.Result.Token,l=a.Result.TokenAvailableDays;w(s,l),m.GetAuthedUserInfo(),c.success(`欢迎 ${null==a?void 0:a.Result.UserInfo.Nickname} 前来观光`,{onClose(){p.back()}})},P=async()=>{const e=C(B.value.trim());if(e)return void c.error(e);(await h({type:"loginName",value:B.value.trim(),password:F.value.trim(),nickname:D.value.trim()})).ErrorCode||c.success(`注册成功,即将自动登录~ ${B.value}`,{onClose(){O()}})};return x(((e,c)=>{const m=a("router-link");return s(),l("div",U,[t("div",A,[t("div",N,[R,t("div",null,[t(m,{to:"/"},{default:x((()=>[$])),_:1})])]),E,t("div",I,[t("div",_,[n(t("input",{type:"text",name:"account",id:"account","onUpdate:modelValue":c[1]||(c[1]=e=>B.value=e),placeholder:"账户登录名称,字母开头的5-16位数字和字母组合"},null,512),[[o,B.value,void 0,{trim:!0}]])]),G.value?(s(),l("div",z,[n(t("input",{type:"text",name:"nickname",id:"nickname","onUpdate:modelValue":c[2]||(c[2]=e=>D.value=e),placeholder:"用户昵称"},null,512),[[o,D.value,void 0,{trim:!0}]])])):i("",!0),t("div",null,[n(t("input",{type:"password",name:"password",id:"password","onUpdate:modelValue":c[3]||(c[3]=e=>F.value=e),placeholder:"登录密码"},null,512),[[o,F.value,void 0,{trim:!0}]])]),t("div",null,[G.value?(s(),l("button",{key:0,type:"button",class:"btn-login-register",onClick:P}," 立即注册 ")):(s(),l("button",{key:1,type:"button",class:"btn-login-register",onClick:O}," 立即登录 "))])]),t("div",V,[j,T,Z,r(M)?(s(),l(u,{key:0},[d("很少有人让我心动 但你是第"+v(r(M))+"个。",1)],64)):i("",!0)])])])}))}});B.__scopeId="data-v-7f7d81da";export default B; diff --git a/assets/index.dc05998d.js b/assets/index.60c1906c.js similarity index 59% rename from assets/index.dc05998d.js rename to assets/index.60c1906c.js index 95175ef..154282c 100644 --- a/assets/index.dc05998d.js +++ b/assets/index.60c1906c.js @@ -1 +1 @@ -import{b as a,a as e}from"./index.7b8df9f4.js";import{k as s,n,p as t,z as d,B as o,N as l,O as r,P as v}from"./vendor.18b3a30d.js";const u=l();r("data-v-ad037df8");const f={class:"not-found"},i={class:"x-mian"},c=d("div",null,"你所寻找的页面不在服务区~",-1);v();var p=s({expose:[],setup(s){const l=a(),r=ref(5);let v;return e({title:"404 not found"}),onMounted((()=>{v=setInterval((()=>{r.value=r.value-1,r.value<=0&&l.replace("/")}),1e3)})),onUnmounted((()=>{clearInterval(v)})),u(((a,e)=>(n(),t("div",f,[d("div",i,[c,d("div",null,o(r.value)+"秒后返回主页",1)])]))))}});p.__scopeId="data-v-ad037df8";export default p; +import{b as a,a as e}from"./index.e61a2594.js";import{k as s,n,p as t,z as d,B as o,N as l,O as r,P as v}from"./vendor.18b3a30d.js";const u=l();r("data-v-ad037df8");const i={class:"not-found"},c={class:"x-mian"},f=d("div",null,"你所寻找的页面不在服务区~",-1);v();var p=s({expose:[],setup(s){const l=a(),r=ref(5);let v;return e({title:"404 not found"}),onMounted((()=>{v=setInterval((()=>{r.value=r.value-1,r.value<=0&&l.replace("/")}),1e3)})),onUnmounted((()=>{clearInterval(v)})),u(((a,e)=>(n(),t("div",i,[d("div",c,[f,d("div",null,o(r.value)+"秒后返回主页",1)])]))))}});p.__scopeId="data-v-ad037df8";export default p; diff --git a/assets/index.146225bc.js b/assets/index.64e367e7.js similarity index 54% rename from assets/index.146225bc.js rename to assets/index.64e367e7.js index dfa4b26..219d67e 100644 --- a/assets/index.146225bc.js +++ b/assets/index.64e367e7.js @@ -1 +1 @@ -import{c as e,h as a,a as t}from"./index.7b8df9f4.js";import{_ as l}from"./index.vue_vue&type=style&index=0&lang.d6191442.js";import{k as n,x as r,n as u,p as d,z as i,u as o,B as s,y as v,N as c,O as p,P as m}from"./vendor.18b3a30d.js";const f=c();p("data-v-750295de");const g={key:0},y={class:"article-title"},x={class:"article-nav-container"},R={class:"article-nav"};m();var h=n({expose:[],props:{query:{type:Object}},setup(n){var c;const p=n,m=e(),{data:h,loading:_}=a(null==(c=p.query)?void 0:c.date),j=computed((()=>{var e;return null==(e=h.value.Result)?void 0:e.title})),$=computed((()=>{var e;return null==(e=h.value.Result)?void 0:e.author})),b=computed((()=>{var e;return null==(e=h.value.Result)?void 0:e.content})),k=computed((()=>{var e;return null==(e=h.value.Result)?void 0:e.date.prev}));return t({title:computed((()=>{var e,a;return`每日阅读 - ${null==(e=h.value.Result)?void 0:e.title} - ${null==(a=h.value.Result)?void 0:a.author}`})),meta:[{name:"description",content:computed((()=>{var e;return`${null==(e=h.value.Result)?void 0:e.digest}`}))}]}),watch((()=>h.value.ErrorMsg),(e=>{e&&m.warning(e)})),f(((e,a)=>{const t=r("LoadingBall"),n=r("router-link");return u(),d(l,null,{default:f((()=>[i(t,{loading:o(_),padding:"30vh 0",infoSize:"18px",info:"努力加载中"},null,8,["loading"]),o(_)?v("",!0):(u(),d("main",g,[i("h1",y,s(o(j)),1),i("div",null,"作者:"+s(o($)),1),i("div",{class:"article-container",innerHTML:o(b)},null,8,["innerHTML"]),i("div",x,[i("div",R,[i(n,{to:`/daily-articles?date=${o(k)}`},{default:f((()=>[i("a",null,"查看"+s(o(k))+"的文章",1)])),_:1},8,["to"])])])]))])),_:1})}))}});h.__scopeId="data-v-750295de";export default h; +import{c as e,h as a,a as t}from"./index.e61a2594.js";import{_ as l}from"./index.vue_vue&type=style&index=0&lang.401498f5.js";import{k as n,x as r,n as u,p as i,z as o,u as s,B as d,y as v,N as c,O as p,P as m}from"./vendor.18b3a30d.js";const f=c();p("data-v-750295de");const g={key:0},y={class:"article-title"},x={class:"article-nav-container"},R={class:"article-nav"};m();var h=n({expose:[],props:{query:{type:Object}},setup(n){var c;const p=n,m=e(),{data:h,loading:_}=a(null==(c=p.query)?void 0:c.date),j=computed((()=>{var e;return null==(e=h.value.Result)?void 0:e.title})),$=computed((()=>{var e;return null==(e=h.value.Result)?void 0:e.author})),k=computed((()=>{var e;return null==(e=h.value.Result)?void 0:e.content})),L=computed((()=>{var e;return null==(e=h.value.Result)?void 0:e.date.prev}));return t({title:computed((()=>{var e,a;return`每日阅读 - ${null==(e=h.value.Result)?void 0:e.title} - ${null==(a=h.value.Result)?void 0:a.author}`})),meta:[{name:"description",content:computed((()=>{var e;return`${null==(e=h.value.Result)?void 0:e.digest}`}))}]}),watch((()=>h.value.ErrorMsg),(e=>{e&&m.warning(e)})),f(((e,a)=>{const t=r("LoadingBall"),n=r("router-link");return u(),i(l,null,{default:f((()=>[o(t,{loading:s(_),padding:"30vh 0",infoSize:"18px",info:"努力加载中"},null,8,["loading"]),s(_)?v("",!0):(u(),i("main",g,[o("h1",y,d(s(j)),1),o("div",null,"作者:"+d(s($)),1),o("div",{class:"article-container",innerHTML:s(k)},null,8,["innerHTML"]),o("div",x,[o("div",R,[o(n,{to:`/daily-articles?date=${s(L)}`},{default:f((()=>[o("a",null,"查看"+d(s(L))+"的文章",1)])),_:1},8,["to"])])])]))])),_:1})}))}});h.__scopeId="data-v-750295de";export default h; diff --git a/assets/index.24cabceb.js b/assets/index.b6d905e1.js similarity index 94% rename from assets/index.24cabceb.js rename to assets/index.b6d905e1.js index f1ecfe4..449a4fd 100644 --- a/assets/index.24cabceb.js +++ b/assets/index.b6d905e1.js @@ -1 +1 @@ -import{_ as l}from"./index.vue_vue&type=style&index=0&lang.d6191442.js";import{k as t,n as e,p as n,N as o,O as a,z as u,A as s,P as p}from"./vendor.18b3a30d.js";import"./index.7b8df9f4.js";const r=o();a("data-v-23ebcad1");const i=u("div",{class:"about-container"},[u("h1",{class:"about-title"},"关于本站"),u("div",{class:"about-item-container"},[u("h2",null,"技术相关"),u("p",null,[s(" 本站是 "),u("a",{href:"https://happysooner.com"},"happysooner.com"),s(" 的Vue复刻版。 ")]),u("p",null," 这是一个前端采用 Vue 全家桶,后端使用微服务架构搭建的网站。 "),u("p",null,[s(" 代码存贮于 "),u("a",{href:"https://github.com/unliar/vue3-ts-happysooner-web"}," Github"),s(" 拥有完整的 "),u("a",{href:"https://mp.weixin.qq.com/s/bJtO5Y54XIB8qfJR6ownyg",target:"_blank"},"Github Action"),s(" 自动化构建部署流程 。 ")]),u("p",null,[s(" 大致架构图: "),u("img",{src:"https://cdn.gelonghui.com/ad/96660-6bfe1023-cc1c-4928-a192-ca2f1773c028.png"})]),u("p",null," 前端: Vite 2.0、 Vue 3.0 、 Vuex 4.0 、 Vue-Router 4.0、TypeScript@latest、Vue@next "),u("p",null,"后端: Golang、Go-Micro、MySQL、NSQ、Consul"),u("p",null,[s(" 运行环境: "),u("del",null,"Docker Swarm"),s(" 已迁移到k8s、Portainer、Nginx、Let's Encrypt、 "),u("a",{href:"https://promotion.aliyun.com/ntms/yunparter/invite.html?userCode=hsupvlb8",target:"_blank"},"阿里云🇭🇰轻量服务器(推广)")]),u("p",null,[s(" 第三方服务: "),u("a",{href:"https://www.googlefonts.cn/",rel:"nofollow"},"谷歌字体库"),s(" 、 "),u("a",{href:"https://sentry.io/",rel:"nofollow"},"Sentry日志监控"),s(" 、 "),u("a",{href:"https://github.com/features/actions",rel:"nofollow"},"Github Action"),s(" 、 "),u("a",{href:"https://www.iconfont.cn",rel:"nofollow"},"阿里矢量图标库")]),u("p",null," 由于网站部署于 香港、深圳、上海 三节点组成的 k8s 集群, 用户的请求会被分散到各个服务器, 访问速度不可避免的会出现差异。同时, 网站使用 Redis 对页面进行了 30分钟 的缓存, 更新可能会存在不及时的情况。 ")]),u("div",{class:"about-item-container"},[u("h2",null,"作者信息"),u("p",null,"昵称: 远浅"),u("p",null,"职业: Web/前端开发工程师"),u("p",null,"坐标: 广东深圳"),u("p",null,"家乡: 湖南衡阳"),u("p",null," 爱好: 写好代码,睡个好觉,看看动画,打打羽毛球,四处闲逛。 "),u("p",null,[s(" 社交: "),u("a",{href:"//github.com/unliar",target:"_blank",rel:"nofollow"},"Github"),s(" 、 "),u("a",{href:"https://twitter.com/lzt224",target:"_blank",rel:"nofollow"},"Twitter")]),u("p",null,[s(" 邮箱: "),u("a",{href:"mailto:i@happysooner.com"},"i@happysooner.com")]),u("p",null,"简历: 不给看"),u("p",null,[s(" 梦想: "),u("del",null,"世界和平,这个世界因为有我的存在,而有一点点的不同。"),s(" 算了,还是多赚钱点零花钱。 ")])]),u("div",{class:"about-item-container"},[u("h2",null,"本站愿景"),u("p",null," 让这个网站成为远浅 Web 开发的实验田,用来更新自己的技术栈。 "),u("p",null,"这就是它存在的所有意义。"),u("p",null," 本站所写的文章大部分都是为了存档和自娱自乐, 不可作为准确的学习资料, 请知悉其中存在的风险。 ")])],-1);p();var c=t({expose:[],setup:t=>r(((t,o)=>(e(),n(l,null,{default:r((()=>[i])),_:1}))))});c.__scopeId="data-v-23ebcad1";export default c; +import{_ as l}from"./index.vue_vue&type=style&index=0&lang.401498f5.js";import{k as t,n as e,p as n,N as o,O as a,z as u,A as s,P as p}from"./vendor.18b3a30d.js";import"./index.e61a2594.js";const r=o();a("data-v-23ebcad1");const i=u("div",{class:"about-container"},[u("h1",{class:"about-title"},"关于本站"),u("div",{class:"about-item-container"},[u("h2",null,"技术相关"),u("p",null,[s(" 本站是 "),u("a",{href:"https://happysooner.com"},"happysooner.com"),s(" 的Vue复刻版。 ")]),u("p",null," 这是一个前端采用 Vue 全家桶,后端使用微服务架构搭建的网站。 "),u("p",null,[s(" 代码存贮于 "),u("a",{href:"https://github.com/unliar/vue3-ts-happysooner-web"}," Github"),s(" 拥有完整的 "),u("a",{href:"https://mp.weixin.qq.com/s/bJtO5Y54XIB8qfJR6ownyg",target:"_blank"},"Github Action"),s(" 自动化构建部署流程 。 ")]),u("p",null,[s(" 大致架构图: "),u("img",{src:"https://cdn.gelonghui.com/ad/96660-6bfe1023-cc1c-4928-a192-ca2f1773c028.png"})]),u("p",null," 前端: Vite 2.0、 Vue 3.0 、 Vuex 4.0 、 Vue-Router 4.0、TypeScript@latest、Vue@next "),u("p",null,"后端: Golang、Go-Micro、MySQL、NSQ、Consul"),u("p",null,[s(" 运行环境: "),u("del",null,"Docker Swarm"),s(" 已迁移到k8s、Portainer、Nginx、Let's Encrypt、 "),u("a",{href:"https://promotion.aliyun.com/ntms/yunparter/invite.html?userCode=hsupvlb8",target:"_blank"},"阿里云🇭🇰轻量服务器(推广)")]),u("p",null,[s(" 第三方服务: "),u("a",{href:"https://www.googlefonts.cn/",rel:"nofollow"},"谷歌字体库"),s(" 、 "),u("a",{href:"https://sentry.io/",rel:"nofollow"},"Sentry日志监控"),s(" 、 "),u("a",{href:"https://github.com/features/actions",rel:"nofollow"},"Github Action"),s(" 、 "),u("a",{href:"https://www.iconfont.cn",rel:"nofollow"},"阿里矢量图标库")]),u("p",null," 由于网站部署于 香港、深圳、上海 三节点组成的 k8s 集群, 用户的请求会被分散到各个服务器, 访问速度不可避免的会出现差异。同时, 网站使用 Redis 对页面进行了 30分钟 的缓存, 更新可能会存在不及时的情况。 ")]),u("div",{class:"about-item-container"},[u("h2",null,"作者信息"),u("p",null,"昵称: 远浅"),u("p",null,"职业: Web/前端开发工程师"),u("p",null,"坐标: 广东深圳"),u("p",null,"家乡: 湖南衡阳"),u("p",null," 爱好: 写好代码,睡个好觉,看看动画,打打羽毛球,四处闲逛。 "),u("p",null,[s(" 社交: "),u("a",{href:"//github.com/unliar",target:"_blank",rel:"nofollow"},"Github"),s(" 、 "),u("a",{href:"https://twitter.com/lzt224",target:"_blank",rel:"nofollow"},"Twitter")]),u("p",null,[s(" 邮箱: "),u("a",{href:"mailto:i@happysooner.com"},"i@happysooner.com")]),u("p",null,"简历: 不给看"),u("p",null,[s(" 梦想: "),u("del",null,"世界和平,这个世界因为有我的存在,而有一点点的不同。"),s(" 算了,还是多赚钱点零花钱。 ")])]),u("div",{class:"about-item-container"},[u("h2",null,"本站愿景"),u("p",null," 让这个网站成为远浅 Web 开发的实验田,用来更新自己的技术栈。 "),u("p",null,"这就是它存在的所有意义。"),u("p",null," 本站所写的文章大部分都是为了存档和自娱自乐, 不可作为准确的学习资料, 请知悉其中存在的风险。 ")])],-1);p();var c=t({expose:[],setup:t=>r(((t,o)=>(e(),n(l,null,{default:r((()=>[i])),_:1}))))});c.__scopeId="data-v-23ebcad1";export default c; diff --git a/assets/index.cc0d6e60.js b/assets/index.b8771b0a.js similarity index 73% rename from assets/index.cc0d6e60.js rename to assets/index.b8771b0a.js index 39557aa..3d25816 100644 --- a/assets/index.cc0d6e60.js +++ b/assets/index.b8771b0a.js @@ -1 +1 @@ -import{k as e,x as t,n as a,p as s,z as o,G as l,F as n,E as r,A as i,B as d,u,N as c,O as y,P as p,T as f,y as g}from"./vendor.18b3a30d.js";import{u as v,a as m,G as _}from"./index.7b8df9f4.js";import{_ as q}from"./index.vue_vue&type=style&index=0&lang.d6191442.js";import{_ as k}from"./SimpleInfoItem.b3f6f051.js";import"./time.93dfc2a8.js";const I=c();y("data-v-ee729a98");const P={class:"content-layout-container"},x={class:"content-layout-child-container"},b={class:"content-layout-widget-container"},j={class:"widget-category"},L=o("div",{class:"category-title"},"目录分类",-1),O={class:"category-list"};p();var $=e({expose:[],setup(e){const c=v(),y=computed((()=>c.Article.CategoryList));return I(((e,c)=>{const p=t("router-link");return a(),s("div",P,[o("div",x,[l(e.$slots,"default")]),o("div",b,[o("div",j,[L,o("ul",O,[(a(!0),s(n,null,r(u(y),(e=>(a(),s("li",{class:"category-item",key:e.Id},[o(p,{to:`/?CategoryID=${e.Id}`},{default:I((()=>[i(d(e.CN),1)])),_:2},1032,["to"])])))),128))])])])])}))}});$.__scopeId="data-v-ee729a98";const T=c();y("data-v-422f221b");const h={key:0,class:"page-navi"},w=i("上一页"),A=i("下一页");p();var C=e({expose:[],props:{query:{type:Object}},setup(e){const l=e,i=reactive({List:[],q:l.query||{},loading:!1});m({title:"远浅 - 给世界献上美好的祝福 - Vue3实战项目"});return onMounted((async()=>{var e,t;await(t=null!=(e=l.query)?e:{},i.loading=!0,i.List=[],_(t).then((e=>{var t,a;i.List=[...null!=(a=null==(t=e.Result)?void 0:t.Articles)?a:[]]})).finally((()=>{i.loading=!1})))})),T(((e,l)=>{const d=t("router-link");return a(),s(q,null,{default:T((()=>[o($,null,{default:T((()=>[o(f,{name:"list"},{default:T((()=>[(a(!0),s(n,null,r(i.List,(e=>(a(),s(k,{key:e.Id,info:e},null,8,["info"])))),128))])),_:1}),i.loading?g("",!0):(a(),s("div",h,[i.q.Page&&i.q.Page>=2?(a(),s(d,{key:0,to:`/?Page=${i.q.Page-1}&OrderType=${i.q.OrderType||"desc"}`},{default:T((()=>[w])),_:1},8,["to"])):g("",!0),15==i.List.length?(a(),s(d,{key:1,to:`/?Page=${i.q.Page?+i.q.Page+1:2}&OrderType=${i.q.OrderType||"desc"}`},{default:T((()=>[A])),_:1},8,["to"])):g("",!0)]))])),_:1})])),_:1})}))}});C.__scopeId="data-v-422f221b";export default C; +import{k as e,x as t,n as a,p as s,z as o,G as l,F as n,E as r,A as i,B as d,u,N as c,O as y,P as p,T as f,y as g}from"./vendor.18b3a30d.js";import{u as v,a as m,G as _}from"./index.e61a2594.js";import{_ as q}from"./index.vue_vue&type=style&index=0&lang.401498f5.js";import{_ as k}from"./SimpleInfoItem.b3f6f051.js";import"./time.93dfc2a8.js";const I=c();y("data-v-ee729a98");const P={class:"content-layout-container"},x={class:"content-layout-child-container"},j={class:"content-layout-widget-container"},L={class:"widget-category"},O=o("div",{class:"category-title"},"目录分类",-1),$={class:"category-list"};p();var b=e({expose:[],setup(e){const c=v(),y=computed((()=>c.Article.CategoryList));return I(((e,c)=>{const p=t("router-link");return a(),s("div",P,[o("div",x,[l(e.$slots,"default")]),o("div",j,[o("div",L,[O,o("ul",$,[(a(!0),s(n,null,r(u(y),(e=>(a(),s("li",{class:"category-item",key:e.Id},[o(p,{to:`/?CategoryID=${e.Id}`},{default:I((()=>[i(d(e.CN),1)])),_:2},1032,["to"])])))),128))])])])])}))}});b.__scopeId="data-v-ee729a98";const T=c();y("data-v-422f221b");const h={key:0,class:"page-navi"},w=i("上一页"),A=i("下一页");p();var C=e({expose:[],props:{query:{type:Object}},setup(e){const l=e,i=reactive({List:[],q:l.query||{},loading:!1});m({title:"远浅 - 给世界献上美好的祝福 - Vue3实战项目"});return onMounted((async()=>{var e,t;await(t=null!=(e=l.query)?e:{},i.loading=!0,i.List=[],_(t).then((e=>{var t,a;i.List=[...null!=(a=null==(t=e.Result)?void 0:t.Articles)?a:[]]})).finally((()=>{i.loading=!1})))})),T(((e,l)=>{const d=t("router-link");return a(),s(q,null,{default:T((()=>[o(b,null,{default:T((()=>[o(f,{name:"list"},{default:T((()=>[(a(!0),s(n,null,r(i.List,(e=>(a(),s(k,{key:e.Id,info:e},null,8,["info"])))),128))])),_:1}),i.loading?g("",!0):(a(),s("div",h,[i.q.Page&&i.q.Page>=2?(a(),s(d,{key:0,to:`/?Page=${i.q.Page-1}&OrderType=${i.q.OrderType||"desc"}`},{default:T((()=>[w])),_:1},8,["to"])):g("",!0),15==i.List.length?(a(),s(d,{key:1,to:`/?Page=${i.q.Page?+i.q.Page+1:2}&OrderType=${i.q.OrderType||"desc"}`},{default:T((()=>[A])),_:1},8,["to"])):g("",!0)]))])),_:1})])),_:1})}))}});C.__scopeId="data-v-422f221b";export default C; diff --git a/assets/index.7b8df9f4.js b/assets/index.e61a2594.js similarity index 97% rename from assets/index.7b8df9f4.js rename to assets/index.e61a2594.js index 4e35cac..dd993d6 100644 --- a/assets/index.7b8df9f4.js +++ b/assets/index.e61a2594.js @@ -12,4 +12,4 @@ let Q;const Z=e=>Q=e,ee=Symbol();function te(e){return e&&"object"==typeof e&&"[ * Copyright 2006, 2015 Klaus Hartl & Fagner Brack * Released under the MIT license */ -var Wt=N((function(e,t){var n;n=function(){function e(){for(var e=0,t={};e{Wt.set("HAPPY_USER_TOKEN",e,{expires:null!=t?t:365,sameSite:"Lax"})},Qt=Kt.create({baseURL:"https://happysooner.com",headers:{"Content-Type":"application/json"},withCredentials:!0});Qt.interceptors.request.use((e=>(e.headers["happy-auth-token"]=Wt.get("HAPPY_USER_TOKEN")||"",e))),Qt.interceptors.response.use((e=>{var t,n,o,r;const s=e.config.url;return 403===(null==(t=null==e?void 0:e.data)?void 0:t.ErrorCode)?(console.error("权限错误❌"),console.error("请求接口: ",s),console.error("错误信息: ",null==(n=null==e?void 0:e.data)?void 0:n.ErrorMsg)):(null==(o=null==e?void 0:e.data)?void 0:o.ErrorCode)&&(console.error("其他错误❌"),console.error("请求接口: ",s),console.error("错误数据",JSON.stringify(null!=(r=null==e?void 0:e.data)?r:"{}"))),e}),(e=>(console.error("系统错误❌",e),Promise.resolve({data:{ErrorCode:-1,ErrorMsg:e.message,Result:null}}))));const Zt=e=>{const t=reactive({data:{},loading:!1});return watchEffect((()=>{(async e=>{var n;t.loading=!0;try{const n=await Qt(e).then((e=>null==e?void 0:e.data));t.data=n}catch(o){const e={ErrorCode:-1,ErrorMsg:null!=(n=null==o?void 0:o.message)?n:"系统错误"};t.data=e}t.loading=!1})(e)})),toRefs(t)},en=e=>Qt.get("/api/v1/writing/articles",{params:e}).then((e=>null==e?void 0:e.data)),tn=e=>Zt({url:`/api/v1/writing/articles/${e}`}),nn=e=>{let t="random";return e&&(t="day"),Zt({url:`/api/v1/proxy/meiriyiwen/${t}/articles?date=${e}`})},on=e=>Qt.post(`/api/v1/writing/articles/${e.PostID}/comments`,{Content:e.Content,AuthorUID:e.AuthorUID,ReplyCommentID:e.ReplyCommentID||0,ReplyCommentUID:e.ReplyCommentUID||0}).then((e=>null==e?void 0:e.data)),rn=e=>Qt.get(`/api/v1/writing/articles/${e.PostID}/comments`,{params:{Page:e.Page,Size:e.Size}}).then((e=>null==e?void 0:e.data)),sn=e=>Zt({url:`/api/v1/account/users/${e}`}),an=e=>Qt.get("/api/v1/account/unique",{params:e}).then((e=>null==e?void 0:e.data)),cn=e=>Qt.post("/api/v1/account/tokens",e).then((e=>null==e?void 0:e.data)),un=e=>Qt.post("/api/v1/account/users",e).then((e=>e.data)),ln=function(e,n,o){let r,a;const c="function"==typeof n;function u(e,o){const u=p();(e=e||u&&s(ee))&&Z(e),(e=Q)._s.has(r)||(c?le(r,n,a,e):function(e,n,o,r){const{state:s,actions:a,getters:c}=n,u=o.state.value[e];let l;l=le(e,(function(){u||(o.state.value[e]=s?s():{});const n=m(o.state.value[e]);return ce(n,a,Object.keys(c||{}).reduce(((n,r)=>(n[r]=i(t((()=>{Z(o);const t=o._s.get(e);return c[r].call(t,t)}))),n)),{}))}),n,o),l.$reset=function(){const e=s?s():{};this.$patch((t=>{ce(t,e)}))}}(r,a,e));return e._s.get(r)}return"string"==typeof e?(r=e,a=c?o:n):(a=e,r=e.id),u.$id=r,u}("PiniaStore",{state:()=>({User:{},Article:{CategoryList:[]}}),actions:{async GetCategoryList(){var e,t;const n=await Qt.get("/api/v1/writing/categories").then((e=>null==e?void 0:e.data)),o=null!=(t=null==(e=null==n?void 0:n.Result)?void 0:e.List)?t:[];this.Article.CategoryList=o},async GetAuthedUserInfo(){var e;const t=await(async()=>Qt.get("/api/v1/account/tokens").then((e=>null==e?void 0:e.data)))(),n=null!=(e=null==t?void 0:t.Result)?e:{};this.User=n},async ResetUserStore(){this.User={},Wt.remove("HAPPY_USER_TOKEN",{sameSite:"Lax"})}}}),fn="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,dn=e=>fn?Symbol(e):"_vr_"+e,pn=dn("rvlm"),hn=dn("rvd"),mn=dn("r"),gn=dn("rl"),vn=dn("rvl"),yn="undefined"!=typeof window;const bn=Object.assign;function wn(e,t){const n={};for(const o in t){const r=t[o];n[o]=Array.isArray(r)?r.map(e):e(r)}return n}let En=()=>{};const On=/\/$/;function Cn(e,t,n="/"){let o,r={},s="",a="";const i=t.indexOf("?"),c=t.indexOf("#",i>-1?i:0);return i>-1&&(o=t.slice(0,i),s=t.slice(i+1,c>-1?c:t.length),r=e(s)),c>-1&&(o=o||t.slice(0,c),a=t.slice(c,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/");let r,s,a=n.length-1;for(r=0;re===t[n])):1===e.length&&e[0]===t}var xn,Pn,jn,Bn;function In(e){if(!e)if(yn){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(On,"")}(Pn=xn||(xn={})).pop="pop",Pn.push="push",(Bn=jn||(jn={})).back="back",Bn.forward="forward",Bn.unknown="";const Dn=/^[^#]+#/;function Ln(e,t){return e.replace(Dn,"#")+t}const kn=()=>({left:window.pageXOffset,top:window.pageYOffset});function Nn(e){let t;if("el"in e){let n=e.el;const o="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.pageXOffset,null!=t.top?t.top:window.pageYOffset)}function $n(e,t){return(history.state?history.state.position-t:-1)+e}const Un=new Map;function Mn(e,t){const{pathname:n,search:o,hash:r}=t;if(e.indexOf("#")>-1){let e=r.slice(1);return"/"!==e[0]&&(e="/"+e),Tn(e,"")}return Tn(n,e)+o+r}function Fn(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?kn():null}}function qn(e){const{history:t,location:n}=window;let o={value:Mn(e,n)},r={value:t.state};function s(o,s,a){const i=e.indexOf("#"),c=i>-1?(n.host&&document.querySelector("base")?e:e.slice(i))+o:location.protocol+"//"+location.host+e+o;try{t[a?"replaceState":"pushState"](s,"",c),r.value=s}catch(u){console.error(u),n[a?"replace":"assign"](c)}}return r.value||s(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:r,push:function(e,n){const a=bn({},r.value,t.state,{forward:e,scroll:kn()});s(a.current,a,!0),s(e,bn({},Fn(o.value,e,null),{position:a.position+1},n),!1),o.value=e},replace:function(e,n){s(e,bn({},t.state,Fn(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function Hn(e){const t=qn(e=In(e)),n=function(e,t,n,o){let r=[],s=[],a=null;const i=({state:s})=>{const i=Mn(e,location),c=n.value,u=t.value;let l=0;if(s){if(n.value=i,t.value=s,a&&a===c)return void(a=null);l=u?s.position-u.position:0}else o(i);r.forEach((e=>{e(n.value,c,{delta:l,type:xn.pop,direction:l?l>0?jn.forward:jn.back:jn.unknown})}))};function c(){const{history:e}=window;e.state&&e.replaceState(bn({},e.state,{scroll:kn()}),"")}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",c),{pauseListeners:function(){a=n.value},listen:function(e){r.push(e);const t=()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)};return s.push(t),t},destroy:function(){for(const e of s)e();s=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",c)}}}(e,t.state,t.location,t.replace);const o=bn({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:Ln.bind(null,e)},t,n);return Object.defineProperty(o,"location",{get:()=>t.location.value}),Object.defineProperty(o,"state",{get:()=>t.state.value}),o}function Vn(e){return"string"==typeof e||"symbol"==typeof e}const zn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Gn=dn("nf");var Xn,Jn;function Kn(e,t){return bn(new Error,{type:e,[Gn]:!0},t)}function Wn(e,t){return e instanceof Error&&Gn in e&&(null==t||!!(e.type&t))}(Jn=Xn||(Xn={}))[Jn.aborted=4]="aborted",Jn[Jn.cancelled=8]="cancelled",Jn[Jn.duplicated=16]="duplicated";const Yn={sensitive:!1,strict:!1,start:!0,end:!0},Qn=/[.+*?^${}()[\]/\\]/g;function Zn(e,t){let n=0;for(;nt.length?1===t.length&&80===t[0]?1:-1:0}function eo(e,t){let n=0;const o=e.score,r=t.score;for(;n1&&("*"===i||"+"===i)&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:u,regexp:l,repeatable:"*"===i||"+"===i,optional:"*"===i||"?"===i})):t("Invalid state to consume buffer"),u="")}function d(){u+=i}for(;c{s(d)}:En}function s(e){if(Vn(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(s),t.alias.forEach(s))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(s),e.alias.forEach(s))}}function a(e){let t=0;for(;t=0;)t++;n.splice(t,0,e),e.record.name&&!ao(e)&&o.set(e.record.name,e)}return t=co({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>r(e))),{addRoute:r,resolve:function(e,t){let r,s,a,i={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw Kn(1,{location:e});a=r.record.name,i=bn(function(e,t){let n={};for(let o of t)o in e&&(n[o]=e[o]);return n}(t.params,r.keys.filter((e=>!e.optional)).map((e=>e.name))),e.params),s=r.stringify(i)}else if("path"in e)s=e.path,r=n.find((e=>e.re.test(s))),r&&(i=r.parse(s),a=r.record.name);else{if(r=t.name?o.get(t.name):n.find((e=>e.re.test(t.path))),!r)throw Kn(1,{location:e,currentLocation:t});a=r.record.name,i=bn({},t.params,e.params),s=r.stringify(i)}const c=[];let u=r;for(;u;)c.unshift(u.record),u=u.parent;return{name:a,path:s,params:i,matched:c,meta:io(c)}},removeRoute:s,getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function so(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(let o in e.components)t[o]="boolean"==typeof n?n:n[o];return t}function ao(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function io(e){return e.reduce(((e,t)=>bn(e,t.meta)),{})}function co(e,t){let n={};for(let o in e)n[o]=o in t?t[o]:e[o];return n}const uo=/#/g,lo=/&/g,fo=/\//g,po=/=/g,ho=/\?/g,mo=/\+/g,go=/%5B/g,vo=/%5D/g,yo=/%5E/g,bo=/%60/g,wo=/%7B/g,Eo=/%7C/g,Oo=/%7D/g,Co=/%20/g;function To(e){return encodeURI(""+e).replace(Eo,"|").replace(go,"[").replace(vo,"]")}function Ro(e){return To(e).replace(mo,"%2B").replace(Co,"+").replace(uo,"%23").replace(lo,"%26").replace(bo,"`").replace(wo,"{").replace(Oo,"}").replace(yo,"^")}function So(e){return function(e){return To(e).replace(uo,"%23").replace(ho,"%3F")}(e).replace(fo,"%2F")}function _o(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function Ao(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe&&Ro(e))):[o&&Ro(o)];for(let e=0;enull==e?null:""+e)):null==o?o:""+o)}return t}function jo(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e,reset:function(){e=[]}}}function Bo(e,t,n,o,r){const s=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise(((a,i)=>{const c=e=>{var c;!1===e?i(Kn(4,{from:n,to:t})):e instanceof Error?i(e):"string"==typeof(c=e)||c&&"object"==typeof c?i(Kn(2,{from:t,to:e})):(s&&o.enterCallbacks[r]===s&&"function"==typeof e&&s.push(e),a())},u=e.call(o&&o.instances[r],t,n,c);let l=Promise.resolve(u);e.length<3&&(l=l.then(c)),l.catch((e=>i(e)))}))}function Io(e,t,n,o){const r=[];for(const a of e)for(const e in a.components){let i=a.components[e];if("beforeRouteEnter"===t||a.instances[e])if("object"==typeof(s=i)||"displayName"in s||"props"in s||"__vccOpts"in s){const s=(i.__vccOpts||i)[t];s&&r.push(Bo(s,n,o,a,e))}else{let s=i();s=s.catch(console.error),r.push((()=>s.then((r=>{if(!r)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${a.path}"`));const s=(i=r).__esModule||fn&&"Module"===i[Symbol.toStringTag]?r.default:r;var i;a.components[e]=s;const c=(s.__vccOpts||s)[t];return c&&Bo(c,n,o,a,e)()}))))}}var s;return r}function Do(e){const n=s(mn),o=s(gn),r=t((()=>n.resolve(y(e.to)))),a=t((()=>{let{matched:e}=r.value,{length:t}=e;const n=e[t-1];let s=o.matched;if(!n||!s.length)return-1;let a=s.findIndex(Rn.bind(null,n));if(a>-1)return a;let i=ko(e[t-2]);return t>1&&ko(n)===i&&s[s.length-1].path!==i?s.findIndex(Rn.bind(null,e[t-2])):a})),i=t((()=>a.value>-1&&function(e,t){for(let n in t){let o=t[n],r=e[n];if("string"==typeof o){if(o!==r)return!1}else if(!Array.isArray(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}(o.params,r.value.params))),c=t((()=>a.value>-1&&a.value===o.matched.length-1&&Sn(o.params,r.value.params)));return{route:r,href:t((()=>r.value.href)),isActive:i,isExactActive:c,navigate:function(t={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(t)?n[y(e.replace)?"replace":"push"](y(e.to)):Promise.resolve()}}}const Lo=g({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},setup(e,{slots:n,attrs:o}){const r=l(Do(e)),{options:a}=s(mn),i=t((()=>({[No(e.activeClass,a.linkActiveClass,"router-link-active")]:r.isActive,[No(e.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive})));return()=>{const t=n.default&&n.default(r);return e.custom?t:U("a",bn({"aria-current":r.isExactActive?e.ariaCurrentValue:null,onClick:r.navigate,href:r.href},o,{class:i.value}),t)}}});function ko(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const No=(e,t,n)=>null!=e?e:null!=t?t:n;function $o(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Uo=g({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(e,{attrs:o,slots:r}){const a=s(vn),i=t((()=>e.route||a.value)),c=s(hn,0),l=t((()=>i.value.matched[c]));M(hn,c+1),M(pn,l),M(vn,i);const f=n();return u((()=>[f.value,l.value,e.name]),(([e,t,n],[o,r,s])=>{t&&(t.instances[n]=e,r&&r!==t&&e&&e===o&&(t.leaveGuards=r.leaveGuards,t.updateGuards=r.updateGuards)),!e||!t||r&&Rn(t,r)&&o||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const t=i.value,n=l.value,s=n&&n.components[e.name],a=e.name;if(!s)return $o(r.default,{Component:s,route:t});const c=n.props[e.name],u=c?!0===c?t.params:"function"==typeof c?c(t):c:null,d=U(s,bn({},u,o,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(n.instances[a]=null)},ref:f}));return $o(r.default,{Component:d,route:t})||d}}});function Mo(e){return e.reduce(((e,t)=>e.then((()=>t()))),Promise.resolve())}function Fo(){return s(mn)}const qo=F();q("data-v-3629a0e2");const Ho=S("div",null,"本项目为 Vue3 + Vite2 开源实践项目",-1),Vo=S("div",null,[A(" 请点击前往 "),S("strong",null,"Github"),A("交友网站查看源码 ")],-1);H();var zo=g({expose:[],setup(e){const t=()=>{window.open("https://github.com/unliar/vue3-ts-happysooner-web")};return qo(((e,n)=>(b(),w("div",{onClick:t},[Ho,Vo]))))}});zo.__scopeId="data-v-3629a0e2";var Go=g({expose:[],setup(e){const t=ln(),n=ut(),o=s(gn);(e=>{e?onBeforeMount((()=>{var t;if(document.getElementById(e))return void console.error("useBaiduInit 无需多次调用",e);console.info("useBaiduInit 注册成功",e);const n=document.createElement("script");n.src=`https://hm.baidu.com/hm.js?${e}`,n.id=e;var o=document.getElementsByTagName("script")[0];null==(t=null==o?void 0:o.parentNode)||t.insertBefore(n,o)})):console.error("useBaiduInit 未检测到百度统计ID",e)})("6b599d2d50ef582710e04da83818e1b0");const r=computed((()=>o.fullPath));return Y({title:"远浅 - 给世界献上美好的祝福 - Vue3实战项目"}),onMounted((async()=>{var e,o;setTimeout((()=>{n.info(zo,{position:xe.BOTTOM_RIGHT,timeout:3e4})}),2e3),t.GetAuthedUserInfo(),t.GetCategoryList(),null==(o=null==(e=null==window?void 0:window.hljs)?void 0:e.initHighlightingOnLoad)||o.call(e)})),(e,t)=>{const n=T("router-view");return b(),w(n,{key:y(r)})}}});let Xo;const Jo={},Ko=function(e,t){if(!t)return e();if(void 0===Xo){const e=document.createElement("link").relList;Xo=e&&e.supports&&e.supports("modulepreload")?"modulepreload":"preload"}return Promise.all(t.map((e=>{if(e in Jo)return;Jo[e]=!0;const t=e.endsWith(".css"),n=t?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${n}`))return;const o=document.createElement("link");return o.rel=t?"stylesheet":Xo,t||(o.as="script",o.crossOrigin=""),o.href=e,document.head.appendChild(o),t?new Promise(((e,t)=>{o.addEventListener("load",e),o.addEventListener("error",t)})):void 0}))).then((()=>e()))},Wo=[{path:"/",name:"home-page",component:()=>Ko((()=>__import__("./index.cc0d6e60.js")),["https://unliar.github.io/vue3-ts-happysooner-web/assets/index.cc0d6e60.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.79a86b74.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/vendor.18b3a30d.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.d6191442.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.593a7d4c.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/SimpleInfoItem.b3f6f051.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/SimpleInfoItem.9e8e851e.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/time.93dfc2a8.js"]),props:e=>({query:e.query})},{path:"/post/:pid",name:"post-detail",component:()=>Ko((()=>__import__("./pid.89964575.js")),["https://unliar.github.io/vue3-ts-happysooner-web/assets/pid.89964575.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/pid.d8c878a3.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/vendor.18b3a30d.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.d6191442.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.593a7d4c.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/time.93dfc2a8.js"]),props:e=>({pid:+e.params.pid})},{path:"/users/:uid",name:"user-details",component:()=>Ko((()=>__import__("./uid.915351d3.js")),["https://unliar.github.io/vue3-ts-happysooner-web/assets/uid.915351d3.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/uid.57317e48.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/vendor.18b3a30d.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.d6191442.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.593a7d4c.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/SimpleInfoItem.b3f6f051.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/SimpleInfoItem.9e8e851e.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/time.93dfc2a8.js"]),props:e=>({uid:+e.params.uid})},{path:"/daily-articles",name:"daily-read",component:()=>Ko((()=>__import__("./index.146225bc.js")),["https://unliar.github.io/vue3-ts-happysooner-web/assets/index.146225bc.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.69f30477.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.d6191442.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.593a7d4c.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/vendor.18b3a30d.js"]),props:e=>({query:e.query})},{path:"/signin",name:"signin",component:()=>Ko((()=>__import__("./index.0aea1b90.js")),["https://unliar.github.io/vue3-ts-happysooner-web/assets/index.0aea1b90.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.a2f30696.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/vendor.18b3a30d.js"])},{path:"/about",name:"about",component:()=>Ko((()=>__import__("./index.24cabceb.js")),["https://unliar.github.io/vue3-ts-happysooner-web/assets/index.24cabceb.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.6e083b63.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.d6191442.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.593a7d4c.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/vendor.18b3a30d.js"])},{path:"/:pathMatch(.*)*",name:"not-found",component:()=>Ko((()=>__import__("./index.dc05998d.js")),["https://unliar.github.io/vue3-ts-happysooner-web/assets/index.dc05998d.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.39204bc0.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/vendor.18b3a30d.js"])}],Yo=function(e){const n=ro(e.routes,e);let o=e.parseQuery||Ao,r=e.stringifyQuery||xo,s=e.history;const a=jo(),i=jo(),c=jo(),u=$(zn);let f=zn;yn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=wn.bind(null,(e=>""+e)),p=wn.bind(null,So),h=wn.bind(null,_o);function m(e,t){if(t=bn({},t||u.value),"string"==typeof e){let r=Cn(o,e,t.path),a=n.resolve({path:r.path},t),i=s.createHref(r.fullPath);return bn(r,a,{params:h(a.params),hash:_o(r.hash),redirectedFrom:void 0,href:i})}let a;"path"in e?a=bn({},e,{path:Cn(o,e.path,t.path).path}):(a=bn({},e,{params:p(e.params)}),t.params=p(t.params));let i=n.resolve(a,t);const c=e.hash||"";i.params=d(h(i.params));const l=function(e,t){let n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(r,bn({},e,{hash:(f=c,To(f).replace(wo,"{").replace(Oo,"}").replace(yo,"^")),path:i.path}));var f;let m=s.createHref(l);return bn({fullPath:l,hash:c,query:r===xo?Po(e.query):e.query},i,{redirectedFrom:void 0,href:m})}function g(e){return"string"==typeof e?Cn(o,e,u.value.path):bn({},e)}function v(e,t){if(f!==e)return Kn(8,{from:t,to:e})}function b(e){return E(e)}function w(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.indexOf("?")>-1||o.indexOf("#")>-1?o=g(o):{path:o}),bn({query:e.query,hash:e.hash,params:e.params},o)}}function E(e,t){const n=f=m(e),o=u.value,s=e.state,a=e.force,i=!0===e.replace,c=w(n);if(c)return E(bn(g(c),{state:s,force:a,replace:i}),t||n);const l=n;let d;return l.redirectedFrom=t,!a&&function(e,t,n){let o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&Rn(t.matched[o],n.matched[r])&&Sn(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(r,o,n)&&(d=Kn(16,{to:l,from:o}),I(o,o,!0,!1)),(d?Promise.resolve(d):C(l,o)).catch((e=>Wn(e)?e:j(e))).then((e=>{if(e){if(Wn(e,2))return E(bn(g(e.to),{state:s,force:a,replace:i}),t||l)}else e=R(l,o,!0,i,s);return T(l,o,e),e}))}function O(e,t){const n=v(e,t);return n?Promise.reject(n):Promise.resolve()}function C(e,t){let n;const[o,r,s]=function(e,t){const n=[],o=[],r=[],s=Math.max(t.matched.length,e.matched.length);for(let a=0;a{n.push(Bo(o,e,t))}));const c=O.bind(null,e,t);return n.push(c),Mo(n).then((()=>{n=[];for(const o of a.list())n.push(Bo(o,e,t));return n.push(c),Mo(n)})).then((()=>{n=Io(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(Bo(o,e,t))}));return n.push(c),Mo(n)})).then((()=>{n=[];for(const o of e.matched)if(o.beforeEnter&&t.matched.indexOf(o)<0)if(Array.isArray(o.beforeEnter))for(const r of o.beforeEnter)n.push(Bo(r,e,t));else n.push(Bo(o.beforeEnter,e,t));return n.push(c),Mo(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=Io(s,"beforeRouteEnter",e,t),n.push(c),Mo(n)))).then((()=>{n=[];for(const o of i.list())n.push(Bo(o,e,t));return n.push(c),Mo(n)})).catch((e=>Wn(e,8)?e:Promise.reject(e)))}function T(e,t,n){for(const o of c.list())o(e,t,n)}function R(e,t,n,o,r){const a=v(e,t);if(a)return a;const i=t===zn,c=yn?history.state:{};n&&(o||i?s.replace(e.fullPath,bn({scroll:i&&c&&c.scroll},r)):s.push(e.fullPath,r)),u.value=e,I(e,t,n,i),B()}let S;function _(){S=s.listen(((e,t,n)=>{let o=m(e);const r=w(o);if(r)return void E(bn(r,{replace:!0}),o).catch(En);f=o;const a=u.value;var i,c;yn&&(i=$n(a.fullPath,n.delta),c=kn(),Un.set(i,c)),C(o,a).catch((e=>Wn(e,12)?e:Wn(e,2)?(E(e.to,o).catch(En),Promise.reject()):(n.delta&&s.go(-n.delta,!1),j(e)))).then((e=>{(e=e||R(o,a,!1))&&n.delta&&s.go(-n.delta,!1),T(o,a,e)})).catch(En)}))}let A,x=jo(),P=jo();function j(e){return B(e),P.list().forEach((t=>t(e))),Promise.reject(e)}function B(e){A||(A=!0,_(),x.list().forEach((([t,n])=>e?n(e):t())),x.reset())}function I(t,n,o,r){const{scrollBehavior:s}=e;if(!yn||!s)return Promise.resolve();let a=!o&&function(e){const t=Un.get(e);return Un.delete(e),t}($n(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return L().then((()=>s(t,n,a))).then((e=>e&&Nn(e))).catch(j)}const D=e=>s.go(e);let k;const N=new Set;return{currentRoute:u,addRoute:function(e,t){let o,r;return Vn(e)?(o=n.getRecordMatcher(e),r=t):r=e,n.addRoute(r,o)},removeRoute:function(e){let t=n.getRecordMatcher(e);t&&n.removeRoute(t)},hasRoute:function(e){return!!n.getRecordMatcher(e)},getRoutes:function(){return n.getRoutes().map((e=>e.record))},resolve:m,options:e,push:b,replace:function(e){return b(bn(g(e),{replace:!0}))},go:D,back:()=>D(-1),forward:()=>D(1),beforeEach:a.add,beforeResolve:i.add,afterEach:c.add,onError:P.add,isReady:function(){return A&&u.value!==zn?Promise.resolve():new Promise(((e,t)=>{x.add([e,t])}))},install(e){e.component("RouterLink",Lo),e.component("RouterView",Uo),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{get:()=>y(u)}),yn&&!k&&u.value===zn&&(k=!0,b(s.location).catch((e=>{})));const n={};for(let r in zn)n[r]=t((()=>u.value[r]));e.provide(mn,this),e.provide(gn,l(n)),e.provide(vn,u);let o=e.unmount;N.add(e),e.unmount=function(){N.delete(e),N.size<1&&(S(),u.value=zn,k=!1,A=!1),o.call(this,arguments)}}}}({history:((Qo=location.host?Qo||location.pathname+location.search:"").indexOf("#")<0&&(Qo+="#"),Hn(Qo)),routes:Wo,scrollBehavior:(e,t,n)=>n||(e.hash?{el:e.hash,behavior:"smooth"}:{left:0,top:0})});var Qo;V.configure({showSpinner:!1});let Zo={install:function(e){e.directive("highlight",{mounted:function(e){e.querySelectorAll("pre code").forEach((e=>{var t,n;null==(n=null==(t=null==window?void 0:window.hljs)?void 0:t.highlightBlock)||n.call(t,e)}))}})}};const er=F();q("data-v-f327bc66");const tr={key:0,class:"loading-container"},nr={class:"text-info"},or=S("div",{class:"balls"},[S("div"),S("div"),S("div")],-1);H();var rr=g({expose:[],props:{info:String,color:String,infoSize:String,loading:Boolean,padding:String},setup(e){var t,n,o,r;const s=e;z((e=>({"4d29237e":a.color,"767083d4":a.infoSize,"3ec5956c":a.padding})));const a=reactive({info:null!=(t=s.info)?t:"努力加载中",color:null!=(n=s.color)?n:"#888",infoSize:null!=(o=s.infoSize)?o:"1rem",loading:s.loading,padding:null!=(r=s.padding)?r:"30px 0"}),i=computed((()=>s.loading));return er(((e,t)=>y(i)?(b(),w("div",tr,[S("div",nr,x(a.info),1),or])):R("",!0)))}});rr.__scopeId="data-v-f327bc66";let sr={install:function(e){e.component("LoadingBall",rr)}};const ar=F();var ir=g({expose:[],props:{size:String,src:String,scale:Number},setup(e){const t=e;z((e=>({aa0c0ed6:t.size,"977bf994":t.scale})));const n=computed((()=>{var e;return null!=(e=t.src)?e:"https://happysooner.com/api/v1/tools/ident-icon?key=happy"}));return ar(((e,t)=>(b(),w("img",{alt:"avatar",src:y(n),key:y(n)},null,8,["src"]))))}});ir.__scopeId="data-v-7892bead";let cr={install:function(e){e.component("Avatar",ir)}};var ur;(ur=Yo).beforeEach(((e,t,n)=>{V.start(),console.log("from:",t.fullPath,"---\x3e",e.fullPath),n()})),ur.afterEach((()=>{V.done()}));const lr={position:xe.TOP_CENTER,timeout:2e3,newestOnTop:!0,transition:"Vue-Toastification__fade"},fr=(()=>{const e=[],t={install(e){e.config.globalProperties.$head=t,e.provide("_vue_use_head_",t)},headTags:e,addHeadTags(t){t.forEach((t=>{if("meta"===t.tag||"base"===t.tag){const o=void 0!==(n=t.props).key?{name:"key",value:n.key}:void 0!==n.name?{name:"name",value:n.name}:void 0!==n.property?{name:"property",value:n.property}:void 0;if(o){let n=-1;for(let r=0;r{const n=e.indexOf(t);-1!==n&&e.splice(n,1)}))},updateDOM(t){((e,t=window.document)=>{const n=t.head;let o=n.querySelector('meta[name="head:count"]');const r=o?Number(o.getAttribute("content")):0,s=[];if(o)for(let l=0,f=o.previousElementSibling;l{e.remove()})),void 0!==i&&(t.title=i),K(t.documentElement,c),K(t.body,u),a.forEach((e=>{n.insertBefore(e,o)})),o.setAttribute("content",""+a.length)})(e,t)}};return t})(),dr=function(){const e=a(!0),t=e.run((()=>n({})));let o=[];const r=[],s=i({install(e){s._a=e,e.provide(ee,s),e.config.globalProperties.$pinia=s,re&&Z(s),r.forEach((e=>o.push(e)))},use(e){return this._a||c?o.push(e):r.push(e),this},_p:o,_a:null,_e:e,_s:new Map,state:t});return s}();dr.use((({store:e})=>{e.$subscribe((e=>{console.log("store state changed",e)})),e.$onAction((e=>{console.log("store action fired",e)}))})),k(Go).use(dr).use(((e,t)=>{const n=at(Object.assign({eventBus:ct},t));e.provide(it,n)}),lr).use(fr).use(Yo).use(Zo).use(sr).use(cr).mount("#vue-next");export{en as G,on as P,Yt as S,tn as U,Y as a,Fo as b,ut as c,rn as d,an as e,cn as f,un as g,nn as h,sn as i,ln as u}; +var Wt=N((function(e,t){var n;n=function(){function e(){for(var e=0,t={};e{Wt.set("HAPPY_USER_TOKEN",e,{expires:null!=t?t:365,sameSite:"Lax"})},Qt=Kt.create({baseURL:"https://happysooner.com",headers:{"Content-Type":"application/json"},withCredentials:!0});Qt.interceptors.request.use((e=>(e.headers["happy-auth-token"]=Wt.get("HAPPY_USER_TOKEN")||"",e))),Qt.interceptors.response.use((e=>{var t,n,o,r;const s=e.config.url;return 403===(null==(t=null==e?void 0:e.data)?void 0:t.ErrorCode)?(console.error("权限错误❌"),console.error("请求接口: ",s),console.error("错误信息: ",null==(n=null==e?void 0:e.data)?void 0:n.ErrorMsg)):(null==(o=null==e?void 0:e.data)?void 0:o.ErrorCode)&&(console.error("其他错误❌"),console.error("请求接口: ",s),console.error("错误数据",JSON.stringify(null!=(r=null==e?void 0:e.data)?r:"{}"))),e}),(e=>(console.error("系统错误❌",e),Promise.resolve({data:{ErrorCode:-1,ErrorMsg:e.message,Result:null}}))));const Zt=e=>{const t=reactive({data:{},loading:!1});return watchEffect((()=>{(async e=>{var n;t.loading=!0;try{const n=await Qt(e).then((e=>null==e?void 0:e.data));t.data=n}catch(o){const e={ErrorCode:-1,ErrorMsg:null!=(n=null==o?void 0:o.message)?n:"系统错误"};t.data=e}t.loading=!1})(e)})),toRefs(t)},en=e=>Qt.get("/api/v1/writing/articles",{params:e}).then((e=>null==e?void 0:e.data)),tn=e=>Zt({url:`/api/v1/writing/articles/${e}`}),nn=e=>{let t="random";return e&&(t="day"),Zt({url:`/api/v1/proxy/meiriyiwen/${t}/articles?date=${e}`})},on=e=>Qt.post(`/api/v1/writing/articles/${e.PostID}/comments`,{Content:e.Content,AuthorUID:e.AuthorUID,ReplyCommentID:e.ReplyCommentID||0,ReplyCommentUID:e.ReplyCommentUID||0}).then((e=>null==e?void 0:e.data)),rn=e=>Qt.get(`/api/v1/writing/articles/${e.PostID}/comments`,{params:{Page:e.Page,Size:e.Size}}).then((e=>null==e?void 0:e.data)),sn=e=>Zt({url:`/api/v1/account/users/${e}`}),an=e=>Qt.get("/api/v1/account/unique",{params:e}).then((e=>null==e?void 0:e.data)),cn=e=>Qt.post("/api/v1/account/tokens",e).then((e=>null==e?void 0:e.data)),un=e=>Qt.post("/api/v1/account/users",e).then((e=>e.data)),ln=function(e,n,o){let r,a;const c="function"==typeof n;function u(e,o){const u=p();(e=e||u&&s(ee))&&Z(e),(e=Q)._s.has(r)||(c?le(r,n,a,e):function(e,n,o,r){const{state:s,actions:a,getters:c}=n,u=o.state.value[e];let l;l=le(e,(function(){u||(o.state.value[e]=s?s():{});const n=m(o.state.value[e]);return ce(n,a,Object.keys(c||{}).reduce(((n,r)=>(n[r]=i(t((()=>{Z(o);const t=o._s.get(e);return c[r].call(t,t)}))),n)),{}))}),n,o),l.$reset=function(){const e=s?s():{};this.$patch((t=>{ce(t,e)}))}}(r,a,e));return e._s.get(r)}return"string"==typeof e?(r=e,a=c?o:n):(a=e,r=e.id),u.$id=r,u}("PiniaStore",{state:()=>({User:{},Article:{CategoryList:[]}}),actions:{async GetCategoryList(){var e,t;const n=await Qt.get("/api/v1/writing/categories").then((e=>null==e?void 0:e.data)),o=null!=(t=null==(e=null==n?void 0:n.Result)?void 0:e.List)?t:[];this.Article.CategoryList=o},async GetAuthedUserInfo(){var e;const t=await(async()=>Qt.get("/api/v1/account/tokens").then((e=>null==e?void 0:e.data)))(),n=null!=(e=null==t?void 0:t.Result)?e:{};this.User=n},async ResetUserStore(){this.User={},Wt.remove("HAPPY_USER_TOKEN",{sameSite:"Lax"})}}}),fn="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,dn=e=>fn?Symbol(e):"_vr_"+e,pn=dn("rvlm"),hn=dn("rvd"),mn=dn("r"),gn=dn("rl"),vn=dn("rvl"),yn="undefined"!=typeof window;const bn=Object.assign;function wn(e,t){const n={};for(const o in t){const r=t[o];n[o]=Array.isArray(r)?r.map(e):e(r)}return n}let En=()=>{};const On=/\/$/;function Cn(e,t,n="/"){let o,r={},s="",a="";const i=t.indexOf("?"),c=t.indexOf("#",i>-1?i:0);return i>-1&&(o=t.slice(0,i),s=t.slice(i+1,c>-1?c:t.length),r=e(s)),c>-1&&(o=o||t.slice(0,c),a=t.slice(c,t.length)),o=function(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),o=e.split("/");let r,s,a=n.length-1;for(r=0;re===t[n])):1===e.length&&e[0]===t}var xn,Pn,jn,Bn;function In(e){if(!e)if(yn){const t=document.querySelector("base");e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),e.replace(On,"")}(Pn=xn||(xn={})).pop="pop",Pn.push="push",(Bn=jn||(jn={})).back="back",Bn.forward="forward",Bn.unknown="";const Dn=/^[^#]+#/;function Ln(e,t){return e.replace(Dn,"#")+t}const kn=()=>({left:window.pageXOffset,top:window.pageYOffset});function Nn(e){let t;if("el"in e){let n=e.el;const o="string"==typeof n&&n.startsWith("#"),r="string"==typeof n?o?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=function(e,t){const n=document.documentElement.getBoundingClientRect(),o=e.getBoundingClientRect();return{behavior:t.behavior,left:o.left-n.left-(t.left||0),top:o.top-n.top-(t.top||0)}}(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(null!=t.left?t.left:window.pageXOffset,null!=t.top?t.top:window.pageYOffset)}function $n(e,t){return(history.state?history.state.position-t:-1)+e}const Un=new Map;function Mn(e,t){const{pathname:n,search:o,hash:r}=t;if(e.indexOf("#")>-1){let e=r.slice(1);return"/"!==e[0]&&(e="/"+e),Tn(e,"")}return Tn(n,e)+o+r}function Fn(e,t,n,o=!1,r=!1){return{back:e,current:t,forward:n,replaced:o,position:window.history.length,scroll:r?kn():null}}function qn(e){const{history:t,location:n}=window;let o={value:Mn(e,n)},r={value:t.state};function s(o,s,a){const i=e.indexOf("#"),c=i>-1?(n.host&&document.querySelector("base")?e:e.slice(i))+o:location.protocol+"//"+location.host+e+o;try{t[a?"replaceState":"pushState"](s,"",c),r.value=s}catch(u){console.error(u),n[a?"replace":"assign"](c)}}return r.value||s(o.value,{back:null,current:o.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0),{location:o,state:r,push:function(e,n){const a=bn({},r.value,t.state,{forward:e,scroll:kn()});s(a.current,a,!0),s(e,bn({},Fn(o.value,e,null),{position:a.position+1},n),!1),o.value=e},replace:function(e,n){s(e,bn({},t.state,Fn(r.value.back,e,r.value.forward,!0),n,{position:r.value.position}),!0),o.value=e}}}function Hn(e){const t=qn(e=In(e)),n=function(e,t,n,o){let r=[],s=[],a=null;const i=({state:s})=>{const i=Mn(e,location),c=n.value,u=t.value;let l=0;if(s){if(n.value=i,t.value=s,a&&a===c)return void(a=null);l=u?s.position-u.position:0}else o(i);r.forEach((e=>{e(n.value,c,{delta:l,type:xn.pop,direction:l?l>0?jn.forward:jn.back:jn.unknown})}))};function c(){const{history:e}=window;e.state&&e.replaceState(bn({},e.state,{scroll:kn()}),"")}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",c),{pauseListeners:function(){a=n.value},listen:function(e){r.push(e);const t=()=>{const t=r.indexOf(e);t>-1&&r.splice(t,1)};return s.push(t),t},destroy:function(){for(const e of s)e();s=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",c)}}}(e,t.state,t.location,t.replace);const o=bn({location:"",base:e,go:function(e,t=!0){t||n.pauseListeners(),history.go(e)},createHref:Ln.bind(null,e)},t,n);return Object.defineProperty(o,"location",{get:()=>t.location.value}),Object.defineProperty(o,"state",{get:()=>t.state.value}),o}function Vn(e){return"string"==typeof e||"symbol"==typeof e}const zn={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Gn=dn("nf");var Xn,Jn;function Kn(e,t){return bn(new Error,{type:e,[Gn]:!0},t)}function Wn(e,t){return e instanceof Error&&Gn in e&&(null==t||!!(e.type&t))}(Jn=Xn||(Xn={}))[Jn.aborted=4]="aborted",Jn[Jn.cancelled=8]="cancelled",Jn[Jn.duplicated=16]="duplicated";const Yn={sensitive:!1,strict:!1,start:!0,end:!0},Qn=/[.+*?^${}()[\]/\\]/g;function Zn(e,t){let n=0;for(;nt.length?1===t.length&&80===t[0]?1:-1:0}function eo(e,t){let n=0;const o=e.score,r=t.score;for(;n1&&("*"===i||"+"===i)&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:u,regexp:l,repeatable:"*"===i||"+"===i,optional:"*"===i||"?"===i})):t("Invalid state to consume buffer"),u="")}function d(){u+=i}for(;c{s(d)}:En}function s(e){if(Vn(e)){const t=o.get(e);t&&(o.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(s),t.alias.forEach(s))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&o.delete(e.record.name),e.children.forEach(s),e.alias.forEach(s))}}function a(e){let t=0;for(;t=0;)t++;n.splice(t,0,e),e.record.name&&!ao(e)&&o.set(e.record.name,e)}return t=co({strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>r(e))),{addRoute:r,resolve:function(e,t){let r,s,a,i={};if("name"in e&&e.name){if(r=o.get(e.name),!r)throw Kn(1,{location:e});a=r.record.name,i=bn(function(e,t){let n={};for(let o of t)o in e&&(n[o]=e[o]);return n}(t.params,r.keys.filter((e=>!e.optional)).map((e=>e.name))),e.params),s=r.stringify(i)}else if("path"in e)s=e.path,r=n.find((e=>e.re.test(s))),r&&(i=r.parse(s),a=r.record.name);else{if(r=t.name?o.get(t.name):n.find((e=>e.re.test(t.path))),!r)throw Kn(1,{location:e,currentLocation:t});a=r.record.name,i=bn({},t.params,e.params),s=r.stringify(i)}const c=[];let u=r;for(;u;)c.unshift(u.record),u=u.parent;return{name:a,path:s,params:i,matched:c,meta:io(c)}},removeRoute:s,getRoutes:function(){return n},getRecordMatcher:function(e){return o.get(e)}}}function so(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(let o in e.components)t[o]="boolean"==typeof n?n:n[o];return t}function ao(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function io(e){return e.reduce(((e,t)=>bn(e,t.meta)),{})}function co(e,t){let n={};for(let o in e)n[o]=o in t?t[o]:e[o];return n}const uo=/#/g,lo=/&/g,fo=/\//g,po=/=/g,ho=/\?/g,mo=/\+/g,go=/%5B/g,vo=/%5D/g,yo=/%5E/g,bo=/%60/g,wo=/%7B/g,Eo=/%7C/g,Oo=/%7D/g,Co=/%20/g;function To(e){return encodeURI(""+e).replace(Eo,"|").replace(go,"[").replace(vo,"]")}function Ro(e){return To(e).replace(mo,"%2B").replace(Co,"+").replace(uo,"%23").replace(lo,"%26").replace(bo,"`").replace(wo,"{").replace(Oo,"}").replace(yo,"^")}function So(e){return function(e){return To(e).replace(uo,"%23").replace(ho,"%3F")}(e).replace(fo,"%2F")}function _o(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}function Ao(e){const t={};if(""===e||"?"===e)return t;const n=("?"===e[0]?e.slice(1):e).split("&");for(let o=0;oe&&Ro(e))):[o&&Ro(o)];for(let e=0;enull==e?null:""+e)):null==o?o:""+o)}return t}function jo(){let e=[];return{add:function(t){return e.push(t),()=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e,reset:function(){e=[]}}}function Bo(e,t,n,o,r){const s=o&&(o.enterCallbacks[r]=o.enterCallbacks[r]||[]);return()=>new Promise(((a,i)=>{const c=e=>{var c;!1===e?i(Kn(4,{from:n,to:t})):e instanceof Error?i(e):"string"==typeof(c=e)||c&&"object"==typeof c?i(Kn(2,{from:t,to:e})):(s&&o.enterCallbacks[r]===s&&"function"==typeof e&&s.push(e),a())},u=e.call(o&&o.instances[r],t,n,c);let l=Promise.resolve(u);e.length<3&&(l=l.then(c)),l.catch((e=>i(e)))}))}function Io(e,t,n,o){const r=[];for(const a of e)for(const e in a.components){let i=a.components[e];if("beforeRouteEnter"===t||a.instances[e])if("object"==typeof(s=i)||"displayName"in s||"props"in s||"__vccOpts"in s){const s=(i.__vccOpts||i)[t];s&&r.push(Bo(s,n,o,a,e))}else{let s=i();s=s.catch(console.error),r.push((()=>s.then((r=>{if(!r)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${a.path}"`));const s=(i=r).__esModule||fn&&"Module"===i[Symbol.toStringTag]?r.default:r;var i;a.components[e]=s;const c=(s.__vccOpts||s)[t];return c&&Bo(c,n,o,a,e)()}))))}}var s;return r}function Do(e){const n=s(mn),o=s(gn),r=t((()=>n.resolve(y(e.to)))),a=t((()=>{let{matched:e}=r.value,{length:t}=e;const n=e[t-1];let s=o.matched;if(!n||!s.length)return-1;let a=s.findIndex(Rn.bind(null,n));if(a>-1)return a;let i=ko(e[t-2]);return t>1&&ko(n)===i&&s[s.length-1].path!==i?s.findIndex(Rn.bind(null,e[t-2])):a})),i=t((()=>a.value>-1&&function(e,t){for(let n in t){let o=t[n],r=e[n];if("string"==typeof o){if(o!==r)return!1}else if(!Array.isArray(r)||r.length!==o.length||o.some(((e,t)=>e!==r[t])))return!1}return!0}(o.params,r.value.params))),c=t((()=>a.value>-1&&a.value===o.matched.length-1&&Sn(o.params,r.value.params)));return{route:r,href:t((()=>r.value.href)),isActive:i,isExactActive:c,navigate:function(t={}){return function(e){if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return;if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}e.preventDefault&&e.preventDefault();return!0}(t)?n[y(e.replace)?"replace":"push"](y(e.to)):Promise.resolve()}}}const Lo=g({name:"RouterLink",props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},setup(e,{slots:n,attrs:o}){const r=l(Do(e)),{options:a}=s(mn),i=t((()=>({[No(e.activeClass,a.linkActiveClass,"router-link-active")]:r.isActive,[No(e.exactActiveClass,a.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive})));return()=>{const t=n.default&&n.default(r);return e.custom?t:U("a",bn({"aria-current":r.isExactActive?e.ariaCurrentValue:null,onClick:r.navigate,href:r.href},o,{class:i.value}),t)}}});function ko(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const No=(e,t,n)=>null!=e?e:null!=t?t:n;function $o(e,t){if(!e)return null;const n=e(t);return 1===n.length?n[0]:n}const Uo=g({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},setup(e,{attrs:o,slots:r}){const a=s(vn),i=t((()=>e.route||a.value)),c=s(hn,0),l=t((()=>i.value.matched[c]));M(hn,c+1),M(pn,l),M(vn,i);const f=n();return u((()=>[f.value,l.value,e.name]),(([e,t,n],[o,r,s])=>{t&&(t.instances[n]=e,r&&r!==t&&e&&e===o&&(t.leaveGuards=r.leaveGuards,t.updateGuards=r.updateGuards)),!e||!t||r&&Rn(t,r)&&o||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{flush:"post"}),()=>{const t=i.value,n=l.value,s=n&&n.components[e.name],a=e.name;if(!s)return $o(r.default,{Component:s,route:t});const c=n.props[e.name],u=c?!0===c?t.params:"function"==typeof c?c(t):c:null,d=U(s,bn({},u,o,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(n.instances[a]=null)},ref:f}));return $o(r.default,{Component:d,route:t})||d}}});function Mo(e){return e.reduce(((e,t)=>e.then((()=>t()))),Promise.resolve())}function Fo(){return s(mn)}const qo=F();q("data-v-3629a0e2");const Ho=S("div",null,"本项目为 Vue3 + Vite2 开源实践项目",-1),Vo=S("div",null,[A(" 请点击前往 "),S("strong",null,"Github"),A("交友网站查看源码 ")],-1);H();var zo=g({expose:[],setup(e){const t=()=>{window.open("https://github.com/unliar/vue3-ts-happysooner-web")};return qo(((e,n)=>(b(),w("div",{onClick:t},[Ho,Vo]))))}});zo.__scopeId="data-v-3629a0e2";var Go=g({expose:[],setup(e){const t=ln(),n=ut(),o=s(gn);(e=>{e?onBeforeMount((()=>{var t;if(document.getElementById(e))return void console.error("useBaiduInit 无需多次调用",e);console.info("useBaiduInit 注册成功",e);const n=document.createElement("script");n.src=`https://hm.baidu.com/hm.js?${e}`,n.id=e;var o=document.getElementsByTagName("script")[0];null==(t=null==o?void 0:o.parentNode)||t.insertBefore(n,o)})):console.error("useBaiduInit 未检测到百度统计ID",e)})("6b599d2d50ef582710e04da83818e1b0");const r=computed((()=>o.fullPath));return Y({title:"远浅 - 给世界献上美好的祝福 - Vue3实战项目"}),onMounted((async()=>{var e,o;setTimeout((()=>{n.info(zo,{position:xe.BOTTOM_RIGHT,timeout:3e4})}),2e3),t.GetAuthedUserInfo(),t.GetCategoryList(),null==(o=null==(e=null==window?void 0:window.hljs)?void 0:e.initHighlightingOnLoad)||o.call(e)})),(e,t)=>{const n=T("router-view");return b(),w(n,{key:y(r)})}}});let Xo;const Jo={},Ko=function(e,t){if(!t)return e();if(void 0===Xo){const e=document.createElement("link").relList;Xo=e&&e.supports&&e.supports("modulepreload")?"modulepreload":"preload"}return Promise.all(t.map((e=>{if(e in Jo)return;Jo[e]=!0;const t=e.endsWith(".css"),n=t?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${e}"]${n}`))return;const o=document.createElement("link");return o.rel=t?"stylesheet":Xo,t||(o.as="script",o.crossOrigin=""),o.href=e,document.head.appendChild(o),t?new Promise(((e,t)=>{o.addEventListener("load",e),o.addEventListener("error",t)})):void 0}))).then((()=>e()))},Wo=[{path:"/",name:"home-page",component:()=>Ko((()=>__import__("./index.b8771b0a.js")),["https://unliar.github.io/vue3-ts-happysooner-web/assets/index.b8771b0a.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.79a86b74.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/vendor.18b3a30d.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.401498f5.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.2b842553.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/SimpleInfoItem.b3f6f051.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/SimpleInfoItem.9e8e851e.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/time.93dfc2a8.js"]),props:e=>({query:e.query})},{path:"/post/:pid",name:"post-detail",component:()=>Ko((()=>__import__("./pid.60f44e77.js")),["https://unliar.github.io/vue3-ts-happysooner-web/assets/pid.60f44e77.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/pid.d8c878a3.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/vendor.18b3a30d.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.401498f5.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.2b842553.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/time.93dfc2a8.js"]),props:e=>({pid:+e.params.pid})},{path:"/users/:uid",name:"user-details",component:()=>Ko((()=>__import__("./uid.925b71a7.js")),["https://unliar.github.io/vue3-ts-happysooner-web/assets/uid.925b71a7.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/uid.57317e48.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/vendor.18b3a30d.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.401498f5.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.2b842553.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/SimpleInfoItem.b3f6f051.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/SimpleInfoItem.9e8e851e.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/time.93dfc2a8.js"]),props:e=>({uid:+e.params.uid})},{path:"/daily-articles",name:"daily-read",component:()=>Ko((()=>__import__("./index.64e367e7.js")),["https://unliar.github.io/vue3-ts-happysooner-web/assets/index.64e367e7.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.69f30477.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.401498f5.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.2b842553.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/vendor.18b3a30d.js"]),props:e=>({query:e.query})},{path:"/signin",name:"signin",component:()=>Ko((()=>__import__("./index.0f5c5bbe.js")),["https://unliar.github.io/vue3-ts-happysooner-web/assets/index.0f5c5bbe.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.a2f30696.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/vendor.18b3a30d.js"])},{path:"/about",name:"about",component:()=>Ko((()=>__import__("./index.b6d905e1.js")),["https://unliar.github.io/vue3-ts-happysooner-web/assets/index.b6d905e1.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.6e083b63.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.401498f5.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.vue_vue&type=style&index=0&lang.2b842553.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/vendor.18b3a30d.js"])},{path:"/:pathMatch(.*)*",name:"not-found",component:()=>Ko((()=>__import__("./index.60c1906c.js")),["https://unliar.github.io/vue3-ts-happysooner-web/assets/index.60c1906c.js","https://unliar.github.io/vue3-ts-happysooner-web/assets/index.39204bc0.css","https://unliar.github.io/vue3-ts-happysooner-web/assets/vendor.18b3a30d.js"])}],Yo=function(e){const n=ro(e.routes,e);let o=e.parseQuery||Ao,r=e.stringifyQuery||xo,s=e.history;const a=jo(),i=jo(),c=jo(),u=$(zn);let f=zn;yn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=wn.bind(null,(e=>""+e)),p=wn.bind(null,So),h=wn.bind(null,_o);function m(e,t){if(t=bn({},t||u.value),"string"==typeof e){let r=Cn(o,e,t.path),a=n.resolve({path:r.path},t),i=s.createHref(r.fullPath);return bn(r,a,{params:h(a.params),hash:_o(r.hash),redirectedFrom:void 0,href:i})}let a;"path"in e?a=bn({},e,{path:Cn(o,e.path,t.path).path}):(a=bn({},e,{params:p(e.params)}),t.params=p(t.params));let i=n.resolve(a,t);const c=e.hash||"";i.params=d(h(i.params));const l=function(e,t){let n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}(r,bn({},e,{hash:(f=c,To(f).replace(wo,"{").replace(Oo,"}").replace(yo,"^")),path:i.path}));var f;let m=s.createHref(l);return bn({fullPath:l,hash:c,query:r===xo?Po(e.query):e.query},i,{redirectedFrom:void 0,href:m})}function g(e){return"string"==typeof e?Cn(o,e,u.value.path):bn({},e)}function v(e,t){if(f!==e)return Kn(8,{from:t,to:e})}function b(e){return E(e)}function w(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){const{redirect:n}=t;let o="function"==typeof n?n(e):n;return"string"==typeof o&&(o=o.indexOf("?")>-1||o.indexOf("#")>-1?o=g(o):{path:o}),bn({query:e.query,hash:e.hash,params:e.params},o)}}function E(e,t){const n=f=m(e),o=u.value,s=e.state,a=e.force,i=!0===e.replace,c=w(n);if(c)return E(bn(g(c),{state:s,force:a,replace:i}),t||n);const l=n;let d;return l.redirectedFrom=t,!a&&function(e,t,n){let o=t.matched.length-1,r=n.matched.length-1;return o>-1&&o===r&&Rn(t.matched[o],n.matched[r])&&Sn(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}(r,o,n)&&(d=Kn(16,{to:l,from:o}),I(o,o,!0,!1)),(d?Promise.resolve(d):C(l,o)).catch((e=>Wn(e)?e:j(e))).then((e=>{if(e){if(Wn(e,2))return E(bn(g(e.to),{state:s,force:a,replace:i}),t||l)}else e=R(l,o,!0,i,s);return T(l,o,e),e}))}function O(e,t){const n=v(e,t);return n?Promise.reject(n):Promise.resolve()}function C(e,t){let n;const[o,r,s]=function(e,t){const n=[],o=[],r=[],s=Math.max(t.matched.length,e.matched.length);for(let a=0;a{n.push(Bo(o,e,t))}));const c=O.bind(null,e,t);return n.push(c),Mo(n).then((()=>{n=[];for(const o of a.list())n.push(Bo(o,e,t));return n.push(c),Mo(n)})).then((()=>{n=Io(r,"beforeRouteUpdate",e,t);for(const o of r)o.updateGuards.forEach((o=>{n.push(Bo(o,e,t))}));return n.push(c),Mo(n)})).then((()=>{n=[];for(const o of e.matched)if(o.beforeEnter&&t.matched.indexOf(o)<0)if(Array.isArray(o.beforeEnter))for(const r of o.beforeEnter)n.push(Bo(r,e,t));else n.push(Bo(o.beforeEnter,e,t));return n.push(c),Mo(n)})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),n=Io(s,"beforeRouteEnter",e,t),n.push(c),Mo(n)))).then((()=>{n=[];for(const o of i.list())n.push(Bo(o,e,t));return n.push(c),Mo(n)})).catch((e=>Wn(e,8)?e:Promise.reject(e)))}function T(e,t,n){for(const o of c.list())o(e,t,n)}function R(e,t,n,o,r){const a=v(e,t);if(a)return a;const i=t===zn,c=yn?history.state:{};n&&(o||i?s.replace(e.fullPath,bn({scroll:i&&c&&c.scroll},r)):s.push(e.fullPath,r)),u.value=e,I(e,t,n,i),B()}let S;function _(){S=s.listen(((e,t,n)=>{let o=m(e);const r=w(o);if(r)return void E(bn(r,{replace:!0}),o).catch(En);f=o;const a=u.value;var i,c;yn&&(i=$n(a.fullPath,n.delta),c=kn(),Un.set(i,c)),C(o,a).catch((e=>Wn(e,12)?e:Wn(e,2)?(E(e.to,o).catch(En),Promise.reject()):(n.delta&&s.go(-n.delta,!1),j(e)))).then((e=>{(e=e||R(o,a,!1))&&n.delta&&s.go(-n.delta,!1),T(o,a,e)})).catch(En)}))}let A,x=jo(),P=jo();function j(e){return B(e),P.list().forEach((t=>t(e))),Promise.reject(e)}function B(e){A||(A=!0,_(),x.list().forEach((([t,n])=>e?n(e):t())),x.reset())}function I(t,n,o,r){const{scrollBehavior:s}=e;if(!yn||!s)return Promise.resolve();let a=!o&&function(e){const t=Un.get(e);return Un.delete(e),t}($n(t.fullPath,0))||(r||!o)&&history.state&&history.state.scroll||null;return L().then((()=>s(t,n,a))).then((e=>e&&Nn(e))).catch(j)}const D=e=>s.go(e);let k;const N=new Set;return{currentRoute:u,addRoute:function(e,t){let o,r;return Vn(e)?(o=n.getRecordMatcher(e),r=t):r=e,n.addRoute(r,o)},removeRoute:function(e){let t=n.getRecordMatcher(e);t&&n.removeRoute(t)},hasRoute:function(e){return!!n.getRecordMatcher(e)},getRoutes:function(){return n.getRoutes().map((e=>e.record))},resolve:m,options:e,push:b,replace:function(e){return b(bn(g(e),{replace:!0}))},go:D,back:()=>D(-1),forward:()=>D(1),beforeEach:a.add,beforeResolve:i.add,afterEach:c.add,onError:P.add,isReady:function(){return A&&u.value!==zn?Promise.resolve():new Promise(((e,t)=>{x.add([e,t])}))},install(e){e.component("RouterLink",Lo),e.component("RouterView",Uo),e.config.globalProperties.$router=this,Object.defineProperty(e.config.globalProperties,"$route",{get:()=>y(u)}),yn&&!k&&u.value===zn&&(k=!0,b(s.location).catch((e=>{})));const n={};for(let r in zn)n[r]=t((()=>u.value[r]));e.provide(mn,this),e.provide(gn,l(n)),e.provide(vn,u);let o=e.unmount;N.add(e),e.unmount=function(){N.delete(e),N.size<1&&(S(),u.value=zn,k=!1,A=!1),o.call(this,arguments)}}}}({history:((Qo=location.host?Qo||location.pathname+location.search:"").indexOf("#")<0&&(Qo+="#"),Hn(Qo)),routes:Wo,scrollBehavior:(e,t,n)=>n||(e.hash?{el:e.hash,behavior:"smooth"}:{left:0,top:0})});var Qo;V.configure({showSpinner:!1});let Zo={install:function(e){e.directive("highlight",{mounted:function(e){e.querySelectorAll("pre code").forEach((e=>{var t,n;null==(n=null==(t=null==window?void 0:window.hljs)?void 0:t.highlightBlock)||n.call(t,e)}))}})}};const er=F();q("data-v-f327bc66");const tr={key:0,class:"loading-container"},nr={class:"text-info"},or=S("div",{class:"balls"},[S("div"),S("div"),S("div")],-1);H();var rr=g({expose:[],props:{info:String,color:String,infoSize:String,loading:Boolean,padding:String},setup(e){var t,n,o,r;const s=e;z((e=>({"4d29237e":a.color,"767083d4":a.infoSize,"3ec5956c":a.padding})));const a=reactive({info:null!=(t=s.info)?t:"努力加载中",color:null!=(n=s.color)?n:"#888",infoSize:null!=(o=s.infoSize)?o:"1rem",loading:s.loading,padding:null!=(r=s.padding)?r:"30px 0"}),i=computed((()=>s.loading));return er(((e,t)=>y(i)?(b(),w("div",tr,[S("div",nr,x(a.info),1),or])):R("",!0)))}});rr.__scopeId="data-v-f327bc66";let sr={install:function(e){e.component("LoadingBall",rr)}};const ar=F();var ir=g({expose:[],props:{size:String,src:String,scale:Number},setup(e){const t=e;z((e=>({aa0c0ed6:t.size,"977bf994":t.scale})));const n=computed((()=>{var e;return null!=(e=t.src)?e:"https://happysooner.com/api/v1/tools/ident-icon?key=happy"}));return ar(((e,t)=>(b(),w("img",{alt:"avatar",src:y(n),key:y(n)},null,8,["src"]))))}});ir.__scopeId="data-v-7892bead";let cr={install:function(e){e.component("Avatar",ir)}};var ur;(ur=Yo).beforeEach(((e,t,n)=>{V.start(),console.log("from:",t.fullPath,"---\x3e",e.fullPath),n()})),ur.afterEach((()=>{V.done()}));const lr={position:xe.TOP_CENTER,timeout:2e3,newestOnTop:!0,transition:"Vue-Toastification__fade"},fr=(()=>{const e=[],t={install(e){e.config.globalProperties.$head=t,e.provide("_vue_use_head_",t)},headTags:e,addHeadTags(t){t.forEach((t=>{if("meta"===t.tag||"base"===t.tag){const o=void 0!==(n=t.props).key?{name:"key",value:n.key}:void 0!==n.name?{name:"name",value:n.name}:void 0!==n.property?{name:"property",value:n.property}:void 0;if(o){let n=-1;for(let r=0;r{const n=e.indexOf(t);-1!==n&&e.splice(n,1)}))},updateDOM(t){((e,t=window.document)=>{const n=t.head;let o=n.querySelector('meta[name="head:count"]');const r=o?Number(o.getAttribute("content")):0,s=[];if(o)for(let l=0,f=o.previousElementSibling;l{e.remove()})),void 0!==i&&(t.title=i),K(t.documentElement,c),K(t.body,u),a.forEach((e=>{n.insertBefore(e,o)})),o.setAttribute("content",""+a.length)})(e,t)}};return t})(),dr=function(){const e=a(!0),t=e.run((()=>n({})));let o=[];const r=[],s=i({install(e){s._a=e,e.provide(ee,s),e.config.globalProperties.$pinia=s,re&&Z(s),r.forEach((e=>o.push(e)))},use(e){return this._a||c?o.push(e):r.push(e),this},_p:o,_a:null,_e:e,_s:new Map,state:t});return s}();dr.use((({store:e})=>{e.$subscribe((e=>{console.log("store state changed",e)})),e.$onAction((e=>{console.log("store action fired",e)}))})),k(Go).use(dr).use(((e,t)=>{const n=at(Object.assign({eventBus:ct},t));e.provide(it,n)}),lr).use(fr).use(Yo).use(Zo).use(sr).use(cr).mount("#vue-next");export{en as G,on as P,Yt as S,tn as U,Y as a,Fo as b,ut as c,rn as d,an as e,cn as f,un as g,nn as h,sn as i,ln as u}; diff --git a/assets/index.vue_vue&type=style&index=0&lang-legacy.895d60fd.js b/assets/index.vue_vue&type=style&index=0&lang-legacy.895d60fd.js new file mode 100644 index 0000000..0564f59 --- /dev/null +++ b/assets/index.vue_vue&type=style&index=0&lang-legacy.895d60fd.js @@ -0,0 +1 @@ +var __vite_style__=document.createElement("style");__vite_style__.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]{font-size:14px}.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(0,0) rotate(0) scale(1)}10%{-webkit-transform:translate(-1px,-2px) rotate(-1deg) scale(1.1)}20%{-webkit-transform:translate(-3px,0) rotate(1deg) scale(1.2)}30%{-webkit-transform:translate(0,2px) rotate(0) 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(0) 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(0) scale(1.1)}100%{-webkit-transform:translate(0,0) rotate(-1deg) scale(1)}}.main-container{min-height:calc(100vh - 80px)}.sticky-container{padding:0 5%;background:rgba(255,255,255)}.default-layout-container{padding:0 5%}@media screen and (min-width:1200px){.default-layout-container,.sticky-container{padding:0 15%}}.main-container{min-height:calc(100vh - 80px)}",document.head.appendChild(__vite_style__),System.register(["./index-legacy.fe24d0c9.js","./vendor-legacy.73e5f43f.js"],(function(e){"use strict";var a,t,n,r,i,s,o,l,c,d,f,u,p,v,m,h;return{setters:[function(e){a=e.b,t=e.u},function(e){n=e.k,r=e.x,i=e.n,s=e.p,o=e.z,l=e.B,c=e.u,d=e.N,f=e.O,u=e.A,p=e.P,v=e.S,m=e.G,h=e.F}],execute:function(){var x=d();f("data-v-e7338c34");var y={class:"happy-header-container"},g={class:"happy-header-wrapper"},k={class:"title-container"},b={class:"brief"},w={class:"tools-container"},_={key:0,class:"tools-user user-center"},F={key:1,class:"tools-user user-action-btn"},z=u("登录/注册");p();var M=n({expose:[],props:{title:{type:String,required:!0},brief:{type:String}},setup:function(e){var n=e,d=a(),f=function(){d.push("/")},u=t();computed((function(){var e,a;return!(null==(e=u.User)||null==(a=e.Roles)||!a.find((function(e){return"Author"==e.Title})))}));var p=computed((function(){var e;return null!=(e=u.User.Id)?e:0})),v=computed((function(){var e;return null!=(e=u.User.Avatar)?e:""})),m=n.title,h=n.brief;return x((function(e,a){var t=r("Avatar"),n=r("router-link");return i(),s("header",y,[o("div",g,[o("div",k,[o("div",{class:"title",onClick:f},l(c(m)),1),o("div",b,l(c(h)),1)]),o("div",w,[c(p)>0?(i(),s("span",_,[o(n,{to:"/users/"+c(p)},{default:x((function(){return[o(t,{src:c(v),size:"40px"},null,8,["src"])]})),_:1},8,["to"])])):(i(),s("span",F,[o(n,{to:"/signin"},{default:x((function(){return[z]})),_:1})]))])])])}))}});M.__scopeId="data-v-e7338c34";var j=d();f("data-v-767f7aee");var I={class:"footer-container"},A={class:"footer-info content-limit-three"},S=o("a",{href:"//www.beian.miit.gov.cn/",target:"_blank",class:"icp-link",rel:"nofollow"},"粤ICP备20013375号-1",-1),T=o("div",null,"本网站不保证网站内容更新完全跟得上时代潮流,请自行求证。",-1),U={class:"site-status"},C=u(" 本网站已坚持用 "),O=o("span",{class:"my-shake"},"❤️",-1),D=u("发 "),G=o("span",{class:"my-shake"},"⚡",-1),P=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),q=o("div",null,"本网站的作者头发还剩下挺多的。",-1),B={class:"footer-info"},E={class:"site-link"},H=u("关于本站"),L=u("随机阅读"),N=o("span",null,[o("a",{href:"https://github.com/unliar/vue3-ts-happysooner-web"},"本站源码")],-1),R=o("span",null,[o("a",{href:"https://t.me/happy_naive"},"TG频道")],-1),Y=v('',1);p();var $=n({expose:[],setup:function(e){var a,t=ref("2021"),n=reactive({day:0,hour:0,min:0,sec:0});return onMounted((function(){var e=(new Date).getFullYear();t.value=""+e,a=setInterval((function(){var e=Date.now(),a=Math.floor((e-15671808e5)/1e3),t=Math.floor(a/60/60/24),r=Math.floor(a/60/60)%24,i=Math.floor(a/60)%60,s=Math.floor(a%60);n.day=t,n.hour=r,n.min=i,n.sec=s}))})),onUnmounted((function(){clearInterval(a)})),j((function(e,a){var c=r("router-link");return i(),s("footer",I,[o("div",A,[o("div",null,[u(" © 2019 - "+l(t.value)+" 远浅 ",1),S]),T,o("div",U,[C,O,D,G,u(" 运行了 "+l(n.day)+"天"+l(n.hour)+"小时 "+l(n.min)+"分"+l(n.sec)+"秒。 ",1),P]),q]),o("div",B,[o("div",E,[o("span",null,[o(c,{to:"/about"},{default:j((function(){return[H]})),_:1})]),o("span",null,[o(c,{to:"/daily-articles"},{default:j((function(){return[L]})),_:1})]),N,R]),Y])])}))}});$.__scopeId="data-v-767f7aee";var J={class:"main-container"},K={class:"sticky-container"},Q={class:"default-layout-container"};e("_",n({expose:[],setup:function(e){return function(e,a){return i(),s(h,null,[o("div",J,[o("div",K,[o(M,{title:"远浅",brief:"理解他人,内省自己。"})]),o("div",Q,[m(e.$slots,"default")])]),o($)],64)}}}))}}})); diff --git a/assets/index.vue_vue&type=style&index=0&lang-legacy.ec660a35.js b/assets/index.vue_vue&type=style&index=0&lang-legacy.ec660a35.js deleted file mode 100644 index 95f2737..0000000 --- a/assets/index.vue_vue&type=style&index=0&lang-legacy.ec660a35.js +++ /dev/null @@ -1 +0,0 @@ -var __vite_style__=document.createElement("style");__vite_style__.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]{font-size:14px}.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-c949bfb0]{display:flex;align-items:center;flex-wrap:wrap}.footer-container[data-v-c949bfb0]{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-c949bfb0]{padding:10px 15%}}.footer-info[data-v-c949bfb0]{padding:5px}.daily-read[data-v-c949bfb0]{padding:0 2px;color:#6a6a6a}.icp-link[data-v-c949bfb0]{color:#999}a[data-v-c949bfb0]{color:#6a6a6a;display:inline-block}.friend-link a[data-v-c949bfb0]{padding:0 2px}.site-link span[data-v-c949bfb0]{width:60px}.site-link[data-v-c949bfb0]{display:flex}sub[data-v-c949bfb0]{font-size:12px}.my-shake[data-v-c949bfb0]{animation:my-face-c949bfb0 1.5s infinite ease;display:inline-block;margin:0 1px}@keyframes my-face-c949bfb0{0%{-webkit-transform:translate(0,0) rotate(0) scale(1)}10%{-webkit-transform:translate(-1px,-2px) rotate(-1deg) scale(1.1)}20%{-webkit-transform:translate(-3px,0) rotate(1deg) scale(1.2)}30%{-webkit-transform:translate(0,2px) rotate(0) 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(0) 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(0) scale(1.1)}100%{-webkit-transform:translate(0,0) rotate(-1deg) scale(1)}}.main-container{min-height:calc(100vh - 80px)}.sticky-container{padding:0 5%;background:rgba(255,255,255)}.default-layout-container{padding:0 5%}@media screen and (min-width:1200px){.default-layout-container,.sticky-container{padding:0 15%}}.main-container{min-height:calc(100vh - 80px)}",document.head.appendChild(__vite_style__),System.register(["./index-legacy.6cec1b28.js","./vendor-legacy.73e5f43f.js"],(function(t){"use strict";var a,e,n,r,i,s,o,l,c,d,f,u,p,b,v,m;return{setters:[function(t){a=t.b,e=t.u},function(t){n=t.k,r=t.x,i=t.n,s=t.p,o=t.z,l=t.B,c=t.u,d=t.N,f=t.O,u=t.A,p=t.P,b=t.S,v=t.G,m=t.F}],execute:function(){var h=d();f("data-v-e7338c34");var x={class:"happy-header-container"},y={class:"happy-header-wrapper"},g={class:"title-container"},k={class:"brief"},w={class:"tools-container"},_={key:0,class:"tools-user user-center"},F={key:1,class:"tools-user user-action-btn"},z=u("登录/注册");p();var M=n({expose:[],props:{title:{type:String,required:!0},brief:{type:String}},setup:function(t){var n=t,d=a(),f=function(){d.push("/")},u=e();computed((function(){var t,a;return!(null==(t=u.User)||null==(a=t.Roles)||!a.find((function(t){return"Author"==t.Title})))}));var p=computed((function(){var t;return null!=(t=u.User.Id)?t:0})),b=computed((function(){var t;return null!=(t=u.User.Avatar)?t:""})),v=n.title,m=n.brief;return h((function(t,a){var e=r("Avatar"),n=r("router-link");return i(),s("header",x,[o("div",y,[o("div",g,[o("div",{class:"title",onClick:f},l(c(v)),1),o("div",k,l(c(m)),1)]),o("div",w,[c(p)>0?(i(),s("span",_,[o(n,{to:"/users/"+c(p)},{default:h((function(){return[o(e,{src:c(b),size:"40px"},null,8,["src"])]})),_:1},8,["to"])])):(i(),s("span",F,[o(n,{to:"/signin"},{default:h((function(){return[z]})),_:1})]))])])])}))}});M.__scopeId="data-v-e7338c34";var j=d();f("data-v-c949bfb0");var I={class:"footer-container"},A={class:"footer-info content-limit-three"},S=o("a",{href:"//www.beian.miit.gov.cn/",target:"_blank",class:"icp-link",rel:"nofollow"},"粤ICP备20013375号-1",-1),U=o("div",null,"本网站不保证网站内容更新完全跟得上时代潮流,请自行求证。",-1),C={class:"site-status"},O=u(" 本网站已坚持用 "),T=o("span",{class:"my-shake"},"❤️",-1),D=u("发 "),P=o("span",{class:"my-shake"},"⚡",-1),q=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),B=o("div",null,"本网站的作者头发还剩下挺多的。",-1),E={class:"footer-info"},G={class:"site-link"},H=u("关于本站"),L=u("随机阅读"),N=o("span",null,[o("a",{href:"https://github.com/unliar/vue3-ts-happysooner-web"},"本站源码")],-1),R=b('',1);p();var Y=n({expose:[],setup:function(t){var a,e=ref("2021"),n=reactive({day:0,hour:0,min:0,sec:0});return onMounted((function(){var t=(new Date).getFullYear();e.value=""+t,a=setInterval((function(){var t=Date.now(),a=Math.floor((t-15671808e5)/1e3),e=Math.floor(a/60/60/24),r=Math.floor(a/60/60)%24,i=Math.floor(a/60)%60,s=Math.floor(a%60);n.day=e,n.hour=r,n.min=i,n.sec=s}))})),onUnmounted((function(){clearInterval(a)})),j((function(t,a){var c=r("router-link");return i(),s("footer",I,[o("div",A,[o("div",null,[u(" © 2019 - "+l(e.value)+" 远浅 ",1),S]),U,o("div",C,[O,T,D,P,u(" 运行了 "+l(n.day)+"天"+l(n.hour)+"小时 "+l(n.min)+"分"+l(n.sec)+"秒。 ",1),q]),B]),o("div",E,[o("div",G,[o("span",null,[o(c,{to:"/about"},{default:j((function(){return[H]})),_:1})]),o("span",null,[o(c,{to:"/daily-articles"},{default:j((function(){return[L]})),_:1})]),N]),R])])}))}});Y.__scopeId="data-v-c949bfb0";var $={class:"main-container"},J={class:"sticky-container"},K={class:"default-layout-container"};t("_",n({expose:[],setup:function(t){return function(t,a){return i(),s(m,null,[o("div",$,[o("div",J,[o(M,{title:"远浅",brief:"理解他人,内省自己。"})]),o("div",K,[v(t.$slots,"default")])]),o(Y)],64)}}}))}}})); diff --git a/assets/index.vue_vue&type=style&index=0&lang.593a7d4c.css b/assets/index.vue_vue&type=style&index=0&lang.2b842553.css similarity index 68% rename from assets/index.vue_vue&type=style&index=0&lang.593a7d4c.css rename to assets/index.vue_vue&type=style&index=0&lang.2b842553.css index 90ed04d..b1895c7 100644 --- a/assets/index.vue_vue&type=style&index=0&lang.593a7d4c.css +++ b/assets/index.vue_vue&type=style&index=0&lang.2b842553.css @@ -1 +1 @@ -.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]{font-size:14px}.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-c949bfb0]{display:flex;align-items:center;flex-wrap:wrap}.footer-container[data-v-c949bfb0]{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-c949bfb0]{padding:10px 15%}}.footer-info[data-v-c949bfb0]{padding:5px}.daily-read[data-v-c949bfb0]{padding:0 2px;color:#6a6a6a}.icp-link[data-v-c949bfb0]{color:#999}a[data-v-c949bfb0]{color:#6a6a6a;display:inline-block}.friend-link a[data-v-c949bfb0]{padding:0 2px}.site-link span[data-v-c949bfb0]{width:60px}.site-link[data-v-c949bfb0]{display:flex}sub[data-v-c949bfb0]{font-size:12px}.my-shake[data-v-c949bfb0]{animation:my-face-c949bfb0 1.5s infinite ease;display:inline-block;margin:0 1px}@keyframes my-face-c949bfb0{0%{-webkit-transform:translate(0,0) rotate(0) scale(1)}10%{-webkit-transform:translate(-1px,-2px) rotate(-1deg) scale(1.1)}20%{-webkit-transform:translate(-3px,0) rotate(1deg) scale(1.2)}30%{-webkit-transform:translate(0,2px) rotate(0) 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(0) 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(0) scale(1.1)}100%{-webkit-transform:translate(0,0) rotate(-1deg) scale(1)}}.main-container{min-height:calc(100vh - 80px)}.sticky-container{padding:0 5%;background:rgba(255,255,255)}.default-layout-container{padding:0 5%}@media screen and (min-width:1200px){.default-layout-container,.sticky-container{padding:0 15%}}.main-container{min-height:calc(100vh - 80px)} \ No newline at end of file +.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]{font-size:14px}.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(0,0) rotate(0) scale(1)}10%{-webkit-transform:translate(-1px,-2px) rotate(-1deg) scale(1.1)}20%{-webkit-transform:translate(-3px,0) rotate(1deg) scale(1.2)}30%{-webkit-transform:translate(0,2px) rotate(0) 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(0) 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(0) scale(1.1)}100%{-webkit-transform:translate(0,0) rotate(-1deg) scale(1)}}.main-container{min-height:calc(100vh - 80px)}.sticky-container{padding:0 5%;background:rgba(255,255,255)}.default-layout-container{padding:0 5%}@media screen and (min-width:1200px){.default-layout-container,.sticky-container{padding:0 15%}}.main-container{min-height:calc(100vh - 80px)} \ No newline at end of file diff --git a/assets/index.vue_vue&type=style&index=0&lang.401498f5.js b/assets/index.vue_vue&type=style&index=0&lang.401498f5.js new file mode 100644 index 0000000..acb8eb1 --- /dev/null +++ b/assets/index.vue_vue&type=style&index=0&lang.401498f5.js @@ -0,0 +1 @@ +import{b as a,u as e}from"./index.e61a2594.js";import{k as t,x as s,n,p as r,z as o,B as l,u as i,N as c,O as u,A as d,P as p,S as v,G as f,F as h}from"./vendor.18b3a30d.js";const m=c();u("data-v-e7338c34");const y={class:"happy-header-container"},b={class:"happy-header-wrapper"},k={class:"title-container"},g={class:"brief"},w={class:"tools-container"},_={key:0,class:"tools-user user-center"},F={key:1,class:"tools-user user-action-btn"},x=d("登录/注册");p();var I=t({expose:[],props:{title:{type:String,required:!0},brief:{type:String}},setup(t){const c=t,u=a(),d=()=>{u.push("/")},p=e();computed((()=>{var a,e;return!!(null==(e=null==(a=p.User)?void 0:a.Roles)?void 0:e.find((a=>"Author"==a.Title)))}));const v=computed((()=>{var a;return null!=(a=p.User.Id)?a:0})),f=computed((()=>{var a;return null!=(a=p.User.Avatar)?a:""})),h=c.title,I=c.brief;return m(((a,e)=>{const t=s("Avatar"),c=s("router-link");return n(),r("header",y,[o("div",b,[o("div",k,[o("div",{class:"title",onClick:d},l(i(h)),1),o("div",g,l(i(I)),1)]),o("div",w,[i(v)>0?(n(),r("span",_,[o(c,{to:`/users/${i(v)}`},{default:m((()=>[o(t,{src:i(f),size:"40px"},null,8,["src"])])),_:1},8,["to"])])):(n(),r("span",F,[o(c,{to:"/signin"},{default:m((()=>[x])),_:1})]))])])])}))}});I.__scopeId="data-v-e7338c34";const M=c();u("data-v-767f7aee");const A={class:"footer-container"},z={class:"footer-info content-limit-three"},U=o("a",{href:"//www.beian.miit.gov.cn/",target:"_blank",class:"icp-link",rel:"nofollow"},"粤ICP备20013375号-1",-1),j=o("div",null,"本网站不保证网站内容更新完全跟得上时代潮流,请自行求证。",-1),O={class:"site-status"},S=d(" 本网站已坚持用 "),T=o("span",{class:"my-shake"},"❤️",-1),$=d("发 "),C=o("span",{class:"my-shake"},"⚡",-1),D=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),G=o("div",null,"本网站的作者头发还剩下挺多的。",-1),P={class:"footer-info"},q={class:"site-link"},B=d("关于本站"),N=d("随机阅读"),R=o("span",null,[o("a",{href:"https://github.com/unliar/vue3-ts-happysooner-web"},"本站源码")],-1),Y=o("span",null,[o("a",{href:"https://t.me/happy_naive"},"TG频道")],-1),E=v('',1);p();var H=t({expose:[],setup(a){const e=ref("2021"),t=reactive({day:0,hour:0,min:0,sec:0});let i;return onMounted((()=>{const a=(new Date).getFullYear();e.value=`${a}`,i=setInterval((()=>{const a=Date.now(),e=Math.floor((a-15671808e5)/1e3),s=Math.floor(e/60/60/24),n=Math.floor(e/60/60)%24,r=Math.floor(e/60)%60,o=Math.floor(e%60);t.day=s,t.hour=n,t.min=r,t.sec=o}))})),onUnmounted((()=>{clearInterval(i)})),M(((a,i)=>{const c=s("router-link");return n(),r("footer",A,[o("div",z,[o("div",null,[d(" © 2019 - "+l(e.value)+" 远浅 ",1),U]),j,o("div",O,[S,T,$,C,d(" 运行了 "+l(t.day)+"天"+l(t.hour)+"小时 "+l(t.min)+"分"+l(t.sec)+"秒。 ",1),D]),G]),o("div",P,[o("div",q,[o("span",null,[o(c,{to:"/about"},{default:M((()=>[B])),_:1})]),o("span",null,[o(c,{to:"/daily-articles"},{default:M((()=>[N])),_:1})]),R,Y]),E])])}))}});H.__scopeId="data-v-767f7aee";const J={class:"main-container"},K={class:"sticky-container"},L={class:"default-layout-container"};var Q=t({expose:[],setup:a=>(a,e)=>(n(),r(h,null,[o("div",J,[o("div",K,[o(I,{title:"远浅",brief:"理解他人,内省自己。"})]),o("div",L,[f(a.$slots,"default")])]),o(H)],64))});export{Q as _}; diff --git a/assets/index.vue_vue&type=style&index=0&lang.d6191442.js b/assets/index.vue_vue&type=style&index=0&lang.d6191442.js deleted file mode 100644 index 566c967..0000000 --- a/assets/index.vue_vue&type=style&index=0&lang.d6191442.js +++ /dev/null @@ -1 +0,0 @@ -import{b as a,u as t}from"./index.7b8df9f4.js";import{k as e,x as s,n as r,p as n,z as o,B as l,u as i,N as c,O as u,A as d,P as p,S as v,G as f,F as h}from"./vendor.18b3a30d.js";const b=c();u("data-v-e7338c34");const m={class:"happy-header-container"},y={class:"happy-header-wrapper"},k={class:"title-container"},g={class:"brief"},w={class:"tools-container"},_={key:0,class:"tools-user user-center"},F={key:1,class:"tools-user user-action-btn"},x=d("登录/注册");p();var I=e({expose:[],props:{title:{type:String,required:!0},brief:{type:String}},setup(e){const c=e,u=a(),d=()=>{u.push("/")},p=t();computed((()=>{var a,t;return!!(null==(t=null==(a=p.User)?void 0:a.Roles)?void 0:t.find((a=>"Author"==a.Title)))}));const v=computed((()=>{var a;return null!=(a=p.User.Id)?a:0})),f=computed((()=>{var a;return null!=(a=p.User.Avatar)?a:""})),h=c.title,I=c.brief;return b(((a,t)=>{const e=s("Avatar"),c=s("router-link");return r(),n("header",m,[o("div",y,[o("div",k,[o("div",{class:"title",onClick:d},l(i(h)),1),o("div",g,l(i(I)),1)]),o("div",w,[i(v)>0?(r(),n("span",_,[o(c,{to:`/users/${i(v)}`},{default:b((()=>[o(e,{src:i(f),size:"40px"},null,8,["src"])])),_:1},8,["to"])])):(r(),n("span",F,[o(c,{to:"/signin"},{default:b((()=>[x])),_:1})]))])])])}))}});I.__scopeId="data-v-e7338c34";const M=c();u("data-v-c949bfb0");const A={class:"footer-container"},z={class:"footer-info content-limit-three"},U=o("a",{href:"//www.beian.miit.gov.cn/",target:"_blank",class:"icp-link",rel:"nofollow"},"粤ICP备20013375号-1",-1),j=o("div",null,"本网站不保证网站内容更新完全跟得上时代潮流,请自行求证。",-1),O={class:"site-status"},S=d(" 本网站已坚持用 "),$=o("span",{class:"my-shake"},"❤️",-1),C=d("发 "),D=o("span",{class:"my-shake"},"⚡",-1),P=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),T=o("div",null,"本网站的作者头发还剩下挺多的。",-1),q={class:"footer-info"},B={class:"site-link"},G=d("关于本站"),N=d("随机阅读"),R=o("span",null,[o("a",{href:"https://github.com/unliar/vue3-ts-happysooner-web"},"本站源码")],-1),Y=v('',1);p();var E=e({expose:[],setup(a){const t=ref("2021"),e=reactive({day:0,hour:0,min:0,sec:0});let i;return onMounted((()=>{const a=(new Date).getFullYear();t.value=`${a}`,i=setInterval((()=>{const a=Date.now(),t=Math.floor((a-15671808e5)/1e3),s=Math.floor(t/60/60/24),r=Math.floor(t/60/60)%24,n=Math.floor(t/60)%60,o=Math.floor(t%60);e.day=s,e.hour=r,e.min=n,e.sec=o}))})),onUnmounted((()=>{clearInterval(i)})),M(((a,i)=>{const c=s("router-link");return r(),n("footer",A,[o("div",z,[o("div",null,[d(" © 2019 - "+l(t.value)+" 远浅 ",1),U]),j,o("div",O,[S,$,C,D,d(" 运行了 "+l(e.day)+"天"+l(e.hour)+"小时 "+l(e.min)+"分"+l(e.sec)+"秒。 ",1),P]),T]),o("div",q,[o("div",B,[o("span",null,[o(c,{to:"/about"},{default:M((()=>[G])),_:1})]),o("span",null,[o(c,{to:"/daily-articles"},{default:M((()=>[N])),_:1})]),R]),Y])])}))}});E.__scopeId="data-v-c949bfb0";const H={class:"main-container"},J={class:"sticky-container"},K={class:"default-layout-container"};var L=e({expose:[],setup:a=>(a,t)=>(r(),n(h,null,[o("div",H,[o("div",J,[o(I,{title:"远浅",brief:"理解他人,内省自己。"})]),o("div",K,[f(a.$slots,"default")])]),o(E)],64))});export{L as _}; diff --git a/assets/pid-legacy.0f92b42f.js b/assets/pid-legacy.9d87ff6a.js similarity index 99% rename from assets/pid-legacy.0f92b42f.js rename to assets/pid-legacy.9d87ff6a.js index b05df42..23365e5 100644 --- a/assets/pid-legacy.0f92b42f.js +++ b/assets/pid-legacy.9d87ff6a.js @@ -1 +1 @@ -import"core-js/modules/es.array.from.js";import"core-js/modules/es.string.iterator.js";import"core-js/modules/es.symbol.iterator.js";import"core-js/modules/es.array.iterator.js";import"core-js/modules/web.dom-collections.iterator.js";function _createForOfIteratorHelperLoose(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=e[Symbol.iterator]()).next.bind(r)}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},M=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,B={};function N(e,t,r){var n,o,s,i,a,l="";for("string"!=typeof t&&(r=t,t=N.defaultChars),void 0===r&&(r=!0),a=function(e){var t,r,n=B[e];if(n)return n;for(n=B[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),/^[0-9a-z]$/i.test(r)?n.push(r):n.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&n+1=56320&&i<=57343){l+=encodeURIComponent(e[n]+e[n+1]),n++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[n]);return l}N.defaultChars=";/?:@&=+$,-_.!~*'()#",N.componentChars="-_.!~*'()";var P=N,j={};function O(e,t){var r;return"string"!=typeof t&&(t=O.defaultChars),r=function(e){var t,r,n=j[e];if(n)return n;for(n=j[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),n.push(r);for(t=0;t=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&o)&&t+91114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c}))}O.defaultChars=";/?:@&=+$,#",O.componentChars="";var U=O;function V(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var Z=/^([a-z0-9.+-]+:)/i,H=/:[0-9]*$/,$=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,G=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),J=["'"].concat(G),W=["%","/","?",";","#"].concat(J),Y=["/","?","#"],K=/^[+a-z0-9A-Z_-]{0,63}$/,Q=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,X={javascript:!0,"javascript:":!0},ee={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};V.prototype.parse=function(e,t){var r,n,o,s,i,a=e;if(a=a.trim(),!t&&1===e.split("#").length){var l=$.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=Z.exec(a);if(c&&(o=(c=c[0]).toLowerCase(),this.protocol=c,a=a.substr(c.length)),(t||c||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(i="//"===a.substr(0,2))||c&&X[c]||(a=a.substr(2),this.slashes=!0)),!X[c]&&(i||c&&!ee[c])){var u,p,h=-1;for(r=0;r127?_+="x":_+=g[b];if(!_.match(K)){var k=m.slice(0,r),y=m.slice(r+1),C=g.match(Q);C&&(k.push(C[1]),y.unshift(C[2])),y.length&&(a=y.join(".")+a),this.hostname=k.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),f&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var x=a.indexOf("#");-1!==x&&(this.hash=a.substr(x),a=a.slice(0,x));var A=a.indexOf("?");return-1!==A&&(this.search=a.substr(A),a=a.slice(0,A)),a&&(this.pathname=a),ee[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this},V.prototype.parseHost=function(e){var t=H.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var te={encode:P,decode:U,format:function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""},parse:function(e,t){if(e&&e instanceof V)return e;var r=new V;return r.parse(e,t),r}},re=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ne=/[\0-\x1F\x7F-\x9F]/,oe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,se={Any:re,Cc:ne,Cf:/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,P:M,Z:oe},ie=t((function(e,t){var r=Object.prototype.hasOwnProperty;function n(e,t){return r.call(e,t)}function o(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function s(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}var i=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,a=new RegExp(i.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;var c=/[&<>"]/,u=/[&<>"]/g,p={"&":"&","<":"<",">":">",'"':"""};function h(e){return p[e]}var d=/[.?*+^$[\]\\(){}|-]/g;t.lib={},t.lib.mdurl=te,t.lib.ucmicro=se,t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(r){e[r]=t[r]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=n,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(i,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(a,(function(e,t,r){return t||function(e,t){var r=0;return n(R,t)?R[t]:35===t.charCodeAt(0)&&l.test(t)&&o(r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?s(r):e}(e,r)}))},t.isValidEntityCode=o,t.fromCodePoint=s,t.escapeHtml=function(e){return c.test(e)?e.replace(u,h):e},t.arrayReplaceAt=function(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return M.test(e)},t.escapeRE=function(e){return e.replace(d,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}})),ae=ie.unescapeAll,le=ie.unescapeAll,ce={parseLinkLabel:function(e,t,r){var n,o,s,i,a=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,n=1;e.pos32)return i;if(41===n){if(0===o)break;o--}t++}return s===t||0!==o||(i.str=ae(e.slice(s,t)),i.lines=0,i.pos=t,i.ok=!0),i},parseLinkTitle:function(e,t,r){var n,o,s=0,i=t,a={ok:!1,pos:0,lines:0,str:""};if(t>=r)return a;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return a;for(t++,40===o&&(o=41);t"+he(e[t].content)+""},de.code_block=function(e,t,r,n,o){var s=e[t];return""+he(e[t].content)+"\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(""+s+"\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?"
\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\n":">")},fe.prototype.renderInline=function(e,t,r){for(var n,o="",s=this.rules,i=0,a=e.length;i/i.test(e)}var Ce=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,xe=/\((c|tm|r|p)\)/i,Ae=/\((c|tm|r|p)\)/gi,we={c:"©",r:"®",p:"§",tm:"™"};function De(e,t){return we[t.toLowerCase()]}function Ee(e){var t,r,n=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||n||(r.content=r.content.replace(Ae,De)),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}function qe(e){var t,r,n=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||n||Ce.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}var Se=ie.isWhiteSpace,Fe=ie.isPunctChar,Le=ie.isMdAsciiPunct,ze=/['"]/,Ie=/['"]/g;function Te(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}function Re(e,t){var r,n,o,s,i,a,l,c,u,p,h,d,f,m,g,_,b,v,k,y,C;for(k=[],r=0;r=0&&!(k[b].level<=l);b--);if(k.length=b+1,"text"===n.type){i=0,a=(o=n.content).length;e:for(;i=0)u=o.charCodeAt(s.index-1);else for(b=r-1;b>=0&&("softbreak"!==e[b].type&&"hardbreak"!==e[b].type);b--)if(e[b].content){u=e[b].content.charCodeAt(e[b].content.length-1);break}if(p=32,i=48&&u<=57&&(_=g=!1),g&&_&&(g=h,_=d),g||_){if(_)for(b=k.length-1;b>=0&&(c=k[b],!(k[b].level=0&&(r=this.attrs[t][1]),r},Me.prototype.attrJoin=function(e,t){var r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t};var Be=Me;function Ne(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}Ne.prototype.Token=Be;var Pe=Ne,je=[["normalize",function(e){var t;t=(t=e.src.replace(be,"\n")).replace(ve,"�"),e.src=t}],["block",function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){var t,r,n,o=e.tokens;for(r=0,n=o.length;r=0;t--)if("link_close"!==(i=o[t]).type){if("html_inline"===i.type&&(b=i.content,/^\s]/i.test(b)&&d>0&&d--,ye(i.content)&&d++),!(d>0)&&"text"===i.type&&e.md.linkify.test(i.content)){for(c=i.content,_=e.md.linkify.match(c),a=[],h=i.level,p=0,l=0;l<_.length;l++)f=_[l].url,m=e.md.normalizeLink(f),e.md.validateLink(m)&&(g=_[l].text,g=_[l].schema?"mailto:"!==_[l].schema||/^mailto:/i.test(g)?e.md.normalizeLinkText(g):e.md.normalizeLinkText("mailto:"+g).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+g).replace(/^http:\/\//,""),(u=_[l].index)>p&&((s=new e.Token("text","",0)).content=c.slice(p,u),s.level=h,a.push(s)),(s=new e.Token("link_open","a",1)).attrs=[["href",m]],s.level=h++,s.markup="linkify",s.info="auto",a.push(s),(s=new e.Token("text","",0)).content=g,s.level=h,a.push(s),(s=new e.Token("link_close","a",-1)).level=--h,s.markup="linkify",s.info="auto",a.push(s),p=_[l].lastIndex);p=0;t--)"inline"===e.tokens[t].type&&(xe.test(e.tokens[t].content)&&Ee(e.tokens[t].children),Ce.test(e.tokens[t].content)&&qe(e.tokens[t].children))}],["smartquotes",function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&ze.test(e.tokens[t].content)&&Re(e.tokens[t].children,e)}]];function Oe(){this.ruler=new _e;for(var e=0;e=s)return-1;if((r=e.src.charCodeAt(o++))<48||r>57)return-1;for(;;){if(o>=s)return-1;if(!((r=e.src.charCodeAt(o++))>=48&&r<=57)){if(41===r||46===r)break;return-1}if(o-n>=10)return-1}return o`\\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("^|$))","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;a0&&this.level++,this.tokens.push(n),n},it.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},it.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!st(this.src.charCodeAt(--e)))return e+1;return e},it.prototype.skipChars=function(e,t){for(var r=this.src.length;er;)if(t!==this.src.charCodeAt(--e))return e+1;return e},it.prototype.getLines=function(e,t,r,n){var o,s,i,a,l,c,u,p=e;if(e>=t)return"";for(c=new Array(t-e),o=0;pr?new Array(s-r+1).join(" ")+this.src.slice(a,l):this.src.slice(a,l)}return c.join("")},it.prototype.Token=Be;var at=it,lt=[["table",function(e,t,r,n){var o,s,i,a,l,c,u,p,h,d,f,m,g,_,b,v;if(t+2>r)return!1;if(c=t+1,e.sCount[c]=4)return!1;if((i=e.bMarks[c]+e.tShift[c])>=e.eMarks[c])return!1;if(124!==(o=e.src.charCodeAt(i++))&&45!==o&&58!==o)return!1;for(;i=4)return!1;if((u=He(s)).length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),0===(p=u.length)||p!==d.length)return!1;if(n)return!0;for(_=e.parentType,e.parentType="table",v=e.md.block.ruler.getRules("blockquote"),(h=e.push("table_open","table",1)).map=m=[t,0],(h=e.push("thead_open","thead",1)).map=[t,t+1],(h=e.push("tr_open","tr",1)).map=[t,t+1],a=0;a=4)break;for((u=He(s)).length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),c===t+2&&((h=e.push("tbody_open","tbody",1)).map=g=[t+2,0]),(h=e.push("tr_open","tr",1)).map=[c,c+1],a=0;a=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]=4||(h=e.skipChars(h,o))-l=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=D,_=[e.sCount[t]],e.sCount[t]=h-a,b=[e.tShift[t]],e.tShift[t]=w-e.bMarks[t],y=e.md.block.ruler.getRules("blockquote"),g=e.parentType,e.parentType="blockquote",p=t+1;p=(D=e.eMarks[p])));p++)if(62!==e.src.charCodeAt(w++)||x){if(c)break;for(k=!1,i=0,l=y.length;i=D,f.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(v?1:0),_.push(e.sCount[p]),e.sCount[p]=h-a,b.push(e.tShift[p]),e.tShift[p]=w-e.bMarks[p]}for(m=e.blkIndent,e.blkIndent=0,(C=e.push("blockquote_open","blockquote",1)).markup=">",C.map=u=[t,0],e.md.block.tokenize(e,t,p),(C=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=A,e.parentType=g,u[1]=e.line,i=0;i=4)return!1;if(42!==(o=e.src.charCodeAt(l++))&&45!==o&&95!==o)return!1;for(s=1;l=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]=e.blkIndent&&(z=!0),(D=Ye(e,t))>=0){if(u=!0,q=e.bMarks[t]+e.tShift[t],g=Number(e.src.substr(q,D-q-1)),z&&1!==g)return!1}else{if(!((D=We(e,t))>=0))return!1;u=!1}if(z&&e.skipSpaces(D)>=e.eMarks[t])return!1;if(m=e.src.charCodeAt(D-1),n)return!0;for(f=e.tokens.length,u?(L=e.push("ordered_list_open","ol",1),1!==g&&(L.attrs=[["start",g]])):L=e.push("bullet_list_open","ul",1),L.map=d=[t,0],L.markup=String.fromCharCode(m),b=t,E=!1,F=e.md.block.ruler.getRules("list"),y=e.parentType,e.parentType="list";b=_?1:v-c)>4&&(l=1),a=c+l,(L=e.push("list_item_open","li",1)).markup=String.fromCharCode(m),L.map=p=[t,0],A=e.tight,x=e.tShift[t],C=e.sCount[t],k=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=a,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=v,s>=_&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,t,r,!0),e.tight&&!E||(I=!1),E=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=k,e.tShift[t]=x,e.sCount[t]=C,e.tight=A,(L=e.push("list_item_close","li",-1)).markup=String.fromCharCode(m),b=t=e.line,p[1]=b,s=e.bMarks[t],b>=r)break;if(e.sCount[b]=4)break;for(S=!1,i=0,h=F.length;i=4)return!1;if(91!==e.src.charCodeAt(y))return!1;for(;++y3||e.sCount[x]<0)){for(_=!1,c=0,u=b.length;c=4)return!1;if(35!==(o=e.src.charCodeAt(l))||l>=c)return!1;for(s=1,o=e.src.charCodeAt(++l);35===o&&l6||ll&&Xe(e.src.charCodeAt(i-1))&&(c=i),e.line=t+1,(a=e.push("heading_open","h"+String(s),1)).markup="########".slice(0,s),a.map=[t,e.line],(a=e.push("inline","",0)).content=e.src.slice(l,c).trim(),a.map=[t,e.line],a.children=[],(a=e.push("heading_close","h"+String(s),-1)).markup="########".slice(0,s)),!0)},["paragraph","reference","blockquote"]],["lheading",function(e,t,r){var n,o,s,i,a,l,c,u,p,h,d=t+1,f=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(h=e.parentType,e.parentType="paragraph";d3)){if(e.sCount[d]>=e.blkIndent&&(l=e.bMarks[d]+e.tShift[d])<(c=e.eMarks[d])&&(45===(p=e.src.charCodeAt(l))||61===p)&&(l=e.skipChars(l,p),(l=e.skipSpaces(l))>=c)){u=61===p?1:2;break}if(!(e.sCount[d]<0)){for(o=!1,s=0,i=f.length;s=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(a=e.src.slice(l,c),o=0;o3||e.sCount[l]<0)){for(n=!1,o=0,s=c.length;o=r))&&!(e.sCount[i]=l){e.line=r;break}for(n=0;n?@[]^_`{|}~-".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=0;r--)95!==(n=t[r]).marker&&42!==n.marker||-1!==n.end&&(o=t[n.end],a=r>0&&t[r-1].end===n.end+1&&t[r-1].token===n.token-1&&t[n.end+1].token===o.token+1&&t[r-1].marker===n.marker,i=String.fromCharCode(n.marker),(s=e.tokens[n.token]).type=a?"strong_open":"em_open",s.tag=a?"strong":"em",s.nesting=1,s.markup=a?i+i:i,s.content="",(s=e.tokens[o.token]).type=a?"strong_close":"em_close",s.tag=a?"strong":"em",s.nesting=-1,s.markup=a?i+i:i,s.content="",a&&(e.tokens[t[r-1].token].content="",e.tokens[t[n.end+1].token].content="",r--))}var vt={tokenize:function(e,t){var r,n,o=e.pos,s=e.src.charCodeAt(o);if(t)return!1;if(95!==s&&42!==s)return!1;for(n=e.scanDelims(e.pos,42===s),r=0;r\x00-\x20]*)$/,Dt=rt.HTML_TAG_RE;var Et=ie.has,qt=ie.isValidEntityCode,St=ie.fromCodePoint,Ft=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Lt=/^&([a-z][a-z0-9]{1,31});/i;function zt(e,t){var r,n,o,s,i,a,l,c,u={},p=t.length;for(r=0;ri;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=0&&32===e.pending.charCodeAt(r)?r>=1&&32===e.pending.charCodeAt(r-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o=d)return!1;if(f=a,(l=e.md.helpers.parseLinkDestination(e.src,a,e.posMax)).ok){for(u=e.md.normalizeLink(l.str),e.md.validateLink(u)?a=l.pos:u="",f=a;a=d||41!==e.src.charCodeAt(a))&&(m=!0),a++}if(m){if(void 0===e.env.references)return!1;if(a=0?o=e.src.slice(f,a++):a=s+1):a=s+1,o||(o=e.src.slice(i,s)),!(c=e.env.references[kt(o)]))return e.pos=h,!1;u=c.href,p=c.title}return t||(e.pos=i,e.posMax=s,e.push("link_open","a",1).attrs=r=[["href",u]],p&&r.push(["title",p]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=a,e.posMax=d,!0}],["image",function(e,t){var r,n,o,s,i,a,l,c,u,p,h,d,f,m="",g=e.pos,_=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(a=e.pos+2,(i=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((l=i+1)<_&&40===e.src.charCodeAt(l)){for(l++;l<_&&(n=e.src.charCodeAt(l),xt(n)||10===n);l++);if(l>=_)return!1;for(f=l,(u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(m=e.md.normalizeLink(u.str),e.md.validateLink(m)?l=u.pos:m=""),f=l;l<_&&(n=e.src.charCodeAt(l),xt(n)||10===n);l++);if(u=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<_&&f!==l&&u.ok)for(p=u.str,l=u.pos;l<_&&(n=e.src.charCodeAt(l),xt(n)||10===n);l++);else p="";if(l>=_||41!==e.src.charCodeAt(l))return e.pos=g,!1;l++}else{if(void 0===e.env.references)return!1;if(l<_&&91===e.src.charCodeAt(l)?(f=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?s=e.src.slice(f,l++):l=i+1):l=i+1,s||(s=e.src.slice(a,i)),!(c=e.env.references[Ct(s)]))return e.pos=g,!1;m=c.href,p=c.title}return t||(o=e.src.slice(a,i),e.md.inline.parse(o,e.md,e.env,d=[]),(h=e.push("image","img",0)).attrs=r=[["src",m],["alt",""]],h.children=d,h.content=o,p&&r.push(["title",p])),e.pos=l,e.posMax=_,!0}],["autolink",function(e,t){var r,n,o,s,i,a,l=e.pos;if(60!==e.src.charCodeAt(l))return!1;for(i=e.pos,a=e.posMax;;){if(++l>=a)return!1;if(60===(s=e.src.charCodeAt(l)))return!1;if(62===s)break}return r=e.src.slice(i+1,l),wt.test(r)?(n=e.md.normalizeLink(r),!!e.md.validateLink(n)&&(t||((o=e.push("link_open","a",1)).attrs=[["href",n]],o.markup="autolink",o.info="auto",(o=e.push("text","",0)).content=e.md.normalizeLinkText(r),(o=e.push("link_close","a",-1)).markup="autolink",o.info="auto"),e.pos+=r.length+2,!0)):!!At.test(r)&&(n=e.md.normalizeLink("mailto:"+r),!!e.md.validateLink(n)&&(t||((o=e.push("link_open","a",1)).attrs=[["href",n]],o.markup="autolink",o.info="auto",(o=e.push("text","",0)).content=e.md.normalizeLinkText(r),(o=e.push("link_close","a",-1)).markup="autolink",o.info="auto"),e.pos+=r.length+2,!0))}],["html_inline",function(e,t){var r,n,o,s=e.pos;return!!e.md.options.html&&(o=e.posMax,!(60!==e.src.charCodeAt(s)||s+2>=o)&&(!(33!==(r=e.src.charCodeAt(s+1))&&63!==r&&47!==r&&!function(e){var t=32|e;return t>=97&&t<=122}(r))&&(!!(n=e.src.slice(s).match(Dt))&&(t||(e.push("html_inline","",0).content=e.src.slice(s,s+n[0].length)),e.pos+=n[0].length,!0))))}],["entity",function(e,t){var r,n,o=e.pos,s=e.posMax;if(38!==e.src.charCodeAt(o))return!1;if(o+10&&n++,"text"===o[t].type&&t+1=s)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},jt.prototype.parse=function(e,t,r,n){var o,s,i,a=new this.State(e,t,r,n);for(this.tokenize(a),i=(s=this.ruler2.getRules("")).length,o=0;o=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},Jt="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Wt(e){var t=e.re=function(e){var t={};return t.src_Any=re.source,t.src_Cc=ne.source,t.src_Z=oe.source,t.src_P=M.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|"),t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),r=e.__tlds__.slice();function n(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");var o=[];function s(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var r=e.__schemas__[t];if(null!==r){var n={validate:null,link:null};if(e.__compiled__[t]=n,"[object Object]"===Vt(r))return!function(e){return"[object RegExp]"===Vt(e)}(r.validate)?Zt(r.validate)?n.validate=r.validate:s(t,r):n.validate=function(e){return function(t,r){var n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}(r.validate),void(Zt(r.normalize)?n.normalize=r.normalize:r.normalize?s(t,r):n.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===Vt(e)}(r)?s(t,r):o.push(t)}})),o.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var i=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(Ht).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+i+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+i+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function Yt(e,t){var r=e.__index__,n=e.__last_index__,o=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=o,this.text=o,this.url=o}function Kt(e,t){var r=new Yt(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function Qt(e,t){if(!(this instanceof Qt))return new Qt(e,t);var r;t||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||$t.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=Ut({},$t,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Ut({},Gt,e),this.__compiled__={},this.__tlds__=Jt,this.__tlds_replaced__=!1,this.re={},Wt(this)}Qt.prototype.add=function(e,t){return this.__schemas__[e]=t,Wt(this),this},Qt.prototype.set=function(e){return this.__opts__=Ut(this.__opts__,e),this},Qt.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,n,o,s,i,a,l;if(this.re.schema_test.test(e))for((a=this.re.schema_search).lastIndex=0;null!==(t=a.exec(e));)if(o=this.testSchemaAt(e,t[2],a.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l=0&&null!==(n=e.match(this.re.email_fuzzy))&&(s=n.index+n[1].length,i=n.index+n[0].length,(this.__index__<0||sthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=s,this.__last_index__=i)),this.__index__>=0},Qt.prototype.pretest=function(e){return this.re.pretest.test(e)},Qt.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},Qt.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(Kt(this,t)),t=this.__last_index__);for(var n=t?e.slice(t):e;this.test(n);)r.push(Kt(this,t)),n=n.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},Qt.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,r){return e!==r[t-1]})).reverse(),Wt(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Wt(this),this)},Qt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},Qt.prototype.onCompile=function(){};var Xt=Qt,er=2147483647,tr=36,rr=/^xn--/,nr=/[^\0-\x7E]/,or=/[\x2E\u3002\uFF0E\uFF61]/g,sr={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ir=Math.floor,ar=String.fromCharCode;function lr(e){throw new RangeError(sr[e])}function cr(e,t){var r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]);var o=function(e,t){for(var r=[],n=e.length;n--;)r[n]=t(e[n]);return r}((e=e.replace(or,".")).split("."),t).join(".");return n+o}function ur(e){for(var t=[],r=0,n=e.length;r=55296&&o<=56319&&r>1,e+=ir(e/t);e>455;n+=tr)e=ir(e/35);return ir(n+36*e/(e+38))},fr=function(e){var t,r=[],n=e.length,o=0,s=128,i=72,a=e.lastIndexOf("-");a<0&&(a=0);for(var l=0;l=128&&lr("not-basic"),r.push(e.charCodeAt(l));for(var c=a>0?a+1:0;c=n&&lr("invalid-input");var d=(t=e.charCodeAt(c++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:tr;(d>=tr||d>ir((er-o)/p))&&lr("overflow"),o+=d*p;var f=h<=i?1:h>=i+26?26:h-i;if(dir(er/m)&&lr("overflow"),p*=m}var g=r.length+1;i=dr(o-u,g,0==u),ir(o/g)>er-s&&lr("overflow"),s+=ir(o/g),o%=g,r.splice(o++,0,s)}return String.fromCodePoint.apply(String,r)},mr=function(e){for(var t,r=[],n=(e=ur(e)).length,o=128,s=0,i=72,a=_createForOfIteratorHelperLoose(e);!(t=a()).done;){var l=t.value;l<128&&r.push(ar(l))}var c=r.length,u=c;for(c&&r.push("-");u=o&&fir((er-s)/m)&&lr("overflow"),s+=(h-o)*m,o=h;for(var g,_=_createForOfIteratorHelperLoose(e);!(g=_()).done;){var b=g.value;if(ber&&lr("overflow"),b==o){for(var v=s,k=tr;;k+=tr){var y=k<=i?1:k>=i+26?26:k-i;if(v=0))try{t.hostname=kr.toASCII(t.hostname)}catch(r){}return te.encode(te.format(t))}function Er(e){var t=te.parse(e,!0);if(t.hostname&&(!t.protocol||wr.indexOf(t.protocol)>=0))try{t.hostname=kr.toUnicode(t.hostname)}catch(r){}return te.decode(te.format(t),te.decode.defaultChars+"%")}function qr(e,t){if(!(this instanceof qr))return new qr(e,t);t||ie.isString(e)||(t=e||{},e="default"),this.inline=new Ot,this.block=new ut,this.core=new Ue,this.renderer=new me,this.linkify=new Xt,this.validateLink=Ar,this.normalizeLink=Dr,this.normalizeLinkText=Er,this.utils=ie,this.helpers=ie.assign({},ce),this.options={},this.configure(e),t&&this.set(t)}qr.prototype.set=function(e){return ie.assign(this.options,e),this},qr.prototype.configure=function(e){var t,r=this;if(ie.isString(e)&&!(e=yr[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&r.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&r[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&r[t].ruler2.enableOnly(e.components[t].rules2)})),this},qr.prototype.enable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.enable(e,!0))}),this),r=r.concat(this.inline.ruler2.enable(e,!0));var n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},qr.prototype.disable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.disable(e,!0))}),this),r=r.concat(this.inline.ruler2.disable(e,!0));var n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},qr.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},qr.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},qr.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},qr.prototype.parseInline=function(e,t){var r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},qr.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var Sr=new qr,Fr=b();v("data-v-44467b26");var Lr={class:"comment-container"},zr={class:"comment-send"},Ir={class:"comment-input"},Tr=a("div",{class:"comment-title"},[a("span",null,"文章交流区")],-1),Rr={class:"comment-list"},Mr={class:"comment-avatar"},Br={class:"comment-content"},Nr={class:"main-comment"},Pr={class:"comment-user-info"},jr={class:"floor"},Or={class:"badge"},Ur={key:0,class:"author"},Vr={class:"time"},Zr={class:"main-content"},Hr={key:0,class:"empty-content"};k();var $r=n({expose:[],props:{postId:Number,authorId:Number},setup:function(e){var t=e,r=A(),n=w(),b=D(),v=computed((function(){var e,t;return null!=(e=null==b||null==(t=b.User)?void 0:t.Id)&&e})),k=reactive({text:"",submitting:!1,list:[],page:1,loaded:!1,listLoadingStatus:0}),C=function(){k.text?k.submitting?r.warning("评论过快"):(k.submitting=!0,q({PostID:t.postId||-1,AuthorUID:t.authorId||-1,Content:k.text+" ____ From Vue-next"}).then((function(e){if(null!=e&&e.ErrorCode)return 3000009===e.ErrorCode?void r.warning("触发敏感词,请礼貌用语~"):403===e.ErrorCode?void r.info("登录状态过期,跳转登录中...",{timeout:1500,onClose:function(){n.push("/signin")}}):void r.warning("评论出错: "+e.ErrorCode+" "+e.ErrorMsg);r.success("评论成功~"),k.text="",k.listLoadingStatus=1,E({Page:1,Size:15,PostID:t.postId||-1}).then((function(e){var t,r,n=null!=(t=null==e||null==(r=e.Result)?void 0:r.Comments)?t:[];k.list=n})).finally((function(){k.listLoadingStatus=0}))})).finally((function(){k.submitting=!1}))):r.warning("评论不能为空")},x=function(){n.push("/signin")},S=z;onMounted((function(){k.listLoadingStatus=2,k.page=1,k.loaded=!1,E({PostID:t.postId||0,Page:1,Size:15}).then((function(e){var t,n,o,s=null!=(t=null==e||null==(n=e.Result)?void 0:n.Comments)?t:[];k.list=s,15===s.length?k.loaded=!1:k.loaded=!0,e.ErrorCode&&r.warning(null!=(o=null==e?void 0:e.ErrorMsg)?o:""+e.ErrorCode)})).finally((function(){k.listLoadingStatus=0}))}));var F=function(){k.page+=1,k.listLoadingStatus=2,E({PostID:t.postId||-1,Page:k.page,Size:15}).then((function(e){var t,r,n=null!=(t=null==e||null==(r=e.Result)?void 0:r.Comments)?t:[];15===n.length?k.loaded=!1:k.loaded=!0,k.list=[].concat(k.list,n)})).finally((function(){k.listLoadingStatus=0}))};return Fr((function(e,t){var r=o("Avatar"),n=o("router-link"),b=o("LoadingBall");return s(),i("div",Lr,[a("div",zr,[a("div",Ir,[l(a("textarea",{placeholder:"说说你的看法吧~ , ctrl + enter 可快速提交。","onUpdate:modelValue":t[1]||(t[1]=function(e){return k.text=e}),onKeydown:u(y(C,["ctrl"]),["enter"])},null,40,["onKeydown"]),[[c,k.text,void 0,{trim:!0}]])]),p(v)?(s(),i("div",{key:0,class:"comment-btn",onClick:C}," 发表评论 ")):(s(),i("div",{key:1,class:"comment-btn",onClick:x},"登录发表评论"))]),Tr,a("div",Rr,[a(h,{name:"list"},{default:Fr((function(){return[(s(!0),i(d,null,f(k.list,(function(t,o){return s(),i("div",{class:"comment-item",key:t.Id},[a("div",Mr,[a(n,{to:"/users/"+t.CommentUserInfo.UID},{default:Fr((function(){return[a(r,{size:"32px",src:t.CommentUserInfo.Avatar},null,8,["src"])]})),_:2},1032,["to"])]),a("div",Br,[a("div",Nr,[a("div",Pr,[a("span",jr,"#"+m(k.list.length-o),1),a(n,{to:"/users/"+t.CommentUserInfo.UID},{default:Fr((function(){return[g(m(t.CommentUserInfo.Nickname),1)]})),_:2},1032,["to"]),a("span",Or,[t.CommentUserInfo.UID==e.$props.authorId?(s(),i("sup",Ur,"本文作者")):_("",!0),(s(!0),i(d,null,f(t.CommentUserInfo.Roles,(function(e){return s(),i("sup",{class:"role",key:e.RID},m(e.Description),1)})),128))]),a("span",Vr,m(p(S)(t.CreatedAt)),1)]),a("div",Zr,m(t.Content),1)])])])})),128))]})),_:1}),0!==k.list.length||k.listLoadingStatus?_("",!0):(s(),i("div",Hr," 暂无任何评论,快去发表吧~ ")),a(b,{loading:k.list.length>0&&2==k.listLoadingStatus},null,8,["loading"]),k.loaded||k.listLoadingStatus?_("",!0):(s(),i("div",{key:1,class:"btn-next",onClick:F}," 查看更多 "))])])}))}});$r.__scopeId="data-v-44467b26";var Gr=b();v("data-v-ad8ad844");var Jr={key:0},Wr={class:"article-title"},Yr={class:"artilce-info"},Kr=g(" 分类: "),Qr={class:"article-navi"};k();e("default",n({expose:[],props:{pid:{required:!0,type:Number,validator:function(e){return!isNaN(+e)}}},setup:function(e){var t=e,r=A(),n=S(t.pid),c=n.data,u=n.loading,h=computed((function(){var e,t;return Sr.render(null!=(e=null==(t=c.value.Result)?void 0:t.Content)?e:"")})),d=computed((function(){var e,t;return I(null!=(e=null==(t=c.value.Result)?void 0:t.CreatedAt)?e:Date.now())})),f=computed((function(){var e;return null==(e=c.value.Result)?void 0:e.Title})),b=computed((function(){var e;return null==(e=c.value.Result)?void 0:e.Summary})),v=computed((function(){var e;return null==(e=c.value.Result)?void 0:e.AuthorInfo.UID})),k=computed((function(){var e;return null==(e=c.value.Result)?void 0:e.AuthorInfo.Nickname})),y=computed((function(){var e;return null==(e=c.value.Result)?void 0:e.Category.Id})),w=computed((function(){var e;return null==(e=c.value.Result)?void 0:e.Category.CN})),D=computed((function(){var e,t,r;return null==(e=c.value.Result)||null==(t=e.Navigation)||null==(r=t.Prev)?void 0:r.Id})),E=computed((function(){var e,t,r;return null==(e=c.value.Result)||null==(t=e.Navigation)||null==(r=t.Next)?void 0:r.Id})),q=computed((function(){var e,t,r;return null==(e=c.value.Result)||null==(t=e.Navigation)||null==(r=t.Next)?void 0:r.Title})),z=computed((function(){var e,t,r;return null==(e=c.value.Result)||null==(t=e.Navigation)||null==(r=t.Prev)?void 0:r.Title})),T=computed((function(){return k.value+"发表了"+f.value+","+b.value}));return F({title:f,meta:[{name:"description",content:T},{name:"author",content:k}]}),watch((function(){return null==c?void 0:c.value.ErrorMsg}),(function(e,t){r.error("请求出错:"+e)})),Gr((function(e,r){var n=o("LoadingBall"),c=o("router-link"),b=C("highlight");return s(),i(L,null,{default:Gr((function(){return[a(n,{loading:p(u),info:"努力加载文章中","info-size":"18px",padding:"30vh 0"},null,8,["loading"]),a(x,{name:"content"},{default:Gr((function(){return[p(u)?_("",!0):(s(),i("main",Jr,[a("h1",Wr,m(p(f)),1),a("div",Yr,[a("span",null,[a(c,{to:"/users/"+p(v)},{default:Gr((function(){return[a("a",null,m(p(k)),1)]})),_:1},8,["to"])]),a("span",null,"发表于: "+m(p(d)),1),a("span",null,[Kr,a(c,{to:"/?CategoryID="+p(y)},{default:Gr((function(){return[g(m(p(w)),1)]})),_:1},8,["to"])])]),l(a("div",{innerHTML:p(h),class:"article-container"},null,8,["innerHTML"]),[[b]]),a("div",Qr,[a("div",null,[p(D)?(s(),i(c,{key:0,to:"/post/"+p(D)},{default:Gr((function(){return[g(" 上一篇 « "+m(p(z)),1)]})),_:1},8,["to"])):_("",!0)]),a("div",null,[p(E)?(s(),i(c,{key:0,to:"/post/"+p(E)},{default:Gr((function(){return[g(" 下一篇 » "+m(p(q)),1)]})),_:1},8,["to"])):_("",!0)])]),a($r,{"author-id":p(v),"post-id":t.pid},null,8,["author-id","post-id"])]))]})),_:1})]})),_:1})}))}})).__scopeId="data-v-ad8ad844"}}})); +import"core-js/modules/es.array.from.js";import"core-js/modules/es.string.iterator.js";import"core-js/modules/es.symbol.iterator.js";import"core-js/modules/es.array.iterator.js";import"core-js/modules/web.dom-collections.iterator.js";function _createForOfIteratorHelperLoose(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=_unsupportedIterableToArray(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=e[Symbol.iterator]()).next.bind(r)}function _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},M=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,B={};function N(e,t,r){var n,o,s,i,a,l="";for("string"!=typeof t&&(r=t,t=N.defaultChars),void 0===r&&(r=!0),a=function(e){var t,r,n=B[e];if(n)return n;for(n=B[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),/^[0-9a-z]$/i.test(r)?n.push(r):n.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&s<=57343){if(s>=55296&&s<=56319&&n+1=56320&&i<=57343){l+=encodeURIComponent(e[n]+e[n+1]),n++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[n]);return l}N.defaultChars=";/?:@&=+$,-_.!~*'()#",N.componentChars="-_.!~*'()";var P=N,j={};function O(e,t){var r;return"string"!=typeof t&&(t=O.defaultChars),r=function(e){var t,r,n=j[e];if(n)return n;for(n=j[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),n.push(r);for(t=0;t=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&o)&&t+91114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c}))}O.defaultChars=";/?:@&=+$,#",O.componentChars="";var U=O;function V(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var Z=/^([a-z0-9.+-]+:)/i,H=/:[0-9]*$/,$=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,G=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),J=["'"].concat(G),W=["%","/","?",";","#"].concat(J),Y=["/","?","#"],K=/^[+a-z0-9A-Z_-]{0,63}$/,Q=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,X={javascript:!0,"javascript:":!0},ee={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};V.prototype.parse=function(e,t){var r,n,o,s,i,a=e;if(a=a.trim(),!t&&1===e.split("#").length){var l=$.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=Z.exec(a);if(c&&(o=(c=c[0]).toLowerCase(),this.protocol=c,a=a.substr(c.length)),(t||c||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(i="//"===a.substr(0,2))||c&&X[c]||(a=a.substr(2),this.slashes=!0)),!X[c]&&(i||c&&!ee[c])){var u,p,h=-1;for(r=0;r127?_+="x":_+=g[b];if(!_.match(K)){var k=m.slice(0,r),y=m.slice(r+1),C=g.match(Q);C&&(k.push(C[1]),y.unshift(C[2])),y.length&&(a=y.join(".")+a),this.hostname=k.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),f&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var x=a.indexOf("#");-1!==x&&(this.hash=a.substr(x),a=a.slice(0,x));var A=a.indexOf("?");return-1!==A&&(this.search=a.substr(A),a=a.slice(0,A)),a&&(this.pathname=a),ee[o]&&this.hostname&&!this.pathname&&(this.pathname=""),this},V.prototype.parseHost=function(e){var t=H.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var te={encode:P,decode:U,format:function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""},parse:function(e,t){if(e&&e instanceof V)return e;var r=new V;return r.parse(e,t),r}},re=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,ne=/[\0-\x1F\x7F-\x9F]/,oe=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,se={Any:re,Cc:ne,Cf:/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,P:M,Z:oe},ie=t((function(e,t){var r=Object.prototype.hasOwnProperty;function n(e,t){return r.call(e,t)}function o(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function s(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}var i=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,a=new RegExp(i.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;var c=/[&<>"]/,u=/[&<>"]/g,p={"&":"&","<":"<",">":">",'"':"""};function h(e){return p[e]}var d=/[.?*+^$[\]\\(){}|-]/g;t.lib={},t.lib.mdurl=te,t.lib.ucmicro=se,t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(r){e[r]=t[r]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=n,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(i,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(a,(function(e,t,r){return t||function(e,t){var r=0;return n(R,t)?R[t]:35===t.charCodeAt(0)&&l.test(t)&&o(r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?s(r):e}(e,r)}))},t.isValidEntityCode=o,t.fromCodePoint=s,t.escapeHtml=function(e){return c.test(e)?e.replace(u,h):e},t.arrayReplaceAt=function(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return M.test(e)},t.escapeRE=function(e){return e.replace(d,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}})),ae=ie.unescapeAll,le=ie.unescapeAll,ce={parseLinkLabel:function(e,t,r){var n,o,s,i,a=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,n=1;e.pos32)return i;if(41===n){if(0===o)break;o--}t++}return s===t||0!==o||(i.str=ae(e.slice(s,t)),i.lines=0,i.pos=t,i.ok=!0),i},parseLinkTitle:function(e,t,r){var n,o,s=0,i=t,a={ok:!1,pos:0,lines:0,str:""};if(t>=r)return a;if(34!==(o=e.charCodeAt(t))&&39!==o&&40!==o)return a;for(t++,40===o&&(o=41);t"+he(e[t].content)+""},de.code_block=function(e,t,r,n,o){var s=e[t];return""+he(e[t].content)+"\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(""+s+"\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?"
\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\n":">")},fe.prototype.renderInline=function(e,t,r){for(var n,o="",s=this.rules,i=0,a=e.length;i/i.test(e)}var Ce=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,xe=/\((c|tm|r|p)\)/i,Ae=/\((c|tm|r|p)\)/gi,we={c:"©",r:"®",p:"§",tm:"™"};function De(e,t){return we[t.toLowerCase()]}function Ee(e){var t,r,n=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||n||(r.content=r.content.replace(Ae,De)),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}function qe(e){var t,r,n=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||n||Ce.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}var Se=ie.isWhiteSpace,Fe=ie.isPunctChar,Le=ie.isMdAsciiPunct,ze=/['"]/,Ie=/['"]/g;function Te(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}function Re(e,t){var r,n,o,s,i,a,l,c,u,p,h,d,f,m,g,_,b,v,k,y,C;for(k=[],r=0;r=0&&!(k[b].level<=l);b--);if(k.length=b+1,"text"===n.type){i=0,a=(o=n.content).length;e:for(;i=0)u=o.charCodeAt(s.index-1);else for(b=r-1;b>=0&&("softbreak"!==e[b].type&&"hardbreak"!==e[b].type);b--)if(e[b].content){u=e[b].content.charCodeAt(e[b].content.length-1);break}if(p=32,i=48&&u<=57&&(_=g=!1),g&&_&&(g=h,_=d),g||_){if(_)for(b=k.length-1;b>=0&&(c=k[b],!(k[b].level=0&&(r=this.attrs[t][1]),r},Me.prototype.attrJoin=function(e,t){var r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t};var Be=Me;function Ne(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}Ne.prototype.Token=Be;var Pe=Ne,je=[["normalize",function(e){var t;t=(t=e.src.replace(be,"\n")).replace(ve,"�"),e.src=t}],["block",function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){var t,r,n,o=e.tokens;for(r=0,n=o.length;r=0;t--)if("link_close"!==(i=o[t]).type){if("html_inline"===i.type&&(b=i.content,/^\s]/i.test(b)&&d>0&&d--,ye(i.content)&&d++),!(d>0)&&"text"===i.type&&e.md.linkify.test(i.content)){for(c=i.content,_=e.md.linkify.match(c),a=[],h=i.level,p=0,l=0;l<_.length;l++)f=_[l].url,m=e.md.normalizeLink(f),e.md.validateLink(m)&&(g=_[l].text,g=_[l].schema?"mailto:"!==_[l].schema||/^mailto:/i.test(g)?e.md.normalizeLinkText(g):e.md.normalizeLinkText("mailto:"+g).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+g).replace(/^http:\/\//,""),(u=_[l].index)>p&&((s=new e.Token("text","",0)).content=c.slice(p,u),s.level=h,a.push(s)),(s=new e.Token("link_open","a",1)).attrs=[["href",m]],s.level=h++,s.markup="linkify",s.info="auto",a.push(s),(s=new e.Token("text","",0)).content=g,s.level=h,a.push(s),(s=new e.Token("link_close","a",-1)).level=--h,s.markup="linkify",s.info="auto",a.push(s),p=_[l].lastIndex);p=0;t--)"inline"===e.tokens[t].type&&(xe.test(e.tokens[t].content)&&Ee(e.tokens[t].children),Ce.test(e.tokens[t].content)&&qe(e.tokens[t].children))}],["smartquotes",function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&ze.test(e.tokens[t].content)&&Re(e.tokens[t].children,e)}]];function Oe(){this.ruler=new _e;for(var e=0;e=s)return-1;if((r=e.src.charCodeAt(o++))<48||r>57)return-1;for(;;){if(o>=s)return-1;if(!((r=e.src.charCodeAt(o++))>=48&&r<=57)){if(41===r||46===r)break;return-1}if(o-n>=10)return-1}return o`\\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("^|$))","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;a0&&this.level++,this.tokens.push(n),n},it.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},it.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!st(this.src.charCodeAt(--e)))return e+1;return e},it.prototype.skipChars=function(e,t){for(var r=this.src.length;er;)if(t!==this.src.charCodeAt(--e))return e+1;return e},it.prototype.getLines=function(e,t,r,n){var o,s,i,a,l,c,u,p=e;if(e>=t)return"";for(c=new Array(t-e),o=0;pr?new Array(s-r+1).join(" ")+this.src.slice(a,l):this.src.slice(a,l)}return c.join("")},it.prototype.Token=Be;var at=it,lt=[["table",function(e,t,r,n){var o,s,i,a,l,c,u,p,h,d,f,m,g,_,b,v;if(t+2>r)return!1;if(c=t+1,e.sCount[c]=4)return!1;if((i=e.bMarks[c]+e.tShift[c])>=e.eMarks[c])return!1;if(124!==(o=e.src.charCodeAt(i++))&&45!==o&&58!==o)return!1;for(;i=4)return!1;if((u=He(s)).length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),0===(p=u.length)||p!==d.length)return!1;if(n)return!0;for(_=e.parentType,e.parentType="table",v=e.md.block.ruler.getRules("blockquote"),(h=e.push("table_open","table",1)).map=m=[t,0],(h=e.push("thead_open","thead",1)).map=[t,t+1],(h=e.push("tr_open","tr",1)).map=[t,t+1],a=0;a=4)break;for((u=He(s)).length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),c===t+2&&((h=e.push("tbody_open","tbody",1)).map=g=[t+2,0]),(h=e.push("tr_open","tr",1)).map=[c,c+1],a=0;a=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]=4||(h=e.skipChars(h,o))-l=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=D,_=[e.sCount[t]],e.sCount[t]=h-a,b=[e.tShift[t]],e.tShift[t]=w-e.bMarks[t],y=e.md.block.ruler.getRules("blockquote"),g=e.parentType,e.parentType="blockquote",p=t+1;p=(D=e.eMarks[p])));p++)if(62!==e.src.charCodeAt(w++)||x){if(c)break;for(k=!1,i=0,l=y.length;i=D,f.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(v?1:0),_.push(e.sCount[p]),e.sCount[p]=h-a,b.push(e.tShift[p]),e.tShift[p]=w-e.bMarks[p]}for(m=e.blkIndent,e.blkIndent=0,(C=e.push("blockquote_open","blockquote",1)).markup=">",C.map=u=[t,0],e.md.block.tokenize(e,t,p),(C=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=A,e.parentType=g,u[1]=e.line,i=0;i=4)return!1;if(42!==(o=e.src.charCodeAt(l++))&&45!==o&&95!==o)return!1;for(s=1;l=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]=e.blkIndent&&(z=!0),(D=Ye(e,t))>=0){if(u=!0,q=e.bMarks[t]+e.tShift[t],g=Number(e.src.substr(q,D-q-1)),z&&1!==g)return!1}else{if(!((D=We(e,t))>=0))return!1;u=!1}if(z&&e.skipSpaces(D)>=e.eMarks[t])return!1;if(m=e.src.charCodeAt(D-1),n)return!0;for(f=e.tokens.length,u?(L=e.push("ordered_list_open","ol",1),1!==g&&(L.attrs=[["start",g]])):L=e.push("bullet_list_open","ul",1),L.map=d=[t,0],L.markup=String.fromCharCode(m),b=t,E=!1,F=e.md.block.ruler.getRules("list"),y=e.parentType,e.parentType="list";b=_?1:v-c)>4&&(l=1),a=c+l,(L=e.push("list_item_open","li",1)).markup=String.fromCharCode(m),L.map=p=[t,0],A=e.tight,x=e.tShift[t],C=e.sCount[t],k=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=a,e.tight=!0,e.tShift[t]=s-e.bMarks[t],e.sCount[t]=v,s>=_&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,t,r,!0),e.tight&&!E||(I=!1),E=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=k,e.tShift[t]=x,e.sCount[t]=C,e.tight=A,(L=e.push("list_item_close","li",-1)).markup=String.fromCharCode(m),b=t=e.line,p[1]=b,s=e.bMarks[t],b>=r)break;if(e.sCount[b]=4)break;for(S=!1,i=0,h=F.length;i=4)return!1;if(91!==e.src.charCodeAt(y))return!1;for(;++y3||e.sCount[x]<0)){for(_=!1,c=0,u=b.length;c=4)return!1;if(35!==(o=e.src.charCodeAt(l))||l>=c)return!1;for(s=1,o=e.src.charCodeAt(++l);35===o&&l6||ll&&Xe(e.src.charCodeAt(i-1))&&(c=i),e.line=t+1,(a=e.push("heading_open","h"+String(s),1)).markup="########".slice(0,s),a.map=[t,e.line],(a=e.push("inline","",0)).content=e.src.slice(l,c).trim(),a.map=[t,e.line],a.children=[],(a=e.push("heading_close","h"+String(s),-1)).markup="########".slice(0,s)),!0)},["paragraph","reference","blockquote"]],["lheading",function(e,t,r){var n,o,s,i,a,l,c,u,p,h,d=t+1,f=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(h=e.parentType,e.parentType="paragraph";d3)){if(e.sCount[d]>=e.blkIndent&&(l=e.bMarks[d]+e.tShift[d])<(c=e.eMarks[d])&&(45===(p=e.src.charCodeAt(l))||61===p)&&(l=e.skipChars(l,p),(l=e.skipSpaces(l))>=c)){u=61===p?1:2;break}if(!(e.sCount[d]<0)){for(o=!1,s=0,i=f.length;s=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(a=e.src.slice(l,c),o=0;o3||e.sCount[l]<0)){for(n=!1,o=0,s=c.length;o=r))&&!(e.sCount[i]=l){e.line=r;break}for(n=0;n?@[]^_`{|}~-".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=0;r--)95!==(n=t[r]).marker&&42!==n.marker||-1!==n.end&&(o=t[n.end],a=r>0&&t[r-1].end===n.end+1&&t[r-1].token===n.token-1&&t[n.end+1].token===o.token+1&&t[r-1].marker===n.marker,i=String.fromCharCode(n.marker),(s=e.tokens[n.token]).type=a?"strong_open":"em_open",s.tag=a?"strong":"em",s.nesting=1,s.markup=a?i+i:i,s.content="",(s=e.tokens[o.token]).type=a?"strong_close":"em_close",s.tag=a?"strong":"em",s.nesting=-1,s.markup=a?i+i:i,s.content="",a&&(e.tokens[t[r-1].token].content="",e.tokens[t[n.end+1].token].content="",r--))}var vt={tokenize:function(e,t){var r,n,o=e.pos,s=e.src.charCodeAt(o);if(t)return!1;if(95!==s&&42!==s)return!1;for(n=e.scanDelims(e.pos,42===s),r=0;r\x00-\x20]*)$/,Dt=rt.HTML_TAG_RE;var Et=ie.has,qt=ie.isValidEntityCode,St=ie.fromCodePoint,Ft=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Lt=/^&([a-z][a-z0-9]{1,31});/i;function zt(e,t){var r,n,o,s,i,a,l,c,u={},p=t.length;for(r=0;ri;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=0&&32===e.pending.charCodeAt(r)?r>=1&&32===e.pending.charCodeAt(r-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),o++;o=d)return!1;if(f=a,(l=e.md.helpers.parseLinkDestination(e.src,a,e.posMax)).ok){for(u=e.md.normalizeLink(l.str),e.md.validateLink(u)?a=l.pos:u="",f=a;a=d||41!==e.src.charCodeAt(a))&&(m=!0),a++}if(m){if(void 0===e.env.references)return!1;if(a=0?o=e.src.slice(f,a++):a=s+1):a=s+1,o||(o=e.src.slice(i,s)),!(c=e.env.references[kt(o)]))return e.pos=h,!1;u=c.href,p=c.title}return t||(e.pos=i,e.posMax=s,e.push("link_open","a",1).attrs=r=[["href",u]],p&&r.push(["title",p]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=a,e.posMax=d,!0}],["image",function(e,t){var r,n,o,s,i,a,l,c,u,p,h,d,f,m="",g=e.pos,_=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(a=e.pos+2,(i=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((l=i+1)<_&&40===e.src.charCodeAt(l)){for(l++;l<_&&(n=e.src.charCodeAt(l),xt(n)||10===n);l++);if(l>=_)return!1;for(f=l,(u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(m=e.md.normalizeLink(u.str),e.md.validateLink(m)?l=u.pos:m=""),f=l;l<_&&(n=e.src.charCodeAt(l),xt(n)||10===n);l++);if(u=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<_&&f!==l&&u.ok)for(p=u.str,l=u.pos;l<_&&(n=e.src.charCodeAt(l),xt(n)||10===n);l++);else p="";if(l>=_||41!==e.src.charCodeAt(l))return e.pos=g,!1;l++}else{if(void 0===e.env.references)return!1;if(l<_&&91===e.src.charCodeAt(l)?(f=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?s=e.src.slice(f,l++):l=i+1):l=i+1,s||(s=e.src.slice(a,i)),!(c=e.env.references[Ct(s)]))return e.pos=g,!1;m=c.href,p=c.title}return t||(o=e.src.slice(a,i),e.md.inline.parse(o,e.md,e.env,d=[]),(h=e.push("image","img",0)).attrs=r=[["src",m],["alt",""]],h.children=d,h.content=o,p&&r.push(["title",p])),e.pos=l,e.posMax=_,!0}],["autolink",function(e,t){var r,n,o,s,i,a,l=e.pos;if(60!==e.src.charCodeAt(l))return!1;for(i=e.pos,a=e.posMax;;){if(++l>=a)return!1;if(60===(s=e.src.charCodeAt(l)))return!1;if(62===s)break}return r=e.src.slice(i+1,l),wt.test(r)?(n=e.md.normalizeLink(r),!!e.md.validateLink(n)&&(t||((o=e.push("link_open","a",1)).attrs=[["href",n]],o.markup="autolink",o.info="auto",(o=e.push("text","",0)).content=e.md.normalizeLinkText(r),(o=e.push("link_close","a",-1)).markup="autolink",o.info="auto"),e.pos+=r.length+2,!0)):!!At.test(r)&&(n=e.md.normalizeLink("mailto:"+r),!!e.md.validateLink(n)&&(t||((o=e.push("link_open","a",1)).attrs=[["href",n]],o.markup="autolink",o.info="auto",(o=e.push("text","",0)).content=e.md.normalizeLinkText(r),(o=e.push("link_close","a",-1)).markup="autolink",o.info="auto"),e.pos+=r.length+2,!0))}],["html_inline",function(e,t){var r,n,o,s=e.pos;return!!e.md.options.html&&(o=e.posMax,!(60!==e.src.charCodeAt(s)||s+2>=o)&&(!(33!==(r=e.src.charCodeAt(s+1))&&63!==r&&47!==r&&!function(e){var t=32|e;return t>=97&&t<=122}(r))&&(!!(n=e.src.slice(s).match(Dt))&&(t||(e.push("html_inline","",0).content=e.src.slice(s,s+n[0].length)),e.pos+=n[0].length,!0))))}],["entity",function(e,t){var r,n,o=e.pos,s=e.posMax;if(38!==e.src.charCodeAt(o))return!1;if(o+10&&n++,"text"===o[t].type&&t+1=s)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},jt.prototype.parse=function(e,t,r,n){var o,s,i,a=new this.State(e,t,r,n);for(this.tokenize(a),i=(s=this.ruler2.getRules("")).length,o=0;o=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},Jt="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Wt(e){var t=e.re=function(e){var t={};return t.src_Any=re.source,t.src_Cc=ne.source,t.src_Z=oe.source,t.src_P=M.source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|"),t.src_pseudo_letter="(?:(?![><|]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><|]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><|]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}(e.__opts__),r=e.__tlds__.slice();function n(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");var o=[];function s(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var r=e.__schemas__[t];if(null!==r){var n={validate:null,link:null};if(e.__compiled__[t]=n,"[object Object]"===Vt(r))return!function(e){return"[object RegExp]"===Vt(e)}(r.validate)?Zt(r.validate)?n.validate=r.validate:s(t,r):n.validate=function(e){return function(t,r){var n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}(r.validate),void(Zt(r.normalize)?n.normalize=r.normalize:r.normalize?s(t,r):n.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===Vt(e)}(r)?s(t,r):o.push(t)}})),o.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var i=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(Ht).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+i+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+i+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function Yt(e,t){var r=e.__index__,n=e.__last_index__,o=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=o,this.text=o,this.url=o}function Kt(e,t){var r=new Yt(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function Qt(e,t){if(!(this instanceof Qt))return new Qt(e,t);var r;t||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||$t.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=Ut({},$t,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Ut({},Gt,e),this.__compiled__={},this.__tlds__=Jt,this.__tlds_replaced__=!1,this.re={},Wt(this)}Qt.prototype.add=function(e,t){return this.__schemas__[e]=t,Wt(this),this},Qt.prototype.set=function(e){return this.__opts__=Ut(this.__opts__,e),this},Qt.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,n,o,s,i,a,l;if(this.re.schema_test.test(e))for((a=this.re.schema_search).lastIndex=0;null!==(t=a.exec(e));)if(o=this.testSchemaAt(e,t[2],a.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l=0&&null!==(n=e.match(this.re.email_fuzzy))&&(s=n.index+n[1].length,i=n.index+n[0].length,(this.__index__<0||sthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=s,this.__last_index__=i)),this.__index__>=0},Qt.prototype.pretest=function(e){return this.re.pretest.test(e)},Qt.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},Qt.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(Kt(this,t)),t=this.__last_index__);for(var n=t?e.slice(t):e;this.test(n);)r.push(Kt(this,t)),n=n.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},Qt.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,r){return e!==r[t-1]})).reverse(),Wt(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Wt(this),this)},Qt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},Qt.prototype.onCompile=function(){};var Xt=Qt,er=2147483647,tr=36,rr=/^xn--/,nr=/[^\0-\x7E]/,or=/[\x2E\u3002\uFF0E\uFF61]/g,sr={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ir=Math.floor,ar=String.fromCharCode;function lr(e){throw new RangeError(sr[e])}function cr(e,t){var r=e.split("@"),n="";r.length>1&&(n=r[0]+"@",e=r[1]);var o=function(e,t){for(var r=[],n=e.length;n--;)r[n]=t(e[n]);return r}((e=e.replace(or,".")).split("."),t).join(".");return n+o}function ur(e){for(var t=[],r=0,n=e.length;r=55296&&o<=56319&&r>1,e+=ir(e/t);e>455;n+=tr)e=ir(e/35);return ir(n+36*e/(e+38))},fr=function(e){var t,r=[],n=e.length,o=0,s=128,i=72,a=e.lastIndexOf("-");a<0&&(a=0);for(var l=0;l=128&&lr("not-basic"),r.push(e.charCodeAt(l));for(var c=a>0?a+1:0;c=n&&lr("invalid-input");var d=(t=e.charCodeAt(c++))-48<10?t-22:t-65<26?t-65:t-97<26?t-97:tr;(d>=tr||d>ir((er-o)/p))&&lr("overflow"),o+=d*p;var f=h<=i?1:h>=i+26?26:h-i;if(dir(er/m)&&lr("overflow"),p*=m}var g=r.length+1;i=dr(o-u,g,0==u),ir(o/g)>er-s&&lr("overflow"),s+=ir(o/g),o%=g,r.splice(o++,0,s)}return String.fromCodePoint.apply(String,r)},mr=function(e){for(var t,r=[],n=(e=ur(e)).length,o=128,s=0,i=72,a=_createForOfIteratorHelperLoose(e);!(t=a()).done;){var l=t.value;l<128&&r.push(ar(l))}var c=r.length,u=c;for(c&&r.push("-");u=o&&fir((er-s)/m)&&lr("overflow"),s+=(h-o)*m,o=h;for(var g,_=_createForOfIteratorHelperLoose(e);!(g=_()).done;){var b=g.value;if(ber&&lr("overflow"),b==o){for(var v=s,k=tr;;k+=tr){var y=k<=i?1:k>=i+26?26:k-i;if(v=0))try{t.hostname=kr.toASCII(t.hostname)}catch(r){}return te.encode(te.format(t))}function Er(e){var t=te.parse(e,!0);if(t.hostname&&(!t.protocol||wr.indexOf(t.protocol)>=0))try{t.hostname=kr.toUnicode(t.hostname)}catch(r){}return te.decode(te.format(t),te.decode.defaultChars+"%")}function qr(e,t){if(!(this instanceof qr))return new qr(e,t);t||ie.isString(e)||(t=e||{},e="default"),this.inline=new Ot,this.block=new ut,this.core=new Ue,this.renderer=new me,this.linkify=new Xt,this.validateLink=Ar,this.normalizeLink=Dr,this.normalizeLinkText=Er,this.utils=ie,this.helpers=ie.assign({},ce),this.options={},this.configure(e),t&&this.set(t)}qr.prototype.set=function(e){return ie.assign(this.options,e),this},qr.prototype.configure=function(e){var t,r=this;if(ie.isString(e)&&!(e=yr[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&r.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&r[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&r[t].ruler2.enableOnly(e.components[t].rules2)})),this},qr.prototype.enable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.enable(e,!0))}),this),r=r.concat(this.inline.ruler2.enable(e,!0));var n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},qr.prototype.disable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.disable(e,!0))}),this),r=r.concat(this.inline.ruler2.disable(e,!0));var n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},qr.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},qr.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},qr.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},qr.prototype.parseInline=function(e,t){var r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},qr.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};var Sr=new qr,Fr=b();v("data-v-44467b26");var Lr={class:"comment-container"},zr={class:"comment-send"},Ir={class:"comment-input"},Tr=a("div",{class:"comment-title"},[a("span",null,"文章交流区")],-1),Rr={class:"comment-list"},Mr={class:"comment-avatar"},Br={class:"comment-content"},Nr={class:"main-comment"},Pr={class:"comment-user-info"},jr={class:"floor"},Or={class:"badge"},Ur={key:0,class:"author"},Vr={class:"time"},Zr={class:"main-content"},Hr={key:0,class:"empty-content"};k();var $r=n({expose:[],props:{postId:Number,authorId:Number},setup:function(e){var t=e,r=A(),n=w(),b=D(),v=computed((function(){var e,t;return null!=(e=null==b||null==(t=b.User)?void 0:t.Id)&&e})),k=reactive({text:"",submitting:!1,list:[],page:1,loaded:!1,listLoadingStatus:0}),C=function(){k.text?k.submitting?r.warning("评论过快"):(k.submitting=!0,q({PostID:t.postId||-1,AuthorUID:t.authorId||-1,Content:k.text+" ____ From Vue-next"}).then((function(e){if(null!=e&&e.ErrorCode)return 3000009===e.ErrorCode?void r.warning("触发敏感词,请礼貌用语~"):403===e.ErrorCode?void r.info("登录状态过期,跳转登录中...",{timeout:1500,onClose:function(){n.push("/signin")}}):void r.warning("评论出错: "+e.ErrorCode+" "+e.ErrorMsg);r.success("评论成功~"),k.text="",k.listLoadingStatus=1,E({Page:1,Size:15,PostID:t.postId||-1}).then((function(e){var t,r,n=null!=(t=null==e||null==(r=e.Result)?void 0:r.Comments)?t:[];k.list=n})).finally((function(){k.listLoadingStatus=0}))})).finally((function(){k.submitting=!1}))):r.warning("评论不能为空")},x=function(){n.push("/signin")},S=z;onMounted((function(){k.listLoadingStatus=2,k.page=1,k.loaded=!1,E({PostID:t.postId||0,Page:1,Size:15}).then((function(e){var t,n,o,s=null!=(t=null==e||null==(n=e.Result)?void 0:n.Comments)?t:[];k.list=s,15===s.length?k.loaded=!1:k.loaded=!0,e.ErrorCode&&r.warning(null!=(o=null==e?void 0:e.ErrorMsg)?o:""+e.ErrorCode)})).finally((function(){k.listLoadingStatus=0}))}));var F=function(){k.page+=1,k.listLoadingStatus=2,E({PostID:t.postId||-1,Page:k.page,Size:15}).then((function(e){var t,r,n=null!=(t=null==e||null==(r=e.Result)?void 0:r.Comments)?t:[];15===n.length?k.loaded=!1:k.loaded=!0,k.list=[].concat(k.list,n)})).finally((function(){k.listLoadingStatus=0}))};return Fr((function(e,t){var r=o("Avatar"),n=o("router-link"),b=o("LoadingBall");return s(),i("div",Lr,[a("div",zr,[a("div",Ir,[l(a("textarea",{placeholder:"说说你的看法吧~ , ctrl + enter 可快速提交。","onUpdate:modelValue":t[1]||(t[1]=function(e){return k.text=e}),onKeydown:u(y(C,["ctrl"]),["enter"])},null,40,["onKeydown"]),[[c,k.text,void 0,{trim:!0}]])]),p(v)?(s(),i("div",{key:0,class:"comment-btn",onClick:C}," 发表评论 ")):(s(),i("div",{key:1,class:"comment-btn",onClick:x},"登录发表评论"))]),Tr,a("div",Rr,[a(h,{name:"list"},{default:Fr((function(){return[(s(!0),i(d,null,f(k.list,(function(t,o){return s(),i("div",{class:"comment-item",key:t.Id},[a("div",Mr,[a(n,{to:"/users/"+t.CommentUserInfo.UID},{default:Fr((function(){return[a(r,{size:"32px",src:t.CommentUserInfo.Avatar},null,8,["src"])]})),_:2},1032,["to"])]),a("div",Br,[a("div",Nr,[a("div",Pr,[a("span",jr,"#"+m(k.list.length-o),1),a(n,{to:"/users/"+t.CommentUserInfo.UID},{default:Fr((function(){return[g(m(t.CommentUserInfo.Nickname),1)]})),_:2},1032,["to"]),a("span",Or,[t.CommentUserInfo.UID==e.$props.authorId?(s(),i("sup",Ur,"本文作者")):_("",!0),(s(!0),i(d,null,f(t.CommentUserInfo.Roles,(function(e){return s(),i("sup",{class:"role",key:e.RID},m(e.Description),1)})),128))]),a("span",Vr,m(p(S)(t.CreatedAt)),1)]),a("div",Zr,m(t.Content),1)])])])})),128))]})),_:1}),0!==k.list.length||k.listLoadingStatus?_("",!0):(s(),i("div",Hr," 暂无任何评论,快去发表吧~ ")),a(b,{loading:k.list.length>0&&2==k.listLoadingStatus},null,8,["loading"]),k.loaded||k.listLoadingStatus?_("",!0):(s(),i("div",{key:1,class:"btn-next",onClick:F}," 查看更多 "))])])}))}});$r.__scopeId="data-v-44467b26";var Gr=b();v("data-v-ad8ad844");var Jr={key:0},Wr={class:"article-title"},Yr={class:"artilce-info"},Kr=g(" 分类: "),Qr={class:"article-navi"};k();e("default",n({expose:[],props:{pid:{required:!0,type:Number,validator:function(e){return!isNaN(+e)}}},setup:function(e){var t=e,r=A(),n=S(t.pid),c=n.data,u=n.loading,h=computed((function(){var e,t;return Sr.render(null!=(e=null==(t=c.value.Result)?void 0:t.Content)?e:"")})),d=computed((function(){var e,t;return I(null!=(e=null==(t=c.value.Result)?void 0:t.CreatedAt)?e:Date.now())})),f=computed((function(){var e;return null==(e=c.value.Result)?void 0:e.Title})),b=computed((function(){var e;return null==(e=c.value.Result)?void 0:e.Summary})),v=computed((function(){var e;return null==(e=c.value.Result)?void 0:e.AuthorInfo.UID})),k=computed((function(){var e;return null==(e=c.value.Result)?void 0:e.AuthorInfo.Nickname})),y=computed((function(){var e;return null==(e=c.value.Result)?void 0:e.Category.Id})),w=computed((function(){var e;return null==(e=c.value.Result)?void 0:e.Category.CN})),D=computed((function(){var e,t,r;return null==(e=c.value.Result)||null==(t=e.Navigation)||null==(r=t.Prev)?void 0:r.Id})),E=computed((function(){var e,t,r;return null==(e=c.value.Result)||null==(t=e.Navigation)||null==(r=t.Next)?void 0:r.Id})),q=computed((function(){var e,t,r;return null==(e=c.value.Result)||null==(t=e.Navigation)||null==(r=t.Next)?void 0:r.Title})),z=computed((function(){var e,t,r;return null==(e=c.value.Result)||null==(t=e.Navigation)||null==(r=t.Prev)?void 0:r.Title})),T=computed((function(){return k.value+"发表了"+f.value+","+b.value}));return F({title:f,meta:[{name:"description",content:T},{name:"author",content:k}]}),watch((function(){return null==c?void 0:c.value.ErrorMsg}),(function(e,t){r.error("请求出错:"+e)})),Gr((function(e,r){var n=o("LoadingBall"),c=o("router-link"),b=C("highlight");return s(),i(L,null,{default:Gr((function(){return[a(n,{loading:p(u),info:"努力加载文章中","info-size":"18px",padding:"30vh 0"},null,8,["loading"]),a(x,{name:"content"},{default:Gr((function(){return[p(u)?_("",!0):(s(),i("main",Jr,[a("h1",Wr,m(p(f)),1),a("div",Yr,[a("span",null,[a(c,{to:"/users/"+p(v)},{default:Gr((function(){return[a("a",null,m(p(k)),1)]})),_:1},8,["to"])]),a("span",null,"发表于: "+m(p(d)),1),a("span",null,[Kr,a(c,{to:"/?CategoryID="+p(y)},{default:Gr((function(){return[g(m(p(w)),1)]})),_:1},8,["to"])])]),l(a("div",{innerHTML:p(h),class:"article-container"},null,8,["innerHTML"]),[[b]]),a("div",Qr,[a("div",null,[p(D)?(s(),i(c,{key:0,to:"/post/"+p(D)},{default:Gr((function(){return[g(" 上一篇 « "+m(p(z)),1)]})),_:1},8,["to"])):_("",!0)]),a("div",null,[p(E)?(s(),i(c,{key:0,to:"/post/"+p(E)},{default:Gr((function(){return[g(" 下一篇 » "+m(p(q)),1)]})),_:1},8,["to"])):_("",!0)])]),a($r,{"author-id":p(v),"post-id":t.pid},null,8,["author-id","post-id"])]))]})),_:1})]})),_:1})}))}})).__scopeId="data-v-ad8ad844"}}})); diff --git a/assets/pid.89964575.js b/assets/pid.60f44e77.js similarity index 99% rename from assets/pid.89964575.js rename to assets/pid.60f44e77.js index 1c94212..0d91638 100644 --- a/assets/pid.89964575.js +++ b/assets/pid.60f44e77.js @@ -1 +1 @@ -import{J as e,V as t,k as r,x as n,n as s,p as o,z as i,W as a,X as l,Y as c,u,T as p,F as h,E as d,B as f,A as m,y as g,N as _,O as k,P as b,D as v,Z as C,_ as y}from"./vendor.18b3a30d.js";import{c as A,b as x,u as D,d as w,P as E,U as q,a as S}from"./index.7b8df9f4.js";import{_ as F}from"./index.vue_vue&type=style&index=0&lang.d6191442.js";import{D as L,F as z}from"./time.93dfc2a8.js";var I={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},T=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,R={};function M(e,t,r){var n,s,o,i,a,l="";for("string"!=typeof t&&(r=t,t=M.defaultChars),void 0===r&&(r=!0),a=function(e){var t,r,n=R[e];if(n)return n;for(n=R[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),/^[0-9a-z]$/i.test(r)?n.push(r):n.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&o<=57343){if(o>=55296&&o<=56319&&n+1=56320&&i<=57343){l+=encodeURIComponent(e[n]+e[n+1]),n++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[n]);return l}M.defaultChars=";/?:@&=+$,-_.!~*'()#",M.componentChars="-_.!~*'()";var B=M,N={};function P(e,t){var r;return"string"!=typeof t&&(t=P.defaultChars),r=function(e){var t,r,n=N[e];if(n)return n;for(n=N[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),n.push(r);for(t=0;t=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&s)&&t+91114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c}))}P.defaultChars=";/?:@&=+$,#",P.componentChars="";var U=P;function O(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var j=/^([a-z0-9.+-]+:)/i,V=/:[0-9]*$/,$=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Z=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),G=["'"].concat(Z),H=["%","/","?",";","#"].concat(G),J=["/","?","#"],W=/^[+a-z0-9A-Z_-]{0,63}$/,Y=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,K={javascript:!0,"javascript:":!0},Q={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};O.prototype.parse=function(e,t){var r,n,s,o,i,a=e;if(a=a.trim(),!t&&1===e.split("#").length){var l=$.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=j.exec(a);if(c&&(s=(c=c[0]).toLowerCase(),this.protocol=c,a=a.substr(c.length)),(t||c||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(i="//"===a.substr(0,2))||c&&K[c]||(a=a.substr(2),this.slashes=!0)),!K[c]&&(i||c&&!Q[c])){var u,p,h=-1;for(r=0;r127?_+="x":_+=g[k];if(!_.match(W)){var v=m.slice(0,r),C=m.slice(r+1),y=g.match(Y);y&&(v.push(y[1]),C.unshift(y[2])),C.length&&(a=C.join(".")+a),this.hostname=v.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),f&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var A=a.indexOf("#");-1!==A&&(this.hash=a.substr(A),a=a.slice(0,A));var x=a.indexOf("?");return-1!==x&&(this.search=a.substr(x),a=a.slice(0,x)),a&&(this.pathname=a),Q[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this},O.prototype.parseHost=function(e){var t=V.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var X={encode:B,decode:U,format:function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""},parse:function(e,t){if(e&&e instanceof O)return e;var r=new O;return r.parse(e,t),r}},ee=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,te=/[\0-\x1F\x7F-\x9F]/,re=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,ne={Any:ee,Cc:te,Cf:/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,P:T,Z:re},se=e((function(e,t){var r=Object.prototype.hasOwnProperty;function n(e,t){return r.call(e,t)}function s(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function o(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}var i=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,a=new RegExp(i.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;var c=/[&<>"]/,u=/[&<>"]/g,p={"&":"&","<":"<",">":">",'"':"""};function h(e){return p[e]}var d=/[.?*+^$[\]\\(){}|-]/g;t.lib={},t.lib.mdurl=X,t.lib.ucmicro=ne,t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(r){e[r]=t[r]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=n,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(i,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(a,(function(e,t,r){return t||function(e,t){var r=0;return n(I,t)?I[t]:35===t.charCodeAt(0)&&l.test(t)&&s(r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?o(r):e}(e,r)}))},t.isValidEntityCode=s,t.fromCodePoint=o,t.escapeHtml=function(e){return c.test(e)?e.replace(u,h):e},t.arrayReplaceAt=function(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return T.test(e)},t.escapeRE=function(e){return e.replace(d,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}})),oe=se.unescapeAll,ie=se.unescapeAll,ae={parseLinkLabel:function(e,t,r){var n,s,o,i,a=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,n=1;e.pos32)return i;if(41===n){if(0===s)break;s--}t++}return o===t||0!==s||(i.str=oe(e.slice(o,t)),i.lines=0,i.pos=t,i.ok=!0),i},parseLinkTitle:function(e,t,r){var n,s,o=0,i=t,a={ok:!1,pos:0,lines:0,str:""};if(t>=r)return a;if(34!==(s=e.charCodeAt(t))&&39!==s&&40!==s)return a;for(t++,40===s&&(s=41);t"+ue(e[t].content)+""},pe.code_block=function(e,t,r,n,s){var o=e[t];return""+ue(e[t].content)+"\n"},pe.fence=function(e,t,r,n,s){var o,i,a,l,c,u=e[t],p=u.info?ce(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)||ue(u.content)).indexOf(""+o+"\n"):"
"+o+"
\n"},pe.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)},pe.hardbreak=function(e,t,r){return r.xhtmlOut?"
\n":"
\n"},pe.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"
\n":"
\n":"\n"},pe.text=function(e,t){return ue(e[t].content)},pe.html_block=function(e,t){return e[t].content},pe.html_inline=function(e,t){return e[t].content},he.prototype.renderAttrs=function(e){var t,r,n;if(!e.attrs)return"";for(n="",t=0,r=e.attrs.length;t\n":">")},he.prototype.renderInline=function(e,t,r){for(var n,s="",o=this.rules,i=0,a=e.length;i/i.test(e)}var ve=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Ce=/\((c|tm|r|p)\)/i,ye=/\((c|tm|r|p)\)/gi,Ae={c:"©",r:"®",p:"§",tm:"™"};function xe(e,t){return Ae[t.toLowerCase()]}function De(e){var t,r,n=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||n||(r.content=r.content.replace(ye,xe)),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}function we(e){var t,r,n=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||n||ve.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}var Ee=se.isWhiteSpace,qe=se.isPunctChar,Se=se.isMdAsciiPunct,Fe=/['"]/,Le=/['"]/g;function ze(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}function Ie(e,t){var r,n,s,o,i,a,l,c,u,p,h,d,f,m,g,_,k,b,v,C,y;for(v=[],r=0;r=0&&!(v[k].level<=l);k--);if(v.length=k+1,"text"===n.type){i=0,a=(s=n.content).length;e:for(;i=0)u=s.charCodeAt(o.index-1);else for(k=r-1;k>=0&&("softbreak"!==e[k].type&&"hardbreak"!==e[k].type);k--)if(e[k].content){u=e[k].content.charCodeAt(e[k].content.length-1);break}if(p=32,i=48&&u<=57&&(_=g=!1),g&&_&&(g=h,_=d),g||_){if(_)for(k=v.length-1;k>=0&&(c=v[k],!(v[k].level=0&&(r=this.attrs[t][1]),r},Te.prototype.attrJoin=function(e,t){var r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t};var Re=Te;function Me(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}Me.prototype.Token=Re;var Be=Me,Ne=[["normalize",function(e){var t;t=(t=e.src.replace(ge,"\n")).replace(_e,"�"),e.src=t}],["block",function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){var t,r,n,s=e.tokens;for(r=0,n=s.length;r=0;t--)if("link_close"!==(i=s[t]).type){if("html_inline"===i.type&&(k=i.content,/^\s]/i.test(k)&&d>0&&d--,be(i.content)&&d++),!(d>0)&&"text"===i.type&&e.md.linkify.test(i.content)){for(c=i.content,_=e.md.linkify.match(c),a=[],h=i.level,p=0,l=0;l<_.length;l++)f=_[l].url,m=e.md.normalizeLink(f),e.md.validateLink(m)&&(g=_[l].text,g=_[l].schema?"mailto:"!==_[l].schema||/^mailto:/i.test(g)?e.md.normalizeLinkText(g):e.md.normalizeLinkText("mailto:"+g).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+g).replace(/^http:\/\//,""),(u=_[l].index)>p&&((o=new e.Token("text","",0)).content=c.slice(p,u),o.level=h,a.push(o)),(o=new e.Token("link_open","a",1)).attrs=[["href",m]],o.level=h++,o.markup="linkify",o.info="auto",a.push(o),(o=new e.Token("text","",0)).content=g,o.level=h,a.push(o),(o=new e.Token("link_close","a",-1)).level=--h,o.markup="linkify",o.info="auto",a.push(o),p=_[l].lastIndex);p=0;t--)"inline"===e.tokens[t].type&&(Ce.test(e.tokens[t].content)&&De(e.tokens[t].children),ve.test(e.tokens[t].content)&&we(e.tokens[t].children))}],["smartquotes",function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&Fe.test(e.tokens[t].content)&&Ie(e.tokens[t].children,e)}]];function Pe(){this.ruler=new me;for(var e=0;e=o)return-1;if((r=e.src.charCodeAt(s++))<48||r>57)return-1;for(;;){if(s>=o)return-1;if(!((r=e.src.charCodeAt(s++))>=48&&r<=57)){if(41===r||46===r)break;return-1}if(s-n>=10)return-1}return s`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",Xe="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",et={HTML_TAG_RE:new RegExp("^(?:"+Qe+"|"+Xe+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),HTML_OPEN_CLOSE_TAG_RE:new RegExp("^(?:"+Qe+"|"+Xe+")")},tt=et.HTML_OPEN_CLOSE_TAG_RE,rt=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(tt.source+"\\s*$"),/^$/,!1]],nt=se.isSpace;function st(e,t,r,n){var s,o,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=(o=this.src).length;a0&&this.level++,this.tokens.push(n),n},st.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},st.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!nt(this.src.charCodeAt(--e)))return e+1;return e},st.prototype.skipChars=function(e,t){for(var r=this.src.length;er;)if(t!==this.src.charCodeAt(--e))return e+1;return e},st.prototype.getLines=function(e,t,r,n){var s,o,i,a,l,c,u,p=e;if(e>=t)return"";for(c=new Array(t-e),s=0;pr?new Array(o-r+1).join(" ")+this.src.slice(a,l):this.src.slice(a,l)}return c.join("")},st.prototype.Token=Re;var ot=st,it=[["table",function(e,t,r,n){var s,o,i,a,l,c,u,p,h,d,f,m,g,_,k,b;if(t+2>r)return!1;if(c=t+1,e.sCount[c]=4)return!1;if((i=e.bMarks[c]+e.tShift[c])>=e.eMarks[c])return!1;if(124!==(s=e.src.charCodeAt(i++))&&45!==s&&58!==s)return!1;for(;i=4)return!1;if((u=Ve(o)).length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),0===(p=u.length)||p!==d.length)return!1;if(n)return!0;for(_=e.parentType,e.parentType="table",b=e.md.block.ruler.getRules("blockquote"),(h=e.push("table_open","table",1)).map=m=[t,0],(h=e.push("thead_open","thead",1)).map=[t,t+1],(h=e.push("tr_open","tr",1)).map=[t,t+1],a=0;a=4)break;for((u=Ve(o)).length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),c===t+2&&((h=e.push("tbody_open","tbody",1)).map=g=[t+2,0]),(h=e.push("tr_open","tr",1)).map=[c,c+1],a=0;a=4))break;s=++n}return e.line=s,(o=e.push("code_block","code",0)).content=e.getLines(t,s,4+e.blkIndent,!0),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]=4||(h=e.skipChars(h,s))-l=4)return!1;if(62!==e.src.charCodeAt(D++))return!1;if(n)return!0;for(a=h=e.sCount[t]+1,32===e.src.charCodeAt(D)?(D++,a++,h++,s=!1,b=!0):9===e.src.charCodeAt(D)?(b=!0,(e.bsCount[t]+h)%4==3?(D++,a++,h++,s=!1):s=!0):b=!1,d=[e.bMarks[t]],e.bMarks[t]=D;D=w,_=[e.sCount[t]],e.sCount[t]=h-a,k=[e.tShift[t]],e.tShift[t]=D-e.bMarks[t],C=e.md.block.ruler.getRules("blockquote"),g=e.parentType,e.parentType="blockquote",p=t+1;p=(w=e.eMarks[p])));p++)if(62!==e.src.charCodeAt(D++)||A){if(c)break;for(v=!1,i=0,l=C.length;i=w,f.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(b?1:0),_.push(e.sCount[p]),e.sCount[p]=h-a,k.push(e.tShift[p]),e.tShift[p]=D-e.bMarks[p]}for(m=e.blkIndent,e.blkIndent=0,(y=e.push("blockquote_open","blockquote",1)).markup=">",y.map=u=[t,0],e.md.block.tokenize(e,t,p),(y=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=x,e.parentType=g,u[1]=e.line,i=0;i=4)return!1;if(42!==(s=e.src.charCodeAt(l++))&&45!==s&&95!==s)return!1;for(o=1;l=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]=e.blkIndent&&(z=!0),(w=Je(e,t))>=0){if(u=!0,q=e.bMarks[t]+e.tShift[t],g=Number(e.src.substr(q,w-q-1)),z&&1!==g)return!1}else{if(!((w=He(e,t))>=0))return!1;u=!1}if(z&&e.skipSpaces(w)>=e.eMarks[t])return!1;if(m=e.src.charCodeAt(w-1),n)return!0;for(f=e.tokens.length,u?(L=e.push("ordered_list_open","ol",1),1!==g&&(L.attrs=[["start",g]])):L=e.push("bullet_list_open","ul",1),L.map=d=[t,0],L.markup=String.fromCharCode(m),k=t,E=!1,F=e.md.block.ruler.getRules("list"),C=e.parentType,e.parentType="list";k=_?1:b-c)>4&&(l=1),a=c+l,(L=e.push("list_item_open","li",1)).markup=String.fromCharCode(m),L.map=p=[t,0],x=e.tight,A=e.tShift[t],y=e.sCount[t],v=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=a,e.tight=!0,e.tShift[t]=o-e.bMarks[t],e.sCount[t]=b,o>=_&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,t,r,!0),e.tight&&!E||(I=!1),E=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=v,e.tShift[t]=A,e.sCount[t]=y,e.tight=x,(L=e.push("list_item_close","li",-1)).markup=String.fromCharCode(m),k=t=e.line,p[1]=k,o=e.bMarks[t],k>=r)break;if(e.sCount[k]=4)break;for(S=!1,i=0,h=F.length;i=4)return!1;if(91!==e.src.charCodeAt(C))return!1;for(;++C3||e.sCount[A]<0)){for(_=!1,c=0,u=k.length;c=4)return!1;if(35!==(s=e.src.charCodeAt(l))||l>=c)return!1;for(o=1,s=e.src.charCodeAt(++l);35===s&&l6||ll&&Ke(e.src.charCodeAt(i-1))&&(c=i),e.line=t+1,(a=e.push("heading_open","h"+String(o),1)).markup="########".slice(0,o),a.map=[t,e.line],(a=e.push("inline","",0)).content=e.src.slice(l,c).trim(),a.map=[t,e.line],a.children=[],(a=e.push("heading_close","h"+String(o),-1)).markup="########".slice(0,o)),!0)},["paragraph","reference","blockquote"]],["lheading",function(e,t,r){var n,s,o,i,a,l,c,u,p,h,d=t+1,f=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(h=e.parentType,e.parentType="paragraph";d3)){if(e.sCount[d]>=e.blkIndent&&(l=e.bMarks[d]+e.tShift[d])<(c=e.eMarks[d])&&(45===(p=e.src.charCodeAt(l))||61===p)&&(l=e.skipChars(l,p),(l=e.skipSpaces(l))>=c)){u=61===p?1:2;break}if(!(e.sCount[d]<0)){for(s=!1,o=0,i=f.length;o=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(a=e.src.slice(l,c),s=0;s3||e.sCount[l]<0)){for(n=!1,s=0,o=c.length;s=r))&&!(e.sCount[i]=l){e.line=r;break}for(n=0;n?@[]^_`{|}~-".split("").forEach((function(e){ht[e.charCodeAt(0)]=1}));function ft(e,t){var r,n,s,o,i,a=[],l=t.length;for(r=0;r=0;r--)95!==(n=t[r]).marker&&42!==n.marker||-1!==n.end&&(s=t[n.end],a=r>0&&t[r-1].end===n.end+1&&t[r-1].token===n.token-1&&t[n.end+1].token===s.token+1&&t[r-1].marker===n.marker,i=String.fromCharCode(n.marker),(o=e.tokens[n.token]).type=a?"strong_open":"em_open",o.tag=a?"strong":"em",o.nesting=1,o.markup=a?i+i:i,o.content="",(o=e.tokens[s.token]).type=a?"strong_close":"em_close",o.tag=a?"strong":"em",o.nesting=-1,o.markup=a?i+i:i,o.content="",a&&(e.tokens[t[r-1].token].content="",e.tokens[t[n.end+1].token].content="",r--))}var _t={tokenize:function(e,t){var r,n,s=e.pos,o=e.src.charCodeAt(s);if(t)return!1;if(95!==o&&42!==o)return!1;for(n=e.scanDelims(e.pos,42===o),r=0;r\x00-\x20]*)$/,xt=et.HTML_TAG_RE;var Dt=se.has,wt=se.isValidEntityCode,Et=se.fromCodePoint,qt=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,St=/^&([a-z][a-z0-9]{1,31});/i;function Ft(e,t){var r,n,s,o,i,a,l,c,u={},p=t.length;for(r=0;ri;n-=o.jump+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?t[n-1].jump+1:0,s.jump=r-n+c,s.open=!1,o.end=r,o.jump=c,o.close=!1,a=-1;break}-1!==a&&(u[s.marker][(s.length||0)%3]=a)}}var Lt=se.isWhiteSpace,zt=se.isPunctChar,It=se.isMdAsciiPunct;function Tt(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}Tt.prototype.pushPending=function(){var e=new Re("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},Tt.prototype.push=function(e,t,r){this.pending&&this.pushPending();var n=new Re(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},Tt.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=0&&32===e.pending.charCodeAt(r)?r>=1&&32===e.pending.charCodeAt(r-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),s++;s=d)return!1;if(f=a,(l=e.md.helpers.parseLinkDestination(e.src,a,e.posMax)).ok){for(u=e.md.normalizeLink(l.str),e.md.validateLink(u)?a=l.pos:u="",f=a;a=d||41!==e.src.charCodeAt(a))&&(m=!0),a++}if(m){if(void 0===e.env.references)return!1;if(a=0?s=e.src.slice(f,a++):a=o+1):a=o+1,s||(s=e.src.slice(i,o)),!(c=e.env.references[kt(s)]))return e.pos=h,!1;u=c.href,p=c.title}return t||(e.pos=i,e.posMax=o,e.push("link_open","a",1).attrs=r=[["href",u]],p&&r.push(["title",p]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=a,e.posMax=d,!0}],["image",function(e,t){var r,n,s,o,i,a,l,c,u,p,h,d,f,m="",g=e.pos,_=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(a=e.pos+2,(i=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((l=i+1)<_&&40===e.src.charCodeAt(l)){for(l++;l<_&&(n=e.src.charCodeAt(l),Ct(n)||10===n);l++);if(l>=_)return!1;for(f=l,(u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(m=e.md.normalizeLink(u.str),e.md.validateLink(m)?l=u.pos:m=""),f=l;l<_&&(n=e.src.charCodeAt(l),Ct(n)||10===n);l++);if(u=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<_&&f!==l&&u.ok)for(p=u.str,l=u.pos;l<_&&(n=e.src.charCodeAt(l),Ct(n)||10===n);l++);else p="";if(l>=_||41!==e.src.charCodeAt(l))return e.pos=g,!1;l++}else{if(void 0===e.env.references)return!1;if(l<_&&91===e.src.charCodeAt(l)?(f=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?o=e.src.slice(f,l++):l=i+1):l=i+1,o||(o=e.src.slice(a,i)),!(c=e.env.references[vt(o)]))return e.pos=g,!1;m=c.href,p=c.title}return t||(s=e.src.slice(a,i),e.md.inline.parse(s,e.md,e.env,d=[]),(h=e.push("image","img",0)).attrs=r=[["src",m],["alt",""]],h.children=d,h.content=s,p&&r.push(["title",p])),e.pos=l,e.posMax=_,!0}],["autolink",function(e,t){var r,n,s,o,i,a,l=e.pos;if(60!==e.src.charCodeAt(l))return!1;for(i=e.pos,a=e.posMax;;){if(++l>=a)return!1;if(60===(o=e.src.charCodeAt(l)))return!1;if(62===o)break}return r=e.src.slice(i+1,l),At.test(r)?(n=e.md.normalizeLink(r),!!e.md.validateLink(n)&&(t||((s=e.push("link_open","a",1)).attrs=[["href",n]],s.markup="autolink",s.info="auto",(s=e.push("text","",0)).content=e.md.normalizeLinkText(r),(s=e.push("link_close","a",-1)).markup="autolink",s.info="auto"),e.pos+=r.length+2,!0)):!!yt.test(r)&&(n=e.md.normalizeLink("mailto:"+r),!!e.md.validateLink(n)&&(t||((s=e.push("link_open","a",1)).attrs=[["href",n]],s.markup="autolink",s.info="auto",(s=e.push("text","",0)).content=e.md.normalizeLinkText(r),(s=e.push("link_close","a",-1)).markup="autolink",s.info="auto"),e.pos+=r.length+2,!0))}],["html_inline",function(e,t){var r,n,s,o=e.pos;return!!e.md.options.html&&(s=e.posMax,!(60!==e.src.charCodeAt(o)||o+2>=s)&&(!(33!==(r=e.src.charCodeAt(o+1))&&63!==r&&47!==r&&!function(e){var t=32|e;return t>=97&&t<=122}(r))&&(!!(n=e.src.slice(o).match(xt))&&(t||(e.push("html_inline","",0).content=e.src.slice(o,o+n[0].length)),e.pos+=n[0].length,!0))))}],["entity",function(e,t){var r,n,s=e.pos,o=e.posMax;if(38!==e.src.charCodeAt(s))return!1;if(s+10&&n++,"text"===s[t].type&&t+1=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},Nt.prototype.parse=function(e,t,r,n){var s,o,i,a=new this.State(e,t,r,n);for(this.tokenize(a),i=(o=this.ruler2.getRules("")).length,s=0;s=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},Gt="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Ht(e){var t,r,n=e.re=(t=e.__opts__,(r={}).src_Any=ee.source,r.src_Cc=te.source,r.src_Z=re.source,r.src_P=T.source,r.src_ZPCc=[r.src_Z,r.src_P,r.src_Cc].join("|"),r.src_ZCc=[r.src_Z,r.src_Cc].join("|"),r.src_pseudo_letter="(?:(?![><|]|"+r.src_ZPCc+")"+r.src_Any+")",r.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",r.src_auth="(?:(?:(?!"+r.src_ZCc+"|[@/\\[\\]()]).)+@)?",r.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",r.src_host_terminator="(?=$|[><|]|"+r.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+r.src_ZPCc+"))",r.src_path="(?:[/?#](?:(?!"+r.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+r.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+r.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+r.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+r.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+r.src_ZCc+"|[']).)+\\'|\\'(?="+r.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+r.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+r.src_ZCc+").|\\!+(?!"+r.src_ZCc+"|[!]).|\\?(?!"+r.src_ZCc+"|[?]).)+|\\/)?",r.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',r.src_xn="xn--[a-z0-9\\-]{1,59}",r.src_domain_root="(?:"+r.src_xn+"|"+r.src_pseudo_letter+"{1,63})",r.src_domain="(?:"+r.src_xn+"|(?:"+r.src_pseudo_letter+")|(?:"+r.src_pseudo_letter+"(?:-|"+r.src_pseudo_letter+"){0,61}"+r.src_pseudo_letter+"))",r.src_host="(?:(?:(?:(?:"+r.src_domain+")\\.)*"+r.src_domain+"))",r.tpl_host_fuzzy="(?:"+r.src_ip4+"|(?:(?:(?:"+r.src_domain+")\\.)+(?:%TLDS%)))",r.tpl_host_no_ip_fuzzy="(?:(?:(?:"+r.src_domain+")\\.)+(?:%TLDS%))",r.src_host_strict=r.src_host+r.src_host_terminator,r.tpl_host_fuzzy_strict=r.tpl_host_fuzzy+r.src_host_terminator,r.src_host_port_strict=r.src_host+r.src_port+r.src_host_terminator,r.tpl_host_port_fuzzy_strict=r.tpl_host_fuzzy+r.src_port+r.src_host_terminator,r.tpl_host_port_no_ip_fuzzy_strict=r.tpl_host_no_ip_fuzzy+r.src_port+r.src_host_terminator,r.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+r.src_ZPCc+"|>|$))",r.tpl_email_fuzzy='(^|[><|]|"|\\(|'+r.src_ZCc+")("+r.src_email_name+"@"+r.tpl_host_fuzzy_strict+")",r.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+r.src_ZPCc+"))((?![$+<=>^`||])"+r.tpl_host_port_fuzzy_strict+r.src_path+")",r.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+r.src_ZPCc+"))((?![$+<=>^`||])"+r.tpl_host_port_no_ip_fuzzy_strict+r.src_path+")",r),s=e.__tlds__.slice();function o(e){return e.replace("%TLDS%",n.src_tlds)}e.onCompile(),e.__tlds_replaced__||s.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),s.push(n.src_xn),n.src_tlds=s.join("|"),n.email_fuzzy=RegExp(o(n.tpl_email_fuzzy),"i"),n.link_fuzzy=RegExp(o(n.tpl_link_fuzzy),"i"),n.link_no_ip_fuzzy=RegExp(o(n.tpl_link_no_ip_fuzzy),"i"),n.host_fuzzy_test=RegExp(o(n.tpl_host_fuzzy_test),"i");var i=[];function a(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var r=e.__schemas__[t];if(null!==r){var n={validate:null,link:null};if(e.__compiled__[t]=n,"[object Object]"===Ot(r))return!function(e){return"[object RegExp]"===Ot(e)}(r.validate)?jt(r.validate)?n.validate=r.validate:a(t,r):n.validate=function(e){return function(t,r){var n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}(r.validate),void(jt(r.normalize)?n.normalize=r.normalize:r.normalize?a(t,r):n.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===Ot(e)}(r)?a(t,r):i.push(t)}})),i.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var l=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(Vt).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+n.src_ZPCc+"))("+l+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+n.src_ZPCc+"))("+l+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function Jt(e,t){var r=e.__index__,n=e.__last_index__,s=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=s,this.text=s,this.url=s}function Wt(e,t){var r=new Jt(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function Yt(e,t){if(!(this instanceof Yt))return new Yt(e,t);var r;t||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||$t.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=Ut({},$t,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Ut({},Zt,e),this.__compiled__={},this.__tlds__=Gt,this.__tlds_replaced__=!1,this.re={},Ht(this)}Yt.prototype.add=function(e,t){return this.__schemas__[e]=t,Ht(this),this},Yt.prototype.set=function(e){return this.__opts__=Ut(this.__opts__,e),this},Yt.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,n,s,o,i,a,l;if(this.re.schema_test.test(e))for((a=this.re.schema_search).lastIndex=0;null!==(t=a.exec(e));)if(s=this.testSchemaAt(e,t[2],a.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+s;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l=0&&null!==(n=e.match(this.re.email_fuzzy))&&(o=n.index+n[1].length,i=n.index+n[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=i)),this.__index__>=0},Yt.prototype.pretest=function(e){return this.re.pretest.test(e)},Yt.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},Yt.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(Wt(this,t)),t=this.__last_index__);for(var n=t?e.slice(t):e;this.test(n);)r.push(Wt(this,t)),n=n.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},Yt.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,r){return e!==r[t-1]})).reverse(),Ht(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Ht(this),this)},Yt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},Yt.prototype.onCompile=function(){};var Kt=Yt;const Qt=2147483647,Xt=/^xn--/,er=/[^\0-\x7E]/,tr=/[\x2E\u3002\uFF0E\uFF61]/g,rr={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},nr=Math.floor,sr=String.fromCharCode;function or(e){throw new RangeError(rr[e])}function ir(e,t){const r=e.split("@");let n="";r.length>1&&(n=r[0]+"@",e=r[1]);const s=function(e,t){const r=[];let n=e.length;for(;n--;)r[n]=t(e[n]);return r}((e=e.replace(tr,".")).split("."),t).join(".");return n+s}function ar(e){const t=[];let r=0;const n=e.length;for(;r=55296&&s<=56319&&rString.fromCodePoint(...e),cr=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},ur=function(e,t,r){let n=0;for(e=r?nr(e/700):e>>1,e+=nr(e/t);e>455;n+=36)e=nr(e/35);return nr(n+36*e/(e+38))},pr=function(e){const t=[],r=e.length;let n=0,s=128,o=72,i=e.lastIndexOf("-");i<0&&(i=0);for(let l=0;l=128&&or("not-basic"),t.push(e.charCodeAt(l));for(let l=i>0?i+1:0;l=r&&or("invalid-input");const i=(a=e.charCodeAt(l++))-48<10?a-22:a-65<26?a-65:a-97<26?a-97:36;(i>=36||i>nr((Qt-n)/t))&&or("overflow"),n+=i*t;const c=s<=o?1:s>=o+26?26:s-o;if(inr(Qt/u)&&or("overflow"),t*=u}const c=t.length+1;o=ur(n-i,c,0==i),nr(n/c)>Qt-s&&or("overflow"),s+=nr(n/c),n%=c,t.splice(n++,0,s)}var a;return String.fromCodePoint(...t)},hr=function(e){const t=[];let r=(e=ar(e)).length,n=128,s=0,o=72;for(const l of e)l<128&&t.push(sr(l));let i=t.length,a=i;for(i&&t.push("-");a=n&&tnr((Qt-s)/l)&&or("overflow"),s+=(r-n)*l,n=r;for(const c of e)if(cQt&&or("overflow"),c==n){let e=s;for(let r=36;;r+=36){const n=r<=o?1:r>=o+26?26:r-o;if(e=0))try{t.hostname=gr.toASCII(t.hostname)}catch(r){}return X.encode(X.format(t))}function Ar(e){var t=X.parse(e,!0);if(t.hostname&&(!t.protocol||Cr.indexOf(t.protocol)>=0))try{t.hostname=gr.toUnicode(t.hostname)}catch(r){}return X.decode(X.format(t),X.decode.defaultChars+"%")}function xr(e,t){if(!(this instanceof xr))return new xr(e,t);t||se.isString(e)||(t=e||{},e="default"),this.inline=new Pt,this.block=new lt,this.core=new Ue,this.renderer=new de,this.linkify=new Kt,this.validateLink=vr,this.normalizeLink=yr,this.normalizeLinkText=Ar,this.utils=se,this.helpers=se.assign({},ae),this.options={},this.configure(e),t&&this.set(t)}xr.prototype.set=function(e){return se.assign(this.options,e),this},xr.prototype.configure=function(e){var t,r=this;if(se.isString(e)&&!(e=_r[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&r.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&r[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&r[t].ruler2.enableOnly(e.components[t].rules2)})),this},xr.prototype.enable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.enable(e,!0))}),this),r=r.concat(this.inline.ruler2.enable(e,!0));var n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},xr.prototype.disable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.disable(e,!0))}),this),r=r.concat(this.inline.ruler2.disable(e,!0));var n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},xr.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},xr.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},xr.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},xr.prototype.parseInline=function(e,t){var r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},xr.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const Dr=new xr,wr=_();k("data-v-44467b26");const Er={class:"comment-container"},qr={class:"comment-send"},Sr={class:"comment-input"},Fr=i("div",{class:"comment-title"},[i("span",null,"文章交流区")],-1),Lr={class:"comment-list"},zr={class:"comment-avatar"},Ir={class:"comment-content"},Tr={class:"main-comment"},Rr={class:"comment-user-info"},Mr={class:"floor"},Br={class:"badge"},Nr={key:0,class:"author"},Pr={class:"time"},Ur={class:"main-content"},Or={key:0,class:"empty-content"};b();var jr=r({expose:[],props:{postId:Number,authorId:Number},setup(e){const t=e,r=A(),_=x(),k=D(),b=computed((()=>{var e,t;return null!=(t=null==(e=null==k?void 0:k.User)?void 0:e.Id)&&t})),C=reactive({text:"",submitting:!1,list:[],page:1,loaded:!1,listLoadingStatus:0}),y=()=>{C.text?C.submitting?r.warning("评论过快"):(C.submitting=!0,E({PostID:t.postId||-1,AuthorUID:t.authorId||-1,Content:`${C.text} ____ From Vue-next`}).then((e=>{if(null==e?void 0:e.ErrorCode)return 3000009===e.ErrorCode?void r.warning("触发敏感词,请礼貌用语~"):403===e.ErrorCode?void r.info("登录状态过期,跳转登录中...",{timeout:1500,onClose(){_.push("/signin")}}):void r.warning(`评论出错: ${e.ErrorCode} ${e.ErrorMsg}`);r.success("评论成功~"),C.text="",C.listLoadingStatus=1,w({Page:1,Size:15,PostID:t.postId||-1}).then((e=>{var t,r;const n=null!=(r=null==(t=null==e?void 0:e.Result)?void 0:t.Comments)?r:[];C.list=n})).finally((()=>{C.listLoadingStatus=0}))})).finally((()=>{C.submitting=!1}))):r.warning("评论不能为空")},q=()=>{_.push("/signin")},S=L;onMounted((()=>{C.listLoadingStatus=2,C.page=1,C.loaded=!1,w({PostID:t.postId||0,Page:1,Size:15}).then((e=>{var t,n,s;const o=null!=(n=null==(t=null==e?void 0:e.Result)?void 0:t.Comments)?n:[];C.list=o,15===o.length?C.loaded=!1:C.loaded=!0,e.ErrorCode&&r.warning(null!=(s=null==e?void 0:e.ErrorMsg)?s:`${e.ErrorCode}`)})).finally((()=>{C.listLoadingStatus=0}))}));const F=()=>{C.page+=1,C.listLoadingStatus=2,w({PostID:t.postId||-1,Page:C.page,Size:15}).then((e=>{var t,r;const n=null!=(r=null==(t=null==e?void 0:e.Result)?void 0:t.Comments)?r:[];15===n.length?C.loaded=!1:C.loaded=!0,C.list=[...C.list,...n]})).finally((()=>{C.listLoadingStatus=0}))};return wr(((e,t)=>{const r=n("Avatar"),_=n("router-link"),k=n("LoadingBall");return s(),o("div",Er,[i("div",qr,[i("div",Sr,[a(i("textarea",{placeholder:"说说你的看法吧~ , ctrl + enter 可快速提交。","onUpdate:modelValue":t[1]||(t[1]=e=>C.text=e),onKeydown:c(v(y,["ctrl"]),["enter"])},null,40,["onKeydown"]),[[l,C.text,void 0,{trim:!0}]])]),u(b)?(s(),o("div",{key:0,class:"comment-btn",onClick:y}," 发表评论 ")):(s(),o("div",{key:1,class:"comment-btn",onClick:q},"登录发表评论"))]),Fr,i("div",Lr,[i(p,{name:"list"},{default:wr((()=>[(s(!0),o(h,null,d(C.list,((t,n)=>(s(),o("div",{class:"comment-item",key:t.Id},[i("div",zr,[i(_,{to:`/users/${t.CommentUserInfo.UID}`},{default:wr((()=>[i(r,{size:"32px",src:t.CommentUserInfo.Avatar},null,8,["src"])])),_:2},1032,["to"])]),i("div",Ir,[i("div",Tr,[i("div",Rr,[i("span",Mr,"#"+f(C.list.length-n),1),i(_,{to:`/users/${t.CommentUserInfo.UID}`},{default:wr((()=>[m(f(t.CommentUserInfo.Nickname),1)])),_:2},1032,["to"]),i("span",Br,[t.CommentUserInfo.UID==e.$props.authorId?(s(),o("sup",Nr,"本文作者")):g("",!0),(s(!0),o(h,null,d(t.CommentUserInfo.Roles,(e=>(s(),o("sup",{class:"role",key:e.RID},f(e.Description),1)))),128))]),i("span",Pr,f(u(S)(t.CreatedAt)),1)]),i("div",Ur,f(t.Content),1)])])])))),128))])),_:1}),0!==C.list.length||C.listLoadingStatus?g("",!0):(s(),o("div",Or," 暂无任何评论,快去发表吧~ ")),i(k,{loading:C.list.length>0&&2==C.listLoadingStatus},null,8,["loading"]),C.loaded||C.listLoadingStatus?g("",!0):(s(),o("div",{key:1,class:"btn-next",onClick:F}," 查看更多 "))])])}))}});jr.__scopeId="data-v-44467b26";const Vr=_();k("data-v-ad8ad844");const $r={key:0},Zr={class:"article-title"},Gr={class:"artilce-info"},Hr=m(" 分类: "),Jr={class:"article-navi"};b();var Wr=r({expose:[],props:{pid:{required:!0,type:Number,validator:e=>!isNaN(+e)}},setup(e){const t=e,r=A(),{data:l,loading:c}=q(t.pid),p=computed((()=>{var e,t;return Dr.render(null!=(t=null==(e=l.value.Result)?void 0:e.Content)?t:"")})),h=computed((()=>{var e,t;return z(null!=(t=null==(e=l.value.Result)?void 0:e.CreatedAt)?t:Date.now())})),d=computed((()=>{var e;return null==(e=l.value.Result)?void 0:e.Title})),_=computed((()=>{var e;return null==(e=l.value.Result)?void 0:e.Summary})),k=computed((()=>{var e;return null==(e=l.value.Result)?void 0:e.AuthorInfo.UID})),b=computed((()=>{var e;return null==(e=l.value.Result)?void 0:e.AuthorInfo.Nickname})),v=computed((()=>{var e;return null==(e=l.value.Result)?void 0:e.Category.Id})),x=computed((()=>{var e;return null==(e=l.value.Result)?void 0:e.Category.CN})),D=computed((()=>{var e,t,r;return null==(r=null==(t=null==(e=l.value.Result)?void 0:e.Navigation)?void 0:t.Prev)?void 0:r.Id})),w=computed((()=>{var e,t,r;return null==(r=null==(t=null==(e=l.value.Result)?void 0:e.Navigation)?void 0:t.Next)?void 0:r.Id})),E=computed((()=>{var e,t,r;return null==(r=null==(t=null==(e=l.value.Result)?void 0:e.Navigation)?void 0:t.Next)?void 0:r.Title})),L=computed((()=>{var e,t,r;return null==(r=null==(t=null==(e=l.value.Result)?void 0:e.Navigation)?void 0:t.Prev)?void 0:r.Title})),I=computed((()=>`${b.value}发表了${d.value},${_.value}`));return S({title:d,meta:[{name:"description",content:I},{name:"author",content:b}]}),watch((()=>null==l?void 0:l.value.ErrorMsg),((e,t)=>{r.error("请求出错:"+e)})),Vr(((e,r)=>{const l=n("LoadingBall"),_=n("router-link"),A=C("highlight");return s(),o(F,null,{default:Vr((()=>[i(l,{loading:u(c),info:"努力加载文章中","info-size":"18px",padding:"30vh 0"},null,8,["loading"]),i(y,{name:"content"},{default:Vr((()=>[u(c)?g("",!0):(s(),o("main",$r,[i("h1",Zr,f(u(d)),1),i("div",Gr,[i("span",null,[i(_,{to:`/users/${u(k)}`},{default:Vr((()=>[i("a",null,f(u(b)),1)])),_:1},8,["to"])]),i("span",null,"发表于: "+f(u(h)),1),i("span",null,[Hr,i(_,{to:`/?CategoryID=${u(v)}`},{default:Vr((()=>[m(f(u(x)),1)])),_:1},8,["to"])])]),a(i("div",{innerHTML:u(p),class:"article-container"},null,8,["innerHTML"]),[[A]]),i("div",Jr,[i("div",null,[u(D)?(s(),o(_,{key:0,to:`/post/${u(D)}`},{default:Vr((()=>[m(" 上一篇 « "+f(u(L)),1)])),_:1},8,["to"])):g("",!0)]),i("div",null,[u(w)?(s(),o(_,{key:0,to:`/post/${u(w)}`},{default:Vr((()=>[m(" 下一篇 » "+f(u(E)),1)])),_:1},8,["to"])):g("",!0)])]),i(jr,{"author-id":u(k),"post-id":t.pid},null,8,["author-id","post-id"])]))])),_:1})])),_:1})}))}});Wr.__scopeId="data-v-ad8ad844";export default Wr; +import{J as e,V as t,k as r,x as n,n as s,p as o,z as i,W as a,X as l,Y as c,u,T as p,F as h,E as d,B as f,A as m,y as g,N as _,O as k,P as b,D as v,Z as C,_ as y}from"./vendor.18b3a30d.js";import{c as A,b as x,u as D,d as w,P as E,U as q,a as S}from"./index.e61a2594.js";import{_ as F}from"./index.vue_vue&type=style&index=0&lang.401498f5.js";import{D as L,F as z}from"./time.93dfc2a8.js";var I={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},T=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,R={};function M(e,t,r){var n,s,o,i,a,l="";for("string"!=typeof t&&(r=t,t=M.defaultChars),void 0===r&&(r=!0),a=function(e){var t,r,n=R[e];if(n)return n;for(n=R[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),/^[0-9a-z]$/i.test(r)?n.push(r):n.push("%"+("0"+t.toString(16).toUpperCase()).slice(-2));for(t=0;t=55296&&o<=57343){if(o>=55296&&o<=56319&&n+1=56320&&i<=57343){l+=encodeURIComponent(e[n]+e[n+1]),n++;continue}l+="%EF%BF%BD"}else l+=encodeURIComponent(e[n]);return l}M.defaultChars=";/?:@&=+$,-_.!~*'()#",M.componentChars="-_.!~*'()";var B=M,N={};function P(e,t){var r;return"string"!=typeof t&&(t=P.defaultChars),r=function(e){var t,r,n=N[e];if(n)return n;for(n=N[e]=[],t=0;t<128;t++)r=String.fromCharCode(t),n.push(r);for(t=0;t=55296&&l<=57343?"���":String.fromCharCode(l),t+=6):240==(248&s)&&t+91114111?c+="����":(l-=65536,c+=String.fromCharCode(55296+(l>>10),56320+(1023&l))),t+=9):c+="�";return c}))}P.defaultChars=";/?:@&=+$,#",P.componentChars="";var U=P;function O(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var j=/^([a-z0-9.+-]+:)/i,V=/:[0-9]*$/,$=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Z=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),G=["'"].concat(Z),H=["%","/","?",";","#"].concat(G),J=["/","?","#"],W=/^[+a-z0-9A-Z_-]{0,63}$/,Y=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,K={javascript:!0,"javascript:":!0},Q={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};O.prototype.parse=function(e,t){var r,n,s,o,i,a=e;if(a=a.trim(),!t&&1===e.split("#").length){var l=$.exec(a);if(l)return this.pathname=l[1],l[2]&&(this.search=l[2]),this}var c=j.exec(a);if(c&&(s=(c=c[0]).toLowerCase(),this.protocol=c,a=a.substr(c.length)),(t||c||a.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(i="//"===a.substr(0,2))||c&&K[c]||(a=a.substr(2),this.slashes=!0)),!K[c]&&(i||c&&!Q[c])){var u,p,h=-1;for(r=0;r127?_+="x":_+=g[k];if(!_.match(W)){var v=m.slice(0,r),C=m.slice(r+1),y=g.match(Y);y&&(v.push(y[1]),C.unshift(y[2])),C.length&&(a=C.join(".")+a),this.hostname=v.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),f&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var A=a.indexOf("#");-1!==A&&(this.hash=a.substr(A),a=a.slice(0,A));var x=a.indexOf("?");return-1!==x&&(this.search=a.substr(x),a=a.slice(0,x)),a&&(this.pathname=a),Q[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this},O.prototype.parseHost=function(e){var t=V.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var X={encode:B,decode:U,format:function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""},parse:function(e,t){if(e&&e instanceof O)return e;var r=new O;return r.parse(e,t),r}},ee=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,te=/[\0-\x1F\x7F-\x9F]/,re=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,ne={Any:ee,Cc:te,Cf:/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,P:T,Z:re},se=e((function(e,t){var r=Object.prototype.hasOwnProperty;function n(e,t){return r.call(e,t)}function s(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!=(65535&e)&&65534!=(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function o(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}var i=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,a=new RegExp(i.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;var c=/[&<>"]/,u=/[&<>"]/g,p={"&":"&","<":"<",">":">",'"':"""};function h(e){return p[e]}var d=/[.?*+^$[\]\\(){}|-]/g;t.lib={},t.lib.mdurl=X,t.lib.ucmicro=ne,t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!=typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(r){e[r]=t[r]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=n,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(i,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(a,(function(e,t,r){return t||function(e,t){var r=0;return n(I,t)?I[t]:35===t.charCodeAt(0)&&l.test(t)&&s(r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?o(r):e}(e,r)}))},t.isValidEntityCode=s,t.fromCodePoint=o,t.escapeHtml=function(e){return c.test(e)?e.replace(u,h):e},t.arrayReplaceAt=function(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return T.test(e)},t.escapeRE=function(e){return e.replace(d,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"Ṿ"==="ẞ".toLowerCase()&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}})),oe=se.unescapeAll,ie=se.unescapeAll,ae={parseLinkLabel:function(e,t,r){var n,s,o,i,a=-1,l=e.posMax,c=e.pos;for(e.pos=t+1,n=1;e.pos32)return i;if(41===n){if(0===s)break;s--}t++}return o===t||0!==s||(i.str=oe(e.slice(o,t)),i.lines=0,i.pos=t,i.ok=!0),i},parseLinkTitle:function(e,t,r){var n,s,o=0,i=t,a={ok:!1,pos:0,lines:0,str:""};if(t>=r)return a;if(34!==(s=e.charCodeAt(t))&&39!==s&&40!==s)return a;for(t++,40===s&&(s=41);t"+ue(e[t].content)+""},pe.code_block=function(e,t,r,n,s){var o=e[t];return""+ue(e[t].content)+"\n"},pe.fence=function(e,t,r,n,s){var o,i,a,l,c,u=e[t],p=u.info?ce(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)||ue(u.content)).indexOf(""+o+"\n"):"
"+o+"
\n"},pe.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)},pe.hardbreak=function(e,t,r){return r.xhtmlOut?"
\n":"
\n"},pe.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"
\n":"
\n":"\n"},pe.text=function(e,t){return ue(e[t].content)},pe.html_block=function(e,t){return e[t].content},pe.html_inline=function(e,t){return e[t].content},he.prototype.renderAttrs=function(e){var t,r,n;if(!e.attrs)return"";for(n="",t=0,r=e.attrs.length;t\n":">")},he.prototype.renderInline=function(e,t,r){for(var n,s="",o=this.rules,i=0,a=e.length;i/i.test(e)}var ve=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Ce=/\((c|tm|r|p)\)/i,ye=/\((c|tm|r|p)\)/gi,Ae={c:"©",r:"®",p:"§",tm:"™"};function xe(e,t){return Ae[t.toLowerCase()]}function De(e){var t,r,n=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||n||(r.content=r.content.replace(ye,xe)),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}function we(e){var t,r,n=0;for(t=e.length-1;t>=0;t--)"text"!==(r=e[t]).type||n||ve.test(r.content)&&(r.content=r.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1—").replace(/(^|\s)--(?=\s|$)/gm,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1–")),"link_open"===r.type&&"auto"===r.info&&n--,"link_close"===r.type&&"auto"===r.info&&n++}var Ee=se.isWhiteSpace,qe=se.isPunctChar,Se=se.isMdAsciiPunct,Fe=/['"]/,Le=/['"]/g;function ze(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}function Ie(e,t){var r,n,s,o,i,a,l,c,u,p,h,d,f,m,g,_,k,b,v,C,y;for(v=[],r=0;r=0&&!(v[k].level<=l);k--);if(v.length=k+1,"text"===n.type){i=0,a=(s=n.content).length;e:for(;i=0)u=s.charCodeAt(o.index-1);else for(k=r-1;k>=0&&("softbreak"!==e[k].type&&"hardbreak"!==e[k].type);k--)if(e[k].content){u=e[k].content.charCodeAt(e[k].content.length-1);break}if(p=32,i=48&&u<=57&&(_=g=!1),g&&_&&(g=h,_=d),g||_){if(_)for(k=v.length-1;k>=0&&(c=v[k],!(v[k].level=0&&(r=this.attrs[t][1]),r},Te.prototype.attrJoin=function(e,t){var r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t};var Re=Te;function Me(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}Me.prototype.Token=Re;var Be=Me,Ne=[["normalize",function(e){var t;t=(t=e.src.replace(ge,"\n")).replace(_e,"�"),e.src=t}],["block",function(e){var t;e.inlineMode?((t=new e.Token("inline","",0)).content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}],["inline",function(e){var t,r,n,s=e.tokens;for(r=0,n=s.length;r=0;t--)if("link_close"!==(i=s[t]).type){if("html_inline"===i.type&&(k=i.content,/^\s]/i.test(k)&&d>0&&d--,be(i.content)&&d++),!(d>0)&&"text"===i.type&&e.md.linkify.test(i.content)){for(c=i.content,_=e.md.linkify.match(c),a=[],h=i.level,p=0,l=0;l<_.length;l++)f=_[l].url,m=e.md.normalizeLink(f),e.md.validateLink(m)&&(g=_[l].text,g=_[l].schema?"mailto:"!==_[l].schema||/^mailto:/i.test(g)?e.md.normalizeLinkText(g):e.md.normalizeLinkText("mailto:"+g).replace(/^mailto:/,""):e.md.normalizeLinkText("http://"+g).replace(/^http:\/\//,""),(u=_[l].index)>p&&((o=new e.Token("text","",0)).content=c.slice(p,u),o.level=h,a.push(o)),(o=new e.Token("link_open","a",1)).attrs=[["href",m]],o.level=h++,o.markup="linkify",o.info="auto",a.push(o),(o=new e.Token("text","",0)).content=g,o.level=h,a.push(o),(o=new e.Token("link_close","a",-1)).level=--h,o.markup="linkify",o.info="auto",a.push(o),p=_[l].lastIndex);p=0;t--)"inline"===e.tokens[t].type&&(Ce.test(e.tokens[t].content)&&De(e.tokens[t].children),ve.test(e.tokens[t].content)&&we(e.tokens[t].children))}],["smartquotes",function(e){var t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)"inline"===e.tokens[t].type&&Fe.test(e.tokens[t].content)&&Ie(e.tokens[t].children,e)}]];function Pe(){this.ruler=new me;for(var e=0;e=o)return-1;if((r=e.src.charCodeAt(s++))<48||r>57)return-1;for(;;){if(s>=o)return-1;if(!((r=e.src.charCodeAt(s++))>=48&&r<=57)){if(41===r||46===r)break;return-1}if(s-n>=10)return-1}return s`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",Xe="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",et={HTML_TAG_RE:new RegExp("^(?:"+Qe+"|"+Xe+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),HTML_OPEN_CLOSE_TAG_RE:new RegExp("^(?:"+Qe+"|"+Xe+")")},tt=et.HTML_OPEN_CLOSE_TAG_RE,rt=[[/^<(script|pre|style)(?=(\s|>|$))/i,/<\/(script|pre|style)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(tt.source+"\\s*$"),/^$/,!1]],nt=se.isSpace;function st(e,t,r,n){var s,o,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=(o=this.src).length;a0&&this.level++,this.tokens.push(n),n},st.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},st.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!nt(this.src.charCodeAt(--e)))return e+1;return e},st.prototype.skipChars=function(e,t){for(var r=this.src.length;er;)if(t!==this.src.charCodeAt(--e))return e+1;return e},st.prototype.getLines=function(e,t,r,n){var s,o,i,a,l,c,u,p=e;if(e>=t)return"";for(c=new Array(t-e),s=0;pr?new Array(o-r+1).join(" ")+this.src.slice(a,l):this.src.slice(a,l)}return c.join("")},st.prototype.Token=Re;var ot=st,it=[["table",function(e,t,r,n){var s,o,i,a,l,c,u,p,h,d,f,m,g,_,k,b;if(t+2>r)return!1;if(c=t+1,e.sCount[c]=4)return!1;if((i=e.bMarks[c]+e.tShift[c])>=e.eMarks[c])return!1;if(124!==(s=e.src.charCodeAt(i++))&&45!==s&&58!==s)return!1;for(;i=4)return!1;if((u=Ve(o)).length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),0===(p=u.length)||p!==d.length)return!1;if(n)return!0;for(_=e.parentType,e.parentType="table",b=e.md.block.ruler.getRules("blockquote"),(h=e.push("table_open","table",1)).map=m=[t,0],(h=e.push("thead_open","thead",1)).map=[t,t+1],(h=e.push("tr_open","tr",1)).map=[t,t+1],a=0;a=4)break;for((u=Ve(o)).length&&""===u[0]&&u.shift(),u.length&&""===u[u.length-1]&&u.pop(),c===t+2&&((h=e.push("tbody_open","tbody",1)).map=g=[t+2,0]),(h=e.push("tr_open","tr",1)).map=[c,c+1],a=0;a=4))break;s=++n}return e.line=s,(o=e.push("code_block","code",0)).content=e.getLines(t,s,4+e.blkIndent,!0),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]=4||(h=e.skipChars(h,s))-l=4)return!1;if(62!==e.src.charCodeAt(D++))return!1;if(n)return!0;for(a=h=e.sCount[t]+1,32===e.src.charCodeAt(D)?(D++,a++,h++,s=!1,b=!0):9===e.src.charCodeAt(D)?(b=!0,(e.bsCount[t]+h)%4==3?(D++,a++,h++,s=!1):s=!0):b=!1,d=[e.bMarks[t]],e.bMarks[t]=D;D=w,_=[e.sCount[t]],e.sCount[t]=h-a,k=[e.tShift[t]],e.tShift[t]=D-e.bMarks[t],C=e.md.block.ruler.getRules("blockquote"),g=e.parentType,e.parentType="blockquote",p=t+1;p=(w=e.eMarks[p])));p++)if(62!==e.src.charCodeAt(D++)||A){if(c)break;for(v=!1,i=0,l=C.length;i=w,f.push(e.bsCount[p]),e.bsCount[p]=e.sCount[p]+1+(b?1:0),_.push(e.sCount[p]),e.sCount[p]=h-a,k.push(e.tShift[p]),e.tShift[p]=D-e.bMarks[p]}for(m=e.blkIndent,e.blkIndent=0,(y=e.push("blockquote_open","blockquote",1)).markup=">",y.map=u=[t,0],e.md.block.tokenize(e,t,p),(y=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=x,e.parentType=g,u[1]=e.line,i=0;i=4)return!1;if(42!==(s=e.src.charCodeAt(l++))&&45!==s&&95!==s)return!1;for(o=1;l=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]=e.blkIndent&&(z=!0),(w=Je(e,t))>=0){if(u=!0,q=e.bMarks[t]+e.tShift[t],g=Number(e.src.substr(q,w-q-1)),z&&1!==g)return!1}else{if(!((w=He(e,t))>=0))return!1;u=!1}if(z&&e.skipSpaces(w)>=e.eMarks[t])return!1;if(m=e.src.charCodeAt(w-1),n)return!0;for(f=e.tokens.length,u?(L=e.push("ordered_list_open","ol",1),1!==g&&(L.attrs=[["start",g]])):L=e.push("bullet_list_open","ul",1),L.map=d=[t,0],L.markup=String.fromCharCode(m),k=t,E=!1,F=e.md.block.ruler.getRules("list"),C=e.parentType,e.parentType="list";k=_?1:b-c)>4&&(l=1),a=c+l,(L=e.push("list_item_open","li",1)).markup=String.fromCharCode(m),L.map=p=[t,0],x=e.tight,A=e.tShift[t],y=e.sCount[t],v=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=a,e.tight=!0,e.tShift[t]=o-e.bMarks[t],e.sCount[t]=b,o>=_&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,t,r,!0),e.tight&&!E||(I=!1),E=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=v,e.tShift[t]=A,e.sCount[t]=y,e.tight=x,(L=e.push("list_item_close","li",-1)).markup=String.fromCharCode(m),k=t=e.line,p[1]=k,o=e.bMarks[t],k>=r)break;if(e.sCount[k]=4)break;for(S=!1,i=0,h=F.length;i=4)return!1;if(91!==e.src.charCodeAt(C))return!1;for(;++C3||e.sCount[A]<0)){for(_=!1,c=0,u=k.length;c=4)return!1;if(35!==(s=e.src.charCodeAt(l))||l>=c)return!1;for(o=1,s=e.src.charCodeAt(++l);35===s&&l6||ll&&Ke(e.src.charCodeAt(i-1))&&(c=i),e.line=t+1,(a=e.push("heading_open","h"+String(o),1)).markup="########".slice(0,o),a.map=[t,e.line],(a=e.push("inline","",0)).content=e.src.slice(l,c).trim(),a.map=[t,e.line],a.children=[],(a=e.push("heading_close","h"+String(o),-1)).markup="########".slice(0,o)),!0)},["paragraph","reference","blockquote"]],["lheading",function(e,t,r){var n,s,o,i,a,l,c,u,p,h,d=t+1,f=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;for(h=e.parentType,e.parentType="paragraph";d3)){if(e.sCount[d]>=e.blkIndent&&(l=e.bMarks[d]+e.tShift[d])<(c=e.eMarks[d])&&(45===(p=e.src.charCodeAt(l))||61===p)&&(l=e.skipChars(l,p),(l=e.skipSpaces(l))>=c)){u=61===p?1:2;break}if(!(e.sCount[d]<0)){for(s=!1,o=0,i=f.length;o=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(a=e.src.slice(l,c),s=0;s3||e.sCount[l]<0)){for(n=!1,s=0,o=c.length;s=r))&&!(e.sCount[i]=l){e.line=r;break}for(n=0;n?@[]^_`{|}~-".split("").forEach((function(e){ht[e.charCodeAt(0)]=1}));function ft(e,t){var r,n,s,o,i,a=[],l=t.length;for(r=0;r=0;r--)95!==(n=t[r]).marker&&42!==n.marker||-1!==n.end&&(s=t[n.end],a=r>0&&t[r-1].end===n.end+1&&t[r-1].token===n.token-1&&t[n.end+1].token===s.token+1&&t[r-1].marker===n.marker,i=String.fromCharCode(n.marker),(o=e.tokens[n.token]).type=a?"strong_open":"em_open",o.tag=a?"strong":"em",o.nesting=1,o.markup=a?i+i:i,o.content="",(o=e.tokens[s.token]).type=a?"strong_close":"em_close",o.tag=a?"strong":"em",o.nesting=-1,o.markup=a?i+i:i,o.content="",a&&(e.tokens[t[r-1].token].content="",e.tokens[t[n.end+1].token].content="",r--))}var _t={tokenize:function(e,t){var r,n,s=e.pos,o=e.src.charCodeAt(s);if(t)return!1;if(95!==o&&42!==o)return!1;for(n=e.scanDelims(e.pos,42===o),r=0;r\x00-\x20]*)$/,xt=et.HTML_TAG_RE;var Dt=se.has,wt=se.isValidEntityCode,Et=se.fromCodePoint,qt=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,St=/^&([a-z][a-z0-9]{1,31});/i;function Ft(e,t){var r,n,s,o,i,a,l,c,u={},p=t.length;for(r=0;ri;n-=o.jump+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?t[n-1].jump+1:0,s.jump=r-n+c,s.open=!1,o.end=r,o.jump=c,o.close=!1,a=-1;break}-1!==a&&(u[s.marker][(s.length||0)%3]=a)}}var Lt=se.isWhiteSpace,zt=se.isPunctChar,It=se.isMdAsciiPunct;function Tt(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}Tt.prototype.pushPending=function(){var e=new Re("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e},Tt.prototype.push=function(e,t,r){this.pending&&this.pushPending();var n=new Re(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},Tt.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=0&&32===e.pending.charCodeAt(r)?r>=1&&32===e.pending.charCodeAt(r-1)?(e.pending=e.pending.replace(/ +$/,""),e.push("hardbreak","br",0)):(e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0)):e.push("softbreak","br",0)),s++;s=d)return!1;if(f=a,(l=e.md.helpers.parseLinkDestination(e.src,a,e.posMax)).ok){for(u=e.md.normalizeLink(l.str),e.md.validateLink(u)?a=l.pos:u="",f=a;a=d||41!==e.src.charCodeAt(a))&&(m=!0),a++}if(m){if(void 0===e.env.references)return!1;if(a=0?s=e.src.slice(f,a++):a=o+1):a=o+1,s||(s=e.src.slice(i,o)),!(c=e.env.references[kt(s)]))return e.pos=h,!1;u=c.href,p=c.title}return t||(e.pos=i,e.posMax=o,e.push("link_open","a",1).attrs=r=[["href",u]],p&&r.push(["title",p]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=a,e.posMax=d,!0}],["image",function(e,t){var r,n,s,o,i,a,l,c,u,p,h,d,f,m="",g=e.pos,_=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(a=e.pos+2,(i=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((l=i+1)<_&&40===e.src.charCodeAt(l)){for(l++;l<_&&(n=e.src.charCodeAt(l),Ct(n)||10===n);l++);if(l>=_)return!1;for(f=l,(u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok&&(m=e.md.normalizeLink(u.str),e.md.validateLink(m)?l=u.pos:m=""),f=l;l<_&&(n=e.src.charCodeAt(l),Ct(n)||10===n);l++);if(u=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<_&&f!==l&&u.ok)for(p=u.str,l=u.pos;l<_&&(n=e.src.charCodeAt(l),Ct(n)||10===n);l++);else p="";if(l>=_||41!==e.src.charCodeAt(l))return e.pos=g,!1;l++}else{if(void 0===e.env.references)return!1;if(l<_&&91===e.src.charCodeAt(l)?(f=l+1,(l=e.md.helpers.parseLinkLabel(e,l))>=0?o=e.src.slice(f,l++):l=i+1):l=i+1,o||(o=e.src.slice(a,i)),!(c=e.env.references[vt(o)]))return e.pos=g,!1;m=c.href,p=c.title}return t||(s=e.src.slice(a,i),e.md.inline.parse(s,e.md,e.env,d=[]),(h=e.push("image","img",0)).attrs=r=[["src",m],["alt",""]],h.children=d,h.content=s,p&&r.push(["title",p])),e.pos=l,e.posMax=_,!0}],["autolink",function(e,t){var r,n,s,o,i,a,l=e.pos;if(60!==e.src.charCodeAt(l))return!1;for(i=e.pos,a=e.posMax;;){if(++l>=a)return!1;if(60===(o=e.src.charCodeAt(l)))return!1;if(62===o)break}return r=e.src.slice(i+1,l),At.test(r)?(n=e.md.normalizeLink(r),!!e.md.validateLink(n)&&(t||((s=e.push("link_open","a",1)).attrs=[["href",n]],s.markup="autolink",s.info="auto",(s=e.push("text","",0)).content=e.md.normalizeLinkText(r),(s=e.push("link_close","a",-1)).markup="autolink",s.info="auto"),e.pos+=r.length+2,!0)):!!yt.test(r)&&(n=e.md.normalizeLink("mailto:"+r),!!e.md.validateLink(n)&&(t||((s=e.push("link_open","a",1)).attrs=[["href",n]],s.markup="autolink",s.info="auto",(s=e.push("text","",0)).content=e.md.normalizeLinkText(r),(s=e.push("link_close","a",-1)).markup="autolink",s.info="auto"),e.pos+=r.length+2,!0))}],["html_inline",function(e,t){var r,n,s,o=e.pos;return!!e.md.options.html&&(s=e.posMax,!(60!==e.src.charCodeAt(o)||o+2>=s)&&(!(33!==(r=e.src.charCodeAt(o+1))&&63!==r&&47!==r&&!function(e){var t=32|e;return t>=97&&t<=122}(r))&&(!!(n=e.src.slice(o).match(xt))&&(t||(e.push("html_inline","",0).content=e.src.slice(o,o+n[0].length)),e.pos+=n[0].length,!0))))}],["entity",function(e,t){var r,n,s=e.pos,o=e.posMax;if(38!==e.src.charCodeAt(s))return!1;if(s+10&&n++,"text"===s[t].type&&t+1=o)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},Nt.prototype.parse=function(e,t,r,n){var s,o,i,a=new this.State(e,t,r,n);for(this.tokenize(a),i=(o=this.ruler2.getRules("")).length,s=0;s=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},Gt="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function Ht(e){var t,r,n=e.re=(t=e.__opts__,(r={}).src_Any=ee.source,r.src_Cc=te.source,r.src_Z=re.source,r.src_P=T.source,r.src_ZPCc=[r.src_Z,r.src_P,r.src_Cc].join("|"),r.src_ZCc=[r.src_Z,r.src_Cc].join("|"),r.src_pseudo_letter="(?:(?![><|]|"+r.src_ZPCc+")"+r.src_Any+")",r.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",r.src_auth="(?:(?:(?!"+r.src_ZCc+"|[@/\\[\\]()]).)+@)?",r.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",r.src_host_terminator="(?=$|[><|]|"+r.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+r.src_ZPCc+"))",r.src_path="(?:[/?#](?:(?!"+r.src_ZCc+"|[><|]|[()[\\]{}.,\"'?!\\-]).|\\[(?:(?!"+r.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+r.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+r.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+r.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+r.src_ZCc+"|[']).)+\\'|\\'(?="+r.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+r.src_ZCc+"|[.]).|"+(t&&t["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+"\\,(?!"+r.src_ZCc+").|\\!+(?!"+r.src_ZCc+"|[!]).|\\?(?!"+r.src_ZCc+"|[?]).)+|\\/)?",r.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',r.src_xn="xn--[a-z0-9\\-]{1,59}",r.src_domain_root="(?:"+r.src_xn+"|"+r.src_pseudo_letter+"{1,63})",r.src_domain="(?:"+r.src_xn+"|(?:"+r.src_pseudo_letter+")|(?:"+r.src_pseudo_letter+"(?:-|"+r.src_pseudo_letter+"){0,61}"+r.src_pseudo_letter+"))",r.src_host="(?:(?:(?:(?:"+r.src_domain+")\\.)*"+r.src_domain+"))",r.tpl_host_fuzzy="(?:"+r.src_ip4+"|(?:(?:(?:"+r.src_domain+")\\.)+(?:%TLDS%)))",r.tpl_host_no_ip_fuzzy="(?:(?:(?:"+r.src_domain+")\\.)+(?:%TLDS%))",r.src_host_strict=r.src_host+r.src_host_terminator,r.tpl_host_fuzzy_strict=r.tpl_host_fuzzy+r.src_host_terminator,r.src_host_port_strict=r.src_host+r.src_port+r.src_host_terminator,r.tpl_host_port_fuzzy_strict=r.tpl_host_fuzzy+r.src_port+r.src_host_terminator,r.tpl_host_port_no_ip_fuzzy_strict=r.tpl_host_no_ip_fuzzy+r.src_port+r.src_host_terminator,r.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+r.src_ZPCc+"|>|$))",r.tpl_email_fuzzy='(^|[><|]|"|\\(|'+r.src_ZCc+")("+r.src_email_name+"@"+r.tpl_host_fuzzy_strict+")",r.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+r.src_ZPCc+"))((?![$+<=>^`||])"+r.tpl_host_port_fuzzy_strict+r.src_path+")",r.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+r.src_ZPCc+"))((?![$+<=>^`||])"+r.tpl_host_port_no_ip_fuzzy_strict+r.src_path+")",r),s=e.__tlds__.slice();function o(e){return e.replace("%TLDS%",n.src_tlds)}e.onCompile(),e.__tlds_replaced__||s.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),s.push(n.src_xn),n.src_tlds=s.join("|"),n.email_fuzzy=RegExp(o(n.tpl_email_fuzzy),"i"),n.link_fuzzy=RegExp(o(n.tpl_link_fuzzy),"i"),n.link_no_ip_fuzzy=RegExp(o(n.tpl_link_no_ip_fuzzy),"i"),n.host_fuzzy_test=RegExp(o(n.tpl_host_fuzzy_test),"i");var i=[];function a(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var r=e.__schemas__[t];if(null!==r){var n={validate:null,link:null};if(e.__compiled__[t]=n,"[object Object]"===Ot(r))return!function(e){return"[object RegExp]"===Ot(e)}(r.validate)?jt(r.validate)?n.validate=r.validate:a(t,r):n.validate=function(e){return function(t,r){var n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}(r.validate),void(jt(r.normalize)?n.normalize=r.normalize:r.normalize?a(t,r):n.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===Ot(e)}(r)?a(t,r):i.push(t)}})),i.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var l=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(Vt).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+n.src_ZPCc+"))("+l+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+n.src_ZPCc+"))("+l+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function Jt(e,t){var r=e.__index__,n=e.__last_index__,s=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=s,this.text=s,this.url=s}function Wt(e,t){var r=new Jt(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function Yt(e,t){if(!(this instanceof Yt))return new Yt(e,t);var r;t||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||$t.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=Ut({},$t,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Ut({},Zt,e),this.__compiled__={},this.__tlds__=Gt,this.__tlds_replaced__=!1,this.re={},Ht(this)}Yt.prototype.add=function(e,t){return this.__schemas__[e]=t,Ht(this),this},Yt.prototype.set=function(e){return this.__opts__=Ut(this.__opts__,e),this},Yt.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,n,s,o,i,a,l;if(this.re.schema_test.test(e))for((a=this.re.schema_search).lastIndex=0;null!==(t=a.exec(e));)if(s=this.testSchemaAt(e,t[2],a.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+s;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l=0&&null!==(n=e.match(this.re.email_fuzzy))&&(o=n.index+n[1].length,i=n.index+n[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=i)),this.__index__>=0},Yt.prototype.pretest=function(e){return this.re.pretest.test(e)},Yt.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},Yt.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(Wt(this,t)),t=this.__last_index__);for(var n=t?e.slice(t):e;this.test(n);)r.push(Wt(this,t)),n=n.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},Yt.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,r){return e!==r[t-1]})).reverse(),Ht(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Ht(this),this)},Yt.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},Yt.prototype.onCompile=function(){};var Kt=Yt;const Qt=2147483647,Xt=/^xn--/,er=/[^\0-\x7E]/,tr=/[\x2E\u3002\uFF0E\uFF61]/g,rr={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},nr=Math.floor,sr=String.fromCharCode;function or(e){throw new RangeError(rr[e])}function ir(e,t){const r=e.split("@");let n="";r.length>1&&(n=r[0]+"@",e=r[1]);const s=function(e,t){const r=[];let n=e.length;for(;n--;)r[n]=t(e[n]);return r}((e=e.replace(tr,".")).split("."),t).join(".");return n+s}function ar(e){const t=[];let r=0;const n=e.length;for(;r=55296&&s<=56319&&rString.fromCodePoint(...e),cr=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},ur=function(e,t,r){let n=0;for(e=r?nr(e/700):e>>1,e+=nr(e/t);e>455;n+=36)e=nr(e/35);return nr(n+36*e/(e+38))},pr=function(e){const t=[],r=e.length;let n=0,s=128,o=72,i=e.lastIndexOf("-");i<0&&(i=0);for(let l=0;l=128&&or("not-basic"),t.push(e.charCodeAt(l));for(let l=i>0?i+1:0;l=r&&or("invalid-input");const i=(a=e.charCodeAt(l++))-48<10?a-22:a-65<26?a-65:a-97<26?a-97:36;(i>=36||i>nr((Qt-n)/t))&&or("overflow"),n+=i*t;const c=s<=o?1:s>=o+26?26:s-o;if(inr(Qt/u)&&or("overflow"),t*=u}const c=t.length+1;o=ur(n-i,c,0==i),nr(n/c)>Qt-s&&or("overflow"),s+=nr(n/c),n%=c,t.splice(n++,0,s)}var a;return String.fromCodePoint(...t)},hr=function(e){const t=[];let r=(e=ar(e)).length,n=128,s=0,o=72;for(const l of e)l<128&&t.push(sr(l));let i=t.length,a=i;for(i&&t.push("-");a=n&&tnr((Qt-s)/l)&&or("overflow"),s+=(r-n)*l,n=r;for(const c of e)if(cQt&&or("overflow"),c==n){let e=s;for(let r=36;;r+=36){const n=r<=o?1:r>=o+26?26:r-o;if(e=0))try{t.hostname=gr.toASCII(t.hostname)}catch(r){}return X.encode(X.format(t))}function Ar(e){var t=X.parse(e,!0);if(t.hostname&&(!t.protocol||Cr.indexOf(t.protocol)>=0))try{t.hostname=gr.toUnicode(t.hostname)}catch(r){}return X.decode(X.format(t),X.decode.defaultChars+"%")}function xr(e,t){if(!(this instanceof xr))return new xr(e,t);t||se.isString(e)||(t=e||{},e="default"),this.inline=new Pt,this.block=new lt,this.core=new Ue,this.renderer=new de,this.linkify=new Kt,this.validateLink=vr,this.normalizeLink=yr,this.normalizeLinkText=Ar,this.utils=se,this.helpers=se.assign({},ae),this.options={},this.configure(e),t&&this.set(t)}xr.prototype.set=function(e){return se.assign(this.options,e),this},xr.prototype.configure=function(e){var t,r=this;if(se.isString(e)&&!(e=_r[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&r.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&r[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&r[t].ruler2.enableOnly(e.components[t].rules2)})),this},xr.prototype.enable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.enable(e,!0))}),this),r=r.concat(this.inline.ruler2.enable(e,!0));var n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},xr.prototype.disable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.disable(e,!0))}),this),r=r.concat(this.inline.ruler2.disable(e,!0));var n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},xr.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},xr.prototype.parse=function(e,t){if("string"!=typeof e)throw new Error("Input data should be a String");var r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},xr.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},xr.prototype.parseInline=function(e,t){var r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},xr.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};const Dr=new xr,wr=_();k("data-v-44467b26");const Er={class:"comment-container"},qr={class:"comment-send"},Sr={class:"comment-input"},Fr=i("div",{class:"comment-title"},[i("span",null,"文章交流区")],-1),Lr={class:"comment-list"},zr={class:"comment-avatar"},Ir={class:"comment-content"},Tr={class:"main-comment"},Rr={class:"comment-user-info"},Mr={class:"floor"},Br={class:"badge"},Nr={key:0,class:"author"},Pr={class:"time"},Ur={class:"main-content"},Or={key:0,class:"empty-content"};b();var jr=r({expose:[],props:{postId:Number,authorId:Number},setup(e){const t=e,r=A(),_=x(),k=D(),b=computed((()=>{var e,t;return null!=(t=null==(e=null==k?void 0:k.User)?void 0:e.Id)&&t})),C=reactive({text:"",submitting:!1,list:[],page:1,loaded:!1,listLoadingStatus:0}),y=()=>{C.text?C.submitting?r.warning("评论过快"):(C.submitting=!0,E({PostID:t.postId||-1,AuthorUID:t.authorId||-1,Content:`${C.text} ____ From Vue-next`}).then((e=>{if(null==e?void 0:e.ErrorCode)return 3000009===e.ErrorCode?void r.warning("触发敏感词,请礼貌用语~"):403===e.ErrorCode?void r.info("登录状态过期,跳转登录中...",{timeout:1500,onClose(){_.push("/signin")}}):void r.warning(`评论出错: ${e.ErrorCode} ${e.ErrorMsg}`);r.success("评论成功~"),C.text="",C.listLoadingStatus=1,w({Page:1,Size:15,PostID:t.postId||-1}).then((e=>{var t,r;const n=null!=(r=null==(t=null==e?void 0:e.Result)?void 0:t.Comments)?r:[];C.list=n})).finally((()=>{C.listLoadingStatus=0}))})).finally((()=>{C.submitting=!1}))):r.warning("评论不能为空")},q=()=>{_.push("/signin")},S=L;onMounted((()=>{C.listLoadingStatus=2,C.page=1,C.loaded=!1,w({PostID:t.postId||0,Page:1,Size:15}).then((e=>{var t,n,s;const o=null!=(n=null==(t=null==e?void 0:e.Result)?void 0:t.Comments)?n:[];C.list=o,15===o.length?C.loaded=!1:C.loaded=!0,e.ErrorCode&&r.warning(null!=(s=null==e?void 0:e.ErrorMsg)?s:`${e.ErrorCode}`)})).finally((()=>{C.listLoadingStatus=0}))}));const F=()=>{C.page+=1,C.listLoadingStatus=2,w({PostID:t.postId||-1,Page:C.page,Size:15}).then((e=>{var t,r;const n=null!=(r=null==(t=null==e?void 0:e.Result)?void 0:t.Comments)?r:[];15===n.length?C.loaded=!1:C.loaded=!0,C.list=[...C.list,...n]})).finally((()=>{C.listLoadingStatus=0}))};return wr(((e,t)=>{const r=n("Avatar"),_=n("router-link"),k=n("LoadingBall");return s(),o("div",Er,[i("div",qr,[i("div",Sr,[a(i("textarea",{placeholder:"说说你的看法吧~ , ctrl + enter 可快速提交。","onUpdate:modelValue":t[1]||(t[1]=e=>C.text=e),onKeydown:c(v(y,["ctrl"]),["enter"])},null,40,["onKeydown"]),[[l,C.text,void 0,{trim:!0}]])]),u(b)?(s(),o("div",{key:0,class:"comment-btn",onClick:y}," 发表评论 ")):(s(),o("div",{key:1,class:"comment-btn",onClick:q},"登录发表评论"))]),Fr,i("div",Lr,[i(p,{name:"list"},{default:wr((()=>[(s(!0),o(h,null,d(C.list,((t,n)=>(s(),o("div",{class:"comment-item",key:t.Id},[i("div",zr,[i(_,{to:`/users/${t.CommentUserInfo.UID}`},{default:wr((()=>[i(r,{size:"32px",src:t.CommentUserInfo.Avatar},null,8,["src"])])),_:2},1032,["to"])]),i("div",Ir,[i("div",Tr,[i("div",Rr,[i("span",Mr,"#"+f(C.list.length-n),1),i(_,{to:`/users/${t.CommentUserInfo.UID}`},{default:wr((()=>[m(f(t.CommentUserInfo.Nickname),1)])),_:2},1032,["to"]),i("span",Br,[t.CommentUserInfo.UID==e.$props.authorId?(s(),o("sup",Nr,"本文作者")):g("",!0),(s(!0),o(h,null,d(t.CommentUserInfo.Roles,(e=>(s(),o("sup",{class:"role",key:e.RID},f(e.Description),1)))),128))]),i("span",Pr,f(u(S)(t.CreatedAt)),1)]),i("div",Ur,f(t.Content),1)])])])))),128))])),_:1}),0!==C.list.length||C.listLoadingStatus?g("",!0):(s(),o("div",Or," 暂无任何评论,快去发表吧~ ")),i(k,{loading:C.list.length>0&&2==C.listLoadingStatus},null,8,["loading"]),C.loaded||C.listLoadingStatus?g("",!0):(s(),o("div",{key:1,class:"btn-next",onClick:F}," 查看更多 "))])])}))}});jr.__scopeId="data-v-44467b26";const Vr=_();k("data-v-ad8ad844");const $r={key:0},Zr={class:"article-title"},Gr={class:"artilce-info"},Hr=m(" 分类: "),Jr={class:"article-navi"};b();var Wr=r({expose:[],props:{pid:{required:!0,type:Number,validator:e=>!isNaN(+e)}},setup(e){const t=e,r=A(),{data:l,loading:c}=q(t.pid),p=computed((()=>{var e,t;return Dr.render(null!=(t=null==(e=l.value.Result)?void 0:e.Content)?t:"")})),h=computed((()=>{var e,t;return z(null!=(t=null==(e=l.value.Result)?void 0:e.CreatedAt)?t:Date.now())})),d=computed((()=>{var e;return null==(e=l.value.Result)?void 0:e.Title})),_=computed((()=>{var e;return null==(e=l.value.Result)?void 0:e.Summary})),k=computed((()=>{var e;return null==(e=l.value.Result)?void 0:e.AuthorInfo.UID})),b=computed((()=>{var e;return null==(e=l.value.Result)?void 0:e.AuthorInfo.Nickname})),v=computed((()=>{var e;return null==(e=l.value.Result)?void 0:e.Category.Id})),x=computed((()=>{var e;return null==(e=l.value.Result)?void 0:e.Category.CN})),D=computed((()=>{var e,t,r;return null==(r=null==(t=null==(e=l.value.Result)?void 0:e.Navigation)?void 0:t.Prev)?void 0:r.Id})),w=computed((()=>{var e,t,r;return null==(r=null==(t=null==(e=l.value.Result)?void 0:e.Navigation)?void 0:t.Next)?void 0:r.Id})),E=computed((()=>{var e,t,r;return null==(r=null==(t=null==(e=l.value.Result)?void 0:e.Navigation)?void 0:t.Next)?void 0:r.Title})),L=computed((()=>{var e,t,r;return null==(r=null==(t=null==(e=l.value.Result)?void 0:e.Navigation)?void 0:t.Prev)?void 0:r.Title})),I=computed((()=>`${b.value}发表了${d.value},${_.value}`));return S({title:d,meta:[{name:"description",content:I},{name:"author",content:b}]}),watch((()=>null==l?void 0:l.value.ErrorMsg),((e,t)=>{r.error("请求出错:"+e)})),Vr(((e,r)=>{const l=n("LoadingBall"),_=n("router-link"),A=C("highlight");return s(),o(F,null,{default:Vr((()=>[i(l,{loading:u(c),info:"努力加载文章中","info-size":"18px",padding:"30vh 0"},null,8,["loading"]),i(y,{name:"content"},{default:Vr((()=>[u(c)?g("",!0):(s(),o("main",$r,[i("h1",Zr,f(u(d)),1),i("div",Gr,[i("span",null,[i(_,{to:`/users/${u(k)}`},{default:Vr((()=>[i("a",null,f(u(b)),1)])),_:1},8,["to"])]),i("span",null,"发表于: "+f(u(h)),1),i("span",null,[Hr,i(_,{to:`/?CategoryID=${u(v)}`},{default:Vr((()=>[m(f(u(x)),1)])),_:1},8,["to"])])]),a(i("div",{innerHTML:u(p),class:"article-container"},null,8,["innerHTML"]),[[A]]),i("div",Jr,[i("div",null,[u(D)?(s(),o(_,{key:0,to:`/post/${u(D)}`},{default:Vr((()=>[m(" 上一篇 « "+f(u(L)),1)])),_:1},8,["to"])):g("",!0)]),i("div",null,[u(w)?(s(),o(_,{key:0,to:`/post/${u(w)}`},{default:Vr((()=>[m(" 下一篇 » "+f(u(E)),1)])),_:1},8,["to"])):g("",!0)])]),i(jr,{"author-id":u(k),"post-id":t.pid},null,8,["author-id","post-id"])]))])),_:1})])),_:1})}))}});Wr.__scopeId="data-v-ad8ad844";export default Wr; diff --git a/assets/uid-legacy.69cea2d4.js b/assets/uid-legacy.c359b6bd.js similarity index 65% rename from assets/uid-legacy.69cea2d4.js rename to assets/uid-legacy.c359b6bd.js index 20373b5..a434b62 100644 --- a/assets/uid-legacy.69cea2d4.js +++ b/assets/uid-legacy.c359b6bd.js @@ -1 +1 @@ -var __vite_style__=document.createElement("style");__vite_style__.innerHTML=".tips[data-v-47ffa996]{text-align:center;padding:50px}@media (max-width:750px){.avatar-container[data-v-94b7b0aa]{display:none}}@media (min-width:1024px){.user-header-container[data-v-94b7b0aa]{padding:40px}}.user-header-container[data-v-94b7b0aa]{display:flex;padding:10px 0}.user-info-container[data-v-94b7b0aa]{width:400px;line-height:1.5;padding:10px 0;display:flex;flex-direction:column;justify-content:space-between}.avatar-container[data-v-94b7b0aa]{margin-right:30px}.user-info[data-v-94b7b0aa]{display:flex;justify-content:space-between;align-items:center;min-height:45px}.logout[data-v-94b7b0aa]{cursor:pointer}.nickname[data-v-94b7b0aa]{font-size:28px}.social-info[data-v-94b7b0aa]{display:none;justify-content:space-between;padding:10px 0}.more-list[data-v-94b7b0aa]{text-align:center;padding:20px;cursor:pointer}",document.head.appendChild(__vite_style__),System.register(["./vendor-legacy.73e5f43f.js","./index-legacy.6cec1b28.js","./index.vue_vue&type=style&index=0&lang-legacy.ec660a35.js","./SimpleInfoItem-legacy.b7b97413.js","./time-legacy.6cd5ad23.js"],(function(e){"use strict";var n,a,t,i,l,o,r,u,d,s,c,v,p,f,g,b,y,m,x,_,h;return{setters:[function(e){n=e.k,a=e.n,t=e.p,i=e.B,l=e.N,o=e.O,r=e.P,u=e.x,d=e.z,s=e.u,c=e.y,v=e.T,p=e.F,f=e.E},function(e){g=e.u,b=e.c,y=e.i,m=e.a,x=e.G},function(e){_=e._},function(e){h=e._},function(){}],execute:function(){var k=l();o("data-v-47ffa996");var R={class:"tips"};r();var I=n({expose:[],props:{title:String},setup:function(e){var n=e;return k((function(e,l){return a(),t("div",R,i(n.title)+"~",1)}))}});I.__scopeId="data-v-47ffa996";var j=l();o("data-v-94b7b0aa");var w={class:"user-header-container"},N={class:"avatar-container"},A={class:"user-info-container"},P={class:"user-info"},S={class:"nickname-op"},U={class:"nickname"},z={class:"user-article-cotainer"};r();e("default",n({expose:[],props:{uid:{required:!0,type:Number,validator:function(e){return!isNaN(+e)}}},setup:function(e){var n=e,l=g(),o=b(),r=y(n.uid).data;watch((function(){return r.value.ErrorMsg}),(function(e){e&&o.error(e)}));var k=reactive({list:[],page:1,loading:!1,loaded:!1}),R=computed((function(){var e;return l.User.Id===(null==(e=r.value.Result)?void 0:e.Id)})),B=computed((function(){var e;return(null==(e=r.value.Result)?void 0:e.Nickname)+"的个人中心"}));m({title:B});var C=function(){console.log("退出登录"),l.ResetUserStore(),o.success("退出登录成功~")},E=function(){var e;k.loading=!0,x({UID:null==(e=r.value.Result)?void 0:e.Id,Page:k.page+1}).then((function(e){var n,a,t,i;0!==(null!=(n=null==(a=e.Result)?void 0:a.Articles)?n:[]).length?(k.page+=1,k.list=[].concat(k.list,null!=(t=null==(i=e.Result)?void 0:i.Articles)?t:[])):k.loaded=!0})).finally((function(){k.loading=!1}))};return onMounted((function(){var e,a;e=n.uid,a=1,k.loading=!0,x({UID:e,Page:a=a||1}).then((function(e){var n,t,i=null!=(n=null==e||null==(t=e.Result)?void 0:t.Articles)?n:[];k.page=a,k.list=i,0===i.length?k.loaded=!0:k.loaded=!1})).finally((function(){k.loading=!1}))})),j((function(e,n){var l=u("Avatar"),o=u("LoadingBall");return a(),t(_,null,{default:j((function(){var e,n,u,g,b;return[d("main",null,[d("div",w,[d("div",N,[d(l,{size:"150px",src:null==(e=s(r).Result)?void 0:e.Avatar},null,8,["src"])]),d("div",A,[d("div",P,[d("span",S,[d("span",U,i(null==(n=s(r).Result)?void 0:n.Nickname),1)]),s(R)?(a(),t("span",{key:0,class:"op-btn",onClick:C},"退出")):c("",!0)]),d("div",null,i(null==(u=s(r).Result)?void 0:u.Location)+" · "+i(null==(g=s(r).Result)?void 0:g.Profession),1),d("div",null,i(null==(b=s(r).Result)?void 0:b.Brief),1)])]),d("div",z,[d(v,{name:"list"},{default:j((function(){return[(a(!0),t(p,null,f(k.list,(function(e){return a(),t(h,{key:e.Id,info:e},null,8,["info"])})),128))]})),_:1}),k.list.length>0&&!k.loaded&&!k.loading?(a(),t("div",{key:0,class:"more-list",onClick:E}," 加载更多 ")):c("",!0),d(o,{loading:k.list.length>0&&k.loading},null,8,["loading"]),k.loaded?(a(),t(I,{key:1,title:"世界终有尽头~"})):c("",!0)])])]})),_:1})}))}})).__scopeId="data-v-94b7b0aa"}}})); +var __vite_style__=document.createElement("style");__vite_style__.innerHTML=".tips[data-v-47ffa996]{text-align:center;padding:50px}@media (max-width:750px){.avatar-container[data-v-94b7b0aa]{display:none}}@media (min-width:1024px){.user-header-container[data-v-94b7b0aa]{padding:40px}}.user-header-container[data-v-94b7b0aa]{display:flex;padding:10px 0}.user-info-container[data-v-94b7b0aa]{width:400px;line-height:1.5;padding:10px 0;display:flex;flex-direction:column;justify-content:space-between}.avatar-container[data-v-94b7b0aa]{margin-right:30px}.user-info[data-v-94b7b0aa]{display:flex;justify-content:space-between;align-items:center;min-height:45px}.logout[data-v-94b7b0aa]{cursor:pointer}.nickname[data-v-94b7b0aa]{font-size:28px}.social-info[data-v-94b7b0aa]{display:none;justify-content:space-between;padding:10px 0}.more-list[data-v-94b7b0aa]{text-align:center;padding:20px;cursor:pointer}",document.head.appendChild(__vite_style__),System.register(["./vendor-legacy.73e5f43f.js","./index-legacy.fe24d0c9.js","./index.vue_vue&type=style&index=0&lang-legacy.895d60fd.js","./SimpleInfoItem-legacy.b7b97413.js","./time-legacy.6cd5ad23.js"],(function(e){"use strict";var n,a,t,i,l,o,d,r,u,s,c,v,f,p,g,b,y,m,x,_,h;return{setters:[function(e){n=e.k,a=e.n,t=e.p,i=e.B,l=e.N,o=e.O,d=e.P,r=e.x,u=e.z,s=e.u,c=e.y,v=e.T,f=e.F,p=e.E},function(e){g=e.u,b=e.c,y=e.i,m=e.a,x=e.G},function(e){_=e._},function(e){h=e._},function(){}],execute:function(){var k=l();o("data-v-47ffa996");var R={class:"tips"};d();var I=n({expose:[],props:{title:String},setup:function(e){var n=e;return k((function(e,l){return a(),t("div",R,i(n.title)+"~",1)}))}});I.__scopeId="data-v-47ffa996";var j=l();o("data-v-94b7b0aa");var w={class:"user-header-container"},N={class:"avatar-container"},A={class:"user-info-container"},P={class:"user-info"},S={class:"nickname-op"},U={class:"nickname"},z={class:"user-article-cotainer"};d();e("default",n({expose:[],props:{uid:{required:!0,type:Number,validator:function(e){return!isNaN(+e)}}},setup:function(e){var n=e,l=g(),o=b(),d=y(n.uid).data;watch((function(){return d.value.ErrorMsg}),(function(e){e&&o.error(e)}));var k=reactive({list:[],page:1,loading:!1,loaded:!1}),R=computed((function(){var e;return l.User.Id===(null==(e=d.value.Result)?void 0:e.Id)})),B=computed((function(){var e;return(null==(e=d.value.Result)?void 0:e.Nickname)+"的个人中心"}));m({title:B});var C=function(){console.log("退出登录"),l.ResetUserStore(),o.success("退出登录成功~")},E=function(){var e;k.loading=!0,x({UID:null==(e=d.value.Result)?void 0:e.Id,Page:k.page+1}).then((function(e){var n,a,t,i;0!==(null!=(n=null==(a=e.Result)?void 0:a.Articles)?n:[]).length?(k.page+=1,k.list=[].concat(k.list,null!=(t=null==(i=e.Result)?void 0:i.Articles)?t:[])):k.loaded=!0})).finally((function(){k.loading=!1}))};return onMounted((function(){var e,a;e=n.uid,a=1,k.loading=!0,x({UID:e,Page:a=a||1}).then((function(e){var n,t,i=null!=(n=null==e||null==(t=e.Result)?void 0:t.Articles)?n:[];k.page=a,k.list=i,0===i.length?k.loaded=!0:k.loaded=!1})).finally((function(){k.loading=!1}))})),j((function(e,n){var l=r("Avatar"),o=r("LoadingBall");return a(),t(_,null,{default:j((function(){var e,n,r,g,b;return[u("main",null,[u("div",w,[u("div",N,[u(l,{size:"150px",src:null==(e=s(d).Result)?void 0:e.Avatar},null,8,["src"])]),u("div",A,[u("div",P,[u("span",S,[u("span",U,i(null==(n=s(d).Result)?void 0:n.Nickname),1)]),s(R)?(a(),t("span",{key:0,class:"op-btn",onClick:C},"退出")):c("",!0)]),u("div",null,i(null==(r=s(d).Result)?void 0:r.Location)+" · "+i(null==(g=s(d).Result)?void 0:g.Profession),1),u("div",null,i(null==(b=s(d).Result)?void 0:b.Brief),1)])]),u("div",z,[u(v,{name:"list"},{default:j((function(){return[(a(!0),t(f,null,p(k.list,(function(e){return a(),t(h,{key:e.Id,info:e},null,8,["info"])})),128))]})),_:1}),k.list.length>0&&!k.loaded&&!k.loading?(a(),t("div",{key:0,class:"more-list",onClick:E}," 加载更多 ")):c("",!0),u(o,{loading:k.list.length>0&&k.loading},null,8,["loading"]),k.loaded?(a(),t(I,{key:1,title:"世界终有尽头~"})):c("",!0)])])]})),_:1})}))}})).__scopeId="data-v-94b7b0aa"}}})); diff --git a/assets/uid.915351d3.js b/assets/uid.915351d3.js deleted file mode 100644 index 75c29f9..0000000 --- a/assets/uid.915351d3.js +++ /dev/null @@ -1 +0,0 @@ -import{k as l,n as a,p as e,B as s,N as n,O as t,P as i,x as o,z as d,u as r,y as u,T as c,F as v,E as p}from"./vendor.18b3a30d.js";import{u as f,c as g,i as m,a as R,G as k}from"./index.7b8df9f4.js";import{_ as y}from"./index.vue_vue&type=style&index=0&lang.d6191442.js";import{_ as I}from"./SimpleInfoItem.b3f6f051.js";import"./time.93dfc2a8.js";const b=n();t("data-v-47ffa996");const _={class:"tips"};i();var h=l({expose:[],props:{title:String},setup(l){const n=l;return b(((l,t)=>(a(),e("div",_,s(n.title)+"~",1))))}});h.__scopeId="data-v-47ffa996";const x=n();t("data-v-94b7b0aa");const N={class:"user-header-container"},j={class:"avatar-container"},A={class:"user-info-container"},P={class:"user-info"},U={class:"nickname-op"},B={class:"nickname"},S={class:"user-article-cotainer"};i();var z=l({expose:[],props:{uid:{required:!0,type:Number,validator:l=>!isNaN(+l)}},setup(l){const n=l,t=f(),i=g(),{data:b}=m(n.uid);watch((()=>b.value.ErrorMsg),(l=>{l&&i.error(l)}));const _=reactive({list:[],page:1,loading:!1,loaded:!1}),z=computed((()=>{var l;return t.User.Id===(null==(l=b.value.Result)?void 0:l.Id)})),C=computed((()=>{var l;return`${null==(l=b.value.Result)?void 0:l.Nickname}的个人中心`}));R({title:C});const D=()=>{console.log("退出登录"),t.ResetUserStore(),i.success("退出登录成功~")},E=()=>{var l;_.loading=!0,k({UID:null==(l=b.value.Result)?void 0:l.Id,Page:_.page+1}).then((l=>{var a,e,s,n;0!==(null!=(e=null==(a=l.Result)?void 0:a.Articles)?e:[]).length?(_.page+=1,_.list=[..._.list,...null!=(n=null==(s=l.Result)?void 0:s.Articles)?n:[]]):_.loaded=!0})).finally((()=>{_.loading=!1}))};return onMounted((()=>{var l,a;l=n.uid,a=1,_.loading=!0,k({UID:l,Page:a=a||1}).then((l=>{var e,s;const n=null!=(s=null==(e=null==l?void 0:l.Result)?void 0:e.Articles)?s:[];_.page=a,_.list=n,0===n.length?_.loaded=!0:_.loaded=!1})).finally((()=>{_.loading=!1}))})),x(((l,n)=>{const t=o("Avatar"),i=o("LoadingBall");return a(),e(y,null,{default:x((()=>{var l,n,o,f,g;return[d("main",null,[d("div",N,[d("div",j,[d(t,{size:"150px",src:null==(l=r(b).Result)?void 0:l.Avatar},null,8,["src"])]),d("div",A,[d("div",P,[d("span",U,[d("span",B,s(null==(n=r(b).Result)?void 0:n.Nickname),1)]),r(z)?(a(),e("span",{key:0,class:"op-btn",onClick:D},"退出")):u("",!0)]),d("div",null,s(null==(o=r(b).Result)?void 0:o.Location)+" · "+s(null==(f=r(b).Result)?void 0:f.Profession),1),d("div",null,s(null==(g=r(b).Result)?void 0:g.Brief),1)])]),d("div",S,[d(c,{name:"list"},{default:x((()=>[(a(!0),e(v,null,p(_.list,(l=>(a(),e(I,{key:l.Id,info:l},null,8,["info"])))),128))])),_:1}),_.list.length>0&&!_.loaded&&!_.loading?(a(),e("div",{key:0,class:"more-list",onClick:E}," 加载更多 ")):u("",!0),d(i,{loading:_.list.length>0&&_.loading},null,8,["loading"]),_.loaded?(a(),e(h,{key:1,title:"世界终有尽头~"})):u("",!0)])])]})),_:1})}))}});z.__scopeId="data-v-94b7b0aa";export default z; diff --git a/assets/uid.925b71a7.js b/assets/uid.925b71a7.js new file mode 100644 index 0000000..8391466 --- /dev/null +++ b/assets/uid.925b71a7.js @@ -0,0 +1 @@ +import{k as l,n as a,p as e,B as s,N as n,O as t,P as i,x as o,z as d,u as r,y as u,T as c,F as v,E as p}from"./vendor.18b3a30d.js";import{u as f,c as g,i as m,a as R,G as k}from"./index.e61a2594.js";import{_ as y}from"./index.vue_vue&type=style&index=0&lang.401498f5.js";import{_ as I}from"./SimpleInfoItem.b3f6f051.js";import"./time.93dfc2a8.js";const _=n();t("data-v-47ffa996");const b={class:"tips"};i();var h=l({expose:[],props:{title:String},setup(l){const n=l;return _(((l,t)=>(a(),e("div",b,s(n.title)+"~",1))))}});h.__scopeId="data-v-47ffa996";const x=n();t("data-v-94b7b0aa");const N={class:"user-header-container"},j={class:"avatar-container"},A={class:"user-info-container"},P={class:"user-info"},U={class:"nickname-op"},B={class:"nickname"},S={class:"user-article-cotainer"};i();var z=l({expose:[],props:{uid:{required:!0,type:Number,validator:l=>!isNaN(+l)}},setup(l){const n=l,t=f(),i=g(),{data:_}=m(n.uid);watch((()=>_.value.ErrorMsg),(l=>{l&&i.error(l)}));const b=reactive({list:[],page:1,loading:!1,loaded:!1}),z=computed((()=>{var l;return t.User.Id===(null==(l=_.value.Result)?void 0:l.Id)})),C=computed((()=>{var l;return`${null==(l=_.value.Result)?void 0:l.Nickname}的个人中心`}));R({title:C});const D=()=>{console.log("退出登录"),t.ResetUserStore(),i.success("退出登录成功~")},E=()=>{var l;b.loading=!0,k({UID:null==(l=_.value.Result)?void 0:l.Id,Page:b.page+1}).then((l=>{var a,e,s,n;0!==(null!=(e=null==(a=l.Result)?void 0:a.Articles)?e:[]).length?(b.page+=1,b.list=[...b.list,...null!=(n=null==(s=l.Result)?void 0:s.Articles)?n:[]]):b.loaded=!0})).finally((()=>{b.loading=!1}))};return onMounted((()=>{var l,a;l=n.uid,a=1,b.loading=!0,k({UID:l,Page:a=a||1}).then((l=>{var e,s;const n=null!=(s=null==(e=null==l?void 0:l.Result)?void 0:e.Articles)?s:[];b.page=a,b.list=n,0===n.length?b.loaded=!0:b.loaded=!1})).finally((()=>{b.loading=!1}))})),x(((l,n)=>{const t=o("Avatar"),i=o("LoadingBall");return a(),e(y,null,{default:x((()=>{var l,n,o,f,g;return[d("main",null,[d("div",N,[d("div",j,[d(t,{size:"150px",src:null==(l=r(_).Result)?void 0:l.Avatar},null,8,["src"])]),d("div",A,[d("div",P,[d("span",U,[d("span",B,s(null==(n=r(_).Result)?void 0:n.Nickname),1)]),r(z)?(a(),e("span",{key:0,class:"op-btn",onClick:D},"退出")):u("",!0)]),d("div",null,s(null==(o=r(_).Result)?void 0:o.Location)+" · "+s(null==(f=r(_).Result)?void 0:f.Profession),1),d("div",null,s(null==(g=r(_).Result)?void 0:g.Brief),1)])]),d("div",S,[d(c,{name:"list"},{default:x((()=>[(a(!0),e(v,null,p(b.list,(l=>(a(),e(I,{key:l.Id,info:l},null,8,["info"])))),128))])),_:1}),b.list.length>0&&!b.loaded&&!b.loading?(a(),e("div",{key:0,class:"more-list",onClick:E}," 加载更多 ")):u("",!0),d(i,{loading:b.list.length>0&&b.loading},null,8,["loading"]),b.loaded?(a(),e(h,{key:1,title:"世界终有尽头~"})):u("",!0)])])]})),_:1})}))}});z.__scopeId="data-v-94b7b0aa";export default z; diff --git a/index.html b/index.html index bac52ef..5202077 100644 --- a/index.html +++ b/index.html @@ -20,7 +20,7 @@ > 远浅 - 为美好的世界献上祝福 - Vue3实战项目 - + @@ -30,6 +30,6 @@ - +