From 988603749b7b28667db5e33d62b23b5d6101b439 Mon Sep 17 00:00:00 2001
From: kaze0617 <1515097306@qq.com>
Date: Wed, 22 Apr 2020 10:25:48 +0800
Subject: [PATCH] comment update
---
js/Valine.min.js | 2251 +---------------------------------------------
1 file changed, 23 insertions(+), 2228 deletions(-)
diff --git a/js/Valine.min.js b/js/Valine.min.js
index cf42e9a..e6e0593 100644
--- a/js/Valine.min.js
+++ b/js/Valine.min.js
@@ -1,2231 +1,26 @@
/*!
- * Valine v1.3.10
- * (c) 2017-2019 xCss
+ * Valine v1.4.5
+ * (c) 2017-2020 xCss
* Released under the GPL-2.0 License.
- * Last Update: 2019-08-29 10:10:02
+ * Last Update: 2020-04-21 15:25:50
*/
-! function (e, t) {
- "object" == typeof exports && "object" == typeof module ? module.exports = t() : "function" == typeof define && define.amd ? define([], t) : "object" == typeof exports ? exports.Valine = t() : e.Valine = t()
-}(this, function () {
- return function (e) {
- function t(r) {
- if (n[r]) return n[r].exports;
- var i = n[r] = {
- i: r,
- l: !1,
- exports: {}
- };
- return e[r].call(i.exports, i, i.exports, t), i.l = !0, i.exports
- }
- var n = {};
- return t.m = e, t.c = n, t.i = function (e) {
- return e
- }, t.d = function (e, n, r) {
- t.o(e, n) || Object.defineProperty(e, n, {
- configurable: !1,
- enumerable: !0,
- get: r
- })
- }, t.n = function (e) {
- var n = e && e.__esModule ? function () {
- return e.default
- } : function () {
- return e
- };
- return t.d(n, "a", n), n
- }, t.o = function (e, t) {
- return Object.prototype.hasOwnProperty.call(e, t)
- }, t.p = "", t(t.s = 17)
- }([function (e, t, n) {
- var r, i, o;
- /*!
- autosize 4.0.2
- license: MIT
- http://www.jacklmoore.com/autosize
- */
- ! function (n, a) {
- i = [e, t], r = a, void 0 !== (o = "function" == typeof r ? r.apply(t, i) : r) && (e.exports = o)
- }(0, 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 i() {
- r();
- var n = Math.round(parseFloat(e.style.height)),
- i = window.getComputedStyle(e, null),
- o = "content-box" === i.boxSizing ? Math.round(parseFloat(i.height)) : e.offsetHeight;
- if (o < n ? "hidden" === i.overflowY && (t("scroll"), r(), o = "content-box" === i.boxSizing ? Math.round(parseFloat(window.getComputedStyle(e, null).height)) : e.offsetHeight) : "hidden" !== i.overflowY && (t("hidden"), r(), o = "content-box" === i.boxSizing ? Math.round(parseFloat(window.getComputedStyle(e, null).height)) : e.offsetHeight), c !== o) {
- c = o;
- var s = a("autosize:resized");
- try {
- e.dispatchEvent(s)
- } catch (e) {}
- }
- }
- if (e && e.nodeName && "TEXTAREA" === e.nodeName && !o.has(e)) {
- var s = null,
- l = null,
- c = null,
- d = function () {
- e.clientWidth !== l && i()
- },
- u = function (t) {
- window.removeEventListener("resize", d, !1), e.removeEventListener("input", i, !1), e.removeEventListener("keyup", i, !1), e.removeEventListener("autosize:destroy", u, !1), e.removeEventListener("autosize:update", i, !1), Object.keys(t).forEach(function (n) {
- e.style[n] = t[n]
- }), o.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", i, !1), window.addEventListener("resize", d, !1), e.addEventListener("input", i, !1), e.addEventListener("autosize:update", i, !1), e.style.overflowX = "hidden", e.style.wordWrap = "break-word", o.set(e, {
- destroy: u,
- update: i
- }),
- 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), i()
- }()
- }
- }
-
- function r(e) {
- var t = o.get(e);
- t && t.destroy()
- }
-
- function i(e) {
- var t = o.get(e);
- t && t.update()
- }
- var o = "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], i), e
- }), t.default = s, e.exports = t.default
- })
- }, function (e, t, n) {
- "use strict";
-
- function r(e) {
- var t = this;
- return t.init(e), t
- }
-
- function i(e) {
- return new r(e)
- }
- var o = n(9).version,
- a = n(6),
- s = n(8),
- l = n(0),
- c = n(5),
- d = n(3),
- u = n(4),
- p = n(2),
- f = n(7),
- h = /^https?\:\/\//,
- v = {
- comment: "",
- nick: "Anonymous",
- mail: "",
- link: "",
- ua: navigator.userAgent,
- url: ""
- },
- g = {
- "zh-cn": {
- head: {
- nick: "昵称或QQ昵称",
- mail: "邮箱(QQ邮箱会自动拉取头像)",
- link: "网址(选填)"
- },
- tips: {
- comments: "评论",
- sofa: "快来做第一个评论的人吧~",
- busy: "还在提交中,请稍候...",
- again: "这么简单也能错,也是没谁了."
- },
- ctrl: {
- reply: "回复",
- ok: "好的",
- sure: "确认",
- cancel: "取消",
- confirm: "确认",
- continue: "继续",
- more: "查看更多...",
- try: "再试试?",
- preview: "预览",
- emoji: "表情"
- },
- error: {
- 99: "初始化失败,请检查init中的`el`元素.",
- 100: "初始化失败,请检查你的AppId和AppKey.",
- 401: "未经授权的操作,请检查你的AppId和AppKey.",
- 403: "访问被api域名白名单拒绝,请检查你的安全域名设置."
- },
- timeago: {
- seconds: "秒前",
- minutes: "分钟前",
- hours: "小时前",
- days: "天前",
- now: "刚刚"
- }
- },
- en: {
- head: {
- nick: "NickName",
- mail: "E-Mail",
- link: "Website(http://)"
- },
- tips: {
- comments: "Comments",
- sofa: "No comments yet.",
- busy: "Submit is busy, please wait...",
- again: "Sorry, this is a wrong calculation."
- },
- ctrl: {
- reply: "Reply",
- ok: "Ok",
- sure: "Sure",
- cancel: "Cancel",
- confirm: "Confirm",
- continue: "Continue",
- more: "Load More...",
- try: "Once More?",
- preview: "Preview",
- emoji: "Emoji"
- },
- error: {
- 99: "Initialization failed, Please check the `el` element in the init method.",
- 100: "Initialization failed, Please check your appId and appKey.",
- 401: "Unauthorized operation, Please check your appId and appKey.",
- 403: "Access denied by api domain white list, Please check your security domain."
- },
- timeago: {
- seconds: "seconds ago",
- minutes: "minutes ago",
- hours: "hours ago",
- days: "days ago",
- now: "just now"
- }
- }
- },
- m = {
- cdn: "https://gravatar.loli.net/avatar/",
- ds: ["mp", "identicon", "monsterid", "wavatar", "robohash", "retro", ""],
- params: "",
- hide: !1
- },
- b = ["nick", "mail", "link"],
- x = Storage && localStorage && localStorage instanceof Storage && localStorage,
- y = location.pathname.replace(/index\.html?$/, "");
- r.prototype.init = function (e) {
- var t = this;
- if (t.config = e, "undefined" == typeof document) return void console;
- "undefined" == typeof AV ? u.dynamicLoadSource("script", {
- src: "//cdn.jsdelivr.net/npm/leancloud-storage/dist/av-min.js"
- }, function () {
- if ("undefined" == typeof AV) return void setTimeout(function () {
- t.init(e)
- }, 300);
- !!e && t._init()
- }) : !!e && t._init();
- return u.dynamicLoadSource("script", {
- src: "//js.fundebug.cn/fundebug.1.9.0.min.js",
- apikey: "2c7e5b30c7cf402cb7fb35d14b62e7f778babbb70d054160af750065a180fdcd",
- async: !0
- }), t
- }, r.prototype._init = function () {
- var e = this;
- try {
- var t = e.config,
- n = t.lang,
- r = t.langMode,
- i = t.avatar,
- a = t.avatarForce,
- l = t.avatar_cdn,
- c = t.notify,
- d = t.verify,
- p = t.visitor,
- x = t.pageSize,
- w = t.recordIP,
- _ = t.clazzName,
- A = void 0 === _ ? "Comment" : _;
- e.config.clazzName = A;
- var O = m.ds,
- S = a ? "&q=" + Math.random().toString(32).substring(2) : "";
- n && r && e.installLocale(n, r), e.locale = e.locale || g[n || "zh-cn"], e.notify = c || !1, e.verify = d || !1, m.params = "?d=" + (O.indexOf(i) > -1 ? i : "mp") + "&v=" + o + S, m.hide = "hide" === i, m.cdn = h.test(l) ? l : m.cdn, y = e.config.path || y;
- var $ = Number(x || 10);
- if (e.config.pageSize = isNaN($) ? 10 : $ < 1 ? 10 : $, s.setOptions({
- renderer: new s.Renderer,
- highlight: !1 === e.config.highlight ? null : f,
- gfm: !0,
- tables: !0,
- breaks: !0,
- pedantic: !1,
- sanitize: !1,
- smartLists: !0,
- smartypants: !0
- }), w) {
- var E = u.create("script", "src", "//api.ip.sb/jsonip?callback=getIP"),
- L = document.getElementsByTagName("script")[0];
- L.parentNode.insertBefore(E, L), window.getIP = function (e) {
- v.ip = e.ip
- }
- }
- var M = e.config.app_id || e.config.appId,
- C = e.config.app_key || e.config.appKey;
- if (!M || !C) throw 99;
- var z = "https://",
- T = "";
- if (!e.config.serverURLs) switch (M.slice(-9)) {
- case "-9Nh9j0Va":
- z += "tab.";
- break;
- case "-MdYXbMMI":
- z += "us."
- }
- T = e.config.serverURLs || z + "avoscloud.com", M !== AV._config.applicationId && C !== AV._config.applicationKey && AV.init({
- appId: M,
- appKey: C,
- serverURLs: T
- });
- var R = u.findAll(document, ".valine-comment-count");
- u.each(R, function (t, n) {
- if (n) {
- var r = u.attr(n, "data-xid");
- r && e.Q(r).count().then(function (e) {
- n.innerText = e
- }).catch(function (e) {
- n.innerText = 0
- })
- }
- }), p && k.add(AV.Object.extend("Counter"));
- var j = e.config.el || null,
- B = u.findAll(document, j);
- if (!(j = j instanceof HTMLElement ? j : B[B.length - 1] || null)) return;
- e.el = j, e.el.classList.add("v"), m.hide && e.el.classList.add("hide-avatar"), e.config.meta = (e.config.guest_info || e.config.meta || b).filter(function (e) {
- return b.indexOf(e) > -1
- });
- var P = (0 == e.config.meta.length ? b : e.config.meta).map(function (t) {
- var n = "mail" == t ? "email" : "text";
- return b.indexOf(t) > -1 ? '' : ""
- });
- e.placeholder = e.config.placeholder || "Just Go Go", e.el.innerHTML = '
' + e.locale.ctrl.emoji + ' | ' + e.locale.ctrl.preview + '
";
- var U = u.find(e.el, ".vempty");
- e.nodata = {
- show: function (t) {
- return U.innerHTML = t || e.locale.tips.sofa, u.attr(U, "style", "display:block;"), e
- },
- hide: function () {
- return u.attr(U, "style", "display:none;"), e
- }
- };
- var I = u.create("div", "class", "vloading"),
- N = u.find(e.el, ".vlist");
- e.loading = {
- show: function (t) {
- var n = u.findAll(N, ".vcard");
- return t ? N.insertBefore(I, n[0]) : N.appendChild(I), e.nodata.hide(), e
- },
- hide: function () {
- var t = u.find(N, ".vloading");
- return t && u.remove(t), 0 === u.findAll(N, ".vcard").length && e.nodata.show(), e
- }
- };
- var Q = u.find(e.el, ".vmark");
- e.alert = {
- show: function (t) {
- Q.innerHTML = '' + (t && t.text || 1) + '
';
- var n = u.find(Q, ".vbtns"),
- r = '",
- i = '";
- if (n.innerHTML = "" + r + (t && t.type && i), u.on("click", u.find(Q, ".vcancel"), function (t) {
- e.alert.hide()
- }), u.attr(Q, "style", "display:block;"), t && t.type) {
- var o = u.find(Q, ".vsure");
- u.on("click", o, function (n) {
- e.alert.hide(), t.cb && t.cb()
- })
- }
- return e
- },
- hide: function () {
- return u.attr(Q, "style", "display:none;"), e
- }
- }, e.bind()
- } catch (t) {
- e.ErrorHandler(t)
- }
- };
- var w = 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) {
- u.find(t.el, ".leancloud-visitors-count").innerText = 1
- }).catch(function (e) {})
- },
- k = {
- add: function (e) {
- var t = u.findAll(document, ".leancloud_visitors,.leancloud-visitors");
- if (t.length) {
- var n = t[0],
- r = u.attr(n, "id"),
- i = u.attr(n, "data-flag-title"),
- o = encodeURI(r),
- a = {
- el: n,
- url: r,
- xid: o,
- title: i
- };
- if (decodeURI(r) === decodeURI(y)) {
- var s = new AV.Query(e);
- s.equalTo("url", r), s.find().then(function (t) {
- if (t.length > 0) {
- var r = t[0];
- r.increment("time"), r.save().then(function (e) {
- u.find(n, ".leancloud-visitors-count").innerText = e.get("time")
- }).catch(function (e) {})
- } else w(e, a)
- }).catch(function (t) {
- 101 == t.code && w(e, a)
- })
- } else k.show(e, t)
- }
- },
- show: function (e, t) {
- u.each(t, function (e, t) {
- var n = u.find(t, ".leancloud-visitors-count");
- n && (n.innerText = 0)
- });
- var n = [];
- for (var r in t) t.hasOwnProperty(r) && n.push(u.attr(t[r], "id"));
- if (n.length) {
- var i = new AV.Query(e);
- i.containedIn("url", n), i.find().then(function (e) {
- e.length > 0 && u.each(e, function (e, t) {
- var n = t.get("url"),
- r = t.get("time"),
- i = u.findAll(document, '.leancloud_visitors[id="' + n + '"],.leancloud-visitors[id="' + n + '"]');
- u.each(i, function (e, t) {
- var n = u.find(t, ".leancloud-visitors-count");
- n && (n.innerText = r)
- })
- })
- }).catch(function (e) {})
- }
- }
- };
- r.prototype.Q = function (e) {
- var t = this;
- if (1 == arguments.length) {
- var n = new AV.Query(t.config.clazzName);
- n.doesNotExist("rid");
- var r = new AV.Query(t.config.clazzName);
- r.equalTo("rid", "");
- var i = AV.Query.or(n, r);
- return "*" === e ? i.exists("url") : i.equalTo("url", decodeURI(e)), i.addDescending("createdAt"), i.addDescending("insertedAt"), i
- }
- var o = JSON.stringify(arguments[1]).replace(/(\[|\])/g, ""),
- a = "select * from " + t.config.clazzName + " where rid in (" + o + ") order by -createdAt,-createdAt";
- return AV.Query.doCloudQuery(a)
- }, r.prototype.ErrorHandler = function (e) {
- var t = this;
- if (t.el && t.loading.hide().nodata.hide(), "[object Error]" === {}.toString.call(e)) {
- var n = e.code || "",
- r = t.locale.error[n],
- i = r || e.message || e.error || "";
- 101 == n ? t.nodata.show() : t.el && t.nodata.show('Code ' + n + ": " + i + "
") || console
- } else t.el && t.nodata.show('' + JSON.stringify(e) + "
") || console
- }, r.prototype.installLocale = function (e, t) {
- var n = this;
- return t = t || {}, e && (g[e] = t, n.locale = g[e] || g["zh-cn"]), n
- }, r.prototype.setPath = function (e) {
- return y = e || y, this
- }, r.prototype.bind = function (e) {
- var t = this,
- n = u.find(t.el, ".vemojis"),
- r = u.find(t.el, ".vpreview"),
- i = u.find(t.el, ".vemoji-btn"),
- o = u.find(t.el, ".vpreview-btn"),
- f = u.find(t.el, ".veditor"),
- h = p.data;
- for (var g in h) h.hasOwnProperty(g) && function (e, t) {
- var r = u.create("i", {
- name: e,
- title: e
- });
- r.innerHTML = t, n.appendChild(r), u.on("click", r, function (e) {
- E(f, t), w(f)
- })
- }(g, h[g]);
- t.emoji = {
- show: function () {
- return t.preview.hide(), u.attr(i, "v", 1), u.removeAttr(o, "v"), u.attr(n, "style", "display:block"), t.emoji
- },
- hide: function () {
- return u.removeAttr(i, "v"), u.attr(n, "style", "display:hide"), t.emoji
- }
- }, t.preview = {
- show: function () {
- return v.comment && (t.emoji.hide(), u.attr(o, "v", 1), u.removeAttr(i, "v"), r.innerHTML = v.comment, u.attr(r, "style", "display:block"), z()), t.preview
- },
- hide: function () {
- return u.removeAttr(o, "v"), u.attr(r, "style", "display:none"), t.preview
- },
- empty: function () {
- return r.innerHtml = "", t.preview
- }
- };
- var b = function (e) {
- var t = u.create("div");
- t.insertAdjacentHTML("afterbegin", e);
- var n = u.findAll(t, "*"),
- r = ["INPUT", "STYLE", "SCRIPT", "IFRAME", "FRAME", "AUDIO", "VIDEO", "EMBED", "META", "TITLE", "LINK"],
- i = function (e, t) {
- var n = u.attr(e, t);
- n && u.attr(e, t, n.replace(/(javascript|eval)/gi, ""))
- };
- return u.each(n, function (e, t) {
- 1 === t.nodeType && (r.indexOf(t.nodeName) > -1 && ("INPUT" === t.nodeName && "checkbox" === u.attr(t, "type") ? u.attr(t, "disabled", "disabled") : u.remove(t)), "A" === t.nodeName && i(t, "href"), u.clearAttr(t))
- }), t.innerHTML
- },
- w = function (e) {
- var t = e.value || "";
- t = p.parse(t), e.value = t;
- var n = b(s(t));
- v.comment = n, r.innerHTML = n, t ? l(e) : l.destroy(e)
- };
- u.on("click", i, function (e) {
- u.attr(i, "v") ? t.emoji.hide() : t.emoji.show()
- }), u.on("click", o, function (e) {
- u.attr(o, "v") ? t.preview.hide() : t.preview.show()
- });
- for (var k = t.config.meta, _ = {}, A = {
- veditor: "comment"
- }, O = 0, S = k.length; O < S; O++) A["v" + k[O]] = k[O];
- for (var $ in A) A.hasOwnProperty($) && function () {
- var e = A[$],
- n = u.find(t.el, "." + $);
- _[e] = n, n && u.on("input change blur", n, function (t) {
- "comment" === e ? w(n) : v[e] = u.escape(n.value.replace(/(^\s*)|(\s*$)/g, ""))
- })
- }();
- var E = 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,
- i = 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 = i
- } else e.focus(), e.value += t
- },
- L = function (e) {
- var n = u.find(t.el, ".vh[rootid='" + e + "']"),
- r = u.find(n, ".vquote");
- return r || (r = u.create("div", "class", "vquote"), n.appendChild(r)), r
- },
- M = function e() {
- var n = arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : 1,
- r = t.config.pageSize,
- i = Number(u.find(t.el, ".vnum").innerText);
- t.loading.show();
- var o = t.Q(y);
- o.limit(r), o.skip((n - 1) * r), o.find().then(function (o) {
- for (var a = o.length, s = [], l = 0; l < a; l++) {
- var c = o[l];
- s.push(c.id), C(c, u.find(t.el, ".vlist"), !0)
- }
- t.Q(y, s).then(function (e) {
- for (var t = e && e.results || [], n = 0; n < t.length; n++) {
- var r = t[n];
- C(r, L(r.get("rid")))
- }
- });
- var d = u.find(t.el, ".vpage");
- d.innerHTML = r * n < i ? '" : "";
- var p = u.find(d, ".vmore");
- p && u.on("click", p, function (t) {
- d.innerHTML = "", e(++n)
- }), t.loading.hide()
- }).catch(function (e) {
- t.loading.hide().ErrorHandler(e)
- })
- };
- t.Q(y).count().then(function (e) {
- e > 0 ? (u.attr(u.find(t.el, ".vinfo"), "style", "display:block;"), u.find(t.el, ".vcount").innerHTML = '' + e + " " + t.locale.tips.comments, M()) : t.loading.hide()
- }).catch(function (e) {
- t.ErrorHandler(e)
- });
- var C = function (e, n, r) {
- var qq_img = m.cdn + a(e.get("mail")) + m.params;
- if (e.get("mail").indexOf("@qq.com") >= 0) {
- var prefix = e.get("mail").replace(/@.*/, "");
- var pattern = /^\d+$/g;
- var result = prefix.match(pattern);
- if (result !== null) {
- qq_img = "//q1.qlogo.cn/g?b=qq&nk=" + prefix + "&s=100";
- }
- }
- var i = u.create("div", {
- class: "vcard",
- id: e.id
- }),
- o = m.hide ? "" : '',
-
- s = e.get("ua") || "",
- l = "";
- if (s) {
- s = d(s);
- l = '' + s.browser + " " + s.version + "" + " " + ('' + s.os + " " + s.osVersion + "")
- }
- "*" === y && (l = '' + e.get("url") + "");
-
- var the_link = e.get("link")
- //判断是否添加http://
- var pattern = /http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w- .\/?%&=]*)?/; //正则表达式,url
- var result = e.get("link").match(pattern); //match 是匹配的意思
- if (result == null) {
- the_link = "http://" + e.get("link");
- }
-
- var p = "",
- f = the_link || "";
- p = f ? '' + e.get("nick") + "" : '' + e.get("nick") + "", i.innerHTML = o + '\n \n
' + p + " " + l + '
\n
\n ' + c(e.get("insertedAt") || e.createdAt, t.locale) + '\n ' + t.locale.ctrl.reply + '\n
\n
\n ' + b(e.get("comment")) + "\n
\n
";
- for (var h = u.find(i, ".vat"), v = u.findAll(i, "a"), g = 0, x = v.length; g < x; g++) {
- var w = v[g];
- w && -1 == (u.attr(w, "class") || "").indexOf("at") && u.attr(w, {
- target: "_blank",
- rel: "nofollow"
- })
- }
- var k = u.findAll(n, ".vcard");
- r ? n.appendChild(i) : n.insertBefore(i, k[0]);
- var _ = u.find(i, ".vcontent");
- _ && T(_), h && j(h, e), z()
- },
- z = function () {
- setTimeout(function () {
- try {
- "undefined" != typeof MathJax && MathJax.Hub.Queue(["Typeset", MathJax.Hub]), "undefined" != typeof hljs && (u.each(u.findAll("pre code"), function (e, t) {
- hljs.highlightBlock(t)
- }), u.each(u.findAll("code.hljs"), function (e, t) {
- hljs.lineNumbersBlock(t)
- }))
- } catch (e) {}
- }, 200)
- },
- T = function (e) {
- setTimeout(function () {
- e.offsetHeight > 180 && (e.classList.add("expand"), u.on("click", e, function (t) {
- u.attr(e, "class", "vcontent")
- }))
- })
- },
- R = {},
- j = function (e, t) {
- u.on("click", e, function (e) {
- var n = "@" + u.escape(t.get("nick"));
- R = {
- at: u.escape(n) + " ",
- rid: t.get("rid") || t.id,
- pid: t.id,
- rmail: t.get("mail")
- }, u.attr(_.comment, "placeholder", n), _.comment.focus()
- })
- };
- ! function () {
- var e = x && x.ValineCache;
- if (e) {
- e = JSON.parse(e);
- var n = k;
- for (var r in n) {
- var i = n[r];
- u.find(t.el, ".v" + i).value = u.unescape(e[i]), v[i] = e[i]
- }
- }
- }();
- var B = function () {
- v.comment = "", _.comment.value = "", w(_.comment), u.attr(_.comment, "placeholder", t.placeholder), R = {}, t.preview.empty().hide()
- },
- P = u.find(t.el, ".vsubmit"),
- U = function (e) {
- return u.attr(P, "disabled") ? void t.alert.show({
- type: 0,
- text: t.locale.tips.busy + 'ヾ(๑╹◡╹)ノ"',
- ctxt: t.locale.ctrl.ok
- }) : "" == v.comment ? void _.comment.focus() : (v.nick = v.nick || "Anonymous", void(t.notify || t.verify ? Q(N) : N()))
- },
- I = function () {
- var e = new AV.ACL;
- return e.setPublicReadAccess(!0), e.setPublicWriteAccess(!1), e
- },
- N = function () {
- u.attr(P, "disabled", !0), t.loading.show(!0);
- var e = AV.Object.extend(t.config.clazzName || "Comment"),
- n = new e,
- r = "*" === y ? location.pathname.replace(/index\.html?$/, "") : y;
- if (v.url = decodeURI(r), v.insertedAt = new Date, R.rid) {
- var i = R.pid || R.rid;
- n.set("rid", R.rid), n.set("pid", i), v.comment = v.comment.replace("", '
' + R.at + " , ")
- }
- for (var o in v)
- if (v.hasOwnProperty(o)) {
- var a = v[o];
- n.set(o, a)
- } n.setACL(I()), n.save().then(function (e) {
- "Anonymous" != v.nick && x && x.setItem("ValineCache", JSON.stringify({
- nick: v.nick,
- link: v.link,
- mail: v.mail
- }));
- var n = u.find(t.el, ".vnum"),
- r = 1;
- try {
- if (R.rid) {
- var i = u.find(t.el, '.vquote[rid="' + R.rid + '"]') || L(R.rid);
- C(e, i, !0)
- } else n ? (r = Number(n.innerText) + 1, n.innerText = r) : u.find(t.el, ".vcount").innerHTML = '1 ' + t.locale.tips.comments, C(e, u.find(t.el, ".vlist"));
- v.mail && F({
- username: v.nick,
- mail: v.mail
- }), R.at && R.rmail && t.notify && V({
- username: R.at.replace("@", ""),
- mail: R.rmail
- }), u.removeAttr(P, "disabled"), t.loading.hide(), B()
- } catch (e) {
- t.ErrorHandler(e)
- }
- }).catch(function (e) {
- t.ErrorHandler(e)
- })
- },
- Q = function e(n) {
- var r = Math.floor(10 * Math.random() + 1),
- i = Math.floor(10 * Math.random() + 1),
- o = Math.floor(10 * Math.random() + 1),
- a = ["+", "-", "x"],
- s = a[Math.floor(3 * Math.random())],
- l = a[Math.floor(3 * Math.random())],
- c = "" + r + s + i + l + o,
- d = c + " = ";
- t.alert.show({
- type: 1,
- text: d,
- ctxt: t.locale.ctrl.cancel,
- otxt: t.locale.ctrl.ok,
- cb: function () {
- var r = +u.find(t.el, ".vcode").value;
- new Function("return " + c.replace(/x/g, "*"))() === r ? n && n() : t.alert.show({
- type: 1,
- text: "(T_T)" + t.locale.tips.again,
- ctxt: t.locale.ctrl.cancel,
- otxt: t.locale.ctrl.try,
- cb: function () {
- e(n)
- }
- })
- }
- })
- },
- F = function (e) {
- var t = new AV.User;
- return t.setUsername(e.username), t.setPassword(e.mail), t.setEmail(e.mail), t.setACL(I()), t.signUp()
- },
- V = function e(n) {
- AV.User.requestPasswordReset(n.mail).then(function (e) {}).catch(function (r) {
- 1 == r.code ? t.alert.show({
- type: 0,
- text: "ヾ(o・ω・)ノ At太频繁啦,提醒功能暂时宕机。
" + r.error,
- ctxt: t.locale.ctrl.ok
- }) : F(n).then(function (t) {
- e(n)
- }).catch(function (e) {})
- })
- };
- u.on("click", P, U), u.on("keydown", document, function (e) {
- e = event || e;
- var t = e.keyCode || e.which || e.charCode;
- ((e.ctrlKey || e.metaKey) && 13 === t && U(), 9 === t) && ("veditor" == (document.activeElement.id || "") && (e.preventDefault(), E(f, " ")))
- })
- }, e.exports = i, e.exports.default = i
- }, function (e, t, n) {
- "use strict";
- var r = {
- data: n(11),
- parse: function (e) {
- return String(e).replace(/:(.+?):/g, function (e, t) {
- return r.data[t] || e
- })
- }
- };
- e.exports = r
- }, function (e, t, n) {
- "use strict";
-
- function r(e) {
- var t = this,
- n = {
- Trident: e.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,
- Chrome: e.indexOf("Chrome") > -1 || e.indexOf("CriOS") > -1,
- IE: e.indexOf("MSIE") > -1 || e.indexOf("Trident") > -1,
- Edge: e.indexOf("Edge") > -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,
- "Mac OS": 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,
- 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 = {
- engine: ["WebKit", "Trident", "Gecko", "Presto"],
- browser: ["Safari", "Chrome", "Edge", "IE", "Firefox", "Firefox Focus", "Chromium", "Opera", "Vivaldi", "Yandex", "Kindle", "360", "UC", "QQBrowser", "QQ", "Baidu", "Maxthon", "Sogou", "LBBROWSER", "2345Explorer", "TheWorld", "XiaoMi", "Quark", "Qiyu", "Wechat", "Taobao", "Alipay", "Weibo", "Douban", "Suning", "iQiYi"],
- os: ["Windows", "Linux", "Mac OS", "Android", "Ubuntu", "FreeBSD", "Debian", "iOS", "Windows Phone", "BlackBerry", "MeeGo", "Symbian", "Chrome OS", "WebOS"],
- device: ["Mobile", "Tablet"]
- };
- t.device = "PC";
- for (var i in r)
- for (var o = 0; o < r[i].length; o++) {
- var a = r[i][o];
- n[a] && (t[i] = a)
- }
- var s = {
- 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: function () {
- return e.replace(/^.*Android ([\d.]+);.*$/, "$1")
- },
- iOS: function () {
- return e.replace(/^.*OS ([\d_]+) like.*$/, "$1").replace(/_/g, ".")
- },
- Debian: function () {
- return e.replace(/^.*Debian\/([\d.]+).*$/, "$1")
- },
- "Windows Phone": function () {
- return e.replace(/^.*Windows Phone( OS)? ([\d.]+);.*$/, "$2")
- },
- "Mac OS": function () {
- return e.replace(/^.*Mac OS X ([\d_]+).*$/, "$1").replace(/_/g, ".")
- },
- WebOS: function () {
- return e.replace(/^.*hpwOS\/([\d.]+);.*$/, "$1")
- }
- };
- t.osVersion = "", s[t.os] && (t.osVersion = s[t.os](), t.osVersion == e && (t.osVersion = ""));
- var l = {
- Safari: function () {
- return e.replace(/^.*Version\/([\d.]+).*$/, "$1")
- },
- Chrome: function () {
- return e.replace(/^.*Chrome\/([\d.]+).*$/, "$1").replace(/^.*CriOS\/([\d.]+).*$/, "$1")
- },
- IE: function () {
- return e.replace(/^.*MSIE ([\d.]+).*$/, "$1").replace(/^.*rv:([\d.]+).*$/, "$1")
- },
- Edge: function () {
- return e.replace(/^.*Edge\/([\d.]+).*$/, "$1")
- },
- Firefox: function () {
- return e.replace(/^.*Firefox\/([\d.]+).*$/, "$1").replace(/^.*FxiOS\/([\d.]+).*$/, "$1")
- },
- "Firefox Focus": function () {
- return e.replace(/^.*Focus\/([\d.]+).*$/, "$1")
- },
- Chromium: function () {
- return e.replace(/^.*Chromium\/([\d.]+).*$/, "$1")
- },
- Opera: function () {
- return e.replace(/^.*Opera\/([\d.]+).*$/, "$1").replace(/^.*OPR\/([\d.]+).*$/, "$1")
- },
- Vivaldi: function () {
- return e.replace(/^.*Vivaldi\/([\d.]+).*$/, "$1")
- },
- Yandex: function () {
- return e.replace(/^.*YaBrowser\/([\d.]+).*$/, "$1")
- },
- Kindle: function () {
- return e.replace(/^.*Version\/([\d.]+).*$/, "$1")
- },
- Maxthon: function () {
- return e.replace(/^.*Maxthon\/([\d.]+).*$/, "$1")
- },
- QQBrowser: function () {
- return e.replace(/^.*QQBrowser\/([\d.]+).*$/, "$1")
- },
- QQ: function () {
- return e.replace(/^.*QQ\/([\d.]+).*$/, "$1")
- },
- Baidu: function () {
- return e.replace(/^.*BIDUBrowser[\s\/]([\d.]+).*$/, "$1")
- },
- UC: function () {
- return e.replace(/^.*UC?Browser\/([\d.]+).*$/, "$1")
- },
- Sogou: function () {
- return e.replace(/^.*SE ([\d.X]+).*$/, "$1").replace(/^.*SogouMobileBrowser\/([\d.]+).*$/, "$1")
- },
- "2345Explorer": function () {
- return e.replace(/^.*2345Explorer\/([\d.]+).*$/, "$1")
- },
- TheWorld: function () {
- return e.replace(/^.*TheWorld ([\d.]+).*$/, "$1")
- },
- XiaoMi: function () {
- return e.replace(/^.*MiuiBrowser\/([\d.]+).*$/, "$1")
- },
- Quark: function () {
- return e.replace(/^.*Quark\/([\d.]+).*$/, "$1")
- },
- Qiyu: function () {
- return e.replace(/^.*Qiyu\/([\d.]+).*$/, "$1")
- },
- Wechat: function () {
- return e.replace(/^.*MicroMessenger\/([\d.]+).*$/, "$1")
- },
- Taobao: function () {
- return e.replace(/^.*AliApp\(TB\/([\d.]+).*$/, "$1")
- },
- Alipay: function () {
- return e.replace(/^.*AliApp\(AP\/([\d.]+).*$/, "$1")
- },
- Weibo: function () {
- return e.replace(/^.*weibo__([\d.]+).*$/, "$1")
- },
- Douban: function () {
- return e.replace(/^.*com.douban.frodo\/([\d.]+).*$/, "$1")
- },
- Suning: function () {
- return e.replace(/^.*SNEBUY-APP([\d.]+).*$/, "$1")
- },
- iQiYi: function () {
- return e.replace(/^.*IqiyiVersion\/([\d.]+).*$/, "$1")
- }
- };
- t.version = "", l[t.browser] && (t.version = l[t.browser](), t.version == e && (t.version = "")), "Edge" == t.browser ? t.engine = "EdgeHTML" : "Chrome" == t.browser && parseInt(t.version) > 27 ? t.engine = "Blink" : "Opera" == t.browser && parseInt(t.version) > 12 ? t.engine = "Blink" : "Yandex" == t.browser ? t.engine = "Blink" : void 0 == t.browser && (t.browser = "Unknow App")
- }
-
- function i(e) {
- return new r(e)
- }
- e.exports = i
- }, function (e, t, n) {
- "use strict";
- var r = window,
- i = document,
- o = {},
- a = {
- "&": "&",
- "<": "<",
- ">": ">",
- '"': """,
- "'": "'",
- "`": "`",
- "\\": "\"
- };
- for (var s in a) o[a[s]] = s;
- var l = /[&<>"'`\\]/g,
- c = RegExp(l.source),
- d = /&(?:amp|lt|gt|quot|#39|#x60|#x5c);/g,
- u = RegExp(d.source),
- p = {
- domReady: function (e) {
- if ("complete" === i.readyState || "loading" !== i.readyState && !i.documentElement.doScroll) setTimeout(function () {
- return e && e()
- }, 0);
- else {
- var t = function t() {
- i.removeEventListener("DOMContentLoaded", t, !1), r.removeEventListener("load", t, !1), e && e()
- };
- i.addEventListener("DOMContentLoaded", t, !1), r.addEventListener("load", t, !1)
- }
- },
- dynamicLoadSource: function (e, t, n) {
- var r = {
- script: "src",
- link: "href"
- },
- o = r[e];
- if (p.find(i, e + "[" + o + '="' + t[o] + '"]')) "function" == typeof n && n();
- else {
- var a = p.create(e, t);
- i.getElementsByTagName("head")[0].appendChild(a), a.onload = a.onreadystatechange = function () {
- var e = this;
- e.onload = e.onreadystatechange = null, "function" == typeof n && n()
- }
- }
- },
- on: function (e, t, n, r) {
- e = e.split(" ");
- for (var i = 0, o = e.length; i < o; i++) p.off(e[i], t, n, r), t.addEventListener ? t.addEventListener(e[i], n, r || !1) : t.attachEvent ? t.attachEvent("on" + e[i], n) : t["on" + e[i]] = n
- },
- off: function (e, t, n, r) {
- e = e.split(" ");
- for (var i = 0, o = e.length; i < o; i++) t.removeEventListener ? t.removeEventListener(e, n, r || !1) : t.detachEvent ? t.detachEvent("on" + e, n) : t["on" + e] = null
- },
- escape: function (e) {
- return e && c.test(e) ? e.replace(l, function (e) {
- return a[e]
- }) : e
- },
- unescape: function (e) {
- return e && u.test(e) ? e.replace(d, function (e) {
- return o[e]
- }) : e
- },
- create: function (e, t, n) {
- var r = document.createElement(e);
- return p.attr(r, t, n), r
- },
- find: function (e, t) {
- return e.querySelector(t)
- },
- findAll: function (e, t) {
- return e.querySelectorAll(t)
- },
- attr: function (e, t, n) {
- if (void 0 === e.getAttribute) return p.prop(e, t, n);
- if (void 0 !== n) null === n ? p.removeAttr(e, t) : e.setAttribute(t, n);
- else {
- if ("[object Object]" !== {}.toString.call(t)) return e.getAttribute(t);
- p.each(t, function (t, n) {
- e.setAttribute(t, n)
- })
- }
- },
- prop: function (e, t, n) {
- return void 0 !== n ? e[t] = n : "[object Object]" !== {}.toString.call(t) ? e[t] : void p.each(t, function (t, n) {
- e[t] = n
- })
- },
- removeAttr: function (e, t) {
- var n = void 0,
- r = 0,
- i = t && t.match(/[^\x20\t\r\n\f\*\/\\]+/g);
- if (i && 1 === e.nodeType)
- for (; n = i[r++];) e.removeAttribute(n);
- return e
- },
- clearAttr: function (e) {
- var t = e.attributes,
- n = ["align", "alt", "checked", "class", "disabled", "href", "id", "target", "title", "type", "src", "style"];
- return p.each(t, function (t, r) {
- var i = r.name;
- switch (i.toLowerCase()) {
- case "style":
- var o = r.value;
- p.each(o.split(";"), function (t, n) {
- n.indexOf("color") > -1 ? p.attr(e, "style", n) : p.removeAttr(e, "style")
- });
- break;
- case "class":
- if ("CODE" == e.nodeName) return !1;
- var a = r.value;
- a.indexOf("at") > -1 ? p.attr(e, "class", "at") : a.indexOf("vemoji") > -1 ? p.attr(e, "class", "vemoji") : p.removeAttr(e, "class");
- break;
- default:
- if (n.indexOf(i) > -1) return !0;
- p.removeAttr(e, i)
- }
- }), e
- },
- remove: function (e) {
- try {
- e.parentNode && e.parentNode.removeChild(e)
- } catch (e) {}
- },
- each: function (e, t) {
- var n = 0,
- r = e.length,
- i = ["[object Array]", "[object NodeList]"],
- o = {}.toString.call(e);
- if (i.indexOf(o) > -1)
- for (; n < r && (!t || !1 !== t.call(e[n], n, e[n])); n++);
- else
- for (n in e)
- if (e.hasOwnProperty(n) && t && !1 === t.call(e[n], n, e[n])) break;
- return e
- }
- };
- e.exports = p
- }, function (e, t, n) {
- "use strict";
- var r = function (e, t) {
- if (e) try {
- var n = e.getTime(),
- r = (new Date).getTime(),
- o = r - n,
- a = Math.floor(o / 864e5);
- if (0 === a) {
- var s = o % 864e5,
- l = Math.floor(s / 36e5);
- if (0 === l) {
- var c = s % 36e5,
- d = Math.floor(c / 6e4);
- if (0 === d) {
- var u = c % 6e4;
- return Math.round(u / 1e3) + " " + t.timeago.seconds
- }
- return d + " " + t.timeago.minutes
- }
- return l + " " + t.timeago.hours
- }
- return a < 0 ? t.timeago.now : a < 8 ? a + " " + t.timeago.days : i(e)
- } catch (e) {}
- },
- i = function (e) {
- var t = o(e.getDate(), 2),
- n = o(e.getMonth() + 1, 2);
- return o(e.getFullYear(), 2) + "-" + n + "-" + t
- },
- o = function (e, t) {
- for (var n = e.toString(); n.length < t;) n = "0" + n;
- return n
- };
- e.exports = r
- }, function (e, t, n) {
- var r;
- ! function (i) {
- "use strict";
-
- function o(e, t) {
- var n = (65535 & e) + (65535 & t);
- return (e >> 16) + (t >> 16) + (n >> 16) << 16 | 65535 & n
- }
-
- function a(e, t) {
- return e << t | e >>> 32 - t
- }
-
- function s(e, t, n, r, i, s) {
- return o(a(o(o(t, e), o(r, s)), i), n)
- }
-
- function l(e, t, n, r, i, o, a) {
- return s(t & n | ~t & r, e, t, i, o, a)
- }
-
- function c(e, t, n, r, i, o, a) {
- return s(t & r | n & ~r, e, t, i, o, a)
- }
-
- function d(e, t, n, r, i, o, a) {
- return s(t ^ n ^ r, e, t, i, o, a)
- }
-
- function u(e, t, n, r, i, o, a) {
- return s(n ^ (t | ~r), e, t, i, o, a)
- }
-
- function p(e, t) {
- e[t >> 5] |= 128 << t % 32, e[14 + (t + 64 >>> 9 << 4)] = t;
- var n, r, i, a, s, p = 1732584193,
- f = -271733879,
- h = -1732584194,
- v = 271733878;
- for (n = 0; n < e.length; n += 16) r = p, i = f, a = h, s = v, p = l(p, f, h, v, e[n], 7, -680876936), v = l(v, p, f, h, e[n + 1], 12, -389564586), h = l(h, v, p, f, e[n + 2], 17, 606105819), f = l(f, h, v, p, e[n + 3], 22, -1044525330), p = l(p, f, h, v, e[n + 4], 7, -176418897), v = l(v, p, f, h, e[n + 5], 12, 1200080426), h = l(h, v, p, f, e[n + 6], 17, -1473231341), f = l(f, h, v, p, e[n + 7], 22, -45705983), p = l(p, f, h, v, e[n + 8], 7, 1770035416), v = l(v, p, f, h, e[n + 9], 12, -1958414417), h = l(h, v, p, f, e[n + 10], 17, -42063), f = l(f, h, v, p, e[n + 11], 22, -1990404162), p = l(p, f, h, v, e[n + 12], 7, 1804603682), v = l(v, p, f, h, e[n + 13], 12, -40341101), h = l(h, v, p, f, e[n + 14], 17, -1502002290), f = l(f, h, v, p, e[n + 15], 22, 1236535329), p = c(p, f, h, v, e[n + 1], 5, -165796510), v = c(v, p, f, h, e[n + 6], 9, -1069501632), h = c(h, v, p, f, e[n + 11], 14, 643717713), f = c(f, h, v, p, e[n], 20, -373897302), p = c(p, f, h, v, e[n + 5], 5, -701558691), v = c(v, p, f, h, e[n + 10], 9, 38016083), h = c(h, v, p, f, e[n + 15], 14, -660478335), f = c(f, h, v, p, e[n + 4], 20, -405537848), p = c(p, f, h, v, e[n + 9], 5, 568446438), v = c(v, p, f, h, e[n + 14], 9, -1019803690), h = c(h, v, p, f, e[n + 3], 14, -187363961), f = c(f, h, v, p, e[n + 8], 20, 1163531501), p = c(p, f, h, v, e[n + 13], 5, -1444681467), v = c(v, p, f, h, e[n + 2], 9, -51403784), h = c(h, v, p, f, e[n + 7], 14, 1735328473), f = c(f, h, v, p, e[n + 12], 20, -1926607734), p = d(p, f, h, v, e[n + 5], 4, -378558), v = d(v, p, f, h, e[n + 8], 11, -2022574463), h = d(h, v, p, f, e[n + 11], 16, 1839030562), f = d(f, h, v, p, e[n + 14], 23, -35309556), p = d(p, f, h, v, e[n + 1], 4, -1530992060), v = d(v, p, f, h, e[n + 4], 11, 1272893353), h = d(h, v, p, f, e[n + 7], 16, -155497632), f = d(f, h, v, p, e[n + 10], 23, -1094730640), p = d(p, f, h, v, e[n + 13], 4, 681279174), v = d(v, p, f, h, e[n], 11, -358537222), h = d(h, v, p, f, e[n + 3], 16, -722521979), f = d(f, h, v, p, e[n + 6], 23, 76029189), p = d(p, f, h, v, e[n + 9], 4, -640364487), v = d(v, p, f, h, e[n + 12], 11, -421815835), h = d(h, v, p, f, e[n + 15], 16, 530742520), f = d(f, h, v, p, e[n + 2], 23, -995338651), p = u(p, f, h, v, e[n], 6, -198630844), v = u(v, p, f, h, e[n + 7], 10, 1126891415), h = u(h, v, p, f, e[n + 14], 15, -1416354905), f = u(f, h, v, p, e[n + 5], 21, -57434055), p = u(p, f, h, v, e[n + 12], 6, 1700485571), v = u(v, p, f, h, e[n + 3], 10, -1894986606), h = u(h, v, p, f, e[n + 10], 15, -1051523), f = u(f, h, v, p, e[n + 1], 21, -2054922799), p = u(p, f, h, v, e[n + 8], 6, 1873313359), v = u(v, p, f, h, e[n + 15], 10, -30611744), h = u(h, v, p, f, e[n + 6], 15, -1560198380), f = u(f, h, v, p, e[n + 13], 21, 1309151649), p = u(p, f, h, v, e[n + 4], 6, -145523070), v = u(v, p, f, h, e[n + 11], 10, -1120210379), h = u(h, v, p, f, e[n + 2], 15, 718787259), f = u(f, h, v, p, e[n + 9], 21, -343485551), p = o(p, r), f = o(f, i), h = o(h, a), v = o(v, s);
- return [p, f, h, v]
- }
-
- function f(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 h(e) {
- var t, n = [];
- for (n[(e.length >> 2) - 1] = void 0, t = 0; t < n.length; t += 1) n[t] = 0;
- var r = 8 * e.length;
- for (t = 0; t < r; t += 8) n[t >> 5] |= (255 & e.charCodeAt(t / 8)) << t % 32;
- return n
- }
-
- function v(e) {
- return f(p(h(e), 8 * e.length))
- }
-
- function g(e, t) {
- var n, r, i = h(e),
- o = [],
- a = [];
- for (o[15] = a[15] = void 0, i.length > 16 && (i = p(i, 8 * e.length)), n = 0; n < 16; n += 1) o[n] = 909522486 ^ i[n], a[n] = 1549556828 ^ i[n];
- return r = p(o.concat(h(t)), 512 + 8 * t.length), f(p(a.concat(r), 640))
- }
-
- function m(e) {
- var t, n, r = "0123456789abcdef",
- i = "";
- for (n = 0; n < e.length; n += 1) t = e.charCodeAt(n), i += r.charAt(t >>> 4 & 15) + r.charAt(15 & t);
- return i
- }
-
- function b(e) {
- return unescape(encodeURIComponent(e))
- }
-
- function x(e) {
- return v(b(e))
- }
-
- function y(e) {
- return m(x(e))
- }
-
- function w(e, t) {
- return g(b(e), b(t))
- }
-
- function k(e, t) {
- return m(w(e, t))
- }
-
- function _(e, t, n) {
- return t ? n ? w(t, e) : k(t, e) : n ? x(e) : y(e)
- }
- void 0 !== (r = function () {
- return _
- }.call(t, n, t, e)) && (e.exports = r)
- }()
- }, function (e, t, n) {
- ! function (t, n) {
- e.exports = n()
- }(0, function () {
- "use strict";
-
- function e(e) {
- return '' + e + ""
- }
- var t = function (e, t) {
- return t = {
- exports: {}
- }, e(t, 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, i) {
- void 0 === i && (i = {});
- var o = i.colors;
- void 0 === o && (o = n);
- var a = 0,
- s = {},
- l = /[\u4E00-\u9FFF\u3400-\u4dbf\uf900-\ufaff\u3040-\u309f\uac00-\ud7af\u0400-\u04FF]+|\w+/,
- c = /,
- d = new RegExp("(" + l.source + "|" + c.source + ")|(" + t().source + ")", "gmi");
- return r.replace(d, function (t, n, r) {
- if (r) return e(r);
- if ("<" === n) return "<";
- var i;
- s[n] ? i = s[n] : (i = o[a], s[n] = i);
- var l = '' + n + "";
- return a = ++a % o.length, l
- })
- }
- })
- }, 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 i, 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 i(e) {
- this.options = e || h.defaults
- }
-
- function o() {}
-
- function a(e) {
- this.tokens = [], this.token = null, this.options = e || h.defaults, this.options.renderer = this.options.renderer || new i, this.renderer = this.options.renderer, this.renderer.options = this.options
- }
-
- function s(e, t) {
- return e.replace(t ? /&/g : /&(?!#?\w+;)/g, "&").replace(//g, ">").replace(/"/g, """).replace(/'/g, "'")
- }
-
- function l(e) {
- return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi, function (e, t) {
- return t = t.toLowerCase(), "colon" === t ? ":" : "#" === t.charAt(0) ? "x" === t.charAt(1) ? String.fromCharCode(parseInt(t.substring(2), 16)) : String.fromCharCode(+t.substring(1)) : ""
- })
- }
-
- function c(e, t) {
- return e = e.source || e, t = t || "", {
- replace: function (t, n) {
- return n = n.source || n, n = n.replace(/(^|[^\[])\^/g, "$1"), e = e.replace(t, n), this
- },
- getRegex: function () {
- return new RegExp(e, t)
- }
- }
- }
-
- function 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++) {
- t = arguments[r];
- for (n in t) 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 (void 0 === e || null === e) throw new Error("marked(): input parameter is undefined or null");
- if ("string" != typeof e) throw new Error("marked(): input parameter is of type " + Object.prototype.toString.call(e) + ", string expected");
- if (r || "function" == typeof t) {
- r || (r = t, t = null), t = p({}, h.defaults, t || {});
- var i, o, l = t.highlight,
- c = 0;
- try {
- i = n.lex(e, t)
- } catch (e) {
- return r(e)
- }
- o = i.length;
- var d = function (e) {
- if (e) return t.highlight = l, r(e);
- var n;
- try {
- n = a.parse(i, t)
- } catch (t) {
- e = t
- }
- return t.highlight = l, e ? r(e) : r(null, n)
- };
- if (!l || l.length < 3) return d();
- if (delete t.highlight, !o) return d();
- for (; c < i.length; c++) ! function (e) {
- "code" !== e.type ? --o || d() : l(e.text, e.lang, function (t, n) {
- return t ? d(t) : null == n || n === e.text ? --o || d() : (e.text = n, e.escaped = !0, void(--o || d()))
- })
- }(i[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 "
An error occurred:
" + s(e.message + "", !0) + "
";
- 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*|\\n*|\\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]+/
- };
- v._label = /(?!\s*\])(?:\\[\[\]]|[^\[\]])+/, v._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 = //, 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*$)|\\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, i, o, a, s, l, c, d, u, p, h, g; e;)
- if ((i = this.rules.newline.exec(e)) && (e = e.substring(i[0].length), i[0].length > 1 && this.tokens.push({
- type: "space"
- })), i = this.rules.code.exec(e)) e = e.substring(i[0].length), i = i[0].replace(/^ {4}/gm, ""), this.tokens.push({
- type: "code",
- text: this.options.pedantic ? i : i.replace(/\n+$/, "")
- });
- else if (i = this.rules.fences.exec(e)) e = e.substring(i[0].length), this.tokens.push({
- type: "code",
- lang: i[2],
- text: i[3] || ""
- });
- else if (i = this.rules.heading.exec(e)) e = e.substring(i[0].length), this.tokens.push({
- type: "heading",
- depth: i[1].length,
- text: i[2]
- });
- else if (t && (i = this.rules.nptable.exec(e)) && (s = {
- type: "table",
- header: f(i[1].replace(/^ *| *\| *$/g, "")),
- align: i[2].replace(/^ *|\| *$/g, "").split(/ *\| */),
- cells: i[3] ? i[3].replace(/\n$/, "").split("\n") : []
- }, s.header.length === s.align.length)) {
- for (e = e.substring(i[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 (i = this.rules.hr.exec(e)) e = e.substring(i[0].length), this.tokens.push({
- type: "hr"
- });
- else if (i = this.rules.blockquote.exec(e)) e = e.substring(i[0].length), this.tokens.push({
- type: "blockquote_start"
- }), i = i[0].replace(/^ *> ?/gm, ""), this.token(i, t), this.tokens.push({
- type: "blockquote_end"
- });
- else if (i = this.rules.list.exec(e)) {
- for (e = e.substring(i[0].length), o = i[2], p = o.length > 1, this.tokens.push({
- type: "list_start",
- ordered: p,
- start: p ? +o : ""
- }), i = i[0].match(this.rules.item), n = !1, u = i.length, c = 0; c < u; c++) s = i[c], l = s.length, s = s.replace(/^ *([*+-]|\d+\.) +/, ""), ~s.indexOf("\n ") && (l -= s.length, s = this.options.pedantic ? s.replace(/^ {1,4}/gm, "") : s.replace(new RegExp("^ {1," + l + "}", "gm"), "")), this.options.smartLists && c !== u - 1 && (a = v.bullet.exec(i[c + 1])[0], o === a || o.length > 1 && a.length > 1 || (e = i.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)), h = /^\[[ xX]\] /.test(s), g = void 0, h && (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 (i = this.rules.html.exec(e)) e = e.substring(i[0].length), this.tokens.push({
- type: this.options.sanitize ? "paragraph" : "html",
- pre: !this.options.sanitizer && ("pre" === i[1] || "script" === i[1] || "style" === i[1]),
- text: i[0]
- });
- else if (t && (i = this.rules.def.exec(e))) e = e.substring(i[0].length), i[3] && (i[3] = i[3].substring(1, i[3].length - 1)), d = i[1].toLowerCase().replace(/\s+/g, " "), this.tokens.links[d] || (this.tokens.links[d] = {
- href: i[2],
- title: i[3]
- });
- else if (t && (i = this.rules.table.exec(e)) && (s = {
- type: "table",
- header: f(i[1].replace(/^ *| *\| *$/g, "")),
- align: i[2].replace(/^ *|\| *$/g, "").split(/ *\| */),
- cells: i[3] ? i[3].replace(/(?: *\| *)?\n$/, "").split("\n") : []
- }, s.header.length === s.align.length)) {
- for (e = e.substring(i[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 (i = this.rules.lheading.exec(e)) e = e.substring(i[0].length), this.tokens.push({
- type: "heading",
- depth: "=" === i[2] ? 1 : 2,
- text: i[1]
- });
- else if (t && (i = this.rules.paragraph.exec(e))) e = e.substring(i[0].length), this.tokens.push({
- type: "paragraph",
- text: "\n" === i[1].charAt(i[1].length - 1) ? i[1].slice(0, -1) : i[1]
- });
- else if (i = this.rules.text.exec(e)) e = e.substring(i[0].length), this.tokens.push({
- type: "text",
- text: i[0]
- });
- else if (e) throw new Error("Infinite loop on byte: " + e.charCodeAt(0));
- return this.tokens
- };
- var 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]*?\\?>|^|^",
- 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]+?(?=[\\?@\[\]\\^_`{|}~])/g, g._scheme = /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/, g._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, i, o, 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] ? (n = s(this.mangle(a[1])), i = "mailto:" + n) : (n = s(a[1]), i = n), l += this.renderer.link(i, null, n);
- else if (this.inLink || !(a = this.rules.url.exec(e))) {
- if (a = this.rules.tag.exec(e)) !this.inLink && /^/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, i = a[2], this.options.pedantic ? (t = /^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(i), t ? (i = t[1], o = t[3]) : o = "") : o = a[3] ? a[3].slice(1, -1) : "", i = i.trim().replace(/^<([\s\S]*)>$/, "$1"), l += this.outputLink(a, {
- href: r.escapes(i),
- title: r.escapes(o)
- }), 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] ? (n = s(a[0]), i = "mailto:" + n) : (n = s(a[0]), i = "www." === a[1] ? "http://" + n : n), l += this.renderer.link(i, 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, i = 0; i < r; i++) t = e.charCodeAt(i), Math.random() > .5 && (t = "x" + t.toString(16)), n += "" + t + ";";
- return n
- }, i.prototype.code = function (e, t, n) {
- if (this.options.highlight) {
- var r = this.options.highlight(e, t);
- null != r && r !== e && (n = !0, e = r)
- }
- return t ? '' + (n ? e : s(e, !0)) + "
\n" : "" + (n ? e : s(e, !0)) + "
"
- }, i.prototype.blockquote = function (e) {
- return "\n" + e + "
\n"
- }, i.prototype.html = function (e) {
- return e
- }, i.prototype.heading = function (e, t, n) {
- return this.options.headerIds ? "\n" : "" + e + "\n"
- }, i.prototype.hr = function () {
- return this.options.xhtml ? "
\n" : "
\n"
- }, i.prototype.list = function (e, t, n) {
- var r = t ? "ol" : "ul";
- return "<" + r + (t && 1 !== n ? ' start="' + n + '"' : "") + ">\n" + e + "" + r + ">\n"
- }, i.prototype.listitem = function (e) {
- return "" + e + "\n"
- }, i.prototype.checkbox = function (e) {
- return " "
- }, i.prototype.paragraph = function (e) {
- return "" + e + "
\n"
- }, i.prototype.table = function (e, t) {
- return t && (t = "" + t + ""), "\n"
- }, i.prototype.tablerow = function (e) {
- return "\n" + e + "
\n"
- }, i.prototype.tablecell = function (e, t) {
- var n = t.header ? "th" : "td";
- return (t.align ? "<" + n + ' align="' + t.align + '">' : "<" + n + ">") + e + "" + n + ">\n"
- }, i.prototype.strong = function (e) {
- return "" + e + ""
- }, i.prototype.em = function (e) {
- return "" + e + ""
- }, i.prototype.codespan = function (e) {
- return "" + e + "
"
- }, i.prototype.br = function () {
- return this.options.xhtml ? "
" : "
"
- }, i.prototype.del = function (e) {
- return "" + e + ""
- }, i.prototype.link = function (e, t, n) {
- if (this.options.sanitize) {
- try {
- var r = decodeURIComponent(l(e)).replace(/[^\w:]/g, "").toLowerCase()
- } catch (e) {
- return n
- }
- if (0 === r.indexOf("javascript:") || 0 === r.indexOf("vbscript:") || 0 === r.indexOf("data:")) return n
- }
- this.options.baseUrl && !b.test(e) && (e = d(this.options.baseUrl, e));
- try {
- e = encodeURI(e).replace(/%25/g, "%")
- } catch (e) {
- return n
- }
- var i = '" + n + ""
- }, i.prototype.image = function (e, t, n) {
- this.options.baseUrl && !b.test(e) && (e = d(this.options.baseUrl, e));
- var r = '" : ">"
- }, i.prototype.text = function (e) {
- return e
- }, o.prototype.strong = o.prototype.em = o.prototype.codespan = o.prototype.del = o.prototype.text = function (e) {
- return e
- }, o.prototype.link = o.prototype.image = function (e, t, n) {
- return "" + n
- }, o.prototype.br = function () {
- return ""
- }, a.parse = function (e, t) {
- return new a(t).parse(e)
- }, a.prototype.parse = function (e) {
- this.inline = new r(e.links, this.options), this.inlineText = new r(e.links, p({}, this.options, {
- renderer: new o
- })), this.tokens = e.reverse();
- for (var t = ""; this.next();) t += this.tok();
- return t
- }, a.prototype.next = function () {
- return this.token = this.tokens.pop()
- }, a.prototype.peek = function () {
- return this.tokens[this.tokens.length - 1] || 0
- }, a.prototype.parseText = function () {
- for (var e = this.token.text;
- "text" === this.peek().type;) e += "\n" + this.next().text;
- return this.inline.output(e)
- }, a.prototype.tok = function () {
- switch (this.token.type) {
- case "space":
- return "";
- case "hr":
- return this.renderer.hr();
- case "heading":
- return this.renderer.heading(this.inline.output(this.token.text), this.token.depth, l(this.inlineText.output(this.token.text)));
- case "code":
- return this.renderer.code(this.token.text, this.token.lang, this.token.escaped);
- case "table":
- var e, t, n, r, i = "",
- o = "";
- for (n = "", e = 0; e < this.token.header.length; e++) n += this.renderer.tablecell(this.inline.output(this.token.header[e]), {
- header: !0,
- align: this.token.align[e]
- });
- for (i += this.renderer.tablerow(n), e = 0; e < this.token.cells.length; e++) {
- for (t = this.token.cells[e], n = "", r = 0; r < t.length; r++) n += this.renderer.tablecell(this.inline.output(t[r]), {
- header: !1,
- align: this.token.align[r]
- });
- o += this.renderer.tablerow(n)
- }
- return this.renderer.table(i, o);
- case "blockquote_start":
- for (o = "";
- "blockquote_end" !== this.next().type;) o += this.tok();
- return this.renderer.blockquote(o);
- case "list_start":
- o = "";
- for (var a = this.token.ordered, s = this.token.start;
- "list_end" !== this.next().type;) o += this.tok();
- return this.renderer.list(o, a, s);
- case "list_item_start":
- for (o = "", this.token.task && (o += this.renderer.checkbox(this.token.checked));
- "list_item_end" !== this.next().type;) o += "text" === this.token.type ? this.parseText() : this.tok();
- return this.renderer.listitem(o);
- case "loose_item_start":
- for (o = "";
- "list_item_end" !== this.next().type;) o += this.tok();
- return this.renderer.listitem(o);
- case "html":
- 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 = {},
- b = /^$|^[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 i,
- 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 = i, h.TextRenderer = o, 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(10))
- }, function (e, t) {
- e.exports = {
- name: "valine",
- version: "1.3.10",
- description: "A simple comment system based on Leancloud.",
- main: "/dist/Valine.min.js",
- author: "xCss (https://github.com/xCss)",
- scripts: {
- test: "webpack",
- build: "webpack",
- dev: "webpack-dev-server --env.dev",
- clean: "rm -rf dist/* "
- },
- keywords: ["simple", "easy-to-use", "fast-and-safe", "comment-system"],
- license: "GPL-2.0",
- repository: {
- type: "git",
- url: "git+https://github.com/xcss/Valine.git"
- },
- homepage: "https://github.com/xcss/Valine#readme",
- devDependencies: {
- autoprefixer: "^7.1.1",
- autosize: "^4.0.2",
- "babel-core": "^6.25.0",
- "babel-loader": "^7.1.1",
- "babel-polyfill": "^6.23.0",
- "babel-preset-es2015": "^6.24.1",
- "babel-preset-stage-0": "^6.24.1",
- "blueimp-md5": "^2.8.0",
- "css-loader": "^0.28.4",
- "exports-loader": "^0.6.3",
- "file-loader": "^0.11.2",
- hanabi: "^0.4.0",
- marked: "^0.4.0",
- "node-sass": "^4.9.2",
- "postcss-loader": "^2.0.5",
- "sass-loader": "^6.0.3",
- "style-loader": "^0.18.2",
- "url-loader": "^0.6.2",
- webpack: "^2.6.1",
- "webpack-cli": "^3.3.5",
- "webpack-dev-server": "^2.9.1"
- }
- }
- }, function (e, t) {
- var n;
- n = function () {
- return this
- }();
- try {
- n = n || Function("return this")() || (0, eval)("this")
- } catch (e) {
- "object" == typeof window && (n = window)
- }
- e.exports = n
- }, function (e, t) {
- e.exports = {
- grinning: "😀",
- smiley: "😃",
- smile: "😄",
- grin: "😁",
- laughing: "😆",
- sweat_smile: "😅",
- joy: "😂",
- blush: "😊",
- innocent: "😇",
- wink: "😉",
- relieved: "😌",
- heart_eyes: "😍",
- kissing_heart: "😘",
- kissing: "😗",
- kissing_smiling_eyes: "😙",
- kissing_closed_eyes: "😚",
- yum: "😋",
- stuck_out_tongue_winking_eye: "😜",
- stuck_out_tongue_closed_eyes: "😝",
- stuck_out_tongue: "😛",
- sunglasses: "😎",
- smirk: "😏",
- unamused: "😒",
- disappointed: "😞",
- pensive: "😔",
- worried: "😟",
- confused: "😕",
- persevere: "😣",
- confounded: "😖",
- tired_face: "😫",
- weary: "😩",
- angry: "😠",
- rage: "😡",
- no_mouth: "😶",
- neutral_face: "😐",
- expressionless: "😑",
- hushed: "😯",
- frowning: "😦",
- anguished: "😧",
- open_mouth: "😮",
- astonished: "😲",
- dizzy_face: "😵",
- flushed: "😳",
- scream: "😱",
- fearful: "😨",
- cold_sweat: "😰",
- cry: "😢",
- disappointed_relieved: "😥",
- sob: "😭",
- sweat: "😓",
- sleepy: "😪",
- sleeping: "😴",
- mask: "😷",
- smiling_imp: "😈",
- smiley_cat: "😺",
- smile_cat: "😸",
- joy_cat: "😹",
- heart_eyes_cat: "😻",
- smirk_cat: "😼",
- kissing_cat: "😽",
- scream_cat: "🙀",
- crying_cat_face: "😿",
- pouting_cat: "😾",
- cat: "🐱",
- mouse: "🐭",
- cow: "🐮",
- monkey_face: "🐵",
- hand: "✋",
- fist: "✊",
- v: "✌️",
- point_up: "👆",
- point_down: "👇",
- point_left: "👈",
- point_right: "👉",
- facepunch: "👊",
- wave: "👋",
- clap: "👏",
- open_hands: "👐",
- "+1": "👍",
- "-1": "👎",
- ok_hand: "👌",
- pray: "🙏",
- ear: "👂",
- eyes: "👀",
- nose: "👃",
- lips: "👄",
- tongue: "👅",
- heart: "❤️",
- cupid: "💘",
- sparkling_heart: "💖",
- star: "⭐️",
- sparkles: "✨",
- zap: "⚡️",
- sunny: "☀️",
- cloud: "☁️",
- snowflake: "❄️",
- umbrella: "☔️",
- coffee: "☕️",
- airplane: "✈️",
- anchor: "⚓️",
- watch: "⌚️",
- phone: "☎️",
- hourglass: "⌛️",
- email: "✉️",
- scissors: "✂️",
- black_nib: "✒️",
- pencil2: "✏️",
- x: "❌",
- recycle: "♻️",
- white_check_mark: "✅",
- negative_squared_cross_mark: "❎",
- m: "Ⓜ️",
- i: "ℹ️",
- tm: "™️",
- copyright: "©️",
- registered: "®️"
- }
- }, function (e, t, n) {
- var r = n(13);
- "string" == typeof r && (r = [
- [e.i, r, ""]
- ]);
- var i = {};
- i.transform = void 0;
- n(15)(r, i);
- r.locals && (e.exports = r.locals)
- }, function (e, t, n) {
- t = e.exports = n(14)(!1), t.push([e.i, '.v{font-size:16px;text-align:left}.v *{-webkit-box-sizing:border-box;box-sizing:border-box;line-height:2;color:#555;-webkit-transition:all .3s ease;transition:all .3s ease}.v hr{margin:.825em 0;border-color:#f6f6f6;border-style:dashed}.v.hide-avatar .vimg{display:none}.v a{position:relative;cursor:pointer;color:#1abc9c;display:inline-block}.v a:before{content:"";position:absolute;width:0;right:0;bottom:0;height:1px;background:#1abc9c;-webkit-transition:width .3s ease;transition:width .3s ease}.v a:hover{color:#d7191a}.v a:hover:before{width:100%;left:0;right:auto}.v code,.v pre{background-color:#f6f6f6;color:#555;padding:.2em .4em;border-radius:3px;font-size:85%;margin:0;font-family:Source Code Pro,courier new,Input Mono,PT Mono,SFMono-Regular,Consolas,Monaco,Menlo,PingFang SC,Liberation Mono,Microsoft YaHei,Courier,monospace}.v pre{padding:10px;overflow:auto;line-height:1.45}.v pre code{padding:0;background:transparent;white-space:pre-wrap;word-break:keep-all}.v blockquote{color:#666;margin:.5em 0;padding:0 0 0 1em;border-left:8px solid hsla(0,0%,93%,.5)}.v .vinput{border:none;resize:none;outline:none;padding:10px 5px;max-width:100%;font-size:.775em}.v input[type=checkbox],.v input[type=radio]{display:inline-block;vertical-align:middle;margin-top:-2px}.v .vwrap{border:1px solid #f0f0f0;border-radius:4px;margin-bottom:10px;overflow:hidden;position:relative;padding:10px}.v .vwrap input{background:transparent}.v .vwrap .vedit{position:relative;padding-top:10px}.v .vwrap .vedit .vctrl{text-align:right;font-size:12px}.v .vwrap .vedit .vctrl span{padding:10px;display:inline-block;vertical-align:middle;cursor:pointer}.v .vwrap .vedit .vemojis{display:none;font-size:18px;text-align:justify;max-height:145px;overflow:auto;margin-bottom:10px;-webkit-box-shadow:0 0 1px #f0f0f0;box-shadow:0 0 1px #f0f0f0}.v .vwrap .vedit .vemojis i{font-style:normal;padding:7px 0;width:38px;cursor:pointer;text-align:center;display:inline-block;vertical-align:middle}.v .vwrap .vedit .vpreview{padding:7px;-webkit-box-shadow:0 0 1px #f0f0f0;box-shadow:0 0 1px #f0f0f0}.v .vwrap .vedit .vpreview frame,.v .vwrap .vedit .vpreview iframe,.v .vwrap .vedit .vpreview img{max-width:100%;border:none}.v .vwrap .vheader .vinput{width:33.33%;border-bottom:1px dashed #dedede}.v .vwrap .vheader.item2 .vinput{width:50%}.v .vwrap .vheader.item1 .vinput{width:100%}.v .vwrap .vheader .vinput:focus{border-bottom-color:#eb5055}@media screen and (max-width:520px){.v .vwrap .vheader.item2 .vinput,.v .vwrap .vheader .vinput{width:100%}}.v .vwrap .vcontrol{font-size:0;padding-top:15px}.v .vwrap .vcontrol .col{display:inline-block;font-size:16px;vertical-align:middle;color:#ccc}.v .vwrap .vcontrol .col.text-right{text-align:right}.v .vwrap .vcontrol .col svg{margin-right:2px;overflow:hidden;fill:currentColor;vertical-align:middle}.v .vwrap .vcontrol .col.col-20{width:20%}.v .vwrap .vcontrol .col.col-40{width:40%}.v .vwrap .vcontrol .col.col-60{width:60%}.v .vwrap .vcontrol .col.col-80{width:80%}.v .vwrap .vcontrol .col.split{width:50%}.v .vwrap .vmark{position:absolute;background:rgba(0,0,0,.65);width:100%;height:100%;left:0;top:0}.v .vwrap .vmark .valert{padding-top:3em}.v .vwrap .vmark .valert .vtext{color:#fff;padding:1em 0}.v .vwrap .vmark .valert .vcode{width:4.6875em;border-radius:.3125em;padding:.5em;background:#dedede}.v .vwrap .vmark .valert .vcode:focus{border-color:#3090e4;background-color:#fff}@media screen and (max-width:720px){.v .vwrap .vmark .valert{padding-top:5.5em}.v .vwrap .vmark .valert .vtext{color:#fff;padding:1em 0}}.v .power{color:#999;padding:.5em 0}.v .power,.v .power a{font-size:.75em}.v .vinfo{font-size:0;padding:5px}.v .vinfo .col{font-size:16px;display:inline-block;width:50%;vertical-align:middle}.v .vinfo .vcount .vnum{font-weight:600;font-size:1.25em}.v a{text-decoration:none;color:#555}.v a:hover{color:#222}.v ol,.v ul{padding:0;margin-left:1.25em}.v .txt-center{text-align:center}.v .txt-right{text-align:right}.v .pd5{padding:5px}.v .pd10{padding:10px}.v .veditor{width:100%;min-height:8.75em;font-size:.875em;background:transparent;resize:vertical;-webkit-transition:all .25s ease;transition:all .25s ease}.v .vbtn{-webkit-transition-duration:.4s;transition-duration:.4s;text-align:center;color:#313131;border:1px solid #ededed;border-radius:.3em;display:inline-block;background:#ededed;margin-bottom:0;font-weight:400;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;white-space:nowrap;padding:.5em 1.25em;font-size:.875em;line-height:1.42857143;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none}.v .vbtn+.vbtn{margin-left:1.25em}.v .vbtn:active,.v .vbtn:hover{color:#3090e4;border-color:#3090e4;background-color:#fff}.v .vempty{padding:1.25em;text-align:center;color:#999}.v .vlist{width:100%}.v .vlist .vcard{padding-top:1.5em;position:relative;display:block}.v .vlist .vcard:after{content:"";clear:both;display:block}.v .vlist .vcard .vimg{width:3.125em;height:3.125em;float:left;border-radius:50%;margin-right:.7525em;border:1px solid #f5f5f5;padding:.125em}@media screen and (max-width:720px){.v .vlist .vcard .vimg{width:2.5em;height:2.5em}}.v .vlist .vcard .vhead{line-height:1.5;margin-top:0}.v .vlist .vcard .vhead .vnick{position:relative;font-size:.875em;font-weight:500;margin-right:.875em;cursor:pointer;color:#1abc9c;text-decoration:none;display:inline-block}.v .vlist .vcard .vhead .vnick:before{content:"";position:absolute;width:0;right:0;bottom:0;height:1px;background:#1abc9c;-webkit-transition:width .3s ease;transition:width .3s ease}.v .vlist .vcard .vhead .vnick:hover{color:#d7191a}.v .vlist .vcard .vhead .vnick:hover:before{width:100%;left:0;right:auto}.v .vlist .vcard .vhead .vsys{display:inline-block;padding:.2em .5em;background:#ededed;color:#b3b1b1;font-size:.75em;border-radius:.2em;margin-right:.3em}@media screen and (max-width:520px){.v .vlist .vcard .vhead .vsys{display:none}}.v .vlist .vcard .vh{overflow:hidden;padding-bottom:.5em;border-bottom:1px dashed #f5f5f5}.v .vlist .vcard .vh .vtime{color:#b3b3b3;font-size:.75em;margin-right:.875em}.v .vlist .vcard .vh .vmeta{line-height:1;position:relative}.v .vlist .vcard .vh .vmeta .vat{font-size:.8125em;color:#ef2f11;cursor:pointer;float:right}.v .vlist .vcard:last-child .vh{border-bottom:none}.v .vlist .vcard .vcontent{word-wrap:break-word;word-break:break-all;text-align:justify;color:#4a4a4a;font-size:.875em;line-height:2;position:relative;margin-bottom:.75em;padding-top:.625em}.v .vlist .vcard .vcontent frame,.v .vlist .vcard .vcontent iframe,.v .vlist .vcard .vcontent img{max-width:100%;border:none}.v .vlist .vcard .vcontent.expand{cursor:pointer;max-height:11.25em;overflow:hidden}.v .vlist .vcard .vcontent.expand:before{display:block;content:"";position:absolute;width:100%;left:0;top:0;bottom:3.15em;pointer-events:none;background:-webkit-gradient(linear,left top,left bottom,from(hsla(0,0%,100%,0)),to(hsla(0,0%,100%,.9)));background:linear-gradient(180deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.9))}.v .vlist .vcard .vcontent.expand:after{display:block;content:"Click on expand";text-align:center;color:#828586;position:absolute;width:100%;height:3.15em;line-height:3.15em;left:0;bottom:0;pointer-events:none;background:hsla(0,0%,100%,.9)}.v .vlist .vcard .vquote{color:#666;margin-top:1em;padding-left:1em;border-left:1px dashed hsla(0,0%,93%,.5)}.v .vlist .vcard .vquote .vimg{width:2.225em;height:2.225em}.v .vpage .vmore{margin:1em 0}.v .clear{content:"";display:block;clear:both}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes pulse{50%{background:#dcdcdc}}@keyframes pulse{50%{background:#dcdcdc}}.v .vloading{position:relative;padding:20px;display:block;height:80px}.v .vloading:before{-webkit-box-sizing:border-box;box-sizing:border-box;content:"";position:absolute;display:inline-block;top:20px;left:50%;margin-left:-20px;width:40px;height:40px;border:6px double #a0a0a0;border-top-color:transparent;border-bottom-color:transparent;border-radius:50%;-webkit-animation:spin 1s infinite linear;animation:spin 1s infinite linear}', ""])
- }, function (e, t) {
- function n(e, t) {
- var n = e[1] || "",
- i = e[3];
- if (!i) return n;
- if (t && "function" == typeof btoa) {
- var o = r(i);
- return [n].concat(i.sources.map(function (e) {
- return "/*# sourceURL=" + i.sourceRoot + e + " */"
- })).concat([o]).join("\n")
- }
- return [n].join("\n")
- }
-
- function r(e) {
- return "/*# sourceMappingURL=data:application/json;charset=utf-8;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(e)))) + " */"
- }
- e.exports = function (e) {
- var t = [];
- return t.toString = function () {
- return this.map(function (t) {
- var r = n(t, e);
- return t[2] ? "@media " + t[2] + "{" + r + "}" : r
- }).join("")
- }, t.i = function (e, n) {
- "string" == typeof e && (e = [
- [null, e, ""]
- ]);
- for (var r = {}, i = 0; i < this.length; i++) {
- var o = this[i][0];
- "number" == typeof o && (r[o] = !0)
- }
- for (i = 0; i < e.length; i++) {
- var a = e[i];
- "number" == typeof a[0] && r[a[0]] || (n && !a[2] ? a[2] = n : n && (a[2] = "(" + a[2] + ") and (" + n + ")"), t.push(a))
- }
- }, t
- }
- }, function (e, t, n) {
- function r(e, t) {
- for (var n = 0; n < e.length; n++) {
- var r = e[n],
- i = h[r.id];
- if (i) {
- i.refs++;
- for (var o = 0; o < i.parts.length; o++) i.parts[o](r.parts[o]);
- for (; o < r.parts.length; o++) i.parts.push(d(r.parts[o], t))
- } else {
- for (var a = [], o = 0; o < r.parts.length; o++) a.push(d(r.parts[o], t));
- h[r.id] = {
- id: r.id,
- refs: 1,
- parts: a
- }
- }
- }
- }
-
- function i(e, t) {
- for (var n = [], r = {}, i = 0; i < e.length; i++) {
- var o = e[i],
- a = t.base ? o[0] + t.base : o[0],
- s = o[1],
- l = o[2],
- c = o[3],
- d = {
- css: s,
- media: l,
- sourceMap: c
- };
- r[a] ? r[a].parts.push(d) : n.push(r[a] = {
- id: a,
- parts: [d]
- })
- }
- return n
- }
-
- function o(e, t) {
- var n = g(e.insertInto);
- if (!n) throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");
- var r = x[x.length - 1];
- if ("top" === e.insertAt) r ? r.nextSibling ? n.insertBefore(t, r.nextSibling) : n.appendChild(t) : n.insertBefore(t, n.firstChild), x.push(t);
- else {
- if ("bottom" !== e.insertAt) throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");
- n.appendChild(t)
- }
- }
-
- function a(e) {
- if (null === e.parentNode) return !1;
- e.parentNode.removeChild(e);
- var t = x.indexOf(e);
- t >= 0 && x.splice(t, 1)
- }
-
- function s(e) {
- var t = document.createElement("style");
- return e.attrs.type = "text/css", c(t, e.attrs), o(e, t), t
- }
-
- function l(e) {
- var t = document.createElement("link");
- return e.attrs.type = "text/css", e.attrs.rel = "stylesheet", c(t, e.attrs), o(e, t), t
- }
-
- function c(e, t) {
- Object.keys(t).forEach(function (n) {
- e.setAttribute(n, t[n])
- })
- }
-
- function d(e, t) {
- var n, r, i, o;
- if (t.transform && e.css) {
- if (!(o = t.transform(e.css))) return function () {};
- e.css = o
- }
- if (t.singleton) {
- var c = b++;
- n = m || (m = s(t)), r = u.bind(null, n, c, !1), i = u.bind(null, n, c, !0)
- } else e.sourceMap && "function" == typeof URL && "function" == typeof URL.createObjectURL && "function" == typeof URL.revokeObjectURL && "function" == typeof Blob && "function" == typeof btoa ? (n = l(t), r = f.bind(null, n, t), i = function () {
- a(n), n.href && URL.revokeObjectURL(n.href)
- }) : (n = s(t), r = p.bind(null, n), i = function () {
- a(n)
- });
- return r(e),
- function (t) {
- if (t) {
- if (t.css === e.css && t.media === e.media && t.sourceMap === e.sourceMap) return;
- r(e = t)
- } else i()
- }
- }
-
- function u(e, t, n, r) {
- var i = n ? "" : r.css;
- if (e.styleSheet) e.styleSheet.cssText = w(t, i);
- else {
- var o = document.createTextNode(i),
- a = e.childNodes;
- a[t] && e.removeChild(a[t]), a.length ? e.insertBefore(o, a[t]) : e.appendChild(o)
- }
- }
-
- function p(e, t) {
- var n = t.css,
- r = t.media;
- if (r && e.setAttribute("media", r), e.styleSheet) e.styleSheet.cssText = n;
- else {
- for (; e.firstChild;) e.removeChild(e.firstChild);
- e.appendChild(document.createTextNode(n))
- }
- }
-
- function f(e, t, n) {
- var r = n.css,
- i = n.sourceMap,
- o = void 0 === t.convertToAbsoluteUrls && i;
- (t.convertToAbsoluteUrls || o) && (r = y(r)), i && (r += "\n/*# sourceMappingURL=data:application/json;base64," + btoa(unescape(encodeURIComponent(JSON.stringify(i)))) + " */");
- var a = new Blob([r], {
- type: "text/css"
- }),
- s = e.href;
- e.href = URL.createObjectURL(a), s && URL.revokeObjectURL(s)
- }
- var h = {},
- v = function (e) {
- var t;
- return function () {
- return void 0 === t && (t = e.apply(this, arguments)), t
- }
- }(function () {
- return window && document && document.all && !window.atob
- }),
- g = function (e) {
- var t = {};
- return function (n) {
- return void 0 === t[n] && (t[n] = e.call(this, n)), t[n]
- }
- }(function (e) {
- return document.querySelector(e)
- }),
- m = null,
- b = 0,
- x = [],
- y = n(16);
- e.exports = function (e, t) {
- if ("undefined" != typeof DEBUG && DEBUG && "object" != typeof document) throw new Error("The style-loader cannot be used in a non-browser environment");
- t = t || {}, t.attrs = "object" == typeof t.attrs ? t.attrs : {}, t.singleton || (t.singleton = v()), t.insertInto || (t.insertInto = "head"), t.insertAt || (t.insertAt = "bottom");
- var n = i(e, t);
- return r(n, t),
- function (e) {
- for (var o = [], a = 0; a < n.length; a++) {
- var s = n[a],
- l = h[s.id];
- l.refs--, o.push(l)
- }
- if (e) {
- r(i(e, t), t)
- }
- for (var a = 0; a < o.length; a++) {
- var l = o[a];
- if (0 === l.refs) {
- for (var c = 0; c < l.parts.length; c++) l.parts[c]();
- delete h[l.id]
- }
- }
- }
- };
- var w = function () {
- var e = [];
- return function (t, n) {
- return e[t] = n, e.filter(Boolean).join("\n")
- }
- }()
- }, function (e, t) {
- e.exports = function (e) {
- var t = "undefined" != typeof window && window.location;
- if (!t) throw new Error("fixUrls requires window.location");
- if (!e || "string" != typeof e) return e;
- var n = t.protocol + "//" + t.host,
- r = n + t.pathname.replace(/\/[^\/]*$/, "/");
- return e.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi, function (e, t) {
- var i = t.trim().replace(/^"(.*)"$/, function (e, t) {
- return t
- }).replace(/^'(.*)'$/, function (e, t) {
- return t
- });
- if (/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(i)) return e;
- var o;
- return o = 0 === i.indexOf("//") ? i : 0 === i.indexOf("/") ? n + i : r + i.replace(/^\.\//, ""), "url(" + JSON.stringify(o) + ")"
- })
- }
- }, function (e, t, n) {
- n(12), e.exports = n(1)
- }])
-});
\ No newline at end of file
+!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Valine=t():e.Valine=t()}(this,function(){return function(e){function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n={};return t.m=e,t.c=n,t.i=function(e){return e},t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=63)}([function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};n(30);var i=n(43),a=r(i),s=n(27),l=r(s),c=n(26),u=r(c),d=n(47),p=r(d),f=document,h=navigator,v=/[&<>"'`\\]/g,g=RegExp(v.source),m=/&(?:amp|lt|gt|quot|#39|#x60|#x5c);/g,y=RegExp(m.source),b={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","\\":"\"},w={};for(var x in b)w[b[x]]=x;Array.prototype.forEach||(Array.prototype.forEach=function(e,t){var n,r;if(null==this)throw new TypeError(" this is null or not defined");var o=Object(this),i=o.length>>>0;if("function"!=typeof e)throw new TypeError(e+" is not a function");for(arguments.length>1&&(n=t),r=0;r1&&"boolean"!=typeof t)throw new TypeError('"allowMissing" argument must be a boolean');for(var n=w(e),i=x("%"+(n.length>0?n[0]:"")+"%",t),a=1;a=n.length){var s=o(i,n[a]);if(!(t||n[a]in i))throw new r("base intrinsic for "+e+" exists, but the property is not available.");i=s?s.get||s.value:i[n[a]]}else i=i[n[a]];return i}},function(e,t,n){function r(e,t){return new i(t).process(e)}var o=n(7),i=n(28);t=e.exports=r,t.FilterCSS=i;for(var a in o)t[a]=o[a];"undefined"!=typeof window&&(window.filterCSS=e.exports)},function(e,t,n){"use strict";var r=n(35);e.exports=Function.prototype.bind||r},function(e,t){e.exports={indexOf:function(e,t){var n,r;if(Array.prototype.indexOf)return e.indexOf(t);for(n=0,r=e.length;n2?arguments[2]:{},i=r(t);o&&(i=a.call(i,Object.getOwnPropertySymbols(t)));for(var s=0;s=0&&"[object Function]"===r.call(e.callee)),n}},function(e,t,n){"use strict";var r=n(32),o=n(31),i=n(33),a=i("String.prototype.replace"),s=/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/,l=/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/;e.exports=function(){var e=o(r(this));return a(a(e,s,""),l,"")}},function(e,t,n){"use strict";var r=n(12),o="";e.exports=function(){return String.prototype.trim&&o.trim()===o?String.prototype.trim:r}},function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){function r(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","loop","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],sup:[],strong:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","loop","preload","src","height","width"]}}function o(e,t,n){}function i(e,t,n){}function a(e,t,n){}function s(e,t,n){}function l(e){return e.replace(S,"<").replace(O,">")}function c(e,t,n,r){if(n=v(n),"href"===t||"src"===t){if("#"===(n=_.trim(n)))return"#";if("http://"!==n.substr(0,7)&&"https://"!==n.substr(0,8)&&"mailto:"!==n.substr(0,7)&&"tel:"!==n.substr(0,4)&&"#"!==n[0]&&"/"!==n[0])return""}else if("background"===t){if(C.lastIndex=0,C.test(n))return""}else if("style"===t){if(I.lastIndex=0,I.test(n))return"";if(M.lastIndex=0,M.test(n)&&(C.lastIndex=0,C.test(n)))return"";!1!==r&&(r=r||A,n=r.process(n))}return n=g(n)}function u(e){return e.replace($,""")}function d(e){return e.replace(E,'"')}function p(e){return e.replace(j,function(e,t){return"x"===t[0]||"X"===t[0]?String.fromCharCode(parseInt(t.substr(1),16)):String.fromCharCode(parseInt(t,10))})}function f(e){return e.replace(T,":").replace(P," ")}function h(e){for(var t="",n=0,r=e.length;n/g,$=/"/g,E=/"/g,j=/([a-zA-Z0-9]*);?/gim,T=/:?/gim,P=/&newline;?/gim,C=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a)\:/gi,I=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,M=/u\s*r\s*l\s*\(.*/gi,z=//g;t.whiteList=r(),t.getDefaultWhiteList=r,t.onTag=o,t.onIgnoreTag=i,t.onTagAttr=a,t.onIgnoreTagAttr=s,t.safeAttrValue=c,t.escapeHtml=l,t.escapeQuote=u,t.unescapeQuote=d,t.escapeHtmlEntities=p,t.escapeDangerHtml5Entities=f,t.clearNonPrintableCharacter=h,t.friendlyAttrValue=v,t.escapeAttrValue=g,t.onIgnoreTagStripAll=m,t.StripTagBody=y,t.stripCommentTag=b,t.stripBlankChar=w,t.cssFilter=A,t.getDefaultCSSWhiteList=k},function(e,t,n){function r(e){var t=d.spaceIndex(e);if(-1===t)var n=e.slice(1,-1);else var n=e.slice(1,t+1);return n=d.trim(n).toLowerCase(),"/"===n.slice(0,1)&&(n=n.slice(1)),"/"===n.slice(-1)&&(n=n.slice(0,-1)),n}function o(e){return""===e.slice(0,2)}function i(e,t,n){"user strict";var i="",a=0,s=!1,l=!1,c=0,u=e.length,d="",p="";for(c=0;c"===f){i+=n(e.slice(a,s)),p=e.slice(s,c+1),d=r(p),i+=t(s,i.length,d,p,o(p)),a=c+1,s=!1;continue}if(('"'===f||"'"===f)&&"="===e.charAt(c-1)){l=f;continue}}else if(f===l){l=!1;continue}}return a0;t--){var n=e[t];if(" "!==n)return"="===n?t:-1}}function c(e){return'"'===e[0]&&'"'===e[e.length-1]||"'"===e[0]&&"'"===e[e.length-1]}function u(e){return c(e)?e.substr(1,e.length-2):e}var d=n(4),p=/[^a-zA-Z0-9_:\.\-]/gim;t.parseTag=i,t.parseAttr=a},function(e,t,n){var r,o,i;/*!
+ autosize 4.0.2
+ license: MIT
+ http://www.jacklmoore.com/autosize
+*/
+!function(n,a){o=[e,t],r=a,void 0!==(i="function"==typeof r?r.apply(t,o):r)&&(e.exports=i)}(0,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-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})},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=n(25),s=r(a),l=n(17),c=r(l),u=n(21),d=r(u),p=n(20),f=r(p),h=n(5),v=n(24),g=r(v),m=n(6),y=r(m),b=n(0),w=r(b),x=n(23),k=r(x),_=n(19),A=r(_),S=n(22),O=r(S),$={comment:"",nick:"Anonymous",mail:"",link:"",ua:w.default.ua,url:""},E="",j={cdn:"https://gravatar.loli.net/avatar/",ds:["mp","identicon","monsterid","wavatar","robohash","retro",""],params:"",hide:!1},T=["nick","mail","link"];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=w.default.extend(h.DEFAULT_CONFIG,e),(0,A.default)(e,function(n){t.i18n=(0,d.default)(e.lang||w.default.lang,e.langMode),t.config=e,e.emojiCDN&&e.emojiMaps&&(f.default.maps=e.emojiMaps,f.default.cdn=e.emojiCDN),!!e&&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=j.ds,d=r?"&q="+Math.random().toString(32).substring(2):"";j.params="?d="+(u.indexOf(n)>-1?n:"mp")+"&v=1.4.5"+d,j.hide="hide"===n,j.cdn=/^https?\:\/\//.test(o)?o:j.cdn,e.config.pageSize=isNaN(l)?10:l<1?10:l,c&&(w.default.sdkLoader("//api.ip.sb/jsonip?callback=getIP","getIP"),window.getIP=function(e){$.ip=e.ip});var p=(0,w.default)(".valine-comment-count"),f=0;!function t(n){var r=n[f++];if(r){var o=(0,w.default)(r).attr("data-xid");!!o&&e.Q(o).count().then(function(e){r.innerText=e,t(n)}).catch(function(e){r.innerText=0})}}(p),i&&C.add(AV.Object.extend("Counter"),e.config.path);var h=e.config.el||null,v=(0,w.default)(h);if(!(h=h instanceof HTMLElement?h:v[v.length-1]||null))return;e.$el=(0,w.default)(h),e.$el.addClass("v").attr("data-class","v"),j.hide&&e.$el.addClass("hide-avatar"),e.config.meta=(e.config.guest_info||e.config.meta||T).filter(function(e){return T.indexOf(e)>-1});var g=(0==e.config.meta.length?T:e.config.meta).map(function(t){var n="mail"==t?"email":"text";return T.indexOf(t)>-1?'':""}),m='0 '+e.i18n.t("comments")+'
';e.$el.html(m),e.$el.find(".cancel-reply").on("click",function(t){e.reset()});var y=e.$el.find(".vempty");e.$nodata={show:function(t){return y.html(t||e.i18n.t("sofa")).show(),e},hide:function(){return y.hide(),e}};var b=e.$el.find(".vload-bottom"),x=e.$el.find(".vload-top");e.$loading={show:function(t){return t&&x.show()||b.show(),e.$nodata.hide(),e},hide:function(){return x.hide(),b.hide(),0===e.$el.find(".vcard").length&&e.$nodata.show(),e}},e.bind()}catch(t){e.ErrorHandler(t,"init")}};var P=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,w.default)(t.el).find(".leancloud-visitors-count").text(1)}).catch(function(e){})},C={add:function(e,t){var n=this,r=(0,w.default)(".leancloud_visitors,.leancloud-visitors");if(1===r.length){var o=r[0],i=decodeURI((0,w.default)(o).attr("id")),a=(0,w.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,w.default)(o).find(".leancloud-visitors-count").text(e.get("time"))}).catch(function(e){})}else P(e,l)}).catch(function(t){101==t.code?P(e,l):n.ErrorHandler(t)})}else C.show(e,r)}else C.show(e,r)},show:function(e,t){var n=[];if(t.forEach(function(e){var t=(0,w.default)(e).find(".leancloud-visitors-count");t&&t.text(0),n.push(decodeURI((0,w.default)(e).attr("id")))}),n.length){var r=new AV.Query(e);r.containedIn("url",n),r.find().then(function(e){e.length>0&&e.forEach(function(e){var t=e.get("url"),n=e.get("time");(0,w.default)(".leancloud_visitors,.leancloud-visitors").forEach(function(e){var r=(0,w.default)(e);if(r.attr("id")==t||r.attr("data-xid")==t){var o=r.find(".leancloud-visitors-count");o&&o.text(n)}})})}).catch(function(e){})}}};o.prototype.Q=function(e){var t=this,n=arguments.length,r=t.config.clazzName;if(1==n){var o=new AV.Query(r);o.doesNotExist("rid");var i=new AV.Query(r);i.equalTo("rid","");var a=AV.Query.or(o,i);return"*"===e?a.exists("url"):a.equalTo("url",decodeURI(e)),a.addDescending("createdAt"),a.addDescending("insertedAt"),a}var s=JSON.stringify(arguments[1]).replace(/(\[|\])/g,""),l="select * from "+r+" where rid in ("+s+") order by -createdAt,-createdAt";return AV.Query.doCloudQuery(l)},o.prototype.ErrorHandler=function(e,t){var n=this;if(n.$el&&n.$loading.hide().nodata.hide(),"[object Error]"==={}.toString.call(e)){var r=e.code||"";if(r){var o=n.i18n.t("code-"+r),i=(o=="code-"+r?void 0:o)||e.message||e.error||"";101==r?n.$nodata.show():n.$el&&n.$nodata.show('Code '+r+": "+i+"
")}else n.$el&&n.$nodata.show(' '+msg+"
")}else n.$el&&n.$nodata.show(''+JSON.stringify(e)+"
")},o.prototype.installLocale=function(e,t){var n=this;return n.i18n(e,t),n},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"),a=f.default.maps,l=!1,u=function(e){var n=[];for(var r in a)a.hasOwnProperty(r)&&n.push(''+f.default.build(r)+"");t.html(n.join("")),l=!0,t.find("i").on("click",function(e){e.preventDefault(),b(i[0]," :"+(0,w.default)(this).attr("title")+":")})};e.$emoji={show:function(){return!l&&u(),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 E?(e.$emoji.hide(),o.addClass("actived"),n.html(E).show(),C()):e.$preview.hide(),e.$preview},hide:function(){return o.removeClass("actived"),n.hide().html(""),e.$preview}};var d=function(e){E=(0,k.default)(f.default.parse(e.val()||"")),o.hasClass("actived")>-1&&E!=n.html()&&n.html(E),(0,c.default)(e[0]),C()};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 p=e.config.meta,h={},v={veditor:"comment"};p.forEach(function(e){v["v"+e]=e});for(var m in v)v.hasOwnProperty(m)&&function(){var t=v[m],n=e.$el.find("."+m);h[t]=n,n.on("input change blur propertychange",function(e){"blur"===e.type&&"nick"===t&&setTimeout(function(e){!isNaN(n.val())&&(0,O.default)(n.val(),function(e){var t=e.name||n.val();(0,w.default)(".vnick").val(t),(0,w.default)(".vmail").val(e.qq+"@qq.com"),$.nick=t,$.mail=e.qq+"@qq.com",$.QQAvatar=e.pic})},200),"comment"===t?d(n):$[t]=w.default.escape(n.val().replace(/(^\s*)|(\s*$)/g,"")).substring(0,40)})}();var b=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;(0,c.default)(e)},x={no:1,size:e.config.pageSize,skip:e.config.pageSize},_=e.$el.find(".vpage");_.on("click",function(e){_.hide(),x.no++,A()});var A=function(){var t=x.size,n=x.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(x.skip=x.size,o&&o.length){var i=[];o.forEach(function(t){i.push(t.id),S(t,e.$el.find(".vcards"),!0)}),e.Q(e.config.path,i).then(function(e){(e&&e.results||[]).forEach(function(e){S(e,(0,w.default)('.vquote[data-self-id="'+e.get("rid")+'"]'))}).catch(function(e){})}),t*n0?(e.$el.find(".vcount").show().find(".vnum").text(t),A()):e.$loading.hide()}).catch(function(t){e.ErrorHandler(t,"count")});var S=function(t,n,r){var o=(0,w.default)(''),i=t.get("ua"),a="";i&&!/ja/.test(e.config.lang)&&(i=w.default.detect(i),a=''+i.browser+" "+i.version+' '+i.os+" "+i.osVersion+""),"*"===e.config.path&&(a=''+t.get("url")+"");var l=t.get("link")?/^https?\:\/\//.test(t.get("link"))?t.get("link"):"http://"+t.get("link"):"",c=l?''+t.get("nick")+"":''+t.get("nick")+"",u=j.hide?"":t.get("QQAvatar")?'':'',d=u+''+c+" "+a+'
'+(0,g.default)(t.get("insertedAt"),e.i18n)+''+e.i18n.t("reply")+'
'+(0,y.default)(t.get("comment"))+'
';o.html(d);var p=o.find(".vat");o.find("a").forEach(function(e){e&&!(0,w.default)(e).hasClass("at")&&(0,w.default)(e).attr({target:"_blank",rel:"nofollow"})}),r?n.append(o):n.prepend(o);var f=o.find(".vcontent");f&&I(f),p&&P(p,t),C()},T={},P=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="@"+w.default.escape(n.get("nick"));(0,w.default)('.vreply-wrapper[data-self-id="'+i+'"]').append(a).find(".cancel-reply").show(),T={at:w.default.escape(s)+" ",rid:o,pid:i,rmail:n.get("mail")},h.comment.attr({placeholder:s})[0].focus()})},C=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,w.default)(".v")[0],{delimiters:[{left:"$$",right:"$$",display:!0},{left:"$",right:"$",display:!1}]}),"hljs"in window&&(0,w.default)("pre code,code.hljs").forEach(function(e){hljs.highlightBlock(e)})}catch(e){}},100)},I=function(e){setTimeout(function(){e[0].offsetHeight>180&&(e.addClass("expand"),e.on("click",function(t){e.removeClass("expand")}))})};!function(t){if(t=w.default.store.get("_v_Cache")||t)for(var n in p){var r=p[n];e.$el.find(".v"+r).val(w.default.unescape(t[r])),$[r]=t[r]}}(),e.reset=function(){$.comment="",h.comment.val(""),d(h.comment),h.comment.attr("placeholder",e.config.placeholder),T={},e.$preview.hide(),e.$el.find(".vpanel").append(e.$el.find(".vwrap")),e.$el.find(".cancel-reply").hide(),E=""};var M=e.$el.find(".vsubmit"),z=function(t){if(""==E)return void h.comment[0].focus();$.comment=E,$.nick=$.nick||"Anonymous";var n=w.default.store.get("vlx");if(n){if(Date.now()/1e3-n/1e3<20)return void e.$el.find(".status-bar").text(e.i18n.t("busy")).empty(3e3)}R()},L=function(){var e=new AV.ACL;return e.setPublicReadAccess(!0),e.setPublicWriteAccess(!1),e},R=function(){w.default.store.set("vlx",Date.now()),M.attr({disabled:!0}),e.$loading.show(!0);var t=AV.Object.extend(e.config.clazzName||"Comment"),n=new t;if($.url=decodeURI(e.config.path),$.insertedAt=new Date,T.rid){var r=T.pid||T.rid;n.set("rid",T.rid),n.set("pid",r),$.comment=E.replace("",'
'+T.at+" , ")}for(var o in $)if($.hasOwnProperty(o)){var i=$[o];n.set(o,i)}n.setACL(L()),n.save().then(function(t){"Anonymous"!=$.nick&&w.default.store.set("_v_Cache",{nick:$.nick,link:$.link,mail:$.mail});var n=e.$el.find(".vnum");try{T.rid?S(t,(0,w.default)('.vquote[data-self-id="'+T.rid+'"]'),!0):(Number(n.text())?n.text(Number(n.text())+1):e.$el.find(".vcount").show().find(".vnum").text(Number(n.text())+1),S(t,e.$el.find(".vcards")),x.skip++),M.removeAttr("disabled"),e.$loading.hide(),e.reset()}catch(t){e.ErrorHandler(t,"save")}}).catch(function(t){e.ErrorHandler(t,"commitEvt")})};M.on("click",z),(0,w.default)(document).on("keydown",function(e){e=event||e;var t=e.keyCode||e.which||e.charCode;((e.ctrlKey||e.metaKey)&&13===t&&z(),9===t)&&("veditor"==(document.activeElement.id||"")&&(e.preventDefault(),b(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]+>/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];M.attr({disabled:!0});var s="![Uploading "+a.name+"...]()";b(i[0],s),B(a,function(l,u){!l&&u?(i.val(i.val().replace(s,"!["+a.name+"]("+u.data.url+")\r\n")),(0,c.default)(i[0]),++r"}};t.default=o},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(42),i=r(o),a=n(56),s=r(a),l=n(57),c=r(l),u=n(54),d=r(u),p=n(55),f=r(p),h={zh:s.default,"zh-cn":s.default,"zh-CN":s.default,"zh-TW":c.default,en:d.default,"en-US":d.default,ja:f.default,"ja-JP":f.default};t.default=function(e,t){return!h[e]&&e&&t&&(h[e]=t),new i.default({phrases:h[e||"zh"],locale:e})}},function(e,t,n){"use strict";t.__esModule=!0;var r=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e,t){var n=o.default.store.get("v_"+e);if(n)t&&t(n);else{var r="JSONcallback_"+(Date.now()+Math.round(1e3*Math.random())),i="//fly.pjax.cn/api/nic.php?qq="+e+"&callback="+r;o.default.sdkLoader(i,r),window[r]=function(n){window[r]=null,n.qq=e,n.pic="https://q2.qlogo.cn/headimg_dl?dst_uin="+e+"&spec=100",o.default.store.set("v_"+e,n),t&&t(n)}}}},function(e,t,n){"use strict";function r(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var o=n(41),i=r(o),a=n(6),s=r(a),l=n(0),c=r(l),u=n(36),d=new o.Renderer;d.code=function(e,t){return''+(!t||!hljs.getLanguage(t)?c.default.escape(e):hljs.highlight(t,e).value)+"
"},i.default.setOptions({renderer:"hljs"in window?d: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:u(e)},gfm:!0,tables:!0,breaks:!0,pedantic:!1,sanitize:!1,smartLists:!0,smartypants:!0}),t.default=function(e){return(0,s.default)((0,i.default)(e))}},function(e,t,n){"use strict";var r=function(e,t){if(!e)return"";try{var n=i(e).getTime(),r=(new Date).getTime(),a=r-n,s=Math.floor(a/864e5);if(0===s){var l=a%864e5,c=Math.floor(l/36e5);if(0===c){var u=l%36e5,d=Math.floor(u/6e4);if(0===d){var p=u%6e4;return Math.round(p/1e3)+" "+t.t("seconds")}return d+" "+t.t("minutes")}return c+" "+t.t("hours")}return s<0?t.t("now"):s<8?s+" "+t.t("days"):o(e)}catch(e){}},o=function(e){var t=a(e.getDate(),2),n=a(e.getMonth()+1,2);return a(e.getFullYear(),2)+"-"+n+"-"+t},i=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))},a=function(e,t){for(var n=e.toString();n.length>16)+(t>>16)+(n>>16)<<16|65535&n}function a(e,t){return e<>>32-t}function s(e,t,n,r,o,s){return i(a(i(i(t,e),i(r,s)),o),n)}function l(e,t,n,r,o,i,a){return s(t&n|~t&r,e,t,o,i,a)}function c(e,t,n,r,o,i,a){return s(t&r|n&~r,e,t,o,i,a)}function u(e,t,n,r,o,i,a){return s(t^n^r,e,t,o,i,a)}function d(e,t,n,r,o,i,a){return s(n^(t|~r),e,t,o,i,a)}function p(e,t){e[t>>5]|=128<>>9<<4)]=t;var n,r,o,a,s,p=1732584193,f=-271733879,h=-1732584194,v=271733878;for(n=0;n>5]>>>t%32&255);return n}function h(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t>5]|=(255&e.charCodeAt(t/8))<16&&(o=p(o,8*e.length)),n=0;n<16;n+=1)i[n]=909522486^o[n],a[n]=1549556828^o[n];return r=p(i.concat(h(t)),512+8*t.length),f(p(a.concat(r),640))}function m(e){var t,n,r="0123456789abcdef",o="";for(n=0;n>>4&15)+r.charAt(15&t);return o}function y(e){return unescape(encodeURIComponent(e))}function b(e){return v(y(e))}function w(e){return m(b(e))}function x(e,t){return g(y(e),y(t))}function k(e,t){return m(x(e,t))}function _(e,t,n){return t?n?x(t,e):k(t,e):n?b(e):w(e)}void 0!==(r=function(){return _}.call(t,n,t,e))&&(e.exports=r)}()},function(e,t,n){"use strict";t.__esModule=!0;var r=function(e){e=e||navigator.userAgent;var t={},n={Trident:e.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=3&&(i=n),"[object Array]"===o.call(e)?a(e,t,i):"string"==typeof e?s(e,t,i):l(e,t,i)};e.exports=c},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=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)))},s=Math.max(0,t.length-i.length),l=[],c=0;c'+e+""}var t=function(e,t){return t={exports:{}},e(t,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=/[\u4E00-\u9FFF\u3400-\u4dbf\uf900-\ufaff\u3040-\u309f\uac00-\ud7af\u0400-\u04FF]+|\w+/,c=/,u=new RegExp("("+l.source+"|"+c.source+")|("+t().source+")","gmi");return r.replace(u,function(t,n,r){if(r)return e(r);if("<"===n)return"<";var o;s[n]?o=s[n]:(o=i[a],s[n]=o);var l=''+n+"";return a=++a%i.length,l})}})},function(e,t,n){"use strict";(function(t){var r=t.Symbol,o=n(38);e.exports=function(){return"function"==typeof r&&("function"==typeof Symbol&&("symbol"==typeof r("foo")&&("symbol"==typeof Symbol("bar")&&o())))}}).call(t,n(14))},function(e,t,n){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;e[t]=42;for(t in e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var r=Object.getOwnPropertySymbols(e);if(1!==r.length||r[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},function(e,t,n){"use strict";var r=n(3);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=function(e){try{return!i(e)&&(r.call(e),!0)}catch(e){return!1}},s=Object.prototype.toString,l="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(l)return a(e);if(i(e))return!1;var t=s.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,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function l(e){return e.replace(/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/gi,function(e,t){return t=t.toLowerCase(),"colon"===t?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""})}function c(e,t){return e=e.source||e,t=t||"",{replace:function(t,n){return n=n.source||n,n=n.replace(/(^|[^\[])\^/g,"$1"),e=e.replace(t,n),this},getRegex:function(){return new RegExp(e,t)}}}function u(e,t){return 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 d(){}function p(e){for(var t,n,r=1;rt)n.splice(t);else for(;n.lengthAn error occurred:
"+s(e.message+"",!0)+"
";throw e}}var v={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:d,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,nptable:d,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( *)(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\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:d,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,text:/^[^\n]+/};v._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,v._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=//,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*$)|\\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,u,d,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"):[]},s.header.length===s.align.length)){for(e=e.substring(o[0].length),c=0;c ?/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),i=o[2],p=i.length>1,this.tokens.push({type:"list_start",ordered:p,start:p?+i:""}),o=o[0].match(this.rules.item),n=!1,d=o.length,c=0;c1&&a.length>1||(e=o.slice(c+1).join("\n")+e,c=d-1)),r=n||/\n\n(?!\s*$)/.test(s),c!==d-1&&(n="\n"===s.charAt(s.length-1),r||(r=n)),h=/^\[[ xX]\] /.test(s),g=void 0,h&&(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)),u=o[1].toLowerCase().replace(/\s+/g," "),this.tokens.links[u]||(this.tokens.links[u]={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"):[]},s.header.length===s.align.length)){for(e=e.substring(o[0].length),c=0;c?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:d,tag:"^comment|^[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\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:d,text:/^[\s\S]+?(?=[\\?@\[\]\\^_`{|}~])/g,g._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,g._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]?(n=s(this.mangle(a[1])),o="mailto:"+n):(n=s(a[1]),o=n),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&&/^/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),t?(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]?(n=s(a[0]),o="mailto:"+n):(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.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?''+(n?e:s(e,!0))+"
\n":""+(n?e:s(e,!0))+"
"},o.prototype.blockquote=function(e){return"\n"+e+"
\n"},o.prototype.html=function(e){return e},o.prototype.heading=function(e,t,n){return this.options.headerIds?"\n":""+e+"\n"},o.prototype.hr=function(){return this.options.xhtml?"
\n":"
\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""+e+"\n"},o.prototype.checkbox=function(e){return" "},o.prototype.paragraph=function(e){return""+e+"
\n"},o.prototype.table=function(e,t){return t&&(t=""+t+""),"\n"},o.prototype.tablerow=function(e){return"\n"+e+"
\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""+e+""},o.prototype.em=function(e){return""+e+""},o.prototype.codespan=function(e){return""+e+"
"},o.prototype.br=function(){return this.options.xhtml?"
":"
"},o.prototype.del=function(e){return""+e+""},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=u(this.options.baseUrl,e));try{e=encodeURI(e).replace(/%25/g,"%")}catch(e){return n}var o='"+n+""},o.prototype.image=function(e,t,n){this.options.baseUrl&&!y.test(e)&&(e=u(this.options.baseUrl,e));var r='":">"},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=12&&t<=14)?1:2},b={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:y,chinese:function(){return 0},croatian:y,french:function(e){return e>1?1:0},german:function(e){return 1!==e?1:0},russian:y,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"]}},w=/%\{(.*?)\}/g;c.prototype.locale=function(e){return e&&(this.currentLocale=e),this.currentLocale},c.prototype.extend=function(e,t){u(e,function(e,n){var r=t?t+"."+n:n;"object"==typeof e?this.extend(e,r):this.phrases[r]=e},this)},c.prototype.unset=function(e,t){"string"==typeof e?delete this.phrases[e]:u(e,function(e,n){var r=t?t+"."+n:n;"object"==typeof e?this.unset(e,r):delete this.phrases[r]},this)},c.prototype.clear=function(){this.phrases={}},c.prototype.replace=function(e){this.clear(),this.extend(e)},c.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){var i=this.onMissingKey;r=i(e,o,this.currentLocale,this.tokenRegex,this.pluralRules)}else this.warn('Missing translation for key: "'+e+'"'),r=e;return"string"==typeof n&&(r=l(n,o,this.currentLocale,this.tokenRegex,this.pluralRules)),r},c.prototype.has=function(e){return p(this.phrases,e)},c.transformPhrase=function(e,t,n){return l(e,t,n)},e.exports=c},function(e,t,n){"use strict";function r(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}/*
+object-assign
+(c) Sindre Sorhus
+@license MIT
+*/
+var o=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map(function(e){return t[e]}).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach(function(e){r[e]=e}),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,l=r(e),c=1;c0&&!o.call(e,0))for(var f=0;f0)for(var v=0;v1)for(var n=1;n
+ * https://github.com/jaywcjlove/store.js
+ *
+ * Licensed under the MIT license.
+ */
+var u=window.localStorage;u=function(e){var t="_Is_Incognit";try{e.setItem(t,"yes")}catch(t){if("QuotaExceededError"===t.name){var n=function(){};e.__proto__={setItem:n,getItem:n,removeItem:n,clear:n}}}finally{"yes"===e.getItem(t)&&e.removeItem(t)}return e}(u),l.prototype={set:function(e,t){if(e&&!r(e))u.setItem(e,o(t));else if(r(e))for(var n in e)this.set(n,e[n]);return this},get:function(e){if(!e){var t={};return this.forEach(function(e,n){return t[e]=n}),t}if("?"===e.charAt(0))return this.has(e.substr(1));var n=arguments;if(n.length>1){for(var r={},o=0,a=n.length;o-1&&(n[t[r]]=this.get(t[r]));return n}};var d=null;for(var p in l.prototype)c[p]=l.prototype[p];t.default=c},function(e,t,n){"use strict";var r=n(10),o=n(9),i=n(12),a=n(13),s=n(49),l=r(a());o(l,{getPolyfill:a,implementation:i,shim:s}),e.exports=l},function(e,t,n){"use strict";var r=n(9),o=n(13);e.exports=function(){var e=o();return r(String.prototype,{trim:e},{trim:function(){return String.prototype.trim!==e}}),e}},function(e,t,n){"use strict";(function(t){var n="production"!==t.env.NODE_ENV,r=function(){};if(n){var o=function(e,t){var n=arguments.length;t=new Array(n>1?n-1:0);for(var r=1;r2?r-2:0);for(var i=2;i";var b=o(l),w=i[n],x=d(b.html,function(e,t){var o=-1!==p.indexOf(w,e),i=c(n,e,t,o);if(!r(i))return i;if(o)return t=h(n,e,t,g),t?e+'="'+t+'"':e;var i=f(n,e,t,o);return r(i)?void 0:i}),l="<"+n;return x&&(l+=" "+x),b.closing&&(l+=" /"),l+=">"}var y=s(n,l,m);return r(y)?v(l):y},v);return m&&(y=m.remove(y)),y},e.exports=a},function(e,t){e.exports={smile:"e3/2018new_weixioa02_org.png",lovely:"09/2018new_keai_org.png",happy:"1e/2018new_taikaixin_org.png",clap:"6e/2018new_guzhang_thumb.png",whee:"33/2018new_xixi_thumb.png",haha:"8f/2018new_haha_thumb.png","laugh and cry":"4a/2018new_xiaoku_thumb.png",wink:"43/2018new_jiyan_org.png",greddy:"fa/2018new_chanzui_org.png",awkward:"a3/2018new_heixian_thumb.png",sweat:"28/2018new_han_org.png","pick nose":"9a/2018new_wabi_thumb.png",hum:"7c/2018new_heng_thumb.png",angry:"f6/2018new_nu_thumb.png",grievance:"a5/2018new_weiqu_thumb.png",poor:"96/2018new_kelian_org.png",disappoint:"aa/2018new_shiwang_thumb.png",sad:"ee/2018new_beishang_org.png",tear:"6e/2018new_leimu_org.png","no way":"83/2018new_kuxiao_org.png",shy:"c1/2018new_haixiu_org.png",dirt:"10/2018new_wu_thumb.png","love you":"f6/2018new_aini_org.png",kiss:"2c/2018new_qinqin_thumb.png",amorousness:"9d/2018new_huaxin_org.png",longing:"c9/2018new_chongjing_org.png",desire:"3e/2018new_tianping_thumb.png","bad laugh":"4d/2018new_huaixiao_org.png",blackness:"9e/2018new_yinxian_org.png","laugh without word":"2d/2018new_xiaoerbuyu_org.png",titter:"71/2018new_touxiao_org.png",cool:"c4/2018new_ku_org.png","not easy":"aa/2018new_bingbujiandan_thumb.png",think:"30/2018new_sikao_org.png",question:"b8/2018new_ningwen_org.png","no idea":"2a/2018new_wenhao_thumb.png",dizzy:"07/2018new_yun_thumb.png",bomb:"a2/2018new_shuai_thumb.png",bone:"a1/2018new_kulou_thumb.png","be quiet":"b0/2018new_xu_org.png","shut up":"62/2018new_bizui_org.png",stupid:"dd/2018new_shayan_org.png","surprise ":"49/2018new_chijing_org.png",vomit:"08/2018new_tu_org.png",cold:"40/2018new_kouzhao_thumb.png",sick:"3b/2018new_shengbing_thumb.png",bye:"fd/2018new_baibai_thumb.png","look down on":"da/2018new_bishi_org.png","white eye":"ef/2018new_landelini_org.png","left hum":"43/2018new_zuohengheng_thumb.png","right hum":"c1/2018new_youhengheng_thumb.png",crazy:"17/2018new_zhuakuang_org.png","scold ":"87/2018new_zhouma_thumb.png","hit on face":"cb/2018new_dalian_org.png",wow:"ae/2018new_ding_org.png",fan:"86/2018new_hufen02_org.png",money:"a2/2018new_qian_thumb.png",yawn:"55/2018new_dahaqian_org.png",sleepy:"3c/2018new_kun_thumb.png",sleep:"e2/2018new_shuijiao_thumb.png","watermelon ":"01/2018new_chigua_thumb.png",doge:"a1/2018new_doge02_org.png",dog:"22/2018new_erha_org.png",cat:"7b/2018new_miaomiao_thumb.png",thumb:"e6/2018new_zan_org.png",good:"8a/2018new_good_org.png",ok:"45/2018new_ok_org.png",yeah:"29/2018new_ye_thumb.png","shack hand":"e9/2018new_woshou_thumb.png",bow:"e7/2018new_zuoyi_org.png",come:"42/2018new_guolai_thumb.png",punch:"86/2018new_quantou_thumb.png"}},function(e,t){e.exports={nick:"NickName",mail:"E-Mail",link:"Website(http://)",sofa:"No comment yet.",submit:"Submit",reply:"Reply",cancelReply:"Cancel reply",comments:"Comments",cancel:"Cancel",confirm:"Confirm",continue:"Continue",more:"Load More...",preview:"Preview",emoji:"Emoji",expand:"See more....",seconds:"seconds ago",minutes:"minutes ago",hours:"hours ago",days:"days ago",now:"just now",uploading:"Uploading ...",uploadDone:"Upload completed!",busy:"Submit is busy, please wait...","code-99":"Initialization failed, Please check the `el` element in the init method.","code-100":"Initialization failed, Please check your appId and appKey.","code-140":"The total number of API calls today has exceeded the development version limit.","code-401":"Unauthorized operation, Please check your appId and appKey.","code-403":"Access denied by API domain white list, Please check your security domain."}},function(e,t){e.exports={nick:"ニックネーム",mail:"メールアドレス",link:"サイト(http://)",sofa:"コメントしましょう~",submit:"提出する",reply:"返信する",cancelReply:"キャンセル",comments:"コメント",cancel:"キャンセル",confirm:"確認する",continue:"继续",more:"さらに読み込む...",preview:"プレビュー",emoji:"絵文字",expand:"もっと見る",seconds:"秒前",minutes:"分前",hours:"時間前",days:"日前",now:"たっだ今",uploading:"アップロード中...",uploadDone:"アップロードが完了しました!",busy:"20 秒間隔で提出してください ...","code-99":"ロードエラーです。initにある`el`エレメントを確認ください.","code-100":"ロードエラーです。AppIdとAppKeyを確認ください.","code-140":"今日のAPIコールの総数が開発バージョンの上限を超えた.","code-401":"権限が制限されています。AppIdとAppKeyを確認ください.","code-403":"アクセスがAPIなどに制限されました、ドメイン名のセキュリティ設定を確認ください"}},function(e,t){e.exports={nick:"昵称",mail:"邮箱",link:"网址(http://)",sofa:"来发评论吧~",submit:"提交",reply:"回复",cancelReply:"取消回复",comments:"评论",cancel:"取消",confirm:"确认",continue:"继续",more:"加载更多...",preview:"预览",emoji:"表情",expand:"查看更多...",seconds:"秒前",minutes:"分钟前",hours:"小时前",days:"天前",now:"刚刚",uploading:"正在传输...",uploadDone:"传输完成!",busy:"操作频繁,请稍候再试...","code-99":"初始化失败,请检查init中的`el`元素.","code-100":"初始化失败,请检查你的AppId和AppKey.","code-140":"今日 API 调用总次数已超过开发版限制.","code-401":"未经授权的操作,请检查你的AppId和AppKey.","code-403":"访问被API域名白名单拒绝,请检查你的安全域名设置."}},function(e,t){e.exports={nick:"暱稱",mail:"郵箱",link:"網址(http://)",sofa:"來發評論吧~",submit:"提交",reply:"回覆",cancelReply:"取消回覆",comments:"評論",cancel:"取消",confirm:"確認",continue:"繼續",more:"加載更多...",preview:"預覽",emoji:"表情",expand:"查看更多...",seconds:"秒前",minutes:"分鐘前",hours:"小時前",days:"天前",now:"剛剛",uploading:"正在上傳...",uploadDone:"上傳完成!",busy:"操作頻繁,請稍候再試...","code-99":"初始化失敗,請檢查init中的`el`元素.","code-100":"初始化失敗,請檢查你的AppId和AppKey.","code-140":"今日 API 調用總次數已超過開發版限制.","code-401":"未經授權的操作,請檢查你的AppId和AppKey.","code-403":"訪問被API域名白名單拒絕,請檢查你的安全域名設置."}},function(e,t,n){var r=n(59);"string"==typeof r&&(r=[[e.i,r,""]]);var o={};o.transform=void 0;n(61)(r,o);r.locals&&(e.exports=r.locals)},function(e,t,n){t=e.exports=n(60)(!1),t.push([e.i,'.v[data-class=v]{font-size:16px;text-align:left}.v[data-class=v] *{-webkit-box-sizing:border-box;box-sizing:border-box;line-height:1.75}.v[data-class=v] p,.v[data-class=v] pre code{color:#555}.v[data-class=v] .vsys,.v[data-class=v] .vtime{color:#b3b3b3}.v[data-class=v] .text-right{text-align:right}.v[data-class=v] .text-center{text-align:center}.v[data-class=v] hr{margin:.825em 0;border-color:#f6f6f6;border-style:dashed}.v[data-class=v].hide-avatar .vimg{display:none}.v[data-class=v] a{position:relative;cursor:pointer;color:#1abc9c;text-decoration:none;display:inline-block}.v[data-class=v] a:hover{color:#d7191a}.v[data-class=v] code,.v[data-class=v] pre{background-color:#f8f8f8;padding:.2em .4em;border-radius:3px;font-size:85%;margin:0;font-family:Source Code Pro,courier new,Input Mono,PT Mono,SFMono-Regular,Consolas,Monaco,Menlo,PingFang SC,Liberation Mono,Microsoft YaHei,Courier,monospace}.v[data-class=v] pre{padding:10px;overflow:auto;line-height:1.45}.v[data-class=v] pre code{padding:0;background:transparent;white-space:pre-wrap;word-break:keep-all}.v[data-class=v] blockquote{color:#666;margin:.5em 0;padding:0 0 0 1em;border-left:8px solid hsla(0,0%,93%,.5)}.v[data-class=v] .vinput{border:none;resize:none;outline:none;padding:10px 5px;max-width:100%;font-size:.775em}.v[data-class=v] input[type=checkbox],.v[data-class=v] input[type=radio]{display:inline-block;vertical-align:middle;margin-top:-2px}.v[data-class=v] .vicon{cursor:pointer;display:inline-block;overflow:hidden;fill:#666;vertical-align:middle}.v[data-class=v] .vicon+.vicon{margin-left:10px}.v[data-class=v] .vicon.actived{fill:#66b1ff}.v[data-class=v] .vrow{font-size:0;padding:10px 0}.v[data-class=v] .vrow .vcol{display:inline-block;vertical-align:middle;font-size:14px}.v[data-class=v] .vrow .vcol.vcol-20{width:20%}.v[data-class=v] .vrow .vcol.vcol-30{width:30%}.v[data-class=v] .vrow .vcol.vcol-40{width:40%}.v[data-class=v] .vrow .vcol.vcol-50{width:50%}.v[data-class=v] .vrow .vcol.vcol-60{width:60%}.v[data-class=v] .vrow .vcol.vcol-70{width:70%}.v[data-class=v] .vrow .vcol.vcol-80{width:80%}.v[data-class=v] .vrow .vcol.vctrl{font-size:12px}.v[data-class=v] .emoji,.v[data-class=v] .vemoji{max-height:28px;vertical-align:middle;margin:0 1px;display:inline-block}.v[data-class=v] .vwrap{border:1px solid #f0f0f0;border-radius:4px;margin-bottom:10px;overflow:hidden;position:relative;padding:10px}.v[data-class=v] .vwrap input{background:transparent}.v[data-class=v] .vwrap .vedit{position:relative;padding-top:10px}.v[data-class=v] .vwrap .cancel-reply-btn{position:absolute;right:5px;top:5px;cursor:pointer}.v[data-class=v] .vwrap .vemojis{display:none;font-size:18px;text-align:justify;max-height:145px;overflow:auto;padding-bottom:10px;-webkit-box-shadow:0 0 1px #f0f0f0;box-shadow:0 0 1px #f0f0f0}.v[data-class=v] .vwrap .vemojis i{font-style:normal;padding-top:7px;width:36px;cursor:pointer;text-align:center;display:inline-block;vertical-align:middle}.v[data-class=v] .vwrap .vpreview{padding:7px;-webkit-box-shadow:0 0 1px #f0f0f0;box-shadow:0 0 1px #f0f0f0}.v[data-class=v] .vwrap .vpreview frame,.v[data-class=v] .vwrap .vpreview iframe,.v[data-class=v] .vwrap .vpreview img{max-width:100%;border:none}.v[data-class=v] .vwrap .vheader .vinput{width:33.33%;border-bottom:1px dashed #dedede}.v[data-class=v] .vwrap .vheader.item2 .vinput{width:50%}.v[data-class=v] .vwrap .vheader.item1 .vinput{width:100%}.v[data-class=v] .vwrap .vheader .vinput:focus{border-bottom-color:#eb5055}@media screen and (max-width:520px){.v[data-class=v] .vwrap .vheader.item2 .vinput,.v[data-class=v] .vwrap .vheader .vinput{width:100%}}.v[data-class=v] .vcopy{color:#999;font-size:.75em;padding:.5em 0}.v[data-class=v] .vcopy a{font-size:.75em}.v[data-class=v] .vcount{padding:5px;font-weight:600;font-size:1.25em}.v[data-class=v] ol,.v[data-class=v] ul{padding:0;margin-left:1.25em}.v[data-class=v] .txt-center{text-align:center}.v[data-class=v] .txt-right{text-align:right}.v[data-class=v] .pd5{padding:5px}.v[data-class=v] .pd10{padding:10px}.v[data-class=v] .veditor{width:100%;min-height:8.75em;font-size:.875em;background:transparent;resize:vertical;-webkit-transition:all .25s ease;transition:all .25s ease}.v[data-class=v] .vbtn{-webkit-transition-duration:.4s;transition-duration:.4s;text-align:center;color:#313131;border:1px solid #ededed;border-radius:.3em;display:inline-block;background:#ededed;margin-bottom:0;font-weight:400;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;white-space:nowrap;padding:.5em 1.25em;font-size:.875em;line-height:1.42857143;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;outline:none}.v[data-class=v] .vbtn+.vbtn{margin-left:1.25em}.v[data-class=v] .vbtn:active,.v[data-class=v] .vbtn:hover{color:#3090e4;border-color:#3090e4}.v[data-class=v] .vbtn:disabled{border-color:#e1e1e1;color:#e1e1e1;background-color:#fdfafa;cursor:not-allowed}.v[data-class=v] .vempty{padding:1.25em;text-align:center;color:#999}.v[data-class=v] .vsys{display:inline-block;padding:.2em .5em;font-size:.75em;border-radius:.2em;margin-right:.3em}@media screen and (max-width:520px){.v[data-class=v] .vsys{display:none}}.v[data-class=v] .vcards{width:100%}.v[data-class=v] .vcards .vcard{padding-top:1.25em;position:relative;display:block}.v[data-class=v] .vcards .vcard:after{content:"";clear:both;display:block}.v[data-class=v] .vcards .vcard .vimg{width:3.125em;height:3.125em;float:left;border-radius:50%;margin-right:.7525em;border:1px solid #f5f5f5;padding:.125em}@media screen and (max-width:720px){.v[data-class=v] .vcards .vcard .vimg{width:2.5em;height:2.5em}}.v[data-class=v] .vcards .vcard .vhead{line-height:1.5;margin-top:0}.v[data-class=v] .vcards .vcard .vhead .vnick{position:relative;font-size:.875em;font-weight:500;margin-right:.875em;cursor:pointer;text-decoration:none;display:inline-block}.v[data-class=v] .vcards .vcard .vhead .vnick:hover{color:#d7191a}.v[data-class=v] .vcards .vcard .vh{overflow:hidden;padding-bottom:.5em;border-bottom:1px dashed #f5f5f5}.v[data-class=v] .vcards .vcard .vh .vtime{font-size:.75em;margin-right:.875em}.v[data-class=v] .vcards .vcard .vh .vmeta{line-height:1;position:relative}.v[data-class=v] .vcards .vcard .vh .vmeta .vat{font-size:.8125em;color:#ef2f11;cursor:pointer;float:right}.v[data-class=v] .vcards .vcard:last-child .vh{border-bottom:none}.v[data-class=v] .vcards .vcard .vcontent{word-wrap:break-word;word-break:break-all;text-align:justify;font-size:.875em;line-height:2;position:relative;margin-bottom:.75em;padding-top:.625em}.v[data-class=v] .vcards .vcard .vcontent frame,.v[data-class=v] .vcards .vcard .vcontent iframe,.v[data-class=v] .vcards .vcard .vcontent img{max-width:100%;border:none}.v[data-class=v] .vcards .vcard .vcontent.expand{cursor:pointer;max-height:8em;overflow:hidden}.v[data-class=v] .vcards .vcard .vcontent.expand:before{display:block;content:"";position:absolute;width:100%;left:0;top:0;bottom:3.15em;background:-webkit-gradient(linear,left top,left bottom,from(hsla(0,0%,100%,0)),to(hsla(0,0%,100%,.9)));background:linear-gradient(180deg,hsla(0,0%,100%,0),hsla(0,0%,100%,.9));z-index:999}.v[data-class=v] .vcards .vcard .vcontent.expand:after{display:block;content:attr(data-expand);text-align:center;color:#828586;position:absolute;width:100%;height:3.15em;line-height:3.15em;left:0;bottom:0;z-index:999;background:hsla(0,0%,100%,.9)}.v[data-class=v] .vcards .vcard .vquote{padding-left:1em;border-left:1px dashed hsla(0,0%,93%,.5)}.v[data-class=v] .vcards .vcard .vquote .vimg{width:2.225em;height:2.225em}.v[data-class=v] .vpage .vmore{margin:1em 0}.v[data-class=v] .clear{content:"";display:block;clear:both}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes pulse{50%{background:#dcdcdc}}@keyframes pulse{50%{background:#dcdcdc}}.v[data-class=v] .vspinner{width:22px;height:22px;display:inline-block;border:6px double #a0a0a0;border-top-color:transparent;border-bottom-color:transparent;border-radius:50%;-webkit-animation:spin 1s infinite linear;animation:spin 1s infinite linear;position:relative;vertical-align:middle;margin:0 5px}.night .v .vsys,.night .v .vtime,.night .v input,.night .v p,.night .v textarea,.theme__dark .v .vsys,.theme__dark .v .vtime,.theme__dark .v input,.theme__dark .v p,.theme__dark .v textarea,[data-theme=dark] .v .vsys,[data-theme=dark] .v .vtime,[data-theme=dark] .v input,[data-theme=dark] .v p,[data-theme=dark] .v textarea{color:#929298}.night .v code,.night .v pre,.night .v pre code,.theme__dark .v code,.theme__dark .v pre,.theme__dark .v pre code,[data-theme=dark] .v code,[data-theme=dark] .v pre,[data-theme=dark] .v pre code{color:#929298;background-color:#151414}.night .v .vicon,.theme__dark .v .vicon,[data-theme=dark] .v .vicon{fill:#929298}.night .v .vicon.actived,.theme__dark .v .vicon.actived,[data-theme=dark] .v .vicon.actived{fill:#66b1ff}.night .v .vbtn,.theme__dark .v .vbtn,[data-theme=dark] .v .vbtn{color:#929298;background:transparent;border-color:#929290}.night .v .vbtn:hover,.theme__dark .v .vbtn:hover,[data-theme=dark] .v .vbtn:hover{color:#66b1ff}.night .v a:hover,.theme__dark .v a:hover,[data-theme=dark] .v a:hover{color:#d7191a}.night .v .vcards .vcard .vcontent.expand:before,.theme__dark .v .vcards .vcard .vcontent.expand:before,[data-theme=dark] .v .vcards .vcard .vcontent.expand:before{background:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.3)),to(rgba(0,0,0,.7)));background:linear-gradient(180deg,rgba(0,0,0,.3),rgba(0,0,0,.7))}.night .v .vcards .vcard .vcontent.expand:after,.theme__dark .v .vcards .vcard .vcontent.expand:after,[data-theme=dark] .v .vcards .vcard .vcontent.expand:after{background:rgba(0,0,0,.7)}@media (prefers-color-scheme:dark){.v .vsys,.v .vtime,.v input,.v p,.v textarea{color:#929298}.v code,.v pre,.v pre code{color:#929298;background-color:#151414}.v .vicon{fill:#929298}.v .vicon.actived{fill:#66b1ff}.v .vbtn{color:#929298;background:transparent;border-color:#929290}.v .vbtn:hover{color:#66b1ff}.v a:hover{color:#d7191a}.v .vcards .vcard .vcontent.expand:before{background:-webkit-gradient(linear,left top,left bottom,from(rgba(0,0,0,.3)),to(rgba(0,0,0,.7)));background:linear-gradient(180deg,rgba(0,0,0,.3),rgba(0,0,0,.7))}.v .vcards .vcard .vcontent.expand:after{background:rgba(0,0,0,.7)}}',""])},function(e,t){function n(e,t){var n=e[1]||"",o=e[3];if(!o)return n;if(t&&"function"==typeof btoa){var i=r(o);return[n].concat(o.sources.map(function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"})).concat([i]).join("\n")}return[n].join("\n")}function r(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o=0&&b.splice(t,1)}function s(e){var t=document.createElement("style");return e.attrs.type="text/css",c(t,e.attrs),i(e,t),t}function l(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",c(t,e.attrs),i(e,t),t}function c(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function u(e,t){var n,r,o,i;if(t.transform&&e.css){if(!(i=t.transform(e.css)))return function(){};e.css=i}if(t.singleton){var c=y++;n=m||(m=s(t)),r=d.bind(null,n,c,!1),o=d.bind(null,n,c,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=f.bind(null,n,t),o=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=p.bind(null,n),o=function(){a(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else o()}}function d(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=x(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function p(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function f(e,t,n){var r=n.css,o=n.sourceMap,i=void 0===t.convertToAbsoluteUrls&&o;(t.convertToAbsoluteUrls||i)&&(r=w(r)),o&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var h={},v=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),g=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e.call(this,n)),t[n]}}(function(e){return document.querySelector(e)}),m=null,y=0,b=[],w=n(62);e.exports=function(e,t){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");t=t||{},t.attrs="object"==typeof t.attrs?t.attrs:{},t.singleton||(t.singleton=v()),t.insertInto||(t.insertInto="head"),t.insertAt||(t.insertAt="bottom");var n=o(e,t);return r(n,t),function(e){for(var i=[],a=0;a