mycpen-blog1 0.0.0-ejdfvyandy → 0.0.0-ejupepumcg

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/js/valine.js CHANGED
@@ -3,7 +3,7 @@
3
3
  autosize 4.0.2
4
4
  license: MIT
5
5
  http://www.jacklmoore.com/autosize
6
- */o=[e,t],r=function(e,t){"use strict";function n(e){function t(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function n(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}function r(){if(0!==e.scrollHeight){var t=n(e),r=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+s+"px",l=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),r&&(document.documentElement.scrollTop=r)}}function o(){r();var n=Math.round(parseFloat(e.style.height)),o=window.getComputedStyle(e,null),i="content-box"===o.boxSizing?Math.round(parseFloat(o.height)):e.offsetHeight;if(i<n?"hidden"===o.overflowY&&(t("scroll"),r(),i="content-box"===o.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==o.overflowY&&(t("hidden"),r(),i="content-box"===o.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),c!==i){c=i;var s=a("autosize:resized");try{e.dispatchEvent(s)}catch(e){}}}if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!i.has(e)){var s=null,l=null,c=null,d=function(){e.clientWidth!==l&&o()},u=function(t){window.removeEventListener("resize",d,!1),e.removeEventListener("input",o,!1),e.removeEventListener("keyup",o,!1),e.removeEventListener("autosize:destroy",u,!1),e.removeEventListener("autosize:update",o,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),i.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",u,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",o,!1),window.addEventListener("resize",d,!1),e.addEventListener("input",o,!1),e.addEventListener("autosize:update",o,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",i.set(e,{destroy:u,update:o}),function(){var t=window.getComputedStyle(e,null);"vertical"===t.resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),s="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(s)&&(s=0),o()}()}}function r(e){var t=i.get(e);t&&t.destroy()}function o(e){var t=i.get(e);t&&t.update()}var i="function"==typeof Map?new Map:function(){var e=[],t=[];return{has:function(t){return e.indexOf(t)>-1},get:function(n){return t[e.indexOf(n)]},set:function(n,r){-1===e.indexOf(n)&&(e.push(n),t.push(r))},delete:function(n){var r=e.indexOf(n);r>-1&&(e.splice(r,1),t.splice(r,1))}}}(),a=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){a=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}var s=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?(s=function(e){return e},s.destroy=function(e){return e},s.update=function(e){return e}):(s=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],(function(e){return n(e)})),e},s.destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],r),e},s.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],o),e}),t.default=s,e.exports=t.default},void 0!==(i="function"==typeof r?r.apply(t,o):r)&&(e.exports=i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return!!e&&this.init(e),this}function i(e){return new o(e)}var a=r(n(26)),s=r(n(17)),l=r(n(20)),c=r(n(6)),d=n(2),u=r(n(24)),p=r(n(0)),f=r(n(22)),h=r(n(19)),v=n(23),g=r(n(25)),m=r(n(21)),y={comment:"",nick:"",mail:"",link:"",ua:p.default.ua,url:"",QQAvatar:""},b="",w={cdn:"https://gravatar.loli.net/avatar/",ds:["mp","identicon","monsterid","wavatar","robohash","retro",""],params:"",hide:!1};o.prototype.init=function(e){if("undefined"==typeof document)throw new Error("Sorry, Valine does not support Server-side rendering.");var t=this;return e&&(e=p.default.extend(d.defaultConfig,e),t.i18n=(0,l.default)(e.lang||p.default.lang,e.langMode),t.config=e,c.default.maps=!!e.emojiMaps&&e.emojiMaps||c.default.maps,c.default.cdn=!!e.emojiCDN&&e.emojiCDN||c.default.cdn,t._init()),t},o.prototype._init=function(){var e=this;try{var t=e.config,n=t.avatar,r=t.avatarForce,o=t.avatar_cdn,i=t.visitor,a=t.path,s=void 0===a?location.pathname:a,l=t.pageSize,c=t.recordIP;e.config.path=s.replace(/index\.html?$/,"");var u=w.ds,f=r?"&q="+d.RandomStr:"";w.params="?d="+(u.indexOf(n)>-1?n:"mp")+"&v="+d.VERSION+f,w.hide="hide"===n,w.cdn=/^https?\:\/\//.test(o)?o:w.cdn,e.config.pageSize=isNaN(l)||l<1?10:l,c&&(0,v.recordIPFn)((function(e){return y.ip=e}));var g=e.config.el||null,b=(0,p.default)(g);if(g=g instanceof HTMLElement?g:b[b.length-1]||null){e.$el=(0,p.default)(g),e.$el.addClass("v").attr("data-class","v"),w.hide&&e.$el.addClass("hide-avatar"),e.config.meta=(e.config.guest_info||e.config.meta||d.defaultMeta).filter((function(e){return d.defaultMeta.indexOf(e)>-1})),e.config.requiredFields=e.config.requiredFields.filter((function(e){return d.defaultMeta.indexOf(e)>-1}));var x=(0==e.config.meta.length?d.defaultMeta:e.config.meta).map((function(t){var n="mail"==t?"email":"text";return d.defaultMeta.indexOf(t)>-1?'<input name="'+t+'" placeholder="'+e.i18n.t(t)+'" class="v'+t+' vinput" type="'+n+'">':""})),_='<div class="vpanel"><div class="vwrap"><p class="cancel-reply text-right" style="display:none;" title="'+e.i18n.t("cancelReply")+'"><svg class="vicon cancel-reply-btn" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4220" width="22" height="22"><path d="M796.454 985H227.545c-50.183 0-97.481-19.662-133.183-55.363-35.7-35.701-55.362-83-55.362-133.183V227.545c0-50.183 19.662-97.481 55.363-133.183 35.701-35.7 83-55.362 133.182-55.362h568.909c50.183 0 97.481 19.662 133.183 55.363 35.701 35.702 55.363 83 55.363 133.183v568.909c0 50.183-19.662 97.481-55.363 133.183S846.637 985 796.454 985zM227.545 91C152.254 91 91 152.254 91 227.545v568.909C91 871.746 152.254 933 227.545 933h568.909C871.746 933 933 871.746 933 796.454V227.545C933 152.254 871.746 91 796.454 91H227.545z" p-id="4221"></path><path d="M568.569 512l170.267-170.267c15.556-15.556 15.556-41.012 0-56.569s-41.012-15.556-56.569 0L512 455.431 341.733 285.165c-15.556-15.556-41.012-15.556-56.569 0s-15.556 41.012 0 56.569L455.431 512 285.165 682.267c-15.556 15.556-15.556 41.012 0 56.569 15.556 15.556 41.012 15.556 56.569 0L512 568.569l170.267 170.267c15.556 15.556 41.012 15.556 56.569 0 15.556-15.556 15.556-41.012 0-56.569L568.569 512z" p-id="4222" ></path></svg></p><div class="vheader item'+x.length+'">'+x.join("")+'</div><div class="vedit"><textarea id="veditor" class="veditor vinput" placeholder="'+e.config.placeholder+'"></textarea><div class="vrow"><div class="vcol vcol-60 status-bar"></div><div class="vcol vcol-40 vctrl text-right"><span title="'+e.i18n.t("emoji")+'" class="vicon vemoji-btn"><svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="16172" width="22" height="22" ><path d="M512 1024a512 512 0 1 1 512-512 512 512 0 0 1-512 512zM512 56.888889a455.111111 455.111111 0 1 0 455.111111 455.111111 455.111111 455.111111 0 0 0-455.111111-455.111111zM312.888889 512A85.333333 85.333333 0 1 1 398.222222 426.666667 85.333333 85.333333 0 0 1 312.888889 512z" p-id="16173"></path><path d="M512 768A142.222222 142.222222 0 0 1 369.777778 625.777778a28.444444 28.444444 0 0 1 56.888889 0 85.333333 85.333333 0 0 0 170.666666 0 28.444444 28.444444 0 0 1 56.888889 0A142.222222 142.222222 0 0 1 512 768z" p-id="16174"></path><path d="M782.222222 391.964444l-113.777778 59.733334a29.013333 29.013333 0 0 1-38.684444-10.808889 28.444444 28.444444 0 0 1 10.24-38.684445l113.777778-56.888888a28.444444 28.444444 0 0 1 38.684444 10.24 28.444444 28.444444 0 0 1-10.24 36.408888z" p-id="16175"></path><path d="M640.568889 451.697778l113.777778 56.888889a27.875556 27.875556 0 0 0 38.684444-10.24 27.875556 27.875556 0 0 0-10.24-38.684445l-113.777778-56.888889a28.444444 28.444444 0 0 0-38.684444 10.808889 28.444444 28.444444 0 0 0 10.24 38.115556z" p-id="16176"></path></svg></span><span title="'+e.i18n.t("preview")+'" class="vicon vpreview-btn"><svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="17688" width="22" height="22"><path d="M502.390154 935.384615a29.538462 29.538462 0 1 1 0 59.076923H141.430154C79.911385 994.461538 29.538462 946.254769 29.538462 886.153846V137.846154C29.538462 77.745231 79.950769 29.538462 141.390769 29.538462h741.218462c61.44 0 111.852308 48.206769 111.852307 108.307692v300.268308a29.538462 29.538462 0 1 1-59.076923 0V137.846154c0-26.899692-23.355077-49.230769-52.775384-49.230769H141.390769c-29.420308 0-52.775385 22.331077-52.775384 49.230769v748.307692c0 26.899692 23.355077 49.230769 52.775384 49.230769h360.999385z" p-id="17689"></path><path d="M196.923077 216.615385m29.538461 0l374.153847 0q29.538462 0 29.538461 29.538461l0 0q0 29.538462-29.538461 29.538462l-374.153847 0q-29.538462 0-29.538461-29.538462l0 0q0-29.538462 29.538461-29.538461Z" p-id="17690"></path><path d="M649.846154 846.769231a216.615385 216.615385 0 1 0 0-433.230769 216.615385 216.615385 0 0 0 0 433.230769z m0 59.076923a275.692308 275.692308 0 1 1 0-551.384616 275.692308 275.692308 0 0 1 0 551.384616z" p-id="17691"></path><path d="M807.398383 829.479768m20.886847-20.886846l0 0q20.886846-20.886846 41.773692 0l125.321079 125.321079q20.886846 20.886846 0 41.773693l0 0q-20.886846 20.886846-41.773693 0l-125.321078-125.321079q-20.886846-20.886846 0-41.773693Z" p-id="17692"></path></svg></span></div></div></div><div class="vrow"><div class="vcol vcol-30" ><a alt="Markdown is supported" href="https://guides.github.com/features/mastering-markdown/" class="vicon" target="_blank"><svg class="markdown" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><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></a></div><div class="vcol vcol-70 text-right"><button type="button" title="Cmd|Ctrl+Enter" class="vsubmit vbtn">'+e.i18n.t("submit")+'</button></div></div><div class="vemojis" style="display:none;"></div><div class="vinput vpreview" style="display:none;"></div><div style="display:none;" class="vmark"></div></div></div><div class="vcount" style="display:none;"><span class="vnum">0</span> '+e.i18n.t("comments")+'</div><div class="vload-top text-center" style="display:none;"><i class="vspinner" style="width:30px;height:30px;"></i></div><div class="vcards"></div><div class="vload-bottom text-center" style="display:none;"><i class="vspinner" style="width:30px;height:30px;"></i></div><div class="vempty" style="display:none;"></div><div class="vpage txt-center" style="display:none"><button type="button" class="vmore vbtn">'+e.i18n.t("more")+'</button></div><div class="vpower txt-right">Powered By <a href="https://valine.js.org" target="_blank">Valine</a><br>v'+d.VERSION+"</div>";e.$el.html(_),e.$el.find(".cancel-reply").on("click",(function(t){e.reset()}));var A=e.$el.find(".vempty");e.$nodata={show:function(t){return A.html(t||e.i18n.t("sofa")).show(),e},hide:function(){return A.hide(),e}};var S=e.$el.find(".vload-bottom"),O=e.$el.find(".vload-top");e.$loading={show:function(t){return t&&O.show()||S.show(),e.$nodata.hide(),e},hide:function(){return O.hide(),S.hide(),0===e.$el.find(".vcard").length&&e.$nodata.show(),e}}}(0,h.default)(e.config,(function(t){var n=(0,p.default)(".valine-comment-count"),r=0;!function t(n){var o=n[r++];if(o){var i=(0,p.default)(o).attr("data-xid");i&&e.Q(i).count().then((function(e){o.innerText=e,t(n)})).catch((function(e){o.innerText=0}))}}(n),i&&k.add(AV.Object.extend("Counter"),e.config.path),e.$el&&e.bind()}))}catch(t){(0,m.default)(e,t,"init")}};var x=function(e,t){var n=new e,r=new AV.ACL;r.setPublicReadAccess(!0),r.setPublicWriteAccess(!0),n.setACL(r),n.set("url",t.url),n.set("xid",t.xid),n.set("title",t.title),n.set("time",1),n.save().then((function(e){(0,p.default)(t.el).find(".leancloud-visitors-count").text(1)})).catch((function(e){}))},k={add:function(e,t){var n=this,r=(0,p.default)(".leancloud_visitors,.leancloud-visitors");if(1===r.length){var o=r[0],i=decodeURI((0,p.default)(o).attr("id")),a=(0,p.default)(o).attr("data-flag-title"),s=encodeURI(i),l={el:o,url:i,xid:s,title:a};if(decodeURI(i)===decodeURI(t)){var c=new AV.Query(e);c.equalTo("url",i),c.find().then((function(t){if(t.length>0){var n=t[0];n.increment("time"),n.save().then((function(e){(0,p.default)(o).find(".leancloud-visitors-count").text(e.get("time"))})).catch((function(e){}))}else x(e,l)})).catch((function(t){101==t.code?x(e,l):(0,m.default)(n,t)}))}else k.show(e,r)}else k.show(e,r)},show:function(e,t){var n=[];if(t.forEach((function(e){var t=(0,p.default)(e).find(".leancloud-visitors-count");t&&t.text("0"),n.push(/\%/.test((0,p.default)(e).attr("id"))?decodeURI((0,p.default)(e).attr("id")):(0,p.default)(e).attr("id"))})),n.length){var r=new AV.Query(e);r.containedIn("url",n),r.find().then((function(e){e.length>0&&t.forEach((function(t){e.forEach((function(e){var n=e.get("xid")||encodeURI(e.get("url")),r=e.get("time"),o=(0,p.default)(t),i=o.attr("id");if((/\%/.test(i)?i:encodeURI(i))==n){var a=o.find(".leancloud-visitors-count");a&&a.text(r)}}))}))})).catch((function(e){}))}}};o.prototype.Q=function(e){var t=arguments.length,n=this.config.clazzName;if(1==t){var r=new AV.Query(n);r.doesNotExist("rid");var o=new AV.Query(n);o.equalTo("rid","");var i=AV.Query.or(r,o);return"*"===e?i.exists("url"):i.equalTo("url",decodeURI(e)),i.addDescending("createdAt"),i.addDescending("insertedAt"),i}var a="select * from "+n+" where rid in ("+JSON.stringify(arguments[1]).replace(/(\[|\])/g,"")+") order by -createdAt,-createdAt";return AV.Query.doCloudQuery(a)},o.prototype.installLocale=function(e,t){return this.i18n(e,t),this},o.prototype.setPath=function(e){return this.config.path=e,this},o.prototype.bind=function(){var e=this,t=e.$el.find(".vemojis"),n=e.$el.find(".vpreview"),r=e.$el.find(".vemoji-btn"),o=e.$el.find(".vpreview-btn"),i=e.$el.find(".veditor"),l=c.default.maps,h=!1;e.$emoji={show:function(){return!h&&function(e){var n=[];for(var r in l)l.hasOwnProperty(r)&&c.default.build(r)&&n.push('<i title="'+r+'" >'+c.default.build(r)+"</i>");t.html(n.join("")),h=!0,t.find("i").on("click",(function(e){e.preventDefault(),O(i[0]," :"+(0,p.default)(this).attr("title")+":")}))}(),e.$preview.hide(),t.show(),r.addClass("actived"),e.$emoji},hide:function(){return r.removeClass("actived"),t.hide(),e.$emoji}},e.$preview={show:function(){return b?(e.$emoji.hide(),o.addClass("actived"),n.html(b).show(),P()):e.$preview.hide(),e.$preview},hide:function(){return o.removeClass("actived"),n.hide().html(""),e.$preview}};var x=function(t){var r=(0,f.default)(t.val()||"");r||e.$preview.hide(),b!=r&&(b=r,o.hasClass("actived")>-1&&b!=n.html()&&n.html(b),(0,s.default)(t[0]),P())};r.on("click",(function(t){r.hasClass("actived")?e.$emoji.hide():e.$emoji.show()})),o.on("click",(function(t){o.hasClass("actived")?e.$preview.hide():e.$preview.show()}));var k=e.config.meta,_={},A={veditor:"comment"};for(var S in k.forEach((function(e){A["v"+e]=e})),A)A.hasOwnProperty(S)&&function(){var t=A[S],n=e.$el.find("."+S);_[t]=n,n.on("input change blur propertychange",(function(r){e.config.enableQQ&&"blur"===r.type&&"nick"===t&&(isNaN(n.val())?p.default.store.get(d.QQCacheKey)&&p.default.store.get(d.QQCacheKey).nick!=n.val()&&(p.default.store.remove(d.QQCacheKey),y.nick=n.val(),y.mail="",y.QQAvatar=""):(0,v.fetchQQFn)(n.val(),(function(e){var t=e.nick||n.val(),r=e.qq+"@qq.com";(0,p.default)(".vnick").val(t),(0,p.default)(".vmail").val(r),y.nick=t,y.mail=r,y.QQAvatar=e.pic}))),"comment"===t?x(n):y[t]=p.default.escape(n.val().replace(/(^\s*)|(\s*$)/g,"")).substring(0,40)}))}();var O=function(e,t){if(document.selection)e.focus(),document.selection.createRange().text=t,e.focus();else if(e.selectionStart||"0"==e.selectionStart){var n=e.selectionStart,r=e.selectionEnd,o=e.scrollTop;e.value=e.value.substring(0,n)+t+e.value.substring(r,e.value.length),e.focus(),e.selectionStart=n+t.length,e.selectionEnd=n+t.length,e.scrollTop=o}else e.focus(),e.value+=t;setTimeout((function(t){x((0,p.default)(e))}),100)},$={no:1,size:e.config.pageSize,skip:e.config.pageSize},E=e.$el.find(".vpage");E.on("click",(function(e){E.hide(),$.no++,j()}));var j=function(){var t=$.size,n=$.no,r=Number(e.$el.find(".vnum").text());e.$loading.show();var o=e.Q(e.config.path);o.limit(t),o.skip((n-1)*t),o.find().then((function(o){if($.skip=$.size,o&&o.length){var i=[];o.forEach((function(t){i.push(t.id),T(t,e.$el.find(".vcards"),!0)})),e.Q(e.config.path,i).then((function(e){(e&&e.results||[]).forEach((function(e){T(e,(0,p.default)('.vquote[data-self-id="'+e.get("rid")+'"]'))})).catch((function(e){}))})),t*n<r?E.show():E.hide()}else e.$nodata.show();e.$loading.hide()})).catch((function(t){e.$loading.hide(),(0,m.default)(e,t,"query")}))};e.Q(e.config.path).count().then((function(t){t>0?(e.$el.find(".vcount").show().find(".vnum").text(t),j()):e.$loading.hide()})).catch((function(t){(0,m.default)(e,t,"count")}));var T=function(t,n,r){var o=(0,p.default)('<div class="vcard" id="'+t.id+'"></div>'),i=t.get("ua"),s="";i&&!/ja/.test(e.config.lang)&&(s='<span class="vsys">'+(i=p.default.detect(i)).browser+" "+i.version+'</span> <span class="vsys">'+i.os+" "+i.osVersion+"</span>"),"*"===e.config.path&&(s='<a href="'+t.get("url")+'" class="vsys">'+t.get("url")+"</a>");var l=t.get("link")?/^https?\:\/\//.test(t.get("link"))?t.get("link"):"http://"+t.get("link"):"",c=l?'<a class="vnick" rel="nofollow" href="'+l+'" target="_blank" >'+t.get("nick")+"</a>":'<span class="vnick">'+t.get("nick")+"</span>",d=(w.hide?"":e.config.enableQQ&&t.get("QQAvatar")?'<img class="vimg" src="'+t.get("QQAvatar")+'" referrerPolicy="no-referrer"/>':'<img class="vimg" src="'+(w.cdn+(0,a.default)(t.get("mail"))+w.params)+'">')+'<div class="vh"><div class="vhead">'+c+" "+s+'</div><div class="vmeta"><span class="vtime" >'+(0,u.default)(t.get("insertedAt"),e.i18n)+'</span><span class="vat" data-vm-id="'+(t.get("rid")||t.id)+'" data-self-id="'+t.id+'">'+e.i18n.t("reply")+'</span></div><div class="vcontent" data-expand="'+e.i18n.t("expand")+'">'+(0,g.default)(t.get("comment"))+'</div><div class="vreply-wrapper" data-self-id="'+t.id+'"></div><div class="vquote" data-self-id="'+t.id+'"></div></div>';o.html(d);var f=o.find(".vat");o.find("a").forEach((function(e){e&&!(0,p.default)(e).hasClass("at")&&(0,p.default)(e).attr({target:"_blank",rel:"nofollow"})})),r?n.append(o):n.prepend(o);var h=o.find(".vcontent");h&&M(h),f&&I(f,t),P()},C={},I=function(t,n){t.on("click",(function(r){var o=t.attr("data-vm-id"),i=t.attr("data-self-id"),a=e.$el.find(".vwrap"),s="@"+p.default.escape(n.get("nick"));(0,p.default)('.vreply-wrapper[data-self-id="'+i+'"]').append(a).find(".cancel-reply").show(),C={at:p.default.escape(s)+" ",rid:o,pid:i,rmail:n.get("mail")},_.comment.attr({placeholder:s})[0].focus()}))},P=function(){setTimeout((function(){try{"MathJax"in window&&"version"in window.MathJax&&(/^3.*/.test(window.MathJax.version)&&MathJax.typeset()||MathJax.Hub.Queue(["Typeset",MathJax.Hub,document.querySelector(".v")])),"renderMathInElement"in window&&renderMathInElement((0,p.default)(".v")[0],{delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1}]})}catch(e){}}),100)},M=function(e){setTimeout((function(){e[0].offsetHeight>200&&(e.addClass("expand"),e.on("click",(function(t){e.removeClass("expand")})))}))};!function(t){if(t=p.default.store.get(d.MetaCacheKey)||t)for(var n in k){var r=k[n];e.$el.find(".v"+r).val(p.default.unescape(t[r])),y[r]=t[r]}var o=p.default.store.get(d.QQCacheKey);y.QQAvatar=e.config.enableQQ&&!!o&&o.pic||""}(),e.reset=function(){y.comment="",_.comment.val(""),x(_.comment),_.comment.attr("placeholder",e.config.placeholder),C={},e.$preview.hide(),e.$el.find(".vpanel").append(e.$el.find(".vwrap")),e.$el.find(".cancel-reply").hide(),b=""};var z=e.$el.find(".vsubmit"),R=function(t){if(e.config.requiredFields.indexOf("nick")>-1&&y.nick.length<3)return _.nick[0].focus(),void e.$el.find(".status-bar").text(""+e.i18n.t("nickFail")).empty(3e3);if(e.config.requiredFields.indexOf("mail")>-1&&!/[\w-\.]+@([\w-]+\.)+[a-z]{2,3}/.test(y.mail))return _.mail[0].focus(),void e.$el.find(".status-bar").text(""+e.i18n.t("mailFail")).empty(3e3);if(""!=b){y.comment=b,y.nick=y.nick||"Anonymous";var n=p.default.store.get("vlx");n&&Date.now()/1e3-n/1e3<20?e.$el.find(".status-bar").text(e.i18n.t("busy")).empty(3e3):L()}else _.comment[0].focus()},L=function(){p.default.store.set("vlx",Date.now()),z.attr({disabled:!0}),e.$loading.show(!0);var t=new(AV.Object.extend(e.config.clazzName||"Comment"));if(y.url=decodeURI(e.config.path),y.insertedAt=new Date,C.rid){var n=C.pid||C.rid;t.set("rid",C.rid),t.set("pid",n),y.comment=b.replace("<p>",'<p><a class="at" href="#'+n+'">'+C.at+"</a> , ")}for(var r in y)if(y.hasOwnProperty(r)){var o=y[r];t.set(r,o)}t.setACL(function(){var e=new AV.ACL;return e.setPublicReadAccess(!0),e.setPublicWriteAccess(!1),e}()),t.save().then((function(t){"Anonymous"!=y.nick&&p.default.store.set(d.MetaCacheKey,{nick:y.nick,link:y.link,mail:y.mail});var n=e.$el.find(".vnum");try{C.rid?T(t,(0,p.default)('.vquote[data-self-id="'+C.rid+'"]'),!0):(Number(n.text())?n.text(Number(n.text())+1):e.$el.find(".vcount").show().find(".vnum").text(Number(n.text())+1),T(t,e.$el.find(".vcards")),$.skip++),z.removeAttr("disabled"),e.$loading.hide(),e.reset()}catch(t){(0,m.default)(e,t,"save")}})).catch((function(t){(0,m.default)(e,t,"commitEvt")}))};z.on("click",R),(0,p.default)(document).on("keydown",(function(e){var t=(e=event||e).keyCode||e.which||e.charCode;(e.ctrlKey||e.metaKey)&&13===t&&R(),9===t&&"veditor"==(document.activeElement.id||"")&&(e.preventDefault(),O(i[0]," "))})).on("paste",(function(e){var t="clipboardData"in e?e.clipboardData:e.originalEvent&&e.originalEvent.clipboardData||window.clipboardData;t&&F(t.items,!0)})),i.on("dragenter dragleave dragover drop",(function(e){e.stopPropagation(),e.preventDefault(),"drop"===e.type&&F(e.dataTransfer.items)}));var F=function(e,t){for(var n=[],r=0,o=e.length;r<o;r++){var a=e[r];if("string"===a.kind&&a.type.match("^text/html"))!t&&a.getAsString((function(e){e&&O(i[0],e.replace(/<[^>]+>/g,""))}));else if(-1!==a.type.indexOf("image")){n.push(a.getAsFile());continue}}U(n)},U=function t(n,r){r=r||0;var o=n.length;if(o>0){var a=n[r];z.attr({disabled:!0});var l="![Uploading "+a.name+"...]()";O(i[0],l),B(a,(function(c){500!=c.code?(i.val(i.val().replace(l,"!["+a.name+"]("+c.data.url+")\r\n")),(0,s.default)(i[0]),++r<o?t(n,r):z.removeAttr("disabled")):(i.val(i.val().replace(l,"")),(0,s.default)(i[0]),e.$el.find(".status-bar").text(c.msg).empty(3e3),z.removeAttr("disabled"))}))}},B=function(e,t){var n=new FormData;n.append("image",e),p.default.ajax({type:"post",url:"https://pic.alexhchu.com/api/upload",data:n,success:function(e){t&&t(e)}})}},e.exports=i,e.exports.default=i},function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(0)),o=!1;t.default=function(e,t){if("AV"in window){var n=window.AV.version||window.AV.VERSION;parseInt(n.split(".")[0])>2?o=!!AV.applicationId&&!!AV.applicationKey:r.default.deleteInWin("AV",0)}o?t&&t():r.default.sdkLoader("//cdn.cbd.int/leancloud-storage@3.15.0/dist/av-min.js","AV",(function(n){var r,i="https://",a=e.app_id||e.appId,s=e.app_key||e.appKey;if(!e.serverURLs)switch(a.slice(-9)){case"-9Nh9j0Va":i+="tab.";break;case"-MdYXbMMI":i+="us."}r=e.serverURLs||i+"avoscloud.com",AV.init({appId:a,appKey:s,serverURLs:r}),o=!0,t&&t()}))}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(n(37)),i=r(n(56)),a=r(n(57)),s=r(n(54)),l=r(n(55)),c={zh:i.default,"zh-cn":i.default,"zh-CN":i.default,"zh-TW":a.default,en:s.default,"en-US":s.default,ja:l.default,"ja-JP":l.default};t.default=function(e,t){return!c[e]&&e&&t&&(c[e]=t),new o.default({phrases:c[e||"zh"],locale:e})}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(e.$el&&e.$loading.hide().$nodata.hide(),"[object Error]"==={}.toString.call(t)){var n=t.code||t.message||t.error||"";if(isNaN(n))e.$el&&e.$nodata.show('<pre style="text-align:left;"> '+JSON.stringify(t)+"</pre>");else{var r=e.i18n.t("code-"+n),o=(r=="code-"+n?void 0:r)||t.message||t.error||"";101==n||-1==n?e.$nodata.show():e.$el&&e.$nodata.show('<pre style="text-align:left;">Code '+n+": "+o+"</pre>")}}else e.$el&&e.$nodata.show('<pre style="text-align:left;">'+JSON.stringify(t)+"</pre>")}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(36),i=r(o),a=r(n(0)),s=r(n(6)),l=n(33),c=new o.Renderer;c.code=function(e,t){return'<pre><code class="hljs language-'+t+'">'+(t&&hljs.getLanguage(t)?hljs.highlight(t,e).value:a.default.escape(e))+"</code></pre>"},i.default.setOptions({renderer:"hljs"in window?c:new o.Renderer,highlight:function(e,t){return"hljs"in window?t&&hljs.getLanguage(t)&&hljs.highlight(t,e,!0).value||hljs.highlightAuto(e).value:l(e)},gfm:!0,tables:!0,breaks:!0,pedantic:!1,sanitize:!0,smartLists:!0,smartypants:!0,headerPrefi:"v-"}),t.default=function(e){return s.default.parse((0,i.default)(e))}},function(e,t,n){"use strict";t.__esModule=!0,t.recordIPFn=t.fetchQQFn=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(0)),o=n(2);t.fetchQQFn=function(e,t){var n=r.default.store.get(o.QQCacheKey);n&&n.qq==e?t&&t(n):r.default.ajax({type:"POST",url:"//valine.api.ioliu.cn/getqqinfo",data:{qq:e},success:function(e){e.errmsg||(r.default.store.set(o.QQCacheKey,e),t&&t(e))}})},t.recordIPFn=function(e){r.default.sdkLoader("//api.ip.sb/jsonip?callback=getIP","getIP"),window.getIP=function(t){e&&e(t.ip),r.default.deleteInWin("getIP")}}},function(e,t,n){"use strict";var r=function(e){var t=i(e.getDate(),2),n=i(e.getMonth()+1,2);return i(e.getFullYear(),2)+"-"+n+"-"+t},o=function e(t){return t instanceof Date?t:!isNaN(t)||/^\d+$/.test(t)?new Date(parseInt(t)):/GMT/.test(t||"")?e(new Date(t).getTime()):(t=(t||"").replace(/(^\s*)|(\s*$)/g,"").replace(/\.\d+/,"").replace(/-/,"/").replace(/-/,"/").replace(/(\d)T(\d)/,"$1 $2").replace(/Z/," UTC").replace(/([+-]\d\d):?(\d\d)/," $1$2"),new Date(t))},i=function(e,t){for(var n=e.toString();n.length<t;)n="0"+n;return n};e.exports=function(e,t){if(!e)return"";try{var n=o(e).getTime(),i=(new Date).getTime()-n,a=Math.floor(i/864e5);if(0===a){var s=i%864e5,l=Math.floor(s/36e5);if(0===l){var c=s%36e5,d=Math.floor(c/6e4);if(0===d){var u=c%6e4;return Math.round(u/1e3)+" "+t.t("seconds")}return d+" "+t.t("minutes")}return l+" "+t.t("hours")}return a<0?t.t("now"):a<8?a+" "+t.t("days"):r(e)}catch(e){}}},function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(51));t.default=function(e){return(0,r.default)(e,{onTagAttr:function(e,t,n,r){return o(e,t,n,r)},onIgnoreTagAttr:function(e,t,n,r){return o(e,t,n,r)}}).replace(/\<\/?div\>/gi,"")};var o=function(e,t,n,o){if(/code|pre|span/gi.test(e)){if("style"==t)return t+'="'+(/^color/gi.test(n)?n:"").replace(/(color:[#0-9a-fA-F]{1,6};?).+/gi,"$1")+'"';if("class"==t)return t+"='"+r.default.escapeAttrValue(n)+"'"}if("img"===e&&["src","class"].indexOf(t)>-1)return t+'="'+r.default.escapeAttrValue(n)+'" referrerPolicy="no-referrer" '}},function(e,t,n){var r;!function(o){"use strict";function i(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function a(e,t,n,r,o,a){return i(function(e,t){return e<<t|e>>>32-t}(i(i(t,e),i(r,a)),o),n)}function s(e,t,n,r,o,i,s){return a(t&n|~t&r,e,t,o,i,s)}function l(e,t,n,r,o,i,s){return a(t&r|n&~r,e,t,o,i,s)}function c(e,t,n,r,o,i,s){return a(t^n^r,e,t,o,i,s)}function d(e,t,n,r,o,i,s){return a(n^(t|~r),e,t,o,i,s)}function u(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;var n,r,o,a,u,p=1732584193,f=-271733879,h=-1732584194,v=271733878;for(n=0;n<e.length;n+=16)r=p,o=f,a=h,u=v,p=s(p,f,h,v,e[n],7,-680876936),v=s(v,p,f,h,e[n+1],12,-389564586),h=s(h,v,p,f,e[n+2],17,606105819),f=s(f,h,v,p,e[n+3],22,-1044525330),p=s(p,f,h,v,e[n+4],7,-176418897),v=s(v,p,f,h,e[n+5],12,1200080426),h=s(h,v,p,f,e[n+6],17,-1473231341),f=s(f,h,v,p,e[n+7],22,-45705983),p=s(p,f,h,v,e[n+8],7,1770035416),v=s(v,p,f,h,e[n+9],12,-1958414417),h=s(h,v,p,f,e[n+10],17,-42063),f=s(f,h,v,p,e[n+11],22,-1990404162),p=s(p,f,h,v,e[n+12],7,1804603682),v=s(v,p,f,h,e[n+13],12,-40341101),h=s(h,v,p,f,e[n+14],17,-1502002290),p=l(p,f=s(f,h,v,p,e[n+15],22,1236535329),h,v,e[n+1],5,-165796510),v=l(v,p,f,h,e[n+6],9,-1069501632),h=l(h,v,p,f,e[n+11],14,643717713),f=l(f,h,v,p,e[n],20,-373897302),p=l(p,f,h,v,e[n+5],5,-701558691),v=l(v,p,f,h,e[n+10],9,38016083),h=l(h,v,p,f,e[n+15],14,-660478335),f=l(f,h,v,p,e[n+4],20,-405537848),p=l(p,f,h,v,e[n+9],5,568446438),v=l(v,p,f,h,e[n+14],9,-1019803690),h=l(h,v,p,f,e[n+3],14,-187363961),f=l(f,h,v,p,e[n+8],20,1163531501),p=l(p,f,h,v,e[n+13],5,-1444681467),v=l(v,p,f,h,e[n+2],9,-51403784),h=l(h,v,p,f,e[n+7],14,1735328473),p=c(p,f=l(f,h,v,p,e[n+12],20,-1926607734),h,v,e[n+5],4,-378558),v=c(v,p,f,h,e[n+8],11,-2022574463),h=c(h,v,p,f,e[n+11],16,1839030562),f=c(f,h,v,p,e[n+14],23,-35309556),p=c(p,f,h,v,e[n+1],4,-1530992060),v=c(v,p,f,h,e[n+4],11,1272893353),h=c(h,v,p,f,e[n+7],16,-155497632),f=c(f,h,v,p,e[n+10],23,-1094730640),p=c(p,f,h,v,e[n+13],4,681279174),v=c(v,p,f,h,e[n],11,-358537222),h=c(h,v,p,f,e[n+3],16,-722521979),f=c(f,h,v,p,e[n+6],23,76029189),p=c(p,f,h,v,e[n+9],4,-640364487),v=c(v,p,f,h,e[n+12],11,-421815835),h=c(h,v,p,f,e[n+15],16,530742520),p=d(p,f=c(f,h,v,p,e[n+2],23,-995338651),h,v,e[n],6,-198630844),v=d(v,p,f,h,e[n+7],10,1126891415),h=d(h,v,p,f,e[n+14],15,-1416354905),f=d(f,h,v,p,e[n+5],21,-57434055),p=d(p,f,h,v,e[n+12],6,1700485571),v=d(v,p,f,h,e[n+3],10,-1894986606),h=d(h,v,p,f,e[n+10],15,-1051523),f=d(f,h,v,p,e[n+1],21,-2054922799),p=d(p,f,h,v,e[n+8],6,1873313359),v=d(v,p,f,h,e[n+15],10,-30611744),h=d(h,v,p,f,e[n+6],15,-1560198380),f=d(f,h,v,p,e[n+13],21,1309151649),p=d(p,f,h,v,e[n+4],6,-145523070),v=d(v,p,f,h,e[n+11],10,-1120210379),h=d(h,v,p,f,e[n+2],15,718787259),f=d(f,h,v,p,e[n+9],21,-343485551),p=i(p,r),f=i(f,o),h=i(h,a),v=i(v,u);return[p,f,h,v]}function p(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 h(e){var t,n,r="0123456789abcdef",o="";for(n=0;n<e.length;n+=1)t=e.charCodeAt(n),o+=r.charAt(t>>>4&15)+r.charAt(15&t);return o}function v(e){return unescape(encodeURIComponent(e))}function g(e){return function(e){return p(u(f(e),8*e.length))}(v(e))}function m(e,t){return function(e,t){var n,r,o=f(e),i=[],a=[];for(i[15]=a[15]=void 0,o.length>16&&(o=u(o,8*e.length)),n=0;n<16;n+=1)i[n]=909522486^o[n],a[n]=1549556828^o[n];return r=u(i.concat(f(t)),512+8*t.length),p(u(a.concat(r),640))}(v(e),v(t))}function y(e,t,n){return t?n?m(t,e):function(e,t){return h(m(e,t))}(t,e):n?g(e):function(e){return h(g(e))}(e)}void 0!==(r=function(){return y}.call(t,n,t,e))&&(e.exports=r)}()},function(e,t,n){"use strict";t.__esModule=!0;t.default=function(e){var t={},n={Trident:(e=e||navigator.userAgent).indexOf("Trident")>-1||e.indexOf("NET CLR")>-1,Presto:e.indexOf("Presto")>-1,WebKit:e.indexOf("AppleWebKit")>-1,Gecko:e.indexOf("Gecko/")>-1,Safari:e.indexOf("Safari")>-1,Edge:e.indexOf("Edge")>-1||e.indexOf("Edg")>-1,Chrome:e.indexOf("Chrome")>-1||e.indexOf("CriOS")>-1,IE:e.indexOf("MSIE")>-1||e.indexOf("Trident")>-1,Firefox:e.indexOf("Firefox")>-1||e.indexOf("FxiOS")>-1,"Firefox Focus":e.indexOf("Focus")>-1,Chromium:e.indexOf("Chromium")>-1,Opera:e.indexOf("Opera")>-1||e.indexOf("OPR")>-1,Vivaldi:e.indexOf("Vivaldi")>-1,Yandex:e.indexOf("YaBrowser")>-1,Kindle:e.indexOf("Kindle")>-1||e.indexOf("Silk/")>-1,360:e.indexOf("360EE")>-1||e.indexOf("360SE")>-1,UC:e.indexOf("UC")>-1||e.indexOf(" UBrowser")>-1,QQBrowser:e.indexOf("QQBrowser")>-1,QQ:e.indexOf("QQ/")>-1,Baidu:e.indexOf("Baidu")>-1||e.indexOf("BIDUBrowser")>-1,Maxthon:e.indexOf("Maxthon")>-1,Sogou:e.indexOf("MetaSr")>-1||e.indexOf("Sogou")>-1,LBBROWSER:e.indexOf("LBBROWSER")>-1,"2345Explorer":e.indexOf("2345Explorer")>-1,TheWorld:e.indexOf("TheWorld")>-1,XiaoMi:e.indexOf("MiuiBrowser")>-1,Quark:e.indexOf("Quark")>-1,Qiyu:e.indexOf("Qiyu")>-1,Wechat:e.indexOf("MicroMessenger")>-1,Taobao:e.indexOf("AliApp(TB")>-1,Alipay:e.indexOf("AliApp(AP")>-1,Weibo:e.indexOf("Weibo")>-1,Douban:e.indexOf("com.douban.frodo")>-1,Suning:e.indexOf("SNEBUY-APP")>-1,iQiYi:e.indexOf("IqiyiApp")>-1,Windows:e.indexOf("Windows")>-1,Linux:e.indexOf("Linux")>-1||e.indexOf("X11")>-1,macOS:e.indexOf("Macintosh")>-1,Android:e.indexOf("Android")>-1||e.indexOf("Adr")>-1,Ubuntu:e.indexOf("Ubuntu")>-1,FreeBSD:e.indexOf("FreeBSD")>-1,Debian:e.indexOf("Debian")>-1,"Windows Phone":e.indexOf("IEMobile")>-1||e.indexOf("Windows Phone")>-1,BlackBerry:e.indexOf("BlackBerry")>-1||e.indexOf("RIM")>-1||e.indexOf("BB10")>-1,MeeGo:e.indexOf("MeeGo")>-1,Symbian:e.indexOf("Symbian")>-1,iOS:e.indexOf("like Mac OS X")>-1,"Chrome OS":e.indexOf("CrOS")>-1,WebOS:e.indexOf("hpwOS")>-1,Mobile:e.indexOf("Mobi")>-1||e.indexOf("iPh")>-1||e.indexOf("480")>-1,Tablet:e.indexOf("Tablet")>-1||e.indexOf("Pad")>-1||e.indexOf("Nexus 7")>-1};n.Mobile&&(n.Mobile=!(e.indexOf("iPad")>-1));var r={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","macOS","Android","Ubuntu","FreeBSD","Debian","iOS","Windows Phone","BlackBerry","MeeGo","Symbian","Chrome OS","WebOS"]};for(var o in r)if(r.hasOwnProperty(o))for(var i=0,a=r[o].length;i<a;i++){var s=r[o][i];n[s]&&(t[o]=s)}var l={Windows:function(){var t=e.replace(/^.*Windows NT ([\d.]+).*$/,"$1");return{6.4:"10",6.3:"8.1",6.2:"8",6.1:"7","6.0":"Vista",5.2:"XP",5.1:"XP","5.0":"2000"}[t]||t},Android:e.replace(/^.*Android ([\d.]+);.*$/,"$1"),iOS:e.replace(/^.*OS ([\d_]+) like.*$/,"$1").replace(/_/g,"."),Debian:e.replace(/^.*Debian\/([\d.]+).*$/,"$1"),"Windows Phone":e.replace(/^.*Windows Phone( OS)? ([\d.]+);.*$/,"$2"),macOS:e.replace(/^.*Mac OS X ([\d_]+).*$/,"$1").replace(/_/g,"."),WebOS:e.replace(/^.*hpwOS\/([\d.]+);.*$/,"$1"),BlackBerry:e.replace(/^.*BB([\d.]+);*$/,"$1")};t.osVersion="";var c=l[t.os];c&&(t.osVersion="function"==typeof c?c():c==e?"":c);var d={Safari:e.replace(/^.*Version\/([\d.]+).*$/,"$1"),Chrome:e.replace(/^.*Chrome\/([\d.]+).*$/,"$1").replace(/^.*CriOS\/([\d.]+).*$/,"$1"),IE:e.replace(/^.*MSIE ([\d.]+).*$/,"$1").replace(/^.*rv:([\d.]+).*$/,"$1"),Edge:e.replace(/^.*Edge?\/([\d.]+).*$/,"$1"),Firefox:e.replace(/^.*Firefox\/([\d.]+).*$/,"$1").replace(/^.*FxiOS\/([\d.]+).*$/,"$1"),"Firefox Focus":e.replace(/^.*Focus\/([\d.]+).*$/,"$1"),Chromium:e.replace(/^.*Chromium\/([\d.]+).*$/,"$1"),Opera:e.replace(/^.*Opera\/([\d.]+).*$/,"$1").replace(/^.*OPR\/([\d.]+).*$/,"$1"),Vivaldi:e.replace(/^.*Vivaldi\/([\d.]+).*$/,"$1"),Yandex:e.replace(/^.*YaBrowser\/([\d.]+).*$/,"$1"),Kindle:e.replace(/^.*Version\/([\d.]+).*$/,"$1"),Maxthon:e.replace(/^.*Maxthon\/([\d.]+).*$/,"$1"),QQBrowser:e.replace(/^.*QQBrowser\/([\d.]+).*$/,"$1"),QQ:e.replace(/^.*QQ\/([\d.]+).*$/,"$1"),Baidu:e.replace(/^.*BIDUBrowser[\s\/]([\d.]+).*$/,"$1"),UC:e.replace(/^.*UC?Browser\/([\d.]+).*$/,"$1"),Sogou:e.replace(/^.*SE ([\d.X]+).*$/,"$1").replace(/^.*SogouMobileBrowser\/([\d.]+).*$/,"$1"),"2345Explorer":e.replace(/^.*2345Explorer\/([\d.]+).*$/,"$1"),TheWorld:e.replace(/^.*TheWorld ([\d.]+).*$/,"$1"),XiaoMi:e.replace(/^.*MiuiBrowser\/([\d.]+).*$/,"$1"),Quark:e.replace(/^.*Quark\/([\d.]+).*$/,"$1"),Qiyu:e.replace(/^.*Qiyu\/([\d.]+).*$/,"$1"),Wechat:e.replace(/^.*MicroMessenger\/([\d.]+).*$/,"$1"),Taobao:e.replace(/^.*AliApp\(TB\/([\d.]+).*$/,"$1"),Alipay:e.replace(/^.*AliApp\(AP\/([\d.]+).*$/,"$1"),Weibo:e.replace(/^.*weibo__([\d.]+).*$/,"$1"),Douban:e.replace(/^.*com.douban.frodo\/([\d.]+).*$/,"$1"),Suning:e.replace(/^.*SNEBUY-APP([\d.]+).*$/,"$1"),iQiYi:e.replace(/^.*IqiyiVersion\/([\d.]+).*$/,"$1")};t.version="";var u=d[t.browser];return u&&(t.version="function"==typeof u?u():u==e?"":u),null==t.browser&&(t.browser="Unknow App"),t}},function(e,t,n){var r;!function(n,o){o=function(e,t,n){function r(t,o,i){return i=Object.create(r.fn),t&&i.push.apply(i,t.addEventListener?[t]:""+t===t?/</.test(t)?((o=e.createElement(o)).innerHTML=t,o.children):o?(o=r(o)[0])?o[n](t):i:e[n](t):t),i}return r.fn=[],r.one=function(e,t){return r(e,t)[0]||null},r}(document,0,"querySelectorAll");void 0!==(r=function(){return o}.apply(t,[]))&&(e.exports=r)}()},function(e,t,n){function r(e){return null==e}function o(e){e=function(e){var t={};for(var n in e)t[n]=e[n];return t}(e||{}),e.whiteList=e.whiteList||i.whiteList,e.onAttr=e.onAttr||i.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||i.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||i.safeAttrValue,this.options=e}var i=n(7),a=n(30);n(8),o.prototype.process=function(e){if(!(e=(e=e||"").toString()))return"";var t=this.options,n=t.whiteList,o=t.onAttr,i=t.onIgnoreAttr,s=t.safeAttrValue;return a(e,(function(e,t,a,l,c){var d=n[a],u=!1;if(!0===d?u=d:"function"==typeof d?u=d(l):d instanceof RegExp&&(u=d.test(l)),!0!==u&&(u=!1),l=s(a,l)){var p,f={position:t,sourcePosition:e,source:c,isWhite:u};return u?r(p=o(a,l,f))?a+":"+l:p:r(p=i(a,l,f))?void 0:p}}))},e.exports=o},function(e,t,n){var r=n(8);e.exports=function(e,t){function n(){if(!i){var n=r.trim(e.slice(a,s)),o=n.indexOf(":");if(-1!==o){var c=r.trim(n.slice(0,o)),d=r.trim(n.slice(o+1));if(c){var u=t(a,l.length,c,d,n);u&&(l+=u+"; ")}}}a=s+1}";"!==(e=r.trimRight(e))[e.length-1]&&(e+=";");for(var o=e.length,i=!1,a=0,s=0,l="";s<o;s++){var c=e[s];if("/"===c&&"*"===e[s+1]){var d=e.indexOf("*/",s+2);if(-1===d)break;a=(s=d+1)+1,i=!1}else"("===c?i=!0:")"===c?i=!1:";"===c?i||n():"\n"===c&&n()}return r.trim(l)}},function(e,t,n){"use strict";var r=n(35),o=Object.prototype.toString,i=Object.prototype.hasOwnProperty,a=function(e,t,n){for(var r=0,o=e.length;r<o;r++)i.call(e,r)&&(null==n?t(e[r],r,e):t.call(n,e[r],r,e))},s=function(e,t,n){for(var r in e)i.call(e,r)&&(null==n?t(e[r],r,e):t.call(n,e[r],r,e))};e.exports=function(e,t,n){if(!r(t))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=n),"[object Array]"===o.call(e)?a(e,t,i):"string"==typeof e?function(e,t,n){for(var r=0,o=e.length;r<o;r++)null==n?t(e.charAt(r),r,e):t.call(n,e.charAt(r),r,e)}(e,t,i):s(e,t,i)}},function(e,t,n){"use strict";var r=Array.prototype.slice,o=Object.prototype.toString;e.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==o.call(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var n,i=r.call(arguments,1),a=Math.max(0,t.length-i.length),s=[],l=0;l<a;l++)s.push("$"+l);if(n=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof n){var o=t.apply(this,i.concat(r.call(arguments)));return Object(o)===o?o:this}return t.apply(e,i.concat(r.call(arguments)))})),t.prototype){var c=function(){};c.prototype=t.prototype,n.prototype=new c,c.prototype=null}return n}},function(e,t,n){e.exports=function(){"use strict";function e(e){return'<span style="color: slategray">'+e+"</span>"}var t=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e){var t=e.exports=function(){return new RegExp("(?:"+t.line().source+")|(?:"+t.block().source+")","gm")};t.line=function(){return/(?:^|\s)\/\/(.+?)$/gm},t.block=function(){return/\/\*([\S\s]*?)\*\//gm}})),n=["23AC69","91C132","F19726","E8552D","1AAB8E","E1147F","2980C1","1BA1E6","9FA0A0","F19726","E30B20","E30B20","A3338B"];return function(r,o){void 0===o&&(o={});var i=o.colors;void 0===i&&(i=n);var a=0,s={},l=new RegExp("("+/[\u4E00-\u9FFF\u3400-\u4dbf\uf900-\ufaff\u3040-\u309f\uac00-\ud7af\u0400-\u04FF]+|\w+/.source+"|"+/</.source+")|("+t().source+")","gmi");return r.replace(l,(function(t,n,r){if(r)return e(r);if("<"===n)return"&lt;";var o;s[n]?o=s[n]:(o=i[a],s[n]=o);var l='<span style="color: #'+o+'">'+n+"</span>";return a=++a%i.length,l}))}}()},function(e,t,n){"use strict";var r=n(4);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},function(e,t,n){"use strict";var r=Function.prototype.toString,o=/^\s*class\b/,i=function(e){try{var t=r.call(e);return o.test(t)}catch(e){return!1}},a=Object.prototype.toString,s="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if("function"==typeof e&&!e.prototype)return!0;if(s)return function(e){try{return!i(e)&&(r.call(e),!0)}catch(e){return!1}}(e);if(i(e))return!1;var t=a.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t}},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=v.normal,this.options.pedantic?this.rules=v.pedantic:this.options.gfm&&(this.options.tables?this.rules=v.tables:this.rules=v.gfm)}function r(e,t){if(this.options=t||h.defaults,this.links=e,this.rules=g.normal,this.renderer=this.options.renderer||new o,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.pedantic?this.rules=g.pedantic:this.options.gfm&&(this.options.breaks?this.rules=g.breaks:this.rules=g.gfm)}function o(e){this.options=e||h.defaults}function i(){}function a(e){this.tokens=[],this.token=null,this.options=e||h.defaults,this.options.renderer=this.options.renderer||new o,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"colon"===(t=t.toLowerCase())?":":"#"===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||e,t=t||"",{replace:function(t,n){return n=(n=n.source||n).replace(/(^|[^\[])\^/g,"$1"),e=e.replace(t,n),this},getRegex:function(){return new RegExp(e,t)}}}function d(e,t){return m[" "+e]||(/^[^:]+:\/*[^/]*$/.test(e)?m[" "+e]=e+"/":m[" "+e]=e.replace(/[^/]*$/,"")),e=m[" "+e],"//"===t.slice(0,2)?e.replace(/:[\s\S]*/,":")+t:"/"===t.charAt(0)?e.replace(/(:\/*[^/]*)[\s\S]*/,"$1")+t:e+t}function u(){}function p(e){for(var t,n,r=1;r<arguments.length;r++)for(n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function f(e,t){var n=e.replace(/([^\\])\|/g,"$1 |").split(/ +\| */),r=0;if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].replace(/\\\|/g,"|");return n}function h(e,t,r){if(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);var o,i,l=(t=p({},h.defaults,t||{})).highlight,c=0;try{o=n.lex(e,t)}catch(e){return r(e)}i=o.length;var d=function(e){if(e)return t.highlight=l,r(e);var n;try{n=a.parse(o,t)}catch(t){e=t}return t.highlight=l,e?r(e):r(null,n)};if(!l||l.length<3)return d();if(delete t.highlight,!i)return d();for(;c<o.length;c++)!function(e){"code"!==e.type?--i||d():l(e.text,e.lang,(function(t,n){return t?d(t):null==n||n===e.text?--i||d():(e.text=n,e.escaped=!0,void(--i||d()))}))}(o[c])}else try{return t&&(t=p({},h.defaults,t)),a.parse(n.lex(e,t),t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",(t||h.defaults).silent)return"<p>An error occurred:</p><pre>"+s(e.message+"",!0)+"</pre>";throw e}}var v={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:u,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,nptable:u,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=\\h*\\n)[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=\\h*\\n)[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:u,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};v.def=c(v.def).replace("label",v._label).replace("title",v._title).getRegex(),v.bullet=/(?:[*+-]|\d+\.)/,v.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,v.item=c(v.item,"gm").replace(/bull/g,v.bullet).getRegex(),v.list=c(v.list).replace(/bull/g,v.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+v.def.source+")").getRegex(),v._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",v._comment=/<!--(?!-?>)[\s\S]*?-->/,v.html=c(v.html,"i").replace("comment",v._comment).replace("tag",v._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),v.paragraph=c(v.paragraph).replace("hr",v.hr).replace("heading",v.heading).replace("lheading",v.lheading).replace("tag",v._tag).getRegex(),v.blockquote=c(v.blockquote).replace("paragraph",v.paragraph).getRegex(),v.normal=p({},v),v.gfm=p({},v.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\n? *\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),v.gfm.paragraph=c(v.paragraph).replace("(?!","(?!"+v.gfm.fences.source.replace("\\1","\\2")+"|"+v.list.source.replace("\\1","\\3")+"|").getRegex(),v.tables=p({},v.gfm,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),v.pedantic=p({},v.normal,{html:c("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",v._comment).replace(/tag/g,"(?!(?: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").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/}),n.rules=v,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,o,i,a,s,l,c,d,u,p,h,g;e;)if((o=this.rules.newline.exec(e))&&(e=e.substring(o[0].length),o[0].length>1&&this.tokens.push({type:"space"})),o=this.rules.code.exec(e))e=e.substring(o[0].length),o=o[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?o:o.replace(/\n+$/,"")});else if(o=this.rules.fences.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"code",lang:o[2],text:o[3]||""});else if(o=this.rules.heading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:o[1].length,text:o[2]});else if(t&&(o=this.rules.nptable.exec(e))&&(s={type:"table",header:f(o[1].replace(/^ *| *\| *$/g,"")),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3]?o[3].replace(/\n$/,"").split("\n"):[]}).header.length===s.align.length){for(e=e.substring(o[0].length),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]=f(s.cells[c],s.header.length);this.tokens.push(s)}else if(o=this.rules.hr.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"hr"});else if(o=this.rules.blockquote.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"blockquote_start"}),o=o[0].replace(/^ *> ?/gm,""),this.token(o,t),this.tokens.push({type:"blockquote_end"});else if(o=this.rules.list.exec(e)){for(e=e.substring(o[0].length),p=(i=o[2]).length>1,this.tokens.push({type:"list_start",ordered:p,start:p?+i:""}),n=!1,u=(o=o[0].match(this.rules.item)).length,c=0;c<u;c++)l=(s=o[c]).length,~(s=s.replace(/^ *([*+-]|\d+\.) +/,"")).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!==u-1&&(i===(a=v.bullet.exec(o[c+1])[0])||i.length>1&&a.length>1||(e=o.slice(c+1).join("\n")+e,c=u-1)),r=n||/\n\n(?!\s*$)/.test(s),c!==u-1&&(n="\n"===s.charAt(s.length-1),r||(r=n)),g=void 0,(h=/^\[[ xX]\] /.test(s))&&(g=" "!==s[1],s=s.replace(/^\[[ xX]\] +/,"")),this.tokens.push({type:r?"loose_item_start":"list_item_start",task:h,checked:g}),this.token(s,!1),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(o=this.rules.html.exec(e))e=e.substring(o[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===o[1]||"script"===o[1]||"style"===o[1]),text:o[0]});else if(t&&(o=this.rules.def.exec(e)))e=e.substring(o[0].length),o[3]&&(o[3]=o[3].substring(1,o[3].length-1)),d=o[1].toLowerCase().replace(/\s+/g," "),this.tokens.links[d]||(this.tokens.links[d]={href:o[2],title:o[3]});else if(t&&(o=this.rules.table.exec(e))&&(s={type:"table",header:f(o[1].replace(/^ *| *\| *$/g,"")),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3]?o[3].replace(/(?: *\| *)?\n$/,"").split("\n"):[]}).header.length===s.align.length){for(e=e.substring(o[0].length),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]=f(s.cells[c].replace(/^ *\| *| *\| *$/g,""),s.header.length);this.tokens.push(s)}else if(o=this.rules.lheading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:"="===o[2]?1:2,text:o[1]});else if(t&&(o=this.rules.paragraph.exec(e)))e=e.substring(o[0].length),this.tokens.push({type:"paragraph",text:"\n"===o[1].charAt(o[1].length-1)?o[1].slice(0,-1):o[1]});else if(o=this.rules.text.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"text",text:o[0]});else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0));return this.tokens};var g={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:u,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(href(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)|^__([^\s])__(?!_)|^\*\*([^\s])\*\*(?!\*)/,em:/^_([^\s][\s\S]*?[^\s_])_(?!_)|^_([^\s_][\s\S]*?[^\s])_(?!_)|^\*([^\s][\s\S]*?[^\s*])\*(?!\*)|^\*([^\s*][\s\S]*?[^\s])\*(?!\*)|^_([^\s_])_(?!_)|^\*([^\s*])\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`]?)\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:u,text:/^[\s\S]+?(?=[\\<!\[`*]|\b_| {2,}\n|$)/,_escapes:/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,_scheme:/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,_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])?)+(?![-_])/};g.autolink=c(g.autolink).replace("scheme",g._scheme).replace("email",g._email).getRegex(),g._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,g.tag=c(g.tag).replace("comment",v._comment).replace("attribute",g._attribute).getRegex(),g._label=/(?:\[[^\[\]]*\]|\\[\[\]]?|`[^`]*`|[^\[\]\\])*?/,g._href=/\s*(<(?:\\[<>]?|[^\s<>\\])*>|(?:\\[()]?|\([^\s\x00-\x1f()\\]*\)|[^\s\x00-\x1f()\\])*?)/,g._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,g.link=c(g.link).replace("label",g._label).replace("href",g._href).replace("title",g._title).getRegex(),g.reflink=c(g.reflink).replace("label",g._label).getRegex(),g.normal=p({},g),g.pedantic=p({},g.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:c(/^!?\[(label)\]\((.*?)\)/).replace("label",g._label).getRegex(),reflink:c(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",g._label).getRegex()}),g.gfm=p({},g.normal,{escape:c(g.escape).replace("])","~|])").getRegex(),url:c(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("email",g._email).getRegex(),_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:c(g.text).replace("]|","~]|").replace("|","|https?://|ftp://|www\\.|[a-zA-Z0-9.!#$%&'*+/=?^_`{\\|}~-]+@|").getRegex()}),g.breaks=p({},g.gfm,{br:c(g.br).replace("{2,}","*").getRegex(),text:c(g.gfm.text).replace("{2,}","*").getRegex()}),r.rules=g,r.output=function(e,t,n){return new r(t,n).output(e)},r.prototype.output=function(e){for(var t,n,o,i,a,l="";e;)if(a=this.rules.escape.exec(e))e=e.substring(a[0].length),l+=a[1];else if(a=this.rules.autolink.exec(e))e=e.substring(a[0].length),"@"===a[2]?o="mailto:"+(n=s(this.mangle(a[1]))):o=n=s(a[1]),l+=this.renderer.link(o,null,n);else if(this.inLink||!(a=this.rules.url.exec(e))){if(a=this.rules.tag.exec(e))!this.inLink&&/^<a /i.test(a[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(a[0])&&(this.inLink=!1),e=e.substring(a[0].length),l+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):s(a[0]):a[0];else if(a=this.rules.link.exec(e))e=e.substring(a[0].length),this.inLink=!0,o=a[2],this.options.pedantic?(t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(o))?(o=t[1],i=t[3]):i="":i=a[3]?a[3].slice(1,-1):"",o=o.trim().replace(/^<([\s\S]*)>$/,"$1"),l+=this.outputLink(a,{href:r.escapes(o),title:r.escapes(i)}),this.inLink=!1;else if((a=this.rules.reflink.exec(e))||(a=this.rules.nolink.exec(e))){if(e=e.substring(a[0].length),t=(a[2]||a[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){l+=a[0].charAt(0),e=a[0].substring(1)+e;continue}this.inLink=!0,l+=this.outputLink(a,t),this.inLink=!1}else if(a=this.rules.strong.exec(e))e=e.substring(a[0].length),l+=this.renderer.strong(this.output(a[4]||a[3]||a[2]||a[1]));else if(a=this.rules.em.exec(e))e=e.substring(a[0].length),l+=this.renderer.em(this.output(a[6]||a[5]||a[4]||a[3]||a[2]||a[1]));else if(a=this.rules.code.exec(e))e=e.substring(a[0].length),l+=this.renderer.codespan(s(a[2].trim(),!0));else if(a=this.rules.br.exec(e))e=e.substring(a[0].length),l+=this.renderer.br();else if(a=this.rules.del.exec(e))e=e.substring(a[0].length),l+=this.renderer.del(this.output(a[1]));else if(a=this.rules.text.exec(e))e=e.substring(a[0].length),l+=this.renderer.text(s(this.smartypants(a[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else a[0]=this.rules._backpedal.exec(a[0])[0],e=e.substring(a[0].length),"@"===a[2]?o="mailto:"+(n=s(a[0])):(n=s(a[0]),o="www."===a[1]?"http://"+n:n),l+=this.renderer.link(o,null,n);return l},r.escapes=function(e){return e?e.replace(r.rules._escapes,"$1"):e},r.prototype.outputLink=function(e,t){var n=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,o=0;o<r;o++)t=e.charCodeAt(o),Math.random()>.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},o.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))+"</code></pre>\n":"<pre><code>"+(n?e:s(e,!0))+"</code></pre>"},o.prototype.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},o.prototype.html=function(e){return e},o.prototype.heading=function(e,t,n){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+n.toLowerCase().replace(/[^\w]+/g,"-")+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"},o.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},o.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"},o.prototype.listitem=function(e){return"<li>"+e+"</li>\n"},o.prototype.checkbox=function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},o.prototype.paragraph=function(e){return"<p>"+e+"</p>\n"},o.prototype.table=function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"},o.prototype.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},o.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"},o.prototype.strong=function(e){return"<strong>"+e+"</strong>"},o.prototype.em=function(e){return"<em>"+e+"</em>"},o.prototype.codespan=function(e){return"<code>"+e+"</code>"},o.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},o.prototype.del=function(e){return"<del>"+e+"</del>"},o.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&&!y.test(e)&&(e=d(this.options.baseUrl,e));try{e=encodeURI(e).replace(/%25/g,"%")}catch(e){return n}var o='<a href="'+s(e)+'"';return t&&(o+=' title="'+t+'"'),o+">"+n+"</a>"},o.prototype.image=function(e,t,n){this.options.baseUrl&&!y.test(e)&&(e=d(this.options.baseUrl,e));var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+(this.options.xhtml?"/>":">")},o.prototype.text=function(e){return e},i.prototype.strong=i.prototype.em=i.prototype.codespan=i.prototype.del=i.prototype.text=function(e){return e},i.prototype.link=i.prototype.image=function(e,t,n){return""+n},i.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 i})),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,o="",i="";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(o+=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]});i+=this.renderer.tablerow(n)}return this.renderer.table(o,i);case"blockquote_start":for(i="";"blockquote_end"!==this.next().type;)i+=this.tok();return this.renderer.blockquote(i);case"list_start":i="";for(var a=this.token.ordered,s=this.token.start;"list_end"!==this.next().type;)i+=this.tok();return this.renderer.list(i,a,s);case"list_item_start":for(i="",this.token.task&&(i+=this.renderer.checkbox(this.token.checked));"list_item_end"!==this.next().type;)i+="text"===this.token.type?this.parseText():this.tok();return this.renderer.listitem(i);case"loose_item_start":for(i="";"list_item_end"!==this.next().type;)i+=this.tok();return this.renderer.listitem(i);case"html":return this.renderer.html(this.token.text);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText())}};var m={},y=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;u.exec=u,h.options=h.setOptions=function(e){return p(h.defaults,e),h},h.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new o,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tables:!0,xhtml:!1}},h.defaults=h.getDefaults(),h.Parser=a,h.parser=a.parse,h.Renderer=o,h.TextRenderer=i,h.Lexer=n,h.lexer=n.lex,h.InlineLexer=r,h.inlineLexer=r.output,h.parse=h,e.exports=h}(this||"undefined"!=typeof window&&window)}).call(t,n(14))},function(e,t,n){"use strict";function r(e,t){var n=function(e){var t={};return l(e,(function(e,n){l(e,(function(e){t[e]=n}))})),t}(e.pluralTypeToLanguages);return n[t]||n[h.call(t,/-/,1)[0]]||n.en}function o(e,t,n){return e.pluralTypes[r(e,t)](n)}function i(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function a(e,t,n,r,i){if("string"!=typeof e)throw new TypeError("Polyglot.transformPhrase expects argument #1 to be string");if(null==t)return e;var a=e,s=r||y,l=i||m,c="number"==typeof t?{smart_count:t}:t;if(null!=c.smart_count&&a){var p=h.call(a,v);a=u(p[o(l,n||"en",c.smart_count)]||p[0])}return f.call(a,s,(function(e,t){return d(c,t)&&null!=c[t]?c[t]:e}))}function s(e){var t=e||{};this.phrases={},this.extend(t.phrases||{}),this.currentLocale=t.locale||"en";var n=t.allowMissing?a:null;this.onMissingKey="function"==typeof t.onMissingKey?t.onMissingKey:n,this.warn=t.warn||p,this.tokenRegex=function(e){var t=e&&e.prefix||"%{",n=e&&e.suffix||"}";if(t===v||n===v)throw new RangeError('"'+v+'" token is reserved for pluralization');return new RegExp(i(t)+"(.*?)"+i(n),"g")}(t.interpolation),this.pluralRules=t.pluralRules||m}var l=n(31),c=n(50),d=n(34),u=n(43),p=function(e){c(!1,e)},f=String.prototype.replace,h=String.prototype.split,v="||||",g=function(e){var t=e%100,n=t%10;return 11!==t&&1===n?0:2<=n&&n<=4&&!(t>=12&&t<=14)?1:2},m={pluralTypes:{arabic:function(e){if(e<3)return e;var t=e%100;return t>=3&&t<=10?3:t>=11?4:5},bosnian_serbian:g,chinese:function(){return 0},croatian:g,french:function(e){return e>1?1:0},german:function(e){return 1!==e?1:0},russian:g,lithuanian:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=9&&(e%100<11||e%100>19)?1:2},czech:function(e){return 1===e?0:e>=2&&e<=4?1:2},polish:function(e){if(1===e)return 0;var t=e%10;return 2<=t&&t<=4&&(e%100<10||e%100>=20)?1:2},icelandic:function(e){return e%10!=1||e%100==11?1:0},slovenian:function(e){var t=e%100;return 1===t?0:2===t?1:3===t||4===t?2:3}},pluralTypeToLanguages:{arabic:["ar"],bosnian_serbian:["bs-Latn-BA","bs-Cyrl-BA","srl-RS","sr-RS"],chinese:["id","id-ID","ja","ko","ko-KR","lo","ms","th","th-TH","zh"],croatian:["hr","hr-HR"],german:["fa","da","de","en","es","fi","el","he","hi-IN","hu","hu-HU","it","nl","no","pt","sv","tr"],french:["fr","tl","pt-br"],russian:["ru","ru-RU"],lithuanian:["lt"],czech:["cs","cs-CZ","sk"],polish:["pl"],icelandic:["is"],slovenian:["sl-SL"]}},y=/%\{(.*?)\}/g;s.prototype.locale=function(e){return e&&(this.currentLocale=e),this.currentLocale},s.prototype.extend=function(e,t){l(e,(function(e,n){var r=t?t+"."+n:n;"object"==typeof e?this.extend(e,r):this.phrases[r]=e}),this)},s.prototype.unset=function(e,t){"string"==typeof e?delete this.phrases[e]:l(e,(function(e,n){var r=t?t+"."+n:n;"object"==typeof e?this.unset(e,r):delete this.phrases[r]}),this)},s.prototype.clear=function(){this.phrases={}},s.prototype.replace=function(e){this.clear(),this.extend(e)},s.prototype.t=function(e,t){var n,r,o=null==t?{}:t;if("string"==typeof this.phrases[e])n=this.phrases[e];else if("string"==typeof o._)n=o._;else if(this.onMissingKey){r=(0,this.onMissingKey)(e,o,this.currentLocale,this.tokenRegex,this.pluralRules)}else this.warn('Missing translation for key: "'+e+'"'),r=e;return"string"==typeof n&&(r=a(n,o,this.currentLocale,this.tokenRegex,this.pluralRules)),r},s.prototype.has=function(e){return d(this.phrases,e)},s.transformPhrase=function(e,t,n){return a(e,t,n)},e.exports=s},function(e,t,n){"use strict";
6
+ */o=[e,t],r=function(e,t){"use strict";function n(e){function t(t){var n=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=n,e.style.overflowY=t}function n(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}function r(){if(0!==e.scrollHeight){var t=n(e),r=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+s+"px",l=e.clientWidth,t.forEach((function(e){e.node.scrollTop=e.scrollTop})),r&&(document.documentElement.scrollTop=r)}}function o(){r();var n=Math.round(parseFloat(e.style.height)),o=window.getComputedStyle(e,null),i="content-box"===o.boxSizing?Math.round(parseFloat(o.height)):e.offsetHeight;if(i<n?"hidden"===o.overflowY&&(t("scroll"),r(),i="content-box"===o.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight):"hidden"!==o.overflowY&&(t("hidden"),r(),i="content-box"===o.boxSizing?Math.round(parseFloat(window.getComputedStyle(e,null).height)):e.offsetHeight),c!==i){c=i;var s=a("autosize:resized");try{e.dispatchEvent(s)}catch(e){}}}if(e&&e.nodeName&&"TEXTAREA"===e.nodeName&&!i.has(e)){var s=null,l=null,c=null,d=function(){e.clientWidth!==l&&o()},u=function(t){window.removeEventListener("resize",d,!1),e.removeEventListener("input",o,!1),e.removeEventListener("keyup",o,!1),e.removeEventListener("autosize:destroy",u,!1),e.removeEventListener("autosize:update",o,!1),Object.keys(t).forEach((function(n){e.style[n]=t[n]})),i.delete(e)}.bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",u,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",o,!1),window.addEventListener("resize",d,!1),e.addEventListener("input",o,!1),e.addEventListener("autosize:update",o,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",i.set(e,{destroy:u,update:o}),function(){var t=window.getComputedStyle(e,null);"vertical"===t.resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),s="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth),isNaN(s)&&(s=0),o()}()}}function r(e){var t=i.get(e);t&&t.destroy()}function o(e){var t=i.get(e);t&&t.update()}var i="function"==typeof Map?new Map:function(){var e=[],t=[];return{has:function(t){return e.indexOf(t)>-1},get:function(n){return t[e.indexOf(n)]},set:function(n,r){-1===e.indexOf(n)&&(e.push(n),t.push(r))},delete:function(n){var r=e.indexOf(n);r>-1&&(e.splice(r,1),t.splice(r,1))}}}(),a=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){a=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}var s=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?(s=function(e){return e},s.destroy=function(e){return e},s.update=function(e){return e}):(s=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],(function(e){return n(e)})),e},s.destroy=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],r),e},s.update=function(e){return e&&Array.prototype.forEach.call(e.length?e:[e],o),e}),t.default=s,e.exports=t.default},void 0!==(i="function"==typeof r?r.apply(t,o):r)&&(e.exports=i)},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}function o(e){return!!e&&this.init(e),this}function i(e){return new o(e)}var a=r(n(26)),s=r(n(17)),l=r(n(20)),c=r(n(6)),d=n(2),u=r(n(24)),p=r(n(0)),f=r(n(22)),h=r(n(19)),v=n(23),g=r(n(25)),m=r(n(21)),y={comment:"",nick:"",mail:"",link:"",ua:p.default.ua,url:"",QQAvatar:""},b="",w={cdn:"https://gravatar.loli.net/avatar/",ds:["mp","identicon","monsterid","wavatar","robohash","retro",""],params:"",hide:!1};o.prototype.init=function(e){if("undefined"==typeof document)throw new Error("Sorry, Valine does not support Server-side rendering.");var t=this;return e&&(e=p.default.extend(d.defaultConfig,e),t.i18n=(0,l.default)(e.lang||p.default.lang,e.langMode),t.config=e,c.default.maps=!!e.emojiMaps&&e.emojiMaps||c.default.maps,c.default.cdn=!!e.emojiCDN&&e.emojiCDN||c.default.cdn,t._init()),t},o.prototype._init=function(){var e=this;try{var t=e.config,n=t.avatar,r=t.avatarForce,o=t.avatar_cdn,i=t.visitor,a=t.path,s=void 0===a?location.pathname:a,l=t.pageSize,c=t.recordIP;e.config.path=s.replace(/index\.html?$/,"");var u=w.ds,f=r?"&q="+d.RandomStr:"";w.params="?d="+(u.indexOf(n)>-1?n:"mp")+"&v="+d.VERSION+f,w.hide="hide"===n,w.cdn=/^https?\:\/\//.test(o)?o:w.cdn,e.config.pageSize=isNaN(l)||l<1?10:l,c&&(0,v.recordIPFn)((function(e){return y.ip=e}));var g=e.config.el||null,b=(0,p.default)(g);if(g=g instanceof HTMLElement?g:b[b.length-1]||null){e.$el=(0,p.default)(g),e.$el.addClass("v").attr("data-class","v"),w.hide&&e.$el.addClass("hide-avatar"),e.config.meta=(e.config.guest_info||e.config.meta||d.defaultMeta).filter((function(e){return d.defaultMeta.indexOf(e)>-1})),e.config.requiredFields=e.config.requiredFields.filter((function(e){return d.defaultMeta.indexOf(e)>-1}));var x=(0==e.config.meta.length?d.defaultMeta:e.config.meta).map((function(t){var n="mail"==t?"email":"text";return d.defaultMeta.indexOf(t)>-1?'<input name="'+t+'" placeholder="'+e.i18n.t(t)+'" class="v'+t+' vinput" type="'+n+'">':""})),_='<div class="vpanel"><div class="vwrap"><p class="cancel-reply text-right" style="display:none;" title="'+e.i18n.t("cancelReply")+'"><svg class="vicon cancel-reply-btn" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="4220" width="22" height="22"><path d="M796.454 985H227.545c-50.183 0-97.481-19.662-133.183-55.363-35.7-35.701-55.362-83-55.362-133.183V227.545c0-50.183 19.662-97.481 55.363-133.183 35.701-35.7 83-55.362 133.182-55.362h568.909c50.183 0 97.481 19.662 133.183 55.363 35.701 35.702 55.363 83 55.363 133.183v568.909c0 50.183-19.662 97.481-55.363 133.183S846.637 985 796.454 985zM227.545 91C152.254 91 91 152.254 91 227.545v568.909C91 871.746 152.254 933 227.545 933h568.909C871.746 933 933 871.746 933 796.454V227.545C933 152.254 871.746 91 796.454 91H227.545z" p-id="4221"></path><path d="M568.569 512l170.267-170.267c15.556-15.556 15.556-41.012 0-56.569s-41.012-15.556-56.569 0L512 455.431 341.733 285.165c-15.556-15.556-41.012-15.556-56.569 0s-15.556 41.012 0 56.569L455.431 512 285.165 682.267c-15.556 15.556-15.556 41.012 0 56.569 15.556 15.556 41.012 15.556 56.569 0L512 568.569l170.267 170.267c15.556 15.556 41.012 15.556 56.569 0 15.556-15.556 15.556-41.012 0-56.569L568.569 512z" p-id="4222" ></path></svg></p><div class="vheader item'+x.length+'">'+x.join("")+'</div><div class="vedit"><textarea id="veditor" class="veditor vinput" placeholder="'+e.config.placeholder+'"></textarea><div class="vrow"><div class="vcol vcol-60 status-bar"></div><div class="vcol vcol-40 vctrl text-right"><span title="'+e.i18n.t("emoji")+'" class="vicon vemoji-btn"><svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="16172" width="22" height="22" ><path d="M512 1024a512 512 0 1 1 512-512 512 512 0 0 1-512 512zM512 56.888889a455.111111 455.111111 0 1 0 455.111111 455.111111 455.111111 455.111111 0 0 0-455.111111-455.111111zM312.888889 512A85.333333 85.333333 0 1 1 398.222222 426.666667 85.333333 85.333333 0 0 1 312.888889 512z" p-id="16173"></path><path d="M512 768A142.222222 142.222222 0 0 1 369.777778 625.777778a28.444444 28.444444 0 0 1 56.888889 0 85.333333 85.333333 0 0 0 170.666666 0 28.444444 28.444444 0 0 1 56.888889 0A142.222222 142.222222 0 0 1 512 768z" p-id="16174"></path><path d="M782.222222 391.964444l-113.777778 59.733334a29.013333 29.013333 0 0 1-38.684444-10.808889 28.444444 28.444444 0 0 1 10.24-38.684445l113.777778-56.888888a28.444444 28.444444 0 0 1 38.684444 10.24 28.444444 28.444444 0 0 1-10.24 36.408888z" p-id="16175"></path><path d="M640.568889 451.697778l113.777778 56.888889a27.875556 27.875556 0 0 0 38.684444-10.24 27.875556 27.875556 0 0 0-10.24-38.684445l-113.777778-56.888889a28.444444 28.444444 0 0 0-38.684444 10.808889 28.444444 28.444444 0 0 0 10.24 38.115556z" p-id="16176"></path></svg></span><span title="'+e.i18n.t("preview")+'" class="vicon vpreview-btn"><svg viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="17688" width="22" height="22"><path d="M502.390154 935.384615a29.538462 29.538462 0 1 1 0 59.076923H141.430154C79.911385 994.461538 29.538462 946.254769 29.538462 886.153846V137.846154C29.538462 77.745231 79.950769 29.538462 141.390769 29.538462h741.218462c61.44 0 111.852308 48.206769 111.852307 108.307692v300.268308a29.538462 29.538462 0 1 1-59.076923 0V137.846154c0-26.899692-23.355077-49.230769-52.775384-49.230769H141.390769c-29.420308 0-52.775385 22.331077-52.775384 49.230769v748.307692c0 26.899692 23.355077 49.230769 52.775384 49.230769h360.999385z" p-id="17689"></path><path d="M196.923077 216.615385m29.538461 0l374.153847 0q29.538462 0 29.538461 29.538461l0 0q0 29.538462-29.538461 29.538462l-374.153847 0q-29.538462 0-29.538461-29.538462l0 0q0-29.538462 29.538461-29.538461Z" p-id="17690"></path><path d="M649.846154 846.769231a216.615385 216.615385 0 1 0 0-433.230769 216.615385 216.615385 0 0 0 0 433.230769z m0 59.076923a275.692308 275.692308 0 1 1 0-551.384616 275.692308 275.692308 0 0 1 0 551.384616z" p-id="17691"></path><path d="M807.398383 829.479768m20.886847-20.886846l0 0q20.886846-20.886846 41.773692 0l125.321079 125.321079q20.886846 20.886846 0 41.773693l0 0q-20.886846 20.886846-41.773693 0l-125.321078-125.321079q-20.886846-20.886846 0-41.773693Z" p-id="17692"></path></svg></span></div></div></div><div class="vrow"><div class="vcol vcol-30" ><a alt="Markdown is supported" href="https://guides.github.com/features/mastering-markdown/" class="vicon" target="_blank"><svg class="markdown" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><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></a></div><div class="vcol vcol-70 text-right"><button type="button" title="Cmd|Ctrl+Enter" class="vsubmit vbtn">'+e.i18n.t("submit")+'</button></div></div><div class="vemojis" style="display:none;"></div><div class="vinput vpreview" style="display:none;"></div><div style="display:none;" class="vmark"></div></div></div><div class="vcount" style="display:none;"><span class="vnum">0</span> '+e.i18n.t("comments")+'</div><div class="vload-top text-center" style="display:none;"><i class="vspinner" style="width:30px;height:30px;"></i></div><div class="vcards"></div><div class="vload-bottom text-center" style="display:none;"><i class="vspinner" style="width:30px;height:30px;"></i></div><div class="vempty" style="display:none;"></div><div class="vpage txt-center" style="display:none"><button type="button" class="vmore vbtn">'+e.i18n.t("more")+'</button></div><div class="vpower txt-right">Powered By <a href="https://valine.js.org" target="_blank">Valine</a><br>v'+d.VERSION+"</div>";e.$el.html(_),e.$el.find(".cancel-reply").on("click",(function(t){e.reset()}));var A=e.$el.find(".vempty");e.$nodata={show:function(t){return A.html(t||e.i18n.t("sofa")).show(),e},hide:function(){return A.hide(),e}};var S=e.$el.find(".vload-bottom"),O=e.$el.find(".vload-top");e.$loading={show:function(t){return t&&O.show()||S.show(),e.$nodata.hide(),e},hide:function(){return O.hide(),S.hide(),0===e.$el.find(".vcard").length&&e.$nodata.show(),e}}}(0,h.default)(e.config,(function(t){var n=(0,p.default)(".valine-comment-count"),r=0;!function t(n){var o=n[r++];if(o){var i=(0,p.default)(o).attr("data-xid");i&&e.Q(i).count().then((function(e){o.innerText=e,t(n)})).catch((function(e){o.innerText=0}))}}(n),i&&k.add(AV.Object.extend("Counter"),e.config.path),e.$el&&e.bind()}))}catch(t){(0,m.default)(e,t,"init")}};var x=function(e,t){var n=new e,r=new AV.ACL;r.setPublicReadAccess(!0),r.setPublicWriteAccess(!0),n.setACL(r),n.set("url",t.url),n.set("xid",t.xid),n.set("title",t.title),n.set("time",1),n.save().then((function(e){(0,p.default)(t.el).find(".leancloud-visitors-count").text(1)})).catch((function(e){}))},k={add:function(e,t){var n=this,r=(0,p.default)(".leancloud_visitors,.leancloud-visitors");if(1===r.length){var o=r[0],i=decodeURI((0,p.default)(o).attr("id")),a=(0,p.default)(o).attr("data-flag-title"),s=encodeURI(i),l={el:o,url:i,xid:s,title:a};if(decodeURI(i)===decodeURI(t)){var c=new AV.Query(e);c.equalTo("url",i),c.find().then((function(t){if(t.length>0){var n=t[0];n.increment("time"),n.save().then((function(e){(0,p.default)(o).find(".leancloud-visitors-count").text(e.get("time"))})).catch((function(e){}))}else x(e,l)})).catch((function(t){101==t.code?x(e,l):(0,m.default)(n,t)}))}else k.show(e,r)}else k.show(e,r)},show:function(e,t){var n=[];if(t.forEach((function(e){var t=(0,p.default)(e).find(".leancloud-visitors-count");t&&t.text("0"),n.push(/\%/.test((0,p.default)(e).attr("id"))?decodeURI((0,p.default)(e).attr("id")):(0,p.default)(e).attr("id"))})),n.length){var r=new AV.Query(e);r.containedIn("url",n),r.find().then((function(e){e.length>0&&t.forEach((function(t){e.forEach((function(e){var n=e.get("xid")||encodeURI(e.get("url")),r=e.get("time"),o=(0,p.default)(t),i=o.attr("id");if((/\%/.test(i)?i:encodeURI(i))==n){var a=o.find(".leancloud-visitors-count");a&&a.text(r)}}))}))})).catch((function(e){}))}}};o.prototype.Q=function(e){var t=arguments.length,n=this.config.clazzName;if(1==t){var r=new AV.Query(n);r.doesNotExist("rid");var o=new AV.Query(n);o.equalTo("rid","");var i=AV.Query.or(r,o);return"*"===e?i.exists("url"):i.equalTo("url",decodeURI(e)),i.addDescending("createdAt"),i.addDescending("insertedAt"),i}var a="select * from "+n+" where rid in ("+JSON.stringify(arguments[1]).replace(/(\[|\])/g,"")+") order by -createdAt,-createdAt";return AV.Query.doCloudQuery(a)},o.prototype.installLocale=function(e,t){return this.i18n(e,t),this},o.prototype.setPath=function(e){return this.config.path=e,this},o.prototype.bind=function(){var e=this,t=e.$el.find(".vemojis"),n=e.$el.find(".vpreview"),r=e.$el.find(".vemoji-btn"),o=e.$el.find(".vpreview-btn"),i=e.$el.find(".veditor"),l=c.default.maps,h=!1;e.$emoji={show:function(){return!h&&function(e){var n=[];for(var r in l)l.hasOwnProperty(r)&&c.default.build(r)&&n.push('<i title="'+r+'" >'+c.default.build(r)+"</i>");t.html(n.join("")),h=!0,t.find("i").on("click",(function(e){e.preventDefault(),O(i[0]," :"+(0,p.default)(this).attr("title")+":")}))}(),e.$preview.hide(),t.show(),r.addClass("actived"),e.$emoji},hide:function(){return r.removeClass("actived"),t.hide(),e.$emoji}},e.$preview={show:function(){return b?(e.$emoji.hide(),o.addClass("actived"),n.html(b).show(),P()):e.$preview.hide(),e.$preview},hide:function(){return o.removeClass("actived"),n.hide().html(""),e.$preview}};var x=function(t){var r=(0,f.default)(t.val()||"");r||e.$preview.hide(),b!=r&&(b=r,o.hasClass("actived")>-1&&b!=n.html()&&n.html(b),(0,s.default)(t[0]),P())};r.on("click",(function(t){r.hasClass("actived")?e.$emoji.hide():e.$emoji.show()})),o.on("click",(function(t){o.hasClass("actived")?e.$preview.hide():e.$preview.show()}));var k=e.config.meta,_={},A={veditor:"comment"};for(var S in k.forEach((function(e){A["v"+e]=e})),A)A.hasOwnProperty(S)&&function(){var t=A[S],n=e.$el.find("."+S);_[t]=n,n.on("input change blur propertychange",(function(r){e.config.enableQQ&&"blur"===r.type&&"nick"===t&&(isNaN(n.val())?p.default.store.get(d.QQCacheKey)&&p.default.store.get(d.QQCacheKey).nick!=n.val()&&(p.default.store.remove(d.QQCacheKey),y.nick=n.val(),y.mail="",y.QQAvatar=""):(0,v.fetchQQFn)(n.val(),(function(e){var t=e.nick||n.val(),r=e.qq+"@qq.com";(0,p.default)(".vnick").val(t),(0,p.default)(".vmail").val(r),y.nick=t,y.mail=r,y.QQAvatar=e.pic}))),"comment"===t?x(n):y[t]=p.default.escape(n.val().replace(/(^\s*)|(\s*$)/g,"")).substring(0,40)}))}();var O=function(e,t){if(document.selection)e.focus(),document.selection.createRange().text=t,e.focus();else if(e.selectionStart||"0"==e.selectionStart){var n=e.selectionStart,r=e.selectionEnd,o=e.scrollTop;e.value=e.value.substring(0,n)+t+e.value.substring(r,e.value.length),e.focus(),e.selectionStart=n+t.length,e.selectionEnd=n+t.length,e.scrollTop=o}else e.focus(),e.value+=t;setTimeout((function(t){x((0,p.default)(e))}),100)},$={no:1,size:e.config.pageSize,skip:e.config.pageSize},E=e.$el.find(".vpage");E.on("click",(function(e){E.hide(),$.no++,j()}));var j=function(){var t=$.size,n=$.no,r=Number(e.$el.find(".vnum").text());e.$loading.show();var o=e.Q(e.config.path);o.limit(t),o.skip((n-1)*t),o.find().then((function(o){if($.skip=$.size,o&&o.length){var i=[];o.forEach((function(t){i.push(t.id),T(t,e.$el.find(".vcards"),!0)})),e.Q(e.config.path,i).then((function(e){(e&&e.results||[]).forEach((function(e){T(e,(0,p.default)('.vquote[data-self-id="'+e.get("rid")+'"]'))})).catch((function(e){}))})),t*n<r?E.show():E.hide()}else e.$nodata.show();e.$loading.hide()})).catch((function(t){e.$loading.hide(),(0,m.default)(e,t,"query")}))};e.Q(e.config.path).count().then((function(t){t>0?(e.$el.find(".vcount").show().find(".vnum").text(t),j()):e.$loading.hide()})).catch((function(t){(0,m.default)(e,t,"count")}));var T=function(t,n,r){var o=(0,p.default)('<div class="vcard" id="'+t.id+'"></div>'),i=t.get("ua"),s="";i&&!/ja/.test(e.config.lang)&&(s='<span class="vsys">'+(i=p.default.detect(i)).browser+" "+i.version+'</span> <span class="vsys">'+i.os+" "+i.osVersion+"</span>"),"*"===e.config.path&&(s='<a href="'+t.get("url")+'" class="vsys">'+t.get("url")+"</a>");var l=t.get("link")?/^https?\:\/\//.test(t.get("link"))?t.get("link"):"http://"+t.get("link"):"",c=l?'<a class="vnick" rel="nofollow" href="'+l+'" target="_blank" >'+t.get("nick")+"</a>":'<span class="vnick">'+t.get("nick")+"</span>",d=(w.hide?"":e.config.enableQQ&&t.get("QQAvatar")?'<img class="vimg" src="'+t.get("QQAvatar")+'" referrerPolicy="no-referrer"/>':'<img class="vimg" src="'+(w.cdn+(0,a.default)(t.get("mail"))+w.params)+'">')+'<div class="vh"><div class="vhead">'+c+" "+s+'</div><div class="vmeta"><span class="vtime" >'+(0,u.default)(t.get("insertedAt"),e.i18n)+'</span><span class="vat" data-vm-id="'+(t.get("rid")||t.id)+'" data-self-id="'+t.id+'">'+e.i18n.t("reply")+'</span></div><div class="vcontent" data-expand="'+e.i18n.t("expand")+'">'+(0,g.default)(t.get("comment"))+'</div><div class="vreply-wrapper" data-self-id="'+t.id+'"></div><div class="vquote" data-self-id="'+t.id+'"></div></div>';o.html(d);var f=o.find(".vat");o.find("a").forEach((function(e){e&&!(0,p.default)(e).hasClass("at")&&(0,p.default)(e).attr({target:"_blank",rel:"nofollow"})})),r?n.append(o):n.prepend(o);var h=o.find(".vcontent");h&&M(h),f&&I(f,t),P()},C={},I=function(t,n){t.on("click",(function(r){var o=t.attr("data-vm-id"),i=t.attr("data-self-id"),a=e.$el.find(".vwrap"),s="@"+p.default.escape(n.get("nick"));(0,p.default)('.vreply-wrapper[data-self-id="'+i+'"]').append(a).find(".cancel-reply").show(),C={at:p.default.escape(s)+" ",rid:o,pid:i,rmail:n.get("mail")},_.comment.attr({placeholder:s})[0].focus()}))},P=function(){setTimeout((function(){try{"MathJax"in window&&"version"in window.MathJax&&(/^3.*/.test(window.MathJax.version)&&MathJax.typeset()||MathJax.Hub.Queue(["Typeset",MathJax.Hub,document.querySelector(".v")])),"renderMathInElement"in window&&renderMathInElement((0,p.default)(".v")[0],{delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1}]})}catch(e){}}),100)},M=function(e){setTimeout((function(){e[0].offsetHeight>200&&(e.addClass("expand"),e.on("click",(function(t){e.removeClass("expand")})))}))};!function(t){if(t=p.default.store.get(d.MetaCacheKey)||t)for(var n in k){var r=k[n];e.$el.find(".v"+r).val(p.default.unescape(t[r])),y[r]=t[r]}var o=p.default.store.get(d.QQCacheKey);y.QQAvatar=e.config.enableQQ&&!!o&&o.pic||""}(),e.reset=function(){y.comment="",_.comment.val(""),x(_.comment),_.comment.attr("placeholder",e.config.placeholder),C={},e.$preview.hide(),e.$el.find(".vpanel").append(e.$el.find(".vwrap")),e.$el.find(".cancel-reply").hide(),b=""};var z=e.$el.find(".vsubmit"),R=function(t){if(e.config.requiredFields.indexOf("nick")>-1&&y.nick.length<3)return _.nick[0].focus(),void e.$el.find(".status-bar").text(""+e.i18n.t("nickFail")).empty(3e3);if(e.config.requiredFields.indexOf("mail")>-1&&!/[\w-\.]+@([\w-]+\.)+[a-z]{2,3}/.test(y.mail))return _.mail[0].focus(),void e.$el.find(".status-bar").text(""+e.i18n.t("mailFail")).empty(3e3);if(""!=b){y.comment=b,y.nick=y.nick||"Anonymous";var n=p.default.store.get("vlx");n&&Date.now()/1e3-n/1e3<20?e.$el.find(".status-bar").text(e.i18n.t("busy")).empty(3e3):L()}else _.comment[0].focus()},L=function(){p.default.store.set("vlx",Date.now()),z.attr({disabled:!0}),e.$loading.show(!0);var t=new(AV.Object.extend(e.config.clazzName||"Comment"));if(y.url=decodeURI(e.config.path),y.insertedAt=new Date,C.rid){var n=C.pid||C.rid;t.set("rid",C.rid),t.set("pid",n),y.comment=b.replace("<p>",'<p><a class="at" href="#'+n+'">'+C.at+"</a> , ")}for(var r in y)if(y.hasOwnProperty(r)){var o=y[r];t.set(r,o)}t.setACL(function(){var e=new AV.ACL;return e.setPublicReadAccess(!0),e.setPublicWriteAccess(!1),e}()),t.save().then((function(t){"Anonymous"!=y.nick&&p.default.store.set(d.MetaCacheKey,{nick:y.nick,link:y.link,mail:y.mail});var n=e.$el.find(".vnum");try{C.rid?T(t,(0,p.default)('.vquote[data-self-id="'+C.rid+'"]'),!0):(Number(n.text())?n.text(Number(n.text())+1):e.$el.find(".vcount").show().find(".vnum").text(Number(n.text())+1),T(t,e.$el.find(".vcards")),$.skip++),z.removeAttr("disabled"),e.$loading.hide(),e.reset()}catch(t){(0,m.default)(e,t,"save")}})).catch((function(t){(0,m.default)(e,t,"commitEvt")}))};z.on("click",R),(0,p.default)(document).on("keydown",(function(e){var t=(e=event||e).keyCode||e.which||e.charCode;(e.ctrlKey||e.metaKey)&&13===t&&R(),9===t&&"veditor"==(document.activeElement.id||"")&&(e.preventDefault(),O(i[0]," "))})).on("paste",(function(e){var t="clipboardData"in e?e.clipboardData:e.originalEvent&&e.originalEvent.clipboardData||window.clipboardData;t&&F(t.items,!0)})),i.on("dragenter dragleave dragover drop",(function(e){e.stopPropagation(),e.preventDefault(),"drop"===e.type&&F(e.dataTransfer.items)}));var F=function(e,t){for(var n=[],r=0,o=e.length;r<o;r++){var a=e[r];if("string"===a.kind&&a.type.match("^text/html"))!t&&a.getAsString((function(e){e&&O(i[0],e.replace(/<[^>]+>/g,""))}));else if(-1!==a.type.indexOf("image")){n.push(a.getAsFile());continue}}U(n)},U=function t(n,r){r=r||0;var o=n.length;if(o>0){var a=n[r];z.attr({disabled:!0});var l="![Uploading "+a.name+"...]()";O(i[0],l),B(a,(function(c){500!=c.code?(i.val(i.val().replace(l,"!["+a.name+"]("+c.data.url+")\r\n")),(0,s.default)(i[0]),++r<o?t(n,r):z.removeAttr("disabled")):(i.val(i.val().replace(l,"")),(0,s.default)(i[0]),e.$el.find(".status-bar").text(c.msg).empty(3e3),z.removeAttr("disabled"))}))}},B=function(e,t){var n=new FormData;n.append("image",e),p.default.ajax({type:"post",url:"https://pic.alexhchu.com/api/upload",data:n,success:function(e){t&&t(e)}})}},e.exports=i,e.exports.default=i},function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(0)),o=!1;t.default=function(e,t){if("AV"in window){var n=window.AV.version||window.AV.VERSION;parseInt(n.split(".")[0])>2?o=!!AV.applicationId&&!!AV.applicationKey:r.default.deleteInWin("AV",0)}o?t&&t():r.default.sdkLoader("//cdn.jsdmirror.com/npm/leancloud-storage@3.15.0/dist/av-min.js","AV",(function(n){var r,i="https://",a=e.app_id||e.appId,s=e.app_key||e.appKey;if(!e.serverURLs)switch(a.slice(-9)){case"-9Nh9j0Va":i+="tab.";break;case"-MdYXbMMI":i+="us."}r=e.serverURLs||i+"avoscloud.com",AV.init({appId:a,appKey:s,serverURLs:r}),o=!0,t&&t()}))}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=r(n(37)),i=r(n(56)),a=r(n(57)),s=r(n(54)),l=r(n(55)),c={zh:i.default,"zh-cn":i.default,"zh-CN":i.default,"zh-TW":a.default,en:s.default,"en-US":s.default,ja:l.default,"ja-JP":l.default};t.default=function(e,t){return!c[e]&&e&&t&&(c[e]=t),new o.default({phrases:c[e||"zh"],locale:e})}},function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(e.$el&&e.$loading.hide().$nodata.hide(),"[object Error]"==={}.toString.call(t)){var n=t.code||t.message||t.error||"";if(isNaN(n))e.$el&&e.$nodata.show('<pre style="text-align:left;"> '+JSON.stringify(t)+"</pre>");else{var r=e.i18n.t("code-"+n),o=(r=="code-"+n?void 0:r)||t.message||t.error||"";101==n||-1==n?e.$nodata.show():e.$el&&e.$nodata.show('<pre style="text-align:left;">Code '+n+": "+o+"</pre>")}}else e.$el&&e.$nodata.show('<pre style="text-align:left;">'+JSON.stringify(t)+"</pre>")}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(36),i=r(o),a=r(n(0)),s=r(n(6)),l=n(33),c=new o.Renderer;c.code=function(e,t){return'<pre><code class="hljs language-'+t+'">'+(t&&hljs.getLanguage(t)?hljs.highlight(t,e).value:a.default.escape(e))+"</code></pre>"},i.default.setOptions({renderer:"hljs"in window?c:new o.Renderer,highlight:function(e,t){return"hljs"in window?t&&hljs.getLanguage(t)&&hljs.highlight(t,e,!0).value||hljs.highlightAuto(e).value:l(e)},gfm:!0,tables:!0,breaks:!0,pedantic:!1,sanitize:!0,smartLists:!0,smartypants:!0,headerPrefi:"v-"}),t.default=function(e){return s.default.parse((0,i.default)(e))}},function(e,t,n){"use strict";t.__esModule=!0,t.recordIPFn=t.fetchQQFn=void 0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(0)),o=n(2);t.fetchQQFn=function(e,t){var n=r.default.store.get(o.QQCacheKey);n&&n.qq==e?t&&t(n):r.default.ajax({type:"POST",url:"//valine.api.ioliu.cn/getqqinfo",data:{qq:e},success:function(e){e.errmsg||(r.default.store.set(o.QQCacheKey,e),t&&t(e))}})},t.recordIPFn=function(e){r.default.sdkLoader("//api.ip.sb/jsonip?callback=getIP","getIP"),window.getIP=function(t){e&&e(t.ip),r.default.deleteInWin("getIP")}}},function(e,t,n){"use strict";var r=function(e){var t=i(e.getDate(),2),n=i(e.getMonth()+1,2);return i(e.getFullYear(),2)+"-"+n+"-"+t},o=function e(t){return t instanceof Date?t:!isNaN(t)||/^\d+$/.test(t)?new Date(parseInt(t)):/GMT/.test(t||"")?e(new Date(t).getTime()):(t=(t||"").replace(/(^\s*)|(\s*$)/g,"").replace(/\.\d+/,"").replace(/-/,"/").replace(/-/,"/").replace(/(\d)T(\d)/,"$1 $2").replace(/Z/," UTC").replace(/([+-]\d\d):?(\d\d)/," $1$2"),new Date(t))},i=function(e,t){for(var n=e.toString();n.length<t;)n="0"+n;return n};e.exports=function(e,t){if(!e)return"";try{var n=o(e).getTime(),i=(new Date).getTime()-n,a=Math.floor(i/864e5);if(0===a){var s=i%864e5,l=Math.floor(s/36e5);if(0===l){var c=s%36e5,d=Math.floor(c/6e4);if(0===d){var u=c%6e4;return Math.round(u/1e3)+" "+t.t("seconds")}return d+" "+t.t("minutes")}return l+" "+t.t("hours")}return a<0?t.t("now"):a<8?a+" "+t.t("days"):r(e)}catch(e){}}},function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){return e&&e.__esModule?e:{default:e}}(n(51));t.default=function(e){return(0,r.default)(e,{onTagAttr:function(e,t,n,r){return o(e,t,n,r)},onIgnoreTagAttr:function(e,t,n,r){return o(e,t,n,r)}}).replace(/\<\/?div\>/gi,"")};var o=function(e,t,n,o){if(/code|pre|span/gi.test(e)){if("style"==t)return t+'="'+(/^color/gi.test(n)?n:"").replace(/(color:[#0-9a-fA-F]{1,6};?).+/gi,"$1")+'"';if("class"==t)return t+"='"+r.default.escapeAttrValue(n)+"'"}if("img"===e&&["src","class"].indexOf(t)>-1)return t+'="'+r.default.escapeAttrValue(n)+'" referrerPolicy="no-referrer" '}},function(e,t,n){var r;!function(o){"use strict";function i(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function a(e,t,n,r,o,a){return i(function(e,t){return e<<t|e>>>32-t}(i(i(t,e),i(r,a)),o),n)}function s(e,t,n,r,o,i,s){return a(t&n|~t&r,e,t,o,i,s)}function l(e,t,n,r,o,i,s){return a(t&r|n&~r,e,t,o,i,s)}function c(e,t,n,r,o,i,s){return a(t^n^r,e,t,o,i,s)}function d(e,t,n,r,o,i,s){return a(n^(t|~r),e,t,o,i,s)}function u(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;var n,r,o,a,u,p=1732584193,f=-271733879,h=-1732584194,v=271733878;for(n=0;n<e.length;n+=16)r=p,o=f,a=h,u=v,p=s(p,f,h,v,e[n],7,-680876936),v=s(v,p,f,h,e[n+1],12,-389564586),h=s(h,v,p,f,e[n+2],17,606105819),f=s(f,h,v,p,e[n+3],22,-1044525330),p=s(p,f,h,v,e[n+4],7,-176418897),v=s(v,p,f,h,e[n+5],12,1200080426),h=s(h,v,p,f,e[n+6],17,-1473231341),f=s(f,h,v,p,e[n+7],22,-45705983),p=s(p,f,h,v,e[n+8],7,1770035416),v=s(v,p,f,h,e[n+9],12,-1958414417),h=s(h,v,p,f,e[n+10],17,-42063),f=s(f,h,v,p,e[n+11],22,-1990404162),p=s(p,f,h,v,e[n+12],7,1804603682),v=s(v,p,f,h,e[n+13],12,-40341101),h=s(h,v,p,f,e[n+14],17,-1502002290),p=l(p,f=s(f,h,v,p,e[n+15],22,1236535329),h,v,e[n+1],5,-165796510),v=l(v,p,f,h,e[n+6],9,-1069501632),h=l(h,v,p,f,e[n+11],14,643717713),f=l(f,h,v,p,e[n],20,-373897302),p=l(p,f,h,v,e[n+5],5,-701558691),v=l(v,p,f,h,e[n+10],9,38016083),h=l(h,v,p,f,e[n+15],14,-660478335),f=l(f,h,v,p,e[n+4],20,-405537848),p=l(p,f,h,v,e[n+9],5,568446438),v=l(v,p,f,h,e[n+14],9,-1019803690),h=l(h,v,p,f,e[n+3],14,-187363961),f=l(f,h,v,p,e[n+8],20,1163531501),p=l(p,f,h,v,e[n+13],5,-1444681467),v=l(v,p,f,h,e[n+2],9,-51403784),h=l(h,v,p,f,e[n+7],14,1735328473),p=c(p,f=l(f,h,v,p,e[n+12],20,-1926607734),h,v,e[n+5],4,-378558),v=c(v,p,f,h,e[n+8],11,-2022574463),h=c(h,v,p,f,e[n+11],16,1839030562),f=c(f,h,v,p,e[n+14],23,-35309556),p=c(p,f,h,v,e[n+1],4,-1530992060),v=c(v,p,f,h,e[n+4],11,1272893353),h=c(h,v,p,f,e[n+7],16,-155497632),f=c(f,h,v,p,e[n+10],23,-1094730640),p=c(p,f,h,v,e[n+13],4,681279174),v=c(v,p,f,h,e[n],11,-358537222),h=c(h,v,p,f,e[n+3],16,-722521979),f=c(f,h,v,p,e[n+6],23,76029189),p=c(p,f,h,v,e[n+9],4,-640364487),v=c(v,p,f,h,e[n+12],11,-421815835),h=c(h,v,p,f,e[n+15],16,530742520),p=d(p,f=c(f,h,v,p,e[n+2],23,-995338651),h,v,e[n],6,-198630844),v=d(v,p,f,h,e[n+7],10,1126891415),h=d(h,v,p,f,e[n+14],15,-1416354905),f=d(f,h,v,p,e[n+5],21,-57434055),p=d(p,f,h,v,e[n+12],6,1700485571),v=d(v,p,f,h,e[n+3],10,-1894986606),h=d(h,v,p,f,e[n+10],15,-1051523),f=d(f,h,v,p,e[n+1],21,-2054922799),p=d(p,f,h,v,e[n+8],6,1873313359),v=d(v,p,f,h,e[n+15],10,-30611744),h=d(h,v,p,f,e[n+6],15,-1560198380),f=d(f,h,v,p,e[n+13],21,1309151649),p=d(p,f,h,v,e[n+4],6,-145523070),v=d(v,p,f,h,e[n+11],10,-1120210379),h=d(h,v,p,f,e[n+2],15,718787259),f=d(f,h,v,p,e[n+9],21,-343485551),p=i(p,r),f=i(f,o),h=i(h,a),v=i(v,u);return[p,f,h,v]}function p(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 h(e){var t,n,r="0123456789abcdef",o="";for(n=0;n<e.length;n+=1)t=e.charCodeAt(n),o+=r.charAt(t>>>4&15)+r.charAt(15&t);return o}function v(e){return unescape(encodeURIComponent(e))}function g(e){return function(e){return p(u(f(e),8*e.length))}(v(e))}function m(e,t){return function(e,t){var n,r,o=f(e),i=[],a=[];for(i[15]=a[15]=void 0,o.length>16&&(o=u(o,8*e.length)),n=0;n<16;n+=1)i[n]=909522486^o[n],a[n]=1549556828^o[n];return r=u(i.concat(f(t)),512+8*t.length),p(u(a.concat(r),640))}(v(e),v(t))}function y(e,t,n){return t?n?m(t,e):function(e,t){return h(m(e,t))}(t,e):n?g(e):function(e){return h(g(e))}(e)}void 0!==(r=function(){return y}.call(t,n,t,e))&&(e.exports=r)}()},function(e,t,n){"use strict";t.__esModule=!0;t.default=function(e){var t={},n={Trident:(e=e||navigator.userAgent).indexOf("Trident")>-1||e.indexOf("NET CLR")>-1,Presto:e.indexOf("Presto")>-1,WebKit:e.indexOf("AppleWebKit")>-1,Gecko:e.indexOf("Gecko/")>-1,Safari:e.indexOf("Safari")>-1,Edge:e.indexOf("Edge")>-1||e.indexOf("Edg")>-1,Chrome:e.indexOf("Chrome")>-1||e.indexOf("CriOS")>-1,IE:e.indexOf("MSIE")>-1||e.indexOf("Trident")>-1,Firefox:e.indexOf("Firefox")>-1||e.indexOf("FxiOS")>-1,"Firefox Focus":e.indexOf("Focus")>-1,Chromium:e.indexOf("Chromium")>-1,Opera:e.indexOf("Opera")>-1||e.indexOf("OPR")>-1,Vivaldi:e.indexOf("Vivaldi")>-1,Yandex:e.indexOf("YaBrowser")>-1,Kindle:e.indexOf("Kindle")>-1||e.indexOf("Silk/")>-1,360:e.indexOf("360EE")>-1||e.indexOf("360SE")>-1,UC:e.indexOf("UC")>-1||e.indexOf(" UBrowser")>-1,QQBrowser:e.indexOf("QQBrowser")>-1,QQ:e.indexOf("QQ/")>-1,Baidu:e.indexOf("Baidu")>-1||e.indexOf("BIDUBrowser")>-1,Maxthon:e.indexOf("Maxthon")>-1,Sogou:e.indexOf("MetaSr")>-1||e.indexOf("Sogou")>-1,LBBROWSER:e.indexOf("LBBROWSER")>-1,"2345Explorer":e.indexOf("2345Explorer")>-1,TheWorld:e.indexOf("TheWorld")>-1,XiaoMi:e.indexOf("MiuiBrowser")>-1,Quark:e.indexOf("Quark")>-1,Qiyu:e.indexOf("Qiyu")>-1,Wechat:e.indexOf("MicroMessenger")>-1,Taobao:e.indexOf("AliApp(TB")>-1,Alipay:e.indexOf("AliApp(AP")>-1,Weibo:e.indexOf("Weibo")>-1,Douban:e.indexOf("com.douban.frodo")>-1,Suning:e.indexOf("SNEBUY-APP")>-1,iQiYi:e.indexOf("IqiyiApp")>-1,Windows:e.indexOf("Windows")>-1,Linux:e.indexOf("Linux")>-1||e.indexOf("X11")>-1,macOS:e.indexOf("Macintosh")>-1,Android:e.indexOf("Android")>-1||e.indexOf("Adr")>-1,Ubuntu:e.indexOf("Ubuntu")>-1,FreeBSD:e.indexOf("FreeBSD")>-1,Debian:e.indexOf("Debian")>-1,"Windows Phone":e.indexOf("IEMobile")>-1||e.indexOf("Windows Phone")>-1,BlackBerry:e.indexOf("BlackBerry")>-1||e.indexOf("RIM")>-1||e.indexOf("BB10")>-1,MeeGo:e.indexOf("MeeGo")>-1,Symbian:e.indexOf("Symbian")>-1,iOS:e.indexOf("like Mac OS X")>-1,"Chrome OS":e.indexOf("CrOS")>-1,WebOS:e.indexOf("hpwOS")>-1,Mobile:e.indexOf("Mobi")>-1||e.indexOf("iPh")>-1||e.indexOf("480")>-1,Tablet:e.indexOf("Tablet")>-1||e.indexOf("Pad")>-1||e.indexOf("Nexus 7")>-1};n.Mobile&&(n.Mobile=!(e.indexOf("iPad")>-1));var r={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","macOS","Android","Ubuntu","FreeBSD","Debian","iOS","Windows Phone","BlackBerry","MeeGo","Symbian","Chrome OS","WebOS"]};for(var o in r)if(r.hasOwnProperty(o))for(var i=0,a=r[o].length;i<a;i++){var s=r[o][i];n[s]&&(t[o]=s)}var l={Windows:function(){var t=e.replace(/^.*Windows NT ([\d.]+).*$/,"$1");return{6.4:"10",6.3:"8.1",6.2:"8",6.1:"7","6.0":"Vista",5.2:"XP",5.1:"XP","5.0":"2000"}[t]||t},Android:e.replace(/^.*Android ([\d.]+);.*$/,"$1"),iOS:e.replace(/^.*OS ([\d_]+) like.*$/,"$1").replace(/_/g,"."),Debian:e.replace(/^.*Debian\/([\d.]+).*$/,"$1"),"Windows Phone":e.replace(/^.*Windows Phone( OS)? ([\d.]+);.*$/,"$2"),macOS:e.replace(/^.*Mac OS X ([\d_]+).*$/,"$1").replace(/_/g,"."),WebOS:e.replace(/^.*hpwOS\/([\d.]+);.*$/,"$1"),BlackBerry:e.replace(/^.*BB([\d.]+);*$/,"$1")};t.osVersion="";var c=l[t.os];c&&(t.osVersion="function"==typeof c?c():c==e?"":c);var d={Safari:e.replace(/^.*Version\/([\d.]+).*$/,"$1"),Chrome:e.replace(/^.*Chrome\/([\d.]+).*$/,"$1").replace(/^.*CriOS\/([\d.]+).*$/,"$1"),IE:e.replace(/^.*MSIE ([\d.]+).*$/,"$1").replace(/^.*rv:([\d.]+).*$/,"$1"),Edge:e.replace(/^.*Edge?\/([\d.]+).*$/,"$1"),Firefox:e.replace(/^.*Firefox\/([\d.]+).*$/,"$1").replace(/^.*FxiOS\/([\d.]+).*$/,"$1"),"Firefox Focus":e.replace(/^.*Focus\/([\d.]+).*$/,"$1"),Chromium:e.replace(/^.*Chromium\/([\d.]+).*$/,"$1"),Opera:e.replace(/^.*Opera\/([\d.]+).*$/,"$1").replace(/^.*OPR\/([\d.]+).*$/,"$1"),Vivaldi:e.replace(/^.*Vivaldi\/([\d.]+).*$/,"$1"),Yandex:e.replace(/^.*YaBrowser\/([\d.]+).*$/,"$1"),Kindle:e.replace(/^.*Version\/([\d.]+).*$/,"$1"),Maxthon:e.replace(/^.*Maxthon\/([\d.]+).*$/,"$1"),QQBrowser:e.replace(/^.*QQBrowser\/([\d.]+).*$/,"$1"),QQ:e.replace(/^.*QQ\/([\d.]+).*$/,"$1"),Baidu:e.replace(/^.*BIDUBrowser[\s\/]([\d.]+).*$/,"$1"),UC:e.replace(/^.*UC?Browser\/([\d.]+).*$/,"$1"),Sogou:e.replace(/^.*SE ([\d.X]+).*$/,"$1").replace(/^.*SogouMobileBrowser\/([\d.]+).*$/,"$1"),"2345Explorer":e.replace(/^.*2345Explorer\/([\d.]+).*$/,"$1"),TheWorld:e.replace(/^.*TheWorld ([\d.]+).*$/,"$1"),XiaoMi:e.replace(/^.*MiuiBrowser\/([\d.]+).*$/,"$1"),Quark:e.replace(/^.*Quark\/([\d.]+).*$/,"$1"),Qiyu:e.replace(/^.*Qiyu\/([\d.]+).*$/,"$1"),Wechat:e.replace(/^.*MicroMessenger\/([\d.]+).*$/,"$1"),Taobao:e.replace(/^.*AliApp\(TB\/([\d.]+).*$/,"$1"),Alipay:e.replace(/^.*AliApp\(AP\/([\d.]+).*$/,"$1"),Weibo:e.replace(/^.*weibo__([\d.]+).*$/,"$1"),Douban:e.replace(/^.*com.douban.frodo\/([\d.]+).*$/,"$1"),Suning:e.replace(/^.*SNEBUY-APP([\d.]+).*$/,"$1"),iQiYi:e.replace(/^.*IqiyiVersion\/([\d.]+).*$/,"$1")};t.version="";var u=d[t.browser];return u&&(t.version="function"==typeof u?u():u==e?"":u),null==t.browser&&(t.browser="Unknow App"),t}},function(e,t,n){var r;!function(n,o){o=function(e,t,n){function r(t,o,i){return i=Object.create(r.fn),t&&i.push.apply(i,t.addEventListener?[t]:""+t===t?/</.test(t)?((o=e.createElement(o)).innerHTML=t,o.children):o?(o=r(o)[0])?o[n](t):i:e[n](t):t),i}return r.fn=[],r.one=function(e,t){return r(e,t)[0]||null},r}(document,0,"querySelectorAll");void 0!==(r=function(){return o}.apply(t,[]))&&(e.exports=r)}()},function(e,t,n){function r(e){return null==e}function o(e){e=function(e){var t={};for(var n in e)t[n]=e[n];return t}(e||{}),e.whiteList=e.whiteList||i.whiteList,e.onAttr=e.onAttr||i.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||i.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||i.safeAttrValue,this.options=e}var i=n(7),a=n(30);n(8),o.prototype.process=function(e){if(!(e=(e=e||"").toString()))return"";var t=this.options,n=t.whiteList,o=t.onAttr,i=t.onIgnoreAttr,s=t.safeAttrValue;return a(e,(function(e,t,a,l,c){var d=n[a],u=!1;if(!0===d?u=d:"function"==typeof d?u=d(l):d instanceof RegExp&&(u=d.test(l)),!0!==u&&(u=!1),l=s(a,l)){var p,f={position:t,sourcePosition:e,source:c,isWhite:u};return u?r(p=o(a,l,f))?a+":"+l:p:r(p=i(a,l,f))?void 0:p}}))},e.exports=o},function(e,t,n){var r=n(8);e.exports=function(e,t){function n(){if(!i){var n=r.trim(e.slice(a,s)),o=n.indexOf(":");if(-1!==o){var c=r.trim(n.slice(0,o)),d=r.trim(n.slice(o+1));if(c){var u=t(a,l.length,c,d,n);u&&(l+=u+"; ")}}}a=s+1}";"!==(e=r.trimRight(e))[e.length-1]&&(e+=";");for(var o=e.length,i=!1,a=0,s=0,l="";s<o;s++){var c=e[s];if("/"===c&&"*"===e[s+1]){var d=e.indexOf("*/",s+2);if(-1===d)break;a=(s=d+1)+1,i=!1}else"("===c?i=!0:")"===c?i=!1:";"===c?i||n():"\n"===c&&n()}return r.trim(l)}},function(e,t,n){"use strict";var r=n(35),o=Object.prototype.toString,i=Object.prototype.hasOwnProperty,a=function(e,t,n){for(var r=0,o=e.length;r<o;r++)i.call(e,r)&&(null==n?t(e[r],r,e):t.call(n,e[r],r,e))},s=function(e,t,n){for(var r in e)i.call(e,r)&&(null==n?t(e[r],r,e):t.call(n,e[r],r,e))};e.exports=function(e,t,n){if(!r(t))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=n),"[object Array]"===o.call(e)?a(e,t,i):"string"==typeof e?function(e,t,n){for(var r=0,o=e.length;r<o;r++)null==n?t(e.charAt(r),r,e):t.call(n,e.charAt(r),r,e)}(e,t,i):s(e,t,i)}},function(e,t,n){"use strict";var r=Array.prototype.slice,o=Object.prototype.toString;e.exports=function(e){var t=this;if("function"!=typeof t||"[object Function]"!==o.call(t))throw new TypeError("Function.prototype.bind called on incompatible "+t);for(var n,i=r.call(arguments,1),a=Math.max(0,t.length-i.length),s=[],l=0;l<a;l++)s.push("$"+l);if(n=Function("binder","return function ("+s.join(",")+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof n){var o=t.apply(this,i.concat(r.call(arguments)));return Object(o)===o?o:this}return t.apply(e,i.concat(r.call(arguments)))})),t.prototype){var c=function(){};c.prototype=t.prototype,n.prototype=new c,c.prototype=null}return n}},function(e,t,n){e.exports=function(){"use strict";function e(e){return'<span style="color: slategray">'+e+"</span>"}var t=function(e,t){return e(t={exports:{}},t.exports),t.exports}((function(e){var t=e.exports=function(){return new RegExp("(?:"+t.line().source+")|(?:"+t.block().source+")","gm")};t.line=function(){return/(?:^|\s)\/\/(.+?)$/gm},t.block=function(){return/\/\*([\S\s]*?)\*\//gm}})),n=["23AC69","91C132","F19726","E8552D","1AAB8E","E1147F","2980C1","1BA1E6","9FA0A0","F19726","E30B20","E30B20","A3338B"];return function(r,o){void 0===o&&(o={});var i=o.colors;void 0===i&&(i=n);var a=0,s={},l=new RegExp("("+/[\u4E00-\u9FFF\u3400-\u4dbf\uf900-\ufaff\u3040-\u309f\uac00-\ud7af\u0400-\u04FF]+|\w+/.source+"|"+/</.source+")|("+t().source+")","gmi");return r.replace(l,(function(t,n,r){if(r)return e(r);if("<"===n)return"&lt;";var o;s[n]?o=s[n]:(o=i[a],s[n]=o);var l='<span style="color: #'+o+'">'+n+"</span>";return a=++a%i.length,l}))}}()},function(e,t,n){"use strict";var r=n(4);e.exports=r.call(Function.call,Object.prototype.hasOwnProperty)},function(e,t,n){"use strict";var r=Function.prototype.toString,o=/^\s*class\b/,i=function(e){try{var t=r.call(e);return o.test(t)}catch(e){return!1}},a=Object.prototype.toString,s="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;e.exports=function(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if("function"==typeof e&&!e.prototype)return!0;if(s)return function(e){try{return!i(e)&&(r.call(e),!0)}catch(e){return!1}}(e);if(i(e))return!1;var t=a.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t}},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=v.normal,this.options.pedantic?this.rules=v.pedantic:this.options.gfm&&(this.options.tables?this.rules=v.tables:this.rules=v.gfm)}function r(e,t){if(this.options=t||h.defaults,this.links=e,this.rules=g.normal,this.renderer=this.options.renderer||new o,this.renderer.options=this.options,!this.links)throw new Error("Tokens array requires a `links` property.");this.options.pedantic?this.rules=g.pedantic:this.options.gfm&&(this.options.breaks?this.rules=g.breaks:this.rules=g.gfm)}function o(e){this.options=e||h.defaults}function i(){}function a(e){this.tokens=[],this.token=null,this.options=e||h.defaults,this.options.renderer=this.options.renderer||new o,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"colon"===(t=t.toLowerCase())?":":"#"===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||e,t=t||"",{replace:function(t,n){return n=(n=n.source||n).replace(/(^|[^\[])\^/g,"$1"),e=e.replace(t,n),this},getRegex:function(){return new RegExp(e,t)}}}function d(e,t){return m[" "+e]||(/^[^:]+:\/*[^/]*$/.test(e)?m[" "+e]=e+"/":m[" "+e]=e.replace(/[^/]*$/,"")),e=m[" "+e],"//"===t.slice(0,2)?e.replace(/:[\s\S]*/,":")+t:"/"===t.charAt(0)?e.replace(/(:\/*[^/]*)[\s\S]*/,"$1")+t:e+t}function u(){}function p(e){for(var t,n,r=1;r<arguments.length;r++)for(n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}function f(e,t){var n=e.replace(/([^\\])\|/g,"$1 |").split(/ +\| */),r=0;if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].replace(/\\\|/g,"|");return n}function h(e,t,r){if(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);var o,i,l=(t=p({},h.defaults,t||{})).highlight,c=0;try{o=n.lex(e,t)}catch(e){return r(e)}i=o.length;var d=function(e){if(e)return t.highlight=l,r(e);var n;try{n=a.parse(o,t)}catch(t){e=t}return t.highlight=l,e?r(e):r(null,n)};if(!l||l.length<3)return d();if(delete t.highlight,!i)return d();for(;c<o.length;c++)!function(e){"code"!==e.type?--i||d():l(e.text,e.lang,(function(t,n){return t?d(t):null==n||n===e.text?--i||d():(e.text=n,e.escaped=!0,void(--i||d()))}))}(o[c])}else try{return t&&(t=p({},h.defaults,t)),a.parse(n.lex(e,t),t)}catch(e){if(e.message+="\nPlease report this to https://github.com/markedjs/marked.",(t||h.defaults).silent)return"<p>An error occurred:</p><pre>"+s(e.message+"",!0)+"</pre>";throw e}}var v={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:u,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,nptable:u,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|<![A-Z][\\s\\S]*?>\\n*|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>\\n*|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=\\h*\\n)[\\s\\S]*?(?:\\n{2,}|$)|</(?!script|pre|style)[a-z][\\w-]*\\s*>(?=\\h*\\n)[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *<?([^\s>]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:u,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,text:/^[^\n]+/,_label:/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,_title:/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/};v.def=c(v.def).replace("label",v._label).replace("title",v._title).getRegex(),v.bullet=/(?:[*+-]|\d+\.)/,v.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/,v.item=c(v.item,"gm").replace(/bull/g,v.bullet).getRegex(),v.list=c(v.list).replace(/bull/g,v.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+v.def.source+")").getRegex(),v._tag="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",v._comment=/<!--(?!-?>)[\s\S]*?-->/,v.html=c(v.html,"i").replace("comment",v._comment).replace("tag",v._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),v.paragraph=c(v.paragraph).replace("hr",v.hr).replace("heading",v.heading).replace("lheading",v.lheading).replace("tag",v._tag).getRegex(),v.blockquote=c(v.blockquote).replace("paragraph",v.paragraph).getRegex(),v.normal=p({},v),v.gfm=p({},v.normal,{fences:/^ *(`{3,}|~{3,})[ \.]*(\S+)? *\n([\s\S]*?)\n? *\1 *(?:\n+|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),v.gfm.paragraph=c(v.paragraph).replace("(?!","(?!"+v.gfm.fences.source.replace("\\1","\\2")+"|"+v.list.source.replace("\\1","\\3")+"|").getRegex(),v.tables=p({},v.gfm,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),v.pedantic=p({},v.normal,{html:c("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",v._comment).replace(/tag/g,"(?!(?: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").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/}),n.rules=v,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,o,i,a,s,l,c,d,u,p,h,g;e;)if((o=this.rules.newline.exec(e))&&(e=e.substring(o[0].length),o[0].length>1&&this.tokens.push({type:"space"})),o=this.rules.code.exec(e))e=e.substring(o[0].length),o=o[0].replace(/^ {4}/gm,""),this.tokens.push({type:"code",text:this.options.pedantic?o:o.replace(/\n+$/,"")});else if(o=this.rules.fences.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"code",lang:o[2],text:o[3]||""});else if(o=this.rules.heading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:o[1].length,text:o[2]});else if(t&&(o=this.rules.nptable.exec(e))&&(s={type:"table",header:f(o[1].replace(/^ *| *\| *$/g,"")),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3]?o[3].replace(/\n$/,"").split("\n"):[]}).header.length===s.align.length){for(e=e.substring(o[0].length),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]=f(s.cells[c],s.header.length);this.tokens.push(s)}else if(o=this.rules.hr.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"hr"});else if(o=this.rules.blockquote.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"blockquote_start"}),o=o[0].replace(/^ *> ?/gm,""),this.token(o,t),this.tokens.push({type:"blockquote_end"});else if(o=this.rules.list.exec(e)){for(e=e.substring(o[0].length),p=(i=o[2]).length>1,this.tokens.push({type:"list_start",ordered:p,start:p?+i:""}),n=!1,u=(o=o[0].match(this.rules.item)).length,c=0;c<u;c++)l=(s=o[c]).length,~(s=s.replace(/^ *([*+-]|\d+\.) +/,"")).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!==u-1&&(i===(a=v.bullet.exec(o[c+1])[0])||i.length>1&&a.length>1||(e=o.slice(c+1).join("\n")+e,c=u-1)),r=n||/\n\n(?!\s*$)/.test(s),c!==u-1&&(n="\n"===s.charAt(s.length-1),r||(r=n)),g=void 0,(h=/^\[[ xX]\] /.test(s))&&(g=" "!==s[1],s=s.replace(/^\[[ xX]\] +/,"")),this.tokens.push({type:r?"loose_item_start":"list_item_start",task:h,checked:g}),this.token(s,!1),this.tokens.push({type:"list_item_end"});this.tokens.push({type:"list_end"})}else if(o=this.rules.html.exec(e))e=e.substring(o[0].length),this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:!this.options.sanitizer&&("pre"===o[1]||"script"===o[1]||"style"===o[1]),text:o[0]});else if(t&&(o=this.rules.def.exec(e)))e=e.substring(o[0].length),o[3]&&(o[3]=o[3].substring(1,o[3].length-1)),d=o[1].toLowerCase().replace(/\s+/g," "),this.tokens.links[d]||(this.tokens.links[d]={href:o[2],title:o[3]});else if(t&&(o=this.rules.table.exec(e))&&(s={type:"table",header:f(o[1].replace(/^ *| *\| *$/g,"")),align:o[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:o[3]?o[3].replace(/(?: *\| *)?\n$/,"").split("\n"):[]}).header.length===s.align.length){for(e=e.substring(o[0].length),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]=f(s.cells[c].replace(/^ *\| *| *\| *$/g,""),s.header.length);this.tokens.push(s)}else if(o=this.rules.lheading.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"heading",depth:"="===o[2]?1:2,text:o[1]});else if(t&&(o=this.rules.paragraph.exec(e)))e=e.substring(o[0].length),this.tokens.push({type:"paragraph",text:"\n"===o[1].charAt(o[1].length-1)?o[1].slice(0,-1):o[1]});else if(o=this.rules.text.exec(e))e=e.substring(o[0].length),this.tokens.push({type:"text",text:o[0]});else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0));return this.tokens};var g={escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:u,tag:"^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>",link:/^!?\[(label)\]\(href(?:\s+(title))?\s*\)/,reflink:/^!?\[(label)\]\[(?!\s*\])((?:\\[\[\]]?|[^\[\]\\])+)\]/,nolink:/^!?\[(?!\s*\])((?:\[[^\[\]]*\]|\\[\[\]]|[^\[\]])*)\](?:\[\])?/,strong:/^__([^\s][\s\S]*?[^\s])__(?!_)|^\*\*([^\s][\s\S]*?[^\s])\*\*(?!\*)|^__([^\s])__(?!_)|^\*\*([^\s])\*\*(?!\*)/,em:/^_([^\s][\s\S]*?[^\s_])_(?!_)|^_([^\s_][\s\S]*?[^\s])_(?!_)|^\*([^\s][\s\S]*?[^\s*])\*(?!\*)|^\*([^\s*][\s\S]*?[^\s])\*(?!\*)|^_([^\s_])_(?!_)|^\*([^\s*])\*(?!\*)/,code:/^(`+)\s*([\s\S]*?[^`]?)\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:u,text:/^[\s\S]+?(?=[\\<!\[`*]|\b_| {2,}\n|$)/,_escapes:/\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/g,_scheme:/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,_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])?)+(?![-_])/};g.autolink=c(g.autolink).replace("scheme",g._scheme).replace("email",g._email).getRegex(),g._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,g.tag=c(g.tag).replace("comment",v._comment).replace("attribute",g._attribute).getRegex(),g._label=/(?:\[[^\[\]]*\]|\\[\[\]]?|`[^`]*`|[^\[\]\\])*?/,g._href=/\s*(<(?:\\[<>]?|[^\s<>\\])*>|(?:\\[()]?|\([^\s\x00-\x1f()\\]*\)|[^\s\x00-\x1f()\\])*?)/,g._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,g.link=c(g.link).replace("label",g._label).replace("href",g._href).replace("title",g._title).getRegex(),g.reflink=c(g.reflink).replace("label",g._label).getRegex(),g.normal=p({},g),g.pedantic=p({},g.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:c(/^!?\[(label)\]\((.*?)\)/).replace("label",g._label).getRegex(),reflink:c(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",g._label).getRegex()}),g.gfm=p({},g.normal,{escape:c(g.escape).replace("])","~|])").getRegex(),url:c(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("email",g._email).getRegex(),_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:c(g.text).replace("]|","~]|").replace("|","|https?://|ftp://|www\\.|[a-zA-Z0-9.!#$%&'*+/=?^_`{\\|}~-]+@|").getRegex()}),g.breaks=p({},g.gfm,{br:c(g.br).replace("{2,}","*").getRegex(),text:c(g.gfm.text).replace("{2,}","*").getRegex()}),r.rules=g,r.output=function(e,t,n){return new r(t,n).output(e)},r.prototype.output=function(e){for(var t,n,o,i,a,l="";e;)if(a=this.rules.escape.exec(e))e=e.substring(a[0].length),l+=a[1];else if(a=this.rules.autolink.exec(e))e=e.substring(a[0].length),"@"===a[2]?o="mailto:"+(n=s(this.mangle(a[1]))):o=n=s(a[1]),l+=this.renderer.link(o,null,n);else if(this.inLink||!(a=this.rules.url.exec(e))){if(a=this.rules.tag.exec(e))!this.inLink&&/^<a /i.test(a[0])?this.inLink=!0:this.inLink&&/^<\/a>/i.test(a[0])&&(this.inLink=!1),e=e.substring(a[0].length),l+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):s(a[0]):a[0];else if(a=this.rules.link.exec(e))e=e.substring(a[0].length),this.inLink=!0,o=a[2],this.options.pedantic?(t=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(o))?(o=t[1],i=t[3]):i="":i=a[3]?a[3].slice(1,-1):"",o=o.trim().replace(/^<([\s\S]*)>$/,"$1"),l+=this.outputLink(a,{href:r.escapes(o),title:r.escapes(i)}),this.inLink=!1;else if((a=this.rules.reflink.exec(e))||(a=this.rules.nolink.exec(e))){if(e=e.substring(a[0].length),t=(a[2]||a[1]).replace(/\s+/g," "),!(t=this.links[t.toLowerCase()])||!t.href){l+=a[0].charAt(0),e=a[0].substring(1)+e;continue}this.inLink=!0,l+=this.outputLink(a,t),this.inLink=!1}else if(a=this.rules.strong.exec(e))e=e.substring(a[0].length),l+=this.renderer.strong(this.output(a[4]||a[3]||a[2]||a[1]));else if(a=this.rules.em.exec(e))e=e.substring(a[0].length),l+=this.renderer.em(this.output(a[6]||a[5]||a[4]||a[3]||a[2]||a[1]));else if(a=this.rules.code.exec(e))e=e.substring(a[0].length),l+=this.renderer.codespan(s(a[2].trim(),!0));else if(a=this.rules.br.exec(e))e=e.substring(a[0].length),l+=this.renderer.br();else if(a=this.rules.del.exec(e))e=e.substring(a[0].length),l+=this.renderer.del(this.output(a[1]));else if(a=this.rules.text.exec(e))e=e.substring(a[0].length),l+=this.renderer.text(s(this.smartypants(a[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else a[0]=this.rules._backpedal.exec(a[0])[0],e=e.substring(a[0].length),"@"===a[2]?o="mailto:"+(n=s(a[0])):(n=s(a[0]),o="www."===a[1]?"http://"+n:n),l+=this.renderer.link(o,null,n);return l},r.escapes=function(e){return e?e.replace(r.rules._escapes,"$1"):e},r.prototype.outputLink=function(e,t){var n=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,o=0;o<r;o++)t=e.charCodeAt(o),Math.random()>.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},o.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))+"</code></pre>\n":"<pre><code>"+(n?e:s(e,!0))+"</code></pre>"},o.prototype.blockquote=function(e){return"<blockquote>\n"+e+"</blockquote>\n"},o.prototype.html=function(e){return e},o.prototype.heading=function(e,t,n){return this.options.headerIds?"<h"+t+' id="'+this.options.headerPrefix+n.toLowerCase().replace(/[^\w]+/g,"-")+'">'+e+"</h"+t+">\n":"<h"+t+">"+e+"</h"+t+">\n"},o.prototype.hr=function(){return this.options.xhtml?"<hr/>\n":"<hr>\n"},o.prototype.list=function(e,t,n){var r=t?"ol":"ul";return"<"+r+(t&&1!==n?' start="'+n+'"':"")+">\n"+e+"</"+r+">\n"},o.prototype.listitem=function(e){return"<li>"+e+"</li>\n"},o.prototype.checkbox=function(e){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"'+(this.options.xhtml?" /":"")+"> "},o.prototype.paragraph=function(e){return"<p>"+e+"</p>\n"},o.prototype.table=function(e,t){return t&&(t="<tbody>"+t+"</tbody>"),"<table>\n<thead>\n"+e+"</thead>\n"+t+"</table>\n"},o.prototype.tablerow=function(e){return"<tr>\n"+e+"</tr>\n"},o.prototype.tablecell=function(e,t){var n=t.header?"th":"td";return(t.align?"<"+n+' align="'+t.align+'">':"<"+n+">")+e+"</"+n+">\n"},o.prototype.strong=function(e){return"<strong>"+e+"</strong>"},o.prototype.em=function(e){return"<em>"+e+"</em>"},o.prototype.codespan=function(e){return"<code>"+e+"</code>"},o.prototype.br=function(){return this.options.xhtml?"<br/>":"<br>"},o.prototype.del=function(e){return"<del>"+e+"</del>"},o.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&&!y.test(e)&&(e=d(this.options.baseUrl,e));try{e=encodeURI(e).replace(/%25/g,"%")}catch(e){return n}var o='<a href="'+s(e)+'"';return t&&(o+=' title="'+t+'"'),o+">"+n+"</a>"},o.prototype.image=function(e,t,n){this.options.baseUrl&&!y.test(e)&&(e=d(this.options.baseUrl,e));var r='<img src="'+e+'" alt="'+n+'"';return t&&(r+=' title="'+t+'"'),r+(this.options.xhtml?"/>":">")},o.prototype.text=function(e){return e},i.prototype.strong=i.prototype.em=i.prototype.codespan=i.prototype.del=i.prototype.text=function(e){return e},i.prototype.link=i.prototype.image=function(e,t,n){return""+n},i.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 i})),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,o="",i="";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(o+=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]});i+=this.renderer.tablerow(n)}return this.renderer.table(o,i);case"blockquote_start":for(i="";"blockquote_end"!==this.next().type;)i+=this.tok();return this.renderer.blockquote(i);case"list_start":i="";for(var a=this.token.ordered,s=this.token.start;"list_end"!==this.next().type;)i+=this.tok();return this.renderer.list(i,a,s);case"list_item_start":for(i="",this.token.task&&(i+=this.renderer.checkbox(this.token.checked));"list_item_end"!==this.next().type;)i+="text"===this.token.type?this.parseText():this.tok();return this.renderer.listitem(i);case"loose_item_start":for(i="";"list_item_end"!==this.next().type;)i+=this.tok();return this.renderer.listitem(i);case"html":return this.renderer.html(this.token.text);case"paragraph":return this.renderer.paragraph(this.inline.output(this.token.text));case"text":return this.renderer.paragraph(this.parseText())}};var m={},y=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;u.exec=u,h.options=h.setOptions=function(e){return p(h.defaults,e),h},h.getDefaults=function(){return{baseUrl:null,breaks:!1,gfm:!0,headerIds:!0,headerPrefix:"",highlight:null,langPrefix:"language-",mangle:!0,pedantic:!1,renderer:new o,sanitize:!1,sanitizer:null,silent:!1,smartLists:!1,smartypants:!1,tables:!0,xhtml:!1}},h.defaults=h.getDefaults(),h.Parser=a,h.parser=a.parse,h.Renderer=o,h.TextRenderer=i,h.Lexer=n,h.lexer=n.lex,h.InlineLexer=r,h.inlineLexer=r.output,h.parse=h,e.exports=h}(this||"undefined"!=typeof window&&window)}).call(t,n(14))},function(e,t,n){"use strict";function r(e,t){var n=function(e){var t={};return l(e,(function(e,n){l(e,(function(e){t[e]=n}))})),t}(e.pluralTypeToLanguages);return n[t]||n[h.call(t,/-/,1)[0]]||n.en}function o(e,t,n){return e.pluralTypes[r(e,t)](n)}function i(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function a(e,t,n,r,i){if("string"!=typeof e)throw new TypeError("Polyglot.transformPhrase expects argument #1 to be string");if(null==t)return e;var a=e,s=r||y,l=i||m,c="number"==typeof t?{smart_count:t}:t;if(null!=c.smart_count&&a){var p=h.call(a,v);a=u(p[o(l,n||"en",c.smart_count)]||p[0])}return f.call(a,s,(function(e,t){return d(c,t)&&null!=c[t]?c[t]:e}))}function s(e){var t=e||{};this.phrases={},this.extend(t.phrases||{}),this.currentLocale=t.locale||"en";var n=t.allowMissing?a:null;this.onMissingKey="function"==typeof t.onMissingKey?t.onMissingKey:n,this.warn=t.warn||p,this.tokenRegex=function(e){var t=e&&e.prefix||"%{",n=e&&e.suffix||"}";if(t===v||n===v)throw new RangeError('"'+v+'" token is reserved for pluralization');return new RegExp(i(t)+"(.*?)"+i(n),"g")}(t.interpolation),this.pluralRules=t.pluralRules||m}var l=n(31),c=n(50),d=n(34),u=n(43),p=function(e){c(!1,e)},f=String.prototype.replace,h=String.prototype.split,v="||||",g=function(e){var t=e%100,n=t%10;return 11!==t&&1===n?0:2<=n&&n<=4&&!(t>=12&&t<=14)?1:2},m={pluralTypes:{arabic:function(e){if(e<3)return e;var t=e%100;return t>=3&&t<=10?3:t>=11?4:5},bosnian_serbian:g,chinese:function(){return 0},croatian:g,french:function(e){return e>1?1:0},german:function(e){return 1!==e?1:0},russian:g,lithuanian:function(e){return e%10==1&&e%100!=11?0:e%10>=2&&e%10<=9&&(e%100<11||e%100>19)?1:2},czech:function(e){return 1===e?0:e>=2&&e<=4?1:2},polish:function(e){if(1===e)return 0;var t=e%10;return 2<=t&&t<=4&&(e%100<10||e%100>=20)?1:2},icelandic:function(e){return e%10!=1||e%100==11?1:0},slovenian:function(e){var t=e%100;return 1===t?0:2===t?1:3===t||4===t?2:3}},pluralTypeToLanguages:{arabic:["ar"],bosnian_serbian:["bs-Latn-BA","bs-Cyrl-BA","srl-RS","sr-RS"],chinese:["id","id-ID","ja","ko","ko-KR","lo","ms","th","th-TH","zh"],croatian:["hr","hr-HR"],german:["fa","da","de","en","es","fi","el","he","hi-IN","hu","hu-HU","it","nl","no","pt","sv","tr"],french:["fr","tl","pt-br"],russian:["ru","ru-RU"],lithuanian:["lt"],czech:["cs","cs-CZ","sk"],polish:["pl"],icelandic:["is"],slovenian:["sl-SL"]}},y=/%\{(.*?)\}/g;s.prototype.locale=function(e){return e&&(this.currentLocale=e),this.currentLocale},s.prototype.extend=function(e,t){l(e,(function(e,n){var r=t?t+"."+n:n;"object"==typeof e?this.extend(e,r):this.phrases[r]=e}),this)},s.prototype.unset=function(e,t){"string"==typeof e?delete this.phrases[e]:l(e,(function(e,n){var r=t?t+"."+n:n;"object"==typeof e?this.unset(e,r):delete this.phrases[r]}),this)},s.prototype.clear=function(){this.phrases={}},s.prototype.replace=function(e){this.clear(),this.extend(e)},s.prototype.t=function(e,t){var n,r,o=null==t?{}:t;if("string"==typeof this.phrases[e])n=this.phrases[e];else if("string"==typeof o._)n=o._;else if(this.onMissingKey){r=(0,this.onMissingKey)(e,o,this.currentLocale,this.tokenRegex,this.pluralRules)}else this.warn('Missing translation for key: "'+e+'"'),r=e;return"string"==typeof n&&(r=a(n,o,this.currentLocale,this.tokenRegex,this.pluralRules)),r},s.prototype.has=function(e){return d(this.phrases,e)},s.transformPhrase=function(e,t,n){return a(e,t,n)},e.exports=s},function(e,t,n){"use strict";
7
7
  /*
8
8
  object-assign
9
9
  (c) Sindre Sorhus
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mycpen-blog1",
3
- "version": "0.0.0-ejdfvyandy",
3
+ "version": "0.0.0-ejupepumcg",
4
4
  "description": "mycpen blog1 static file",
5
5
  "main": "index.js",
6
6
  "scripts": {