diff --git a/js/Valine.min.js b/js/Valine.min.js index f2bc9b4b72069c423e2a035b417c7ec3dfcd4cfb..3d9fefa56e6d26342dce252d69519e612793d20e 100644 --- a/js/Valine.min.js +++ b/js/Valine.min.js @@ -1,2 +1,2 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Valine",[],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="/dist/",t(t.s=11)}([function(e,t,n){function r(e,t){return new o(t).process(e)}var i=n(2),o=n(14);t=e.exports=r,t.FilterCSS=o;for(var a in i)t[a]=i[a];"undefined"!=typeof window&&(window.filterCSS=e.exports)},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;n/g,C=/"/g,T=/"/g,L=/&#([a-zA-Z0-9]*);?/gim,q=/:?/gim,I=/&newline;?/gim,$=/((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,R=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,E=/u\s*r\s*l\s*\(.*/gi,j=//g;t.whiteList=r(),t.getDefaultWhiteList=r,t.onTag=i,t.onIgnoreTag=o,t.onTagAttr=a,t.onIgnoreTagAttr=s,t.safeAttrValue=c,t.escapeHtml=l,t.escapeQuote=u,t.unescapeQuote=p,t.escapeHtmlEntities=d,t.escapeDangerHtml5Entities=h,t.clearNonPrintableCharacter=f,t.friendlyAttrValue=g,t.escapeAttrValue=m,t.onIgnoreTagStripAll=v,t.StripTagBody=b,t.stripCommentTag=y,t.stripBlankChar=x,t.cssFilter=S,t.getDefaultCSSWhiteList=k},function(e,t,n){function r(e){var t=p.spaceIndex(e);if(-1===t)var n=e.slice(1,-1);else var n=e.slice(1,t+1);return n=p.trim(n).toLowerCase(),"/"===n.slice(0,1)&&(n=n.slice(1)),"/"===n.slice(-1)&&(n=n.slice(0,-1)),n}function i(e){return""===h){o+=n(e.slice(a,s)),d=e.slice(s,c+1),p=r(d),o+=t(s,o.length,p,d,i(d)),a=c+1,s=!1;continue}if(('"'===h||"'"===h)&&"="===e.charAt(c-1)){l=h;continue}}else if(h===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 p=n(1),d=/[^a-zA-Z0-9_:\.\-]/gim;t.parseTag=o,t.parseAttr=a},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<>>32-t}function s(e,t,n,r,i,s){return o(a(o(o(t,e),o(r,s)),i),n)}function l(e,t,n,r,i,o,a){return s(t&n|~t&r,e,t,i,o,a)}function c(e,t,n,r,i,o,a){return s(t&r|n&~r,e,t,i,o,a)}function u(e,t,n,r,i,o,a){return s(t^n^r,e,t,i,o,a)}function p(e,t,n,r,i,o,a){return s(n^(t|~r),e,t,i,o,a)}function d(e,t){e[t>>5]|=128<>>9<<4)]=t;var n,r,i,a,s,d=1732584193,h=-271733879,f=-1732584194,g=271733878;for(n=0;n>5]>>>t%32&255);return n}function f(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t>5]|=(255&e.charCodeAt(t/8))<16&&(i=d(i,8*e.length)),n=0;n<16;n+=1)o[n]=909522486^i[n],a[n]=1549556828^i[n];return r=d(o.concat(f(t)),512+8*t.length),h(d(a.concat(r),640))}function v(e){var t,n,r="0123456789abcdef",i="";for(n=0;n>>4&15)+r.charAt(15&t);return i}function b(e){return unescape(encodeURIComponent(e))}function y(e){return g(b(e))}function x(e){return v(y(e))}function w(e,t){return m(b(e),b(t))}function k(e,t){return v(w(e,t))}function A(e,t,n){return t?n?w(t,e):k(t,e):n?y(e):x(e)}void 0!==(r=function(){return A}.call(t,n,t,e))&&(e.exports=r)}()},function(e,t,n){(function(t){!function(t){"use strict";function n(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||b.defaults,this.rules=y.normal,this.options.pedantic?this.rules=y.pedantic:this.options.gfm&&(this.options.tables?this.rules=y.tables:this.rules=y.gfm)}function r(e,t){if(this.options=t||b.defaults,this.links=e,this.rules=x.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=x.pedantic:this.options.gfm&&(this.options.breaks?this.rules=x.breaks:this.rules=x.gfm)}function i(e){this.options=e||b.defaults}function o(){}function a(e){this.tokens=[],this.token=null,this.options=e||b.defaults,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options,this.slugger=new s}function s(){this.seen={}}function l(e,t){if(t){if(l.escapeTest.test(e))return e.replace(l.escapeReplace,function(e){return l.replacements[e]})}else if(l.escapeTestNoEncode.test(e))return e.replace(l.escapeReplaceNoEncode,function(e){return l.replacements[e]});return e}function c(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 u(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 p(e,t,n){if(e){try{var r=decodeURIComponent(c(n)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!k.test(n)&&(n=d(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n}function d(e,t){return w[" "+e]||(/^[^:]+:\/*[^\/]*$/.test(e)?w[" "+e]=e+"/":w[" "+e]=m(e,"/",!0)),e=w[" "+e],"//"===t.slice(0,2)?e.replace(/:[\s\S]*/,":")+t:"/"===t.charAt(0)?e.replace(/(:\/*[^\/]*)[\s\S]*/,"$1")+t:e+t}function h(){}function f(e){for(var t,n,r=1;r=0&&"\\"===n[i];)r=!r;return r?"|":" |"}),r=n.split(/ \|/),i=0;if(r.length>t)r.splice(t);else for(;r.lengthAn error occurred:

