blog-web/themes/yilia/source-src/lib/Valine.min.js.bak
2018-06-28 17:16:52 +08:00

6 lines
44 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*!
* Valine v1.1.9
* (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=9)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var o=n(1),a=r(o),s=n(2),l=r(s),c={cdn:"https://gravatar.cat.net/avatar/",ds:["mm","identicon","monsterid","wavatar","retro",""],params:"?s=40",hide:!1},u={comment:"",rid:"",nick:"Guest",mail:"",link:"",ua:navigator.userAgent,url:"",pin:0,like:0},p=["nick","mail","link"],h=localStorage,d=function(){function e(t){i(this,e);var n=this;n.version="1.1.8-beta",n.md5=a.default,!!t&&n.init(t)}return e.prototype.init=function(e){var t=this;try{var n="[object HTMLDivElement]"==={}.toString.call(e.el)?e.el:document.querySelectorAll(e.el)[0];if("[object HTMLDivElement]"!={}.toString.call(n))throw"The target element was not found.";t.el=n,t.el.classList.add("valine");var r=e.guest_info||p,i=r.map(function(e){switch(e){case"nick":return'<input name="nick" placeholder="称呼" class="vnick vinput" type="text">';case"mail":return'<input name="mail" placeholder="邮箱" class="vmail vinput" type="email">';case"link":return'<input name="link" placeholder="网址(http://)" class="vlink vinput" type="text">';default:return""}}),o=e.placeholder||"",a='<div class="vwrap"><div class="vheader item'+i.length+'">'+i.join("")+'</div><div class="vedit"><textarea class="veditor vinput" placeholder="'+o+'"></textarea></div><div class="vcontrol"><div class="col col-60" title="MarkDown is Support"><svg aria-hidden="true" height="16" version="1.1" viewBox="0 0 16 16" width="16"><path fill-rule="evenodd" d="M14.85 3H1.15C.52 3 0 3.52 0 4.15v7.69C0 12.48.52 13 1.15 13h13.69c.64 0 1.15-.52 1.15-1.15v-7.7C16 3.52 15.48 3 14.85 3zM9 11H7V8L5.5 9.92 4 8v3H2V5h2l1.5 2L7 5h2v6zm2.99.5L9.5 8H11V5h2v3h1.5l-2.51 3.5z"></path></svg> MarkDown is Support</div><div class="col col-40 text-right"><button type="button" class="vsubmit vbtn">回复</button></div></div><div style="display:none;" class="vmark"></div></div><div class="info"><div class="count col"></div></div><div class="vloading"></div><div class="vempty" style="display:none;"></div><ul class="vlist"></ul><div class="vpage txt-center"></div><div class="info"><div class="power txt-right">Powered By <a href="http://valine.js.org" target="_blank">Valine-v'+t.version+"</a></div></div>";t.el.innerHTML=a;var s=t.el.querySelector(".vempty");t.nodata={show:function(e){s.innerHTML=e||"还没有评论哦,快来抢沙发吧!",s.setAttribute("style","display:block;")},hide:function(){s.setAttribute("style","display:none;")}};var l=t.el.querySelector(".vloading");l.innerHTML='<div class="spinner"><div class="r1"></div><div class="r2"></div><div class="r3"></div><div class="r4"></div><div class="r5"></div></div>',t.loading={show:function(){l.setAttribute("style","display:block;"),t.nodata.hide()},hide:function(){l.setAttribute("style","display:none;"),0===t.el.querySelectorAll(".vcard").length&&t.nodata.show()}},t.notify=e.notify||!1,t.verify=e.verify||!1,c.params="?d="+(c.ds.indexOf(e.avatar)>-1?e.avatar:"mm"),c.hide="hide"===e.avatar;var h=e.av||AV,d=e.app_id||e.appId,v=e.app_key||e.appKey;if(!d||!v)throw t.loading.hide(),"初始化失败请检查你的appid或者appkey.";h.applicationId=null,h.init({appId:d,appKey:v}),t.v=h,u.url=(e.path||location.pathname).replace(/index\.(html|htm)/,"")}catch(e){var g="https://github.com/xCss/Valine/issues";return void(t.el?t.nodata.show('<pre style="color:red;text-align:left;">'+e+"<br>Valine:<b>"+t.version+"</b><br>反馈:"+g+"</pre>"):console)}var m=t.el.querySelector(".vmark");t.alert={show:function(e){m.innerHTML='<div class="valert txt-center"><div class="vtext">'+e.text+'</div><div class="vbtns"></div></div>';var n=m.querySelector(".vbtns"),r='<button class="vcancel vbtn">'+(e&&e.ctxt||"我再看看")+"</button>",i='<button class="vsure vbtn">'+(e&&e.otxt||"继续提交")+"</button>";if(n.innerHTML=""+r+(e.type&&i),m.querySelector(".vcancel").addEventListener("click",function(e){t.alert.hide()}),m.setAttribute("style","display:block;"),e&&e.type){var o=m.querySelector(".vsure");f.on("click",o,function(n){t.alert.hide(),e.cb&&e.cb()})}},hide:function(){m.setAttribute("style","display:none;")}},t.bind(e)},e.prototype.bind=function(e){var t=this,n=(e.guest_info||p).filter(function(e){return p.indexOf(e)>-1}),r=function(e){e.offsetHeight>180&&(e.classList.add("expand"),f.on("click",e,function(t){e.setAttribute("class","vcontent")}))},i=function(e){var n=new t.v.Query("Comment");return n.equalTo("url",u.url),n.descending("createdAt"),n};!function(){arguments.length>0&&void 0!==arguments[0]&&arguments[0];t.loading.show();var e=i();e.limit("1000"),e.find().then(function(e){var n=e.length;if(n){t.el.querySelector(".vlist").innerHTML="";for(var r=0;r<n;r++)o(e[r],!0);t.el.querySelector(".count").innerHTML='评论(<span class="num">'+n+"</span>)"}t.loading.hide()}).catch(function(e){t.loading.hide()})}();for(var o=function(e,n){var i=document.createElement("li");i.setAttribute("class","vcard"),i.setAttribute("id",e.id);var o=c.hide?"":'<img class="vimg" src=\''+(c.cdn+(0,a.default)(e.get("mail")||e.get("nick"))+c.params)+"'>";i.innerHTML=o+'<section><div class="vhead"><a rel="nofollow" href="'+v({link:e.get("link"),mail:e.get("mail")})+'" target="_blank" >'+e.get("nick")+'</a></div><div class="vcontent">'+e.get("comment")+'</div><div class="vfooter"><span class="vtime">'+k(e.get("createdAt"))+"</span><span rid='"+e.id+"' at='@"+e.get("nick")+"' mail='"+e.get("mail")+'\' class="vat">回复</span><div></section>';for(var s=t.el.querySelector(".vlist"),l=s.querySelectorAll("li"),u=i.querySelector(".vat"),p=i.querySelectorAll("a"),h=0,d=p.length;h<d;h++){var f=p[h];f&&"at"!=f.getAttribute("class")&&(f.setAttribute("target","_blank"),f.setAttribute("rel","nofollow"))}n?s.appendChild(i):s.insertBefore(i,l[0]);var g=i.querySelector(".vcontent");r(g),R(u)},s={veditor:"comment"},d=0,b=n.length;d<b;d++)s["v"+n[d]]=n[d];var x={};for(var y in s)s.hasOwnProperty(y)&&function(){var e=s[y],n=t.el.querySelector("."+y);x[e]=n,f.on("input",n,function(t){u[e]="comment"===e?(0,l.default)(n.value,{sanitize:!0}):m.encode(n.value)})}();var w=function(){var e=h&&h.ValineCache;if(e){e=JSON.parse(e);var r=n;for(var i in r){var o=r[i];t.el.querySelector(".v"+o).value=e[o],u[o]=e[o]}}};w();var _={rmail:"",at:""},S=function(){for(var e in s)if(s.hasOwnProperty(e)){var n=s[e],r=t.el.querySelector("."+e);r.value="",u[n]=""}_.at="",_.rmail="",u.rid="",u.nick="Guest",w()},A=t.el.querySelector(".vsubmit"),L=function(e){if(A.getAttribute("disabled"))return void t.alert.show({type:0,text:'再等等,评论正在提交中ヾ(๑╹◡╹)ノ"',ctxt:"好的"});if(""==u.comment)return void x.comment.focus();if(""==u.nick&&(u.nick="小调皮"),u.comment.indexOf(_.at)>-1&&""!=_.at){var r='<a class="at" href=\'#'+u.rid+"'>"+_.at+"</a>";u.comment=u.comment.replace(_.at,r)}var i=g.mail(u.mail),o=g.link(u.link);u.mail=i.k?i.v:"",u.link=o.k?o.v:"",!i.k&&!o.k&&n.indexOf("mail")>-1&&n.indexOf("link")>-1?t.alert.show({type:1,text:"您的网址和邮箱格式不正确, 是否继续提交?",cb:function(){t.notify||t.verify?$(C):C()}}):!i.k&&n.indexOf("mail")>-1?t.alert.show({type:1,text:"您的邮箱格式不正确, 是否继续提交?",cb:function(){t.notify||t.verify?$(C):C()}}):!o.k&&n.indexOf("link")>-1?t.alert.show({type:1,text:"您的网址格式不正确, 是否继续提交?",cb:function(){t.notify||t.verify?$(C):C()}}):t.notify||t.verify?$(C):C()},z=function(){var e=new t.v.ACL;return e.setPublicReadAccess(!0),e.setPublicWriteAccess(!1),e},C=function(){A.setAttribute("disabled",!0),t.loading.show();var e=t.v.Object.extend("Comment"),n=new e;for(var r in u)if(u.hasOwnProperty(r)){var i=u[r];n.set(r,i)}n.setACL(z()),n.save().then(function(e){"Guest"!=u.nick&&h&&h.setItem("ValineCache",JSON.stringify({nick:u.nick,link:u.link,mail:u.mail}));var n=t.el.querySelector(".num"),r=1;try{n?(r=Number(n.innerText)+1,n.innerText=r):t.el.querySelector(".count").innerHTML='评论(<span class="num">1</span>)',o(e),u.mail&&q({username:u.nick,mail:u.mail}),_.at&&_.rmail&&t.notify&&M({username:_.at.replace("@",""),mail:_.rmail}),A.removeAttribute("disabled"),t.loading.hide(),S()}catch(e){}}).catch(function(e){t.loading.hide()})},$=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+" = <input class='vcode vinput' >";t.alert.show({type:1,text:u,ctxt:"取消",otxt:"确认",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)这么简单都算错,也是没谁了",ctxt:"伤心了,不回了",otxt:"再试试?",cb:function(){e(n)}})}})},q=function(e){var n=new t.v.User;return n.setUsername(e.username),n.setPassword(e.mail),n.setEmail(e.mail),n.setACL(z()),n.signUp()},M=function e(n){t.v.User.requestPasswordReset(n.mail).then(function(e){}).catch(function(r){1==r.code?t.alert.show({type:0,text:"ヾ(o・ω・)ノ At太频繁啦提醒功能暂时宕机。<br>"+r.error,ctxt:"好的"}):q(n).then(function(t){e(n)}).catch(function(e){})})},R=function(e){f.on("click",e,function(t){var n=e.getAttribute("at"),r=e.getAttribute("rid"),i=e.getAttribute("mail");_.at=n,_.rmail=i,u.rid=r,x.comment.value=n+" ",x.comment.focus()})};f.off("click",A,L),f.on("click",A,L)},e}(),f={on:function(e,t,n,r){t.addEventListener?t.addEventListener(e,n,r||!1):t.attachEvent?t.attachEvent("on"+e,n):t["on"+e]=n},off:function(e,t,n,r){t.removeEventListener?t.removeEventListener(e,n,r||!1):t.detachEvent?t.detachEvent("on"+e,n):t["on"+e]=null}},v=function(e){return e.link||e.mail&&"mailto:"+e.mail||"javascript:void(0);"},g={mail:function(e){return{k:/[\w-\.]+@([\w-]+\.)+[a-z]{2,3}/.test(e),v:e}},link:function(e){return e=e.length>0&&(/^(http|https)/.test(e)?e:"http://"+e),{k:/(http|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&amp;:\/~\+#]*[\w\-\@?^=%&amp;\/~\+#])?/.test(e),v:e}}},m={encode:function(e){return e?e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/ /g,"&nbsp;").replace(/\'/g,"&#39;").replace(/\"/g,"&quot;"):""},decode:function(e){return e?e.replace(/&amp;/g,"&").replace(/&lt;/g,"<").replace(/&gt;/g,">").replace(/&nbsp;/g," ").replace(/&#39;/g,"'").replace(/&quot;/g,'"'):""}},b=function(e){var t=x(e.getDate(),2),n=x(e.getMonth()+1,2);return x(e.getFullYear(),2)+"-"+n+"-"+t},k=function(e){try{var t=e.getTime(),n=(new Date).getTime(),r=n-t,i=Math.floor(r/864e5);if(0===i){var o=r%864e5,a=Math.floor(o/36e5);if(0===a){var s=o%36e5,l=Math.floor(s/6e4);if(0===l){var c=s%6e4;return Math.round(c/1e3)+" 秒前"}return l+" 分钟前"}return a+" 小时前"}return i<0?"刚刚":i<8?i+" 天前":b(e)}catch(e){}},x=function(e,t){for(var n=e.toString();n.length<t;)n="0"+n;return n};e.exports=d},function(e,t,n){var r;!function(i){"use strict";function o(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function a(e,t){return e<<t|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 p(e,t,n,r,i,o,a){return s(n^(t|~r),e,t,i,o,a)}function h(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;var n,r,i,a,s,h=1732584193,d=-271733879,f=-1732584194,v=271733878;for(n=0;n<e.length;n+=16)r=h,i=d,a=f,s=v,h=l(h,d,f,v,e[n],7,-680876936),v=l(v,h,d,f,e[n+1],12,-389564586),f=l(f,v,h,d,e[n+2],17,606105819),d=l(d,f,v,h,e[n+3],22,-1044525330),h=l(h,d,f,v,e[n+4],7,-176418897),v=l(v,h,d,f,e[n+5],12,1200080426),f=l(f,v,h,d,e[n+6],17,-1473231341),d=l(d,f,v,h,e[n+7],22,-45705983),h=l(h,d,f,v,e[n+8],7,1770035416),v=l(v,h,d,f,e[n+9],12,-1958414417),f=l(f,v,h,d,e[n+10],17,-42063),d=l(d,f,v,h,e[n+11],22,-1990404162),h=l(h,d,f,v,e[n+12],7,1804603682),v=l(v,h,d,f,e[n+13],12,-40341101),f=l(f,v,h,d,e[n+14],17,-1502002290),d=l(d,f,v,h,e[n+15],22,1236535329),h=c(h,d,f,v,e[n+1],5,-165796510),v=c(v,h,d,f,e[n+6],9,-1069501632),f=c(f,v,h,d,e[n+11],14,643717713),d=c(d,f,v,h,e[n],20,-373897302),h=c(h,d,f,v,e[n+5],5,-701558691),v=c(v,h,d,f,e[n+10],9,38016083),f=c(f,v,h,d,e[n+15],14,-660478335),d=c(d,f,v,h,e[n+4],20,-405537848),h=c(h,d,f,v,e[n+9],5,568446438),v=c(v,h,d,f,e[n+14],9,-1019803690),f=c(f,v,h,d,e[n+3],14,-187363961),d=c(d,f,v,h,e[n+8],20,1163531501),h=c(h,d,f,v,e[n+13],5,-1444681467),v=c(v,h,d,f,e[n+2],9,-51403784),f=c(f,v,h,d,e[n+7],14,1735328473),d=c(d,f,v,h,e[n+12],20,-1926607734),h=u(h,d,f,v,e[n+5],4,-378558),v=u(v,h,d,f,e[n+8],11,-2022574463),f=u(f,v,h,d,e[n+11],16,1839030562),d=u(d,f,v,h,e[n+14],23,-35309556),h=u(h,d,f,v,e[n+1],4,-1530992060),v=u(v,h,d,f,e[n+4],11,1272893353),f=u(f,v,h,d,e[n+7],16,-155497632),d=u(d,f,v,h,e[n+10],23,-1094730640),h=u(h,d,f,v,e[n+13],4,681279174),v=u(v,h,d,f,e[n],11,-358537222),f=u(f,v,h,d,e[n+3],16,-722521979),d=u(d,f,v,h,e[n+6],23,76029189),h=u(h,d,f,v,e[n+9],4,-640364487),v=u(v,h,d,f,e[n+12],11,-421815835),f=u(f,v,h,d,e[n+15],16,530742520),d=u(d,f,v,h,e[n+2],23,-995338651),h=p(h,d,f,v,e[n],6,-198630844),v=p(v,h,d,f,e[n+7],10,1126891415),f=p(f,v,h,d,e[n+14],15,-1416354905),d=p(d,f,v,h,e[n+5],21,-57434055),h=p(h,d,f,v,e[n+12],6,1700485571),v=p(v,h,d,f,e[n+3],10,-1894986606),f=p(f,v,h,d,e[n+10],15,-1051523),d=p(d,f,v,h,e[n+1],21,-2054922799),h=p(h,d,f,v,e[n+8],6,1873313359),v=p(v,h,d,f,e[n+15],10,-30611744),f=p(f,v,h,d,e[n+6],15,-1560198380),d=p(d,f,v,h,e[n+13],21,1309151649),h=p(h,d,f,v,e[n+4],6,-145523070),v=p(v,h,d,f,e[n+11],10,-1120210379),f=p(f,v,h,d,e[n+2],15,718787259),d=p(d,f,v,h,e[n+9],21,-343485551),h=o(h,r),d=o(d,i),f=o(f,a),v=o(v,s);return[h,d,f,v]}function d(e){var t,n="",r=32*e.length;for(t=0;t<r;t+=8)n+=String.fromCharCode(e[t>>5]>>>t%32&255);return n}function f(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t<n.length;t+=1)n[t]=0;var r=8*e.length;for(t=0;t<r;t+=8)n[t>>5]|=(255&e.charCodeAt(t/8))<<t%32;return n}function v(e){return d(h(f(e),8*e.length))}function g(e,t){var n,r,i=f(e),o=[],a=[];for(o[15]=a[15]=void 0,i.length>16&&(i=h(i,8*e.length)),n=0;n<16;n+=1)o[n]=909522486^i[n],a[n]=1549556828^i[n];return r=h(o.concat(f(t)),512+8*t.length),d(h(a.concat(r),640))}function m(e){var t,n,r="0123456789abcdef",i="";for(n=0;n<e.length;n+=1)t=e.charCodeAt(n),i+=r.charAt(t>>>4&15)+r.charAt(15&t);return i}function b(e){return unescape(encodeURIComponent(e))}function k(e){return v(b(e))}function x(e){return m(k(e))}function y(e,t){return g(b(e),b(t))}function w(e,t){return m(y(e,t))}function _(e,t,n){return t?n?y(t,e):w(t,e):n?k(e):x(e)}void 0!==(r=function(){return _}.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||d.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||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 a(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 s(e,t){return e.replace(t?/&/g:/&(?!#?\w+;)/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#39;")}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 p(){}function h(e){for(var t,n,r=1;r<arguments.length;r++){t=arguments[r];for(n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}function d(e,t,r){if(void 0===e||null===e)throw new Error("marked(): input parameter is undefined or null");if("string"!=typeof e)throw new Error("marked(): input parameter is of type "+Object.prototype.toString.call(e)+", string expected");if(r||"function"==typeof t){r||(r=t,t=null),t=h({},d.defaults,t||{});var i,o,l=t.highlight,c=0;try{i=n.lex(e,t)}catch(e){return r(e)}o=i.length;var u=function(e){if(e)return t.highlight=l,r(e);var n;try{n=a.parse(i,t)}catch(t){e=t}return t.highlight=l,e?r(e):r(null,n)};if(!l||l.length<3)return u();if(delete t.highlight,!o)return u();for(;c<i.length;c++)!function(e){"code"!==e.type?--o||u():l(e.text,e.lang,function(t,n){return t?u(t):null==n||n===e.text?--o||u():(e.text=n,e.escaped=!0,void(--o||u()))})}(i[c])}else try{return t&&(t=h({},d.defaults,t)),a.parse(n.lex(e,t),t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",(t||d.defaults).silent)return"<p>An error occurred:</p><pre>"+s(e.message+"",!0)+"</pre>";throw e}}var f={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:p,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:p,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? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:p,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",/<!--[\s\S]*?-->/).replace("closed",/<(tag)[\s\S]+?<\/\1>/).replace("closing",/<tag(?:"[^"]*"|'[^']*'|\s[^'"\/>\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=h({},f),f.gfm=h({},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=h({},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,p,h;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<s.align.length;c++)/^ *-+: *$/.test(s.align[c])?s.align[c]="right":/^ *:-+: *$/.test(s.align[c])?s.align[c]="center":/^ *:-+ *$/.test(s.align[c])?s.align[c]="left":s.align[c]=null;for(c=0;c<s.cells.length;c++)s.cells[c]=s.cells[c].split(/ *\| */);this.tokens.push(s)}else if(i=this.rules.hr.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"hr"});else if(i=this.rules.blockquote.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"blockquote_start"}),i=i[0].replace(/^ *> ?/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],h=o.length>1,this.tokens.push({type:"list_start",ordered:h,start:h?+o:""}),i=i[0].match(this.rules.item),n=!1,p=i.length,c=0;c<p;c++)s=i[c],l=s.length,s=s.replace(/^ *([*+-]|\d+\.) +/,""),~s.indexOf("\n ")&&(l-=s.length,s=this.options.pedantic?s.replace(/^ {1,4}/gm,""):s.replace(new RegExp("^ {1,"+l+"}","gm"),"")),this.options.smartLists&&c!==p-1&&(a=f.bullet.exec(i[c+1])[0],o===a||o.length>1&&a.length>1||(e=i.slice(c+1).join("\n")+e,c=p-1)),r=n||/\n\n(?!\s*$)/.test(s),c!==p-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<s.align.length;c++)/^ *-+: *$/.test(s.align[c])?s.align[c]="right":/^ *:-+: *$/.test(s.align[c])?s.align[c]="center":/^ *:-+ *$/.test(s.align[c])?s.align[c]="left":s.align[c]=null;for(c=0;c<s.cells.length;c++)s.cells[c]=s.cells[c].replace(/^ *\| *| *\| *$/g,"").split(/ *\| */);this.tokens.push(s)}else if(i=this.rules.lheading.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"heading",depth:"="===i[2]?1:2,text:i[1]});else if(t&&(i=this.rules.paragraph.exec(e)))e=e.substring(i[0].length),this.tokens.push({type:"paragraph",text:"\n"===i[1].charAt(i[1].length-1)?i[1].slice(0,-1):i[1]});else if(i=this.rules.text.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"text",text:i[0]});else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0));return this.tokens};var v={escape:/^\\([\\`*{}\[\]()#+\-.!_>])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:p,tag:/^<!--[\s\S]*?-->|^<\/?[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:p,text:/^[\s\S]+?(?=[\\<!\[`*]|\b_| {2,}\n|$)/};v._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,v._email=/[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/,v.autolink=c(v.autolink).replace("scheme",v._scheme).replace("email",v._email).getRegex(),v._inside=/(?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]]|\](?=[^\[]*\]))*/,v._href=/\s*<?([\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=h({},v),v.pedantic=h({},v.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/}),v.gfm=h({},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=h({},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&&/^<a /i.test(i[0])?this.inLink=!0:this.inLink&&/^<\/a>/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<r;i++)t=e.charCodeAt(i),Math.random()>.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?'<pre><code class="'+this.options.langPrefix+s(t,!0)+'">'+(n?e:s(e,!0))+"\n</code></pre>\n":"<pre><code>"+(n?e:s(e,!0))+"\n</code></pre>"},i.prototype.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},i.prototype.html=function(e){return e},i.prototype.heading=function(e,t,n){return"<h"+t+' id="'+this.options.headerPrefix+n.toLowerCase().replace(/[^\w]+/g,"-")+'">'+e+"</h"+t+">\n"},i.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},i.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"},i.prototype.listitem=function(e){return"<li>"+e+"</li>\n"},i.prototype.paragraph=function(e){return"<p>"+e+"</p>\n"},i.prototype.table=function(e,t){return"<table>\n<thead>\n"+e+"</thead>\n<tbody>\n"+t+"</tbody>\n</table>\n"},i.prototype.tablerow=function(e){return"<tr>\n"+e+"</tr>\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+">\n"},i.prototype.strong=function(e){return"<strong>"+e+"</strong>"},i.prototype.em=function(e){return"<em>"+e+"</em>"},i.prototype.codespan=function(e){return"<code>"+e+"</code>"},i.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},i.prototype.del=function(e){return"<del>"+e+"</del>"},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='<a href="'+e+'"';return t&&(i+=' title="'+t+'"'),i+=">"+n+"</a>"},i.prototype.image=function(e,t,n){this.options.baseUrl&&!m.test(e)&&(e=u(this.options.baseUrl,e));var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+=this.options.xhtml?"/>":">"},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,h({},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<this.token.header.length;e++)n+=this.renderer.tablecell(this.inline.output(this.token.header[e]),{header:!0,align:this.token.align[e]});for(i+=this.renderer.tablerow(n),e=0;e<this.token.cells.length;e++){for(t=this.token.cells[e],n="",r=0;r<t.length;r++)n+=this.renderer.tablecell(this.inline.output(t[r]),{header:!1,align:this.token.align[r]});o+=this.renderer.tablerow(n)}return this.renderer.table(i,o);case"blockquote_start":for(o="";"blockquote_end"!==this.next().type;)o+=this.tok();return this.renderer.blockquote(o);case"list_start":o="";for(var a=this.token.ordered,s=this.token.start;"list_end"!==this.next().type;)o+=this.tok();return this.renderer.list(o,a,s);case"list_item_start":for(o="";"list_item_end"!==this.next().type;)o+="text"===this.token.type?this.parseText():this.tok();return this.renderer.listitem(o);case"loose_item_start":for(o="";"list_item_end"!==this.next().type;)o+=this.tok();return this.renderer.listitem(o);case"html":var c=this.token.pre||this.options.pedantic?this.token.text:this.inline.output(this.token.text);return this.renderer.html(c);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText())}};var g={},m=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;p.exec=p,d.options=d.setOptions=function(e){return h(d.defaults,e),d},d.defaults={gfm:!0,tables:!0,breaks:!1,pedantic:!1,sanitize:!1,sanitizer:null,mangle:!0,smartLists:!1,silent:!1,highlight:null,langPrefix:"lang-",smartypants:!1,headerPrefix:"",renderer:new i,xhtml:!1,baseUrl:null},d.Parser=a,d.parser=a.parse,d.Renderer=i,d.TextRenderer=o,d.Lexer=n,d.lexer=n.lex,d.InlineLexer=r,d.inlineLexer=r.output,d.parse=d,e.exports=d}(this||"undefined"!=typeof window&&window)}).call(t,n(3))},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(5);"string"==typeof r&&(r=[[e.i,r,""]]);var i={};i.transform=void 0;n(7)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(6)(!1),t.push([e.i,'.valine *{-webkit-box-sizing:border-box;box-sizing:border-box;line-height:1.42857143;color:#555;-webkit-transition:all .3s ease;transition:all .3s ease}.valine .vinput{border:none;resize:none;outline:none;padding:10px 0;max-width:100%;font-size:.775rem}.valine .vwrap{border:1px solid #f0f0f0;border-radius:4px;margin-bottom:10px;overflow:hidden;position:relative;padding:10px}.valine .vwrap input{background:transparent}.valine .vwrap .vheader .vinput{width:33.33%;border-bottom:1px dashed #dedede}.valine .vwrap .vheader.item2 .vinput{width:50%}.valine .vwrap .vheader.item1 .vinput{width:100%}.valine .vwrap .vheader .vinput:focus{border-bottom-color:#eb5055}@media screen and (max-width:520px){.valine .vwrap .vheader.item2 .vinput,.valine .vwrap .vheader .vinput{width:100%}}.valine .vwrap .vcontrol{font-size:0}.valine .vwrap .vcontrol .col{display:inline-block;font-size:.725rem;vertical-align:middle;color:#ccc}.valine .vwrap .vcontrol .col.text-right{text-align:right}.valine .vwrap .vcontrol .col svg{margin-right:2px;overflow:hidden;fill:currentColor;vertical-align:middle}.valine .vwrap .vcontrol .col.col-40{width:40%}.valine .vwrap .vcontrol .col.col-60{width:60%}.valine .vwrap .vcontrol .col.split{width:50%}.valine .vwrap .vmark{position:absolute;background:rgba(0,0,0,.65);width:100%;height:100%;left:0;top:0}.valine .vwrap .vmark .valert{padding-top:3rem}.valine .vwrap .vmark .valert .vtext{color:#fff;padding:1rem 0}.valine .vwrap .vmark .valert .vcode{width:4.6875rem;border-radius:.3125rem;padding:.5rem;background:#dedede}.valine .vwrap .vmark .valert .vcode:focus{border-color:#3090e4;background-color:#fff}@media screen and (max-width:720px){.valine .vwrap .vmark .valert{padding-top:5.5rem}.valine .vwrap .vmark .valert .vtext{color:#fff;padding:1rem 0}}.valine .power{color:#999}.valine .power,.valine .power a{font-size:.75rem}.valine .info{font-size:0;padding:5px}.valine .info .col{font-size:.875rem;display:inline-block;width:50%;vertical-align:middle}.valine .info .count .num{font-weight:600;font-size:1.25rem}.valine a{text-decoration:none;color:#555}.valine a:hover{color:#222}.valine li,.valine ul{list-style:none;margin:0 auto;padding:0}.valine .txt-center{text-align:center}.valine .txt-right{text-align:right}.valine .pd5{padding:5px}.valine .pd10{padding:10px}.valine .veditor{width:100%;height:8.75rem;font-size:.875rem;background:transparent}.valine .vbtn{-webkit-transition-duration:.4s;transition-duration:.4s;text-align:center;color:#313131;border:1px solid #f7f7f7;border-radius:1.9rem;background-color:#f7f7f7;display:inline-block;background:#ededed;margin-bottom:0;font-weight:400;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;white-space:nowrap;padding:.5rem 1.25rem;font-size:.875rem;line-height:1.42857143;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none}.valine .vbtn+.vbtn{margin-left:1.25rem}.valine .vbtn:active,.valine .vbtn:hover{color:#3090e4;border-color:#3090e4;background-color:#fff}.valine .vempty{padding:1.25px;text-align:center;color:#999}.valine .vlist{width:100%}.valine .vlist .vcard{padding-top:1.5rem;position:relative;display:block}.valine .vlist .vcard:after{content:"";clear:both;display:block}.valine .vlist .vcard .vimg{width:2.5rem;height:2.5rem;float:left;border-radius:50%;margin-right:.7525rem}.valine .vlist .vcard .vhead{line-height:1;margin-bottom:.625rem;margin-top:0}.valine .vlist .vcard .vhead a{font-size:.8135rem;font-weight:700;color:#2c2020;margin-right:.875rem}.valine .vlist .vcard .vhead a:hover{color:#d7191a}.valine .vlist .vcard section{overflow:hidden;padding-bottom:1.5rem;border-bottom:1px solid #f5f5f5}.valine .vlist .vcard section .vfooter{position:relative}.valine .vlist .vcard section .vfooter .vtime{color:#b3b3b3;font-size:.75rem;margin-right:.875rem}.valine .vlist .vcard section .vfooter .vat{font-size:.8125rem;color:#ef2f11;cursor:pointer}.valine .vlist .vcard .vcontent{word-wrap:break-word;word-break:break-all;text-align:justify;color:#4a4a4a;font-size:.875rem;line-height:2;position:relative;margin-bottom:.75rem}.valine .vlist .vcard .vcontent a{font-size:.875rem;color:#708090;-webkit-text-decoration:double;text-decoration:double}.valine .vlist .vcard .vcontent a:hover{color:#d7191a}.valine .vlist .vcard .vcontent .code,.valine .vlist .vcard .vcontent code,.valine .vlist .vcard .vcontent pre{overflow:auto;padding:2px 6px;word-wrap:break-word;color:#555;background:#f5f2f2;border-radius:3px;font-size:.875rem;margin:5px 0}.valine .vlist .vcard .vcontent.expand{cursor:pointer;max-height:11.25rem;overflow:hidden}.valine .vlist .vcard .vcontent.expand:before{display:block;content:"";position:absolute;width:100%;left:0;top:0;bottom:3.15rem;pointer-events:none;background:-webkit-gradient(linear,left top,left bottom,from(hsla(0,0%,100%,0)),to(hsla(0,0%,100%,.9)));background:linear-gradient(180deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.9))}.valine .vlist .vcard .vcontent.expand:after{display:block;content:"Click on expand";text-align:center;color:#828586;position:absolute;width:100%;height:3.15rem;line-height:3.15rem;left:0;bottom:0;pointer-events:none;background:hsla(0,0%,100%,.9)}.valine .vpage{padding:.35rem}.valine .vpage i{display:inline-block;padding:.05rem .65rem;font-size:.785rem;border:1px solid #f0f0f0;font-style:normal;cursor:pointer}.valine .vpage i+i{margin-left:.35rem}.valine .vpage i.active{border:none;color:#ccc;cursor:default}.valine .clear{content:"";display:block;clear:both}.valine .spinner{margin:.625rem auto;width:3.15rem;height:1.875rem;text-align:center;font-size:10px}.valine .spinner>div{background-color:#9c9c9c;height:100%;width:.375rem;margin-right:.19rem;display:inline-block;-webkit-animation:sk-stretchdelay 1.2s infinite ease-in-out;animation:sk-stretchdelay 1.2s infinite ease-in-out}.valine .spinner .r2{-webkit-animation-delay:-1.1s;animation-delay:-1.1s}.valine .spinner .r3{-webkit-animation-delay:-1s;animation-delay:-1s}.valine .spinner .r4{-webkit-animation-delay:-.9s;animation-delay:-.9s}.valine .spinner .r5{-webkit-animation-delay:-.8s;animation-delay:-.8s}@-webkit-keyframes sk-stretchdelay{0%,40%,to{-webkit-transform:scaleY(.4)}20%{-webkit-transform:scaleY(1)}}@keyframes sk-stretchdelay{0%,40%,to{transform:scaleY(.4);-webkit-transform:scaleY(.4)}20%{transform:scaleY(1);-webkit-transform:scaleY(1)}}',""])},function(e,t){function n(e,t){var n=e[1]||"",i=e[3];if(!i)return n;if(t&&"function"==typeof btoa){var o=r(i);return[n].concat(i.sources.map(function(e){return"/*# sourceURL="+i.sourceRoot+e+" */"})).concat([o]).join("\n")}return[n].join("\n")}function r(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<e.length;i++){var a=e[i];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){function r(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=f[r.id];if(i){i.refs++;for(var o=0;o<i.parts.length;o++)i.parts[o](r.parts[o]);for(;o<r.parts.length;o++)i.parts.push(u(r.parts[o],t))}else{for(var a=[],o=0;o<r.parts.length;o++)a.push(u(r.parts[o],t));f[r.id]={id:r.id,refs:1,parts:a}}}}function i(e,t){for(var n=[],r={},i=0;i<e.length;i++){var o=e[i],a=t.base?o[0]+t.base:o[0],s=o[1],l=o[2],c=o[3],u={css:s,media:l,sourceMap:c};r[a]?r[a].parts.push(u):n.push(r[a]={id:a,parts:[u]})}return n}function o(e,t){var n=g(e.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var r=k[k.length-1];if("top"===e.insertAt)r?r.nextSibling?n.insertBefore(t,r.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),k.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(t)}}function a(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e);var t=k.indexOf(e);t>=0&&k.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=p.bind(null,n,c,!1),i=p.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=d.bind(null,n,t),i=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=h.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 p(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=y(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 h(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 d(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(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,k=[],x=n(8);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<n.length;a++){var s=n[a],l=f[s.id];l.refs--,o.push(l)}if(e){r(i(e,t),t)}for(var a=0;a<o.length;a++){var l=o[a];if(0===l.refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete f[l.id]}}}};var y=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t){e.exports=function(e){var t="undefined"!=typeof window&&window.location;if(!t)throw new Error("fixUrls requires window.location");if(!e||"string"!=typeof e)return e;var n=t.protocol+"//"+t.host,r=n+t.pathname.replace(/\/[^\/]*$/,"/");return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(e,t){var i=t.trim().replace(/^"(.*)"$/,function(e,t){return t}).replace(/^'(.*)'$/,function(e,t){return t});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(i))return e;var o;return o=0===i.indexOf("//")?i:0===i.indexOf("/")?n+i:r+i.replace(/^\.\//,""),"url("+JSON.stringify(o)+")"})}},function(e,t,n){n(4),e.exports=n(0)}])});