diff --git a/themes/yilia/layout/_partial/article.ejs b/themes/yilia/layout/_partial/article.ejs index 9c8fec8..04a85c9 100644 --- a/themes/yilia/layout/_partial/article.ejs +++ b/themes/yilia/layout/_partial/article.ejs @@ -105,6 +105,6 @@ <% } if(theme.gitalk.enable || theme.valine.enable){ %> -
+
<% } %> <% } %> \ No newline at end of file diff --git a/themes/yilia/layout/_partial/script.ejs b/themes/yilia/layout/_partial/script.ejs index 933c2b2..19b232d 100644 --- a/themes/yilia/layout/_partial/script.ejs +++ b/themes/yilia/layout/_partial/script.ejs @@ -1,4 +1,4 @@ <%- js('js/main.47daecb9041cfca058ea.js') %> <%- js('js/slider.ef2aa12e396cdf8555f9.js') %> <%- js('js/mobile.97141e5b049f95a96735.js') %> -<%- js('js/comment.62251492e636f41e00f2.js') %> \ No newline at end of file +<%- js('js/comment.8959a0e1c58f06787797.js') %> \ No newline at end of file diff --git a/themes/yilia/source-src/css/article-main.scss b/themes/yilia/source-src/css/article-main.scss index a592a5d..7231a36 100644 --- a/themes/yilia/source-src/css/article-main.scss +++ b/themes/yilia/source-src/css/article-main.scss @@ -75,7 +75,10 @@ max-width: 100%; } } - +#comments { + margin:0 30px; + background-color:#fff; +} .article-inner h1.article-title, .article-title { color: #696969; margin-left: 0px; diff --git a/themes/yilia/source-src/css/article.scss b/themes/yilia/source-src/css/article.scss deleted file mode 100644 index 0da8127..0000000 --- a/themes/yilia/source-src/css/article.scss +++ /dev/null @@ -1,330 +0,0 @@ -.body-wrap{ - margin-bottom: 80px; -} -.article { - margin: 30px; - position: relative; - background: #fff; - -webkit-transition: all 0.2s ease-in; - &.show{ - visibility: visible; - -webkit-animation: cd-bounce-1 0.6s; - -moz-animation: cd-bounce-1 0.6s; - animation: cd-bounce-1 0.6s; - } - &.hidden{ - visibility: hidden; - } - img{ - max-width: 100%; - } -} -@-webkit-keyframes cd-bounce-1 { - 0% { - opacity: 0; - -webkit-transform: scale(1); - } - 60% { - opacity: 1; - -webkit-transform: scale(1.01); - } - 100% { - -webkit-transform: scale(1); - } -} -@-moz-keyframes cd-bounce-1 { - 0% { - opacity: 0; - -moz-transform: scale(1); - } - 60% { - opacity: 1; - -moz-transform: scale(1.01); - } - 100% { - -moz-transform: scale(1); - } -} -@keyframes cd-bounce-1 { - 0% { - opacity: 0; - -webkit-transform: scale(1); - -moz-transform: scale(1); - -ms-transform: scale(1); - -o-transform: scale(1); - transform: scale(1); - } - 60% { - opacity: 1; - -webkit-transform: scale(1.01); - -moz-transform: scale(1.01); - -ms-transform: scale(1.01); - -o-transform: scale(1.01); - transform: scale(1.01); - } - 100% { - -webkit-transform: scale(1); - -moz-transform: scale(1); - -ms-transform: scale(1); - -o-transform: scale(1); - transform: scale(1); - } -} -.article-index{ - margin-left: 200px; - padding: 15px 0; - margin-right: 75px; - .brief{ - display: block; - color: #a8a8a8; - font-size: 12px; - line-height: 14px; - height: 7px; - padding-left: 2px; - &:before{ - display: inline-block; - content: "“"; - font-family: serif; - font-size: 30px; - float: left; - margin: 4px 4px 0 -12px; - color: #c8c8c8; - } - } -} - -.article-title { - color: #696969; - margin-left: 0px; - font-weight: 300; - line-height: 35px; - margin-bottom: 20px; - font-size: 26px; - -webkit-transition: color 0.3s; - -moz-transition: color 0.3s; - -o-transition: color 0.3s; - transition: color 0.3s; - &:hover{ - color: #B0A0AA; - } -} - -.article-inner{ - position: relative; - margin-bottom: 20px; -} -.article-header{ - border-left: 5px solid #4d4d4d; - padding: 15px 0px 15px 25px; -} - -.article-info.info-on-right{ - margin: 10px 0 0 0; - float: right; -} -.article-info-index.article-info{ - padding-top: 20px; - margin: 30px 30px 0 30px; - border-top: 1px solid #ddd; -} -.article-info-post.article-info{ - padding: 0; - border: none; - margin: -30px 0 20px 30px; -} -.article-entry{ - line-height: 1.8em; - padding-right: 30px; - padding-left: 30px; - p{ - margin-top: 10px; - } - p code,li code{ - padding: 1px 3px; - margin: 0 3px; - background: #ddd; - border: 1px solid #ccc; - font-family: Menlo,Monaco,"Andale Mono","lucida console","Courier New",monospace; - word-wrap: break-word; - font-size: 14px; - } - blockquote { - background: #ddd; - border-left: 5px solid #ccc; - padding: 15px 20px; - margin-top: 10px; - border-left: 5px solid #657b83; - background: #f6f6f6; - p{ - margin-top: 0; - } - } - em { - font-style: italic; - } - ul{ - li:before{ - content: ""; - width: 6px; - height: 6px; - border: 1px solid #999; - border-radius: 10px; - background: #aaa; - display: inline-block; - margin-right: 10px; - float: left; - margin-top: 12px; - } - } - ul,ol{ - font-size: 14px; - margin: 10px 0px; - } - li{ - ul,ol{ - margin-left: 30px; - li:before{ - content: ""; - background: #dedede; - } - } - } - h1{ - margin-top: 30px; - } - h2{ - margin-top: 20px; - font-weight: 300; - color: #574C4C; - padding-bottom: 5px; - border-bottom: 1px solid #ddd; - } - h3,h4,h5,h6{ - margin-top: 20px; - font-weight: 300; - color: #574C4C; - padding-bottom: 5px; - border-bottom: 1px solid #ddd; - } - video{ - max-width: 100%; - } - strong { - font-weight: bold; - } - .caption{ - display: block; - font-size: 0.8em; - color: #aaa; - } - hr{ - height: 0; - margin-top: 20px; - margin-bottom: 20px; - border-left: 0; - border-right: 0; - border-top: 1px solid #DDD; - border-bottom: 1px solid #FFF; - } - pre { - font-size: 1 / 0.9em; - line-height: 1.5; - margin-top: 10px; - padding: 5px 15px; - overflow-x: auto; - color: #657b83; - font-size: 10px; - border: 1px solid #ccc; - text-shadow: 0 1px #444; - font-family: Menlo,Monaco,"Andale Mono","lucida console","Courier New",monospace; - code{ - font-size: 14px; - } - } - table{ - width:100%; - border: 1px solid #dedede; - margin: 15px 0; - border-collapse:collapse; - tr,td{ - height:35px; - } - thead{ - tr { - background: #f8f8f8; - } - } - tbody{ - tr:hover{ - background: #efefef; - } - } - td,th{ - border: 1px solid #dedede; - padding: 0 10px; - } - } - figure{ - table { - border: none; - width: auto; - margin: 0; - tbody{ - tr:hover{ - background: none; - } - } - } - } -} - -.article-meta{ - width: 150px; - font-size: 14; - text-align: right; - position: absolute; - right: 0; - top: 23px; - text-align: center; - z-index: 1; - time{ - color: #aaa; - } -} - -#article-nav{ - margin: 80px 0 30px 0; - padding-bottom: 10px; - .article-nav-link-wrap{ - margin: 0px 30px 0px 30px; - font-size: 14px; - color: #333; - .article-nav-title{ - display: inline-block; - font-size: 12px; - color: #aaa; - transition: color 0.3s; - } - strong{ - background: #ddd; - color: #fff; - border-radius: 100%; - width: 15px; - height: 15px; - display: inline-block; - text-align: center; - transition: background 0.3s; - } - &:hover{ - strong{ - background: #4d4d4d; - } - .article-nav-title{ - color: #4d4d4d; - } - } - } - #article-nav-older{ - float: right; - } -} diff --git a/themes/yilia/source-src/css/mobile.scss b/themes/yilia/source-src/css/mobile.scss index 3b4a4ac..da6026e 100644 --- a/themes/yilia/source-src/css/mobile.scss +++ b/themes/yilia/source-src/css/mobile.scss @@ -220,6 +220,9 @@ html, body, #container { display: block; } } +#comments { + margin: 0; +} .share{ padding: 3px 10px; } diff --git a/themes/yilia/source-src/lib/Valine.min.js b/themes/yilia/source-src/lib/Valine.min.js index ddfaf05..a26b6ae 100644 --- a/themes/yilia/source-src/lib/Valine.min.js +++ b/themes/yilia/source-src/lib/Valine.min.js @@ -3,4 +3,8 @@ * (c) 2017-2018 xCss * Released under the GPL-2.0 License. */ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Valine=t():e.Valine=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=14)}([function(e,t,n){"use strict";function r(e){var t=this;return!!e&&t.init(e),t}function i(e){return new r(e)}var o=n(3),a=n(5),s=n(6),l=n(4),c=n(2),u=n(1);s.setOptions({renderer:new s.Renderer,gfm:!0,tables:!0,breaks:!0,pedantic:!0,sanitize:!0,smartLists:!0,smartypants:!0});var d={comment:"",nick:"Anonymous",mail:"",link:"",ua:navigator.userAgent,url:""},p={"zh-cn":{head:{nick:"昵称",mail:"邮箱",link:"网址(http://)"},tips:{comments:"评论",sofa:"还没有评论哦,快来抢沙发吧~",busy:"还在提交中,请稍候...",again:"这么简单也能错,也是没谁了."},ctrl:{reply:"回复",ok:"好的",sure:"确认",cancel:"取消",confirm:"确认",continue:"继续",more:"查看更多...",try:"再试试?"},error:{99:"初始化失败,请检查init中的`el`元素.",100:"初始化失败,请检查你的AppId和AppKey.",401:"未经授权的操作,请检查你的AppId和AppKey.",403:"访问被api域名白名单拒绝,请检查你的安全域名设置."},timeago:{seconds:"秒前",minutes:"分钟前",hours:"小时前",days:"天前",now:"刚刚"}},en:{head:{nick:"NickName",mail:"E-Mail",link:"Website(http://)"},tips:{comments:"Comments",sofa:"No comments yet.",busy:"Submit is busy, please wait...",again:"Sorry, this is a wrong calculation."},ctrl:{reply:"Reply",ok:"Ok",sure:"Sure",cancel:"Cancel",confirm:"Confirm",continue:"Continue",more:"Load More...",try:"Once More?"},error:{99:"Initialization failed, Please check the `el` element in the init method.",100:"Initialization failed, Please check your appId and appKey.",401:"Unauthorized operation, Please check your appId and appKey.",403:"Access denied by api domain white list, Please check your security domain."},timeago:{seconds:"seconds ago",minutes:"minutes ago",hours:"hours ago",days:"days ago",now:"just now"}}},h={cdn:"https://gravatar.loli.net/avatar/",ds:["mm","identicon","monsterid","wavatar","retro",""],params:"",hide:!1},f=["nick","mail","link"],v=Storage&&localStorage&&localStorage instanceof Storage&&localStorage,g=location.pathname.replace(/index\.(html|htm)$/,"");r.prototype.init=function(e){var t=this;try{var n=e.lang||"",r=e.langMode||"",i=h.ds,a=e.avatar||"mm",s=e.avatar_cdn||"";n&&r&&t.installLocale(n,r),t.locale=t.locale||p[e.lang||"zh-cn"],t.notify=e.notify||!1,t.verify=e.verify||!1,h.params="?d="+(i.indexOf(a)>-1?a:"mm"),h.hide="hide"===a,h.cdn=!!s&&s||h.cdn,g=e.path||g,e.guest_info=(e.guest_info||f).filter(function(e){return f.indexOf(e)>-1});var l=Number(e.pageSize||10);if(e.pageSize=isNaN(l)?10:l<1?10:l,!AV)return void setTimeout(function(){t.init(e)},20);var c=e.app_id||e.appId,u=e.app_key||e.appKey,d=(e.region||"cn").toLowerCase(),v=["cn","us"];if(d=v.indexOf(d)>-1?d:v[0],!c||!u)throw 99;AV.applicationId=null,AV.init({appId:c,appKey:u,region:d});for(var m=document.querySelectorAll(".valine-comment-count"),b=0,x=m.length;b-1?'':""});t.placeholder=e.placeholder||"Just Go Go",t.el.innerHTML='
'+S.join("")+'
Emoji | Preview
Valine v1.1.9
';var _=t.el.querySelector(".vempty");t.nodata={show:function(e){return _.innerHTML=e||t.locale.tips.sofa,_.setAttribute("style","display:block;"),t},hide:function(){return _.setAttribute("style","display:none;"),t}};var O=document.createElement("div");O.setAttribute("class","vloading");var A=t.el.querySelector(".vlist");t.loading={show:function(e){var n=A.querySelectorAll(".vcard");return e?A.insertBefore(O,n[0]):A.appendChild(O),t.nodata.hide(),t},hide:function(){var e=A.querySelector(".vloading");return e&&A.removeChild(e),0===A.querySelectorAll(".vcard").length&&t.nodata.show(),t}};var $=t.el.querySelector(".vmark");t.alert={show:function(e){$.innerHTML='
'+(e&&e.text||1)+'
';var n=$.querySelector(".vbtns"),r='",i='";if(n.innerHTML=""+r+(e&&e.type&&i),o.Event.on("click",$.querySelector(".vcancel"),function(e){t.alert.hide()}),$.setAttribute("style","display:block;"),e&&e.type){var a=$.querySelector(".vsure");o.Event.on("click",a,function(n){t.alert.hide(),e.cb&&e.cb()})}return t},hide:function(){return $.setAttribute("style","display:none;"),t}},t.el&&AV&&t.bind(e)}catch(e){t.ErrorHandler(e)}return t},r.prototype.Q=function(e){var t=new AV.Query("Comment");return t.equalTo("url",decodeURI(e)),1==arguments.length?t.doesNotExist("rid"):t.equalTo("rid",arguments[1]),t.addDescending("createdAt"),t.addDescending("insertedAt"),t},r.prototype.ErrorHandler=function(e){var t=this;t.el&&t.loading.hide().nodata.hide();var n="";101==e?t.nodata.show():(n="number"==typeof e?"Code "+e+": "+(t.locale.error[e]||e):e,t.el&&t.nodata.show('
'+n+"
"),console)},r.prototype.installLocale=function(e,t){var n=this;return t=t||{},p[e]=JSON.stringify(Object.keys(p["zh-cn"]))==JSON.stringify(Object.keys(t))?t:void 0,n.locale=p[e]||p["zh-cn"],n},r.prototype.setPath=function(e){return g=e||g,this},r.prototype.bind=function(e){var t=this,n=t.el.querySelector(".vemojis"),r=t.el.querySelector(".vemoji-btn"),i=t.el.querySelector(".vpreview"),p=function(e){var t=e.value||"";t=u.parse(t),e.value=t;var n=s(t);d.comment=n,i.innerHTML=n},f=u.data;for(var b in f)f.hasOwnProperty(b)&&function(e,t){var r=document.createElement("i");r.setAttribute("name",e),r.setAttribute("title",e),r.innerHTML=t,n.appendChild(r),o.Event.on("click",r,function(e){var n=document.querySelector(".veditor");A(n,t),p(n)})}(b,f[b]);o.Event.on("click",r,function(e){r.getAttribute("v")?(r.removeAttribute("v"),n.setAttribute("style","display:none")):(r.setAttribute("v",1),O.removeAttribute("v"),i.setAttribute("style","display:none"),n.setAttribute("style","display:block"))});for(var x=e.guest_info,y={},k={veditor:"comment"},w=0,S=x.length;w0&&void 0!==arguments[0]?arguments[0]:1,i=e.pageSize,a=Number(t.el.querySelector(".vnum").innerText);t.loading.show();var s=t.Q(g);s.limit(i),s.skip((r-1)*i),s.find().then(function(e){for(var l=e.length,c=0;c'+t.locale.ctrl.more+"":"";var d=u.querySelector(".vmore");d&&o.Event.on("click",d,function(e){u.innerHTML="",n(++r)}),t.loading.hide()}).catch(function(e){t.loading.hide().ErrorHandler(e.code)})};t.Q(g).count().then(function(e){e>0?(t.el.querySelector(".vinfo").setAttribute("style","display:block;"),t.el.querySelector(".vcount").innerHTML=''+e+" "+t.locale.tips.comments,M()):t.loading.hide()}).catch(function(e){t.ErrorHandler(e.code)});var C=function(e,n,r){var i=document.createElement("div");i.setAttribute("class","vcard"),i.setAttribute("id",e.id);var o=h.hide?"":'",s=c(e.get("ua")),u=''+s.browser+" "+s.version+"",d=''+s.os+" "+s.osVersion+"",p="",f=e.get("link")||"";p=f?''+e.get("nick")+"":''+e.get("nick")+"",i.innerHTML=o+'\n
\n
'+p+" "+u+" "+d+'
\n
\n '+l(e.get("insertedAt")||e.createdAt,t.locale)+"\n '+t.locale.ctrl.reply+'\n
\n
\n '+e.get("comment")+"\n
\n
";for(var v=i.querySelector(".vat"),g=i.querySelectorAll("a"),m=0,b=g.length;m180&&(e.classList.add("expand"),o.Event.on("click",e,function(t){e.setAttribute("class","vcontent")}))},20)},q={at:"",rid:"",rmail:""},T=function(e){o.Event.on("click",e,function(t){var n=e.getAttribute("at"),r=e.getAttribute("rid"),i=e.getAttribute("mail");q.at=o.HtmlUtils.escape(n)+" ",q.rid=r,q.rmail=i,y.comment.setAttribute("placeholder",n),y.comment.focus()})},z=function(){var e=v&&v.ValineCache;if(e){e=JSON.parse(e);var n=x;for(var r in n){var i=n[r];t.el.querySelector(".v"+i).value=o.HtmlUtils.unescape(e[i]),d[i]=e[i]}}};z();var R=function(){for(var e in k)if(k.hasOwnProperty(e)){var n=k[e],r=t.el.querySelector("."+e);r.value="",d[n]=""}y.comment.setAttribute("placeholder",t.placeholder),q.at="",q.rid="",q.rmail="",d.nick="Anonymous",z(),i.innerHTML="",i.setAttribute("style","display:none;"),O.removeAttribute("v")},B=t.el.querySelector(".vsubmit"),U=function(e){if(B.getAttribute("disabled"))return void t.alert.show({type:0,text:t.locale.tips.busy+'ヾ(๑╹◡╹)ノ"',ctxt:t.locale.ctrl.ok});if(""==d.comment)return void y.comment.focus();d.nick=d.nick||"Anonymous";var n=m.mail(d.mail),r=m.link(d.link);d.mail=n.k?n.v:"",d.link=r.k?r.v:"",t.notify||t.verify?Q(j):j()},P=function(){var e=new AV.ACL;return e.setPublicReadAccess(!0),e.setPublicWriteAccess(!1),e},j=function(){B.setAttribute("disabled",!0),t.loading.show(!0);var e=AV.Object.extend("Comment"),n=new e;d.url=decodeURI(g),d.insertedAt=new Date,q.rid&&(n.set("rid",q.rid),d.comment=q.at+d.comment);for(var r in d)if(d.hasOwnProperty(r)){var i=d[r];n.set(r,i)}n.setACL(P()),n.save().then(function(e){"Anonymous"!=d.nick&&v&&v.setItem("ValineCache",JSON.stringify({nick:d.nick,link:d.link,mail:d.mail}));var n=t.el.querySelector(".vnum"),r=1;try{if(q.rid){var i=t.el.querySelector('.vquote[rid="'+q.rid+'"]')||$(q.rid);C(e,i,!0)}else n?(r=Number(n.innerText)+1,n.innerText=r):t.el.querySelector(".vcount").innerHTML='1 '+t.locale.tips.comments,C(e,t.el.querySelector(".vlist"));d.mail&&I({username:d.nick,mail:d.mail}),q.at&&q.rmail&&t.notify&&H({username:q.at.replace("@",""),mail:q.rmail}),B.removeAttribute("disabled"),t.loading.hide(),R()}catch(e){e.code&&t.ErrorHandler(e.code)||t.ErrorHandler(e)}}).catch(function(e){t.ErrorHandler(e.code)})},Q=function e(n){var r=Math.floor(10*Math.random()+1),i=Math.floor(10*Math.random()+1),o=Math.floor(10*Math.random()+1),a=["+","-","x"],s=a[Math.floor(3*Math.random())],l=a[Math.floor(3*Math.random())],c=""+r+s+i+l+o,u=c+" = ";t.alert.show({type:1,text:u,ctxt:t.locale.ctrl.cancel,otxt:t.locale.ctrl.ok,cb:function(){var r=+t.el.querySelector(".vcode").value;new Function("return "+c.replace(/x/g,"*"))()===r?n&&n():t.alert.show({type:1,text:"(T_T)"+t.locale.tips.again,ctxt:t.locale.ctrl.cancel,otxt:t.locale.ctrl.try,cb:function(){e(n)}})}})},I=function(e){var t=new AV.User;return t.setUsername(e.username),t.setPassword(e.mail),t.setEmail(e.mail),t.setACL(P()),t.signUp()},H=function e(n){AV.User.requestPasswordReset(n.mail).then(function(e){}).catch(function(r){1==r.code?t.alert.show({type:0,text:"ヾ(o・ω・)ノ At太频繁啦,提醒功能暂时宕机。
"+r.error,ctxt:t.locale.ctrl.ok}):I(n).then(function(t){e(n)}).catch(function(e){})})};o.Event.off("click",B,U),o.Event.on("click",B,U),o.Event.on("keyup",document,function(e){var t=e.keyCode||e.which||e.charCode;(e.ctrlKey||e.metaKey)&&13==t&&U()})};var m={mail:function(e){return{k:/[\w-\.]+@([\w-]+\.)+[a-z]{2,3}/.test(e),v:e}},link:function(e){return e=e.length>0&&(/^https?/.test(e)?e:"http://"+e),{k:/^https?:\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:\/~\+#]*[\w\-\@?^=%&\/~\+#])?/.test(e),v:e}}};e.exports=i,e.exports.default=i},function(e,t,n){"use strict";var r={data:n(8),parse:function(e){return String(e).replace(/:(.+?):/g,function(e,t){return r.data[t]||e})}};e.exports=r},function(e,t,n){"use strict";function r(e){var t=e||a.userAgent,n=this,r={Trident:t.indexOf("Trident")>-1||t.indexOf("NET CLR")>-1,Presto:t.indexOf("Presto")>-1,WebKit:t.indexOf("AppleWebKit")>-1,Gecko:t.indexOf("Gecko/")>-1,Safari:t.indexOf("Safari")>-1,Chrome:t.indexOf("Chrome")>-1||t.indexOf("CriOS")>-1,IE:t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1,Edge:t.indexOf("Edge")>-1,Firefox:t.indexOf("Firefox")>-1||t.indexOf("FxiOS")>-1,"Firefox Focus":t.indexOf("Focus")>-1,Chromium:t.indexOf("Chromium")>-1,Opera:t.indexOf("Opera")>-1||t.indexOf("OPR")>-1,Vivaldi:t.indexOf("Vivaldi")>-1,Yandex:t.indexOf("YaBrowser")>-1,Kindle:t.indexOf("Kindle")>-1||t.indexOf("Silk/")>-1,360:t.indexOf("360EE")>-1||t.indexOf("360SE")>-1,UC:t.indexOf("UC")>-1||t.indexOf(" UBrowser")>-1,QQBrowser:t.indexOf("QQBrowser")>-1,QQ:t.indexOf("QQ/")>-1,Baidu:t.indexOf("Baidu")>-1||t.indexOf("BIDUBrowser")>-1,Maxthon:t.indexOf("Maxthon")>-1,Sogou:t.indexOf("MetaSr")>-1||t.indexOf("Sogou")>-1,LBBROWSER:t.indexOf("LBBROWSER")>-1,"2345Explorer":t.indexOf("2345Explorer")>-1,TheWorld:t.indexOf("TheWorld")>-1,XiaoMi:t.indexOf("MiuiBrowser")>-1,Quark:t.indexOf("Quark")>-1,Qiyu:t.indexOf("Qiyu")>-1,Wechat:t.indexOf("MicroMessenger")>-1,Taobao:t.indexOf("AliApp(TB")>-1,Alipay:t.indexOf("AliApp(AP")>-1,Weibo:t.indexOf("Weibo")>-1,Douban:t.indexOf("com.douban.frodo")>-1,Suning:t.indexOf("SNEBUY-APP")>-1,iQiYi:t.indexOf("IqiyiApp")>-1,Windows:t.indexOf("Windows")>-1,Linux:t.indexOf("Linux")>-1||t.indexOf("X11")>-1,"Mac OS":t.indexOf("Macintosh")>-1,Android:t.indexOf("Android")>-1||t.indexOf("Adr")>-1,Ubuntu:t.indexOf("Ubuntu")>-1,FreeBSD:t.indexOf("FreeBSD")>-1,Debian:t.indexOf("Debian")>-1,"Windows Phone":t.indexOf("IEMobile")>-1||t.indexOf("Windows Phone")>-1,BlackBerry:t.indexOf("BlackBerry")>-1||t.indexOf("RIM")>-1,MeeGo:t.indexOf("MeeGo")>-1,Symbian:t.indexOf("Symbian")>-1,iOS:t.indexOf("like Mac OS X")>-1,"Chrome OS":t.indexOf("CrOS")>-1,WebOS:t.indexOf("hpwOS")>-1,Mobile:t.indexOf("Mobi")>-1||t.indexOf("iPh")>-1||t.indexOf("480")>-1,Tablet:t.indexOf("Tablet")>-1||t.indexOf("Pad")>-1||t.indexOf("Nexus 7")>-1};r.Mobile?r.Mobile=!(t.indexOf("iPad")>-1):o.showModalDialog&&o.chrome&&(r[360]=!0);var i={engine:["WebKit","Trident","Gecko","Presto"],browser:["Safari","Chrome","Edge","IE","Firefox","Firefox Focus","Chromium","Opera","Vivaldi","Yandex","Kindle","360","UC","QQBrowser","QQ","Baidu","Maxthon","Sogou","LBBROWSER","2345Explorer","TheWorld","XiaoMi","Quark","Qiyu","Wechat","Taobao","Alipay","Weibo","Douban","Suning","iQiYi"],os:["Windows","Linux","Mac OS","Android","Ubuntu","FreeBSD","Debian","iOS","Windows Phone","BlackBerry","MeeGo","Symbian","Chrome OS","WebOS"],device:["Mobile","Tablet"]};n.device="PC",n.language=function(){var e=a.browserLanguage||a.language,t=e.split("-");return t[1]&&(t[1]=t[1].toUpperCase()),t.join("_")}();for(var s in i)for(var l=0;l27?n.engine="Blink":"Opera"==n.browser&&parseInt(n.version)>12?n.engine="Blink":"Yandex"==n.browser?n.engine="Blink":void 0==n.browser&&(n.browser="Unknow App")}function i(e){return new r(e)}var o=window||{},a=navigator||{};e.exports=i},function(e,t,n){"use strict";function r(e){return e&&c.test(e)?e.replace(l,function(e){return a[e]}):e}function i(e){return e&&d.test(e)?e.replace(u,function(e){return o[e]}):e}var o={},a={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\\":"\"};for(var s in a)o[a[s]]=s;var l=/[&<>"'`\\]/g,c=RegExp(l.source),u=/&(?:amp|lt|gt|quot|#39|#x60|#x5c);/g,d=RegExp(u.source),p={on:function(e,t,n,r){return t.addEventListener?t.addEventListener(e,n,r||!1):t.attachEvent?t.attachEvent("on"+e,n):t["on"+e]=n,this},off:function(e,t,n,r){return t.removeEventListener?t.removeEventListener(e,n,r||!1):t.detachEvent?t.detachEvent("on"+e,n):t["on"+e]=null,this}};e.exports={HtmlUtils:{escape:r,unescape:i},Event:p}},function(e,t,n){"use strict";var r=function(e,t){if(e)try{var n=e.getTime(),r=(new Date).getTime(),o=r-n,a=Math.floor(o/864e5);if(0===a){var s=o%864e5,l=Math.floor(s/36e5);if(0===l){var c=s%36e5,u=Math.floor(c/6e4);if(0===u){var d=c%6e4;return Math.round(d/1e3)+" "+t.timeago.seconds}return u+" "+t.timeago.minutes}return l+" "+t.timeago.hours}return a<0?t.timeago.now:a<8?a+" "+t.timeago.days:i(e)}catch(e){}},i=function(e){var t=o(e.getDate(),2),n=o(e.getMonth()+1,2);return o(e.getFullYear(),2)+"-"+n+"-"+t},o=function(e,t){for(var n=e.toString();n.length>16)+(t>>16)+(n>>16)<<16|65535&n}function a(e,t){return e<>>32-t}function s(e,t,n,r,i,s){return o(a(o(o(t,e),o(r,s)),i),n)}function l(e,t,n,r,i,o,a){return s(t&n|~t&r,e,t,i,o,a)}function c(e,t,n,r,i,o,a){return s(t&r|n&~r,e,t,i,o,a)}function u(e,t,n,r,i,o,a){return s(t^n^r,e,t,i,o,a)}function d(e,t,n,r,i,o,a){return s(n^(t|~r),e,t,i,o,a)}function p(e,t){e[t>>5]|=128<>>9<<4)]=t;var n,r,i,a,s,p=1732584193,h=-271733879,f=-1732584194,v=271733878;for(n=0;n>5]>>>t%32&255);return n}function f(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t>5]|=(255&e.charCodeAt(t/8))<16&&(i=p(i,8*e.length)),n=0;n<16;n+=1)o[n]=909522486^i[n],a[n]=1549556828^i[n];return r=p(o.concat(f(t)),512+8*t.length),h(p(a.concat(r),640))}function m(e){var t,n,r="0123456789abcdef",i="";for(n=0;n>>4&15)+r.charAt(15&t);return i}function b(e){return unescape(encodeURIComponent(e))}function x(e){return v(b(e))}function y(e){return m(x(e))}function k(e,t){return g(b(e),b(t))}function w(e,t){return m(k(e,t))}function S(e,t,n){return t?n?k(t,e):w(t,e):n?x(e):y(e)}void 0!==(r=function(){return S}.call(t,n,t,e))&&(e.exports=r)}()},function(e,t,n){(function(t){!function(t){"use strict";function n(e){this.tokens=[],this.tokens.links={},this.options=e||h.defaults,this.rules=f.normal,this.options.gfm&&(this.options.tables?this.rules=f.tables:this.rules=f.gfm)}function r(e,t){if(this.options=t||h.defaults,this.links=e,this.rules=v.normal,this.renderer=this.options.renderer||new i,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=v.breaks:this.rules=v.gfm:this.options.pedantic&&(this.rules=v.pedantic)}function i(e){this.options=e||{}}function o(){}function a(e){this.tokens=[],this.token=null,this.options=e||h.defaults,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options}function s(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function l(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}function c(e,t){return e=e.source,t=t||"",{replace:function(t,n){return n=n.source||n,n=n.replace(/(^|[^\[])\^/g,"$1"),e=e.replace(t,n),this},getRegex:function(){return new RegExp(e,t)}}}function u(e,t){return g[" "+e]||(/^[^:]+:\/*[^\/]*$/.test(e)?g[" "+e]=e+"/":g[" "+e]=e.replace(/[^\/]*$/,"")),e=g[" "+e],"//"===t.slice(0,2)?e.replace(/:[\s\S]*/,":")+t:"/"===t.charAt(0)?e.replace(/(:\/*[^\/]*)[\s\S]*/,"$1")+t:e+t}function d(){}function p(e){for(var t,n,r=1;rAn error occurred:

"+s(e.message+"",!0)+"
";throw e}}var f={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:d,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:d,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:d,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n?(?!hr|heading|lheading| {0,3}>|tag)[^\n]+)+)/,text:/^[^\n]+/};f._label=/(?:\\[\[\]]|[^\[\]])+/,f._title=/(?:"(?:\\"|[^"]|"[^"\n]*")*"|'\n?(?:[^'\n]+\n?)*'|\([^()]*\))/,f.def=c(f.def).replace("label",f._label).replace("title",f._title).getRegex(),f.bullet=/(?:[*+-]|\d+\.)/,f.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,f.item=c(f.item,"gm").replace(/bull/g,f.bullet).getRegex(),f.list=c(f.list).replace(/bull/g,f.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+f.def.source+")").getRegex(),f._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b",f.html=c(f.html).replace("comment",//).replace("closed",/<(tag)[\s\S]+?<\/\1>/).replace("closing",/\s]*)*?\/?>/).replace(/tag/g,f._tag).getRegex(),f.paragraph=c(f.paragraph).replace("hr",f.hr).replace("heading",f.heading).replace("lheading",f.lheading).replace("tag","<"+f._tag).getRegex(),f.blockquote=c(f.blockquote).replace("paragraph",f.paragraph).getRegex(),f.normal=p({},f),f.gfm=p({},f.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\n? *\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),f.gfm.paragraph=c(f.paragraph).replace("(?!","(?!"+f.gfm.fences.source.replace("\\1","\\2")+"|"+f.list.source.replace("\\1","\\3")+"|").getRegex(),f.tables=p({},f.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),n.rules=f,n.lex=function(e,t){return new n(t).lex(e)},n.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},n.prototype.token=function(e,t){e=e.replace(/^ +$/gm,"");for(var n,r,i,o,a,s,l,c,u,d,p;e;)if((i=this.rules.newline.exec(e))&&(e=e.substring(i[0].length),i[0].length>1&&this.tokens.push({type:"space"})),i=this.rules.code.exec(e))e=e.substring(i[0].length),i=i[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?i:i.replace(/\n+$/,"")});else if(i=this.rules.fences.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"code",lang:i[2],text:i[3]||""});else if(i=this.rules.heading.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"heading",depth:i[1].length,text:i[2]});else if(t&&(i=this.rules.nptable.exec(e))){for(e=e.substring(i[0].length),s={type:"table",header:i[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:i[3].replace(/\n$/,"").split("\n")},c=0;c ?/gm,""),this.token(i,t),this.tokens.push({type:"blockquote_end"});else if(i=this.rules.list.exec(e)){for(e=e.substring(i[0].length),o=i[2],p=o.length>1,this.tokens.push({type:"list_start",ordered:p,start:p?+o:""}),i=i[0].match(this.rules.item),n=!1,d=i.length,c=0;c1&&a.length>1||(e=i.slice(c+1).join("\n")+e,c=d-1)),r=n||/\n\n(?!\s*$)/.test(s),c!==d-1&&(n="\n"===s.charAt(s.length-1),r||(r=n)),this.tokens.push({type:r?"loose_item_start":"list_item_start"}),this.token(s,!1),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(i=this.rules.html.exec(e))e=e.substring(i[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===i[1]||"script"===i[1]||"style"===i[1]),text:i[0]});else if(t&&(i=this.rules.def.exec(e)))e=e.substring(i[0].length),i[3]&&(i[3]=i[3].substring(1,i[3].length-1)),u=i[1].toLowerCase(),this.tokens.links[u]||(this.tokens.links[u]={href:i[2],title:i[3]});else if(t&&(i=this.rules.table.exec(e))){for(e=e.substring(i[0].length),s={type:"table",header:i[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:i[3].replace(/(?: *\| *)?\n$/,"").split("\n")},c=0;c])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:d,tag:/^|^<\/?[a-zA-Z0-9\-]+(?:"[^"]*"|'[^']*'|\s[^<'">\/\s]*)*?\/?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^_([^\s_](?:[^_]|__)+?[^\s_])_\b|^\*((?:\*\*|[^*])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`]?)\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:d,text:/^[\s\S]+?(?=[\\?(?:\s+['"]([\s\S]*?)['"])?\s*/,v.link=c(v.link).replace("inside",v._inside).replace("href",v._href).getRegex(),v.reflink=c(v.reflink).replace("inside",v._inside).getRegex(),v.normal=p({},v),v.pedantic=p({},v.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),v.gfm=p({},v.normal,{escape:c(v.escape).replace("])","~|])").getRegex(),url:c(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("email",v._email).getRegex(),_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:c(v.text).replace("]|","~]|").replace("|","|https?://|ftp://|www\\.|[a-zA-Z0-9.!#$%&'*+/=?^_`{\\|}~-]+@|").getRegex()}),v.breaks=p({},v.gfm,{br:c(v.br).replace("{2,}","*").getRegex(),text:c(v.gfm.text).replace("{2,}","*").getRegex()}),r.rules=v,r.output=function(e,t,n){return new r(t,n).output(e)},r.prototype.output=function(e){for(var t,n,r,i,o="";e;)if(i=this.rules.escape.exec(e))e=e.substring(i[0].length),o+=i[1];else if(i=this.rules.autolink.exec(e))e=e.substring(i[0].length),"@"===i[2]?(n=s(this.mangle(i[1])),r="mailto:"+n):(n=s(i[1]),r=n),o+=this.renderer.link(r,null,n);else if(this.inLink||!(i=this.rules.url.exec(e))){if(i=this.rules.tag.exec(e))!this.inLink&&/^/i.test(i[0])&&(this.inLink=!1),e=e.substring(i[0].length),o+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):s(i[0]):i[0];else if(i=this.rules.link.exec(e))e=e.substring(i[0].length),this.inLink=!0,o+=this.outputLink(i,{href:i[2],title:i[3]}),this.inLink=!1;else if((i=this.rules.reflink.exec(e))||(i=this.rules.nolink.exec(e))){if(e=e.substring(i[0].length),t=(i[2]||i[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){o+=i[0].charAt(0),e=i[0].substring(1)+e;continue}this.inLink=!0,o+=this.outputLink(i,t),this.inLink=!1}else if(i=this.rules.strong.exec(e))e=e.substring(i[0].length),o+=this.renderer.strong(this.output(i[2]||i[1]));else if(i=this.rules.em.exec(e))e=e.substring(i[0].length),o+=this.renderer.em(this.output(i[2]||i[1]));else if(i=this.rules.code.exec(e))e=e.substring(i[0].length),o+=this.renderer.codespan(s(i[2].trim(),!0));else if(i=this.rules.br.exec(e))e=e.substring(i[0].length),o+=this.renderer.br();else if(i=this.rules.del.exec(e))e=e.substring(i[0].length),o+=this.renderer.del(this.output(i[1]));else if(i=this.rules.text.exec(e))e=e.substring(i[0].length),o+=this.renderer.text(s(this.smartypants(i[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else i[0]=this.rules._backpedal.exec(i[0])[0],e=e.substring(i[0].length),"@"===i[2]?(n=s(i[0]),r="mailto:"+n):(n=s(i[0]),r="www."===i[1]?"http://"+n:n),o+=this.renderer.link(r,null,n);return o},r.prototype.outputLink=function(e,t){var n=s(t.href),r=t.title?s(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,s(e[1]))},r.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},r.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;i.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},i.prototype.code=function(e,t,n){if(this.options.highlight){var r=this.options.highlight(e,t);null!=r&&r!==e&&(n=!0,e=r)}return t?'
'+(n?e:s(e,!0))+"\n
\n":"
"+(n?e:s(e,!0))+"\n
"},i.prototype.blockquote=function(e){return"
\n"+e+"
\n"},i.prototype.html=function(e){return e},i.prototype.heading=function(e,t,n){return"'+e+"\n"},i.prototype.hr=function(){return this.options.xhtml?"
\n":"
\n"},i.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"},i.prototype.listitem=function(e){return"
  • "+e+"
  • \n"},i.prototype.paragraph=function(e){return"

    "+e+"

    \n"},i.prototype.table=function(e,t){return"\n\n"+e+"\n\n"+t+"\n
    \n"},i.prototype.tablerow=function(e){return"\n"+e+"\n"},i.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">")+e+"\n"},i.prototype.strong=function(e){return""+e+""},i.prototype.em=function(e){return""+e+""},i.prototype.codespan=function(e){return""+e+""},i.prototype.br=function(){return this.options.xhtml?"
    ":"
    "},i.prototype.del=function(e){return""+e+""},i.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(l(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return n}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return n}this.options.baseUrl&&!m.test(e)&&(e=u(this.options.baseUrl,e));var i='
    "},i.prototype.image=function(e,t,n){this.options.baseUrl&&!m.test(e)&&(e=u(this.options.baseUrl,e));var r=''+n+'":">"},i.prototype.text=function(e){return e},o.prototype.strong=o.prototype.em=o.prototype.codespan=o.prototype.del=o.prototype.text=function(e){return e},o.prototype.link=o.prototype.image=function(e,t,n){return""+n},o.prototype.br=function(){return""},a.parse=function(e,t){return new a(t).parse(e)},a.prototype.parse=function(e){this.inline=new r(e.links,this.options),this.inlineText=new r(e.links,p({},this.options,{renderer:new o})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},a.prototype.next=function(){return this.token=this.tokens.pop()},a.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},a.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},a.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,l(this.inlineText.output(this.token.text)));case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i="",o="";for(n="",e=0;e=0&&x.splice(t,1)}function s(e){var t=document.createElement("style");return e.attrs.type="text/css",c(t,e.attrs),o(e,t),t}function l(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",c(t,e.attrs),o(e,t),t}function c(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function u(e,t){var n,r,i,o;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}if(t.singleton){var c=b++;n=m||(m=s(t)),r=d.bind(null,n,c,!1),i=d.bind(null,n,c,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=h.bind(null,n,t),i=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=p.bind(null,n),i=function(){a(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}function d(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=k(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function p(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function h(e,t,n){var r=n.css,i=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||o)&&(r=y(r)),i&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var f={},v=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),g=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e.call(this,n)),t[n]}}(function(e){return document.querySelector(e)}),m=null,b=0,x=[],y=n(13);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");t=t||{},t.attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||(t.singleton=v()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=i(e,t);return r(n,t),function(e){for(var o=[],a=0;a-1?a:"mm"),h.hide="hide"===a,h.cdn=!!s&&s||h.cdn,g=e.path||g,e.guest_info=(e.guest_info||f).filter(function(e){return f.indexOf(e)>-1});var l=Number(e.pageSize||10);if(e.pageSize=isNaN(l)?10:l<1?10:l,!AV)return void setTimeout(function(){t.init(e)},20);var c=e.app_id||e.appId,u=e.app_key||e.appKey,d=(e.region||"cn").toLowerCase(),v=["cn","us"];if(d=v.indexOf(d)>-1?d:v[0],!c||!u)throw 99;AV.applicationId=null,AV.init({appId:c,appKey:u,region:d});for(var m=document.querySelectorAll(".valine-comment-count"),b=0,x=m.length;b-1?'':""});t.placeholder=e.placeholder||"Just Go Go",t.el.innerHTML='
    '+S.join("")+'
    Emoji | Preview
    Valine v1.1.9
    ';var _=t.el.querySelector(".vempty");t.nodata={show:function(e){return _.innerHTML=e||t.locale.tips.sofa,_.setAttribute("style","display:block;"),t},hide:function(){return _.setAttribute("style","display:none;"),t}};var O=document.createElement("div");O.setAttribute("class","vloading");var A=t.el.querySelector(".vlist");t.loading={show:function(e){var n=A.querySelectorAll(".vcard");return e?A.insertBefore(O,n[0]):A.appendChild(O),t.nodata.hide(),t},hide:function(){var e=A.querySelector(".vloading");return e&&A.removeChild(e),0===A.querySelectorAll(".vcard").length&&t.nodata.show(),t}};var $=t.el.querySelector(".vmark");t.alert={show:function(e){$.innerHTML='
    '+(e&&e.text||1)+'
    ';var n=$.querySelector(".vbtns"),r='",i='";if(n.innerHTML=""+r+(e&&e.type&&i),o.Event.on("click",$.querySelector(".vcancel"),function(e){t.alert.hide()}),$.setAttribute("style","display:block;"),e&&e.type){var a=$.querySelector(".vsure");o.Event.on("click",a,function(n){t.alert.hide(),e.cb&&e.cb()})}return t},hide:function(){return $.setAttribute("style","display:none;"),t}},t.el&&AV&&t.bind(e)}catch(e){t.ErrorHandler(e)}return t},r.prototype.Q=function(e){var t=new AV.Query("Comment");return t.equalTo("url",decodeURI(e)),1==arguments.length?t.doesNotExist("rid"):t.equalTo("rid",arguments[1]),t.addDescending("createdAt"),t.addDescending("insertedAt"),t},r.prototype.ErrorHandler=function(e){var t=this;t.el&&t.loading.hide().nodata.hide();var n="";101==e?t.nodata.show():(n="number"==typeof e?"Code "+e+": "+(t.locale.error[e]||e):e,t.el&&t.nodata.show('
    '+n+"
    "),console)},r.prototype.installLocale=function(e,t){var n=this;return t=t||{},p[e]=JSON.stringify(Object.keys(p["zh-cn"]))==JSON.stringify(Object.keys(t))?t:void 0,n.locale=p[e]||p["zh-cn"],n},r.prototype.setPath=function(e){return g=e||g,this},r.prototype.bind=function(e){var t=this,n=t.el.querySelector(".vemojis"),r=t.el.querySelector(".vemoji-btn"),i=t.el.querySelector(".vpreview"),p=function(e){var t=e.value||"";t=u.parse(t),e.value=t;var n=s(t);d.comment=n,i.innerHTML=n},f=u.data;for(var b in f)f.hasOwnProperty(b)&&function(e,t){var r=document.createElement("i");r.setAttribute("name",e),r.setAttribute("title",e),r.innerHTML=t,n.appendChild(r),o.Event.on("click",r,function(e){var n=document.querySelector(".veditor");A(n,t),p(n)})}(b,f[b]);o.Event.on("click",r,function(e){r.getAttribute("v")?(r.removeAttribute("v"),n.setAttribute("style","display:none")):(r.setAttribute("v",1),O.removeAttribute("v"),i.setAttribute("style","display:none"),n.setAttribute("style","display:block"))});for(var x=e.guest_info,y={},k={veditor:"comment"},w=0,S=x.length;w0&&void 0!==arguments[0]?arguments[0]:1,i=e.pageSize,a=Number(t.el.querySelector(".vnum").innerText);t.loading.show();var s=t.Q(g);s.limit(i),s.skip((r-1)*i),s.find().then(function(e){for(var l=e.length,c=0;c'+t.locale.ctrl.more+"":"";var d=u.querySelector(".vmore");d&&o.Event.on("click",d,function(e){u.innerHTML="",n(++r)}),t.loading.hide()}).catch(function(e){t.loading.hide().ErrorHandler(e.code)})};t.Q(g).count().then(function(e){e>0?(t.el.querySelector(".vinfo").setAttribute("style","display:block;"),t.el.querySelector(".vcount").innerHTML=''+e+" "+t.locale.tips.comments,M()):t.loading.hide()}).catch(function(e){t.ErrorHandler(e.code)});var C=function(e,n,r){var i=document.createElement("div");i.setAttribute("class","vcard"),i.setAttribute("id",e.id);var o=h.hide?"":'",s=c(e.get("ua")),u=''+s.browser+" "+s.version+"",d=''+s.os+" "+s.osVersion+"",p="",f=e.get("link")||"";p=f?''+e.get("nick")+"":''+e.get("nick")+"",i.innerHTML=o+'\n
    \n
    '+p+" "+u+" "+d+'
    \n
    \n '+l(e.get("insertedAt")||e.createdAt,t.locale)+"\n '+t.locale.ctrl.reply+'\n
    \n
    \n '+e.get("comment")+"\n
    \n
    ";for(var v=i.querySelector(".vat"),g=i.querySelectorAll("a"),m=0,b=g.length;m180&&(e.classList.add("expand"),o.Event.on("click",e,function(t){e.setAttribute("class","vcontent")}))},20)},q={at:"",rid:"",rmail:""},T=function(e){o.Event.on("click",e,function(t){var n=e.getAttribute("at"),r=e.getAttribute("rid"),i=e.getAttribute("mail");q.at=o.HtmlUtils.escape(n)+" ",q.rid=r,q.rmail=i,y.comment.setAttribute("placeholder",n),y.comment.focus()})},z=function(){var e=v&&v.ValineCache;if(e){e=JSON.parse(e);var n=x;for(var r in n){var i=n[r];t.el.querySelector(".v"+i).value=o.HtmlUtils.unescape(e[i]),d[i]=e[i]}}};z();var R=function(){for(var e in k)if(k.hasOwnProperty(e)){var n=k[e],r=t.el.querySelector("."+e);r.value="",d[n]=""}y.comment.setAttribute("placeholder",t.placeholder),q.at="",q.rid="",q.rmail="",d.nick="Anonymous",z(),i.innerHTML="",i.setAttribute("style","display:none;"),O.removeAttribute("v")},B=t.el.querySelector(".vsubmit"),U=function(e){if(B.getAttribute("disabled"))return void t.alert.show({type:0,text:t.locale.tips.busy+'ヾ(๑╹◡╹)ノ"',ctxt:t.locale.ctrl.ok});if(""==d.comment)return void y.comment.focus();d.nick=d.nick||"Anonymous";var n=m.mail(d.mail),r=m.link(d.link);d.mail=n.k?n.v:"",d.link=r.k?r.v:"",t.notify||t.verify?Q(j):j()},P=function(){var e=new AV.ACL;return e.setPublicReadAccess(!0),e.setPublicWriteAccess(!1),e},j=function(){B.setAttribute("disabled",!0),t.loading.show(!0);var e=AV.Object.extend("Comment"),n=new e;d.url=decodeURI(g),d.insertedAt=new Date,q.rid&&(n.set("rid",q.rid),d.comment=q.at+d.comment);for(var r in d)if(d.hasOwnProperty(r)){var i=d[r];n.set(r,i)}n.setACL(P()),n.save().then(function(e){"Anonymous"!=d.nick&&v&&v.setItem("ValineCache",JSON.stringify({nick:d.nick,link:d.link,mail:d.mail}));var n=t.el.querySelector(".vnum"),r=1;try{if(q.rid){var i=t.el.querySelector('.vquote[rid="'+q.rid+'"]')||$(q.rid);C(e,i,!0)}else n?(r=Number(n.innerText)+1,n.innerText=r):t.el.querySelector(".vcount").innerHTML='1 '+t.locale.tips.comments,C(e,t.el.querySelector(".vlist"));d.mail&&I({username:d.nick,mail:d.mail}),q.at&&q.rmail&&t.notify&&H({username:q.at.replace("@",""),mail:q.rmail}),B.removeAttribute("disabled"),t.loading.hide(),R()}catch(e){e.code&&t.ErrorHandler(e.code)||t.ErrorHandler(e)}}).catch(function(e){t.ErrorHandler(e.code)})},Q=function e(n){var r=Math.floor(10*Math.random()+1),i=Math.floor(10*Math.random()+1),o=Math.floor(10*Math.random()+1),a=["+","-","x"],s=a[Math.floor(3*Math.random())],l=a[Math.floor(3*Math.random())],c=""+r+s+i+l+o,u=c+" = ";t.alert.show({type:1,text:u,ctxt:t.locale.ctrl.cancel,otxt:t.locale.ctrl.ok,cb:function(){var r=+t.el.querySelector(".vcode").value;new Function("return "+c.replace(/x/g,"*"))()===r?n&&n():t.alert.show({type:1,text:"(T_T)"+t.locale.tips.again,ctxt:t.locale.ctrl.cancel,otxt:t.locale.ctrl.try,cb:function(){e(n)}})}})},I=function(e){var t=new AV.User;return t.setUsername(e.username),t.setPassword(e.mail),t.setEmail(e.mail),t.setACL(P()),t.signUp()},H=function e(n){AV.User.requestPasswordReset(n.mail).then(function(e){}).catch(function(r){1==r.code?t.alert.show({type:0,text:"ヾ(o・ω・)ノ At太频繁啦,提醒功能暂时宕机。
    "+r.error,ctxt:t.locale.ctrl.ok}):I(n).then(function(t){e(n)}).catch(function(e){})})};o.Event.off("click",B,U),o.Event.on("click",B,U),o.Event.on("keyup",document,function(e){var t=e.keyCode||e.which||e.charCode;(e.ctrlKey||e.metaKey)&&13==t&&U()})};var m={mail:function(e){return{k:/[\w-\.]+@([\w-]+\.)+[a-z]{2,3}/.test(e),v:e}},link:function(e){return e=e.length>0&&(/^https?/.test(e)?e:"http://"+e),{k:/^https?:\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:\/~\+#]*[\w\-\@?^=%&\/~\+#])?/.test(e),v:e}}};e.exports=i,e.exports.default=i},function(e,t,n){"use strict";var r={data:n(8),parse:function(e){return String(e).replace(/:(.+?):/g,function(e,t){return r.data[t]||e})}};e.exports=r},function(e,t,n){"use strict";function r(e){var t=e||a.userAgent,n=this,r={Trident:t.indexOf("Trident")>-1||t.indexOf("NET CLR")>-1,Presto:t.indexOf("Presto")>-1,WebKit:t.indexOf("AppleWebKit")>-1,Gecko:t.indexOf("Gecko/")>-1,Safari:t.indexOf("Safari")>-1,Chrome:t.indexOf("Chrome")>-1||t.indexOf("CriOS")>-1,IE:t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1,Edge:t.indexOf("Edge")>-1,Firefox:t.indexOf("Firefox")>-1||t.indexOf("FxiOS")>-1,"Firefox Focus":t.indexOf("Focus")>-1,Chromium:t.indexOf("Chromium")>-1,Opera:t.indexOf("Opera")>-1||t.indexOf("OPR")>-1,Vivaldi:t.indexOf("Vivaldi")>-1,Yandex:t.indexOf("YaBrowser")>-1,Kindle:t.indexOf("Kindle")>-1||t.indexOf("Silk/")>-1,360:t.indexOf("360EE")>-1||t.indexOf("360SE")>-1,UC:t.indexOf("UC")>-1||t.indexOf(" UBrowser")>-1,QQBrowser:t.indexOf("QQBrowser")>-1,QQ:t.indexOf("QQ/")>-1,Baidu:t.indexOf("Baidu")>-1||t.indexOf("BIDUBrowser")>-1,Maxthon:t.indexOf("Maxthon")>-1,Sogou:t.indexOf("MetaSr")>-1||t.indexOf("Sogou")>-1,LBBROWSER:t.indexOf("LBBROWSER")>-1,"2345Explorer":t.indexOf("2345Explorer")>-1,TheWorld:t.indexOf("TheWorld")>-1,XiaoMi:t.indexOf("MiuiBrowser")>-1,Quark:t.indexOf("Quark")>-1,Qiyu:t.indexOf("Qiyu")>-1,Wechat:t.indexOf("MicroMessenger")>-1,Taobao:t.indexOf("AliApp(TB")>-1,Alipay:t.indexOf("AliApp(AP")>-1,Weibo:t.indexOf("Weibo")>-1,Douban:t.indexOf("com.douban.frodo")>-1,Suning:t.indexOf("SNEBUY-APP")>-1,iQiYi:t.indexOf("IqiyiApp")>-1,Windows:t.indexOf("Windows")>-1,Linux:t.indexOf("Linux")>-1||t.indexOf("X11")>-1,"Mac OS":t.indexOf("Macintosh")>-1,Android:t.indexOf("Android")>-1||t.indexOf("Adr")>-1,Ubuntu:t.indexOf("Ubuntu")>-1,FreeBSD:t.indexOf("FreeBSD")>-1,Debian:t.indexOf("Debian")>-1,"Windows Phone":t.indexOf("IEMobile")>-1||t.indexOf("Windows Phone")>-1,BlackBerry:t.indexOf("BlackBerry")>-1||t.indexOf("RIM")>-1,MeeGo:t.indexOf("MeeGo")>-1,Symbian:t.indexOf("Symbian")>-1,iOS:t.indexOf("like Mac OS X")>-1,"Chrome OS":t.indexOf("CrOS")>-1,WebOS:t.indexOf("hpwOS")>-1,Mobile:t.indexOf("Mobi")>-1||t.indexOf("iPh")>-1||t.indexOf("480")>-1,Tablet:t.indexOf("Tablet")>-1||t.indexOf("Pad")>-1||t.indexOf("Nexus 7")>-1};r.Mobile?r.Mobile=!(t.indexOf("iPad")>-1):o.showModalDialog&&o.chrome&&(r[360]=!0);var i={engine:["WebKit","Trident","Gecko","Presto"],browser:["Safari","Chrome","Edge","IE","Firefox","Firefox Focus","Chromium","Opera","Vivaldi","Yandex","Kindle","360","UC","QQBrowser","QQ","Baidu","Maxthon","Sogou","LBBROWSER","2345Explorer","TheWorld","XiaoMi","Quark","Qiyu","Wechat","Taobao","Alipay","Weibo","Douban","Suning","iQiYi"],os:["Windows","Linux","Mac OS","Android","Ubuntu","FreeBSD","Debian","iOS","Windows Phone","BlackBerry","MeeGo","Symbian","Chrome OS","WebOS"],device:["Mobile","Tablet"]};n.device="PC",n.language=function(){var e=a.browserLanguage||a.language,t=e.split("-");return t[1]&&(t[1]=t[1].toUpperCase()),t.join("_")}();for(var s in i)for(var l=0;l27?n.engine="Blink":"Opera"==n.browser&&parseInt(n.version)>12?n.engine="Blink":"Yandex"==n.browser?n.engine="Blink":void 0==n.browser&&(n.browser="Unknow App")}function i(e){return new r(e)}var o=window||{},a=navigator||{};e.exports=i},function(e,t,n){"use strict";function r(e){return e&&c.test(e)?e.replace(l,function(e){return a[e]}):e}function i(e){return e&&d.test(e)?e.replace(u,function(e){return o[e]}):e}var o={},a={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\\":"\"};for(var s in a)o[a[s]]=s;var l=/[&<>"'`\\]/g,c=RegExp(l.source),u=/&(?:amp|lt|gt|quot|#39|#x60|#x5c);/g,d=RegExp(u.source),p={on:function(e,t,n,r){return t.addEventListener?t.addEventListener(e,n,r||!1):t.attachEvent?t.attachEvent("on"+e,n):t["on"+e]=n,this},off:function(e,t,n,r){return t.removeEventListener?t.removeEventListener(e,n,r||!1):t.detachEvent?t.detachEvent("on"+e,n):t["on"+e]=null,this}};e.exports={HtmlUtils:{escape:r,unescape:i},Event:p}},function(e,t,n){"use strict";var r=function(e,t){if(e)try{var n=e.getTime(),r=(new Date).getTime(),o=r-n,a=Math.floor(o/864e5);if(0===a){var s=o%864e5,l=Math.floor(s/36e5);if(0===l){var c=s%36e5,u=Math.floor(c/6e4);if(0===u){var d=c%6e4;return Math.round(d/1e3)+" "+t.timeago.seconds}return u+" "+t.timeago.minutes}return l+" "+t.timeago.hours}return a<0?t.timeago.now:a<8?a+" "+t.timeago.days:i(e)}catch(e){}},i=function(e){var t=o(e.getDate(),2),n=o(e.getMonth()+1,2);return o(e.getFullYear(),2)+"-"+n+"-"+t},o=function(e,t){for(var n=e.toString();n.length>16)+(t>>16)+(n>>16)<<16|65535&n}function a(e,t){return e<>>32-t}function s(e,t,n,r,i,s){return o(a(o(o(t,e),o(r,s)),i),n)}function l(e,t,n,r,i,o,a){return s(t&n|~t&r,e,t,i,o,a)}function c(e,t,n,r,i,o,a){return s(t&r|n&~r,e,t,i,o,a)}function u(e,t,n,r,i,o,a){return s(t^n^r,e,t,i,o,a)}function d(e,t,n,r,i,o,a){return s(n^(t|~r),e,t,i,o,a)}function p(e,t){e[t>>5]|=128<>>9<<4)]=t;var n,r,i,a,s,p=1732584193,h=-271733879,f=-1732584194,v=271733878;for(n=0;n>5]>>>t%32&255);return n}function f(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t>5]|=(255&e.charCodeAt(t/8))<16&&(i=p(i,8*e.length)),n=0;n<16;n+=1)o[n]=909522486^i[n],a[n]=1549556828^i[n];return r=p(o.concat(f(t)),512+8*t.length),h(p(a.concat(r),640))}function m(e){var t,n,r="0123456789abcdef",i="";for(n=0;n>>4&15)+r.charAt(15&t);return i}function b(e){return unescape(encodeURIComponent(e))}function x(e){return v(b(e))}function y(e){return m(x(e))}function k(e,t){return g(b(e),b(t))}function w(e,t){return m(k(e,t))}function S(e,t,n){return t?n?k(t,e):w(t,e):n?x(e):y(e)}void 0!==(r=function(){return S}.call(t,n,t,e))&&(e.exports=r)}()},function(e,t,n){(function(t){!function(t){"use strict";function n(e){this.tokens=[],this.tokens.links={},this.options=e||h.defaults,this.rules=f.normal,this.options.gfm&&(this.options.tables?this.rules=f.tables:this.rules=f.gfm)}function r(e,t){if(this.options=t||h.defaults,this.links=e,this.rules=v.normal,this.renderer=this.options.renderer||new i,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=v.breaks:this.rules=v.gfm:this.options.pedantic&&(this.rules=v.pedantic)}function i(e){this.options=e||{}}function o(){}function a(e){this.tokens=[],this.token=null,this.options=e||h.defaults,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options}function s(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function l(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}function c(e,t){return e=e.source,t=t||"",{replace:function(t,n){return n=n.source||n,n=n.replace(/(^|[^\[])\^/g,"$1"),e=e.replace(t,n),this},getRegex:function(){return new RegExp(e,t)}}}function u(e,t){return g[" "+e]||(/^[^:]+:\/*[^\/]*$/.test(e)?g[" "+e]=e+"/":g[" "+e]=e.replace(/[^\/]*$/,"")),e=g[" "+e],"//"===t.slice(0,2)?e.replace(/:[\s\S]*/,":")+t:"/"===t.charAt(0)?e.replace(/(:\/*[^\/]*)[\s\S]*/,"$1")+t:e+t}function d(){}function p(e){for(var t,n,r=1;rAn error occurred:

    "+s(e.message+"",!0)+"
    ";throw e}}var f={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:d,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:d,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:d,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n?(?!hr|heading|lheading| {0,3}>|tag)[^\n]+)+)/,text:/^[^\n]+/};f._label=/(?:\\[\[\]]|[^\[\]])+/,f._title=/(?:"(?:\\"|[^"]|"[^"\n]*")*"|'\n?(?:[^'\n]+\n?)*'|\([^()]*\))/,f.def=c(f.def).replace("label",f._label).replace("title",f._title).getRegex(),f.bullet=/(?:[*+-]|\d+\.)/,f.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,f.item=c(f.item,"gm").replace(/bull/g,f.bullet).getRegex(),f.list=c(f.list).replace(/bull/g,f.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+f.def.source+")").getRegex(),f._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b",f.html=c(f.html).replace("comment",//).replace("closed",/<(tag)[\s\S]+?<\/\1>/).replace("closing",/\s]*)*?\/?>/).replace(/tag/g,f._tag).getRegex(),f.paragraph=c(f.paragraph).replace("hr",f.hr).replace("heading",f.heading).replace("lheading",f.lheading).replace("tag","<"+f._tag).getRegex(),f.blockquote=c(f.blockquote).replace("paragraph",f.paragraph).getRegex(),f.normal=p({},f),f.gfm=p({},f.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\n? *\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),f.gfm.paragraph=c(f.paragraph).replace("(?!","(?!"+f.gfm.fences.source.replace("\\1","\\2")+"|"+f.list.source.replace("\\1","\\3")+"|").getRegex(),f.tables=p({},f.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),n.rules=f,n.lex=function(e,t){return new n(t).lex(e)},n.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},n.prototype.token=function(e,t){e=e.replace(/^ +$/gm,"");for(var n,r,i,o,a,s,l,c,u,d,p;e;)if((i=this.rules.newline.exec(e))&&(e=e.substring(i[0].length),i[0].length>1&&this.tokens.push({type:"space"})),i=this.rules.code.exec(e))e=e.substring(i[0].length),i=i[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?i:i.replace(/\n+$/,"")});else if(i=this.rules.fences.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"code",lang:i[2],text:i[3]||""});else if(i=this.rules.heading.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"heading",depth:i[1].length,text:i[2]});else if(t&&(i=this.rules.nptable.exec(e))){for(e=e.substring(i[0].length),s={type:"table",header:i[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:i[3].replace(/\n$/,"").split("\n")},c=0;c ?/gm,""),this.token(i,t),this.tokens.push({type:"blockquote_end"});else if(i=this.rules.list.exec(e)){for(e=e.substring(i[0].length),o=i[2],p=o.length>1,this.tokens.push({type:"list_start",ordered:p,start:p?+o:""}),i=i[0].match(this.rules.item),n=!1,d=i.length,c=0;c1&&a.length>1||(e=i.slice(c+1).join("\n")+e,c=d-1)),r=n||/\n\n(?!\s*$)/.test(s),c!==d-1&&(n="\n"===s.charAt(s.length-1),r||(r=n)),this.tokens.push({type:r?"loose_item_start":"list_item_start"}),this.token(s,!1),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(i=this.rules.html.exec(e))e=e.substring(i[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===i[1]||"script"===i[1]||"style"===i[1]),text:i[0]});else if(t&&(i=this.rules.def.exec(e)))e=e.substring(i[0].length),i[3]&&(i[3]=i[3].substring(1,i[3].length-1)),u=i[1].toLowerCase(),this.tokens.links[u]||(this.tokens.links[u]={href:i[2],title:i[3]});else if(t&&(i=this.rules.table.exec(e))){for(e=e.substring(i[0].length),s={type:"table",header:i[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:i[3].replace(/(?: *\| *)?\n$/,"").split("\n")},c=0;c])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:d,tag:/^|^<\/?[a-zA-Z0-9\-]+(?:"[^"]*"|'[^']*'|\s[^<'">\/\s]*)*?\/?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^_([^\s_](?:[^_]|__)+?[^\s_])_\b|^\*((?:\*\*|[^*])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`]?)\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:d,text:/^[\s\S]+?(?=[\\?(?:\s+['"]([\s\S]*?)['"])?\s*/,v.link=c(v.link).replace("inside",v._inside).replace("href",v._href).getRegex(),v.reflink=c(v.reflink).replace("inside",v._inside).getRegex(),v.normal=p({},v),v.pedantic=p({},v.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),v.gfm=p({},v.normal,{escape:c(v.escape).replace("])","~|])").getRegex(),url:c(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("email",v._email).getRegex(),_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:c(v.text).replace("]|","~]|").replace("|","|https?://|ftp://|www\\.|[a-zA-Z0-9.!#$%&'*+/=?^_`{\\|}~-]+@|").getRegex()}),v.breaks=p({},v.gfm,{br:c(v.br).replace("{2,}","*").getRegex(),text:c(v.gfm.text).replace("{2,}","*").getRegex()}),r.rules=v,r.output=function(e,t,n){return new r(t,n).output(e)},r.prototype.output=function(e){for(var t,n,r,i,o="";e;)if(i=this.rules.escape.exec(e))e=e.substring(i[0].length),o+=i[1];else if(i=this.rules.autolink.exec(e))e=e.substring(i[0].length),"@"===i[2]?(n=s(this.mangle(i[1])),r="mailto:"+n):(n=s(i[1]),r=n),o+=this.renderer.link(r,null,n);else if(this.inLink||!(i=this.rules.url.exec(e))){if(i=this.rules.tag.exec(e))!this.inLink&&/^/i.test(i[0])&&(this.inLink=!1),e=e.substring(i[0].length),o+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):s(i[0]):i[0];else if(i=this.rules.link.exec(e))e=e.substring(i[0].length),this.inLink=!0,o+=this.outputLink(i,{href:i[2],title:i[3]}),this.inLink=!1;else if((i=this.rules.reflink.exec(e))||(i=this.rules.nolink.exec(e))){if(e=e.substring(i[0].length),t=(i[2]||i[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){o+=i[0].charAt(0),e=i[0].substring(1)+e;continue}this.inLink=!0,o+=this.outputLink(i,t),this.inLink=!1}else if(i=this.rules.strong.exec(e))e=e.substring(i[0].length),o+=this.renderer.strong(this.output(i[2]||i[1]));else if(i=this.rules.em.exec(e))e=e.substring(i[0].length),o+=this.renderer.em(this.output(i[2]||i[1]));else if(i=this.rules.code.exec(e))e=e.substring(i[0].length),o+=this.renderer.codespan(s(i[2].trim(),!0));else if(i=this.rules.br.exec(e))e=e.substring(i[0].length),o+=this.renderer.br();else if(i=this.rules.del.exec(e))e=e.substring(i[0].length),o+=this.renderer.del(this.output(i[1]));else if(i=this.rules.text.exec(e))e=e.substring(i[0].length),o+=this.renderer.text(s(this.smartypants(i[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else i[0]=this.rules._backpedal.exec(i[0])[0],e=e.substring(i[0].length),"@"===i[2]?(n=s(i[0]),r="mailto:"+n):(n=s(i[0]),r="www."===i[1]?"http://"+n:n),o+=this.renderer.link(r,null,n);return o},r.prototype.outputLink=function(e,t){var n=s(t.href),r=t.title?s(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,s(e[1]))},r.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},r.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;i.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},i.prototype.code=function(e,t,n){if(this.options.highlight){var r=this.options.highlight(e,t);null!=r&&r!==e&&(n=!0,e=r)}return t?'
    '+(n?e:s(e,!0))+"\n
    \n":"
    "+(n?e:s(e,!0))+"\n
    "},i.prototype.blockquote=function(e){return"
    \n"+e+"
    \n"},i.prototype.html=function(e){return e},i.prototype.heading=function(e,t,n){return"'+e+"\n"},i.prototype.hr=function(){return this.options.xhtml?"
    \n":"
    \n"},i.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"},i.prototype.listitem=function(e){return"
  • "+e+"
  • \n"},i.prototype.paragraph=function(e){return"

    "+e+"

    \n"},i.prototype.table=function(e,t){return"\n\n"+e+"\n\n"+t+"\n
    \n"},i.prototype.tablerow=function(e){return"\n"+e+"\n"},i.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">")+e+"\n"},i.prototype.strong=function(e){return""+e+""},i.prototype.em=function(e){return""+e+""},i.prototype.codespan=function(e){return""+e+""},i.prototype.br=function(){return this.options.xhtml?"
    ":"
    "},i.prototype.del=function(e){return""+e+""},i.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(l(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return n}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return n}this.options.baseUrl&&!m.test(e)&&(e=u(this.options.baseUrl,e));var i='
    "},i.prototype.image=function(e,t,n){this.options.baseUrl&&!m.test(e)&&(e=u(this.options.baseUrl,e));var r=''+n+'":">"},i.prototype.text=function(e){return e},o.prototype.strong=o.prototype.em=o.prototype.codespan=o.prototype.del=o.prototype.text=function(e){return e},o.prototype.link=o.prototype.image=function(e,t,n){return""+n},o.prototype.br=function(){return""},a.parse=function(e,t){return new a(t).parse(e)},a.prototype.parse=function(e){this.inline=new r(e.links,this.options),this.inlineText=new r(e.links,p({},this.options,{renderer:new o})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},a.prototype.next=function(){return this.token=this.tokens.pop()},a.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},a.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},a.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,l(this.inlineText.output(this.token.text)));case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i="",o="";for(n="",e=0;e=0&&x.splice(t,1)}function s(e){var t=document.createElement("style");return e.attrs.type="text/css",c(t,e.attrs),o(e,t),t}function l(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",c(t,e.attrs),o(e,t),t}function c(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function u(e,t){var n,r,i,o;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}if(t.singleton){var c=b++;n=m||(m=s(t)),r=d.bind(null,n,c,!1),i=d.bind(null,n,c,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=h.bind(null,n,t),i=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=p.bind(null,n),i=function(){a(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}function d(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=k(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function p(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function h(e,t,n){var r=n.css,i=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||o)&&(r=y(r)),i&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var f={},v=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),g=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e.call(this,n)),t[n]}}(function(e){return document.querySelector(e)}),m=null,b=0,x=[],y=n(13);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");t=t||{},t.attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||(t.singleton=v()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=i(e,t);return r(n,t),function(e){for(var o=[],a=0;a-1?a:"mm"),h.hide="hide"===a,h.cdn=!!s&&s||h.cdn,g=e.path||g,e.guest_info=(e.guest_info||f).filter(function(e){return f.indexOf(e)>-1});var l=Number(e.pageSize||10);if(e.pageSize=isNaN(l)?10:l<1?10:l,!AV)return void setTimeout(function(){t.init(e)},20);var c=e.app_id||e.appId,u=e.app_key||e.appKey,d=(e.region||"cn").toLowerCase(),v=["cn","us"];if(d=v.indexOf(d)>-1?d:v[0],!c||!u)throw 99;AV.applicationId=null,AV.init({appId:c,appKey:u,region:d});for(var m=document.querySelectorAll(".valine-comment-count"),b=0,x=m.length;b-1?'':""});t.placeholder=e.placeholder||"Just Go Go",t.el.innerHTML='
    '+S.join("")+'
    Emoji | Preview
    Powered By Valine
    v1.1.9
    ';var _=t.el.querySelector(".vempty");t.nodata={show:function(e){return _.innerHTML=e||t.locale.tips.sofa,_.setAttribute("style","display:block;"),t},hide:function(){return _.setAttribute("style","display:none;"),t}};var O=document.createElement("div");O.setAttribute("class","vloading");var A=t.el.querySelector(".vlist");t.loading={show:function(e){var n=A.querySelectorAll(".vcard");return e?A.insertBefore(O,n[0]):A.appendChild(O),t.nodata.hide(),t},hide:function(){var e=A.querySelector(".vloading");return e&&A.removeChild(e),0===A.querySelectorAll(".vcard").length&&t.nodata.show(),t}};var $=t.el.querySelector(".vmark");t.alert={show:function(e){$.innerHTML='
    '+(e&&e.text||1)+'
    ';var n=$.querySelector(".vbtns"),r='",i='";if(n.innerHTML=""+r+(e&&e.type&&i),o.Event.on("click",$.querySelector(".vcancel"),function(e){t.alert.hide()}),$.setAttribute("style","display:block;"),e&&e.type){var a=$.querySelector(".vsure");o.Event.on("click",a,function(n){t.alert.hide(),e.cb&&e.cb()})}return t},hide:function(){return $.setAttribute("style","display:none;"),t}},t.el&&AV&&t.bind(e)}catch(e){t.ErrorHandler(e)}return t},r.prototype.Q=function(e){var t=new AV.Query("Comment");return t.equalTo("url",decodeURI(e)),1==arguments.length?t.doesNotExist("rid"):t.equalTo("rid",arguments[1]),t.addDescending("createdAt"),t.addDescending("insertedAt"),t},r.prototype.ErrorHandler=function(e){var t=this;t.el&&t.loading.hide().nodata.hide();var n="";101==e?t.nodata.show():(n="number"==typeof e?"Code "+e+": "+(t.locale.error[e]||e):e,t.el&&t.nodata.show('
    '+n+"
    "),console)},r.prototype.installLocale=function(e,t){var n=this;return t=t||{},p[e]=JSON.stringify(Object.keys(p["zh-cn"]))==JSON.stringify(Object.keys(t))?t:void 0,n.locale=p[e]||p["zh-cn"],n},r.prototype.setPath=function(e){return g=e||g,this},r.prototype.bind=function(e){var t=this,n=t.el.querySelector(".vemojis"),r=t.el.querySelector(".vemoji-btn"),i=t.el.querySelector(".vpreview"),p=function(e){var t=e.value||"";t=u.parse(t),e.value=t;var n=s(t);d.comment=n,i.innerHTML=n},f=u.data;for(var b in f)f.hasOwnProperty(b)&&function(e,t){var r=document.createElement("i");r.setAttribute("name",e),r.setAttribute("title",e),r.innerHTML=t,n.appendChild(r),o.Event.on("click",r,function(e){var n=document.querySelector(".veditor");A(n,t),p(n)})}(b,f[b]);o.Event.on("click",r,function(e){r.getAttribute("v")?(r.removeAttribute("v"),n.setAttribute("style","display:none")):(r.setAttribute("v",1),O.removeAttribute("v"),i.setAttribute("style","display:none"),n.setAttribute("style","display:block"))});for(var x=e.guest_info,y={},k={veditor:"comment"},w=0,S=x.length;w0&&void 0!==arguments[0]?arguments[0]:1,i=e.pageSize,a=Number(t.el.querySelector(".vnum").innerText);t.loading.show();var s=t.Q(g);s.limit(i),s.skip((r-1)*i),s.find().then(function(e){for(var l=e.length,c=0;c'+t.locale.ctrl.more+"":"";var d=u.querySelector(".vmore");d&&o.Event.on("click",d,function(e){u.innerHTML="",n(++r)}),t.loading.hide()}).catch(function(e){t.loading.hide().ErrorHandler(e.code)})};t.Q(g).count().then(function(e){e>0?(t.el.querySelector(".vinfo").setAttribute("style","display:block;"),t.el.querySelector(".vcount").innerHTML=''+e+" "+t.locale.tips.comments,M()):t.loading.hide()}).catch(function(e){t.ErrorHandler(e.code)});var C=function(e,n,r){var i=document.createElement("div");i.setAttribute("class","vcard"),i.setAttribute("id",e.id);var o=h.hide?"":'",s=c(e.get("ua")),u=''+s.browser+" "+s.version+"",d=''+s.os+" "+s.osVersion+"",p="",f=e.get("link")||"";p=f?''+e.get("nick")+"":''+e.get("nick")+"",i.innerHTML=o+'\n
    \n
    '+p+" "+u+" "+d+'
    \n
    \n '+l(e.get("insertedAt")||e.createdAt,t.locale)+"\n '+t.locale.ctrl.reply+'\n
    \n
    \n '+e.get("comment")+"\n
    \n
    ";for(var v=i.querySelector(".vat"),g=i.querySelectorAll("a"),m=0,b=g.length;m180&&(e.classList.add("expand"),o.Event.on("click",e,function(t){e.setAttribute("class","vcontent")}))},20)},q={at:"",rid:"",rmail:""},T=function(e){o.Event.on("click",e,function(t){var n=e.getAttribute("at"),r=e.getAttribute("rid"),i=e.getAttribute("mail");q.at=o.HtmlUtils.escape(n)+" ",q.rid=r,q.rmail=i,y.comment.setAttribute("placeholder",n),y.comment.focus()})},z=function(){var e=v&&v.ValineCache;if(e){e=JSON.parse(e);var n=x;for(var r in n){var i=n[r];t.el.querySelector(".v"+i).value=o.HtmlUtils.unescape(e[i]),d[i]=e[i]}}};z();var R=function(){for(var e in k)if(k.hasOwnProperty(e)){var n=k[e],r=t.el.querySelector("."+e);r.value="",d[n]=""}y.comment.setAttribute("placeholder",t.placeholder),q.at="",q.rid="",q.rmail="",d.nick="Anonymous",z(),i.innerHTML="",i.setAttribute("style","display:none;"),O.removeAttribute("v")},B=t.el.querySelector(".vsubmit"),U=function(e){if(B.getAttribute("disabled"))return void t.alert.show({type:0,text:t.locale.tips.busy+'ヾ(๑╹◡╹)ノ"',ctxt:t.locale.ctrl.ok});if(""==d.comment)return void y.comment.focus();d.nick=d.nick||"Anonymous";var n=m.mail(d.mail),r=m.link(d.link);d.mail=n.k?n.v:"",d.link=r.k?r.v:"",t.notify||t.verify?Q(j):j()},P=function(){var e=new AV.ACL;return e.setPublicReadAccess(!0),e.setPublicWriteAccess(!1),e},j=function(){B.setAttribute("disabled",!0),t.loading.show(!0);var e=AV.Object.extend("Comment"),n=new e;d.url=decodeURI(g),d.insertedAt=new Date,q.rid&&(n.set("rid",q.rid),d.comment=q.at+d.comment);for(var r in d)if(d.hasOwnProperty(r)){var i=d[r];n.set(r,i)}n.setACL(P()),n.save().then(function(e){"Anonymous"!=d.nick&&v&&v.setItem("ValineCache",JSON.stringify({nick:d.nick,link:d.link,mail:d.mail}));var n=t.el.querySelector(".vnum"),r=1;try{if(q.rid){var i=t.el.querySelector('.vquote[rid="'+q.rid+'"]')||$(q.rid);C(e,i,!0)}else n?(r=Number(n.innerText)+1,n.innerText=r):t.el.querySelector(".vcount").innerHTML='1 '+t.locale.tips.comments,C(e,t.el.querySelector(".vlist"));d.mail&&I({username:d.nick,mail:d.mail}),q.at&&q.rmail&&t.notify&&H({username:q.at.replace("@",""),mail:q.rmail}),B.removeAttribute("disabled"),t.loading.hide(),R()}catch(e){e.code&&t.ErrorHandler(e.code)||t.ErrorHandler(e)}}).catch(function(e){t.ErrorHandler(e.code)})},Q=function e(n){var r=Math.floor(10*Math.random()+1),i=Math.floor(10*Math.random()+1),o=Math.floor(10*Math.random()+1),a=["+","-","x"],s=a[Math.floor(3*Math.random())],l=a[Math.floor(3*Math.random())],c=""+r+s+i+l+o,u=c+" = ";t.alert.show({type:1,text:u,ctxt:t.locale.ctrl.cancel,otxt:t.locale.ctrl.ok,cb:function(){var r=+t.el.querySelector(".vcode").value;new Function("return "+c.replace(/x/g,"*"))()===r?n&&n():t.alert.show({type:1,text:"(T_T)"+t.locale.tips.again,ctxt:t.locale.ctrl.cancel,otxt:t.locale.ctrl.try,cb:function(){e(n)}})}})},I=function(e){var t=new AV.User;return t.setUsername(e.username),t.setPassword(e.mail),t.setEmail(e.mail),t.setACL(P()),t.signUp()},H=function e(n){AV.User.requestPasswordReset(n.mail).then(function(e){}).catch(function(r){1==r.code?t.alert.show({type:0,text:"ヾ(o・ω・)ノ At太频繁啦,提醒功能暂时宕机。
    "+r.error,ctxt:t.locale.ctrl.ok}):I(n).then(function(t){e(n)}).catch(function(e){})})};o.Event.off("click",B,U),o.Event.on("click",B,U),o.Event.on("keyup",document,function(e){var t=e.keyCode||e.which||e.charCode;(e.ctrlKey||e.metaKey)&&13==t&&U()})};var m={mail:function(e){return{k:/[\w-\.]+@([\w-]+\.)+[a-z]{2,3}/.test(e),v:e}},link:function(e){return e=e.length>0&&(/^https?/.test(e)?e:"http://"+e),{k:/^https?:\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:\/~\+#]*[\w\-\@?^=%&\/~\+#])?/.test(e),v:e}}};e.exports=i,e.exports.default=i},function(e,t,n){"use strict";var r={data:n(8),parse:function(e){return String(e).replace(/:(.+?):/g,function(e,t){return r.data[t]||e})}};e.exports=r},function(e,t,n){"use strict";function r(e){var t=e||a.userAgent,n=this,r={Trident:t.indexOf("Trident")>-1||t.indexOf("NET CLR")>-1,Presto:t.indexOf("Presto")>-1,WebKit:t.indexOf("AppleWebKit")>-1,Gecko:t.indexOf("Gecko/")>-1,Safari:t.indexOf("Safari")>-1,Chrome:t.indexOf("Chrome")>-1||t.indexOf("CriOS")>-1,IE:t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1,Edge:t.indexOf("Edge")>-1,Firefox:t.indexOf("Firefox")>-1||t.indexOf("FxiOS")>-1,"Firefox Focus":t.indexOf("Focus")>-1,Chromium:t.indexOf("Chromium")>-1,Opera:t.indexOf("Opera")>-1||t.indexOf("OPR")>-1,Vivaldi:t.indexOf("Vivaldi")>-1,Yandex:t.indexOf("YaBrowser")>-1,Kindle:t.indexOf("Kindle")>-1||t.indexOf("Silk/")>-1,360:t.indexOf("360EE")>-1||t.indexOf("360SE")>-1,UC:t.indexOf("UC")>-1||t.indexOf(" UBrowser")>-1,QQBrowser:t.indexOf("QQBrowser")>-1,QQ:t.indexOf("QQ/")>-1,Baidu:t.indexOf("Baidu")>-1||t.indexOf("BIDUBrowser")>-1,Maxthon:t.indexOf("Maxthon")>-1,Sogou:t.indexOf("MetaSr")>-1||t.indexOf("Sogou")>-1,LBBROWSER:t.indexOf("LBBROWSER")>-1,"2345Explorer":t.indexOf("2345Explorer")>-1,TheWorld:t.indexOf("TheWorld")>-1,XiaoMi:t.indexOf("MiuiBrowser")>-1,Quark:t.indexOf("Quark")>-1,Qiyu:t.indexOf("Qiyu")>-1,Wechat:t.indexOf("MicroMessenger")>-1,Taobao:t.indexOf("AliApp(TB")>-1,Alipay:t.indexOf("AliApp(AP")>-1,Weibo:t.indexOf("Weibo")>-1,Douban:t.indexOf("com.douban.frodo")>-1,Suning:t.indexOf("SNEBUY-APP")>-1,iQiYi:t.indexOf("IqiyiApp")>-1,Windows:t.indexOf("Windows")>-1,Linux:t.indexOf("Linux")>-1||t.indexOf("X11")>-1,"Mac OS":t.indexOf("Macintosh")>-1,Android:t.indexOf("Android")>-1||t.indexOf("Adr")>-1,Ubuntu:t.indexOf("Ubuntu")>-1,FreeBSD:t.indexOf("FreeBSD")>-1,Debian:t.indexOf("Debian")>-1,"Windows Phone":t.indexOf("IEMobile")>-1||t.indexOf("Windows Phone")>-1,BlackBerry:t.indexOf("BlackBerry")>-1||t.indexOf("RIM")>-1,MeeGo:t.indexOf("MeeGo")>-1,Symbian:t.indexOf("Symbian")>-1,iOS:t.indexOf("like Mac OS X")>-1,"Chrome OS":t.indexOf("CrOS")>-1,WebOS:t.indexOf("hpwOS")>-1,Mobile:t.indexOf("Mobi")>-1||t.indexOf("iPh")>-1||t.indexOf("480")>-1,Tablet:t.indexOf("Tablet")>-1||t.indexOf("Pad")>-1||t.indexOf("Nexus 7")>-1};r.Mobile?r.Mobile=!(t.indexOf("iPad")>-1):o.showModalDialog&&o.chrome&&(r[360]=!0);var i={engine:["WebKit","Trident","Gecko","Presto"],browser:["Safari","Chrome","Edge","IE","Firefox","Firefox Focus","Chromium","Opera","Vivaldi","Yandex","Kindle","360","UC","QQBrowser","QQ","Baidu","Maxthon","Sogou","LBBROWSER","2345Explorer","TheWorld","XiaoMi","Quark","Qiyu","Wechat","Taobao","Alipay","Weibo","Douban","Suning","iQiYi"],os:["Windows","Linux","Mac OS","Android","Ubuntu","FreeBSD","Debian","iOS","Windows Phone","BlackBerry","MeeGo","Symbian","Chrome OS","WebOS"],device:["Mobile","Tablet"]};n.device="PC",n.language=function(){var e=a.browserLanguage||a.language,t=e.split("-");return t[1]&&(t[1]=t[1].toUpperCase()),t.join("_")}();for(var s in i)for(var l=0;l27?n.engine="Blink":"Opera"==n.browser&&parseInt(n.version)>12?n.engine="Blink":"Yandex"==n.browser?n.engine="Blink":void 0==n.browser&&(n.browser="Unknow App")}function i(e){return new r(e)}var o=window||{},a=navigator||{};e.exports=i},function(e,t,n){"use strict";function r(e){return e&&c.test(e)?e.replace(l,function(e){return a[e]}):e}function i(e){return e&&d.test(e)?e.replace(u,function(e){return o[e]}):e}var o={},a={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\\":"\"};for(var s in a)o[a[s]]=s;var l=/[&<>"'`\\]/g,c=RegExp(l.source),u=/&(?:amp|lt|gt|quot|#39|#x60|#x5c);/g,d=RegExp(u.source),p={on:function(e,t,n,r){return t.addEventListener?t.addEventListener(e,n,r||!1):t.attachEvent?t.attachEvent("on"+e,n):t["on"+e]=n,this},off:function(e,t,n,r){return t.removeEventListener?t.removeEventListener(e,n,r||!1):t.detachEvent?t.detachEvent("on"+e,n):t["on"+e]=null,this}};e.exports={HtmlUtils:{escape:r,unescape:i},Event:p}},function(e,t,n){"use strict";var r=function(e,t){if(e)try{var n=e.getTime(),r=(new Date).getTime(),o=r-n,a=Math.floor(o/864e5);if(0===a){var s=o%864e5,l=Math.floor(s/36e5);if(0===l){var c=s%36e5,u=Math.floor(c/6e4);if(0===u){var d=c%6e4;return Math.round(d/1e3)+" "+t.timeago.seconds}return u+" "+t.timeago.minutes}return l+" "+t.timeago.hours}return a<0?t.timeago.now:a<8?a+" "+t.timeago.days:i(e)}catch(e){}},i=function(e){var t=o(e.getDate(),2),n=o(e.getMonth()+1,2);return o(e.getFullYear(),2)+"-"+n+"-"+t},o=function(e,t){for(var n=e.toString();n.length>16)+(t>>16)+(n>>16)<<16|65535&n}function a(e,t){return e<>>32-t}function s(e,t,n,r,i,s){return o(a(o(o(t,e),o(r,s)),i),n)}function l(e,t,n,r,i,o,a){return s(t&n|~t&r,e,t,i,o,a)}function c(e,t,n,r,i,o,a){return s(t&r|n&~r,e,t,i,o,a)}function u(e,t,n,r,i,o,a){return s(t^n^r,e,t,i,o,a)}function d(e,t,n,r,i,o,a){return s(n^(t|~r),e,t,i,o,a)}function p(e,t){e[t>>5]|=128<>>9<<4)]=t;var n,r,i,a,s,p=1732584193,h=-271733879,f=-1732584194,v=271733878;for(n=0;n>5]>>>t%32&255);return n}function f(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t>5]|=(255&e.charCodeAt(t/8))<16&&(i=p(i,8*e.length)),n=0;n<16;n+=1)o[n]=909522486^i[n],a[n]=1549556828^i[n];return r=p(o.concat(f(t)),512+8*t.length),h(p(a.concat(r),640))}function m(e){var t,n,r="0123456789abcdef",i="";for(n=0;n>>4&15)+r.charAt(15&t);return i}function b(e){return unescape(encodeURIComponent(e))}function x(e){return v(b(e))}function y(e){return m(x(e))}function k(e,t){return g(b(e),b(t))}function w(e,t){return m(k(e,t))}function S(e,t,n){return t?n?k(t,e):w(t,e):n?x(e):y(e)}void 0!==(r=function(){return S}.call(t,n,t,e))&&(e.exports=r)}()},function(e,t,n){(function(t){!function(t){"use strict";function n(e){this.tokens=[],this.tokens.links={},this.options=e||h.defaults,this.rules=f.normal,this.options.gfm&&(this.options.tables?this.rules=f.tables:this.rules=f.gfm)}function r(e,t){if(this.options=t||h.defaults,this.links=e,this.rules=v.normal,this.renderer=this.options.renderer||new i,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=v.breaks:this.rules=v.gfm:this.options.pedantic&&(this.rules=v.pedantic)}function i(e){this.options=e||{}}function o(){}function a(e){this.tokens=[],this.token=null,this.options=e||h.defaults,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options}function s(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function l(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}function c(e,t){return e=e.source,t=t||"",{replace:function(t,n){return n=n.source||n,n=n.replace(/(^|[^\[])\^/g,"$1"),e=e.replace(t,n),this},getRegex:function(){return new RegExp(e,t)}}}function u(e,t){return g[" "+e]||(/^[^:]+:\/*[^\/]*$/.test(e)?g[" "+e]=e+"/":g[" "+e]=e.replace(/[^\/]*$/,"")),e=g[" "+e],"//"===t.slice(0,2)?e.replace(/:[\s\S]*/,":")+t:"/"===t.charAt(0)?e.replace(/(:\/*[^\/]*)[\s\S]*/,"$1")+t:e+t}function d(){}function p(e){for(var t,n,r=1;rAn error occurred:

    "+s(e.message+"",!0)+"
    ";throw e}}var f={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:d,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:d,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:d,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n?(?!hr|heading|lheading| {0,3}>|tag)[^\n]+)+)/,text:/^[^\n]+/};f._label=/(?:\\[\[\]]|[^\[\]])+/,f._title=/(?:"(?:\\"|[^"]|"[^"\n]*")*"|'\n?(?:[^'\n]+\n?)*'|\([^()]*\))/,f.def=c(f.def).replace("label",f._label).replace("title",f._title).getRegex(),f.bullet=/(?:[*+-]|\d+\.)/,f.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,f.item=c(f.item,"gm").replace(/bull/g,f.bullet).getRegex(),f.list=c(f.list).replace(/bull/g,f.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+f.def.source+")").getRegex(),f._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b",f.html=c(f.html).replace("comment",//).replace("closed",/<(tag)[\s\S]+?<\/\1>/).replace("closing",/\s]*)*?\/?>/).replace(/tag/g,f._tag).getRegex(),f.paragraph=c(f.paragraph).replace("hr",f.hr).replace("heading",f.heading).replace("lheading",f.lheading).replace("tag","<"+f._tag).getRegex(),f.blockquote=c(f.blockquote).replace("paragraph",f.paragraph).getRegex(),f.normal=p({},f),f.gfm=p({},f.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\n? *\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),f.gfm.paragraph=c(f.paragraph).replace("(?!","(?!"+f.gfm.fences.source.replace("\\1","\\2")+"|"+f.list.source.replace("\\1","\\3")+"|").getRegex(),f.tables=p({},f.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),n.rules=f,n.lex=function(e,t){return new n(t).lex(e)},n.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},n.prototype.token=function(e,t){e=e.replace(/^ +$/gm,"");for(var n,r,i,o,a,s,l,c,u,d,p;e;)if((i=this.rules.newline.exec(e))&&(e=e.substring(i[0].length),i[0].length>1&&this.tokens.push({type:"space"})),i=this.rules.code.exec(e))e=e.substring(i[0].length),i=i[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?i:i.replace(/\n+$/,"")});else if(i=this.rules.fences.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"code",lang:i[2],text:i[3]||""});else if(i=this.rules.heading.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"heading",depth:i[1].length,text:i[2]});else if(t&&(i=this.rules.nptable.exec(e))){for(e=e.substring(i[0].length),s={type:"table",header:i[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:i[3].replace(/\n$/,"").split("\n")},c=0;c ?/gm,""),this.token(i,t),this.tokens.push({type:"blockquote_end"});else if(i=this.rules.list.exec(e)){for(e=e.substring(i[0].length),o=i[2],p=o.length>1,this.tokens.push({type:"list_start",ordered:p,start:p?+o:""}),i=i[0].match(this.rules.item),n=!1,d=i.length,c=0;c1&&a.length>1||(e=i.slice(c+1).join("\n")+e,c=d-1)),r=n||/\n\n(?!\s*$)/.test(s),c!==d-1&&(n="\n"===s.charAt(s.length-1),r||(r=n)),this.tokens.push({type:r?"loose_item_start":"list_item_start"}),this.token(s,!1),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(i=this.rules.html.exec(e))e=e.substring(i[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===i[1]||"script"===i[1]||"style"===i[1]),text:i[0]});else if(t&&(i=this.rules.def.exec(e)))e=e.substring(i[0].length),i[3]&&(i[3]=i[3].substring(1,i[3].length-1)),u=i[1].toLowerCase(),this.tokens.links[u]||(this.tokens.links[u]={href:i[2],title:i[3]});else if(t&&(i=this.rules.table.exec(e))){for(e=e.substring(i[0].length),s={type:"table",header:i[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:i[3].replace(/(?: *\| *)?\n$/,"").split("\n")},c=0;c])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:d,tag:/^|^<\/?[a-zA-Z0-9\-]+(?:"[^"]*"|'[^']*'|\s[^<'">\/\s]*)*?\/?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^_([^\s_](?:[^_]|__)+?[^\s_])_\b|^\*((?:\*\*|[^*])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`]?)\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:d,text:/^[\s\S]+?(?=[\\?(?:\s+['"]([\s\S]*?)['"])?\s*/,v.link=c(v.link).replace("inside",v._inside).replace("href",v._href).getRegex(),v.reflink=c(v.reflink).replace("inside",v._inside).getRegex(),v.normal=p({},v),v.pedantic=p({},v.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),v.gfm=p({},v.normal,{escape:c(v.escape).replace("])","~|])").getRegex(),url:c(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("email",v._email).getRegex(),_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:c(v.text).replace("]|","~]|").replace("|","|https?://|ftp://|www\\.|[a-zA-Z0-9.!#$%&'*+/=?^_`{\\|}~-]+@|").getRegex()}),v.breaks=p({},v.gfm,{br:c(v.br).replace("{2,}","*").getRegex(),text:c(v.gfm.text).replace("{2,}","*").getRegex()}),r.rules=v,r.output=function(e,t,n){return new r(t,n).output(e)},r.prototype.output=function(e){for(var t,n,r,i,o="";e;)if(i=this.rules.escape.exec(e))e=e.substring(i[0].length),o+=i[1];else if(i=this.rules.autolink.exec(e))e=e.substring(i[0].length),"@"===i[2]?(n=s(this.mangle(i[1])),r="mailto:"+n):(n=s(i[1]),r=n),o+=this.renderer.link(r,null,n);else if(this.inLink||!(i=this.rules.url.exec(e))){if(i=this.rules.tag.exec(e))!this.inLink&&/^/i.test(i[0])&&(this.inLink=!1),e=e.substring(i[0].length),o+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):s(i[0]):i[0];else if(i=this.rules.link.exec(e))e=e.substring(i[0].length),this.inLink=!0,o+=this.outputLink(i,{href:i[2],title:i[3]}),this.inLink=!1;else if((i=this.rules.reflink.exec(e))||(i=this.rules.nolink.exec(e))){if(e=e.substring(i[0].length),t=(i[2]||i[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){o+=i[0].charAt(0),e=i[0].substring(1)+e;continue}this.inLink=!0,o+=this.outputLink(i,t),this.inLink=!1}else if(i=this.rules.strong.exec(e))e=e.substring(i[0].length),o+=this.renderer.strong(this.output(i[2]||i[1]));else if(i=this.rules.em.exec(e))e=e.substring(i[0].length),o+=this.renderer.em(this.output(i[2]||i[1]));else if(i=this.rules.code.exec(e))e=e.substring(i[0].length),o+=this.renderer.codespan(s(i[2].trim(),!0));else if(i=this.rules.br.exec(e))e=e.substring(i[0].length),o+=this.renderer.br();else if(i=this.rules.del.exec(e))e=e.substring(i[0].length),o+=this.renderer.del(this.output(i[1]));else if(i=this.rules.text.exec(e))e=e.substring(i[0].length),o+=this.renderer.text(s(this.smartypants(i[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else i[0]=this.rules._backpedal.exec(i[0])[0],e=e.substring(i[0].length),"@"===i[2]?(n=s(i[0]),r="mailto:"+n):(n=s(i[0]),r="www."===i[1]?"http://"+n:n),o+=this.renderer.link(r,null,n);return o},r.prototype.outputLink=function(e,t){var n=s(t.href),r=t.title?s(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,s(e[1]))},r.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},r.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;i.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},i.prototype.code=function(e,t,n){if(this.options.highlight){var r=this.options.highlight(e,t);null!=r&&r!==e&&(n=!0,e=r)}return t?'
    '+(n?e:s(e,!0))+"\n
    \n":"
    "+(n?e:s(e,!0))+"\n
    "},i.prototype.blockquote=function(e){return"
    \n"+e+"
    \n"},i.prototype.html=function(e){return e},i.prototype.heading=function(e,t,n){return"'+e+"\n"},i.prototype.hr=function(){return this.options.xhtml?"
    \n":"
    \n"},i.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"},i.prototype.listitem=function(e){return"
  • "+e+"
  • \n"},i.prototype.paragraph=function(e){return"

    "+e+"

    \n"},i.prototype.table=function(e,t){return"\n\n"+e+"\n\n"+t+"\n
    \n"},i.prototype.tablerow=function(e){return"\n"+e+"\n"},i.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">")+e+"\n"},i.prototype.strong=function(e){return""+e+""},i.prototype.em=function(e){return""+e+""},i.prototype.codespan=function(e){return""+e+""},i.prototype.br=function(){return this.options.xhtml?"
    ":"
    "},i.prototype.del=function(e){return""+e+""},i.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(l(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return n}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return n}this.options.baseUrl&&!m.test(e)&&(e=u(this.options.baseUrl,e));var i='
    "},i.prototype.image=function(e,t,n){this.options.baseUrl&&!m.test(e)&&(e=u(this.options.baseUrl,e));var r=''+n+'":">"},i.prototype.text=function(e){return e},o.prototype.strong=o.prototype.em=o.prototype.codespan=o.prototype.del=o.prototype.text=function(e){return e},o.prototype.link=o.prototype.image=function(e,t,n){return""+n},o.prototype.br=function(){return""},a.parse=function(e,t){return new a(t).parse(e)},a.prototype.parse=function(e){this.inline=new r(e.links,this.options),this.inlineText=new r(e.links,p({},this.options,{renderer:new o})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},a.prototype.next=function(){return this.token=this.tokens.pop()},a.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},a.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},a.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,l(this.inlineText.output(this.token.text)));case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i="",o="";for(n="",e=0;e=0&&x.splice(t,1)}function s(e){var t=document.createElement("style");return e.attrs.type="text/css",c(t,e.attrs),o(e,t),t}function l(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",c(t,e.attrs),o(e,t),t}function c(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function u(e,t){var n,r,i,o;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}if(t.singleton){var c=b++;n=m||(m=s(t)),r=d.bind(null,n,c,!1),i=d.bind(null,n,c,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=h.bind(null,n,t),i=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=p.bind(null,n),i=function(){a(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}function d(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=k(t,i);else{var o=document.createTextNode(i),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(o,a[t]):e.appendChild(o)}}function p(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function h(e,t,n){var r=n.css,i=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||o)&&(r=y(r)),i&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var f={},v=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),g=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e.call(this,n)),t[n]}}(function(e){return document.querySelector(e)}),m=null,b=0,x=[],y=n(13);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");t=t||{},t.attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||(t.singleton=v()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=i(e,t);return r(n,t),function(e){for(var o=[],a=0;a>>>>>> 50b0463cf72c3f47b832ed4a1737183858f80eab diff --git a/themes/yilia/source/css/main.css b/themes/yilia/source/css/main.css index 677a280..4a789f3 100644 --- a/themes/yilia/source/css/main.css +++ b/themes/yilia/source/css/main.css @@ -1 +1 @@ -.clearfix:after,.clearfix:before{content:"";display:table}.clearfix:after{clear:both}.left-col.show{box-shadow:0 0 6px 0 rgba(0,0,0,.75)}.mid-col,.mid-col.show .article,.tools-col,.tools-col .tools-section .search-tag.tagcloud .article-tag-list,.tools-col .tools-section .search-ul .search-category span:hover,.tools-col .tools-section .search-ul .search-tag span:hover,.tools-col .tools-section .search-ul .search-time span:hover,.tools-col .tools-section .search-ul .search-title:hover,.tools-col .tools-section .search-wrap .icon{transition:all .2s ease-in;-ms-transition:all .2s ease-in}@keyframes leftIn{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{transform:translateZ(0)}60%{transform:translate3d(358px,0,0)}75%{transform:translate3d(323px,0,0)}90%{transform:translate3d(338px,0,0)}to{transform:translate3d(333px,0,0)}}.mid-col.show{animation-duration:.8s;animation-fill-mode:both;animation-name:leftIn}@keyframes leftOut{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{transform:translate3d(333px,0,0)}60%{transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:translateZ(0)}}.mid-col.hide{animation-duration:.8s;animation-name:leftOut}@keyframes smallLeftIn{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{transform:translateZ(0)}60%{transform:translate3d(325px,0,0)}75%{transform:translate3d(290px,0,0)}90%{transform:translate3d(305px,0,0)}to{transform:translate3d(300px,0,0)}}.tools-col.show{animation-duration:.8s;animation-fill-mode:both;animation-name:smallLeftIn}@keyframes smallleftOut{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{transform:translate3d(333px,0,0)}60%{transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:translateZ(0)}}.tools-col.hide{animation-duration:.8s;animation-fill-mode:both;animation-name:smallleftOut}html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;height:100%}body{margin:0;font-size:14px;font-family:Helvetica Neue,Helvetica,STHeiTi,Arial,sans-serif;line-height:1.5;color:#333;background-color:#fff;min-height:100%}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block}audio:not([controls]){display:none;height:0}progress{vertical-align:baseline}[hidden],template{display:none}a{background:transparent;text-decoration:none;color:#08c}a:active{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0;vertical-align:middle;max-width:100%}svg:not(:root){overflow:hidden}pre{overflow:auto;white-space:pre;white-space:pre-wrap;word-wrap:break-word}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0;vertical-align:middle}button,input,select{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:border-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto;resize:vertical;vertical-align:top}optgroup{font-weight:700}button,input,select,textarea{outline:0}input,textarea{-webkit-user-modify:read-write-plaintext-only}input::-ms-clear,input::-ms-reveal{display:none}input::-moz-placeholder,textarea::-moz-placeholder{color:#999}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#999}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#999}.placeholder{color:#999}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}blockquote,figure,form,h1,h2,h3,h4,h5,h6,p{margin:0}dd,dl,li,ol,ul{margin:0;padding:0}ol,ul{list-style:none outside none}h1,h2,h3{line-height:2;font-weight:400}h1{font-size:18px}h2{font-size:16px}h3{font-size:14px}i{font-style:normal}*{box-sizing:border-box}@font-face{font-family:iconfont;src:url(../fonts/iconfont.b322fa.eot);src:url(../fonts/iconfont.b322fa.eot#iefix) format("embedded-opentype"),url(../fonts/iconfont.8c627f.woff) format("woff"),url(../fonts/iconfont.16acc2.ttf) format("truetype"),url(../fonts/iconfont.45d7ee.svg#iconfont) format("svg")}[class*=" icon-"],[class^=icon-]{font-family:iconfont!important;speak:none;font-size:16px;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-twitter:before{content:"\E600"}.icon-facebook:before{content:"\E601"}.icon-clock:before{content:"\E602"}.icon-mail:before{content:"\E609"}.icon-link:before{content:"\E6AB"}.icon-search:before{content:"\E65B"}.icon-smile:before{content:"\E64A"}.icon-roundrightfill:before{content:"\E65A"}.icon-list:before{content:"\E682"}.icon-book:before{content:"\E6FE"}.icon-home:before{content:"\E6BB"}.icon-share:before{content:"\E618"}.icon-back:before{content:"\E625"}.icon-qq:before{content:"\E62D"}.icon-weibo:before{content:"\E619"}.icon-segmentfault:before{content:"\E603"}.icon-sort:before{content:"\E700"}.icon-jianshu:before{content:"\E613"}.icon-circle-left:before{content:"\E71F"}.icon-circle-right:before{content:"\E720"}.icon-loading:before{content:"\E614"}.icon-acfun:before{content:"\E604"}.icon-close:before{content:"\E60C"}.icon-tumblr:before{content:"\E6B0"}.icon-calendar:before{content:"\E667"}.icon-rss:before{content:"\E877"}.icon-price-tags:before{content:"\E6F9"}.icon-quo-left:before{content:"\E7F5"}.icon-quo-right:before{content:"\E7F6"}.icon-back1:before{content:"\E64E"}.icon-github:before{content:"\E735"}.icon-film:before{content:"\E7B7"}.icon-weixin:before{content:"\E61F"}.icon-qzone:before{content:"\E680"}.icon-category:before{content:"\E605"}.icon-douban:before{content:"\E64C"}.icon-roundleftfill:before{content:"\E799"}.icon-tuding:before{content:"\E651"}.icon-zhihu:before{content:"\E61B"}.icon-linkedin:before{content:"\E6D4"}.icon-google:before{content:"\E635"}.icon-plane:before{content:"\E62F"}.icon-bilibili:before{content:"\E622"}.icon-psn:before{content:"\E6C7"}body,button,input,select,textarea{color:#1a1a1a;font-family:lucida grande,lucida sans unicode,lucida,helvetica,Hiragino Sans GB,Microsoft YaHei,WenQuanYi Micro Hei,sans-serif;font-size:16px;font-size:1rem;line-height:1.75}body{overflow-y:hidden;background:#eaeaea}#container,body,html{height:100%;overflow-x:hidden;overflow-y:auto}#mobile-nav{display:none}#container{position:relative;min-height:100%}#container .anm-canvas{display:none}#container.show .anm-canvas{display:block;position:fixed}.body-wrap{margin-bottom:80px}.mid-col{position:absolute;right:0;min-height:100%;background:#eaeaea;left:300px;width:auto}.mid-col.show{background:none;opacity:.9}.mid-col.show .article{background:hsla(0,0%,100%,.3)}.left-col{background:#fff;width:300px;position:fixed;opacity:1;transition:all .2s ease-in;height:100%;z-index:999}.left-col .overlay{width:100%;height:180px;position:absolute}.left-col .intrude-less{width:76%;text-align:center;margin:112px auto 0}.left-col #header{width:100%;height:300px;position:relative;border-bottom:1px solid color-border}.left-col #header a{color:#696969}.left-col #header a:hover{color:#b0a0aa}.left-col #header .header-subtitle{text-align:center;color:#999;font-size:14px;line-height:25px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2}.left-col #header .header-menu{font-weight:300;line-height:31px;text-transform:uppercase;float:none;min-height:150px;margin-left:-12px;text-align:center;position:relative}.left-col #header .header-menu ul{position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(-50%)}.left-col #header .header-menu ul li{cursor:default}.left-col #header .header-menu ul li a{font-size:14px;min-width:300px}.left-col #header .header-smart-menu{font-size:12px;margin-bottom:20px}.left-col #header .header-smart-menu a:after{content:"/";margin-left:4px}.left-col #header .header-smart-menu a:last-child:after{content:""}.left-col #header .profilepic{display:block;border:5px solid #fff;border-radius:300px;width:128px;height:128px;margin:0 auto;position:relative;overflow:hidden;background:#88acdb;-webkit-transition:all .2s ease-in;display:-webkit-box;-webkit-box-pack:center;-webkit-box-align:center;text-align:center}.left-col #header .profilepic img{border-radius:300px;width:100%;height:100%;opacity:1;-webkit-transition:all .2s ease-in}.left-col #header .profilepic img.show{width:100%;height:100%;opacity:1}.left-col #header .header-author{text-align:center;margin:.67em 0;font-size:30px;transition:.3s}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-button{width:0;height:0}::-webkit-scrollbar-button:end:decrement,::-webkit-scrollbar-button:start:increment{display:none}::-webkit-scrollbar-corner{display:block}::-webkit-scrollbar-thumb{border-radius:8px;background-color:rgba(0,0,0,.2)}::-webkit-scrollbar-thumb:hover{border-radius:8px;background-color:rgba(0,0,0,.5)}::-webkit-scrollbar-thumb,::-webkit-scrollbar-track{border-right:1px solid transparent;border-left:1px solid transparent}::-webkit-scrollbar-track:hover{background-color:rgba(0,0,0,.15)}::-webkit-scrollbar-button:start{width:10px;height:10px;background:url(../images/scrollbar_arrow.png) no-repeat 0 0}::-webkit-scrollbar-button:start:hover{background:url(../images/scrollbar_arrow.png) no-repeat -15px 0}::-webkit-scrollbar-button:start:active{background:url(../images/scrollbar_arrow.png) no-repeat -30px 0}::-webkit-scrollbar-button:end{width:10px;height:10px;background:url(../images/scrollbar_arrow.png) no-repeat 0 -18px}::-webkit-scrollbar-button:end:hover{background:url(../images/scrollbar_arrow.png) no-repeat -15px -18px}::-webkit-scrollbar-button:end:active{background:url(../images/scrollbar_arrow.png) no-repeat -30px -18px}.article-entry .highlight,.article-entry pre{background:#272822;margin:10px 0;padding:10px;overflow:auto;color:#fff;font-size:.9em;line-height:22.400000000000002px}.article-entry .gist .gist-file .gist-data .line-numbers,.article-entry .highlight .gutter pre,.article-entry .highlight .gutter pre .line{color:#666}.article-entry code,.article-entry pre{font-family:Source Code Pro,Consolas,Monaco,Menlo,monospace}.article-entry code{background:#eee;padding:0 .3em;border:none}.article-entry pre code{background:none;text-shadow:none;padding:0;color:#fff}.article-entry .highlight{border-radius:4px}.article-entry .highlight pre{border:none;margin:0;padding:0}.article-entry .highlight table{margin:0;width:auto}.article-entry .highlight td{border:none;padding:0}.article-entry .highlight figcaption{color:highlight-comment;line-height:1em;margin-bottom:1em}.article-entry .highlight figcaption:after,.article-entry .highlight figcaption:before{content:"";display:table}.article-entry .highlight figcaption:after{clear:both}.article-entry .highlight figcaption a{float:right}.article-entry .highlight .gutter pre{text-align:right;padding-right:20px}.article-entry .highlight .gutter pre .line{text-shadow:none}.article-entry .highlight .line{color:#fff;min-height:19px}.article-entry .gist{margin:0 -20px;border-style:solid;border-color:#ddd;border-width:1px 0;background:#272822;padding:15px 20px 15px 0}.article-entry .gist .gist-file{border:none;font-family:Source Code Pro,Consolas,Monaco,Menlo,monospace;margin:0}.article-entry .gist .gist-file .gist-data{background:none;border:none}.article-entry .gist .gist-file .gist-data .line-numbers{background:none;border:none;padding:0 20px 0 0}.article-entry .gist .gist-file .gist-data .line-data{padding:0!important}.article-entry .gist .gist-file .highlight{margin:0;padding:0;border:none}.article-entry .gist .gist-file .gist-meta{background:#272822;color:highlight-comment;font:.85em Helvetica Neue,Helvetica,Arial,sans-serif;text-shadow:0 0;padding:0;margin-top:1em;margin-left:20px}.article-entry .gist .gist-file .gist-meta a{color:#258fb8;font-weight:400}.article-entry .gist .gist-file .gist-meta a:hover{text-decoration:underline}pre .comment{color:#75715e}pre .class .params,pre .function .keyword,pre .keyword{color:#66d9ef}pre .css .value,pre .doctype,pre .function,pre .params,pre .tag{color:#fff}pre .at_rule,pre .at_rule .keyword,pre .css~* .tag,pre .preprocessor,pre .preprocessor .keyword,pre .title{color:#f92672}pre .attribute,pre .built_in,pre .class,pre .css~* .class,pre .function .title{color:#a6e22e}pre .string,pre .value{color:#e6db74}pre .number{color:#7163d7}pre .css~* .id,pre .id{color:#fd971f}#header .tagcloud a{color:#fff}.tagcloud a.js-tag{display:inline-block;text-decoration:none;font-weight:400;font-size:10px;color:#fff;height:18px;line-height:18px;float:left;padding:0 5px 0 10px;position:relative;border-radius:0 5px 5px 0;margin:5px 9px 5px 8px;font-family:Menlo,Monaco,Andale Mono,lucida console,Courier New,monospace}.tagcloud a.js-tag:hover{opacity:.8}.tagcloud a.js-tag:before{content:" ";width:0;height:0;position:absolute;top:0;left:-18px;border:9px solid transparent}.tagcloud a.js-tag:after{content:" ";width:4px;height:4px;background-color:#fff;border-radius:4px;box-shadow:0 0 0 1px rgba(0,0,0,.3);position:absolute;top:7px;left:2px}.tagcloud a.color1{background:#ff945c}.tagcloud a.color1:before{border-right-color:#ff945c}.tagcloud a.color2{background:#cc8167}.tagcloud a.color2:before{border-right-color:#cc8167}.tagcloud a.color3{background:#ba8f6c}.tagcloud a.color3:before{border-right-color:#ba8f6c}.tagcloud a.color4{background:#94635c}.tagcloud a.color4:before{border-right-color:#94635c}.tagcloud a.color5{background:#7b5d5f}.tagcloud a.color5:before{border-right-color:#7b5d5f}.article-tag-list .article-tag-list-item{float:left}.article-pop-out .icon-tuding{color:#999;float:left;margin-right:10px;margin-top:6px}.article-category,.article-category .article-tag-list,.article-tag,.article-tag .article-tag-list{float:left}.article-category .icon,.article-tag .icon{color:#999;float:left;margin-right:10px;margin-top:6px}.article-pop-out{float:left}.archive-article-date{color:#999;margin-right:7.6923%;float:right}.archive-article-date .icon{margin:5px 5px 5px 0}.glass{background-color:rgba(54,70,93,.9);z-index:998;transition:opacity .15s;width:100%;height:100%;display:none}.glass,.tagcloud-ctn{left:0;opacity:1;bottom:0;position:fixed;right:0;top:0}.tagcloud-ctn{z-index:90120;background-size:100% 100%}.tagcloud-ctn .tagcloud-global{position:fixed;top:50%;left:50%;margin-top:-115px;margin-left:-315px;width:630px}.tagcloud-ctn .tagcloud-global a{width:80px;height:80px;border-radius:50%;background:#f2992e;color:#fff;display:block;float:left;line-height:80px;text-align:center}.tagcloud-ctn .tagcloud-global .tab-post-types .tab-post-type:first-child .post-type-icon{background:#f2992e}.tagcloud-ctn .tagcloud-global .tab-post-types .tab-post-type:nth-child(2) .post-type-icon{background:#56bc8a}.tagcloud-ctn .tagcloud-global .tab-post-types .tab-post-type:nth-child(3) .post-type-icon{background:#4aa8d8}.tagcloud-ctn .tagcloud-global .tab-post-types .tab-post-type:nth-child(4) .post-type-icon{background:#a77dc2}.tagcloud-ctn .tagcloud-global .tab-post-types .tab-post-type:nth-child(5) .post-type-icon{background:#dd765d}#header .header-nav{width:100%;position:absolute;transition:transform .3s ease-in}#header .header-nav .social{margin-top:10px;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center}#header .header-nav .social a{border-radius:50%;display:-moz-inline-stack;display:inline-block;vertical-align:middle;*vertical-align:auto;zoom:1;*display:inline;margin:0 8px 15px;transition:.3s;text-align:center;color:#fff;opacity:.7;width:28px;height:28px;line-height:26px}#header .header-nav .social a:hover{opacity:1}#header .header-nav .social a.weibo{background:#aaf;border:1px solid #aaf}#header .header-nav .social a.weibo:hover{border:1px solid #aaf}#header .header-nav .social a.segmentfault{background:#009a61;border:1px solid #009a61}#header .header-nav .social a.segmentfault:hover{border:1px solid #009a61}#header .header-nav .social a.rss{background:#ef7522;border:1px solid #ef7522}#header .header-nav .social a.rss:hover{border:1px solid #cf5d0f}#header .header-nav .social a.github{background:#afb6ca;border:1px solid #afb6ca}#header .header-nav .social a.github:hover{border:1px solid #909ab6}#header .header-nav .social a.facebook{background:#3b5998;border:1px solid #3b5998}#header .header-nav .social a.facebook:hover{border:1px solid #2d4373}#header .header-nav .social a.google{background:#c83d20;border:1px solid #c83d20}#header .header-nav .social a.google:hover{border:1px solid #9c3019}#header .header-nav .social a.twitter{background:#55cff8;border:1px solid #55cff8}#header .header-nav .social a.twitter:hover{border:1px solid #24c1f6}#header .header-nav .social a.linkedin{background:#005a87;border:1px solid #005a87}#header .header-nav .social a.linkedin:hover{border:1px solid #006b98}#header .header-nav .social a.acfun{background:#fd4c5d;border:1px solid #fd4c5d}#header .header-nav .social a.acfun:hover{border:1px solid #fd4c5d}#header .header-nav .social a.bilibili{background:#e15280;border:1px solid #e15280}#header .header-nav .social a.bilibili:hover{border:1px solid #e15280}#header .header-nav .social a.zhihu{background:#0078d8;border:1px solid #0078d8}#header .header-nav .social a.zhihu:hover{border:1px solid #0078d8}#header .header-nav .social a.douban{background:#06c611;border:1px solid #06c611}#header .header-nav .social a.douban:hover{border:1px solid #06c611}#header .header-nav .social a.mail{background:#005a87;border:1px solid #005a87}#header .header-nav .social a.mail:hover{border:1px solid #006b98}#header .header-nav .social a.jianshu{background:#ff5722;border:1px solid #ff5722}#header .header-nav .social a.jianshu:hover{border:1px solid #ff5722}#header .header-nav .social a.weixin{background:#4caf50;border:1px solid #4caf50}#header .header-nav .social a.weixin:hover{border:1px solid #4caf50}#header .header-nav .social a.qq{background:#34baad;border:1px solid #34baad}#header .header-nav .social a.qq:hover{border:1px solid #34baad}#header .header-nav .social a.psn{background:#086ef6;border:1px solid #086ef6}#header .header-nav .social a.psn:hover{border:1px solid #086ef6}#page-nav{text-align:center;margin-top:30px}#page-nav .page-number{width:20px;height:25px;background:#4d4d4d;display:inline-block;color:#fff;line-height:25px;font-size:12px;margin:0 5px 30px;border-radius:2px}#page-nav .page-number:hover{background:#5e5e5e}#page-nav .current{background:#88acdb;cursor:default}#page-nav .current:hover{background:#88acdb}#page-nav .extend{color:#4d4d4d;margin:0 27px;opacity:1}#page-nav .extend:hover{color:#5e5e5e}#page-nav .next.disabled,#page-nav .prev.disabled{visibility:hidden}#page-nav:hover .extend{opacity:1}.archives-wrap{position:relative;margin:0 30px;padding-right:60px;border-bottom:1px solid #eee;background:#fff}.archives-wrap:first-child{margin-top:30px}.archives-wrap:last-child{margin-bottom:80px}.archives-wrap .archive-year-wrap{line-height:35px;width:200px;position:absolute;padding-top:15px;font-size:1.8em;z-index:1}.archives-wrap .archive-year-wrap a{color:#666;font-weight:700;padding-left:48px}.archives{position:relative}.archives .article-info{border:none}.archives .archive-article{margin-left:200px;padding:20px 0;border-bottom:1px solid #eee;border-top:1px solid #fff;position:relative}.archives .archive-article:first-child{border-top:none}.archives .archive-article:last-child{border-bottom:none}.archives .archive-article-title{font-size:16px;color:#333;transition:color .3s}.archives .archive-article-title:hover{color:#657b83}.archives .archive-article-title span{display:block;color:#a8a8a8;font-size:12px;line-height:14px;height:7px;padding-left:2px}.archives .archive-article-title span:before{display:inline-block;content:"\201C";font-family:serif;font-size:30px;margin:4px 4px 0 -12px;color:#c8c8c8}.archive-article-inner .icon-clock{margin-right:5px}.archive-article-inner .archive-article-header{position:relative;min-height:36px}.archive-article-inner .article-meta{position:relative;float:right;margin-top:-10px;color:#555;background:none;text-align:right;width:auto}.archive-article-inner .article-meta .article-date time{color:#aaa}.archive-article-inner .article-meta .archive-article-date,.archive-article-inner .article-meta .article-tag-list{margin-right:30px;display:-moz-inline-stack;display:inline-block;vertical-align:middle;zoom:1;color:#666;font-size:14px}.archive-article-inner .article-meta .archive-article-date{cursor:default;font-size:12px;margin-bottom:5px;margin-top:-10px;margin-right:0}.archive-article-inner .article-meta .article-category:before{float:left;margin-top:1px;left:15px}.archive-article-inner .article-meta .article-category .article-category-link{width:auto;max-width:83px;padding-left:10px}.archive-article-inner .article-meta .article-tag-list{margin-top:0}.archive-article-inner .article-meta .article-tag-list:before{left:15px}.archive-article-inner .article-meta .article-tag-list .article-tag-list-item{display:inline-block;width:auto;max-width:83px;padding-left:8px;font-size:12px}.tools-col{width:300px;height:100%;position:fixed;left:0;top:0;z-index:0;padding:0;opacity:0;-webkit-overflow-scrolling:touch;overflow-scrolling:touch}.tools-col.show{opacity:1}.tools-col.hide{z-index:0}.tools-col .tools-nav{display:none}.tools-col .tools-section,.tools-col .tools-wrap{height:100%;color:#e5e5e5;width:360px;overflow:hidden;overflow-y:auto}.tools-col .tools-section ::-webkit-scrollbar,.tools-col .tools-wrap ::-webkit-scrollbar{display:none}.tools-col .tools-section .search-wrap{width:310px;margin:20px 20px 10px;position:relative}.tools-col .tools-section .search-wrap .search-ipt{width:310px;color:#fff;background:none;border:none;border-bottom:2px solid #fff}.tools-col .tools-section .search-wrap .icon{position:absolute;right:0;top:7px;color:#fff;cursor:pointer}.tools-col .tools-section .search-wrap .icon:hover{transform:scale(1.2)}.tools-col .tools-section .search-wrap ::-webkit-input-placeholder{color:#ededed}.tools-col .tools-section .search-tag.tagcloud{text-align:center;position:relative}.tools-col .tools-section .search-tag.tagcloud .article-tag-list{margin:15px 10px 0;padding:10px;background:hsla(0,0%,100%,.2)}.tools-col .tools-section .search-tag.tagcloud .article-tag-list.show{display:block}.tools-col .tools-section .search-tag.tagcloud .a{float:none}.tools-col .tools-section .search-ul{margin-top:10px;color:rgba(77,77,77,.75);-webkit-overflow-scrolling:touch;overflow-scrolling:touch;overflow-y:auto}.tools-col .tools-section .search-ul .search-li{padding:10px 20px;border-bottom:1px dotted #dcdcdc}.tools-col .tools-section .search-ul .search-li:hover{background:hsla(0,0%,100%,.2)}.tools-col .tools-section .search-ul .search-title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block;color:#fffff8;text-shadow:1px 1px rgba(77,77,77,.25)}.tools-col .tools-section .search-ul .search-title .icon{margin-right:10px;color:#fffdd8}.tools-col .tools-section .search-ul .search-title:hover{color:#fff}.tools-col .tools-section .search-ul .search-category,.tools-col .tools-section .search-ul .search-tag,.tools-col .tools-section .search-ul .search-time{display:inline-block;font-size:12px;color:#fffdd8;margin-right:10px}.tools-col .tools-section .search-ul .search-category .icon,.tools-col .tools-section .search-ul .search-tag .icon,.tools-col .tools-section .search-ul .search-time .icon{margin-right:0}.tools-col .tools-section .search-ul .search-category span,.tools-col .tools-section .search-ul .search-tag span,.tools-col .tools-section .search-ul .search-time span{cursor:pointer;margin-right:5px}.tools-col .tools-section .search-ul .search-category span:hover,.tools-col .tools-section .search-ul .search-tag span:hover,.tools-col .tools-section .search-ul .search-time span:hover{color:#fff}.tools-col .tools-section-friends{padding-top:30px}.tools-col .aboutme-wrap{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;color:#fffdd8;text-shadow:1px 1px rgba(77,77,77,.45)}label.bui-switch-label input{position:absolute;opacity:0;visibility:hidden}label.bui-switch-label input:checked{border-color:#64bd63;box-shadow:inset 0 0 0 16px #64bd63;background-color:#64bd63}label.bui-switch-label input:checked:before{left:27px}label.bui-switch-label input:disabled+.bui-switch{background-color:#e8e8e8;border:1px solid #dfdfdf}label.bui-switch-label input:disabled+.bui-switch:before{background-color:#c1c1c1}label.bui-switch-label input:disabled:checked+.bui-switch{background-color:#e8e8e8;box-shadow:inset 0 0 0 16px #e8e8e8;border:1px solid #dfdfdf}label.bui-switch-label input:disabled:checked+.bui-switch:before{background-color:#c1c1c1}label.bui-switch-label .bui-switch{width:50px;height:20px;position:relative;top:5px;border:1px solid #dfdfdf;background-color:#fdfdfd;box-shadow:inset 0 0 0 0 #dfdfdf;border-radius:20px;border-top-left-radius:20px;border-top-right-radius:20px;border-bottom-left-radius:20px;border-bottom-right-radius:20px;background-clip:content-box;display:inline-block;-webkit-appearance:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none}label.bui-switch-label .bui-switch:before{content:"";width:18px;height:18px;position:absolute;left:1px;border-radius:20px;border-top-left-radius:20px;border-top-right-radius:20px;border-bottom-left-radius:20px;border-bottom-right-radius:20px;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4)}label.bui-switch-label input:checked+.bui-switch{border-color:#64bd63;box-shadow:inset 0 0 0 16px #64bd63;background-color:#64bd63}label.bui-switch-label input:checked+.bui-switch:before{left:30px}label.bui-switch-label.bui-switch-animbg{transition:background-color .4s ease}label.bui-switch-label.bui-switch-animbg .bui-switch:before{transition:left .3s}label.bui-switch-label.bui-switch-animbg input:checked+.bui-switch{box-shadow:inset 0 0 0 0 #dfdfdf;background-color:#64bd63;transition:border-color .4s,background-color .4s ease}label.bui-switch-label.bui-switch-animbg input:checked+.bui-switch:before{transition:left .3s}.body-wrap>article{position:relative}@keyframes cd-bounce-1{0%{opacity:0;transform:scale(1)}60%{opacity:1;transform:scale(1.01)}to{transform:scale(1)}}.article{margin:30px;position:relative;border:1px solid #ddd;border-top:1px solid #fff;border-bottom:1px solid #fff;background:#fff;transition:all .2s ease-in}.article img{max-width:100%}.article-inner h1.article-title,.article-title{color:#696969;margin-left:0;font-weight:300;line-height:35px;margin-bottom:20px;font-size:26px;transition:color .3s}.article-header{border-left:5px solid #4d4d4d;padding:30px 0 15px 25px;padding-left:7.6923%}.article-meta{width:150px;font-size:14;text-align:right;position:absolute;right:0;top:23px;text-align:center;z-index:1}.article-meta time{color:#aaa}.article-meta time .icon-clock{margin-right:8px;font-size:16px}.article-more-link{margin-top:0;text-align:left;float:right}.article-more-link a{background:#4d4d4d;color:#fff;font-size:12px;padding:5px 8px;line-height:16px;border-radius:2px;transition:background .3s}.article-more-link a:hover{background:#3c3c3c}.article-more-link a.hidden{visibility:hidden}.article-info.info-on-right{margin:10px 0 0;float:right}.article-info-index.article-info{padding-top:20px;margin:30px 7.6923% 0;min-height:72px;border-top:1px solid #ddd}.article-info-post.article-info{padding:0;border:none;margin:-30px 0 20px 7.6923%}.article-inner p{margin:0 0 1.75em}.article-inner{border-color:#d1d1d1}.article-inner h1{font-size:28px;font-size:1.75rem;line-height:1.25;margin-top:2em;margin-bottom:1em}.article-inner h2{font-size:23px;font-size:1.4375rem;line-height:1.2173913043;margin-top:2.4347826087em;margin-bottom:1.2173913043em}.article-inner h3{font-size:19px;font-size:1.1875rem;line-height:1.1052631579;margin-top:2.9473684211em;margin-bottom:1.4736842105em}.article-inner h4,.article-inner h5,.article-inner h6{font-size:16px;font-size:1rem;line-height:1.3125;margin-top:3.5em;margin-bottom:1.75em}.article-inner h6{font-style:italic}.article-inner h1,.article-inner h2,.article-inner h3,.article-inner h4,.article-inner h5,.article-inner h6{font-weight:900}.article-inner h1:first-child,.article-inner h2:first-child,.article-inner h3:first-child,.article-inner h4:first-child,.article-inner h5:first-child,.article-inner h6:first-child{margin-top:0}.article-inner h1:first-child{margin-bottom:10px;display:inline}.article-entry{line-height:1.8em;padding-right:7.6923%;padding-left:7.6923%}.article-entry p{margin-top:10px}.article-entry li code,.article-entry p code{padding:1px 3px;margin:0 3px;background:#ddd;border:1px solid #ccc;font-family:Menlo,Monaco,Andale Mono,lucida console,Courier New,monospace;word-wrap:break-word;font-size:14px}.article-entry blockquote{background:#ddd;border-left:5px solid #ccc;padding:15px 20px;margin-top:10px;border-left:5px solid #657b83;background:#f6f6f6}.article-entry blockquote p{margin-top:0;margin-bottom:0}.article-entry em{font-style:italic}.article-entry ul li:before{content:"";width:6px;height:6px;border:1px solid #999;border-radius:10px;background:#aaa;display:inline-block;margin-right:10px;margin-top:10px}.article-entry ol{counter-reset:item}.article-entry ol li:before{counter-increment:item;content:counter(item) ".";margin-right:10px}.article-entry ol,.article-entry ul{font-size:14px;margin:10px 0}.article-entry li ol,.article-entry li ul{margin-left:30px}.article-entry li ol li:before,.article-entry li ul li:before{content:"";background:#dedede}.article-entry h1{margin-top:30px}.article-entry h2,.article-entry h3,.article-entry h4,.article-entry h5,.article-entry h6{margin-top:20px;font-weight:700;color:#574c4c;padding-bottom:5px;border-bottom:1px solid #ddd}.article-entry video{max-width:100%}.article-entry strong{font-weight:700}.article-entry .caption{display:block;font-size:.8em;color:#aaa}.article-entry hr{height:0;margin-top:20px;margin-bottom:20px;border-left:0;border-right:0;border-top:1px solid #ddd;border-bottom:1px solid #fff}.article-entry pre{line-height:1.5;margin-top:10px;padding:5px 15px;overflow-x:auto;color:#657b83;border:1px solid #ccc;text-shadow:0 1px #444;font-family:Menlo,Monaco,Andale Mono,lucida console,Courier New,monospace}.article-entry pre code{font-size:14px}.article-entry table{width:100%;border:1px solid #dedede;margin:15px 0;border-collapse:collapse}.article-entry table td,.article-entry table tr{height:35px}.article-entry table thead tr{background:#f8f8f8}.article-entry table tbody tr:hover{background:#efefef}.article-entry table td,.article-entry table th{border:1px solid #dedede;padding:0 10px}.article-entry figure table{border:none;width:auto;margin:0}.article-entry figure table tbody tr:hover{background:none}#article-nav{margin:0 0 20px;padding:0 32px 10px;min-height:30px}#article-nav .article-nav-link-wrap{font-size:14px}#article-nav .article-nav-link-wrap .article-nav-title{display:inline-block;font-size:16px;transition:color .3s}#article-nav .article-nav-link-wrap:hover .article-nav-title,#article-nav .article-nav-link-wrap:hover i{color:#4d4d4d}#article-nav #article-nav-older{float:right}#disqus_thread,#gitment-ctn,#SOHUCS,.cloud-tie-wrapper,.duoshuo{padding:0 30px!important;min-height:20px}#SOHUCS #SOHU_MAIN .module-cmt-list .block-cont-gw{border-bottom:1px dashed #c8c8c8!important}.share-wrap{min-height:20px}.share-btn{float:right;position:relative}.share-icons{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.share-icons a{border:1px solid #fff;border-radius:50%;display:-moz-inline-stack;display:inline-block;vertical-align:middle;zoom:1;margin:10px;transition:.3s;text-align:center;color:#fff;opacity:.7;width:28px;height:28px;line-height:26px;text-shadow:1px 1px 1px #509eb7}.share-icons a:active{color:#fff}.share-icons a:hover{transform:scale(1.2)}.share-icons a.share-outer{border:none;color:#fff;background:#4d4d4d;text-shadow:none}.page-modal{position:fixed;top:24%;left:50%;z-index:1001;padding:20px;text-align:center;color:#727272;background:#fff;border-radius:4px;box-shadow:0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);opacity:0;transform:translate(-50%,-200%)}.page-modal p{margin-bottom:10px}.page-modal.ready{visibility:hidden;display:block;transform:translate(-50%,-100%);transition:.3s}.page-modal.in{visibility:visible;opacity:1;transform:translate(-50%)}.page-modal .close{position:absolute;right:15px;top:15px;color:rgba(0,0,0,.2);font-size:16px;line-height:20px}.page-modal .close:active,.page-modal .close:hover{color:rgba(0,0,0,.4)}.mask{visibility:hidden;position:fixed;top:0;left:0;bottom:0;z-index:1000;width:100%;height:100%;background:#000;opacity:0;filter:alpha(opacity=0);pointer-events:none;transition:.3s ease-in-out}.mask.in{visibility:visible;pointer-events:auto;opacity:.3}.page-reward{margin:60px 0;text-align:center}.page-reward .page-reward-btn{position:relative;display:inline-block;width:56px;height:56px;line-height:56px;font-size:20px;color:#fff;background:#f44336;border-radius:50%;box-shadow:0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);transition:.4s ease-in-out}.page-reward .page-reward-btn:active,.page-reward .page-reward-btn:hover{box-shadow:0 6px 12px rgba(0,0,0,.2),0 4px 15px rgba(0,0,0,.2)}.page-reward .page-reward-btn .tooltip-item{display:block;width:56px;height:56px}.page-reward .reward-box{display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around}.page-reward .reward-p{color:#fff;font-weight:700;text-shadow:1px 1px 1px #45b9e0}.page-reward .reward-p .icon{margin:0 10px;color:#ddd}.page-reward .reward-type{font-size:16px;display:block;color:#4d4d4d;margin:20px 0 0}.page-reward .reward-img{width:130px;height:130px;border:6px solid #fff;border-radius:3px}.wrap-side-operation{position:fixed;right:40px;bottom:50px;z-index:999;font-size:14px}.wrap-side-operation .icon-plane{color:#fff;text-shadow:1px 1px 1px #509eb7;opacity:.7;font-size:52px;line-height:40px;width:40px;text-align:center;display:block}.mod-side-operation{width:40px;text-align:center}.jump-container:hover .icon-back{background:rgba(36,193,246,.9)}.jump-container,.toc-container{position:relative;cursor:pointer;width:40px;height:40px;opacity:.8}.jump-plan-container{position:absolute;top:-11px;left:-4px;width:50px;height:61px;overflow:hidden}.jump-plan-container .jump-plane{display:block;position:absolute;width:42px;height:66px;transform:translateY(68px);left:-2px}.mod-side-operation__jump-to-top .icon-back{transition:.3s;color:#fff;background:#ccc;transform:rotate(90deg);font-size:32px;line-height:40px;width:40px;text-align:center;display:block}.mod-side-operation__jump-to-top .icon-back:hover{background:#24c1f6;color:#24c1f6}.toc-container.tooltip-left{background:#ccc;margin-top:10px;transition:.3s}.toc-container.tooltip-left:hover{background:rgba(36,193,246,.9)}.toc-container.tooltip-left .icon-font{font-size:22px;line-height:40px;color:#fff}.toc-container.tooltip-left .tooltip{width:40px;height:40px;top:0;left:0}.toc-container.tooltip-left .tooltip-east .tooltip-content{min-height:100px;text-align:left;padding:5px 0 5px 20px;right:4.7em;min-width:200px;width:auto;font-size:14px;text-shadow:1px 1px 1px #398199;bottom:-10px;transform-origin:100% 100%;transform:translate3d(0,-10px,0) rotate3d(1,1,1,-30deg)}.toc-container.tooltip-left .tooltip-east .tooltip-content a{color:#fff}.toc-container.tooltip-left .tooltip-east .tooltip-content:after{top:auto;bottom:23px}.toc-container.tooltip-left .tooltip-east .tooltip-content .toc-article{max-height:500px;overflow-x:hidden;overflow-y:auto}.toc-container.tooltip-left .tooltip-east .tooltip-content .toc-article li ol,.toc-container.tooltip-left .tooltip-east .tooltip-content .toc-article li ul{margin-left:30px}.toc-container.tooltip-left .tooltip-east .tooltip-content .toc-article li{white-space:nowrap}.toc-container.tooltip-left .tooltip:hover .tooltip-content{bottom:-10px;transform:translate(0)}.tooltip-left .tooltip{position:absolute;z-index:999;cursor:pointer;width:28px;height:28px;top:-10px;right:10px}.tooltip-left .tooltip:hover a.share-outer{background:#24c1f6}@keyframes pulse{0%{transform:scale3d(.5,.5,1)}to{transform:scaleX(1)}}.tooltip-left .tooltip-content{position:absolute;background:rgba(36,193,246,.9);z-index:9999;width:200px;bottom:50%;margin-bottom:-10px;border-radius:20px;font-size:1.1em;text-align:center;color:#fff;opacity:0;cursor:default;pointer-events:none;-webkit-font-smoothing:antialiased;transition:opacity .3s,transform .3s}.tooltip-left .tooltip-west .tooltip-content{left:3.5em;transform-origin:-2em 50%;transform:translate3d(0,50%,0) rotate3d(1,1,1,30deg)}.tooltip-left .tooltip-east .tooltip-content{right:3.5em;transform-origin:calc(100% + 2em) 50%;transform:translate3d(0,50%,0) rotate3d(1,1,1,-30deg)}.tooltip-left .tooltip:hover .tooltip-content{opacity:1;transform:translate3d(0,50%,0) rotate3d(0,0,0,0);pointer-events:auto}.tooltip-left .tooltip-content:after,.tooltip-left .tooltip-content:before{content:"";position:absolute}.tooltip-left .tooltip-content:before{height:100%;width:3em}.tooltip-left .tooltip-content:after{width:2em;height:2em;top:50%;margin:-1em 0 0;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSI4MHB4IiBoZWlnaHQ9IjgwcHgiIHZpZXdCb3g9IjAgMCA4MCA4MCI+DQo8cGF0aCBmaWxsPSIjMjRjMWY2IiBkPSJNODAsMGMwLDAtNS42MzEsMTQuNDQ1LTI1LjcxNSwyNy4yMTNDMjkuOTQ2LDQyLjY4OCwxMi43OSwzMy45OTcsMy43NTIsMzAuNDE3DQoJYy0zLjk1Ni0xLjU2Ny00LjI2NSwxLjAyMS0yLjk2NiwzLjgxNEMxNi40NSw2Ny45MzQsODAsNzkuNjE0LDgwLDc5LjYxNGwwLDBWMHoiLz4NCjwvc3ZnPg0K) no-repeat 50%;background-size:100%}.tooltip-left .tooltip-west .tooltip-content:after,.tooltip-left .tooltip-west .tooltip-content:before{right:99%}.tooltip-left .tooltip-east .tooltip-content:after,.tooltip-left .tooltip-east .tooltip-content:before{left:99%}.tooltip-left .tooltip-east .tooltip-content:after{transform:scaleX(-1)}.tooltip-top .tooltip{display:inline;position:relative;z-index:999}.tooltip-top .tooltip:after{content:"";position:absolute;width:100%;height:20px;bottom:100%;left:50%;pointer-events:none;transform:translateX(-50%)}.tooltip-top .tooltip:hover:after{pointer-events:auto}.tooltip-top .tooltip-content{position:absolute;z-index:9999;width:370px;left:50%;bottom:100%;font-size:20px;line-height:1.4;text-align:center;font-weight:400;color:#4d4d4d;background:transparent;opacity:0;margin:0 0 -10px -185px;cursor:default;pointer-events:none;font-family:Satisfy,cursive;-webkit-font-smoothing:antialiased;transition:opacity .3s .3s;padding-bottom:80px}.tooltip-top .tooltip:hover .tooltip-content{opacity:1;pointer-events:auto;transition-delay:0s}.tooltip-top .tooltip-content span{display:block}.tooltip-top .tooltip-text{border-bottom:10px solid #4d4d4d;overflow:hidden;transform:scaleX(0);transition:transform .3s .3s}.tooltip-top .tooltip:hover .tooltip-text{transition-delay:0s;transform:scaleX(1)}.tooltip-top .tooltip-inner{background:rgba(36,193,246,.9);padding:40px;transform:translate3d(0,100%,0);webkit-transition:-webkit-transform .3s;transition:transform .3s}.tooltip-top .tooltip:hover .tooltip-inner{transition-delay:.3s;transform:translateZ(0)}.tooltip-top .tooltip-content:after{content:"";left:50%;border:solid transparent;height:0;width:0;position:absolute;pointer-events:none;border-color:transparent;border-top-color:#4d4d4d;border-width:10px;margin-left:-10px}#footer{font-size:12px;position:absolute;bottom:30px;opacity:.6;width:100%;text-align:center}#footer .outer{padding:0 30px}.footer-left{float:left}.footer-right{float:right}@media screen and (max-width:800px){#container,body,html{height:auto;overflow-x:hidden;overflow-y:auto}#mobile-nav{display:block}.body-wrap{margin-bottom:0}.left-col{display:none}.mid-col{left:0}#header .header-nav,.mid-col{position:relative}.wrap-side-operation{display:none}.cloud-tie-wrapper{padding:0;min-height:20px}.tools-col{left:-300px;width:300px}.tools-col .tools-wrap{padding-top:48px}.tools-col .tools-section,.tools-col .tools-wrap{width:300px}.tools-col .tools-section .search-wrap,.tools-col .tools-wrap .search-wrap{width:280px}.tools-col .tools-section .search-tag.tagcloud,.tools-col .tools-wrap .search-tag.tagcloud{margin-right:-30px}.tools-col .tools-section .search-ul .search-li,.tools-col .tools-wrap .search-ul .search-li{padding:5px 20px}.tools-col.show .header-menu.tools-nav{display:block}#container .header-author.fixed{position:fixed;top:-29px;width:100%;color:#ddd}.mobile-mask{width:100%;height:100%;position:fixed;top:0;left:0;background:rgba(0,0,0,.85);z-index:999}.btnctn{position:fixed;width:50px;height:50px;z-index:4}.btnctn .slider-trigger{position:absolute;z-index:101;width:42px;height:42px;text-align:center;line-height:50px}.btnctn .slider-trigger.back{top:0;left:0}.btnctn .slider-trigger.list{background-color:hsla(0,0%,39%,.7)}.btnctn .slider-trigger:hover{background:#444}.btnctn .slider-trigger .icon{font-size:24px;color:#fff}.article-header{border-left:none;padding:0;border-bottom:1px dotted #ddd}.article-header h1{margin-bottom:10px}.article-header .archive-article-date{float:none}.header-subtitle .icon{margin:0 10px;color:#d0d0d0}.article-info-index.article-info{min-height:40px;padding-top:10px;margin:0;border-top:1px solid #ddd}.article-info-post.article-info{margin:0;padding-top:10px;border:none}#viewer-box .viewer-box-l{font-size:14px}.article-nav-link-wrap{margin:5px 0;display:block;clear:both}.article-nav-link-wrap .icon-circle-right{float:left;margin:6px 4px 0 0}.article{padding:10px;margin:10px 0;border:0;font-size:16px;color:#555}.article .article-more-link{margin:0}.article .article-entry{padding:10px 0 30px}.article .article-inner h1.article-title,.article .article-title{font-size:18px;font-weight:300;display:block;margin:0}.article .article-meta{width:auto;height:30px;margin-top:-5px;position:ralative}.article .article-meta .article-date{font-size:12px;border-radius:0;color:#666;background:none;height:auto;padding:0;margin:0;width:100%;text-align:left;margin-left:10px}.article .article-meta .article-date time{width:auto;float:right;margin-right:10px}.article .article-meta .article-tag-list{margin-top:7px;position:absolute;right:10px;top:0}.article .article-meta .article-tag-list:before{float:left;margin-top:1px;left:0}.article .article-meta .article-tag-list .article-tag-list-item{float:left;padding-left:0;width:auto;max-width:83px}.article .article-meta .article-category{margin-top:7px;position:absolute;right:10px;top:-30px}.article .article-meta .article-category:before{float:left;margin-top:1px;left:15px}.article .article-meta .article-category .article-category-link{max-width:83px;width:auto;padding-left:10px}.article #article-nav-older{float:none;display:block}.share{padding:3px 10px}#disqus_thread,.duoshuo{padding:0 13px}#article-nav{margin:0;padding:5px 10px 10px}#article-nav #article-nav-older{float:none}#article-nav .article-nav-link-wrap .article-nav-title{font-size:16px}#page-nav .extend{opacity:1}.instagram .open-ins{left:2px;top:-30px;color:#aaa}.info-on-right{float:none}.archives-wrap{margin:10px 10px 0;padding:10px}.archives-wrap .archive-article-title{font-size:16px}.archives-wrap .archive-year-wrap{position:relative;padding:0}.archives-wrap .archive-year-wrap a{padding:0}.archives-wrap .article-meta .archive-article-date{font-size:12px;margin-right:10px;margin-top:-5px}.archives-wrap .article-meta .article-tag-list-link{font-size:12px}.archives .archive-article{padding:10px 0;margin-left:0}#footer{position:relative;bottom:0}#footer .footer-left{float:none;margin-bottom:10px}#footer .footer-right{float:none}#mobile-nav .header-author{margin:0;position:relative;z-index:2;color:#424242}#mobile-nav .overlay{height:110px;position:absolute;width:100%;z-index:2;background:#4d4d4d}#mobile-nav #header{padding:10px 0 0}#mobile-nav #header .profilepic{display:block;position:relative;z-index:100}.header-menu{height:auto;margin:10px 0 20px}.header-menu.tools-nav{display:none;position:fixed;left:0;width:100%;z-index:9999}.header-menu.tools-nav ul{margin-right:28px}.header-menu.tools-nav li,.header-menu.tools-nav ul{border-color:#fff}.header-menu.tools-nav li a,.header-menu.tools-nav ul a{color:#fff}.header-menu.tools-nav li a.active,.header-menu.tools-nav ul a.active{background:#81b5cc}.header-menu ul{text-align:center;cursor:default;display:-ms-flexbox;display:flex;margin:0 auto;-ms-flex-align:center;align-items:center;-ms-flex-pack:distribute;justify-content:space-around;position:relative;z-index:1;border:1px solid #a0a0a0;border-radius:3px}.header-menu li{border-left:1px solid #a0a0a0}.header-menu li:first-child{border-left:0}.header-menu li:last-child{border-right:0}.header-menu li a{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;color:#a0a0a0}.header-menu li a.active{color:#eaeaea;background:#a0a0a0}.profilepic{display:block;border:5px solid #fff;border-radius:300px;width:128px;height:128px;margin:0 auto;position:relative;overflow:hidden;background:#88acdb;-webkit-transition:all .2s ease-in;display:-webkit-box;-webkit-box-pack:center;-webkit-box-align:center;text-align:center}.header-author{text-align:center;margin:.67em 0;font-family:Roboto,serif;font-size:30px;transition:.3s}.header-subtitle{text-align:center;color:#999;font-size:14px;line-height:25px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;padding:0 24px}} \ No newline at end of file +.clearfix:after,.clearfix:before{content:"";display:table}.clearfix:after{clear:both}.left-col.show{box-shadow:0 0 6px 0 rgba(0,0,0,.75)}.mid-col,.mid-col.show .article,.tools-col,.tools-col .tools-section .search-tag.tagcloud .article-tag-list,.tools-col .tools-section .search-ul .search-category span:hover,.tools-col .tools-section .search-ul .search-tag span:hover,.tools-col .tools-section .search-ul .search-time span:hover,.tools-col .tools-section .search-ul .search-title:hover,.tools-col .tools-section .search-wrap .icon{transition:all .2s ease-in;-ms-transition:all .2s ease-in}@keyframes leftIn{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{transform:translateZ(0)}60%{transform:translate3d(358px,0,0)}75%{transform:translate3d(323px,0,0)}90%{transform:translate3d(338px,0,0)}to{transform:translate3d(333px,0,0)}}.mid-col.show{animation-duration:.8s;animation-fill-mode:both;animation-name:leftIn}@keyframes leftOut{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{transform:translate3d(333px,0,0)}60%{transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:translateZ(0)}}.mid-col.hide{animation-duration:.8s;animation-name:leftOut}@keyframes smallLeftIn{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{transform:translateZ(0)}60%{transform:translate3d(325px,0,0)}75%{transform:translate3d(290px,0,0)}90%{transform:translate3d(305px,0,0)}to{transform:translate3d(300px,0,0)}}.tools-col.show{animation-duration:.8s;animation-fill-mode:both;animation-name:smallLeftIn}@keyframes smallleftOut{0%,60%,75%,90%,to{animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{transform:translate3d(333px,0,0)}60%{transform:translate3d(-25px,0,0)}75%{transform:translate3d(10px,0,0)}90%{transform:translate3d(-5px,0,0)}to{transform:translateZ(0)}}.tools-col.hide{animation-duration:.8s;animation-fill-mode:both;animation-name:smallleftOut}html{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;height:100%}body{margin:0;font-size:14px;font-family:Helvetica Neue,Helvetica,STHeiTi,Arial,sans-serif;line-height:1.5;color:#333;background-color:#fff;min-height:100%}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block}audio:not([controls]){display:none;height:0}progress{vertical-align:baseline}[hidden],template{display:none}a{background:transparent;text-decoration:none;color:#08c}a:active{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0;vertical-align:middle;max-width:100%}svg:not(:root){overflow:hidden}pre{overflow:auto;white-space:pre;white-space:pre-wrap;word-wrap:break-word}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0;vertical-align:middle}button,input,select{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;box-sizing:border-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto;resize:vertical;vertical-align:top}optgroup{font-weight:700}button,input,select,textarea{outline:0}input,textarea{-webkit-user-modify:read-write-plaintext-only}input::-ms-clear,input::-ms-reveal{display:none}input::-moz-placeholder,textarea::-moz-placeholder{color:#999}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#999}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#999}.placeholder{color:#999}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}blockquote,figure,form,h1,h2,h3,h4,h5,h6,p{margin:0}dd,dl,li,ol,ul{margin:0;padding:0}ol,ul{list-style:none outside none}h1,h2,h3{line-height:2;font-weight:400}h1{font-size:18px}h2{font-size:16px}h3{font-size:14px}i{font-style:normal}*{box-sizing:border-box}@font-face{font-family:iconfont;src:url(../fonts/iconfont.b322fa.eot);src:url(../fonts/iconfont.b322fa.eot#iefix) format("embedded-opentype"),url(../fonts/iconfont.8c627f.woff) format("woff"),url(../fonts/iconfont.16acc2.ttf) format("truetype"),url(../fonts/iconfont.45d7ee.svg#iconfont) format("svg")}[class*=" icon-"],[class^=icon-]{font-family:iconfont!important;speak:none;font-size:16px;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-twitter:before{content:"\E600"}.icon-facebook:before{content:"\E601"}.icon-clock:before{content:"\E602"}.icon-mail:before{content:"\E609"}.icon-link:before{content:"\E6AB"}.icon-search:before{content:"\E65B"}.icon-smile:before{content:"\E64A"}.icon-roundrightfill:before{content:"\E65A"}.icon-list:before{content:"\E682"}.icon-book:before{content:"\E6FE"}.icon-home:before{content:"\E6BB"}.icon-share:before{content:"\E618"}.icon-back:before{content:"\E625"}.icon-qq:before{content:"\E62D"}.icon-weibo:before{content:"\E619"}.icon-segmentfault:before{content:"\E603"}.icon-sort:before{content:"\E700"}.icon-jianshu:before{content:"\E613"}.icon-circle-left:before{content:"\E71F"}.icon-circle-right:before{content:"\E720"}.icon-loading:before{content:"\E614"}.icon-acfun:before{content:"\E604"}.icon-close:before{content:"\E60C"}.icon-tumblr:before{content:"\E6B0"}.icon-calendar:before{content:"\E667"}.icon-rss:before{content:"\E877"}.icon-price-tags:before{content:"\E6F9"}.icon-quo-left:before{content:"\E7F5"}.icon-quo-right:before{content:"\E7F6"}.icon-back1:before{content:"\E64E"}.icon-github:before{content:"\E735"}.icon-film:before{content:"\E7B7"}.icon-weixin:before{content:"\E61F"}.icon-qzone:before{content:"\E680"}.icon-category:before{content:"\E605"}.icon-douban:before{content:"\E64C"}.icon-roundleftfill:before{content:"\E799"}.icon-tuding:before{content:"\E651"}.icon-zhihu:before{content:"\E61B"}.icon-linkedin:before{content:"\E6D4"}.icon-google:before{content:"\E635"}.icon-plane:before{content:"\E62F"}.icon-bilibili:before{content:"\E622"}.icon-psn:before{content:"\E6C7"}body,button,input,select,textarea{color:#1a1a1a;font-family:lucida grande,lucida sans unicode,lucida,helvetica,Hiragino Sans GB,Microsoft YaHei,WenQuanYi Micro Hei,sans-serif;font-size:16px;font-size:1rem;line-height:1.75}body{overflow-y:hidden;background:#eaeaea}#container,body,html{height:100%;overflow-x:hidden;overflow-y:auto}#mobile-nav{display:none}#container{position:relative;min-height:100%}#container .anm-canvas{display:none}#container.show .anm-canvas{display:block;position:fixed}.body-wrap{margin-bottom:80px}.mid-col{position:absolute;right:0;min-height:100%;background:#eaeaea;left:300px;width:auto}.mid-col.show{background:none;opacity:.9}.mid-col.show .article{background:hsla(0,0%,100%,.3)}.left-col{background:#fff;width:300px;position:fixed;opacity:1;transition:all .2s ease-in;height:100%;z-index:999}.left-col .overlay{width:100%;height:180px;position:absolute}.left-col .intrude-less{width:76%;text-align:center;margin:112px auto 0}.left-col #header{width:100%;height:300px;position:relative;border-bottom:1px solid color-border}.left-col #header a{color:#696969}.left-col #header a:hover{color:#b0a0aa}.left-col #header .header-subtitle{text-align:center;color:#999;font-size:14px;line-height:25px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2}.left-col #header .header-menu{font-weight:300;line-height:31px;text-transform:uppercase;float:none;min-height:150px;margin-left:-12px;text-align:center;position:relative}.left-col #header .header-menu ul{position:absolute;left:50%;top:50%;transform:translateX(-50%) translateY(-50%)}.left-col #header .header-menu ul li{cursor:default}.left-col #header .header-menu ul li a{font-size:14px;min-width:300px}.left-col #header .header-smart-menu{font-size:12px;margin-bottom:20px}.left-col #header .header-smart-menu a:after{content:"/";margin-left:4px}.left-col #header .header-smart-menu a:last-child:after{content:""}.left-col #header .profilepic{display:block;border:5px solid #fff;border-radius:300px;width:128px;height:128px;margin:0 auto;position:relative;overflow:hidden;background:#88acdb;-webkit-transition:all .2s ease-in;display:-webkit-box;-webkit-box-pack:center;-webkit-box-align:center;text-align:center}.left-col #header .profilepic img{border-radius:300px;width:100%;height:100%;opacity:1;-webkit-transition:all .2s ease-in}.left-col #header .profilepic img.show{width:100%;height:100%;opacity:1}.left-col #header .header-author{text-align:center;margin:.67em 0;font-size:30px;transition:.3s}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-button{width:0;height:0}::-webkit-scrollbar-button:end:decrement,::-webkit-scrollbar-button:start:increment{display:none}::-webkit-scrollbar-corner{display:block}::-webkit-scrollbar-thumb{border-radius:8px;background-color:rgba(0,0,0,.2)}::-webkit-scrollbar-thumb:hover{border-radius:8px;background-color:rgba(0,0,0,.5)}::-webkit-scrollbar-thumb,::-webkit-scrollbar-track{border-right:1px solid transparent;border-left:1px solid transparent}::-webkit-scrollbar-track:hover{background-color:rgba(0,0,0,.15)}::-webkit-scrollbar-button:start{width:10px;height:10px;background:url(../images/scrollbar_arrow.png) no-repeat 0 0}::-webkit-scrollbar-button:start:hover{background:url(../images/scrollbar_arrow.png) no-repeat -15px 0}::-webkit-scrollbar-button:start:active{background:url(../images/scrollbar_arrow.png) no-repeat -30px 0}::-webkit-scrollbar-button:end{width:10px;height:10px;background:url(../images/scrollbar_arrow.png) no-repeat 0 -18px}::-webkit-scrollbar-button:end:hover{background:url(../images/scrollbar_arrow.png) no-repeat -15px -18px}::-webkit-scrollbar-button:end:active{background:url(../images/scrollbar_arrow.png) no-repeat -30px -18px}.article-entry .highlight,.article-entry pre{background:#272822;margin:10px 0;padding:10px;overflow:auto;color:#fff;font-size:.9em;line-height:22.400000000000002px}.article-entry .gist .gist-file .gist-data .line-numbers,.article-entry .highlight .gutter pre,.article-entry .highlight .gutter pre .line{color:#666}.article-entry code,.article-entry pre{font-family:Source Code Pro,Consolas,Monaco,Menlo,monospace}.article-entry code{background:#eee;padding:0 .3em;border:none}.article-entry pre code{background:none;text-shadow:none;padding:0;color:#fff}.article-entry .highlight{border-radius:4px}.article-entry .highlight pre{border:none;margin:0;padding:0}.article-entry .highlight table{margin:0;width:auto}.article-entry .highlight td{border:none;padding:0}.article-entry .highlight figcaption{color:highlight-comment;line-height:1em;margin-bottom:1em}.article-entry .highlight figcaption:after,.article-entry .highlight figcaption:before{content:"";display:table}.article-entry .highlight figcaption:after{clear:both}.article-entry .highlight figcaption a{float:right}.article-entry .highlight .gutter pre{text-align:right;padding-right:20px}.article-entry .highlight .gutter pre .line{text-shadow:none}.article-entry .highlight .line{color:#fff;min-height:19px}.article-entry .gist{margin:0 -20px;border-style:solid;border-color:#ddd;border-width:1px 0;background:#272822;padding:15px 20px 15px 0}.article-entry .gist .gist-file{border:none;font-family:Source Code Pro,Consolas,Monaco,Menlo,monospace;margin:0}.article-entry .gist .gist-file .gist-data{background:none;border:none}.article-entry .gist .gist-file .gist-data .line-numbers{background:none;border:none;padding:0 20px 0 0}.article-entry .gist .gist-file .gist-data .line-data{padding:0!important}.article-entry .gist .gist-file .highlight{margin:0;padding:0;border:none}.article-entry .gist .gist-file .gist-meta{background:#272822;color:highlight-comment;font:.85em Helvetica Neue,Helvetica,Arial,sans-serif;text-shadow:0 0;padding:0;margin-top:1em;margin-left:20px}.article-entry .gist .gist-file .gist-meta a{color:#258fb8;font-weight:400}.article-entry .gist .gist-file .gist-meta a:hover{text-decoration:underline}pre .comment{color:#75715e}pre .class .params,pre .function .keyword,pre .keyword{color:#66d9ef}pre .css .value,pre .doctype,pre .function,pre .params,pre .tag{color:#fff}pre .at_rule,pre .at_rule .keyword,pre .css~* .tag,pre .preprocessor,pre .preprocessor .keyword,pre .title{color:#f92672}pre .attribute,pre .built_in,pre .class,pre .css~* .class,pre .function .title{color:#a6e22e}pre .string,pre .value{color:#e6db74}pre .number{color:#7163d7}pre .css~* .id,pre .id{color:#fd971f}#header .tagcloud a{color:#fff}.tagcloud a.js-tag{display:inline-block;text-decoration:none;font-weight:400;font-size:10px;color:#fff;height:18px;line-height:18px;float:left;padding:0 5px 0 10px;position:relative;border-radius:0 5px 5px 0;margin:5px 9px 5px 8px;font-family:Menlo,Monaco,Andale Mono,lucida console,Courier New,monospace}.tagcloud a.js-tag:hover{opacity:.8}.tagcloud a.js-tag:before{content:" ";width:0;height:0;position:absolute;top:0;left:-18px;border:9px solid transparent}.tagcloud a.js-tag:after{content:" ";width:4px;height:4px;background-color:#fff;border-radius:4px;box-shadow:0 0 0 1px rgba(0,0,0,.3);position:absolute;top:7px;left:2px}.tagcloud a.color1{background:#ff945c}.tagcloud a.color1:before{border-right-color:#ff945c}.tagcloud a.color2{background:#cc8167}.tagcloud a.color2:before{border-right-color:#cc8167}.tagcloud a.color3{background:#ba8f6c}.tagcloud a.color3:before{border-right-color:#ba8f6c}.tagcloud a.color4{background:#94635c}.tagcloud a.color4:before{border-right-color:#94635c}.tagcloud a.color5{background:#7b5d5f}.tagcloud a.color5:before{border-right-color:#7b5d5f}.article-tag-list .article-tag-list-item{float:left}.article-pop-out .icon-tuding{color:#999;float:left;margin-right:10px;margin-top:6px}.article-category,.article-category .article-tag-list,.article-tag,.article-tag .article-tag-list{float:left}.article-category .icon,.article-tag .icon{color:#999;float:left;margin-right:10px;margin-top:6px}.article-pop-out{float:left}.archive-article-date{color:#999;margin-right:7.6923%;float:right}.archive-article-date .icon{margin:5px 5px 5px 0}.glass{background-color:rgba(54,70,93,.9);z-index:998;transition:opacity .15s;width:100%;height:100%;display:none}.glass,.tagcloud-ctn{left:0;opacity:1;bottom:0;position:fixed;right:0;top:0}.tagcloud-ctn{z-index:90120;background-size:100% 100%}.tagcloud-ctn .tagcloud-global{position:fixed;top:50%;left:50%;margin-top:-115px;margin-left:-315px;width:630px}.tagcloud-ctn .tagcloud-global a{width:80px;height:80px;border-radius:50%;background:#f2992e;color:#fff;display:block;float:left;line-height:80px;text-align:center}.tagcloud-ctn .tagcloud-global .tab-post-types .tab-post-type:first-child .post-type-icon{background:#f2992e}.tagcloud-ctn .tagcloud-global .tab-post-types .tab-post-type:nth-child(2) .post-type-icon{background:#56bc8a}.tagcloud-ctn .tagcloud-global .tab-post-types .tab-post-type:nth-child(3) .post-type-icon{background:#4aa8d8}.tagcloud-ctn .tagcloud-global .tab-post-types .tab-post-type:nth-child(4) .post-type-icon{background:#a77dc2}.tagcloud-ctn .tagcloud-global .tab-post-types .tab-post-type:nth-child(5) .post-type-icon{background:#dd765d}#header .header-nav{width:100%;position:absolute;transition:transform .3s ease-in}#header .header-nav .social{margin-top:10px;text-align:center;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-ms-flex-pack:center;justify-content:center}#header .header-nav .social a{border-radius:50%;display:-moz-inline-stack;display:inline-block;vertical-align:middle;*vertical-align:auto;zoom:1;*display:inline;margin:0 8px 15px;transition:.3s;text-align:center;color:#fff;opacity:.7;width:28px;height:28px;line-height:26px}#header .header-nav .social a:hover{opacity:1}#header .header-nav .social a.weibo{background:#aaf;border:1px solid #aaf}#header .header-nav .social a.weibo:hover{border:1px solid #aaf}#header .header-nav .social a.segmentfault{background:#009a61;border:1px solid #009a61}#header .header-nav .social a.segmentfault:hover{border:1px solid #009a61}#header .header-nav .social a.rss{background:#ef7522;border:1px solid #ef7522}#header .header-nav .social a.rss:hover{border:1px solid #cf5d0f}#header .header-nav .social a.github{background:#afb6ca;border:1px solid #afb6ca}#header .header-nav .social a.github:hover{border:1px solid #909ab6}#header .header-nav .social a.facebook{background:#3b5998;border:1px solid #3b5998}#header .header-nav .social a.facebook:hover{border:1px solid #2d4373}#header .header-nav .social a.google{background:#c83d20;border:1px solid #c83d20}#header .header-nav .social a.google:hover{border:1px solid #9c3019}#header .header-nav .social a.twitter{background:#55cff8;border:1px solid #55cff8}#header .header-nav .social a.twitter:hover{border:1px solid #24c1f6}#header .header-nav .social a.linkedin{background:#005a87;border:1px solid #005a87}#header .header-nav .social a.linkedin:hover{border:1px solid #006b98}#header .header-nav .social a.acfun{background:#fd4c5d;border:1px solid #fd4c5d}#header .header-nav .social a.acfun:hover{border:1px solid #fd4c5d}#header .header-nav .social a.bilibili{background:#e15280;border:1px solid #e15280}#header .header-nav .social a.bilibili:hover{border:1px solid #e15280}#header .header-nav .social a.zhihu{background:#0078d8;border:1px solid #0078d8}#header .header-nav .social a.zhihu:hover{border:1px solid #0078d8}#header .header-nav .social a.douban{background:#06c611;border:1px solid #06c611}#header .header-nav .social a.douban:hover{border:1px solid #06c611}#header .header-nav .social a.mail{background:#005a87;border:1px solid #005a87}#header .header-nav .social a.mail:hover{border:1px solid #006b98}#header .header-nav .social a.jianshu{background:#ff5722;border:1px solid #ff5722}#header .header-nav .social a.jianshu:hover{border:1px solid #ff5722}#header .header-nav .social a.weixin{background:#4caf50;border:1px solid #4caf50}#header .header-nav .social a.weixin:hover{border:1px solid #4caf50}#header .header-nav .social a.qq{background:#34baad;border:1px solid #34baad}#header .header-nav .social a.qq:hover{border:1px solid #34baad}#header .header-nav .social a.psn{background:#086ef6;border:1px solid #086ef6}#header .header-nav .social a.psn:hover{border:1px solid #086ef6}#page-nav{text-align:center;margin-top:30px}#page-nav .page-number{width:20px;height:25px;background:#4d4d4d;display:inline-block;color:#fff;line-height:25px;font-size:12px;margin:0 5px 30px;border-radius:2px}#page-nav .page-number:hover{background:#5e5e5e}#page-nav .current{background:#88acdb;cursor:default}#page-nav .current:hover{background:#88acdb}#page-nav .extend{color:#4d4d4d;margin:0 27px;opacity:1}#page-nav .extend:hover{color:#5e5e5e}#page-nav .next.disabled,#page-nav .prev.disabled{visibility:hidden}#page-nav:hover .extend{opacity:1}.archives-wrap{position:relative;margin:0 30px;padding-right:60px;border-bottom:1px solid #eee;background:#fff}.archives-wrap:first-child{margin-top:30px}.archives-wrap:last-child{margin-bottom:80px}.archives-wrap .archive-year-wrap{line-height:35px;width:200px;position:absolute;padding-top:15px;font-size:1.8em;z-index:1}.archives-wrap .archive-year-wrap a{color:#666;font-weight:700;padding-left:48px}.archives{position:relative}.archives .article-info{border:none}.archives .archive-article{margin-left:200px;padding:20px 0;border-bottom:1px solid #eee;border-top:1px solid #fff;position:relative}.archives .archive-article:first-child{border-top:none}.archives .archive-article:last-child{border-bottom:none}.archives .archive-article-title{font-size:16px;color:#333;transition:color .3s}.archives .archive-article-title:hover{color:#657b83}.archives .archive-article-title span{display:block;color:#a8a8a8;font-size:12px;line-height:14px;height:7px;padding-left:2px}.archives .archive-article-title span:before{display:inline-block;content:"\201C";font-family:serif;font-size:30px;margin:4px 4px 0 -12px;color:#c8c8c8}.archive-article-inner .icon-clock{margin-right:5px}.archive-article-inner .archive-article-header{position:relative;min-height:36px}.archive-article-inner .article-meta{position:relative;float:right;margin-top:-10px;color:#555;background:none;text-align:right;width:auto}.archive-article-inner .article-meta .article-date time{color:#aaa}.archive-article-inner .article-meta .archive-article-date,.archive-article-inner .article-meta .article-tag-list{margin-right:30px;display:-moz-inline-stack;display:inline-block;vertical-align:middle;zoom:1;color:#666;font-size:14px}.archive-article-inner .article-meta .archive-article-date{cursor:default;font-size:12px;margin-bottom:5px;margin-top:-10px;margin-right:0}.archive-article-inner .article-meta .article-category:before{float:left;margin-top:1px;left:15px}.archive-article-inner .article-meta .article-category .article-category-link{width:auto;max-width:83px;padding-left:10px}.archive-article-inner .article-meta .article-tag-list{margin-top:0}.archive-article-inner .article-meta .article-tag-list:before{left:15px}.archive-article-inner .article-meta .article-tag-list .article-tag-list-item{display:inline-block;width:auto;max-width:83px;padding-left:8px;font-size:12px}.tools-col{width:300px;height:100%;position:fixed;left:0;top:0;z-index:0;padding:0;opacity:0;-webkit-overflow-scrolling:touch;overflow-scrolling:touch}.tools-col.show{opacity:1}.tools-col.hide{z-index:0}.tools-col .tools-nav{display:none}.tools-col .tools-section,.tools-col .tools-wrap{height:100%;color:#e5e5e5;width:360px;overflow:hidden;overflow-y:auto}.tools-col .tools-section ::-webkit-scrollbar,.tools-col .tools-wrap ::-webkit-scrollbar{display:none}.tools-col .tools-section .search-wrap{width:310px;margin:20px 20px 10px;position:relative}.tools-col .tools-section .search-wrap .search-ipt{width:310px;color:#fff;background:none;border:none;border-bottom:2px solid #fff}.tools-col .tools-section .search-wrap .icon{position:absolute;right:0;top:7px;color:#fff;cursor:pointer}.tools-col .tools-section .search-wrap .icon:hover{transform:scale(1.2)}.tools-col .tools-section .search-wrap ::-webkit-input-placeholder{color:#ededed}.tools-col .tools-section .search-tag.tagcloud{text-align:center;position:relative}.tools-col .tools-section .search-tag.tagcloud .article-tag-list{margin:15px 10px 0;padding:10px;background:hsla(0,0%,100%,.2)}.tools-col .tools-section .search-tag.tagcloud .article-tag-list.show{display:block}.tools-col .tools-section .search-tag.tagcloud .a{float:none}.tools-col .tools-section .search-ul{margin-top:10px;color:rgba(77,77,77,.75);-webkit-overflow-scrolling:touch;overflow-scrolling:touch;overflow-y:auto}.tools-col .tools-section .search-ul .search-li{padding:10px 20px;border-bottom:1px dotted #dcdcdc}.tools-col .tools-section .search-ul .search-li:hover{background:hsla(0,0%,100%,.2)}.tools-col .tools-section .search-ul .search-title{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;display:block;color:#fffff8;text-shadow:1px 1px rgba(77,77,77,.25)}.tools-col .tools-section .search-ul .search-title .icon{margin-right:10px;color:#fffdd8}.tools-col .tools-section .search-ul .search-title:hover{color:#fff}.tools-col .tools-section .search-ul .search-category,.tools-col .tools-section .search-ul .search-tag,.tools-col .tools-section .search-ul .search-time{display:inline-block;font-size:12px;color:#fffdd8;margin-right:10px}.tools-col .tools-section .search-ul .search-category .icon,.tools-col .tools-section .search-ul .search-tag .icon,.tools-col .tools-section .search-ul .search-time .icon{margin-right:0}.tools-col .tools-section .search-ul .search-category span,.tools-col .tools-section .search-ul .search-tag span,.tools-col .tools-section .search-ul .search-time span{cursor:pointer;margin-right:5px}.tools-col .tools-section .search-ul .search-category span:hover,.tools-col .tools-section .search-ul .search-tag span:hover,.tools-col .tools-section .search-ul .search-time span:hover{color:#fff}.tools-col .tools-section-friends{padding-top:30px}.tools-col .aboutme-wrap{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;width:100%;height:100%;color:#fffdd8;text-shadow:1px 1px rgba(77,77,77,.45)}label.bui-switch-label input{position:absolute;opacity:0;visibility:hidden}label.bui-switch-label input:checked{border-color:#64bd63;box-shadow:inset 0 0 0 16px #64bd63;background-color:#64bd63}label.bui-switch-label input:checked:before{left:27px}label.bui-switch-label input:disabled+.bui-switch{background-color:#e8e8e8;border:1px solid #dfdfdf}label.bui-switch-label input:disabled+.bui-switch:before{background-color:#c1c1c1}label.bui-switch-label input:disabled:checked+.bui-switch{background-color:#e8e8e8;box-shadow:inset 0 0 0 16px #e8e8e8;border:1px solid #dfdfdf}label.bui-switch-label input:disabled:checked+.bui-switch:before{background-color:#c1c1c1}label.bui-switch-label .bui-switch{width:50px;height:20px;position:relative;top:5px;border:1px solid #dfdfdf;background-color:#fdfdfd;box-shadow:inset 0 0 0 0 #dfdfdf;border-radius:20px;border-top-left-radius:20px;border-top-right-radius:20px;border-bottom-left-radius:20px;border-bottom-right-radius:20px;background-clip:content-box;display:inline-block;-webkit-appearance:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none}label.bui-switch-label .bui-switch:before{content:"";width:18px;height:18px;position:absolute;left:1px;border-radius:20px;border-top-left-radius:20px;border-top-right-radius:20px;border-bottom-left-radius:20px;border-bottom-right-radius:20px;background-color:#fff;box-shadow:0 1px 3px rgba(0,0,0,.4)}label.bui-switch-label input:checked+.bui-switch{border-color:#64bd63;box-shadow:inset 0 0 0 16px #64bd63;background-color:#64bd63}label.bui-switch-label input:checked+.bui-switch:before{left:30px}label.bui-switch-label.bui-switch-animbg{transition:background-color .4s ease}label.bui-switch-label.bui-switch-animbg .bui-switch:before{transition:left .3s}label.bui-switch-label.bui-switch-animbg input:checked+.bui-switch{box-shadow:inset 0 0 0 0 #dfdfdf;background-color:#64bd63;transition:border-color .4s,background-color .4s ease}label.bui-switch-label.bui-switch-animbg input:checked+.bui-switch:before{transition:left .3s}.body-wrap>article{position:relative}@keyframes cd-bounce-1{0%{opacity:0;transform:scale(1)}60%{opacity:1;transform:scale(1.01)}to{transform:scale(1)}}.article{margin:30px;position:relative;border:1px solid #ddd;border-top:1px solid #fff;border-bottom:1px solid #fff;background:#fff;transition:all .2s ease-in}.article img{max-width:100%}#comments{margin:0 30px;background-color:#fff}.article-inner h1.article-title,.article-title{color:#696969;margin-left:0;font-weight:300;line-height:35px;margin-bottom:20px;font-size:26px;transition:color .3s}.article-header{border-left:5px solid #4d4d4d;padding:30px 0 15px 25px;padding-left:7.6923%}.article-meta{width:150px;font-size:14;text-align:right;position:absolute;right:0;top:23px;text-align:center;z-index:1}.article-meta time{color:#aaa}.article-meta time .icon-clock{margin-right:8px;font-size:16px}.article-more-link{margin-top:0;text-align:left;float:right}.article-more-link a{background:#4d4d4d;color:#fff;font-size:12px;padding:5px 8px;line-height:16px;border-radius:2px;transition:background .3s}.article-more-link a:hover{background:#3c3c3c}.article-more-link a.hidden{visibility:hidden}.article-info.info-on-right{margin:10px 0 0;float:right}.article-info-index.article-info{padding-top:20px;margin:30px 7.6923% 0;min-height:72px;border-top:1px solid #ddd}.article-info-post.article-info{padding:0;border:none;margin:-30px 0 20px 7.6923%}.article-inner p{margin:0 0 1.75em}.article-inner{border-color:#d1d1d1}.article-inner h1{font-size:28px;font-size:1.75rem;line-height:1.25;margin-top:2em;margin-bottom:1em}.article-inner h2{font-size:23px;font-size:1.4375rem;line-height:1.2173913043;margin-top:2.4347826087em;margin-bottom:1.2173913043em}.article-inner h3{font-size:19px;font-size:1.1875rem;line-height:1.1052631579;margin-top:2.9473684211em;margin-bottom:1.4736842105em}.article-inner h4,.article-inner h5,.article-inner h6{font-size:16px;font-size:1rem;line-height:1.3125;margin-top:3.5em;margin-bottom:1.75em}.article-inner h6{font-style:italic}.article-inner h1,.article-inner h2,.article-inner h3,.article-inner h4,.article-inner h5,.article-inner h6{font-weight:900}.article-inner h1:first-child,.article-inner h2:first-child,.article-inner h3:first-child,.article-inner h4:first-child,.article-inner h5:first-child,.article-inner h6:first-child{margin-top:0}.article-inner h1:first-child{margin-bottom:10px;display:inline}.article-entry{line-height:1.8em;padding-right:7.6923%;padding-left:7.6923%}.article-entry p{margin-top:10px}.article-entry li code,.article-entry p code{padding:1px 3px;margin:0 3px;background:#ddd;border:1px solid #ccc;font-family:Menlo,Monaco,Andale Mono,lucida console,Courier New,monospace;word-wrap:break-word;font-size:14px}.article-entry blockquote{background:#ddd;border-left:5px solid #ccc;padding:15px 20px;margin-top:10px;border-left:5px solid #657b83;background:#f6f6f6}.article-entry blockquote p{margin-top:0;margin-bottom:0}.article-entry em{font-style:italic}.article-entry ul li:before{content:"";width:6px;height:6px;border:1px solid #999;border-radius:10px;background:#aaa;display:inline-block;margin-right:10px;margin-top:10px}.article-entry ol{counter-reset:item}.article-entry ol li:before{counter-increment:item;content:counter(item) ".";margin-right:10px}.article-entry ol,.article-entry ul{font-size:14px;margin:10px 0}.article-entry li ol,.article-entry li ul{margin-left:30px}.article-entry li ol li:before,.article-entry li ul li:before{content:"";background:#dedede}.article-entry h1{margin-top:30px}.article-entry h2,.article-entry h3,.article-entry h4,.article-entry h5,.article-entry h6{margin-top:20px;font-weight:700;color:#574c4c;padding-bottom:5px;border-bottom:1px solid #ddd}.article-entry video{max-width:100%}.article-entry strong{font-weight:700}.article-entry .caption{display:block;font-size:.8em;color:#aaa}.article-entry hr{height:0;margin-top:20px;margin-bottom:20px;border-left:0;border-right:0;border-top:1px solid #ddd;border-bottom:1px solid #fff}.article-entry pre{line-height:1.5;margin-top:10px;padding:5px 15px;overflow-x:auto;color:#657b83;border:1px solid #ccc;text-shadow:0 1px #444;font-family:Menlo,Monaco,Andale Mono,lucida console,Courier New,monospace}.article-entry pre code{font-size:14px}.article-entry table{width:100%;border:1px solid #dedede;margin:15px 0;border-collapse:collapse}.article-entry table td,.article-entry table tr{height:35px}.article-entry table thead tr{background:#f8f8f8}.article-entry table tbody tr:hover{background:#efefef}.article-entry table td,.article-entry table th{border:1px solid #dedede;padding:0 10px}.article-entry figure table{border:none;width:auto;margin:0}.article-entry figure table tbody tr:hover{background:none}#article-nav{margin:0 0 20px;padding:0 32px 10px;min-height:30px}#article-nav .article-nav-link-wrap{font-size:14px}#article-nav .article-nav-link-wrap .article-nav-title{display:inline-block;font-size:16px;transition:color .3s}#article-nav .article-nav-link-wrap:hover .article-nav-title,#article-nav .article-nav-link-wrap:hover i{color:#4d4d4d}#article-nav #article-nav-older{float:right}#disqus_thread,#gitment-ctn,#SOHUCS,.cloud-tie-wrapper,.duoshuo{padding:0 30px!important;min-height:20px}#SOHUCS #SOHU_MAIN .module-cmt-list .block-cont-gw{border-bottom:1px dashed #c8c8c8!important}.share-wrap{min-height:20px}.share-btn{float:right;position:relative}.share-icons{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-ms-flex-wrap:wrap;flex-wrap:wrap}.share-icons a{border:1px solid #fff;border-radius:50%;display:-moz-inline-stack;display:inline-block;vertical-align:middle;zoom:1;margin:10px;transition:.3s;text-align:center;color:#fff;opacity:.7;width:28px;height:28px;line-height:26px;text-shadow:1px 1px 1px #509eb7}.share-icons a:active{color:#fff}.share-icons a:hover{transform:scale(1.2)}.share-icons a.share-outer{border:none;color:#fff;background:#4d4d4d;text-shadow:none}.page-modal{position:fixed;top:24%;left:50%;z-index:1001;padding:20px;text-align:center;color:#727272;background:#fff;border-radius:4px;box-shadow:0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);opacity:0;transform:translate(-50%,-200%)}.page-modal p{margin-bottom:10px}.page-modal.ready{visibility:hidden;display:block;transform:translate(-50%,-100%);transition:.3s}.page-modal.in{visibility:visible;opacity:1;transform:translate(-50%)}.page-modal .close{position:absolute;right:15px;top:15px;color:rgba(0,0,0,.2);font-size:16px;line-height:20px}.page-modal .close:active,.page-modal .close:hover{color:rgba(0,0,0,.4)}.mask{visibility:hidden;position:fixed;top:0;left:0;bottom:0;z-index:1000;width:100%;height:100%;background:#000;opacity:0;filter:alpha(opacity=0);pointer-events:none;transition:.3s ease-in-out}.mask.in{visibility:visible;pointer-events:auto;opacity:.3}.page-reward{margin:60px 0;text-align:center}.page-reward .page-reward-btn{position:relative;display:inline-block;width:56px;height:56px;line-height:56px;font-size:20px;color:#fff;background:#f44336;border-radius:50%;box-shadow:0 2px 5px 0 rgba(0,0,0,.16),0 2px 10px 0 rgba(0,0,0,.12);transition:.4s ease-in-out}.page-reward .page-reward-btn:active,.page-reward .page-reward-btn:hover{box-shadow:0 6px 12px rgba(0,0,0,.2),0 4px 15px rgba(0,0,0,.2)}.page-reward .page-reward-btn .tooltip-item{display:block;width:56px;height:56px}.page-reward .reward-box{display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around}.page-reward .reward-p{color:#fff;font-weight:700;text-shadow:1px 1px 1px #45b9e0}.page-reward .reward-p .icon{margin:0 10px;color:#ddd}.page-reward .reward-type{font-size:16px;display:block;color:#4d4d4d;margin:20px 0 0}.page-reward .reward-img{width:130px;height:130px;border:6px solid #fff;border-radius:3px}.wrap-side-operation{position:fixed;right:40px;bottom:50px;z-index:999;font-size:14px}.wrap-side-operation .icon-plane{color:#fff;text-shadow:1px 1px 1px #509eb7;opacity:.7;font-size:52px;line-height:40px;width:40px;text-align:center;display:block}.mod-side-operation{width:40px;text-align:center}.jump-container:hover .icon-back{background:rgba(36,193,246,.9)}.jump-container,.toc-container{position:relative;cursor:pointer;width:40px;height:40px;opacity:.8}.jump-plan-container{position:absolute;top:-11px;left:-4px;width:50px;height:61px;overflow:hidden}.jump-plan-container .jump-plane{display:block;position:absolute;width:42px;height:66px;transform:translateY(68px);left:-2px}.mod-side-operation__jump-to-top .icon-back{transition:.3s;color:#fff;background:#ccc;transform:rotate(90deg);font-size:32px;line-height:40px;width:40px;text-align:center;display:block}.mod-side-operation__jump-to-top .icon-back:hover{background:#24c1f6;color:#24c1f6}.toc-container.tooltip-left{background:#ccc;margin-top:10px;transition:.3s}.toc-container.tooltip-left:hover{background:rgba(36,193,246,.9)}.toc-container.tooltip-left .icon-font{font-size:22px;line-height:40px;color:#fff}.toc-container.tooltip-left .tooltip{width:40px;height:40px;top:0;left:0}.toc-container.tooltip-left .tooltip-east .tooltip-content{min-height:100px;text-align:left;padding:5px 0 5px 20px;right:4.7em;min-width:200px;width:auto;font-size:14px;text-shadow:1px 1px 1px #398199;bottom:-10px;transform-origin:100% 100%;transform:translate3d(0,-10px,0) rotate3d(1,1,1,-30deg)}.toc-container.tooltip-left .tooltip-east .tooltip-content a{color:#fff}.toc-container.tooltip-left .tooltip-east .tooltip-content:after{top:auto;bottom:23px}.toc-container.tooltip-left .tooltip-east .tooltip-content .toc-article{max-height:500px;overflow-x:hidden;overflow-y:auto}.toc-container.tooltip-left .tooltip-east .tooltip-content .toc-article li ol,.toc-container.tooltip-left .tooltip-east .tooltip-content .toc-article li ul{margin-left:30px}.toc-container.tooltip-left .tooltip-east .tooltip-content .toc-article li{white-space:nowrap}.toc-container.tooltip-left .tooltip:hover .tooltip-content{bottom:-10px;transform:translate(0)}.tooltip-left .tooltip{position:absolute;z-index:999;cursor:pointer;width:28px;height:28px;top:-10px;right:10px}.tooltip-left .tooltip:hover a.share-outer{background:#24c1f6}@keyframes pulse{0%{transform:scale3d(.5,.5,1)}to{transform:scaleX(1)}}.tooltip-left .tooltip-content{position:absolute;background:rgba(36,193,246,.9);z-index:9999;width:200px;bottom:50%;margin-bottom:-10px;border-radius:20px;font-size:1.1em;text-align:center;color:#fff;opacity:0;cursor:default;pointer-events:none;-webkit-font-smoothing:antialiased;transition:opacity .3s,transform .3s}.tooltip-left .tooltip-west .tooltip-content{left:3.5em;transform-origin:-2em 50%;transform:translate3d(0,50%,0) rotate3d(1,1,1,30deg)}.tooltip-left .tooltip-east .tooltip-content{right:3.5em;transform-origin:calc(100% + 2em) 50%;transform:translate3d(0,50%,0) rotate3d(1,1,1,-30deg)}.tooltip-left .tooltip:hover .tooltip-content{opacity:1;transform:translate3d(0,50%,0) rotate3d(0,0,0,0);pointer-events:auto}.tooltip-left .tooltip-content:after,.tooltip-left .tooltip-content:before{content:"";position:absolute}.tooltip-left .tooltip-content:before{height:100%;width:3em}.tooltip-left .tooltip-content:after{width:2em;height:2em;top:50%;margin:-1em 0 0;background:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhRE9DVFlQRSBzdmcgUFVCTElDICItLy9XM0MvL0RURCBTVkcgMS4xLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL0dyYXBoaWNzL1NWRy8xLjEvRFREL3N2ZzExLmR0ZCI+DQo8c3ZnIHZlcnNpb249IjEuMSIgaWQ9IkxheWVyXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHdpZHRoPSI4MHB4IiBoZWlnaHQ9IjgwcHgiIHZpZXdCb3g9IjAgMCA4MCA4MCI+DQo8cGF0aCBmaWxsPSIjMjRjMWY2IiBkPSJNODAsMGMwLDAtNS42MzEsMTQuNDQ1LTI1LjcxNSwyNy4yMTNDMjkuOTQ2LDQyLjY4OCwxMi43OSwzMy45OTcsMy43NTIsMzAuNDE3DQoJYy0zLjk1Ni0xLjU2Ny00LjI2NSwxLjAyMS0yLjk2NiwzLjgxNEMxNi40NSw2Ny45MzQsODAsNzkuNjE0LDgwLDc5LjYxNGwwLDBWMHoiLz4NCjwvc3ZnPg0K) no-repeat 50%;background-size:100%}.tooltip-left .tooltip-west .tooltip-content:after,.tooltip-left .tooltip-west .tooltip-content:before{right:99%}.tooltip-left .tooltip-east .tooltip-content:after,.tooltip-left .tooltip-east .tooltip-content:before{left:99%}.tooltip-left .tooltip-east .tooltip-content:after{transform:scaleX(-1)}.tooltip-top .tooltip{display:inline;position:relative;z-index:999}.tooltip-top .tooltip:after{content:"";position:absolute;width:100%;height:20px;bottom:100%;left:50%;pointer-events:none;transform:translateX(-50%)}.tooltip-top .tooltip:hover:after{pointer-events:auto}.tooltip-top .tooltip-content{position:absolute;z-index:9999;width:370px;left:50%;bottom:100%;font-size:20px;line-height:1.4;text-align:center;font-weight:400;color:#4d4d4d;background:transparent;opacity:0;margin:0 0 -10px -185px;cursor:default;pointer-events:none;font-family:Satisfy,cursive;-webkit-font-smoothing:antialiased;transition:opacity .3s .3s;padding-bottom:80px}.tooltip-top .tooltip:hover .tooltip-content{opacity:1;pointer-events:auto;transition-delay:0s}.tooltip-top .tooltip-content span{display:block}.tooltip-top .tooltip-text{border-bottom:10px solid #4d4d4d;overflow:hidden;transform:scaleX(0);transition:transform .3s .3s}.tooltip-top .tooltip:hover .tooltip-text{transition-delay:0s;transform:scaleX(1)}.tooltip-top .tooltip-inner{background:rgba(36,193,246,.9);padding:40px;transform:translate3d(0,100%,0);webkit-transition:-webkit-transform .3s;transition:transform .3s}.tooltip-top .tooltip:hover .tooltip-inner{transition-delay:.3s;transform:translateZ(0)}.tooltip-top .tooltip-content:after{content:"";left:50%;border:solid transparent;height:0;width:0;position:absolute;pointer-events:none;border-color:transparent;border-top-color:#4d4d4d;border-width:10px;margin-left:-10px}#footer{font-size:12px;position:absolute;bottom:30px;opacity:.6;width:100%;text-align:center}#footer .outer{padding:0 30px}.footer-left{float:left}.footer-right{float:right}@media screen and (max-width:800px){#container,body,html{height:auto;overflow-x:hidden;overflow-y:auto}#mobile-nav{display:block}.body-wrap{margin-bottom:0}.left-col{display:none}.mid-col{left:0}#header .header-nav,.mid-col{position:relative}.wrap-side-operation{display:none}.cloud-tie-wrapper{padding:0;min-height:20px}.tools-col{left:-300px;width:300px}.tools-col .tools-wrap{padding-top:48px}.tools-col .tools-section,.tools-col .tools-wrap{width:300px}.tools-col .tools-section .search-wrap,.tools-col .tools-wrap .search-wrap{width:280px}.tools-col .tools-section .search-tag.tagcloud,.tools-col .tools-wrap .search-tag.tagcloud{margin-right:-30px}.tools-col .tools-section .search-ul .search-li,.tools-col .tools-wrap .search-ul .search-li{padding:5px 20px}.tools-col.show .header-menu.tools-nav{display:block}#container .header-author.fixed{position:fixed;top:-29px;width:100%;color:#ddd}.mobile-mask{width:100%;height:100%;position:fixed;top:0;left:0;background:rgba(0,0,0,.85);z-index:999}.btnctn{position:fixed;width:50px;height:50px;z-index:4}.btnctn .slider-trigger{position:absolute;z-index:101;width:42px;height:42px;text-align:center;line-height:50px}.btnctn .slider-trigger.back{top:0;left:0}.btnctn .slider-trigger.list{background-color:hsla(0,0%,39%,.7)}.btnctn .slider-trigger:hover{background:#444}.btnctn .slider-trigger .icon{font-size:24px;color:#fff}.article-header{border-left:none;padding:0;border-bottom:1px dotted #ddd}.article-header h1{margin-bottom:10px}.article-header .archive-article-date{float:none}.header-subtitle .icon{margin:0 10px;color:#d0d0d0}.article-info-index.article-info{min-height:40px;padding-top:10px;margin:0;border-top:1px solid #ddd}.article-info-post.article-info{margin:0;padding-top:10px;border:none}#viewer-box .viewer-box-l{font-size:14px}.article-nav-link-wrap{margin:5px 0;display:block;clear:both}.article-nav-link-wrap .icon-circle-right{float:left;margin:6px 4px 0 0}.article{padding:10px;margin:10px 0;border:0;font-size:16px;color:#555}.article .article-more-link{margin:0}.article .article-entry{padding:10px 0 30px}.article .article-inner h1.article-title,.article .article-title{font-size:18px;font-weight:300;display:block;margin:0}.article .article-meta{width:auto;height:30px;margin-top:-5px;position:ralative}.article .article-meta .article-date{font-size:12px;border-radius:0;color:#666;background:none;height:auto;padding:0;margin:0;width:100%;text-align:left;margin-left:10px}.article .article-meta .article-date time{width:auto;float:right;margin-right:10px}.article .article-meta .article-tag-list{margin-top:7px;position:absolute;right:10px;top:0}.article .article-meta .article-tag-list:before{float:left;margin-top:1px;left:0}.article .article-meta .article-tag-list .article-tag-list-item{float:left;padding-left:0;width:auto;max-width:83px}.article .article-meta .article-category{margin-top:7px;position:absolute;right:10px;top:-30px}.article .article-meta .article-category:before{float:left;margin-top:1px;left:15px}.article .article-meta .article-category .article-category-link{max-width:83px;width:auto;padding-left:10px}.article #article-nav-older{float:none;display:block}#comments{margin:0}.share{padding:3px 10px}#disqus_thread,.duoshuo{padding:0 13px}#article-nav{margin:0;padding:5px 10px 10px}#article-nav #article-nav-older{float:none}#article-nav .article-nav-link-wrap .article-nav-title{font-size:16px}#page-nav .extend{opacity:1}.instagram .open-ins{left:2px;top:-30px;color:#aaa}.info-on-right{float:none}.archives-wrap{margin:10px 10px 0;padding:10px}.archives-wrap .archive-article-title{font-size:16px}.archives-wrap .archive-year-wrap{position:relative;padding:0}.archives-wrap .archive-year-wrap a{padding:0}.archives-wrap .article-meta .archive-article-date{font-size:12px;margin-right:10px;margin-top:-5px}.archives-wrap .article-meta .article-tag-list-link{font-size:12px}.archives .archive-article{padding:10px 0;margin-left:0}#footer{position:relative;bottom:0}#footer .footer-left{float:none;margin-bottom:10px}#footer .footer-right{float:none}#mobile-nav .header-author{margin:0;position:relative;z-index:2;color:#424242}#mobile-nav .overlay{height:110px;position:absolute;width:100%;z-index:2;background:#4d4d4d}#mobile-nav #header{padding:10px 0 0}#mobile-nav #header .profilepic{display:block;position:relative;z-index:100}.header-menu{height:auto;margin:10px 0 20px}.header-menu.tools-nav{display:none;position:fixed;left:0;width:100%;z-index:9999}.header-menu.tools-nav ul{margin-right:28px}.header-menu.tools-nav li,.header-menu.tools-nav ul{border-color:#fff}.header-menu.tools-nav li a,.header-menu.tools-nav ul a{color:#fff}.header-menu.tools-nav li a.active,.header-menu.tools-nav ul a.active{background:#81b5cc}.header-menu ul{text-align:center;cursor:default;display:-ms-flexbox;display:flex;margin:0 auto;-ms-flex-align:center;align-items:center;-ms-flex-pack:distribute;justify-content:space-around;position:relative;z-index:1;border:1px solid #a0a0a0;border-radius:3px}.header-menu li{border-left:1px solid #a0a0a0}.header-menu li:first-child{border-left:0}.header-menu li:last-child{border-right:0}.header-menu li a{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;color:#a0a0a0}.header-menu li a.active{color:#eaeaea;background:#a0a0a0}.profilepic{display:block;border:5px solid #fff;border-radius:300px;width:128px;height:128px;margin:0 auto;position:relative;overflow:hidden;background:#88acdb;-webkit-transition:all .2s ease-in;display:-webkit-box;-webkit-box-pack:center;-webkit-box-align:center;text-align:center}.header-author{text-align:center;margin:.67em 0;font-family:Roboto,serif;font-size:30px;transition:.3s}.header-subtitle{text-align:center;color:#999;font-size:14px;line-height:25px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;padding:0 24px}} \ No newline at end of file diff --git a/themes/yilia/source/js/comment.62251492e636f41e00f2.js b/themes/yilia/source/js/comment.8959a0e1c58f06787797.js similarity index 76% rename from themes/yilia/source/js/comment.62251492e636f41e00f2.js rename to themes/yilia/source/js/comment.8959a0e1c58f06787797.js index ee661f8..c506b15 100644 --- a/themes/yilia/source/js/comment.62251492e636f41e00f2.js +++ b/themes/yilia/source/js/comment.8959a0e1c58f06787797.js @@ -23,4 +23,8 @@ e.exports=function(e){return null!=e&&(n(e)||r(e)||!!e._isBuffer)}},function(e,t * (c) 2017-2018 xCss * Released under the GPL-2.0 License. */ -!function(n,r){"object"==(0,p.default)(t)&&"object"==(0,p.default)(e)?e.exports=r():(o=[],i=r,void 0!==(s="function"==typeof i?i.apply(t,o):i)&&(e.exports=s))}(0,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||(0,f.default)(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=14)}([function(e,t,n){function r(e){var t=this;return!!e&&t.init(e),t}function i(e){return new r(e)}var o=n(3),s=n(5),a=n(6),c=n(4),h=n(2),f=n(1);a.setOptions({renderer:new a.Renderer,gfm:!0,tables:!0,breaks:!0,pedantic:!0,sanitize:!0,smartLists:!0,smartypants:!0});var d={comment:"",nick:"Anonymous",mail:"",link:"",ua:navigator.userAgent,url:""},p={"zh-cn":{head:{nick:"昵称",mail:"邮箱",link:"网址(http://)"},tips:{comments:"评论",sofa:"还没有评论哦,快来抢沙发吧~",busy:"还在提交中,请稍候...",again:"这么简单也能错,也是没谁了."},ctrl:{reply:"回复",ok:"好的",sure:"确认",cancel:"取消",confirm:"确认",continue:"继续",more:"查看更多...",try:"再试试?"},error:{99:"初始化失败,请检查init中的`el`元素.",100:"初始化失败,请检查你的AppId和AppKey.",401:"未经授权的操作,请检查你的AppId和AppKey.",403:"访问被api域名白名单拒绝,请检查你的安全域名设置."},timeago:{seconds:"秒前",minutes:"分钟前",hours:"小时前",days:"天前",now:"刚刚"}},en:{head:{nick:"NickName",mail:"E-Mail",link:"Website(http://)"},tips:{comments:"Comments",sofa:"No comments yet.",busy:"Submit is busy, please wait...",again:"Sorry, this is a wrong calculation."},ctrl:{reply:"Reply",ok:"Ok",sure:"Sure",cancel:"Cancel",confirm:"Confirm",continue:"Continue",more:"Load More...",try:"Once More?"},error:{99:"Initialization failed, Please check the `el` element in the init method.",100:"Initialization failed, Please check your appId and appKey.",401:"Unauthorized operation, Please check your appId and appKey.",403:"Access denied by api domain white list, Please check your security domain."},timeago:{seconds:"seconds ago",minutes:"minutes ago",hours:"hours ago",days:"days ago",now:"just now"}}},v={cdn:"https://gravatar.loli.net/avatar/",ds:["mm","identicon","monsterid","wavatar","retro",""],params:"",hide:!1},_=["nick","mail","link"],g=Storage&&localStorage&&localStorage instanceof Storage&&localStorage,m=location.pathname.replace(/index\.(html|htm)$/,"");r.prototype.init=function(e){var t=this;try{var n=e.lang||"",r=e.langMode||"",i=v.ds,s=e.avatar||"mm",a=e.avatar_cdn||"";n&&r&&t.installLocale(n,r),t.locale=t.locale||p[e.lang||"zh-cn"],t.notify=e.notify||!1,t.verify=e.verify||!1,v.params="?d="+(i.indexOf(s)>-1?s:"mm"),v.hide="hide"===s,v.cdn=!!a&&a||v.cdn,m=e.path||m,e.guest_info=(e.guest_info||_).filter(function(e){return _.indexOf(e)>-1});var u=Number(e.pageSize||10);if(e.pageSize=isNaN(u)?10:u<1?10:u,!AV)return void setTimeout(function(){t.init(e)},20);var c=e.app_id||e.appId,l=e.app_key||e.appKey,h=(e.region||"cn").toLowerCase(),f=["cn","us"];if(h=f.indexOf(h)>-1?h:f[0],!c||!l)throw 99;AV.applicationId=null,AV.init({appId:c,appKey:l,region:h});for(var d=document.querySelectorAll(".valine-comment-count"),g=0,y=d.length;g-1?'':""});t.placeholder=e.placeholder||"Just Go Go",t.el.innerHTML='
    '+x.join("")+'
    Emoji | Preview
    Valinev1.1.9
    ';var S=t.el.querySelector(".vempty");t.nodata={show:function(e){return S.innerHTML=e||t.locale.tips.sofa,S.setAttribute("style","display:block;"),t},hide:function(){return S.setAttribute("style","display:none;"),t}};var A=document.createElement("div");A.setAttribute("class","vloading");var k=t.el.querySelector(".vlist");t.loading={show:function(e){var n=k.querySelectorAll(".vcard");return e?k.insertBefore(A,n[0]):k.appendChild(A),t.nodata.hide(),t},hide:function(){var e=k.querySelector(".vloading");return e&&k.removeChild(e),0===k.querySelectorAll(".vcard").length&&t.nodata.show(),t}};var E=t.el.querySelector(".vmark");t.alert={show:function(e){E.innerHTML='
    '+(e&&e.text||1)+'
    ';var n=E.querySelector(".vbtns"),r='",i='";if(n.innerHTML=""+r+(e&&e.type&&i),o.Event.on("click",E.querySelector(".vcancel"),function(e){t.alert.hide()}),E.setAttribute("style","display:block;"),e&&e.type){var s=E.querySelector(".vsure");o.Event.on("click",s,function(n){t.alert.hide(),e.cb&&e.cb()})}return t},hide:function(){return E.setAttribute("style","display:none;"),t}},t.el&&AV&&t.bind(e)}catch(e){t.ErrorHandler(e)}return t},r.prototype.Q=function(e){var t=new AV.Query("Comment");return t.equalTo("url",decodeURI(e)),1==arguments.length?t.doesNotExist("rid"):t.equalTo("rid",arguments[1]),t.addDescending("createdAt"),t.addDescending("insertedAt"),t},r.prototype.ErrorHandler=function(e){var t=this;t.el&&t.loading.hide().nodata.hide();var n="";101==e?t.nodata.show():(n="number"==typeof e?"Code "+e+": "+(t.locale.error[e]||e):e,t.el&&t.nodata.show('
    '+n+"
    "),console)},r.prototype.installLocale=function(e,t){var n=this;return t=t||{},p[e]=(0,l.default)((0,u.default)(p["zh-cn"]))==(0,l.default)((0,u.default)(t))?t:void 0,n.locale=p[e]||p["zh-cn"],n},r.prototype.setPath=function(e){return m=e||m,this},r.prototype.bind=function(e){var t=this,n=t.el.querySelector(".vemojis"),r=t.el.querySelector(".vemoji-btn"),i=t.el.querySelector(".vpreview"),u=function(e){var t=e.value||"";t=f.parse(t),e.value=t;var n=a(t);d.comment=n,i.innerHTML=n},p=f.data;for(var _ in p)p.hasOwnProperty(_)&&function(e,t){var r=document.createElement("i");r.setAttribute("name",e),r.setAttribute("title",e),r.innerHTML=t,n.appendChild(r),o.Event.on("click",r,function(e){var n=document.querySelector(".veditor");E(n,t),u(n)})}(_,p[_]);o.Event.on("click",r,function(e){r.getAttribute("v")?(r.removeAttribute("v"),n.setAttribute("style","display:none")):(r.setAttribute("v",1),k.removeAttribute("v"),i.setAttribute("style","display:none"),n.setAttribute("style","display:block"))});for(var b=e.guest_info,w={},O={veditor:"comment"},x=0,S=b.length;x0&&void 0!==arguments[0]?arguments[0]:1,i=e.pageSize,s=Number(t.el.querySelector(".vnum").innerText);t.loading.show();var a=t.Q(m);a.limit(i),a.skip((r-1)*i),a.find().then(function(e){for(var u=e.length,c=0;c'+t.locale.ctrl.more+"":"";var h=l.querySelector(".vmore");h&&o.Event.on("click",h,function(e){l.innerHTML="",n(++r)}),t.loading.hide()}).catch(function(e){t.loading.hide().ErrorHandler(e.code)})};t.Q(m).count().then(function(e){e>0?(t.el.querySelector(".vinfo").setAttribute("style","display:block;"),t.el.querySelector(".vcount").innerHTML=''+e+" "+t.locale.tips.comments,T()):t.loading.hide()}).catch(function(e){t.ErrorHandler(e.code)});var j=function(e,n,r){var i=document.createElement("div");i.setAttribute("class","vcard"),i.setAttribute("id",e.id);var o=v.hide?"":'",a=h(e.get("ua")),u=''+a.browser+" "+a.version+"",l=''+a.os+" "+a.osVersion+"",f="",d=e.get("link")||"";f=d?''+e.get("nick")+"":''+e.get("nick")+"",i.innerHTML=o+'\n
    \n
    '+f+" "+u+" "+l+'
    \n
    \n '+c(e.get("insertedAt")||e.createdAt,t.locale)+"\n '+t.locale.ctrl.reply+'\n
    \n
    \n '+e.get("comment")+"\n
    \n
    ";for(var p=i.querySelector(".vat"),_=i.querySelectorAll("a"),g=0,m=_.length;g180&&(e.classList.add("expand"),o.Event.on("click",e,function(t){e.setAttribute("class","vcontent")}))},20)},I={at:"",rid:"",rmail:""},P=function(e){o.Event.on("click",e,function(t){var n=e.getAttribute("at"),r=e.getAttribute("rid"),i=e.getAttribute("mail");I.at=o.HtmlUtils.escape(n)+" ",I.rid=r,I.rmail=i,w.comment.setAttribute("placeholder",n),w.comment.focus()})},R=function(){var e=g&&g.ValineCache;if(e){e=JSON.parse(e);var n=b;for(var r in n){var i=n[r];t.el.querySelector(".v"+i).value=o.HtmlUtils.unescape(e[i]),d[i]=e[i]}}};R();var L=function(){for(var e in O)if(O.hasOwnProperty(e)){var n=O[e],r=t.el.querySelector("."+e);r.value="",d[n]=""}w.comment.setAttribute("placeholder",t.placeholder),I.at="",I.rid="",I.rmail="",d.nick="Anonymous",R(),i.innerHTML="",i.setAttribute("style","display:none;"),k.removeAttribute("v")},D=t.el.querySelector(".vsubmit"),M=function(e){if(D.getAttribute("disabled"))return void t.alert.show({type:0,text:t.locale.tips.busy+'ヾ(๑╹◡╹)ノ"',ctxt:t.locale.ctrl.ok});if(""==d.comment)return void w.comment.focus();d.nick=d.nick||"Anonymous";var n=y.mail(d.mail),r=y.link(d.link);d.mail=n.k?n.v:"",d.link=r.k?r.v:"",t.notify||t.verify?B(F):F()},q=function(){var e=new AV.ACL;return e.setPublicReadAccess(!0),e.setPublicWriteAccess(!1),e},F=function(){D.setAttribute("disabled",!0),t.loading.show(!0);var e=AV.Object.extend("Comment"),n=new e;d.url=decodeURI(m),d.insertedAt=new Date,I.rid&&(n.set("rid",I.rid),d.comment=I.at+d.comment);for(var r in d)if(d.hasOwnProperty(r)){var i=d[r];n.set(r,i)}n.setACL(q()),n.save().then(function(e){"Anonymous"!=d.nick&&g&&g.setItem("ValineCache",(0,l.default)({nick:d.nick,link:d.link,mail:d.mail}));var n=t.el.querySelector(".vnum"),r=1;try{if(I.rid){var i=t.el.querySelector('.vquote[rid="'+I.rid+'"]')||C(I.rid);j(e,i,!0)}else n?(r=Number(n.innerText)+1,n.innerText=r):t.el.querySelector(".vcount").innerHTML='1 '+t.locale.tips.comments,j(e,t.el.querySelector(".vlist"));d.mail&&$({username:d.nick,mail:d.mail}),I.at&&I.rmail&&t.notify&&W({username:I.at.replace("@",""),mail:I.rmail}),D.removeAttribute("disabled"),t.loading.hide(),L()}catch(e){e.code&&t.ErrorHandler(e.code)||t.ErrorHandler(e)}}).catch(function(e){t.ErrorHandler(e.code)})},B=function e(n){var r=Math.floor(10*Math.random()+1),i=Math.floor(10*Math.random()+1),o=Math.floor(10*Math.random()+1),s=["+","-","x"],a=s[Math.floor(3*Math.random())],u=s[Math.floor(3*Math.random())],c=""+r+a+i+u+o,l=c+" = ";t.alert.show({type:1,text:l,ctxt:t.locale.ctrl.cancel,otxt:t.locale.ctrl.ok,cb:function(){var r=+t.el.querySelector(".vcode").value;new Function("return "+c.replace(/x/g,"*"))()===r?n&&n():t.alert.show({type:1,text:"(T_T)"+t.locale.tips.again,ctxt:t.locale.ctrl.cancel,otxt:t.locale.ctrl.try,cb:function(){e(n)}})}})},$=function(e){var t=new AV.User;return t.setUsername(e.username),t.setPassword(e.mail),t.setEmail(e.mail),t.setACL(q()),t.signUp()},W=function e(n){AV.User.requestPasswordReset(n.mail).then(function(e){}).catch(function(r){1==r.code?t.alert.show({type:0,text:"ヾ(o・ω・)ノ At太频繁啦,提醒功能暂时宕机。
    "+r.error,ctxt:t.locale.ctrl.ok}):$(n).then(function(t){e(n)}).catch(function(e){})})};o.Event.off("click",D,M),o.Event.on("click",D,M),o.Event.on("keyup",document,function(e){var t=e.keyCode||e.which||e.charCode;(e.ctrlKey||e.metaKey)&&13==t&&M()})};var y={mail:function(e){return{k:/[\w-\.]+@([\w-]+\.)+[a-z]{2,3}/.test(e),v:e}},link:function(e){return e=e.length>0&&(/^https?/.test(e)?e:"http://"+e),{k:/^https?:\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:\/~\+#]*[\w\-\@?^=%&\/~\+#])?/.test(e),v:e}}};e.exports=i,e.exports.default=i},function(e,t,n){var r={data:n(8),parse:function(e){return String(e).replace(/:(.+?):/g,function(e,t){return r.data[t]||e})}};e.exports=r},function(e,t,n){function r(e){var t=e||s.userAgent,n=this,r={Trident:t.indexOf("Trident")>-1||t.indexOf("NET CLR")>-1,Presto:t.indexOf("Presto")>-1,WebKit:t.indexOf("AppleWebKit")>-1,Gecko:t.indexOf("Gecko/")>-1,Safari:t.indexOf("Safari")>-1,Chrome:t.indexOf("Chrome")>-1||t.indexOf("CriOS")>-1,IE:t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1,Edge:t.indexOf("Edge")>-1,Firefox:t.indexOf("Firefox")>-1||t.indexOf("FxiOS")>-1,"Firefox Focus":t.indexOf("Focus")>-1,Chromium:t.indexOf("Chromium")>-1,Opera:t.indexOf("Opera")>-1||t.indexOf("OPR")>-1,Vivaldi:t.indexOf("Vivaldi")>-1,Yandex:t.indexOf("YaBrowser")>-1,Kindle:t.indexOf("Kindle")>-1||t.indexOf("Silk/")>-1,360:t.indexOf("360EE")>-1||t.indexOf("360SE")>-1,UC:t.indexOf("UC")>-1||t.indexOf(" UBrowser")>-1,QQBrowser:t.indexOf("QQBrowser")>-1,QQ:t.indexOf("QQ/")>-1,Baidu:t.indexOf("Baidu")>-1||t.indexOf("BIDUBrowser")>-1,Maxthon:t.indexOf("Maxthon")>-1,Sogou:t.indexOf("MetaSr")>-1||t.indexOf("Sogou")>-1,LBBROWSER:t.indexOf("LBBROWSER")>-1,"2345Explorer":t.indexOf("2345Explorer")>-1,TheWorld:t.indexOf("TheWorld")>-1,XiaoMi:t.indexOf("MiuiBrowser")>-1,Quark:t.indexOf("Quark")>-1,Qiyu:t.indexOf("Qiyu")>-1,Wechat:t.indexOf("MicroMessenger")>-1,Taobao:t.indexOf("AliApp(TB")>-1,Alipay:t.indexOf("AliApp(AP")>-1,Weibo:t.indexOf("Weibo")>-1,Douban:t.indexOf("com.douban.frodo")>-1,Suning:t.indexOf("SNEBUY-APP")>-1,iQiYi:t.indexOf("IqiyiApp")>-1,Windows:t.indexOf("Windows")>-1,Linux:t.indexOf("Linux")>-1||t.indexOf("X11")>-1,"Mac OS":t.indexOf("Macintosh")>-1,Android:t.indexOf("Android")>-1||t.indexOf("Adr")>-1,Ubuntu:t.indexOf("Ubuntu")>-1,FreeBSD:t.indexOf("FreeBSD")>-1,Debian:t.indexOf("Debian")>-1,"Windows Phone":t.indexOf("IEMobile")>-1||t.indexOf("Windows Phone")>-1,BlackBerry:t.indexOf("BlackBerry")>-1||t.indexOf("RIM")>-1,MeeGo:t.indexOf("MeeGo")>-1,Symbian:t.indexOf("Symbian")>-1,iOS:t.indexOf("like Mac OS X")>-1,"Chrome OS":t.indexOf("CrOS")>-1,WebOS:t.indexOf("hpwOS")>-1,Mobile:t.indexOf("Mobi")>-1||t.indexOf("iPh")>-1||t.indexOf("480")>-1,Tablet:t.indexOf("Tablet")>-1||t.indexOf("Pad")>-1||t.indexOf("Nexus 7")>-1};r.Mobile?r.Mobile=!(t.indexOf("iPad")>-1):o.showModalDialog&&o.chrome&&(r[360]=!0);var i={engine:["WebKit","Trident","Gecko","Presto"],browser:["Safari","Chrome","Edge","IE","Firefox","Firefox Focus","Chromium","Opera","Vivaldi","Yandex","Kindle","360","UC","QQBrowser","QQ","Baidu","Maxthon","Sogou","LBBROWSER","2345Explorer","TheWorld","XiaoMi","Quark","Qiyu","Wechat","Taobao","Alipay","Weibo","Douban","Suning","iQiYi"],os:["Windows","Linux","Mac OS","Android","Ubuntu","FreeBSD","Debian","iOS","Windows Phone","BlackBerry","MeeGo","Symbian","Chrome OS","WebOS"],device:["Mobile","Tablet"]};n.device="PC",n.language=function(){var e=s.browserLanguage||s.language,t=e.split("-");return t[1]&&(t[1]=t[1].toUpperCase()),t.join("_")}();for(var a in i)for(var u=0;u27?n.engine="Blink":"Opera"==n.browser&&parseInt(n.version)>12?n.engine="Blink":"Yandex"==n.browser?n.engine="Blink":void 0==n.browser&&(n.browser="Unknow App")}function i(e){return new r(e)}var o=window||{},s=navigator||{};e.exports=i},function(e,t,n){function r(e){return e&&c.test(e)?e.replace(u,function(e){return s[e]}):e}function i(e){return e&&h.test(e)?e.replace(l,function(e){return o[e]}):e}var o={},s={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\\":"\"};for(var a in s)o[s[a]]=a;var u=/[&<>"'`\\]/g,c=RegExp(u.source),l=/&(?:amp|lt|gt|quot|#39|#x60|#x5c);/g,h=RegExp(l.source),f={on:function(e,t,n,r){return t.addEventListener?t.addEventListener(e,n,r||!1):t.attachEvent?t.attachEvent("on"+e,n):t["on"+e]=n,this},off:function(e,t,n,r){return t.removeEventListener?t.removeEventListener(e,n,r||!1):t.detachEvent?t.detachEvent("on"+e,n):t["on"+e]=null,this}};e.exports={HtmlUtils:{escape:r,unescape:i},Event:f}},function(e,t,n){var r=function(e,t){if(e)try{var n=e.getTime(),r=(new Date).getTime(),o=r-n,s=Math.floor(o/864e5);if(0===s){var a=o%864e5,u=Math.floor(a/36e5);if(0===u){var c=a%36e5,l=Math.floor(c/6e4);if(0===l){var h=c%6e4;return Math.round(h/1e3)+" "+t.timeago.seconds}return l+" "+t.timeago.minutes}return u+" "+t.timeago.hours}return s<0?t.timeago.now:s<8?s+" "+t.timeago.days:i(e)}catch(e){}},i=function(e){var t=o(e.getDate(),2),n=o(e.getMonth()+1,2);return o(e.getFullYear(),2)+"-"+n+"-"+t},o=function(e,t){for(var n=e.toString();n.length>16)+(t>>16)+(n>>16)<<16|65535&n}function s(e,t){return e<>>32-t}function a(e,t,n,r,i,a){return o(s(o(o(t,e),o(r,a)),i),n)}function u(e,t,n,r,i,o,s){return a(t&n|~t&r,e,t,i,o,s)}function c(e,t,n,r,i,o,s){return a(t&r|n&~r,e,t,i,o,s)}function l(e,t,n,r,i,o,s){return a(t^n^r,e,t,i,o,s)}function h(e,t,n,r,i,o,s){return a(n^(t|~r),e,t,i,o,s)}function f(e,t){e[t>>5]|=128<>>9<<4)]=t;var n,r,i,s,a,f=1732584193,d=-271733879,p=-1732584194,v=271733878;for(n=0;n>5]>>>t%32&255);return n}function p(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t>5]|=(255&e.charCodeAt(t/8))<16&&(i=f(i,8*e.length)),n=0;n<16;n+=1)o[n]=909522486^i[n],s[n]=1549556828^i[n];return r=f(o.concat(p(t)),512+8*t.length),d(f(s.concat(r),640))}function g(e){var t,n,r="0123456789abcdef",i="";for(n=0;n>>4&15)+r.charAt(15&t);return i}function m(e){return unescape(encodeURIComponent(e))}function y(e){return v(m(e))}function b(e){return g(y(e))}function w(e,t){return _(m(e),m(t))}function O(e,t){return g(w(e,t))}function x(e,t,n){return t?n?w(t,e):O(t,e):n?y(e):b(e)}void 0!==(r=function(){return x}.call(t,n,t,e))&&(e.exports=r)}()},function(e,t,n){(function(t){!function(t){function n(e){this.tokens=[],this.tokens.links={},this.options=e||d.defaults,this.rules=p.normal,this.options.gfm&&(this.options.tables?this.rules=p.tables:this.rules=p.gfm)}function r(e,t){if(this.options=t||d.defaults,this.links=e,this.rules=v.normal,this.renderer=this.options.renderer||new i,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=v.breaks:this.rules=v.gfm:this.options.pedantic&&(this.rules=v.pedantic)}function i(e){this.options=e||{}}function o(){}function s(e){this.tokens=[],this.token=null,this.options=e||d.defaults,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options}function a(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function u(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}function c(e,t){return e=e.source,t=t||"",{replace:function(t,n){return n=n.source||n,n=n.replace(/(^|[^\[])\^/g,"$1"),e=e.replace(t,n),this},getRegex:function(){return new RegExp(e,t)}}}function l(e,t){return _[" "+e]||(/^[^:]+:\/*[^\/]*$/.test(e)?_[" "+e]=e+"/":_[" "+e]=e.replace(/[^\/]*$/,"")),e=_[" "+e],"//"===t.slice(0,2)?e.replace(/:[\s\S]*/,":")+t:"/"===t.charAt(0)?e.replace(/(:\/*[^\/]*)[\s\S]*/,"$1")+t:e+t}function h(){}function f(e){for(var t,n,r=1;rAn error occurred:

    "+a(e.message+"",!0)+"
    ";throw e}}var p={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:h,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:h,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:h,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n?(?!hr|heading|lheading| {0,3}>|tag)[^\n]+)+)/,text:/^[^\n]+/};p._label=/(?:\\[\[\]]|[^\[\]])+/,p._title=/(?:"(?:\\"|[^"]|"[^"\n]*")*"|'\n?(?:[^'\n]+\n?)*'|\([^()]*\))/,p.def=c(p.def).replace("label",p._label).replace("title",p._title).getRegex(),p.bullet=/(?:[*+-]|\d+\.)/,p.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,p.item=c(p.item,"gm").replace(/bull/g,p.bullet).getRegex(),p.list=c(p.list).replace(/bull/g,p.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+p.def.source+")").getRegex(),p._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b",p.html=c(p.html).replace("comment",//).replace("closed",/<(tag)[\s\S]+?<\/\1>/).replace("closing",/\s]*)*?\/?>/).replace(/tag/g,p._tag).getRegex(),p.paragraph=c(p.paragraph).replace("hr",p.hr).replace("heading",p.heading).replace("lheading",p.lheading).replace("tag","<"+p._tag).getRegex(),p.blockquote=c(p.blockquote).replace("paragraph",p.paragraph).getRegex(),p.normal=f({},p),p.gfm=f({},p.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\n? *\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),p.gfm.paragraph=c(p.paragraph).replace("(?!","(?!"+p.gfm.fences.source.replace("\\1","\\2")+"|"+p.list.source.replace("\\1","\\3")+"|").getRegex(),p.tables=f({},p.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),n.rules=p,n.lex=function(e,t){return new n(t).lex(e)},n.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},n.prototype.token=function(e,t){e=e.replace(/^ +$/gm,"");for(var n,r,i,o,s,a,u,c,l,h,f;e;)if((i=this.rules.newline.exec(e))&&(e=e.substring(i[0].length),i[0].length>1&&this.tokens.push({type:"space"})),i=this.rules.code.exec(e))e=e.substring(i[0].length),i=i[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?i:i.replace(/\n+$/,"")});else if(i=this.rules.fences.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"code",lang:i[2],text:i[3]||""});else if(i=this.rules.heading.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"heading",depth:i[1].length,text:i[2]});else if(t&&(i=this.rules.nptable.exec(e))){for(e=e.substring(i[0].length),a={type:"table",header:i[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:i[3].replace(/\n$/,"").split("\n")},c=0;c ?/gm,""),this.token(i,t),this.tokens.push({type:"blockquote_end"});else if(i=this.rules.list.exec(e)){for(e=e.substring(i[0].length),o=i[2],f=o.length>1,this.tokens.push({type:"list_start",ordered:f,start:f?+o:""}),i=i[0].match(this.rules.item),n=!1,h=i.length,c=0;c1&&s.length>1||(e=i.slice(c+1).join("\n")+e,c=h-1)),r=n||/\n\n(?!\s*$)/.test(a),c!==h-1&&(n="\n"===a.charAt(a.length-1),r||(r=n)),this.tokens.push({type:r?"loose_item_start":"list_item_start"}),this.token(a,!1),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(i=this.rules.html.exec(e))e=e.substring(i[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===i[1]||"script"===i[1]||"style"===i[1]),text:i[0]});else if(t&&(i=this.rules.def.exec(e)))e=e.substring(i[0].length),i[3]&&(i[3]=i[3].substring(1,i[3].length-1)),l=i[1].toLowerCase(),this.tokens.links[l]||(this.tokens.links[l]={href:i[2],title:i[3]});else if(t&&(i=this.rules.table.exec(e))){for(e=e.substring(i[0].length),a={type:"table",header:i[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:i[3].replace(/(?: *\| *)?\n$/,"").split("\n")},c=0;c])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:h,tag:/^|^<\/?[a-zA-Z0-9\-]+(?:"[^"]*"|'[^']*'|\s[^<'">\/\s]*)*?\/?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^_([^\s_](?:[^_]|__)+?[^\s_])_\b|^\*((?:\*\*|[^*])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`]?)\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:h,text:/^[\s\S]+?(?=[\\?(?:\s+['"]([\s\S]*?)['"])?\s*/,v.link=c(v.link).replace("inside",v._inside).replace("href",v._href).getRegex(),v.reflink=c(v.reflink).replace("inside",v._inside).getRegex(),v.normal=f({},v),v.pedantic=f({},v.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),v.gfm=f({},v.normal,{escape:c(v.escape).replace("])","~|])").getRegex(),url:c(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("email",v._email).getRegex(),_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:c(v.text).replace("]|","~]|").replace("|","|https?://|ftp://|www\\.|[a-zA-Z0-9.!#$%&'*+/=?^_`{\\|}~-]+@|").getRegex()}),v.breaks=f({},v.gfm,{br:c(v.br).replace("{2,}","*").getRegex(),text:c(v.gfm.text).replace("{2,}","*").getRegex()}),r.rules=v,r.output=function(e,t,n){return new r(t,n).output(e)},r.prototype.output=function(e){for(var t,n,r,i,o="";e;)if(i=this.rules.escape.exec(e))e=e.substring(i[0].length),o+=i[1];else if(i=this.rules.autolink.exec(e))e=e.substring(i[0].length),"@"===i[2]?(n=a(this.mangle(i[1])),r="mailto:"+n):(n=a(i[1]),r=n),o+=this.renderer.link(r,null,n);else if(this.inLink||!(i=this.rules.url.exec(e))){if(i=this.rules.tag.exec(e))!this.inLink&&/^/i.test(i[0])&&(this.inLink=!1),e=e.substring(i[0].length),o+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):a(i[0]):i[0];else if(i=this.rules.link.exec(e))e=e.substring(i[0].length),this.inLink=!0,o+=this.outputLink(i,{href:i[2],title:i[3]}),this.inLink=!1;else if((i=this.rules.reflink.exec(e))||(i=this.rules.nolink.exec(e))){if(e=e.substring(i[0].length),t=(i[2]||i[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){o+=i[0].charAt(0),e=i[0].substring(1)+e;continue}this.inLink=!0,o+=this.outputLink(i,t),this.inLink=!1}else if(i=this.rules.strong.exec(e))e=e.substring(i[0].length),o+=this.renderer.strong(this.output(i[2]||i[1]));else if(i=this.rules.em.exec(e))e=e.substring(i[0].length),o+=this.renderer.em(this.output(i[2]||i[1]));else if(i=this.rules.code.exec(e))e=e.substring(i[0].length),o+=this.renderer.codespan(a(i[2].trim(),!0));else if(i=this.rules.br.exec(e))e=e.substring(i[0].length),o+=this.renderer.br();else if(i=this.rules.del.exec(e))e=e.substring(i[0].length),o+=this.renderer.del(this.output(i[1]));else if(i=this.rules.text.exec(e))e=e.substring(i[0].length),o+=this.renderer.text(a(this.smartypants(i[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else i[0]=this.rules._backpedal.exec(i[0])[0],e=e.substring(i[0].length),"@"===i[2]?(n=a(i[0]),r="mailto:"+n):(n=a(i[0]),r="www."===i[1]?"http://"+n:n),o+=this.renderer.link(r,null,n);return o},r.prototype.outputLink=function(e,t){var n=a(t.href),r=t.title?a(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,a(e[1]))},r.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},r.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;i.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},i.prototype.code=function(e,t,n){if(this.options.highlight){var r=this.options.highlight(e,t);null!=r&&r!==e&&(n=!0,e=r)}return t?'
    '+(n?e:a(e,!0))+"\n
    \n":"
    "+(n?e:a(e,!0))+"\n
    "},i.prototype.blockquote=function(e){return"
    \n"+e+"
    \n"},i.prototype.html=function(e){return e},i.prototype.heading=function(e,t,n){return"'+e+"\n"},i.prototype.hr=function(){return this.options.xhtml?"
    \n":"
    \n"},i.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"},i.prototype.listitem=function(e){return"
  • "+e+"
  • \n"},i.prototype.paragraph=function(e){return"

    "+e+"

    \n"},i.prototype.table=function(e,t){return"\n\n"+e+"\n\n"+t+"\n
    \n"},i.prototype.tablerow=function(e){return"\n"+e+"\n"},i.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">")+e+"\n"},i.prototype.strong=function(e){return""+e+""},i.prototype.em=function(e){return""+e+""},i.prototype.codespan=function(e){return""+e+""},i.prototype.br=function(){return this.options.xhtml?"
    ":"
    "},i.prototype.del=function(e){return""+e+""},i.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(u(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return n}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return n}this.options.baseUrl&&!g.test(e)&&(e=l(this.options.baseUrl,e));var i='
    "},i.prototype.image=function(e,t,n){this.options.baseUrl&&!g.test(e)&&(e=l(this.options.baseUrl,e));var r=''+n+'":">"},i.prototype.text=function(e){return e},o.prototype.strong=o.prototype.em=o.prototype.codespan=o.prototype.del=o.prototype.text=function(e){return e},o.prototype.link=o.prototype.image=function(e,t,n){return""+n},o.prototype.br=function(){return""},s.parse=function(e,t){return new s(t).parse(e)},s.prototype.parse=function(e){this.inline=new r(e.links,this.options),this.inlineText=new r(e.links,f({},this.options,{renderer:new o})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},s.prototype.next=function(){return this.token=this.tokens.pop()},s.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},s.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},s.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,u(this.inlineText.output(this.token.text)));case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i="",o="";for(n="",e=0;e=0&&O.splice(t,1)}function a(e){var t=document.createElement("style");return e.attrs.type="text/css",h(t,e.attrs),o(e,t),t}function c(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",h(t,e.attrs),o(e,t),t}function h(e,t){(0,u.default)(t).forEach(function(n){e.setAttribute(n,t[n])})}function f(e,t){var n,r,i,o;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}if(t.singleton){var u=w++;n=b||(b=a(t)),r=d.bind(null,n,u,!1),i=d.bind(null,n,u,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=c(t),r=_.bind(null,n,t),i=function(){s(n),n.href&&URL.revokeObjectURL(n.href)}):(n=a(t),r=v.bind(null,n),i=function(){s(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}function d(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=S(t,i);else{var o=document.createTextNode(i),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(o,s[t]):e.appendChild(o)}}function v(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function _(e,t,n){var r=n.css,i=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||o)&&(r=x(r)),i&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent((0,l.default)(i))))+" */");var s=new Blob([r],{type:"text/css"}),a=e.href;e.href=URL.createObjectURL(s),a&&URL.revokeObjectURL(a)}var g={},m=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),y=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e.call(this,n)),t[n]}}(function(e){return document.querySelector(e)}),b=null,w=0,O=[],x=n(13);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=("undefined"==typeof document?"undefined":(0,p.default)(document)))throw new Error("The style-loader cannot be used in a non-browser environment");t=t||{},t.attrs="object"==(0,p.default)(t.attrs)?t.attrs:{},t.singleton||(t.singleton=m()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=i(e,t);return r(n,t),function(e){for(var o=[],s=0;su;)r(a,n=t[u++])&&(~o(c,n)||c.push(n));return c}},6:function(e,t,n){e.exports=!n(17)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},61:function(e,t,n){var r=n(30);e.exports=function(e){return Object(r(e))}},62:function(e,t,n){var r=n(23)("meta"),i=n(8),o=n(9),s=n(7).f,a=0,u=Object.isExtensible||function(){return!0},c=!n(17)(function(){return u(Object.preventExtensions({}))}),l=function(e){s(e,r,{value:{i:"O"+ ++a,w:{}}})},h=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!u(e))return"F";if(!t)return"E";l(e)}return e[r].i},f=function(e,t){if(!o(e,r)){if(!u(e))return!0;if(!t)return!1;l(e)}return e[r].w},d=function(e){return c&&p.NEED&&u(e)&&!o(e,r)&&l(e),e},p=e.exports={KEY:r,NEED:!1,fastKey:h,getWeak:f,onFreeze:d}},63:function(e,t){},69:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(87),o=r(i),s=n(79),a=r(s),u="function"==typeof a.default&&"symbol"==typeof o.default?function(e){return typeof e}:function(e){return e&&"function"==typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":typeof e};t.default="function"==typeof a.default&&"symbol"===u(o.default)?function(e){return void 0===e?"undefined":u(e)}:function(e){return e&&"function"==typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":void 0===e?"undefined":u(e)}},7:function(e,t,n){var r=n(16),i=n(54),o=n(31),s=Object.defineProperty;t.f=n(6)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},70:function(e,t,n){"use strict";var r=n(89)(!0);n(44)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},71:function(e,t,n){var r=n(29),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},72:function(e,t,n){n(94);for(var r=n(1),i=n(12),o=n(25),s=n(4)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;uu;)r.f(e,n=s[u++],t[n]);return e}},76:function(e,t,n){var r=n(38);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},77:function(e,t,n){var r=n(1).document;e.exports=r&&r.documentElement},78:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},79:function(e,t,n){e.exports={default:n(96),__esModule:!0}},8:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},80:function(e,t,n){var r=n(38);e.exports=Array.isArray||function(e){return"Array"==r(e)}},81:function(e,t,n){var r=n(13),i=n(47).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(e){try{return i(e)}catch(e){return s.slice()}};e.exports.f=function(e){return s&&"[object Window]"==o.call(e)?a(e):i(r(e))}},82:function(e,t,n){var r=n(36),i=n(22),o=n(13),s=n(31),a=n(9),u=n(54),c=Object.getOwnPropertyDescriptor;t.f=n(6)?c:function(e,t){if(e=o(e),t=s(t,!0),u)try{return c(e,t)}catch(e){}if(a(e,t))return i(!r.f.call(e,t),e[t])}},83:function(e,t,n){var r=n(14),i=n(2),o=n(17);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],s={};s[e]=t(n),r(r.S+r.F*o(function(){n(1)}),"Object",s)}},87:function(e,t,n){e.exports={default:n(88),__esModule:!0}},88:function(e,t,n){n(70),n(72),e.exports=n(28).f("iterator")},89:function(e,t,n){var r=n(29),i=n(30);e.exports=function(e){return function(t,n){var o,s,a=String(i(t)),u=r(n),c=a.length;return u<0||u>=c?e?"":void 0:(o=a.charCodeAt(u),o<55296||o>56319||u+1===c||(s=a.charCodeAt(u+1))<56320||s>57343?e?a.charAt(u):o:e?a.slice(u,u+2):s-56320+(o-55296<<10)+65536)}}},9:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},90:function(e,t,n){"use strict";var r=n(40),i=n(22),o=n(27),s={};n(12)(s,n(4)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(s,{next:i(1,n)}),o(e,t+" Iterator")}},91:function(e,t,n){var r=n(13),i=n(71),o=n(92);e.exports=function(e){return function(t,n,s){var a,u=r(t),c=i(u.length),l=o(s,c);if(e&&n!=n){for(;c>l;)if((a=u[l++])!=a)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}}},92:function(e,t,n){var r=n(29),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},93:function(e,t,n){var r=n(9),i=n(61),o=n(32)("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},94:function(e,t,n){"use strict";var r=n(95),i=n(78),o=n(25),s=n(13);e.exports=n(44)(Array,"Array",function(e,t){this._t=s(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):"keys"==t?i(0,n):"values"==t?i(0,e[n]):i(0,[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},95:function(e,t){e.exports=function(){}},96:function(e,t,n){n(97),n(63),n(99),n(100),e.exports=n(2).Symbol},97:function(e,t,n){"use strict";var r=n(1),i=n(9),o=n(6),s=n(14),a=n(55),u=n(62).KEY,c=n(17),l=n(33),h=n(27),f=n(23),d=n(4),p=n(28),v=n(35),_=n(98),g=n(80),m=n(16),y=n(8),b=n(13),w=n(31),O=n(22),x=n(40),S=n(81),A=n(82),k=n(7),E=n(26),C=A.f,T=k.f,j=S.f,N=r.Symbol,U=r.JSON,I=U&&U.stringify,P=d("_hidden"),R=d("toPrimitive"),L={}.propertyIsEnumerable,D=l("symbol-registry"),M=l("symbols"),q=l("op-symbols"),F=Object.prototype,B="function"==typeof N,$=r.QObject,W=!$||!$.prototype||!$.prototype.findChild,z=o&&c(function(){return 7!=x(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=C(F,t);r&&delete F[t],T(e,t,n),r&&e!==F&&T(F,t,r)}:T,Q=function(e){var t=M[e]=x(N.prototype);return t._k=e,t},V=B&&"symbol"==typeof N.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof N},J=function(e,t,n){return e===F&&J(q,t,n),m(e),t=w(t,!0),m(n),i(M,t)?(n.enumerable?(i(e,P)&&e[P][t]&&(e[P][t]=!1),n=x(n,{enumerable:O(0,!1)})):(i(e,P)||T(e,P,O(1,{})),e[P][t]=!0),z(e,t,n)):T(e,t,n)},H=function(e,t){m(e);for(var n,r=_(t=b(t)),i=0,o=r.length;o>i;)J(e,n=r[i++],t[n]);return e},K=function(e,t){return void 0===t?x(e):H(x(e),t)},G=function(e){var t=L.call(this,e=w(e,!0));return!(this===F&&i(M,e)&&!i(q,e))&&(!(t||!i(this,e)||!i(M,e)||i(this,P)&&this[P][e])||t)},X=function(e,t){if(e=b(e),t=w(t,!0),e!==F||!i(M,t)||i(q,t)){var n=C(e,t);return!n||!i(M,t)||i(e,P)&&e[P][t]||(n.enumerable=!0),n}},Y=function(e){for(var t,n=j(b(e)),r=[],o=0;n.length>o;)i(M,t=n[o++])||t==P||t==u||r.push(t);return r},Z=function(e){for(var t,n=e===F,r=j(n?q:b(e)),o=[],s=0;r.length>s;)!i(M,t=r[s++])||n&&!i(F,t)||o.push(M[t]);return o};B||(N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===F&&t.call(q,n),i(this,P)&&i(this[P],e)&&(this[P][e]=!1),z(this,e,O(1,n))};return o&&W&&z(F,e,{configurable:!0,set:t}),Q(e)},a(N.prototype,"toString",function(){return this._k}),A.f=X,k.f=J,n(47).f=S.f=Y,n(36).f=G,n(46).f=Z,o&&!n(21)&&a(F,"propertyIsEnumerable",G,!0),p.f=function(e){return Q(d(e))}),s(s.G+s.W+s.F*!B,{Symbol:N});for(var ee="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),te=0;ee.length>te;)d(ee[te++]);for(var ne=E(d.store),re=0;ne.length>re;)v(ne[re++]);s(s.S+s.F*!B,"Symbol",{for:function(e){return i(D,e+="")?D[e]:D[e]=N(e)},keyFor:function(e){if(!V(e))throw TypeError(e+" is not a symbol!");for(var t in D)if(D[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),s(s.S+s.F*!B,"Object",{create:K,defineProperty:J,defineProperties:H,getOwnPropertyDescriptor:X,getOwnPropertyNames:Y,getOwnPropertySymbols:Z}),U&&s(s.S+s.F*(!B||c(function(){var e=N();return"[null]"!=I([e])||"{}"!=I({a:e})||"{}"!=I(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(y(t)||void 0!==e)&&!V(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!V(t))return t}),r[1]=t,I.apply(U,r)}}),N.prototype[R]||n(12)(N.prototype,R,N.prototype.valueOf),h(N,"Symbol"),h(Math,"Math",!0),h(r.JSON,"JSON",!0)},98:function(e,t,n){var r=n(26),i=n(46),o=n(36);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var s,a=n(e),u=o.f,c=0;a.length>c;)u.call(e,s=a[c++])&&t.push(s);return t}},99:function(e,t,n){n(35)("asyncIterator")}}); \ No newline at end of file +<<<<<<< HEAD:themes/yilia/source/js/comment.62251492e636f41e00f2.js +!function(n,r){"object"==(0,p.default)(t)&&"object"==(0,p.default)(e)?e.exports=r():(o=[],i=r,void 0!==(s="function"==typeof i?i.apply(t,o):i)&&(e.exports=s))}(0,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||(0,f.default)(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=14)}([function(e,t,n){function r(e){var t=this;return!!e&&t.init(e),t}function i(e){return new r(e)}var o=n(3),s=n(5),a=n(6),c=n(4),h=n(2),f=n(1);a.setOptions({renderer:new a.Renderer,gfm:!0,tables:!0,breaks:!0,pedantic:!0,sanitize:!0,smartLists:!0,smartypants:!0});var d={comment:"",nick:"Anonymous",mail:"",link:"",ua:navigator.userAgent,url:""},p={"zh-cn":{head:{nick:"昵称",mail:"邮箱",link:"网址(http://)"},tips:{comments:"评论",sofa:"还没有评论哦,快来抢沙发吧~",busy:"还在提交中,请稍候...",again:"这么简单也能错,也是没谁了."},ctrl:{reply:"回复",ok:"好的",sure:"确认",cancel:"取消",confirm:"确认",continue:"继续",more:"查看更多...",try:"再试试?"},error:{99:"初始化失败,请检查init中的`el`元素.",100:"初始化失败,请检查你的AppId和AppKey.",401:"未经授权的操作,请检查你的AppId和AppKey.",403:"访问被api域名白名单拒绝,请检查你的安全域名设置."},timeago:{seconds:"秒前",minutes:"分钟前",hours:"小时前",days:"天前",now:"刚刚"}},en:{head:{nick:"NickName",mail:"E-Mail",link:"Website(http://)"},tips:{comments:"Comments",sofa:"No comments yet.",busy:"Submit is busy, please wait...",again:"Sorry, this is a wrong calculation."},ctrl:{reply:"Reply",ok:"Ok",sure:"Sure",cancel:"Cancel",confirm:"Confirm",continue:"Continue",more:"Load More...",try:"Once More?"},error:{99:"Initialization failed, Please check the `el` element in the init method.",100:"Initialization failed, Please check your appId and appKey.",401:"Unauthorized operation, Please check your appId and appKey.",403:"Access denied by api domain white list, Please check your security domain."},timeago:{seconds:"seconds ago",minutes:"minutes ago",hours:"hours ago",days:"days ago",now:"just now"}}},v={cdn:"https://gravatar.loli.net/avatar/",ds:["mm","identicon","monsterid","wavatar","retro",""],params:"",hide:!1},_=["nick","mail","link"],g=Storage&&localStorage&&localStorage instanceof Storage&&localStorage,m=location.pathname.replace(/index\.(html|htm)$/,"");r.prototype.init=function(e){var t=this;try{var n=e.lang||"",r=e.langMode||"",i=v.ds,s=e.avatar||"mm",a=e.avatar_cdn||"";n&&r&&t.installLocale(n,r),t.locale=t.locale||p[e.lang||"zh-cn"],t.notify=e.notify||!1,t.verify=e.verify||!1,v.params="?d="+(i.indexOf(s)>-1?s:"mm"),v.hide="hide"===s,v.cdn=!!a&&a||v.cdn,m=e.path||m,e.guest_info=(e.guest_info||_).filter(function(e){return _.indexOf(e)>-1});var u=Number(e.pageSize||10);if(e.pageSize=isNaN(u)?10:u<1?10:u,!AV)return void setTimeout(function(){t.init(e)},20);var c=e.app_id||e.appId,l=e.app_key||e.appKey,h=(e.region||"cn").toLowerCase(),f=["cn","us"];if(h=f.indexOf(h)>-1?h:f[0],!c||!l)throw 99;AV.applicationId=null,AV.init({appId:c,appKey:l,region:h});for(var d=document.querySelectorAll(".valine-comment-count"),g=0,y=d.length;g-1?'':""});t.placeholder=e.placeholder||"Just Go Go",t.el.innerHTML='
    '+x.join("")+'
    Emoji | Preview
    Valinev1.1.9
    ';var S=t.el.querySelector(".vempty");t.nodata={show:function(e){return S.innerHTML=e||t.locale.tips.sofa,S.setAttribute("style","display:block;"),t},hide:function(){return S.setAttribute("style","display:none;"),t}};var A=document.createElement("div");A.setAttribute("class","vloading");var k=t.el.querySelector(".vlist");t.loading={show:function(e){var n=k.querySelectorAll(".vcard");return e?k.insertBefore(A,n[0]):k.appendChild(A),t.nodata.hide(),t},hide:function(){var e=k.querySelector(".vloading");return e&&k.removeChild(e),0===k.querySelectorAll(".vcard").length&&t.nodata.show(),t}};var E=t.el.querySelector(".vmark");t.alert={show:function(e){E.innerHTML='
    '+(e&&e.text||1)+'
    ';var n=E.querySelector(".vbtns"),r='",i='";if(n.innerHTML=""+r+(e&&e.type&&i),o.Event.on("click",E.querySelector(".vcancel"),function(e){t.alert.hide()}),E.setAttribute("style","display:block;"),e&&e.type){var s=E.querySelector(".vsure");o.Event.on("click",s,function(n){t.alert.hide(),e.cb&&e.cb()})}return t},hide:function(){return E.setAttribute("style","display:none;"),t}},t.el&&AV&&t.bind(e)}catch(e){t.ErrorHandler(e)}return t},r.prototype.Q=function(e){var t=new AV.Query("Comment");return t.equalTo("url",decodeURI(e)),1==arguments.length?t.doesNotExist("rid"):t.equalTo("rid",arguments[1]),t.addDescending("createdAt"),t.addDescending("insertedAt"),t},r.prototype.ErrorHandler=function(e){var t=this;t.el&&t.loading.hide().nodata.hide();var n="";101==e?t.nodata.show():(n="number"==typeof e?"Code "+e+": "+(t.locale.error[e]||e):e,t.el&&t.nodata.show('
    '+n+"
    "),console)},r.prototype.installLocale=function(e,t){var n=this;return t=t||{},p[e]=(0,l.default)((0,u.default)(p["zh-cn"]))==(0,l.default)((0,u.default)(t))?t:void 0,n.locale=p[e]||p["zh-cn"],n},r.prototype.setPath=function(e){return m=e||m,this},r.prototype.bind=function(e){var t=this,n=t.el.querySelector(".vemojis"),r=t.el.querySelector(".vemoji-btn"),i=t.el.querySelector(".vpreview"),u=function(e){var t=e.value||"";t=f.parse(t),e.value=t;var n=a(t);d.comment=n,i.innerHTML=n},p=f.data;for(var _ in p)p.hasOwnProperty(_)&&function(e,t){var r=document.createElement("i");r.setAttribute("name",e),r.setAttribute("title",e),r.innerHTML=t,n.appendChild(r),o.Event.on("click",r,function(e){var n=document.querySelector(".veditor");E(n,t),u(n)})}(_,p[_]);o.Event.on("click",r,function(e){r.getAttribute("v")?(r.removeAttribute("v"),n.setAttribute("style","display:none")):(r.setAttribute("v",1),k.removeAttribute("v"),i.setAttribute("style","display:none"),n.setAttribute("style","display:block"))});for(var b=e.guest_info,w={},O={veditor:"comment"},x=0,S=b.length;x0&&void 0!==arguments[0]?arguments[0]:1,i=e.pageSize,s=Number(t.el.querySelector(".vnum").innerText);t.loading.show();var a=t.Q(m);a.limit(i),a.skip((r-1)*i),a.find().then(function(e){for(var u=e.length,c=0;c'+t.locale.ctrl.more+"":"";var h=l.querySelector(".vmore");h&&o.Event.on("click",h,function(e){l.innerHTML="",n(++r)}),t.loading.hide()}).catch(function(e){t.loading.hide().ErrorHandler(e.code)})};t.Q(m).count().then(function(e){e>0?(t.el.querySelector(".vinfo").setAttribute("style","display:block;"),t.el.querySelector(".vcount").innerHTML=''+e+" "+t.locale.tips.comments,T()):t.loading.hide()}).catch(function(e){t.ErrorHandler(e.code)});var j=function(e,n,r){var i=document.createElement("div");i.setAttribute("class","vcard"),i.setAttribute("id",e.id);var o=v.hide?"":'",a=h(e.get("ua")),u=''+a.browser+" "+a.version+"",l=''+a.os+" "+a.osVersion+"",f="",d=e.get("link")||"";f=d?''+e.get("nick")+"":''+e.get("nick")+"",i.innerHTML=o+'\n
    \n
    '+f+" "+u+" "+l+'
    \n
    \n '+c(e.get("insertedAt")||e.createdAt,t.locale)+"\n '+t.locale.ctrl.reply+'\n
    \n
    \n '+e.get("comment")+"\n
    \n
    ";for(var p=i.querySelector(".vat"),_=i.querySelectorAll("a"),g=0,m=_.length;g180&&(e.classList.add("expand"),o.Event.on("click",e,function(t){e.setAttribute("class","vcontent")}))},20)},I={at:"",rid:"",rmail:""},P=function(e){o.Event.on("click",e,function(t){var n=e.getAttribute("at"),r=e.getAttribute("rid"),i=e.getAttribute("mail");I.at=o.HtmlUtils.escape(n)+" ",I.rid=r,I.rmail=i,w.comment.setAttribute("placeholder",n),w.comment.focus()})},R=function(){var e=g&&g.ValineCache;if(e){e=JSON.parse(e);var n=b;for(var r in n){var i=n[r];t.el.querySelector(".v"+i).value=o.HtmlUtils.unescape(e[i]),d[i]=e[i]}}};R();var L=function(){for(var e in O)if(O.hasOwnProperty(e)){var n=O[e],r=t.el.querySelector("."+e);r.value="",d[n]=""}w.comment.setAttribute("placeholder",t.placeholder),I.at="",I.rid="",I.rmail="",d.nick="Anonymous",R(),i.innerHTML="",i.setAttribute("style","display:none;"),k.removeAttribute("v")},D=t.el.querySelector(".vsubmit"),M=function(e){if(D.getAttribute("disabled"))return void t.alert.show({type:0,text:t.locale.tips.busy+'ヾ(๑╹◡╹)ノ"',ctxt:t.locale.ctrl.ok});if(""==d.comment)return void w.comment.focus();d.nick=d.nick||"Anonymous";var n=y.mail(d.mail),r=y.link(d.link);d.mail=n.k?n.v:"",d.link=r.k?r.v:"",t.notify||t.verify?B(F):F()},q=function(){var e=new AV.ACL;return e.setPublicReadAccess(!0),e.setPublicWriteAccess(!1),e},F=function(){D.setAttribute("disabled",!0),t.loading.show(!0);var e=AV.Object.extend("Comment"),n=new e;d.url=decodeURI(m),d.insertedAt=new Date,I.rid&&(n.set("rid",I.rid),d.comment=I.at+d.comment);for(var r in d)if(d.hasOwnProperty(r)){var i=d[r];n.set(r,i)}n.setACL(q()),n.save().then(function(e){"Anonymous"!=d.nick&&g&&g.setItem("ValineCache",(0,l.default)({nick:d.nick,link:d.link,mail:d.mail}));var n=t.el.querySelector(".vnum"),r=1;try{if(I.rid){var i=t.el.querySelector('.vquote[rid="'+I.rid+'"]')||C(I.rid);j(e,i,!0)}else n?(r=Number(n.innerText)+1,n.innerText=r):t.el.querySelector(".vcount").innerHTML='1 '+t.locale.tips.comments,j(e,t.el.querySelector(".vlist"));d.mail&&$({username:d.nick,mail:d.mail}),I.at&&I.rmail&&t.notify&&W({username:I.at.replace("@",""),mail:I.rmail}),D.removeAttribute("disabled"),t.loading.hide(),L()}catch(e){e.code&&t.ErrorHandler(e.code)||t.ErrorHandler(e)}}).catch(function(e){t.ErrorHandler(e.code)})},B=function e(n){var r=Math.floor(10*Math.random()+1),i=Math.floor(10*Math.random()+1),o=Math.floor(10*Math.random()+1),s=["+","-","x"],a=s[Math.floor(3*Math.random())],u=s[Math.floor(3*Math.random())],c=""+r+a+i+u+o,l=c+" = ";t.alert.show({type:1,text:l,ctxt:t.locale.ctrl.cancel,otxt:t.locale.ctrl.ok,cb:function(){var r=+t.el.querySelector(".vcode").value;new Function("return "+c.replace(/x/g,"*"))()===r?n&&n():t.alert.show({type:1,text:"(T_T)"+t.locale.tips.again,ctxt:t.locale.ctrl.cancel,otxt:t.locale.ctrl.try,cb:function(){e(n)}})}})},$=function(e){var t=new AV.User;return t.setUsername(e.username),t.setPassword(e.mail),t.setEmail(e.mail),t.setACL(q()),t.signUp()},W=function e(n){AV.User.requestPasswordReset(n.mail).then(function(e){}).catch(function(r){1==r.code?t.alert.show({type:0,text:"ヾ(o・ω・)ノ At太频繁啦,提醒功能暂时宕机。
    "+r.error,ctxt:t.locale.ctrl.ok}):$(n).then(function(t){e(n)}).catch(function(e){})})};o.Event.off("click",D,M),o.Event.on("click",D,M),o.Event.on("keyup",document,function(e){var t=e.keyCode||e.which||e.charCode;(e.ctrlKey||e.metaKey)&&13==t&&M()})};var y={mail:function(e){return{k:/[\w-\.]+@([\w-]+\.)+[a-z]{2,3}/.test(e),v:e}},link:function(e){return e=e.length>0&&(/^https?/.test(e)?e:"http://"+e),{k:/^https?:\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:\/~\+#]*[\w\-\@?^=%&\/~\+#])?/.test(e),v:e}}};e.exports=i,e.exports.default=i},function(e,t,n){var r={data:n(8),parse:function(e){return String(e).replace(/:(.+?):/g,function(e,t){return r.data[t]||e})}};e.exports=r},function(e,t,n){function r(e){var t=e||s.userAgent,n=this,r={Trident:t.indexOf("Trident")>-1||t.indexOf("NET CLR")>-1,Presto:t.indexOf("Presto")>-1,WebKit:t.indexOf("AppleWebKit")>-1,Gecko:t.indexOf("Gecko/")>-1,Safari:t.indexOf("Safari")>-1,Chrome:t.indexOf("Chrome")>-1||t.indexOf("CriOS")>-1,IE:t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1,Edge:t.indexOf("Edge")>-1,Firefox:t.indexOf("Firefox")>-1||t.indexOf("FxiOS")>-1,"Firefox Focus":t.indexOf("Focus")>-1,Chromium:t.indexOf("Chromium")>-1,Opera:t.indexOf("Opera")>-1||t.indexOf("OPR")>-1,Vivaldi:t.indexOf("Vivaldi")>-1,Yandex:t.indexOf("YaBrowser")>-1,Kindle:t.indexOf("Kindle")>-1||t.indexOf("Silk/")>-1,360:t.indexOf("360EE")>-1||t.indexOf("360SE")>-1,UC:t.indexOf("UC")>-1||t.indexOf(" UBrowser")>-1,QQBrowser:t.indexOf("QQBrowser")>-1,QQ:t.indexOf("QQ/")>-1,Baidu:t.indexOf("Baidu")>-1||t.indexOf("BIDUBrowser")>-1,Maxthon:t.indexOf("Maxthon")>-1,Sogou:t.indexOf("MetaSr")>-1||t.indexOf("Sogou")>-1,LBBROWSER:t.indexOf("LBBROWSER")>-1,"2345Explorer":t.indexOf("2345Explorer")>-1,TheWorld:t.indexOf("TheWorld")>-1,XiaoMi:t.indexOf("MiuiBrowser")>-1,Quark:t.indexOf("Quark")>-1,Qiyu:t.indexOf("Qiyu")>-1,Wechat:t.indexOf("MicroMessenger")>-1,Taobao:t.indexOf("AliApp(TB")>-1,Alipay:t.indexOf("AliApp(AP")>-1,Weibo:t.indexOf("Weibo")>-1,Douban:t.indexOf("com.douban.frodo")>-1,Suning:t.indexOf("SNEBUY-APP")>-1,iQiYi:t.indexOf("IqiyiApp")>-1,Windows:t.indexOf("Windows")>-1,Linux:t.indexOf("Linux")>-1||t.indexOf("X11")>-1,"Mac OS":t.indexOf("Macintosh")>-1,Android:t.indexOf("Android")>-1||t.indexOf("Adr")>-1,Ubuntu:t.indexOf("Ubuntu")>-1,FreeBSD:t.indexOf("FreeBSD")>-1,Debian:t.indexOf("Debian")>-1,"Windows Phone":t.indexOf("IEMobile")>-1||t.indexOf("Windows Phone")>-1,BlackBerry:t.indexOf("BlackBerry")>-1||t.indexOf("RIM")>-1,MeeGo:t.indexOf("MeeGo")>-1,Symbian:t.indexOf("Symbian")>-1,iOS:t.indexOf("like Mac OS X")>-1,"Chrome OS":t.indexOf("CrOS")>-1,WebOS:t.indexOf("hpwOS")>-1,Mobile:t.indexOf("Mobi")>-1||t.indexOf("iPh")>-1||t.indexOf("480")>-1,Tablet:t.indexOf("Tablet")>-1||t.indexOf("Pad")>-1||t.indexOf("Nexus 7")>-1};r.Mobile?r.Mobile=!(t.indexOf("iPad")>-1):o.showModalDialog&&o.chrome&&(r[360]=!0);var i={engine:["WebKit","Trident","Gecko","Presto"],browser:["Safari","Chrome","Edge","IE","Firefox","Firefox Focus","Chromium","Opera","Vivaldi","Yandex","Kindle","360","UC","QQBrowser","QQ","Baidu","Maxthon","Sogou","LBBROWSER","2345Explorer","TheWorld","XiaoMi","Quark","Qiyu","Wechat","Taobao","Alipay","Weibo","Douban","Suning","iQiYi"],os:["Windows","Linux","Mac OS","Android","Ubuntu","FreeBSD","Debian","iOS","Windows Phone","BlackBerry","MeeGo","Symbian","Chrome OS","WebOS"],device:["Mobile","Tablet"]};n.device="PC",n.language=function(){var e=s.browserLanguage||s.language,t=e.split("-");return t[1]&&(t[1]=t[1].toUpperCase()),t.join("_")}();for(var a in i)for(var u=0;u27?n.engine="Blink":"Opera"==n.browser&&parseInt(n.version)>12?n.engine="Blink":"Yandex"==n.browser?n.engine="Blink":void 0==n.browser&&(n.browser="Unknow App")}function i(e){return new r(e)}var o=window||{},s=navigator||{};e.exports=i},function(e,t,n){function r(e){return e&&c.test(e)?e.replace(u,function(e){return s[e]}):e}function i(e){return e&&h.test(e)?e.replace(l,function(e){return o[e]}):e}var o={},s={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\\":"\"};for(var a in s)o[s[a]]=a;var u=/[&<>"'`\\]/g,c=RegExp(u.source),l=/&(?:amp|lt|gt|quot|#39|#x60|#x5c);/g,h=RegExp(l.source),f={on:function(e,t,n,r){return t.addEventListener?t.addEventListener(e,n,r||!1):t.attachEvent?t.attachEvent("on"+e,n):t["on"+e]=n,this},off:function(e,t,n,r){return t.removeEventListener?t.removeEventListener(e,n,r||!1):t.detachEvent?t.detachEvent("on"+e,n):t["on"+e]=null,this}};e.exports={HtmlUtils:{escape:r,unescape:i},Event:f}},function(e,t,n){var r=function(e,t){if(e)try{var n=e.getTime(),r=(new Date).getTime(),o=r-n,s=Math.floor(o/864e5);if(0===s){var a=o%864e5,u=Math.floor(a/36e5);if(0===u){var c=a%36e5,l=Math.floor(c/6e4);if(0===l){var h=c%6e4;return Math.round(h/1e3)+" "+t.timeago.seconds}return l+" "+t.timeago.minutes}return u+" "+t.timeago.hours}return s<0?t.timeago.now:s<8?s+" "+t.timeago.days:i(e)}catch(e){}},i=function(e){var t=o(e.getDate(),2),n=o(e.getMonth()+1,2);return o(e.getFullYear(),2)+"-"+n+"-"+t},o=function(e,t){for(var n=e.toString();n.length>16)+(t>>16)+(n>>16)<<16|65535&n}function s(e,t){return e<>>32-t}function a(e,t,n,r,i,a){return o(s(o(o(t,e),o(r,a)),i),n)}function u(e,t,n,r,i,o,s){return a(t&n|~t&r,e,t,i,o,s)}function c(e,t,n,r,i,o,s){return a(t&r|n&~r,e,t,i,o,s)}function l(e,t,n,r,i,o,s){return a(t^n^r,e,t,i,o,s)}function h(e,t,n,r,i,o,s){return a(n^(t|~r),e,t,i,o,s)}function f(e,t){e[t>>5]|=128<>>9<<4)]=t;var n,r,i,s,a,f=1732584193,d=-271733879,p=-1732584194,v=271733878;for(n=0;n>5]>>>t%32&255);return n}function p(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t>5]|=(255&e.charCodeAt(t/8))<16&&(i=f(i,8*e.length)),n=0;n<16;n+=1)o[n]=909522486^i[n],s[n]=1549556828^i[n];return r=f(o.concat(p(t)),512+8*t.length),d(f(s.concat(r),640))}function g(e){var t,n,r="0123456789abcdef",i="";for(n=0;n>>4&15)+r.charAt(15&t);return i}function m(e){return unescape(encodeURIComponent(e))}function y(e){return v(m(e))}function b(e){return g(y(e))}function w(e,t){return _(m(e),m(t))}function O(e,t){return g(w(e,t))}function x(e,t,n){return t?n?w(t,e):O(t,e):n?y(e):b(e)}void 0!==(r=function(){return x}.call(t,n,t,e))&&(e.exports=r)}()},function(e,t,n){(function(t){!function(t){function n(e){this.tokens=[],this.tokens.links={},this.options=e||d.defaults,this.rules=p.normal,this.options.gfm&&(this.options.tables?this.rules=p.tables:this.rules=p.gfm)}function r(e,t){if(this.options=t||d.defaults,this.links=e,this.rules=v.normal,this.renderer=this.options.renderer||new i,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=v.breaks:this.rules=v.gfm:this.options.pedantic&&(this.rules=v.pedantic)}function i(e){this.options=e||{}}function o(){}function s(e){this.tokens=[],this.token=null,this.options=e||d.defaults,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options}function a(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function u(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}function c(e,t){return e=e.source,t=t||"",{replace:function(t,n){return n=n.source||n,n=n.replace(/(^|[^\[])\^/g,"$1"),e=e.replace(t,n),this},getRegex:function(){return new RegExp(e,t)}}}function l(e,t){return _[" "+e]||(/^[^:]+:\/*[^\/]*$/.test(e)?_[" "+e]=e+"/":_[" "+e]=e.replace(/[^\/]*$/,"")),e=_[" "+e],"//"===t.slice(0,2)?e.replace(/:[\s\S]*/,":")+t:"/"===t.charAt(0)?e.replace(/(:\/*[^\/]*)[\s\S]*/,"$1")+t:e+t}function h(){}function f(e){for(var t,n,r=1;rAn error occurred:

    "+a(e.message+"",!0)+"
    ";throw e}}var p={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:h,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:h,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:h,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n?(?!hr|heading|lheading| {0,3}>|tag)[^\n]+)+)/,text:/^[^\n]+/};p._label=/(?:\\[\[\]]|[^\[\]])+/,p._title=/(?:"(?:\\"|[^"]|"[^"\n]*")*"|'\n?(?:[^'\n]+\n?)*'|\([^()]*\))/,p.def=c(p.def).replace("label",p._label).replace("title",p._title).getRegex(),p.bullet=/(?:[*+-]|\d+\.)/,p.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,p.item=c(p.item,"gm").replace(/bull/g,p.bullet).getRegex(),p.list=c(p.list).replace(/bull/g,p.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+p.def.source+")").getRegex(),p._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b",p.html=c(p.html).replace("comment",//).replace("closed",/<(tag)[\s\S]+?<\/\1>/).replace("closing",/\s]*)*?\/?>/).replace(/tag/g,p._tag).getRegex(),p.paragraph=c(p.paragraph).replace("hr",p.hr).replace("heading",p.heading).replace("lheading",p.lheading).replace("tag","<"+p._tag).getRegex(),p.blockquote=c(p.blockquote).replace("paragraph",p.paragraph).getRegex(),p.normal=f({},p),p.gfm=f({},p.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\n? *\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),p.gfm.paragraph=c(p.paragraph).replace("(?!","(?!"+p.gfm.fences.source.replace("\\1","\\2")+"|"+p.list.source.replace("\\1","\\3")+"|").getRegex(),p.tables=f({},p.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),n.rules=p,n.lex=function(e,t){return new n(t).lex(e)},n.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},n.prototype.token=function(e,t){e=e.replace(/^ +$/gm,"");for(var n,r,i,o,s,a,u,c,l,h,f;e;)if((i=this.rules.newline.exec(e))&&(e=e.substring(i[0].length),i[0].length>1&&this.tokens.push({type:"space"})),i=this.rules.code.exec(e))e=e.substring(i[0].length),i=i[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?i:i.replace(/\n+$/,"")});else if(i=this.rules.fences.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"code",lang:i[2],text:i[3]||""});else if(i=this.rules.heading.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"heading",depth:i[1].length,text:i[2]});else if(t&&(i=this.rules.nptable.exec(e))){for(e=e.substring(i[0].length),a={type:"table",header:i[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:i[3].replace(/\n$/,"").split("\n")},c=0;c ?/gm,""),this.token(i,t),this.tokens.push({type:"blockquote_end"});else if(i=this.rules.list.exec(e)){for(e=e.substring(i[0].length),o=i[2],f=o.length>1,this.tokens.push({type:"list_start",ordered:f,start:f?+o:""}),i=i[0].match(this.rules.item),n=!1,h=i.length,c=0;c1&&s.length>1||(e=i.slice(c+1).join("\n")+e,c=h-1)),r=n||/\n\n(?!\s*$)/.test(a),c!==h-1&&(n="\n"===a.charAt(a.length-1),r||(r=n)),this.tokens.push({type:r?"loose_item_start":"list_item_start"}),this.token(a,!1),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(i=this.rules.html.exec(e))e=e.substring(i[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===i[1]||"script"===i[1]||"style"===i[1]),text:i[0]});else if(t&&(i=this.rules.def.exec(e)))e=e.substring(i[0].length),i[3]&&(i[3]=i[3].substring(1,i[3].length-1)),l=i[1].toLowerCase(),this.tokens.links[l]||(this.tokens.links[l]={href:i[2],title:i[3]});else if(t&&(i=this.rules.table.exec(e))){for(e=e.substring(i[0].length),a={type:"table",header:i[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:i[3].replace(/(?: *\| *)?\n$/,"").split("\n")},c=0;c])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:h,tag:/^|^<\/?[a-zA-Z0-9\-]+(?:"[^"]*"|'[^']*'|\s[^<'">\/\s]*)*?\/?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^_([^\s_](?:[^_]|__)+?[^\s_])_\b|^\*((?:\*\*|[^*])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`]?)\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:h,text:/^[\s\S]+?(?=[\\?(?:\s+['"]([\s\S]*?)['"])?\s*/,v.link=c(v.link).replace("inside",v._inside).replace("href",v._href).getRegex(),v.reflink=c(v.reflink).replace("inside",v._inside).getRegex(),v.normal=f({},v),v.pedantic=f({},v.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),v.gfm=f({},v.normal,{escape:c(v.escape).replace("])","~|])").getRegex(),url:c(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("email",v._email).getRegex(),_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:c(v.text).replace("]|","~]|").replace("|","|https?://|ftp://|www\\.|[a-zA-Z0-9.!#$%&'*+/=?^_`{\\|}~-]+@|").getRegex()}),v.breaks=f({},v.gfm,{br:c(v.br).replace("{2,}","*").getRegex(),text:c(v.gfm.text).replace("{2,}","*").getRegex()}),r.rules=v,r.output=function(e,t,n){return new r(t,n).output(e)},r.prototype.output=function(e){for(var t,n,r,i,o="";e;)if(i=this.rules.escape.exec(e))e=e.substring(i[0].length),o+=i[1];else if(i=this.rules.autolink.exec(e))e=e.substring(i[0].length),"@"===i[2]?(n=a(this.mangle(i[1])),r="mailto:"+n):(n=a(i[1]),r=n),o+=this.renderer.link(r,null,n);else if(this.inLink||!(i=this.rules.url.exec(e))){if(i=this.rules.tag.exec(e))!this.inLink&&/^/i.test(i[0])&&(this.inLink=!1),e=e.substring(i[0].length),o+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):a(i[0]):i[0];else if(i=this.rules.link.exec(e))e=e.substring(i[0].length),this.inLink=!0,o+=this.outputLink(i,{href:i[2],title:i[3]}),this.inLink=!1;else if((i=this.rules.reflink.exec(e))||(i=this.rules.nolink.exec(e))){if(e=e.substring(i[0].length),t=(i[2]||i[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){o+=i[0].charAt(0),e=i[0].substring(1)+e;continue}this.inLink=!0,o+=this.outputLink(i,t),this.inLink=!1}else if(i=this.rules.strong.exec(e))e=e.substring(i[0].length),o+=this.renderer.strong(this.output(i[2]||i[1]));else if(i=this.rules.em.exec(e))e=e.substring(i[0].length),o+=this.renderer.em(this.output(i[2]||i[1]));else if(i=this.rules.code.exec(e))e=e.substring(i[0].length),o+=this.renderer.codespan(a(i[2].trim(),!0));else if(i=this.rules.br.exec(e))e=e.substring(i[0].length),o+=this.renderer.br();else if(i=this.rules.del.exec(e))e=e.substring(i[0].length),o+=this.renderer.del(this.output(i[1]));else if(i=this.rules.text.exec(e))e=e.substring(i[0].length),o+=this.renderer.text(a(this.smartypants(i[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else i[0]=this.rules._backpedal.exec(i[0])[0],e=e.substring(i[0].length),"@"===i[2]?(n=a(i[0]),r="mailto:"+n):(n=a(i[0]),r="www."===i[1]?"http://"+n:n),o+=this.renderer.link(r,null,n);return o},r.prototype.outputLink=function(e,t){var n=a(t.href),r=t.title?a(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,a(e[1]))},r.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},r.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;i.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},i.prototype.code=function(e,t,n){if(this.options.highlight){var r=this.options.highlight(e,t);null!=r&&r!==e&&(n=!0,e=r)}return t?'
    '+(n?e:a(e,!0))+"\n
    \n":"
    "+(n?e:a(e,!0))+"\n
    "},i.prototype.blockquote=function(e){return"
    \n"+e+"
    \n"},i.prototype.html=function(e){return e},i.prototype.heading=function(e,t,n){return"'+e+"\n"},i.prototype.hr=function(){return this.options.xhtml?"
    \n":"
    \n"},i.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"},i.prototype.listitem=function(e){return"
  • "+e+"
  • \n"},i.prototype.paragraph=function(e){return"

    "+e+"

    \n"},i.prototype.table=function(e,t){return"\n\n"+e+"\n\n"+t+"\n
    \n"},i.prototype.tablerow=function(e){return"\n"+e+"\n"},i.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">")+e+"\n"},i.prototype.strong=function(e){return""+e+""},i.prototype.em=function(e){return""+e+""},i.prototype.codespan=function(e){return""+e+""},i.prototype.br=function(){return this.options.xhtml?"
    ":"
    "},i.prototype.del=function(e){return""+e+""},i.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(u(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return n}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return n}this.options.baseUrl&&!g.test(e)&&(e=l(this.options.baseUrl,e));var i='
    "},i.prototype.image=function(e,t,n){this.options.baseUrl&&!g.test(e)&&(e=l(this.options.baseUrl,e));var r=''+n+'":">"},i.prototype.text=function(e){return e},o.prototype.strong=o.prototype.em=o.prototype.codespan=o.prototype.del=o.prototype.text=function(e){return e},o.prototype.link=o.prototype.image=function(e,t,n){return""+n},o.prototype.br=function(){return""},s.parse=function(e,t){return new s(t).parse(e)},s.prototype.parse=function(e){this.inline=new r(e.links,this.options),this.inlineText=new r(e.links,f({},this.options,{renderer:new o})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},s.prototype.next=function(){return this.token=this.tokens.pop()},s.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},s.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},s.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,u(this.inlineText.output(this.token.text)));case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i="",o="";for(n="",e=0;e=0&&O.splice(t,1)}function a(e){var t=document.createElement("style");return e.attrs.type="text/css",h(t,e.attrs),o(e,t),t}function c(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",h(t,e.attrs),o(e,t),t}function h(e,t){(0,u.default)(t).forEach(function(n){e.setAttribute(n,t[n])})}function f(e,t){var n,r,i,o;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}if(t.singleton){var u=w++;n=b||(b=a(t)),r=d.bind(null,n,u,!1),i=d.bind(null,n,u,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=c(t),r=_.bind(null,n,t),i=function(){s(n),n.href&&URL.revokeObjectURL(n.href)}):(n=a(t),r=v.bind(null,n),i=function(){s(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}function d(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=S(t,i);else{var o=document.createTextNode(i),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(o,s[t]):e.appendChild(o)}}function v(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function _(e,t,n){var r=n.css,i=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||o)&&(r=x(r)),i&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent((0,l.default)(i))))+" */");var s=new Blob([r],{type:"text/css"}),a=e.href;e.href=URL.createObjectURL(s),a&&URL.revokeObjectURL(a)}var g={},m=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),y=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e.call(this,n)),t[n]}}(function(e){return document.querySelector(e)}),b=null,w=0,O=[],x=n(13);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=("undefined"==typeof document?"undefined":(0,p.default)(document)))throw new Error("The style-loader cannot be used in a non-browser environment");t=t||{},t.attrs="object"==(0,p.default)(t.attrs)?t.attrs:{},t.singleton||(t.singleton=m()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=i(e,t);return r(n,t),function(e){for(var o=[],s=0;su;)r(a,n=t[u++])&&(~o(c,n)||c.push(n));return c}},6:function(e,t,n){e.exports=!n(17)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},61:function(e,t,n){var r=n(30);e.exports=function(e){return Object(r(e))}},62:function(e,t,n){var r=n(23)("meta"),i=n(8),o=n(9),s=n(7).f,a=0,u=Object.isExtensible||function(){return!0},c=!n(17)(function(){return u(Object.preventExtensions({}))}),l=function(e){s(e,r,{value:{i:"O"+ ++a,w:{}}})},h=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!u(e))return"F";if(!t)return"E";l(e)}return e[r].i},f=function(e,t){if(!o(e,r)){if(!u(e))return!0;if(!t)return!1;l(e)}return e[r].w},d=function(e){return c&&p.NEED&&u(e)&&!o(e,r)&&l(e),e},p=e.exports={KEY:r,NEED:!1,fastKey:h,getWeak:f,onFreeze:d}},63:function(e,t){},69:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(87),o=r(i),s=n(79),a=r(s),u="function"==typeof a.default&&"symbol"==typeof o.default?function(e){return typeof e}:function(e){return e&&"function"==typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":typeof e};t.default="function"==typeof a.default&&"symbol"===u(o.default)?function(e){return void 0===e?"undefined":u(e)}:function(e){return e&&"function"==typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":void 0===e?"undefined":u(e)}},7:function(e,t,n){var r=n(16),i=n(54),o=n(31),s=Object.defineProperty;t.f=n(6)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},70:function(e,t,n){"use strict";var r=n(89)(!0);n(44)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},71:function(e,t,n){var r=n(29),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},72:function(e,t,n){n(94);for(var r=n(1),i=n(12),o=n(25),s=n(4)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;uu;)r.f(e,n=s[u++],t[n]);return e}},76:function(e,t,n){var r=n(38);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},77:function(e,t,n){var r=n(1).document;e.exports=r&&r.documentElement},78:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},79:function(e,t,n){e.exports={default:n(96),__esModule:!0}},8:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},80:function(e,t,n){var r=n(38);e.exports=Array.isArray||function(e){return"Array"==r(e)}},81:function(e,t,n){var r=n(13),i=n(47).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(e){try{return i(e)}catch(e){return s.slice()}};e.exports.f=function(e){return s&&"[object Window]"==o.call(e)?a(e):i(r(e))}},82:function(e,t,n){var r=n(36),i=n(22),o=n(13),s=n(31),a=n(9),u=n(54),c=Object.getOwnPropertyDescriptor;t.f=n(6)?c:function(e,t){if(e=o(e),t=s(t,!0),u)try{return c(e,t)}catch(e){}if(a(e,t))return i(!r.f.call(e,t),e[t])}},83:function(e,t,n){var r=n(14),i=n(2),o=n(17);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],s={};s[e]=t(n),r(r.S+r.F*o(function(){n(1)}),"Object",s)}},87:function(e,t,n){e.exports={default:n(88),__esModule:!0}},88:function(e,t,n){n(70),n(72),e.exports=n(28).f("iterator")},89:function(e,t,n){var r=n(29),i=n(30);e.exports=function(e){return function(t,n){var o,s,a=String(i(t)),u=r(n),c=a.length;return u<0||u>=c?e?"":void 0:(o=a.charCodeAt(u),o<55296||o>56319||u+1===c||(s=a.charCodeAt(u+1))<56320||s>57343?e?a.charAt(u):o:e?a.slice(u,u+2):s-56320+(o-55296<<10)+65536)}}},9:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},90:function(e,t,n){"use strict";var r=n(40),i=n(22),o=n(27),s={};n(12)(s,n(4)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(s,{next:i(1,n)}),o(e,t+" Iterator")}},91:function(e,t,n){var r=n(13),i=n(71),o=n(92);e.exports=function(e){return function(t,n,s){var a,u=r(t),c=i(u.length),l=o(s,c);if(e&&n!=n){for(;c>l;)if((a=u[l++])!=a)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}}},92:function(e,t,n){var r=n(29),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},93:function(e,t,n){var r=n(9),i=n(61),o=n(32)("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},94:function(e,t,n){"use strict";var r=n(95),i=n(78),o=n(25),s=n(13);e.exports=n(44)(Array,"Array",function(e,t){this._t=s(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):"keys"==t?i(0,n):"values"==t?i(0,e[n]):i(0,[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},95:function(e,t){e.exports=function(){}},96:function(e,t,n){n(97),n(63),n(99),n(100),e.exports=n(2).Symbol},97:function(e,t,n){"use strict";var r=n(1),i=n(9),o=n(6),s=n(14),a=n(55),u=n(62).KEY,c=n(17),l=n(33),h=n(27),f=n(23),d=n(4),p=n(28),v=n(35),_=n(98),g=n(80),m=n(16),y=n(8),b=n(13),w=n(31),O=n(22),x=n(40),S=n(81),A=n(82),k=n(7),E=n(26),C=A.f,T=k.f,j=S.f,N=r.Symbol,U=r.JSON,I=U&&U.stringify,P=d("_hidden"),R=d("toPrimitive"),L={}.propertyIsEnumerable,D=l("symbol-registry"),M=l("symbols"),q=l("op-symbols"),F=Object.prototype,B="function"==typeof N,$=r.QObject,W=!$||!$.prototype||!$.prototype.findChild,z=o&&c(function(){return 7!=x(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=C(F,t);r&&delete F[t],T(e,t,n),r&&e!==F&&T(F,t,r)}:T,Q=function(e){var t=M[e]=x(N.prototype);return t._k=e,t},V=B&&"symbol"==typeof N.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof N},J=function(e,t,n){return e===F&&J(q,t,n),m(e),t=w(t,!0),m(n),i(M,t)?(n.enumerable?(i(e,P)&&e[P][t]&&(e[P][t]=!1),n=x(n,{enumerable:O(0,!1)})):(i(e,P)||T(e,P,O(1,{})),e[P][t]=!0),z(e,t,n)):T(e,t,n)},H=function(e,t){m(e);for(var n,r=_(t=b(t)),i=0,o=r.length;o>i;)J(e,n=r[i++],t[n]);return e},K=function(e,t){return void 0===t?x(e):H(x(e),t)},G=function(e){var t=L.call(this,e=w(e,!0));return!(this===F&&i(M,e)&&!i(q,e))&&(!(t||!i(this,e)||!i(M,e)||i(this,P)&&this[P][e])||t)},X=function(e,t){if(e=b(e),t=w(t,!0),e!==F||!i(M,t)||i(q,t)){var n=C(e,t);return!n||!i(M,t)||i(e,P)&&e[P][t]||(n.enumerable=!0),n}},Y=function(e){for(var t,n=j(b(e)),r=[],o=0;n.length>o;)i(M,t=n[o++])||t==P||t==u||r.push(t);return r},Z=function(e){for(var t,n=e===F,r=j(n?q:b(e)),o=[],s=0;r.length>s;)!i(M,t=r[s++])||n&&!i(F,t)||o.push(M[t]);return o};B||(N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===F&&t.call(q,n),i(this,P)&&i(this[P],e)&&(this[P][e]=!1),z(this,e,O(1,n))};return o&&W&&z(F,e,{configurable:!0,set:t}),Q(e)},a(N.prototype,"toString",function(){return this._k}),A.f=X,k.f=J,n(47).f=S.f=Y,n(36).f=G,n(46).f=Z,o&&!n(21)&&a(F,"propertyIsEnumerable",G,!0),p.f=function(e){return Q(d(e))}),s(s.G+s.W+s.F*!B,{Symbol:N});for(var ee="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),te=0;ee.length>te;)d(ee[te++]);for(var ne=E(d.store),re=0;ne.length>re;)v(ne[re++]);s(s.S+s.F*!B,"Symbol",{for:function(e){return i(D,e+="")?D[e]:D[e]=N(e)},keyFor:function(e){if(!V(e))throw TypeError(e+" is not a symbol!");for(var t in D)if(D[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),s(s.S+s.F*!B,"Object",{create:K,defineProperty:J,defineProperties:H,getOwnPropertyDescriptor:X,getOwnPropertyNames:Y,getOwnPropertySymbols:Z}),U&&s(s.S+s.F*(!B||c(function(){var e=N();return"[null]"!=I([e])||"{}"!=I({a:e})||"{}"!=I(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(y(t)||void 0!==e)&&!V(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!V(t))return t}),r[1]=t,I.apply(U,r)}}),N.prototype[R]||n(12)(N.prototype,R,N.prototype.valueOf),h(N,"Symbol"),h(Math,"Math",!0),h(r.JSON,"JSON",!0)},98:function(e,t,n){var r=n(26),i=n(46),o=n(36);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var s,a=n(e),u=o.f,c=0;a.length>c;)u.call(e,s=a[c++])&&t.push(s);return t}},99:function(e,t,n){n(35)("asyncIterator")}}); +======= +!function(n,r){"object"==(0,p.default)(t)&&"object"==(0,p.default)(e)?e.exports=r():(o=[],i=r,void 0!==(s="function"==typeof i?i.apply(t,o):i)&&(e.exports=s))}(0,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||(0,f.default)(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=14)}([function(e,t,n){function r(e){var t=this;return!!e&&t.init(e),t}function i(e){return new r(e)}var o=n(3),s=n(5),a=n(6),c=n(4),h=n(2),f=n(1);a.setOptions({renderer:new a.Renderer,gfm:!0,tables:!0,breaks:!0,pedantic:!0,sanitize:!0,smartLists:!0,smartypants:!0});var d={comment:"",nick:"Anonymous",mail:"",link:"",ua:navigator.userAgent,url:""},p={"zh-cn":{head:{nick:"昵称",mail:"邮箱",link:"网址(http://)"},tips:{comments:"评论",sofa:"还没有评论哦,快来抢沙发吧~",busy:"还在提交中,请稍候...",again:"这么简单也能错,也是没谁了."},ctrl:{reply:"回复",ok:"好的",sure:"确认",cancel:"取消",confirm:"确认",continue:"继续",more:"查看更多...",try:"再试试?"},error:{99:"初始化失败,请检查init中的`el`元素.",100:"初始化失败,请检查你的AppId和AppKey.",401:"未经授权的操作,请检查你的AppId和AppKey.",403:"访问被api域名白名单拒绝,请检查你的安全域名设置."},timeago:{seconds:"秒前",minutes:"分钟前",hours:"小时前",days:"天前",now:"刚刚"}},en:{head:{nick:"NickName",mail:"E-Mail",link:"Website(http://)"},tips:{comments:"Comments",sofa:"No comments yet.",busy:"Submit is busy, please wait...",again:"Sorry, this is a wrong calculation."},ctrl:{reply:"Reply",ok:"Ok",sure:"Sure",cancel:"Cancel",confirm:"Confirm",continue:"Continue",more:"Load More...",try:"Once More?"},error:{99:"Initialization failed, Please check the `el` element in the init method.",100:"Initialization failed, Please check your appId and appKey.",401:"Unauthorized operation, Please check your appId and appKey.",403:"Access denied by api domain white list, Please check your security domain."},timeago:{seconds:"seconds ago",minutes:"minutes ago",hours:"hours ago",days:"days ago",now:"just now"}}},v={cdn:"https://gravatar.loli.net/avatar/",ds:["mm","identicon","monsterid","wavatar","retro",""],params:"",hide:!1},_=["nick","mail","link"],g=Storage&&localStorage&&localStorage instanceof Storage&&localStorage,m=location.pathname.replace(/index\.(html|htm)$/,"");r.prototype.init=function(e){var t=this;try{var n=e.lang||"",r=e.langMode||"",i=v.ds,s=e.avatar||"mm",a=e.avatar_cdn||"";n&&r&&t.installLocale(n,r),t.locale=t.locale||p[e.lang||"zh-cn"],t.notify=e.notify||!1,t.verify=e.verify||!1,v.params="?d="+(i.indexOf(s)>-1?s:"mm"),v.hide="hide"===s,v.cdn=!!a&&a||v.cdn,m=e.path||m,e.guest_info=(e.guest_info||_).filter(function(e){return _.indexOf(e)>-1});var u=Number(e.pageSize||10);if(e.pageSize=isNaN(u)?10:u<1?10:u,!AV)return void setTimeout(function(){t.init(e)},20);var c=e.app_id||e.appId,l=e.app_key||e.appKey,h=(e.region||"cn").toLowerCase(),f=["cn","us"];if(h=f.indexOf(h)>-1?h:f[0],!c||!l)throw 99;AV.applicationId=null,AV.init({appId:c,appKey:l,region:h});for(var d=document.querySelectorAll(".valine-comment-count"),g=0,y=d.length;g-1?'':""});t.placeholder=e.placeholder||"Just Go Go",t.el.innerHTML='
    '+x.join("")+'
    Emoji | Preview
    Powered By Valine
    v1.1.9
    ';var S=t.el.querySelector(".vempty");t.nodata={show:function(e){return S.innerHTML=e||t.locale.tips.sofa,S.setAttribute("style","display:block;"),t},hide:function(){return S.setAttribute("style","display:none;"),t}};var A=document.createElement("div");A.setAttribute("class","vloading");var k=t.el.querySelector(".vlist");t.loading={show:function(e){var n=k.querySelectorAll(".vcard");return e?k.insertBefore(A,n[0]):k.appendChild(A),t.nodata.hide(),t},hide:function(){var e=k.querySelector(".vloading");return e&&k.removeChild(e),0===k.querySelectorAll(".vcard").length&&t.nodata.show(),t}};var E=t.el.querySelector(".vmark");t.alert={show:function(e){E.innerHTML='
    '+(e&&e.text||1)+'
    ';var n=E.querySelector(".vbtns"),r='",i='";if(n.innerHTML=""+r+(e&&e.type&&i),o.Event.on("click",E.querySelector(".vcancel"),function(e){t.alert.hide()}),E.setAttribute("style","display:block;"),e&&e.type){var s=E.querySelector(".vsure");o.Event.on("click",s,function(n){t.alert.hide(),e.cb&&e.cb()})}return t},hide:function(){return E.setAttribute("style","display:none;"),t}},t.el&&AV&&t.bind(e)}catch(e){t.ErrorHandler(e)}return t},r.prototype.Q=function(e){var t=new AV.Query("Comment");return t.equalTo("url",decodeURI(e)),1==arguments.length?t.doesNotExist("rid"):t.equalTo("rid",arguments[1]),t.addDescending("createdAt"),t.addDescending("insertedAt"),t},r.prototype.ErrorHandler=function(e){var t=this;t.el&&t.loading.hide().nodata.hide();var n="";101==e?t.nodata.show():(n="number"==typeof e?"Code "+e+": "+(t.locale.error[e]||e):e,t.el&&t.nodata.show('
    '+n+"
    "),console)},r.prototype.installLocale=function(e,t){var n=this;return t=t||{},p[e]=(0,l.default)((0,u.default)(p["zh-cn"]))==(0,l.default)((0,u.default)(t))?t:void 0,n.locale=p[e]||p["zh-cn"],n},r.prototype.setPath=function(e){return m=e||m,this},r.prototype.bind=function(e){var t=this,n=t.el.querySelector(".vemojis"),r=t.el.querySelector(".vemoji-btn"),i=t.el.querySelector(".vpreview"),u=function(e){var t=e.value||"";t=f.parse(t),e.value=t;var n=a(t);d.comment=n,i.innerHTML=n},p=f.data;for(var _ in p)p.hasOwnProperty(_)&&function(e,t){var r=document.createElement("i");r.setAttribute("name",e),r.setAttribute("title",e),r.innerHTML=t,n.appendChild(r),o.Event.on("click",r,function(e){var n=document.querySelector(".veditor");E(n,t),u(n)})}(_,p[_]);o.Event.on("click",r,function(e){r.getAttribute("v")?(r.removeAttribute("v"),n.setAttribute("style","display:none")):(r.setAttribute("v",1),k.removeAttribute("v"),i.setAttribute("style","display:none"),n.setAttribute("style","display:block"))});for(var b=e.guest_info,w={},O={veditor:"comment"},x=0,S=b.length;x0&&void 0!==arguments[0]?arguments[0]:1,i=e.pageSize,s=Number(t.el.querySelector(".vnum").innerText);t.loading.show();var a=t.Q(m);a.limit(i),a.skip((r-1)*i),a.find().then(function(e){for(var u=e.length,c=0;c'+t.locale.ctrl.more+"":"";var h=l.querySelector(".vmore");h&&o.Event.on("click",h,function(e){l.innerHTML="",n(++r)}),t.loading.hide()}).catch(function(e){t.loading.hide().ErrorHandler(e.code)})};t.Q(m).count().then(function(e){e>0?(t.el.querySelector(".vinfo").setAttribute("style","display:block;"),t.el.querySelector(".vcount").innerHTML=''+e+" "+t.locale.tips.comments,T()):t.loading.hide()}).catch(function(e){t.ErrorHandler(e.code)});var j=function(e,n,r){var i=document.createElement("div");i.setAttribute("class","vcard"),i.setAttribute("id",e.id);var o=v.hide?"":'",a=h(e.get("ua")),u=''+a.browser+" "+a.version+"",l=''+a.os+" "+a.osVersion+"",f="",d=e.get("link")||"";f=d?''+e.get("nick")+"":''+e.get("nick")+"",i.innerHTML=o+'\n
    \n
    '+f+" "+u+" "+l+'
    \n
    \n '+c(e.get("insertedAt")||e.createdAt,t.locale)+"\n '+t.locale.ctrl.reply+'\n
    \n
    \n '+e.get("comment")+"\n
    \n
    ";for(var p=i.querySelector(".vat"),_=i.querySelectorAll("a"),g=0,m=_.length;g180&&(e.classList.add("expand"),o.Event.on("click",e,function(t){e.setAttribute("class","vcontent")}))},20)},I={at:"",rid:"",rmail:""},P=function(e){o.Event.on("click",e,function(t){var n=e.getAttribute("at"),r=e.getAttribute("rid"),i=e.getAttribute("mail");I.at=o.HtmlUtils.escape(n)+" ",I.rid=r,I.rmail=i,w.comment.setAttribute("placeholder",n),w.comment.focus()})},R=function(){var e=g&&g.ValineCache;if(e){e=JSON.parse(e);var n=b;for(var r in n){var i=n[r];t.el.querySelector(".v"+i).value=o.HtmlUtils.unescape(e[i]),d[i]=e[i]}}};R();var L=function(){for(var e in O)if(O.hasOwnProperty(e)){var n=O[e],r=t.el.querySelector("."+e);r.value="",d[n]=""}w.comment.setAttribute("placeholder",t.placeholder),I.at="",I.rid="",I.rmail="",d.nick="Anonymous",R(),i.innerHTML="",i.setAttribute("style","display:none;"),k.removeAttribute("v")},D=t.el.querySelector(".vsubmit"),M=function(e){if(D.getAttribute("disabled"))return void t.alert.show({type:0,text:t.locale.tips.busy+'ヾ(๑╹◡╹)ノ"',ctxt:t.locale.ctrl.ok});if(""==d.comment)return void w.comment.focus();d.nick=d.nick||"Anonymous";var n=y.mail(d.mail),r=y.link(d.link);d.mail=n.k?n.v:"",d.link=r.k?r.v:"",t.notify||t.verify?B(F):F()},q=function(){var e=new AV.ACL;return e.setPublicReadAccess(!0),e.setPublicWriteAccess(!1),e},F=function(){D.setAttribute("disabled",!0),t.loading.show(!0);var e=AV.Object.extend("Comment"),n=new e;d.url=decodeURI(m),d.insertedAt=new Date,I.rid&&(n.set("rid",I.rid),d.comment=I.at+d.comment);for(var r in d)if(d.hasOwnProperty(r)){var i=d[r];n.set(r,i)}n.setACL(q()),n.save().then(function(e){"Anonymous"!=d.nick&&g&&g.setItem("ValineCache",(0,l.default)({nick:d.nick,link:d.link,mail:d.mail}));var n=t.el.querySelector(".vnum"),r=1;try{if(I.rid){var i=t.el.querySelector('.vquote[rid="'+I.rid+'"]')||C(I.rid);j(e,i,!0)}else n?(r=Number(n.innerText)+1,n.innerText=r):t.el.querySelector(".vcount").innerHTML='1 '+t.locale.tips.comments,j(e,t.el.querySelector(".vlist"));d.mail&&$({username:d.nick,mail:d.mail}),I.at&&I.rmail&&t.notify&&W({username:I.at.replace("@",""),mail:I.rmail}),D.removeAttribute("disabled"),t.loading.hide(),L()}catch(e){e.code&&t.ErrorHandler(e.code)||t.ErrorHandler(e)}}).catch(function(e){t.ErrorHandler(e.code)})},B=function e(n){var r=Math.floor(10*Math.random()+1),i=Math.floor(10*Math.random()+1),o=Math.floor(10*Math.random()+1),s=["+","-","x"],a=s[Math.floor(3*Math.random())],u=s[Math.floor(3*Math.random())],c=""+r+a+i+u+o,l=c+" = ";t.alert.show({type:1,text:l,ctxt:t.locale.ctrl.cancel,otxt:t.locale.ctrl.ok,cb:function(){var r=+t.el.querySelector(".vcode").value;new Function("return "+c.replace(/x/g,"*"))()===r?n&&n():t.alert.show({type:1,text:"(T_T)"+t.locale.tips.again,ctxt:t.locale.ctrl.cancel,otxt:t.locale.ctrl.try,cb:function(){e(n)}})}})},$=function(e){var t=new AV.User;return t.setUsername(e.username),t.setPassword(e.mail),t.setEmail(e.mail),t.setACL(q()),t.signUp()},W=function e(n){AV.User.requestPasswordReset(n.mail).then(function(e){}).catch(function(r){1==r.code?t.alert.show({type:0,text:"ヾ(o・ω・)ノ At太频繁啦,提醒功能暂时宕机。
    "+r.error,ctxt:t.locale.ctrl.ok}):$(n).then(function(t){e(n)}).catch(function(e){})})};o.Event.off("click",D,M),o.Event.on("click",D,M),o.Event.on("keyup",document,function(e){var t=e.keyCode||e.which||e.charCode;(e.ctrlKey||e.metaKey)&&13==t&&M()})};var y={mail:function(e){return{k:/[\w-\.]+@([\w-]+\.)+[a-z]{2,3}/.test(e),v:e}},link:function(e){return e=e.length>0&&(/^https?/.test(e)?e:"http://"+e),{k:/^https?:\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:\/~\+#]*[\w\-\@?^=%&\/~\+#])?/.test(e),v:e}}};e.exports=i,e.exports.default=i},function(e,t,n){var r={data:n(8),parse:function(e){return String(e).replace(/:(.+?):/g,function(e,t){return r.data[t]||e})}};e.exports=r},function(e,t,n){function r(e){var t=e||s.userAgent,n=this,r={Trident:t.indexOf("Trident")>-1||t.indexOf("NET CLR")>-1,Presto:t.indexOf("Presto")>-1,WebKit:t.indexOf("AppleWebKit")>-1,Gecko:t.indexOf("Gecko/")>-1,Safari:t.indexOf("Safari")>-1,Chrome:t.indexOf("Chrome")>-1||t.indexOf("CriOS")>-1,IE:t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1,Edge:t.indexOf("Edge")>-1,Firefox:t.indexOf("Firefox")>-1||t.indexOf("FxiOS")>-1,"Firefox Focus":t.indexOf("Focus")>-1,Chromium:t.indexOf("Chromium")>-1,Opera:t.indexOf("Opera")>-1||t.indexOf("OPR")>-1,Vivaldi:t.indexOf("Vivaldi")>-1,Yandex:t.indexOf("YaBrowser")>-1,Kindle:t.indexOf("Kindle")>-1||t.indexOf("Silk/")>-1,360:t.indexOf("360EE")>-1||t.indexOf("360SE")>-1,UC:t.indexOf("UC")>-1||t.indexOf(" UBrowser")>-1,QQBrowser:t.indexOf("QQBrowser")>-1,QQ:t.indexOf("QQ/")>-1,Baidu:t.indexOf("Baidu")>-1||t.indexOf("BIDUBrowser")>-1,Maxthon:t.indexOf("Maxthon")>-1,Sogou:t.indexOf("MetaSr")>-1||t.indexOf("Sogou")>-1,LBBROWSER:t.indexOf("LBBROWSER")>-1,"2345Explorer":t.indexOf("2345Explorer")>-1,TheWorld:t.indexOf("TheWorld")>-1,XiaoMi:t.indexOf("MiuiBrowser")>-1,Quark:t.indexOf("Quark")>-1,Qiyu:t.indexOf("Qiyu")>-1,Wechat:t.indexOf("MicroMessenger")>-1,Taobao:t.indexOf("AliApp(TB")>-1,Alipay:t.indexOf("AliApp(AP")>-1,Weibo:t.indexOf("Weibo")>-1,Douban:t.indexOf("com.douban.frodo")>-1,Suning:t.indexOf("SNEBUY-APP")>-1,iQiYi:t.indexOf("IqiyiApp")>-1,Windows:t.indexOf("Windows")>-1,Linux:t.indexOf("Linux")>-1||t.indexOf("X11")>-1,"Mac OS":t.indexOf("Macintosh")>-1,Android:t.indexOf("Android")>-1||t.indexOf("Adr")>-1,Ubuntu:t.indexOf("Ubuntu")>-1,FreeBSD:t.indexOf("FreeBSD")>-1,Debian:t.indexOf("Debian")>-1,"Windows Phone":t.indexOf("IEMobile")>-1||t.indexOf("Windows Phone")>-1,BlackBerry:t.indexOf("BlackBerry")>-1||t.indexOf("RIM")>-1,MeeGo:t.indexOf("MeeGo")>-1,Symbian:t.indexOf("Symbian")>-1,iOS:t.indexOf("like Mac OS X")>-1,"Chrome OS":t.indexOf("CrOS")>-1,WebOS:t.indexOf("hpwOS")>-1,Mobile:t.indexOf("Mobi")>-1||t.indexOf("iPh")>-1||t.indexOf("480")>-1,Tablet:t.indexOf("Tablet")>-1||t.indexOf("Pad")>-1||t.indexOf("Nexus 7")>-1};r.Mobile?r.Mobile=!(t.indexOf("iPad")>-1):o.showModalDialog&&o.chrome&&(r[360]=!0);var i={engine:["WebKit","Trident","Gecko","Presto"],browser:["Safari","Chrome","Edge","IE","Firefox","Firefox Focus","Chromium","Opera","Vivaldi","Yandex","Kindle","360","UC","QQBrowser","QQ","Baidu","Maxthon","Sogou","LBBROWSER","2345Explorer","TheWorld","XiaoMi","Quark","Qiyu","Wechat","Taobao","Alipay","Weibo","Douban","Suning","iQiYi"],os:["Windows","Linux","Mac OS","Android","Ubuntu","FreeBSD","Debian","iOS","Windows Phone","BlackBerry","MeeGo","Symbian","Chrome OS","WebOS"],device:["Mobile","Tablet"]};n.device="PC",n.language=function(){var e=s.browserLanguage||s.language,t=e.split("-");return t[1]&&(t[1]=t[1].toUpperCase()),t.join("_")}();for(var a in i)for(var u=0;u27?n.engine="Blink":"Opera"==n.browser&&parseInt(n.version)>12?n.engine="Blink":"Yandex"==n.browser?n.engine="Blink":void 0==n.browser&&(n.browser="Unknow App")}function i(e){return new r(e)}var o=window||{},s=navigator||{};e.exports=i},function(e,t,n){function r(e){return e&&c.test(e)?e.replace(u,function(e){return s[e]}):e}function i(e){return e&&h.test(e)?e.replace(l,function(e){return o[e]}):e}var o={},s={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\\":"\"};for(var a in s)o[s[a]]=a;var u=/[&<>"'`\\]/g,c=RegExp(u.source),l=/&(?:amp|lt|gt|quot|#39|#x60|#x5c);/g,h=RegExp(l.source),f={on:function(e,t,n,r){return t.addEventListener?t.addEventListener(e,n,r||!1):t.attachEvent?t.attachEvent("on"+e,n):t["on"+e]=n,this},off:function(e,t,n,r){return t.removeEventListener?t.removeEventListener(e,n,r||!1):t.detachEvent?t.detachEvent("on"+e,n):t["on"+e]=null,this}};e.exports={HtmlUtils:{escape:r,unescape:i},Event:f}},function(e,t,n){var r=function(e,t){if(e)try{var n=e.getTime(),r=(new Date).getTime(),o=r-n,s=Math.floor(o/864e5);if(0===s){var a=o%864e5,u=Math.floor(a/36e5);if(0===u){var c=a%36e5,l=Math.floor(c/6e4);if(0===l){var h=c%6e4;return Math.round(h/1e3)+" "+t.timeago.seconds}return l+" "+t.timeago.minutes}return u+" "+t.timeago.hours}return s<0?t.timeago.now:s<8?s+" "+t.timeago.days:i(e)}catch(e){}},i=function(e){var t=o(e.getDate(),2),n=o(e.getMonth()+1,2);return o(e.getFullYear(),2)+"-"+n+"-"+t},o=function(e,t){for(var n=e.toString();n.length>16)+(t>>16)+(n>>16)<<16|65535&n}function s(e,t){return e<>>32-t}function a(e,t,n,r,i,a){return o(s(o(o(t,e),o(r,a)),i),n)}function u(e,t,n,r,i,o,s){return a(t&n|~t&r,e,t,i,o,s)}function c(e,t,n,r,i,o,s){return a(t&r|n&~r,e,t,i,o,s)}function l(e,t,n,r,i,o,s){return a(t^n^r,e,t,i,o,s)}function h(e,t,n,r,i,o,s){return a(n^(t|~r),e,t,i,o,s)}function f(e,t){e[t>>5]|=128<>>9<<4)]=t;var n,r,i,s,a,f=1732584193,d=-271733879,p=-1732584194,v=271733878;for(n=0;n>5]>>>t%32&255);return n}function p(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t>5]|=(255&e.charCodeAt(t/8))<16&&(i=f(i,8*e.length)),n=0;n<16;n+=1)o[n]=909522486^i[n],s[n]=1549556828^i[n];return r=f(o.concat(p(t)),512+8*t.length),d(f(s.concat(r),640))}function g(e){var t,n,r="0123456789abcdef",i="";for(n=0;n>>4&15)+r.charAt(15&t);return i}function m(e){return unescape(encodeURIComponent(e))}function y(e){return v(m(e))}function b(e){return g(y(e))}function w(e,t){return _(m(e),m(t))}function O(e,t){return g(w(e,t))}function x(e,t,n){return t?n?w(t,e):O(t,e):n?y(e):b(e)}void 0!==(r=function(){return x}.call(t,n,t,e))&&(e.exports=r)}()},function(e,t,n){(function(t){!function(t){function n(e){this.tokens=[],this.tokens.links={},this.options=e||d.defaults,this.rules=p.normal,this.options.gfm&&(this.options.tables?this.rules=p.tables:this.rules=p.gfm)}function r(e,t){if(this.options=t||d.defaults,this.links=e,this.rules=v.normal,this.renderer=this.options.renderer||new i,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.gfm?this.options.breaks?this.rules=v.breaks:this.rules=v.gfm:this.options.pedantic&&(this.rules=v.pedantic)}function i(e){this.options=e||{}}function o(){}function s(e){this.tokens=[],this.token=null,this.options=e||d.defaults,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options}function a(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function u(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}function c(e,t){return e=e.source,t=t||"",{replace:function(t,n){return n=n.source||n,n=n.replace(/(^|[^\[])\^/g,"$1"),e=e.replace(t,n),this},getRegex:function(){return new RegExp(e,t)}}}function l(e,t){return _[" "+e]||(/^[^:]+:\/*[^\/]*$/.test(e)?_[" "+e]=e+"/":_[" "+e]=e.replace(/[^\/]*$/,"")),e=_[" "+e],"//"===t.slice(0,2)?e.replace(/:[\s\S]*/,":")+t:"/"===t.charAt(0)?e.replace(/(:\/*[^\/]*)[\s\S]*/,"$1")+t:e+t}function h(){}function f(e){for(var t,n,r=1;rAn error occurred:

    "+a(e.message+"",!0)+"
    ";throw e}}var p={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:h,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:h,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment *(?:\n|\s*$)|closed *(?:\n{2,}|\s*$)|closing *(?:\n{2,}|\s*$))/,def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:h,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n?(?!hr|heading|lheading| {0,3}>|tag)[^\n]+)+)/,text:/^[^\n]+/};p._label=/(?:\\[\[\]]|[^\[\]])+/,p._title=/(?:"(?:\\"|[^"]|"[^"\n]*")*"|'\n?(?:[^'\n]+\n?)*'|\([^()]*\))/,p.def=c(p.def).replace("label",p._label).replace("title",p._title).getRegex(),p.bullet=/(?:[*+-]|\d+\.)/,p.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,p.item=c(p.item,"gm").replace(/bull/g,p.bullet).getRegex(),p.list=c(p.list).replace(/bull/g,p.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+p.def.source+")").getRegex(),p._tag="(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b",p.html=c(p.html).replace("comment",//).replace("closed",/<(tag)[\s\S]+?<\/\1>/).replace("closing",/\s]*)*?\/?>/).replace(/tag/g,p._tag).getRegex(),p.paragraph=c(p.paragraph).replace("hr",p.hr).replace("heading",p.heading).replace("lheading",p.lheading).replace("tag","<"+p._tag).getRegex(),p.blockquote=c(p.blockquote).replace("paragraph",p.paragraph).getRegex(),p.normal=f({},p),p.gfm=f({},p.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\n? *\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),p.gfm.paragraph=c(p.paragraph).replace("(?!","(?!"+p.gfm.fences.source.replace("\\1","\\2")+"|"+p.list.source.replace("\\1","\\3")+"|").getRegex(),p.tables=f({},p.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/}),n.rules=p,n.lex=function(e,t){return new n(t).lex(e)},n.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},n.prototype.token=function(e,t){e=e.replace(/^ +$/gm,"");for(var n,r,i,o,s,a,u,c,l,h,f;e;)if((i=this.rules.newline.exec(e))&&(e=e.substring(i[0].length),i[0].length>1&&this.tokens.push({type:"space"})),i=this.rules.code.exec(e))e=e.substring(i[0].length),i=i[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?i:i.replace(/\n+$/,"")});else if(i=this.rules.fences.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"code",lang:i[2],text:i[3]||""});else if(i=this.rules.heading.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"heading",depth:i[1].length,text:i[2]});else if(t&&(i=this.rules.nptable.exec(e))){for(e=e.substring(i[0].length),a={type:"table",header:i[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:i[3].replace(/\n$/,"").split("\n")},c=0;c ?/gm,""),this.token(i,t),this.tokens.push({type:"blockquote_end"});else if(i=this.rules.list.exec(e)){for(e=e.substring(i[0].length),o=i[2],f=o.length>1,this.tokens.push({type:"list_start",ordered:f,start:f?+o:""}),i=i[0].match(this.rules.item),n=!1,h=i.length,c=0;c1&&s.length>1||(e=i.slice(c+1).join("\n")+e,c=h-1)),r=n||/\n\n(?!\s*$)/.test(a),c!==h-1&&(n="\n"===a.charAt(a.length-1),r||(r=n)),this.tokens.push({type:r?"loose_item_start":"list_item_start"}),this.token(a,!1),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(i=this.rules.html.exec(e))e=e.substring(i[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===i[1]||"script"===i[1]||"style"===i[1]),text:i[0]});else if(t&&(i=this.rules.def.exec(e)))e=e.substring(i[0].length),i[3]&&(i[3]=i[3].substring(1,i[3].length-1)),l=i[1].toLowerCase(),this.tokens.links[l]||(this.tokens.links[l]={href:i[2],title:i[3]});else if(t&&(i=this.rules.table.exec(e))){for(e=e.substring(i[0].length),a={type:"table",header:i[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:i[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:i[3].replace(/(?: *\| *)?\n$/,"").split("\n")},c=0;c])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:h,tag:/^|^<\/?[a-zA-Z0-9\-]+(?:"[^"]*"|'[^']*'|\s[^<'">\/\s]*)*?\/?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^_([^\s_](?:[^_]|__)+?[^\s_])_\b|^\*((?:\*\*|[^*])+?)\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`]?)\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:h,text:/^[\s\S]+?(?=[\\?(?:\s+['"]([\s\S]*?)['"])?\s*/,v.link=c(v.link).replace("inside",v._inside).replace("href",v._href).getRegex(),v.reflink=c(v.reflink).replace("inside",v._inside).getRegex(),v.normal=f({},v),v.pedantic=f({},v.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),v.gfm=f({},v.normal,{escape:c(v.escape).replace("])","~|])").getRegex(),url:c(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("email",v._email).getRegex(),_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:c(v.text).replace("]|","~]|").replace("|","|https?://|ftp://|www\\.|[a-zA-Z0-9.!#$%&'*+/=?^_`{\\|}~-]+@|").getRegex()}),v.breaks=f({},v.gfm,{br:c(v.br).replace("{2,}","*").getRegex(),text:c(v.gfm.text).replace("{2,}","*").getRegex()}),r.rules=v,r.output=function(e,t,n){return new r(t,n).output(e)},r.prototype.output=function(e){for(var t,n,r,i,o="";e;)if(i=this.rules.escape.exec(e))e=e.substring(i[0].length),o+=i[1];else if(i=this.rules.autolink.exec(e))e=e.substring(i[0].length),"@"===i[2]?(n=a(this.mangle(i[1])),r="mailto:"+n):(n=a(i[1]),r=n),o+=this.renderer.link(r,null,n);else if(this.inLink||!(i=this.rules.url.exec(e))){if(i=this.rules.tag.exec(e))!this.inLink&&/^/i.test(i[0])&&(this.inLink=!1),e=e.substring(i[0].length),o+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(i[0]):a(i[0]):i[0];else if(i=this.rules.link.exec(e))e=e.substring(i[0].length),this.inLink=!0,o+=this.outputLink(i,{href:i[2],title:i[3]}),this.inLink=!1;else if((i=this.rules.reflink.exec(e))||(i=this.rules.nolink.exec(e))){if(e=e.substring(i[0].length),t=(i[2]||i[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){o+=i[0].charAt(0),e=i[0].substring(1)+e;continue}this.inLink=!0,o+=this.outputLink(i,t),this.inLink=!1}else if(i=this.rules.strong.exec(e))e=e.substring(i[0].length),o+=this.renderer.strong(this.output(i[2]||i[1]));else if(i=this.rules.em.exec(e))e=e.substring(i[0].length),o+=this.renderer.em(this.output(i[2]||i[1]));else if(i=this.rules.code.exec(e))e=e.substring(i[0].length),o+=this.renderer.codespan(a(i[2].trim(),!0));else if(i=this.rules.br.exec(e))e=e.substring(i[0].length),o+=this.renderer.br();else if(i=this.rules.del.exec(e))e=e.substring(i[0].length),o+=this.renderer.del(this.output(i[1]));else if(i=this.rules.text.exec(e))e=e.substring(i[0].length),o+=this.renderer.text(a(this.smartypants(i[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else i[0]=this.rules._backpedal.exec(i[0])[0],e=e.substring(i[0].length),"@"===i[2]?(n=a(i[0]),r="mailto:"+n):(n=a(i[0]),r="www."===i[1]?"http://"+n:n),o+=this.renderer.link(r,null,n);return o},r.prototype.outputLink=function(e,t){var n=a(t.href),r=t.title?a(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,a(e[1]))},r.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},r.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;i.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},i.prototype.code=function(e,t,n){if(this.options.highlight){var r=this.options.highlight(e,t);null!=r&&r!==e&&(n=!0,e=r)}return t?'
    '+(n?e:a(e,!0))+"\n
    \n":"
    "+(n?e:a(e,!0))+"\n
    "},i.prototype.blockquote=function(e){return"
    \n"+e+"
    \n"},i.prototype.html=function(e){return e},i.prototype.heading=function(e,t,n){return"'+e+"\n"},i.prototype.hr=function(){return this.options.xhtml?"
    \n":"
    \n"},i.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"\n"},i.prototype.listitem=function(e){return"
  • "+e+"
  • \n"},i.prototype.paragraph=function(e){return"

    "+e+"

    \n"},i.prototype.table=function(e,t){return"\n\n"+e+"\n\n"+t+"\n
    \n"},i.prototype.tablerow=function(e){return"\n"+e+"\n"},i.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' style="text-align:'+t.align+'">':"<"+n+">")+e+"\n"},i.prototype.strong=function(e){return""+e+""},i.prototype.em=function(e){return""+e+""},i.prototype.codespan=function(e){return""+e+""},i.prototype.br=function(){return this.options.xhtml?"
    ":"
    "},i.prototype.del=function(e){return""+e+""},i.prototype.link=function(e,t,n){if(this.options.sanitize){try{var r=decodeURIComponent(u(e)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return n}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return n}this.options.baseUrl&&!g.test(e)&&(e=l(this.options.baseUrl,e));var i='
    "},i.prototype.image=function(e,t,n){this.options.baseUrl&&!g.test(e)&&(e=l(this.options.baseUrl,e));var r=''+n+'":">"},i.prototype.text=function(e){return e},o.prototype.strong=o.prototype.em=o.prototype.codespan=o.prototype.del=o.prototype.text=function(e){return e},o.prototype.link=o.prototype.image=function(e,t,n){return""+n},o.prototype.br=function(){return""},s.parse=function(e,t){return new s(t).parse(e)},s.prototype.parse=function(e){this.inline=new r(e.links,this.options),this.inlineText=new r(e.links,f({},this.options,{renderer:new o})),this.tokens=e.reverse();for(var t="";this.next();)t+=this.tok();return t},s.prototype.next=function(){return this.token=this.tokens.pop()},s.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0},s.prototype.parseText=function(){for(var e=this.token.text;"text"===this.peek().type;)e+="\n"+this.next().text;return this.inline.output(e)},s.prototype.tok=function(){switch(this.token.type){case"space":return"";case"hr":return this.renderer.hr();case"heading":return this.renderer.heading(this.inline.output(this.token.text),this.token.depth,u(this.inlineText.output(this.token.text)));case"code":return this.renderer.code(this.token.text,this.token.lang,this.token.escaped);case"table":var e,t,n,r,i="",o="";for(n="",e=0;e=0&&O.splice(t,1)}function a(e){var t=document.createElement("style");return e.attrs.type="text/css",h(t,e.attrs),o(e,t),t}function c(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",h(t,e.attrs),o(e,t),t}function h(e,t){(0,u.default)(t).forEach(function(n){e.setAttribute(n,t[n])})}function f(e,t){var n,r,i,o;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}if(t.singleton){var u=w++;n=b||(b=a(t)),r=d.bind(null,n,u,!1),i=d.bind(null,n,u,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=c(t),r=_.bind(null,n,t),i=function(){s(n),n.href&&URL.revokeObjectURL(n.href)}):(n=a(t),r=v.bind(null,n),i=function(){s(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}function d(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=S(t,i);else{var o=document.createTextNode(i),s=e.childNodes;s[t]&&e.removeChild(s[t]),s.length?e.insertBefore(o,s[t]):e.appendChild(o)}}function v(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function _(e,t,n){var r=n.css,i=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||o)&&(r=x(r)),i&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent((0,l.default)(i))))+" */");var s=new Blob([r],{type:"text/css"}),a=e.href;e.href=URL.createObjectURL(s),a&&URL.revokeObjectURL(a)}var g={},m=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),y=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e.call(this,n)),t[n]}}(function(e){return document.querySelector(e)}),b=null,w=0,O=[],x=n(13);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=("undefined"==typeof document?"undefined":(0,p.default)(document)))throw new Error("The style-loader cannot be used in a non-browser environment");t=t||{},t.attrs="object"==(0,p.default)(t.attrs)?t.attrs:{},t.singleton||(t.singleton=m()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=i(e,t);return r(n,t),function(e){for(var o=[],s=0;su;)r(a,n=t[u++])&&(~o(c,n)||c.push(n));return c}},6:function(e,t,n){e.exports=!n(17)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},61:function(e,t,n){var r=n(30);e.exports=function(e){return Object(r(e))}},62:function(e,t,n){var r=n(23)("meta"),i=n(8),o=n(9),s=n(7).f,a=0,u=Object.isExtensible||function(){return!0},c=!n(17)(function(){return u(Object.preventExtensions({}))}),l=function(e){s(e,r,{value:{i:"O"+ ++a,w:{}}})},h=function(e,t){if(!i(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!o(e,r)){if(!u(e))return"F";if(!t)return"E";l(e)}return e[r].i},f=function(e,t){if(!o(e,r)){if(!u(e))return!0;if(!t)return!1;l(e)}return e[r].w},d=function(e){return c&&p.NEED&&u(e)&&!o(e,r)&&l(e),e},p=e.exports={KEY:r,NEED:!1,fastKey:h,getWeak:f,onFreeze:d}},63:function(e,t){},69:function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var i=n(87),o=r(i),s=n(79),a=r(s),u="function"==typeof a.default&&"symbol"==typeof o.default?function(e){return typeof e}:function(e){return e&&"function"==typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":typeof e};t.default="function"==typeof a.default&&"symbol"===u(o.default)?function(e){return void 0===e?"undefined":u(e)}:function(e){return e&&"function"==typeof a.default&&e.constructor===a.default&&e!==a.default.prototype?"symbol":void 0===e?"undefined":u(e)}},7:function(e,t,n){var r=n(16),i=n(54),o=n(31),s=Object.defineProperty;t.f=n(6)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},70:function(e,t,n){"use strict";var r=n(89)(!0);n(44)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,n=this._i;return n>=t.length?{value:void 0,done:!0}:(e=r(t,n),this._i+=e.length,{value:e,done:!1})})},71:function(e,t,n){var r=n(29),i=Math.min;e.exports=function(e){return e>0?i(r(e),9007199254740991):0}},72:function(e,t,n){n(94);for(var r=n(1),i=n(12),o=n(25),s=n(4)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;uu;)r.f(e,n=s[u++],t[n]);return e}},76:function(e,t,n){var r=n(38);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},77:function(e,t,n){var r=n(1).document;e.exports=r&&r.documentElement},78:function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},79:function(e,t,n){e.exports={default:n(96),__esModule:!0}},8:function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},80:function(e,t,n){var r=n(38);e.exports=Array.isArray||function(e){return"Array"==r(e)}},81:function(e,t,n){var r=n(13),i=n(47).f,o={}.toString,s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(e){try{return i(e)}catch(e){return s.slice()}};e.exports.f=function(e){return s&&"[object Window]"==o.call(e)?a(e):i(r(e))}},82:function(e,t,n){var r=n(36),i=n(22),o=n(13),s=n(31),a=n(9),u=n(54),c=Object.getOwnPropertyDescriptor;t.f=n(6)?c:function(e,t){if(e=o(e),t=s(t,!0),u)try{return c(e,t)}catch(e){}if(a(e,t))return i(!r.f.call(e,t),e[t])}},83:function(e,t,n){var r=n(14),i=n(2),o=n(17);e.exports=function(e,t){var n=(i.Object||{})[e]||Object[e],s={};s[e]=t(n),r(r.S+r.F*o(function(){n(1)}),"Object",s)}},87:function(e,t,n){e.exports={default:n(88),__esModule:!0}},88:function(e,t,n){n(70),n(72),e.exports=n(28).f("iterator")},89:function(e,t,n){var r=n(29),i=n(30);e.exports=function(e){return function(t,n){var o,s,a=String(i(t)),u=r(n),c=a.length;return u<0||u>=c?e?"":void 0:(o=a.charCodeAt(u),o<55296||o>56319||u+1===c||(s=a.charCodeAt(u+1))<56320||s>57343?e?a.charAt(u):o:e?a.slice(u,u+2):s-56320+(o-55296<<10)+65536)}}},9:function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},90:function(e,t,n){"use strict";var r=n(40),i=n(22),o=n(27),s={};n(12)(s,n(4)("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=r(s,{next:i(1,n)}),o(e,t+" Iterator")}},91:function(e,t,n){var r=n(13),i=n(71),o=n(92);e.exports=function(e){return function(t,n,s){var a,u=r(t),c=i(u.length),l=o(s,c);if(e&&n!=n){for(;c>l;)if((a=u[l++])!=a)return!0}else for(;c>l;l++)if((e||l in u)&&u[l]===n)return e||l||0;return!e&&-1}}},92:function(e,t,n){var r=n(29),i=Math.max,o=Math.min;e.exports=function(e,t){return e=r(e),e<0?i(e+t,0):o(e,t)}},93:function(e,t,n){var r=n(9),i=n(61),o=n(32)("IE_PROTO"),s=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=i(e),r(e,o)?e[o]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?s:null}},94:function(e,t,n){"use strict";var r=n(95),i=n(78),o=n(25),s=n(13);e.exports=n(44)(Array,"Array",function(e,t){this._t=s(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,n=this._i++;return!e||n>=e.length?(this._t=void 0,i(1)):"keys"==t?i(0,n):"values"==t?i(0,e[n]):i(0,[n,e[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},95:function(e,t){e.exports=function(){}},96:function(e,t,n){n(97),n(63),n(99),n(100),e.exports=n(2).Symbol},97:function(e,t,n){"use strict";var r=n(1),i=n(9),o=n(6),s=n(14),a=n(55),u=n(62).KEY,c=n(17),l=n(33),h=n(27),f=n(23),d=n(4),p=n(28),v=n(35),_=n(98),g=n(80),m=n(16),y=n(8),b=n(13),w=n(31),O=n(22),x=n(40),S=n(81),A=n(82),k=n(7),E=n(26),C=A.f,T=k.f,j=S.f,N=r.Symbol,U=r.JSON,I=U&&U.stringify,P=d("_hidden"),R=d("toPrimitive"),L={}.propertyIsEnumerable,D=l("symbol-registry"),M=l("symbols"),q=l("op-symbols"),F=Object.prototype,B="function"==typeof N,$=r.QObject,W=!$||!$.prototype||!$.prototype.findChild,z=o&&c(function(){return 7!=x(T({},"a",{get:function(){return T(this,"a",{value:7}).a}})).a})?function(e,t,n){var r=C(F,t);r&&delete F[t],T(e,t,n),r&&e!==F&&T(F,t,r)}:T,Q=function(e){var t=M[e]=x(N.prototype);return t._k=e,t},V=B&&"symbol"==typeof N.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof N},J=function(e,t,n){return e===F&&J(q,t,n),m(e),t=w(t,!0),m(n),i(M,t)?(n.enumerable?(i(e,P)&&e[P][t]&&(e[P][t]=!1),n=x(n,{enumerable:O(0,!1)})):(i(e,P)||T(e,P,O(1,{})),e[P][t]=!0),z(e,t,n)):T(e,t,n)},H=function(e,t){m(e);for(var n,r=_(t=b(t)),i=0,o=r.length;o>i;)J(e,n=r[i++],t[n]);return e},K=function(e,t){return void 0===t?x(e):H(x(e),t)},G=function(e){var t=L.call(this,e=w(e,!0));return!(this===F&&i(M,e)&&!i(q,e))&&(!(t||!i(this,e)||!i(M,e)||i(this,P)&&this[P][e])||t)},X=function(e,t){if(e=b(e),t=w(t,!0),e!==F||!i(M,t)||i(q,t)){var n=C(e,t);return!n||!i(M,t)||i(e,P)&&e[P][t]||(n.enumerable=!0),n}},Y=function(e){for(var t,n=j(b(e)),r=[],o=0;n.length>o;)i(M,t=n[o++])||t==P||t==u||r.push(t);return r},Z=function(e){for(var t,n=e===F,r=j(n?q:b(e)),o=[],s=0;r.length>s;)!i(M,t=r[s++])||n&&!i(F,t)||o.push(M[t]);return o};B||(N=function(){if(this instanceof N)throw TypeError("Symbol is not a constructor!");var e=f(arguments.length>0?arguments[0]:void 0),t=function(n){this===F&&t.call(q,n),i(this,P)&&i(this[P],e)&&(this[P][e]=!1),z(this,e,O(1,n))};return o&&W&&z(F,e,{configurable:!0,set:t}),Q(e)},a(N.prototype,"toString",function(){return this._k}),A.f=X,k.f=J,n(47).f=S.f=Y,n(36).f=G,n(46).f=Z,o&&!n(21)&&a(F,"propertyIsEnumerable",G,!0),p.f=function(e){return Q(d(e))}),s(s.G+s.W+s.F*!B,{Symbol:N});for(var ee="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),te=0;ee.length>te;)d(ee[te++]);for(var ne=E(d.store),re=0;ne.length>re;)v(ne[re++]);s(s.S+s.F*!B,"Symbol",{for:function(e){return i(D,e+="")?D[e]:D[e]=N(e)},keyFor:function(e){if(!V(e))throw TypeError(e+" is not a symbol!");for(var t in D)if(D[t]===e)return t},useSetter:function(){W=!0},useSimple:function(){W=!1}}),s(s.S+s.F*!B,"Object",{create:K,defineProperty:J,defineProperties:H,getOwnPropertyDescriptor:X,getOwnPropertyNames:Y,getOwnPropertySymbols:Z}),U&&s(s.S+s.F*(!B||c(function(){var e=N();return"[null]"!=I([e])||"{}"!=I({a:e})||"{}"!=I(Object(e))})),"JSON",{stringify:function(e){for(var t,n,r=[e],i=1;arguments.length>i;)r.push(arguments[i++]);if(n=t=r[1],(y(t)||void 0!==e)&&!V(e))return g(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!V(t))return t}),r[1]=t,I.apply(U,r)}}),N.prototype[R]||n(12)(N.prototype,R,N.prototype.valueOf),h(N,"Symbol"),h(Math,"Math",!0),h(r.JSON,"JSON",!0)},98:function(e,t,n){var r=n(26),i=n(46),o=n(36);e.exports=function(e){var t=r(e),n=i.f;if(n)for(var s,a=n(e),u=o.f,c=0;a.length>c;)u.call(e,s=a[c++])&&t.push(s);return t}},99:function(e,t,n){n(35)("asyncIterator")}}); +>>>>>>> 50b0463cf72c3f47b832ed4a1737183858f80eab:themes/yilia/source/js/comment.8959a0e1c58f06787797.js