"+l(e.message+"",!0)+"
";throw e}}var y={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:h,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,nptable:h,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=\\h*\\n)[\\s\\S]*?(?:\\n{2,}|$)|(?=\\h*\\n)[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:h,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,text:/^[^\n]+/};y._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,y._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,y.def=u(y.def).replace("label",y._label).replace("title",y._title).getRegex(),y.bullet=/(?:[*+-]|\d{1,9}\.)/,y.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,y.item=u(y.item,"gm").replace(/bull/g,y.bullet).getRegex(),y.list=u(y.list).replace(/bull/g,y.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+y.def.source+")").getRegex(),y._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",y._comment=//,y.html=u(y.html,"i").replace("comment",y._comment).replace("tag",y._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),y.paragraph=u(y.paragraph).replace("hr",y.hr).replace("heading",y.heading).replace("lheading",y.lheading).replace("tag",y._tag).getRegex(),y.blockquote=u(y.blockquote).replace("paragraph",y.paragraph).getRegex(),y.normal=f({},y),y.gfm=f({},y.normal,{fences:/^ {0,3}(`{3,}|~{3,})([^`\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),y.gfm.paragraph=u(y.paragraph).replace("(?!","(?!"+y.gfm.fences.source.replace("\\1","\\2")+"|"+y.list.source.replace("\\1","\\3")+"|").getRegex(),y.tables=f({},y.gfm,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),y.pedantic=f({},y.normal,{html:u("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",y._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:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/}),n.rules=y,n.lex=function(e,t){return new n(t).lex(e)},n.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},n.prototype.token=function(e,t){e=e.replace(/^ +$/gm,"");for(var n,r,i,o,a,s,l,c,u,p,d,h,f,v,b,x;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:m(i,"\n")});else if(i=this.rules.fences.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"code",lang:i[2]?i[2].trim():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:g(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),d=0;d ?/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],v=o.length>1,l={type:"list_start",ordered:v,start:v?+o:"",loose:!1},this.tokens.push(l),i=i[0].match(this.rules.item),c=[],n=!1,f=i.length,d=0;d1?1===a.length:a.length>1||this.options.smartLists&&a!==o)&&(e=i.slice(d+1).join("\n")+e,d=f-1)),r=n||/\n\n(?!\s*$)/.test(s),d!==f-1&&(n="\n"===s.charAt(s.length-1),r||(r=n)),r&&(l.loose=!0),b=/^\[[ xX]\] /.test(s),x=void 0,b&&(x=" "!==s[1],s=s.replace(/^\[[ xX]\] +/,"")),u={type:"list_item_start",task:b,checked:x,loose:r},c.push(u),this.tokens.push(u),this.token(s,!1),this.tokens.push({type:"list_item_end"});if(l.loose)for(f=c.length,d=0;d?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:h,tag:"^comment|^|^<[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_])_(?!_|[^\spunctuation])|^_([^\s_][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s"<\[][\s\S]*?[^\s*])\*(?!\*)|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:h,text:/^(`+|[^`])[\s\S]*?(?=[\\?@\\[^_{|}~",x.em=u(x.em).replace(/punctuation/g,x._punctuation).getRegex(),x._escapes=/\\([!"#$%&'()*+,\-.\/:;<=>?@\[\]\\^_`{|}~])/g,x._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,x._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])?)+(?![-_])/,x.autolink=u(x.autolink).replace("scheme",x._scheme).replace("email",x._email).getRegex(),x._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,x.tag=u(x.tag).replace("comment",y._comment).replace("attribute",x._attribute).getRegex(),x._label=/(?:\[[^\[\]]*\]|\\[\[\]]?|`[^`]*`|[^\[\]\\])*?/,x._href=/\s*(<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*)/,x._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,x.link=u(x.link).replace("label",x._label).replace("href",x._href).replace("title",x._title).getRegex(),x.reflink=u(x.reflink).replace("label",x._label).getRegex(),x.normal=f({},x),x.pedantic=f({},x.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:u(/^!?\[(label)\]\((.*?)\)/).replace("label",x._label).getRegex(),reflink:u(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",x._label).getRegex()}),x.gfm=f({},x.normal,{escape:u(x.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:u(x.text).replace("]|","~]|").replace("|$","|https?://|ftp://|www\\.|[a-zA-Z0-9.!#$%&'*+/=?^_`{\\|}~-]+@|$").getRegex()}),x.gfm.url=u(x.gfm.url,"i").replace("email",x.gfm._extended_email).getRegex(),x.breaks=f({},x.gfm,{br:u(x.br).replace("{2,}","*").getRegex(),text:u(x.gfm.text).replace("{2,}","*").getRegex()}),r.rules=x,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,s,c="";e;)if(a=this.rules.escape.exec(e))e=e.substring(a[0].length),c+=l(a[1]);else if(a=this.rules.tag.exec(e))!this.inLink&&/^/i.test(a[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(a[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(a[0])&&(this.inRawBlock=!1),e=e.substring(a[0].length),c+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):l(a[0]):a[0];else if(a=this.rules.link.exec(e)){var u=v(a[2],"()");if(u>-1){var p=a[2].length-u;a[2]=a[2].substring(0,u),a[0]=a[0].substring(0,a[0].length-p)}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"),c+=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){c+=a[0].charAt(0),e=a[0].substring(1)+e;continue}this.inLink=!0,c+=this.outputLink(a,t),this.inLink=!1}else if(a=this.rules.strong.exec(e))e=e.substring(a[0].length),c+=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),c+=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),c+=this.renderer.codespan(l(a[2].trim(),!0));else if(a=this.rules.br.exec(e))e=e.substring(a[0].length),c+=this.renderer.br();else if(a=this.rules.del.exec(e))e=e.substring(a[0].length),c+=this.renderer.del(this.output(a[1]));else if(a=this.rules.autolink.exec(e))e=e.substring(a[0].length),"@"===a[2]?(n=l(this.mangle(a[1])),i="mailto:"+n):(n=l(a[1]),i=n),c+=this.renderer.link(i,null,n);else if(this.inLink||!(a=this.rules.url.exec(e))){if(a=this.rules.text.exec(e))e=e.substring(a[0].length),this.inRawBlock?c+=this.renderer.text(a[0]):c+=this.renderer.text(l(this.smartypants(a[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else{if("@"===a[2])n=l(a[0]),i="mailto:"+n;else{do{s=a[0],a[0]=this.rules._backpedal.exec(a[0])[0]}while(s!==a[0]);n=l(a[0]),i="www."===a[1]?"http://"+n:n}e=e.substring(a[0].length),c+=this.renderer.link(i,null,n)}return c},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?l(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,l(e[1]))},r.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},r.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;i.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},i.prototype.code=function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(e,r);null!=i&&i!==e&&(n=!0,e=i)}return r?'
'+(n?e:l(e,!0))+"
\n":"
"+(n?e:l(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,r){return this.options.headerIds?"'+e+"\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+"\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\n"+e+"\n"+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"},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(null===(e=p(this.options.sanitize,this.options.baseUrl,e)))return n;var r='
    "},i.prototype.image=function(e,t,n){if(null===(e=p(this.options.sanitize,this.options.baseUrl,e)))return n;var r=''+n+'":">"},i.prototype.text=function(e){return e},o.prototype.strong=o.prototype.em=o.prototype.codespan=o.prototype.del=o.prototype.text=function(e){return e},o.prototype.link=o.prototype.image=function(e,t,n){return""+n},o.prototype.br=function(){return""},a.parse=function(e,t){return new a(t).parse(e)},a.prototype.parse=function(e){this.inline=new r(e.links,this.options),this.inlineText=new r(e.links,f({},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,c(this.inlineText.output(this.token.text)),this.slugger);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?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){var n=t;do{this.seen[n]++,t=n+"-"+this.seen[n]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t},l.escapeTest=/[&<>"']/,l.escapeReplace=/[&<>"']/g,l.replacements={"&":"&","<":"<",">":">",'"':""","'":"'"},l.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,l.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;var w={},k=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;h.exec=h,b.options=b.setOptions=function(e){return f(b.defaults,e),b},b.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}},b.defaults=b.getDefaults(),b.Parser=a,b.parser=a.parse,b.Renderer=i,b.TextRenderer=o,b.Lexer=n,b.lexer=n.lex,b.InlineLexer=r,b.inlineLexer=r.output,b.Slugger=s,b.parse=b,e.exports=b}(this||"undefined"!=typeof window&&window)}).call(t,n(18))},function(e,t,n){(function(t){"use strict";function n(e){var t=new Error(e);return t.name="ValueError",t}function r(e){return function(t){var r=Array.prototype.slice.call(arguments,1),i=0,o="UNDEFINED";return t.replace(/([{}])\1|[{](.*?)(?:!(.+?))?[}]/g,function(t,a,s,l){if(null!=a)return a;var c=s;if(c.length>0){if("IMPLICIT"===o)throw n("cannot switch from implicit to explicit numbering");o="EXPLICIT"}else{if("EXPLICIT"===o)throw n("cannot switch from explicit to implicit numbering");o="IMPLICIT",c=String(i),i+=1}var u=c.split("."),p=(/^\d+$/.test(u[0])?u:["0"].concat(u)).reduce(function(e,t){return e.reduce(function(e,n){return null!=n&&t in Object(n)?["function"==typeof n[t]?n[t]():n[t]]:[]},[])},[r]).reduce(function(e,t){return t},"");if(null==l)return p;if(Object.prototype.hasOwnProperty.call(e,l))return e[l](p);throw n('no transformer named "'+l+'"')})}}var i=r({});i.create=r,i.extend=function(e,n){var i=r(n);e.format=function(){var e=Array.prototype.slice.call(arguments);return e.unshift(this),i.apply(t,e)}},e.exports=i}).call(this,this)},function(e,t,n){var r=n(12);"string"==typeof r&&(r=[[e.i,r,""]]);var i={};i.transform=void 0;n(16)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){function r(e,t){return new a(t).process(e)}var i=n(4),o=n(5),a=n(19);t=e.exports=r,t.FilterXSS=a;for(var s in i)t[s]=i[s];for(var s in o)t[s]=o[s];"undefined"!=typeof window&&(window.filterXSS=e.exports),function(){return"undefined"!=typeof self&&"undefined"!=typeof DedicatedWorkerGlobalScope&&self instanceof DedicatedWorkerGlobalScope}()&&(self.filterXSS=e.exports)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n\n
    \n \n
    \n
    \n
    \n
    \n
    '+o+'
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n \n \n
    \n \n
    \n \n
    \n
    '+l(t.i18n.comment_count,'0')+'
    \n
    \n
    \n
    \n
    ';t.el.innerHTML=a;var g=t.el.querySelector(".vempty");t.nodata={show:function(e){g.innerHTML=e||t.i18n.no_comment_yet,g.setAttribute("style","display:block;")},hide:function(){g.setAttribute("style","display:none;")}},t.nodata.show();var m=t.el.querySelector(".vsmile-icons"),b=e.emoticon_list||[];for(var y in b){var x=document.createElement("img");x.setAttribute("src",e.emoticon_url+"/"+b[y]),m.appendChild(x)}p||(n.init({appId:e.app_id||e.appId,appKey:e.app_key||e.appKey}),p=!0),t.v=n}catch(e){var w="https://github.com/DesertsP/Valine/issues";return void(t.el?t.nodata.show('
    '+e+"
    Valine:"+t.version+"
    feedback:"+w+"
    "):console&&console.log("%c"+e+"\n%cValine%c"+t.version+" "+w,"color:red;","background:#000;padding:5px;line-height:30px;color:#fff;","background:#456;line-height:30px;padding:5px;color:#fff;"))}var k='
    ',A=t.el.querySelector(".vloading");A.innerHTML=k,t.loading={show:function(){A.setAttribute("style","display:block;"),t.nodata.hide()},hide:function(){A.setAttribute("style","display:none;"),0===t.el.querySelectorAll(".vcard").length&&t.nodata.show()}};var S=t.el.querySelector(".vsubmitting");S.innerHTML=k,t.submitting={show:function(){S.setAttribute("style","display:block;")},hide:function(){S.setAttribute("style","display:none;"),t.nodata.hide()}};var _=t.el.querySelector(".vmark");t.alert={show:function(e){_.innerHTML='
    '+e.text+'
    ';var n=_.querySelector(".vbtns"),r='",i='";if(n.innerHTML=""+r+(e.type&&i),_.querySelector(".vcancel").addEventListener("click",function(e){t.alert.hide()}),_.setAttribute("style","display:block;"),e&&e.type){var o=_.querySelector(".vsure");v.on("click",o,function(n){t.alert.hide(),e.cb&&e.cb()})}},hide:function(){_.setAttribute("style","display:none;")}},t.loading.show();var z=new t.v.Query("Comment");z.equalTo("url",u.url);var C=new t.v.Query("Comment");C.equalTo("url",u.url+"/");var T=AV.Query.or(z,C);T.notEqualTo("isSpam",!0),T.count().then(function(n){t.el.querySelector(".count").innerHTML=""+n,t.bind(e)},function(e){console.log(e)})}},{key:"bind",value:function(e){var t=this,n=t.el.querySelector(".vsmile-icons");v.on("click",n,function(e){var n=t.el.querySelector(".veditor"),r=e.target.src;if(void 0!==r){var i="!(:"+decodeURI(r).replace(/^.*\/(.*)$/,"$1")+":)";if(document.selection)n.focus(),sel=document.selection.createRange(),sel.text=i,n.focus();else if(n.selectionStart||"0"==n.selectionStart){var o=n.selectionStart,a=n.selectionEnd,s=a;n.value=n.value.substring(0,o)+i+n.value.substring(a,n.value.length),s+=i.length,n.focus(),n.selectionStart=s,n.selectionEnd=s}else n.value+=i,n.focus();u.comment=n.value;var l=t.el.querySelector(".vsubmit");l.getAttribute("disabled")&&l.removeAttribute("disabled")}});var r=t.el.querySelector(".comment_trigger");v.on("click",r,function(e){r.setAttribute("style","display:none"),t.el.querySelector(".auth-section").removeAttribute("style"),t.el.querySelector(".veditor").focus()}),v.on("click",t.el.querySelector(".vcancel-comment-reply"),function(e){t.reset()});var i=function(e){e.offsetHeight>180&&(e.classList.add("expand"),v.on("click",e,function(t){e.setAttribute("class","vcomment")}))},l=1,c=0,p=function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;t.loading.show(),t.v.Query.doCloudQuery("select nick, comment, link, rid, emailHash, isSpam\n from Comment\n where (rid='' or rid is not exists) and (url='"+u.url+"' or url='"+u.url+"/')\n order by -createdAt\n limit "+(n-1)*h+","+h).then(function(r){r=r&&r.results||[];var i=r.length;if(i){for(var o=0;o'+t.i18n.more+"":"";var u=s.querySelector("#vmore");u&&v.on("click",u,function(t){s.innerHTML="",e(++l)})}t.loading.hide()}).catch(function(e){console.log(e),t.loading.hide()})};t.v.Query.doCloudQuery("select count(*)\n from Comment\n where (rid='' or rid is not exists) \n and (url='"+u.url+"' or url='"+u.url+"/')\n order by -createdAt").then(function(e){c=e.count,p(1)});var f=function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,i=n.querySelector(".vcomment-children"),o=i.querySelector(".vlist"),a=n.getAttribute("id");if(r<=0&&i.setAttribute("style","margin-left: 0 !important"),r>=d)return void t.v.Query.doCloudQuery("select count(*)\n from Comment\n where rid='"+a+"' and (url='"+u.url+"' or url='"+u.url+"/')\n order by -createdAt").then(function(r){if(r.count>0){var o=i.querySelector(".vshow-children-wrapper");o.setAttribute("style","display: block !important;"),o.innerHTML=''+t.i18n.more+"";var s=o.querySelector(".vshow-children");v.on("click",s,function(t){o.setAttribute("style","display: none !important;"),e(n,-1e3)})}},function(e){console.log(e)});t.v.Query.doCloudQuery("select nick, comment, link, rid, emailHash, isSpam\n from Comment\n where rid='"+a+"' and (url='"+u.url+"' or url='"+u.url+"/')\n order by -createdAt").then(function(t){t=t&&t.results||[];var n=t.length;if(n)for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:null,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=document.createElement("li");o.setAttribute("class","vcard"),o.setAttribute("id",e.id);var a=e.get("emailHash"),s="https://cdn.jsdelivr.net/gh/TRHX/CDN-for-love109.cn@1.9/images/custom/love109.jpg";o.innerHTML='
    \n
    \n \n '+t.i18n.reply+'\n
    \n '+(e.get("link")?' '+e.get("nick")+"":''+e.get("nick")+"")+"\n "+(a!=t.adminEmailHash?"":'·')+'\n ·\n '+y(e.get("createdAt"),t.i18n)+'\n
    \n
    \n
    \n
    '+e.get("comment")+'
    \n
    \n
    \n
    \n \n
      \n
      ';for(var l=n||t.el.querySelector(".vlist"),c=l.querySelectorAll("li"),u=o.querySelectorAll("a"),p=0,d=u.length;p')),{onIgnoreTagAttr:function(e,t,n,r){if("class"===t)return t+'="'+a.escapeAttrValue(n)+'"'}}),u.comment.indexOf(u.at)>-1&&""!=u.at){var r='"+u.at+"";u.comment=u.comment.replace(u.at,r)}var i=b.mail(u.mail),s=b.link(u.link);u.mail=i.k?i.v:"",u.link=s.k?s.v:"",i.k&&s.k?I():t.alert.show({type:0,text:t.i18n.input_tips,ctxt:t.i18n.confirm})},z=t.el.querySelector(".vemoji-btn"),C=t.el.querySelector(".vsmile-icons");v.on("click",z,function(e){L.getAttribute("triggered")&&(L.setAttribute("style","display:none;"),L.removeAttribute("triggered")),C.getAttribute("triggered")?(C.setAttribute("style","display:none;"),C.removeAttribute("triggered")):(C.removeAttribute("style"),C.setAttribute("triggered",1))});var T=t.el.querySelector(".vpreview-btn"),L=t.el.querySelector(".vpreview-text");v.on("click",T,function(t){if(C.getAttribute("triggered")&&(C.setAttribute("style","display:none;"),C.removeAttribute("triggered")),L.getAttribute("triggered"))L.setAttribute("style","display:none;"),L.removeAttribute("triggered");else{if(""==u.comment)return void w.comment.focus();L.innerHTML=a(o(u.comment.replace(/!\(:(.*?\.\w+):\)/g,'$1')),{onIgnoreTagAttr:function(e,t,n,r){if("class"===t)return t+'="'+a.escapeAttrValue(n)+'"'}}),L.removeAttribute("style"),L.setAttribute("triggered",1)}});var q=function(){var e=new t.v.ACL;return e.setPublicReadAccess(!0),e.setPublicWriteAccess(!1),e},I=function(){S.setAttribute("disabled",!0),t.submitting.show();var e=t.v.Object.extend("Comment"),n=new e;for(var r in u)if(u.hasOwnProperty(r)){if("at"===r)continue;var i=u[r];n.set(r,i)}n.set("emailHash",s(u.mail.toLowerCase().trim())),n.setACL(q()),n.save().then(function(e){g&&g.setItem("ValineCache",JSON.stringify({nick:u.nick,link:u.link,mail:u.mail}));var n=t.el.querySelector(".count");if(n.innerText=Number(n.innerText)+1,""===u.rid)m(e,null,!0);else{var r=t.el.querySelector("#children-list-"+u.rid);m(e,r,!0)}S.removeAttribute("disabled"),t.submitting.hide(),t.nodata.hide(),t.reset()}).catch(function(e){t.submitting.hide()})},$=function(e){var n=e.getAttribute("id"),r=e.querySelector("#at-"+n);v.on("click",r,function(i){var o=r.getAttribute("at"),a=r.getAttribute("rid");u.rid=a,u.at=o,w.comment.value=o+" ,"+w.comment.value,e.querySelector("#comment-"+n).appendChild(t.el.querySelector(".vinputs-wrap")),t.el.querySelector(".vcancel-comment-reply").removeAttribute("style"),t.el.querySelector(".comment_trigger").setAttribute("style","display:none"),t.el.querySelector(".auth-section").removeAttribute("style"),t.el.querySelector(".veditor").focus(),w.comment.focus()})};v.off("click",S,_),v.on("click",S,_)}}]),e}(),v={on:function(e,t,n,r){t.addEventListener?t.addEventListener(e,n,r||!1):t.attachEvent?t.attachEvent("on"+e,n):t["on"+e]=n},off:function(e,t,n,r){t.removeEventListener?t.removeEventListener(e,n,r||!1):t.detachEvent?t.detachEvent("on"+e,n):t["on"+e]=null}},b={mail:function(e){return{k:/\w[-\w.+]*@([A-Za-z0-9][-A-Za-z0-9]+\.)+[A-Za-z]{2,14}/.test(e),v:e}},link:function(e){return e.length>0&&(e=/^(http|https)/.test(e)?e:"http://"+e),{k:!(e.length>0)||/(http|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:\/~\+#]*[\w\-\@?^=%&\/~\+#])?/.test(e),v:e}}},y=function(e,t){try{var n=e.getTime(),r=(new Date).getTime(),i=r-n,o=Math.floor(i/864e5);if(0===o){var a=i%864e5,s=Math.floor(a/36e5);if(0===s){var l=a%36e5,c=Math.floor(l/6e4);if(0===c){var u=l%6e4;return Math.round(u/1e3)+" "+t.seconds}return c+" "+t.minutes}return s+" "+t.hours}return o<0?t.now:o+" "+t.days}catch(e){console.log(e)}},x=function(){$.getJSON("https://api.ipify.org/?format=json",function(e){u.ip=e.ip})};e.exports=m},function(e,t,n){t=e.exports=n(13)(!1),t.push([e.i,'.valine {\n /************ Loading ************/ }\n .valine * {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n font-size: 14px;\n font-weight: normal;\n line-height: 1.42857143;\n color: #3c484e;\n -webkit-transition: all .3s ease;\n transition: all .3s ease;\n margin: initial;\n padding: initial; }\n .valine .vemoticon-img {\n display: inline-block;\n max-height: 32px;\n margin: 0 2px; }\n .valine .vsubmitting {\n margin: 1em 0; }\n .valine .vcancel-comment-reply {\n margin: 1.5em 0 .5em;\n cursor: pointer;\n color: #4b5b62;\n text-decoration: underline; }\n .valine .vinputs-area {\n overflow: hidden;\n position: relative;\n border: 1px solid #ededed; }\n .valine .vinputs-area .veditor-area {\n position: inherit; }\n .valine .vinputs-area .btn-wrap {\n position: absolute !important;\n right: 1.5em;\n bottom: 0; }\n .valine .vinputs-area .btn-wrap .vfunction-btn {\n display: inline-block; }\n .valine .vinputs-area .btn-wrap .vfunction-btn svg {\n fill: #bbb;\n cursor: pointer; }\n .valine .vinputs-area .btn-wrap .vfunction-btn svg:hover {\n fill: #777777; }\n .valine .vinputs-area .btn-wrap .vfunction-btn svg:active {\n fill: #777777; }\n .valine .vinputs-area .vextra-area {\n margin: .4em 0 .4em .5em; }\n .valine .vinputs-area .vextra-area .vsmile-icons {\n padding: .2em 0;\n border-top: 1px solid #ededed;\n border-radius: 0;\n margin: .3em 0;\n max-height: 64px;\n overflow: auto; }\n .valine .vinputs-area .vextra-area .vsmile-icons img {\n display: inline-block;\n width: auto !important;\n height: 28px !important;\n margin-right: 4px;\n cursor: pointer; }\n .valine .vinputs-area .vextra-area .vpreview-text {\n border-top: 1px solid #ededed;\n border-radius: 0;\n padding: .5em .5em;\n margin: .3em 0;\n max-height: 10em;\n overflow: auto; }\n .valine .vinputs-area .textarea-wrapper {\n color: #4b5b62;\n width: 100%;\n height: 100%;\n background: #fff;\n position: relative;\n border-radius: 0; }\n .valine .vinputs-area .textarea-wrapper .comment_trigger {\n position: absolute;\n z-index: 10;\n width: 100%;\n height: 100%;\n background-color: #fff;\n padding: 0 0 0 1.5em; }\n .valine .vinputs-area .textarea-wrapper .comment_trigger .avatar {\n position: absolute;\n width: 36px;\n height: 36px;\n position: absolute;\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%); }\n .valine .vinputs-area .textarea-wrapper .comment_trigger .avatar img {\n border-radius: 100%;\n width: 36px;\n height: 36px; }\n .valine .vinputs-area .textarea-wrapper .comment_trigger .trigger_title {\n position: absolute;\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n color: #aaa;\n font-size: 1.4em;\n margin-left: 3.5em; }\n .valine .vinputs-area .textarea-wrapper textarea {\n padding: 1em 1em 0;\n color: #4b5b62;\n width: 100%;\n background: #fff;\n border: none;\n resize: none;\n min-height: 6em;\n margin: 0; }\n .valine .vinputs-area .textarea-wrapper textarea:focus {\n border-color: #c4c8cb;\n outline: 0; }\n .valine .vinputs-area .trigger-section {\n display: none; }\n .valine .vinputs-area .auth-section {\n display: -webkit-box;\n display: flex;\n display: -ms-flexbox;\n background: #fbfbfb;\n padding: .3em .6em; }\n .valine .vinputs-area .auth-section .input-wrapper {\n -ms-flex: 1 1 27%;\n -webkit-box-flex: 1;\n flex: 1 1 27%;\n width: 27%; }\n .valine .vinputs-area .auth-section .input-wrapper input {\n color: #4b5b62;\n background: #fafafa;\n border: none;\n border-radius: 0;\n padding: .6em;\n margin: 0;\n line-height: 2;\n font-size: 1em !important; }\n .valine .vinputs-area .auth-section .input-wrapper input:focus {\n border-color: #c4c8cb;\n outline: 0; }\n .valine .vinputs-area .auth-section input {\n width: 100%; }\n .valine .vinputs-area .auth-section .post-action {\n -ms-flex: 1 1 19%;\n -webkit-box-flex: 1;\n flex: 1 1 19%;\n width: 19%;\n margin: 0;\n padding: 2px 0 0; }\n .valine .vinputs-area .auth-section .post-action button {\n color: #fff;\n width: 100%;\n line-height: 2;\n font-weight: bolder;\n border-radius: 30px;\n border: 1px solid #e9eff3;\n background-color: #FF69B4;\n padding: .4em .5em;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n font-size: 1em !important; }\n .valine .vinputs-area .auth-section .post-action button:hover {\n background-color: #FF69B4; }\n @media screen and (max-width: 720px) {\n .valine .vinputs-area .auth-section {\n display: block; }\n .valine .vinputs-area .auth-section .input-wrapper, .valine .vinputs-area .auth-section .post-action {\n -ms-flex: 1 1 100%;\n -webkit-box-flex: 1;\n flex: 1 1 100%;\n padding-right: 0;\n width: 100%; } }\n .valine .vinputs-area .vmark {\n position: absolute;\n background: rgba(0, 0, 0, 0.65);\n width: 100%;\n height: 100%;\n left: 0;\n top: 0; }\n .valine .vinputs-area .vmark .valert {\n padding: 2em 0 0 0; }\n .valine .vinputs-area .vmark .valert .vtext {\n color: #fff;\n padding: 15px; }\n .valine .vinputs-area .vmark .valert .vcode {\n width: 75px;\n border-radius: 5px;\n background: #dedede; }\n .valine .vinputs-area .vmark .valert .vcode:focus {\n border-color: #3090e4;\n background-color: #fff; }\n @media screen and (max-width: 720px) {\n .valine .vinputs-area .vmark .valert {\n padding: 8em 0; }\n .valine .vinputs-area .vmark .valert .vtext {\n color: #fff;\n padding: 10px; } }\n .valine .info {\n margin: 2em 0;\n font-size: 16px;\n line-height: 1;\n position: relative;\n text-align: center; }\n .valine .info::before {\n display: block;\n content: \'\';\n border-top: 1px solid rgba(150, 150, 150, 0.08);\n margin: 0 25%;\n position: relative;\n top: 10px;\n z-index: 1; }\n .valine .info svg {\n margin-right: 2px;\n overflow: hidden;\n fill: currentColor; }\n .valine .info .col {\n display: inline-block;\n padding: 0 20px;\n position: relative;\n background: #ffffff;\n z-index: 2; }\n .valine .power {\n color: #999;\n font-size: 0.625em !important;\n position: relative; }\n .valine a {\n text-decoration: none;\n color: #3eb0ef;\n border: none; }\n .valine .txt-center {\n text-align: center; }\n .valine .float-right {\n float: right !important; }\n .valine .pd5 {\n padding: 5px; }\n .valine .pd10 {\n padding: 10px; }\n .valine .vbtn {\n display: inline-block;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n border: 1px solid #e9eff3;\n background-color: #FF69B4;\n border-radius: .1em;\n color: #fff;\n padding: .5em 1.5em;\n cursor: pointer;\n white-space: nowrap;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n outline: none;\n min-width: 60px;\n max-width: 100%;\n margin: 0 1em; }\n .valine .vbtn:active,\n .valine .vbtn:hover {\n border-color: #666; }\n .valine .vpage {\n margin: 1.5em 0; }\n .valine .vpage .more {\n width: 100%;\n height: 2.5em;\n line-height: 2.5em;\n text-align: center;\n cursor: pointer;\n color: #fff;\n background: #FF69B4;\n border-radius: 1.25em; }\n .valine .vlist {\n width: 100%;\n list-style: none;\n margin: 0;\n padding: 0; }\n .valine .vlist .vcard {\n list-style: none;\n word-break: break-all; }\n .valine .vlist .vcard .vcomment-body {\n padding: 2em .5em 2em;\n border-top: 1px solid rgba(150, 150, 150, 0.08); }\n @media screen and (max-width: 600px) {\n .valine .vlist .vcard .vcomment-body {\n padding: 1em 1em 1em;\n border-top: 0 !important; } }\n .valine .vlist .vcard .vcomment-body:hover .vat {\n background: #111 !important; }\n .valine .vlist .vcard .vcomment-body .vat {\n float: right;\n background: transparent;\n color: #ffffff;\n padding: .2em 1em;\n line-height: 1.2;\n cursor: pointer;\n word-break: keep-all;\n white-space: nowrap;\n text-transform: uppercase; }\n .valine .vlist .vcard .vcomment-body .vavatar {\n margin-right: 1em;\n margin-top: 0.1em;\n display: inline-block;\n height: 36px;\n width: 36px;\n position: absolute;\n top: 0;\n border-radius: 50%; }\n .valine .vlist .vcard .vcomment-body .vhead {\n line-height: 1;\n display: block;\n margin-bottom: .3em;\n position: relative; }\n .valine .vlist .vcard .vcomment-body .vhead .vmeta-info {\n margin: 0 0 0 48px; }\n .valine .vlist .vcard .vcomment-body .vhead .vname {\n font-weight: bolder;\n font-size: 1em;\n color: rgba(0, 0, 0, 0.7); }\n .valine .vlist .vcard .vcomment-body .vhead .spacer {\n color: #ccc;\n margin-left: 0.3em;\n margin-right: 0.3em; }\n .valine .vlist .vcard .vcomment-body .vhead .vtime {\n color: #a9a4a4;\n display: inline-block;\n font-weight: normal;\n font-size: 90%; }\n .valine .vlist .vcard .vcomment-body .text-wrapper {\n overflow: hidden;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n margin-left: 48px; }\n .valine .vlist .vcard .vcomment-body .text-wrapper .vcomment {\n position: relative;\n overflow: auto; }\n .valine .vlist .vcard .vcomment-body .text-wrapper .vcomment blockquote p {\n padding-left: 12px; }\n .valine .vlist .vcard .vcomment-body .text-wrapper .vcomment p {\n word-wrap: break-word;\n white-space: pre-wrap;\n word-break: break-all;\n text-align: justify;\n line-height: 1.8; }\n .valine .vlist .vcard .vcomment-body .text-wrapper .vcomment pre {\n overflow: auto;\n padding: 6px 10px;\n word-wrap: break-word;\n color: #555;\n background: #f5f2f2;\n border-radius: 3px;\n font-size: .875rem;\n margin: 5px 0; }\n .valine .vlist .vcard .vcomment-body .text-wrapper .vcomment.expand {\n cursor: pointer;\n max-height: 11.25rem;\n overflow: hidden; }\n .valine .vlist .vcard .vcomment-body .text-wrapper .vcomment.expand:before {\n display: block;\n content: "";\n position: absolute;\n width: 100%;\n left: 0;\n top: 0;\n bottom: 3.15rem;\n pointer-events: none;\n background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), to(rgba(255, 255, 255, 0.8)));\n background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8)); }\n .valine .vlist .vcard .vcomment-body .text-wrapper .vcomment.expand:after {\n display: block;\n content: "";\n text-align: center;\n color: #828586;\n position: absolute;\n width: 100%;\n height: 3.15rem;\n line-height: 3.15rem;\n left: 0;\n bottom: 0;\n pointer-events: none;\n background: rgba(255, 255, 255, 0.9); }\n .valine .vlist .vcard .vcomment-children {\n margin-left: 48px; }\n @media screen and (max-width: 600px) {\n .valine .vlist .vcard .vcomment-children {\n margin-left: 16px;\n border-left: 1px solid rgba(150, 150, 150, 0.08); } }\n .valine .vlist .vcard .vcomment-children .vshow-children-wrapper {\n margin: 0 0 2em; }\n .valine .vlist .vcard .vcomment-children .vshow-children-wrapper .vshow-children {\n color: #4b5b62;\n text-decoration: underline;\n cursor: pointer; }\n .valine .vlist .vempty {\n padding: 20px;\n text-align: center;\n color: #999; }\n .valine .spinner {\n margin: 10px auto;\n width: 50px;\n height: 30px;\n text-align: center;\n font-size: 10px; }\n .valine .spinner > div {\n background-color: #9c9c9c;\n height: 100%;\n width: 6px;\n margin-right: 3px;\n display: inline-block;\n -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;\n animation: sk-stretchdelay 1.2s infinite ease-in-out; }\n .valine .spinner .r2 {\n -webkit-animation-delay: -1.1s;\n animation-delay: -1.1s; }\n .valine .spinner .r3 {\n -webkit-animation-delay: -1.0s;\n animation-delay: -1.0s; }\n .valine .spinner .r4 {\n -webkit-animation-delay: -0.9s;\n animation-delay: -0.9s; }\n .valine .spinner .r5 {\n -webkit-animation-delay: -0.8s;\n animation-delay: -0.8s; }\n\n@-webkit-keyframes sk-stretchdelay {\n 0%,\n 40%,\n 100% {\n -webkit-transform: scaleY(0.4); }\n 20% {\n -webkit-transform: scaleY(1); } }\n\n@keyframes sk-stretchdelay {\n 0%,\n 40%,\n 100% {\n transform: scaleY(0.4);\n -webkit-transform: scaleY(0.4); }\n 20% {\n transform: scaleY(1);\n -webkit-transform: scaleY(1); } }\n',""])},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=0&&y.splice(t,1)}function s(e){var t=document.createElement("style");return e.attrs.type="text/css",c(t,e.attrs),o(e,t),t}function l(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",c(t,e.attrs),o(e,t),t}function c(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function u(e,t){var n,r,i,o;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}if(t.singleton){var c=b++;n=v||(v=s(t)),r=p.bind(null,n,c,!1),i=p.bind(null,n,c,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=h.bind(null,n,t),i=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=d.bind(null,n),i=function(){a(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}function p(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=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 d(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function h(e,t,n){var r=n.css,i=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||o)&&(r=x(r)),i&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var f={},g=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),m=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)}),v=null,b=0,y=[],x=n(17);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=g()),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";var y=i(l),x=o[n],w=p(y.html,function(e,t){var i=-1!==d.indexOf(x,e),o=c(n,e,t,i);if(!r(o))return o;if(i)return t=f(n,e,t,m),t?e+'="'+t+'"':e;var o=h(n,e,t,i);return r(o)?void 0:o}),l="<"+n;return w&&(l+=" "+w),y.closing&&(l+=" /"),l+=">"}var b=s(n,l,v);return r(b)?g(l):b},g);return v&&(b=v.remove(b)),b},e.exports=a}])}); +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("Valine",[],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="/dist/",t(t.s=11)}([function(e,t,n){function r(e,t){return new o(t).process(e)}var i=n(2),o=n(14);t=e.exports=r,t.FilterCSS=o;for(var a in i)t[a]=i[a];"undefined"!=typeof window&&(window.filterCSS=e.exports)},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;n/g,C=/"/g,T=/"/g,L=/&#([a-zA-Z0-9]*);?/gim,q=/:?/gim,I=/&newline;?/gim,$=/((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,R=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,E=/u\s*r\s*l\s*\(.*/gi,j=//g;t.whiteList=r(),t.getDefaultWhiteList=r,t.onTag=i,t.onIgnoreTag=o,t.onTagAttr=a,t.onIgnoreTagAttr=s,t.safeAttrValue=c,t.escapeHtml=l,t.escapeQuote=u,t.unescapeQuote=p,t.escapeHtmlEntities=d,t.escapeDangerHtml5Entities=h,t.clearNonPrintableCharacter=f,t.friendlyAttrValue=g,t.escapeAttrValue=m,t.onIgnoreTagStripAll=v,t.StripTagBody=b,t.stripCommentTag=y,t.stripBlankChar=x,t.cssFilter=S,t.getDefaultCSSWhiteList=k},function(e,t,n){function r(e){var t=p.spaceIndex(e);if(-1===t)var n=e.slice(1,-1);else var n=e.slice(1,t+1);return n=p.trim(n).toLowerCase(),"/"===n.slice(0,1)&&(n=n.slice(1)),"/"===n.slice(-1)&&(n=n.slice(0,-1)),n}function i(e){return""===h){o+=n(e.slice(a,s)),d=e.slice(s,c+1),p=r(d),o+=t(s,o.length,p,d,i(d)),a=c+1,s=!1;continue}if(('"'===h||"'"===h)&&"="===e.charAt(c-1)){l=h;continue}}else if(h===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 p=n(1),d=/[^a-zA-Z0-9_:\.\-]/gim;t.parseTag=o,t.parseAttr=a},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<>>32-t}function s(e,t,n,r,i,s){return o(a(o(o(t,e),o(r,s)),i),n)}function l(e,t,n,r,i,o,a){return s(t&n|~t&r,e,t,i,o,a)}function c(e,t,n,r,i,o,a){return s(t&r|n&~r,e,t,i,o,a)}function u(e,t,n,r,i,o,a){return s(t^n^r,e,t,i,o,a)}function p(e,t,n,r,i,o,a){return s(n^(t|~r),e,t,i,o,a)}function d(e,t){e[t>>5]|=128<>>9<<4)]=t;var n,r,i,a,s,d=1732584193,h=-271733879,f=-1732584194,g=271733878;for(n=0;n>5]>>>t%32&255);return n}function f(e){var t,n=[];for(n[(e.length>>2)-1]=void 0,t=0;t>5]|=(255&e.charCodeAt(t/8))<16&&(i=d(i,8*e.length)),n=0;n<16;n+=1)o[n]=909522486^i[n],a[n]=1549556828^i[n];return r=d(o.concat(f(t)),512+8*t.length),h(d(a.concat(r),640))}function v(e){var t,n,r="0123456789abcdef",i="";for(n=0;n>>4&15)+r.charAt(15&t);return i}function b(e){return unescape(encodeURIComponent(e))}function y(e){return g(b(e))}function x(e){return v(y(e))}function w(e,t){return m(b(e),b(t))}function k(e,t){return v(w(e,t))}function A(e,t,n){return t?n?w(t,e):k(t,e):n?y(e):x(e)}void 0!==(r=function(){return A}.call(t,n,t,e))&&(e.exports=r)}()},function(e,t,n){(function(t){!function(t){"use strict";function n(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||b.defaults,this.rules=y.normal,this.options.pedantic?this.rules=y.pedantic:this.options.gfm&&(this.options.tables?this.rules=y.tables:this.rules=y.gfm)}function r(e,t){if(this.options=t||b.defaults,this.links=e,this.rules=x.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=x.pedantic:this.options.gfm&&(this.options.breaks?this.rules=x.breaks:this.rules=x.gfm)}function i(e){this.options=e||b.defaults}function o(){}function a(e){this.tokens=[],this.token=null,this.options=e||b.defaults,this.options.renderer=this.options.renderer||new i,this.renderer=this.options.renderer,this.renderer.options=this.options,this.slugger=new s}function s(){this.seen={}}function l(e,t){if(t){if(l.escapeTest.test(e))return e.replace(l.escapeReplace,function(e){return l.replacements[e]})}else if(l.escapeTestNoEncode.test(e))return e.replace(l.escapeReplaceNoEncode,function(e){return l.replacements[e]});return e}function c(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 u(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 p(e,t,n){if(e){try{var r=decodeURIComponent(c(n)).replace(/[^\w:]/g,"").toLowerCase()}catch(e){return null}if(0===r.indexOf("javascript:")||0===r.indexOf("vbscript:")||0===r.indexOf("data:"))return null}t&&!k.test(n)&&(n=d(t,n));try{n=encodeURI(n).replace(/%25/g,"%")}catch(e){return null}return n}function d(e,t){return w[" "+e]||(/^[^:]+:\/*[^\/]*$/.test(e)?w[" "+e]=e+"/":w[" "+e]=m(e,"/",!0)),e=w[" "+e],"//"===t.slice(0,2)?e.replace(/:[\s\S]*/,":")+t:"/"===t.charAt(0)?e.replace(/(:\/*[^\/]*)[\s\S]*/,"$1")+t:e+t}function h(){}function f(e){for(var t,n,r=1;r=0&&"\\"===n[i];)r=!r;return r?"|":" |"}),r=n.split(/ \|/),i=0;if(r.length>t)r.splice(t);else for(;r.lengthAn error occurred:

      "+l(e.message+"",!0)+"
      ";throw e}}var y={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:h,hr:/^ {0,3}((?:- *){3,}|(?:_ *){3,}|(?:\* *){3,})(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *(?:#+ *)?(?:\n+|$)/,nptable:h,blockquote:/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/,list:/^( {0,3})(bull) [\s\S]+?(?:hr|def|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:"^ {0,3}(?:<(script|pre|style)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?\\?>\\n*|\\n*|\\n*|)[\\s\\S]*?(?:\\n{2,}|$)|<(?!script|pre|style)([a-z][\\w-]*)(?:attribute)*? */?>(?=\\h*\\n)[\\s\\S]*?(?:\\n{2,}|$)|(?=\\h*\\n)[\\s\\S]*?(?:\\n{2,}|$))",def:/^ {0,3}\[(label)\]: *\n? *]+)>?(?:(?: +\n? *| *\n *)(title))? *(?:\n+|$)/,table:h,lheading:/^([^\n]+)\n *(=|-){2,} *(?:\n+|$)/,paragraph:/^([^\n]+(?:\n(?!hr|heading|lheading| {0,3}>|<\/?(?:tag)(?: +|\n|\/?>)|<(?:script|pre|style|!--))[^\n]+)*)/,text:/^[^\n]+/};y._label=/(?!\s*\])(?:\\[\[\]]|[^\[\]])+/,y._title=/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/,y.def=u(y.def).replace("label",y._label).replace("title",y._title).getRegex(),y.bullet=/(?:[*+-]|\d{1,9}\.)/,y.item=/^( *)(bull) ?[^\n]*(?:\n(?!\1bull ?)[^\n]*)*/,y.item=u(y.item,"gm").replace(/bull/g,y.bullet).getRegex(),y.list=u(y.list).replace(/bull/g,y.bullet).replace("hr","\\n+(?=\\1?(?:(?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$))").replace("def","\\n+(?="+y.def.source+")").getRegex(),y._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",y._comment=//,y.html=u(y.html,"i").replace("comment",y._comment).replace("tag",y._tag).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),y.paragraph=u(y.paragraph).replace("hr",y.hr).replace("heading",y.heading).replace("lheading",y.lheading).replace("tag",y._tag).getRegex(),y.blockquote=u(y.blockquote).replace("paragraph",y.paragraph).getRegex(),y.normal=f({},y),y.gfm=f({},y.normal,{fences:/^ {0,3}(`{3,}|~{3,})([^`\n]*)\n(?:|([\s\S]*?)\n)(?: {0,3}\1[~`]* *(?:\n+|$)|$)/,paragraph:/^/,heading:/^ *(#{1,6}) +([^\n]+?) *#* *(?:\n+|$)/}),y.gfm.paragraph=u(y.paragraph).replace("(?!","(?!"+y.gfm.fences.source.replace("\\1","\\2")+"|"+y.list.source.replace("\\1","\\3")+"|").getRegex(),y.tables=f({},y.gfm,{nptable:/^ *([^|\n ].*\|.*)\n *([-:]+ *\|[-| :]*)(?:\n((?:.*[^>\n ].*(?:\n|$))*)\n*|$)/,table:/^ *\|(.+)\n *\|?( *[-:]+[-| :]*)(?:\n((?: *[^>\n ].*(?:\n|$))*)\n*|$)/}),y.pedantic=f({},y.normal,{html:u("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",y._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:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/}),n.rules=y,n.lex=function(e,t){return new n(t).lex(e)},n.prototype.lex=function(e){return e=e.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n"),this.token(e,!0)},n.prototype.token=function(e,t){e=e.replace(/^ +$/gm,"");for(var n,r,i,o,a,s,l,c,u,p,d,h,f,v,b,x;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:m(i,"\n")});else if(i=this.rules.fences.exec(e))e=e.substring(i[0].length),this.tokens.push({type:"code",lang:i[2]?i[2].trim():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:g(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),d=0;d ?/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],v=o.length>1,l={type:"list_start",ordered:v,start:v?+o:"",loose:!1},this.tokens.push(l),i=i[0].match(this.rules.item),c=[],n=!1,f=i.length,d=0;d1?1===a.length:a.length>1||this.options.smartLists&&a!==o)&&(e=i.slice(d+1).join("\n")+e,d=f-1)),r=n||/\n\n(?!\s*$)/.test(s),d!==f-1&&(n="\n"===s.charAt(s.length-1),r||(r=n)),r&&(l.loose=!0),b=/^\[[ xX]\] /.test(s),x=void 0,b&&(x=" "!==s[1],s=s.replace(/^\[[ xX]\] +/,"")),u={type:"list_item_start",task:b,checked:x,loose:r},c.push(u),this.tokens.push(u),this.token(s,!1),this.tokens.push({type:"list_item_end"});if(l.loose)for(f=c.length,d=0;d?@\[\]\\^_`{|}~])/,autolink:/^<(scheme:[^\s\x00-\x1f<>]*|email)>/,url:h,tag:"^comment|^|^<[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_])_(?!_|[^\spunctuation])|^_([^\s_][\s\S]*?[^\s])_(?!_|[^\spunctuation])|^\*([^\s"<\[][\s\S]*?[^\s*])\*(?!\*)|^\*([^\s*"<\[][\s\S]*?[^\s])\*(?!\*)/,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,br:/^( {2,}|\\)\n(?!\s*$)/,del:h,text:/^(`+|[^`])[\s\S]*?(?=[\\?@\\[^_{|}~",x.em=u(x.em).replace(/punctuation/g,x._punctuation).getRegex(),x._escapes=/\\([!"#$%&'()*+,\-.\/:;<=>?@\[\]\\^_`{|}~])/g,x._scheme=/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/,x._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])?)+(?![-_])/,x.autolink=u(x.autolink).replace("scheme",x._scheme).replace("email",x._email).getRegex(),x._attribute=/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/,x.tag=u(x.tag).replace("comment",y._comment).replace("attribute",x._attribute).getRegex(),x._label=/(?:\[[^\[\]]*\]|\\[\[\]]?|`[^`]*`|[^\[\]\\])*?/,x._href=/\s*(<(?:\\[<>]?|[^\s<>\\])*>|[^\s\x00-\x1f]*)/,x._title=/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/,x.link=u(x.link).replace("label",x._label).replace("href",x._href).replace("title",x._title).getRegex(),x.reflink=u(x.reflink).replace("label",x._label).getRegex(),x.normal=f({},x),x.pedantic=f({},x.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/,em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/,link:u(/^!?\[(label)\]\((.*?)\)/).replace("label",x._label).getRegex(),reflink:u(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",x._label).getRegex()}),x.gfm=f({},x.normal,{escape:u(x.escape).replace("])","~|])").getRegex(),_extended_email:/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/,url:/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,_backpedal:/(?:[^?!.,:;*_~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_~)]+(?!$))+/,del:/^~+(?=\S)([\s\S]*?\S)~+/,text:u(x.text).replace("]|","~]|").replace("|$","|https?://|ftp://|www\\.|[a-zA-Z0-9.!#$%&'*+/=?^_`{\\|}~-]+@|$").getRegex()}),x.gfm.url=u(x.gfm.url,"i").replace("email",x.gfm._extended_email).getRegex(),x.breaks=f({},x.gfm,{br:u(x.br).replace("{2,}","*").getRegex(),text:u(x.gfm.text).replace("{2,}","*").getRegex()}),r.rules=x,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,s,c="";e;)if(a=this.rules.escape.exec(e))e=e.substring(a[0].length),c+=l(a[1]);else if(a=this.rules.tag.exec(e))!this.inLink&&/^/i.test(a[0])&&(this.inLink=!1),!this.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(a[0])?this.inRawBlock=!0:this.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(a[0])&&(this.inRawBlock=!1),e=e.substring(a[0].length),c+=this.options.sanitize?this.options.sanitizer?this.options.sanitizer(a[0]):l(a[0]):a[0];else if(a=this.rules.link.exec(e)){var u=v(a[2],"()");if(u>-1){var p=a[2].length-u;a[2]=a[2].substring(0,u),a[0]=a[0].substring(0,a[0].length-p)}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"),c+=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){c+=a[0].charAt(0),e=a[0].substring(1)+e;continue}this.inLink=!0,c+=this.outputLink(a,t),this.inLink=!1}else if(a=this.rules.strong.exec(e))e=e.substring(a[0].length),c+=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),c+=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),c+=this.renderer.codespan(l(a[2].trim(),!0));else if(a=this.rules.br.exec(e))e=e.substring(a[0].length),c+=this.renderer.br();else if(a=this.rules.del.exec(e))e=e.substring(a[0].length),c+=this.renderer.del(this.output(a[1]));else if(a=this.rules.autolink.exec(e))e=e.substring(a[0].length),"@"===a[2]?(n=l(this.mangle(a[1])),i="mailto:"+n):(n=l(a[1]),i=n),c+=this.renderer.link(i,null,n);else if(this.inLink||!(a=this.rules.url.exec(e))){if(a=this.rules.text.exec(e))e=e.substring(a[0].length),this.inRawBlock?c+=this.renderer.text(a[0]):c+=this.renderer.text(l(this.smartypants(a[0])));else if(e)throw new Error("Infinite loop on byte: "+e.charCodeAt(0))}else{if("@"===a[2])n=l(a[0]),i="mailto:"+n;else{do{s=a[0],a[0]=this.rules._backpedal.exec(a[0])[0]}while(s!==a[0]);n=l(a[0]),i="www."===a[1]?"http://"+n:n}e=e.substring(a[0].length),c+=this.renderer.link(i,null,n)}return c},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?l(t.title):null;return"!"!==e[0].charAt(0)?this.renderer.link(n,r,this.output(e[1])):this.renderer.image(n,r,l(e[1]))},r.prototype.smartypants=function(e){return this.options.smartypants?e.replace(/---/g,"—").replace(/--/g,"–").replace(/(^|[-\u2014\/(\[{"\s])'/g,"$1‘").replace(/'/g,"’").replace(/(^|[-\u2014\/(\[{\u2018\s])"/g,"$1“").replace(/"/g,"”").replace(/\.{3}/g,"…"):e},r.prototype.mangle=function(e){if(!this.options.mangle)return e;for(var t,n="",r=e.length,i=0;i.5&&(t="x"+t.toString(16)),n+="&#"+t+";";return n},i.prototype.code=function(e,t,n){var r=(t||"").match(/\S*/)[0];if(this.options.highlight){var i=this.options.highlight(e,r);null!=i&&i!==e&&(n=!0,e=i)}return r?'
      '+(n?e:l(e,!0))+"
      \n":"
      "+(n?e:l(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,r){return this.options.headerIds?"'+e+"\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+"\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\n"+e+"\n"+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"},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(null===(e=p(this.options.sanitize,this.options.baseUrl,e)))return n;var r='
      "},i.prototype.image=function(e,t,n){if(null===(e=p(this.options.sanitize,this.options.baseUrl,e)))return n;var r=''+n+'":">"},i.prototype.text=function(e){return e},o.prototype.strong=o.prototype.em=o.prototype.codespan=o.prototype.del=o.prototype.text=function(e){return e},o.prototype.link=o.prototype.image=function(e,t,n){return""+n},o.prototype.br=function(){return""},a.parse=function(e,t){return new a(t).parse(e)},a.prototype.parse=function(e){this.inline=new r(e.links,this.options),this.inlineText=new r(e.links,f({},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,c(this.inlineText.output(this.token.text)),this.slugger);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?@[\]^`{|}~]/g,"").replace(/\s/g,"-");if(this.seen.hasOwnProperty(t)){var n=t;do{this.seen[n]++,t=n+"-"+this.seen[n]}while(this.seen.hasOwnProperty(t))}return this.seen[t]=0,t},l.escapeTest=/[&<>"']/,l.escapeReplace=/[&<>"']/g,l.replacements={"&":"&","<":"<",">":">",'"':""","'":"'"},l.escapeTestNoEncode=/[<>"']|&(?!#?\w+;)/,l.escapeReplaceNoEncode=/[<>"']|&(?!#?\w+;)/g;var w={},k=/^$|^[a-z][a-z0-9+.-]*:|^[?#]/i;h.exec=h,b.options=b.setOptions=function(e){return f(b.defaults,e),b},b.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}},b.defaults=b.getDefaults(),b.Parser=a,b.parser=a.parse,b.Renderer=i,b.TextRenderer=o,b.Lexer=n,b.lexer=n.lex,b.InlineLexer=r,b.inlineLexer=r.output,b.Slugger=s,b.parse=b,e.exports=b}(this||"undefined"!=typeof window&&window)}).call(t,n(18))},function(e,t,n){(function(t){"use strict";function n(e){var t=new Error(e);return t.name="ValueError",t}function r(e){return function(t){var r=Array.prototype.slice.call(arguments,1),i=0,o="UNDEFINED";return t.replace(/([{}])\1|[{](.*?)(?:!(.+?))?[}]/g,function(t,a,s,l){if(null!=a)return a;var c=s;if(c.length>0){if("IMPLICIT"===o)throw n("cannot switch from implicit to explicit numbering");o="EXPLICIT"}else{if("EXPLICIT"===o)throw n("cannot switch from explicit to implicit numbering");o="IMPLICIT",c=String(i),i+=1}var u=c.split("."),p=(/^\d+$/.test(u[0])?u:["0"].concat(u)).reduce(function(e,t){return e.reduce(function(e,n){return null!=n&&t in Object(n)?["function"==typeof n[t]?n[t]():n[t]]:[]},[])},[r]).reduce(function(e,t){return t},"");if(null==l)return p;if(Object.prototype.hasOwnProperty.call(e,l))return e[l](p);throw n('no transformer named "'+l+'"')})}}var i=r({});i.create=r,i.extend=function(e,n){var i=r(n);e.format=function(){var e=Array.prototype.slice.call(arguments);return e.unshift(this),i.apply(t,e)}},e.exports=i}).call(this,this)},function(e,t,n){var r=n(12);"string"==typeof r&&(r=[[e.i,r,""]]);var i={};i.transform=void 0;n(16)(r,i);r.locals&&(e.exports=r.locals)},function(e,t,n){function r(e,t){return new a(t).process(e)}var i=n(4),o=n(5),a=n(19);t=e.exports=r,t.FilterXSS=a;for(var s in i)t[s]=i[s];for(var s in o)t[s]=o[s];"undefined"!=typeof window&&(window.filterXSS=e.exports),function(){return"undefined"!=typeof self&&"undefined"!=typeof DedicatedWorkerGlobalScope&&self instanceof DedicatedWorkerGlobalScope}()&&(self.filterXSS=e.exports)},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i=function(){function e(e,t){for(var n=0;n\n
      \n \n
      \n
      \n
      \n
      \n
      '+o+'
      \n
      \n
      \n \n
      \n
      \n
      \n
      \n
      \n
      \n \n \n
      \n
      \n \n \n
      \n \n
      \n \n
      \n
      '+l(t.i18n.comment_count,'0')+'
      \n
      \n
      \n
      \n
      ';t.el.innerHTML=a;var g=t.el.querySelector(".vempty");t.nodata={show:function(e){g.innerHTML=e||t.i18n.no_comment_yet,g.setAttribute("style","display:block;")},hide:function(){g.setAttribute("style","display:none;")}},t.nodata.show();var m=t.el.querySelector(".vsmile-icons"),b=e.emoticon_list||[];for(var y in b){var x=document.createElement("img");x.setAttribute("src",e.emoticon_url+"/"+b[y]),m.appendChild(x)}p||(n.init({appId:e.app_id||e.appId,appKey:e.app_key||e.appKey}),p=!0),t.v=n}catch(e){var w="https://github.com/DesertsP/Valine/issues";return void(t.el?t.nodata.show('
      '+e+"
      Valine:"+t.version+"
      feedback:"+w+"
      "):console&&console.log("%c"+e+"\n%cValine%c"+t.version+" "+w,"color:red;","background:#000;padding:5px;line-height:30px;color:#fff;","background:#456;line-height:30px;padding:5px;color:#fff;"))}var k='
      ',A=t.el.querySelector(".vloading");A.innerHTML=k,t.loading={show:function(){A.setAttribute("style","display:block;"),t.nodata.hide()},hide:function(){A.setAttribute("style","display:none;"),0===t.el.querySelectorAll(".vcard").length&&t.nodata.show()}};var S=t.el.querySelector(".vsubmitting");S.innerHTML=k,t.submitting={show:function(){S.setAttribute("style","display:block;")},hide:function(){S.setAttribute("style","display:none;"),t.nodata.hide()}};var _=t.el.querySelector(".vmark");t.alert={show:function(e){_.innerHTML='
      '+e.text+'
      ';var n=_.querySelector(".vbtns"),r='",i='";if(n.innerHTML=""+r+(e.type&&i),_.querySelector(".vcancel").addEventListener("click",function(e){t.alert.hide()}),_.setAttribute("style","display:block;"),e&&e.type){var o=_.querySelector(".vsure");v.on("click",o,function(n){t.alert.hide(),e.cb&&e.cb()})}},hide:function(){_.setAttribute("style","display:none;")}},t.loading.show();var z=new t.v.Query("Comment");z.equalTo("url",u.url);var C=new t.v.Query("Comment");C.equalTo("url",u.url+"/");var T=AV.Query.or(z,C);T.notEqualTo("isSpam",!0),T.count().then(function(n){t.el.querySelector(".count").innerHTML=""+n,t.bind(e)},function(e){console.log(e)})}},{key:"bind",value:function(e){var t=this,n=t.el.querySelector(".vsmile-icons");v.on("click",n,function(e){var n=t.el.querySelector(".veditor"),r=e.target.src;if(void 0!==r){var i="!(:"+decodeURI(r).replace(/^.*\/(.*)$/,"$1")+":)";if(document.selection)n.focus(),sel=document.selection.createRange(),sel.text=i,n.focus();else if(n.selectionStart||"0"==n.selectionStart){var o=n.selectionStart,a=n.selectionEnd,s=a;n.value=n.value.substring(0,o)+i+n.value.substring(a,n.value.length),s+=i.length,n.focus(),n.selectionStart=s,n.selectionEnd=s}else n.value+=i,n.focus();u.comment=n.value;var l=t.el.querySelector(".vsubmit");l.getAttribute("disabled")&&l.removeAttribute("disabled")}});var r=t.el.querySelector(".comment_trigger");v.on("click",r,function(e){r.setAttribute("style","display:none"),t.el.querySelector(".auth-section").removeAttribute("style"),t.el.querySelector(".veditor").focus()}),v.on("click",t.el.querySelector(".vcancel-comment-reply"),function(e){t.reset()});var i=function(e){e.offsetHeight>180&&(e.classList.add("expand"),v.on("click",e,function(t){e.setAttribute("class","vcomment")}))},l=1,c=0,p=function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;t.loading.show(),t.v.Query.doCloudQuery("select nick, comment, link, rid, emailHash, isSpam\n from Comment\n where (rid='' or rid is not exists) and (url='"+u.url+"' or url='"+u.url+"/')\n order by -createdAt\n limit "+(n-1)*h+","+h).then(function(r){r=r&&r.results||[];var i=r.length;if(i){for(var o=0;o'+t.i18n.more+"":"";var u=s.querySelector("#vmore");u&&v.on("click",u,function(t){s.innerHTML="",e(++l)})}t.loading.hide()}).catch(function(e){console.log(e),t.loading.hide()})};t.v.Query.doCloudQuery("select count(*)\n from Comment\n where (rid='' or rid is not exists) \n and (url='"+u.url+"' or url='"+u.url+"/')\n order by -createdAt").then(function(e){c=e.count,p(1)});var f=function e(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,i=n.querySelector(".vcomment-children"),o=i.querySelector(".vlist"),a=n.getAttribute("id");if(r<=0&&i.setAttribute("style","margin-left: 0 !important"),r>=d)return void t.v.Query.doCloudQuery("select count(*)\n from Comment\n where rid='"+a+"' and (url='"+u.url+"' or url='"+u.url+"/')\n order by -createdAt").then(function(r){if(r.count>0){var o=i.querySelector(".vshow-children-wrapper");o.setAttribute("style","display: block !important;"),o.innerHTML=''+t.i18n.more+"";var s=o.querySelector(".vshow-children");v.on("click",s,function(t){o.setAttribute("style","display: none !important;"),e(n,-1e3)})}},function(e){console.log(e)});t.v.Query.doCloudQuery("select nick, comment, link, rid, emailHash, isSpam\n from Comment\n where rid='"+a+"' and (url='"+u.url+"' or url='"+u.url+"/')\n order by -createdAt").then(function(t){t=t&&t.results||[];var n=t.length;if(n)for(var i=0;i1&&void 0!==arguments[1]?arguments[1]:null,r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=document.createElement("li");o.setAttribute("class","vcard"),o.setAttribute("id",e.id);var a=e.get("emailHash"),s="https://gravatar.loli.net/avatar/"+a+"?size=80&d=https%3a%2f%2fgravatar.loli.net%2favatar%2f9e63c80900d106cbbec5a9f4ea433a3e.jpg%3fsize%3d80";o.innerHTML='
      \n
      \n \n '+t.i18n.reply+'\n
      \n '+(e.get("link")?' '+e.get("nick")+"":''+e.get("nick")+"")+"\n "+(a!=t.adminEmailHash?"":'·')+'\n ·\n '+y(e.get("createdAt"),t.i18n)+'\n
      \n
      \n
      \n
      '+e.get("comment")+'
      \n
      \n
      \n
      \n \n
        \n
        ';for(var l=n||t.el.querySelector(".vlist"),c=l.querySelectorAll("li"),u=o.querySelectorAll("a"),p=0,d=u.length;p')),{onIgnoreTagAttr:function(e,t,n,r){if("class"===t)return t+'="'+a.escapeAttrValue(n)+'"'}}),u.comment.indexOf(u.at)>-1&&""!=u.at){var r='"+u.at+"";u.comment=u.comment.replace(u.at,r)}var i=b.mail(u.mail),s=b.link(u.link);u.mail=i.k?i.v:"",u.link=s.k?s.v:"",i.k&&s.k?I():t.alert.show({type:0,text:t.i18n.input_tips,ctxt:t.i18n.confirm})},z=t.el.querySelector(".vemoji-btn"),C=t.el.querySelector(".vsmile-icons");v.on("click",z,function(e){L.getAttribute("triggered")&&(L.setAttribute("style","display:none;"),L.removeAttribute("triggered")),C.getAttribute("triggered")?(C.setAttribute("style","display:none;"),C.removeAttribute("triggered")):(C.removeAttribute("style"),C.setAttribute("triggered",1))});var T=t.el.querySelector(".vpreview-btn"),L=t.el.querySelector(".vpreview-text");v.on("click",T,function(t){if(C.getAttribute("triggered")&&(C.setAttribute("style","display:none;"),C.removeAttribute("triggered")),L.getAttribute("triggered"))L.setAttribute("style","display:none;"),L.removeAttribute("triggered");else{if(""==u.comment)return void w.comment.focus();L.innerHTML=a(o(u.comment.replace(/!\(:(.*?\.\w+):\)/g,'$1')),{onIgnoreTagAttr:function(e,t,n,r){if("class"===t)return t+'="'+a.escapeAttrValue(n)+'"'}}),L.removeAttribute("style"),L.setAttribute("triggered",1)}});var q=function(){var e=new t.v.ACL;return e.setPublicReadAccess(!0),e.setPublicWriteAccess(!1),e},I=function(){S.setAttribute("disabled",!0),t.submitting.show();var e=t.v.Object.extend("Comment"),n=new e;for(var r in u)if(u.hasOwnProperty(r)){if("at"===r)continue;var i=u[r];n.set(r,i)}n.set("emailHash",s(u.mail.toLowerCase().trim())),n.setACL(q()),n.save().then(function(e){g&&g.setItem("ValineCache",JSON.stringify({nick:u.nick,link:u.link,mail:u.mail}));var n=t.el.querySelector(".count");if(n.innerText=Number(n.innerText)+1,""===u.rid)m(e,null,!0);else{var r=t.el.querySelector("#children-list-"+u.rid);m(e,r,!0)}S.removeAttribute("disabled"),t.submitting.hide(),t.nodata.hide(),t.reset()}).catch(function(e){t.submitting.hide()})},$=function(e){var n=e.getAttribute("id"),r=e.querySelector("#at-"+n);v.on("click",r,function(i){var o=r.getAttribute("at"),a=r.getAttribute("rid");u.rid=a,u.at=o,w.comment.value=o+" ,"+w.comment.value,e.querySelector("#comment-"+n).appendChild(t.el.querySelector(".vinputs-wrap")),t.el.querySelector(".vcancel-comment-reply").removeAttribute("style"),t.el.querySelector(".comment_trigger").setAttribute("style","display:none"),t.el.querySelector(".auth-section").removeAttribute("style"),t.el.querySelector(".veditor").focus(),w.comment.focus()})};v.off("click",S,_),v.on("click",S,_)}}]),e}(),v={on:function(e,t,n,r){t.addEventListener?t.addEventListener(e,n,r||!1):t.attachEvent?t.attachEvent("on"+e,n):t["on"+e]=n},off:function(e,t,n,r){t.removeEventListener?t.removeEventListener(e,n,r||!1):t.detachEvent?t.detachEvent("on"+e,n):t["on"+e]=null}},b={mail:function(e){return{k:/\w[-\w.+]*@([A-Za-z0-9][-A-Za-z0-9]+\.)+[A-Za-z]{2,14}/.test(e),v:e}},link:function(e){return e.length>0&&(e=/^(http|https)/.test(e)?e:"http://"+e),{k:!(e.length>0)||/(http|https):\/\/[\w\-_]+(\.[\w\-_]+)+([\w\-\.,@?^=%&:\/~\+#]*[\w\-\@?^=%&\/~\+#])?/.test(e),v:e}}},y=function(e,t){try{var n=e.getTime(),r=(new Date).getTime(),i=r-n,o=Math.floor(i/864e5);if(0===o){var a=i%864e5,s=Math.floor(a/36e5);if(0===s){var l=a%36e5,c=Math.floor(l/6e4);if(0===c){var u=l%6e4;return Math.round(u/1e3)+" "+t.seconds}return c+" "+t.minutes}return s+" "+t.hours}return o<0?t.now:o+" "+t.days}catch(e){console.log(e)}},x=function(){$.getJSON("https://api.ipify.org/?format=json",function(e){u.ip=e.ip})};e.exports=m},function(e,t,n){t=e.exports=n(13)(!1),t.push([e.i,'.valine {\n /************ Loading ************/ }\n .valine * {\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n font-size: 14px;\n font-weight: normal;\n line-height: 1.42857143;\n color: #3c484e;\n -webkit-transition: all .3s ease;\n transition: all .3s ease;\n margin: initial;\n padding: initial; }\n .valine .vemoticon-img {\n display: inline-block;\n max-height: 32px;\n margin: 0 2px; }\n .valine .vsubmitting {\n margin: 1em 0; }\n .valine .vcancel-comment-reply {\n margin: 1.5em 0 .5em;\n cursor: pointer;\n color: #4b5b62;\n text-decoration: underline; }\n .valine .vinputs-area {\n overflow: hidden;\n position: relative;\n border: 1px solid #ededed; }\n .valine .vinputs-area .veditor-area {\n position: inherit; }\n .valine .vinputs-area .btn-wrap {\n position: absolute !important;\n right: 1.5em;\n bottom: 0; }\n .valine .vinputs-area .btn-wrap .vfunction-btn {\n display: inline-block; }\n .valine .vinputs-area .btn-wrap .vfunction-btn svg {\n fill: #bbb;\n cursor: pointer; }\n .valine .vinputs-area .btn-wrap .vfunction-btn svg:hover {\n fill: #777777; }\n .valine .vinputs-area .btn-wrap .vfunction-btn svg:active {\n fill: #777777; }\n .valine .vinputs-area .vextra-area {\n margin: .4em 0 .4em .5em; }\n .valine .vinputs-area .vextra-area .vsmile-icons {\n padding: .2em 0;\n border-top: 1px solid #ededed;\n border-radius: 0;\n margin: .3em 0;\n max-height: 64px;\n overflow: auto; }\n .valine .vinputs-area .vextra-area .vsmile-icons img {\n display: inline-block;\n width: auto !important;\n height: 28px !important;\n margin-right: 4px;\n cursor: pointer; }\n .valine .vinputs-area .vextra-area .vpreview-text {\n border-top: 1px solid #ededed;\n border-radius: 0;\n padding: .5em .5em;\n margin: .3em 0;\n max-height: 10em;\n overflow: auto; }\n .valine .vinputs-area .textarea-wrapper {\n color: #4b5b62;\n width: 100%;\n height: 100%;\n background: #fff;\n position: relative;\n border-radius: 0; }\n .valine .vinputs-area .textarea-wrapper .comment_trigger {\n position: absolute;\n z-index: 10;\n width: 100%;\n height: 100%;\n background-color: #fff;\n padding: 0 0 0 1.5em; }\n .valine .vinputs-area .textarea-wrapper .comment_trigger .avatar {\n position: absolute;\n width: 36px;\n height: 36px;\n position: absolute;\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%); }\n .valine .vinputs-area .textarea-wrapper .comment_trigger .avatar img {\n border-radius: 100%;\n width: 36px;\n height: 36px; }\n .valine .vinputs-area .textarea-wrapper .comment_trigger .trigger_title {\n position: absolute;\n top: 50%;\n -webkit-transform: translateY(-50%);\n transform: translateY(-50%);\n color: #aaa;\n font-size: 1.4em;\n margin-left: 3.5em; }\n .valine .vinputs-area .textarea-wrapper textarea {\n padding: 1em 1em 0;\n color: #4b5b62;\n width: 100%;\n background: #fff;\n border: none;\n resize: none;\n min-height: 6em;\n margin: 0; }\n .valine .vinputs-area .textarea-wrapper textarea:focus {\n border-color: #c4c8cb;\n outline: 0; }\n .valine .vinputs-area .trigger-section {\n display: none; }\n .valine .vinputs-area .auth-section {\n display: -webkit-box;\n display: flex;\n display: -ms-flexbox;\n background: #fbfbfb;\n padding: .3em .6em; }\n .valine .vinputs-area .auth-section .input-wrapper {\n -ms-flex: 1 1 27%;\n -webkit-box-flex: 1;\n flex: 1 1 27%;\n width: 27%; }\n .valine .vinputs-area .auth-section .input-wrapper input {\n color: #4b5b62;\n background: #fafafa;\n border: none;\n border-radius: 0;\n padding: .6em;\n margin: 0;\n line-height: 2;\n font-size: 1em !important; }\n .valine .vinputs-area .auth-section .input-wrapper input:focus {\n border-color: #c4c8cb;\n outline: 0; }\n .valine .vinputs-area .auth-section input {\n width: 100%; }\n .valine .vinputs-area .auth-section .post-action {\n -ms-flex: 1 1 19%;\n -webkit-box-flex: 1;\n flex: 1 1 19%;\n width: 19%;\n margin: 0;\n padding: 2px 0 0; }\n .valine .vinputs-area .auth-section .post-action button {\n color: #fff;\n width: 100%;\n line-height: 2;\n font-weight: bolder;\n border-radius: 30px;\n border: 1px solid #e9eff3;\n background-color: #FF69B4;\n padding: .4em .5em;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n font-size: 1em !important; }\n .valine .vinputs-area .auth-section .post-action button:hover {\n background-color: #FF69B4; }\n @media screen and (max-width: 720px) {\n .valine .vinputs-area .auth-section {\n display: block; }\n .valine .vinputs-area .auth-section .input-wrapper, .valine .vinputs-area .auth-section .post-action {\n -ms-flex: 1 1 100%;\n -webkit-box-flex: 1;\n flex: 1 1 100%;\n padding-right: 0;\n width: 100%; } }\n .valine .vinputs-area .vmark {\n position: absolute;\n background: rgba(0, 0, 0, 0.65);\n width: 100%;\n height: 100%;\n left: 0;\n top: 0; }\n .valine .vinputs-area .vmark .valert {\n padding: 2em 0 0 0; }\n .valine .vinputs-area .vmark .valert .vtext {\n color: #fff;\n padding: 15px; }\n .valine .vinputs-area .vmark .valert .vcode {\n width: 75px;\n border-radius: 5px;\n background: #dedede; }\n .valine .vinputs-area .vmark .valert .vcode:focus {\n border-color: #3090e4;\n background-color: #fff; }\n @media screen and (max-width: 720px) {\n .valine .vinputs-area .vmark .valert {\n padding: 8em 0; }\n .valine .vinputs-area .vmark .valert .vtext {\n color: #fff;\n padding: 10px; } }\n .valine .info {\n margin: 2em 0;\n font-size: 16px;\n line-height: 1;\n position: relative;\n text-align: center; }\n .valine .info::before {\n display: block;\n content: \'\';\n border-top: 1px solid rgba(150, 150, 150, 0.08);\n margin: 0 25%;\n position: relative;\n top: 10px;\n z-index: 1; }\n .valine .info svg {\n margin-right: 2px;\n overflow: hidden;\n fill: currentColor; }\n .valine .info .col {\n display: inline-block;\n padding: 0 20px;\n position: relative;\n background: #ffffff;\n z-index: 2; }\n .valine .power {\n color: #999;\n font-size: 0.625em !important;\n position: relative; }\n .valine a {\n text-decoration: none;\n color: #3eb0ef;\n border: none; }\n .valine .txt-center {\n text-align: center; }\n .valine .float-right {\n float: right !important; }\n .valine .pd5 {\n padding: 5px; }\n .valine .pd10 {\n padding: 10px; }\n .valine .vbtn {\n display: inline-block;\n -webkit-appearance: none;\n -moz-appearance: none;\n appearance: none;\n border: 1px solid #e9eff3;\n background-color: #FF69B4;\n border-radius: .1em;\n color: #fff;\n padding: .5em 1.5em;\n cursor: pointer;\n white-space: nowrap;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n outline: none;\n min-width: 60px;\n max-width: 100%;\n margin: 0 1em; }\n .valine .vbtn:active,\n .valine .vbtn:hover {\n border-color: #666; }\n .valine .vpage {\n margin: 1.5em 0; }\n .valine .vpage .more {\n width: 100%;\n height: 2.5em;\n line-height: 2.5em;\n text-align: center;\n cursor: pointer;\n color: #fff;\n background: #FF69B4;\n border-radius: 1.25em; }\n .valine .vlist {\n width: 100%;\n list-style: none;\n margin: 0;\n padding: 0; }\n .valine .vlist .vcard {\n list-style: none;\n word-break: break-all; }\n .valine .vlist .vcard .vcomment-body {\n padding: 2em .5em 2em;\n border-top: 1px solid rgba(150, 150, 150, 0.08); }\n @media screen and (max-width: 600px) {\n .valine .vlist .vcard .vcomment-body {\n padding: 1em 1em 1em;\n border-top: 0 !important; } }\n .valine .vlist .vcard .vcomment-body:hover .vat {\n background: #111 !important; }\n .valine .vlist .vcard .vcomment-body .vat {\n float: right;\n background: transparent;\n color: #ffffff;\n padding: .2em 1em;\n line-height: 1.2;\n cursor: pointer;\n word-break: keep-all;\n white-space: nowrap;\n text-transform: uppercase; }\n .valine .vlist .vcard .vcomment-body .vavatar {\n margin-right: 1em;\n margin-top: 0.1em;\n display: inline-block;\n height: 36px;\n width: 36px;\n position: absolute;\n top: 0;\n border-radius: 50%; }\n .valine .vlist .vcard .vcomment-body .vhead {\n line-height: 1;\n display: block;\n margin-bottom: .3em;\n position: relative; }\n .valine .vlist .vcard .vcomment-body .vhead .vmeta-info {\n margin: 0 0 0 48px; }\n .valine .vlist .vcard .vcomment-body .vhead .vname {\n font-weight: bolder;\n font-size: 1em;\n color: rgba(0, 0, 0, 0.7); }\n .valine .vlist .vcard .vcomment-body .vhead .spacer {\n color: #ccc;\n margin-left: 0.3em;\n margin-right: 0.3em; }\n .valine .vlist .vcard .vcomment-body .vhead .vtime {\n color: #a9a4a4;\n display: inline-block;\n font-weight: normal;\n font-size: 90%; }\n .valine .vlist .vcard .vcomment-body .text-wrapper {\n overflow: hidden;\n -webkit-box-sizing: border-box;\n box-sizing: border-box;\n margin-left: 48px; }\n .valine .vlist .vcard .vcomment-body .text-wrapper .vcomment {\n position: relative;\n overflow: auto; }\n .valine .vlist .vcard .vcomment-body .text-wrapper .vcomment blockquote p {\n padding-left: 12px; }\n .valine .vlist .vcard .vcomment-body .text-wrapper .vcomment p {\n word-wrap: break-word;\n white-space: pre-wrap;\n word-break: break-all;\n text-align: justify;\n line-height: 1.8; }\n .valine .vlist .vcard .vcomment-body .text-wrapper .vcomment pre {\n overflow: auto;\n padding: 6px 10px;\n word-wrap: break-word;\n color: #555;\n background: #f5f2f2;\n border-radius: 3px;\n font-size: .875rem;\n margin: 5px 0; }\n .valine .vlist .vcard .vcomment-body .text-wrapper .vcomment.expand {\n cursor: pointer;\n max-height: 11.25rem;\n overflow: hidden; }\n .valine .vlist .vcard .vcomment-body .text-wrapper .vcomment.expand:before {\n display: block;\n content: "";\n position: absolute;\n width: 100%;\n left: 0;\n top: 0;\n bottom: 3.15rem;\n pointer-events: none;\n background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), to(rgba(255, 255, 255, 0.8)));\n background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.8)); }\n .valine .vlist .vcard .vcomment-body .text-wrapper .vcomment.expand:after {\n display: block;\n content: "";\n text-align: center;\n color: #828586;\n position: absolute;\n width: 100%;\n height: 3.15rem;\n line-height: 3.15rem;\n left: 0;\n bottom: 0;\n pointer-events: none;\n background: rgba(255, 255, 255, 0.9); }\n .valine .vlist .vcard .vcomment-children {\n margin-left: 48px; }\n @media screen and (max-width: 600px) {\n .valine .vlist .vcard .vcomment-children {\n margin-left: 16px;\n border-left: 1px solid rgba(150, 150, 150, 0.08); } }\n .valine .vlist .vcard .vcomment-children .vshow-children-wrapper {\n margin: 0 0 2em; }\n .valine .vlist .vcard .vcomment-children .vshow-children-wrapper .vshow-children {\n color: #4b5b62;\n text-decoration: underline;\n cursor: pointer; }\n .valine .vlist .vempty {\n padding: 20px;\n text-align: center;\n color: #999; }\n .valine .spinner {\n margin: 10px auto;\n width: 50px;\n height: 30px;\n text-align: center;\n font-size: 10px; }\n .valine .spinner > div {\n background-color: #9c9c9c;\n height: 100%;\n width: 6px;\n margin-right: 3px;\n display: inline-block;\n -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;\n animation: sk-stretchdelay 1.2s infinite ease-in-out; }\n .valine .spinner .r2 {\n -webkit-animation-delay: -1.1s;\n animation-delay: -1.1s; }\n .valine .spinner .r3 {\n -webkit-animation-delay: -1.0s;\n animation-delay: -1.0s; }\n .valine .spinner .r4 {\n -webkit-animation-delay: -0.9s;\n animation-delay: -0.9s; }\n .valine .spinner .r5 {\n -webkit-animation-delay: -0.8s;\n animation-delay: -0.8s; }\n\n@-webkit-keyframes sk-stretchdelay {\n 0%,\n 40%,\n 100% {\n -webkit-transform: scaleY(0.4); }\n 20% {\n -webkit-transform: scaleY(1); } }\n\n@keyframes sk-stretchdelay {\n 0%,\n 40%,\n 100% {\n transform: scaleY(0.4);\n -webkit-transform: scaleY(0.4); }\n 20% {\n transform: scaleY(1);\n -webkit-transform: scaleY(1); } }\n',""])},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=0&&y.splice(t,1)}function s(e){var t=document.createElement("style");return e.attrs.type="text/css",c(t,e.attrs),o(e,t),t}function l(e){var t=document.createElement("link");return e.attrs.type="text/css",e.attrs.rel="stylesheet",c(t,e.attrs),o(e,t),t}function c(e,t){Object.keys(t).forEach(function(n){e.setAttribute(n,t[n])})}function u(e,t){var n,r,i,o;if(t.transform&&e.css){if(!(o=t.transform(e.css)))return function(){};e.css=o}if(t.singleton){var c=b++;n=v||(v=s(t)),r=p.bind(null,n,c,!1),i=p.bind(null,n,c,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=l(t),r=h.bind(null,n,t),i=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),r=d.bind(null,n),i=function(){a(n)});return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}function p(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=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 d(e,t){var n=t.css,r=t.media;if(r&&e.setAttribute("media",r),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function h(e,t,n){var r=n.css,i=n.sourceMap,o=void 0===t.convertToAbsoluteUrls&&i;(t.convertToAbsoluteUrls||o)&&(r=x(r)),i&&(r+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */");var a=new Blob([r],{type:"text/css"}),s=e.href;e.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var f={},g=function(e){var t;return function(){return void 0===t&&(t=e.apply(this,arguments)),t}}(function(){return window&&document&&document.all&&!window.atob}),m=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)}),v=null,b=0,y=[],x=n(17);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=g()),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";var y=i(l),x=o[n],w=p(y.html,function(e,t){var i=-1!==d.indexOf(x,e),o=c(n,e,t,i);if(!r(o))return o;if(i)return t=f(n,e,t,m),t?e+'="'+t+'"':e;var o=h(n,e,t,i);return r(o)?void 0:o}),l="<"+n;return w&&(l+=" "+w),y.closing&&(l+=" /"),l+=">"}var b=s(n,l,v);return r(b)?g(l):b},g);return v&&(b=v.remove(b)),b},e.exports=a}])}); //# sourceMappingURL=Valine.min.js.map \ No newline at end of file diff --git a/sitemap.xml b/sitemap.xml index 3d2571e8425b62084dd9d723d5f44d9523620a7a..1561d19ea60e2657a777a9d3689d2658b496a618 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -121,14 +121,14 @@ - https://www.love109.cn/album-us-2/index.html + https://www.love109.cn/album-hobby-1/index.html 2019-04-11T15:26:38.639Z - https://www.love109.cn/album-hobby-1/index.html + https://www.love109.cn/album-us-2/index.html 2019-04-11T15:26:38.639Z